@univerjs-pro/collaboration-client-node 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130640

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4f9298=_0x3288;(function(_0x1be049,_0x19b50b){const _0x50ee69=_0x3288,_0x38f08b=_0x1be049();while(!![]){try{const _0xc7810b=parseInt(_0x50ee69(0x1fd))/0x1+-parseInt(_0x50ee69(0x271))/0x2+parseInt(_0x50ee69(0x29b))/0x3*(-parseInt(_0x50ee69(0x219))/0x4)+-parseInt(_0x50ee69(0x26f))/0x5+parseInt(_0x50ee69(0x1fc))/0x6+-parseInt(_0x50ee69(0x1c5))/0x7+-parseInt(_0x50ee69(0x23f))/0x8*(-parseInt(_0x50ee69(0x1fe))/0x9);if(_0xc7810b===_0x19b50b)break;else _0x38f08b['push'](_0x38f08b['shift']());}catch(_0x5758c7){_0x38f08b['push'](_0x38f08b['shift']());}}}(_0x52e2,0x4f522));import{UniverCollaborationClientPlugin as _0x554f19,CollaborationSocketService as _0x374091}from'@univerjs-pro/collaboration-client';import{Disposable as _0x8924c,DisposableCollection as _0x23dc54,toDisposable as _0x550483,IConfigService as _0x134320,DependentOn as _0x333582,ILogService as _0x3e32c0,Inject as _0x16e21f,Injector as _0x107d18,Plugin as _0x31a6de,registerDependencies as _0x4ffcc3}from'@univerjs/core';function _0x52e2(){const _0x3c9567=['set','The\x20server\x20is\x20not\x20running','request','WebSocket','dispose','writable','_injector','_socket','options','_originalIpc','_options','_mask','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','auth','conclude','finishRequest','_shouldEmitClose','kWasClean','listening','callback','controlMessage','port','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','ping','noServer','RSV1\x20must\x20be\x20clear','compress','nodebuffer','invalid\x20opcode\x200','onmessage','nextTick','pending','data','HTTP/1.1\x20','_compressed','_readableState','WS_ERR_EXPECTED_MASK','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','isArray','_buffers','_closeMessage','clientNoContextTakeover','WS_NO_BUFFER_UTIL','sec-websocket-protocol','split','_queue','connection','charCodeAt','_fragmented','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setNoDelay','digest','_state','setSocket','finished','ws+unix:','acceptAsClient','getConfig','_maxPayload','_opcode','clientTracking','The\x20\x22','_configService','add','normalizeParams','captureStackTrace','_originalSecure','fin','Max\x20payload\x20size\x20exceeded','_decompress','path','completeUpgrade','unmask','needDrain','_protocol','replace','apply','keys','readUInt16BE','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kListener','createError','_removeListeners','accept','_final','WebSocket\x20is\x20not\x20open:\x20readyState\x20','unexpected-response','OPEN','Invalid\x20Sec-WebSocket-Extensions\x20header','__esModule','getPayloadLength16','Parameter\x20\x22','arraybuffer','removeEventListener','hostname','WS_ERR_EXPECTED_FIN','object','cookie','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','dispatch','listen','consume','objectMode','headers','getBlobData','warn','destroyed','writeUIntBE','Invalid\x20HTTP\x20method','collaboration-client-node.config','string','_generateMask','blob','client','shouldHandle','text/plain','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_closeFrameReceived','origin','location','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_no_context_takeover','removeListener','call','CLOSED','\x22:\x20','_redirects','websocket','WS_NO_UTF_8_VALIDATE','close','client_max_window_bits','Sec-WebSocket-Protocol','Server\x20sent\x20an\x20invalid\x20subprotocol','Sec-WebSocket-Accept:\x20','wss:','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getPayloadLength64','byteOffset','sec-websocket-origin','_autoPong','status-code','threshold','onopen','maskBuffer','Basic\x20','extensions','resume','clients','target','readOnly','rsv1','_receiver','_errored','destroy','cleanup','Cookie','_inflate','size','haveLength','isBuffer','protocolVersion','wasClean','update','offer','_allowSynchronousEvents','once','stream','byteLength','forEach','finish','values','verifyClient','_destroy','terminate','readyState','env','Unknown\x20parameter\x20\x22','flush','from','statusCode','_skipUTF8Validation','decompress','total-length','enqueue','frame','isIP','socket','Invalid\x20WebSocket\x20frame:\x20','abort','listeners','13,\x208','_closeFrameSent','alloc','Opening\x20handshake\x20has\x20timed\x20out','CLOSING','Module','kTarget','servername','_binaryType','4353314MSIsbX','Origin','onStarting','hash','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kIsForOnEventAttribute','server','readUInt32BE','\x0d\x0a\x0d\x0a','dataMessage','password','_url','_server','error','_writableState','_fin','registerHTTPInterceptor','handleUpgrade','timeout','defaultPort','zlibDeflateOptions','sha1','uncork','getData','STATUS_CODES','\x20(supported\x20versions:\x20','join','_readyState','CONNECTING','arrayBuffer','kMessage','base64','includes','buffer','_bufferedBytes','find','wsClientError','species','buffers','construct','isValidUTF8','Unexpected\x20end\x20of\x20input','_deflate','_errorEmitted','Blob','_doCreateSocket','entries','concurrencyLimit','drain','FIN\x20must\x20be\x20set','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','message','Z_DEFAULT_WINDOWBITS','end','encrypted','2815986plvnJY','56106XxeVCv','9WNvEgd','Upgrade:\x20websocket','emit','response','concat','handshakeTimeout','unshift','isPaused','autoPong','invalid\x20opcode\x20','send','sendFrame','map','getMask','_registerDependencies','invalid\x20UTF-8\x20sequence','isInteger','format','endEmitted','kType','indexOf','Invalid\x20Sec-WebSocket-Accept\x20header','concurrency','_extensions','Unexpected\x20character\x20at\x20index\x20','test','create','2196944soLohj','protocol','address','pause','Invalid\x20URL:\x20','fragments','open','emitClose','invalid\x20payload\x20length\x20','sec-websocket-accept','Unexpected\x20server\x20response:\x20','_read','next','reset','_firstFragment','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','bufferedAmount','has','exports','_closeCode','_bufferedAmount','defineProperty','pow','clientMaxWindowBits','url','_compress','redirect','jobs','kDone','extensionName','_loop','getInfo','mask','_maskBuffer','server_max_window_bits','reason','Invalid\x20value\x20for\x20parameter\x20\x22','13052816MmpMTm','maxPayload','listenerCount','customHeaders','shift','\x22\x20must\x20have\x20only\x20a\x20single\x20value','startLoop','_max_window_bits','username','params','skipUTF8Validation','serverMaxWindowBits','MASK\x20must\x20be\x20clear','writeUInt16BE','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','upgrade','followRedirects','number','sec-websocket-extensions','opcode','serverNoContextTakeover','connect','bind','onerror','Invalid\x20Upgrade\x20header','generateMask','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','server_no_context_takeover','type','socketPath','setConfig','_paused','_write','authorized','WS_ERR_UNEXPECTED_RSV_1','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_payloadLength','setTimeout','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','push','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','allowSynchronousEvents','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','prototype','_originalHostOrSocketPath','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','href','createConnection','3203975ufumoL','host','40416tmaKuu','ws:','permessage-deflate','_closeTimer','toLowerCase','Sec-WebSocket-Extensions','handleEvent','errorEmitted','addEventListener','pipe','_masked','_sender','sec-websocket-key','kAborted','kError','code','kByteLength','sec-websocket-version','perMessageDeflate','toString','kCode','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','https:','function','get','parse','_totalPayloadLength','binaryType','pathname','_isServer','WS_ERR_INVALID_OPCODE','client_no_context_takeover','createSocket','default','slice','Server\x20sent\x20no\x20subprotocol','pong','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','authorization','Connection:\x20Upgrade','search','_httpService','3uaxaKk','GET','onclose','isServer','Sec-WebSocket-Extensions:\x20','method','constructor','Upgrade','freeze','_req','allocUnsafe','length','text/html','WS_ERR_INVALID_UTF8','write','_messageLength','_fragments','toStringTag'];_0x52e2=function(){return _0x3c9567;};return _0x52e2();}import{ISocketService as _0x15b46e,HTTPService as _0x1c37c7}from'@univerjs/network';import{Observable as _0x14354a,share as _0x4b8ead}from'rxjs';import _0x58fb53 from'events';import _0xd4e2d from'https';import _0x359bc0 from'http';import _0x1a02d9 from'net';import _0x1e4621 from'tls';import _0x5ef917 from'crypto';import _0x4a4f82 from'stream';import _0x2c14ee from'url';import _0x18fe1e from'zlib';import _0x518b34 from'buffer';import{ISnapshotServerService as _0x3f00fe}from'@univerjs-pro/collaboration';const Be=_0x4f9298(0x31a),Ft={'customHeaders':{}};function Wt(_0x37bdb3){const _0x351545=_0x4f9298;return _0x37bdb3&&_0x37bdb3[_0x351545(0x306)]&&Object[_0x351545(0x26a)]['hasOwnProperty'][_0x351545(0x328)](_0x37bdb3,'default')?_0x37bdb3[_0x351545(0x292)]:_0x37bdb3;}function ut(_0x186d2e){const _0x31b42a=_0x4f9298;if(Object[_0x31b42a(0x26a)]['hasOwnProperty']['call'](_0x186d2e,_0x31b42a(0x306)))return _0x186d2e;var _0x646c96=_0x186d2e['default'];if(typeof _0x646c96=='function'){var _0x5b3d81=function _0x4219c6(){const _0x2f1370=_0x31b42a;var _0x493f2a=!0x1;try{_0x493f2a=this instanceof _0x4219c6;}catch{}return _0x493f2a?Reflect[_0x2f1370(0x1ec)](_0x646c96,arguments,this[_0x2f1370(0x2a1)]):_0x646c96[_0x2f1370(0x2f9)](this,arguments);};_0x5b3d81['prototype']=_0x646c96['prototype'];}else _0x5b3d81={};return Object[_0x31b42a(0x22f)](_0x5b3d81,'__esModule',{'value':!0x0}),Object['keys'](_0x186d2e)[_0x31b42a(0x1a6)](function(_0x2d1103){const _0x52c331=_0x31b42a;var _0x2f9ccd=Object['getOwnPropertyDescriptor'](_0x186d2e,_0x2d1103);Object[_0x52c331(0x22f)](_0x5b3d81,_0x2d1103,_0x2f9ccd[_0x52c331(0x289)]?_0x2f9ccd:{'enumerable':!0x0,'get':function(){return _0x186d2e[_0x2d1103];}});}),_0x5b3d81;}var te={'exports':{}},ge,Ye;function V(){const _0x3f6ec2=_0x4f9298;if(Ye)return ge;Ye=0x1;const _0x2b2b7c=[_0x3f6ec2(0x2c8),_0x3f6ec2(0x309),_0x3f6ec2(0x21e)],_0x5a0015=typeof Blob<'u';return _0x5a0015&&_0x2b2b7c[_0x3f6ec2(0x266)]('blob'),ge={'BINARY_TYPES':_0x2b2b7c,'EMPTY_BUFFER':Buffer[_0x3f6ec2(0x1be)](0x0),'GUID':_0x3f6ec2(0x2fc),'hasBlob':_0x5a0015,'kForOnEventAttribute':Symbol(_0x3f6ec2(0x1ca)),'kListener':Symbol(_0x3f6ec2(0x2fd)),'kStatusCode':Symbol(_0x3f6ec2(0x339)),'kWebSocket':Symbol(_0x3f6ec2(0x32c)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4f9298(0x2a3)](Object[_0x4f9298(0x22f)]({'__proto__':null,'default':jt},Symbol[_0x4f9298(0x2ac)],{'value':_0x4f9298(0x1c1)})),Vt=ut(Gt);var Ke;function ce(){const _0x48c2d7=_0x4f9298;if(Ke)return te[_0x48c2d7(0x22c)];Ke=0x1;const {EMPTY_BUFFER:_0x7c4d16}=V(),_0x5a9a49=Buffer[Symbol['species']];function _0x59ae6d(_0x37cfee,_0x1936f2){const _0x57f2e6=_0x48c2d7;if(_0x37cfee['length']===0x0)return _0x7c4d16;if(_0x37cfee[_0x57f2e6(0x2a6)]===0x1)return _0x37cfee[0x0];const _0x33baef=Buffer[_0x57f2e6(0x2a5)](_0x1936f2);let _0x40cc1a=0x0;for(let _0x48744d=0x0;_0x48744d<_0x37cfee['length'];_0x48744d++){const _0x3997c5=_0x37cfee[_0x48744d];_0x33baef[_0x57f2e6(0x2ad)](_0x3997c5,_0x40cc1a),_0x40cc1a+=_0x3997c5[_0x57f2e6(0x2a6)];}return _0x40cc1a<_0x1936f2?new _0x5a9a49(_0x33baef[_0x57f2e6(0x1e6)],_0x33baef[_0x57f2e6(0x336)],_0x40cc1a):_0x33baef;}function _0x3b2e(_0x3ab007,_0x18338b,_0x30cfd7,_0x4e3cb3,_0x164777){for(let _0x5c8495=0x0;_0x5c8495<_0x164777;_0x5c8495++)_0x30cfd7[_0x4e3cb3+_0x5c8495]=_0x3ab007[_0x5c8495]^_0x18338b[_0x5c8495&0x3];}function _0x2ba350(_0x51a89e,_0x59de66){const _0x3aa550=_0x48c2d7;for(let _0x83c3ab=0x0;_0x83c3ab<_0x51a89e[_0x3aa550(0x2a6)];_0x83c3ab++)_0x51a89e[_0x83c3ab]^=_0x59de66[_0x83c3ab&0x3];}function _0x1ade9b(_0x5497d2){const _0x53d653=_0x48c2d7;return _0x5497d2['length']===_0x5497d2[_0x53d653(0x1e6)]['byteLength']?_0x5497d2[_0x53d653(0x1e6)]:_0x5497d2[_0x53d653(0x1e6)][_0x53d653(0x293)](_0x5497d2[_0x53d653(0x336)],_0x5497d2[_0x53d653(0x336)]+_0x5497d2[_0x53d653(0x2a6)]);}function _0x430446(_0x1f904b){const _0x32a148=_0x48c2d7;if(_0x430446['readOnly']=!0x0,Buffer[_0x32a148(0x19d)](_0x1f904b))return _0x1f904b;let _0x3dcc89;return _0x1f904b instanceof ArrayBuffer?_0x3dcc89=new _0x5a9a49(_0x1f904b):ArrayBuffer['isView'](_0x1f904b)?_0x3dcc89=new _0x5a9a49(_0x1f904b[_0x32a148(0x1e6)],_0x1f904b[_0x32a148(0x336)],_0x1f904b[_0x32a148(0x1a5)]):(_0x3dcc89=Buffer[_0x32a148(0x1b0)](_0x1f904b),_0x430446[_0x32a148(0x193)]=!0x1),_0x3dcc89;}if(te[_0x48c2d7(0x22c)]={'concat':_0x59ae6d,'mask':_0x3b2e,'toArrayBuffer':_0x1ade9b,'toBuffer':_0x430446,'unmask':_0x2ba350},!process['env'][_0x48c2d7(0x2d7)])try{const _0x3bed0d=Vt;te['exports'][_0x48c2d7(0x23a)]=function(_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba){const _0x18968a=_0x48c2d7;_0x56e2ba<0x30?_0x3b2e(_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba):_0x3bed0d[_0x18968a(0x23a)](_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba);},te['exports'][_0x48c2d7(0x2f5)]=function(_0x30b539,_0x44fb9b){const _0x36e321=_0x48c2d7;_0x30b539[_0x36e321(0x2a6)]<0x20?_0x2ba350(_0x30b539,_0x44fb9b):_0x3bed0d[_0x36e321(0x2f5)](_0x30b539,_0x44fb9b);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x5059f1=_0x4f9298;if(Xe)return ye;Xe=0x1;const _0x1c5723=Symbol(_0x5059f1(0x236)),_0x3733e7=Symbol('kRun');class _0x2e17bf{constructor(_0x1091b2){const _0x1b062d=_0x5059f1;this[_0x1c5723]=()=>{const _0x474be7=_0x3288;this[_0x474be7(0x2cc)]--,this[_0x3733e7]();},this[_0x1b062d(0x214)]=_0x1091b2||0x1/0x0,this[_0x1b062d(0x235)]=[],this[_0x1b062d(0x2cc)]=0x0;}[_0x5059f1(0x2ec)](_0x4e2ae1){const _0x23bc2e=_0x5059f1;this[_0x23bc2e(0x235)][_0x23bc2e(0x266)](_0x4e2ae1),this[_0x3733e7]();}[_0x3733e7](){const _0x33f33d=_0x5059f1;if(this['pending']!==this[_0x33f33d(0x214)]&&this[_0x33f33d(0x235)][_0x33f33d(0x2a6)]){const _0x1cd061=this['jobs']['shift']();this['pending']++,_0x1cd061(this[_0x1c5723]);}}}return ye=_0x2e17bf,ye;}var ve,Ze;function he(){const _0x281ea9=_0x4f9298;if(Ze)return ve;Ze=0x1;const _0x17e53a=_0x18fe1e,_0x3cbbc1=ce(),_0x46b725=qt(),{kStatusCode:_0x3fbc38}=V(),_0x27ce99=Buffer[Symbol[_0x281ea9(0x1ea)]],_0x466d6d=Buffer['from']([0x0,0x0,0xff,0xff]),_0x244611=Symbol(_0x281ea9(0x273)),_0x41cb36=Symbol(_0x281ea9(0x1b4)),_0x9d11a1=Symbol(_0x281ea9(0x2c0)),_0x386e32=Symbol(_0x281ea9(0x1eb)),_0x107642=Symbol(_0x281ea9(0x1d2));let _0x29e573;class _0x4abd04{constructor(_0x1bf6d5,_0x338327,_0x438708){const _0x569050=_0x281ea9;if(this['_maxPayload']=_0x438708|0x0,this[_0x569050(0x2b7)]=_0x1bf6d5||{},this['_threshold']=this['_options'][_0x569050(0x33a)]!==void 0x0?this[_0x569050(0x2b7)][_0x569050(0x33a)]:0x400,this[_0x569050(0x28e)]=!!_0x338327,this[_0x569050(0x1ef)]=null,this[_0x569050(0x19a)]=null,this[_0x569050(0x248)]=null,!_0x29e573){const _0x215938=this[_0x569050(0x2b7)][_0x569050(0x1f4)]!==void 0x0?this[_0x569050(0x2b7)][_0x569050(0x1f4)]:0xa;_0x29e573=new _0x46b725(_0x215938);}}static get[_0x281ea9(0x237)](){return'permessage-deflate';}[_0x281ea9(0x1a1)](){const _0x260519=_0x281ea9,_0x20016c={};return this['_options']['serverNoContextTakeover']&&(_0x20016c[_0x260519(0x25a)]=!0x0),this[_0x260519(0x2b7)][_0x260519(0x2d6)]&&(_0x20016c[_0x260519(0x290)]=!0x0),this[_0x260519(0x2b7)][_0x260519(0x24a)]&&(_0x20016c[_0x260519(0x23c)]=this['_options'][_0x260519(0x24a)]),this[_0x260519(0x2b7)]['clientMaxWindowBits']?_0x20016c[_0x260519(0x32f)]=this['_options'][_0x260519(0x231)]:this[_0x260519(0x2b7)][_0x260519(0x231)]==null&&(_0x20016c[_0x260519(0x32f)]=!0x0),_0x20016c;}[_0x281ea9(0x300)](_0x18c395){const _0x52df1c=_0x281ea9;return _0x18c395=this[_0x52df1c(0x2ed)](_0x18c395),this[_0x52df1c(0x248)]=this['_isServer']?this['acceptAsServer'](_0x18c395):this[_0x52df1c(0x2e5)](_0x18c395),this[_0x52df1c(0x248)];}['cleanup'](){const _0x3fefc6=_0x281ea9;if(this[_0x3fefc6(0x19a)]&&(this[_0x3fefc6(0x19a)][_0x3fefc6(0x32e)](),this[_0x3fefc6(0x19a)]=null),this[_0x3fefc6(0x1ef)]){const _0x2b894e=this[_0x3fefc6(0x1ef)][_0x9d11a1];this[_0x3fefc6(0x1ef)][_0x3fefc6(0x32e)](),this[_0x3fefc6(0x1ef)]=null,_0x2b894e&&_0x2b894e(new Error(_0x3fefc6(0x262)));}}['acceptAsServer'](_0x577f4e){const _0x35530a=_0x281ea9,_0x50cf98=this[_0x35530a(0x2b7)],_0x19d879=_0x577f4e[_0x35530a(0x1e8)](_0x378ef3=>!(_0x50cf98[_0x35530a(0x253)]===!0x1&&_0x378ef3['server_no_context_takeover']||_0x378ef3[_0x35530a(0x23c)]&&(_0x50cf98[_0x35530a(0x24a)]===!0x1||typeof _0x50cf98['serverMaxWindowBits']=='number'&&_0x50cf98[_0x35530a(0x24a)]>_0x378ef3[_0x35530a(0x23c)])||typeof _0x50cf98[_0x35530a(0x231)]==_0x35530a(0x250)&&!_0x378ef3[_0x35530a(0x32f)]));if(!_0x19d879)throw new Error(_0x35530a(0x325));return _0x50cf98[_0x35530a(0x253)]&&(_0x19d879[_0x35530a(0x25a)]=!0x0),_0x50cf98[_0x35530a(0x2d6)]&&(_0x19d879['client_no_context_takeover']=!0x0),typeof _0x50cf98['serverMaxWindowBits']==_0x35530a(0x250)&&(_0x19d879[_0x35530a(0x23c)]=_0x50cf98[_0x35530a(0x24a)]),typeof _0x50cf98['clientMaxWindowBits']==_0x35530a(0x250)?_0x19d879[_0x35530a(0x32f)]=_0x50cf98[_0x35530a(0x231)]:(_0x19d879[_0x35530a(0x32f)]===!0x0||_0x50cf98[_0x35530a(0x231)]===!0x1)&&delete _0x19d879[_0x35530a(0x32f)],_0x19d879;}[_0x281ea9(0x2e5)](_0x3273f2){const _0xd6a1b3=_0x281ea9,_0x2f702a=_0x3273f2[0x0];if(this[_0xd6a1b3(0x2b7)][_0xd6a1b3(0x2d6)]===!0x1&&_0x2f702a['client_no_context_takeover'])throw new Error(_0xd6a1b3(0x229));if(!_0x2f702a[_0xd6a1b3(0x32f)])typeof this[_0xd6a1b3(0x2b7)]['clientMaxWindowBits']==_0xd6a1b3(0x250)&&(_0x2f702a[_0xd6a1b3(0x32f)]=this[_0xd6a1b3(0x2b7)]['clientMaxWindowBits']);else{if(this[_0xd6a1b3(0x2b7)][_0xd6a1b3(0x231)]===!0x1||typeof this['_options'][_0xd6a1b3(0x231)]=='number'&&_0x2f702a[_0xd6a1b3(0x32f)]>this['_options'][_0xd6a1b3(0x231)])throw new Error(_0xd6a1b3(0x321));}return _0x2f702a;}['normalizeParams'](_0x1919c3){const _0x3f8f39=_0x281ea9;return _0x1919c3[_0x3f8f39(0x1a6)](_0x48a74f=>{const _0x56664a=_0x3f8f39;Object[_0x56664a(0x2fa)](_0x48a74f)[_0x56664a(0x1a6)](_0x26986e=>{const _0x694b16=_0x56664a;let _0x5f44e2=_0x48a74f[_0x26986e];if(_0x5f44e2[_0x694b16(0x2a6)]>0x1)throw new Error(_0x694b16(0x308)+_0x26986e+_0x694b16(0x244));if(_0x5f44e2=_0x5f44e2[0x0],_0x26986e===_0x694b16(0x32f)){if(_0x5f44e2!==!0x0){const _0x179262=+_0x5f44e2;if(!Number[_0x694b16(0x20e)](_0x179262)||_0x179262<0x8||_0x179262>0xf)throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);_0x5f44e2=_0x179262;}else{if(!this[_0x694b16(0x28e)])throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);}}else{if(_0x26986e===_0x694b16(0x23c)){const _0xa553c8=+_0x5f44e2;if(!Number[_0x694b16(0x20e)](_0xa553c8)||_0xa553c8<0x8||_0xa553c8>0xf)throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);_0x5f44e2=_0xa553c8;}else{if(_0x26986e===_0x694b16(0x290)||_0x26986e==='server_no_context_takeover'){if(_0x5f44e2!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x26986e+'\x22:\x20'+_0x5f44e2);}else throw new Error(_0x694b16(0x1ae)+_0x26986e+'\x22');}}_0x48a74f[_0x26986e]=_0x5f44e2;});}),_0x1919c3;}['decompress'](_0x32528c,_0x474676,_0x4e9354){const _0x23707c=_0x281ea9;_0x29e573[_0x23707c(0x2ec)](_0x17e7fb=>{const _0x12857d=_0x23707c;this[_0x12857d(0x2f2)](_0x32528c,_0x474676,(_0xdea703,_0x216658)=>{_0x17e7fb(),_0x4e9354(_0xdea703,_0x216658);});});}[_0x281ea9(0x2c7)](_0x4a69c4,_0x4cd4be,_0x18840a){const _0x18d183=_0x281ea9;_0x29e573[_0x18d183(0x2ec)](_0x25aea5=>{const _0x235a0c=_0x18d183;this[_0x235a0c(0x233)](_0x4a69c4,_0x4cd4be,(_0x445ca4,_0x419291)=>{_0x25aea5(),_0x18840a(_0x445ca4,_0x419291);});});}[_0x281ea9(0x2f2)](_0x203198,_0x496e34,_0x5d4144){const _0x4680c2=_0x281ea9,_0x4cef7c=this['_isServer']?'client':_0x4680c2(0x1cb);if(!this[_0x4680c2(0x19a)]){const _0x46a1ca=_0x4cef7c+_0x4680c2(0x246),_0x14cfd0=typeof this['params'][_0x46a1ca]!=_0x4680c2(0x250)?_0x17e53a[_0x4680c2(0x1f9)]:this[_0x4680c2(0x248)][_0x46a1ca];this[_0x4680c2(0x19a)]=_0x17e53a['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x14cfd0}),this[_0x4680c2(0x19a)][_0x244611]=this,this['_inflate'][_0x41cb36]=0x0,this[_0x4680c2(0x19a)][_0x386e32]=[],this[_0x4680c2(0x19a)]['on'](_0x4680c2(0x1d2),_0x53f6ef),this['_inflate']['on'](_0x4680c2(0x2cd),_0x2597be);}this[_0x4680c2(0x19a)][_0x9d11a1]=_0x5d4144,this[_0x4680c2(0x19a)][_0x4680c2(0x2a9)](_0x203198),_0x496e34&&this['_inflate'][_0x4680c2(0x2a9)](_0x466d6d),this[_0x4680c2(0x19a)][_0x4680c2(0x1af)](()=>{const _0x59ea5d=_0x4680c2,_0x3327e7=this[_0x59ea5d(0x19a)][_0x107642];if(_0x3327e7){this[_0x59ea5d(0x19a)][_0x59ea5d(0x32e)](),this[_0x59ea5d(0x19a)]=null,_0x5d4144(_0x3327e7);return;}const _0x53516b=_0x3cbbc1['concat'](this[_0x59ea5d(0x19a)][_0x386e32],this['_inflate'][_0x41cb36]);this[_0x59ea5d(0x19a)][_0x59ea5d(0x2d0)][_0x59ea5d(0x210)]?(this[_0x59ea5d(0x19a)][_0x59ea5d(0x32e)](),this[_0x59ea5d(0x19a)]=null):(this['_inflate'][_0x41cb36]=0x0,this[_0x59ea5d(0x19a)][_0x386e32]=[],_0x496e34&&this[_0x59ea5d(0x248)][_0x4cef7c+'_no_context_takeover']&&this[_0x59ea5d(0x19a)][_0x59ea5d(0x226)]()),_0x5d4144(null,_0x53516b);});}['_compress'](_0x5c05c6,_0x304f82,_0x565e31){const _0x1ca078=_0x281ea9,_0xe5fb95=this[_0x1ca078(0x28e)]?_0x1ca078(0x1cb):_0x1ca078(0x31e);if(!this[_0x1ca078(0x1ef)]){const _0x24c81e=_0xe5fb95+_0x1ca078(0x246),_0x392f33=typeof this[_0x1ca078(0x248)][_0x24c81e]!=_0x1ca078(0x250)?_0x17e53a[_0x1ca078(0x1f9)]:this[_0x1ca078(0x248)][_0x24c81e];this[_0x1ca078(0x1ef)]=_0x17e53a['createDeflateRaw']({...this['_options'][_0x1ca078(0x1d9)],'windowBits':_0x392f33}),this[_0x1ca078(0x1ef)][_0x41cb36]=0x0,this[_0x1ca078(0x1ef)][_0x386e32]=[],this[_0x1ca078(0x1ef)]['on'](_0x1ca078(0x2cd),_0x47445e);}this[_0x1ca078(0x1ef)][_0x9d11a1]=_0x565e31,this['_deflate'][_0x1ca078(0x2a9)](_0x5c05c6),this['_deflate'][_0x1ca078(0x1af)](_0x17e53a['Z_SYNC_FLUSH'],()=>{const _0x22a732=_0x1ca078;if(!this['_deflate'])return;let _0x4e32d2=_0x3cbbc1[_0x22a732(0x202)](this['_deflate'][_0x386e32],this[_0x22a732(0x1ef)][_0x41cb36]);_0x304f82&&(_0x4e32d2=new _0x27ce99(_0x4e32d2[_0x22a732(0x1e6)],_0x4e32d2[_0x22a732(0x336)],_0x4e32d2[_0x22a732(0x2a6)]-0x4)),this[_0x22a732(0x1ef)][_0x9d11a1]=null,this[_0x22a732(0x1ef)][_0x41cb36]=0x0,this[_0x22a732(0x1ef)][_0x386e32]=[],_0x304f82&&this[_0x22a732(0x248)][_0xe5fb95+_0x22a732(0x326)]&&this[_0x22a732(0x1ef)]['reset'](),_0x565e31(null,_0x4e32d2);});}}ve=_0x4abd04;function _0x47445e(_0x210fde){const _0x51dcf7=_0x281ea9;this[_0x386e32][_0x51dcf7(0x266)](_0x210fde),this[_0x41cb36]+=_0x210fde[_0x51dcf7(0x2a6)];}function _0x2597be(_0x1edec5){const _0x5e0dd6=_0x281ea9;if(this[_0x41cb36]+=_0x1edec5[_0x5e0dd6(0x2a6)],this[_0x244611]['_maxPayload']<0x1||this[_0x41cb36]<=this[_0x244611][_0x5e0dd6(0x2e7)]){this[_0x386e32]['push'](_0x1edec5);return;}this[_0x107642]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x107642]['code']=_0x5e0dd6(0x259),this[_0x107642][_0x3fbc38]=0x3f1,this[_0x5e0dd6(0x327)](_0x5e0dd6(0x2cd),_0x2597be),this[_0x5e0dd6(0x226)]();}function _0x53f6ef(_0x95c80b){const _0x1581eb=_0x281ea9;if(this[_0x244611][_0x1581eb(0x19a)]=null,this[_0x107642]){this[_0x9d11a1](this[_0x107642]);return;}_0x95c80b[_0x3fbc38]=0x3ef,this[_0x9d11a1](_0x95c80b);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4f9298(0x2a3)](Object[_0x4f9298(0x22f)]({'__proto__':null,'default':Ht},Symbol[_0x4f9298(0x2ac)],{'value':_0x4f9298(0x1c1)})),Yt=ut(zt);var Qe;function ne(){const _0x421666=_0x4f9298;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0xc2b5b}=_0x518b34,{hasBlob:_0x4b1df8}=V(),_0xebc762=[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 _0x1922ed(_0xc77f37){return _0xc77f37>=0x3e8&&_0xc77f37<=0x3f6&&_0xc77f37!==0x3ec&&_0xc77f37!==0x3ed&&_0xc77f37!==0x3ee||_0xc77f37>=0xbb8&&_0xc77f37<=0x1387;}function _0x123c6c(_0x244216){const _0x3243e5=_0x3288,_0x5208d1=_0x244216[_0x3243e5(0x2a6)];let _0x1d0447=0x0;for(;_0x1d0447<_0x5208d1;)if((_0x244216[_0x1d0447]&0x80)===0x0)_0x1d0447++;else{if((_0x244216[_0x1d0447]&0xe0)===0xc0){if(_0x1d0447+0x1===_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447]&0xfe)===0xc0)return!0x1;_0x1d0447+=0x2;}else{if((_0x244216[_0x1d0447]&0xf0)===0xe0){if(_0x1d0447+0x2>=_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x2]&0xc0)!==0x80||_0x244216[_0x1d0447]===0xe0&&(_0x244216[_0x1d0447+0x1]&0xe0)===0x80||_0x244216[_0x1d0447]===0xed&&(_0x244216[_0x1d0447+0x1]&0xe0)===0xa0)return!0x1;_0x1d0447+=0x3;}else{if((_0x244216[_0x1d0447]&0xf8)===0xf0){if(_0x1d0447+0x3>=_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x2]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x3]&0xc0)!==0x80||_0x244216[_0x1d0447]===0xf0&&(_0x244216[_0x1d0447+0x1]&0xf0)===0x80||_0x244216[_0x1d0447]===0xf4&&_0x244216[_0x1d0447+0x1]>0x8f||_0x244216[_0x1d0447]>0xf4)return!0x1;_0x1d0447+=0x4;}else return!0x1;}}}return!0x0;}function _0x4781f9(_0x38f613){const _0x20f2f5=_0x3288;return _0x4b1df8&&typeof _0x38f613==_0x20f2f5(0x30d)&&typeof _0x38f613[_0x20f2f5(0x1e2)]==_0x20f2f5(0x288)&&typeof _0x38f613[_0x20f2f5(0x25b)]==_0x20f2f5(0x31b)&&typeof _0x38f613[_0x20f2f5(0x1a4)]=='function'&&(_0x38f613[Symbol['toStringTag']]===_0x20f2f5(0x1f1)||_0x38f613[Symbol[_0x20f2f5(0x2ac)]]==='File');}if(re[_0x421666(0x22c)]={'isBlob':_0x4781f9,'isValidStatusCode':_0x1922ed,'isValidUTF8':_0x123c6c,'tokenChars':_0xebc762},_0xc2b5b)re[_0x421666(0x22c)][_0x421666(0x1ed)]=function(_0x44d4cc){return _0x44d4cc['length']<0x18?_0x123c6c(_0x44d4cc):_0xc2b5b(_0x44d4cc);};else{if(!process[_0x421666(0x1ad)][_0x421666(0x32d)])try{const _0x37fbf4=Yt;re['exports'][_0x421666(0x1ed)]=function(_0x52afeb){const _0x2f68fc=_0x421666;return _0x52afeb[_0x2f68fc(0x2a6)]<0x20?_0x123c6c(_0x52afeb):_0x37fbf4(_0x52afeb);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x3ce12e=_0x4f9298;if(Je)return Se;Je=0x1;const {Writable:_0x5d97bf}=_0x4a4f82,_0x1348ad=he(),{BINARY_TYPES:_0xb7627f,EMPTY_BUFFER:_0x3ae7df,kStatusCode:_0x409c77,kWebSocket:_0x4db281}=V(),{concat:_0x34fd97,toArrayBuffer:_0x3c0e20,unmask:_0xed6d9}=ce(),{isValidStatusCode:_0x2de8b0,isValidUTF8:_0x1431c2}=ne(),_0x4cb0c6=Buffer[Symbol['species']],_0x1dca92=0x0,_0x3caec9=0x1,_0x554efa=0x2,_0x3fc7af=0x3,_0x470445=0x4,_0x261070=0x5,_0x5795a6=0x6;class _0x54eb73 extends _0x5d97bf{constructor(_0x422305={}){const _0x4eb22a=_0x3288;super(),this['_allowSynchronousEvents']=_0x422305[_0x4eb22a(0x268)]!==void 0x0?_0x422305[_0x4eb22a(0x268)]:!0x0,this['_binaryType']=_0x422305[_0x4eb22a(0x28c)]||_0xb7627f[0x0],this[_0x4eb22a(0x215)]=_0x422305[_0x4eb22a(0x33e)]||{},this['_isServer']=!!_0x422305[_0x4eb22a(0x29e)],this[_0x4eb22a(0x2e7)]=_0x422305[_0x4eb22a(0x240)]|0x0,this[_0x4eb22a(0x1b2)]=!!_0x422305[_0x4eb22a(0x249)],this[_0x4db281]=void 0x0,this[_0x4eb22a(0x1e7)]=0x0,this['_buffers']=[],this[_0x4eb22a(0x2cf)]=!0x1,this[_0x4eb22a(0x263)]=0x0,this[_0x4eb22a(0x2b8)]=void 0x0,this[_0x4eb22a(0x2dd)]=0x0,this[_0x4eb22a(0x27b)]=!0x1,this[_0x4eb22a(0x1d4)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x4eb22a(0x2aa)]=0x0,this['_fragments']=[],this[_0x4eb22a(0x196)]=!0x1,this[_0x4eb22a(0x238)]=!0x1,this[_0x4eb22a(0x2e1)]=_0x1dca92;}[_0x3ce12e(0x25f)](_0x29c269,_0x4b7eaf,_0x2fa0ab){const _0x134beb=_0x3ce12e;if(this[_0x134beb(0x2e8)]===0x8&&this[_0x134beb(0x2e1)]==_0x1dca92)return _0x2fa0ab();this['_bufferedBytes']+=_0x29c269[_0x134beb(0x2a6)],this[_0x134beb(0x2d4)][_0x134beb(0x266)](_0x29c269),this[_0x134beb(0x245)](_0x2fa0ab);}['consume'](_0x6d1042){const _0x4f52be=_0x3ce12e;if(this[_0x4f52be(0x1e7)]-=_0x6d1042,_0x6d1042===this['_buffers'][0x0][_0x4f52be(0x2a6)])return this[_0x4f52be(0x2d4)][_0x4f52be(0x243)]();if(_0x6d1042<this[_0x4f52be(0x2d4)][0x0]['length']){const _0x1d9a07=this[_0x4f52be(0x2d4)][0x0];return this[_0x4f52be(0x2d4)][0x0]=new _0x4cb0c6(_0x1d9a07[_0x4f52be(0x1e6)],_0x1d9a07[_0x4f52be(0x336)]+_0x6d1042,_0x1d9a07['length']-_0x6d1042),new _0x4cb0c6(_0x1d9a07[_0x4f52be(0x1e6)],_0x1d9a07[_0x4f52be(0x336)],_0x6d1042);}const _0x17c879=Buffer[_0x4f52be(0x2a5)](_0x6d1042);do{const _0x13e5e6=this[_0x4f52be(0x2d4)][0x0],_0x3458c7=_0x17c879[_0x4f52be(0x2a6)]-_0x6d1042;_0x6d1042>=_0x13e5e6[_0x4f52be(0x2a6)]?_0x17c879[_0x4f52be(0x2ad)](this[_0x4f52be(0x2d4)][_0x4f52be(0x243)](),_0x3458c7):(_0x17c879['set'](new Uint8Array(_0x13e5e6[_0x4f52be(0x1e6)],_0x13e5e6[_0x4f52be(0x336)],_0x6d1042),_0x3458c7),this[_0x4f52be(0x2d4)][0x0]=new _0x4cb0c6(_0x13e5e6[_0x4f52be(0x1e6)],_0x13e5e6['byteOffset']+_0x6d1042,_0x13e5e6[_0x4f52be(0x2a6)]-_0x6d1042)),_0x6d1042-=_0x13e5e6[_0x4f52be(0x2a6)];}while(_0x6d1042>0x0);return _0x17c879;}[_0x3ce12e(0x245)](_0x41fb73){const _0x7176e2=_0x3ce12e;this['_loop']=!0x0;do switch(this[_0x7176e2(0x2e1)]){case _0x1dca92:this[_0x7176e2(0x239)](_0x41fb73);break;case _0x3caec9:this['getPayloadLength16'](_0x41fb73);break;case _0x554efa:this[_0x7176e2(0x335)](_0x41fb73);break;case _0x3fc7af:this['getMask']();break;case _0x470445:this[_0x7176e2(0x1dc)](_0x41fb73);break;case _0x261070:case _0x5795a6:this[_0x7176e2(0x238)]=!0x1;return;}while(this['_loop']);this[_0x7176e2(0x196)]||_0x41fb73();}['getInfo'](_0x47611){const _0x37e294=_0x3ce12e;if(this[_0x37e294(0x1e7)]<0x2){this[_0x37e294(0x238)]=!0x1;return;}const _0x356c62=this[_0x37e294(0x312)](0x2);if((_0x356c62[0x0]&0x30)!==0x0){const _0x6fd650=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x267),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x47611(_0x6fd650);return;}const _0x130c43=(_0x356c62[0x0]&0x40)===0x40;if(_0x130c43&&!this[_0x37e294(0x215)][_0x1348ad[_0x37e294(0x237)]]){const _0xc75316=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c6),!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0xc75316);return;}if(this['_fin']=(_0x356c62[0x0]&0x80)===0x80,this['_opcode']=_0x356c62[0x0]&0xf,this[_0x37e294(0x263)]=_0x356c62[0x1]&0x7f,this['_opcode']===0x0){if(_0x130c43){const _0x3e3f9a=this[_0x37e294(0x2fe)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0x3e3f9a);return;}if(!this[_0x37e294(0x2dd)]){const _0xea7c45=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c9),!0x0,0x3ea,_0x37e294(0x28f));_0x47611(_0xea7c45);return;}this[_0x37e294(0x2e8)]=this[_0x37e294(0x2dd)];}else{if(this[_0x37e294(0x2e8)]===0x1||this['_opcode']===0x2){if(this[_0x37e294(0x2dd)]){const _0x34d583=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x207)+this[_0x37e294(0x2e8)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x47611(_0x34d583);return;}this['_compressed']=_0x130c43;}else{if(this[_0x37e294(0x2e8)]>0x7&&this[_0x37e294(0x2e8)]<0xb){if(!this[_0x37e294(0x1d4)]){const _0xaa49c3=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x1f6),!0x0,0x3ea,_0x37e294(0x30c));_0x47611(_0xaa49c3);return;}if(_0x130c43){const _0x58a139=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c6),!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0x58a139);return;}if(this[_0x37e294(0x263)]>0x7d||this[_0x37e294(0x2e8)]===0x8&&this[_0x37e294(0x263)]===0x1){const _0x47ff2f=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x221)+this['_payloadLength'],!0x0,0x3ea,_0x37e294(0x296));_0x47611(_0x47ff2f);return;}}else{const _0x4b4b59=this['createError'](RangeError,_0x37e294(0x207)+this[_0x37e294(0x2e8)],!0x0,0x3ea,_0x37e294(0x28f));_0x47611(_0x4b4b59);return;}}}if(!this[_0x37e294(0x1d4)]&&!this['_fragmented']&&(this[_0x37e294(0x2dd)]=this['_opcode']),this[_0x37e294(0x27b)]=(_0x356c62[0x1]&0x80)===0x80,this[_0x37e294(0x28e)]){if(!this[_0x37e294(0x27b)]){const _0x50e082=this[_0x37e294(0x2fe)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x37e294(0x2d1));_0x47611(_0x50e082);return;}}else{if(this[_0x37e294(0x27b)]){const _0x35c02e=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x24b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x47611(_0x35c02e);return;}}this['_payloadLength']===0x7e?this[_0x37e294(0x2e1)]=_0x3caec9:this[_0x37e294(0x263)]===0x7f?this['_state']=_0x554efa:this[_0x37e294(0x19c)](_0x47611);}[_0x3ce12e(0x307)](_0x3a41c9){const _0x5033bb=_0x3ce12e;if(this[_0x5033bb(0x1e7)]<0x2){this[_0x5033bb(0x238)]=!0x1;return;}this[_0x5033bb(0x263)]=this[_0x5033bb(0x312)](0x2)[_0x5033bb(0x2fb)](0x0),this[_0x5033bb(0x19c)](_0x3a41c9);}[_0x3ce12e(0x335)](_0x866d41){const _0x36de19=_0x3ce12e;if(this[_0x36de19(0x1e7)]<0x8){this['_loop']=!0x1;return;}const _0x535ebf=this['consume'](0x8),_0x37ec55=_0x535ebf['readUInt32BE'](0x0);if(_0x37ec55>Math['pow'](0x2,0x15)-0x1){const _0xf7037c=this[_0x36de19(0x2fe)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x36de19(0x2d2));_0x866d41(_0xf7037c);return;}this[_0x36de19(0x263)]=_0x37ec55*Math[_0x36de19(0x230)](0x2,0x20)+_0x535ebf[_0x36de19(0x1cc)](0x4),this[_0x36de19(0x19c)](_0x866d41);}[_0x3ce12e(0x19c)](_0x322906){const _0x58a7b6=_0x3ce12e;if(this[_0x58a7b6(0x263)]&&this[_0x58a7b6(0x2e8)]<0x8&&(this['_totalPayloadLength']+=this[_0x58a7b6(0x263)],this[_0x58a7b6(0x28b)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x39e5ab=this[_0x58a7b6(0x2fe)](RangeError,_0x58a7b6(0x2f1),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x322906(_0x39e5ab);return;}this['_masked']?this[_0x58a7b6(0x2e1)]=_0x3fc7af:this[_0x58a7b6(0x2e1)]=_0x470445;}[_0x3ce12e(0x20b)](){const _0x36c9d3=_0x3ce12e;if(this[_0x36c9d3(0x1e7)]<0x4){this[_0x36c9d3(0x238)]=!0x1;return;}this['_mask']=this[_0x36c9d3(0x312)](0x4),this['_state']=_0x470445;}[_0x3ce12e(0x1dc)](_0x290fed){const _0x361eb2=_0x3ce12e;let _0x13952e=_0x3ae7df;if(this[_0x361eb2(0x263)]){if(this[_0x361eb2(0x1e7)]<this[_0x361eb2(0x263)]){this['_loop']=!0x1;return;}_0x13952e=this[_0x361eb2(0x312)](this[_0x361eb2(0x263)]),this[_0x361eb2(0x27b)]&&(this[_0x361eb2(0x2b8)][0x0]|this[_0x361eb2(0x2b8)][0x1]|this[_0x361eb2(0x2b8)][0x2]|this[_0x361eb2(0x2b8)][0x3])!==0x0&&_0xed6d9(_0x13952e,this[_0x361eb2(0x2b8)]);}if(this[_0x361eb2(0x2e8)]>0x7){this['controlMessage'](_0x13952e,_0x290fed);return;}if(this[_0x361eb2(0x2cf)]){this[_0x361eb2(0x2e1)]=_0x261070,this[_0x361eb2(0x1b3)](_0x13952e,_0x290fed);return;}_0x13952e['length']&&(this[_0x361eb2(0x2aa)]=this[_0x361eb2(0x28b)],this[_0x361eb2(0x2ab)][_0x361eb2(0x266)](_0x13952e)),this[_0x361eb2(0x1ce)](_0x290fed);}['decompress'](_0x3a9c86,_0x3140f9){const _0x47b3e3=_0x3ce12e;this[_0x47b3e3(0x215)][_0x1348ad[_0x47b3e3(0x237)]][_0x47b3e3(0x1b3)](_0x3a9c86,this[_0x47b3e3(0x1d4)],(_0x221091,_0x3e6917)=>{const _0x4fb4af=_0x47b3e3;if(_0x221091)return _0x3140f9(_0x221091);if(_0x3e6917[_0x4fb4af(0x2a6)]){if(this[_0x4fb4af(0x2aa)]+=_0x3e6917[_0x4fb4af(0x2a6)],this['_messageLength']>this[_0x4fb4af(0x2e7)]&&this[_0x4fb4af(0x2e7)]>0x0){const _0x36da38=this[_0x4fb4af(0x2fe)](RangeError,_0x4fb4af(0x2f1),!0x1,0x3f1,_0x4fb4af(0x259));_0x3140f9(_0x36da38);return;}this[_0x4fb4af(0x2ab)][_0x4fb4af(0x266)](_0x3e6917);}this[_0x4fb4af(0x1ce)](_0x3140f9),this[_0x4fb4af(0x2e1)]===_0x1dca92&&this[_0x4fb4af(0x245)](_0x3140f9);});}[_0x3ce12e(0x1ce)](_0x4a6f59){const _0x5e2bbc=_0x3ce12e;if(!this[_0x5e2bbc(0x1d4)]){this[_0x5e2bbc(0x2e1)]=_0x1dca92;return;}const _0x2f5909=this['_messageLength'],_0x5c0ad9=this[_0x5e2bbc(0x2ab)];if(this[_0x5e2bbc(0x28b)]=0x0,this[_0x5e2bbc(0x2aa)]=0x0,this[_0x5e2bbc(0x2dd)]=0x0,this[_0x5e2bbc(0x2ab)]=[],this[_0x5e2bbc(0x2e8)]===0x2){let _0x393d58;this[_0x5e2bbc(0x1c4)]===_0x5e2bbc(0x2c8)?_0x393d58=_0x34fd97(_0x5c0ad9,_0x2f5909):this[_0x5e2bbc(0x1c4)]===_0x5e2bbc(0x309)?_0x393d58=_0x3c0e20(_0x34fd97(_0x5c0ad9,_0x2f5909)):this['_binaryType']===_0x5e2bbc(0x31d)?_0x393d58=new Blob(_0x5c0ad9):_0x393d58=_0x5c0ad9,this[_0x5e2bbc(0x1a2)]?(this[_0x5e2bbc(0x200)](_0x5e2bbc(0x1f8),_0x393d58,!0x0),this['_state']=_0x1dca92):(this[_0x5e2bbc(0x2e1)]=_0x5795a6,setImmediate(()=>{const _0x342abf=_0x5e2bbc;this[_0x342abf(0x200)](_0x342abf(0x1f8),_0x393d58,!0x0),this[_0x342abf(0x2e1)]=_0x1dca92,this[_0x342abf(0x245)](_0x4a6f59);}));}else{const _0x4154df=_0x34fd97(_0x5c0ad9,_0x2f5909);if(!this['_skipUTF8Validation']&&!_0x1431c2(_0x4154df)){const _0x400861=this[_0x5e2bbc(0x2fe)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5e2bbc(0x2a8));_0x4a6f59(_0x400861);return;}this[_0x5e2bbc(0x2e1)]===_0x261070||this[_0x5e2bbc(0x1a2)]?(this[_0x5e2bbc(0x200)](_0x5e2bbc(0x1f8),_0x4154df,!0x1),this[_0x5e2bbc(0x2e1)]=_0x1dca92):(this['_state']=_0x5795a6,setImmediate(()=>{const _0x3a4779=_0x5e2bbc;this[_0x3a4779(0x200)](_0x3a4779(0x1f8),_0x4154df,!0x1),this[_0x3a4779(0x2e1)]=_0x1dca92,this['startLoop'](_0x4a6f59);}));}}[_0x3ce12e(0x2c1)](_0x209e3c,_0x59cd7){const _0x4c811d=_0x3ce12e;if(this[_0x4c811d(0x2e8)]===0x8){if(_0x209e3c[_0x4c811d(0x2a6)]===0x0)this[_0x4c811d(0x238)]=!0x1,this['emit']('conclude',0x3ed,_0x3ae7df),this['end']();else{const _0xa53632=_0x209e3c[_0x4c811d(0x2fb)](0x0);if(!_0x2de8b0(_0xa53632)){const _0x1aef27=this[_0x4c811d(0x2fe)](RangeError,'invalid\x20status\x20code\x20'+_0xa53632,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x59cd7(_0x1aef27);return;}const _0x40b949=new _0x4cb0c6(_0x209e3c[_0x4c811d(0x1e6)],_0x209e3c[_0x4c811d(0x336)]+0x2,_0x209e3c[_0x4c811d(0x2a6)]-0x2);if(!this[_0x4c811d(0x1b2)]&&!_0x1431c2(_0x40b949)){const _0x2f774f=this[_0x4c811d(0x2fe)](Error,_0x4c811d(0x20d),!0x0,0x3ef,_0x4c811d(0x2a8));_0x59cd7(_0x2f774f);return;}this['_loop']=!0x1,this['emit']('conclude',_0xa53632,_0x40b949),this['end']();}this[_0x4c811d(0x2e1)]=_0x1dca92;return;}this[_0x4c811d(0x1a2)]?(this[_0x4c811d(0x200)](this[_0x4c811d(0x2e8)]===0x9?'ping':_0x4c811d(0x295),_0x209e3c),this[_0x4c811d(0x2e1)]=_0x1dca92):(this[_0x4c811d(0x2e1)]=_0x5795a6,setImmediate(()=>{const _0x398236=_0x4c811d;this[_0x398236(0x200)](this['_opcode']===0x9?_0x398236(0x2c4):_0x398236(0x295),_0x209e3c),this['_state']=_0x1dca92,this[_0x398236(0x245)](_0x59cd7);}));}[_0x3ce12e(0x2fe)](_0x2938e1,_0x25c20a,_0x3bb16b,_0x8bf8ea,_0x332fd1){const _0x4876c8=_0x3ce12e;this[_0x4876c8(0x238)]=!0x1,this[_0x4876c8(0x196)]=!0x0;const _0x18ab47=new _0x2938e1(_0x3bb16b?_0x4876c8(0x1b9)+_0x25c20a:_0x25c20a);return Error[_0x4876c8(0x2ee)](_0x18ab47,this[_0x4876c8(0x2fe)]),_0x18ab47['code']=_0x332fd1,_0x18ab47[_0x409c77]=_0x8bf8ea,_0x18ab47;}}return Se=_0x54eb73,Se;}var Ee,et;function _t(){const _0x45ff3e=_0x4f9298;if(et)return Ee;et=0x1;const {Duplex:_0xf64743}=_0x4a4f82,{randomFillSync:_0x6531e4}=_0x5ef917,_0x519c28=he(),{EMPTY_BUFFER:_0x5bab29,kWebSocket:_0x3441bb,NOOP:_0x11188b}=V(),{isBlob:_0x562f3b,isValidStatusCode:_0x55a642}=ne(),{mask:_0x467a16,toBuffer:_0x37c0da}=ce(),_0x50e220=Symbol(_0x45ff3e(0x281)),_0x1db0a4=Buffer[_0x45ff3e(0x1be)](0x4),_0xac6bc1=0x8*0x400;let _0x12134e,_0x2f7b6e=_0xac6bc1;const _0x504ef7=0x0,_0x4da3f8=0x1,_0x3dfd72=0x2;class _0x1c9fd9{constructor(_0x46c418,_0x3a48c1,_0x54b428){const _0x30a7fe=_0x45ff3e;this[_0x30a7fe(0x215)]=_0x3a48c1||{},_0x54b428&&(this[_0x30a7fe(0x31c)]=_0x54b428,this['_maskBuffer']=Buffer[_0x30a7fe(0x1be)](0x4)),this[_0x30a7fe(0x2b4)]=_0x46c418,this[_0x30a7fe(0x227)]=!0x0,this['_compress']=!0x1,this[_0x30a7fe(0x1e7)]=0x0,this['_queue']=[],this[_0x30a7fe(0x2e1)]=_0x504ef7,this[_0x30a7fe(0x256)]=_0x11188b,this[_0x3441bb]=void 0x0;}static[_0x45ff3e(0x1b6)](_0x417671,_0x426811){const _0x16b493=_0x45ff3e;let _0x447054,_0x57b665=!0x1,_0x3578db=0x2,_0xe4bd7b=!0x1;_0x426811[_0x16b493(0x23a)]&&(_0x447054=_0x426811[_0x16b493(0x33c)]||_0x1db0a4,_0x426811[_0x16b493(0x258)]?_0x426811[_0x16b493(0x258)](_0x447054):(_0x2f7b6e===_0xac6bc1&&(_0x12134e===void 0x0&&(_0x12134e=Buffer[_0x16b493(0x1be)](_0xac6bc1)),_0x6531e4(_0x12134e,0x0,_0xac6bc1),_0x2f7b6e=0x0),_0x447054[0x0]=_0x12134e[_0x2f7b6e++],_0x447054[0x1]=_0x12134e[_0x2f7b6e++],_0x447054[0x2]=_0x12134e[_0x2f7b6e++],_0x447054[0x3]=_0x12134e[_0x2f7b6e++]),_0xe4bd7b=(_0x447054[0x0]|_0x447054[0x1]|_0x447054[0x2]|_0x447054[0x3])===0x0,_0x3578db=0x6);let _0x116830;typeof _0x417671==_0x16b493(0x31b)?(!_0x426811[_0x16b493(0x23a)]||_0xe4bd7b)&&_0x426811[_0x50e220]!==void 0x0?_0x116830=_0x426811[_0x50e220]:(_0x417671=Buffer['from'](_0x417671),_0x116830=_0x417671[_0x16b493(0x2a6)]):(_0x116830=_0x417671[_0x16b493(0x2a6)],_0x57b665=_0x426811[_0x16b493(0x23a)]&&_0x426811['readOnly']&&!_0xe4bd7b);let _0x3751d7=_0x116830;_0x116830>=0x10000?(_0x3578db+=0x8,_0x3751d7=0x7f):_0x116830>0x7d&&(_0x3578db+=0x2,_0x3751d7=0x7e);const _0x516140=Buffer['allocUnsafe'](_0x57b665?_0x116830+_0x3578db:_0x3578db);return _0x516140[0x0]=_0x426811[_0x16b493(0x2f0)]?_0x426811[_0x16b493(0x252)]|0x80:_0x426811[_0x16b493(0x252)],_0x426811[_0x16b493(0x194)]&&(_0x516140[0x0]|=0x40),_0x516140[0x1]=_0x3751d7,_0x3751d7===0x7e?_0x516140['writeUInt16BE'](_0x116830,0x2):_0x3751d7===0x7f&&(_0x516140[0x2]=_0x516140[0x3]=0x0,_0x516140[_0x16b493(0x318)](_0x116830,0x4,0x6)),_0x426811['mask']?(_0x516140[0x1]|=0x80,_0x516140[_0x3578db-0x4]=_0x447054[0x0],_0x516140[_0x3578db-0x3]=_0x447054[0x1],_0x516140[_0x3578db-0x2]=_0x447054[0x2],_0x516140[_0x3578db-0x1]=_0x447054[0x3],_0xe4bd7b?[_0x516140,_0x417671]:_0x57b665?(_0x467a16(_0x417671,_0x447054,_0x516140,_0x3578db,_0x116830),[_0x516140]):(_0x467a16(_0x417671,_0x447054,_0x417671,0x0,_0x116830),[_0x516140,_0x417671])):[_0x516140,_0x417671];}['close'](_0x2a0577,_0x24ccd2,_0x310bf6,_0x554958){const _0x32498c=_0x45ff3e;let _0x195686;if(_0x2a0577===void 0x0)_0x195686=_0x5bab29;else{if(typeof _0x2a0577!=_0x32498c(0x250)||!_0x55a642(_0x2a0577))throw new TypeError(_0x32498c(0x2de));if(_0x24ccd2===void 0x0||!_0x24ccd2['length'])_0x195686=Buffer[_0x32498c(0x2a5)](0x2),_0x195686[_0x32498c(0x24c)](_0x2a0577,0x0);else{const _0x41dc74=Buffer['byteLength'](_0x24ccd2);if(_0x41dc74>0x7b)throw new RangeError(_0x32498c(0x286));_0x195686=Buffer['allocUnsafe'](0x2+_0x41dc74),_0x195686[_0x32498c(0x24c)](_0x2a0577,0x0),typeof _0x24ccd2==_0x32498c(0x31b)?_0x195686[_0x32498c(0x2a9)](_0x24ccd2,0x2):_0x195686[_0x32498c(0x2ad)](_0x24ccd2,0x2);}}const _0x22a6ed={[_0x50e220]:_0x195686[_0x32498c(0x2a6)],'fin':!0x0,'generateMask':this[_0x32498c(0x31c)],'mask':_0x310bf6,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x504ef7?this[_0x32498c(0x1b5)]([this['dispatch'],_0x195686,!0x1,_0x22a6ed,_0x554958]):this[_0x32498c(0x209)](_0x1c9fd9[_0x32498c(0x1b6)](_0x195686,_0x22a6ed),_0x554958);}[_0x45ff3e(0x2c4)](_0x43e30e,_0x2fc3db,_0x32013e){const _0x106413=_0x45ff3e;let _0x1dd6c1,_0x1b089b;if(typeof _0x43e30e==_0x106413(0x31b)?(_0x1dd6c1=Buffer[_0x106413(0x1a5)](_0x43e30e),_0x1b089b=!0x1):_0x562f3b(_0x43e30e)?(_0x1dd6c1=_0x43e30e[_0x106413(0x19b)],_0x1b089b=!0x1):(_0x43e30e=_0x37c0da(_0x43e30e),_0x1dd6c1=_0x43e30e['length'],_0x1b089b=_0x37c0da[_0x106413(0x193)]),_0x1dd6c1>0x7d)throw new RangeError(_0x106413(0x1f7));const _0x38d8c7={[_0x50e220]:_0x1dd6c1,'fin':!0x0,'generateMask':this[_0x106413(0x31c)],'mask':_0x2fc3db,'maskBuffer':this[_0x106413(0x23b)],'opcode':0x9,'readOnly':_0x1b089b,'rsv1':!0x1};_0x562f3b(_0x43e30e)?this[_0x106413(0x2e1)]!==_0x504ef7?this[_0x106413(0x1b5)]([this[_0x106413(0x315)],_0x43e30e,!0x1,_0x38d8c7,_0x32013e]):this['getBlobData'](_0x43e30e,!0x1,_0x38d8c7,_0x32013e):this[_0x106413(0x2e1)]!==_0x504ef7?this[_0x106413(0x1b5)]([this[_0x106413(0x310)],_0x43e30e,!0x1,_0x38d8c7,_0x32013e]):this['sendFrame'](_0x1c9fd9[_0x106413(0x1b6)](_0x43e30e,_0x38d8c7),_0x32013e);}[_0x45ff3e(0x295)](_0x2c4b1d,_0x370e18,_0x35c4b6){const _0x4bd576=_0x45ff3e;let _0x574ffb,_0x13b60e;if(typeof _0x2c4b1d=='string'?(_0x574ffb=Buffer['byteLength'](_0x2c4b1d),_0x13b60e=!0x1):_0x562f3b(_0x2c4b1d)?(_0x574ffb=_0x2c4b1d[_0x4bd576(0x19b)],_0x13b60e=!0x1):(_0x2c4b1d=_0x37c0da(_0x2c4b1d),_0x574ffb=_0x2c4b1d[_0x4bd576(0x2a6)],_0x13b60e=_0x37c0da[_0x4bd576(0x193)]),_0x574ffb>0x7d)throw new RangeError(_0x4bd576(0x1f7));const _0x5bc65e={[_0x50e220]:_0x574ffb,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x370e18,'maskBuffer':this[_0x4bd576(0x23b)],'opcode':0xa,'readOnly':_0x13b60e,'rsv1':!0x1};_0x562f3b(_0x2c4b1d)?this[_0x4bd576(0x2e1)]!==_0x504ef7?this[_0x4bd576(0x1b5)]([this[_0x4bd576(0x315)],_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6]):this[_0x4bd576(0x315)](_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6):this['_state']!==_0x504ef7?this[_0x4bd576(0x1b5)]([this['dispatch'],_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6]):this[_0x4bd576(0x209)](_0x1c9fd9[_0x4bd576(0x1b6)](_0x2c4b1d,_0x5bc65e),_0x35c4b6);}[_0x45ff3e(0x208)](_0x28c27a,_0x46c28a,_0xbd3497){const _0x49768f=_0x45ff3e,_0x1d9c3b=this[_0x49768f(0x215)][_0x519c28[_0x49768f(0x237)]];let _0x2e156a=_0x46c28a['binary']?0x2:0x1,_0x2a0145=_0x46c28a[_0x49768f(0x2c7)],_0x3a41d2,_0x2e8281;typeof _0x28c27a=='string'?(_0x3a41d2=Buffer[_0x49768f(0x1a5)](_0x28c27a),_0x2e8281=!0x1):_0x562f3b(_0x28c27a)?(_0x3a41d2=_0x28c27a['size'],_0x2e8281=!0x1):(_0x28c27a=_0x37c0da(_0x28c27a),_0x3a41d2=_0x28c27a['length'],_0x2e8281=_0x37c0da['readOnly']),this[_0x49768f(0x227)]?(this[_0x49768f(0x227)]=!0x1,_0x2a0145&&_0x1d9c3b&&_0x1d9c3b['params'][_0x1d9c3b['_isServer']?_0x49768f(0x25a):_0x49768f(0x290)]&&(_0x2a0145=_0x3a41d2>=_0x1d9c3b['_threshold']),this[_0x49768f(0x233)]=_0x2a0145):(_0x2a0145=!0x1,_0x2e156a=0x0),_0x46c28a['fin']&&(this[_0x49768f(0x227)]=!0x0);const _0x522789={[_0x50e220]:_0x3a41d2,'fin':_0x46c28a['fin'],'generateMask':this[_0x49768f(0x31c)],'mask':_0x46c28a[_0x49768f(0x23a)],'maskBuffer':this[_0x49768f(0x23b)],'opcode':_0x2e156a,'readOnly':_0x2e8281,'rsv1':_0x2a0145};_0x562f3b(_0x28c27a)?this[_0x49768f(0x2e1)]!==_0x504ef7?this['enqueue']([this[_0x49768f(0x315)],_0x28c27a,this[_0x49768f(0x233)],_0x522789,_0xbd3497]):this['getBlobData'](_0x28c27a,this['_compress'],_0x522789,_0xbd3497):this['_state']!==_0x504ef7?this[_0x49768f(0x1b5)]([this[_0x49768f(0x310)],_0x28c27a,this['_compress'],_0x522789,_0xbd3497]):this[_0x49768f(0x310)](_0x28c27a,this[_0x49768f(0x233)],_0x522789,_0xbd3497);}[_0x45ff3e(0x315)](_0x37b8f8,_0xfb1ad4,_0x248128,_0xa0ef4e){const _0x414c6d=_0x45ff3e;this['_bufferedBytes']+=_0x248128[_0x50e220],this[_0x414c6d(0x2e1)]=_0x3dfd72,_0x37b8f8[_0x414c6d(0x1e2)]()['then'](_0x3c11cf=>{const _0x54e4b0=_0x414c6d;if(this['_socket']['destroyed']){const _0x56810f=new Error(_0x54e4b0(0x265));process[_0x54e4b0(0x2cb)](_0x4324d2,this,_0x56810f,_0xa0ef4e);return;}this['_bufferedBytes']-=_0x248128[_0x50e220];const _0x5ac6b6=_0x37c0da(_0x3c11cf);_0xfb1ad4?this[_0x54e4b0(0x310)](_0x5ac6b6,_0xfb1ad4,_0x248128,_0xa0ef4e):(this[_0x54e4b0(0x2e1)]=_0x504ef7,this[_0x54e4b0(0x209)](_0x1c9fd9[_0x54e4b0(0x1b6)](_0x5ac6b6,_0x248128),_0xa0ef4e),this['dequeue']());})['catch'](_0xe134ac=>{const _0xc974e1=_0x414c6d;process[_0xc974e1(0x2cb)](_0x2f8ef5,this,_0xe134ac,_0xa0ef4e);});}['dispatch'](_0x12352f,_0x5255f1,_0x4358f7,_0x1ceb5e){const _0xbea58f=_0x45ff3e;if(!_0x5255f1){this[_0xbea58f(0x209)](_0x1c9fd9[_0xbea58f(0x1b6)](_0x12352f,_0x4358f7),_0x1ceb5e);return;}const _0x26e12d=this[_0xbea58f(0x215)][_0x519c28[_0xbea58f(0x237)]];this[_0xbea58f(0x1e7)]+=_0x4358f7[_0x50e220],this[_0xbea58f(0x2e1)]=_0x4da3f8,_0x26e12d[_0xbea58f(0x2c7)](_0x12352f,_0x4358f7[_0xbea58f(0x2f0)],(_0x45c917,_0x1d5911)=>{const _0x26d3e0=_0xbea58f;if(this['_socket'][_0x26d3e0(0x317)]){const _0x27076e=new Error(_0x26d3e0(0x2c3));_0x4324d2(this,_0x27076e,_0x1ceb5e);return;}this[_0x26d3e0(0x1e7)]-=_0x4358f7[_0x50e220],this[_0x26d3e0(0x2e1)]=_0x504ef7,_0x4358f7['readOnly']=!0x1,this['sendFrame'](_0x1c9fd9[_0x26d3e0(0x1b6)](_0x1d5911,_0x4358f7),_0x1ceb5e),this['dequeue']();});}['dequeue'](){const _0x39d72e=_0x45ff3e;for(;this[_0x39d72e(0x2e1)]===_0x504ef7&&this[_0x39d72e(0x2da)][_0x39d72e(0x2a6)];){const _0x357445=this[_0x39d72e(0x2da)][_0x39d72e(0x243)]();this[_0x39d72e(0x1e7)]-=_0x357445[0x3][_0x50e220],Reflect['apply'](_0x357445[0x0],this,_0x357445[_0x39d72e(0x293)](0x1));}}[_0x45ff3e(0x1b5)](_0x596366){const _0x10e544=_0x45ff3e;this[_0x10e544(0x1e7)]+=_0x596366[0x3][_0x50e220],this['_queue']['push'](_0x596366);}[_0x45ff3e(0x209)](_0x2d29f0,_0xd35db9){const _0x2a6d63=_0x45ff3e;_0x2d29f0['length']===0x2?(this['_socket']['cork'](),this[_0x2a6d63(0x2b4)][_0x2a6d63(0x2a9)](_0x2d29f0[0x0]),this['_socket']['write'](_0x2d29f0[0x1],_0xd35db9),this['_socket'][_0x2a6d63(0x1db)]()):this[_0x2a6d63(0x2b4)][_0x2a6d63(0x2a9)](_0x2d29f0[0x0],_0xd35db9);}}Ee=_0x1c9fd9;function _0x4324d2(_0xa4685f,_0x2ea842,_0x25db1f){const _0x25feba=_0x45ff3e;typeof _0x25db1f==_0x25feba(0x288)&&_0x25db1f(_0x2ea842);for(let _0x33d770=0x0;_0x33d770<_0xa4685f[_0x25feba(0x2da)][_0x25feba(0x2a6)];_0x33d770++){const _0x11b9f6=_0xa4685f[_0x25feba(0x2da)][_0x33d770],_0x47aab9=_0x11b9f6[_0x11b9f6[_0x25feba(0x2a6)]-0x1];typeof _0x47aab9==_0x25feba(0x288)&&_0x47aab9(_0x2ea842);}}function _0x2f8ef5(_0x1b5242,_0x339d8d,_0x3e16b2){const _0x26a148=_0x45ff3e;_0x4324d2(_0x1b5242,_0x339d8d,_0x3e16b2),_0x1b5242[_0x26a148(0x256)](_0x339d8d);}return Ee;}var xe,tt;function Kt(){const _0x52c472=_0x4f9298;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x980093,kListener:_0x37c498}=V(),_0x1327b2=Symbol(_0x52c472(0x285)),_0x537c4f=Symbol('kData'),_0x2ab1f1=Symbol(_0x52c472(0x27f)),_0x389adf=Symbol(_0x52c472(0x1e3)),_0x1765af=Symbol('kReason'),_0x47b12d=Symbol(_0x52c472(0x1c2)),_0x5651c7=Symbol(_0x52c472(0x211)),_0x5da419=Symbol(_0x52c472(0x2be));class _0x5f4c78{constructor(_0x5eb1d6){this[_0x47b12d]=null,this[_0x5651c7]=_0x5eb1d6;}get[_0x52c472(0x192)](){return this[_0x47b12d];}get[_0x52c472(0x25b)](){return this[_0x5651c7];}}Object[_0x52c472(0x22f)](_0x5f4c78[_0x52c472(0x26a)],_0x52c472(0x192),{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x5f4c78[_0x52c472(0x26a)],'type',{'enumerable':!0x0});class _0x4547f0 extends _0x5f4c78{constructor(_0x2a3908,_0x561a0c={}){const _0x3747c9=_0x52c472;super(_0x2a3908),this[_0x1327b2]=_0x561a0c[_0x3747c9(0x280)]===void 0x0?0x0:_0x561a0c[_0x3747c9(0x280)],this[_0x1765af]=_0x561a0c[_0x3747c9(0x23d)]===void 0x0?'':_0x561a0c[_0x3747c9(0x23d)],this[_0x5da419]=_0x561a0c[_0x3747c9(0x19f)]===void 0x0?!0x1:_0x561a0c['wasClean'];}get[_0x52c472(0x280)](){return this[_0x1327b2];}get['reason'](){return this[_0x1765af];}get[_0x52c472(0x19f)](){return this[_0x5da419];}}Object[_0x52c472(0x22f)](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x280),{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x23d),{'enumerable':!0x0}),Object['defineProperty'](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x19f),{'enumerable':!0x0});class _0x4ab5d5 extends _0x5f4c78{constructor(_0x317979,_0xe6ad5c={}){const _0x8e1c9b=_0x52c472;super(_0x317979),this[_0x2ab1f1]=_0xe6ad5c[_0x8e1c9b(0x1d2)]===void 0x0?null:_0xe6ad5c[_0x8e1c9b(0x1d2)],this[_0x389adf]=_0xe6ad5c['message']===void 0x0?'':_0xe6ad5c[_0x8e1c9b(0x1f8)];}get['error'](){return this[_0x2ab1f1];}get[_0x52c472(0x1f8)](){return this[_0x389adf];}}Object['defineProperty'](_0x4ab5d5['prototype'],'error',{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x4ab5d5['prototype'],_0x52c472(0x1f8),{'enumerable':!0x0});class _0x5856c6 extends _0x5f4c78{constructor(_0x107aeb,_0x7d11aa={}){const _0x5b40cf=_0x52c472;super(_0x107aeb),this[_0x537c4f]=_0x7d11aa[_0x5b40cf(0x2cd)]===void 0x0?null:_0x7d11aa[_0x5b40cf(0x2cd)];}get['data'](){return this[_0x537c4f];}}Object[_0x52c472(0x22f)](_0x5856c6['prototype'],_0x52c472(0x2cd),{'enumerable':!0x0}),xe={'CloseEvent':_0x4547f0,'ErrorEvent':_0x4ab5d5,'Event':_0x5f4c78,'EventTarget':{'addEventListener'(_0x5cb82c,_0x1b2701,_0x872256={}){const _0x49e945=_0x52c472;for(const _0x1ee40d of this[_0x49e945(0x1bb)](_0x5cb82c))if(!_0x872256[_0x980093]&&_0x1ee40d[_0x37c498]===_0x1b2701&&!_0x1ee40d[_0x980093])return;let _0x1ebc98;if(_0x5cb82c===_0x49e945(0x1f8))_0x1ebc98=function(_0x26af16,_0x1192e8){const _0x355273=_0x49e945,_0x2a334e=new _0x5856c6(_0x355273(0x1f8),{'data':_0x1192e8?_0x26af16:_0x26af16[_0x355273(0x284)]()});_0x2a334e[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x2a334e);};else{if(_0x5cb82c===_0x49e945(0x32e))_0x1ebc98=function(_0x19c743,_0x5d3d13){const _0x2cfd13=_0x49e945,_0x429ffd=new _0x4547f0('close',{'code':_0x19c743,'reason':_0x5d3d13[_0x2cfd13(0x284)](),'wasClean':this[_0x2cfd13(0x322)]&&this['_closeFrameSent']});_0x429ffd[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x429ffd);};else{if(_0x5cb82c==='error')_0x1ebc98=function(_0x69fb8c){const _0x5eac83=_0x49e945,_0x30306a=new _0x4ab5d5('error',{'error':_0x69fb8c,'message':_0x69fb8c[_0x5eac83(0x1f8)]});_0x30306a[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x30306a);};else{if(_0x5cb82c===_0x49e945(0x21f))_0x1ebc98=function(){const _0x5dcb2a=new _0x5f4c78('open');_0x5dcb2a[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x5dcb2a);};else return;}}}_0x1ebc98[_0x980093]=!!_0x872256[_0x980093],_0x1ebc98[_0x37c498]=_0x1b2701,_0x872256[_0x49e945(0x1a3)]?this[_0x49e945(0x1a3)](_0x5cb82c,_0x1ebc98):this['on'](_0x5cb82c,_0x1ebc98);},'removeEventListener'(_0x41bdee,_0x65a70a){const _0x2d5212=_0x52c472;for(const _0x296d55 of this[_0x2d5212(0x1bb)](_0x41bdee))if(_0x296d55[_0x37c498]===_0x65a70a&&!_0x296d55[_0x980093]){this['removeListener'](_0x41bdee,_0x296d55);break;}}},'MessageEvent':_0x5856c6};function _0x1ca414(_0x1d10ec,_0x1a720e,_0x119b29){const _0x160d10=_0x52c472;typeof _0x1d10ec==_0x160d10(0x30d)&&_0x1d10ec['handleEvent']?_0x1d10ec[_0x160d10(0x277)]['call'](_0x1d10ec,_0x119b29):_0x1d10ec['call'](_0x1a720e,_0x119b29);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x279b73}=ne();function _0x29880b(_0x362ce,_0x3c5eb2,_0x506f9b){const _0x33f98d=_0x3288;_0x362ce[_0x3c5eb2]===void 0x0?_0x362ce[_0x3c5eb2]=[_0x506f9b]:_0x362ce[_0x3c5eb2][_0x33f98d(0x266)](_0x506f9b);}function _0x384a4c(_0x48ed00){const _0x3360ad=_0x3288,_0x6bc51f=Object[_0x3360ad(0x218)](null);let _0x330eaa=Object[_0x3360ad(0x218)](null),_0x3a4fdb=!0x1,_0x5d5491=!0x1,_0x503420=!0x1,_0x4de3f2,_0x56a70a,_0x318977=-0x1,_0x3c996b=-0x1,_0x30b73a=-0x1,_0x484f95=0x0;for(;_0x484f95<_0x48ed00[_0x3360ad(0x2a6)];_0x484f95++)if(_0x3c996b=_0x48ed00[_0x3360ad(0x2dc)](_0x484f95),_0x4de3f2===void 0x0){if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x484f95!==0x0&&(_0x3c996b===0x20||_0x3c996b===0x9))_0x30b73a===-0x1&&_0x318977!==-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);const _0x2dfeb6=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);_0x3c996b===0x2c?(_0x29880b(_0x6bc51f,_0x2dfeb6,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null)):_0x4de3f2=_0x2dfeb6,_0x318977=_0x30b73a=-0x1;}else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}else{if(_0x56a70a===void 0x0){if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x3c996b===0x20||_0x3c996b===0x9)_0x30b73a===-0x1&&_0x318977!==-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95),_0x29880b(_0x330eaa,_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a),!0x0),_0x3c996b===0x2c&&(_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null),_0x4de3f2=void 0x0),_0x318977=_0x30b73a=-0x1;}else{if(_0x3c996b===0x3d&&_0x318977!==-0x1&&_0x30b73a===-0x1)_0x56a70a=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x484f95),_0x318977=_0x30b73a=-0x1;else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}}else{if(_0x5d5491){if(_0x279b73[_0x3c996b]!==0x1)throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);_0x318977===-0x1?_0x318977=_0x484f95:_0x3a4fdb||(_0x3a4fdb=!0x0),_0x5d5491=!0x1;}else{if(_0x503420){if(_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x3c996b===0x22&&_0x318977!==-0x1)_0x503420=!0x1,_0x30b73a=_0x484f95;else{if(_0x3c996b===0x5c)_0x5d5491=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);}}}else{if(_0x3c996b===0x22&&_0x48ed00['charCodeAt'](_0x484f95-0x1)===0x3d)_0x503420=!0x0;else{if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x318977!==-0x1&&(_0x3c996b===0x20||_0x3c996b===0x9))_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);let _0x4bb506=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);_0x3a4fdb&&(_0x4bb506=_0x4bb506[_0x3360ad(0x2f8)](/\\/g,''),_0x3a4fdb=!0x1),_0x29880b(_0x330eaa,_0x56a70a,_0x4bb506),_0x3c996b===0x2c&&(_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null),_0x4de3f2=void 0x0),_0x56a70a=void 0x0,_0x318977=_0x30b73a=-0x1;}else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}}}}}if(_0x318977===-0x1||_0x503420||_0x3c996b===0x20||_0x3c996b===0x9)throw new SyntaxError(_0x3360ad(0x1ee));_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);const _0x2cef7e=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);return _0x4de3f2===void 0x0?_0x29880b(_0x6bc51f,_0x2cef7e,_0x330eaa):(_0x56a70a===void 0x0?_0x29880b(_0x330eaa,_0x2cef7e,!0x0):_0x3a4fdb?_0x29880b(_0x330eaa,_0x56a70a,_0x2cef7e['replace'](/\\/g,'')):_0x29880b(_0x330eaa,_0x56a70a,_0x2cef7e),_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa)),_0x6bc51f;}function _0x5af6b6(_0xd68c93){const _0x5e759b=_0x3288;return Object[_0x5e759b(0x2fa)](_0xd68c93)['map'](_0xd01155=>{const _0x36b407=_0x5e759b;let _0x5c24b3=_0xd68c93[_0xd01155];return Array[_0x36b407(0x2d3)](_0x5c24b3)||(_0x5c24b3=[_0x5c24b3]),_0x5c24b3[_0x36b407(0x20a)](_0x2b584e=>[_0xd01155][_0x36b407(0x202)](Object['keys'](_0x2b584e)[_0x36b407(0x20a)](_0x1887f3=>{const _0x396a8b=_0x36b407;let _0x43bba0=_0x2b584e[_0x1887f3];return Array['isArray'](_0x43bba0)||(_0x43bba0=[_0x43bba0]),_0x43bba0[_0x396a8b(0x20a)](_0x48127d=>_0x48127d===!0x0?_0x1887f3:_0x1887f3+'='+_0x48127d)[_0x396a8b(0x1df)](';\x20');}))[_0x36b407(0x1df)](';\x20'))[_0x36b407(0x1df)](',\x20');})['join'](',\x20');}return be={'format':_0x5af6b6,'parse':_0x384a4c},be;}function _0x3288(_0x229842,_0x325af2){const _0x52e207=_0x52e2();return _0x3288=function(_0x32885a,_0x1b5935){_0x32885a=_0x32885a-0x192;let _0x3fe67b=_0x52e207[_0x32885a];return _0x3fe67b;},_0x3288(_0x229842,_0x325af2);}var we,st;function Ie(){const _0x59d71a=_0x4f9298;if(st)return we;st=0x1;const _0x2b9a6f=_0x58fb53,_0x5a8280=_0xd4e2d,_0x4c3acf=_0x359bc0,_0x576fbe=_0x1a02d9,_0x181c0e=_0x1e4621,{randomBytes:_0x34f1c3,createHash:_0x385456}=_0x5ef917,{Duplex:_0x453ddb,Readable:_0x410f37}=_0x4a4f82,{URL:_0x4d210a}=_0x2c14ee,_0xeb4d69=he(),_0x4a92f0=dt(),_0x2b9daa=_t(),{isBlob:_0x28071e}=ne(),{BINARY_TYPES:_0x209692,EMPTY_BUFFER:_0x1cf21d,GUID:_0x44eaaf,kForOnEventAttribute:_0x16ab06,kListener:_0xea8424,kStatusCode:_0x6e0f71,kWebSocket:_0x22520d,NOOP:_0x4c581f}=V(),{EventTarget:{addEventListener:_0x1fb6bb,removeEventListener:_0x31cfa0}}=Kt(),{format:_0x4d658f,parse:_0x592df6}=pt(),{toBuffer:_0x3e7227}=ce(),_0xc499f1=0x1e*0x3e8,_0x862ecc=Symbol(_0x59d71a(0x27e)),_0x2d0836=[0x8,0xd],_0x4c161d=[_0x59d71a(0x1e1),_0x59d71a(0x304),_0x59d71a(0x1c0),'CLOSED'],_0x5b7210=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xeb4049 extends _0x2b9a6f{constructor(_0x1ee61d,_0x1235f0,_0x3302c1){const _0x24c20b=_0x59d71a;super(),this['_binaryType']=_0x209692[0x0],this['_closeCode']=0x3ee,this[_0x24c20b(0x322)]=!0x1,this[_0x24c20b(0x1bd)]=!0x1,this[_0x24c20b(0x2d5)]=_0x1cf21d,this[_0x24c20b(0x274)]=null,this[_0x24c20b(0x1f0)]=!0x1,this[_0x24c20b(0x215)]={},this[_0x24c20b(0x25e)]=!0x1,this['_protocol']='',this[_0x24c20b(0x1e0)]=_0xeb4049[_0x24c20b(0x1e1)],this[_0x24c20b(0x195)]=null,this['_sender']=null,this[_0x24c20b(0x2b4)]=null,_0x1ee61d!==null?(this[_0x24c20b(0x22e)]=0x0,this[_0x24c20b(0x28e)]=!0x1,this[_0x24c20b(0x32b)]=0x0,_0x1235f0===void 0x0?_0x1235f0=[]:Array['isArray'](_0x1235f0)||(typeof _0x1235f0=='object'&&_0x1235f0!==null?(_0x3302c1=_0x1235f0,_0x1235f0=[]):_0x1235f0=[_0x1235f0]),_0x54b145(this,_0x1ee61d,_0x1235f0,_0x3302c1)):(this[_0x24c20b(0x338)]=_0x3302c1['autoPong'],this['_isServer']=!0x0);}get[_0x59d71a(0x28c)](){const _0xbce555=_0x59d71a;return this[_0xbce555(0x1c4)];}set[_0x59d71a(0x28c)](_0x55faeb){const _0x29d89e=_0x59d71a;_0x209692[_0x29d89e(0x1e5)](_0x55faeb)&&(this[_0x29d89e(0x1c4)]=_0x55faeb,this['_receiver']&&(this['_receiver'][_0x29d89e(0x1c4)]=_0x55faeb));}get[_0x59d71a(0x22a)](){const _0x40c99d=_0x59d71a;return this['_socket']?this['_socket'][_0x40c99d(0x1d3)][_0x40c99d(0x2a6)]+this[_0x40c99d(0x27c)][_0x40c99d(0x1e7)]:this[_0x40c99d(0x22e)];}get[_0x59d71a(0x33e)](){const _0x31a48b=_0x59d71a;return Object[_0x31a48b(0x2fa)](this[_0x31a48b(0x215)])[_0x31a48b(0x1df)]();}get['isPaused'](){const _0xeaaa94=_0x59d71a;return this[_0xeaaa94(0x25e)];}get[_0x59d71a(0x29d)](){return null;}get[_0x59d71a(0x256)](){return null;}get[_0x59d71a(0x33b)](){return null;}get[_0x59d71a(0x2ca)](){return null;}get[_0x59d71a(0x21a)](){const _0x51974a=_0x59d71a;return this[_0x51974a(0x2f7)];}get['readyState'](){const _0x4c540b=_0x59d71a;return this[_0x4c540b(0x1e0)];}get[_0x59d71a(0x232)](){const _0x2febff=_0x59d71a;return this[_0x2febff(0x1d0)];}[_0x59d71a(0x2e2)](_0x505c23,_0x32e455,_0x34acbb){const _0x4bd53f=_0x59d71a,_0x786888=new _0x4a92f0({'allowSynchronousEvents':_0x34acbb[_0x4bd53f(0x268)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x34acbb[_0x4bd53f(0x240)],'skipUTF8Validation':_0x34acbb['skipUTF8Validation']}),_0x41238e=new _0x2b9daa(_0x505c23,this[_0x4bd53f(0x215)],_0x34acbb[_0x4bd53f(0x258)]);this[_0x4bd53f(0x195)]=_0x786888,this[_0x4bd53f(0x27c)]=_0x41238e,this['_socket']=_0x505c23,_0x786888[_0x22520d]=this,_0x41238e[_0x22520d]=this,_0x505c23[_0x22520d]=this,_0x786888['on'](_0x4bd53f(0x2bb),_0x20abad),_0x786888['on'](_0x4bd53f(0x1f5),_0x3d6071),_0x786888['on'](_0x4bd53f(0x1d2),_0x56d5da),_0x786888['on'](_0x4bd53f(0x1f8),_0x3e0613),_0x786888['on'](_0x4bd53f(0x2c4),_0x3fd9a0),_0x786888['on']('pong',_0x3a5c8a),_0x41238e[_0x4bd53f(0x256)]=_0x3da0e4,_0x505c23[_0x4bd53f(0x264)]&&_0x505c23[_0x4bd53f(0x264)](0x0),_0x505c23[_0x4bd53f(0x2df)]&&_0x505c23[_0x4bd53f(0x2df)](),_0x32e455[_0x4bd53f(0x2a6)]>0x0&&_0x505c23[_0x4bd53f(0x204)](_0x32e455),_0x505c23['on'](_0x4bd53f(0x32e),_0x332615),_0x505c23['on'](_0x4bd53f(0x2cd),_0x553de3),_0x505c23['on']('end',_0x3b94ef),_0x505c23['on'](_0x4bd53f(0x1d2),_0x1b820e),this['_readyState']=_0xeb4049[_0x4bd53f(0x304)],this[_0x4bd53f(0x200)](_0x4bd53f(0x21f));}[_0x59d71a(0x220)](){const _0x748d82=_0x59d71a;if(!this[_0x748d82(0x2b4)]){this['_readyState']=_0xeb4049['CLOSED'],this['emit'](_0x748d82(0x32e),this[_0x748d82(0x22d)],this[_0x748d82(0x2d5)]);return;}this['_extensions'][_0xeb4d69[_0x748d82(0x237)]]&&this[_0x748d82(0x215)][_0xeb4d69[_0x748d82(0x237)]][_0x748d82(0x198)](),this[_0x748d82(0x195)]['removeAllListeners'](),this[_0x748d82(0x1e0)]=_0xeb4049[_0x748d82(0x329)],this[_0x748d82(0x200)](_0x748d82(0x32e),this[_0x748d82(0x22d)],this[_0x748d82(0x2d5)]);}[_0x59d71a(0x32e)](_0x37323f,_0x4ce303){const _0x5b143b=_0x59d71a;if(this[_0x5b143b(0x1ac)]!==_0xeb4049[_0x5b143b(0x329)]){if(this['readyState']===_0xeb4049[_0x5b143b(0x1e1)]){_0x15348b(this,this[_0x5b143b(0x2a4)],_0x5b143b(0x26c));return;}if(this[_0x5b143b(0x1ac)]===_0xeb4049[_0x5b143b(0x1c0)]){this[_0x5b143b(0x1bd)]&&(this[_0x5b143b(0x322)]||this[_0x5b143b(0x195)][_0x5b143b(0x1d3)][_0x5b143b(0x278)])&&this['_socket'][_0x5b143b(0x1fa)]();return;}this['_readyState']=_0xeb4049[_0x5b143b(0x1c0)],this['_sender'][_0x5b143b(0x32e)](_0x37323f,_0x4ce303,!this[_0x5b143b(0x28e)],_0x2af273=>{const _0x30cec5=_0x5b143b;_0x2af273||(this[_0x30cec5(0x1bd)]=!0x0,(this[_0x30cec5(0x322)]||this[_0x30cec5(0x195)][_0x30cec5(0x1d3)][_0x30cec5(0x278)])&&this['_socket'][_0x30cec5(0x1fa)]());}),_0x58b6ac(this);}}['pause'](){const _0x1e805e=_0x59d71a;this[_0x1e805e(0x1ac)]===_0xeb4049['CONNECTING']||this[_0x1e805e(0x1ac)]===_0xeb4049['CLOSED']||(this['_paused']=!0x0,this[_0x1e805e(0x2b4)][_0x1e805e(0x21c)]());}[_0x59d71a(0x2c4)](_0xbf8b,_0x1f6b0c,_0x1af2f0){const _0x80f196=_0x59d71a;if(this[_0x80f196(0x1ac)]===_0xeb4049[_0x80f196(0x1e1)])throw new Error(_0x80f196(0x24d));if(typeof _0xbf8b=='function'?(_0x1af2f0=_0xbf8b,_0xbf8b=_0x1f6b0c=void 0x0):typeof _0x1f6b0c==_0x80f196(0x288)&&(_0x1af2f0=_0x1f6b0c,_0x1f6b0c=void 0x0),typeof _0xbf8b==_0x80f196(0x250)&&(_0xbf8b=_0xbf8b[_0x80f196(0x284)]()),this[_0x80f196(0x1ac)]!==_0xeb4049[_0x80f196(0x304)]){_0x32b388(this,_0xbf8b,_0x1af2f0);return;}_0x1f6b0c===void 0x0&&(_0x1f6b0c=!this[_0x80f196(0x28e)]),this['_sender']['ping'](_0xbf8b||_0x1cf21d,_0x1f6b0c,_0x1af2f0);}[_0x59d71a(0x295)](_0x2617e0,_0x492e94,_0xe1dbd1){const _0x54c1a6=_0x59d71a;if(this[_0x54c1a6(0x1ac)]===_0xeb4049[_0x54c1a6(0x1e1)])throw new Error(_0x54c1a6(0x24d));if(typeof _0x2617e0=='function'?(_0xe1dbd1=_0x2617e0,_0x2617e0=_0x492e94=void 0x0):typeof _0x492e94==_0x54c1a6(0x288)&&(_0xe1dbd1=_0x492e94,_0x492e94=void 0x0),typeof _0x2617e0==_0x54c1a6(0x250)&&(_0x2617e0=_0x2617e0[_0x54c1a6(0x284)]()),this[_0x54c1a6(0x1ac)]!==_0xeb4049[_0x54c1a6(0x304)]){_0x32b388(this,_0x2617e0,_0xe1dbd1);return;}_0x492e94===void 0x0&&(_0x492e94=!this[_0x54c1a6(0x28e)]),this['_sender'][_0x54c1a6(0x295)](_0x2617e0||_0x1cf21d,_0x492e94,_0xe1dbd1);}[_0x59d71a(0x33f)](){const _0x157ad6=_0x59d71a;this['readyState']===_0xeb4049['CONNECTING']||this[_0x157ad6(0x1ac)]===_0xeb4049[_0x157ad6(0x329)]||(this[_0x157ad6(0x25e)]=!0x1,this[_0x157ad6(0x195)][_0x157ad6(0x1d3)][_0x157ad6(0x2f6)]||this[_0x157ad6(0x2b4)][_0x157ad6(0x33f)]());}[_0x59d71a(0x208)](_0x1c329e,_0x52c8c2,_0x29e5ab){const _0x1f19c1=_0x59d71a;if(this['readyState']===_0xeb4049[_0x1f19c1(0x1e1)])throw new Error(_0x1f19c1(0x24d));if(typeof _0x52c8c2==_0x1f19c1(0x288)&&(_0x29e5ab=_0x52c8c2,_0x52c8c2={}),typeof _0x1c329e=='number'&&(_0x1c329e=_0x1c329e[_0x1f19c1(0x284)]()),this['readyState']!==_0xeb4049['OPEN']){_0x32b388(this,_0x1c329e,_0x29e5ab);return;}const _0x5d075e={'binary':typeof _0x1c329e!=_0x1f19c1(0x31b),'mask':!this[_0x1f19c1(0x28e)],'compress':!0x0,'fin':!0x0,..._0x52c8c2};this['_extensions'][_0xeb4d69[_0x1f19c1(0x237)]]||(_0x5d075e['compress']=!0x1),this[_0x1f19c1(0x27c)]['send'](_0x1c329e||_0x1cf21d,_0x5d075e,_0x29e5ab);}[_0x59d71a(0x1ab)](){const _0x8918e1=_0x59d71a;if(this[_0x8918e1(0x1ac)]!==_0xeb4049['CLOSED']){if(this[_0x8918e1(0x1ac)]===_0xeb4049['CONNECTING']){_0x15348b(this,this[_0x8918e1(0x2a4)],_0x8918e1(0x26c));return;}this[_0x8918e1(0x2b4)]&&(this['_readyState']=_0xeb4049[_0x8918e1(0x1c0)],this[_0x8918e1(0x2b4)][_0x8918e1(0x197)]());}}}Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x1e1),{'enumerable':!0x0,'value':_0x4c161d['indexOf']('CONNECTING')}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x1e1),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)]('CONNECTING')}),Object['defineProperty'](_0xeb4049,_0x59d71a(0x304),{'enumerable':!0x0,'value':_0x4c161d['indexOf'](_0x59d71a(0x304))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x304),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x304))}),Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x1c0),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x1c0))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x1c0),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x1c0))}),Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x329),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x329))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x329),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)]('CLOSED')}),['binaryType',_0x59d71a(0x22a),_0x59d71a(0x33e),_0x59d71a(0x205),_0x59d71a(0x21a),_0x59d71a(0x1ac),'url']['forEach'](_0x36f71a=>{const _0x362ffe=_0x59d71a;Object[_0x362ffe(0x22f)](_0xeb4049[_0x362ffe(0x26a)],_0x36f71a,{'enumerable':!0x0});}),[_0x59d71a(0x21f),_0x59d71a(0x1d2),_0x59d71a(0x32e),'message'][_0x59d71a(0x1a6)](_0x54234d=>{const _0x2600b0=_0x59d71a;Object[_0x2600b0(0x22f)](_0xeb4049[_0x2600b0(0x26a)],'on'+_0x54234d,{'enumerable':!0x0,'get'(){const _0x300098=_0x2600b0;for(const _0x49274d of this[_0x300098(0x1bb)](_0x54234d))if(_0x49274d[_0x16ab06])return _0x49274d[_0xea8424];return null;},'set'(_0x675f12){const _0x4faf92=_0x2600b0;for(const _0xf4523 of this[_0x4faf92(0x1bb)](_0x54234d))if(_0xf4523[_0x16ab06]){this['removeListener'](_0x54234d,_0xf4523);break;}typeof _0x675f12==_0x4faf92(0x288)&&this['addEventListener'](_0x54234d,_0x675f12,{[_0x16ab06]:!0x0});}});}),_0xeb4049[_0x59d71a(0x26a)][_0x59d71a(0x279)]=_0x1fb6bb,_0xeb4049[_0x59d71a(0x26a)][_0x59d71a(0x30a)]=_0x31cfa0,we=_0xeb4049;function _0x54b145(_0x4358b7,_0x5b32ad,_0x3eea0f,_0x3384a3){const _0x1e9de6=_0x59d71a,_0x122869={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2d0836[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3384a3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4358b7['_autoPong']=_0x122869[_0x1e9de6(0x206)],!_0x2d0836[_0x1e9de6(0x1e5)](_0x122869[_0x1e9de6(0x19e)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x122869[_0x1e9de6(0x19e)]+_0x1e9de6(0x1de)+_0x2d0836['join'](',\x20')+')');let _0x57cecf;if(_0x5b32ad instanceof _0x4d210a)_0x57cecf=_0x5b32ad;else try{_0x57cecf=new _0x4d210a(_0x5b32ad);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5b32ad);}_0x57cecf[_0x1e9de6(0x21a)]==='http:'?_0x57cecf[_0x1e9de6(0x21a)]=_0x1e9de6(0x272):_0x57cecf[_0x1e9de6(0x21a)]===_0x1e9de6(0x287)&&(_0x57cecf[_0x1e9de6(0x21a)]=_0x1e9de6(0x333)),_0x4358b7[_0x1e9de6(0x1d0)]=_0x57cecf[_0x1e9de6(0x26d)];const _0x5ab22e=_0x57cecf['protocol']===_0x1e9de6(0x333),_0x54f766=_0x57cecf[_0x1e9de6(0x21a)]===_0x1e9de6(0x2e4);let _0x3f317c;if(_0x57cecf['protocol']!==_0x1e9de6(0x272)&&!_0x5ab22e&&!_0x54f766?_0x3f317c=_0x1e9de6(0x2b9):_0x54f766&&!_0x57cecf[_0x1e9de6(0x28d)]?_0x3f317c='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x57cecf[_0x1e9de6(0x1c8)]&&(_0x3f317c='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x3f317c){const _0x2cefdf=new SyntaxError(_0x3f317c);if(_0x4358b7[_0x1e9de6(0x32b)]===0x0)throw _0x2cefdf;_0x419986(_0x4358b7,_0x2cefdf);return;}const _0x57f827=_0x5ab22e?0x1bb:0x50,_0x44e448=_0x34f1c3(0x10)[_0x1e9de6(0x284)]('base64'),_0x24ec74=_0x5ab22e?_0x5a8280[_0x1e9de6(0x2af)]:_0x4c3acf[_0x1e9de6(0x2af)],_0x3fd68d=new Set();let _0x3f7f8f;if(_0x122869[_0x1e9de6(0x26e)]=_0x122869[_0x1e9de6(0x26e)]||(_0x5ab22e?_0x591556:_0x43ba29),_0x122869[_0x1e9de6(0x1d8)]=_0x122869[_0x1e9de6(0x1d8)]||_0x57f827,_0x122869[_0x1e9de6(0x2c2)]=_0x57cecf['port']||_0x57f827,_0x122869[_0x1e9de6(0x270)]=_0x57cecf['hostname']['startsWith']('[')?_0x57cecf[_0x1e9de6(0x30b)][_0x1e9de6(0x293)](0x1,-0x1):_0x57cecf[_0x1e9de6(0x30b)],_0x122869[_0x1e9de6(0x314)]={..._0x122869[_0x1e9de6(0x314)],'Sec-WebSocket-Version':_0x122869[_0x1e9de6(0x19e)],'Sec-WebSocket-Key':_0x44e448,'Connection':_0x1e9de6(0x2a2),'Upgrade':'websocket'},_0x122869['path']=_0x57cecf[_0x1e9de6(0x28d)]+_0x57cecf[_0x1e9de6(0x299)],_0x122869['timeout']=_0x122869[_0x1e9de6(0x203)],_0x122869[_0x1e9de6(0x283)]&&(_0x3f7f8f=new _0xeb4d69(_0x122869['perMessageDeflate']!==!0x0?_0x122869[_0x1e9de6(0x283)]:{},!0x1,_0x122869[_0x1e9de6(0x240)]),_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x276)]=_0x4d658f({[_0xeb4d69[_0x1e9de6(0x237)]]:_0x3f7f8f['offer']()})),_0x3eea0f[_0x1e9de6(0x2a6)]){for(const _0x4f6317 of _0x3eea0f){if(typeof _0x4f6317!=_0x1e9de6(0x31b)||!_0x5b7210[_0x1e9de6(0x217)](_0x4f6317)||_0x3fd68d[_0x1e9de6(0x22b)](_0x4f6317))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x3fd68d['add'](_0x4f6317);}_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x330)]=_0x3eea0f['join'](',');}if(_0x122869[_0x1e9de6(0x323)]&&(_0x122869['protocolVersion']<0xd?_0x122869[_0x1e9de6(0x314)]['Sec-WebSocket-Origin']=_0x122869['origin']:_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x1c6)]=_0x122869[_0x1e9de6(0x323)]),(_0x57cecf[_0x1e9de6(0x247)]||_0x57cecf[_0x1e9de6(0x1cf)])&&(_0x122869[_0x1e9de6(0x2ba)]=_0x57cecf['username']+':'+_0x57cecf[_0x1e9de6(0x1cf)]),_0x54f766){const _0x36efcb=_0x122869[_0x1e9de6(0x2f3)][_0x1e9de6(0x2d9)](':');_0x122869['socketPath']=_0x36efcb[0x0],_0x122869[_0x1e9de6(0x2f3)]=_0x36efcb[0x1];}let _0xd690cd;if(_0x122869[_0x1e9de6(0x24f)]){if(_0x4358b7[_0x1e9de6(0x32b)]===0x0){_0x4358b7[_0x1e9de6(0x2b6)]=_0x54f766,_0x4358b7['_originalSecure']=_0x5ab22e,_0x4358b7['_originalHostOrSocketPath']=_0x54f766?_0x122869['socketPath']:_0x57cecf[_0x1e9de6(0x270)];const _0x26e9b3=_0x3384a3&&_0x3384a3[_0x1e9de6(0x314)];if(_0x3384a3={..._0x3384a3,'headers':{}},_0x26e9b3){for(const [_0x5a7e32,_0xbe0838]of Object[_0x1e9de6(0x1f3)](_0x26e9b3))_0x3384a3[_0x1e9de6(0x314)][_0x5a7e32[_0x1e9de6(0x275)]()]=_0xbe0838;}}else{if(_0x4358b7['listenerCount'](_0x1e9de6(0x234))===0x0){const _0x3c4aa6=_0x54f766?_0x4358b7[_0x1e9de6(0x2b6)]?_0x122869[_0x1e9de6(0x25c)]===_0x4358b7[_0x1e9de6(0x26b)]:!0x1:_0x4358b7[_0x1e9de6(0x2b6)]?!0x1:_0x57cecf['host']===_0x4358b7['_originalHostOrSocketPath'];(!_0x3c4aa6||_0x4358b7[_0x1e9de6(0x2ef)]&&!_0x5ab22e)&&(delete _0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x297)],delete _0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x30e)],_0x3c4aa6||delete _0x122869[_0x1e9de6(0x314)]['host'],_0x122869[_0x1e9de6(0x2ba)]=void 0x0);}}_0x122869[_0x1e9de6(0x2ba)]&&!_0x3384a3['headers'][_0x1e9de6(0x297)]&&(_0x3384a3[_0x1e9de6(0x314)]['authorization']=_0x1e9de6(0x33d)+Buffer[_0x1e9de6(0x1b0)](_0x122869['auth'])[_0x1e9de6(0x284)](_0x1e9de6(0x1e4))),_0xd690cd=_0x4358b7[_0x1e9de6(0x2a4)]=_0x24ec74(_0x122869),_0x4358b7[_0x1e9de6(0x32b)]&&_0x4358b7[_0x1e9de6(0x200)](_0x1e9de6(0x234),_0x4358b7['url'],_0xd690cd);}else _0xd690cd=_0x4358b7[_0x1e9de6(0x2a4)]=_0x24ec74(_0x122869);_0x122869['timeout']&&_0xd690cd['on'](_0x1e9de6(0x1d7),()=>{const _0x5caf20=_0x1e9de6;_0x15348b(_0x4358b7,_0xd690cd,_0x5caf20(0x1bf));}),_0xd690cd['on'](_0x1e9de6(0x1d2),_0xd605b2=>{_0xd690cd===null||_0xd690cd[_0x862ecc]||(_0xd690cd=_0x4358b7['_req']=null,_0x419986(_0x4358b7,_0xd605b2));}),_0xd690cd['on'](_0x1e9de6(0x201),_0x248b6c=>{const _0x4baafe=_0x1e9de6,_0x331826=_0x248b6c[_0x4baafe(0x314)][_0x4baafe(0x324)],_0x4aa473=_0x248b6c[_0x4baafe(0x1b1)];if(_0x331826&&_0x122869[_0x4baafe(0x24f)]&&_0x4aa473>=0x12c&&_0x4aa473<0x190){if(++_0x4358b7[_0x4baafe(0x32b)]>_0x122869['maxRedirects']){_0x15348b(_0x4358b7,_0xd690cd,'Maximum\x20redirects\x20exceeded');return;}_0xd690cd['abort']();let _0x557d80;try{_0x557d80=new _0x4d210a(_0x331826,_0x5b32ad);}catch{const _0x12184f=new SyntaxError(_0x4baafe(0x21d)+_0x331826);_0x419986(_0x4358b7,_0x12184f);return;}_0x54b145(_0x4358b7,_0x557d80,_0x3eea0f,_0x3384a3);}else _0x4358b7[_0x4baafe(0x200)](_0x4baafe(0x303),_0xd690cd,_0x248b6c)||_0x15348b(_0x4358b7,_0xd690cd,_0x4baafe(0x223)+_0x248b6c[_0x4baafe(0x1b1)]);}),_0xd690cd['on'](_0x1e9de6(0x24e),(_0x52ab5d,_0x15014a,_0x2369d5)=>{const _0x48008b=_0x1e9de6;if(_0x4358b7['emit']('upgrade',_0x52ab5d),_0x4358b7[_0x48008b(0x1ac)]!==_0xeb4049[_0x48008b(0x1e1)])return;_0xd690cd=_0x4358b7[_0x48008b(0x2a4)]=null;const _0x35e6e8=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x24e)];if(_0x35e6e8===void 0x0||_0x35e6e8[_0x48008b(0x275)]()!=='websocket'){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x257));return;}const _0x1bd3d6=_0x385456(_0x48008b(0x1da))[_0x48008b(0x1a0)](_0x44e448+_0x44eaaf)[_0x48008b(0x2e0)](_0x48008b(0x1e4));if(_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x222)]!==_0x1bd3d6){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x213));return;}const _0x3df8b8=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x2d8)];let _0x277c77;if(_0x3df8b8!==void 0x0?_0x3fd68d[_0x48008b(0x19b)]?_0x3fd68d[_0x48008b(0x22b)](_0x3df8b8)||(_0x277c77=_0x48008b(0x331)):_0x277c77='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x3fd68d[_0x48008b(0x19b)]&&(_0x277c77=_0x48008b(0x294)),_0x277c77){_0x15348b(_0x4358b7,_0x15014a,_0x277c77);return;}_0x3df8b8&&(_0x4358b7[_0x48008b(0x2f7)]=_0x3df8b8);const _0x531c16=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x251)];if(_0x531c16!==void 0x0){if(!_0x3f7f8f){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x30f));return;}let _0x259da3;try{_0x259da3=_0x592df6(_0x531c16);}catch{_0x15348b(_0x4358b7,_0x15014a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xd57795=Object[_0x48008b(0x2fa)](_0x259da3);if(_0xd57795[_0x48008b(0x2a6)]!==0x1||_0xd57795[0x0]!==_0xeb4d69['extensionName']){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x269));return;}try{_0x3f7f8f[_0x48008b(0x300)](_0x259da3[_0xeb4d69['extensionName']]);}catch{_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x305));return;}_0x4358b7[_0x48008b(0x215)][_0xeb4d69[_0x48008b(0x237)]]=_0x3f7f8f;}_0x4358b7[_0x48008b(0x2e2)](_0x15014a,_0x2369d5,{'allowSynchronousEvents':_0x122869['allowSynchronousEvents'],'generateMask':_0x122869['generateMask'],'maxPayload':_0x122869[_0x48008b(0x240)],'skipUTF8Validation':_0x122869[_0x48008b(0x249)]});}),_0x122869[_0x1e9de6(0x2bc)]?_0x122869[_0x1e9de6(0x2bc)](_0xd690cd,_0x4358b7):_0xd690cd[_0x1e9de6(0x1fa)]();}function _0x419986(_0x363665,_0x3e011b){const _0x183dc2=_0x59d71a;_0x363665[_0x183dc2(0x1e0)]=_0xeb4049['CLOSING'],_0x363665[_0x183dc2(0x1f0)]=!0x0,_0x363665[_0x183dc2(0x200)](_0x183dc2(0x1d2),_0x3e011b),_0x363665[_0x183dc2(0x220)]();}function _0x43ba29(_0x2f3432){const _0x305c46=_0x59d71a;return _0x2f3432['path']=_0x2f3432[_0x305c46(0x25c)],_0x576fbe[_0x305c46(0x254)](_0x2f3432);}function _0x591556(_0x540d8d){const _0x370c03=_0x59d71a;return _0x540d8d[_0x370c03(0x2f3)]=void 0x0,!_0x540d8d[_0x370c03(0x1c3)]&&_0x540d8d[_0x370c03(0x1c3)]!==''&&(_0x540d8d['servername']=_0x576fbe[_0x370c03(0x1b7)](_0x540d8d[_0x370c03(0x270)])?'':_0x540d8d[_0x370c03(0x270)]),_0x181c0e[_0x370c03(0x254)](_0x540d8d);}function _0x15348b(_0x46476a,_0x16e3d2,_0x4a3e02){const _0x313842=_0x59d71a;_0x46476a[_0x313842(0x1e0)]=_0xeb4049[_0x313842(0x1c0)];const _0x104001=new Error(_0x4a3e02);Error[_0x313842(0x2ee)](_0x104001,_0x15348b),_0x16e3d2['setHeader']?(_0x16e3d2[_0x862ecc]=!0x0,_0x16e3d2[_0x313842(0x1ba)](),_0x16e3d2[_0x313842(0x1b8)]&&!_0x16e3d2[_0x313842(0x1b8)][_0x313842(0x317)]&&_0x16e3d2['socket']['destroy'](),process['nextTick'](_0x419986,_0x46476a,_0x104001)):(_0x16e3d2[_0x313842(0x197)](_0x104001),_0x16e3d2[_0x313842(0x1a3)](_0x313842(0x1d2),_0x46476a[_0x313842(0x200)]['bind'](_0x46476a,_0x313842(0x1d2))),_0x16e3d2[_0x313842(0x1a3)]('close',_0x46476a[_0x313842(0x220)][_0x313842(0x255)](_0x46476a)));}function _0x32b388(_0x43efa1,_0x3aa95a,_0x3a982d){const _0x19d5a3=_0x59d71a;if(_0x3aa95a){const _0x1cc576=_0x28071e(_0x3aa95a)?_0x3aa95a[_0x19d5a3(0x19b)]:_0x3e7227(_0x3aa95a)['length'];_0x43efa1['_socket']?_0x43efa1[_0x19d5a3(0x27c)]['_bufferedBytes']+=_0x1cc576:_0x43efa1['_bufferedAmount']+=_0x1cc576;}if(_0x3a982d){const _0x5ccb0e=new Error(_0x19d5a3(0x302)+_0x43efa1[_0x19d5a3(0x1ac)]+'\x20('+_0x4c161d[_0x43efa1[_0x19d5a3(0x1ac)]]+')');process[_0x19d5a3(0x2cb)](_0x3a982d,_0x5ccb0e);}}function _0x20abad(_0x2bc28d,_0x1c6f9d){const _0x7b4ff9=_0x59d71a,_0x15ed29=this[_0x22520d];_0x15ed29[_0x7b4ff9(0x322)]=!0x0,_0x15ed29[_0x7b4ff9(0x2d5)]=_0x1c6f9d,_0x15ed29[_0x7b4ff9(0x22d)]=_0x2bc28d,_0x15ed29[_0x7b4ff9(0x2b4)][_0x22520d]!==void 0x0&&(_0x15ed29[_0x7b4ff9(0x2b4)]['removeListener'](_0x7b4ff9(0x2cd),_0x553de3),process[_0x7b4ff9(0x2cb)](_0x5e084a,_0x15ed29[_0x7b4ff9(0x2b4)]),_0x2bc28d===0x3ed?_0x15ed29[_0x7b4ff9(0x32e)]():_0x15ed29[_0x7b4ff9(0x32e)](_0x2bc28d,_0x1c6f9d));}function _0x3d6071(){const _0x3229af=_0x59d71a,_0x2ef51a=this[_0x22520d];_0x2ef51a[_0x3229af(0x205)]||_0x2ef51a[_0x3229af(0x2b4)][_0x3229af(0x33f)]();}function _0x56d5da(_0x36a9bf){const _0x4339c3=_0x59d71a,_0x2f9624=this[_0x22520d];_0x2f9624[_0x4339c3(0x2b4)][_0x22520d]!==void 0x0&&(_0x2f9624[_0x4339c3(0x2b4)]['removeListener']('data',_0x553de3),process[_0x4339c3(0x2cb)](_0x5e084a,_0x2f9624[_0x4339c3(0x2b4)]),_0x2f9624[_0x4339c3(0x32e)](_0x36a9bf[_0x6e0f71])),_0x2f9624[_0x4339c3(0x1f0)]||(_0x2f9624['_errorEmitted']=!0x0,_0x2f9624[_0x4339c3(0x200)](_0x4339c3(0x1d2),_0x36a9bf));}function _0x3e19c4(){const _0x2368c3=_0x59d71a;this[_0x22520d][_0x2368c3(0x220)]();}function _0x3e0613(_0x49fee9,_0x4dfdbf){const _0x50657f=_0x59d71a;this[_0x22520d][_0x50657f(0x200)](_0x50657f(0x1f8),_0x49fee9,_0x4dfdbf);}function _0x3fd9a0(_0x27a3be){const _0xaf886e=_0x59d71a,_0x2c921e=this[_0x22520d];_0x2c921e[_0xaf886e(0x338)]&&_0x2c921e[_0xaf886e(0x295)](_0x27a3be,!this['_isServer'],_0x4c581f),_0x2c921e[_0xaf886e(0x200)]('ping',_0x27a3be);}function _0x3a5c8a(_0x4ae515){const _0x343d4b=_0x59d71a;this[_0x22520d]['emit'](_0x343d4b(0x295),_0x4ae515);}function _0x5e084a(_0x22c54d){const _0x4ec26b=_0x59d71a;_0x22c54d[_0x4ec26b(0x33f)]();}function _0x3da0e4(_0x55b898){const _0x31d4d9=_0x59d71a,_0x6ede01=this[_0x22520d];_0x6ede01[_0x31d4d9(0x1ac)]!==_0xeb4049[_0x31d4d9(0x329)]&&(_0x6ede01[_0x31d4d9(0x1ac)]===_0xeb4049[_0x31d4d9(0x304)]&&(_0x6ede01[_0x31d4d9(0x1e0)]=_0xeb4049[_0x31d4d9(0x1c0)],_0x58b6ac(_0x6ede01)),this[_0x31d4d9(0x2b4)][_0x31d4d9(0x1fa)](),_0x6ede01[_0x31d4d9(0x1f0)]||(_0x6ede01[_0x31d4d9(0x1f0)]=!0x0,_0x6ede01[_0x31d4d9(0x200)]('error',_0x55b898)));}function _0x58b6ac(_0x357c09){const _0x125515=_0x59d71a;_0x357c09[_0x125515(0x274)]=setTimeout(_0x357c09['_socket'][_0x125515(0x197)][_0x125515(0x255)](_0x357c09[_0x125515(0x2b4)]),_0xc499f1);}function _0x332615(){const _0xa3296a=_0x59d71a,_0x3e52bd=this[_0x22520d];this[_0xa3296a(0x327)](_0xa3296a(0x32e),_0x332615),this[_0xa3296a(0x327)](_0xa3296a(0x2cd),_0x553de3),this[_0xa3296a(0x327)]('end',_0x3b94ef),_0x3e52bd[_0xa3296a(0x1e0)]=_0xeb4049[_0xa3296a(0x1c0)];let _0x53730d;!this[_0xa3296a(0x2d0)][_0xa3296a(0x210)]&&!_0x3e52bd[_0xa3296a(0x322)]&&!_0x3e52bd[_0xa3296a(0x195)]['_writableState'][_0xa3296a(0x278)]&&(_0x53730d=_0x3e52bd[_0xa3296a(0x2b4)]['read']())!==null&&_0x3e52bd[_0xa3296a(0x195)][_0xa3296a(0x2a9)](_0x53730d),_0x3e52bd['_receiver']['end'](),this[_0x22520d]=void 0x0,clearTimeout(_0x3e52bd[_0xa3296a(0x274)]),_0x3e52bd[_0xa3296a(0x195)]['_writableState']['finished']||_0x3e52bd[_0xa3296a(0x195)]['_writableState'][_0xa3296a(0x278)]?_0x3e52bd['emitClose']():(_0x3e52bd['_receiver']['on'](_0xa3296a(0x1d2),_0x3e19c4),_0x3e52bd[_0xa3296a(0x195)]['on'](_0xa3296a(0x1a7),_0x3e19c4));}function _0x553de3(_0x671453){const _0x1fc952=_0x59d71a;this[_0x22520d][_0x1fc952(0x195)][_0x1fc952(0x2a9)](_0x671453)||this['pause']();}function _0x3b94ef(){const _0x19b160=_0x59d71a,_0x19144a=this[_0x22520d];_0x19144a[_0x19b160(0x1e0)]=_0xeb4049[_0x19b160(0x1c0)],_0x19144a[_0x19b160(0x195)][_0x19b160(0x1fa)](),this['end']();}function _0x1b820e(){const _0x527ca6=_0x59d71a,_0x1c40a4=this[_0x22520d];this['removeListener'](_0x527ca6(0x1d2),_0x1b820e),this['on'](_0x527ca6(0x1d2),_0x4c581f),_0x1c40a4&&(_0x1c40a4[_0x527ca6(0x1e0)]=_0xeb4049[_0x527ca6(0x1c0)],this[_0x527ca6(0x197)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4138a9}=_0x4a4f82;function _0x17080b(_0x37d3d2){const _0x37b7f9=_0x3288;_0x37d3d2['emit'](_0x37b7f9(0x32e));}function _0x3ae5f6(){const _0x119fd2=_0x3288;!this[_0x119fd2(0x317)]&&this[_0x119fd2(0x1d3)][_0x119fd2(0x2e3)]&&this['destroy']();}function _0xfaf2b3(_0x384def){const _0x46dd75=_0x3288;this[_0x46dd75(0x327)](_0x46dd75(0x1d2),_0xfaf2b3),this[_0x46dd75(0x197)](),this[_0x46dd75(0x241)]('error')===0x0&&this[_0x46dd75(0x200)](_0x46dd75(0x1d2),_0x384def);}function _0xf3792f(_0x417065,_0x28e388){const _0xba2805=_0x3288;let _0x81427d=!0x0;const _0x56830d=new _0x4138a9({..._0x28e388,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x417065['on'](_0xba2805(0x1f8),function(_0x57b70e,_0x3863e8){const _0x1d6be2=_0xba2805,_0x5b20f2=!_0x3863e8&&_0x56830d[_0x1d6be2(0x2d0)][_0x1d6be2(0x313)]?_0x57b70e[_0x1d6be2(0x284)]():_0x57b70e;_0x56830d[_0x1d6be2(0x266)](_0x5b20f2)||_0x417065[_0x1d6be2(0x21c)]();}),_0x417065[_0xba2805(0x1a3)](_0xba2805(0x1d2),function(_0x4754ef){const _0x2abfdb=_0xba2805;_0x56830d[_0x2abfdb(0x317)]||(_0x81427d=!0x1,_0x56830d['destroy'](_0x4754ef));}),_0x417065[_0xba2805(0x1a3)](_0xba2805(0x32e),function(){const _0x534203=_0xba2805;_0x56830d[_0x534203(0x317)]||_0x56830d[_0x534203(0x266)](null);}),_0x56830d[_0xba2805(0x1aa)]=function(_0x484c1e,_0x1a1903){const _0x4156af=_0xba2805;if(_0x417065['readyState']===_0x417065[_0x4156af(0x329)]){_0x1a1903(_0x484c1e),process[_0x4156af(0x2cb)](_0x17080b,_0x56830d);return;}let _0x2500d6=!0x1;_0x417065[_0x4156af(0x1a3)](_0x4156af(0x1d2),function(_0x560c9c){_0x2500d6=!0x0,_0x1a1903(_0x560c9c);}),_0x417065['once'](_0x4156af(0x32e),function(){const _0xb496a7=_0x4156af;_0x2500d6||_0x1a1903(_0x484c1e),process[_0xb496a7(0x2cb)](_0x17080b,_0x56830d);}),_0x81427d&&_0x417065[_0x4156af(0x1ab)]();},_0x56830d[_0xba2805(0x301)]=function(_0x428237){const _0xa42d0d=_0xba2805;if(_0x417065[_0xa42d0d(0x1ac)]===_0x417065['CONNECTING']){_0x417065[_0xa42d0d(0x1a3)](_0xa42d0d(0x21f),function(){const _0x17e3a3=_0xa42d0d;_0x56830d[_0x17e3a3(0x301)](_0x428237);});return;}_0x417065[_0xa42d0d(0x2b4)]!==null&&(_0x417065[_0xa42d0d(0x2b4)][_0xa42d0d(0x1d3)][_0xa42d0d(0x2e3)]?(_0x428237(),_0x56830d['_readableState'][_0xa42d0d(0x210)]&&_0x56830d[_0xa42d0d(0x197)]()):(_0x417065[_0xa42d0d(0x2b4)]['once'](_0xa42d0d(0x1a7),function(){_0x428237();}),_0x417065[_0xa42d0d(0x32e)]()));},_0x56830d[_0xba2805(0x224)]=function(){const _0x2bb7cb=_0xba2805;_0x417065[_0x2bb7cb(0x205)]&&_0x417065[_0x2bb7cb(0x33f)]();},_0x56830d[_0xba2805(0x25f)]=function(_0x5b27a1,_0xc2fae4,_0x11d946){const _0x4b6e70=_0xba2805;if(_0x417065[_0x4b6e70(0x1ac)]===_0x417065[_0x4b6e70(0x1e1)]){_0x417065[_0x4b6e70(0x1a3)]('open',function(){const _0x5a9968=_0x4b6e70;_0x56830d[_0x5a9968(0x25f)](_0x5b27a1,_0xc2fae4,_0x11d946);});return;}_0x417065[_0x4b6e70(0x208)](_0x5b27a1,_0x11d946);},_0x56830d['on'](_0xba2805(0x1fa),_0x3ae5f6),_0x56830d['on'](_0xba2805(0x1d2),_0xfaf2b3),_0x56830d;}return Oe=_0xf3792f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x3081bc}=ne();function _0x9b6e19(_0x4b86be){const _0x2dd34c=_0x3288,_0x499d71=new Set();let _0x3fbee2=-0x1,_0x5992ec=-0x1,_0x5cd4c8=0x0;for(_0x5cd4c8;_0x5cd4c8<_0x4b86be[_0x2dd34c(0x2a6)];_0x5cd4c8++){const _0x2ac45f=_0x4b86be[_0x2dd34c(0x2dc)](_0x5cd4c8);if(_0x5992ec===-0x1&&_0x3081bc[_0x2ac45f]===0x1)_0x3fbee2===-0x1&&(_0x3fbee2=_0x5cd4c8);else{if(_0x5cd4c8!==0x0&&(_0x2ac45f===0x20||_0x2ac45f===0x9))_0x5992ec===-0x1&&_0x3fbee2!==-0x1&&(_0x5992ec=_0x5cd4c8);else{if(_0x2ac45f===0x2c){if(_0x3fbee2===-0x1)throw new SyntaxError(_0x2dd34c(0x216)+_0x5cd4c8);_0x5992ec===-0x1&&(_0x5992ec=_0x5cd4c8);const _0x43568c=_0x4b86be[_0x2dd34c(0x293)](_0x3fbee2,_0x5992ec);if(_0x499d71['has'](_0x43568c))throw new SyntaxError(_0x2dd34c(0x2ea)+_0x43568c+'\x22\x20subprotocol\x20is\x20duplicated');_0x499d71[_0x2dd34c(0x2ec)](_0x43568c),_0x3fbee2=_0x5992ec=-0x1;}else throw new SyntaxError(_0x2dd34c(0x216)+_0x5cd4c8);}}}if(_0x3fbee2===-0x1||_0x5992ec!==-0x1)throw new SyntaxError(_0x2dd34c(0x1ee));const _0x527266=_0x4b86be['slice'](_0x3fbee2,_0x5cd4c8);if(_0x499d71[_0x2dd34c(0x22b)](_0x527266))throw new SyntaxError(_0x2dd34c(0x2ea)+_0x527266+'\x22\x20subprotocol\x20is\x20duplicated');return _0x499d71[_0x2dd34c(0x2ec)](_0x527266),_0x499d71;}return Ce={'parse':_0x9b6e19},Ce;}var Te,ot;function er(){const _0x9220ea=_0x4f9298;if(ot)return Te;ot=0x1;const _0x1f257d=_0x58fb53,_0x204368=_0x359bc0,{Duplex:_0x590ae7}=_0x4a4f82,{createHash:_0x3b8add}=_0x5ef917,_0x2cefa3=pt(),_0x24c818=he(),_0x19c9d0=Jt(),_0x3994c5=Ie(),{GUID:_0x42120c,kWebSocket:_0x330bc8}=V(),_0x3a3324=/^[+/0-9A-Za-z]{22}==$/,_0x5188ac=0x0,_0x58d550=0x1,_0x1a388e=0x2;class _0xaedfa4 extends _0x1f257d{constructor(_0x44ebf5,_0x5b9829){const _0x3af0a7=_0x3288;if(super(),_0x44ebf5={'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':_0x3994c5,..._0x44ebf5},_0x44ebf5[_0x3af0a7(0x2c2)]==null&&!_0x44ebf5[_0x3af0a7(0x1cb)]&&!_0x44ebf5[_0x3af0a7(0x2c5)]||_0x44ebf5[_0x3af0a7(0x2c2)]!=null&&(_0x44ebf5['server']||_0x44ebf5[_0x3af0a7(0x2c5)])||_0x44ebf5[_0x3af0a7(0x1cb)]&&_0x44ebf5[_0x3af0a7(0x2c5)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x44ebf5['port']!=null?(this[_0x3af0a7(0x1d1)]=_0x204368['createServer']((_0xa72de2,_0x56b596)=>{const _0x4a06f6=_0x3af0a7,_0x583b65=_0x204368[_0x4a06f6(0x1dd)][0x1aa];_0x56b596['writeHead'](0x1aa,{'Content-Length':_0x583b65['length'],'Content-Type':_0x4a06f6(0x320)}),_0x56b596['end'](_0x583b65);}),this[_0x3af0a7(0x1d1)][_0x3af0a7(0x311)](_0x44ebf5[_0x3af0a7(0x2c2)],_0x44ebf5[_0x3af0a7(0x270)],_0x44ebf5['backlog'],_0x5b9829)):_0x44ebf5['server']&&(this['_server']=_0x44ebf5[_0x3af0a7(0x1cb)]),this['_server']){const _0x3d14dd=this[_0x3af0a7(0x200)][_0x3af0a7(0x255)](this,_0x3af0a7(0x2db));this[_0x3af0a7(0x2ff)]=_0x3aaaa7(this[_0x3af0a7(0x1d1)],{'listening':this[_0x3af0a7(0x200)][_0x3af0a7(0x255)](this,_0x3af0a7(0x2bf)),'error':this[_0x3af0a7(0x200)]['bind'](this,_0x3af0a7(0x1d2)),'upgrade':(_0x4682ce,_0x5a7e91,_0x374d86)=>{const _0x5570eb=_0x3af0a7;this[_0x5570eb(0x1d6)](_0x4682ce,_0x5a7e91,_0x374d86,_0x3d14dd);}});}_0x44ebf5[_0x3af0a7(0x283)]===!0x0&&(_0x44ebf5[_0x3af0a7(0x283)]={}),_0x44ebf5[_0x3af0a7(0x2e9)]&&(this[_0x3af0a7(0x340)]=new Set(),this[_0x3af0a7(0x2bd)]=!0x1),this[_0x3af0a7(0x2b5)]=_0x44ebf5,this['_state']=_0x5188ac;}['address'](){const _0x575c91=_0x3288;if(this['options'][_0x575c91(0x2c5)])throw new Error(_0x575c91(0x228));return this['_server']?this[_0x575c91(0x1d1)][_0x575c91(0x21b)]():null;}[_0x9220ea(0x32e)](_0x295a8c){const _0x4fcbad=_0x9220ea;if(this[_0x4fcbad(0x2e1)]===_0x1a388e){_0x295a8c&&this[_0x4fcbad(0x1a3)](_0x4fcbad(0x32e),()=>{const _0x468000=_0x4fcbad;_0x295a8c(new Error(_0x468000(0x2ae)));}),process[_0x4fcbad(0x2cb)](_0x4b9159,this);return;}if(_0x295a8c&&this[_0x4fcbad(0x1a3)](_0x4fcbad(0x32e),_0x295a8c),this[_0x4fcbad(0x2e1)]!==_0x58d550){if(this[_0x4fcbad(0x2e1)]=_0x58d550,this[_0x4fcbad(0x2b5)]['noServer']||this['options']['server'])this['_server']&&(this['_removeListeners'](),this[_0x4fcbad(0x2ff)]=this['_server']=null),this['clients']?this[_0x4fcbad(0x340)][_0x4fcbad(0x19b)]?this[_0x4fcbad(0x2bd)]=!0x0:process[_0x4fcbad(0x2cb)](_0x4b9159,this):process[_0x4fcbad(0x2cb)](_0x4b9159,this);else{const _0x32f645=this[_0x4fcbad(0x1d1)];this[_0x4fcbad(0x2ff)](),this[_0x4fcbad(0x2ff)]=this[_0x4fcbad(0x1d1)]=null,_0x32f645[_0x4fcbad(0x32e)](()=>{_0x4b9159(this);});}}}[_0x9220ea(0x31f)](_0x481f95){const _0x12454c=_0x9220ea;if(this[_0x12454c(0x2b5)][_0x12454c(0x2f3)]){const _0x5523a9=_0x481f95[_0x12454c(0x232)][_0x12454c(0x212)]('?');if((_0x5523a9!==-0x1?_0x481f95[_0x12454c(0x232)][_0x12454c(0x293)](0x0,_0x5523a9):_0x481f95[_0x12454c(0x232)])!==this[_0x12454c(0x2b5)][_0x12454c(0x2f3)])return!0x1;}return!0x0;}[_0x9220ea(0x1d6)](_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8){const _0x85411=_0x9220ea;_0x4658d3['on'](_0x85411(0x1d2),_0x39ce3f);const _0x4bcd07=_0x1a171b[_0x85411(0x314)][_0x85411(0x27d)],_0x30065a=_0x1a171b[_0x85411(0x314)][_0x85411(0x24e)],_0x3857bd=+_0x1a171b[_0x85411(0x314)][_0x85411(0x282)];if(_0x1a171b[_0x85411(0x2a0)]!==_0x85411(0x29c)){_0x2117c3(this,_0x1a171b,_0x4658d3,0x195,_0x85411(0x319));return;}if(_0x30065a===void 0x0||_0x30065a[_0x85411(0x275)]()!=='websocket'){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,_0x85411(0x257));return;}if(_0x4bcd07===void 0x0||!_0x3a3324[_0x85411(0x217)](_0x4bcd07)){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x3857bd!==0xd&&_0x3857bd!==0x8){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,_0x85411(0x1c9),{'Sec-WebSocket-Version':_0x85411(0x1bc)});return;}if(!this[_0x85411(0x31f)](_0x1a171b)){_0x4eb348(_0x4658d3,0x190);return;}const _0x7dcd6a=_0x1a171b['headers'][_0x85411(0x2d8)];let _0x1ee95d=new Set();if(_0x7dcd6a!==void 0x0)try{_0x1ee95d=_0x19c9d0[_0x85411(0x28a)](_0x7dcd6a);}catch{_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x5b48df=_0x1a171b[_0x85411(0x314)]['sec-websocket-extensions'],_0x3d827b={};if(this[_0x85411(0x2b5)][_0x85411(0x283)]&&_0x5b48df!==void 0x0){const _0xc6e99b=new _0x24c818(this[_0x85411(0x2b5)]['perMessageDeflate'],!0x0,this['options'][_0x85411(0x240)]);try{const _0x193c55=_0x2cefa3[_0x85411(0x28a)](_0x5b48df);_0x193c55[_0x24c818[_0x85411(0x237)]]&&(_0xc6e99b[_0x85411(0x300)](_0x193c55[_0x24c818[_0x85411(0x237)]]),_0x3d827b[_0x24c818[_0x85411(0x237)]]=_0xc6e99b);}catch{_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x85411(0x2b5)][_0x85411(0x1a9)]){const _0x1f2492={'origin':_0x1a171b[_0x85411(0x314)][''+(_0x3857bd===0x8?_0x85411(0x337):_0x85411(0x323))],'secure':!!(_0x1a171b[_0x85411(0x1b8)][_0x85411(0x260)]||_0x1a171b[_0x85411(0x1b8)][_0x85411(0x1fb)]),'req':_0x1a171b};if(this['options'][_0x85411(0x1a9)]['length']===0x2){this[_0x85411(0x2b5)][_0x85411(0x1a9)](_0x1f2492,(_0x3fad37,_0x3c02d6,_0x133174,_0x2aaabd)=>{const _0x4f4b95=_0x85411;if(!_0x3fad37)return _0x4eb348(_0x4658d3,_0x3c02d6||0x191,_0x133174,_0x2aaabd);this[_0x4f4b95(0x2f4)](_0x3d827b,_0x4bcd07,_0x1ee95d,_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8);});return;}if(!this[_0x85411(0x2b5)]['verifyClient'](_0x1f2492))return _0x4eb348(_0x4658d3,0x191);}this['completeUpgrade'](_0x3d827b,_0x4bcd07,_0x1ee95d,_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8);}[_0x9220ea(0x2f4)](_0x68204e,_0x1b3fae,_0x1786c0,_0x56f02c,_0x4da62b,_0x1c22d4,_0xd13300){const _0x1ba5b3=_0x9220ea;if(!_0x4da62b['readable']||!_0x4da62b[_0x1ba5b3(0x2b2)])return _0x4da62b['destroy']();if(_0x4da62b[_0x330bc8])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x1ba5b3(0x2e1)]>_0x5188ac)return _0x4eb348(_0x4da62b,0x1f7);const _0x49650d=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1ba5b3(0x1ff),_0x1ba5b3(0x298),_0x1ba5b3(0x332)+_0x3b8add(_0x1ba5b3(0x1da))[_0x1ba5b3(0x1a0)](_0x1b3fae+_0x42120c)['digest'](_0x1ba5b3(0x1e4))],_0x5e0b30=new this[(_0x1ba5b3(0x2b5))][(_0x1ba5b3(0x2b0))](null,void 0x0,this['options']);if(_0x1786c0[_0x1ba5b3(0x19b)]){const _0x51880f=this[_0x1ba5b3(0x2b5)]['handleProtocols']?this[_0x1ba5b3(0x2b5)]['handleProtocols'](_0x1786c0,_0x56f02c):_0x1786c0[_0x1ba5b3(0x1a8)]()[_0x1ba5b3(0x225)]()['value'];_0x51880f&&(_0x49650d[_0x1ba5b3(0x266)]('Sec-WebSocket-Protocol:\x20'+_0x51880f),_0x5e0b30[_0x1ba5b3(0x2f7)]=_0x51880f);}if(_0x68204e[_0x24c818[_0x1ba5b3(0x237)]]){const _0x349c85=_0x68204e[_0x24c818[_0x1ba5b3(0x237)]][_0x1ba5b3(0x248)],_0x573361=_0x2cefa3[_0x1ba5b3(0x20f)]({[_0x24c818[_0x1ba5b3(0x237)]]:[_0x349c85]});_0x49650d[_0x1ba5b3(0x266)](_0x1ba5b3(0x29f)+_0x573361),_0x5e0b30['_extensions']=_0x68204e;}this['emit'](_0x1ba5b3(0x314),_0x49650d,_0x56f02c),_0x4da62b['write'](_0x49650d['concat']('\x0d\x0a')[_0x1ba5b3(0x1df)]('\x0d\x0a')),_0x4da62b[_0x1ba5b3(0x327)](_0x1ba5b3(0x1d2),_0x39ce3f),_0x5e0b30['setSocket'](_0x4da62b,_0x1c22d4,{'allowSynchronousEvents':this[_0x1ba5b3(0x2b5)][_0x1ba5b3(0x268)],'maxPayload':this[_0x1ba5b3(0x2b5)]['maxPayload'],'skipUTF8Validation':this[_0x1ba5b3(0x2b5)][_0x1ba5b3(0x249)]}),this[_0x1ba5b3(0x340)]&&(this[_0x1ba5b3(0x340)][_0x1ba5b3(0x2ec)](_0x5e0b30),_0x5e0b30['on'](_0x1ba5b3(0x32e),()=>{const _0x327dcd=_0x1ba5b3;this['clients']['delete'](_0x5e0b30),this[_0x327dcd(0x2bd)]&&!this[_0x327dcd(0x340)][_0x327dcd(0x19b)]&&process[_0x327dcd(0x2cb)](_0x4b9159,this);})),_0xd13300(_0x5e0b30,_0x56f02c);}}Te=_0xaedfa4;function _0x3aaaa7(_0x102775,_0x523e58){const _0x1aec14=_0x9220ea;for(const _0x5255a6 of Object[_0x1aec14(0x2fa)](_0x523e58))_0x102775['on'](_0x5255a6,_0x523e58[_0x5255a6]);return function(){const _0x5b9987=_0x1aec14;for(const _0xf15e8b of Object[_0x5b9987(0x2fa)](_0x523e58))_0x102775[_0x5b9987(0x327)](_0xf15e8b,_0x523e58[_0xf15e8b]);};}function _0x4b9159(_0x10015d){const _0x13ef4e=_0x9220ea;_0x10015d[_0x13ef4e(0x2e1)]=_0x1a388e,_0x10015d[_0x13ef4e(0x200)](_0x13ef4e(0x32e));}function _0x39ce3f(){this['destroy']();}function _0x4eb348(_0x1ec401,_0x223f0e,_0x111167,_0x247733){const _0x428c94=_0x9220ea;_0x111167=_0x111167||_0x204368[_0x428c94(0x1dd)][_0x223f0e],_0x247733={'Connection':_0x428c94(0x32e),'Content-Type':_0x428c94(0x2a7),'Content-Length':Buffer[_0x428c94(0x1a5)](_0x111167),..._0x247733},_0x1ec401['once'](_0x428c94(0x1a7),_0x1ec401[_0x428c94(0x197)]),_0x1ec401[_0x428c94(0x1fa)](_0x428c94(0x2ce)+_0x223f0e+'\x20'+_0x204368[_0x428c94(0x1dd)][_0x223f0e]+'\x0d\x0a'+Object[_0x428c94(0x2fa)](_0x247733)['map'](_0xf0aa2e=>_0xf0aa2e+':\x20'+_0x247733[_0xf0aa2e])[_0x428c94(0x1df)]('\x0d\x0a')+_0x428c94(0x1cd)+_0x111167);}function _0x2117c3(_0x1f1e54,_0x16d2f5,_0x1645b0,_0x4a12e0,_0x49c071,_0xc7f12f){const _0xeee378=_0x9220ea;if(_0x1f1e54[_0xeee378(0x241)](_0xeee378(0x1e9))){const _0x4c9487=new Error(_0x49c071);Error['captureStackTrace'](_0x4c9487,_0x2117c3),_0x1f1e54['emit'](_0xeee378(0x1e9),_0x4c9487,_0x1645b0,_0x16d2f5);}else _0x4eb348(_0x1645b0,_0x4a12e0,_0x49c071,_0xc7f12f);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x17c7b2,_0xf7794b,_0x4c4b07,_0x1b3e88)=>{const _0x1e0ad9=_0x4f9298;for(var _0x52be63=_0x1b3e88>0x1?void 0x0:_0x1b3e88?tr(_0xf7794b,_0x4c4b07):_0xf7794b,_0xbd2443=_0x17c7b2[_0x1e0ad9(0x2a6)]-0x1,_0x5e7062;_0xbd2443>=0x0;_0xbd2443--)(_0x5e7062=_0x17c7b2[_0xbd2443])&&(_0x52be63=_0x5e7062(_0x52be63)||_0x52be63);return _0x52be63;},sr=(_0x2e30e9,_0x25d6b4)=>(_0x185c3b,_0x39834d)=>_0x25d6b4(_0x185c3b,_0x39834d,_0x2e30e9);let Ne=class extends _0x8924c{constructor(_0x5beba6){const _0x51fbfc=_0x4f9298;super(),this[_0x51fbfc(0x2eb)]=_0x5beba6;}[_0x4f9298(0x291)](_0x2b39f5){const _0x459589=_0x4f9298;var _0x2aa397;const _0x3a3a59=(_0x2aa397=this['_configService']['getConfig'](Be))==null?void 0x0:_0x2aa397[_0x459589(0x242)];try{const _0x3a3147=new Qt(_0x2b39f5,{'headers':{..._0x3a3a59}}),_0x5b774e=new _0x23dc54();return{'URL':_0x2b39f5,'close':(_0x94f7c7,_0x1b7eb3)=>{const _0x38fe1e=_0x459589;_0x3a3147[_0x38fe1e(0x32e)](_0x94f7c7,_0x1b7eb3),_0x5b774e[_0x38fe1e(0x2b1)]();},'send':_0xfe7e5a=>{_0x3a3147['send'](_0xfe7e5a);},'open$':new _0x14354a(_0x5f2f2e=>{const _0x9bf60=_0x459589,_0x2827d9=_0x2134f5=>_0x5f2f2e[_0x9bf60(0x225)](_0x2134f5);_0x3a3147['addEventListener'](_0x9bf60(0x21f),_0x2827d9),_0x5b774e[_0x9bf60(0x2ec)](_0x550483(()=>_0x3a3147[_0x9bf60(0x30a)](_0x9bf60(0x21f),_0x2827d9)));})[_0x459589(0x27a)](_0x4b8ead()),'close$':new _0x14354a(_0x4b6c1d=>{const _0x5f087a=_0x459589,_0x263315=_0x14d033=>_0x4b6c1d[_0x5f087a(0x225)](_0x14d033);_0x3a3147[_0x5f087a(0x279)](_0x5f087a(0x32e),_0x263315),_0x5b774e[_0x5f087a(0x2ec)](_0x550483(()=>_0x3a3147['removeEventListener'](_0x5f087a(0x32e),_0x263315)));})['pipe'](_0x4b8ead()),'error$':new _0x14354a(_0x3e7672=>{const _0x1dfe78=_0x459589,_0x262e5f=_0x230347=>_0x3e7672[_0x1dfe78(0x225)](_0x230347);_0x3a3147[_0x1dfe78(0x279)](_0x1dfe78(0x1d2),_0x262e5f),_0x5b774e['add'](_0x550483(()=>_0x3a3147['removeEventListener'](_0x1dfe78(0x1d2),_0x262e5f)));})[_0x459589(0x27a)](_0x4b8ead()),'message$':new _0x14354a(_0x27e3a3=>{const _0x395d26=_0x459589,_0x1c1cb0=_0x3f5a75=>_0x27e3a3[_0x395d26(0x225)](_0x3f5a75);_0x3a3147['addEventListener'](_0x395d26(0x1f8),_0x1c1cb0),_0x5b774e[_0x395d26(0x2ec)](_0x550483(()=>_0x3a3147[_0x395d26(0x30a)](_0x395d26(0x1f8),_0x1c1cb0)));})['pipe'](_0x4b8ead())};}catch(_0x23a325){return console[_0x459589(0x1d2)](_0x23a325),null;}}};Ne=rr([sr(0x0,_0x134320)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x3a2d8a,_0x2c3587,_0x55037f)=>_0x2c3587 in _0x3a2d8a?ir(_0x3a2d8a,_0x2c3587,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55037f}):_0x3a2d8a[_0x2c3587]=_0x55037f,ar=(_0x4254e1,_0x55ebe6,_0x41204d,_0x15da26)=>{const _0xcfcafb=_0x4f9298;for(var _0x57b19a=_0x15da26>0x1?void 0x0:_0x15da26?nr(_0x55ebe6,_0x41204d):_0x55ebe6,_0x24332e=_0x4254e1[_0xcfcafb(0x2a6)]-0x1,_0x318ef9;_0x24332e>=0x0;_0x24332e--)(_0x318ef9=_0x4254e1[_0x24332e])&&(_0x57b19a=_0x318ef9(_0x57b19a)||_0x57b19a);return _0x57b19a;},ke=(_0x4ad09f,_0x34be5e)=>(_0x41f3b8,_0xb395a1)=>_0x34be5e(_0x41f3b8,_0xb395a1,_0x4ad09f),lr=(_0x1a359b,_0x1c74db,_0x497349)=>or(_0x1a359b,_0x1c74db+'',_0x497349);let Pe=class extends _0x31a6de{constructor(_0x2ce58a=Ft,_0x3168c8,_0x3645f2,_0x5d2754){const _0xef4ac8=_0x4f9298;_0x2ce58a['customHeaders']||_0x3168c8[_0xef4ac8(0x316)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0xef4ac8(0x2eb)]=_0x3645f2,this[_0xef4ac8(0x2b3)]=_0x5d2754,this['_configService'][_0xef4ac8(0x25d)](Be,_0x2ce58a);}[_0x4f9298(0x1c7)](){const _0x1b5568=_0x4f9298;this[_0x1b5568(0x20c)]();}[_0x4f9298(0x20c)](){const _0x218c74=_0x4f9298;_0x4ffcc3(this[_0x218c74(0x2b3)],[[_0x15b46e,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x4f9298(0x334)),Pe=ar([_0x333582(_0x554f19),ke(0x1,_0x3e32c0),ke(0x2,_0x134320),ke(0x3,_0x16e21f(_0x107d18))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0xf68de5,_0x310eda,_0x553505,_0x15ac08)=>{for(var _0x247677=_0x15ac08>0x1?void 0x0:_0x15ac08?fr(_0x310eda,_0x553505):_0x310eda,_0x51654b=_0xf68de5['length']-0x1,_0x2fbdb7;_0x51654b>=0x0;_0x51654b--)(_0x2fbdb7=_0xf68de5[_0x51654b])&&(_0x247677=_0x2fbdb7(_0x247677)||_0x247677);return _0x247677;},se=(_0x2df002,_0x95149b)=>(_0x49ce30,_0x2deb5c)=>_0x95149b(_0x49ce30,_0x2deb5c,_0x2df002);let at=class extends _0x374091{constructor(_0x4473e5,_0x1d9838,_0x3052c0,_0x1ee6e7,_0x1fa28a){const _0x377225=_0x4f9298;super(_0x4473e5,_0x1d9838,_0x3052c0,_0x1ee6e7,_0x1fa28a);const _0x526a51=this[_0x377225(0x2eb)][_0x377225(0x2e6)](Be);this[_0x377225(0x29a)][_0x377225(0x1d5)]({'interceptor':(_0x15c776,_0x4cc04f)=>{const _0x27e3fc=_0x377225;var _0x2d0937;const _0x3e5ef2=_0x15c776[_0x27e3fc(0x314)];return(_0x2d0937=_0x526a51==null?void 0x0:_0x526a51[_0x27e3fc(0x242)])!=null&&_0x2d0937[_0x27e3fc(0x30e)]&&_0x3e5ef2[_0x27e3fc(0x2ad)](_0x27e3fc(0x199),_0x526a51[_0x27e3fc(0x242)]['cookie']),_0x4cc04f(_0x15c776);}});}async['createSocket'](_0x4b1274){const _0x49056a=_0x4f9298;return this[_0x49056a(0x1f2)](_0x4b1274);}};at=cr([se(0x0,_0x16e21f(_0x107d18)),se(0x1,_0x16e21f(_0x1c37c7)),se(0x2,_0x134320),se(0x3,_0x3e32c0),se(0x4,_0x3f00fe)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x4a8798=_0x2c80;(function(_0x141627,_0x200289){const _0x1797dd=_0x2c80,_0x38a44a=_0x141627();while(!![]){try{const _0xf74c21=parseInt(_0x1797dd(0xab))/0x1*(-parseInt(_0x1797dd(0x135))/0x2)+-parseInt(_0x1797dd(0x115))/0x3+parseInt(_0x1797dd(0x19d))/0x4+-parseInt(_0x1797dd(0x158))/0x5+-parseInt(_0x1797dd(0x1c1))/0x6*(parseInt(_0x1797dd(0xd9))/0x7)+parseInt(_0x1797dd(0x230))/0x8*(-parseInt(_0x1797dd(0x130))/0x9)+-parseInt(_0x1797dd(0x220))/0xa*(-parseInt(_0x1797dd(0x117))/0xb);if(_0xf74c21===_0x200289)break;else _0x38a44a['push'](_0x38a44a['shift']());}catch(_0x26738f){_0x38a44a['push'](_0x38a44a['shift']());}}}(_0x3b46,0xa2f20));import{UniverCollaborationClientPlugin as _0x3fbefe,CollaborationSocketService as _0x1183c4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2229fd,DisposableCollection as _0x1c0e39,toDisposable as _0x208b1,IConfigService as _0x394cde,DependentOn as _0x1fb60f,ILogService as _0x3f2986,Inject as _0x5b8dd8,Injector as _0x31ef33,Plugin as _0x1ec056,registerDependencies as _0x1f5797}from'@univerjs/core';function _0x2c80(_0x1be226,_0x45471){const _0x3b4667=_0x3b46();return _0x2c80=function(_0x2c80a0,_0x141a87){_0x2c80a0=_0x2c80a0-0x91;let _0x12aa3e=_0x3b4667[_0x2c80a0];return _0x12aa3e;},_0x2c80(_0x1be226,_0x45471);}import{ISocketService as _0x439c29,HTTPService as _0x104112}from'@univerjs/network';import{Observable as _0x5a28b9,share as _0xb4c0a4}from'rxjs';import _0x231509 from'events';import _0x4dae9a from'https';import _0x4a0f23 from'http';import _0x21f3c7 from'net';import _0x43a5ca from'tls';import _0x172c9a from'crypto';import _0x48895b from'stream';import _0x2fd073 from'url';import _0x202920 from'zlib';import _0x201063 from'buffer';import{ISnapshotServerService as _0x19289f}from'@univerjs-pro/collaboration';const Be=_0x4a8798(0x106),Ft={'customHeaders':{}};function Wt(_0x15558b){const _0x2ac7c0=_0x4a8798;return _0x15558b&&_0x15558b[_0x2ac7c0(0xfa)]&&Object[_0x2ac7c0(0x10b)][_0x2ac7c0(0xd6)][_0x2ac7c0(0x184)](_0x15558b,_0x2ac7c0(0x12f))?_0x15558b[_0x2ac7c0(0x12f)]:_0x15558b;}function _0x3b46(){const _0x2dc464=['maskBuffer','createSocket','hasOwnProperty','WS_ERR_UNEXPECTED_MASK','_writableState','130809wEkwiX','protocol','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','object','_compressed','setConfig','dispatch','perMessageDeflate','The\x20server\x20is\x20not\x20running','authorization','_closeMessage','noServer','Invalid\x20value\x20for\x20parameter\x20\x22','permessage-deflate','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','upgrade','onclose','host','_bufferedAmount','_opcode','_originalIpc','sha1','dataMessage','cork','_mask','writeUIntBE','replace','error','sec-websocket-accept','forEach','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Max\x20payload\x20size\x20exceeded','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','__esModule','freeze','_binaryType','endEmitted','Invalid\x20URL:\x20','authorized','\x22:\x20','charCodeAt','socket','encrypted','buffers','verifyClient','collaboration-client-node.config','\x0d\x0a\x0d\x0a','wss:','type','zlibDeflateOptions','prototype','finished','rsv1','sec-websocket-origin','_closeCode','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','serverNoContextTakeover','Blob','isValidUTF8','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','930021JBrkOO','listening','28690706zjWOtL','pong','kReason','ws+unix:','invalid\x20UTF-8\x20sequence','writeUInt16BE','createConnection','_fragments','Upgrade','_loop','Sec-WebSocket-Extensions:\x20','MASK\x20must\x20be\x20set','allowSynchronousEvents','listenerCount','size','threshold','emit','arrayBuffer','onerror','ws:','Invalid\x20WebSocket\x20frame:\x20','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','unexpected-response','isServer','default','36FWzHcJ','_max_window_bits','Invalid\x20Upgrade\x20header','client_max_window_bits','skipUTF8Validation','18OQcKjK','cookie','Unexpected\x20character\x20at\x20index\x20','Origin','statusCode','_fin','server','concat','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','origin','_errored','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','allocUnsafe','WebSocket','code','next','sec-websocket-extensions','alloc','\x22\x20subprotocol\x20is\x20duplicated','apply','drain','delete','_extensions','defaultPort','stream','CLOSING','timeout','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Parameter\x20\x22','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','update','kWasClean','digest','kIsForOnEventAttribute','_removeListeners','1202085xcGZBR','resume','hostname','hash','CLOSED','completeUpgrade','Maximum\x20redirects\x20exceeded','species','_server','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','add','_protocol','unshift','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Z_SYNC_FLUSH','Unexpected\x20end\x20of\x20input','removeAllListeners','decompress','The\x20URL\x20contains\x20a\x20fragment\x20identifier','construct','from','address','cleanup','reset','status-code','getMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_maskBuffer','acceptAsServer','map','isView','normalizeParams','find','WS_NO_UTF_8_VALIDATE','length','flush','slice','handleProtocols','handleUpgrade','setNoDelay','pause','_sender','server_max_window_bits','call','_firstFragment','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','open','socketPath','_errorEmitted','Invalid\x20HTTP\x20method','terminate','auth','pow','destroyed','_isServer','_injector','clientNoContextTakeover','message','base64','websocket','entries','wasClean','sec-websocket-version','WS_ERR_UNEXPECTED_RSV_2_3','indexOf','clientTracking','Cookie','url','1470256XCOkNN','https:','FIN\x20must\x20be\x20set','isBuffer','number','_allowSynchronousEvents','location','ping','RSV1\x20must\x20be\x20clear','parse','shift','_paused','protocolVersion','getData','createError','client','_receiver','_payloadLength','redirect','text/html','options','clients','function','extensionName','handshakeTimeout','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_req','pathname','_originalHostOrSocketPath','dequeue','_closeFrameSent','WS_ERR_UNEXPECTED_RSV_1','OPEN','mask','The\x20\x22','_buffers','96HNejMB','CONNECTING','once','isArray','_write','invalid\x20opcode\x200','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','finishRequest','compress','_readableState','_maxPayload','kAborted','arraybuffer','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','connect','_redirects','_originalSecure','fin','catch','has','setHeader','followRedirects','params','maxPayload','Basic\x20','toLowerCase','target','password','writeHead','File','_no_context_takeover','total-length','split','string','Unknown\x20parameter\x20\x22','sec-websocket-protocol','reason','_masked','kRun','listen','HTTP/1.1\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','read','Unsupported\x20protocol\x20version:\x20','_final','pluginName','Sec-WebSocket-Accept:\x20','_skipUTF8Validation','setSocket','removeEventListener','_autoPong','unmask','http:','jobs','destroy','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','getInfo','kTarget','format','isIP','_decompress','close','captureStackTrace','port','addEventListener','create','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_fragmented','sendFrame','abort','MASK\x20must\x20be\x20clear','Module','includes','defineProperty','_totalPayloadLength','end','WS_ERR_INVALID_UTF8','controlMessage','_queue','value','method','binaryType','offer','errorEmitted','frame','getBlobData','finish','text/plain','emitClose','getPayloadLength64','send','STATUS_CODES','clientMaxWindowBits','response','getOwnPropertyDescriptor','10XkTgSJ','client_no_context_takeover','readOnly','isPaused','buffer','Sec-WebSocket-Extensions','_registerDependencies','keys','setTimeout','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_readyState','kByteLength','haveLength','_socket','HTTP/1.1\x20101\x20Switching\x20Protocols','1436648DGHBWn','bind','customHeaders','toStringTag','_shouldEmitClose','_closeFrameReceived','_configService','pending','push','servername','callback','_messageLength','enqueue','pipe','WS_ERR_EXPECTED_FIN','join','readUInt32BE','acceptAsClient','conclude','_generateMask','createServer','removeListener','opcode','isInteger','handleEvent','warn','_options','Sec-WebSocket-Protocol:\x20','data','objectMode','extensions','_deflate','needDrain','username','consume','onopen','write','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','exports','_compress','accept','test','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','serverMaxWindowBits','\x20(supported\x20versions:\x20','82294upCWEK','_httpService','byteLength','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','connection','listeners','WS_ERR_INVALID_OPCODE','readUInt16BE','nodebuffer','readyState','createDeflateRaw','_closeTimer','_bufferedBytes','Z_DEFAULT_WINDOWBITS','invalid\x20opcode\x20','toString','WS_ERR_INVALID_CLOSE_CODE','Sec-WebSocket-Protocol','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','headers','byteOffset','request','server_no_context_takeover','set','kListener','_threshold','startLoop','_inflate','constructor','kData','backlog','path','kError','generateMask','wsClientError','concurrency','_state','env','get','writable','nextTick'];_0x3b46=function(){return _0x2dc464;};return _0x3b46();}function ut(_0x399854){const _0x25725b=_0x4a8798;if(Object['prototype']['hasOwnProperty'][_0x25725b(0x184)](_0x399854,_0x25725b(0xfa)))return _0x399854;var _0x127bb3=_0x399854['default'];if(typeof _0x127bb3==_0x25725b(0x1b3)){var _0x2df57f=function _0x54cf30(){const _0x11b622=_0x25725b;var _0x58b4d3=!0x1;try{_0x58b4d3=this instanceof _0x54cf30;}catch{}return _0x58b4d3?Reflect[_0x11b622(0x16b)](_0x127bb3,arguments,this[_0x11b622(0xc7)]):_0x127bb3[_0x11b622(0x148)](this,arguments);};_0x2df57f['prototype']=_0x127bb3[_0x25725b(0x10b)];}else _0x2df57f={};return Object[_0x25725b(0x20a)](_0x2df57f,'__esModule',{'value':!0x0}),Object['keys'](_0x399854)[_0x25725b(0xf6)](function(_0x83ba02){const _0x4099db=_0x25725b;var _0x3e92e6=Object['getOwnPropertyDescriptor'](_0x399854,_0x83ba02);Object['defineProperty'](_0x2df57f,_0x83ba02,_0x3e92e6[_0x4099db(0xd1)]?_0x3e92e6:{'enumerable':!0x0,'get':function(){return _0x399854[_0x83ba02];}});}),_0x2df57f;}var te={'exports':{}},ge,Ye;function V(){const _0x4faf4f=_0x4a8798;if(Ye)return ge;Ye=0x1;const _0x416885=[_0x4faf4f(0xb3),_0x4faf4f(0x1cd),'fragments'],_0x5b3411=typeof Blob<'u';return _0x5b3411&&_0x416885['push']('blob'),ge={'BINARY_TYPES':_0x416885,'EMPTY_BUFFER':Buffer[_0x4faf4f(0x146)](0x0),'GUID':_0x4faf4f(0x1ce),'hasBlob':_0x5b3411,'kForOnEventAttribute':Symbol(_0x4faf4f(0x156)),'kListener':Symbol(_0x4faf4f(0xc3)),'kStatusCode':Symbol(_0x4faf4f(0x170)),'kWebSocket':Symbol(_0x4faf4f(0x194)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4a8798(0xfb)](Object[_0x4a8798(0x20a)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x2169b0=_0x4a8798;if(Ke)return te[_0x2169b0(0xa4)];Ke=0x1;const {EMPTY_BUFFER:_0x469e54}=V(),_0x38cdae=Buffer[Symbol[_0x2169b0(0x15f)]];function _0x4542dc(_0x2ad2fa,_0x390c87){const _0x5b9311=_0x2169b0;if(_0x2ad2fa[_0x5b9311(0x17b)]===0x0)return _0x469e54;if(_0x2ad2fa[_0x5b9311(0x17b)]===0x1)return _0x2ad2fa[0x0];const _0x4119a1=Buffer[_0x5b9311(0x141)](_0x390c87);let _0x48e2c8=0x0;for(let _0x59adfb=0x0;_0x59adfb<_0x2ad2fa[_0x5b9311(0x17b)];_0x59adfb++){const _0x25723e=_0x2ad2fa[_0x59adfb];_0x4119a1[_0x5b9311(0xc2)](_0x25723e,_0x48e2c8),_0x48e2c8+=_0x25723e[_0x5b9311(0x17b)];}return _0x48e2c8<_0x390c87?new _0x38cdae(_0x4119a1[_0x5b9311(0x224)],_0x4119a1[_0x5b9311(0xbf)],_0x48e2c8):_0x4119a1;}function _0xb9765c(_0x15e871,_0x2cd376,_0x10037d,_0x5d9e8e,_0x16b4a0){for(let _0x3e4b66=0x0;_0x3e4b66<_0x16b4a0;_0x3e4b66++)_0x10037d[_0x5d9e8e+_0x3e4b66]=_0x15e871[_0x3e4b66]^_0x2cd376[_0x3e4b66&0x3];}function _0x164d1b(_0x496e02,_0xdef146){const _0x21cbdd=_0x2169b0;for(let _0x40571d=0x0;_0x40571d<_0x496e02[_0x21cbdd(0x17b)];_0x40571d++)_0x496e02[_0x40571d]^=_0xdef146[_0x40571d&0x3];}function _0x4ba164(_0x1b2f40){const _0x169508=_0x2169b0;return _0x1b2f40[_0x169508(0x17b)]===_0x1b2f40['buffer'][_0x169508(0xad)]?_0x1b2f40['buffer']:_0x1b2f40[_0x169508(0x224)][_0x169508(0x17d)](_0x1b2f40[_0x169508(0xbf)],_0x1b2f40[_0x169508(0xbf)]+_0x1b2f40['length']);}function _0x236d08(_0x26a5c8){const _0x4ca387=_0x2169b0;if(_0x236d08[_0x4ca387(0x222)]=!0x0,Buffer[_0x4ca387(0x1a0)](_0x26a5c8))return _0x26a5c8;let _0x3ce4ad;return _0x26a5c8 instanceof ArrayBuffer?_0x3ce4ad=new _0x38cdae(_0x26a5c8):ArrayBuffer[_0x4ca387(0x177)](_0x26a5c8)?_0x3ce4ad=new _0x38cdae(_0x26a5c8[_0x4ca387(0x224)],_0x26a5c8['byteOffset'],_0x26a5c8['byteLength']):(_0x3ce4ad=Buffer[_0x4ca387(0x16c)](_0x26a5c8),_0x236d08[_0x4ca387(0x222)]=!0x1),_0x3ce4ad;}if(te[_0x2169b0(0xa4)]={'concat':_0x4542dc,'mask':_0xb9765c,'toArrayBuffer':_0x4ba164,'toBuffer':_0x236d08,'unmask':_0x164d1b},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x5e5de5=Vt;te['exports']['mask']=function(_0x24327a,_0x1ea8a2,_0xfd72e5,_0x15cceb,_0x181aa8){const _0x2037d2=_0x2169b0;_0x181aa8<0x30?_0xb9765c(_0x24327a,_0x1ea8a2,_0xfd72e5,_0x15cceb,_0x181aa8):_0x5e5de5[_0x2037d2(0x1be)](_0x24327a,_0x1ea8a2,_0xfd72e5,_0x15cceb,_0x181aa8);},te[_0x2169b0(0xa4)][_0x2169b0(0x1f4)]=function(_0x3de1c4,_0x5599ac){const _0x274d61=_0x2169b0;_0x3de1c4[_0x274d61(0x17b)]<0x20?_0x164d1b(_0x3de1c4,_0x5599ac):_0x5e5de5[_0x274d61(0x1f4)](_0x3de1c4,_0x5599ac);};}catch{}return te[_0x2169b0(0xa4)];}var ye,Xe;function qt(){const _0x36099f=_0x4a8798;if(Xe)return ye;Xe=0x1;const _0x5d1bf1=Symbol('kDone'),_0x826e42=Symbol(_0x36099f(0x1e7));class _0x104284{constructor(_0x28f0f6){const _0x2b1b24=_0x36099f;this[_0x5d1bf1]=()=>{const _0x50817c=_0x2c80;this[_0x50817c(0x237)]--,this[_0x826e42]();},this[_0x2b1b24(0xce)]=_0x28f0f6||0x1/0x0,this[_0x2b1b24(0x1f6)]=[],this[_0x2b1b24(0x237)]=0x0;}[_0x36099f(0x162)](_0x4d3079){const _0x2873fc=_0x36099f;this[_0x2873fc(0x1f6)]['push'](_0x4d3079),this[_0x826e42]();}[_0x826e42](){const _0x568892=_0x36099f;if(this[_0x568892(0x237)]!==this['concurrency']&&this[_0x568892(0x1f6)]['length']){const _0x1a8534=this['jobs'][_0x568892(0x1a7)]();this[_0x568892(0x237)]++,_0x1a8534(this[_0x5d1bf1]);}}}return ye=_0x104284,ye;}var ve,Ze;function he(){const _0x58932b=_0x4a8798;if(Ze)return ve;Ze=0x1;const _0x5255b8=_0x202920,_0x41c229=ce(),_0xfa2044=qt(),{kStatusCode:_0xa8fcc0}=V(),_0x1ec74c=Buffer[Symbol[_0x58932b(0x15f)]],_0x3b01da=Buffer['from']([0x0,0x0,0xff,0xff]),_0x2a512b=Symbol(_0x58932b(0xe6)),_0xcdd015=Symbol(_0x58932b(0x1e0)),_0x186a5f=Symbol(_0x58932b(0x23a)),_0x17b2ad=Symbol(_0x58932b(0x104)),_0xcc218b=Symbol(_0x58932b(0xf4));let _0x3edb75;class _0x487ac0{constructor(_0x674e8f,_0x296042,_0xa5b367){const _0x147e1c=_0x58932b;if(this[_0x147e1c(0x1cb)]=_0xa5b367|0x0,this[_0x147e1c(0x98)]=_0x674e8f||{},this['_threshold']=this[_0x147e1c(0x98)][_0x147e1c(0x126)]!==void 0x0?this['_options'][_0x147e1c(0x126)]:0x400,this[_0x147e1c(0x18f)]=!!_0x296042,this[_0x147e1c(0x9d)]=null,this[_0x147e1c(0xc6)]=null,this[_0x147e1c(0x1d7)]=null,!_0x3edb75){const _0x5035fb=this[_0x147e1c(0x98)]['concurrencyLimit']!==void 0x0?this[_0x147e1c(0x98)]['concurrencyLimit']:0xa;_0x3edb75=new _0xfa2044(_0x5035fb);}}static get[_0x58932b(0x1b4)](){const _0x522540=_0x58932b;return _0x522540(0xe6);}[_0x58932b(0x213)](){const _0x5de5a5=_0x58932b,_0x5ab504={};return this[_0x5de5a5(0x98)][_0x5de5a5(0x111)]&&(_0x5ab504[_0x5de5a5(0xc1)]=!0x0),this[_0x5de5a5(0x98)][_0x5de5a5(0x191)]&&(_0x5ab504['client_no_context_takeover']=!0x0),this[_0x5de5a5(0x98)][_0x5de5a5(0xa9)]&&(_0x5ab504['server_max_window_bits']=this[_0x5de5a5(0x98)][_0x5de5a5(0xa9)]),this['_options'][_0x5de5a5(0x21d)]?_0x5ab504[_0x5de5a5(0x133)]=this[_0x5de5a5(0x98)][_0x5de5a5(0x21d)]:this[_0x5de5a5(0x98)]['clientMaxWindowBits']==null&&(_0x5ab504[_0x5de5a5(0x133)]=!0x0),_0x5ab504;}[_0x58932b(0xa6)](_0x118995){const _0x1bb492=_0x58932b;return _0x118995=this[_0x1bb492(0x178)](_0x118995),this[_0x1bb492(0x1d7)]=this[_0x1bb492(0x18f)]?this[_0x1bb492(0x175)](_0x118995):this[_0x1bb492(0x241)](_0x118995),this[_0x1bb492(0x1d7)];}[_0x58932b(0x16e)](){const _0x53713c=_0x58932b;if(this['_inflate']&&(this[_0x53713c(0xc6)]['close'](),this['_inflate']=null),this[_0x53713c(0x9d)]){const _0x115572=this[_0x53713c(0x9d)][_0x186a5f];this[_0x53713c(0x9d)][_0x53713c(0x1fe)](),this['_deflate']=null,_0x115572&&_0x115572(new Error(_0x53713c(0x1c7)));}}['acceptAsServer'](_0x5af9f0){const _0x28c3b3=_0x58932b,_0x2441ba=this['_options'],_0x49d3d3=_0x5af9f0[_0x28c3b3(0x179)](_0x5815ef=>!(_0x2441ba[_0x28c3b3(0x111)]===!0x1&&_0x5815ef[_0x28c3b3(0xc1)]||_0x5815ef['server_max_window_bits']&&(_0x2441ba[_0x28c3b3(0xa9)]===!0x1||typeof _0x2441ba[_0x28c3b3(0xa9)]==_0x28c3b3(0x1a1)&&_0x2441ba['serverMaxWindowBits']>_0x5815ef[_0x28c3b3(0x183)])||typeof _0x2441ba[_0x28c3b3(0x21d)]==_0x28c3b3(0x1a1)&&!_0x5815ef[_0x28c3b3(0x133)]));if(!_0x49d3d3)throw new Error(_0x28c3b3(0xa8));return _0x2441ba[_0x28c3b3(0x111)]&&(_0x49d3d3[_0x28c3b3(0xc1)]=!0x0),_0x2441ba[_0x28c3b3(0x191)]&&(_0x49d3d3[_0x28c3b3(0x221)]=!0x0),typeof _0x2441ba['serverMaxWindowBits']==_0x28c3b3(0x1a1)&&(_0x49d3d3[_0x28c3b3(0x183)]=_0x2441ba[_0x28c3b3(0xa9)]),typeof _0x2441ba[_0x28c3b3(0x21d)]==_0x28c3b3(0x1a1)?_0x49d3d3[_0x28c3b3(0x133)]=_0x2441ba[_0x28c3b3(0x21d)]:(_0x49d3d3[_0x28c3b3(0x133)]===!0x0||_0x2441ba[_0x28c3b3(0x21d)]===!0x1)&&delete _0x49d3d3['client_max_window_bits'],_0x49d3d3;}[_0x58932b(0x241)](_0x18c4c1){const _0x49500f=_0x58932b,_0x59a626=_0x18c4c1[0x0];if(this['_options'][_0x49500f(0x191)]===!0x1&&_0x59a626['client_no_context_takeover'])throw new Error(_0x49500f(0xf9));if(!_0x59a626[_0x49500f(0x133)])typeof this[_0x49500f(0x98)][_0x49500f(0x21d)]=='number'&&(_0x59a626[_0x49500f(0x133)]=this[_0x49500f(0x98)][_0x49500f(0x21d)]);else{if(this[_0x49500f(0x98)][_0x49500f(0x21d)]===!0x1||typeof this[_0x49500f(0x98)][_0x49500f(0x21d)]==_0x49500f(0x1a1)&&_0x59a626[_0x49500f(0x133)]>this['_options'][_0x49500f(0x21d)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x59a626;}[_0x58932b(0x178)](_0x1a449b){const _0x536873=_0x58932b;return _0x1a449b[_0x536873(0xf6)](_0x34c657=>{const _0x4b315f=_0x536873;Object[_0x4b315f(0x227)](_0x34c657)[_0x4b315f(0xf6)](_0x39c68f=>{const _0x26f9a8=_0x4b315f;let _0x567aac=_0x34c657[_0x39c68f];if(_0x567aac[_0x26f9a8(0x17b)]>0x1)throw new Error(_0x26f9a8(0x151)+_0x39c68f+_0x26f9a8(0x172));if(_0x567aac=_0x567aac[0x0],_0x39c68f==='client_max_window_bits'){if(_0x567aac!==!0x0){const _0x103772=+_0x567aac;if(!Number[_0x26f9a8(0x95)](_0x103772)||_0x103772<0x8||_0x103772>0xf)throw new TypeError(_0x26f9a8(0xe5)+_0x39c68f+_0x26f9a8(0x100)+_0x567aac);_0x567aac=_0x103772;}else{if(!this[_0x26f9a8(0x18f)])throw new TypeError(_0x26f9a8(0xe5)+_0x39c68f+_0x26f9a8(0x100)+_0x567aac);}}else{if(_0x39c68f===_0x26f9a8(0x183)){const _0x162f99=+_0x567aac;if(!Number[_0x26f9a8(0x95)](_0x162f99)||_0x162f99<0x8||_0x162f99>0xf)throw new TypeError(_0x26f9a8(0xe5)+_0x39c68f+_0x26f9a8(0x100)+_0x567aac);_0x567aac=_0x162f99;}else{if(_0x39c68f==='client_no_context_takeover'||_0x39c68f===_0x26f9a8(0xc1)){if(_0x567aac!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x39c68f+_0x26f9a8(0x100)+_0x567aac);}else throw new Error(_0x26f9a8(0x1e3)+_0x39c68f+'\x22');}}_0x34c657[_0x39c68f]=_0x567aac;});}),_0x1a449b;}[_0x58932b(0x169)](_0x2e810a,_0x1a6749,_0x364d29){const _0x1e766b=_0x58932b;_0x3edb75[_0x1e766b(0x162)](_0x52d4f9=>{const _0x2b801b=_0x1e766b;this[_0x2b801b(0x1fd)](_0x2e810a,_0x1a6749,(_0x493246,_0x40e3fa)=>{_0x52d4f9(),_0x364d29(_0x493246,_0x40e3fa);});});}['compress'](_0x2f7049,_0x5a63ab,_0x5c6215){const _0x546e88=_0x58932b;_0x3edb75[_0x546e88(0x162)](_0xe8e80c=>{const _0x3b4e3d=_0x546e88;this[_0x3b4e3d(0xa5)](_0x2f7049,_0x5a63ab,(_0xadc59,_0x1f91a8)=>{_0xe8e80c(),_0x5c6215(_0xadc59,_0x1f91a8);});});}[_0x58932b(0x1fd)](_0x240498,_0x5a927b,_0x3d8b28){const _0x176365=_0x58932b,_0x32675e=this[_0x176365(0x18f)]?_0x176365(0x1ac):_0x176365(0x13b);if(!this['_inflate']){const _0x43847f=_0x32675e+_0x176365(0x131),_0x325875=typeof this['params'][_0x43847f]!=_0x176365(0x1a1)?_0x5255b8[_0x176365(0xb8)]:this['params'][_0x43847f];this[_0x176365(0xc6)]=_0x5255b8['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x325875}),this[_0x176365(0xc6)][_0x2a512b]=this,this[_0x176365(0xc6)][_0xcdd015]=0x0,this['_inflate'][_0x17b2ad]=[],this[_0x176365(0xc6)]['on']('error',_0x357df3),this[_0x176365(0xc6)]['on'](_0x176365(0x9a),_0x10580e);}this['_inflate'][_0x186a5f]=_0x3d8b28,this[_0x176365(0xc6)][_0x176365(0xa2)](_0x240498),_0x5a927b&&this['_inflate']['write'](_0x3b01da),this[_0x176365(0xc6)][_0x176365(0x17c)](()=>{const _0x2b3214=_0x176365,_0x5c3aa0=this[_0x2b3214(0xc6)][_0xcc218b];if(_0x5c3aa0){this[_0x2b3214(0xc6)]['close'](),this[_0x2b3214(0xc6)]=null,_0x3d8b28(_0x5c3aa0);return;}const _0x1678bf=_0x41c229[_0x2b3214(0x13c)](this['_inflate'][_0x17b2ad],this['_inflate'][_0xcdd015]);this[_0x2b3214(0xc6)][_0x2b3214(0x1ca)][_0x2b3214(0xfd)]?(this[_0x2b3214(0xc6)][_0x2b3214(0x1fe)](),this[_0x2b3214(0xc6)]=null):(this['_inflate'][_0xcdd015]=0x0,this[_0x2b3214(0xc6)][_0x17b2ad]=[],_0x5a927b&&this[_0x2b3214(0x1d7)][_0x32675e+_0x2b3214(0x1df)]&&this[_0x2b3214(0xc6)][_0x2b3214(0x16f)]()),_0x3d8b28(null,_0x1678bf);});}[_0x58932b(0xa5)](_0x4a25c2,_0x15b6a4,_0x34172b){const _0x48056f=_0x58932b,_0x15ca8d=this[_0x48056f(0x18f)]?_0x48056f(0x13b):_0x48056f(0x1ac);if(!this[_0x48056f(0x9d)]){const _0x2cbbd8=_0x15ca8d+_0x48056f(0x131),_0x39d570=typeof this[_0x48056f(0x1d7)][_0x2cbbd8]!=_0x48056f(0x1a1)?_0x5255b8[_0x48056f(0xb8)]:this[_0x48056f(0x1d7)][_0x2cbbd8];this[_0x48056f(0x9d)]=_0x5255b8[_0x48056f(0xb5)]({...this[_0x48056f(0x98)][_0x48056f(0x10a)],'windowBits':_0x39d570}),this['_deflate'][_0xcdd015]=0x0,this['_deflate'][_0x17b2ad]=[],this[_0x48056f(0x9d)]['on']('data',_0x109c3e);}this[_0x48056f(0x9d)][_0x186a5f]=_0x34172b,this[_0x48056f(0x9d)][_0x48056f(0xa2)](_0x4a25c2),this['_deflate'][_0x48056f(0x17c)](_0x5255b8[_0x48056f(0x166)],()=>{const _0x2f6782=_0x48056f;if(!this['_deflate'])return;let _0x134210=_0x41c229[_0x2f6782(0x13c)](this['_deflate'][_0x17b2ad],this[_0x2f6782(0x9d)][_0xcdd015]);_0x15b6a4&&(_0x134210=new _0x1ec74c(_0x134210[_0x2f6782(0x224)],_0x134210[_0x2f6782(0xbf)],_0x134210[_0x2f6782(0x17b)]-0x4)),this[_0x2f6782(0x9d)][_0x186a5f]=null,this[_0x2f6782(0x9d)][_0xcdd015]=0x0,this[_0x2f6782(0x9d)][_0x17b2ad]=[],_0x15b6a4&&this[_0x2f6782(0x1d7)][_0x15ca8d+'_no_context_takeover']&&this['_deflate']['reset'](),_0x34172b(null,_0x134210);});}}ve=_0x487ac0;function _0x109c3e(_0x27ff5d){const _0x24e354=_0x58932b;this[_0x17b2ad][_0x24e354(0x238)](_0x27ff5d),this[_0xcdd015]+=_0x27ff5d[_0x24e354(0x17b)];}function _0x10580e(_0x3b6dde){const _0x54b9ee=_0x58932b;if(this[_0xcdd015]+=_0x3b6dde['length'],this[_0x2a512b][_0x54b9ee(0x1cb)]<0x1||this[_0xcdd015]<=this[_0x2a512b][_0x54b9ee(0x1cb)]){this[_0x17b2ad][_0x54b9ee(0x238)](_0x3b6dde);return;}this[_0xcc218b]=new RangeError(_0x54b9ee(0xf8)),this[_0xcc218b][_0x54b9ee(0x143)]=_0x54b9ee(0xa3),this[_0xcc218b][_0xa8fcc0]=0x3f1,this[_0x54b9ee(0x93)](_0x54b9ee(0x9a),_0x10580e),this[_0x54b9ee(0x16f)]();}function _0x357df3(_0x355899){if(this[_0x2a512b]['_inflate']=null,this[_0xcc218b]){this[_0x186a5f](this[_0xcc218b]);return;}_0x355899[_0xa8fcc0]=0x3ef,this[_0x186a5f](_0x355899);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4a8798(0xfb)](Object[_0x4a8798(0x20a)]({'__proto__':null,'default':Ht},Symbol[_0x4a8798(0x233)],{'value':_0x4a8798(0x208)})),Yt=ut(zt);var Qe;function ne(){const _0x338bc5=_0x4a8798;if(Qe)return re[_0x338bc5(0xa4)];Qe=0x1;const {isUtf8:_0x519fb8}=_0x201063,{hasBlob:_0x51616a}=V(),_0x3cb4dc=[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 _0x2d299e(_0x37e0bc){return _0x37e0bc>=0x3e8&&_0x37e0bc<=0x3f6&&_0x37e0bc!==0x3ec&&_0x37e0bc!==0x3ed&&_0x37e0bc!==0x3ee||_0x37e0bc>=0xbb8&&_0x37e0bc<=0x1387;}function _0x4f696f(_0xa8df0a){const _0x1ff08e=_0x338bc5,_0x390930=_0xa8df0a[_0x1ff08e(0x17b)];let _0xb512bd=0x0;for(;_0xb512bd<_0x390930;)if((_0xa8df0a[_0xb512bd]&0x80)===0x0)_0xb512bd++;else{if((_0xa8df0a[_0xb512bd]&0xe0)===0xc0){if(_0xb512bd+0x1===_0x390930||(_0xa8df0a[_0xb512bd+0x1]&0xc0)!==0x80||(_0xa8df0a[_0xb512bd]&0xfe)===0xc0)return!0x1;_0xb512bd+=0x2;}else{if((_0xa8df0a[_0xb512bd]&0xf0)===0xe0){if(_0xb512bd+0x2>=_0x390930||(_0xa8df0a[_0xb512bd+0x1]&0xc0)!==0x80||(_0xa8df0a[_0xb512bd+0x2]&0xc0)!==0x80||_0xa8df0a[_0xb512bd]===0xe0&&(_0xa8df0a[_0xb512bd+0x1]&0xe0)===0x80||_0xa8df0a[_0xb512bd]===0xed&&(_0xa8df0a[_0xb512bd+0x1]&0xe0)===0xa0)return!0x1;_0xb512bd+=0x3;}else{if((_0xa8df0a[_0xb512bd]&0xf8)===0xf0){if(_0xb512bd+0x3>=_0x390930||(_0xa8df0a[_0xb512bd+0x1]&0xc0)!==0x80||(_0xa8df0a[_0xb512bd+0x2]&0xc0)!==0x80||(_0xa8df0a[_0xb512bd+0x3]&0xc0)!==0x80||_0xa8df0a[_0xb512bd]===0xf0&&(_0xa8df0a[_0xb512bd+0x1]&0xf0)===0x80||_0xa8df0a[_0xb512bd]===0xf4&&_0xa8df0a[_0xb512bd+0x1]>0x8f||_0xa8df0a[_0xb512bd]>0xf4)return!0x1;_0xb512bd+=0x4;}else return!0x1;}}}return!0x0;}function _0x559051(_0x5185f9){const _0xd6ddf1=_0x338bc5;return _0x51616a&&typeof _0x5185f9=='object'&&typeof _0x5185f9['arrayBuffer']=='function'&&typeof _0x5185f9[_0xd6ddf1(0x109)]=='string'&&typeof _0x5185f9[_0xd6ddf1(0x14d)]==_0xd6ddf1(0x1b3)&&(_0x5185f9[Symbol[_0xd6ddf1(0x233)]]===_0xd6ddf1(0x112)||_0x5185f9[Symbol[_0xd6ddf1(0x233)]]===_0xd6ddf1(0x1de));}if(re['exports']={'isBlob':_0x559051,'isValidStatusCode':_0x2d299e,'isValidUTF8':_0x4f696f,'tokenChars':_0x3cb4dc},_0x519fb8)re[_0x338bc5(0xa4)][_0x338bc5(0x113)]=function(_0x38c1f1){return _0x38c1f1['length']<0x18?_0x4f696f(_0x38c1f1):_0x519fb8(_0x38c1f1);};else{if(!process[_0x338bc5(0xd0)][_0x338bc5(0x17a)])try{const _0x41e7de=Yt;re[_0x338bc5(0xa4)]['isValidUTF8']=function(_0x4d4f62){const _0x1ecc81=_0x338bc5;return _0x4d4f62[_0x1ecc81(0x17b)]<0x20?_0x4f696f(_0x4d4f62):_0x41e7de(_0x4d4f62);};}catch{}}return re[_0x338bc5(0xa4)];}var Se,Je;function dt(){const _0x319094=_0x4a8798;if(Je)return Se;Je=0x1;const {Writable:_0x4a1cfe}=_0x48895b,_0x34c2dd=he(),{BINARY_TYPES:_0x1483b2,EMPTY_BUFFER:_0x27fb7a,kStatusCode:_0x4e53d6,kWebSocket:_0x3dfd9b}=V(),{concat:_0x4de0bb,toArrayBuffer:_0x150f83,unmask:_0x4d2931}=ce(),{isValidStatusCode:_0x2ed073,isValidUTF8:_0x47fec8}=ne(),_0x165f41=Buffer[Symbol[_0x319094(0x15f)]],_0x54a155=0x0,_0x2d1c10=0x1,_0x432e2a=0x2,_0x1ab8db=0x3,_0x26db80=0x4,_0x4383db=0x5,_0x53b3ec=0x6;class _0x49aa81 extends _0x4a1cfe{constructor(_0x454ab0={}){const _0x2bbb2b=_0x319094;super(),this[_0x2bbb2b(0x1a2)]=_0x454ab0[_0x2bbb2b(0x123)]!==void 0x0?_0x454ab0[_0x2bbb2b(0x123)]:!0x0,this[_0x2bbb2b(0xfc)]=_0x454ab0[_0x2bbb2b(0x212)]||_0x1483b2[0x0],this['_extensions']=_0x454ab0['extensions']||{},this['_isServer']=!!_0x454ab0[_0x2bbb2b(0x12e)],this[_0x2bbb2b(0x1cb)]=_0x454ab0[_0x2bbb2b(0x1d8)]|0x0,this[_0x2bbb2b(0x1f0)]=!!_0x454ab0[_0x2bbb2b(0x134)],this[_0x3dfd9b]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2bbb2b(0x1c0)]=[],this[_0x2bbb2b(0xdd)]=!0x1,this[_0x2bbb2b(0x1ae)]=0x0,this[_0x2bbb2b(0xf1)]=void 0x0,this[_0x2bbb2b(0x204)]=0x0,this[_0x2bbb2b(0x1e6)]=!0x1,this[_0x2bbb2b(0x13a)]=!0x1,this[_0x2bbb2b(0xec)]=0x0,this['_totalPayloadLength']=0x0,this[_0x2bbb2b(0x23b)]=0x0,this[_0x2bbb2b(0x11e)]=[],this['_errored']=!0x1,this[_0x2bbb2b(0x120)]=!0x1,this[_0x2bbb2b(0xcf)]=_0x54a155;}[_0x319094(0x1c5)](_0x21d609,_0x3516d5,_0x10f4ef){const _0x319481=_0x319094;if(this['_opcode']===0x8&&this[_0x319481(0xcf)]==_0x54a155)return _0x10f4ef();this['_bufferedBytes']+=_0x21d609[_0x319481(0x17b)],this[_0x319481(0x1c0)][_0x319481(0x238)](_0x21d609),this[_0x319481(0xc5)](_0x10f4ef);}[_0x319094(0xa0)](_0x41f5e1){const _0x216bda=_0x319094;if(this['_bufferedBytes']-=_0x41f5e1,_0x41f5e1===this[_0x216bda(0x1c0)][0x0]['length'])return this[_0x216bda(0x1c0)]['shift']();if(_0x41f5e1<this[_0x216bda(0x1c0)][0x0][_0x216bda(0x17b)]){const _0x237f20=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x165f41(_0x237f20[_0x216bda(0x224)],_0x237f20[_0x216bda(0xbf)]+_0x41f5e1,_0x237f20[_0x216bda(0x17b)]-_0x41f5e1),new _0x165f41(_0x237f20[_0x216bda(0x224)],_0x237f20['byteOffset'],_0x41f5e1);}const _0xaa43b4=Buffer[_0x216bda(0x141)](_0x41f5e1);do{const _0x58d6d9=this[_0x216bda(0x1c0)][0x0],_0x1ed729=_0xaa43b4[_0x216bda(0x17b)]-_0x41f5e1;_0x41f5e1>=_0x58d6d9[_0x216bda(0x17b)]?_0xaa43b4[_0x216bda(0xc2)](this[_0x216bda(0x1c0)]['shift'](),_0x1ed729):(_0xaa43b4[_0x216bda(0xc2)](new Uint8Array(_0x58d6d9[_0x216bda(0x224)],_0x58d6d9[_0x216bda(0xbf)],_0x41f5e1),_0x1ed729),this[_0x216bda(0x1c0)][0x0]=new _0x165f41(_0x58d6d9[_0x216bda(0x224)],_0x58d6d9[_0x216bda(0xbf)]+_0x41f5e1,_0x58d6d9['length']-_0x41f5e1)),_0x41f5e1-=_0x58d6d9[_0x216bda(0x17b)];}while(_0x41f5e1>0x0);return _0xaa43b4;}[_0x319094(0xc5)](_0x59d17d){const _0x57e01e=_0x319094;this[_0x57e01e(0x120)]=!0x0;do switch(this[_0x57e01e(0xcf)]){case _0x54a155:this[_0x57e01e(0x1f9)](_0x59d17d);break;case _0x2d1c10:this['getPayloadLength16'](_0x59d17d);break;case _0x432e2a:this[_0x57e01e(0x21a)](_0x59d17d);break;case _0x1ab8db:this['getMask']();break;case _0x26db80:this['getData'](_0x59d17d);break;case _0x4383db:case _0x53b3ec:this[_0x57e01e(0x120)]=!0x1;return;}while(this[_0x57e01e(0x120)]);this[_0x57e01e(0x13f)]||_0x59d17d();}[_0x319094(0x1f9)](_0x3468d9){const _0x1ba4a9=_0x319094;if(this['_bufferedBytes']<0x2){this[_0x1ba4a9(0x120)]=!0x1;return;}const _0x8a0727=this[_0x1ba4a9(0xa0)](0x2);if((_0x8a0727[0x0]&0x30)!==0x0){const _0x17b9be=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x186),!0x0,0x3ea,_0x1ba4a9(0x198));_0x3468d9(_0x17b9be);return;}const _0x2a3f95=(_0x8a0727[0x0]&0x40)===0x40;if(_0x2a3f95&&!this[_0x1ba4a9(0x14b)][_0x34c2dd[_0x1ba4a9(0x1b4)]]){const _0x2ca7db=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x1a5),!0x0,0x3ea,_0x1ba4a9(0x1bc));_0x3468d9(_0x2ca7db);return;}if(this['_fin']=(_0x8a0727[0x0]&0x80)===0x80,this[_0x1ba4a9(0xec)]=_0x8a0727[0x0]&0xf,this[_0x1ba4a9(0x1ae)]=_0x8a0727[0x1]&0x7f,this[_0x1ba4a9(0xec)]===0x0){if(_0x2a3f95){const _0x2a1a97=this[_0x1ba4a9(0x1ab)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1ba4a9(0x1bc));_0x3468d9(_0x2a1a97);return;}if(!this['_fragmented']){const _0x4eb2f9=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x1c6),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3468d9(_0x4eb2f9);return;}this[_0x1ba4a9(0xec)]=this[_0x1ba4a9(0x204)];}else{if(this['_opcode']===0x1||this[_0x1ba4a9(0xec)]===0x2){if(this['_fragmented']){const _0x2f2170=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0xb9)+this['_opcode'],!0x0,0x3ea,_0x1ba4a9(0xb1));_0x3468d9(_0x2f2170);return;}this[_0x1ba4a9(0xdd)]=_0x2a3f95;}else{if(this[_0x1ba4a9(0xec)]>0x7&&this[_0x1ba4a9(0xec)]<0xb){if(!this['_fin']){const _0x8384b3=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x19f),!0x0,0x3ea,_0x1ba4a9(0x23e));_0x3468d9(_0x8384b3);return;}if(_0x2a3f95){const _0x356135=this['createError'](RangeError,_0x1ba4a9(0x1a5),!0x0,0x3ea,_0x1ba4a9(0x1bc));_0x3468d9(_0x356135);return;}if(this[_0x1ba4a9(0x1ae)]>0x7d||this[_0x1ba4a9(0xec)]===0x8&&this['_payloadLength']===0x1){const _0x125431=this[_0x1ba4a9(0x1ab)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x1ba4a9(0x1ae)],!0x0,0x3ea,_0x1ba4a9(0x165));_0x3468d9(_0x125431);return;}}else{const _0xd4126b=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0xb9)+this[_0x1ba4a9(0xec)],!0x0,0x3ea,_0x1ba4a9(0xb1));_0x3468d9(_0xd4126b);return;}}}if(!this[_0x1ba4a9(0x13a)]&&!this[_0x1ba4a9(0x204)]&&(this[_0x1ba4a9(0x204)]=this[_0x1ba4a9(0xec)]),this[_0x1ba4a9(0x1e6)]=(_0x8a0727[0x1]&0x80)===0x80,this[_0x1ba4a9(0x18f)]){if(!this[_0x1ba4a9(0x1e6)]){const _0x4d52e3=this[_0x1ba4a9(0x1ab)](RangeError,_0x1ba4a9(0x122),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3468d9(_0x4d52e3);return;}}else{if(this[_0x1ba4a9(0x1e6)]){const _0x261199=this['createError'](RangeError,_0x1ba4a9(0x207),!0x0,0x3ea,_0x1ba4a9(0xd7));_0x3468d9(_0x261199);return;}}this[_0x1ba4a9(0x1ae)]===0x7e?this[_0x1ba4a9(0xcf)]=_0x2d1c10:this[_0x1ba4a9(0x1ae)]===0x7f?this[_0x1ba4a9(0xcf)]=_0x432e2a:this[_0x1ba4a9(0x22d)](_0x3468d9);}['getPayloadLength16'](_0x28343a){const _0x5ae180=_0x319094;if(this[_0x5ae180(0xb7)]<0x2){this['_loop']=!0x1;return;}this[_0x5ae180(0x1ae)]=this[_0x5ae180(0xa0)](0x2)['readUInt16BE'](0x0),this[_0x5ae180(0x22d)](_0x28343a);}[_0x319094(0x21a)](_0x4f3f98){const _0x59a963=_0x319094;if(this[_0x59a963(0xb7)]<0x8){this[_0x59a963(0x120)]=!0x1;return;}const _0xa51e2a=this['consume'](0x8),_0x237451=_0xa51e2a[_0x59a963(0x240)](0x0);if(_0x237451>Math['pow'](0x2,0x15)-0x1){const _0xa03eaf=this[_0x59a963(0x1ab)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x59a963(0xe7));_0x4f3f98(_0xa03eaf);return;}this['_payloadLength']=_0x237451*Math[_0x59a963(0x18d)](0x2,0x20)+_0xa51e2a['readUInt32BE'](0x4),this['haveLength'](_0x4f3f98);}[_0x319094(0x22d)](_0xf6f1cd){const _0x35eed8=_0x319094;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x35eed8(0x20b)]+=this[_0x35eed8(0x1ae)],this[_0x35eed8(0x20b)]>this[_0x35eed8(0x1cb)]&&this['_maxPayload']>0x0)){const _0x4d3442=this[_0x35eed8(0x1ab)](RangeError,_0x35eed8(0xf8),!0x1,0x3f1,_0x35eed8(0xa3));_0xf6f1cd(_0x4d3442);return;}this[_0x35eed8(0x1e6)]?this[_0x35eed8(0xcf)]=_0x1ab8db:this[_0x35eed8(0xcf)]=_0x26db80;}[_0x319094(0x171)](){const _0xea99ba=_0x319094;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0xea99ba(0xa0)](0x4),this[_0xea99ba(0xcf)]=_0x26db80;}[_0x319094(0x1aa)](_0x44b4e3){const _0x355c6a=_0x319094;let _0x50406d=_0x27fb7a;if(this[_0x355c6a(0x1ae)]){if(this[_0x355c6a(0xb7)]<this['_payloadLength']){this[_0x355c6a(0x120)]=!0x1;return;}_0x50406d=this[_0x355c6a(0xa0)](this['_payloadLength']),this[_0x355c6a(0x1e6)]&&(this[_0x355c6a(0xf1)][0x0]|this[_0x355c6a(0xf1)][0x1]|this[_0x355c6a(0xf1)][0x2]|this[_0x355c6a(0xf1)][0x3])!==0x0&&_0x4d2931(_0x50406d,this[_0x355c6a(0xf1)]);}if(this['_opcode']>0x7){this[_0x355c6a(0x20e)](_0x50406d,_0x44b4e3);return;}if(this[_0x355c6a(0xdd)]){this[_0x355c6a(0xcf)]=_0x4383db,this[_0x355c6a(0x169)](_0x50406d,_0x44b4e3);return;}_0x50406d['length']&&(this[_0x355c6a(0x23b)]=this[_0x355c6a(0x20b)],this[_0x355c6a(0x11e)][_0x355c6a(0x238)](_0x50406d)),this[_0x355c6a(0xef)](_0x44b4e3);}[_0x319094(0x169)](_0x202c85,_0x5e8b41){const _0x48cc97=_0x319094;this[_0x48cc97(0x14b)][_0x34c2dd[_0x48cc97(0x1b4)]][_0x48cc97(0x169)](_0x202c85,this[_0x48cc97(0x13a)],(_0x68151c,_0x208ff0)=>{const _0x1cb2cd=_0x48cc97;if(_0x68151c)return _0x5e8b41(_0x68151c);if(_0x208ff0[_0x1cb2cd(0x17b)]){if(this[_0x1cb2cd(0x23b)]+=_0x208ff0['length'],this[_0x1cb2cd(0x23b)]>this['_maxPayload']&&this[_0x1cb2cd(0x1cb)]>0x0){const _0x15c8b6=this[_0x1cb2cd(0x1ab)](RangeError,_0x1cb2cd(0xf8),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5e8b41(_0x15c8b6);return;}this['_fragments']['push'](_0x208ff0);}this[_0x1cb2cd(0xef)](_0x5e8b41),this[_0x1cb2cd(0xcf)]===_0x54a155&&this[_0x1cb2cd(0xc5)](_0x5e8b41);});}[_0x319094(0xef)](_0x566cbd){const _0x4a3d73=_0x319094;if(!this[_0x4a3d73(0x13a)]){this[_0x4a3d73(0xcf)]=_0x54a155;return;}const _0x6c9772=this['_messageLength'],_0x38bfb9=this['_fragments'];if(this[_0x4a3d73(0x20b)]=0x0,this[_0x4a3d73(0x23b)]=0x0,this[_0x4a3d73(0x204)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x4504ce;this[_0x4a3d73(0xfc)]===_0x4a3d73(0xb3)?_0x4504ce=_0x4de0bb(_0x38bfb9,_0x6c9772):this[_0x4a3d73(0xfc)]===_0x4a3d73(0x1cd)?_0x4504ce=_0x150f83(_0x4de0bb(_0x38bfb9,_0x6c9772)):this[_0x4a3d73(0xfc)]==='blob'?_0x4504ce=new Blob(_0x38bfb9):_0x4504ce=_0x38bfb9,this[_0x4a3d73(0x1a2)]?(this[_0x4a3d73(0x127)](_0x4a3d73(0x192),_0x4504ce,!0x0),this[_0x4a3d73(0xcf)]=_0x54a155):(this[_0x4a3d73(0xcf)]=_0x53b3ec,setImmediate(()=>{const _0x51114c=_0x4a3d73;this[_0x51114c(0x127)](_0x51114c(0x192),_0x4504ce,!0x0),this['_state']=_0x54a155,this['startLoop'](_0x566cbd);}));}else{const _0x37e411=_0x4de0bb(_0x38bfb9,_0x6c9772);if(!this[_0x4a3d73(0x1f0)]&&!_0x47fec8(_0x37e411)){const _0x369b45=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4a3d73(0x20d));_0x566cbd(_0x369b45);return;}this['_state']===_0x4383db||this[_0x4a3d73(0x1a2)]?(this['emit'](_0x4a3d73(0x192),_0x37e411,!0x1),this[_0x4a3d73(0xcf)]=_0x54a155):(this[_0x4a3d73(0xcf)]=_0x53b3ec,setImmediate(()=>{const _0x510151=_0x4a3d73;this[_0x510151(0x127)](_0x510151(0x192),_0x37e411,!0x1),this['_state']=_0x54a155,this['startLoop'](_0x566cbd);}));}}[_0x319094(0x20e)](_0x25b4bf,_0x2a1040){const _0x180a75=_0x319094;if(this['_opcode']===0x8){if(_0x25b4bf['length']===0x0)this[_0x180a75(0x120)]=!0x1,this[_0x180a75(0x127)](_0x180a75(0x242),0x3ed,_0x27fb7a),this[_0x180a75(0x20c)]();else{const _0x1ed0c4=_0x25b4bf[_0x180a75(0xb2)](0x0);if(!_0x2ed073(_0x1ed0c4)){const _0x3f1f17=this[_0x180a75(0x1ab)](RangeError,'invalid\x20status\x20code\x20'+_0x1ed0c4,!0x0,0x3ea,_0x180a75(0xbb));_0x2a1040(_0x3f1f17);return;}const _0x3a2aa4=new _0x165f41(_0x25b4bf[_0x180a75(0x224)],_0x25b4bf[_0x180a75(0xbf)]+0x2,_0x25b4bf['length']-0x2);if(!this[_0x180a75(0x1f0)]&&!_0x47fec8(_0x3a2aa4)){const _0x1c7ce5=this[_0x180a75(0x1ab)](Error,_0x180a75(0x11b),!0x0,0x3ef,_0x180a75(0x20d));_0x2a1040(_0x1c7ce5);return;}this['_loop']=!0x1,this[_0x180a75(0x127)](_0x180a75(0x242),_0x1ed0c4,_0x3a2aa4),this[_0x180a75(0x20c)]();}this['_state']=_0x54a155;return;}this[_0x180a75(0x1a2)]?(this[_0x180a75(0x127)](this['_opcode']===0x9?_0x180a75(0x1a4):_0x180a75(0x118),_0x25b4bf),this['_state']=_0x54a155):(this[_0x180a75(0xcf)]=_0x53b3ec,setImmediate(()=>{const _0x2d95ea=_0x180a75;this[_0x2d95ea(0x127)](this[_0x2d95ea(0xec)]===0x9?_0x2d95ea(0x1a4):_0x2d95ea(0x118),_0x25b4bf),this['_state']=_0x54a155,this[_0x2d95ea(0xc5)](_0x2a1040);}));}[_0x319094(0x1ab)](_0xc36b72,_0x6ae52e,_0x2ca35c,_0x2d23ac,_0x1040c8){const _0x460261=_0x319094;this[_0x460261(0x120)]=!0x1,this['_errored']=!0x0;const _0x4e06ee=new _0xc36b72(_0x2ca35c?_0x460261(0x12b)+_0x6ae52e:_0x6ae52e);return Error[_0x460261(0x1ff)](_0x4e06ee,this[_0x460261(0x1ab)]),_0x4e06ee[_0x460261(0x143)]=_0x1040c8,_0x4e06ee[_0x4e53d6]=_0x2d23ac,_0x4e06ee;}}return Se=_0x49aa81,Se;}var Ee,et;function _t(){const _0x423c6b=_0x4a8798;if(et)return Ee;et=0x1;const {Duplex:_0x3341ac}=_0x48895b,{randomFillSync:_0xb04486}=_0x172c9a,_0x46e0be=he(),{EMPTY_BUFFER:_0x58fb1b,kWebSocket:_0x14d19c,NOOP:_0x38cb03}=V(),{isBlob:_0x5657cf,isValidStatusCode:_0xf1c2b1}=ne(),{mask:_0xd969aa,toBuffer:_0x40a916}=ce(),_0x4bd989=Symbol(_0x423c6b(0x22c)),_0x179208=Buffer[_0x423c6b(0x146)](0x4),_0x5d4ccc=0x8*0x400;let _0x5901b0,_0x35d1b8=_0x5d4ccc;const _0x1990c0=0x0,_0x86bd6e=0x1,_0x4291ca=0x2;class _0x3023e7{constructor(_0x4431d3,_0x196908,_0x2217e1){const _0x166f5f=_0x423c6b;this[_0x166f5f(0x14b)]=_0x196908||{},_0x2217e1&&(this[_0x166f5f(0x91)]=_0x2217e1,this['_maskBuffer']=Buffer[_0x166f5f(0x146)](0x4)),this[_0x166f5f(0x22e)]=_0x4431d3,this[_0x166f5f(0x185)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x166f5f(0x20f)]=[],this[_0x166f5f(0xcf)]=_0x1990c0,this[_0x166f5f(0x129)]=_0x38cb03,this[_0x14d19c]=void 0x0;}static['frame'](_0x5276d4,_0x71a70f){const _0x518440=_0x423c6b;let _0x1d5f18,_0x27bfa=!0x1,_0x5bf2f2=0x2,_0x5710ef=!0x1;_0x71a70f[_0x518440(0x1be)]&&(_0x1d5f18=_0x71a70f[_0x518440(0xd4)]||_0x179208,_0x71a70f['generateMask']?_0x71a70f[_0x518440(0xcc)](_0x1d5f18):(_0x35d1b8===_0x5d4ccc&&(_0x5901b0===void 0x0&&(_0x5901b0=Buffer[_0x518440(0x146)](_0x5d4ccc)),_0xb04486(_0x5901b0,0x0,_0x5d4ccc),_0x35d1b8=0x0),_0x1d5f18[0x0]=_0x5901b0[_0x35d1b8++],_0x1d5f18[0x1]=_0x5901b0[_0x35d1b8++],_0x1d5f18[0x2]=_0x5901b0[_0x35d1b8++],_0x1d5f18[0x3]=_0x5901b0[_0x35d1b8++]),_0x5710ef=(_0x1d5f18[0x0]|_0x1d5f18[0x1]|_0x1d5f18[0x2]|_0x1d5f18[0x3])===0x0,_0x5bf2f2=0x6);let _0x17538d;typeof _0x5276d4==_0x518440(0x1e2)?(!_0x71a70f[_0x518440(0x1be)]||_0x5710ef)&&_0x71a70f[_0x4bd989]!==void 0x0?_0x17538d=_0x71a70f[_0x4bd989]:(_0x5276d4=Buffer[_0x518440(0x16c)](_0x5276d4),_0x17538d=_0x5276d4[_0x518440(0x17b)]):(_0x17538d=_0x5276d4[_0x518440(0x17b)],_0x27bfa=_0x71a70f['mask']&&_0x71a70f[_0x518440(0x222)]&&!_0x5710ef);let _0x57af80=_0x17538d;_0x17538d>=0x10000?(_0x5bf2f2+=0x8,_0x57af80=0x7f):_0x17538d>0x7d&&(_0x5bf2f2+=0x2,_0x57af80=0x7e);const _0x1b35dd=Buffer[_0x518440(0x141)](_0x27bfa?_0x17538d+_0x5bf2f2:_0x5bf2f2);return _0x1b35dd[0x0]=_0x71a70f[_0x518440(0x1d2)]?_0x71a70f[_0x518440(0x94)]|0x80:_0x71a70f[_0x518440(0x94)],_0x71a70f[_0x518440(0x10d)]&&(_0x1b35dd[0x0]|=0x40),_0x1b35dd[0x1]=_0x57af80,_0x57af80===0x7e?_0x1b35dd[_0x518440(0x11c)](_0x17538d,0x2):_0x57af80===0x7f&&(_0x1b35dd[0x2]=_0x1b35dd[0x3]=0x0,_0x1b35dd[_0x518440(0xf2)](_0x17538d,0x4,0x6)),_0x71a70f[_0x518440(0x1be)]?(_0x1b35dd[0x1]|=0x80,_0x1b35dd[_0x5bf2f2-0x4]=_0x1d5f18[0x0],_0x1b35dd[_0x5bf2f2-0x3]=_0x1d5f18[0x1],_0x1b35dd[_0x5bf2f2-0x2]=_0x1d5f18[0x2],_0x1b35dd[_0x5bf2f2-0x1]=_0x1d5f18[0x3],_0x5710ef?[_0x1b35dd,_0x5276d4]:_0x27bfa?(_0xd969aa(_0x5276d4,_0x1d5f18,_0x1b35dd,_0x5bf2f2,_0x17538d),[_0x1b35dd]):(_0xd969aa(_0x5276d4,_0x1d5f18,_0x5276d4,0x0,_0x17538d),[_0x1b35dd,_0x5276d4])):[_0x1b35dd,_0x5276d4];}['close'](_0x38cb78,_0x48b832,_0x3afad9,_0x217bd8){const _0x52bfc7=_0x423c6b;let _0x2e6bcc;if(_0x38cb78===void 0x0)_0x2e6bcc=_0x58fb1b;else{if(typeof _0x38cb78!='number'||!_0xf1c2b1(_0x38cb78))throw new TypeError(_0x52bfc7(0x150));if(_0x48b832===void 0x0||!_0x48b832[_0x52bfc7(0x17b)])_0x2e6bcc=Buffer['allocUnsafe'](0x2),_0x2e6bcc['writeUInt16BE'](_0x38cb78,0x0);else{const _0x2b7994=Buffer[_0x52bfc7(0xad)](_0x48b832);if(_0x2b7994>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2e6bcc=Buffer[_0x52bfc7(0x141)](0x2+_0x2b7994),_0x2e6bcc[_0x52bfc7(0x11c)](_0x38cb78,0x0),typeof _0x48b832==_0x52bfc7(0x1e2)?_0x2e6bcc[_0x52bfc7(0xa2)](_0x48b832,0x2):_0x2e6bcc[_0x52bfc7(0xc2)](_0x48b832,0x2);}}const _0x47b416={[_0x4bd989]:_0x2e6bcc[_0x52bfc7(0x17b)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3afad9,'maskBuffer':this[_0x52bfc7(0x174)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x52bfc7(0xcf)]!==_0x1990c0?this['enqueue']([this[_0x52bfc7(0xdf)],_0x2e6bcc,!0x1,_0x47b416,_0x217bd8]):this[_0x52bfc7(0x205)](_0x3023e7[_0x52bfc7(0x215)](_0x2e6bcc,_0x47b416),_0x217bd8);}[_0x423c6b(0x1a4)](_0x5756c1,_0x3c8a97,_0x2b295e){const _0x43abf=_0x423c6b;let _0x403547,_0x4a8cd6;if(typeof _0x5756c1==_0x43abf(0x1e2)?(_0x403547=Buffer[_0x43abf(0xad)](_0x5756c1),_0x4a8cd6=!0x1):_0x5657cf(_0x5756c1)?(_0x403547=_0x5756c1[_0x43abf(0x125)],_0x4a8cd6=!0x1):(_0x5756c1=_0x40a916(_0x5756c1),_0x403547=_0x5756c1['length'],_0x4a8cd6=_0x40a916['readOnly']),_0x403547>0x7d)throw new RangeError(_0x43abf(0x161));const _0x4a4f7d={[_0x4bd989]:_0x403547,'fin':!0x0,'generateMask':this[_0x43abf(0x91)],'mask':_0x3c8a97,'maskBuffer':this[_0x43abf(0x174)],'opcode':0x9,'readOnly':_0x4a8cd6,'rsv1':!0x1};_0x5657cf(_0x5756c1)?this[_0x43abf(0xcf)]!==_0x1990c0?this[_0x43abf(0x23c)]([this[_0x43abf(0x216)],_0x5756c1,!0x1,_0x4a4f7d,_0x2b295e]):this[_0x43abf(0x216)](_0x5756c1,!0x1,_0x4a4f7d,_0x2b295e):this[_0x43abf(0xcf)]!==_0x1990c0?this[_0x43abf(0x23c)]([this[_0x43abf(0xdf)],_0x5756c1,!0x1,_0x4a4f7d,_0x2b295e]):this[_0x43abf(0x205)](_0x3023e7[_0x43abf(0x215)](_0x5756c1,_0x4a4f7d),_0x2b295e);}['pong'](_0x5a5006,_0x241082,_0x2150ef){const _0x116748=_0x423c6b;let _0x1044f1,_0x1da6aa;if(typeof _0x5a5006=='string'?(_0x1044f1=Buffer['byteLength'](_0x5a5006),_0x1da6aa=!0x1):_0x5657cf(_0x5a5006)?(_0x1044f1=_0x5a5006[_0x116748(0x125)],_0x1da6aa=!0x1):(_0x5a5006=_0x40a916(_0x5a5006),_0x1044f1=_0x5a5006[_0x116748(0x17b)],_0x1da6aa=_0x40a916[_0x116748(0x222)]),_0x1044f1>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4d82c7={[_0x4bd989]:_0x1044f1,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x241082,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1da6aa,'rsv1':!0x1};_0x5657cf(_0x5a5006)?this[_0x116748(0xcf)]!==_0x1990c0?this[_0x116748(0x23c)]([this[_0x116748(0x216)],_0x5a5006,!0x1,_0x4d82c7,_0x2150ef]):this[_0x116748(0x216)](_0x5a5006,!0x1,_0x4d82c7,_0x2150ef):this[_0x116748(0xcf)]!==_0x1990c0?this['enqueue']([this[_0x116748(0xdf)],_0x5a5006,!0x1,_0x4d82c7,_0x2150ef]):this['sendFrame'](_0x3023e7[_0x116748(0x215)](_0x5a5006,_0x4d82c7),_0x2150ef);}[_0x423c6b(0x21b)](_0x3764f3,_0x5ae9ae,_0x580803){const _0xfc5c2f=_0x423c6b,_0x3a8ba5=this['_extensions'][_0x46e0be['extensionName']];let _0x200b36=_0x5ae9ae['binary']?0x2:0x1,_0x10a38e=_0x5ae9ae[_0xfc5c2f(0x1c9)],_0x475274,_0x1250fe;typeof _0x3764f3=='string'?(_0x475274=Buffer[_0xfc5c2f(0xad)](_0x3764f3),_0x1250fe=!0x1):_0x5657cf(_0x3764f3)?(_0x475274=_0x3764f3[_0xfc5c2f(0x125)],_0x1250fe=!0x1):(_0x3764f3=_0x40a916(_0x3764f3),_0x475274=_0x3764f3['length'],_0x1250fe=_0x40a916['readOnly']),this['_firstFragment']?(this[_0xfc5c2f(0x185)]=!0x1,_0x10a38e&&_0x3a8ba5&&_0x3a8ba5[_0xfc5c2f(0x1d7)][_0x3a8ba5[_0xfc5c2f(0x18f)]?_0xfc5c2f(0xc1):_0xfc5c2f(0x221)]&&(_0x10a38e=_0x475274>=_0x3a8ba5[_0xfc5c2f(0xc4)]),this['_compress']=_0x10a38e):(_0x10a38e=!0x1,_0x200b36=0x0),_0x5ae9ae[_0xfc5c2f(0x1d2)]&&(this[_0xfc5c2f(0x185)]=!0x0);const _0x56357f={[_0x4bd989]:_0x475274,'fin':_0x5ae9ae[_0xfc5c2f(0x1d2)],'generateMask':this[_0xfc5c2f(0x91)],'mask':_0x5ae9ae['mask'],'maskBuffer':this[_0xfc5c2f(0x174)],'opcode':_0x200b36,'readOnly':_0x1250fe,'rsv1':_0x10a38e};_0x5657cf(_0x3764f3)?this[_0xfc5c2f(0xcf)]!==_0x1990c0?this[_0xfc5c2f(0x23c)]([this[_0xfc5c2f(0x216)],_0x3764f3,this[_0xfc5c2f(0xa5)],_0x56357f,_0x580803]):this[_0xfc5c2f(0x216)](_0x3764f3,this[_0xfc5c2f(0xa5)],_0x56357f,_0x580803):this['_state']!==_0x1990c0?this[_0xfc5c2f(0x23c)]([this[_0xfc5c2f(0xdf)],_0x3764f3,this[_0xfc5c2f(0xa5)],_0x56357f,_0x580803]):this['dispatch'](_0x3764f3,this['_compress'],_0x56357f,_0x580803);}[_0x423c6b(0x216)](_0x372901,_0x26823b,_0x7bbc17,_0x14b5ba){const _0x441262=_0x423c6b;this[_0x441262(0xb7)]+=_0x7bbc17[_0x4bd989],this[_0x441262(0xcf)]=_0x4291ca,_0x372901[_0x441262(0x128)]()['then'](_0x5dc1be=>{const _0x232ae2=_0x441262;if(this[_0x232ae2(0x22e)][_0x232ae2(0x18e)]){const _0x3cb493=new Error(_0x232ae2(0x110));process[_0x232ae2(0xd3)](_0x5bc2d7,this,_0x3cb493,_0x14b5ba);return;}this[_0x232ae2(0xb7)]-=_0x7bbc17[_0x4bd989];const _0x5036d6=_0x40a916(_0x5dc1be);_0x26823b?this[_0x232ae2(0xdf)](_0x5036d6,_0x26823b,_0x7bbc17,_0x14b5ba):(this[_0x232ae2(0xcf)]=_0x1990c0,this[_0x232ae2(0x205)](_0x3023e7[_0x232ae2(0x215)](_0x5036d6,_0x7bbc17),_0x14b5ba),this['dequeue']());})[_0x441262(0x1d3)](_0x31b608=>{const _0x54d87a=_0x441262;process[_0x54d87a(0xd3)](_0xcd082c,this,_0x31b608,_0x14b5ba);});}[_0x423c6b(0xdf)](_0x463c98,_0x1ee26a,_0x20f800,_0x100cb1){const _0x1f56f1=_0x423c6b;if(!_0x1ee26a){this[_0x1f56f1(0x205)](_0x3023e7[_0x1f56f1(0x215)](_0x463c98,_0x20f800),_0x100cb1);return;}const _0x15bb35=this[_0x1f56f1(0x14b)][_0x46e0be[_0x1f56f1(0x1b4)]];this[_0x1f56f1(0xb7)]+=_0x20f800[_0x4bd989],this[_0x1f56f1(0xcf)]=_0x86bd6e,_0x15bb35[_0x1f56f1(0x1c9)](_0x463c98,_0x20f800[_0x1f56f1(0x1d2)],(_0x5c43c6,_0x2247f4)=>{const _0x357324=_0x1f56f1;if(this[_0x357324(0x22e)][_0x357324(0x18e)]){const _0x5d03ef=new Error(_0x357324(0x22a));_0x5bc2d7(this,_0x5d03ef,_0x100cb1);return;}this[_0x357324(0xb7)]-=_0x20f800[_0x4bd989],this['_state']=_0x1990c0,_0x20f800['readOnly']=!0x1,this[_0x357324(0x205)](_0x3023e7['frame'](_0x2247f4,_0x20f800),_0x100cb1),this[_0x357324(0x1ba)]();});}[_0x423c6b(0x1ba)](){const _0x5e798d=_0x423c6b;for(;this[_0x5e798d(0xcf)]===_0x1990c0&&this[_0x5e798d(0x20f)]['length'];){const _0x5a0ad6=this['_queue'][_0x5e798d(0x1a7)]();this[_0x5e798d(0xb7)]-=_0x5a0ad6[0x3][_0x4bd989],Reflect[_0x5e798d(0x148)](_0x5a0ad6[0x0],this,_0x5a0ad6[_0x5e798d(0x17d)](0x1));}}[_0x423c6b(0x23c)](_0x12211f){const _0xc2a8db=_0x423c6b;this[_0xc2a8db(0xb7)]+=_0x12211f[0x3][_0x4bd989],this[_0xc2a8db(0x20f)][_0xc2a8db(0x238)](_0x12211f);}['sendFrame'](_0x4ad2cf,_0x1c67af){const _0x15736b=_0x423c6b;_0x4ad2cf[_0x15736b(0x17b)]===0x2?(this[_0x15736b(0x22e)][_0x15736b(0xf0)](),this[_0x15736b(0x22e)][_0x15736b(0xa2)](_0x4ad2cf[0x0]),this[_0x15736b(0x22e)]['write'](_0x4ad2cf[0x1],_0x1c67af),this['_socket']['uncork']()):this['_socket']['write'](_0x4ad2cf[0x0],_0x1c67af);}}Ee=_0x3023e7;function _0x5bc2d7(_0x44103c,_0x39bdb9,_0x3c1d00){const _0x597ad8=_0x423c6b;typeof _0x3c1d00==_0x597ad8(0x1b3)&&_0x3c1d00(_0x39bdb9);for(let _0xf7e2dc=0x0;_0xf7e2dc<_0x44103c[_0x597ad8(0x20f)][_0x597ad8(0x17b)];_0xf7e2dc++){const _0x14e18f=_0x44103c['_queue'][_0xf7e2dc],_0x3bd571=_0x14e18f[_0x14e18f[_0x597ad8(0x17b)]-0x1];typeof _0x3bd571==_0x597ad8(0x1b3)&&_0x3bd571(_0x39bdb9);}}function _0xcd082c(_0xbdb0e0,_0x255af2,_0x3d42dd){_0x5bc2d7(_0xbdb0e0,_0x255af2,_0x3d42dd),_0xbdb0e0['onerror'](_0x255af2);}return Ee;}var xe,tt;function Kt(){const _0x2950fc=_0x4a8798;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x54db25,kListener:_0x2801f0}=V(),_0x16be4b=Symbol('kCode'),_0x12bd03=Symbol(_0x2950fc(0xc8)),_0x223619=Symbol(_0x2950fc(0xcb)),_0x3c6aa5=Symbol('kMessage'),_0x6a22e2=Symbol(_0x2950fc(0x119)),_0x22adfd=Symbol(_0x2950fc(0x1fa)),_0xcf99a8=Symbol('kType'),_0x1436a3=Symbol(_0x2950fc(0x154));class _0x254d5d{constructor(_0xce90d9){this[_0x22adfd]=null,this[_0xcf99a8]=_0xce90d9;}get[_0x2950fc(0x1db)](){return this[_0x22adfd];}get[_0x2950fc(0x109)](){return this[_0xcf99a8];}}Object[_0x2950fc(0x20a)](_0x254d5d['prototype'],_0x2950fc(0x1db),{'enumerable':!0x0}),Object['defineProperty'](_0x254d5d[_0x2950fc(0x10b)],_0x2950fc(0x109),{'enumerable':!0x0});class _0x297cb6 extends _0x254d5d{constructor(_0x4584e0,_0x3bb473={}){const _0x243ef9=_0x2950fc;super(_0x4584e0),this[_0x16be4b]=_0x3bb473[_0x243ef9(0x143)]===void 0x0?0x0:_0x3bb473['code'],this[_0x6a22e2]=_0x3bb473[_0x243ef9(0x1e5)]===void 0x0?'':_0x3bb473['reason'],this[_0x1436a3]=_0x3bb473[_0x243ef9(0x196)]===void 0x0?!0x1:_0x3bb473[_0x243ef9(0x196)];}get['code'](){return this[_0x16be4b];}get['reason'](){return this[_0x6a22e2];}get['wasClean'](){return this[_0x1436a3];}}Object[_0x2950fc(0x20a)](_0x297cb6[_0x2950fc(0x10b)],_0x2950fc(0x143),{'enumerable':!0x0}),Object[_0x2950fc(0x20a)](_0x297cb6[_0x2950fc(0x10b)],_0x2950fc(0x1e5),{'enumerable':!0x0}),Object[_0x2950fc(0x20a)](_0x297cb6[_0x2950fc(0x10b)],_0x2950fc(0x196),{'enumerable':!0x0});class _0x4ee457 extends _0x254d5d{constructor(_0x309290,_0xa33de9={}){const _0x2161f7=_0x2950fc;super(_0x309290),this[_0x223619]=_0xa33de9['error']===void 0x0?null:_0xa33de9[_0x2161f7(0xf4)],this[_0x3c6aa5]=_0xa33de9[_0x2161f7(0x192)]===void 0x0?'':_0xa33de9[_0x2161f7(0x192)];}get[_0x2950fc(0xf4)](){return this[_0x223619];}get[_0x2950fc(0x192)](){return this[_0x3c6aa5];}}Object[_0x2950fc(0x20a)](_0x4ee457[_0x2950fc(0x10b)],_0x2950fc(0xf4),{'enumerable':!0x0}),Object[_0x2950fc(0x20a)](_0x4ee457[_0x2950fc(0x10b)],_0x2950fc(0x192),{'enumerable':!0x0});class _0x128192 extends _0x254d5d{constructor(_0x1ac847,_0x408bae={}){const _0x356f0c=_0x2950fc;super(_0x1ac847),this[_0x12bd03]=_0x408bae['data']===void 0x0?null:_0x408bae[_0x356f0c(0x9a)];}get[_0x2950fc(0x9a)](){return this[_0x12bd03];}}Object[_0x2950fc(0x20a)](_0x128192[_0x2950fc(0x10b)],_0x2950fc(0x9a),{'enumerable':!0x0}),xe={'CloseEvent':_0x297cb6,'ErrorEvent':_0x4ee457,'Event':_0x254d5d,'EventTarget':{'addEventListener'(_0x481ae4,_0x8e3b43,_0x1e2aad={}){const _0x2249de=_0x2950fc;for(const _0x1421e4 of this[_0x2249de(0xb0)](_0x481ae4))if(!_0x1e2aad[_0x54db25]&&_0x1421e4[_0x2801f0]===_0x8e3b43&&!_0x1421e4[_0x54db25])return;let _0x2d1612;if(_0x481ae4===_0x2249de(0x192))_0x2d1612=function(_0x338f40,_0x23dd91){const _0x4b1074=_0x2249de,_0x5398af=new _0x128192(_0x4b1074(0x192),{'data':_0x23dd91?_0x338f40:_0x338f40['toString']()});_0x5398af[_0x22adfd]=this,_0x211ea4(_0x8e3b43,this,_0x5398af);};else{if(_0x481ae4===_0x2249de(0x1fe))_0x2d1612=function(_0x39fbfc,_0x3954ab){const _0xd0cba5=_0x2249de,_0x177091=new _0x297cb6(_0xd0cba5(0x1fe),{'code':_0x39fbfc,'reason':_0x3954ab[_0xd0cba5(0xba)](),'wasClean':this[_0xd0cba5(0x235)]&&this[_0xd0cba5(0x1bb)]});_0x177091[_0x22adfd]=this,_0x211ea4(_0x8e3b43,this,_0x177091);};else{if(_0x481ae4===_0x2249de(0xf4))_0x2d1612=function(_0x4c1985){const _0x81366b=_0x2249de,_0x5f24c8=new _0x4ee457('error',{'error':_0x4c1985,'message':_0x4c1985[_0x81366b(0x192)]});_0x5f24c8[_0x22adfd]=this,_0x211ea4(_0x8e3b43,this,_0x5f24c8);};else{if(_0x481ae4==='open')_0x2d1612=function(){const _0x4f7851=_0x2249de,_0x3b629c=new _0x254d5d(_0x4f7851(0x187));_0x3b629c[_0x22adfd]=this,_0x211ea4(_0x8e3b43,this,_0x3b629c);};else return;}}}_0x2d1612[_0x54db25]=!!_0x1e2aad[_0x54db25],_0x2d1612[_0x2801f0]=_0x8e3b43,_0x1e2aad['once']?this[_0x2249de(0x1c3)](_0x481ae4,_0x2d1612):this['on'](_0x481ae4,_0x2d1612);},'removeEventListener'(_0x2f0382,_0x5c8935){const _0x5e3dae=_0x2950fc;for(const _0xa37b59 of this[_0x5e3dae(0xb0)](_0x2f0382))if(_0xa37b59[_0x2801f0]===_0x5c8935&&!_0xa37b59[_0x54db25]){this[_0x5e3dae(0x93)](_0x2f0382,_0xa37b59);break;}}},'MessageEvent':_0x128192};function _0x211ea4(_0x53cbc6,_0x3d01de,_0x1ad730){const _0x2728a2=_0x2950fc;typeof _0x53cbc6==_0x2728a2(0xdc)&&_0x53cbc6['handleEvent']?_0x53cbc6[_0x2728a2(0x96)][_0x2728a2(0x184)](_0x53cbc6,_0x1ad730):_0x53cbc6[_0x2728a2(0x184)](_0x3d01de,_0x1ad730);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5698fb}=ne();function _0x5ac1ba(_0x39a4ef,_0x548890,_0x4fd774){_0x39a4ef[_0x548890]===void 0x0?_0x39a4ef[_0x548890]=[_0x4fd774]:_0x39a4ef[_0x548890]['push'](_0x4fd774);}function _0x473daf(_0xf62657){const _0x15a1ae=_0x2c80,_0x137a0d=Object[_0x15a1ae(0x202)](null);let _0x2c8179=Object[_0x15a1ae(0x202)](null),_0x11e7f4=!0x1,_0x3df6c2=!0x1,_0x49b5ec=!0x1,_0x174f05,_0x32c246,_0x50630a=-0x1,_0xe211e5=-0x1,_0x305db0=-0x1,_0x21a599=0x0;for(;_0x21a599<_0xf62657[_0x15a1ae(0x17b)];_0x21a599++)if(_0xe211e5=_0xf62657[_0x15a1ae(0x101)](_0x21a599),_0x174f05===void 0x0){if(_0x305db0===-0x1&&_0x5698fb[_0xe211e5]===0x1)_0x50630a===-0x1&&(_0x50630a=_0x21a599);else{if(_0x21a599!==0x0&&(_0xe211e5===0x20||_0xe211e5===0x9))_0x305db0===-0x1&&_0x50630a!==-0x1&&(_0x305db0=_0x21a599);else{if(_0xe211e5===0x3b||_0xe211e5===0x2c){if(_0x50630a===-0x1)throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);_0x305db0===-0x1&&(_0x305db0=_0x21a599);const _0x377805=_0xf62657['slice'](_0x50630a,_0x305db0);_0xe211e5===0x2c?(_0x5ac1ba(_0x137a0d,_0x377805,_0x2c8179),_0x2c8179=Object[_0x15a1ae(0x202)](null)):_0x174f05=_0x377805,_0x50630a=_0x305db0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a599);}}}else{if(_0x32c246===void 0x0){if(_0x305db0===-0x1&&_0x5698fb[_0xe211e5]===0x1)_0x50630a===-0x1&&(_0x50630a=_0x21a599);else{if(_0xe211e5===0x20||_0xe211e5===0x9)_0x305db0===-0x1&&_0x50630a!==-0x1&&(_0x305db0=_0x21a599);else{if(_0xe211e5===0x3b||_0xe211e5===0x2c){if(_0x50630a===-0x1)throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);_0x305db0===-0x1&&(_0x305db0=_0x21a599),_0x5ac1ba(_0x2c8179,_0xf62657[_0x15a1ae(0x17d)](_0x50630a,_0x305db0),!0x0),_0xe211e5===0x2c&&(_0x5ac1ba(_0x137a0d,_0x174f05,_0x2c8179),_0x2c8179=Object[_0x15a1ae(0x202)](null),_0x174f05=void 0x0),_0x50630a=_0x305db0=-0x1;}else{if(_0xe211e5===0x3d&&_0x50630a!==-0x1&&_0x305db0===-0x1)_0x32c246=_0xf62657['slice'](_0x50630a,_0x21a599),_0x50630a=_0x305db0=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a599);}}}}else{if(_0x3df6c2){if(_0x5698fb[_0xe211e5]!==0x1)throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);_0x50630a===-0x1?_0x50630a=_0x21a599:_0x11e7f4||(_0x11e7f4=!0x0),_0x3df6c2=!0x1;}else{if(_0x49b5ec){if(_0x5698fb[_0xe211e5]===0x1)_0x50630a===-0x1&&(_0x50630a=_0x21a599);else{if(_0xe211e5===0x22&&_0x50630a!==-0x1)_0x49b5ec=!0x1,_0x305db0=_0x21a599;else{if(_0xe211e5===0x5c)_0x3df6c2=!0x0;else throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);}}}else{if(_0xe211e5===0x22&&_0xf62657[_0x15a1ae(0x101)](_0x21a599-0x1)===0x3d)_0x49b5ec=!0x0;else{if(_0x305db0===-0x1&&_0x5698fb[_0xe211e5]===0x1)_0x50630a===-0x1&&(_0x50630a=_0x21a599);else{if(_0x50630a!==-0x1&&(_0xe211e5===0x20||_0xe211e5===0x9))_0x305db0===-0x1&&(_0x305db0=_0x21a599);else{if(_0xe211e5===0x3b||_0xe211e5===0x2c){if(_0x50630a===-0x1)throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);_0x305db0===-0x1&&(_0x305db0=_0x21a599);let _0x3246b6=_0xf62657[_0x15a1ae(0x17d)](_0x50630a,_0x305db0);_0x11e7f4&&(_0x3246b6=_0x3246b6[_0x15a1ae(0xf3)](/\\/g,''),_0x11e7f4=!0x1),_0x5ac1ba(_0x2c8179,_0x32c246,_0x3246b6),_0xe211e5===0x2c&&(_0x5ac1ba(_0x137a0d,_0x174f05,_0x2c8179),_0x2c8179=Object['create'](null),_0x174f05=void 0x0),_0x32c246=void 0x0,_0x50630a=_0x305db0=-0x1;}else throw new SyntaxError(_0x15a1ae(0x137)+_0x21a599);}}}}}}}if(_0x50630a===-0x1||_0x49b5ec||_0xe211e5===0x20||_0xe211e5===0x9)throw new SyntaxError(_0x15a1ae(0x167));_0x305db0===-0x1&&(_0x305db0=_0x21a599);const _0xd8945e=_0xf62657[_0x15a1ae(0x17d)](_0x50630a,_0x305db0);return _0x174f05===void 0x0?_0x5ac1ba(_0x137a0d,_0xd8945e,_0x2c8179):(_0x32c246===void 0x0?_0x5ac1ba(_0x2c8179,_0xd8945e,!0x0):_0x11e7f4?_0x5ac1ba(_0x2c8179,_0x32c246,_0xd8945e[_0x15a1ae(0xf3)](/\\/g,'')):_0x5ac1ba(_0x2c8179,_0x32c246,_0xd8945e),_0x5ac1ba(_0x137a0d,_0x174f05,_0x2c8179)),_0x137a0d;}function _0x1ef22a(_0x8bf012){const _0xf5680b=_0x2c80;return Object[_0xf5680b(0x227)](_0x8bf012)[_0xf5680b(0x176)](_0x171fe3=>{const _0x23f3f0=_0xf5680b;let _0x368a89=_0x8bf012[_0x171fe3];return Array[_0x23f3f0(0x1c4)](_0x368a89)||(_0x368a89=[_0x368a89]),_0x368a89[_0x23f3f0(0x176)](_0x2d6d9b=>[_0x171fe3][_0x23f3f0(0x13c)](Object[_0x23f3f0(0x227)](_0x2d6d9b)[_0x23f3f0(0x176)](_0x59ef74=>{const _0x31c4cb=_0x23f3f0;let _0x51452a=_0x2d6d9b[_0x59ef74];return Array[_0x31c4cb(0x1c4)](_0x51452a)||(_0x51452a=[_0x51452a]),_0x51452a[_0x31c4cb(0x176)](_0x5dda43=>_0x5dda43===!0x0?_0x59ef74:_0x59ef74+'='+_0x5dda43)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0xf5680b(0x23f)](',\x20');}return be={'format':_0x1ef22a,'parse':_0x473daf},be;}var we,st;function Ie(){const _0xce97eb=_0x4a8798;if(st)return we;st=0x1;const _0x11ceef=_0x231509,_0xe2894b=_0x4dae9a,_0x93ed94=_0x4a0f23,_0x4a0724=_0x21f3c7,_0x225d35=_0x43a5ca,{randomBytes:_0xb2d502,createHash:_0x3cb774}=_0x172c9a,{Duplex:_0x1f4f28,Readable:_0x3fc39a}=_0x48895b,{URL:_0x2cd11f}=_0x2fd073,_0x5c3f83=he(),_0x5d8509=dt(),_0x4c2608=_t(),{isBlob:_0x3df230}=ne(),{BINARY_TYPES:_0x457f20,EMPTY_BUFFER:_0x4c679d,GUID:_0x37ed48,kForOnEventAttribute:_0x3d58ff,kListener:_0x2a7d4a,kStatusCode:_0x8cf8,kWebSocket:_0x1faf90,NOOP:_0x51cf4a}=V(),{EventTarget:{addEventListener:_0x268ca4,removeEventListener:_0x330b2a}}=Kt(),{format:_0x29dd62,parse:_0x4c8f93}=pt(),{toBuffer:_0x356a1f}=ce(),_0x4bb2f0=0x1e*0x3e8,_0x137c87=Symbol(_0xce97eb(0x1cc)),_0x46f8fd=[0x8,0xd],_0x1500b3=[_0xce97eb(0x1c2),_0xce97eb(0x1bd),'CLOSING','CLOSED'],_0x249a5d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3c4e8c extends _0x11ceef{constructor(_0x5e022c,_0x139830,_0x39b94f){const _0x2dc1ca=_0xce97eb;super(),this['_binaryType']=_0x457f20[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2dc1ca(0x1bb)]=!0x1,this['_closeMessage']=_0x4c679d,this[_0x2dc1ca(0xb6)]=null,this['_errorEmitted']=!0x1,this['_extensions']={},this['_paused']=!0x1,this['_protocol']='',this[_0x2dc1ca(0x22b)]=_0x3c4e8c[_0x2dc1ca(0x1c2)],this[_0x2dc1ca(0x1ad)]=null,this[_0x2dc1ca(0x182)]=null,this[_0x2dc1ca(0x22e)]=null,_0x5e022c!==null?(this[_0x2dc1ca(0xeb)]=0x0,this[_0x2dc1ca(0x18f)]=!0x1,this[_0x2dc1ca(0x1d0)]=0x0,_0x139830===void 0x0?_0x139830=[]:Array[_0x2dc1ca(0x1c4)](_0x139830)||(typeof _0x139830==_0x2dc1ca(0xdc)&&_0x139830!==null?(_0x39b94f=_0x139830,_0x139830=[]):_0x139830=[_0x139830]),_0xcd0feb(this,_0x5e022c,_0x139830,_0x39b94f)):(this[_0x2dc1ca(0x1f3)]=_0x39b94f['autoPong'],this[_0x2dc1ca(0x18f)]=!0x0);}get[_0xce97eb(0x212)](){const _0x592892=_0xce97eb;return this[_0x592892(0xfc)];}set[_0xce97eb(0x212)](_0x207817){const _0x59b015=_0xce97eb;_0x457f20[_0x59b015(0x209)](_0x207817)&&(this['_binaryType']=_0x207817,this[_0x59b015(0x1ad)]&&(this[_0x59b015(0x1ad)]['_binaryType']=_0x207817));}get['bufferedAmount'](){const _0x406b38=_0xce97eb;return this[_0x406b38(0x22e)]?this[_0x406b38(0x22e)]['_writableState'][_0x406b38(0x17b)]+this[_0x406b38(0x182)][_0x406b38(0xb7)]:this[_0x406b38(0xeb)];}get[_0xce97eb(0x9c)](){const _0x639de=_0xce97eb;return Object[_0x639de(0x227)](this[_0x639de(0x14b)])['join']();}get[_0xce97eb(0x223)](){const _0x5e8fc3=_0xce97eb;return this[_0x5e8fc3(0x1a8)];}get[_0xce97eb(0xe9)](){return null;}get[_0xce97eb(0x129)](){return null;}get[_0xce97eb(0xa1)](){return null;}get['onmessage'](){return null;}get[_0xce97eb(0xda)](){const _0x2072b6=_0xce97eb;return this[_0x2072b6(0x163)];}get[_0xce97eb(0xb4)](){return this['_readyState'];}get[_0xce97eb(0x19c)](){return this['_url'];}['setSocket'](_0x2101f1,_0x50a0d6,_0x1beaca){const _0x7d36b3=_0xce97eb,_0x5f2c78=new _0x5d8509({'allowSynchronousEvents':_0x1beaca[_0x7d36b3(0x123)],'binaryType':this[_0x7d36b3(0x212)],'extensions':this[_0x7d36b3(0x14b)],'isServer':this[_0x7d36b3(0x18f)],'maxPayload':_0x1beaca['maxPayload'],'skipUTF8Validation':_0x1beaca['skipUTF8Validation']}),_0x1078ad=new _0x4c2608(_0x2101f1,this[_0x7d36b3(0x14b)],_0x1beaca[_0x7d36b3(0xcc)]);this[_0x7d36b3(0x1ad)]=_0x5f2c78,this[_0x7d36b3(0x182)]=_0x1078ad,this['_socket']=_0x2101f1,_0x5f2c78[_0x1faf90]=this,_0x1078ad[_0x1faf90]=this,_0x2101f1[_0x1faf90]=this,_0x5f2c78['on'](_0x7d36b3(0x242),_0xccf8ca),_0x5f2c78['on'](_0x7d36b3(0x149),_0x31f829),_0x5f2c78['on'](_0x7d36b3(0xf4),_0x4c8be2),_0x5f2c78['on'](_0x7d36b3(0x192),_0x4624df),_0x5f2c78['on'](_0x7d36b3(0x1a4),_0x53bc2d),_0x5f2c78['on'](_0x7d36b3(0x118),_0x150f51),_0x1078ad[_0x7d36b3(0x129)]=_0x38288c,_0x2101f1[_0x7d36b3(0x228)]&&_0x2101f1[_0x7d36b3(0x228)](0x0),_0x2101f1[_0x7d36b3(0x180)]&&_0x2101f1[_0x7d36b3(0x180)](),_0x50a0d6[_0x7d36b3(0x17b)]>0x0&&_0x2101f1[_0x7d36b3(0x164)](_0x50a0d6),_0x2101f1['on'](_0x7d36b3(0x1fe),_0x53c52b),_0x2101f1['on'](_0x7d36b3(0x9a),_0x53eba8),_0x2101f1['on'](_0x7d36b3(0x20c),_0x4a79bf),_0x2101f1['on'](_0x7d36b3(0xf4),_0xd50172),this[_0x7d36b3(0x22b)]=_0x3c4e8c['OPEN'],this[_0x7d36b3(0x127)](_0x7d36b3(0x187));}[_0xce97eb(0x219)](){const _0x433d79=_0xce97eb;if(!this[_0x433d79(0x22e)]){this[_0x433d79(0x22b)]=_0x3c4e8c[_0x433d79(0x15c)],this[_0x433d79(0x127)](_0x433d79(0x1fe),this[_0x433d79(0x10f)],this[_0x433d79(0xe3)]);return;}this[_0x433d79(0x14b)][_0x5c3f83[_0x433d79(0x1b4)]]&&this[_0x433d79(0x14b)][_0x5c3f83[_0x433d79(0x1b4)]][_0x433d79(0x16e)](),this[_0x433d79(0x1ad)][_0x433d79(0x168)](),this[_0x433d79(0x22b)]=_0x3c4e8c[_0x433d79(0x15c)],this[_0x433d79(0x127)](_0x433d79(0x1fe),this['_closeCode'],this[_0x433d79(0xe3)]);}[_0xce97eb(0x1fe)](_0x873765,_0x14f831){const _0x2d13c1=_0xce97eb;if(this[_0x2d13c1(0xb4)]!==_0x3c4e8c[_0x2d13c1(0x15c)]){if(this['readyState']===_0x3c4e8c[_0x2d13c1(0x1c2)]){_0x4d3204(this,this['_req'],_0x2d13c1(0x140));return;}if(this['readyState']===_0x3c4e8c['CLOSING']){this[_0x2d13c1(0x1bb)]&&(this[_0x2d13c1(0x235)]||this[_0x2d13c1(0x1ad)][_0x2d13c1(0xd8)][_0x2d13c1(0x214)])&&this[_0x2d13c1(0x22e)][_0x2d13c1(0x20c)]();return;}this[_0x2d13c1(0x22b)]=_0x3c4e8c[_0x2d13c1(0x14e)],this[_0x2d13c1(0x182)][_0x2d13c1(0x1fe)](_0x873765,_0x14f831,!this[_0x2d13c1(0x18f)],_0x225d21=>{const _0x380447=_0x2d13c1;_0x225d21||(this[_0x380447(0x1bb)]=!0x0,(this[_0x380447(0x235)]||this[_0x380447(0x1ad)][_0x380447(0xd8)][_0x380447(0x214)])&&this[_0x380447(0x22e)][_0x380447(0x20c)]());}),_0x36c12a(this);}}[_0xce97eb(0x181)](){const _0x33e171=_0xce97eb;this[_0x33e171(0xb4)]===_0x3c4e8c[_0x33e171(0x1c2)]||this[_0x33e171(0xb4)]===_0x3c4e8c['CLOSED']||(this[_0x33e171(0x1a8)]=!0x0,this[_0x33e171(0x22e)][_0x33e171(0x181)]());}[_0xce97eb(0x1a4)](_0x33ac90,_0x48ee81,_0x411d30){const _0x31cf32=_0xce97eb;if(this[_0x31cf32(0xb4)]===_0x3c4e8c[_0x31cf32(0x1c2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x33ac90==_0x31cf32(0x1b3)?(_0x411d30=_0x33ac90,_0x33ac90=_0x48ee81=void 0x0):typeof _0x48ee81=='function'&&(_0x411d30=_0x48ee81,_0x48ee81=void 0x0),typeof _0x33ac90==_0x31cf32(0x1a1)&&(_0x33ac90=_0x33ac90['toString']()),this['readyState']!==_0x3c4e8c[_0x31cf32(0x1bd)]){_0x5c9d27(this,_0x33ac90,_0x411d30);return;}_0x48ee81===void 0x0&&(_0x48ee81=!this[_0x31cf32(0x18f)]),this['_sender'][_0x31cf32(0x1a4)](_0x33ac90||_0x4c679d,_0x48ee81,_0x411d30);}[_0xce97eb(0x118)](_0x4ec5f0,_0x3d66d6,_0x4ac056){const _0x26bf3a=_0xce97eb;if(this[_0x26bf3a(0xb4)]===_0x3c4e8c['CONNECTING'])throw new Error(_0x26bf3a(0x1b6));if(typeof _0x4ec5f0==_0x26bf3a(0x1b3)?(_0x4ac056=_0x4ec5f0,_0x4ec5f0=_0x3d66d6=void 0x0):typeof _0x3d66d6==_0x26bf3a(0x1b3)&&(_0x4ac056=_0x3d66d6,_0x3d66d6=void 0x0),typeof _0x4ec5f0==_0x26bf3a(0x1a1)&&(_0x4ec5f0=_0x4ec5f0[_0x26bf3a(0xba)]()),this['readyState']!==_0x3c4e8c['OPEN']){_0x5c9d27(this,_0x4ec5f0,_0x4ac056);return;}_0x3d66d6===void 0x0&&(_0x3d66d6=!this['_isServer']),this['_sender'][_0x26bf3a(0x118)](_0x4ec5f0||_0x4c679d,_0x3d66d6,_0x4ac056);}[_0xce97eb(0x159)](){const _0x267a53=_0xce97eb;this[_0x267a53(0xb4)]===_0x3c4e8c[_0x267a53(0x1c2)]||this[_0x267a53(0xb4)]===_0x3c4e8c[_0x267a53(0x15c)]||(this[_0x267a53(0x1a8)]=!0x1,this[_0x267a53(0x1ad)][_0x267a53(0xd8)][_0x267a53(0x9e)]||this[_0x267a53(0x22e)][_0x267a53(0x159)]());}[_0xce97eb(0x21b)](_0x56ea04,_0x4b3bc2,_0x5bd1c2){const _0x31c7d9=_0xce97eb;if(this[_0x31c7d9(0xb4)]===_0x3c4e8c[_0x31c7d9(0x1c2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4b3bc2=='function'&&(_0x5bd1c2=_0x4b3bc2,_0x4b3bc2={}),typeof _0x56ea04==_0x31c7d9(0x1a1)&&(_0x56ea04=_0x56ea04[_0x31c7d9(0xba)]()),this[_0x31c7d9(0xb4)]!==_0x3c4e8c[_0x31c7d9(0x1bd)]){_0x5c9d27(this,_0x56ea04,_0x5bd1c2);return;}const _0x5411ba={'binary':typeof _0x56ea04!=_0x31c7d9(0x1e2),'mask':!this[_0x31c7d9(0x18f)],'compress':!0x0,'fin':!0x0,..._0x4b3bc2};this[_0x31c7d9(0x14b)][_0x5c3f83[_0x31c7d9(0x1b4)]]||(_0x5411ba[_0x31c7d9(0x1c9)]=!0x1),this[_0x31c7d9(0x182)][_0x31c7d9(0x21b)](_0x56ea04||_0x4c679d,_0x5411ba,_0x5bd1c2);}['terminate'](){const _0x54939a=_0xce97eb;if(this[_0x54939a(0xb4)]!==_0x3c4e8c[_0x54939a(0x15c)]){if(this[_0x54939a(0xb4)]===_0x3c4e8c[_0x54939a(0x1c2)]){_0x4d3204(this,this['_req'],_0x54939a(0x140));return;}this['_socket']&&(this[_0x54939a(0x22b)]=_0x3c4e8c[_0x54939a(0x14e)],this['_socket'][_0x54939a(0x1f7)]());}}}Object[_0xce97eb(0x20a)](_0x3c4e8c,_0xce97eb(0x1c2),{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x1c2))}),Object[_0xce97eb(0x20a)](_0x3c4e8c['prototype'],_0xce97eb(0x1c2),{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x1c2))}),Object['defineProperty'](_0x3c4e8c,_0xce97eb(0x1bd),{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x1bd))}),Object['defineProperty'](_0x3c4e8c['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x1bd))}),Object[_0xce97eb(0x20a)](_0x3c4e8c,_0xce97eb(0x14e),{'enumerable':!0x0,'value':_0x1500b3[_0xce97eb(0x199)](_0xce97eb(0x14e))}),Object[_0xce97eb(0x20a)](_0x3c4e8c['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x1500b3['indexOf']('CLOSING')}),Object[_0xce97eb(0x20a)](_0x3c4e8c,_0xce97eb(0x15c),{'enumerable':!0x0,'value':_0x1500b3['indexOf'](_0xce97eb(0x15c))}),Object[_0xce97eb(0x20a)](_0x3c4e8c[_0xce97eb(0x10b)],_0xce97eb(0x15c),{'enumerable':!0x0,'value':_0x1500b3['indexOf'](_0xce97eb(0x15c))}),['binaryType','bufferedAmount',_0xce97eb(0x9c),_0xce97eb(0x223),'protocol',_0xce97eb(0xb4),_0xce97eb(0x19c)]['forEach'](_0x3f8d2f=>{const _0x11a683=_0xce97eb;Object[_0x11a683(0x20a)](_0x3c4e8c[_0x11a683(0x10b)],_0x3f8d2f,{'enumerable':!0x0});}),['open',_0xce97eb(0xf4),_0xce97eb(0x1fe),_0xce97eb(0x192)][_0xce97eb(0xf6)](_0x57ebc2=>{const _0x573136=_0xce97eb;Object[_0x573136(0x20a)](_0x3c4e8c[_0x573136(0x10b)],'on'+_0x57ebc2,{'enumerable':!0x0,'get'(){const _0x37c844=_0x573136;for(const _0xade7df of this[_0x37c844(0xb0)](_0x57ebc2))if(_0xade7df[_0x3d58ff])return _0xade7df[_0x2a7d4a];return null;},'set'(_0x2552e4){const _0x59697a=_0x573136;for(const _0x31dfb0 of this[_0x59697a(0xb0)](_0x57ebc2))if(_0x31dfb0[_0x3d58ff]){this[_0x59697a(0x93)](_0x57ebc2,_0x31dfb0);break;}typeof _0x2552e4==_0x59697a(0x1b3)&&this[_0x59697a(0x201)](_0x57ebc2,_0x2552e4,{[_0x3d58ff]:!0x0});}});}),_0x3c4e8c[_0xce97eb(0x10b)][_0xce97eb(0x201)]=_0x268ca4,_0x3c4e8c[_0xce97eb(0x10b)][_0xce97eb(0x1f2)]=_0x330b2a,we=_0x3c4e8c;function _0xcd0feb(_0x9b8a4,_0x12ae62,_0x31a688,_0x1dfcc6){const _0x2d7add=_0xce97eb,_0x438b35={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x46f8fd[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1dfcc6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x9b8a4['_autoPong']=_0x438b35['autoPong'],!_0x46f8fd[_0x2d7add(0x209)](_0x438b35[_0x2d7add(0x1a9)]))throw new RangeError(_0x2d7add(0x1ec)+_0x438b35[_0x2d7add(0x1a9)]+_0x2d7add(0xaa)+_0x46f8fd[_0x2d7add(0x23f)](',\x20')+')');let _0x3cd316;if(_0x12ae62 instanceof _0x2cd11f)_0x3cd316=_0x12ae62;else try{_0x3cd316=new _0x2cd11f(_0x12ae62);}catch{throw new SyntaxError(_0x2d7add(0xfe)+_0x12ae62);}_0x3cd316[_0x2d7add(0xda)]===_0x2d7add(0x1f5)?_0x3cd316[_0x2d7add(0xda)]='ws:':_0x3cd316[_0x2d7add(0xda)]===_0x2d7add(0x19e)&&(_0x3cd316[_0x2d7add(0xda)]=_0x2d7add(0x108)),_0x9b8a4['_url']=_0x3cd316['href'];const _0x4e46c0=_0x3cd316[_0x2d7add(0xda)]==='wss:',_0x2bbfdc=_0x3cd316[_0x2d7add(0xda)]===_0x2d7add(0x11a);let _0x2cffef;if(_0x3cd316['protocol']!==_0x2d7add(0x12a)&&!_0x4e46c0&&!_0x2bbfdc?_0x2cffef=_0x2d7add(0x114):_0x2bbfdc&&!_0x3cd316['pathname']?_0x2cffef='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x3cd316[_0x2d7add(0x15b)]&&(_0x2cffef=_0x2d7add(0x16a)),_0x2cffef){const _0x267837=new SyntaxError(_0x2cffef);if(_0x9b8a4[_0x2d7add(0x1d0)]===0x0)throw _0x267837;_0x4bb976(_0x9b8a4,_0x267837);return;}const _0x5ec62a=_0x4e46c0?0x1bb:0x50,_0x5e51e9=_0xb2d502(0x10)[_0x2d7add(0xba)](_0x2d7add(0x193)),_0x4829aa=_0x4e46c0?_0xe2894b[_0x2d7add(0xc0)]:_0x93ed94[_0x2d7add(0xc0)],_0x1f44aa=new Set();let _0x5ee8f9;if(_0x438b35[_0x2d7add(0x11d)]=_0x438b35[_0x2d7add(0x11d)]||(_0x4e46c0?_0x24936c:_0x160fc9),_0x438b35[_0x2d7add(0x14c)]=_0x438b35['defaultPort']||_0x5ec62a,_0x438b35[_0x2d7add(0x200)]=_0x3cd316[_0x2d7add(0x200)]||_0x5ec62a,_0x438b35[_0x2d7add(0xea)]=_0x3cd316[_0x2d7add(0x15a)]['startsWith']('[')?_0x3cd316[_0x2d7add(0x15a)][_0x2d7add(0x17d)](0x1,-0x1):_0x3cd316[_0x2d7add(0x15a)],_0x438b35[_0x2d7add(0xbe)]={..._0x438b35[_0x2d7add(0xbe)],'Sec-WebSocket-Version':_0x438b35['protocolVersion'],'Sec-WebSocket-Key':_0x5e51e9,'Connection':_0x2d7add(0x11f),'Upgrade':_0x2d7add(0x194)},_0x438b35['path']=_0x3cd316[_0x2d7add(0x1b8)]+_0x3cd316['search'],_0x438b35[_0x2d7add(0x14f)]=_0x438b35[_0x2d7add(0x1b5)],_0x438b35['perMessageDeflate']&&(_0x5ee8f9=new _0x5c3f83(_0x438b35[_0x2d7add(0xe0)]!==!0x0?_0x438b35['perMessageDeflate']:{},!0x1,_0x438b35[_0x2d7add(0x1d8)]),_0x438b35[_0x2d7add(0xbe)][_0x2d7add(0x225)]=_0x29dd62({[_0x5c3f83[_0x2d7add(0x1b4)]]:_0x5ee8f9[_0x2d7add(0x213)]()})),_0x31a688['length']){for(const _0x216cd7 of _0x31a688){if(typeof _0x216cd7!='string'||!_0x249a5d[_0x2d7add(0xa7)](_0x216cd7)||_0x1f44aa[_0x2d7add(0x1d4)](_0x216cd7))throw new SyntaxError(_0x2d7add(0x173));_0x1f44aa[_0x2d7add(0x162)](_0x216cd7);}_0x438b35[_0x2d7add(0xbe)][_0x2d7add(0xbc)]=_0x31a688[_0x2d7add(0x23f)](',');}if(_0x438b35[_0x2d7add(0x13e)]&&(_0x438b35[_0x2d7add(0x1a9)]<0xd?_0x438b35[_0x2d7add(0xbe)]['Sec-WebSocket-Origin']=_0x438b35['origin']:_0x438b35[_0x2d7add(0xbe)][_0x2d7add(0x138)]=_0x438b35['origin']),(_0x3cd316[_0x2d7add(0x9f)]||_0x3cd316[_0x2d7add(0x1dc)])&&(_0x438b35[_0x2d7add(0x18c)]=_0x3cd316[_0x2d7add(0x9f)]+':'+_0x3cd316[_0x2d7add(0x1dc)]),_0x2bbfdc){const _0x2436cd=_0x438b35['path'][_0x2d7add(0x1e1)](':');_0x438b35[_0x2d7add(0x188)]=_0x2436cd[0x0],_0x438b35['path']=_0x2436cd[0x1];}let _0x3060af;if(_0x438b35[_0x2d7add(0x1d6)]){if(_0x9b8a4['_redirects']===0x0){_0x9b8a4[_0x2d7add(0xed)]=_0x2bbfdc,_0x9b8a4[_0x2d7add(0x1d1)]=_0x4e46c0,_0x9b8a4['_originalHostOrSocketPath']=_0x2bbfdc?_0x438b35[_0x2d7add(0x188)]:_0x3cd316[_0x2d7add(0xea)];const _0x1b219a=_0x1dfcc6&&_0x1dfcc6[_0x2d7add(0xbe)];if(_0x1dfcc6={..._0x1dfcc6,'headers':{}},_0x1b219a){for(const [_0x53e68d,_0x1f561a]of Object[_0x2d7add(0x195)](_0x1b219a))_0x1dfcc6['headers'][_0x53e68d['toLowerCase']()]=_0x1f561a;}}else{if(_0x9b8a4[_0x2d7add(0x124)](_0x2d7add(0x1af))===0x0){const _0x1baa59=_0x2bbfdc?_0x9b8a4[_0x2d7add(0xed)]?_0x438b35[_0x2d7add(0x188)]===_0x9b8a4[_0x2d7add(0x1b9)]:!0x1:_0x9b8a4[_0x2d7add(0xed)]?!0x1:_0x3cd316[_0x2d7add(0xea)]===_0x9b8a4['_originalHostOrSocketPath'];(!_0x1baa59||_0x9b8a4[_0x2d7add(0x1d1)]&&!_0x4e46c0)&&(delete _0x438b35[_0x2d7add(0xbe)][_0x2d7add(0xe2)],delete _0x438b35['headers'][_0x2d7add(0x136)],_0x1baa59||delete _0x438b35[_0x2d7add(0xbe)]['host'],_0x438b35['auth']=void 0x0);}}_0x438b35['auth']&&!_0x1dfcc6['headers']['authorization']&&(_0x1dfcc6[_0x2d7add(0xbe)]['authorization']=_0x2d7add(0x1d9)+Buffer['from'](_0x438b35[_0x2d7add(0x18c)])[_0x2d7add(0xba)](_0x2d7add(0x193))),_0x3060af=_0x9b8a4[_0x2d7add(0x1b7)]=_0x4829aa(_0x438b35),_0x9b8a4[_0x2d7add(0x1d0)]&&_0x9b8a4[_0x2d7add(0x127)]('redirect',_0x9b8a4[_0x2d7add(0x19c)],_0x3060af);}else _0x3060af=_0x9b8a4[_0x2d7add(0x1b7)]=_0x4829aa(_0x438b35);_0x438b35[_0x2d7add(0x14f)]&&_0x3060af['on']('timeout',()=>{_0x4d3204(_0x9b8a4,_0x3060af,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x3060af['on'](_0x2d7add(0xf4),_0x42f711=>{const _0x28c7b7=_0x2d7add;_0x3060af===null||_0x3060af[_0x137c87]||(_0x3060af=_0x9b8a4[_0x28c7b7(0x1b7)]=null,_0x4bb976(_0x9b8a4,_0x42f711));}),_0x3060af['on'](_0x2d7add(0x21e),_0x2bd553=>{const _0x1ac653=_0x2d7add,_0x2b8353=_0x2bd553[_0x1ac653(0xbe)][_0x1ac653(0x1a3)],_0x2ddb41=_0x2bd553['statusCode'];if(_0x2b8353&&_0x438b35[_0x1ac653(0x1d6)]&&_0x2ddb41>=0x12c&&_0x2ddb41<0x190){if(++_0x9b8a4['_redirects']>_0x438b35['maxRedirects']){_0x4d3204(_0x9b8a4,_0x3060af,_0x1ac653(0x15e));return;}_0x3060af[_0x1ac653(0x206)]();let _0xe72eeb;try{_0xe72eeb=new _0x2cd11f(_0x2b8353,_0x12ae62);}catch{const _0x10d62c=new SyntaxError(_0x1ac653(0xfe)+_0x2b8353);_0x4bb976(_0x9b8a4,_0x10d62c);return;}_0xcd0feb(_0x9b8a4,_0xe72eeb,_0x31a688,_0x1dfcc6);}else _0x9b8a4[_0x1ac653(0x127)](_0x1ac653(0x12d),_0x3060af,_0x2bd553)||_0x4d3204(_0x9b8a4,_0x3060af,'Unexpected\x20server\x20response:\x20'+_0x2bd553[_0x1ac653(0x139)]);}),_0x3060af['on'](_0x2d7add(0xe8),(_0x8206b3,_0x3db88f,_0x496773)=>{const _0x2ec8bf=_0x2d7add;if(_0x9b8a4[_0x2ec8bf(0x127)](_0x2ec8bf(0xe8),_0x8206b3),_0x9b8a4['readyState']!==_0x3c4e8c[_0x2ec8bf(0x1c2)])return;_0x3060af=_0x9b8a4[_0x2ec8bf(0x1b7)]=null;const _0x3935c7=_0x8206b3[_0x2ec8bf(0xbe)][_0x2ec8bf(0xe8)];if(_0x3935c7===void 0x0||_0x3935c7[_0x2ec8bf(0x1da)]()!==_0x2ec8bf(0x194)){_0x4d3204(_0x9b8a4,_0x3db88f,_0x2ec8bf(0x132));return;}const _0x2acc48=_0x3cb774(_0x2ec8bf(0xee))[_0x2ec8bf(0x153)](_0x5e51e9+_0x37ed48)[_0x2ec8bf(0x155)]('base64');if(_0x8206b3['headers'][_0x2ec8bf(0xf5)]!==_0x2acc48){_0x4d3204(_0x9b8a4,_0x3db88f,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x13c02e=_0x8206b3[_0x2ec8bf(0xbe)][_0x2ec8bf(0x1e4)];let _0x24af81;if(_0x13c02e!==void 0x0?_0x1f44aa[_0x2ec8bf(0x125)]?_0x1f44aa[_0x2ec8bf(0x1d4)](_0x13c02e)||(_0x24af81='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x24af81=_0x2ec8bf(0x229):_0x1f44aa[_0x2ec8bf(0x125)]&&(_0x24af81='Server\x20sent\x20no\x20subprotocol'),_0x24af81){_0x4d3204(_0x9b8a4,_0x3db88f,_0x24af81);return;}_0x13c02e&&(_0x9b8a4['_protocol']=_0x13c02e);const _0x520e83=_0x8206b3[_0x2ec8bf(0xbe)][_0x2ec8bf(0x145)];if(_0x520e83!==void 0x0){if(!_0x5ee8f9){_0x4d3204(_0x9b8a4,_0x3db88f,_0x2ec8bf(0x1f8));return;}let _0x533007;try{_0x533007=_0x4c8f93(_0x520e83);}catch{_0x4d3204(_0x9b8a4,_0x3db88f,_0x2ec8bf(0x1ea));return;}const _0x3403ef=Object[_0x2ec8bf(0x227)](_0x533007);if(_0x3403ef[_0x2ec8bf(0x17b)]!==0x1||_0x3403ef[0x0]!==_0x5c3f83['extensionName']){_0x4d3204(_0x9b8a4,_0x3db88f,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x5ee8f9[_0x2ec8bf(0xa6)](_0x533007[_0x5c3f83[_0x2ec8bf(0x1b4)]]);}catch{_0x4d3204(_0x9b8a4,_0x3db88f,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x9b8a4['_extensions'][_0x5c3f83['extensionName']]=_0x5ee8f9;}_0x9b8a4['setSocket'](_0x3db88f,_0x496773,{'allowSynchronousEvents':_0x438b35[_0x2ec8bf(0x123)],'generateMask':_0x438b35[_0x2ec8bf(0xcc)],'maxPayload':_0x438b35[_0x2ec8bf(0x1d8)],'skipUTF8Validation':_0x438b35[_0x2ec8bf(0x134)]});}),_0x438b35[_0x2d7add(0x1c8)]?_0x438b35[_0x2d7add(0x1c8)](_0x3060af,_0x9b8a4):_0x3060af[_0x2d7add(0x20c)]();}function _0x4bb976(_0x2fb566,_0x505f71){const _0x29f030=_0xce97eb;_0x2fb566[_0x29f030(0x22b)]=_0x3c4e8c['CLOSING'],_0x2fb566[_0x29f030(0x189)]=!0x0,_0x2fb566[_0x29f030(0x127)](_0x29f030(0xf4),_0x505f71),_0x2fb566[_0x29f030(0x219)]();}function _0x160fc9(_0x1e0fa8){const _0x2fd49a=_0xce97eb;return _0x1e0fa8['path']=_0x1e0fa8[_0x2fd49a(0x188)],_0x4a0724[_0x2fd49a(0x1cf)](_0x1e0fa8);}function _0x24936c(_0xbea238){const _0x18b6b1=_0xce97eb;return _0xbea238['path']=void 0x0,!_0xbea238[_0x18b6b1(0x239)]&&_0xbea238['servername']!==''&&(_0xbea238['servername']=_0x4a0724[_0x18b6b1(0x1fc)](_0xbea238[_0x18b6b1(0xea)])?'':_0xbea238['host']),_0x225d35[_0x18b6b1(0x1cf)](_0xbea238);}function _0x4d3204(_0x4432ff,_0x2c9d04,_0x90ee77){const _0x7fbc98=_0xce97eb;_0x4432ff[_0x7fbc98(0x22b)]=_0x3c4e8c['CLOSING'];const _0x3a2ea8=new Error(_0x90ee77);Error[_0x7fbc98(0x1ff)](_0x3a2ea8,_0x4d3204),_0x2c9d04[_0x7fbc98(0x1d5)]?(_0x2c9d04[_0x137c87]=!0x0,_0x2c9d04['abort'](),_0x2c9d04[_0x7fbc98(0x102)]&&!_0x2c9d04['socket'][_0x7fbc98(0x18e)]&&_0x2c9d04[_0x7fbc98(0x102)]['destroy'](),process[_0x7fbc98(0xd3)](_0x4bb976,_0x4432ff,_0x3a2ea8)):(_0x2c9d04[_0x7fbc98(0x1f7)](_0x3a2ea8),_0x2c9d04[_0x7fbc98(0x1c3)](_0x7fbc98(0xf4),_0x4432ff[_0x7fbc98(0x127)]['bind'](_0x4432ff,'error')),_0x2c9d04[_0x7fbc98(0x1c3)](_0x7fbc98(0x1fe),_0x4432ff['emitClose']['bind'](_0x4432ff)));}function _0x5c9d27(_0x1bb86d,_0x445ca7,_0x400233){const _0x127b96=_0xce97eb;if(_0x445ca7){const _0xe1bb4b=_0x3df230(_0x445ca7)?_0x445ca7[_0x127b96(0x125)]:_0x356a1f(_0x445ca7)[_0x127b96(0x17b)];_0x1bb86d[_0x127b96(0x22e)]?_0x1bb86d[_0x127b96(0x182)][_0x127b96(0xb7)]+=_0xe1bb4b:_0x1bb86d[_0x127b96(0xeb)]+=_0xe1bb4b;}if(_0x400233){const _0x1a62b2=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1bb86d['readyState']+'\x20('+_0x1500b3[_0x1bb86d[_0x127b96(0xb4)]]+')');process[_0x127b96(0xd3)](_0x400233,_0x1a62b2);}}function _0xccf8ca(_0x5a95f2,_0x23a3fd){const _0x3cb2df=_0xce97eb,_0x389a25=this[_0x1faf90];_0x389a25[_0x3cb2df(0x235)]=!0x0,_0x389a25[_0x3cb2df(0xe3)]=_0x23a3fd,_0x389a25[_0x3cb2df(0x10f)]=_0x5a95f2,_0x389a25[_0x3cb2df(0x22e)][_0x1faf90]!==void 0x0&&(_0x389a25[_0x3cb2df(0x22e)]['removeListener'](_0x3cb2df(0x9a),_0x53eba8),process[_0x3cb2df(0xd3)](_0x330b78,_0x389a25[_0x3cb2df(0x22e)]),_0x5a95f2===0x3ed?_0x389a25[_0x3cb2df(0x1fe)]():_0x389a25[_0x3cb2df(0x1fe)](_0x5a95f2,_0x23a3fd));}function _0x31f829(){const _0x52861a=_0xce97eb,_0x542c29=this[_0x1faf90];_0x542c29[_0x52861a(0x223)]||_0x542c29['_socket'][_0x52861a(0x159)]();}function _0x4c8be2(_0x234d95){const _0xa1a50c=_0xce97eb,_0x39a364=this[_0x1faf90];_0x39a364[_0xa1a50c(0x22e)][_0x1faf90]!==void 0x0&&(_0x39a364[_0xa1a50c(0x22e)][_0xa1a50c(0x93)](_0xa1a50c(0x9a),_0x53eba8),process[_0xa1a50c(0xd3)](_0x330b78,_0x39a364[_0xa1a50c(0x22e)]),_0x39a364[_0xa1a50c(0x1fe)](_0x234d95[_0x8cf8])),_0x39a364[_0xa1a50c(0x189)]||(_0x39a364[_0xa1a50c(0x189)]=!0x0,_0x39a364[_0xa1a50c(0x127)](_0xa1a50c(0xf4),_0x234d95));}function _0x5e8a95(){const _0x4cc5aa=_0xce97eb;this[_0x1faf90][_0x4cc5aa(0x219)]();}function _0x4624df(_0x431001,_0x4fdea5){const _0xed50d8=_0xce97eb;this[_0x1faf90][_0xed50d8(0x127)](_0xed50d8(0x192),_0x431001,_0x4fdea5);}function _0x53bc2d(_0x6e1eb8){const _0x449697=_0xce97eb,_0x4bc013=this[_0x1faf90];_0x4bc013[_0x449697(0x1f3)]&&_0x4bc013[_0x449697(0x118)](_0x6e1eb8,!this['_isServer'],_0x51cf4a),_0x4bc013[_0x449697(0x127)](_0x449697(0x1a4),_0x6e1eb8);}function _0x150f51(_0x1efeb6){const _0x40fa84=_0xce97eb;this[_0x1faf90][_0x40fa84(0x127)](_0x40fa84(0x118),_0x1efeb6);}function _0x330b78(_0x4cdd6c){const _0xae488=_0xce97eb;_0x4cdd6c[_0xae488(0x159)]();}function _0x38288c(_0x142729){const _0x318f84=_0xce97eb,_0x5c03b5=this[_0x1faf90];_0x5c03b5[_0x318f84(0xb4)]!==_0x3c4e8c[_0x318f84(0x15c)]&&(_0x5c03b5[_0x318f84(0xb4)]===_0x3c4e8c[_0x318f84(0x1bd)]&&(_0x5c03b5[_0x318f84(0x22b)]=_0x3c4e8c[_0x318f84(0x14e)],_0x36c12a(_0x5c03b5)),this[_0x318f84(0x22e)][_0x318f84(0x20c)](),_0x5c03b5[_0x318f84(0x189)]||(_0x5c03b5['_errorEmitted']=!0x0,_0x5c03b5['emit'](_0x318f84(0xf4),_0x142729)));}function _0x36c12a(_0x3f0e11){const _0x3e7f36=_0xce97eb;_0x3f0e11['_closeTimer']=setTimeout(_0x3f0e11[_0x3e7f36(0x22e)][_0x3e7f36(0x1f7)][_0x3e7f36(0x231)](_0x3f0e11[_0x3e7f36(0x22e)]),_0x4bb2f0);}function _0x53c52b(){const _0xb027d5=_0xce97eb,_0x3cc979=this[_0x1faf90];this[_0xb027d5(0x93)](_0xb027d5(0x1fe),_0x53c52b),this[_0xb027d5(0x93)]('data',_0x53eba8),this['removeListener'](_0xb027d5(0x20c),_0x4a79bf),_0x3cc979[_0xb027d5(0x22b)]=_0x3c4e8c[_0xb027d5(0x14e)];let _0x4a4629;!this[_0xb027d5(0x1ca)][_0xb027d5(0xfd)]&&!_0x3cc979['_closeFrameReceived']&&!_0x3cc979[_0xb027d5(0x1ad)]['_writableState'][_0xb027d5(0x214)]&&(_0x4a4629=_0x3cc979[_0xb027d5(0x22e)][_0xb027d5(0x1eb)]())!==null&&_0x3cc979[_0xb027d5(0x1ad)][_0xb027d5(0xa2)](_0x4a4629),_0x3cc979[_0xb027d5(0x1ad)][_0xb027d5(0x20c)](),this[_0x1faf90]=void 0x0,clearTimeout(_0x3cc979[_0xb027d5(0xb6)]),_0x3cc979[_0xb027d5(0x1ad)][_0xb027d5(0xd8)]['finished']||_0x3cc979[_0xb027d5(0x1ad)][_0xb027d5(0xd8)][_0xb027d5(0x214)]?_0x3cc979[_0xb027d5(0x219)]():(_0x3cc979[_0xb027d5(0x1ad)]['on'](_0xb027d5(0xf4),_0x5e8a95),_0x3cc979[_0xb027d5(0x1ad)]['on']('finish',_0x5e8a95));}function _0x53eba8(_0x541968){const _0x542b99=_0xce97eb;this[_0x1faf90]['_receiver']['write'](_0x541968)||this[_0x542b99(0x181)]();}function _0x4a79bf(){const _0x467487=_0xce97eb,_0x4b8f2d=this[_0x1faf90];_0x4b8f2d['_readyState']=_0x3c4e8c[_0x467487(0x14e)],_0x4b8f2d[_0x467487(0x1ad)][_0x467487(0x20c)](),this['end']();}function _0xd50172(){const _0x5e6900=_0xce97eb,_0x1a63d6=this[_0x1faf90];this['removeListener'](_0x5e6900(0xf4),_0xd50172),this['on'](_0x5e6900(0xf4),_0x51cf4a),_0x1a63d6&&(_0x1a63d6[_0x5e6900(0x22b)]=_0x3c4e8c['CLOSING'],this[_0x5e6900(0x1f7)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x27454e}=_0x48895b;function _0x39a643(_0x11a05d){const _0xa1884b=_0x2c80;_0x11a05d[_0xa1884b(0x127)](_0xa1884b(0x1fe));}function _0x446221(){const _0x3342f3=_0x2c80;!this[_0x3342f3(0x18e)]&&this[_0x3342f3(0xd8)]['finished']&&this[_0x3342f3(0x1f7)]();}function _0x2ffc39(_0x4df750){const _0x1f5122=_0x2c80;this[_0x1f5122(0x93)]('error',_0x2ffc39),this[_0x1f5122(0x1f7)](),this[_0x1f5122(0x124)](_0x1f5122(0xf4))===0x0&&this[_0x1f5122(0x127)]('error',_0x4df750);}function _0x3a3571(_0x1d108e,_0x472e0d){const _0xb0dbbe=_0x2c80;let _0x216b4c=!0x0;const _0x4a7a2c=new _0x27454e({..._0x472e0d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1d108e['on'](_0xb0dbbe(0x192),function(_0x528f5b,_0x283620){const _0x26ad4a=_0xb0dbbe,_0x1ca7ca=!_0x283620&&_0x4a7a2c[_0x26ad4a(0x1ca)][_0x26ad4a(0x9b)]?_0x528f5b[_0x26ad4a(0xba)]():_0x528f5b;_0x4a7a2c[_0x26ad4a(0x238)](_0x1ca7ca)||_0x1d108e[_0x26ad4a(0x181)]();}),_0x1d108e[_0xb0dbbe(0x1c3)]('error',function(_0x7f9812){const _0x550ad4=_0xb0dbbe;_0x4a7a2c[_0x550ad4(0x18e)]||(_0x216b4c=!0x1,_0x4a7a2c[_0x550ad4(0x1f7)](_0x7f9812));}),_0x1d108e['once'](_0xb0dbbe(0x1fe),function(){const _0x33cfd8=_0xb0dbbe;_0x4a7a2c[_0x33cfd8(0x18e)]||_0x4a7a2c['push'](null);}),_0x4a7a2c['_destroy']=function(_0x3a11f7,_0x4739a){const _0x5b2bae=_0xb0dbbe;if(_0x1d108e['readyState']===_0x1d108e[_0x5b2bae(0x15c)]){_0x4739a(_0x3a11f7),process[_0x5b2bae(0xd3)](_0x39a643,_0x4a7a2c);return;}let _0x405acb=!0x1;_0x1d108e[_0x5b2bae(0x1c3)]('error',function(_0x17e503){_0x405acb=!0x0,_0x4739a(_0x17e503);}),_0x1d108e[_0x5b2bae(0x1c3)]('close',function(){const _0xed65ca=_0x5b2bae;_0x405acb||_0x4739a(_0x3a11f7),process[_0xed65ca(0xd3)](_0x39a643,_0x4a7a2c);}),_0x216b4c&&_0x1d108e[_0x5b2bae(0x18b)]();},_0x4a7a2c[_0xb0dbbe(0x1ed)]=function(_0x4401c3){const _0x2fa7cf=_0xb0dbbe;if(_0x1d108e[_0x2fa7cf(0xb4)]===_0x1d108e['CONNECTING']){_0x1d108e[_0x2fa7cf(0x1c3)]('open',function(){const _0x26c6ee=_0x2fa7cf;_0x4a7a2c[_0x26c6ee(0x1ed)](_0x4401c3);});return;}_0x1d108e[_0x2fa7cf(0x22e)]!==null&&(_0x1d108e[_0x2fa7cf(0x22e)][_0x2fa7cf(0xd8)][_0x2fa7cf(0x10c)]?(_0x4401c3(),_0x4a7a2c[_0x2fa7cf(0x1ca)]['endEmitted']&&_0x4a7a2c[_0x2fa7cf(0x1f7)]()):(_0x1d108e[_0x2fa7cf(0x22e)][_0x2fa7cf(0x1c3)](_0x2fa7cf(0x217),function(){_0x4401c3();}),_0x1d108e[_0x2fa7cf(0x1fe)]()));},_0x4a7a2c['_read']=function(){const _0x490760=_0xb0dbbe;_0x1d108e[_0x490760(0x223)]&&_0x1d108e[_0x490760(0x159)]();},_0x4a7a2c['_write']=function(_0x1403aa,_0x56f1b0,_0x58e756){const _0x4dd89c=_0xb0dbbe;if(_0x1d108e[_0x4dd89c(0xb4)]===_0x1d108e[_0x4dd89c(0x1c2)]){_0x1d108e[_0x4dd89c(0x1c3)](_0x4dd89c(0x187),function(){const _0x5e9f1e=_0x4dd89c;_0x4a7a2c[_0x5e9f1e(0x1c5)](_0x1403aa,_0x56f1b0,_0x58e756);});return;}_0x1d108e[_0x4dd89c(0x21b)](_0x1403aa,_0x58e756);},_0x4a7a2c['on'](_0xb0dbbe(0x20c),_0x446221),_0x4a7a2c['on'](_0xb0dbbe(0xf4),_0x2ffc39),_0x4a7a2c;}return Oe=_0x3a3571,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x219343}=ne();function _0x98c0d3(_0x2bead6){const _0x37d0a4=_0x2c80,_0x9daf1=new Set();let _0x2c2e02=-0x1,_0x4d545b=-0x1,_0x589cb9=0x0;for(_0x589cb9;_0x589cb9<_0x2bead6['length'];_0x589cb9++){const _0x392d24=_0x2bead6['charCodeAt'](_0x589cb9);if(_0x4d545b===-0x1&&_0x219343[_0x392d24]===0x1)_0x2c2e02===-0x1&&(_0x2c2e02=_0x589cb9);else{if(_0x589cb9!==0x0&&(_0x392d24===0x20||_0x392d24===0x9))_0x4d545b===-0x1&&_0x2c2e02!==-0x1&&(_0x4d545b=_0x589cb9);else{if(_0x392d24===0x2c){if(_0x2c2e02===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589cb9);_0x4d545b===-0x1&&(_0x4d545b=_0x589cb9);const _0x50f792=_0x2bead6[_0x37d0a4(0x17d)](_0x2c2e02,_0x4d545b);if(_0x9daf1[_0x37d0a4(0x1d4)](_0x50f792))throw new SyntaxError('The\x20\x22'+_0x50f792+'\x22\x20subprotocol\x20is\x20duplicated');_0x9daf1[_0x37d0a4(0x162)](_0x50f792),_0x2c2e02=_0x4d545b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589cb9);}}}if(_0x2c2e02===-0x1||_0x4d545b!==-0x1)throw new SyntaxError(_0x37d0a4(0x167));const _0x22c61c=_0x2bead6[_0x37d0a4(0x17d)](_0x2c2e02,_0x589cb9);if(_0x9daf1[_0x37d0a4(0x1d4)](_0x22c61c))throw new SyntaxError(_0x37d0a4(0x1bf)+_0x22c61c+_0x37d0a4(0x147));return _0x9daf1['add'](_0x22c61c),_0x9daf1;}return Ce={'parse':_0x98c0d3},Ce;}var Te,ot;function er(){const _0x2ba26b=_0x4a8798;if(ot)return Te;ot=0x1;const _0x44a23f=_0x231509,_0x5ac13d=_0x4a0f23,{Duplex:_0x4e1571}=_0x48895b,{createHash:_0x5a5350}=_0x172c9a,_0x39ad8f=pt(),_0xcbe9ce=he(),_0x532789=Jt(),_0x5544e4=Ie(),{GUID:_0x3fff7e,kWebSocket:_0x42fdbd}=V(),_0x179ea2=/^[+/0-9A-Za-z]{22}==$/,_0x49c675=0x0,_0x376ff1=0x1,_0x14dcf8=0x2;class _0x2b7de4 extends _0x44a23f{constructor(_0x26293d,_0x58b23a){const _0x2f7161=_0x2c80;if(super(),_0x26293d={'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':_0x5544e4,..._0x26293d},_0x26293d['port']==null&&!_0x26293d[_0x2f7161(0x13b)]&&!_0x26293d['noServer']||_0x26293d[_0x2f7161(0x200)]!=null&&(_0x26293d[_0x2f7161(0x13b)]||_0x26293d[_0x2f7161(0xe4)])||_0x26293d[_0x2f7161(0x13b)]&&_0x26293d[_0x2f7161(0xe4)])throw new TypeError(_0x2f7161(0x12c));if(_0x26293d[_0x2f7161(0x200)]!=null?(this[_0x2f7161(0x160)]=_0x5ac13d[_0x2f7161(0x92)]((_0x118bb2,_0x46abc1)=>{const _0x46848d=_0x2f7161,_0x1df9e7=_0x5ac13d[_0x46848d(0x21c)][0x1aa];_0x46abc1[_0x46848d(0x1dd)](0x1aa,{'Content-Length':_0x1df9e7[_0x46848d(0x17b)],'Content-Type':_0x46848d(0x218)}),_0x46abc1[_0x46848d(0x20c)](_0x1df9e7);}),this[_0x2f7161(0x160)][_0x2f7161(0x1e8)](_0x26293d['port'],_0x26293d[_0x2f7161(0xea)],_0x26293d[_0x2f7161(0xc9)],_0x58b23a)):_0x26293d[_0x2f7161(0x13b)]&&(this[_0x2f7161(0x160)]=_0x26293d[_0x2f7161(0x13b)]),this[_0x2f7161(0x160)]){const _0x315871=this[_0x2f7161(0x127)][_0x2f7161(0x231)](this,_0x2f7161(0xaf));this[_0x2f7161(0x157)]=_0x2c44be(this[_0x2f7161(0x160)],{'listening':this[_0x2f7161(0x127)][_0x2f7161(0x231)](this,_0x2f7161(0x116)),'error':this['emit'][_0x2f7161(0x231)](this,_0x2f7161(0xf4)),'upgrade':(_0x3ade9e,_0xd1cdc,_0x21cc81)=>{this['handleUpgrade'](_0x3ade9e,_0xd1cdc,_0x21cc81,_0x315871);}});}_0x26293d[_0x2f7161(0xe0)]===!0x0&&(_0x26293d[_0x2f7161(0xe0)]={}),_0x26293d[_0x2f7161(0x19a)]&&(this['clients']=new Set(),this[_0x2f7161(0x234)]=!0x1),this['options']=_0x26293d,this['_state']=_0x49c675;}[_0x2ba26b(0x16d)](){const _0x5aa2f5=_0x2ba26b;if(this['options'][_0x5aa2f5(0xe4)])throw new Error(_0x5aa2f5(0x152));return this[_0x5aa2f5(0x160)]?this['_server'][_0x5aa2f5(0x16d)]():null;}[_0x2ba26b(0x1fe)](_0x12269f){const _0x3789de=_0x2ba26b;if(this[_0x3789de(0xcf)]===_0x14dcf8){_0x12269f&&this[_0x3789de(0x1c3)]('close',()=>{const _0x22e40c=_0x3789de;_0x12269f(new Error(_0x22e40c(0xe1)));}),process[_0x3789de(0xd3)](_0x7a0ba4,this);return;}if(_0x12269f&&this[_0x3789de(0x1c3)]('close',_0x12269f),this[_0x3789de(0xcf)]!==_0x376ff1){if(this['_state']=_0x376ff1,this[_0x3789de(0x1b1)][_0x3789de(0xe4)]||this[_0x3789de(0x1b1)][_0x3789de(0x13b)])this[_0x3789de(0x160)]&&(this[_0x3789de(0x157)](),this['_removeListeners']=this[_0x3789de(0x160)]=null),this[_0x3789de(0x1b2)]?this['clients'][_0x3789de(0x125)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x7a0ba4,this):process[_0x3789de(0xd3)](_0x7a0ba4,this);else{const _0x5f33e6=this[_0x3789de(0x160)];this[_0x3789de(0x157)](),this['_removeListeners']=this[_0x3789de(0x160)]=null,_0x5f33e6['close'](()=>{_0x7a0ba4(this);});}}}['shouldHandle'](_0x5896ba){const _0x1ccb99=_0x2ba26b;if(this['options'][_0x1ccb99(0xca)]){const _0x439259=_0x5896ba[_0x1ccb99(0x19c)][_0x1ccb99(0x199)]('?');if((_0x439259!==-0x1?_0x5896ba[_0x1ccb99(0x19c)][_0x1ccb99(0x17d)](0x0,_0x439259):_0x5896ba[_0x1ccb99(0x19c)])!==this[_0x1ccb99(0x1b1)][_0x1ccb99(0xca)])return!0x1;}return!0x0;}[_0x2ba26b(0x17f)](_0x2a8317,_0x3d92a9,_0x28a727,_0x427148){const _0x1b7b61=_0x2ba26b;_0x3d92a9['on'](_0x1b7b61(0xf4),_0x2ac1df);const _0x486843=_0x2a8317[_0x1b7b61(0xbe)]['sec-websocket-key'],_0x5b73a9=_0x2a8317[_0x1b7b61(0xbe)][_0x1b7b61(0xe8)],_0x3324f3=+_0x2a8317[_0x1b7b61(0xbe)][_0x1b7b61(0x197)];if(_0x2a8317[_0x1b7b61(0x211)]!=='GET'){_0x5c737(this,_0x2a8317,_0x3d92a9,0x195,_0x1b7b61(0x18a));return;}if(_0x5b73a9===void 0x0||_0x5b73a9[_0x1b7b61(0x1da)]()!==_0x1b7b61(0x194)){_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x486843===void 0x0||!_0x179ea2[_0x1b7b61(0xa7)](_0x486843)){_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,_0x1b7b61(0xae));return;}if(_0x3324f3!==0xd&&_0x3324f3!==0x8){_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,_0x1b7b61(0xbd),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this['shouldHandle'](_0x2a8317)){_0x210eec(_0x3d92a9,0x190);return;}const _0x2391fe=_0x2a8317[_0x1b7b61(0xbe)][_0x1b7b61(0x1e4)];let _0x5c2e0f=new Set();if(_0x2391fe!==void 0x0)try{_0x5c2e0f=_0x532789[_0x1b7b61(0x1a6)](_0x2391fe);}catch{_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xf5bc09=_0x2a8317[_0x1b7b61(0xbe)][_0x1b7b61(0x145)],_0x13c5f9={};if(this['options']['perMessageDeflate']&&_0xf5bc09!==void 0x0){const _0x497341=new _0xcbe9ce(this[_0x1b7b61(0x1b1)]['perMessageDeflate'],!0x0,this['options'][_0x1b7b61(0x1d8)]);try{const _0x19abcb=_0x39ad8f[_0x1b7b61(0x1a6)](_0xf5bc09);_0x19abcb[_0xcbe9ce[_0x1b7b61(0x1b4)]]&&(_0x497341[_0x1b7b61(0xa6)](_0x19abcb[_0xcbe9ce['extensionName']]),_0x13c5f9[_0xcbe9ce['extensionName']]=_0x497341);}catch{_0x5c737(this,_0x2a8317,_0x3d92a9,0x190,_0x1b7b61(0x13d));return;}}if(this[_0x1b7b61(0x1b1)][_0x1b7b61(0x105)]){const _0x30a255={'origin':_0x2a8317[_0x1b7b61(0xbe)][''+(_0x3324f3===0x8?_0x1b7b61(0x10e):'origin')],'secure':!!(_0x2a8317[_0x1b7b61(0x102)][_0x1b7b61(0xff)]||_0x2a8317[_0x1b7b61(0x102)][_0x1b7b61(0x103)]),'req':_0x2a8317};if(this[_0x1b7b61(0x1b1)]['verifyClient'][_0x1b7b61(0x17b)]===0x2){this[_0x1b7b61(0x1b1)][_0x1b7b61(0x105)](_0x30a255,(_0x34a09a,_0x555793,_0x383a07,_0x7932d)=>{const _0x1d21ab=_0x1b7b61;if(!_0x34a09a)return _0x210eec(_0x3d92a9,_0x555793||0x191,_0x383a07,_0x7932d);this[_0x1d21ab(0x15d)](_0x13c5f9,_0x486843,_0x5c2e0f,_0x2a8317,_0x3d92a9,_0x28a727,_0x427148);});return;}if(!this['options'][_0x1b7b61(0x105)](_0x30a255))return _0x210eec(_0x3d92a9,0x191);}this[_0x1b7b61(0x15d)](_0x13c5f9,_0x486843,_0x5c2e0f,_0x2a8317,_0x3d92a9,_0x28a727,_0x427148);}[_0x2ba26b(0x15d)](_0x4e472a,_0x429b38,_0x5244bb,_0x1e8a4e,_0x1514c6,_0x2f16c4,_0x475d01){const _0x1a4de7=_0x2ba26b;if(!_0x1514c6['readable']||!_0x1514c6[_0x1a4de7(0xd2)])return _0x1514c6[_0x1a4de7(0x1f7)]();if(_0x1514c6[_0x42fdbd])throw new Error(_0x1a4de7(0xdb));if(this[_0x1a4de7(0xcf)]>_0x49c675)return _0x210eec(_0x1514c6,0x1f7);const _0x2b4408=[_0x1a4de7(0x22f),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x1a4de7(0x1ef)+_0x5a5350(_0x1a4de7(0xee))[_0x1a4de7(0x153)](_0x429b38+_0x3fff7e)['digest'](_0x1a4de7(0x193))],_0x55060c=new this[(_0x1a4de7(0x1b1))][(_0x1a4de7(0x142))](null,void 0x0,this[_0x1a4de7(0x1b1)]);if(_0x5244bb[_0x1a4de7(0x125)]){const _0x5d7f67=this[_0x1a4de7(0x1b1)][_0x1a4de7(0x17e)]?this[_0x1a4de7(0x1b1)][_0x1a4de7(0x17e)](_0x5244bb,_0x1e8a4e):_0x5244bb['values']()[_0x1a4de7(0x144)]()[_0x1a4de7(0x210)];_0x5d7f67&&(_0x2b4408['push'](_0x1a4de7(0x99)+_0x5d7f67),_0x55060c[_0x1a4de7(0x163)]=_0x5d7f67);}if(_0x4e472a[_0xcbe9ce[_0x1a4de7(0x1b4)]]){const _0xbb1841=_0x4e472a[_0xcbe9ce[_0x1a4de7(0x1b4)]][_0x1a4de7(0x1d7)],_0x5e2196=_0x39ad8f[_0x1a4de7(0x1fb)]({[_0xcbe9ce['extensionName']]:[_0xbb1841]});_0x2b4408[_0x1a4de7(0x238)](_0x1a4de7(0x121)+_0x5e2196),_0x55060c[_0x1a4de7(0x14b)]=_0x4e472a;}this['emit'](_0x1a4de7(0xbe),_0x2b4408,_0x1e8a4e),_0x1514c6[_0x1a4de7(0xa2)](_0x2b4408[_0x1a4de7(0x13c)]('\x0d\x0a')['join']('\x0d\x0a')),_0x1514c6['removeListener'](_0x1a4de7(0xf4),_0x2ac1df),_0x55060c[_0x1a4de7(0x1f1)](_0x1514c6,_0x2f16c4,{'allowSynchronousEvents':this[_0x1a4de7(0x1b1)]['allowSynchronousEvents'],'maxPayload':this[_0x1a4de7(0x1b1)][_0x1a4de7(0x1d8)],'skipUTF8Validation':this[_0x1a4de7(0x1b1)][_0x1a4de7(0x134)]}),this[_0x1a4de7(0x1b2)]&&(this[_0x1a4de7(0x1b2)]['add'](_0x55060c),_0x55060c['on'](_0x1a4de7(0x1fe),()=>{const _0x3665ac=_0x1a4de7;this[_0x3665ac(0x1b2)][_0x3665ac(0x14a)](_0x55060c),this[_0x3665ac(0x234)]&&!this[_0x3665ac(0x1b2)][_0x3665ac(0x125)]&&process['nextTick'](_0x7a0ba4,this);})),_0x475d01(_0x55060c,_0x1e8a4e);}}Te=_0x2b7de4;function _0x2c44be(_0x1ac4f5,_0xc60be9){const _0x4273b3=_0x2ba26b;for(const _0x48536c of Object[_0x4273b3(0x227)](_0xc60be9))_0x1ac4f5['on'](_0x48536c,_0xc60be9[_0x48536c]);return function(){const _0xaa1e75=_0x4273b3;for(const _0x1797cd of Object[_0xaa1e75(0x227)](_0xc60be9))_0x1ac4f5['removeListener'](_0x1797cd,_0xc60be9[_0x1797cd]);};}function _0x7a0ba4(_0x2eadf5){const _0x4c7f0f=_0x2ba26b;_0x2eadf5[_0x4c7f0f(0xcf)]=_0x14dcf8,_0x2eadf5[_0x4c7f0f(0x127)](_0x4c7f0f(0x1fe));}function _0x2ac1df(){const _0x516880=_0x2ba26b;this[_0x516880(0x1f7)]();}function _0x210eec(_0x8d5ec3,_0x54b10b,_0x157b3,_0x3be1ce){const _0x291334=_0x2ba26b;_0x157b3=_0x157b3||_0x5ac13d[_0x291334(0x21c)][_0x54b10b],_0x3be1ce={'Connection':_0x291334(0x1fe),'Content-Type':_0x291334(0x1b0),'Content-Length':Buffer[_0x291334(0xad)](_0x157b3),..._0x3be1ce},_0x8d5ec3[_0x291334(0x1c3)](_0x291334(0x217),_0x8d5ec3[_0x291334(0x1f7)]),_0x8d5ec3[_0x291334(0x20c)](_0x291334(0x1e9)+_0x54b10b+'\x20'+_0x5ac13d[_0x291334(0x21c)][_0x54b10b]+'\x0d\x0a'+Object[_0x291334(0x227)](_0x3be1ce)['map'](_0x3c5c74=>_0x3c5c74+':\x20'+_0x3be1ce[_0x3c5c74])[_0x291334(0x23f)]('\x0d\x0a')+_0x291334(0x107)+_0x157b3);}function _0x5c737(_0x1d1798,_0x389f28,_0x18678d,_0x59c42e,_0x370cd5,_0xfe1740){const _0x21515f=_0x2ba26b;if(_0x1d1798[_0x21515f(0x124)](_0x21515f(0xcd))){const _0x41fa32=new Error(_0x370cd5);Error[_0x21515f(0x1ff)](_0x41fa32,_0x5c737),_0x1d1798[_0x21515f(0x127)](_0x21515f(0xcd),_0x41fa32,_0x18678d,_0x389f28);}else _0x210eec(_0x18678d,_0x59c42e,_0x370cd5,_0xfe1740);}return Te;}er();var tr=Object[_0x4a8798(0x21f)],rr=(_0x4bb283,_0x1dbf5e,_0x44929c,_0x266789)=>{const _0x5e8a09=_0x4a8798;for(var _0x335194=_0x266789>0x1?void 0x0:_0x266789?tr(_0x1dbf5e,_0x44929c):_0x1dbf5e,_0x5d0916=_0x4bb283[_0x5e8a09(0x17b)]-0x1,_0x881d74;_0x5d0916>=0x0;_0x5d0916--)(_0x881d74=_0x4bb283[_0x5d0916])&&(_0x335194=_0x881d74(_0x335194)||_0x335194);return _0x335194;},sr=(_0x5f197a,_0x4f0ee9)=>(_0x468574,_0x241105)=>_0x4f0ee9(_0x468574,_0x241105,_0x5f197a);let Ne=class extends _0x2229fd{constructor(_0x240230){const _0x18dd99=_0x4a8798;super(),this[_0x18dd99(0x236)]=_0x240230;}['createSocket'](_0xd5daa4){const _0x2e5ec3=_0x4a8798;var _0x42ad39;const _0x3cb780=(_0x42ad39=this['_configService']['getConfig'](Be))==null?void 0x0:_0x42ad39[_0x2e5ec3(0x232)];try{const _0x43becd=new Qt(_0xd5daa4,{'headers':{..._0x3cb780}}),_0x5ac06c=new _0x1c0e39();return{'URL':_0xd5daa4,'close':(_0x1e050a,_0x33b4fc)=>{_0x43becd['close'](_0x1e050a,_0x33b4fc),_0x5ac06c['dispose']();},'send':_0x93993a=>{const _0x3bc885=_0x2e5ec3;_0x43becd[_0x3bc885(0x21b)](_0x93993a);},'open$':new _0x5a28b9(_0x3d1d1c=>{const _0x216b04=_0x2e5ec3,_0x36ec33=_0x1844cb=>_0x3d1d1c[_0x216b04(0x144)](_0x1844cb);_0x43becd['addEventListener'](_0x216b04(0x187),_0x36ec33),_0x5ac06c[_0x216b04(0x162)](_0x208b1(()=>_0x43becd[_0x216b04(0x1f2)](_0x216b04(0x187),_0x36ec33)));})['pipe'](_0xb4c0a4()),'close$':new _0x5a28b9(_0x258439=>{const _0x284c88=_0x2e5ec3,_0x5c510f=_0x33653f=>_0x258439['next'](_0x33653f);_0x43becd[_0x284c88(0x201)](_0x284c88(0x1fe),_0x5c510f),_0x5ac06c[_0x284c88(0x162)](_0x208b1(()=>_0x43becd[_0x284c88(0x1f2)](_0x284c88(0x1fe),_0x5c510f)));})[_0x2e5ec3(0x23d)](_0xb4c0a4()),'error$':new _0x5a28b9(_0x2be33a=>{const _0x5edf0b=_0x2e5ec3,_0x467b6d=_0x2febb0=>_0x2be33a[_0x5edf0b(0x144)](_0x2febb0);_0x43becd['addEventListener'](_0x5edf0b(0xf4),_0x467b6d),_0x5ac06c['add'](_0x208b1(()=>_0x43becd[_0x5edf0b(0x1f2)](_0x5edf0b(0xf4),_0x467b6d)));})[_0x2e5ec3(0x23d)](_0xb4c0a4()),'message$':new _0x5a28b9(_0x259bbc=>{const _0x14e1c7=_0x2e5ec3,_0x88ec5c=_0x29aee6=>_0x259bbc['next'](_0x29aee6);_0x43becd[_0x14e1c7(0x201)](_0x14e1c7(0x192),_0x88ec5c),_0x5ac06c[_0x14e1c7(0x162)](_0x208b1(()=>_0x43becd['removeEventListener'](_0x14e1c7(0x192),_0x88ec5c)));})[_0x2e5ec3(0x23d)](_0xb4c0a4())};}catch(_0x2404b3){return console['error'](_0x2404b3),null;}}};Ne=rr([sr(0x0,_0x394cde)],Ne);var ir=Object[_0x4a8798(0x20a)],nr=Object[_0x4a8798(0x21f)],or=(_0x225937,_0x53bd98,_0x36eba4)=>_0x53bd98 in _0x225937?ir(_0x225937,_0x53bd98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36eba4}):_0x225937[_0x53bd98]=_0x36eba4,ar=(_0x2f3a86,_0x13cc02,_0x2f1154,_0x3364a6)=>{for(var _0x5e9466=_0x3364a6>0x1?void 0x0:_0x3364a6?nr(_0x13cc02,_0x2f1154):_0x13cc02,_0x50b9d3=_0x2f3a86['length']-0x1,_0x54e194;_0x50b9d3>=0x0;_0x50b9d3--)(_0x54e194=_0x2f3a86[_0x50b9d3])&&(_0x5e9466=_0x54e194(_0x5e9466)||_0x5e9466);return _0x5e9466;},ke=(_0xd3f46d,_0x4ac17e)=>(_0xb2e59c,_0x3073ca)=>_0x4ac17e(_0xb2e59c,_0x3073ca,_0xd3f46d),lr=(_0x17eda2,_0x4a5de2,_0x1d6941)=>or(_0x17eda2,_0x4a5de2+'',_0x1d6941);let Pe=class extends _0x1ec056{constructor(_0x3da418=Ft,_0x5bf1c0,_0x14ac67,_0x384f1c){const _0x1a6f31=_0x4a8798;_0x3da418[_0x1a6f31(0x232)]||_0x5bf1c0[_0x1a6f31(0x97)](_0x1a6f31(0x203)),super(),this[_0x1a6f31(0x236)]=_0x14ac67,this['_injector']=_0x384f1c,this[_0x1a6f31(0x236)][_0x1a6f31(0xde)](Be,_0x3da418);}['onStarting'](){this['_registerDependencies']();}[_0x4a8798(0x226)](){const _0x454dd8=_0x4a8798;_0x1f5797(this[_0x454dd8(0x190)],[[_0x439c29,{'useClass':Ne}]]);}};lr(Pe,_0x4a8798(0x1ee),_0x4a8798(0xf7)),Pe=ar([_0x1fb60f(_0x3fbefe),ke(0x1,_0x3f2986),ke(0x2,_0x394cde),ke(0x3,_0x5b8dd8(_0x31ef33))],Pe);var fr=Object[_0x4a8798(0x21f)],cr=(_0x3723af,_0x20c418,_0xebc714,_0x2c8348)=>{const _0x509434=_0x4a8798;for(var _0x48c3fd=_0x2c8348>0x1?void 0x0:_0x2c8348?fr(_0x20c418,_0xebc714):_0x20c418,_0x58c300=_0x3723af[_0x509434(0x17b)]-0x1,_0x152996;_0x58c300>=0x0;_0x58c300--)(_0x152996=_0x3723af[_0x58c300])&&(_0x48c3fd=_0x152996(_0x48c3fd)||_0x48c3fd);return _0x48c3fd;},se=(_0x4f73bf,_0x5b130e)=>(_0x122428,_0x1d98b1)=>_0x5b130e(_0x122428,_0x1d98b1,_0x4f73bf);let at=class extends _0x1183c4{constructor(_0x25d186,_0x36c230,_0x38905e,_0x53ee80,_0x10c389){const _0x428b8a=_0x4a8798;super(_0x25d186,_0x36c230,_0x38905e,_0x53ee80,_0x10c389);const _0x52647c=this['_configService']['getConfig'](Be);this[_0x428b8a(0xac)]['registerHTTPInterceptor']({'interceptor':(_0x2c16b4,_0x1815ca)=>{const _0x3bda9e=_0x428b8a;var _0x515001;const _0x3f326b=_0x2c16b4[_0x3bda9e(0xbe)];return(_0x515001=_0x52647c==null?void 0x0:_0x52647c[_0x3bda9e(0x232)])!=null&&_0x515001['cookie']&&_0x3f326b[_0x3bda9e(0xc2)](_0x3bda9e(0x19b),_0x52647c[_0x3bda9e(0x232)][_0x3bda9e(0x136)]),_0x1815ca(_0x2c16b4);}});}async[_0x4a8798(0xd5)](_0x1c9281){return this['_doCreateSocket'](_0x1c9281);}};at=cr([se(0x0,_0x5b8dd8(_0x31ef33)),se(0x1,_0x5b8dd8(_0x104112)),se(0x2,_0x394cde),se(0x3,_0x3f2986),se(0x4,_0x19289f)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};