@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505111606 → 0.7.0-nightly.202505131607

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 _0x256248=_0x2b82;(function(_0x3d1d7f,_0x37bb76){const _0x35b94c=_0x2b82,_0x303d75=_0x3d1d7f();while(!![]){try{const _0x33352e=-parseInt(_0x35b94c(0x1d6))/0x1+parseInt(_0x35b94c(0x2e9))/0x2+parseInt(_0x35b94c(0x299))/0x3+-parseInt(_0x35b94c(0x255))/0x4*(-parseInt(_0x35b94c(0x2f8))/0x5)+parseInt(_0x35b94c(0x2e5))/0x6+-parseInt(_0x35b94c(0x1eb))/0x7+parseInt(_0x35b94c(0x162))/0x8;if(_0x33352e===_0x37bb76)break;else _0x303d75['push'](_0x303d75['shift']());}catch(_0x6c9dcd){_0x303d75['push'](_0x303d75['shift']());}}}(_0x3181,0x26870));Object['defineProperty'](exports,Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x256248(0x1c2)),it=require(_0x256248(0x26e)),V=require(_0x256248(0x25a)),nt=require(_0x256248(0x1d1)),vt=require(_0x256248(0x19f)),ot=require(_0x256248(0x1d8)),St=require(_0x256248(0x146)),Et=require(_0x256248(0x168)),Le=require('crypto'),oe=require(_0x256248(0x1f9)),xt=require('url'),bt=require(_0x256248(0x285)),wt=require(_0x256248(0x167)),Ot=require('@univerjs-pro/collaboration'),fe=_0x256248(0x2c4),Ct={'customHeaders':{}};function Tt(_0x250db8){const _0x3aa14a=_0x256248;return _0x250db8&&_0x250db8['__esModule']&&Object['prototype'][_0x3aa14a(0x1ee)][_0x3aa14a(0x229)](_0x250db8,_0x3aa14a(0x303))?_0x250db8[_0x3aa14a(0x303)]:_0x250db8;}function at(_0x57a344){const _0x3ab7ac=_0x256248;if(Object['prototype'][_0x3ab7ac(0x1ee)][_0x3ab7ac(0x229)](_0x57a344,_0x3ab7ac(0x2fc)))return _0x57a344;var _0x2f4bb5=_0x57a344['default'];if(typeof _0x2f4bb5==_0x3ab7ac(0x240)){var _0x436c9d=function _0x3ce7a1(){const _0x3f59c4=_0x3ab7ac;return this instanceof _0x3ce7a1?Reflect[_0x3f59c4(0x21d)](_0x2f4bb5,arguments,this[_0x3f59c4(0x2e4)]):_0x2f4bb5['apply'](this,arguments);};_0x436c9d[_0x3ab7ac(0x2c9)]=_0x2f4bb5[_0x3ab7ac(0x2c9)];}else _0x436c9d={};return Object[_0x3ab7ac(0x269)](_0x436c9d,'__esModule',{'value':!0x0}),Object[_0x3ab7ac(0x268)](_0x57a344)[_0x3ab7ac(0x2d6)](function(_0x54f527){const _0x26c28a=_0x3ab7ac;var _0x1d08c9=Object[_0x26c28a(0x2c0)](_0x57a344,_0x54f527);Object[_0x26c28a(0x269)](_0x436c9d,_0x54f527,_0x1d08c9['get']?_0x1d08c9:{'enumerable':!0x0,'get':function(){return _0x57a344[_0x54f527];}});}),_0x436c9d;}var se={'exports':{}},ge,Ge;function H(){const _0xacecbe=_0x256248;if(Ge)return ge;Ge=0x1;const _0x399574=[_0xacecbe(0x157),_0xacecbe(0x2d3),_0xacecbe(0x26d)],_0x1c870f=typeof Blob<'u';return _0x1c870f&&_0x399574[_0xacecbe(0x23b)](_0xacecbe(0x25d)),ge={'BINARY_TYPES':_0x399574,'EMPTY_BUFFER':Buffer[_0xacecbe(0x27a)](0x0),'GUID':_0xacecbe(0x19b),'hasBlob':_0x1c870f,'kForOnEventAttribute':Symbol(_0xacecbe(0x21c)),'kListener':Symbol(_0xacecbe(0x180)),'kStatusCode':Symbol(_0xacecbe(0x2b2)),'kWebSocket':Symbol(_0xacecbe(0x235)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x256248(0x189)](Object[_0x256248(0x269)]({'__proto__':null,'default':Nt},Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)})),Lt=at(kt);var Ve;function _0x3181(){const _0x334815=['_fragments','apply','IConfigService','jobs','delete','writeUInt16BE','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','kTarget','set','1987846OMhROF','env','update','hasOwnProperty','threshold','Blob','serverMaxWindowBits','Inject','pow','startsWith','Cookie','_removeListeners','clients','MASK\x20must\x20be\x20set','stream','pluginName','WS_ERR_UNEXPECTED_RSV_1','conclude','captureStackTrace','concurrency','isPaused','createInflateRaw','handleProtocols','CONNECTING','_inflate','sha1','startLoop','href','CollaborationSocketService','options','createServer','OPEN','isBuffer','needDrain','setHeader','MASK\x20must\x20be\x20clear','method','_autoPong','NodeCollaborationSocketService','destroyed','_maskBuffer','total-length','Max\x20payload\x20size\x20exceeded','Unsupported\x20protocol\x20version:\x20','next','byteLength','size','WebSocket','GET','kIsForOnEventAttribute','construct','length','destroy','Unexpected\x20end\x20of\x20input','_doCreateSocket','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','pong','_req','readUInt16BE','request','sec-websocket-protocol','allowSynchronousEvents','call','username','terminate','hostname','once','_read','createError','toDisposable','path','HTTP/1.1\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','skipUTF8Validation','websocket','charCodeAt','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','server_no_context_takeover','compress','Invalid\x20URL:\x20','push','autoPong','replace','Z_SYNC_FLUSH','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','function','_injector','UniverCollaborationClientNodePlugin','uncork','_skipUTF8Validation','onmessage','_deflate','Sec-WebSocket-Extensions','Basic\x20','indexOf','ws:','_totalPayloadLength','Parameter\x20\x22','warn','byteOffset','unmask','listening','target','Plugin','finish','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','2396rOaLUp','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','client_no_context_takeover','handleEvent','_maxPayload','rxjs','DependentOn','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','blob','values','auth','decompress','isArray','dequeue','removeAllListeners','url','listenerCount','add','text/plain','keys','defineProperty','pathname','getConfig','dataMessage','fragments','@univerjs/network','invalid\x20opcode\x20','onStarting','wss:','text/html','emit','exports','Injector','kRun','client_max_window_bits','redirect','STATUS_CODES','alloc','Unexpected\x20server\x20response:\x20','servername','registerDependencies','sec-websocket-version','entries','readyState','string','writable','_readyState','kError','zlib','_closeTimer','params','read','Invalid\x20Upgrade\x20header','generateMask','flush','isInteger','acceptAsServer','catch','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_fragmented','_bufferedBytes','kCode','_extensions','invalid\x20UTF-8\x20sequence','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','join','onerror','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','499374TDSqQT','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','shouldHandle','_no_context_takeover','ILogService','HTTP/1.1\x20101\x20Switching\x20Protocols','kAborted','noServer','listeners','createSocket','WS_ERR_EXPECTED_MASK','createConnection','location','serverNoContextTakeover','_compressed','send','finished','has','_loop','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','zlibInflateOptions','connect','cork','CLOSED','_closeCode','status-code','maxPayload','_closeMessage','readUInt32BE','haveLength','emitClose','test','Maximum\x20redirects\x20exceeded','headers','_shouldEmitClose','slice','number','Invalid\x20value\x20for\x20parameter\x20\x22','_max_window_bits','getOwnPropertyDescriptor','_paused','sendFrame','sec-websocket-accept','collaboration-client-node.config','password','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_sender','\x0d\x0a\x0d\x0a','prototype','host','registerHTTPInterceptor','ping','_buffers','Invalid\x20Sec-WebSocket-Protocol\x20header','Sec-WebSocket-Accept:\x20','pipe','_protocol','_options','arraybuffer','writeHead','Opening\x20handshake\x20has\x20timed\x20out','forEach','unexpected-response','invalid\x20payload\x20length\x20','address','_compress','socketPath','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','drain','map','CLOSING','sec-websocket-key','toLowerCase','https:','\x22\x20must\x20have\x20only\x20a\x20single\x20value','constructor','730884EoYDgA','kReason','search','protocolVersion','35286VsUEYH','ISocketService','sec-websocket-extensions','_originalIpc','WS_ERR_INVALID_OPCODE','socket','perMessageDeflate','code','kDone','\x22:\x20','_closeFrameReceived','_httpService','Unexpected\x20character\x20at\x20index\x20','acceptAsClient','_messageLength','2415owBdct','Sec-WebSocket-Protocol','authorization','type','__esModule','pause','origin','wasClean','DisposableCollection','onopen','\x22\x20subprotocol\x20is\x20duplicated','default','mask','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','resume','_firstFragment','object','COLLABORATION_CLIENT_NODE_CONFIG_KEY','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','endEmitted','opcode','rsv1','removeListener','getBlobData','normalizeParams','kByteLength','toStringTag','message','The\x20\x22','Invalid\x20WebSocket\x20frame:\x20','File','readOnly','Upgrade','_generateMask','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','from','\x20(supported\x20versions:\x20','addEventListener','end','cleanup','pending','net','split','_url','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_opcode','isValidUTF8','_isServer','ws+unix:','WS_ERR_INVALID_UTF8','Z_DEFAULT_WINDOWBITS','_destroy','Module','_threshold','sec-websocket-origin','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','removeEventListener','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','nodebuffer','abort','setSocket','setNoDelay','writeUIntBE','close','timeout','client','Invalid\x20Sec-WebSocket-Accept\x20header','write','offer','980040KddhSh','base64','customHeaders','reason','consume','buffer','tls','statusCode','create','Sec-WebSocket-Origin','_queue','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','binaryType','The\x20URL\x27s\x20pathname\x20is\x20empty','_errorEmitted','accept','port','bind','RSV1\x20must\x20be\x20clear','_writableState','value','_bufferedAmount','getInfo','FIN\x20must\x20be\x20set','_state','extensions','_masked','getPayloadLength16','verifyClient','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kListener','_readableState','error','kWasClean','shift','kData','_fin','open','parse','freeze','_final','Disposable','_allowSynchronousEvents','_configService','Invalid\x20HTTP\x20method','Invalid\x20Sec-WebSocket-Extensions\x20header','arrayBuffer','getPayloadLength64','bufferedAmount','invalid\x20opcode\x200','protocol','Origin','connection','reset','_socket','_binaryType','server','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','followRedirects','getMask','errorEmitted','https','onclose','UniverCollaborationClientPlugin','wsClientError','allocUnsafe','nextTick','species','data','defaultPort','objectMode','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Sec-WebSocket-Extensions:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_originalHostOrSocketPath','Server\x20sent\x20an\x20invalid\x20subprotocol','handleUpgrade','_closeFrameSent','dispose','includes','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','buffers','_server','WS_ERR_UNEXPECTED_RSV_2_3','_originalSecure','Upgrade:\x20websocket','_write','Sec-WebSocket-Protocol:\x20','WS_ERR_EXPECTED_FIN','HTTPService','frame','createDeflateRaw','isView','_redirects','fin','cookie','@univerjs/core','setTimeout','completeUpgrade','hash','_payloadLength','_decompress','_errored','concurrencyLimit','kType','controlMessage','toString','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_registerDependencies','server_max_window_bits','clientMaxWindowBits','events','_receiver','ISnapshotServerService','clientNoContextTakeover','extensionName','275951fCBGrG','digest','http','Observable','format','concat','enqueue','dispatch','upgrade','_mask','share','Server\x20sent\x20no\x20subprotocol'];_0x3181=function(){return _0x334815;};return _0x3181();}function ce(){const _0x1c567c=_0x256248;if(Ve)return se[_0x1c567c(0x274)];Ve=0x1;const {EMPTY_BUFFER:_0xe4fc7a}=H(),_0x2a8ed1=Buffer[Symbol[_0x1c567c(0x1a5)]];function _0x5c925d(_0x315bd4,_0x18a0a7){const _0x25c8ba=_0x1c567c;if(_0x315bd4[_0x25c8ba(0x21e)]===0x0)return _0xe4fc7a;if(_0x315bd4[_0x25c8ba(0x21e)]===0x1)return _0x315bd4[0x0];const _0x263be3=Buffer['allocUnsafe'](_0x18a0a7);let _0x394788=0x0;for(let _0x1bc1e3=0x0;_0x1bc1e3<_0x315bd4[_0x25c8ba(0x21e)];_0x1bc1e3++){const _0x3b9672=_0x315bd4[_0x1bc1e3];_0x263be3[_0x25c8ba(0x1ea)](_0x3b9672,_0x394788),_0x394788+=_0x3b9672[_0x25c8ba(0x21e)];}return _0x394788<_0x18a0a7?new _0x2a8ed1(_0x263be3['buffer'],_0x263be3['byteOffset'],_0x394788):_0x263be3;}function _0x310268(_0x1adfc3,_0x2061fe,_0x112976,_0x955312,_0x1c0f87){for(let _0xb38d55=0x0;_0xb38d55<_0x1c0f87;_0xb38d55++)_0x112976[_0x955312+_0xb38d55]=_0x1adfc3[_0xb38d55]^_0x2061fe[_0xb38d55&0x3];}function _0x45a528(_0x250281,_0x3e0f24){const _0x31e1d0=_0x1c567c;for(let _0x5f6935=0x0;_0x5f6935<_0x250281[_0x31e1d0(0x21e)];_0x5f6935++)_0x250281[_0x5f6935]^=_0x3e0f24[_0x5f6935&0x3];}function _0x170ec7(_0x4386c7){const _0x3893d2=_0x1c567c;return _0x4386c7['length']===_0x4386c7[_0x3893d2(0x167)][_0x3893d2(0x218)]?_0x4386c7[_0x3893d2(0x167)]:_0x4386c7[_0x3893d2(0x167)][_0x3893d2(0x2bc)](_0x4386c7[_0x3893d2(0x24e)],_0x4386c7[_0x3893d2(0x24e)]+_0x4386c7[_0x3893d2(0x21e)]);}function _0x138d06(_0x210cf3){const _0x5c39b1=_0x1c567c;if(_0x138d06[_0x5c39b1(0x13c)]=!0x0,Buffer[_0x5c39b1(0x20b)](_0x210cf3))return _0x210cf3;let _0x31a8c7;return _0x210cf3 instanceof ArrayBuffer?_0x31a8c7=new _0x2a8ed1(_0x210cf3):ArrayBuffer[_0x5c39b1(0x1be)](_0x210cf3)?_0x31a8c7=new _0x2a8ed1(_0x210cf3['buffer'],_0x210cf3[_0x5c39b1(0x24e)],_0x210cf3['byteLength']):(_0x31a8c7=Buffer[_0x5c39b1(0x140)](_0x210cf3),_0x138d06[_0x5c39b1(0x13c)]=!0x1),_0x31a8c7;}if(se['exports']={'concat':_0x5c925d,'mask':_0x310268,'toArrayBuffer':_0x170ec7,'toBuffer':_0x138d06,'unmask':_0x45a528},!process[_0x1c567c(0x1ec)]['WS_NO_BUFFER_UTIL'])try{const _0x824ee6=Lt;se[_0x1c567c(0x274)][_0x1c567c(0x129)]=function(_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec){const _0x566b3e=_0x1c567c;_0xd44eec<0x30?_0x310268(_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec):_0x824ee6[_0x566b3e(0x129)](_0x4f25d4,_0x251471,_0x1e6920,_0x4209e3,_0xd44eec);},se[_0x1c567c(0x274)]['unmask']=function(_0x41c7d2,_0xa87aca){const _0x13ecf1=_0x1c567c;_0x41c7d2[_0x13ecf1(0x21e)]<0x20?_0x45a528(_0x41c7d2,_0xa87aca):_0x824ee6[_0x13ecf1(0x24f)](_0x41c7d2,_0xa87aca);};}catch{}return se[_0x1c567c(0x274)];}var ye,He;function Pt(){const _0x5bb7c4=_0x256248;if(He)return ye;He=0x1;const _0x2d7a23=Symbol(_0x5bb7c4(0x2f1)),_0x576aa2=Symbol(_0x5bb7c4(0x276));class _0x26cd29{constructor(_0x479de6){const _0x3382ff=_0x5bb7c4;this[_0x2d7a23]=()=>{const _0x5462cc=_0x2b82;this[_0x5462cc(0x145)]--,this[_0x576aa2]();},this[_0x3382ff(0x1fe)]=_0x479de6||0x1/0x0,this[_0x3382ff(0x1e5)]=[],this[_0x3382ff(0x145)]=0x0;}[_0x5bb7c4(0x266)](_0x2d99dd){this['jobs']['push'](_0x2d99dd),this[_0x576aa2]();}[_0x576aa2](){const _0xf673a4=_0x5bb7c4;if(this[_0xf673a4(0x145)]!==this[_0xf673a4(0x1fe)]&&this[_0xf673a4(0x1e5)][_0xf673a4(0x21e)]){const _0x195233=this[_0xf673a4(0x1e5)][_0xf673a4(0x184)]();this[_0xf673a4(0x145)]++,_0x195233(this[_0x2d7a23]);}}}return ye=_0x26cd29,ye;}var ve,ze;function he(){const _0x50ebd6=_0x256248;if(ze)return ve;ze=0x1;const _0x274861=bt,_0x4af953=ce(),_0x53d03b=Pt(),{kStatusCode:_0x5804ac}=H(),_0x78bca4=Buffer[Symbol[_0x50ebd6(0x1a5)]],_0x614e3f=Buffer['from']([0x0,0x0,0xff,0xff]),_0x7fcda=Symbol('permessage-deflate'),_0x72a99e=Symbol(_0x50ebd6(0x214)),_0x560572=Symbol('callback'),_0x55f9fa=Symbol(_0x50ebd6(0x1b3)),_0x3111d7=Symbol(_0x50ebd6(0x182));let _0x219b85;class _0x107538{constructor(_0x1c4fc4,_0x3835de,_0x24532a){const _0x3513f8=_0x50ebd6;if(this[_0x3513f8(0x259)]=_0x24532a|0x0,this[_0x3513f8(0x2d2)]=_0x1c4fc4||{},this['_threshold']=this[_0x3513f8(0x2d2)][_0x3513f8(0x1ef)]!==void 0x0?this['_options'][_0x3513f8(0x1ef)]:0x400,this[_0x3513f8(0x14c)]=!!_0x3835de,this[_0x3513f8(0x246)]=null,this[_0x3513f8(0x203)]=null,this[_0x3513f8(0x287)]=null,!_0x219b85){const _0x1c45a1=this['_options'][_0x3513f8(0x1c9)]!==void 0x0?this[_0x3513f8(0x2d2)][_0x3513f8(0x1c9)]:0xa;_0x219b85=new _0x53d03b(_0x1c45a1);}}static get['extensionName'](){return'permessage-deflate';}[_0x50ebd6(0x161)](){const _0x15104e=_0x50ebd6,_0x5825af={};return this[_0x15104e(0x2d2)][_0x15104e(0x2a6)]&&(_0x5825af[_0x15104e(0x238)]=!0x0),this[_0x15104e(0x2d2)]['clientNoContextTakeover']&&(_0x5825af[_0x15104e(0x257)]=!0x0),this[_0x15104e(0x2d2)][_0x15104e(0x1f1)]&&(_0x5825af[_0x15104e(0x1cf)]=this['_options'][_0x15104e(0x1f1)]),this[_0x15104e(0x2d2)][_0x15104e(0x1d0)]?_0x5825af[_0x15104e(0x277)]=this[_0x15104e(0x2d2)]['clientMaxWindowBits']:this[_0x15104e(0x2d2)][_0x15104e(0x1d0)]==null&&(_0x5825af[_0x15104e(0x277)]=!0x0),_0x5825af;}[_0x50ebd6(0x171)](_0x384848){const _0x10f57a=_0x50ebd6;return _0x384848=this['normalizeParams'](_0x384848),this[_0x10f57a(0x287)]=this[_0x10f57a(0x14c)]?this['acceptAsServer'](_0x384848):this['acceptAsClient'](_0x384848),this['params'];}[_0x50ebd6(0x144)](){const _0xf76886=_0x50ebd6;if(this[_0xf76886(0x203)]&&(this[_0xf76886(0x203)][_0xf76886(0x15c)](),this[_0xf76886(0x203)]=null),this[_0xf76886(0x246)]){const _0x215959=this['_deflate'][_0x560572];this[_0xf76886(0x246)][_0xf76886(0x15c)](),this[_0xf76886(0x246)]=null,_0x215959&&_0x215959(new Error(_0xf76886(0x233)));}}[_0x50ebd6(0x28d)](_0x15e7b6){const _0x120cfa=_0x50ebd6,_0xa06d3c=this[_0x120cfa(0x2d2)],_0x456764=_0x15e7b6['find'](_0x5edad0=>!(_0xa06d3c[_0x120cfa(0x2a6)]===!0x1&&_0x5edad0['server_no_context_takeover']||_0x5edad0[_0x120cfa(0x1cf)]&&(_0xa06d3c[_0x120cfa(0x1f1)]===!0x1||typeof _0xa06d3c[_0x120cfa(0x1f1)]==_0x120cfa(0x2bd)&&_0xa06d3c[_0x120cfa(0x1f1)]>_0x5edad0['server_max_window_bits'])||typeof _0xa06d3c['clientMaxWindowBits']==_0x120cfa(0x2bd)&&!_0x5edad0[_0x120cfa(0x277)]));if(!_0x456764)throw new Error(_0x120cfa(0x149));return _0xa06d3c[_0x120cfa(0x2a6)]&&(_0x456764[_0x120cfa(0x238)]=!0x0),_0xa06d3c[_0x120cfa(0x1d4)]&&(_0x456764['client_no_context_takeover']=!0x0),typeof _0xa06d3c[_0x120cfa(0x1f1)]=='number'&&(_0x456764[_0x120cfa(0x1cf)]=_0xa06d3c[_0x120cfa(0x1f1)]),typeof _0xa06d3c[_0x120cfa(0x1d0)]==_0x120cfa(0x2bd)?_0x456764[_0x120cfa(0x277)]=_0xa06d3c[_0x120cfa(0x1d0)]:(_0x456764['client_max_window_bits']===!0x0||_0xa06d3c[_0x120cfa(0x1d0)]===!0x1)&&delete _0x456764['client_max_window_bits'],_0x456764;}[_0x50ebd6(0x2f6)](_0x3aca61){const _0x28c82c=_0x50ebd6,_0x1766e1=_0x3aca61[0x0];if(this[_0x28c82c(0x2d2)][_0x28c82c(0x1d4)]===!0x1&&_0x1766e1[_0x28c82c(0x257)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x1766e1[_0x28c82c(0x277)])typeof this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]==_0x28c82c(0x2bd)&&(_0x1766e1[_0x28c82c(0x277)]=this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]);else{if(this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]===!0x1||typeof this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)]==_0x28c82c(0x2bd)&&_0x1766e1[_0x28c82c(0x277)]>this[_0x28c82c(0x2d2)][_0x28c82c(0x1d0)])throw new Error(_0x28c82c(0x295));}return _0x1766e1;}[_0x50ebd6(0x135)](_0x30581a){const _0x1959d1=_0x50ebd6;return _0x30581a[_0x1959d1(0x2d6)](_0x1cf191=>{const _0x2befcc=_0x1959d1;Object['keys'](_0x1cf191)[_0x2befcc(0x2d6)](_0x48efd5=>{const _0x1ea61a=_0x2befcc;let _0x113ad7=_0x1cf191[_0x48efd5];if(_0x113ad7[_0x1ea61a(0x21e)]>0x1)throw new Error(_0x1ea61a(0x24c)+_0x48efd5+_0x1ea61a(0x2e3));if(_0x113ad7=_0x113ad7[0x0],_0x48efd5===_0x1ea61a(0x277)){if(_0x113ad7!==!0x0){const _0x3f57af=+_0x113ad7;if(!Number['isInteger'](_0x3f57af)||_0x3f57af<0x8||_0x3f57af>0xf)throw new TypeError(_0x1ea61a(0x2be)+_0x48efd5+'\x22:\x20'+_0x113ad7);_0x113ad7=_0x3f57af;}else{if(!this[_0x1ea61a(0x14c)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);}}else{if(_0x48efd5===_0x1ea61a(0x1cf)){const _0x13e28c=+_0x113ad7;if(!Number[_0x1ea61a(0x28c)](_0x13e28c)||_0x13e28c<0x8||_0x13e28c>0xf)throw new TypeError(_0x1ea61a(0x2be)+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);_0x113ad7=_0x13e28c;}else{if(_0x48efd5==='client_no_context_takeover'||_0x48efd5===_0x1ea61a(0x238)){if(_0x113ad7!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x48efd5+_0x1ea61a(0x2f2)+_0x113ad7);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x48efd5+'\x22');}}_0x1cf191[_0x48efd5]=_0x113ad7;});}),_0x30581a;}[_0x50ebd6(0x260)](_0x265a8a,_0x47cea1,_0x335fec){const _0x58651f=_0x50ebd6;_0x219b85[_0x58651f(0x266)](_0x558487=>{const _0x17ba58=_0x58651f;this[_0x17ba58(0x1c7)](_0x265a8a,_0x47cea1,(_0x16db76,_0x17130a)=>{_0x558487(),_0x335fec(_0x16db76,_0x17130a);});});}[_0x50ebd6(0x239)](_0x2bb08b,_0x330e0f,_0x2492a3){const _0x2acbb0=_0x50ebd6;_0x219b85[_0x2acbb0(0x266)](_0x43a6af=>{this['_compress'](_0x2bb08b,_0x330e0f,(_0x215421,_0x4cb4ff)=>{_0x43a6af(),_0x2492a3(_0x215421,_0x4cb4ff);});});}[_0x50ebd6(0x1c7)](_0x21acfc,_0x1044eb,_0x1238ee){const _0x10283f=_0x50ebd6,_0x54fd05=this[_0x10283f(0x14c)]?_0x10283f(0x15e):'server';if(!this[_0x10283f(0x203)]){const _0x4d33e9=_0x54fd05+_0x10283f(0x2bf),_0x2a3041=typeof this[_0x10283f(0x287)][_0x4d33e9]!=_0x10283f(0x2bd)?_0x274861[_0x10283f(0x14f)]:this[_0x10283f(0x287)][_0x4d33e9];this[_0x10283f(0x203)]=_0x274861[_0x10283f(0x200)]({...this[_0x10283f(0x2d2)][_0x10283f(0x2ad)],'windowBits':_0x2a3041}),this[_0x10283f(0x203)][_0x7fcda]=this,this[_0x10283f(0x203)][_0x72a99e]=0x0,this[_0x10283f(0x203)][_0x55f9fa]=[],this[_0x10283f(0x203)]['on'](_0x10283f(0x182),_0x282b65),this[_0x10283f(0x203)]['on'](_0x10283f(0x1a6),_0x4e4888);}this['_inflate'][_0x560572]=_0x1238ee,this[_0x10283f(0x203)][_0x10283f(0x160)](_0x21acfc),_0x1044eb&&this[_0x10283f(0x203)][_0x10283f(0x160)](_0x614e3f),this[_0x10283f(0x203)]['flush'](()=>{const _0x58fdac=_0x10283f,_0x460f35=this[_0x58fdac(0x203)][_0x3111d7];if(_0x460f35){this['_inflate'][_0x58fdac(0x15c)](),this[_0x58fdac(0x203)]=null,_0x1238ee(_0x460f35);return;}const _0x3454b3=_0x4af953[_0x58fdac(0x1db)](this[_0x58fdac(0x203)][_0x55f9fa],this[_0x58fdac(0x203)][_0x72a99e]);this[_0x58fdac(0x203)][_0x58fdac(0x181)]['endEmitted']?(this[_0x58fdac(0x203)][_0x58fdac(0x15c)](),this['_inflate']=null):(this[_0x58fdac(0x203)][_0x72a99e]=0x0,this['_inflate'][_0x55f9fa]=[],_0x1044eb&&this[_0x58fdac(0x287)][_0x54fd05+_0x58fdac(0x29c)]&&this[_0x58fdac(0x203)][_0x58fdac(0x197)]()),_0x1238ee(null,_0x3454b3);});}[_0x50ebd6(0x2da)](_0x37135b,_0x5d6ab6,_0xdbc6d9){const _0x186cf5=_0x50ebd6,_0x35c396=this['_isServer']?'server':_0x186cf5(0x15e);if(!this[_0x186cf5(0x246)]){const _0x29d48f=_0x35c396+_0x186cf5(0x2bf),_0x387ac1=typeof this['params'][_0x29d48f]!=_0x186cf5(0x2bd)?_0x274861['Z_DEFAULT_WINDOWBITS']:this[_0x186cf5(0x287)][_0x29d48f];this[_0x186cf5(0x246)]=_0x274861[_0x186cf5(0x1bd)]({...this[_0x186cf5(0x2d2)]['zlibDeflateOptions'],'windowBits':_0x387ac1}),this[_0x186cf5(0x246)][_0x72a99e]=0x0,this['_deflate'][_0x55f9fa]=[],this['_deflate']['on']('data',_0x1e78c8);}this[_0x186cf5(0x246)][_0x560572]=_0xdbc6d9,this[_0x186cf5(0x246)][_0x186cf5(0x160)](_0x37135b),this[_0x186cf5(0x246)][_0x186cf5(0x28b)](_0x274861[_0x186cf5(0x23e)],()=>{const _0x20bdf6=_0x186cf5;if(!this['_deflate'])return;let _0x2154d4=_0x4af953[_0x20bdf6(0x1db)](this[_0x20bdf6(0x246)][_0x55f9fa],this[_0x20bdf6(0x246)][_0x72a99e]);_0x5d6ab6&&(_0x2154d4=new _0x78bca4(_0x2154d4['buffer'],_0x2154d4[_0x20bdf6(0x24e)],_0x2154d4['length']-0x4)),this[_0x20bdf6(0x246)][_0x560572]=null,this['_deflate'][_0x72a99e]=0x0,this['_deflate'][_0x55f9fa]=[],_0x5d6ab6&&this[_0x20bdf6(0x287)][_0x35c396+'_no_context_takeover']&&this[_0x20bdf6(0x246)][_0x20bdf6(0x197)](),_0xdbc6d9(null,_0x2154d4);});}}ve=_0x107538;function _0x1e78c8(_0x1edb49){const _0x5aa67a=_0x50ebd6;this[_0x55f9fa][_0x5aa67a(0x23b)](_0x1edb49),this[_0x72a99e]+=_0x1edb49[_0x5aa67a(0x21e)];}function _0x4e4888(_0x37adea){const _0x3898ad=_0x50ebd6;if(this[_0x72a99e]+=_0x37adea[_0x3898ad(0x21e)],this[_0x7fcda][_0x3898ad(0x259)]<0x1||this[_0x72a99e]<=this[_0x7fcda][_0x3898ad(0x259)]){this[_0x55f9fa][_0x3898ad(0x23b)](_0x37adea);return;}this[_0x3111d7]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3111d7][_0x3898ad(0x2f0)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3111d7][_0x5804ac]=0x3f1,this[_0x3898ad(0x133)](_0x3898ad(0x1a6),_0x4e4888),this['reset']();}function _0x282b65(_0x18e726){const _0x3281c5=_0x50ebd6;this[_0x7fcda][_0x3281c5(0x203)]=null,_0x18e726[_0x5804ac]=0x3ef,this[_0x560572](_0x18e726);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x256248(0x189)](Object[_0x256248(0x269)]({'__proto__':null,'default':Dt},Symbol[_0x256248(0x137)],{'value':_0x256248(0x151)})),Bt=at(Rt);var Ye;function ae(){const _0x452414=_0x256248;if(Ye)return ie[_0x452414(0x274)];Ye=0x1;const {isUtf8:_0x410401}=wt,{hasBlob:_0x4238e3}=H(),_0x4e703d=[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 _0x2d7cf0(_0x896545){return _0x896545>=0x3e8&&_0x896545<=0x3f6&&_0x896545!==0x3ec&&_0x896545!==0x3ed&&_0x896545!==0x3ee||_0x896545>=0xbb8&&_0x896545<=0x1387;}function _0x24e3b9(_0x19468c){const _0x25c1ea=_0x19468c['length'];let _0x482ec0=0x0;for(;_0x482ec0<_0x25c1ea;)if((_0x19468c[_0x482ec0]&0x80)===0x0)_0x482ec0++;else{if((_0x19468c[_0x482ec0]&0xe0)===0xc0){if(_0x482ec0+0x1===_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0]&0xfe)===0xc0)return!0x1;_0x482ec0+=0x2;}else{if((_0x19468c[_0x482ec0]&0xf0)===0xe0){if(_0x482ec0+0x2>=_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x2]&0xc0)!==0x80||_0x19468c[_0x482ec0]===0xe0&&(_0x19468c[_0x482ec0+0x1]&0xe0)===0x80||_0x19468c[_0x482ec0]===0xed&&(_0x19468c[_0x482ec0+0x1]&0xe0)===0xa0)return!0x1;_0x482ec0+=0x3;}else{if((_0x19468c[_0x482ec0]&0xf8)===0xf0){if(_0x482ec0+0x3>=_0x25c1ea||(_0x19468c[_0x482ec0+0x1]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x2]&0xc0)!==0x80||(_0x19468c[_0x482ec0+0x3]&0xc0)!==0x80||_0x19468c[_0x482ec0]===0xf0&&(_0x19468c[_0x482ec0+0x1]&0xf0)===0x80||_0x19468c[_0x482ec0]===0xf4&&_0x19468c[_0x482ec0+0x1]>0x8f||_0x19468c[_0x482ec0]>0xf4)return!0x1;_0x482ec0+=0x4;}else return!0x1;}}}return!0x0;}function _0x23ee0e(_0x12e3ad){const _0x4200f2=_0x452414;return _0x4238e3&&typeof _0x12e3ad==_0x4200f2(0x12d)&&typeof _0x12e3ad[_0x4200f2(0x190)]==_0x4200f2(0x240)&&typeof _0x12e3ad['type']==_0x4200f2(0x281)&&typeof _0x12e3ad[_0x4200f2(0x1f9)]==_0x4200f2(0x240)&&(_0x12e3ad[Symbol[_0x4200f2(0x137)]]===_0x4200f2(0x1f0)||_0x12e3ad[Symbol[_0x4200f2(0x137)]]===_0x4200f2(0x13b));}if(ie['exports']={'isBlob':_0x23ee0e,'isValidStatusCode':_0x2d7cf0,'isValidUTF8':_0x24e3b9,'tokenChars':_0x4e703d},_0x410401)ie['exports'][_0x452414(0x14b)]=function(_0x2b65d){const _0x1d0bd6=_0x452414;return _0x2b65d[_0x1d0bd6(0x21e)]<0x18?_0x24e3b9(_0x2b65d):_0x410401(_0x2b65d);};else{if(!process[_0x452414(0x1ec)]['WS_NO_UTF_8_VALIDATE'])try{const _0x33693a=Bt;ie['exports'][_0x452414(0x14b)]=function(_0x5b24ec){const _0x4bfab7=_0x452414;return _0x5b24ec[_0x4bfab7(0x21e)]<0x20?_0x24e3b9(_0x5b24ec):_0x33693a(_0x5b24ec);};}catch{}}return ie[_0x452414(0x274)];}var Se,Ke;function lt(){const _0x467093=_0x256248;if(Ke)return Se;Ke=0x1;const {Writable:_0x31b4a8}=oe,_0x35f7b4=he(),{BINARY_TYPES:_0x322fe9,EMPTY_BUFFER:_0x127ec1,kStatusCode:_0x375aa9,kWebSocket:_0x3ac6ea}=H(),{concat:_0x3bb535,toArrayBuffer:_0x4fa2d6,unmask:_0xcb3723}=ce(),{isValidStatusCode:_0x74f74a,isValidUTF8:_0x235d7a}=ae(),_0x35ec24=Buffer[Symbol[_0x467093(0x1a5)]],_0x3e2e0e=0x0,_0x2b1f7c=0x1,_0x3401a5=0x2,_0x5d9e15=0x3,_0x2fac7a=0x4,_0x5149c9=0x5,_0x22e3c8=0x6;class _0x13820b extends _0x31b4a8{constructor(_0x45a571={}){const _0x5839fb=_0x467093;super(),this[_0x5839fb(0x18c)]=_0x45a571[_0x5839fb(0x228)]!==void 0x0?_0x45a571[_0x5839fb(0x228)]:!0x0,this[_0x5839fb(0x199)]=_0x45a571[_0x5839fb(0x16e)]||_0x322fe9[0x0],this[_0x5839fb(0x293)]=_0x45a571[_0x5839fb(0x17b)]||{},this[_0x5839fb(0x14c)]=!!_0x45a571['isServer'],this[_0x5839fb(0x259)]=_0x45a571['maxPayload']|0x0,this[_0x5839fb(0x244)]=!!_0x45a571['skipUTF8Validation'],this[_0x3ac6ea]=void 0x0,this[_0x5839fb(0x291)]=0x0,this[_0x5839fb(0x2cd)]=[],this[_0x5839fb(0x2a7)]=!0x1,this[_0x5839fb(0x1c6)]=0x0,this[_0x5839fb(0x1df)]=void 0x0,this[_0x5839fb(0x290)]=0x0,this[_0x5839fb(0x17c)]=!0x1,this[_0x5839fb(0x186)]=!0x1,this[_0x5839fb(0x14a)]=0x0,this[_0x5839fb(0x24b)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x5839fb(0x1c8)]=!0x1,this[_0x5839fb(0x2ab)]=!0x1,this[_0x5839fb(0x17a)]=_0x3e2e0e;}[_0x467093(0x1b8)](_0x11fb43,_0x3d0a88,_0x4d54da){const _0x2e154c=_0x467093;if(this[_0x2e154c(0x14a)]===0x8&&this['_state']==_0x3e2e0e)return _0x4d54da();this[_0x2e154c(0x291)]+=_0x11fb43[_0x2e154c(0x21e)],this[_0x2e154c(0x2cd)]['push'](_0x11fb43),this[_0x2e154c(0x205)](_0x4d54da);}[_0x467093(0x166)](_0x18ee04){const _0x523f13=_0x467093;if(this[_0x523f13(0x291)]-=_0x18ee04,_0x18ee04===this[_0x523f13(0x2cd)][0x0]['length'])return this[_0x523f13(0x2cd)][_0x523f13(0x184)]();if(_0x18ee04<this['_buffers'][0x0][_0x523f13(0x21e)]){const _0x45c0f8=this[_0x523f13(0x2cd)][0x0];return this[_0x523f13(0x2cd)][0x0]=new _0x35ec24(_0x45c0f8[_0x523f13(0x167)],_0x45c0f8['byteOffset']+_0x18ee04,_0x45c0f8[_0x523f13(0x21e)]-_0x18ee04),new _0x35ec24(_0x45c0f8[_0x523f13(0x167)],_0x45c0f8[_0x523f13(0x24e)],_0x18ee04);}const _0x4c2cba=Buffer[_0x523f13(0x1a3)](_0x18ee04);do{const _0x3908f1=this[_0x523f13(0x2cd)][0x0],_0x17ca89=_0x4c2cba[_0x523f13(0x21e)]-_0x18ee04;_0x18ee04>=_0x3908f1[_0x523f13(0x21e)]?_0x4c2cba[_0x523f13(0x1ea)](this[_0x523f13(0x2cd)][_0x523f13(0x184)](),_0x17ca89):(_0x4c2cba['set'](new Uint8Array(_0x3908f1[_0x523f13(0x167)],_0x3908f1['byteOffset'],_0x18ee04),_0x17ca89),this['_buffers'][0x0]=new _0x35ec24(_0x3908f1[_0x523f13(0x167)],_0x3908f1[_0x523f13(0x24e)]+_0x18ee04,_0x3908f1[_0x523f13(0x21e)]-_0x18ee04)),_0x18ee04-=_0x3908f1[_0x523f13(0x21e)];}while(_0x18ee04>0x0);return _0x4c2cba;}[_0x467093(0x205)](_0x118d28){const _0xead6b1=_0x467093;this[_0xead6b1(0x2ab)]=!0x0;do switch(this[_0xead6b1(0x17a)]){case _0x3e2e0e:this[_0xead6b1(0x178)](_0x118d28);break;case _0x2b1f7c:this[_0xead6b1(0x17d)](_0x118d28);break;case _0x3401a5:this[_0xead6b1(0x191)](_0x118d28);break;case _0x5d9e15:this['getMask']();break;case _0x2fac7a:this['getData'](_0x118d28);break;case _0x5149c9:case _0x22e3c8:this['_loop']=!0x1;return;}while(this[_0xead6b1(0x2ab)]);this[_0xead6b1(0x1c8)]||_0x118d28();}[_0x467093(0x178)](_0x331e10){const _0x192825=_0x467093;if(this[_0x192825(0x291)]<0x2){this[_0x192825(0x2ab)]=!0x1;return;}const _0x4c43a8=this[_0x192825(0x166)](0x2);if((_0x4c43a8[0x0]&0x30)!==0x0){const _0xe72117=this[_0x192825(0x22f)](RangeError,_0x192825(0x237),!0x0,0x3ea,_0x192825(0x1b5));_0x331e10(_0xe72117);return;}const _0x282c50=(_0x4c43a8[0x0]&0x40)===0x40;if(_0x282c50&&!this[_0x192825(0x293)][_0x35f7b4[_0x192825(0x1d5)]]){const _0xff56aa=this[_0x192825(0x22f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0xff56aa);return;}if(this[_0x192825(0x186)]=(_0x4c43a8[0x0]&0x80)===0x80,this['_opcode']=_0x4c43a8[0x0]&0xf,this[_0x192825(0x1c6)]=_0x4c43a8[0x1]&0x7f,this[_0x192825(0x14a)]===0x0){if(_0x282c50){const _0x3d31f7=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0x3d31f7);return;}if(!this['_fragmented']){const _0x1ed748=this['createError'](RangeError,_0x192825(0x193),!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0x1ed748);return;}this['_opcode']=this[_0x192825(0x290)];}else{if(this[_0x192825(0x14a)]===0x1||this[_0x192825(0x14a)]===0x2){if(this['_fragmented']){const _0x1a1b41=this[_0x192825(0x22f)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0x1a1b41);return;}this['_compressed']=_0x282c50;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x192825(0x186)]){const _0x30599d=this[_0x192825(0x22f)](RangeError,_0x192825(0x179),!0x0,0x3ea,_0x192825(0x1ba));_0x331e10(_0x30599d);return;}if(_0x282c50){const _0x5b97dd=this['createError'](RangeError,_0x192825(0x174),!0x0,0x3ea,_0x192825(0x1fb));_0x331e10(_0x5b97dd);return;}if(this[_0x192825(0x1c6)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x579380=this['createError'](RangeError,_0x192825(0x2d8)+this[_0x192825(0x1c6)],!0x0,0x3ea,_0x192825(0x254));_0x331e10(_0x579380);return;}}else{const _0xf9254f=this[_0x192825(0x22f)](RangeError,_0x192825(0x26f)+this[_0x192825(0x14a)],!0x0,0x3ea,_0x192825(0x2ed));_0x331e10(_0xf9254f);return;}}}if(!this[_0x192825(0x186)]&&!this[_0x192825(0x290)]&&(this[_0x192825(0x290)]=this[_0x192825(0x14a)]),this['_masked']=(_0x4c43a8[0x1]&0x80)===0x80,this[_0x192825(0x14c)]){if(!this[_0x192825(0x17c)]){const _0x1cb54a=this[_0x192825(0x22f)](RangeError,_0x192825(0x1f8),!0x0,0x3ea,_0x192825(0x2a3));_0x331e10(_0x1cb54a);return;}}else{if(this['_masked']){const _0x3c75eb=this[_0x192825(0x22f)](RangeError,_0x192825(0x20e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x331e10(_0x3c75eb);return;}}this['_payloadLength']===0x7e?this[_0x192825(0x17a)]=_0x2b1f7c:this[_0x192825(0x1c6)]===0x7f?this[_0x192825(0x17a)]=_0x3401a5:this[_0x192825(0x2b6)](_0x331e10);}[_0x467093(0x17d)](_0x4b3bc2){const _0x49a99f=_0x467093;if(this[_0x49a99f(0x291)]<0x2){this[_0x49a99f(0x2ab)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x49a99f(0x225)](0x0),this[_0x49a99f(0x2b6)](_0x4b3bc2);}[_0x467093(0x191)](_0xfc9fee){const _0xe1ffc5=_0x467093;if(this[_0xe1ffc5(0x291)]<0x8){this[_0xe1ffc5(0x2ab)]=!0x1;return;}const _0x4abfe4=this[_0xe1ffc5(0x166)](0x8),_0x118ca2=_0x4abfe4[_0xe1ffc5(0x2b5)](0x0);if(_0x118ca2>Math[_0xe1ffc5(0x1f3)](0x2,0x15)-0x1){const _0x3a1d59=this['createError'](RangeError,_0xe1ffc5(0x13f),!0x1,0x3f1,_0xe1ffc5(0x222));_0xfc9fee(_0x3a1d59);return;}this[_0xe1ffc5(0x1c6)]=_0x118ca2*Math[_0xe1ffc5(0x1f3)](0x2,0x20)+_0x4abfe4[_0xe1ffc5(0x2b5)](0x4),this[_0xe1ffc5(0x2b6)](_0xfc9fee);}['haveLength'](_0x5cb65a){const _0x2e99c4=_0x467093;if(this['_payloadLength']&&this[_0x2e99c4(0x14a)]<0x8&&(this[_0x2e99c4(0x24b)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x2e99c4(0x259)]&&this['_maxPayload']>0x0)){const _0x3a084a=this[_0x2e99c4(0x22f)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2e99c4(0x29a));_0x5cb65a(_0x3a084a);return;}this['_masked']?this[_0x2e99c4(0x17a)]=_0x5d9e15:this[_0x2e99c4(0x17a)]=_0x2fac7a;}[_0x467093(0x19d)](){const _0x3c581e=_0x467093;if(this[_0x3c581e(0x291)]<0x4){this[_0x3c581e(0x2ab)]=!0x1;return;}this[_0x3c581e(0x1df)]=this[_0x3c581e(0x166)](0x4),this[_0x3c581e(0x17a)]=_0x2fac7a;}['getData'](_0x1a3edd){const _0x535236=_0x467093;let _0x312740=_0x127ec1;if(this[_0x535236(0x1c6)]){if(this[_0x535236(0x291)]<this['_payloadLength']){this[_0x535236(0x2ab)]=!0x1;return;}_0x312740=this['consume'](this[_0x535236(0x1c6)]),this[_0x535236(0x17c)]&&(this[_0x535236(0x1df)][0x0]|this[_0x535236(0x1df)][0x1]|this['_mask'][0x2]|this[_0x535236(0x1df)][0x3])!==0x0&&_0xcb3723(_0x312740,this[_0x535236(0x1df)]);}if(this[_0x535236(0x14a)]>0x7){this[_0x535236(0x1cb)](_0x312740,_0x1a3edd);return;}if(this['_compressed']){this[_0x535236(0x17a)]=_0x5149c9,this[_0x535236(0x260)](_0x312740,_0x1a3edd);return;}_0x312740[_0x535236(0x21e)]&&(this[_0x535236(0x2f7)]=this[_0x535236(0x24b)],this[_0x535236(0x1e2)][_0x535236(0x23b)](_0x312740)),this[_0x535236(0x26c)](_0x1a3edd);}[_0x467093(0x260)](_0x5232ba,_0x5cebaf){const _0x91e9ea=_0x467093;this['_extensions'][_0x35f7b4[_0x91e9ea(0x1d5)]]['decompress'](_0x5232ba,this[_0x91e9ea(0x186)],(_0x547a60,_0x45300f)=>{const _0x3d78c9=_0x91e9ea;if(_0x547a60)return _0x5cebaf(_0x547a60);if(_0x45300f[_0x3d78c9(0x21e)]){if(this[_0x3d78c9(0x2f7)]+=_0x45300f[_0x3d78c9(0x21e)],this[_0x3d78c9(0x2f7)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x26542e=this[_0x3d78c9(0x22f)](RangeError,_0x3d78c9(0x215),!0x1,0x3f1,_0x3d78c9(0x29a));_0x5cebaf(_0x26542e);return;}this[_0x3d78c9(0x1e2)][_0x3d78c9(0x23b)](_0x45300f);}this[_0x3d78c9(0x26c)](_0x5cebaf),this[_0x3d78c9(0x17a)]===_0x3e2e0e&&this[_0x3d78c9(0x205)](_0x5cebaf);});}[_0x467093(0x26c)](_0x450243){const _0x519b6b=_0x467093;if(!this[_0x519b6b(0x186)]){this[_0x519b6b(0x17a)]=_0x3e2e0e;return;}const _0x2253aa=this[_0x519b6b(0x2f7)],_0x575ec2=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x519b6b(0x290)]=0x0,this[_0x519b6b(0x1e2)]=[],this[_0x519b6b(0x14a)]===0x2){let _0x302d63;this[_0x519b6b(0x199)]===_0x519b6b(0x157)?_0x302d63=_0x3bb535(_0x575ec2,_0x2253aa):this[_0x519b6b(0x199)]==='arraybuffer'?_0x302d63=_0x4fa2d6(_0x3bb535(_0x575ec2,_0x2253aa)):this[_0x519b6b(0x199)]===_0x519b6b(0x25d)?_0x302d63=new Blob(_0x575ec2):_0x302d63=_0x575ec2,this[_0x519b6b(0x18c)]?(this[_0x519b6b(0x273)](_0x519b6b(0x138),_0x302d63,!0x0),this['_state']=_0x3e2e0e):(this[_0x519b6b(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x23e228=_0x519b6b;this[_0x23e228(0x273)](_0x23e228(0x138),_0x302d63,!0x0),this['_state']=_0x3e2e0e,this[_0x23e228(0x205)](_0x450243);}));}else{const _0x1ce70e=_0x3bb535(_0x575ec2,_0x2253aa);if(!this[_0x519b6b(0x244)]&&!_0x235d7a(_0x1ce70e)){const _0x4a69a9=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x519b6b(0x14e));_0x450243(_0x4a69a9);return;}this['_state']===_0x5149c9||this[_0x519b6b(0x18c)]?(this[_0x519b6b(0x273)](_0x519b6b(0x138),_0x1ce70e,!0x1),this[_0x519b6b(0x17a)]=_0x3e2e0e):(this[_0x519b6b(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x4250ea=_0x519b6b;this['emit'](_0x4250ea(0x138),_0x1ce70e,!0x1),this['_state']=_0x3e2e0e,this[_0x4250ea(0x205)](_0x450243);}));}}[_0x467093(0x1cb)](_0x1fc2b2,_0x545914){const _0x161e82=_0x467093;if(this[_0x161e82(0x14a)]===0x8){if(_0x1fc2b2[_0x161e82(0x21e)]===0x0)this[_0x161e82(0x2ab)]=!0x1,this[_0x161e82(0x273)](_0x161e82(0x1fc),0x3ed,_0x127ec1),this['end']();else{const _0x32fb3f=_0x1fc2b2[_0x161e82(0x225)](0x0);if(!_0x74f74a(_0x32fb3f)){const _0x42931d=this[_0x161e82(0x22f)](RangeError,'invalid\x20status\x20code\x20'+_0x32fb3f,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x545914(_0x42931d);return;}const _0x501050=new _0x35ec24(_0x1fc2b2[_0x161e82(0x167)],_0x1fc2b2[_0x161e82(0x24e)]+0x2,_0x1fc2b2[_0x161e82(0x21e)]-0x2);if(!this[_0x161e82(0x244)]&&!_0x235d7a(_0x501050)){const _0x716532=this[_0x161e82(0x22f)](Error,_0x161e82(0x294),!0x0,0x3ef,_0x161e82(0x14e));_0x545914(_0x716532);return;}this['_loop']=!0x1,this[_0x161e82(0x273)](_0x161e82(0x1fc),_0x32fb3f,_0x501050),this[_0x161e82(0x143)]();}this[_0x161e82(0x17a)]=_0x3e2e0e;return;}this[_0x161e82(0x18c)]?(this[_0x161e82(0x273)](this[_0x161e82(0x14a)]===0x9?_0x161e82(0x2cc):'pong',_0x1fc2b2),this[_0x161e82(0x17a)]=_0x3e2e0e):(this[_0x161e82(0x17a)]=_0x22e3c8,setImmediate(()=>{const _0x475d9c=_0x161e82;this[_0x475d9c(0x273)](this[_0x475d9c(0x14a)]===0x9?_0x475d9c(0x2cc):_0x475d9c(0x223),_0x1fc2b2),this[_0x475d9c(0x17a)]=_0x3e2e0e,this[_0x475d9c(0x205)](_0x545914);}));}['createError'](_0x4bd19e,_0x5d291e,_0x19d87e,_0x45b389,_0x1acabe){const _0xcca9cd=_0x467093;this[_0xcca9cd(0x2ab)]=!0x1,this[_0xcca9cd(0x1c8)]=!0x0;const _0x57742b=new _0x4bd19e(_0x19d87e?_0xcca9cd(0x13a)+_0x5d291e:_0x5d291e);return Error['captureStackTrace'](_0x57742b,this[_0xcca9cd(0x22f)]),_0x57742b[_0xcca9cd(0x2f0)]=_0x1acabe,_0x57742b[_0x375aa9]=_0x45b389,_0x57742b;}}return Se=_0x13820b,Se;}var Ee,Xe;function ft(){const _0x14f199=_0x256248;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x341a91}=oe,{randomFillSync:_0x3407b4}=Le,_0x465999=he(),{EMPTY_BUFFER:_0x2f7240,kWebSocket:_0x30d4cb,NOOP:_0xd044e4}=H(),{isBlob:_0xdacc5,isValidStatusCode:_0x55bb78}=ae(),{mask:_0x1f8419,toBuffer:_0x19bd9b}=ce(),_0x4f9c76=Symbol(_0x14f199(0x136)),_0x7c3c68=Buffer[_0x14f199(0x27a)](0x4),_0x45ef95=0x8*0x400;let _0xb7f647,_0xa93fb1=_0x45ef95;const _0x1f0b7f=0x0,_0x318135=0x1,_0xc6d0e8=0x2;class _0x48ff2f{constructor(_0x52019a,_0x388b27,_0x394427){const _0x32388e=_0x14f199;this[_0x32388e(0x293)]=_0x388b27||{},_0x394427&&(this[_0x32388e(0x13e)]=_0x394427,this['_maskBuffer']=Buffer[_0x32388e(0x27a)](0x4)),this[_0x32388e(0x198)]=_0x52019a,this['_firstFragment']=!0x0,this[_0x32388e(0x2da)]=!0x1,this[_0x32388e(0x291)]=0x0,this[_0x32388e(0x16c)]=[],this['_state']=_0x1f0b7f,this[_0x32388e(0x297)]=_0xd044e4,this[_0x30d4cb]=void 0x0;}static['frame'](_0x3e0274,_0x3ceba7){const _0x303312=_0x14f199;let _0x175953,_0x371013=!0x1,_0x2729ea=0x2,_0xdbe63f=!0x1;_0x3ceba7['mask']&&(_0x175953=_0x3ceba7['maskBuffer']||_0x7c3c68,_0x3ceba7['generateMask']?_0x3ceba7[_0x303312(0x28a)](_0x175953):(_0xa93fb1===_0x45ef95&&(_0xb7f647===void 0x0&&(_0xb7f647=Buffer[_0x303312(0x27a)](_0x45ef95)),_0x3407b4(_0xb7f647,0x0,_0x45ef95),_0xa93fb1=0x0),_0x175953[0x0]=_0xb7f647[_0xa93fb1++],_0x175953[0x1]=_0xb7f647[_0xa93fb1++],_0x175953[0x2]=_0xb7f647[_0xa93fb1++],_0x175953[0x3]=_0xb7f647[_0xa93fb1++]),_0xdbe63f=(_0x175953[0x0]|_0x175953[0x1]|_0x175953[0x2]|_0x175953[0x3])===0x0,_0x2729ea=0x6);let _0x26b2bc;typeof _0x3e0274==_0x303312(0x281)?(!_0x3ceba7[_0x303312(0x129)]||_0xdbe63f)&&_0x3ceba7[_0x4f9c76]!==void 0x0?_0x26b2bc=_0x3ceba7[_0x4f9c76]:(_0x3e0274=Buffer[_0x303312(0x140)](_0x3e0274),_0x26b2bc=_0x3e0274['length']):(_0x26b2bc=_0x3e0274[_0x303312(0x21e)],_0x371013=_0x3ceba7[_0x303312(0x129)]&&_0x3ceba7[_0x303312(0x13c)]&&!_0xdbe63f);let _0x90cd7c=_0x26b2bc;_0x26b2bc>=0x10000?(_0x2729ea+=0x8,_0x90cd7c=0x7f):_0x26b2bc>0x7d&&(_0x2729ea+=0x2,_0x90cd7c=0x7e);const _0xdef187=Buffer[_0x303312(0x1a3)](_0x371013?_0x26b2bc+_0x2729ea:_0x2729ea);return _0xdef187[0x0]=_0x3ceba7[_0x303312(0x1c0)]?_0x3ceba7[_0x303312(0x131)]|0x80:_0x3ceba7[_0x303312(0x131)],_0x3ceba7[_0x303312(0x132)]&&(_0xdef187[0x0]|=0x40),_0xdef187[0x1]=_0x90cd7c,_0x90cd7c===0x7e?_0xdef187[_0x303312(0x1e7)](_0x26b2bc,0x2):_0x90cd7c===0x7f&&(_0xdef187[0x2]=_0xdef187[0x3]=0x0,_0xdef187[_0x303312(0x15b)](_0x26b2bc,0x4,0x6)),_0x3ceba7[_0x303312(0x129)]?(_0xdef187[0x1]|=0x80,_0xdef187[_0x2729ea-0x4]=_0x175953[0x0],_0xdef187[_0x2729ea-0x3]=_0x175953[0x1],_0xdef187[_0x2729ea-0x2]=_0x175953[0x2],_0xdef187[_0x2729ea-0x1]=_0x175953[0x3],_0xdbe63f?[_0xdef187,_0x3e0274]:_0x371013?(_0x1f8419(_0x3e0274,_0x175953,_0xdef187,_0x2729ea,_0x26b2bc),[_0xdef187]):(_0x1f8419(_0x3e0274,_0x175953,_0x3e0274,0x0,_0x26b2bc),[_0xdef187,_0x3e0274])):[_0xdef187,_0x3e0274];}['close'](_0x56fbd0,_0x4f1978,_0x56c5cb,_0x10535e){const _0xa7a4cc=_0x14f199;let _0x327ad6;if(_0x56fbd0===void 0x0)_0x327ad6=_0x2f7240;else{if(typeof _0x56fbd0!=_0xa7a4cc(0x2bd)||!_0x55bb78(_0x56fbd0))throw new TypeError(_0xa7a4cc(0x1cd));if(_0x4f1978===void 0x0||!_0x4f1978[_0xa7a4cc(0x21e)])_0x327ad6=Buffer[_0xa7a4cc(0x1a3)](0x2),_0x327ad6['writeUInt16BE'](_0x56fbd0,0x0);else{const _0x2f8d60=Buffer[_0xa7a4cc(0x218)](_0x4f1978);if(_0x2f8d60>0x7b)throw new RangeError(_0xa7a4cc(0x298));_0x327ad6=Buffer['allocUnsafe'](0x2+_0x2f8d60),_0x327ad6[_0xa7a4cc(0x1e7)](_0x56fbd0,0x0),typeof _0x4f1978==_0xa7a4cc(0x281)?_0x327ad6[_0xa7a4cc(0x160)](_0x4f1978,0x2):_0x327ad6[_0xa7a4cc(0x1ea)](_0x4f1978,0x2);}}const _0x913e35={[_0x4f9c76]:_0x327ad6['length'],'fin':!0x0,'generateMask':this[_0xa7a4cc(0x13e)],'mask':_0x56c5cb,'maskBuffer':this[_0xa7a4cc(0x213)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xa7a4cc(0x17a)]!==_0x1f0b7f?this[_0xa7a4cc(0x1dc)]([this[_0xa7a4cc(0x1dd)],_0x327ad6,!0x1,_0x913e35,_0x10535e]):this[_0xa7a4cc(0x2c2)](_0x48ff2f[_0xa7a4cc(0x1bc)](_0x327ad6,_0x913e35),_0x10535e);}[_0x14f199(0x2cc)](_0x25118f,_0x3ee5ef,_0x32a8c9){const _0x213e2a=_0x14f199;let _0x34d17e,_0x2cac87;if(typeof _0x25118f==_0x213e2a(0x281)?(_0x34d17e=Buffer[_0x213e2a(0x218)](_0x25118f),_0x2cac87=!0x1):_0xdacc5(_0x25118f)?(_0x34d17e=_0x25118f[_0x213e2a(0x219)],_0x2cac87=!0x1):(_0x25118f=_0x19bd9b(_0x25118f),_0x34d17e=_0x25118f['length'],_0x2cac87=_0x19bd9b['readOnly']),_0x34d17e>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x372f7a={[_0x4f9c76]:_0x34d17e,'fin':!0x0,'generateMask':this[_0x213e2a(0x13e)],'mask':_0x3ee5ef,'maskBuffer':this[_0x213e2a(0x213)],'opcode':0x9,'readOnly':_0x2cac87,'rsv1':!0x1};_0xdacc5(_0x25118f)?this[_0x213e2a(0x17a)]!==_0x1f0b7f?this[_0x213e2a(0x1dc)]([this['getBlobData'],_0x25118f,!0x1,_0x372f7a,_0x32a8c9]):this[_0x213e2a(0x134)](_0x25118f,!0x1,_0x372f7a,_0x32a8c9):this[_0x213e2a(0x17a)]!==_0x1f0b7f?this[_0x213e2a(0x1dc)]([this[_0x213e2a(0x1dd)],_0x25118f,!0x1,_0x372f7a,_0x32a8c9]):this[_0x213e2a(0x2c2)](_0x48ff2f[_0x213e2a(0x1bc)](_0x25118f,_0x372f7a),_0x32a8c9);}[_0x14f199(0x223)](_0x4738a5,_0x5f4b52,_0x5f236a){const _0x2b5025=_0x14f199;let _0x18f8f9,_0x80d6a9;if(typeof _0x4738a5==_0x2b5025(0x281)?(_0x18f8f9=Buffer[_0x2b5025(0x218)](_0x4738a5),_0x80d6a9=!0x1):_0xdacc5(_0x4738a5)?(_0x18f8f9=_0x4738a5[_0x2b5025(0x219)],_0x80d6a9=!0x1):(_0x4738a5=_0x19bd9b(_0x4738a5),_0x18f8f9=_0x4738a5[_0x2b5025(0x21e)],_0x80d6a9=_0x19bd9b[_0x2b5025(0x13c)]),_0x18f8f9>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2a9819={[_0x4f9c76]:_0x18f8f9,'fin':!0x0,'generateMask':this[_0x2b5025(0x13e)],'mask':_0x5f4b52,'maskBuffer':this[_0x2b5025(0x213)],'opcode':0xa,'readOnly':_0x80d6a9,'rsv1':!0x1};_0xdacc5(_0x4738a5)?this[_0x2b5025(0x17a)]!==_0x1f0b7f?this[_0x2b5025(0x1dc)]([this[_0x2b5025(0x134)],_0x4738a5,!0x1,_0x2a9819,_0x5f236a]):this[_0x2b5025(0x134)](_0x4738a5,!0x1,_0x2a9819,_0x5f236a):this['_state']!==_0x1f0b7f?this['enqueue']([this['dispatch'],_0x4738a5,!0x1,_0x2a9819,_0x5f236a]):this[_0x2b5025(0x2c2)](_0x48ff2f[_0x2b5025(0x1bc)](_0x4738a5,_0x2a9819),_0x5f236a);}['send'](_0x4d5c26,_0x344ea0,_0x1f41bd){const _0x56216b=_0x14f199,_0x17f0cd=this['_extensions'][_0x465999[_0x56216b(0x1d5)]];let _0x50838b=_0x344ea0['binary']?0x2:0x1,_0x2cb22a=_0x344ea0['compress'],_0x5a6097,_0xfe192d;typeof _0x4d5c26==_0x56216b(0x281)?(_0x5a6097=Buffer[_0x56216b(0x218)](_0x4d5c26),_0xfe192d=!0x1):_0xdacc5(_0x4d5c26)?(_0x5a6097=_0x4d5c26[_0x56216b(0x219)],_0xfe192d=!0x1):(_0x4d5c26=_0x19bd9b(_0x4d5c26),_0x5a6097=_0x4d5c26[_0x56216b(0x21e)],_0xfe192d=_0x19bd9b['readOnly']),this[_0x56216b(0x12c)]?(this[_0x56216b(0x12c)]=!0x1,_0x2cb22a&&_0x17f0cd&&_0x17f0cd['params'][_0x17f0cd[_0x56216b(0x14c)]?_0x56216b(0x238):'client_no_context_takeover']&&(_0x2cb22a=_0x5a6097>=_0x17f0cd[_0x56216b(0x152)]),this[_0x56216b(0x2da)]=_0x2cb22a):(_0x2cb22a=!0x1,_0x50838b=0x0),_0x344ea0[_0x56216b(0x1c0)]&&(this[_0x56216b(0x12c)]=!0x0);const _0x14d199={[_0x4f9c76]:_0x5a6097,'fin':_0x344ea0[_0x56216b(0x1c0)],'generateMask':this[_0x56216b(0x13e)],'mask':_0x344ea0[_0x56216b(0x129)],'maskBuffer':this[_0x56216b(0x213)],'opcode':_0x50838b,'readOnly':_0xfe192d,'rsv1':_0x2cb22a};_0xdacc5(_0x4d5c26)?this['_state']!==_0x1f0b7f?this['enqueue']([this[_0x56216b(0x134)],_0x4d5c26,this['_compress'],_0x14d199,_0x1f41bd]):this[_0x56216b(0x134)](_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd):this[_0x56216b(0x17a)]!==_0x1f0b7f?this[_0x56216b(0x1dc)]([this[_0x56216b(0x1dd)],_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd]):this['dispatch'](_0x4d5c26,this[_0x56216b(0x2da)],_0x14d199,_0x1f41bd);}['getBlobData'](_0xc428ee,_0x1e4b9c,_0x56865f,_0x4f92b4){const _0x1c7095=_0x14f199;this[_0x1c7095(0x291)]+=_0x56865f[_0x4f9c76],this[_0x1c7095(0x17a)]=_0xc6d0e8,_0xc428ee[_0x1c7095(0x190)]()['then'](_0x43d1b8=>{const _0x2325d=_0x1c7095;if(this[_0x2325d(0x198)][_0x2325d(0x212)]){const _0x396362=new Error(_0x2325d(0x17f));process[_0x2325d(0x1a4)](_0x4c70e9,this,_0x396362,_0x4f92b4);return;}this[_0x2325d(0x291)]-=_0x56865f[_0x4f9c76];const _0x39e17c=_0x19bd9b(_0x43d1b8);_0x1e4b9c?this[_0x2325d(0x1dd)](_0x39e17c,_0x1e4b9c,_0x56865f,_0x4f92b4):(this[_0x2325d(0x17a)]=_0x1f0b7f,this[_0x2325d(0x2c2)](_0x48ff2f['frame'](_0x39e17c,_0x56865f),_0x4f92b4),this['dequeue']());})[_0x1c7095(0x28e)](_0x6f4653=>{const _0x4a7dec=_0x1c7095;process[_0x4a7dec(0x1a4)](_0x4c26d4,this,_0x6f4653,_0x4f92b4);});}[_0x14f199(0x1dd)](_0x5944ee,_0x4129fe,_0x2f7a44,_0x332439){const _0x2eb58c=_0x14f199;if(!_0x4129fe){this[_0x2eb58c(0x2c2)](_0x48ff2f['frame'](_0x5944ee,_0x2f7a44),_0x332439);return;}const _0x4ee670=this[_0x2eb58c(0x293)][_0x465999[_0x2eb58c(0x1d5)]];this[_0x2eb58c(0x291)]+=_0x2f7a44[_0x4f9c76],this[_0x2eb58c(0x17a)]=_0x318135,_0x4ee670[_0x2eb58c(0x239)](_0x5944ee,_0x2f7a44[_0x2eb58c(0x1c0)],(_0x2bd696,_0x18cc33)=>{const _0x552ce3=_0x2eb58c;if(this[_0x552ce3(0x198)][_0x552ce3(0x212)]){const _0x3cfc5a=new Error(_0x552ce3(0x12f));_0x4c70e9(this,_0x3cfc5a,_0x332439);return;}this[_0x552ce3(0x291)]-=_0x2f7a44[_0x4f9c76],this[_0x552ce3(0x17a)]=_0x1f0b7f,_0x2f7a44[_0x552ce3(0x13c)]=!0x1,this[_0x552ce3(0x2c2)](_0x48ff2f[_0x552ce3(0x1bc)](_0x18cc33,_0x2f7a44),_0x332439),this[_0x552ce3(0x262)]();});}[_0x14f199(0x262)](){const _0x39ec33=_0x14f199;for(;this[_0x39ec33(0x17a)]===_0x1f0b7f&&this[_0x39ec33(0x16c)][_0x39ec33(0x21e)];){const _0x492d38=this[_0x39ec33(0x16c)][_0x39ec33(0x184)]();this['_bufferedBytes']-=_0x492d38[0x3][_0x4f9c76],Reflect[_0x39ec33(0x1e3)](_0x492d38[0x0],this,_0x492d38['slice'](0x1));}}[_0x14f199(0x1dc)](_0xfa20fc){const _0xce56bc=_0x14f199;this[_0xce56bc(0x291)]+=_0xfa20fc[0x3][_0x4f9c76],this[_0xce56bc(0x16c)][_0xce56bc(0x23b)](_0xfa20fc);}['sendFrame'](_0x43448e,_0x5b4d57){const _0x2b15de=_0x14f199;_0x43448e[_0x2b15de(0x21e)]===0x2?(this[_0x2b15de(0x198)][_0x2b15de(0x2af)](),this[_0x2b15de(0x198)][_0x2b15de(0x160)](_0x43448e[0x0]),this[_0x2b15de(0x198)]['write'](_0x43448e[0x1],_0x5b4d57),this[_0x2b15de(0x198)][_0x2b15de(0x243)]()):this['_socket']['write'](_0x43448e[0x0],_0x5b4d57);}}Ee=_0x48ff2f;function _0x4c70e9(_0x23ea1c,_0x6f57d6,_0x2557a4){const _0x455cac=_0x14f199;typeof _0x2557a4=='function'&&_0x2557a4(_0x6f57d6);for(let _0x3348d0=0x0;_0x3348d0<_0x23ea1c[_0x455cac(0x16c)][_0x455cac(0x21e)];_0x3348d0++){const _0xce074f=_0x23ea1c['_queue'][_0x3348d0],_0x233dbd=_0xce074f[_0xce074f[_0x455cac(0x21e)]-0x1];typeof _0x233dbd==_0x455cac(0x240)&&_0x233dbd(_0x6f57d6);}}function _0x4c26d4(_0x133579,_0x4663da,_0x23897b){_0x4c70e9(_0x133579,_0x4663da,_0x23897b),_0x133579['onerror'](_0x4663da);}return Ee;}var xe,Ze;function It(){const _0x1d43eb=_0x256248;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x465b31,kListener:_0x1203f9}=H(),_0x4d3662=Symbol(_0x1d43eb(0x292)),_0x4e7adb=Symbol(_0x1d43eb(0x185)),_0x306efb=Symbol(_0x1d43eb(0x284)),_0x57a69a=Symbol('kMessage'),_0x55c6db=Symbol(_0x1d43eb(0x2e6)),_0xe7f4e4=Symbol(_0x1d43eb(0x1e9)),_0x46e1f6=Symbol(_0x1d43eb(0x1ca)),_0xcc3cd7=Symbol(_0x1d43eb(0x183));class _0x325d75{constructor(_0xd1067f){this[_0xe7f4e4]=null,this[_0x46e1f6]=_0xd1067f;}get['target'](){return this[_0xe7f4e4];}get[_0x1d43eb(0x2fb)](){return this[_0x46e1f6];}}Object[_0x1d43eb(0x269)](_0x325d75['prototype'],_0x1d43eb(0x251),{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x325d75['prototype'],_0x1d43eb(0x2fb),{'enumerable':!0x0});class _0x1272a0 extends _0x325d75{constructor(_0x632b44,_0x23fc75={}){const _0x9049f9=_0x1d43eb;super(_0x632b44),this[_0x4d3662]=_0x23fc75[_0x9049f9(0x2f0)]===void 0x0?0x0:_0x23fc75[_0x9049f9(0x2f0)],this[_0x55c6db]=_0x23fc75[_0x9049f9(0x165)]===void 0x0?'':_0x23fc75['reason'],this[_0xcc3cd7]=_0x23fc75[_0x9049f9(0x2ff)]===void 0x0?!0x1:_0x23fc75[_0x9049f9(0x2ff)];}get[_0x1d43eb(0x2f0)](){return this[_0x4d3662];}get[_0x1d43eb(0x165)](){return this[_0x55c6db];}get[_0x1d43eb(0x2ff)](){return this[_0xcc3cd7];}}Object[_0x1d43eb(0x269)](_0x1272a0[_0x1d43eb(0x2c9)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x1272a0[_0x1d43eb(0x2c9)],'reason',{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x1272a0[_0x1d43eb(0x2c9)],_0x1d43eb(0x2ff),{'enumerable':!0x0});class _0x3cae25 extends _0x325d75{constructor(_0x1ec025,_0x40067f={}){const _0x79c867=_0x1d43eb;super(_0x1ec025),this[_0x306efb]=_0x40067f[_0x79c867(0x182)]===void 0x0?null:_0x40067f[_0x79c867(0x182)],this[_0x57a69a]=_0x40067f[_0x79c867(0x138)]===void 0x0?'':_0x40067f[_0x79c867(0x138)];}get[_0x1d43eb(0x182)](){return this[_0x306efb];}get[_0x1d43eb(0x138)](){return this[_0x57a69a];}}Object[_0x1d43eb(0x269)](_0x3cae25[_0x1d43eb(0x2c9)],_0x1d43eb(0x182),{'enumerable':!0x0}),Object[_0x1d43eb(0x269)](_0x3cae25[_0x1d43eb(0x2c9)],_0x1d43eb(0x138),{'enumerable':!0x0});class _0x32425e extends _0x325d75{constructor(_0x24fd83,_0x415477={}){const _0x2b49ae=_0x1d43eb;super(_0x24fd83),this[_0x4e7adb]=_0x415477[_0x2b49ae(0x1a6)]===void 0x0?null:_0x415477[_0x2b49ae(0x1a6)];}get['data'](){return this[_0x4e7adb];}}Object[_0x1d43eb(0x269)](_0x32425e[_0x1d43eb(0x2c9)],_0x1d43eb(0x1a6),{'enumerable':!0x0}),xe={'CloseEvent':_0x1272a0,'ErrorEvent':_0x3cae25,'Event':_0x325d75,'EventTarget':{'addEventListener'(_0x2384f9,_0x1673f9,_0x2e6d13={}){const _0x55808f=_0x1d43eb;for(const _0x4030ce of this[_0x55808f(0x2a1)](_0x2384f9))if(!_0x2e6d13[_0x465b31]&&_0x4030ce[_0x1203f9]===_0x1673f9&&!_0x4030ce[_0x465b31])return;let _0xd0f125;if(_0x2384f9===_0x55808f(0x138))_0xd0f125=function(_0x52b0c5,_0x1d7f03){const _0x4235ea=_0x55808f,_0x3ea03d=new _0x32425e(_0x4235ea(0x138),{'data':_0x1d7f03?_0x52b0c5:_0x52b0c5[_0x4235ea(0x1cc)]()});_0x3ea03d[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x3ea03d);};else{if(_0x2384f9==='close')_0xd0f125=function(_0x38ab2b,_0x13b81a){const _0x1717f6=_0x55808f,_0x5f2dba=new _0x1272a0(_0x1717f6(0x15c),{'code':_0x38ab2b,'reason':_0x13b81a['toString'](),'wasClean':this[_0x1717f6(0x2f3)]&&this[_0x1717f6(0x1af)]});_0x5f2dba[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x5f2dba);};else{if(_0x2384f9===_0x55808f(0x182))_0xd0f125=function(_0x29592a){const _0x122c3b=_0x55808f,_0x253ba6=new _0x3cae25(_0x122c3b(0x182),{'error':_0x29592a,'message':_0x29592a[_0x122c3b(0x138)]});_0x253ba6[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x253ba6);};else{if(_0x2384f9===_0x55808f(0x187))_0xd0f125=function(){const _0x4aef19=new _0x325d75('open');_0x4aef19[_0xe7f4e4]=this,_0x20802a(_0x1673f9,this,_0x4aef19);};else return;}}}_0xd0f125[_0x465b31]=!!_0x2e6d13[_0x465b31],_0xd0f125[_0x1203f9]=_0x1673f9,_0x2e6d13[_0x55808f(0x22d)]?this[_0x55808f(0x22d)](_0x2384f9,_0xd0f125):this['on'](_0x2384f9,_0xd0f125);},'removeEventListener'(_0x37e189,_0x4eee18){const _0x2623c8=_0x1d43eb;for(const _0x3d3986 of this[_0x2623c8(0x2a1)](_0x37e189))if(_0x3d3986[_0x1203f9]===_0x4eee18&&!_0x3d3986[_0x465b31]){this[_0x2623c8(0x133)](_0x37e189,_0x3d3986);break;}}},'MessageEvent':_0x32425e};function _0x20802a(_0x20b09e,_0x5dccbc,_0x2a7a51){const _0x463429=_0x1d43eb;typeof _0x20b09e=='object'&&_0x20b09e[_0x463429(0x258)]?_0x20b09e['handleEvent'][_0x463429(0x229)](_0x20b09e,_0x2a7a51):_0x20b09e[_0x463429(0x229)](_0x5dccbc,_0x2a7a51);}return xe;}function _0x2b82(_0x41fe5a,_0x36b48b){const _0x31815f=_0x3181();return _0x2b82=function(_0x2b826f,_0x589410){_0x2b826f=_0x2b826f-0x129;let _0x12fe21=_0x31815f[_0x2b826f];return _0x12fe21;},_0x2b82(_0x41fe5a,_0x36b48b);}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x383560}=ae();function _0x3323f3(_0x14d9dc,_0x1d6253,_0x2a4967){const _0x5ba110=_0x2b82;_0x14d9dc[_0x1d6253]===void 0x0?_0x14d9dc[_0x1d6253]=[_0x2a4967]:_0x14d9dc[_0x1d6253][_0x5ba110(0x23b)](_0x2a4967);}function _0x1f6830(_0x1ece29){const _0x1d3f63=_0x2b82,_0x502e3d=Object[_0x1d3f63(0x16a)](null);let _0x172e6f=Object['create'](null),_0x30674d=!0x1,_0x5f2312=!0x1,_0x88945f=!0x1,_0x35a2b7,_0x35b289,_0x191271=-0x1,_0xe3947=-0x1,_0x58aa24=-0x1,_0x3ff9d4=0x0;for(;_0x3ff9d4<_0x1ece29[_0x1d3f63(0x21e)];_0x3ff9d4++)if(_0xe3947=_0x1ece29[_0x1d3f63(0x236)](_0x3ff9d4),_0x35a2b7===void 0x0){if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0x3ff9d4!==0x0&&(_0xe3947===0x20||_0xe3947===0x9))_0x58aa24===-0x1&&_0x191271!==-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);const _0x4cac57=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);_0xe3947===0x2c?(_0x3323f3(_0x502e3d,_0x4cac57,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null)):_0x35a2b7=_0x4cac57,_0x191271=_0x58aa24=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);}}}else{if(_0x35b289===void 0x0){if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0xe3947===0x20||_0xe3947===0x9)_0x58aa24===-0x1&&_0x191271!==-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4),_0x3323f3(_0x172e6f,_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24),!0x0),_0xe3947===0x2c&&(_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null),_0x35a2b7=void 0x0),_0x191271=_0x58aa24=-0x1;}else{if(_0xe3947===0x3d&&_0x191271!==-0x1&&_0x58aa24===-0x1)_0x35b289=_0x1ece29['slice'](_0x191271,_0x3ff9d4),_0x191271=_0x58aa24=-0x1;else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}}else{if(_0x5f2312){if(_0x383560[_0xe3947]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ff9d4);_0x191271===-0x1?_0x191271=_0x3ff9d4:_0x30674d||(_0x30674d=!0x0),_0x5f2312=!0x1;}else{if(_0x88945f){if(_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0xe3947===0x22&&_0x191271!==-0x1)_0x88945f=!0x1,_0x58aa24=_0x3ff9d4;else{if(_0xe3947===0x5c)_0x5f2312=!0x0;else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}else{if(_0xe3947===0x22&&_0x1ece29[_0x1d3f63(0x236)](_0x3ff9d4-0x1)===0x3d)_0x88945f=!0x0;else{if(_0x58aa24===-0x1&&_0x383560[_0xe3947]===0x1)_0x191271===-0x1&&(_0x191271=_0x3ff9d4);else{if(_0x191271!==-0x1&&(_0xe3947===0x20||_0xe3947===0x9))_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);else{if(_0xe3947===0x3b||_0xe3947===0x2c){if(_0x191271===-0x1)throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);let _0x5a2b4a=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);_0x30674d&&(_0x5a2b4a=_0x5a2b4a[_0x1d3f63(0x23d)](/\\/g,''),_0x30674d=!0x1),_0x3323f3(_0x172e6f,_0x35b289,_0x5a2b4a),_0xe3947===0x2c&&(_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f),_0x172e6f=Object[_0x1d3f63(0x16a)](null),_0x35a2b7=void 0x0),_0x35b289=void 0x0,_0x191271=_0x58aa24=-0x1;}else throw new SyntaxError(_0x1d3f63(0x2f5)+_0x3ff9d4);}}}}}}}if(_0x191271===-0x1||_0x88945f||_0xe3947===0x20||_0xe3947===0x9)throw new SyntaxError(_0x1d3f63(0x220));_0x58aa24===-0x1&&(_0x58aa24=_0x3ff9d4);const _0x455f7d=_0x1ece29[_0x1d3f63(0x2bc)](_0x191271,_0x58aa24);return _0x35a2b7===void 0x0?_0x3323f3(_0x502e3d,_0x455f7d,_0x172e6f):(_0x35b289===void 0x0?_0x3323f3(_0x172e6f,_0x455f7d,!0x0):_0x30674d?_0x3323f3(_0x172e6f,_0x35b289,_0x455f7d[_0x1d3f63(0x23d)](/\\/g,'')):_0x3323f3(_0x172e6f,_0x35b289,_0x455f7d),_0x3323f3(_0x502e3d,_0x35a2b7,_0x172e6f)),_0x502e3d;}function _0xc71b68(_0x34a63b){const _0xbe287c=_0x2b82;return Object['keys'](_0x34a63b)[_0xbe287c(0x2de)](_0x48098b=>{const _0xc4ce25=_0xbe287c;let _0x513bbf=_0x34a63b[_0x48098b];return Array[_0xc4ce25(0x261)](_0x513bbf)||(_0x513bbf=[_0x513bbf]),_0x513bbf[_0xc4ce25(0x2de)](_0x51ed91=>[_0x48098b][_0xc4ce25(0x1db)](Object[_0xc4ce25(0x268)](_0x51ed91)[_0xc4ce25(0x2de)](_0x49c34d=>{const _0x21880c=_0xc4ce25;let _0x144d82=_0x51ed91[_0x49c34d];return Array[_0x21880c(0x261)](_0x144d82)||(_0x144d82=[_0x144d82]),_0x144d82[_0x21880c(0x2de)](_0x499e2d=>_0x499e2d===!0x0?_0x49c34d:_0x49c34d+'='+_0x499e2d)[_0x21880c(0x296)](';\x20');}))['join'](';\x20'))[_0xc4ce25(0x296)](',\x20');})['join'](',\x20');}return be={'format':_0xc71b68,'parse':_0x1f6830},be;}var we,Je;function Pe(){const _0x4baa9b=_0x256248;if(Je)return we;Je=0x1;const _0x573f09=nt,_0x1ce674=vt,_0x5d1d20=ot,_0x5df1d9=St,_0xf6b5ea=Et,{randomBytes:_0x2524b1,createHash:_0x368772}=Le,{Duplex:_0x11478e,Readable:_0x2cc158}=oe,{URL:_0x1fbb0a}=xt,_0x166efe=he(),_0x578296=lt(),_0x13d108=ft(),{isBlob:_0x4efec7}=ae(),{BINARY_TYPES:_0x3d5df8,EMPTY_BUFFER:_0x43f1af,GUID:_0x51802a,kForOnEventAttribute:_0x7764cb,kListener:_0x35648a,kStatusCode:_0x122acc,kWebSocket:_0x13d4a7,NOOP:_0x6b8db0}=H(),{EventTarget:{addEventListener:_0x4383a2,removeEventListener:_0x33eb18}}=It(),{format:_0x423da1,parse:_0x40ce19}=ct(),{toBuffer:_0x21a040}=ce(),_0x265d82=0x1e*0x3e8,_0x15e9c8=Symbol(_0x4baa9b(0x29f)),_0x11f4b2=[0x8,0xd],_0x1ac9da=[_0x4baa9b(0x202),_0x4baa9b(0x20a),_0x4baa9b(0x2df),_0x4baa9b(0x2b0)],_0x43e26b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5f4353 extends _0x573f09{constructor(_0x3a5315,_0x43f3ed,_0x4e25d2){const _0x3ecc92=_0x4baa9b;super(),this['_binaryType']=_0x3d5df8[0x0],this[_0x3ecc92(0x2b1)]=0x3ee,this[_0x3ecc92(0x2f3)]=!0x1,this[_0x3ecc92(0x1af)]=!0x1,this[_0x3ecc92(0x2b4)]=_0x43f1af,this[_0x3ecc92(0x286)]=null,this[_0x3ecc92(0x170)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x3ecc92(0x2d1)]='',this[_0x3ecc92(0x283)]=_0x5f4353[_0x3ecc92(0x202)],this[_0x3ecc92(0x1d2)]=null,this['_sender']=null,this[_0x3ecc92(0x198)]=null,_0x3a5315!==null?(this['_bufferedAmount']=0x0,this[_0x3ecc92(0x14c)]=!0x1,this[_0x3ecc92(0x1bf)]=0x0,_0x43f3ed===void 0x0?_0x43f3ed=[]:Array['isArray'](_0x43f3ed)||(typeof _0x43f3ed==_0x3ecc92(0x12d)&&_0x43f3ed!==null?(_0x4e25d2=_0x43f3ed,_0x43f3ed=[]):_0x43f3ed=[_0x43f3ed]),_0x3cdaa7(this,_0x3a5315,_0x43f3ed,_0x4e25d2)):(this[_0x3ecc92(0x210)]=_0x4e25d2['autoPong'],this[_0x3ecc92(0x14c)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x4baa9b(0x16e)](_0x13cf9c){const _0x45b158=_0x4baa9b;_0x3d5df8[_0x45b158(0x1b1)](_0x13cf9c)&&(this[_0x45b158(0x199)]=_0x13cf9c,this['_receiver']&&(this[_0x45b158(0x1d2)][_0x45b158(0x199)]=_0x13cf9c));}get[_0x4baa9b(0x192)](){const _0x23f3ed=_0x4baa9b;return this[_0x23f3ed(0x198)]?this[_0x23f3ed(0x198)][_0x23f3ed(0x175)][_0x23f3ed(0x21e)]+this[_0x23f3ed(0x2c7)][_0x23f3ed(0x291)]:this[_0x23f3ed(0x177)];}get[_0x4baa9b(0x17b)](){const _0x32909c=_0x4baa9b;return Object[_0x32909c(0x268)](this[_0x32909c(0x293)])[_0x32909c(0x296)]();}get['isPaused'](){const _0x4861a0=_0x4baa9b;return this[_0x4861a0(0x2c1)];}get[_0x4baa9b(0x1a0)](){return null;}get[_0x4baa9b(0x297)](){return null;}get[_0x4baa9b(0x301)](){return null;}get[_0x4baa9b(0x245)](){return null;}get[_0x4baa9b(0x194)](){const _0x22a6b7=_0x4baa9b;return this[_0x22a6b7(0x2d1)];}get[_0x4baa9b(0x280)](){const _0x131027=_0x4baa9b;return this[_0x131027(0x283)];}get[_0x4baa9b(0x264)](){const _0x4bb415=_0x4baa9b;return this[_0x4bb415(0x148)];}[_0x4baa9b(0x159)](_0x300b40,_0x7096d2,_0x1d6906){const _0x329bc6=_0x4baa9b,_0x9b534a=new _0x578296({'allowSynchronousEvents':_0x1d6906['allowSynchronousEvents'],'binaryType':this[_0x329bc6(0x16e)],'extensions':this[_0x329bc6(0x293)],'isServer':this[_0x329bc6(0x14c)],'maxPayload':_0x1d6906['maxPayload'],'skipUTF8Validation':_0x1d6906[_0x329bc6(0x234)]}),_0xb32125=new _0x13d108(_0x300b40,this[_0x329bc6(0x293)],_0x1d6906[_0x329bc6(0x28a)]);this[_0x329bc6(0x1d2)]=_0x9b534a,this[_0x329bc6(0x2c7)]=_0xb32125,this[_0x329bc6(0x198)]=_0x300b40,_0x9b534a[_0x13d4a7]=this,_0xb32125[_0x13d4a7]=this,_0x300b40[_0x13d4a7]=this,_0x9b534a['on'](_0x329bc6(0x1fc),_0x51686f),_0x9b534a['on'](_0x329bc6(0x2dd),_0x5c3ae7),_0x9b534a['on']('error',_0x52f6ce),_0x9b534a['on'](_0x329bc6(0x138),_0x518c8a),_0x9b534a['on'](_0x329bc6(0x2cc),_0x4cd146),_0x9b534a['on'](_0x329bc6(0x223),_0x209a44),_0xb32125[_0x329bc6(0x297)]=_0x248dbe,_0x300b40['setTimeout']&&_0x300b40[_0x329bc6(0x1c3)](0x0),_0x300b40[_0x329bc6(0x15a)]&&_0x300b40[_0x329bc6(0x15a)](),_0x7096d2[_0x329bc6(0x21e)]>0x0&&_0x300b40['unshift'](_0x7096d2),_0x300b40['on'](_0x329bc6(0x15c),_0x580c45),_0x300b40['on'](_0x329bc6(0x1a6),_0x4f1bcb),_0x300b40['on'](_0x329bc6(0x143),_0x8f84fa),_0x300b40['on']('error',_0x7be166),this[_0x329bc6(0x283)]=_0x5f4353[_0x329bc6(0x20a)],this[_0x329bc6(0x273)](_0x329bc6(0x187));}[_0x4baa9b(0x2b7)](){const _0x180f7b=_0x4baa9b;if(!this[_0x180f7b(0x198)]){this['_readyState']=_0x5f4353[_0x180f7b(0x2b0)],this[_0x180f7b(0x273)](_0x180f7b(0x15c),this['_closeCode'],this[_0x180f7b(0x2b4)]);return;}this[_0x180f7b(0x293)][_0x166efe['extensionName']]&&this['_extensions'][_0x166efe[_0x180f7b(0x1d5)]][_0x180f7b(0x144)](),this['_receiver'][_0x180f7b(0x263)](),this[_0x180f7b(0x283)]=_0x5f4353[_0x180f7b(0x2b0)],this[_0x180f7b(0x273)]('close',this[_0x180f7b(0x2b1)],this[_0x180f7b(0x2b4)]);}['close'](_0x6ce3cc,_0x686037){const _0x31fd6b=_0x4baa9b;if(this['readyState']!==_0x5f4353['CLOSED']){if(this[_0x31fd6b(0x280)]===_0x5f4353['CONNECTING']){_0x41ffc4(this,this[_0x31fd6b(0x224)],_0x31fd6b(0x2c6));return;}if(this[_0x31fd6b(0x280)]===_0x5f4353[_0x31fd6b(0x2df)]){this[_0x31fd6b(0x1af)]&&(this[_0x31fd6b(0x2f3)]||this[_0x31fd6b(0x1d2)][_0x31fd6b(0x175)][_0x31fd6b(0x19e)])&&this['_socket']['end']();return;}this[_0x31fd6b(0x283)]=_0x5f4353[_0x31fd6b(0x2df)],this[_0x31fd6b(0x2c7)][_0x31fd6b(0x15c)](_0x6ce3cc,_0x686037,!this['_isServer'],_0x43ea8f=>{const _0x26c66c=_0x31fd6b;_0x43ea8f||(this[_0x26c66c(0x1af)]=!0x0,(this[_0x26c66c(0x2f3)]||this[_0x26c66c(0x1d2)][_0x26c66c(0x175)][_0x26c66c(0x19e)])&&this[_0x26c66c(0x198)][_0x26c66c(0x143)]());}),_0x252060(this);}}[_0x4baa9b(0x2fd)](){const _0x20341e=_0x4baa9b;this['readyState']===_0x5f4353[_0x20341e(0x202)]||this[_0x20341e(0x280)]===_0x5f4353[_0x20341e(0x2b0)]||(this[_0x20341e(0x2c1)]=!0x0,this[_0x20341e(0x198)][_0x20341e(0x2fd)]());}[_0x4baa9b(0x2cc)](_0x15909a,_0x21751e,_0x2efd32){const _0x5d2f8c=_0x4baa9b;if(this[_0x5d2f8c(0x280)]===_0x5f4353['CONNECTING'])throw new Error(_0x5d2f8c(0x256));if(typeof _0x15909a=='function'?(_0x2efd32=_0x15909a,_0x15909a=_0x21751e=void 0x0):typeof _0x21751e==_0x5d2f8c(0x240)&&(_0x2efd32=_0x21751e,_0x21751e=void 0x0),typeof _0x15909a==_0x5d2f8c(0x2bd)&&(_0x15909a=_0x15909a[_0x5d2f8c(0x1cc)]()),this[_0x5d2f8c(0x280)]!==_0x5f4353[_0x5d2f8c(0x20a)]){_0x2ea3c3(this,_0x15909a,_0x2efd32);return;}_0x21751e===void 0x0&&(_0x21751e=!this['_isServer']),this['_sender']['ping'](_0x15909a||_0x43f1af,_0x21751e,_0x2efd32);}[_0x4baa9b(0x223)](_0x3f9b0a,_0x552dcc,_0x1e5f72){const _0xfc02e7=_0x4baa9b;if(this['readyState']===_0x5f4353['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3f9b0a==_0xfc02e7(0x240)?(_0x1e5f72=_0x3f9b0a,_0x3f9b0a=_0x552dcc=void 0x0):typeof _0x552dcc=='function'&&(_0x1e5f72=_0x552dcc,_0x552dcc=void 0x0),typeof _0x3f9b0a==_0xfc02e7(0x2bd)&&(_0x3f9b0a=_0x3f9b0a['toString']()),this[_0xfc02e7(0x280)]!==_0x5f4353[_0xfc02e7(0x20a)]){_0x2ea3c3(this,_0x3f9b0a,_0x1e5f72);return;}_0x552dcc===void 0x0&&(_0x552dcc=!this['_isServer']),this['_sender']['pong'](_0x3f9b0a||_0x43f1af,_0x552dcc,_0x1e5f72);}['resume'](){const _0x4f7abf=_0x4baa9b;this['readyState']===_0x5f4353['CONNECTING']||this['readyState']===_0x5f4353[_0x4f7abf(0x2b0)]||(this[_0x4f7abf(0x2c1)]=!0x1,this[_0x4f7abf(0x1d2)]['_writableState'][_0x4f7abf(0x20c)]||this[_0x4f7abf(0x198)][_0x4f7abf(0x12b)]());}[_0x4baa9b(0x2a8)](_0x14db88,_0x45b3dd,_0x5e6757){const _0xb37d2c=_0x4baa9b;if(this[_0xb37d2c(0x280)]===_0x5f4353[_0xb37d2c(0x202)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x45b3dd=='function'&&(_0x5e6757=_0x45b3dd,_0x45b3dd={}),typeof _0x14db88==_0xb37d2c(0x2bd)&&(_0x14db88=_0x14db88['toString']()),this[_0xb37d2c(0x280)]!==_0x5f4353[_0xb37d2c(0x20a)]){_0x2ea3c3(this,_0x14db88,_0x5e6757);return;}const _0x17e0e9={'binary':typeof _0x14db88!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x45b3dd};this['_extensions'][_0x166efe[_0xb37d2c(0x1d5)]]||(_0x17e0e9[_0xb37d2c(0x239)]=!0x1),this[_0xb37d2c(0x2c7)][_0xb37d2c(0x2a8)](_0x14db88||_0x43f1af,_0x17e0e9,_0x5e6757);}[_0x4baa9b(0x22b)](){const _0x130d76=_0x4baa9b;if(this[_0x130d76(0x280)]!==_0x5f4353[_0x130d76(0x2b0)]){if(this[_0x130d76(0x280)]===_0x5f4353[_0x130d76(0x202)]){_0x41ffc4(this,this[_0x130d76(0x224)],_0x130d76(0x2c6));return;}this[_0x130d76(0x198)]&&(this[_0x130d76(0x283)]=_0x5f4353[_0x130d76(0x2df)],this[_0x130d76(0x198)]['destroy']());}}}Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x202),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x202))}),Object[_0x4baa9b(0x269)](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x202),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x202))}),Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x20a),{'enumerable':!0x0,'value':_0x1ac9da['indexOf'](_0x4baa9b(0x20a))}),Object['defineProperty'](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x20a),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x20a))}),Object[_0x4baa9b(0x269)](_0x5f4353,_0x4baa9b(0x2df),{'enumerable':!0x0,'value':_0x1ac9da['indexOf'](_0x4baa9b(0x2df))}),Object['defineProperty'](_0x5f4353['prototype'],_0x4baa9b(0x2df),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x2df))}),Object['defineProperty'](_0x5f4353,'CLOSED',{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)]('CLOSED')}),Object[_0x4baa9b(0x269)](_0x5f4353[_0x4baa9b(0x2c9)],_0x4baa9b(0x2b0),{'enumerable':!0x0,'value':_0x1ac9da[_0x4baa9b(0x249)](_0x4baa9b(0x2b0))}),['binaryType',_0x4baa9b(0x192),_0x4baa9b(0x17b),_0x4baa9b(0x1ff),'protocol',_0x4baa9b(0x280),_0x4baa9b(0x264)][_0x4baa9b(0x2d6)](_0x12253e=>{const _0x51588e=_0x4baa9b;Object[_0x51588e(0x269)](_0x5f4353['prototype'],_0x12253e,{'enumerable':!0x0});}),[_0x4baa9b(0x187),'error',_0x4baa9b(0x15c),_0x4baa9b(0x138)]['forEach'](_0x4e1a8d=>{const _0x3dea72=_0x4baa9b;Object[_0x3dea72(0x269)](_0x5f4353['prototype'],'on'+_0x4e1a8d,{'enumerable':!0x0,'get'(){const _0x15f277=_0x3dea72;for(const _0x580010 of this[_0x15f277(0x2a1)](_0x4e1a8d))if(_0x580010[_0x7764cb])return _0x580010[_0x35648a];return null;},'set'(_0x58ff7e){const _0x336c9c=_0x3dea72;for(const _0x148a3d of this[_0x336c9c(0x2a1)](_0x4e1a8d))if(_0x148a3d[_0x7764cb]){this['removeListener'](_0x4e1a8d,_0x148a3d);break;}typeof _0x58ff7e==_0x336c9c(0x240)&&this[_0x336c9c(0x142)](_0x4e1a8d,_0x58ff7e,{[_0x7764cb]:!0x0});}});}),_0x5f4353['prototype'][_0x4baa9b(0x142)]=_0x4383a2,_0x5f4353[_0x4baa9b(0x2c9)][_0x4baa9b(0x155)]=_0x33eb18,we=_0x5f4353;function _0x3cdaa7(_0x12f92b,_0x3a5d70,_0x51e978,_0x5714b8){const _0x2b4014=_0x4baa9b,_0x4b22f0={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x11f4b2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5714b8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2b4014(0x21b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x12f92b[_0x2b4014(0x210)]=_0x4b22f0[_0x2b4014(0x23c)],!_0x11f4b2[_0x2b4014(0x1b1)](_0x4b22f0['protocolVersion']))throw new RangeError(_0x2b4014(0x216)+_0x4b22f0[_0x2b4014(0x2e8)]+_0x2b4014(0x141)+_0x11f4b2[_0x2b4014(0x296)](',\x20')+')');let _0x5ca204;if(_0x3a5d70 instanceof _0x1fbb0a)_0x5ca204=_0x3a5d70;else try{_0x5ca204=new _0x1fbb0a(_0x3a5d70);}catch{throw new SyntaxError(_0x2b4014(0x23a)+_0x3a5d70);}_0x5ca204[_0x2b4014(0x194)]==='http:'?_0x5ca204[_0x2b4014(0x194)]=_0x2b4014(0x24a):_0x5ca204['protocol']===_0x2b4014(0x2e2)&&(_0x5ca204['protocol']=_0x2b4014(0x271)),_0x12f92b[_0x2b4014(0x148)]=_0x5ca204[_0x2b4014(0x206)];const _0x2fe896=_0x5ca204[_0x2b4014(0x194)]==='wss:',_0x507dfc=_0x5ca204[_0x2b4014(0x194)]===_0x2b4014(0x14d);let _0x12b755;if(_0x5ca204[_0x2b4014(0x194)]!==_0x2b4014(0x24a)&&!_0x2fe896&&!_0x507dfc?_0x12b755=_0x2b4014(0x154):_0x507dfc&&!_0x5ca204[_0x2b4014(0x26a)]?_0x12b755=_0x2b4014(0x16f):_0x5ca204[_0x2b4014(0x1c5)]&&(_0x12b755='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x12b755){const _0x515291=new SyntaxError(_0x12b755);if(_0x12f92b['_redirects']===0x0)throw _0x515291;_0x4dfe80(_0x12f92b,_0x515291);return;}const _0x5dc825=_0x2fe896?0x1bb:0x50,_0x4d5043=_0x2524b1(0x10)['toString'](_0x2b4014(0x163)),_0x3bc761=_0x2fe896?_0x1ce674['request']:_0x5d1d20[_0x2b4014(0x226)],_0x4feacc=new Set();let _0xc894d2;if(_0x4b22f0['createConnection']=_0x4b22f0[_0x2b4014(0x2a4)]||(_0x2fe896?_0x181d6d:_0x30112e),_0x4b22f0[_0x2b4014(0x1a7)]=_0x4b22f0[_0x2b4014(0x1a7)]||_0x5dc825,_0x4b22f0['port']=_0x5ca204[_0x2b4014(0x172)]||_0x5dc825,_0x4b22f0[_0x2b4014(0x2ca)]=_0x5ca204['hostname'][_0x2b4014(0x1f4)]('[')?_0x5ca204[_0x2b4014(0x22c)]['slice'](0x1,-0x1):_0x5ca204[_0x2b4014(0x22c)],_0x4b22f0['headers']={..._0x4b22f0[_0x2b4014(0x2ba)],'Sec-WebSocket-Version':_0x4b22f0[_0x2b4014(0x2e8)],'Sec-WebSocket-Key':_0x4d5043,'Connection':_0x2b4014(0x13d),'Upgrade':_0x2b4014(0x235)},_0x4b22f0[_0x2b4014(0x231)]=_0x5ca204[_0x2b4014(0x26a)]+_0x5ca204[_0x2b4014(0x2e7)],_0x4b22f0[_0x2b4014(0x15d)]=_0x4b22f0['handshakeTimeout'],_0x4b22f0[_0x2b4014(0x2ef)]&&(_0xc894d2=new _0x166efe(_0x4b22f0[_0x2b4014(0x2ef)]!==!0x0?_0x4b22f0[_0x2b4014(0x2ef)]:{},!0x1,_0x4b22f0['maxPayload']),_0x4b22f0['headers'][_0x2b4014(0x247)]=_0x423da1({[_0x166efe[_0x2b4014(0x1d5)]]:_0xc894d2[_0x2b4014(0x161)]()})),_0x51e978[_0x2b4014(0x21e)]){for(const _0x5373eb of _0x51e978){if(typeof _0x5373eb!=_0x2b4014(0x281)||!_0x43e26b[_0x2b4014(0x2b8)](_0x5373eb)||_0x4feacc['has'](_0x5373eb))throw new SyntaxError(_0x2b4014(0x12a));_0x4feacc[_0x2b4014(0x266)](_0x5373eb);}_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2f9)]=_0x51e978[_0x2b4014(0x296)](',');}if(_0x4b22f0[_0x2b4014(0x2fe)]&&(_0x4b22f0[_0x2b4014(0x2e8)]<0xd?_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x16b)]=_0x4b22f0[_0x2b4014(0x2fe)]:_0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x195)]=_0x4b22f0[_0x2b4014(0x2fe)]),(_0x5ca204[_0x2b4014(0x22a)]||_0x5ca204[_0x2b4014(0x2c5)])&&(_0x4b22f0[_0x2b4014(0x25f)]=_0x5ca204[_0x2b4014(0x22a)]+':'+_0x5ca204[_0x2b4014(0x2c5)]),_0x507dfc){const _0x21d97b=_0x4b22f0[_0x2b4014(0x231)][_0x2b4014(0x147)](':');_0x4b22f0[_0x2b4014(0x2db)]=_0x21d97b[0x0],_0x4b22f0[_0x2b4014(0x231)]=_0x21d97b[0x1];}let _0x574d7f;if(_0x4b22f0[_0x2b4014(0x19c)]){if(_0x12f92b[_0x2b4014(0x1bf)]===0x0){_0x12f92b[_0x2b4014(0x2ec)]=_0x507dfc,_0x12f92b[_0x2b4014(0x1b6)]=_0x2fe896,_0x12f92b[_0x2b4014(0x1ac)]=_0x507dfc?_0x4b22f0[_0x2b4014(0x2db)]:_0x5ca204[_0x2b4014(0x2ca)];const _0x5e8370=_0x5714b8&&_0x5714b8[_0x2b4014(0x2ba)];if(_0x5714b8={..._0x5714b8,'headers':{}},_0x5e8370){for(const [_0x3cc616,_0x3543bb]of Object[_0x2b4014(0x27f)](_0x5e8370))_0x5714b8[_0x2b4014(0x2ba)][_0x3cc616[_0x2b4014(0x2e1)]()]=_0x3543bb;}}else{if(_0x12f92b[_0x2b4014(0x265)]('redirect')===0x0){const _0x118124=_0x507dfc?_0x12f92b['_originalIpc']?_0x4b22f0[_0x2b4014(0x2db)]===_0x12f92b[_0x2b4014(0x1ac)]:!0x1:_0x12f92b[_0x2b4014(0x2ec)]?!0x1:_0x5ca204[_0x2b4014(0x2ca)]===_0x12f92b[_0x2b4014(0x1ac)];(!_0x118124||_0x12f92b[_0x2b4014(0x1b6)]&&!_0x2fe896)&&(delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2fa)],delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x1c1)],_0x118124||delete _0x4b22f0[_0x2b4014(0x2ba)][_0x2b4014(0x2ca)],_0x4b22f0[_0x2b4014(0x25f)]=void 0x0);}}_0x4b22f0[_0x2b4014(0x25f)]&&!_0x5714b8['headers'][_0x2b4014(0x2fa)]&&(_0x5714b8['headers'][_0x2b4014(0x2fa)]=_0x2b4014(0x248)+Buffer[_0x2b4014(0x140)](_0x4b22f0[_0x2b4014(0x25f)])[_0x2b4014(0x1cc)]('base64')),_0x574d7f=_0x12f92b['_req']=_0x3bc761(_0x4b22f0),_0x12f92b[_0x2b4014(0x1bf)]&&_0x12f92b[_0x2b4014(0x273)](_0x2b4014(0x278),_0x12f92b['url'],_0x574d7f);}else _0x574d7f=_0x12f92b[_0x2b4014(0x224)]=_0x3bc761(_0x4b22f0);_0x4b22f0[_0x2b4014(0x15d)]&&_0x574d7f['on']('timeout',()=>{const _0x38122e=_0x2b4014;_0x41ffc4(_0x12f92b,_0x574d7f,_0x38122e(0x2d5));}),_0x574d7f['on'](_0x2b4014(0x182),_0x2b6590=>{const _0x19268d=_0x2b4014;_0x574d7f===null||_0x574d7f[_0x15e9c8]||(_0x574d7f=_0x12f92b[_0x19268d(0x224)]=null,_0x4dfe80(_0x12f92b,_0x2b6590));}),_0x574d7f['on']('response',_0x2e4e3e=>{const _0x5ad4be=_0x2b4014,_0x4f72db=_0x2e4e3e['headers'][_0x5ad4be(0x2a5)],_0x32b6bd=_0x2e4e3e['statusCode'];if(_0x4f72db&&_0x4b22f0[_0x5ad4be(0x19c)]&&_0x32b6bd>=0x12c&&_0x32b6bd<0x190){if(++_0x12f92b[_0x5ad4be(0x1bf)]>_0x4b22f0['maxRedirects']){_0x41ffc4(_0x12f92b,_0x574d7f,_0x5ad4be(0x2b9));return;}_0x574d7f[_0x5ad4be(0x158)]();let _0x4c26a3;try{_0x4c26a3=new _0x1fbb0a(_0x4f72db,_0x3a5d70);}catch{const _0x23a831=new SyntaxError(_0x5ad4be(0x23a)+_0x4f72db);_0x4dfe80(_0x12f92b,_0x23a831);return;}_0x3cdaa7(_0x12f92b,_0x4c26a3,_0x51e978,_0x5714b8);}else _0x12f92b[_0x5ad4be(0x273)](_0x5ad4be(0x2d7),_0x574d7f,_0x2e4e3e)||_0x41ffc4(_0x12f92b,_0x574d7f,_0x5ad4be(0x27b)+_0x2e4e3e[_0x5ad4be(0x169)]);}),_0x574d7f['on']('upgrade',(_0x3c8a67,_0x504c6c,_0x56b615)=>{const _0x417428=_0x2b4014;if(_0x12f92b['emit'](_0x417428(0x1de),_0x3c8a67),_0x12f92b[_0x417428(0x280)]!==_0x5f4353[_0x417428(0x202)])return;_0x574d7f=_0x12f92b['_req']=null;const _0x8b498b=_0x3c8a67['headers']['upgrade'];if(_0x8b498b===void 0x0||_0x8b498b[_0x417428(0x2e1)]()!=='websocket'){_0x41ffc4(_0x12f92b,_0x504c6c,'Invalid\x20Upgrade\x20header');return;}const _0x386700=_0x368772(_0x417428(0x204))[_0x417428(0x1ed)](_0x4d5043+_0x51802a)[_0x417428(0x1d7)]('base64');if(_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x2c3)]!==_0x386700){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x15f));return;}const _0x1d6dea=_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x227)];let _0x45ff26;if(_0x1d6dea!==void 0x0?_0x4feacc['size']?_0x4feacc['has'](_0x1d6dea)||(_0x45ff26=_0x417428(0x1ad)):_0x45ff26=_0x417428(0x156):_0x4feacc[_0x417428(0x219)]&&(_0x45ff26=_0x417428(0x1e1)),_0x45ff26){_0x41ffc4(_0x12f92b,_0x504c6c,_0x45ff26);return;}_0x1d6dea&&(_0x12f92b['_protocol']=_0x1d6dea);const _0x25f299=_0x3c8a67[_0x417428(0x2ba)][_0x417428(0x2eb)];if(_0x25f299!==void 0x0){if(!_0xc894d2){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x1a9));return;}let _0x35f935;try{_0x35f935=_0x40ce19(_0x25f299);}catch{_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x18f));return;}const _0x5721a2=Object[_0x417428(0x268)](_0x35f935);if(_0x5721a2[_0x417428(0x21e)]!==0x1||_0x5721a2[0x0]!==_0x166efe['extensionName']){_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x23f));return;}try{_0xc894d2[_0x417428(0x171)](_0x35f935[_0x166efe[_0x417428(0x1d5)]]);}catch{_0x41ffc4(_0x12f92b,_0x504c6c,_0x417428(0x18f));return;}_0x12f92b[_0x417428(0x293)][_0x166efe['extensionName']]=_0xc894d2;}_0x12f92b[_0x417428(0x159)](_0x504c6c,_0x56b615,{'allowSynchronousEvents':_0x4b22f0[_0x417428(0x228)],'generateMask':_0x4b22f0['generateMask'],'maxPayload':_0x4b22f0[_0x417428(0x2b3)],'skipUTF8Validation':_0x4b22f0[_0x417428(0x234)]});}),_0x4b22f0['finishRequest']?_0x4b22f0['finishRequest'](_0x574d7f,_0x12f92b):_0x574d7f[_0x2b4014(0x143)]();}function _0x4dfe80(_0x22648d,_0x1bf68f){const _0x320a89=_0x4baa9b;_0x22648d[_0x320a89(0x283)]=_0x5f4353[_0x320a89(0x2df)],_0x22648d['_errorEmitted']=!0x0,_0x22648d['emit'](_0x320a89(0x182),_0x1bf68f),_0x22648d[_0x320a89(0x2b7)]();}function _0x30112e(_0x3cd6de){const _0x2294bd=_0x4baa9b;return _0x3cd6de[_0x2294bd(0x231)]=_0x3cd6de['socketPath'],_0x5df1d9['connect'](_0x3cd6de);}function _0x181d6d(_0x49b528){const _0x25f160=_0x4baa9b;return _0x49b528[_0x25f160(0x231)]=void 0x0,!_0x49b528['servername']&&_0x49b528[_0x25f160(0x27c)]!==''&&(_0x49b528[_0x25f160(0x27c)]=_0x5df1d9['isIP'](_0x49b528[_0x25f160(0x2ca)])?'':_0x49b528[_0x25f160(0x2ca)]),_0xf6b5ea[_0x25f160(0x2ae)](_0x49b528);}function _0x41ffc4(_0x5a9cf7,_0x49a0ac,_0x462b02){const _0x4485e4=_0x4baa9b;_0x5a9cf7[_0x4485e4(0x283)]=_0x5f4353[_0x4485e4(0x2df)];const _0x1d7161=new Error(_0x462b02);Error[_0x4485e4(0x1fd)](_0x1d7161,_0x41ffc4),_0x49a0ac[_0x4485e4(0x20d)]?(_0x49a0ac[_0x15e9c8]=!0x0,_0x49a0ac[_0x4485e4(0x158)](),_0x49a0ac[_0x4485e4(0x2ee)]&&!_0x49a0ac[_0x4485e4(0x2ee)]['destroyed']&&_0x49a0ac[_0x4485e4(0x2ee)][_0x4485e4(0x21f)](),process[_0x4485e4(0x1a4)](_0x4dfe80,_0x5a9cf7,_0x1d7161)):(_0x49a0ac[_0x4485e4(0x21f)](_0x1d7161),_0x49a0ac[_0x4485e4(0x22d)](_0x4485e4(0x182),_0x5a9cf7[_0x4485e4(0x273)][_0x4485e4(0x173)](_0x5a9cf7,_0x4485e4(0x182))),_0x49a0ac[_0x4485e4(0x22d)]('close',_0x5a9cf7[_0x4485e4(0x2b7)][_0x4485e4(0x173)](_0x5a9cf7)));}function _0x2ea3c3(_0x47815e,_0xcad019,_0x30c2b9){const _0xaa6b7b=_0x4baa9b;if(_0xcad019){const _0x11ab3c=_0x4efec7(_0xcad019)?_0xcad019[_0xaa6b7b(0x219)]:_0x21a040(_0xcad019)[_0xaa6b7b(0x21e)];_0x47815e[_0xaa6b7b(0x198)]?_0x47815e[_0xaa6b7b(0x2c7)][_0xaa6b7b(0x291)]+=_0x11ab3c:_0x47815e[_0xaa6b7b(0x177)]+=_0x11ab3c;}if(_0x30c2b9){const _0x3798b5=new Error(_0xaa6b7b(0x1ab)+_0x47815e[_0xaa6b7b(0x280)]+'\x20('+_0x1ac9da[_0x47815e[_0xaa6b7b(0x280)]]+')');process[_0xaa6b7b(0x1a4)](_0x30c2b9,_0x3798b5);}}function _0x51686f(_0x4e9fca,_0x5f18ce){const _0x5e0cfb=_0x4baa9b,_0x3269b1=this[_0x13d4a7];_0x3269b1[_0x5e0cfb(0x2f3)]=!0x0,_0x3269b1[_0x5e0cfb(0x2b4)]=_0x5f18ce,_0x3269b1[_0x5e0cfb(0x2b1)]=_0x4e9fca,_0x3269b1[_0x5e0cfb(0x198)][_0x13d4a7]!==void 0x0&&(_0x3269b1[_0x5e0cfb(0x198)][_0x5e0cfb(0x133)](_0x5e0cfb(0x1a6),_0x4f1bcb),process[_0x5e0cfb(0x1a4)](_0x1c2675,_0x3269b1[_0x5e0cfb(0x198)]),_0x4e9fca===0x3ed?_0x3269b1[_0x5e0cfb(0x15c)]():_0x3269b1[_0x5e0cfb(0x15c)](_0x4e9fca,_0x5f18ce));}function _0x5c3ae7(){const _0x634f75=_0x4baa9b,_0x4de58b=this[_0x13d4a7];_0x4de58b[_0x634f75(0x1ff)]||_0x4de58b[_0x634f75(0x198)][_0x634f75(0x12b)]();}function _0x52f6ce(_0x360ace){const _0x1cad16=_0x4baa9b,_0x276699=this[_0x13d4a7];_0x276699[_0x1cad16(0x198)][_0x13d4a7]!==void 0x0&&(_0x276699[_0x1cad16(0x198)][_0x1cad16(0x133)](_0x1cad16(0x1a6),_0x4f1bcb),process['nextTick'](_0x1c2675,_0x276699['_socket']),_0x276699[_0x1cad16(0x15c)](_0x360ace[_0x122acc])),_0x276699[_0x1cad16(0x170)]||(_0x276699[_0x1cad16(0x170)]=!0x0,_0x276699[_0x1cad16(0x273)]('error',_0x360ace));}function _0x1fe7eb(){const _0x43a7da=_0x4baa9b;this[_0x13d4a7][_0x43a7da(0x2b7)]();}function _0x518c8a(_0x4a73ce,_0x3318fc){const _0x132f1f=_0x4baa9b;this[_0x13d4a7][_0x132f1f(0x273)](_0x132f1f(0x138),_0x4a73ce,_0x3318fc);}function _0x4cd146(_0x4ca0d4){const _0x1a089d=_0x4baa9b,_0x15ed80=this[_0x13d4a7];_0x15ed80['_autoPong']&&_0x15ed80['pong'](_0x4ca0d4,!this[_0x1a089d(0x14c)],_0x6b8db0),_0x15ed80[_0x1a089d(0x273)](_0x1a089d(0x2cc),_0x4ca0d4);}function _0x209a44(_0xbef25){const _0x33b414=_0x4baa9b;this[_0x13d4a7][_0x33b414(0x273)](_0x33b414(0x223),_0xbef25);}function _0x1c2675(_0x5471f6){const _0x3911ac=_0x4baa9b;_0x5471f6[_0x3911ac(0x12b)]();}function _0x248dbe(_0x86c4da){const _0xf29973=_0x4baa9b,_0x1d03b9=this[_0x13d4a7];_0x1d03b9[_0xf29973(0x280)]!==_0x5f4353[_0xf29973(0x2b0)]&&(_0x1d03b9[_0xf29973(0x280)]===_0x5f4353[_0xf29973(0x20a)]&&(_0x1d03b9[_0xf29973(0x283)]=_0x5f4353[_0xf29973(0x2df)],_0x252060(_0x1d03b9)),this['_socket'][_0xf29973(0x143)](),_0x1d03b9[_0xf29973(0x170)]||(_0x1d03b9['_errorEmitted']=!0x0,_0x1d03b9['emit'](_0xf29973(0x182),_0x86c4da)));}function _0x252060(_0x58f903){const _0x484d93=_0x4baa9b;_0x58f903[_0x484d93(0x286)]=setTimeout(_0x58f903['_socket'][_0x484d93(0x21f)]['bind'](_0x58f903[_0x484d93(0x198)]),_0x265d82);}function _0x580c45(){const _0x5c7192=_0x4baa9b,_0x2297d4=this[_0x13d4a7];this[_0x5c7192(0x133)](_0x5c7192(0x15c),_0x580c45),this['removeListener']('data',_0x4f1bcb),this[_0x5c7192(0x133)](_0x5c7192(0x143),_0x8f84fa),_0x2297d4['_readyState']=_0x5f4353['CLOSING'];let _0x2eb3b8;!this[_0x5c7192(0x181)][_0x5c7192(0x130)]&&!_0x2297d4[_0x5c7192(0x2f3)]&&!_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x175)][_0x5c7192(0x19e)]&&(_0x2eb3b8=_0x2297d4[_0x5c7192(0x198)][_0x5c7192(0x288)]())!==null&&_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x160)](_0x2eb3b8),_0x2297d4[_0x5c7192(0x1d2)][_0x5c7192(0x143)](),this[_0x13d4a7]=void 0x0,clearTimeout(_0x2297d4[_0x5c7192(0x286)]),_0x2297d4['_receiver'][_0x5c7192(0x175)][_0x5c7192(0x2a9)]||_0x2297d4['_receiver'][_0x5c7192(0x175)][_0x5c7192(0x19e)]?_0x2297d4['emitClose']():(_0x2297d4[_0x5c7192(0x1d2)]['on'](_0x5c7192(0x182),_0x1fe7eb),_0x2297d4[_0x5c7192(0x1d2)]['on'](_0x5c7192(0x253),_0x1fe7eb));}function _0x4f1bcb(_0x47bebd){const _0x34dc4b=_0x4baa9b;this[_0x13d4a7][_0x34dc4b(0x1d2)][_0x34dc4b(0x160)](_0x47bebd)||this['pause']();}function _0x8f84fa(){const _0x2191b1=_0x4baa9b,_0x507850=this[_0x13d4a7];_0x507850[_0x2191b1(0x283)]=_0x5f4353[_0x2191b1(0x2df)],_0x507850['_receiver'][_0x2191b1(0x143)](),this[_0x2191b1(0x143)]();}function _0x7be166(){const _0x332014=_0x4baa9b,_0x4915bd=this[_0x13d4a7];this[_0x332014(0x133)](_0x332014(0x182),_0x7be166),this['on'](_0x332014(0x182),_0x6b8db0),_0x4915bd&&(_0x4915bd[_0x332014(0x283)]=_0x5f4353[_0x332014(0x2df)],this[_0x332014(0x21f)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1d72f6}=oe;function _0x9f50c9(_0x11df23){const _0x2c1406=_0x2b82;_0x11df23[_0x2c1406(0x273)]('close');}function _0x229c98(){const _0x36f483=_0x2b82;!this[_0x36f483(0x212)]&&this[_0x36f483(0x175)]['finished']&&this[_0x36f483(0x21f)]();}function _0x2fa937(_0x1ba810){const _0x35a775=_0x2b82;this[_0x35a775(0x133)](_0x35a775(0x182),_0x2fa937),this[_0x35a775(0x21f)](),this[_0x35a775(0x265)](_0x35a775(0x182))===0x0&&this['emit']('error',_0x1ba810);}function _0x4ef043(_0x3f7ebc,_0x486180){const _0x48a5ca=_0x2b82;let _0x2b553e=!0x0;const _0x2cdd36=new _0x1d72f6({..._0x486180,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3f7ebc['on']('message',function(_0x3b4cbf,_0x10d00b){const _0x1bfc51=_0x2b82,_0x41f727=!_0x10d00b&&_0x2cdd36[_0x1bfc51(0x181)][_0x1bfc51(0x1a8)]?_0x3b4cbf[_0x1bfc51(0x1cc)]():_0x3b4cbf;_0x2cdd36[_0x1bfc51(0x23b)](_0x41f727)||_0x3f7ebc['pause']();}),_0x3f7ebc['once'](_0x48a5ca(0x182),function(_0x409272){_0x2cdd36['destroyed']||(_0x2b553e=!0x1,_0x2cdd36['destroy'](_0x409272));}),_0x3f7ebc[_0x48a5ca(0x22d)](_0x48a5ca(0x15c),function(){const _0x2a4f8e=_0x48a5ca;_0x2cdd36['destroyed']||_0x2cdd36[_0x2a4f8e(0x23b)](null);}),_0x2cdd36[_0x48a5ca(0x150)]=function(_0x4479e9,_0x536703){const _0x5e74f0=_0x48a5ca;if(_0x3f7ebc['readyState']===_0x3f7ebc['CLOSED']){_0x536703(_0x4479e9),process['nextTick'](_0x9f50c9,_0x2cdd36);return;}let _0x3ad42c=!0x1;_0x3f7ebc[_0x5e74f0(0x22d)](_0x5e74f0(0x182),function(_0x165cd5){_0x3ad42c=!0x0,_0x536703(_0x165cd5);}),_0x3f7ebc[_0x5e74f0(0x22d)](_0x5e74f0(0x15c),function(){const _0xb3dada=_0x5e74f0;_0x3ad42c||_0x536703(_0x4479e9),process[_0xb3dada(0x1a4)](_0x9f50c9,_0x2cdd36);}),_0x2b553e&&_0x3f7ebc['terminate']();},_0x2cdd36[_0x48a5ca(0x18a)]=function(_0x3ac609){const _0x7df0ee=_0x48a5ca;if(_0x3f7ebc[_0x7df0ee(0x280)]===_0x3f7ebc[_0x7df0ee(0x202)]){_0x3f7ebc['once']('open',function(){const _0x5ca558=_0x7df0ee;_0x2cdd36[_0x5ca558(0x18a)](_0x3ac609);});return;}_0x3f7ebc[_0x7df0ee(0x198)]!==null&&(_0x3f7ebc[_0x7df0ee(0x198)]['_writableState'][_0x7df0ee(0x2a9)]?(_0x3ac609(),_0x2cdd36[_0x7df0ee(0x181)]['endEmitted']&&_0x2cdd36[_0x7df0ee(0x21f)]()):(_0x3f7ebc['_socket']['once'](_0x7df0ee(0x253),function(){_0x3ac609();}),_0x3f7ebc[_0x7df0ee(0x15c)]()));},_0x2cdd36[_0x48a5ca(0x22e)]=function(){const _0x167ddb=_0x48a5ca;_0x3f7ebc[_0x167ddb(0x1ff)]&&_0x3f7ebc['resume']();},_0x2cdd36[_0x48a5ca(0x1b8)]=function(_0x566036,_0xea9ba4,_0x38f398){const _0x3041d7=_0x48a5ca;if(_0x3f7ebc[_0x3041d7(0x280)]===_0x3f7ebc['CONNECTING']){_0x3f7ebc[_0x3041d7(0x22d)](_0x3041d7(0x187),function(){const _0x11f9bc=_0x3041d7;_0x2cdd36[_0x11f9bc(0x1b8)](_0x566036,_0xea9ba4,_0x38f398);});return;}_0x3f7ebc['send'](_0x566036,_0x38f398);},_0x2cdd36['on'](_0x48a5ca(0x143),_0x229c98),_0x2cdd36['on'](_0x48a5ca(0x182),_0x2fa937),_0x2cdd36;}return Oe=_0x4ef043,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xaf82fc}=ae();function _0x3c8993(_0x69eb0f){const _0x36f521=_0x2b82,_0x4e3084=new Set();let _0x394778=-0x1,_0x1962fd=-0x1,_0x44ce7a=0x0;for(_0x44ce7a;_0x44ce7a<_0x69eb0f[_0x36f521(0x21e)];_0x44ce7a++){const _0x18df72=_0x69eb0f[_0x36f521(0x236)](_0x44ce7a);if(_0x1962fd===-0x1&&_0xaf82fc[_0x18df72]===0x1)_0x394778===-0x1&&(_0x394778=_0x44ce7a);else{if(_0x44ce7a!==0x0&&(_0x18df72===0x20||_0x18df72===0x9))_0x1962fd===-0x1&&_0x394778!==-0x1&&(_0x1962fd=_0x44ce7a);else{if(_0x18df72===0x2c){if(_0x394778===-0x1)throw new SyntaxError(_0x36f521(0x2f5)+_0x44ce7a);_0x1962fd===-0x1&&(_0x1962fd=_0x44ce7a);const _0x15c967=_0x69eb0f['slice'](_0x394778,_0x1962fd);if(_0x4e3084[_0x36f521(0x2aa)](_0x15c967))throw new SyntaxError(_0x36f521(0x139)+_0x15c967+_0x36f521(0x302));_0x4e3084[_0x36f521(0x266)](_0x15c967),_0x394778=_0x1962fd=-0x1;}else throw new SyntaxError(_0x36f521(0x2f5)+_0x44ce7a);}}}if(_0x394778===-0x1||_0x1962fd!==-0x1)throw new SyntaxError(_0x36f521(0x220));const _0x2cf28b=_0x69eb0f[_0x36f521(0x2bc)](_0x394778,_0x44ce7a);if(_0x4e3084[_0x36f521(0x2aa)](_0x2cf28b))throw new SyntaxError(_0x36f521(0x139)+_0x2cf28b+_0x36f521(0x302));return _0x4e3084[_0x36f521(0x266)](_0x2cf28b),_0x4e3084;}return Ce={'parse':_0x3c8993},Ce;}var Te,rt;function Ft(){const _0x522ae0=_0x256248;if(rt)return Te;rt=0x1;const _0x29d232=nt,_0x2c3414=ot,{Duplex:_0x383786}=oe,{createHash:_0x7cb61}=Le,_0x4cc0a4=ct(),_0xb0a92f=he(),_0x303cea=At(),_0x2b0094=Pe(),{GUID:_0x3dd828,kWebSocket:_0x4dc47f}=H(),_0x4df7ce=/^[+/0-9A-Za-z]{22}==$/,_0x48f53c=0x0,_0x332242=0x1,_0x2f5848=0x2;class _0x1c6cd1 extends _0x29d232{constructor(_0x3903d3,_0x3f9c68){const _0x164350=_0x2b82;if(super(),_0x3903d3={'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':_0x2b0094,..._0x3903d3},_0x3903d3[_0x164350(0x172)]==null&&!_0x3903d3['server']&&!_0x3903d3[_0x164350(0x2a0)]||_0x3903d3[_0x164350(0x172)]!=null&&(_0x3903d3['server']||_0x3903d3[_0x164350(0x2a0)])||_0x3903d3['server']&&_0x3903d3[_0x164350(0x2a0)])throw new TypeError(_0x164350(0x28f));if(_0x3903d3[_0x164350(0x172)]!=null?(this[_0x164350(0x1b4)]=_0x2c3414[_0x164350(0x209)]((_0x5a6043,_0x297b07)=>{const _0x2510ed=_0x164350,_0x5a0a70=_0x2c3414['STATUS_CODES'][0x1aa];_0x297b07[_0x2510ed(0x2d4)](0x1aa,{'Content-Length':_0x5a0a70[_0x2510ed(0x21e)],'Content-Type':_0x2510ed(0x267)}),_0x297b07[_0x2510ed(0x143)](_0x5a0a70);}),this[_0x164350(0x1b4)]['listen'](_0x3903d3[_0x164350(0x172)],_0x3903d3[_0x164350(0x2ca)],_0x3903d3['backlog'],_0x3f9c68)):_0x3903d3[_0x164350(0x19a)]&&(this['_server']=_0x3903d3[_0x164350(0x19a)]),this[_0x164350(0x1b4)]){const _0x436711=this[_0x164350(0x273)][_0x164350(0x173)](this,_0x164350(0x196));this['_removeListeners']=_0x11f245(this[_0x164350(0x1b4)],{'listening':this[_0x164350(0x273)][_0x164350(0x173)](this,_0x164350(0x250)),'error':this['emit'][_0x164350(0x173)](this,_0x164350(0x182)),'upgrade':(_0x51f2c5,_0xfc5d08,_0x421ce4)=>{const _0x5ce96f=_0x164350;this[_0x5ce96f(0x1ae)](_0x51f2c5,_0xfc5d08,_0x421ce4,_0x436711);}});}_0x3903d3[_0x164350(0x2ef)]===!0x0&&(_0x3903d3['perMessageDeflate']={}),_0x3903d3['clientTracking']&&(this[_0x164350(0x1f7)]=new Set(),this[_0x164350(0x2bb)]=!0x1),this[_0x164350(0x208)]=_0x3903d3,this[_0x164350(0x17a)]=_0x48f53c;}['address'](){const _0x1f99f9=_0x2b82;if(this[_0x1f99f9(0x208)][_0x1f99f9(0x2a0)])throw new Error(_0x1f99f9(0x1e8));return this[_0x1f99f9(0x1b4)]?this['_server'][_0x1f99f9(0x2d9)]():null;}[_0x522ae0(0x15c)](_0x2d10c0){const _0x3c117d=_0x522ae0;if(this[_0x3c117d(0x17a)]===_0x2f5848){_0x2d10c0&&this[_0x3c117d(0x22d)](_0x3c117d(0x15c),()=>{_0x2d10c0(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x3c117d(0x1a4)](_0x33a3e0,this);return;}if(_0x2d10c0&&this[_0x3c117d(0x22d)]('close',_0x2d10c0),this['_state']!==_0x332242){if(this['_state']=_0x332242,this[_0x3c117d(0x208)][_0x3c117d(0x2a0)]||this[_0x3c117d(0x208)]['server'])this[_0x3c117d(0x1b4)]&&(this[_0x3c117d(0x1f6)](),this[_0x3c117d(0x1f6)]=this[_0x3c117d(0x1b4)]=null),this[_0x3c117d(0x1f7)]?this[_0x3c117d(0x1f7)][_0x3c117d(0x219)]?this[_0x3c117d(0x2bb)]=!0x0:process[_0x3c117d(0x1a4)](_0x33a3e0,this):process[_0x3c117d(0x1a4)](_0x33a3e0,this);else{const _0x525cd5=this[_0x3c117d(0x1b4)];this[_0x3c117d(0x1f6)](),this[_0x3c117d(0x1f6)]=this[_0x3c117d(0x1b4)]=null,_0x525cd5[_0x3c117d(0x15c)](()=>{_0x33a3e0(this);});}}}[_0x522ae0(0x29b)](_0x2f10a0){const _0x503f99=_0x522ae0;if(this['options'][_0x503f99(0x231)]){const _0x103810=_0x2f10a0[_0x503f99(0x264)][_0x503f99(0x249)]('?');if((_0x103810!==-0x1?_0x2f10a0[_0x503f99(0x264)][_0x503f99(0x2bc)](0x0,_0x103810):_0x2f10a0[_0x503f99(0x264)])!==this[_0x503f99(0x208)][_0x503f99(0x231)])return!0x1;}return!0x0;}[_0x522ae0(0x1ae)](_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8){const _0x77caa5=_0x522ae0;_0x1c0c0a['on']('error',_0x1674cd);const _0x3f1b1a=_0x2dffec['headers'][_0x77caa5(0x2e0)],_0xe1c868=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x1de)],_0x505533=+_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x27e)];if(_0x2dffec[_0x77caa5(0x20f)]!==_0x77caa5(0x21b)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x195,_0x77caa5(0x18e));return;}if(_0xe1c868===void 0x0||_0xe1c868[_0x77caa5(0x2e1)]()!==_0x77caa5(0x235)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x289));return;}if(_0x3f1b1a===void 0x0||!_0x4df7ce[_0x77caa5(0x2b8)](_0x3f1b1a)){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x16d));return;}if(_0x505533!==0x8&&_0x505533!==0xd){_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x1b2));return;}if(!this[_0x77caa5(0x29b)](_0x2dffec)){_0x56c61e(_0x1c0c0a,0x190);return;}const _0x4e29e8=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x227)];let _0x5aa698=new Set();if(_0x4e29e8!==void 0x0)try{_0x5aa698=_0x303cea[_0x77caa5(0x188)](_0x4e29e8);}catch{_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,_0x77caa5(0x2ce));return;}const _0x1de6f5=_0x2dffec[_0x77caa5(0x2ba)][_0x77caa5(0x2eb)],_0x4567cf={};if(this['options'][_0x77caa5(0x2ef)]&&_0x1de6f5!==void 0x0){const _0x4f9a42=new _0xb0a92f(this[_0x77caa5(0x208)][_0x77caa5(0x2ef)],!0x0,this[_0x77caa5(0x208)]['maxPayload']);try{const _0x2f92fe=_0x4cc0a4['parse'](_0x1de6f5);_0x2f92fe[_0xb0a92f[_0x77caa5(0x1d5)]]&&(_0x4f9a42[_0x77caa5(0x171)](_0x2f92fe[_0xb0a92f[_0x77caa5(0x1d5)]]),_0x4567cf[_0xb0a92f[_0x77caa5(0x1d5)]]=_0x4f9a42);}catch{_0x3d9675(this,_0x2dffec,_0x1c0c0a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x77caa5(0x208)][_0x77caa5(0x17e)]){const _0x38bb5b={'origin':_0x2dffec[_0x77caa5(0x2ba)][''+(_0x505533===0x8?_0x77caa5(0x153):_0x77caa5(0x2fe))],'secure':!!(_0x2dffec[_0x77caa5(0x2ee)]['authorized']||_0x2dffec[_0x77caa5(0x2ee)]['encrypted']),'req':_0x2dffec};if(this[_0x77caa5(0x208)][_0x77caa5(0x17e)][_0x77caa5(0x21e)]===0x2){this[_0x77caa5(0x208)][_0x77caa5(0x17e)](_0x38bb5b,(_0x1b8b3e,_0x225848,_0x3472b0,_0x512710)=>{const _0x34d238=_0x77caa5;if(!_0x1b8b3e)return _0x56c61e(_0x1c0c0a,_0x225848||0x191,_0x3472b0,_0x512710);this[_0x34d238(0x1c4)](_0x4567cf,_0x3f1b1a,_0x5aa698,_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8);});return;}if(!this[_0x77caa5(0x208)]['verifyClient'](_0x38bb5b))return _0x56c61e(_0x1c0c0a,0x191);}this[_0x77caa5(0x1c4)](_0x4567cf,_0x3f1b1a,_0x5aa698,_0x2dffec,_0x1c0c0a,_0x4eabe5,_0x40b5b8);}[_0x522ae0(0x1c4)](_0x12d152,_0x33b322,_0x24c9b4,_0x2d972f,_0x20e8fc,_0x5d00cd,_0x5f015d){const _0x194ef9=_0x522ae0;if(!_0x20e8fc['readable']||!_0x20e8fc[_0x194ef9(0x282)])return _0x20e8fc[_0x194ef9(0x21f)]();if(_0x20e8fc[_0x4dc47f])throw new Error(_0x194ef9(0x2dc));if(this['_state']>_0x48f53c)return _0x56c61e(_0x20e8fc,0x1f7);const _0xf91313=[_0x194ef9(0x29e),_0x194ef9(0x1b7),'Connection:\x20Upgrade',_0x194ef9(0x2cf)+_0x7cb61(_0x194ef9(0x204))[_0x194ef9(0x1ed)](_0x33b322+_0x3dd828)[_0x194ef9(0x1d7)](_0x194ef9(0x163))],_0x2e4c82=new this['options'][(_0x194ef9(0x21a))](null,void 0x0,this[_0x194ef9(0x208)]);if(_0x24c9b4[_0x194ef9(0x219)]){const _0x2278fb=this[_0x194ef9(0x208)][_0x194ef9(0x201)]?this['options'][_0x194ef9(0x201)](_0x24c9b4,_0x2d972f):_0x24c9b4[_0x194ef9(0x25e)]()[_0x194ef9(0x217)]()[_0x194ef9(0x176)];_0x2278fb&&(_0xf91313['push'](_0x194ef9(0x1b9)+_0x2278fb),_0x2e4c82[_0x194ef9(0x2d1)]=_0x2278fb);}if(_0x12d152[_0xb0a92f[_0x194ef9(0x1d5)]]){const _0x4d6a07=_0x12d152[_0xb0a92f[_0x194ef9(0x1d5)]][_0x194ef9(0x287)],_0x10bf0d=_0x4cc0a4[_0x194ef9(0x1da)]({[_0xb0a92f[_0x194ef9(0x1d5)]]:[_0x4d6a07]});_0xf91313['push'](_0x194ef9(0x1aa)+_0x10bf0d),_0x2e4c82['_extensions']=_0x12d152;}this[_0x194ef9(0x273)](_0x194ef9(0x2ba),_0xf91313,_0x2d972f),_0x20e8fc[_0x194ef9(0x160)](_0xf91313[_0x194ef9(0x1db)]('\x0d\x0a')['join']('\x0d\x0a')),_0x20e8fc[_0x194ef9(0x133)](_0x194ef9(0x182),_0x1674cd),_0x2e4c82['setSocket'](_0x20e8fc,_0x5d00cd,{'allowSynchronousEvents':this[_0x194ef9(0x208)][_0x194ef9(0x228)],'maxPayload':this[_0x194ef9(0x208)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x194ef9(0x1f7)]&&(this[_0x194ef9(0x1f7)][_0x194ef9(0x266)](_0x2e4c82),_0x2e4c82['on'](_0x194ef9(0x15c),()=>{const _0x4a086a=_0x194ef9;this[_0x4a086a(0x1f7)][_0x4a086a(0x1e6)](_0x2e4c82),this['_shouldEmitClose']&&!this[_0x4a086a(0x1f7)][_0x4a086a(0x219)]&&process[_0x4a086a(0x1a4)](_0x33a3e0,this);})),_0x5f015d(_0x2e4c82,_0x2d972f);}}Te=_0x1c6cd1;function _0x11f245(_0x380917,_0xf6758){const _0x17d4d6=_0x522ae0;for(const _0x5f07f9 of Object[_0x17d4d6(0x268)](_0xf6758))_0x380917['on'](_0x5f07f9,_0xf6758[_0x5f07f9]);return function(){const _0x304459=_0x17d4d6;for(const _0x4c7855 of Object[_0x304459(0x268)](_0xf6758))_0x380917[_0x304459(0x133)](_0x4c7855,_0xf6758[_0x4c7855]);};}function _0x33a3e0(_0x155c9c){const _0x543468=_0x522ae0;_0x155c9c['_state']=_0x2f5848,_0x155c9c[_0x543468(0x273)]('close');}function _0x1674cd(){this['destroy']();}function _0x56c61e(_0x43b8ee,_0x2d33cb,_0x2ac8f6,_0x27a1ad){const _0x36f26c=_0x522ae0;_0x2ac8f6=_0x2ac8f6||_0x2c3414['STATUS_CODES'][_0x2d33cb],_0x27a1ad={'Connection':'close','Content-Type':_0x36f26c(0x272),'Content-Length':Buffer['byteLength'](_0x2ac8f6),..._0x27a1ad},_0x43b8ee[_0x36f26c(0x22d)](_0x36f26c(0x253),_0x43b8ee['destroy']),_0x43b8ee[_0x36f26c(0x143)](_0x36f26c(0x232)+_0x2d33cb+'\x20'+_0x2c3414[_0x36f26c(0x279)][_0x2d33cb]+'\x0d\x0a'+Object['keys'](_0x27a1ad)[_0x36f26c(0x2de)](_0x418958=>_0x418958+':\x20'+_0x27a1ad[_0x418958])[_0x36f26c(0x296)]('\x0d\x0a')+_0x36f26c(0x2c8)+_0x2ac8f6);}function _0x3d9675(_0x50abe6,_0x20c7f5,_0x1e3f43,_0x1934e7,_0x19c756){const _0xb2954e=_0x522ae0;if(_0x50abe6[_0xb2954e(0x265)](_0xb2954e(0x1a2))){const _0x5c3ca8=new Error(_0x19c756);Error[_0xb2954e(0x1fd)](_0x5c3ca8,_0x3d9675),_0x50abe6[_0xb2954e(0x273)]('wsClientError',_0x5c3ca8,_0x1e3f43,_0x20c7f5);}else _0x56c61e(_0x1e3f43,_0x1934e7,_0x19c756);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0xad6723,_0x22983a,_0x14043e,_0x3eca09)=>{for(var _0x49e258=_0x3eca09>0x1?void 0x0:_0x3eca09?jt(_0x22983a,_0x14043e):_0x22983a,_0xb9e377=_0xad6723['length']-0x1,_0xb56b72;_0xb9e377>=0x0;_0xb9e377--)(_0xb56b72=_0xad6723[_0xb9e377])&&(_0x49e258=_0xb56b72(_0x49e258)||_0x49e258);return _0x49e258;},qt=(_0x5eb392,_0x165505)=>(_0x2d6765,_0x2dd698)=>_0x165505(_0x2d6765,_0x2dd698,_0x5eb392);let ke=class extends A[_0x256248(0x18b)]{constructor(_0x440365){super(),this['_configService']=_0x440365;}['createSocket'](_0x466879){const _0x1521b5=_0x256248;var _0x614013;const _0x33f4c9=(_0x614013=this['_configService'][_0x1521b5(0x26b)](fe))==null?void 0x0:_0x614013['customHeaders'];try{const _0x1ab7a7=new $t(_0x466879,{'headers':{..._0x33f4c9}}),_0x223f4c=new A[(_0x1521b5(0x300))]();return{'URL':_0x466879,'close':(_0x2e5241,_0x3788a9)=>{const _0x43034c=_0x1521b5;_0x1ab7a7['close'](_0x2e5241,_0x3788a9),_0x223f4c[_0x43034c(0x1b0)]();},'send':_0x3c6443=>{const _0x2abc18=_0x1521b5;_0x1ab7a7[_0x2abc18(0x2a8)](_0x3c6443);},'open$':new V[(_0x1521b5(0x1d9))](_0x34ae85=>{const _0x373d20=_0x1521b5,_0x4f5626=_0x5636db=>_0x34ae85[_0x373d20(0x217)](_0x5636db);_0x1ab7a7[_0x373d20(0x142)](_0x373d20(0x187),_0x4f5626),_0x223f4c[_0x373d20(0x266)](A[_0x373d20(0x230)](()=>_0x1ab7a7[_0x373d20(0x155)]('open',_0x4f5626)));})[_0x1521b5(0x2d0)](V[_0x1521b5(0x1e0)]()),'close$':new V['Observable'](_0x3a0a1f=>{const _0x36cc96=_0x1521b5,_0x3ad672=_0x4fb20c=>_0x3a0a1f[_0x36cc96(0x217)](_0x4fb20c);_0x1ab7a7['addEventListener']('close',_0x3ad672),_0x223f4c[_0x36cc96(0x266)](A['toDisposable'](()=>_0x1ab7a7['removeEventListener'](_0x36cc96(0x15c),_0x3ad672)));})[_0x1521b5(0x2d0)](V['share']()),'error$':new V[(_0x1521b5(0x1d9))](_0x47932f=>{const _0x1c493f=_0x1521b5,_0x504369=_0x338c57=>_0x47932f[_0x1c493f(0x217)](_0x338c57);_0x1ab7a7[_0x1c493f(0x142)](_0x1c493f(0x182),_0x504369),_0x223f4c[_0x1c493f(0x266)](A[_0x1c493f(0x230)](()=>_0x1ab7a7[_0x1c493f(0x155)](_0x1c493f(0x182),_0x504369)));})[_0x1521b5(0x2d0)](V[_0x1521b5(0x1e0)]()),'message$':new V[(_0x1521b5(0x1d9))](_0x53e713=>{const _0xd700d8=_0x1521b5,_0x43ec93=_0x51140b=>_0x53e713['next'](_0x51140b);_0x1ab7a7[_0xd700d8(0x142)](_0xd700d8(0x138),_0x43ec93),_0x223f4c['add'](A[_0xd700d8(0x230)](()=>_0x1ab7a7['removeEventListener'](_0xd700d8(0x138),_0x43ec93)));})['pipe'](V[_0x1521b5(0x1e0)]())};}catch(_0x16901d){return console[_0x1521b5(0x182)](_0x16901d),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x256248(0x269)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x2e65c3,_0xf8e49f,_0xe14bf3)=>_0xf8e49f in _0x2e65c3?Gt(_0x2e65c3,_0xf8e49f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe14bf3}):_0x2e65c3[_0xf8e49f]=_0xe14bf3,zt=(_0x1460c8,_0x1f2143,_0x3553b4,_0x5c3c21)=>{const _0x1b8707=_0x256248;for(var _0x2b0536=_0x5c3c21>0x1?void 0x0:_0x5c3c21?Vt(_0x1f2143,_0x3553b4):_0x1f2143,_0x166660=_0x1460c8[_0x1b8707(0x21e)]-0x1,_0x423ec5;_0x166660>=0x0;_0x166660--)(_0x423ec5=_0x1460c8[_0x166660])&&(_0x2b0536=_0x423ec5(_0x2b0536)||_0x2b0536);return _0x2b0536;},Ne=(_0x1d8df7,_0x1c0a86)=>(_0x7f3c9f,_0x320706)=>_0x1c0a86(_0x7f3c9f,_0x320706,_0x1d8df7),Yt=(_0x145937,_0x5df19f,_0x3adf84)=>Ht(_0x145937,_0x5df19f+'',_0x3adf84);exports[_0x256248(0x242)]=class extends A[_0x256248(0x252)]{constructor(_0x5c0052=Ct,_0x5c5525,_0x1fe5c9,_0x412aa4){const _0xade654=_0x256248;_0x5c0052[_0xade654(0x164)]||_0x5c5525[_0xade654(0x24d)](_0xade654(0x25c)),super(),this[_0xade654(0x18d)]=_0x1fe5c9,this[_0xade654(0x241)]=_0x412aa4,this[_0xade654(0x18d)]['setConfig'](fe,_0x5c0052);}[_0x256248(0x270)](){const _0x3384f6=_0x256248;this[_0x3384f6(0x1ce)]();}['_registerDependencies'](){const _0x239d85=_0x256248;A[_0x239d85(0x27d)](this[_0x239d85(0x241)],[[it[_0x239d85(0x2ea)],{'useClass':ke}]]);}},Yt(exports[_0x256248(0x242)],_0x256248(0x1fa),_0x256248(0x2ac)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x256248(0x25b)](st[_0x256248(0x1a1)]),Ne(0x1,A[_0x256248(0x29d)]),Ne(0x2,A[_0x256248(0x1e4)]),Ne(0x3,A['Inject'](A[_0x256248(0x275)]))],exports[_0x256248(0x242)]);var Kt=Object[_0x256248(0x2c0)],Xt=(_0x5d1b04,_0x5da140,_0x367636,_0x1cd59c)=>{for(var _0x5cad5=_0x1cd59c>0x1?void 0x0:_0x1cd59c?Kt(_0x5da140,_0x367636):_0x5da140,_0x19f280=_0x5d1b04['length']-0x1,_0x295075;_0x19f280>=0x0;_0x19f280--)(_0x295075=_0x5d1b04[_0x19f280])&&(_0x5cad5=_0x295075(_0x5cad5)||_0x5cad5);return _0x5cad5;},ne=(_0x3ed45a,_0x104412)=>(_0x3fc304,_0x5ade44)=>_0x104412(_0x3fc304,_0x5ade44,_0x3ed45a);exports['NodeCollaborationSocketService']=class extends st[_0x256248(0x207)]{constructor(_0x59e291,_0x14279a,_0xa4945,_0x25219c,_0x15669c){const _0x413d67=_0x256248;super(_0x59e291,_0x14279a,_0xa4945,_0x25219c,_0x15669c);const _0x18b703=this[_0x413d67(0x18d)]['getConfig'](fe);this[_0x413d67(0x2f4)][_0x413d67(0x2cb)]({'interceptor':(_0x4bdb54,_0x11b611)=>{const _0x271f5b=_0x413d67;var _0x2caf3a;const _0x44978f=_0x4bdb54[_0x271f5b(0x2ba)];return(_0x2caf3a=_0x18b703==null?void 0x0:_0x18b703[_0x271f5b(0x164)])!=null&&_0x2caf3a[_0x271f5b(0x1c1)]&&_0x44978f[_0x271f5b(0x1ea)](_0x271f5b(0x1f5),_0x18b703['customHeaders'][_0x271f5b(0x1c1)]),_0x11b611(_0x4bdb54);}});}async[_0x256248(0x2a2)](_0x240f0e){const _0x11d1c2=_0x256248;return this[_0x11d1c2(0x221)](_0x240f0e);}},exports[_0x256248(0x211)]=Xt([ne(0x0,A[_0x256248(0x1f2)](A['Injector'])),ne(0x1,A[_0x256248(0x1f2)](it[_0x256248(0x1bb)])),ne(0x2,A[_0x256248(0x1e4)]),ne(0x3,A[_0x256248(0x29d)]),ne(0x4,Ot[_0x256248(0x1d3)])],exports['NodeCollaborationSocketService']),exports[_0x256248(0x12e)]=fe;
1
+ 'use strict';const _0x56bd5a=_0x52cf;(function(_0x320af3,_0x943490){const _0x447438=_0x52cf,_0x3a048d=_0x320af3();while(!![]){try{const _0x179f3f=parseInt(_0x447438(0x17f))/0x1*(-parseInt(_0x447438(0x244))/0x2)+parseInt(_0x447438(0x1da))/0x3+-parseInt(_0x447438(0x17a))/0x4*(-parseInt(_0x447438(0x233))/0x5)+-parseInt(_0x447438(0x1dd))/0x6*(parseInt(_0x447438(0x141))/0x7)+parseInt(_0x447438(0x1f5))/0x8+parseInt(_0x447438(0x208))/0x9+-parseInt(_0x447438(0x1d0))/0xa*(parseInt(_0x447438(0x270))/0xb);if(_0x179f3f===_0x943490)break;else _0x3a048d['push'](_0x3a048d['shift']());}catch(_0x167f0e){_0x3a048d['push'](_0x3a048d['shift']());}}}(_0xe169,0x7ab66));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x56bd5a(0x28c)});const st=require(_0x56bd5a(0x178)),A=require(_0x56bd5a(0x24b)),it=require('@univerjs/network'),V=require('rxjs'),nt=require(_0x56bd5a(0x15e)),vt=require(_0x56bd5a(0x211)),ot=require(_0x56bd5a(0x2b4)),St=require(_0x56bd5a(0x19b)),Et=require(_0x56bd5a(0x295)),Le=require(_0x56bd5a(0x2c7)),oe=require(_0x56bd5a(0x1d2)),xt=require(_0x56bd5a(0x18f)),bt=require(_0x56bd5a(0x12a)),wt=require(_0x56bd5a(0x219)),Ot=require(_0x56bd5a(0x155)),fe=_0x56bd5a(0x278),Ct={'customHeaders':{}};function Tt(_0x2d9121){const _0x52e95d=_0x56bd5a;return _0x2d9121&&_0x2d9121['__esModule']&&Object[_0x52e95d(0x11d)]['hasOwnProperty'][_0x52e95d(0x215)](_0x2d9121,'default')?_0x2d9121[_0x52e95d(0x15a)]:_0x2d9121;}function at(_0x86ffc3){const _0x3c7ae5=_0x56bd5a;if(Object[_0x3c7ae5(0x11d)]['hasOwnProperty'][_0x3c7ae5(0x215)](_0x86ffc3,_0x3c7ae5(0x2c6)))return _0x86ffc3;var _0x3e483b=_0x86ffc3['default'];if(typeof _0x3e483b==_0x3c7ae5(0x12c)){var _0x7b150b=function _0x2162ab(){const _0x4b3872=_0x3c7ae5;return this instanceof _0x2162ab?Reflect[_0x4b3872(0x236)](_0x3e483b,arguments,this['constructor']):_0x3e483b['apply'](this,arguments);};_0x7b150b[_0x3c7ae5(0x11d)]=_0x3e483b[_0x3c7ae5(0x11d)];}else _0x7b150b={};return Object[_0x3c7ae5(0x2c8)](_0x7b150b,_0x3c7ae5(0x2c6),{'value':!0x0}),Object[_0x3c7ae5(0x11c)](_0x86ffc3)['forEach'](function(_0x13f6ac){const _0x326c74=_0x3c7ae5;var _0x22f72f=Object[_0x326c74(0x1c6)](_0x86ffc3,_0x13f6ac);Object[_0x326c74(0x2c8)](_0x7b150b,_0x13f6ac,_0x22f72f[_0x326c74(0x2a2)]?_0x22f72f:{'enumerable':!0x0,'get':function(){return _0x86ffc3[_0x13f6ac];}});}),_0x7b150b;}var se={'exports':{}},ge,Ge;function H(){const _0x4afc2e=_0x56bd5a;if(Ge)return ge;Ge=0x1;const _0x1b9b7b=[_0x4afc2e(0x14f),_0x4afc2e(0x246),_0x4afc2e(0x17e)],_0x2d406f=typeof Blob<'u';return _0x2d406f&&_0x1b9b7b['push'](_0x4afc2e(0x291)),ge={'BINARY_TYPES':_0x1b9b7b,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x4afc2e(0x130),'hasBlob':_0x2d406f,'kForOnEventAttribute':Symbol(_0x4afc2e(0x21b)),'kListener':Symbol(_0x4afc2e(0x13f)),'kStatusCode':Symbol(_0x4afc2e(0x222)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x56bd5a(0x184)](Object[_0x56bd5a(0x2c8)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x56bd5a(0x28c)})),Lt=at(kt);var Ve;function ce(){const _0x354598=_0x56bd5a;if(Ve)return se[_0x354598(0x21c)];Ve=0x1;const {EMPTY_BUFFER:_0x1f65f3}=H(),_0x17a479=Buffer[Symbol['species']];function _0x76b2f1(_0x25081c,_0x41e1a8){const _0x381393=_0x354598;if(_0x25081c[_0x381393(0x1fb)]===0x0)return _0x1f65f3;if(_0x25081c[_0x381393(0x1fb)]===0x1)return _0x25081c[0x0];const _0xc1ef50=Buffer[_0x381393(0x172)](_0x41e1a8);let _0x38f6f3=0x0;for(let _0x2ee824=0x0;_0x2ee824<_0x25081c[_0x381393(0x1fb)];_0x2ee824++){const _0x5e8904=_0x25081c[_0x2ee824];_0xc1ef50[_0x381393(0x128)](_0x5e8904,_0x38f6f3),_0x38f6f3+=_0x5e8904[_0x381393(0x1fb)];}return _0x38f6f3<_0x41e1a8?new _0x17a479(_0xc1ef50['buffer'],_0xc1ef50[_0x381393(0x1f9)],_0x38f6f3):_0xc1ef50;}function _0x2fb740(_0x206c2f,_0x25bd52,_0x562f70,_0x5cb58c,_0x435a83){for(let _0x36f5b2=0x0;_0x36f5b2<_0x435a83;_0x36f5b2++)_0x562f70[_0x5cb58c+_0x36f5b2]=_0x206c2f[_0x36f5b2]^_0x25bd52[_0x36f5b2&0x3];}function _0xce1ea0(_0x4dba99,_0x87bef8){const _0x42fab9=_0x354598;for(let _0x4596fd=0x0;_0x4596fd<_0x4dba99[_0x42fab9(0x1fb)];_0x4596fd++)_0x4dba99[_0x4596fd]^=_0x87bef8[_0x4596fd&0x3];}function _0x7cd58(_0x288706){const _0x12f1d7=_0x354598;return _0x288706[_0x12f1d7(0x1fb)]===_0x288706[_0x12f1d7(0x219)][_0x12f1d7(0x266)]?_0x288706[_0x12f1d7(0x219)]:_0x288706[_0x12f1d7(0x219)][_0x12f1d7(0x255)](_0x288706[_0x12f1d7(0x1f9)],_0x288706['byteOffset']+_0x288706['length']);}function _0x14b3da(_0x5e95fa){const _0x3f0cdf=_0x354598;if(_0x14b3da[_0x3f0cdf(0x175)]=!0x0,Buffer[_0x3f0cdf(0x23f)](_0x5e95fa))return _0x5e95fa;let _0x158dbe;return _0x5e95fa instanceof ArrayBuffer?_0x158dbe=new _0x17a479(_0x5e95fa):ArrayBuffer['isView'](_0x5e95fa)?_0x158dbe=new _0x17a479(_0x5e95fa['buffer'],_0x5e95fa[_0x3f0cdf(0x1f9)],_0x5e95fa[_0x3f0cdf(0x266)]):(_0x158dbe=Buffer[_0x3f0cdf(0x1d3)](_0x5e95fa),_0x14b3da['readOnly']=!0x1),_0x158dbe;}if(se[_0x354598(0x21c)]={'concat':_0x76b2f1,'mask':_0x2fb740,'toArrayBuffer':_0x7cd58,'toBuffer':_0x14b3da,'unmask':_0xce1ea0},!process[_0x354598(0x25d)][_0x354598(0x227)])try{const _0x14a318=Lt;se['exports'][_0x354598(0x272)]=function(_0x1b406e,_0x49f05e,_0x1b8cd7,_0xb1b002,_0x33b321){_0x33b321<0x30?_0x2fb740(_0x1b406e,_0x49f05e,_0x1b8cd7,_0xb1b002,_0x33b321):_0x14a318['mask'](_0x1b406e,_0x49f05e,_0x1b8cd7,_0xb1b002,_0x33b321);},se[_0x354598(0x21c)]['unmask']=function(_0x4914ed,_0x33b11c){const _0x56b0ee=_0x354598;_0x4914ed[_0x56b0ee(0x1fb)]<0x20?_0xce1ea0(_0x4914ed,_0x33b11c):_0x14a318[_0x56b0ee(0x226)](_0x4914ed,_0x33b11c);};}catch{}return se[_0x354598(0x21c)];}var ye,He;function Pt(){const _0x5652b7=_0x56bd5a;if(He)return ye;He=0x1;const _0x1be246=Symbol(_0x5652b7(0x2a3)),_0x3daf23=Symbol(_0x5652b7(0x183));class _0x43ec3e{constructor(_0x38e0da){const _0x34a8ca=_0x5652b7;this[_0x1be246]=()=>{const _0x4512b9=_0x52cf;this[_0x4512b9(0x146)]--,this[_0x3daf23]();},this[_0x34a8ca(0x1f4)]=_0x38e0da||0x1/0x0,this[_0x34a8ca(0x2c3)]=[],this[_0x34a8ca(0x146)]=0x0;}[_0x5652b7(0x2d0)](_0x2f7424){const _0x2717d0=_0x5652b7;this[_0x2717d0(0x2c3)]['push'](_0x2f7424),this[_0x3daf23]();}[_0x3daf23](){const _0x40f71b=_0x5652b7;if(this[_0x40f71b(0x146)]!==this[_0x40f71b(0x1f4)]&&this[_0x40f71b(0x2c3)]['length']){const _0x262627=this[_0x40f71b(0x2c3)][_0x40f71b(0x29d)]();this[_0x40f71b(0x146)]++,_0x262627(this[_0x1be246]);}}}return ye=_0x43ec3e,ye;}var ve,ze;function he(){const _0x145afd=_0x56bd5a;if(ze)return ve;ze=0x1;const _0x2ef3c2=bt,_0x1a2a3e=ce(),_0x5066d4=Pt(),{kStatusCode:_0x549132}=H(),_0x5a8e8f=Buffer[Symbol[_0x145afd(0x2d8)]],_0x3ef50e=Buffer['from']([0x0,0x0,0xff,0xff]),_0x2e6af2=Symbol(_0x145afd(0x229)),_0x409308=Symbol('total-length'),_0x20cabf=Symbol('callback'),_0x52fecd=Symbol(_0x145afd(0x265)),_0x347f6d=Symbol(_0x145afd(0x205));let _0x1917d1;class _0x3ac25b{constructor(_0x28c781,_0x7d855a,_0x430875){const _0x2c0eae=_0x145afd;if(this[_0x2c0eae(0x110)]=_0x430875|0x0,this['_options']=_0x28c781||{},this[_0x2c0eae(0x14d)]=this[_0x2c0eae(0x1ff)]['threshold']!==void 0x0?this[_0x2c0eae(0x1ff)]['threshold']:0x400,this[_0x2c0eae(0x26a)]=!!_0x7d855a,this['_deflate']=null,this[_0x2c0eae(0x149)]=null,this[_0x2c0eae(0x262)]=null,!_0x1917d1){const _0xcb3606=this[_0x2c0eae(0x1ff)][_0x2c0eae(0x29e)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x1917d1=new _0x5066d4(_0xcb3606);}}static get[_0x145afd(0x240)](){const _0x5ce0fb=_0x145afd;return _0x5ce0fb(0x229);}[_0x145afd(0x154)](){const _0x460b7f=_0x145afd,_0x320c89={};return this[_0x460b7f(0x1ff)][_0x460b7f(0x22e)]&&(_0x320c89[_0x460b7f(0x1ca)]=!0x0),this[_0x460b7f(0x1ff)][_0x460b7f(0x257)]&&(_0x320c89[_0x460b7f(0x21e)]=!0x0),this[_0x460b7f(0x1ff)]['serverMaxWindowBits']&&(_0x320c89[_0x460b7f(0x115)]=this[_0x460b7f(0x1ff)][_0x460b7f(0x2c9)]),this[_0x460b7f(0x1ff)]['clientMaxWindowBits']?_0x320c89['client_max_window_bits']=this[_0x460b7f(0x1ff)][_0x460b7f(0x162)]:this[_0x460b7f(0x1ff)][_0x460b7f(0x162)]==null&&(_0x320c89[_0x460b7f(0x1c4)]=!0x0),_0x320c89;}[_0x145afd(0x1e6)](_0x483420){const _0x329902=_0x145afd;return _0x483420=this[_0x329902(0x165)](_0x483420),this[_0x329902(0x262)]=this[_0x329902(0x26a)]?this['acceptAsServer'](_0x483420):this[_0x329902(0x1a2)](_0x483420),this[_0x329902(0x262)];}[_0x145afd(0x276)](){const _0x4fe11b=_0x145afd;if(this[_0x4fe11b(0x149)]&&(this[_0x4fe11b(0x149)][_0x4fe11b(0x23c)](),this[_0x4fe11b(0x149)]=null),this[_0x4fe11b(0x26b)]){const _0x3154bd=this['_deflate'][_0x20cabf];this[_0x4fe11b(0x26b)][_0x4fe11b(0x23c)](),this['_deflate']=null,_0x3154bd&&_0x3154bd(new Error(_0x4fe11b(0x1af)));}}[_0x145afd(0x170)](_0x2d8106){const _0x151f43=_0x145afd,_0x34043a=this[_0x151f43(0x1ff)],_0x1dc7fe=_0x2d8106['find'](_0x1a78a2=>!(_0x34043a['serverNoContextTakeover']===!0x1&&_0x1a78a2[_0x151f43(0x1ca)]||_0x1a78a2[_0x151f43(0x115)]&&(_0x34043a[_0x151f43(0x2c9)]===!0x1||typeof _0x34043a[_0x151f43(0x2c9)]=='number'&&_0x34043a[_0x151f43(0x2c9)]>_0x1a78a2['server_max_window_bits'])||typeof _0x34043a['clientMaxWindowBits']==_0x151f43(0x15d)&&!_0x1a78a2[_0x151f43(0x1c4)]));if(!_0x1dc7fe)throw new Error(_0x151f43(0x12d));return _0x34043a[_0x151f43(0x22e)]&&(_0x1dc7fe['server_no_context_takeover']=!0x0),_0x34043a[_0x151f43(0x257)]&&(_0x1dc7fe[_0x151f43(0x21e)]=!0x0),typeof _0x34043a[_0x151f43(0x2c9)]=='number'&&(_0x1dc7fe[_0x151f43(0x115)]=_0x34043a[_0x151f43(0x2c9)]),typeof _0x34043a['clientMaxWindowBits']==_0x151f43(0x15d)?_0x1dc7fe[_0x151f43(0x1c4)]=_0x34043a[_0x151f43(0x162)]:(_0x1dc7fe[_0x151f43(0x1c4)]===!0x0||_0x34043a['clientMaxWindowBits']===!0x1)&&delete _0x1dc7fe['client_max_window_bits'],_0x1dc7fe;}[_0x145afd(0x1a2)](_0x4b3c5d){const _0x494e5d=_0x145afd,_0x3dfd3f=_0x4b3c5d[0x0];if(this[_0x494e5d(0x1ff)]['clientNoContextTakeover']===!0x1&&_0x3dfd3f['client_no_context_takeover'])throw new Error(_0x494e5d(0x18c));if(!_0x3dfd3f[_0x494e5d(0x1c4)])typeof this['_options'][_0x494e5d(0x162)]==_0x494e5d(0x15d)&&(_0x3dfd3f[_0x494e5d(0x1c4)]=this['_options'][_0x494e5d(0x162)]);else{if(this[_0x494e5d(0x1ff)][_0x494e5d(0x162)]===!0x1||typeof this[_0x494e5d(0x1ff)]['clientMaxWindowBits']==_0x494e5d(0x15d)&&_0x3dfd3f[_0x494e5d(0x1c4)]>this[_0x494e5d(0x1ff)][_0x494e5d(0x162)])throw new Error(_0x494e5d(0x2cc));}return _0x3dfd3f;}['normalizeParams'](_0x11df84){const _0x307635=_0x145afd;return _0x11df84[_0x307635(0x274)](_0x400bfb=>{const _0x47c145=_0x307635;Object[_0x47c145(0x11c)](_0x400bfb)[_0x47c145(0x274)](_0x53923e=>{const _0x3970e3=_0x47c145;let _0x31a508=_0x400bfb[_0x53923e];if(_0x31a508[_0x3970e3(0x1fb)]>0x1)throw new Error(_0x3970e3(0x1be)+_0x53923e+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x31a508=_0x31a508[0x0],_0x53923e===_0x3970e3(0x1c4)){if(_0x31a508!==!0x0){const _0x13690a=+_0x31a508;if(!Number[_0x3970e3(0x24c)](_0x13690a)||_0x13690a<0x8||_0x13690a>0xf)throw new TypeError(_0x3970e3(0x22c)+_0x53923e+_0x3970e3(0x26c)+_0x31a508);_0x31a508=_0x13690a;}else{if(!this[_0x3970e3(0x26a)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x53923e+'\x22:\x20'+_0x31a508);}}else{if(_0x53923e==='server_max_window_bits'){const _0x36ae52=+_0x31a508;if(!Number[_0x3970e3(0x24c)](_0x36ae52)||_0x36ae52<0x8||_0x36ae52>0xf)throw new TypeError(_0x3970e3(0x22c)+_0x53923e+'\x22:\x20'+_0x31a508);_0x31a508=_0x36ae52;}else{if(_0x53923e===_0x3970e3(0x21e)||_0x53923e===_0x3970e3(0x1ca)){if(_0x31a508!==!0x0)throw new TypeError(_0x3970e3(0x22c)+_0x53923e+_0x3970e3(0x26c)+_0x31a508);}else throw new Error(_0x3970e3(0x1ee)+_0x53923e+'\x22');}}_0x400bfb[_0x53923e]=_0x31a508;});}),_0x11df84;}[_0x145afd(0x280)](_0x3f2620,_0x558148,_0x5d5802){const _0x28ba54=_0x145afd;_0x1917d1[_0x28ba54(0x2d0)](_0x535b98=>{const _0x438784=_0x28ba54;this[_0x438784(0x195)](_0x3f2620,_0x558148,(_0x25b6ce,_0x161bf6)=>{_0x535b98(),_0x5d5802(_0x25b6ce,_0x161bf6);});});}['compress'](_0xad12f,_0x1bf9f9,_0x2b963e){const _0x411f79=_0x145afd;_0x1917d1[_0x411f79(0x2d0)](_0x3005b9=>{this['_compress'](_0xad12f,_0x1bf9f9,(_0x17f610,_0xf679dd)=>{_0x3005b9(),_0x2b963e(_0x17f610,_0xf679dd);});});}[_0x145afd(0x195)](_0x2c8cd2,_0x121792,_0x23fb4a){const _0x596e09=_0x145afd,_0x4d5a23=this[_0x596e09(0x26a)]?'client':_0x596e09(0x2d5);if(!this[_0x596e09(0x149)]){const _0x52b441=_0x4d5a23+_0x596e09(0x160),_0x4d60aa=typeof this[_0x596e09(0x262)][_0x52b441]!=_0x596e09(0x15d)?_0x2ef3c2[_0x596e09(0x27b)]:this['params'][_0x52b441];this['_inflate']=_0x2ef3c2[_0x596e09(0x1b6)]({...this[_0x596e09(0x1ff)][_0x596e09(0x264)],'windowBits':_0x4d60aa}),this[_0x596e09(0x149)][_0x2e6af2]=this,this[_0x596e09(0x149)][_0x409308]=0x0,this['_inflate'][_0x52fecd]=[],this[_0x596e09(0x149)]['on'](_0x596e09(0x205),_0x11830e),this[_0x596e09(0x149)]['on'](_0x596e09(0x275),_0x5a4341);}this[_0x596e09(0x149)][_0x20cabf]=_0x23fb4a,this[_0x596e09(0x149)]['write'](_0x2c8cd2),_0x121792&&this['_inflate']['write'](_0x3ef50e),this[_0x596e09(0x149)][_0x596e09(0x12e)](()=>{const _0x1f47a5=_0x596e09,_0x5107b7=this[_0x1f47a5(0x149)][_0x347f6d];if(_0x5107b7){this[_0x1f47a5(0x149)]['close'](),this[_0x1f47a5(0x149)]=null,_0x23fb4a(_0x5107b7);return;}const _0x3e04fc=_0x1a2a3e[_0x1f47a5(0x199)](this['_inflate'][_0x52fecd],this[_0x1f47a5(0x149)][_0x409308]);this['_inflate'][_0x1f47a5(0x28a)]['endEmitted']?(this[_0x1f47a5(0x149)][_0x1f47a5(0x23c)](),this[_0x1f47a5(0x149)]=null):(this[_0x1f47a5(0x149)][_0x409308]=0x0,this[_0x1f47a5(0x149)][_0x52fecd]=[],_0x121792&&this[_0x1f47a5(0x262)][_0x4d5a23+'_no_context_takeover']&&this[_0x1f47a5(0x149)][_0x1f47a5(0x17c)]()),_0x23fb4a(null,_0x3e04fc);});}[_0x145afd(0x138)](_0x5759bc,_0x24bffe,_0x49e4e6){const _0x1ae058=_0x145afd,_0x350bc2=this[_0x1ae058(0x26a)]?_0x1ae058(0x2d5):'client';if(!this['_deflate']){const _0x1a2869=_0x350bc2+_0x1ae058(0x160),_0x22c616=typeof this['params'][_0x1a2869]!=_0x1ae058(0x15d)?_0x2ef3c2['Z_DEFAULT_WINDOWBITS']:this['params'][_0x1a2869];this[_0x1ae058(0x26b)]=_0x2ef3c2['createDeflateRaw']({...this[_0x1ae058(0x1ff)]['zlibDeflateOptions'],'windowBits':_0x22c616}),this['_deflate'][_0x409308]=0x0,this[_0x1ae058(0x26b)][_0x52fecd]=[],this[_0x1ae058(0x26b)]['on'](_0x1ae058(0x275),_0x4e5f04);}this[_0x1ae058(0x26b)][_0x20cabf]=_0x49e4e6,this[_0x1ae058(0x26b)][_0x1ae058(0x20a)](_0x5759bc),this['_deflate'][_0x1ae058(0x12e)](_0x2ef3c2['Z_SYNC_FLUSH'],()=>{const _0x240662=_0x1ae058;if(!this['_deflate'])return;let _0x12683b=_0x1a2a3e[_0x240662(0x199)](this[_0x240662(0x26b)][_0x52fecd],this[_0x240662(0x26b)][_0x409308]);_0x24bffe&&(_0x12683b=new _0x5a8e8f(_0x12683b['buffer'],_0x12683b['byteOffset'],_0x12683b[_0x240662(0x1fb)]-0x4)),this[_0x240662(0x26b)][_0x20cabf]=null,this['_deflate'][_0x409308]=0x0,this[_0x240662(0x26b)][_0x52fecd]=[],_0x24bffe&&this[_0x240662(0x262)][_0x350bc2+_0x240662(0x19a)]&&this[_0x240662(0x26b)]['reset'](),_0x49e4e6(null,_0x12683b);});}}ve=_0x3ac25b;function _0x4e5f04(_0x34662b){const _0x69b63a=_0x145afd;this[_0x52fecd]['push'](_0x34662b),this[_0x409308]+=_0x34662b[_0x69b63a(0x1fb)];}function _0x5a4341(_0x21888d){const _0xec45e2=_0x145afd;if(this[_0x409308]+=_0x21888d['length'],this[_0x2e6af2][_0xec45e2(0x110)]<0x1||this[_0x409308]<=this[_0x2e6af2][_0xec45e2(0x110)]){this[_0x52fecd][_0xec45e2(0x26d)](_0x21888d);return;}this[_0x347f6d]=new RangeError(_0xec45e2(0x1ae)),this[_0x347f6d][_0xec45e2(0x204)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x347f6d][_0x549132]=0x3f1,this['removeListener'](_0xec45e2(0x275),_0x5a4341),this[_0xec45e2(0x17c)]();}function _0x11830e(_0x50f8f1){this[_0x2e6af2]['_inflate']=null,_0x50f8f1[_0x549132]=0x3ef,this[_0x20cabf](_0x50f8f1);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x56bd5a(0x184)](Object[_0x56bd5a(0x2c8)]({'__proto__':null,'default':Dt},Symbol[_0x56bd5a(0x16b)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x2ada3b=_0x56bd5a;if(Ye)return ie[_0x2ada3b(0x21c)];Ye=0x1;const {isUtf8:_0x20e1ec}=wt,{hasBlob:_0x3db6ca}=H(),_0x2c6a8d=[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 _0x165ca1(_0x508309){return _0x508309>=0x3e8&&_0x508309<=0x3f6&&_0x508309!==0x3ec&&_0x508309!==0x3ed&&_0x508309!==0x3ee||_0x508309>=0xbb8&&_0x508309<=0x1387;}function _0x347f10(_0x27dfd9){const _0x53d265=_0x2ada3b,_0x50bd25=_0x27dfd9[_0x53d265(0x1fb)];let _0xc63918=0x0;for(;_0xc63918<_0x50bd25;)if((_0x27dfd9[_0xc63918]&0x80)===0x0)_0xc63918++;else{if((_0x27dfd9[_0xc63918]&0xe0)===0xc0){if(_0xc63918+0x1===_0x50bd25||(_0x27dfd9[_0xc63918+0x1]&0xc0)!==0x80||(_0x27dfd9[_0xc63918]&0xfe)===0xc0)return!0x1;_0xc63918+=0x2;}else{if((_0x27dfd9[_0xc63918]&0xf0)===0xe0){if(_0xc63918+0x2>=_0x50bd25||(_0x27dfd9[_0xc63918+0x1]&0xc0)!==0x80||(_0x27dfd9[_0xc63918+0x2]&0xc0)!==0x80||_0x27dfd9[_0xc63918]===0xe0&&(_0x27dfd9[_0xc63918+0x1]&0xe0)===0x80||_0x27dfd9[_0xc63918]===0xed&&(_0x27dfd9[_0xc63918+0x1]&0xe0)===0xa0)return!0x1;_0xc63918+=0x3;}else{if((_0x27dfd9[_0xc63918]&0xf8)===0xf0){if(_0xc63918+0x3>=_0x50bd25||(_0x27dfd9[_0xc63918+0x1]&0xc0)!==0x80||(_0x27dfd9[_0xc63918+0x2]&0xc0)!==0x80||(_0x27dfd9[_0xc63918+0x3]&0xc0)!==0x80||_0x27dfd9[_0xc63918]===0xf0&&(_0x27dfd9[_0xc63918+0x1]&0xf0)===0x80||_0x27dfd9[_0xc63918]===0xf4&&_0x27dfd9[_0xc63918+0x1]>0x8f||_0x27dfd9[_0xc63918]>0xf4)return!0x1;_0xc63918+=0x4;}else return!0x1;}}}return!0x0;}function _0x2f2b71(_0x49041a){const _0x9516f8=_0x2ada3b;return _0x3db6ca&&typeof _0x49041a==_0x9516f8(0x193)&&typeof _0x49041a[_0x9516f8(0x1cd)]==_0x9516f8(0x12c)&&typeof _0x49041a['type']==_0x9516f8(0x196)&&typeof _0x49041a[_0x9516f8(0x1d2)]==_0x9516f8(0x12c)&&(_0x49041a[Symbol[_0x9516f8(0x16b)]]===_0x9516f8(0x19d)||_0x49041a[Symbol[_0x9516f8(0x16b)]]==='File');}if(ie[_0x2ada3b(0x21c)]={'isBlob':_0x2f2b71,'isValidStatusCode':_0x165ca1,'isValidUTF8':_0x347f10,'tokenChars':_0x2c6a8d},_0x20e1ec)ie['exports'][_0x2ada3b(0x1db)]=function(_0x1eeb38){const _0x1c5e7c=_0x2ada3b;return _0x1eeb38[_0x1c5e7c(0x1fb)]<0x18?_0x347f10(_0x1eeb38):_0x20e1ec(_0x1eeb38);};else{if(!process[_0x2ada3b(0x25d)][_0x2ada3b(0x1d1)])try{const _0x2b0e47=Bt;ie[_0x2ada3b(0x21c)][_0x2ada3b(0x1db)]=function(_0x5aa072){const _0x5185bf=_0x2ada3b;return _0x5aa072[_0x5185bf(0x1fb)]<0x20?_0x347f10(_0x5aa072):_0x2b0e47(_0x5aa072);};}catch{}}return ie[_0x2ada3b(0x21c)];}var Se,Ke;function lt(){const _0x3165b1=_0x56bd5a;if(Ke)return Se;Ke=0x1;const {Writable:_0x15ea96}=oe,_0x508c2a=he(),{BINARY_TYPES:_0x59f5eb,EMPTY_BUFFER:_0x56a993,kStatusCode:_0x29c4b9,kWebSocket:_0x5f1b0e}=H(),{concat:_0x46a5c7,toArrayBuffer:_0x30cfa4,unmask:_0x321e25}=ce(),{isValidStatusCode:_0x56bc16,isValidUTF8:_0x5bba5b}=ae(),_0x5a524a=Buffer[Symbol['species']],_0x4e35b9=0x0,_0x54a8f5=0x1,_0x393c34=0x2,_0x1657ce=0x3,_0x342618=0x4,_0x2ad80c=0x5,_0x59cfa3=0x6;class _0x834973 extends _0x15ea96{constructor(_0x28000a={}){const _0xd2e82=_0x52cf;super(),this[_0xd2e82(0x25f)]=_0x28000a[_0xd2e82(0x2d9)]!==void 0x0?_0x28000a[_0xd2e82(0x2d9)]:!0x0,this['_binaryType']=_0x28000a[_0xd2e82(0x1f3)]||_0x59f5eb[0x0],this[_0xd2e82(0x292)]=_0x28000a['extensions']||{},this[_0xd2e82(0x26a)]=!!_0x28000a[_0xd2e82(0x2a9)],this[_0xd2e82(0x110)]=_0x28000a[_0xd2e82(0x210)]|0x0,this[_0xd2e82(0x249)]=!!_0x28000a[_0xd2e82(0x2ac)],this[_0x5f1b0e]=void 0x0,this[_0xd2e82(0x1a4)]=0x0,this[_0xd2e82(0x14a)]=[],this[_0xd2e82(0x2d1)]=!0x1,this['_payloadLength']=0x0,this[_0xd2e82(0x1bc)]=void 0x0,this[_0xd2e82(0x157)]=0x0,this['_masked']=!0x1,this[_0xd2e82(0x1fc)]=!0x1,this[_0xd2e82(0x1b9)]=0x0,this[_0xd2e82(0x134)]=0x0,this[_0xd2e82(0x1e7)]=0x0,this[_0xd2e82(0x223)]=[],this[_0xd2e82(0x114)]=!0x1,this[_0xd2e82(0x1bf)]=!0x1,this[_0xd2e82(0x2b9)]=_0x4e35b9;}[_0x3165b1(0x2da)](_0x1a3f7,_0x14adba,_0x426b64){const _0x12468f=_0x3165b1;if(this[_0x12468f(0x1b9)]===0x8&&this[_0x12468f(0x2b9)]==_0x4e35b9)return _0x426b64();this[_0x12468f(0x1a4)]+=_0x1a3f7['length'],this[_0x12468f(0x14a)][_0x12468f(0x26d)](_0x1a3f7),this[_0x12468f(0x21a)](_0x426b64);}[_0x3165b1(0x22f)](_0x344546){const _0x423823=_0x3165b1;if(this[_0x423823(0x1a4)]-=_0x344546,_0x344546===this[_0x423823(0x14a)][0x0]['length'])return this[_0x423823(0x14a)][_0x423823(0x29d)]();if(_0x344546<this['_buffers'][0x0][_0x423823(0x1fb)]){const _0x32a338=this['_buffers'][0x0];return this[_0x423823(0x14a)][0x0]=new _0x5a524a(_0x32a338[_0x423823(0x219)],_0x32a338[_0x423823(0x1f9)]+_0x344546,_0x32a338[_0x423823(0x1fb)]-_0x344546),new _0x5a524a(_0x32a338[_0x423823(0x219)],_0x32a338[_0x423823(0x1f9)],_0x344546);}const _0x11dcb7=Buffer['allocUnsafe'](_0x344546);do{const _0x34ca5f=this[_0x423823(0x14a)][0x0],_0x3e1836=_0x11dcb7['length']-_0x344546;_0x344546>=_0x34ca5f['length']?_0x11dcb7[_0x423823(0x128)](this[_0x423823(0x14a)][_0x423823(0x29d)](),_0x3e1836):(_0x11dcb7[_0x423823(0x128)](new Uint8Array(_0x34ca5f[_0x423823(0x219)],_0x34ca5f[_0x423823(0x1f9)],_0x344546),_0x3e1836),this[_0x423823(0x14a)][0x0]=new _0x5a524a(_0x34ca5f[_0x423823(0x219)],_0x34ca5f[_0x423823(0x1f9)]+_0x344546,_0x34ca5f[_0x423823(0x1fb)]-_0x344546)),_0x344546-=_0x34ca5f['length'];}while(_0x344546>0x0);return _0x11dcb7;}['startLoop'](_0x55833b){const _0x1f8a39=_0x3165b1;this[_0x1f8a39(0x1bf)]=!0x0;do switch(this[_0x1f8a39(0x2b9)]){case _0x4e35b9:this['getInfo'](_0x55833b);break;case _0x54a8f5:this[_0x1f8a39(0x180)](_0x55833b);break;case _0x393c34:this[_0x1f8a39(0x212)](_0x55833b);break;case _0x1657ce:this[_0x1f8a39(0x1cf)]();break;case _0x342618:this[_0x1f8a39(0x1a3)](_0x55833b);break;case _0x2ad80c:case _0x59cfa3:this[_0x1f8a39(0x1bf)]=!0x1;return;}while(this[_0x1f8a39(0x1bf)]);this[_0x1f8a39(0x114)]||_0x55833b();}[_0x3165b1(0x18a)](_0x18ebe4){const _0x159c5e=_0x3165b1;if(this['_bufferedBytes']<0x2){this[_0x159c5e(0x1bf)]=!0x1;return;}const _0x26825e=this[_0x159c5e(0x22f)](0x2);if((_0x26825e[0x0]&0x30)!==0x0){const _0x43a0a4=this['createError'](RangeError,_0x159c5e(0x1b3),!0x0,0x3ea,_0x159c5e(0x181));_0x18ebe4(_0x43a0a4);return;}const _0x216985=(_0x26825e[0x0]&0x40)===0x40;if(_0x216985&&!this[_0x159c5e(0x292)][_0x508c2a[_0x159c5e(0x240)]]){const _0x65aaa6=this['createError'](RangeError,_0x159c5e(0x2c1),!0x0,0x3ea,_0x159c5e(0x27f));_0x18ebe4(_0x65aaa6);return;}if(this[_0x159c5e(0x1fc)]=(_0x26825e[0x0]&0x80)===0x80,this[_0x159c5e(0x1b9)]=_0x26825e[0x0]&0xf,this[_0x159c5e(0x2cf)]=_0x26825e[0x1]&0x7f,this[_0x159c5e(0x1b9)]===0x0){if(_0x216985){const _0x586ab2=this[_0x159c5e(0x2ca)](RangeError,_0x159c5e(0x2c1),!0x0,0x3ea,_0x159c5e(0x27f));_0x18ebe4(_0x586ab2);return;}if(!this[_0x159c5e(0x157)]){const _0x219452=this[_0x159c5e(0x2ca)](RangeError,_0x159c5e(0x228),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x18ebe4(_0x219452);return;}this[_0x159c5e(0x1b9)]=this[_0x159c5e(0x157)];}else{if(this['_opcode']===0x1||this[_0x159c5e(0x1b9)]===0x2){if(this[_0x159c5e(0x157)]){const _0x4eb5bd=this[_0x159c5e(0x2ca)](RangeError,_0x159c5e(0x16f)+this[_0x159c5e(0x1b9)],!0x0,0x3ea,_0x159c5e(0x182));_0x18ebe4(_0x4eb5bd);return;}this[_0x159c5e(0x2d1)]=_0x216985;}else{if(this[_0x159c5e(0x1b9)]>0x7&&this[_0x159c5e(0x1b9)]<0xb){if(!this['_fin']){const _0x660fc5=this[_0x159c5e(0x2ca)](RangeError,_0x159c5e(0x234),!0x0,0x3ea,_0x159c5e(0x1bb));_0x18ebe4(_0x660fc5);return;}if(_0x216985){const _0x19f493=this[_0x159c5e(0x2ca)](RangeError,_0x159c5e(0x2c1),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x18ebe4(_0x19f493);return;}if(this[_0x159c5e(0x2cf)]>0x7d||this[_0x159c5e(0x1b9)]===0x8&&this[_0x159c5e(0x2cf)]===0x1){const _0x2741f2=this[_0x159c5e(0x2ca)](RangeError,_0x159c5e(0x161)+this['_payloadLength'],!0x0,0x3ea,_0x159c5e(0x24a));_0x18ebe4(_0x2741f2);return;}}else{const _0x7fad2b=this[_0x159c5e(0x2ca)](RangeError,_0x159c5e(0x16f)+this[_0x159c5e(0x1b9)],!0x0,0x3ea,_0x159c5e(0x182));_0x18ebe4(_0x7fad2b);return;}}}if(!this[_0x159c5e(0x1fc)]&&!this[_0x159c5e(0x157)]&&(this[_0x159c5e(0x157)]=this[_0x159c5e(0x1b9)]),this[_0x159c5e(0x290)]=(_0x26825e[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x3191aa=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x159c5e(0x248));_0x18ebe4(_0x3191aa);return;}}else{if(this[_0x159c5e(0x290)]){const _0x30d5aa=this[_0x159c5e(0x2ca)](RangeError,_0x159c5e(0x15b),!0x0,0x3ea,_0x159c5e(0x24e));_0x18ebe4(_0x30d5aa);return;}}this[_0x159c5e(0x2cf)]===0x7e?this[_0x159c5e(0x2b9)]=_0x54a8f5:this[_0x159c5e(0x2cf)]===0x7f?this[_0x159c5e(0x2b9)]=_0x393c34:this[_0x159c5e(0x200)](_0x18ebe4);}['getPayloadLength16'](_0x3f9a9d){const _0x46ce04=_0x3165b1;if(this[_0x46ce04(0x1a4)]<0x2){this[_0x46ce04(0x1bf)]=!0x1;return;}this[_0x46ce04(0x2cf)]=this[_0x46ce04(0x22f)](0x2)[_0x46ce04(0x187)](0x0),this[_0x46ce04(0x200)](_0x3f9a9d);}['getPayloadLength64'](_0x590cb6){const _0x317a1b=_0x3165b1;if(this['_bufferedBytes']<0x8){this[_0x317a1b(0x1bf)]=!0x1;return;}const _0x4afbcd=this[_0x317a1b(0x22f)](0x8),_0x2e0459=_0x4afbcd['readUInt32BE'](0x0);if(_0x2e0459>Math[_0x317a1b(0x254)](0x2,0x15)-0x1){const _0x4be32e=this['createError'](RangeError,_0x317a1b(0x174),!0x1,0x3f1,_0x317a1b(0x23e));_0x590cb6(_0x4be32e);return;}this['_payloadLength']=_0x2e0459*Math['pow'](0x2,0x20)+_0x4afbcd[_0x317a1b(0x2a8)](0x4),this['haveLength'](_0x590cb6);}['haveLength'](_0x3c3f33){const _0x26946a=_0x3165b1;if(this[_0x26946a(0x2cf)]&&this['_opcode']<0x8&&(this[_0x26946a(0x134)]+=this['_payloadLength'],this[_0x26946a(0x134)]>this['_maxPayload']&&this[_0x26946a(0x110)]>0x0)){const _0x54babc=this[_0x26946a(0x2ca)](RangeError,_0x26946a(0x1ae),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3c3f33(_0x54babc);return;}this[_0x26946a(0x290)]?this['_state']=_0x1657ce:this[_0x26946a(0x2b9)]=_0x342618;}[_0x3165b1(0x1cf)](){const _0x4ad480=_0x3165b1;if(this[_0x4ad480(0x1a4)]<0x4){this[_0x4ad480(0x1bf)]=!0x1;return;}this['_mask']=this[_0x4ad480(0x22f)](0x4),this['_state']=_0x342618;}[_0x3165b1(0x1a3)](_0x20d38c){const _0x7c062d=_0x3165b1;let _0x397904=_0x56a993;if(this[_0x7c062d(0x2cf)]){if(this[_0x7c062d(0x1a4)]<this[_0x7c062d(0x2cf)]){this[_0x7c062d(0x1bf)]=!0x1;return;}_0x397904=this['consume'](this[_0x7c062d(0x2cf)]),this[_0x7c062d(0x290)]&&(this['_mask'][0x0]|this[_0x7c062d(0x1bc)][0x1]|this[_0x7c062d(0x1bc)][0x2]|this[_0x7c062d(0x1bc)][0x3])!==0x0&&_0x321e25(_0x397904,this[_0x7c062d(0x1bc)]);}if(this[_0x7c062d(0x1b9)]>0x7){this[_0x7c062d(0x186)](_0x397904,_0x20d38c);return;}if(this[_0x7c062d(0x2d1)]){this[_0x7c062d(0x2b9)]=_0x2ad80c,this[_0x7c062d(0x280)](_0x397904,_0x20d38c);return;}_0x397904[_0x7c062d(0x1fb)]&&(this['_messageLength']=this[_0x7c062d(0x134)],this[_0x7c062d(0x223)][_0x7c062d(0x26d)](_0x397904)),this['dataMessage'](_0x20d38c);}[_0x3165b1(0x280)](_0x2fa34b,_0x10da26){const _0x3c5e8=_0x3165b1;this[_0x3c5e8(0x292)][_0x508c2a[_0x3c5e8(0x240)]][_0x3c5e8(0x280)](_0x2fa34b,this[_0x3c5e8(0x1fc)],(_0x1fbb6e,_0x39ce04)=>{const _0x27ae17=_0x3c5e8;if(_0x1fbb6e)return _0x10da26(_0x1fbb6e);if(_0x39ce04[_0x27ae17(0x1fb)]){if(this[_0x27ae17(0x1e7)]+=_0x39ce04[_0x27ae17(0x1fb)],this[_0x27ae17(0x1e7)]>this[_0x27ae17(0x110)]&&this[_0x27ae17(0x110)]>0x0){const _0x39d496=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x27ae17(0x225));_0x10da26(_0x39d496);return;}this[_0x27ae17(0x223)][_0x27ae17(0x26d)](_0x39ce04);}this[_0x27ae17(0x2ad)](_0x10da26),this[_0x27ae17(0x2b9)]===_0x4e35b9&&this[_0x27ae17(0x21a)](_0x10da26);});}[_0x3165b1(0x2ad)](_0x924323){const _0x1eb508=_0x3165b1;if(!this['_fin']){this[_0x1eb508(0x2b9)]=_0x4e35b9;return;}const _0x3bb3ec=this[_0x1eb508(0x1e7)],_0xec240a=this['_fragments'];if(this[_0x1eb508(0x134)]=0x0,this[_0x1eb508(0x1e7)]=0x0,this[_0x1eb508(0x157)]=0x0,this[_0x1eb508(0x223)]=[],this[_0x1eb508(0x1b9)]===0x2){let _0x327dac;this['_binaryType']===_0x1eb508(0x14f)?_0x327dac=_0x46a5c7(_0xec240a,_0x3bb3ec):this['_binaryType']===_0x1eb508(0x246)?_0x327dac=_0x30cfa4(_0x46a5c7(_0xec240a,_0x3bb3ec)):this[_0x1eb508(0x19f)]==='blob'?_0x327dac=new Blob(_0xec240a):_0x327dac=_0xec240a,this[_0x1eb508(0x25f)]?(this['emit'](_0x1eb508(0x166),_0x327dac,!0x0),this[_0x1eb508(0x2b9)]=_0x4e35b9):(this[_0x1eb508(0x2b9)]=_0x59cfa3,setImmediate(()=>{const _0x5d0d99=_0x1eb508;this[_0x5d0d99(0x29c)](_0x5d0d99(0x166),_0x327dac,!0x0),this[_0x5d0d99(0x2b9)]=_0x4e35b9,this[_0x5d0d99(0x21a)](_0x924323);}));}else{const _0x21a72d=_0x46a5c7(_0xec240a,_0x3bb3ec);if(!this[_0x1eb508(0x249)]&&!_0x5bba5b(_0x21a72d)){const _0x50bb80=this[_0x1eb508(0x2ca)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x924323(_0x50bb80);return;}this[_0x1eb508(0x2b9)]===_0x2ad80c||this['_allowSynchronousEvents']?(this[_0x1eb508(0x29c)](_0x1eb508(0x166),_0x21a72d,!0x1),this[_0x1eb508(0x2b9)]=_0x4e35b9):(this[_0x1eb508(0x2b9)]=_0x59cfa3,setImmediate(()=>{const _0x5b6cfa=_0x1eb508;this['emit'](_0x5b6cfa(0x166),_0x21a72d,!0x1),this[_0x5b6cfa(0x2b9)]=_0x4e35b9,this[_0x5b6cfa(0x21a)](_0x924323);}));}}[_0x3165b1(0x186)](_0x4ac909,_0x1ca4ed){const _0x29871e=_0x3165b1;if(this['_opcode']===0x8){if(_0x4ac909[_0x29871e(0x1fb)]===0x0)this[_0x29871e(0x1bf)]=!0x1,this[_0x29871e(0x29c)](_0x29871e(0x1a9),0x3ed,_0x56a993),this[_0x29871e(0x29b)]();else{const _0x48cdf5=_0x4ac909[_0x29871e(0x187)](0x0);if(!_0x56bc16(_0x48cdf5)){const _0x5c8c66=this['createError'](RangeError,_0x29871e(0x2b0)+_0x48cdf5,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x1ca4ed(_0x5c8c66);return;}const _0xba4d73=new _0x5a524a(_0x4ac909[_0x29871e(0x219)],_0x4ac909[_0x29871e(0x1f9)]+0x2,_0x4ac909[_0x29871e(0x1fb)]-0x2);if(!this['_skipUTF8Validation']&&!_0x5bba5b(_0xba4d73)){const _0x583b86=this[_0x29871e(0x2ca)](Error,_0x29871e(0x2cd),!0x0,0x3ef,_0x29871e(0x1bd));_0x1ca4ed(_0x583b86);return;}this['_loop']=!0x1,this[_0x29871e(0x29c)](_0x29871e(0x1a9),_0x48cdf5,_0xba4d73),this[_0x29871e(0x29b)]();}this[_0x29871e(0x2b9)]=_0x4e35b9;return;}this[_0x29871e(0x25f)]?(this[_0x29871e(0x29c)](this[_0x29871e(0x1b9)]===0x9?'ping':_0x29871e(0x1d8),_0x4ac909),this[_0x29871e(0x2b9)]=_0x4e35b9):(this[_0x29871e(0x2b9)]=_0x59cfa3,setImmediate(()=>{const _0x26e598=_0x29871e;this['emit'](this[_0x26e598(0x1b9)]===0x9?_0x26e598(0x218):_0x26e598(0x1d8),_0x4ac909),this[_0x26e598(0x2b9)]=_0x4e35b9,this[_0x26e598(0x21a)](_0x1ca4ed);}));}[_0x3165b1(0x2ca)](_0xd303ee,_0x1a65ba,_0x185fae,_0x2887be,_0x3d1ef9){const _0x43db9e=_0x3165b1;this[_0x43db9e(0x1bf)]=!0x1,this[_0x43db9e(0x114)]=!0x0;const _0x78800a=new _0xd303ee(_0x185fae?_0x43db9e(0x118)+_0x1a65ba:_0x1a65ba);return Error[_0x43db9e(0x263)](_0x78800a,this[_0x43db9e(0x2ca)]),_0x78800a[_0x43db9e(0x204)]=_0x3d1ef9,_0x78800a[_0x29c4b9]=_0x2887be,_0x78800a;}}return Se=_0x834973,Se;}var Ee,Xe;function ft(){const _0x5ccef4=_0x56bd5a;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x300d32}=oe,{randomFillSync:_0x3b88bb}=Le,_0x1ca0c0=he(),{EMPTY_BUFFER:_0x23fa08,kWebSocket:_0x5d7168,NOOP:_0x5f3478}=H(),{isBlob:_0x3a5b11,isValidStatusCode:_0x5c4d28}=ae(),{mask:_0xc2db67,toBuffer:_0x3f5715}=ce(),_0x22d10f=Symbol(_0x5ccef4(0x2a0)),_0x2a19ee=Buffer[_0x5ccef4(0x144)](0x4),_0x18b043=0x8*0x400;let _0x84fb0d,_0x53d745=_0x18b043;const _0x1f445e=0x0,_0x3e36b0=0x1,_0xb2d6c6=0x2;class _0x59fef4{constructor(_0x59bed4,_0x3ff1b8,_0xd4a173){const _0x29a193=_0x5ccef4;this[_0x29a193(0x292)]=_0x3ff1b8||{},_0xd4a173&&(this[_0x29a193(0x1e0)]=_0xd4a173,this[_0x29a193(0x111)]=Buffer[_0x29a193(0x144)](0x4)),this[_0x29a193(0x1ea)]=_0x59bed4,this[_0x29a193(0x2d3)]=!0x0,this[_0x29a193(0x138)]=!0x1,this[_0x29a193(0x1a4)]=0x0,this[_0x29a193(0x20c)]=[],this[_0x29a193(0x2b9)]=_0x1f445e,this['onerror']=_0x5f3478,this[_0x5d7168]=void 0x0;}static[_0x5ccef4(0x237)](_0x5134c8,_0x1fc25a){const _0x396f08=_0x5ccef4;let _0x3294e1,_0x561f39=!0x1,_0x131948=0x2,_0x36fb2c=!0x1;_0x1fc25a[_0x396f08(0x272)]&&(_0x3294e1=_0x1fc25a['maskBuffer']||_0x2a19ee,_0x1fc25a[_0x396f08(0x1b0)]?_0x1fc25a[_0x396f08(0x1b0)](_0x3294e1):(_0x53d745===_0x18b043&&(_0x84fb0d===void 0x0&&(_0x84fb0d=Buffer[_0x396f08(0x144)](_0x18b043)),_0x3b88bb(_0x84fb0d,0x0,_0x18b043),_0x53d745=0x0),_0x3294e1[0x0]=_0x84fb0d[_0x53d745++],_0x3294e1[0x1]=_0x84fb0d[_0x53d745++],_0x3294e1[0x2]=_0x84fb0d[_0x53d745++],_0x3294e1[0x3]=_0x84fb0d[_0x53d745++]),_0x36fb2c=(_0x3294e1[0x0]|_0x3294e1[0x1]|_0x3294e1[0x2]|_0x3294e1[0x3])===0x0,_0x131948=0x6);let _0x45e50a;typeof _0x5134c8==_0x396f08(0x196)?(!_0x1fc25a[_0x396f08(0x272)]||_0x36fb2c)&&_0x1fc25a[_0x22d10f]!==void 0x0?_0x45e50a=_0x1fc25a[_0x22d10f]:(_0x5134c8=Buffer[_0x396f08(0x1d3)](_0x5134c8),_0x45e50a=_0x5134c8['length']):(_0x45e50a=_0x5134c8[_0x396f08(0x1fb)],_0x561f39=_0x1fc25a[_0x396f08(0x272)]&&_0x1fc25a[_0x396f08(0x175)]&&!_0x36fb2c);let _0x5e422d=_0x45e50a;_0x45e50a>=0x10000?(_0x131948+=0x8,_0x5e422d=0x7f):_0x45e50a>0x7d&&(_0x131948+=0x2,_0x5e422d=0x7e);const _0x4102b2=Buffer[_0x396f08(0x172)](_0x561f39?_0x45e50a+_0x131948:_0x131948);return _0x4102b2[0x0]=_0x1fc25a['fin']?_0x1fc25a[_0x396f08(0x2bb)]|0x80:_0x1fc25a['opcode'],_0x1fc25a['rsv1']&&(_0x4102b2[0x0]|=0x40),_0x4102b2[0x1]=_0x5e422d,_0x5e422d===0x7e?_0x4102b2[_0x396f08(0x198)](_0x45e50a,0x2):_0x5e422d===0x7f&&(_0x4102b2[0x2]=_0x4102b2[0x3]=0x0,_0x4102b2[_0x396f08(0x171)](_0x45e50a,0x4,0x6)),_0x1fc25a[_0x396f08(0x272)]?(_0x4102b2[0x1]|=0x80,_0x4102b2[_0x131948-0x4]=_0x3294e1[0x0],_0x4102b2[_0x131948-0x3]=_0x3294e1[0x1],_0x4102b2[_0x131948-0x2]=_0x3294e1[0x2],_0x4102b2[_0x131948-0x1]=_0x3294e1[0x3],_0x36fb2c?[_0x4102b2,_0x5134c8]:_0x561f39?(_0xc2db67(_0x5134c8,_0x3294e1,_0x4102b2,_0x131948,_0x45e50a),[_0x4102b2]):(_0xc2db67(_0x5134c8,_0x3294e1,_0x5134c8,0x0,_0x45e50a),[_0x4102b2,_0x5134c8])):[_0x4102b2,_0x5134c8];}['close'](_0xccc270,_0x56f621,_0x1607ae,_0x519815){const _0x3e7351=_0x5ccef4;let _0x1078b7;if(_0xccc270===void 0x0)_0x1078b7=_0x23fa08;else{if(typeof _0xccc270!=_0x3e7351(0x15d)||!_0x5c4d28(_0xccc270))throw new TypeError(_0x3e7351(0x16d));if(_0x56f621===void 0x0||!_0x56f621[_0x3e7351(0x1fb)])_0x1078b7=Buffer['allocUnsafe'](0x2),_0x1078b7[_0x3e7351(0x198)](_0xccc270,0x0);else{const _0x5d8a8c=Buffer[_0x3e7351(0x266)](_0x56f621);if(_0x5d8a8c>0x7b)throw new RangeError(_0x3e7351(0x16a));_0x1078b7=Buffer[_0x3e7351(0x172)](0x2+_0x5d8a8c),_0x1078b7[_0x3e7351(0x198)](_0xccc270,0x0),typeof _0x56f621==_0x3e7351(0x196)?_0x1078b7[_0x3e7351(0x20a)](_0x56f621,0x2):_0x1078b7['set'](_0x56f621,0x2);}}const _0x4d2348={[_0x22d10f]:_0x1078b7[_0x3e7351(0x1fb)],'fin':!0x0,'generateMask':this[_0x3e7351(0x1e0)],'mask':_0x1607ae,'maskBuffer':this[_0x3e7351(0x111)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3e7351(0x2b9)]!==_0x1f445e?this[_0x3e7351(0x235)]([this[_0x3e7351(0x26e)],_0x1078b7,!0x1,_0x4d2348,_0x519815]):this[_0x3e7351(0x27e)](_0x59fef4[_0x3e7351(0x237)](_0x1078b7,_0x4d2348),_0x519815);}['ping'](_0x2d2f2f,_0x1e2813,_0xdb05f1){const _0x28e566=_0x5ccef4;let _0x56aa00,_0x314fbe;if(typeof _0x2d2f2f=='string'?(_0x56aa00=Buffer['byteLength'](_0x2d2f2f),_0x314fbe=!0x1):_0x3a5b11(_0x2d2f2f)?(_0x56aa00=_0x2d2f2f['size'],_0x314fbe=!0x1):(_0x2d2f2f=_0x3f5715(_0x2d2f2f),_0x56aa00=_0x2d2f2f[_0x28e566(0x1fb)],_0x314fbe=_0x3f5715['readOnly']),_0x56aa00>0x7d)throw new RangeError(_0x28e566(0x239));const _0x36d7c4={[_0x22d10f]:_0x56aa00,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1e2813,'maskBuffer':this[_0x28e566(0x111)],'opcode':0x9,'readOnly':_0x314fbe,'rsv1':!0x1};_0x3a5b11(_0x2d2f2f)?this[_0x28e566(0x2b9)]!==_0x1f445e?this[_0x28e566(0x235)]([this[_0x28e566(0x2d2)],_0x2d2f2f,!0x1,_0x36d7c4,_0xdb05f1]):this[_0x28e566(0x2d2)](_0x2d2f2f,!0x1,_0x36d7c4,_0xdb05f1):this['_state']!==_0x1f445e?this[_0x28e566(0x235)]([this[_0x28e566(0x26e)],_0x2d2f2f,!0x1,_0x36d7c4,_0xdb05f1]):this['sendFrame'](_0x59fef4[_0x28e566(0x237)](_0x2d2f2f,_0x36d7c4),_0xdb05f1);}[_0x5ccef4(0x1d8)](_0x4a1744,_0x521833,_0x4f7f84){const _0x4d5c1e=_0x5ccef4;let _0x18a97f,_0x333177;if(typeof _0x4a1744==_0x4d5c1e(0x196)?(_0x18a97f=Buffer[_0x4d5c1e(0x266)](_0x4a1744),_0x333177=!0x1):_0x3a5b11(_0x4a1744)?(_0x18a97f=_0x4a1744[_0x4d5c1e(0x27c)],_0x333177=!0x1):(_0x4a1744=_0x3f5715(_0x4a1744),_0x18a97f=_0x4a1744[_0x4d5c1e(0x1fb)],_0x333177=_0x3f5715[_0x4d5c1e(0x175)]),_0x18a97f>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2ade82={[_0x22d10f]:_0x18a97f,'fin':!0x0,'generateMask':this[_0x4d5c1e(0x1e0)],'mask':_0x521833,'maskBuffer':this[_0x4d5c1e(0x111)],'opcode':0xa,'readOnly':_0x333177,'rsv1':!0x1};_0x3a5b11(_0x4a1744)?this['_state']!==_0x1f445e?this[_0x4d5c1e(0x235)]([this[_0x4d5c1e(0x2d2)],_0x4a1744,!0x1,_0x2ade82,_0x4f7f84]):this[_0x4d5c1e(0x2d2)](_0x4a1744,!0x1,_0x2ade82,_0x4f7f84):this[_0x4d5c1e(0x2b9)]!==_0x1f445e?this['enqueue']([this['dispatch'],_0x4a1744,!0x1,_0x2ade82,_0x4f7f84]):this[_0x4d5c1e(0x27e)](_0x59fef4[_0x4d5c1e(0x237)](_0x4a1744,_0x2ade82),_0x4f7f84);}['send'](_0x2a25b8,_0x1f22fc,_0x4b38b2){const _0x3dc82f=_0x5ccef4,_0x2cbba4=this[_0x3dc82f(0x292)][_0x1ca0c0['extensionName']];let _0x53cd37=_0x1f22fc['binary']?0x2:0x1,_0x2dcc31=_0x1f22fc[_0x3dc82f(0x13d)],_0x3286de,_0x4b4a59;typeof _0x2a25b8==_0x3dc82f(0x196)?(_0x3286de=Buffer[_0x3dc82f(0x266)](_0x2a25b8),_0x4b4a59=!0x1):_0x3a5b11(_0x2a25b8)?(_0x3286de=_0x2a25b8['size'],_0x4b4a59=!0x1):(_0x2a25b8=_0x3f5715(_0x2a25b8),_0x3286de=_0x2a25b8['length'],_0x4b4a59=_0x3f5715[_0x3dc82f(0x175)]),this[_0x3dc82f(0x2d3)]?(this[_0x3dc82f(0x2d3)]=!0x1,_0x2dcc31&&_0x2cbba4&&_0x2cbba4['params'][_0x2cbba4[_0x3dc82f(0x26a)]?_0x3dc82f(0x1ca):_0x3dc82f(0x21e)]&&(_0x2dcc31=_0x3286de>=_0x2cbba4[_0x3dc82f(0x14d)]),this[_0x3dc82f(0x138)]=_0x2dcc31):(_0x2dcc31=!0x1,_0x53cd37=0x0),_0x1f22fc[_0x3dc82f(0x259)]&&(this[_0x3dc82f(0x2d3)]=!0x0);const _0x105be2={[_0x22d10f]:_0x3286de,'fin':_0x1f22fc[_0x3dc82f(0x259)],'generateMask':this[_0x3dc82f(0x1e0)],'mask':_0x1f22fc[_0x3dc82f(0x272)],'maskBuffer':this['_maskBuffer'],'opcode':_0x53cd37,'readOnly':_0x4b4a59,'rsv1':_0x2dcc31};_0x3a5b11(_0x2a25b8)?this[_0x3dc82f(0x2b9)]!==_0x1f445e?this[_0x3dc82f(0x235)]([this[_0x3dc82f(0x2d2)],_0x2a25b8,this[_0x3dc82f(0x138)],_0x105be2,_0x4b38b2]):this[_0x3dc82f(0x2d2)](_0x2a25b8,this[_0x3dc82f(0x138)],_0x105be2,_0x4b38b2):this[_0x3dc82f(0x2b9)]!==_0x1f445e?this[_0x3dc82f(0x235)]([this[_0x3dc82f(0x26e)],_0x2a25b8,this[_0x3dc82f(0x138)],_0x105be2,_0x4b38b2]):this['dispatch'](_0x2a25b8,this[_0x3dc82f(0x138)],_0x105be2,_0x4b38b2);}['getBlobData'](_0x475316,_0x4389b4,_0xe2b773,_0x3875cb){const _0xdfccbd=_0x5ccef4;this[_0xdfccbd(0x1a4)]+=_0xe2b773[_0x22d10f],this['_state']=_0xb2d6c6,_0x475316['arrayBuffer']()[_0xdfccbd(0x19e)](_0x3b9348=>{const _0x8b0fb1=_0xdfccbd;if(this[_0x8b0fb1(0x1ea)][_0x8b0fb1(0x23a)]){const _0x5d61e6=new Error(_0x8b0fb1(0x158));process[_0x8b0fb1(0x1aa)](_0x43c824,this,_0x5d61e6,_0x3875cb);return;}this[_0x8b0fb1(0x1a4)]-=_0xe2b773[_0x22d10f];const _0x55fe0a=_0x3f5715(_0x3b9348);_0x4389b4?this[_0x8b0fb1(0x26e)](_0x55fe0a,_0x4389b4,_0xe2b773,_0x3875cb):(this['_state']=_0x1f445e,this[_0x8b0fb1(0x27e)](_0x59fef4[_0x8b0fb1(0x237)](_0x55fe0a,_0xe2b773),_0x3875cb),this[_0x8b0fb1(0x293)]());})['catch'](_0x421206=>{process['nextTick'](_0x259158,this,_0x421206,_0x3875cb);});}[_0x5ccef4(0x26e)](_0x4724fd,_0x475556,_0x5b61c9,_0x31b54c){const _0x7de9dc=_0x5ccef4;if(!_0x475556){this[_0x7de9dc(0x27e)](_0x59fef4[_0x7de9dc(0x237)](_0x4724fd,_0x5b61c9),_0x31b54c);return;}const _0x1df4a9=this[_0x7de9dc(0x292)][_0x1ca0c0[_0x7de9dc(0x240)]];this[_0x7de9dc(0x1a4)]+=_0x5b61c9[_0x22d10f],this[_0x7de9dc(0x2b9)]=_0x3e36b0,_0x1df4a9['compress'](_0x4724fd,_0x5b61c9[_0x7de9dc(0x259)],(_0x577dbe,_0x215602)=>{const _0x43e64f=_0x7de9dc;if(this['_socket'][_0x43e64f(0x23a)]){const _0x2ef494=new Error(_0x43e64f(0x216));_0x43c824(this,_0x2ef494,_0x31b54c);return;}this[_0x43e64f(0x1a4)]-=_0x5b61c9[_0x22d10f],this[_0x43e64f(0x2b9)]=_0x1f445e,_0x5b61c9[_0x43e64f(0x175)]=!0x1,this['sendFrame'](_0x59fef4[_0x43e64f(0x237)](_0x215602,_0x5b61c9),_0x31b54c),this[_0x43e64f(0x293)]();});}[_0x5ccef4(0x293)](){const _0x2da788=_0x5ccef4;for(;this[_0x2da788(0x2b9)]===_0x1f445e&&this[_0x2da788(0x20c)][_0x2da788(0x1fb)];){const _0x31c9b0=this[_0x2da788(0x20c)][_0x2da788(0x29d)]();this[_0x2da788(0x1a4)]-=_0x31c9b0[0x3][_0x22d10f],Reflect['apply'](_0x31c9b0[0x0],this,_0x31c9b0['slice'](0x1));}}[_0x5ccef4(0x235)](_0x3ac910){const _0x3ccdb2=_0x5ccef4;this[_0x3ccdb2(0x1a4)]+=_0x3ac910[0x3][_0x22d10f],this[_0x3ccdb2(0x20c)][_0x3ccdb2(0x26d)](_0x3ac910);}['sendFrame'](_0x1fd933,_0x41975c){const _0x187b30=_0x5ccef4;_0x1fd933[_0x187b30(0x1fb)]===0x2?(this['_socket'][_0x187b30(0x287)](),this[_0x187b30(0x1ea)][_0x187b30(0x20a)](_0x1fd933[0x0]),this[_0x187b30(0x1ea)][_0x187b30(0x20a)](_0x1fd933[0x1],_0x41975c),this[_0x187b30(0x1ea)][_0x187b30(0x126)]()):this[_0x187b30(0x1ea)]['write'](_0x1fd933[0x0],_0x41975c);}}Ee=_0x59fef4;function _0x43c824(_0x5def45,_0x49816f,_0xcedc07){const _0x343655=_0x5ccef4;typeof _0xcedc07=='function'&&_0xcedc07(_0x49816f);for(let _0x308db2=0x0;_0x308db2<_0x5def45[_0x343655(0x20c)][_0x343655(0x1fb)];_0x308db2++){const _0x40b38f=_0x5def45[_0x343655(0x20c)][_0x308db2],_0x1cbff9=_0x40b38f[_0x40b38f[_0x343655(0x1fb)]-0x1];typeof _0x1cbff9=='function'&&_0x1cbff9(_0x49816f);}}function _0x259158(_0x1b5172,_0x1207c1,_0x4a862e){_0x43c824(_0x1b5172,_0x1207c1,_0x4a862e),_0x1b5172['onerror'](_0x1207c1);}return Ee;}var xe,Ze;function It(){const _0x18efdc=_0x56bd5a;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4f507e,kListener:_0x16ad6e}=H(),_0x1993d4=Symbol(_0x18efdc(0x177)),_0x28bf38=Symbol(_0x18efdc(0x2aa)),_0x3f4955=Symbol('kError'),_0x1d5342=Symbol(_0x18efdc(0x189)),_0x26a146=Symbol(_0x18efdc(0x2d6)),_0x4dea19=Symbol(_0x18efdc(0x243)),_0x2d500c=Symbol(_0x18efdc(0x1ad)),_0x47fc30=Symbol(_0x18efdc(0x1e2));class _0x4b0b64{constructor(_0x332cf0){this[_0x4dea19]=null,this[_0x2d500c]=_0x332cf0;}get[_0x18efdc(0x247)](){return this[_0x4dea19];}get['type'](){return this[_0x2d500c];}}Object['defineProperty'](_0x4b0b64[_0x18efdc(0x11d)],_0x18efdc(0x247),{'enumerable':!0x0}),Object[_0x18efdc(0x2c8)](_0x4b0b64[_0x18efdc(0x11d)],_0x18efdc(0x1fe),{'enumerable':!0x0});class _0x42e384 extends _0x4b0b64{constructor(_0x562fb0,_0x4bb9db={}){const _0x3c2f73=_0x18efdc;super(_0x562fb0),this[_0x1993d4]=_0x4bb9db[_0x3c2f73(0x204)]===void 0x0?0x0:_0x4bb9db[_0x3c2f73(0x204)],this[_0x26a146]=_0x4bb9db[_0x3c2f73(0x2db)]===void 0x0?'':_0x4bb9db['reason'],this[_0x47fc30]=_0x4bb9db[_0x3c2f73(0x1d6)]===void 0x0?!0x1:_0x4bb9db[_0x3c2f73(0x1d6)];}get[_0x18efdc(0x204)](){return this[_0x1993d4];}get['reason'](){return this[_0x26a146];}get[_0x18efdc(0x1d6)](){return this[_0x47fc30];}}Object[_0x18efdc(0x2c8)](_0x42e384['prototype'],_0x18efdc(0x204),{'enumerable':!0x0}),Object[_0x18efdc(0x2c8)](_0x42e384[_0x18efdc(0x11d)],_0x18efdc(0x2db),{'enumerable':!0x0}),Object[_0x18efdc(0x2c8)](_0x42e384[_0x18efdc(0x11d)],_0x18efdc(0x1d6),{'enumerable':!0x0});class _0x40c73e extends _0x4b0b64{constructor(_0x25484e,_0x4534fc={}){const _0x3d058a=_0x18efdc;super(_0x25484e),this[_0x3f4955]=_0x4534fc[_0x3d058a(0x205)]===void 0x0?null:_0x4534fc['error'],this[_0x1d5342]=_0x4534fc[_0x3d058a(0x166)]===void 0x0?'':_0x4534fc[_0x3d058a(0x166)];}get[_0x18efdc(0x205)](){return this[_0x3f4955];}get[_0x18efdc(0x166)](){return this[_0x1d5342];}}Object[_0x18efdc(0x2c8)](_0x40c73e['prototype'],_0x18efdc(0x205),{'enumerable':!0x0}),Object[_0x18efdc(0x2c8)](_0x40c73e['prototype'],_0x18efdc(0x166),{'enumerable':!0x0});class _0x50a88a extends _0x4b0b64{constructor(_0x138787,_0x4ee9f7={}){const _0x5b648b=_0x18efdc;super(_0x138787),this[_0x28bf38]=_0x4ee9f7[_0x5b648b(0x275)]===void 0x0?null:_0x4ee9f7[_0x5b648b(0x275)];}get[_0x18efdc(0x275)](){return this[_0x28bf38];}}Object[_0x18efdc(0x2c8)](_0x50a88a[_0x18efdc(0x11d)],_0x18efdc(0x275),{'enumerable':!0x0}),xe={'CloseEvent':_0x42e384,'ErrorEvent':_0x40c73e,'Event':_0x4b0b64,'EventTarget':{'addEventListener'(_0x265c54,_0x3e7763,_0x4c5670={}){const _0xb8e716=_0x18efdc;for(const _0x134fe2 of this[_0xb8e716(0x288)](_0x265c54))if(!_0x4c5670[_0x4f507e]&&_0x134fe2[_0x16ad6e]===_0x3e7763&&!_0x134fe2[_0x4f507e])return;let _0x437af2;if(_0x265c54===_0xb8e716(0x166))_0x437af2=function(_0x1938b2,_0x10600a){const _0x173aef=_0xb8e716,_0x2cef42=new _0x50a88a(_0x173aef(0x166),{'data':_0x10600a?_0x1938b2:_0x1938b2[_0x173aef(0x2ce)]()});_0x2cef42[_0x4dea19]=this,_0x291c65(_0x3e7763,this,_0x2cef42);};else{if(_0x265c54===_0xb8e716(0x23c))_0x437af2=function(_0x3fc2d8,_0xfa2a5d){const _0x52a8e4=_0xb8e716,_0x109fce=new _0x42e384('close',{'code':_0x3fc2d8,'reason':_0xfa2a5d['toString'](),'wasClean':this[_0x52a8e4(0x1ed)]&&this[_0x52a8e4(0x2b1)]});_0x109fce[_0x4dea19]=this,_0x291c65(_0x3e7763,this,_0x109fce);};else{if(_0x265c54===_0xb8e716(0x205))_0x437af2=function(_0x55c958){const _0x39effb=_0xb8e716,_0x44370f=new _0x40c73e('error',{'error':_0x55c958,'message':_0x55c958[_0x39effb(0x166)]});_0x44370f[_0x4dea19]=this,_0x291c65(_0x3e7763,this,_0x44370f);};else{if(_0x265c54==='open')_0x437af2=function(){const _0x5823ad=_0xb8e716,_0x5b0afa=new _0x4b0b64(_0x5823ad(0x14b));_0x5b0afa[_0x4dea19]=this,_0x291c65(_0x3e7763,this,_0x5b0afa);};else return;}}}_0x437af2[_0x4f507e]=!!_0x4c5670[_0x4f507e],_0x437af2[_0x16ad6e]=_0x3e7763,_0x4c5670[_0xb8e716(0x188)]?this['once'](_0x265c54,_0x437af2):this['on'](_0x265c54,_0x437af2);},'removeEventListener'(_0x227d08,_0x46ce0b){const _0x3678c6=_0x18efdc;for(const _0x15ec31 of this[_0x3678c6(0x288)](_0x227d08))if(_0x15ec31[_0x16ad6e]===_0x46ce0b&&!_0x15ec31[_0x4f507e]){this[_0x3678c6(0x25c)](_0x227d08,_0x15ec31);break;}}},'MessageEvent':_0x50a88a};function _0x291c65(_0x51c5c1,_0x346e60,_0x2c45f9){const _0x5914f5=_0x18efdc;typeof _0x51c5c1=='object'&&_0x51c5c1[_0x5914f5(0x136)]?_0x51c5c1[_0x5914f5(0x136)][_0x5914f5(0x215)](_0x51c5c1,_0x2c45f9):_0x51c5c1[_0x5914f5(0x215)](_0x346e60,_0x2c45f9);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3dbcb8}=ae();function _0x170555(_0x24b4f8,_0x3ecf35,_0x572b49){const _0x9183ad=_0x52cf;_0x24b4f8[_0x3ecf35]===void 0x0?_0x24b4f8[_0x3ecf35]=[_0x572b49]:_0x24b4f8[_0x3ecf35][_0x9183ad(0x26d)](_0x572b49);}function _0x488558(_0x1b7a16){const _0x3065f1=_0x52cf,_0x761543=Object[_0x3065f1(0x2be)](null);let _0x225d16=Object[_0x3065f1(0x2be)](null),_0x674819=!0x1,_0xf2fe89=!0x1,_0x338df8=!0x1,_0x5d5946,_0x562cef,_0xff429b=-0x1,_0x4e4942=-0x1,_0x1a92b4=-0x1,_0x354f8e=0x0;for(;_0x354f8e<_0x1b7a16[_0x3065f1(0x1fb)];_0x354f8e++)if(_0x4e4942=_0x1b7a16[_0x3065f1(0x1a8)](_0x354f8e),_0x5d5946===void 0x0){if(_0x1a92b4===-0x1&&_0x3dbcb8[_0x4e4942]===0x1)_0xff429b===-0x1&&(_0xff429b=_0x354f8e);else{if(_0x354f8e!==0x0&&(_0x4e4942===0x20||_0x4e4942===0x9))_0x1a92b4===-0x1&&_0xff429b!==-0x1&&(_0x1a92b4=_0x354f8e);else{if(_0x4e4942===0x3b||_0x4e4942===0x2c){if(_0xff429b===-0x1)throw new SyntaxError(_0x3065f1(0x2cb)+_0x354f8e);_0x1a92b4===-0x1&&(_0x1a92b4=_0x354f8e);const _0x21d295=_0x1b7a16['slice'](_0xff429b,_0x1a92b4);_0x4e4942===0x2c?(_0x170555(_0x761543,_0x21d295,_0x225d16),_0x225d16=Object[_0x3065f1(0x2be)](null)):_0x5d5946=_0x21d295,_0xff429b=_0x1a92b4=-0x1;}else throw new SyntaxError(_0x3065f1(0x2cb)+_0x354f8e);}}}else{if(_0x562cef===void 0x0){if(_0x1a92b4===-0x1&&_0x3dbcb8[_0x4e4942]===0x1)_0xff429b===-0x1&&(_0xff429b=_0x354f8e);else{if(_0x4e4942===0x20||_0x4e4942===0x9)_0x1a92b4===-0x1&&_0xff429b!==-0x1&&(_0x1a92b4=_0x354f8e);else{if(_0x4e4942===0x3b||_0x4e4942===0x2c){if(_0xff429b===-0x1)throw new SyntaxError(_0x3065f1(0x2cb)+_0x354f8e);_0x1a92b4===-0x1&&(_0x1a92b4=_0x354f8e),_0x170555(_0x225d16,_0x1b7a16[_0x3065f1(0x255)](_0xff429b,_0x1a92b4),!0x0),_0x4e4942===0x2c&&(_0x170555(_0x761543,_0x5d5946,_0x225d16),_0x225d16=Object[_0x3065f1(0x2be)](null),_0x5d5946=void 0x0),_0xff429b=_0x1a92b4=-0x1;}else{if(_0x4e4942===0x3d&&_0xff429b!==-0x1&&_0x1a92b4===-0x1)_0x562cef=_0x1b7a16[_0x3065f1(0x255)](_0xff429b,_0x354f8e),_0xff429b=_0x1a92b4=-0x1;else throw new SyntaxError(_0x3065f1(0x2cb)+_0x354f8e);}}}}else{if(_0xf2fe89){if(_0x3dbcb8[_0x4e4942]!==0x1)throw new SyntaxError(_0x3065f1(0x2cb)+_0x354f8e);_0xff429b===-0x1?_0xff429b=_0x354f8e:_0x674819||(_0x674819=!0x0),_0xf2fe89=!0x1;}else{if(_0x338df8){if(_0x3dbcb8[_0x4e4942]===0x1)_0xff429b===-0x1&&(_0xff429b=_0x354f8e);else{if(_0x4e4942===0x22&&_0xff429b!==-0x1)_0x338df8=!0x1,_0x1a92b4=_0x354f8e;else{if(_0x4e4942===0x5c)_0xf2fe89=!0x0;else throw new SyntaxError(_0x3065f1(0x2cb)+_0x354f8e);}}}else{if(_0x4e4942===0x22&&_0x1b7a16[_0x3065f1(0x1a8)](_0x354f8e-0x1)===0x3d)_0x338df8=!0x0;else{if(_0x1a92b4===-0x1&&_0x3dbcb8[_0x4e4942]===0x1)_0xff429b===-0x1&&(_0xff429b=_0x354f8e);else{if(_0xff429b!==-0x1&&(_0x4e4942===0x20||_0x4e4942===0x9))_0x1a92b4===-0x1&&(_0x1a92b4=_0x354f8e);else{if(_0x4e4942===0x3b||_0x4e4942===0x2c){if(_0xff429b===-0x1)throw new SyntaxError(_0x3065f1(0x2cb)+_0x354f8e);_0x1a92b4===-0x1&&(_0x1a92b4=_0x354f8e);let _0x42b135=_0x1b7a16[_0x3065f1(0x255)](_0xff429b,_0x1a92b4);_0x674819&&(_0x42b135=_0x42b135[_0x3065f1(0x25a)](/\\/g,''),_0x674819=!0x1),_0x170555(_0x225d16,_0x562cef,_0x42b135),_0x4e4942===0x2c&&(_0x170555(_0x761543,_0x5d5946,_0x225d16),_0x225d16=Object[_0x3065f1(0x2be)](null),_0x5d5946=void 0x0),_0x562cef=void 0x0,_0xff429b=_0x1a92b4=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x354f8e);}}}}}}}if(_0xff429b===-0x1||_0x338df8||_0x4e4942===0x20||_0x4e4942===0x9)throw new SyntaxError(_0x3065f1(0x145));_0x1a92b4===-0x1&&(_0x1a92b4=_0x354f8e);const _0x3bb5c4=_0x1b7a16[_0x3065f1(0x255)](_0xff429b,_0x1a92b4);return _0x5d5946===void 0x0?_0x170555(_0x761543,_0x3bb5c4,_0x225d16):(_0x562cef===void 0x0?_0x170555(_0x225d16,_0x3bb5c4,!0x0):_0x674819?_0x170555(_0x225d16,_0x562cef,_0x3bb5c4[_0x3065f1(0x25a)](/\\/g,'')):_0x170555(_0x225d16,_0x562cef,_0x3bb5c4),_0x170555(_0x761543,_0x5d5946,_0x225d16)),_0x761543;}function _0x28ff3d(_0x1803e6){const _0x4ea2dd=_0x52cf;return Object[_0x4ea2dd(0x11c)](_0x1803e6)[_0x4ea2dd(0x1f1)](_0x4cdbfd=>{const _0x5b7e37=_0x4ea2dd;let _0x3e4030=_0x1803e6[_0x4cdbfd];return Array[_0x5b7e37(0x164)](_0x3e4030)||(_0x3e4030=[_0x3e4030]),_0x3e4030['map'](_0x144afd=>[_0x4cdbfd]['concat'](Object[_0x5b7e37(0x11c)](_0x144afd)['map'](_0x1244c2=>{const _0x5f4231=_0x5b7e37;let _0x56fc6e=_0x144afd[_0x1244c2];return Array['isArray'](_0x56fc6e)||(_0x56fc6e=[_0x56fc6e]),_0x56fc6e[_0x5f4231(0x1f1)](_0x5a6660=>_0x5a6660===!0x0?_0x1244c2:_0x1244c2+'='+_0x5a6660)[_0x5f4231(0x209)](';\x20');}))[_0x5b7e37(0x209)](';\x20'))[_0x5b7e37(0x209)](',\x20');})[_0x4ea2dd(0x209)](',\x20');}return be={'format':_0x28ff3d,'parse':_0x488558},be;}var we,Je;function Pe(){const _0x4a07ae=_0x56bd5a;if(Je)return we;Je=0x1;const _0xfcde27=nt,_0x2cf2fb=vt,_0x4f5b05=ot,_0x20f689=St,_0x543f4f=Et,{randomBytes:_0x48dde7,createHash:_0x46e4f7}=Le,{Duplex:_0x13f8f2,Readable:_0x4b1edf}=oe,{URL:_0x2b8e9c}=xt,_0x30c093=he(),_0x5a893d=lt(),_0x21a42f=ft(),{isBlob:_0x5bf44e}=ae(),{BINARY_TYPES:_0xe0df4f,EMPTY_BUFFER:_0x1ec8cb,GUID:_0x2daf22,kForOnEventAttribute:_0x3d09be,kListener:_0xb3be01,kStatusCode:_0x101c93,kWebSocket:_0x2c6120,NOOP:_0x4909f9}=H(),{EventTarget:{addEventListener:_0x1ef078,removeEventListener:_0x280074}}=It(),{format:_0x4e601a,parse:_0x11ac2d}=ct(),{toBuffer:_0x2809b4}=ce(),_0x4941f0=0x1e*0x3e8,_0x4258e3=Symbol(_0x4a07ae(0x1a0)),_0x369ba8=[0x8,0xd],_0x3a0150=[_0x4a07ae(0x135),_0x4a07ae(0x18b),_0x4a07ae(0x241),_0x4a07ae(0x20d)],_0x59b950=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x35ae1d extends _0xfcde27{constructor(_0x251e63,_0x16d38c,_0x2a4d60){const _0x115f83=_0x4a07ae;super(),this[_0x115f83(0x19f)]=_0xe0df4f[0x0],this[_0x115f83(0x1d7)]=0x3ee,this[_0x115f83(0x1ed)]=!0x1,this[_0x115f83(0x2b1)]=!0x1,this['_closeMessage']=_0x1ec8cb,this[_0x115f83(0x124)]=null,this['_errorEmitted']=!0x1,this[_0x115f83(0x292)]={},this[_0x115f83(0x1e5)]=!0x1,this[_0x115f83(0x286)]='',this[_0x115f83(0x18e)]=_0x35ae1d[_0x115f83(0x135)],this[_0x115f83(0x2b6)]=null,this[_0x115f83(0x112)]=null,this[_0x115f83(0x1ea)]=null,_0x251e63!==null?(this[_0x115f83(0x25b)]=0x0,this['_isServer']=!0x1,this[_0x115f83(0x169)]=0x0,_0x16d38c===void 0x0?_0x16d38c=[]:Array['isArray'](_0x16d38c)||(typeof _0x16d38c==_0x115f83(0x193)&&_0x16d38c!==null?(_0x2a4d60=_0x16d38c,_0x16d38c=[]):_0x16d38c=[_0x16d38c]),_0x3c2240(this,_0x251e63,_0x16d38c,_0x2a4d60)):(this[_0x115f83(0x143)]=_0x2a4d60[_0x115f83(0x268)],this[_0x115f83(0x26a)]=!0x0);}get[_0x4a07ae(0x1f3)](){const _0x18f70e=_0x4a07ae;return this[_0x18f70e(0x19f)];}set[_0x4a07ae(0x1f3)](_0x424fbd){const _0x23c0d9=_0x4a07ae;_0xe0df4f[_0x23c0d9(0x194)](_0x424fbd)&&(this[_0x23c0d9(0x19f)]=_0x424fbd,this[_0x23c0d9(0x2b6)]&&(this[_0x23c0d9(0x2b6)][_0x23c0d9(0x19f)]=_0x424fbd));}get[_0x4a07ae(0x284)](){const _0x35ade7=_0x4a07ae;return this[_0x35ade7(0x1ea)]?this[_0x35ade7(0x1ea)][_0x35ade7(0x20f)]['length']+this[_0x35ade7(0x112)][_0x35ade7(0x1a4)]:this[_0x35ade7(0x25b)];}get[_0x4a07ae(0x13b)](){const _0x5a5512=_0x4a07ae;return Object[_0x5a5512(0x11c)](this[_0x5a5512(0x292)])[_0x5a5512(0x209)]();}get[_0x4a07ae(0x173)](){const _0x4d25b0=_0x4a07ae;return this[_0x4d25b0(0x1e5)];}get['onclose'](){return null;}get[_0x4a07ae(0x152)](){return null;}get[_0x4a07ae(0x253)](){return null;}get[_0x4a07ae(0x163)](){return null;}get[_0x4a07ae(0x1c1)](){const _0xfe5588=_0x4a07ae;return this[_0xfe5588(0x286)];}get[_0x4a07ae(0x1a7)](){const _0x45be45=_0x4a07ae;return this[_0x45be45(0x18e)];}get[_0x4a07ae(0x18f)](){return this['_url'];}[_0x4a07ae(0x1e8)](_0x2b76de,_0x363706,_0x55ca5b){const _0x343fd4=_0x4a07ae,_0x39d19a=new _0x5a893d({'allowSynchronousEvents':_0x55ca5b[_0x343fd4(0x2d9)],'binaryType':this['binaryType'],'extensions':this[_0x343fd4(0x292)],'isServer':this[_0x343fd4(0x26a)],'maxPayload':_0x55ca5b[_0x343fd4(0x210)],'skipUTF8Validation':_0x55ca5b[_0x343fd4(0x2ac)]}),_0x46d2ac=new _0x21a42f(_0x2b76de,this[_0x343fd4(0x292)],_0x55ca5b[_0x343fd4(0x1b0)]);this[_0x343fd4(0x2b6)]=_0x39d19a,this[_0x343fd4(0x112)]=_0x46d2ac,this['_socket']=_0x2b76de,_0x39d19a[_0x2c6120]=this,_0x46d2ac[_0x2c6120]=this,_0x2b76de[_0x2c6120]=this,_0x39d19a['on']('conclude',_0x22bcc1),_0x39d19a['on'](_0x343fd4(0x2c2),_0x3a9288),_0x39d19a['on'](_0x343fd4(0x205),_0x12d165),_0x39d19a['on']('message',_0x9e80b4),_0x39d19a['on'](_0x343fd4(0x218),_0xbbb08),_0x39d19a['on'](_0x343fd4(0x1d8),_0x57d7a6),_0x46d2ac[_0x343fd4(0x152)]=_0x1c1ba5,_0x2b76de[_0x343fd4(0x279)]&&_0x2b76de[_0x343fd4(0x279)](0x0),_0x2b76de[_0x343fd4(0x1e4)]&&_0x2b76de[_0x343fd4(0x1e4)](),_0x363706[_0x343fd4(0x1fb)]>0x0&&_0x2b76de[_0x343fd4(0x192)](_0x363706),_0x2b76de['on']('close',_0x57c624),_0x2b76de['on']('data',_0x4f6333),_0x2b76de['on']('end',_0x1f6a58),_0x2b76de['on'](_0x343fd4(0x205),_0x2009cb),this[_0x343fd4(0x18e)]=_0x35ae1d[_0x343fd4(0x18b)],this[_0x343fd4(0x29c)](_0x343fd4(0x14b));}[_0x4a07ae(0x217)](){const _0x105a6b=_0x4a07ae;if(!this[_0x105a6b(0x1ea)]){this['_readyState']=_0x35ae1d['CLOSED'],this[_0x105a6b(0x29c)](_0x105a6b(0x23c),this[_0x105a6b(0x1d7)],this['_closeMessage']);return;}this[_0x105a6b(0x292)][_0x30c093[_0x105a6b(0x240)]]&&this[_0x105a6b(0x292)][_0x30c093[_0x105a6b(0x240)]][_0x105a6b(0x276)](),this[_0x105a6b(0x2b6)][_0x105a6b(0x156)](),this[_0x105a6b(0x18e)]=_0x35ae1d['CLOSED'],this['emit']('close',this[_0x105a6b(0x1d7)],this[_0x105a6b(0x1e9)]);}['close'](_0x4584ea,_0x474115){const _0x1233aa=_0x4a07ae;if(this[_0x1233aa(0x1a7)]!==_0x35ae1d['CLOSED']){if(this[_0x1233aa(0x1a7)]===_0x35ae1d[_0x1233aa(0x135)]){_0x225474(this,this[_0x1233aa(0x28b)],_0x1233aa(0x1f6));return;}if(this[_0x1233aa(0x1a7)]===_0x35ae1d[_0x1233aa(0x241)]){this[_0x1233aa(0x2b1)]&&(this[_0x1233aa(0x1ed)]||this[_0x1233aa(0x2b6)][_0x1233aa(0x20f)][_0x1233aa(0x21f)])&&this[_0x1233aa(0x1ea)][_0x1233aa(0x29b)]();return;}this[_0x1233aa(0x18e)]=_0x35ae1d[_0x1233aa(0x241)],this[_0x1233aa(0x112)][_0x1233aa(0x23c)](_0x4584ea,_0x474115,!this[_0x1233aa(0x26a)],_0x48ef1e=>{const _0x26217a=_0x1233aa;_0x48ef1e||(this['_closeFrameSent']=!0x0,(this[_0x26217a(0x1ed)]||this[_0x26217a(0x2b6)][_0x26217a(0x20f)][_0x26217a(0x21f)])&&this['_socket']['end']());}),_0x409c4a(this);}}['pause'](){const _0x3f321b=_0x4a07ae;this[_0x3f321b(0x1a7)]===_0x35ae1d[_0x3f321b(0x135)]||this[_0x3f321b(0x1a7)]===_0x35ae1d[_0x3f321b(0x20d)]||(this[_0x3f321b(0x1e5)]=!0x0,this[_0x3f321b(0x1ea)][_0x3f321b(0x256)]());}[_0x4a07ae(0x218)](_0x2eecd6,_0x1520ca,_0x3274f0){const _0x221d34=_0x4a07ae;if(this[_0x221d34(0x1a7)]===_0x35ae1d[_0x221d34(0x135)])throw new Error(_0x221d34(0x1c8));if(typeof _0x2eecd6==_0x221d34(0x12c)?(_0x3274f0=_0x2eecd6,_0x2eecd6=_0x1520ca=void 0x0):typeof _0x1520ca==_0x221d34(0x12c)&&(_0x3274f0=_0x1520ca,_0x1520ca=void 0x0),typeof _0x2eecd6==_0x221d34(0x15d)&&(_0x2eecd6=_0x2eecd6[_0x221d34(0x2ce)]()),this[_0x221d34(0x1a7)]!==_0x35ae1d[_0x221d34(0x18b)]){_0x5d683a(this,_0x2eecd6,_0x3274f0);return;}_0x1520ca===void 0x0&&(_0x1520ca=!this[_0x221d34(0x26a)]),this['_sender'][_0x221d34(0x218)](_0x2eecd6||_0x1ec8cb,_0x1520ca,_0x3274f0);}[_0x4a07ae(0x1d8)](_0x26e71d,_0x826431,_0x4d8346){const _0x2e56a6=_0x4a07ae;if(this[_0x2e56a6(0x1a7)]===_0x35ae1d[_0x2e56a6(0x135)])throw new Error(_0x2e56a6(0x1c8));if(typeof _0x26e71d==_0x2e56a6(0x12c)?(_0x4d8346=_0x26e71d,_0x26e71d=_0x826431=void 0x0):typeof _0x826431=='function'&&(_0x4d8346=_0x826431,_0x826431=void 0x0),typeof _0x26e71d=='number'&&(_0x26e71d=_0x26e71d[_0x2e56a6(0x2ce)]()),this['readyState']!==_0x35ae1d[_0x2e56a6(0x18b)]){_0x5d683a(this,_0x26e71d,_0x4d8346);return;}_0x826431===void 0x0&&(_0x826431=!this[_0x2e56a6(0x26a)]),this[_0x2e56a6(0x112)][_0x2e56a6(0x1d8)](_0x26e71d||_0x1ec8cb,_0x826431,_0x4d8346);}['resume'](){const _0xcc7ebc=_0x4a07ae;this[_0xcc7ebc(0x1a7)]===_0x35ae1d[_0xcc7ebc(0x135)]||this[_0xcc7ebc(0x1a7)]===_0x35ae1d[_0xcc7ebc(0x20d)]||(this[_0xcc7ebc(0x1e5)]=!0x1,this[_0xcc7ebc(0x2b6)][_0xcc7ebc(0x20f)][_0xcc7ebc(0x2d4)]||this[_0xcc7ebc(0x1ea)]['resume']());}['send'](_0x2211d9,_0x329704,_0x36aa2a){const _0x36d28d=_0x4a07ae;if(this['readyState']===_0x35ae1d[_0x36d28d(0x135)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x329704==_0x36d28d(0x12c)&&(_0x36aa2a=_0x329704,_0x329704={}),typeof _0x2211d9==_0x36d28d(0x15d)&&(_0x2211d9=_0x2211d9[_0x36d28d(0x2ce)]()),this[_0x36d28d(0x1a7)]!==_0x35ae1d[_0x36d28d(0x18b)]){_0x5d683a(this,_0x2211d9,_0x36aa2a);return;}const _0x326758={'binary':typeof _0x2211d9!=_0x36d28d(0x196),'mask':!this[_0x36d28d(0x26a)],'compress':!0x0,'fin':!0x0,..._0x329704};this[_0x36d28d(0x292)][_0x30c093[_0x36d28d(0x240)]]||(_0x326758['compress']=!0x1),this[_0x36d28d(0x112)][_0x36d28d(0x125)](_0x2211d9||_0x1ec8cb,_0x326758,_0x36aa2a);}[_0x4a07ae(0x299)](){const _0x2708cf=_0x4a07ae;if(this[_0x2708cf(0x1a7)]!==_0x35ae1d[_0x2708cf(0x20d)]){if(this[_0x2708cf(0x1a7)]===_0x35ae1d[_0x2708cf(0x135)]){_0x225474(this,this['_req'],_0x2708cf(0x1f6));return;}this['_socket']&&(this[_0x2708cf(0x18e)]=_0x35ae1d[_0x2708cf(0x241)],this['_socket']['destroy']());}}}Object['defineProperty'](_0x35ae1d,_0x4a07ae(0x135),{'enumerable':!0x0,'value':_0x3a0150[_0x4a07ae(0x267)](_0x4a07ae(0x135))}),Object['defineProperty'](_0x35ae1d['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x3a0150[_0x4a07ae(0x267)](_0x4a07ae(0x135))}),Object[_0x4a07ae(0x2c8)](_0x35ae1d,'OPEN',{'enumerable':!0x0,'value':_0x3a0150[_0x4a07ae(0x267)](_0x4a07ae(0x18b))}),Object[_0x4a07ae(0x2c8)](_0x35ae1d[_0x4a07ae(0x11d)],_0x4a07ae(0x18b),{'enumerable':!0x0,'value':_0x3a0150[_0x4a07ae(0x267)](_0x4a07ae(0x18b))}),Object[_0x4a07ae(0x2c8)](_0x35ae1d,_0x4a07ae(0x241),{'enumerable':!0x0,'value':_0x3a0150[_0x4a07ae(0x267)](_0x4a07ae(0x241))}),Object[_0x4a07ae(0x2c8)](_0x35ae1d['prototype'],_0x4a07ae(0x241),{'enumerable':!0x0,'value':_0x3a0150[_0x4a07ae(0x267)](_0x4a07ae(0x241))}),Object[_0x4a07ae(0x2c8)](_0x35ae1d,'CLOSED',{'enumerable':!0x0,'value':_0x3a0150[_0x4a07ae(0x267)](_0x4a07ae(0x20d))}),Object['defineProperty'](_0x35ae1d[_0x4a07ae(0x11d)],_0x4a07ae(0x20d),{'enumerable':!0x0,'value':_0x3a0150[_0x4a07ae(0x267)](_0x4a07ae(0x20d))}),[_0x4a07ae(0x1f3),_0x4a07ae(0x284),'extensions',_0x4a07ae(0x173),_0x4a07ae(0x1c1),_0x4a07ae(0x1a7),_0x4a07ae(0x18f)][_0x4a07ae(0x274)](_0x39fa04=>{const _0x431c6a=_0x4a07ae;Object[_0x431c6a(0x2c8)](_0x35ae1d[_0x431c6a(0x11d)],_0x39fa04,{'enumerable':!0x0});}),[_0x4a07ae(0x14b),_0x4a07ae(0x205),_0x4a07ae(0x23c),'message']['forEach'](_0x295671=>{const _0xa6efdf=_0x4a07ae;Object[_0xa6efdf(0x2c8)](_0x35ae1d[_0xa6efdf(0x11d)],'on'+_0x295671,{'enumerable':!0x0,'get'(){for(const _0x30a491 of this['listeners'](_0x295671))if(_0x30a491[_0x3d09be])return _0x30a491[_0xb3be01];return null;},'set'(_0xeeefd1){const _0x20790d=_0xa6efdf;for(const _0x508e2e of this[_0x20790d(0x288)](_0x295671))if(_0x508e2e[_0x3d09be]){this[_0x20790d(0x25c)](_0x295671,_0x508e2e);break;}typeof _0xeeefd1==_0x20790d(0x12c)&&this['addEventListener'](_0x295671,_0xeeefd1,{[_0x3d09be]:!0x0});}});}),_0x35ae1d['prototype']['addEventListener']=_0x1ef078,_0x35ae1d[_0x4a07ae(0x11d)][_0x4a07ae(0x1d5)]=_0x280074,we=_0x35ae1d;function _0x3c2240(_0x3f533a,_0x11c3fa,_0x5029d5,_0x1704b2){const _0x272fcf=_0x4a07ae,_0x170cc3={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x369ba8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1704b2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3f533a[_0x272fcf(0x143)]=_0x170cc3[_0x272fcf(0x268)],!_0x369ba8['includes'](_0x170cc3[_0x272fcf(0x190)]))throw new RangeError(_0x272fcf(0x2c0)+_0x170cc3[_0x272fcf(0x190)]+_0x272fcf(0x142)+_0x369ba8[_0x272fcf(0x209)](',\x20')+')');let _0x1a648c;if(_0x11c3fa instanceof _0x2b8e9c)_0x1a648c=_0x11c3fa;else try{_0x1a648c=new _0x2b8e9c(_0x11c3fa);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x11c3fa);}_0x1a648c[_0x272fcf(0x1c1)]===_0x272fcf(0x13a)?_0x1a648c[_0x272fcf(0x1c1)]=_0x272fcf(0x167):_0x1a648c['protocol']==='https:'&&(_0x1a648c['protocol']=_0x272fcf(0x17b)),_0x3f533a[_0x272fcf(0x159)]=_0x1a648c[_0x272fcf(0x252)];const _0x38e19d=_0x1a648c['protocol']===_0x272fcf(0x17b),_0x66b703=_0x1a648c[_0x272fcf(0x1c1)]==='ws+unix:';let _0x1b57aa;if(_0x1a648c[_0x272fcf(0x1c1)]!==_0x272fcf(0x167)&&!_0x38e19d&&!_0x66b703?_0x1b57aa='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':_0x66b703&&!_0x1a648c[_0x272fcf(0x1e1)]?_0x1b57aa=_0x272fcf(0x191):_0x1a648c['hash']&&(_0x1b57aa='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x1b57aa){const _0x50239c=new SyntaxError(_0x1b57aa);if(_0x3f533a['_redirects']===0x0)throw _0x50239c;_0x3ee79e(_0x3f533a,_0x50239c);return;}const _0x44cfe0=_0x38e19d?0x1bb:0x50,_0x573973=_0x48dde7(0x10)[_0x272fcf(0x2ce)](_0x272fcf(0x2dc)),_0x409164=_0x38e19d?_0x2cf2fb[_0x272fcf(0x20b)]:_0x4f5b05['request'],_0xa00c09=new Set();let _0x23ebee;if(_0x170cc3[_0x272fcf(0x230)]=_0x170cc3[_0x272fcf(0x230)]||(_0x38e19d?_0x58b0a3:_0x347d74),_0x170cc3[_0x272fcf(0x2ae)]=_0x170cc3[_0x272fcf(0x2ae)]||_0x44cfe0,_0x170cc3['port']=_0x1a648c[_0x272fcf(0x269)]||_0x44cfe0,_0x170cc3['host']=_0x1a648c[_0x272fcf(0x150)][_0x272fcf(0x1d9)]('[')?_0x1a648c[_0x272fcf(0x150)][_0x272fcf(0x255)](0x1,-0x1):_0x1a648c['hostname'],_0x170cc3[_0x272fcf(0x1f8)]={..._0x170cc3[_0x272fcf(0x1f8)],'Sec-WebSocket-Version':_0x170cc3['protocolVersion'],'Sec-WebSocket-Key':_0x573973,'Connection':'Upgrade','Upgrade':'websocket'},_0x170cc3[_0x272fcf(0x11e)]=_0x1a648c[_0x272fcf(0x1e1)]+_0x1a648c[_0x272fcf(0x121)],_0x170cc3[_0x272fcf(0x214)]=_0x170cc3[_0x272fcf(0x25e)],_0x170cc3['perMessageDeflate']&&(_0x23ebee=new _0x30c093(_0x170cc3[_0x272fcf(0x2d7)]!==!0x0?_0x170cc3[_0x272fcf(0x2d7)]:{},!0x1,_0x170cc3[_0x272fcf(0x210)]),_0x170cc3[_0x272fcf(0x1f8)][_0x272fcf(0x15f)]=_0x4e601a({[_0x30c093[_0x272fcf(0x240)]]:_0x23ebee['offer']()})),_0x5029d5[_0x272fcf(0x1fb)]){for(const _0x2cba65 of _0x5029d5){if(typeof _0x2cba65!=_0x272fcf(0x196)||!_0x59b950[_0x272fcf(0x260)](_0x2cba65)||_0xa00c09[_0x272fcf(0x297)](_0x2cba65))throw new SyntaxError(_0x272fcf(0x17d));_0xa00c09[_0x272fcf(0x2d0)](_0x2cba65);}_0x170cc3[_0x272fcf(0x1f8)][_0x272fcf(0x1c0)]=_0x5029d5['join'](',');}if(_0x170cc3['origin']&&(_0x170cc3[_0x272fcf(0x190)]<0xd?_0x170cc3[_0x272fcf(0x1f8)][_0x272fcf(0x19c)]=_0x170cc3[_0x272fcf(0x1a5)]:_0x170cc3[_0x272fcf(0x1f8)][_0x272fcf(0x203)]=_0x170cc3[_0x272fcf(0x1a5)]),(_0x1a648c['username']||_0x1a648c[_0x272fcf(0x1c5)])&&(_0x170cc3['auth']=_0x1a648c[_0x272fcf(0x16e)]+':'+_0x1a648c['password']),_0x66b703){const _0x4cfe43=_0x170cc3['path'][_0x272fcf(0x11f)](':');_0x170cc3[_0x272fcf(0x1ef)]=_0x4cfe43[0x0],_0x170cc3[_0x272fcf(0x11e)]=_0x4cfe43[0x1];}let _0x9a5a66;if(_0x170cc3[_0x272fcf(0x22d)]){if(_0x3f533a[_0x272fcf(0x169)]===0x0){_0x3f533a['_originalIpc']=_0x66b703,_0x3f533a['_originalSecure']=_0x38e19d,_0x3f533a['_originalHostOrSocketPath']=_0x66b703?_0x170cc3[_0x272fcf(0x1ef)]:_0x1a648c[_0x272fcf(0x285)];const _0x1e4b8a=_0x1704b2&&_0x1704b2[_0x272fcf(0x1f8)];if(_0x1704b2={..._0x1704b2,'headers':{}},_0x1e4b8a){for(const [_0xaeac28,_0x2a5478]of Object[_0x272fcf(0x289)](_0x1e4b8a))_0x1704b2[_0x272fcf(0x1f8)][_0xaeac28[_0x272fcf(0x1b8)]()]=_0x2a5478;}}else{if(_0x3f533a[_0x272fcf(0x1c7)](_0x272fcf(0x1fd))===0x0){const _0x4bce12=_0x66b703?_0x3f533a[_0x272fcf(0x176)]?_0x170cc3[_0x272fcf(0x1ef)]===_0x3f533a['_originalHostOrSocketPath']:!0x1:_0x3f533a['_originalIpc']?!0x1:_0x1a648c[_0x272fcf(0x285)]===_0x3f533a[_0x272fcf(0x2a6)];(!_0x4bce12||_0x3f533a['_originalSecure']&&!_0x38e19d)&&(delete _0x170cc3[_0x272fcf(0x1f8)][_0x272fcf(0x201)],delete _0x170cc3[_0x272fcf(0x1f8)][_0x272fcf(0x2a4)],_0x4bce12||delete _0x170cc3[_0x272fcf(0x1f8)]['host'],_0x170cc3['auth']=void 0x0);}}_0x170cc3[_0x272fcf(0x179)]&&!_0x1704b2[_0x272fcf(0x1f8)][_0x272fcf(0x201)]&&(_0x1704b2[_0x272fcf(0x1f8)]['authorization']=_0x272fcf(0x1b1)+Buffer['from'](_0x170cc3[_0x272fcf(0x179)])[_0x272fcf(0x2ce)](_0x272fcf(0x2dc))),_0x9a5a66=_0x3f533a[_0x272fcf(0x28b)]=_0x409164(_0x170cc3),_0x3f533a['_redirects']&&_0x3f533a['emit'](_0x272fcf(0x1fd),_0x3f533a[_0x272fcf(0x18f)],_0x9a5a66);}else _0x9a5a66=_0x3f533a[_0x272fcf(0x28b)]=_0x409164(_0x170cc3);_0x170cc3['timeout']&&_0x9a5a66['on'](_0x272fcf(0x214),()=>{const _0x4b1d65=_0x272fcf;_0x225474(_0x3f533a,_0x9a5a66,_0x4b1d65(0x2a7));}),_0x9a5a66['on'](_0x272fcf(0x205),_0x47516b=>{const _0x52e43b=_0x272fcf;_0x9a5a66===null||_0x9a5a66[_0x4258e3]||(_0x9a5a66=_0x3f533a[_0x52e43b(0x28b)]=null,_0x3ee79e(_0x3f533a,_0x47516b));}),_0x9a5a66['on']('response',_0x22b0d3=>{const _0x2231c4=_0x272fcf,_0x285a35=_0x22b0d3[_0x2231c4(0x1f8)][_0x2231c4(0x261)],_0x5efae9=_0x22b0d3[_0x2231c4(0x1dc)];if(_0x285a35&&_0x170cc3[_0x2231c4(0x22d)]&&_0x5efae9>=0x12c&&_0x5efae9<0x190){if(++_0x3f533a[_0x2231c4(0x169)]>_0x170cc3[_0x2231c4(0x1ce)]){_0x225474(_0x3f533a,_0x9a5a66,_0x2231c4(0x27a));return;}_0x9a5a66['abort']();let _0x3b5174;try{_0x3b5174=new _0x2b8e9c(_0x285a35,_0x11c3fa);}catch{const _0x9ed232=new SyntaxError('Invalid\x20URL:\x20'+_0x285a35);_0x3ee79e(_0x3f533a,_0x9ed232);return;}_0x3c2240(_0x3f533a,_0x3b5174,_0x5029d5,_0x1704b2);}else _0x3f533a[_0x2231c4(0x29c)](_0x2231c4(0x206),_0x9a5a66,_0x22b0d3)||_0x225474(_0x3f533a,_0x9a5a66,'Unexpected\x20server\x20response:\x20'+_0x22b0d3[_0x2231c4(0x1dc)]);}),_0x9a5a66['on'](_0x272fcf(0x29a),(_0xff6667,_0x4df736,_0x34a5bf)=>{const _0x11e050=_0x272fcf;if(_0x3f533a['emit'](_0x11e050(0x29a),_0xff6667),_0x3f533a['readyState']!==_0x35ae1d[_0x11e050(0x135)])return;_0x9a5a66=_0x3f533a['_req']=null;const _0x297d92=_0xff6667[_0x11e050(0x1f8)][_0x11e050(0x29a)];if(_0x297d92===void 0x0||_0x297d92[_0x11e050(0x1b8)]()!==_0x11e050(0x2b8)){_0x225474(_0x3f533a,_0x4df736,_0x11e050(0x185));return;}const _0x526b9d=_0x46e4f7(_0x11e050(0x220))['update'](_0x573973+_0x2daf22)[_0x11e050(0x2a5)]('base64');if(_0xff6667[_0x11e050(0x1f8)][_0x11e050(0x1cc)]!==_0x526b9d){_0x225474(_0x3f533a,_0x4df736,_0x11e050(0x168));return;}const _0x3ad098=_0xff6667[_0x11e050(0x1f8)][_0x11e050(0x251)];let _0x2f4440;if(_0x3ad098!==void 0x0?_0xa00c09['size']?_0xa00c09[_0x11e050(0x297)](_0x3ad098)||(_0x2f4440=_0x11e050(0x2bf)):_0x2f4440=_0x11e050(0x129):_0xa00c09[_0x11e050(0x27c)]&&(_0x2f4440='Server\x20sent\x20no\x20subprotocol'),_0x2f4440){_0x225474(_0x3f533a,_0x4df736,_0x2f4440);return;}_0x3ad098&&(_0x3f533a[_0x11e050(0x286)]=_0x3ad098);const _0x2c907d=_0xff6667['headers']['sec-websocket-extensions'];if(_0x2c907d!==void 0x0){if(!_0x23ebee){_0x225474(_0x3f533a,_0x4df736,_0x11e050(0x1df));return;}let _0x4247d9;try{_0x4247d9=_0x11ac2d(_0x2c907d);}catch{_0x225474(_0x3f533a,_0x4df736,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x553367=Object[_0x11e050(0x11c)](_0x4247d9);if(_0x553367['length']!==0x1||_0x553367[0x0]!==_0x30c093[_0x11e050(0x240)]){_0x225474(_0x3f533a,_0x4df736,_0x11e050(0x117));return;}try{_0x23ebee['accept'](_0x4247d9[_0x30c093[_0x11e050(0x240)]]);}catch{_0x225474(_0x3f533a,_0x4df736,_0x11e050(0x28f));return;}_0x3f533a[_0x11e050(0x292)][_0x30c093[_0x11e050(0x240)]]=_0x23ebee;}_0x3f533a[_0x11e050(0x1e8)](_0x4df736,_0x34a5bf,{'allowSynchronousEvents':_0x170cc3[_0x11e050(0x2d9)],'generateMask':_0x170cc3[_0x11e050(0x1b0)],'maxPayload':_0x170cc3[_0x11e050(0x210)],'skipUTF8Validation':_0x170cc3[_0x11e050(0x2ac)]});}),_0x170cc3[_0x272fcf(0x27d)]?_0x170cc3[_0x272fcf(0x27d)](_0x9a5a66,_0x3f533a):_0x9a5a66[_0x272fcf(0x29b)]();}function _0x3ee79e(_0x5204e3,_0x12816c){const _0x36580e=_0x4a07ae;_0x5204e3[_0x36580e(0x18e)]=_0x35ae1d['CLOSING'],_0x5204e3[_0x36580e(0x28d)]=!0x0,_0x5204e3[_0x36580e(0x29c)](_0x36580e(0x205),_0x12816c),_0x5204e3['emitClose']();}function _0x347d74(_0x47f1c6){const _0x20999f=_0x4a07ae;return _0x47f1c6[_0x20999f(0x11e)]=_0x47f1c6['socketPath'],_0x20f689['connect'](_0x47f1c6);}function _0x58b0a3(_0xd63979){const _0x410153=_0x4a07ae;return _0xd63979[_0x410153(0x11e)]=void 0x0,!_0xd63979[_0x410153(0x1a1)]&&_0xd63979[_0x410153(0x1a1)]!==''&&(_0xd63979[_0x410153(0x1a1)]=_0x20f689['isIP'](_0xd63979[_0x410153(0x285)])?'':_0xd63979[_0x410153(0x285)]),_0x543f4f[_0x410153(0x23d)](_0xd63979);}function _0x225474(_0x2acbf8,_0x37643f,_0x390688){const _0x4145d4=_0x4a07ae;_0x2acbf8[_0x4145d4(0x18e)]=_0x35ae1d['CLOSING'];const _0x2df52c=new Error(_0x390688);Error[_0x4145d4(0x263)](_0x2df52c,_0x225474),_0x37643f['setHeader']?(_0x37643f[_0x4258e3]=!0x0,_0x37643f[_0x4145d4(0x1c9)](),_0x37643f[_0x4145d4(0x221)]&&!_0x37643f[_0x4145d4(0x221)][_0x4145d4(0x23a)]&&_0x37643f['socket'][_0x4145d4(0x21d)](),process[_0x4145d4(0x1aa)](_0x3ee79e,_0x2acbf8,_0x2df52c)):(_0x37643f[_0x4145d4(0x21d)](_0x2df52c),_0x37643f[_0x4145d4(0x188)](_0x4145d4(0x205),_0x2acbf8[_0x4145d4(0x29c)][_0x4145d4(0x148)](_0x2acbf8,_0x4145d4(0x205))),_0x37643f[_0x4145d4(0x188)](_0x4145d4(0x23c),_0x2acbf8[_0x4145d4(0x217)][_0x4145d4(0x148)](_0x2acbf8)));}function _0x5d683a(_0x58b0ad,_0x21d602,_0xb85246){const _0x5ca0de=_0x4a07ae;if(_0x21d602){const _0x2da494=_0x5bf44e(_0x21d602)?_0x21d602[_0x5ca0de(0x27c)]:_0x2809b4(_0x21d602)[_0x5ca0de(0x1fb)];_0x58b0ad[_0x5ca0de(0x1ea)]?_0x58b0ad[_0x5ca0de(0x112)]['_bufferedBytes']+=_0x2da494:_0x58b0ad['_bufferedAmount']+=_0x2da494;}if(_0xb85246){const _0x339389=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x58b0ad[_0x5ca0de(0x1a7)]+'\x20('+_0x3a0150[_0x58b0ad['readyState']]+')');process[_0x5ca0de(0x1aa)](_0xb85246,_0x339389);}}function _0x22bcc1(_0x3aca17,_0x70d26d){const _0x3a07af=_0x4a07ae,_0x5bf7e0=this[_0x2c6120];_0x5bf7e0['_closeFrameReceived']=!0x0,_0x5bf7e0[_0x3a07af(0x1e9)]=_0x70d26d,_0x5bf7e0[_0x3a07af(0x1d7)]=_0x3aca17,_0x5bf7e0['_socket'][_0x2c6120]!==void 0x0&&(_0x5bf7e0[_0x3a07af(0x1ea)][_0x3a07af(0x25c)]('data',_0x4f6333),process[_0x3a07af(0x1aa)](_0x412fb9,_0x5bf7e0[_0x3a07af(0x1ea)]),_0x3aca17===0x3ed?_0x5bf7e0[_0x3a07af(0x23c)]():_0x5bf7e0[_0x3a07af(0x23c)](_0x3aca17,_0x70d26d));}function _0x3a9288(){const _0x56a14b=_0x4a07ae,_0x1551e2=this[_0x2c6120];_0x1551e2['isPaused']||_0x1551e2[_0x56a14b(0x1ea)][_0x56a14b(0x123)]();}function _0x12d165(_0x2a302b){const _0x1d2213=_0x4a07ae,_0x5cf552=this[_0x2c6120];_0x5cf552[_0x1d2213(0x1ea)][_0x2c6120]!==void 0x0&&(_0x5cf552[_0x1d2213(0x1ea)]['removeListener'](_0x1d2213(0x275),_0x4f6333),process['nextTick'](_0x412fb9,_0x5cf552[_0x1d2213(0x1ea)]),_0x5cf552[_0x1d2213(0x23c)](_0x2a302b[_0x101c93])),_0x5cf552[_0x1d2213(0x28d)]||(_0x5cf552['_errorEmitted']=!0x0,_0x5cf552['emit'](_0x1d2213(0x205),_0x2a302b));}function _0x2876d3(){const _0xe06a95=_0x4a07ae;this[_0x2c6120][_0xe06a95(0x217)]();}function _0x9e80b4(_0x2cd64,_0x1d90a4){const _0x8db5c5=_0x4a07ae;this[_0x2c6120]['emit'](_0x8db5c5(0x166),_0x2cd64,_0x1d90a4);}function _0xbbb08(_0x1ea0f6){const _0x18c987=_0x4a07ae,_0x19e896=this[_0x2c6120];_0x19e896[_0x18c987(0x143)]&&_0x19e896[_0x18c987(0x1d8)](_0x1ea0f6,!this[_0x18c987(0x26a)],_0x4909f9),_0x19e896[_0x18c987(0x29c)](_0x18c987(0x218),_0x1ea0f6);}function _0x57d7a6(_0x5a3796){const _0x2c6a58=_0x4a07ae;this[_0x2c6120][_0x2c6a58(0x29c)](_0x2c6a58(0x1d8),_0x5a3796);}function _0x412fb9(_0x440985){const _0x50251b=_0x4a07ae;_0x440985[_0x50251b(0x123)]();}function _0x1c1ba5(_0x445d55){const _0x5af9d8=_0x4a07ae,_0x545a06=this[_0x2c6120];_0x545a06[_0x5af9d8(0x1a7)]!==_0x35ae1d[_0x5af9d8(0x20d)]&&(_0x545a06['readyState']===_0x35ae1d[_0x5af9d8(0x18b)]&&(_0x545a06[_0x5af9d8(0x18e)]=_0x35ae1d[_0x5af9d8(0x241)],_0x409c4a(_0x545a06)),this[_0x5af9d8(0x1ea)]['end'](),_0x545a06[_0x5af9d8(0x28d)]||(_0x545a06[_0x5af9d8(0x28d)]=!0x0,_0x545a06[_0x5af9d8(0x29c)](_0x5af9d8(0x205),_0x445d55)));}function _0x409c4a(_0x2c634f){const _0x38d6dd=_0x4a07ae;_0x2c634f[_0x38d6dd(0x124)]=setTimeout(_0x2c634f[_0x38d6dd(0x1ea)][_0x38d6dd(0x21d)]['bind'](_0x2c634f[_0x38d6dd(0x1ea)]),_0x4941f0);}function _0x57c624(){const _0x2af8c1=_0x4a07ae,_0x401742=this[_0x2c6120];this[_0x2af8c1(0x25c)]('close',_0x57c624),this[_0x2af8c1(0x25c)](_0x2af8c1(0x275),_0x4f6333),this[_0x2af8c1(0x25c)](_0x2af8c1(0x29b),_0x1f6a58),_0x401742[_0x2af8c1(0x18e)]=_0x35ae1d[_0x2af8c1(0x241)];let _0x3cefca;!this[_0x2af8c1(0x28a)][_0x2af8c1(0x207)]&&!_0x401742[_0x2af8c1(0x1ed)]&&!_0x401742[_0x2af8c1(0x2b6)][_0x2af8c1(0x20f)][_0x2af8c1(0x21f)]&&(_0x3cefca=_0x401742[_0x2af8c1(0x1ea)]['read']())!==null&&_0x401742['_receiver'][_0x2af8c1(0x20a)](_0x3cefca),_0x401742['_receiver'][_0x2af8c1(0x29b)](),this[_0x2c6120]=void 0x0,clearTimeout(_0x401742[_0x2af8c1(0x124)]),_0x401742[_0x2af8c1(0x2b6)][_0x2af8c1(0x20f)]['finished']||_0x401742[_0x2af8c1(0x2b6)][_0x2af8c1(0x20f)][_0x2af8c1(0x21f)]?_0x401742[_0x2af8c1(0x217)]():(_0x401742['_receiver']['on'](_0x2af8c1(0x205),_0x2876d3),_0x401742[_0x2af8c1(0x2b6)]['on']('finish',_0x2876d3));}function _0x4f6333(_0x331aa7){const _0x17b11e=_0x4a07ae;this[_0x2c6120][_0x17b11e(0x2b6)][_0x17b11e(0x20a)](_0x331aa7)||this[_0x17b11e(0x256)]();}function _0x1f6a58(){const _0x42e38d=_0x4a07ae,_0x47437d=this[_0x2c6120];_0x47437d[_0x42e38d(0x18e)]=_0x35ae1d[_0x42e38d(0x241)],_0x47437d[_0x42e38d(0x2b6)][_0x42e38d(0x29b)](),this[_0x42e38d(0x29b)]();}function _0x2009cb(){const _0x3926b9=_0x4a07ae,_0x52cfed=this[_0x2c6120];this[_0x3926b9(0x25c)](_0x3926b9(0x205),_0x2009cb),this['on'](_0x3926b9(0x205),_0x4909f9),_0x52cfed&&(_0x52cfed[_0x3926b9(0x18e)]=_0x35ae1d['CLOSING'],this[_0x3926b9(0x21d)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x523aa2}=oe;function _0x5873ca(_0x485cc3){const _0xc2e48e=_0x52cf;_0x485cc3[_0xc2e48e(0x29c)](_0xc2e48e(0x23c));}function _0xdcd37b(){const _0x5cd239=_0x52cf;!this[_0x5cd239(0x23a)]&&this[_0x5cd239(0x20f)][_0x5cd239(0x29f)]&&this[_0x5cd239(0x21d)]();}function _0x3c6622(_0xbb1e7){const _0x2268f5=_0x52cf;this[_0x2268f5(0x25c)]('error',_0x3c6622),this['destroy'](),this[_0x2268f5(0x1c7)](_0x2268f5(0x205))===0x0&&this[_0x2268f5(0x29c)](_0x2268f5(0x205),_0xbb1e7);}function _0x25ab41(_0x3546fc,_0x5313ca){const _0x1b6d8e=_0x52cf;let _0x44f617=!0x0;const _0x1cd60b=new _0x523aa2({..._0x5313ca,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3546fc['on'](_0x1b6d8e(0x166),function(_0x52a1d1,_0x2a6baf){const _0x17937a=_0x1b6d8e,_0x2af756=!_0x2a6baf&&_0x1cd60b[_0x17937a(0x28a)][_0x17937a(0x26f)]?_0x52a1d1[_0x17937a(0x2ce)]():_0x52a1d1;_0x1cd60b[_0x17937a(0x26d)](_0x2af756)||_0x3546fc[_0x17937a(0x256)]();}),_0x3546fc[_0x1b6d8e(0x188)](_0x1b6d8e(0x205),function(_0x4ab90d){const _0x4a1b6b=_0x1b6d8e;_0x1cd60b[_0x4a1b6b(0x23a)]||(_0x44f617=!0x1,_0x1cd60b['destroy'](_0x4ab90d));}),_0x3546fc['once']('close',function(){const _0x4b5554=_0x1b6d8e;_0x1cd60b[_0x4b5554(0x23a)]||_0x1cd60b[_0x4b5554(0x26d)](null);}),_0x1cd60b[_0x1b6d8e(0x120)]=function(_0xd0fa2b,_0x34fe99){const _0x1f323f=_0x1b6d8e;if(_0x3546fc[_0x1f323f(0x1a7)]===_0x3546fc[_0x1f323f(0x20d)]){_0x34fe99(_0xd0fa2b),process['nextTick'](_0x5873ca,_0x1cd60b);return;}let _0x399e86=!0x1;_0x3546fc[_0x1f323f(0x188)](_0x1f323f(0x205),function(_0x2b0ba4){_0x399e86=!0x0,_0x34fe99(_0x2b0ba4);}),_0x3546fc[_0x1f323f(0x188)](_0x1f323f(0x23c),function(){const _0x2b0528=_0x1f323f;_0x399e86||_0x34fe99(_0xd0fa2b),process[_0x2b0528(0x1aa)](_0x5873ca,_0x1cd60b);}),_0x44f617&&_0x3546fc['terminate']();},_0x1cd60b[_0x1b6d8e(0x133)]=function(_0x51bd33){const _0x5b5432=_0x1b6d8e;if(_0x3546fc[_0x5b5432(0x1a7)]===_0x3546fc[_0x5b5432(0x135)]){_0x3546fc[_0x5b5432(0x188)](_0x5b5432(0x14b),function(){const _0x576b1f=_0x5b5432;_0x1cd60b[_0x576b1f(0x133)](_0x51bd33);});return;}_0x3546fc[_0x5b5432(0x1ea)]!==null&&(_0x3546fc[_0x5b5432(0x1ea)]['_writableState'][_0x5b5432(0x29f)]?(_0x51bd33(),_0x1cd60b[_0x5b5432(0x28a)][_0x5b5432(0x207)]&&_0x1cd60b[_0x5b5432(0x21d)]()):(_0x3546fc[_0x5b5432(0x1ea)]['once'](_0x5b5432(0x242),function(){_0x51bd33();}),_0x3546fc[_0x5b5432(0x23c)]()));},_0x1cd60b['_read']=function(){const _0x1e1f4a=_0x1b6d8e;_0x3546fc[_0x1e1f4a(0x173)]&&_0x3546fc['resume']();},_0x1cd60b[_0x1b6d8e(0x2da)]=function(_0x4ee517,_0x8c61bc,_0x37bea3){const _0x4591ea=_0x1b6d8e;if(_0x3546fc[_0x4591ea(0x1a7)]===_0x3546fc['CONNECTING']){_0x3546fc[_0x4591ea(0x188)](_0x4591ea(0x14b),function(){const _0x50f20b=_0x4591ea;_0x1cd60b[_0x50f20b(0x2da)](_0x4ee517,_0x8c61bc,_0x37bea3);});return;}_0x3546fc[_0x4591ea(0x125)](_0x4ee517,_0x37bea3);},_0x1cd60b['on'](_0x1b6d8e(0x29b),_0xdcd37b),_0x1cd60b['on']('error',_0x3c6622),_0x1cd60b;}return Oe=_0x25ab41,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x245ca8}=ae();function _0x450035(_0x2bf762){const _0x9cea1c=_0x52cf,_0x37d47e=new Set();let _0x4d2a91=-0x1,_0x244350=-0x1,_0x23a9ca=0x0;for(_0x23a9ca;_0x23a9ca<_0x2bf762[_0x9cea1c(0x1fb)];_0x23a9ca++){const _0x125248=_0x2bf762[_0x9cea1c(0x1a8)](_0x23a9ca);if(_0x244350===-0x1&&_0x245ca8[_0x125248]===0x1)_0x4d2a91===-0x1&&(_0x4d2a91=_0x23a9ca);else{if(_0x23a9ca!==0x0&&(_0x125248===0x20||_0x125248===0x9))_0x244350===-0x1&&_0x4d2a91!==-0x1&&(_0x244350=_0x23a9ca);else{if(_0x125248===0x2c){if(_0x4d2a91===-0x1)throw new SyntaxError(_0x9cea1c(0x2cb)+_0x23a9ca);_0x244350===-0x1&&(_0x244350=_0x23a9ca);const _0x32a686=_0x2bf762[_0x9cea1c(0x255)](_0x4d2a91,_0x244350);if(_0x37d47e[_0x9cea1c(0x297)](_0x32a686))throw new SyntaxError('The\x20\x22'+_0x32a686+_0x9cea1c(0x13e));_0x37d47e[_0x9cea1c(0x2d0)](_0x32a686),_0x4d2a91=_0x244350=-0x1;}else throw new SyntaxError(_0x9cea1c(0x2cb)+_0x23a9ca);}}}if(_0x4d2a91===-0x1||_0x244350!==-0x1)throw new SyntaxError(_0x9cea1c(0x145));const _0x3dc375=_0x2bf762[_0x9cea1c(0x255)](_0x4d2a91,_0x23a9ca);if(_0x37d47e[_0x9cea1c(0x297)](_0x3dc375))throw new SyntaxError('The\x20\x22'+_0x3dc375+_0x9cea1c(0x13e));return _0x37d47e[_0x9cea1c(0x2d0)](_0x3dc375),_0x37d47e;}return Ce={'parse':_0x450035},Ce;}function _0xe169(){const _0x1ad2c7=['writeUIntBE','allocUnsafe','isPaused','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','readOnly','_originalIpc','kCode','@univerjs-pro/collaboration-client','auth','8xpzJpX','wss:','reset','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','fragments','614mJgabw','getPayloadLength16','WS_ERR_UNEXPECTED_RSV_2_3','WS_ERR_INVALID_OPCODE','kRun','freeze','Invalid\x20Upgrade\x20header','controlMessage','readUInt16BE','once','kMessage','getInfo','OPEN','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Sec-WebSocket-Accept:\x20','_readyState','url','protocolVersion','The\x20URL\x27s\x20pathname\x20is\x20empty','unshift','object','includes','_decompress','string','HTTP/1.1\x20101\x20Switching\x20Protocols','writeUInt16BE','concat','_no_context_takeover','net','Sec-WebSocket-Origin','Blob','then','_binaryType','kAborted','servername','acceptAsClient','getData','_bufferedBytes','origin','options','readyState','charCodeAt','conclude','nextTick','_server','handleUpgrade','kType','Max\x20payload\x20size\x20exceeded','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','generateMask','Basic\x20','addEventListener','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_registerDependencies','HTTP/1.1\x20','createInflateRaw','customHeaders','toLowerCase','_opcode','verifyClient','WS_ERR_EXPECTED_FIN','_mask','WS_ERR_INVALID_UTF8','Parameter\x20\x22','_loop','Sec-WebSocket-Protocol','protocol','warn','_doCreateSocket','client_max_window_bits','password','getOwnPropertyDescriptor','listenerCount','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','abort','server_no_context_takeover','sec-websocket-key','sec-websocket-accept','arrayBuffer','maxRedirects','getMask','10RbeFty','WS_NO_UTF_8_VALIDATE','stream','from','Observable','removeEventListener','wasClean','_closeCode','pong','startsWith','1730715ieAcUX','isValidUTF8','statusCode','571974nUrecy','writable','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_generateMask','pathname','kWasClean','\x0d\x0a\x0d\x0a','setNoDelay','_paused','accept','_messageLength','setSocket','_closeMessage','_socket','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','IConfigService','_closeFrameReceived','Unknown\x20parameter\x20\x22','socketPath','next','map','ISnapshotServerService','binaryType','concurrency','3374120KoARPP','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','headers','byteOffset','registerDependencies','length','_fin','redirect','type','_options','haveLength','authorization','handleProtocols','Origin','code','error','unexpected-response','endEmitted','4417380VIWcIw','join','write','request','_queue','CLOSED','wsClientError','_writableState','maxPayload','https','getPayloadLength64','clients','timeout','call','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','emitClose','ping','buffer','startLoop','kIsForOnEventAttribute','exports','destroy','client_no_context_takeover','errorEmitted','sha1','socket','status-code','_fragments','parse','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','unmask','WS_NO_BUFFER_UTIL','invalid\x20opcode\x200','permessage-deflate','pluginName','GET','Invalid\x20value\x20for\x20parameter\x20\x22','followRedirects','serverNoContextTakeover','consume','createConnection','_injector','STATUS_CODES','2283485xccPND','FIN\x20must\x20be\x20set','enqueue','construct','frame','format','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','destroyed','onStarting','close','connect','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','isBuffer','extensionName','CLOSING','finish','kTarget','2518oyRYrq','CollaborationSocketService','arraybuffer','target','WS_ERR_EXPECTED_MASK','_skipUTF8Validation','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','@univerjs/core','isInteger','pipe','WS_ERR_UNEXPECTED_MASK','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','ISocketService','sec-websocket-protocol','href','onopen','pow','slice','pause','clientNoContextTakeover','_httpService','fin','replace','_bufferedAmount','removeListener','env','handshakeTimeout','_allowSynchronousEvents','test','location','params','captureStackTrace','zlibInflateOptions','buffers','byteLength','indexOf','autoPong','port','_isServer','_deflate','\x22:\x20','push','dispatch','objectMode','2961937nNfnXo','UniverCollaborationClientPlugin','mask','registerHTTPInterceptor','forEach','data','cleanup','_configService','collaboration-client-node.config','setTimeout','Maximum\x20redirects\x20exceeded','Z_DEFAULT_WINDOWBITS','size','finishRequest','sendFrame','WS_ERR_UNEXPECTED_RSV_1','decompress','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Plugin','Disposable','bufferedAmount','host','_protocol','cork','listeners','entries','_readableState','_req','Module','_errorEmitted','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Invalid\x20Sec-WebSocket-Extensions\x20header','_masked','blob','_extensions','dequeue','readable','tls','clientTracking','has','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','terminate','upgrade','end','emit','shift','concurrencyLimit','finished','kByteLength','ILogService','get','kDone','cookie','digest','_originalHostOrSocketPath','Opening\x20handshake\x20has\x20timed\x20out','readUInt32BE','isServer','kData','value','skipUTF8Validation','dataMessage','defaultPort','createServer','invalid\x20status\x20code\x20','_closeFrameSent','connection','writeHead','http','_removeListeners','_receiver','encrypted','websocket','_state','_shouldEmitClose','opcode','Invalid\x20Sec-WebSocket-Protocol\x20header','noServer','create','Server\x20sent\x20an\x20invalid\x20subprotocol','Unsupported\x20protocol\x20version:\x20','RSV1\x20must\x20be\x20clear','drain','jobs','The\x20server\x20is\x20not\x20running','Inject','__esModule','crypto','defineProperty','serverMaxWindowBits','createError','Unexpected\x20character\x20at\x20index\x20','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','invalid\x20UTF-8\x20sequence','toString','_payloadLength','add','_compressed','getBlobData','_firstFragment','needDrain','server','kReason','perMessageDeflate','species','allowSynchronousEvents','_write','reason','base64','NodeCollaborationSocketService','_maxPayload','_maskBuffer','_sender','method','_errored','server_max_window_bits','UniverCollaborationClientNodePlugin','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Invalid\x20WebSocket\x20frame:\x20','sec-websocket-version','Connection:\x20Upgrade','share','keys','prototype','path','split','_destroy','search','completeUpgrade','resume','_closeTimer','send','uncork','WebSocket','set','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','zlib','listen','function','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','flush','HTTPService','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','DependentOn','address','_final','_totalPayloadLength','CONNECTING','handleEvent','getConfig','_compress','backlog','http:','extensions','shouldHandle','compress','\x22\x20subprotocol\x20is\x20duplicated','kListener','text/html','63HtwAHK','\x20(supported\x20versions:\x20','_autoPong','alloc','Unexpected\x20end\x20of\x20input','pending','toDisposable','bind','_inflate','_buffers','open','delete','_threshold','Sec-WebSocket-Extensions:\x20','nodebuffer','hostname','sec-websocket-extensions','onerror','dispose','offer','@univerjs-pro/collaboration','removeAllListeners','_fragmented','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_url','default','MASK\x20must\x20be\x20clear','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','number','events','Sec-WebSocket-Extensions','_max_window_bits','invalid\x20payload\x20length\x20','clientMaxWindowBits','onmessage','isArray','normalizeParams','message','ws:','Invalid\x20Sec-WebSocket-Accept\x20header','_redirects','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','toStringTag','createSocket','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','username','invalid\x20opcode\x20','acceptAsServer'];_0xe169=function(){return _0x1ad2c7;};return _0xe169();}var Te,rt;function Ft(){const _0x1092f1=_0x56bd5a;if(rt)return Te;rt=0x1;const _0x39cc17=nt,_0x21feac=ot,{Duplex:_0x2a6501}=oe,{createHash:_0x2b08c4}=Le,_0xbac3a5=ct(),_0x4ded16=he(),_0x29af70=At(),_0x575f17=Pe(),{GUID:_0x2ca2e0,kWebSocket:_0x217900}=H(),_0xe1ad82=/^[+/0-9A-Za-z]{22}==$/,_0x5cf584=0x0,_0x4d1d3d=0x1,_0x33de40=0x2;class _0x305c69 extends _0x39cc17{constructor(_0x1b5748,_0x3919dd){const _0x509323=_0x52cf;if(super(),_0x1b5748={'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':_0x575f17,..._0x1b5748},_0x1b5748[_0x509323(0x269)]==null&&!_0x1b5748[_0x509323(0x2d5)]&&!_0x1b5748['noServer']||_0x1b5748[_0x509323(0x269)]!=null&&(_0x1b5748['server']||_0x1b5748[_0x509323(0x2bd)])||_0x1b5748[_0x509323(0x2d5)]&&_0x1b5748['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x1b5748[_0x509323(0x269)]!=null?(this['_server']=_0x21feac[_0x509323(0x2af)]((_0x3847c6,_0x127a84)=>{const _0x35b5ea=_0x509323,_0x3a4716=_0x21feac[_0x35b5ea(0x232)][0x1aa];_0x127a84[_0x35b5ea(0x2b3)](0x1aa,{'Content-Length':_0x3a4716[_0x35b5ea(0x1fb)],'Content-Type':'text/plain'}),_0x127a84[_0x35b5ea(0x29b)](_0x3a4716);}),this[_0x509323(0x1ab)][_0x509323(0x12b)](_0x1b5748[_0x509323(0x269)],_0x1b5748[_0x509323(0x285)],_0x1b5748[_0x509323(0x139)],_0x3919dd)):_0x1b5748[_0x509323(0x2d5)]&&(this['_server']=_0x1b5748['server']),this[_0x509323(0x1ab)]){const _0x5e9e97=this['emit'][_0x509323(0x148)](this,_0x509323(0x2b2));this[_0x509323(0x2b5)]=_0x3f954e(this[_0x509323(0x1ab)],{'listening':this['emit']['bind'](this,'listening'),'error':this['emit'][_0x509323(0x148)](this,_0x509323(0x205)),'upgrade':(_0x25aec6,_0x51ed93,_0x26d44a)=>{const _0x4d27e3=_0x509323;this[_0x4d27e3(0x1ac)](_0x25aec6,_0x51ed93,_0x26d44a,_0x5e9e97);}});}_0x1b5748[_0x509323(0x2d7)]===!0x0&&(_0x1b5748[_0x509323(0x2d7)]={}),_0x1b5748[_0x509323(0x296)]&&(this[_0x509323(0x213)]=new Set(),this[_0x509323(0x2ba)]=!0x1),this[_0x509323(0x1a6)]=_0x1b5748,this['_state']=_0x5cf584;}[_0x1092f1(0x132)](){const _0x49eda5=_0x1092f1;if(this[_0x49eda5(0x1a6)][_0x49eda5(0x2bd)])throw new Error(_0x49eda5(0x24f));return this['_server']?this[_0x49eda5(0x1ab)]['address']():null;}[_0x1092f1(0x23c)](_0x5f00b8){const _0x3ccd62=_0x1092f1;if(this['_state']===_0x33de40){_0x5f00b8&&this[_0x3ccd62(0x188)](_0x3ccd62(0x23c),()=>{const _0x340298=_0x3ccd62;_0x5f00b8(new Error(_0x340298(0x2c4)));}),process[_0x3ccd62(0x1aa)](_0x1867bb,this);return;}if(_0x5f00b8&&this[_0x3ccd62(0x188)](_0x3ccd62(0x23c),_0x5f00b8),this['_state']!==_0x4d1d3d){if(this['_state']=_0x4d1d3d,this[_0x3ccd62(0x1a6)][_0x3ccd62(0x2bd)]||this['options'][_0x3ccd62(0x2d5)])this[_0x3ccd62(0x1ab)]&&(this[_0x3ccd62(0x2b5)](),this['_removeListeners']=this[_0x3ccd62(0x1ab)]=null),this[_0x3ccd62(0x213)]?this[_0x3ccd62(0x213)][_0x3ccd62(0x27c)]?this[_0x3ccd62(0x2ba)]=!0x0:process[_0x3ccd62(0x1aa)](_0x1867bb,this):process['nextTick'](_0x1867bb,this);else{const _0x3d2f72=this[_0x3ccd62(0x1ab)];this[_0x3ccd62(0x2b5)](),this[_0x3ccd62(0x2b5)]=this['_server']=null,_0x3d2f72[_0x3ccd62(0x23c)](()=>{_0x1867bb(this);});}}}[_0x1092f1(0x13c)](_0x48f8b6){const _0x25ceaf=_0x1092f1;if(this[_0x25ceaf(0x1a6)][_0x25ceaf(0x11e)]){const _0x150eec=_0x48f8b6['url']['indexOf']('?');if((_0x150eec!==-0x1?_0x48f8b6['url'][_0x25ceaf(0x255)](0x0,_0x150eec):_0x48f8b6['url'])!==this['options'][_0x25ceaf(0x11e)])return!0x1;}return!0x0;}[_0x1092f1(0x1ac)](_0x3f854a,_0x46fc8f,_0x2dc0b0,_0x2e1980){const _0x5c46ec=_0x1092f1;_0x46fc8f['on'](_0x5c46ec(0x205),_0x5eddc4);const _0x1ede5f=_0x3f854a['headers'][_0x5c46ec(0x1cb)],_0x13713e=_0x3f854a[_0x5c46ec(0x1f8)][_0x5c46ec(0x29a)],_0xb3d653=+_0x3f854a[_0x5c46ec(0x1f8)][_0x5c46ec(0x119)];if(_0x3f854a[_0x5c46ec(0x113)]!==_0x5c46ec(0x22b)){_0x1dea05(this,_0x3f854a,_0x46fc8f,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x13713e===void 0x0||_0x13713e[_0x5c46ec(0x1b8)]()!==_0x5c46ec(0x2b8)){_0x1dea05(this,_0x3f854a,_0x46fc8f,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x1ede5f===void 0x0||!_0xe1ad82['test'](_0x1ede5f)){_0x1dea05(this,_0x3f854a,_0x46fc8f,0x190,_0x5c46ec(0x28e));return;}if(_0xb3d653!==0x8&&_0xb3d653!==0xd){_0x1dea05(this,_0x3f854a,_0x46fc8f,0x190,_0x5c46ec(0x281));return;}if(!this[_0x5c46ec(0x13c)](_0x3f854a)){_0x2dd0bb(_0x46fc8f,0x190);return;}const _0x440174=_0x3f854a[_0x5c46ec(0x1f8)][_0x5c46ec(0x251)];let _0x1ba775=new Set();if(_0x440174!==void 0x0)try{_0x1ba775=_0x29af70['parse'](_0x440174);}catch{_0x1dea05(this,_0x3f854a,_0x46fc8f,0x190,_0x5c46ec(0x2bc));return;}const _0x49a1bf=_0x3f854a['headers'][_0x5c46ec(0x151)],_0x345ef5={};if(this[_0x5c46ec(0x1a6)][_0x5c46ec(0x2d7)]&&_0x49a1bf!==void 0x0){const _0x1af066=new _0x4ded16(this[_0x5c46ec(0x1a6)][_0x5c46ec(0x2d7)],!0x0,this[_0x5c46ec(0x1a6)][_0x5c46ec(0x210)]);try{const _0xec0cad=_0xbac3a5[_0x5c46ec(0x224)](_0x49a1bf);_0xec0cad[_0x4ded16[_0x5c46ec(0x240)]]&&(_0x1af066[_0x5c46ec(0x1e6)](_0xec0cad[_0x4ded16[_0x5c46ec(0x240)]]),_0x345ef5[_0x4ded16[_0x5c46ec(0x240)]]=_0x1af066);}catch{_0x1dea05(this,_0x3f854a,_0x46fc8f,0x190,_0x5c46ec(0x298));return;}}if(this[_0x5c46ec(0x1a6)][_0x5c46ec(0x1ba)]){const _0x19b850={'origin':_0x3f854a[_0x5c46ec(0x1f8)][''+(_0xb3d653===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x3f854a[_0x5c46ec(0x221)]['authorized']||_0x3f854a['socket'][_0x5c46ec(0x2b7)]),'req':_0x3f854a};if(this[_0x5c46ec(0x1a6)]['verifyClient'][_0x5c46ec(0x1fb)]===0x2){this[_0x5c46ec(0x1a6)]['verifyClient'](_0x19b850,(_0x25c8a2,_0x208786,_0x2bd4c4,_0x1070e5)=>{const _0x5070f6=_0x5c46ec;if(!_0x25c8a2)return _0x2dd0bb(_0x46fc8f,_0x208786||0x191,_0x2bd4c4,_0x1070e5);this[_0x5070f6(0x122)](_0x345ef5,_0x1ede5f,_0x1ba775,_0x3f854a,_0x46fc8f,_0x2dc0b0,_0x2e1980);});return;}if(!this[_0x5c46ec(0x1a6)][_0x5c46ec(0x1ba)](_0x19b850))return _0x2dd0bb(_0x46fc8f,0x191);}this[_0x5c46ec(0x122)](_0x345ef5,_0x1ede5f,_0x1ba775,_0x3f854a,_0x46fc8f,_0x2dc0b0,_0x2e1980);}[_0x1092f1(0x122)](_0x402ec7,_0x29bd6c,_0x2c71f5,_0x4f1332,_0x3b0bb1,_0x2557b2,_0x3c4288){const _0x157415=_0x1092f1;if(!_0x3b0bb1[_0x157415(0x294)]||!_0x3b0bb1[_0x157415(0x1de)])return _0x3b0bb1[_0x157415(0x21d)]();if(_0x3b0bb1[_0x217900])throw new Error(_0x157415(0x15c));if(this[_0x157415(0x2b9)]>_0x5cf584)return _0x2dd0bb(_0x3b0bb1,0x1f7);const _0x220571=[_0x157415(0x197),'Upgrade:\x20websocket',_0x157415(0x11a),_0x157415(0x18d)+_0x2b08c4(_0x157415(0x220))['update'](_0x29bd6c+_0x2ca2e0)[_0x157415(0x2a5)](_0x157415(0x2dc))],_0x5214c8=new this[(_0x157415(0x1a6))][(_0x157415(0x127))](null,void 0x0,this[_0x157415(0x1a6)]);if(_0x2c71f5[_0x157415(0x27c)]){const _0x17d9f3=this[_0x157415(0x1a6)][_0x157415(0x202)]?this[_0x157415(0x1a6)][_0x157415(0x202)](_0x2c71f5,_0x4f1332):_0x2c71f5['values']()['next']()[_0x157415(0x2ab)];_0x17d9f3&&(_0x220571[_0x157415(0x26d)]('Sec-WebSocket-Protocol:\x20'+_0x17d9f3),_0x5214c8[_0x157415(0x286)]=_0x17d9f3);}if(_0x402ec7[_0x4ded16[_0x157415(0x240)]]){const _0x3c3272=_0x402ec7[_0x4ded16[_0x157415(0x240)]][_0x157415(0x262)],_0x16ca60=_0xbac3a5[_0x157415(0x238)]({[_0x4ded16[_0x157415(0x240)]]:[_0x3c3272]});_0x220571['push'](_0x157415(0x14e)+_0x16ca60),_0x5214c8[_0x157415(0x292)]=_0x402ec7;}this[_0x157415(0x29c)]('headers',_0x220571,_0x4f1332),_0x3b0bb1[_0x157415(0x20a)](_0x220571[_0x157415(0x199)]('\x0d\x0a')[_0x157415(0x209)]('\x0d\x0a')),_0x3b0bb1[_0x157415(0x25c)](_0x157415(0x205),_0x5eddc4),_0x5214c8[_0x157415(0x1e8)](_0x3b0bb1,_0x2557b2,{'allowSynchronousEvents':this['options'][_0x157415(0x2d9)],'maxPayload':this[_0x157415(0x1a6)][_0x157415(0x210)],'skipUTF8Validation':this[_0x157415(0x1a6)][_0x157415(0x2ac)]}),this[_0x157415(0x213)]&&(this[_0x157415(0x213)]['add'](_0x5214c8),_0x5214c8['on'](_0x157415(0x23c),()=>{const _0x111cac=_0x157415;this['clients'][_0x111cac(0x14c)](_0x5214c8),this['_shouldEmitClose']&&!this[_0x111cac(0x213)]['size']&&process[_0x111cac(0x1aa)](_0x1867bb,this);})),_0x3c4288(_0x5214c8,_0x4f1332);}}Te=_0x305c69;function _0x3f954e(_0x418a13,_0x202f01){const _0x7383b=_0x1092f1;for(const _0x52bf02 of Object[_0x7383b(0x11c)](_0x202f01))_0x418a13['on'](_0x52bf02,_0x202f01[_0x52bf02]);return function(){const _0x3d198e=_0x7383b;for(const _0x4e6188 of Object[_0x3d198e(0x11c)](_0x202f01))_0x418a13['removeListener'](_0x4e6188,_0x202f01[_0x4e6188]);};}function _0x1867bb(_0x397400){const _0x5da128=_0x1092f1;_0x397400[_0x5da128(0x2b9)]=_0x33de40,_0x397400[_0x5da128(0x29c)]('close');}function _0x5eddc4(){this['destroy']();}function _0x2dd0bb(_0x1ea869,_0x4d0fae,_0x578186,_0x2d6655){const _0x3d7da4=_0x1092f1;_0x578186=_0x578186||_0x21feac[_0x3d7da4(0x232)][_0x4d0fae],_0x2d6655={'Connection':'close','Content-Type':_0x3d7da4(0x140),'Content-Length':Buffer[_0x3d7da4(0x266)](_0x578186),..._0x2d6655},_0x1ea869[_0x3d7da4(0x188)](_0x3d7da4(0x242),_0x1ea869[_0x3d7da4(0x21d)]),_0x1ea869[_0x3d7da4(0x29b)](_0x3d7da4(0x1b5)+_0x4d0fae+'\x20'+_0x21feac[_0x3d7da4(0x232)][_0x4d0fae]+'\x0d\x0a'+Object['keys'](_0x2d6655)[_0x3d7da4(0x1f1)](_0x411a0b=>_0x411a0b+':\x20'+_0x2d6655[_0x411a0b])['join']('\x0d\x0a')+_0x3d7da4(0x1e3)+_0x578186);}function _0x1dea05(_0x3a12d5,_0x4ec8db,_0x50a24e,_0x2b3f71,_0x4a7d09){const _0x3a6da8=_0x1092f1;if(_0x3a12d5['listenerCount'](_0x3a6da8(0x20e))){const _0x21eb7c=new Error(_0x4a7d09);Error['captureStackTrace'](_0x21eb7c,_0x1dea05),_0x3a12d5[_0x3a6da8(0x29c)](_0x3a6da8(0x20e),_0x21eb7c,_0x50a24e,_0x4ec8db);}else _0x2dd0bb(_0x50a24e,_0x2b3f71,_0x4a7d09);}return Te;}Ft();var jt=Object[_0x56bd5a(0x1c6)],Wt=(_0x3ef989,_0x59bcb6,_0x31ee9d,_0x5d41ec)=>{const _0x3d9e65=_0x56bd5a;for(var _0x3210b2=_0x5d41ec>0x1?void 0x0:_0x5d41ec?jt(_0x59bcb6,_0x31ee9d):_0x59bcb6,_0x59ac58=_0x3ef989[_0x3d9e65(0x1fb)]-0x1,_0x9fc825;_0x59ac58>=0x0;_0x59ac58--)(_0x9fc825=_0x3ef989[_0x59ac58])&&(_0x3210b2=_0x9fc825(_0x3210b2)||_0x3210b2);return _0x3210b2;},qt=(_0x3c208f,_0x3321a0)=>(_0x28aaef,_0x431e0e)=>_0x3321a0(_0x28aaef,_0x431e0e,_0x3c208f);let ke=class extends A[_0x56bd5a(0x283)]{constructor(_0x2a8a71){const _0x12d060=_0x56bd5a;super(),this[_0x12d060(0x277)]=_0x2a8a71;}[_0x56bd5a(0x16c)](_0x35f5eb){const _0x43d8d3=_0x56bd5a;var _0x246402;const _0x25e154=(_0x246402=this[_0x43d8d3(0x277)][_0x43d8d3(0x137)](fe))==null?void 0x0:_0x246402[_0x43d8d3(0x1b7)];try{const _0x36354a=new $t(_0x35f5eb,{'headers':{..._0x25e154}}),_0x4073b6=new A['DisposableCollection']();return{'URL':_0x35f5eb,'close':(_0x18c7e6,_0x4b7547)=>{const _0x5841b2=_0x43d8d3;_0x36354a['close'](_0x18c7e6,_0x4b7547),_0x4073b6[_0x5841b2(0x153)]();},'send':_0x28de79=>{const _0x42202a=_0x43d8d3;_0x36354a[_0x42202a(0x125)](_0x28de79);},'open$':new V[(_0x43d8d3(0x1d4))](_0x4a2743=>{const _0x2dccf2=_0x43d8d3,_0x4d7291=_0x3be112=>_0x4a2743[_0x2dccf2(0x1f0)](_0x3be112);_0x36354a[_0x2dccf2(0x1b2)]('open',_0x4d7291),_0x4073b6[_0x2dccf2(0x2d0)](A[_0x2dccf2(0x147)](()=>_0x36354a[_0x2dccf2(0x1d5)](_0x2dccf2(0x14b),_0x4d7291)));})[_0x43d8d3(0x24d)](V['share']()),'close$':new V[(_0x43d8d3(0x1d4))](_0x4df0d2=>{const _0x4653c3=_0x43d8d3,_0x4de7a5=_0x478deb=>_0x4df0d2['next'](_0x478deb);_0x36354a[_0x4653c3(0x1b2)](_0x4653c3(0x23c),_0x4de7a5),_0x4073b6['add'](A[_0x4653c3(0x147)](()=>_0x36354a[_0x4653c3(0x1d5)](_0x4653c3(0x23c),_0x4de7a5)));})['pipe'](V[_0x43d8d3(0x11b)]()),'error$':new V[(_0x43d8d3(0x1d4))](_0x3f9739=>{const _0x2cf984=_0x43d8d3,_0x356426=_0x4f1e3d=>_0x3f9739[_0x2cf984(0x1f0)](_0x4f1e3d);_0x36354a[_0x2cf984(0x1b2)]('error',_0x356426),_0x4073b6['add'](A['toDisposable'](()=>_0x36354a['removeEventListener'](_0x2cf984(0x205),_0x356426)));})[_0x43d8d3(0x24d)](V[_0x43d8d3(0x11b)]()),'message$':new V[(_0x43d8d3(0x1d4))](_0x5b2874=>{const _0x16b5d9=_0x43d8d3,_0xf9fa4f=_0x5ab6f7=>_0x5b2874['next'](_0x5ab6f7);_0x36354a[_0x16b5d9(0x1b2)](_0x16b5d9(0x166),_0xf9fa4f),_0x4073b6[_0x16b5d9(0x2d0)](A[_0x16b5d9(0x147)](()=>_0x36354a[_0x16b5d9(0x1d5)](_0x16b5d9(0x166),_0xf9fa4f)));})['pipe'](V['share']())};}catch(_0x460f4d){return console[_0x43d8d3(0x205)](_0x460f4d),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x56bd5a(0x2c8)],Vt=Object[_0x56bd5a(0x1c6)],Ht=(_0x3094b0,_0x3d1845,_0x7d12b)=>_0x3d1845 in _0x3094b0?Gt(_0x3094b0,_0x3d1845,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7d12b}):_0x3094b0[_0x3d1845]=_0x7d12b,zt=(_0x439898,_0x10ec17,_0x38f0a6,_0x1d8bc9)=>{for(var _0x3ad920=_0x1d8bc9>0x1?void 0x0:_0x1d8bc9?Vt(_0x10ec17,_0x38f0a6):_0x10ec17,_0x3dd76a=_0x439898['length']-0x1,_0x4e65fb;_0x3dd76a>=0x0;_0x3dd76a--)(_0x4e65fb=_0x439898[_0x3dd76a])&&(_0x3ad920=_0x4e65fb(_0x3ad920)||_0x3ad920);return _0x3ad920;},Ne=(_0x178bf9,_0x127f4e)=>(_0x59a216,_0x13372f)=>_0x127f4e(_0x59a216,_0x13372f,_0x178bf9),Yt=(_0x31be98,_0x2bc4e0,_0x1a6588)=>Ht(_0x31be98,_0x2bc4e0+'',_0x1a6588);exports[_0x56bd5a(0x116)]=class extends A[_0x56bd5a(0x282)]{constructor(_0x58ea12=Ct,_0x35b680,_0x4d4033,_0x53e5bc){const _0x3a81f0=_0x56bd5a;_0x58ea12[_0x3a81f0(0x1b7)]||_0x35b680[_0x3a81f0(0x1c2)](_0x3a81f0(0x1f7)),super(),this[_0x3a81f0(0x277)]=_0x4d4033,this[_0x3a81f0(0x231)]=_0x53e5bc,this[_0x3a81f0(0x277)]['setConfig'](fe,_0x58ea12);}[_0x56bd5a(0x23b)](){const _0x1a690d=_0x56bd5a;this[_0x1a690d(0x1b4)]();}[_0x56bd5a(0x1b4)](){const _0x261821=_0x56bd5a;A[_0x261821(0x1fa)](this[_0x261821(0x231)],[[it[_0x261821(0x250)],{'useClass':ke}]]);}},Yt(exports[_0x56bd5a(0x116)],_0x56bd5a(0x22a),_0x56bd5a(0x1eb)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x56bd5a(0x131)](st[_0x56bd5a(0x271)]),Ne(0x1,A[_0x56bd5a(0x2a1)]),Ne(0x2,A[_0x56bd5a(0x1ec)]),Ne(0x3,A[_0x56bd5a(0x2c5)](A['Injector']))],exports[_0x56bd5a(0x116)]);var Kt=Object[_0x56bd5a(0x1c6)],Xt=(_0x48f842,_0x46f94c,_0x26dc5f,_0x35a457)=>{const _0x521239=_0x56bd5a;for(var _0x1d26b8=_0x35a457>0x1?void 0x0:_0x35a457?Kt(_0x46f94c,_0x26dc5f):_0x46f94c,_0x18b6bf=_0x48f842[_0x521239(0x1fb)]-0x1,_0xa776a8;_0x18b6bf>=0x0;_0x18b6bf--)(_0xa776a8=_0x48f842[_0x18b6bf])&&(_0x1d26b8=_0xa776a8(_0x1d26b8)||_0x1d26b8);return _0x1d26b8;},ne=(_0x3cb2e0,_0x49e05)=>(_0x46e2bf,_0x3fb1f6)=>_0x49e05(_0x46e2bf,_0x3fb1f6,_0x3cb2e0);function _0x52cf(_0x33000e,_0x52a6b1){const _0xe16926=_0xe169();return _0x52cf=function(_0x52cf05,_0x5c1670){_0x52cf05=_0x52cf05-0x110;let _0x46476c=_0xe16926[_0x52cf05];return _0x46476c;},_0x52cf(_0x33000e,_0x52a6b1);}exports['NodeCollaborationSocketService']=class extends st[_0x56bd5a(0x245)]{constructor(_0x37fdf1,_0x5902c9,_0x34c92b,_0x3bcf70,_0x1ea159){const _0x445f1e=_0x56bd5a;super(_0x37fdf1,_0x5902c9,_0x34c92b,_0x3bcf70,_0x1ea159);const _0x3db48b=this[_0x445f1e(0x277)]['getConfig'](fe);this[_0x445f1e(0x258)][_0x445f1e(0x273)]({'interceptor':(_0x4deb2c,_0x450b0d)=>{const _0x48e332=_0x445f1e;var _0x17ed56;const _0x578292=_0x4deb2c['headers'];return(_0x17ed56=_0x3db48b==null?void 0x0:_0x3db48b[_0x48e332(0x1b7)])!=null&&_0x17ed56[_0x48e332(0x2a4)]&&_0x578292[_0x48e332(0x128)]('Cookie',_0x3db48b[_0x48e332(0x1b7)]['cookie']),_0x450b0d(_0x4deb2c);}});}async[_0x56bd5a(0x16c)](_0x30a4d4){const _0x710aba=_0x56bd5a;return this[_0x710aba(0x1c3)](_0x30a4d4);}},exports[_0x56bd5a(0x2dd)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A[_0x56bd5a(0x2c5)](it[_0x56bd5a(0x12f)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x56bd5a(0x2a1)]),ne(0x4,Ot[_0x56bd5a(0x1f2)])],exports[_0x56bd5a(0x2dd)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;