@univerjs-pro/collaboration-client-node 0.10.12 → 0.10.13-nightly.202510290902

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x51270a=_0x22a9;function _0x22a9(_0x38d129,_0x48696d){const _0x1e7a7c=_0x1e7a();return _0x22a9=function(_0x22a9a3,_0x13891d){_0x22a9a3=_0x22a9a3-0x173;let _0x58939a=_0x1e7a7c[_0x22a9a3];return _0x58939a;},_0x22a9(_0x38d129,_0x48696d);}(function(_0x5d3c13,_0x48b719){const _0x4fea5d=_0x22a9,_0x538680=_0x5d3c13();while(!![]){try{const _0x197b1e=-parseInt(_0x4fea5d(0x1f9))/0x1*(-parseInt(_0x4fea5d(0x28c))/0x2)+-parseInt(_0x4fea5d(0x196))/0x3*(parseInt(_0x4fea5d(0x1d3))/0x4)+-parseInt(_0x4fea5d(0x19d))/0x5+parseInt(_0x4fea5d(0x1f6))/0x6+parseInt(_0x4fea5d(0x1db))/0x7*(-parseInt(_0x4fea5d(0x227))/0x8)+parseInt(_0x4fea5d(0x2fa))/0x9+parseInt(_0x4fea5d(0x2a6))/0xa;if(_0x197b1e===_0x48b719)break;else _0x538680['push'](_0x538680['shift']());}catch(_0x59c2dc){_0x538680['push'](_0x538680['shift']());}}}(_0x1e7a,0xd1bd4));Object[_0x51270a(0x27d)](exports,Symbol['toStringTag'],{'value':_0x51270a(0x20d)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x54de26){const _0x4d1184=_0x51270a;return _0x54de26&&_0x54de26[_0x4d1184(0x1a6)]&&Object[_0x4d1184(0x24a)][_0x4d1184(0x178)][_0x4d1184(0x1ac)](_0x54de26,_0x4d1184(0x312))?_0x54de26[_0x4d1184(0x312)]:_0x54de26;}function at(_0x2c7e7a){const _0x2f9080=_0x51270a;if(Object[_0x2f9080(0x24a)]['hasOwnProperty'][_0x2f9080(0x1ac)](_0x2c7e7a,_0x2f9080(0x1a6)))return _0x2c7e7a;var _0x1e276d=_0x2c7e7a[_0x2f9080(0x312)];if(typeof _0x1e276d==_0x2f9080(0x2b3)){var _0x4ec7f6=function _0x3fa313(){const _0x11436b=_0x2f9080;var _0x9f999e=!0x1;try{_0x9f999e=this instanceof _0x3fa313;}catch{}return _0x9f999e?Reflect[_0x11436b(0x2ce)](_0x1e276d,arguments,this['constructor']):_0x1e276d[_0x11436b(0x24b)](this,arguments);};_0x4ec7f6[_0x2f9080(0x24a)]=_0x1e276d['prototype'];}else _0x4ec7f6={};return Object['defineProperty'](_0x4ec7f6,_0x2f9080(0x1a6),{'value':!0x0}),Object[_0x2f9080(0x2ad)](_0x2c7e7a)[_0x2f9080(0x2cc)](function(_0x5a6385){const _0x4b1d46=_0x2f9080;var _0x1e2325=Object[_0x4b1d46(0x23e)](_0x2c7e7a,_0x5a6385);Object[_0x4b1d46(0x27d)](_0x4ec7f6,_0x5a6385,_0x1e2325['get']?_0x1e2325:{'enumerable':!0x0,'get':function(){return _0x2c7e7a[_0x5a6385];}});}),_0x4ec7f6;}var se={'exports':{}},ge,Ge;function H(){const _0xd1c0b=_0x51270a;if(Ge)return ge;Ge=0x1;const _0x2e7e2d=[_0xd1c0b(0x191),_0xd1c0b(0x2a8),_0xd1c0b(0x253)],_0x3af0d7=typeof Blob<'u';return _0x3af0d7&&_0x2e7e2d[_0xd1c0b(0x241)](_0xd1c0b(0x1e3)),ge={'BINARY_TYPES':_0x2e7e2d,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0xd1c0b(0x31c),'hasBlob':_0x3af0d7,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xd1c0b(0x257)),'kStatusCode':Symbol(_0xd1c0b(0x1f3)),'kWebSocket':Symbol(_0xd1c0b(0x186)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x51270a(0x27d)]({'__proto__':null,'default':Nt},Symbol[_0x51270a(0x336)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x5bb696=_0x51270a;if(Ve)return se[_0x5bb696(0x25e)];Ve=0x1;const {EMPTY_BUFFER:_0x3c8a91}=H(),_0x4b8bf2=Buffer[Symbol[_0x5bb696(0x2ea)]];function _0x2624fb(_0x48bb46,_0x268756){const _0x465a6f=_0x5bb696;if(_0x48bb46['length']===0x0)return _0x3c8a91;if(_0x48bb46[_0x465a6f(0x1b2)]===0x1)return _0x48bb46[0x0];const _0x5dfa9e=Buffer[_0x465a6f(0x1fb)](_0x268756);let _0x144d92=0x0;for(let _0x2ea85d=0x0;_0x2ea85d<_0x48bb46[_0x465a6f(0x1b2)];_0x2ea85d++){const _0x254d9a=_0x48bb46[_0x2ea85d];_0x5dfa9e[_0x465a6f(0x1b3)](_0x254d9a,_0x144d92),_0x144d92+=_0x254d9a[_0x465a6f(0x1b2)];}return _0x144d92<_0x268756?new _0x4b8bf2(_0x5dfa9e[_0x465a6f(0x1b7)],_0x5dfa9e[_0x465a6f(0x318)],_0x144d92):_0x5dfa9e;}function _0x2ce6c0(_0x1da2bd,_0x3c6932,_0x3081fb,_0x140bbe,_0x1b98b2){for(let _0x14b5b2=0x0;_0x14b5b2<_0x1b98b2;_0x14b5b2++)_0x3081fb[_0x140bbe+_0x14b5b2]=_0x1da2bd[_0x14b5b2]^_0x3c6932[_0x14b5b2&0x3];}function _0x541352(_0x31483e,_0x5388a6){const _0x4e93f9=_0x5bb696;for(let _0x5b5690=0x0;_0x5b5690<_0x31483e[_0x4e93f9(0x1b2)];_0x5b5690++)_0x31483e[_0x5b5690]^=_0x5388a6[_0x5b5690&0x3];}function _0x2a0499(_0x27682b){const _0x13cf6e=_0x5bb696;return _0x27682b[_0x13cf6e(0x1b2)]===_0x27682b[_0x13cf6e(0x1b7)][_0x13cf6e(0x2be)]?_0x27682b[_0x13cf6e(0x1b7)]:_0x27682b['buffer']['slice'](_0x27682b['byteOffset'],_0x27682b['byteOffset']+_0x27682b['length']);}function _0x45aedc(_0x2c913d){const _0x58309d=_0x5bb696;if(_0x45aedc['readOnly']=!0x0,Buffer[_0x58309d(0x2c7)](_0x2c913d))return _0x2c913d;let _0x4a2758;return _0x2c913d instanceof ArrayBuffer?_0x4a2758=new _0x4b8bf2(_0x2c913d):ArrayBuffer[_0x58309d(0x277)](_0x2c913d)?_0x4a2758=new _0x4b8bf2(_0x2c913d[_0x58309d(0x1b7)],_0x2c913d[_0x58309d(0x318)],_0x2c913d['byteLength']):(_0x4a2758=Buffer[_0x58309d(0x2c3)](_0x2c913d),_0x45aedc[_0x58309d(0x326)]=!0x1),_0x4a2758;}if(se[_0x5bb696(0x25e)]={'concat':_0x2624fb,'mask':_0x2ce6c0,'toArrayBuffer':_0x2a0499,'toBuffer':_0x45aedc,'unmask':_0x541352},!process[_0x5bb696(0x251)][_0x5bb696(0x1fd)])try{const _0x4094e8=Lt;se[_0x5bb696(0x25e)][_0x5bb696(0x276)]=function(_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d){_0xaede9d<0x30?_0x2ce6c0(_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d):_0x4094e8['mask'](_0x402d97,_0x3141e5,_0x160988,_0x1a5a6f,_0xaede9d);},se['exports'][_0x5bb696(0x2bc)]=function(_0x290590,_0x9ab764){const _0x30a9a4=_0x5bb696;_0x290590[_0x30a9a4(0x1b2)]<0x20?_0x541352(_0x290590,_0x9ab764):_0x4094e8[_0x30a9a4(0x2bc)](_0x290590,_0x9ab764);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x16b276=_0x51270a;if(He)return ye;He=0x1;const _0x27a958=Symbol(_0x16b276(0x18d)),_0x37af12=Symbol(_0x16b276(0x21b));class _0x27aecf{constructor(_0x1a5083){const _0x190bf0=_0x16b276;this[_0x27a958]=()=>{this['pending']--,this[_0x37af12]();},this[_0x190bf0(0x29e)]=_0x1a5083||0x1/0x0,this[_0x190bf0(0x23a)]=[],this[_0x190bf0(0x2af)]=0x0;}[_0x16b276(0x1d5)](_0xd10ec2){const _0x240a82=_0x16b276;this['jobs'][_0x240a82(0x241)](_0xd10ec2),this[_0x37af12]();}[_0x37af12](){const _0x1c2265=_0x16b276;if(this[_0x1c2265(0x2af)]!==this[_0x1c2265(0x29e)]&&this[_0x1c2265(0x23a)][_0x1c2265(0x1b2)]){const _0x3d3378=this[_0x1c2265(0x23a)][_0x1c2265(0x182)]();this[_0x1c2265(0x2af)]++,_0x3d3378(this[_0x27a958]);}}}return ye=_0x27aecf,ye;}var ve,ze;function _0x1e7a(){const _0x55c32a=['_read','_removeListeners','readOnly','_write','_decompress','http:','errorEmitted','listenerCount','close','Invalid\x20value\x20for\x20parameter\x20\x22','authorization','_doCreateSocket','client','Sec-WebSocket-Protocol:\x20','bind','WS_ERR_UNEXPECTED_MASK','kWasClean','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','toStringTag','_bufferedBytes','consume','Sec-WebSocket-Extensions:\x20','ws+unix:','Connection:\x20Upgrade','terminate','href','_writableState','hasOwnProperty','sha1','setHeader','invalid\x20UTF-8\x20sequence','map','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','IConfigService','_errored','method','maxPayload','shift','_req','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','zlibInflateOptions','websocket','replace','Max\x20payload\x20size\x20exceeded','resume','protocol','drain','getPayloadLength64','kDone','readyState','slice','warn','nodebuffer','clients','format','isIP','auth','3FZgTfr','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','catch','writeUInt16BE','Unexpected\x20end\x20of\x20input','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_registerDependencies','7863895Aurvqy','_receiver','flush','_bufferedAmount','needDrain','Origin','_autoPong','dequeue','_inflate','__esModule','redirect','createSocket','_mask','callback','onerror','call','_fragmented','reason','\x20(supported\x20versions:\x20','RSV1\x20must\x20be\x20clear','listen','length','set','WS_ERR_UNEXPECTED_RSV_2_3','server','13,\x208','buffer','_sender','path','destroy','_shouldEmitClose','Invalid\x20Sec-WebSocket-Protocol\x20header','setTimeout','_firstFragment','_skipUTF8Validation','pipe','createDeflateRaw','response','compress','_paused','_options','pathname','readUInt16BE','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','CollaborationSocketService','isInteger','Upgrade','location','The\x20\x22','sec-websocket-version','wasClean','_deflate','Sec-WebSocket-Origin','sec-websocket-protocol','3466220BGoFRs','acceptAsServer','add','_extensions','onopen','Observable','Basic\x20','registerDependencies','316442HFMGVB','Disposable','clientTracking','_isServer','_generateMask','WS_ERR_INVALID_OPCODE','text/plain','kByteLength','blob','DisposableCollection','hostname','_masked','dispatch','total-length','_readableState','toLowerCase','wss:','toString','number','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','open','share','_closeFrameReceived','Invalid\x20URL:\x20','status-code','haveLength','_loop','1702656ZAhRgX','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','server_max_window_bits','396919yvcZEG','_socket','allocUnsafe','error','WS_NO_BUFFER_UTIL','CONNECTING','conclude','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','WS_ERR_UNEXPECTED_RSV_1','cork','_originalIpc','once','Unexpected\x20character\x20at\x20index\x20','_totalPayloadLength','_compress','_errorEmitted','kData','unshift','\x0d\x0a\x0d\x0a','autoPong','Module','startsWith','MASK\x20must\x20be\x20clear','\x22:\x20','kCode','request','host','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','File','OPEN','object','Unknown\x20parameter\x20\x22','getData','WS_ERR_INVALID_UTF8','kRun','destroyed','indexOf','setConfig','isPaused','Blob','listeners','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','handleEvent','Z_DEFAULT_WINDOWBITS','removeEventListener','Server\x20sent\x20an\x20invalid\x20subprotocol','96pAzBcc','authorized','decompress','Z_SYNC_FLUSH','_queue','offer','invalid\x20opcode\x200','emit','_injector','join','data','dataMessage','_messageLength','statusCode','followRedirects','acceptAsClient','next','UniverCollaborationClientNodePlugin','noServer','jobs','username','digest','socket','getOwnPropertyDescriptor','\x22\x20subprotocol\x20is\x20duplicated','clientMaxWindowBits','push','The\x20URL\x27s\x20pathname\x20is\x20empty','_protocol','Cookie','upgrade','generateMask','Plugin','_compressed','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','prototype','apply','getMask','CLOSED','search','writeUIntBE','_maskBuffer','env','concat','fragments','kMessage','_closeFrameSent','removeListener','kListener','nextTick','Injector','pong','pause','_allowSynchronousEvents','_originalHostOrSocketPath','exports','HTTPService','alloc','_readyState','listening','timeout','WS_NO_UTF_8_VALIDATE','Unsupported\x20protocol\x20version:\x20','reset','invalid\x20status\x20code\x20','invalid\x20payload\x20length\x20','connect','stream','setSocket','perMessageDeflate','_fin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kAborted','client_no_context_takeover','createConnection','UniverCollaborationClientPlugin','GET','test','password','mask','isView','pow','maskBuffer','WebSocket','abort','controlMessage','defineProperty','CLOSING','backlog','completeUpgrade','Maximum\x20redirects\x20exceeded','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','getBlobData','defaultPort','_server','Server\x20sent\x20no\x20subprotocol','captureStackTrace','frame','client_max_window_bits','server_no_context_takeover','createError','8MkOYSL','getPayloadLength16','_configService','origin','isValidUTF8','concurrencyLimit','has','charCodeAt','parse','handleProtocols','extensionName','permessage-deflate','FIN\x20must\x20be\x20set','toDisposable','uncork','Unexpected\x20server\x20response:\x20','_max_window_bits','_buffers','concurrency','HTTP/1.1\x20101\x20Switching\x20Protocols','verifyClient','_closeCode','_maxPayload','\x22\x20must\x20have\x20only\x20a\x20single\x20value','sec-websocket-extensions','kError','17583770tdCKQU','message','arraybuffer','createInflateRaw','_closeMessage','accept','_redirects','keys','emitClose','pending','size','kReason','Parameter\x20\x22','function','readUInt32BE','port','type','customHeaders','maxRedirects','params','send','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','unmask','extensions','byteLength','STATUS_CODES','normalizeParams','Invalid\x20Sec-WebSocket-Extensions\x20header','wsClientError','from','setNoDelay','enqueue','_no_context_takeover','isBuffer','fin','registerHTTPInterceptor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','shouldHandle','forEach','getInfo','construct','bufferedAmount','skipUTF8Validation','threshold','then','onmessage','create','end','_state','serverNoContextTakeover','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_closeTimer','_url','getConfig','socketPath','cleanup','WebSocket\x20is\x20not\x20open:\x20readyState\x20','sendFrame','The\x20URL\x20contains\x20a\x20fragment\x20identifier','invalid\x20opcode\x20','entries','write','connection','protocolVersion','address','Invalid\x20Sec-WebSocket-Accept\x20header','_fragments','objectMode','species','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','binaryType','read','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','startLoop','code','servername','_payloadLength','_opcode','text/html','addEventListener','hash','serverMaxWindowBits','options','headers','1899621fnBIch','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','base64','target','_final','Inject','find','removeAllListeners','The\x20server\x20is\x20not\x20running','readable','isArray','NodeCollaborationSocketService','HTTP/1.1\x20','encrypted','allowSynchronousEvents','handleUpgrade','arrayBuffer','finish','delete','dispose','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','url','endEmitted','default','string','_threshold','ping','Invalid\x20Upgrade\x20header','includes','byteOffset','_destroy','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','clientNoContextTakeover','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_binaryType','sec-websocket-origin','buffers','writeHead','DependentOn','MASK\x20must\x20be\x20set','finished'];_0x1e7a=function(){return _0x55c32a;};return _0x1e7a();}function he(){const _0x15c066=_0x51270a;if(ze)return ve;ze=0x1;const _0x456813=bt,_0x4a54dd=ce(),_0x56fb19=Pt(),{kStatusCode:_0x3c44b1}=H(),_0x24a787=Buffer[Symbol['species']],_0x5ebb2b=Buffer[_0x15c066(0x2c3)]([0x0,0x0,0xff,0xff]),_0x77f940=Symbol(_0x15c066(0x297)),_0x28af08=Symbol(_0x15c066(0x1e8)),_0x51a176=Symbol(_0x15c066(0x1aa)),_0x4b845a=Symbol(_0x15c066(0x31f)),_0x213db7=Symbol('error');let _0x5028cd;class _0x3dd467{constructor(_0x56fa5b,_0x5eba84,_0xf32627){const _0x424121=_0x15c066;if(this[_0x424121(0x2a2)]=_0xf32627|0x0,this[_0x424121(0x1c5)]=_0x56fa5b||{},this['_threshold']=this[_0x424121(0x1c5)][_0x424121(0x2d1)]!==void 0x0?this[_0x424121(0x1c5)][_0x424121(0x2d1)]:0x400,this['_isServer']=!!_0x5eba84,this[_0x424121(0x1d0)]=null,this[_0x424121(0x1a5)]=null,this['params']=null,!_0x5028cd){const _0x14cf5c=this['_options'][_0x424121(0x291)]!==void 0x0?this[_0x424121(0x1c5)][_0x424121(0x291)]:0xa;_0x5028cd=new _0x56fb19(_0x14cf5c);}}static get[_0x15c066(0x296)](){const _0x3d5515=_0x15c066;return _0x3d5515(0x297);}['offer'](){const _0x5424a1=_0x15c066,_0x2e4130={};return this['_options'][_0x5424a1(0x2d7)]&&(_0x2e4130[_0x5424a1(0x28a)]=!0x0),this[_0x5424a1(0x1c5)][_0x5424a1(0x31b)]&&(_0x2e4130['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x2e4130[_0x5424a1(0x1f8)]=this[_0x5424a1(0x1c5)][_0x5424a1(0x2f7)]),this[_0x5424a1(0x1c5)][_0x5424a1(0x240)]?_0x2e4130[_0x5424a1(0x289)]=this[_0x5424a1(0x1c5)][_0x5424a1(0x240)]:this['_options']['clientMaxWindowBits']==null&&(_0x2e4130['client_max_window_bits']=!0x0),_0x2e4130;}[_0x15c066(0x2ab)](_0x2f7f25){const _0x1082d2=_0x15c066;return _0x2f7f25=this[_0x1082d2(0x2c0)](_0x2f7f25),this[_0x1082d2(0x2b9)]=this[_0x1082d2(0x1de)]?this[_0x1082d2(0x1d4)](_0x2f7f25):this[_0x1082d2(0x236)](_0x2f7f25),this[_0x1082d2(0x2b9)];}[_0x15c066(0x2dd)](){const _0xfe8d68=_0x15c066;if(this['_inflate']&&(this[_0xfe8d68(0x1a5)][_0xfe8d68(0x32c)](),this[_0xfe8d68(0x1a5)]=null),this[_0xfe8d68(0x1d0)]){const _0x24503f=this['_deflate'][_0x51a176];this['_deflate'][_0xfe8d68(0x32c)](),this['_deflate']=null,_0x24503f&&_0x24503f(new Error(_0xfe8d68(0x184)));}}[_0x15c066(0x1d4)](_0x5e0e63){const _0x213c42=_0x15c066,_0xbece69=this[_0x213c42(0x1c5)],_0x2ea48b=_0x5e0e63[_0x213c42(0x301)](_0x346f54=>!(_0xbece69[_0x213c42(0x2d7)]===!0x1&&_0x346f54['server_no_context_takeover']||_0x346f54['server_max_window_bits']&&(_0xbece69['serverMaxWindowBits']===!0x1||typeof _0xbece69['serverMaxWindowBits']==_0x213c42(0x1ed)&&_0xbece69[_0x213c42(0x2f7)]>_0x346f54[_0x213c42(0x1f8)])||typeof _0xbece69[_0x213c42(0x240)]==_0x213c42(0x1ed)&&!_0x346f54[_0x213c42(0x289)]));if(!_0x2ea48b)throw new Error(_0x213c42(0x197));return _0xbece69[_0x213c42(0x2d7)]&&(_0x2ea48b[_0x213c42(0x28a)]=!0x0),_0xbece69[_0x213c42(0x31b)]&&(_0x2ea48b[_0x213c42(0x270)]=!0x0),typeof _0xbece69[_0x213c42(0x2f7)]==_0x213c42(0x1ed)&&(_0x2ea48b[_0x213c42(0x1f8)]=_0xbece69[_0x213c42(0x2f7)]),typeof _0xbece69[_0x213c42(0x240)]=='number'?_0x2ea48b[_0x213c42(0x289)]=_0xbece69['clientMaxWindowBits']:(_0x2ea48b[_0x213c42(0x289)]===!0x0||_0xbece69[_0x213c42(0x240)]===!0x1)&&delete _0x2ea48b['client_max_window_bits'],_0x2ea48b;}['acceptAsClient'](_0x31416f){const _0x4aa0b9=_0x15c066,_0x14b86f=_0x31416f[0x0];if(this[_0x4aa0b9(0x1c5)]['clientNoContextTakeover']===!0x1&&_0x14b86f[_0x4aa0b9(0x270)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x14b86f[_0x4aa0b9(0x289)])typeof this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits']=='number'&&(_0x14b86f[_0x4aa0b9(0x289)]=this[_0x4aa0b9(0x1c5)][_0x4aa0b9(0x240)]);else{if(this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits']===!0x1||typeof this[_0x4aa0b9(0x1c5)][_0x4aa0b9(0x240)]==_0x4aa0b9(0x1ed)&&_0x14b86f[_0x4aa0b9(0x289)]>this[_0x4aa0b9(0x1c5)]['clientMaxWindowBits'])throw new Error(_0x4aa0b9(0x2ca));}return _0x14b86f;}[_0x15c066(0x2c0)](_0x26b4d7){const _0x117826=_0x15c066;return _0x26b4d7[_0x117826(0x2cc)](_0xf9785f=>{const _0x39f05f=_0x117826;Object[_0x39f05f(0x2ad)](_0xf9785f)[_0x39f05f(0x2cc)](_0x37c5b3=>{const _0x118c01=_0x39f05f;let _0x3dd88e=_0xf9785f[_0x37c5b3];if(_0x3dd88e[_0x118c01(0x1b2)]>0x1)throw new Error(_0x118c01(0x2b2)+_0x37c5b3+_0x118c01(0x2a3));if(_0x3dd88e=_0x3dd88e[0x0],_0x37c5b3==='client_max_window_bits'){if(_0x3dd88e!==!0x0){const _0x1bed11=+_0x3dd88e;if(!Number[_0x118c01(0x1ca)](_0x1bed11)||_0x1bed11<0x8||_0x1bed11>0xf)throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);_0x3dd88e=_0x1bed11;}else{if(!this['_isServer'])throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);}}else{if(_0x37c5b3==='server_max_window_bits'){const _0x423a93=+_0x3dd88e;if(!Number['isInteger'](_0x423a93)||_0x423a93<0x8||_0x423a93>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);_0x3dd88e=_0x423a93;}else{if(_0x37c5b3===_0x118c01(0x270)||_0x37c5b3==='server_no_context_takeover'){if(_0x3dd88e!==!0x0)throw new TypeError(_0x118c01(0x32d)+_0x37c5b3+_0x118c01(0x210)+_0x3dd88e);}else throw new Error(_0x118c01(0x218)+_0x37c5b3+'\x22');}}_0xf9785f[_0x37c5b3]=_0x3dd88e;});}),_0x26b4d7;}[_0x15c066(0x229)](_0x1daa3d,_0x1ad668,_0x38f34f){const _0x471e4f=_0x15c066;_0x5028cd[_0x471e4f(0x1d5)](_0xccc34e=>{this['_decompress'](_0x1daa3d,_0x1ad668,(_0x590ea2,_0x3e1bad)=>{_0xccc34e(),_0x38f34f(_0x590ea2,_0x3e1bad);});});}[_0x15c066(0x1c3)](_0x171f20,_0x8a15b3,_0x33df6f){_0x5028cd['add'](_0x4ebd8d=>{const _0x2c67c9=_0x22a9;this[_0x2c67c9(0x207)](_0x171f20,_0x8a15b3,(_0x2e1edd,_0x2d37e5)=>{_0x4ebd8d(),_0x33df6f(_0x2e1edd,_0x2d37e5);});});}[_0x15c066(0x328)](_0x2e2246,_0x1d167c,_0x5e6ed6){const _0x29dba8=_0x15c066,_0x4db733=this['_isServer']?'client':_0x29dba8(0x1b5);if(!this[_0x29dba8(0x1a5)]){const _0x258ba9=_0x4db733+'_max_window_bits',_0x1f6640=typeof this['params'][_0x258ba9]!=_0x29dba8(0x1ed)?_0x456813[_0x29dba8(0x224)]:this[_0x29dba8(0x2b9)][_0x258ba9];this[_0x29dba8(0x1a5)]=_0x456813[_0x29dba8(0x2a9)]({...this[_0x29dba8(0x1c5)][_0x29dba8(0x185)],'windowBits':_0x1f6640}),this['_inflate'][_0x77f940]=this,this['_inflate'][_0x28af08]=0x0,this[_0x29dba8(0x1a5)][_0x4b845a]=[],this[_0x29dba8(0x1a5)]['on']('error',_0x2060c5),this[_0x29dba8(0x1a5)]['on'](_0x29dba8(0x231),_0x4ff07f);}this['_inflate'][_0x51a176]=_0x5e6ed6,this[_0x29dba8(0x1a5)][_0x29dba8(0x2e3)](_0x2e2246),_0x1d167c&&this['_inflate'][_0x29dba8(0x2e3)](_0x5ebb2b),this[_0x29dba8(0x1a5)][_0x29dba8(0x19f)](()=>{const _0x2511f2=_0x29dba8,_0x50f8c3=this[_0x2511f2(0x1a5)][_0x213db7];if(_0x50f8c3){this[_0x2511f2(0x1a5)][_0x2511f2(0x32c)](),this[_0x2511f2(0x1a5)]=null,_0x5e6ed6(_0x50f8c3);return;}const _0x3e9f82=_0x4a54dd['concat'](this[_0x2511f2(0x1a5)][_0x4b845a],this[_0x2511f2(0x1a5)][_0x28af08]);this['_inflate']['_readableState'][_0x2511f2(0x311)]?(this[_0x2511f2(0x1a5)][_0x2511f2(0x32c)](),this['_inflate']=null):(this[_0x2511f2(0x1a5)][_0x28af08]=0x0,this[_0x2511f2(0x1a5)][_0x4b845a]=[],_0x1d167c&&this[_0x2511f2(0x2b9)][_0x4db733+_0x2511f2(0x2c6)]&&this['_inflate'][_0x2511f2(0x266)]()),_0x5e6ed6(null,_0x3e9f82);});}['_compress'](_0x39c32a,_0x525688,_0x2bb021){const _0x40a408=_0x15c066,_0xe8cfd1=this[_0x40a408(0x1de)]?_0x40a408(0x1b5):_0x40a408(0x330);if(!this[_0x40a408(0x1d0)]){const _0x5cf436=_0xe8cfd1+_0x40a408(0x29c),_0x155cbc=typeof this[_0x40a408(0x2b9)][_0x5cf436]!=_0x40a408(0x1ed)?_0x456813[_0x40a408(0x224)]:this[_0x40a408(0x2b9)][_0x5cf436];this[_0x40a408(0x1d0)]=_0x456813[_0x40a408(0x1c1)]({...this[_0x40a408(0x1c5)]['zlibDeflateOptions'],'windowBits':_0x155cbc}),this['_deflate'][_0x28af08]=0x0,this['_deflate'][_0x4b845a]=[],this[_0x40a408(0x1d0)]['on'](_0x40a408(0x231),_0x3d1abf);}this['_deflate'][_0x51a176]=_0x2bb021,this[_0x40a408(0x1d0)][_0x40a408(0x2e3)](_0x39c32a),this[_0x40a408(0x1d0)][_0x40a408(0x19f)](_0x456813[_0x40a408(0x22a)],()=>{const _0x9869c9=_0x40a408;if(!this[_0x9869c9(0x1d0)])return;let _0x270bea=_0x4a54dd[_0x9869c9(0x252)](this[_0x9869c9(0x1d0)][_0x4b845a],this[_0x9869c9(0x1d0)][_0x28af08]);_0x525688&&(_0x270bea=new _0x24a787(_0x270bea[_0x9869c9(0x1b7)],_0x270bea[_0x9869c9(0x318)],_0x270bea['length']-0x4)),this[_0x9869c9(0x1d0)][_0x51a176]=null,this['_deflate'][_0x28af08]=0x0,this[_0x9869c9(0x1d0)][_0x4b845a]=[],_0x525688&&this[_0x9869c9(0x2b9)][_0xe8cfd1+_0x9869c9(0x2c6)]&&this[_0x9869c9(0x1d0)][_0x9869c9(0x266)](),_0x2bb021(null,_0x270bea);});}}ve=_0x3dd467;function _0x3d1abf(_0x3a5deb){const _0x533524=_0x15c066;this[_0x4b845a][_0x533524(0x241)](_0x3a5deb),this[_0x28af08]+=_0x3a5deb[_0x533524(0x1b2)];}function _0x4ff07f(_0x1ccbe6){const _0x4a3af1=_0x15c066;if(this[_0x28af08]+=_0x1ccbe6['length'],this[_0x77f940][_0x4a3af1(0x2a2)]<0x1||this[_0x28af08]<=this[_0x77f940][_0x4a3af1(0x2a2)]){this[_0x4b845a]['push'](_0x1ccbe6);return;}this[_0x213db7]=new RangeError(_0x4a3af1(0x188)),this[_0x213db7]['code']=_0x4a3af1(0x19b),this[_0x213db7][_0x3c44b1]=0x3f1,this[_0x4a3af1(0x256)](_0x4a3af1(0x231),_0x4ff07f),this['reset']();}function _0x2060c5(_0x5ed2fe){const _0x174c97=_0x15c066;if(this[_0x77f940][_0x174c97(0x1a5)]=null,this[_0x213db7]){this[_0x51a176](this[_0x213db7]);return;}_0x5ed2fe[_0x3c44b1]=0x3ef,this[_0x51a176](_0x5ed2fe);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x51270a(0x336)],{'value':_0x51270a(0x20d)})),Bt=at(Rt);var Ye;function ae(){const _0x532f51=_0x51270a;if(Ye)return ie[_0x532f51(0x25e)];Ye=0x1;const {isUtf8:_0x2aad44}=wt,{hasBlob:_0x137e65}=H(),_0x2c312f=[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 _0x34060a(_0x2749a5){return _0x2749a5>=0x3e8&&_0x2749a5<=0x3f6&&_0x2749a5!==0x3ec&&_0x2749a5!==0x3ed&&_0x2749a5!==0x3ee||_0x2749a5>=0xbb8&&_0x2749a5<=0x1387;}function _0x25b9ec(_0x5572c4){const _0x576b50=_0x532f51,_0xfcfc55=_0x5572c4[_0x576b50(0x1b2)];let _0x1fc71c=0x0;for(;_0x1fc71c<_0xfcfc55;)if((_0x5572c4[_0x1fc71c]&0x80)===0x0)_0x1fc71c++;else{if((_0x5572c4[_0x1fc71c]&0xe0)===0xc0){if(_0x1fc71c+0x1===_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c]&0xfe)===0xc0)return!0x1;_0x1fc71c+=0x2;}else{if((_0x5572c4[_0x1fc71c]&0xf0)===0xe0){if(_0x1fc71c+0x2>=_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x2]&0xc0)!==0x80||_0x5572c4[_0x1fc71c]===0xe0&&(_0x5572c4[_0x1fc71c+0x1]&0xe0)===0x80||_0x5572c4[_0x1fc71c]===0xed&&(_0x5572c4[_0x1fc71c+0x1]&0xe0)===0xa0)return!0x1;_0x1fc71c+=0x3;}else{if((_0x5572c4[_0x1fc71c]&0xf8)===0xf0){if(_0x1fc71c+0x3>=_0xfcfc55||(_0x5572c4[_0x1fc71c+0x1]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x2]&0xc0)!==0x80||(_0x5572c4[_0x1fc71c+0x3]&0xc0)!==0x80||_0x5572c4[_0x1fc71c]===0xf0&&(_0x5572c4[_0x1fc71c+0x1]&0xf0)===0x80||_0x5572c4[_0x1fc71c]===0xf4&&_0x5572c4[_0x1fc71c+0x1]>0x8f||_0x5572c4[_0x1fc71c]>0xf4)return!0x1;_0x1fc71c+=0x4;}else return!0x1;}}}return!0x0;}function _0x358f42(_0x224f12){const _0x216620=_0x532f51;return _0x137e65&&typeof _0x224f12==_0x216620(0x217)&&typeof _0x224f12['arrayBuffer']=='function'&&typeof _0x224f12[_0x216620(0x2b6)]==_0x216620(0x313)&&typeof _0x224f12[_0x216620(0x26a)]=='function'&&(_0x224f12[Symbol['toStringTag']]===_0x216620(0x220)||_0x224f12[Symbol[_0x216620(0x336)]]===_0x216620(0x215));}if(ie[_0x532f51(0x25e)]={'isBlob':_0x358f42,'isValidStatusCode':_0x34060a,'isValidUTF8':_0x25b9ec,'tokenChars':_0x2c312f},_0x2aad44)ie[_0x532f51(0x25e)]['isValidUTF8']=function(_0x534ea8){return _0x534ea8['length']<0x18?_0x25b9ec(_0x534ea8):_0x2aad44(_0x534ea8);};else{if(!process[_0x532f51(0x251)][_0x532f51(0x264)])try{const _0x57c5c5=Bt;ie['exports'][_0x532f51(0x290)]=function(_0x1d17af){const _0x365f54=_0x532f51;return _0x1d17af[_0x365f54(0x1b2)]<0x20?_0x25b9ec(_0x1d17af):_0x57c5c5(_0x1d17af);};}catch{}}return ie[_0x532f51(0x25e)];}var Se,Ke;function lt(){const _0x15daf8=_0x51270a;if(Ke)return Se;Ke=0x1;const {Writable:_0x12750a}=oe,_0x1001af=he(),{BINARY_TYPES:_0x5be05a,EMPTY_BUFFER:_0x3f8ae0,kStatusCode:_0x531700,kWebSocket:_0x4b3ca3}=H(),{concat:_0x3bf982,toArrayBuffer:_0x39cd05,unmask:_0x381e18}=ce(),{isValidStatusCode:_0x34458a,isValidUTF8:_0xe6e3b6}=ae(),_0x495678=Buffer[Symbol[_0x15daf8(0x2ea)]],_0x548391=0x0,_0x23329e=0x1,_0x149e25=0x2,_0x4966af=0x3,_0x2091dc=0x4,_0x34871d=0x5,_0x17bcba=0x6;class _0x1db027 extends _0x12750a{constructor(_0x577dc2={}){const _0x51584e=_0x15daf8;super(),this[_0x51584e(0x25c)]=_0x577dc2[_0x51584e(0x309)]!==void 0x0?_0x577dc2[_0x51584e(0x309)]:!0x0,this[_0x51584e(0x31d)]=_0x577dc2[_0x51584e(0x2ec)]||_0x5be05a[0x0],this['_extensions']=_0x577dc2['extensions']||{},this[_0x51584e(0x1de)]=!!_0x577dc2['isServer'],this[_0x51584e(0x2a2)]=_0x577dc2[_0x51584e(0x181)]|0x0,this[_0x51584e(0x1bf)]=!!_0x577dc2['skipUTF8Validation'],this[_0x4b3ca3]=void 0x0,this[_0x51584e(0x337)]=0x0,this['_buffers']=[],this[_0x51584e(0x248)]=!0x1,this[_0x51584e(0x2f2)]=0x0,this[_0x51584e(0x1a9)]=void 0x0,this[_0x51584e(0x1ad)]=0x0,this['_masked']=!0x1,this[_0x51584e(0x26d)]=!0x1,this[_0x51584e(0x2f3)]=0x0,this[_0x51584e(0x206)]=0x0,this[_0x51584e(0x233)]=0x0,this[_0x51584e(0x2e8)]=[],this[_0x51584e(0x17f)]=!0x1,this[_0x51584e(0x1f5)]=!0x1,this['_state']=_0x548391;}[_0x15daf8(0x327)](_0x5d05ee,_0x28e220,_0x5362fe){const _0x132a61=_0x15daf8;if(this['_opcode']===0x8&&this[_0x132a61(0x2d6)]==_0x548391)return _0x5362fe();this[_0x132a61(0x337)]+=_0x5d05ee[_0x132a61(0x1b2)],this['_buffers'][_0x132a61(0x241)](_0x5d05ee),this[_0x132a61(0x2ef)](_0x5362fe);}[_0x15daf8(0x338)](_0x187388){const _0x348003=_0x15daf8;if(this[_0x348003(0x337)]-=_0x187388,_0x187388===this[_0x348003(0x29d)][0x0][_0x348003(0x1b2)])return this[_0x348003(0x29d)][_0x348003(0x182)]();if(_0x187388<this[_0x348003(0x29d)][0x0]['length']){const _0x26de2e=this['_buffers'][0x0];return this[_0x348003(0x29d)][0x0]=new _0x495678(_0x26de2e[_0x348003(0x1b7)],_0x26de2e[_0x348003(0x318)]+_0x187388,_0x26de2e[_0x348003(0x1b2)]-_0x187388),new _0x495678(_0x26de2e[_0x348003(0x1b7)],_0x26de2e['byteOffset'],_0x187388);}const _0x1560f7=Buffer[_0x348003(0x1fb)](_0x187388);do{const _0x42f24a=this[_0x348003(0x29d)][0x0],_0x2ac24e=_0x1560f7[_0x348003(0x1b2)]-_0x187388;_0x187388>=_0x42f24a[_0x348003(0x1b2)]?_0x1560f7[_0x348003(0x1b3)](this[_0x348003(0x29d)]['shift'](),_0x2ac24e):(_0x1560f7['set'](new Uint8Array(_0x42f24a[_0x348003(0x1b7)],_0x42f24a['byteOffset'],_0x187388),_0x2ac24e),this[_0x348003(0x29d)][0x0]=new _0x495678(_0x42f24a['buffer'],_0x42f24a[_0x348003(0x318)]+_0x187388,_0x42f24a[_0x348003(0x1b2)]-_0x187388)),_0x187388-=_0x42f24a[_0x348003(0x1b2)];}while(_0x187388>0x0);return _0x1560f7;}[_0x15daf8(0x2ef)](_0xb1fee7){const _0x4f908a=_0x15daf8;this['_loop']=!0x0;do switch(this[_0x4f908a(0x2d6)]){case _0x548391:this['getInfo'](_0xb1fee7);break;case _0x23329e:this[_0x4f908a(0x28d)](_0xb1fee7);break;case _0x149e25:this[_0x4f908a(0x18c)](_0xb1fee7);break;case _0x4966af:this[_0x4f908a(0x24c)]();break;case _0x2091dc:this[_0x4f908a(0x219)](_0xb1fee7);break;case _0x34871d:case _0x17bcba:this[_0x4f908a(0x1f5)]=!0x1;return;}while(this[_0x4f908a(0x1f5)]);this[_0x4f908a(0x17f)]||_0xb1fee7();}[_0x15daf8(0x2cd)](_0x4a230e){const _0x4e46f2=_0x15daf8;if(this[_0x4e46f2(0x337)]<0x2){this[_0x4e46f2(0x1f5)]=!0x1;return;}const _0x4673a9=this[_0x4e46f2(0x338)](0x2);if((_0x4673a9[0x0]&0x30)!==0x0){const _0x2cf2b4=this[_0x4e46f2(0x28b)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4e46f2(0x1b4));_0x4a230e(_0x2cf2b4);return;}const _0x28e0f2=(_0x4673a9[0x0]&0x40)===0x40;if(_0x28e0f2&&!this[_0x4e46f2(0x1d6)][_0x1001af[_0x4e46f2(0x296)]]){const _0x239b33=this['createError'](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a230e(_0x239b33);return;}if(this[_0x4e46f2(0x26d)]=(_0x4673a9[0x0]&0x80)===0x80,this['_opcode']=_0x4673a9[0x0]&0xf,this[_0x4e46f2(0x2f2)]=_0x4673a9[0x1]&0x7f,this['_opcode']===0x0){if(_0x28e0f2){const _0x373002=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,_0x4e46f2(0x201));_0x4a230e(_0x373002);return;}if(!this[_0x4e46f2(0x1ad)]){const _0x554b3b=this['createError'](RangeError,_0x4e46f2(0x22d),!0x0,0x3ea,_0x4e46f2(0x1e0));_0x4a230e(_0x554b3b);return;}this[_0x4e46f2(0x2f3)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x4e46f2(0x2f3)]===0x2){if(this[_0x4e46f2(0x1ad)]){const _0x42e245=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x2e1)+this[_0x4e46f2(0x2f3)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4a230e(_0x42e245);return;}this['_compressed']=_0x28e0f2;}else{if(this[_0x4e46f2(0x2f3)]>0x7&&this[_0x4e46f2(0x2f3)]<0xb){if(!this['_fin']){const _0x5aa12d=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x298),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4a230e(_0x5aa12d);return;}if(_0x28e0f2){const _0x28b863=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a230e(_0x28b863);return;}if(this[_0x4e46f2(0x2f2)]>0x7d||this['_opcode']===0x8&&this[_0x4e46f2(0x2f2)]===0x1){const _0x52dc1f=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x268)+this[_0x4e46f2(0x2f2)],!0x0,0x3ea,_0x4e46f2(0x30f));_0x4a230e(_0x52dc1f);return;}}else{const _0x74c63a=this['createError'](RangeError,_0x4e46f2(0x2e1)+this['_opcode'],!0x0,0x3ea,_0x4e46f2(0x1e0));_0x4a230e(_0x74c63a);return;}}}if(!this[_0x4e46f2(0x26d)]&&!this[_0x4e46f2(0x1ad)]&&(this[_0x4e46f2(0x1ad)]=this[_0x4e46f2(0x2f3)]),this[_0x4e46f2(0x1e6)]=(_0x4673a9[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0xe0732d=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x322),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4a230e(_0xe0732d);return;}}else{if(this[_0x4e46f2(0x1e6)]){const _0x5a4561=this[_0x4e46f2(0x28b)](RangeError,_0x4e46f2(0x20f),!0x0,0x3ea,_0x4e46f2(0x333));_0x4a230e(_0x5a4561);return;}}this[_0x4e46f2(0x2f2)]===0x7e?this['_state']=_0x23329e:this['_payloadLength']===0x7f?this[_0x4e46f2(0x2d6)]=_0x149e25:this[_0x4e46f2(0x1f4)](_0x4a230e);}['getPayloadLength16'](_0x1ed3a6){const _0x2d38d0=_0x15daf8;if(this[_0x2d38d0(0x337)]<0x2){this['_loop']=!0x1;return;}this[_0x2d38d0(0x2f2)]=this['consume'](0x2)[_0x2d38d0(0x1c7)](0x0),this[_0x2d38d0(0x1f4)](_0x1ed3a6);}[_0x15daf8(0x18c)](_0x321275){const _0xb18a24=_0x15daf8;if(this[_0xb18a24(0x337)]<0x8){this[_0xb18a24(0x1f5)]=!0x1;return;}const _0x2ac34d=this['consume'](0x8),_0x3885fb=_0x2ac34d[_0xb18a24(0x2b4)](0x0);if(_0x3885fb>Math[_0xb18a24(0x278)](0x2,0x15)-0x1){const _0x171289=this['createError'](RangeError,_0xb18a24(0x214),!0x1,0x3f1,_0xb18a24(0x200));_0x321275(_0x171289);return;}this[_0xb18a24(0x2f2)]=_0x3885fb*Math['pow'](0x2,0x20)+_0x2ac34d[_0xb18a24(0x2b4)](0x4),this[_0xb18a24(0x1f4)](_0x321275);}[_0x15daf8(0x1f4)](_0x2e7eea){const _0x573650=_0x15daf8;if(this[_0x573650(0x2f2)]&&this[_0x573650(0x2f3)]<0x8&&(this['_totalPayloadLength']+=this[_0x573650(0x2f2)],this[_0x573650(0x206)]>this[_0x573650(0x2a2)]&&this[_0x573650(0x2a2)]>0x0)){const _0x26d58e=this[_0x573650(0x28b)](RangeError,_0x573650(0x188),!0x1,0x3f1,_0x573650(0x19b));_0x2e7eea(_0x26d58e);return;}this[_0x573650(0x1e6)]?this[_0x573650(0x2d6)]=_0x4966af:this[_0x573650(0x2d6)]=_0x2091dc;}[_0x15daf8(0x24c)](){const _0x3615a0=_0x15daf8;if(this[_0x3615a0(0x337)]<0x4){this[_0x3615a0(0x1f5)]=!0x1;return;}this[_0x3615a0(0x1a9)]=this[_0x3615a0(0x338)](0x4),this[_0x3615a0(0x2d6)]=_0x2091dc;}[_0x15daf8(0x219)](_0x141325){const _0x8c4470=_0x15daf8;let _0x54b362=_0x3f8ae0;if(this['_payloadLength']){if(this[_0x8c4470(0x337)]<this[_0x8c4470(0x2f2)]){this['_loop']=!0x1;return;}_0x54b362=this[_0x8c4470(0x338)](this[_0x8c4470(0x2f2)]),this['_masked']&&(this[_0x8c4470(0x1a9)][0x0]|this[_0x8c4470(0x1a9)][0x1]|this[_0x8c4470(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x381e18(_0x54b362,this['_mask']);}if(this['_opcode']>0x7){this[_0x8c4470(0x27c)](_0x54b362,_0x141325);return;}if(this['_compressed']){this[_0x8c4470(0x2d6)]=_0x34871d,this[_0x8c4470(0x229)](_0x54b362,_0x141325);return;}_0x54b362[_0x8c4470(0x1b2)]&&(this['_messageLength']=this[_0x8c4470(0x206)],this['_fragments'][_0x8c4470(0x241)](_0x54b362)),this[_0x8c4470(0x232)](_0x141325);}[_0x15daf8(0x229)](_0x5020ac,_0x20ce1b){const _0x2f0aeb=_0x15daf8;this[_0x2f0aeb(0x1d6)][_0x1001af[_0x2f0aeb(0x296)]][_0x2f0aeb(0x229)](_0x5020ac,this[_0x2f0aeb(0x26d)],(_0x5e06ec,_0xcfc692)=>{const _0x3dcd14=_0x2f0aeb;if(_0x5e06ec)return _0x20ce1b(_0x5e06ec);if(_0xcfc692[_0x3dcd14(0x1b2)]){if(this[_0x3dcd14(0x233)]+=_0xcfc692[_0x3dcd14(0x1b2)],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x10f5c5=this[_0x3dcd14(0x28b)](RangeError,_0x3dcd14(0x188),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x20ce1b(_0x10f5c5);return;}this[_0x3dcd14(0x2e8)][_0x3dcd14(0x241)](_0xcfc692);}this[_0x3dcd14(0x232)](_0x20ce1b),this[_0x3dcd14(0x2d6)]===_0x548391&&this[_0x3dcd14(0x2ef)](_0x20ce1b);});}['dataMessage'](_0x5488cc){const _0x175d62=_0x15daf8;if(!this[_0x175d62(0x26d)]){this[_0x175d62(0x2d6)]=_0x548391;return;}const _0x4713e5=this[_0x175d62(0x233)],_0x5659c0=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x175d62(0x233)]=0x0,this[_0x175d62(0x1ad)]=0x0,this[_0x175d62(0x2e8)]=[],this[_0x175d62(0x2f3)]===0x2){let _0x3c400a;this['_binaryType']===_0x175d62(0x191)?_0x3c400a=_0x3bf982(_0x5659c0,_0x4713e5):this[_0x175d62(0x31d)]===_0x175d62(0x2a8)?_0x3c400a=_0x39cd05(_0x3bf982(_0x5659c0,_0x4713e5)):this['_binaryType']===_0x175d62(0x1e3)?_0x3c400a=new Blob(_0x5659c0):_0x3c400a=_0x5659c0,this['_allowSynchronousEvents']?(this[_0x175d62(0x22e)](_0x175d62(0x2a7),_0x3c400a,!0x0),this[_0x175d62(0x2d6)]=_0x548391):(this[_0x175d62(0x2d6)]=_0x17bcba,setImmediate(()=>{const _0x2b9ba3=_0x175d62;this[_0x2b9ba3(0x22e)](_0x2b9ba3(0x2a7),_0x3c400a,!0x0),this[_0x2b9ba3(0x2d6)]=_0x548391,this[_0x2b9ba3(0x2ef)](_0x5488cc);}));}else{const _0x335392=_0x3bf982(_0x5659c0,_0x4713e5);if(!this[_0x175d62(0x1bf)]&&!_0xe6e3b6(_0x335392)){const _0x35f966=this[_0x175d62(0x28b)](Error,_0x175d62(0x17b),!0x0,0x3ef,_0x175d62(0x21a));_0x5488cc(_0x35f966);return;}this[_0x175d62(0x2d6)]===_0x34871d||this[_0x175d62(0x25c)]?(this['emit']('message',_0x335392,!0x1),this['_state']=_0x548391):(this['_state']=_0x17bcba,setImmediate(()=>{const _0x15180b=_0x175d62;this[_0x15180b(0x22e)](_0x15180b(0x2a7),_0x335392,!0x1),this[_0x15180b(0x2d6)]=_0x548391,this[_0x15180b(0x2ef)](_0x5488cc);}));}}['controlMessage'](_0x440e4c,_0x1645dd){const _0x53c4e6=_0x15daf8;if(this[_0x53c4e6(0x2f3)]===0x8){if(_0x440e4c[_0x53c4e6(0x1b2)]===0x0)this['_loop']=!0x1,this[_0x53c4e6(0x22e)](_0x53c4e6(0x1ff),0x3ed,_0x3f8ae0),this['end']();else{const _0x5b8785=_0x440e4c[_0x53c4e6(0x1c7)](0x0);if(!_0x34458a(_0x5b8785)){const _0x3c713e=this[_0x53c4e6(0x28b)](RangeError,_0x53c4e6(0x267)+_0x5b8785,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x1645dd(_0x3c713e);return;}const _0x432eb0=new _0x495678(_0x440e4c[_0x53c4e6(0x1b7)],_0x440e4c[_0x53c4e6(0x318)]+0x2,_0x440e4c[_0x53c4e6(0x1b2)]-0x2);if(!this[_0x53c4e6(0x1bf)]&&!_0xe6e3b6(_0x432eb0)){const _0x15c84e=this[_0x53c4e6(0x28b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x53c4e6(0x21a));_0x1645dd(_0x15c84e);return;}this['_loop']=!0x1,this[_0x53c4e6(0x22e)](_0x53c4e6(0x1ff),_0x5b8785,_0x432eb0),this[_0x53c4e6(0x2d5)]();}this['_state']=_0x548391;return;}this[_0x53c4e6(0x25c)]?(this['emit'](this[_0x53c4e6(0x2f3)]===0x9?_0x53c4e6(0x315):_0x53c4e6(0x25a),_0x440e4c),this[_0x53c4e6(0x2d6)]=_0x548391):(this[_0x53c4e6(0x2d6)]=_0x17bcba,setImmediate(()=>{const _0x8a0be7=_0x53c4e6;this[_0x8a0be7(0x22e)](this[_0x8a0be7(0x2f3)]===0x9?'ping':'pong',_0x440e4c),this[_0x8a0be7(0x2d6)]=_0x548391,this[_0x8a0be7(0x2ef)](_0x1645dd);}));}[_0x15daf8(0x28b)](_0x144973,_0x1a9647,_0x198864,_0x1ebd12,_0x48483a){const _0x311237=_0x15daf8;this[_0x311237(0x1f5)]=!0x1,this[_0x311237(0x17f)]=!0x0;const _0x27b8b2=new _0x144973(_0x198864?'Invalid\x20WebSocket\x20frame:\x20'+_0x1a9647:_0x1a9647);return Error['captureStackTrace'](_0x27b8b2,this[_0x311237(0x28b)]),_0x27b8b2['code']=_0x48483a,_0x27b8b2[_0x531700]=_0x1ebd12,_0x27b8b2;}}return Se=_0x1db027,Se;}var Ee,Xe;function ft(){const _0x5e83af=_0x51270a;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x296977}=oe,{randomFillSync:_0x3f4c4f}=Le,_0x4ceb31=he(),{EMPTY_BUFFER:_0x576cc3,kWebSocket:_0x5b91e8,NOOP:_0x15c189}=H(),{isBlob:_0x1e9481,isValidStatusCode:_0x496892}=ae(),{mask:_0x135bd9,toBuffer:_0x719f96}=ce(),_0x4e936f=Symbol(_0x5e83af(0x1e2)),_0x46770a=Buffer[_0x5e83af(0x260)](0x4),_0x587965=0x8*0x400;let _0x1352b5,_0x181cd4=_0x587965;const _0x4b0bfa=0x0,_0x679e1a=0x1,_0x26d0ae=0x2;class _0x3592fe{constructor(_0x121734,_0x19f0e5,_0x2bb486){const _0x4d9097=_0x5e83af;this[_0x4d9097(0x1d6)]=_0x19f0e5||{},_0x2bb486&&(this[_0x4d9097(0x1df)]=_0x2bb486,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x4d9097(0x1fa)]=_0x121734,this[_0x4d9097(0x1be)]=!0x0,this[_0x4d9097(0x207)]=!0x1,this[_0x4d9097(0x337)]=0x0,this[_0x4d9097(0x22b)]=[],this['_state']=_0x4b0bfa,this[_0x4d9097(0x1ab)]=_0x15c189,this[_0x5b91e8]=void 0x0;}static[_0x5e83af(0x288)](_0x1fab8c,_0x4f2152){const _0x58b294=_0x5e83af;let _0x16c24d,_0x3688ef=!0x1,_0x4e6028=0x2,_0x4529bf=!0x1;_0x4f2152[_0x58b294(0x276)]&&(_0x16c24d=_0x4f2152[_0x58b294(0x279)]||_0x46770a,_0x4f2152[_0x58b294(0x246)]?_0x4f2152[_0x58b294(0x246)](_0x16c24d):(_0x181cd4===_0x587965&&(_0x1352b5===void 0x0&&(_0x1352b5=Buffer[_0x58b294(0x260)](_0x587965)),_0x3f4c4f(_0x1352b5,0x0,_0x587965),_0x181cd4=0x0),_0x16c24d[0x0]=_0x1352b5[_0x181cd4++],_0x16c24d[0x1]=_0x1352b5[_0x181cd4++],_0x16c24d[0x2]=_0x1352b5[_0x181cd4++],_0x16c24d[0x3]=_0x1352b5[_0x181cd4++]),_0x4529bf=(_0x16c24d[0x0]|_0x16c24d[0x1]|_0x16c24d[0x2]|_0x16c24d[0x3])===0x0,_0x4e6028=0x6);let _0x595c5b;typeof _0x1fab8c==_0x58b294(0x313)?(!_0x4f2152[_0x58b294(0x276)]||_0x4529bf)&&_0x4f2152[_0x4e936f]!==void 0x0?_0x595c5b=_0x4f2152[_0x4e936f]:(_0x1fab8c=Buffer[_0x58b294(0x2c3)](_0x1fab8c),_0x595c5b=_0x1fab8c[_0x58b294(0x1b2)]):(_0x595c5b=_0x1fab8c[_0x58b294(0x1b2)],_0x3688ef=_0x4f2152[_0x58b294(0x276)]&&_0x4f2152[_0x58b294(0x326)]&&!_0x4529bf);let _0x4b2e25=_0x595c5b;_0x595c5b>=0x10000?(_0x4e6028+=0x8,_0x4b2e25=0x7f):_0x595c5b>0x7d&&(_0x4e6028+=0x2,_0x4b2e25=0x7e);const _0x2b1fa0=Buffer[_0x58b294(0x1fb)](_0x3688ef?_0x595c5b+_0x4e6028:_0x4e6028);return _0x2b1fa0[0x0]=_0x4f2152[_0x58b294(0x2c8)]?_0x4f2152['opcode']|0x80:_0x4f2152['opcode'],_0x4f2152['rsv1']&&(_0x2b1fa0[0x0]|=0x40),_0x2b1fa0[0x1]=_0x4b2e25,_0x4b2e25===0x7e?_0x2b1fa0[_0x58b294(0x199)](_0x595c5b,0x2):_0x4b2e25===0x7f&&(_0x2b1fa0[0x2]=_0x2b1fa0[0x3]=0x0,_0x2b1fa0[_0x58b294(0x24f)](_0x595c5b,0x4,0x6)),_0x4f2152[_0x58b294(0x276)]?(_0x2b1fa0[0x1]|=0x80,_0x2b1fa0[_0x4e6028-0x4]=_0x16c24d[0x0],_0x2b1fa0[_0x4e6028-0x3]=_0x16c24d[0x1],_0x2b1fa0[_0x4e6028-0x2]=_0x16c24d[0x2],_0x2b1fa0[_0x4e6028-0x1]=_0x16c24d[0x3],_0x4529bf?[_0x2b1fa0,_0x1fab8c]:_0x3688ef?(_0x135bd9(_0x1fab8c,_0x16c24d,_0x2b1fa0,_0x4e6028,_0x595c5b),[_0x2b1fa0]):(_0x135bd9(_0x1fab8c,_0x16c24d,_0x1fab8c,0x0,_0x595c5b),[_0x2b1fa0,_0x1fab8c])):[_0x2b1fa0,_0x1fab8c];}[_0x5e83af(0x32c)](_0x2c9101,_0x2a2a74,_0x4c5a95,_0x4d1ce1){const _0x1ba070=_0x5e83af;let _0x2821a5;if(_0x2c9101===void 0x0)_0x2821a5=_0x576cc3;else{if(typeof _0x2c9101!=_0x1ba070(0x1ed)||!_0x496892(_0x2c9101))throw new TypeError(_0x1ba070(0x31a));if(_0x2a2a74===void 0x0||!_0x2a2a74['length'])_0x2821a5=Buffer[_0x1ba070(0x1fb)](0x2),_0x2821a5[_0x1ba070(0x199)](_0x2c9101,0x0);else{const _0x3d0eb2=Buffer[_0x1ba070(0x2be)](_0x2a2a74);if(_0x3d0eb2>0x7b)throw new RangeError(_0x1ba070(0x26e));_0x2821a5=Buffer['allocUnsafe'](0x2+_0x3d0eb2),_0x2821a5[_0x1ba070(0x199)](_0x2c9101,0x0),typeof _0x2a2a74==_0x1ba070(0x313)?_0x2821a5[_0x1ba070(0x2e3)](_0x2a2a74,0x2):_0x2821a5[_0x1ba070(0x1b3)](_0x2a2a74,0x2);}}const _0x153635={[_0x4e936f]:_0x2821a5[_0x1ba070(0x1b2)],'fin':!0x0,'generateMask':this[_0x1ba070(0x1df)],'mask':_0x4c5a95,'maskBuffer':this[_0x1ba070(0x250)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1ba070(0x2d6)]!==_0x4b0bfa?this[_0x1ba070(0x2c5)]([this[_0x1ba070(0x1e7)],_0x2821a5,!0x1,_0x153635,_0x4d1ce1]):this[_0x1ba070(0x2df)](_0x3592fe['frame'](_0x2821a5,_0x153635),_0x4d1ce1);}[_0x5e83af(0x315)](_0x5efda7,_0x27483f,_0x329a0e){const _0x3c825e=_0x5e83af;let _0x36d595,_0x46f952;if(typeof _0x5efda7=='string'?(_0x36d595=Buffer['byteLength'](_0x5efda7),_0x46f952=!0x1):_0x1e9481(_0x5efda7)?(_0x36d595=_0x5efda7[_0x3c825e(0x2b0)],_0x46f952=!0x1):(_0x5efda7=_0x719f96(_0x5efda7),_0x36d595=_0x5efda7[_0x3c825e(0x1b2)],_0x46f952=_0x719f96[_0x3c825e(0x326)]),_0x36d595>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x511589={[_0x4e936f]:_0x36d595,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x27483f,'maskBuffer':this[_0x3c825e(0x250)],'opcode':0x9,'readOnly':_0x46f952,'rsv1':!0x1};_0x1e9481(_0x5efda7)?this[_0x3c825e(0x2d6)]!==_0x4b0bfa?this['enqueue']([this['getBlobData'],_0x5efda7,!0x1,_0x511589,_0x329a0e]):this['getBlobData'](_0x5efda7,!0x1,_0x511589,_0x329a0e):this['_state']!==_0x4b0bfa?this[_0x3c825e(0x2c5)]([this[_0x3c825e(0x1e7)],_0x5efda7,!0x1,_0x511589,_0x329a0e]):this['sendFrame'](_0x3592fe['frame'](_0x5efda7,_0x511589),_0x329a0e);}[_0x5e83af(0x25a)](_0x21a5a4,_0x2b235d,_0x186a03){const _0x482ff1=_0x5e83af;let _0x2b3f33,_0x8d3b1d;if(typeof _0x21a5a4=='string'?(_0x2b3f33=Buffer['byteLength'](_0x21a5a4),_0x8d3b1d=!0x1):_0x1e9481(_0x21a5a4)?(_0x2b3f33=_0x21a5a4['size'],_0x8d3b1d=!0x1):(_0x21a5a4=_0x719f96(_0x21a5a4),_0x2b3f33=_0x21a5a4[_0x482ff1(0x1b2)],_0x8d3b1d=_0x719f96[_0x482ff1(0x326)]),_0x2b3f33>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4ed54c={[_0x4e936f]:_0x2b3f33,'fin':!0x0,'generateMask':this[_0x482ff1(0x1df)],'mask':_0x2b235d,'maskBuffer':this[_0x482ff1(0x250)],'opcode':0xa,'readOnly':_0x8d3b1d,'rsv1':!0x1};_0x1e9481(_0x21a5a4)?this[_0x482ff1(0x2d6)]!==_0x4b0bfa?this[_0x482ff1(0x2c5)]([this[_0x482ff1(0x283)],_0x21a5a4,!0x1,_0x4ed54c,_0x186a03]):this[_0x482ff1(0x283)](_0x21a5a4,!0x1,_0x4ed54c,_0x186a03):this['_state']!==_0x4b0bfa?this[_0x482ff1(0x2c5)]([this['dispatch'],_0x21a5a4,!0x1,_0x4ed54c,_0x186a03]):this['sendFrame'](_0x3592fe[_0x482ff1(0x288)](_0x21a5a4,_0x4ed54c),_0x186a03);}[_0x5e83af(0x2ba)](_0x4d4293,_0x49efb7,_0x3c3e4f){const _0x59a8e7=_0x5e83af,_0x4fe989=this[_0x59a8e7(0x1d6)][_0x4ceb31[_0x59a8e7(0x296)]];let _0x57de76=_0x49efb7['binary']?0x2:0x1,_0x64ae08=_0x49efb7[_0x59a8e7(0x1c3)],_0x30ea09,_0x4935f0;typeof _0x4d4293==_0x59a8e7(0x313)?(_0x30ea09=Buffer[_0x59a8e7(0x2be)](_0x4d4293),_0x4935f0=!0x1):_0x1e9481(_0x4d4293)?(_0x30ea09=_0x4d4293[_0x59a8e7(0x2b0)],_0x4935f0=!0x1):(_0x4d4293=_0x719f96(_0x4d4293),_0x30ea09=_0x4d4293[_0x59a8e7(0x1b2)],_0x4935f0=_0x719f96[_0x59a8e7(0x326)]),this[_0x59a8e7(0x1be)]?(this[_0x59a8e7(0x1be)]=!0x1,_0x64ae08&&_0x4fe989&&_0x4fe989[_0x59a8e7(0x2b9)][_0x4fe989['_isServer']?_0x59a8e7(0x28a):_0x59a8e7(0x270)]&&(_0x64ae08=_0x30ea09>=_0x4fe989[_0x59a8e7(0x314)]),this['_compress']=_0x64ae08):(_0x64ae08=!0x1,_0x57de76=0x0),_0x49efb7[_0x59a8e7(0x2c8)]&&(this[_0x59a8e7(0x1be)]=!0x0);const _0xc2c6c6={[_0x4e936f]:_0x30ea09,'fin':_0x49efb7[_0x59a8e7(0x2c8)],'generateMask':this[_0x59a8e7(0x1df)],'mask':_0x49efb7['mask'],'maskBuffer':this[_0x59a8e7(0x250)],'opcode':_0x57de76,'readOnly':_0x4935f0,'rsv1':_0x64ae08};_0x1e9481(_0x4d4293)?this[_0x59a8e7(0x2d6)]!==_0x4b0bfa?this[_0x59a8e7(0x2c5)]([this[_0x59a8e7(0x283)],_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f]):this[_0x59a8e7(0x283)](_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f):this[_0x59a8e7(0x2d6)]!==_0x4b0bfa?this[_0x59a8e7(0x2c5)]([this['dispatch'],_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f]):this['dispatch'](_0x4d4293,this[_0x59a8e7(0x207)],_0xc2c6c6,_0x3c3e4f);}[_0x5e83af(0x283)](_0xff2f5c,_0x89b378,_0x3f2801,_0x4c335e){const _0x5b9de8=_0x5e83af;this[_0x5b9de8(0x337)]+=_0x3f2801[_0x4e936f],this['_state']=_0x26d0ae,_0xff2f5c[_0x5b9de8(0x30b)]()[_0x5b9de8(0x2d2)](_0x5b4f02=>{const _0x4a12a5=_0x5b9de8;if(this['_socket'][_0x4a12a5(0x21c)]){const _0x5bef01=new Error(_0x4a12a5(0x2fb));process[_0x4a12a5(0x258)](_0x34cf26,this,_0x5bef01,_0x4c335e);return;}this['_bufferedBytes']-=_0x3f2801[_0x4e936f];const _0xdfbbdf=_0x719f96(_0x5b4f02);_0x89b378?this[_0x4a12a5(0x1e7)](_0xdfbbdf,_0x89b378,_0x3f2801,_0x4c335e):(this[_0x4a12a5(0x2d6)]=_0x4b0bfa,this[_0x4a12a5(0x2df)](_0x3592fe[_0x4a12a5(0x288)](_0xdfbbdf,_0x3f2801),_0x4c335e),this['dequeue']());})[_0x5b9de8(0x198)](_0xd3e699=>{process['nextTick'](_0x4d670d,this,_0xd3e699,_0x4c335e);});}[_0x5e83af(0x1e7)](_0x4e86fa,_0x53b99b,_0x24c5ff,_0x1f6de4){const _0x17de61=_0x5e83af;if(!_0x53b99b){this['sendFrame'](_0x3592fe[_0x17de61(0x288)](_0x4e86fa,_0x24c5ff),_0x1f6de4);return;}const _0x125897=this['_extensions'][_0x4ceb31[_0x17de61(0x296)]];this[_0x17de61(0x337)]+=_0x24c5ff[_0x4e936f],this[_0x17de61(0x2d6)]=_0x679e1a,_0x125897[_0x17de61(0x1c3)](_0x4e86fa,_0x24c5ff['fin'],(_0x2bfd8b,_0x1c4560)=>{const _0xbcf31a=_0x17de61;if(this['_socket'][_0xbcf31a(0x21c)]){const _0x310522=new Error(_0xbcf31a(0x335));_0x34cf26(this,_0x310522,_0x1f6de4);return;}this[_0xbcf31a(0x337)]-=_0x24c5ff[_0x4e936f],this[_0xbcf31a(0x2d6)]=_0x4b0bfa,_0x24c5ff[_0xbcf31a(0x326)]=!0x1,this[_0xbcf31a(0x2df)](_0x3592fe[_0xbcf31a(0x288)](_0x1c4560,_0x24c5ff),_0x1f6de4),this[_0xbcf31a(0x1a4)]();});}[_0x5e83af(0x1a4)](){const _0x499fcd=_0x5e83af;for(;this[_0x499fcd(0x2d6)]===_0x4b0bfa&&this[_0x499fcd(0x22b)][_0x499fcd(0x1b2)];){const _0x2fe1e1=this[_0x499fcd(0x22b)]['shift']();this['_bufferedBytes']-=_0x2fe1e1[0x3][_0x4e936f],Reflect[_0x499fcd(0x24b)](_0x2fe1e1[0x0],this,_0x2fe1e1[_0x499fcd(0x18f)](0x1));}}[_0x5e83af(0x2c5)](_0x8450a2){const _0x2f2122=_0x5e83af;this['_bufferedBytes']+=_0x8450a2[0x3][_0x4e936f],this[_0x2f2122(0x22b)]['push'](_0x8450a2);}[_0x5e83af(0x2df)](_0x477966,_0x32ae17){const _0x4b1c61=_0x5e83af;_0x477966[_0x4b1c61(0x1b2)]===0x2?(this[_0x4b1c61(0x1fa)][_0x4b1c61(0x202)](),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x0]),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x1],_0x32ae17),this[_0x4b1c61(0x1fa)][_0x4b1c61(0x29a)]()):this[_0x4b1c61(0x1fa)][_0x4b1c61(0x2e3)](_0x477966[0x0],_0x32ae17);}}Ee=_0x3592fe;function _0x34cf26(_0x345032,_0x103054,_0x83534f){const _0x168237=_0x5e83af;typeof _0x83534f=='function'&&_0x83534f(_0x103054);for(let _0x4ecc30=0x0;_0x4ecc30<_0x345032[_0x168237(0x22b)][_0x168237(0x1b2)];_0x4ecc30++){const _0x272d21=_0x345032[_0x168237(0x22b)][_0x4ecc30],_0x15add3=_0x272d21[_0x272d21[_0x168237(0x1b2)]-0x1];typeof _0x15add3==_0x168237(0x2b3)&&_0x15add3(_0x103054);}}function _0x4d670d(_0x5d93d1,_0x1c2ff9,_0x4a6cac){const _0x403af8=_0x5e83af;_0x34cf26(_0x5d93d1,_0x1c2ff9,_0x4a6cac),_0x5d93d1[_0x403af8(0x1ab)](_0x1c2ff9);}return Ee;}var xe,Ze;function It(){const _0x3e4a49=_0x51270a;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x272b74,kListener:_0x9466c8}=H(),_0x4730aa=Symbol(_0x3e4a49(0x211)),_0x211b30=Symbol(_0x3e4a49(0x209)),_0xf51e97=Symbol(_0x3e4a49(0x2a5)),_0x3f4e97=Symbol(_0x3e4a49(0x254)),_0x3b8aa5=Symbol(_0x3e4a49(0x2b1)),_0x343ef5=Symbol(_0x3e4a49(0x2fc)),_0x5e9302=Symbol('kType'),_0x40b6f4=Symbol(_0x3e4a49(0x334));class _0x14c0b6{constructor(_0x1f0a96){this[_0x343ef5]=null,this[_0x5e9302]=_0x1f0a96;}get[_0x3e4a49(0x2fe)](){return this[_0x343ef5];}get[_0x3e4a49(0x2b6)](){return this[_0x5e9302];}}Object[_0x3e4a49(0x27d)](_0x14c0b6[_0x3e4a49(0x24a)],_0x3e4a49(0x2fe),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x14c0b6[_0x3e4a49(0x24a)],_0x3e4a49(0x2b6),{'enumerable':!0x0});class _0x816087 extends _0x14c0b6{constructor(_0x262b7a,_0x20ba3c={}){const _0x4935d7=_0x3e4a49;super(_0x262b7a),this[_0x4730aa]=_0x20ba3c[_0x4935d7(0x2f0)]===void 0x0?0x0:_0x20ba3c[_0x4935d7(0x2f0)],this[_0x3b8aa5]=_0x20ba3c[_0x4935d7(0x1ae)]===void 0x0?'':_0x20ba3c['reason'],this[_0x40b6f4]=_0x20ba3c[_0x4935d7(0x1cf)]===void 0x0?!0x1:_0x20ba3c[_0x4935d7(0x1cf)];}get[_0x3e4a49(0x2f0)](){return this[_0x4730aa];}get[_0x3e4a49(0x1ae)](){return this[_0x3b8aa5];}get[_0x3e4a49(0x1cf)](){return this[_0x40b6f4];}}Object['defineProperty'](_0x816087['prototype'],_0x3e4a49(0x2f0),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x816087[_0x3e4a49(0x24a)],_0x3e4a49(0x1ae),{'enumerable':!0x0}),Object['defineProperty'](_0x816087[_0x3e4a49(0x24a)],_0x3e4a49(0x1cf),{'enumerable':!0x0});class _0x81704d extends _0x14c0b6{constructor(_0x4d5481,_0x2c380a={}){const _0x49a83e=_0x3e4a49;super(_0x4d5481),this[_0xf51e97]=_0x2c380a[_0x49a83e(0x1fc)]===void 0x0?null:_0x2c380a[_0x49a83e(0x1fc)],this[_0x3f4e97]=_0x2c380a[_0x49a83e(0x2a7)]===void 0x0?'':_0x2c380a['message'];}get[_0x3e4a49(0x1fc)](){return this[_0xf51e97];}get[_0x3e4a49(0x2a7)](){return this[_0x3f4e97];}}Object[_0x3e4a49(0x27d)](_0x81704d[_0x3e4a49(0x24a)],_0x3e4a49(0x1fc),{'enumerable':!0x0}),Object[_0x3e4a49(0x27d)](_0x81704d['prototype'],_0x3e4a49(0x2a7),{'enumerable':!0x0});class _0x35f55c extends _0x14c0b6{constructor(_0x5bccb5,_0x236ab2={}){const _0x450880=_0x3e4a49;super(_0x5bccb5),this[_0x211b30]=_0x236ab2[_0x450880(0x231)]===void 0x0?null:_0x236ab2[_0x450880(0x231)];}get[_0x3e4a49(0x231)](){return this[_0x211b30];}}Object['defineProperty'](_0x35f55c[_0x3e4a49(0x24a)],_0x3e4a49(0x231),{'enumerable':!0x0}),xe={'CloseEvent':_0x816087,'ErrorEvent':_0x81704d,'Event':_0x14c0b6,'EventTarget':{'addEventListener'(_0x34e24d,_0x4f0406,_0x3f1d14={}){const _0x59f36c=_0x3e4a49;for(const _0x29fd56 of this[_0x59f36c(0x221)](_0x34e24d))if(!_0x3f1d14[_0x272b74]&&_0x29fd56[_0x9466c8]===_0x4f0406&&!_0x29fd56[_0x272b74])return;let _0x9e1232;if(_0x34e24d===_0x59f36c(0x2a7))_0x9e1232=function(_0x39b9a5,_0x123761){const _0x565666=_0x59f36c,_0x3ce3cb=new _0x35f55c(_0x565666(0x2a7),{'data':_0x123761?_0x39b9a5:_0x39b9a5['toString']()});_0x3ce3cb[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x3ce3cb);};else{if(_0x34e24d===_0x59f36c(0x32c))_0x9e1232=function(_0x534338,_0x42b364){const _0x1d6824=_0x59f36c,_0x5ea3c5=new _0x816087('close',{'code':_0x534338,'reason':_0x42b364[_0x1d6824(0x1ec)](),'wasClean':this[_0x1d6824(0x1f1)]&&this[_0x1d6824(0x255)]});_0x5ea3c5[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x5ea3c5);};else{if(_0x34e24d===_0x59f36c(0x1fc))_0x9e1232=function(_0x3d6255){const _0x4e10b4=_0x59f36c,_0x37ad00=new _0x81704d(_0x4e10b4(0x1fc),{'error':_0x3d6255,'message':_0x3d6255[_0x4e10b4(0x2a7)]});_0x37ad00[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x37ad00);};else{if(_0x34e24d===_0x59f36c(0x1ef))_0x9e1232=function(){const _0x476c8e=new _0x14c0b6('open');_0x476c8e[_0x343ef5]=this,_0x3c49a5(_0x4f0406,this,_0x476c8e);};else return;}}}_0x9e1232[_0x272b74]=!!_0x3f1d14[_0x272b74],_0x9e1232[_0x9466c8]=_0x4f0406,_0x3f1d14[_0x59f36c(0x204)]?this['once'](_0x34e24d,_0x9e1232):this['on'](_0x34e24d,_0x9e1232);},'removeEventListener'(_0x512a9a,_0x152ca3){const _0x323b7a=_0x3e4a49;for(const _0x8c9057 of this[_0x323b7a(0x221)](_0x512a9a))if(_0x8c9057[_0x9466c8]===_0x152ca3&&!_0x8c9057[_0x272b74]){this[_0x323b7a(0x256)](_0x512a9a,_0x8c9057);break;}}},'MessageEvent':_0x35f55c};function _0x3c49a5(_0x13f8ea,_0x3acc19,_0x4eb528){const _0x3c8704=_0x3e4a49;typeof _0x13f8ea==_0x3c8704(0x217)&&_0x13f8ea[_0x3c8704(0x223)]?_0x13f8ea[_0x3c8704(0x223)][_0x3c8704(0x1ac)](_0x13f8ea,_0x4eb528):_0x13f8ea[_0x3c8704(0x1ac)](_0x3acc19,_0x4eb528);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x222f98}=ae();function _0x5d8b0b(_0x24d34c,_0x41fa32,_0x373bd4){const _0x5f4b94=_0x22a9;_0x24d34c[_0x41fa32]===void 0x0?_0x24d34c[_0x41fa32]=[_0x373bd4]:_0x24d34c[_0x41fa32][_0x5f4b94(0x241)](_0x373bd4);}function _0x478e78(_0x4c135e){const _0x185300=_0x22a9,_0x14473b=Object[_0x185300(0x2d4)](null);let _0x529f49=Object[_0x185300(0x2d4)](null),_0x19b154=!0x1,_0x2d86c6=!0x1,_0x5aac4e=!0x1,_0x2533cb,_0x47ceb3,_0x2db090=-0x1,_0x5af79c=-0x1,_0x39a8fb=-0x1,_0x30048c=0x0;for(;_0x30048c<_0x4c135e['length'];_0x30048c++)if(_0x5af79c=_0x4c135e[_0x185300(0x293)](_0x30048c),_0x2533cb===void 0x0){if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x30048c!==0x0&&(_0x5af79c===0x20||_0x5af79c===0x9))_0x39a8fb===-0x1&&_0x2db090!==-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError(_0x185300(0x205)+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);const _0x295365=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x39a8fb);_0x5af79c===0x2c?(_0x5d8b0b(_0x14473b,_0x295365,_0x529f49),_0x529f49=Object[_0x185300(0x2d4)](null)):_0x2533cb=_0x295365,_0x2db090=_0x39a8fb=-0x1;}else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}else{if(_0x47ceb3===void 0x0){if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x5af79c===0x20||_0x5af79c===0x9)_0x39a8fb===-0x1&&_0x2db090!==-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError(_0x185300(0x205)+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c),_0x5d8b0b(_0x529f49,_0x4c135e['slice'](_0x2db090,_0x39a8fb),!0x0),_0x5af79c===0x2c&&(_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49),_0x529f49=Object['create'](null),_0x2533cb=void 0x0),_0x2db090=_0x39a8fb=-0x1;}else{if(_0x5af79c===0x3d&&_0x2db090!==-0x1&&_0x39a8fb===-0x1)_0x47ceb3=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x30048c),_0x2db090=_0x39a8fb=-0x1;else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}}else{if(_0x2d86c6){if(_0x222f98[_0x5af79c]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30048c);_0x2db090===-0x1?_0x2db090=_0x30048c:_0x19b154||(_0x19b154=!0x0),_0x2d86c6=!0x1;}else{if(_0x5aac4e){if(_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x5af79c===0x22&&_0x2db090!==-0x1)_0x5aac4e=!0x1,_0x39a8fb=_0x30048c;else{if(_0x5af79c===0x5c)_0x2d86c6=!0x0;else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}else{if(_0x5af79c===0x22&&_0x4c135e[_0x185300(0x293)](_0x30048c-0x1)===0x3d)_0x5aac4e=!0x0;else{if(_0x39a8fb===-0x1&&_0x222f98[_0x5af79c]===0x1)_0x2db090===-0x1&&(_0x2db090=_0x30048c);else{if(_0x2db090!==-0x1&&(_0x5af79c===0x20||_0x5af79c===0x9))_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);else{if(_0x5af79c===0x3b||_0x5af79c===0x2c){if(_0x2db090===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x30048c);_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);let _0x55145f=_0x4c135e[_0x185300(0x18f)](_0x2db090,_0x39a8fb);_0x19b154&&(_0x55145f=_0x55145f[_0x185300(0x187)](/\\/g,''),_0x19b154=!0x1),_0x5d8b0b(_0x529f49,_0x47ceb3,_0x55145f),_0x5af79c===0x2c&&(_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49),_0x529f49=Object['create'](null),_0x2533cb=void 0x0),_0x47ceb3=void 0x0,_0x2db090=_0x39a8fb=-0x1;}else throw new SyntaxError(_0x185300(0x205)+_0x30048c);}}}}}}}if(_0x2db090===-0x1||_0x5aac4e||_0x5af79c===0x20||_0x5af79c===0x9)throw new SyntaxError(_0x185300(0x19a));_0x39a8fb===-0x1&&(_0x39a8fb=_0x30048c);const _0x2361d0=_0x4c135e['slice'](_0x2db090,_0x39a8fb);return _0x2533cb===void 0x0?_0x5d8b0b(_0x14473b,_0x2361d0,_0x529f49):(_0x47ceb3===void 0x0?_0x5d8b0b(_0x529f49,_0x2361d0,!0x0):_0x19b154?_0x5d8b0b(_0x529f49,_0x47ceb3,_0x2361d0[_0x185300(0x187)](/\\/g,'')):_0x5d8b0b(_0x529f49,_0x47ceb3,_0x2361d0),_0x5d8b0b(_0x14473b,_0x2533cb,_0x529f49)),_0x14473b;}function _0x3034f6(_0x234cd0){const _0x27abe4=_0x22a9;return Object[_0x27abe4(0x2ad)](_0x234cd0)[_0x27abe4(0x17c)](_0x148c51=>{const _0x238a4d=_0x27abe4;let _0x3fe902=_0x234cd0[_0x148c51];return Array['isArray'](_0x3fe902)||(_0x3fe902=[_0x3fe902]),_0x3fe902[_0x238a4d(0x17c)](_0x3a8e50=>[_0x148c51]['concat'](Object['keys'](_0x3a8e50)[_0x238a4d(0x17c)](_0x3ca3c2=>{const _0x6ce399=_0x238a4d;let _0x2f38b6=_0x3a8e50[_0x3ca3c2];return Array['isArray'](_0x2f38b6)||(_0x2f38b6=[_0x2f38b6]),_0x2f38b6[_0x6ce399(0x17c)](_0x4d226c=>_0x4d226c===!0x0?_0x3ca3c2:_0x3ca3c2+'='+_0x4d226c)[_0x6ce399(0x230)](';\x20');}))[_0x238a4d(0x230)](';\x20'))[_0x238a4d(0x230)](',\x20');})[_0x27abe4(0x230)](',\x20');}return be={'format':_0x3034f6,'parse':_0x478e78},be;}var we,Je;function Pe(){const _0x921c42=_0x51270a;if(Je)return we;Je=0x1;const _0x5b0804=nt,_0x329860=vt,_0x41afe7=ot,_0xacd019=St,_0x3933e9=Et,{randomBytes:_0x552dee,createHash:_0xd57c82}=Le,{Duplex:_0x1c975f,Readable:_0x3f2990}=oe,{URL:_0x1234ab}=xt,_0xab697b=he(),_0x55f15e=lt(),_0x30e018=ft(),{isBlob:_0x512a16}=ae(),{BINARY_TYPES:_0x322fca,EMPTY_BUFFER:_0x28dcb5,GUID:_0x49f23c,kForOnEventAttribute:_0x30fe2e,kListener:_0x5bedd6,kStatusCode:_0x138ab3,kWebSocket:_0x4f2815,NOOP:_0x3c5e93}=H(),{EventTarget:{addEventListener:_0x21f1f5,removeEventListener:_0x226c86}}=It(),{format:_0x1e6366,parse:_0x11f6e9}=ct(),{toBuffer:_0x30a6c0}=ce(),_0x4f297f=0x1e*0x3e8,_0xfaf311=Symbol(_0x921c42(0x26f)),_0x1f0ad0=[0x8,0xd],_0x25a73a=['CONNECTING',_0x921c42(0x216),'CLOSING','CLOSED'],_0x229d03=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xbabdc extends _0x5b0804{constructor(_0x33718d,_0x5118e7,_0x56a09c){const _0x3454c8=_0x921c42;super(),this[_0x3454c8(0x31d)]=_0x322fca[0x0],this[_0x3454c8(0x2a1)]=0x3ee,this[_0x3454c8(0x1f1)]=!0x1,this[_0x3454c8(0x255)]=!0x1,this[_0x3454c8(0x2aa)]=_0x28dcb5,this[_0x3454c8(0x2d9)]=null,this[_0x3454c8(0x208)]=!0x1,this[_0x3454c8(0x1d6)]={},this[_0x3454c8(0x1c4)]=!0x1,this[_0x3454c8(0x243)]='',this[_0x3454c8(0x261)]=_0xbabdc[_0x3454c8(0x1fe)],this['_receiver']=null,this['_sender']=null,this[_0x3454c8(0x1fa)]=null,_0x33718d!==null?(this['_bufferedAmount']=0x0,this[_0x3454c8(0x1de)]=!0x1,this['_redirects']=0x0,_0x5118e7===void 0x0?_0x5118e7=[]:Array[_0x3454c8(0x305)](_0x5118e7)||(typeof _0x5118e7==_0x3454c8(0x217)&&_0x5118e7!==null?(_0x56a09c=_0x5118e7,_0x5118e7=[]):_0x5118e7=[_0x5118e7]),_0xafa29c(this,_0x33718d,_0x5118e7,_0x56a09c)):(this[_0x3454c8(0x1a3)]=_0x56a09c[_0x3454c8(0x20c)],this[_0x3454c8(0x1de)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x921c42(0x2ec)](_0x82f12e){const _0x2eed3e=_0x921c42;_0x322fca[_0x2eed3e(0x317)](_0x82f12e)&&(this['_binaryType']=_0x82f12e,this[_0x2eed3e(0x19e)]&&(this[_0x2eed3e(0x19e)][_0x2eed3e(0x31d)]=_0x82f12e));}get[_0x921c42(0x2cf)](){const _0x52fd90=_0x921c42;return this[_0x52fd90(0x1fa)]?this[_0x52fd90(0x1fa)][_0x52fd90(0x177)][_0x52fd90(0x1b2)]+this[_0x52fd90(0x1b8)][_0x52fd90(0x337)]:this[_0x52fd90(0x1a0)];}get[_0x921c42(0x2bd)](){const _0x4917c7=_0x921c42;return Object[_0x4917c7(0x2ad)](this[_0x4917c7(0x1d6)])[_0x4917c7(0x230)]();}get[_0x921c42(0x21f)](){const _0x4e5b32=_0x921c42;return this[_0x4e5b32(0x1c4)];}get['onclose'](){return null;}get[_0x921c42(0x1ab)](){return null;}get[_0x921c42(0x1d7)](){return null;}get[_0x921c42(0x2d3)](){return null;}get[_0x921c42(0x18a)](){const _0x59c04e=_0x921c42;return this[_0x59c04e(0x243)];}get[_0x921c42(0x18e)](){const _0x3d4a1e=_0x921c42;return this[_0x3d4a1e(0x261)];}get['url'](){const _0x5118c1=_0x921c42;return this[_0x5118c1(0x2da)];}[_0x921c42(0x26b)](_0x5a87a5,_0x561e42,_0x48269d){const _0x452a1b=_0x921c42,_0xe63e70=new _0x55f15e({'allowSynchronousEvents':_0x48269d[_0x452a1b(0x309)],'binaryType':this[_0x452a1b(0x2ec)],'extensions':this[_0x452a1b(0x1d6)],'isServer':this[_0x452a1b(0x1de)],'maxPayload':_0x48269d[_0x452a1b(0x181)],'skipUTF8Validation':_0x48269d[_0x452a1b(0x2d0)]}),_0x4b0743=new _0x30e018(_0x5a87a5,this[_0x452a1b(0x1d6)],_0x48269d[_0x452a1b(0x246)]);this[_0x452a1b(0x19e)]=_0xe63e70,this['_sender']=_0x4b0743,this[_0x452a1b(0x1fa)]=_0x5a87a5,_0xe63e70[_0x4f2815]=this,_0x4b0743[_0x4f2815]=this,_0x5a87a5[_0x4f2815]=this,_0xe63e70['on'](_0x452a1b(0x1ff),_0x4f7e55),_0xe63e70['on'](_0x452a1b(0x18b),_0x4cb3b2),_0xe63e70['on'](_0x452a1b(0x1fc),_0x2b0490),_0xe63e70['on']('message',_0xd758d5),_0xe63e70['on'](_0x452a1b(0x315),_0x995894),_0xe63e70['on'](_0x452a1b(0x25a),_0x4ca5a2),_0x4b0743['onerror']=_0x16628c,_0x5a87a5[_0x452a1b(0x1bd)]&&_0x5a87a5['setTimeout'](0x0),_0x5a87a5['setNoDelay']&&_0x5a87a5[_0x452a1b(0x2c4)](),_0x561e42[_0x452a1b(0x1b2)]>0x0&&_0x5a87a5[_0x452a1b(0x20a)](_0x561e42),_0x5a87a5['on'](_0x452a1b(0x32c),_0x4d28c6),_0x5a87a5['on'](_0x452a1b(0x231),_0x2ec1db),_0x5a87a5['on'](_0x452a1b(0x2d5),_0xb4d3d3),_0x5a87a5['on'](_0x452a1b(0x1fc),_0x5252cc),this[_0x452a1b(0x261)]=_0xbabdc[_0x452a1b(0x216)],this[_0x452a1b(0x22e)](_0x452a1b(0x1ef));}[_0x921c42(0x2ae)](){const _0x590fca=_0x921c42;if(!this['_socket']){this[_0x590fca(0x261)]=_0xbabdc[_0x590fca(0x24d)],this['emit']('close',this[_0x590fca(0x2a1)],this[_0x590fca(0x2aa)]);return;}this[_0x590fca(0x1d6)][_0xab697b[_0x590fca(0x296)]]&&this[_0x590fca(0x1d6)][_0xab697b[_0x590fca(0x296)]][_0x590fca(0x2dd)](),this[_0x590fca(0x19e)][_0x590fca(0x302)](),this[_0x590fca(0x261)]=_0xbabdc[_0x590fca(0x24d)],this[_0x590fca(0x22e)](_0x590fca(0x32c),this[_0x590fca(0x2a1)],this[_0x590fca(0x2aa)]);}[_0x921c42(0x32c)](_0x2c756c,_0x55bcbf){const _0x3dfb11=_0x921c42;if(this['readyState']!==_0xbabdc[_0x3dfb11(0x24d)]){if(this['readyState']===_0xbabdc[_0x3dfb11(0x1fe)]){_0x3c09fa(this,this[_0x3dfb11(0x183)],_0x3dfb11(0x1c8));return;}if(this['readyState']===_0xbabdc[_0x3dfb11(0x27e)]){this[_0x3dfb11(0x255)]&&(this[_0x3dfb11(0x1f1)]||this[_0x3dfb11(0x19e)][_0x3dfb11(0x177)][_0x3dfb11(0x32a)])&&this['_socket'][_0x3dfb11(0x2d5)]();return;}this[_0x3dfb11(0x261)]=_0xbabdc[_0x3dfb11(0x27e)],this[_0x3dfb11(0x1b8)][_0x3dfb11(0x32c)](_0x2c756c,_0x55bcbf,!this[_0x3dfb11(0x1de)],_0x42f858=>{const _0x2a29a7=_0x3dfb11;_0x42f858||(this[_0x2a29a7(0x255)]=!0x0,(this[_0x2a29a7(0x1f1)]||this['_receiver'][_0x2a29a7(0x177)][_0x2a29a7(0x32a)])&&this[_0x2a29a7(0x1fa)]['end']());}),_0x35020b(this);}}[_0x921c42(0x25b)](){const _0x1a6c77=_0x921c42;this['readyState']===_0xbabdc[_0x1a6c77(0x1fe)]||this[_0x1a6c77(0x18e)]===_0xbabdc['CLOSED']||(this[_0x1a6c77(0x1c4)]=!0x0,this[_0x1a6c77(0x1fa)]['pause']());}[_0x921c42(0x315)](_0x58e3b9,_0x14db62,_0x5b4ac3){const _0x3b076d=_0x921c42;if(this[_0x3b076d(0x18e)]===_0xbabdc['CONNECTING'])throw new Error(_0x3b076d(0x17d));if(typeof _0x58e3b9==_0x3b076d(0x2b3)?(_0x5b4ac3=_0x58e3b9,_0x58e3b9=_0x14db62=void 0x0):typeof _0x14db62==_0x3b076d(0x2b3)&&(_0x5b4ac3=_0x14db62,_0x14db62=void 0x0),typeof _0x58e3b9=='number'&&(_0x58e3b9=_0x58e3b9[_0x3b076d(0x1ec)]()),this[_0x3b076d(0x18e)]!==_0xbabdc[_0x3b076d(0x216)]){_0x29bc95(this,_0x58e3b9,_0x5b4ac3);return;}_0x14db62===void 0x0&&(_0x14db62=!this[_0x3b076d(0x1de)]),this[_0x3b076d(0x1b8)]['ping'](_0x58e3b9||_0x28dcb5,_0x14db62,_0x5b4ac3);}[_0x921c42(0x25a)](_0x94cf42,_0x261427,_0x57554c){const _0x4b6bae=_0x921c42;if(this[_0x4b6bae(0x18e)]===_0xbabdc[_0x4b6bae(0x1fe)])throw new Error(_0x4b6bae(0x17d));if(typeof _0x94cf42==_0x4b6bae(0x2b3)?(_0x57554c=_0x94cf42,_0x94cf42=_0x261427=void 0x0):typeof _0x261427==_0x4b6bae(0x2b3)&&(_0x57554c=_0x261427,_0x261427=void 0x0),typeof _0x94cf42=='number'&&(_0x94cf42=_0x94cf42[_0x4b6bae(0x1ec)]()),this[_0x4b6bae(0x18e)]!==_0xbabdc[_0x4b6bae(0x216)]){_0x29bc95(this,_0x94cf42,_0x57554c);return;}_0x261427===void 0x0&&(_0x261427=!this[_0x4b6bae(0x1de)]),this[_0x4b6bae(0x1b8)]['pong'](_0x94cf42||_0x28dcb5,_0x261427,_0x57554c);}[_0x921c42(0x189)](){const _0x463406=_0x921c42;this['readyState']===_0xbabdc[_0x463406(0x1fe)]||this[_0x463406(0x18e)]===_0xbabdc[_0x463406(0x24d)]||(this[_0x463406(0x1c4)]=!0x1,this[_0x463406(0x19e)][_0x463406(0x177)][_0x463406(0x1a1)]||this[_0x463406(0x1fa)][_0x463406(0x189)]());}[_0x921c42(0x2ba)](_0x1bfc87,_0x38af0b,_0x33be64){const _0x4bc20d=_0x921c42;if(this['readyState']===_0xbabdc[_0x4bc20d(0x1fe)])throw new Error(_0x4bc20d(0x17d));if(typeof _0x38af0b=='function'&&(_0x33be64=_0x38af0b,_0x38af0b={}),typeof _0x1bfc87==_0x4bc20d(0x1ed)&&(_0x1bfc87=_0x1bfc87[_0x4bc20d(0x1ec)]()),this[_0x4bc20d(0x18e)]!==_0xbabdc[_0x4bc20d(0x216)]){_0x29bc95(this,_0x1bfc87,_0x33be64);return;}const _0x162bc7={'binary':typeof _0x1bfc87!=_0x4bc20d(0x313),'mask':!this[_0x4bc20d(0x1de)],'compress':!0x0,'fin':!0x0,..._0x38af0b};this[_0x4bc20d(0x1d6)][_0xab697b[_0x4bc20d(0x296)]]||(_0x162bc7[_0x4bc20d(0x1c3)]=!0x1),this[_0x4bc20d(0x1b8)][_0x4bc20d(0x2ba)](_0x1bfc87||_0x28dcb5,_0x162bc7,_0x33be64);}[_0x921c42(0x175)](){const _0x11359c=_0x921c42;if(this[_0x11359c(0x18e)]!==_0xbabdc[_0x11359c(0x24d)]){if(this[_0x11359c(0x18e)]===_0xbabdc['CONNECTING']){_0x3c09fa(this,this[_0x11359c(0x183)],_0x11359c(0x1c8));return;}this[_0x11359c(0x1fa)]&&(this[_0x11359c(0x261)]=_0xbabdc[_0x11359c(0x27e)],this['_socket'][_0x11359c(0x1ba)]());}}}Object[_0x921c42(0x27d)](_0xbabdc,'CONNECTING',{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x1fe))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x1fe),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)]('CONNECTING')}),Object['defineProperty'](_0xbabdc,_0x921c42(0x216),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x216))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x216),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x216))}),Object[_0x921c42(0x27d)](_0xbabdc,_0x921c42(0x27e),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x27e))}),Object[_0x921c42(0x27d)](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x27e),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)]('CLOSING')}),Object[_0x921c42(0x27d)](_0xbabdc,_0x921c42(0x24d),{'enumerable':!0x0,'value':_0x25a73a['indexOf'](_0x921c42(0x24d))}),Object['defineProperty'](_0xbabdc[_0x921c42(0x24a)],_0x921c42(0x24d),{'enumerable':!0x0,'value':_0x25a73a[_0x921c42(0x21d)](_0x921c42(0x24d))}),['binaryType',_0x921c42(0x2cf),_0x921c42(0x2bd),_0x921c42(0x21f),_0x921c42(0x18a),_0x921c42(0x18e),_0x921c42(0x310)][_0x921c42(0x2cc)](_0x52daa0=>{const _0x1b31a8=_0x921c42;Object[_0x1b31a8(0x27d)](_0xbabdc['prototype'],_0x52daa0,{'enumerable':!0x0});}),[_0x921c42(0x1ef),_0x921c42(0x1fc),'close',_0x921c42(0x2a7)][_0x921c42(0x2cc)](_0x42c3fa=>{const _0x196ab6=_0x921c42;Object['defineProperty'](_0xbabdc[_0x196ab6(0x24a)],'on'+_0x42c3fa,{'enumerable':!0x0,'get'(){for(const _0x42da99 of this['listeners'](_0x42c3fa))if(_0x42da99[_0x30fe2e])return _0x42da99[_0x5bedd6];return null;},'set'(_0x1dd02a){const _0x2c835e=_0x196ab6;for(const _0x29c89a of this[_0x2c835e(0x221)](_0x42c3fa))if(_0x29c89a[_0x30fe2e]){this[_0x2c835e(0x256)](_0x42c3fa,_0x29c89a);break;}typeof _0x1dd02a=='function'&&this[_0x2c835e(0x2f5)](_0x42c3fa,_0x1dd02a,{[_0x30fe2e]:!0x0});}});}),_0xbabdc[_0x921c42(0x24a)][_0x921c42(0x2f5)]=_0x21f1f5,_0xbabdc['prototype'][_0x921c42(0x225)]=_0x226c86,we=_0xbabdc;function _0xafa29c(_0x511f81,_0x28e153,_0x154e92,_0xe948e7){const _0xb469e2=_0x921c42,_0x26a286={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1f0ad0[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xe948e7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xb469e2(0x273),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x511f81['_autoPong']=_0x26a286[_0xb469e2(0x20c)],!_0x1f0ad0[_0xb469e2(0x317)](_0x26a286['protocolVersion']))throw new RangeError(_0xb469e2(0x265)+_0x26a286[_0xb469e2(0x2e5)]+_0xb469e2(0x1af)+_0x1f0ad0['join'](',\x20')+')');let _0x462413;if(_0x28e153 instanceof _0x1234ab)_0x462413=_0x28e153;else try{_0x462413=new _0x1234ab(_0x28e153);}catch{throw new SyntaxError(_0xb469e2(0x1f2)+_0x28e153);}_0x462413[_0xb469e2(0x18a)]===_0xb469e2(0x329)?_0x462413[_0xb469e2(0x18a)]='ws:':_0x462413[_0xb469e2(0x18a)]==='https:'&&(_0x462413[_0xb469e2(0x18a)]=_0xb469e2(0x1eb)),_0x511f81['_url']=_0x462413[_0xb469e2(0x176)];const _0x28500e=_0x462413['protocol']===_0xb469e2(0x1eb),_0xf143f9=_0x462413['protocol']===_0xb469e2(0x173);let _0x30dd35;if(_0x462413[_0xb469e2(0x18a)]!=='ws:'&&!_0x28500e&&!_0xf143f9?_0x30dd35=_0xb469e2(0x249):_0xf143f9&&!_0x462413[_0xb469e2(0x1c6)]?_0x30dd35=_0xb469e2(0x242):_0x462413[_0xb469e2(0x2f6)]&&(_0x30dd35=_0xb469e2(0x2e0)),_0x30dd35){const _0x150327=new SyntaxError(_0x30dd35);if(_0x511f81['_redirects']===0x0)throw _0x150327;_0x1672ec(_0x511f81,_0x150327);return;}const _0x1757d7=_0x28500e?0x1bb:0x50,_0x50fe9d=_0x552dee(0x10)[_0xb469e2(0x1ec)](_0xb469e2(0x2fd)),_0x552d0f=_0x28500e?_0x329860[_0xb469e2(0x212)]:_0x41afe7[_0xb469e2(0x212)],_0x57ad32=new Set();let _0x29b076;if(_0x26a286[_0xb469e2(0x271)]=_0x26a286[_0xb469e2(0x271)]||(_0x28500e?_0x4726dd:_0x2c085e),_0x26a286[_0xb469e2(0x284)]=_0x26a286[_0xb469e2(0x284)]||_0x1757d7,_0x26a286['port']=_0x462413[_0xb469e2(0x2b5)]||_0x1757d7,_0x26a286[_0xb469e2(0x213)]=_0x462413['hostname'][_0xb469e2(0x20e)]('[')?_0x462413[_0xb469e2(0x1e5)][_0xb469e2(0x18f)](0x1,-0x1):_0x462413[_0xb469e2(0x1e5)],_0x26a286[_0xb469e2(0x2f9)]={..._0x26a286[_0xb469e2(0x2f9)],'Sec-WebSocket-Version':_0x26a286[_0xb469e2(0x2e5)],'Sec-WebSocket-Key':_0x50fe9d,'Connection':_0xb469e2(0x1cb),'Upgrade':_0xb469e2(0x186)},_0x26a286['path']=_0x462413[_0xb469e2(0x1c6)]+_0x462413[_0xb469e2(0x24e)],_0x26a286[_0xb469e2(0x263)]=_0x26a286['handshakeTimeout'],_0x26a286[_0xb469e2(0x26c)]&&(_0x29b076=new _0xab697b(_0x26a286[_0xb469e2(0x26c)]!==!0x0?_0x26a286[_0xb469e2(0x26c)]:{},!0x1,_0x26a286[_0xb469e2(0x181)]),_0x26a286[_0xb469e2(0x2f9)]['Sec-WebSocket-Extensions']=_0x1e6366({[_0xab697b['extensionName']]:_0x29b076[_0xb469e2(0x22c)]()})),_0x154e92[_0xb469e2(0x1b2)]){for(const _0x4afe27 of _0x154e92){if(typeof _0x4afe27!='string'||!_0x229d03[_0xb469e2(0x274)](_0x4afe27)||_0x57ad32[_0xb469e2(0x292)](_0x4afe27))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x57ad32[_0xb469e2(0x1d5)](_0x4afe27);}_0x26a286[_0xb469e2(0x2f9)]['Sec-WebSocket-Protocol']=_0x154e92['join'](',');}if(_0x26a286[_0xb469e2(0x28f)]&&(_0x26a286[_0xb469e2(0x2e5)]<0xd?_0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x1d1)]=_0x26a286['origin']:_0x26a286['headers'][_0xb469e2(0x1a2)]=_0x26a286[_0xb469e2(0x28f)]),(_0x462413[_0xb469e2(0x23b)]||_0x462413[_0xb469e2(0x275)])&&(_0x26a286['auth']=_0x462413[_0xb469e2(0x23b)]+':'+_0x462413[_0xb469e2(0x275)]),_0xf143f9){const _0x23cbcd=_0x26a286[_0xb469e2(0x1b9)]['split'](':');_0x26a286[_0xb469e2(0x2dc)]=_0x23cbcd[0x0],_0x26a286[_0xb469e2(0x1b9)]=_0x23cbcd[0x1];}let _0x33874c;if(_0x26a286[_0xb469e2(0x235)]){if(_0x511f81[_0xb469e2(0x2ac)]===0x0){_0x511f81['_originalIpc']=_0xf143f9,_0x511f81['_originalSecure']=_0x28500e,_0x511f81[_0xb469e2(0x25d)]=_0xf143f9?_0x26a286['socketPath']:_0x462413[_0xb469e2(0x213)];const _0x4761ec=_0xe948e7&&_0xe948e7[_0xb469e2(0x2f9)];if(_0xe948e7={..._0xe948e7,'headers':{}},_0x4761ec){for(const [_0x57159d,_0x45dd81]of Object[_0xb469e2(0x2e2)](_0x4761ec))_0xe948e7['headers'][_0x57159d[_0xb469e2(0x1ea)]()]=_0x45dd81;}}else{if(_0x511f81[_0xb469e2(0x32b)](_0xb469e2(0x1a7))===0x0){const _0x5216c0=_0xf143f9?_0x511f81[_0xb469e2(0x203)]?_0x26a286['socketPath']===_0x511f81[_0xb469e2(0x25d)]:!0x1:_0x511f81[_0xb469e2(0x203)]?!0x1:_0x462413[_0xb469e2(0x213)]===_0x511f81[_0xb469e2(0x25d)];(!_0x5216c0||_0x511f81['_originalSecure']&&!_0x28500e)&&(delete _0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x32e)],delete _0x26a286[_0xb469e2(0x2f9)]['cookie'],_0x5216c0||delete _0x26a286[_0xb469e2(0x2f9)][_0xb469e2(0x213)],_0x26a286[_0xb469e2(0x195)]=void 0x0);}}_0x26a286[_0xb469e2(0x195)]&&!_0xe948e7[_0xb469e2(0x2f9)][_0xb469e2(0x32e)]&&(_0xe948e7['headers']['authorization']=_0xb469e2(0x1d9)+Buffer[_0xb469e2(0x2c3)](_0x26a286[_0xb469e2(0x195)])[_0xb469e2(0x1ec)](_0xb469e2(0x2fd))),_0x33874c=_0x511f81[_0xb469e2(0x183)]=_0x552d0f(_0x26a286),_0x511f81[_0xb469e2(0x2ac)]&&_0x511f81['emit'](_0xb469e2(0x1a7),_0x511f81[_0xb469e2(0x310)],_0x33874c);}else _0x33874c=_0x511f81[_0xb469e2(0x183)]=_0x552d0f(_0x26a286);_0x26a286['timeout']&&_0x33874c['on'](_0xb469e2(0x263),()=>{_0x3c09fa(_0x511f81,_0x33874c,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x33874c['on'](_0xb469e2(0x1fc),_0x1afaf1=>{const _0x189901=_0xb469e2;_0x33874c===null||_0x33874c[_0xfaf311]||(_0x33874c=_0x511f81[_0x189901(0x183)]=null,_0x1672ec(_0x511f81,_0x1afaf1));}),_0x33874c['on'](_0xb469e2(0x1c2),_0x4a8b5f=>{const _0x2a2b06=_0xb469e2,_0x28833d=_0x4a8b5f[_0x2a2b06(0x2f9)][_0x2a2b06(0x1cc)],_0x2d628b=_0x4a8b5f['statusCode'];if(_0x28833d&&_0x26a286[_0x2a2b06(0x235)]&&_0x2d628b>=0x12c&&_0x2d628b<0x190){if(++_0x511f81[_0x2a2b06(0x2ac)]>_0x26a286[_0x2a2b06(0x2b8)]){_0x3c09fa(_0x511f81,_0x33874c,_0x2a2b06(0x281));return;}_0x33874c[_0x2a2b06(0x27b)]();let _0x5c9b66;try{_0x5c9b66=new _0x1234ab(_0x28833d,_0x28e153);}catch{const _0x15982d=new SyntaxError('Invalid\x20URL:\x20'+_0x28833d);_0x1672ec(_0x511f81,_0x15982d);return;}_0xafa29c(_0x511f81,_0x5c9b66,_0x154e92,_0xe948e7);}else _0x511f81[_0x2a2b06(0x22e)]('unexpected-response',_0x33874c,_0x4a8b5f)||_0x3c09fa(_0x511f81,_0x33874c,_0x2a2b06(0x29b)+_0x4a8b5f[_0x2a2b06(0x234)]);}),_0x33874c['on'](_0xb469e2(0x245),(_0x20cf1c,_0x261317,_0x558a60)=>{const _0x31a505=_0xb469e2;if(_0x511f81[_0x31a505(0x22e)](_0x31a505(0x245),_0x20cf1c),_0x511f81[_0x31a505(0x18e)]!==_0xbabdc['CONNECTING'])return;_0x33874c=_0x511f81[_0x31a505(0x183)]=null;const _0x47eb33=_0x20cf1c[_0x31a505(0x2f9)][_0x31a505(0x245)];if(_0x47eb33===void 0x0||_0x47eb33['toLowerCase']()!==_0x31a505(0x186)){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x316));return;}const _0x3984c9=_0xd57c82('sha1')['update'](_0x50fe9d+_0x49f23c)[_0x31a505(0x23c)](_0x31a505(0x2fd));if(_0x20cf1c[_0x31a505(0x2f9)]['sec-websocket-accept']!==_0x3984c9){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2e7));return;}const _0x2e10c1=_0x20cf1c[_0x31a505(0x2f9)]['sec-websocket-protocol'];let _0x3fac57;if(_0x2e10c1!==void 0x0?_0x57ad32[_0x31a505(0x2b0)]?_0x57ad32[_0x31a505(0x292)](_0x2e10c1)||(_0x3fac57=_0x31a505(0x226)):_0x3fac57=_0x31a505(0x2ee):_0x57ad32[_0x31a505(0x2b0)]&&(_0x3fac57=_0x31a505(0x286)),_0x3fac57){_0x3c09fa(_0x511f81,_0x261317,_0x3fac57);return;}_0x2e10c1&&(_0x511f81[_0x31a505(0x243)]=_0x2e10c1);const _0x1fa052=_0x20cf1c[_0x31a505(0x2f9)][_0x31a505(0x2a4)];if(_0x1fa052!==void 0x0){if(!_0x29b076){_0x3c09fa(_0x511f81,_0x261317,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x4aac7d;try{_0x4aac7d=_0x11f6e9(_0x1fa052);}catch{_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2c1));return;}const _0x4f7685=Object[_0x31a505(0x2ad)](_0x4aac7d);if(_0x4f7685[_0x31a505(0x1b2)]!==0x1||_0x4f7685[0x0]!==_0xab697b[_0x31a505(0x296)]){_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x222));return;}try{_0x29b076['accept'](_0x4aac7d[_0xab697b[_0x31a505(0x296)]]);}catch{_0x3c09fa(_0x511f81,_0x261317,_0x31a505(0x2c1));return;}_0x511f81[_0x31a505(0x1d6)][_0xab697b['extensionName']]=_0x29b076;}_0x511f81[_0x31a505(0x26b)](_0x261317,_0x558a60,{'allowSynchronousEvents':_0x26a286['allowSynchronousEvents'],'generateMask':_0x26a286[_0x31a505(0x246)],'maxPayload':_0x26a286[_0x31a505(0x181)],'skipUTF8Validation':_0x26a286[_0x31a505(0x2d0)]});}),_0x26a286['finishRequest']?_0x26a286['finishRequest'](_0x33874c,_0x511f81):_0x33874c[_0xb469e2(0x2d5)]();}function _0x1672ec(_0x5cb8fb,_0x4b530a){const _0x44b2c2=_0x921c42;_0x5cb8fb['_readyState']=_0xbabdc[_0x44b2c2(0x27e)],_0x5cb8fb[_0x44b2c2(0x208)]=!0x0,_0x5cb8fb['emit']('error',_0x4b530a),_0x5cb8fb[_0x44b2c2(0x2ae)]();}function _0x2c085e(_0x42db28){const _0x597e34=_0x921c42;return _0x42db28[_0x597e34(0x1b9)]=_0x42db28['socketPath'],_0xacd019[_0x597e34(0x269)](_0x42db28);}function _0x4726dd(_0x558abd){const _0x5921df=_0x921c42;return _0x558abd['path']=void 0x0,!_0x558abd['servername']&&_0x558abd[_0x5921df(0x2f1)]!==''&&(_0x558abd['servername']=_0xacd019[_0x5921df(0x194)](_0x558abd[_0x5921df(0x213)])?'':_0x558abd['host']),_0x3933e9['connect'](_0x558abd);}function _0x3c09fa(_0x139920,_0x49ba99,_0x11edd1){const _0x4675fb=_0x921c42;_0x139920[_0x4675fb(0x261)]=_0xbabdc['CLOSING'];const _0xc568c1=new Error(_0x11edd1);Error[_0x4675fb(0x287)](_0xc568c1,_0x3c09fa),_0x49ba99[_0x4675fb(0x17a)]?(_0x49ba99[_0xfaf311]=!0x0,_0x49ba99[_0x4675fb(0x27b)](),_0x49ba99[_0x4675fb(0x23d)]&&!_0x49ba99['socket'][_0x4675fb(0x21c)]&&_0x49ba99['socket'][_0x4675fb(0x1ba)](),process[_0x4675fb(0x258)](_0x1672ec,_0x139920,_0xc568c1)):(_0x49ba99[_0x4675fb(0x1ba)](_0xc568c1),_0x49ba99[_0x4675fb(0x204)](_0x4675fb(0x1fc),_0x139920['emit'][_0x4675fb(0x332)](_0x139920,'error')),_0x49ba99[_0x4675fb(0x204)](_0x4675fb(0x32c),_0x139920[_0x4675fb(0x2ae)][_0x4675fb(0x332)](_0x139920)));}function _0x29bc95(_0x6b425d,_0x2613c0,_0x28efc9){const _0x4f59c6=_0x921c42;if(_0x2613c0){const _0x475868=_0x512a16(_0x2613c0)?_0x2613c0[_0x4f59c6(0x2b0)]:_0x30a6c0(_0x2613c0)[_0x4f59c6(0x1b2)];_0x6b425d['_socket']?_0x6b425d[_0x4f59c6(0x1b8)]['_bufferedBytes']+=_0x475868:_0x6b425d[_0x4f59c6(0x1a0)]+=_0x475868;}if(_0x28efc9){const _0x2a6d8c=new Error(_0x4f59c6(0x2de)+_0x6b425d['readyState']+'\x20('+_0x25a73a[_0x6b425d[_0x4f59c6(0x18e)]]+')');process[_0x4f59c6(0x258)](_0x28efc9,_0x2a6d8c);}}function _0x4f7e55(_0x5a51e1,_0x4b03ab){const _0x52979e=_0x921c42,_0xfefcf1=this[_0x4f2815];_0xfefcf1[_0x52979e(0x1f1)]=!0x0,_0xfefcf1['_closeMessage']=_0x4b03ab,_0xfefcf1[_0x52979e(0x2a1)]=_0x5a51e1,_0xfefcf1[_0x52979e(0x1fa)][_0x4f2815]!==void 0x0&&(_0xfefcf1['_socket'][_0x52979e(0x256)](_0x52979e(0x231),_0x2ec1db),process[_0x52979e(0x258)](_0x266737,_0xfefcf1[_0x52979e(0x1fa)]),_0x5a51e1===0x3ed?_0xfefcf1['close']():_0xfefcf1[_0x52979e(0x32c)](_0x5a51e1,_0x4b03ab));}function _0x4cb3b2(){const _0x455ef4=_0x921c42,_0x4e76ed=this[_0x4f2815];_0x4e76ed[_0x455ef4(0x21f)]||_0x4e76ed['_socket'][_0x455ef4(0x189)]();}function _0x2b0490(_0x5e81a6){const _0x3f1da0=_0x921c42,_0xdcb479=this[_0x4f2815];_0xdcb479[_0x3f1da0(0x1fa)][_0x4f2815]!==void 0x0&&(_0xdcb479[_0x3f1da0(0x1fa)][_0x3f1da0(0x256)](_0x3f1da0(0x231),_0x2ec1db),process[_0x3f1da0(0x258)](_0x266737,_0xdcb479[_0x3f1da0(0x1fa)]),_0xdcb479[_0x3f1da0(0x32c)](_0x5e81a6[_0x138ab3])),_0xdcb479[_0x3f1da0(0x208)]||(_0xdcb479[_0x3f1da0(0x208)]=!0x0,_0xdcb479['emit'](_0x3f1da0(0x1fc),_0x5e81a6));}function _0xd092f7(){const _0x33d54e=_0x921c42;this[_0x4f2815][_0x33d54e(0x2ae)]();}function _0xd758d5(_0x4b758c,_0x191946){const _0x677d2d=_0x921c42;this[_0x4f2815][_0x677d2d(0x22e)](_0x677d2d(0x2a7),_0x4b758c,_0x191946);}function _0x995894(_0xfcd5b1){const _0x2983b0=_0x921c42,_0x2aa948=this[_0x4f2815];_0x2aa948['_autoPong']&&_0x2aa948['pong'](_0xfcd5b1,!this['_isServer'],_0x3c5e93),_0x2aa948[_0x2983b0(0x22e)](_0x2983b0(0x315),_0xfcd5b1);}function _0x4ca5a2(_0x2f0c8e){const _0x3bd469=_0x921c42;this[_0x4f2815][_0x3bd469(0x22e)](_0x3bd469(0x25a),_0x2f0c8e);}function _0x266737(_0x23ff7b){const _0x54579d=_0x921c42;_0x23ff7b[_0x54579d(0x189)]();}function _0x16628c(_0x47c38b){const _0x5ea257=_0x921c42,_0x280ecf=this[_0x4f2815];_0x280ecf[_0x5ea257(0x18e)]!==_0xbabdc['CLOSED']&&(_0x280ecf[_0x5ea257(0x18e)]===_0xbabdc[_0x5ea257(0x216)]&&(_0x280ecf[_0x5ea257(0x261)]=_0xbabdc['CLOSING'],_0x35020b(_0x280ecf)),this['_socket'][_0x5ea257(0x2d5)](),_0x280ecf[_0x5ea257(0x208)]||(_0x280ecf[_0x5ea257(0x208)]=!0x0,_0x280ecf['emit'](_0x5ea257(0x1fc),_0x47c38b)));}function _0x35020b(_0xf34109){const _0x4bf5d6=_0x921c42;_0xf34109[_0x4bf5d6(0x2d9)]=setTimeout(_0xf34109[_0x4bf5d6(0x1fa)]['destroy'][_0x4bf5d6(0x332)](_0xf34109[_0x4bf5d6(0x1fa)]),_0x4f297f);}function _0x4d28c6(){const _0x48c633=_0x921c42,_0x2463c1=this[_0x4f2815];this[_0x48c633(0x256)]('close',_0x4d28c6),this[_0x48c633(0x256)](_0x48c633(0x231),_0x2ec1db),this['removeListener'](_0x48c633(0x2d5),_0xb4d3d3),_0x2463c1[_0x48c633(0x261)]=_0xbabdc[_0x48c633(0x27e)];let _0x1ca514;!this[_0x48c633(0x1e9)][_0x48c633(0x311)]&&!_0x2463c1[_0x48c633(0x1f1)]&&!_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x177)][_0x48c633(0x32a)]&&(_0x1ca514=_0x2463c1['_socket'][_0x48c633(0x2ed)]())!==null&&_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x2e3)](_0x1ca514),_0x2463c1['_receiver'][_0x48c633(0x2d5)](),this[_0x4f2815]=void 0x0,clearTimeout(_0x2463c1['_closeTimer']),_0x2463c1[_0x48c633(0x19e)]['_writableState'][_0x48c633(0x323)]||_0x2463c1[_0x48c633(0x19e)][_0x48c633(0x177)][_0x48c633(0x32a)]?_0x2463c1[_0x48c633(0x2ae)]():(_0x2463c1['_receiver']['on'](_0x48c633(0x1fc),_0xd092f7),_0x2463c1[_0x48c633(0x19e)]['on']('finish',_0xd092f7));}function _0x2ec1db(_0x5cb475){const _0x3d8459=_0x921c42;this[_0x4f2815][_0x3d8459(0x19e)][_0x3d8459(0x2e3)](_0x5cb475)||this[_0x3d8459(0x25b)]();}function _0xb4d3d3(){const _0x1ce15a=_0x921c42,_0x3c6dd8=this[_0x4f2815];_0x3c6dd8[_0x1ce15a(0x261)]=_0xbabdc[_0x1ce15a(0x27e)],_0x3c6dd8[_0x1ce15a(0x19e)][_0x1ce15a(0x2d5)](),this[_0x1ce15a(0x2d5)]();}function _0x5252cc(){const _0x509c52=_0x921c42,_0x5ed65c=this[_0x4f2815];this[_0x509c52(0x256)]('error',_0x5252cc),this['on'](_0x509c52(0x1fc),_0x3c5e93),_0x5ed65c&&(_0x5ed65c[_0x509c52(0x261)]=_0xbabdc[_0x509c52(0x27e)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1ffb01}=oe;function _0x312f2e(_0x4ad839){_0x4ad839['emit']('close');}function _0x206ff4(){const _0x51e080=_0x22a9;!this[_0x51e080(0x21c)]&&this[_0x51e080(0x177)][_0x51e080(0x323)]&&this['destroy']();}function _0x4bd806(_0x3f652b){const _0x23d04d=_0x22a9;this['removeListener'](_0x23d04d(0x1fc),_0x4bd806),this['destroy'](),this[_0x23d04d(0x32b)](_0x23d04d(0x1fc))===0x0&&this[_0x23d04d(0x22e)]('error',_0x3f652b);}function _0x23c5cb(_0x8beb20,_0x373e95){const _0x44b2cf=_0x22a9;let _0x11f806=!0x0;const _0x452e80=new _0x1ffb01({..._0x373e95,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x8beb20['on'](_0x44b2cf(0x2a7),function(_0x3763a5,_0x54e9ef){const _0x192675=_0x44b2cf,_0x4e8c43=!_0x54e9ef&&_0x452e80[_0x192675(0x1e9)][_0x192675(0x2e9)]?_0x3763a5[_0x192675(0x1ec)]():_0x3763a5;_0x452e80[_0x192675(0x241)](_0x4e8c43)||_0x8beb20[_0x192675(0x25b)]();}),_0x8beb20[_0x44b2cf(0x204)](_0x44b2cf(0x1fc),function(_0x507c70){const _0xcb5eac=_0x44b2cf;_0x452e80[_0xcb5eac(0x21c)]||(_0x11f806=!0x1,_0x452e80[_0xcb5eac(0x1ba)](_0x507c70));}),_0x8beb20[_0x44b2cf(0x204)](_0x44b2cf(0x32c),function(){const _0x3a283f=_0x44b2cf;_0x452e80[_0x3a283f(0x21c)]||_0x452e80['push'](null);}),_0x452e80[_0x44b2cf(0x319)]=function(_0x1d9deb,_0x5e67d9){const _0x223361=_0x44b2cf;if(_0x8beb20[_0x223361(0x18e)]===_0x8beb20[_0x223361(0x24d)]){_0x5e67d9(_0x1d9deb),process[_0x223361(0x258)](_0x312f2e,_0x452e80);return;}let _0x2692b1=!0x1;_0x8beb20[_0x223361(0x204)]('error',function(_0x519904){_0x2692b1=!0x0,_0x5e67d9(_0x519904);}),_0x8beb20[_0x223361(0x204)](_0x223361(0x32c),function(){const _0x5ca0c3=_0x223361;_0x2692b1||_0x5e67d9(_0x1d9deb),process[_0x5ca0c3(0x258)](_0x312f2e,_0x452e80);}),_0x11f806&&_0x8beb20[_0x223361(0x175)]();},_0x452e80[_0x44b2cf(0x2ff)]=function(_0x42ed4e){const _0x1fe652=_0x44b2cf;if(_0x8beb20[_0x1fe652(0x18e)]===_0x8beb20[_0x1fe652(0x1fe)]){_0x8beb20[_0x1fe652(0x204)](_0x1fe652(0x1ef),function(){const _0x368db4=_0x1fe652;_0x452e80[_0x368db4(0x2ff)](_0x42ed4e);});return;}_0x8beb20[_0x1fe652(0x1fa)]!==null&&(_0x8beb20[_0x1fe652(0x1fa)]['_writableState']['finished']?(_0x42ed4e(),_0x452e80[_0x1fe652(0x1e9)][_0x1fe652(0x311)]&&_0x452e80[_0x1fe652(0x1ba)]()):(_0x8beb20[_0x1fe652(0x1fa)][_0x1fe652(0x204)](_0x1fe652(0x30c),function(){_0x42ed4e();}),_0x8beb20[_0x1fe652(0x32c)]()));},_0x452e80[_0x44b2cf(0x324)]=function(){const _0x433a3a=_0x44b2cf;_0x8beb20[_0x433a3a(0x21f)]&&_0x8beb20[_0x433a3a(0x189)]();},_0x452e80[_0x44b2cf(0x327)]=function(_0x5a6f01,_0x5824e4,_0x102db1){const _0x6980e1=_0x44b2cf;if(_0x8beb20['readyState']===_0x8beb20['CONNECTING']){_0x8beb20['once'](_0x6980e1(0x1ef),function(){const _0x453b23=_0x6980e1;_0x452e80[_0x453b23(0x327)](_0x5a6f01,_0x5824e4,_0x102db1);});return;}_0x8beb20[_0x6980e1(0x2ba)](_0x5a6f01,_0x102db1);},_0x452e80['on']('end',_0x206ff4),_0x452e80['on']('error',_0x4bd806),_0x452e80;}return Oe=_0x23c5cb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x256a42}=ae();function _0x4116b9(_0x5a6be5){const _0x5e9a63=_0x22a9,_0x3e5dee=new Set();let _0x4cdf20=-0x1,_0x140b9a=-0x1,_0x208eaf=0x0;for(_0x208eaf;_0x208eaf<_0x5a6be5[_0x5e9a63(0x1b2)];_0x208eaf++){const _0x2aafec=_0x5a6be5[_0x5e9a63(0x293)](_0x208eaf);if(_0x140b9a===-0x1&&_0x256a42[_0x2aafec]===0x1)_0x4cdf20===-0x1&&(_0x4cdf20=_0x208eaf);else{if(_0x208eaf!==0x0&&(_0x2aafec===0x20||_0x2aafec===0x9))_0x140b9a===-0x1&&_0x4cdf20!==-0x1&&(_0x140b9a=_0x208eaf);else{if(_0x2aafec===0x2c){if(_0x4cdf20===-0x1)throw new SyntaxError(_0x5e9a63(0x205)+_0x208eaf);_0x140b9a===-0x1&&(_0x140b9a=_0x208eaf);const _0x4e936b=_0x5a6be5[_0x5e9a63(0x18f)](_0x4cdf20,_0x140b9a);if(_0x3e5dee['has'](_0x4e936b))throw new SyntaxError(_0x5e9a63(0x1cd)+_0x4e936b+'\x22\x20subprotocol\x20is\x20duplicated');_0x3e5dee[_0x5e9a63(0x1d5)](_0x4e936b),_0x4cdf20=_0x140b9a=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x208eaf);}}}if(_0x4cdf20===-0x1||_0x140b9a!==-0x1)throw new SyntaxError(_0x5e9a63(0x19a));const _0x35a8c2=_0x5a6be5[_0x5e9a63(0x18f)](_0x4cdf20,_0x208eaf);if(_0x3e5dee[_0x5e9a63(0x292)](_0x35a8c2))throw new SyntaxError(_0x5e9a63(0x1cd)+_0x35a8c2+_0x5e9a63(0x23f));return _0x3e5dee[_0x5e9a63(0x1d5)](_0x35a8c2),_0x3e5dee;}return Ce={'parse':_0x4116b9},Ce;}var Te,rt;function Ft(){const _0x197e77=_0x51270a;if(rt)return Te;rt=0x1;const _0x275cc3=nt,_0x3395a2=ot,{Duplex:_0x1c1f0d}=oe,{createHash:_0x4e3247}=Le,_0x57e83a=ct(),_0x45de34=he(),_0x3e4f3f=At(),_0x36b74c=Pe(),{GUID:_0x3e4403,kWebSocket:_0x24dec1}=H(),_0x526d94=/^[+/0-9A-Za-z]{22}==$/,_0x5c83bf=0x0,_0x5f4e0f=0x1,_0x3bfcaa=0x2;class _0x4ccccc extends _0x275cc3{constructor(_0x32d0a2,_0x3d9dd8){const _0x29b69a=_0x22a9;if(super(),_0x32d0a2={'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':_0x36b74c,..._0x32d0a2},_0x32d0a2[_0x29b69a(0x2b5)]==null&&!_0x32d0a2[_0x29b69a(0x1b5)]&&!_0x32d0a2[_0x29b69a(0x239)]||_0x32d0a2[_0x29b69a(0x2b5)]!=null&&(_0x32d0a2['server']||_0x32d0a2[_0x29b69a(0x239)])||_0x32d0a2['server']&&_0x32d0a2[_0x29b69a(0x239)])throw new TypeError(_0x29b69a(0x2eb));if(_0x32d0a2['port']!=null?(this[_0x29b69a(0x285)]=_0x3395a2['createServer']((_0x5b4bcd,_0x5cab37)=>{const _0x147cfb=_0x29b69a,_0x415190=_0x3395a2[_0x147cfb(0x2bf)][0x1aa];_0x5cab37[_0x147cfb(0x320)](0x1aa,{'Content-Length':_0x415190[_0x147cfb(0x1b2)],'Content-Type':_0x147cfb(0x1e1)}),_0x5cab37[_0x147cfb(0x2d5)](_0x415190);}),this[_0x29b69a(0x285)][_0x29b69a(0x1b1)](_0x32d0a2['port'],_0x32d0a2[_0x29b69a(0x213)],_0x32d0a2[_0x29b69a(0x27f)],_0x3d9dd8)):_0x32d0a2[_0x29b69a(0x1b5)]&&(this[_0x29b69a(0x285)]=_0x32d0a2[_0x29b69a(0x1b5)]),this[_0x29b69a(0x285)]){const _0xd2c3e8=this['emit'][_0x29b69a(0x332)](this,_0x29b69a(0x2e4));this[_0x29b69a(0x325)]=_0x4e8594(this[_0x29b69a(0x285)],{'listening':this[_0x29b69a(0x22e)][_0x29b69a(0x332)](this,_0x29b69a(0x262)),'error':this['emit'][_0x29b69a(0x332)](this,_0x29b69a(0x1fc)),'upgrade':(_0x2fc282,_0x2854fc,_0x2024b9)=>{const _0x1eec06=_0x29b69a;this[_0x1eec06(0x30a)](_0x2fc282,_0x2854fc,_0x2024b9,_0xd2c3e8);}});}_0x32d0a2[_0x29b69a(0x26c)]===!0x0&&(_0x32d0a2[_0x29b69a(0x26c)]={}),_0x32d0a2[_0x29b69a(0x1dd)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x29b69a(0x2f8)]=_0x32d0a2,this[_0x29b69a(0x2d6)]=_0x5c83bf;}[_0x197e77(0x2e6)](){const _0x288f47=_0x197e77;if(this[_0x288f47(0x2f8)][_0x288f47(0x239)])throw new Error(_0x288f47(0x2d8));return this[_0x288f47(0x285)]?this[_0x288f47(0x285)][_0x288f47(0x2e6)]():null;}['close'](_0x205785){const _0x238e44=_0x197e77;if(this[_0x238e44(0x2d6)]===_0x3bfcaa){_0x205785&&this[_0x238e44(0x204)](_0x238e44(0x32c),()=>{const _0x1bb101=_0x238e44;_0x205785(new Error(_0x1bb101(0x303)));}),process['nextTick'](_0x5396fe,this);return;}if(_0x205785&&this[_0x238e44(0x204)](_0x238e44(0x32c),_0x205785),this['_state']!==_0x5f4e0f){if(this[_0x238e44(0x2d6)]=_0x5f4e0f,this['options']['noServer']||this['options']['server'])this[_0x238e44(0x285)]&&(this['_removeListeners'](),this[_0x238e44(0x325)]=this[_0x238e44(0x285)]=null),this['clients']?this[_0x238e44(0x192)]['size']?this[_0x238e44(0x1bb)]=!0x0:process[_0x238e44(0x258)](_0x5396fe,this):process[_0x238e44(0x258)](_0x5396fe,this);else{const _0x16a3ac=this[_0x238e44(0x285)];this[_0x238e44(0x325)](),this['_removeListeners']=this[_0x238e44(0x285)]=null,_0x16a3ac[_0x238e44(0x32c)](()=>{_0x5396fe(this);});}}}[_0x197e77(0x2cb)](_0x4415b5){const _0x3390a0=_0x197e77;if(this[_0x3390a0(0x2f8)][_0x3390a0(0x1b9)]){const _0x280cde=_0x4415b5[_0x3390a0(0x310)][_0x3390a0(0x21d)]('?');if((_0x280cde!==-0x1?_0x4415b5['url']['slice'](0x0,_0x280cde):_0x4415b5['url'])!==this[_0x3390a0(0x2f8)][_0x3390a0(0x1b9)])return!0x1;}return!0x0;}[_0x197e77(0x30a)](_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81){const _0x159a8c=_0x197e77;_0x37c968['on'](_0x159a8c(0x1fc),_0x59308d);const _0x14a88c=_0x3a704a[_0x159a8c(0x2f9)]['sec-websocket-key'],_0x36d934=_0x3a704a[_0x159a8c(0x2f9)][_0x159a8c(0x245)],_0x40bf2f=+_0x3a704a[_0x159a8c(0x2f9)][_0x159a8c(0x1ce)];if(_0x3a704a[_0x159a8c(0x180)]!==_0x159a8c(0x273)){_0x182875(this,_0x3a704a,_0x37c968,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x36d934===void 0x0||_0x36d934['toLowerCase']()!==_0x159a8c(0x186)){_0x182875(this,_0x3a704a,_0x37c968,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x14a88c===void 0x0||!_0x526d94[_0x159a8c(0x274)](_0x14a88c)){_0x182875(this,_0x3a704a,_0x37c968,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x40bf2f!==0xd&&_0x40bf2f!==0x8){_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x2bb),{'Sec-WebSocket-Version':_0x159a8c(0x1b6)});return;}if(!this[_0x159a8c(0x2cb)](_0x3a704a)){_0x49166c(_0x37c968,0x190);return;}const _0x26cbd6=_0x3a704a['headers'][_0x159a8c(0x1d2)];let _0x4012c1=new Set();if(_0x26cbd6!==void 0x0)try{_0x4012c1=_0x3e4f3f[_0x159a8c(0x294)](_0x26cbd6);}catch{_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x1bc));return;}const _0x55568e=_0x3a704a[_0x159a8c(0x2f9)]['sec-websocket-extensions'],_0x4bf337={};if(this[_0x159a8c(0x2f8)][_0x159a8c(0x26c)]&&_0x55568e!==void 0x0){const _0x492a70=new _0x45de34(this['options'][_0x159a8c(0x26c)],!0x0,this[_0x159a8c(0x2f8)][_0x159a8c(0x181)]);try{const _0x33dbf2=_0x57e83a[_0x159a8c(0x294)](_0x55568e);_0x33dbf2[_0x45de34[_0x159a8c(0x296)]]&&(_0x492a70['accept'](_0x33dbf2[_0x45de34[_0x159a8c(0x296)]]),_0x4bf337[_0x45de34[_0x159a8c(0x296)]]=_0x492a70);}catch{_0x182875(this,_0x3a704a,_0x37c968,0x190,_0x159a8c(0x282));return;}}if(this[_0x159a8c(0x2f8)]['verifyClient']){const _0x40458e={'origin':_0x3a704a[_0x159a8c(0x2f9)][''+(_0x40bf2f===0x8?_0x159a8c(0x31e):_0x159a8c(0x28f))],'secure':!!(_0x3a704a['socket'][_0x159a8c(0x228)]||_0x3a704a[_0x159a8c(0x23d)][_0x159a8c(0x308)]),'req':_0x3a704a};if(this['options']['verifyClient'][_0x159a8c(0x1b2)]===0x2){this[_0x159a8c(0x2f8)][_0x159a8c(0x2a0)](_0x40458e,(_0x1d3009,_0x4c81b1,_0x3c816d,_0x427801)=>{const _0x2257c3=_0x159a8c;if(!_0x1d3009)return _0x49166c(_0x37c968,_0x4c81b1||0x191,_0x3c816d,_0x427801);this[_0x2257c3(0x280)](_0x4bf337,_0x14a88c,_0x4012c1,_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81);});return;}if(!this['options']['verifyClient'](_0x40458e))return _0x49166c(_0x37c968,0x191);}this[_0x159a8c(0x280)](_0x4bf337,_0x14a88c,_0x4012c1,_0x3a704a,_0x37c968,_0x1fc515,_0x48eb81);}['completeUpgrade'](_0x1b81bb,_0x358d0b,_0x198f0d,_0x43eca2,_0x28697e,_0x3cb760,_0x4bc7aa){const _0x3d4095=_0x197e77;if(!_0x28697e[_0x3d4095(0x304)]||!_0x28697e['writable'])return _0x28697e['destroy']();if(_0x28697e[_0x24dec1])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3d4095(0x2d6)]>_0x5c83bf)return _0x49166c(_0x28697e,0x1f7);const _0x26501d=[_0x3d4095(0x29f),'Upgrade:\x20websocket',_0x3d4095(0x174),'Sec-WebSocket-Accept:\x20'+_0x4e3247(_0x3d4095(0x179))['update'](_0x358d0b+_0x3e4403)['digest'](_0x3d4095(0x2fd))],_0xa4b968=new this[(_0x3d4095(0x2f8))][(_0x3d4095(0x27a))](null,void 0x0,this['options']);if(_0x198f0d[_0x3d4095(0x2b0)]){const _0x5d4e7c=this[_0x3d4095(0x2f8)][_0x3d4095(0x295)]?this['options'][_0x3d4095(0x295)](_0x198f0d,_0x43eca2):_0x198f0d['values']()['next']()['value'];_0x5d4e7c&&(_0x26501d['push'](_0x3d4095(0x331)+_0x5d4e7c),_0xa4b968[_0x3d4095(0x243)]=_0x5d4e7c);}if(_0x1b81bb[_0x45de34[_0x3d4095(0x296)]]){const _0x2d969b=_0x1b81bb[_0x45de34['extensionName']][_0x3d4095(0x2b9)],_0x1faf2f=_0x57e83a[_0x3d4095(0x193)]({[_0x45de34[_0x3d4095(0x296)]]:[_0x2d969b]});_0x26501d[_0x3d4095(0x241)](_0x3d4095(0x339)+_0x1faf2f),_0xa4b968[_0x3d4095(0x1d6)]=_0x1b81bb;}this[_0x3d4095(0x22e)](_0x3d4095(0x2f9),_0x26501d,_0x43eca2),_0x28697e['write'](_0x26501d[_0x3d4095(0x252)]('\x0d\x0a')['join']('\x0d\x0a')),_0x28697e[_0x3d4095(0x256)](_0x3d4095(0x1fc),_0x59308d),_0xa4b968['setSocket'](_0x28697e,_0x3cb760,{'allowSynchronousEvents':this[_0x3d4095(0x2f8)][_0x3d4095(0x309)],'maxPayload':this['options'][_0x3d4095(0x181)],'skipUTF8Validation':this[_0x3d4095(0x2f8)][_0x3d4095(0x2d0)]}),this[_0x3d4095(0x192)]&&(this[_0x3d4095(0x192)][_0x3d4095(0x1d5)](_0xa4b968),_0xa4b968['on']('close',()=>{const _0x2a7a91=_0x3d4095;this[_0x2a7a91(0x192)][_0x2a7a91(0x30d)](_0xa4b968),this[_0x2a7a91(0x1bb)]&&!this[_0x2a7a91(0x192)][_0x2a7a91(0x2b0)]&&process[_0x2a7a91(0x258)](_0x5396fe,this);})),_0x4bc7aa(_0xa4b968,_0x43eca2);}}Te=_0x4ccccc;function _0x4e8594(_0x54c465,_0xa91dba){const _0x514dd2=_0x197e77;for(const _0x2695d7 of Object[_0x514dd2(0x2ad)](_0xa91dba))_0x54c465['on'](_0x2695d7,_0xa91dba[_0x2695d7]);return function(){const _0x3b750c=_0x514dd2;for(const _0x329747 of Object[_0x3b750c(0x2ad)](_0xa91dba))_0x54c465[_0x3b750c(0x256)](_0x329747,_0xa91dba[_0x329747]);};}function _0x5396fe(_0x57d070){const _0x2f8189=_0x197e77;_0x57d070[_0x2f8189(0x2d6)]=_0x3bfcaa,_0x57d070[_0x2f8189(0x22e)]('close');}function _0x59308d(){const _0xd11c50=_0x197e77;this[_0xd11c50(0x1ba)]();}function _0x49166c(_0x45ecb0,_0x274047,_0x5e509f,_0x1ad16f){const _0x27c9d3=_0x197e77;_0x5e509f=_0x5e509f||_0x3395a2[_0x27c9d3(0x2bf)][_0x274047],_0x1ad16f={'Connection':_0x27c9d3(0x32c),'Content-Type':_0x27c9d3(0x2f4),'Content-Length':Buffer[_0x27c9d3(0x2be)](_0x5e509f),..._0x1ad16f},_0x45ecb0[_0x27c9d3(0x204)](_0x27c9d3(0x30c),_0x45ecb0[_0x27c9d3(0x1ba)]),_0x45ecb0[_0x27c9d3(0x2d5)](_0x27c9d3(0x307)+_0x274047+'\x20'+_0x3395a2['STATUS_CODES'][_0x274047]+'\x0d\x0a'+Object[_0x27c9d3(0x2ad)](_0x1ad16f)[_0x27c9d3(0x17c)](_0x10b6d0=>_0x10b6d0+':\x20'+_0x1ad16f[_0x10b6d0])[_0x27c9d3(0x230)]('\x0d\x0a')+_0x27c9d3(0x20b)+_0x5e509f);}function _0x182875(_0x29ede3,_0x5c8f59,_0x4c978b,_0x237829,_0x4b2aa4,_0x158397){const _0x1aecda=_0x197e77;if(_0x29ede3[_0x1aecda(0x32b)](_0x1aecda(0x2c2))){const _0x5298b0=new Error(_0x4b2aa4);Error[_0x1aecda(0x287)](_0x5298b0,_0x182875),_0x29ede3[_0x1aecda(0x22e)](_0x1aecda(0x2c2),_0x5298b0,_0x4c978b,_0x5c8f59);}else _0x49166c(_0x4c978b,_0x237829,_0x4b2aa4,_0x158397);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x3e1aa7,_0x431dc6,_0x1fa412,_0x24d221)=>{const _0xe8c90c=_0x51270a;for(var _0x5c7854=_0x24d221>0x1?void 0x0:_0x24d221?jt(_0x431dc6,_0x1fa412):_0x431dc6,_0x3aafad=_0x3e1aa7[_0xe8c90c(0x1b2)]-0x1,_0x4f93fd;_0x3aafad>=0x0;_0x3aafad--)(_0x4f93fd=_0x3e1aa7[_0x3aafad])&&(_0x5c7854=_0x4f93fd(_0x5c7854)||_0x5c7854);return _0x5c7854;},qt=(_0x282550,_0x1549d4)=>(_0x5ad723,_0x51d8be)=>_0x1549d4(_0x5ad723,_0x51d8be,_0x282550);let ke=class extends A[_0x51270a(0x1dc)]{constructor(_0x481cbe){super(),this['_configService']=_0x481cbe;}['createSocket'](_0x3e9a35){const _0x4b4453=_0x51270a;var _0xa75b67;const _0x2fd846=(_0xa75b67=this['_configService'][_0x4b4453(0x2db)](fe))==null?void 0x0:_0xa75b67[_0x4b4453(0x2b7)];try{const _0x11110e=new $t(_0x3e9a35,{'headers':{..._0x2fd846}}),_0x2dcc5b=new A[(_0x4b4453(0x1e4))]();return{'URL':_0x3e9a35,'close':(_0x2b6fa2,_0x599e11)=>{const _0x5969f4=_0x4b4453;_0x11110e[_0x5969f4(0x32c)](_0x2b6fa2,_0x599e11),_0x2dcc5b[_0x5969f4(0x30e)]();},'send':_0x15b453=>{const _0xac9cea=_0x4b4453;_0x11110e[_0xac9cea(0x2ba)](_0x15b453);},'open$':new V['Observable'](_0x2f1c23=>{const _0x653017=_0x4b4453,_0x11cbd0=_0x348454=>_0x2f1c23[_0x653017(0x237)](_0x348454);_0x11110e[_0x653017(0x2f5)](_0x653017(0x1ef),_0x11cbd0),_0x2dcc5b[_0x653017(0x1d5)](A[_0x653017(0x299)](()=>_0x11110e['removeEventListener'](_0x653017(0x1ef),_0x11cbd0)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]()),'close$':new V[(_0x4b4453(0x1d8))](_0x373c99=>{const _0x657ced=_0x4b4453,_0x294ace=_0x183a9a=>_0x373c99[_0x657ced(0x237)](_0x183a9a);_0x11110e['addEventListener']('close',_0x294ace),_0x2dcc5b[_0x657ced(0x1d5)](A[_0x657ced(0x299)](()=>_0x11110e[_0x657ced(0x225)]('close',_0x294ace)));})['pipe'](V[_0x4b4453(0x1f0)]()),'error$':new V['Observable'](_0x2905aa=>{const _0x2fe0b3=_0x4b4453,_0x4b8c4c=_0x19262c=>_0x2905aa[_0x2fe0b3(0x237)](_0x19262c);_0x11110e['addEventListener'](_0x2fe0b3(0x1fc),_0x4b8c4c),_0x2dcc5b[_0x2fe0b3(0x1d5)](A[_0x2fe0b3(0x299)](()=>_0x11110e[_0x2fe0b3(0x225)](_0x2fe0b3(0x1fc),_0x4b8c4c)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]()),'message$':new V[(_0x4b4453(0x1d8))](_0x8045d7=>{const _0x35fd68=_0x4b4453,_0x4766ac=_0x1e752d=>_0x8045d7['next'](_0x1e752d);_0x11110e[_0x35fd68(0x2f5)]('message',_0x4766ac),_0x2dcc5b[_0x35fd68(0x1d5)](A[_0x35fd68(0x299)](()=>_0x11110e['removeEventListener']('message',_0x4766ac)));})[_0x4b4453(0x1c0)](V[_0x4b4453(0x1f0)]())};}catch(_0x275d05){return console[_0x4b4453(0x1fc)](_0x275d05),null;}}};ke=Wt([qt(0x0,A[_0x51270a(0x17e)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x51270a(0x23e)],Ht=(_0x49d816,_0x364497,_0x3890f2)=>_0x364497 in _0x49d816?Gt(_0x49d816,_0x364497,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3890f2}):_0x49d816[_0x364497]=_0x3890f2,zt=(_0x4b810f,_0x4eb7bb,_0x3c584c,_0x3e8f55)=>{const _0x4a98e8=_0x51270a;for(var _0x1e6a7=_0x3e8f55>0x1?void 0x0:_0x3e8f55?Vt(_0x4eb7bb,_0x3c584c):_0x4eb7bb,_0xd66e1a=_0x4b810f[_0x4a98e8(0x1b2)]-0x1,_0x2beb53;_0xd66e1a>=0x0;_0xd66e1a--)(_0x2beb53=_0x4b810f[_0xd66e1a])&&(_0x1e6a7=_0x2beb53(_0x1e6a7)||_0x1e6a7);return _0x1e6a7;},Ne=(_0x4f6eb6,_0x41fd30)=>(_0x26c13c,_0x506cb7)=>_0x41fd30(_0x26c13c,_0x506cb7,_0x4f6eb6),Yt=(_0x508d6c,_0x4057f7,_0xfc7e4c)=>Ht(_0x508d6c,_0x4057f7+'',_0xfc7e4c);exports[_0x51270a(0x238)]=class extends A[_0x51270a(0x247)]{constructor(_0x2a36d1=Ct,_0x29b893,_0x1f9af3,_0x30091a){const _0x33f083=_0x51270a;_0x2a36d1[_0x33f083(0x2b7)]||_0x29b893[_0x33f083(0x190)](_0x33f083(0x1f7)),super(),this['_configService']=_0x1f9af3,this[_0x33f083(0x22f)]=_0x30091a,this[_0x33f083(0x28e)][_0x33f083(0x21e)](fe,_0x2a36d1);}['onStarting'](){const _0x26c1a2=_0x51270a;this[_0x26c1a2(0x19c)]();}['_registerDependencies'](){const _0x250d0a=_0x51270a;A[_0x250d0a(0x1da)](this[_0x250d0a(0x22f)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x51270a(0x238)],'pluginName',_0x51270a(0x1ee)),exports[_0x51270a(0x238)]=zt([A[_0x51270a(0x321)](st[_0x51270a(0x272)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x51270a(0x17e)]),Ne(0x3,A[_0x51270a(0x300)](A[_0x51270a(0x259)]))],exports[_0x51270a(0x238)]);var Kt=Object[_0x51270a(0x23e)],Xt=(_0x466f9d,_0x5e56c9,_0x221106,_0x306cf3)=>{for(var _0x525bd4=_0x306cf3>0x1?void 0x0:_0x306cf3?Kt(_0x5e56c9,_0x221106):_0x5e56c9,_0x1bc395=_0x466f9d['length']-0x1,_0xe364eb;_0x1bc395>=0x0;_0x1bc395--)(_0xe364eb=_0x466f9d[_0x1bc395])&&(_0x525bd4=_0xe364eb(_0x525bd4)||_0x525bd4);return _0x525bd4;},ne=(_0x30c666,_0x1ded40)=>(_0x1c824d,_0x49d641)=>_0x1ded40(_0x1c824d,_0x49d641,_0x30c666);exports[_0x51270a(0x306)]=class extends st[_0x51270a(0x1c9)]{constructor(_0xd5a516,_0x5d4840,_0x1bd1ec,_0x43e3b8,_0xfb82b5){const _0x351e20=_0x51270a;super(_0xd5a516,_0x5d4840,_0x1bd1ec,_0x43e3b8,_0xfb82b5);const _0x3f811c=this[_0x351e20(0x28e)][_0x351e20(0x2db)](fe);this['_httpService'][_0x351e20(0x2c9)]({'interceptor':(_0x440fa9,_0x446411)=>{const _0x21f360=_0x351e20;var _0x88b8b0;const _0x2246a2=_0x440fa9[_0x21f360(0x2f9)];return(_0x88b8b0=_0x3f811c==null?void 0x0:_0x3f811c[_0x21f360(0x2b7)])!=null&&_0x88b8b0['cookie']&&_0x2246a2[_0x21f360(0x1b3)](_0x21f360(0x244),_0x3f811c[_0x21f360(0x2b7)]['cookie']),_0x446411(_0x440fa9);}});}async[_0x51270a(0x1a8)](_0x3cef58){const _0x3c467a=_0x51270a;return this[_0x3c467a(0x32f)](_0x3cef58);}},exports[_0x51270a(0x306)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A['Inject'](it[_0x51270a(0x25f)])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x4c1ef6=_0x2aeb;function _0x2aeb(_0x34f605,_0x452610){const _0x556ad9=_0x556a();return _0x2aeb=function(_0x2aebc8,_0xaa037c){_0x2aebc8=_0x2aebc8-0x172;let _0xae8d52=_0x556ad9[_0x2aebc8];return _0xae8d52;},_0x2aeb(_0x34f605,_0x452610);}(function(_0x2d03bc,_0x30927a){const _0x1539c7=_0x2aeb,_0x947bf6=_0x2d03bc();while(!![]){try{const _0x93fb22=-parseInt(_0x1539c7(0x2fd))/0x1+-parseInt(_0x1539c7(0x2c8))/0x2+parseInt(_0x1539c7(0x293))/0x3*(parseInt(_0x1539c7(0x2a7))/0x4)+parseInt(_0x1539c7(0x1d2))/0x5+parseInt(_0x1539c7(0x2e3))/0x6+-parseInt(_0x1539c7(0x1f0))/0x7+parseInt(_0x1539c7(0x22d))/0x8;if(_0x93fb22===_0x30927a)break;else _0x947bf6['push'](_0x947bf6['shift']());}catch(_0xf02d29){_0x947bf6['push'](_0x947bf6['shift']());}}}(_0x556a,0x90eee));Object['defineProperty'](exports,Symbol[_0x4c1ef6(0x177)],{'value':_0x4c1ef6(0x1b4)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4c1ef6(0x28d),Ct={'customHeaders':{}};function Tt(_0x379422){const _0x38530e=_0x4c1ef6;return _0x379422&&_0x379422[_0x38530e(0x203)]&&Object[_0x38530e(0x17f)][_0x38530e(0x193)][_0x38530e(0x217)](_0x379422,_0x38530e(0x19e))?_0x379422[_0x38530e(0x19e)]:_0x379422;}function at(_0x2ada3b){const _0x317487=_0x4c1ef6;if(Object[_0x317487(0x17f)][_0x317487(0x193)][_0x317487(0x217)](_0x2ada3b,_0x317487(0x203)))return _0x2ada3b;var _0xa9732f=_0x2ada3b[_0x317487(0x19e)];if(typeof _0xa9732f==_0x317487(0x1f7)){var _0x4f77af=function _0x2915f7(){const _0x3b1188=_0x317487;var _0x5d4e12=!0x1;try{_0x5d4e12=this instanceof _0x2915f7;}catch{}return _0x5d4e12?Reflect['construct'](_0xa9732f,arguments,this[_0x3b1188(0x276)]):_0xa9732f[_0x3b1188(0x302)](this,arguments);};_0x4f77af[_0x317487(0x17f)]=_0xa9732f[_0x317487(0x17f)];}else _0x4f77af={};return Object[_0x317487(0x231)](_0x4f77af,_0x317487(0x203),{'value':!0x0}),Object[_0x317487(0x253)](_0x2ada3b)[_0x317487(0x2a9)](function(_0x2c7e14){const _0x4ae630=_0x317487;var _0x1d33b6=Object[_0x4ae630(0x29c)](_0x2ada3b,_0x2c7e14);Object[_0x4ae630(0x231)](_0x4f77af,_0x2c7e14,_0x1d33b6['get']?_0x1d33b6:{'enumerable':!0x0,'get':function(){return _0x2ada3b[_0x2c7e14];}});}),_0x4f77af;}var se={'exports':{}},ge,Ge;function H(){const _0x559834=_0x4c1ef6;if(Ge)return ge;Ge=0x1;const _0x2d592c=[_0x559834(0x2f4),_0x559834(0x258),'fragments'],_0x3f1bca=typeof Blob<'u';return _0x3f1bca&&_0x2d592c['push'](_0x559834(0x2d1)),ge={'BINARY_TYPES':_0x2d592c,'EMPTY_BUFFER':Buffer[_0x559834(0x2ef)](0x0),'GUID':_0x559834(0x192),'hasBlob':_0x3f1bca,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x559834(0x20b)),'kStatusCode':Symbol(_0x559834(0x1d1)),'kWebSocket':Symbol(_0x559834(0x2e5)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x4c1ef6(0x177)],{'value':_0x4c1ef6(0x1b4)})),Lt=at(kt);var Ve;function ce(){const _0x4e1e61=_0x4c1ef6;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x53ec36}=H(),_0x387144=Buffer[Symbol[_0x4e1e61(0x2d2)]];function _0x1eacbd(_0x1f9643,_0x1ac8c4){const _0x5cbe32=_0x4e1e61;if(_0x1f9643['length']===0x0)return _0x53ec36;if(_0x1f9643[_0x5cbe32(0x173)]===0x1)return _0x1f9643[0x0];const _0x56a794=Buffer['allocUnsafe'](_0x1ac8c4);let _0x22e128=0x0;for(let _0x3bb333=0x0;_0x3bb333<_0x1f9643['length'];_0x3bb333++){const _0x10c909=_0x1f9643[_0x3bb333];_0x56a794[_0x5cbe32(0x31c)](_0x10c909,_0x22e128),_0x22e128+=_0x10c909['length'];}return _0x22e128<_0x1ac8c4?new _0x387144(_0x56a794[_0x5cbe32(0x295)],_0x56a794[_0x5cbe32(0x266)],_0x22e128):_0x56a794;}function _0x26ec1f(_0x4e87de,_0x3ad63d,_0x5e78e3,_0x284dda,_0x1c1fcf){for(let _0x41a708=0x0;_0x41a708<_0x1c1fcf;_0x41a708++)_0x5e78e3[_0x284dda+_0x41a708]=_0x4e87de[_0x41a708]^_0x3ad63d[_0x41a708&0x3];}function _0x37697b(_0x23de10,_0x348919){const _0x11afa8=_0x4e1e61;for(let _0x328645=0x0;_0x328645<_0x23de10[_0x11afa8(0x173)];_0x328645++)_0x23de10[_0x328645]^=_0x348919[_0x328645&0x3];}function _0x3962bf(_0x313222){const _0x55e7fe=_0x4e1e61;return _0x313222[_0x55e7fe(0x173)]===_0x313222[_0x55e7fe(0x295)][_0x55e7fe(0x205)]?_0x313222[_0x55e7fe(0x295)]:_0x313222[_0x55e7fe(0x295)]['slice'](_0x313222[_0x55e7fe(0x266)],_0x313222[_0x55e7fe(0x266)]+_0x313222[_0x55e7fe(0x173)]);}function _0x342742(_0x1b7e86){const _0x567278=_0x4e1e61;if(_0x342742['readOnly']=!0x0,Buffer[_0x567278(0x1d0)](_0x1b7e86))return _0x1b7e86;let _0x2f19f4;return _0x1b7e86 instanceof ArrayBuffer?_0x2f19f4=new _0x387144(_0x1b7e86):ArrayBuffer['isView'](_0x1b7e86)?_0x2f19f4=new _0x387144(_0x1b7e86['buffer'],_0x1b7e86['byteOffset'],_0x1b7e86[_0x567278(0x205)]):(_0x2f19f4=Buffer[_0x567278(0x294)](_0x1b7e86),_0x342742[_0x567278(0x1e7)]=!0x1),_0x2f19f4;}if(se[_0x4e1e61(0x212)]={'concat':_0x1eacbd,'mask':_0x26ec1f,'toArrayBuffer':_0x3962bf,'toBuffer':_0x342742,'unmask':_0x37697b},!process[_0x4e1e61(0x2cd)][_0x4e1e61(0x17e)])try{const _0x35b0ab=Lt;se['exports'][_0x4e1e61(0x21d)]=function(_0x1f54e6,_0x33f9c1,_0x470f84,_0x4b64e1,_0x46b021){const _0x50c5c1=_0x4e1e61;_0x46b021<0x30?_0x26ec1f(_0x1f54e6,_0x33f9c1,_0x470f84,_0x4b64e1,_0x46b021):_0x35b0ab[_0x50c5c1(0x21d)](_0x1f54e6,_0x33f9c1,_0x470f84,_0x4b64e1,_0x46b021);},se[_0x4e1e61(0x212)][_0x4e1e61(0x1d5)]=function(_0x3a80b9,_0x1ebdd0){const _0x4aa625=_0x4e1e61;_0x3a80b9[_0x4aa625(0x173)]<0x20?_0x37697b(_0x3a80b9,_0x1ebdd0):_0x35b0ab[_0x4aa625(0x1d5)](_0x3a80b9,_0x1ebdd0);};}catch{}return se[_0x4e1e61(0x212)];}var ye,He;function Pt(){const _0x49965a=_0x4c1ef6;if(He)return ye;He=0x1;const _0xef73b9=Symbol(_0x49965a(0x1f3)),_0x18d154=Symbol(_0x49965a(0x26f));class _0x2cb37c{constructor(_0x57c03a){const _0x8359be=_0x49965a;this[_0xef73b9]=()=>{this['pending']--,this[_0x18d154]();},this[_0x8359be(0x1ab)]=_0x57c03a||0x1/0x0,this['jobs']=[],this[_0x8359be(0x222)]=0x0;}[_0x49965a(0x172)](_0x23844e){const _0x586687=_0x49965a;this[_0x586687(0x2da)][_0x586687(0x2d6)](_0x23844e),this[_0x18d154]();}[_0x18d154](){const _0x531035=_0x49965a;if(this[_0x531035(0x222)]!==this[_0x531035(0x1ab)]&&this['jobs'][_0x531035(0x173)]){const _0x34880d=this[_0x531035(0x2da)][_0x531035(0x269)]();this[_0x531035(0x222)]++,_0x34880d(this[_0xef73b9]);}}}return ye=_0x2cb37c,ye;}var ve,ze;function he(){const _0x1dbc1d=_0x4c1ef6;if(ze)return ve;ze=0x1;const _0x1f3db1=bt,_0x263ef7=ce(),_0x56c709=Pt(),{kStatusCode:_0x591b8a}=H(),_0x9b2be=Buffer[Symbol[_0x1dbc1d(0x2d2)]],_0x5f4bbf=Buffer['from']([0x0,0x0,0xff,0xff]),_0x5ed33a=Symbol(_0x1dbc1d(0x1fc)),_0x1007c3=Symbol(_0x1dbc1d(0x2ce)),_0x50b429=Symbol(_0x1dbc1d(0x1c8)),_0x373e1d=Symbol(_0x1dbc1d(0x1b9)),_0x5116ab=Symbol('error');let _0x2742cc;class _0x4f4206{constructor(_0x56abec,_0x31fc44,_0x30956c){const _0x43e022=_0x1dbc1d;if(this[_0x43e022(0x1bf)]=_0x30956c|0x0,this[_0x43e022(0x327)]=_0x56abec||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x43e022(0x327)][_0x43e022(0x1e3)]:0x400,this[_0x43e022(0x2a3)]=!!_0x31fc44,this[_0x43e022(0x246)]=null,this[_0x43e022(0x262)]=null,this[_0x43e022(0x207)]=null,!_0x2742cc){const _0x130410=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x43e022(0x23a)]:0xa;_0x2742cc=new _0x56c709(_0x130410);}}static get[_0x1dbc1d(0x2a2)](){return'permessage-deflate';}[_0x1dbc1d(0x18d)](){const _0x305538=_0x1dbc1d,_0x4621f5={};return this[_0x305538(0x327)][_0x305538(0x255)]&&(_0x4621f5[_0x305538(0x306)]=!0x0),this[_0x305538(0x327)][_0x305538(0x194)]&&(_0x4621f5[_0x305538(0x2c3)]=!0x0),this['_options'][_0x305538(0x28f)]&&(_0x4621f5['server_max_window_bits']=this[_0x305538(0x327)][_0x305538(0x28f)]),this['_options'][_0x305538(0x2fc)]?_0x4621f5[_0x305538(0x2ff)]=this[_0x305538(0x327)][_0x305538(0x2fc)]:this['_options'][_0x305538(0x2fc)]==null&&(_0x4621f5['client_max_window_bits']=!0x0),_0x4621f5;}[_0x1dbc1d(0x312)](_0x112832){const _0x6b5f85=_0x1dbc1d;return _0x112832=this[_0x6b5f85(0x1a0)](_0x112832),this[_0x6b5f85(0x207)]=this[_0x6b5f85(0x2a3)]?this[_0x6b5f85(0x22f)](_0x112832):this[_0x6b5f85(0x229)](_0x112832),this[_0x6b5f85(0x207)];}['cleanup'](){const _0xe6ba51=_0x1dbc1d;if(this['_inflate']&&(this[_0xe6ba51(0x262)][_0xe6ba51(0x291)](),this[_0xe6ba51(0x262)]=null),this[_0xe6ba51(0x246)]){const _0x421997=this[_0xe6ba51(0x246)][_0x50b429];this[_0xe6ba51(0x246)]['close'](),this['_deflate']=null,_0x421997&&_0x421997(new Error(_0xe6ba51(0x304)));}}[_0x1dbc1d(0x22f)](_0x518dc4){const _0x52db08=_0x1dbc1d,_0x130b8b=this[_0x52db08(0x327)],_0x2251fa=_0x518dc4['find'](_0x3c3a6e=>!(_0x130b8b[_0x52db08(0x255)]===!0x1&&_0x3c3a6e['server_no_context_takeover']||_0x3c3a6e['server_max_window_bits']&&(_0x130b8b[_0x52db08(0x28f)]===!0x1||typeof _0x130b8b[_0x52db08(0x28f)]==_0x52db08(0x329)&&_0x130b8b['serverMaxWindowBits']>_0x3c3a6e[_0x52db08(0x2eb)])||typeof _0x130b8b['clientMaxWindowBits']==_0x52db08(0x329)&&!_0x3c3a6e[_0x52db08(0x2ff)]));if(!_0x2251fa)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x130b8b['serverNoContextTakeover']&&(_0x2251fa[_0x52db08(0x306)]=!0x0),_0x130b8b[_0x52db08(0x194)]&&(_0x2251fa[_0x52db08(0x2c3)]=!0x0),typeof _0x130b8b[_0x52db08(0x28f)]=='number'&&(_0x2251fa[_0x52db08(0x2eb)]=_0x130b8b[_0x52db08(0x28f)]),typeof _0x130b8b[_0x52db08(0x2fc)]==_0x52db08(0x329)?_0x2251fa[_0x52db08(0x2ff)]=_0x130b8b[_0x52db08(0x2fc)]:(_0x2251fa[_0x52db08(0x2ff)]===!0x0||_0x130b8b[_0x52db08(0x2fc)]===!0x1)&&delete _0x2251fa['client_max_window_bits'],_0x2251fa;}['acceptAsClient'](_0x258fd8){const _0x26f3d7=_0x1dbc1d,_0xe0bad8=_0x258fd8[0x0];if(this['_options'][_0x26f3d7(0x194)]===!0x1&&_0xe0bad8[_0x26f3d7(0x2c3)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xe0bad8[_0x26f3d7(0x2ff)])typeof this[_0x26f3d7(0x327)][_0x26f3d7(0x2fc)]==_0x26f3d7(0x329)&&(_0xe0bad8['client_max_window_bits']=this['_options'][_0x26f3d7(0x2fc)]);else{if(this[_0x26f3d7(0x327)][_0x26f3d7(0x2fc)]===!0x1||typeof this['_options'][_0x26f3d7(0x2fc)]==_0x26f3d7(0x329)&&_0xe0bad8[_0x26f3d7(0x2ff)]>this[_0x26f3d7(0x327)][_0x26f3d7(0x2fc)])throw new Error(_0x26f3d7(0x27b));}return _0xe0bad8;}[_0x1dbc1d(0x1a0)](_0x40acc5){const _0x3408cf=_0x1dbc1d;return _0x40acc5[_0x3408cf(0x2a9)](_0x330f50=>{const _0x2da972=_0x3408cf;Object['keys'](_0x330f50)[_0x2da972(0x2a9)](_0x183962=>{const _0x4eed9e=_0x2da972;let _0x40a7b4=_0x330f50[_0x183962];if(_0x40a7b4[_0x4eed9e(0x173)]>0x1)throw new Error('Parameter\x20\x22'+_0x183962+_0x4eed9e(0x1ba));if(_0x40a7b4=_0x40a7b4[0x0],_0x183962===_0x4eed9e(0x2ff)){if(_0x40a7b4!==!0x0){const _0x467cb4=+_0x40a7b4;if(!Number[_0x4eed9e(0x2db)](_0x467cb4)||_0x467cb4<0x8||_0x467cb4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x183962+_0x4eed9e(0x1fe)+_0x40a7b4);_0x40a7b4=_0x467cb4;}else{if(!this[_0x4eed9e(0x2a3)])throw new TypeError(_0x4eed9e(0x250)+_0x183962+_0x4eed9e(0x1fe)+_0x40a7b4);}}else{if(_0x183962==='server_max_window_bits'){const _0x419519=+_0x40a7b4;if(!Number[_0x4eed9e(0x2db)](_0x419519)||_0x419519<0x8||_0x419519>0xf)throw new TypeError(_0x4eed9e(0x250)+_0x183962+_0x4eed9e(0x1fe)+_0x40a7b4);_0x40a7b4=_0x419519;}else{if(_0x183962===_0x4eed9e(0x2c3)||_0x183962===_0x4eed9e(0x306)){if(_0x40a7b4!==!0x0)throw new TypeError(_0x4eed9e(0x250)+_0x183962+'\x22:\x20'+_0x40a7b4);}else throw new Error(_0x4eed9e(0x281)+_0x183962+'\x22');}}_0x330f50[_0x183962]=_0x40a7b4;});}),_0x40acc5;}[_0x1dbc1d(0x21a)](_0x230e43,_0x2cd083,_0x44724a){const _0x37e0db=_0x1dbc1d;_0x2742cc[_0x37e0db(0x172)](_0x4c4da2=>{const _0x3930ae=_0x37e0db;this[_0x3930ae(0x318)](_0x230e43,_0x2cd083,(_0x50689b,_0x46d947)=>{_0x4c4da2(),_0x44724a(_0x50689b,_0x46d947);});});}[_0x1dbc1d(0x176)](_0x1298c3,_0x4f6a9a,_0x3a6552){const _0x3fa58a=_0x1dbc1d;_0x2742cc[_0x3fa58a(0x172)](_0xe1f106=>{const _0x5a9b76=_0x3fa58a;this[_0x5a9b76(0x286)](_0x1298c3,_0x4f6a9a,(_0x58882a,_0x155f82)=>{_0xe1f106(),_0x3a6552(_0x58882a,_0x155f82);});});}[_0x1dbc1d(0x318)](_0x5535ff,_0x42f51c,_0x4d1afd){const _0x5ad7f5=_0x1dbc1d,_0x3dcc4f=this['_isServer']?_0x5ad7f5(0x27f):_0x5ad7f5(0x209);if(!this[_0x5ad7f5(0x262)]){const _0x1d6e5c=_0x3dcc4f+_0x5ad7f5(0x1c9),_0x31ef03=typeof this[_0x5ad7f5(0x207)][_0x1d6e5c]!='number'?_0x1f3db1['Z_DEFAULT_WINDOWBITS']:this[_0x5ad7f5(0x207)][_0x1d6e5c];this['_inflate']=_0x1f3db1[_0x5ad7f5(0x29d)]({...this[_0x5ad7f5(0x327)][_0x5ad7f5(0x259)],'windowBits':_0x31ef03}),this[_0x5ad7f5(0x262)][_0x5ed33a]=this,this[_0x5ad7f5(0x262)][_0x1007c3]=0x0,this[_0x5ad7f5(0x262)][_0x373e1d]=[],this[_0x5ad7f5(0x262)]['on']('error',_0x280dd2),this[_0x5ad7f5(0x262)]['on'](_0x5ad7f5(0x2d9),_0x3a2cc7);}this['_inflate'][_0x50b429]=_0x4d1afd,this[_0x5ad7f5(0x262)][_0x5ad7f5(0x244)](_0x5535ff),_0x42f51c&&this[_0x5ad7f5(0x262)][_0x5ad7f5(0x244)](_0x5f4bbf),this[_0x5ad7f5(0x262)][_0x5ad7f5(0x211)](()=>{const _0x4ebabc=_0x5ad7f5,_0x443569=this[_0x4ebabc(0x262)][_0x5116ab];if(_0x443569){this[_0x4ebabc(0x262)][_0x4ebabc(0x291)](),this[_0x4ebabc(0x262)]=null,_0x4d1afd(_0x443569);return;}const _0x2da6bf=_0x263ef7['concat'](this['_inflate'][_0x373e1d],this['_inflate'][_0x1007c3]);this[_0x4ebabc(0x262)]['_readableState']['endEmitted']?(this[_0x4ebabc(0x262)][_0x4ebabc(0x291)](),this[_0x4ebabc(0x262)]=null):(this[_0x4ebabc(0x262)][_0x1007c3]=0x0,this['_inflate'][_0x373e1d]=[],_0x42f51c&&this['params'][_0x3dcc4f+_0x4ebabc(0x2fb)]&&this[_0x4ebabc(0x262)][_0x4ebabc(0x265)]()),_0x4d1afd(null,_0x2da6bf);});}[_0x1dbc1d(0x286)](_0x3de15f,_0x14ab67,_0x4c1fe4){const _0x467ca8=_0x1dbc1d,_0x43e44a=this[_0x467ca8(0x2a3)]?_0x467ca8(0x209):'client';if(!this[_0x467ca8(0x246)]){const _0x1eb01a=_0x43e44a+_0x467ca8(0x1c9),_0x6d529b=typeof this[_0x467ca8(0x207)][_0x1eb01a]!=_0x467ca8(0x329)?_0x1f3db1[_0x467ca8(0x2bf)]:this['params'][_0x1eb01a];this[_0x467ca8(0x246)]=_0x1f3db1[_0x467ca8(0x214)]({...this[_0x467ca8(0x327)]['zlibDeflateOptions'],'windowBits':_0x6d529b}),this[_0x467ca8(0x246)][_0x1007c3]=0x0,this['_deflate'][_0x373e1d]=[],this[_0x467ca8(0x246)]['on'](_0x467ca8(0x2d9),_0x163f65);}this[_0x467ca8(0x246)][_0x50b429]=_0x4c1fe4,this['_deflate']['write'](_0x3de15f),this[_0x467ca8(0x246)]['flush'](_0x1f3db1[_0x467ca8(0x228)],()=>{const _0x43cdef=_0x467ca8;if(!this[_0x43cdef(0x246)])return;let _0x6a155e=_0x263ef7['concat'](this[_0x43cdef(0x246)][_0x373e1d],this[_0x43cdef(0x246)][_0x1007c3]);_0x14ab67&&(_0x6a155e=new _0x9b2be(_0x6a155e[_0x43cdef(0x295)],_0x6a155e['byteOffset'],_0x6a155e[_0x43cdef(0x173)]-0x4)),this[_0x43cdef(0x246)][_0x50b429]=null,this[_0x43cdef(0x246)][_0x1007c3]=0x0,this[_0x43cdef(0x246)][_0x373e1d]=[],_0x14ab67&&this[_0x43cdef(0x207)][_0x43e44a+_0x43cdef(0x2fb)]&&this[_0x43cdef(0x246)][_0x43cdef(0x265)](),_0x4c1fe4(null,_0x6a155e);});}}ve=_0x4f4206;function _0x163f65(_0x3f8c52){const _0x5a02b1=_0x1dbc1d;this[_0x373e1d][_0x5a02b1(0x2d6)](_0x3f8c52),this[_0x1007c3]+=_0x3f8c52['length'];}function _0x3a2cc7(_0x3d57d0){const _0x7cbc3=_0x1dbc1d;if(this[_0x1007c3]+=_0x3d57d0[_0x7cbc3(0x173)],this[_0x5ed33a][_0x7cbc3(0x1bf)]<0x1||this[_0x1007c3]<=this[_0x5ed33a]['_maxPayload']){this[_0x373e1d][_0x7cbc3(0x2d6)](_0x3d57d0);return;}this[_0x5116ab]=new RangeError(_0x7cbc3(0x243)),this[_0x5116ab][_0x7cbc3(0x1ca)]=_0x7cbc3(0x32a),this[_0x5116ab][_0x591b8a]=0x3f1,this[_0x7cbc3(0x18b)](_0x7cbc3(0x2d9),_0x3a2cc7),this[_0x7cbc3(0x265)]();}function _0x280dd2(_0x49978a){if(this[_0x5ed33a]['_inflate']=null,this[_0x5116ab]){this[_0x50b429](this[_0x5116ab]);return;}_0x49978a[_0x591b8a]=0x3ef,this[_0x50b429](_0x49978a);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4c1ef6(0x268)](Object[_0x4c1ef6(0x231)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':'Module'})),Bt=at(Rt);var Ye;function _0x556a(){const _0x53bab=['_readyState','listen','send','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','allowSynchronousEvents','target','getOwnPropertyDescriptor','createInflateRaw','pathname','_registerDependencies','MASK\x20must\x20be\x20set','_closeMessage','extensionName','_isServer','readUInt16BE','path','Unexpected\x20server\x20response:\x20','4ZOEXKM','Plugin','forEach','STATUS_CODES','_closeFrameSent','Invalid\x20Sec-WebSocket-Accept\x20header','Opening\x20handshake\x20has\x20timed\x20out','opcode','bind','handleEvent','setSocket','UniverCollaborationClientNodePlugin','sendFrame','resume','statusCode','DisposableCollection','uncork','auth','digest','_allowSynchronousEvents','_opcode','RSV1\x20must\x20be\x20clear','_skipUTF8Validation','_readableState','Z_DEFAULT_WINDOWBITS','_payloadLength','_fin','method','client_no_context_takeover','Server\x20sent\x20an\x20invalid\x20subprotocol','IConfigService','frame','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','511862PJzQQP','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','customHeaders','pluginName','maxRedirects','env','total-length','_maskBuffer','WS_ERR_UNEXPECTED_RSV_1','blob','species','setTimeout','_url','createError','push','then','kAborted','data','jobs','isInteger','enqueue','protocolVersion','_destroy','sec-websocket-origin','href','WS_ERR_EXPECTED_FIN','WS_ERR_INVALID_OPCODE','5725734giSzFV','_redirects','websocket','slice','Invalid\x20Sec-WebSocket-Extensions\x20header','reason','startLoop','MASK\x20must\x20be\x20clear','server_max_window_bits','_closeFrameReceived','authorization','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','alloc','_fragments','listenerCount','WS_ERR_INVALID_UTF8','completeUpgrade','nodebuffer','connect','verifyClient','terminate','Inject','timeout','_originalSecure','_no_context_takeover','clientMaxWindowBits','615955jjKtlM','consume','client_max_window_bits','endEmitted','Unsupported\x20protocol\x20version:\x20','apply','Sec-WebSocket-Accept:\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_bufferedAmount','server_no_context_takeover','WS_ERR_UNEXPECTED_RSV_2_3','addEventListener','The\x20URL\x27s\x20pathname\x20is\x20empty','encrypted','catch','warn','ping','noServer','createServer','WebSocket','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','accept','sec-websocket-version','Invalid\x20Sec-WebSocket-Protocol\x20header','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','search','_decompress','startsWith','Origin','Sec-WebSocket-Origin','set','wasClean','base64','_compressed','Connection:\x20Upgrade','onStarting','pause','address','WebSocket\x20is\x20not\x20open:\x20readyState\x20','extensions','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_options','_mask','number','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','cookie','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','_generateMask','_loop','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','add','length','type','_writableState','compress','toStringTag','kMessage','CLOSING','redirect','finish','_sender','update','WS_NO_BUFFER_UTIL','prototype','Unexpected\x20character\x20at\x20index\x20','cleanup','writeUInt16BE','_autoPong','autoPong','Invalid\x20WebSocket\x20frame:\x20','pipe','_shouldEmitClose','isValidUTF8','_errored','size','removeListener','toDisposable','offer','isServer','maskBuffer','Upgrade','skipUTF8Validation','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasOwnProperty','clientNoContextTakeover','end','_binaryType','handleProtocols','stream','username','_read','socketPath','HTTP/1.1\x20','fin','default','\x20(supported\x20versions:\x20','normalizeParams','delete','_bufferedBytes','sec-websocket-key','protocol','pow','OPEN','_configService','rsv1','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','HTTP/1.1\x20101\x20Switching\x20Protocols','concurrency','_closeCode','bufferedAmount','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_UNEXPECTED_MASK','next','_masked','pong','join','Module','string','captureStackTrace','url','finishRequest','buffers','\x22\x20must\x20have\x20only\x20a\x20single\x20value','invalid\x20UTF-8\x20sequence','_queue','drain','wss:','_maxPayload','followRedirects','error','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_injector','_state','backlog','object','indexOf','callback','_max_window_bits','code','servername','headers','password','Invalid\x20Upgrade\x20header','unshift','isBuffer','status-code','1105965HPAipg','_protocol','getData','unmask','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','onclose','Invalid\x20URL:\x20','createConnection','emitClose','Basic\x20','_totalPayloadLength','nextTick','invalid\x20opcode\x200','Cookie','readyState','readable','response','threshold','clients','kError','_originalIpc','readOnly','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','invalid\x20opcode\x20','unexpected-response','GET','binary','generateMask','isIP','writable','5502791bGbKoA','dequeue','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','kDone','getBlobData','_buffers','concat','function','ILogService','WS_ERR_INVALID_CLOSE_CODE','hostname','CONNECTING','permessage-deflate','Blob','\x22:\x20','listeners','removeEventListener','isPaused','share','__esModule','toString','byteLength','http:','params','registerDependencies','server','_extensions','kListener','_fragmented','ISocketService','The\x20server\x20is\x20not\x20running','isArray','destroy','flush','exports','errorEmitted','createDeflateRaw','finished','Sec-WebSocket-Protocol:\x20','call','Observable','kData','decompress','_req','getInfo','mask','upgrade','test','listening','sec-websocket-protocol','pending','_paused','kTarget','DependentOn','CollaborationSocketService','_threshold','Z_SYNC_FLUSH','acceptAsClient','CLOSED','getMask','_firstFragment','4654232csgyfC','parse','acceptAsServer','binaryType','defineProperty','origin','replace','conclude','map','shouldHandle','maxPayload','_closeTimer','once','concurrencyLimit','HTTPService','Maximum\x20redirects\x20exceeded','FIN\x20must\x20be\x20set','getConfig','text/html','Unexpected\x20end\x20of\x20input','The\x20\x22','handshakeTimeout','Max\x20payload\x20size\x20exceeded','write','haveLength','_deflate','Injector','_errorEmitted','_receiver','onerror','dispatch','value','emit','perMessageDeflate','NodeCollaborationSocketService','Invalid\x20value\x20for\x20parameter\x20\x22','WS_NO_UTF_8_VALIDATE','request','keys','message','serverNoContextTakeover','_server','destroyed','arraybuffer','zlibInflateOptions','defaultPort','charCodeAt','kWasClean','ISnapshotServerService','sec-websocket-extensions','_socket','getPayloadLength16','UniverCollaborationClientPlugin','_inflate','_final','_originalHostOrSocketPath','reset','byteOffset','dataMessage','freeze','shift','includes','createSocket','open','setNoDelay','kReason','kRun','13,\x208','_write','port','writeUIntBE','host','_messageLength','constructor','cork','setHeader','has','values','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','handleUpgrade','options','writeHead','client','create','Unknown\x20parameter\x20\x22','Upgrade:\x20websocket','toLowerCase','Sec-WebSocket-Extensions:\x20','ws+unix:','_compress','authorized','entries','File','allocUnsafe','_removeListeners','\x22\x20subprotocol\x20is\x20duplicated','collaboration-client-node.config','socket','serverMaxWindowBits','setConfig','close','sha1','1483152gXyHlK','from','buffer'];_0x556a=function(){return _0x53bab;};return _0x556a();}function ae(){const _0x55b36b=_0x4c1ef6;if(Ye)return ie[_0x55b36b(0x212)];Ye=0x1;const {isUtf8:_0x4c007d}=wt,{hasBlob:_0x36c224}=H(),_0x3883ca=[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 _0x1e429d(_0x1b0c23){return _0x1b0c23>=0x3e8&&_0x1b0c23<=0x3f6&&_0x1b0c23!==0x3ec&&_0x1b0c23!==0x3ed&&_0x1b0c23!==0x3ee||_0x1b0c23>=0xbb8&&_0x1b0c23<=0x1387;}function _0x3dd387(_0x43f2e2){const _0x10a8c4=_0x43f2e2['length'];let _0x480bb1=0x0;for(;_0x480bb1<_0x10a8c4;)if((_0x43f2e2[_0x480bb1]&0x80)===0x0)_0x480bb1++;else{if((_0x43f2e2[_0x480bb1]&0xe0)===0xc0){if(_0x480bb1+0x1===_0x10a8c4||(_0x43f2e2[_0x480bb1+0x1]&0xc0)!==0x80||(_0x43f2e2[_0x480bb1]&0xfe)===0xc0)return!0x1;_0x480bb1+=0x2;}else{if((_0x43f2e2[_0x480bb1]&0xf0)===0xe0){if(_0x480bb1+0x2>=_0x10a8c4||(_0x43f2e2[_0x480bb1+0x1]&0xc0)!==0x80||(_0x43f2e2[_0x480bb1+0x2]&0xc0)!==0x80||_0x43f2e2[_0x480bb1]===0xe0&&(_0x43f2e2[_0x480bb1+0x1]&0xe0)===0x80||_0x43f2e2[_0x480bb1]===0xed&&(_0x43f2e2[_0x480bb1+0x1]&0xe0)===0xa0)return!0x1;_0x480bb1+=0x3;}else{if((_0x43f2e2[_0x480bb1]&0xf8)===0xf0){if(_0x480bb1+0x3>=_0x10a8c4||(_0x43f2e2[_0x480bb1+0x1]&0xc0)!==0x80||(_0x43f2e2[_0x480bb1+0x2]&0xc0)!==0x80||(_0x43f2e2[_0x480bb1+0x3]&0xc0)!==0x80||_0x43f2e2[_0x480bb1]===0xf0&&(_0x43f2e2[_0x480bb1+0x1]&0xf0)===0x80||_0x43f2e2[_0x480bb1]===0xf4&&_0x43f2e2[_0x480bb1+0x1]>0x8f||_0x43f2e2[_0x480bb1]>0xf4)return!0x1;_0x480bb1+=0x4;}else return!0x1;}}}return!0x0;}function _0x19f5d6(_0x16cb00){const _0x5a7081=_0x55b36b;return _0x36c224&&typeof _0x16cb00==_0x5a7081(0x1c6)&&typeof _0x16cb00['arrayBuffer']==_0x5a7081(0x1f7)&&typeof _0x16cb00[_0x5a7081(0x174)]=='string'&&typeof _0x16cb00[_0x5a7081(0x198)]==_0x5a7081(0x1f7)&&(_0x16cb00[Symbol['toStringTag']]===_0x5a7081(0x1fd)||_0x16cb00[Symbol[_0x5a7081(0x177)]]===_0x5a7081(0x289));}if(ie['exports']={'isBlob':_0x19f5d6,'isValidStatusCode':_0x1e429d,'isValidUTF8':_0x3dd387,'tokenChars':_0x3883ca},_0x4c007d)ie['exports'][_0x55b36b(0x188)]=function(_0x4c1e55){return _0x4c1e55['length']<0x18?_0x3dd387(_0x4c1e55):_0x4c007d(_0x4c1e55);};else{if(!process[_0x55b36b(0x2cd)][_0x55b36b(0x251)])try{const _0x3575d0=Bt;ie[_0x55b36b(0x212)][_0x55b36b(0x188)]=function(_0x49149c){const _0x3b019f=_0x55b36b;return _0x49149c[_0x3b019f(0x173)]<0x20?_0x3dd387(_0x49149c):_0x3575d0(_0x49149c);};}catch{}}return ie[_0x55b36b(0x212)];}var Se,Ke;function lt(){const _0x468764=_0x4c1ef6;if(Ke)return Se;Ke=0x1;const {Writable:_0x3a4be7}=oe,_0x58a86c=he(),{BINARY_TYPES:_0x52b779,EMPTY_BUFFER:_0x3d82f1,kStatusCode:_0x4d1829,kWebSocket:_0x294e6e}=H(),{concat:_0x269221,toArrayBuffer:_0x1f8610,unmask:_0x4993df}=ce(),{isValidStatusCode:_0x35b2ea,isValidUTF8:_0x2014c8}=ae(),_0x505326=Buffer[Symbol['species']],_0x37e424=0x0,_0x8b5891=0x1,_0x20948b=0x2,_0x5826e2=0x3,_0x3b688c=0x4,_0x334e34=0x5,_0x2beb35=0x6;class _0x31b4bf extends _0x3a4be7{constructor(_0x46a367={}){const _0x28c73a=_0x2aeb;super(),this['_allowSynchronousEvents']=_0x46a367[_0x28c73a(0x29a)]!==void 0x0?_0x46a367[_0x28c73a(0x29a)]:!0x0,this[_0x28c73a(0x196)]=_0x46a367['binaryType']||_0x52b779[0x0],this['_extensions']=_0x46a367['extensions']||{},this['_isServer']=!!_0x46a367[_0x28c73a(0x18e)],this[_0x28c73a(0x1bf)]=_0x46a367[_0x28c73a(0x237)]|0x0,this[_0x28c73a(0x2bd)]=!!_0x46a367[_0x28c73a(0x191)],this[_0x294e6e]=void 0x0,this[_0x28c73a(0x1a2)]=0x0,this[_0x28c73a(0x1f5)]=[],this[_0x28c73a(0x31f)]=!0x1,this['_payloadLength']=0x0,this[_0x28c73a(0x328)]=void 0x0,this[_0x28c73a(0x20c)]=0x0,this[_0x28c73a(0x1b1)]=!0x1,this[_0x28c73a(0x2c1)]=!0x1,this[_0x28c73a(0x2bb)]=0x0,this[_0x28c73a(0x1dc)]=0x0,this[_0x28c73a(0x275)]=0x0,this[_0x28c73a(0x2f0)]=[],this['_errored']=!0x1,this[_0x28c73a(0x32e)]=!0x1,this[_0x28c73a(0x1c4)]=_0x37e424;}[_0x468764(0x271)](_0xbec6e4,_0x19406b,_0x43ce05){const _0xc55770=_0x468764;if(this['_opcode']===0x8&&this[_0xc55770(0x1c4)]==_0x37e424)return _0x43ce05();this[_0xc55770(0x1a2)]+=_0xbec6e4[_0xc55770(0x173)],this[_0xc55770(0x1f5)][_0xc55770(0x2d6)](_0xbec6e4),this[_0xc55770(0x2e9)](_0x43ce05);}[_0x468764(0x2fe)](_0x3631b4){const _0x54502b=_0x468764;if(this['_bufferedBytes']-=_0x3631b4,_0x3631b4===this[_0x54502b(0x1f5)][0x0][_0x54502b(0x173)])return this[_0x54502b(0x1f5)][_0x54502b(0x269)]();if(_0x3631b4<this[_0x54502b(0x1f5)][0x0]['length']){const _0x53c746=this['_buffers'][0x0];return this[_0x54502b(0x1f5)][0x0]=new _0x505326(_0x53c746[_0x54502b(0x295)],_0x53c746[_0x54502b(0x266)]+_0x3631b4,_0x53c746[_0x54502b(0x173)]-_0x3631b4),new _0x505326(_0x53c746[_0x54502b(0x295)],_0x53c746[_0x54502b(0x266)],_0x3631b4);}const _0x1e4c36=Buffer['allocUnsafe'](_0x3631b4);do{const _0x17112e=this[_0x54502b(0x1f5)][0x0],_0x30c4ca=_0x1e4c36[_0x54502b(0x173)]-_0x3631b4;_0x3631b4>=_0x17112e['length']?_0x1e4c36[_0x54502b(0x31c)](this[_0x54502b(0x1f5)]['shift'](),_0x30c4ca):(_0x1e4c36[_0x54502b(0x31c)](new Uint8Array(_0x17112e[_0x54502b(0x295)],_0x17112e[_0x54502b(0x266)],_0x3631b4),_0x30c4ca),this[_0x54502b(0x1f5)][0x0]=new _0x505326(_0x17112e[_0x54502b(0x295)],_0x17112e[_0x54502b(0x266)]+_0x3631b4,_0x17112e[_0x54502b(0x173)]-_0x3631b4)),_0x3631b4-=_0x17112e[_0x54502b(0x173)];}while(_0x3631b4>0x0);return _0x1e4c36;}[_0x468764(0x2e9)](_0x31b5cd){const _0x5a6153=_0x468764;this[_0x5a6153(0x32e)]=!0x0;do switch(this['_state']){case _0x37e424:this[_0x5a6153(0x21c)](_0x31b5cd);break;case _0x8b5891:this[_0x5a6153(0x260)](_0x31b5cd);break;case _0x20948b:this['getPayloadLength64'](_0x31b5cd);break;case _0x5826e2:this[_0x5a6153(0x22b)]();break;case _0x3b688c:this['getData'](_0x31b5cd);break;case _0x334e34:case _0x2beb35:this[_0x5a6153(0x32e)]=!0x1;return;}while(this[_0x5a6153(0x32e)]);this['_errored']||_0x31b5cd();}[_0x468764(0x21c)](_0x3f7d8a){const _0x5913e0=_0x468764;if(this[_0x5913e0(0x1a2)]<0x2){this[_0x5913e0(0x32e)]=!0x1;return;}const _0x516fda=this[_0x5913e0(0x2fe)](0x2);if((_0x516fda[0x0]&0x30)!==0x0){const _0x4bb321=this[_0x5913e0(0x2d5)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x5913e0(0x307));_0x3f7d8a(_0x4bb321);return;}const _0x5a7964=(_0x516fda[0x0]&0x40)===0x40;if(_0x5a7964&&!this[_0x5913e0(0x20a)][_0x58a86c['extensionName']]){const _0x3b391b=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x2bc),!0x0,0x3ea,_0x5913e0(0x2d0));_0x3f7d8a(_0x3b391b);return;}if(this['_fin']=(_0x516fda[0x0]&0x80)===0x80,this[_0x5913e0(0x2bb)]=_0x516fda[0x0]&0xf,this['_payloadLength']=_0x516fda[0x1]&0x7f,this[_0x5913e0(0x2bb)]===0x0){if(_0x5a7964){const _0x191592=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x2bc),!0x0,0x3ea,_0x5913e0(0x2d0));_0x3f7d8a(_0x191592);return;}if(!this[_0x5913e0(0x20c)]){const _0x5fbf69=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x1de),!0x0,0x3ea,_0x5913e0(0x2e2));_0x3f7d8a(_0x5fbf69);return;}this[_0x5913e0(0x2bb)]=this[_0x5913e0(0x20c)];}else{if(this['_opcode']===0x1||this[_0x5913e0(0x2bb)]===0x2){if(this['_fragmented']){const _0x556a84=this[_0x5913e0(0x2d5)](RangeError,'invalid\x20opcode\x20'+this[_0x5913e0(0x2bb)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3f7d8a(_0x556a84);return;}this[_0x5913e0(0x31f)]=_0x5a7964;}else{if(this[_0x5913e0(0x2bb)]>0x7&&this[_0x5913e0(0x2bb)]<0xb){if(!this[_0x5913e0(0x2c1)]){const _0x239ad8=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x23d),!0x0,0x3ea,_0x5913e0(0x2e1));_0x3f7d8a(_0x239ad8);return;}if(_0x5a7964){const _0xcd94de=this['createError'](RangeError,_0x5913e0(0x2bc),!0x0,0x3ea,_0x5913e0(0x2d0));_0x3f7d8a(_0xcd94de);return;}if(this[_0x5913e0(0x2c0)]>0x7d||this[_0x5913e0(0x2bb)]===0x8&&this['_payloadLength']===0x1){const _0x3d37eb=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x5913e0(0x1e8));_0x3f7d8a(_0x3d37eb);return;}}else{const _0x5a6ddb=this['createError'](RangeError,_0x5913e0(0x1e9)+this[_0x5913e0(0x2bb)],!0x0,0x3ea,_0x5913e0(0x2e2));_0x3f7d8a(_0x5a6ddb);return;}}}if(!this['_fin']&&!this[_0x5913e0(0x20c)]&&(this[_0x5913e0(0x20c)]=this[_0x5913e0(0x2bb)]),this[_0x5913e0(0x1b1)]=(_0x516fda[0x1]&0x80)===0x80,this[_0x5913e0(0x2a3)]){if(!this[_0x5913e0(0x1b1)]){const _0x1b18f4=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x2a0),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3f7d8a(_0x1b18f4);return;}}else{if(this[_0x5913e0(0x1b1)]){const _0x41363e=this['createError'](RangeError,_0x5913e0(0x2ea),!0x0,0x3ea,_0x5913e0(0x1af));_0x3f7d8a(_0x41363e);return;}}this['_payloadLength']===0x7e?this[_0x5913e0(0x1c4)]=_0x8b5891:this[_0x5913e0(0x2c0)]===0x7f?this[_0x5913e0(0x1c4)]=_0x20948b:this[_0x5913e0(0x245)](_0x3f7d8a);}[_0x468764(0x260)](_0x7d3a2){const _0x435ded=_0x468764;if(this[_0x435ded(0x1a2)]<0x2){this['_loop']=!0x1;return;}this[_0x435ded(0x2c0)]=this[_0x435ded(0x2fe)](0x2)[_0x435ded(0x2a4)](0x0),this['haveLength'](_0x7d3a2);}['getPayloadLength64'](_0x47474c){const _0x39abc6=_0x468764;if(this[_0x39abc6(0x1a2)]<0x8){this['_loop']=!0x1;return;}const _0x2c3847=this[_0x39abc6(0x2fe)](0x8),_0x2d445c=_0x2c3847['readUInt32BE'](0x0);if(_0x2d445c>Math['pow'](0x2,0x15)-0x1){const _0x2ac9e9=this[_0x39abc6(0x2d5)](RangeError,_0x39abc6(0x1f2),!0x1,0x3f1,_0x39abc6(0x311));_0x47474c(_0x2ac9e9);return;}this['_payloadLength']=_0x2d445c*Math[_0x39abc6(0x1a5)](0x2,0x20)+_0x2c3847['readUInt32BE'](0x4),this[_0x39abc6(0x245)](_0x47474c);}[_0x468764(0x245)](_0x18be13){const _0x342775=_0x468764;if(this['_payloadLength']&&this[_0x342775(0x2bb)]<0x8&&(this[_0x342775(0x1dc)]+=this[_0x342775(0x2c0)],this[_0x342775(0x1dc)]>this[_0x342775(0x1bf)]&&this[_0x342775(0x1bf)]>0x0)){const _0x12cf84=this[_0x342775(0x2d5)](RangeError,_0x342775(0x243),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x18be13(_0x12cf84);return;}this[_0x342775(0x1b1)]?this[_0x342775(0x1c4)]=_0x5826e2:this[_0x342775(0x1c4)]=_0x3b688c;}[_0x468764(0x22b)](){const _0x135e15=_0x468764;if(this[_0x135e15(0x1a2)]<0x4){this['_loop']=!0x1;return;}this[_0x135e15(0x328)]=this[_0x135e15(0x2fe)](0x4),this[_0x135e15(0x1c4)]=_0x3b688c;}[_0x468764(0x1d4)](_0x3ae747){const _0x1a7735=_0x468764;let _0x2bbfb4=_0x3d82f1;if(this[_0x1a7735(0x2c0)]){if(this[_0x1a7735(0x1a2)]<this[_0x1a7735(0x2c0)]){this[_0x1a7735(0x32e)]=!0x1;return;}_0x2bbfb4=this[_0x1a7735(0x2fe)](this[_0x1a7735(0x2c0)]),this[_0x1a7735(0x1b1)]&&(this[_0x1a7735(0x328)][0x0]|this['_mask'][0x1]|this[_0x1a7735(0x328)][0x2]|this[_0x1a7735(0x328)][0x3])!==0x0&&_0x4993df(_0x2bbfb4,this['_mask']);}if(this['_opcode']>0x7){this['controlMessage'](_0x2bbfb4,_0x3ae747);return;}if(this[_0x1a7735(0x31f)]){this['_state']=_0x334e34,this['decompress'](_0x2bbfb4,_0x3ae747);return;}_0x2bbfb4[_0x1a7735(0x173)]&&(this[_0x1a7735(0x275)]=this[_0x1a7735(0x1dc)],this[_0x1a7735(0x2f0)][_0x1a7735(0x2d6)](_0x2bbfb4)),this[_0x1a7735(0x267)](_0x3ae747);}[_0x468764(0x21a)](_0x4a23d2,_0x50790b){const _0x21bfa8=_0x468764;this[_0x21bfa8(0x20a)][_0x58a86c[_0x21bfa8(0x2a2)]]['decompress'](_0x4a23d2,this[_0x21bfa8(0x2c1)],(_0x4d58ae,_0x211104)=>{const _0x24ee70=_0x21bfa8;if(_0x4d58ae)return _0x50790b(_0x4d58ae);if(_0x211104['length']){if(this[_0x24ee70(0x275)]+=_0x211104[_0x24ee70(0x173)],this['_messageLength']>this[_0x24ee70(0x1bf)]&&this['_maxPayload']>0x0){const _0x32a370=this[_0x24ee70(0x2d5)](RangeError,_0x24ee70(0x243),!0x1,0x3f1,_0x24ee70(0x32a));_0x50790b(_0x32a370);return;}this['_fragments'][_0x24ee70(0x2d6)](_0x211104);}this[_0x24ee70(0x267)](_0x50790b),this[_0x24ee70(0x1c4)]===_0x37e424&&this['startLoop'](_0x50790b);});}[_0x468764(0x267)](_0x23cca2){const _0x11e5c1=_0x468764;if(!this[_0x11e5c1(0x2c1)]){this[_0x11e5c1(0x1c4)]=_0x37e424;return;}const _0x3ea205=this[_0x11e5c1(0x275)],_0x14ad3f=this[_0x11e5c1(0x2f0)];if(this[_0x11e5c1(0x1dc)]=0x0,this[_0x11e5c1(0x275)]=0x0,this[_0x11e5c1(0x20c)]=0x0,this['_fragments']=[],this[_0x11e5c1(0x2bb)]===0x2){let _0x45d72a;this[_0x11e5c1(0x196)]===_0x11e5c1(0x2f4)?_0x45d72a=_0x269221(_0x14ad3f,_0x3ea205):this[_0x11e5c1(0x196)]==='arraybuffer'?_0x45d72a=_0x1f8610(_0x269221(_0x14ad3f,_0x3ea205)):this[_0x11e5c1(0x196)]===_0x11e5c1(0x2d1)?_0x45d72a=new Blob(_0x14ad3f):_0x45d72a=_0x14ad3f,this[_0x11e5c1(0x2ba)]?(this[_0x11e5c1(0x24d)](_0x11e5c1(0x254),_0x45d72a,!0x0),this[_0x11e5c1(0x1c4)]=_0x37e424):(this[_0x11e5c1(0x1c4)]=_0x2beb35,setImmediate(()=>{const _0x1dd73e=_0x11e5c1;this['emit'](_0x1dd73e(0x254),_0x45d72a,!0x0),this['_state']=_0x37e424,this['startLoop'](_0x23cca2);}));}else{const _0x161790=_0x269221(_0x14ad3f,_0x3ea205);if(!this[_0x11e5c1(0x2bd)]&&!_0x2014c8(_0x161790)){const _0x46bebb=this[_0x11e5c1(0x2d5)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x11e5c1(0x2f2));_0x23cca2(_0x46bebb);return;}this[_0x11e5c1(0x1c4)]===_0x334e34||this[_0x11e5c1(0x2ba)]?(this['emit'](_0x11e5c1(0x254),_0x161790,!0x1),this[_0x11e5c1(0x1c4)]=_0x37e424):(this[_0x11e5c1(0x1c4)]=_0x2beb35,setImmediate(()=>{const _0x3c9c57=_0x11e5c1;this[_0x3c9c57(0x24d)]('message',_0x161790,!0x1),this['_state']=_0x37e424,this[_0x3c9c57(0x2e9)](_0x23cca2);}));}}['controlMessage'](_0x4b8761,_0x497909){const _0x17a07c=_0x468764;if(this[_0x17a07c(0x2bb)]===0x8){if(_0x4b8761[_0x17a07c(0x173)]===0x0)this['_loop']=!0x1,this[_0x17a07c(0x24d)](_0x17a07c(0x234),0x3ed,_0x3d82f1),this[_0x17a07c(0x195)]();else{const _0x22436f=_0x4b8761[_0x17a07c(0x2a4)](0x0);if(!_0x35b2ea(_0x22436f)){const _0x12e8ff=this[_0x17a07c(0x2d5)](RangeError,'invalid\x20status\x20code\x20'+_0x22436f,!0x0,0x3ea,_0x17a07c(0x1f9));_0x497909(_0x12e8ff);return;}const _0x3358d6=new _0x505326(_0x4b8761[_0x17a07c(0x295)],_0x4b8761[_0x17a07c(0x266)]+0x2,_0x4b8761['length']-0x2);if(!this[_0x17a07c(0x2bd)]&&!_0x2014c8(_0x3358d6)){const _0x440f95=this[_0x17a07c(0x2d5)](Error,_0x17a07c(0x1bb),!0x0,0x3ef,_0x17a07c(0x2f2));_0x497909(_0x440f95);return;}this['_loop']=!0x1,this[_0x17a07c(0x24d)](_0x17a07c(0x234),_0x22436f,_0x3358d6),this[_0x17a07c(0x195)]();}this['_state']=_0x37e424;return;}this[_0x17a07c(0x2ba)]?(this['emit'](this[_0x17a07c(0x2bb)]===0x9?_0x17a07c(0x30d):_0x17a07c(0x1b2),_0x4b8761),this[_0x17a07c(0x1c4)]=_0x37e424):(this[_0x17a07c(0x1c4)]=_0x2beb35,setImmediate(()=>{const _0x48e11c=_0x17a07c;this[_0x48e11c(0x24d)](this[_0x48e11c(0x2bb)]===0x9?_0x48e11c(0x30d):'pong',_0x4b8761),this[_0x48e11c(0x1c4)]=_0x37e424,this[_0x48e11c(0x2e9)](_0x497909);}));}[_0x468764(0x2d5)](_0x11b38f,_0x330cc2,_0x3351a7,_0x3cac68,_0x49bddc){const _0x1e7d15=_0x468764;this[_0x1e7d15(0x32e)]=!0x1,this[_0x1e7d15(0x189)]=!0x0;const _0x4b59b5=new _0x11b38f(_0x3351a7?_0x1e7d15(0x185)+_0x330cc2:_0x330cc2);return Error[_0x1e7d15(0x1b6)](_0x4b59b5,this[_0x1e7d15(0x2d5)]),_0x4b59b5['code']=_0x49bddc,_0x4b59b5[_0x4d1829]=_0x3cac68,_0x4b59b5;}}return Se=_0x31b4bf,Se;}var Ee,Xe;function ft(){const _0x32250c=_0x4c1ef6;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4b2a7b}=oe,{randomFillSync:_0x44de11}=Le,_0x3f41e6=he(),{EMPTY_BUFFER:_0x1c2a59,kWebSocket:_0xacae41,NOOP:_0x39a64e}=H(),{isBlob:_0x141446,isValidStatusCode:_0x13d738}=ae(),{mask:_0x3a4211,toBuffer:_0x21c178}=ce(),_0x3cdcf7=Symbol('kByteLength'),_0x34a73c=Buffer[_0x32250c(0x2ef)](0x4),_0xdba582=0x8*0x400;let _0x302540,_0x1f0508=_0xdba582;const _0x2aaba8=0x0,_0x3d72c8=0x1,_0x37cc55=0x2;class _0x552400{constructor(_0x5d6339,_0x12b00c,_0x284a89){const _0x57b54f=_0x32250c;this[_0x57b54f(0x20a)]=_0x12b00c||{},_0x284a89&&(this[_0x57b54f(0x32d)]=_0x284a89,this['_maskBuffer']=Buffer[_0x57b54f(0x2ef)](0x4)),this[_0x57b54f(0x25f)]=_0x5d6339,this['_firstFragment']=!0x0,this[_0x57b54f(0x286)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this['_state']=_0x2aaba8,this[_0x57b54f(0x24a)]=_0x39a64e,this[_0xacae41]=void 0x0;}static['frame'](_0x55d81e,_0x55dfd6){const _0x15929f=_0x32250c;let _0x1e5004,_0x20fd78=!0x1,_0x34ae5d=0x2,_0x19e3be=!0x1;_0x55dfd6[_0x15929f(0x21d)]&&(_0x1e5004=_0x55dfd6[_0x15929f(0x18f)]||_0x34a73c,_0x55dfd6[_0x15929f(0x1ed)]?_0x55dfd6[_0x15929f(0x1ed)](_0x1e5004):(_0x1f0508===_0xdba582&&(_0x302540===void 0x0&&(_0x302540=Buffer[_0x15929f(0x2ef)](_0xdba582)),_0x44de11(_0x302540,0x0,_0xdba582),_0x1f0508=0x0),_0x1e5004[0x0]=_0x302540[_0x1f0508++],_0x1e5004[0x1]=_0x302540[_0x1f0508++],_0x1e5004[0x2]=_0x302540[_0x1f0508++],_0x1e5004[0x3]=_0x302540[_0x1f0508++]),_0x19e3be=(_0x1e5004[0x0]|_0x1e5004[0x1]|_0x1e5004[0x2]|_0x1e5004[0x3])===0x0,_0x34ae5d=0x6);let _0x473b3;typeof _0x55d81e==_0x15929f(0x1b5)?(!_0x55dfd6[_0x15929f(0x21d)]||_0x19e3be)&&_0x55dfd6[_0x3cdcf7]!==void 0x0?_0x473b3=_0x55dfd6[_0x3cdcf7]:(_0x55d81e=Buffer['from'](_0x55d81e),_0x473b3=_0x55d81e[_0x15929f(0x173)]):(_0x473b3=_0x55d81e[_0x15929f(0x173)],_0x20fd78=_0x55dfd6[_0x15929f(0x21d)]&&_0x55dfd6['readOnly']&&!_0x19e3be);let _0x47beb0=_0x473b3;_0x473b3>=0x10000?(_0x34ae5d+=0x8,_0x47beb0=0x7f):_0x473b3>0x7d&&(_0x34ae5d+=0x2,_0x47beb0=0x7e);const _0x417850=Buffer[_0x15929f(0x28a)](_0x20fd78?_0x473b3+_0x34ae5d:_0x34ae5d);return _0x417850[0x0]=_0x55dfd6[_0x15929f(0x19d)]?_0x55dfd6[_0x15929f(0x2ae)]|0x80:_0x55dfd6[_0x15929f(0x2ae)],_0x55dfd6[_0x15929f(0x1a8)]&&(_0x417850[0x0]|=0x40),_0x417850[0x1]=_0x47beb0,_0x47beb0===0x7e?_0x417850[_0x15929f(0x182)](_0x473b3,0x2):_0x47beb0===0x7f&&(_0x417850[0x2]=_0x417850[0x3]=0x0,_0x417850[_0x15929f(0x273)](_0x473b3,0x4,0x6)),_0x55dfd6[_0x15929f(0x21d)]?(_0x417850[0x1]|=0x80,_0x417850[_0x34ae5d-0x4]=_0x1e5004[0x0],_0x417850[_0x34ae5d-0x3]=_0x1e5004[0x1],_0x417850[_0x34ae5d-0x2]=_0x1e5004[0x2],_0x417850[_0x34ae5d-0x1]=_0x1e5004[0x3],_0x19e3be?[_0x417850,_0x55d81e]:_0x20fd78?(_0x3a4211(_0x55d81e,_0x1e5004,_0x417850,_0x34ae5d,_0x473b3),[_0x417850]):(_0x3a4211(_0x55d81e,_0x1e5004,_0x55d81e,0x0,_0x473b3),[_0x417850,_0x55d81e])):[_0x417850,_0x55d81e];}['close'](_0x37dd3c,_0x52b3f5,_0x557be7,_0x2ea9be){const _0x548652=_0x32250c;let _0x528bc5;if(_0x37dd3c===void 0x0)_0x528bc5=_0x1c2a59;else{if(typeof _0x37dd3c!=_0x548652(0x329)||!_0x13d738(_0x37dd3c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x52b3f5===void 0x0||!_0x52b3f5[_0x548652(0x173)])_0x528bc5=Buffer[_0x548652(0x28a)](0x2),_0x528bc5[_0x548652(0x182)](_0x37dd3c,0x0);else{const _0x4b1f0a=Buffer[_0x548652(0x205)](_0x52b3f5);if(_0x4b1f0a>0x7b)throw new RangeError(_0x548652(0x32f));_0x528bc5=Buffer['allocUnsafe'](0x2+_0x4b1f0a),_0x528bc5['writeUInt16BE'](_0x37dd3c,0x0),typeof _0x52b3f5=='string'?_0x528bc5[_0x548652(0x244)](_0x52b3f5,0x2):_0x528bc5[_0x548652(0x31c)](_0x52b3f5,0x2);}}const _0x59bc70={[_0x3cdcf7]:_0x528bc5['length'],'fin':!0x0,'generateMask':this[_0x548652(0x32d)],'mask':_0x557be7,'maskBuffer':this[_0x548652(0x2cf)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x548652(0x1c4)]!==_0x2aaba8?this[_0x548652(0x2dc)]([this[_0x548652(0x24b)],_0x528bc5,!0x1,_0x59bc70,_0x2ea9be]):this['sendFrame'](_0x552400[_0x548652(0x2c6)](_0x528bc5,_0x59bc70),_0x2ea9be);}['ping'](_0x3f6b09,_0x369528,_0x3c35e6){const _0x48bdf5=_0x32250c;let _0x43ef90,_0x1eb8a6;if(typeof _0x3f6b09==_0x48bdf5(0x1b5)?(_0x43ef90=Buffer[_0x48bdf5(0x205)](_0x3f6b09),_0x1eb8a6=!0x1):_0x141446(_0x3f6b09)?(_0x43ef90=_0x3f6b09['size'],_0x1eb8a6=!0x1):(_0x3f6b09=_0x21c178(_0x3f6b09),_0x43ef90=_0x3f6b09[_0x48bdf5(0x173)],_0x1eb8a6=_0x21c178[_0x48bdf5(0x1e7)]),_0x43ef90>0x7d)throw new RangeError(_0x48bdf5(0x2ee));const _0x18eb9b={[_0x3cdcf7]:_0x43ef90,'fin':!0x0,'generateMask':this[_0x48bdf5(0x32d)],'mask':_0x369528,'maskBuffer':this[_0x48bdf5(0x2cf)],'opcode':0x9,'readOnly':_0x1eb8a6,'rsv1':!0x1};_0x141446(_0x3f6b09)?this[_0x48bdf5(0x1c4)]!==_0x2aaba8?this[_0x48bdf5(0x2dc)]([this['getBlobData'],_0x3f6b09,!0x1,_0x18eb9b,_0x3c35e6]):this[_0x48bdf5(0x1f4)](_0x3f6b09,!0x1,_0x18eb9b,_0x3c35e6):this[_0x48bdf5(0x1c4)]!==_0x2aaba8?this[_0x48bdf5(0x2dc)]([this['dispatch'],_0x3f6b09,!0x1,_0x18eb9b,_0x3c35e6]):this[_0x48bdf5(0x2b3)](_0x552400[_0x48bdf5(0x2c6)](_0x3f6b09,_0x18eb9b),_0x3c35e6);}[_0x32250c(0x1b2)](_0x1f35c7,_0x5f4ea2,_0x42c0b1){const _0x53b3aa=_0x32250c;let _0x452b7a,_0x3bd709;if(typeof _0x1f35c7==_0x53b3aa(0x1b5)?(_0x452b7a=Buffer[_0x53b3aa(0x205)](_0x1f35c7),_0x3bd709=!0x1):_0x141446(_0x1f35c7)?(_0x452b7a=_0x1f35c7[_0x53b3aa(0x18a)],_0x3bd709=!0x1):(_0x1f35c7=_0x21c178(_0x1f35c7),_0x452b7a=_0x1f35c7[_0x53b3aa(0x173)],_0x3bd709=_0x21c178[_0x53b3aa(0x1e7)]),_0x452b7a>0x7d)throw new RangeError(_0x53b3aa(0x2ee));const _0x4b04b4={[_0x3cdcf7]:_0x452b7a,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5f4ea2,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3bd709,'rsv1':!0x1};_0x141446(_0x1f35c7)?this[_0x53b3aa(0x1c4)]!==_0x2aaba8?this[_0x53b3aa(0x2dc)]([this[_0x53b3aa(0x1f4)],_0x1f35c7,!0x1,_0x4b04b4,_0x42c0b1]):this['getBlobData'](_0x1f35c7,!0x1,_0x4b04b4,_0x42c0b1):this[_0x53b3aa(0x1c4)]!==_0x2aaba8?this[_0x53b3aa(0x2dc)]([this[_0x53b3aa(0x24b)],_0x1f35c7,!0x1,_0x4b04b4,_0x42c0b1]):this[_0x53b3aa(0x2b3)](_0x552400['frame'](_0x1f35c7,_0x4b04b4),_0x42c0b1);}[_0x32250c(0x298)](_0xa9b4c1,_0x58006a,_0x20f479){const _0x26a18f=_0x32250c,_0x1a189d=this['_extensions'][_0x3f41e6[_0x26a18f(0x2a2)]];let _0x4033f5=_0x58006a[_0x26a18f(0x1ec)]?0x2:0x1,_0x3c71f7=_0x58006a['compress'],_0x565c0d,_0x1c117e;typeof _0xa9b4c1==_0x26a18f(0x1b5)?(_0x565c0d=Buffer[_0x26a18f(0x205)](_0xa9b4c1),_0x1c117e=!0x1):_0x141446(_0xa9b4c1)?(_0x565c0d=_0xa9b4c1['size'],_0x1c117e=!0x1):(_0xa9b4c1=_0x21c178(_0xa9b4c1),_0x565c0d=_0xa9b4c1['length'],_0x1c117e=_0x21c178[_0x26a18f(0x1e7)]),this[_0x26a18f(0x22c)]?(this['_firstFragment']=!0x1,_0x3c71f7&&_0x1a189d&&_0x1a189d[_0x26a18f(0x207)][_0x1a189d['_isServer']?_0x26a18f(0x306):'client_no_context_takeover']&&(_0x3c71f7=_0x565c0d>=_0x1a189d[_0x26a18f(0x227)]),this['_compress']=_0x3c71f7):(_0x3c71f7=!0x1,_0x4033f5=0x0),_0x58006a['fin']&&(this[_0x26a18f(0x22c)]=!0x0);const _0x3793de={[_0x3cdcf7]:_0x565c0d,'fin':_0x58006a[_0x26a18f(0x19d)],'generateMask':this[_0x26a18f(0x32d)],'mask':_0x58006a['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x4033f5,'readOnly':_0x1c117e,'rsv1':_0x3c71f7};_0x141446(_0xa9b4c1)?this[_0x26a18f(0x1c4)]!==_0x2aaba8?this[_0x26a18f(0x2dc)]([this[_0x26a18f(0x1f4)],_0xa9b4c1,this['_compress'],_0x3793de,_0x20f479]):this[_0x26a18f(0x1f4)](_0xa9b4c1,this[_0x26a18f(0x286)],_0x3793de,_0x20f479):this[_0x26a18f(0x1c4)]!==_0x2aaba8?this[_0x26a18f(0x2dc)]([this[_0x26a18f(0x24b)],_0xa9b4c1,this['_compress'],_0x3793de,_0x20f479]):this[_0x26a18f(0x24b)](_0xa9b4c1,this['_compress'],_0x3793de,_0x20f479);}[_0x32250c(0x1f4)](_0x188b84,_0x1e0496,_0x3aa4b7,_0x4251ff){const _0x59af9d=_0x32250c;this[_0x59af9d(0x1a2)]+=_0x3aa4b7[_0x3cdcf7],this[_0x59af9d(0x1c4)]=_0x37cc55,_0x188b84['arrayBuffer']()[_0x59af9d(0x2d7)](_0x4c17d5=>{const _0x556a09=_0x59af9d;if(this[_0x556a09(0x25f)]['destroyed']){const _0x2c5fab=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x556a09(0x1dd)](_0x430a48,this,_0x2c5fab,_0x4251ff);return;}this[_0x556a09(0x1a2)]-=_0x3aa4b7[_0x3cdcf7];const _0x290354=_0x21c178(_0x4c17d5);_0x1e0496?this[_0x556a09(0x24b)](_0x290354,_0x1e0496,_0x3aa4b7,_0x4251ff):(this['_state']=_0x2aaba8,this[_0x556a09(0x2b3)](_0x552400[_0x556a09(0x2c6)](_0x290354,_0x3aa4b7),_0x4251ff),this[_0x556a09(0x1f1)]());})[_0x59af9d(0x30b)](_0x3e1db8=>{const _0x5a770e=_0x59af9d;process[_0x5a770e(0x1dd)](_0x42e813,this,_0x3e1db8,_0x4251ff);});}['dispatch'](_0x3bb625,_0x22fc55,_0x1d4de7,_0x23d39c){const _0x51a1de=_0x32250c;if(!_0x22fc55){this[_0x51a1de(0x2b3)](_0x552400[_0x51a1de(0x2c6)](_0x3bb625,_0x1d4de7),_0x23d39c);return;}const _0xbc422e=this['_extensions'][_0x3f41e6[_0x51a1de(0x2a2)]];this[_0x51a1de(0x1a2)]+=_0x1d4de7[_0x3cdcf7],this[_0x51a1de(0x1c4)]=_0x3d72c8,_0xbc422e['compress'](_0x3bb625,_0x1d4de7['fin'],(_0x294b25,_0x481d26)=>{const _0x27e60c=_0x51a1de;if(this[_0x27e60c(0x25f)][_0x27e60c(0x257)]){const _0xf60743=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x430a48(this,_0xf60743,_0x23d39c);return;}this[_0x27e60c(0x1a2)]-=_0x1d4de7[_0x3cdcf7],this[_0x27e60c(0x1c4)]=_0x2aaba8,_0x1d4de7[_0x27e60c(0x1e7)]=!0x1,this[_0x27e60c(0x2b3)](_0x552400[_0x27e60c(0x2c6)](_0x481d26,_0x1d4de7),_0x23d39c),this[_0x27e60c(0x1f1)]();});}[_0x32250c(0x1f1)](){const _0x5bc0cd=_0x32250c;for(;this[_0x5bc0cd(0x1c4)]===_0x2aaba8&&this[_0x5bc0cd(0x1bc)][_0x5bc0cd(0x173)];){const _0x1f3711=this[_0x5bc0cd(0x1bc)][_0x5bc0cd(0x269)]();this['_bufferedBytes']-=_0x1f3711[0x3][_0x3cdcf7],Reflect[_0x5bc0cd(0x302)](_0x1f3711[0x0],this,_0x1f3711[_0x5bc0cd(0x2e6)](0x1));}}[_0x32250c(0x2dc)](_0x17799a){const _0x5ed314=_0x32250c;this[_0x5ed314(0x1a2)]+=_0x17799a[0x3][_0x3cdcf7],this[_0x5ed314(0x1bc)][_0x5ed314(0x2d6)](_0x17799a);}[_0x32250c(0x2b3)](_0x351668,_0x284dbe){const _0x166666=_0x32250c;_0x351668['length']===0x2?(this[_0x166666(0x25f)][_0x166666(0x277)](),this[_0x166666(0x25f)][_0x166666(0x244)](_0x351668[0x0]),this['_socket'][_0x166666(0x244)](_0x351668[0x1],_0x284dbe),this['_socket'][_0x166666(0x2b7)]()):this[_0x166666(0x25f)][_0x166666(0x244)](_0x351668[0x0],_0x284dbe);}}Ee=_0x552400;function _0x430a48(_0x567862,_0x2d8d32,_0x3daa95){const _0x2c3295=_0x32250c;typeof _0x3daa95==_0x2c3295(0x1f7)&&_0x3daa95(_0x2d8d32);for(let _0x45e88a=0x0;_0x45e88a<_0x567862['_queue'][_0x2c3295(0x173)];_0x45e88a++){const _0x3975cb=_0x567862[_0x2c3295(0x1bc)][_0x45e88a],_0x50e85a=_0x3975cb[_0x3975cb[_0x2c3295(0x173)]-0x1];typeof _0x50e85a=='function'&&_0x50e85a(_0x2d8d32);}}function _0x42e813(_0x5d52b2,_0x5cd00a,_0x8cb18d){const _0x27cab9=_0x32250c;_0x430a48(_0x5d52b2,_0x5cd00a,_0x8cb18d),_0x5d52b2[_0x27cab9(0x24a)](_0x5cd00a);}return Ee;}var xe,Ze;function It(){const _0xc12a9e=_0x4c1ef6;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x105fcd,kListener:_0x13f701}=H(),_0x317c72=Symbol('kCode'),_0x12589e=Symbol(_0xc12a9e(0x219)),_0xdd8846=Symbol(_0xc12a9e(0x1e5)),_0x3580cf=Symbol(_0xc12a9e(0x178)),_0x1dbf11=Symbol(_0xc12a9e(0x26e)),_0x1c7f9b=Symbol(_0xc12a9e(0x224)),_0x50771f=Symbol('kType'),_0x3c4c7e=Symbol(_0xc12a9e(0x25c));class _0x347723{constructor(_0xcd2911){this[_0x1c7f9b]=null,this[_0x50771f]=_0xcd2911;}get[_0xc12a9e(0x29b)](){return this[_0x1c7f9b];}get[_0xc12a9e(0x174)](){return this[_0x50771f];}}Object['defineProperty'](_0x347723[_0xc12a9e(0x17f)],_0xc12a9e(0x29b),{'enumerable':!0x0}),Object['defineProperty'](_0x347723[_0xc12a9e(0x17f)],_0xc12a9e(0x174),{'enumerable':!0x0});class _0x75b94a extends _0x347723{constructor(_0x46ff2f,_0x1f99cb={}){const _0x639fb9=_0xc12a9e;super(_0x46ff2f),this[_0x317c72]=_0x1f99cb[_0x639fb9(0x1ca)]===void 0x0?0x0:_0x1f99cb[_0x639fb9(0x1ca)],this[_0x1dbf11]=_0x1f99cb[_0x639fb9(0x2e8)]===void 0x0?'':_0x1f99cb[_0x639fb9(0x2e8)],this[_0x3c4c7e]=_0x1f99cb[_0x639fb9(0x31d)]===void 0x0?!0x1:_0x1f99cb['wasClean'];}get[_0xc12a9e(0x1ca)](){return this[_0x317c72];}get[_0xc12a9e(0x2e8)](){return this[_0x1dbf11];}get[_0xc12a9e(0x31d)](){return this[_0x3c4c7e];}}Object[_0xc12a9e(0x231)](_0x75b94a[_0xc12a9e(0x17f)],'code',{'enumerable':!0x0}),Object[_0xc12a9e(0x231)](_0x75b94a[_0xc12a9e(0x17f)],_0xc12a9e(0x2e8),{'enumerable':!0x0}),Object[_0xc12a9e(0x231)](_0x75b94a['prototype'],_0xc12a9e(0x31d),{'enumerable':!0x0});class _0x533a17 extends _0x347723{constructor(_0x582738,_0x484750={}){const _0x489921=_0xc12a9e;super(_0x582738),this[_0xdd8846]=_0x484750[_0x489921(0x1c1)]===void 0x0?null:_0x484750[_0x489921(0x1c1)],this[_0x3580cf]=_0x484750[_0x489921(0x254)]===void 0x0?'':_0x484750[_0x489921(0x254)];}get[_0xc12a9e(0x1c1)](){return this[_0xdd8846];}get[_0xc12a9e(0x254)](){return this[_0x3580cf];}}Object[_0xc12a9e(0x231)](_0x533a17[_0xc12a9e(0x17f)],_0xc12a9e(0x1c1),{'enumerable':!0x0}),Object[_0xc12a9e(0x231)](_0x533a17['prototype'],'message',{'enumerable':!0x0});class _0x2d8c7e extends _0x347723{constructor(_0x9b01c6,_0xd2afbb={}){const _0xb17fe8=_0xc12a9e;super(_0x9b01c6),this[_0x12589e]=_0xd2afbb[_0xb17fe8(0x2d9)]===void 0x0?null:_0xd2afbb['data'];}get[_0xc12a9e(0x2d9)](){return this[_0x12589e];}}Object[_0xc12a9e(0x231)](_0x2d8c7e['prototype'],_0xc12a9e(0x2d9),{'enumerable':!0x0}),xe={'CloseEvent':_0x75b94a,'ErrorEvent':_0x533a17,'Event':_0x347723,'EventTarget':{'addEventListener'(_0x1f9aee,_0x9e294e,_0xc63830={}){const _0x4703cc=_0xc12a9e;for(const _0x5acb51 of this[_0x4703cc(0x1ff)](_0x1f9aee))if(!_0xc63830[_0x105fcd]&&_0x5acb51[_0x13f701]===_0x9e294e&&!_0x5acb51[_0x105fcd])return;let _0x71cee3;if(_0x1f9aee==='message')_0x71cee3=function(_0x256097,_0xf70a8){const _0x1a04e9=new _0x2d8c7e('message',{'data':_0xf70a8?_0x256097:_0x256097['toString']()});_0x1a04e9[_0x1c7f9b]=this,_0x2014a4(_0x9e294e,this,_0x1a04e9);};else{if(_0x1f9aee===_0x4703cc(0x291))_0x71cee3=function(_0x40ef31,_0x1076f3){const _0x3f8bec=_0x4703cc,_0x1127f0=new _0x75b94a(_0x3f8bec(0x291),{'code':_0x40ef31,'reason':_0x1076f3[_0x3f8bec(0x204)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x1127f0[_0x1c7f9b]=this,_0x2014a4(_0x9e294e,this,_0x1127f0);};else{if(_0x1f9aee===_0x4703cc(0x1c1))_0x71cee3=function(_0x549184){const _0x358d3b=_0x4703cc,_0x2ee218=new _0x533a17(_0x358d3b(0x1c1),{'error':_0x549184,'message':_0x549184[_0x358d3b(0x254)]});_0x2ee218[_0x1c7f9b]=this,_0x2014a4(_0x9e294e,this,_0x2ee218);};else{if(_0x1f9aee===_0x4703cc(0x26c))_0x71cee3=function(){const _0x1ff565=new _0x347723('open');_0x1ff565[_0x1c7f9b]=this,_0x2014a4(_0x9e294e,this,_0x1ff565);};else return;}}}_0x71cee3[_0x105fcd]=!!_0xc63830[_0x105fcd],_0x71cee3[_0x13f701]=_0x9e294e,_0xc63830['once']?this['once'](_0x1f9aee,_0x71cee3):this['on'](_0x1f9aee,_0x71cee3);},'removeEventListener'(_0x1cf11b,_0x167be1){const _0x396e6d=_0xc12a9e;for(const _0x108fcf of this[_0x396e6d(0x1ff)](_0x1cf11b))if(_0x108fcf[_0x13f701]===_0x167be1&&!_0x108fcf[_0x105fcd]){this['removeListener'](_0x1cf11b,_0x108fcf);break;}}},'MessageEvent':_0x2d8c7e};function _0x2014a4(_0x3d3731,_0x15caa0,_0x260a31){const _0x21fd7d=_0xc12a9e;typeof _0x3d3731==_0x21fd7d(0x1c6)&&_0x3d3731[_0x21fd7d(0x2b0)]?_0x3d3731['handleEvent'][_0x21fd7d(0x217)](_0x3d3731,_0x260a31):_0x3d3731[_0x21fd7d(0x217)](_0x15caa0,_0x260a31);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2b75b9}=ae();function _0x1a5d6c(_0x66fedd,_0x4a7c33,_0x57b101){const _0x3914a4=_0x2aeb;_0x66fedd[_0x4a7c33]===void 0x0?_0x66fedd[_0x4a7c33]=[_0x57b101]:_0x66fedd[_0x4a7c33][_0x3914a4(0x2d6)](_0x57b101);}function _0x3bdec2(_0xf6ab27){const _0x5ccae7=_0x2aeb,_0x5b1892=Object['create'](null);let _0x3f6783=Object[_0x5ccae7(0x280)](null),_0x23c613=!0x1,_0x1feb42=!0x1,_0x474ff4=!0x1,_0x1ab12d,_0x311e1f,_0x1012b3=-0x1,_0x251634=-0x1,_0x1268ba=-0x1,_0x12dffd=0x0;for(;_0x12dffd<_0xf6ab27[_0x5ccae7(0x173)];_0x12dffd++)if(_0x251634=_0xf6ab27[_0x5ccae7(0x25b)](_0x12dffd),_0x1ab12d===void 0x0){if(_0x1268ba===-0x1&&_0x2b75b9[_0x251634]===0x1)_0x1012b3===-0x1&&(_0x1012b3=_0x12dffd);else{if(_0x12dffd!==0x0&&(_0x251634===0x20||_0x251634===0x9))_0x1268ba===-0x1&&_0x1012b3!==-0x1&&(_0x1268ba=_0x12dffd);else{if(_0x251634===0x3b||_0x251634===0x2c){if(_0x1012b3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x12dffd);_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd);const _0x5f347d=_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x1268ba);_0x251634===0x2c?(_0x1a5d6c(_0x5b1892,_0x5f347d,_0x3f6783),_0x3f6783=Object[_0x5ccae7(0x280)](null)):_0x1ab12d=_0x5f347d,_0x1012b3=_0x1268ba=-0x1;}else throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);}}}else{if(_0x311e1f===void 0x0){if(_0x1268ba===-0x1&&_0x2b75b9[_0x251634]===0x1)_0x1012b3===-0x1&&(_0x1012b3=_0x12dffd);else{if(_0x251634===0x20||_0x251634===0x9)_0x1268ba===-0x1&&_0x1012b3!==-0x1&&(_0x1268ba=_0x12dffd);else{if(_0x251634===0x3b||_0x251634===0x2c){if(_0x1012b3===-0x1)throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd),_0x1a5d6c(_0x3f6783,_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x1268ba),!0x0),_0x251634===0x2c&&(_0x1a5d6c(_0x5b1892,_0x1ab12d,_0x3f6783),_0x3f6783=Object[_0x5ccae7(0x280)](null),_0x1ab12d=void 0x0),_0x1012b3=_0x1268ba=-0x1;}else{if(_0x251634===0x3d&&_0x1012b3!==-0x1&&_0x1268ba===-0x1)_0x311e1f=_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x12dffd),_0x1012b3=_0x1268ba=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x12dffd);}}}}else{if(_0x1feb42){if(_0x2b75b9[_0x251634]!==0x1)throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);_0x1012b3===-0x1?_0x1012b3=_0x12dffd:_0x23c613||(_0x23c613=!0x0),_0x1feb42=!0x1;}else{if(_0x474ff4){if(_0x2b75b9[_0x251634]===0x1)_0x1012b3===-0x1&&(_0x1012b3=_0x12dffd);else{if(_0x251634===0x22&&_0x1012b3!==-0x1)_0x474ff4=!0x1,_0x1268ba=_0x12dffd;else{if(_0x251634===0x5c)_0x1feb42=!0x0;else throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);}}}else{if(_0x251634===0x22&&_0xf6ab27[_0x5ccae7(0x25b)](_0x12dffd-0x1)===0x3d)_0x474ff4=!0x0;else{if(_0x1268ba===-0x1&&_0x2b75b9[_0x251634]===0x1)_0x1012b3===-0x1&&(_0x1012b3=_0x12dffd);else{if(_0x1012b3!==-0x1&&(_0x251634===0x20||_0x251634===0x9))_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd);else{if(_0x251634===0x3b||_0x251634===0x2c){if(_0x1012b3===-0x1)throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd);let _0x16662c=_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x1268ba);_0x23c613&&(_0x16662c=_0x16662c[_0x5ccae7(0x233)](/\\/g,''),_0x23c613=!0x1),_0x1a5d6c(_0x3f6783,_0x311e1f,_0x16662c),_0x251634===0x2c&&(_0x1a5d6c(_0x5b1892,_0x1ab12d,_0x3f6783),_0x3f6783=Object[_0x5ccae7(0x280)](null),_0x1ab12d=void 0x0),_0x311e1f=void 0x0,_0x1012b3=_0x1268ba=-0x1;}else throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);}}}}}}}if(_0x1012b3===-0x1||_0x474ff4||_0x251634===0x20||_0x251634===0x9)throw new SyntaxError(_0x5ccae7(0x240));_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd);const _0x4de368=_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x1268ba);return _0x1ab12d===void 0x0?_0x1a5d6c(_0x5b1892,_0x4de368,_0x3f6783):(_0x311e1f===void 0x0?_0x1a5d6c(_0x3f6783,_0x4de368,!0x0):_0x23c613?_0x1a5d6c(_0x3f6783,_0x311e1f,_0x4de368[_0x5ccae7(0x233)](/\\/g,'')):_0x1a5d6c(_0x3f6783,_0x311e1f,_0x4de368),_0x1a5d6c(_0x5b1892,_0x1ab12d,_0x3f6783)),_0x5b1892;}function _0x2439b4(_0x47e7fd){const _0x521296=_0x2aeb;return Object[_0x521296(0x253)](_0x47e7fd)[_0x521296(0x235)](_0x203eee=>{const _0x54800b=_0x521296;let _0x1f8d51=_0x47e7fd[_0x203eee];return Array[_0x54800b(0x20f)](_0x1f8d51)||(_0x1f8d51=[_0x1f8d51]),_0x1f8d51[_0x54800b(0x235)](_0x5af3e1=>[_0x203eee]['concat'](Object[_0x54800b(0x253)](_0x5af3e1)[_0x54800b(0x235)](_0x5809ae=>{const _0x2c91b0=_0x54800b;let _0x2b9936=_0x5af3e1[_0x5809ae];return Array[_0x2c91b0(0x20f)](_0x2b9936)||(_0x2b9936=[_0x2b9936]),_0x2b9936[_0x2c91b0(0x235)](_0x3b053c=>_0x3b053c===!0x0?_0x5809ae:_0x5809ae+'='+_0x3b053c)[_0x2c91b0(0x1b3)](';\x20');}))[_0x54800b(0x1b3)](';\x20'))[_0x54800b(0x1b3)](',\x20');})['join'](',\x20');}return be={'format':_0x2439b4,'parse':_0x3bdec2},be;}var we,Je;function Pe(){const _0x4f7401=_0x4c1ef6;if(Je)return we;Je=0x1;const _0x424d00=nt,_0x56b432=vt,_0x372f9=ot,_0x161cc2=St,_0x9768da=Et,{randomBytes:_0x523e01,createHash:_0x498066}=Le,{Duplex:_0x5bfb49,Readable:_0x84bb49}=oe,{URL:_0x181bbb}=xt,_0x2d8bc7=he(),_0x5bb55f=lt(),_0x41f127=ft(),{isBlob:_0x20dd10}=ae(),{BINARY_TYPES:_0x5016c7,EMPTY_BUFFER:_0x25c9da,GUID:_0x4a7552,kForOnEventAttribute:_0x3a0536,kListener:_0x38c287,kStatusCode:_0x3724b2,kWebSocket:_0x1bb08c,NOOP:_0x2697a8}=H(),{EventTarget:{addEventListener:_0x35a196,removeEventListener:_0x397a38}}=It(),{format:_0x4a556b,parse:_0x14108d}=ct(),{toBuffer:_0x17b048}=ce(),_0x4f26e6=0x1e*0x3e8,_0x150663=Symbol(_0x4f7401(0x2d8)),_0x271f9b=[0x8,0xd],_0x249eca=['CONNECTING',_0x4f7401(0x1a6),_0x4f7401(0x179),'CLOSED'],_0x1fc66c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3acdb2 extends _0x424d00{constructor(_0x49836d,_0x13fb44,_0x2695a8){const _0x59e8e9=_0x4f7401;super(),this[_0x59e8e9(0x196)]=_0x5016c7[0x0],this[_0x59e8e9(0x1ac)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x59e8e9(0x2ab)]=!0x1,this[_0x59e8e9(0x2a1)]=_0x25c9da,this[_0x59e8e9(0x238)]=null,this['_errorEmitted']=!0x1,this[_0x59e8e9(0x20a)]={},this['_paused']=!0x1,this[_0x59e8e9(0x1d3)]='',this[_0x59e8e9(0x296)]=_0x3acdb2['CONNECTING'],this['_receiver']=null,this[_0x59e8e9(0x17c)]=null,this[_0x59e8e9(0x25f)]=null,_0x49836d!==null?(this[_0x59e8e9(0x305)]=0x0,this[_0x59e8e9(0x2a3)]=!0x1,this[_0x59e8e9(0x2e4)]=0x0,_0x13fb44===void 0x0?_0x13fb44=[]:Array[_0x59e8e9(0x20f)](_0x13fb44)||(typeof _0x13fb44=='object'&&_0x13fb44!==null?(_0x2695a8=_0x13fb44,_0x13fb44=[]):_0x13fb44=[_0x13fb44]),_0x4cf3ea(this,_0x49836d,_0x13fb44,_0x2695a8)):(this[_0x59e8e9(0x183)]=_0x2695a8[_0x59e8e9(0x184)],this['_isServer']=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x4f7401(0x230)](_0x21bb2a){const _0xdc3897=_0x4f7401;_0x5016c7[_0xdc3897(0x26a)](_0x21bb2a)&&(this[_0xdc3897(0x196)]=_0x21bb2a,this[_0xdc3897(0x249)]&&(this[_0xdc3897(0x249)][_0xdc3897(0x196)]=_0x21bb2a));}get[_0x4f7401(0x1ad)](){const _0x2ad4b7=_0x4f7401;return this[_0x2ad4b7(0x25f)]?this['_socket'][_0x2ad4b7(0x175)][_0x2ad4b7(0x173)]+this[_0x2ad4b7(0x17c)][_0x2ad4b7(0x1a2)]:this['_bufferedAmount'];}get[_0x4f7401(0x325)](){const _0x52ac19=_0x4f7401;return Object[_0x52ac19(0x253)](this['_extensions'])['join']();}get[_0x4f7401(0x201)](){const _0x4829cd=_0x4f7401;return this[_0x4829cd(0x223)];}get[_0x4f7401(0x1d7)](){return null;}get[_0x4f7401(0x24a)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x4f7401(0x1a4)](){const _0x2d7b06=_0x4f7401;return this[_0x2d7b06(0x1d3)];}get[_0x4f7401(0x1e0)](){const _0x61bfd1=_0x4f7401;return this[_0x61bfd1(0x296)];}get[_0x4f7401(0x1b7)](){const _0x436a6e=_0x4f7401;return this[_0x436a6e(0x2d4)];}[_0x4f7401(0x2b1)](_0x4ec6c5,_0x5d2c19,_0x23350b){const _0x103e23=_0x4f7401,_0x3f91e0=new _0x5bb55f({'allowSynchronousEvents':_0x23350b['allowSynchronousEvents'],'binaryType':this[_0x103e23(0x230)],'extensions':this[_0x103e23(0x20a)],'isServer':this['_isServer'],'maxPayload':_0x23350b[_0x103e23(0x237)],'skipUTF8Validation':_0x23350b[_0x103e23(0x191)]}),_0x1d221c=new _0x41f127(_0x4ec6c5,this[_0x103e23(0x20a)],_0x23350b['generateMask']);this[_0x103e23(0x249)]=_0x3f91e0,this[_0x103e23(0x17c)]=_0x1d221c,this['_socket']=_0x4ec6c5,_0x3f91e0[_0x1bb08c]=this,_0x1d221c[_0x1bb08c]=this,_0x4ec6c5[_0x1bb08c]=this,_0x3f91e0['on'](_0x103e23(0x234),_0x11e242),_0x3f91e0['on'](_0x103e23(0x1bd),_0x36450b),_0x3f91e0['on'](_0x103e23(0x1c1),_0xb56bee),_0x3f91e0['on']('message',_0x97c9ef),_0x3f91e0['on'](_0x103e23(0x30d),_0x439ca4),_0x3f91e0['on'](_0x103e23(0x1b2),_0x4870ff),_0x1d221c[_0x103e23(0x24a)]=_0x35f759,_0x4ec6c5['setTimeout']&&_0x4ec6c5[_0x103e23(0x2d3)](0x0),_0x4ec6c5[_0x103e23(0x26d)]&&_0x4ec6c5[_0x103e23(0x26d)](),_0x5d2c19['length']>0x0&&_0x4ec6c5[_0x103e23(0x1cf)](_0x5d2c19),_0x4ec6c5['on'](_0x103e23(0x291),_0x1e19a1),_0x4ec6c5['on']('data',_0x232e0b),_0x4ec6c5['on']('end',_0x131fd1),_0x4ec6c5['on'](_0x103e23(0x1c1),_0x1f19e2),this[_0x103e23(0x296)]=_0x3acdb2['OPEN'],this[_0x103e23(0x24d)]('open');}['emitClose'](){const _0x513a65=_0x4f7401;if(!this[_0x513a65(0x25f)]){this[_0x513a65(0x296)]=_0x3acdb2['CLOSED'],this['emit'](_0x513a65(0x291),this['_closeCode'],this[_0x513a65(0x2a1)]);return;}this[_0x513a65(0x20a)][_0x2d8bc7[_0x513a65(0x2a2)]]&&this[_0x513a65(0x20a)][_0x2d8bc7[_0x513a65(0x2a2)]][_0x513a65(0x181)](),this['_receiver']['removeAllListeners'](),this['_readyState']=_0x3acdb2[_0x513a65(0x22a)],this[_0x513a65(0x24d)](_0x513a65(0x291),this[_0x513a65(0x1ac)],this[_0x513a65(0x2a1)]);}[_0x4f7401(0x291)](_0x434b8e,_0x4af6c6){const _0x1435d7=_0x4f7401;if(this['readyState']!==_0x3acdb2['CLOSED']){if(this['readyState']===_0x3acdb2[_0x1435d7(0x1fb)]){_0x177716(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1435d7(0x1e0)]===_0x3acdb2['CLOSING']){this[_0x1435d7(0x2ab)]&&(this['_closeFrameReceived']||this['_receiver'][_0x1435d7(0x175)][_0x1435d7(0x213)])&&this[_0x1435d7(0x25f)][_0x1435d7(0x195)]();return;}this['_readyState']=_0x3acdb2[_0x1435d7(0x179)],this[_0x1435d7(0x17c)][_0x1435d7(0x291)](_0x434b8e,_0x4af6c6,!this['_isServer'],_0x3171d9=>{const _0x23e69e=_0x1435d7;_0x3171d9||(this[_0x23e69e(0x2ab)]=!0x0,(this[_0x23e69e(0x2ec)]||this[_0x23e69e(0x249)]['_writableState'][_0x23e69e(0x213)])&&this['_socket'][_0x23e69e(0x195)]());}),_0x10f059(this);}}[_0x4f7401(0x322)](){const _0x2f0f59=_0x4f7401;this[_0x2f0f59(0x1e0)]===_0x3acdb2[_0x2f0f59(0x1fb)]||this['readyState']===_0x3acdb2[_0x2f0f59(0x22a)]||(this[_0x2f0f59(0x223)]=!0x0,this[_0x2f0f59(0x25f)][_0x2f0f59(0x322)]());}['ping'](_0x372766,_0x237590,_0x764cc0){const _0x2ce543=_0x4f7401;if(this[_0x2ce543(0x1e0)]===_0x3acdb2[_0x2ce543(0x1fb)])throw new Error(_0x2ce543(0x315));if(typeof _0x372766==_0x2ce543(0x1f7)?(_0x764cc0=_0x372766,_0x372766=_0x237590=void 0x0):typeof _0x237590=='function'&&(_0x764cc0=_0x237590,_0x237590=void 0x0),typeof _0x372766=='number'&&(_0x372766=_0x372766[_0x2ce543(0x204)]()),this[_0x2ce543(0x1e0)]!==_0x3acdb2[_0x2ce543(0x1a6)]){_0x5aa1fc(this,_0x372766,_0x764cc0);return;}_0x237590===void 0x0&&(_0x237590=!this[_0x2ce543(0x2a3)]),this[_0x2ce543(0x17c)][_0x2ce543(0x30d)](_0x372766||_0x25c9da,_0x237590,_0x764cc0);}['pong'](_0x154050,_0x4a48bb,_0x57c7c7){const _0x55bbfc=_0x4f7401;if(this[_0x55bbfc(0x1e0)]===_0x3acdb2[_0x55bbfc(0x1fb)])throw new Error(_0x55bbfc(0x315));if(typeof _0x154050==_0x55bbfc(0x1f7)?(_0x57c7c7=_0x154050,_0x154050=_0x4a48bb=void 0x0):typeof _0x4a48bb==_0x55bbfc(0x1f7)&&(_0x57c7c7=_0x4a48bb,_0x4a48bb=void 0x0),typeof _0x154050==_0x55bbfc(0x329)&&(_0x154050=_0x154050[_0x55bbfc(0x204)]()),this[_0x55bbfc(0x1e0)]!==_0x3acdb2[_0x55bbfc(0x1a6)]){_0x5aa1fc(this,_0x154050,_0x57c7c7);return;}_0x4a48bb===void 0x0&&(_0x4a48bb=!this['_isServer']),this[_0x55bbfc(0x17c)][_0x55bbfc(0x1b2)](_0x154050||_0x25c9da,_0x4a48bb,_0x57c7c7);}[_0x4f7401(0x2b4)](){const _0x1b18d3=_0x4f7401;this[_0x1b18d3(0x1e0)]===_0x3acdb2[_0x1b18d3(0x1fb)]||this[_0x1b18d3(0x1e0)]===_0x3acdb2[_0x1b18d3(0x22a)]||(this[_0x1b18d3(0x223)]=!0x1,this[_0x1b18d3(0x249)]['_writableState']['needDrain']||this['_socket'][_0x1b18d3(0x2b4)]());}[_0x4f7401(0x298)](_0x536f0d,_0x1b6dca,_0x16c6c0){const _0x2a5d06=_0x4f7401;if(this[_0x2a5d06(0x1e0)]===_0x3acdb2[_0x2a5d06(0x1fb)])throw new Error(_0x2a5d06(0x315));if(typeof _0x1b6dca==_0x2a5d06(0x1f7)&&(_0x16c6c0=_0x1b6dca,_0x1b6dca={}),typeof _0x536f0d=='number'&&(_0x536f0d=_0x536f0d[_0x2a5d06(0x204)]()),this[_0x2a5d06(0x1e0)]!==_0x3acdb2[_0x2a5d06(0x1a6)]){_0x5aa1fc(this,_0x536f0d,_0x16c6c0);return;}const _0x27332b={'binary':typeof _0x536f0d!=_0x2a5d06(0x1b5),'mask':!this[_0x2a5d06(0x2a3)],'compress':!0x0,'fin':!0x0,..._0x1b6dca};this[_0x2a5d06(0x20a)][_0x2d8bc7[_0x2a5d06(0x2a2)]]||(_0x27332b[_0x2a5d06(0x176)]=!0x1),this[_0x2a5d06(0x17c)][_0x2a5d06(0x298)](_0x536f0d||_0x25c9da,_0x27332b,_0x16c6c0);}[_0x4f7401(0x2f7)](){const _0x823718=_0x4f7401;if(this['readyState']!==_0x3acdb2[_0x823718(0x22a)]){if(this['readyState']===_0x3acdb2['CONNECTING']){_0x177716(this,this[_0x823718(0x21b)],_0x823718(0x1c2));return;}this[_0x823718(0x25f)]&&(this[_0x823718(0x296)]=_0x3acdb2['CLOSING'],this[_0x823718(0x25f)][_0x823718(0x210)]());}}}Object[_0x4f7401(0x231)](_0x3acdb2,_0x4f7401(0x1fb),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)](_0x4f7401(0x1fb))}),Object[_0x4f7401(0x231)](_0x3acdb2[_0x4f7401(0x17f)],_0x4f7401(0x1fb),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)]('CONNECTING')}),Object[_0x4f7401(0x231)](_0x3acdb2,_0x4f7401(0x1a6),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)]('OPEN')}),Object[_0x4f7401(0x231)](_0x3acdb2[_0x4f7401(0x17f)],_0x4f7401(0x1a6),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)]('OPEN')}),Object[_0x4f7401(0x231)](_0x3acdb2,_0x4f7401(0x179),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)](_0x4f7401(0x179))}),Object['defineProperty'](_0x3acdb2['prototype'],_0x4f7401(0x179),{'enumerable':!0x0,'value':_0x249eca['indexOf']('CLOSING')}),Object['defineProperty'](_0x3acdb2,_0x4f7401(0x22a),{'enumerable':!0x0,'value':_0x249eca['indexOf'](_0x4f7401(0x22a))}),Object[_0x4f7401(0x231)](_0x3acdb2['prototype'],_0x4f7401(0x22a),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)](_0x4f7401(0x22a))}),[_0x4f7401(0x230),_0x4f7401(0x1ad),_0x4f7401(0x325),_0x4f7401(0x201),'protocol','readyState',_0x4f7401(0x1b7)][_0x4f7401(0x2a9)](_0x58cd97=>{const _0x4404d5=_0x4f7401;Object[_0x4404d5(0x231)](_0x3acdb2[_0x4404d5(0x17f)],_0x58cd97,{'enumerable':!0x0});}),[_0x4f7401(0x26c),_0x4f7401(0x1c1),_0x4f7401(0x291),_0x4f7401(0x254)][_0x4f7401(0x2a9)](_0xa66cb=>{const _0x5d6804=_0x4f7401;Object[_0x5d6804(0x231)](_0x3acdb2[_0x5d6804(0x17f)],'on'+_0xa66cb,{'enumerable':!0x0,'get'(){const _0x515eab=_0x5d6804;for(const _0x2e5030 of this[_0x515eab(0x1ff)](_0xa66cb))if(_0x2e5030[_0x3a0536])return _0x2e5030[_0x38c287];return null;},'set'(_0x1222cf){const _0x38d8ad=_0x5d6804;for(const _0x1524d7 of this[_0x38d8ad(0x1ff)](_0xa66cb))if(_0x1524d7[_0x3a0536]){this['removeListener'](_0xa66cb,_0x1524d7);break;}typeof _0x1222cf==_0x38d8ad(0x1f7)&&this[_0x38d8ad(0x308)](_0xa66cb,_0x1222cf,{[_0x3a0536]:!0x0});}});}),_0x3acdb2[_0x4f7401(0x17f)]['addEventListener']=_0x35a196,_0x3acdb2[_0x4f7401(0x17f)][_0x4f7401(0x200)]=_0x397a38,we=_0x3acdb2;function _0x4cf3ea(_0x4e8311,_0x16959b,_0x5ad80b,_0x33628f){const _0x38b134=_0x4f7401,_0xb49882={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x271f9b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x33628f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4e8311[_0x38b134(0x183)]=_0xb49882[_0x38b134(0x184)],!_0x271f9b[_0x38b134(0x26a)](_0xb49882['protocolVersion']))throw new RangeError(_0x38b134(0x301)+_0xb49882['protocolVersion']+_0x38b134(0x19f)+_0x271f9b['join'](',\x20')+')');let _0x28dd3b;if(_0x16959b instanceof _0x181bbb)_0x28dd3b=_0x16959b;else try{_0x28dd3b=new _0x181bbb(_0x16959b);}catch{throw new SyntaxError(_0x38b134(0x1d8)+_0x16959b);}_0x28dd3b[_0x38b134(0x1a4)]===_0x38b134(0x206)?_0x28dd3b['protocol']='ws:':_0x28dd3b[_0x38b134(0x1a4)]==='https:'&&(_0x28dd3b[_0x38b134(0x1a4)]=_0x38b134(0x1be)),_0x4e8311[_0x38b134(0x2d4)]=_0x28dd3b[_0x38b134(0x2e0)];const _0x4bc409=_0x28dd3b[_0x38b134(0x1a4)]==='wss:',_0x2b648a=_0x28dd3b['protocol']===_0x38b134(0x285);let _0x4cf243;if(_0x28dd3b['protocol']!=='ws:'&&!_0x4bc409&&!_0x2b648a?_0x4cf243=_0x38b134(0x32c):_0x2b648a&&!_0x28dd3b['pathname']?_0x4cf243=_0x38b134(0x309):_0x28dd3b['hash']&&(_0x4cf243=_0x38b134(0x326)),_0x4cf243){const _0x4ad7e6=new SyntaxError(_0x4cf243);if(_0x4e8311[_0x38b134(0x2e4)]===0x0)throw _0x4ad7e6;_0x3f3860(_0x4e8311,_0x4ad7e6);return;}const _0x1ce5ac=_0x4bc409?0x1bb:0x50,_0x382688=_0x523e01(0x10)[_0x38b134(0x204)](_0x38b134(0x31e)),_0x3e5227=_0x4bc409?_0x56b432[_0x38b134(0x252)]:_0x372f9[_0x38b134(0x252)],_0xfdea40=new Set();let _0x4007bf;if(_0xb49882['createConnection']=_0xb49882[_0x38b134(0x1d9)]||(_0x4bc409?_0xa0b91a:_0xc5df98),_0xb49882[_0x38b134(0x25a)]=_0xb49882['defaultPort']||_0x1ce5ac,_0xb49882['port']=_0x28dd3b['port']||_0x1ce5ac,_0xb49882['host']=_0x28dd3b['hostname'][_0x38b134(0x319)]('[')?_0x28dd3b['hostname']['slice'](0x1,-0x1):_0x28dd3b[_0x38b134(0x1fa)],_0xb49882[_0x38b134(0x1cc)]={..._0xb49882[_0x38b134(0x1cc)],'Sec-WebSocket-Version':_0xb49882[_0x38b134(0x2dd)],'Sec-WebSocket-Key':_0x382688,'Connection':_0x38b134(0x190),'Upgrade':_0x38b134(0x2e5)},_0xb49882[_0x38b134(0x2a5)]=_0x28dd3b[_0x38b134(0x29e)]+_0x28dd3b[_0x38b134(0x317)],_0xb49882[_0x38b134(0x2f9)]=_0xb49882[_0x38b134(0x242)],_0xb49882[_0x38b134(0x24e)]&&(_0x4007bf=new _0x2d8bc7(_0xb49882[_0x38b134(0x24e)]!==!0x0?_0xb49882[_0x38b134(0x24e)]:{},!0x1,_0xb49882[_0x38b134(0x237)]),_0xb49882[_0x38b134(0x1cc)]['Sec-WebSocket-Extensions']=_0x4a556b({[_0x2d8bc7[_0x38b134(0x2a2)]]:_0x4007bf[_0x38b134(0x18d)]()})),_0x5ad80b[_0x38b134(0x173)]){for(const _0x44b52f of _0x5ad80b){if(typeof _0x44b52f!=_0x38b134(0x1b5)||!_0x1fc66c[_0x38b134(0x21f)](_0x44b52f)||_0xfdea40['has'](_0x44b52f))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xfdea40[_0x38b134(0x172)](_0x44b52f);}_0xb49882[_0x38b134(0x1cc)]['Sec-WebSocket-Protocol']=_0x5ad80b[_0x38b134(0x1b3)](',');}if(_0xb49882[_0x38b134(0x232)]&&(_0xb49882[_0x38b134(0x2dd)]<0xd?_0xb49882['headers'][_0x38b134(0x31b)]=_0xb49882[_0x38b134(0x232)]:_0xb49882[_0x38b134(0x1cc)][_0x38b134(0x31a)]=_0xb49882['origin']),(_0x28dd3b[_0x38b134(0x199)]||_0x28dd3b[_0x38b134(0x1cd)])&&(_0xb49882['auth']=_0x28dd3b[_0x38b134(0x199)]+':'+_0x28dd3b[_0x38b134(0x1cd)]),_0x2b648a){const _0x89a17b=_0xb49882[_0x38b134(0x2a5)]['split'](':');_0xb49882['socketPath']=_0x89a17b[0x0],_0xb49882[_0x38b134(0x2a5)]=_0x89a17b[0x1];}let _0x59e00f;if(_0xb49882[_0x38b134(0x1c0)]){if(_0x4e8311[_0x38b134(0x2e4)]===0x0){_0x4e8311['_originalIpc']=_0x2b648a,_0x4e8311[_0x38b134(0x2fa)]=_0x4bc409,_0x4e8311[_0x38b134(0x264)]=_0x2b648a?_0xb49882[_0x38b134(0x19b)]:_0x28dd3b[_0x38b134(0x274)];const _0x5392bd=_0x33628f&&_0x33628f['headers'];if(_0x33628f={..._0x33628f,'headers':{}},_0x5392bd){for(const [_0x341a33,_0x4931c8]of Object[_0x38b134(0x288)](_0x5392bd))_0x33628f[_0x38b134(0x1cc)][_0x341a33['toLowerCase']()]=_0x4931c8;}}else{if(_0x4e8311[_0x38b134(0x2f1)](_0x38b134(0x17a))===0x0){const _0x291dc0=_0x2b648a?_0x4e8311[_0x38b134(0x1e6)]?_0xb49882[_0x38b134(0x19b)]===_0x4e8311['_originalHostOrSocketPath']:!0x1:_0x4e8311['_originalIpc']?!0x1:_0x28dd3b[_0x38b134(0x274)]===_0x4e8311[_0x38b134(0x264)];(!_0x291dc0||_0x4e8311[_0x38b134(0x2fa)]&&!_0x4bc409)&&(delete _0xb49882[_0x38b134(0x1cc)]['authorization'],delete _0xb49882['headers'][_0x38b134(0x32b)],_0x291dc0||delete _0xb49882[_0x38b134(0x1cc)][_0x38b134(0x274)],_0xb49882[_0x38b134(0x2b8)]=void 0x0);}}_0xb49882[_0x38b134(0x2b8)]&&!_0x33628f[_0x38b134(0x1cc)][_0x38b134(0x2ed)]&&(_0x33628f[_0x38b134(0x1cc)]['authorization']=_0x38b134(0x1db)+Buffer[_0x38b134(0x294)](_0xb49882[_0x38b134(0x2b8)])['toString'](_0x38b134(0x31e))),_0x59e00f=_0x4e8311['_req']=_0x3e5227(_0xb49882),_0x4e8311[_0x38b134(0x2e4)]&&_0x4e8311[_0x38b134(0x24d)](_0x38b134(0x17a),_0x4e8311[_0x38b134(0x1b7)],_0x59e00f);}else _0x59e00f=_0x4e8311[_0x38b134(0x21b)]=_0x3e5227(_0xb49882);_0xb49882[_0x38b134(0x2f9)]&&_0x59e00f['on']('timeout',()=>{const _0x583bee=_0x38b134;_0x177716(_0x4e8311,_0x59e00f,_0x583bee(0x2ad));}),_0x59e00f['on']('error',_0x225764=>{const _0x2602c3=_0x38b134;_0x59e00f===null||_0x59e00f[_0x150663]||(_0x59e00f=_0x4e8311[_0x2602c3(0x21b)]=null,_0x3f3860(_0x4e8311,_0x225764));}),_0x59e00f['on'](_0x38b134(0x1e2),_0x275b7c=>{const _0x146c5b=_0x38b134,_0x11510a=_0x275b7c['headers']['location'],_0x4e3be1=_0x275b7c['statusCode'];if(_0x11510a&&_0xb49882[_0x146c5b(0x1c0)]&&_0x4e3be1>=0x12c&&_0x4e3be1<0x190){if(++_0x4e8311['_redirects']>_0xb49882[_0x146c5b(0x2cc)]){_0x177716(_0x4e8311,_0x59e00f,_0x146c5b(0x23c));return;}_0x59e00f['abort']();let _0xb9ab6;try{_0xb9ab6=new _0x181bbb(_0x11510a,_0x16959b);}catch{const _0xdd9531=new SyntaxError(_0x146c5b(0x1d8)+_0x11510a);_0x3f3860(_0x4e8311,_0xdd9531);return;}_0x4cf3ea(_0x4e8311,_0xb9ab6,_0x5ad80b,_0x33628f);}else _0x4e8311[_0x146c5b(0x24d)](_0x146c5b(0x1ea),_0x59e00f,_0x275b7c)||_0x177716(_0x4e8311,_0x59e00f,_0x146c5b(0x2a6)+_0x275b7c[_0x146c5b(0x2b5)]);}),_0x59e00f['on'](_0x38b134(0x21e),(_0x3f8f99,_0x193c1c,_0x54432c)=>{const _0x10dd73=_0x38b134;if(_0x4e8311[_0x10dd73(0x24d)]('upgrade',_0x3f8f99),_0x4e8311['readyState']!==_0x3acdb2[_0x10dd73(0x1fb)])return;_0x59e00f=_0x4e8311['_req']=null;const _0x46151b=_0x3f8f99['headers'][_0x10dd73(0x21e)];if(_0x46151b===void 0x0||_0x46151b[_0x10dd73(0x283)]()!==_0x10dd73(0x2e5)){_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x1ce));return;}const _0x2d7e51=_0x498066(_0x10dd73(0x292))[_0x10dd73(0x17d)](_0x382688+_0x4a7552)[_0x10dd73(0x2b9)](_0x10dd73(0x31e));if(_0x3f8f99['headers']['sec-websocket-accept']!==_0x2d7e51){_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x2ac));return;}const _0x242197=_0x3f8f99[_0x10dd73(0x1cc)][_0x10dd73(0x221)];let _0x5a07fa;if(_0x242197!==void 0x0?_0xfdea40[_0x10dd73(0x18a)]?_0xfdea40[_0x10dd73(0x279)](_0x242197)||(_0x5a07fa=_0x10dd73(0x2c4)):_0x5a07fa=_0x10dd73(0x2c7):_0xfdea40[_0x10dd73(0x18a)]&&(_0x5a07fa='Server\x20sent\x20no\x20subprotocol'),_0x5a07fa){_0x177716(_0x4e8311,_0x193c1c,_0x5a07fa);return;}_0x242197&&(_0x4e8311['_protocol']=_0x242197);const _0x3f2537=_0x3f8f99['headers'][_0x10dd73(0x25e)];if(_0x3f2537!==void 0x0){if(!_0x4007bf){_0x177716(_0x4e8311,_0x193c1c,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2aaf30;try{_0x2aaf30=_0x14108d(_0x3f2537);}catch{_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x2e7));return;}const _0x8b4dbb=Object[_0x10dd73(0x253)](_0x2aaf30);if(_0x8b4dbb[_0x10dd73(0x173)]!==0x1||_0x8b4dbb[0x0]!==_0x2d8bc7['extensionName']){_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x1d6));return;}try{_0x4007bf[_0x10dd73(0x312)](_0x2aaf30[_0x2d8bc7[_0x10dd73(0x2a2)]]);}catch{_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x2e7));return;}_0x4e8311[_0x10dd73(0x20a)][_0x2d8bc7[_0x10dd73(0x2a2)]]=_0x4007bf;}_0x4e8311[_0x10dd73(0x2b1)](_0x193c1c,_0x54432c,{'allowSynchronousEvents':_0xb49882['allowSynchronousEvents'],'generateMask':_0xb49882[_0x10dd73(0x1ed)],'maxPayload':_0xb49882['maxPayload'],'skipUTF8Validation':_0xb49882[_0x10dd73(0x191)]});}),_0xb49882[_0x38b134(0x1b8)]?_0xb49882['finishRequest'](_0x59e00f,_0x4e8311):_0x59e00f[_0x38b134(0x195)]();}function _0x3f3860(_0x463cb1,_0x13489d){const _0x494c90=_0x4f7401;_0x463cb1[_0x494c90(0x296)]=_0x3acdb2[_0x494c90(0x179)],_0x463cb1[_0x494c90(0x248)]=!0x0,_0x463cb1[_0x494c90(0x24d)]('error',_0x13489d),_0x463cb1[_0x494c90(0x1da)]();}function _0xc5df98(_0x5acea1){const _0x19d10a=_0x4f7401;return _0x5acea1['path']=_0x5acea1[_0x19d10a(0x19b)],_0x161cc2[_0x19d10a(0x2f5)](_0x5acea1);}function _0xa0b91a(_0x7fbc01){const _0x5bccc1=_0x4f7401;return _0x7fbc01[_0x5bccc1(0x2a5)]=void 0x0,!_0x7fbc01[_0x5bccc1(0x1cb)]&&_0x7fbc01[_0x5bccc1(0x1cb)]!==''&&(_0x7fbc01['servername']=_0x161cc2[_0x5bccc1(0x1ee)](_0x7fbc01['host'])?'':_0x7fbc01[_0x5bccc1(0x274)]),_0x9768da[_0x5bccc1(0x2f5)](_0x7fbc01);}function _0x177716(_0x35e267,_0x709450,_0x423def){const _0x2c8add=_0x4f7401;_0x35e267[_0x2c8add(0x296)]=_0x3acdb2[_0x2c8add(0x179)];const _0x3f6c3d=new Error(_0x423def);Error[_0x2c8add(0x1b6)](_0x3f6c3d,_0x177716),_0x709450[_0x2c8add(0x278)]?(_0x709450[_0x150663]=!0x0,_0x709450['abort'](),_0x709450[_0x2c8add(0x28e)]&&!_0x709450[_0x2c8add(0x28e)]['destroyed']&&_0x709450[_0x2c8add(0x28e)][_0x2c8add(0x210)](),process['nextTick'](_0x3f3860,_0x35e267,_0x3f6c3d)):(_0x709450['destroy'](_0x3f6c3d),_0x709450['once'](_0x2c8add(0x1c1),_0x35e267[_0x2c8add(0x24d)][_0x2c8add(0x2af)](_0x35e267,_0x2c8add(0x1c1))),_0x709450['once'](_0x2c8add(0x291),_0x35e267[_0x2c8add(0x1da)][_0x2c8add(0x2af)](_0x35e267)));}function _0x5aa1fc(_0x12706c,_0x33e494,_0xda5029){const _0xc2150b=_0x4f7401;if(_0x33e494){const _0x1aaf87=_0x20dd10(_0x33e494)?_0x33e494[_0xc2150b(0x18a)]:_0x17b048(_0x33e494)[_0xc2150b(0x173)];_0x12706c[_0xc2150b(0x25f)]?_0x12706c[_0xc2150b(0x17c)]['_bufferedBytes']+=_0x1aaf87:_0x12706c[_0xc2150b(0x305)]+=_0x1aaf87;}if(_0xda5029){const _0x5df867=new Error(_0xc2150b(0x324)+_0x12706c[_0xc2150b(0x1e0)]+'\x20('+_0x249eca[_0x12706c[_0xc2150b(0x1e0)]]+')');process[_0xc2150b(0x1dd)](_0xda5029,_0x5df867);}}function _0x11e242(_0xce5163,_0x5b666a){const _0xe39850=_0x4f7401,_0x176e4c=this[_0x1bb08c];_0x176e4c['_closeFrameReceived']=!0x0,_0x176e4c[_0xe39850(0x2a1)]=_0x5b666a,_0x176e4c[_0xe39850(0x1ac)]=_0xce5163,_0x176e4c[_0xe39850(0x25f)][_0x1bb08c]!==void 0x0&&(_0x176e4c['_socket'][_0xe39850(0x18b)]('data',_0x232e0b),process[_0xe39850(0x1dd)](_0x574dde,_0x176e4c['_socket']),_0xce5163===0x3ed?_0x176e4c[_0xe39850(0x291)]():_0x176e4c[_0xe39850(0x291)](_0xce5163,_0x5b666a));}function _0x36450b(){const _0xd53532=_0x4f7401,_0x535158=this[_0x1bb08c];_0x535158['isPaused']||_0x535158[_0xd53532(0x25f)]['resume']();}function _0xb56bee(_0x35d0ed){const _0x212329=_0x4f7401,_0x84aa81=this[_0x1bb08c];_0x84aa81['_socket'][_0x1bb08c]!==void 0x0&&(_0x84aa81[_0x212329(0x25f)][_0x212329(0x18b)](_0x212329(0x2d9),_0x232e0b),process['nextTick'](_0x574dde,_0x84aa81[_0x212329(0x25f)]),_0x84aa81[_0x212329(0x291)](_0x35d0ed[_0x3724b2])),_0x84aa81[_0x212329(0x248)]||(_0x84aa81[_0x212329(0x248)]=!0x0,_0x84aa81[_0x212329(0x24d)](_0x212329(0x1c1),_0x35d0ed));}function _0x29bd4a(){const _0x299165=_0x4f7401;this[_0x1bb08c][_0x299165(0x1da)]();}function _0x97c9ef(_0x44f7cb,_0x54ed9a){const _0x27426e=_0x4f7401;this[_0x1bb08c][_0x27426e(0x24d)](_0x27426e(0x254),_0x44f7cb,_0x54ed9a);}function _0x439ca4(_0x4279eb){const _0x2d98c5=_0x4f7401,_0x163961=this[_0x1bb08c];_0x163961['_autoPong']&&_0x163961['pong'](_0x4279eb,!this[_0x2d98c5(0x2a3)],_0x2697a8),_0x163961['emit'](_0x2d98c5(0x30d),_0x4279eb);}function _0x4870ff(_0x2c2dd5){const _0x2e1653=_0x4f7401;this[_0x1bb08c][_0x2e1653(0x24d)](_0x2e1653(0x1b2),_0x2c2dd5);}function _0x574dde(_0x2de6f5){_0x2de6f5['resume']();}function _0x35f759(_0x1fcae7){const _0x239919=_0x4f7401,_0x3dd308=this[_0x1bb08c];_0x3dd308[_0x239919(0x1e0)]!==_0x3acdb2['CLOSED']&&(_0x3dd308[_0x239919(0x1e0)]===_0x3acdb2['OPEN']&&(_0x3dd308['_readyState']=_0x3acdb2[_0x239919(0x179)],_0x10f059(_0x3dd308)),this['_socket'][_0x239919(0x195)](),_0x3dd308['_errorEmitted']||(_0x3dd308[_0x239919(0x248)]=!0x0,_0x3dd308['emit']('error',_0x1fcae7)));}function _0x10f059(_0x596f74){const _0x3770c6=_0x4f7401;_0x596f74['_closeTimer']=setTimeout(_0x596f74['_socket']['destroy']['bind'](_0x596f74[_0x3770c6(0x25f)]),_0x4f26e6);}function _0x1e19a1(){const _0x15b361=_0x4f7401,_0x185a03=this[_0x1bb08c];this[_0x15b361(0x18b)](_0x15b361(0x291),_0x1e19a1),this[_0x15b361(0x18b)]('data',_0x232e0b),this[_0x15b361(0x18b)]('end',_0x131fd1),_0x185a03['_readyState']=_0x3acdb2[_0x15b361(0x179)];let _0x5461b6;!this[_0x15b361(0x2be)][_0x15b361(0x300)]&&!_0x185a03[_0x15b361(0x2ec)]&&!_0x185a03[_0x15b361(0x249)][_0x15b361(0x175)][_0x15b361(0x213)]&&(_0x5461b6=_0x185a03['_socket']['read']())!==null&&_0x185a03[_0x15b361(0x249)][_0x15b361(0x244)](_0x5461b6),_0x185a03['_receiver'][_0x15b361(0x195)](),this[_0x1bb08c]=void 0x0,clearTimeout(_0x185a03[_0x15b361(0x238)]),_0x185a03['_receiver'][_0x15b361(0x175)][_0x15b361(0x215)]||_0x185a03[_0x15b361(0x249)][_0x15b361(0x175)][_0x15b361(0x213)]?_0x185a03[_0x15b361(0x1da)]():(_0x185a03[_0x15b361(0x249)]['on'](_0x15b361(0x1c1),_0x29bd4a),_0x185a03['_receiver']['on'](_0x15b361(0x17b),_0x29bd4a));}function _0x232e0b(_0x5c0895){const _0xef5ebd=_0x4f7401;this[_0x1bb08c]['_receiver'][_0xef5ebd(0x244)](_0x5c0895)||this[_0xef5ebd(0x322)]();}function _0x131fd1(){const _0x19edaa=_0x4f7401,_0x6b7207=this[_0x1bb08c];_0x6b7207[_0x19edaa(0x296)]=_0x3acdb2[_0x19edaa(0x179)],_0x6b7207['_receiver']['end'](),this[_0x19edaa(0x195)]();}function _0x1f19e2(){const _0x3d5c4a=_0x4f7401,_0x52ba72=this[_0x1bb08c];this[_0x3d5c4a(0x18b)]('error',_0x1f19e2),this['on'](_0x3d5c4a(0x1c1),_0x2697a8),_0x52ba72&&(_0x52ba72[_0x3d5c4a(0x296)]=_0x3acdb2[_0x3d5c4a(0x179)],this[_0x3d5c4a(0x210)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x42bc1e}=oe;function _0x33c2d0(_0x37305e){const _0x5ef0c4=_0x2aeb;_0x37305e[_0x5ef0c4(0x24d)](_0x5ef0c4(0x291));}function _0x58b5a0(){const _0x460070=_0x2aeb;!this['destroyed']&&this[_0x460070(0x175)][_0x460070(0x215)]&&this[_0x460070(0x210)]();}function _0x119224(_0x3fe542){const _0x361131=_0x2aeb;this[_0x361131(0x18b)](_0x361131(0x1c1),_0x119224),this[_0x361131(0x210)](),this[_0x361131(0x2f1)](_0x361131(0x1c1))===0x0&&this[_0x361131(0x24d)](_0x361131(0x1c1),_0x3fe542);}function _0x11497(_0x5317c1,_0x287121){const _0x33d702=_0x2aeb;let _0x5be969=!0x0;const _0x59ee63=new _0x42bc1e({..._0x287121,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5317c1['on']('message',function(_0xa8527a,_0x406f26){const _0x326085=_0x2aeb,_0x5a4b9d=!_0x406f26&&_0x59ee63['_readableState']['objectMode']?_0xa8527a['toString']():_0xa8527a;_0x59ee63[_0x326085(0x2d6)](_0x5a4b9d)||_0x5317c1[_0x326085(0x322)]();}),_0x5317c1[_0x33d702(0x239)](_0x33d702(0x1c1),function(_0x56b9d5){const _0x3a1263=_0x33d702;_0x59ee63[_0x3a1263(0x257)]||(_0x5be969=!0x1,_0x59ee63[_0x3a1263(0x210)](_0x56b9d5));}),_0x5317c1[_0x33d702(0x239)](_0x33d702(0x291),function(){const _0x170f38=_0x33d702;_0x59ee63[_0x170f38(0x257)]||_0x59ee63[_0x170f38(0x2d6)](null);}),_0x59ee63[_0x33d702(0x2de)]=function(_0x25fd97,_0x125810){const _0x5c4168=_0x33d702;if(_0x5317c1[_0x5c4168(0x1e0)]===_0x5317c1['CLOSED']){_0x125810(_0x25fd97),process[_0x5c4168(0x1dd)](_0x33c2d0,_0x59ee63);return;}let _0x58a95c=!0x1;_0x5317c1['once'](_0x5c4168(0x1c1),function(_0x2a4b6d){_0x58a95c=!0x0,_0x125810(_0x2a4b6d);}),_0x5317c1[_0x5c4168(0x239)](_0x5c4168(0x291),function(){const _0x18e7bc=_0x5c4168;_0x58a95c||_0x125810(_0x25fd97),process[_0x18e7bc(0x1dd)](_0x33c2d0,_0x59ee63);}),_0x5be969&&_0x5317c1[_0x5c4168(0x2f7)]();},_0x59ee63['_final']=function(_0x414712){const _0x4b2712=_0x33d702;if(_0x5317c1[_0x4b2712(0x1e0)]===_0x5317c1[_0x4b2712(0x1fb)]){_0x5317c1[_0x4b2712(0x239)]('open',function(){const _0x42c74d=_0x4b2712;_0x59ee63[_0x42c74d(0x263)](_0x414712);});return;}_0x5317c1[_0x4b2712(0x25f)]!==null&&(_0x5317c1[_0x4b2712(0x25f)][_0x4b2712(0x175)][_0x4b2712(0x215)]?(_0x414712(),_0x59ee63[_0x4b2712(0x2be)][_0x4b2712(0x300)]&&_0x59ee63[_0x4b2712(0x210)]()):(_0x5317c1[_0x4b2712(0x25f)][_0x4b2712(0x239)]('finish',function(){_0x414712();}),_0x5317c1[_0x4b2712(0x291)]()));},_0x59ee63[_0x33d702(0x19a)]=function(){const _0x3e622c=_0x33d702;_0x5317c1['isPaused']&&_0x5317c1[_0x3e622c(0x2b4)]();},_0x59ee63[_0x33d702(0x271)]=function(_0x25d768,_0x44286a,_0x4da669){const _0x161bf7=_0x33d702;if(_0x5317c1[_0x161bf7(0x1e0)]===_0x5317c1[_0x161bf7(0x1fb)]){_0x5317c1[_0x161bf7(0x239)](_0x161bf7(0x26c),function(){_0x59ee63['_write'](_0x25d768,_0x44286a,_0x4da669);});return;}_0x5317c1[_0x161bf7(0x298)](_0x25d768,_0x4da669);},_0x59ee63['on'](_0x33d702(0x195),_0x58b5a0),_0x59ee63['on'](_0x33d702(0x1c1),_0x119224),_0x59ee63;}return Oe=_0x11497,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3d67cf}=ae();function _0x1650c7(_0x3d1956){const _0x25faf5=_0x2aeb,_0x324849=new Set();let _0x3f5dd3=-0x1,_0x55ea24=-0x1,_0x5d9abb=0x0;for(_0x5d9abb;_0x5d9abb<_0x3d1956['length'];_0x5d9abb++){const _0x304b94=_0x3d1956[_0x25faf5(0x25b)](_0x5d9abb);if(_0x55ea24===-0x1&&_0x3d67cf[_0x304b94]===0x1)_0x3f5dd3===-0x1&&(_0x3f5dd3=_0x5d9abb);else{if(_0x5d9abb!==0x0&&(_0x304b94===0x20||_0x304b94===0x9))_0x55ea24===-0x1&&_0x3f5dd3!==-0x1&&(_0x55ea24=_0x5d9abb);else{if(_0x304b94===0x2c){if(_0x3f5dd3===-0x1)throw new SyntaxError(_0x25faf5(0x180)+_0x5d9abb);_0x55ea24===-0x1&&(_0x55ea24=_0x5d9abb);const _0x4b6f7c=_0x3d1956[_0x25faf5(0x2e6)](_0x3f5dd3,_0x55ea24);if(_0x324849[_0x25faf5(0x279)](_0x4b6f7c))throw new SyntaxError(_0x25faf5(0x241)+_0x4b6f7c+_0x25faf5(0x28c));_0x324849['add'](_0x4b6f7c),_0x3f5dd3=_0x55ea24=-0x1;}else throw new SyntaxError(_0x25faf5(0x180)+_0x5d9abb);}}}if(_0x3f5dd3===-0x1||_0x55ea24!==-0x1)throw new SyntaxError(_0x25faf5(0x240));const _0x1a8bce=_0x3d1956[_0x25faf5(0x2e6)](_0x3f5dd3,_0x5d9abb);if(_0x324849[_0x25faf5(0x279)](_0x1a8bce))throw new SyntaxError(_0x25faf5(0x241)+_0x1a8bce+_0x25faf5(0x28c));return _0x324849[_0x25faf5(0x172)](_0x1a8bce),_0x324849;}return Ce={'parse':_0x1650c7},Ce;}var Te,rt;function Ft(){const _0x598717=_0x4c1ef6;if(rt)return Te;rt=0x1;const _0x7ec03b=nt,_0x32da52=ot,{Duplex:_0x284ddb}=oe,{createHash:_0x1b3951}=Le,_0x13cd8d=ct(),_0x2a59ac=he(),_0x2f5a91=At(),_0x45f2c4=Pe(),{GUID:_0x9f0154,kWebSocket:_0x1e81be}=H(),_0x3d681c=/^[+/0-9A-Za-z]{22}==$/,_0x443575=0x0,_0x100951=0x1,_0x182826=0x2;class _0x3a8474 extends _0x7ec03b{constructor(_0x339574,_0x16e7b4){const _0x33e6b0=_0x2aeb;if(super(),_0x339574={'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':_0x45f2c4,..._0x339574},_0x339574[_0x33e6b0(0x272)]==null&&!_0x339574[_0x33e6b0(0x209)]&&!_0x339574[_0x33e6b0(0x30e)]||_0x339574[_0x33e6b0(0x272)]!=null&&(_0x339574[_0x33e6b0(0x209)]||_0x339574[_0x33e6b0(0x30e)])||_0x339574['server']&&_0x339574[_0x33e6b0(0x30e)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x339574[_0x33e6b0(0x272)]!=null?(this[_0x33e6b0(0x256)]=_0x32da52[_0x33e6b0(0x30f)]((_0xa399fe,_0x5441d6)=>{const _0x43cfc7=_0x33e6b0,_0x71963c=_0x32da52[_0x43cfc7(0x2aa)][0x1aa];_0x5441d6[_0x43cfc7(0x27e)](0x1aa,{'Content-Length':_0x71963c[_0x43cfc7(0x173)],'Content-Type':'text/plain'}),_0x5441d6[_0x43cfc7(0x195)](_0x71963c);}),this[_0x33e6b0(0x256)][_0x33e6b0(0x297)](_0x339574[_0x33e6b0(0x272)],_0x339574[_0x33e6b0(0x274)],_0x339574[_0x33e6b0(0x1c5)],_0x16e7b4)):_0x339574[_0x33e6b0(0x209)]&&(this[_0x33e6b0(0x256)]=_0x339574[_0x33e6b0(0x209)]),this[_0x33e6b0(0x256)]){const _0x28986f=this['emit']['bind'](this,'connection');this[_0x33e6b0(0x28b)]=_0x185938(this['_server'],{'listening':this[_0x33e6b0(0x24d)][_0x33e6b0(0x2af)](this,_0x33e6b0(0x220)),'error':this['emit'][_0x33e6b0(0x2af)](this,_0x33e6b0(0x1c1)),'upgrade':(_0x6cdeb1,_0x300424,_0x21fcf9)=>{const _0x22008b=_0x33e6b0;this[_0x22008b(0x27c)](_0x6cdeb1,_0x300424,_0x21fcf9,_0x28986f);}});}_0x339574[_0x33e6b0(0x24e)]===!0x0&&(_0x339574[_0x33e6b0(0x24e)]={}),_0x339574['clientTracking']&&(this[_0x33e6b0(0x1e4)]=new Set(),this[_0x33e6b0(0x187)]=!0x1),this['options']=_0x339574,this[_0x33e6b0(0x1c4)]=_0x443575;}[_0x598717(0x323)](){const _0x2723bc=_0x598717;if(this[_0x2723bc(0x27d)][_0x2723bc(0x30e)])throw new Error(_0x2723bc(0x2c9));return this[_0x2723bc(0x256)]?this['_server']['address']():null;}[_0x598717(0x291)](_0x52bf1c){const _0x317138=_0x598717;if(this[_0x317138(0x1c4)]===_0x182826){_0x52bf1c&&this[_0x317138(0x239)](_0x317138(0x291),()=>{const _0x26f973=_0x317138;_0x52bf1c(new Error(_0x26f973(0x20e)));}),process[_0x317138(0x1dd)](_0x3925a4,this);return;}if(_0x52bf1c&&this[_0x317138(0x239)](_0x317138(0x291),_0x52bf1c),this[_0x317138(0x1c4)]!==_0x100951){if(this[_0x317138(0x1c4)]=_0x100951,this[_0x317138(0x27d)]['noServer']||this[_0x317138(0x27d)]['server'])this[_0x317138(0x256)]&&(this[_0x317138(0x28b)](),this[_0x317138(0x28b)]=this[_0x317138(0x256)]=null),this['clients']?this[_0x317138(0x1e4)][_0x317138(0x18a)]?this[_0x317138(0x187)]=!0x0:process[_0x317138(0x1dd)](_0x3925a4,this):process[_0x317138(0x1dd)](_0x3925a4,this);else{const _0x47a940=this[_0x317138(0x256)];this['_removeListeners'](),this[_0x317138(0x28b)]=this[_0x317138(0x256)]=null,_0x47a940['close'](()=>{_0x3925a4(this);});}}}[_0x598717(0x236)](_0x48858a){const _0x27b6df=_0x598717;if(this['options']['path']){const _0x2793d6=_0x48858a[_0x27b6df(0x1b7)][_0x27b6df(0x1c7)]('?');if((_0x2793d6!==-0x1?_0x48858a[_0x27b6df(0x1b7)][_0x27b6df(0x2e6)](0x0,_0x2793d6):_0x48858a[_0x27b6df(0x1b7)])!==this[_0x27b6df(0x27d)][_0x27b6df(0x2a5)])return!0x1;}return!0x0;}['handleUpgrade'](_0x50007f,_0x2dec10,_0x1b47d0,_0x4f872e){const _0x459f8d=_0x598717;_0x2dec10['on'](_0x459f8d(0x1c1),_0x789227);const _0x1e3bb8=_0x50007f[_0x459f8d(0x1cc)][_0x459f8d(0x1a3)],_0x429958=_0x50007f[_0x459f8d(0x1cc)]['upgrade'],_0x726961=+_0x50007f[_0x459f8d(0x1cc)][_0x459f8d(0x313)];if(_0x50007f[_0x459f8d(0x2c2)]!==_0x459f8d(0x1eb)){_0x313fc4(this,_0x50007f,_0x2dec10,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x429958===void 0x0||_0x429958['toLowerCase']()!==_0x459f8d(0x2e5)){_0x313fc4(this,_0x50007f,_0x2dec10,0x190,_0x459f8d(0x1ce));return;}if(_0x1e3bb8===void 0x0||!_0x3d681c[_0x459f8d(0x21f)](_0x1e3bb8)){_0x313fc4(this,_0x50007f,_0x2dec10,0x190,_0x459f8d(0x1ae));return;}if(_0x726961!==0xd&&_0x726961!==0x8){_0x313fc4(this,_0x50007f,_0x2dec10,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x459f8d(0x270)});return;}if(!this[_0x459f8d(0x236)](_0x50007f)){_0x366da8(_0x2dec10,0x190);return;}const _0x5bdcea=_0x50007f[_0x459f8d(0x1cc)]['sec-websocket-protocol'];let _0x72b8ad=new Set();if(_0x5bdcea!==void 0x0)try{_0x72b8ad=_0x2f5a91['parse'](_0x5bdcea);}catch{_0x313fc4(this,_0x50007f,_0x2dec10,0x190,_0x459f8d(0x314));return;}const _0x537764=_0x50007f[_0x459f8d(0x1cc)][_0x459f8d(0x25e)],_0x5c6f32={};if(this['options'][_0x459f8d(0x24e)]&&_0x537764!==void 0x0){const _0x34d293=new _0x2a59ac(this[_0x459f8d(0x27d)][_0x459f8d(0x24e)],!0x0,this['options']['maxPayload']);try{const _0x134dc5=_0x13cd8d[_0x459f8d(0x22e)](_0x537764);_0x134dc5[_0x2a59ac['extensionName']]&&(_0x34d293['accept'](_0x134dc5[_0x2a59ac['extensionName']]),_0x5c6f32[_0x2a59ac[_0x459f8d(0x2a2)]]=_0x34d293);}catch{_0x313fc4(this,_0x50007f,_0x2dec10,0x190,_0x459f8d(0x1a9));return;}}if(this[_0x459f8d(0x27d)][_0x459f8d(0x2f6)]){const _0xf117ff={'origin':_0x50007f[_0x459f8d(0x1cc)][''+(_0x726961===0x8?_0x459f8d(0x2df):_0x459f8d(0x232))],'secure':!!(_0x50007f[_0x459f8d(0x28e)][_0x459f8d(0x287)]||_0x50007f[_0x459f8d(0x28e)][_0x459f8d(0x30a)]),'req':_0x50007f};if(this['options'][_0x459f8d(0x2f6)]['length']===0x2){this[_0x459f8d(0x27d)][_0x459f8d(0x2f6)](_0xf117ff,(_0x322b7f,_0x521a03,_0x10face,_0x1d08f7)=>{const _0x203e1d=_0x459f8d;if(!_0x322b7f)return _0x366da8(_0x2dec10,_0x521a03||0x191,_0x10face,_0x1d08f7);this[_0x203e1d(0x2f3)](_0x5c6f32,_0x1e3bb8,_0x72b8ad,_0x50007f,_0x2dec10,_0x1b47d0,_0x4f872e);});return;}if(!this['options'][_0x459f8d(0x2f6)](_0xf117ff))return _0x366da8(_0x2dec10,0x191);}this[_0x459f8d(0x2f3)](_0x5c6f32,_0x1e3bb8,_0x72b8ad,_0x50007f,_0x2dec10,_0x1b47d0,_0x4f872e);}[_0x598717(0x2f3)](_0x348c2f,_0x3a263e,_0x42035b,_0x11c9ac,_0x1ebf61,_0x230780,_0x8edfd){const _0x1d2846=_0x598717;if(!_0x1ebf61[_0x1d2846(0x1e1)]||!_0x1ebf61[_0x1d2846(0x1ef)])return _0x1ebf61[_0x1d2846(0x210)]();if(_0x1ebf61[_0x1e81be])throw new Error(_0x1d2846(0x299));if(this['_state']>_0x443575)return _0x366da8(_0x1ebf61,0x1f7);const _0x46542e=[_0x1d2846(0x1aa),_0x1d2846(0x282),_0x1d2846(0x320),_0x1d2846(0x303)+_0x1b3951(_0x1d2846(0x292))[_0x1d2846(0x17d)](_0x3a263e+_0x9f0154)[_0x1d2846(0x2b9)](_0x1d2846(0x31e))],_0x573420=new this['options'][(_0x1d2846(0x310))](null,void 0x0,this['options']);if(_0x42035b['size']){const _0x1e3ae0=this[_0x1d2846(0x27d)][_0x1d2846(0x197)]?this[_0x1d2846(0x27d)]['handleProtocols'](_0x42035b,_0x11c9ac):_0x42035b[_0x1d2846(0x27a)]()[_0x1d2846(0x1b0)]()[_0x1d2846(0x24c)];_0x1e3ae0&&(_0x46542e[_0x1d2846(0x2d6)](_0x1d2846(0x216)+_0x1e3ae0),_0x573420[_0x1d2846(0x1d3)]=_0x1e3ae0);}if(_0x348c2f[_0x2a59ac[_0x1d2846(0x2a2)]]){const _0x1f6a27=_0x348c2f[_0x2a59ac['extensionName']][_0x1d2846(0x207)],_0x3ad05d=_0x13cd8d['format']({[_0x2a59ac['extensionName']]:[_0x1f6a27]});_0x46542e[_0x1d2846(0x2d6)](_0x1d2846(0x284)+_0x3ad05d),_0x573420['_extensions']=_0x348c2f;}this['emit'](_0x1d2846(0x1cc),_0x46542e,_0x11c9ac),_0x1ebf61['write'](_0x46542e[_0x1d2846(0x1f6)]('\x0d\x0a')[_0x1d2846(0x1b3)]('\x0d\x0a')),_0x1ebf61[_0x1d2846(0x18b)](_0x1d2846(0x1c1),_0x789227),_0x573420[_0x1d2846(0x2b1)](_0x1ebf61,_0x230780,{'allowSynchronousEvents':this[_0x1d2846(0x27d)]['allowSynchronousEvents'],'maxPayload':this['options'][_0x1d2846(0x237)],'skipUTF8Validation':this[_0x1d2846(0x27d)][_0x1d2846(0x191)]}),this[_0x1d2846(0x1e4)]&&(this[_0x1d2846(0x1e4)][_0x1d2846(0x172)](_0x573420),_0x573420['on'](_0x1d2846(0x291),()=>{const _0x24ca42=_0x1d2846;this['clients'][_0x24ca42(0x1a1)](_0x573420),this[_0x24ca42(0x187)]&&!this[_0x24ca42(0x1e4)][_0x24ca42(0x18a)]&&process[_0x24ca42(0x1dd)](_0x3925a4,this);})),_0x8edfd(_0x573420,_0x11c9ac);}}Te=_0x3a8474;function _0x185938(_0x3e1298,_0x3fdedd){const _0x1de6b1=_0x598717;for(const _0x477696 of Object[_0x1de6b1(0x253)](_0x3fdedd))_0x3e1298['on'](_0x477696,_0x3fdedd[_0x477696]);return function(){const _0x34ab5a=_0x1de6b1;for(const _0x15114e of Object[_0x34ab5a(0x253)](_0x3fdedd))_0x3e1298['removeListener'](_0x15114e,_0x3fdedd[_0x15114e]);};}function _0x3925a4(_0xb6c7d0){const _0x45046c=_0x598717;_0xb6c7d0[_0x45046c(0x1c4)]=_0x182826,_0xb6c7d0[_0x45046c(0x24d)]('close');}function _0x789227(){const _0x13eb8b=_0x598717;this[_0x13eb8b(0x210)]();}function _0x366da8(_0x188001,_0x2331bf,_0x244ef2,_0x1d9c0d){const _0x4dbb0e=_0x598717;_0x244ef2=_0x244ef2||_0x32da52[_0x4dbb0e(0x2aa)][_0x2331bf],_0x1d9c0d={'Connection':'close','Content-Type':_0x4dbb0e(0x23f),'Content-Length':Buffer[_0x4dbb0e(0x205)](_0x244ef2),..._0x1d9c0d},_0x188001['once'](_0x4dbb0e(0x17b),_0x188001['destroy']),_0x188001[_0x4dbb0e(0x195)](_0x4dbb0e(0x19c)+_0x2331bf+'\x20'+_0x32da52[_0x4dbb0e(0x2aa)][_0x2331bf]+'\x0d\x0a'+Object[_0x4dbb0e(0x253)](_0x1d9c0d)[_0x4dbb0e(0x235)](_0x3b507e=>_0x3b507e+':\x20'+_0x1d9c0d[_0x3b507e])[_0x4dbb0e(0x1b3)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x244ef2);}function _0x313fc4(_0x3bb1fa,_0x5cacbf,_0x334c06,_0x53647b,_0x2aa571,_0x159f76){const _0x542614=_0x598717;if(_0x3bb1fa[_0x542614(0x2f1)]('wsClientError')){const _0x11cb03=new Error(_0x2aa571);Error[_0x542614(0x1b6)](_0x11cb03,_0x313fc4),_0x3bb1fa[_0x542614(0x24d)]('wsClientError',_0x11cb03,_0x334c06,_0x5cacbf);}else _0x366da8(_0x334c06,_0x53647b,_0x2aa571,_0x159f76);}return Te;}Ft();var jt=Object[_0x4c1ef6(0x29c)],Wt=(_0x3d3e79,_0x17b1e2,_0x1fe1be,_0x275ce8)=>{const _0x279ef7=_0x4c1ef6;for(var _0x1746ff=_0x275ce8>0x1?void 0x0:_0x275ce8?jt(_0x17b1e2,_0x1fe1be):_0x17b1e2,_0x4d2a6f=_0x3d3e79[_0x279ef7(0x173)]-0x1,_0x5e27b0;_0x4d2a6f>=0x0;_0x4d2a6f--)(_0x5e27b0=_0x3d3e79[_0x4d2a6f])&&(_0x1746ff=_0x5e27b0(_0x1746ff)||_0x1746ff);return _0x1746ff;},qt=(_0x1247c7,_0x5012ee)=>(_0x410039,_0x15c4c7)=>_0x5012ee(_0x410039,_0x15c4c7,_0x1247c7);let ke=class extends A['Disposable']{constructor(_0x2960cf){super(),this['_configService']=_0x2960cf;}[_0x4c1ef6(0x26b)](_0xa5abda){const _0x27b959=_0x4c1ef6;var _0x13746b;const _0x162730=(_0x13746b=this[_0x27b959(0x1a7)][_0x27b959(0x23e)](fe))==null?void 0x0:_0x13746b['customHeaders'];try{const _0xcee80f=new $t(_0xa5abda,{'headers':{..._0x162730}}),_0x38a6a1=new A[(_0x27b959(0x2b6))]();return{'URL':_0xa5abda,'close':(_0x4db7d3,_0x2408b3)=>{_0xcee80f['close'](_0x4db7d3,_0x2408b3),_0x38a6a1['dispose']();},'send':_0x1f36fa=>{_0xcee80f['send'](_0x1f36fa);},'open$':new V['Observable'](_0x14e75b=>{const _0x43305c=_0x27b959,_0x1ba3dd=_0x10f1c2=>_0x14e75b['next'](_0x10f1c2);_0xcee80f[_0x43305c(0x308)](_0x43305c(0x26c),_0x1ba3dd),_0x38a6a1[_0x43305c(0x172)](A['toDisposable'](()=>_0xcee80f['removeEventListener']('open',_0x1ba3dd)));})[_0x27b959(0x186)](V[_0x27b959(0x202)]()),'close$':new V[(_0x27b959(0x218))](_0x2ccab2=>{const _0x255e70=_0x27b959,_0x17e911=_0x558d86=>_0x2ccab2[_0x255e70(0x1b0)](_0x558d86);_0xcee80f['addEventListener'](_0x255e70(0x291),_0x17e911),_0x38a6a1[_0x255e70(0x172)](A[_0x255e70(0x18c)](()=>_0xcee80f['removeEventListener'](_0x255e70(0x291),_0x17e911)));})[_0x27b959(0x186)](V[_0x27b959(0x202)]()),'error$':new V[(_0x27b959(0x218))](_0x59faa2=>{const _0x3052fa=_0x27b959,_0x482070=_0x278e52=>_0x59faa2['next'](_0x278e52);_0xcee80f['addEventListener'](_0x3052fa(0x1c1),_0x482070),_0x38a6a1[_0x3052fa(0x172)](A[_0x3052fa(0x18c)](()=>_0xcee80f[_0x3052fa(0x200)](_0x3052fa(0x1c1),_0x482070)));})[_0x27b959(0x186)](V[_0x27b959(0x202)]()),'message$':new V[(_0x27b959(0x218))](_0xe553f=>{const _0x509f8a=_0x27b959,_0x3fa8ba=_0x59fed2=>_0xe553f['next'](_0x59fed2);_0xcee80f[_0x509f8a(0x308)]('message',_0x3fa8ba),_0x38a6a1[_0x509f8a(0x172)](A[_0x509f8a(0x18c)](()=>_0xcee80f['removeEventListener'](_0x509f8a(0x254),_0x3fa8ba)));})['pipe'](V[_0x27b959(0x202)]())};}catch(_0x39db2f){return console[_0x27b959(0x1c1)](_0x39db2f),null;}}};ke=Wt([qt(0x0,A[_0x4c1ef6(0x2c5)])],ke);var Gt=Object[_0x4c1ef6(0x231)],Vt=Object[_0x4c1ef6(0x29c)],Ht=(_0x53dfe8,_0x4f5c1f,_0x105789)=>_0x4f5c1f in _0x53dfe8?Gt(_0x53dfe8,_0x4f5c1f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x105789}):_0x53dfe8[_0x4f5c1f]=_0x105789,zt=(_0x5aa907,_0x2e8cc2,_0x59a129,_0x42cf16)=>{const _0x1adfd7=_0x4c1ef6;for(var _0x441e70=_0x42cf16>0x1?void 0x0:_0x42cf16?Vt(_0x2e8cc2,_0x59a129):_0x2e8cc2,_0x3504b0=_0x5aa907[_0x1adfd7(0x173)]-0x1,_0x3ca748;_0x3504b0>=0x0;_0x3504b0--)(_0x3ca748=_0x5aa907[_0x3504b0])&&(_0x441e70=_0x3ca748(_0x441e70)||_0x441e70);return _0x441e70;},Ne=(_0x6b639,_0x21a840)=>(_0x86e81d,_0x520aa2)=>_0x21a840(_0x86e81d,_0x520aa2,_0x6b639),Yt=(_0xf71d42,_0x24d442,_0x398538)=>Ht(_0xf71d42,_0x24d442+'',_0x398538);exports[_0x4c1ef6(0x2b2)]=class extends A[_0x4c1ef6(0x2a8)]{constructor(_0x310e0b=Ct,_0xcfe90,_0x396d2a,_0x26e0d8){const _0x4af128=_0x4c1ef6;_0x310e0b[_0x4af128(0x2ca)]||_0xcfe90[_0x4af128(0x30c)](_0x4af128(0x316)),super(),this['_configService']=_0x396d2a,this[_0x4af128(0x1c3)]=_0x26e0d8,this['_configService'][_0x4af128(0x290)](fe,_0x310e0b);}[_0x4c1ef6(0x321)](){const _0x20f64e=_0x4c1ef6;this[_0x20f64e(0x29f)]();}[_0x4c1ef6(0x29f)](){const _0x359b05=_0x4c1ef6;A[_0x359b05(0x208)](this['_injector'],[[it[_0x359b05(0x20d)],{'useClass':ke}]]);}},Yt(exports[_0x4c1ef6(0x2b2)],_0x4c1ef6(0x2cb),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x4c1ef6(0x225)](st[_0x4c1ef6(0x261)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x4c1ef6(0x2c5)]),Ne(0x3,A[_0x4c1ef6(0x2f8)](A[_0x4c1ef6(0x247)]))],exports[_0x4c1ef6(0x2b2)]);var Kt=Object[_0x4c1ef6(0x29c)],Xt=(_0x5e6811,_0x459761,_0x593abe,_0x53d23c)=>{const _0x35fc3f=_0x4c1ef6;for(var _0x183f2a=_0x53d23c>0x1?void 0x0:_0x53d23c?Kt(_0x459761,_0x593abe):_0x459761,_0x1415d4=_0x5e6811[_0x35fc3f(0x173)]-0x1,_0x4429a7;_0x1415d4>=0x0;_0x1415d4--)(_0x4429a7=_0x5e6811[_0x1415d4])&&(_0x183f2a=_0x4429a7(_0x183f2a)||_0x183f2a);return _0x183f2a;},ne=(_0x40813d,_0xef5405)=>(_0x5840fe,_0x1344b9)=>_0xef5405(_0x5840fe,_0x1344b9,_0x40813d);exports[_0x4c1ef6(0x24f)]=class extends st[_0x4c1ef6(0x226)]{constructor(_0x48f1df,_0x490d52,_0x1e8bbf,_0x45579c,_0x11e942){const _0x30f508=_0x4c1ef6;super(_0x48f1df,_0x490d52,_0x1e8bbf,_0x45579c,_0x11e942);const _0x23e957=this[_0x30f508(0x1a7)][_0x30f508(0x23e)](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2bb529,_0x3e31a5)=>{const _0x3aa445=_0x30f508;var _0x59b35d;const _0x4a1981=_0x2bb529['headers'];return(_0x59b35d=_0x23e957==null?void 0x0:_0x23e957['customHeaders'])!=null&&_0x59b35d[_0x3aa445(0x32b)]&&_0x4a1981[_0x3aa445(0x31c)](_0x3aa445(0x1df),_0x23e957['customHeaders']['cookie']),_0x3e31a5(_0x2bb529);}});}async[_0x4c1ef6(0x26b)](_0x4c675a){return this['_doCreateSocket'](_0x4c675a);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x4c1ef6(0x2f8)](A[_0x4c1ef6(0x247)])),ne(0x1,A[_0x4c1ef6(0x2f8)](it[_0x4c1ef6(0x23b)])),ne(0x2,A[_0x4c1ef6(0x2c5)]),ne(0x3,A[_0x4c1ef6(0x1f8)]),ne(0x4,Ot[_0x4c1ef6(0x25d)])],exports[_0x4c1ef6(0x24f)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;