@univerjs-pro/collaboration-client-node 0.6.9-experimental.20250410-23c9a18 → 0.6.9-experimental.20250410-7dd55fa

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';function _0x39eb(){const _0x584d97=['reset','isValidUTF8','allocUnsafe','WS_ERR_EXPECTED_MASK','sec-websocket-extensions','startLoop','WS_ERR_UNEXPECTED_MASK','ws+unix:','createServer','createDeflateRaw','entries','address','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','handleEvent','wss:','params','uncork','IConfigService','cookie','clientTracking','hostname','_autoPong','callback','Server\x20sent\x20an\x20invalid\x20subprotocol','onopen','CONNECTING','Maximum\x20redirects\x20exceeded','COLLABORATION_CLIENT_NODE_CONFIG_KEY','Sec-WebSocket-Origin','end','getInfo','bufferedAmount','getPayloadLength64','handleUpgrade','readyState','function','_isServer','_decompress','_threshold','getMask','maskBuffer','frame','server','wsClientError','autoPong','Sec-WebSocket-Accept:\x20','isArray','encrypted','isView','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','setHeader','_loop','stream','pong','update','_opcode','_protocol','env','_extensions','redirect','RSV1\x20must\x20be\x20clear','toString','extensionName','WebSocket','indexOf','response','readable','timeout','sec-websocket-key','kError','NodeCollaborationSocketService','clientNoContextTakeover','2425170lwnTeb','servername','DisposableCollection','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','finish','MASK\x20must\x20be\x20set','byteLength','clientMaxWindowBits','handshakeTimeout','protocol','type','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','nextTick','backlog','then','\x22\x20subprotocol\x20is\x20duplicated','HTTP/1.1\x20','createSocket','registerHTTPInterceptor','controlMessage','CLOSING','socketPath','_fragmented','kTarget','byteOffset','writeUIntBE','host','_writableState','listening','parse','constructor','_totalPayloadLength','kMessage','kListener','_write','dequeue','_paused','from','acceptAsClient','client_max_window_bits','pow','arrayBuffer','writeUInt16BE','has','binaryType','buffers','isPaused','getData','options','readOnly','createError','fin','number','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','listeners','open','_allowSynchronousEvents','includes','error','prototype','shouldHandle','_server','split','_bufferedBytes','captureStackTrace','enqueue','_compressed','_maskBuffer','share','Cookie','reason','dispose','username','@univerjs-pro/collaboration-client','events','base64','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','once','UniverCollaborationClientPlugin','_originalSecure','_readableState','getConfig','2487renXEH','Unknown\x20parameter\x20\x22','jobs','listenerCount','Observable','location','authorized','perMessageDeflate','sha1','sendFrame','OPEN','kCode','rsv1','toLowerCase','string','objectMode','normalizeParams','\x0d\x0a\x0d\x0a','clients','isBuffer','_httpService','pathname','Basic\x20','_closeTimer','origin','ws:','invalid\x20UTF-8\x20sequence','getPayloadLength16','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','offer','defineProperty','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','close','concat','test','_closeFrameSent','_shouldEmitClose','customHeaders','Invalid\x20WebSocket\x20frame:\x20','Unsupported\x20protocol\x20version:\x20','concurrency','Plugin','serverNoContextTakeover','addEventListener','9Pgzpqj','consume','WebSocket\x20is\x20not\x20open:\x20readyState\x20','__esModule','opcode','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','\x22\x20must\x20have\x20only\x20a\x20single\x20value','HTTPService','kType','_destroy','path','flush','text/html','kByteLength','WS_ERR_UNEXPECTED_RSV_2_3','species','isInteger','http:','@univerjs/network','errorEmitted','auth','replace','Server\x20sent\x20no\x20subprotocol','_doCreateSocket','Upgrade:\x20websocket','Upgrade','create','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Unexpected\x20server\x20response:\x20','_url','buffer','search','request','completeUpgrade','_queue','_socket','charCodeAt','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','needDrain','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','@univerjs/core','size','_receiver','extensions','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','threshold','rxjs','The\x20\x22','_sender','_bufferedAmount','allowSynchronousEvents','send','createConnection','protocolVersion','unmask','Unexpected\x20end\x20of\x20input','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','server_no_context_takeover','destroyed','Invalid\x20Upgrade\x20header','setNoDelay','zlibDeflateOptions','values','net','set','crypto','kAborted','wasClean','url','authorization','hasOwnProperty','835222hjmmZE','total-length','code','length','digest','createInflateRaw','websocket','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','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','serverMaxWindowBits','_mask','cork','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','decompress','HTTP/1.1\x20101\x20Switching\x20Protocols','apply','GET','headers','Z_DEFAULT_WINDOWBITS','_buffers','terminate','blob','Inject','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isServer','pending','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_generateMask','toStringTag','File','_firstFragment','getBlobData','_inflate','removeEventListener','finished','Disposable','Sec-WebSocket-Extensions:\x20','fragments','http','cleanup','WS_ERR_INVALID_OPCODE','readUInt16BE','exports','Unexpected\x20character\x20at\x20index\x20','bind','data','upgrade','connect','password','_removeListeners','Invalid\x20URL:\x20','Blob','object','setSocket','_readyState','maxRedirects','Invalid\x20value\x20for\x20parameter\x20\x22','endEmitted','emit','kReason','_closeFrameReceived','binary','call','Invalid\x20HTTP\x20method','UniverCollaborationClientNodePlugin','destroy','map','getOwnPropertyDescriptor','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','arraybuffer','message','2988710YOZbbp','_redirects','The\x20server\x20is\x20not\x20running','href','_payloadLength','accept','STATUS_CODES','The\x20URL\x27s\x20pathname\x20is\x20empty','Module','\x22:\x20','emitClose','isIP','Invalid\x20Sec-WebSocket-Accept\x20header','ILogService','forEach','_originalHostOrSocketPath','WS_ERR_UNEXPECTED_RSV_1','_injector','handleProtocols','11899321OURWbi','pipe','ping','default','readUInt32BE','_fin','_req','permessage-deflate','_messageLength','abort','_closeCode','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','keys','compress','removeListener','generateMask','pluginName','dispatch','setTimeout','conclude','_maxPayload','join','_options','_deflate','next','WS_NO_BUFFER_UTIL','method','port','_configService','push','skipUTF8Validation','onerror','6025440jIxEjg','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_masked','client_no_context_takeover','WS_ERR_INVALID_UTF8','kData','FIN\x20must\x20be\x20set','onclose','invalid\x20opcode\x200','resume','shift','drain','_originalIpc','verifyClient','mask','_errorEmitted','status-code','alloc','nodebuffer','client','Parameter\x20\x22','kIsForOnEventAttribute','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','slice','_errored','Connection:\x20Upgrade','Sec-WebSocket-Extensions','concurrencyLimit','zlib','Max\x20payload\x20size\x20exceeded','_closeMessage','invalid\x20status\x20code\x20','pause','setConfig','socket','CLOSED','haveLength','maxPayload','statusCode','Injector','writeHead','toDisposable','acceptAsServer','connection','_state','Invalid\x20Sec-WebSocket-Protocol\x20header','dataMessage','\x20(supported\x20versions:\x20','@univerjs-pro/collaboration','https','write','invalid\x20opcode\x20','_no_context_takeover','_binaryType','_fragments','noServer','3464LJWKMF','add','_final','2947528cIDWSw','sec-websocket-protocol','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_compress','freeze','_max_window_bits','Origin','_skipUTF8Validation','WS_NO_UTF_8_VALIDATE','sec-websocket-accept','defaultPort','kRun','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','server_max_window_bits'];_0x39eb=function(){return _0x584d97;};return _0x39eb();}const _0x5beffb=_0x3013;(function(_0x318825,_0x15aa96){const _0x553042=_0x3013,_0x21f54f=_0x318825();while(!![]){try{const _0x289e0f=-parseInt(_0x553042(0x357))/0x1+parseInt(_0x553042(0x39f))/0x2+parseInt(_0x553042(0x2e4))/0x3*(parseInt(_0x553042(0x239))/0x4)+parseInt(_0x553042(0x201))/0x5+parseInt(_0x553042(0x292))/0x6+-parseInt(_0x553042(0x1e1))/0x7+parseInt(_0x553042(0x23c))/0x8*(-parseInt(_0x553042(0x310))/0x9);if(_0x289e0f===_0x15aa96)break;else _0x21f54f['push'](_0x21f54f['shift']());}catch(_0x2c941d){_0x21f54f['push'](_0x21f54f['shift']());}}}(_0x39eb,0xe01e2));Object['defineProperty'](exports,Symbol[_0x5beffb(0x374)],{'value':_0x5beffb(0x3a7)});const st=require(_0x5beffb(0x2db)),A=require(_0x5beffb(0x338)),it=require(_0x5beffb(0x322)),V=require(_0x5beffb(0x33e)),nt=require(_0x5beffb(0x2dc)),vt=require(_0x5beffb(0x232)),ot=require(_0x5beffb(0x37e)),St=require(_0x5beffb(0x34f)),Et=require('tls'),Le=require(_0x5beffb(0x351)),oe=require(_0x5beffb(0x27e)),xt=require('url'),bt=require(_0x5beffb(0x21d)),wt=require(_0x5beffb(0x32e)),Ot=require(_0x5beffb(0x231)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x4abcff){const _0x5a5328=_0x5beffb;return _0x4abcff&&_0x4abcff[_0x5a5328(0x313)]&&Object[_0x5a5328(0x2cd)][_0x5a5328(0x356)]['call'](_0x4abcff,_0x5a5328(0x1e4))?_0x4abcff['default']:_0x4abcff;}function at(_0xc5e176){const _0x3f7cc0=_0x5beffb;if(Object[_0x3f7cc0(0x2cd)]['hasOwnProperty']['call'](_0xc5e176,_0x3f7cc0(0x313)))return _0xc5e176;var _0x32e40e=_0xc5e176['default'];if(typeof _0x32e40e=='function'){var _0x36d05e=function _0x3e6675(){const _0x2bea5c=_0x3f7cc0;return this instanceof _0x3e6675?Reflect['construct'](_0x32e40e,arguments,this[_0x2bea5c(0x2b0)]):_0x32e40e[_0x2bea5c(0x366)](this,arguments);};_0x36d05e[_0x3f7cc0(0x2cd)]=_0x32e40e[_0x3f7cc0(0x2cd)];}else _0x36d05e={};return Object['defineProperty'](_0x36d05e,_0x3f7cc0(0x313),{'value':!0x0}),Object[_0x3f7cc0(0x1ed)](_0xc5e176)[_0x3f7cc0(0x1dc)](function(_0x523200){const _0x58c760=_0x3f7cc0;var _0x206913=Object[_0x58c760(0x39b)](_0xc5e176,_0x523200);Object[_0x58c760(0x302)](_0x36d05e,_0x523200,_0x206913['get']?_0x206913:{'enumerable':!0x0,'get':function(){return _0xc5e176[_0x523200];}});}),_0x36d05e;}var se={'exports':{}},ge,Ge;function H(){const _0x4689b1=_0x5beffb;if(Ge)return ge;Ge=0x1;const _0x1457cc=[_0x4689b1(0x213),_0x4689b1(0x39d),_0x4689b1(0x37d)],_0x436e14=typeof Blob<'u';return _0x436e14&&_0x1457cc[_0x4689b1(0x1fe)](_0x4689b1(0x36c)),ge={'BINARY_TYPES':_0x1457cc,'EMPTY_BUFFER':Buffer[_0x4689b1(0x212)](0x0),'GUID':_0x4689b1(0x32b),'hasBlob':_0x436e14,'kForOnEventAttribute':Symbol(_0x4689b1(0x216)),'kListener':Symbol(_0x4689b1(0x2b3)),'kStatusCode':Symbol(_0x4689b1(0x211)),'kWebSocket':Symbol(_0x4689b1(0x35d)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5beffb(0x240)](Object[_0x5beffb(0x302)]({'__proto__':null,'default':Nt},Symbol[_0x5beffb(0x374)],{'value':_0x5beffb(0x3a7)})),Lt=at(kt);var Ve;function ce(){const _0x3c0b21=_0x5beffb;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x3c6b00}=H(),_0x1c62a6=Buffer[Symbol[_0x3c0b21(0x31f)]];function _0x98d49d(_0x1bbce2,_0xf229a7){const _0x383844=_0x3c0b21;if(_0x1bbce2[_0x383844(0x35a)]===0x0)return _0x3c6b00;if(_0x1bbce2['length']===0x1)return _0x1bbce2[0x0];const _0x20526f=Buffer[_0x383844(0x24c)](_0xf229a7);let _0x415ad2=0x0;for(let _0x4ff75d=0x0;_0x4ff75d<_0x1bbce2[_0x383844(0x35a)];_0x4ff75d++){const _0x2b63b5=_0x1bbce2[_0x4ff75d];_0x20526f[_0x383844(0x350)](_0x2b63b5,_0x415ad2),_0x415ad2+=_0x2b63b5[_0x383844(0x35a)];}return _0x415ad2<_0xf229a7?new _0x1c62a6(_0x20526f[_0x383844(0x32e)],_0x20526f['byteOffset'],_0x415ad2):_0x20526f;}function _0x34347a(_0x2e0dc3,_0x3b99ad,_0x4f8552,_0x36d607,_0x16a87b){for(let _0x2b465e=0x0;_0x2b465e<_0x16a87b;_0x2b465e++)_0x4f8552[_0x36d607+_0x2b465e]=_0x2e0dc3[_0x2b465e]^_0x3b99ad[_0x2b465e&0x3];}function _0x2ccb2c(_0x15fc3a,_0x5e5ef1){for(let _0x3b2a30=0x0;_0x3b2a30<_0x15fc3a['length'];_0x3b2a30++)_0x15fc3a[_0x3b2a30]^=_0x5e5ef1[_0x3b2a30&0x3];}function _0xe7be1e(_0x3ccd6c){const _0x4c2b93=_0x3c0b21;return _0x3ccd6c[_0x4c2b93(0x35a)]===_0x3ccd6c[_0x4c2b93(0x32e)][_0x4c2b93(0x298)]?_0x3ccd6c['buffer']:_0x3ccd6c['buffer'][_0x4c2b93(0x218)](_0x3ccd6c[_0x4c2b93(0x2aa)],_0x3ccd6c[_0x4c2b93(0x2aa)]+_0x3ccd6c[_0x4c2b93(0x35a)]);}function _0x307f90(_0x55126c){const _0xfbbdfd=_0x3c0b21;if(_0x307f90['readOnly']=!0x0,Buffer[_0xfbbdfd(0x2f7)](_0x55126c))return _0x55126c;let _0x288cac;return _0x55126c instanceof ArrayBuffer?_0x288cac=new _0x1c62a6(_0x55126c):ArrayBuffer[_0xfbbdfd(0x27a)](_0x55126c)?_0x288cac=new _0x1c62a6(_0x55126c[_0xfbbdfd(0x32e)],_0x55126c[_0xfbbdfd(0x2aa)],_0x55126c[_0xfbbdfd(0x298)]):(_0x288cac=Buffer[_0xfbbdfd(0x2b7)](_0x55126c),_0x307f90[_0xfbbdfd(0x2c3)]=!0x1),_0x288cac;}if(se['exports']={'concat':_0x98d49d,'mask':_0x34347a,'toArrayBuffer':_0xe7be1e,'toBuffer':_0x307f90,'unmask':_0x2ccb2c},!process[_0x3c0b21(0x283)][_0x3c0b21(0x1fa)])try{const _0x5b291c=Lt;se[_0x3c0b21(0x382)][_0x3c0b21(0x20f)]=function(_0xbba1e2,_0x40c6d7,_0x47464a,_0x21059c,_0x1bd018){const _0x40c4e9=_0x3c0b21;_0x1bd018<0x30?_0x34347a(_0xbba1e2,_0x40c6d7,_0x47464a,_0x21059c,_0x1bd018):_0x5b291c[_0x40c4e9(0x20f)](_0xbba1e2,_0x40c6d7,_0x47464a,_0x21059c,_0x1bd018);},se[_0x3c0b21(0x382)][_0x3c0b21(0x346)]=function(_0x22d527,_0x2417ee){const _0x1e0a2b=_0x3c0b21;_0x22d527[_0x1e0a2b(0x35a)]<0x20?_0x2ccb2c(_0x22d527,_0x2417ee):_0x5b291c['unmask'](_0x22d527,_0x2417ee);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x2b9b8f=_0x5beffb;if(He)return ye;He=0x1;const _0x55b5c3=Symbol('kDone'),_0x443d81=Symbol(_0x2b9b8f(0x247));class _0x2bc205{constructor(_0x56e66){const _0x1d4dd5=_0x2b9b8f;this[_0x55b5c3]=()=>{const _0x2d0fee=_0x3013;this[_0x2d0fee(0x370)]--,this[_0x443d81]();},this[_0x1d4dd5(0x30c)]=_0x56e66||0x1/0x0,this[_0x1d4dd5(0x2e6)]=[],this[_0x1d4dd5(0x370)]=0x0;}[_0x2b9b8f(0x23a)](_0x5a2686){const _0x21708d=_0x2b9b8f;this[_0x21708d(0x2e6)]['push'](_0x5a2686),this[_0x443d81]();}[_0x443d81](){const _0x7e5e43=_0x2b9b8f;if(this['pending']!==this['concurrency']&&this['jobs'][_0x7e5e43(0x35a)]){const _0x4f9a05=this[_0x7e5e43(0x2e6)]['shift']();this[_0x7e5e43(0x370)]++,_0x4f9a05(this[_0x55b5c3]);}}}return ye=_0x2bc205,ye;}var ve,ze;function he(){const _0x8986ca=_0x5beffb;if(ze)return ve;ze=0x1;const _0x2c6620=bt,_0x47d445=ce(),_0x52750c=Pt(),{kStatusCode:_0x5f4ae4}=H(),_0x5a3699=Buffer[Symbol[_0x8986ca(0x31f)]],_0x821b3b=Buffer[_0x8986ca(0x2b7)]([0x0,0x0,0xff,0xff]),_0x1de7b5=Symbol(_0x8986ca(0x1e8)),_0x4616d8=Symbol(_0x8986ca(0x358)),_0x5dc48f=Symbol(_0x8986ca(0x260)),_0x40693f=Symbol(_0x8986ca(0x2bf)),_0x544592=Symbol(_0x8986ca(0x2cc));let _0x466769;class _0x220cdb{constructor(_0x5df980,_0x54162d,_0x37228d){const _0x37e5b9=_0x8986ca;if(this['_maxPayload']=_0x37228d|0x0,this[_0x37e5b9(0x1f7)]=_0x5df980||{},this[_0x37e5b9(0x270)]=this[_0x37e5b9(0x1f7)][_0x37e5b9(0x33d)]!==void 0x0?this['_options'][_0x37e5b9(0x33d)]:0x400,this[_0x37e5b9(0x26e)]=!!_0x54162d,this['_deflate']=null,this[_0x37e5b9(0x378)]=null,this[_0x37e5b9(0x259)]=null,!_0x466769){const _0x33eb74=this[_0x37e5b9(0x1f7)][_0x37e5b9(0x21c)]!==void 0x0?this['_options'][_0x37e5b9(0x21c)]:0xa;_0x466769=new _0x52750c(_0x33eb74);}}static get[_0x8986ca(0x288)](){return'permessage-deflate';}[_0x8986ca(0x301)](){const _0x1ed69d=_0x8986ca,_0x32f5b3={};return this['_options'][_0x1ed69d(0x30e)]&&(_0x32f5b3[_0x1ed69d(0x349)]=!0x0),this[_0x1ed69d(0x1f7)][_0x1ed69d(0x291)]&&(_0x32f5b3[_0x1ed69d(0x204)]=!0x0),this[_0x1ed69d(0x1f7)][_0x1ed69d(0x360)]&&(_0x32f5b3['server_max_window_bits']=this['_options'][_0x1ed69d(0x360)]),this[_0x1ed69d(0x1f7)][_0x1ed69d(0x299)]?_0x32f5b3[_0x1ed69d(0x2b9)]=this[_0x1ed69d(0x1f7)][_0x1ed69d(0x299)]:this[_0x1ed69d(0x1f7)]['clientMaxWindowBits']==null&&(_0x32f5b3['client_max_window_bits']=!0x0),_0x32f5b3;}[_0x8986ca(0x3a4)](_0x17904f){const _0x1829d2=_0x8986ca;return _0x17904f=this[_0x1829d2(0x2f4)](_0x17904f),this[_0x1829d2(0x259)]=this[_0x1829d2(0x26e)]?this[_0x1829d2(0x22b)](_0x17904f):this[_0x1829d2(0x2b8)](_0x17904f),this[_0x1829d2(0x259)];}[_0x8986ca(0x37f)](){const _0x16f2da=_0x8986ca;if(this[_0x16f2da(0x378)]&&(this[_0x16f2da(0x378)]['close'](),this[_0x16f2da(0x378)]=null),this['_deflate']){const _0xfc6aa9=this[_0x16f2da(0x1f8)][_0x5dc48f];this[_0x16f2da(0x1f8)]['close'](),this[_0x16f2da(0x1f8)]=null,_0xfc6aa9&&_0xfc6aa9(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x19b194){const _0x2cb802=_0x8986ca,_0x8b3994=this[_0x2cb802(0x1f7)],_0x282dd7=_0x19b194['find'](_0x12fd97=>!(_0x8b3994[_0x2cb802(0x30e)]===!0x1&&_0x12fd97[_0x2cb802(0x349)]||_0x12fd97[_0x2cb802(0x249)]&&(_0x8b3994[_0x2cb802(0x360)]===!0x1||typeof _0x8b3994['serverMaxWindowBits']==_0x2cb802(0x2c6)&&_0x8b3994['serverMaxWindowBits']>_0x12fd97['server_max_window_bits'])||typeof _0x8b3994[_0x2cb802(0x299)]==_0x2cb802(0x2c6)&&!_0x12fd97[_0x2cb802(0x2b9)]));if(!_0x282dd7)throw new Error(_0x2cb802(0x39c));return _0x8b3994[_0x2cb802(0x30e)]&&(_0x282dd7[_0x2cb802(0x349)]=!0x0),_0x8b3994[_0x2cb802(0x291)]&&(_0x282dd7[_0x2cb802(0x204)]=!0x0),typeof _0x8b3994['serverMaxWindowBits']==_0x2cb802(0x2c6)&&(_0x282dd7[_0x2cb802(0x249)]=_0x8b3994[_0x2cb802(0x360)]),typeof _0x8b3994['clientMaxWindowBits']=='number'?_0x282dd7['client_max_window_bits']=_0x8b3994[_0x2cb802(0x299)]:(_0x282dd7['client_max_window_bits']===!0x0||_0x8b3994[_0x2cb802(0x299)]===!0x1)&&delete _0x282dd7[_0x2cb802(0x2b9)],_0x282dd7;}[_0x8986ca(0x2b8)](_0x1c5b8a){const _0x242c65=_0x8986ca,_0x306285=_0x1c5b8a[0x0];if(this[_0x242c65(0x1f7)]['clientNoContextTakeover']===!0x1&&_0x306285[_0x242c65(0x204)])throw new Error(_0x242c65(0x23e));if(!_0x306285[_0x242c65(0x2b9)])typeof this[_0x242c65(0x1f7)][_0x242c65(0x299)]==_0x242c65(0x2c6)&&(_0x306285[_0x242c65(0x2b9)]=this[_0x242c65(0x1f7)][_0x242c65(0x299)]);else{if(this[_0x242c65(0x1f7)]['clientMaxWindowBits']===!0x1||typeof this[_0x242c65(0x1f7)]['clientMaxWindowBits']=='number'&&_0x306285['client_max_window_bits']>this[_0x242c65(0x1f7)][_0x242c65(0x299)])throw new Error(_0x242c65(0x337));}return _0x306285;}['normalizeParams'](_0x558b7a){return _0x558b7a['forEach'](_0x2e3729=>{const _0x470484=_0x3013;Object[_0x470484(0x1ed)](_0x2e3729)[_0x470484(0x1dc)](_0x249d02=>{const _0x332229=_0x470484;let _0x1603dd=_0x2e3729[_0x249d02];if(_0x1603dd[_0x332229(0x35a)]>0x1)throw new Error(_0x332229(0x215)+_0x249d02+_0x332229(0x316));if(_0x1603dd=_0x1603dd[0x0],_0x249d02==='client_max_window_bits'){if(_0x1603dd!==!0x0){const _0x2d5e14=+_0x1603dd;if(!Number[_0x332229(0x320)](_0x2d5e14)||_0x2d5e14<0x8||_0x2d5e14>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x249d02+'\x22:\x20'+_0x1603dd);_0x1603dd=_0x2d5e14;}else{if(!this[_0x332229(0x26e)])throw new TypeError(_0x332229(0x390)+_0x249d02+_0x332229(0x3a8)+_0x1603dd);}}else{if(_0x249d02===_0x332229(0x249)){const _0x4e5781=+_0x1603dd;if(!Number[_0x332229(0x320)](_0x4e5781)||_0x4e5781<0x8||_0x4e5781>0xf)throw new TypeError(_0x332229(0x390)+_0x249d02+_0x332229(0x3a8)+_0x1603dd);_0x1603dd=_0x4e5781;}else{if(_0x249d02===_0x332229(0x204)||_0x249d02===_0x332229(0x349)){if(_0x1603dd!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x249d02+_0x332229(0x3a8)+_0x1603dd);}else throw new Error(_0x332229(0x2e5)+_0x249d02+'\x22');}}_0x2e3729[_0x249d02]=_0x1603dd;});}),_0x558b7a;}['decompress'](_0x451595,_0x14c09a,_0x62ba3a){const _0x2b5fb9=_0x8986ca;_0x466769[_0x2b5fb9(0x23a)](_0x4c8a1e=>{const _0x3cbf42=_0x2b5fb9;this[_0x3cbf42(0x26f)](_0x451595,_0x14c09a,(_0x2604ab,_0x13ca1f)=>{_0x4c8a1e(),_0x62ba3a(_0x2604ab,_0x13ca1f);});});}[_0x8986ca(0x1ee)](_0x5cd56c,_0x26a7d5,_0x21c0a4){const _0x580388=_0x8986ca;_0x466769[_0x580388(0x23a)](_0x1ee41f=>{const _0x21b53c=_0x580388;this[_0x21b53c(0x23f)](_0x5cd56c,_0x26a7d5,(_0x12d02b,_0x1582fe)=>{_0x1ee41f(),_0x21c0a4(_0x12d02b,_0x1582fe);});});}[_0x8986ca(0x26f)](_0x3c11a7,_0x4456bb,_0x29b718){const _0x1b4985=_0x8986ca,_0x519ceb=this[_0x1b4985(0x26e)]?_0x1b4985(0x214):_0x1b4985(0x274);if(!this['_inflate']){const _0x222d01=_0x519ceb+_0x1b4985(0x241),_0x5cca4e=typeof this[_0x1b4985(0x259)][_0x222d01]!=_0x1b4985(0x2c6)?_0x2c6620[_0x1b4985(0x369)]:this[_0x1b4985(0x259)][_0x222d01];this[_0x1b4985(0x378)]=_0x2c6620[_0x1b4985(0x35c)]({...this[_0x1b4985(0x1f7)]['zlibInflateOptions'],'windowBits':_0x5cca4e}),this[_0x1b4985(0x378)][_0x1de7b5]=this,this['_inflate'][_0x4616d8]=0x0,this[_0x1b4985(0x378)][_0x40693f]=[],this[_0x1b4985(0x378)]['on']('error',_0xccc267),this[_0x1b4985(0x378)]['on'](_0x1b4985(0x385),_0x4896ff);}this['_inflate'][_0x5dc48f]=_0x29b718,this[_0x1b4985(0x378)][_0x1b4985(0x233)](_0x3c11a7),_0x4456bb&&this[_0x1b4985(0x378)]['write'](_0x821b3b),this[_0x1b4985(0x378)][_0x1b4985(0x31b)](()=>{const _0x1b0c45=_0x1b4985,_0x541aa4=this[_0x1b0c45(0x378)][_0x544592];if(_0x541aa4){this['_inflate']['close'](),this[_0x1b0c45(0x378)]=null,_0x29b718(_0x541aa4);return;}const _0x3bb9aa=_0x47d445[_0x1b0c45(0x305)](this['_inflate'][_0x40693f],this[_0x1b0c45(0x378)][_0x4616d8]);this[_0x1b0c45(0x378)][_0x1b0c45(0x2e2)][_0x1b0c45(0x391)]?(this[_0x1b0c45(0x378)]['close'](),this[_0x1b0c45(0x378)]=null):(this[_0x1b0c45(0x378)][_0x4616d8]=0x0,this[_0x1b0c45(0x378)][_0x40693f]=[],_0x4456bb&&this[_0x1b0c45(0x259)][_0x519ceb+_0x1b0c45(0x235)]&&this[_0x1b0c45(0x378)]['reset']()),_0x29b718(null,_0x3bb9aa);});}[_0x8986ca(0x23f)](_0x20fc33,_0x56a941,_0x5ab9ff){const _0x3b1bcd=_0x8986ca,_0x12f172=this[_0x3b1bcd(0x26e)]?_0x3b1bcd(0x274):_0x3b1bcd(0x214);if(!this[_0x3b1bcd(0x1f8)]){const _0x59c69c=_0x12f172+_0x3b1bcd(0x241),_0x53e0a1=typeof this[_0x3b1bcd(0x259)][_0x59c69c]!='number'?_0x2c6620[_0x3b1bcd(0x369)]:this[_0x3b1bcd(0x259)][_0x59c69c];this['_deflate']=_0x2c6620[_0x3b1bcd(0x253)]({...this[_0x3b1bcd(0x1f7)][_0x3b1bcd(0x34d)],'windowBits':_0x53e0a1}),this[_0x3b1bcd(0x1f8)][_0x4616d8]=0x0,this[_0x3b1bcd(0x1f8)][_0x40693f]=[],this['_deflate']['on'](_0x3b1bcd(0x385),_0x140852);}this[_0x3b1bcd(0x1f8)][_0x5dc48f]=_0x5ab9ff,this[_0x3b1bcd(0x1f8)][_0x3b1bcd(0x233)](_0x20fc33),this[_0x3b1bcd(0x1f8)]['flush'](_0x2c6620['Z_SYNC_FLUSH'],()=>{const _0x531e88=_0x3b1bcd;if(!this[_0x531e88(0x1f8)])return;let _0x1fdfdb=_0x47d445[_0x531e88(0x305)](this[_0x531e88(0x1f8)][_0x40693f],this[_0x531e88(0x1f8)][_0x4616d8]);_0x56a941&&(_0x1fdfdb=new _0x5a3699(_0x1fdfdb[_0x531e88(0x32e)],_0x1fdfdb['byteOffset'],_0x1fdfdb[_0x531e88(0x35a)]-0x4)),this['_deflate'][_0x5dc48f]=null,this[_0x531e88(0x1f8)][_0x4616d8]=0x0,this[_0x531e88(0x1f8)][_0x40693f]=[],_0x56a941&&this[_0x531e88(0x259)][_0x12f172+_0x531e88(0x235)]&&this[_0x531e88(0x1f8)][_0x531e88(0x24a)](),_0x5ab9ff(null,_0x1fdfdb);});}}ve=_0x220cdb;function _0x140852(_0x1a5c63){this[_0x40693f]['push'](_0x1a5c63),this[_0x4616d8]+=_0x1a5c63['length'];}function _0x4896ff(_0x82ec6c){const _0x53927b=_0x8986ca;if(this[_0x4616d8]+=_0x82ec6c[_0x53927b(0x35a)],this[_0x1de7b5][_0x53927b(0x1f5)]<0x1||this[_0x4616d8]<=this[_0x1de7b5][_0x53927b(0x1f5)]){this[_0x40693f]['push'](_0x82ec6c);return;}this[_0x544592]=new RangeError(_0x53927b(0x21e)),this[_0x544592][_0x53927b(0x359)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x544592][_0x5f4ae4]=0x3f1,this[_0x53927b(0x1ef)]('data',_0x4896ff),this[_0x53927b(0x24a)]();}function _0xccc267(_0x469685){const _0x47bdec=_0x8986ca;this[_0x1de7b5][_0x47bdec(0x378)]=null,_0x469685[_0x5f4ae4]=0x3ef,this[_0x5dc48f](_0x469685);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x5beffb(0x240)](Object[_0x5beffb(0x302)]({'__proto__':null,'default':Dt},Symbol[_0x5beffb(0x374)],{'value':_0x5beffb(0x3a7)})),Bt=at(Rt);var Ye;function ae(){const _0x59d066=_0x5beffb;if(Ye)return ie[_0x59d066(0x382)];Ye=0x1;const {isUtf8:_0xbb16ae}=wt,{hasBlob:_0x3f26a4}=H(),_0x54b3f8=[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 _0x4fae68(_0x3ec378){return _0x3ec378>=0x3e8&&_0x3ec378<=0x3f6&&_0x3ec378!==0x3ec&&_0x3ec378!==0x3ed&&_0x3ec378!==0x3ee||_0x3ec378>=0xbb8&&_0x3ec378<=0x1387;}function _0x475154(_0x53dc74){const _0x47e195=_0x59d066,_0x1fcccb=_0x53dc74[_0x47e195(0x35a)];let _0xeb5c51=0x0;for(;_0xeb5c51<_0x1fcccb;)if((_0x53dc74[_0xeb5c51]&0x80)===0x0)_0xeb5c51++;else{if((_0x53dc74[_0xeb5c51]&0xe0)===0xc0){if(_0xeb5c51+0x1===_0x1fcccb||(_0x53dc74[_0xeb5c51+0x1]&0xc0)!==0x80||(_0x53dc74[_0xeb5c51]&0xfe)===0xc0)return!0x1;_0xeb5c51+=0x2;}else{if((_0x53dc74[_0xeb5c51]&0xf0)===0xe0){if(_0xeb5c51+0x2>=_0x1fcccb||(_0x53dc74[_0xeb5c51+0x1]&0xc0)!==0x80||(_0x53dc74[_0xeb5c51+0x2]&0xc0)!==0x80||_0x53dc74[_0xeb5c51]===0xe0&&(_0x53dc74[_0xeb5c51+0x1]&0xe0)===0x80||_0x53dc74[_0xeb5c51]===0xed&&(_0x53dc74[_0xeb5c51+0x1]&0xe0)===0xa0)return!0x1;_0xeb5c51+=0x3;}else{if((_0x53dc74[_0xeb5c51]&0xf8)===0xf0){if(_0xeb5c51+0x3>=_0x1fcccb||(_0x53dc74[_0xeb5c51+0x1]&0xc0)!==0x80||(_0x53dc74[_0xeb5c51+0x2]&0xc0)!==0x80||(_0x53dc74[_0xeb5c51+0x3]&0xc0)!==0x80||_0x53dc74[_0xeb5c51]===0xf0&&(_0x53dc74[_0xeb5c51+0x1]&0xf0)===0x80||_0x53dc74[_0xeb5c51]===0xf4&&_0x53dc74[_0xeb5c51+0x1]>0x8f||_0x53dc74[_0xeb5c51]>0xf4)return!0x1;_0xeb5c51+=0x4;}else return!0x1;}}}return!0x0;}function _0x5e9ade(_0x408235){const _0x4b1d04=_0x59d066;return _0x3f26a4&&typeof _0x408235==_0x4b1d04(0x38c)&&typeof _0x408235[_0x4b1d04(0x2bb)]==_0x4b1d04(0x26d)&&typeof _0x408235[_0x4b1d04(0x29c)]==_0x4b1d04(0x2f2)&&typeof _0x408235['stream']=='function'&&(_0x408235[Symbol['toStringTag']]===_0x4b1d04(0x38b)||_0x408235[Symbol[_0x4b1d04(0x374)]]===_0x4b1d04(0x375));}if(ie['exports']={'isBlob':_0x5e9ade,'isValidStatusCode':_0x4fae68,'isValidUTF8':_0x475154,'tokenChars':_0x54b3f8},_0xbb16ae)ie[_0x59d066(0x382)][_0x59d066(0x24b)]=function(_0x455a4d){const _0x4eac28=_0x59d066;return _0x455a4d[_0x4eac28(0x35a)]<0x18?_0x475154(_0x455a4d):_0xbb16ae(_0x455a4d);};else{if(!process[_0x59d066(0x283)][_0x59d066(0x244)])try{const _0x120126=Bt;ie[_0x59d066(0x382)][_0x59d066(0x24b)]=function(_0x124ee3){const _0x5ce0e9=_0x59d066;return _0x124ee3[_0x5ce0e9(0x35a)]<0x20?_0x475154(_0x124ee3):_0x120126(_0x124ee3);};}catch{}}return ie[_0x59d066(0x382)];}var Se,Ke;function lt(){const _0x2fda73=_0x5beffb;if(Ke)return Se;Ke=0x1;const {Writable:_0x43bccf}=oe,_0x4950fb=he(),{BINARY_TYPES:_0x2a8c77,EMPTY_BUFFER:_0x16c86e,kStatusCode:_0x6a7982,kWebSocket:_0x3f3eb2}=H(),{concat:_0x120a7f,toArrayBuffer:_0x30d3d6,unmask:_0x3f6cc5}=ce(),{isValidStatusCode:_0x3fe136,isValidUTF8:_0x1d5c5e}=ae(),_0x10d0cd=Buffer[Symbol[_0x2fda73(0x31f)]],_0x2fb706=0x0,_0x2048fa=0x1,_0x37e486=0x2,_0x125108=0x3,_0x1181ef=0x4,_0x189710=0x5,_0x3c217e=0x6;class _0x38cd7e extends _0x43bccf{constructor(_0x42ff5f={}){const _0x1e3a39=_0x2fda73;super(),this[_0x1e3a39(0x2ca)]=_0x42ff5f[_0x1e3a39(0x342)]!==void 0x0?_0x42ff5f[_0x1e3a39(0x342)]:!0x0,this[_0x1e3a39(0x236)]=_0x42ff5f['binaryType']||_0x2a8c77[0x0],this[_0x1e3a39(0x284)]=_0x42ff5f['extensions']||{},this['_isServer']=!!_0x42ff5f[_0x1e3a39(0x36f)],this[_0x1e3a39(0x1f5)]=_0x42ff5f['maxPayload']|0x0,this[_0x1e3a39(0x243)]=!!_0x42ff5f[_0x1e3a39(0x1ff)],this[_0x3f3eb2]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x1e3a39(0x2d4)]=!0x1,this['_payloadLength']=0x0,this[_0x1e3a39(0x361)]=void 0x0,this[_0x1e3a39(0x2a8)]=0x0,this['_masked']=!0x1,this[_0x1e3a39(0x1e6)]=!0x1,this['_opcode']=0x0,this[_0x1e3a39(0x2b1)]=0x0,this[_0x1e3a39(0x1e9)]=0x0,this[_0x1e3a39(0x237)]=[],this[_0x1e3a39(0x219)]=!0x1,this['_loop']=!0x1,this[_0x1e3a39(0x22d)]=_0x2fb706;}[_0x2fda73(0x2b4)](_0x3453dc,_0x4eef26,_0x54210e){const _0x42bbe3=_0x2fda73;if(this[_0x42bbe3(0x281)]===0x8&&this['_state']==_0x2fb706)return _0x54210e();this[_0x42bbe3(0x2d1)]+=_0x3453dc[_0x42bbe3(0x35a)],this['_buffers'][_0x42bbe3(0x1fe)](_0x3453dc),this[_0x42bbe3(0x24f)](_0x54210e);}[_0x2fda73(0x311)](_0x17573d){const _0x5c47f8=_0x2fda73;if(this[_0x5c47f8(0x2d1)]-=_0x17573d,_0x17573d===this['_buffers'][0x0][_0x5c47f8(0x35a)])return this['_buffers'][_0x5c47f8(0x20b)]();if(_0x17573d<this['_buffers'][0x0]['length']){const _0xb19319=this['_buffers'][0x0];return this[_0x5c47f8(0x36a)][0x0]=new _0x10d0cd(_0xb19319[_0x5c47f8(0x32e)],_0xb19319['byteOffset']+_0x17573d,_0xb19319[_0x5c47f8(0x35a)]-_0x17573d),new _0x10d0cd(_0xb19319[_0x5c47f8(0x32e)],_0xb19319[_0x5c47f8(0x2aa)],_0x17573d);}const _0x36f874=Buffer[_0x5c47f8(0x24c)](_0x17573d);do{const _0x34f4c6=this[_0x5c47f8(0x36a)][0x0],_0x3a0443=_0x36f874[_0x5c47f8(0x35a)]-_0x17573d;_0x17573d>=_0x34f4c6[_0x5c47f8(0x35a)]?_0x36f874[_0x5c47f8(0x350)](this[_0x5c47f8(0x36a)][_0x5c47f8(0x20b)](),_0x3a0443):(_0x36f874[_0x5c47f8(0x350)](new Uint8Array(_0x34f4c6[_0x5c47f8(0x32e)],_0x34f4c6[_0x5c47f8(0x2aa)],_0x17573d),_0x3a0443),this[_0x5c47f8(0x36a)][0x0]=new _0x10d0cd(_0x34f4c6[_0x5c47f8(0x32e)],_0x34f4c6[_0x5c47f8(0x2aa)]+_0x17573d,_0x34f4c6[_0x5c47f8(0x35a)]-_0x17573d)),_0x17573d-=_0x34f4c6[_0x5c47f8(0x35a)];}while(_0x17573d>0x0);return _0x36f874;}[_0x2fda73(0x24f)](_0x45539f){const _0x7a9b17=_0x2fda73;this['_loop']=!0x0;do switch(this[_0x7a9b17(0x22d)]){case _0x2fb706:this[_0x7a9b17(0x268)](_0x45539f);break;case _0x2048fa:this[_0x7a9b17(0x2ff)](_0x45539f);break;case _0x37e486:this[_0x7a9b17(0x26a)](_0x45539f);break;case _0x125108:this[_0x7a9b17(0x271)]();break;case _0x1181ef:this[_0x7a9b17(0x2c1)](_0x45539f);break;case _0x189710:case _0x3c217e:this[_0x7a9b17(0x27d)]=!0x1;return;}while(this[_0x7a9b17(0x27d)]);this[_0x7a9b17(0x219)]||_0x45539f();}[_0x2fda73(0x268)](_0x18fd0c){const _0x47595c=_0x2fda73;if(this[_0x47595c(0x2d1)]<0x2){this['_loop']=!0x1;return;}const _0x126f17=this['consume'](0x2);if((_0x126f17[0x0]&0x30)!==0x0){const _0x47430f=this['createError'](RangeError,_0x47595c(0x29d),!0x0,0x3ea,_0x47595c(0x31e));_0x18fd0c(_0x47430f);return;}const _0x541ff1=(_0x126f17[0x0]&0x40)===0x40;if(_0x541ff1&&!this[_0x47595c(0x284)][_0x4950fb[_0x47595c(0x288)]]){const _0x342d89=this[_0x47595c(0x2c4)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x18fd0c(_0x342d89);return;}if(this[_0x47595c(0x1e6)]=(_0x126f17[0x0]&0x80)===0x80,this['_opcode']=_0x126f17[0x0]&0xf,this['_payloadLength']=_0x126f17[0x1]&0x7f,this[_0x47595c(0x281)]===0x0){if(_0x541ff1){const _0x46b8bc=this[_0x47595c(0x2c4)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x47595c(0x1de));_0x18fd0c(_0x46b8bc);return;}if(!this[_0x47595c(0x2a8)]){const _0x1a39be=this[_0x47595c(0x2c4)](RangeError,_0x47595c(0x209),!0x0,0x3ea,_0x47595c(0x380));_0x18fd0c(_0x1a39be);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x47595c(0x281)]===0x2){if(this['_fragmented']){const _0x467a6a=this[_0x47595c(0x2c4)](RangeError,_0x47595c(0x234)+this['_opcode'],!0x0,0x3ea,_0x47595c(0x380));_0x18fd0c(_0x467a6a);return;}this[_0x47595c(0x2d4)]=_0x541ff1;}else{if(this[_0x47595c(0x281)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x323853=this[_0x47595c(0x2c4)](RangeError,_0x47595c(0x207),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x18fd0c(_0x323853);return;}if(_0x541ff1){const _0x55eaf9=this['createError'](RangeError,_0x47595c(0x286),!0x0,0x3ea,_0x47595c(0x1de));_0x18fd0c(_0x55eaf9);return;}if(this[_0x47595c(0x3a3)]>0x7d||this[_0x47595c(0x281)]===0x8&&this[_0x47595c(0x3a3)]===0x1){const _0x4a98f0=this[_0x47595c(0x2c4)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x47595c(0x3a3)],!0x0,0x3ea,_0x47595c(0x248));_0x18fd0c(_0x4a98f0);return;}}else{const _0x5a7b99=this['createError'](RangeError,_0x47595c(0x234)+this['_opcode'],!0x0,0x3ea,_0x47595c(0x380));_0x18fd0c(_0x5a7b99);return;}}}if(!this[_0x47595c(0x1e6)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x47595c(0x281)]),this[_0x47595c(0x203)]=(_0x126f17[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x47595c(0x203)]){const _0x1d3b00=this['createError'](RangeError,_0x47595c(0x297),!0x0,0x3ea,_0x47595c(0x24d));_0x18fd0c(_0x1d3b00);return;}}else{if(this[_0x47595c(0x203)]){const _0x6e7c76=this[_0x47595c(0x2c4)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x47595c(0x250));_0x18fd0c(_0x6e7c76);return;}}this[_0x47595c(0x3a3)]===0x7e?this[_0x47595c(0x22d)]=_0x2048fa:this['_payloadLength']===0x7f?this[_0x47595c(0x22d)]=_0x37e486:this[_0x47595c(0x225)](_0x18fd0c);}[_0x2fda73(0x2ff)](_0x4fd6bc){const _0x736598=_0x2fda73;if(this[_0x736598(0x2d1)]<0x2){this[_0x736598(0x27d)]=!0x1;return;}this['_payloadLength']=this[_0x736598(0x311)](0x2)[_0x736598(0x381)](0x0),this[_0x736598(0x225)](_0x4fd6bc);}[_0x2fda73(0x26a)](_0x3f8178){const _0x42bb81=_0x2fda73;if(this[_0x42bb81(0x2d1)]<0x8){this['_loop']=!0x1;return;}const _0x2b97cd=this[_0x42bb81(0x311)](0x8),_0x4d1f29=_0x2b97cd['readUInt32BE'](0x0);if(_0x4d1f29>Math[_0x42bb81(0x2ba)](0x2,0x15)-0x1){const _0xf24afe=this[_0x42bb81(0x2c4)](RangeError,_0x42bb81(0x348),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3f8178(_0xf24afe);return;}this[_0x42bb81(0x3a3)]=_0x4d1f29*Math[_0x42bb81(0x2ba)](0x2,0x20)+_0x2b97cd[_0x42bb81(0x1e5)](0x4),this[_0x42bb81(0x225)](_0x3f8178);}['haveLength'](_0x4eaea3){const _0x23bcfc=_0x2fda73;if(this[_0x23bcfc(0x3a3)]&&this[_0x23bcfc(0x281)]<0x8&&(this[_0x23bcfc(0x2b1)]+=this[_0x23bcfc(0x3a3)],this[_0x23bcfc(0x2b1)]>this[_0x23bcfc(0x1f5)]&&this[_0x23bcfc(0x1f5)]>0x0)){const _0x203ace=this[_0x23bcfc(0x2c4)](RangeError,_0x23bcfc(0x21e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4eaea3(_0x203ace);return;}this[_0x23bcfc(0x203)]?this['_state']=_0x125108:this['_state']=_0x1181ef;}[_0x2fda73(0x271)](){const _0x59b5f4=_0x2fda73;if(this[_0x59b5f4(0x2d1)]<0x4){this[_0x59b5f4(0x27d)]=!0x1;return;}this[_0x59b5f4(0x361)]=this[_0x59b5f4(0x311)](0x4),this[_0x59b5f4(0x22d)]=_0x1181ef;}['getData'](_0x2aacff){const _0x25a58e=_0x2fda73;let _0x35e2a6=_0x16c86e;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x25a58e(0x3a3)]){this[_0x25a58e(0x27d)]=!0x1;return;}_0x35e2a6=this[_0x25a58e(0x311)](this[_0x25a58e(0x3a3)]),this[_0x25a58e(0x203)]&&(this['_mask'][0x0]|this[_0x25a58e(0x361)][0x1]|this[_0x25a58e(0x361)][0x2]|this[_0x25a58e(0x361)][0x3])!==0x0&&_0x3f6cc5(_0x35e2a6,this[_0x25a58e(0x361)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x35e2a6,_0x2aacff);return;}if(this[_0x25a58e(0x2d4)]){this['_state']=_0x189710,this[_0x25a58e(0x364)](_0x35e2a6,_0x2aacff);return;}_0x35e2a6['length']&&(this[_0x25a58e(0x1e9)]=this[_0x25a58e(0x2b1)],this['_fragments'][_0x25a58e(0x1fe)](_0x35e2a6)),this[_0x25a58e(0x22f)](_0x2aacff);}[_0x2fda73(0x364)](_0x3ae09b,_0x22e5b8){const _0x2a9fe7=_0x2fda73;this[_0x2a9fe7(0x284)][_0x4950fb[_0x2a9fe7(0x288)]][_0x2a9fe7(0x364)](_0x3ae09b,this['_fin'],(_0x2dac6c,_0x31e71c)=>{const _0x1b2000=_0x2a9fe7;if(_0x2dac6c)return _0x22e5b8(_0x2dac6c);if(_0x31e71c[_0x1b2000(0x35a)]){if(this[_0x1b2000(0x1e9)]+=_0x31e71c['length'],this['_messageLength']>this[_0x1b2000(0x1f5)]&&this[_0x1b2000(0x1f5)]>0x0){const _0x5ca6af=this[_0x1b2000(0x2c4)](RangeError,_0x1b2000(0x21e),!0x1,0x3f1,_0x1b2000(0x295));_0x22e5b8(_0x5ca6af);return;}this[_0x1b2000(0x237)]['push'](_0x31e71c);}this[_0x1b2000(0x22f)](_0x22e5b8),this[_0x1b2000(0x22d)]===_0x2fb706&&this['startLoop'](_0x22e5b8);});}['dataMessage'](_0x2ad4f4){const _0x5d1a36=_0x2fda73;if(!this[_0x5d1a36(0x1e6)]){this[_0x5d1a36(0x22d)]=_0x2fb706;return;}const _0x5c5d67=this[_0x5d1a36(0x1e9)],_0x22fe5d=this['_fragments'];if(this[_0x5d1a36(0x2b1)]=0x0,this[_0x5d1a36(0x1e9)]=0x0,this[_0x5d1a36(0x2a8)]=0x0,this[_0x5d1a36(0x237)]=[],this[_0x5d1a36(0x281)]===0x2){let _0x3ecd5b;this[_0x5d1a36(0x236)]===_0x5d1a36(0x213)?_0x3ecd5b=_0x120a7f(_0x22fe5d,_0x5c5d67):this['_binaryType']===_0x5d1a36(0x39d)?_0x3ecd5b=_0x30d3d6(_0x120a7f(_0x22fe5d,_0x5c5d67)):this[_0x5d1a36(0x236)]==='blob'?_0x3ecd5b=new Blob(_0x22fe5d):_0x3ecd5b=_0x22fe5d,this[_0x5d1a36(0x2ca)]?(this[_0x5d1a36(0x392)](_0x5d1a36(0x39e),_0x3ecd5b,!0x0),this[_0x5d1a36(0x22d)]=_0x2fb706):(this['_state']=_0x3c217e,setImmediate(()=>{const _0x51ce23=_0x5d1a36;this[_0x51ce23(0x392)](_0x51ce23(0x39e),_0x3ecd5b,!0x0),this[_0x51ce23(0x22d)]=_0x2fb706,this[_0x51ce23(0x24f)](_0x2ad4f4);}));}else{const _0x5b67a5=_0x120a7f(_0x22fe5d,_0x5c5d67);if(!this[_0x5d1a36(0x243)]&&!_0x1d5c5e(_0x5b67a5)){const _0x5c8040=this[_0x5d1a36(0x2c4)](Error,_0x5d1a36(0x2fe),!0x0,0x3ef,_0x5d1a36(0x205));_0x2ad4f4(_0x5c8040);return;}this[_0x5d1a36(0x22d)]===_0x189710||this[_0x5d1a36(0x2ca)]?(this[_0x5d1a36(0x392)]('message',_0x5b67a5,!0x1),this[_0x5d1a36(0x22d)]=_0x2fb706):(this[_0x5d1a36(0x22d)]=_0x3c217e,setImmediate(()=>{const _0x3f135e=_0x5d1a36;this[_0x3f135e(0x392)]('message',_0x5b67a5,!0x1),this['_state']=_0x2fb706,this['startLoop'](_0x2ad4f4);}));}}[_0x2fda73(0x2a5)](_0x554f9a,_0x2cd9a3){const _0x2ec953=_0x2fda73;if(this[_0x2ec953(0x281)]===0x8){if(_0x554f9a['length']===0x0)this[_0x2ec953(0x27d)]=!0x1,this['emit'](_0x2ec953(0x1f4),0x3ed,_0x16c86e),this[_0x2ec953(0x267)]();else{const _0x4bcc72=_0x554f9a['readUInt16BE'](0x0);if(!_0x3fe136(_0x4bcc72)){const _0x3821f4=this[_0x2ec953(0x2c4)](RangeError,_0x2ec953(0x220)+_0x4bcc72,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2cd9a3(_0x3821f4);return;}const _0x1c5326=new _0x10d0cd(_0x554f9a[_0x2ec953(0x32e)],_0x554f9a[_0x2ec953(0x2aa)]+0x2,_0x554f9a['length']-0x2);if(!this[_0x2ec953(0x243)]&&!_0x1d5c5e(_0x1c5326)){const _0x4ce036=this[_0x2ec953(0x2c4)](Error,_0x2ec953(0x2fe),!0x0,0x3ef,_0x2ec953(0x205));_0x2cd9a3(_0x4ce036);return;}this[_0x2ec953(0x27d)]=!0x1,this[_0x2ec953(0x392)](_0x2ec953(0x1f4),_0x4bcc72,_0x1c5326),this['end']();}this['_state']=_0x2fb706;return;}this[_0x2ec953(0x2ca)]?(this[_0x2ec953(0x392)](this[_0x2ec953(0x281)]===0x9?'ping':_0x2ec953(0x27f),_0x554f9a),this[_0x2ec953(0x22d)]=_0x2fb706):(this[_0x2ec953(0x22d)]=_0x3c217e,setImmediate(()=>{const _0x402666=_0x2ec953;this[_0x402666(0x392)](this['_opcode']===0x9?_0x402666(0x1e3):'pong',_0x554f9a),this['_state']=_0x2fb706,this[_0x402666(0x24f)](_0x2cd9a3);}));}[_0x2fda73(0x2c4)](_0x6a20e,_0x201cd8,_0x34d139,_0x45f22d,_0xfb02c6){const _0x4b3ebb=_0x2fda73;this[_0x4b3ebb(0x27d)]=!0x1,this[_0x4b3ebb(0x219)]=!0x0;const _0x36dd4b=new _0x6a20e(_0x34d139?_0x4b3ebb(0x30a)+_0x201cd8:_0x201cd8);return Error['captureStackTrace'](_0x36dd4b,this[_0x4b3ebb(0x2c4)]),_0x36dd4b[_0x4b3ebb(0x359)]=_0xfb02c6,_0x36dd4b[_0x6a7982]=_0x45f22d,_0x36dd4b;}}return Se=_0x38cd7e,Se;}var Ee,Xe;function ft(){const _0x475c56=_0x5beffb;if(Xe)return Ee;Xe=0x1;const {Duplex:_0xf8e642}=oe,{randomFillSync:_0x553a0c}=Le,_0x39b754=he(),{EMPTY_BUFFER:_0x27d015,kWebSocket:_0x1ca7ad,NOOP:_0x444a50}=H(),{isBlob:_0x1461a9,isValidStatusCode:_0x324ab3}=ae(),{mask:_0x28d5cb,toBuffer:_0x52fb97}=ce(),_0xf7b681=Symbol(_0x475c56(0x31d)),_0x408085=Buffer[_0x475c56(0x212)](0x4),_0x7e44cd=0x8*0x400;let _0x42265c,_0x246345=_0x7e44cd;const _0x30ddaf=0x0,_0x2bcfe7=0x1,_0x483c90=0x2;class _0xed8c6b{constructor(_0x6b817a,_0x53c2be,_0x55e242){const _0x57d57d=_0x475c56;this[_0x57d57d(0x284)]=_0x53c2be||{},_0x55e242&&(this[_0x57d57d(0x373)]=_0x55e242,this[_0x57d57d(0x2d5)]=Buffer['alloc'](0x4)),this[_0x57d57d(0x333)]=_0x6b817a,this[_0x57d57d(0x376)]=!0x0,this[_0x57d57d(0x23f)]=!0x1,this['_bufferedBytes']=0x0,this[_0x57d57d(0x332)]=[],this[_0x57d57d(0x22d)]=_0x30ddaf,this[_0x57d57d(0x200)]=_0x444a50,this[_0x1ca7ad]=void 0x0;}static['frame'](_0x21bd82,_0x2f5d5c){const _0x2d013f=_0x475c56;let _0x36212a,_0x4ef7d7=!0x1,_0x967dc3=0x2,_0x381af3=!0x1;_0x2f5d5c['mask']&&(_0x36212a=_0x2f5d5c[_0x2d013f(0x272)]||_0x408085,_0x2f5d5c['generateMask']?_0x2f5d5c['generateMask'](_0x36212a):(_0x246345===_0x7e44cd&&(_0x42265c===void 0x0&&(_0x42265c=Buffer[_0x2d013f(0x212)](_0x7e44cd)),_0x553a0c(_0x42265c,0x0,_0x7e44cd),_0x246345=0x0),_0x36212a[0x0]=_0x42265c[_0x246345++],_0x36212a[0x1]=_0x42265c[_0x246345++],_0x36212a[0x2]=_0x42265c[_0x246345++],_0x36212a[0x3]=_0x42265c[_0x246345++]),_0x381af3=(_0x36212a[0x0]|_0x36212a[0x1]|_0x36212a[0x2]|_0x36212a[0x3])===0x0,_0x967dc3=0x6);let _0x356f90;typeof _0x21bd82=='string'?(!_0x2f5d5c[_0x2d013f(0x20f)]||_0x381af3)&&_0x2f5d5c[_0xf7b681]!==void 0x0?_0x356f90=_0x2f5d5c[_0xf7b681]:(_0x21bd82=Buffer['from'](_0x21bd82),_0x356f90=_0x21bd82[_0x2d013f(0x35a)]):(_0x356f90=_0x21bd82[_0x2d013f(0x35a)],_0x4ef7d7=_0x2f5d5c['mask']&&_0x2f5d5c[_0x2d013f(0x2c3)]&&!_0x381af3);let _0x462f56=_0x356f90;_0x356f90>=0x10000?(_0x967dc3+=0x8,_0x462f56=0x7f):_0x356f90>0x7d&&(_0x967dc3+=0x2,_0x462f56=0x7e);const _0x885987=Buffer[_0x2d013f(0x24c)](_0x4ef7d7?_0x356f90+_0x967dc3:_0x967dc3);return _0x885987[0x0]=_0x2f5d5c['fin']?_0x2f5d5c[_0x2d013f(0x314)]|0x80:_0x2f5d5c['opcode'],_0x2f5d5c[_0x2d013f(0x2f0)]&&(_0x885987[0x0]|=0x40),_0x885987[0x1]=_0x462f56,_0x462f56===0x7e?_0x885987[_0x2d013f(0x2bc)](_0x356f90,0x2):_0x462f56===0x7f&&(_0x885987[0x2]=_0x885987[0x3]=0x0,_0x885987[_0x2d013f(0x2ab)](_0x356f90,0x4,0x6)),_0x2f5d5c[_0x2d013f(0x20f)]?(_0x885987[0x1]|=0x80,_0x885987[_0x967dc3-0x4]=_0x36212a[0x0],_0x885987[_0x967dc3-0x3]=_0x36212a[0x1],_0x885987[_0x967dc3-0x2]=_0x36212a[0x2],_0x885987[_0x967dc3-0x1]=_0x36212a[0x3],_0x381af3?[_0x885987,_0x21bd82]:_0x4ef7d7?(_0x28d5cb(_0x21bd82,_0x36212a,_0x885987,_0x967dc3,_0x356f90),[_0x885987]):(_0x28d5cb(_0x21bd82,_0x36212a,_0x21bd82,0x0,_0x356f90),[_0x885987,_0x21bd82])):[_0x885987,_0x21bd82];}['close'](_0x4272ce,_0x1e15e9,_0x200606,_0x33c5c1){const _0x4a1ab2=_0x475c56;let _0x249e35;if(_0x4272ce===void 0x0)_0x249e35=_0x27d015;else{if(typeof _0x4272ce!=_0x4a1ab2(0x2c6)||!_0x324ab3(_0x4272ce))throw new TypeError(_0x4a1ab2(0x256));if(_0x1e15e9===void 0x0||!_0x1e15e9[_0x4a1ab2(0x35a)])_0x249e35=Buffer[_0x4a1ab2(0x24c)](0x2),_0x249e35[_0x4a1ab2(0x2bc)](_0x4272ce,0x0);else{const _0x1f9138=Buffer[_0x4a1ab2(0x298)](_0x1e15e9);if(_0x1f9138>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x249e35=Buffer[_0x4a1ab2(0x24c)](0x2+_0x1f9138),_0x249e35[_0x4a1ab2(0x2bc)](_0x4272ce,0x0),typeof _0x1e15e9=='string'?_0x249e35[_0x4a1ab2(0x233)](_0x1e15e9,0x2):_0x249e35['set'](_0x1e15e9,0x2);}}const _0x24ab8d={[_0xf7b681]:_0x249e35[_0x4a1ab2(0x35a)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x200606,'maskBuffer':this[_0x4a1ab2(0x2d5)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4a1ab2(0x22d)]!==_0x30ddaf?this['enqueue']([this[_0x4a1ab2(0x1f2)],_0x249e35,!0x1,_0x24ab8d,_0x33c5c1]):this[_0x4a1ab2(0x2ed)](_0xed8c6b['frame'](_0x249e35,_0x24ab8d),_0x33c5c1);}[_0x475c56(0x1e3)](_0x76824a,_0x5485b4,_0x55a653){const _0x3adbba=_0x475c56;let _0x5cbb47,_0x896f73;if(typeof _0x76824a=='string'?(_0x5cbb47=Buffer[_0x3adbba(0x298)](_0x76824a),_0x896f73=!0x1):_0x1461a9(_0x76824a)?(_0x5cbb47=_0x76824a['size'],_0x896f73=!0x1):(_0x76824a=_0x52fb97(_0x76824a),_0x5cbb47=_0x76824a[_0x3adbba(0x35a)],_0x896f73=_0x52fb97[_0x3adbba(0x2c3)]),_0x5cbb47>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x178f9a={[_0xf7b681]:_0x5cbb47,'fin':!0x0,'generateMask':this[_0x3adbba(0x373)],'mask':_0x5485b4,'maskBuffer':this[_0x3adbba(0x2d5)],'opcode':0x9,'readOnly':_0x896f73,'rsv1':!0x1};_0x1461a9(_0x76824a)?this[_0x3adbba(0x22d)]!==_0x30ddaf?this[_0x3adbba(0x2d3)]([this[_0x3adbba(0x377)],_0x76824a,!0x1,_0x178f9a,_0x55a653]):this[_0x3adbba(0x377)](_0x76824a,!0x1,_0x178f9a,_0x55a653):this['_state']!==_0x30ddaf?this['enqueue']([this[_0x3adbba(0x1f2)],_0x76824a,!0x1,_0x178f9a,_0x55a653]):this[_0x3adbba(0x2ed)](_0xed8c6b[_0x3adbba(0x273)](_0x76824a,_0x178f9a),_0x55a653);}[_0x475c56(0x27f)](_0x1907f7,_0x30821a,_0x535fea){const _0x31c60c=_0x475c56;let _0x1b75c8,_0x419898;if(typeof _0x1907f7==_0x31c60c(0x2f2)?(_0x1b75c8=Buffer[_0x31c60c(0x298)](_0x1907f7),_0x419898=!0x1):_0x1461a9(_0x1907f7)?(_0x1b75c8=_0x1907f7[_0x31c60c(0x339)],_0x419898=!0x1):(_0x1907f7=_0x52fb97(_0x1907f7),_0x1b75c8=_0x1907f7[_0x31c60c(0x35a)],_0x419898=_0x52fb97[_0x31c60c(0x2c3)]),_0x1b75c8>0x7d)throw new RangeError(_0x31c60c(0x35f));const _0x274196={[_0xf7b681]:_0x1b75c8,'fin':!0x0,'generateMask':this[_0x31c60c(0x373)],'mask':_0x30821a,'maskBuffer':this[_0x31c60c(0x2d5)],'opcode':0xa,'readOnly':_0x419898,'rsv1':!0x1};_0x1461a9(_0x1907f7)?this[_0x31c60c(0x22d)]!==_0x30ddaf?this[_0x31c60c(0x2d3)]([this[_0x31c60c(0x377)],_0x1907f7,!0x1,_0x274196,_0x535fea]):this[_0x31c60c(0x377)](_0x1907f7,!0x1,_0x274196,_0x535fea):this[_0x31c60c(0x22d)]!==_0x30ddaf?this['enqueue']([this[_0x31c60c(0x1f2)],_0x1907f7,!0x1,_0x274196,_0x535fea]):this['sendFrame'](_0xed8c6b[_0x31c60c(0x273)](_0x1907f7,_0x274196),_0x535fea);}['send'](_0x2ec795,_0x2fb2b7,_0xceff24){const _0x171aa6=_0x475c56,_0x3509d2=this['_extensions'][_0x39b754['extensionName']];let _0x4802d9=_0x2fb2b7[_0x171aa6(0x395)]?0x2:0x1,_0x5be72c=_0x2fb2b7['compress'],_0x274534,_0x5d79e0;typeof _0x2ec795==_0x171aa6(0x2f2)?(_0x274534=Buffer['byteLength'](_0x2ec795),_0x5d79e0=!0x1):_0x1461a9(_0x2ec795)?(_0x274534=_0x2ec795[_0x171aa6(0x339)],_0x5d79e0=!0x1):(_0x2ec795=_0x52fb97(_0x2ec795),_0x274534=_0x2ec795[_0x171aa6(0x35a)],_0x5d79e0=_0x52fb97['readOnly']),this[_0x171aa6(0x376)]?(this[_0x171aa6(0x376)]=!0x1,_0x5be72c&&_0x3509d2&&_0x3509d2['params'][_0x3509d2[_0x171aa6(0x26e)]?_0x171aa6(0x349):_0x171aa6(0x204)]&&(_0x5be72c=_0x274534>=_0x3509d2[_0x171aa6(0x270)]),this[_0x171aa6(0x23f)]=_0x5be72c):(_0x5be72c=!0x1,_0x4802d9=0x0),_0x2fb2b7[_0x171aa6(0x2c5)]&&(this[_0x171aa6(0x376)]=!0x0);const _0x172612={[_0xf7b681]:_0x274534,'fin':_0x2fb2b7['fin'],'generateMask':this['_generateMask'],'mask':_0x2fb2b7[_0x171aa6(0x20f)],'maskBuffer':this[_0x171aa6(0x2d5)],'opcode':_0x4802d9,'readOnly':_0x5d79e0,'rsv1':_0x5be72c};_0x1461a9(_0x2ec795)?this[_0x171aa6(0x22d)]!==_0x30ddaf?this[_0x171aa6(0x2d3)]([this[_0x171aa6(0x377)],_0x2ec795,this[_0x171aa6(0x23f)],_0x172612,_0xceff24]):this[_0x171aa6(0x377)](_0x2ec795,this[_0x171aa6(0x23f)],_0x172612,_0xceff24):this[_0x171aa6(0x22d)]!==_0x30ddaf?this[_0x171aa6(0x2d3)]([this[_0x171aa6(0x1f2)],_0x2ec795,this[_0x171aa6(0x23f)],_0x172612,_0xceff24]):this[_0x171aa6(0x1f2)](_0x2ec795,this['_compress'],_0x172612,_0xceff24);}[_0x475c56(0x377)](_0x4342c0,_0x41c27b,_0xfeacab,_0x4fb2d1){const _0xcfe073=_0x475c56;this[_0xcfe073(0x2d1)]+=_0xfeacab[_0xf7b681],this['_state']=_0x483c90,_0x4342c0[_0xcfe073(0x2bb)]()[_0xcfe073(0x2a0)](_0x547284=>{const _0x3dca9f=_0xcfe073;if(this[_0x3dca9f(0x333)][_0x3dca9f(0x34a)]){const _0x399896=new Error(_0x3dca9f(0x371));process[_0x3dca9f(0x29e)](_0xe33cbc,this,_0x399896,_0x4fb2d1);return;}this[_0x3dca9f(0x2d1)]-=_0xfeacab[_0xf7b681];const _0x3fd757=_0x52fb97(_0x547284);_0x41c27b?this[_0x3dca9f(0x1f2)](_0x3fd757,_0x41c27b,_0xfeacab,_0x4fb2d1):(this[_0x3dca9f(0x22d)]=_0x30ddaf,this[_0x3dca9f(0x2ed)](_0xed8c6b[_0x3dca9f(0x273)](_0x3fd757,_0xfeacab),_0x4fb2d1),this[_0x3dca9f(0x2b5)]());})['catch'](_0x1694ab=>{const _0x2de860=_0xcfe073;process[_0x2de860(0x29e)](_0x2f1fdf,this,_0x1694ab,_0x4fb2d1);});}['dispatch'](_0x372953,_0x5e5383,_0x417e37,_0x5f17dc){const _0x436728=_0x475c56;if(!_0x5e5383){this['sendFrame'](_0xed8c6b[_0x436728(0x273)](_0x372953,_0x417e37),_0x5f17dc);return;}const _0x1c494c=this[_0x436728(0x284)][_0x39b754[_0x436728(0x288)]];this[_0x436728(0x2d1)]+=_0x417e37[_0xf7b681],this[_0x436728(0x22d)]=_0x2bcfe7,_0x1c494c['compress'](_0x372953,_0x417e37[_0x436728(0x2c5)],(_0x244ad7,_0x126abe)=>{const _0x48840c=_0x436728;if(this[_0x48840c(0x333)][_0x48840c(0x34a)]){const _0x29bf16=new Error(_0x48840c(0x2c7));_0xe33cbc(this,_0x29bf16,_0x5f17dc);return;}this[_0x48840c(0x2d1)]-=_0x417e37[_0xf7b681],this[_0x48840c(0x22d)]=_0x30ddaf,_0x417e37[_0x48840c(0x2c3)]=!0x1,this['sendFrame'](_0xed8c6b[_0x48840c(0x273)](_0x126abe,_0x417e37),_0x5f17dc),this[_0x48840c(0x2b5)]();});}['dequeue'](){const _0x59a1a1=_0x475c56;for(;this['_state']===_0x30ddaf&&this['_queue']['length'];){const _0x16e314=this['_queue'][_0x59a1a1(0x20b)]();this[_0x59a1a1(0x2d1)]-=_0x16e314[0x3][_0xf7b681],Reflect[_0x59a1a1(0x366)](_0x16e314[0x0],this,_0x16e314[_0x59a1a1(0x218)](0x1));}}['enqueue'](_0x5a5c0b){const _0x2b7ff7=_0x475c56;this[_0x2b7ff7(0x2d1)]+=_0x5a5c0b[0x3][_0xf7b681],this[_0x2b7ff7(0x332)][_0x2b7ff7(0x1fe)](_0x5a5c0b);}[_0x475c56(0x2ed)](_0x1f50d0,_0x457f7e){const _0x40774a=_0x475c56;_0x1f50d0[_0x40774a(0x35a)]===0x2?(this['_socket'][_0x40774a(0x362)](),this[_0x40774a(0x333)]['write'](_0x1f50d0[0x0]),this['_socket']['write'](_0x1f50d0[0x1],_0x457f7e),this[_0x40774a(0x333)][_0x40774a(0x25a)]()):this[_0x40774a(0x333)][_0x40774a(0x233)](_0x1f50d0[0x0],_0x457f7e);}}Ee=_0xed8c6b;function _0xe33cbc(_0x37c0af,_0x136c0c,_0x35ec62){const _0x1428b8=_0x475c56;typeof _0x35ec62==_0x1428b8(0x26d)&&_0x35ec62(_0x136c0c);for(let _0x12a8c4=0x0;_0x12a8c4<_0x37c0af[_0x1428b8(0x332)][_0x1428b8(0x35a)];_0x12a8c4++){const _0x9bb6f9=_0x37c0af[_0x1428b8(0x332)][_0x12a8c4],_0xacf53d=_0x9bb6f9[_0x9bb6f9[_0x1428b8(0x35a)]-0x1];typeof _0xacf53d==_0x1428b8(0x26d)&&_0xacf53d(_0x136c0c);}}function _0x2f1fdf(_0x24648b,_0x446efb,_0x1c62d1){const _0x5f20f4=_0x475c56;_0xe33cbc(_0x24648b,_0x446efb,_0x1c62d1),_0x24648b[_0x5f20f4(0x200)](_0x446efb);}return Ee;}var xe,Ze;function It(){const _0xada408=_0x5beffb;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x333dc0,kListener:_0x53aa1b}=H(),_0x3ea0eb=Symbol(_0xada408(0x2ef)),_0x34e5ef=Symbol(_0xada408(0x206)),_0x711529=Symbol(_0xada408(0x28f)),_0x5bc4b6=Symbol(_0xada408(0x2b2)),_0x4dcf34=Symbol(_0xada408(0x393)),_0x3f3c31=Symbol(_0xada408(0x2a9)),_0xb6ee9c=Symbol(_0xada408(0x318)),_0x238b91=Symbol('kWasClean');class _0x33f8aa{constructor(_0x4b5a0d){this[_0x3f3c31]=null,this[_0xb6ee9c]=_0x4b5a0d;}get['target'](){return this[_0x3f3c31];}get[_0xada408(0x29c)](){return this[_0xb6ee9c];}}Object[_0xada408(0x302)](_0x33f8aa[_0xada408(0x2cd)],'target',{'enumerable':!0x0}),Object[_0xada408(0x302)](_0x33f8aa['prototype'],_0xada408(0x29c),{'enumerable':!0x0});class _0x25e0fe extends _0x33f8aa{constructor(_0x28a156,_0x12dc3c={}){const _0x4f3c77=_0xada408;super(_0x28a156),this[_0x3ea0eb]=_0x12dc3c[_0x4f3c77(0x359)]===void 0x0?0x0:_0x12dc3c['code'],this[_0x4dcf34]=_0x12dc3c[_0x4f3c77(0x2d8)]===void 0x0?'':_0x12dc3c['reason'],this[_0x238b91]=_0x12dc3c[_0x4f3c77(0x353)]===void 0x0?!0x1:_0x12dc3c[_0x4f3c77(0x353)];}get[_0xada408(0x359)](){return this[_0x3ea0eb];}get[_0xada408(0x2d8)](){return this[_0x4dcf34];}get[_0xada408(0x353)](){return this[_0x238b91];}}Object[_0xada408(0x302)](_0x25e0fe[_0xada408(0x2cd)],'code',{'enumerable':!0x0}),Object[_0xada408(0x302)](_0x25e0fe[_0xada408(0x2cd)],_0xada408(0x2d8),{'enumerable':!0x0}),Object['defineProperty'](_0x25e0fe[_0xada408(0x2cd)],_0xada408(0x353),{'enumerable':!0x0});class _0x4a9606 extends _0x33f8aa{constructor(_0x376419,_0x5aadfd={}){const _0x3a571e=_0xada408;super(_0x376419),this[_0x711529]=_0x5aadfd[_0x3a571e(0x2cc)]===void 0x0?null:_0x5aadfd['error'],this[_0x5bc4b6]=_0x5aadfd[_0x3a571e(0x39e)]===void 0x0?'':_0x5aadfd[_0x3a571e(0x39e)];}get[_0xada408(0x2cc)](){return this[_0x711529];}get[_0xada408(0x39e)](){return this[_0x5bc4b6];}}Object['defineProperty'](_0x4a9606[_0xada408(0x2cd)],_0xada408(0x2cc),{'enumerable':!0x0}),Object[_0xada408(0x302)](_0x4a9606[_0xada408(0x2cd)],_0xada408(0x39e),{'enumerable':!0x0});class _0x37084c extends _0x33f8aa{constructor(_0x1c2d46,_0x3450d3={}){const _0x1b5cde=_0xada408;super(_0x1c2d46),this[_0x34e5ef]=_0x3450d3[_0x1b5cde(0x385)]===void 0x0?null:_0x3450d3[_0x1b5cde(0x385)];}get[_0xada408(0x385)](){return this[_0x34e5ef];}}Object[_0xada408(0x302)](_0x37084c[_0xada408(0x2cd)],_0xada408(0x385),{'enumerable':!0x0}),xe={'CloseEvent':_0x25e0fe,'ErrorEvent':_0x4a9606,'Event':_0x33f8aa,'EventTarget':{'addEventListener'(_0xbf673c,_0x3cd0ab,_0x441f54={}){const _0x288c40=_0xada408;for(const _0x16b4b6 of this[_0x288c40(0x2c8)](_0xbf673c))if(!_0x441f54[_0x333dc0]&&_0x16b4b6[_0x53aa1b]===_0x3cd0ab&&!_0x16b4b6[_0x333dc0])return;let _0x1ec631;if(_0xbf673c==='message')_0x1ec631=function(_0x30765d,_0x3d7cfb){const _0x4e9960=_0x288c40,_0x522c98=new _0x37084c(_0x4e9960(0x39e),{'data':_0x3d7cfb?_0x30765d:_0x30765d[_0x4e9960(0x287)]()});_0x522c98[_0x3f3c31]=this,_0x283696(_0x3cd0ab,this,_0x522c98);};else{if(_0xbf673c===_0x288c40(0x304))_0x1ec631=function(_0x23c3c7,_0x59adbf){const _0x22b551=_0x288c40,_0x37265b=new _0x25e0fe('close',{'code':_0x23c3c7,'reason':_0x59adbf[_0x22b551(0x287)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x37265b[_0x3f3c31]=this,_0x283696(_0x3cd0ab,this,_0x37265b);};else{if(_0xbf673c===_0x288c40(0x2cc))_0x1ec631=function(_0x39cbbb){const _0x542d5b=_0x288c40,_0x5e01ce=new _0x4a9606(_0x542d5b(0x2cc),{'error':_0x39cbbb,'message':_0x39cbbb[_0x542d5b(0x39e)]});_0x5e01ce[_0x3f3c31]=this,_0x283696(_0x3cd0ab,this,_0x5e01ce);};else{if(_0xbf673c===_0x288c40(0x2c9))_0x1ec631=function(){const _0x4caa09=_0x288c40,_0x1acbbc=new _0x33f8aa(_0x4caa09(0x2c9));_0x1acbbc[_0x3f3c31]=this,_0x283696(_0x3cd0ab,this,_0x1acbbc);};else return;}}}_0x1ec631[_0x333dc0]=!!_0x441f54[_0x333dc0],_0x1ec631[_0x53aa1b]=_0x3cd0ab,_0x441f54[_0x288c40(0x2df)]?this[_0x288c40(0x2df)](_0xbf673c,_0x1ec631):this['on'](_0xbf673c,_0x1ec631);},'removeEventListener'(_0x203ca0,_0xfaa9ae){const _0x18abc0=_0xada408;for(const _0xb1b01a of this[_0x18abc0(0x2c8)](_0x203ca0))if(_0xb1b01a[_0x53aa1b]===_0xfaa9ae&&!_0xb1b01a[_0x333dc0]){this[_0x18abc0(0x1ef)](_0x203ca0,_0xb1b01a);break;}}},'MessageEvent':_0x37084c};function _0x283696(_0xa73afc,_0xd340be,_0x54bc1e){const _0x5121ae=_0xada408;typeof _0xa73afc=='object'&&_0xa73afc[_0x5121ae(0x257)]?_0xa73afc[_0x5121ae(0x257)][_0x5121ae(0x396)](_0xa73afc,_0x54bc1e):_0xa73afc[_0x5121ae(0x396)](_0xd340be,_0x54bc1e);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x1a7f7d}=ae();function _0x413c1d(_0x1a4a6d,_0x4cbb91,_0x6f49cd){_0x1a4a6d[_0x4cbb91]===void 0x0?_0x1a4a6d[_0x4cbb91]=[_0x6f49cd]:_0x1a4a6d[_0x4cbb91]['push'](_0x6f49cd);}function _0x8bf6b3(_0x21dae8){const _0x311df2=_0x3013,_0x107cf4=Object[_0x311df2(0x32a)](null);let _0x3fd36b=Object[_0x311df2(0x32a)](null),_0xa608e2=!0x1,_0x9f2077=!0x1,_0x2ed2fb=!0x1,_0x112156,_0xcf41b5,_0x692c52=-0x1,_0x22f528=-0x1,_0xc022f=-0x1,_0x1b11cd=0x0;for(;_0x1b11cd<_0x21dae8[_0x311df2(0x35a)];_0x1b11cd++)if(_0x22f528=_0x21dae8[_0x311df2(0x334)](_0x1b11cd),_0x112156===void 0x0){if(_0xc022f===-0x1&&_0x1a7f7d[_0x22f528]===0x1)_0x692c52===-0x1&&(_0x692c52=_0x1b11cd);else{if(_0x1b11cd!==0x0&&(_0x22f528===0x20||_0x22f528===0x9))_0xc022f===-0x1&&_0x692c52!==-0x1&&(_0xc022f=_0x1b11cd);else{if(_0x22f528===0x3b||_0x22f528===0x2c){if(_0x692c52===-0x1)throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);_0xc022f===-0x1&&(_0xc022f=_0x1b11cd);const _0x19b632=_0x21dae8[_0x311df2(0x218)](_0x692c52,_0xc022f);_0x22f528===0x2c?(_0x413c1d(_0x107cf4,_0x19b632,_0x3fd36b),_0x3fd36b=Object[_0x311df2(0x32a)](null)):_0x112156=_0x19b632,_0x692c52=_0xc022f=-0x1;}else throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);}}}else{if(_0xcf41b5===void 0x0){if(_0xc022f===-0x1&&_0x1a7f7d[_0x22f528]===0x1)_0x692c52===-0x1&&(_0x692c52=_0x1b11cd);else{if(_0x22f528===0x20||_0x22f528===0x9)_0xc022f===-0x1&&_0x692c52!==-0x1&&(_0xc022f=_0x1b11cd);else{if(_0x22f528===0x3b||_0x22f528===0x2c){if(_0x692c52===-0x1)throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);_0xc022f===-0x1&&(_0xc022f=_0x1b11cd),_0x413c1d(_0x3fd36b,_0x21dae8['slice'](_0x692c52,_0xc022f),!0x0),_0x22f528===0x2c&&(_0x413c1d(_0x107cf4,_0x112156,_0x3fd36b),_0x3fd36b=Object[_0x311df2(0x32a)](null),_0x112156=void 0x0),_0x692c52=_0xc022f=-0x1;}else{if(_0x22f528===0x3d&&_0x692c52!==-0x1&&_0xc022f===-0x1)_0xcf41b5=_0x21dae8[_0x311df2(0x218)](_0x692c52,_0x1b11cd),_0x692c52=_0xc022f=-0x1;else throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);}}}}else{if(_0x9f2077){if(_0x1a7f7d[_0x22f528]!==0x1)throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);_0x692c52===-0x1?_0x692c52=_0x1b11cd:_0xa608e2||(_0xa608e2=!0x0),_0x9f2077=!0x1;}else{if(_0x2ed2fb){if(_0x1a7f7d[_0x22f528]===0x1)_0x692c52===-0x1&&(_0x692c52=_0x1b11cd);else{if(_0x22f528===0x22&&_0x692c52!==-0x1)_0x2ed2fb=!0x1,_0xc022f=_0x1b11cd;else{if(_0x22f528===0x5c)_0x9f2077=!0x0;else throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);}}}else{if(_0x22f528===0x22&&_0x21dae8[_0x311df2(0x334)](_0x1b11cd-0x1)===0x3d)_0x2ed2fb=!0x0;else{if(_0xc022f===-0x1&&_0x1a7f7d[_0x22f528]===0x1)_0x692c52===-0x1&&(_0x692c52=_0x1b11cd);else{if(_0x692c52!==-0x1&&(_0x22f528===0x20||_0x22f528===0x9))_0xc022f===-0x1&&(_0xc022f=_0x1b11cd);else{if(_0x22f528===0x3b||_0x22f528===0x2c){if(_0x692c52===-0x1)throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);_0xc022f===-0x1&&(_0xc022f=_0x1b11cd);let _0x395946=_0x21dae8['slice'](_0x692c52,_0xc022f);_0xa608e2&&(_0x395946=_0x395946[_0x311df2(0x325)](/\\/g,''),_0xa608e2=!0x1),_0x413c1d(_0x3fd36b,_0xcf41b5,_0x395946),_0x22f528===0x2c&&(_0x413c1d(_0x107cf4,_0x112156,_0x3fd36b),_0x3fd36b=Object[_0x311df2(0x32a)](null),_0x112156=void 0x0),_0xcf41b5=void 0x0,_0x692c52=_0xc022f=-0x1;}else throw new SyntaxError(_0x311df2(0x383)+_0x1b11cd);}}}}}}}if(_0x692c52===-0x1||_0x2ed2fb||_0x22f528===0x20||_0x22f528===0x9)throw new SyntaxError(_0x311df2(0x347));_0xc022f===-0x1&&(_0xc022f=_0x1b11cd);const _0x495500=_0x21dae8[_0x311df2(0x218)](_0x692c52,_0xc022f);return _0x112156===void 0x0?_0x413c1d(_0x107cf4,_0x495500,_0x3fd36b):(_0xcf41b5===void 0x0?_0x413c1d(_0x3fd36b,_0x495500,!0x0):_0xa608e2?_0x413c1d(_0x3fd36b,_0xcf41b5,_0x495500[_0x311df2(0x325)](/\\/g,'')):_0x413c1d(_0x3fd36b,_0xcf41b5,_0x495500),_0x413c1d(_0x107cf4,_0x112156,_0x3fd36b)),_0x107cf4;}function _0x20d8b8(_0x17e419){const _0x4f551b=_0x3013;return Object[_0x4f551b(0x1ed)](_0x17e419)[_0x4f551b(0x39a)](_0x19a70c=>{const _0x1c3062=_0x4f551b;let _0x3dba60=_0x17e419[_0x19a70c];return Array[_0x1c3062(0x278)](_0x3dba60)||(_0x3dba60=[_0x3dba60]),_0x3dba60['map'](_0x375dc0=>[_0x19a70c]['concat'](Object[_0x1c3062(0x1ed)](_0x375dc0)['map'](_0x4432bc=>{const _0x10049d=_0x1c3062;let _0x154ab3=_0x375dc0[_0x4432bc];return Array[_0x10049d(0x278)](_0x154ab3)||(_0x154ab3=[_0x154ab3]),_0x154ab3[_0x10049d(0x39a)](_0x4e98de=>_0x4e98de===!0x0?_0x4432bc:_0x4432bc+'='+_0x4e98de)[_0x10049d(0x1f6)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x4f551b(0x1f6)](',\x20');}return be={'format':_0x20d8b8,'parse':_0x8bf6b3},be;}var we,Je;function Pe(){const _0x37a8ae=_0x5beffb;if(Je)return we;Je=0x1;const _0x3987d1=nt,_0xb2e735=vt,_0x3966ee=ot,_0x24d413=St,_0x2bc716=Et,{randomBytes:_0x3488a2,createHash:_0x321552}=Le,{Duplex:_0x4ffda6,Readable:_0x18fc05}=oe,{URL:_0x2ba6a5}=xt,_0x89ed0f=he(),_0xbbebf1=lt(),_0x20c64f=ft(),{isBlob:_0x2f2897}=ae(),{BINARY_TYPES:_0xda1db4,EMPTY_BUFFER:_0x1d9e41,GUID:_0x123903,kForOnEventAttribute:_0x562084,kListener:_0x27ecee,kStatusCode:_0x593d54,kWebSocket:_0x5db769,NOOP:_0x46b379}=H(),{EventTarget:{addEventListener:_0x181630,removeEventListener:_0x5b4b05}}=It(),{format:_0x47acc9,parse:_0x92cb85}=ct(),{toBuffer:_0x84c26e}=ce(),_0x4609f1=0x1e*0x3e8,_0x2c8b8a=Symbol(_0x37a8ae(0x352)),_0x54fedd=[0x8,0xd],_0xf86332=[_0x37a8ae(0x263),_0x37a8ae(0x2ee),_0x37a8ae(0x2a6),_0x37a8ae(0x224)],_0x190353=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x637591 extends _0x3987d1{constructor(_0x1d4bc8,_0x4dbd4a,_0x577cce){const _0x33a96a=_0x37a8ae;super(),this['_binaryType']=_0xda1db4[0x0],this[_0x33a96a(0x1eb)]=0x3ee,this[_0x33a96a(0x394)]=!0x1,this[_0x33a96a(0x307)]=!0x1,this[_0x33a96a(0x21f)]=_0x1d9e41,this['_closeTimer']=null,this[_0x33a96a(0x210)]=!0x1,this[_0x33a96a(0x284)]={},this[_0x33a96a(0x2b6)]=!0x1,this['_protocol']='',this[_0x33a96a(0x38e)]=_0x637591[_0x33a96a(0x263)],this['_receiver']=null,this[_0x33a96a(0x340)]=null,this[_0x33a96a(0x333)]=null,_0x1d4bc8!==null?(this[_0x33a96a(0x341)]=0x0,this['_isServer']=!0x1,this[_0x33a96a(0x3a0)]=0x0,_0x4dbd4a===void 0x0?_0x4dbd4a=[]:Array[_0x33a96a(0x278)](_0x4dbd4a)||(typeof _0x4dbd4a==_0x33a96a(0x38c)&&_0x4dbd4a!==null?(_0x577cce=_0x4dbd4a,_0x4dbd4a=[]):_0x4dbd4a=[_0x4dbd4a]),_0x302f45(this,_0x1d4bc8,_0x4dbd4a,_0x577cce)):(this[_0x33a96a(0x25f)]=_0x577cce['autoPong'],this[_0x33a96a(0x26e)]=!0x0);}get[_0x37a8ae(0x2be)](){const _0x155cbe=_0x37a8ae;return this[_0x155cbe(0x236)];}set[_0x37a8ae(0x2be)](_0x5ea620){const _0x32098d=_0x37a8ae;_0xda1db4['includes'](_0x5ea620)&&(this['_binaryType']=_0x5ea620,this[_0x32098d(0x33a)]&&(this[_0x32098d(0x33a)][_0x32098d(0x236)]=_0x5ea620));}get[_0x37a8ae(0x269)](){const _0x320b5d=_0x37a8ae;return this[_0x320b5d(0x333)]?this[_0x320b5d(0x333)][_0x320b5d(0x2ad)]['length']+this[_0x320b5d(0x340)][_0x320b5d(0x2d1)]:this[_0x320b5d(0x341)];}get[_0x37a8ae(0x33b)](){const _0x2abe6b=_0x37a8ae;return Object['keys'](this[_0x2abe6b(0x284)])[_0x2abe6b(0x1f6)]();}get['isPaused'](){return this['_paused'];}get[_0x37a8ae(0x208)](){return null;}get[_0x37a8ae(0x200)](){return null;}get[_0x37a8ae(0x262)](){return null;}get['onmessage'](){return null;}get[_0x37a8ae(0x29b)](){const _0x42bd81=_0x37a8ae;return this[_0x42bd81(0x282)];}get['readyState'](){const _0x2a14d2=_0x37a8ae;return this[_0x2a14d2(0x38e)];}get[_0x37a8ae(0x354)](){return this['_url'];}[_0x37a8ae(0x38d)](_0x527759,_0x2cc9d7,_0x2f1920){const _0x910710=_0x37a8ae,_0x67ebf2=new _0xbbebf1({'allowSynchronousEvents':_0x2f1920['allowSynchronousEvents'],'binaryType':this[_0x910710(0x2be)],'extensions':this[_0x910710(0x284)],'isServer':this['_isServer'],'maxPayload':_0x2f1920[_0x910710(0x226)],'skipUTF8Validation':_0x2f1920[_0x910710(0x1ff)]}),_0x108320=new _0x20c64f(_0x527759,this[_0x910710(0x284)],_0x2f1920[_0x910710(0x1f0)]);this[_0x910710(0x33a)]=_0x67ebf2,this[_0x910710(0x340)]=_0x108320,this[_0x910710(0x333)]=_0x527759,_0x67ebf2[_0x5db769]=this,_0x108320[_0x5db769]=this,_0x527759[_0x5db769]=this,_0x67ebf2['on'](_0x910710(0x1f4),_0x5851ca),_0x67ebf2['on'](_0x910710(0x20c),_0x1128e6),_0x67ebf2['on'](_0x910710(0x2cc),_0x3df432),_0x67ebf2['on'](_0x910710(0x39e),_0x40fa54),_0x67ebf2['on'](_0x910710(0x1e3),_0x1a0db4),_0x67ebf2['on'](_0x910710(0x27f),_0x48a7d9),_0x108320[_0x910710(0x200)]=_0x581f49,_0x527759['setTimeout']&&_0x527759[_0x910710(0x1f3)](0x0),_0x527759[_0x910710(0x34c)]&&_0x527759['setNoDelay'](),_0x2cc9d7[_0x910710(0x35a)]>0x0&&_0x527759['unshift'](_0x2cc9d7),_0x527759['on']('close',_0x512943),_0x527759['on'](_0x910710(0x385),_0x4bef7b),_0x527759['on']('end',_0x2eea67),_0x527759['on'](_0x910710(0x2cc),_0x556f12),this[_0x910710(0x38e)]=_0x637591['OPEN'],this[_0x910710(0x392)]('open');}[_0x37a8ae(0x3a9)](){const _0x2b21bb=_0x37a8ae;if(!this[_0x2b21bb(0x333)]){this[_0x2b21bb(0x38e)]=_0x637591[_0x2b21bb(0x224)],this[_0x2b21bb(0x392)](_0x2b21bb(0x304),this[_0x2b21bb(0x1eb)],this[_0x2b21bb(0x21f)]);return;}this[_0x2b21bb(0x284)][_0x89ed0f[_0x2b21bb(0x288)]]&&this[_0x2b21bb(0x284)][_0x89ed0f[_0x2b21bb(0x288)]][_0x2b21bb(0x37f)](),this[_0x2b21bb(0x33a)]['removeAllListeners'](),this[_0x2b21bb(0x38e)]=_0x637591['CLOSED'],this[_0x2b21bb(0x392)](_0x2b21bb(0x304),this[_0x2b21bb(0x1eb)],this[_0x2b21bb(0x21f)]);}[_0x37a8ae(0x304)](_0x25bb5e,_0xc788f7){const _0x2e1d10=_0x37a8ae;if(this[_0x2e1d10(0x26c)]!==_0x637591['CLOSED']){if(this[_0x2e1d10(0x26c)]===_0x637591['CONNECTING']){_0x22357c(this,this[_0x2e1d10(0x1e7)],_0x2e1d10(0x2de));return;}if(this[_0x2e1d10(0x26c)]===_0x637591[_0x2e1d10(0x2a6)]){this[_0x2e1d10(0x307)]&&(this[_0x2e1d10(0x394)]||this[_0x2e1d10(0x33a)][_0x2e1d10(0x2ad)][_0x2e1d10(0x323)])&&this[_0x2e1d10(0x333)]['end']();return;}this['_readyState']=_0x637591['CLOSING'],this['_sender']['close'](_0x25bb5e,_0xc788f7,!this[_0x2e1d10(0x26e)],_0x15292d=>{const _0x5dac00=_0x2e1d10;_0x15292d||(this[_0x5dac00(0x307)]=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x5dac00(0x2ad)]['errorEmitted'])&&this[_0x5dac00(0x333)]['end']());}),_0x15560b(this);}}[_0x37a8ae(0x221)](){const _0x27b95c=_0x37a8ae;this[_0x27b95c(0x26c)]===_0x637591[_0x27b95c(0x263)]||this[_0x27b95c(0x26c)]===_0x637591[_0x27b95c(0x224)]||(this[_0x27b95c(0x2b6)]=!0x0,this['_socket']['pause']());}[_0x37a8ae(0x1e3)](_0x7cf970,_0x212bcc,_0xd62eea){const _0x2084a1=_0x37a8ae;if(this[_0x2084a1(0x26c)]===_0x637591[_0x2084a1(0x263)])throw new Error(_0x2084a1(0x36e));if(typeof _0x7cf970==_0x2084a1(0x26d)?(_0xd62eea=_0x7cf970,_0x7cf970=_0x212bcc=void 0x0):typeof _0x212bcc==_0x2084a1(0x26d)&&(_0xd62eea=_0x212bcc,_0x212bcc=void 0x0),typeof _0x7cf970==_0x2084a1(0x2c6)&&(_0x7cf970=_0x7cf970[_0x2084a1(0x287)]()),this[_0x2084a1(0x26c)]!==_0x637591[_0x2084a1(0x2ee)]){_0x541883(this,_0x7cf970,_0xd62eea);return;}_0x212bcc===void 0x0&&(_0x212bcc=!this['_isServer']),this[_0x2084a1(0x340)][_0x2084a1(0x1e3)](_0x7cf970||_0x1d9e41,_0x212bcc,_0xd62eea);}[_0x37a8ae(0x27f)](_0x16d95d,_0x2cf274,_0x45ffda){const _0x3bc3df=_0x37a8ae;if(this['readyState']===_0x637591[_0x3bc3df(0x263)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16d95d==_0x3bc3df(0x26d)?(_0x45ffda=_0x16d95d,_0x16d95d=_0x2cf274=void 0x0):typeof _0x2cf274==_0x3bc3df(0x26d)&&(_0x45ffda=_0x2cf274,_0x2cf274=void 0x0),typeof _0x16d95d==_0x3bc3df(0x2c6)&&(_0x16d95d=_0x16d95d[_0x3bc3df(0x287)]()),this[_0x3bc3df(0x26c)]!==_0x637591[_0x3bc3df(0x2ee)]){_0x541883(this,_0x16d95d,_0x45ffda);return;}_0x2cf274===void 0x0&&(_0x2cf274=!this[_0x3bc3df(0x26e)]),this[_0x3bc3df(0x340)]['pong'](_0x16d95d||_0x1d9e41,_0x2cf274,_0x45ffda);}[_0x37a8ae(0x20a)](){const _0x2ced46=_0x37a8ae;this[_0x2ced46(0x26c)]===_0x637591[_0x2ced46(0x263)]||this[_0x2ced46(0x26c)]===_0x637591['CLOSED']||(this['_paused']=!0x1,this[_0x2ced46(0x33a)][_0x2ced46(0x2ad)][_0x2ced46(0x336)]||this[_0x2ced46(0x333)][_0x2ced46(0x20a)]());}['send'](_0x246eb5,_0x4bba81,_0x29ebd9){const _0x20f6f5=_0x37a8ae;if(this[_0x20f6f5(0x26c)]===_0x637591[_0x20f6f5(0x263)])throw new Error(_0x20f6f5(0x36e));if(typeof _0x4bba81==_0x20f6f5(0x26d)&&(_0x29ebd9=_0x4bba81,_0x4bba81={}),typeof _0x246eb5==_0x20f6f5(0x2c6)&&(_0x246eb5=_0x246eb5[_0x20f6f5(0x287)]()),this[_0x20f6f5(0x26c)]!==_0x637591['OPEN']){_0x541883(this,_0x246eb5,_0x29ebd9);return;}const _0x549fb4={'binary':typeof _0x246eb5!=_0x20f6f5(0x2f2),'mask':!this[_0x20f6f5(0x26e)],'compress':!0x0,'fin':!0x0,..._0x4bba81};this[_0x20f6f5(0x284)][_0x89ed0f[_0x20f6f5(0x288)]]||(_0x549fb4[_0x20f6f5(0x1ee)]=!0x1),this[_0x20f6f5(0x340)][_0x20f6f5(0x343)](_0x246eb5||_0x1d9e41,_0x549fb4,_0x29ebd9);}[_0x37a8ae(0x36b)](){const _0x180b63=_0x37a8ae;if(this[_0x180b63(0x26c)]!==_0x637591[_0x180b63(0x224)]){if(this['readyState']===_0x637591[_0x180b63(0x263)]){_0x22357c(this,this['_req'],_0x180b63(0x2de));return;}this['_socket']&&(this[_0x180b63(0x38e)]=_0x637591['CLOSING'],this[_0x180b63(0x333)]['destroy']());}}}Object[_0x37a8ae(0x302)](_0x637591,_0x37a8ae(0x263),{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)](_0x37a8ae(0x263))}),Object[_0x37a8ae(0x302)](_0x637591[_0x37a8ae(0x2cd)],'CONNECTING',{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)](_0x37a8ae(0x263))}),Object['defineProperty'](_0x637591,'OPEN',{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)](_0x37a8ae(0x2ee))}),Object[_0x37a8ae(0x302)](_0x637591[_0x37a8ae(0x2cd)],_0x37a8ae(0x2ee),{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)]('OPEN')}),Object[_0x37a8ae(0x302)](_0x637591,_0x37a8ae(0x2a6),{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)](_0x37a8ae(0x2a6))}),Object[_0x37a8ae(0x302)](_0x637591[_0x37a8ae(0x2cd)],_0x37a8ae(0x2a6),{'enumerable':!0x0,'value':_0xf86332[_0x37a8ae(0x28a)]('CLOSING')}),Object[_0x37a8ae(0x302)](_0x637591,_0x37a8ae(0x224),{'enumerable':!0x0,'value':_0xf86332['indexOf'](_0x37a8ae(0x224))}),Object[_0x37a8ae(0x302)](_0x637591[_0x37a8ae(0x2cd)],_0x37a8ae(0x224),{'enumerable':!0x0,'value':_0xf86332['indexOf']('CLOSED')}),[_0x37a8ae(0x2be),_0x37a8ae(0x269),'extensions',_0x37a8ae(0x2c0),_0x37a8ae(0x29b),_0x37a8ae(0x26c),_0x37a8ae(0x354)][_0x37a8ae(0x1dc)](_0x1aedd6=>{const _0x457f2a=_0x37a8ae;Object[_0x457f2a(0x302)](_0x637591[_0x457f2a(0x2cd)],_0x1aedd6,{'enumerable':!0x0});}),[_0x37a8ae(0x2c9),_0x37a8ae(0x2cc),_0x37a8ae(0x304),_0x37a8ae(0x39e)][_0x37a8ae(0x1dc)](_0x5e4d67=>{const _0x7b754=_0x37a8ae;Object[_0x7b754(0x302)](_0x637591[_0x7b754(0x2cd)],'on'+_0x5e4d67,{'enumerable':!0x0,'get'(){for(const _0x3e27a5 of this['listeners'](_0x5e4d67))if(_0x3e27a5[_0x562084])return _0x3e27a5[_0x27ecee];return null;},'set'(_0x4e77ec){const _0x5884d2=_0x7b754;for(const _0x1151a6 of this[_0x5884d2(0x2c8)](_0x5e4d67))if(_0x1151a6[_0x562084]){this[_0x5884d2(0x1ef)](_0x5e4d67,_0x1151a6);break;}typeof _0x4e77ec==_0x5884d2(0x26d)&&this[_0x5884d2(0x30f)](_0x5e4d67,_0x4e77ec,{[_0x562084]:!0x0});}});}),_0x637591[_0x37a8ae(0x2cd)]['addEventListener']=_0x181630,_0x637591[_0x37a8ae(0x2cd)][_0x37a8ae(0x379)]=_0x5b4b05,we=_0x637591;function _0x302f45(_0x4fe1ca,_0x2e71f2,_0x98340,_0x37913d){const _0x44e9d3=_0x37a8ae,_0x25c3ba={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x54fedd[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x37913d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x44e9d3(0x367),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4fe1ca[_0x44e9d3(0x25f)]=_0x25c3ba[_0x44e9d3(0x276)],!_0x54fedd[_0x44e9d3(0x2cb)](_0x25c3ba['protocolVersion']))throw new RangeError(_0x44e9d3(0x30b)+_0x25c3ba[_0x44e9d3(0x345)]+_0x44e9d3(0x230)+_0x54fedd['join'](',\x20')+')');let _0x31def8;if(_0x2e71f2 instanceof _0x2ba6a5)_0x31def8=_0x2e71f2;else try{_0x31def8=new _0x2ba6a5(_0x2e71f2);}catch{throw new SyntaxError(_0x44e9d3(0x38a)+_0x2e71f2);}_0x31def8[_0x44e9d3(0x29b)]===_0x44e9d3(0x321)?_0x31def8[_0x44e9d3(0x29b)]='ws:':_0x31def8[_0x44e9d3(0x29b)]==='https:'&&(_0x31def8['protocol']=_0x44e9d3(0x258)),_0x4fe1ca[_0x44e9d3(0x32d)]=_0x31def8[_0x44e9d3(0x3a2)];const _0x417dd1=_0x31def8[_0x44e9d3(0x29b)]===_0x44e9d3(0x258),_0x39cdcc=_0x31def8[_0x44e9d3(0x29b)]===_0x44e9d3(0x251);let _0x36f0a1;if(_0x31def8['protocol']!==_0x44e9d3(0x2fd)&&!_0x417dd1&&!_0x39cdcc?_0x36f0a1=_0x44e9d3(0x35e):_0x39cdcc&&!_0x31def8[_0x44e9d3(0x2f9)]?_0x36f0a1=_0x44e9d3(0x3a6):_0x31def8['hash']&&(_0x36f0a1='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x36f0a1){const _0x2ebc2a=new SyntaxError(_0x36f0a1);if(_0x4fe1ca[_0x44e9d3(0x3a0)]===0x0)throw _0x2ebc2a;_0x11c916(_0x4fe1ca,_0x2ebc2a);return;}const _0x67fbfe=_0x417dd1?0x1bb:0x50,_0x4be2e5=_0x3488a2(0x10)[_0x44e9d3(0x287)](_0x44e9d3(0x2dd)),_0x3532af=_0x417dd1?_0xb2e735['request']:_0x3966ee[_0x44e9d3(0x330)],_0x3eab15=new Set();let _0x3b26d2;if(_0x25c3ba['createConnection']=_0x25c3ba[_0x44e9d3(0x344)]||(_0x417dd1?_0x555945:_0x26c9bb),_0x25c3ba[_0x44e9d3(0x246)]=_0x25c3ba[_0x44e9d3(0x246)]||_0x67fbfe,_0x25c3ba[_0x44e9d3(0x1fc)]=_0x31def8['port']||_0x67fbfe,_0x25c3ba[_0x44e9d3(0x2ac)]=_0x31def8[_0x44e9d3(0x25e)]['startsWith']('[')?_0x31def8[_0x44e9d3(0x25e)]['slice'](0x1,-0x1):_0x31def8[_0x44e9d3(0x25e)],_0x25c3ba[_0x44e9d3(0x368)]={..._0x25c3ba['headers'],'Sec-WebSocket-Version':_0x25c3ba[_0x44e9d3(0x345)],'Sec-WebSocket-Key':_0x4be2e5,'Connection':_0x44e9d3(0x329),'Upgrade':_0x44e9d3(0x35d)},_0x25c3ba[_0x44e9d3(0x31a)]=_0x31def8[_0x44e9d3(0x2f9)]+_0x31def8[_0x44e9d3(0x32f)],_0x25c3ba['timeout']=_0x25c3ba[_0x44e9d3(0x29a)],_0x25c3ba['perMessageDeflate']&&(_0x3b26d2=new _0x89ed0f(_0x25c3ba[_0x44e9d3(0x2eb)]!==!0x0?_0x25c3ba[_0x44e9d3(0x2eb)]:{},!0x1,_0x25c3ba[_0x44e9d3(0x226)]),_0x25c3ba[_0x44e9d3(0x368)][_0x44e9d3(0x21b)]=_0x47acc9({[_0x89ed0f[_0x44e9d3(0x288)]]:_0x3b26d2[_0x44e9d3(0x301)]()})),_0x98340[_0x44e9d3(0x35a)]){for(const _0x25649a of _0x98340){if(typeof _0x25649a!='string'||!_0x190353[_0x44e9d3(0x306)](_0x25649a)||_0x3eab15[_0x44e9d3(0x2bd)](_0x25649a))throw new SyntaxError(_0x44e9d3(0x372));_0x3eab15['add'](_0x25649a);}_0x25c3ba[_0x44e9d3(0x368)]['Sec-WebSocket-Protocol']=_0x98340[_0x44e9d3(0x1f6)](',');}if(_0x25c3ba[_0x44e9d3(0x2fc)]&&(_0x25c3ba[_0x44e9d3(0x345)]<0xd?_0x25c3ba['headers'][_0x44e9d3(0x266)]=_0x25c3ba[_0x44e9d3(0x2fc)]:_0x25c3ba[_0x44e9d3(0x368)][_0x44e9d3(0x242)]=_0x25c3ba[_0x44e9d3(0x2fc)]),(_0x31def8['username']||_0x31def8[_0x44e9d3(0x388)])&&(_0x25c3ba[_0x44e9d3(0x324)]=_0x31def8[_0x44e9d3(0x2da)]+':'+_0x31def8[_0x44e9d3(0x388)]),_0x39cdcc){const _0x1647cd=_0x25c3ba[_0x44e9d3(0x31a)][_0x44e9d3(0x2d0)](':');_0x25c3ba['socketPath']=_0x1647cd[0x0],_0x25c3ba['path']=_0x1647cd[0x1];}let _0x11e468;if(_0x25c3ba['followRedirects']){if(_0x4fe1ca[_0x44e9d3(0x3a0)]===0x0){_0x4fe1ca['_originalIpc']=_0x39cdcc,_0x4fe1ca[_0x44e9d3(0x2e1)]=_0x417dd1,_0x4fe1ca[_0x44e9d3(0x1dd)]=_0x39cdcc?_0x25c3ba['socketPath']:_0x31def8[_0x44e9d3(0x2ac)];const _0xe2e894=_0x37913d&&_0x37913d[_0x44e9d3(0x368)];if(_0x37913d={..._0x37913d,'headers':{}},_0xe2e894){for(const [_0x42515b,_0x2f782d]of Object[_0x44e9d3(0x254)](_0xe2e894))_0x37913d['headers'][_0x42515b['toLowerCase']()]=_0x2f782d;}}else{if(_0x4fe1ca[_0x44e9d3(0x2e7)](_0x44e9d3(0x285))===0x0){const _0x4257c0=_0x39cdcc?_0x4fe1ca[_0x44e9d3(0x20d)]?_0x25c3ba['socketPath']===_0x4fe1ca[_0x44e9d3(0x1dd)]:!0x1:_0x4fe1ca[_0x44e9d3(0x20d)]?!0x1:_0x31def8[_0x44e9d3(0x2ac)]===_0x4fe1ca['_originalHostOrSocketPath'];(!_0x4257c0||_0x4fe1ca[_0x44e9d3(0x2e1)]&&!_0x417dd1)&&(delete _0x25c3ba['headers'][_0x44e9d3(0x355)],delete _0x25c3ba[_0x44e9d3(0x368)]['cookie'],_0x4257c0||delete _0x25c3ba[_0x44e9d3(0x368)][_0x44e9d3(0x2ac)],_0x25c3ba[_0x44e9d3(0x324)]=void 0x0);}}_0x25c3ba[_0x44e9d3(0x324)]&&!_0x37913d[_0x44e9d3(0x368)][_0x44e9d3(0x355)]&&(_0x37913d['headers'][_0x44e9d3(0x355)]=_0x44e9d3(0x2fa)+Buffer[_0x44e9d3(0x2b7)](_0x25c3ba[_0x44e9d3(0x324)])[_0x44e9d3(0x287)]('base64')),_0x11e468=_0x4fe1ca[_0x44e9d3(0x1e7)]=_0x3532af(_0x25c3ba),_0x4fe1ca[_0x44e9d3(0x3a0)]&&_0x4fe1ca[_0x44e9d3(0x392)]('redirect',_0x4fe1ca[_0x44e9d3(0x354)],_0x11e468);}else _0x11e468=_0x4fe1ca[_0x44e9d3(0x1e7)]=_0x3532af(_0x25c3ba);_0x25c3ba[_0x44e9d3(0x28d)]&&_0x11e468['on'](_0x44e9d3(0x28d),()=>{_0x22357c(_0x4fe1ca,_0x11e468,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x11e468['on'](_0x44e9d3(0x2cc),_0x25d38b=>{const _0x41717c=_0x44e9d3;_0x11e468===null||_0x11e468[_0x2c8b8a]||(_0x11e468=_0x4fe1ca[_0x41717c(0x1e7)]=null,_0x11c916(_0x4fe1ca,_0x25d38b));}),_0x11e468['on'](_0x44e9d3(0x28b),_0x300b23=>{const _0x5ccfba=_0x44e9d3,_0xa5cda8=_0x300b23[_0x5ccfba(0x368)][_0x5ccfba(0x2e9)],_0x4a24cb=_0x300b23[_0x5ccfba(0x227)];if(_0xa5cda8&&_0x25c3ba['followRedirects']&&_0x4a24cb>=0x12c&&_0x4a24cb<0x190){if(++_0x4fe1ca['_redirects']>_0x25c3ba[_0x5ccfba(0x38f)]){_0x22357c(_0x4fe1ca,_0x11e468,_0x5ccfba(0x264));return;}_0x11e468[_0x5ccfba(0x1ea)]();let _0x7ffa91;try{_0x7ffa91=new _0x2ba6a5(_0xa5cda8,_0x2e71f2);}catch{const _0x5927f4=new SyntaxError(_0x5ccfba(0x38a)+_0xa5cda8);_0x11c916(_0x4fe1ca,_0x5927f4);return;}_0x302f45(_0x4fe1ca,_0x7ffa91,_0x98340,_0x37913d);}else _0x4fe1ca[_0x5ccfba(0x392)]('unexpected-response',_0x11e468,_0x300b23)||_0x22357c(_0x4fe1ca,_0x11e468,_0x5ccfba(0x32c)+_0x300b23[_0x5ccfba(0x227)]);}),_0x11e468['on']('upgrade',(_0x2a605a,_0x321ed3,_0x132352)=>{const _0x70903b=_0x44e9d3;if(_0x4fe1ca['emit'](_0x70903b(0x386),_0x2a605a),_0x4fe1ca[_0x70903b(0x26c)]!==_0x637591[_0x70903b(0x263)])return;_0x11e468=_0x4fe1ca[_0x70903b(0x1e7)]=null;const _0x38a270=_0x2a605a['headers']['upgrade'];if(_0x38a270===void 0x0||_0x38a270['toLowerCase']()!==_0x70903b(0x35d)){_0x22357c(_0x4fe1ca,_0x321ed3,_0x70903b(0x34b));return;}const _0x55c9c4=_0x321552(_0x70903b(0x2ec))[_0x70903b(0x280)](_0x4be2e5+_0x123903)[_0x70903b(0x35b)](_0x70903b(0x2dd));if(_0x2a605a[_0x70903b(0x368)][_0x70903b(0x245)]!==_0x55c9c4){_0x22357c(_0x4fe1ca,_0x321ed3,_0x70903b(0x3ab));return;}const _0x3fddbf=_0x2a605a['headers'][_0x70903b(0x23d)];let _0x36d9be;if(_0x3fddbf!==void 0x0?_0x3eab15['size']?_0x3eab15[_0x70903b(0x2bd)](_0x3fddbf)||(_0x36d9be=_0x70903b(0x261)):_0x36d9be=_0x70903b(0x300):_0x3eab15[_0x70903b(0x339)]&&(_0x36d9be=_0x70903b(0x326)),_0x36d9be){_0x22357c(_0x4fe1ca,_0x321ed3,_0x36d9be);return;}_0x3fddbf&&(_0x4fe1ca['_protocol']=_0x3fddbf);const _0xa642db=_0x2a605a['headers'][_0x70903b(0x24e)];if(_0xa642db!==void 0x0){if(!_0x3b26d2){_0x22357c(_0x4fe1ca,_0x321ed3,_0x70903b(0x33c));return;}let _0x4261e9;try{_0x4261e9=_0x92cb85(_0xa642db);}catch{_0x22357c(_0x4fe1ca,_0x321ed3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xfd132a=Object[_0x70903b(0x1ed)](_0x4261e9);if(_0xfd132a['length']!==0x1||_0xfd132a[0x0]!==_0x89ed0f[_0x70903b(0x288)]){_0x22357c(_0x4fe1ca,_0x321ed3,_0x70903b(0x363));return;}try{_0x3b26d2['accept'](_0x4261e9[_0x89ed0f['extensionName']]);}catch{_0x22357c(_0x4fe1ca,_0x321ed3,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4fe1ca[_0x70903b(0x284)][_0x89ed0f['extensionName']]=_0x3b26d2;}_0x4fe1ca['setSocket'](_0x321ed3,_0x132352,{'allowSynchronousEvents':_0x25c3ba['allowSynchronousEvents'],'generateMask':_0x25c3ba['generateMask'],'maxPayload':_0x25c3ba[_0x70903b(0x226)],'skipUTF8Validation':_0x25c3ba[_0x70903b(0x1ff)]});}),_0x25c3ba['finishRequest']?_0x25c3ba['finishRequest'](_0x11e468,_0x4fe1ca):_0x11e468[_0x44e9d3(0x267)]();}function _0x11c916(_0x155a96,_0x36d123){const _0x722eda=_0x37a8ae;_0x155a96[_0x722eda(0x38e)]=_0x637591['CLOSING'],_0x155a96['_errorEmitted']=!0x0,_0x155a96[_0x722eda(0x392)](_0x722eda(0x2cc),_0x36d123),_0x155a96[_0x722eda(0x3a9)]();}function _0x26c9bb(_0x41fa87){const _0x54a7b5=_0x37a8ae;return _0x41fa87[_0x54a7b5(0x31a)]=_0x41fa87[_0x54a7b5(0x2a7)],_0x24d413[_0x54a7b5(0x387)](_0x41fa87);}function _0x555945(_0x3fe1ca){const _0x592e16=_0x37a8ae;return _0x3fe1ca['path']=void 0x0,!_0x3fe1ca[_0x592e16(0x293)]&&_0x3fe1ca[_0x592e16(0x293)]!==''&&(_0x3fe1ca[_0x592e16(0x293)]=_0x24d413[_0x592e16(0x3aa)](_0x3fe1ca[_0x592e16(0x2ac)])?'':_0x3fe1ca[_0x592e16(0x2ac)]),_0x2bc716[_0x592e16(0x387)](_0x3fe1ca);}function _0x22357c(_0x2a7e10,_0x51d34a,_0x53af08){const _0x45dba9=_0x37a8ae;_0x2a7e10['_readyState']=_0x637591[_0x45dba9(0x2a6)];const _0x35416f=new Error(_0x53af08);Error[_0x45dba9(0x2d2)](_0x35416f,_0x22357c),_0x51d34a[_0x45dba9(0x27c)]?(_0x51d34a[_0x2c8b8a]=!0x0,_0x51d34a[_0x45dba9(0x1ea)](),_0x51d34a[_0x45dba9(0x223)]&&!_0x51d34a[_0x45dba9(0x223)][_0x45dba9(0x34a)]&&_0x51d34a['socket'][_0x45dba9(0x399)](),process['nextTick'](_0x11c916,_0x2a7e10,_0x35416f)):(_0x51d34a[_0x45dba9(0x399)](_0x35416f),_0x51d34a['once'](_0x45dba9(0x2cc),_0x2a7e10[_0x45dba9(0x392)]['bind'](_0x2a7e10,'error')),_0x51d34a[_0x45dba9(0x2df)](_0x45dba9(0x304),_0x2a7e10[_0x45dba9(0x3a9)]['bind'](_0x2a7e10)));}function _0x541883(_0x213ebe,_0x2fcc10,_0x5af15d){const _0x12dc09=_0x37a8ae;if(_0x2fcc10){const _0x256d9f=_0x2f2897(_0x2fcc10)?_0x2fcc10[_0x12dc09(0x339)]:_0x84c26e(_0x2fcc10)[_0x12dc09(0x35a)];_0x213ebe[_0x12dc09(0x333)]?_0x213ebe[_0x12dc09(0x340)][_0x12dc09(0x2d1)]+=_0x256d9f:_0x213ebe['_bufferedAmount']+=_0x256d9f;}if(_0x5af15d){const _0x5ad286=new Error(_0x12dc09(0x312)+_0x213ebe['readyState']+'\x20('+_0xf86332[_0x213ebe['readyState']]+')');process['nextTick'](_0x5af15d,_0x5ad286);}}function _0x5851ca(_0x557128,_0x3882cd){const _0x4e0da4=_0x37a8ae,_0x22d79e=this[_0x5db769];_0x22d79e[_0x4e0da4(0x394)]=!0x0,_0x22d79e['_closeMessage']=_0x3882cd,_0x22d79e[_0x4e0da4(0x1eb)]=_0x557128,_0x22d79e[_0x4e0da4(0x333)][_0x5db769]!==void 0x0&&(_0x22d79e[_0x4e0da4(0x333)][_0x4e0da4(0x1ef)]('data',_0x4bef7b),process[_0x4e0da4(0x29e)](_0x46132b,_0x22d79e[_0x4e0da4(0x333)]),_0x557128===0x3ed?_0x22d79e['close']():_0x22d79e[_0x4e0da4(0x304)](_0x557128,_0x3882cd));}function _0x1128e6(){const _0x565f87=_0x37a8ae,_0x30e521=this[_0x5db769];_0x30e521[_0x565f87(0x2c0)]||_0x30e521[_0x565f87(0x333)][_0x565f87(0x20a)]();}function _0x3df432(_0x15387b){const _0x92a3f4=_0x37a8ae,_0x2ab35e=this[_0x5db769];_0x2ab35e[_0x92a3f4(0x333)][_0x5db769]!==void 0x0&&(_0x2ab35e[_0x92a3f4(0x333)][_0x92a3f4(0x1ef)](_0x92a3f4(0x385),_0x4bef7b),process[_0x92a3f4(0x29e)](_0x46132b,_0x2ab35e[_0x92a3f4(0x333)]),_0x2ab35e['close'](_0x15387b[_0x593d54])),_0x2ab35e[_0x92a3f4(0x210)]||(_0x2ab35e[_0x92a3f4(0x210)]=!0x0,_0x2ab35e[_0x92a3f4(0x392)](_0x92a3f4(0x2cc),_0x15387b));}function _0x1476a6(){const _0x5d3fed=_0x37a8ae;this[_0x5db769][_0x5d3fed(0x3a9)]();}function _0x40fa54(_0x59f1b1,_0x23172a){const _0x72c60e=_0x37a8ae;this[_0x5db769][_0x72c60e(0x392)]('message',_0x59f1b1,_0x23172a);}function _0x1a0db4(_0x302372){const _0x5b2a13=_0x37a8ae,_0x2c9898=this[_0x5db769];_0x2c9898[_0x5b2a13(0x25f)]&&_0x2c9898[_0x5b2a13(0x27f)](_0x302372,!this[_0x5b2a13(0x26e)],_0x46b379),_0x2c9898[_0x5b2a13(0x392)](_0x5b2a13(0x1e3),_0x302372);}function _0x48a7d9(_0x7d7b30){const _0x4ed8b5=_0x37a8ae;this[_0x5db769][_0x4ed8b5(0x392)](_0x4ed8b5(0x27f),_0x7d7b30);}function _0x46132b(_0x30819b){const _0x398855=_0x37a8ae;_0x30819b[_0x398855(0x20a)]();}function _0x581f49(_0x3131cf){const _0x346bfe=_0x37a8ae,_0x33ec0d=this[_0x5db769];_0x33ec0d[_0x346bfe(0x26c)]!==_0x637591['CLOSED']&&(_0x33ec0d[_0x346bfe(0x26c)]===_0x637591['OPEN']&&(_0x33ec0d[_0x346bfe(0x38e)]=_0x637591[_0x346bfe(0x2a6)],_0x15560b(_0x33ec0d)),this[_0x346bfe(0x333)][_0x346bfe(0x267)](),_0x33ec0d[_0x346bfe(0x210)]||(_0x33ec0d[_0x346bfe(0x210)]=!0x0,_0x33ec0d[_0x346bfe(0x392)](_0x346bfe(0x2cc),_0x3131cf)));}function _0x15560b(_0x586300){const _0xd1ac39=_0x37a8ae;_0x586300[_0xd1ac39(0x2fb)]=setTimeout(_0x586300[_0xd1ac39(0x333)]['destroy'][_0xd1ac39(0x384)](_0x586300[_0xd1ac39(0x333)]),_0x4609f1);}function _0x512943(){const _0x482e4d=_0x37a8ae,_0x105fab=this[_0x5db769];this[_0x482e4d(0x1ef)](_0x482e4d(0x304),_0x512943),this['removeListener']('data',_0x4bef7b),this[_0x482e4d(0x1ef)](_0x482e4d(0x267),_0x2eea67),_0x105fab[_0x482e4d(0x38e)]=_0x637591[_0x482e4d(0x2a6)];let _0x1e750a;!this['_readableState'][_0x482e4d(0x391)]&&!_0x105fab[_0x482e4d(0x394)]&&!_0x105fab[_0x482e4d(0x33a)][_0x482e4d(0x2ad)][_0x482e4d(0x323)]&&(_0x1e750a=_0x105fab[_0x482e4d(0x333)]['read']())!==null&&_0x105fab['_receiver']['write'](_0x1e750a),_0x105fab[_0x482e4d(0x33a)]['end'](),this[_0x5db769]=void 0x0,clearTimeout(_0x105fab['_closeTimer']),_0x105fab[_0x482e4d(0x33a)]['_writableState'][_0x482e4d(0x37a)]||_0x105fab['_receiver'][_0x482e4d(0x2ad)]['errorEmitted']?_0x105fab[_0x482e4d(0x3a9)]():(_0x105fab['_receiver']['on'](_0x482e4d(0x2cc),_0x1476a6),_0x105fab[_0x482e4d(0x33a)]['on'](_0x482e4d(0x296),_0x1476a6));}function _0x4bef7b(_0x572af0){const _0x4c32a3=_0x37a8ae;this[_0x5db769][_0x4c32a3(0x33a)]['write'](_0x572af0)||this['pause']();}function _0x2eea67(){const _0x2b49da=_0x37a8ae,_0x49b7a5=this[_0x5db769];_0x49b7a5[_0x2b49da(0x38e)]=_0x637591[_0x2b49da(0x2a6)],_0x49b7a5[_0x2b49da(0x33a)]['end'](),this[_0x2b49da(0x267)]();}function _0x556f12(){const _0x20747e=_0x37a8ae,_0x39974c=this[_0x5db769];this[_0x20747e(0x1ef)](_0x20747e(0x2cc),_0x556f12),this['on'](_0x20747e(0x2cc),_0x46b379),_0x39974c&&(_0x39974c[_0x20747e(0x38e)]=_0x637591[_0x20747e(0x2a6)],this[_0x20747e(0x399)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5f57a2}=oe;function _0x511bd0(_0x1b13f3){const _0x5152d9=_0x3013;_0x1b13f3[_0x5152d9(0x392)](_0x5152d9(0x304));}function _0xda33d7(){const _0x561525=_0x3013;!this['destroyed']&&this['_writableState']['finished']&&this[_0x561525(0x399)]();}function _0x338c2d(_0x5de54f){const _0x4b3f7c=_0x3013;this[_0x4b3f7c(0x1ef)](_0x4b3f7c(0x2cc),_0x338c2d),this[_0x4b3f7c(0x399)](),this['listenerCount'](_0x4b3f7c(0x2cc))===0x0&&this['emit'](_0x4b3f7c(0x2cc),_0x5de54f);}function _0x5778bb(_0x53f697,_0x253b62){const _0x553b79=_0x3013;let _0xffe257=!0x0;const _0x43858b=new _0x5f57a2({..._0x253b62,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x53f697['on']('message',function(_0x49ca31,_0x467b75){const _0x1321df=_0x3013,_0x140995=!_0x467b75&&_0x43858b[_0x1321df(0x2e2)][_0x1321df(0x2f3)]?_0x49ca31[_0x1321df(0x287)]():_0x49ca31;_0x43858b[_0x1321df(0x1fe)](_0x140995)||_0x53f697[_0x1321df(0x221)]();}),_0x53f697[_0x553b79(0x2df)]('error',function(_0x1596e2){const _0x32e517=_0x553b79;_0x43858b[_0x32e517(0x34a)]||(_0xffe257=!0x1,_0x43858b[_0x32e517(0x399)](_0x1596e2));}),_0x53f697[_0x553b79(0x2df)](_0x553b79(0x304),function(){const _0x10aa29=_0x553b79;_0x43858b[_0x10aa29(0x34a)]||_0x43858b[_0x10aa29(0x1fe)](null);}),_0x43858b[_0x553b79(0x319)]=function(_0x4519aa,_0x5bf150){const _0x2a4f14=_0x553b79;if(_0x53f697['readyState']===_0x53f697['CLOSED']){_0x5bf150(_0x4519aa),process[_0x2a4f14(0x29e)](_0x511bd0,_0x43858b);return;}let _0x298e3b=!0x1;_0x53f697[_0x2a4f14(0x2df)](_0x2a4f14(0x2cc),function(_0x1a13d3){_0x298e3b=!0x0,_0x5bf150(_0x1a13d3);}),_0x53f697['once']('close',function(){const _0x260a7c=_0x2a4f14;_0x298e3b||_0x5bf150(_0x4519aa),process[_0x260a7c(0x29e)](_0x511bd0,_0x43858b);}),_0xffe257&&_0x53f697[_0x2a4f14(0x36b)]();},_0x43858b[_0x553b79(0x23b)]=function(_0x5d6547){const _0x4d7a81=_0x553b79;if(_0x53f697[_0x4d7a81(0x26c)]===_0x53f697['CONNECTING']){_0x53f697[_0x4d7a81(0x2df)](_0x4d7a81(0x2c9),function(){const _0x3a3cee=_0x4d7a81;_0x43858b[_0x3a3cee(0x23b)](_0x5d6547);});return;}_0x53f697[_0x4d7a81(0x333)]!==null&&(_0x53f697[_0x4d7a81(0x333)][_0x4d7a81(0x2ad)][_0x4d7a81(0x37a)]?(_0x5d6547(),_0x43858b[_0x4d7a81(0x2e2)][_0x4d7a81(0x391)]&&_0x43858b[_0x4d7a81(0x399)]()):(_0x53f697[_0x4d7a81(0x333)][_0x4d7a81(0x2df)](_0x4d7a81(0x296),function(){_0x5d6547();}),_0x53f697[_0x4d7a81(0x304)]()));},_0x43858b['_read']=function(){const _0x1c24fb=_0x553b79;_0x53f697[_0x1c24fb(0x2c0)]&&_0x53f697['resume']();},_0x43858b[_0x553b79(0x2b4)]=function(_0xe3487a,_0x28f0ac,_0x1da5c4){const _0x3a120d=_0x553b79;if(_0x53f697['readyState']===_0x53f697[_0x3a120d(0x263)]){_0x53f697[_0x3a120d(0x2df)]('open',function(){_0x43858b['_write'](_0xe3487a,_0x28f0ac,_0x1da5c4);});return;}_0x53f697[_0x3a120d(0x343)](_0xe3487a,_0x1da5c4);},_0x43858b['on'](_0x553b79(0x267),_0xda33d7),_0x43858b['on']('error',_0x338c2d),_0x43858b;}return Oe=_0x5778bb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x554534}=ae();function _0x200a15(_0x524d13){const _0xb8df3f=_0x3013,_0x3be0d3=new Set();let _0x4aebae=-0x1,_0x444017=-0x1,_0x152572=0x0;for(_0x152572;_0x152572<_0x524d13[_0xb8df3f(0x35a)];_0x152572++){const _0x1c3cda=_0x524d13[_0xb8df3f(0x334)](_0x152572);if(_0x444017===-0x1&&_0x554534[_0x1c3cda]===0x1)_0x4aebae===-0x1&&(_0x4aebae=_0x152572);else{if(_0x152572!==0x0&&(_0x1c3cda===0x20||_0x1c3cda===0x9))_0x444017===-0x1&&_0x4aebae!==-0x1&&(_0x444017=_0x152572);else{if(_0x1c3cda===0x2c){if(_0x4aebae===-0x1)throw new SyntaxError(_0xb8df3f(0x383)+_0x152572);_0x444017===-0x1&&(_0x444017=_0x152572);const _0x159f7b=_0x524d13[_0xb8df3f(0x218)](_0x4aebae,_0x444017);if(_0x3be0d3[_0xb8df3f(0x2bd)](_0x159f7b))throw new SyntaxError('The\x20\x22'+_0x159f7b+_0xb8df3f(0x2a1));_0x3be0d3[_0xb8df3f(0x23a)](_0x159f7b),_0x4aebae=_0x444017=-0x1;}else throw new SyntaxError(_0xb8df3f(0x383)+_0x152572);}}}if(_0x4aebae===-0x1||_0x444017!==-0x1)throw new SyntaxError(_0xb8df3f(0x347));const _0x1d9437=_0x524d13[_0xb8df3f(0x218)](_0x4aebae,_0x152572);if(_0x3be0d3[_0xb8df3f(0x2bd)](_0x1d9437))throw new SyntaxError(_0xb8df3f(0x33f)+_0x1d9437+_0xb8df3f(0x2a1));return _0x3be0d3['add'](_0x1d9437),_0x3be0d3;}return Ce={'parse':_0x200a15},Ce;}var Te,rt;function Ft(){const _0x29d444=_0x5beffb;if(rt)return Te;rt=0x1;const _0x20658=nt,_0x530d64=ot,{Duplex:_0x370dcd}=oe,{createHash:_0x176b3a}=Le,_0x31a1df=ct(),_0x58e862=he(),_0x4f5ac2=At(),_0x3bd35c=Pe(),{GUID:_0x2dccea,kWebSocket:_0x2c1af1}=H(),_0x2c1315=/^[+/0-9A-Za-z]{22}==$/,_0x49f9f6=0x0,_0x1b42d4=0x1,_0x4b145d=0x2;class _0x2b081b extends _0x20658{constructor(_0x4b909c,_0x201755){const _0x15749f=_0x3013;if(super(),_0x4b909c={'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':_0x3bd35c,..._0x4b909c},_0x4b909c['port']==null&&!_0x4b909c['server']&&!_0x4b909c[_0x15749f(0x238)]||_0x4b909c[_0x15749f(0x1fc)]!=null&&(_0x4b909c['server']||_0x4b909c[_0x15749f(0x238)])||_0x4b909c[_0x15749f(0x274)]&&_0x4b909c[_0x15749f(0x238)])throw new TypeError(_0x15749f(0x202));if(_0x4b909c[_0x15749f(0x1fc)]!=null?(this[_0x15749f(0x2cf)]=_0x530d64[_0x15749f(0x252)]((_0xfc66,_0x27dade)=>{const _0x388077=_0x15749f,_0x22c99e=_0x530d64[_0x388077(0x3a5)][0x1aa];_0x27dade[_0x388077(0x229)](0x1aa,{'Content-Length':_0x22c99e[_0x388077(0x35a)],'Content-Type':'text/plain'}),_0x27dade['end'](_0x22c99e);}),this['_server']['listen'](_0x4b909c[_0x15749f(0x1fc)],_0x4b909c[_0x15749f(0x2ac)],_0x4b909c[_0x15749f(0x29f)],_0x201755)):_0x4b909c[_0x15749f(0x274)]&&(this['_server']=_0x4b909c['server']),this[_0x15749f(0x2cf)]){const _0x10a597=this[_0x15749f(0x392)][_0x15749f(0x384)](this,_0x15749f(0x22c));this[_0x15749f(0x389)]=_0x4ebc16(this[_0x15749f(0x2cf)],{'listening':this[_0x15749f(0x392)][_0x15749f(0x384)](this,_0x15749f(0x2ae)),'error':this[_0x15749f(0x392)][_0x15749f(0x384)](this,_0x15749f(0x2cc)),'upgrade':(_0x1a0e0f,_0x4e8bd8,_0x1305b9)=>{this['handleUpgrade'](_0x1a0e0f,_0x4e8bd8,_0x1305b9,_0x10a597);}});}_0x4b909c[_0x15749f(0x2eb)]===!0x0&&(_0x4b909c[_0x15749f(0x2eb)]={}),_0x4b909c[_0x15749f(0x25d)]&&(this['clients']=new Set(),this[_0x15749f(0x308)]=!0x1),this['options']=_0x4b909c,this[_0x15749f(0x22d)]=_0x49f9f6;}[_0x29d444(0x255)](){const _0x6958e8=_0x29d444;if(this[_0x6958e8(0x2c2)][_0x6958e8(0x238)])throw new Error(_0x6958e8(0x217));return this[_0x6958e8(0x2cf)]?this[_0x6958e8(0x2cf)][_0x6958e8(0x255)]():null;}[_0x29d444(0x304)](_0xbc1e03){const _0xc9f422=_0x29d444;if(this[_0xc9f422(0x22d)]===_0x4b145d){_0xbc1e03&&this[_0xc9f422(0x2df)](_0xc9f422(0x304),()=>{const _0x41cff2=_0xc9f422;_0xbc1e03(new Error(_0x41cff2(0x3a1)));}),process[_0xc9f422(0x29e)](_0x327577,this);return;}if(_0xbc1e03&&this[_0xc9f422(0x2df)]('close',_0xbc1e03),this[_0xc9f422(0x22d)]!==_0x1b42d4){if(this[_0xc9f422(0x22d)]=_0x1b42d4,this[_0xc9f422(0x2c2)][_0xc9f422(0x238)]||this[_0xc9f422(0x2c2)][_0xc9f422(0x274)])this[_0xc9f422(0x2cf)]&&(this[_0xc9f422(0x389)](),this['_removeListeners']=this[_0xc9f422(0x2cf)]=null),this[_0xc9f422(0x2f6)]?this[_0xc9f422(0x2f6)][_0xc9f422(0x339)]?this[_0xc9f422(0x308)]=!0x0:process[_0xc9f422(0x29e)](_0x327577,this):process[_0xc9f422(0x29e)](_0x327577,this);else{const _0x1cdd8=this['_server'];this['_removeListeners'](),this['_removeListeners']=this[_0xc9f422(0x2cf)]=null,_0x1cdd8[_0xc9f422(0x304)](()=>{_0x327577(this);});}}}[_0x29d444(0x2ce)](_0xa425ab){const _0x5bbfc1=_0x29d444;if(this[_0x5bbfc1(0x2c2)]['path']){const _0x3dca76=_0xa425ab['url']['indexOf']('?');if((_0x3dca76!==-0x1?_0xa425ab[_0x5bbfc1(0x354)][_0x5bbfc1(0x218)](0x0,_0x3dca76):_0xa425ab[_0x5bbfc1(0x354)])!==this[_0x5bbfc1(0x2c2)]['path'])return!0x1;}return!0x0;}[_0x29d444(0x26b)](_0x202113,_0x86b3ec,_0x5c0e94,_0x7b9458){const _0x25ab5f=_0x29d444;_0x86b3ec['on'](_0x25ab5f(0x2cc),_0x2da4b7);const _0x3f13ce=_0x202113[_0x25ab5f(0x368)][_0x25ab5f(0x28e)],_0x537112=_0x202113[_0x25ab5f(0x368)][_0x25ab5f(0x386)],_0x2b727c=+_0x202113[_0x25ab5f(0x368)]['sec-websocket-version'];if(_0x202113[_0x25ab5f(0x1fb)]!==_0x25ab5f(0x367)){_0x5a7876(this,_0x202113,_0x86b3ec,0x195,_0x25ab5f(0x397));return;}if(_0x537112===void 0x0||_0x537112[_0x25ab5f(0x2f1)]()!=='websocket'){_0x5a7876(this,_0x202113,_0x86b3ec,0x190,_0x25ab5f(0x34b));return;}if(_0x3f13ce===void 0x0||!_0x2c1315[_0x25ab5f(0x306)](_0x3f13ce)){_0x5a7876(this,_0x202113,_0x86b3ec,0x190,_0x25ab5f(0x303));return;}if(_0x2b727c!==0x8&&_0x2b727c!==0xd){_0x5a7876(this,_0x202113,_0x86b3ec,0x190,_0x25ab5f(0x27b));return;}if(!this[_0x25ab5f(0x2ce)](_0x202113)){_0x148ad6(_0x86b3ec,0x190);return;}const _0x4b8c93=_0x202113[_0x25ab5f(0x368)][_0x25ab5f(0x23d)];let _0x3f9bc9=new Set();if(_0x4b8c93!==void 0x0)try{_0x3f9bc9=_0x4f5ac2[_0x25ab5f(0x2af)](_0x4b8c93);}catch{_0x5a7876(this,_0x202113,_0x86b3ec,0x190,_0x25ab5f(0x22e));return;}const _0x406b31=_0x202113[_0x25ab5f(0x368)]['sec-websocket-extensions'],_0x2edc77={};if(this[_0x25ab5f(0x2c2)][_0x25ab5f(0x2eb)]&&_0x406b31!==void 0x0){const _0x44b382=new _0x58e862(this[_0x25ab5f(0x2c2)][_0x25ab5f(0x2eb)],!0x0,this[_0x25ab5f(0x2c2)][_0x25ab5f(0x226)]);try{const _0x2c3707=_0x31a1df['parse'](_0x406b31);_0x2c3707[_0x58e862[_0x25ab5f(0x288)]]&&(_0x44b382['accept'](_0x2c3707[_0x58e862[_0x25ab5f(0x288)]]),_0x2edc77[_0x58e862[_0x25ab5f(0x288)]]=_0x44b382);}catch{_0x5a7876(this,_0x202113,_0x86b3ec,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x25ab5f(0x2c2)][_0x25ab5f(0x20e)]){const _0x104018={'origin':_0x202113[_0x25ab5f(0x368)][''+(_0x2b727c===0x8?'sec-websocket-origin':_0x25ab5f(0x2fc))],'secure':!!(_0x202113[_0x25ab5f(0x223)][_0x25ab5f(0x2ea)]||_0x202113['socket'][_0x25ab5f(0x279)]),'req':_0x202113};if(this[_0x25ab5f(0x2c2)][_0x25ab5f(0x20e)][_0x25ab5f(0x35a)]===0x2){this[_0x25ab5f(0x2c2)][_0x25ab5f(0x20e)](_0x104018,(_0x1f4ec2,_0x20a743,_0x120e08,_0x1c01e0)=>{if(!_0x1f4ec2)return _0x148ad6(_0x86b3ec,_0x20a743||0x191,_0x120e08,_0x1c01e0);this['completeUpgrade'](_0x2edc77,_0x3f13ce,_0x3f9bc9,_0x202113,_0x86b3ec,_0x5c0e94,_0x7b9458);});return;}if(!this[_0x25ab5f(0x2c2)][_0x25ab5f(0x20e)](_0x104018))return _0x148ad6(_0x86b3ec,0x191);}this['completeUpgrade'](_0x2edc77,_0x3f13ce,_0x3f9bc9,_0x202113,_0x86b3ec,_0x5c0e94,_0x7b9458);}[_0x29d444(0x331)](_0xd9b546,_0x34702f,_0x35c948,_0x47f69b,_0x31ee8b,_0x183010,_0x4206e0){const _0x2d4918=_0x29d444;if(!_0x31ee8b[_0x2d4918(0x28c)]||!_0x31ee8b['writable'])return _0x31ee8b[_0x2d4918(0x399)]();if(_0x31ee8b[_0x2c1af1])throw new Error(_0x2d4918(0x315));if(this[_0x2d4918(0x22d)]>_0x49f9f6)return _0x148ad6(_0x31ee8b,0x1f7);const _0x288f7c=[_0x2d4918(0x365),_0x2d4918(0x328),_0x2d4918(0x21a),_0x2d4918(0x277)+_0x176b3a(_0x2d4918(0x2ec))[_0x2d4918(0x280)](_0x34702f+_0x2dccea)[_0x2d4918(0x35b)]('base64')],_0xa1cdb1=new this[(_0x2d4918(0x2c2))][(_0x2d4918(0x289))](null,void 0x0,this[_0x2d4918(0x2c2)]);if(_0x35c948['size']){const _0x35542e=this['options']['handleProtocols']?this['options'][_0x2d4918(0x1e0)](_0x35c948,_0x47f69b):_0x35c948[_0x2d4918(0x34e)]()[_0x2d4918(0x1f9)]()['value'];_0x35542e&&(_0x288f7c[_0x2d4918(0x1fe)]('Sec-WebSocket-Protocol:\x20'+_0x35542e),_0xa1cdb1[_0x2d4918(0x282)]=_0x35542e);}if(_0xd9b546[_0x58e862[_0x2d4918(0x288)]]){const _0x2aa731=_0xd9b546[_0x58e862[_0x2d4918(0x288)]][_0x2d4918(0x259)],_0xd1eade=_0x31a1df['format']({[_0x58e862[_0x2d4918(0x288)]]:[_0x2aa731]});_0x288f7c['push'](_0x2d4918(0x37c)+_0xd1eade),_0xa1cdb1[_0x2d4918(0x284)]=_0xd9b546;}this['emit'](_0x2d4918(0x368),_0x288f7c,_0x47f69b),_0x31ee8b[_0x2d4918(0x233)](_0x288f7c[_0x2d4918(0x305)]('\x0d\x0a')[_0x2d4918(0x1f6)]('\x0d\x0a')),_0x31ee8b['removeListener']('error',_0x2da4b7),_0xa1cdb1['setSocket'](_0x31ee8b,_0x183010,{'allowSynchronousEvents':this[_0x2d4918(0x2c2)][_0x2d4918(0x342)],'maxPayload':this[_0x2d4918(0x2c2)][_0x2d4918(0x226)],'skipUTF8Validation':this[_0x2d4918(0x2c2)]['skipUTF8Validation']}),this['clients']&&(this[_0x2d4918(0x2f6)][_0x2d4918(0x23a)](_0xa1cdb1),_0xa1cdb1['on'](_0x2d4918(0x304),()=>{const _0x13aa12=_0x2d4918;this[_0x13aa12(0x2f6)]['delete'](_0xa1cdb1),this['_shouldEmitClose']&&!this[_0x13aa12(0x2f6)][_0x13aa12(0x339)]&&process[_0x13aa12(0x29e)](_0x327577,this);})),_0x4206e0(_0xa1cdb1,_0x47f69b);}}Te=_0x2b081b;function _0x4ebc16(_0x419aa0,_0x44b375){const _0x18a6e8=_0x29d444;for(const _0x11347d of Object[_0x18a6e8(0x1ed)](_0x44b375))_0x419aa0['on'](_0x11347d,_0x44b375[_0x11347d]);return function(){const _0x5a76df=_0x18a6e8;for(const _0x2e4292 of Object[_0x5a76df(0x1ed)](_0x44b375))_0x419aa0['removeListener'](_0x2e4292,_0x44b375[_0x2e4292]);};}function _0x327577(_0x37d124){const _0x2add0f=_0x29d444;_0x37d124[_0x2add0f(0x22d)]=_0x4b145d,_0x37d124[_0x2add0f(0x392)](_0x2add0f(0x304));}function _0x2da4b7(){const _0x3cc648=_0x29d444;this[_0x3cc648(0x399)]();}function _0x148ad6(_0x58d05f,_0xa44df6,_0x33e1ce,_0x2beace){const _0x2cc6f0=_0x29d444;_0x33e1ce=_0x33e1ce||_0x530d64[_0x2cc6f0(0x3a5)][_0xa44df6],_0x2beace={'Connection':_0x2cc6f0(0x304),'Content-Type':_0x2cc6f0(0x31c),'Content-Length':Buffer['byteLength'](_0x33e1ce),..._0x2beace},_0x58d05f['once'](_0x2cc6f0(0x296),_0x58d05f[_0x2cc6f0(0x399)]),_0x58d05f[_0x2cc6f0(0x267)](_0x2cc6f0(0x2a2)+_0xa44df6+'\x20'+_0x530d64[_0x2cc6f0(0x3a5)][_0xa44df6]+'\x0d\x0a'+Object[_0x2cc6f0(0x1ed)](_0x2beace)[_0x2cc6f0(0x39a)](_0xc506ea=>_0xc506ea+':\x20'+_0x2beace[_0xc506ea])[_0x2cc6f0(0x1f6)]('\x0d\x0a')+_0x2cc6f0(0x2f5)+_0x33e1ce);}function _0x5a7876(_0xa0f529,_0x325f07,_0x383d92,_0x5a5d11,_0x2646cc){const _0x4a3b72=_0x29d444;if(_0xa0f529[_0x4a3b72(0x2e7)](_0x4a3b72(0x275))){const _0x59be3e=new Error(_0x2646cc);Error[_0x4a3b72(0x2d2)](_0x59be3e,_0x5a7876),_0xa0f529['emit'](_0x4a3b72(0x275),_0x59be3e,_0x383d92,_0x325f07);}else _0x148ad6(_0x383d92,_0x5a5d11,_0x2646cc);}return Te;}Ft();function _0x3013(_0x4b4ccd,_0x5de12){const _0x39eb84=_0x39eb();return _0x3013=function(_0x301308,_0x168d9c){_0x301308=_0x301308-0x1dc;let _0xcf0aa6=_0x39eb84[_0x301308];return _0xcf0aa6;},_0x3013(_0x4b4ccd,_0x5de12);}var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x1da329,_0x47e20a,_0x22a74d,_0x5c15cd)=>{const _0x3daaf4=_0x5beffb;for(var _0x208368=_0x5c15cd>0x1?void 0x0:_0x5c15cd?jt(_0x47e20a,_0x22a74d):_0x47e20a,_0x1bd286=_0x1da329[_0x3daaf4(0x35a)]-0x1,_0xc8aef1;_0x1bd286>=0x0;_0x1bd286--)(_0xc8aef1=_0x1da329[_0x1bd286])&&(_0x208368=_0xc8aef1(_0x208368)||_0x208368);return _0x208368;},qt=(_0x21aa94,_0x4cb6b9)=>(_0x200b96,_0x5b146c)=>_0x4cb6b9(_0x200b96,_0x5b146c,_0x21aa94);let ke=class extends A[_0x5beffb(0x37b)]{constructor(_0x289dbb){super(),this['_configService']=_0x289dbb;}['createSocket'](_0xabd48a){const _0x4b81e4=_0x5beffb;var _0x506e45;const _0x1315b3=(_0x506e45=this[_0x4b81e4(0x1fd)][_0x4b81e4(0x2e3)](fe))==null?void 0x0:_0x506e45[_0x4b81e4(0x309)];try{const _0x468d54=new $t(_0xabd48a,{'headers':{..._0x1315b3}}),_0x29b367=new A[(_0x4b81e4(0x294))]();return{'URL':_0xabd48a,'close':(_0x1a095d,_0x25e569)=>{const _0x4f591a=_0x4b81e4;_0x468d54['close'](_0x1a095d,_0x25e569),_0x29b367[_0x4f591a(0x2d9)]();},'send':_0x42e35a=>{const _0x400e31=_0x4b81e4;_0x468d54[_0x400e31(0x343)](_0x42e35a);},'open$':new V[(_0x4b81e4(0x2e8))](_0x42d65b=>{const _0x5235b0=_0x4b81e4,_0x16b563=_0xb9d89e=>_0x42d65b[_0x5235b0(0x1f9)](_0xb9d89e);_0x468d54[_0x5235b0(0x30f)](_0x5235b0(0x2c9),_0x16b563),_0x29b367[_0x5235b0(0x23a)](A[_0x5235b0(0x22a)](()=>_0x468d54[_0x5235b0(0x379)](_0x5235b0(0x2c9),_0x16b563)));})[_0x4b81e4(0x1e2)](V[_0x4b81e4(0x2d6)]()),'close$':new V[(_0x4b81e4(0x2e8))](_0x3a76f0=>{const _0x1e9f5a=_0x4b81e4,_0x112667=_0x49d896=>_0x3a76f0[_0x1e9f5a(0x1f9)](_0x49d896);_0x468d54[_0x1e9f5a(0x30f)](_0x1e9f5a(0x304),_0x112667),_0x29b367[_0x1e9f5a(0x23a)](A['toDisposable'](()=>_0x468d54[_0x1e9f5a(0x379)](_0x1e9f5a(0x304),_0x112667)));})[_0x4b81e4(0x1e2)](V[_0x4b81e4(0x2d6)]()),'error$':new V[(_0x4b81e4(0x2e8))](_0x55cb1d=>{const _0x5610e6=_0x4b81e4,_0x4712a6=_0x1fa805=>_0x55cb1d[_0x5610e6(0x1f9)](_0x1fa805);_0x468d54[_0x5610e6(0x30f)](_0x5610e6(0x2cc),_0x4712a6),_0x29b367['add'](A['toDisposable'](()=>_0x468d54['removeEventListener'](_0x5610e6(0x2cc),_0x4712a6)));})[_0x4b81e4(0x1e2)](V[_0x4b81e4(0x2d6)]()),'message$':new V[(_0x4b81e4(0x2e8))](_0x498efc=>{const _0x2df21b=_0x4b81e4,_0x5b772b=_0x1127a=>_0x498efc['next'](_0x1127a);_0x468d54[_0x2df21b(0x30f)]('message',_0x5b772b),_0x29b367[_0x2df21b(0x23a)](A['toDisposable'](()=>_0x468d54[_0x2df21b(0x379)](_0x2df21b(0x39e),_0x5b772b)));})[_0x4b81e4(0x1e2)](V[_0x4b81e4(0x2d6)]())};}catch(_0x2abff9){return console[_0x4b81e4(0x2cc)](_0x2abff9),null;}}};ke=Wt([qt(0x0,A[_0x5beffb(0x25b)])],ke);var Gt=Object[_0x5beffb(0x302)],Vt=Object[_0x5beffb(0x39b)],Ht=(_0x492db1,_0x3a79b2,_0x274440)=>_0x3a79b2 in _0x492db1?Gt(_0x492db1,_0x3a79b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x274440}):_0x492db1[_0x3a79b2]=_0x274440,zt=(_0x423b84,_0x4e2f1c,_0x7579b7,_0x529cfd)=>{const _0x2defa1=_0x5beffb;for(var _0x4e9929=_0x529cfd>0x1?void 0x0:_0x529cfd?Vt(_0x4e2f1c,_0x7579b7):_0x4e2f1c,_0x111120=_0x423b84[_0x2defa1(0x35a)]-0x1,_0xb16226;_0x111120>=0x0;_0x111120--)(_0xb16226=_0x423b84[_0x111120])&&(_0x4e9929=_0xb16226(_0x4e9929)||_0x4e9929);return _0x4e9929;},Ne=(_0x24fa3b,_0x1b651f)=>(_0x905f1f,_0x2c8a0c)=>_0x1b651f(_0x905f1f,_0x2c8a0c,_0x24fa3b),Yt=(_0xefed03,_0x549352,_0x3a6054)=>Ht(_0xefed03,_0x549352+'',_0x3a6054);exports[_0x5beffb(0x398)]=class extends A[_0x5beffb(0x30d)]{constructor(_0x1d30e2=Ct,_0x550abe,_0x14e48b,_0x357206){const _0x1b6f0b=_0x5beffb;_0x1d30e2[_0x1b6f0b(0x309)]||_0x550abe['warn'](_0x1b6f0b(0x1ec)),super(),this[_0x1b6f0b(0x1fd)]=_0x14e48b,this[_0x1b6f0b(0x1df)]=_0x357206,this[_0x1b6f0b(0x1fd)][_0x1b6f0b(0x222)](fe,_0x1d30e2);}['onStarting'](){this['_registerDependencies']();}['_registerDependencies'](){const _0x40cc89=_0x5beffb;A['registerDependencies'](this[_0x40cc89(0x1df)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x5beffb(0x398)],_0x5beffb(0x1f1),_0x5beffb(0x335)),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st[_0x5beffb(0x2e0)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x5beffb(0x25b)]),Ne(0x3,A['Inject'](A[_0x5beffb(0x228)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x5beffb(0x39b)],Xt=(_0x2807f6,_0x1fb250,_0x31a097,_0x320b29)=>{for(var _0x1ceadb=_0x320b29>0x1?void 0x0:_0x320b29?Kt(_0x1fb250,_0x31a097):_0x1fb250,_0x32fef0=_0x2807f6['length']-0x1,_0x10c8d6;_0x32fef0>=0x0;_0x32fef0--)(_0x10c8d6=_0x2807f6[_0x32fef0])&&(_0x1ceadb=_0x10c8d6(_0x1ceadb)||_0x1ceadb);return _0x1ceadb;},ne=(_0x1c8108,_0x3d6f7b)=>(_0x178029,_0x4299e4)=>_0x3d6f7b(_0x178029,_0x4299e4,_0x1c8108);exports[_0x5beffb(0x290)]=class extends st['CollaborationSocketService']{constructor(_0x3f5ecd,_0x19f7bb,_0x1cbe29,_0x24680e,_0x1e71cb){const _0x17b16c=_0x5beffb;super(_0x3f5ecd,_0x19f7bb,_0x1cbe29,_0x24680e,_0x1e71cb);const _0x4093aa=this[_0x17b16c(0x1fd)][_0x17b16c(0x2e3)](fe);this[_0x17b16c(0x2f8)][_0x17b16c(0x2a4)]({'interceptor':(_0x18351c,_0x68a449)=>{const _0x3b9f0c=_0x17b16c;var _0x3c38ad;const _0x1f7b1e=_0x18351c[_0x3b9f0c(0x368)];return(_0x3c38ad=_0x4093aa==null?void 0x0:_0x4093aa['customHeaders'])!=null&&_0x3c38ad['cookie']&&_0x1f7b1e[_0x3b9f0c(0x350)](_0x3b9f0c(0x2d7),_0x4093aa[_0x3b9f0c(0x309)][_0x3b9f0c(0x25c)]),_0x68a449(_0x18351c);}});}async[_0x5beffb(0x2a3)](_0x4e9ac7){const _0x35b2e9=_0x5beffb;return this[_0x35b2e9(0x327)](_0x4e9ac7);}},exports[_0x5beffb(0x290)]=Xt([ne(0x0,A[_0x5beffb(0x36d)](A['Injector'])),ne(0x1,A[_0x5beffb(0x36d)](it[_0x5beffb(0x317)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x5beffb(0x3ac)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x5beffb(0x290)]),exports[_0x5beffb(0x265)]=fe;
1
+ 'use strict';const _0x3a40e3=_0x34fb;(function(_0x268b04,_0x317804){const _0x1b39e7=_0x34fb,_0x1570d0=_0x268b04();while(!![]){try{const _0x2571fc=-parseInt(_0x1b39e7(0x105))/0x1+-parseInt(_0x1b39e7(0xa5))/0x2*(parseInt(_0x1b39e7(0x1ad))/0x3)+parseInt(_0x1b39e7(0x223))/0x4*(-parseInt(_0x1b39e7(0x1ed))/0x5)+parseInt(_0x1b39e7(0x1ba))/0x6*(-parseInt(_0x1b39e7(0x221))/0x7)+parseInt(_0x1b39e7(0x11b))/0x8+-parseInt(_0x1b39e7(0xa4))/0x9*(-parseInt(_0x1b39e7(0x83))/0xa)+-parseInt(_0x1b39e7(0x19a))/0xb*(-parseInt(_0x1b39e7(0x66))/0xc);if(_0x2571fc===_0x317804)break;else _0x1570d0['push'](_0x1570d0['shift']());}catch(_0x80d03d){_0x1570d0['push'](_0x1570d0['shift']());}}}(_0x4255,0xaf4e8));Object[_0x3a40e3(0xd6)](exports,Symbol[_0x3a40e3(0x198)],{'value':_0x3a40e3(0x1f5)});const st=require(_0x3a40e3(0x81)),A=require(_0x3a40e3(0x153)),it=require(_0x3a40e3(0x160)),V=require(_0x3a40e3(0xf9)),nt=require(_0x3a40e3(0x194)),vt=require(_0x3a40e3(0x80)),ot=require('http'),St=require(_0x3a40e3(0x1ee)),Et=require(_0x3a40e3(0x1d3)),Le=require('crypto'),oe=require(_0x3a40e3(0x1be)),xt=require(_0x3a40e3(0x104)),bt=require(_0x3a40e3(0xf8)),wt=require(_0x3a40e3(0xe4)),Ot=require(_0x3a40e3(0x1dd)),fe=_0x3a40e3(0xc7),Ct={'customHeaders':{}};function Tt(_0x3301d9){const _0x366bd0=_0x3a40e3;return _0x3301d9&&_0x3301d9[_0x366bd0(0x92)]&&Object[_0x366bd0(0x203)][_0x366bd0(0x172)][_0x366bd0(0x9d)](_0x3301d9,_0x366bd0(0x18c))?_0x3301d9[_0x366bd0(0x18c)]:_0x3301d9;}function at(_0x359dbb){const _0x36352=_0x3a40e3;if(Object['prototype'][_0x36352(0x172)][_0x36352(0x9d)](_0x359dbb,_0x36352(0x92)))return _0x359dbb;var _0x3d2725=_0x359dbb[_0x36352(0x18c)];if(typeof _0x3d2725==_0x36352(0x96)){var _0x2f0023=function _0x30b853(){const _0xc45aa9=_0x36352;return this instanceof _0x30b853?Reflect[_0xc45aa9(0x12a)](_0x3d2725,arguments,this[_0xc45aa9(0x1e6)]):_0x3d2725['apply'](this,arguments);};_0x2f0023[_0x36352(0x203)]=_0x3d2725[_0x36352(0x203)];}else _0x2f0023={};return Object[_0x36352(0xd6)](_0x2f0023,_0x36352(0x92),{'value':!0x0}),Object[_0x36352(0x1e2)](_0x359dbb)['forEach'](function(_0x59e1ac){const _0x450238=_0x36352;var _0x55a85f=Object[_0x450238(0x19e)](_0x359dbb,_0x59e1ac);Object['defineProperty'](_0x2f0023,_0x59e1ac,_0x55a85f[_0x450238(0xd8)]?_0x55a85f:{'enumerable':!0x0,'get':function(){return _0x359dbb[_0x59e1ac];}});}),_0x2f0023;}var se={'exports':{}},ge,Ge;function H(){const _0xbf7579=_0x3a40e3;if(Ge)return ge;Ge=0x1;const _0x4d7397=['nodebuffer','arraybuffer',_0xbf7579(0xdf)],_0x1180ad=typeof Blob<'u';return _0x1180ad&&_0x4d7397[_0xbf7579(0xa3)](_0xbf7579(0x19c)),ge={'BINARY_TYPES':_0x4d7397,'EMPTY_BUFFER':Buffer[_0xbf7579(0xd1)](0x0),'GUID':_0xbf7579(0x205),'hasBlob':_0x1180ad,'kForOnEventAttribute':Symbol(_0xbf7579(0x1c8)),'kListener':Symbol(_0xbf7579(0x175)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0xbf7579(0xc5)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x3a40e3(0xda)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x3a40e3(0x198)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x290a39=_0x3a40e3;if(Ve)return se[_0x290a39(0x1c1)];Ve=0x1;const {EMPTY_BUFFER:_0x57bd0c}=H(),_0x31d29d=Buffer[Symbol[_0x290a39(0x167)]];function _0x2da19a(_0x167c71,_0x15024b){const _0xbc6c71=_0x290a39;if(_0x167c71[_0xbc6c71(0xae)]===0x0)return _0x57bd0c;if(_0x167c71['length']===0x1)return _0x167c71[0x0];const _0x464e0e=Buffer[_0xbc6c71(0x108)](_0x15024b);let _0x18dd7f=0x0;for(let _0x52605a=0x0;_0x52605a<_0x167c71[_0xbc6c71(0xae)];_0x52605a++){const _0x2b4a93=_0x167c71[_0x52605a];_0x464e0e[_0xbc6c71(0x174)](_0x2b4a93,_0x18dd7f),_0x18dd7f+=_0x2b4a93['length'];}return _0x18dd7f<_0x15024b?new _0x31d29d(_0x464e0e[_0xbc6c71(0xe4)],_0x464e0e['byteOffset'],_0x18dd7f):_0x464e0e;}function _0x372e7b(_0x5b974c,_0x1ef0ee,_0x3ca102,_0x3ccc50,_0x5f172d){for(let _0x38ca1a=0x0;_0x38ca1a<_0x5f172d;_0x38ca1a++)_0x3ca102[_0x3ccc50+_0x38ca1a]=_0x5b974c[_0x38ca1a]^_0x1ef0ee[_0x38ca1a&0x3];}function _0x4fdfa7(_0x41c9cc,_0x5aa528){const _0x393349=_0x290a39;for(let _0x4c61e3=0x0;_0x4c61e3<_0x41c9cc[_0x393349(0xae)];_0x4c61e3++)_0x41c9cc[_0x4c61e3]^=_0x5aa528[_0x4c61e3&0x3];}function _0x180c48(_0x1b90ca){const _0x648ba1=_0x290a39;return _0x1b90ca[_0x648ba1(0xae)]===_0x1b90ca[_0x648ba1(0xe4)][_0x648ba1(0x1d7)]?_0x1b90ca[_0x648ba1(0xe4)]:_0x1b90ca[_0x648ba1(0xe4)]['slice'](_0x1b90ca[_0x648ba1(0xb5)],_0x1b90ca[_0x648ba1(0xb5)]+_0x1b90ca[_0x648ba1(0xae)]);}function _0x50773a(_0x5a0132){const _0x3561ca=_0x290a39;if(_0x50773a['readOnly']=!0x0,Buffer['isBuffer'](_0x5a0132))return _0x5a0132;let _0x35fa95;return _0x5a0132 instanceof ArrayBuffer?_0x35fa95=new _0x31d29d(_0x5a0132):ArrayBuffer[_0x3561ca(0x1b2)](_0x5a0132)?_0x35fa95=new _0x31d29d(_0x5a0132[_0x3561ca(0xe4)],_0x5a0132[_0x3561ca(0xb5)],_0x5a0132[_0x3561ca(0x1d7)]):(_0x35fa95=Buffer[_0x3561ca(0x215)](_0x5a0132),_0x50773a['readOnly']=!0x1),_0x35fa95;}if(se['exports']={'concat':_0x2da19a,'mask':_0x372e7b,'toArrayBuffer':_0x180c48,'toBuffer':_0x50773a,'unmask':_0x4fdfa7},!process[_0x290a39(0xb4)]['WS_NO_BUFFER_UTIL'])try{const _0x5a73a2=Lt;se[_0x290a39(0x1c1)][_0x290a39(0x219)]=function(_0x340519,_0x252416,_0x41fed5,_0x408b68,_0x463132){const _0x4f41da=_0x290a39;_0x463132<0x30?_0x372e7b(_0x340519,_0x252416,_0x41fed5,_0x408b68,_0x463132):_0x5a73a2[_0x4f41da(0x219)](_0x340519,_0x252416,_0x41fed5,_0x408b68,_0x463132);},se[_0x290a39(0x1c1)][_0x290a39(0x208)]=function(_0x44a474,_0xd66d58){const _0x5defcf=_0x290a39;_0x44a474[_0x5defcf(0xae)]<0x20?_0x4fdfa7(_0x44a474,_0xd66d58):_0x5a73a2['unmask'](_0x44a474,_0xd66d58);};}catch{}return se[_0x290a39(0x1c1)];}var ye,He;function Pt(){const _0x111740=_0x3a40e3;if(He)return ye;He=0x1;const _0x1e4ab6=Symbol(_0x111740(0x1ac)),_0x1fbbee=Symbol(_0x111740(0x232));class _0x400507{constructor(_0x141349){const _0x4cfc3e=_0x111740;this[_0x1e4ab6]=()=>{this['pending']--,this[_0x1fbbee]();},this[_0x4cfc3e(0x201)]=_0x141349||0x1/0x0,this[_0x4cfc3e(0xbc)]=[],this[_0x4cfc3e(0x161)]=0x0;}[_0x111740(0x21a)](_0x45dd95){const _0x17841e=_0x111740;this[_0x17841e(0xbc)]['push'](_0x45dd95),this[_0x1fbbee]();}[_0x1fbbee](){const _0x52337d=_0x111740;if(this[_0x52337d(0x161)]!==this[_0x52337d(0x201)]&&this['jobs'][_0x52337d(0xae)]){const _0x271dc9=this[_0x52337d(0xbc)][_0x52337d(0x157)]();this[_0x52337d(0x161)]++,_0x271dc9(this[_0x1e4ab6]);}}}return ye=_0x400507,ye;}var ve,ze;function he(){const _0x59fdb2=_0x3a40e3;if(ze)return ve;ze=0x1;const _0x2d992e=bt,_0x519c0e=ce(),_0xadb16d=Pt(),{kStatusCode:_0x5463d3}=H(),_0x53086a=Buffer[Symbol[_0x59fdb2(0x167)]],_0x49bbd1=Buffer[_0x59fdb2(0x215)]([0x0,0x0,0xff,0xff]),_0x462bf1=Symbol(_0x59fdb2(0x17a)),_0x4e0929=Symbol(_0x59fdb2(0x128)),_0x4e2f13=Symbol(_0x59fdb2(0x86)),_0x45e2e8=Symbol(_0x59fdb2(0x22a)),_0x5b30d0=Symbol('error');let _0x5bfb78;class _0x445540{constructor(_0x56ef0c,_0x1aa09f,_0x2c5fd6){const _0xe39faa=_0x59fdb2;if(this[_0xe39faa(0x87)]=_0x2c5fd6|0x0,this[_0xe39faa(0x188)]=_0x56ef0c||{},this[_0xe39faa(0x10b)]=this[_0xe39faa(0x188)]['threshold']!==void 0x0?this[_0xe39faa(0x188)]['threshold']:0x400,this['_isServer']=!!_0x1aa09f,this[_0xe39faa(0xfd)]=null,this[_0xe39faa(0xee)]=null,this['params']=null,!_0x5bfb78){const _0x3bedfe=this[_0xe39faa(0x188)][_0xe39faa(0x18a)]!==void 0x0?this[_0xe39faa(0x188)]['concurrencyLimit']:0xa;_0x5bfb78=new _0xadb16d(_0x3bedfe);}}static get['extensionName'](){const _0x363b95=_0x59fdb2;return _0x363b95(0x17a);}[_0x59fdb2(0x12e)](){const _0x3630ae=_0x59fdb2,_0x13ea8c={};return this[_0x3630ae(0x188)][_0x3630ae(0x75)]&&(_0x13ea8c['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x13ea8c['client_no_context_takeover']=!0x0),this['_options'][_0x3630ae(0x8c)]&&(_0x13ea8c[_0x3630ae(0x73)]=this[_0x3630ae(0x188)][_0x3630ae(0x8c)]),this[_0x3630ae(0x188)]['clientMaxWindowBits']?_0x13ea8c[_0x3630ae(0x17d)]=this[_0x3630ae(0x188)][_0x3630ae(0xf4)]:this[_0x3630ae(0x188)][_0x3630ae(0xf4)]==null&&(_0x13ea8c[_0x3630ae(0x17d)]=!0x0),_0x13ea8c;}['accept'](_0x4b2eed){const _0x1c3e77=_0x59fdb2;return _0x4b2eed=this[_0x1c3e77(0x144)](_0x4b2eed),this[_0x1c3e77(0x182)]=this[_0x1c3e77(0xb2)]?this[_0x1c3e77(0x1ce)](_0x4b2eed):this[_0x1c3e77(0x109)](_0x4b2eed),this[_0x1c3e77(0x182)];}[_0x59fdb2(0x1f9)](){const _0x4c3c02=_0x59fdb2;if(this[_0x4c3c02(0xee)]&&(this[_0x4c3c02(0xee)][_0x4c3c02(0x1ca)](),this[_0x4c3c02(0xee)]=null),this[_0x4c3c02(0xfd)]){const _0x478fd0=this[_0x4c3c02(0xfd)][_0x4e2f13];this[_0x4c3c02(0xfd)][_0x4c3c02(0x1ca)](),this['_deflate']=null,_0x478fd0&&_0x478fd0(new Error(_0x4c3c02(0xc1)));}}[_0x59fdb2(0x1ce)](_0x292eff){const _0x3e2aaf=_0x59fdb2,_0x459261=this[_0x3e2aaf(0x188)],_0x23ff4a=_0x292eff['find'](_0x3b0b99=>!(_0x459261['serverNoContextTakeover']===!0x1&&_0x3b0b99['server_no_context_takeover']||_0x3b0b99[_0x3e2aaf(0x73)]&&(_0x459261[_0x3e2aaf(0x8c)]===!0x1||typeof _0x459261[_0x3e2aaf(0x8c)]==_0x3e2aaf(0x8e)&&_0x459261[_0x3e2aaf(0x8c)]>_0x3b0b99['server_max_window_bits'])||typeof _0x459261[_0x3e2aaf(0xf4)]==_0x3e2aaf(0x8e)&&!_0x3b0b99['client_max_window_bits']));if(!_0x23ff4a)throw new Error(_0x3e2aaf(0x1f8));return _0x459261[_0x3e2aaf(0x75)]&&(_0x23ff4a[_0x3e2aaf(0x1d9)]=!0x0),_0x459261[_0x3e2aaf(0xb9)]&&(_0x23ff4a[_0x3e2aaf(0x9e)]=!0x0),typeof _0x459261[_0x3e2aaf(0x8c)]==_0x3e2aaf(0x8e)&&(_0x23ff4a['server_max_window_bits']=_0x459261[_0x3e2aaf(0x8c)]),typeof _0x459261[_0x3e2aaf(0xf4)]==_0x3e2aaf(0x8e)?_0x23ff4a[_0x3e2aaf(0x17d)]=_0x459261[_0x3e2aaf(0xf4)]:(_0x23ff4a[_0x3e2aaf(0x17d)]===!0x0||_0x459261['clientMaxWindowBits']===!0x1)&&delete _0x23ff4a[_0x3e2aaf(0x17d)],_0x23ff4a;}['acceptAsClient'](_0x5279f3){const _0x2f01b2=_0x59fdb2,_0x430c7a=_0x5279f3[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x430c7a[_0x2f01b2(0x9e)])throw new Error(_0x2f01b2(0x1f7));if(!_0x430c7a[_0x2f01b2(0x17d)])typeof this[_0x2f01b2(0x188)]['clientMaxWindowBits']=='number'&&(_0x430c7a[_0x2f01b2(0x17d)]=this['_options'][_0x2f01b2(0xf4)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x2f01b2(0x188)][_0x2f01b2(0xf4)]=='number'&&_0x430c7a[_0x2f01b2(0x17d)]>this[_0x2f01b2(0x188)][_0x2f01b2(0xf4)])throw new Error(_0x2f01b2(0x12d));}return _0x430c7a;}['normalizeParams'](_0xa12f57){const _0x45a1d2=_0x59fdb2;return _0xa12f57[_0x45a1d2(0x71)](_0x48f58e=>{const _0x12e5b5=_0x45a1d2;Object[_0x12e5b5(0x1e2)](_0x48f58e)['forEach'](_0x2636e4=>{const _0x483fb8=_0x12e5b5;let _0x1135d1=_0x48f58e[_0x2636e4];if(_0x1135d1[_0x483fb8(0xae)]>0x1)throw new Error(_0x483fb8(0xf0)+_0x2636e4+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x1135d1=_0x1135d1[0x0],_0x2636e4==='client_max_window_bits'){if(_0x1135d1!==!0x0){const _0x4667a6=+_0x1135d1;if(!Number[_0x483fb8(0xf6)](_0x4667a6)||_0x4667a6<0x8||_0x4667a6>0xf)throw new TypeError(_0x483fb8(0x16c)+_0x2636e4+_0x483fb8(0x1ae)+_0x1135d1);_0x1135d1=_0x4667a6;}else{if(!this[_0x483fb8(0xb2)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2636e4+_0x483fb8(0x1ae)+_0x1135d1);}}else{if(_0x2636e4===_0x483fb8(0x73)){const _0x1c1e05=+_0x1135d1;if(!Number[_0x483fb8(0xf6)](_0x1c1e05)||_0x1c1e05<0x8||_0x1c1e05>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2636e4+_0x483fb8(0x1ae)+_0x1135d1);_0x1135d1=_0x1c1e05;}else{if(_0x2636e4==='client_no_context_takeover'||_0x2636e4===_0x483fb8(0x1d9)){if(_0x1135d1!==!0x0)throw new TypeError(_0x483fb8(0x16c)+_0x2636e4+'\x22:\x20'+_0x1135d1);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x2636e4+'\x22');}}_0x48f58e[_0x2636e4]=_0x1135d1;});}),_0xa12f57;}[_0x59fdb2(0x1fa)](_0x340520,_0x5f5b80,_0x36325e){_0x5bfb78['add'](_0x43c4d0=>{const _0x29add8=_0x34fb;this[_0x29add8(0x141)](_0x340520,_0x5f5b80,(_0x57a2ff,_0x25a7ed)=>{_0x43c4d0(),_0x36325e(_0x57a2ff,_0x25a7ed);});});}[_0x59fdb2(0xd7)](_0x135d67,_0x11c381,_0x21c05d){const _0x1fca42=_0x59fdb2;_0x5bfb78[_0x1fca42(0x21a)](_0x464a2f=>{const _0x54e49c=_0x1fca42;this[_0x54e49c(0x168)](_0x135d67,_0x11c381,(_0x47d8f3,_0x1e198f)=>{_0x464a2f(),_0x21c05d(_0x47d8f3,_0x1e198f);});});}['_decompress'](_0x577692,_0x4db252,_0x58f491){const _0x2973bb=_0x59fdb2,_0x5db22f=this[_0x2973bb(0xb2)]?_0x2973bb(0x165):_0x2973bb(0x22e);if(!this[_0x2973bb(0xee)]){const _0x185ba4=_0x5db22f+'_max_window_bits',_0x3111e0=typeof this[_0x2973bb(0x182)][_0x185ba4]!=_0x2973bb(0x8e)?_0x2d992e[_0x2973bb(0x16e)]:this[_0x2973bb(0x182)][_0x185ba4];this[_0x2973bb(0xee)]=_0x2d992e['createInflateRaw']({...this[_0x2973bb(0x188)]['zlibInflateOptions'],'windowBits':_0x3111e0}),this[_0x2973bb(0xee)][_0x462bf1]=this,this['_inflate'][_0x4e0929]=0x0,this['_inflate'][_0x45e2e8]=[],this[_0x2973bb(0xee)]['on'](_0x2973bb(0x6c),_0x556873),this['_inflate']['on'](_0x2973bb(0xdc),_0x28df65);}this[_0x2973bb(0xee)][_0x4e2f13]=_0x58f491,this[_0x2973bb(0xee)]['write'](_0x577692),_0x4db252&&this[_0x2973bb(0xee)]['write'](_0x49bbd1),this[_0x2973bb(0xee)][_0x2973bb(0x133)](()=>{const _0x395391=_0x2973bb,_0x4a21ff=this[_0x395391(0xee)][_0x5b30d0];if(_0x4a21ff){this['_inflate'][_0x395391(0x1ca)](),this[_0x395391(0xee)]=null,_0x58f491(_0x4a21ff);return;}const _0x348369=_0x519c0e[_0x395391(0x123)](this[_0x395391(0xee)][_0x45e2e8],this[_0x395391(0xee)][_0x4e0929]);this[_0x395391(0xee)][_0x395391(0x7d)][_0x395391(0x158)]?(this[_0x395391(0xee)][_0x395391(0x1ca)](),this[_0x395391(0xee)]=null):(this[_0x395391(0xee)][_0x4e0929]=0x0,this[_0x395391(0xee)][_0x45e2e8]=[],_0x4db252&&this[_0x395391(0x182)][_0x5db22f+_0x395391(0x177)]&&this[_0x395391(0xee)][_0x395391(0xbe)]()),_0x58f491(null,_0x348369);});}[_0x59fdb2(0x168)](_0x1d0ac5,_0x5e0068,_0x1d8950){const _0x587cf6=_0x59fdb2,_0x49bbf6=this[_0x587cf6(0xb2)]?'server':'client';if(!this[_0x587cf6(0xfd)]){const _0x57a368=_0x49bbf6+_0x587cf6(0x118),_0x52d81b=typeof this['params'][_0x57a368]!='number'?_0x2d992e[_0x587cf6(0x16e)]:this[_0x587cf6(0x182)][_0x57a368];this[_0x587cf6(0xfd)]=_0x2d992e[_0x587cf6(0x13f)]({...this[_0x587cf6(0x188)][_0x587cf6(0x10f)],'windowBits':_0x52d81b}),this[_0x587cf6(0xfd)][_0x4e0929]=0x0,this[_0x587cf6(0xfd)][_0x45e2e8]=[],this[_0x587cf6(0xfd)]['on'](_0x587cf6(0xdc),_0xb210a0);}this[_0x587cf6(0xfd)][_0x4e2f13]=_0x1d8950,this[_0x587cf6(0xfd)]['write'](_0x1d0ac5),this[_0x587cf6(0xfd)][_0x587cf6(0x133)](_0x2d992e[_0x587cf6(0xe2)],()=>{const _0x57f9f3=_0x587cf6;if(!this[_0x57f9f3(0xfd)])return;let _0x18df30=_0x519c0e['concat'](this[_0x57f9f3(0xfd)][_0x45e2e8],this[_0x57f9f3(0xfd)][_0x4e0929]);_0x5e0068&&(_0x18df30=new _0x53086a(_0x18df30[_0x57f9f3(0xe4)],_0x18df30[_0x57f9f3(0xb5)],_0x18df30['length']-0x4)),this[_0x57f9f3(0xfd)][_0x4e2f13]=null,this[_0x57f9f3(0xfd)][_0x4e0929]=0x0,this['_deflate'][_0x45e2e8]=[],_0x5e0068&&this['params'][_0x49bbf6+'_no_context_takeover']&&this[_0x57f9f3(0xfd)][_0x57f9f3(0xbe)](),_0x1d8950(null,_0x18df30);});}}ve=_0x445540;function _0xb210a0(_0x5f4b8e){const _0x135b66=_0x59fdb2;this[_0x45e2e8]['push'](_0x5f4b8e),this[_0x4e0929]+=_0x5f4b8e[_0x135b66(0xae)];}function _0x28df65(_0x59243c){const _0x5021e3=_0x59fdb2;if(this[_0x4e0929]+=_0x59243c[_0x5021e3(0xae)],this[_0x462bf1][_0x5021e3(0x87)]<0x1||this[_0x4e0929]<=this[_0x462bf1]['_maxPayload']){this[_0x45e2e8]['push'](_0x59243c);return;}this[_0x5b30d0]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5b30d0]['code']=_0x5021e3(0x213),this[_0x5b30d0][_0x5463d3]=0x3f1,this[_0x5021e3(0xfa)](_0x5021e3(0xdc),_0x28df65),this[_0x5021e3(0xbe)]();}function _0x556873(_0x22a336){const _0x14e511=_0x59fdb2;this[_0x462bf1][_0x14e511(0xee)]=null,_0x22a336[_0x5463d3]=0x3ef,this[_0x4e2f13](_0x22a336);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x3a40e3(0xda)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x3a40e3(0x198)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0xd297b1=_0x3a40e3;if(Ye)return ie[_0xd297b1(0x1c1)];Ye=0x1;const {isUtf8:_0x5bfd16}=wt,{hasBlob:_0x53cc9d}=H(),_0x1f843d=[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 _0x5b6438(_0x6cd294){return _0x6cd294>=0x3e8&&_0x6cd294<=0x3f6&&_0x6cd294!==0x3ec&&_0x6cd294!==0x3ed&&_0x6cd294!==0x3ee||_0x6cd294>=0xbb8&&_0x6cd294<=0x1387;}function _0x31e3a2(_0x278df6){const _0x25bc56=_0x278df6['length'];let _0x2eacae=0x0;for(;_0x2eacae<_0x25bc56;)if((_0x278df6[_0x2eacae]&0x80)===0x0)_0x2eacae++;else{if((_0x278df6[_0x2eacae]&0xe0)===0xc0){if(_0x2eacae+0x1===_0x25bc56||(_0x278df6[_0x2eacae+0x1]&0xc0)!==0x80||(_0x278df6[_0x2eacae]&0xfe)===0xc0)return!0x1;_0x2eacae+=0x2;}else{if((_0x278df6[_0x2eacae]&0xf0)===0xe0){if(_0x2eacae+0x2>=_0x25bc56||(_0x278df6[_0x2eacae+0x1]&0xc0)!==0x80||(_0x278df6[_0x2eacae+0x2]&0xc0)!==0x80||_0x278df6[_0x2eacae]===0xe0&&(_0x278df6[_0x2eacae+0x1]&0xe0)===0x80||_0x278df6[_0x2eacae]===0xed&&(_0x278df6[_0x2eacae+0x1]&0xe0)===0xa0)return!0x1;_0x2eacae+=0x3;}else{if((_0x278df6[_0x2eacae]&0xf8)===0xf0){if(_0x2eacae+0x3>=_0x25bc56||(_0x278df6[_0x2eacae+0x1]&0xc0)!==0x80||(_0x278df6[_0x2eacae+0x2]&0xc0)!==0x80||(_0x278df6[_0x2eacae+0x3]&0xc0)!==0x80||_0x278df6[_0x2eacae]===0xf0&&(_0x278df6[_0x2eacae+0x1]&0xf0)===0x80||_0x278df6[_0x2eacae]===0xf4&&_0x278df6[_0x2eacae+0x1]>0x8f||_0x278df6[_0x2eacae]>0xf4)return!0x1;_0x2eacae+=0x4;}else return!0x1;}}}return!0x0;}function _0x57ed51(_0x391cb4){const _0x1b1063=_0xd297b1;return _0x53cc9d&&typeof _0x391cb4==_0x1b1063(0x112)&&typeof _0x391cb4[_0x1b1063(0x1fc)]==_0x1b1063(0x96)&&typeof _0x391cb4[_0x1b1063(0x204)]==_0x1b1063(0xc3)&&typeof _0x391cb4[_0x1b1063(0x1be)]=='function'&&(_0x391cb4[Symbol[_0x1b1063(0x198)]]===_0x1b1063(0xc2)||_0x391cb4[Symbol[_0x1b1063(0x198)]]===_0x1b1063(0x230));}if(ie['exports']={'isBlob':_0x57ed51,'isValidStatusCode':_0x5b6438,'isValidUTF8':_0x31e3a2,'tokenChars':_0x1f843d},_0x5bfd16)ie['exports']['isValidUTF8']=function(_0x1d4e50){const _0x45b305=_0xd297b1;return _0x1d4e50[_0x45b305(0xae)]<0x18?_0x31e3a2(_0x1d4e50):_0x5bfd16(_0x1d4e50);};else{if(!process[_0xd297b1(0xb4)][_0xd297b1(0xcf)])try{const _0x8f5996=Bt;ie[_0xd297b1(0x1c1)][_0xd297b1(0x15b)]=function(_0x257df4){const _0x5a49e0=_0xd297b1;return _0x257df4[_0x5a49e0(0xae)]<0x20?_0x31e3a2(_0x257df4):_0x8f5996(_0x257df4);};}catch{}}return ie[_0xd297b1(0x1c1)];}var Se,Ke;function lt(){const _0x4f8c3c=_0x3a40e3;if(Ke)return Se;Ke=0x1;const {Writable:_0xa1af9e}=oe,_0x7de7fd=he(),{BINARY_TYPES:_0x19d14c,EMPTY_BUFFER:_0x3ed409,kStatusCode:_0x4c0c1a,kWebSocket:_0x2b38ab}=H(),{concat:_0x236eef,toArrayBuffer:_0x34b1e6,unmask:_0x561060}=ce(),{isValidStatusCode:_0x4e6174,isValidUTF8:_0x4a7a19}=ae(),_0x2d7ed6=Buffer[Symbol[_0x4f8c3c(0x167)]],_0x2459c7=0x0,_0x2fc125=0x1,_0x21a691=0x2,_0x5c6451=0x3,_0x402f64=0x4,_0x3791ef=0x5,_0xbbc79c=0x6;class _0x4963f5 extends _0xa1af9e{constructor(_0x511a49={}){const _0x21c7bf=_0x4f8c3c;super(),this['_allowSynchronousEvents']=_0x511a49['allowSynchronousEvents']!==void 0x0?_0x511a49[_0x21c7bf(0x1bb)]:!0x0,this[_0x21c7bf(0x17c)]=_0x511a49['binaryType']||_0x19d14c[0x0],this['_extensions']=_0x511a49[_0x21c7bf(0x121)]||{},this[_0x21c7bf(0xb2)]=!!_0x511a49[_0x21c7bf(0xb3)],this[_0x21c7bf(0x87)]=_0x511a49[_0x21c7bf(0x19d)]|0x0,this[_0x21c7bf(0xc8)]=!!_0x511a49[_0x21c7bf(0x127)],this[_0x2b38ab]=void 0x0,this[_0x21c7bf(0x12b)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x21c7bf(0x1fe)]=0x0,this[_0x21c7bf(0x1ab)]=void 0x0,this[_0x21c7bf(0xd4)]=0x0,this[_0x21c7bf(0x20d)]=!0x1,this[_0x21c7bf(0x1a5)]=!0x1,this['_opcode']=0x0,this[_0x21c7bf(0xdd)]=0x0,this[_0x21c7bf(0xd2)]=0x0,this[_0x21c7bf(0x226)]=[],this[_0x21c7bf(0x13a)]=!0x1,this[_0x21c7bf(0x90)]=!0x1,this[_0x21c7bf(0x1f2)]=_0x2459c7;}[_0x4f8c3c(0x115)](_0x30cd91,_0x2d7385,_0x2956d1){const _0x1389f0=_0x4f8c3c;if(this['_opcode']===0x8&&this[_0x1389f0(0x1f2)]==_0x2459c7)return _0x2956d1();this['_bufferedBytes']+=_0x30cd91[_0x1389f0(0xae)],this['_buffers'][_0x1389f0(0xa3)](_0x30cd91),this[_0x1389f0(0x1d2)](_0x2956d1);}[_0x4f8c3c(0x224)](_0x1e9f5a){const _0x323b85=_0x4f8c3c;if(this[_0x323b85(0x12b)]-=_0x1e9f5a,_0x1e9f5a===this[_0x323b85(0x145)][0x0][_0x323b85(0xae)])return this['_buffers'][_0x323b85(0x157)]();if(_0x1e9f5a<this['_buffers'][0x0][_0x323b85(0xae)]){const _0x1b2af6=this[_0x323b85(0x145)][0x0];return this[_0x323b85(0x145)][0x0]=new _0x2d7ed6(_0x1b2af6['buffer'],_0x1b2af6[_0x323b85(0xb5)]+_0x1e9f5a,_0x1b2af6[_0x323b85(0xae)]-_0x1e9f5a),new _0x2d7ed6(_0x1b2af6[_0x323b85(0xe4)],_0x1b2af6['byteOffset'],_0x1e9f5a);}const _0x173083=Buffer[_0x323b85(0x108)](_0x1e9f5a);do{const _0x23e2a9=this[_0x323b85(0x145)][0x0],_0x2f1af8=_0x173083[_0x323b85(0xae)]-_0x1e9f5a;_0x1e9f5a>=_0x23e2a9['length']?_0x173083['set'](this[_0x323b85(0x145)][_0x323b85(0x157)](),_0x2f1af8):(_0x173083['set'](new Uint8Array(_0x23e2a9[_0x323b85(0xe4)],_0x23e2a9[_0x323b85(0xb5)],_0x1e9f5a),_0x2f1af8),this['_buffers'][0x0]=new _0x2d7ed6(_0x23e2a9['buffer'],_0x23e2a9[_0x323b85(0xb5)]+_0x1e9f5a,_0x23e2a9[_0x323b85(0xae)]-_0x1e9f5a)),_0x1e9f5a-=_0x23e2a9[_0x323b85(0xae)];}while(_0x1e9f5a>0x0);return _0x173083;}['startLoop'](_0x11b9a9){const _0x561898=_0x4f8c3c;this[_0x561898(0x90)]=!0x0;do switch(this[_0x561898(0x1f2)]){case _0x2459c7:this[_0x561898(0xac)](_0x11b9a9);break;case _0x2fc125:this[_0x561898(0x1db)](_0x11b9a9);break;case _0x21a691:this['getPayloadLength64'](_0x11b9a9);break;case _0x5c6451:this[_0x561898(0x183)]();break;case _0x402f64:this[_0x561898(0xab)](_0x11b9a9);break;case _0x3791ef:case _0xbbc79c:this['_loop']=!0x1;return;}while(this['_loop']);this['_errored']||_0x11b9a9();}[_0x4f8c3c(0xac)](_0x4ae329){const _0x507e3b=_0x4f8c3c;if(this[_0x507e3b(0x12b)]<0x2){this[_0x507e3b(0x90)]=!0x1;return;}const _0xf6dcde=this[_0x507e3b(0x224)](0x2);if((_0xf6dcde[0x0]&0x30)!==0x0){const _0x55a21d=this['createError'](RangeError,_0x507e3b(0x10e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x4ae329(_0x55a21d);return;}const _0x923a3f=(_0xf6dcde[0x0]&0x40)===0x40;if(_0x923a3f&&!this[_0x507e3b(0x137)][_0x7de7fd[_0x507e3b(0x7e)]]){const _0x18cf80=this[_0x507e3b(0xf5)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x507e3b(0x166));_0x4ae329(_0x18cf80);return;}if(this['_fin']=(_0xf6dcde[0x0]&0x80)===0x80,this[_0x507e3b(0xc4)]=_0xf6dcde[0x0]&0xf,this[_0x507e3b(0x1fe)]=_0xf6dcde[0x1]&0x7f,this[_0x507e3b(0xc4)]===0x0){if(_0x923a3f){const _0x8934f6=this[_0x507e3b(0xf5)](RangeError,_0x507e3b(0x18f),!0x0,0x3ea,_0x507e3b(0x166));_0x4ae329(_0x8934f6);return;}if(!this[_0x507e3b(0xd4)]){const _0x4800e9=this[_0x507e3b(0xf5)](RangeError,_0x507e3b(0x162),!0x0,0x3ea,_0x507e3b(0xfc));_0x4ae329(_0x4800e9);return;}this[_0x507e3b(0xc4)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x507e3b(0xd4)]){const _0x53966a=this[_0x507e3b(0xf5)](RangeError,'invalid\x20opcode\x20'+this[_0x507e3b(0xc4)],!0x0,0x3ea,_0x507e3b(0xfc));_0x4ae329(_0x53966a);return;}this[_0x507e3b(0x210)]=_0x923a3f;}else{if(this[_0x507e3b(0xc4)]>0x7&&this['_opcode']<0xb){if(!this[_0x507e3b(0x1a5)]){const _0x31d86e=this[_0x507e3b(0xf5)](RangeError,_0x507e3b(0x7c),!0x0,0x3ea,_0x507e3b(0x218));_0x4ae329(_0x31d86e);return;}if(_0x923a3f){const _0x523be8=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x507e3b(0x166));_0x4ae329(_0x523be8);return;}if(this[_0x507e3b(0x1fe)]>0x7d||this['_opcode']===0x8&&this[_0x507e3b(0x1fe)]===0x1){const _0xeafadd=this[_0x507e3b(0xf5)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x507e3b(0x1fe)],!0x0,0x3ea,_0x507e3b(0x1eb));_0x4ae329(_0xeafadd);return;}}else{const _0x574b47=this[_0x507e3b(0xf5)](RangeError,_0x507e3b(0xba)+this[_0x507e3b(0xc4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4ae329(_0x574b47);return;}}}if(!this[_0x507e3b(0x1a5)]&&!this[_0x507e3b(0xd4)]&&(this[_0x507e3b(0xd4)]=this[_0x507e3b(0xc4)]),this[_0x507e3b(0x20d)]=(_0xf6dcde[0x1]&0x80)===0x80,this[_0x507e3b(0xb2)]){if(!this[_0x507e3b(0x20d)]){const _0x33fa23=this[_0x507e3b(0xf5)](RangeError,_0x507e3b(0x1f0),!0x0,0x3ea,_0x507e3b(0x1d4));_0x4ae329(_0x33fa23);return;}}else{if(this[_0x507e3b(0x20d)]){const _0x5dc562=this[_0x507e3b(0xf5)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x507e3b(0x1f1));_0x4ae329(_0x5dc562);return;}}this[_0x507e3b(0x1fe)]===0x7e?this['_state']=_0x2fc125:this[_0x507e3b(0x1fe)]===0x7f?this[_0x507e3b(0x1f2)]=_0x21a691:this[_0x507e3b(0x1b3)](_0x4ae329);}[_0x4f8c3c(0x1db)](_0x575359){const _0x2a697f=_0x4f8c3c;if(this['_bufferedBytes']<0x2){this[_0x2a697f(0x90)]=!0x1;return;}this[_0x2a697f(0x1fe)]=this[_0x2a697f(0x224)](0x2)['readUInt16BE'](0x0),this[_0x2a697f(0x1b3)](_0x575359);}[_0x4f8c3c(0x15a)](_0x5d5964){const _0x24fe1e=_0x4f8c3c;if(this[_0x24fe1e(0x12b)]<0x8){this[_0x24fe1e(0x90)]=!0x1;return;}const _0x42f296=this[_0x24fe1e(0x224)](0x8),_0x43be62=_0x42f296['readUInt32BE'](0x0);if(_0x43be62>Math[_0x24fe1e(0x88)](0x2,0x15)-0x1){const _0xbb6686=this[_0x24fe1e(0xf5)](RangeError,_0x24fe1e(0x136),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5d5964(_0xbb6686);return;}this[_0x24fe1e(0x1fe)]=_0x43be62*Math[_0x24fe1e(0x88)](0x2,0x20)+_0x42f296[_0x24fe1e(0x17e)](0x4),this['haveLength'](_0x5d5964);}[_0x4f8c3c(0x1b3)](_0x239eb5){const _0x32d3f4=_0x4f8c3c;if(this[_0x32d3f4(0x1fe)]&&this['_opcode']<0x8&&(this[_0x32d3f4(0xdd)]+=this['_payloadLength'],this[_0x32d3f4(0xdd)]>this[_0x32d3f4(0x87)]&&this[_0x32d3f4(0x87)]>0x0)){const _0x6e74b7=this['createError'](RangeError,_0x32d3f4(0x102),!0x1,0x3f1,_0x32d3f4(0x213));_0x239eb5(_0x6e74b7);return;}this[_0x32d3f4(0x20d)]?this[_0x32d3f4(0x1f2)]=_0x5c6451:this[_0x32d3f4(0x1f2)]=_0x402f64;}[_0x4f8c3c(0x183)](){const _0x33cf07=_0x4f8c3c;if(this[_0x33cf07(0x12b)]<0x4){this[_0x33cf07(0x90)]=!0x1;return;}this[_0x33cf07(0x1ab)]=this[_0x33cf07(0x224)](0x4),this[_0x33cf07(0x1f2)]=_0x402f64;}['getData'](_0x395e86){const _0x4721cb=_0x4f8c3c;let _0x51912e=_0x3ed409;if(this['_payloadLength']){if(this[_0x4721cb(0x12b)]<this[_0x4721cb(0x1fe)]){this[_0x4721cb(0x90)]=!0x1;return;}_0x51912e=this[_0x4721cb(0x224)](this[_0x4721cb(0x1fe)]),this[_0x4721cb(0x20d)]&&(this[_0x4721cb(0x1ab)][0x0]|this['_mask'][0x1]|this[_0x4721cb(0x1ab)][0x2]|this[_0x4721cb(0x1ab)][0x3])!==0x0&&_0x561060(_0x51912e,this[_0x4721cb(0x1ab)]);}if(this[_0x4721cb(0xc4)]>0x7){this['controlMessage'](_0x51912e,_0x395e86);return;}if(this['_compressed']){this['_state']=_0x3791ef,this[_0x4721cb(0x1fa)](_0x51912e,_0x395e86);return;}_0x51912e[_0x4721cb(0xae)]&&(this[_0x4721cb(0xd2)]=this['_totalPayloadLength'],this['_fragments']['push'](_0x51912e)),this[_0x4721cb(0x15e)](_0x395e86);}['decompress'](_0x22de07,_0x12a8ec){const _0xa47351=_0x4f8c3c;this[_0xa47351(0x137)][_0x7de7fd[_0xa47351(0x7e)]][_0xa47351(0x1fa)](_0x22de07,this['_fin'],(_0x41f7e5,_0x465873)=>{const _0xb3c6fe=_0xa47351;if(_0x41f7e5)return _0x12a8ec(_0x41f7e5);if(_0x465873[_0xb3c6fe(0xae)]){if(this[_0xb3c6fe(0xd2)]+=_0x465873[_0xb3c6fe(0xae)],this[_0xb3c6fe(0xd2)]>this[_0xb3c6fe(0x87)]&&this[_0xb3c6fe(0x87)]>0x0){const _0x4d3aee=this[_0xb3c6fe(0xf5)](RangeError,_0xb3c6fe(0x102),!0x1,0x3f1,_0xb3c6fe(0x213));_0x12a8ec(_0x4d3aee);return;}this[_0xb3c6fe(0x226)][_0xb3c6fe(0xa3)](_0x465873);}this[_0xb3c6fe(0x15e)](_0x12a8ec),this['_state']===_0x2459c7&&this[_0xb3c6fe(0x1d2)](_0x12a8ec);});}['dataMessage'](_0x36e909){const _0x56c1e5=_0x4f8c3c;if(!this[_0x56c1e5(0x1a5)]){this['_state']=_0x2459c7;return;}const _0x22a598=this[_0x56c1e5(0xd2)],_0x3aa61b=this[_0x56c1e5(0x226)];if(this[_0x56c1e5(0xdd)]=0x0,this[_0x56c1e5(0xd2)]=0x0,this['_fragmented']=0x0,this[_0x56c1e5(0x226)]=[],this[_0x56c1e5(0xc4)]===0x2){let _0x40cd7b;this[_0x56c1e5(0x17c)]===_0x56c1e5(0xcc)?_0x40cd7b=_0x236eef(_0x3aa61b,_0x22a598):this['_binaryType']==='arraybuffer'?_0x40cd7b=_0x34b1e6(_0x236eef(_0x3aa61b,_0x22a598)):this['_binaryType']==='blob'?_0x40cd7b=new Blob(_0x3aa61b):_0x40cd7b=_0x3aa61b,this[_0x56c1e5(0x12c)]?(this[_0x56c1e5(0x14a)](_0x56c1e5(0x125),_0x40cd7b,!0x0),this[_0x56c1e5(0x1f2)]=_0x2459c7):(this['_state']=_0xbbc79c,setImmediate(()=>{const _0x4095cf=_0x56c1e5;this[_0x4095cf(0x14a)]('message',_0x40cd7b,!0x0),this['_state']=_0x2459c7,this['startLoop'](_0x36e909);}));}else{const _0x1f3a14=_0x236eef(_0x3aa61b,_0x22a598);if(!this[_0x56c1e5(0xc8)]&&!_0x4a7a19(_0x1f3a14)){const _0x4b188b=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x56c1e5(0x170));_0x36e909(_0x4b188b);return;}this['_state']===_0x3791ef||this[_0x56c1e5(0x12c)]?(this['emit']('message',_0x1f3a14,!0x1),this[_0x56c1e5(0x1f2)]=_0x2459c7):(this['_state']=_0xbbc79c,setImmediate(()=>{const _0x2cd0da=_0x56c1e5;this['emit']('message',_0x1f3a14,!0x1),this['_state']=_0x2459c7,this[_0x2cd0da(0x1d2)](_0x36e909);}));}}[_0x4f8c3c(0x1b9)](_0x24bebb,_0xad7245){const _0x3373cf=_0x4f8c3c;if(this[_0x3373cf(0xc4)]===0x8){if(_0x24bebb[_0x3373cf(0xae)]===0x0)this[_0x3373cf(0x90)]=!0x1,this[_0x3373cf(0x14a)](_0x3373cf(0x97),0x3ed,_0x3ed409),this['end']();else{const _0x38bbc1=_0x24bebb[_0x3373cf(0x169)](0x0);if(!_0x4e6174(_0x38bbc1)){const _0x2130ec=this[_0x3373cf(0xf5)](RangeError,_0x3373cf(0x1a0)+_0x38bbc1,!0x0,0x3ea,_0x3373cf(0x1f6));_0xad7245(_0x2130ec);return;}const _0x4f1398=new _0x2d7ed6(_0x24bebb[_0x3373cf(0xe4)],_0x24bebb[_0x3373cf(0xb5)]+0x2,_0x24bebb[_0x3373cf(0xae)]-0x2);if(!this[_0x3373cf(0xc8)]&&!_0x4a7a19(_0x4f1398)){const _0x578fad=this[_0x3373cf(0xf5)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3373cf(0x170));_0xad7245(_0x578fad);return;}this[_0x3373cf(0x90)]=!0x1,this[_0x3373cf(0x14a)](_0x3373cf(0x97),_0x38bbc1,_0x4f1398),this[_0x3373cf(0x8d)]();}this[_0x3373cf(0x1f2)]=_0x2459c7;return;}this[_0x3373cf(0x12c)]?(this['emit'](this[_0x3373cf(0xc4)]===0x9?_0x3373cf(0x1d5):_0x3373cf(0x199),_0x24bebb),this[_0x3373cf(0x1f2)]=_0x2459c7):(this[_0x3373cf(0x1f2)]=_0xbbc79c,setImmediate(()=>{const _0x2a77d2=_0x3373cf;this[_0x2a77d2(0x14a)](this['_opcode']===0x9?'ping':_0x2a77d2(0x199),_0x24bebb),this['_state']=_0x2459c7,this[_0x2a77d2(0x1d2)](_0xad7245);}));}[_0x4f8c3c(0xf5)](_0x5b400d,_0x5d0f32,_0xe1207e,_0x1c93c7,_0xc5a8f8){const _0x3e3fc8=_0x4f8c3c;this['_loop']=!0x1,this[_0x3e3fc8(0x13a)]=!0x0;const _0x2d1549=new _0x5b400d(_0xe1207e?_0x3e3fc8(0x139)+_0x5d0f32:_0x5d0f32);return Error[_0x3e3fc8(0x13e)](_0x2d1549,this['createError']),_0x2d1549['code']=_0xc5a8f8,_0x2d1549[_0x4c0c1a]=_0x1c93c7,_0x2d1549;}}return Se=_0x4963f5,Se;}var Ee,Xe;function ft(){const _0x4c8f30=_0x3a40e3;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x7edb8a}=oe,{randomFillSync:_0x59b928}=Le,_0x7e922=he(),{EMPTY_BUFFER:_0x229861,kWebSocket:_0x3c4939,NOOP:_0x29d13a}=H(),{isBlob:_0x289253,isValidStatusCode:_0x44a8fe}=ae(),{mask:_0x146dba,toBuffer:_0x92a323}=ce(),_0x1cc718=Symbol('kByteLength'),_0xac59c4=Buffer[_0x4c8f30(0xd1)](0x4),_0x4056ac=0x8*0x400;let _0x3b96c5,_0x5636a4=_0x4056ac;const _0x5c1755=0x0,_0x25df22=0x1,_0x845619=0x2;class _0x4914f0{constructor(_0x2acdce,_0x3a3406,_0x49f879){const _0x24bc1a=_0x4c8f30;this[_0x24bc1a(0x137)]=_0x3a3406||{},_0x49f879&&(this[_0x24bc1a(0x7a)]=_0x49f879,this['_maskBuffer']=Buffer[_0x24bc1a(0xd1)](0x4)),this[_0x24bc1a(0x142)]=_0x2acdce,this[_0x24bc1a(0x11c)]=!0x0,this[_0x24bc1a(0x168)]=!0x1,this[_0x24bc1a(0x12b)]=0x0,this[_0x24bc1a(0xa2)]=[],this[_0x24bc1a(0x1f2)]=_0x5c1755,this['onerror']=_0x29d13a,this[_0x3c4939]=void 0x0;}static[_0x4c8f30(0x16f)](_0x324884,_0x2ebbd2){const _0x18e5f5=_0x4c8f30;let _0x1009e2,_0x4ce910=!0x1,_0x4abea1=0x2,_0xb9551a=!0x1;_0x2ebbd2['mask']&&(_0x1009e2=_0x2ebbd2[_0x18e5f5(0x1a2)]||_0xac59c4,_0x2ebbd2['generateMask']?_0x2ebbd2['generateMask'](_0x1009e2):(_0x5636a4===_0x4056ac&&(_0x3b96c5===void 0x0&&(_0x3b96c5=Buffer[_0x18e5f5(0xd1)](_0x4056ac)),_0x59b928(_0x3b96c5,0x0,_0x4056ac),_0x5636a4=0x0),_0x1009e2[0x0]=_0x3b96c5[_0x5636a4++],_0x1009e2[0x1]=_0x3b96c5[_0x5636a4++],_0x1009e2[0x2]=_0x3b96c5[_0x5636a4++],_0x1009e2[0x3]=_0x3b96c5[_0x5636a4++]),_0xb9551a=(_0x1009e2[0x0]|_0x1009e2[0x1]|_0x1009e2[0x2]|_0x1009e2[0x3])===0x0,_0x4abea1=0x6);let _0x3525c1;typeof _0x324884==_0x18e5f5(0xc3)?(!_0x2ebbd2['mask']||_0xb9551a)&&_0x2ebbd2[_0x1cc718]!==void 0x0?_0x3525c1=_0x2ebbd2[_0x1cc718]:(_0x324884=Buffer['from'](_0x324884),_0x3525c1=_0x324884[_0x18e5f5(0xae)]):(_0x3525c1=_0x324884['length'],_0x4ce910=_0x2ebbd2[_0x18e5f5(0x219)]&&_0x2ebbd2[_0x18e5f5(0x89)]&&!_0xb9551a);let _0x8ccc99=_0x3525c1;_0x3525c1>=0x10000?(_0x4abea1+=0x8,_0x8ccc99=0x7f):_0x3525c1>0x7d&&(_0x4abea1+=0x2,_0x8ccc99=0x7e);const _0x43630b=Buffer[_0x18e5f5(0x108)](_0x4ce910?_0x3525c1+_0x4abea1:_0x4abea1);return _0x43630b[0x0]=_0x2ebbd2[_0x18e5f5(0x14f)]?_0x2ebbd2['opcode']|0x80:_0x2ebbd2[_0x18e5f5(0x111)],_0x2ebbd2[_0x18e5f5(0x124)]&&(_0x43630b[0x0]|=0x40),_0x43630b[0x1]=_0x8ccc99,_0x8ccc99===0x7e?_0x43630b[_0x18e5f5(0x231)](_0x3525c1,0x2):_0x8ccc99===0x7f&&(_0x43630b[0x2]=_0x43630b[0x3]=0x0,_0x43630b[_0x18e5f5(0x122)](_0x3525c1,0x4,0x6)),_0x2ebbd2[_0x18e5f5(0x219)]?(_0x43630b[0x1]|=0x80,_0x43630b[_0x4abea1-0x4]=_0x1009e2[0x0],_0x43630b[_0x4abea1-0x3]=_0x1009e2[0x1],_0x43630b[_0x4abea1-0x2]=_0x1009e2[0x2],_0x43630b[_0x4abea1-0x1]=_0x1009e2[0x3],_0xb9551a?[_0x43630b,_0x324884]:_0x4ce910?(_0x146dba(_0x324884,_0x1009e2,_0x43630b,_0x4abea1,_0x3525c1),[_0x43630b]):(_0x146dba(_0x324884,_0x1009e2,_0x324884,0x0,_0x3525c1),[_0x43630b,_0x324884])):[_0x43630b,_0x324884];}[_0x4c8f30(0x1ca)](_0xb1899e,_0x49a487,_0xd05168,_0x475e7c){const _0x598bcd=_0x4c8f30;let _0x579930;if(_0xb1899e===void 0x0)_0x579930=_0x229861;else{if(typeof _0xb1899e!=_0x598bcd(0x8e)||!_0x44a8fe(_0xb1899e))throw new TypeError(_0x598bcd(0x1de));if(_0x49a487===void 0x0||!_0x49a487[_0x598bcd(0xae)])_0x579930=Buffer[_0x598bcd(0x108)](0x2),_0x579930[_0x598bcd(0x231)](_0xb1899e,0x0);else{const _0x47aa88=Buffer[_0x598bcd(0x1d7)](_0x49a487);if(_0x47aa88>0x7b)throw new RangeError(_0x598bcd(0x234));_0x579930=Buffer[_0x598bcd(0x108)](0x2+_0x47aa88),_0x579930[_0x598bcd(0x231)](_0xb1899e,0x0),typeof _0x49a487==_0x598bcd(0xc3)?_0x579930[_0x598bcd(0x1ef)](_0x49a487,0x2):_0x579930[_0x598bcd(0x174)](_0x49a487,0x2);}}const _0x2cb94b={[_0x1cc718]:_0x579930[_0x598bcd(0xae)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xd05168,'maskBuffer':this[_0x598bcd(0x18e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x598bcd(0x1f2)]!==_0x5c1755?this[_0x598bcd(0x21e)]([this['dispatch'],_0x579930,!0x1,_0x2cb94b,_0x475e7c]):this['sendFrame'](_0x4914f0[_0x598bcd(0x16f)](_0x579930,_0x2cb94b),_0x475e7c);}['ping'](_0x356d59,_0x7ce57c,_0x887c71){const _0x16984a=_0x4c8f30;let _0x28fc15,_0x3bd86a;if(typeof _0x356d59==_0x16984a(0xc3)?(_0x28fc15=Buffer[_0x16984a(0x1d7)](_0x356d59),_0x3bd86a=!0x1):_0x289253(_0x356d59)?(_0x28fc15=_0x356d59[_0x16984a(0x1a9)],_0x3bd86a=!0x1):(_0x356d59=_0x92a323(_0x356d59),_0x28fc15=_0x356d59[_0x16984a(0xae)],_0x3bd86a=_0x92a323[_0x16984a(0x89)]),_0x28fc15>0x7d)throw new RangeError(_0x16984a(0x14e));const _0xd54491={[_0x1cc718]:_0x28fc15,'fin':!0x0,'generateMask':this[_0x16984a(0x7a)],'mask':_0x7ce57c,'maskBuffer':this[_0x16984a(0x18e)],'opcode':0x9,'readOnly':_0x3bd86a,'rsv1':!0x1};_0x289253(_0x356d59)?this[_0x16984a(0x1f2)]!==_0x5c1755?this[_0x16984a(0x21e)]([this[_0x16984a(0x192)],_0x356d59,!0x1,_0xd54491,_0x887c71]):this['getBlobData'](_0x356d59,!0x1,_0xd54491,_0x887c71):this[_0x16984a(0x1f2)]!==_0x5c1755?this[_0x16984a(0x21e)]([this[_0x16984a(0x171)],_0x356d59,!0x1,_0xd54491,_0x887c71]):this[_0x16984a(0xd0)](_0x4914f0[_0x16984a(0x16f)](_0x356d59,_0xd54491),_0x887c71);}[_0x4c8f30(0x199)](_0x451490,_0x4ad221,_0x578ac6){const _0x2b137b=_0x4c8f30;let _0x2caf55,_0x58f353;if(typeof _0x451490==_0x2b137b(0xc3)?(_0x2caf55=Buffer['byteLength'](_0x451490),_0x58f353=!0x1):_0x289253(_0x451490)?(_0x2caf55=_0x451490['size'],_0x58f353=!0x1):(_0x451490=_0x92a323(_0x451490),_0x2caf55=_0x451490[_0x2b137b(0xae)],_0x58f353=_0x92a323[_0x2b137b(0x89)]),_0x2caf55>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3c5496={[_0x1cc718]:_0x2caf55,'fin':!0x0,'generateMask':this[_0x2b137b(0x7a)],'mask':_0x4ad221,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x58f353,'rsv1':!0x1};_0x289253(_0x451490)?this[_0x2b137b(0x1f2)]!==_0x5c1755?this['enqueue']([this[_0x2b137b(0x192)],_0x451490,!0x1,_0x3c5496,_0x578ac6]):this[_0x2b137b(0x192)](_0x451490,!0x1,_0x3c5496,_0x578ac6):this['_state']!==_0x5c1755?this[_0x2b137b(0x21e)]([this[_0x2b137b(0x171)],_0x451490,!0x1,_0x3c5496,_0x578ac6]):this['sendFrame'](_0x4914f0[_0x2b137b(0x16f)](_0x451490,_0x3c5496),_0x578ac6);}[_0x4c8f30(0x1a3)](_0x5ecdda,_0x446472,_0x26191c){const _0x3839c1=_0x4c8f30,_0x1996a9=this[_0x3839c1(0x137)][_0x7e922[_0x3839c1(0x7e)]];let _0x4f37c6=_0x446472[_0x3839c1(0x193)]?0x2:0x1,_0x20d9b0=_0x446472[_0x3839c1(0xd7)],_0x19a583,_0x397fea;typeof _0x5ecdda=='string'?(_0x19a583=Buffer[_0x3839c1(0x1d7)](_0x5ecdda),_0x397fea=!0x1):_0x289253(_0x5ecdda)?(_0x19a583=_0x5ecdda[_0x3839c1(0x1a9)],_0x397fea=!0x1):(_0x5ecdda=_0x92a323(_0x5ecdda),_0x19a583=_0x5ecdda[_0x3839c1(0xae)],_0x397fea=_0x92a323[_0x3839c1(0x89)]),this[_0x3839c1(0x11c)]?(this[_0x3839c1(0x11c)]=!0x1,_0x20d9b0&&_0x1996a9&&_0x1996a9['params'][_0x1996a9['_isServer']?_0x3839c1(0x1d9):'client_no_context_takeover']&&(_0x20d9b0=_0x19a583>=_0x1996a9[_0x3839c1(0x10b)]),this['_compress']=_0x20d9b0):(_0x20d9b0=!0x1,_0x4f37c6=0x0),_0x446472['fin']&&(this['_firstFragment']=!0x0);const _0x320de7={[_0x1cc718]:_0x19a583,'fin':_0x446472[_0x3839c1(0x14f)],'generateMask':this[_0x3839c1(0x7a)],'mask':_0x446472[_0x3839c1(0x219)],'maskBuffer':this[_0x3839c1(0x18e)],'opcode':_0x4f37c6,'readOnly':_0x397fea,'rsv1':_0x20d9b0};_0x289253(_0x5ecdda)?this[_0x3839c1(0x1f2)]!==_0x5c1755?this['enqueue']([this['getBlobData'],_0x5ecdda,this['_compress'],_0x320de7,_0x26191c]):this[_0x3839c1(0x192)](_0x5ecdda,this['_compress'],_0x320de7,_0x26191c):this['_state']!==_0x5c1755?this[_0x3839c1(0x21e)]([this[_0x3839c1(0x171)],_0x5ecdda,this[_0x3839c1(0x168)],_0x320de7,_0x26191c]):this['dispatch'](_0x5ecdda,this['_compress'],_0x320de7,_0x26191c);}[_0x4c8f30(0x192)](_0x50521c,_0x25c1fc,_0x295144,_0x113b78){const _0xf68f0c=_0x4c8f30;this[_0xf68f0c(0x12b)]+=_0x295144[_0x1cc718],this[_0xf68f0c(0x1f2)]=_0x845619,_0x50521c[_0xf68f0c(0x1fc)]()[_0xf68f0c(0x19f)](_0x1d3057=>{const _0x4245ff=_0xf68f0c;if(this[_0x4245ff(0x142)]['destroyed']){const _0x1fe2c=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x4245ff(0x191)](_0x58eee7,this,_0x1fe2c,_0x113b78);return;}this[_0x4245ff(0x12b)]-=_0x295144[_0x1cc718];const _0x18eda7=_0x92a323(_0x1d3057);_0x25c1fc?this[_0x4245ff(0x171)](_0x18eda7,_0x25c1fc,_0x295144,_0x113b78):(this[_0x4245ff(0x1f2)]=_0x5c1755,this[_0x4245ff(0xd0)](_0x4914f0['frame'](_0x18eda7,_0x295144),_0x113b78),this[_0x4245ff(0x20b)]());})[_0xf68f0c(0x120)](_0x2c3a92=>{process['nextTick'](_0x4ff88e,this,_0x2c3a92,_0x113b78);});}[_0x4c8f30(0x171)](_0x4d3544,_0x2eb5b1,_0x11c033,_0x1997f9){const _0x29200e=_0x4c8f30;if(!_0x2eb5b1){this[_0x29200e(0xd0)](_0x4914f0[_0x29200e(0x16f)](_0x4d3544,_0x11c033),_0x1997f9);return;}const _0x31e09a=this[_0x29200e(0x137)][_0x7e922[_0x29200e(0x7e)]];this[_0x29200e(0x12b)]+=_0x11c033[_0x1cc718],this[_0x29200e(0x1f2)]=_0x25df22,_0x31e09a['compress'](_0x4d3544,_0x11c033['fin'],(_0x416866,_0x2b3fb0)=>{const _0x433588=_0x29200e;if(this[_0x433588(0x142)][_0x433588(0xca)]){const _0x3ffc34=new Error(_0x433588(0xbb));_0x58eee7(this,_0x3ffc34,_0x1997f9);return;}this[_0x433588(0x12b)]-=_0x11c033[_0x1cc718],this['_state']=_0x5c1755,_0x11c033[_0x433588(0x89)]=!0x1,this['sendFrame'](_0x4914f0[_0x433588(0x16f)](_0x2b3fb0,_0x11c033),_0x1997f9),this['dequeue']();});}['dequeue'](){const _0x2c4d69=_0x4c8f30;for(;this['_state']===_0x5c1755&&this[_0x2c4d69(0xa2)]['length'];){const _0x4336f3=this[_0x2c4d69(0xa2)][_0x2c4d69(0x157)]();this[_0x2c4d69(0x12b)]-=_0x4336f3[0x3][_0x1cc718],Reflect[_0x2c4d69(0x173)](_0x4336f3[0x0],this,_0x4336f3[_0x2c4d69(0x18d)](0x1));}}[_0x4c8f30(0x21e)](_0x3a34f3){const _0x3ad680=_0x4c8f30;this[_0x3ad680(0x12b)]+=_0x3a34f3[0x3][_0x1cc718],this[_0x3ad680(0xa2)][_0x3ad680(0xa3)](_0x3a34f3);}[_0x4c8f30(0xd0)](_0x293b04,_0xc07df3){const _0x3f9502=_0x4c8f30;_0x293b04[_0x3f9502(0xae)]===0x2?(this['_socket'][_0x3f9502(0x6e)](),this['_socket']['write'](_0x293b04[0x0]),this[_0x3f9502(0x142)]['write'](_0x293b04[0x1],_0xc07df3),this['_socket'][_0x3f9502(0x228)]()):this[_0x3f9502(0x142)][_0x3f9502(0x1ef)](_0x293b04[0x0],_0xc07df3);}}Ee=_0x4914f0;function _0x58eee7(_0x5b180e,_0x4e94cf,_0x354f02){const _0x257ad7=_0x4c8f30;typeof _0x354f02==_0x257ad7(0x96)&&_0x354f02(_0x4e94cf);for(let _0x1ac6ad=0x0;_0x1ac6ad<_0x5b180e[_0x257ad7(0xa2)][_0x257ad7(0xae)];_0x1ac6ad++){const _0x4d05ce=_0x5b180e[_0x257ad7(0xa2)][_0x1ac6ad],_0x49c0d2=_0x4d05ce[_0x4d05ce[_0x257ad7(0xae)]-0x1];typeof _0x49c0d2=='function'&&_0x49c0d2(_0x4e94cf);}}function _0x4ff88e(_0x2c6ecf,_0x1a381f,_0x404633){_0x58eee7(_0x2c6ecf,_0x1a381f,_0x404633),_0x2c6ecf['onerror'](_0x1a381f);}return Ee;}var xe,Ze;function It(){const _0x2aab06=_0x3a40e3;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2e3d28,kListener:_0x1e2fda}=H(),_0x35ebef=Symbol(_0x2aab06(0x21f)),_0x4e998b=Symbol(_0x2aab06(0xb1)),_0x20ce27=Symbol('kError'),_0x419e34=Symbol(_0x2aab06(0x14b)),_0x45594e=Symbol(_0x2aab06(0x1e3)),_0x3c6b3a=Symbol(_0x2aab06(0x236)),_0x2c06ee=Symbol(_0x2aab06(0x6b)),_0x3bfe8e=Symbol(_0x2aab06(0xa8));class _0x5eeec4{constructor(_0x2eeca7){this[_0x3c6b3a]=null,this[_0x2c06ee]=_0x2eeca7;}get['target'](){return this[_0x3c6b3a];}get[_0x2aab06(0x204)](){return this[_0x2c06ee];}}Object[_0x2aab06(0xd6)](_0x5eeec4['prototype'],_0x2aab06(0x1ec),{'enumerable':!0x0}),Object[_0x2aab06(0xd6)](_0x5eeec4['prototype'],'type',{'enumerable':!0x0});class _0xe3e020 extends _0x5eeec4{constructor(_0x156e73,_0x83a28c={}){const _0xd606e5=_0x2aab06;super(_0x156e73),this[_0x35ebef]=_0x83a28c[_0xd606e5(0x1df)]===void 0x0?0x0:_0x83a28c[_0xd606e5(0x1df)],this[_0x45594e]=_0x83a28c[_0xd606e5(0x11d)]===void 0x0?'':_0x83a28c['reason'],this[_0x3bfe8e]=_0x83a28c[_0xd606e5(0x1cb)]===void 0x0?!0x1:_0x83a28c[_0xd606e5(0x1cb)];}get[_0x2aab06(0x1df)](){return this[_0x35ebef];}get[_0x2aab06(0x11d)](){return this[_0x45594e];}get[_0x2aab06(0x1cb)](){return this[_0x3bfe8e];}}Object[_0x2aab06(0xd6)](_0xe3e020['prototype'],_0x2aab06(0x1df),{'enumerable':!0x0}),Object[_0x2aab06(0xd6)](_0xe3e020[_0x2aab06(0x203)],_0x2aab06(0x11d),{'enumerable':!0x0}),Object[_0x2aab06(0xd6)](_0xe3e020[_0x2aab06(0x203)],_0x2aab06(0x1cb),{'enumerable':!0x0});class _0xeb58d0 extends _0x5eeec4{constructor(_0x74103f,_0x4698e3={}){const _0x3024bc=_0x2aab06;super(_0x74103f),this[_0x20ce27]=_0x4698e3['error']===void 0x0?null:_0x4698e3[_0x3024bc(0x6c)],this[_0x419e34]=_0x4698e3[_0x3024bc(0x125)]===void 0x0?'':_0x4698e3['message'];}get['error'](){return this[_0x20ce27];}get[_0x2aab06(0x125)](){return this[_0x419e34];}}Object['defineProperty'](_0xeb58d0[_0x2aab06(0x203)],_0x2aab06(0x6c),{'enumerable':!0x0}),Object['defineProperty'](_0xeb58d0[_0x2aab06(0x203)],_0x2aab06(0x125),{'enumerable':!0x0});class _0x55d25d extends _0x5eeec4{constructor(_0x4a9ac2,_0x577337={}){const _0xe4d96f=_0x2aab06;super(_0x4a9ac2),this[_0x4e998b]=_0x577337['data']===void 0x0?null:_0x577337[_0xe4d96f(0xdc)];}get[_0x2aab06(0xdc)](){return this[_0x4e998b];}}Object[_0x2aab06(0xd6)](_0x55d25d[_0x2aab06(0x203)],_0x2aab06(0xdc),{'enumerable':!0x0}),xe={'CloseEvent':_0xe3e020,'ErrorEvent':_0xeb58d0,'Event':_0x5eeec4,'EventTarget':{'addEventListener'(_0x34ac55,_0x1cf8bb,_0x3f9fea={}){const _0x19b877=_0x2aab06;for(const _0x3d4e69 of this['listeners'](_0x34ac55))if(!_0x3f9fea[_0x2e3d28]&&_0x3d4e69[_0x1e2fda]===_0x1cf8bb&&!_0x3d4e69[_0x2e3d28])return;let _0x12840d;if(_0x34ac55===_0x19b877(0x125))_0x12840d=function(_0x4197eb,_0x21bad9){const _0xbd5ad5=_0x19b877,_0x570a26=new _0x55d25d(_0xbd5ad5(0x125),{'data':_0x21bad9?_0x4197eb:_0x4197eb[_0xbd5ad5(0x1c0)]()});_0x570a26[_0x3c6b3a]=this,_0x458612(_0x1cf8bb,this,_0x570a26);};else{if(_0x34ac55===_0x19b877(0x1ca))_0x12840d=function(_0x3b3534,_0x2a5f28){const _0x219954=_0x19b877,_0x4c7a95=new _0xe3e020(_0x219954(0x1ca),{'code':_0x3b3534,'reason':_0x2a5f28[_0x219954(0x1c0)](),'wasClean':this[_0x219954(0x21b)]&&this[_0x219954(0xff)]});_0x4c7a95[_0x3c6b3a]=this,_0x458612(_0x1cf8bb,this,_0x4c7a95);};else{if(_0x34ac55===_0x19b877(0x6c))_0x12840d=function(_0xf812f8){const _0x43d87a=_0x19b877,_0x1864a3=new _0xeb58d0(_0x43d87a(0x6c),{'error':_0xf812f8,'message':_0xf812f8[_0x43d87a(0x125)]});_0x1864a3[_0x3c6b3a]=this,_0x458612(_0x1cf8bb,this,_0x1864a3);};else{if(_0x34ac55===_0x19b877(0x1b8))_0x12840d=function(){const _0x333923=_0x19b877,_0x3670a4=new _0x5eeec4(_0x333923(0x1b8));_0x3670a4[_0x3c6b3a]=this,_0x458612(_0x1cf8bb,this,_0x3670a4);};else return;}}}_0x12840d[_0x2e3d28]=!!_0x3f9fea[_0x2e3d28],_0x12840d[_0x1e2fda]=_0x1cf8bb,_0x3f9fea[_0x19b877(0x1cc)]?this[_0x19b877(0x1cc)](_0x34ac55,_0x12840d):this['on'](_0x34ac55,_0x12840d);},'removeEventListener'(_0x1c3c4b,_0x39ea44){const _0x543ae2=_0x2aab06;for(const _0x4713a2 of this[_0x543ae2(0x154)](_0x1c3c4b))if(_0x4713a2[_0x1e2fda]===_0x39ea44&&!_0x4713a2[_0x2e3d28]){this[_0x543ae2(0xfa)](_0x1c3c4b,_0x4713a2);break;}}},'MessageEvent':_0x55d25d};function _0x458612(_0x5826c8,_0x4c9d61,_0x18cdbf){const _0x11f668=_0x2aab06;typeof _0x5826c8==_0x11f668(0x112)&&_0x5826c8[_0x11f668(0x1a8)]?_0x5826c8[_0x11f668(0x1a8)][_0x11f668(0x9d)](_0x5826c8,_0x18cdbf):_0x5826c8[_0x11f668(0x9d)](_0x4c9d61,_0x18cdbf);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2340ff}=ae();function _0x1aecff(_0x1b4c38,_0x38ba43,_0x136cda){const _0xd8d8cf=_0x34fb;_0x1b4c38[_0x38ba43]===void 0x0?_0x1b4c38[_0x38ba43]=[_0x136cda]:_0x1b4c38[_0x38ba43][_0xd8d8cf(0xa3)](_0x136cda);}function _0x26f915(_0x5176e1){const _0x5841cb=_0x34fb,_0x2241c7=Object[_0x5841cb(0x211)](null);let _0x831d19=Object[_0x5841cb(0x211)](null),_0x185f63=!0x1,_0x3336ee=!0x1,_0x3056c8=!0x1,_0x414ff0,_0x5183e9,_0x3959c0=-0x1,_0x36bbac=-0x1,_0x242071=-0x1,_0xf9a928=0x0;for(;_0xf9a928<_0x5176e1[_0x5841cb(0xae)];_0xf9a928++)if(_0x36bbac=_0x5176e1['charCodeAt'](_0xf9a928),_0x414ff0===void 0x0){if(_0x242071===-0x1&&_0x2340ff[_0x36bbac]===0x1)_0x3959c0===-0x1&&(_0x3959c0=_0xf9a928);else{if(_0xf9a928!==0x0&&(_0x36bbac===0x20||_0x36bbac===0x9))_0x242071===-0x1&&_0x3959c0!==-0x1&&(_0x242071=_0xf9a928);else{if(_0x36bbac===0x3b||_0x36bbac===0x2c){if(_0x3959c0===-0x1)throw new SyntaxError(_0x5841cb(0x11a)+_0xf9a928);_0x242071===-0x1&&(_0x242071=_0xf9a928);const _0x4cc532=_0x5176e1[_0x5841cb(0x18d)](_0x3959c0,_0x242071);_0x36bbac===0x2c?(_0x1aecff(_0x2241c7,_0x4cc532,_0x831d19),_0x831d19=Object[_0x5841cb(0x211)](null)):_0x414ff0=_0x4cc532,_0x3959c0=_0x242071=-0x1;}else throw new SyntaxError(_0x5841cb(0x11a)+_0xf9a928);}}}else{if(_0x5183e9===void 0x0){if(_0x242071===-0x1&&_0x2340ff[_0x36bbac]===0x1)_0x3959c0===-0x1&&(_0x3959c0=_0xf9a928);else{if(_0x36bbac===0x20||_0x36bbac===0x9)_0x242071===-0x1&&_0x3959c0!==-0x1&&(_0x242071=_0xf9a928);else{if(_0x36bbac===0x3b||_0x36bbac===0x2c){if(_0x3959c0===-0x1)throw new SyntaxError(_0x5841cb(0x11a)+_0xf9a928);_0x242071===-0x1&&(_0x242071=_0xf9a928),_0x1aecff(_0x831d19,_0x5176e1[_0x5841cb(0x18d)](_0x3959c0,_0x242071),!0x0),_0x36bbac===0x2c&&(_0x1aecff(_0x2241c7,_0x414ff0,_0x831d19),_0x831d19=Object[_0x5841cb(0x211)](null),_0x414ff0=void 0x0),_0x3959c0=_0x242071=-0x1;}else{if(_0x36bbac===0x3d&&_0x3959c0!==-0x1&&_0x242071===-0x1)_0x5183e9=_0x5176e1['slice'](_0x3959c0,_0xf9a928),_0x3959c0=_0x242071=-0x1;else throw new SyntaxError(_0x5841cb(0x11a)+_0xf9a928);}}}}else{if(_0x3336ee){if(_0x2340ff[_0x36bbac]!==0x1)throw new SyntaxError(_0x5841cb(0x11a)+_0xf9a928);_0x3959c0===-0x1?_0x3959c0=_0xf9a928:_0x185f63||(_0x185f63=!0x0),_0x3336ee=!0x1;}else{if(_0x3056c8){if(_0x2340ff[_0x36bbac]===0x1)_0x3959c0===-0x1&&(_0x3959c0=_0xf9a928);else{if(_0x36bbac===0x22&&_0x3959c0!==-0x1)_0x3056c8=!0x1,_0x242071=_0xf9a928;else{if(_0x36bbac===0x5c)_0x3336ee=!0x0;else throw new SyntaxError(_0x5841cb(0x11a)+_0xf9a928);}}}else{if(_0x36bbac===0x22&&_0x5176e1[_0x5841cb(0x1e8)](_0xf9a928-0x1)===0x3d)_0x3056c8=!0x0;else{if(_0x242071===-0x1&&_0x2340ff[_0x36bbac]===0x1)_0x3959c0===-0x1&&(_0x3959c0=_0xf9a928);else{if(_0x3959c0!==-0x1&&(_0x36bbac===0x20||_0x36bbac===0x9))_0x242071===-0x1&&(_0x242071=_0xf9a928);else{if(_0x36bbac===0x3b||_0x36bbac===0x2c){if(_0x3959c0===-0x1)throw new SyntaxError(_0x5841cb(0x11a)+_0xf9a928);_0x242071===-0x1&&(_0x242071=_0xf9a928);let _0x349bb9=_0x5176e1[_0x5841cb(0x18d)](_0x3959c0,_0x242071);_0x185f63&&(_0x349bb9=_0x349bb9['replace'](/\\/g,''),_0x185f63=!0x1),_0x1aecff(_0x831d19,_0x5183e9,_0x349bb9),_0x36bbac===0x2c&&(_0x1aecff(_0x2241c7,_0x414ff0,_0x831d19),_0x831d19=Object['create'](null),_0x414ff0=void 0x0),_0x5183e9=void 0x0,_0x3959c0=_0x242071=-0x1;}else throw new SyntaxError(_0x5841cb(0x11a)+_0xf9a928);}}}}}}}if(_0x3959c0===-0x1||_0x3056c8||_0x36bbac===0x20||_0x36bbac===0x9)throw new SyntaxError(_0x5841cb(0x110));_0x242071===-0x1&&(_0x242071=_0xf9a928);const _0x3a334e=_0x5176e1[_0x5841cb(0x18d)](_0x3959c0,_0x242071);return _0x414ff0===void 0x0?_0x1aecff(_0x2241c7,_0x3a334e,_0x831d19):(_0x5183e9===void 0x0?_0x1aecff(_0x831d19,_0x3a334e,!0x0):_0x185f63?_0x1aecff(_0x831d19,_0x5183e9,_0x3a334e[_0x5841cb(0x106)](/\\/g,'')):_0x1aecff(_0x831d19,_0x5183e9,_0x3a334e),_0x1aecff(_0x2241c7,_0x414ff0,_0x831d19)),_0x2241c7;}function _0x341b77(_0x4723ae){const _0x104fe3=_0x34fb;return Object[_0x104fe3(0x1e2)](_0x4723ae)['map'](_0x1d4487=>{const _0x2187af=_0x104fe3;let _0x25076f=_0x4723ae[_0x1d4487];return Array[_0x2187af(0x10a)](_0x25076f)||(_0x25076f=[_0x25076f]),_0x25076f['map'](_0x2f929a=>[_0x1d4487][_0x2187af(0x123)](Object[_0x2187af(0x1e2)](_0x2f929a)[_0x2187af(0x79)](_0x15561d=>{const _0x1c8114=_0x2187af;let _0x2b2ea6=_0x2f929a[_0x15561d];return Array['isArray'](_0x2b2ea6)||(_0x2b2ea6=[_0x2b2ea6]),_0x2b2ea6[_0x1c8114(0x79)](_0x3b8983=>_0x3b8983===!0x0?_0x15561d:_0x15561d+'='+_0x3b8983)[_0x1c8114(0x206)](';\x20');}))['join'](';\x20'))[_0x2187af(0x206)](',\x20');})['join'](',\x20');}return be={'format':_0x341b77,'parse':_0x26f915},be;}var we,Je;function Pe(){const _0x2d4b26=_0x3a40e3;if(Je)return we;Je=0x1;const _0x3e2036=nt,_0x38e96d=vt,_0x38ff63=ot,_0x5aedad=St,_0x17ec8f=Et,{randomBytes:_0x389de8,createHash:_0x25a770}=Le,{Duplex:_0x2d923a,Readable:_0x1ee4d1}=oe,{URL:_0x4d0b70}=xt,_0x10cfc4=he(),_0x2b5a30=lt(),_0x1d0616=ft(),{isBlob:_0x7d4559}=ae(),{BINARY_TYPES:_0x5cea41,EMPTY_BUFFER:_0x394786,GUID:_0x5f9d38,kForOnEventAttribute:_0x22a8bc,kListener:_0x3231d0,kStatusCode:_0x87e0e5,kWebSocket:_0x5bb65b,NOOP:_0x3bce76}=H(),{EventTarget:{addEventListener:_0x8da7b9,removeEventListener:_0x173347}}=It(),{format:_0x13c51f,parse:_0xa23893}=ct(),{toBuffer:_0x41bd6f}=ce(),_0xcc70=0x1e*0x3e8,_0x49b2df=Symbol('kAborted'),_0x42e962=[0x8,0xd],_0x44001b=[_0x2d4b26(0x1cd),_0x2d4b26(0x10c),_0x2d4b26(0xa7),_0x2d4b26(0x16b)],_0x38b8c3=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3ac443 extends _0x3e2036{constructor(_0x26bead,_0x247c03,_0x73b210){const _0x1fa86f=_0x2d4b26;super(),this[_0x1fa86f(0x17c)]=_0x5cea41[0x0],this[_0x1fa86f(0x178)]=0x3ee,this[_0x1fa86f(0x21b)]=!0x1,this[_0x1fa86f(0xff)]=!0x1,this['_closeMessage']=_0x394786,this['_closeTimer']=null,this[_0x1fa86f(0x70)]=!0x1,this[_0x1fa86f(0x137)]={},this[_0x1fa86f(0x100)]=!0x1,this[_0x1fa86f(0x190)]='',this['_readyState']=_0x3ac443[_0x1fa86f(0x1cd)],this[_0x1fa86f(0x11f)]=null,this[_0x1fa86f(0x197)]=null,this['_socket']=null,_0x26bead!==null?(this[_0x1fa86f(0x22c)]=0x0,this[_0x1fa86f(0xb2)]=!0x1,this[_0x1fa86f(0x156)]=0x0,_0x247c03===void 0x0?_0x247c03=[]:Array['isArray'](_0x247c03)||(typeof _0x247c03==_0x1fa86f(0x112)&&_0x247c03!==null?(_0x73b210=_0x247c03,_0x247c03=[]):_0x247c03=[_0x247c03]),_0x8c615a(this,_0x26bead,_0x247c03,_0x73b210)):(this['_autoPong']=_0x73b210[_0x1fa86f(0x7b)],this[_0x1fa86f(0xb2)]=!0x0);}get['binaryType'](){const _0x11d30f=_0x2d4b26;return this[_0x11d30f(0x17c)];}set[_0x2d4b26(0x237)](_0x3d700c){const _0x3c9237=_0x2d4b26;_0x5cea41[_0x3c9237(0x1d0)](_0x3d700c)&&(this[_0x3c9237(0x17c)]=_0x3d700c,this[_0x3c9237(0x11f)]&&(this[_0x3c9237(0x11f)][_0x3c9237(0x17c)]=_0x3d700c));}get[_0x2d4b26(0x185)](){const _0x9a471b=_0x2d4b26;return this[_0x9a471b(0x142)]?this[_0x9a471b(0x142)][_0x9a471b(0xfe)]['length']+this[_0x9a471b(0x197)][_0x9a471b(0x12b)]:this[_0x9a471b(0x22c)];}get[_0x2d4b26(0x121)](){const _0x422837=_0x2d4b26;return Object[_0x422837(0x1e2)](this[_0x422837(0x137)])[_0x422837(0x206)]();}get[_0x2d4b26(0xc6)](){const _0x5cab27=_0x2d4b26;return this[_0x5cab27(0x100)];}get[_0x2d4b26(0xa6)](){return null;}get[_0x2d4b26(0x15c)](){return null;}get[_0x2d4b26(0x202)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get['readyState'](){const _0x3dde09=_0x2d4b26;return this[_0x3dde09(0x195)];}get[_0x2d4b26(0x104)](){const _0x5a9585=_0x2d4b26;return this[_0x5a9585(0x1aa)];}[_0x2d4b26(0x21d)](_0x5c4339,_0x4f2ffe,_0x56129f){const _0x5317a3=_0x2d4b26,_0x14412e=new _0x2b5a30({'allowSynchronousEvents':_0x56129f['allowSynchronousEvents'],'binaryType':this[_0x5317a3(0x237)],'extensions':this[_0x5317a3(0x137)],'isServer':this[_0x5317a3(0xb2)],'maxPayload':_0x56129f[_0x5317a3(0x19d)],'skipUTF8Validation':_0x56129f[_0x5317a3(0x127)]}),_0x3b0158=new _0x1d0616(_0x5c4339,this[_0x5317a3(0x137)],_0x56129f[_0x5317a3(0x1e7)]);this['_receiver']=_0x14412e,this['_sender']=_0x3b0158,this[_0x5317a3(0x142)]=_0x5c4339,_0x14412e[_0x5bb65b]=this,_0x3b0158[_0x5bb65b]=this,_0x5c4339[_0x5bb65b]=this,_0x14412e['on'](_0x5317a3(0x97),_0x5d93a8),_0x14412e['on'](_0x5317a3(0x20f),_0x5e3657),_0x14412e['on'](_0x5317a3(0x6c),_0x4acc0a),_0x14412e['on']('message',_0x3333c4),_0x14412e['on'](_0x5317a3(0x1d5),_0x534a57),_0x14412e['on'](_0x5317a3(0x199),_0x59f14e),_0x3b0158[_0x5317a3(0x15c)]=_0x15e291,_0x5c4339[_0x5317a3(0x74)]&&_0x5c4339[_0x5317a3(0x74)](0x0),_0x5c4339['setNoDelay']&&_0x5c4339[_0x5317a3(0xf3)](),_0x4f2ffe['length']>0x0&&_0x5c4339[_0x5317a3(0xe6)](_0x4f2ffe),_0x5c4339['on'](_0x5317a3(0x1ca),_0xf7d9f1),_0x5c4339['on'](_0x5317a3(0xdc),_0x457a90),_0x5c4339['on'](_0x5317a3(0x8d),_0x2cd050),_0x5c4339['on'](_0x5317a3(0x6c),_0x1d833f),this['_readyState']=_0x3ac443['OPEN'],this['emit']('open');}[_0x2d4b26(0xad)](){const _0x4f1b48=_0x2d4b26;if(!this[_0x4f1b48(0x142)]){this['_readyState']=_0x3ac443[_0x4f1b48(0x16b)],this['emit'](_0x4f1b48(0x1ca),this[_0x4f1b48(0x178)],this['_closeMessage']);return;}this[_0x4f1b48(0x137)][_0x10cfc4[_0x4f1b48(0x7e)]]&&this[_0x4f1b48(0x137)][_0x10cfc4['extensionName']][_0x4f1b48(0x1f9)](),this[_0x4f1b48(0x11f)][_0x4f1b48(0x76)](),this[_0x4f1b48(0x195)]=_0x3ac443[_0x4f1b48(0x16b)],this['emit']('close',this[_0x4f1b48(0x178)],this[_0x4f1b48(0x16a)]);}['close'](_0x39b6bd,_0x403e42){const _0x43e16a=_0x2d4b26;if(this['readyState']!==_0x3ac443['CLOSED']){if(this['readyState']===_0x3ac443[_0x43e16a(0x1cd)]){_0x1eae67(this,this[_0x43e16a(0x1bc)],_0x43e16a(0x15f));return;}if(this[_0x43e16a(0x94)]===_0x3ac443['CLOSING']){this[_0x43e16a(0xff)]&&(this[_0x43e16a(0x21b)]||this[_0x43e16a(0x11f)]['_writableState'][_0x43e16a(0xb6)])&&this[_0x43e16a(0x142)]['end']();return;}this[_0x43e16a(0x195)]=_0x3ac443[_0x43e16a(0xa7)],this[_0x43e16a(0x197)]['close'](_0x39b6bd,_0x403e42,!this[_0x43e16a(0xb2)],_0x2469b1=>{const _0x5641c8=_0x43e16a;_0x2469b1||(this['_closeFrameSent']=!0x0,(this[_0x5641c8(0x21b)]||this[_0x5641c8(0x11f)][_0x5641c8(0xfe)][_0x5641c8(0xb6)])&&this[_0x5641c8(0x142)]['end']());}),_0x325b19(this);}}[_0x2d4b26(0x1e4)](){const _0x4c69c1=_0x2d4b26;this['readyState']===_0x3ac443['CONNECTING']||this[_0x4c69c1(0x94)]===_0x3ac443[_0x4c69c1(0x16b)]||(this[_0x4c69c1(0x100)]=!0x0,this[_0x4c69c1(0x142)][_0x4c69c1(0x1e4)]());}[_0x2d4b26(0x1d5)](_0x5b203c,_0x1c1246,_0x348f0f){const _0x51f59f=_0x2d4b26;if(this[_0x51f59f(0x94)]===_0x3ac443['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5b203c=='function'?(_0x348f0f=_0x5b203c,_0x5b203c=_0x1c1246=void 0x0):typeof _0x1c1246==_0x51f59f(0x96)&&(_0x348f0f=_0x1c1246,_0x1c1246=void 0x0),typeof _0x5b203c==_0x51f59f(0x8e)&&(_0x5b203c=_0x5b203c[_0x51f59f(0x1c0)]()),this[_0x51f59f(0x94)]!==_0x3ac443[_0x51f59f(0x10c)]){_0x26afc5(this,_0x5b203c,_0x348f0f);return;}_0x1c1246===void 0x0&&(_0x1c1246=!this[_0x51f59f(0xb2)]),this['_sender'][_0x51f59f(0x1d5)](_0x5b203c||_0x394786,_0x1c1246,_0x348f0f);}['pong'](_0x3d484a,_0x1a9d38,_0x15c97){const _0x2da89e=_0x2d4b26;if(this['readyState']===_0x3ac443['CONNECTING'])throw new Error(_0x2da89e(0x78));if(typeof _0x3d484a==_0x2da89e(0x96)?(_0x15c97=_0x3d484a,_0x3d484a=_0x1a9d38=void 0x0):typeof _0x1a9d38==_0x2da89e(0x96)&&(_0x15c97=_0x1a9d38,_0x1a9d38=void 0x0),typeof _0x3d484a=='number'&&(_0x3d484a=_0x3d484a[_0x2da89e(0x1c0)]()),this[_0x2da89e(0x94)]!==_0x3ac443[_0x2da89e(0x10c)]){_0x26afc5(this,_0x3d484a,_0x15c97);return;}_0x1a9d38===void 0x0&&(_0x1a9d38=!this[_0x2da89e(0xb2)]),this['_sender'][_0x2da89e(0x199)](_0x3d484a||_0x394786,_0x1a9d38,_0x15c97);}[_0x2d4b26(0xc9)](){const _0x20e3ab=_0x2d4b26;this[_0x20e3ab(0x94)]===_0x3ac443[_0x20e3ab(0x1cd)]||this[_0x20e3ab(0x94)]===_0x3ac443['CLOSED']||(this[_0x20e3ab(0x100)]=!0x1,this[_0x20e3ab(0x11f)][_0x20e3ab(0xfe)][_0x20e3ab(0x21c)]||this['_socket'][_0x20e3ab(0xc9)]());}[_0x2d4b26(0x1a3)](_0x42fed9,_0xa6e17f,_0x345346){const _0x19ac39=_0x2d4b26;if(this[_0x19ac39(0x94)]===_0x3ac443[_0x19ac39(0x1cd)])throw new Error(_0x19ac39(0x78));if(typeof _0xa6e17f==_0x19ac39(0x96)&&(_0x345346=_0xa6e17f,_0xa6e17f={}),typeof _0x42fed9==_0x19ac39(0x8e)&&(_0x42fed9=_0x42fed9[_0x19ac39(0x1c0)]()),this[_0x19ac39(0x94)]!==_0x3ac443['OPEN']){_0x26afc5(this,_0x42fed9,_0x345346);return;}const _0xd78205={'binary':typeof _0x42fed9!='string','mask':!this[_0x19ac39(0xb2)],'compress':!0x0,'fin':!0x0,..._0xa6e17f};this[_0x19ac39(0x137)][_0x10cfc4[_0x19ac39(0x7e)]]||(_0xd78205[_0x19ac39(0xd7)]=!0x1),this['_sender'][_0x19ac39(0x1a3)](_0x42fed9||_0x394786,_0xd78205,_0x345346);}[_0x2d4b26(0x117)](){const _0x12baf8=_0x2d4b26;if(this[_0x12baf8(0x94)]!==_0x3ac443[_0x12baf8(0x16b)]){if(this['readyState']===_0x3ac443[_0x12baf8(0x1cd)]){_0x1eae67(this,this[_0x12baf8(0x1bc)],_0x12baf8(0x15f));return;}this[_0x12baf8(0x142)]&&(this[_0x12baf8(0x195)]=_0x3ac443[_0x12baf8(0xa7)],this[_0x12baf8(0x142)][_0x12baf8(0x14c)]());}}}Object[_0x2d4b26(0xd6)](_0x3ac443,'CONNECTING',{'enumerable':!0x0,'value':_0x44001b[_0x2d4b26(0x1f4)](_0x2d4b26(0x1cd))}),Object[_0x2d4b26(0xd6)](_0x3ac443[_0x2d4b26(0x203)],_0x2d4b26(0x1cd),{'enumerable':!0x0,'value':_0x44001b['indexOf'](_0x2d4b26(0x1cd))}),Object['defineProperty'](_0x3ac443,_0x2d4b26(0x10c),{'enumerable':!0x0,'value':_0x44001b[_0x2d4b26(0x1f4)](_0x2d4b26(0x10c))}),Object['defineProperty'](_0x3ac443[_0x2d4b26(0x203)],_0x2d4b26(0x10c),{'enumerable':!0x0,'value':_0x44001b[_0x2d4b26(0x1f4)](_0x2d4b26(0x10c))}),Object[_0x2d4b26(0xd6)](_0x3ac443,_0x2d4b26(0xa7),{'enumerable':!0x0,'value':_0x44001b['indexOf']('CLOSING')}),Object[_0x2d4b26(0xd6)](_0x3ac443[_0x2d4b26(0x203)],_0x2d4b26(0xa7),{'enumerable':!0x0,'value':_0x44001b[_0x2d4b26(0x1f4)](_0x2d4b26(0xa7))}),Object[_0x2d4b26(0xd6)](_0x3ac443,_0x2d4b26(0x16b),{'enumerable':!0x0,'value':_0x44001b[_0x2d4b26(0x1f4)](_0x2d4b26(0x16b))}),Object[_0x2d4b26(0xd6)](_0x3ac443[_0x2d4b26(0x203)],_0x2d4b26(0x16b),{'enumerable':!0x0,'value':_0x44001b['indexOf'](_0x2d4b26(0x16b))}),[_0x2d4b26(0x237),'bufferedAmount',_0x2d4b26(0x121),_0x2d4b26(0xc6),_0x2d4b26(0x77),_0x2d4b26(0x94),_0x2d4b26(0x104)][_0x2d4b26(0x71)](_0x2a2d68=>{const _0x5a371c=_0x2d4b26;Object[_0x5a371c(0xd6)](_0x3ac443[_0x5a371c(0x203)],_0x2a2d68,{'enumerable':!0x0});}),['open',_0x2d4b26(0x6c),_0x2d4b26(0x1ca),'message'][_0x2d4b26(0x71)](_0x4d4a98=>{const _0x11f439=_0x2d4b26;Object['defineProperty'](_0x3ac443[_0x11f439(0x203)],'on'+_0x4d4a98,{'enumerable':!0x0,'get'(){for(const _0x4a85e3 of this['listeners'](_0x4d4a98))if(_0x4a85e3[_0x22a8bc])return _0x4a85e3[_0x3231d0];return null;},'set'(_0x467681){const _0x3b34d3=_0x11f439;for(const _0x58e766 of this[_0x3b34d3(0x154)](_0x4d4a98))if(_0x58e766[_0x22a8bc]){this[_0x3b34d3(0xfa)](_0x4d4a98,_0x58e766);break;}typeof _0x467681==_0x3b34d3(0x96)&&this['addEventListener'](_0x4d4a98,_0x467681,{[_0x22a8bc]:!0x0});}});}),_0x3ac443[_0x2d4b26(0x203)]['addEventListener']=_0x8da7b9,_0x3ac443[_0x2d4b26(0x203)]['removeEventListener']=_0x173347,we=_0x3ac443;function _0x8c615a(_0x481eaa,_0x10c8b4,_0x4cd8d2,_0x593f26){const _0x5f3fa0=_0x2d4b26,_0x302dc5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x42e962[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x593f26,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x481eaa[_0x5f3fa0(0x229)]=_0x302dc5[_0x5f3fa0(0x7b)],!_0x42e962[_0x5f3fa0(0x1d0)](_0x302dc5[_0x5f3fa0(0x1fd)]))throw new RangeError(_0x5f3fa0(0x1b6)+_0x302dc5[_0x5f3fa0(0x1fd)]+'\x20(supported\x20versions:\x20'+_0x42e962['join'](',\x20')+')');let _0x4f306c;if(_0x10c8b4 instanceof _0x4d0b70)_0x4f306c=_0x10c8b4;else try{_0x4f306c=new _0x4d0b70(_0x10c8b4);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x10c8b4);}_0x4f306c[_0x5f3fa0(0x77)]===_0x5f3fa0(0x1ea)?_0x4f306c[_0x5f3fa0(0x77)]=_0x5f3fa0(0x163):_0x4f306c['protocol']===_0x5f3fa0(0x1d1)&&(_0x4f306c[_0x5f3fa0(0x77)]=_0x5f3fa0(0x1c3)),_0x481eaa['_url']=_0x4f306c[_0x5f3fa0(0x11e)];const _0x19be4=_0x4f306c['protocol']===_0x5f3fa0(0x1c3),_0x4236a1=_0x4f306c[_0x5f3fa0(0x77)]==='ws+unix:';let _0x94cd97;if(_0x4f306c['protocol']!=='ws:'&&!_0x19be4&&!_0x4236a1?_0x94cd97='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':_0x4236a1&&!_0x4f306c[_0x5f3fa0(0x148)]?_0x94cd97=_0x5f3fa0(0x214):_0x4f306c[_0x5f3fa0(0x68)]&&(_0x94cd97=_0x5f3fa0(0x187)),_0x94cd97){const _0x4f2290=new SyntaxError(_0x94cd97);if(_0x481eaa['_redirects']===0x0)throw _0x4f2290;_0x4f51f1(_0x481eaa,_0x4f2290);return;}const _0x5458ea=_0x19be4?0x1bb:0x50,_0x42a433=_0x389de8(0x10)[_0x5f3fa0(0x1c0)]('base64'),_0x2176f5=_0x19be4?_0x38e96d[_0x5f3fa0(0x1c2)]:_0x38ff63[_0x5f3fa0(0x1c2)],_0x3c3bdf=new Set();let _0xb3c0bb;if(_0x302dc5[_0x5f3fa0(0xd9)]=_0x302dc5['createConnection']||(_0x19be4?_0x1b4dda:_0x2cf7ca),_0x302dc5['defaultPort']=_0x302dc5[_0x5f3fa0(0x155)]||_0x5458ea,_0x302dc5[_0x5f3fa0(0xc0)]=_0x4f306c['port']||_0x5458ea,_0x302dc5['host']=_0x4f306c[_0x5f3fa0(0x189)][_0x5f3fa0(0x1b4)]('[')?_0x4f306c[_0x5f3fa0(0x189)][_0x5f3fa0(0x18d)](0x1,-0x1):_0x4f306c[_0x5f3fa0(0x189)],_0x302dc5[_0x5f3fa0(0x217)]={..._0x302dc5['headers'],'Sec-WebSocket-Version':_0x302dc5['protocolVersion'],'Sec-WebSocket-Key':_0x42a433,'Connection':_0x5f3fa0(0x132),'Upgrade':_0x5f3fa0(0xc5)},_0x302dc5['path']=_0x4f306c[_0x5f3fa0(0x148)]+_0x4f306c[_0x5f3fa0(0x1ff)],_0x302dc5[_0x5f3fa0(0x1bf)]=_0x302dc5[_0x5f3fa0(0xb7)],_0x302dc5[_0x5f3fa0(0x1a4)]&&(_0xb3c0bb=new _0x10cfc4(_0x302dc5[_0x5f3fa0(0x1a4)]!==!0x0?_0x302dc5[_0x5f3fa0(0x1a4)]:{},!0x1,_0x302dc5[_0x5f3fa0(0x19d)]),_0x302dc5['headers']['Sec-WebSocket-Extensions']=_0x13c51f({[_0x10cfc4[_0x5f3fa0(0x7e)]]:_0xb3c0bb[_0x5f3fa0(0x12e)]()})),_0x4cd8d2[_0x5f3fa0(0xae)]){for(const _0x51f3d8 of _0x4cd8d2){if(typeof _0x51f3d8!=_0x5f3fa0(0xc3)||!_0x38b8c3[_0x5f3fa0(0x200)](_0x51f3d8)||_0x3c3bdf[_0x5f3fa0(0x9f)](_0x51f3d8))throw new SyntaxError(_0x5f3fa0(0x159));_0x3c3bdf['add'](_0x51f3d8);}_0x302dc5[_0x5f3fa0(0x217)]['Sec-WebSocket-Protocol']=_0x4cd8d2[_0x5f3fa0(0x206)](',');}if(_0x302dc5['origin']&&(_0x302dc5[_0x5f3fa0(0x1fd)]<0xd?_0x302dc5['headers'][_0x5f3fa0(0x140)]=_0x302dc5[_0x5f3fa0(0xf2)]:_0x302dc5[_0x5f3fa0(0x217)]['Origin']=_0x302dc5[_0x5f3fa0(0xf2)]),(_0x4f306c[_0x5f3fa0(0x1af)]||_0x4f306c[_0x5f3fa0(0x1d8)])&&(_0x302dc5[_0x5f3fa0(0x186)]=_0x4f306c[_0x5f3fa0(0x1af)]+':'+_0x4f306c[_0x5f3fa0(0x1d8)]),_0x4236a1){const _0x16774f=_0x302dc5[_0x5f3fa0(0x233)][_0x5f3fa0(0x1a1)](':');_0x302dc5[_0x5f3fa0(0x149)]=_0x16774f[0x0],_0x302dc5[_0x5f3fa0(0x233)]=_0x16774f[0x1];}let _0x56da47;if(_0x302dc5[_0x5f3fa0(0x179)]){if(_0x481eaa['_redirects']===0x0){_0x481eaa[_0x5f3fa0(0x8a)]=_0x4236a1,_0x481eaa[_0x5f3fa0(0xbf)]=_0x19be4,_0x481eaa['_originalHostOrSocketPath']=_0x4236a1?_0x302dc5[_0x5f3fa0(0x149)]:_0x4f306c['host'];const _0x29a4f6=_0x593f26&&_0x593f26[_0x5f3fa0(0x217)];if(_0x593f26={..._0x593f26,'headers':{}},_0x29a4f6){for(const [_0x195e51,_0x44f264]of Object['entries'](_0x29a4f6))_0x593f26[_0x5f3fa0(0x217)][_0x195e51[_0x5f3fa0(0x227)]()]=_0x44f264;}}else{if(_0x481eaa[_0x5f3fa0(0x17b)](_0x5f3fa0(0x99))===0x0){const _0x44243f=_0x4236a1?_0x481eaa[_0x5f3fa0(0x8a)]?_0x302dc5[_0x5f3fa0(0x149)]===_0x481eaa[_0x5f3fa0(0x67)]:!0x1:_0x481eaa[_0x5f3fa0(0x8a)]?!0x1:_0x4f306c['host']===_0x481eaa[_0x5f3fa0(0x67)];(!_0x44243f||_0x481eaa[_0x5f3fa0(0xbf)]&&!_0x19be4)&&(delete _0x302dc5[_0x5f3fa0(0x217)][_0x5f3fa0(0x1c4)],delete _0x302dc5[_0x5f3fa0(0x217)][_0x5f3fa0(0xfb)],_0x44243f||delete _0x302dc5['headers'][_0x5f3fa0(0x91)],_0x302dc5['auth']=void 0x0);}}_0x302dc5[_0x5f3fa0(0x186)]&&!_0x593f26[_0x5f3fa0(0x217)][_0x5f3fa0(0x1c4)]&&(_0x593f26[_0x5f3fa0(0x217)][_0x5f3fa0(0x1c4)]=_0x5f3fa0(0xa9)+Buffer[_0x5f3fa0(0x215)](_0x302dc5['auth'])[_0x5f3fa0(0x1c0)]('base64')),_0x56da47=_0x481eaa[_0x5f3fa0(0x1bc)]=_0x2176f5(_0x302dc5),_0x481eaa['_redirects']&&_0x481eaa[_0x5f3fa0(0x14a)](_0x5f3fa0(0x99),_0x481eaa[_0x5f3fa0(0x104)],_0x56da47);}else _0x56da47=_0x481eaa[_0x5f3fa0(0x1bc)]=_0x2176f5(_0x302dc5);_0x302dc5[_0x5f3fa0(0x1bf)]&&_0x56da47['on'](_0x5f3fa0(0x1bf),()=>{const _0x1d701d=_0x5f3fa0;_0x1eae67(_0x481eaa,_0x56da47,_0x1d701d(0x1a6));}),_0x56da47['on'](_0x5f3fa0(0x6c),_0x1c6adc=>{_0x56da47===null||_0x56da47[_0x49b2df]||(_0x56da47=_0x481eaa['_req']=null,_0x4f51f1(_0x481eaa,_0x1c6adc));}),_0x56da47['on'](_0x5f3fa0(0x19b),_0x29ccd2=>{const _0x558ab0=_0x5f3fa0,_0xf3af63=_0x29ccd2[_0x558ab0(0x217)][_0x558ab0(0x138)],_0x540bca=_0x29ccd2[_0x558ab0(0xaa)];if(_0xf3af63&&_0x302dc5[_0x558ab0(0x179)]&&_0x540bca>=0x12c&&_0x540bca<0x190){if(++_0x481eaa[_0x558ab0(0x156)]>_0x302dc5[_0x558ab0(0x114)]){_0x1eae67(_0x481eaa,_0x56da47,'Maximum\x20redirects\x20exceeded');return;}_0x56da47[_0x558ab0(0x151)]();let _0x54819d;try{_0x54819d=new _0x4d0b70(_0xf3af63,_0x10c8b4);}catch{const _0x8df189=new SyntaxError('Invalid\x20URL:\x20'+_0xf3af63);_0x4f51f1(_0x481eaa,_0x8df189);return;}_0x8c615a(_0x481eaa,_0x54819d,_0x4cd8d2,_0x593f26);}else _0x481eaa['emit']('unexpected-response',_0x56da47,_0x29ccd2)||_0x1eae67(_0x481eaa,_0x56da47,'Unexpected\x20server\x20response:\x20'+_0x29ccd2['statusCode']);}),_0x56da47['on'](_0x5f3fa0(0x1e5),(_0x59df9c,_0x18190f,_0x1f5a22)=>{const _0x16a3df=_0x5f3fa0;if(_0x481eaa[_0x16a3df(0x14a)](_0x16a3df(0x1e5),_0x59df9c),_0x481eaa[_0x16a3df(0x94)]!==_0x3ac443[_0x16a3df(0x1cd)])return;_0x56da47=_0x481eaa[_0x16a3df(0x1bc)]=null;const _0x149e8b=_0x59df9c[_0x16a3df(0x217)]['upgrade'];if(_0x149e8b===void 0x0||_0x149e8b[_0x16a3df(0x227)]()!=='websocket'){_0x1eae67(_0x481eaa,_0x18190f,_0x16a3df(0x17f));return;}const _0x525e9b=_0x25a770(_0x16a3df(0x1d6))[_0x16a3df(0x143)](_0x42a433+_0x5f9d38)[_0x16a3df(0x150)](_0x16a3df(0x134));if(_0x59df9c[_0x16a3df(0x217)]['sec-websocket-accept']!==_0x525e9b){_0x1eae67(_0x481eaa,_0x18190f,_0x16a3df(0x6f));return;}const _0x417c3d=_0x59df9c['headers'][_0x16a3df(0x152)];let _0xc4f2fe;if(_0x417c3d!==void 0x0?_0x3c3bdf['size']?_0x3c3bdf[_0x16a3df(0x9f)](_0x417c3d)||(_0xc4f2fe='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0xc4f2fe='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x3c3bdf['size']&&(_0xc4f2fe=_0x16a3df(0x7f)),_0xc4f2fe){_0x1eae67(_0x481eaa,_0x18190f,_0xc4f2fe);return;}_0x417c3d&&(_0x481eaa[_0x16a3df(0x190)]=_0x417c3d);const _0x4c9ce2=_0x59df9c[_0x16a3df(0x217)][_0x16a3df(0x9a)];if(_0x4c9ce2!==void 0x0){if(!_0xb3c0bb){_0x1eae67(_0x481eaa,_0x18190f,_0x16a3df(0xd3));return;}let _0x1304c2;try{_0x1304c2=_0xa23893(_0x4c9ce2);}catch{_0x1eae67(_0x481eaa,_0x18190f,_0x16a3df(0x119));return;}const _0x3cd696=Object[_0x16a3df(0x1e2)](_0x1304c2);if(_0x3cd696[_0x16a3df(0xae)]!==0x1||_0x3cd696[0x0]!==_0x10cfc4[_0x16a3df(0x7e)]){_0x1eae67(_0x481eaa,_0x18190f,_0x16a3df(0xe7));return;}try{_0xb3c0bb[_0x16a3df(0x22d)](_0x1304c2[_0x10cfc4['extensionName']]);}catch{_0x1eae67(_0x481eaa,_0x18190f,_0x16a3df(0x119));return;}_0x481eaa[_0x16a3df(0x137)][_0x10cfc4[_0x16a3df(0x7e)]]=_0xb3c0bb;}_0x481eaa[_0x16a3df(0x21d)](_0x18190f,_0x1f5a22,{'allowSynchronousEvents':_0x302dc5[_0x16a3df(0x1bb)],'generateMask':_0x302dc5[_0x16a3df(0x1e7)],'maxPayload':_0x302dc5[_0x16a3df(0x19d)],'skipUTF8Validation':_0x302dc5[_0x16a3df(0x127)]});}),_0x302dc5[_0x5f3fa0(0x216)]?_0x302dc5['finishRequest'](_0x56da47,_0x481eaa):_0x56da47[_0x5f3fa0(0x8d)]();}function _0x4f51f1(_0xf8774,_0x4f0d57){const _0x2b48a3=_0x2d4b26;_0xf8774[_0x2b48a3(0x195)]=_0x3ac443[_0x2b48a3(0xa7)],_0xf8774['_errorEmitted']=!0x0,_0xf8774[_0x2b48a3(0x14a)](_0x2b48a3(0x6c),_0x4f0d57),_0xf8774[_0x2b48a3(0xad)]();}function _0x2cf7ca(_0x2484a3){const _0x28ce97=_0x2d4b26;return _0x2484a3[_0x28ce97(0x233)]=_0x2484a3[_0x28ce97(0x149)],_0x5aedad[_0x28ce97(0xe8)](_0x2484a3);}function _0x1b4dda(_0x29682a){const _0x515cbf=_0x2d4b26;return _0x29682a[_0x515cbf(0x233)]=void 0x0,!_0x29682a[_0x515cbf(0x1e0)]&&_0x29682a['servername']!==''&&(_0x29682a[_0x515cbf(0x1e0)]=_0x5aedad[_0x515cbf(0x101)](_0x29682a[_0x515cbf(0x91)])?'':_0x29682a[_0x515cbf(0x91)]),_0x17ec8f[_0x515cbf(0xe8)](_0x29682a);}function _0x1eae67(_0x45318b,_0x4e6dfa,_0x44b8b7){const _0x3f86f3=_0x2d4b26;_0x45318b[_0x3f86f3(0x195)]=_0x3ac443[_0x3f86f3(0xa7)];const _0x56f4fc=new Error(_0x44b8b7);Error[_0x3f86f3(0x13e)](_0x56f4fc,_0x1eae67),_0x4e6dfa[_0x3f86f3(0xea)]?(_0x4e6dfa[_0x49b2df]=!0x0,_0x4e6dfa[_0x3f86f3(0x151)](),_0x4e6dfa[_0x3f86f3(0x20c)]&&!_0x4e6dfa[_0x3f86f3(0x20c)][_0x3f86f3(0xca)]&&_0x4e6dfa[_0x3f86f3(0x20c)]['destroy'](),process[_0x3f86f3(0x191)](_0x4f51f1,_0x45318b,_0x56f4fc)):(_0x4e6dfa[_0x3f86f3(0x14c)](_0x56f4fc),_0x4e6dfa[_0x3f86f3(0x1cc)](_0x3f86f3(0x6c),_0x45318b[_0x3f86f3(0x14a)]['bind'](_0x45318b,_0x3f86f3(0x6c))),_0x4e6dfa['once'](_0x3f86f3(0x1ca),_0x45318b['emitClose'][_0x3f86f3(0x72)](_0x45318b)));}function _0x26afc5(_0x3829cb,_0x4d9424,_0x16831a){const _0x2a9a82=_0x2d4b26;if(_0x4d9424){const _0x3ab8fa=_0x7d4559(_0x4d9424)?_0x4d9424[_0x2a9a82(0x1a9)]:_0x41bd6f(_0x4d9424)['length'];_0x3829cb[_0x2a9a82(0x142)]?_0x3829cb[_0x2a9a82(0x197)][_0x2a9a82(0x12b)]+=_0x3ab8fa:_0x3829cb['_bufferedAmount']+=_0x3ab8fa;}if(_0x16831a){const _0x1971ea=new Error(_0x2a9a82(0x9c)+_0x3829cb[_0x2a9a82(0x94)]+'\x20('+_0x44001b[_0x3829cb[_0x2a9a82(0x94)]]+')');process[_0x2a9a82(0x191)](_0x16831a,_0x1971ea);}}function _0x5d93a8(_0x5b51b1,_0x28278c){const _0x52307d=_0x2d4b26,_0x2fce3c=this[_0x5bb65b];_0x2fce3c[_0x52307d(0x21b)]=!0x0,_0x2fce3c['_closeMessage']=_0x28278c,_0x2fce3c[_0x52307d(0x178)]=_0x5b51b1,_0x2fce3c[_0x52307d(0x142)][_0x5bb65b]!==void 0x0&&(_0x2fce3c[_0x52307d(0x142)][_0x52307d(0xfa)]('data',_0x457a90),process[_0x52307d(0x191)](_0x5bf25a,_0x2fce3c[_0x52307d(0x142)]),_0x5b51b1===0x3ed?_0x2fce3c[_0x52307d(0x1ca)]():_0x2fce3c[_0x52307d(0x1ca)](_0x5b51b1,_0x28278c));}function _0x5e3657(){const _0x4ad520=_0x2d4b26,_0x5835e8=this[_0x5bb65b];_0x5835e8[_0x4ad520(0xc6)]||_0x5835e8[_0x4ad520(0x142)][_0x4ad520(0xc9)]();}function _0x4acc0a(_0x11a75c){const _0x223f06=_0x2d4b26,_0x1dab8d=this[_0x5bb65b];_0x1dab8d[_0x223f06(0x142)][_0x5bb65b]!==void 0x0&&(_0x1dab8d[_0x223f06(0x142)][_0x223f06(0xfa)](_0x223f06(0xdc),_0x457a90),process['nextTick'](_0x5bf25a,_0x1dab8d[_0x223f06(0x142)]),_0x1dab8d[_0x223f06(0x1ca)](_0x11a75c[_0x87e0e5])),_0x1dab8d[_0x223f06(0x70)]||(_0x1dab8d[_0x223f06(0x70)]=!0x0,_0x1dab8d[_0x223f06(0x14a)]('error',_0x11a75c));}function _0x2a3154(){const _0x404415=_0x2d4b26;this[_0x5bb65b][_0x404415(0xad)]();}function _0x3333c4(_0x13ffd9,_0x1ad387){const _0x576790=_0x2d4b26;this[_0x5bb65b]['emit'](_0x576790(0x125),_0x13ffd9,_0x1ad387);}function _0x534a57(_0x4350b8){const _0x70a8c=_0x2d4b26,_0x140508=this[_0x5bb65b];_0x140508['_autoPong']&&_0x140508['pong'](_0x4350b8,!this[_0x70a8c(0xb2)],_0x3bce76),_0x140508['emit']('ping',_0x4350b8);}function _0x59f14e(_0x26cf9e){const _0x148d0c=_0x2d4b26;this[_0x5bb65b][_0x148d0c(0x14a)](_0x148d0c(0x199),_0x26cf9e);}function _0x5bf25a(_0x426acf){const _0x733a47=_0x2d4b26;_0x426acf[_0x733a47(0xc9)]();}function _0x15e291(_0x2f6282){const _0x5ee7f3=_0x2d4b26,_0x2219a3=this[_0x5bb65b];_0x2219a3[_0x5ee7f3(0x94)]!==_0x3ac443[_0x5ee7f3(0x16b)]&&(_0x2219a3[_0x5ee7f3(0x94)]===_0x3ac443[_0x5ee7f3(0x10c)]&&(_0x2219a3[_0x5ee7f3(0x195)]=_0x3ac443['CLOSING'],_0x325b19(_0x2219a3)),this[_0x5ee7f3(0x142)][_0x5ee7f3(0x8d)](),_0x2219a3[_0x5ee7f3(0x70)]||(_0x2219a3['_errorEmitted']=!0x0,_0x2219a3[_0x5ee7f3(0x14a)](_0x5ee7f3(0x6c),_0x2f6282)));}function _0x325b19(_0x5b8356){const _0xc3f6f=_0x2d4b26;_0x5b8356[_0xc3f6f(0x126)]=setTimeout(_0x5b8356[_0xc3f6f(0x142)][_0xc3f6f(0x14c)][_0xc3f6f(0x72)](_0x5b8356[_0xc3f6f(0x142)]),_0xcc70);}function _0xf7d9f1(){const _0x4ede44=_0x2d4b26,_0x36c233=this[_0x5bb65b];this[_0x4ede44(0xfa)](_0x4ede44(0x1ca),_0xf7d9f1),this[_0x4ede44(0xfa)](_0x4ede44(0xdc),_0x457a90),this[_0x4ede44(0xfa)](_0x4ede44(0x8d),_0x2cd050),_0x36c233['_readyState']=_0x3ac443[_0x4ede44(0xa7)];let _0x272d93;!this[_0x4ede44(0x7d)][_0x4ede44(0x158)]&&!_0x36c233[_0x4ede44(0x21b)]&&!_0x36c233[_0x4ede44(0x11f)]['_writableState']['errorEmitted']&&(_0x272d93=_0x36c233[_0x4ede44(0x142)][_0x4ede44(0x180)]())!==null&&_0x36c233['_receiver']['write'](_0x272d93),_0x36c233[_0x4ede44(0x11f)][_0x4ede44(0x8d)](),this[_0x5bb65b]=void 0x0,clearTimeout(_0x36c233[_0x4ede44(0x126)]),_0x36c233[_0x4ede44(0x11f)][_0x4ede44(0xfe)][_0x4ede44(0x113)]||_0x36c233[_0x4ede44(0x11f)][_0x4ede44(0xfe)]['errorEmitted']?_0x36c233[_0x4ede44(0xad)]():(_0x36c233[_0x4ede44(0x11f)]['on']('error',_0x2a3154),_0x36c233[_0x4ede44(0x11f)]['on'](_0x4ede44(0x98),_0x2a3154));}function _0x457a90(_0x104ae6){const _0x3cba7a=_0x2d4b26;this[_0x5bb65b][_0x3cba7a(0x11f)][_0x3cba7a(0x1ef)](_0x104ae6)||this['pause']();}function _0x2cd050(){const _0x2cf68d=_0x2d4b26,_0xe83482=this[_0x5bb65b];_0xe83482['_readyState']=_0x3ac443[_0x2cf68d(0xa7)],_0xe83482[_0x2cf68d(0x11f)][_0x2cf68d(0x8d)](),this[_0x2cf68d(0x8d)]();}function _0x1d833f(){const _0x1e793f=_0x2d4b26,_0xf69337=this[_0x5bb65b];this['removeListener'](_0x1e793f(0x6c),_0x1d833f),this['on'](_0x1e793f(0x6c),_0x3bce76),_0xf69337&&(_0xf69337[_0x1e793f(0x195)]=_0x3ac443[_0x1e793f(0xa7)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x55282d}=oe;function _0x55701d(_0x34b378){const _0x4f9021=_0x34fb;_0x34b378[_0x4f9021(0x14a)](_0x4f9021(0x1ca));}function _0x211cf3(){const _0x74d8ac=_0x34fb;!this[_0x74d8ac(0xca)]&&this[_0x74d8ac(0xfe)]['finished']&&this[_0x74d8ac(0x14c)]();}function _0x3862eb(_0x529691){const _0x96ba72=_0x34fb;this[_0x96ba72(0xfa)]('error',_0x3862eb),this[_0x96ba72(0x14c)](),this['listenerCount']('error')===0x0&&this['emit'](_0x96ba72(0x6c),_0x529691);}function _0x150378(_0x14a013,_0x219314){const _0x4a9498=_0x34fb;let _0x2062c9=!0x0;const _0x1a03ca=new _0x55282d({..._0x219314,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x14a013['on'](_0x4a9498(0x125),function(_0x29dbb2,_0x15d90b){const _0x4163ca=_0x4a9498,_0x3dc965=!_0x15d90b&&_0x1a03ca[_0x4163ca(0x7d)][_0x4163ca(0xe1)]?_0x29dbb2[_0x4163ca(0x1c0)]():_0x29dbb2;_0x1a03ca['push'](_0x3dc965)||_0x14a013[_0x4163ca(0x1e4)]();}),_0x14a013['once'](_0x4a9498(0x6c),function(_0x4dce95){const _0x173d83=_0x4a9498;_0x1a03ca[_0x173d83(0xca)]||(_0x2062c9=!0x1,_0x1a03ca['destroy'](_0x4dce95));}),_0x14a013[_0x4a9498(0x1cc)](_0x4a9498(0x1ca),function(){const _0x4170d7=_0x4a9498;_0x1a03ca[_0x4170d7(0xca)]||_0x1a03ca[_0x4170d7(0xa3)](null);}),_0x1a03ca['_destroy']=function(_0x3bd149,_0x554192){const _0x392545=_0x4a9498;if(_0x14a013['readyState']===_0x14a013[_0x392545(0x16b)]){_0x554192(_0x3bd149),process['nextTick'](_0x55701d,_0x1a03ca);return;}let _0x2360c1=!0x1;_0x14a013[_0x392545(0x1cc)](_0x392545(0x6c),function(_0x50cd65){_0x2360c1=!0x0,_0x554192(_0x50cd65);}),_0x14a013[_0x392545(0x1cc)](_0x392545(0x1ca),function(){const _0x5efe79=_0x392545;_0x2360c1||_0x554192(_0x3bd149),process[_0x5efe79(0x191)](_0x55701d,_0x1a03ca);}),_0x2062c9&&_0x14a013[_0x392545(0x117)]();},_0x1a03ca[_0x4a9498(0x207)]=function(_0x839a1c){const _0x563267=_0x4a9498;if(_0x14a013['readyState']===_0x14a013[_0x563267(0x1cd)]){_0x14a013['once'](_0x563267(0x1b8),function(){const _0x159a15=_0x563267;_0x1a03ca[_0x159a15(0x207)](_0x839a1c);});return;}_0x14a013[_0x563267(0x142)]!==null&&(_0x14a013[_0x563267(0x142)][_0x563267(0xfe)][_0x563267(0x113)]?(_0x839a1c(),_0x1a03ca[_0x563267(0x7d)][_0x563267(0x158)]&&_0x1a03ca[_0x563267(0x14c)]()):(_0x14a013['_socket'][_0x563267(0x1cc)](_0x563267(0x98),function(){_0x839a1c();}),_0x14a013[_0x563267(0x1ca)]()));},_0x1a03ca[_0x4a9498(0x1da)]=function(){const _0x4f0c6a=_0x4a9498;_0x14a013['isPaused']&&_0x14a013[_0x4f0c6a(0xc9)]();},_0x1a03ca[_0x4a9498(0x115)]=function(_0x1f5ae7,_0x4ef8dc,_0xf1c76c){const _0x41d905=_0x4a9498;if(_0x14a013[_0x41d905(0x94)]===_0x14a013[_0x41d905(0x1cd)]){_0x14a013[_0x41d905(0x1cc)](_0x41d905(0x1b8),function(){const _0x3bbd7c=_0x41d905;_0x1a03ca[_0x3bbd7c(0x115)](_0x1f5ae7,_0x4ef8dc,_0xf1c76c);});return;}_0x14a013[_0x41d905(0x1a3)](_0x1f5ae7,_0xf1c76c);},_0x1a03ca['on']('end',_0x211cf3),_0x1a03ca['on'](_0x4a9498(0x6c),_0x3862eb),_0x1a03ca;}return Oe=_0x150378,Oe;}Ut(),lt(),ft();function _0x4255(){const _0x5deeaf=['redirect','sec-websocket-extensions','_shouldEmitClose','WebSocket\x20is\x20not\x20open:\x20readyState\x20','call','client_no_context_takeover','has','\x22\x20subprotocol\x20is\x20duplicated','registerHTTPInterceptor','_queue','push','376578StMBtX','768zWNHXW','onclose','CLOSING','kWasClean','Basic\x20','statusCode','getData','getInfo','emitClose','length','The\x20\x22','Observable','kData','_isServer','isServer','env','byteOffset','errorEmitted','handshakeTimeout','_httpService','clientNoContextTakeover','invalid\x20opcode\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','jobs','createServer','reset','_originalSecure','port','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Blob','string','_opcode','websocket','isPaused','collaboration-client-node.config','_skipUTF8Validation','resume','destroyed','ILogService','nodebuffer','encrypted','pluginName','WS_NO_UTF_8_VALIDATE','sendFrame','alloc','_messageLength','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_fragmented','pipe','defineProperty','compress','get','createConnection','freeze','_doCreateSocket','data','_totalPayloadLength','Injector','fragments','createSocket','objectMode','Z_SYNC_FLUSH','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','buffer','connection','unshift','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','connect','_removeListeners','setHeader','COLLABORATION_CLIENT_NODE_CONFIG_KEY','getConfig','STATUS_CODES','_inflate','GET','Parameter\x20\x22','writeHead','origin','setNoDelay','clientMaxWindowBits','createError','isInteger','delete','zlib','rxjs','removeListener','cookie','WS_ERR_INVALID_OPCODE','_deflate','_writableState','_closeFrameSent','_paused','isIP','Max\x20payload\x20size\x20exceeded','HTTP/1.1\x20101\x20Switching\x20Protocols','url','62946vzHvZA','replace','Invalid\x20Sec-WebSocket-Protocol\x20header','allocUnsafe','acceptAsClient','isArray','_threshold','OPEN','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','zlibDeflateOptions','Unexpected\x20end\x20of\x20input','opcode','object','finished','maxRedirects','_write','completeUpgrade','terminate','_max_window_bits','Invalid\x20Sec-WebSocket-Extensions\x20header','Unexpected\x20character\x20at\x20index\x20','8232864zfxUIa','_firstFragment','reason','href','_receiver','catch','extensions','writeUIntBE','concat','rsv1','message','_closeTimer','skipUTF8Validation','total-length','UniverCollaborationClientNodePlugin','construct','_bufferedBytes','_allowSynchronousEvents','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','offer','NodeCollaborationSocketService','CollaborationSocketService','Plugin','Upgrade','flush','base64','UniverCollaborationClientPlugin','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_extensions','location','Invalid\x20WebSocket\x20frame:\x20','_errored','_registerDependencies','Inject','values','captureStackTrace','createDeflateRaw','Sec-WebSocket-Origin','_decompress','_socket','update','normalizeParams','_buffers','_server','toDisposable','pathname','socketPath','emit','kMessage','destroy','next','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','fin','digest','abort','sec-websocket-protocol','@univerjs/core','listeners','defaultPort','_redirects','shift','endEmitted','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','getPayloadLength64','isValidUTF8','onerror','Upgrade:\x20websocket','dataMessage','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','@univerjs/network','pending','invalid\x20opcode\x200','ws:','Sec-WebSocket-Accept:\x20','client','WS_ERR_UNEXPECTED_RSV_1','species','_compress','readUInt16BE','_closeMessage','CLOSED','Invalid\x20value\x20for\x20parameter\x20\x22','address','Z_DEFAULT_WINDOWBITS','frame','WS_ERR_INVALID_UTF8','dispatch','hasOwnProperty','apply','set','kListener','authorized','_no_context_takeover','_closeCode','followRedirects','permessage-deflate','listenerCount','_binaryType','client_max_window_bits','readUInt32BE','Invalid\x20Upgrade\x20header','read','format','params','getMask','Sec-WebSocket-Extensions:\x20','bufferedAmount','auth','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_options','hostname','concurrencyLimit','handleUpgrade','default','slice','_maskBuffer','RSV1\x20must\x20be\x20clear','_protocol','nextTick','getBlobData','binary','events','_readyState','verifyClient','_sender','toStringTag','pong','11ynOPUt','response','blob','maxPayload','getOwnPropertyDescriptor','then','invalid\x20status\x20code\x20','split','maskBuffer','send','perMessageDeflate','_fin','Opening\x20handshake\x20has\x20timed\x20out','readable','handleEvent','size','_url','_mask','kDone','5652pGNfOa','\x22:\x20','username','text/html','warn','isView','haveLength','startsWith','ISocketService','Unsupported\x20protocol\x20version:\x20','WebSocket','open','controlMessage','2142738wyrbxf','allowSynchronousEvents','_req','shouldHandle','stream','timeout','toString','exports','request','wss:','authorization','share','Connection:\x20Upgrade','clients','kIsForOnEventAttribute','_configService','close','wasClean','once','CONNECTING','acceptAsServer','backlog','includes','https:','startLoop','tls','WS_ERR_EXPECTED_MASK','ping','sha1','byteLength','password','server_no_context_takeover','_read','getPayloadLength16','parse','@univerjs-pro/collaboration','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','code','servername','addEventListener','keys','kReason','pause','upgrade','constructor','generateMask','charCodeAt','IConfigService','http:','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','target','5hhQTlx','net','write','MASK\x20must\x20be\x20set','WS_ERR_UNEXPECTED_MASK','_state','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','indexOf','Module','WS_ERR_INVALID_CLOSE_CODE','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','cleanup','decompress','sec-websocket-key','arrayBuffer','protocolVersion','_payloadLength','search','test','concurrency','onopen','prototype','type','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','join','_final','unmask','setConfig','noServer','dequeue','socket','_masked','listening','drain','_compressed','create','registerDependencies','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20URL\x27s\x20pathname\x20is\x20empty','from','finishRequest','headers','WS_ERR_EXPECTED_FIN','mask','add','_closeFrameReceived','needDrain','setSocket','enqueue','kCode','value','7jnfisO','\x0d\x0a\x0d\x0a','5545160sEAbtq','consume','removeEventListener','_fragments','toLowerCase','uncork','_autoPong','buffers','dispose','_bufferedAmount','accept','server','HTTP/1.1\x20','File','writeUInt16BE','kRun','path','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_injector','kTarget','binaryType','Sec-WebSocket-Protocol:\x20','23612532fiXQGI','_originalHostOrSocketPath','hash','method','clientTracking','kType','error','wsClientError','cork','Invalid\x20Sec-WebSocket-Accept\x20header','_errorEmitted','forEach','bind','server_max_window_bits','setTimeout','serverNoContextTakeover','removeAllListeners','protocol','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','map','_generateMask','autoPong','FIN\x20must\x20be\x20set','_readableState','extensionName','Server\x20sent\x20no\x20subprotocol','https','@univerjs-pro/collaboration-client','listen','60vkdmew','DependentOn','options','callback','_maxPayload','pow','readOnly','_originalIpc','The\x20server\x20is\x20not\x20running','serverMaxWindowBits','end','number','Invalid\x20HTTP\x20method','_loop','host','__esModule','customHeaders','readyState','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','function','conclude','finish'];_0x4255=function(){return _0x5deeaf;};return _0x4255();}function _0x34fb(_0x30bc51,_0x59e7e1){const _0x425588=_0x4255();return _0x34fb=function(_0x34fbe3,_0x1fe924){_0x34fbe3=_0x34fbe3-0x65;let _0x1f2d52=_0x425588[_0x34fbe3];return _0x1f2d52;},_0x34fb(_0x30bc51,_0x59e7e1);}var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x38b7e3}=ae();function _0x295ee4(_0x3d1057){const _0x580c05=_0x34fb,_0x5a939c=new Set();let _0x570b7c=-0x1,_0x5ea690=-0x1,_0x28fede=0x0;for(_0x28fede;_0x28fede<_0x3d1057['length'];_0x28fede++){const _0x5673da=_0x3d1057[_0x580c05(0x1e8)](_0x28fede);if(_0x5ea690===-0x1&&_0x38b7e3[_0x5673da]===0x1)_0x570b7c===-0x1&&(_0x570b7c=_0x28fede);else{if(_0x28fede!==0x0&&(_0x5673da===0x20||_0x5673da===0x9))_0x5ea690===-0x1&&_0x570b7c!==-0x1&&(_0x5ea690=_0x28fede);else{if(_0x5673da===0x2c){if(_0x570b7c===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x28fede);_0x5ea690===-0x1&&(_0x5ea690=_0x28fede);const _0x11b422=_0x3d1057['slice'](_0x570b7c,_0x5ea690);if(_0x5a939c[_0x580c05(0x9f)](_0x11b422))throw new SyntaxError(_0x580c05(0xaf)+_0x11b422+_0x580c05(0xa0));_0x5a939c['add'](_0x11b422),_0x570b7c=_0x5ea690=-0x1;}else throw new SyntaxError(_0x580c05(0x11a)+_0x28fede);}}}if(_0x570b7c===-0x1||_0x5ea690!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x46abb9=_0x3d1057[_0x580c05(0x18d)](_0x570b7c,_0x28fede);if(_0x5a939c[_0x580c05(0x9f)](_0x46abb9))throw new SyntaxError(_0x580c05(0xaf)+_0x46abb9+_0x580c05(0xa0));return _0x5a939c[_0x580c05(0x21a)](_0x46abb9),_0x5a939c;}return Ce={'parse':_0x295ee4},Ce;}var Te,rt;function Ft(){const _0x4dc0a3=_0x3a40e3;if(rt)return Te;rt=0x1;const _0x5dc369=nt,_0x20c743=ot,{Duplex:_0x2e8f90}=oe,{createHash:_0xd9c85b}=Le,_0x43ccc7=ct(),_0x5402c7=he(),_0x5582b7=At(),_0x3fe2b7=Pe(),{GUID:_0x3df907,kWebSocket:_0x3ceefb}=H(),_0x2ab51b=/^[+/0-9A-Za-z]{22}==$/,_0x4caa0a=0x0,_0x265ee3=0x1,_0x1fcde8=0x2;class _0x29308c extends _0x5dc369{constructor(_0x439bcd,_0x3cac97){const _0xf26316=_0x34fb;if(super(),_0x439bcd={'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':_0x3fe2b7,..._0x439bcd},_0x439bcd['port']==null&&!_0x439bcd[_0xf26316(0x22e)]&&!_0x439bcd['noServer']||_0x439bcd[_0xf26316(0xc0)]!=null&&(_0x439bcd[_0xf26316(0x22e)]||_0x439bcd[_0xf26316(0x20a)])||_0x439bcd[_0xf26316(0x22e)]&&_0x439bcd[_0xf26316(0x20a)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x439bcd['port']!=null?(this[_0xf26316(0x146)]=_0x20c743[_0xf26316(0xbd)]((_0x26d9c2,_0x4533c1)=>{const _0x254a80=_0xf26316,_0x5628f1=_0x20c743[_0x254a80(0xed)][0x1aa];_0x4533c1[_0x254a80(0xf1)](0x1aa,{'Content-Length':_0x5628f1[_0x254a80(0xae)],'Content-Type':'text/plain'}),_0x4533c1[_0x254a80(0x8d)](_0x5628f1);}),this[_0xf26316(0x146)][_0xf26316(0x82)](_0x439bcd[_0xf26316(0xc0)],_0x439bcd[_0xf26316(0x91)],_0x439bcd[_0xf26316(0x1cf)],_0x3cac97)):_0x439bcd['server']&&(this[_0xf26316(0x146)]=_0x439bcd[_0xf26316(0x22e)]),this['_server']){const _0x43b064=this[_0xf26316(0x14a)][_0xf26316(0x72)](this,_0xf26316(0xe5));this[_0xf26316(0xe9)]=_0x26e2ec(this[_0xf26316(0x146)],{'listening':this[_0xf26316(0x14a)][_0xf26316(0x72)](this,_0xf26316(0x20e)),'error':this[_0xf26316(0x14a)][_0xf26316(0x72)](this,_0xf26316(0x6c)),'upgrade':(_0xd535e5,_0xd97722,_0x1f0e3a)=>{const _0x40ae04=_0xf26316;this[_0x40ae04(0x18b)](_0xd535e5,_0xd97722,_0x1f0e3a,_0x43b064);}});}_0x439bcd[_0xf26316(0x1a4)]===!0x0&&(_0x439bcd['perMessageDeflate']={}),_0x439bcd[_0xf26316(0x6a)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0xf26316(0x85)]=_0x439bcd,this[_0xf26316(0x1f2)]=_0x4caa0a;}[_0x4dc0a3(0x16d)](){const _0x36b2e7=_0x4dc0a3;if(this['options'][_0x36b2e7(0x20a)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x36b2e7(0x146)][_0x36b2e7(0x16d)]():null;}[_0x4dc0a3(0x1ca)](_0xd69cf5){const _0x7e371f=_0x4dc0a3;if(this['_state']===_0x1fcde8){_0xd69cf5&&this['once'](_0x7e371f(0x1ca),()=>{const _0x92a61a=_0x7e371f;_0xd69cf5(new Error(_0x92a61a(0x8b)));}),process[_0x7e371f(0x191)](_0x5f2488,this);return;}if(_0xd69cf5&&this[_0x7e371f(0x1cc)]('close',_0xd69cf5),this[_0x7e371f(0x1f2)]!==_0x265ee3){if(this[_0x7e371f(0x1f2)]=_0x265ee3,this['options'][_0x7e371f(0x20a)]||this['options']['server'])this[_0x7e371f(0x146)]&&(this[_0x7e371f(0xe9)](),this[_0x7e371f(0xe9)]=this[_0x7e371f(0x146)]=null),this[_0x7e371f(0x1c7)]?this[_0x7e371f(0x1c7)][_0x7e371f(0x1a9)]?this[_0x7e371f(0x9b)]=!0x0:process['nextTick'](_0x5f2488,this):process['nextTick'](_0x5f2488,this);else{const _0x301ea6=this[_0x7e371f(0x146)];this[_0x7e371f(0xe9)](),this['_removeListeners']=this[_0x7e371f(0x146)]=null,_0x301ea6[_0x7e371f(0x1ca)](()=>{_0x5f2488(this);});}}}[_0x4dc0a3(0x1bd)](_0x9fc530){const _0x454a81=_0x4dc0a3;if(this['options'][_0x454a81(0x233)]){const _0xe6dc1c=_0x9fc530[_0x454a81(0x104)][_0x454a81(0x1f4)]('?');if((_0xe6dc1c!==-0x1?_0x9fc530[_0x454a81(0x104)][_0x454a81(0x18d)](0x0,_0xe6dc1c):_0x9fc530['url'])!==this['options'][_0x454a81(0x233)])return!0x1;}return!0x0;}[_0x4dc0a3(0x18b)](_0x207378,_0x23dbec,_0x1173f3,_0x4d38a1){const _0x33c55d=_0x4dc0a3;_0x23dbec['on']('error',_0x8b7928);const _0x440610=_0x207378[_0x33c55d(0x217)][_0x33c55d(0x1fb)],_0x4cdd96=_0x207378[_0x33c55d(0x217)][_0x33c55d(0x1e5)],_0x3409fc=+_0x207378[_0x33c55d(0x217)]['sec-websocket-version'];if(_0x207378[_0x33c55d(0x69)]!==_0x33c55d(0xef)){_0x2a9f02(this,_0x207378,_0x23dbec,0x195,_0x33c55d(0x8f));return;}if(_0x4cdd96===void 0x0||_0x4cdd96[_0x33c55d(0x227)]()!=='websocket'){_0x2a9f02(this,_0x207378,_0x23dbec,0x190,_0x33c55d(0x17f));return;}if(_0x440610===void 0x0||!_0x2ab51b[_0x33c55d(0x200)](_0x440610)){_0x2a9f02(this,_0x207378,_0x23dbec,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x3409fc!==0x8&&_0x3409fc!==0xd){_0x2a9f02(this,_0x207378,_0x23dbec,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x33c55d(0x1bd)](_0x207378)){_0x547e67(_0x23dbec,0x190);return;}const _0x58cb48=_0x207378['headers'][_0x33c55d(0x152)];let _0x1644ed=new Set();if(_0x58cb48!==void 0x0)try{_0x1644ed=_0x5582b7['parse'](_0x58cb48);}catch{_0x2a9f02(this,_0x207378,_0x23dbec,0x190,_0x33c55d(0x107));return;}const _0x3dabb6=_0x207378[_0x33c55d(0x217)][_0x33c55d(0x9a)],_0x195e05={};if(this[_0x33c55d(0x85)][_0x33c55d(0x1a4)]&&_0x3dabb6!==void 0x0){const _0x439c6a=new _0x5402c7(this[_0x33c55d(0x85)][_0x33c55d(0x1a4)],!0x0,this[_0x33c55d(0x85)][_0x33c55d(0x19d)]);try{const _0x561fd6=_0x43ccc7[_0x33c55d(0x1dc)](_0x3dabb6);_0x561fd6[_0x5402c7[_0x33c55d(0x7e)]]&&(_0x439c6a['accept'](_0x561fd6[_0x5402c7[_0x33c55d(0x7e)]]),_0x195e05[_0x5402c7[_0x33c55d(0x7e)]]=_0x439c6a);}catch{_0x2a9f02(this,_0x207378,_0x23dbec,0x190,_0x33c55d(0x1f3));return;}}if(this[_0x33c55d(0x85)][_0x33c55d(0x196)]){const _0x80949a={'origin':_0x207378['headers'][''+(_0x3409fc===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x207378[_0x33c55d(0x20c)][_0x33c55d(0x176)]||_0x207378[_0x33c55d(0x20c)][_0x33c55d(0xcd)]),'req':_0x207378};if(this[_0x33c55d(0x85)]['verifyClient'][_0x33c55d(0xae)]===0x2){this['options']['verifyClient'](_0x80949a,(_0x5dbf65,_0x269522,_0x4e6cde,_0x28d494)=>{if(!_0x5dbf65)return _0x547e67(_0x23dbec,_0x269522||0x191,_0x4e6cde,_0x28d494);this['completeUpgrade'](_0x195e05,_0x440610,_0x1644ed,_0x207378,_0x23dbec,_0x1173f3,_0x4d38a1);});return;}if(!this[_0x33c55d(0x85)][_0x33c55d(0x196)](_0x80949a))return _0x547e67(_0x23dbec,0x191);}this[_0x33c55d(0x116)](_0x195e05,_0x440610,_0x1644ed,_0x207378,_0x23dbec,_0x1173f3,_0x4d38a1);}[_0x4dc0a3(0x116)](_0x236aef,_0x3c1891,_0x10fe8e,_0x282287,_0x4bda75,_0x3e8a6d,_0x2a447e){const _0x1132e6=_0x4dc0a3;if(!_0x4bda75[_0x1132e6(0x1a7)]||!_0x4bda75['writable'])return _0x4bda75[_0x1132e6(0x14c)]();if(_0x4bda75[_0x3ceefb])throw new Error(_0x1132e6(0xe3));if(this[_0x1132e6(0x1f2)]>_0x4caa0a)return _0x547e67(_0x4bda75,0x1f7);const _0x1d7b80=[_0x1132e6(0x103),_0x1132e6(0x15d),_0x1132e6(0x1c6),_0x1132e6(0x164)+_0xd9c85b('sha1')[_0x1132e6(0x143)](_0x3c1891+_0x3df907)[_0x1132e6(0x150)](_0x1132e6(0x134))],_0x398e86=new this['options'][(_0x1132e6(0x1b7))](null,void 0x0,this[_0x1132e6(0x85)]);if(_0x10fe8e['size']){const _0x1abfd=this[_0x1132e6(0x85)]['handleProtocols']?this[_0x1132e6(0x85)]['handleProtocols'](_0x10fe8e,_0x282287):_0x10fe8e[_0x1132e6(0x13d)]()[_0x1132e6(0x14d)]()[_0x1132e6(0x220)];_0x1abfd&&(_0x1d7b80[_0x1132e6(0xa3)](_0x1132e6(0x65)+_0x1abfd),_0x398e86[_0x1132e6(0x190)]=_0x1abfd);}if(_0x236aef[_0x5402c7[_0x1132e6(0x7e)]]){const _0x3b8787=_0x236aef[_0x5402c7[_0x1132e6(0x7e)]][_0x1132e6(0x182)],_0x1b12a1=_0x43ccc7[_0x1132e6(0x181)]({[_0x5402c7[_0x1132e6(0x7e)]]:[_0x3b8787]});_0x1d7b80[_0x1132e6(0xa3)](_0x1132e6(0x184)+_0x1b12a1),_0x398e86['_extensions']=_0x236aef;}this[_0x1132e6(0x14a)](_0x1132e6(0x217),_0x1d7b80,_0x282287),_0x4bda75[_0x1132e6(0x1ef)](_0x1d7b80['concat']('\x0d\x0a')[_0x1132e6(0x206)]('\x0d\x0a')),_0x4bda75[_0x1132e6(0xfa)](_0x1132e6(0x6c),_0x8b7928),_0x398e86[_0x1132e6(0x21d)](_0x4bda75,_0x3e8a6d,{'allowSynchronousEvents':this[_0x1132e6(0x85)][_0x1132e6(0x1bb)],'maxPayload':this[_0x1132e6(0x85)][_0x1132e6(0x19d)],'skipUTF8Validation':this[_0x1132e6(0x85)][_0x1132e6(0x127)]}),this[_0x1132e6(0x1c7)]&&(this[_0x1132e6(0x1c7)][_0x1132e6(0x21a)](_0x398e86),_0x398e86['on'](_0x1132e6(0x1ca),()=>{const _0x14cb98=_0x1132e6;this[_0x14cb98(0x1c7)][_0x14cb98(0xf7)](_0x398e86),this[_0x14cb98(0x9b)]&&!this[_0x14cb98(0x1c7)][_0x14cb98(0x1a9)]&&process['nextTick'](_0x5f2488,this);})),_0x2a447e(_0x398e86,_0x282287);}}Te=_0x29308c;function _0x26e2ec(_0x5b7675,_0x1649ff){const _0x5688ec=_0x4dc0a3;for(const _0x408156 of Object[_0x5688ec(0x1e2)](_0x1649ff))_0x5b7675['on'](_0x408156,_0x1649ff[_0x408156]);return function(){const _0x20043a=_0x5688ec;for(const _0x4a54d9 of Object['keys'](_0x1649ff))_0x5b7675[_0x20043a(0xfa)](_0x4a54d9,_0x1649ff[_0x4a54d9]);};}function _0x5f2488(_0x558cb1){const _0x530a33=_0x4dc0a3;_0x558cb1[_0x530a33(0x1f2)]=_0x1fcde8,_0x558cb1['emit'](_0x530a33(0x1ca));}function _0x8b7928(){this['destroy']();}function _0x547e67(_0x7fe670,_0x95f668,_0x5e7b,_0x3186a0){const _0x37317=_0x4dc0a3;_0x5e7b=_0x5e7b||_0x20c743['STATUS_CODES'][_0x95f668],_0x3186a0={'Connection':_0x37317(0x1ca),'Content-Type':_0x37317(0x1b0),'Content-Length':Buffer['byteLength'](_0x5e7b),..._0x3186a0},_0x7fe670[_0x37317(0x1cc)]('finish',_0x7fe670[_0x37317(0x14c)]),_0x7fe670[_0x37317(0x8d)](_0x37317(0x22f)+_0x95f668+'\x20'+_0x20c743['STATUS_CODES'][_0x95f668]+'\x0d\x0a'+Object[_0x37317(0x1e2)](_0x3186a0)[_0x37317(0x79)](_0x478323=>_0x478323+':\x20'+_0x3186a0[_0x478323])[_0x37317(0x206)]('\x0d\x0a')+_0x37317(0x222)+_0x5e7b);}function _0x2a9f02(_0x69d9cc,_0x30a8c8,_0x47d60c,_0x534fab,_0x10f4c9){const _0x180eb0=_0x4dc0a3;if(_0x69d9cc[_0x180eb0(0x17b)](_0x180eb0(0x6d))){const _0x24d45b=new Error(_0x10f4c9);Error[_0x180eb0(0x13e)](_0x24d45b,_0x2a9f02),_0x69d9cc[_0x180eb0(0x14a)]('wsClientError',_0x24d45b,_0x47d60c,_0x30a8c8);}else _0x547e67(_0x47d60c,_0x534fab,_0x10f4c9);}return Te;}Ft();var jt=Object[_0x3a40e3(0x19e)],Wt=(_0x586de0,_0x379b3b,_0x5b77c1,_0x105e01)=>{const _0x36aa89=_0x3a40e3;for(var _0x52483c=_0x105e01>0x1?void 0x0:_0x105e01?jt(_0x379b3b,_0x5b77c1):_0x379b3b,_0x25224e=_0x586de0[_0x36aa89(0xae)]-0x1,_0x491d1e;_0x25224e>=0x0;_0x25224e--)(_0x491d1e=_0x586de0[_0x25224e])&&(_0x52483c=_0x491d1e(_0x52483c)||_0x52483c);return _0x52483c;},qt=(_0x33dc41,_0x51af69)=>(_0x178dfc,_0x5a6376)=>_0x51af69(_0x178dfc,_0x5a6376,_0x33dc41);let ke=class extends A['Disposable']{constructor(_0x2b851e){super(),this['_configService']=_0x2b851e;}[_0x3a40e3(0xe0)](_0x4ec6f8){const _0x35e703=_0x3a40e3;var _0x28f7f2;const _0xd54a01=(_0x28f7f2=this[_0x35e703(0x1c9)]['getConfig'](fe))==null?void 0x0:_0x28f7f2[_0x35e703(0x93)];try{const _0x330801=new $t(_0x4ec6f8,{'headers':{..._0xd54a01}}),_0x52d2b2=new A['DisposableCollection']();return{'URL':_0x4ec6f8,'close':(_0x103d2f,_0x3b42de)=>{const _0x545ba1=_0x35e703;_0x330801[_0x545ba1(0x1ca)](_0x103d2f,_0x3b42de),_0x52d2b2[_0x545ba1(0x22b)]();},'send':_0x5416fa=>{_0x330801['send'](_0x5416fa);},'open$':new V[(_0x35e703(0xb0))](_0xda9048=>{const _0x1742f1=_0x35e703,_0x3d4339=_0x42953b=>_0xda9048[_0x1742f1(0x14d)](_0x42953b);_0x330801[_0x1742f1(0x1e1)](_0x1742f1(0x1b8),_0x3d4339),_0x52d2b2[_0x1742f1(0x21a)](A[_0x1742f1(0x147)](()=>_0x330801[_0x1742f1(0x225)](_0x1742f1(0x1b8),_0x3d4339)));})[_0x35e703(0xd5)](V[_0x35e703(0x1c5)]()),'close$':new V[(_0x35e703(0xb0))](_0x10db85=>{const _0x41d990=_0x35e703,_0x1d6e5d=_0x6979b=>_0x10db85[_0x41d990(0x14d)](_0x6979b);_0x330801[_0x41d990(0x1e1)](_0x41d990(0x1ca),_0x1d6e5d),_0x52d2b2[_0x41d990(0x21a)](A['toDisposable'](()=>_0x330801['removeEventListener'](_0x41d990(0x1ca),_0x1d6e5d)));})[_0x35e703(0xd5)](V[_0x35e703(0x1c5)]()),'error$':new V[(_0x35e703(0xb0))](_0x2ed3ff=>{const _0x430c56=_0x35e703,_0x45b7db=_0x256444=>_0x2ed3ff['next'](_0x256444);_0x330801[_0x430c56(0x1e1)](_0x430c56(0x6c),_0x45b7db),_0x52d2b2['add'](A[_0x430c56(0x147)](()=>_0x330801[_0x430c56(0x225)](_0x430c56(0x6c),_0x45b7db)));})['pipe'](V['share']()),'message$':new V[(_0x35e703(0xb0))](_0x503de5=>{const _0x2e4114=_0x35e703,_0x556c82=_0x5492ec=>_0x503de5[_0x2e4114(0x14d)](_0x5492ec);_0x330801[_0x2e4114(0x1e1)]('message',_0x556c82),_0x52d2b2[_0x2e4114(0x21a)](A[_0x2e4114(0x147)](()=>_0x330801[_0x2e4114(0x225)](_0x2e4114(0x125),_0x556c82)));})[_0x35e703(0xd5)](V[_0x35e703(0x1c5)]())};}catch(_0x52ee9b){return console[_0x35e703(0x6c)](_0x52ee9b),null;}}};ke=Wt([qt(0x0,A[_0x3a40e3(0x1e9)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x3a40e3(0x19e)],Ht=(_0x5d0c44,_0x2ce351,_0x20b011)=>_0x2ce351 in _0x5d0c44?Gt(_0x5d0c44,_0x2ce351,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20b011}):_0x5d0c44[_0x2ce351]=_0x20b011,zt=(_0x112c04,_0x205b3d,_0xa76ae8,_0x55ee87)=>{for(var _0x361809=_0x55ee87>0x1?void 0x0:_0x55ee87?Vt(_0x205b3d,_0xa76ae8):_0x205b3d,_0xcff722=_0x112c04['length']-0x1,_0x8927c2;_0xcff722>=0x0;_0xcff722--)(_0x8927c2=_0x112c04[_0xcff722])&&(_0x361809=_0x8927c2(_0x361809)||_0x361809);return _0x361809;},Ne=(_0x572b61,_0x9f93ff)=>(_0x5cee14,_0x412627)=>_0x9f93ff(_0x5cee14,_0x412627,_0x572b61),Yt=(_0x24657b,_0xc801c2,_0x528ba7)=>Ht(_0x24657b,_0xc801c2+'',_0x528ba7);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x3a40e3(0x131)]{constructor(_0x310541=Ct,_0x5a08cf,_0xb07df6,_0x5b1438){const _0x1220e4=_0x3a40e3;_0x310541[_0x1220e4(0x93)]||_0x5a08cf[_0x1220e4(0x1b1)](_0x1220e4(0x95)),super(),this[_0x1220e4(0x1c9)]=_0xb07df6,this[_0x1220e4(0x235)]=_0x5b1438,this[_0x1220e4(0x1c9)][_0x1220e4(0x209)](fe,_0x310541);}['onStarting'](){const _0x4779b5=_0x3a40e3;this[_0x4779b5(0x13b)]();}[_0x3a40e3(0x13b)](){const _0x1ef30d=_0x3a40e3;A[_0x1ef30d(0x212)](this[_0x1ef30d(0x235)],[[it[_0x1ef30d(0x1b5)],{'useClass':ke}]]);}},Yt(exports[_0x3a40e3(0x129)],_0x3a40e3(0xce),_0x3a40e3(0x10d)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x3a40e3(0x84)](st[_0x3a40e3(0x135)]),Ne(0x1,A[_0x3a40e3(0xcb)]),Ne(0x2,A[_0x3a40e3(0x1e9)]),Ne(0x3,A[_0x3a40e3(0x13c)](A['Injector']))],exports[_0x3a40e3(0x129)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x5153bf,_0x2e58cf,_0x4a87cf,_0x3b5c20)=>{const _0x506c06=_0x3a40e3;for(var _0x2cd6cf=_0x3b5c20>0x1?void 0x0:_0x3b5c20?Kt(_0x2e58cf,_0x4a87cf):_0x2e58cf,_0x2dc20b=_0x5153bf[_0x506c06(0xae)]-0x1,_0x459a9c;_0x2dc20b>=0x0;_0x2dc20b--)(_0x459a9c=_0x5153bf[_0x2dc20b])&&(_0x2cd6cf=_0x459a9c(_0x2cd6cf)||_0x2cd6cf);return _0x2cd6cf;},ne=(_0x2dd52b,_0x327ed6)=>(_0x1d4abf,_0x2684d2)=>_0x327ed6(_0x1d4abf,_0x2684d2,_0x2dd52b);exports[_0x3a40e3(0x12f)]=class extends st[_0x3a40e3(0x130)]{constructor(_0x929d47,_0x2128ae,_0x428119,_0x46b152,_0x420151){const _0x4e5c82=_0x3a40e3;super(_0x929d47,_0x2128ae,_0x428119,_0x46b152,_0x420151);const _0x57bc53=this[_0x4e5c82(0x1c9)][_0x4e5c82(0xec)](fe);this[_0x4e5c82(0xb8)][_0x4e5c82(0xa1)]({'interceptor':(_0x1af3ec,_0xd4cc23)=>{const _0x1ca823=_0x4e5c82;var _0x2dcc9e;const _0x47c068=_0x1af3ec[_0x1ca823(0x217)];return(_0x2dcc9e=_0x57bc53==null?void 0x0:_0x57bc53[_0x1ca823(0x93)])!=null&&_0x2dcc9e['cookie']&&_0x47c068['set']('Cookie',_0x57bc53[_0x1ca823(0x93)][_0x1ca823(0xfb)]),_0xd4cc23(_0x1af3ec);}});}async[_0x3a40e3(0xe0)](_0x415240){const _0x78c29c=_0x3a40e3;return this[_0x78c29c(0xdb)](_0x415240);}},exports[_0x3a40e3(0x12f)]=Xt([ne(0x0,A[_0x3a40e3(0x13c)](A[_0x3a40e3(0xde)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x3a40e3(0xcb)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x3a40e3(0xeb)]=fe;