@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505141607 → 0.7.0-nightly.202505151607
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 +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x431b54=_0x55e8;(function(_0x1670ac,_0x15b500){const _0x6f059c=_0x55e8,_0x48e81d=_0x1670ac();while(!![]){try{const _0x3dddba=-parseInt(_0x6f059c(0x122))/0x1*(-parseInt(_0x6f059c(0x266))/0x2)+parseInt(_0x6f059c(0x20c))/0x3+-parseInt(_0x6f059c(0x21d))/0x4*(parseInt(_0x6f059c(0x280))/0x5)+-parseInt(_0x6f059c(0x137))/0x6*(parseInt(_0x6f059c(0x1de))/0x7)+-parseInt(_0x6f059c(0x211))/0x8+-parseInt(_0x6f059c(0x25d))/0x9+-parseInt(_0x6f059c(0x176))/0xa*(-parseInt(_0x6f059c(0x218))/0xb);if(_0x3dddba===_0x15b500)break;else _0x48e81d['push'](_0x48e81d['shift']());}catch(_0x50a77e){_0x48e81d['push'](_0x48e81d['shift']());}}}(_0x5d99,0x9d69d));Object[_0x431b54(0x2c3)](exports,Symbol[_0x431b54(0x22a)],{'value':_0x431b54(0x141)});function _0x5d99(){const _0x5831c7=['fragments','_allowSynchronousEvents','Plugin','HTTPService','server_no_context_takeover','kData','isBuffer','allowSynchronousEvents','call','forEach','fin','entries','arraybuffer','sec-websocket-extensions','_inflate','30pNgSyi','IConfigService','unshift','_opcode','update','ws:','clientMaxWindowBits','Unexpected\x20server\x20response:\x20','concurrencyLimit','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Module','createDeflateRaw','emit','concat','pathname','format','CONNECTING','_injector','clientNoContextTakeover','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','CLOSING','ping','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','onclose','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','removeListener','File','serverNoContextTakeover','pending','flush','https','timeout','pluginName','_destroy','number','close','consume','join','end','toDisposable','Upgrade','collaboration-client-node.config','_shouldEmitClose','total-length','freeze','object','path','username','jobs','rsv1','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Blob','_closeCode','_httpService','The\x20\x22','shift','skipUTF8Validation','@univerjs/core','protocol','cookie','zlib','onmessage','indexOf','268040nXTahO','conclude','WS_ERR_INVALID_OPCODE','catch','setNoDelay','_closeMessage','createServer','client_max_window_bits','emitClose','toString','pow','http','endEmitted','wsClientError','WS_ERR_INVALID_UTF8','opcode','controlMessage','kByteLength','accept','Invalid\x20Upgrade\x20header','_readyState','handleEvent','from','kTarget','pipe','writeHead','read','socketPath','noServer','@univerjs-pro/collaboration-client','getData','_threshold','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','statusCode','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kError','invalid\x20opcode\x20','Upgrade:\x20websocket','Invalid\x20Sec-WebSocket-Accept\x20header','MASK\x20must\x20be\x20clear','destroyed','server_max_window_bits','NodeCollaborationSocketService','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_mask','drain','Disposable','_closeFrameReceived','charCodeAt','_fragmented','allocUnsafe','__esModule','_protocol','kType','GET','setSocket','_buffers','_compressed','connect','values','_socket','byteOffset','onStarting','shouldHandle','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','_deflate','kIsForOnEventAttribute','CollaborationSocketService','zlibDeflateOptions','crypto','terminate','port','value','share','send','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','request','_max_window_bits','maskBuffer','nodebuffer','Opening\x20handshake\x20has\x20timed\x20out','getBlobData','dequeue','ILogService','captureStackTrace','error','_maxPayload','getConfig','sec-websocket-key','OPEN','address','servername','finish','WS_ERR_EXPECTED_MASK','onopen','handleUpgrade','has','readUInt16BE','create','Z_DEFAULT_WINDOWBITS','blob','byteLength','1486163mmpvau','unexpected-response','UniverCollaborationClientNodePlugin','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','slice','map','headers','isPaused','Inject','verifyClient','sha1','HTTP/1.1\x20','extensionName','write','Invalid\x20value\x20for\x20parameter\x20\x22','Invalid\x20WebSocket\x20frame:\x20','acceptAsClient','mask','socket','RSV1\x20must\x20be\x20clear','_errored','addEventListener','Invalid\x20URL:\x20','DisposableCollection','code','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Unexpected\x20end\x20of\x20input','authorization','uncork','exports','haveLength','https:','_fragments','tls','createInflateRaw','followRedirects','open','sec-websocket-version','WS_ERR_UNEXPECTED_RSV_2_3','set','decompress','threshold','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','prototype','kAborted','origin','2081640jHbYPH','nextTick','CLOSED','buffer','generateMask','2703352IeDXnT','events','onerror','rxjs','_writableState','resume','\x20(supported\x20versions:\x20','781KcHoPB','isServer','params','target','\x0d\x0a\x0d\x0a','12awtMxH','_binaryType','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','readyState','binary','createSocket','server','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','FIN\x20must\x20be\x20set','getMask','createConnection','objectMode','finishRequest','toStringTag','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','hostname','_no_context_takeover','_receiver','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Basic\x20','Invalid\x20HTTP\x20method','\x22\x20subprotocol\x20is\x20duplicated','offer','client_no_context_takeover','Origin','getOwnPropertyDescriptor','bufferedAmount','isInteger','delete','frame','size','_closeTimer','getPayloadLength16','Invalid\x20Sec-WebSocket-Protocol\x20header','dispose','message','_server','_skipUTF8Validation','_queue','_req','_loop','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','clientTracking','includes','hasOwnProperty','completeUpgrade','_payloadLength','Parameter\x20\x22','once','buffers','Invalid\x20Sec-WebSocket-Extensions\x20header','invalid\x20status\x20code\x20','Sec-WebSocket-Protocol:\x20','sec-websocket-origin','kReason','type','default','@univerjs/network','_originalHostOrSocketPath','The\x20URL\x27s\x20pathname\x20is\x20empty','handshakeTimeout','method','sec-websocket-accept','_errorEmitted','1180791lTFYhv','acceptAsServer','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','registerHTTPInterceptor','abort','_read','WS_ERR_UNEXPECTED_RSV_1','_totalPayloadLength','ws+unix:','90VwMVme','_generateMask','_compress','sendFrame','STATUS_CODES','_redirects','Sec-WebSocket-Accept:\x20','The\x20URL\x20contains\x20a\x20fragment\x20identifier','errorEmitted','Unsupported\x20protocol\x20version:\x20','wasClean','Maximum\x20redirects\x20exceeded','\x22\x20must\x20have\x20only\x20a\x20single\x20value','keys','COLLABORATION_CLIENT_NODE_CONFIG_KEY','push','cleanup','Max\x20payload\x20size\x20exceeded','protocolVersion','construct','dataMessage','normalizeParams','_final','WS_ERR_INVALID_CLOSE_CODE','binaryType','customHeaders','1851035OvNcTO','reset','Server\x20sent\x20no\x20subprotocol','registerDependencies','auth','_options','defaultPort','kMessage','_decompress','url','getPayloadLength64','finished','get','readOnly','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','readUInt32BE','invalid\x20payload\x20length\x20','_state','next','DependentOn','_removeListeners','encrypted','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','http:','warn','test','_fin','host','startLoop','clients','UniverCollaborationClientPlugin','_extensions','_paused','hash','_isServer','_messageLength','ISnapshotServerService','zlibInflateOptions','listenerCount','destroy','handleProtocols','maxPayload','_configService','invalid\x20UTF-8\x20sequence','perMessageDeflate','_originalIpc','constructor','readable','Observable','_registerDependencies','The\x20server\x20is\x20not\x20running','unmask','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','digest','_maskBuffer','_url','isValidUTF8','\x22:\x20','_autoPong','compress','arrayBuffer','parse','find','password','Injector','base64','bind','defineProperty','net','kWasClean','data','maxRedirects','string','species','_originalSecure','add','options','kCode','split','_masked','_write','isArray','Sec-WebSocket-Protocol','_closeFrameSent','function','_bufferedBytes','kDone','listen','pause','listeners','startsWith','createError','WebSocket','@univerjs-pro/collaboration','stream','writeUInt16BE','dispatch','websocket','response','setConfig','ISocketService','env','reason','upgrade','WS_ERR_EXPECTED_FIN','getInfo','enqueue','WS_NO_UTF_8_VALIDATE','kListener','redirect','setTimeout','_bufferedAmount','sec-websocket-protocol','_readableState','toLowerCase','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','extensions','_sender','listening','Unexpected\x20character\x20at\x20index\x20','serverMaxWindowBits','Unknown\x20parameter\x20\x22','_firstFragment','permessage-deflate','15313QAouyA','alloc','length','removeEventListener','cork','_doCreateSocket'];_0x5d99=function(){return _0x5831c7;};return _0x5d99();}const st=require(_0x431b54(0x193)),A=require(_0x431b54(0x170)),it=require(_0x431b54(0x256)),V=require(_0x431b54(0x214)),nt=require(_0x431b54(0x212)),vt=require(_0x431b54(0x155)),ot=require(_0x431b54(0x181)),St=require(_0x431b54(0x2c4)),Et=require(_0x431b54(0x1ff)),Le=require(_0x431b54(0x1bc)),oe=require('stream'),xt=require(_0x431b54(0x289)),bt=require(_0x431b54(0x173)),wt=require(_0x431b54(0x20f)),Ot=require(_0x431b54(0x2dd)),fe=_0x431b54(0x160),Ct={'customHeaders':{}};function Tt(_0x3ba784){const _0x357b24=_0x431b54;return _0x3ba784&&_0x3ba784['__esModule']&&Object['prototype'][_0x357b24(0x249)][_0x357b24(0x130)](_0x3ba784,_0x357b24(0x255))?_0x3ba784[_0x357b24(0x255)]:_0x3ba784;}function at(_0x5ca67f){const _0x4b55c7=_0x431b54;if(Object[_0x4b55c7(0x209)]['hasOwnProperty'][_0x4b55c7(0x130)](_0x5ca67f,_0x4b55c7(0x1a9)))return _0x5ca67f;var _0x38c5f5=_0x5ca67f[_0x4b55c7(0x255)];if(typeof _0x38c5f5==_0x4b55c7(0x2d4)){var _0x56e44d=function _0x3d4021(){const _0x2b76ef=_0x4b55c7;return this instanceof _0x3d4021?Reflect[_0x2b76ef(0x279)](_0x38c5f5,arguments,this[_0x2b76ef(0x2ae)]):_0x38c5f5['apply'](this,arguments);};_0x56e44d[_0x4b55c7(0x209)]=_0x38c5f5['prototype'];}else _0x56e44d={};return Object[_0x4b55c7(0x2c3)](_0x56e44d,_0x4b55c7(0x1a9),{'value':!0x0}),Object[_0x4b55c7(0x273)](_0x5ca67f)[_0x4b55c7(0x131)](function(_0xa5e87){const _0x46d42f=_0x4b55c7;var _0x124209=Object[_0x46d42f(0x236)](_0x5ca67f,_0xa5e87);Object[_0x46d42f(0x2c3)](_0x56e44d,_0xa5e87,_0x124209[_0x46d42f(0x28c)]?_0x124209:{'enumerable':!0x0,'get':function(){return _0x5ca67f[_0xa5e87];}});}),_0x56e44d;}var se={'exports':{}},ge,Ge;function H(){const _0x4fb0fe=_0x431b54;if(Ge)return ge;Ge=0x1;const _0x4dd7b2=[_0x4fb0fe(0x1c7),_0x4fb0fe(0x134),_0x4fb0fe(0x128)],_0x45e9af=typeof Blob<'u';return _0x45e9af&&_0x4dd7b2[_0x4fb0fe(0x275)](_0x4fb0fe(0x1dc)),ge={'BINARY_TYPES':_0x4dd7b2,'EMPTY_BUFFER':Buffer[_0x4fb0fe(0x123)](0x0),'GUID':_0x4fb0fe(0x246),'hasBlob':_0x45e9af,'kForOnEventAttribute':Symbol(_0x4fb0fe(0x1b9)),'kListener':Symbol(_0x4fb0fe(0x112)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x4fb0fe(0x2e1)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x431b54(0x163)](Object[_0x431b54(0x2c3)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x431b54(0x141)})),Lt=at(kt);var Ve;function ce(){const _0x587056=_0x431b54;if(Ve)return se[_0x587056(0x1fb)];Ve=0x1;const {EMPTY_BUFFER:_0x38c1d3}=H(),_0x46ae14=Buffer[Symbol[_0x587056(0x2c9)]];function _0x1e29bf(_0x44c975,_0xa790a0){const _0x15d18c=_0x587056;if(_0x44c975[_0x15d18c(0x124)]===0x0)return _0x38c1d3;if(_0x44c975[_0x15d18c(0x124)]===0x1)return _0x44c975[0x0];const _0x54938c=Buffer[_0x15d18c(0x1a8)](_0xa790a0);let _0x57684e=0x0;for(let _0x5e928f=0x0;_0x5e928f<_0x44c975['length'];_0x5e928f++){const _0x30f1c0=_0x44c975[_0x5e928f];_0x54938c['set'](_0x30f1c0,_0x57684e),_0x57684e+=_0x30f1c0[_0x15d18c(0x124)];}return _0x57684e<_0xa790a0?new _0x46ae14(_0x54938c[_0x15d18c(0x20f)],_0x54938c['byteOffset'],_0x57684e):_0x54938c;}function _0x49739a(_0x1838d1,_0x39af3c,_0x5b5d06,_0xdb8bd,_0x1ffa91){for(let _0xc22b16=0x0;_0xc22b16<_0x1ffa91;_0xc22b16++)_0x5b5d06[_0xdb8bd+_0xc22b16]=_0x1838d1[_0xc22b16]^_0x39af3c[_0xc22b16&0x3];}function _0x3110ed(_0x23b462,_0x4386d0){const _0x2f3044=_0x587056;for(let _0x4a0cac=0x0;_0x4a0cac<_0x23b462[_0x2f3044(0x124)];_0x4a0cac++)_0x23b462[_0x4a0cac]^=_0x4386d0[_0x4a0cac&0x3];}function _0x335748(_0x47fa45){const _0x40f718=_0x587056;return _0x47fa45['length']===_0x47fa45[_0x40f718(0x20f)]['byteLength']?_0x47fa45[_0x40f718(0x20f)]:_0x47fa45['buffer']['slice'](_0x47fa45['byteOffset'],_0x47fa45[_0x40f718(0x1b3)]+_0x47fa45[_0x40f718(0x124)]);}function _0x13722c(_0xa96d41){const _0x4b03aa=_0x587056;if(_0x13722c['readOnly']=!0x0,Buffer[_0x4b03aa(0x12e)](_0xa96d41))return _0xa96d41;let _0x2bdce1;return _0xa96d41 instanceof ArrayBuffer?_0x2bdce1=new _0x46ae14(_0xa96d41):ArrayBuffer['isView'](_0xa96d41)?_0x2bdce1=new _0x46ae14(_0xa96d41[_0x4b03aa(0x20f)],_0xa96d41[_0x4b03aa(0x1b3)],_0xa96d41[_0x4b03aa(0x1dd)]):(_0x2bdce1=Buffer[_0x4b03aa(0x18c)](_0xa96d41),_0x13722c[_0x4b03aa(0x28d)]=!0x1),_0x2bdce1;}if(se[_0x587056(0x1fb)]={'concat':_0x1e29bf,'mask':_0x49739a,'toArrayBuffer':_0x335748,'toBuffer':_0x13722c,'unmask':_0x3110ed},!process[_0x587056(0x10b)]['WS_NO_BUFFER_UTIL'])try{const _0x1af5d1=Lt;se[_0x587056(0x1fb)][_0x587056(0x1ef)]=function(_0x57f278,_0x240045,_0x28ffee,_0x3146fd,_0x514d90){const _0xe84702=_0x587056;_0x514d90<0x30?_0x49739a(_0x57f278,_0x240045,_0x28ffee,_0x3146fd,_0x514d90):_0x1af5d1[_0xe84702(0x1ef)](_0x57f278,_0x240045,_0x28ffee,_0x3146fd,_0x514d90);},se[_0x587056(0x1fb)][_0x587056(0x2b3)]=function(_0x219558,_0x5b57c1){const _0x3009a4=_0x587056;_0x219558['length']<0x20?_0x3110ed(_0x219558,_0x5b57c1):_0x1af5d1[_0x3009a4(0x2b3)](_0x219558,_0x5b57c1);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x59e93f=_0x431b54;if(He)return ye;He=0x1;const _0x39d35f=Symbol(_0x59e93f(0x2d6)),_0x173d2a=Symbol('kRun');class _0x20988b{constructor(_0x340d6e){const _0x1064b4=_0x59e93f;this[_0x39d35f]=()=>{const _0x1e1f0d=_0x55e8;this[_0x1e1f0d(0x153)]--,this[_0x173d2a]();},this['concurrency']=_0x340d6e||0x1/0x0,this[_0x1064b4(0x167)]=[],this[_0x1064b4(0x153)]=0x0;}[_0x59e93f(0x2cb)](_0x2b1521){this['jobs']['push'](_0x2b1521),this[_0x173d2a]();}[_0x173d2a](){const _0x4ab3c5=_0x59e93f;if(this['pending']!==this['concurrency']&&this[_0x4ab3c5(0x167)][_0x4ab3c5(0x124)]){const _0x1a8da7=this[_0x4ab3c5(0x167)][_0x4ab3c5(0x16e)]();this[_0x4ab3c5(0x153)]++,_0x1a8da7(this[_0x39d35f]);}}}return ye=_0x20988b,ye;}var ve,ze;function he(){const _0x11b22e=_0x431b54;if(ze)return ve;ze=0x1;const _0x165832=bt,_0x3e712a=ce(),_0x227cd1=Pt(),{kStatusCode:_0x26e857}=H(),_0x5718e1=Buffer[Symbol[_0x11b22e(0x2c9)]],_0x23ee6e=Buffer[_0x11b22e(0x18c)]([0x0,0x0,0xff,0xff]),_0x13a327=Symbol(_0x11b22e(0x121)),_0xa176e1=Symbol(_0x11b22e(0x162)),_0x731517=Symbol('callback'),_0x1a09f3=Symbol(_0x11b22e(0x24e)),_0x6ea91=Symbol('error');let _0x5b6386;class _0x15b640{constructor(_0x4412ad,_0x4fe346,_0x20033f){const _0x1be7a1=_0x11b22e;if(this[_0x1be7a1(0x1ce)]=_0x20033f|0x0,this[_0x1be7a1(0x285)]=_0x4412ad||{},this[_0x1be7a1(0x195)]=this[_0x1be7a1(0x285)][_0x1be7a1(0x207)]!==void 0x0?this[_0x1be7a1(0x285)][_0x1be7a1(0x207)]:0x400,this[_0x1be7a1(0x2a2)]=!!_0x4fe346,this[_0x1be7a1(0x1b8)]=null,this[_0x1be7a1(0x136)]=null,this[_0x1be7a1(0x21a)]=null,!_0x5b6386){const _0xd3e97e=this['_options'][_0x1be7a1(0x13f)]!==void 0x0?this[_0x1be7a1(0x285)][_0x1be7a1(0x13f)]:0xa;_0x5b6386=new _0x227cd1(_0xd3e97e);}}static get[_0x11b22e(0x1ea)](){const _0x274fa5=_0x11b22e;return _0x274fa5(0x121);}[_0x11b22e(0x233)](){const _0x150f78=_0x11b22e,_0x23e783={};return this[_0x150f78(0x285)][_0x150f78(0x152)]&&(_0x23e783[_0x150f78(0x12c)]=!0x0),this[_0x150f78(0x285)][_0x150f78(0x149)]&&(_0x23e783['client_no_context_takeover']=!0x0),this[_0x150f78(0x285)][_0x150f78(0x11e)]&&(_0x23e783[_0x150f78(0x19f)]=this[_0x150f78(0x285)]['serverMaxWindowBits']),this[_0x150f78(0x285)][_0x150f78(0x13d)]?_0x23e783[_0x150f78(0x17d)]=this[_0x150f78(0x285)][_0x150f78(0x13d)]:this[_0x150f78(0x285)][_0x150f78(0x13d)]==null&&(_0x23e783[_0x150f78(0x17d)]=!0x0),_0x23e783;}['accept'](_0x280f5c){const _0x13fa95=_0x11b22e;return _0x280f5c=this[_0x13fa95(0x27b)](_0x280f5c),this[_0x13fa95(0x21a)]=this[_0x13fa95(0x2a2)]?this[_0x13fa95(0x25e)](_0x280f5c):this[_0x13fa95(0x1ee)](_0x280f5c),this[_0x13fa95(0x21a)];}[_0x11b22e(0x276)](){const _0x523360=_0x11b22e;if(this[_0x523360(0x136)]&&(this[_0x523360(0x136)]['close'](),this[_0x523360(0x136)]=null),this['_deflate']){const _0x31dcc3=this[_0x523360(0x1b8)][_0x731517];this[_0x523360(0x1b8)][_0x523360(0x15a)](),this[_0x523360(0x1b8)]=null,_0x31dcc3&&_0x31dcc3(new Error(_0x523360(0x1f7)));}}[_0x11b22e(0x25e)](_0x416807){const _0x185234=_0x11b22e,_0x582ae8=this[_0x185234(0x285)],_0x132b58=_0x416807[_0x185234(0x2be)](_0x2d8b75=>!(_0x582ae8[_0x185234(0x152)]===!0x1&&_0x2d8b75['server_no_context_takeover']||_0x2d8b75[_0x185234(0x19f)]&&(_0x582ae8[_0x185234(0x11e)]===!0x1||typeof _0x582ae8['serverMaxWindowBits']==_0x185234(0x159)&&_0x582ae8[_0x185234(0x11e)]>_0x2d8b75['server_max_window_bits'])||typeof _0x582ae8[_0x185234(0x13d)]=='number'&&!_0x2d8b75[_0x185234(0x17d)]));if(!_0x132b58)throw new Error(_0x185234(0x1c3));return _0x582ae8[_0x185234(0x152)]&&(_0x132b58[_0x185234(0x12c)]=!0x0),_0x582ae8[_0x185234(0x149)]&&(_0x132b58[_0x185234(0x234)]=!0x0),typeof _0x582ae8['serverMaxWindowBits']==_0x185234(0x159)&&(_0x132b58[_0x185234(0x19f)]=_0x582ae8[_0x185234(0x11e)]),typeof _0x582ae8[_0x185234(0x13d)]==_0x185234(0x159)?_0x132b58['client_max_window_bits']=_0x582ae8[_0x185234(0x13d)]:(_0x132b58[_0x185234(0x17d)]===!0x0||_0x582ae8[_0x185234(0x13d)]===!0x1)&&delete _0x132b58[_0x185234(0x17d)],_0x132b58;}[_0x11b22e(0x1ee)](_0x4fb765){const _0x575998=_0x11b22e,_0x200d01=_0x4fb765[0x0];if(this[_0x575998(0x285)][_0x575998(0x149)]===!0x1&&_0x200d01['client_no_context_takeover'])throw new Error(_0x575998(0x196));if(!_0x200d01[_0x575998(0x17d)])typeof this[_0x575998(0x285)][_0x575998(0x13d)]==_0x575998(0x159)&&(_0x200d01[_0x575998(0x17d)]=this[_0x575998(0x285)][_0x575998(0x13d)]);else{if(this[_0x575998(0x285)]['clientMaxWindowBits']===!0x1||typeof this[_0x575998(0x285)][_0x575998(0x13d)]==_0x575998(0x159)&&_0x200d01[_0x575998(0x17d)]>this[_0x575998(0x285)][_0x575998(0x13d)])throw new Error(_0x575998(0x22f));}return _0x200d01;}[_0x11b22e(0x27b)](_0x57179a){const _0xb3ebd4=_0x11b22e;return _0x57179a[_0xb3ebd4(0x131)](_0x43fb2f=>{const _0x3b5f54=_0xb3ebd4;Object['keys'](_0x43fb2f)[_0x3b5f54(0x131)](_0x2e02fa=>{const _0x26d1ba=_0x3b5f54;let _0x3b1591=_0x43fb2f[_0x2e02fa];if(_0x3b1591['length']>0x1)throw new Error(_0x26d1ba(0x24c)+_0x2e02fa+_0x26d1ba(0x272));if(_0x3b1591=_0x3b1591[0x0],_0x2e02fa==='client_max_window_bits'){if(_0x3b1591!==!0x0){const _0x248728=+_0x3b1591;if(!Number['isInteger'](_0x248728)||_0x248728<0x8||_0x248728>0xf)throw new TypeError(_0x26d1ba(0x1ec)+_0x2e02fa+_0x26d1ba(0x2b9)+_0x3b1591);_0x3b1591=_0x248728;}else{if(!this[_0x26d1ba(0x2a2)])throw new TypeError(_0x26d1ba(0x1ec)+_0x2e02fa+_0x26d1ba(0x2b9)+_0x3b1591);}}else{if(_0x2e02fa===_0x26d1ba(0x19f)){const _0x53e779=+_0x3b1591;if(!Number[_0x26d1ba(0x238)](_0x53e779)||_0x53e779<0x8||_0x53e779>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2e02fa+_0x26d1ba(0x2b9)+_0x3b1591);_0x3b1591=_0x53e779;}else{if(_0x2e02fa===_0x26d1ba(0x234)||_0x2e02fa===_0x26d1ba(0x12c)){if(_0x3b1591!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2e02fa+'\x22:\x20'+_0x3b1591);}else throw new Error(_0x26d1ba(0x11f)+_0x2e02fa+'\x22');}}_0x43fb2f[_0x2e02fa]=_0x3b1591;});}),_0x57179a;}[_0x11b22e(0x206)](_0x33219f,_0x4bfcd3,_0xf6415b){const _0x4d5667=_0x11b22e;_0x5b6386[_0x4d5667(0x2cb)](_0x466232=>{const _0x4b80e5=_0x4d5667;this[_0x4b80e5(0x288)](_0x33219f,_0x4bfcd3,(_0xbe97ec,_0x4d15d6)=>{_0x466232(),_0xf6415b(_0xbe97ec,_0x4d15d6);});});}[_0x11b22e(0x2bb)](_0x1bfd82,_0x27699c,_0x56b517){const _0x9457b=_0x11b22e;_0x5b6386[_0x9457b(0x2cb)](_0x5a8566=>{const _0x4b0778=_0x9457b;this[_0x4b0778(0x268)](_0x1bfd82,_0x27699c,(_0x3a5f48,_0x4a3d15)=>{_0x5a8566(),_0x56b517(_0x3a5f48,_0x4a3d15);});});}[_0x11b22e(0x288)](_0x21d55a,_0x2d7327,_0x3b6975){const _0x1110f4=_0x11b22e,_0x225407=this['_isServer']?'client':_0x1110f4(0x223);if(!this['_inflate']){const _0x51bf99=_0x225407+'_max_window_bits',_0x60ad3e=typeof this['params'][_0x51bf99]!='number'?_0x165832[_0x1110f4(0x1db)]:this['params'][_0x51bf99];this['_inflate']=_0x165832[_0x1110f4(0x200)]({...this[_0x1110f4(0x285)][_0x1110f4(0x2a5)],'windowBits':_0x60ad3e}),this['_inflate'][_0x13a327]=this,this[_0x1110f4(0x136)][_0xa176e1]=0x0,this['_inflate'][_0x1a09f3]=[],this[_0x1110f4(0x136)]['on'](_0x1110f4(0x1cd),_0x4de22c),this[_0x1110f4(0x136)]['on'](_0x1110f4(0x2c6),_0xbfa022);}this[_0x1110f4(0x136)][_0x731517]=_0x3b6975,this[_0x1110f4(0x136)][_0x1110f4(0x1eb)](_0x21d55a),_0x2d7327&&this['_inflate'][_0x1110f4(0x1eb)](_0x23ee6e),this[_0x1110f4(0x136)][_0x1110f4(0x154)](()=>{const _0x4632a1=_0x1110f4,_0x2e2ef1=this[_0x4632a1(0x136)][_0x6ea91];if(_0x2e2ef1){this[_0x4632a1(0x136)]['close'](),this[_0x4632a1(0x136)]=null,_0x3b6975(_0x2e2ef1);return;}const _0x4d908d=_0x3e712a[_0x4632a1(0x144)](this[_0x4632a1(0x136)][_0x1a09f3],this['_inflate'][_0xa176e1]);this['_inflate'][_0x4632a1(0x117)]['endEmitted']?(this[_0x4632a1(0x136)][_0x4632a1(0x15a)](),this[_0x4632a1(0x136)]=null):(this[_0x4632a1(0x136)][_0xa176e1]=0x0,this[_0x4632a1(0x136)][_0x1a09f3]=[],_0x2d7327&&this[_0x4632a1(0x21a)][_0x225407+_0x4632a1(0x22d)]&&this[_0x4632a1(0x136)]['reset']()),_0x3b6975(null,_0x4d908d);});}[_0x11b22e(0x268)](_0x41d98b,_0x1fbbd5,_0x17be55){const _0x5a0af2=_0x11b22e,_0x227bc7=this[_0x5a0af2(0x2a2)]?'server':'client';if(!this[_0x5a0af2(0x1b8)]){const _0x524387=_0x227bc7+_0x5a0af2(0x1c5),_0x4acb65=typeof this[_0x5a0af2(0x21a)][_0x524387]!=_0x5a0af2(0x159)?_0x165832[_0x5a0af2(0x1db)]:this[_0x5a0af2(0x21a)][_0x524387];this[_0x5a0af2(0x1b8)]=_0x165832[_0x5a0af2(0x142)]({...this[_0x5a0af2(0x285)][_0x5a0af2(0x1bb)],'windowBits':_0x4acb65}),this[_0x5a0af2(0x1b8)][_0xa176e1]=0x0,this[_0x5a0af2(0x1b8)][_0x1a09f3]=[],this[_0x5a0af2(0x1b8)]['on']('data',_0x316207);}this['_deflate'][_0x731517]=_0x17be55,this[_0x5a0af2(0x1b8)][_0x5a0af2(0x1eb)](_0x41d98b),this[_0x5a0af2(0x1b8)][_0x5a0af2(0x154)](_0x165832['Z_SYNC_FLUSH'],()=>{const _0x5d7c19=_0x5a0af2;if(!this['_deflate'])return;let _0x52f640=_0x3e712a[_0x5d7c19(0x144)](this[_0x5d7c19(0x1b8)][_0x1a09f3],this['_deflate'][_0xa176e1]);_0x1fbbd5&&(_0x52f640=new _0x5718e1(_0x52f640[_0x5d7c19(0x20f)],_0x52f640['byteOffset'],_0x52f640[_0x5d7c19(0x124)]-0x4)),this[_0x5d7c19(0x1b8)][_0x731517]=null,this['_deflate'][_0xa176e1]=0x0,this['_deflate'][_0x1a09f3]=[],_0x1fbbd5&&this[_0x5d7c19(0x21a)][_0x227bc7+_0x5d7c19(0x22d)]&&this[_0x5d7c19(0x1b8)][_0x5d7c19(0x281)](),_0x17be55(null,_0x52f640);});}}ve=_0x15b640;function _0x316207(_0x44b5e2){const _0x32fc08=_0x11b22e;this[_0x1a09f3][_0x32fc08(0x275)](_0x44b5e2),this[_0xa176e1]+=_0x44b5e2[_0x32fc08(0x124)];}function _0xbfa022(_0x4883f3){const _0x443253=_0x11b22e;if(this[_0xa176e1]+=_0x4883f3[_0x443253(0x124)],this[_0x13a327][_0x443253(0x1ce)]<0x1||this[_0xa176e1]<=this[_0x13a327][_0x443253(0x1ce)]){this[_0x1a09f3][_0x443253(0x275)](_0x4883f3);return;}this[_0x6ea91]=new RangeError(_0x443253(0x277)),this[_0x6ea91]['code']=_0x443253(0x28e),this[_0x6ea91][_0x26e857]=0x3f1,this['removeListener'](_0x443253(0x2c6),_0xbfa022),this[_0x443253(0x281)]();}function _0x4de22c(_0x96df0){const _0x1b0bc1=_0x11b22e;this[_0x13a327][_0x1b0bc1(0x136)]=null,_0x96df0[_0x26e857]=0x3ef,this[_0x731517](_0x96df0);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x431b54(0x163)](Object[_0x431b54(0x2c3)]({'__proto__':null,'default':Dt},Symbol[_0x431b54(0x22a)],{'value':_0x431b54(0x141)})),Bt=at(Rt);var Ye;function ae(){const _0x21631b=_0x431b54;if(Ye)return ie[_0x21631b(0x1fb)];Ye=0x1;const {isUtf8:_0x2cb5e1}=wt,{hasBlob:_0x353c4d}=H(),_0x4d3b98=[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 _0x274289(_0x53a60e){return _0x53a60e>=0x3e8&&_0x53a60e<=0x3f6&&_0x53a60e!==0x3ec&&_0x53a60e!==0x3ed&&_0x53a60e!==0x3ee||_0x53a60e>=0xbb8&&_0x53a60e<=0x1387;}function _0x45d2a1(_0x21a40a){const _0x1890f6=_0x21a40a['length'];let _0x31aadd=0x0;for(;_0x31aadd<_0x1890f6;)if((_0x21a40a[_0x31aadd]&0x80)===0x0)_0x31aadd++;else{if((_0x21a40a[_0x31aadd]&0xe0)===0xc0){if(_0x31aadd+0x1===_0x1890f6||(_0x21a40a[_0x31aadd+0x1]&0xc0)!==0x80||(_0x21a40a[_0x31aadd]&0xfe)===0xc0)return!0x1;_0x31aadd+=0x2;}else{if((_0x21a40a[_0x31aadd]&0xf0)===0xe0){if(_0x31aadd+0x2>=_0x1890f6||(_0x21a40a[_0x31aadd+0x1]&0xc0)!==0x80||(_0x21a40a[_0x31aadd+0x2]&0xc0)!==0x80||_0x21a40a[_0x31aadd]===0xe0&&(_0x21a40a[_0x31aadd+0x1]&0xe0)===0x80||_0x21a40a[_0x31aadd]===0xed&&(_0x21a40a[_0x31aadd+0x1]&0xe0)===0xa0)return!0x1;_0x31aadd+=0x3;}else{if((_0x21a40a[_0x31aadd]&0xf8)===0xf0){if(_0x31aadd+0x3>=_0x1890f6||(_0x21a40a[_0x31aadd+0x1]&0xc0)!==0x80||(_0x21a40a[_0x31aadd+0x2]&0xc0)!==0x80||(_0x21a40a[_0x31aadd+0x3]&0xc0)!==0x80||_0x21a40a[_0x31aadd]===0xf0&&(_0x21a40a[_0x31aadd+0x1]&0xf0)===0x80||_0x21a40a[_0x31aadd]===0xf4&&_0x21a40a[_0x31aadd+0x1]>0x8f||_0x21a40a[_0x31aadd]>0xf4)return!0x1;_0x31aadd+=0x4;}else return!0x1;}}}return!0x0;}function _0x1c76fd(_0x44d17b){const _0x325872=_0x21631b;return _0x353c4d&&typeof _0x44d17b==_0x325872(0x164)&&typeof _0x44d17b[_0x325872(0x2bc)]==_0x325872(0x2d4)&&typeof _0x44d17b[_0x325872(0x254)]==_0x325872(0x2c8)&&typeof _0x44d17b[_0x325872(0x2de)]==_0x325872(0x2d4)&&(_0x44d17b[Symbol[_0x325872(0x22a)]]===_0x325872(0x16a)||_0x44d17b[Symbol[_0x325872(0x22a)]]===_0x325872(0x151));}if(ie[_0x21631b(0x1fb)]={'isBlob':_0x1c76fd,'isValidStatusCode':_0x274289,'isValidUTF8':_0x45d2a1,'tokenChars':_0x4d3b98},_0x2cb5e1)ie[_0x21631b(0x1fb)][_0x21631b(0x2b8)]=function(_0x1f1c19){const _0x22ff5c=_0x21631b;return _0x1f1c19[_0x22ff5c(0x124)]<0x18?_0x45d2a1(_0x1f1c19):_0x2cb5e1(_0x1f1c19);};else{if(!process[_0x21631b(0x10b)][_0x21631b(0x111)])try{const _0x1e76cf=Bt;ie[_0x21631b(0x1fb)][_0x21631b(0x2b8)]=function(_0x34261f){return _0x34261f['length']<0x20?_0x45d2a1(_0x34261f):_0x1e76cf(_0x34261f);};}catch{}}return ie[_0x21631b(0x1fb)];}var Se,Ke;function lt(){const _0x33d95a=_0x431b54;if(Ke)return Se;Ke=0x1;const {Writable:_0xa23fb6}=oe,_0x1c4871=he(),{BINARY_TYPES:_0x420390,EMPTY_BUFFER:_0x55dde8,kStatusCode:_0x3798b4,kWebSocket:_0x79d579}=H(),{concat:_0x485df6,toArrayBuffer:_0x200e25,unmask:_0x191692}=ce(),{isValidStatusCode:_0x22eccf,isValidUTF8:_0x619c1a}=ae(),_0x378470=Buffer[Symbol[_0x33d95a(0x2c9)]],_0x21af01=0x0,_0x3b861f=0x1,_0x47c5df=0x2,_0x5b9b5c=0x3,_0x4ad098=0x4,_0x3b64cb=0x5,_0x47bc7f=0x6;class _0x1f6c56 extends _0xa23fb6{constructor(_0x74b6d2={}){const _0x4131f4=_0x33d95a;super(),this[_0x4131f4(0x129)]=_0x74b6d2['allowSynchronousEvents']!==void 0x0?_0x74b6d2[_0x4131f4(0x12f)]:!0x0,this[_0x4131f4(0x21e)]=_0x74b6d2[_0x4131f4(0x27e)]||_0x420390[0x0],this[_0x4131f4(0x29f)]=_0x74b6d2['extensions']||{},this['_isServer']=!!_0x74b6d2[_0x4131f4(0x219)],this[_0x4131f4(0x1ce)]=_0x74b6d2[_0x4131f4(0x2a9)]|0x0,this[_0x4131f4(0x242)]=!!_0x74b6d2['skipUTF8Validation'],this[_0x79d579]=void 0x0,this[_0x4131f4(0x2d5)]=0x0,this[_0x4131f4(0x1ae)]=[],this[_0x4131f4(0x1af)]=!0x1,this[_0x4131f4(0x24b)]=0x0,this[_0x4131f4(0x1a2)]=void 0x0,this['_fragmented']=0x0,this[_0x4131f4(0x2cf)]=!0x1,this['_fin']=!0x1,this[_0x4131f4(0x13a)]=0x0,this['_totalPayloadLength']=0x0,this[_0x4131f4(0x2a3)]=0x0,this['_fragments']=[],this[_0x4131f4(0x1f2)]=!0x1,this[_0x4131f4(0x245)]=!0x1,this['_state']=_0x21af01;}[_0x33d95a(0x2d0)](_0x254165,_0x1fcbc2,_0x43ac5d){const _0x7690ae=_0x33d95a;if(this['_opcode']===0x8&&this['_state']==_0x21af01)return _0x43ac5d();this[_0x7690ae(0x2d5)]+=_0x254165[_0x7690ae(0x124)],this['_buffers'][_0x7690ae(0x275)](_0x254165),this[_0x7690ae(0x29c)](_0x43ac5d);}[_0x33d95a(0x15b)](_0x507841){const _0xfebe=_0x33d95a;if(this['_bufferedBytes']-=_0x507841,_0x507841===this[_0xfebe(0x1ae)][0x0]['length'])return this[_0xfebe(0x1ae)][_0xfebe(0x16e)]();if(_0x507841<this[_0xfebe(0x1ae)][0x0]['length']){const _0x3a95a0=this['_buffers'][0x0];return this[_0xfebe(0x1ae)][0x0]=new _0x378470(_0x3a95a0[_0xfebe(0x20f)],_0x3a95a0['byteOffset']+_0x507841,_0x3a95a0[_0xfebe(0x124)]-_0x507841),new _0x378470(_0x3a95a0[_0xfebe(0x20f)],_0x3a95a0[_0xfebe(0x1b3)],_0x507841);}const _0x187b45=Buffer[_0xfebe(0x1a8)](_0x507841);do{const _0x2c0978=this[_0xfebe(0x1ae)][0x0],_0x32f5b9=_0x187b45[_0xfebe(0x124)]-_0x507841;_0x507841>=_0x2c0978[_0xfebe(0x124)]?_0x187b45[_0xfebe(0x205)](this[_0xfebe(0x1ae)]['shift'](),_0x32f5b9):(_0x187b45[_0xfebe(0x205)](new Uint8Array(_0x2c0978['buffer'],_0x2c0978[_0xfebe(0x1b3)],_0x507841),_0x32f5b9),this[_0xfebe(0x1ae)][0x0]=new _0x378470(_0x2c0978[_0xfebe(0x20f)],_0x2c0978[_0xfebe(0x1b3)]+_0x507841,_0x2c0978[_0xfebe(0x124)]-_0x507841)),_0x507841-=_0x2c0978[_0xfebe(0x124)];}while(_0x507841>0x0);return _0x187b45;}[_0x33d95a(0x29c)](_0x10390c){const _0x113d19=_0x33d95a;this[_0x113d19(0x245)]=!0x0;do switch(this[_0x113d19(0x291)]){case _0x21af01:this[_0x113d19(0x10f)](_0x10390c);break;case _0x3b861f:this['getPayloadLength16'](_0x10390c);break;case _0x47c5df:this[_0x113d19(0x28a)](_0x10390c);break;case _0x5b9b5c:this[_0x113d19(0x226)]();break;case _0x4ad098:this[_0x113d19(0x194)](_0x10390c);break;case _0x3b64cb:case _0x47bc7f:this[_0x113d19(0x245)]=!0x1;return;}while(this[_0x113d19(0x245)]);this[_0x113d19(0x1f2)]||_0x10390c();}[_0x33d95a(0x10f)](_0x5ece87){const _0x318255=_0x33d95a;if(this['_bufferedBytes']<0x2){this[_0x318255(0x245)]=!0x1;return;}const _0x1e3755=this[_0x318255(0x15b)](0x2);if((_0x1e3755[0x0]&0x30)!==0x0){const _0x1047d5=this[_0x318255(0x2db)](RangeError,_0x318255(0x1e1),!0x0,0x3ea,_0x318255(0x204));_0x5ece87(_0x1047d5);return;}const _0x39f9f6=(_0x1e3755[0x0]&0x40)===0x40;if(_0x39f9f6&&!this[_0x318255(0x29f)][_0x1c4871[_0x318255(0x1ea)]]){const _0x13b759=this['createError'](RangeError,_0x318255(0x1f1),!0x0,0x3ea,_0x318255(0x263));_0x5ece87(_0x13b759);return;}if(this['_fin']=(_0x1e3755[0x0]&0x80)===0x80,this[_0x318255(0x13a)]=_0x1e3755[0x0]&0xf,this[_0x318255(0x24b)]=_0x1e3755[0x1]&0x7f,this[_0x318255(0x13a)]===0x0){if(_0x39f9f6){const _0x56a095=this[_0x318255(0x2db)](RangeError,_0x318255(0x1f1),!0x0,0x3ea,_0x318255(0x263));_0x5ece87(_0x56a095);return;}if(!this[_0x318255(0x1a7)]){const _0x5e38a0=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5ece87(_0x5e38a0);return;}this[_0x318255(0x13a)]=this[_0x318255(0x1a7)];}else{if(this[_0x318255(0x13a)]===0x1||this[_0x318255(0x13a)]===0x2){if(this[_0x318255(0x1a7)]){const _0x8953f=this[_0x318255(0x2db)](RangeError,_0x318255(0x19a)+this['_opcode'],!0x0,0x3ea,_0x318255(0x178));_0x5ece87(_0x8953f);return;}this[_0x318255(0x1af)]=_0x39f9f6;}else{if(this[_0x318255(0x13a)]>0x7&&this[_0x318255(0x13a)]<0xb){if(!this[_0x318255(0x29a)]){const _0x20cb83=this[_0x318255(0x2db)](RangeError,_0x318255(0x225),!0x0,0x3ea,_0x318255(0x10e));_0x5ece87(_0x20cb83);return;}if(_0x39f9f6){const _0x160adb=this['createError'](RangeError,_0x318255(0x1f1),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5ece87(_0x160adb);return;}if(this[_0x318255(0x24b)]>0x7d||this[_0x318255(0x13a)]===0x8&&this[_0x318255(0x24b)]===0x1){const _0x18d14a=this[_0x318255(0x2db)](RangeError,_0x318255(0x290)+this['_payloadLength'],!0x0,0x3ea,_0x318255(0x119));_0x5ece87(_0x18d14a);return;}}else{const _0x2449e4=this[_0x318255(0x2db)](RangeError,'invalid\x20opcode\x20'+this[_0x318255(0x13a)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5ece87(_0x2449e4);return;}}}if(!this[_0x318255(0x29a)]&&!this[_0x318255(0x1a7)]&&(this[_0x318255(0x1a7)]=this['_opcode']),this[_0x318255(0x2cf)]=(_0x1e3755[0x1]&0x80)===0x80,this[_0x318255(0x2a2)]){if(!this['_masked']){const _0x1a2ac3=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x318255(0x1d5));_0x5ece87(_0x1a2ac3);return;}}else{if(this['_masked']){const _0x31788c=this[_0x318255(0x2db)](RangeError,_0x318255(0x19d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5ece87(_0x31788c);return;}}this[_0x318255(0x24b)]===0x7e?this[_0x318255(0x291)]=_0x3b861f:this[_0x318255(0x24b)]===0x7f?this[_0x318255(0x291)]=_0x47c5df:this['haveLength'](_0x5ece87);}[_0x33d95a(0x23d)](_0x50e7a5){const _0x27263a=_0x33d95a;if(this[_0x27263a(0x2d5)]<0x2){this[_0x27263a(0x245)]=!0x1;return;}this[_0x27263a(0x24b)]=this[_0x27263a(0x15b)](0x2)['readUInt16BE'](0x0),this[_0x27263a(0x1fc)](_0x50e7a5);}[_0x33d95a(0x28a)](_0x199927){const _0x99211=_0x33d95a;if(this[_0x99211(0x2d5)]<0x8){this[_0x99211(0x245)]=!0x1;return;}const _0x2de159=this[_0x99211(0x15b)](0x8),_0x430b34=_0x2de159[_0x99211(0x28f)](0x0);if(_0x430b34>Math[_0x99211(0x180)](0x2,0x15)-0x1){const _0x2d68ca=this[_0x99211(0x2db)](RangeError,_0x99211(0x1c2),!0x1,0x3f1,_0x99211(0x169));_0x199927(_0x2d68ca);return;}this[_0x99211(0x24b)]=_0x430b34*Math[_0x99211(0x180)](0x2,0x20)+_0x2de159['readUInt32BE'](0x4),this[_0x99211(0x1fc)](_0x199927);}[_0x33d95a(0x1fc)](_0x5cbc42){const _0x1c7b62=_0x33d95a;if(this[_0x1c7b62(0x24b)]&&this[_0x1c7b62(0x13a)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x1c7b62(0x264)]>this['_maxPayload']&&this[_0x1c7b62(0x1ce)]>0x0)){const _0x30add9=this[_0x1c7b62(0x2db)](RangeError,_0x1c7b62(0x277),!0x1,0x3f1,_0x1c7b62(0x28e));_0x5cbc42(_0x30add9);return;}this[_0x1c7b62(0x2cf)]?this['_state']=_0x5b9b5c:this[_0x1c7b62(0x291)]=_0x4ad098;}['getMask'](){const _0x36490a=_0x33d95a;if(this['_bufferedBytes']<0x4){this[_0x36490a(0x245)]=!0x1;return;}this[_0x36490a(0x1a2)]=this[_0x36490a(0x15b)](0x4),this[_0x36490a(0x291)]=_0x4ad098;}['getData'](_0x138ba2){const _0x58e358=_0x33d95a;let _0x362aa4=_0x55dde8;if(this[_0x58e358(0x24b)]){if(this[_0x58e358(0x2d5)]<this[_0x58e358(0x24b)]){this[_0x58e358(0x245)]=!0x1;return;}_0x362aa4=this[_0x58e358(0x15b)](this[_0x58e358(0x24b)]),this[_0x58e358(0x2cf)]&&(this['_mask'][0x0]|this[_0x58e358(0x1a2)][0x1]|this[_0x58e358(0x1a2)][0x2]|this[_0x58e358(0x1a2)][0x3])!==0x0&&_0x191692(_0x362aa4,this[_0x58e358(0x1a2)]);}if(this['_opcode']>0x7){this[_0x58e358(0x186)](_0x362aa4,_0x138ba2);return;}if(this[_0x58e358(0x1af)]){this[_0x58e358(0x291)]=_0x3b64cb,this[_0x58e358(0x206)](_0x362aa4,_0x138ba2);return;}_0x362aa4['length']&&(this[_0x58e358(0x2a3)]=this[_0x58e358(0x264)],this[_0x58e358(0x1fe)][_0x58e358(0x275)](_0x362aa4)),this[_0x58e358(0x27a)](_0x138ba2);}[_0x33d95a(0x206)](_0x288344,_0x36cfa0){const _0x1b88f7=_0x33d95a;this[_0x1b88f7(0x29f)][_0x1c4871[_0x1b88f7(0x1ea)]][_0x1b88f7(0x206)](_0x288344,this['_fin'],(_0x49f0cc,_0x1c5f0a)=>{const _0x20f38f=_0x1b88f7;if(_0x49f0cc)return _0x36cfa0(_0x49f0cc);if(_0x1c5f0a[_0x20f38f(0x124)]){if(this[_0x20f38f(0x2a3)]+=_0x1c5f0a['length'],this[_0x20f38f(0x2a3)]>this['_maxPayload']&&this[_0x20f38f(0x1ce)]>0x0){const _0x126e7f=this[_0x20f38f(0x2db)](RangeError,_0x20f38f(0x277),!0x1,0x3f1,_0x20f38f(0x28e));_0x36cfa0(_0x126e7f);return;}this[_0x20f38f(0x1fe)]['push'](_0x1c5f0a);}this['dataMessage'](_0x36cfa0),this[_0x20f38f(0x291)]===_0x21af01&&this[_0x20f38f(0x29c)](_0x36cfa0);});}[_0x33d95a(0x27a)](_0x471a95){const _0x3d30b4=_0x33d95a;if(!this[_0x3d30b4(0x29a)]){this[_0x3d30b4(0x291)]=_0x21af01;return;}const _0x3f2dfa=this[_0x3d30b4(0x2a3)],_0xbfffe8=this[_0x3d30b4(0x1fe)];if(this[_0x3d30b4(0x264)]=0x0,this[_0x3d30b4(0x2a3)]=0x0,this[_0x3d30b4(0x1a7)]=0x0,this[_0x3d30b4(0x1fe)]=[],this[_0x3d30b4(0x13a)]===0x2){let _0xec0ea5;this['_binaryType']===_0x3d30b4(0x1c7)?_0xec0ea5=_0x485df6(_0xbfffe8,_0x3f2dfa):this[_0x3d30b4(0x21e)]==='arraybuffer'?_0xec0ea5=_0x200e25(_0x485df6(_0xbfffe8,_0x3f2dfa)):this['_binaryType']===_0x3d30b4(0x1dc)?_0xec0ea5=new Blob(_0xbfffe8):_0xec0ea5=_0xbfffe8,this['_allowSynchronousEvents']?(this[_0x3d30b4(0x143)](_0x3d30b4(0x240),_0xec0ea5,!0x0),this[_0x3d30b4(0x291)]=_0x21af01):(this[_0x3d30b4(0x291)]=_0x47bc7f,setImmediate(()=>{const _0x4cc7b3=_0x3d30b4;this[_0x4cc7b3(0x143)](_0x4cc7b3(0x240),_0xec0ea5,!0x0),this[_0x4cc7b3(0x291)]=_0x21af01,this[_0x4cc7b3(0x29c)](_0x471a95);}));}else{const _0x5d1992=_0x485df6(_0xbfffe8,_0x3f2dfa);if(!this[_0x3d30b4(0x242)]&&!_0x619c1a(_0x5d1992)){const _0x2dbeb7=this[_0x3d30b4(0x2db)](Error,_0x3d30b4(0x2ab),!0x0,0x3ef,_0x3d30b4(0x184));_0x471a95(_0x2dbeb7);return;}this[_0x3d30b4(0x291)]===_0x3b64cb||this[_0x3d30b4(0x129)]?(this['emit'](_0x3d30b4(0x240),_0x5d1992,!0x1),this['_state']=_0x21af01):(this[_0x3d30b4(0x291)]=_0x47bc7f,setImmediate(()=>{const _0x546ae5=_0x3d30b4;this[_0x546ae5(0x143)](_0x546ae5(0x240),_0x5d1992,!0x1),this['_state']=_0x21af01,this[_0x546ae5(0x29c)](_0x471a95);}));}}[_0x33d95a(0x186)](_0x301a05,_0x300cf2){const _0x5df642=_0x33d95a;if(this[_0x5df642(0x13a)]===0x8){if(_0x301a05[_0x5df642(0x124)]===0x0)this[_0x5df642(0x245)]=!0x1,this[_0x5df642(0x143)](_0x5df642(0x177),0x3ed,_0x55dde8),this['end']();else{const _0x24af82=_0x301a05[_0x5df642(0x1d9)](0x0);if(!_0x22eccf(_0x24af82)){const _0x4507a7=this['createError'](RangeError,_0x5df642(0x250)+_0x24af82,!0x0,0x3ea,_0x5df642(0x27d));_0x300cf2(_0x4507a7);return;}const _0x4c2314=new _0x378470(_0x301a05[_0x5df642(0x20f)],_0x301a05[_0x5df642(0x1b3)]+0x2,_0x301a05[_0x5df642(0x124)]-0x2);if(!this[_0x5df642(0x242)]&&!_0x619c1a(_0x4c2314)){const _0x137dd2=this[_0x5df642(0x2db)](Error,_0x5df642(0x2ab),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x300cf2(_0x137dd2);return;}this[_0x5df642(0x245)]=!0x1,this[_0x5df642(0x143)](_0x5df642(0x177),_0x24af82,_0x4c2314),this[_0x5df642(0x15d)]();}this['_state']=_0x21af01;return;}this[_0x5df642(0x129)]?(this[_0x5df642(0x143)](this['_opcode']===0x9?_0x5df642(0x14c):'pong',_0x301a05),this[_0x5df642(0x291)]=_0x21af01):(this[_0x5df642(0x291)]=_0x47bc7f,setImmediate(()=>{const _0x1e14dc=_0x5df642;this[_0x1e14dc(0x143)](this[_0x1e14dc(0x13a)]===0x9?'ping':'pong',_0x301a05),this['_state']=_0x21af01,this['startLoop'](_0x300cf2);}));}['createError'](_0x1c8d89,_0x121d67,_0x50b57e,_0x4f924c,_0x15a0e3){const _0x1a6465=_0x33d95a;this[_0x1a6465(0x245)]=!0x1,this[_0x1a6465(0x1f2)]=!0x0;const _0x713fd2=new _0x1c8d89(_0x50b57e?_0x1a6465(0x1ed)+_0x121d67:_0x121d67);return Error[_0x1a6465(0x1cc)](_0x713fd2,this[_0x1a6465(0x2db)]),_0x713fd2[_0x1a6465(0x1f6)]=_0x15a0e3,_0x713fd2[_0x3798b4]=_0x4f924c,_0x713fd2;}}return Se=_0x1f6c56,Se;}var Ee,Xe;function ft(){const _0xa3233b=_0x431b54;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5d26e8}=oe,{randomFillSync:_0x4d142e}=Le,_0x29eb78=he(),{EMPTY_BUFFER:_0x4b9efb,kWebSocket:_0x214037,NOOP:_0x518d12}=H(),{isBlob:_0x4db78,isValidStatusCode:_0xd16c5}=ae(),{mask:_0x521cee,toBuffer:_0x3cc843}=ce(),_0x339785=Symbol(_0xa3233b(0x187)),_0x5427de=Buffer[_0xa3233b(0x123)](0x4),_0x155ee0=0x8*0x400;let _0x456ba9,_0x3f07d5=_0x155ee0;const _0x1af2c8=0x0,_0x177983=0x1,_0x488295=0x2;class _0x52e483{constructor(_0x2ca1bd,_0x393e97,_0x1d8a5c){const _0x245ae0=_0xa3233b;this[_0x245ae0(0x29f)]=_0x393e97||{},_0x1d8a5c&&(this[_0x245ae0(0x267)]=_0x1d8a5c,this[_0x245ae0(0x2b6)]=Buffer[_0x245ae0(0x123)](0x4)),this[_0x245ae0(0x1b2)]=_0x2ca1bd,this[_0x245ae0(0x120)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x245ae0(0x243)]=[],this[_0x245ae0(0x291)]=_0x1af2c8,this[_0x245ae0(0x213)]=_0x518d12,this[_0x214037]=void 0x0;}static[_0xa3233b(0x23a)](_0x509b9c,_0x4e23ed){const _0x4c1972=_0xa3233b;let _0x184721,_0x5a11b6=!0x1,_0x38a5f2=0x2,_0x496195=!0x1;_0x4e23ed[_0x4c1972(0x1ef)]&&(_0x184721=_0x4e23ed[_0x4c1972(0x1c6)]||_0x5427de,_0x4e23ed['generateMask']?_0x4e23ed[_0x4c1972(0x210)](_0x184721):(_0x3f07d5===_0x155ee0&&(_0x456ba9===void 0x0&&(_0x456ba9=Buffer[_0x4c1972(0x123)](_0x155ee0)),_0x4d142e(_0x456ba9,0x0,_0x155ee0),_0x3f07d5=0x0),_0x184721[0x0]=_0x456ba9[_0x3f07d5++],_0x184721[0x1]=_0x456ba9[_0x3f07d5++],_0x184721[0x2]=_0x456ba9[_0x3f07d5++],_0x184721[0x3]=_0x456ba9[_0x3f07d5++]),_0x496195=(_0x184721[0x0]|_0x184721[0x1]|_0x184721[0x2]|_0x184721[0x3])===0x0,_0x38a5f2=0x6);let _0x3f2bc6;typeof _0x509b9c=='string'?(!_0x4e23ed[_0x4c1972(0x1ef)]||_0x496195)&&_0x4e23ed[_0x339785]!==void 0x0?_0x3f2bc6=_0x4e23ed[_0x339785]:(_0x509b9c=Buffer[_0x4c1972(0x18c)](_0x509b9c),_0x3f2bc6=_0x509b9c['length']):(_0x3f2bc6=_0x509b9c[_0x4c1972(0x124)],_0x5a11b6=_0x4e23ed['mask']&&_0x4e23ed['readOnly']&&!_0x496195);let _0x2da630=_0x3f2bc6;_0x3f2bc6>=0x10000?(_0x38a5f2+=0x8,_0x2da630=0x7f):_0x3f2bc6>0x7d&&(_0x38a5f2+=0x2,_0x2da630=0x7e);const _0x1fd981=Buffer[_0x4c1972(0x1a8)](_0x5a11b6?_0x3f2bc6+_0x38a5f2:_0x38a5f2);return _0x1fd981[0x0]=_0x4e23ed['fin']?_0x4e23ed[_0x4c1972(0x185)]|0x80:_0x4e23ed[_0x4c1972(0x185)],_0x4e23ed[_0x4c1972(0x168)]&&(_0x1fd981[0x0]|=0x40),_0x1fd981[0x1]=_0x2da630,_0x2da630===0x7e?_0x1fd981[_0x4c1972(0x2df)](_0x3f2bc6,0x2):_0x2da630===0x7f&&(_0x1fd981[0x2]=_0x1fd981[0x3]=0x0,_0x1fd981['writeUIntBE'](_0x3f2bc6,0x4,0x6)),_0x4e23ed[_0x4c1972(0x1ef)]?(_0x1fd981[0x1]|=0x80,_0x1fd981[_0x38a5f2-0x4]=_0x184721[0x0],_0x1fd981[_0x38a5f2-0x3]=_0x184721[0x1],_0x1fd981[_0x38a5f2-0x2]=_0x184721[0x2],_0x1fd981[_0x38a5f2-0x1]=_0x184721[0x3],_0x496195?[_0x1fd981,_0x509b9c]:_0x5a11b6?(_0x521cee(_0x509b9c,_0x184721,_0x1fd981,_0x38a5f2,_0x3f2bc6),[_0x1fd981]):(_0x521cee(_0x509b9c,_0x184721,_0x509b9c,0x0,_0x3f2bc6),[_0x1fd981,_0x509b9c])):[_0x1fd981,_0x509b9c];}['close'](_0x4fc999,_0x4ecf3a,_0x460317,_0xb39d8d){const _0x468090=_0xa3233b;let _0x4eb24f;if(_0x4fc999===void 0x0)_0x4eb24f=_0x4b9efb;else{if(typeof _0x4fc999!=_0x468090(0x159)||!_0xd16c5(_0x4fc999))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x4ecf3a===void 0x0||!_0x4ecf3a[_0x468090(0x124)])_0x4eb24f=Buffer[_0x468090(0x1a8)](0x2),_0x4eb24f[_0x468090(0x2df)](_0x4fc999,0x0);else{const _0x3db0d0=Buffer[_0x468090(0x1dd)](_0x4ecf3a);if(_0x3db0d0>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x4eb24f=Buffer[_0x468090(0x1a8)](0x2+_0x3db0d0),_0x4eb24f[_0x468090(0x2df)](_0x4fc999,0x0),typeof _0x4ecf3a==_0x468090(0x2c8)?_0x4eb24f[_0x468090(0x1eb)](_0x4ecf3a,0x2):_0x4eb24f[_0x468090(0x205)](_0x4ecf3a,0x2);}}const _0x1c3a30={[_0x339785]:_0x4eb24f[_0x468090(0x124)],'fin':!0x0,'generateMask':this[_0x468090(0x267)],'mask':_0x460317,'maskBuffer':this[_0x468090(0x2b6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x1af2c8?this['enqueue']([this[_0x468090(0x2e0)],_0x4eb24f,!0x1,_0x1c3a30,_0xb39d8d]):this[_0x468090(0x269)](_0x52e483[_0x468090(0x23a)](_0x4eb24f,_0x1c3a30),_0xb39d8d);}['ping'](_0x2ac755,_0x5eed08,_0x3ba996){const _0x34787c=_0xa3233b;let _0x43cb23,_0x54c2d1;if(typeof _0x2ac755==_0x34787c(0x2c8)?(_0x43cb23=Buffer[_0x34787c(0x1dd)](_0x2ac755),_0x54c2d1=!0x1):_0x4db78(_0x2ac755)?(_0x43cb23=_0x2ac755[_0x34787c(0x23b)],_0x54c2d1=!0x1):(_0x2ac755=_0x3cc843(_0x2ac755),_0x43cb23=_0x2ac755[_0x34787c(0x124)],_0x54c2d1=_0x3cc843[_0x34787c(0x28d)]),_0x43cb23>0x7d)throw new RangeError(_0x34787c(0x224));const _0x685b97={[_0x339785]:_0x43cb23,'fin':!0x0,'generateMask':this[_0x34787c(0x267)],'mask':_0x5eed08,'maskBuffer':this[_0x34787c(0x2b6)],'opcode':0x9,'readOnly':_0x54c2d1,'rsv1':!0x1};_0x4db78(_0x2ac755)?this[_0x34787c(0x291)]!==_0x1af2c8?this['enqueue']([this[_0x34787c(0x1c9)],_0x2ac755,!0x1,_0x685b97,_0x3ba996]):this['getBlobData'](_0x2ac755,!0x1,_0x685b97,_0x3ba996):this[_0x34787c(0x291)]!==_0x1af2c8?this['enqueue']([this['dispatch'],_0x2ac755,!0x1,_0x685b97,_0x3ba996]):this['sendFrame'](_0x52e483['frame'](_0x2ac755,_0x685b97),_0x3ba996);}['pong'](_0x1e36b1,_0x1e9210,_0xfa6a1c){const _0x3ab690=_0xa3233b;let _0x1e6125,_0xd698ce;if(typeof _0x1e36b1==_0x3ab690(0x2c8)?(_0x1e6125=Buffer[_0x3ab690(0x1dd)](_0x1e36b1),_0xd698ce=!0x1):_0x4db78(_0x1e36b1)?(_0x1e6125=_0x1e36b1[_0x3ab690(0x23b)],_0xd698ce=!0x1):(_0x1e36b1=_0x3cc843(_0x1e36b1),_0x1e6125=_0x1e36b1[_0x3ab690(0x124)],_0xd698ce=_0x3cc843[_0x3ab690(0x28d)]),_0x1e6125>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x576233={[_0x339785]:_0x1e6125,'fin':!0x0,'generateMask':this[_0x3ab690(0x267)],'mask':_0x1e9210,'maskBuffer':this[_0x3ab690(0x2b6)],'opcode':0xa,'readOnly':_0xd698ce,'rsv1':!0x1};_0x4db78(_0x1e36b1)?this[_0x3ab690(0x291)]!==_0x1af2c8?this[_0x3ab690(0x110)]([this[_0x3ab690(0x1c9)],_0x1e36b1,!0x1,_0x576233,_0xfa6a1c]):this[_0x3ab690(0x1c9)](_0x1e36b1,!0x1,_0x576233,_0xfa6a1c):this[_0x3ab690(0x291)]!==_0x1af2c8?this['enqueue']([this[_0x3ab690(0x2e0)],_0x1e36b1,!0x1,_0x576233,_0xfa6a1c]):this['sendFrame'](_0x52e483[_0x3ab690(0x23a)](_0x1e36b1,_0x576233),_0xfa6a1c);}['send'](_0x4f732c,_0x5bc884,_0x2e1dfd){const _0x477cda=_0xa3233b,_0x5007f2=this[_0x477cda(0x29f)][_0x29eb78[_0x477cda(0x1ea)]];let _0x25e066=_0x5bc884[_0x477cda(0x221)]?0x2:0x1,_0x4d6655=_0x5bc884[_0x477cda(0x2bb)],_0x33a308,_0x56f72a;typeof _0x4f732c==_0x477cda(0x2c8)?(_0x33a308=Buffer[_0x477cda(0x1dd)](_0x4f732c),_0x56f72a=!0x1):_0x4db78(_0x4f732c)?(_0x33a308=_0x4f732c['size'],_0x56f72a=!0x1):(_0x4f732c=_0x3cc843(_0x4f732c),_0x33a308=_0x4f732c[_0x477cda(0x124)],_0x56f72a=_0x3cc843[_0x477cda(0x28d)]),this[_0x477cda(0x120)]?(this['_firstFragment']=!0x1,_0x4d6655&&_0x5007f2&&_0x5007f2['params'][_0x5007f2[_0x477cda(0x2a2)]?_0x477cda(0x12c):_0x477cda(0x234)]&&(_0x4d6655=_0x33a308>=_0x5007f2[_0x477cda(0x195)]),this['_compress']=_0x4d6655):(_0x4d6655=!0x1,_0x25e066=0x0),_0x5bc884[_0x477cda(0x132)]&&(this[_0x477cda(0x120)]=!0x0);const _0x2934a0={[_0x339785]:_0x33a308,'fin':_0x5bc884[_0x477cda(0x132)],'generateMask':this[_0x477cda(0x267)],'mask':_0x5bc884[_0x477cda(0x1ef)],'maskBuffer':this[_0x477cda(0x2b6)],'opcode':_0x25e066,'readOnly':_0x56f72a,'rsv1':_0x4d6655};_0x4db78(_0x4f732c)?this[_0x477cda(0x291)]!==_0x1af2c8?this[_0x477cda(0x110)]([this[_0x477cda(0x1c9)],_0x4f732c,this['_compress'],_0x2934a0,_0x2e1dfd]):this[_0x477cda(0x1c9)](_0x4f732c,this['_compress'],_0x2934a0,_0x2e1dfd):this[_0x477cda(0x291)]!==_0x1af2c8?this[_0x477cda(0x110)]([this[_0x477cda(0x2e0)],_0x4f732c,this[_0x477cda(0x268)],_0x2934a0,_0x2e1dfd]):this[_0x477cda(0x2e0)](_0x4f732c,this[_0x477cda(0x268)],_0x2934a0,_0x2e1dfd);}[_0xa3233b(0x1c9)](_0x1d4cc2,_0x39d762,_0x411ae7,_0x1b846c){const _0x4dd116=_0xa3233b;this[_0x4dd116(0x2d5)]+=_0x411ae7[_0x339785],this[_0x4dd116(0x291)]=_0x488295,_0x1d4cc2[_0x4dd116(0x2bc)]()['then'](_0x5e5ba7=>{const _0x4efa42=_0x4dd116;if(this['_socket']['destroyed']){const _0x2dfcc0=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x4efa42(0x20d)](_0x31bac4,this,_0x2dfcc0,_0x1b846c);return;}this[_0x4efa42(0x2d5)]-=_0x411ae7[_0x339785];const _0x3204d1=_0x3cc843(_0x5e5ba7);_0x39d762?this[_0x4efa42(0x2e0)](_0x3204d1,_0x39d762,_0x411ae7,_0x1b846c):(this[_0x4efa42(0x291)]=_0x1af2c8,this['sendFrame'](_0x52e483[_0x4efa42(0x23a)](_0x3204d1,_0x411ae7),_0x1b846c),this[_0x4efa42(0x1ca)]());})[_0x4dd116(0x179)](_0x46a791=>{const _0xf21c4b=_0x4dd116;process[_0xf21c4b(0x20d)](_0x254839,this,_0x46a791,_0x1b846c);});}['dispatch'](_0x57b6fd,_0x43e87e,_0x2a37c7,_0xf6facd){const _0x20baf1=_0xa3233b;if(!_0x43e87e){this[_0x20baf1(0x269)](_0x52e483[_0x20baf1(0x23a)](_0x57b6fd,_0x2a37c7),_0xf6facd);return;}const _0x326fb5=this[_0x20baf1(0x29f)][_0x29eb78['extensionName']];this[_0x20baf1(0x2d5)]+=_0x2a37c7[_0x339785],this['_state']=_0x177983,_0x326fb5['compress'](_0x57b6fd,_0x2a37c7[_0x20baf1(0x132)],(_0xde0932,_0x1f3616)=>{const _0x5b1faa=_0x20baf1;if(this[_0x5b1faa(0x1b2)]['destroyed']){const _0x29c3a2=new Error(_0x5b1faa(0x296));_0x31bac4(this,_0x29c3a2,_0xf6facd);return;}this[_0x5b1faa(0x2d5)]-=_0x2a37c7[_0x339785],this['_state']=_0x1af2c8,_0x2a37c7[_0x5b1faa(0x28d)]=!0x1,this[_0x5b1faa(0x269)](_0x52e483[_0x5b1faa(0x23a)](_0x1f3616,_0x2a37c7),_0xf6facd),this[_0x5b1faa(0x1ca)]();});}[_0xa3233b(0x1ca)](){const _0xd48fbb=_0xa3233b;for(;this[_0xd48fbb(0x291)]===_0x1af2c8&&this['_queue'][_0xd48fbb(0x124)];){const _0x4f6e02=this[_0xd48fbb(0x243)][_0xd48fbb(0x16e)]();this[_0xd48fbb(0x2d5)]-=_0x4f6e02[0x3][_0x339785],Reflect['apply'](_0x4f6e02[0x0],this,_0x4f6e02[_0xd48fbb(0x1e2)](0x1));}}[_0xa3233b(0x110)](_0x2c828a){const _0xb5d061=_0xa3233b;this[_0xb5d061(0x2d5)]+=_0x2c828a[0x3][_0x339785],this[_0xb5d061(0x243)][_0xb5d061(0x275)](_0x2c828a);}['sendFrame'](_0xde00e4,_0x59f643){const _0xbd1924=_0xa3233b;_0xde00e4[_0xbd1924(0x124)]===0x2?(this[_0xbd1924(0x1b2)][_0xbd1924(0x126)](),this[_0xbd1924(0x1b2)]['write'](_0xde00e4[0x0]),this[_0xbd1924(0x1b2)][_0xbd1924(0x1eb)](_0xde00e4[0x1],_0x59f643),this[_0xbd1924(0x1b2)][_0xbd1924(0x1fa)]()):this[_0xbd1924(0x1b2)]['write'](_0xde00e4[0x0],_0x59f643);}}Ee=_0x52e483;function _0x31bac4(_0x26afc5,_0x52d316,_0x49d21f){const _0x45b3cf=_0xa3233b;typeof _0x49d21f==_0x45b3cf(0x2d4)&&_0x49d21f(_0x52d316);for(let _0x24b1cd=0x0;_0x24b1cd<_0x26afc5['_queue'][_0x45b3cf(0x124)];_0x24b1cd++){const _0x328e63=_0x26afc5['_queue'][_0x24b1cd],_0xb54f75=_0x328e63[_0x328e63[_0x45b3cf(0x124)]-0x1];typeof _0xb54f75=='function'&&_0xb54f75(_0x52d316);}}function _0x254839(_0x1fa32b,_0x42743b,_0x3b707d){const _0x4dec9f=_0xa3233b;_0x31bac4(_0x1fa32b,_0x42743b,_0x3b707d),_0x1fa32b[_0x4dec9f(0x213)](_0x42743b);}return Ee;}var xe,Ze;function It(){const _0x2e19d0=_0x431b54;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4bb7b3,kListener:_0xc3d239}=H(),_0x2ebd7c=Symbol(_0x2e19d0(0x2cd)),_0x1c1a13=Symbol(_0x2e19d0(0x12d)),_0x42457a=Symbol(_0x2e19d0(0x199)),_0x116d02=Symbol(_0x2e19d0(0x287)),_0x22ca1a=Symbol(_0x2e19d0(0x253)),_0x3feb08=Symbol(_0x2e19d0(0x18d)),_0x5a7e4f=Symbol(_0x2e19d0(0x1ab)),_0x1be0b3=Symbol(_0x2e19d0(0x2c5));class _0x1c7b4a{constructor(_0x116341){this[_0x3feb08]=null,this[_0x5a7e4f]=_0x116341;}get[_0x2e19d0(0x21b)](){return this[_0x3feb08];}get[_0x2e19d0(0x254)](){return this[_0x5a7e4f];}}Object[_0x2e19d0(0x2c3)](_0x1c7b4a[_0x2e19d0(0x209)],_0x2e19d0(0x21b),{'enumerable':!0x0}),Object[_0x2e19d0(0x2c3)](_0x1c7b4a[_0x2e19d0(0x209)],_0x2e19d0(0x254),{'enumerable':!0x0});class _0x38263e extends _0x1c7b4a{constructor(_0x4725f1,_0x35f8d3={}){const _0x5e5a94=_0x2e19d0;super(_0x4725f1),this[_0x2ebd7c]=_0x35f8d3[_0x5e5a94(0x1f6)]===void 0x0?0x0:_0x35f8d3[_0x5e5a94(0x1f6)],this[_0x22ca1a]=_0x35f8d3[_0x5e5a94(0x10c)]===void 0x0?'':_0x35f8d3['reason'],this[_0x1be0b3]=_0x35f8d3[_0x5e5a94(0x270)]===void 0x0?!0x1:_0x35f8d3[_0x5e5a94(0x270)];}get[_0x2e19d0(0x1f6)](){return this[_0x2ebd7c];}get[_0x2e19d0(0x10c)](){return this[_0x22ca1a];}get[_0x2e19d0(0x270)](){return this[_0x1be0b3];}}Object[_0x2e19d0(0x2c3)](_0x38263e[_0x2e19d0(0x209)],_0x2e19d0(0x1f6),{'enumerable':!0x0}),Object[_0x2e19d0(0x2c3)](_0x38263e[_0x2e19d0(0x209)],_0x2e19d0(0x10c),{'enumerable':!0x0}),Object[_0x2e19d0(0x2c3)](_0x38263e['prototype'],_0x2e19d0(0x270),{'enumerable':!0x0});class _0x3a716e extends _0x1c7b4a{constructor(_0x40bceb,_0x51ec20={}){const _0x3e02e3=_0x2e19d0;super(_0x40bceb),this[_0x42457a]=_0x51ec20['error']===void 0x0?null:_0x51ec20['error'],this[_0x116d02]=_0x51ec20['message']===void 0x0?'':_0x51ec20[_0x3e02e3(0x240)];}get[_0x2e19d0(0x1cd)](){return this[_0x42457a];}get['message'](){return this[_0x116d02];}}Object[_0x2e19d0(0x2c3)](_0x3a716e['prototype'],_0x2e19d0(0x1cd),{'enumerable':!0x0}),Object['defineProperty'](_0x3a716e[_0x2e19d0(0x209)],_0x2e19d0(0x240),{'enumerable':!0x0});class _0x385162 extends _0x1c7b4a{constructor(_0x3684ff,_0x571388={}){const _0x329dfb=_0x2e19d0;super(_0x3684ff),this[_0x1c1a13]=_0x571388[_0x329dfb(0x2c6)]===void 0x0?null:_0x571388[_0x329dfb(0x2c6)];}get[_0x2e19d0(0x2c6)](){return this[_0x1c1a13];}}Object['defineProperty'](_0x385162['prototype'],_0x2e19d0(0x2c6),{'enumerable':!0x0}),xe={'CloseEvent':_0x38263e,'ErrorEvent':_0x3a716e,'Event':_0x1c7b4a,'EventTarget':{'addEventListener'(_0x21840d,_0x25cd1a,_0x3e6830={}){const _0x2c697e=_0x2e19d0;for(const _0x36207a of this[_0x2c697e(0x2d9)](_0x21840d))if(!_0x3e6830[_0x4bb7b3]&&_0x36207a[_0xc3d239]===_0x25cd1a&&!_0x36207a[_0x4bb7b3])return;let _0x3fa428;if(_0x21840d===_0x2c697e(0x240))_0x3fa428=function(_0x56a5f4,_0x333ca0){const _0x175523=_0x2c697e,_0x4e8247=new _0x385162('message',{'data':_0x333ca0?_0x56a5f4:_0x56a5f4[_0x175523(0x17f)]()});_0x4e8247[_0x3feb08]=this,_0x55acae(_0x25cd1a,this,_0x4e8247);};else{if(_0x21840d==='close')_0x3fa428=function(_0x4e5e60,_0x524d69){const _0x49e978=_0x2c697e,_0x21d72e=new _0x38263e(_0x49e978(0x15a),{'code':_0x4e5e60,'reason':_0x524d69[_0x49e978(0x17f)](),'wasClean':this[_0x49e978(0x1a5)]&&this[_0x49e978(0x2d3)]});_0x21d72e[_0x3feb08]=this,_0x55acae(_0x25cd1a,this,_0x21d72e);};else{if(_0x21840d==='error')_0x3fa428=function(_0x448943){const _0x4dffd8=_0x2c697e,_0xf474ef=new _0x3a716e(_0x4dffd8(0x1cd),{'error':_0x448943,'message':_0x448943[_0x4dffd8(0x240)]});_0xf474ef[_0x3feb08]=this,_0x55acae(_0x25cd1a,this,_0xf474ef);};else{if(_0x21840d===_0x2c697e(0x202))_0x3fa428=function(){const _0x53c7e1=_0x2c697e,_0x5867ae=new _0x1c7b4a(_0x53c7e1(0x202));_0x5867ae[_0x3feb08]=this,_0x55acae(_0x25cd1a,this,_0x5867ae);};else return;}}}_0x3fa428[_0x4bb7b3]=!!_0x3e6830[_0x4bb7b3],_0x3fa428[_0xc3d239]=_0x25cd1a,_0x3e6830[_0x2c697e(0x24d)]?this[_0x2c697e(0x24d)](_0x21840d,_0x3fa428):this['on'](_0x21840d,_0x3fa428);},'removeEventListener'(_0x2a1a6a,_0x2fdfb1){const _0x41d3a9=_0x2e19d0;for(const _0x35de32 of this[_0x41d3a9(0x2d9)](_0x2a1a6a))if(_0x35de32[_0xc3d239]===_0x2fdfb1&&!_0x35de32[_0x4bb7b3]){this[_0x41d3a9(0x150)](_0x2a1a6a,_0x35de32);break;}}},'MessageEvent':_0x385162};function _0x55acae(_0x11fd53,_0xda1210,_0x14fd3e){const _0x5353be=_0x2e19d0;typeof _0x11fd53==_0x5353be(0x164)&&_0x11fd53['handleEvent']?_0x11fd53[_0x5353be(0x18b)]['call'](_0x11fd53,_0x14fd3e):_0x11fd53['call'](_0xda1210,_0x14fd3e);}return xe;}var be,Qe;function _0x55e8(_0x52a28d,_0x39cee8){const _0x5d99d2=_0x5d99();return _0x55e8=function(_0x55e8d9,_0xbbc1c4){_0x55e8d9=_0x55e8d9-0x109;let _0x342b1f=_0x5d99d2[_0x55e8d9];return _0x342b1f;},_0x55e8(_0x52a28d,_0x39cee8);}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x213b4a}=ae();function _0x59dad3(_0x52eea7,_0x4ebcc7,_0x1f55f2){const _0x162334=_0x55e8;_0x52eea7[_0x4ebcc7]===void 0x0?_0x52eea7[_0x4ebcc7]=[_0x1f55f2]:_0x52eea7[_0x4ebcc7][_0x162334(0x275)](_0x1f55f2);}function _0x117636(_0x3f6c18){const _0x279da7=_0x55e8,_0x3c2457=Object['create'](null);let _0x371cf9=Object[_0x279da7(0x1da)](null),_0x2fc155=!0x1,_0xca19ae=!0x1,_0x234b48=!0x1,_0x31026d,_0x1a72a1,_0x5661e1=-0x1,_0x301712=-0x1,_0x3d6507=-0x1,_0x38d097=0x0;for(;_0x38d097<_0x3f6c18['length'];_0x38d097++)if(_0x301712=_0x3f6c18[_0x279da7(0x1a6)](_0x38d097),_0x31026d===void 0x0){if(_0x3d6507===-0x1&&_0x213b4a[_0x301712]===0x1)_0x5661e1===-0x1&&(_0x5661e1=_0x38d097);else{if(_0x38d097!==0x0&&(_0x301712===0x20||_0x301712===0x9))_0x3d6507===-0x1&&_0x5661e1!==-0x1&&(_0x3d6507=_0x38d097);else{if(_0x301712===0x3b||_0x301712===0x2c){if(_0x5661e1===-0x1)throw new SyntaxError(_0x279da7(0x11d)+_0x38d097);_0x3d6507===-0x1&&(_0x3d6507=_0x38d097);const _0x91bfef=_0x3f6c18[_0x279da7(0x1e2)](_0x5661e1,_0x3d6507);_0x301712===0x2c?(_0x59dad3(_0x3c2457,_0x91bfef,_0x371cf9),_0x371cf9=Object[_0x279da7(0x1da)](null)):_0x31026d=_0x91bfef,_0x5661e1=_0x3d6507=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x38d097);}}}else{if(_0x1a72a1===void 0x0){if(_0x3d6507===-0x1&&_0x213b4a[_0x301712]===0x1)_0x5661e1===-0x1&&(_0x5661e1=_0x38d097);else{if(_0x301712===0x20||_0x301712===0x9)_0x3d6507===-0x1&&_0x5661e1!==-0x1&&(_0x3d6507=_0x38d097);else{if(_0x301712===0x3b||_0x301712===0x2c){if(_0x5661e1===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x38d097);_0x3d6507===-0x1&&(_0x3d6507=_0x38d097),_0x59dad3(_0x371cf9,_0x3f6c18[_0x279da7(0x1e2)](_0x5661e1,_0x3d6507),!0x0),_0x301712===0x2c&&(_0x59dad3(_0x3c2457,_0x31026d,_0x371cf9),_0x371cf9=Object[_0x279da7(0x1da)](null),_0x31026d=void 0x0),_0x5661e1=_0x3d6507=-0x1;}else{if(_0x301712===0x3d&&_0x5661e1!==-0x1&&_0x3d6507===-0x1)_0x1a72a1=_0x3f6c18['slice'](_0x5661e1,_0x38d097),_0x5661e1=_0x3d6507=-0x1;else throw new SyntaxError(_0x279da7(0x11d)+_0x38d097);}}}}else{if(_0xca19ae){if(_0x213b4a[_0x301712]!==0x1)throw new SyntaxError(_0x279da7(0x11d)+_0x38d097);_0x5661e1===-0x1?_0x5661e1=_0x38d097:_0x2fc155||(_0x2fc155=!0x0),_0xca19ae=!0x1;}else{if(_0x234b48){if(_0x213b4a[_0x301712]===0x1)_0x5661e1===-0x1&&(_0x5661e1=_0x38d097);else{if(_0x301712===0x22&&_0x5661e1!==-0x1)_0x234b48=!0x1,_0x3d6507=_0x38d097;else{if(_0x301712===0x5c)_0xca19ae=!0x0;else throw new SyntaxError(_0x279da7(0x11d)+_0x38d097);}}}else{if(_0x301712===0x22&&_0x3f6c18[_0x279da7(0x1a6)](_0x38d097-0x1)===0x3d)_0x234b48=!0x0;else{if(_0x3d6507===-0x1&&_0x213b4a[_0x301712]===0x1)_0x5661e1===-0x1&&(_0x5661e1=_0x38d097);else{if(_0x5661e1!==-0x1&&(_0x301712===0x20||_0x301712===0x9))_0x3d6507===-0x1&&(_0x3d6507=_0x38d097);else{if(_0x301712===0x3b||_0x301712===0x2c){if(_0x5661e1===-0x1)throw new SyntaxError(_0x279da7(0x11d)+_0x38d097);_0x3d6507===-0x1&&(_0x3d6507=_0x38d097);let _0x19f7dc=_0x3f6c18['slice'](_0x5661e1,_0x3d6507);_0x2fc155&&(_0x19f7dc=_0x19f7dc['replace'](/\\/g,''),_0x2fc155=!0x1),_0x59dad3(_0x371cf9,_0x1a72a1,_0x19f7dc),_0x301712===0x2c&&(_0x59dad3(_0x3c2457,_0x31026d,_0x371cf9),_0x371cf9=Object[_0x279da7(0x1da)](null),_0x31026d=void 0x0),_0x1a72a1=void 0x0,_0x5661e1=_0x3d6507=-0x1;}else throw new SyntaxError(_0x279da7(0x11d)+_0x38d097);}}}}}}}if(_0x5661e1===-0x1||_0x234b48||_0x301712===0x20||_0x301712===0x9)throw new SyntaxError(_0x279da7(0x1f8));_0x3d6507===-0x1&&(_0x3d6507=_0x38d097);const _0x3c8264=_0x3f6c18['slice'](_0x5661e1,_0x3d6507);return _0x31026d===void 0x0?_0x59dad3(_0x3c2457,_0x3c8264,_0x371cf9):(_0x1a72a1===void 0x0?_0x59dad3(_0x371cf9,_0x3c8264,!0x0):_0x2fc155?_0x59dad3(_0x371cf9,_0x1a72a1,_0x3c8264['replace'](/\\/g,'')):_0x59dad3(_0x371cf9,_0x1a72a1,_0x3c8264),_0x59dad3(_0x3c2457,_0x31026d,_0x371cf9)),_0x3c2457;}function _0x152840(_0x385e12){const _0xfde514=_0x55e8;return Object[_0xfde514(0x273)](_0x385e12)['map'](_0x5031d9=>{const _0x4ce53d=_0xfde514;let _0xa8b1ab=_0x385e12[_0x5031d9];return Array[_0x4ce53d(0x2d1)](_0xa8b1ab)||(_0xa8b1ab=[_0xa8b1ab]),_0xa8b1ab['map'](_0x105108=>[_0x5031d9][_0x4ce53d(0x144)](Object['keys'](_0x105108)[_0x4ce53d(0x1e3)](_0x3f63a1=>{const _0x1aef35=_0x4ce53d;let _0xc0540a=_0x105108[_0x3f63a1];return Array[_0x1aef35(0x2d1)](_0xc0540a)||(_0xc0540a=[_0xc0540a]),_0xc0540a[_0x1aef35(0x1e3)](_0x2dc48c=>_0x2dc48c===!0x0?_0x3f63a1:_0x3f63a1+'='+_0x2dc48c)[_0x1aef35(0x15c)](';\x20');}))[_0x4ce53d(0x15c)](';\x20'))[_0x4ce53d(0x15c)](',\x20');})[_0xfde514(0x15c)](',\x20');}return be={'format':_0x152840,'parse':_0x117636},be;}var we,Je;function Pe(){const _0x363ce1=_0x431b54;if(Je)return we;Je=0x1;const _0xf94df=nt,_0x2ec297=vt,_0x7779ef=ot,_0x12b802=St,_0x1ab8b9=Et,{randomBytes:_0x5c4981,createHash:_0x5f0d71}=Le,{Duplex:_0x59fe76,Readable:_0x203eb8}=oe,{URL:_0x4b271c}=xt,_0x7313de=he(),_0x1f0383=lt(),_0x27ebe0=ft(),{isBlob:_0x32cb8e}=ae(),{BINARY_TYPES:_0x290b86,EMPTY_BUFFER:_0xa9f94a,GUID:_0x5ea634,kForOnEventAttribute:_0x6d38ec,kListener:_0xe0fc54,kStatusCode:_0x577848,kWebSocket:_0x48d9e1,NOOP:_0x347505}=H(),{EventTarget:{addEventListener:_0x415734,removeEventListener:_0x5d1777}}=It(),{format:_0x1a57d9,parse:_0x5aa894}=ct(),{toBuffer:_0x38c325}=ce(),_0x3abd7f=0x1e*0x3e8,_0x4f68e1=Symbol(_0x363ce1(0x20a)),_0x2b214b=[0x8,0xd],_0x739050=['CONNECTING',_0x363ce1(0x1d1),_0x363ce1(0x14b),_0x363ce1(0x20e)],_0x1cebc9=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1817ad extends _0xf94df{constructor(_0x3d1a5b,_0x175622,_0x54b1e3){const _0x37f790=_0x363ce1;super(),this['_binaryType']=_0x290b86[0x0],this[_0x37f790(0x16b)]=0x3ee,this[_0x37f790(0x1a5)]=!0x1,this[_0x37f790(0x2d3)]=!0x1,this[_0x37f790(0x17b)]=_0xa9f94a,this[_0x37f790(0x23c)]=null,this[_0x37f790(0x25c)]=!0x1,this['_extensions']={},this[_0x37f790(0x2a0)]=!0x1,this[_0x37f790(0x1aa)]='',this[_0x37f790(0x18a)]=_0x1817ad['CONNECTING'],this['_receiver']=null,this[_0x37f790(0x11b)]=null,this['_socket']=null,_0x3d1a5b!==null?(this[_0x37f790(0x115)]=0x0,this[_0x37f790(0x2a2)]=!0x1,this[_0x37f790(0x26b)]=0x0,_0x175622===void 0x0?_0x175622=[]:Array['isArray'](_0x175622)||(typeof _0x175622==_0x37f790(0x164)&&_0x175622!==null?(_0x54b1e3=_0x175622,_0x175622=[]):_0x175622=[_0x175622]),_0x3b7af1(this,_0x3d1a5b,_0x175622,_0x54b1e3)):(this[_0x37f790(0x2ba)]=_0x54b1e3['autoPong'],this[_0x37f790(0x2a2)]=!0x0);}get[_0x363ce1(0x27e)](){const _0xb5c023=_0x363ce1;return this[_0xb5c023(0x21e)];}set['binaryType'](_0x340a3a){const _0x257d79=_0x363ce1;_0x290b86[_0x257d79(0x248)](_0x340a3a)&&(this[_0x257d79(0x21e)]=_0x340a3a,this[_0x257d79(0x22e)]&&(this[_0x257d79(0x22e)][_0x257d79(0x21e)]=_0x340a3a));}get[_0x363ce1(0x237)](){const _0x717128=_0x363ce1;return this[_0x717128(0x1b2)]?this['_socket']['_writableState'][_0x717128(0x124)]+this['_sender']['_bufferedBytes']:this[_0x717128(0x115)];}get[_0x363ce1(0x11a)](){const _0x21c9f5=_0x363ce1;return Object[_0x21c9f5(0x273)](this[_0x21c9f5(0x29f)])[_0x21c9f5(0x15c)]();}get['isPaused'](){const _0x42c41a=_0x363ce1;return this[_0x42c41a(0x2a0)];}get[_0x363ce1(0x14e)](){return null;}get[_0x363ce1(0x213)](){return null;}get[_0x363ce1(0x1d6)](){return null;}get[_0x363ce1(0x174)](){return null;}get['protocol'](){const _0x45336e=_0x363ce1;return this[_0x45336e(0x1aa)];}get['readyState'](){const _0x294d62=_0x363ce1;return this[_0x294d62(0x18a)];}get[_0x363ce1(0x289)](){const _0x5949b5=_0x363ce1;return this[_0x5949b5(0x2b7)];}[_0x363ce1(0x1ad)](_0x1db41f,_0x47ef1b,_0x5666d8){const _0x3a7f57=_0x363ce1,_0x35ab71=new _0x1f0383({'allowSynchronousEvents':_0x5666d8[_0x3a7f57(0x12f)],'binaryType':this[_0x3a7f57(0x27e)],'extensions':this[_0x3a7f57(0x29f)],'isServer':this[_0x3a7f57(0x2a2)],'maxPayload':_0x5666d8[_0x3a7f57(0x2a9)],'skipUTF8Validation':_0x5666d8[_0x3a7f57(0x16f)]}),_0x250599=new _0x27ebe0(_0x1db41f,this[_0x3a7f57(0x29f)],_0x5666d8[_0x3a7f57(0x210)]);this[_0x3a7f57(0x22e)]=_0x35ab71,this['_sender']=_0x250599,this[_0x3a7f57(0x1b2)]=_0x1db41f,_0x35ab71[_0x48d9e1]=this,_0x250599[_0x48d9e1]=this,_0x1db41f[_0x48d9e1]=this,_0x35ab71['on'](_0x3a7f57(0x177),_0x1dcab7),_0x35ab71['on'](_0x3a7f57(0x1a3),_0x37277c),_0x35ab71['on'](_0x3a7f57(0x1cd),_0x598e5e),_0x35ab71['on'](_0x3a7f57(0x240),_0x43bcf1),_0x35ab71['on'](_0x3a7f57(0x14c),_0x36c747),_0x35ab71['on']('pong',_0x423cd8),_0x250599[_0x3a7f57(0x213)]=_0x291cce,_0x1db41f[_0x3a7f57(0x114)]&&_0x1db41f[_0x3a7f57(0x114)](0x0),_0x1db41f[_0x3a7f57(0x17a)]&&_0x1db41f['setNoDelay'](),_0x47ef1b[_0x3a7f57(0x124)]>0x0&&_0x1db41f[_0x3a7f57(0x139)](_0x47ef1b),_0x1db41f['on']('close',_0x522fc2),_0x1db41f['on']('data',_0x4960dc),_0x1db41f['on'](_0x3a7f57(0x15d),_0x28a518),_0x1db41f['on']('error',_0x5a9900),this[_0x3a7f57(0x18a)]=_0x1817ad[_0x3a7f57(0x1d1)],this[_0x3a7f57(0x143)](_0x3a7f57(0x202));}[_0x363ce1(0x17e)](){const _0x2bfc19=_0x363ce1;if(!this[_0x2bfc19(0x1b2)]){this[_0x2bfc19(0x18a)]=_0x1817ad['CLOSED'],this[_0x2bfc19(0x143)](_0x2bfc19(0x15a),this[_0x2bfc19(0x16b)],this[_0x2bfc19(0x17b)]);return;}this['_extensions'][_0x7313de[_0x2bfc19(0x1ea)]]&&this[_0x2bfc19(0x29f)][_0x7313de['extensionName']][_0x2bfc19(0x276)](),this['_receiver']['removeAllListeners'](),this[_0x2bfc19(0x18a)]=_0x1817ad[_0x2bfc19(0x20e)],this[_0x2bfc19(0x143)](_0x2bfc19(0x15a),this[_0x2bfc19(0x16b)],this['_closeMessage']);}[_0x363ce1(0x15a)](_0x252cca,_0x33d401){const _0x29d290=_0x363ce1;if(this[_0x29d290(0x220)]!==_0x1817ad[_0x29d290(0x20e)]){if(this[_0x29d290(0x220)]===_0x1817ad['CONNECTING']){_0x37e578(this,this[_0x29d290(0x244)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x1817ad[_0x29d290(0x14b)]){this[_0x29d290(0x2d3)]&&(this[_0x29d290(0x1a5)]||this['_receiver']['_writableState'][_0x29d290(0x26e)])&&this[_0x29d290(0x1b2)][_0x29d290(0x15d)]();return;}this[_0x29d290(0x18a)]=_0x1817ad[_0x29d290(0x14b)],this[_0x29d290(0x11b)][_0x29d290(0x15a)](_0x252cca,_0x33d401,!this['_isServer'],_0x1b9304=>{const _0x41da1d=_0x29d290;_0x1b9304||(this[_0x41da1d(0x2d3)]=!0x0,(this[_0x41da1d(0x1a5)]||this[_0x41da1d(0x22e)]['_writableState']['errorEmitted'])&&this['_socket']['end']());}),_0x46544e(this);}}['pause'](){const _0x2060c6=_0x363ce1;this['readyState']===_0x1817ad[_0x2060c6(0x147)]||this['readyState']===_0x1817ad[_0x2060c6(0x20e)]||(this[_0x2060c6(0x2a0)]=!0x0,this[_0x2060c6(0x1b2)][_0x2060c6(0x2d8)]());}[_0x363ce1(0x14c)](_0x1b9b77,_0x5bcf72,_0x29acd9){const _0x13a3ca=_0x363ce1;if(this['readyState']===_0x1817ad['CONNECTING'])throw new Error(_0x13a3ca(0x198));if(typeof _0x1b9b77=='function'?(_0x29acd9=_0x1b9b77,_0x1b9b77=_0x5bcf72=void 0x0):typeof _0x5bcf72==_0x13a3ca(0x2d4)&&(_0x29acd9=_0x5bcf72,_0x5bcf72=void 0x0),typeof _0x1b9b77=='number'&&(_0x1b9b77=_0x1b9b77[_0x13a3ca(0x17f)]()),this[_0x13a3ca(0x220)]!==_0x1817ad['OPEN']){_0x108215(this,_0x1b9b77,_0x29acd9);return;}_0x5bcf72===void 0x0&&(_0x5bcf72=!this[_0x13a3ca(0x2a2)]),this[_0x13a3ca(0x11b)][_0x13a3ca(0x14c)](_0x1b9b77||_0xa9f94a,_0x5bcf72,_0x29acd9);}['pong'](_0x40843e,_0x43dff5,_0x1fe043){const _0x4f1746=_0x363ce1;if(this['readyState']===_0x1817ad['CONNECTING'])throw new Error(_0x4f1746(0x198));if(typeof _0x40843e=='function'?(_0x1fe043=_0x40843e,_0x40843e=_0x43dff5=void 0x0):typeof _0x43dff5==_0x4f1746(0x2d4)&&(_0x1fe043=_0x43dff5,_0x43dff5=void 0x0),typeof _0x40843e==_0x4f1746(0x159)&&(_0x40843e=_0x40843e[_0x4f1746(0x17f)]()),this[_0x4f1746(0x220)]!==_0x1817ad['OPEN']){_0x108215(this,_0x40843e,_0x1fe043);return;}_0x43dff5===void 0x0&&(_0x43dff5=!this[_0x4f1746(0x2a2)]),this['_sender']['pong'](_0x40843e||_0xa9f94a,_0x43dff5,_0x1fe043);}['resume'](){const _0xc6132b=_0x363ce1;this[_0xc6132b(0x220)]===_0x1817ad['CONNECTING']||this[_0xc6132b(0x220)]===_0x1817ad['CLOSED']||(this[_0xc6132b(0x2a0)]=!0x1,this[_0xc6132b(0x22e)]['_writableState']['needDrain']||this[_0xc6132b(0x1b2)][_0xc6132b(0x216)]());}[_0x363ce1(0x1c1)](_0x2ff22e,_0x243208,_0x50d05b){const _0x5378b0=_0x363ce1;if(this[_0x5378b0(0x220)]===_0x1817ad[_0x5378b0(0x147)])throw new Error(_0x5378b0(0x198));if(typeof _0x243208==_0x5378b0(0x2d4)&&(_0x50d05b=_0x243208,_0x243208={}),typeof _0x2ff22e==_0x5378b0(0x159)&&(_0x2ff22e=_0x2ff22e[_0x5378b0(0x17f)]()),this['readyState']!==_0x1817ad['OPEN']){_0x108215(this,_0x2ff22e,_0x50d05b);return;}const _0x3e7282={'binary':typeof _0x2ff22e!=_0x5378b0(0x2c8),'mask':!this[_0x5378b0(0x2a2)],'compress':!0x0,'fin':!0x0,..._0x243208};this[_0x5378b0(0x29f)][_0x7313de['extensionName']]||(_0x3e7282[_0x5378b0(0x2bb)]=!0x1),this[_0x5378b0(0x11b)][_0x5378b0(0x1c1)](_0x2ff22e||_0xa9f94a,_0x3e7282,_0x50d05b);}[_0x363ce1(0x1bd)](){const _0x5dc5b1=_0x363ce1;if(this[_0x5dc5b1(0x220)]!==_0x1817ad[_0x5dc5b1(0x20e)]){if(this[_0x5dc5b1(0x220)]===_0x1817ad[_0x5dc5b1(0x147)]){_0x37e578(this,this[_0x5dc5b1(0x244)],_0x5dc5b1(0x208));return;}this['_socket']&&(this[_0x5dc5b1(0x18a)]=_0x1817ad[_0x5dc5b1(0x14b)],this['_socket']['destroy']());}}}Object[_0x363ce1(0x2c3)](_0x1817ad,'CONNECTING',{'enumerable':!0x0,'value':_0x739050[_0x363ce1(0x175)](_0x363ce1(0x147))}),Object[_0x363ce1(0x2c3)](_0x1817ad[_0x363ce1(0x209)],_0x363ce1(0x147),{'enumerable':!0x0,'value':_0x739050['indexOf']('CONNECTING')}),Object[_0x363ce1(0x2c3)](_0x1817ad,_0x363ce1(0x1d1),{'enumerable':!0x0,'value':_0x739050[_0x363ce1(0x175)](_0x363ce1(0x1d1))}),Object['defineProperty'](_0x1817ad['prototype'],_0x363ce1(0x1d1),{'enumerable':!0x0,'value':_0x739050['indexOf'](_0x363ce1(0x1d1))}),Object[_0x363ce1(0x2c3)](_0x1817ad,'CLOSING',{'enumerable':!0x0,'value':_0x739050[_0x363ce1(0x175)](_0x363ce1(0x14b))}),Object['defineProperty'](_0x1817ad[_0x363ce1(0x209)],_0x363ce1(0x14b),{'enumerable':!0x0,'value':_0x739050['indexOf'](_0x363ce1(0x14b))}),Object[_0x363ce1(0x2c3)](_0x1817ad,_0x363ce1(0x20e),{'enumerable':!0x0,'value':_0x739050[_0x363ce1(0x175)](_0x363ce1(0x20e))}),Object[_0x363ce1(0x2c3)](_0x1817ad[_0x363ce1(0x209)],_0x363ce1(0x20e),{'enumerable':!0x0,'value':_0x739050[_0x363ce1(0x175)](_0x363ce1(0x20e))}),[_0x363ce1(0x27e),'bufferedAmount','extensions',_0x363ce1(0x1e5),'protocol',_0x363ce1(0x220),_0x363ce1(0x289)][_0x363ce1(0x131)](_0x4e2f2a=>{const _0x407835=_0x363ce1;Object[_0x407835(0x2c3)](_0x1817ad[_0x407835(0x209)],_0x4e2f2a,{'enumerable':!0x0});}),['open',_0x363ce1(0x1cd),'close','message'][_0x363ce1(0x131)](_0x45eec8=>{const _0x3b9664=_0x363ce1;Object[_0x3b9664(0x2c3)](_0x1817ad[_0x3b9664(0x209)],'on'+_0x45eec8,{'enumerable':!0x0,'get'(){const _0x13f1a0=_0x3b9664;for(const _0x52633e of this[_0x13f1a0(0x2d9)](_0x45eec8))if(_0x52633e[_0x6d38ec])return _0x52633e[_0xe0fc54];return null;},'set'(_0x221b9b){const _0xa372a=_0x3b9664;for(const _0x2c7434 of this[_0xa372a(0x2d9)](_0x45eec8))if(_0x2c7434[_0x6d38ec]){this[_0xa372a(0x150)](_0x45eec8,_0x2c7434);break;}typeof _0x221b9b==_0xa372a(0x2d4)&&this[_0xa372a(0x1f3)](_0x45eec8,_0x221b9b,{[_0x6d38ec]:!0x0});}});}),_0x1817ad[_0x363ce1(0x209)]['addEventListener']=_0x415734,_0x1817ad[_0x363ce1(0x209)][_0x363ce1(0x125)]=_0x5d1777,we=_0x1817ad;function _0x3b7af1(_0x18ae4f,_0x217af2,_0x2f0c9f,_0xf30023){const _0xc513ce=_0x363ce1,_0x697ed4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2b214b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xf30023,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xc513ce(0x1ac),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x18ae4f[_0xc513ce(0x2ba)]=_0x697ed4['autoPong'],!_0x2b214b[_0xc513ce(0x248)](_0x697ed4['protocolVersion']))throw new RangeError(_0xc513ce(0x26f)+_0x697ed4[_0xc513ce(0x278)]+_0xc513ce(0x217)+_0x2b214b['join'](',\x20')+')');let _0x2ea9b2;if(_0x217af2 instanceof _0x4b271c)_0x2ea9b2=_0x217af2;else try{_0x2ea9b2=new _0x4b271c(_0x217af2);}catch{throw new SyntaxError(_0xc513ce(0x1f4)+_0x217af2);}_0x2ea9b2[_0xc513ce(0x171)]===_0xc513ce(0x297)?_0x2ea9b2[_0xc513ce(0x171)]='ws:':_0x2ea9b2[_0xc513ce(0x171)]===_0xc513ce(0x1fd)&&(_0x2ea9b2[_0xc513ce(0x171)]='wss:'),_0x18ae4f['_url']=_0x2ea9b2['href'];const _0x548728=_0x2ea9b2['protocol']==='wss:',_0x226bd8=_0x2ea9b2['protocol']===_0xc513ce(0x265);let _0x248687;if(_0x2ea9b2[_0xc513ce(0x171)]!==_0xc513ce(0x13c)&&!_0x548728&&!_0x226bd8?_0x248687=_0xc513ce(0x1b7):_0x226bd8&&!_0x2ea9b2[_0xc513ce(0x145)]?_0x248687=_0xc513ce(0x258):_0x2ea9b2[_0xc513ce(0x2a1)]&&(_0x248687=_0xc513ce(0x26d)),_0x248687){const _0x4a804b=new SyntaxError(_0x248687);if(_0x18ae4f[_0xc513ce(0x26b)]===0x0)throw _0x4a804b;_0x2bede4(_0x18ae4f,_0x4a804b);return;}const _0xae6ec2=_0x548728?0x1bb:0x50,_0x2e84bd=_0x5c4981(0x10)['toString'](_0xc513ce(0x2c1)),_0x283a50=_0x548728?_0x2ec297[_0xc513ce(0x1c4)]:_0x7779ef[_0xc513ce(0x1c4)],_0x4be1ae=new Set();let _0x497dda;if(_0x697ed4[_0xc513ce(0x227)]=_0x697ed4['createConnection']||(_0x548728?_0x5b874e:_0x1aee3a),_0x697ed4[_0xc513ce(0x286)]=_0x697ed4['defaultPort']||_0xae6ec2,_0x697ed4[_0xc513ce(0x1be)]=_0x2ea9b2[_0xc513ce(0x1be)]||_0xae6ec2,_0x697ed4[_0xc513ce(0x29b)]=_0x2ea9b2[_0xc513ce(0x22c)][_0xc513ce(0x2da)]('[')?_0x2ea9b2[_0xc513ce(0x22c)][_0xc513ce(0x1e2)](0x1,-0x1):_0x2ea9b2[_0xc513ce(0x22c)],_0x697ed4[_0xc513ce(0x1e4)]={..._0x697ed4[_0xc513ce(0x1e4)],'Sec-WebSocket-Version':_0x697ed4[_0xc513ce(0x278)],'Sec-WebSocket-Key':_0x2e84bd,'Connection':_0xc513ce(0x15f),'Upgrade':'websocket'},_0x697ed4[_0xc513ce(0x165)]=_0x2ea9b2[_0xc513ce(0x145)]+_0x2ea9b2['search'],_0x697ed4[_0xc513ce(0x156)]=_0x697ed4[_0xc513ce(0x259)],_0x697ed4[_0xc513ce(0x2ac)]&&(_0x497dda=new _0x7313de(_0x697ed4[_0xc513ce(0x2ac)]!==!0x0?_0x697ed4[_0xc513ce(0x2ac)]:{},!0x1,_0x697ed4[_0xc513ce(0x2a9)]),_0x697ed4[_0xc513ce(0x1e4)]['Sec-WebSocket-Extensions']=_0x1a57d9({[_0x7313de[_0xc513ce(0x1ea)]]:_0x497dda[_0xc513ce(0x233)]()})),_0x2f0c9f[_0xc513ce(0x124)]){for(const _0x4b1b51 of _0x2f0c9f){if(typeof _0x4b1b51!=_0xc513ce(0x2c8)||!_0x1cebc9[_0xc513ce(0x299)](_0x4b1b51)||_0x4be1ae[_0xc513ce(0x1d8)](_0x4b1b51))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4be1ae[_0xc513ce(0x2cb)](_0x4b1b51);}_0x697ed4[_0xc513ce(0x1e4)][_0xc513ce(0x2d2)]=_0x2f0c9f[_0xc513ce(0x15c)](',');}if(_0x697ed4[_0xc513ce(0x20b)]&&(_0x697ed4[_0xc513ce(0x278)]<0xd?_0x697ed4[_0xc513ce(0x1e4)][_0xc513ce(0x1b6)]=_0x697ed4['origin']:_0x697ed4[_0xc513ce(0x1e4)][_0xc513ce(0x235)]=_0x697ed4[_0xc513ce(0x20b)]),(_0x2ea9b2[_0xc513ce(0x166)]||_0x2ea9b2['password'])&&(_0x697ed4[_0xc513ce(0x284)]=_0x2ea9b2[_0xc513ce(0x166)]+':'+_0x2ea9b2[_0xc513ce(0x2bf)]),_0x226bd8){const _0x3b910d=_0x697ed4[_0xc513ce(0x165)][_0xc513ce(0x2ce)](':');_0x697ed4[_0xc513ce(0x191)]=_0x3b910d[0x0],_0x697ed4[_0xc513ce(0x165)]=_0x3b910d[0x1];}let _0x4ec1ad;if(_0x697ed4[_0xc513ce(0x201)]){if(_0x18ae4f[_0xc513ce(0x26b)]===0x0){_0x18ae4f[_0xc513ce(0x2ad)]=_0x226bd8,_0x18ae4f[_0xc513ce(0x2ca)]=_0x548728,_0x18ae4f[_0xc513ce(0x257)]=_0x226bd8?_0x697ed4[_0xc513ce(0x191)]:_0x2ea9b2[_0xc513ce(0x29b)];const _0x3ab984=_0xf30023&&_0xf30023[_0xc513ce(0x1e4)];if(_0xf30023={..._0xf30023,'headers':{}},_0x3ab984){for(const [_0x4d1a6b,_0x42024]of Object[_0xc513ce(0x133)](_0x3ab984))_0xf30023['headers'][_0x4d1a6b[_0xc513ce(0x118)]()]=_0x42024;}}else{if(_0x18ae4f['listenerCount'](_0xc513ce(0x113))===0x0){const _0x254d5d=_0x226bd8?_0x18ae4f[_0xc513ce(0x2ad)]?_0x697ed4[_0xc513ce(0x191)]===_0x18ae4f['_originalHostOrSocketPath']:!0x1:_0x18ae4f[_0xc513ce(0x2ad)]?!0x1:_0x2ea9b2[_0xc513ce(0x29b)]===_0x18ae4f[_0xc513ce(0x257)];(!_0x254d5d||_0x18ae4f[_0xc513ce(0x2ca)]&&!_0x548728)&&(delete _0x697ed4[_0xc513ce(0x1e4)][_0xc513ce(0x1f9)],delete _0x697ed4['headers']['cookie'],_0x254d5d||delete _0x697ed4[_0xc513ce(0x1e4)][_0xc513ce(0x29b)],_0x697ed4[_0xc513ce(0x284)]=void 0x0);}}_0x697ed4[_0xc513ce(0x284)]&&!_0xf30023[_0xc513ce(0x1e4)][_0xc513ce(0x1f9)]&&(_0xf30023[_0xc513ce(0x1e4)]['authorization']=_0xc513ce(0x230)+Buffer[_0xc513ce(0x18c)](_0x697ed4[_0xc513ce(0x284)])['toString'](_0xc513ce(0x2c1))),_0x4ec1ad=_0x18ae4f[_0xc513ce(0x244)]=_0x283a50(_0x697ed4),_0x18ae4f[_0xc513ce(0x26b)]&&_0x18ae4f['emit'](_0xc513ce(0x113),_0x18ae4f['url'],_0x4ec1ad);}else _0x4ec1ad=_0x18ae4f['_req']=_0x283a50(_0x697ed4);_0x697ed4[_0xc513ce(0x156)]&&_0x4ec1ad['on'](_0xc513ce(0x156),()=>{const _0x30739b=_0xc513ce;_0x37e578(_0x18ae4f,_0x4ec1ad,_0x30739b(0x1c8));}),_0x4ec1ad['on'](_0xc513ce(0x1cd),_0x5da6ce=>{_0x4ec1ad===null||_0x4ec1ad[_0x4f68e1]||(_0x4ec1ad=_0x18ae4f['_req']=null,_0x2bede4(_0x18ae4f,_0x5da6ce));}),_0x4ec1ad['on'](_0xc513ce(0x2e2),_0x3ff654=>{const _0x6b009e=_0xc513ce,_0x5217c7=_0x3ff654['headers']['location'],_0x5d7910=_0x3ff654[_0x6b009e(0x197)];if(_0x5217c7&&_0x697ed4['followRedirects']&&_0x5d7910>=0x12c&&_0x5d7910<0x190){if(++_0x18ae4f[_0x6b009e(0x26b)]>_0x697ed4[_0x6b009e(0x2c7)]){_0x37e578(_0x18ae4f,_0x4ec1ad,_0x6b009e(0x271));return;}_0x4ec1ad[_0x6b009e(0x261)]();let _0x43fcf4;try{_0x43fcf4=new _0x4b271c(_0x5217c7,_0x217af2);}catch{const _0x324fe2=new SyntaxError(_0x6b009e(0x1f4)+_0x5217c7);_0x2bede4(_0x18ae4f,_0x324fe2);return;}_0x3b7af1(_0x18ae4f,_0x43fcf4,_0x2f0c9f,_0xf30023);}else _0x18ae4f[_0x6b009e(0x143)](_0x6b009e(0x1df),_0x4ec1ad,_0x3ff654)||_0x37e578(_0x18ae4f,_0x4ec1ad,_0x6b009e(0x13e)+_0x3ff654[_0x6b009e(0x197)]);}),_0x4ec1ad['on'](_0xc513ce(0x10d),(_0x2e12d8,_0xa05c9,_0x70cae9)=>{const _0x5cde28=_0xc513ce;if(_0x18ae4f[_0x5cde28(0x143)](_0x5cde28(0x10d),_0x2e12d8),_0x18ae4f['readyState']!==_0x1817ad[_0x5cde28(0x147)])return;_0x4ec1ad=_0x18ae4f[_0x5cde28(0x244)]=null;const _0x13e352=_0x2e12d8[_0x5cde28(0x1e4)][_0x5cde28(0x10d)];if(_0x13e352===void 0x0||_0x13e352['toLowerCase']()!==_0x5cde28(0x2e1)){_0x37e578(_0x18ae4f,_0xa05c9,'Invalid\x20Upgrade\x20header');return;}const _0x5749b1=_0x5f0d71(_0x5cde28(0x1e8))['update'](_0x2e84bd+_0x5ea634)[_0x5cde28(0x2b5)](_0x5cde28(0x2c1));if(_0x2e12d8[_0x5cde28(0x1e4)][_0x5cde28(0x25b)]!==_0x5749b1){_0x37e578(_0x18ae4f,_0xa05c9,_0x5cde28(0x19c));return;}const _0x2053ed=_0x2e12d8[_0x5cde28(0x1e4)][_0x5cde28(0x116)];let _0x32d980;if(_0x2053ed!==void 0x0?_0x4be1ae[_0x5cde28(0x23b)]?_0x4be1ae[_0x5cde28(0x1d8)](_0x2053ed)||(_0x32d980='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x32d980=_0x5cde28(0x2b4):_0x4be1ae[_0x5cde28(0x23b)]&&(_0x32d980=_0x5cde28(0x282)),_0x32d980){_0x37e578(_0x18ae4f,_0xa05c9,_0x32d980);return;}_0x2053ed&&(_0x18ae4f[_0x5cde28(0x1aa)]=_0x2053ed);const _0x5d4cbd=_0x2e12d8['headers'][_0x5cde28(0x135)];if(_0x5d4cbd!==void 0x0){if(!_0x497dda){_0x37e578(_0x18ae4f,_0xa05c9,_0x5cde28(0x14f));return;}let _0x363f5a;try{_0x363f5a=_0x5aa894(_0x5d4cbd);}catch{_0x37e578(_0x18ae4f,_0xa05c9,_0x5cde28(0x24f));return;}const _0x49341a=Object[_0x5cde28(0x273)](_0x363f5a);if(_0x49341a[_0x5cde28(0x124)]!==0x1||_0x49341a[0x0]!==_0x7313de[_0x5cde28(0x1ea)]){_0x37e578(_0x18ae4f,_0xa05c9,_0x5cde28(0x21f));return;}try{_0x497dda[_0x5cde28(0x188)](_0x363f5a[_0x7313de[_0x5cde28(0x1ea)]]);}catch{_0x37e578(_0x18ae4f,_0xa05c9,_0x5cde28(0x24f));return;}_0x18ae4f[_0x5cde28(0x29f)][_0x7313de[_0x5cde28(0x1ea)]]=_0x497dda;}_0x18ae4f['setSocket'](_0xa05c9,_0x70cae9,{'allowSynchronousEvents':_0x697ed4[_0x5cde28(0x12f)],'generateMask':_0x697ed4[_0x5cde28(0x210)],'maxPayload':_0x697ed4['maxPayload'],'skipUTF8Validation':_0x697ed4[_0x5cde28(0x16f)]});}),_0x697ed4['finishRequest']?_0x697ed4[_0xc513ce(0x229)](_0x4ec1ad,_0x18ae4f):_0x4ec1ad[_0xc513ce(0x15d)]();}function _0x2bede4(_0x1223a3,_0x3596b9){const _0x2ec7b2=_0x363ce1;_0x1223a3[_0x2ec7b2(0x18a)]=_0x1817ad[_0x2ec7b2(0x14b)],_0x1223a3[_0x2ec7b2(0x25c)]=!0x0,_0x1223a3['emit']('error',_0x3596b9),_0x1223a3[_0x2ec7b2(0x17e)]();}function _0x1aee3a(_0x513df6){const _0x18b6d4=_0x363ce1;return _0x513df6[_0x18b6d4(0x165)]=_0x513df6[_0x18b6d4(0x191)],_0x12b802[_0x18b6d4(0x1b0)](_0x513df6);}function _0x5b874e(_0x24f417){const _0x41ebd6=_0x363ce1;return _0x24f417[_0x41ebd6(0x165)]=void 0x0,!_0x24f417['servername']&&_0x24f417[_0x41ebd6(0x1d3)]!==''&&(_0x24f417['servername']=_0x12b802['isIP'](_0x24f417['host'])?'':_0x24f417[_0x41ebd6(0x29b)]),_0x1ab8b9['connect'](_0x24f417);}function _0x37e578(_0x175453,_0x5d10e1,_0x4ffa2d){const _0x7875d2=_0x363ce1;_0x175453['_readyState']=_0x1817ad[_0x7875d2(0x14b)];const _0x5638dc=new Error(_0x4ffa2d);Error['captureStackTrace'](_0x5638dc,_0x37e578),_0x5d10e1['setHeader']?(_0x5d10e1[_0x4f68e1]=!0x0,_0x5d10e1[_0x7875d2(0x261)](),_0x5d10e1[_0x7875d2(0x1f0)]&&!_0x5d10e1[_0x7875d2(0x1f0)][_0x7875d2(0x19e)]&&_0x5d10e1['socket'][_0x7875d2(0x2a7)](),process[_0x7875d2(0x20d)](_0x2bede4,_0x175453,_0x5638dc)):(_0x5d10e1[_0x7875d2(0x2a7)](_0x5638dc),_0x5d10e1['once'](_0x7875d2(0x1cd),_0x175453['emit']['bind'](_0x175453,_0x7875d2(0x1cd))),_0x5d10e1[_0x7875d2(0x24d)](_0x7875d2(0x15a),_0x175453[_0x7875d2(0x17e)][_0x7875d2(0x2c2)](_0x175453)));}function _0x108215(_0x5d1bea,_0x51016d,_0x4e8644){const _0x4fccfc=_0x363ce1;if(_0x51016d){const _0x54c840=_0x32cb8e(_0x51016d)?_0x51016d[_0x4fccfc(0x23b)]:_0x38c325(_0x51016d)[_0x4fccfc(0x124)];_0x5d1bea['_socket']?_0x5d1bea['_sender'][_0x4fccfc(0x2d5)]+=_0x54c840:_0x5d1bea[_0x4fccfc(0x115)]+=_0x54c840;}if(_0x4e8644){const _0x199633=new Error(_0x4fccfc(0x140)+_0x5d1bea[_0x4fccfc(0x220)]+'\x20('+_0x739050[_0x5d1bea[_0x4fccfc(0x220)]]+')');process[_0x4fccfc(0x20d)](_0x4e8644,_0x199633);}}function _0x1dcab7(_0x5c1dec,_0x47cd68){const _0x37e6eb=_0x363ce1,_0xbf89d0=this[_0x48d9e1];_0xbf89d0[_0x37e6eb(0x1a5)]=!0x0,_0xbf89d0[_0x37e6eb(0x17b)]=_0x47cd68,_0xbf89d0[_0x37e6eb(0x16b)]=_0x5c1dec,_0xbf89d0[_0x37e6eb(0x1b2)][_0x48d9e1]!==void 0x0&&(_0xbf89d0[_0x37e6eb(0x1b2)]['removeListener']('data',_0x4960dc),process['nextTick'](_0x2f0379,_0xbf89d0[_0x37e6eb(0x1b2)]),_0x5c1dec===0x3ed?_0xbf89d0[_0x37e6eb(0x15a)]():_0xbf89d0['close'](_0x5c1dec,_0x47cd68));}function _0x37277c(){const _0x408ebe=_0x363ce1,_0x5458de=this[_0x48d9e1];_0x5458de[_0x408ebe(0x1e5)]||_0x5458de[_0x408ebe(0x1b2)][_0x408ebe(0x216)]();}function _0x598e5e(_0x395590){const _0x3dd4b4=_0x363ce1,_0x5bb958=this[_0x48d9e1];_0x5bb958[_0x3dd4b4(0x1b2)][_0x48d9e1]!==void 0x0&&(_0x5bb958['_socket'][_0x3dd4b4(0x150)](_0x3dd4b4(0x2c6),_0x4960dc),process[_0x3dd4b4(0x20d)](_0x2f0379,_0x5bb958[_0x3dd4b4(0x1b2)]),_0x5bb958['close'](_0x395590[_0x577848])),_0x5bb958['_errorEmitted']||(_0x5bb958[_0x3dd4b4(0x25c)]=!0x0,_0x5bb958['emit']('error',_0x395590));}function _0x315deb(){const _0x56fd2d=_0x363ce1;this[_0x48d9e1][_0x56fd2d(0x17e)]();}function _0x43bcf1(_0x54dc48,_0x310032){const _0x5eb637=_0x363ce1;this[_0x48d9e1][_0x5eb637(0x143)](_0x5eb637(0x240),_0x54dc48,_0x310032);}function _0x36c747(_0x2f6ae0){const _0x41c103=_0x363ce1,_0x41fc86=this[_0x48d9e1];_0x41fc86[_0x41c103(0x2ba)]&&_0x41fc86['pong'](_0x2f6ae0,!this[_0x41c103(0x2a2)],_0x347505),_0x41fc86[_0x41c103(0x143)](_0x41c103(0x14c),_0x2f6ae0);}function _0x423cd8(_0x2dc8ac){const _0x4d6d13=_0x363ce1;this[_0x48d9e1][_0x4d6d13(0x143)]('pong',_0x2dc8ac);}function _0x2f0379(_0x52af26){const _0x1c07f1=_0x363ce1;_0x52af26[_0x1c07f1(0x216)]();}function _0x291cce(_0x146c51){const _0x56fc69=_0x363ce1,_0x3602dc=this[_0x48d9e1];_0x3602dc['readyState']!==_0x1817ad[_0x56fc69(0x20e)]&&(_0x3602dc[_0x56fc69(0x220)]===_0x1817ad[_0x56fc69(0x1d1)]&&(_0x3602dc[_0x56fc69(0x18a)]=_0x1817ad['CLOSING'],_0x46544e(_0x3602dc)),this[_0x56fc69(0x1b2)][_0x56fc69(0x15d)](),_0x3602dc[_0x56fc69(0x25c)]||(_0x3602dc[_0x56fc69(0x25c)]=!0x0,_0x3602dc[_0x56fc69(0x143)]('error',_0x146c51)));}function _0x46544e(_0x1da2ea){const _0x2632ae=_0x363ce1;_0x1da2ea[_0x2632ae(0x23c)]=setTimeout(_0x1da2ea[_0x2632ae(0x1b2)][_0x2632ae(0x2a7)][_0x2632ae(0x2c2)](_0x1da2ea['_socket']),_0x3abd7f);}function _0x522fc2(){const _0x270be=_0x363ce1,_0x531bc6=this[_0x48d9e1];this[_0x270be(0x150)](_0x270be(0x15a),_0x522fc2),this[_0x270be(0x150)](_0x270be(0x2c6),_0x4960dc),this[_0x270be(0x150)](_0x270be(0x15d),_0x28a518),_0x531bc6[_0x270be(0x18a)]=_0x1817ad[_0x270be(0x14b)];let _0x43c314;!this[_0x270be(0x117)][_0x270be(0x182)]&&!_0x531bc6[_0x270be(0x1a5)]&&!_0x531bc6[_0x270be(0x22e)]['_writableState'][_0x270be(0x26e)]&&(_0x43c314=_0x531bc6['_socket'][_0x270be(0x190)]())!==null&&_0x531bc6[_0x270be(0x22e)][_0x270be(0x1eb)](_0x43c314),_0x531bc6[_0x270be(0x22e)][_0x270be(0x15d)](),this[_0x48d9e1]=void 0x0,clearTimeout(_0x531bc6[_0x270be(0x23c)]),_0x531bc6[_0x270be(0x22e)][_0x270be(0x215)][_0x270be(0x28b)]||_0x531bc6[_0x270be(0x22e)]['_writableState'][_0x270be(0x26e)]?_0x531bc6[_0x270be(0x17e)]():(_0x531bc6['_receiver']['on'](_0x270be(0x1cd),_0x315deb),_0x531bc6[_0x270be(0x22e)]['on'](_0x270be(0x1d4),_0x315deb));}function _0x4960dc(_0x23f7a1){const _0x3cefc5=_0x363ce1;this[_0x48d9e1][_0x3cefc5(0x22e)][_0x3cefc5(0x1eb)](_0x23f7a1)||this[_0x3cefc5(0x2d8)]();}function _0x28a518(){const _0x285ddd=_0x363ce1,_0x5eff34=this[_0x48d9e1];_0x5eff34[_0x285ddd(0x18a)]=_0x1817ad[_0x285ddd(0x14b)],_0x5eff34[_0x285ddd(0x22e)][_0x285ddd(0x15d)](),this[_0x285ddd(0x15d)]();}function _0x5a9900(){const _0x463090=_0x363ce1,_0x36bfc1=this[_0x48d9e1];this[_0x463090(0x150)](_0x463090(0x1cd),_0x5a9900),this['on']('error',_0x347505),_0x36bfc1&&(_0x36bfc1['_readyState']=_0x1817ad['CLOSING'],this[_0x463090(0x2a7)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x120f4e}=oe;function _0x5221d4(_0x126b02){const _0x2287f3=_0x55e8;_0x126b02[_0x2287f3(0x143)]('close');}function _0x4cca91(){const _0x49fe45=_0x55e8;!this[_0x49fe45(0x19e)]&&this[_0x49fe45(0x215)][_0x49fe45(0x28b)]&&this[_0x49fe45(0x2a7)]();}function _0x5e3049(_0x1f7657){const _0x2a4560=_0x55e8;this[_0x2a4560(0x150)](_0x2a4560(0x1cd),_0x5e3049),this[_0x2a4560(0x2a7)](),this['listenerCount'](_0x2a4560(0x1cd))===0x0&&this[_0x2a4560(0x143)](_0x2a4560(0x1cd),_0x1f7657);}function _0x5b75a6(_0x5de887,_0x3ccc6c){const _0x27124a=_0x55e8;let _0xeaa2e9=!0x0;const _0x2a0fae=new _0x120f4e({..._0x3ccc6c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5de887['on'](_0x27124a(0x240),function(_0xce8f07,_0x647fad){const _0x208cfa=_0x27124a,_0x1a809a=!_0x647fad&&_0x2a0fae[_0x208cfa(0x117)][_0x208cfa(0x228)]?_0xce8f07[_0x208cfa(0x17f)]():_0xce8f07;_0x2a0fae['push'](_0x1a809a)||_0x5de887[_0x208cfa(0x2d8)]();}),_0x5de887[_0x27124a(0x24d)]('error',function(_0xa304cc){const _0x33ea2e=_0x27124a;_0x2a0fae[_0x33ea2e(0x19e)]||(_0xeaa2e9=!0x1,_0x2a0fae[_0x33ea2e(0x2a7)](_0xa304cc));}),_0x5de887[_0x27124a(0x24d)]('close',function(){const _0x47820b=_0x27124a;_0x2a0fae['destroyed']||_0x2a0fae[_0x47820b(0x275)](null);}),_0x2a0fae[_0x27124a(0x158)]=function(_0x2d5c98,_0x448040){const _0x4700c1=_0x27124a;if(_0x5de887['readyState']===_0x5de887[_0x4700c1(0x20e)]){_0x448040(_0x2d5c98),process[_0x4700c1(0x20d)](_0x5221d4,_0x2a0fae);return;}let _0x2286c9=!0x1;_0x5de887['once'](_0x4700c1(0x1cd),function(_0x496bf6){_0x2286c9=!0x0,_0x448040(_0x496bf6);}),_0x5de887[_0x4700c1(0x24d)](_0x4700c1(0x15a),function(){const _0x569a57=_0x4700c1;_0x2286c9||_0x448040(_0x2d5c98),process[_0x569a57(0x20d)](_0x5221d4,_0x2a0fae);}),_0xeaa2e9&&_0x5de887[_0x4700c1(0x1bd)]();},_0x2a0fae[_0x27124a(0x27c)]=function(_0x3b2ddd){const _0x578378=_0x27124a;if(_0x5de887[_0x578378(0x220)]===_0x5de887['CONNECTING']){_0x5de887[_0x578378(0x24d)](_0x578378(0x202),function(){_0x2a0fae['_final'](_0x3b2ddd);});return;}_0x5de887[_0x578378(0x1b2)]!==null&&(_0x5de887['_socket'][_0x578378(0x215)][_0x578378(0x28b)]?(_0x3b2ddd(),_0x2a0fae[_0x578378(0x117)][_0x578378(0x182)]&&_0x2a0fae[_0x578378(0x2a7)]()):(_0x5de887[_0x578378(0x1b2)][_0x578378(0x24d)](_0x578378(0x1d4),function(){_0x3b2ddd();}),_0x5de887['close']()));},_0x2a0fae[_0x27124a(0x262)]=function(){const _0x1af994=_0x27124a;_0x5de887[_0x1af994(0x1e5)]&&_0x5de887['resume']();},_0x2a0fae[_0x27124a(0x2d0)]=function(_0x2fed8f,_0x3319d9,_0x2059c4){const _0x15ecc8=_0x27124a;if(_0x5de887[_0x15ecc8(0x220)]===_0x5de887['CONNECTING']){_0x5de887['once'](_0x15ecc8(0x202),function(){const _0x4eb6b9=_0x15ecc8;_0x2a0fae[_0x4eb6b9(0x2d0)](_0x2fed8f,_0x3319d9,_0x2059c4);});return;}_0x5de887['send'](_0x2fed8f,_0x2059c4);},_0x2a0fae['on'](_0x27124a(0x15d),_0x4cca91),_0x2a0fae['on'](_0x27124a(0x1cd),_0x5e3049),_0x2a0fae;}return Oe=_0x5b75a6,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x255717}=ae();function _0x15e182(_0x4976e9){const _0xd61e68=_0x55e8,_0x3e3a61=new Set();let _0x10a049=-0x1,_0x2632e8=-0x1,_0x2d8fc3=0x0;for(_0x2d8fc3;_0x2d8fc3<_0x4976e9['length'];_0x2d8fc3++){const _0x40521f=_0x4976e9[_0xd61e68(0x1a6)](_0x2d8fc3);if(_0x2632e8===-0x1&&_0x255717[_0x40521f]===0x1)_0x10a049===-0x1&&(_0x10a049=_0x2d8fc3);else{if(_0x2d8fc3!==0x0&&(_0x40521f===0x20||_0x40521f===0x9))_0x2632e8===-0x1&&_0x10a049!==-0x1&&(_0x2632e8=_0x2d8fc3);else{if(_0x40521f===0x2c){if(_0x10a049===-0x1)throw new SyntaxError(_0xd61e68(0x11d)+_0x2d8fc3);_0x2632e8===-0x1&&(_0x2632e8=_0x2d8fc3);const _0x2e9933=_0x4976e9[_0xd61e68(0x1e2)](_0x10a049,_0x2632e8);if(_0x3e3a61['has'](_0x2e9933))throw new SyntaxError(_0xd61e68(0x16d)+_0x2e9933+'\x22\x20subprotocol\x20is\x20duplicated');_0x3e3a61['add'](_0x2e9933),_0x10a049=_0x2632e8=-0x1;}else throw new SyntaxError(_0xd61e68(0x11d)+_0x2d8fc3);}}}if(_0x10a049===-0x1||_0x2632e8!==-0x1)throw new SyntaxError(_0xd61e68(0x1f8));const _0x254461=_0x4976e9[_0xd61e68(0x1e2)](_0x10a049,_0x2d8fc3);if(_0x3e3a61[_0xd61e68(0x1d8)](_0x254461))throw new SyntaxError(_0xd61e68(0x16d)+_0x254461+_0xd61e68(0x232));return _0x3e3a61[_0xd61e68(0x2cb)](_0x254461),_0x3e3a61;}return Ce={'parse':_0x15e182},Ce;}var Te,rt;function Ft(){const _0x4837d5=_0x431b54;if(rt)return Te;rt=0x1;const _0xe59401=nt,_0x5ce137=ot,{Duplex:_0x4d6696}=oe,{createHash:_0x457a88}=Le,_0x49b9a3=ct(),_0x545b08=he(),_0x2a23b4=At(),_0x522d79=Pe(),{GUID:_0x49cf8a,kWebSocket:_0x4fb411}=H(),_0x31148d=/^[+/0-9A-Za-z]{22}==$/,_0x11bf7c=0x0,_0x29c835=0x1,_0x3f318d=0x2;class _0x5974cf extends _0xe59401{constructor(_0x2567cb,_0x3b1d7){const _0x5be25c=_0x55e8;if(super(),_0x2567cb={'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':_0x522d79,..._0x2567cb},_0x2567cb['port']==null&&!_0x2567cb[_0x5be25c(0x223)]&&!_0x2567cb[_0x5be25c(0x192)]||_0x2567cb[_0x5be25c(0x1be)]!=null&&(_0x2567cb[_0x5be25c(0x223)]||_0x2567cb[_0x5be25c(0x192)])||_0x2567cb[_0x5be25c(0x223)]&&_0x2567cb[_0x5be25c(0x192)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2567cb[_0x5be25c(0x1be)]!=null?(this[_0x5be25c(0x241)]=_0x5ce137[_0x5be25c(0x17c)]((_0x1ef4c6,_0x41a4b8)=>{const _0x3d0ef9=_0x5be25c,_0x3a9026=_0x5ce137[_0x3d0ef9(0x26a)][0x1aa];_0x41a4b8[_0x3d0ef9(0x18f)](0x1aa,{'Content-Length':_0x3a9026[_0x3d0ef9(0x124)],'Content-Type':'text/plain'}),_0x41a4b8[_0x3d0ef9(0x15d)](_0x3a9026);}),this[_0x5be25c(0x241)][_0x5be25c(0x2d7)](_0x2567cb[_0x5be25c(0x1be)],_0x2567cb[_0x5be25c(0x29b)],_0x2567cb['backlog'],_0x3b1d7)):_0x2567cb[_0x5be25c(0x223)]&&(this[_0x5be25c(0x241)]=_0x2567cb[_0x5be25c(0x223)]),this[_0x5be25c(0x241)]){const _0x4c0ad7=this[_0x5be25c(0x143)][_0x5be25c(0x2c2)](this,'connection');this[_0x5be25c(0x294)]=_0x20ce16(this[_0x5be25c(0x241)],{'listening':this[_0x5be25c(0x143)][_0x5be25c(0x2c2)](this,_0x5be25c(0x11c)),'error':this[_0x5be25c(0x143)][_0x5be25c(0x2c2)](this,'error'),'upgrade':(_0x4499e8,_0x3caf55,_0x18716c)=>{const _0x510421=_0x5be25c;this[_0x510421(0x1d7)](_0x4499e8,_0x3caf55,_0x18716c,_0x4c0ad7);}});}_0x2567cb[_0x5be25c(0x2ac)]===!0x0&&(_0x2567cb['perMessageDeflate']={}),_0x2567cb[_0x5be25c(0x247)]&&(this[_0x5be25c(0x29d)]=new Set(),this[_0x5be25c(0x161)]=!0x1),this[_0x5be25c(0x2cc)]=_0x2567cb,this[_0x5be25c(0x291)]=_0x11bf7c;}[_0x4837d5(0x1d2)](){const _0x40cdeb=_0x4837d5;if(this[_0x40cdeb(0x2cc)][_0x40cdeb(0x192)])throw new Error(_0x40cdeb(0x14a));return this[_0x40cdeb(0x241)]?this[_0x40cdeb(0x241)][_0x40cdeb(0x1d2)]():null;}[_0x4837d5(0x15a)](_0xdf22fc){const _0x28eff4=_0x4837d5;if(this[_0x28eff4(0x291)]===_0x3f318d){_0xdf22fc&&this['once']('close',()=>{const _0x554749=_0x28eff4;_0xdf22fc(new Error(_0x554749(0x2b2)));}),process[_0x28eff4(0x20d)](_0x92bebe,this);return;}if(_0xdf22fc&&this['once'](_0x28eff4(0x15a),_0xdf22fc),this[_0x28eff4(0x291)]!==_0x29c835){if(this['_state']=_0x29c835,this[_0x28eff4(0x2cc)][_0x28eff4(0x192)]||this[_0x28eff4(0x2cc)][_0x28eff4(0x223)])this['_server']&&(this[_0x28eff4(0x294)](),this[_0x28eff4(0x294)]=this[_0x28eff4(0x241)]=null),this[_0x28eff4(0x29d)]?this[_0x28eff4(0x29d)]['size']?this[_0x28eff4(0x161)]=!0x0:process['nextTick'](_0x92bebe,this):process['nextTick'](_0x92bebe,this);else{const _0x32d8e6=this[_0x28eff4(0x241)];this['_removeListeners'](),this[_0x28eff4(0x294)]=this['_server']=null,_0x32d8e6[_0x28eff4(0x15a)](()=>{_0x92bebe(this);});}}}[_0x4837d5(0x1b5)](_0x22eba6){const _0x185302=_0x4837d5;if(this[_0x185302(0x2cc)][_0x185302(0x165)]){const _0x31904c=_0x22eba6[_0x185302(0x289)][_0x185302(0x175)]('?');if((_0x31904c!==-0x1?_0x22eba6[_0x185302(0x289)][_0x185302(0x1e2)](0x0,_0x31904c):_0x22eba6[_0x185302(0x289)])!==this['options'][_0x185302(0x165)])return!0x1;}return!0x0;}[_0x4837d5(0x1d7)](_0xf1dd1c,_0x378e31,_0x5102b2,_0x4d7b6b){const _0x5094ea=_0x4837d5;_0x378e31['on'](_0x5094ea(0x1cd),_0x26999b);const _0x12535d=_0xf1dd1c['headers'][_0x5094ea(0x1d0)],_0x3d2c6a=_0xf1dd1c[_0x5094ea(0x1e4)][_0x5094ea(0x10d)],_0x1aec89=+_0xf1dd1c['headers'][_0x5094ea(0x203)];if(_0xf1dd1c[_0x5094ea(0x25a)]!==_0x5094ea(0x1ac)){_0x47c809(this,_0xf1dd1c,_0x378e31,0x195,_0x5094ea(0x231));return;}if(_0x3d2c6a===void 0x0||_0x3d2c6a['toLowerCase']()!==_0x5094ea(0x2e1)){_0x47c809(this,_0xf1dd1c,_0x378e31,0x190,_0x5094ea(0x189));return;}if(_0x12535d===void 0x0||!_0x31148d[_0x5094ea(0x299)](_0x12535d)){_0x47c809(this,_0xf1dd1c,_0x378e31,0x190,_0x5094ea(0x14d));return;}if(_0x1aec89!==0x8&&_0x1aec89!==0xd){_0x47c809(this,_0xf1dd1c,_0x378e31,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x5094ea(0x1b5)](_0xf1dd1c)){_0x2f2b01(_0x378e31,0x190);return;}const _0xe93a9f=_0xf1dd1c[_0x5094ea(0x1e4)][_0x5094ea(0x116)];let _0x1b587f=new Set();if(_0xe93a9f!==void 0x0)try{_0x1b587f=_0x2a23b4[_0x5094ea(0x2bd)](_0xe93a9f);}catch{_0x47c809(this,_0xf1dd1c,_0x378e31,0x190,_0x5094ea(0x23e));return;}const _0xf714ba=_0xf1dd1c['headers']['sec-websocket-extensions'],_0x2b6c53={};if(this[_0x5094ea(0x2cc)]['perMessageDeflate']&&_0xf714ba!==void 0x0){const _0x3255c0=new _0x545b08(this[_0x5094ea(0x2cc)][_0x5094ea(0x2ac)],!0x0,this[_0x5094ea(0x2cc)][_0x5094ea(0x2a9)]);try{const _0x579cdb=_0x49b9a3[_0x5094ea(0x2bd)](_0xf714ba);_0x579cdb[_0x545b08['extensionName']]&&(_0x3255c0[_0x5094ea(0x188)](_0x579cdb[_0x545b08[_0x5094ea(0x1ea)]]),_0x2b6c53[_0x545b08['extensionName']]=_0x3255c0);}catch{_0x47c809(this,_0xf1dd1c,_0x378e31,0x190,_0x5094ea(0x1a1));return;}}if(this['options']['verifyClient']){const _0x18afdf={'origin':_0xf1dd1c[_0x5094ea(0x1e4)][''+(_0x1aec89===0x8?_0x5094ea(0x252):'origin')],'secure':!!(_0xf1dd1c[_0x5094ea(0x1f0)]['authorized']||_0xf1dd1c[_0x5094ea(0x1f0)][_0x5094ea(0x295)]),'req':_0xf1dd1c};if(this[_0x5094ea(0x2cc)][_0x5094ea(0x1e7)]['length']===0x2){this[_0x5094ea(0x2cc)][_0x5094ea(0x1e7)](_0x18afdf,(_0x36a28c,_0x185986,_0x5a51a9,_0x82d9bc)=>{const _0x14fc87=_0x5094ea;if(!_0x36a28c)return _0x2f2b01(_0x378e31,_0x185986||0x191,_0x5a51a9,_0x82d9bc);this[_0x14fc87(0x24a)](_0x2b6c53,_0x12535d,_0x1b587f,_0xf1dd1c,_0x378e31,_0x5102b2,_0x4d7b6b);});return;}if(!this['options'][_0x5094ea(0x1e7)](_0x18afdf))return _0x2f2b01(_0x378e31,0x191);}this['completeUpgrade'](_0x2b6c53,_0x12535d,_0x1b587f,_0xf1dd1c,_0x378e31,_0x5102b2,_0x4d7b6b);}[_0x4837d5(0x24a)](_0x37a660,_0xb44368,_0x539615,_0x2efed1,_0x11aa15,_0x37819c,_0x21780f){const _0x256f01=_0x4837d5;if(!_0x11aa15[_0x256f01(0x2af)]||!_0x11aa15['writable'])return _0x11aa15['destroy']();if(_0x11aa15[_0x4fb411])throw new Error(_0x256f01(0x22b));if(this[_0x256f01(0x291)]>_0x11bf7c)return _0x2f2b01(_0x11aa15,0x1f7);const _0x4fe9d2=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x256f01(0x19b),'Connection:\x20Upgrade',_0x256f01(0x26c)+_0x457a88(_0x256f01(0x1e8))[_0x256f01(0x13b)](_0xb44368+_0x49cf8a)['digest'](_0x256f01(0x2c1))],_0x545f25=new this[(_0x256f01(0x2cc))][(_0x256f01(0x2dc))](null,void 0x0,this[_0x256f01(0x2cc)]);if(_0x539615[_0x256f01(0x23b)]){const _0x4ecbcc=this['options'][_0x256f01(0x2a8)]?this['options'][_0x256f01(0x2a8)](_0x539615,_0x2efed1):_0x539615[_0x256f01(0x1b1)]()[_0x256f01(0x292)]()[_0x256f01(0x1bf)];_0x4ecbcc&&(_0x4fe9d2[_0x256f01(0x275)](_0x256f01(0x251)+_0x4ecbcc),_0x545f25[_0x256f01(0x1aa)]=_0x4ecbcc);}if(_0x37a660[_0x545b08[_0x256f01(0x1ea)]]){const _0x125dbc=_0x37a660[_0x545b08[_0x256f01(0x1ea)]][_0x256f01(0x21a)],_0x3bd170=_0x49b9a3[_0x256f01(0x146)]({[_0x545b08[_0x256f01(0x1ea)]]:[_0x125dbc]});_0x4fe9d2[_0x256f01(0x275)]('Sec-WebSocket-Extensions:\x20'+_0x3bd170),_0x545f25[_0x256f01(0x29f)]=_0x37a660;}this[_0x256f01(0x143)]('headers',_0x4fe9d2,_0x2efed1),_0x11aa15[_0x256f01(0x1eb)](_0x4fe9d2[_0x256f01(0x144)]('\x0d\x0a')['join']('\x0d\x0a')),_0x11aa15[_0x256f01(0x150)](_0x256f01(0x1cd),_0x26999b),_0x545f25[_0x256f01(0x1ad)](_0x11aa15,_0x37819c,{'allowSynchronousEvents':this[_0x256f01(0x2cc)][_0x256f01(0x12f)],'maxPayload':this['options'][_0x256f01(0x2a9)],'skipUTF8Validation':this[_0x256f01(0x2cc)][_0x256f01(0x16f)]}),this['clients']&&(this[_0x256f01(0x29d)]['add'](_0x545f25),_0x545f25['on'](_0x256f01(0x15a),()=>{const _0x27a65e=_0x256f01;this['clients'][_0x27a65e(0x239)](_0x545f25),this['_shouldEmitClose']&&!this[_0x27a65e(0x29d)][_0x27a65e(0x23b)]&&process[_0x27a65e(0x20d)](_0x92bebe,this);})),_0x21780f(_0x545f25,_0x2efed1);}}Te=_0x5974cf;function _0x20ce16(_0x8540db,_0x28b9f6){const _0x5c574b=_0x4837d5;for(const _0x309dc1 of Object[_0x5c574b(0x273)](_0x28b9f6))_0x8540db['on'](_0x309dc1,_0x28b9f6[_0x309dc1]);return function(){const _0x310a9f=_0x5c574b;for(const _0x27f245 of Object[_0x310a9f(0x273)](_0x28b9f6))_0x8540db[_0x310a9f(0x150)](_0x27f245,_0x28b9f6[_0x27f245]);};}function _0x92bebe(_0x2a2af8){const _0x23aa05=_0x4837d5;_0x2a2af8[_0x23aa05(0x291)]=_0x3f318d,_0x2a2af8[_0x23aa05(0x143)](_0x23aa05(0x15a));}function _0x26999b(){this['destroy']();}function _0x2f2b01(_0x3a96d1,_0x25fbaf,_0x48868a,_0x2cb313){const _0x158d3e=_0x4837d5;_0x48868a=_0x48868a||_0x5ce137['STATUS_CODES'][_0x25fbaf],_0x2cb313={'Connection':_0x158d3e(0x15a),'Content-Type':'text/html','Content-Length':Buffer[_0x158d3e(0x1dd)](_0x48868a),..._0x2cb313},_0x3a96d1[_0x158d3e(0x24d)](_0x158d3e(0x1d4),_0x3a96d1[_0x158d3e(0x2a7)]),_0x3a96d1['end'](_0x158d3e(0x1e9)+_0x25fbaf+'\x20'+_0x5ce137[_0x158d3e(0x26a)][_0x25fbaf]+'\x0d\x0a'+Object[_0x158d3e(0x273)](_0x2cb313)[_0x158d3e(0x1e3)](_0x3b7a72=>_0x3b7a72+':\x20'+_0x2cb313[_0x3b7a72])[_0x158d3e(0x15c)]('\x0d\x0a')+_0x158d3e(0x21c)+_0x48868a);}function _0x47c809(_0x1d3859,_0x58ab94,_0xf5e11f,_0x4b0eb0,_0x531571){const _0x2a4339=_0x4837d5;if(_0x1d3859[_0x2a4339(0x2a6)](_0x2a4339(0x183))){const _0x4eca99=new Error(_0x531571);Error[_0x2a4339(0x1cc)](_0x4eca99,_0x47c809),_0x1d3859['emit'](_0x2a4339(0x183),_0x4eca99,_0xf5e11f,_0x58ab94);}else _0x2f2b01(_0xf5e11f,_0x4b0eb0,_0x531571);}return Te;}Ft();var jt=Object[_0x431b54(0x236)],Wt=(_0x4039ba,_0x540876,_0x5c30ad,_0x46ec06)=>{const _0x1970cf=_0x431b54;for(var _0x3e6c96=_0x46ec06>0x1?void 0x0:_0x46ec06?jt(_0x540876,_0x5c30ad):_0x540876,_0x3ae1d9=_0x4039ba[_0x1970cf(0x124)]-0x1,_0x4bb6c7;_0x3ae1d9>=0x0;_0x3ae1d9--)(_0x4bb6c7=_0x4039ba[_0x3ae1d9])&&(_0x3e6c96=_0x4bb6c7(_0x3e6c96)||_0x3e6c96);return _0x3e6c96;},qt=(_0xa049ee,_0x56e24c)=>(_0x189ea7,_0x234fce)=>_0x56e24c(_0x189ea7,_0x234fce,_0xa049ee);let ke=class extends A[_0x431b54(0x1a4)]{constructor(_0x55bb3a){const _0x1f8dda=_0x431b54;super(),this[_0x1f8dda(0x2aa)]=_0x55bb3a;}[_0x431b54(0x222)](_0x1989f3){const _0x52dc24=_0x431b54;var _0x316857;const _0x53f2ad=(_0x316857=this[_0x52dc24(0x2aa)]['getConfig'](fe))==null?void 0x0:_0x316857[_0x52dc24(0x27f)];try{const _0x912b9=new $t(_0x1989f3,{'headers':{..._0x53f2ad}}),_0x34cbe=new A[(_0x52dc24(0x1f5))]();return{'URL':_0x1989f3,'close':(_0x3924ed,_0x158c33)=>{const _0x23a185=_0x52dc24;_0x912b9[_0x23a185(0x15a)](_0x3924ed,_0x158c33),_0x34cbe[_0x23a185(0x23f)]();},'send':_0x73bba0=>{const _0x5f4ef8=_0x52dc24;_0x912b9[_0x5f4ef8(0x1c1)](_0x73bba0);},'open$':new V[(_0x52dc24(0x2b0))](_0x4441b0=>{const _0x1a7bc2=_0x52dc24,_0x9cc214=_0x197dcc=>_0x4441b0[_0x1a7bc2(0x292)](_0x197dcc);_0x912b9[_0x1a7bc2(0x1f3)](_0x1a7bc2(0x202),_0x9cc214),_0x34cbe[_0x1a7bc2(0x2cb)](A[_0x1a7bc2(0x15e)](()=>_0x912b9[_0x1a7bc2(0x125)](_0x1a7bc2(0x202),_0x9cc214)));})[_0x52dc24(0x18e)](V['share']()),'close$':new V[(_0x52dc24(0x2b0))](_0x265929=>{const _0x44c309=_0x52dc24,_0x146264=_0x136cae=>_0x265929[_0x44c309(0x292)](_0x136cae);_0x912b9[_0x44c309(0x1f3)](_0x44c309(0x15a),_0x146264),_0x34cbe[_0x44c309(0x2cb)](A[_0x44c309(0x15e)](()=>_0x912b9['removeEventListener'](_0x44c309(0x15a),_0x146264)));})[_0x52dc24(0x18e)](V[_0x52dc24(0x1c0)]()),'error$':new V['Observable'](_0x5235a3=>{const _0x2da3a1=_0x52dc24,_0x32869b=_0x24936d=>_0x5235a3[_0x2da3a1(0x292)](_0x24936d);_0x912b9['addEventListener'](_0x2da3a1(0x1cd),_0x32869b),_0x34cbe[_0x2da3a1(0x2cb)](A['toDisposable'](()=>_0x912b9['removeEventListener'](_0x2da3a1(0x1cd),_0x32869b)));})['pipe'](V['share']()),'message$':new V[(_0x52dc24(0x2b0))](_0x659c03=>{const _0x2fbc5a=_0x52dc24,_0x1be507=_0x158209=>_0x659c03[_0x2fbc5a(0x292)](_0x158209);_0x912b9[_0x2fbc5a(0x1f3)](_0x2fbc5a(0x240),_0x1be507),_0x34cbe[_0x2fbc5a(0x2cb)](A[_0x2fbc5a(0x15e)](()=>_0x912b9['removeEventListener'](_0x2fbc5a(0x240),_0x1be507)));})[_0x52dc24(0x18e)](V[_0x52dc24(0x1c0)]())};}catch(_0x523f83){return console['error'](_0x523f83),null;}}};ke=Wt([qt(0x0,A[_0x431b54(0x138)])],ke);var Gt=Object[_0x431b54(0x2c3)],Vt=Object[_0x431b54(0x236)],Ht=(_0x1e0a11,_0x335375,_0x360b29)=>_0x335375 in _0x1e0a11?Gt(_0x1e0a11,_0x335375,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x360b29}):_0x1e0a11[_0x335375]=_0x360b29,zt=(_0x225ab0,_0x8e0ab6,_0x55fbcd,_0x392ee8)=>{const _0x3a38a5=_0x431b54;for(var _0x2ec60e=_0x392ee8>0x1?void 0x0:_0x392ee8?Vt(_0x8e0ab6,_0x55fbcd):_0x8e0ab6,_0x46b92e=_0x225ab0[_0x3a38a5(0x124)]-0x1,_0x183a41;_0x46b92e>=0x0;_0x46b92e--)(_0x183a41=_0x225ab0[_0x46b92e])&&(_0x2ec60e=_0x183a41(_0x2ec60e)||_0x2ec60e);return _0x2ec60e;},Ne=(_0x4d79aa,_0x16adfb)=>(_0x3ac57e,_0x1a90a8)=>_0x16adfb(_0x3ac57e,_0x1a90a8,_0x4d79aa),Yt=(_0x415934,_0x4f0324,_0x405fdf)=>Ht(_0x415934,_0x4f0324+'',_0x405fdf);exports[_0x431b54(0x1e0)]=class extends A[_0x431b54(0x12a)]{constructor(_0x3996f6=Ct,_0x302012,_0x428942,_0x32bd83){const _0x358a78=_0x431b54;_0x3996f6[_0x358a78(0x27f)]||_0x302012[_0x358a78(0x298)](_0x358a78(0x25f)),super(),this[_0x358a78(0x2aa)]=_0x428942,this[_0x358a78(0x148)]=_0x32bd83,this['_configService'][_0x358a78(0x109)](fe,_0x3996f6);}[_0x431b54(0x1b4)](){const _0x20bf3a=_0x431b54;this[_0x20bf3a(0x2b1)]();}[_0x431b54(0x2b1)](){const _0xc50477=_0x431b54;A[_0xc50477(0x283)](this[_0xc50477(0x148)],[[it[_0xc50477(0x10a)],{'useClass':ke}]]);}},Yt(exports[_0x431b54(0x1e0)],_0x431b54(0x157),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x431b54(0x1e0)]=zt([A[_0x431b54(0x293)](st[_0x431b54(0x29e)]),Ne(0x1,A[_0x431b54(0x1cb)]),Ne(0x2,A[_0x431b54(0x138)]),Ne(0x3,A[_0x431b54(0x1e6)](A[_0x431b54(0x2c0)]))],exports[_0x431b54(0x1e0)]);var Kt=Object[_0x431b54(0x236)],Xt=(_0x8eca78,_0x152bd0,_0x223be0,_0x24aba0)=>{const _0x59e3b9=_0x431b54;for(var _0x5a4e18=_0x24aba0>0x1?void 0x0:_0x24aba0?Kt(_0x152bd0,_0x223be0):_0x152bd0,_0x5535e6=_0x8eca78[_0x59e3b9(0x124)]-0x1,_0x30e1a4;_0x5535e6>=0x0;_0x5535e6--)(_0x30e1a4=_0x8eca78[_0x5535e6])&&(_0x5a4e18=_0x30e1a4(_0x5a4e18)||_0x5a4e18);return _0x5a4e18;},ne=(_0x33e3b4,_0xd75c5e)=>(_0x486f36,_0x429175)=>_0xd75c5e(_0x486f36,_0x429175,_0x33e3b4);exports[_0x431b54(0x1a0)]=class extends st[_0x431b54(0x1ba)]{constructor(_0x500936,_0x38b714,_0x168130,_0x4ddf88,_0x5664ed){const _0x42212b=_0x431b54;super(_0x500936,_0x38b714,_0x168130,_0x4ddf88,_0x5664ed);const _0x1eec8c=this[_0x42212b(0x2aa)][_0x42212b(0x1cf)](fe);this[_0x42212b(0x16c)][_0x42212b(0x260)]({'interceptor':(_0x3c87c7,_0x5a8b7f)=>{const _0x141527=_0x42212b;var _0x109c42;const _0x3a0ae2=_0x3c87c7[_0x141527(0x1e4)];return(_0x109c42=_0x1eec8c==null?void 0x0:_0x1eec8c[_0x141527(0x27f)])!=null&&_0x109c42[_0x141527(0x172)]&&_0x3a0ae2[_0x141527(0x205)]('Cookie',_0x1eec8c[_0x141527(0x27f)][_0x141527(0x172)]),_0x5a8b7f(_0x3c87c7);}});}async['createSocket'](_0x313e2c){const _0x563cd1=_0x431b54;return this[_0x563cd1(0x127)](_0x313e2c);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x431b54(0x2c0)])),ne(0x1,A[_0x431b54(0x1e6)](it[_0x431b54(0x12b)])),ne(0x2,A[_0x431b54(0x138)]),ne(0x3,A[_0x431b54(0x1cb)]),ne(0x4,Ot[_0x431b54(0x2a4)])],exports['NodeCollaborationSocketService']),exports[_0x431b54(0x274)]=fe;
|
|
1
|
+
'use strict';const _0x1ec0b0=_0x2141;(function(_0x93f652,_0x406653){const _0x1ac2f1=_0x2141,_0x1b3321=_0x93f652();while(!![]){try{const _0x587b65=parseInt(_0x1ac2f1(0x2af))/0x1*(-parseInt(_0x1ac2f1(0x199))/0x2)+parseInt(_0x1ac2f1(0x226))/0x3*(parseInt(_0x1ac2f1(0x26d))/0x4)+parseInt(_0x1ac2f1(0x334))/0x5+-parseInt(_0x1ac2f1(0x2f5))/0x6*(parseInt(_0x1ac2f1(0x1dd))/0x7)+-parseInt(_0x1ac2f1(0x32f))/0x8+parseInt(_0x1ac2f1(0x27a))/0x9+-parseInt(_0x1ac2f1(0x2e1))/0xa*(-parseInt(_0x1ac2f1(0x2f2))/0xb);if(_0x587b65===_0x406653)break;else _0x1b3321['push'](_0x1b3321['shift']());}catch(_0x1606d7){_0x1b3321['push'](_0x1b3321['shift']());}}}(_0x2ac2,0x1d21c));function _0x2141(_0x458ecb,_0x5925bf){const _0x2ac263=_0x2ac2();return _0x2141=function(_0x2141a0,_0x3429b5){_0x2141a0=_0x2141a0-0x172;let _0x3ad539=_0x2ac263[_0x2141a0];return _0x3ad539;},_0x2141(_0x458ecb,_0x5925bf);}Object[_0x1ec0b0(0x2de)](exports,Symbol[_0x1ec0b0(0x186)],{'value':'Module'});const st=require(_0x1ec0b0(0x1cf)),A=require(_0x1ec0b0(0x1fb)),it=require('@univerjs/network'),V=require(_0x1ec0b0(0x260)),nt=require(_0x1ec0b0(0x271)),vt=require(_0x1ec0b0(0x32a)),ot=require('http'),St=require(_0x1ec0b0(0x1c8)),Et=require(_0x1ec0b0(0x2bb)),Le=require(_0x1ec0b0(0x321)),oe=require(_0x1ec0b0(0x24a)),xt=require(_0x1ec0b0(0x333)),bt=require(_0x1ec0b0(0x233)),wt=require(_0x1ec0b0(0x29a)),Ot=require(_0x1ec0b0(0x2be)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x3de687){const _0x594c51=_0x1ec0b0;return _0x3de687&&_0x3de687[_0x594c51(0x31a)]&&Object[_0x594c51(0x24d)][_0x594c51(0x28b)][_0x594c51(0x172)](_0x3de687,_0x594c51(0x1c7))?_0x3de687[_0x594c51(0x1c7)]:_0x3de687;}function at(_0x34ff71){const _0x5f4b08=_0x1ec0b0;if(Object['prototype'][_0x5f4b08(0x28b)][_0x5f4b08(0x172)](_0x34ff71,_0x5f4b08(0x31a)))return _0x34ff71;var _0x2c4e49=_0x34ff71[_0x5f4b08(0x1c7)];if(typeof _0x2c4e49=='function'){var _0x3c7d9d=function _0x5573dd(){const _0x241fb5=_0x5f4b08;return this instanceof _0x5573dd?Reflect['construct'](_0x2c4e49,arguments,this['constructor']):_0x2c4e49[_0x241fb5(0x229)](this,arguments);};_0x3c7d9d[_0x5f4b08(0x24d)]=_0x2c4e49[_0x5f4b08(0x24d)];}else _0x3c7d9d={};return Object['defineProperty'](_0x3c7d9d,_0x5f4b08(0x31a),{'value':!0x0}),Object['keys'](_0x34ff71)[_0x5f4b08(0x2f4)](function(_0x320e35){const _0xa1752a=_0x5f4b08;var _0x3c87d0=Object['getOwnPropertyDescriptor'](_0x34ff71,_0x320e35);Object[_0xa1752a(0x2de)](_0x3c7d9d,_0x320e35,_0x3c87d0['get']?_0x3c87d0:{'enumerable':!0x0,'get':function(){return _0x34ff71[_0x320e35];}});}),_0x3c7d9d;}var se={'exports':{}},ge,Ge;function H(){const _0x15a63b=_0x1ec0b0;if(Ge)return ge;Ge=0x1;const _0x52a9c5=['nodebuffer','arraybuffer',_0x15a63b(0x2d8)],_0x4dd005=typeof Blob<'u';return _0x4dd005&&_0x52a9c5['push'](_0x15a63b(0x25e)),ge={'BINARY_TYPES':_0x52a9c5,'EMPTY_BUFFER':Buffer[_0x15a63b(0x28e)](0x0),'GUID':_0x15a63b(0x2a3),'hasBlob':_0x4dd005,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x15a63b(0x2d9)),'kStatusCode':Symbol(_0x15a63b(0x17c)),'kWebSocket':Symbol(_0x15a63b(0x1a6)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1ec0b0(0x208)](Object[_0x1ec0b0(0x2de)]({'__proto__':null,'default':Nt},Symbol[_0x1ec0b0(0x186)],{'value':_0x1ec0b0(0x2cb)})),Lt=at(kt);var Ve;function ce(){const _0x4f66c1=_0x1ec0b0;if(Ve)return se[_0x4f66c1(0x332)];Ve=0x1;const {EMPTY_BUFFER:_0x5792a9}=H(),_0x1d7b3d=Buffer[Symbol[_0x4f66c1(0x337)]];function _0x2303fb(_0x282358,_0x18b0e4){const _0x4bcdfa=_0x4f66c1;if(_0x282358[_0x4bcdfa(0x2a1)]===0x0)return _0x5792a9;if(_0x282358[_0x4bcdfa(0x2a1)]===0x1)return _0x282358[0x0];const _0x13707f=Buffer[_0x4bcdfa(0x2cf)](_0x18b0e4);let _0x48f198=0x0;for(let _0xe8fc55=0x0;_0xe8fc55<_0x282358[_0x4bcdfa(0x2a1)];_0xe8fc55++){const _0x199951=_0x282358[_0xe8fc55];_0x13707f['set'](_0x199951,_0x48f198),_0x48f198+=_0x199951[_0x4bcdfa(0x2a1)];}return _0x48f198<_0x18b0e4?new _0x1d7b3d(_0x13707f[_0x4bcdfa(0x29a)],_0x13707f[_0x4bcdfa(0x2c8)],_0x48f198):_0x13707f;}function _0x2ef0e1(_0x209f09,_0x287e1f,_0x5d45f5,_0x2d9d6c,_0x47c615){for(let _0x420fb2=0x0;_0x420fb2<_0x47c615;_0x420fb2++)_0x5d45f5[_0x2d9d6c+_0x420fb2]=_0x209f09[_0x420fb2]^_0x287e1f[_0x420fb2&0x3];}function _0x194d23(_0x2b6676,_0x1315e3){const _0x48fe13=_0x4f66c1;for(let _0x37143d=0x0;_0x37143d<_0x2b6676[_0x48fe13(0x2a1)];_0x37143d++)_0x2b6676[_0x37143d]^=_0x1315e3[_0x37143d&0x3];}function _0x503ba3(_0x111d3d){const _0x25083b=_0x4f66c1;return _0x111d3d[_0x25083b(0x2a1)]===_0x111d3d[_0x25083b(0x29a)][_0x25083b(0x331)]?_0x111d3d['buffer']:_0x111d3d[_0x25083b(0x29a)]['slice'](_0x111d3d[_0x25083b(0x2c8)],_0x111d3d[_0x25083b(0x2c8)]+_0x111d3d['length']);}function _0x35f4f2(_0x215e8e){const _0x3a331f=_0x4f66c1;if(_0x35f4f2[_0x3a331f(0x2fd)]=!0x0,Buffer[_0x3a331f(0x2b8)](_0x215e8e))return _0x215e8e;let _0x7ce2a4;return _0x215e8e instanceof ArrayBuffer?_0x7ce2a4=new _0x1d7b3d(_0x215e8e):ArrayBuffer[_0x3a331f(0x2e8)](_0x215e8e)?_0x7ce2a4=new _0x1d7b3d(_0x215e8e[_0x3a331f(0x29a)],_0x215e8e['byteOffset'],_0x215e8e[_0x3a331f(0x331)]):(_0x7ce2a4=Buffer['from'](_0x215e8e),_0x35f4f2['readOnly']=!0x1),_0x7ce2a4;}if(se[_0x4f66c1(0x332)]={'concat':_0x2303fb,'mask':_0x2ef0e1,'toArrayBuffer':_0x503ba3,'toBuffer':_0x35f4f2,'unmask':_0x194d23},!process[_0x4f66c1(0x2c9)]['WS_NO_BUFFER_UTIL'])try{const _0x4d3b08=Lt;se[_0x4f66c1(0x332)][_0x4f66c1(0x2bd)]=function(_0x16ad9d,_0x289e3c,_0x1b5750,_0x4cb64b,_0xb7aef7){_0xb7aef7<0x30?_0x2ef0e1(_0x16ad9d,_0x289e3c,_0x1b5750,_0x4cb64b,_0xb7aef7):_0x4d3b08['mask'](_0x16ad9d,_0x289e3c,_0x1b5750,_0x4cb64b,_0xb7aef7);},se[_0x4f66c1(0x332)]['unmask']=function(_0x3546ef,_0x395a21){const _0x4f9622=_0x4f66c1;_0x3546ef[_0x4f9622(0x2a1)]<0x20?_0x194d23(_0x3546ef,_0x395a21):_0x4d3b08[_0x4f9622(0x1db)](_0x3546ef,_0x395a21);};}catch{}return se[_0x4f66c1(0x332)];}var ye,He;function Pt(){const _0x58ccec=_0x1ec0b0;if(He)return ye;He=0x1;const _0x3180f1=Symbol('kDone'),_0x345382=Symbol(_0x58ccec(0x253));class _0x371a03{constructor(_0x33c020){const _0x7eacf=_0x58ccec;this[_0x3180f1]=()=>{this['pending']--,this[_0x345382]();},this[_0x7eacf(0x18e)]=_0x33c020||0x1/0x0,this[_0x7eacf(0x254)]=[],this[_0x7eacf(0x18d)]=0x0;}[_0x58ccec(0x244)](_0x38c3d6){const _0x11e70b=_0x58ccec;this[_0x11e70b(0x254)][_0x11e70b(0x2b0)](_0x38c3d6),this[_0x345382]();}[_0x345382](){const _0x5b4488=_0x58ccec;if(this['pending']!==this['concurrency']&&this['jobs'][_0x5b4488(0x2a1)]){const _0x28da15=this[_0x5b4488(0x254)][_0x5b4488(0x223)]();this[_0x5b4488(0x18d)]++,_0x28da15(this[_0x3180f1]);}}}return ye=_0x371a03,ye;}var ve,ze;function he(){const _0x30e931=_0x1ec0b0;if(ze)return ve;ze=0x1;const _0xa90a44=bt,_0x854bb8=ce(),_0x1c9b23=Pt(),{kStatusCode:_0x1240a8}=H(),_0x2bf8c1=Buffer[Symbol[_0x30e931(0x337)]],_0x589664=Buffer[_0x30e931(0x1a2)]([0x0,0x0,0xff,0xff]),_0x2e5115=Symbol('permessage-deflate'),_0x3d5ad2=Symbol(_0x30e931(0x1f4)),_0x472741=Symbol(_0x30e931(0x193)),_0x7c4c33=Symbol('buffers'),_0x45e34d=Symbol(_0x30e931(0x1f8));let _0x56a79d;class _0x5ba1b5{constructor(_0x1bc031,_0x341bee,_0x365863){const _0x3f2800=_0x30e931;if(this[_0x3f2800(0x2ea)]=_0x365863|0x0,this['_options']=_0x1bc031||{},this[_0x3f2800(0x262)]=this[_0x3f2800(0x17b)]['threshold']!==void 0x0?this['_options'][_0x3f2800(0x1be)]:0x400,this[_0x3f2800(0x190)]=!!_0x341bee,this[_0x3f2800(0x2ef)]=null,this[_0x3f2800(0x178)]=null,this[_0x3f2800(0x249)]=null,!_0x56a79d){const _0x3848ee=this[_0x3f2800(0x17b)]['concurrencyLimit']!==void 0x0?this[_0x3f2800(0x17b)]['concurrencyLimit']:0xa;_0x56a79d=new _0x1c9b23(_0x3848ee);}}static get['extensionName'](){const _0x418ee2=_0x30e931;return _0x418ee2(0x319);}['offer'](){const _0x20cf9e=_0x30e931,_0x3e9e71={};return this[_0x20cf9e(0x17b)][_0x20cf9e(0x2c2)]&&(_0x3e9e71[_0x20cf9e(0x1bc)]=!0x0),this['_options'][_0x20cf9e(0x310)]&&(_0x3e9e71['client_no_context_takeover']=!0x0),this[_0x20cf9e(0x17b)][_0x20cf9e(0x2f9)]&&(_0x3e9e71[_0x20cf9e(0x2d2)]=this[_0x20cf9e(0x17b)][_0x20cf9e(0x2f9)]),this[_0x20cf9e(0x17b)][_0x20cf9e(0x2b7)]?_0x3e9e71[_0x20cf9e(0x1a3)]=this['_options'][_0x20cf9e(0x2b7)]:this['_options'][_0x20cf9e(0x2b7)]==null&&(_0x3e9e71[_0x20cf9e(0x1a3)]=!0x0),_0x3e9e71;}[_0x30e931(0x2fb)](_0x4f3b49){const _0x3c1c6a=_0x30e931;return _0x4f3b49=this[_0x3c1c6a(0x19e)](_0x4f3b49),this[_0x3c1c6a(0x249)]=this[_0x3c1c6a(0x190)]?this[_0x3c1c6a(0x2c5)](_0x4f3b49):this['acceptAsClient'](_0x4f3b49),this[_0x3c1c6a(0x249)];}['cleanup'](){const _0x307864=_0x30e931;if(this[_0x307864(0x178)]&&(this['_inflate'][_0x307864(0x236)](),this[_0x307864(0x178)]=null),this[_0x307864(0x2ef)]){const _0x3028eb=this['_deflate'][_0x472741];this[_0x307864(0x2ef)][_0x307864(0x236)](),this[_0x307864(0x2ef)]=null,_0x3028eb&&_0x3028eb(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x30e931(0x2c5)](_0xb1153){const _0x32e553=_0x30e931,_0x3b02c2=this[_0x32e553(0x17b)],_0x328763=_0xb1153[_0x32e553(0x2a9)](_0x257d1a=>!(_0x3b02c2['serverNoContextTakeover']===!0x1&&_0x257d1a[_0x32e553(0x1bc)]||_0x257d1a[_0x32e553(0x2d2)]&&(_0x3b02c2[_0x32e553(0x2f9)]===!0x1||typeof _0x3b02c2['serverMaxWindowBits']==_0x32e553(0x238)&&_0x3b02c2[_0x32e553(0x2f9)]>_0x257d1a[_0x32e553(0x2d2)])||typeof _0x3b02c2['clientMaxWindowBits']==_0x32e553(0x238)&&!_0x257d1a['client_max_window_bits']));if(!_0x328763)throw new Error(_0x32e553(0x18b));return _0x3b02c2[_0x32e553(0x2c2)]&&(_0x328763['server_no_context_takeover']=!0x0),_0x3b02c2['clientNoContextTakeover']&&(_0x328763[_0x32e553(0x1d5)]=!0x0),typeof _0x3b02c2[_0x32e553(0x2f9)]==_0x32e553(0x238)&&(_0x328763[_0x32e553(0x2d2)]=_0x3b02c2[_0x32e553(0x2f9)]),typeof _0x3b02c2[_0x32e553(0x2b7)]==_0x32e553(0x238)?_0x328763[_0x32e553(0x1a3)]=_0x3b02c2['clientMaxWindowBits']:(_0x328763[_0x32e553(0x1a3)]===!0x0||_0x3b02c2['clientMaxWindowBits']===!0x1)&&delete _0x328763['client_max_window_bits'],_0x328763;}[_0x30e931(0x277)](_0x40d5fc){const _0x51aa78=_0x30e931,_0x24ae27=_0x40d5fc[0x0];if(this['_options'][_0x51aa78(0x310)]===!0x1&&_0x24ae27[_0x51aa78(0x1d5)])throw new Error(_0x51aa78(0x173));if(!_0x24ae27[_0x51aa78(0x1a3)])typeof this['_options'][_0x51aa78(0x2b7)]=='number'&&(_0x24ae27[_0x51aa78(0x1a3)]=this[_0x51aa78(0x17b)][_0x51aa78(0x2b7)]);else{if(this[_0x51aa78(0x17b)]['clientMaxWindowBits']===!0x1||typeof this[_0x51aa78(0x17b)][_0x51aa78(0x2b7)]==_0x51aa78(0x238)&&_0x24ae27[_0x51aa78(0x1a3)]>this[_0x51aa78(0x17b)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x24ae27;}['normalizeParams'](_0x4d977b){const _0x3ce566=_0x30e931;return _0x4d977b[_0x3ce566(0x2f4)](_0x139057=>{Object['keys'](_0x139057)['forEach'](_0x14afee=>{const _0xc46b99=_0x2141;let _0x3a9df0=_0x139057[_0x14afee];if(_0x3a9df0[_0xc46b99(0x2a1)]>0x1)throw new Error(_0xc46b99(0x1bb)+_0x14afee+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x3a9df0=_0x3a9df0[0x0],_0x14afee===_0xc46b99(0x1a3)){if(_0x3a9df0!==!0x0){const _0x3c1847=+_0x3a9df0;if(!Number[_0xc46b99(0x17e)](_0x3c1847)||_0x3c1847<0x8||_0x3c1847>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14afee+'\x22:\x20'+_0x3a9df0);_0x3a9df0=_0x3c1847;}else{if(!this[_0xc46b99(0x190)])throw new TypeError(_0xc46b99(0x1c1)+_0x14afee+_0xc46b99(0x177)+_0x3a9df0);}}else{if(_0x14afee===_0xc46b99(0x2d2)){const _0x2a862b=+_0x3a9df0;if(!Number[_0xc46b99(0x17e)](_0x2a862b)||_0x2a862b<0x8||_0x2a862b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14afee+_0xc46b99(0x177)+_0x3a9df0);_0x3a9df0=_0x2a862b;}else{if(_0x14afee===_0xc46b99(0x1d5)||_0x14afee==='server_no_context_takeover'){if(_0x3a9df0!==!0x0)throw new TypeError(_0xc46b99(0x1c1)+_0x14afee+_0xc46b99(0x177)+_0x3a9df0);}else throw new Error(_0xc46b99(0x30a)+_0x14afee+'\x22');}}_0x139057[_0x14afee]=_0x3a9df0;});}),_0x4d977b;}[_0x30e931(0x1ea)](_0x512619,_0x58d7b5,_0x4374f3){const _0x4c9290=_0x30e931;_0x56a79d[_0x4c9290(0x244)](_0x525f2f=>{const _0x5adf12=_0x4c9290;this[_0x5adf12(0x2f0)](_0x512619,_0x58d7b5,(_0x5c7cce,_0x31f079)=>{_0x525f2f(),_0x4374f3(_0x5c7cce,_0x31f079);});});}[_0x30e931(0x335)](_0x12a031,_0x37ce04,_0x2029c7){const _0x16a064=_0x30e931;_0x56a79d[_0x16a064(0x244)](_0x117349=>{const _0x19119c=_0x16a064;this[_0x19119c(0x1f5)](_0x12a031,_0x37ce04,(_0x4ea9c2,_0x439399)=>{_0x117349(),_0x2029c7(_0x4ea9c2,_0x439399);});});}[_0x30e931(0x2f0)](_0x10ba8c,_0x3ca160,_0x34e7ef){const _0x26684b=_0x30e931,_0xaf550=this[_0x26684b(0x190)]?_0x26684b(0x2cc):_0x26684b(0x2d6);if(!this[_0x26684b(0x178)]){const _0x370474=_0xaf550+'_max_window_bits',_0x55843d=typeof this[_0x26684b(0x249)][_0x370474]!=_0x26684b(0x238)?_0xa90a44[_0x26684b(0x323)]:this[_0x26684b(0x249)][_0x370474];this[_0x26684b(0x178)]=_0xa90a44[_0x26684b(0x1ab)]({...this[_0x26684b(0x17b)][_0x26684b(0x276)],'windowBits':_0x55843d}),this[_0x26684b(0x178)][_0x2e5115]=this,this[_0x26684b(0x178)][_0x3d5ad2]=0x0,this[_0x26684b(0x178)][_0x7c4c33]=[],this[_0x26684b(0x178)]['on'](_0x26684b(0x1f8),_0x318a46),this['_inflate']['on'](_0x26684b(0x2b1),_0x4ff661);}this['_inflate'][_0x472741]=_0x34e7ef,this[_0x26684b(0x178)][_0x26684b(0x1a1)](_0x10ba8c),_0x3ca160&&this[_0x26684b(0x178)]['write'](_0x589664),this[_0x26684b(0x178)][_0x26684b(0x179)](()=>{const _0x104ecf=_0x26684b,_0x5f2698=this[_0x104ecf(0x178)][_0x45e34d];if(_0x5f2698){this[_0x104ecf(0x178)][_0x104ecf(0x236)](),this[_0x104ecf(0x178)]=null,_0x34e7ef(_0x5f2698);return;}const _0x157248=_0x854bb8[_0x104ecf(0x2dd)](this[_0x104ecf(0x178)][_0x7c4c33],this[_0x104ecf(0x178)][_0x3d5ad2]);this[_0x104ecf(0x178)]['_readableState']['endEmitted']?(this[_0x104ecf(0x178)]['close'](),this['_inflate']=null):(this[_0x104ecf(0x178)][_0x3d5ad2]=0x0,this[_0x104ecf(0x178)][_0x7c4c33]=[],_0x3ca160&&this[_0x104ecf(0x249)][_0xaf550+_0x104ecf(0x2e0)]&&this['_inflate'][_0x104ecf(0x205)]()),_0x34e7ef(null,_0x157248);});}[_0x30e931(0x1f5)](_0x9b961b,_0xaa70d4,_0x1e7bed){const _0xf0fd32=_0x30e931,_0x1483e4=this[_0xf0fd32(0x190)]?_0xf0fd32(0x2d6):'client';if(!this[_0xf0fd32(0x2ef)]){const _0x5cf869=_0x1483e4+_0xf0fd32(0x235),_0x425498=typeof this[_0xf0fd32(0x249)][_0x5cf869]!='number'?_0xa90a44['Z_DEFAULT_WINDOWBITS']:this[_0xf0fd32(0x249)][_0x5cf869];this[_0xf0fd32(0x2ef)]=_0xa90a44[_0xf0fd32(0x1d9)]({...this[_0xf0fd32(0x17b)][_0xf0fd32(0x2ac)],'windowBits':_0x425498}),this[_0xf0fd32(0x2ef)][_0x3d5ad2]=0x0,this[_0xf0fd32(0x2ef)][_0x7c4c33]=[],this[_0xf0fd32(0x2ef)]['on']('data',_0x2bf847);}this[_0xf0fd32(0x2ef)][_0x472741]=_0x1e7bed,this[_0xf0fd32(0x2ef)][_0xf0fd32(0x1a1)](_0x9b961b),this['_deflate'][_0xf0fd32(0x179)](_0xa90a44[_0xf0fd32(0x23a)],()=>{const _0x3d2aa7=_0xf0fd32;if(!this[_0x3d2aa7(0x2ef)])return;let _0x5ecb2e=_0x854bb8[_0x3d2aa7(0x2dd)](this['_deflate'][_0x7c4c33],this[_0x3d2aa7(0x2ef)][_0x3d5ad2]);_0xaa70d4&&(_0x5ecb2e=new _0x2bf8c1(_0x5ecb2e[_0x3d2aa7(0x29a)],_0x5ecb2e['byteOffset'],_0x5ecb2e['length']-0x4)),this['_deflate'][_0x472741]=null,this[_0x3d2aa7(0x2ef)][_0x3d5ad2]=0x0,this[_0x3d2aa7(0x2ef)][_0x7c4c33]=[],_0xaa70d4&&this[_0x3d2aa7(0x249)][_0x1483e4+_0x3d2aa7(0x2e0)]&&this[_0x3d2aa7(0x2ef)][_0x3d2aa7(0x205)](),_0x1e7bed(null,_0x5ecb2e);});}}ve=_0x5ba1b5;function _0x2bf847(_0x187584){const _0xf450c0=_0x30e931;this[_0x7c4c33][_0xf450c0(0x2b0)](_0x187584),this[_0x3d5ad2]+=_0x187584[_0xf450c0(0x2a1)];}function _0x4ff661(_0x50d817){const _0x1e45d6=_0x30e931;if(this[_0x3d5ad2]+=_0x50d817[_0x1e45d6(0x2a1)],this[_0x2e5115][_0x1e45d6(0x2ea)]<0x1||this[_0x3d5ad2]<=this[_0x2e5115][_0x1e45d6(0x2ea)]){this[_0x7c4c33][_0x1e45d6(0x2b0)](_0x50d817);return;}this[_0x45e34d]=new RangeError(_0x1e45d6(0x19b)),this[_0x45e34d][_0x1e45d6(0x1a9)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x45e34d][_0x1240a8]=0x3f1,this['removeListener'](_0x1e45d6(0x2b1),_0x4ff661),this[_0x1e45d6(0x205)]();}function _0x318a46(_0x13ed02){const _0x2fdac0=_0x30e931;this[_0x2e5115][_0x2fdac0(0x178)]=null,_0x13ed02[_0x1240a8]=0x3ef,this[_0x472741](_0x13ed02);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x1ec0b0(0x2de)]({'__proto__':null,'default':Dt},Symbol[_0x1ec0b0(0x186)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0xcb850c=_0x1ec0b0;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x5668cb}=wt,{hasBlob:_0x3de818}=H(),_0x44a98b=[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 _0x2826bf(_0x163d6e){return _0x163d6e>=0x3e8&&_0x163d6e<=0x3f6&&_0x163d6e!==0x3ec&&_0x163d6e!==0x3ed&&_0x163d6e!==0x3ee||_0x163d6e>=0xbb8&&_0x163d6e<=0x1387;}function _0x20348b(_0x101bcf){const _0x20239b=_0x2141,_0x218a8b=_0x101bcf[_0x20239b(0x2a1)];let _0x20f713=0x0;for(;_0x20f713<_0x218a8b;)if((_0x101bcf[_0x20f713]&0x80)===0x0)_0x20f713++;else{if((_0x101bcf[_0x20f713]&0xe0)===0xc0){if(_0x20f713+0x1===_0x218a8b||(_0x101bcf[_0x20f713+0x1]&0xc0)!==0x80||(_0x101bcf[_0x20f713]&0xfe)===0xc0)return!0x1;_0x20f713+=0x2;}else{if((_0x101bcf[_0x20f713]&0xf0)===0xe0){if(_0x20f713+0x2>=_0x218a8b||(_0x101bcf[_0x20f713+0x1]&0xc0)!==0x80||(_0x101bcf[_0x20f713+0x2]&0xc0)!==0x80||_0x101bcf[_0x20f713]===0xe0&&(_0x101bcf[_0x20f713+0x1]&0xe0)===0x80||_0x101bcf[_0x20f713]===0xed&&(_0x101bcf[_0x20f713+0x1]&0xe0)===0xa0)return!0x1;_0x20f713+=0x3;}else{if((_0x101bcf[_0x20f713]&0xf8)===0xf0){if(_0x20f713+0x3>=_0x218a8b||(_0x101bcf[_0x20f713+0x1]&0xc0)!==0x80||(_0x101bcf[_0x20f713+0x2]&0xc0)!==0x80||(_0x101bcf[_0x20f713+0x3]&0xc0)!==0x80||_0x101bcf[_0x20f713]===0xf0&&(_0x101bcf[_0x20f713+0x1]&0xf0)===0x80||_0x101bcf[_0x20f713]===0xf4&&_0x101bcf[_0x20f713+0x1]>0x8f||_0x101bcf[_0x20f713]>0xf4)return!0x1;_0x20f713+=0x4;}else return!0x1;}}}return!0x0;}function _0x1ecac6(_0x5a56de){const _0xa3607b=_0x2141;return _0x3de818&&typeof _0x5a56de==_0xa3607b(0x314)&&typeof _0x5a56de[_0xa3607b(0x1fd)]==_0xa3607b(0x2bc)&&typeof _0x5a56de[_0xa3607b(0x2e3)]==_0xa3607b(0x28d)&&typeof _0x5a56de[_0xa3607b(0x24a)]=='function'&&(_0x5a56de[Symbol[_0xa3607b(0x186)]]===_0xa3607b(0x2bf)||_0x5a56de[Symbol[_0xa3607b(0x186)]]===_0xa3607b(0x28c));}if(ie['exports']={'isBlob':_0x1ecac6,'isValidStatusCode':_0x2826bf,'isValidUTF8':_0x20348b,'tokenChars':_0x44a98b},_0x5668cb)ie[_0xcb850c(0x332)][_0xcb850c(0x2f3)]=function(_0x4c2eb6){const _0x59be60=_0xcb850c;return _0x4c2eb6[_0x59be60(0x2a1)]<0x18?_0x20348b(_0x4c2eb6):_0x5668cb(_0x4c2eb6);};else{if(!process[_0xcb850c(0x2c9)]['WS_NO_UTF_8_VALIDATE'])try{const _0x41d484=Bt;ie[_0xcb850c(0x332)][_0xcb850c(0x2f3)]=function(_0x541702){return _0x541702['length']<0x20?_0x20348b(_0x541702):_0x41d484(_0x541702);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x3683ac=_0x1ec0b0;if(Ke)return Se;Ke=0x1;const {Writable:_0x52cf46}=oe,_0x284f9a=he(),{BINARY_TYPES:_0x21e9b4,EMPTY_BUFFER:_0x1ed6f2,kStatusCode:_0x42d324,kWebSocket:_0x362739}=H(),{concat:_0x573a6f,toArrayBuffer:_0x4d7c5a,unmask:_0x561426}=ce(),{isValidStatusCode:_0x200b46,isValidUTF8:_0x3c0341}=ae(),_0x1a5090=Buffer[Symbol[_0x3683ac(0x337)]],_0x420d99=0x0,_0x1d9b0b=0x1,_0x2d2aeb=0x2,_0x39516c=0x3,_0x2fcb98=0x4,_0x569203=0x5,_0x681777=0x6;class _0x155ce7 extends _0x52cf46{constructor(_0x5714fa={}){const _0x43a9d4=_0x3683ac;super(),this[_0x43a9d4(0x22a)]=_0x5714fa[_0x43a9d4(0x316)]!==void 0x0?_0x5714fa[_0x43a9d4(0x316)]:!0x0,this[_0x43a9d4(0x288)]=_0x5714fa['binaryType']||_0x21e9b4[0x0],this[_0x43a9d4(0x2a7)]=_0x5714fa['extensions']||{},this[_0x43a9d4(0x190)]=!!_0x5714fa['isServer'],this[_0x43a9d4(0x2ea)]=_0x5714fa[_0x43a9d4(0x24e)]|0x0,this['_skipUTF8Validation']=!!_0x5714fa[_0x43a9d4(0x184)],this[_0x362739]=void 0x0,this[_0x43a9d4(0x26a)]=0x0,this[_0x43a9d4(0x2a8)]=[],this['_compressed']=!0x1,this[_0x43a9d4(0x312)]=0x0,this[_0x43a9d4(0x180)]=void 0x0,this[_0x43a9d4(0x29c)]=0x0,this[_0x43a9d4(0x297)]=!0x1,this[_0x43a9d4(0x1cb)]=!0x1,this[_0x43a9d4(0x2eb)]=0x0,this[_0x43a9d4(0x311)]=0x0,this[_0x43a9d4(0x246)]=0x0,this[_0x43a9d4(0x1f6)]=[],this[_0x43a9d4(0x215)]=!0x1,this[_0x43a9d4(0x1d4)]=!0x1,this['_state']=_0x420d99;}[_0x3683ac(0x31c)](_0x17ece4,_0x2712e1,_0x5e7bad){const _0x3d75e7=_0x3683ac;if(this['_opcode']===0x8&&this['_state']==_0x420d99)return _0x5e7bad();this[_0x3d75e7(0x26a)]+=_0x17ece4[_0x3d75e7(0x2a1)],this[_0x3d75e7(0x2a8)][_0x3d75e7(0x2b0)](_0x17ece4),this['startLoop'](_0x5e7bad);}[_0x3683ac(0x2b6)](_0x2a5761){const _0x3b74b1=_0x3683ac;if(this[_0x3b74b1(0x26a)]-=_0x2a5761,_0x2a5761===this[_0x3b74b1(0x2a8)][0x0]['length'])return this[_0x3b74b1(0x2a8)][_0x3b74b1(0x223)]();if(_0x2a5761<this['_buffers'][0x0][_0x3b74b1(0x2a1)]){const _0x59e906=this[_0x3b74b1(0x2a8)][0x0];return this[_0x3b74b1(0x2a8)][0x0]=new _0x1a5090(_0x59e906[_0x3b74b1(0x29a)],_0x59e906[_0x3b74b1(0x2c8)]+_0x2a5761,_0x59e906['length']-_0x2a5761),new _0x1a5090(_0x59e906[_0x3b74b1(0x29a)],_0x59e906[_0x3b74b1(0x2c8)],_0x2a5761);}const _0x210a56=Buffer[_0x3b74b1(0x2cf)](_0x2a5761);do{const _0x586474=this[_0x3b74b1(0x2a8)][0x0],_0x19970b=_0x210a56[_0x3b74b1(0x2a1)]-_0x2a5761;_0x2a5761>=_0x586474['length']?_0x210a56[_0x3b74b1(0x241)](this[_0x3b74b1(0x2a8)][_0x3b74b1(0x223)](),_0x19970b):(_0x210a56[_0x3b74b1(0x241)](new Uint8Array(_0x586474['buffer'],_0x586474[_0x3b74b1(0x2c8)],_0x2a5761),_0x19970b),this[_0x3b74b1(0x2a8)][0x0]=new _0x1a5090(_0x586474['buffer'],_0x586474[_0x3b74b1(0x2c8)]+_0x2a5761,_0x586474[_0x3b74b1(0x2a1)]-_0x2a5761)),_0x2a5761-=_0x586474[_0x3b74b1(0x2a1)];}while(_0x2a5761>0x0);return _0x210a56;}[_0x3683ac(0x1dc)](_0x22924f){const _0x510fab=_0x3683ac;this[_0x510fab(0x1d4)]=!0x0;do switch(this[_0x510fab(0x269)]){case _0x420d99:this[_0x510fab(0x22c)](_0x22924f);break;case _0x1d9b0b:this['getPayloadLength16'](_0x22924f);break;case _0x2d2aeb:this['getPayloadLength64'](_0x22924f);break;case _0x39516c:this[_0x510fab(0x1ac)]();break;case _0x2fcb98:this['getData'](_0x22924f);break;case _0x569203:case _0x681777:this[_0x510fab(0x1d4)]=!0x1;return;}while(this[_0x510fab(0x1d4)]);this[_0x510fab(0x215)]||_0x22924f();}[_0x3683ac(0x22c)](_0x2d81b7){const _0x3c7327=_0x3683ac;if(this[_0x3c7327(0x26a)]<0x2){this[_0x3c7327(0x1d4)]=!0x1;return;}const _0x18d063=this[_0x3c7327(0x2b6)](0x2);if((_0x18d063[0x0]&0x30)!==0x0){const _0x120695=this[_0x3c7327(0x2e7)](RangeError,_0x3c7327(0x1b2),!0x0,0x3ea,_0x3c7327(0x202));_0x2d81b7(_0x120695);return;}const _0x3b548a=(_0x18d063[0x0]&0x40)===0x40;if(_0x3b548a&&!this['_extensions'][_0x284f9a[_0x3c7327(0x2e4)]]){const _0x52a0ba=this[_0x3c7327(0x2e7)](RangeError,_0x3c7327(0x2b9),!0x0,0x3ea,_0x3c7327(0x339));_0x2d81b7(_0x52a0ba);return;}if(this[_0x3c7327(0x1cb)]=(_0x18d063[0x0]&0x80)===0x80,this['_opcode']=_0x18d063[0x0]&0xf,this[_0x3c7327(0x312)]=_0x18d063[0x1]&0x7f,this[_0x3c7327(0x2eb)]===0x0){if(_0x3b548a){const _0x96fa0f=this['createError'](RangeError,_0x3c7327(0x2b9),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2d81b7(_0x96fa0f);return;}if(!this[_0x3c7327(0x29c)]){const _0x2d3c98=this[_0x3c7327(0x2e7)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3c7327(0x30b));_0x2d81b7(_0x2d3c98);return;}this[_0x3c7327(0x2eb)]=this['_fragmented'];}else{if(this[_0x3c7327(0x2eb)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x181299=this[_0x3c7327(0x2e7)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x3c7327(0x30b));_0x2d81b7(_0x181299);return;}this[_0x3c7327(0x1da)]=_0x3b548a;}else{if(this[_0x3c7327(0x2eb)]>0x7&&this[_0x3c7327(0x2eb)]<0xb){if(!this[_0x3c7327(0x1cb)]){const _0x5e5a3d=this[_0x3c7327(0x2e7)](RangeError,_0x3c7327(0x2c0),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x2d81b7(_0x5e5a3d);return;}if(_0x3b548a){const _0x2afc06=this[_0x3c7327(0x2e7)](RangeError,_0x3c7327(0x2b9),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2d81b7(_0x2afc06);return;}if(this[_0x3c7327(0x312)]>0x7d||this[_0x3c7327(0x2eb)]===0x8&&this[_0x3c7327(0x312)]===0x1){const _0x6a6204=this['createError'](RangeError,_0x3c7327(0x25d)+this[_0x3c7327(0x312)],!0x0,0x3ea,_0x3c7327(0x2d1));_0x2d81b7(_0x6a6204);return;}}else{const _0x334ac6=this[_0x3c7327(0x2e7)](RangeError,_0x3c7327(0x2fe)+this[_0x3c7327(0x2eb)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2d81b7(_0x334ac6);return;}}}if(!this[_0x3c7327(0x1cb)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x3c7327(0x2eb)]),this[_0x3c7327(0x297)]=(_0x18d063[0x1]&0x80)===0x80,this[_0x3c7327(0x190)]){if(!this[_0x3c7327(0x297)]){const _0x15c52b=this[_0x3c7327(0x2e7)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x2d81b7(_0x15c52b);return;}}else{if(this['_masked']){const _0x4ac5fd=this[_0x3c7327(0x2e7)](RangeError,_0x3c7327(0x289),!0x0,0x3ea,_0x3c7327(0x2a0));_0x2d81b7(_0x4ac5fd);return;}}this[_0x3c7327(0x312)]===0x7e?this['_state']=_0x1d9b0b:this[_0x3c7327(0x312)]===0x7f?this[_0x3c7327(0x269)]=_0x2d2aeb:this[_0x3c7327(0x189)](_0x2d81b7);}[_0x3683ac(0x225)](_0x262dd3){const _0x54b720=_0x3683ac;if(this[_0x54b720(0x26a)]<0x2){this[_0x54b720(0x1d4)]=!0x1;return;}this['_payloadLength']=this[_0x54b720(0x2b6)](0x2)['readUInt16BE'](0x0),this[_0x54b720(0x189)](_0x262dd3);}['getPayloadLength64'](_0x242d0a){const _0x53f947=_0x3683ac;if(this[_0x53f947(0x26a)]<0x8){this[_0x53f947(0x1d4)]=!0x1;return;}const _0x8cbe39=this[_0x53f947(0x2b6)](0x8),_0x37843a=_0x8cbe39['readUInt32BE'](0x0);if(_0x37843a>Math['pow'](0x2,0x15)-0x1){const _0x56268a=this[_0x53f947(0x2e7)](RangeError,_0x53f947(0x32c),!0x1,0x3f1,_0x53f947(0x267));_0x242d0a(_0x56268a);return;}this['_payloadLength']=_0x37843a*Math[_0x53f947(0x290)](0x2,0x20)+_0x8cbe39[_0x53f947(0x318)](0x4),this[_0x53f947(0x189)](_0x242d0a);}[_0x3683ac(0x189)](_0x103b13){const _0x646e49=_0x3683ac;if(this['_payloadLength']&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x646e49(0x312)],this[_0x646e49(0x311)]>this[_0x646e49(0x2ea)]&&this['_maxPayload']>0x0)){const _0xe0a221=this[_0x646e49(0x2e7)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x646e49(0x306));_0x103b13(_0xe0a221);return;}this[_0x646e49(0x297)]?this[_0x646e49(0x269)]=_0x39516c:this[_0x646e49(0x269)]=_0x2fcb98;}[_0x3683ac(0x1ac)](){const _0x26b2af=_0x3683ac;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x26b2af(0x180)]=this['consume'](0x4),this[_0x26b2af(0x269)]=_0x2fcb98;}[_0x3683ac(0x212)](_0x2f6037){const _0x517e6b=_0x3683ac;let _0x1382e3=_0x1ed6f2;if(this['_payloadLength']){if(this[_0x517e6b(0x26a)]<this[_0x517e6b(0x312)]){this[_0x517e6b(0x1d4)]=!0x1;return;}_0x1382e3=this[_0x517e6b(0x2b6)](this[_0x517e6b(0x312)]),this['_masked']&&(this[_0x517e6b(0x180)][0x0]|this[_0x517e6b(0x180)][0x1]|this[_0x517e6b(0x180)][0x2]|this['_mask'][0x3])!==0x0&&_0x561426(_0x1382e3,this[_0x517e6b(0x180)]);}if(this[_0x517e6b(0x2eb)]>0x7){this[_0x517e6b(0x1f7)](_0x1382e3,_0x2f6037);return;}if(this[_0x517e6b(0x1da)]){this[_0x517e6b(0x269)]=_0x569203,this[_0x517e6b(0x1ea)](_0x1382e3,_0x2f6037);return;}_0x1382e3['length']&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x517e6b(0x1f6)]['push'](_0x1382e3)),this[_0x517e6b(0x21e)](_0x2f6037);}[_0x3683ac(0x1ea)](_0x4925f6,_0x68b99){const _0x385910=_0x3683ac;this[_0x385910(0x2a7)][_0x284f9a[_0x385910(0x2e4)]][_0x385910(0x1ea)](_0x4925f6,this['_fin'],(_0x90328d,_0x289560)=>{const _0x5b288c=_0x385910;if(_0x90328d)return _0x68b99(_0x90328d);if(_0x289560['length']){if(this[_0x5b288c(0x246)]+=_0x289560[_0x5b288c(0x2a1)],this[_0x5b288c(0x246)]>this['_maxPayload']&&this[_0x5b288c(0x2ea)]>0x0){const _0x4f35da=this[_0x5b288c(0x2e7)](RangeError,_0x5b288c(0x19b),!0x1,0x3f1,_0x5b288c(0x306));_0x68b99(_0x4f35da);return;}this[_0x5b288c(0x1f6)][_0x5b288c(0x2b0)](_0x289560);}this[_0x5b288c(0x21e)](_0x68b99),this['_state']===_0x420d99&&this[_0x5b288c(0x1dc)](_0x68b99);});}[_0x3683ac(0x21e)](_0x481035){const _0x436e87=_0x3683ac;if(!this[_0x436e87(0x1cb)]){this[_0x436e87(0x269)]=_0x420d99;return;}const _0x2d9900=this[_0x436e87(0x246)],_0xc18fca=this[_0x436e87(0x1f6)];if(this[_0x436e87(0x311)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x436e87(0x1f6)]=[],this['_opcode']===0x2){let _0x50b461;this['_binaryType']===_0x436e87(0x21d)?_0x50b461=_0x573a6f(_0xc18fca,_0x2d9900):this[_0x436e87(0x288)]==='arraybuffer'?_0x50b461=_0x4d7c5a(_0x573a6f(_0xc18fca,_0x2d9900)):this[_0x436e87(0x288)]===_0x436e87(0x25e)?_0x50b461=new Blob(_0xc18fca):_0x50b461=_0xc18fca,this['_allowSynchronousEvents']?(this[_0x436e87(0x328)](_0x436e87(0x1ba),_0x50b461,!0x0),this['_state']=_0x420d99):(this[_0x436e87(0x269)]=_0x681777,setImmediate(()=>{const _0xef8788=_0x436e87;this[_0xef8788(0x328)](_0xef8788(0x1ba),_0x50b461,!0x0),this['_state']=_0x420d99,this['startLoop'](_0x481035);}));}else{const _0x1f9581=_0x573a6f(_0xc18fca,_0x2d9900);if(!this[_0x436e87(0x2ed)]&&!_0x3c0341(_0x1f9581)){const _0x4cf49b=this[_0x436e87(0x2e7)](Error,_0x436e87(0x275),!0x0,0x3ef,_0x436e87(0x183));_0x481035(_0x4cf49b);return;}this['_state']===_0x569203||this[_0x436e87(0x22a)]?(this[_0x436e87(0x328)](_0x436e87(0x1ba),_0x1f9581,!0x1),this[_0x436e87(0x269)]=_0x420d99):(this['_state']=_0x681777,setImmediate(()=>{const _0x36be66=_0x436e87;this['emit'](_0x36be66(0x1ba),_0x1f9581,!0x1),this['_state']=_0x420d99,this[_0x36be66(0x1dc)](_0x481035);}));}}[_0x3683ac(0x1f7)](_0x121db2,_0x20a943){const _0x296b3b=_0x3683ac;if(this[_0x296b3b(0x2eb)]===0x8){if(_0x121db2['length']===0x0)this[_0x296b3b(0x1d4)]=!0x1,this[_0x296b3b(0x328)](_0x296b3b(0x23c),0x3ed,_0x1ed6f2),this[_0x296b3b(0x261)]();else{const _0x149c93=_0x121db2['readUInt16BE'](0x0);if(!_0x200b46(_0x149c93)){const _0x4bd7e8=this[_0x296b3b(0x2e7)](RangeError,_0x296b3b(0x32b)+_0x149c93,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x20a943(_0x4bd7e8);return;}const _0x13d2af=new _0x1a5090(_0x121db2['buffer'],_0x121db2['byteOffset']+0x2,_0x121db2[_0x296b3b(0x2a1)]-0x2);if(!this[_0x296b3b(0x2ed)]&&!_0x3c0341(_0x13d2af)){const _0x233eda=this[_0x296b3b(0x2e7)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x296b3b(0x183));_0x20a943(_0x233eda);return;}this['_loop']=!0x1,this[_0x296b3b(0x328)](_0x296b3b(0x23c),_0x149c93,_0x13d2af),this[_0x296b3b(0x261)]();}this[_0x296b3b(0x269)]=_0x420d99;return;}this[_0x296b3b(0x22a)]?(this[_0x296b3b(0x328)](this[_0x296b3b(0x2eb)]===0x9?_0x296b3b(0x1c0):_0x296b3b(0x1b5),_0x121db2),this[_0x296b3b(0x269)]=_0x420d99):(this[_0x296b3b(0x269)]=_0x681777,setImmediate(()=>{const _0x233ddd=_0x296b3b;this['emit'](this[_0x233ddd(0x2eb)]===0x9?_0x233ddd(0x1c0):_0x233ddd(0x1b5),_0x121db2),this['_state']=_0x420d99,this[_0x233ddd(0x1dc)](_0x20a943);}));}[_0x3683ac(0x2e7)](_0xcd4fcb,_0x219cfe,_0x1a12dd,_0x56d189,_0xbc8e50){const _0x576a6f=_0x3683ac;this[_0x576a6f(0x1d4)]=!0x1,this['_errored']=!0x0;const _0x5e1e66=new _0xcd4fcb(_0x1a12dd?_0x576a6f(0x264)+_0x219cfe:_0x219cfe);return Error[_0x576a6f(0x192)](_0x5e1e66,this[_0x576a6f(0x2e7)]),_0x5e1e66[_0x576a6f(0x1a9)]=_0xbc8e50,_0x5e1e66[_0x42d324]=_0x56d189,_0x5e1e66;}}return Se=_0x155ce7,Se;}var Ee,Xe;function ft(){const _0x4fcb57=_0x1ec0b0;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x221b3e}=oe,{randomFillSync:_0x10cdfc}=Le,_0x1cb984=he(),{EMPTY_BUFFER:_0x419a7c,kWebSocket:_0x16dca8,NOOP:_0x4f51bd}=H(),{isBlob:_0x477f31,isValidStatusCode:_0x3abd52}=ae(),{mask:_0x25935f,toBuffer:_0x480edd}=ce(),_0x52c2ec=Symbol(_0x4fcb57(0x1b3)),_0x44ad9=Buffer['alloc'](0x4),_0x579ce5=0x8*0x400;let _0x4532f5,_0x2486d6=_0x579ce5;const _0x419264=0x0,_0x22c763=0x1,_0x692b6b=0x2;class _0xf72abb{constructor(_0x1401d7,_0x5f4685,_0x4a2525){const _0x3187ba=_0x4fcb57;this[_0x3187ba(0x2a7)]=_0x5f4685||{},_0x4a2525&&(this[_0x3187ba(0x219)]=_0x4a2525,this[_0x3187ba(0x191)]=Buffer[_0x3187ba(0x28e)](0x4)),this['_socket']=_0x1401d7,this[_0x3187ba(0x176)]=!0x0,this[_0x3187ba(0x1f5)]=!0x1,this[_0x3187ba(0x26a)]=0x0,this[_0x3187ba(0x1ad)]=[],this[_0x3187ba(0x269)]=_0x419264,this[_0x3187ba(0x1a7)]=_0x4f51bd,this[_0x16dca8]=void 0x0;}static[_0x4fcb57(0x279)](_0x11eedb,_0x19f413){const _0x501590=_0x4fcb57;let _0x559c28,_0x45f773=!0x1,_0x45594c=0x2,_0xdbaba1=!0x1;_0x19f413[_0x501590(0x2bd)]&&(_0x559c28=_0x19f413[_0x501590(0x194)]||_0x44ad9,_0x19f413[_0x501590(0x17a)]?_0x19f413['generateMask'](_0x559c28):(_0x2486d6===_0x579ce5&&(_0x4532f5===void 0x0&&(_0x4532f5=Buffer['alloc'](_0x579ce5)),_0x10cdfc(_0x4532f5,0x0,_0x579ce5),_0x2486d6=0x0),_0x559c28[0x0]=_0x4532f5[_0x2486d6++],_0x559c28[0x1]=_0x4532f5[_0x2486d6++],_0x559c28[0x2]=_0x4532f5[_0x2486d6++],_0x559c28[0x3]=_0x4532f5[_0x2486d6++]),_0xdbaba1=(_0x559c28[0x0]|_0x559c28[0x1]|_0x559c28[0x2]|_0x559c28[0x3])===0x0,_0x45594c=0x6);let _0x1fddd8;typeof _0x11eedb==_0x501590(0x28d)?(!_0x19f413[_0x501590(0x2bd)]||_0xdbaba1)&&_0x19f413[_0x52c2ec]!==void 0x0?_0x1fddd8=_0x19f413[_0x52c2ec]:(_0x11eedb=Buffer[_0x501590(0x1a2)](_0x11eedb),_0x1fddd8=_0x11eedb[_0x501590(0x2a1)]):(_0x1fddd8=_0x11eedb['length'],_0x45f773=_0x19f413[_0x501590(0x2bd)]&&_0x19f413['readOnly']&&!_0xdbaba1);let _0x2da203=_0x1fddd8;_0x1fddd8>=0x10000?(_0x45594c+=0x8,_0x2da203=0x7f):_0x1fddd8>0x7d&&(_0x45594c+=0x2,_0x2da203=0x7e);const _0x1165be=Buffer[_0x501590(0x2cf)](_0x45f773?_0x1fddd8+_0x45594c:_0x45594c);return _0x1165be[0x0]=_0x19f413[_0x501590(0x228)]?_0x19f413[_0x501590(0x2a5)]|0x80:_0x19f413[_0x501590(0x2a5)],_0x19f413[_0x501590(0x303)]&&(_0x1165be[0x0]|=0x40),_0x1165be[0x1]=_0x2da203,_0x2da203===0x7e?_0x1165be[_0x501590(0x17f)](_0x1fddd8,0x2):_0x2da203===0x7f&&(_0x1165be[0x2]=_0x1165be[0x3]=0x0,_0x1165be[_0x501590(0x1b9)](_0x1fddd8,0x4,0x6)),_0x19f413['mask']?(_0x1165be[0x1]|=0x80,_0x1165be[_0x45594c-0x4]=_0x559c28[0x0],_0x1165be[_0x45594c-0x3]=_0x559c28[0x1],_0x1165be[_0x45594c-0x2]=_0x559c28[0x2],_0x1165be[_0x45594c-0x1]=_0x559c28[0x3],_0xdbaba1?[_0x1165be,_0x11eedb]:_0x45f773?(_0x25935f(_0x11eedb,_0x559c28,_0x1165be,_0x45594c,_0x1fddd8),[_0x1165be]):(_0x25935f(_0x11eedb,_0x559c28,_0x11eedb,0x0,_0x1fddd8),[_0x1165be,_0x11eedb])):[_0x1165be,_0x11eedb];}[_0x4fcb57(0x236)](_0x538062,_0x48e1c5,_0x1819fa,_0x2ea8c4){const _0x3c15fe=_0x4fcb57;let _0x3f9391;if(_0x538062===void 0x0)_0x3f9391=_0x419a7c;else{if(typeof _0x538062!='number'||!_0x3abd52(_0x538062))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x48e1c5===void 0x0||!_0x48e1c5[_0x3c15fe(0x2a1)])_0x3f9391=Buffer[_0x3c15fe(0x2cf)](0x2),_0x3f9391[_0x3c15fe(0x17f)](_0x538062,0x0);else{const _0x5da072=Buffer[_0x3c15fe(0x331)](_0x48e1c5);if(_0x5da072>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3f9391=Buffer['allocUnsafe'](0x2+_0x5da072),_0x3f9391[_0x3c15fe(0x17f)](_0x538062,0x0),typeof _0x48e1c5==_0x3c15fe(0x28d)?_0x3f9391[_0x3c15fe(0x1a1)](_0x48e1c5,0x2):_0x3f9391[_0x3c15fe(0x241)](_0x48e1c5,0x2);}}const _0x20bcfc={[_0x52c2ec]:_0x3f9391[_0x3c15fe(0x2a1)],'fin':!0x0,'generateMask':this[_0x3c15fe(0x219)],'mask':_0x1819fa,'maskBuffer':this[_0x3c15fe(0x191)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3c15fe(0x269)]!==_0x419264?this['enqueue']([this[_0x3c15fe(0x256)],_0x3f9391,!0x1,_0x20bcfc,_0x2ea8c4]):this[_0x3c15fe(0x25f)](_0xf72abb[_0x3c15fe(0x279)](_0x3f9391,_0x20bcfc),_0x2ea8c4);}[_0x4fcb57(0x1c0)](_0x4d4b09,_0x39e105,_0x186bba){const _0x15a7fe=_0x4fcb57;let _0x4566fb,_0xe1718c;if(typeof _0x4d4b09==_0x15a7fe(0x28d)?(_0x4566fb=Buffer[_0x15a7fe(0x331)](_0x4d4b09),_0xe1718c=!0x1):_0x477f31(_0x4d4b09)?(_0x4566fb=_0x4d4b09[_0x15a7fe(0x1ae)],_0xe1718c=!0x1):(_0x4d4b09=_0x480edd(_0x4d4b09),_0x4566fb=_0x4d4b09['length'],_0xe1718c=_0x480edd[_0x15a7fe(0x2fd)]),_0x4566fb>0x7d)throw new RangeError(_0x15a7fe(0x28a));const _0x2e7be3={[_0x52c2ec]:_0x4566fb,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x39e105,'maskBuffer':this[_0x15a7fe(0x191)],'opcode':0x9,'readOnly':_0xe1718c,'rsv1':!0x1};_0x477f31(_0x4d4b09)?this[_0x15a7fe(0x269)]!==_0x419264?this[_0x15a7fe(0x327)]([this[_0x15a7fe(0x1ce)],_0x4d4b09,!0x1,_0x2e7be3,_0x186bba]):this[_0x15a7fe(0x1ce)](_0x4d4b09,!0x1,_0x2e7be3,_0x186bba):this[_0x15a7fe(0x269)]!==_0x419264?this[_0x15a7fe(0x327)]([this[_0x15a7fe(0x256)],_0x4d4b09,!0x1,_0x2e7be3,_0x186bba]):this[_0x15a7fe(0x25f)](_0xf72abb[_0x15a7fe(0x279)](_0x4d4b09,_0x2e7be3),_0x186bba);}['pong'](_0x14ae87,_0xd0454,_0x370b85){const _0x1fda43=_0x4fcb57;let _0x4d93fe,_0x49d300;if(typeof _0x14ae87==_0x1fda43(0x28d)?(_0x4d93fe=Buffer['byteLength'](_0x14ae87),_0x49d300=!0x1):_0x477f31(_0x14ae87)?(_0x4d93fe=_0x14ae87[_0x1fda43(0x1ae)],_0x49d300=!0x1):(_0x14ae87=_0x480edd(_0x14ae87),_0x4d93fe=_0x14ae87[_0x1fda43(0x2a1)],_0x49d300=_0x480edd[_0x1fda43(0x2fd)]),_0x4d93fe>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5cca29={[_0x52c2ec]:_0x4d93fe,'fin':!0x0,'generateMask':this[_0x1fda43(0x219)],'mask':_0xd0454,'maskBuffer':this[_0x1fda43(0x191)],'opcode':0xa,'readOnly':_0x49d300,'rsv1':!0x1};_0x477f31(_0x14ae87)?this[_0x1fda43(0x269)]!==_0x419264?this[_0x1fda43(0x327)]([this[_0x1fda43(0x1ce)],_0x14ae87,!0x1,_0x5cca29,_0x370b85]):this[_0x1fda43(0x1ce)](_0x14ae87,!0x1,_0x5cca29,_0x370b85):this[_0x1fda43(0x269)]!==_0x419264?this[_0x1fda43(0x327)]([this['dispatch'],_0x14ae87,!0x1,_0x5cca29,_0x370b85]):this['sendFrame'](_0xf72abb[_0x1fda43(0x279)](_0x14ae87,_0x5cca29),_0x370b85);}[_0x4fcb57(0x1e8)](_0x11f4b5,_0x570767,_0x4164f0){const _0x28e710=_0x4fcb57,_0x1a290d=this[_0x28e710(0x2a7)][_0x1cb984[_0x28e710(0x2e4)]];let _0x3654d4=_0x570767['binary']?0x2:0x1,_0x3ff1d1=_0x570767[_0x28e710(0x335)],_0x581d7c,_0x2e8ceb;typeof _0x11f4b5=='string'?(_0x581d7c=Buffer[_0x28e710(0x331)](_0x11f4b5),_0x2e8ceb=!0x1):_0x477f31(_0x11f4b5)?(_0x581d7c=_0x11f4b5['size'],_0x2e8ceb=!0x1):(_0x11f4b5=_0x480edd(_0x11f4b5),_0x581d7c=_0x11f4b5[_0x28e710(0x2a1)],_0x2e8ceb=_0x480edd[_0x28e710(0x2fd)]),this['_firstFragment']?(this[_0x28e710(0x176)]=!0x1,_0x3ff1d1&&_0x1a290d&&_0x1a290d[_0x28e710(0x249)][_0x1a290d[_0x28e710(0x190)]?_0x28e710(0x1bc):'client_no_context_takeover']&&(_0x3ff1d1=_0x581d7c>=_0x1a290d[_0x28e710(0x262)]),this[_0x28e710(0x1f5)]=_0x3ff1d1):(_0x3ff1d1=!0x1,_0x3654d4=0x0),_0x570767[_0x28e710(0x228)]&&(this[_0x28e710(0x176)]=!0x0);const _0x16ddd8={[_0x52c2ec]:_0x581d7c,'fin':_0x570767[_0x28e710(0x228)],'generateMask':this[_0x28e710(0x219)],'mask':_0x570767[_0x28e710(0x2bd)],'maskBuffer':this[_0x28e710(0x191)],'opcode':_0x3654d4,'readOnly':_0x2e8ceb,'rsv1':_0x3ff1d1};_0x477f31(_0x11f4b5)?this['_state']!==_0x419264?this[_0x28e710(0x327)]([this[_0x28e710(0x1ce)],_0x11f4b5,this['_compress'],_0x16ddd8,_0x4164f0]):this[_0x28e710(0x1ce)](_0x11f4b5,this[_0x28e710(0x1f5)],_0x16ddd8,_0x4164f0):this[_0x28e710(0x269)]!==_0x419264?this[_0x28e710(0x327)]([this[_0x28e710(0x256)],_0x11f4b5,this[_0x28e710(0x1f5)],_0x16ddd8,_0x4164f0]):this[_0x28e710(0x256)](_0x11f4b5,this[_0x28e710(0x1f5)],_0x16ddd8,_0x4164f0);}[_0x4fcb57(0x1ce)](_0x385480,_0x2f84ae,_0x586a4c,_0x2cf2cc){const _0x331964=_0x4fcb57;this[_0x331964(0x26a)]+=_0x586a4c[_0x52c2ec],this[_0x331964(0x269)]=_0x692b6b,_0x385480['arrayBuffer']()['then'](_0x59bf09=>{const _0xe014cc=_0x331964;if(this['_socket'][_0xe014cc(0x2a6)]){const _0x52d254=new Error(_0xe014cc(0x29e));process[_0xe014cc(0x301)](_0x4db21c,this,_0x52d254,_0x2cf2cc);return;}this[_0xe014cc(0x26a)]-=_0x586a4c[_0x52c2ec];const _0x3fc837=_0x480edd(_0x59bf09);_0x2f84ae?this['dispatch'](_0x3fc837,_0x2f84ae,_0x586a4c,_0x2cf2cc):(this[_0xe014cc(0x269)]=_0x419264,this['sendFrame'](_0xf72abb[_0xe014cc(0x279)](_0x3fc837,_0x586a4c),_0x2cf2cc),this[_0xe014cc(0x1e9)]());})[_0x331964(0x2fc)](_0x422bf3=>{process['nextTick'](_0x168bd3,this,_0x422bf3,_0x2cf2cc);});}[_0x4fcb57(0x256)](_0x14cc9c,_0x2ced20,_0x5d474f,_0x354589){const _0x4d757a=_0x4fcb57;if(!_0x2ced20){this[_0x4d757a(0x25f)](_0xf72abb[_0x4d757a(0x279)](_0x14cc9c,_0x5d474f),_0x354589);return;}const _0x478950=this[_0x4d757a(0x2a7)][_0x1cb984[_0x4d757a(0x2e4)]];this[_0x4d757a(0x26a)]+=_0x5d474f[_0x52c2ec],this['_state']=_0x22c763,_0x478950[_0x4d757a(0x335)](_0x14cc9c,_0x5d474f[_0x4d757a(0x228)],(_0xb61f21,_0x83f37a)=>{const _0x311dd4=_0x4d757a;if(this['_socket']['destroyed']){const _0x14ed4e=new Error(_0x311dd4(0x1a0));_0x4db21c(this,_0x14ed4e,_0x354589);return;}this[_0x311dd4(0x26a)]-=_0x5d474f[_0x52c2ec],this['_state']=_0x419264,_0x5d474f[_0x311dd4(0x2fd)]=!0x1,this[_0x311dd4(0x25f)](_0xf72abb[_0x311dd4(0x279)](_0x83f37a,_0x5d474f),_0x354589),this[_0x311dd4(0x1e9)]();});}[_0x4fcb57(0x1e9)](){const _0x5866b6=_0x4fcb57;for(;this['_state']===_0x419264&&this[_0x5866b6(0x1ad)][_0x5866b6(0x2a1)];){const _0x221744=this[_0x5866b6(0x1ad)][_0x5866b6(0x223)]();this[_0x5866b6(0x26a)]-=_0x221744[0x3][_0x52c2ec],Reflect[_0x5866b6(0x229)](_0x221744[0x0],this,_0x221744[_0x5866b6(0x281)](0x1));}}[_0x4fcb57(0x327)](_0x129fcf){const _0x56574c=_0x4fcb57;this[_0x56574c(0x26a)]+=_0x129fcf[0x3][_0x52c2ec],this[_0x56574c(0x1ad)]['push'](_0x129fcf);}[_0x4fcb57(0x25f)](_0x58343d,_0x12e03a){const _0x3c3b0a=_0x4fcb57;_0x58343d[_0x3c3b0a(0x2a1)]===0x2?(this[_0x3c3b0a(0x263)][_0x3c3b0a(0x1d2)](),this[_0x3c3b0a(0x263)][_0x3c3b0a(0x1a1)](_0x58343d[0x0]),this[_0x3c3b0a(0x263)]['write'](_0x58343d[0x1],_0x12e03a),this[_0x3c3b0a(0x263)][_0x3c3b0a(0x336)]()):this[_0x3c3b0a(0x263)][_0x3c3b0a(0x1a1)](_0x58343d[0x0],_0x12e03a);}}Ee=_0xf72abb;function _0x4db21c(_0x4ea857,_0x16a975,_0x315d9c){const _0x5c27ec=_0x4fcb57;typeof _0x315d9c==_0x5c27ec(0x2bc)&&_0x315d9c(_0x16a975);for(let _0x5bb9fe=0x0;_0x5bb9fe<_0x4ea857[_0x5c27ec(0x1ad)][_0x5c27ec(0x2a1)];_0x5bb9fe++){const _0x1dd56c=_0x4ea857[_0x5c27ec(0x1ad)][_0x5bb9fe],_0x4db881=_0x1dd56c[_0x1dd56c[_0x5c27ec(0x2a1)]-0x1];typeof _0x4db881==_0x5c27ec(0x2bc)&&_0x4db881(_0x16a975);}}function _0x168bd3(_0x4605f1,_0x200d42,_0x76be21){_0x4db21c(_0x4605f1,_0x200d42,_0x76be21),_0x4605f1['onerror'](_0x200d42);}return Ee;}var xe,Ze;function It(){const _0x35e19a=_0x1ec0b0;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2abb14,kListener:_0x1a02a1}=H(),_0x8690b0=Symbol(_0x35e19a(0x1a4)),_0x3c1458=Symbol(_0x35e19a(0x2db)),_0x104541=Symbol('kError'),_0x5bb3cc=Symbol(_0x35e19a(0x28f)),_0x167e48=Symbol('kReason'),_0x3c5952=Symbol(_0x35e19a(0x2d7)),_0x440f44=Symbol(_0x35e19a(0x315)),_0x5b29c0=Symbol(_0x35e19a(0x26b));class _0x5ba526{constructor(_0x4c0d46){this[_0x3c5952]=null,this[_0x440f44]=_0x4c0d46;}get[_0x35e19a(0x19a)](){return this[_0x3c5952];}get['type'](){return this[_0x440f44];}}Object[_0x35e19a(0x2de)](_0x5ba526['prototype'],_0x35e19a(0x19a),{'enumerable':!0x0}),Object[_0x35e19a(0x2de)](_0x5ba526[_0x35e19a(0x24d)],'type',{'enumerable':!0x0});class _0x169092 extends _0x5ba526{constructor(_0x57a470,_0x34521f={}){const _0x1eb624=_0x35e19a;super(_0x57a470),this[_0x8690b0]=_0x34521f['code']===void 0x0?0x0:_0x34521f['code'],this[_0x167e48]=_0x34521f[_0x1eb624(0x1de)]===void 0x0?'':_0x34521f[_0x1eb624(0x1de)],this[_0x5b29c0]=_0x34521f[_0x1eb624(0x258)]===void 0x0?!0x1:_0x34521f[_0x1eb624(0x258)];}get['code'](){return this[_0x8690b0];}get[_0x35e19a(0x1de)](){return this[_0x167e48];}get[_0x35e19a(0x258)](){return this[_0x5b29c0];}}Object[_0x35e19a(0x2de)](_0x169092[_0x35e19a(0x24d)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x169092['prototype'],_0x35e19a(0x1de),{'enumerable':!0x0}),Object['defineProperty'](_0x169092[_0x35e19a(0x24d)],'wasClean',{'enumerable':!0x0});class _0x279dc4 extends _0x5ba526{constructor(_0x3877f4,_0x311ee4={}){const _0x3ab06f=_0x35e19a;super(_0x3877f4),this[_0x104541]=_0x311ee4[_0x3ab06f(0x1f8)]===void 0x0?null:_0x311ee4[_0x3ab06f(0x1f8)],this[_0x5bb3cc]=_0x311ee4[_0x3ab06f(0x1ba)]===void 0x0?'':_0x311ee4[_0x3ab06f(0x1ba)];}get[_0x35e19a(0x1f8)](){return this[_0x104541];}get['message'](){return this[_0x5bb3cc];}}Object['defineProperty'](_0x279dc4[_0x35e19a(0x24d)],_0x35e19a(0x1f8),{'enumerable':!0x0}),Object['defineProperty'](_0x279dc4['prototype'],_0x35e19a(0x1ba),{'enumerable':!0x0});class _0x2ab3f1 extends _0x5ba526{constructor(_0x3bd838,_0x2fba04={}){const _0x261e1e=_0x35e19a;super(_0x3bd838),this[_0x3c1458]=_0x2fba04[_0x261e1e(0x2b1)]===void 0x0?null:_0x2fba04[_0x261e1e(0x2b1)];}get[_0x35e19a(0x2b1)](){return this[_0x3c1458];}}Object[_0x35e19a(0x2de)](_0x2ab3f1[_0x35e19a(0x24d)],_0x35e19a(0x2b1),{'enumerable':!0x0}),xe={'CloseEvent':_0x169092,'ErrorEvent':_0x279dc4,'Event':_0x5ba526,'EventTarget':{'addEventListener'(_0x3715c4,_0x17937a,_0x5c0d3a={}){const _0x5d0e84=_0x35e19a;for(const _0x2f31da of this[_0x5d0e84(0x2c7)](_0x3715c4))if(!_0x5c0d3a[_0x2abb14]&&_0x2f31da[_0x1a02a1]===_0x17937a&&!_0x2f31da[_0x2abb14])return;let _0x3165b0;if(_0x3715c4==='message')_0x3165b0=function(_0x56ab63,_0x463291){const _0x35d459=_0x5d0e84,_0x43e8ba=new _0x2ab3f1(_0x35d459(0x1ba),{'data':_0x463291?_0x56ab63:_0x56ab63[_0x35d459(0x196)]()});_0x43e8ba[_0x3c5952]=this,_0x1054d9(_0x17937a,this,_0x43e8ba);};else{if(_0x3715c4===_0x5d0e84(0x236))_0x3165b0=function(_0x407180,_0x489dcd){const _0x522dcd=_0x5d0e84,_0x205ca1=new _0x169092(_0x522dcd(0x236),{'code':_0x407180,'reason':_0x489dcd['toString'](),'wasClean':this['_closeFrameReceived']&&this[_0x522dcd(0x304)]});_0x205ca1[_0x3c5952]=this,_0x1054d9(_0x17937a,this,_0x205ca1);};else{if(_0x3715c4===_0x5d0e84(0x1f8))_0x3165b0=function(_0x162fe5){const _0x24e0c8=_0x5d0e84,_0x462556=new _0x279dc4(_0x24e0c8(0x1f8),{'error':_0x162fe5,'message':_0x162fe5['message']});_0x462556[_0x3c5952]=this,_0x1054d9(_0x17937a,this,_0x462556);};else{if(_0x3715c4===_0x5d0e84(0x23f))_0x3165b0=function(){const _0x12330f=new _0x5ba526('open');_0x12330f[_0x3c5952]=this,_0x1054d9(_0x17937a,this,_0x12330f);};else return;}}}_0x3165b0[_0x2abb14]=!!_0x5c0d3a[_0x2abb14],_0x3165b0[_0x1a02a1]=_0x17937a,_0x5c0d3a[_0x5d0e84(0x206)]?this[_0x5d0e84(0x206)](_0x3715c4,_0x3165b0):this['on'](_0x3715c4,_0x3165b0);},'removeEventListener'(_0x3ed642,_0x196720){const _0x21b387=_0x35e19a;for(const _0x438992 of this[_0x21b387(0x2c7)](_0x3ed642))if(_0x438992[_0x1a02a1]===_0x196720&&!_0x438992[_0x2abb14]){this[_0x21b387(0x252)](_0x3ed642,_0x438992);break;}}},'MessageEvent':_0x2ab3f1};function _0x1054d9(_0x3bdfa6,_0x2f2efc,_0x1e7247){const _0xf06d20=_0x35e19a;typeof _0x3bdfa6=='object'&&_0x3bdfa6[_0xf06d20(0x197)]?_0x3bdfa6[_0xf06d20(0x197)][_0xf06d20(0x172)](_0x3bdfa6,_0x1e7247):_0x3bdfa6[_0xf06d20(0x172)](_0x2f2efc,_0x1e7247);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x212d48}=ae();function _0x211ae6(_0x55c0da,_0x508169,_0x281e8b){const _0x8f50af=_0x2141;_0x55c0da[_0x508169]===void 0x0?_0x55c0da[_0x508169]=[_0x281e8b]:_0x55c0da[_0x508169][_0x8f50af(0x2b0)](_0x281e8b);}function _0x28d9c8(_0x3dae84){const _0x2e0440=_0x2141,_0x55a363=Object[_0x2e0440(0x2b5)](null);let _0x3be712=Object[_0x2e0440(0x2b5)](null),_0x26c6ac=!0x1,_0x5d5b09=!0x1,_0x11f534=!0x1,_0x36b8e9,_0x460c57,_0x14253c=-0x1,_0x50d830=-0x1,_0x47b477=-0x1,_0x6d9671=0x0;for(;_0x6d9671<_0x3dae84[_0x2e0440(0x2a1)];_0x6d9671++)if(_0x50d830=_0x3dae84[_0x2e0440(0x242)](_0x6d9671),_0x36b8e9===void 0x0){if(_0x47b477===-0x1&&_0x212d48[_0x50d830]===0x1)_0x14253c===-0x1&&(_0x14253c=_0x6d9671);else{if(_0x6d9671!==0x0&&(_0x50d830===0x20||_0x50d830===0x9))_0x47b477===-0x1&&_0x14253c!==-0x1&&(_0x47b477=_0x6d9671);else{if(_0x50d830===0x3b||_0x50d830===0x2c){if(_0x14253c===-0x1)throw new SyntaxError(_0x2e0440(0x234)+_0x6d9671);_0x47b477===-0x1&&(_0x47b477=_0x6d9671);const _0x4fd7c5=_0x3dae84['slice'](_0x14253c,_0x47b477);_0x50d830===0x2c?(_0x211ae6(_0x55a363,_0x4fd7c5,_0x3be712),_0x3be712=Object[_0x2e0440(0x2b5)](null)):_0x36b8e9=_0x4fd7c5,_0x14253c=_0x47b477=-0x1;}else throw new SyntaxError(_0x2e0440(0x234)+_0x6d9671);}}}else{if(_0x460c57===void 0x0){if(_0x47b477===-0x1&&_0x212d48[_0x50d830]===0x1)_0x14253c===-0x1&&(_0x14253c=_0x6d9671);else{if(_0x50d830===0x20||_0x50d830===0x9)_0x47b477===-0x1&&_0x14253c!==-0x1&&(_0x47b477=_0x6d9671);else{if(_0x50d830===0x3b||_0x50d830===0x2c){if(_0x14253c===-0x1)throw new SyntaxError(_0x2e0440(0x234)+_0x6d9671);_0x47b477===-0x1&&(_0x47b477=_0x6d9671),_0x211ae6(_0x3be712,_0x3dae84[_0x2e0440(0x281)](_0x14253c,_0x47b477),!0x0),_0x50d830===0x2c&&(_0x211ae6(_0x55a363,_0x36b8e9,_0x3be712),_0x3be712=Object[_0x2e0440(0x2b5)](null),_0x36b8e9=void 0x0),_0x14253c=_0x47b477=-0x1;}else{if(_0x50d830===0x3d&&_0x14253c!==-0x1&&_0x47b477===-0x1)_0x460c57=_0x3dae84[_0x2e0440(0x281)](_0x14253c,_0x6d9671),_0x14253c=_0x47b477=-0x1;else throw new SyntaxError(_0x2e0440(0x234)+_0x6d9671);}}}}else{if(_0x5d5b09){if(_0x212d48[_0x50d830]!==0x1)throw new SyntaxError(_0x2e0440(0x234)+_0x6d9671);_0x14253c===-0x1?_0x14253c=_0x6d9671:_0x26c6ac||(_0x26c6ac=!0x0),_0x5d5b09=!0x1;}else{if(_0x11f534){if(_0x212d48[_0x50d830]===0x1)_0x14253c===-0x1&&(_0x14253c=_0x6d9671);else{if(_0x50d830===0x22&&_0x14253c!==-0x1)_0x11f534=!0x1,_0x47b477=_0x6d9671;else{if(_0x50d830===0x5c)_0x5d5b09=!0x0;else throw new SyntaxError(_0x2e0440(0x234)+_0x6d9671);}}}else{if(_0x50d830===0x22&&_0x3dae84[_0x2e0440(0x242)](_0x6d9671-0x1)===0x3d)_0x11f534=!0x0;else{if(_0x47b477===-0x1&&_0x212d48[_0x50d830]===0x1)_0x14253c===-0x1&&(_0x14253c=_0x6d9671);else{if(_0x14253c!==-0x1&&(_0x50d830===0x20||_0x50d830===0x9))_0x47b477===-0x1&&(_0x47b477=_0x6d9671);else{if(_0x50d830===0x3b||_0x50d830===0x2c){if(_0x14253c===-0x1)throw new SyntaxError(_0x2e0440(0x234)+_0x6d9671);_0x47b477===-0x1&&(_0x47b477=_0x6d9671);let _0x5d7097=_0x3dae84[_0x2e0440(0x281)](_0x14253c,_0x47b477);_0x26c6ac&&(_0x5d7097=_0x5d7097[_0x2e0440(0x2ce)](/\\/g,''),_0x26c6ac=!0x1),_0x211ae6(_0x3be712,_0x460c57,_0x5d7097),_0x50d830===0x2c&&(_0x211ae6(_0x55a363,_0x36b8e9,_0x3be712),_0x3be712=Object[_0x2e0440(0x2b5)](null),_0x36b8e9=void 0x0),_0x460c57=void 0x0,_0x14253c=_0x47b477=-0x1;}else throw new SyntaxError(_0x2e0440(0x234)+_0x6d9671);}}}}}}}if(_0x14253c===-0x1||_0x11f534||_0x50d830===0x20||_0x50d830===0x9)throw new SyntaxError(_0x2e0440(0x280));_0x47b477===-0x1&&(_0x47b477=_0x6d9671);const _0x8f185f=_0x3dae84[_0x2e0440(0x281)](_0x14253c,_0x47b477);return _0x36b8e9===void 0x0?_0x211ae6(_0x55a363,_0x8f185f,_0x3be712):(_0x460c57===void 0x0?_0x211ae6(_0x3be712,_0x8f185f,!0x0):_0x26c6ac?_0x211ae6(_0x3be712,_0x460c57,_0x8f185f[_0x2e0440(0x2ce)](/\\/g,'')):_0x211ae6(_0x3be712,_0x460c57,_0x8f185f),_0x211ae6(_0x55a363,_0x36b8e9,_0x3be712)),_0x55a363;}function _0x570859(_0x2d6544){const _0x31a77e=_0x2141;return Object[_0x31a77e(0x2cd)](_0x2d6544)[_0x31a77e(0x2c3)](_0x46de4e=>{const _0x5b42e5=_0x31a77e;let _0x5a84ea=_0x2d6544[_0x46de4e];return Array['isArray'](_0x5a84ea)||(_0x5a84ea=[_0x5a84ea]),_0x5a84ea['map'](_0x4924ff=>[_0x46de4e]['concat'](Object[_0x5b42e5(0x2cd)](_0x4924ff)['map'](_0x3482a0=>{const _0xcd1639=_0x5b42e5;let _0x451554=_0x4924ff[_0x3482a0];return Array[_0xcd1639(0x1ca)](_0x451554)||(_0x451554=[_0x451554]),_0x451554[_0xcd1639(0x2c3)](_0x45e678=>_0x45e678===!0x0?_0x3482a0:_0x3482a0+'='+_0x45e678)[_0xcd1639(0x1fa)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x31a77e(0x1fa)](',\x20');}return be={'format':_0x570859,'parse':_0x28d9c8},be;}var we,Je;function Pe(){const _0x599911=_0x1ec0b0;if(Je)return we;Je=0x1;const _0x2e329c=nt,_0x271f06=vt,_0x5dcefa=ot,_0x33e431=St,_0x37e309=Et,{randomBytes:_0x2c6377,createHash:_0x267397}=Le,{Duplex:_0x4009b0,Readable:_0x466a2f}=oe,{URL:_0x3f9195}=xt,_0x134aa7=he(),_0x1b36c5=lt(),_0x160cac=ft(),{isBlob:_0x2b0246}=ae(),{BINARY_TYPES:_0x337fcf,EMPTY_BUFFER:_0x56748b,GUID:_0x1f0a24,kForOnEventAttribute:_0x271655,kListener:_0x427041,kStatusCode:_0x289e3f,kWebSocket:_0x3a70b7,NOOP:_0x28d301}=H(),{EventTarget:{addEventListener:_0x13038a,removeEventListener:_0x41a183}}=It(),{format:_0xe61a09,parse:_0x5c6a3d}=ct(),{toBuffer:_0x52b1c0}=ce(),_0x36ec15=0x1e*0x3e8,_0x3c92e3=Symbol(_0x599911(0x1f0)),_0x4f4da2=[0x8,0xd],_0x3a54ee=[_0x599911(0x214),_0x599911(0x296),_0x599911(0x188),_0x599911(0x210)],_0x58e8d0=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2d4f5b extends _0x2e329c{constructor(_0x433093,_0x586a3a,_0x2ba793){const _0x487801=_0x599911;super(),this[_0x487801(0x288)]=_0x337fcf[0x0],this[_0x487801(0x18f)]=0x3ee,this[_0x487801(0x2b3)]=!0x1,this[_0x487801(0x304)]=!0x1,this[_0x487801(0x266)]=_0x56748b,this[_0x487801(0x30d)]=null,this[_0x487801(0x308)]=!0x1,this[_0x487801(0x2a7)]={},this[_0x487801(0x2e2)]=!0x1,this['_protocol']='',this['_readyState']=_0x2d4f5b[_0x487801(0x214)],this[_0x487801(0x1ff)]=null,this['_sender']=null,this['_socket']=null,_0x433093!==null?(this[_0x487801(0x1fe)]=0x0,this[_0x487801(0x190)]=!0x1,this[_0x487801(0x22f)]=0x0,_0x586a3a===void 0x0?_0x586a3a=[]:Array[_0x487801(0x1ca)](_0x586a3a)||(typeof _0x586a3a=='object'&&_0x586a3a!==null?(_0x2ba793=_0x586a3a,_0x586a3a=[]):_0x586a3a=[_0x586a3a]),_0x43829d(this,_0x433093,_0x586a3a,_0x2ba793)):(this['_autoPong']=_0x2ba793[_0x487801(0x1ef)],this['_isServer']=!0x0);}get[_0x599911(0x19d)](){return this['_binaryType'];}set[_0x599911(0x19d)](_0x46a4f6){const _0x5478ce=_0x599911;_0x337fcf[_0x5478ce(0x1d3)](_0x46a4f6)&&(this['_binaryType']=_0x46a4f6,this[_0x5478ce(0x1ff)]&&(this[_0x5478ce(0x1ff)][_0x5478ce(0x288)]=_0x46a4f6));}get[_0x599911(0x1c4)](){const _0x485d4a=_0x599911;return this[_0x485d4a(0x263)]?this[_0x485d4a(0x263)][_0x485d4a(0x268)]['length']+this[_0x485d4a(0x20c)]['_bufferedBytes']:this['_bufferedAmount'];}get['extensions'](){const _0x11aa2f=_0x599911;return Object['keys'](this[_0x11aa2f(0x2a7)])[_0x11aa2f(0x1fa)]();}get['isPaused'](){const _0x498347=_0x599911;return this[_0x498347(0x2e2)];}get[_0x599911(0x24b)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get[_0x599911(0x1e4)](){return null;}get[_0x599911(0x2ca)](){const _0x5e050b=_0x599911;return this[_0x5e050b(0x185)];}get[_0x599911(0x232)](){const _0x43b216=_0x599911;return this[_0x43b216(0x299)];}get['url'](){const _0x16d24e=_0x599911;return this[_0x16d24e(0x2a2)];}[_0x599911(0x2df)](_0x13c8fb,_0xeb0229,_0x27b6f0){const _0x28c372=_0x599911,_0x4e5f9a=new _0x1b36c5({'allowSynchronousEvents':_0x27b6f0[_0x28c372(0x316)],'binaryType':this[_0x28c372(0x19d)],'extensions':this['_extensions'],'isServer':this[_0x28c372(0x190)],'maxPayload':_0x27b6f0[_0x28c372(0x24e)],'skipUTF8Validation':_0x27b6f0['skipUTF8Validation']}),_0x18eb41=new _0x160cac(_0x13c8fb,this[_0x28c372(0x2a7)],_0x27b6f0['generateMask']);this[_0x28c372(0x1ff)]=_0x4e5f9a,this['_sender']=_0x18eb41,this['_socket']=_0x13c8fb,_0x4e5f9a[_0x3a70b7]=this,_0x18eb41[_0x3a70b7]=this,_0x13c8fb[_0x3a70b7]=this,_0x4e5f9a['on'](_0x28c372(0x23c),_0x571959),_0x4e5f9a['on'](_0x28c372(0x1bf),_0x576166),_0x4e5f9a['on'](_0x28c372(0x1f8),_0x49d0d4),_0x4e5f9a['on'](_0x28c372(0x1ba),_0x3f2974),_0x4e5f9a['on'](_0x28c372(0x1c0),_0xe4037d),_0x4e5f9a['on'](_0x28c372(0x1b5),_0xbf1eab),_0x18eb41[_0x28c372(0x1a7)]=_0x4756e0,_0x13c8fb[_0x28c372(0x1d0)]&&_0x13c8fb[_0x28c372(0x1d0)](0x0),_0x13c8fb['setNoDelay']&&_0x13c8fb[_0x28c372(0x295)](),_0xeb0229[_0x28c372(0x2a1)]>0x0&&_0x13c8fb[_0x28c372(0x243)](_0xeb0229),_0x13c8fb['on'](_0x28c372(0x236),_0x5f34f6),_0x13c8fb['on'](_0x28c372(0x2b1),_0x4ea981),_0x13c8fb['on']('end',_0x4d3077),_0x13c8fb['on'](_0x28c372(0x1f8),_0x335104),this[_0x28c372(0x299)]=_0x2d4f5b[_0x28c372(0x296)],this['emit'](_0x28c372(0x23f));}[_0x599911(0x2d4)](){const _0x342aad=_0x599911;if(!this[_0x342aad(0x263)]){this['_readyState']=_0x2d4f5b['CLOSED'],this['emit'](_0x342aad(0x236),this[_0x342aad(0x18f)],this[_0x342aad(0x266)]);return;}this['_extensions'][_0x134aa7[_0x342aad(0x2e4)]]&&this[_0x342aad(0x2a7)][_0x134aa7[_0x342aad(0x2e4)]][_0x342aad(0x1a5)](),this[_0x342aad(0x1ff)]['removeAllListeners'](),this[_0x342aad(0x299)]=_0x2d4f5b['CLOSED'],this[_0x342aad(0x328)](_0x342aad(0x236),this[_0x342aad(0x18f)],this[_0x342aad(0x266)]);}[_0x599911(0x236)](_0xc1b253,_0x148d0f){const _0x3c125e=_0x599911;if(this[_0x3c125e(0x232)]!==_0x2d4f5b['CLOSED']){if(this[_0x3c125e(0x232)]===_0x2d4f5b[_0x3c125e(0x214)]){_0x36d810(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3c125e(0x232)]===_0x2d4f5b[_0x3c125e(0x188)]){this[_0x3c125e(0x304)]&&(this[_0x3c125e(0x2b3)]||this[_0x3c125e(0x1ff)][_0x3c125e(0x268)][_0x3c125e(0x239)])&&this[_0x3c125e(0x263)][_0x3c125e(0x261)]();return;}this[_0x3c125e(0x299)]=_0x2d4f5b[_0x3c125e(0x188)],this[_0x3c125e(0x20c)]['close'](_0xc1b253,_0x148d0f,!this[_0x3c125e(0x190)],_0x4065cf=>{const _0x5a11b1=_0x3c125e;_0x4065cf||(this['_closeFrameSent']=!0x0,(this[_0x5a11b1(0x2b3)]||this[_0x5a11b1(0x1ff)]['_writableState']['errorEmitted'])&&this['_socket'][_0x5a11b1(0x261)]());}),_0x2e97b0(this);}}['pause'](){const _0x3bb379=_0x599911;this[_0x3bb379(0x232)]===_0x2d4f5b['CONNECTING']||this[_0x3bb379(0x232)]===_0x2d4f5b[_0x3bb379(0x210)]||(this[_0x3bb379(0x2e2)]=!0x0,this['_socket'][_0x3bb379(0x251)]());}[_0x599911(0x1c0)](_0x22783c,_0x567518,_0x5077fd){const _0x20d0f2=_0x599911;if(this[_0x20d0f2(0x232)]===_0x2d4f5b[_0x20d0f2(0x214)])throw new Error(_0x20d0f2(0x195));if(typeof _0x22783c==_0x20d0f2(0x2bc)?(_0x5077fd=_0x22783c,_0x22783c=_0x567518=void 0x0):typeof _0x567518=='function'&&(_0x5077fd=_0x567518,_0x567518=void 0x0),typeof _0x22783c==_0x20d0f2(0x238)&&(_0x22783c=_0x22783c['toString']()),this['readyState']!==_0x2d4f5b[_0x20d0f2(0x296)]){_0x5ed7bc(this,_0x22783c,_0x5077fd);return;}_0x567518===void 0x0&&(_0x567518=!this[_0x20d0f2(0x190)]),this['_sender'][_0x20d0f2(0x1c0)](_0x22783c||_0x56748b,_0x567518,_0x5077fd);}[_0x599911(0x1b5)](_0x5cc843,_0x4d4485,_0x5d1fae){const _0x36922c=_0x599911;if(this[_0x36922c(0x232)]===_0x2d4f5b[_0x36922c(0x214)])throw new Error(_0x36922c(0x195));if(typeof _0x5cc843=='function'?(_0x5d1fae=_0x5cc843,_0x5cc843=_0x4d4485=void 0x0):typeof _0x4d4485=='function'&&(_0x5d1fae=_0x4d4485,_0x4d4485=void 0x0),typeof _0x5cc843=='number'&&(_0x5cc843=_0x5cc843[_0x36922c(0x196)]()),this['readyState']!==_0x2d4f5b[_0x36922c(0x296)]){_0x5ed7bc(this,_0x5cc843,_0x5d1fae);return;}_0x4d4485===void 0x0&&(_0x4d4485=!this[_0x36922c(0x190)]),this[_0x36922c(0x20c)][_0x36922c(0x1b5)](_0x5cc843||_0x56748b,_0x4d4485,_0x5d1fae);}[_0x599911(0x307)](){const _0x112afc=_0x599911;this[_0x112afc(0x232)]===_0x2d4f5b[_0x112afc(0x214)]||this[_0x112afc(0x232)]===_0x2d4f5b[_0x112afc(0x210)]||(this['_paused']=!0x1,this[_0x112afc(0x1ff)][_0x112afc(0x268)][_0x112afc(0x274)]||this[_0x112afc(0x263)][_0x112afc(0x307)]());}[_0x599911(0x1e8)](_0x25c77c,_0x4eb16d,_0x1dbadb){const _0x2d9513=_0x599911;if(this[_0x2d9513(0x232)]===_0x2d4f5b[_0x2d9513(0x214)])throw new Error(_0x2d9513(0x195));if(typeof _0x4eb16d==_0x2d9513(0x2bc)&&(_0x1dbadb=_0x4eb16d,_0x4eb16d={}),typeof _0x25c77c==_0x2d9513(0x238)&&(_0x25c77c=_0x25c77c[_0x2d9513(0x196)]()),this[_0x2d9513(0x232)]!==_0x2d4f5b[_0x2d9513(0x296)]){_0x5ed7bc(this,_0x25c77c,_0x1dbadb);return;}const _0x43a0e9={'binary':typeof _0x25c77c!=_0x2d9513(0x28d),'mask':!this[_0x2d9513(0x190)],'compress':!0x0,'fin':!0x0,..._0x4eb16d};this[_0x2d9513(0x2a7)][_0x134aa7['extensionName']]||(_0x43a0e9[_0x2d9513(0x335)]=!0x1),this[_0x2d9513(0x20c)][_0x2d9513(0x1e8)](_0x25c77c||_0x56748b,_0x43a0e9,_0x1dbadb);}[_0x599911(0x217)](){const _0x2cf89f=_0x599911;if(this[_0x2cf89f(0x232)]!==_0x2d4f5b[_0x2cf89f(0x210)]){if(this[_0x2cf89f(0x232)]===_0x2d4f5b[_0x2cf89f(0x214)]){_0x36d810(this,this[_0x2cf89f(0x31f)],_0x2cf89f(0x23d));return;}this[_0x2cf89f(0x263)]&&(this[_0x2cf89f(0x299)]=_0x2d4f5b[_0x2cf89f(0x188)],this[_0x2cf89f(0x263)]['destroy']());}}}Object[_0x599911(0x2de)](_0x2d4f5b,'CONNECTING',{'enumerable':!0x0,'value':_0x3a54ee[_0x599911(0x30f)](_0x599911(0x214))}),Object[_0x599911(0x2de)](_0x2d4f5b[_0x599911(0x24d)],_0x599911(0x214),{'enumerable':!0x0,'value':_0x3a54ee[_0x599911(0x30f)](_0x599911(0x214))}),Object[_0x599911(0x2de)](_0x2d4f5b,'OPEN',{'enumerable':!0x0,'value':_0x3a54ee[_0x599911(0x30f)](_0x599911(0x296))}),Object[_0x599911(0x2de)](_0x2d4f5b[_0x599911(0x24d)],_0x599911(0x296),{'enumerable':!0x0,'value':_0x3a54ee[_0x599911(0x30f)](_0x599911(0x296))}),Object[_0x599911(0x2de)](_0x2d4f5b,'CLOSING',{'enumerable':!0x0,'value':_0x3a54ee['indexOf']('CLOSING')}),Object[_0x599911(0x2de)](_0x2d4f5b[_0x599911(0x24d)],'CLOSING',{'enumerable':!0x0,'value':_0x3a54ee['indexOf']('CLOSING')}),Object[_0x599911(0x2de)](_0x2d4f5b,_0x599911(0x210),{'enumerable':!0x0,'value':_0x3a54ee['indexOf'](_0x599911(0x210))}),Object[_0x599911(0x2de)](_0x2d4f5b[_0x599911(0x24d)],'CLOSED',{'enumerable':!0x0,'value':_0x3a54ee['indexOf'](_0x599911(0x210))}),['binaryType',_0x599911(0x1c4),_0x599911(0x248),_0x599911(0x237),_0x599911(0x2ca),_0x599911(0x232),_0x599911(0x333)][_0x599911(0x2f4)](_0x31394e=>{const _0x44bbc1=_0x599911;Object['defineProperty'](_0x2d4f5b[_0x44bbc1(0x24d)],_0x31394e,{'enumerable':!0x0});}),[_0x599911(0x23f),'error',_0x599911(0x236),'message'][_0x599911(0x2f4)](_0x1a9b69=>{const _0x3052b8=_0x599911;Object[_0x3052b8(0x2de)](_0x2d4f5b[_0x3052b8(0x24d)],'on'+_0x1a9b69,{'enumerable':!0x0,'get'(){const _0x316850=_0x3052b8;for(const _0xc665e7 of this[_0x316850(0x2c7)](_0x1a9b69))if(_0xc665e7[_0x271655])return _0xc665e7[_0x427041];return null;},'set'(_0x3021cb){const _0x140e22=_0x3052b8;for(const _0x3806a6 of this[_0x140e22(0x2c7)](_0x1a9b69))if(_0x3806a6[_0x271655]){this[_0x140e22(0x252)](_0x1a9b69,_0x3806a6);break;}typeof _0x3021cb=='function'&&this[_0x140e22(0x292)](_0x1a9b69,_0x3021cb,{[_0x271655]:!0x0});}});}),_0x2d4f5b[_0x599911(0x24d)][_0x599911(0x292)]=_0x13038a,_0x2d4f5b[_0x599911(0x24d)][_0x599911(0x209)]=_0x41a183,we=_0x2d4f5b;function _0x43829d(_0x5abb88,_0x4d9f00,_0x1cea4d,_0x489d68){const _0x36092f=_0x599911,_0x38f691={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4f4da2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x489d68,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5abb88[_0x36092f(0x1f3)]=_0x38f691[_0x36092f(0x1ef)],!_0x4f4da2[_0x36092f(0x1d3)](_0x38f691[_0x36092f(0x1fc)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x38f691[_0x36092f(0x1fc)]+_0x36092f(0x1d7)+_0x4f4da2[_0x36092f(0x1fa)](',\x20')+')');let _0x3b0ff5;if(_0x4d9f00 instanceof _0x3f9195)_0x3b0ff5=_0x4d9f00;else try{_0x3b0ff5=new _0x3f9195(_0x4d9f00);}catch{throw new SyntaxError(_0x36092f(0x245)+_0x4d9f00);}_0x3b0ff5[_0x36092f(0x2ca)]==='http:'?_0x3b0ff5[_0x36092f(0x2ca)]=_0x36092f(0x247):_0x3b0ff5[_0x36092f(0x2ca)]===_0x36092f(0x27b)&&(_0x3b0ff5[_0x36092f(0x2ca)]=_0x36092f(0x1e7)),_0x5abb88[_0x36092f(0x2a2)]=_0x3b0ff5[_0x36092f(0x230)];const _0x32e30b=_0x3b0ff5[_0x36092f(0x2ca)]===_0x36092f(0x1e7),_0x15b5cd=_0x3b0ff5['protocol']===_0x36092f(0x1bd);let _0xfaf8;if(_0x3b0ff5[_0x36092f(0x2ca)]!==_0x36092f(0x247)&&!_0x32e30b&&!_0x15b5cd?_0xfaf8=_0x36092f(0x29d):_0x15b5cd&&!_0x3b0ff5['pathname']?_0xfaf8=_0x36092f(0x272):_0x3b0ff5[_0x36092f(0x25b)]&&(_0xfaf8=_0x36092f(0x1d6)),_0xfaf8){const _0x17ba54=new SyntaxError(_0xfaf8);if(_0x5abb88[_0x36092f(0x22f)]===0x0)throw _0x17ba54;_0x2dca93(_0x5abb88,_0x17ba54);return;}const _0x1792c0=_0x32e30b?0x1bb:0x50,_0x39cde6=_0x2c6377(0x10)['toString'](_0x36092f(0x1b4)),_0x444c87=_0x32e30b?_0x271f06['request']:_0x5dcefa[_0x36092f(0x1e0)],_0x5064f4=new Set();let _0x12342e;if(_0x38f691[_0x36092f(0x17d)]=_0x38f691['createConnection']||(_0x32e30b?_0xf3ef0d:_0x1d3ca7),_0x38f691[_0x36092f(0x30c)]=_0x38f691[_0x36092f(0x30c)]||_0x1792c0,_0x38f691[_0x36092f(0x287)]=_0x3b0ff5[_0x36092f(0x287)]||_0x1792c0,_0x38f691['host']=_0x3b0ff5[_0x36092f(0x231)][_0x36092f(0x22d)]('[')?_0x3b0ff5[_0x36092f(0x231)][_0x36092f(0x281)](0x1,-0x1):_0x3b0ff5[_0x36092f(0x231)],_0x38f691[_0x36092f(0x285)]={..._0x38f691[_0x36092f(0x285)],'Sec-WebSocket-Version':_0x38f691[_0x36092f(0x1fc)],'Sec-WebSocket-Key':_0x39cde6,'Connection':_0x36092f(0x240),'Upgrade':_0x36092f(0x1a6)},_0x38f691['path']=_0x3b0ff5[_0x36092f(0x305)]+_0x3b0ff5[_0x36092f(0x1b6)],_0x38f691[_0x36092f(0x220)]=_0x38f691['handshakeTimeout'],_0x38f691[_0x36092f(0x324)]&&(_0x12342e=new _0x134aa7(_0x38f691[_0x36092f(0x324)]!==!0x0?_0x38f691[_0x36092f(0x324)]:{},!0x1,_0x38f691['maxPayload']),_0x38f691[_0x36092f(0x285)]['Sec-WebSocket-Extensions']=_0xe61a09({[_0x134aa7[_0x36092f(0x2e4)]]:_0x12342e[_0x36092f(0x181)]()})),_0x1cea4d['length']){for(const _0x320b6d of _0x1cea4d){if(typeof _0x320b6d!=_0x36092f(0x28d)||!_0x58e8d0['test'](_0x320b6d)||_0x5064f4[_0x36092f(0x1c9)](_0x320b6d))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x5064f4['add'](_0x320b6d);}_0x38f691[_0x36092f(0x285)]['Sec-WebSocket-Protocol']=_0x1cea4d[_0x36092f(0x1fa)](',');}if(_0x38f691[_0x36092f(0x1cd)]&&(_0x38f691[_0x36092f(0x1fc)]<0xd?_0x38f691[_0x36092f(0x285)][_0x36092f(0x2f7)]=_0x38f691['origin']:_0x38f691[_0x36092f(0x285)]['Origin']=_0x38f691[_0x36092f(0x1cd)]),(_0x3b0ff5[_0x36092f(0x1e2)]||_0x3b0ff5[_0x36092f(0x273)])&&(_0x38f691[_0x36092f(0x29b)]=_0x3b0ff5['username']+':'+_0x3b0ff5['password']),_0x15b5cd){const _0x2553b3=_0x38f691[_0x36092f(0x2e9)]['split'](':');_0x38f691['socketPath']=_0x2553b3[0x0],_0x38f691[_0x36092f(0x2e9)]=_0x2553b3[0x1];}let _0x262396;if(_0x38f691[_0x36092f(0x2a4)]){if(_0x5abb88[_0x36092f(0x22f)]===0x0){_0x5abb88[_0x36092f(0x2d0)]=_0x15b5cd,_0x5abb88[_0x36092f(0x270)]=_0x32e30b,_0x5abb88[_0x36092f(0x2f6)]=_0x15b5cd?_0x38f691[_0x36092f(0x1b8)]:_0x3b0ff5[_0x36092f(0x1c2)];const _0x96d859=_0x489d68&&_0x489d68[_0x36092f(0x285)];if(_0x489d68={..._0x489d68,'headers':{}},_0x96d859){for(const [_0x4249b2,_0x2a74a3]of Object['entries'](_0x96d859))_0x489d68[_0x36092f(0x285)][_0x4249b2[_0x36092f(0x18a)]()]=_0x2a74a3;}}else{if(_0x5abb88['listenerCount'](_0x36092f(0x2aa))===0x0){const _0x2f7306=_0x15b5cd?_0x5abb88[_0x36092f(0x2d0)]?_0x38f691['socketPath']===_0x5abb88[_0x36092f(0x2f6)]:!0x1:_0x5abb88['_originalIpc']?!0x1:_0x3b0ff5['host']===_0x5abb88[_0x36092f(0x2f6)];(!_0x2f7306||_0x5abb88[_0x36092f(0x270)]&&!_0x32e30b)&&(delete _0x38f691[_0x36092f(0x285)][_0x36092f(0x1c5)],delete _0x38f691['headers'][_0x36092f(0x200)],_0x2f7306||delete _0x38f691['headers'][_0x36092f(0x1c2)],_0x38f691[_0x36092f(0x29b)]=void 0x0);}}_0x38f691[_0x36092f(0x29b)]&&!_0x489d68[_0x36092f(0x285)][_0x36092f(0x1c5)]&&(_0x489d68['headers']['authorization']=_0x36092f(0x330)+Buffer['from'](_0x38f691[_0x36092f(0x29b)])['toString'](_0x36092f(0x1b4))),_0x262396=_0x5abb88['_req']=_0x444c87(_0x38f691),_0x5abb88['_redirects']&&_0x5abb88[_0x36092f(0x328)]('redirect',_0x5abb88[_0x36092f(0x333)],_0x262396);}else _0x262396=_0x5abb88[_0x36092f(0x31f)]=_0x444c87(_0x38f691);_0x38f691[_0x36092f(0x220)]&&_0x262396['on'](_0x36092f(0x220),()=>{const _0x1cac7f=_0x36092f;_0x36d810(_0x5abb88,_0x262396,_0x1cac7f(0x284));}),_0x262396['on'](_0x36092f(0x1f8),_0x5d105c=>{const _0x21f5f0=_0x36092f;_0x262396===null||_0x262396[_0x3c92e3]||(_0x262396=_0x5abb88[_0x21f5f0(0x31f)]=null,_0x2dca93(_0x5abb88,_0x5d105c));}),_0x262396['on']('response',_0x42c2cb=>{const _0x31186f=_0x36092f,_0x504469=_0x42c2cb[_0x31186f(0x285)][_0x31186f(0x31b)],_0x9393ae=_0x42c2cb[_0x31186f(0x32e)];if(_0x504469&&_0x38f691['followRedirects']&&_0x9393ae>=0x12c&&_0x9393ae<0x190){if(++_0x5abb88[_0x31186f(0x22f)]>_0x38f691['maxRedirects']){_0x36d810(_0x5abb88,_0x262396,_0x31186f(0x175));return;}_0x262396[_0x31186f(0x313)]();let _0x28b0a9;try{_0x28b0a9=new _0x3f9195(_0x504469,_0x4d9f00);}catch{const _0x18d180=new SyntaxError('Invalid\x20URL:\x20'+_0x504469);_0x2dca93(_0x5abb88,_0x18d180);return;}_0x43829d(_0x5abb88,_0x28b0a9,_0x1cea4d,_0x489d68);}else _0x5abb88[_0x31186f(0x328)](_0x31186f(0x255),_0x262396,_0x42c2cb)||_0x36d810(_0x5abb88,_0x262396,_0x31186f(0x317)+_0x42c2cb[_0x31186f(0x32e)]);}),_0x262396['on']('upgrade',(_0x3b8f06,_0x5b5e80,_0x407029)=>{const _0x52bc8a=_0x36092f;if(_0x5abb88[_0x52bc8a(0x328)](_0x52bc8a(0x227),_0x3b8f06),_0x5abb88['readyState']!==_0x2d4f5b[_0x52bc8a(0x214)])return;_0x262396=_0x5abb88[_0x52bc8a(0x31f)]=null;const _0x2263d4=_0x3b8f06[_0x52bc8a(0x285)][_0x52bc8a(0x227)];if(_0x2263d4===void 0x0||_0x2263d4['toLowerCase']()!=='websocket'){_0x36d810(_0x5abb88,_0x5b5e80,_0x52bc8a(0x174));return;}const _0x1b3c4e=_0x267397('sha1')[_0x52bc8a(0x278)](_0x39cde6+_0x1f0a24)[_0x52bc8a(0x221)]('base64');if(_0x3b8f06['headers'][_0x52bc8a(0x20b)]!==_0x1b3c4e){_0x36d810(_0x5abb88,_0x5b5e80,_0x52bc8a(0x1b0));return;}const _0x392bf0=_0x3b8f06[_0x52bc8a(0x285)]['sec-websocket-protocol'];let _0x32eb52;if(_0x392bf0!==void 0x0?_0x5064f4[_0x52bc8a(0x1ae)]?_0x5064f4[_0x52bc8a(0x1c9)](_0x392bf0)||(_0x32eb52=_0x52bc8a(0x26f)):_0x32eb52=_0x52bc8a(0x1f1):_0x5064f4[_0x52bc8a(0x1ae)]&&(_0x32eb52='Server\x20sent\x20no\x20subprotocol'),_0x32eb52){_0x36d810(_0x5abb88,_0x5b5e80,_0x32eb52);return;}_0x392bf0&&(_0x5abb88[_0x52bc8a(0x185)]=_0x392bf0);const _0x4ccaf5=_0x3b8f06[_0x52bc8a(0x285)]['sec-websocket-extensions'];if(_0x4ccaf5!==void 0x0){if(!_0x12342e){_0x36d810(_0x5abb88,_0x5b5e80,_0x52bc8a(0x282));return;}let _0x580717;try{_0x580717=_0x5c6a3d(_0x4ccaf5);}catch{_0x36d810(_0x5abb88,_0x5b5e80,_0x52bc8a(0x1ee));return;}const _0x46aed9=Object[_0x52bc8a(0x2cd)](_0x580717);if(_0x46aed9['length']!==0x1||_0x46aed9[0x0]!==_0x134aa7['extensionName']){_0x36d810(_0x5abb88,_0x5b5e80,_0x52bc8a(0x20f));return;}try{_0x12342e['accept'](_0x580717[_0x134aa7['extensionName']]);}catch{_0x36d810(_0x5abb88,_0x5b5e80,_0x52bc8a(0x1ee));return;}_0x5abb88['_extensions'][_0x134aa7['extensionName']]=_0x12342e;}_0x5abb88[_0x52bc8a(0x2df)](_0x5b5e80,_0x407029,{'allowSynchronousEvents':_0x38f691['allowSynchronousEvents'],'generateMask':_0x38f691[_0x52bc8a(0x17a)],'maxPayload':_0x38f691['maxPayload'],'skipUTF8Validation':_0x38f691[_0x52bc8a(0x184)]});}),_0x38f691['finishRequest']?_0x38f691[_0x36092f(0x21a)](_0x262396,_0x5abb88):_0x262396[_0x36092f(0x261)]();}function _0x2dca93(_0x50ed68,_0x4026fe){const _0x214bd1=_0x599911;_0x50ed68[_0x214bd1(0x299)]=_0x2d4f5b[_0x214bd1(0x188)],_0x50ed68[_0x214bd1(0x308)]=!0x0,_0x50ed68['emit']('error',_0x4026fe),_0x50ed68[_0x214bd1(0x2d4)]();}function _0x1d3ca7(_0x39a484){const _0x50fd39=_0x599911;return _0x39a484[_0x50fd39(0x2e9)]=_0x39a484[_0x50fd39(0x1b8)],_0x33e431[_0x50fd39(0x19f)](_0x39a484);}function _0xf3ef0d(_0x205843){const _0x336470=_0x599911;return _0x205843[_0x336470(0x2e9)]=void 0x0,!_0x205843[_0x336470(0x25a)]&&_0x205843['servername']!==''&&(_0x205843[_0x336470(0x25a)]=_0x33e431[_0x336470(0x213)](_0x205843[_0x336470(0x1c2)])?'':_0x205843[_0x336470(0x1c2)]),_0x37e309[_0x336470(0x19f)](_0x205843);}function _0x36d810(_0x422dcf,_0x582068,_0x3aa12d){const _0x53a144=_0x599911;_0x422dcf[_0x53a144(0x299)]=_0x2d4f5b['CLOSING'];const _0x482837=new Error(_0x3aa12d);Error[_0x53a144(0x192)](_0x482837,_0x36d810),_0x582068[_0x53a144(0x1e6)]?(_0x582068[_0x3c92e3]=!0x0,_0x582068[_0x53a144(0x313)](),_0x582068['socket']&&!_0x582068[_0x53a144(0x338)][_0x53a144(0x2a6)]&&_0x582068[_0x53a144(0x338)][_0x53a144(0x300)](),process[_0x53a144(0x301)](_0x2dca93,_0x422dcf,_0x482837)):(_0x582068[_0x53a144(0x300)](_0x482837),_0x582068[_0x53a144(0x206)](_0x53a144(0x1f8),_0x422dcf['emit'][_0x53a144(0x1aa)](_0x422dcf,_0x53a144(0x1f8))),_0x582068['once']('close',_0x422dcf['emitClose']['bind'](_0x422dcf)));}function _0x5ed7bc(_0x3f9793,_0x1ee987,_0x1340a9){const _0x1b0ce8=_0x599911;if(_0x1ee987){const _0x4ae617=_0x2b0246(_0x1ee987)?_0x1ee987['size']:_0x52b1c0(_0x1ee987)[_0x1b0ce8(0x2a1)];_0x3f9793['_socket']?_0x3f9793[_0x1b0ce8(0x20c)]['_bufferedBytes']+=_0x4ae617:_0x3f9793[_0x1b0ce8(0x1fe)]+=_0x4ae617;}if(_0x1340a9){const _0x353c3a=new Error(_0x1b0ce8(0x31d)+_0x3f9793[_0x1b0ce8(0x232)]+'\x20('+_0x3a54ee[_0x3f9793[_0x1b0ce8(0x232)]]+')');process[_0x1b0ce8(0x301)](_0x1340a9,_0x353c3a);}}function _0x571959(_0x50c64d,_0x4d50a0){const _0x2241fc=_0x599911,_0x3a64b4=this[_0x3a70b7];_0x3a64b4[_0x2241fc(0x2b3)]=!0x0,_0x3a64b4['_closeMessage']=_0x4d50a0,_0x3a64b4['_closeCode']=_0x50c64d,_0x3a64b4[_0x2241fc(0x263)][_0x3a70b7]!==void 0x0&&(_0x3a64b4[_0x2241fc(0x263)][_0x2241fc(0x252)](_0x2241fc(0x2b1),_0x4ea981),process[_0x2241fc(0x301)](_0x4b3aa2,_0x3a64b4[_0x2241fc(0x263)]),_0x50c64d===0x3ed?_0x3a64b4[_0x2241fc(0x236)]():_0x3a64b4[_0x2241fc(0x236)](_0x50c64d,_0x4d50a0));}function _0x576166(){const _0x49cdad=_0x599911,_0x50ab3a=this[_0x3a70b7];_0x50ab3a[_0x49cdad(0x237)]||_0x50ab3a[_0x49cdad(0x263)][_0x49cdad(0x307)]();}function _0x49d0d4(_0x51402c){const _0x18e6fc=_0x599911,_0x504fc6=this[_0x3a70b7];_0x504fc6[_0x18e6fc(0x263)][_0x3a70b7]!==void 0x0&&(_0x504fc6[_0x18e6fc(0x263)]['removeListener'](_0x18e6fc(0x2b1),_0x4ea981),process[_0x18e6fc(0x301)](_0x4b3aa2,_0x504fc6['_socket']),_0x504fc6[_0x18e6fc(0x236)](_0x51402c[_0x289e3f])),_0x504fc6[_0x18e6fc(0x308)]||(_0x504fc6[_0x18e6fc(0x308)]=!0x0,_0x504fc6['emit']('error',_0x51402c));}function _0x3ba3a3(){const _0x28c883=_0x599911;this[_0x3a70b7][_0x28c883(0x2d4)]();}function _0x3f2974(_0x1c8064,_0x34f3f6){const _0x5eae85=_0x599911;this[_0x3a70b7][_0x5eae85(0x328)]('message',_0x1c8064,_0x34f3f6);}function _0xe4037d(_0x287355){const _0x1e35a5=_0x599911,_0x1629df=this[_0x3a70b7];_0x1629df['_autoPong']&&_0x1629df[_0x1e35a5(0x1b5)](_0x287355,!this[_0x1e35a5(0x190)],_0x28d301),_0x1629df[_0x1e35a5(0x328)]('ping',_0x287355);}function _0xbf1eab(_0x3339c2){const _0x135cc2=_0x599911;this[_0x3a70b7]['emit'](_0x135cc2(0x1b5),_0x3339c2);}function _0x4b3aa2(_0x214a3d){const _0x3364b8=_0x599911;_0x214a3d[_0x3364b8(0x307)]();}function _0x4756e0(_0x4df190){const _0x7a593c=_0x599911,_0x2ad2a9=this[_0x3a70b7];_0x2ad2a9[_0x7a593c(0x232)]!==_0x2d4f5b[_0x7a593c(0x210)]&&(_0x2ad2a9[_0x7a593c(0x232)]===_0x2d4f5b[_0x7a593c(0x296)]&&(_0x2ad2a9[_0x7a593c(0x299)]=_0x2d4f5b[_0x7a593c(0x188)],_0x2e97b0(_0x2ad2a9)),this[_0x7a593c(0x263)][_0x7a593c(0x261)](),_0x2ad2a9[_0x7a593c(0x308)]||(_0x2ad2a9['_errorEmitted']=!0x0,_0x2ad2a9[_0x7a593c(0x328)]('error',_0x4df190)));}function _0x2e97b0(_0x50c55a){const _0x37fac3=_0x599911;_0x50c55a[_0x37fac3(0x30d)]=setTimeout(_0x50c55a['_socket'][_0x37fac3(0x300)][_0x37fac3(0x1aa)](_0x50c55a[_0x37fac3(0x263)]),_0x36ec15);}function _0x5f34f6(){const _0x56fc0a=_0x599911,_0x2cb2f4=this[_0x3a70b7];this[_0x56fc0a(0x252)](_0x56fc0a(0x236),_0x5f34f6),this[_0x56fc0a(0x252)](_0x56fc0a(0x2b1),_0x4ea981),this['removeListener']('end',_0x4d3077),_0x2cb2f4['_readyState']=_0x2d4f5b[_0x56fc0a(0x188)];let _0x1cb576;!this['_readableState'][_0x56fc0a(0x2b4)]&&!_0x2cb2f4[_0x56fc0a(0x2b3)]&&!_0x2cb2f4[_0x56fc0a(0x1ff)][_0x56fc0a(0x268)][_0x56fc0a(0x239)]&&(_0x1cb576=_0x2cb2f4[_0x56fc0a(0x263)][_0x56fc0a(0x293)]())!==null&&_0x2cb2f4[_0x56fc0a(0x1ff)][_0x56fc0a(0x1a1)](_0x1cb576),_0x2cb2f4[_0x56fc0a(0x1ff)][_0x56fc0a(0x261)](),this[_0x3a70b7]=void 0x0,clearTimeout(_0x2cb2f4['_closeTimer']),_0x2cb2f4[_0x56fc0a(0x1ff)][_0x56fc0a(0x268)][_0x56fc0a(0x1b7)]||_0x2cb2f4['_receiver'][_0x56fc0a(0x268)][_0x56fc0a(0x239)]?_0x2cb2f4[_0x56fc0a(0x2d4)]():(_0x2cb2f4['_receiver']['on']('error',_0x3ba3a3),_0x2cb2f4[_0x56fc0a(0x1ff)]['on'](_0x56fc0a(0x2ff),_0x3ba3a3));}function _0x4ea981(_0x5e30b0){const _0x3973ec=_0x599911;this[_0x3a70b7][_0x3973ec(0x1ff)]['write'](_0x5e30b0)||this[_0x3973ec(0x251)]();}function _0x4d3077(){const _0x4b53e5=_0x599911,_0x8c6db2=this[_0x3a70b7];_0x8c6db2[_0x4b53e5(0x299)]=_0x2d4f5b[_0x4b53e5(0x188)],_0x8c6db2[_0x4b53e5(0x1ff)][_0x4b53e5(0x261)](),this[_0x4b53e5(0x261)]();}function _0x335104(){const _0x29fdd4=_0x599911,_0x27db01=this[_0x3a70b7];this[_0x29fdd4(0x252)](_0x29fdd4(0x1f8),_0x335104),this['on'](_0x29fdd4(0x1f8),_0x28d301),_0x27db01&&(_0x27db01[_0x29fdd4(0x299)]=_0x2d4f5b[_0x29fdd4(0x188)],this[_0x29fdd4(0x300)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2c497d}=oe;function _0x3a53c4(_0x104aa2){const _0x5a23c2=_0x2141;_0x104aa2[_0x5a23c2(0x328)](_0x5a23c2(0x236));}function _0x422f26(){const _0x39f543=_0x2141;!this[_0x39f543(0x2a6)]&&this[_0x39f543(0x268)][_0x39f543(0x1b7)]&&this[_0x39f543(0x300)]();}function _0x49d1ff(_0x13e911){const _0x5e0660=_0x2141;this[_0x5e0660(0x252)](_0x5e0660(0x1f8),_0x49d1ff),this['destroy'](),this[_0x5e0660(0x1eb)](_0x5e0660(0x1f8))===0x0&&this['emit'](_0x5e0660(0x1f8),_0x13e911);}function _0xd6875d(_0x48a92e,_0x8d35d8){const _0x5a0971=_0x2141;let _0x2fca4c=!0x0;const _0xcaac2f=new _0x2c497d({..._0x8d35d8,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x48a92e['on']('message',function(_0x55716a,_0x50b287){const _0x3a2a5d=_0x2141,_0x12970e=!_0x50b287&&_0xcaac2f[_0x3a2a5d(0x24c)][_0x3a2a5d(0x2da)]?_0x55716a[_0x3a2a5d(0x196)]():_0x55716a;_0xcaac2f[_0x3a2a5d(0x2b0)](_0x12970e)||_0x48a92e[_0x3a2a5d(0x251)]();}),_0x48a92e[_0x5a0971(0x206)](_0x5a0971(0x1f8),function(_0x97e4d0){const _0x3c10ba=_0x5a0971;_0xcaac2f[_0x3c10ba(0x2a6)]||(_0x2fca4c=!0x1,_0xcaac2f[_0x3c10ba(0x300)](_0x97e4d0));}),_0x48a92e[_0x5a0971(0x206)](_0x5a0971(0x236),function(){const _0x33310f=_0x5a0971;_0xcaac2f[_0x33310f(0x2a6)]||_0xcaac2f[_0x33310f(0x2b0)](null);}),_0xcaac2f['_destroy']=function(_0x15c8a3,_0x3f0acf){const _0x5a0726=_0x5a0971;if(_0x48a92e[_0x5a0726(0x232)]===_0x48a92e['CLOSED']){_0x3f0acf(_0x15c8a3),process['nextTick'](_0x3a53c4,_0xcaac2f);return;}let _0x14dd0a=!0x1;_0x48a92e[_0x5a0726(0x206)](_0x5a0726(0x1f8),function(_0x57db64){_0x14dd0a=!0x0,_0x3f0acf(_0x57db64);}),_0x48a92e[_0x5a0726(0x206)](_0x5a0726(0x236),function(){const _0x563af1=_0x5a0726;_0x14dd0a||_0x3f0acf(_0x15c8a3),process[_0x563af1(0x301)](_0x3a53c4,_0xcaac2f);}),_0x2fca4c&&_0x48a92e['terminate']();},_0xcaac2f[_0x5a0971(0x1e3)]=function(_0x5505de){const _0x385f7a=_0x5a0971;if(_0x48a92e[_0x385f7a(0x232)]===_0x48a92e[_0x385f7a(0x214)]){_0x48a92e[_0x385f7a(0x206)]('open',function(){_0xcaac2f['_final'](_0x5505de);});return;}_0x48a92e[_0x385f7a(0x263)]!==null&&(_0x48a92e[_0x385f7a(0x263)]['_writableState']['finished']?(_0x5505de(),_0xcaac2f[_0x385f7a(0x24c)][_0x385f7a(0x2b4)]&&_0xcaac2f[_0x385f7a(0x300)]()):(_0x48a92e[_0x385f7a(0x263)][_0x385f7a(0x206)](_0x385f7a(0x2ff),function(){_0x5505de();}),_0x48a92e[_0x385f7a(0x236)]()));},_0xcaac2f[_0x5a0971(0x286)]=function(){const _0x449d6d=_0x5a0971;_0x48a92e['isPaused']&&_0x48a92e[_0x449d6d(0x307)]();},_0xcaac2f[_0x5a0971(0x31c)]=function(_0x58311c,_0x35ec66,_0x316d5e){const _0xd24f9a=_0x5a0971;if(_0x48a92e[_0xd24f9a(0x232)]===_0x48a92e['CONNECTING']){_0x48a92e['once'](_0xd24f9a(0x23f),function(){const _0x317344=_0xd24f9a;_0xcaac2f[_0x317344(0x31c)](_0x58311c,_0x35ec66,_0x316d5e);});return;}_0x48a92e[_0xd24f9a(0x1e8)](_0x58311c,_0x316d5e);},_0xcaac2f['on'](_0x5a0971(0x261),_0x422f26),_0xcaac2f['on']('error',_0x49d1ff),_0xcaac2f;}return Oe=_0xd6875d,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3df93b}=ae();function _0x3fabf9(_0x209cb5){const _0x51b652=_0x2141,_0x40704f=new Set();let _0x474bb1=-0x1,_0x287d47=-0x1,_0x126ab6=0x0;for(_0x126ab6;_0x126ab6<_0x209cb5['length'];_0x126ab6++){const _0x27cab9=_0x209cb5['charCodeAt'](_0x126ab6);if(_0x287d47===-0x1&&_0x3df93b[_0x27cab9]===0x1)_0x474bb1===-0x1&&(_0x474bb1=_0x126ab6);else{if(_0x126ab6!==0x0&&(_0x27cab9===0x20||_0x27cab9===0x9))_0x287d47===-0x1&&_0x474bb1!==-0x1&&(_0x287d47=_0x126ab6);else{if(_0x27cab9===0x2c){if(_0x474bb1===-0x1)throw new SyntaxError(_0x51b652(0x234)+_0x126ab6);_0x287d47===-0x1&&(_0x287d47=_0x126ab6);const _0x335502=_0x209cb5[_0x51b652(0x281)](_0x474bb1,_0x287d47);if(_0x40704f[_0x51b652(0x1c9)](_0x335502))throw new SyntaxError(_0x51b652(0x20a)+_0x335502+_0x51b652(0x2dc));_0x40704f[_0x51b652(0x244)](_0x335502),_0x474bb1=_0x287d47=-0x1;}else throw new SyntaxError(_0x51b652(0x234)+_0x126ab6);}}}if(_0x474bb1===-0x1||_0x287d47!==-0x1)throw new SyntaxError(_0x51b652(0x280));const _0x26b8f8=_0x209cb5[_0x51b652(0x281)](_0x474bb1,_0x126ab6);if(_0x40704f[_0x51b652(0x1c9)](_0x26b8f8))throw new SyntaxError('The\x20\x22'+_0x26b8f8+_0x51b652(0x2dc));return _0x40704f['add'](_0x26b8f8),_0x40704f;}return Ce={'parse':_0x3fabf9},Ce;}var Te,rt;function _0x2ac2(){const _0x30505d=['allocUnsafe','_originalIpc','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','server_max_window_bits','toDisposable','emitClose','handleProtocols','server','kTarget','fragments','kListener','objectMode','kData','\x22\x20subprotocol\x20is\x20duplicated','concat','defineProperty','setSocket','_no_context_takeover','510630mfCJFa','_paused','type','extensionName','authorized','Upgrade:\x20websocket','createError','isView','path','_maxPayload','_opcode','Connection:\x20Upgrade','_skipUTF8Validation','_injector','_deflate','_decompress','readable','44qVScGH','isValidUTF8','forEach','74478YfUPCr','_originalHostOrSocketPath','Sec-WebSocket-Origin','ILogService','serverMaxWindowBits','Disposable','accept','catch','readOnly','invalid\x20opcode\x20','finish','destroy','nextTick','values','rsv1','_closeFrameSent','pathname','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','resume','_errorEmitted','sec-websocket-origin','Unknown\x20parameter\x20\x22','WS_ERR_INVALID_OPCODE','defaultPort','_closeTimer','createSocket','indexOf','clientNoContextTakeover','_totalPayloadLength','_payloadLength','abort','object','kType','allowSynchronousEvents','Unexpected\x20server\x20response:\x20','readUInt32BE','permessage-deflate','__esModule','location','_write','WebSocket\x20is\x20not\x20open:\x20readyState\x20','completeUpgrade','_req','shouldHandle','crypto','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Z_DEFAULT_WINDOWBITS','perMessageDeflate','registerHTTPInterceptor','handleUpgrade','enqueue','emit','share','https','invalid\x20status\x20code\x20','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Injector','statusCode','1454200bvsCve','Basic\x20','byteLength','exports','url','447080ZFNxmT','compress','uncork','species','socket','WS_ERR_UNEXPECTED_RSV_1','call','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Invalid\x20Upgrade\x20header','Maximum\x20redirects\x20exceeded','_firstFragment','\x22:\x20','_inflate','flush','generateMask','_options','status-code','createConnection','isInteger','writeUInt16BE','_mask','offer','Observable','WS_ERR_INVALID_UTF8','skipUTF8Validation','_protocol','toStringTag','_removeListeners','CLOSING','haveLength','toLowerCase','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','pluginName','pending','concurrency','_closeCode','_isServer','_maskBuffer','captureStackTrace','callback','maskBuffer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','toString','handleEvent','clientTracking','214EbgICD','target','Max\x20payload\x20size\x20exceeded','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','binaryType','normalizeParams','connect','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','write','from','client_max_window_bits','kCode','cleanup','websocket','onerror','WebSocket','code','bind','createInflateRaw','getMask','_queue','size','Inject','Invalid\x20Sec-WebSocket-Accept\x20header','pipe','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','kByteLength','base64','pong','search','finished','socketPath','writeUIntBE','message','Parameter\x20\x22','server_no_context_takeover','ws+unix:','threshold','drain','ping','Invalid\x20value\x20for\x20parameter\x20\x22','host','UniverCollaborationClientNodePlugin','bufferedAmount','authorization','NodeCollaborationSocketService','default','net','has','isArray','_fin','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','origin','getBlobData','@univerjs-pro/collaboration-client','setTimeout','registerDependencies','cork','includes','_loop','client_no_context_takeover','The\x20URL\x20contains\x20a\x20fragment\x20identifier','\x20(supported\x20versions:\x20','Sec-WebSocket-Protocol:\x20','createDeflateRaw','_compressed','unmask','startLoop','14INfQtH','reason','warn','request','writable','username','_final','onmessage','address','setHeader','wss:','send','dequeue','decompress','listenerCount','test','method','Invalid\x20Sec-WebSocket-Extensions\x20header','autoPong','kAborted','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Cookie','_autoPong','total-length','_compress','_fragments','controlMessage','error','connection','join','@univerjs/core','protocolVersion','arrayBuffer','_bufferedAmount','_receiver','cookie','_configService','WS_ERR_UNEXPECTED_RSV_2_3','writeHead','getConfig','reset','once','encrypted','freeze','removeEventListener','The\x20\x22','sec-websocket-accept','_sender','_registerDependencies','HTTP/1.1\x20101\x20Switching\x20Protocols','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','CLOSED','text/html','getData','isIP','CONNECTING','_errored','\x0d\x0a\x0d\x0a','terminate','Sec-WebSocket-Accept:\x20','_generateMask','finishRequest','ISnapshotServerService','sha1','nodebuffer','dataMessage','_httpService','timeout','digest','format','shift','clients','getPayloadLength16','165YHoeyx','upgrade','fin','apply','_allowSynchronousEvents','createServer','getInfo','startsWith','getOwnPropertyDescriptor','_redirects','href','hostname','readyState','zlib','Unexpected\x20character\x20at\x20index\x20','_max_window_bits','close','isPaused','number','errorEmitted','Z_SYNC_FLUSH','dispose','conclude','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_server','open','Upgrade','set','charCodeAt','unshift','add','Invalid\x20URL:\x20','_messageLength','ws:','extensions','params','stream','onclose','_readableState','prototype','maxPayload','options','noServer','pause','removeListener','kRun','jobs','unexpected-response','dispatch','text/plain','wasClean','value','servername','hash','sec-websocket-key','invalid\x20payload\x20length\x20','blob','sendFrame','rxjs','end','_threshold','_socket','Invalid\x20WebSocket\x20frame:\x20','IConfigService','_closeMessage','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_writableState','_state','_bufferedBytes','kWasClean','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','12072dBYrjY','next','Server\x20sent\x20an\x20invalid\x20subprotocol','_originalSecure','events','The\x20URL\x27s\x20pathname\x20is\x20empty','password','needDrain','invalid\x20UTF-8\x20sequence','zlibInflateOptions','acceptAsClient','update','frame','869742AqqfXy','https:','The\x20server\x20is\x20not\x20running','_shouldEmitClose','setConfig','listening','Unexpected\x20end\x20of\x20input','slice','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','backlog','Opening\x20handshake\x20has\x20timed\x20out','headers','_read','port','_binaryType','MASK\x20must\x20be\x20clear','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','hasOwnProperty','File','string','alloc','kMessage','pow','_doCreateSocket','addEventListener','read','sec-websocket-protocol','setNoDelay','OPEN','_masked','wsClientError','_readyState','buffer','auth','_fragmented','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https\x22,\x20or\x20\x22ws+unix:\x22','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','HTTPService','WS_ERR_UNEXPECTED_MASK','length','_url','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','followRedirects','opcode','destroyed','_extensions','_buffers','find','redirect','parse','zlibDeflateOptions','customHeaders','delete','2153QxgHWc','push','data','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_closeFrameReceived','endEmitted','create','consume','clientMaxWindowBits','isBuffer','RSV1\x20must\x20be\x20clear','GET','tls','function','mask','@univerjs-pro/collaboration','Blob','FIN\x20must\x20be\x20set','verifyClient','serverNoContextTakeover','map','sec-websocket-version','acceptAsServer','STATUS_CODES','listeners','byteOffset','env','protocol','Module','client','keys','replace'];_0x2ac2=function(){return _0x30505d;};return _0x2ac2();}function Ft(){const _0x206efd=_0x1ec0b0;if(rt)return Te;rt=0x1;const _0x2bb587=nt,_0x49a5c9=ot,{Duplex:_0x1b012a}=oe,{createHash:_0x10e3af}=Le,_0xf9dc71=ct(),_0x1e7b02=he(),_0x35db1b=At(),_0x5d8ddf=Pe(),{GUID:_0x2fbaa7,kWebSocket:_0x374a5f}=H(),_0x54c8b3=/^[+/0-9A-Za-z]{22}==$/,_0x2edfb8=0x0,_0x54da64=0x1,_0x2c9bde=0x2;class _0x5294fc extends _0x2bb587{constructor(_0xb15bd2,_0x5b770a){const _0x153b45=_0x2141;if(super(),_0xb15bd2={'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':_0x5d8ddf,..._0xb15bd2},_0xb15bd2[_0x153b45(0x287)]==null&&!_0xb15bd2['server']&&!_0xb15bd2[_0x153b45(0x250)]||_0xb15bd2['port']!=null&&(_0xb15bd2[_0x153b45(0x2d6)]||_0xb15bd2[_0x153b45(0x250)])||_0xb15bd2['server']&&_0xb15bd2[_0x153b45(0x250)])throw new TypeError(_0x153b45(0x2b2));if(_0xb15bd2[_0x153b45(0x287)]!=null?(this[_0x153b45(0x23e)]=_0x49a5c9[_0x153b45(0x22b)]((_0xaa9fb8,_0x25e659)=>{const _0x1ef6b5=_0x153b45,_0xc25455=_0x49a5c9[_0x1ef6b5(0x2c6)][0x1aa];_0x25e659[_0x1ef6b5(0x203)](0x1aa,{'Content-Length':_0xc25455[_0x1ef6b5(0x2a1)],'Content-Type':_0x1ef6b5(0x257)}),_0x25e659[_0x1ef6b5(0x261)](_0xc25455);}),this[_0x153b45(0x23e)]['listen'](_0xb15bd2[_0x153b45(0x287)],_0xb15bd2['host'],_0xb15bd2[_0x153b45(0x283)],_0x5b770a)):_0xb15bd2[_0x153b45(0x2d6)]&&(this['_server']=_0xb15bd2['server']),this[_0x153b45(0x23e)]){const _0x347719=this[_0x153b45(0x328)][_0x153b45(0x1aa)](this,_0x153b45(0x1f9));this[_0x153b45(0x187)]=_0xa0dcdd(this[_0x153b45(0x23e)],{'listening':this[_0x153b45(0x328)][_0x153b45(0x1aa)](this,_0x153b45(0x27f)),'error':this[_0x153b45(0x328)][_0x153b45(0x1aa)](this,_0x153b45(0x1f8)),'upgrade':(_0x3e21e8,_0x2eee72,_0x4bb862)=>{const _0x49082f=_0x153b45;this[_0x49082f(0x326)](_0x3e21e8,_0x2eee72,_0x4bb862,_0x347719);}});}_0xb15bd2[_0x153b45(0x324)]===!0x0&&(_0xb15bd2[_0x153b45(0x324)]={}),_0xb15bd2[_0x153b45(0x198)]&&(this[_0x153b45(0x224)]=new Set(),this[_0x153b45(0x27d)]=!0x1),this[_0x153b45(0x24f)]=_0xb15bd2,this['_state']=_0x2edfb8;}[_0x206efd(0x1e5)](){const _0x8e444b=_0x206efd;if(this['options']['noServer'])throw new Error(_0x8e444b(0x19c));return this['_server']?this[_0x8e444b(0x23e)][_0x8e444b(0x1e5)]():null;}[_0x206efd(0x236)](_0x2bd468){const _0x5739ee=_0x206efd;if(this['_state']===_0x2c9bde){_0x2bd468&&this[_0x5739ee(0x206)]('close',()=>{const _0x5f3352=_0x5739ee;_0x2bd468(new Error(_0x5f3352(0x27c)));}),process[_0x5739ee(0x301)](_0x557f70,this);return;}if(_0x2bd468&&this[_0x5739ee(0x206)](_0x5739ee(0x236),_0x2bd468),this[_0x5739ee(0x269)]!==_0x54da64){if(this[_0x5739ee(0x269)]=_0x54da64,this[_0x5739ee(0x24f)][_0x5739ee(0x250)]||this[_0x5739ee(0x24f)][_0x5739ee(0x2d6)])this[_0x5739ee(0x23e)]&&(this[_0x5739ee(0x187)](),this[_0x5739ee(0x187)]=this[_0x5739ee(0x23e)]=null),this['clients']?this[_0x5739ee(0x224)][_0x5739ee(0x1ae)]?this[_0x5739ee(0x27d)]=!0x0:process['nextTick'](_0x557f70,this):process[_0x5739ee(0x301)](_0x557f70,this);else{const _0x52cf2d=this[_0x5739ee(0x23e)];this[_0x5739ee(0x187)](),this['_removeListeners']=this[_0x5739ee(0x23e)]=null,_0x52cf2d[_0x5739ee(0x236)](()=>{_0x557f70(this);});}}}[_0x206efd(0x320)](_0x22cde0){const _0x5a3a54=_0x206efd;if(this['options'][_0x5a3a54(0x2e9)]){const _0x5bd6cb=_0x22cde0[_0x5a3a54(0x333)][_0x5a3a54(0x30f)]('?');if((_0x5bd6cb!==-0x1?_0x22cde0[_0x5a3a54(0x333)][_0x5a3a54(0x281)](0x0,_0x5bd6cb):_0x22cde0[_0x5a3a54(0x333)])!==this[_0x5a3a54(0x24f)][_0x5a3a54(0x2e9)])return!0x1;}return!0x0;}[_0x206efd(0x326)](_0x2b116f,_0x514986,_0x14528d,_0x4032fd){const _0xf71441=_0x206efd;_0x514986['on'](_0xf71441(0x1f8),_0x662281);const _0x9d7fc=_0x2b116f['headers'][_0xf71441(0x25c)],_0x16a8f9=_0x2b116f['headers']['upgrade'],_0x5b88d0=+_0x2b116f[_0xf71441(0x285)][_0xf71441(0x2c4)];if(_0x2b116f[_0xf71441(0x1ed)]!==_0xf71441(0x2ba)){_0x5dd58b(this,_0x2b116f,_0x514986,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x16a8f9===void 0x0||_0x16a8f9[_0xf71441(0x18a)]()!==_0xf71441(0x1a6)){_0x5dd58b(this,_0x2b116f,_0x514986,0x190,_0xf71441(0x174));return;}if(_0x9d7fc===void 0x0||!_0x54c8b3[_0xf71441(0x1ec)](_0x9d7fc)){_0x5dd58b(this,_0x2b116f,_0x514986,0x190,_0xf71441(0x26c));return;}if(_0x5b88d0!==0x8&&_0x5b88d0!==0xd){_0x5dd58b(this,_0x2b116f,_0x514986,0x190,_0xf71441(0x1cc));return;}if(!this['shouldHandle'](_0x2b116f)){_0x36aae9(_0x514986,0x190);return;}const _0x2f7974=_0x2b116f[_0xf71441(0x285)][_0xf71441(0x294)];let _0x3e6ea2=new Set();if(_0x2f7974!==void 0x0)try{_0x3e6ea2=_0x35db1b[_0xf71441(0x2ab)](_0x2f7974);}catch{_0x5dd58b(this,_0x2b116f,_0x514986,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xe7e8f0=_0x2b116f[_0xf71441(0x285)]['sec-websocket-extensions'],_0x24437b={};if(this[_0xf71441(0x24f)][_0xf71441(0x324)]&&_0xe7e8f0!==void 0x0){const _0x5cfaf2=new _0x1e7b02(this[_0xf71441(0x24f)][_0xf71441(0x324)],!0x0,this[_0xf71441(0x24f)][_0xf71441(0x24e)]);try{const _0x579983=_0xf9dc71[_0xf71441(0x2ab)](_0xe7e8f0);_0x579983[_0x1e7b02[_0xf71441(0x2e4)]]&&(_0x5cfaf2[_0xf71441(0x2fb)](_0x579983[_0x1e7b02[_0xf71441(0x2e4)]]),_0x24437b[_0x1e7b02[_0xf71441(0x2e4)]]=_0x5cfaf2);}catch{_0x5dd58b(this,_0x2b116f,_0x514986,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0xf71441(0x24f)][_0xf71441(0x2c1)]){const _0x573946={'origin':_0x2b116f[_0xf71441(0x285)][''+(_0x5b88d0===0x8?_0xf71441(0x309):_0xf71441(0x1cd))],'secure':!!(_0x2b116f[_0xf71441(0x338)][_0xf71441(0x2e5)]||_0x2b116f[_0xf71441(0x338)][_0xf71441(0x207)]),'req':_0x2b116f};if(this[_0xf71441(0x24f)][_0xf71441(0x2c1)][_0xf71441(0x2a1)]===0x2){this['options']['verifyClient'](_0x573946,(_0x112442,_0x43a8ad,_0xeb7424,_0x305b48)=>{if(!_0x112442)return _0x36aae9(_0x514986,_0x43a8ad||0x191,_0xeb7424,_0x305b48);this['completeUpgrade'](_0x24437b,_0x9d7fc,_0x3e6ea2,_0x2b116f,_0x514986,_0x14528d,_0x4032fd);});return;}if(!this[_0xf71441(0x24f)][_0xf71441(0x2c1)](_0x573946))return _0x36aae9(_0x514986,0x191);}this[_0xf71441(0x31e)](_0x24437b,_0x9d7fc,_0x3e6ea2,_0x2b116f,_0x514986,_0x14528d,_0x4032fd);}['completeUpgrade'](_0x37b9b5,_0xa1fa79,_0x47f325,_0x43e3a7,_0x3f3cb2,_0x293efd,_0x2ea39a){const _0x39a4cd=_0x206efd;if(!_0x3f3cb2[_0x39a4cd(0x2f1)]||!_0x3f3cb2[_0x39a4cd(0x1e1)])return _0x3f3cb2['destroy']();if(_0x3f3cb2[_0x374a5f])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x39a4cd(0x269)]>_0x2edfb8)return _0x36aae9(_0x3f3cb2,0x1f7);const _0x1abb8a=[_0x39a4cd(0x20e),_0x39a4cd(0x2e6),_0x39a4cd(0x2ec),_0x39a4cd(0x218)+_0x10e3af(_0x39a4cd(0x21c))[_0x39a4cd(0x278)](_0xa1fa79+_0x2fbaa7)[_0x39a4cd(0x221)](_0x39a4cd(0x1b4))],_0x1a222e=new this['options'][(_0x39a4cd(0x1a8))](null,void 0x0,this[_0x39a4cd(0x24f)]);if(_0x47f325['size']){const _0xc4e246=this[_0x39a4cd(0x24f)]['handleProtocols']?this[_0x39a4cd(0x24f)][_0x39a4cd(0x2d5)](_0x47f325,_0x43e3a7):_0x47f325[_0x39a4cd(0x302)]()[_0x39a4cd(0x26e)]()[_0x39a4cd(0x259)];_0xc4e246&&(_0x1abb8a['push'](_0x39a4cd(0x1d8)+_0xc4e246),_0x1a222e[_0x39a4cd(0x185)]=_0xc4e246);}if(_0x37b9b5[_0x1e7b02[_0x39a4cd(0x2e4)]]){const _0x3fc801=_0x37b9b5[_0x1e7b02[_0x39a4cd(0x2e4)]][_0x39a4cd(0x249)],_0x48a54e=_0xf9dc71[_0x39a4cd(0x222)]({[_0x1e7b02['extensionName']]:[_0x3fc801]});_0x1abb8a[_0x39a4cd(0x2b0)]('Sec-WebSocket-Extensions:\x20'+_0x48a54e),_0x1a222e['_extensions']=_0x37b9b5;}this[_0x39a4cd(0x328)]('headers',_0x1abb8a,_0x43e3a7),_0x3f3cb2[_0x39a4cd(0x1a1)](_0x1abb8a['concat']('\x0d\x0a')[_0x39a4cd(0x1fa)]('\x0d\x0a')),_0x3f3cb2[_0x39a4cd(0x252)](_0x39a4cd(0x1f8),_0x662281),_0x1a222e[_0x39a4cd(0x2df)](_0x3f3cb2,_0x293efd,{'allowSynchronousEvents':this[_0x39a4cd(0x24f)][_0x39a4cd(0x316)],'maxPayload':this[_0x39a4cd(0x24f)]['maxPayload'],'skipUTF8Validation':this[_0x39a4cd(0x24f)][_0x39a4cd(0x184)]}),this['clients']&&(this[_0x39a4cd(0x224)]['add'](_0x1a222e),_0x1a222e['on'](_0x39a4cd(0x236),()=>{const _0x367a9f=_0x39a4cd;this[_0x367a9f(0x224)][_0x367a9f(0x2ae)](_0x1a222e),this[_0x367a9f(0x27d)]&&!this['clients'][_0x367a9f(0x1ae)]&&process['nextTick'](_0x557f70,this);})),_0x2ea39a(_0x1a222e,_0x43e3a7);}}Te=_0x5294fc;function _0xa0dcdd(_0x4d54c7,_0x2037b5){for(const _0x2f98a8 of Object['keys'](_0x2037b5))_0x4d54c7['on'](_0x2f98a8,_0x2037b5[_0x2f98a8]);return function(){const _0x32a86a=_0x2141;for(const _0x2e80a1 of Object['keys'](_0x2037b5))_0x4d54c7[_0x32a86a(0x252)](_0x2e80a1,_0x2037b5[_0x2e80a1]);};}function _0x557f70(_0x1b0da0){const _0x34b813=_0x206efd;_0x1b0da0['_state']=_0x2c9bde,_0x1b0da0[_0x34b813(0x328)](_0x34b813(0x236));}function _0x662281(){this['destroy']();}function _0x36aae9(_0x2a9a45,_0x54337b,_0x1c3277,_0x2cfaaa){const _0x4f0070=_0x206efd;_0x1c3277=_0x1c3277||_0x49a5c9[_0x4f0070(0x2c6)][_0x54337b],_0x2cfaaa={'Connection':'close','Content-Type':_0x4f0070(0x211),'Content-Length':Buffer[_0x4f0070(0x331)](_0x1c3277),..._0x2cfaaa},_0x2a9a45[_0x4f0070(0x206)](_0x4f0070(0x2ff),_0x2a9a45['destroy']),_0x2a9a45[_0x4f0070(0x261)]('HTTP/1.1\x20'+_0x54337b+'\x20'+_0x49a5c9[_0x4f0070(0x2c6)][_0x54337b]+'\x0d\x0a'+Object['keys'](_0x2cfaaa)['map'](_0x4a38e4=>_0x4a38e4+':\x20'+_0x2cfaaa[_0x4a38e4])[_0x4f0070(0x1fa)]('\x0d\x0a')+_0x4f0070(0x216)+_0x1c3277);}function _0x5dd58b(_0x1f2711,_0x7fb7c8,_0x4d65d5,_0x3e2de5,_0x5527e9){const _0x501c5d=_0x206efd;if(_0x1f2711[_0x501c5d(0x1eb)]('wsClientError')){const _0x32b1ff=new Error(_0x5527e9);Error[_0x501c5d(0x192)](_0x32b1ff,_0x5dd58b),_0x1f2711[_0x501c5d(0x328)](_0x501c5d(0x298),_0x32b1ff,_0x4d65d5,_0x7fb7c8);}else _0x36aae9(_0x4d65d5,_0x3e2de5,_0x5527e9);}return Te;}Ft();var jt=Object[_0x1ec0b0(0x22e)],Wt=(_0x426135,_0x35eadd,_0x4bd434,_0x516104)=>{for(var _0x1bf1df=_0x516104>0x1?void 0x0:_0x516104?jt(_0x35eadd,_0x4bd434):_0x35eadd,_0x45376a=_0x426135['length']-0x1,_0x5af493;_0x45376a>=0x0;_0x45376a--)(_0x5af493=_0x426135[_0x45376a])&&(_0x1bf1df=_0x5af493(_0x1bf1df)||_0x1bf1df);return _0x1bf1df;},qt=(_0x29af02,_0x1d1870)=>(_0x2f273a,_0x1c7f26)=>_0x1d1870(_0x2f273a,_0x1c7f26,_0x29af02);let ke=class extends A[_0x1ec0b0(0x2fa)]{constructor(_0x4824fc){const _0x4abaad=_0x1ec0b0;super(),this[_0x4abaad(0x201)]=_0x4824fc;}[_0x1ec0b0(0x30e)](_0x1ffc04){const _0x59210a=_0x1ec0b0;var _0x36511a;const _0x30191e=(_0x36511a=this[_0x59210a(0x201)]['getConfig'](fe))==null?void 0x0:_0x36511a['customHeaders'];try{const _0x23c8de=new $t(_0x1ffc04,{'headers':{..._0x30191e}}),_0x2dea6a=new A['DisposableCollection']();return{'URL':_0x1ffc04,'close':(_0x3f1b3f,_0x3f2606)=>{const _0x62a6cf=_0x59210a;_0x23c8de[_0x62a6cf(0x236)](_0x3f1b3f,_0x3f2606),_0x2dea6a[_0x62a6cf(0x23b)]();},'send':_0x4158d0=>{const _0x596612=_0x59210a;_0x23c8de[_0x596612(0x1e8)](_0x4158d0);},'open$':new V[(_0x59210a(0x182))](_0x519a3b=>{const _0x58ab28=_0x59210a,_0x3704a8=_0x2e8d19=>_0x519a3b[_0x58ab28(0x26e)](_0x2e8d19);_0x23c8de[_0x58ab28(0x292)]('open',_0x3704a8),_0x2dea6a[_0x58ab28(0x244)](A['toDisposable'](()=>_0x23c8de[_0x58ab28(0x209)](_0x58ab28(0x23f),_0x3704a8)));})[_0x59210a(0x1b1)](V['share']()),'close$':new V[(_0x59210a(0x182))](_0x4440ae=>{const _0x32c1ab=_0x59210a,_0x11ec1c=_0x227f68=>_0x4440ae[_0x32c1ab(0x26e)](_0x227f68);_0x23c8de[_0x32c1ab(0x292)](_0x32c1ab(0x236),_0x11ec1c),_0x2dea6a[_0x32c1ab(0x244)](A['toDisposable'](()=>_0x23c8de[_0x32c1ab(0x209)](_0x32c1ab(0x236),_0x11ec1c)));})['pipe'](V[_0x59210a(0x329)]()),'error$':new V[(_0x59210a(0x182))](_0x5a6037=>{const _0x363720=_0x59210a,_0x5e1787=_0x38e857=>_0x5a6037[_0x363720(0x26e)](_0x38e857);_0x23c8de['addEventListener'](_0x363720(0x1f8),_0x5e1787),_0x2dea6a['add'](A[_0x363720(0x2d3)](()=>_0x23c8de[_0x363720(0x209)](_0x363720(0x1f8),_0x5e1787)));})[_0x59210a(0x1b1)](V[_0x59210a(0x329)]()),'message$':new V['Observable'](_0x2ac8d7=>{const _0x5613cc=_0x59210a,_0x5e64b3=_0x293ea8=>_0x2ac8d7['next'](_0x293ea8);_0x23c8de[_0x5613cc(0x292)](_0x5613cc(0x1ba),_0x5e64b3),_0x2dea6a[_0x5613cc(0x244)](A[_0x5613cc(0x2d3)](()=>_0x23c8de['removeEventListener']('message',_0x5e64b3)));})['pipe'](V['share']())};}catch(_0x41f82e){return console[_0x59210a(0x1f8)](_0x41f82e),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x1ec0b0(0x22e)],Ht=(_0x59e547,_0x45ee71,_0x30f1ae)=>_0x45ee71 in _0x59e547?Gt(_0x59e547,_0x45ee71,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30f1ae}):_0x59e547[_0x45ee71]=_0x30f1ae,zt=(_0x1b61f1,_0x5c0b67,_0x16274e,_0x20b7df)=>{const _0x516d52=_0x1ec0b0;for(var _0xff5c5f=_0x20b7df>0x1?void 0x0:_0x20b7df?Vt(_0x5c0b67,_0x16274e):_0x5c0b67,_0x5869fa=_0x1b61f1[_0x516d52(0x2a1)]-0x1,_0x3fe414;_0x5869fa>=0x0;_0x5869fa--)(_0x3fe414=_0x1b61f1[_0x5869fa])&&(_0xff5c5f=_0x3fe414(_0xff5c5f)||_0xff5c5f);return _0xff5c5f;},Ne=(_0xa7015d,_0x51c849)=>(_0x37b701,_0x3a4831)=>_0x51c849(_0x37b701,_0x3a4831,_0xa7015d),Yt=(_0x11564a,_0x55a14b,_0x41d551)=>Ht(_0x11564a,_0x55a14b+'',_0x41d551);exports['UniverCollaborationClientNodePlugin']=class extends A['Plugin']{constructor(_0x300fc0=Ct,_0x1f497b,_0x22cbba,_0x5d58e2){const _0x4094e5=_0x1ec0b0;_0x300fc0[_0x4094e5(0x2ad)]||_0x1f497b[_0x4094e5(0x1df)](_0x4094e5(0x322)),super(),this['_configService']=_0x22cbba,this[_0x4094e5(0x2ee)]=_0x5d58e2,this[_0x4094e5(0x201)][_0x4094e5(0x27e)](fe,_0x300fc0);}['onStarting'](){const _0x221f42=_0x1ec0b0;this[_0x221f42(0x20d)]();}[_0x1ec0b0(0x20d)](){const _0x3cf8fa=_0x1ec0b0;A[_0x3cf8fa(0x1d1)](this[_0x3cf8fa(0x2ee)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x1ec0b0(0x18c),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x1ec0b0(0x1c3)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x1ec0b0(0x2f8)]),Ne(0x2,A[_0x1ec0b0(0x265)]),Ne(0x3,A[_0x1ec0b0(0x1af)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x1ec0b0(0x22e)],Xt=(_0x5c55ce,_0x4bc1ee,_0x40c096,_0x1631e2)=>{const _0x572f1b=_0x1ec0b0;for(var _0x4bad58=_0x1631e2>0x1?void 0x0:_0x1631e2?Kt(_0x4bc1ee,_0x40c096):_0x4bc1ee,_0xfacdb6=_0x5c55ce[_0x572f1b(0x2a1)]-0x1,_0x16da0a;_0xfacdb6>=0x0;_0xfacdb6--)(_0x16da0a=_0x5c55ce[_0xfacdb6])&&(_0x4bad58=_0x16da0a(_0x4bad58)||_0x4bad58);return _0x4bad58;},ne=(_0x25593c,_0xa06baf)=>(_0x1cce00,_0x4db1ec)=>_0xa06baf(_0x1cce00,_0x4db1ec,_0x25593c);exports[_0x1ec0b0(0x1c6)]=class extends st['CollaborationSocketService']{constructor(_0x1d93e0,_0x1b0bdc,_0xdffc83,_0x319e0d,_0x4968eb){const _0x21e038=_0x1ec0b0;super(_0x1d93e0,_0x1b0bdc,_0xdffc83,_0x319e0d,_0x4968eb);const _0x21caaf=this[_0x21e038(0x201)][_0x21e038(0x204)](fe);this[_0x21e038(0x21f)][_0x21e038(0x325)]({'interceptor':(_0x352c4e,_0x4310b0)=>{const _0x30317c=_0x21e038;var _0x5d5e98;const _0xece21a=_0x352c4e[_0x30317c(0x285)];return(_0x5d5e98=_0x21caaf==null?void 0x0:_0x21caaf[_0x30317c(0x2ad)])!=null&&_0x5d5e98[_0x30317c(0x200)]&&_0xece21a[_0x30317c(0x241)](_0x30317c(0x1f2),_0x21caaf[_0x30317c(0x2ad)][_0x30317c(0x200)]),_0x4310b0(_0x352c4e);}});}async[_0x1ec0b0(0x30e)](_0x57e4fc){const _0x40bf1c=_0x1ec0b0;return this[_0x40bf1c(0x291)](_0x57e4fc);}},exports[_0x1ec0b0(0x1c6)]=Xt([ne(0x0,A[_0x1ec0b0(0x1af)](A[_0x1ec0b0(0x32d)])),ne(0x1,A['Inject'](it[_0x1ec0b0(0x29f)])),ne(0x2,A[_0x1ec0b0(0x265)]),ne(0x3,A[_0x1ec0b0(0x2f8)]),ne(0x4,Ot[_0x1ec0b0(0x21b)])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|