@univerjs-pro/collaboration-client-node 0.12.3-experimental.20251204-1549a8e → 0.12.3-experimental.20251205-e439e48

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 _0x4ec5cf=_0x4bf3;(function(_0xd524a2,_0x109e80){const _0x44fedd=_0x4bf3,_0x18162c=_0xd524a2();while(!![]){try{const _0x11fd69=-parseInt(_0x44fedd(0x181))/0x1*(-parseInt(_0x44fedd(0x319))/0x2)+-parseInt(_0x44fedd(0x2d7))/0x3*(-parseInt(_0x44fedd(0x1d4))/0x4)+-parseInt(_0x44fedd(0x1b6))/0x5+-parseInt(_0x44fedd(0x1a3))/0x6*(parseInt(_0x44fedd(0x26a))/0x7)+-parseInt(_0x44fedd(0x29c))/0x8+-parseInt(_0x44fedd(0x2cf))/0x9+parseInt(_0x44fedd(0x2cd))/0xa*(parseInt(_0x44fedd(0x29b))/0xb);if(_0x11fd69===_0x109e80)break;else _0x18162c['push'](_0x18162c['shift']());}catch(_0x290ab0){_0x18162c['push'](_0x18162c['shift']());}}}(_0x17e8,0x9a153));function _0x17e8(){const _0x1f4c63=['nodebuffer','Invalid\x20URL:\x20','sec-websocket-accept','ISocketService','open','binary','CLOSING','destroyed','skipUTF8Validation','MASK\x20must\x20be\x20clear','_closeCode','_maskBuffer','__esModule','finishRequest','handshakeTimeout','test','WebSocket\x20is\x20not\x20open:\x20readyState\x20','update','sendFrame','_fragmented','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_protocol','kByteLength','destroy','dequeue','options','has','_configService','_readableState','startLoop','Origin','maxRedirects','concurrencyLimit','client_no_context_takeover','delete','Injector','sec-websocket-protocol','finish','_originalHostOrSocketPath','listenerCount','readOnly','resume','Unknown\x20parameter\x20\x22','number','_bufferedBytes','entries','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','ILogService','RSV1\x20must\x20be\x20clear','WS_ERR_EXPECTED_FIN','_closeTimer','arrayBuffer','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','kIsForOnEventAttribute','warn','406kyTDVh','WS_ERR_UNEXPECTED_RSV_1','Parameter\x20\x22','writeHead','autoPong','protocolVersion','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','reset','push','object','listen','_doCreateSocket','pending','next','concurrency','generateMask','isIP','error','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','share','compress','defaultPort','size','writeUInt16BE','_final','env','_extensions','shouldHandle','toDisposable','_options','registerDependencies','connection','getPayloadLength64','createInflateRaw','verifyClient','includes','close','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','cleanup','data','_payloadLength','followRedirects','headers','_injector','Plugin','sec-websocket-key','readyState','acceptAsClient','55nMgxHT','2021080ZsdKte','pause','_originalIpc','getBlobData','_closeMessage','ws:','_socket','onStarting','path','controlMessage','params','The\x20\x22','_firstFragment','The\x20server\x20is\x20not\x20running','toLowerCase','arraybuffer','_state','statusCode','backlog','writable','_max_window_bits','species','removeEventListener','_messageLength','values','invalid\x20opcode\x20','kListener','opcode','_closeFrameSent','WS_ERR_INVALID_UTF8','slice','conclude','\x20(supported\x20versions:\x20','_masked','Module','Invalid\x20Upgrade\x20header','port','get','blob','Sec-WebSocket-Extensions','ws+unix:','server','handleUpgrade','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Cookie','handleEvent','reason','createError','Invalid\x20WebSocket\x20frame:\x20','2914070YUfher','Blob','605331jxkcuU','kError','find','prototype','isPaused','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','customHeaders','HTTP/1.1\x20101\x20Switching\x20Protocols','361137tjbcIr','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_readyState','base64','sha1','normalizeParams','accept','invalid\x20payload\x20length\x20','wasClean','protocol','_inflate','onerror','wsClientError','from','Opening\x20handshake\x20has\x20timed\x20out','_queue','_isServer','clientTracking','write','total-length','\x22\x20subprotocol\x20is\x20duplicated','WS_ERR_UNEXPECTED_MASK','byteLength','Max\x20payload\x20size\x20exceeded','createServer','constructor','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','readUInt16BE','extensions','username','pong','host','ISnapshotServerService','_fin','then','websocket','Disposable','dataMessage','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_threshold','defineProperty','Upgrade:\x20websocket','startsWith','value','unshift','byteOffset','_write','dispatch','allowSynchronousEvents','Unexpected\x20end\x20of\x20input','Observable','\x0d\x0a\x0d\x0a','CONNECTING','Sec-WebSocket-Protocol','clientNoContextTakeover','GET','_generateMask','IConfigService','_skipUTF8Validation','DisposableCollection','redirect','Unsupported\x20protocol\x20version:\x20','serverMaxWindowBits','exports','maxPayload','toString','28JNHGMV','addEventListener','_maxPayload','text/html','stream','drain','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','response','call','_removeListeners','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Upgrade','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','invalid\x20UTF-8\x20sequence','Unexpected\x20server\x20response:\x20','fin','setConfig','client_max_window_bits','isBuffer','jobs','allocUnsafe','cookie','WS_NO_UTF_8_VALIDATE','address','Sec-WebSocket-Extensions:\x20','NodeCollaborationSocketService','hostname','errorEmitted','encrypted','setTimeout','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','freeze','Invalid\x20value\x20for\x20parameter\x20\x22','createSocket','hasOwnProperty','catch','socketPath','completeUpgrade','getConfig','apply','auth','isArray','length','_originalSecure','getOwnPropertyDescriptor','isServer','_url','decompress','90023MSAjLj','Server\x20sent\x20no\x20subprotocol','Unexpected\x20character\x20at\x20index\x20','abort','onclose','pow','Connection:\x20Upgrade','listeners','createConnection','\x22:\x20','string','kRun','forEach','offer','_allowSynchronousEvents','alloc','STATUS_CODES','OPEN','kWasClean','endEmitted','_shouldEmitClose','buffer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','isInteger','password','_errorEmitted','_writableState','toStringTag','create','search','perMessageDeflate','getMask','method','createDeflateRaw','93468WMwnaC','removeListener','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','threshold','url','shift','end','ping','getInfo','_fragments','clientMaxWindowBits','haveLength','writeUIntBE','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','setNoDelay','extensionName','hash','_sender','upgrade','5517870FzGepm','concat','origin','setHeader','_deflate','serverNoContextTakeover','digest','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','fragments','status-code','Sec-WebSocket-Accept:\x20','send','CollaborationSocketService','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','HTTPService','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','needDrain','Z_DEFAULT_WINDOWBITS','_closeFrameReceived','_errored','server_no_context_takeover','registerHTTPInterceptor','_binaryType','kAborted','binaryType','sec-websocket-extensions','socket','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','maskBuffer','getPayloadLength16','8pGaMiW','read','_autoPong','charCodeAt','_redirects','pipe','rsv1','kDone','onopen','_opcode','wss:','13,\x208','setSocket','_receiver','_registerDependencies','bind','set','_loop','sec-websocket-version','getData','consume','FIN\x20must\x20be\x20set','_bufferedAmount','construct','_compress','type','noServer','pathname','Invalid\x20Sec-WebSocket-Protocol\x20header','code','mask','kType','COLLABORATION_CLIENT_NODE_CONFIG_KEY','readUInt32BE','_req','function','buffers','Sec-WebSocket-Protocol:\x20','kCode','default','unmask','acceptAsServer','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','nextTick','_buffers','servername','Inject','permessage-deflate','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','captureStackTrace','isValidUTF8','WS_ERR_INVALID_CLOSE_CODE','request','emit','frame','_compressed','sec-websocket-origin','MASK\x20must\x20be\x20set','client','WS_ERR_EXPECTED_MASK','clients','add','cork','timeout','message','_totalPayloadLength','join','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Server\x20sent\x20an\x20invalid\x20subprotocol','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','WS_ERR_INVALID_OPCODE','unexpected-response','server_max_window_bits','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_server','enqueue','CLOSED','indexOf','Invalid\x20Sec-WebSocket-Extensions\x20header','invalid\x20status\x20code\x20','map','https:','UniverCollaborationClientNodePlugin','keys','authorized','_mask','finished','emitClose','_decompress','_paused','objectMode','terminate','flush','once'];_0x17e8=function(){return _0x1f4c63;};return _0x17e8();}Object[_0x4ec5cf(0x2ff)](exports,Symbol[_0x4ec5cf(0x19c)],{'value':_0x4ec5cf(0x2be)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x2bf697){const _0x59ee2f=_0x4ec5cf;return _0x2bf697&&_0x2bf697[_0x59ee2f(0x23f)]&&Object['prototype']['hasOwnProperty'][_0x59ee2f(0x321)](_0x2bf697,_0x59ee2f(0x1fb))?_0x2bf697[_0x59ee2f(0x1fb)]:_0x2bf697;}function at(_0x2f86ee){const _0x547fe7=_0x4ec5cf;if(Object[_0x547fe7(0x2d2)][_0x547fe7(0x33b)]['call'](_0x2f86ee,_0x547fe7(0x23f)))return _0x2f86ee;var _0x415236=_0x2f86ee[_0x547fe7(0x1fb)];if(typeof _0x415236==_0x547fe7(0x1f7)){var _0x82614f=function _0xeed1f2(){const _0xa779df=_0x547fe7;var _0x549e54=!0x1;try{_0x549e54=this instanceof _0xeed1f2;}catch{}return _0x549e54?Reflect[_0xa779df(0x1eb)](_0x415236,arguments,this[_0xa779df(0x2f0)]):_0x415236[_0xa779df(0x340)](this,arguments);};_0x82614f[_0x547fe7(0x2d2)]=_0x415236[_0x547fe7(0x2d2)];}else _0x82614f={};return Object['defineProperty'](_0x82614f,_0x547fe7(0x23f),{'value':!0x0}),Object['keys'](_0x2f86ee)['forEach'](function(_0x10196d){const _0x404356=_0x547fe7;var _0x158539=Object['getOwnPropertyDescriptor'](_0x2f86ee,_0x10196d);Object['defineProperty'](_0x82614f,_0x10196d,_0x158539[_0x404356(0x2c1)]?_0x158539:{'enumerable':!0x0,'get':function(){return _0x2f86ee[_0x10196d];}});}),_0x82614f;}var se={'exports':{}},ge,Ge;function H(){const _0x3b46ce=_0x4ec5cf;if(Ge)return ge;Ge=0x1;const _0x125932=[_0x3b46ce(0x233),_0x3b46ce(0x2ab),_0x3b46ce(0x1be)],_0x46a96e=typeof Blob<'u';return _0x46a96e&&_0x125932[_0x3b46ce(0x273)](_0x3b46ce(0x2c2)),ge={'BINARY_TYPES':_0x125932,'EMPTY_BUFFER':Buffer[_0x3b46ce(0x190)](0x0),'GUID':_0x3b46ce(0x1c5),'hasBlob':_0x46a96e,'kForOnEventAttribute':Symbol(_0x3b46ce(0x268)),'kListener':Symbol(_0x3b46ce(0x2b6)),'kStatusCode':Symbol(_0x3b46ce(0x1bf)),'kWebSocket':Symbol(_0x3b46ce(0x2fa)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4ec5cf(0x338)](Object[_0x4ec5cf(0x2ff)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x4ec5cf(0x2be)})),Lt=at(kt);var Ve;function ce(){const _0x4b2ca0=_0x4ec5cf;if(Ve)return se[_0x4b2ca0(0x316)];Ve=0x1;const {EMPTY_BUFFER:_0x404d8e}=H(),_0x8908f5=Buffer[Symbol[_0x4b2ca0(0x2b1)]];function _0x48ad4e(_0x50310f,_0x54eb24){const _0x1b3f5e=_0x4b2ca0;if(_0x50310f[_0x1b3f5e(0x17b)]===0x0)return _0x404d8e;if(_0x50310f['length']===0x1)return _0x50310f[0x0];const _0x52fb7c=Buffer[_0x1b3f5e(0x32d)](_0x54eb24);let _0x2a7c4f=0x0;for(let _0x28b93b=0x0;_0x28b93b<_0x50310f[_0x1b3f5e(0x17b)];_0x28b93b++){const _0x52abad=_0x50310f[_0x28b93b];_0x52fb7c['set'](_0x52abad,_0x2a7c4f),_0x2a7c4f+=_0x52abad['length'];}return _0x2a7c4f<_0x54eb24?new _0x8908f5(_0x52fb7c[_0x1b3f5e(0x196)],_0x52fb7c[_0x1b3f5e(0x304)],_0x2a7c4f):_0x52fb7c;}function _0x29f988(_0x183bc8,_0x365bef,_0x55d7b1,_0x32fceb,_0x3935da){for(let _0x2cb526=0x0;_0x2cb526<_0x3935da;_0x2cb526++)_0x55d7b1[_0x32fceb+_0x2cb526]=_0x183bc8[_0x2cb526]^_0x365bef[_0x2cb526&0x3];}function _0x7a5b(_0x3a6cfe,_0x5338cc){const _0x39ab4b=_0x4b2ca0;for(let _0x11d9f8=0x0;_0x11d9f8<_0x3a6cfe[_0x39ab4b(0x17b)];_0x11d9f8++)_0x3a6cfe[_0x11d9f8]^=_0x5338cc[_0x11d9f8&0x3];}function _0x36e6f7(_0x2c95e9){const _0x3ec3d0=_0x4b2ca0;return _0x2c95e9[_0x3ec3d0(0x17b)]===_0x2c95e9[_0x3ec3d0(0x196)][_0x3ec3d0(0x2ed)]?_0x2c95e9[_0x3ec3d0(0x196)]:_0x2c95e9[_0x3ec3d0(0x196)]['slice'](_0x2c95e9['byteOffset'],_0x2c95e9[_0x3ec3d0(0x304)]+_0x2c95e9[_0x3ec3d0(0x17b)]);}function _0x594ac4(_0x238a08){const _0x1155da=_0x4b2ca0;if(_0x594ac4[_0x1155da(0x25b)]=!0x0,Buffer[_0x1155da(0x32b)](_0x238a08))return _0x238a08;let _0x1e9c25;return _0x238a08 instanceof ArrayBuffer?_0x1e9c25=new _0x8908f5(_0x238a08):ArrayBuffer['isView'](_0x238a08)?_0x1e9c25=new _0x8908f5(_0x238a08[_0x1155da(0x196)],_0x238a08[_0x1155da(0x304)],_0x238a08[_0x1155da(0x2ed)]):(_0x1e9c25=Buffer['from'](_0x238a08),_0x594ac4[_0x1155da(0x25b)]=!0x1),_0x1e9c25;}if(se['exports']={'concat':_0x48ad4e,'mask':_0x29f988,'toArrayBuffer':_0x36e6f7,'toBuffer':_0x594ac4,'unmask':_0x7a5b},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x2481f8=Lt;se['exports'][_0x4b2ca0(0x1f2)]=function(_0x24f6a0,_0x57086e,_0x37f41b,_0x56d3d1,_0x270bbe){const _0x31d7a1=_0x4b2ca0;_0x270bbe<0x30?_0x29f988(_0x24f6a0,_0x57086e,_0x37f41b,_0x56d3d1,_0x270bbe):_0x2481f8[_0x31d7a1(0x1f2)](_0x24f6a0,_0x57086e,_0x37f41b,_0x56d3d1,_0x270bbe);},se[_0x4b2ca0(0x316)][_0x4b2ca0(0x1fc)]=function(_0x3d5fd1,_0x3da969){_0x3d5fd1['length']<0x20?_0x7a5b(_0x3d5fd1,_0x3da969):_0x2481f8['unmask'](_0x3d5fd1,_0x3da969);};}catch{}return se[_0x4b2ca0(0x316)];}var ye,He;function Pt(){const _0x3528b0=_0x4ec5cf;if(He)return ye;He=0x1;const _0x5967bc=Symbol(_0x3528b0(0x1db)),_0x2e73fc=Symbol(_0x3528b0(0x18c));class _0x1f993f{constructor(_0x4e28b2){const _0x512f6c=_0x3528b0;this[_0x5967bc]=()=>{const _0x2dda11=_0x4bf3;this[_0x2dda11(0x277)]--,this[_0x2e73fc]();},this[_0x512f6c(0x279)]=_0x4e28b2||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x3528b0(0x211)](_0x2ef250){const _0xa20458=_0x3528b0;this[_0xa20458(0x32c)]['push'](_0x2ef250),this[_0x2e73fc]();}[_0x2e73fc](){const _0x2f1eca=_0x3528b0;if(this['pending']!==this[_0x2f1eca(0x279)]&&this[_0x2f1eca(0x32c)]['length']){const _0x18466e=this['jobs']['shift']();this[_0x2f1eca(0x277)]++,_0x18466e(this[_0x5967bc]);}}}return ye=_0x1f993f,ye;}var ve,ze;function he(){const _0x24ad05=_0x4ec5cf;if(ze)return ve;ze=0x1;const _0x41b10f=bt,_0x128253=ce(),_0x339ee3=Pt(),{kStatusCode:_0x460a4d}=H(),_0x398fe6=Buffer[Symbol[_0x24ad05(0x2b1)]],_0x34ce31=Buffer[_0x24ad05(0x2e4)]([0x0,0x0,0xff,0xff]),_0x7ce484=Symbol(_0x24ad05(0x203)),_0x1191e1=Symbol(_0x24ad05(0x2ea)),_0x5ee044=Symbol('callback'),_0x300c20=Symbol(_0x24ad05(0x1f8)),_0x3fd3cc=Symbol(_0x24ad05(0x27c));let _0x135f65;class _0x4ebf78{constructor(_0x300988,_0x4d2a3a,_0x53fc70){const _0x42e14f=_0x24ad05;if(this['_maxPayload']=_0x53fc70|0x0,this[_0x42e14f(0x288)]=_0x300988||{},this[_0x42e14f(0x2fe)]=this[_0x42e14f(0x288)]['threshold']!==void 0x0?this[_0x42e14f(0x288)][_0x42e14f(0x1a6)]:0x400,this['_isServer']=!!_0x4d2a3a,this[_0x42e14f(0x1ba)]=null,this[_0x42e14f(0x2e1)]=null,this['params']=null,!_0x135f65){const _0x14a9b0=this[_0x42e14f(0x288)][_0x42e14f(0x253)]!==void 0x0?this[_0x42e14f(0x288)][_0x42e14f(0x253)]:0xa;_0x135f65=new _0x339ee3(_0x14a9b0);}}static get[_0x24ad05(0x1b2)](){const _0x1212dc=_0x24ad05;return _0x1212dc(0x203);}[_0x24ad05(0x18e)](){const _0x1debab=_0x24ad05,_0x27dddf={};return this['_options'][_0x1debab(0x1bb)]&&(_0x27dddf[_0x1debab(0x1ca)]=!0x0),this[_0x1debab(0x288)][_0x1debab(0x30d)]&&(_0x27dddf[_0x1debab(0x254)]=!0x0),this[_0x1debab(0x288)][_0x1debab(0x315)]&&(_0x27dddf['server_max_window_bits']=this[_0x1debab(0x288)][_0x1debab(0x315)]),this[_0x1debab(0x288)][_0x1debab(0x1ad)]?_0x27dddf[_0x1debab(0x32a)]=this['_options'][_0x1debab(0x1ad)]:this['_options'][_0x1debab(0x1ad)]==null&&(_0x27dddf['client_max_window_bits']=!0x0),_0x27dddf;}[_0x24ad05(0x2dd)](_0x2538e0){const _0x108c29=_0x24ad05;return _0x2538e0=this['normalizeParams'](_0x2538e0),this[_0x108c29(0x2a6)]=this[_0x108c29(0x2e7)]?this[_0x108c29(0x1fd)](_0x2538e0):this[_0x108c29(0x29a)](_0x2538e0),this['params'];}[_0x24ad05(0x291)](){const _0x3bf6f0=_0x24ad05;if(this[_0x3bf6f0(0x2e1)]&&(this[_0x3bf6f0(0x2e1)][_0x3bf6f0(0x28f)](),this[_0x3bf6f0(0x2e1)]=null),this[_0x3bf6f0(0x1ba)]){const _0x579325=this[_0x3bf6f0(0x1ba)][_0x5ee044];this[_0x3bf6f0(0x1ba)][_0x3bf6f0(0x28f)](),this[_0x3bf6f0(0x1ba)]=null,_0x579325&&_0x579325(new Error(_0x3bf6f0(0x2c7)));}}['acceptAsServer'](_0x2097e2){const _0x181836=_0x24ad05,_0xb01bf=this[_0x181836(0x288)],_0x20b5ad=_0x2097e2[_0x181836(0x2d1)](_0x2c0b1c=>!(_0xb01bf[_0x181836(0x1bb)]===!0x1&&_0x2c0b1c['server_no_context_takeover']||_0x2c0b1c[_0x181836(0x21c)]&&(_0xb01bf[_0x181836(0x315)]===!0x1||typeof _0xb01bf['serverMaxWindowBits']==_0x181836(0x25e)&&_0xb01bf['serverMaxWindowBits']>_0x2c0b1c[_0x181836(0x21c)])||typeof _0xb01bf[_0x181836(0x1ad)]=='number'&&!_0x2c0b1c[_0x181836(0x32a)]));if(!_0x20b5ad)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xb01bf['serverNoContextTakeover']&&(_0x20b5ad[_0x181836(0x1ca)]=!0x0),_0xb01bf['clientNoContextTakeover']&&(_0x20b5ad[_0x181836(0x254)]=!0x0),typeof _0xb01bf['serverMaxWindowBits']==_0x181836(0x25e)&&(_0x20b5ad['server_max_window_bits']=_0xb01bf['serverMaxWindowBits']),typeof _0xb01bf[_0x181836(0x1ad)]==_0x181836(0x25e)?_0x20b5ad[_0x181836(0x32a)]=_0xb01bf[_0x181836(0x1ad)]:(_0x20b5ad[_0x181836(0x32a)]===!0x0||_0xb01bf[_0x181836(0x1ad)]===!0x1)&&delete _0x20b5ad['client_max_window_bits'],_0x20b5ad;}['acceptAsClient'](_0x47fbfc){const _0x2bcde1=_0x24ad05,_0x2ecb5c=_0x47fbfc[0x0];if(this[_0x2bcde1(0x288)]['clientNoContextTakeover']===!0x1&&_0x2ecb5c['client_no_context_takeover'])throw new Error(_0x2bcde1(0x323));if(!_0x2ecb5c[_0x2bcde1(0x32a)])typeof this[_0x2bcde1(0x288)][_0x2bcde1(0x1ad)]==_0x2bcde1(0x25e)&&(_0x2ecb5c[_0x2bcde1(0x32a)]=this['_options'][_0x2bcde1(0x1ad)]);else{if(this[_0x2bcde1(0x288)][_0x2bcde1(0x1ad)]===!0x1||typeof this[_0x2bcde1(0x288)][_0x2bcde1(0x1ad)]==_0x2bcde1(0x25e)&&_0x2ecb5c[_0x2bcde1(0x32a)]>this[_0x2bcde1(0x288)][_0x2bcde1(0x1ad)])throw new Error(_0x2bcde1(0x1fe));}return _0x2ecb5c;}[_0x24ad05(0x2dc)](_0x4e347d){return _0x4e347d['forEach'](_0x1a111e=>{const _0x490b02=_0x4bf3;Object['keys'](_0x1a111e)[_0x490b02(0x18d)](_0x560850=>{const _0x62af1b=_0x490b02;let _0x15e32b=_0x1a111e[_0x560850];if(_0x15e32b['length']>0x1)throw new Error(_0x62af1b(0x26c)+_0x560850+_0x62af1b(0x2d8));if(_0x15e32b=_0x15e32b[0x0],_0x560850===_0x62af1b(0x32a)){if(_0x15e32b!==!0x0){const _0x37c4bd=+_0x15e32b;if(!Number[_0x62af1b(0x198)](_0x37c4bd)||_0x37c4bd<0x8||_0x37c4bd>0xf)throw new TypeError(_0x62af1b(0x339)+_0x560850+_0x62af1b(0x18a)+_0x15e32b);_0x15e32b=_0x37c4bd;}else{if(!this[_0x62af1b(0x2e7)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x560850+'\x22:\x20'+_0x15e32b);}}else{if(_0x560850===_0x62af1b(0x21c)){const _0x1c249e=+_0x15e32b;if(!Number[_0x62af1b(0x198)](_0x1c249e)||_0x1c249e<0x8||_0x1c249e>0xf)throw new TypeError(_0x62af1b(0x339)+_0x560850+_0x62af1b(0x18a)+_0x15e32b);_0x15e32b=_0x1c249e;}else{if(_0x560850===_0x62af1b(0x254)||_0x560850===_0x62af1b(0x1ca)){if(_0x15e32b!==!0x0)throw new TypeError(_0x62af1b(0x339)+_0x560850+'\x22:\x20'+_0x15e32b);}else throw new Error(_0x62af1b(0x25d)+_0x560850+'\x22');}}_0x1a111e[_0x560850]=_0x15e32b;});}),_0x4e347d;}['decompress'](_0x114b2a,_0x43090c,_0x7d6c19){_0x135f65['add'](_0x578350=>{this['_decompress'](_0x114b2a,_0x43090c,(_0x5be3b6,_0x2e01f4)=>{_0x578350(),_0x7d6c19(_0x5be3b6,_0x2e01f4);});});}[_0x24ad05(0x27f)](_0x30c0cb,_0x32825c,_0xea5be){const _0x5abf52=_0x24ad05;_0x135f65[_0x5abf52(0x211)](_0x54c51e=>{const _0x32113a=_0x5abf52;this[_0x32113a(0x1ec)](_0x30c0cb,_0x32825c,(_0x55b860,_0x5a3df3)=>{_0x54c51e(),_0xea5be(_0x55b860,_0x5a3df3);});});}[_0x24ad05(0x22d)](_0x353c4c,_0x5c0ba4,_0x5e39ef){const _0x20eed7=_0x24ad05,_0x239336=this[_0x20eed7(0x2e7)]?'client':_0x20eed7(0x2c5);if(!this[_0x20eed7(0x2e1)]){const _0x589161=_0x239336+_0x20eed7(0x2b0),_0x4fb62e=typeof this[_0x20eed7(0x2a6)][_0x589161]!=_0x20eed7(0x25e)?_0x41b10f['Z_DEFAULT_WINDOWBITS']:this['params'][_0x589161];this[_0x20eed7(0x2e1)]=_0x41b10f[_0x20eed7(0x28c)]({...this[_0x20eed7(0x288)]['zlibInflateOptions'],'windowBits':_0x4fb62e}),this[_0x20eed7(0x2e1)][_0x7ce484]=this,this['_inflate'][_0x1191e1]=0x0,this[_0x20eed7(0x2e1)][_0x300c20]=[],this[_0x20eed7(0x2e1)]['on']('error',_0x401ec6),this['_inflate']['on'](_0x20eed7(0x292),_0x9bcbd1);}this[_0x20eed7(0x2e1)][_0x5ee044]=_0x5e39ef,this[_0x20eed7(0x2e1)][_0x20eed7(0x2e9)](_0x353c4c),_0x5c0ba4&&this['_inflate']['write'](_0x34ce31),this[_0x20eed7(0x2e1)][_0x20eed7(0x231)](()=>{const _0x6e65c6=_0x20eed7,_0x508c5f=this[_0x6e65c6(0x2e1)][_0x3fd3cc];if(_0x508c5f){this[_0x6e65c6(0x2e1)][_0x6e65c6(0x28f)](),this[_0x6e65c6(0x2e1)]=null,_0x5e39ef(_0x508c5f);return;}const _0x55d49b=_0x128253[_0x6e65c6(0x1b7)](this[_0x6e65c6(0x2e1)][_0x300c20],this[_0x6e65c6(0x2e1)][_0x1191e1]);this[_0x6e65c6(0x2e1)][_0x6e65c6(0x24f)][_0x6e65c6(0x194)]?(this['_inflate'][_0x6e65c6(0x28f)](),this[_0x6e65c6(0x2e1)]=null):(this[_0x6e65c6(0x2e1)][_0x1191e1]=0x0,this[_0x6e65c6(0x2e1)][_0x300c20]=[],_0x5c0ba4&&this['params'][_0x239336+'_no_context_takeover']&&this[_0x6e65c6(0x2e1)]['reset']()),_0x5e39ef(null,_0x55d49b);});}[_0x24ad05(0x1ec)](_0x15c8d5,_0x32c6a3,_0xc6db35){const _0x52a46e=_0x24ad05,_0x5fd13d=this[_0x52a46e(0x2e7)]?_0x52a46e(0x2c5):_0x52a46e(0x20e);if(!this[_0x52a46e(0x1ba)]){const _0x6b54b7=_0x5fd13d+_0x52a46e(0x2b0),_0x3820ec=typeof this[_0x52a46e(0x2a6)][_0x6b54b7]!='number'?_0x41b10f[_0x52a46e(0x1c7)]:this['params'][_0x6b54b7];this[_0x52a46e(0x1ba)]=_0x41b10f[_0x52a46e(0x1a2)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x3820ec}),this['_deflate'][_0x1191e1]=0x0,this['_deflate'][_0x300c20]=[],this[_0x52a46e(0x1ba)]['on'](_0x52a46e(0x292),_0xba2245);}this[_0x52a46e(0x1ba)][_0x5ee044]=_0xc6db35,this[_0x52a46e(0x1ba)]['write'](_0x15c8d5),this[_0x52a46e(0x1ba)][_0x52a46e(0x231)](_0x41b10f['Z_SYNC_FLUSH'],()=>{const _0x209a00=_0x52a46e;if(!this[_0x209a00(0x1ba)])return;let _0x118f43=_0x128253[_0x209a00(0x1b7)](this['_deflate'][_0x300c20],this['_deflate'][_0x1191e1]);_0x32c6a3&&(_0x118f43=new _0x398fe6(_0x118f43[_0x209a00(0x196)],_0x118f43[_0x209a00(0x304)],_0x118f43[_0x209a00(0x17b)]-0x4)),this[_0x209a00(0x1ba)][_0x5ee044]=null,this[_0x209a00(0x1ba)][_0x1191e1]=0x0,this[_0x209a00(0x1ba)][_0x300c20]=[],_0x32c6a3&&this['params'][_0x5fd13d+'_no_context_takeover']&&this[_0x209a00(0x1ba)][_0x209a00(0x272)](),_0xc6db35(null,_0x118f43);});}}ve=_0x4ebf78;function _0xba2245(_0x406c20){const _0x31d6cf=_0x24ad05;this[_0x300c20]['push'](_0x406c20),this[_0x1191e1]+=_0x406c20[_0x31d6cf(0x17b)];}function _0x9bcbd1(_0x165561){const _0x30cfba=_0x24ad05;if(this[_0x1191e1]+=_0x165561[_0x30cfba(0x17b)],this[_0x7ce484][_0x30cfba(0x31b)]<0x1||this[_0x1191e1]<=this[_0x7ce484]['_maxPayload']){this[_0x300c20]['push'](_0x165561);return;}this[_0x3fd3cc]=new RangeError(_0x30cfba(0x2ee)),this[_0x3fd3cc]['code']=_0x30cfba(0x1d1),this[_0x3fd3cc][_0x460a4d]=0x3f1,this[_0x30cfba(0x1a4)]('data',_0x9bcbd1),this[_0x30cfba(0x272)]();}function _0x401ec6(_0x278c11){const _0x412086=_0x24ad05;if(this[_0x7ce484][_0x412086(0x2e1)]=null,this[_0x3fd3cc]){this[_0x5ee044](this[_0x3fd3cc]);return;}_0x278c11[_0x460a4d]=0x3ef,this[_0x5ee044](_0x278c11);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4ec5cf(0x338)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x4ec5cf(0x19c)],{'value':_0x4ec5cf(0x2be)})),Bt=at(Rt);var Ye;function ae(){const _0xb8ed7b=_0x4ec5cf;if(Ye)return ie[_0xb8ed7b(0x316)];Ye=0x1;const {isUtf8:_0x5cbf17}=wt,{hasBlob:_0x143791}=H(),_0x5b80c6=[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 _0x414fdb(_0x1531ef){return _0x1531ef>=0x3e8&&_0x1531ef<=0x3f6&&_0x1531ef!==0x3ec&&_0x1531ef!==0x3ed&&_0x1531ef!==0x3ee||_0x1531ef>=0xbb8&&_0x1531ef<=0x1387;}function _0x21eca8(_0xbc0aa0){const _0xadd374=_0xb8ed7b,_0x3a909d=_0xbc0aa0[_0xadd374(0x17b)];let _0x1af65c=0x0;for(;_0x1af65c<_0x3a909d;)if((_0xbc0aa0[_0x1af65c]&0x80)===0x0)_0x1af65c++;else{if((_0xbc0aa0[_0x1af65c]&0xe0)===0xc0){if(_0x1af65c+0x1===_0x3a909d||(_0xbc0aa0[_0x1af65c+0x1]&0xc0)!==0x80||(_0xbc0aa0[_0x1af65c]&0xfe)===0xc0)return!0x1;_0x1af65c+=0x2;}else{if((_0xbc0aa0[_0x1af65c]&0xf0)===0xe0){if(_0x1af65c+0x2>=_0x3a909d||(_0xbc0aa0[_0x1af65c+0x1]&0xc0)!==0x80||(_0xbc0aa0[_0x1af65c+0x2]&0xc0)!==0x80||_0xbc0aa0[_0x1af65c]===0xe0&&(_0xbc0aa0[_0x1af65c+0x1]&0xe0)===0x80||_0xbc0aa0[_0x1af65c]===0xed&&(_0xbc0aa0[_0x1af65c+0x1]&0xe0)===0xa0)return!0x1;_0x1af65c+=0x3;}else{if((_0xbc0aa0[_0x1af65c]&0xf8)===0xf0){if(_0x1af65c+0x3>=_0x3a909d||(_0xbc0aa0[_0x1af65c+0x1]&0xc0)!==0x80||(_0xbc0aa0[_0x1af65c+0x2]&0xc0)!==0x80||(_0xbc0aa0[_0x1af65c+0x3]&0xc0)!==0x80||_0xbc0aa0[_0x1af65c]===0xf0&&(_0xbc0aa0[_0x1af65c+0x1]&0xf0)===0x80||_0xbc0aa0[_0x1af65c]===0xf4&&_0xbc0aa0[_0x1af65c+0x1]>0x8f||_0xbc0aa0[_0x1af65c]>0xf4)return!0x1;_0x1af65c+=0x4;}else return!0x1;}}}return!0x0;}function _0x341323(_0x58eee0){const _0x1d457a=_0xb8ed7b;return _0x143791&&typeof _0x58eee0==_0x1d457a(0x274)&&typeof _0x58eee0['arrayBuffer']==_0x1d457a(0x1f7)&&typeof _0x58eee0['type']==_0x1d457a(0x18b)&&typeof _0x58eee0[_0x1d457a(0x31d)]==_0x1d457a(0x1f7)&&(_0x58eee0[Symbol[_0x1d457a(0x19c)]]===_0x1d457a(0x2ce)||_0x58eee0[Symbol['toStringTag']]==='File');}if(ie[_0xb8ed7b(0x316)]={'isBlob':_0x341323,'isValidStatusCode':_0x414fdb,'isValidUTF8':_0x21eca8,'tokenChars':_0x5b80c6},_0x5cbf17)ie[_0xb8ed7b(0x316)][_0xb8ed7b(0x206)]=function(_0x18cf2a){const _0x4a29b1=_0xb8ed7b;return _0x18cf2a[_0x4a29b1(0x17b)]<0x18?_0x21eca8(_0x18cf2a):_0x5cbf17(_0x18cf2a);};else{if(!process[_0xb8ed7b(0x284)][_0xb8ed7b(0x32f)])try{const _0x155e30=Bt;ie[_0xb8ed7b(0x316)]['isValidUTF8']=function(_0x2399db){const _0x2d47c4=_0xb8ed7b;return _0x2399db[_0x2d47c4(0x17b)]<0x20?_0x21eca8(_0x2399db):_0x155e30(_0x2399db);};}catch{}}return ie[_0xb8ed7b(0x316)];}var Se,Ke;function lt(){const _0x59a4d1=_0x4ec5cf;if(Ke)return Se;Ke=0x1;const {Writable:_0x1393ca}=oe,_0x3faae9=he(),{BINARY_TYPES:_0x3edcd4,EMPTY_BUFFER:_0x571b00,kStatusCode:_0x139c76,kWebSocket:_0x3713b2}=H(),{concat:_0x17d806,toArrayBuffer:_0x2cea17,unmask:_0x1898ab}=ce(),{isValidStatusCode:_0x432e71,isValidUTF8:_0x33f3d7}=ae(),_0x383c0d=Buffer[Symbol[_0x59a4d1(0x2b1)]],_0x57d6b2=0x0,_0x522b84=0x1,_0x39e1b3=0x2,_0x327406=0x3,_0xde80ab=0x4,_0xa3b2cc=0x5,_0x57962c=0x6;class _0x3b6958 extends _0x1393ca{constructor(_0x2dbc08={}){const _0xbd4cfc=_0x59a4d1;super(),this[_0xbd4cfc(0x18f)]=_0x2dbc08[_0xbd4cfc(0x307)]!==void 0x0?_0x2dbc08[_0xbd4cfc(0x307)]:!0x0,this[_0xbd4cfc(0x1cc)]=_0x2dbc08[_0xbd4cfc(0x1ce)]||_0x3edcd4[0x0],this[_0xbd4cfc(0x285)]=_0x2dbc08[_0xbd4cfc(0x2f3)]||{},this[_0xbd4cfc(0x2e7)]=!!_0x2dbc08[_0xbd4cfc(0x17e)],this[_0xbd4cfc(0x31b)]=_0x2dbc08[_0xbd4cfc(0x317)]|0x0,this[_0xbd4cfc(0x311)]=!!_0x2dbc08[_0xbd4cfc(0x23b)],this[_0x3713b2]=void 0x0,this[_0xbd4cfc(0x25f)]=0x0,this[_0xbd4cfc(0x200)]=[],this[_0xbd4cfc(0x20b)]=!0x1,this[_0xbd4cfc(0x293)]=0x0,this['_mask']=void 0x0,this[_0xbd4cfc(0x246)]=0x0,this[_0xbd4cfc(0x2bd)]=!0x1,this[_0xbd4cfc(0x2f8)]=!0x1,this['_opcode']=0x0,this[_0xbd4cfc(0x215)]=0x0,this['_messageLength']=0x0,this[_0xbd4cfc(0x1ac)]=[],this[_0xbd4cfc(0x1c9)]=!0x1,this[_0xbd4cfc(0x1e5)]=!0x1,this[_0xbd4cfc(0x2ac)]=_0x57d6b2;}[_0x59a4d1(0x305)](_0x2ed59e,_0x2a0b2f,_0x5d62b8){const _0x505a77=_0x59a4d1;if(this['_opcode']===0x8&&this['_state']==_0x57d6b2)return _0x5d62b8();this[_0x505a77(0x25f)]+=_0x2ed59e['length'],this[_0x505a77(0x200)][_0x505a77(0x273)](_0x2ed59e),this['startLoop'](_0x5d62b8);}['consume'](_0x1b38a6){const _0x330a05=_0x59a4d1;if(this[_0x330a05(0x25f)]-=_0x1b38a6,_0x1b38a6===this[_0x330a05(0x200)][0x0][_0x330a05(0x17b)])return this[_0x330a05(0x200)][_0x330a05(0x1a8)]();if(_0x1b38a6<this['_buffers'][0x0][_0x330a05(0x17b)]){const _0xd8205=this[_0x330a05(0x200)][0x0];return this[_0x330a05(0x200)][0x0]=new _0x383c0d(_0xd8205[_0x330a05(0x196)],_0xd8205[_0x330a05(0x304)]+_0x1b38a6,_0xd8205[_0x330a05(0x17b)]-_0x1b38a6),new _0x383c0d(_0xd8205[_0x330a05(0x196)],_0xd8205[_0x330a05(0x304)],_0x1b38a6);}const _0x45874b=Buffer[_0x330a05(0x32d)](_0x1b38a6);do{const _0x1f88ab=this[_0x330a05(0x200)][0x0],_0x4d8ad3=_0x45874b[_0x330a05(0x17b)]-_0x1b38a6;_0x1b38a6>=_0x1f88ab['length']?_0x45874b[_0x330a05(0x1e4)](this[_0x330a05(0x200)][_0x330a05(0x1a8)](),_0x4d8ad3):(_0x45874b[_0x330a05(0x1e4)](new Uint8Array(_0x1f88ab['buffer'],_0x1f88ab[_0x330a05(0x304)],_0x1b38a6),_0x4d8ad3),this['_buffers'][0x0]=new _0x383c0d(_0x1f88ab[_0x330a05(0x196)],_0x1f88ab[_0x330a05(0x304)]+_0x1b38a6,_0x1f88ab['length']-_0x1b38a6)),_0x1b38a6-=_0x1f88ab[_0x330a05(0x17b)];}while(_0x1b38a6>0x0);return _0x45874b;}[_0x59a4d1(0x250)](_0x6fef90){const _0x3910af=_0x59a4d1;this['_loop']=!0x0;do switch(this[_0x3910af(0x2ac)]){case _0x57d6b2:this[_0x3910af(0x1ab)](_0x6fef90);break;case _0x522b84:this[_0x3910af(0x1d3)](_0x6fef90);break;case _0x39e1b3:this[_0x3910af(0x28b)](_0x6fef90);break;case _0x327406:this[_0x3910af(0x1a0)]();break;case _0xde80ab:this[_0x3910af(0x1e7)](_0x6fef90);break;case _0xa3b2cc:case _0x57962c:this[_0x3910af(0x1e5)]=!0x1;return;}while(this[_0x3910af(0x1e5)]);this[_0x3910af(0x1c9)]||_0x6fef90();}[_0x59a4d1(0x1ab)](_0xc4d1c9){const _0x4860bf=_0x59a4d1;if(this[_0x4860bf(0x25f)]<0x2){this[_0x4860bf(0x1e5)]=!0x1;return;}const _0x3bfefe=this['consume'](0x2);if((_0x3bfefe[0x0]&0x30)!==0x0){const _0x457c5c=this['createError'](RangeError,_0x4860bf(0x1c3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xc4d1c9(_0x457c5c);return;}const _0x39c32b=(_0x3bfefe[0x0]&0x40)===0x40;if(_0x39c32b&&!this[_0x4860bf(0x285)][_0x3faae9['extensionName']]){const _0x3ee9db=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x263),!0x0,0x3ea,_0x4860bf(0x26b));_0xc4d1c9(_0x3ee9db);return;}if(this[_0x4860bf(0x2f8)]=(_0x3bfefe[0x0]&0x80)===0x80,this['_opcode']=_0x3bfefe[0x0]&0xf,this[_0x4860bf(0x293)]=_0x3bfefe[0x1]&0x7f,this[_0x4860bf(0x1dd)]===0x0){if(_0x39c32b){const _0x561658=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x263),!0x0,0x3ea,_0x4860bf(0x26b));_0xc4d1c9(_0x561658);return;}if(!this[_0x4860bf(0x246)]){const _0x125ca8=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4860bf(0x21a));_0xc4d1c9(_0x125ca8);return;}this[_0x4860bf(0x1dd)]=this[_0x4860bf(0x246)];}else{if(this[_0x4860bf(0x1dd)]===0x1||this[_0x4860bf(0x1dd)]===0x2){if(this[_0x4860bf(0x246)]){const _0x27e4f7=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x2b5)+this[_0x4860bf(0x1dd)],!0x0,0x3ea,_0x4860bf(0x21a));_0xc4d1c9(_0x27e4f7);return;}this[_0x4860bf(0x20b)]=_0x39c32b;}else{if(this[_0x4860bf(0x1dd)]>0x7&&this[_0x4860bf(0x1dd)]<0xb){if(!this[_0x4860bf(0x2f8)]){const _0x56a2ad=this['createError'](RangeError,_0x4860bf(0x1e9),!0x0,0x3ea,_0x4860bf(0x264));_0xc4d1c9(_0x56a2ad);return;}if(_0x39c32b){const _0x3c047b=this['createError'](RangeError,_0x4860bf(0x263),!0x0,0x3ea,_0x4860bf(0x26b));_0xc4d1c9(_0x3c047b);return;}if(this[_0x4860bf(0x293)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x1dda78=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x2de)+this['_payloadLength'],!0x0,0x3ea,_0x4860bf(0x337));_0xc4d1c9(_0x1dda78);return;}}else{const _0x26ba25=this['createError'](RangeError,_0x4860bf(0x2b5)+this[_0x4860bf(0x1dd)],!0x0,0x3ea,_0x4860bf(0x21a));_0xc4d1c9(_0x26ba25);return;}}}if(!this[_0x4860bf(0x2f8)]&&!this['_fragmented']&&(this[_0x4860bf(0x246)]=this['_opcode']),this[_0x4860bf(0x2bd)]=(_0x3bfefe[0x1]&0x80)===0x80,this[_0x4860bf(0x2e7)]){if(!this[_0x4860bf(0x2bd)]){const _0x40f900=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x20d),!0x0,0x3ea,_0x4860bf(0x20f));_0xc4d1c9(_0x40f900);return;}}else{if(this['_masked']){const _0x78850=this[_0x4860bf(0x2cb)](RangeError,_0x4860bf(0x23c),!0x0,0x3ea,_0x4860bf(0x2ec));_0xc4d1c9(_0x78850);return;}}this[_0x4860bf(0x293)]===0x7e?this[_0x4860bf(0x2ac)]=_0x522b84:this[_0x4860bf(0x293)]===0x7f?this[_0x4860bf(0x2ac)]=_0x39e1b3:this[_0x4860bf(0x1ae)](_0xc4d1c9);}[_0x59a4d1(0x1d3)](_0x36f6c7){const _0x4b82c1=_0x59a4d1;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x4b82c1(0x293)]=this[_0x4b82c1(0x1e8)](0x2)[_0x4b82c1(0x2f2)](0x0),this[_0x4b82c1(0x1ae)](_0x36f6c7);}[_0x59a4d1(0x28b)](_0x45c3ad){const _0x276e30=_0x59a4d1;if(this[_0x276e30(0x25f)]<0x8){this['_loop']=!0x1;return;}const _0x54c6fe=this[_0x276e30(0x1e8)](0x8),_0x3ee95b=_0x54c6fe[_0x276e30(0x1f5)](0x0);if(_0x3ee95b>Math[_0x276e30(0x186)](0x2,0x15)-0x1){const _0x5ecc5f=this[_0x276e30(0x2cb)](RangeError,_0x276e30(0x21d),!0x1,0x3f1,_0x276e30(0x1a5));_0x45c3ad(_0x5ecc5f);return;}this[_0x276e30(0x293)]=_0x3ee95b*Math[_0x276e30(0x186)](0x2,0x20)+_0x54c6fe[_0x276e30(0x1f5)](0x4),this[_0x276e30(0x1ae)](_0x45c3ad);}[_0x59a4d1(0x1ae)](_0x3166e1){const _0x2582f5=_0x59a4d1;if(this[_0x2582f5(0x293)]&&this[_0x2582f5(0x1dd)]<0x8&&(this[_0x2582f5(0x215)]+=this['_payloadLength'],this[_0x2582f5(0x215)]>this[_0x2582f5(0x31b)]&&this[_0x2582f5(0x31b)]>0x0)){const _0x484973=this[_0x2582f5(0x2cb)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3166e1(_0x484973);return;}this[_0x2582f5(0x2bd)]?this[_0x2582f5(0x2ac)]=_0x327406:this[_0x2582f5(0x2ac)]=_0xde80ab;}[_0x59a4d1(0x1a0)](){const _0x49d5d4=_0x59a4d1;if(this[_0x49d5d4(0x25f)]<0x4){this[_0x49d5d4(0x1e5)]=!0x1;return;}this[_0x49d5d4(0x22a)]=this[_0x49d5d4(0x1e8)](0x4),this['_state']=_0xde80ab;}['getData'](_0x3339da){const _0x1811b5=_0x59a4d1;let _0x2fe556=_0x571b00;if(this[_0x1811b5(0x293)]){if(this[_0x1811b5(0x25f)]<this['_payloadLength']){this[_0x1811b5(0x1e5)]=!0x1;return;}_0x2fe556=this[_0x1811b5(0x1e8)](this[_0x1811b5(0x293)]),this[_0x1811b5(0x2bd)]&&(this[_0x1811b5(0x22a)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x1811b5(0x22a)][0x3])!==0x0&&_0x1898ab(_0x2fe556,this[_0x1811b5(0x22a)]);}if(this['_opcode']>0x7){this[_0x1811b5(0x2a5)](_0x2fe556,_0x3339da);return;}if(this['_compressed']){this['_state']=_0xa3b2cc,this[_0x1811b5(0x180)](_0x2fe556,_0x3339da);return;}_0x2fe556[_0x1811b5(0x17b)]&&(this[_0x1811b5(0x2b3)]=this['_totalPayloadLength'],this['_fragments'][_0x1811b5(0x273)](_0x2fe556)),this['dataMessage'](_0x3339da);}['decompress'](_0x1cb01e,_0x1c41f2){const _0x364ccf=_0x59a4d1;this[_0x364ccf(0x285)][_0x3faae9['extensionName']]['decompress'](_0x1cb01e,this[_0x364ccf(0x2f8)],(_0x4ce5ac,_0x711628)=>{const _0x2c52fa=_0x364ccf;if(_0x4ce5ac)return _0x1c41f2(_0x4ce5ac);if(_0x711628[_0x2c52fa(0x17b)]){if(this['_messageLength']+=_0x711628[_0x2c52fa(0x17b)],this[_0x2c52fa(0x2b3)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x2fe348=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2c52fa(0x1d1));_0x1c41f2(_0x2fe348);return;}this['_fragments'][_0x2c52fa(0x273)](_0x711628);}this[_0x2c52fa(0x2fc)](_0x1c41f2),this[_0x2c52fa(0x2ac)]===_0x57d6b2&&this[_0x2c52fa(0x250)](_0x1c41f2);});}[_0x59a4d1(0x2fc)](_0x3230e7){const _0x572b7f=_0x59a4d1;if(!this[_0x572b7f(0x2f8)]){this[_0x572b7f(0x2ac)]=_0x57d6b2;return;}const _0x19c182=this[_0x572b7f(0x2b3)],_0x37169a=this[_0x572b7f(0x1ac)];if(this[_0x572b7f(0x215)]=0x0,this[_0x572b7f(0x2b3)]=0x0,this[_0x572b7f(0x246)]=0x0,this[_0x572b7f(0x1ac)]=[],this[_0x572b7f(0x1dd)]===0x2){let _0x398c7b;this[_0x572b7f(0x1cc)]===_0x572b7f(0x233)?_0x398c7b=_0x17d806(_0x37169a,_0x19c182):this[_0x572b7f(0x1cc)]===_0x572b7f(0x2ab)?_0x398c7b=_0x2cea17(_0x17d806(_0x37169a,_0x19c182)):this[_0x572b7f(0x1cc)]===_0x572b7f(0x2c2)?_0x398c7b=new Blob(_0x37169a):_0x398c7b=_0x37169a,this['_allowSynchronousEvents']?(this[_0x572b7f(0x209)](_0x572b7f(0x214),_0x398c7b,!0x0),this['_state']=_0x57d6b2):(this[_0x572b7f(0x2ac)]=_0x57962c,setImmediate(()=>{const _0x5cb855=_0x572b7f;this[_0x5cb855(0x209)](_0x5cb855(0x214),_0x398c7b,!0x0),this['_state']=_0x57d6b2,this[_0x5cb855(0x250)](_0x3230e7);}));}else{const _0x4058bb=_0x17d806(_0x37169a,_0x19c182);if(!this[_0x572b7f(0x311)]&&!_0x33f3d7(_0x4058bb)){const _0x4eb8d4=this[_0x572b7f(0x2cb)](Error,_0x572b7f(0x326),!0x0,0x3ef,_0x572b7f(0x2b9));_0x3230e7(_0x4eb8d4);return;}this[_0x572b7f(0x2ac)]===_0xa3b2cc||this[_0x572b7f(0x18f)]?(this[_0x572b7f(0x209)](_0x572b7f(0x214),_0x4058bb,!0x1),this[_0x572b7f(0x2ac)]=_0x57d6b2):(this['_state']=_0x57962c,setImmediate(()=>{const _0xea7e78=_0x572b7f;this[_0xea7e78(0x209)]('message',_0x4058bb,!0x1),this[_0xea7e78(0x2ac)]=_0x57d6b2,this['startLoop'](_0x3230e7);}));}}['controlMessage'](_0xe13069,_0x564321){const _0xa70d7d=_0x59a4d1;if(this[_0xa70d7d(0x1dd)]===0x8){if(_0xe13069[_0xa70d7d(0x17b)]===0x0)this['_loop']=!0x1,this[_0xa70d7d(0x209)]('conclude',0x3ed,_0x571b00),this[_0xa70d7d(0x1a9)]();else{const _0x3fa006=_0xe13069[_0xa70d7d(0x2f2)](0x0);if(!_0x432e71(_0x3fa006)){const _0x133e50=this[_0xa70d7d(0x2cb)](RangeError,_0xa70d7d(0x224)+_0x3fa006,!0x0,0x3ea,_0xa70d7d(0x207));_0x564321(_0x133e50);return;}const _0x419a4e=new _0x383c0d(_0xe13069[_0xa70d7d(0x196)],_0xe13069[_0xa70d7d(0x304)]+0x2,_0xe13069['length']-0x2);if(!this[_0xa70d7d(0x311)]&&!_0x33f3d7(_0x419a4e)){const _0x1f0d6b=this[_0xa70d7d(0x2cb)](Error,_0xa70d7d(0x326),!0x0,0x3ef,_0xa70d7d(0x2b9));_0x564321(_0x1f0d6b);return;}this[_0xa70d7d(0x1e5)]=!0x1,this['emit'](_0xa70d7d(0x2bb),_0x3fa006,_0x419a4e),this[_0xa70d7d(0x1a9)]();}this['_state']=_0x57d6b2;return;}this[_0xa70d7d(0x18f)]?(this[_0xa70d7d(0x209)](this['_opcode']===0x9?_0xa70d7d(0x1aa):_0xa70d7d(0x2f5),_0xe13069),this['_state']=_0x57d6b2):(this[_0xa70d7d(0x2ac)]=_0x57962c,setImmediate(()=>{const _0xa7227e=_0xa70d7d;this[_0xa7227e(0x209)](this[_0xa7227e(0x1dd)]===0x9?_0xa7227e(0x1aa):_0xa7227e(0x2f5),_0xe13069),this[_0xa7227e(0x2ac)]=_0x57d6b2,this[_0xa7227e(0x250)](_0x564321);}));}[_0x59a4d1(0x2cb)](_0x2da89b,_0x5bc668,_0x16f5fb,_0x4391ad,_0x4283f4){const _0x4a7600=_0x59a4d1;this[_0x4a7600(0x1e5)]=!0x1,this[_0x4a7600(0x1c9)]=!0x0;const _0x403976=new _0x2da89b(_0x16f5fb?_0x4a7600(0x2cc)+_0x5bc668:_0x5bc668);return Error[_0x4a7600(0x205)](_0x403976,this[_0x4a7600(0x2cb)]),_0x403976['code']=_0x4283f4,_0x403976[_0x139c76]=_0x4391ad,_0x403976;}}return Se=_0x3b6958,Se;}var Ee,Xe;function ft(){const _0x4e70d1=_0x4ec5cf;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x19ca63}=oe,{randomFillSync:_0x1b00c2}=Le,_0x27fb46=he(),{EMPTY_BUFFER:_0x401403,kWebSocket:_0x4cf7f4,NOOP:_0x4a1204}=H(),{isBlob:_0x5d0e44,isValidStatusCode:_0x1f995f}=ae(),{mask:_0x293962,toBuffer:_0xf1b6b}=ce(),_0x5dd839=Symbol(_0x4e70d1(0x249)),_0x353d3b=Buffer['alloc'](0x4),_0x4e5dbb=0x8*0x400;let _0x182110,_0x57fe16=_0x4e5dbb;const _0x371db3=0x0,_0x11b3a4=0x1,_0x2b7496=0x2;class _0x4f576b{constructor(_0x528794,_0x2aabb5,_0x2635c1){const _0x46abe1=_0x4e70d1;this['_extensions']=_0x2aabb5||{},_0x2635c1&&(this[_0x46abe1(0x30f)]=_0x2635c1,this['_maskBuffer']=Buffer[_0x46abe1(0x190)](0x4)),this[_0x46abe1(0x2a2)]=_0x528794,this[_0x46abe1(0x2a8)]=!0x0,this[_0x46abe1(0x1ec)]=!0x1,this[_0x46abe1(0x25f)]=0x0,this['_queue']=[],this['_state']=_0x371db3,this['onerror']=_0x4a1204,this[_0x4cf7f4]=void 0x0;}static[_0x4e70d1(0x20a)](_0x36b4bd,_0x58e942){const _0x4e10d4=_0x4e70d1;let _0x1000b7,_0x325158=!0x1,_0x1d1f0c=0x2,_0x1135e6=!0x1;_0x58e942[_0x4e10d4(0x1f2)]&&(_0x1000b7=_0x58e942[_0x4e10d4(0x1d2)]||_0x353d3b,_0x58e942[_0x4e10d4(0x27a)]?_0x58e942[_0x4e10d4(0x27a)](_0x1000b7):(_0x57fe16===_0x4e5dbb&&(_0x182110===void 0x0&&(_0x182110=Buffer[_0x4e10d4(0x190)](_0x4e5dbb)),_0x1b00c2(_0x182110,0x0,_0x4e5dbb),_0x57fe16=0x0),_0x1000b7[0x0]=_0x182110[_0x57fe16++],_0x1000b7[0x1]=_0x182110[_0x57fe16++],_0x1000b7[0x2]=_0x182110[_0x57fe16++],_0x1000b7[0x3]=_0x182110[_0x57fe16++]),_0x1135e6=(_0x1000b7[0x0]|_0x1000b7[0x1]|_0x1000b7[0x2]|_0x1000b7[0x3])===0x0,_0x1d1f0c=0x6);let _0x326a78;typeof _0x36b4bd=='string'?(!_0x58e942[_0x4e10d4(0x1f2)]||_0x1135e6)&&_0x58e942[_0x5dd839]!==void 0x0?_0x326a78=_0x58e942[_0x5dd839]:(_0x36b4bd=Buffer[_0x4e10d4(0x2e4)](_0x36b4bd),_0x326a78=_0x36b4bd['length']):(_0x326a78=_0x36b4bd[_0x4e10d4(0x17b)],_0x325158=_0x58e942['mask']&&_0x58e942[_0x4e10d4(0x25b)]&&!_0x1135e6);let _0x477414=_0x326a78;_0x326a78>=0x10000?(_0x1d1f0c+=0x8,_0x477414=0x7f):_0x326a78>0x7d&&(_0x1d1f0c+=0x2,_0x477414=0x7e);const _0x31b9af=Buffer[_0x4e10d4(0x32d)](_0x325158?_0x326a78+_0x1d1f0c:_0x1d1f0c);return _0x31b9af[0x0]=_0x58e942[_0x4e10d4(0x328)]?_0x58e942[_0x4e10d4(0x2b7)]|0x80:_0x58e942['opcode'],_0x58e942[_0x4e10d4(0x1da)]&&(_0x31b9af[0x0]|=0x40),_0x31b9af[0x1]=_0x477414,_0x477414===0x7e?_0x31b9af['writeUInt16BE'](_0x326a78,0x2):_0x477414===0x7f&&(_0x31b9af[0x2]=_0x31b9af[0x3]=0x0,_0x31b9af[_0x4e10d4(0x1af)](_0x326a78,0x4,0x6)),_0x58e942[_0x4e10d4(0x1f2)]?(_0x31b9af[0x1]|=0x80,_0x31b9af[_0x1d1f0c-0x4]=_0x1000b7[0x0],_0x31b9af[_0x1d1f0c-0x3]=_0x1000b7[0x1],_0x31b9af[_0x1d1f0c-0x2]=_0x1000b7[0x2],_0x31b9af[_0x1d1f0c-0x1]=_0x1000b7[0x3],_0x1135e6?[_0x31b9af,_0x36b4bd]:_0x325158?(_0x293962(_0x36b4bd,_0x1000b7,_0x31b9af,_0x1d1f0c,_0x326a78),[_0x31b9af]):(_0x293962(_0x36b4bd,_0x1000b7,_0x36b4bd,0x0,_0x326a78),[_0x31b9af,_0x36b4bd])):[_0x31b9af,_0x36b4bd];}[_0x4e70d1(0x28f)](_0x158593,_0x5426bd,_0x316d30,_0x36f2fc){const _0x2f62c5=_0x4e70d1;let _0x17a414;if(_0x158593===void 0x0)_0x17a414=_0x401403;else{if(typeof _0x158593!=_0x2f62c5(0x25e)||!_0x1f995f(_0x158593))throw new TypeError(_0x2f62c5(0x2d4));if(_0x5426bd===void 0x0||!_0x5426bd[_0x2f62c5(0x17b)])_0x17a414=Buffer[_0x2f62c5(0x32d)](0x2),_0x17a414[_0x2f62c5(0x282)](_0x158593,0x0);else{const _0x206b5b=Buffer['byteLength'](_0x5426bd);if(_0x206b5b>0x7b)throw new RangeError(_0x2f62c5(0x21e));_0x17a414=Buffer[_0x2f62c5(0x32d)](0x2+_0x206b5b),_0x17a414['writeUInt16BE'](_0x158593,0x0),typeof _0x5426bd==_0x2f62c5(0x18b)?_0x17a414['write'](_0x5426bd,0x2):_0x17a414[_0x2f62c5(0x1e4)](_0x5426bd,0x2);}}const _0x15e8b2={[_0x5dd839]:_0x17a414[_0x2f62c5(0x17b)],'fin':!0x0,'generateMask':this[_0x2f62c5(0x30f)],'mask':_0x316d30,'maskBuffer':this[_0x2f62c5(0x23e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x371db3?this['enqueue']([this['dispatch'],_0x17a414,!0x1,_0x15e8b2,_0x36f2fc]):this['sendFrame'](_0x4f576b[_0x2f62c5(0x20a)](_0x17a414,_0x15e8b2),_0x36f2fc);}[_0x4e70d1(0x1aa)](_0x6341c2,_0x1a27c2,_0x1db0bd){const _0xb96b01=_0x4e70d1;let _0x1ff12d,_0x33e4fd;if(typeof _0x6341c2==_0xb96b01(0x18b)?(_0x1ff12d=Buffer[_0xb96b01(0x2ed)](_0x6341c2),_0x33e4fd=!0x1):_0x5d0e44(_0x6341c2)?(_0x1ff12d=_0x6341c2[_0xb96b01(0x281)],_0x33e4fd=!0x1):(_0x6341c2=_0xf1b6b(_0x6341c2),_0x1ff12d=_0x6341c2[_0xb96b01(0x17b)],_0x33e4fd=_0xf1b6b['readOnly']),_0x1ff12d>0x7d)throw new RangeError(_0xb96b01(0x1bd));const _0x1f7c15={[_0x5dd839]:_0x1ff12d,'fin':!0x0,'generateMask':this[_0xb96b01(0x30f)],'mask':_0x1a27c2,'maskBuffer':this[_0xb96b01(0x23e)],'opcode':0x9,'readOnly':_0x33e4fd,'rsv1':!0x1};_0x5d0e44(_0x6341c2)?this[_0xb96b01(0x2ac)]!==_0x371db3?this['enqueue']([this[_0xb96b01(0x29f)],_0x6341c2,!0x1,_0x1f7c15,_0x1db0bd]):this[_0xb96b01(0x29f)](_0x6341c2,!0x1,_0x1f7c15,_0x1db0bd):this[_0xb96b01(0x2ac)]!==_0x371db3?this['enqueue']([this['dispatch'],_0x6341c2,!0x1,_0x1f7c15,_0x1db0bd]):this[_0xb96b01(0x245)](_0x4f576b['frame'](_0x6341c2,_0x1f7c15),_0x1db0bd);}[_0x4e70d1(0x2f5)](_0x32698f,_0x45ffdd,_0x4ece30){const _0x1bc1b9=_0x4e70d1;let _0x3ecd29,_0x2b713d;if(typeof _0x32698f=='string'?(_0x3ecd29=Buffer[_0x1bc1b9(0x2ed)](_0x32698f),_0x2b713d=!0x1):_0x5d0e44(_0x32698f)?(_0x3ecd29=_0x32698f['size'],_0x2b713d=!0x1):(_0x32698f=_0xf1b6b(_0x32698f),_0x3ecd29=_0x32698f[_0x1bc1b9(0x17b)],_0x2b713d=_0xf1b6b[_0x1bc1b9(0x25b)]),_0x3ecd29>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x259ac0={[_0x5dd839]:_0x3ecd29,'fin':!0x0,'generateMask':this[_0x1bc1b9(0x30f)],'mask':_0x45ffdd,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2b713d,'rsv1':!0x1};_0x5d0e44(_0x32698f)?this[_0x1bc1b9(0x2ac)]!==_0x371db3?this[_0x1bc1b9(0x220)]([this[_0x1bc1b9(0x29f)],_0x32698f,!0x1,_0x259ac0,_0x4ece30]):this[_0x1bc1b9(0x29f)](_0x32698f,!0x1,_0x259ac0,_0x4ece30):this[_0x1bc1b9(0x2ac)]!==_0x371db3?this[_0x1bc1b9(0x220)]([this[_0x1bc1b9(0x306)],_0x32698f,!0x1,_0x259ac0,_0x4ece30]):this['sendFrame'](_0x4f576b[_0x1bc1b9(0x20a)](_0x32698f,_0x259ac0),_0x4ece30);}[_0x4e70d1(0x1c1)](_0x43009a,_0x1c361f,_0x3c9169){const _0x49314d=_0x4e70d1,_0x5d0fc8=this[_0x49314d(0x285)][_0x27fb46[_0x49314d(0x1b2)]];let _0x4179d5=_0x1c361f[_0x49314d(0x238)]?0x2:0x1,_0xfc0348=_0x1c361f[_0x49314d(0x27f)],_0x2b033d,_0x464028;typeof _0x43009a==_0x49314d(0x18b)?(_0x2b033d=Buffer[_0x49314d(0x2ed)](_0x43009a),_0x464028=!0x1):_0x5d0e44(_0x43009a)?(_0x2b033d=_0x43009a['size'],_0x464028=!0x1):(_0x43009a=_0xf1b6b(_0x43009a),_0x2b033d=_0x43009a[_0x49314d(0x17b)],_0x464028=_0xf1b6b[_0x49314d(0x25b)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0xfc0348&&_0x5d0fc8&&_0x5d0fc8[_0x49314d(0x2a6)][_0x5d0fc8[_0x49314d(0x2e7)]?_0x49314d(0x1ca):_0x49314d(0x254)]&&(_0xfc0348=_0x2b033d>=_0x5d0fc8[_0x49314d(0x2fe)]),this[_0x49314d(0x1ec)]=_0xfc0348):(_0xfc0348=!0x1,_0x4179d5=0x0),_0x1c361f[_0x49314d(0x328)]&&(this[_0x49314d(0x2a8)]=!0x0);const _0x2ed9b6={[_0x5dd839]:_0x2b033d,'fin':_0x1c361f[_0x49314d(0x328)],'generateMask':this[_0x49314d(0x30f)],'mask':_0x1c361f['mask'],'maskBuffer':this[_0x49314d(0x23e)],'opcode':_0x4179d5,'readOnly':_0x464028,'rsv1':_0xfc0348};_0x5d0e44(_0x43009a)?this[_0x49314d(0x2ac)]!==_0x371db3?this['enqueue']([this[_0x49314d(0x29f)],_0x43009a,this[_0x49314d(0x1ec)],_0x2ed9b6,_0x3c9169]):this[_0x49314d(0x29f)](_0x43009a,this[_0x49314d(0x1ec)],_0x2ed9b6,_0x3c9169):this[_0x49314d(0x2ac)]!==_0x371db3?this[_0x49314d(0x220)]([this['dispatch'],_0x43009a,this[_0x49314d(0x1ec)],_0x2ed9b6,_0x3c9169]):this['dispatch'](_0x43009a,this['_compress'],_0x2ed9b6,_0x3c9169);}[_0x4e70d1(0x29f)](_0x46d8f9,_0x1f6a53,_0x5bbf37,_0x20c468){const _0x185609=_0x4e70d1;this[_0x185609(0x25f)]+=_0x5bbf37[_0x5dd839],this[_0x185609(0x2ac)]=_0x2b7496,_0x46d8f9[_0x185609(0x266)]()[_0x185609(0x2f9)](_0x456de9=>{const _0x3b32bc=_0x185609;if(this['_socket']['destroyed']){const _0x4603df=new Error(_0x3b32bc(0x270));process[_0x3b32bc(0x1ff)](_0x59d0f1,this,_0x4603df,_0x20c468);return;}this[_0x3b32bc(0x25f)]-=_0x5bbf37[_0x5dd839];const _0x2faeda=_0xf1b6b(_0x456de9);_0x1f6a53?this[_0x3b32bc(0x306)](_0x2faeda,_0x1f6a53,_0x5bbf37,_0x20c468):(this[_0x3b32bc(0x2ac)]=_0x371db3,this[_0x3b32bc(0x245)](_0x4f576b[_0x3b32bc(0x20a)](_0x2faeda,_0x5bbf37),_0x20c468),this[_0x3b32bc(0x24b)]());})[_0x185609(0x33c)](_0x2c4033=>{const _0x52ac81=_0x185609;process[_0x52ac81(0x1ff)](_0x3302a2,this,_0x2c4033,_0x20c468);});}[_0x4e70d1(0x306)](_0x10a200,_0x256312,_0x20a9b0,_0x309e48){const _0x52015c=_0x4e70d1;if(!_0x256312){this[_0x52015c(0x245)](_0x4f576b[_0x52015c(0x20a)](_0x10a200,_0x20a9b0),_0x309e48);return;}const _0x1e96db=this[_0x52015c(0x285)][_0x27fb46[_0x52015c(0x1b2)]];this[_0x52015c(0x25f)]+=_0x20a9b0[_0x5dd839],this[_0x52015c(0x2ac)]=_0x11b3a4,_0x1e96db[_0x52015c(0x27f)](_0x10a200,_0x20a9b0[_0x52015c(0x328)],(_0xdffa9c,_0x2bd239)=>{const _0x4fc5e7=_0x52015c;if(this['_socket'][_0x4fc5e7(0x23a)]){const _0x45a83f=new Error(_0x4fc5e7(0x1b0));_0x59d0f1(this,_0x45a83f,_0x309e48);return;}this[_0x4fc5e7(0x25f)]-=_0x20a9b0[_0x5dd839],this[_0x4fc5e7(0x2ac)]=_0x371db3,_0x20a9b0[_0x4fc5e7(0x25b)]=!0x1,this[_0x4fc5e7(0x245)](_0x4f576b[_0x4fc5e7(0x20a)](_0x2bd239,_0x20a9b0),_0x309e48),this[_0x4fc5e7(0x24b)]();});}[_0x4e70d1(0x24b)](){const _0x125ce1=_0x4e70d1;for(;this[_0x125ce1(0x2ac)]===_0x371db3&&this['_queue'][_0x125ce1(0x17b)];){const _0x3ecf20=this[_0x125ce1(0x2e6)][_0x125ce1(0x1a8)]();this[_0x125ce1(0x25f)]-=_0x3ecf20[0x3][_0x5dd839],Reflect['apply'](_0x3ecf20[0x0],this,_0x3ecf20[_0x125ce1(0x2ba)](0x1));}}[_0x4e70d1(0x220)](_0x1b63ad){const _0x4d73ca=_0x4e70d1;this[_0x4d73ca(0x25f)]+=_0x1b63ad[0x3][_0x5dd839],this[_0x4d73ca(0x2e6)][_0x4d73ca(0x273)](_0x1b63ad);}['sendFrame'](_0x5c9007,_0x48de28){const _0x55e407=_0x4e70d1;_0x5c9007[_0x55e407(0x17b)]===0x2?(this[_0x55e407(0x2a2)][_0x55e407(0x212)](),this[_0x55e407(0x2a2)][_0x55e407(0x2e9)](_0x5c9007[0x0]),this[_0x55e407(0x2a2)][_0x55e407(0x2e9)](_0x5c9007[0x1],_0x48de28),this[_0x55e407(0x2a2)]['uncork']()):this[_0x55e407(0x2a2)]['write'](_0x5c9007[0x0],_0x48de28);}}Ee=_0x4f576b;function _0x59d0f1(_0x3b87aa,_0x184a27,_0x3600b9){const _0x4918ce=_0x4e70d1;typeof _0x3600b9==_0x4918ce(0x1f7)&&_0x3600b9(_0x184a27);for(let _0x2e7989=0x0;_0x2e7989<_0x3b87aa[_0x4918ce(0x2e6)][_0x4918ce(0x17b)];_0x2e7989++){const _0x5c351d=_0x3b87aa['_queue'][_0x2e7989],_0x514422=_0x5c351d[_0x5c351d[_0x4918ce(0x17b)]-0x1];typeof _0x514422==_0x4918ce(0x1f7)&&_0x514422(_0x184a27);}}function _0x3302a2(_0xc7974a,_0x4f145f,_0x445602){const _0x1b1ff8=_0x4e70d1;_0x59d0f1(_0xc7974a,_0x4f145f,_0x445602),_0xc7974a[_0x1b1ff8(0x2e2)](_0x4f145f);}return Ee;}var xe,Ze;function It(){const _0x8dcba6=_0x4ec5cf;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x22d1e0,kListener:_0x9fa05d}=H(),_0x488edb=Symbol(_0x8dcba6(0x1fa)),_0x43807a=Symbol('kData'),_0x3e5b3e=Symbol(_0x8dcba6(0x2d0)),_0x2ef1ee=Symbol('kMessage'),_0x1f6ae7=Symbol('kReason'),_0x45b3be=Symbol(_0x8dcba6(0x271)),_0x5ab046=Symbol(_0x8dcba6(0x1f3)),_0x591dc7=Symbol(_0x8dcba6(0x193));class _0x249788{constructor(_0x5679fa){this[_0x45b3be]=null,this[_0x5ab046]=_0x5679fa;}get['target'](){return this[_0x45b3be];}get[_0x8dcba6(0x1ed)](){return this[_0x5ab046];}}Object[_0x8dcba6(0x2ff)](_0x249788[_0x8dcba6(0x2d2)],'target',{'enumerable':!0x0}),Object[_0x8dcba6(0x2ff)](_0x249788[_0x8dcba6(0x2d2)],_0x8dcba6(0x1ed),{'enumerable':!0x0});class _0x55f85e extends _0x249788{constructor(_0x2598c1,_0x13c65c={}){const _0x210561=_0x8dcba6;super(_0x2598c1),this[_0x488edb]=_0x13c65c[_0x210561(0x1f1)]===void 0x0?0x0:_0x13c65c[_0x210561(0x1f1)],this[_0x1f6ae7]=_0x13c65c['reason']===void 0x0?'':_0x13c65c[_0x210561(0x2ca)],this[_0x591dc7]=_0x13c65c['wasClean']===void 0x0?!0x1:_0x13c65c[_0x210561(0x2df)];}get[_0x8dcba6(0x1f1)](){return this[_0x488edb];}get['reason'](){return this[_0x1f6ae7];}get[_0x8dcba6(0x2df)](){return this[_0x591dc7];}}Object[_0x8dcba6(0x2ff)](_0x55f85e[_0x8dcba6(0x2d2)],_0x8dcba6(0x1f1),{'enumerable':!0x0}),Object[_0x8dcba6(0x2ff)](_0x55f85e[_0x8dcba6(0x2d2)],_0x8dcba6(0x2ca),{'enumerable':!0x0}),Object[_0x8dcba6(0x2ff)](_0x55f85e[_0x8dcba6(0x2d2)],_0x8dcba6(0x2df),{'enumerable':!0x0});class _0x494bda extends _0x249788{constructor(_0x377f28,_0x42b37d={}){const _0x5b833e=_0x8dcba6;super(_0x377f28),this[_0x3e5b3e]=_0x42b37d[_0x5b833e(0x27c)]===void 0x0?null:_0x42b37d[_0x5b833e(0x27c)],this[_0x2ef1ee]=_0x42b37d[_0x5b833e(0x214)]===void 0x0?'':_0x42b37d[_0x5b833e(0x214)];}get[_0x8dcba6(0x27c)](){return this[_0x3e5b3e];}get[_0x8dcba6(0x214)](){return this[_0x2ef1ee];}}Object['defineProperty'](_0x494bda[_0x8dcba6(0x2d2)],_0x8dcba6(0x27c),{'enumerable':!0x0}),Object[_0x8dcba6(0x2ff)](_0x494bda[_0x8dcba6(0x2d2)],_0x8dcba6(0x214),{'enumerable':!0x0});class _0x1865f4 extends _0x249788{constructor(_0x3234b9,_0x515191={}){const _0x2abf57=_0x8dcba6;super(_0x3234b9),this[_0x43807a]=_0x515191[_0x2abf57(0x292)]===void 0x0?null:_0x515191[_0x2abf57(0x292)];}get[_0x8dcba6(0x292)](){return this[_0x43807a];}}Object[_0x8dcba6(0x2ff)](_0x1865f4['prototype'],_0x8dcba6(0x292),{'enumerable':!0x0}),xe={'CloseEvent':_0x55f85e,'ErrorEvent':_0x494bda,'Event':_0x249788,'EventTarget':{'addEventListener'(_0x42f4f3,_0x4048bf,_0x4cb5d8={}){const _0x54e5e8=_0x8dcba6;for(const _0x29ef1c of this[_0x54e5e8(0x188)](_0x42f4f3))if(!_0x4cb5d8[_0x22d1e0]&&_0x29ef1c[_0x9fa05d]===_0x4048bf&&!_0x29ef1c[_0x22d1e0])return;let _0x265bc6;if(_0x42f4f3===_0x54e5e8(0x214))_0x265bc6=function(_0xed36a4,_0x566a5b){const _0x2b5ddb=new _0x1865f4('message',{'data':_0x566a5b?_0xed36a4:_0xed36a4['toString']()});_0x2b5ddb[_0x45b3be]=this,_0x230a2d(_0x4048bf,this,_0x2b5ddb);};else{if(_0x42f4f3===_0x54e5e8(0x28f))_0x265bc6=function(_0x4e0645,_0x548f82){const _0x132536=_0x54e5e8,_0x17fd17=new _0x55f85e(_0x132536(0x28f),{'code':_0x4e0645,'reason':_0x548f82[_0x132536(0x318)](),'wasClean':this['_closeFrameReceived']&&this[_0x132536(0x2b8)]});_0x17fd17[_0x45b3be]=this,_0x230a2d(_0x4048bf,this,_0x17fd17);};else{if(_0x42f4f3===_0x54e5e8(0x27c))_0x265bc6=function(_0x4750a4){const _0x1d3ceb=_0x54e5e8,_0x18de45=new _0x494bda(_0x1d3ceb(0x27c),{'error':_0x4750a4,'message':_0x4750a4['message']});_0x18de45[_0x45b3be]=this,_0x230a2d(_0x4048bf,this,_0x18de45);};else{if(_0x42f4f3===_0x54e5e8(0x237))_0x265bc6=function(){const _0x2f2d63=_0x54e5e8,_0x175456=new _0x249788(_0x2f2d63(0x237));_0x175456[_0x45b3be]=this,_0x230a2d(_0x4048bf,this,_0x175456);};else return;}}}_0x265bc6[_0x22d1e0]=!!_0x4cb5d8[_0x22d1e0],_0x265bc6[_0x9fa05d]=_0x4048bf,_0x4cb5d8['once']?this[_0x54e5e8(0x232)](_0x42f4f3,_0x265bc6):this['on'](_0x42f4f3,_0x265bc6);},'removeEventListener'(_0x3b96c3,_0x2dad98){const _0x18882a=_0x8dcba6;for(const _0x138751 of this[_0x18882a(0x188)](_0x3b96c3))if(_0x138751[_0x9fa05d]===_0x2dad98&&!_0x138751[_0x22d1e0]){this[_0x18882a(0x1a4)](_0x3b96c3,_0x138751);break;}}},'MessageEvent':_0x1865f4};function _0x230a2d(_0x32c243,_0x4602fb,_0x33e6ac){const _0x39b978=_0x8dcba6;typeof _0x32c243==_0x39b978(0x274)&&_0x32c243[_0x39b978(0x2c9)]?_0x32c243[_0x39b978(0x2c9)]['call'](_0x32c243,_0x33e6ac):_0x32c243[_0x39b978(0x321)](_0x4602fb,_0x33e6ac);}return xe;}var be,Qe;function _0x4bf3(_0x473031,_0x2f1e24){_0x473031=_0x473031-0x17a;const _0x17e86d=_0x17e8();let _0x4bf363=_0x17e86d[_0x473031];return _0x4bf363;}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x36b648}=ae();function _0x5c1743(_0x578c52,_0x5c0d68,_0xfe40b2){const _0x32aff9=_0x4bf3;_0x578c52[_0x5c0d68]===void 0x0?_0x578c52[_0x5c0d68]=[_0xfe40b2]:_0x578c52[_0x5c0d68][_0x32aff9(0x273)](_0xfe40b2);}function _0x22aef0(_0x589b0){const _0xfcb35f=_0x4bf3,_0x272c41=Object[_0xfcb35f(0x19d)](null);let _0x863ca2=Object[_0xfcb35f(0x19d)](null),_0x10fb98=!0x1,_0x4bc75c=!0x1,_0x1d2f4c=!0x1,_0x51452b,_0x394335,_0x48bd98=-0x1,_0x26f200=-0x1,_0x22b7ca=-0x1,_0x21a0d4=0x0;for(;_0x21a0d4<_0x589b0[_0xfcb35f(0x17b)];_0x21a0d4++)if(_0x26f200=_0x589b0[_0xfcb35f(0x1d7)](_0x21a0d4),_0x51452b===void 0x0){if(_0x22b7ca===-0x1&&_0x36b648[_0x26f200]===0x1)_0x48bd98===-0x1&&(_0x48bd98=_0x21a0d4);else{if(_0x21a0d4!==0x0&&(_0x26f200===0x20||_0x26f200===0x9))_0x22b7ca===-0x1&&_0x48bd98!==-0x1&&(_0x22b7ca=_0x21a0d4);else{if(_0x26f200===0x3b||_0x26f200===0x2c){if(_0x48bd98===-0x1)throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4);const _0x1cf925=_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x22b7ca);_0x26f200===0x2c?(_0x5c1743(_0x272c41,_0x1cf925,_0x863ca2),_0x863ca2=Object[_0xfcb35f(0x19d)](null)):_0x51452b=_0x1cf925,_0x48bd98=_0x22b7ca=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a0d4);}}}else{if(_0x394335===void 0x0){if(_0x22b7ca===-0x1&&_0x36b648[_0x26f200]===0x1)_0x48bd98===-0x1&&(_0x48bd98=_0x21a0d4);else{if(_0x26f200===0x20||_0x26f200===0x9)_0x22b7ca===-0x1&&_0x48bd98!==-0x1&&(_0x22b7ca=_0x21a0d4);else{if(_0x26f200===0x3b||_0x26f200===0x2c){if(_0x48bd98===-0x1)throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4),_0x5c1743(_0x863ca2,_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x22b7ca),!0x0),_0x26f200===0x2c&&(_0x5c1743(_0x272c41,_0x51452b,_0x863ca2),_0x863ca2=Object[_0xfcb35f(0x19d)](null),_0x51452b=void 0x0),_0x48bd98=_0x22b7ca=-0x1;}else{if(_0x26f200===0x3d&&_0x48bd98!==-0x1&&_0x22b7ca===-0x1)_0x394335=_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x21a0d4),_0x48bd98=_0x22b7ca=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a0d4);}}}}else{if(_0x4bc75c){if(_0x36b648[_0x26f200]!==0x1)throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);_0x48bd98===-0x1?_0x48bd98=_0x21a0d4:_0x10fb98||(_0x10fb98=!0x0),_0x4bc75c=!0x1;}else{if(_0x1d2f4c){if(_0x36b648[_0x26f200]===0x1)_0x48bd98===-0x1&&(_0x48bd98=_0x21a0d4);else{if(_0x26f200===0x22&&_0x48bd98!==-0x1)_0x1d2f4c=!0x1,_0x22b7ca=_0x21a0d4;else{if(_0x26f200===0x5c)_0x4bc75c=!0x0;else throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);}}}else{if(_0x26f200===0x22&&_0x589b0[_0xfcb35f(0x1d7)](_0x21a0d4-0x1)===0x3d)_0x1d2f4c=!0x0;else{if(_0x22b7ca===-0x1&&_0x36b648[_0x26f200]===0x1)_0x48bd98===-0x1&&(_0x48bd98=_0x21a0d4);else{if(_0x48bd98!==-0x1&&(_0x26f200===0x20||_0x26f200===0x9))_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4);else{if(_0x26f200===0x3b||_0x26f200===0x2c){if(_0x48bd98===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a0d4);_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4);let _0x1b8db6=_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x22b7ca);_0x10fb98&&(_0x1b8db6=_0x1b8db6['replace'](/\\/g,''),_0x10fb98=!0x1),_0x5c1743(_0x863ca2,_0x394335,_0x1b8db6),_0x26f200===0x2c&&(_0x5c1743(_0x272c41,_0x51452b,_0x863ca2),_0x863ca2=Object['create'](null),_0x51452b=void 0x0),_0x394335=void 0x0,_0x48bd98=_0x22b7ca=-0x1;}else throw new SyntaxError(_0xfcb35f(0x183)+_0x21a0d4);}}}}}}}if(_0x48bd98===-0x1||_0x1d2f4c||_0x26f200===0x20||_0x26f200===0x9)throw new SyntaxError(_0xfcb35f(0x308));_0x22b7ca===-0x1&&(_0x22b7ca=_0x21a0d4);const _0x28bfc7=_0x589b0[_0xfcb35f(0x2ba)](_0x48bd98,_0x22b7ca);return _0x51452b===void 0x0?_0x5c1743(_0x272c41,_0x28bfc7,_0x863ca2):(_0x394335===void 0x0?_0x5c1743(_0x863ca2,_0x28bfc7,!0x0):_0x10fb98?_0x5c1743(_0x863ca2,_0x394335,_0x28bfc7['replace'](/\\/g,'')):_0x5c1743(_0x863ca2,_0x394335,_0x28bfc7),_0x5c1743(_0x272c41,_0x51452b,_0x863ca2)),_0x272c41;}function _0x1ded33(_0x39ccb5){const _0x4ece17=_0x4bf3;return Object[_0x4ece17(0x228)](_0x39ccb5)[_0x4ece17(0x225)](_0x195643=>{const _0x3295b0=_0x4ece17;let _0x3fee52=_0x39ccb5[_0x195643];return Array[_0x3295b0(0x17a)](_0x3fee52)||(_0x3fee52=[_0x3fee52]),_0x3fee52[_0x3295b0(0x225)](_0x30f9f6=>[_0x195643][_0x3295b0(0x1b7)](Object[_0x3295b0(0x228)](_0x30f9f6)[_0x3295b0(0x225)](_0x6dad06=>{const _0x2ba400=_0x3295b0;let _0x304e1b=_0x30f9f6[_0x6dad06];return Array[_0x2ba400(0x17a)](_0x304e1b)||(_0x304e1b=[_0x304e1b]),_0x304e1b[_0x2ba400(0x225)](_0x5af5f3=>_0x5af5f3===!0x0?_0x6dad06:_0x6dad06+'='+_0x5af5f3)[_0x2ba400(0x216)](';\x20');}))['join'](';\x20'))[_0x3295b0(0x216)](',\x20');})[_0x4ece17(0x216)](',\x20');}return be={'format':_0x1ded33,'parse':_0x22aef0},be;}var we,Je;function Pe(){const _0x5aa809=_0x4ec5cf;if(Je)return we;Je=0x1;const _0xe24f04=nt,_0x50666c=vt,_0x36013b=ot,_0x5e9abf=St,_0x485167=Et,{randomBytes:_0x3362d3,createHash:_0x405429}=Le,{Duplex:_0x11ff49,Readable:_0x26e446}=oe,{URL:_0x3f6b1f}=xt,_0x3be390=he(),_0x368c2b=lt(),_0x13c69f=ft(),{isBlob:_0x3c57b7}=ae(),{BINARY_TYPES:_0x56a006,EMPTY_BUFFER:_0xe0c0d6,GUID:_0x394d9b,kForOnEventAttribute:_0x1ade3c,kListener:_0x36c63e,kStatusCode:_0x5c7d09,kWebSocket:_0x23e9f8,NOOP:_0x2bc9ce}=H(),{EventTarget:{addEventListener:_0x17b7d2,removeEventListener:_0x16c075}}=It(),{format:_0xe1969f,parse:_0x227e6f}=ct(),{toBuffer:_0x63ebb3}=ce(),_0x27a3dd=0x1e*0x3e8,_0x22d3a3=Symbol(_0x5aa809(0x1cd)),_0x3fa99b=[0x8,0xd],_0x4507ef=['CONNECTING',_0x5aa809(0x192),_0x5aa809(0x239),'CLOSED'],_0x2a60d8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x45a605 extends _0xe24f04{constructor(_0x4971f7,_0x306b3a,_0xb49d38){const _0x193eec=_0x5aa809;super(),this[_0x193eec(0x1cc)]=_0x56a006[0x0],this['_closeCode']=0x3ee,this[_0x193eec(0x1c8)]=!0x1,this[_0x193eec(0x2b8)]=!0x1,this[_0x193eec(0x2a0)]=_0xe0c0d6,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x193eec(0x285)]={},this[_0x193eec(0x22e)]=!0x1,this[_0x193eec(0x248)]='',this[_0x193eec(0x2d9)]=_0x45a605[_0x193eec(0x30b)],this[_0x193eec(0x1e1)]=null,this[_0x193eec(0x1b4)]=null,this[_0x193eec(0x2a2)]=null,_0x4971f7!==null?(this[_0x193eec(0x1ea)]=0x0,this[_0x193eec(0x2e7)]=!0x1,this[_0x193eec(0x1d8)]=0x0,_0x306b3a===void 0x0?_0x306b3a=[]:Array[_0x193eec(0x17a)](_0x306b3a)||(typeof _0x306b3a==_0x193eec(0x274)&&_0x306b3a!==null?(_0xb49d38=_0x306b3a,_0x306b3a=[]):_0x306b3a=[_0x306b3a]),_0x9fecf3(this,_0x4971f7,_0x306b3a,_0xb49d38)):(this[_0x193eec(0x1d6)]=_0xb49d38[_0x193eec(0x26e)],this[_0x193eec(0x2e7)]=!0x0);}get[_0x5aa809(0x1ce)](){const _0x1373a1=_0x5aa809;return this[_0x1373a1(0x1cc)];}set[_0x5aa809(0x1ce)](_0x2bb18f){const _0x224e5d=_0x5aa809;_0x56a006[_0x224e5d(0x28e)](_0x2bb18f)&&(this[_0x224e5d(0x1cc)]=_0x2bb18f,this['_receiver']&&(this['_receiver'][_0x224e5d(0x1cc)]=_0x2bb18f));}get['bufferedAmount'](){const _0x123ef6=_0x5aa809;return this[_0x123ef6(0x2a2)]?this['_socket']['_writableState']['length']+this[_0x123ef6(0x1b4)][_0x123ef6(0x25f)]:this[_0x123ef6(0x1ea)];}get[_0x5aa809(0x2f3)](){const _0xbd1a02=_0x5aa809;return Object[_0xbd1a02(0x228)](this[_0xbd1a02(0x285)])[_0xbd1a02(0x216)]();}get['isPaused'](){const _0x3589f7=_0x5aa809;return this[_0x3589f7(0x22e)];}get[_0x5aa809(0x185)](){return null;}get[_0x5aa809(0x2e2)](){return null;}get[_0x5aa809(0x1dc)](){return null;}get['onmessage'](){return null;}get[_0x5aa809(0x2e0)](){return this['_protocol'];}get[_0x5aa809(0x299)](){return this['_readyState'];}get[_0x5aa809(0x1a7)](){const _0x1682f9=_0x5aa809;return this[_0x1682f9(0x17f)];}['setSocket'](_0x59f180,_0x47deb3,_0x20da2c){const _0x2233cf=_0x5aa809,_0x460246=new _0x368c2b({'allowSynchronousEvents':_0x20da2c[_0x2233cf(0x307)],'binaryType':this[_0x2233cf(0x1ce)],'extensions':this[_0x2233cf(0x285)],'isServer':this[_0x2233cf(0x2e7)],'maxPayload':_0x20da2c[_0x2233cf(0x317)],'skipUTF8Validation':_0x20da2c[_0x2233cf(0x23b)]}),_0x726951=new _0x13c69f(_0x59f180,this[_0x2233cf(0x285)],_0x20da2c['generateMask']);this[_0x2233cf(0x1e1)]=_0x460246,this[_0x2233cf(0x1b4)]=_0x726951,this[_0x2233cf(0x2a2)]=_0x59f180,_0x460246[_0x23e9f8]=this,_0x726951[_0x23e9f8]=this,_0x59f180[_0x23e9f8]=this,_0x460246['on']('conclude',_0x44a1ce),_0x460246['on'](_0x2233cf(0x31e),_0x5cda9b),_0x460246['on'](_0x2233cf(0x27c),_0x54d609),_0x460246['on'](_0x2233cf(0x214),_0x3e9bdf),_0x460246['on'](_0x2233cf(0x1aa),_0x53a8b6),_0x460246['on'](_0x2233cf(0x2f5),_0x270f1d),_0x726951[_0x2233cf(0x2e2)]=_0x4abb30,_0x59f180[_0x2233cf(0x336)]&&_0x59f180[_0x2233cf(0x336)](0x0),_0x59f180[_0x2233cf(0x1b1)]&&_0x59f180[_0x2233cf(0x1b1)](),_0x47deb3[_0x2233cf(0x17b)]>0x0&&_0x59f180[_0x2233cf(0x303)](_0x47deb3),_0x59f180['on'](_0x2233cf(0x28f),_0x4f5fa4),_0x59f180['on'](_0x2233cf(0x292),_0xf69320),_0x59f180['on'](_0x2233cf(0x1a9),_0xf2ba17),_0x59f180['on']('error',_0x299268),this[_0x2233cf(0x2d9)]=_0x45a605['OPEN'],this[_0x2233cf(0x209)](_0x2233cf(0x237));}[_0x5aa809(0x22c)](){const _0xcedc44=_0x5aa809;if(!this['_socket']){this['_readyState']=_0x45a605['CLOSED'],this[_0xcedc44(0x209)]('close',this[_0xcedc44(0x23d)],this[_0xcedc44(0x2a0)]);return;}this[_0xcedc44(0x285)][_0x3be390['extensionName']]&&this[_0xcedc44(0x285)][_0x3be390[_0xcedc44(0x1b2)]]['cleanup'](),this[_0xcedc44(0x1e1)]['removeAllListeners'](),this['_readyState']=_0x45a605[_0xcedc44(0x221)],this['emit'](_0xcedc44(0x28f),this[_0xcedc44(0x23d)],this[_0xcedc44(0x2a0)]);}[_0x5aa809(0x28f)](_0x2b359a,_0x34a618){const _0x3b64bd=_0x5aa809;if(this[_0x3b64bd(0x299)]!==_0x45a605[_0x3b64bd(0x221)]){if(this[_0x3b64bd(0x299)]===_0x45a605[_0x3b64bd(0x30b)]){_0x1bfe3a(this,this['_req'],_0x3b64bd(0x290));return;}if(this[_0x3b64bd(0x299)]===_0x45a605[_0x3b64bd(0x239)]){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x3b64bd(0x1e1)]['_writableState'][_0x3b64bd(0x334)])&&this[_0x3b64bd(0x2a2)][_0x3b64bd(0x1a9)]();return;}this['_readyState']=_0x45a605[_0x3b64bd(0x239)],this['_sender'][_0x3b64bd(0x28f)](_0x2b359a,_0x34a618,!this[_0x3b64bd(0x2e7)],_0x4e325e=>{const _0x4a8739=_0x3b64bd;_0x4e325e||(this[_0x4a8739(0x2b8)]=!0x0,(this['_closeFrameReceived']||this[_0x4a8739(0x1e1)]['_writableState'][_0x4a8739(0x334)])&&this['_socket'][_0x4a8739(0x1a9)]());}),_0x1d2345(this);}}[_0x5aa809(0x29d)](){const _0x47976c=_0x5aa809;this[_0x47976c(0x299)]===_0x45a605['CONNECTING']||this[_0x47976c(0x299)]===_0x45a605[_0x47976c(0x221)]||(this[_0x47976c(0x22e)]=!0x0,this['_socket'][_0x47976c(0x29d)]());}['ping'](_0x174cda,_0xb50b50,_0x589522){const _0x19fbf4=_0x5aa809;if(this['readyState']===_0x45a605[_0x19fbf4(0x30b)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x174cda=='function'?(_0x589522=_0x174cda,_0x174cda=_0xb50b50=void 0x0):typeof _0xb50b50==_0x19fbf4(0x1f7)&&(_0x589522=_0xb50b50,_0xb50b50=void 0x0),typeof _0x174cda=='number'&&(_0x174cda=_0x174cda['toString']()),this[_0x19fbf4(0x299)]!==_0x45a605['OPEN']){_0x508639(this,_0x174cda,_0x589522);return;}_0xb50b50===void 0x0&&(_0xb50b50=!this[_0x19fbf4(0x2e7)]),this[_0x19fbf4(0x1b4)]['ping'](_0x174cda||_0xe0c0d6,_0xb50b50,_0x589522);}[_0x5aa809(0x2f5)](_0x32106f,_0x13b9e2,_0x42b25a){const _0x150bdc=_0x5aa809;if(this['readyState']===_0x45a605[_0x150bdc(0x30b)])throw new Error(_0x150bdc(0x2fd));if(typeof _0x32106f==_0x150bdc(0x1f7)?(_0x42b25a=_0x32106f,_0x32106f=_0x13b9e2=void 0x0):typeof _0x13b9e2==_0x150bdc(0x1f7)&&(_0x42b25a=_0x13b9e2,_0x13b9e2=void 0x0),typeof _0x32106f==_0x150bdc(0x25e)&&(_0x32106f=_0x32106f[_0x150bdc(0x318)]()),this[_0x150bdc(0x299)]!==_0x45a605[_0x150bdc(0x192)]){_0x508639(this,_0x32106f,_0x42b25a);return;}_0x13b9e2===void 0x0&&(_0x13b9e2=!this[_0x150bdc(0x2e7)]),this[_0x150bdc(0x1b4)][_0x150bdc(0x2f5)](_0x32106f||_0xe0c0d6,_0x13b9e2,_0x42b25a);}['resume'](){const _0x2b9672=_0x5aa809;this[_0x2b9672(0x299)]===_0x45a605[_0x2b9672(0x30b)]||this[_0x2b9672(0x299)]===_0x45a605['CLOSED']||(this[_0x2b9672(0x22e)]=!0x1,this[_0x2b9672(0x1e1)][_0x2b9672(0x19b)][_0x2b9672(0x1c6)]||this['_socket']['resume']());}[_0x5aa809(0x1c1)](_0x16b19c,_0x5903ed,_0xf4b969){const _0x42bb46=_0x5aa809;if(this['readyState']===_0x45a605[_0x42bb46(0x30b)])throw new Error(_0x42bb46(0x2fd));if(typeof _0x5903ed==_0x42bb46(0x1f7)&&(_0xf4b969=_0x5903ed,_0x5903ed={}),typeof _0x16b19c==_0x42bb46(0x25e)&&(_0x16b19c=_0x16b19c['toString']()),this[_0x42bb46(0x299)]!==_0x45a605[_0x42bb46(0x192)]){_0x508639(this,_0x16b19c,_0xf4b969);return;}const _0x4c387c={'binary':typeof _0x16b19c!=_0x42bb46(0x18b),'mask':!this[_0x42bb46(0x2e7)],'compress':!0x0,'fin':!0x0,..._0x5903ed};this['_extensions'][_0x3be390[_0x42bb46(0x1b2)]]||(_0x4c387c['compress']=!0x1),this[_0x42bb46(0x1b4)][_0x42bb46(0x1c1)](_0x16b19c||_0xe0c0d6,_0x4c387c,_0xf4b969);}['terminate'](){const _0x13ade1=_0x5aa809;if(this[_0x13ade1(0x299)]!==_0x45a605[_0x13ade1(0x221)]){if(this['readyState']===_0x45a605[_0x13ade1(0x30b)]){_0x1bfe3a(this,this[_0x13ade1(0x1f6)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x13ade1(0x2a2)]&&(this[_0x13ade1(0x2d9)]=_0x45a605['CLOSING'],this[_0x13ade1(0x2a2)][_0x13ade1(0x24a)]());}}}Object[_0x5aa809(0x2ff)](_0x45a605,_0x5aa809(0x30b),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)](_0x5aa809(0x30b))}),Object['defineProperty'](_0x45a605['prototype'],_0x5aa809(0x30b),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)](_0x5aa809(0x30b))}),Object[_0x5aa809(0x2ff)](_0x45a605,'OPEN',{'enumerable':!0x0,'value':_0x4507ef['indexOf']('OPEN')}),Object[_0x5aa809(0x2ff)](_0x45a605['prototype'],_0x5aa809(0x192),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)]('OPEN')}),Object[_0x5aa809(0x2ff)](_0x45a605,'CLOSING',{'enumerable':!0x0,'value':_0x4507ef['indexOf'](_0x5aa809(0x239))}),Object['defineProperty'](_0x45a605[_0x5aa809(0x2d2)],_0x5aa809(0x239),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)]('CLOSING')}),Object[_0x5aa809(0x2ff)](_0x45a605,_0x5aa809(0x221),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)](_0x5aa809(0x221))}),Object[_0x5aa809(0x2ff)](_0x45a605['prototype'],_0x5aa809(0x221),{'enumerable':!0x0,'value':_0x4507ef[_0x5aa809(0x222)](_0x5aa809(0x221))}),['binaryType','bufferedAmount',_0x5aa809(0x2f3),_0x5aa809(0x2d3),'protocol',_0x5aa809(0x299),_0x5aa809(0x1a7)]['forEach'](_0x473812=>{const _0x115dbe=_0x5aa809;Object[_0x115dbe(0x2ff)](_0x45a605[_0x115dbe(0x2d2)],_0x473812,{'enumerable':!0x0});}),[_0x5aa809(0x237),_0x5aa809(0x27c),_0x5aa809(0x28f),_0x5aa809(0x214)]['forEach'](_0x4ed536=>{const _0x29622e=_0x5aa809;Object[_0x29622e(0x2ff)](_0x45a605[_0x29622e(0x2d2)],'on'+_0x4ed536,{'enumerable':!0x0,'get'(){const _0x2721d3=_0x29622e;for(const _0x180c23 of this[_0x2721d3(0x188)](_0x4ed536))if(_0x180c23[_0x1ade3c])return _0x180c23[_0x36c63e];return null;},'set'(_0x1e1e01){const _0x1a00d=_0x29622e;for(const _0x1ef370 of this[_0x1a00d(0x188)](_0x4ed536))if(_0x1ef370[_0x1ade3c]){this[_0x1a00d(0x1a4)](_0x4ed536,_0x1ef370);break;}typeof _0x1e1e01=='function'&&this[_0x1a00d(0x31a)](_0x4ed536,_0x1e1e01,{[_0x1ade3c]:!0x0});}});}),_0x45a605[_0x5aa809(0x2d2)][_0x5aa809(0x31a)]=_0x17b7d2,_0x45a605['prototype']['removeEventListener']=_0x16c075,we=_0x45a605;function _0x9fecf3(_0x570740,_0x5114eb,_0x3a8909,_0x33bc1b){const _0x1d65d6=_0x5aa809,_0x5f1424={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3fa99b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x33bc1b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1d65d6(0x30e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x570740[_0x1d65d6(0x1d6)]=_0x5f1424['autoPong'],!_0x3fa99b[_0x1d65d6(0x28e)](_0x5f1424[_0x1d65d6(0x26f)]))throw new RangeError(_0x1d65d6(0x314)+_0x5f1424[_0x1d65d6(0x26f)]+_0x1d65d6(0x2bc)+_0x3fa99b['join'](',\x20')+')');let _0x20566d;if(_0x5114eb instanceof _0x3f6b1f)_0x20566d=_0x5114eb;else try{_0x20566d=new _0x3f6b1f(_0x5114eb);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5114eb);}_0x20566d[_0x1d65d6(0x2e0)]==='http:'?_0x20566d[_0x1d65d6(0x2e0)]=_0x1d65d6(0x2a1):_0x20566d['protocol']===_0x1d65d6(0x226)&&(_0x20566d['protocol']='wss:'),_0x570740[_0x1d65d6(0x17f)]=_0x20566d['href'];const _0x381c23=_0x20566d['protocol']===_0x1d65d6(0x1de),_0x22428a=_0x20566d['protocol']===_0x1d65d6(0x2c4);let _0x52993a;if(_0x20566d[_0x1d65d6(0x2e0)]!==_0x1d65d6(0x2a1)&&!_0x381c23&&!_0x22428a?_0x52993a=_0x1d65d6(0x31f):_0x22428a&&!_0x20566d[_0x1d65d6(0x1ef)]?_0x52993a='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x20566d[_0x1d65d6(0x1b3)]&&(_0x52993a='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x52993a){const _0x8c62e0=new SyntaxError(_0x52993a);if(_0x570740[_0x1d65d6(0x1d8)]===0x0)throw _0x8c62e0;_0x55754d(_0x570740,_0x8c62e0);return;}const _0x31f8b0=_0x381c23?0x1bb:0x50,_0x4697cb=_0x3362d3(0x10)[_0x1d65d6(0x318)](_0x1d65d6(0x2da)),_0x4712f4=_0x381c23?_0x50666c[_0x1d65d6(0x208)]:_0x36013b[_0x1d65d6(0x208)],_0x825a70=new Set();let _0x590b92;if(_0x5f1424[_0x1d65d6(0x189)]=_0x5f1424['createConnection']||(_0x381c23?_0x47f4a6:_0x45eee9),_0x5f1424[_0x1d65d6(0x280)]=_0x5f1424[_0x1d65d6(0x280)]||_0x31f8b0,_0x5f1424['port']=_0x20566d[_0x1d65d6(0x2c0)]||_0x31f8b0,_0x5f1424[_0x1d65d6(0x2f6)]=_0x20566d[_0x1d65d6(0x333)][_0x1d65d6(0x301)]('[')?_0x20566d[_0x1d65d6(0x333)][_0x1d65d6(0x2ba)](0x1,-0x1):_0x20566d['hostname'],_0x5f1424[_0x1d65d6(0x295)]={..._0x5f1424['headers'],'Sec-WebSocket-Version':_0x5f1424[_0x1d65d6(0x26f)],'Sec-WebSocket-Key':_0x4697cb,'Connection':_0x1d65d6(0x324),'Upgrade':_0x1d65d6(0x2fa)},_0x5f1424[_0x1d65d6(0x2a4)]=_0x20566d[_0x1d65d6(0x1ef)]+_0x20566d[_0x1d65d6(0x19e)],_0x5f1424[_0x1d65d6(0x213)]=_0x5f1424[_0x1d65d6(0x241)],_0x5f1424[_0x1d65d6(0x19f)]&&(_0x590b92=new _0x3be390(_0x5f1424[_0x1d65d6(0x19f)]!==!0x0?_0x5f1424[_0x1d65d6(0x19f)]:{},!0x1,_0x5f1424[_0x1d65d6(0x317)]),_0x5f1424[_0x1d65d6(0x295)][_0x1d65d6(0x2c3)]=_0xe1969f({[_0x3be390[_0x1d65d6(0x1b2)]]:_0x590b92[_0x1d65d6(0x18e)]()})),_0x3a8909[_0x1d65d6(0x17b)]){for(const _0x1d0f82 of _0x3a8909){if(typeof _0x1d0f82!=_0x1d65d6(0x18b)||!_0x2a60d8[_0x1d65d6(0x242)](_0x1d0f82)||_0x825a70[_0x1d65d6(0x24d)](_0x1d0f82))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x825a70[_0x1d65d6(0x211)](_0x1d0f82);}_0x5f1424['headers'][_0x1d65d6(0x30c)]=_0x3a8909[_0x1d65d6(0x216)](',');}if(_0x5f1424[_0x1d65d6(0x1b8)]&&(_0x5f1424[_0x1d65d6(0x26f)]<0xd?_0x5f1424['headers']['Sec-WebSocket-Origin']=_0x5f1424[_0x1d65d6(0x1b8)]:_0x5f1424[_0x1d65d6(0x295)][_0x1d65d6(0x251)]=_0x5f1424['origin']),(_0x20566d['username']||_0x20566d[_0x1d65d6(0x199)])&&(_0x5f1424[_0x1d65d6(0x341)]=_0x20566d[_0x1d65d6(0x2f4)]+':'+_0x20566d[_0x1d65d6(0x199)]),_0x22428a){const _0x350a59=_0x5f1424[_0x1d65d6(0x2a4)]['split'](':');_0x5f1424[_0x1d65d6(0x33d)]=_0x350a59[0x0],_0x5f1424[_0x1d65d6(0x2a4)]=_0x350a59[0x1];}let _0x1f2059;if(_0x5f1424[_0x1d65d6(0x294)]){if(_0x570740[_0x1d65d6(0x1d8)]===0x0){_0x570740[_0x1d65d6(0x29e)]=_0x22428a,_0x570740[_0x1d65d6(0x17c)]=_0x381c23,_0x570740[_0x1d65d6(0x259)]=_0x22428a?_0x5f1424[_0x1d65d6(0x33d)]:_0x20566d[_0x1d65d6(0x2f6)];const _0xd6981=_0x33bc1b&&_0x33bc1b[_0x1d65d6(0x295)];if(_0x33bc1b={..._0x33bc1b,'headers':{}},_0xd6981){for(const [_0x160754,_0x506718]of Object[_0x1d65d6(0x260)](_0xd6981))_0x33bc1b[_0x1d65d6(0x295)][_0x160754[_0x1d65d6(0x2aa)]()]=_0x506718;}}else{if(_0x570740[_0x1d65d6(0x25a)](_0x1d65d6(0x313))===0x0){const _0x3fa50b=_0x22428a?_0x570740[_0x1d65d6(0x29e)]?_0x5f1424[_0x1d65d6(0x33d)]===_0x570740['_originalHostOrSocketPath']:!0x1:_0x570740['_originalIpc']?!0x1:_0x20566d['host']===_0x570740[_0x1d65d6(0x259)];(!_0x3fa50b||_0x570740[_0x1d65d6(0x17c)]&&!_0x381c23)&&(delete _0x5f1424[_0x1d65d6(0x295)]['authorization'],delete _0x5f1424[_0x1d65d6(0x295)][_0x1d65d6(0x32e)],_0x3fa50b||delete _0x5f1424['headers'][_0x1d65d6(0x2f6)],_0x5f1424[_0x1d65d6(0x341)]=void 0x0);}}_0x5f1424[_0x1d65d6(0x341)]&&!_0x33bc1b[_0x1d65d6(0x295)]['authorization']&&(_0x33bc1b['headers']['authorization']='Basic\x20'+Buffer['from'](_0x5f1424['auth'])[_0x1d65d6(0x318)](_0x1d65d6(0x2da))),_0x1f2059=_0x570740[_0x1d65d6(0x1f6)]=_0x4712f4(_0x5f1424),_0x570740[_0x1d65d6(0x1d8)]&&_0x570740[_0x1d65d6(0x209)](_0x1d65d6(0x313),_0x570740[_0x1d65d6(0x1a7)],_0x1f2059);}else _0x1f2059=_0x570740[_0x1d65d6(0x1f6)]=_0x4712f4(_0x5f1424);_0x5f1424[_0x1d65d6(0x213)]&&_0x1f2059['on'](_0x1d65d6(0x213),()=>{const _0x3f171a=_0x1d65d6;_0x1bfe3a(_0x570740,_0x1f2059,_0x3f171a(0x2e5));}),_0x1f2059['on'](_0x1d65d6(0x27c),_0x5e7141=>{const _0x401c7e=_0x1d65d6;_0x1f2059===null||_0x1f2059[_0x22d3a3]||(_0x1f2059=_0x570740[_0x401c7e(0x1f6)]=null,_0x55754d(_0x570740,_0x5e7141));}),_0x1f2059['on'](_0x1d65d6(0x320),_0x5735dc=>{const _0x2e8f70=_0x1d65d6,_0x268046=_0x5735dc[_0x2e8f70(0x295)]['location'],_0x5c69a5=_0x5735dc[_0x2e8f70(0x2ad)];if(_0x268046&&_0x5f1424[_0x2e8f70(0x294)]&&_0x5c69a5>=0x12c&&_0x5c69a5<0x190){if(++_0x570740[_0x2e8f70(0x1d8)]>_0x5f1424[_0x2e8f70(0x252)]){_0x1bfe3a(_0x570740,_0x1f2059,'Maximum\x20redirects\x20exceeded');return;}_0x1f2059[_0x2e8f70(0x184)]();let _0x4e4b3a;try{_0x4e4b3a=new _0x3f6b1f(_0x268046,_0x5114eb);}catch{const _0x4c5eef=new SyntaxError(_0x2e8f70(0x234)+_0x268046);_0x55754d(_0x570740,_0x4c5eef);return;}_0x9fecf3(_0x570740,_0x4e4b3a,_0x3a8909,_0x33bc1b);}else _0x570740[_0x2e8f70(0x209)](_0x2e8f70(0x21b),_0x1f2059,_0x5735dc)||_0x1bfe3a(_0x570740,_0x1f2059,_0x2e8f70(0x327)+_0x5735dc[_0x2e8f70(0x2ad)]);}),_0x1f2059['on'](_0x1d65d6(0x1b5),(_0x1df648,_0x3e0eae,_0x5397dd)=>{const _0x2cee6c=_0x1d65d6;if(_0x570740[_0x2cee6c(0x209)](_0x2cee6c(0x1b5),_0x1df648),_0x570740[_0x2cee6c(0x299)]!==_0x45a605[_0x2cee6c(0x30b)])return;_0x1f2059=_0x570740[_0x2cee6c(0x1f6)]=null;const _0x22edf3=_0x1df648[_0x2cee6c(0x295)][_0x2cee6c(0x1b5)];if(_0x22edf3===void 0x0||_0x22edf3[_0x2cee6c(0x2aa)]()!=='websocket'){_0x1bfe3a(_0x570740,_0x3e0eae,_0x2cee6c(0x2bf));return;}const _0x345d4e=_0x405429(_0x2cee6c(0x2db))[_0x2cee6c(0x244)](_0x4697cb+_0x394d9b)[_0x2cee6c(0x1bc)]('base64');if(_0x1df648[_0x2cee6c(0x295)][_0x2cee6c(0x235)]!==_0x345d4e){_0x1bfe3a(_0x570740,_0x3e0eae,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x56d6b0=_0x1df648[_0x2cee6c(0x295)][_0x2cee6c(0x257)];let _0x54acc9;if(_0x56d6b0!==void 0x0?_0x825a70[_0x2cee6c(0x281)]?_0x825a70['has'](_0x56d6b0)||(_0x54acc9=_0x2cee6c(0x218)):_0x54acc9=_0x2cee6c(0x27d):_0x825a70['size']&&(_0x54acc9=_0x2cee6c(0x182)),_0x54acc9){_0x1bfe3a(_0x570740,_0x3e0eae,_0x54acc9);return;}_0x56d6b0&&(_0x570740[_0x2cee6c(0x248)]=_0x56d6b0);const _0x525fb9=_0x1df648[_0x2cee6c(0x295)]['sec-websocket-extensions'];if(_0x525fb9!==void 0x0){if(!_0x590b92){_0x1bfe3a(_0x570740,_0x3e0eae,_0x2cee6c(0x325));return;}let _0x34a663;try{_0x34a663=_0x227e6f(_0x525fb9);}catch{_0x1bfe3a(_0x570740,_0x3e0eae,_0x2cee6c(0x223));return;}const _0xdebb72=Object[_0x2cee6c(0x228)](_0x34a663);if(_0xdebb72['length']!==0x1||_0xdebb72[0x0]!==_0x3be390[_0x2cee6c(0x1b2)]){_0x1bfe3a(_0x570740,_0x3e0eae,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x590b92[_0x2cee6c(0x2dd)](_0x34a663[_0x3be390[_0x2cee6c(0x1b2)]]);}catch{_0x1bfe3a(_0x570740,_0x3e0eae,_0x2cee6c(0x223));return;}_0x570740['_extensions'][_0x3be390['extensionName']]=_0x590b92;}_0x570740[_0x2cee6c(0x1e0)](_0x3e0eae,_0x5397dd,{'allowSynchronousEvents':_0x5f1424['allowSynchronousEvents'],'generateMask':_0x5f1424[_0x2cee6c(0x27a)],'maxPayload':_0x5f1424['maxPayload'],'skipUTF8Validation':_0x5f1424['skipUTF8Validation']});}),_0x5f1424[_0x1d65d6(0x240)]?_0x5f1424['finishRequest'](_0x1f2059,_0x570740):_0x1f2059[_0x1d65d6(0x1a9)]();}function _0x55754d(_0x6dd66a,_0x3e4ceb){const _0x52edc7=_0x5aa809;_0x6dd66a[_0x52edc7(0x2d9)]=_0x45a605[_0x52edc7(0x239)],_0x6dd66a[_0x52edc7(0x19a)]=!0x0,_0x6dd66a[_0x52edc7(0x209)](_0x52edc7(0x27c),_0x3e4ceb),_0x6dd66a[_0x52edc7(0x22c)]();}function _0x45eee9(_0x3a4f85){const _0x4807ec=_0x5aa809;return _0x3a4f85[_0x4807ec(0x2a4)]=_0x3a4f85[_0x4807ec(0x33d)],_0x5e9abf['connect'](_0x3a4f85);}function _0x47f4a6(_0x27a9ca){const _0x12af6=_0x5aa809;return _0x27a9ca[_0x12af6(0x2a4)]=void 0x0,!_0x27a9ca[_0x12af6(0x201)]&&_0x27a9ca[_0x12af6(0x201)]!==''&&(_0x27a9ca[_0x12af6(0x201)]=_0x5e9abf[_0x12af6(0x27b)](_0x27a9ca[_0x12af6(0x2f6)])?'':_0x27a9ca['host']),_0x485167['connect'](_0x27a9ca);}function _0x1bfe3a(_0x527186,_0x38f61d,_0x4f5901){const _0x390e3d=_0x5aa809;_0x527186[_0x390e3d(0x2d9)]=_0x45a605[_0x390e3d(0x239)];const _0x3d1fa0=new Error(_0x4f5901);Error[_0x390e3d(0x205)](_0x3d1fa0,_0x1bfe3a),_0x38f61d[_0x390e3d(0x1b9)]?(_0x38f61d[_0x22d3a3]=!0x0,_0x38f61d['abort'](),_0x38f61d['socket']&&!_0x38f61d[_0x390e3d(0x1d0)]['destroyed']&&_0x38f61d[_0x390e3d(0x1d0)][_0x390e3d(0x24a)](),process[_0x390e3d(0x1ff)](_0x55754d,_0x527186,_0x3d1fa0)):(_0x38f61d[_0x390e3d(0x24a)](_0x3d1fa0),_0x38f61d[_0x390e3d(0x232)](_0x390e3d(0x27c),_0x527186[_0x390e3d(0x209)][_0x390e3d(0x1e3)](_0x527186,_0x390e3d(0x27c))),_0x38f61d['once'](_0x390e3d(0x28f),_0x527186['emitClose'][_0x390e3d(0x1e3)](_0x527186)));}function _0x508639(_0x449cae,_0x2d46cd,_0x257cd8){const _0x4bcaa6=_0x5aa809;if(_0x2d46cd){const _0x4d31f4=_0x3c57b7(_0x2d46cd)?_0x2d46cd[_0x4bcaa6(0x281)]:_0x63ebb3(_0x2d46cd)[_0x4bcaa6(0x17b)];_0x449cae[_0x4bcaa6(0x2a2)]?_0x449cae[_0x4bcaa6(0x1b4)][_0x4bcaa6(0x25f)]+=_0x4d31f4:_0x449cae[_0x4bcaa6(0x1ea)]+=_0x4d31f4;}if(_0x257cd8){const _0x53351a=new Error(_0x4bcaa6(0x243)+_0x449cae[_0x4bcaa6(0x299)]+'\x20('+_0x4507ef[_0x449cae[_0x4bcaa6(0x299)]]+')');process[_0x4bcaa6(0x1ff)](_0x257cd8,_0x53351a);}}function _0x44a1ce(_0x533ca3,_0x5450f7){const _0x10c081=_0x5aa809,_0x120845=this[_0x23e9f8];_0x120845[_0x10c081(0x1c8)]=!0x0,_0x120845[_0x10c081(0x2a0)]=_0x5450f7,_0x120845['_closeCode']=_0x533ca3,_0x120845[_0x10c081(0x2a2)][_0x23e9f8]!==void 0x0&&(_0x120845['_socket'][_0x10c081(0x1a4)](_0x10c081(0x292),_0xf69320),process[_0x10c081(0x1ff)](_0x527006,_0x120845['_socket']),_0x533ca3===0x3ed?_0x120845['close']():_0x120845[_0x10c081(0x28f)](_0x533ca3,_0x5450f7));}function _0x5cda9b(){const _0x10f2d5=_0x5aa809,_0x23c898=this[_0x23e9f8];_0x23c898[_0x10f2d5(0x2d3)]||_0x23c898[_0x10f2d5(0x2a2)][_0x10f2d5(0x25c)]();}function _0x54d609(_0x2b54a3){const _0x125020=_0x5aa809,_0x5a5140=this[_0x23e9f8];_0x5a5140['_socket'][_0x23e9f8]!==void 0x0&&(_0x5a5140['_socket'][_0x125020(0x1a4)](_0x125020(0x292),_0xf69320),process[_0x125020(0x1ff)](_0x527006,_0x5a5140[_0x125020(0x2a2)]),_0x5a5140[_0x125020(0x28f)](_0x2b54a3[_0x5c7d09])),_0x5a5140[_0x125020(0x19a)]||(_0x5a5140['_errorEmitted']=!0x0,_0x5a5140[_0x125020(0x209)]('error',_0x2b54a3));}function _0x3774f9(){this[_0x23e9f8]['emitClose']();}function _0x3e9bdf(_0xdd23e0,_0x33edec){const _0x5d4472=_0x5aa809;this[_0x23e9f8][_0x5d4472(0x209)](_0x5d4472(0x214),_0xdd23e0,_0x33edec);}function _0x53a8b6(_0x2d8e30){const _0x4a9dd5=_0x5aa809,_0xe4eddd=this[_0x23e9f8];_0xe4eddd[_0x4a9dd5(0x1d6)]&&_0xe4eddd[_0x4a9dd5(0x2f5)](_0x2d8e30,!this[_0x4a9dd5(0x2e7)],_0x2bc9ce),_0xe4eddd[_0x4a9dd5(0x209)](_0x4a9dd5(0x1aa),_0x2d8e30);}function _0x270f1d(_0x291524){const _0x38988b=_0x5aa809;this[_0x23e9f8][_0x38988b(0x209)](_0x38988b(0x2f5),_0x291524);}function _0x527006(_0x98bd1e){const _0x44f848=_0x5aa809;_0x98bd1e[_0x44f848(0x25c)]();}function _0x4abb30(_0x18c2c3){const _0x572ac5=_0x5aa809,_0x2de664=this[_0x23e9f8];_0x2de664['readyState']!==_0x45a605[_0x572ac5(0x221)]&&(_0x2de664[_0x572ac5(0x299)]===_0x45a605[_0x572ac5(0x192)]&&(_0x2de664[_0x572ac5(0x2d9)]=_0x45a605[_0x572ac5(0x239)],_0x1d2345(_0x2de664)),this[_0x572ac5(0x2a2)][_0x572ac5(0x1a9)](),_0x2de664[_0x572ac5(0x19a)]||(_0x2de664['_errorEmitted']=!0x0,_0x2de664[_0x572ac5(0x209)]('error',_0x18c2c3)));}function _0x1d2345(_0x7ef2ba){const _0xa58395=_0x5aa809;_0x7ef2ba[_0xa58395(0x265)]=setTimeout(_0x7ef2ba[_0xa58395(0x2a2)]['destroy'][_0xa58395(0x1e3)](_0x7ef2ba[_0xa58395(0x2a2)]),_0x27a3dd);}function _0x4f5fa4(){const _0xd52dde=_0x5aa809,_0x1ec5a8=this[_0x23e9f8];this[_0xd52dde(0x1a4)](_0xd52dde(0x28f),_0x4f5fa4),this[_0xd52dde(0x1a4)](_0xd52dde(0x292),_0xf69320),this['removeListener'](_0xd52dde(0x1a9),_0xf2ba17),_0x1ec5a8[_0xd52dde(0x2d9)]=_0x45a605[_0xd52dde(0x239)];let _0x4e4d3d;!this[_0xd52dde(0x24f)]['endEmitted']&&!_0x1ec5a8[_0xd52dde(0x1c8)]&&!_0x1ec5a8['_receiver'][_0xd52dde(0x19b)][_0xd52dde(0x334)]&&(_0x4e4d3d=_0x1ec5a8[_0xd52dde(0x2a2)][_0xd52dde(0x1d5)]())!==null&&_0x1ec5a8[_0xd52dde(0x1e1)][_0xd52dde(0x2e9)](_0x4e4d3d),_0x1ec5a8[_0xd52dde(0x1e1)]['end'](),this[_0x23e9f8]=void 0x0,clearTimeout(_0x1ec5a8[_0xd52dde(0x265)]),_0x1ec5a8['_receiver']['_writableState'][_0xd52dde(0x22b)]||_0x1ec5a8[_0xd52dde(0x1e1)][_0xd52dde(0x19b)]['errorEmitted']?_0x1ec5a8[_0xd52dde(0x22c)]():(_0x1ec5a8['_receiver']['on']('error',_0x3774f9),_0x1ec5a8[_0xd52dde(0x1e1)]['on'](_0xd52dde(0x258),_0x3774f9));}function _0xf69320(_0x8ae247){const _0x5aa735=_0x5aa809;this[_0x23e9f8][_0x5aa735(0x1e1)][_0x5aa735(0x2e9)](_0x8ae247)||this[_0x5aa735(0x29d)]();}function _0xf2ba17(){const _0x3e7948=_0x5aa809,_0x5a6a4c=this[_0x23e9f8];_0x5a6a4c[_0x3e7948(0x2d9)]=_0x45a605[_0x3e7948(0x239)],_0x5a6a4c[_0x3e7948(0x1e1)][_0x3e7948(0x1a9)](),this[_0x3e7948(0x1a9)]();}function _0x299268(){const _0x43fa70=_0x5aa809,_0x3a9d4c=this[_0x23e9f8];this[_0x43fa70(0x1a4)]('error',_0x299268),this['on'](_0x43fa70(0x27c),_0x2bc9ce),_0x3a9d4c&&(_0x3a9d4c[_0x43fa70(0x2d9)]=_0x45a605['CLOSING'],this[_0x43fa70(0x24a)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4a45b6}=oe;function _0x76de28(_0x24fbc8){const _0xd4b151=_0x4bf3;_0x24fbc8[_0xd4b151(0x209)](_0xd4b151(0x28f));}function _0x32d7ee(){const _0x4a36ae=_0x4bf3;!this[_0x4a36ae(0x23a)]&&this[_0x4a36ae(0x19b)]['finished']&&this[_0x4a36ae(0x24a)]();}function _0x1c112c(_0x2039dc){const _0x27618e=_0x4bf3;this[_0x27618e(0x1a4)](_0x27618e(0x27c),_0x1c112c),this[_0x27618e(0x24a)](),this['listenerCount'](_0x27618e(0x27c))===0x0&&this[_0x27618e(0x209)]('error',_0x2039dc);}function _0x41d215(_0x28b930,_0x8ff53a){const _0x1b6118=_0x4bf3;let _0x1292a3=!0x0;const _0x5eed65=new _0x4a45b6({..._0x8ff53a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x28b930['on'](_0x1b6118(0x214),function(_0x5f30df,_0x4a34c4){const _0x42afaf=_0x1b6118,_0x34483e=!_0x4a34c4&&_0x5eed65['_readableState'][_0x42afaf(0x22f)]?_0x5f30df[_0x42afaf(0x318)]():_0x5f30df;_0x5eed65[_0x42afaf(0x273)](_0x34483e)||_0x28b930[_0x42afaf(0x29d)]();}),_0x28b930['once']('error',function(_0x5e3f77){const _0x3ce2ac=_0x1b6118;_0x5eed65['destroyed']||(_0x1292a3=!0x1,_0x5eed65[_0x3ce2ac(0x24a)](_0x5e3f77));}),_0x28b930[_0x1b6118(0x232)](_0x1b6118(0x28f),function(){const _0x2a96a6=_0x1b6118;_0x5eed65[_0x2a96a6(0x23a)]||_0x5eed65['push'](null);}),_0x5eed65['_destroy']=function(_0x20e33b,_0x116fd5){const _0x5ab3f8=_0x1b6118;if(_0x28b930[_0x5ab3f8(0x299)]===_0x28b930[_0x5ab3f8(0x221)]){_0x116fd5(_0x20e33b),process['nextTick'](_0x76de28,_0x5eed65);return;}let _0x43fac7=!0x1;_0x28b930[_0x5ab3f8(0x232)](_0x5ab3f8(0x27c),function(_0x1a0157){_0x43fac7=!0x0,_0x116fd5(_0x1a0157);}),_0x28b930[_0x5ab3f8(0x232)](_0x5ab3f8(0x28f),function(){const _0x56bb89=_0x5ab3f8;_0x43fac7||_0x116fd5(_0x20e33b),process[_0x56bb89(0x1ff)](_0x76de28,_0x5eed65);}),_0x1292a3&&_0x28b930[_0x5ab3f8(0x230)]();},_0x5eed65['_final']=function(_0x51cd49){const _0x135f6f=_0x1b6118;if(_0x28b930[_0x135f6f(0x299)]===_0x28b930[_0x135f6f(0x30b)]){_0x28b930[_0x135f6f(0x232)](_0x135f6f(0x237),function(){const _0x2b0d0f=_0x135f6f;_0x5eed65[_0x2b0d0f(0x283)](_0x51cd49);});return;}_0x28b930[_0x135f6f(0x2a2)]!==null&&(_0x28b930['_socket'][_0x135f6f(0x19b)][_0x135f6f(0x22b)]?(_0x51cd49(),_0x5eed65['_readableState'][_0x135f6f(0x194)]&&_0x5eed65[_0x135f6f(0x24a)]()):(_0x28b930[_0x135f6f(0x2a2)][_0x135f6f(0x232)]('finish',function(){_0x51cd49();}),_0x28b930[_0x135f6f(0x28f)]()));},_0x5eed65['_read']=function(){const _0x24a95f=_0x1b6118;_0x28b930[_0x24a95f(0x2d3)]&&_0x28b930[_0x24a95f(0x25c)]();},_0x5eed65[_0x1b6118(0x305)]=function(_0x399805,_0x4b254e,_0x19b31f){const _0x43b836=_0x1b6118;if(_0x28b930[_0x43b836(0x299)]===_0x28b930['CONNECTING']){_0x28b930[_0x43b836(0x232)]('open',function(){const _0x3a3c81=_0x43b836;_0x5eed65[_0x3a3c81(0x305)](_0x399805,_0x4b254e,_0x19b31f);});return;}_0x28b930[_0x43b836(0x1c1)](_0x399805,_0x19b31f);},_0x5eed65['on'](_0x1b6118(0x1a9),_0x32d7ee),_0x5eed65['on']('error',_0x1c112c),_0x5eed65;}return Oe=_0x41d215,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xd8039d}=ae();function _0x339abe(_0x44f81a){const _0x5644fc=_0x4bf3,_0x6e805c=new Set();let _0x6f5129=-0x1,_0x3f8e8a=-0x1,_0x3fcc9e=0x0;for(_0x3fcc9e;_0x3fcc9e<_0x44f81a[_0x5644fc(0x17b)];_0x3fcc9e++){const _0x53c2d8=_0x44f81a[_0x5644fc(0x1d7)](_0x3fcc9e);if(_0x3f8e8a===-0x1&&_0xd8039d[_0x53c2d8]===0x1)_0x6f5129===-0x1&&(_0x6f5129=_0x3fcc9e);else{if(_0x3fcc9e!==0x0&&(_0x53c2d8===0x20||_0x53c2d8===0x9))_0x3f8e8a===-0x1&&_0x6f5129!==-0x1&&(_0x3f8e8a=_0x3fcc9e);else{if(_0x53c2d8===0x2c){if(_0x6f5129===-0x1)throw new SyntaxError(_0x5644fc(0x183)+_0x3fcc9e);_0x3f8e8a===-0x1&&(_0x3f8e8a=_0x3fcc9e);const _0x5aae4c=_0x44f81a[_0x5644fc(0x2ba)](_0x6f5129,_0x3f8e8a);if(_0x6e805c['has'](_0x5aae4c))throw new SyntaxError(_0x5644fc(0x2a7)+_0x5aae4c+_0x5644fc(0x2eb));_0x6e805c[_0x5644fc(0x211)](_0x5aae4c),_0x6f5129=_0x3f8e8a=-0x1;}else throw new SyntaxError(_0x5644fc(0x183)+_0x3fcc9e);}}}if(_0x6f5129===-0x1||_0x3f8e8a!==-0x1)throw new SyntaxError(_0x5644fc(0x308));const _0x212e42=_0x44f81a[_0x5644fc(0x2ba)](_0x6f5129,_0x3fcc9e);if(_0x6e805c['has'](_0x212e42))throw new SyntaxError('The\x20\x22'+_0x212e42+_0x5644fc(0x2eb));return _0x6e805c[_0x5644fc(0x211)](_0x212e42),_0x6e805c;}return Ce={'parse':_0x339abe},Ce;}var Te,rt;function Ft(){const _0x3bd09c=_0x4ec5cf;if(rt)return Te;rt=0x1;const _0x2bd3b3=nt,_0x896355=ot,{Duplex:_0x56cc05}=oe,{createHash:_0xea5c6d}=Le,_0x3c58c7=ct(),_0x9f02fe=he(),_0xcc5e6e=At(),_0x12e525=Pe(),{GUID:_0x3deb41,kWebSocket:_0x1d17b7}=H(),_0xb9a1e=/^[+/0-9A-Za-z]{22}==$/,_0x111e12=0x0,_0x50c397=0x1,_0x458304=0x2;class _0x2b0d2d extends _0x2bd3b3{constructor(_0x4a827c,_0x3da931){const _0x35531c=_0x4bf3;if(super(),_0x4a827c={'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':_0x12e525,..._0x4a827c},_0x4a827c[_0x35531c(0x2c0)]==null&&!_0x4a827c[_0x35531c(0x2c5)]&&!_0x4a827c['noServer']||_0x4a827c[_0x35531c(0x2c0)]!=null&&(_0x4a827c[_0x35531c(0x2c5)]||_0x4a827c[_0x35531c(0x1ee)])||_0x4a827c[_0x35531c(0x2c5)]&&_0x4a827c[_0x35531c(0x1ee)])throw new TypeError(_0x35531c(0x2f1));if(_0x4a827c[_0x35531c(0x2c0)]!=null?(this[_0x35531c(0x21f)]=_0x896355[_0x35531c(0x2ef)]((_0x1d779c,_0x10af9b)=>{const _0x581de6=_0x35531c,_0x2c2682=_0x896355['STATUS_CODES'][0x1aa];_0x10af9b[_0x581de6(0x26d)](0x1aa,{'Content-Length':_0x2c2682[_0x581de6(0x17b)],'Content-Type':'text/plain'}),_0x10af9b[_0x581de6(0x1a9)](_0x2c2682);}),this['_server'][_0x35531c(0x275)](_0x4a827c[_0x35531c(0x2c0)],_0x4a827c[_0x35531c(0x2f6)],_0x4a827c[_0x35531c(0x2ae)],_0x3da931)):_0x4a827c[_0x35531c(0x2c5)]&&(this['_server']=_0x4a827c[_0x35531c(0x2c5)]),this[_0x35531c(0x21f)]){const _0x46cceb=this[_0x35531c(0x209)][_0x35531c(0x1e3)](this,_0x35531c(0x28a));this[_0x35531c(0x322)]=_0x40b70e(this['_server'],{'listening':this[_0x35531c(0x209)][_0x35531c(0x1e3)](this,'listening'),'error':this[_0x35531c(0x209)][_0x35531c(0x1e3)](this,_0x35531c(0x27c)),'upgrade':(_0x68ad51,_0x486d69,_0x21a64d)=>{const _0x743504=_0x35531c;this[_0x743504(0x2c6)](_0x68ad51,_0x486d69,_0x21a64d,_0x46cceb);}});}_0x4a827c['perMessageDeflate']===!0x0&&(_0x4a827c['perMessageDeflate']={}),_0x4a827c[_0x35531c(0x2e8)]&&(this['clients']=new Set(),this[_0x35531c(0x195)]=!0x1),this[_0x35531c(0x24c)]=_0x4a827c,this[_0x35531c(0x2ac)]=_0x111e12;}[_0x3bd09c(0x330)](){const _0x217c27=_0x3bd09c;if(this[_0x217c27(0x24c)]['noServer'])throw new Error(_0x217c27(0x197));return this[_0x217c27(0x21f)]?this[_0x217c27(0x21f)][_0x217c27(0x330)]():null;}[_0x3bd09c(0x28f)](_0x4b1ad3){const _0xf30650=_0x3bd09c;if(this[_0xf30650(0x2ac)]===_0x458304){_0x4b1ad3&&this[_0xf30650(0x232)](_0xf30650(0x28f),()=>{const _0x5715fb=_0xf30650;_0x4b1ad3(new Error(_0x5715fb(0x2a9)));}),process[_0xf30650(0x1ff)](_0xf7ed69,this);return;}if(_0x4b1ad3&&this[_0xf30650(0x232)](_0xf30650(0x28f),_0x4b1ad3),this[_0xf30650(0x2ac)]!==_0x50c397){if(this[_0xf30650(0x2ac)]=_0x50c397,this[_0xf30650(0x24c)][_0xf30650(0x1ee)]||this[_0xf30650(0x24c)][_0xf30650(0x2c5)])this[_0xf30650(0x21f)]&&(this[_0xf30650(0x322)](),this[_0xf30650(0x322)]=this['_server']=null),this[_0xf30650(0x210)]?this[_0xf30650(0x210)][_0xf30650(0x281)]?this[_0xf30650(0x195)]=!0x0:process[_0xf30650(0x1ff)](_0xf7ed69,this):process[_0xf30650(0x1ff)](_0xf7ed69,this);else{const _0x1db0b2=this[_0xf30650(0x21f)];this[_0xf30650(0x322)](),this['_removeListeners']=this[_0xf30650(0x21f)]=null,_0x1db0b2[_0xf30650(0x28f)](()=>{_0xf7ed69(this);});}}}[_0x3bd09c(0x286)](_0x58becc){const _0x234d5e=_0x3bd09c;if(this[_0x234d5e(0x24c)]['path']){const _0xc2be27=_0x58becc[_0x234d5e(0x1a7)]['indexOf']('?');if((_0xc2be27!==-0x1?_0x58becc['url'][_0x234d5e(0x2ba)](0x0,_0xc2be27):_0x58becc[_0x234d5e(0x1a7)])!==this[_0x234d5e(0x24c)][_0x234d5e(0x2a4)])return!0x1;}return!0x0;}[_0x3bd09c(0x2c6)](_0x47a99d,_0x1cde57,_0x332f70,_0x345aaa){const _0x33709c=_0x3bd09c;_0x1cde57['on'](_0x33709c(0x27c),_0x36c043);const _0x18535e=_0x47a99d[_0x33709c(0x295)][_0x33709c(0x298)],_0x41cfbe=_0x47a99d[_0x33709c(0x295)][_0x33709c(0x1b5)],_0x36e8e2=+_0x47a99d[_0x33709c(0x295)][_0x33709c(0x1e6)];if(_0x47a99d[_0x33709c(0x1a1)]!==_0x33709c(0x30e)){_0x7a6b41(this,_0x47a99d,_0x1cde57,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x41cfbe===void 0x0||_0x41cfbe[_0x33709c(0x2aa)]()!=='websocket'){_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x2bf));return;}if(_0x18535e===void 0x0||!_0xb9a1e[_0x33709c(0x242)](_0x18535e)){_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x261));return;}if(_0x36e8e2!==0xd&&_0x36e8e2!==0x8){_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x219),{'Sec-WebSocket-Version':_0x33709c(0x1df)});return;}if(!this['shouldHandle'](_0x47a99d)){_0x3cee69(_0x1cde57,0x190);return;}const _0xa83922=_0x47a99d[_0x33709c(0x295)][_0x33709c(0x257)];let _0x837adb=new Set();if(_0xa83922!==void 0x0)try{_0x837adb=_0xcc5e6e['parse'](_0xa83922);}catch{_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x1f0));return;}const _0x19a751=_0x47a99d[_0x33709c(0x295)][_0x33709c(0x1cf)],_0x3f4cc1={};if(this[_0x33709c(0x24c)][_0x33709c(0x19f)]&&_0x19a751!==void 0x0){const _0x5ab5ea=new _0x9f02fe(this[_0x33709c(0x24c)]['perMessageDeflate'],!0x0,this['options'][_0x33709c(0x317)]);try{const _0x48cc09=_0x3c58c7['parse'](_0x19a751);_0x48cc09[_0x9f02fe[_0x33709c(0x1b2)]]&&(_0x5ab5ea[_0x33709c(0x2dd)](_0x48cc09[_0x9f02fe[_0x33709c(0x1b2)]]),_0x3f4cc1[_0x9f02fe[_0x33709c(0x1b2)]]=_0x5ab5ea);}catch{_0x7a6b41(this,_0x47a99d,_0x1cde57,0x190,_0x33709c(0x217));return;}}if(this[_0x33709c(0x24c)]['verifyClient']){const _0x1a62bd={'origin':_0x47a99d[_0x33709c(0x295)][''+(_0x36e8e2===0x8?_0x33709c(0x20c):_0x33709c(0x1b8))],'secure':!!(_0x47a99d[_0x33709c(0x1d0)][_0x33709c(0x229)]||_0x47a99d['socket'][_0x33709c(0x335)]),'req':_0x47a99d};if(this[_0x33709c(0x24c)][_0x33709c(0x28d)]['length']===0x2){this['options'][_0x33709c(0x28d)](_0x1a62bd,(_0x4ed101,_0x125353,_0x30f74d,_0x440737)=>{const _0x3774d7=_0x33709c;if(!_0x4ed101)return _0x3cee69(_0x1cde57,_0x125353||0x191,_0x30f74d,_0x440737);this[_0x3774d7(0x33e)](_0x3f4cc1,_0x18535e,_0x837adb,_0x47a99d,_0x1cde57,_0x332f70,_0x345aaa);});return;}if(!this[_0x33709c(0x24c)][_0x33709c(0x28d)](_0x1a62bd))return _0x3cee69(_0x1cde57,0x191);}this[_0x33709c(0x33e)](_0x3f4cc1,_0x18535e,_0x837adb,_0x47a99d,_0x1cde57,_0x332f70,_0x345aaa);}[_0x3bd09c(0x33e)](_0x473d8e,_0xb3e070,_0xc4603c,_0x592410,_0x1d3e33,_0x5b9286,_0x10dd4f){const _0x4210e1=_0x3bd09c;if(!_0x1d3e33['readable']||!_0x1d3e33[_0x4210e1(0x2af)])return _0x1d3e33[_0x4210e1(0x24a)]();if(_0x1d3e33[_0x1d17b7])throw new Error(_0x4210e1(0x267));if(this['_state']>_0x111e12)return _0x3cee69(_0x1d3e33,0x1f7);const _0x1f3891=[_0x4210e1(0x2d6),_0x4210e1(0x300),_0x4210e1(0x187),_0x4210e1(0x1c0)+_0xea5c6d(_0x4210e1(0x2db))[_0x4210e1(0x244)](_0xb3e070+_0x3deb41)[_0x4210e1(0x1bc)](_0x4210e1(0x2da))],_0x588049=new this['options']['WebSocket'](null,void 0x0,this[_0x4210e1(0x24c)]);if(_0xc4603c[_0x4210e1(0x281)]){const _0x394975=this[_0x4210e1(0x24c)]['handleProtocols']?this['options']['handleProtocols'](_0xc4603c,_0x592410):_0xc4603c[_0x4210e1(0x2b4)]()[_0x4210e1(0x278)]()[_0x4210e1(0x302)];_0x394975&&(_0x1f3891[_0x4210e1(0x273)](_0x4210e1(0x1f9)+_0x394975),_0x588049['_protocol']=_0x394975);}if(_0x473d8e[_0x9f02fe['extensionName']]){const _0x24689a=_0x473d8e[_0x9f02fe[_0x4210e1(0x1b2)]]['params'],_0x52621a=_0x3c58c7['format']({[_0x9f02fe[_0x4210e1(0x1b2)]]:[_0x24689a]});_0x1f3891['push'](_0x4210e1(0x331)+_0x52621a),_0x588049[_0x4210e1(0x285)]=_0x473d8e;}this['emit']('headers',_0x1f3891,_0x592410),_0x1d3e33[_0x4210e1(0x2e9)](_0x1f3891[_0x4210e1(0x1b7)]('\x0d\x0a')[_0x4210e1(0x216)]('\x0d\x0a')),_0x1d3e33['removeListener'](_0x4210e1(0x27c),_0x36c043),_0x588049[_0x4210e1(0x1e0)](_0x1d3e33,_0x5b9286,{'allowSynchronousEvents':this[_0x4210e1(0x24c)][_0x4210e1(0x307)],'maxPayload':this['options'][_0x4210e1(0x317)],'skipUTF8Validation':this[_0x4210e1(0x24c)][_0x4210e1(0x23b)]}),this[_0x4210e1(0x210)]&&(this[_0x4210e1(0x210)]['add'](_0x588049),_0x588049['on'](_0x4210e1(0x28f),()=>{const _0x37b0eb=_0x4210e1;this['clients'][_0x37b0eb(0x255)](_0x588049),this[_0x37b0eb(0x195)]&&!this[_0x37b0eb(0x210)][_0x37b0eb(0x281)]&&process[_0x37b0eb(0x1ff)](_0xf7ed69,this);})),_0x10dd4f(_0x588049,_0x592410);}}Te=_0x2b0d2d;function _0x40b70e(_0x16411f,_0x562852){for(const _0x124574 of Object['keys'](_0x562852))_0x16411f['on'](_0x124574,_0x562852[_0x124574]);return function(){const _0x8eeca6=_0x4bf3;for(const _0x3372b1 of Object[_0x8eeca6(0x228)](_0x562852))_0x16411f['removeListener'](_0x3372b1,_0x562852[_0x3372b1]);};}function _0xf7ed69(_0x7a4409){const _0x55d07a=_0x3bd09c;_0x7a4409[_0x55d07a(0x2ac)]=_0x458304,_0x7a4409['emit'](_0x55d07a(0x28f));}function _0x36c043(){const _0x3f17e6=_0x3bd09c;this[_0x3f17e6(0x24a)]();}function _0x3cee69(_0x4e3037,_0x3a0071,_0xa5ab55,_0x30eb2e){const _0x28c91=_0x3bd09c;_0xa5ab55=_0xa5ab55||_0x896355[_0x28c91(0x191)][_0x3a0071],_0x30eb2e={'Connection':_0x28c91(0x28f),'Content-Type':_0x28c91(0x31c),'Content-Length':Buffer[_0x28c91(0x2ed)](_0xa5ab55),..._0x30eb2e},_0x4e3037[_0x28c91(0x232)](_0x28c91(0x258),_0x4e3037[_0x28c91(0x24a)]),_0x4e3037[_0x28c91(0x1a9)]('HTTP/1.1\x20'+_0x3a0071+'\x20'+_0x896355[_0x28c91(0x191)][_0x3a0071]+'\x0d\x0a'+Object[_0x28c91(0x228)](_0x30eb2e)[_0x28c91(0x225)](_0x41c0b3=>_0x41c0b3+':\x20'+_0x30eb2e[_0x41c0b3])[_0x28c91(0x216)]('\x0d\x0a')+_0x28c91(0x30a)+_0xa5ab55);}function _0x7a6b41(_0x51d2d0,_0x2bc2bf,_0x1fb1bd,_0x34c3cc,_0x326b57,_0x4fc7ca){const _0x5985fd=_0x3bd09c;if(_0x51d2d0[_0x5985fd(0x25a)](_0x5985fd(0x2e3))){const _0xbf1fed=new Error(_0x326b57);Error[_0x5985fd(0x205)](_0xbf1fed,_0x7a6b41),_0x51d2d0['emit'](_0x5985fd(0x2e3),_0xbf1fed,_0x1fb1bd,_0x2bc2bf);}else _0x3cee69(_0x1fb1bd,_0x34c3cc,_0x326b57,_0x4fc7ca);}return Te;}Ft();var jt=Object[_0x4ec5cf(0x17d)],Wt=(_0x258bdd,_0x4772fa,_0xcf1671,_0x20520a)=>{const _0x59fed6=_0x4ec5cf;for(var _0x5be309=_0x20520a>0x1?void 0x0:_0x20520a?jt(_0x4772fa,_0xcf1671):_0x4772fa,_0x2d9df7=_0x258bdd[_0x59fed6(0x17b)]-0x1,_0x11234f;_0x2d9df7>=0x0;_0x2d9df7--)(_0x11234f=_0x258bdd[_0x2d9df7])&&(_0x5be309=_0x11234f(_0x5be309)||_0x5be309);return _0x5be309;},qt=(_0xc94610,_0x2b59ef)=>(_0x1533e9,_0x2e0293)=>_0x2b59ef(_0x1533e9,_0x2e0293,_0xc94610);let ke=class extends A[_0x4ec5cf(0x2fb)]{constructor(_0x23ac49){super(),this['_configService']=_0x23ac49;}[_0x4ec5cf(0x33a)](_0xe222aa){const _0x197b9a=_0x4ec5cf;var _0x11614a;const _0x53fc2d=(_0x11614a=this[_0x197b9a(0x24e)]['getConfig'](fe))==null?void 0x0:_0x11614a['customHeaders'];try{const _0x48a76b=new $t(_0xe222aa,{'headers':{..._0x53fc2d}}),_0x326d7d=new A[(_0x197b9a(0x312))]();return{'URL':_0xe222aa,'close':(_0x55a894,_0x1192ea)=>{const _0x592ca7=_0x197b9a;_0x48a76b[_0x592ca7(0x28f)](_0x55a894,_0x1192ea),_0x326d7d['dispose']();},'send':_0x15e4e5=>{const _0x961cad=_0x197b9a;_0x48a76b[_0x961cad(0x1c1)](_0x15e4e5);},'open$':new V[(_0x197b9a(0x309))](_0x3856bc=>{const _0x103985=_0x197b9a,_0x10fff9=_0x1bb0d4=>_0x3856bc[_0x103985(0x278)](_0x1bb0d4);_0x48a76b['addEventListener'](_0x103985(0x237),_0x10fff9),_0x326d7d[_0x103985(0x211)](A[_0x103985(0x287)](()=>_0x48a76b[_0x103985(0x2b2)](_0x103985(0x237),_0x10fff9)));})['pipe'](V[_0x197b9a(0x27e)]()),'close$':new V['Observable'](_0x200285=>{const _0x5805d4=_0x197b9a,_0x5d7827=_0x867b65=>_0x200285['next'](_0x867b65);_0x48a76b['addEventListener'](_0x5805d4(0x28f),_0x5d7827),_0x326d7d['add'](A[_0x5805d4(0x287)](()=>_0x48a76b[_0x5805d4(0x2b2)](_0x5805d4(0x28f),_0x5d7827)));})[_0x197b9a(0x1d9)](V[_0x197b9a(0x27e)]()),'error$':new V[(_0x197b9a(0x309))](_0x195399=>{const _0xafd6ff=_0x197b9a,_0x519188=_0x5e5051=>_0x195399[_0xafd6ff(0x278)](_0x5e5051);_0x48a76b[_0xafd6ff(0x31a)](_0xafd6ff(0x27c),_0x519188),_0x326d7d[_0xafd6ff(0x211)](A[_0xafd6ff(0x287)](()=>_0x48a76b['removeEventListener'](_0xafd6ff(0x27c),_0x519188)));})['pipe'](V[_0x197b9a(0x27e)]()),'message$':new V['Observable'](_0x3e1570=>{const _0x5b1bad=_0x197b9a,_0xd20ca2=_0x19c580=>_0x3e1570[_0x5b1bad(0x278)](_0x19c580);_0x48a76b[_0x5b1bad(0x31a)]('message',_0xd20ca2),_0x326d7d[_0x5b1bad(0x211)](A['toDisposable'](()=>_0x48a76b[_0x5b1bad(0x2b2)](_0x5b1bad(0x214),_0xd20ca2)));})[_0x197b9a(0x1d9)](V[_0x197b9a(0x27e)]())};}catch(_0x176920){return console[_0x197b9a(0x27c)](_0x176920),null;}}};ke=Wt([qt(0x0,A[_0x4ec5cf(0x310)])],ke);var Gt=Object[_0x4ec5cf(0x2ff)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x1b33dc,_0x47c262,_0x2d76c0)=>_0x47c262 in _0x1b33dc?Gt(_0x1b33dc,_0x47c262,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d76c0}):_0x1b33dc[_0x47c262]=_0x2d76c0,zt=(_0x348ac8,_0x58b7f0,_0x1d0428,_0x27a7df)=>{const _0x346ac2=_0x4ec5cf;for(var _0x65a599=_0x27a7df>0x1?void 0x0:_0x27a7df?Vt(_0x58b7f0,_0x1d0428):_0x58b7f0,_0x50e9ef=_0x348ac8[_0x346ac2(0x17b)]-0x1,_0x53451e;_0x50e9ef>=0x0;_0x50e9ef--)(_0x53451e=_0x348ac8[_0x50e9ef])&&(_0x65a599=_0x53451e(_0x65a599)||_0x65a599);return _0x65a599;},Ne=(_0x49a6ed,_0x36753d)=>(_0x566124,_0x47815f)=>_0x36753d(_0x566124,_0x47815f,_0x49a6ed),Yt=(_0x470341,_0x5df80b,_0x31c6d8)=>Ht(_0x470341,_0x5df80b+'',_0x31c6d8);exports[_0x4ec5cf(0x227)]=class extends A[_0x4ec5cf(0x297)]{constructor(_0x2c2c33=Ct,_0x100603,_0x2ecee3,_0xdc64ad){const _0x4828d0=_0x4ec5cf;_0x2c2c33[_0x4828d0(0x2d5)]||_0x100603[_0x4828d0(0x269)](_0x4828d0(0x204)),super(),this['_configService']=_0x2ecee3,this[_0x4828d0(0x296)]=_0xdc64ad,this[_0x4828d0(0x24e)][_0x4828d0(0x329)](fe,_0x2c2c33);}[_0x4ec5cf(0x2a3)](){this['_registerDependencies']();}[_0x4ec5cf(0x1e2)](){const _0x382d0f=_0x4ec5cf;A[_0x382d0f(0x289)](this[_0x382d0f(0x296)],[[it[_0x382d0f(0x236)],{'useClass':ke}]]);}},Yt(exports[_0x4ec5cf(0x227)],'pluginName',_0x4ec5cf(0x247)),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x4ec5cf(0x262)]),Ne(0x2,A[_0x4ec5cf(0x310)]),Ne(0x3,A[_0x4ec5cf(0x202)](A[_0x4ec5cf(0x256)]))],exports[_0x4ec5cf(0x227)]);var Kt=Object[_0x4ec5cf(0x17d)],Xt=(_0x483a97,_0x4ba6ef,_0xd2dea0,_0x16d810)=>{const _0x4587cd=_0x4ec5cf;for(var _0xb2b0a2=_0x16d810>0x1?void 0x0:_0x16d810?Kt(_0x4ba6ef,_0xd2dea0):_0x4ba6ef,_0x4968e5=_0x483a97[_0x4587cd(0x17b)]-0x1,_0x318a06;_0x4968e5>=0x0;_0x4968e5--)(_0x318a06=_0x483a97[_0x4968e5])&&(_0xb2b0a2=_0x318a06(_0xb2b0a2)||_0xb2b0a2);return _0xb2b0a2;},ne=(_0xdc04fa,_0x32d8d6)=>(_0x360983,_0x4174c3)=>_0x32d8d6(_0x360983,_0x4174c3,_0xdc04fa);exports['NodeCollaborationSocketService']=class extends st[_0x4ec5cf(0x1c2)]{constructor(_0x3c0879,_0x4fcf46,_0x463f7c,_0x5baa9a,_0x4aa266){const _0x17b644=_0x4ec5cf;super(_0x3c0879,_0x4fcf46,_0x463f7c,_0x5baa9a,_0x4aa266);const _0x25aba8=this[_0x17b644(0x24e)][_0x17b644(0x33f)](fe);this['_httpService'][_0x17b644(0x1cb)]({'interceptor':(_0x19821c,_0x3de18a)=>{const _0x3f6b18=_0x17b644;var _0xe60f92;const _0x48ef14=_0x19821c[_0x3f6b18(0x295)];return(_0xe60f92=_0x25aba8==null?void 0x0:_0x25aba8[_0x3f6b18(0x2d5)])!=null&&_0xe60f92['cookie']&&_0x48ef14[_0x3f6b18(0x1e4)](_0x3f6b18(0x2c8),_0x25aba8['customHeaders']['cookie']),_0x3de18a(_0x19821c);}});}async['createSocket'](_0x423586){const _0x117e06=_0x4ec5cf;return this[_0x117e06(0x276)](_0x423586);}},exports[_0x4ec5cf(0x332)]=Xt([ne(0x0,A[_0x4ec5cf(0x202)](A[_0x4ec5cf(0x256)])),ne(0x1,A[_0x4ec5cf(0x202)](it[_0x4ec5cf(0x1c4)])),ne(0x2,A[_0x4ec5cf(0x310)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x4ec5cf(0x2f7)])],exports['NodeCollaborationSocketService']),exports[_0x4ec5cf(0x1f4)]=fe;
1
+ 'use strict';const _0x3a24cf=_0x5ab4;(function(_0x1c86f1,_0x59e07f){const _0x3eb987=_0x5ab4,_0x2fad78=_0x1c86f1();while(!![]){try{const _0x55f4b0=parseInt(_0x3eb987(0x1f3))/0x1+parseInt(_0x3eb987(0x245))/0x2+-parseInt(_0x3eb987(0x1e6))/0x3+-parseInt(_0x3eb987(0x11c))/0x4+parseInt(_0x3eb987(0x204))/0x5+parseInt(_0x3eb987(0x222))/0x6+-parseInt(_0x3eb987(0x257))/0x7;if(_0x55f4b0===_0x59e07f)break;else _0x2fad78['push'](_0x2fad78['shift']());}catch(_0x3741c6){_0x2fad78['push'](_0x2fad78['shift']());}}}(_0x530d,0x74565));Object[_0x3a24cf(0xee)](exports,Symbol[_0x3a24cf(0x19a)],{'value':_0x3a24cf(0x135)});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=_0x3a24cf(0x107),Ct={'customHeaders':{}};function Tt(_0x4cce8a){const _0x2f0785=_0x3a24cf;return _0x4cce8a&&_0x4cce8a[_0x2f0785(0x1ef)]&&Object[_0x2f0785(0x1ad)][_0x2f0785(0x19c)][_0x2f0785(0x124)](_0x4cce8a,'default')?_0x4cce8a[_0x2f0785(0x1a9)]:_0x4cce8a;}function at(_0xe1c227){const _0x54acbe=_0x3a24cf;if(Object[_0x54acbe(0x1ad)][_0x54acbe(0x19c)][_0x54acbe(0x124)](_0xe1c227,'__esModule'))return _0xe1c227;var _0x54939c=_0xe1c227[_0x54acbe(0x1a9)];if(typeof _0x54939c==_0x54acbe(0x138)){var _0x40ab16=function _0x53fa10(){const _0x2c4039=_0x54acbe;var _0xfed33b=!0x1;try{_0xfed33b=this instanceof _0x53fa10;}catch{}return _0xfed33b?Reflect[_0x2c4039(0x187)](_0x54939c,arguments,this[_0x2c4039(0x199)]):_0x54939c[_0x2c4039(0xdc)](this,arguments);};_0x40ab16['prototype']=_0x54939c[_0x54acbe(0x1ad)];}else _0x40ab16={};return Object[_0x54acbe(0xee)](_0x40ab16,_0x54acbe(0x1ef),{'value':!0x0}),Object[_0x54acbe(0x203)](_0xe1c227)[_0x54acbe(0x274)](function(_0x116f58){const _0x9eea0=_0x54acbe;var _0x4a7f3a=Object[_0x9eea0(0x24a)](_0xe1c227,_0x116f58);Object[_0x9eea0(0xee)](_0x40ab16,_0x116f58,_0x4a7f3a[_0x9eea0(0x1f5)]?_0x4a7f3a:{'enumerable':!0x0,'get':function(){return _0xe1c227[_0x116f58];}});}),_0x40ab16;}var se={'exports':{}},ge,Ge;function H(){const _0x23e61c=_0x3a24cf;if(Ge)return ge;Ge=0x1;const _0x2d78dc=[_0x23e61c(0xfc),_0x23e61c(0x18f),_0x23e61c(0x1cd)],_0x4be94a=typeof Blob<'u';return _0x4be94a&&_0x2d78dc[_0x23e61c(0x1be)](_0x23e61c(0x1ba)),ge={'BINARY_TYPES':_0x2d78dc,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x23e61c(0x252),'hasBlob':_0x4be94a,'kForOnEventAttribute':Symbol(_0x23e61c(0x1df)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x23e61c(0x10c)),'kWebSocket':Symbol(_0x23e61c(0x153)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x3a24cf(0x22a)](Object[_0x3a24cf(0xee)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x3a24cf(0x135)})),Lt=at(kt);var Ve;function ce(){const _0x146418=_0x3a24cf;if(Ve)return se[_0x146418(0x21b)];Ve=0x1;const {EMPTY_BUFFER:_0x44678c}=H(),_0x4090ec=Buffer[Symbol[_0x146418(0x265)]];function _0x398bb5(_0x38487f,_0x103920){const _0x3bc86b=_0x146418;if(_0x38487f[_0x3bc86b(0x232)]===0x0)return _0x44678c;if(_0x38487f[_0x3bc86b(0x232)]===0x1)return _0x38487f[0x0];const _0x1a1be6=Buffer[_0x3bc86b(0x20e)](_0x103920);let _0x3000ae=0x0;for(let _0x2179d9=0x0;_0x2179d9<_0x38487f[_0x3bc86b(0x232)];_0x2179d9++){const _0x16b4fd=_0x38487f[_0x2179d9];_0x1a1be6['set'](_0x16b4fd,_0x3000ae),_0x3000ae+=_0x16b4fd[_0x3bc86b(0x232)];}return _0x3000ae<_0x103920?new _0x4090ec(_0x1a1be6[_0x3bc86b(0x129)],_0x1a1be6[_0x3bc86b(0x241)],_0x3000ae):_0x1a1be6;}function _0x50b8b1(_0x29973a,_0x3748ca,_0x4ab8d7,_0x618848,_0x1c5f38){for(let _0x139add=0x0;_0x139add<_0x1c5f38;_0x139add++)_0x4ab8d7[_0x618848+_0x139add]=_0x29973a[_0x139add]^_0x3748ca[_0x139add&0x3];}function _0x5eac86(_0x4c30d9,_0x15abf7){const _0x5097c3=_0x146418;for(let _0x36a2bc=0x0;_0x36a2bc<_0x4c30d9[_0x5097c3(0x232)];_0x36a2bc++)_0x4c30d9[_0x36a2bc]^=_0x15abf7[_0x36a2bc&0x3];}function _0x2c585e(_0x51b522){const _0x2990aa=_0x146418;return _0x51b522['length']===_0x51b522['buffer']['byteLength']?_0x51b522['buffer']:_0x51b522[_0x2990aa(0x129)]['slice'](_0x51b522[_0x2990aa(0x241)],_0x51b522[_0x2990aa(0x241)]+_0x51b522[_0x2990aa(0x232)]);}function _0x2f7cf8(_0x51274d){const _0x458c68=_0x146418;if(_0x2f7cf8[_0x458c68(0x133)]=!0x0,Buffer['isBuffer'](_0x51274d))return _0x51274d;let _0x58117a;return _0x51274d instanceof ArrayBuffer?_0x58117a=new _0x4090ec(_0x51274d):ArrayBuffer['isView'](_0x51274d)?_0x58117a=new _0x4090ec(_0x51274d['buffer'],_0x51274d[_0x458c68(0x241)],_0x51274d['byteLength']):(_0x58117a=Buffer[_0x458c68(0x249)](_0x51274d),_0x2f7cf8[_0x458c68(0x133)]=!0x1),_0x58117a;}if(se['exports']={'concat':_0x398bb5,'mask':_0x50b8b1,'toArrayBuffer':_0x2c585e,'toBuffer':_0x2f7cf8,'unmask':_0x5eac86},!process[_0x146418(0x16e)]['WS_NO_BUFFER_UTIL'])try{const _0x21deea=Lt;se[_0x146418(0x21b)][_0x146418(0x243)]=function(_0x134519,_0x542130,_0x46b919,_0x515964,_0x23e5c2){_0x23e5c2<0x30?_0x50b8b1(_0x134519,_0x542130,_0x46b919,_0x515964,_0x23e5c2):_0x21deea['mask'](_0x134519,_0x542130,_0x46b919,_0x515964,_0x23e5c2);},se['exports'][_0x146418(0x214)]=function(_0x20f9a3,_0x2225e7){const _0x2ff105=_0x146418;_0x20f9a3[_0x2ff105(0x232)]<0x20?_0x5eac86(_0x20f9a3,_0x2225e7):_0x21deea[_0x2ff105(0x214)](_0x20f9a3,_0x2225e7);};}catch{}return se[_0x146418(0x21b)];}var ye,He;function Pt(){const _0x229200=_0x3a24cf;if(He)return ye;He=0x1;const _0x307dd1=Symbol(_0x229200(0x13f)),_0x2c3794=Symbol('kRun');class _0x1c9666{constructor(_0x1e383e){const _0x385e28=_0x229200;this[_0x307dd1]=()=>{const _0x20d2aa=_0x5ab4;this[_0x20d2aa(0x275)]--,this[_0x2c3794]();},this[_0x385e28(0x1b0)]=_0x1e383e||0x1/0x0,this[_0x385e28(0x1e9)]=[],this[_0x385e28(0x275)]=0x0;}[_0x229200(0x1b5)](_0x452700){const _0x43cc76=_0x229200;this['jobs'][_0x43cc76(0x1be)](_0x452700),this[_0x2c3794]();}[_0x2c3794](){const _0x1760a4=_0x229200;if(this[_0x1760a4(0x275)]!==this[_0x1760a4(0x1b0)]&&this['jobs'][_0x1760a4(0x232)]){const _0x18d719=this[_0x1760a4(0x1e9)][_0x1760a4(0x146)]();this['pending']++,_0x18d719(this[_0x307dd1]);}}}return ye=_0x1c9666,ye;}var ve,ze;function he(){const _0x3d4f28=_0x3a24cf;if(ze)return ve;ze=0x1;const _0x4c7a74=bt,_0x324b90=ce(),_0x4f9091=Pt(),{kStatusCode:_0xcc83fc}=H(),_0x5e309c=Buffer[Symbol[_0x3d4f28(0x265)]],_0x69c29e=Buffer[_0x3d4f28(0x249)]([0x0,0x0,0xff,0xff]),_0x52e6ea=Symbol(_0x3d4f28(0x13c)),_0x26c0ed=Symbol(_0x3d4f28(0x162)),_0x5b1660=Symbol('callback'),_0xa5f7a=Symbol('buffers'),_0x3c49b5=Symbol(_0x3d4f28(0x192));let _0x53dee5;class _0x22820e{constructor(_0x3ff16b,_0x2854a4,_0x2f1768){const _0x5ca285=_0x3d4f28;if(this[_0x5ca285(0x287)]=_0x2f1768|0x0,this[_0x5ca285(0x225)]=_0x3ff16b||{},this['_threshold']=this[_0x5ca285(0x225)][_0x5ca285(0x27c)]!==void 0x0?this[_0x5ca285(0x225)][_0x5ca285(0x27c)]:0x400,this['_isServer']=!!_0x2854a4,this[_0x5ca285(0x251)]=null,this[_0x5ca285(0xe8)]=null,this[_0x5ca285(0x212)]=null,!_0x53dee5){const _0xe1b151=this[_0x5ca285(0x225)][_0x5ca285(0x23f)]!==void 0x0?this[_0x5ca285(0x225)][_0x5ca285(0x23f)]:0xa;_0x53dee5=new _0x4f9091(_0xe1b151);}}static get['extensionName'](){const _0x4f6a54=_0x3d4f28;return _0x4f6a54(0x13c);}['offer'](){const _0x4ee7fb=_0x3d4f28,_0x1e3a29={};return this['_options']['serverNoContextTakeover']&&(_0x1e3a29['server_no_context_takeover']=!0x0),this[_0x4ee7fb(0x225)][_0x4ee7fb(0x11e)]&&(_0x1e3a29[_0x4ee7fb(0x18e)]=!0x0),this[_0x4ee7fb(0x225)]['serverMaxWindowBits']&&(_0x1e3a29[_0x4ee7fb(0x151)]=this['_options'][_0x4ee7fb(0x224)]),this[_0x4ee7fb(0x225)][_0x4ee7fb(0x26e)]?_0x1e3a29[_0x4ee7fb(0x235)]=this[_0x4ee7fb(0x225)][_0x4ee7fb(0x26e)]:this[_0x4ee7fb(0x225)][_0x4ee7fb(0x26e)]==null&&(_0x1e3a29[_0x4ee7fb(0x235)]=!0x0),_0x1e3a29;}[_0x3d4f28(0x169)](_0x45059c){const _0x493afa=_0x3d4f28;return _0x45059c=this[_0x493afa(0x108)](_0x45059c),this['params']=this[_0x493afa(0x173)]?this[_0x493afa(0xf2)](_0x45059c):this[_0x493afa(0x1d9)](_0x45059c),this[_0x493afa(0x212)];}[_0x3d4f28(0x27b)](){const _0x1eac9c=_0x3d4f28;if(this[_0x1eac9c(0xe8)]&&(this[_0x1eac9c(0xe8)][_0x1eac9c(0x21a)](),this[_0x1eac9c(0xe8)]=null),this[_0x1eac9c(0x251)]){const _0x51cf2d=this[_0x1eac9c(0x251)][_0x5b1660];this['_deflate']['close'](),this[_0x1eac9c(0x251)]=null,_0x51cf2d&&_0x51cf2d(new Error(_0x1eac9c(0x11d)));}}[_0x3d4f28(0xf2)](_0x6a9e16){const _0x129e8b=_0x3d4f28,_0x305b83=this['_options'],_0x3a8b88=_0x6a9e16[_0x129e8b(0x24d)](_0x2581ae=>!(_0x305b83[_0x129e8b(0x1da)]===!0x1&&_0x2581ae['server_no_context_takeover']||_0x2581ae[_0x129e8b(0x151)]&&(_0x305b83['serverMaxWindowBits']===!0x1||typeof _0x305b83[_0x129e8b(0x224)]=='number'&&_0x305b83['serverMaxWindowBits']>_0x2581ae[_0x129e8b(0x151)])||typeof _0x305b83[_0x129e8b(0x26e)]==_0x129e8b(0x1fb)&&!_0x2581ae[_0x129e8b(0x235)]));if(!_0x3a8b88)throw new Error(_0x129e8b(0x1fe));return _0x305b83[_0x129e8b(0x1da)]&&(_0x3a8b88[_0x129e8b(0xf1)]=!0x0),_0x305b83[_0x129e8b(0x11e)]&&(_0x3a8b88[_0x129e8b(0x18e)]=!0x0),typeof _0x305b83[_0x129e8b(0x224)]==_0x129e8b(0x1fb)&&(_0x3a8b88[_0x129e8b(0x151)]=_0x305b83['serverMaxWindowBits']),typeof _0x305b83[_0x129e8b(0x26e)]=='number'?_0x3a8b88[_0x129e8b(0x235)]=_0x305b83[_0x129e8b(0x26e)]:(_0x3a8b88['client_max_window_bits']===!0x0||_0x305b83[_0x129e8b(0x26e)]===!0x1)&&delete _0x3a8b88[_0x129e8b(0x235)],_0x3a8b88;}[_0x3d4f28(0x1d9)](_0x1b04f0){const _0x3d605d=_0x3d4f28,_0x592ad6=_0x1b04f0[0x0];if(this[_0x3d605d(0x225)]['clientNoContextTakeover']===!0x1&&_0x592ad6[_0x3d605d(0x18e)])throw new Error(_0x3d605d(0x13e));if(!_0x592ad6[_0x3d605d(0x235)])typeof this[_0x3d605d(0x225)][_0x3d605d(0x26e)]=='number'&&(_0x592ad6[_0x3d605d(0x235)]=this['_options'][_0x3d605d(0x26e)]);else{if(this['_options'][_0x3d605d(0x26e)]===!0x1||typeof this[_0x3d605d(0x225)]['clientMaxWindowBits']=='number'&&_0x592ad6[_0x3d605d(0x235)]>this[_0x3d605d(0x225)][_0x3d605d(0x26e)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x592ad6;}[_0x3d4f28(0x108)](_0xcbfcba){const _0x1f5503=_0x3d4f28;return _0xcbfcba[_0x1f5503(0x274)](_0x24c014=>{const _0x58975e=_0x1f5503;Object[_0x58975e(0x203)](_0x24c014)[_0x58975e(0x274)](_0xac373b=>{const _0x1aec17=_0x58975e;let _0x118b63=_0x24c014[_0xac373b];if(_0x118b63[_0x1aec17(0x232)]>0x1)throw new Error(_0x1aec17(0x1d5)+_0xac373b+_0x1aec17(0x167));if(_0x118b63=_0x118b63[0x0],_0xac373b===_0x1aec17(0x235)){if(_0x118b63!==!0x0){const _0x409064=+_0x118b63;if(!Number['isInteger'](_0x409064)||_0x409064<0x8||_0x409064>0xf)throw new TypeError(_0x1aec17(0x1ee)+_0xac373b+_0x1aec17(0x15d)+_0x118b63);_0x118b63=_0x409064;}else{if(!this['_isServer'])throw new TypeError(_0x1aec17(0x1ee)+_0xac373b+_0x1aec17(0x15d)+_0x118b63);}}else{if(_0xac373b===_0x1aec17(0x151)){const _0x35800a=+_0x118b63;if(!Number[_0x1aec17(0x278)](_0x35800a)||_0x35800a<0x8||_0x35800a>0xf)throw new TypeError(_0x1aec17(0x1ee)+_0xac373b+'\x22:\x20'+_0x118b63);_0x118b63=_0x35800a;}else{if(_0xac373b==='client_no_context_takeover'||_0xac373b===_0x1aec17(0xf1)){if(_0x118b63!==!0x0)throw new TypeError(_0x1aec17(0x1ee)+_0xac373b+_0x1aec17(0x15d)+_0x118b63);}else throw new Error('Unknown\x20parameter\x20\x22'+_0xac373b+'\x22');}}_0x24c014[_0xac373b]=_0x118b63;});}),_0xcbfcba;}[_0x3d4f28(0xda)](_0x2e9bab,_0x487481,_0xe2000a){_0x53dee5['add'](_0x106bee=>{const _0x1d0dac=_0x5ab4;this[_0x1d0dac(0x205)](_0x2e9bab,_0x487481,(_0x2a9abb,_0x704232)=>{_0x106bee(),_0xe2000a(_0x2a9abb,_0x704232);});});}['compress'](_0x423d4f,_0x5c9970,_0x69e116){const _0x484720=_0x3d4f28;_0x53dee5[_0x484720(0x1b5)](_0x4e1457=>{const _0x544e6a=_0x484720;this[_0x544e6a(0x25c)](_0x423d4f,_0x5c9970,(_0x56df47,_0x50faee)=>{_0x4e1457(),_0x69e116(_0x56df47,_0x50faee);});});}[_0x3d4f28(0x205)](_0x228ab1,_0x311390,_0xf938e3){const _0xb09cac=_0x3d4f28,_0x178064=this['_isServer']?_0xb09cac(0x1cc):_0xb09cac(0x103);if(!this[_0xb09cac(0xe8)]){const _0x49f673=_0x178064+'_max_window_bits',_0x32ccdf=typeof this[_0xb09cac(0x212)][_0x49f673]!=_0xb09cac(0x1fb)?_0x4c7a74[_0xb09cac(0x170)]:this[_0xb09cac(0x212)][_0x49f673];this[_0xb09cac(0xe8)]=_0x4c7a74[_0xb09cac(0x272)]({...this[_0xb09cac(0x225)][_0xb09cac(0x1a3)],'windowBits':_0x32ccdf}),this[_0xb09cac(0xe8)][_0x52e6ea]=this,this['_inflate'][_0x26c0ed]=0x0,this[_0xb09cac(0xe8)][_0xa5f7a]=[],this['_inflate']['on'](_0xb09cac(0x192),_0x478ac7),this['_inflate']['on'](_0xb09cac(0xea),_0x21fbb4);}this[_0xb09cac(0xe8)][_0x5b1660]=_0xf938e3,this[_0xb09cac(0xe8)]['write'](_0x228ab1),_0x311390&&this[_0xb09cac(0xe8)][_0xb09cac(0x172)](_0x69c29e),this[_0xb09cac(0xe8)][_0xb09cac(0xd8)](()=>{const _0x2a056a=_0xb09cac,_0xaf0ad8=this[_0x2a056a(0xe8)][_0x3c49b5];if(_0xaf0ad8){this[_0x2a056a(0xe8)][_0x2a056a(0x21a)](),this[_0x2a056a(0xe8)]=null,_0xf938e3(_0xaf0ad8);return;}const _0xe65c2c=_0x324b90[_0x2a056a(0x105)](this[_0x2a056a(0xe8)][_0xa5f7a],this['_inflate'][_0x26c0ed]);this['_inflate'][_0x2a056a(0x1a6)][_0x2a056a(0xe3)]?(this[_0x2a056a(0xe8)][_0x2a056a(0x21a)](),this[_0x2a056a(0xe8)]=null):(this[_0x2a056a(0xe8)][_0x26c0ed]=0x0,this['_inflate'][_0xa5f7a]=[],_0x311390&&this['params'][_0x178064+_0x2a056a(0x285)]&&this['_inflate']['reset']()),_0xf938e3(null,_0xe65c2c);});}[_0x3d4f28(0x25c)](_0x58c73a,_0xc769d7,_0x2762e2){const _0x6e953b=_0x3d4f28,_0x2b4268=this['_isServer']?'server':_0x6e953b(0x1cc);if(!this[_0x6e953b(0x251)]){const _0x58d59d=_0x2b4268+_0x6e953b(0x1ca),_0x520311=typeof this[_0x6e953b(0x212)][_0x58d59d]!=_0x6e953b(0x1fb)?_0x4c7a74[_0x6e953b(0x170)]:this[_0x6e953b(0x212)][_0x58d59d];this[_0x6e953b(0x251)]=_0x4c7a74[_0x6e953b(0x277)]({...this[_0x6e953b(0x225)][_0x6e953b(0xd5)],'windowBits':_0x520311}),this[_0x6e953b(0x251)][_0x26c0ed]=0x0,this[_0x6e953b(0x251)][_0xa5f7a]=[],this[_0x6e953b(0x251)]['on'](_0x6e953b(0xea),_0xe2d269);}this['_deflate'][_0x5b1660]=_0x2762e2,this[_0x6e953b(0x251)]['write'](_0x58c73a),this[_0x6e953b(0x251)][_0x6e953b(0xd8)](_0x4c7a74[_0x6e953b(0x260)],()=>{const _0x371a5b=_0x6e953b;if(!this[_0x371a5b(0x251)])return;let _0x4fdf16=_0x324b90[_0x371a5b(0x105)](this['_deflate'][_0xa5f7a],this[_0x371a5b(0x251)][_0x26c0ed]);_0xc769d7&&(_0x4fdf16=new _0x5e309c(_0x4fdf16[_0x371a5b(0x129)],_0x4fdf16[_0x371a5b(0x241)],_0x4fdf16[_0x371a5b(0x232)]-0x4)),this['_deflate'][_0x5b1660]=null,this[_0x371a5b(0x251)][_0x26c0ed]=0x0,this[_0x371a5b(0x251)][_0xa5f7a]=[],_0xc769d7&&this['params'][_0x2b4268+_0x371a5b(0x285)]&&this[_0x371a5b(0x251)]['reset'](),_0x2762e2(null,_0x4fdf16);});}}ve=_0x22820e;function _0xe2d269(_0x405d58){const _0x5d9cca=_0x3d4f28;this[_0xa5f7a][_0x5d9cca(0x1be)](_0x405d58),this[_0x26c0ed]+=_0x405d58[_0x5d9cca(0x232)];}function _0x21fbb4(_0x128559){const _0x259e7e=_0x3d4f28;if(this[_0x26c0ed]+=_0x128559[_0x259e7e(0x232)],this[_0x52e6ea][_0x259e7e(0x287)]<0x1||this[_0x26c0ed]<=this[_0x52e6ea][_0x259e7e(0x287)]){this[_0xa5f7a][_0x259e7e(0x1be)](_0x128559);return;}this[_0x3c49b5]=new RangeError(_0x259e7e(0x26b)),this[_0x3c49b5]['code']=_0x259e7e(0x1a5),this[_0x3c49b5][_0xcc83fc]=0x3f1,this[_0x259e7e(0x1f0)](_0x259e7e(0xea),_0x21fbb4),this[_0x259e7e(0x25f)]();}function _0x478ac7(_0x3c7345){const _0x5352df=_0x3d4f28;if(this[_0x52e6ea][_0x5352df(0xe8)]=null,this[_0x3c49b5]){this[_0x5b1660](this[_0x3c49b5]);return;}_0x3c7345[_0xcc83fc]=0x3ef,this[_0x5b1660](_0x3c7345);}return ve;}var ie={'exports':{}};function _0x530d(){const _0x44021a=['pow','915274sGCuib','split','get','GET','Server\x20sent\x20an\x20invalid\x20subprotocol','includes','ws:','Invalid\x20WebSocket\x20frame:\x20','number','cookie','_originalHostOrSocketPath','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','extensions','http:','location','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','keys','3277630HMfWXx','_decompress','ISnapshotServerService','compress','isArray','clients','_generateMask','skipUTF8Validation','perMessageDeflate','string','allocUnsafe','kAborted','upgrade','kCode','params','captureStackTrace','unmask','_skipUTF8Validation','host','readyState','_sender','WS_ERR_EXPECTED_MASK','close','exports','fin','ping','getPayloadLength16','pause','The\x20\x22','_closeMessage','1252476cgDFzV','connection','serverMaxWindowBits','_options','kReason','authorized','getInfo','_autoPong','freeze','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','offer','_errorEmitted','_bufferedAmount','The\x20URL\x20contains\x20a\x20fragment\x20identifier','listen','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','length','auth','Opening\x20handshake\x20has\x20timed\x20out','client_max_window_bits','test','_injector','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','isPaused','reason','needDrain','_closeFrameSent','MASK\x20must\x20be\x20clear','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','concurrencyLimit','onopen','byteOffset','_compressed','mask','Sec-WebSocket-Accept:\x20','578744gYLZGj','verifyClient','_state','object','from','getOwnPropertyDescriptor','_maskBuffer','_fragmented','find','DisposableCollection','_removeListeners','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_deflate','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Inject','kMessage','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','4418561QUbIgd','Disposable','destroyed','_buffers','getConfig','_compress','WS_ERR_INVALID_CLOSE_CODE','_queue','reset','Z_SYNC_FLUSH','socketPath','frame','terminate','format','species','authorization','Invalid\x20Sec-WebSocket-Extensions\x20header','kTarget','_shouldEmitClose','writeUInt16BE','Max\x20payload\x20size\x20exceeded','onmessage','registerDependencies','clientMaxWindowBits','has','customHeaders','url','createInflateRaw','type','forEach','pending','controlMessage','createDeflateRaw','isInteger','_originalIpc','sha1','cleanup','threshold','timeout','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','sec-websocket-key','_fin','value','options','setTimeout','text/html','_no_context_takeover','kByteLength','_maxPayload','socket','digest','enqueue','generateMask','_extensions','createSocket','Invalid\x20Upgrade\x20header','origin','bufferedAmount','CLOSING','zlibDeflateOptions','map','port','flush','charCodeAt','decompress','handleEvent','apply','abort','pluginName','Cookie','password','slice','warn','endEmitted','noServer','pong','values','UniverCollaborationClientNodePlugin','_inflate','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','data','_fragments','read','pathname','defineProperty','Upgrade','isServer','server_no_context_takeover','acceptAsServer','maskBuffer','emitClose','RSV1\x20must\x20be\x20clear','sendFrame','dataMessage','_loop','indexOf','setConfig','href','nodebuffer','_protocol','kType','listenerCount','listening','_messageLength','WS_ERR_UNEXPECTED_RSV_1','server','protocol','concat','CLOSED','collaboration-client-node.config','normalizeParams','writable','onerror','sec-websocket-origin','status-code','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','createConnection','redirect','byteLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','The\x20URL\x27s\x20pathname\x20is\x20empty','_totalPayloadLength','WS_ERR_INVALID_OPCODE','Unexpected\x20character\x20at\x20index\x20','_closeTimer','dispatch','Invalid\x20URL:\x20','\x22\x20subprotocol\x20is\x20duplicated','destroy','update','2592044RtXKYS','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','clientNoContextTakeover','text/plain','then','replace','_writableState','ISocketService','call','_masked','share','path','defaultPort','buffer','getBlobData','statusCode','toLowerCase','writeUIntBE','allowSynchronousEvents','sec-websocket-accept','_req','protocolVersion','parse','readOnly','Invalid\x20Sec-WebSocket-Accept\x20header','Module','Sec-WebSocket-Origin','_bufferedBytes','function','delete','send','maxRedirects','permessage-deflate','ws+unix:','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','kDone','opcode','\x0d\x0a\x0d\x0a','target','_final','removeEventListener','finished','shift','code','startLoop','join','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_closeCode','connect','maxPayload','invalid\x20UTF-8\x20sequence','nextTick','readable','server_max_window_bits','CollaborationSocketService','websocket','extensionName','once','dequeue','MASK\x20must\x20be\x20set','createError','_firstFragment','encrypted','binary','conclude','\x22:\x20','IConfigService','size','WS_ERR_INVALID_UTF8','_payloadLength','total-length','Basic\x20','kData','addEventListener','ILogService','\x22\x20must\x20have\x20only\x20a\x20single\x20value','completeUpgrade','accept','isValidUTF8','Sec-WebSocket-Extensions','handleUpgrade','readUInt32BE','env','_receiver','Z_DEFAULT_WINDOWBITS','alloc','write','_isServer','_binaryType','_mask','bind','Plugin','create','readUInt16BE','toString','hash','invalid\x20status\x20code\x20','Origin','end','servername','Invalid\x20Sec-WebSocket-Protocol\x20header','shouldHandle','rsv1','_registerDependencies','invalid\x20payload\x20length\x20','setSocket','Unexpected\x20end\x20of\x20input','construct','Blob','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_socket','_opcode','Observable','_configService','client_no_context_takeover','arraybuffer','onStarting','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','error','_allowSynchronousEvents','consume','arrayBuffer','dispose','wasClean','getData','constructor','toStringTag','headers','hasOwnProperty','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','request','_errored','_redirects','hostname','Maximum\x20redirects\x20exceeded','zlibInflateOptions','_originalSecure','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_readableState','Injector','Sec-WebSocket-Extensions:\x20','default','sec-websocket-version','_closeFrameReceived','haveLength','prototype','13,\x208','_read','concurrency','listeners','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','emit','message','add','binaryType','CONNECTING','_url','DependentOn','blob','next','OPEN','open','push','wss:','sec-websocket-protocol','kWasClean','backlog','base64','pipe','search','finishRequest','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','onclose','clientTracking','_max_window_bits','COLLABORATION_CLIENT_NODE_CONFIG_KEY','client','fragments','removeAllListeners','WS_ERR_UNEXPECTED_MASK','HTTPService','finish','username','_paused','autoPong','Parameter\x20\x22','set','isIP','address','acceptAsClient','serverNoContextTakeover','errorEmitted','WS_NO_UTF_8_VALIDATE','followRedirects','STATUS_CODES','kIsForOnEventAttribute','drain','_server','sec-websocket-extensions','toDisposable','UniverCollaborationClientPlugin','kError','939501OwILwt','resume','NodeCollaborationSocketService','jobs','WS_ERR_EXPECTED_FIN','setNoDelay','_readyState','handleProtocols','Invalid\x20value\x20for\x20parameter\x20\x22','__esModule','removeListener','wsClientError'];_0x530d=function(){return _0x44021a;};return _0x530d();}const Dt={},Rt=Object[_0x3a24cf(0x22a)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x3a24cf(0x19a)],{'value':_0x3a24cf(0x135)})),Bt=at(Rt);var Ye;function ae(){const _0x3e625d=_0x3a24cf;if(Ye)return ie[_0x3e625d(0x21b)];Ye=0x1;const {isUtf8:_0x187986}=wt,{hasBlob:_0x13c462}=H(),_0x53fa55=[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 _0x576363(_0x599ded){return _0x599ded>=0x3e8&&_0x599ded<=0x3f6&&_0x599ded!==0x3ec&&_0x599ded!==0x3ed&&_0x599ded!==0x3ee||_0x599ded>=0xbb8&&_0x599ded<=0x1387;}function _0x5d4d68(_0xf19b85){const _0x3624cd=_0x3e625d,_0x190577=_0xf19b85[_0x3624cd(0x232)];let _0x5597a6=0x0;for(;_0x5597a6<_0x190577;)if((_0xf19b85[_0x5597a6]&0x80)===0x0)_0x5597a6++;else{if((_0xf19b85[_0x5597a6]&0xe0)===0xc0){if(_0x5597a6+0x1===_0x190577||(_0xf19b85[_0x5597a6+0x1]&0xc0)!==0x80||(_0xf19b85[_0x5597a6]&0xfe)===0xc0)return!0x1;_0x5597a6+=0x2;}else{if((_0xf19b85[_0x5597a6]&0xf0)===0xe0){if(_0x5597a6+0x2>=_0x190577||(_0xf19b85[_0x5597a6+0x1]&0xc0)!==0x80||(_0xf19b85[_0x5597a6+0x2]&0xc0)!==0x80||_0xf19b85[_0x5597a6]===0xe0&&(_0xf19b85[_0x5597a6+0x1]&0xe0)===0x80||_0xf19b85[_0x5597a6]===0xed&&(_0xf19b85[_0x5597a6+0x1]&0xe0)===0xa0)return!0x1;_0x5597a6+=0x3;}else{if((_0xf19b85[_0x5597a6]&0xf8)===0xf0){if(_0x5597a6+0x3>=_0x190577||(_0xf19b85[_0x5597a6+0x1]&0xc0)!==0x80||(_0xf19b85[_0x5597a6+0x2]&0xc0)!==0x80||(_0xf19b85[_0x5597a6+0x3]&0xc0)!==0x80||_0xf19b85[_0x5597a6]===0xf0&&(_0xf19b85[_0x5597a6+0x1]&0xf0)===0x80||_0xf19b85[_0x5597a6]===0xf4&&_0xf19b85[_0x5597a6+0x1]>0x8f||_0xf19b85[_0x5597a6]>0xf4)return!0x1;_0x5597a6+=0x4;}else return!0x1;}}}return!0x0;}function _0x424738(_0x4ee96c){const _0x2ac9b5=_0x3e625d;return _0x13c462&&typeof _0x4ee96c==_0x2ac9b5(0x248)&&typeof _0x4ee96c[_0x2ac9b5(0x195)]=='function'&&typeof _0x4ee96c[_0x2ac9b5(0x273)]==_0x2ac9b5(0x20d)&&typeof _0x4ee96c['stream']==_0x2ac9b5(0x138)&&(_0x4ee96c[Symbol[_0x2ac9b5(0x19a)]]===_0x2ac9b5(0x188)||_0x4ee96c[Symbol[_0x2ac9b5(0x19a)]]==='File');}if(ie[_0x3e625d(0x21b)]={'isBlob':_0x424738,'isValidStatusCode':_0x576363,'isValidUTF8':_0x5d4d68,'tokenChars':_0x53fa55},_0x187986)ie['exports']['isValidUTF8']=function(_0x323e3b){const _0x4613ee=_0x3e625d;return _0x323e3b[_0x4613ee(0x232)]<0x18?_0x5d4d68(_0x323e3b):_0x187986(_0x323e3b);};else{if(!process[_0x3e625d(0x16e)][_0x3e625d(0x1dc)])try{const _0x2e92ab=Bt;ie[_0x3e625d(0x21b)][_0x3e625d(0x16a)]=function(_0x2f5ad2){const _0x45a4e0=_0x3e625d;return _0x2f5ad2[_0x45a4e0(0x232)]<0x20?_0x5d4d68(_0x2f5ad2):_0x2e92ab(_0x2f5ad2);};}catch{}}return ie[_0x3e625d(0x21b)];}var Se,Ke;function lt(){const _0x3ef31=_0x3a24cf;if(Ke)return Se;Ke=0x1;const {Writable:_0x24dc60}=oe,_0x21c98e=he(),{BINARY_TYPES:_0x3e3757,EMPTY_BUFFER:_0x3c1039,kStatusCode:_0x508cdf,kWebSocket:_0x4edb07}=H(),{concat:_0x2611b8,toArrayBuffer:_0x4ffb10,unmask:_0x4b0519}=ce(),{isValidStatusCode:_0x5deb38,isValidUTF8:_0x7118f4}=ae(),_0x2bbdaf=Buffer[Symbol[_0x3ef31(0x265)]],_0x23d5dc=0x0,_0x23cc1e=0x1,_0x197214=0x2,_0x24e337=0x3,_0x3db19b=0x4,_0x1d04d3=0x5,_0x30a7ea=0x6;class _0x5e2413 extends _0x24dc60{constructor(_0x1b0bc2={}){const _0x17bed1=_0x3ef31;super(),this[_0x17bed1(0x193)]=_0x1b0bc2[_0x17bed1(0x12e)]!==void 0x0?_0x1b0bc2[_0x17bed1(0x12e)]:!0x0,this[_0x17bed1(0x174)]=_0x1b0bc2[_0x17bed1(0x1b6)]||_0x3e3757[0x0],this[_0x17bed1(0xcf)]=_0x1b0bc2['extensions']||{},this[_0x17bed1(0x173)]=!!_0x1b0bc2[_0x17bed1(0xf0)],this['_maxPayload']=_0x1b0bc2['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x1b0bc2[_0x17bed1(0x20b)],this[_0x4edb07]=void 0x0,this[_0x17bed1(0x137)]=0x0,this[_0x17bed1(0x25a)]=[],this['_compressed']=!0x1,this[_0x17bed1(0x161)]=0x0,this['_mask']=void 0x0,this[_0x17bed1(0x24c)]=0x0,this[_0x17bed1(0x125)]=!0x1,this[_0x17bed1(0x280)]=!0x1,this[_0x17bed1(0x18b)]=0x0,this[_0x17bed1(0x113)]=0x0,this[_0x17bed1(0x101)]=0x0,this[_0x17bed1(0xeb)]=[],this[_0x17bed1(0x19f)]=!0x1,this[_0x17bed1(0xf8)]=!0x1,this[_0x17bed1(0x247)]=_0x23d5dc;}['_write'](_0x62a1bf,_0x260ed0,_0x290252){const _0x1a5bfb=_0x3ef31;if(this[_0x1a5bfb(0x18b)]===0x8&&this[_0x1a5bfb(0x247)]==_0x23d5dc)return _0x290252();this[_0x1a5bfb(0x137)]+=_0x62a1bf['length'],this['_buffers'][_0x1a5bfb(0x1be)](_0x62a1bf),this['startLoop'](_0x290252);}[_0x3ef31(0x194)](_0x156ac3){const _0x26b3a7=_0x3ef31;if(this[_0x26b3a7(0x137)]-=_0x156ac3,_0x156ac3===this['_buffers'][0x0][_0x26b3a7(0x232)])return this[_0x26b3a7(0x25a)]['shift']();if(_0x156ac3<this[_0x26b3a7(0x25a)][0x0][_0x26b3a7(0x232)]){const _0x12d33f=this[_0x26b3a7(0x25a)][0x0];return this[_0x26b3a7(0x25a)][0x0]=new _0x2bbdaf(_0x12d33f['buffer'],_0x12d33f[_0x26b3a7(0x241)]+_0x156ac3,_0x12d33f[_0x26b3a7(0x232)]-_0x156ac3),new _0x2bbdaf(_0x12d33f[_0x26b3a7(0x129)],_0x12d33f[_0x26b3a7(0x241)],_0x156ac3);}const _0x5849de=Buffer[_0x26b3a7(0x20e)](_0x156ac3);do{const _0x47bcf5=this[_0x26b3a7(0x25a)][0x0],_0x4d49b8=_0x5849de[_0x26b3a7(0x232)]-_0x156ac3;_0x156ac3>=_0x47bcf5[_0x26b3a7(0x232)]?_0x5849de['set'](this['_buffers']['shift'](),_0x4d49b8):(_0x5849de[_0x26b3a7(0x1d6)](new Uint8Array(_0x47bcf5[_0x26b3a7(0x129)],_0x47bcf5['byteOffset'],_0x156ac3),_0x4d49b8),this['_buffers'][0x0]=new _0x2bbdaf(_0x47bcf5[_0x26b3a7(0x129)],_0x47bcf5[_0x26b3a7(0x241)]+_0x156ac3,_0x47bcf5[_0x26b3a7(0x232)]-_0x156ac3)),_0x156ac3-=_0x47bcf5[_0x26b3a7(0x232)];}while(_0x156ac3>0x0);return _0x5849de;}[_0x3ef31(0x148)](_0x469d78){const _0x522961=_0x3ef31;this[_0x522961(0xf8)]=!0x0;do switch(this[_0x522961(0x247)]){case _0x23d5dc:this['getInfo'](_0x469d78);break;case _0x23cc1e:this[_0x522961(0x21e)](_0x469d78);break;case _0x197214:this['getPayloadLength64'](_0x469d78);break;case _0x24e337:this['getMask']();break;case _0x3db19b:this[_0x522961(0x198)](_0x469d78);break;case _0x1d04d3:case _0x30a7ea:this['_loop']=!0x1;return;}while(this[_0x522961(0xf8)]);this[_0x522961(0x19f)]||_0x469d78();}[_0x3ef31(0x228)](_0x52b538){const _0x1cd327=_0x3ef31;if(this[_0x1cd327(0x137)]<0x2){this['_loop']=!0x1;return;}const _0x521522=this['consume'](0x2);if((_0x521522[0x0]&0x30)!==0x0){const _0x14e4ce=this['createError'](RangeError,_0x1cd327(0x191),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x52b538(_0x14e4ce);return;}const _0x201e49=(_0x521522[0x0]&0x40)===0x40;if(_0x201e49&&!this[_0x1cd327(0xcf)][_0x21c98e[_0x1cd327(0x154)]]){const _0xf9c475=this[_0x1cd327(0x158)](RangeError,_0x1cd327(0xf5),!0x0,0x3ea,_0x1cd327(0x102));_0x52b538(_0xf9c475);return;}if(this[_0x1cd327(0x280)]=(_0x521522[0x0]&0x80)===0x80,this[_0x1cd327(0x18b)]=_0x521522[0x0]&0xf,this[_0x1cd327(0x161)]=_0x521522[0x1]&0x7f,this[_0x1cd327(0x18b)]===0x0){if(_0x201e49){const _0x2884e4=this[_0x1cd327(0x158)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1cd327(0x102));_0x52b538(_0x2884e4);return;}if(!this['_fragmented']){const _0x3cae35=this[_0x1cd327(0x158)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x1cd327(0x114));_0x52b538(_0x3cae35);return;}this[_0x1cd327(0x18b)]=this[_0x1cd327(0x24c)];}else{if(this[_0x1cd327(0x18b)]===0x1||this[_0x1cd327(0x18b)]===0x2){if(this['_fragmented']){const _0x3db474=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x1cd327(0x114));_0x52b538(_0x3db474);return;}this[_0x1cd327(0x242)]=_0x201e49;}else{if(this[_0x1cd327(0x18b)]>0x7&&this[_0x1cd327(0x18b)]<0xb){if(!this[_0x1cd327(0x280)]){const _0x438b24=this[_0x1cd327(0x158)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1cd327(0x1ea));_0x52b538(_0x438b24);return;}if(_0x201e49){const _0x119786=this[_0x1cd327(0x158)](RangeError,_0x1cd327(0xf5),!0x0,0x3ea,_0x1cd327(0x102));_0x52b538(_0x119786);return;}if(this[_0x1cd327(0x161)]>0x7d||this[_0x1cd327(0x18b)]===0x8&&this[_0x1cd327(0x161)]===0x1){const _0x291f1d=this[_0x1cd327(0x158)](RangeError,_0x1cd327(0x184)+this[_0x1cd327(0x161)],!0x0,0x3ea,_0x1cd327(0x10d));_0x52b538(_0x291f1d);return;}}else{const _0x253af6=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x1cd327(0x18b)],!0x0,0x3ea,_0x1cd327(0x114));_0x52b538(_0x253af6);return;}}}if(!this[_0x1cd327(0x280)]&&!this[_0x1cd327(0x24c)]&&(this[_0x1cd327(0x24c)]=this['_opcode']),this[_0x1cd327(0x125)]=(_0x521522[0x1]&0x80)===0x80,this[_0x1cd327(0x173)]){if(!this[_0x1cd327(0x125)]){const _0x59b8f2=this[_0x1cd327(0x158)](RangeError,_0x1cd327(0x157),!0x0,0x3ea,_0x1cd327(0x219));_0x52b538(_0x59b8f2);return;}}else{if(this['_masked']){const _0x222afa=this[_0x1cd327(0x158)](RangeError,_0x1cd327(0x23d),!0x0,0x3ea,_0x1cd327(0x1cf));_0x52b538(_0x222afa);return;}}this[_0x1cd327(0x161)]===0x7e?this[_0x1cd327(0x247)]=_0x23cc1e:this['_payloadLength']===0x7f?this[_0x1cd327(0x247)]=_0x197214:this[_0x1cd327(0x1ac)](_0x52b538);}['getPayloadLength16'](_0x3a8900){const _0x26fbe8=_0x3ef31;if(this[_0x26fbe8(0x137)]<0x2){this['_loop']=!0x1;return;}this[_0x26fbe8(0x161)]=this['consume'](0x2)[_0x26fbe8(0x179)](0x0),this[_0x26fbe8(0x1ac)](_0x3a8900);}['getPayloadLength64'](_0x61824b){const _0x13d6a1=_0x3ef31;if(this[_0x13d6a1(0x137)]<0x8){this[_0x13d6a1(0xf8)]=!0x1;return;}const _0x5873b1=this[_0x13d6a1(0x194)](0x8),_0x30cef5=_0x5873b1[_0x13d6a1(0x16d)](0x0);if(_0x30cef5>Math[_0x13d6a1(0x1f2)](0x2,0x15)-0x1){const _0xf62776=this[_0x13d6a1(0x158)](RangeError,_0x13d6a1(0x1b2),!0x1,0x3f1,_0x13d6a1(0x256));_0x61824b(_0xf62776);return;}this[_0x13d6a1(0x161)]=_0x30cef5*Math['pow'](0x2,0x20)+_0x5873b1['readUInt32BE'](0x4),this['haveLength'](_0x61824b);}[_0x3ef31(0x1ac)](_0x39e5ed){const _0x416def=_0x3ef31;if(this[_0x416def(0x161)]&&this[_0x416def(0x18b)]<0x8&&(this[_0x416def(0x113)]+=this[_0x416def(0x161)],this[_0x416def(0x113)]>this[_0x416def(0x287)]&&this[_0x416def(0x287)]>0x0)){const _0x53cd37=this[_0x416def(0x158)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x39e5ed(_0x53cd37);return;}this['_masked']?this[_0x416def(0x247)]=_0x24e337:this['_state']=_0x3db19b;}['getMask'](){const _0x286a88=_0x3ef31;if(this[_0x286a88(0x137)]<0x4){this[_0x286a88(0xf8)]=!0x1;return;}this[_0x286a88(0x175)]=this['consume'](0x4),this['_state']=_0x3db19b;}['getData'](_0x49800c){const _0xc9752d=_0x3ef31;let _0x56e63b=_0x3c1039;if(this[_0xc9752d(0x161)]){if(this[_0xc9752d(0x137)]<this[_0xc9752d(0x161)]){this[_0xc9752d(0xf8)]=!0x1;return;}_0x56e63b=this['consume'](this['_payloadLength']),this[_0xc9752d(0x125)]&&(this[_0xc9752d(0x175)][0x0]|this['_mask'][0x1]|this[_0xc9752d(0x175)][0x2]|this[_0xc9752d(0x175)][0x3])!==0x0&&_0x4b0519(_0x56e63b,this['_mask']);}if(this[_0xc9752d(0x18b)]>0x7){this[_0xc9752d(0x276)](_0x56e63b,_0x49800c);return;}if(this[_0xc9752d(0x242)]){this['_state']=_0x1d04d3,this['decompress'](_0x56e63b,_0x49800c);return;}_0x56e63b[_0xc9752d(0x232)]&&(this[_0xc9752d(0x101)]=this['_totalPayloadLength'],this['_fragments'][_0xc9752d(0x1be)](_0x56e63b)),this[_0xc9752d(0xf7)](_0x49800c);}[_0x3ef31(0xda)](_0x2ee52e,_0x13ac58){const _0x235feb=_0x3ef31;this[_0x235feb(0xcf)][_0x21c98e[_0x235feb(0x154)]]['decompress'](_0x2ee52e,this[_0x235feb(0x280)],(_0x5b29ac,_0x2cd68)=>{const _0x4891fa=_0x235feb;if(_0x5b29ac)return _0x13ac58(_0x5b29ac);if(_0x2cd68[_0x4891fa(0x232)]){if(this['_messageLength']+=_0x2cd68[_0x4891fa(0x232)],this[_0x4891fa(0x101)]>this[_0x4891fa(0x287)]&&this[_0x4891fa(0x287)]>0x0){const _0x1bba3c=this['createError'](RangeError,_0x4891fa(0x26b),!0x1,0x3f1,_0x4891fa(0x1a5));_0x13ac58(_0x1bba3c);return;}this[_0x4891fa(0xeb)]['push'](_0x2cd68);}this[_0x4891fa(0xf7)](_0x13ac58),this['_state']===_0x23d5dc&&this[_0x4891fa(0x148)](_0x13ac58);});}['dataMessage'](_0x52cfd4){const _0x314126=_0x3ef31;if(!this[_0x314126(0x280)]){this[_0x314126(0x247)]=_0x23d5dc;return;}const _0x47edfa=this[_0x314126(0x101)],_0xd9a970=this[_0x314126(0xeb)];if(this[_0x314126(0x113)]=0x0,this[_0x314126(0x101)]=0x0,this[_0x314126(0x24c)]=0x0,this['_fragments']=[],this[_0x314126(0x18b)]===0x2){let _0xebaf08;this[_0x314126(0x174)]==='nodebuffer'?_0xebaf08=_0x2611b8(_0xd9a970,_0x47edfa):this['_binaryType']===_0x314126(0x18f)?_0xebaf08=_0x4ffb10(_0x2611b8(_0xd9a970,_0x47edfa)):this[_0x314126(0x174)]===_0x314126(0x1ba)?_0xebaf08=new Blob(_0xd9a970):_0xebaf08=_0xd9a970,this[_0x314126(0x193)]?(this['emit'](_0x314126(0x1b4),_0xebaf08,!0x0),this[_0x314126(0x247)]=_0x23d5dc):(this['_state']=_0x30a7ea,setImmediate(()=>{const _0x1e0cf2=_0x314126;this['emit'](_0x1e0cf2(0x1b4),_0xebaf08,!0x0),this['_state']=_0x23d5dc,this[_0x1e0cf2(0x148)](_0x52cfd4);}));}else{const _0xa3e5ab=_0x2611b8(_0xd9a970,_0x47edfa);if(!this['_skipUTF8Validation']&&!_0x7118f4(_0xa3e5ab)){const _0x10742e=this[_0x314126(0x158)](Error,_0x314126(0x14e),!0x0,0x3ef,_0x314126(0x160));_0x52cfd4(_0x10742e);return;}this[_0x314126(0x247)]===_0x1d04d3||this[_0x314126(0x193)]?(this[_0x314126(0x1b3)](_0x314126(0x1b4),_0xa3e5ab,!0x1),this[_0x314126(0x247)]=_0x23d5dc):(this[_0x314126(0x247)]=_0x30a7ea,setImmediate(()=>{const _0x42d1e6=_0x314126;this[_0x42d1e6(0x1b3)](_0x42d1e6(0x1b4),_0xa3e5ab,!0x1),this['_state']=_0x23d5dc,this[_0x42d1e6(0x148)](_0x52cfd4);}));}}[_0x3ef31(0x276)](_0x5cf93f,_0x5862cf){const _0x179e61=_0x3ef31;if(this['_opcode']===0x8){if(_0x5cf93f[_0x179e61(0x232)]===0x0)this['_loop']=!0x1,this[_0x179e61(0x1b3)]('conclude',0x3ed,_0x3c1039),this['end']();else{const _0x52b79f=_0x5cf93f[_0x179e61(0x179)](0x0);if(!_0x5deb38(_0x52b79f)){const _0x2d02d7=this[_0x179e61(0x158)](RangeError,_0x179e61(0x17c)+_0x52b79f,!0x0,0x3ea,_0x179e61(0x25d));_0x5862cf(_0x2d02d7);return;}const _0x4f7d2b=new _0x2bbdaf(_0x5cf93f[_0x179e61(0x129)],_0x5cf93f[_0x179e61(0x241)]+0x2,_0x5cf93f[_0x179e61(0x232)]-0x2);if(!this[_0x179e61(0x215)]&&!_0x7118f4(_0x4f7d2b)){const _0x1ea902=this['createError'](Error,_0x179e61(0x14e),!0x0,0x3ef,_0x179e61(0x160));_0x5862cf(_0x1ea902);return;}this[_0x179e61(0xf8)]=!0x1,this[_0x179e61(0x1b3)](_0x179e61(0x15c),_0x52b79f,_0x4f7d2b),this[_0x179e61(0x17e)]();}this[_0x179e61(0x247)]=_0x23d5dc;return;}this[_0x179e61(0x193)]?(this[_0x179e61(0x1b3)](this[_0x179e61(0x18b)]===0x9?'ping':_0x179e61(0xe5),_0x5cf93f),this[_0x179e61(0x247)]=_0x23d5dc):(this[_0x179e61(0x247)]=_0x30a7ea,setImmediate(()=>{const _0x1bc34c=_0x179e61;this[_0x1bc34c(0x1b3)](this['_opcode']===0x9?'ping':_0x1bc34c(0xe5),_0x5cf93f),this[_0x1bc34c(0x247)]=_0x23d5dc,this['startLoop'](_0x5862cf);}));}[_0x3ef31(0x158)](_0x5b34bc,_0x374754,_0x1c8399,_0x168e14,_0x109840){const _0x284f47=_0x3ef31;this[_0x284f47(0xf8)]=!0x1,this[_0x284f47(0x19f)]=!0x0;const _0x579b65=new _0x5b34bc(_0x1c8399?_0x284f47(0x1fa)+_0x374754:_0x374754);return Error[_0x284f47(0x213)](_0x579b65,this[_0x284f47(0x158)]),_0x579b65[_0x284f47(0x147)]=_0x109840,_0x579b65[_0x508cdf]=_0x168e14,_0x579b65;}}return Se=_0x5e2413,Se;}function _0x5ab4(_0x251182,_0x6a676d){_0x251182=_0x251182-0xce;const _0x530d40=_0x530d();let _0x5ab410=_0x530d40[_0x251182];return _0x5ab410;}var Ee,Xe;function ft(){const _0x971d4=_0x3a24cf;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x8dc46}=oe,{randomFillSync:_0x26be66}=Le,_0x43f65f=he(),{EMPTY_BUFFER:_0x81063a,kWebSocket:_0x22a280,NOOP:_0x3b685e}=H(),{isBlob:_0x23642f,isValidStatusCode:_0xdca4ac}=ae(),{mask:_0x35a874,toBuffer:_0x116282}=ce(),_0x42d3ca=Symbol(_0x971d4(0x286)),_0x30cc7f=Buffer[_0x971d4(0x171)](0x4),_0x55c42d=0x8*0x400;let _0x5b5369,_0x50cb28=_0x55c42d;const _0x22286e=0x0,_0x543766=0x1,_0x11421e=0x2;class _0x5e52c5{constructor(_0x1f3bfe,_0x32ab52,_0x410e02){const _0x13434f=_0x971d4;this[_0x13434f(0xcf)]=_0x32ab52||{},_0x410e02&&(this[_0x13434f(0x20a)]=_0x410e02,this['_maskBuffer']=Buffer[_0x13434f(0x171)](0x4)),this['_socket']=_0x1f3bfe,this[_0x13434f(0x159)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x13434f(0x25e)]=[],this[_0x13434f(0x247)]=_0x22286e,this[_0x13434f(0x10a)]=_0x3b685e,this[_0x22a280]=void 0x0;}static[_0x971d4(0x262)](_0x28c2f6,_0x373581){const _0x1038ef=_0x971d4;let _0x174eab,_0x216601=!0x1,_0x2e4b80=0x2,_0x1c65fc=!0x1;_0x373581[_0x1038ef(0x243)]&&(_0x174eab=_0x373581[_0x1038ef(0xf3)]||_0x30cc7f,_0x373581[_0x1038ef(0xce)]?_0x373581[_0x1038ef(0xce)](_0x174eab):(_0x50cb28===_0x55c42d&&(_0x5b5369===void 0x0&&(_0x5b5369=Buffer[_0x1038ef(0x171)](_0x55c42d)),_0x26be66(_0x5b5369,0x0,_0x55c42d),_0x50cb28=0x0),_0x174eab[0x0]=_0x5b5369[_0x50cb28++],_0x174eab[0x1]=_0x5b5369[_0x50cb28++],_0x174eab[0x2]=_0x5b5369[_0x50cb28++],_0x174eab[0x3]=_0x5b5369[_0x50cb28++]),_0x1c65fc=(_0x174eab[0x0]|_0x174eab[0x1]|_0x174eab[0x2]|_0x174eab[0x3])===0x0,_0x2e4b80=0x6);let _0x1e4628;typeof _0x28c2f6=='string'?(!_0x373581['mask']||_0x1c65fc)&&_0x373581[_0x42d3ca]!==void 0x0?_0x1e4628=_0x373581[_0x42d3ca]:(_0x28c2f6=Buffer[_0x1038ef(0x249)](_0x28c2f6),_0x1e4628=_0x28c2f6[_0x1038ef(0x232)]):(_0x1e4628=_0x28c2f6['length'],_0x216601=_0x373581[_0x1038ef(0x243)]&&_0x373581[_0x1038ef(0x133)]&&!_0x1c65fc);let _0x32ee2c=_0x1e4628;_0x1e4628>=0x10000?(_0x2e4b80+=0x8,_0x32ee2c=0x7f):_0x1e4628>0x7d&&(_0x2e4b80+=0x2,_0x32ee2c=0x7e);const _0x2632b8=Buffer['allocUnsafe'](_0x216601?_0x1e4628+_0x2e4b80:_0x2e4b80);return _0x2632b8[0x0]=_0x373581[_0x1038ef(0x21c)]?_0x373581[_0x1038ef(0x140)]|0x80:_0x373581[_0x1038ef(0x140)],_0x373581[_0x1038ef(0x182)]&&(_0x2632b8[0x0]|=0x40),_0x2632b8[0x1]=_0x32ee2c,_0x32ee2c===0x7e?_0x2632b8[_0x1038ef(0x26a)](_0x1e4628,0x2):_0x32ee2c===0x7f&&(_0x2632b8[0x2]=_0x2632b8[0x3]=0x0,_0x2632b8[_0x1038ef(0x12d)](_0x1e4628,0x4,0x6)),_0x373581['mask']?(_0x2632b8[0x1]|=0x80,_0x2632b8[_0x2e4b80-0x4]=_0x174eab[0x0],_0x2632b8[_0x2e4b80-0x3]=_0x174eab[0x1],_0x2632b8[_0x2e4b80-0x2]=_0x174eab[0x2],_0x2632b8[_0x2e4b80-0x1]=_0x174eab[0x3],_0x1c65fc?[_0x2632b8,_0x28c2f6]:_0x216601?(_0x35a874(_0x28c2f6,_0x174eab,_0x2632b8,_0x2e4b80,_0x1e4628),[_0x2632b8]):(_0x35a874(_0x28c2f6,_0x174eab,_0x28c2f6,0x0,_0x1e4628),[_0x2632b8,_0x28c2f6])):[_0x2632b8,_0x28c2f6];}['close'](_0x5db039,_0x41c798,_0x506d2a,_0x44db49){const _0x212b63=_0x971d4;let _0x18ff37;if(_0x5db039===void 0x0)_0x18ff37=_0x81063a;else{if(typeof _0x5db039!='number'||!_0xdca4ac(_0x5db039))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x41c798===void 0x0||!_0x41c798[_0x212b63(0x232)])_0x18ff37=Buffer[_0x212b63(0x20e)](0x2),_0x18ff37[_0x212b63(0x26a)](_0x5db039,0x0);else{const _0x16b086=Buffer[_0x212b63(0x110)](_0x41c798);if(_0x16b086>0x7b)throw new RangeError(_0x212b63(0x14a));_0x18ff37=Buffer['allocUnsafe'](0x2+_0x16b086),_0x18ff37['writeUInt16BE'](_0x5db039,0x0),typeof _0x41c798=='string'?_0x18ff37['write'](_0x41c798,0x2):_0x18ff37['set'](_0x41c798,0x2);}}const _0x304c6c={[_0x42d3ca]:_0x18ff37[_0x212b63(0x232)],'fin':!0x0,'generateMask':this[_0x212b63(0x20a)],'mask':_0x506d2a,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x212b63(0x247)]!==_0x22286e?this[_0x212b63(0x28a)]([this[_0x212b63(0x117)],_0x18ff37,!0x1,_0x304c6c,_0x44db49]):this[_0x212b63(0xf6)](_0x5e52c5[_0x212b63(0x262)](_0x18ff37,_0x304c6c),_0x44db49);}[_0x971d4(0x21d)](_0x37c809,_0x401025,_0x2345cd){const _0x53c7f6=_0x971d4;let _0x203250,_0x4c4b03;if(typeof _0x37c809=='string'?(_0x203250=Buffer[_0x53c7f6(0x110)](_0x37c809),_0x4c4b03=!0x1):_0x23642f(_0x37c809)?(_0x203250=_0x37c809[_0x53c7f6(0x15f)],_0x4c4b03=!0x1):(_0x37c809=_0x116282(_0x37c809),_0x203250=_0x37c809[_0x53c7f6(0x232)],_0x4c4b03=_0x116282[_0x53c7f6(0x133)]),_0x203250>0x7d)throw new RangeError(_0x53c7f6(0x23e));const _0x5468b3={[_0x42d3ca]:_0x203250,'fin':!0x0,'generateMask':this[_0x53c7f6(0x20a)],'mask':_0x401025,'maskBuffer':this[_0x53c7f6(0x24b)],'opcode':0x9,'readOnly':_0x4c4b03,'rsv1':!0x1};_0x23642f(_0x37c809)?this[_0x53c7f6(0x247)]!==_0x22286e?this[_0x53c7f6(0x28a)]([this[_0x53c7f6(0x12a)],_0x37c809,!0x1,_0x5468b3,_0x2345cd]):this[_0x53c7f6(0x12a)](_0x37c809,!0x1,_0x5468b3,_0x2345cd):this[_0x53c7f6(0x247)]!==_0x22286e?this['enqueue']([this[_0x53c7f6(0x117)],_0x37c809,!0x1,_0x5468b3,_0x2345cd]):this[_0x53c7f6(0xf6)](_0x5e52c5[_0x53c7f6(0x262)](_0x37c809,_0x5468b3),_0x2345cd);}[_0x971d4(0xe5)](_0x3f5736,_0xcbd348,_0x32fea1){const _0x46bbe5=_0x971d4;let _0x7af7a9,_0x28f035;if(typeof _0x3f5736==_0x46bbe5(0x20d)?(_0x7af7a9=Buffer[_0x46bbe5(0x110)](_0x3f5736),_0x28f035=!0x1):_0x23642f(_0x3f5736)?(_0x7af7a9=_0x3f5736[_0x46bbe5(0x15f)],_0x28f035=!0x1):(_0x3f5736=_0x116282(_0x3f5736),_0x7af7a9=_0x3f5736[_0x46bbe5(0x232)],_0x28f035=_0x116282[_0x46bbe5(0x133)]),_0x7af7a9>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0xb823a5={[_0x42d3ca]:_0x7af7a9,'fin':!0x0,'generateMask':this[_0x46bbe5(0x20a)],'mask':_0xcbd348,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x28f035,'rsv1':!0x1};_0x23642f(_0x3f5736)?this['_state']!==_0x22286e?this[_0x46bbe5(0x28a)]([this[_0x46bbe5(0x12a)],_0x3f5736,!0x1,_0xb823a5,_0x32fea1]):this['getBlobData'](_0x3f5736,!0x1,_0xb823a5,_0x32fea1):this[_0x46bbe5(0x247)]!==_0x22286e?this[_0x46bbe5(0x28a)]([this[_0x46bbe5(0x117)],_0x3f5736,!0x1,_0xb823a5,_0x32fea1]):this[_0x46bbe5(0xf6)](_0x5e52c5[_0x46bbe5(0x262)](_0x3f5736,_0xb823a5),_0x32fea1);}[_0x971d4(0x13a)](_0x491d39,_0x427cfe,_0x385f97){const _0x84b8be=_0x971d4,_0xb81687=this[_0x84b8be(0xcf)][_0x43f65f[_0x84b8be(0x154)]];let _0x1764be=_0x427cfe[_0x84b8be(0x15b)]?0x2:0x1,_0x3b0313=_0x427cfe[_0x84b8be(0x207)],_0x4e6ef4,_0x408be8;typeof _0x491d39==_0x84b8be(0x20d)?(_0x4e6ef4=Buffer['byteLength'](_0x491d39),_0x408be8=!0x1):_0x23642f(_0x491d39)?(_0x4e6ef4=_0x491d39['size'],_0x408be8=!0x1):(_0x491d39=_0x116282(_0x491d39),_0x4e6ef4=_0x491d39['length'],_0x408be8=_0x116282['readOnly']),this[_0x84b8be(0x159)]?(this['_firstFragment']=!0x1,_0x3b0313&&_0xb81687&&_0xb81687['params'][_0xb81687['_isServer']?_0x84b8be(0xf1):'client_no_context_takeover']&&(_0x3b0313=_0x4e6ef4>=_0xb81687['_threshold']),this['_compress']=_0x3b0313):(_0x3b0313=!0x1,_0x1764be=0x0),_0x427cfe[_0x84b8be(0x21c)]&&(this['_firstFragment']=!0x0);const _0x49b040={[_0x42d3ca]:_0x4e6ef4,'fin':_0x427cfe[_0x84b8be(0x21c)],'generateMask':this[_0x84b8be(0x20a)],'mask':_0x427cfe[_0x84b8be(0x243)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1764be,'readOnly':_0x408be8,'rsv1':_0x3b0313};_0x23642f(_0x491d39)?this[_0x84b8be(0x247)]!==_0x22286e?this[_0x84b8be(0x28a)]([this['getBlobData'],_0x491d39,this[_0x84b8be(0x25c)],_0x49b040,_0x385f97]):this[_0x84b8be(0x12a)](_0x491d39,this['_compress'],_0x49b040,_0x385f97):this[_0x84b8be(0x247)]!==_0x22286e?this[_0x84b8be(0x28a)]([this[_0x84b8be(0x117)],_0x491d39,this[_0x84b8be(0x25c)],_0x49b040,_0x385f97]):this[_0x84b8be(0x117)](_0x491d39,this[_0x84b8be(0x25c)],_0x49b040,_0x385f97);}[_0x971d4(0x12a)](_0x4d93f2,_0x442fcb,_0x12e9cb,_0x1b216d){const _0x31e9d4=_0x971d4;this['_bufferedBytes']+=_0x12e9cb[_0x42d3ca],this[_0x31e9d4(0x247)]=_0x11421e,_0x4d93f2['arrayBuffer']()[_0x31e9d4(0x120)](_0x487ee8=>{const _0x41aca2=_0x31e9d4;if(this['_socket'][_0x41aca2(0x259)]){const _0x3506ad=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x41aca2(0x14f)](_0x2a5abe,this,_0x3506ad,_0x1b216d);return;}this[_0x41aca2(0x137)]-=_0x12e9cb[_0x42d3ca];const _0x55ba32=_0x116282(_0x487ee8);_0x442fcb?this['dispatch'](_0x55ba32,_0x442fcb,_0x12e9cb,_0x1b216d):(this[_0x41aca2(0x247)]=_0x22286e,this['sendFrame'](_0x5e52c5[_0x41aca2(0x262)](_0x55ba32,_0x12e9cb),_0x1b216d),this[_0x41aca2(0x156)]());})['catch'](_0x28c585=>{const _0x173365=_0x31e9d4;process[_0x173365(0x14f)](_0x2aeb3e,this,_0x28c585,_0x1b216d);});}[_0x971d4(0x117)](_0x3d589c,_0x143fb2,_0x41c162,_0x41a679){const _0x497a72=_0x971d4;if(!_0x143fb2){this[_0x497a72(0xf6)](_0x5e52c5[_0x497a72(0x262)](_0x3d589c,_0x41c162),_0x41a679);return;}const _0x324172=this['_extensions'][_0x43f65f[_0x497a72(0x154)]];this[_0x497a72(0x137)]+=_0x41c162[_0x42d3ca],this['_state']=_0x543766,_0x324172[_0x497a72(0x207)](_0x3d589c,_0x41c162[_0x497a72(0x21c)],(_0x93d4d,_0x24ed9f)=>{const _0x398e3c=_0x497a72;if(this[_0x398e3c(0x18a)][_0x398e3c(0x259)]){const _0x1a601d=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2a5abe(this,_0x1a601d,_0x41a679);return;}this[_0x398e3c(0x137)]-=_0x41c162[_0x42d3ca],this[_0x398e3c(0x247)]=_0x22286e,_0x41c162['readOnly']=!0x1,this[_0x398e3c(0xf6)](_0x5e52c5[_0x398e3c(0x262)](_0x24ed9f,_0x41c162),_0x41a679),this['dequeue']();});}[_0x971d4(0x156)](){const _0x8568ca=_0x971d4;for(;this['_state']===_0x22286e&&this[_0x8568ca(0x25e)][_0x8568ca(0x232)];){const _0x4d4764=this['_queue'][_0x8568ca(0x146)]();this[_0x8568ca(0x137)]-=_0x4d4764[0x3][_0x42d3ca],Reflect[_0x8568ca(0xdc)](_0x4d4764[0x0],this,_0x4d4764[_0x8568ca(0xe1)](0x1));}}[_0x971d4(0x28a)](_0x29b4cc){const _0x4829ac=_0x971d4;this['_bufferedBytes']+=_0x29b4cc[0x3][_0x42d3ca],this[_0x4829ac(0x25e)][_0x4829ac(0x1be)](_0x29b4cc);}['sendFrame'](_0x67a6cf,_0x2ddc34){const _0x3e5e1a=_0x971d4;_0x67a6cf['length']===0x2?(this[_0x3e5e1a(0x18a)]['cork'](),this['_socket']['write'](_0x67a6cf[0x0]),this['_socket'][_0x3e5e1a(0x172)](_0x67a6cf[0x1],_0x2ddc34),this[_0x3e5e1a(0x18a)]['uncork']()):this[_0x3e5e1a(0x18a)]['write'](_0x67a6cf[0x0],_0x2ddc34);}}Ee=_0x5e52c5;function _0x2a5abe(_0xf71bad,_0x5aea37,_0x21b4bb){const _0x19f57c=_0x971d4;typeof _0x21b4bb==_0x19f57c(0x138)&&_0x21b4bb(_0x5aea37);for(let _0x40f06b=0x0;_0x40f06b<_0xf71bad[_0x19f57c(0x25e)][_0x19f57c(0x232)];_0x40f06b++){const _0x47632e=_0xf71bad['_queue'][_0x40f06b],_0x150019=_0x47632e[_0x47632e['length']-0x1];typeof _0x150019==_0x19f57c(0x138)&&_0x150019(_0x5aea37);}}function _0x2aeb3e(_0x976731,_0x17a856,_0x51765f){const _0x306b3b=_0x971d4;_0x2a5abe(_0x976731,_0x17a856,_0x51765f),_0x976731[_0x306b3b(0x10a)](_0x17a856);}return Ee;}var xe,Ze;function It(){const _0x4f9b03=_0x3a24cf;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5c5a2d,kListener:_0x349735}=H(),_0x4e6455=Symbol(_0x4f9b03(0x211)),_0x431679=Symbol(_0x4f9b03(0x164)),_0x31aca6=Symbol(_0x4f9b03(0x1e5)),_0x55cc87=Symbol(_0x4f9b03(0x254)),_0x499862=Symbol(_0x4f9b03(0x226)),_0x3d4d1f=Symbol(_0x4f9b03(0x268)),_0x282df9=Symbol(_0x4f9b03(0xfe)),_0x598448=Symbol(_0x4f9b03(0x1c1));class _0x11efde{constructor(_0x2e05d3){this[_0x3d4d1f]=null,this[_0x282df9]=_0x2e05d3;}get['target'](){return this[_0x3d4d1f];}get[_0x4f9b03(0x273)](){return this[_0x282df9];}}Object[_0x4f9b03(0xee)](_0x11efde[_0x4f9b03(0x1ad)],_0x4f9b03(0x142),{'enumerable':!0x0}),Object[_0x4f9b03(0xee)](_0x11efde[_0x4f9b03(0x1ad)],_0x4f9b03(0x273),{'enumerable':!0x0});class _0x47e02b extends _0x11efde{constructor(_0x13df67,_0x280332={}){const _0x3a32f8=_0x4f9b03;super(_0x13df67),this[_0x4e6455]=_0x280332[_0x3a32f8(0x147)]===void 0x0?0x0:_0x280332['code'],this[_0x499862]=_0x280332['reason']===void 0x0?'':_0x280332['reason'],this[_0x598448]=_0x280332['wasClean']===void 0x0?!0x1:_0x280332[_0x3a32f8(0x197)];}get['code'](){return this[_0x4e6455];}get['reason'](){return this[_0x499862];}get[_0x4f9b03(0x197)](){return this[_0x598448];}}Object[_0x4f9b03(0xee)](_0x47e02b[_0x4f9b03(0x1ad)],_0x4f9b03(0x147),{'enumerable':!0x0}),Object[_0x4f9b03(0xee)](_0x47e02b[_0x4f9b03(0x1ad)],_0x4f9b03(0x23a),{'enumerable':!0x0}),Object['defineProperty'](_0x47e02b[_0x4f9b03(0x1ad)],_0x4f9b03(0x197),{'enumerable':!0x0});class _0x2cfb32 extends _0x11efde{constructor(_0x4f3d88,_0xc9ac06={}){const _0x4659dc=_0x4f9b03;super(_0x4f3d88),this[_0x31aca6]=_0xc9ac06[_0x4659dc(0x192)]===void 0x0?null:_0xc9ac06['error'],this[_0x55cc87]=_0xc9ac06[_0x4659dc(0x1b4)]===void 0x0?'':_0xc9ac06[_0x4659dc(0x1b4)];}get[_0x4f9b03(0x192)](){return this[_0x31aca6];}get[_0x4f9b03(0x1b4)](){return this[_0x55cc87];}}Object[_0x4f9b03(0xee)](_0x2cfb32[_0x4f9b03(0x1ad)],_0x4f9b03(0x192),{'enumerable':!0x0}),Object[_0x4f9b03(0xee)](_0x2cfb32['prototype'],'message',{'enumerable':!0x0});class _0x528a15 extends _0x11efde{constructor(_0x437dc7,_0x3d8530={}){const _0x3b1493=_0x4f9b03;super(_0x437dc7),this[_0x431679]=_0x3d8530['data']===void 0x0?null:_0x3d8530[_0x3b1493(0xea)];}get['data'](){return this[_0x431679];}}Object['defineProperty'](_0x528a15[_0x4f9b03(0x1ad)],_0x4f9b03(0xea),{'enumerable':!0x0}),xe={'CloseEvent':_0x47e02b,'ErrorEvent':_0x2cfb32,'Event':_0x11efde,'EventTarget':{'addEventListener'(_0x311bd2,_0x12feeb,_0x5467d9={}){const _0xae1ff9=_0x4f9b03;for(const _0x490b62 of this[_0xae1ff9(0x1b1)](_0x311bd2))if(!_0x5467d9[_0x5c5a2d]&&_0x490b62[_0x349735]===_0x12feeb&&!_0x490b62[_0x5c5a2d])return;let _0x587327;if(_0x311bd2===_0xae1ff9(0x1b4))_0x587327=function(_0x3ac71c,_0x4432e6){const _0xde25da=_0xae1ff9,_0x4f2023=new _0x528a15('message',{'data':_0x4432e6?_0x3ac71c:_0x3ac71c[_0xde25da(0x17a)]()});_0x4f2023[_0x3d4d1f]=this,_0x1aee2c(_0x12feeb,this,_0x4f2023);};else{if(_0x311bd2===_0xae1ff9(0x21a))_0x587327=function(_0x4251bc,_0x5cb99d){const _0x23a889=_0xae1ff9,_0x3f86c6=new _0x47e02b(_0x23a889(0x21a),{'code':_0x4251bc,'reason':_0x5cb99d[_0x23a889(0x17a)](),'wasClean':this[_0x23a889(0x1ab)]&&this[_0x23a889(0x23c)]});_0x3f86c6[_0x3d4d1f]=this,_0x1aee2c(_0x12feeb,this,_0x3f86c6);};else{if(_0x311bd2==='error')_0x587327=function(_0x3f5784){const _0x3064a1=_0xae1ff9,_0x5de636=new _0x2cfb32(_0x3064a1(0x192),{'error':_0x3f5784,'message':_0x3f5784[_0x3064a1(0x1b4)]});_0x5de636[_0x3d4d1f]=this,_0x1aee2c(_0x12feeb,this,_0x5de636);};else{if(_0x311bd2==='open')_0x587327=function(){const _0x26b88c=_0xae1ff9,_0x21031d=new _0x11efde(_0x26b88c(0x1bd));_0x21031d[_0x3d4d1f]=this,_0x1aee2c(_0x12feeb,this,_0x21031d);};else return;}}}_0x587327[_0x5c5a2d]=!!_0x5467d9[_0x5c5a2d],_0x587327[_0x349735]=_0x12feeb,_0x5467d9[_0xae1ff9(0x155)]?this[_0xae1ff9(0x155)](_0x311bd2,_0x587327):this['on'](_0x311bd2,_0x587327);},'removeEventListener'(_0x2b9608,_0x213ba1){for(const _0x25a8a1 of this['listeners'](_0x2b9608))if(_0x25a8a1[_0x349735]===_0x213ba1&&!_0x25a8a1[_0x5c5a2d]){this['removeListener'](_0x2b9608,_0x25a8a1);break;}}},'MessageEvent':_0x528a15};function _0x1aee2c(_0x779c7c,_0x52dded,_0x3a8067){const _0x5bc9c1=_0x4f9b03;typeof _0x779c7c==_0x5bc9c1(0x248)&&_0x779c7c['handleEvent']?_0x779c7c[_0x5bc9c1(0xdb)][_0x5bc9c1(0x124)](_0x779c7c,_0x3a8067):_0x779c7c[_0x5bc9c1(0x124)](_0x52dded,_0x3a8067);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x429200}=ae();function _0x168733(_0x38b37f,_0x599d19,_0x362dce){const _0x21bb0f=_0x5ab4;_0x38b37f[_0x599d19]===void 0x0?_0x38b37f[_0x599d19]=[_0x362dce]:_0x38b37f[_0x599d19][_0x21bb0f(0x1be)](_0x362dce);}function _0x3d7cc5(_0x55f4b3){const _0x1a0772=_0x5ab4,_0xc03a5=Object['create'](null);let _0x1115f1=Object['create'](null),_0x415bb1=!0x1,_0x190322=!0x1,_0x23e4bd=!0x1,_0x9adb3d,_0x255820,_0x2b209e=-0x1,_0x42b8ad=-0x1,_0x3e0de0=-0x1,_0x47f443=0x0;for(;_0x47f443<_0x55f4b3['length'];_0x47f443++)if(_0x42b8ad=_0x55f4b3[_0x1a0772(0xd9)](_0x47f443),_0x9adb3d===void 0x0){if(_0x3e0de0===-0x1&&_0x429200[_0x42b8ad]===0x1)_0x2b209e===-0x1&&(_0x2b209e=_0x47f443);else{if(_0x47f443!==0x0&&(_0x42b8ad===0x20||_0x42b8ad===0x9))_0x3e0de0===-0x1&&_0x2b209e!==-0x1&&(_0x3e0de0=_0x47f443);else{if(_0x42b8ad===0x3b||_0x42b8ad===0x2c){if(_0x2b209e===-0x1)throw new SyntaxError(_0x1a0772(0x115)+_0x47f443);_0x3e0de0===-0x1&&(_0x3e0de0=_0x47f443);const _0x5a0cf9=_0x55f4b3['slice'](_0x2b209e,_0x3e0de0);_0x42b8ad===0x2c?(_0x168733(_0xc03a5,_0x5a0cf9,_0x1115f1),_0x1115f1=Object[_0x1a0772(0x178)](null)):_0x9adb3d=_0x5a0cf9,_0x2b209e=_0x3e0de0=-0x1;}else throw new SyntaxError(_0x1a0772(0x115)+_0x47f443);}}}else{if(_0x255820===void 0x0){if(_0x3e0de0===-0x1&&_0x429200[_0x42b8ad]===0x1)_0x2b209e===-0x1&&(_0x2b209e=_0x47f443);else{if(_0x42b8ad===0x20||_0x42b8ad===0x9)_0x3e0de0===-0x1&&_0x2b209e!==-0x1&&(_0x3e0de0=_0x47f443);else{if(_0x42b8ad===0x3b||_0x42b8ad===0x2c){if(_0x2b209e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x47f443);_0x3e0de0===-0x1&&(_0x3e0de0=_0x47f443),_0x168733(_0x1115f1,_0x55f4b3[_0x1a0772(0xe1)](_0x2b209e,_0x3e0de0),!0x0),_0x42b8ad===0x2c&&(_0x168733(_0xc03a5,_0x9adb3d,_0x1115f1),_0x1115f1=Object['create'](null),_0x9adb3d=void 0x0),_0x2b209e=_0x3e0de0=-0x1;}else{if(_0x42b8ad===0x3d&&_0x2b209e!==-0x1&&_0x3e0de0===-0x1)_0x255820=_0x55f4b3[_0x1a0772(0xe1)](_0x2b209e,_0x47f443),_0x2b209e=_0x3e0de0=-0x1;else throw new SyntaxError(_0x1a0772(0x115)+_0x47f443);}}}}else{if(_0x190322){if(_0x429200[_0x42b8ad]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x47f443);_0x2b209e===-0x1?_0x2b209e=_0x47f443:_0x415bb1||(_0x415bb1=!0x0),_0x190322=!0x1;}else{if(_0x23e4bd){if(_0x429200[_0x42b8ad]===0x1)_0x2b209e===-0x1&&(_0x2b209e=_0x47f443);else{if(_0x42b8ad===0x22&&_0x2b209e!==-0x1)_0x23e4bd=!0x1,_0x3e0de0=_0x47f443;else{if(_0x42b8ad===0x5c)_0x190322=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x47f443);}}}else{if(_0x42b8ad===0x22&&_0x55f4b3[_0x1a0772(0xd9)](_0x47f443-0x1)===0x3d)_0x23e4bd=!0x0;else{if(_0x3e0de0===-0x1&&_0x429200[_0x42b8ad]===0x1)_0x2b209e===-0x1&&(_0x2b209e=_0x47f443);else{if(_0x2b209e!==-0x1&&(_0x42b8ad===0x20||_0x42b8ad===0x9))_0x3e0de0===-0x1&&(_0x3e0de0=_0x47f443);else{if(_0x42b8ad===0x3b||_0x42b8ad===0x2c){if(_0x2b209e===-0x1)throw new SyntaxError(_0x1a0772(0x115)+_0x47f443);_0x3e0de0===-0x1&&(_0x3e0de0=_0x47f443);let _0x49720c=_0x55f4b3[_0x1a0772(0xe1)](_0x2b209e,_0x3e0de0);_0x415bb1&&(_0x49720c=_0x49720c[_0x1a0772(0x121)](/\\/g,''),_0x415bb1=!0x1),_0x168733(_0x1115f1,_0x255820,_0x49720c),_0x42b8ad===0x2c&&(_0x168733(_0xc03a5,_0x9adb3d,_0x1115f1),_0x1115f1=Object['create'](null),_0x9adb3d=void 0x0),_0x255820=void 0x0,_0x2b209e=_0x3e0de0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x47f443);}}}}}}}if(_0x2b209e===-0x1||_0x23e4bd||_0x42b8ad===0x20||_0x42b8ad===0x9)throw new SyntaxError(_0x1a0772(0x186));_0x3e0de0===-0x1&&(_0x3e0de0=_0x47f443);const _0x27981e=_0x55f4b3[_0x1a0772(0xe1)](_0x2b209e,_0x3e0de0);return _0x9adb3d===void 0x0?_0x168733(_0xc03a5,_0x27981e,_0x1115f1):(_0x255820===void 0x0?_0x168733(_0x1115f1,_0x27981e,!0x0):_0x415bb1?_0x168733(_0x1115f1,_0x255820,_0x27981e[_0x1a0772(0x121)](/\\/g,'')):_0x168733(_0x1115f1,_0x255820,_0x27981e),_0x168733(_0xc03a5,_0x9adb3d,_0x1115f1)),_0xc03a5;}function _0x51cedc(_0x337346){const _0x4fa0d0=_0x5ab4;return Object[_0x4fa0d0(0x203)](_0x337346)['map'](_0x8c179e=>{const _0x2da82b=_0x4fa0d0;let _0x13deca=_0x337346[_0x8c179e];return Array[_0x2da82b(0x208)](_0x13deca)||(_0x13deca=[_0x13deca]),_0x13deca[_0x2da82b(0xd6)](_0x1f5af7=>[_0x8c179e][_0x2da82b(0x105)](Object['keys'](_0x1f5af7)[_0x2da82b(0xd6)](_0x25f13d=>{const _0x1a50c7=_0x2da82b;let _0x3e22de=_0x1f5af7[_0x25f13d];return Array[_0x1a50c7(0x208)](_0x3e22de)||(_0x3e22de=[_0x3e22de]),_0x3e22de[_0x1a50c7(0xd6)](_0x5af753=>_0x5af753===!0x0?_0x25f13d:_0x25f13d+'='+_0x5af753)['join'](';\x20');}))[_0x2da82b(0x149)](';\x20'))[_0x2da82b(0x149)](',\x20');})[_0x4fa0d0(0x149)](',\x20');}return be={'format':_0x51cedc,'parse':_0x3d7cc5},be;}var we,Je;function Pe(){const _0x2ad08d=_0x3a24cf;if(Je)return we;Je=0x1;const _0x256b09=nt,_0x7ba698=vt,_0x1bf8eb=ot,_0x1f8e1c=St,_0x32955f=Et,{randomBytes:_0x41e58e,createHash:_0x1670ca}=Le,{Duplex:_0x29bce6,Readable:_0x12bd98}=oe,{URL:_0x2ae54f}=xt,_0x4eff45=he(),_0x5eb8d6=lt(),_0x4e7e5d=ft(),{isBlob:_0x1db6c4}=ae(),{BINARY_TYPES:_0x4424be,EMPTY_BUFFER:_0x5b57fa,GUID:_0x560706,kForOnEventAttribute:_0x170d55,kListener:_0x7092d6,kStatusCode:_0x25808c,kWebSocket:_0x54438d,NOOP:_0x2a04cb}=H(),{EventTarget:{addEventListener:_0x5a6dba,removeEventListener:_0x392f29}}=It(),{format:_0xc6c7e4,parse:_0x5ec535}=ct(),{toBuffer:_0x2b8a1d}=ce(),_0x73886=0x1e*0x3e8,_0x5ecb2b=Symbol(_0x2ad08d(0x20f)),_0x3a04f9=[0x8,0xd],_0x2ee54b=['CONNECTING',_0x2ad08d(0x1bc),'CLOSING','CLOSED'],_0x183722=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3c4016 extends _0x256b09{constructor(_0x442f7d,_0x2f9a6c,_0x2d0135){const _0x4648f1=_0x2ad08d;super(),this['_binaryType']=_0x4424be[0x0],this[_0x4648f1(0x14b)]=0x3ee,this[_0x4648f1(0x1ab)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x4648f1(0x221)]=_0x5b57fa,this[_0x4648f1(0x116)]=null,this[_0x4648f1(0x22d)]=!0x1,this[_0x4648f1(0xcf)]={},this[_0x4648f1(0x1d3)]=!0x1,this[_0x4648f1(0xfd)]='',this[_0x4648f1(0x1ec)]=_0x3c4016[_0x4648f1(0x1b7)],this[_0x4648f1(0x16f)]=null,this[_0x4648f1(0x218)]=null,this[_0x4648f1(0x18a)]=null,_0x442f7d!==null?(this[_0x4648f1(0x22e)]=0x0,this[_0x4648f1(0x173)]=!0x1,this[_0x4648f1(0x1a0)]=0x0,_0x2f9a6c===void 0x0?_0x2f9a6c=[]:Array[_0x4648f1(0x208)](_0x2f9a6c)||(typeof _0x2f9a6c==_0x4648f1(0x248)&&_0x2f9a6c!==null?(_0x2d0135=_0x2f9a6c,_0x2f9a6c=[]):_0x2f9a6c=[_0x2f9a6c]),_0x1cb91b(this,_0x442f7d,_0x2f9a6c,_0x2d0135)):(this[_0x4648f1(0x229)]=_0x2d0135[_0x4648f1(0x1d4)],this[_0x4648f1(0x173)]=!0x0);}get[_0x2ad08d(0x1b6)](){const _0x3ec026=_0x2ad08d;return this[_0x3ec026(0x174)];}set['binaryType'](_0x1b522d){const _0x210ddf=_0x2ad08d;_0x4424be[_0x210ddf(0x1f8)](_0x1b522d)&&(this[_0x210ddf(0x174)]=_0x1b522d,this[_0x210ddf(0x16f)]&&(this[_0x210ddf(0x16f)][_0x210ddf(0x174)]=_0x1b522d));}get[_0x2ad08d(0xd3)](){const _0x11b0cb=_0x2ad08d;return this['_socket']?this['_socket']['_writableState']['length']+this[_0x11b0cb(0x218)][_0x11b0cb(0x137)]:this['_bufferedAmount'];}get['extensions'](){return Object['keys'](this['_extensions'])['join']();}get[_0x2ad08d(0x239)](){return this['_paused'];}get[_0x2ad08d(0x1c8)](){return null;}get[_0x2ad08d(0x10a)](){return null;}get[_0x2ad08d(0x240)](){return null;}get[_0x2ad08d(0x26c)](){return null;}get[_0x2ad08d(0x104)](){const _0x348a0f=_0x2ad08d;return this[_0x348a0f(0xfd)];}get[_0x2ad08d(0x217)](){const _0x22ccf0=_0x2ad08d;return this[_0x22ccf0(0x1ec)];}get[_0x2ad08d(0x271)](){const _0x277cfa=_0x2ad08d;return this[_0x277cfa(0x1b8)];}[_0x2ad08d(0x185)](_0x7da292,_0x175d93,_0x2c7b05){const _0x312ada=_0x2ad08d,_0x2b774c=new _0x5eb8d6({'allowSynchronousEvents':_0x2c7b05['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x312ada(0xcf)],'isServer':this[_0x312ada(0x173)],'maxPayload':_0x2c7b05[_0x312ada(0x14d)],'skipUTF8Validation':_0x2c7b05[_0x312ada(0x20b)]}),_0x25b6bd=new _0x4e7e5d(_0x7da292,this[_0x312ada(0xcf)],_0x2c7b05['generateMask']);this[_0x312ada(0x16f)]=_0x2b774c,this['_sender']=_0x25b6bd,this['_socket']=_0x7da292,_0x2b774c[_0x54438d]=this,_0x25b6bd[_0x54438d]=this,_0x7da292[_0x54438d]=this,_0x2b774c['on'](_0x312ada(0x15c),_0x31197a),_0x2b774c['on'](_0x312ada(0x1e0),_0x2fd819),_0x2b774c['on'](_0x312ada(0x192),_0x58b0ed),_0x2b774c['on'](_0x312ada(0x1b4),_0x30bfb6),_0x2b774c['on']('ping',_0x481b43),_0x2b774c['on'](_0x312ada(0xe5),_0x111e41),_0x25b6bd[_0x312ada(0x10a)]=_0x19cdab,_0x7da292[_0x312ada(0x283)]&&_0x7da292[_0x312ada(0x283)](0x0),_0x7da292[_0x312ada(0x1eb)]&&_0x7da292[_0x312ada(0x1eb)](),_0x175d93['length']>0x0&&_0x7da292['unshift'](_0x175d93),_0x7da292['on'](_0x312ada(0x21a),_0x389e53),_0x7da292['on']('data',_0x32804b),_0x7da292['on'](_0x312ada(0x17e),_0xed7ed4),_0x7da292['on'](_0x312ada(0x192),_0x38c69e),this['_readyState']=_0x3c4016[_0x312ada(0x1bc)],this[_0x312ada(0x1b3)](_0x312ada(0x1bd));}['emitClose'](){const _0x2dc487=_0x2ad08d;if(!this['_socket']){this[_0x2dc487(0x1ec)]=_0x3c4016[_0x2dc487(0x106)],this[_0x2dc487(0x1b3)](_0x2dc487(0x21a),this[_0x2dc487(0x14b)],this[_0x2dc487(0x221)]);return;}this['_extensions'][_0x4eff45['extensionName']]&&this['_extensions'][_0x4eff45[_0x2dc487(0x154)]][_0x2dc487(0x27b)](),this[_0x2dc487(0x16f)][_0x2dc487(0x1ce)](),this[_0x2dc487(0x1ec)]=_0x3c4016[_0x2dc487(0x106)],this['emit']('close',this[_0x2dc487(0x14b)],this[_0x2dc487(0x221)]);}['close'](_0x1b72ab,_0x5b03a7){const _0x172438=_0x2ad08d;if(this[_0x172438(0x217)]!==_0x3c4016[_0x172438(0x106)]){if(this[_0x172438(0x217)]===_0x3c4016[_0x172438(0x1b7)]){_0x113e8c(this,this[_0x172438(0x130)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x172438(0x217)]===_0x3c4016[_0x172438(0xd4)]){this[_0x172438(0x23c)]&&(this[_0x172438(0x1ab)]||this[_0x172438(0x16f)][_0x172438(0x122)][_0x172438(0x1db)])&&this[_0x172438(0x18a)][_0x172438(0x17e)]();return;}this[_0x172438(0x1ec)]=_0x3c4016['CLOSING'],this[_0x172438(0x218)][_0x172438(0x21a)](_0x1b72ab,_0x5b03a7,!this[_0x172438(0x173)],_0xc2954c=>{const _0x39400d=_0x172438;_0xc2954c||(this[_0x39400d(0x23c)]=!0x0,(this[_0x39400d(0x1ab)]||this[_0x39400d(0x16f)][_0x39400d(0x122)][_0x39400d(0x1db)])&&this[_0x39400d(0x18a)][_0x39400d(0x17e)]());}),_0x51f595(this);}}[_0x2ad08d(0x21f)](){const _0x2252ff=_0x2ad08d;this[_0x2252ff(0x217)]===_0x3c4016['CONNECTING']||this[_0x2252ff(0x217)]===_0x3c4016['CLOSED']||(this['_paused']=!0x0,this[_0x2252ff(0x18a)][_0x2252ff(0x21f)]());}[_0x2ad08d(0x21d)](_0x3e1378,_0x327aad,_0x87b6fc){const _0x7789b5=_0x2ad08d;if(this[_0x7789b5(0x217)]===_0x3c4016[_0x7789b5(0x1b7)])throw new Error(_0x7789b5(0x19d));if(typeof _0x3e1378==_0x7789b5(0x138)?(_0x87b6fc=_0x3e1378,_0x3e1378=_0x327aad=void 0x0):typeof _0x327aad==_0x7789b5(0x138)&&(_0x87b6fc=_0x327aad,_0x327aad=void 0x0),typeof _0x3e1378==_0x7789b5(0x1fb)&&(_0x3e1378=_0x3e1378[_0x7789b5(0x17a)]()),this['readyState']!==_0x3c4016[_0x7789b5(0x1bc)]){_0x4c141b(this,_0x3e1378,_0x87b6fc);return;}_0x327aad===void 0x0&&(_0x327aad=!this[_0x7789b5(0x173)]),this['_sender'][_0x7789b5(0x21d)](_0x3e1378||_0x5b57fa,_0x327aad,_0x87b6fc);}[_0x2ad08d(0xe5)](_0x4d5c11,_0x247a8b,_0x3dc323){const _0x52f73c=_0x2ad08d;if(this[_0x52f73c(0x217)]===_0x3c4016[_0x52f73c(0x1b7)])throw new Error(_0x52f73c(0x19d));if(typeof _0x4d5c11==_0x52f73c(0x138)?(_0x3dc323=_0x4d5c11,_0x4d5c11=_0x247a8b=void 0x0):typeof _0x247a8b==_0x52f73c(0x138)&&(_0x3dc323=_0x247a8b,_0x247a8b=void 0x0),typeof _0x4d5c11==_0x52f73c(0x1fb)&&(_0x4d5c11=_0x4d5c11[_0x52f73c(0x17a)]()),this[_0x52f73c(0x217)]!==_0x3c4016['OPEN']){_0x4c141b(this,_0x4d5c11,_0x3dc323);return;}_0x247a8b===void 0x0&&(_0x247a8b=!this[_0x52f73c(0x173)]),this['_sender'][_0x52f73c(0xe5)](_0x4d5c11||_0x5b57fa,_0x247a8b,_0x3dc323);}[_0x2ad08d(0x1e7)](){const _0x43252e=_0x2ad08d;this['readyState']===_0x3c4016[_0x43252e(0x1b7)]||this[_0x43252e(0x217)]===_0x3c4016[_0x43252e(0x106)]||(this[_0x43252e(0x1d3)]=!0x1,this[_0x43252e(0x16f)][_0x43252e(0x122)][_0x43252e(0x23b)]||this[_0x43252e(0x18a)][_0x43252e(0x1e7)]());}['send'](_0x22ea93,_0x3c3b9d,_0x1d6344){const _0x4214f8=_0x2ad08d;if(this[_0x4214f8(0x217)]===_0x3c4016['CONNECTING'])throw new Error(_0x4214f8(0x19d));if(typeof _0x3c3b9d==_0x4214f8(0x138)&&(_0x1d6344=_0x3c3b9d,_0x3c3b9d={}),typeof _0x22ea93=='number'&&(_0x22ea93=_0x22ea93[_0x4214f8(0x17a)]()),this[_0x4214f8(0x217)]!==_0x3c4016[_0x4214f8(0x1bc)]){_0x4c141b(this,_0x22ea93,_0x1d6344);return;}const _0x4e55c7={'binary':typeof _0x22ea93!=_0x4214f8(0x20d),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3c3b9d};this[_0x4214f8(0xcf)][_0x4eff45[_0x4214f8(0x154)]]||(_0x4e55c7['compress']=!0x1),this[_0x4214f8(0x218)][_0x4214f8(0x13a)](_0x22ea93||_0x5b57fa,_0x4e55c7,_0x1d6344);}[_0x2ad08d(0x263)](){const _0x34a835=_0x2ad08d;if(this['readyState']!==_0x3c4016[_0x34a835(0x106)]){if(this[_0x34a835(0x217)]===_0x3c4016['CONNECTING']){_0x113e8c(this,this[_0x34a835(0x130)],_0x34a835(0x27e));return;}this['_socket']&&(this[_0x34a835(0x1ec)]=_0x3c4016[_0x34a835(0xd4)],this[_0x34a835(0x18a)][_0x34a835(0x11a)]());}}}Object[_0x2ad08d(0xee)](_0x3c4016,_0x2ad08d(0x1b7),{'enumerable':!0x0,'value':_0x2ee54b[_0x2ad08d(0xf9)](_0x2ad08d(0x1b7))}),Object[_0x2ad08d(0xee)](_0x3c4016['prototype'],_0x2ad08d(0x1b7),{'enumerable':!0x0,'value':_0x2ee54b[_0x2ad08d(0xf9)](_0x2ad08d(0x1b7))}),Object[_0x2ad08d(0xee)](_0x3c4016,'OPEN',{'enumerable':!0x0,'value':_0x2ee54b[_0x2ad08d(0xf9)](_0x2ad08d(0x1bc))}),Object[_0x2ad08d(0xee)](_0x3c4016['prototype'],_0x2ad08d(0x1bc),{'enumerable':!0x0,'value':_0x2ee54b[_0x2ad08d(0xf9)]('OPEN')}),Object[_0x2ad08d(0xee)](_0x3c4016,'CLOSING',{'enumerable':!0x0,'value':_0x2ee54b['indexOf'](_0x2ad08d(0xd4))}),Object[_0x2ad08d(0xee)](_0x3c4016['prototype'],_0x2ad08d(0xd4),{'enumerable':!0x0,'value':_0x2ee54b[_0x2ad08d(0xf9)]('CLOSING')}),Object[_0x2ad08d(0xee)](_0x3c4016,_0x2ad08d(0x106),{'enumerable':!0x0,'value':_0x2ee54b[_0x2ad08d(0xf9)]('CLOSED')}),Object['defineProperty'](_0x3c4016[_0x2ad08d(0x1ad)],_0x2ad08d(0x106),{'enumerable':!0x0,'value':_0x2ee54b[_0x2ad08d(0xf9)](_0x2ad08d(0x106))}),[_0x2ad08d(0x1b6),'bufferedAmount',_0x2ad08d(0x1ff),'isPaused','protocol',_0x2ad08d(0x217),_0x2ad08d(0x271)]['forEach'](_0x4383a7=>{const _0x4d773b=_0x2ad08d;Object[_0x4d773b(0xee)](_0x3c4016[_0x4d773b(0x1ad)],_0x4383a7,{'enumerable':!0x0});}),[_0x2ad08d(0x1bd),'error',_0x2ad08d(0x21a),_0x2ad08d(0x1b4)][_0x2ad08d(0x274)](_0x5504e7=>{const _0x4364fd=_0x2ad08d;Object[_0x4364fd(0xee)](_0x3c4016[_0x4364fd(0x1ad)],'on'+_0x5504e7,{'enumerable':!0x0,'get'(){for(const _0xb623b of this['listeners'](_0x5504e7))if(_0xb623b[_0x170d55])return _0xb623b[_0x7092d6];return null;},'set'(_0x21b9c6){const _0x4ada33=_0x4364fd;for(const _0x395203 of this[_0x4ada33(0x1b1)](_0x5504e7))if(_0x395203[_0x170d55]){this[_0x4ada33(0x1f0)](_0x5504e7,_0x395203);break;}typeof _0x21b9c6==_0x4ada33(0x138)&&this[_0x4ada33(0x165)](_0x5504e7,_0x21b9c6,{[_0x170d55]:!0x0});}});}),_0x3c4016[_0x2ad08d(0x1ad)][_0x2ad08d(0x165)]=_0x5a6dba,_0x3c4016[_0x2ad08d(0x1ad)]['removeEventListener']=_0x392f29,we=_0x3c4016;function _0x1cb91b(_0x60e7b,_0x18f6e9,_0x5df6c9,_0x3e5132){const _0x24aa44=_0x2ad08d,_0x41b57a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3a04f9[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3e5132,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x24aa44(0x1f6),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x60e7b[_0x24aa44(0x229)]=_0x41b57a[_0x24aa44(0x1d4)],!_0x3a04f9[_0x24aa44(0x1f8)](_0x41b57a[_0x24aa44(0x131)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x41b57a['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x3a04f9[_0x24aa44(0x149)](',\x20')+')');let _0x15207c;if(_0x18f6e9 instanceof _0x2ae54f)_0x15207c=_0x18f6e9;else try{_0x15207c=new _0x2ae54f(_0x18f6e9);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x18f6e9);}_0x15207c[_0x24aa44(0x104)]===_0x24aa44(0x200)?_0x15207c[_0x24aa44(0x104)]=_0x24aa44(0x1f9):_0x15207c['protocol']==='https:'&&(_0x15207c[_0x24aa44(0x104)]=_0x24aa44(0x1bf)),_0x60e7b[_0x24aa44(0x1b8)]=_0x15207c[_0x24aa44(0xfb)];const _0x3f5e56=_0x15207c[_0x24aa44(0x104)]===_0x24aa44(0x1bf),_0x3e1cc2=_0x15207c[_0x24aa44(0x104)]===_0x24aa44(0x13d);let _0x2741c4;if(_0x15207c[_0x24aa44(0x104)]!==_0x24aa44(0x1f9)&&!_0x3f5e56&&!_0x3e1cc2?_0x2741c4='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':_0x3e1cc2&&!_0x15207c[_0x24aa44(0xed)]?_0x2741c4=_0x24aa44(0x112):_0x15207c[_0x24aa44(0x17b)]&&(_0x2741c4=_0x24aa44(0x22f)),_0x2741c4){const _0x2eda1e=new SyntaxError(_0x2741c4);if(_0x60e7b['_redirects']===0x0)throw _0x2eda1e;_0x5456c3(_0x60e7b,_0x2eda1e);return;}const _0x4ad7dd=_0x3f5e56?0x1bb:0x50,_0xc46f7c=_0x41e58e(0x10)[_0x24aa44(0x17a)](_0x24aa44(0x1c3)),_0x5daf1e=_0x3f5e56?_0x7ba698[_0x24aa44(0x19e)]:_0x1bf8eb[_0x24aa44(0x19e)],_0x2a2aa7=new Set();let _0x35e043;if(_0x41b57a[_0x24aa44(0x10e)]=_0x41b57a['createConnection']||(_0x3f5e56?_0x2ddf2e:_0x2290e2),_0x41b57a[_0x24aa44(0x128)]=_0x41b57a[_0x24aa44(0x128)]||_0x4ad7dd,_0x41b57a[_0x24aa44(0xd7)]=_0x15207c[_0x24aa44(0xd7)]||_0x4ad7dd,_0x41b57a[_0x24aa44(0x216)]=_0x15207c[_0x24aa44(0x1a1)]['startsWith']('[')?_0x15207c[_0x24aa44(0x1a1)]['slice'](0x1,-0x1):_0x15207c['hostname'],_0x41b57a[_0x24aa44(0x19b)]={..._0x41b57a[_0x24aa44(0x19b)],'Sec-WebSocket-Version':_0x41b57a['protocolVersion'],'Sec-WebSocket-Key':_0xc46f7c,'Connection':_0x24aa44(0xef),'Upgrade':'websocket'},_0x41b57a[_0x24aa44(0x127)]=_0x15207c[_0x24aa44(0xed)]+_0x15207c[_0x24aa44(0x1c5)],_0x41b57a[_0x24aa44(0x27d)]=_0x41b57a['handshakeTimeout'],_0x41b57a['perMessageDeflate']&&(_0x35e043=new _0x4eff45(_0x41b57a[_0x24aa44(0x20c)]!==!0x0?_0x41b57a[_0x24aa44(0x20c)]:{},!0x1,_0x41b57a[_0x24aa44(0x14d)]),_0x41b57a[_0x24aa44(0x19b)][_0x24aa44(0x16b)]=_0xc6c7e4({[_0x4eff45[_0x24aa44(0x154)]]:_0x35e043[_0x24aa44(0x22c)]()})),_0x5df6c9['length']){for(const _0x2b8a42 of _0x5df6c9){if(typeof _0x2b8a42!='string'||!_0x183722[_0x24aa44(0x236)](_0x2b8a42)||_0x2a2aa7[_0x24aa44(0x26f)](_0x2b8a42))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x2a2aa7[_0x24aa44(0x1b5)](_0x2b8a42);}_0x41b57a[_0x24aa44(0x19b)]['Sec-WebSocket-Protocol']=_0x5df6c9[_0x24aa44(0x149)](',');}if(_0x41b57a[_0x24aa44(0xd2)]&&(_0x41b57a[_0x24aa44(0x131)]<0xd?_0x41b57a[_0x24aa44(0x19b)][_0x24aa44(0x136)]=_0x41b57a[_0x24aa44(0xd2)]:_0x41b57a[_0x24aa44(0x19b)][_0x24aa44(0x17d)]=_0x41b57a['origin']),(_0x15207c[_0x24aa44(0x1d2)]||_0x15207c[_0x24aa44(0xe0)])&&(_0x41b57a[_0x24aa44(0x233)]=_0x15207c['username']+':'+_0x15207c[_0x24aa44(0xe0)]),_0x3e1cc2){const _0x530d3d=_0x41b57a[_0x24aa44(0x127)][_0x24aa44(0x1f4)](':');_0x41b57a['socketPath']=_0x530d3d[0x0],_0x41b57a[_0x24aa44(0x127)]=_0x530d3d[0x1];}let _0x2f21ea;if(_0x41b57a['followRedirects']){if(_0x60e7b[_0x24aa44(0x1a0)]===0x0){_0x60e7b[_0x24aa44(0x279)]=_0x3e1cc2,_0x60e7b[_0x24aa44(0x1a4)]=_0x3f5e56,_0x60e7b[_0x24aa44(0x1fd)]=_0x3e1cc2?_0x41b57a['socketPath']:_0x15207c[_0x24aa44(0x216)];const _0xf156d=_0x3e5132&&_0x3e5132[_0x24aa44(0x19b)];if(_0x3e5132={..._0x3e5132,'headers':{}},_0xf156d){for(const [_0x4eedec,_0x4c3df4]of Object['entries'](_0xf156d))_0x3e5132[_0x24aa44(0x19b)][_0x4eedec[_0x24aa44(0x12c)]()]=_0x4c3df4;}}else{if(_0x60e7b[_0x24aa44(0xff)](_0x24aa44(0x10f))===0x0){const _0x1889e3=_0x3e1cc2?_0x60e7b[_0x24aa44(0x279)]?_0x41b57a['socketPath']===_0x60e7b[_0x24aa44(0x1fd)]:!0x1:_0x60e7b[_0x24aa44(0x279)]?!0x1:_0x15207c[_0x24aa44(0x216)]===_0x60e7b['_originalHostOrSocketPath'];(!_0x1889e3||_0x60e7b['_originalSecure']&&!_0x3f5e56)&&(delete _0x41b57a[_0x24aa44(0x19b)]['authorization'],delete _0x41b57a[_0x24aa44(0x19b)]['cookie'],_0x1889e3||delete _0x41b57a[_0x24aa44(0x19b)]['host'],_0x41b57a['auth']=void 0x0);}}_0x41b57a[_0x24aa44(0x233)]&&!_0x3e5132['headers'][_0x24aa44(0x266)]&&(_0x3e5132[_0x24aa44(0x19b)][_0x24aa44(0x266)]=_0x24aa44(0x163)+Buffer[_0x24aa44(0x249)](_0x41b57a[_0x24aa44(0x233)])[_0x24aa44(0x17a)](_0x24aa44(0x1c3))),_0x2f21ea=_0x60e7b[_0x24aa44(0x130)]=_0x5daf1e(_0x41b57a),_0x60e7b[_0x24aa44(0x1a0)]&&_0x60e7b[_0x24aa44(0x1b3)](_0x24aa44(0x10f),_0x60e7b[_0x24aa44(0x271)],_0x2f21ea);}else _0x2f21ea=_0x60e7b['_req']=_0x5daf1e(_0x41b57a);_0x41b57a[_0x24aa44(0x27d)]&&_0x2f21ea['on'](_0x24aa44(0x27d),()=>{const _0x78f0fc=_0x24aa44;_0x113e8c(_0x60e7b,_0x2f21ea,_0x78f0fc(0x234));}),_0x2f21ea['on']('error',_0x5ca312=>{const _0x1930cf=_0x24aa44;_0x2f21ea===null||_0x2f21ea[_0x5ecb2b]||(_0x2f21ea=_0x60e7b[_0x1930cf(0x130)]=null,_0x5456c3(_0x60e7b,_0x5ca312));}),_0x2f21ea['on']('response',_0xa5a6a3=>{const _0x379196=_0x24aa44,_0x528354=_0xa5a6a3[_0x379196(0x19b)][_0x379196(0x201)],_0x1b0e31=_0xa5a6a3[_0x379196(0x12b)];if(_0x528354&&_0x41b57a[_0x379196(0x1dd)]&&_0x1b0e31>=0x12c&&_0x1b0e31<0x190){if(++_0x60e7b[_0x379196(0x1a0)]>_0x41b57a[_0x379196(0x13b)]){_0x113e8c(_0x60e7b,_0x2f21ea,_0x379196(0x1a2));return;}_0x2f21ea[_0x379196(0xdd)]();let _0x37d36e;try{_0x37d36e=new _0x2ae54f(_0x528354,_0x18f6e9);}catch{const _0x2ae5e1=new SyntaxError(_0x379196(0x118)+_0x528354);_0x5456c3(_0x60e7b,_0x2ae5e1);return;}_0x1cb91b(_0x60e7b,_0x37d36e,_0x5df6c9,_0x3e5132);}else _0x60e7b['emit']('unexpected-response',_0x2f21ea,_0xa5a6a3)||_0x113e8c(_0x60e7b,_0x2f21ea,'Unexpected\x20server\x20response:\x20'+_0xa5a6a3[_0x379196(0x12b)]);}),_0x2f21ea['on'](_0x24aa44(0x210),(_0x4a2647,_0x46f3d3,_0x304599)=>{const _0x545526=_0x24aa44;if(_0x60e7b['emit'](_0x545526(0x210),_0x4a2647),_0x60e7b[_0x545526(0x217)]!==_0x3c4016[_0x545526(0x1b7)])return;_0x2f21ea=_0x60e7b[_0x545526(0x130)]=null;const _0x56f1d5=_0x4a2647['headers'][_0x545526(0x210)];if(_0x56f1d5===void 0x0||_0x56f1d5[_0x545526(0x12c)]()!==_0x545526(0x153)){_0x113e8c(_0x60e7b,_0x46f3d3,_0x545526(0xd1));return;}const _0x525f52=_0x1670ca(_0x545526(0x27a))['update'](_0xc46f7c+_0x560706)[_0x545526(0x289)](_0x545526(0x1c3));if(_0x4a2647['headers'][_0x545526(0x12f)]!==_0x525f52){_0x113e8c(_0x60e7b,_0x46f3d3,_0x545526(0x134));return;}const _0x4787f0=_0x4a2647[_0x545526(0x19b)]['sec-websocket-protocol'];let _0x19c76d;if(_0x4787f0!==void 0x0?_0x2a2aa7[_0x545526(0x15f)]?_0x2a2aa7['has'](_0x4787f0)||(_0x19c76d=_0x545526(0x1f7)):_0x19c76d=_0x545526(0x22b):_0x2a2aa7['size']&&(_0x19c76d='Server\x20sent\x20no\x20subprotocol'),_0x19c76d){_0x113e8c(_0x60e7b,_0x46f3d3,_0x19c76d);return;}_0x4787f0&&(_0x60e7b[_0x545526(0xfd)]=_0x4787f0);const _0x527a17=_0x4a2647['headers']['sec-websocket-extensions'];if(_0x527a17!==void 0x0){if(!_0x35e043){_0x113e8c(_0x60e7b,_0x46f3d3,_0x545526(0xe9));return;}let _0x4e36a4;try{_0x4e36a4=_0x5ec535(_0x527a17);}catch{_0x113e8c(_0x60e7b,_0x46f3d3,_0x545526(0x267));return;}const _0x3f3bd3=Object[_0x545526(0x203)](_0x4e36a4);if(_0x3f3bd3['length']!==0x1||_0x3f3bd3[0x0]!==_0x4eff45[_0x545526(0x154)]){_0x113e8c(_0x60e7b,_0x46f3d3,_0x545526(0x231));return;}try{_0x35e043[_0x545526(0x169)](_0x4e36a4[_0x4eff45[_0x545526(0x154)]]);}catch{_0x113e8c(_0x60e7b,_0x46f3d3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x60e7b['_extensions'][_0x4eff45[_0x545526(0x154)]]=_0x35e043;}_0x60e7b[_0x545526(0x185)](_0x46f3d3,_0x304599,{'allowSynchronousEvents':_0x41b57a['allowSynchronousEvents'],'generateMask':_0x41b57a[_0x545526(0xce)],'maxPayload':_0x41b57a[_0x545526(0x14d)],'skipUTF8Validation':_0x41b57a[_0x545526(0x20b)]});}),_0x41b57a[_0x24aa44(0x1c6)]?_0x41b57a[_0x24aa44(0x1c6)](_0x2f21ea,_0x60e7b):_0x2f21ea[_0x24aa44(0x17e)]();}function _0x5456c3(_0x1b3291,_0x11d87a){const _0x5e277a=_0x2ad08d;_0x1b3291[_0x5e277a(0x1ec)]=_0x3c4016[_0x5e277a(0xd4)],_0x1b3291['_errorEmitted']=!0x0,_0x1b3291[_0x5e277a(0x1b3)](_0x5e277a(0x192),_0x11d87a),_0x1b3291[_0x5e277a(0xf4)]();}function _0x2290e2(_0x5a7a66){const _0x38d14a=_0x2ad08d;return _0x5a7a66[_0x38d14a(0x127)]=_0x5a7a66[_0x38d14a(0x261)],_0x1f8e1c[_0x38d14a(0x14c)](_0x5a7a66);}function _0x2ddf2e(_0x26bc93){const _0x4936b8=_0x2ad08d;return _0x26bc93[_0x4936b8(0x127)]=void 0x0,!_0x26bc93[_0x4936b8(0x17f)]&&_0x26bc93[_0x4936b8(0x17f)]!==''&&(_0x26bc93[_0x4936b8(0x17f)]=_0x1f8e1c[_0x4936b8(0x1d7)](_0x26bc93[_0x4936b8(0x216)])?'':_0x26bc93[_0x4936b8(0x216)]),_0x32955f[_0x4936b8(0x14c)](_0x26bc93);}function _0x113e8c(_0x2d2fd3,_0x352ba5,_0x1e5614){const _0x487f79=_0x2ad08d;_0x2d2fd3[_0x487f79(0x1ec)]=_0x3c4016['CLOSING'];const _0x217909=new Error(_0x1e5614);Error[_0x487f79(0x213)](_0x217909,_0x113e8c),_0x352ba5['setHeader']?(_0x352ba5[_0x5ecb2b]=!0x0,_0x352ba5[_0x487f79(0xdd)](),_0x352ba5['socket']&&!_0x352ba5[_0x487f79(0x288)][_0x487f79(0x259)]&&_0x352ba5[_0x487f79(0x288)][_0x487f79(0x11a)](),process[_0x487f79(0x14f)](_0x5456c3,_0x2d2fd3,_0x217909)):(_0x352ba5['destroy'](_0x217909),_0x352ba5[_0x487f79(0x155)](_0x487f79(0x192),_0x2d2fd3[_0x487f79(0x1b3)][_0x487f79(0x176)](_0x2d2fd3,_0x487f79(0x192))),_0x352ba5[_0x487f79(0x155)](_0x487f79(0x21a),_0x2d2fd3[_0x487f79(0xf4)]['bind'](_0x2d2fd3)));}function _0x4c141b(_0x56bf59,_0x219d39,_0x4e2bb2){const _0x182706=_0x2ad08d;if(_0x219d39){const _0x117c7a=_0x1db6c4(_0x219d39)?_0x219d39[_0x182706(0x15f)]:_0x2b8a1d(_0x219d39)[_0x182706(0x232)];_0x56bf59[_0x182706(0x18a)]?_0x56bf59[_0x182706(0x218)][_0x182706(0x137)]+=_0x117c7a:_0x56bf59[_0x182706(0x22e)]+=_0x117c7a;}if(_0x4e2bb2){const _0x58f290=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x56bf59[_0x182706(0x217)]+'\x20('+_0x2ee54b[_0x56bf59[_0x182706(0x217)]]+')');process[_0x182706(0x14f)](_0x4e2bb2,_0x58f290);}}function _0x31197a(_0x15246a,_0x3df511){const _0x1da5db=_0x2ad08d,_0x3bf9fd=this[_0x54438d];_0x3bf9fd[_0x1da5db(0x1ab)]=!0x0,_0x3bf9fd[_0x1da5db(0x221)]=_0x3df511,_0x3bf9fd[_0x1da5db(0x14b)]=_0x15246a,_0x3bf9fd['_socket'][_0x54438d]!==void 0x0&&(_0x3bf9fd[_0x1da5db(0x18a)]['removeListener'](_0x1da5db(0xea),_0x32804b),process[_0x1da5db(0x14f)](_0x21ff7c,_0x3bf9fd[_0x1da5db(0x18a)]),_0x15246a===0x3ed?_0x3bf9fd[_0x1da5db(0x21a)]():_0x3bf9fd['close'](_0x15246a,_0x3df511));}function _0x2fd819(){const _0x5c89ff=_0x2ad08d,_0x201b18=this[_0x54438d];_0x201b18[_0x5c89ff(0x239)]||_0x201b18[_0x5c89ff(0x18a)][_0x5c89ff(0x1e7)]();}function _0x58b0ed(_0x5488b1){const _0x4b96e1=_0x2ad08d,_0x39ad08=this[_0x54438d];_0x39ad08[_0x4b96e1(0x18a)][_0x54438d]!==void 0x0&&(_0x39ad08[_0x4b96e1(0x18a)][_0x4b96e1(0x1f0)](_0x4b96e1(0xea),_0x32804b),process[_0x4b96e1(0x14f)](_0x21ff7c,_0x39ad08[_0x4b96e1(0x18a)]),_0x39ad08[_0x4b96e1(0x21a)](_0x5488b1[_0x25808c])),_0x39ad08['_errorEmitted']||(_0x39ad08[_0x4b96e1(0x22d)]=!0x0,_0x39ad08['emit'](_0x4b96e1(0x192),_0x5488b1));}function _0x3c0330(){this[_0x54438d]['emitClose']();}function _0x30bfb6(_0x45f393,_0x42108b){const _0x2c539c=_0x2ad08d;this[_0x54438d][_0x2c539c(0x1b3)]('message',_0x45f393,_0x42108b);}function _0x481b43(_0x59e6e2){const _0x491c47=_0x2ad08d,_0x1bc5d1=this[_0x54438d];_0x1bc5d1[_0x491c47(0x229)]&&_0x1bc5d1['pong'](_0x59e6e2,!this['_isServer'],_0x2a04cb),_0x1bc5d1['emit'](_0x491c47(0x21d),_0x59e6e2);}function _0x111e41(_0x1f4d3e){const _0x3803bb=_0x2ad08d;this[_0x54438d]['emit'](_0x3803bb(0xe5),_0x1f4d3e);}function _0x21ff7c(_0x4a1f1d){const _0x4fc2bd=_0x2ad08d;_0x4a1f1d[_0x4fc2bd(0x1e7)]();}function _0x19cdab(_0x17ed38){const _0x3e86a8=_0x2ad08d,_0x59b91c=this[_0x54438d];_0x59b91c[_0x3e86a8(0x217)]!==_0x3c4016[_0x3e86a8(0x106)]&&(_0x59b91c['readyState']===_0x3c4016['OPEN']&&(_0x59b91c['_readyState']=_0x3c4016['CLOSING'],_0x51f595(_0x59b91c)),this[_0x3e86a8(0x18a)][_0x3e86a8(0x17e)](),_0x59b91c[_0x3e86a8(0x22d)]||(_0x59b91c[_0x3e86a8(0x22d)]=!0x0,_0x59b91c[_0x3e86a8(0x1b3)](_0x3e86a8(0x192),_0x17ed38)));}function _0x51f595(_0x42c509){const _0x279468=_0x2ad08d;_0x42c509['_closeTimer']=setTimeout(_0x42c509['_socket'][_0x279468(0x11a)][_0x279468(0x176)](_0x42c509[_0x279468(0x18a)]),_0x73886);}function _0x389e53(){const _0x2b267f=_0x2ad08d,_0x295ace=this[_0x54438d];this[_0x2b267f(0x1f0)](_0x2b267f(0x21a),_0x389e53),this[_0x2b267f(0x1f0)](_0x2b267f(0xea),_0x32804b),this['removeListener']('end',_0xed7ed4),_0x295ace[_0x2b267f(0x1ec)]=_0x3c4016[_0x2b267f(0xd4)];let _0x589cfa;!this['_readableState'][_0x2b267f(0xe3)]&&!_0x295ace[_0x2b267f(0x1ab)]&&!_0x295ace[_0x2b267f(0x16f)][_0x2b267f(0x122)][_0x2b267f(0x1db)]&&(_0x589cfa=_0x295ace[_0x2b267f(0x18a)][_0x2b267f(0xec)]())!==null&&_0x295ace['_receiver'][_0x2b267f(0x172)](_0x589cfa),_0x295ace['_receiver'][_0x2b267f(0x17e)](),this[_0x54438d]=void 0x0,clearTimeout(_0x295ace['_closeTimer']),_0x295ace[_0x2b267f(0x16f)][_0x2b267f(0x122)][_0x2b267f(0x145)]||_0x295ace['_receiver'][_0x2b267f(0x122)]['errorEmitted']?_0x295ace['emitClose']():(_0x295ace[_0x2b267f(0x16f)]['on']('error',_0x3c0330),_0x295ace['_receiver']['on'](_0x2b267f(0x1d1),_0x3c0330));}function _0x32804b(_0x37b2ae){const _0xe9f9bb=_0x2ad08d;this[_0x54438d][_0xe9f9bb(0x16f)][_0xe9f9bb(0x172)](_0x37b2ae)||this['pause']();}function _0xed7ed4(){const _0xc12e0e=_0x2ad08d,_0x1cc0d5=this[_0x54438d];_0x1cc0d5[_0xc12e0e(0x1ec)]=_0x3c4016['CLOSING'],_0x1cc0d5[_0xc12e0e(0x16f)]['end'](),this['end']();}function _0x38c69e(){const _0x9cd854=_0x2ad08d,_0x84bb1=this[_0x54438d];this[_0x9cd854(0x1f0)](_0x9cd854(0x192),_0x38c69e),this['on'](_0x9cd854(0x192),_0x2a04cb),_0x84bb1&&(_0x84bb1[_0x9cd854(0x1ec)]=_0x3c4016[_0x9cd854(0xd4)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1a27b5}=oe;function _0x5eabb9(_0x10ce21){const _0x187ca7=_0x5ab4;_0x10ce21[_0x187ca7(0x1b3)](_0x187ca7(0x21a));}function _0x3d3255(){const _0x7a1562=_0x5ab4;!this[_0x7a1562(0x259)]&&this['_writableState'][_0x7a1562(0x145)]&&this[_0x7a1562(0x11a)]();}function _0x2b86ef(_0x168ede){const _0x38a7f9=_0x5ab4;this['removeListener']('error',_0x2b86ef),this[_0x38a7f9(0x11a)](),this['listenerCount']('error')===0x0&&this[_0x38a7f9(0x1b3)](_0x38a7f9(0x192),_0x168ede);}function _0x3359e1(_0xaed4e1,_0x2de102){const _0x3a0e98=_0x5ab4;let _0xb83c2b=!0x0;const _0x32a09a=new _0x1a27b5({..._0x2de102,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xaed4e1['on']('message',function(_0x240be6,_0x338b56){const _0x3a32ff=_0x5ab4,_0x1f4369=!_0x338b56&&_0x32a09a[_0x3a32ff(0x1a6)]['objectMode']?_0x240be6[_0x3a32ff(0x17a)]():_0x240be6;_0x32a09a[_0x3a32ff(0x1be)](_0x1f4369)||_0xaed4e1[_0x3a32ff(0x21f)]();}),_0xaed4e1[_0x3a0e98(0x155)](_0x3a0e98(0x192),function(_0x31cfa5){const _0x392b88=_0x3a0e98;_0x32a09a[_0x392b88(0x259)]||(_0xb83c2b=!0x1,_0x32a09a['destroy'](_0x31cfa5));}),_0xaed4e1['once'](_0x3a0e98(0x21a),function(){const _0x10c907=_0x3a0e98;_0x32a09a[_0x10c907(0x259)]||_0x32a09a['push'](null);}),_0x32a09a['_destroy']=function(_0x40ee1a,_0x2e8518){const _0x421f5c=_0x3a0e98;if(_0xaed4e1[_0x421f5c(0x217)]===_0xaed4e1[_0x421f5c(0x106)]){_0x2e8518(_0x40ee1a),process[_0x421f5c(0x14f)](_0x5eabb9,_0x32a09a);return;}let _0x1331ce=!0x1;_0xaed4e1[_0x421f5c(0x155)](_0x421f5c(0x192),function(_0x379fa4){_0x1331ce=!0x0,_0x2e8518(_0x379fa4);}),_0xaed4e1[_0x421f5c(0x155)](_0x421f5c(0x21a),function(){const _0x53c09b=_0x421f5c;_0x1331ce||_0x2e8518(_0x40ee1a),process[_0x53c09b(0x14f)](_0x5eabb9,_0x32a09a);}),_0xb83c2b&&_0xaed4e1[_0x421f5c(0x263)]();},_0x32a09a[_0x3a0e98(0x143)]=function(_0x8d740d){const _0x2d3a5f=_0x3a0e98;if(_0xaed4e1[_0x2d3a5f(0x217)]===_0xaed4e1[_0x2d3a5f(0x1b7)]){_0xaed4e1[_0x2d3a5f(0x155)](_0x2d3a5f(0x1bd),function(){const _0x281b5f=_0x2d3a5f;_0x32a09a[_0x281b5f(0x143)](_0x8d740d);});return;}_0xaed4e1[_0x2d3a5f(0x18a)]!==null&&(_0xaed4e1[_0x2d3a5f(0x18a)][_0x2d3a5f(0x122)][_0x2d3a5f(0x145)]?(_0x8d740d(),_0x32a09a[_0x2d3a5f(0x1a6)][_0x2d3a5f(0xe3)]&&_0x32a09a[_0x2d3a5f(0x11a)]()):(_0xaed4e1[_0x2d3a5f(0x18a)][_0x2d3a5f(0x155)]('finish',function(){_0x8d740d();}),_0xaed4e1[_0x2d3a5f(0x21a)]()));},_0x32a09a[_0x3a0e98(0x1af)]=function(){const _0xf55ed4=_0x3a0e98;_0xaed4e1['isPaused']&&_0xaed4e1[_0xf55ed4(0x1e7)]();},_0x32a09a['_write']=function(_0x439ca6,_0x4815f1,_0x20b6ee){const _0x326f51=_0x3a0e98;if(_0xaed4e1[_0x326f51(0x217)]===_0xaed4e1[_0x326f51(0x1b7)]){_0xaed4e1[_0x326f51(0x155)](_0x326f51(0x1bd),function(){_0x32a09a['_write'](_0x439ca6,_0x4815f1,_0x20b6ee);});return;}_0xaed4e1[_0x326f51(0x13a)](_0x439ca6,_0x20b6ee);},_0x32a09a['on'](_0x3a0e98(0x17e),_0x3d3255),_0x32a09a['on']('error',_0x2b86ef),_0x32a09a;}return Oe=_0x3359e1,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x543c7b}=ae();function _0x4194f0(_0x26eb82){const _0x3338a9=_0x5ab4,_0x4cc506=new Set();let _0x47c6a0=-0x1,_0x57e01c=-0x1,_0x26807d=0x0;for(_0x26807d;_0x26807d<_0x26eb82[_0x3338a9(0x232)];_0x26807d++){const _0x1f6f66=_0x26eb82['charCodeAt'](_0x26807d);if(_0x57e01c===-0x1&&_0x543c7b[_0x1f6f66]===0x1)_0x47c6a0===-0x1&&(_0x47c6a0=_0x26807d);else{if(_0x26807d!==0x0&&(_0x1f6f66===0x20||_0x1f6f66===0x9))_0x57e01c===-0x1&&_0x47c6a0!==-0x1&&(_0x57e01c=_0x26807d);else{if(_0x1f6f66===0x2c){if(_0x47c6a0===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x26807d);_0x57e01c===-0x1&&(_0x57e01c=_0x26807d);const _0x2a8e76=_0x26eb82[_0x3338a9(0xe1)](_0x47c6a0,_0x57e01c);if(_0x4cc506[_0x3338a9(0x26f)](_0x2a8e76))throw new SyntaxError('The\x20\x22'+_0x2a8e76+_0x3338a9(0x119));_0x4cc506[_0x3338a9(0x1b5)](_0x2a8e76),_0x47c6a0=_0x57e01c=-0x1;}else throw new SyntaxError(_0x3338a9(0x115)+_0x26807d);}}}if(_0x47c6a0===-0x1||_0x57e01c!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x50c55d=_0x26eb82[_0x3338a9(0xe1)](_0x47c6a0,_0x26807d);if(_0x4cc506[_0x3338a9(0x26f)](_0x50c55d))throw new SyntaxError(_0x3338a9(0x220)+_0x50c55d+_0x3338a9(0x119));return _0x4cc506[_0x3338a9(0x1b5)](_0x50c55d),_0x4cc506;}return Ce={'parse':_0x4194f0},Ce;}var Te,rt;function Ft(){const _0x16089a=_0x3a24cf;if(rt)return Te;rt=0x1;const _0x58c893=nt,_0x3ae366=ot,{Duplex:_0x1746b8}=oe,{createHash:_0x3fd2d0}=Le,_0x5c1b21=ct(),_0x13cee4=he(),_0x4be604=At(),_0x4c8982=Pe(),{GUID:_0x1b461d,kWebSocket:_0x300b0b}=H(),_0x2ed8a6=/^[+/0-9A-Za-z]{22}==$/,_0x21976c=0x0,_0x1bfaa4=0x1,_0x5239fa=0x2;class _0x5d04b7 extends _0x58c893{constructor(_0x5356a2,_0x3189d3){const _0x4dbb04=_0x5ab4;if(super(),_0x5356a2={'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':_0x4c8982,..._0x5356a2},_0x5356a2[_0x4dbb04(0xd7)]==null&&!_0x5356a2[_0x4dbb04(0x103)]&&!_0x5356a2[_0x4dbb04(0xe4)]||_0x5356a2[_0x4dbb04(0xd7)]!=null&&(_0x5356a2[_0x4dbb04(0x103)]||_0x5356a2[_0x4dbb04(0xe4)])||_0x5356a2[_0x4dbb04(0x103)]&&_0x5356a2[_0x4dbb04(0xe4)])throw new TypeError(_0x4dbb04(0x111));if(_0x5356a2[_0x4dbb04(0xd7)]!=null?(this['_server']=_0x3ae366['createServer']((_0x44f692,_0x39b905)=>{const _0x20101e=_0x4dbb04,_0x4c0cd0=_0x3ae366[_0x20101e(0x1de)][0x1aa];_0x39b905['writeHead'](0x1aa,{'Content-Length':_0x4c0cd0['length'],'Content-Type':_0x20101e(0x11f)}),_0x39b905['end'](_0x4c0cd0);}),this['_server'][_0x4dbb04(0x230)](_0x5356a2[_0x4dbb04(0xd7)],_0x5356a2[_0x4dbb04(0x216)],_0x5356a2[_0x4dbb04(0x1c2)],_0x3189d3)):_0x5356a2[_0x4dbb04(0x103)]&&(this[_0x4dbb04(0x1e1)]=_0x5356a2[_0x4dbb04(0x103)]),this[_0x4dbb04(0x1e1)]){const _0x4f39d4=this[_0x4dbb04(0x1b3)][_0x4dbb04(0x176)](this,_0x4dbb04(0x223));this['_removeListeners']=_0x212d9d(this[_0x4dbb04(0x1e1)],{'listening':this['emit'][_0x4dbb04(0x176)](this,_0x4dbb04(0x100)),'error':this[_0x4dbb04(0x1b3)][_0x4dbb04(0x176)](this,'error'),'upgrade':(_0xf81dae,_0x1ef15d,_0x5cd25d)=>{const _0x55d8f7=_0x4dbb04;this[_0x55d8f7(0x16c)](_0xf81dae,_0x1ef15d,_0x5cd25d,_0x4f39d4);}});}_0x5356a2['perMessageDeflate']===!0x0&&(_0x5356a2[_0x4dbb04(0x20c)]={}),_0x5356a2[_0x4dbb04(0x1c9)]&&(this[_0x4dbb04(0x209)]=new Set(),this[_0x4dbb04(0x269)]=!0x1),this[_0x4dbb04(0x282)]=_0x5356a2,this[_0x4dbb04(0x247)]=_0x21976c;}[_0x16089a(0x1d8)](){const _0x497b86=_0x16089a;if(this[_0x497b86(0x282)]['noServer'])throw new Error(_0x497b86(0x238));return this[_0x497b86(0x1e1)]?this[_0x497b86(0x1e1)]['address']():null;}['close'](_0x5f0c0d){const _0x218a57=_0x16089a;if(this[_0x218a57(0x247)]===_0x5239fa){_0x5f0c0d&&this[_0x218a57(0x155)](_0x218a57(0x21a),()=>{_0x5f0c0d(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x218a57(0x14f)](_0xa6e756,this);return;}if(_0x5f0c0d&&this['once'](_0x218a57(0x21a),_0x5f0c0d),this[_0x218a57(0x247)]!==_0x1bfaa4){if(this[_0x218a57(0x247)]=_0x1bfaa4,this[_0x218a57(0x282)][_0x218a57(0xe4)]||this['options'][_0x218a57(0x103)])this[_0x218a57(0x1e1)]&&(this[_0x218a57(0x24f)](),this[_0x218a57(0x24f)]=this['_server']=null),this[_0x218a57(0x209)]?this[_0x218a57(0x209)][_0x218a57(0x15f)]?this[_0x218a57(0x269)]=!0x0:process[_0x218a57(0x14f)](_0xa6e756,this):process['nextTick'](_0xa6e756,this);else{const _0x22fe7a=this['_server'];this[_0x218a57(0x24f)](),this[_0x218a57(0x24f)]=this[_0x218a57(0x1e1)]=null,_0x22fe7a['close'](()=>{_0xa6e756(this);});}}}[_0x16089a(0x181)](_0x46d413){const _0x51689b=_0x16089a;if(this[_0x51689b(0x282)][_0x51689b(0x127)]){const _0xfccd9e=_0x46d413[_0x51689b(0x271)]['indexOf']('?');if((_0xfccd9e!==-0x1?_0x46d413['url']['slice'](0x0,_0xfccd9e):_0x46d413[_0x51689b(0x271)])!==this['options']['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x3b1fa6,_0x58a020,_0xc53537,_0x3d61de){const _0x2ddc40=_0x16089a;_0x58a020['on']('error',_0xaa152e);const _0x2a1916=_0x3b1fa6[_0x2ddc40(0x19b)][_0x2ddc40(0x27f)],_0x48ecfc=_0x3b1fa6['headers'][_0x2ddc40(0x210)],_0x132a9a=+_0x3b1fa6[_0x2ddc40(0x19b)][_0x2ddc40(0x1aa)];if(_0x3b1fa6['method']!==_0x2ddc40(0x1f6)){_0x178e46(this,_0x3b1fa6,_0x58a020,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x48ecfc===void 0x0||_0x48ecfc[_0x2ddc40(0x12c)]()!=='websocket'){_0x178e46(this,_0x3b1fa6,_0x58a020,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2a1916===void 0x0||!_0x2ed8a6['test'](_0x2a1916)){_0x178e46(this,_0x3b1fa6,_0x58a020,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x132a9a!==0xd&&_0x132a9a!==0x8){_0x178e46(this,_0x3b1fa6,_0x58a020,0x190,_0x2ddc40(0x1c7),{'Sec-WebSocket-Version':_0x2ddc40(0x1ae)});return;}if(!this[_0x2ddc40(0x181)](_0x3b1fa6)){_0x33e9d7(_0x58a020,0x190);return;}const _0x2b5213=_0x3b1fa6[_0x2ddc40(0x19b)][_0x2ddc40(0x1c0)];let _0x298f5f=new Set();if(_0x2b5213!==void 0x0)try{_0x298f5f=_0x4be604[_0x2ddc40(0x132)](_0x2b5213);}catch{_0x178e46(this,_0x3b1fa6,_0x58a020,0x190,_0x2ddc40(0x180));return;}const _0x5ab192=_0x3b1fa6[_0x2ddc40(0x19b)][_0x2ddc40(0x1e2)],_0x7ed8fa={};if(this[_0x2ddc40(0x282)]['perMessageDeflate']&&_0x5ab192!==void 0x0){const _0x1da998=new _0x13cee4(this[_0x2ddc40(0x282)][_0x2ddc40(0x20c)],!0x0,this['options'][_0x2ddc40(0x14d)]);try{const _0x414462=_0x5c1b21['parse'](_0x5ab192);_0x414462[_0x13cee4['extensionName']]&&(_0x1da998[_0x2ddc40(0x169)](_0x414462[_0x13cee4[_0x2ddc40(0x154)]]),_0x7ed8fa[_0x13cee4[_0x2ddc40(0x154)]]=_0x1da998);}catch{_0x178e46(this,_0x3b1fa6,_0x58a020,0x190,_0x2ddc40(0x202));return;}}if(this['options'][_0x2ddc40(0x246)]){const _0x9a318f={'origin':_0x3b1fa6['headers'][''+(_0x132a9a===0x8?_0x2ddc40(0x10b):'origin')],'secure':!!(_0x3b1fa6[_0x2ddc40(0x288)][_0x2ddc40(0x227)]||_0x3b1fa6[_0x2ddc40(0x288)][_0x2ddc40(0x15a)]),'req':_0x3b1fa6};if(this['options'][_0x2ddc40(0x246)]['length']===0x2){this['options'][_0x2ddc40(0x246)](_0x9a318f,(_0x3e2fa4,_0x5d1e8c,_0x5a0219,_0x408403)=>{const _0x40c0b1=_0x2ddc40;if(!_0x3e2fa4)return _0x33e9d7(_0x58a020,_0x5d1e8c||0x191,_0x5a0219,_0x408403);this[_0x40c0b1(0x168)](_0x7ed8fa,_0x2a1916,_0x298f5f,_0x3b1fa6,_0x58a020,_0xc53537,_0x3d61de);});return;}if(!this[_0x2ddc40(0x282)]['verifyClient'](_0x9a318f))return _0x33e9d7(_0x58a020,0x191);}this[_0x2ddc40(0x168)](_0x7ed8fa,_0x2a1916,_0x298f5f,_0x3b1fa6,_0x58a020,_0xc53537,_0x3d61de);}[_0x16089a(0x168)](_0x58db94,_0x3bd942,_0x5512ce,_0x36e110,_0x162e0b,_0x2f67ac,_0x1a4163){const _0x417b82=_0x16089a;if(!_0x162e0b[_0x417b82(0x150)]||!_0x162e0b[_0x417b82(0x109)])return _0x162e0b[_0x417b82(0x11a)]();if(_0x162e0b[_0x300b0b])throw new Error(_0x417b82(0x250));if(this[_0x417b82(0x247)]>_0x21976c)return _0x33e9d7(_0x162e0b,0x1f7);const _0xa8f5c8=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket','Connection:\x20Upgrade',_0x417b82(0x244)+_0x3fd2d0(_0x417b82(0x27a))[_0x417b82(0x11b)](_0x3bd942+_0x1b461d)['digest'](_0x417b82(0x1c3))],_0x1ae758=new this['options']['WebSocket'](null,void 0x0,this[_0x417b82(0x282)]);if(_0x5512ce[_0x417b82(0x15f)]){const _0x8934bd=this['options'][_0x417b82(0x1ed)]?this[_0x417b82(0x282)][_0x417b82(0x1ed)](_0x5512ce,_0x36e110):_0x5512ce[_0x417b82(0xe6)]()[_0x417b82(0x1bb)]()[_0x417b82(0x281)];_0x8934bd&&(_0xa8f5c8[_0x417b82(0x1be)]('Sec-WebSocket-Protocol:\x20'+_0x8934bd),_0x1ae758['_protocol']=_0x8934bd);}if(_0x58db94[_0x13cee4[_0x417b82(0x154)]]){const _0x21658d=_0x58db94[_0x13cee4[_0x417b82(0x154)]][_0x417b82(0x212)],_0x2bf088=_0x5c1b21[_0x417b82(0x264)]({[_0x13cee4[_0x417b82(0x154)]]:[_0x21658d]});_0xa8f5c8[_0x417b82(0x1be)](_0x417b82(0x1a8)+_0x2bf088),_0x1ae758[_0x417b82(0xcf)]=_0x58db94;}this[_0x417b82(0x1b3)](_0x417b82(0x19b),_0xa8f5c8,_0x36e110),_0x162e0b[_0x417b82(0x172)](_0xa8f5c8['concat']('\x0d\x0a')[_0x417b82(0x149)]('\x0d\x0a')),_0x162e0b[_0x417b82(0x1f0)](_0x417b82(0x192),_0xaa152e),_0x1ae758[_0x417b82(0x185)](_0x162e0b,_0x2f67ac,{'allowSynchronousEvents':this[_0x417b82(0x282)][_0x417b82(0x12e)],'maxPayload':this[_0x417b82(0x282)][_0x417b82(0x14d)],'skipUTF8Validation':this['options'][_0x417b82(0x20b)]}),this[_0x417b82(0x209)]&&(this[_0x417b82(0x209)][_0x417b82(0x1b5)](_0x1ae758),_0x1ae758['on'](_0x417b82(0x21a),()=>{const _0x41da45=_0x417b82;this[_0x41da45(0x209)][_0x41da45(0x139)](_0x1ae758),this[_0x41da45(0x269)]&&!this[_0x41da45(0x209)][_0x41da45(0x15f)]&&process[_0x41da45(0x14f)](_0xa6e756,this);})),_0x1a4163(_0x1ae758,_0x36e110);}}Te=_0x5d04b7;function _0x212d9d(_0x392709,_0x5c515f){const _0x200226=_0x16089a;for(const _0x2a39ed of Object[_0x200226(0x203)](_0x5c515f))_0x392709['on'](_0x2a39ed,_0x5c515f[_0x2a39ed]);return function(){const _0x59a54c=_0x200226;for(const _0x59a735 of Object['keys'](_0x5c515f))_0x392709[_0x59a54c(0x1f0)](_0x59a735,_0x5c515f[_0x59a735]);};}function _0xa6e756(_0x287e6c){const _0x30e00c=_0x16089a;_0x287e6c[_0x30e00c(0x247)]=_0x5239fa,_0x287e6c[_0x30e00c(0x1b3)](_0x30e00c(0x21a));}function _0xaa152e(){const _0x18e8e9=_0x16089a;this[_0x18e8e9(0x11a)]();}function _0x33e9d7(_0xd3827d,_0x85f97e,_0x349360,_0xff0428){const _0x31b955=_0x16089a;_0x349360=_0x349360||_0x3ae366[_0x31b955(0x1de)][_0x85f97e],_0xff0428={'Connection':'close','Content-Type':_0x31b955(0x284),'Content-Length':Buffer[_0x31b955(0x110)](_0x349360),..._0xff0428},_0xd3827d[_0x31b955(0x155)](_0x31b955(0x1d1),_0xd3827d[_0x31b955(0x11a)]),_0xd3827d[_0x31b955(0x17e)]('HTTP/1.1\x20'+_0x85f97e+'\x20'+_0x3ae366[_0x31b955(0x1de)][_0x85f97e]+'\x0d\x0a'+Object['keys'](_0xff0428)[_0x31b955(0xd6)](_0x4427ad=>_0x4427ad+':\x20'+_0xff0428[_0x4427ad])[_0x31b955(0x149)]('\x0d\x0a')+_0x31b955(0x141)+_0x349360);}function _0x178e46(_0x296577,_0x4d0c03,_0x4b7e5b,_0x234672,_0x38d49e,_0x4d79e1){const _0x4ace06=_0x16089a;if(_0x296577[_0x4ace06(0xff)](_0x4ace06(0x1f1))){const _0x2e74af=new Error(_0x38d49e);Error['captureStackTrace'](_0x2e74af,_0x178e46),_0x296577[_0x4ace06(0x1b3)](_0x4ace06(0x1f1),_0x2e74af,_0x4b7e5b,_0x4d0c03);}else _0x33e9d7(_0x4b7e5b,_0x234672,_0x38d49e,_0x4d79e1);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x4453de,_0x4d9dff,_0x3bdc01,_0x56e2e1)=>{const _0x1bf5ec=_0x3a24cf;for(var _0x34f799=_0x56e2e1>0x1?void 0x0:_0x56e2e1?jt(_0x4d9dff,_0x3bdc01):_0x4d9dff,_0x4b02f0=_0x4453de[_0x1bf5ec(0x232)]-0x1,_0x2fd737;_0x4b02f0>=0x0;_0x4b02f0--)(_0x2fd737=_0x4453de[_0x4b02f0])&&(_0x34f799=_0x2fd737(_0x34f799)||_0x34f799);return _0x34f799;},qt=(_0x347bc5,_0x21e2cc)=>(_0x133a96,_0x5b05e3)=>_0x21e2cc(_0x133a96,_0x5b05e3,_0x347bc5);let ke=class extends A[_0x3a24cf(0x258)]{constructor(_0x574297){const _0x36a340=_0x3a24cf;super(),this[_0x36a340(0x18d)]=_0x574297;}[_0x3a24cf(0xd0)](_0x5ea4be){const _0x1e1fc4=_0x3a24cf;var _0x4ed265;const _0x205368=(_0x4ed265=this[_0x1e1fc4(0x18d)][_0x1e1fc4(0x25b)](fe))==null?void 0x0:_0x4ed265[_0x1e1fc4(0x270)];try{const _0x4ebfb0=new $t(_0x5ea4be,{'headers':{..._0x205368}}),_0x4f18c3=new A[(_0x1e1fc4(0x24e))]();return{'URL':_0x5ea4be,'close':(_0x4eedd2,_0x589618)=>{const _0x58c5cc=_0x1e1fc4;_0x4ebfb0[_0x58c5cc(0x21a)](_0x4eedd2,_0x589618),_0x4f18c3[_0x58c5cc(0x196)]();},'send':_0x3c80c9=>{const _0x243196=_0x1e1fc4;_0x4ebfb0[_0x243196(0x13a)](_0x3c80c9);},'open$':new V[(_0x1e1fc4(0x18c))](_0x2f044d=>{const _0xf7a16d=_0x1e1fc4,_0x296206=_0x5e4930=>_0x2f044d[_0xf7a16d(0x1bb)](_0x5e4930);_0x4ebfb0[_0xf7a16d(0x165)](_0xf7a16d(0x1bd),_0x296206),_0x4f18c3[_0xf7a16d(0x1b5)](A['toDisposable'](()=>_0x4ebfb0[_0xf7a16d(0x144)](_0xf7a16d(0x1bd),_0x296206)));})[_0x1e1fc4(0x1c4)](V[_0x1e1fc4(0x126)]()),'close$':new V[(_0x1e1fc4(0x18c))](_0x482a67=>{const _0x2d6dc9=_0x1e1fc4,_0x35884c=_0x129125=>_0x482a67[_0x2d6dc9(0x1bb)](_0x129125);_0x4ebfb0[_0x2d6dc9(0x165)](_0x2d6dc9(0x21a),_0x35884c),_0x4f18c3[_0x2d6dc9(0x1b5)](A[_0x2d6dc9(0x1e3)](()=>_0x4ebfb0[_0x2d6dc9(0x144)](_0x2d6dc9(0x21a),_0x35884c)));})[_0x1e1fc4(0x1c4)](V['share']()),'error$':new V[(_0x1e1fc4(0x18c))](_0x2c9ed0=>{const _0x506aa4=_0x1e1fc4,_0x29b45b=_0x103b11=>_0x2c9ed0[_0x506aa4(0x1bb)](_0x103b11);_0x4ebfb0['addEventListener'](_0x506aa4(0x192),_0x29b45b),_0x4f18c3[_0x506aa4(0x1b5)](A[_0x506aa4(0x1e3)](()=>_0x4ebfb0[_0x506aa4(0x144)](_0x506aa4(0x192),_0x29b45b)));})[_0x1e1fc4(0x1c4)](V[_0x1e1fc4(0x126)]()),'message$':new V[(_0x1e1fc4(0x18c))](_0x3f823d=>{const _0x68b72a=_0x1e1fc4,_0x462298=_0x5cbd68=>_0x3f823d['next'](_0x5cbd68);_0x4ebfb0[_0x68b72a(0x165)](_0x68b72a(0x1b4),_0x462298),_0x4f18c3[_0x68b72a(0x1b5)](A['toDisposable'](()=>_0x4ebfb0['removeEventListener']('message',_0x462298)));})[_0x1e1fc4(0x1c4)](V[_0x1e1fc4(0x126)]())};}catch(_0x258a63){return console[_0x1e1fc4(0x192)](_0x258a63),null;}}};ke=Wt([qt(0x0,A[_0x3a24cf(0x15e)])],ke);var Gt=Object[_0x3a24cf(0xee)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x3c224d,_0x44f4dd,_0x282310)=>_0x44f4dd in _0x3c224d?Gt(_0x3c224d,_0x44f4dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x282310}):_0x3c224d[_0x44f4dd]=_0x282310,zt=(_0x4f7984,_0x31aae9,_0x2bbd71,_0x62d621)=>{const _0x187622=_0x3a24cf;for(var _0xc76eb9=_0x62d621>0x1?void 0x0:_0x62d621?Vt(_0x31aae9,_0x2bbd71):_0x31aae9,_0xd86bcb=_0x4f7984[_0x187622(0x232)]-0x1,_0x2163f3;_0xd86bcb>=0x0;_0xd86bcb--)(_0x2163f3=_0x4f7984[_0xd86bcb])&&(_0xc76eb9=_0x2163f3(_0xc76eb9)||_0xc76eb9);return _0xc76eb9;},Ne=(_0x55a4e8,_0x5549ba)=>(_0x5ca5e2,_0x4fa229)=>_0x5549ba(_0x5ca5e2,_0x4fa229,_0x55a4e8),Yt=(_0xf7b7eb,_0x22ecc1,_0x25416e)=>Ht(_0xf7b7eb,_0x22ecc1+'',_0x25416e);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x3a24cf(0x177)]{constructor(_0xd41e02=Ct,_0x18efbe,_0x5962a5,_0x361e71){const _0x5401e7=_0x3a24cf;_0xd41e02[_0x5401e7(0x270)]||_0x18efbe[_0x5401e7(0xe2)](_0x5401e7(0x189)),super(),this[_0x5401e7(0x18d)]=_0x5962a5,this[_0x5401e7(0x237)]=_0x361e71,this[_0x5401e7(0x18d)][_0x5401e7(0xfa)](fe,_0xd41e02);}[_0x3a24cf(0x190)](){const _0x4fbb4f=_0x3a24cf;this[_0x4fbb4f(0x183)]();}[_0x3a24cf(0x183)](){const _0x4ae505=_0x3a24cf;A[_0x4ae505(0x26d)](this[_0x4ae505(0x237)],[[it[_0x4ae505(0x123)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x3a24cf(0xde),_0x3a24cf(0x255)),exports[_0x3a24cf(0xe7)]=zt([A[_0x3a24cf(0x1b9)](st[_0x3a24cf(0x1e4)]),Ne(0x1,A[_0x3a24cf(0x166)]),Ne(0x2,A[_0x3a24cf(0x15e)]),Ne(0x3,A[_0x3a24cf(0x253)](A[_0x3a24cf(0x1a7)]))],exports[_0x3a24cf(0xe7)]);var Kt=Object[_0x3a24cf(0x24a)],Xt=(_0x110ced,_0x14a202,_0x451246,_0x17765f)=>{const _0x17bf78=_0x3a24cf;for(var _0x49fb8a=_0x17765f>0x1?void 0x0:_0x17765f?Kt(_0x14a202,_0x451246):_0x14a202,_0x5ef7bd=_0x110ced[_0x17bf78(0x232)]-0x1,_0x59693b;_0x5ef7bd>=0x0;_0x5ef7bd--)(_0x59693b=_0x110ced[_0x5ef7bd])&&(_0x49fb8a=_0x59693b(_0x49fb8a)||_0x49fb8a);return _0x49fb8a;},ne=(_0xb34265,_0x56e838)=>(_0x18e1dc,_0x653054)=>_0x56e838(_0x18e1dc,_0x653054,_0xb34265);exports[_0x3a24cf(0x1e8)]=class extends st[_0x3a24cf(0x152)]{constructor(_0x4ebf5b,_0xd3978a,_0x46b78f,_0x5e97d9,_0xc24b77){const _0x1ff7ad=_0x3a24cf;super(_0x4ebf5b,_0xd3978a,_0x46b78f,_0x5e97d9,_0xc24b77);const _0xc198f5=this[_0x1ff7ad(0x18d)][_0x1ff7ad(0x25b)](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x4f1971,_0x11ec93)=>{const _0x1d41ea=_0x1ff7ad;var _0x5a11d2;const _0x4fa1e6=_0x4f1971['headers'];return(_0x5a11d2=_0xc198f5==null?void 0x0:_0xc198f5[_0x1d41ea(0x270)])!=null&&_0x5a11d2[_0x1d41ea(0x1fc)]&&_0x4fa1e6[_0x1d41ea(0x1d6)](_0x1d41ea(0xdf),_0xc198f5[_0x1d41ea(0x270)][_0x1d41ea(0x1fc)]),_0x11ec93(_0x4f1971);}});}async[_0x3a24cf(0xd0)](_0x47a1b8){return this['_doCreateSocket'](_0x47a1b8);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x3a24cf(0x253)](A[_0x3a24cf(0x1a7)])),ne(0x1,A[_0x3a24cf(0x253)](it[_0x3a24cf(0x1d0)])),ne(0x2,A[_0x3a24cf(0x15e)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x3a24cf(0x206)])],exports[_0x3a24cf(0x1e8)]),exports[_0x3a24cf(0x1cb)]=fe;