@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505221607 → 0.7.0-nightly.202505241606
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 +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2bc3d1=_0x131d;(function(_0x32fadd,_0x2d22a4){const _0x3fbd7a=_0x131d,_0x14c277=_0x32fadd();while(!![]){try{const _0xe8eddb=-parseInt(_0x3fbd7a(0x238))/0x1+-parseInt(_0x3fbd7a(0x245))/0x2*(parseInt(_0x3fbd7a(0x196))/0x3)+-parseInt(_0x3fbd7a(0x1e7))/0x4*(-parseInt(_0x3fbd7a(0x2a3))/0x5)+parseInt(_0x3fbd7a(0x26e))/0x6*(-parseInt(_0x3fbd7a(0x21a))/0x7)+-parseInt(_0x3fbd7a(0x1f4))/0x8+-parseInt(_0x3fbd7a(0x2f4))/0x9+parseInt(_0x3fbd7a(0x294))/0xa;if(_0xe8eddb===_0x2d22a4)break;else _0x14c277['push'](_0x14c277['shift']());}catch(_0x35b4fa){_0x14c277['push'](_0x14c277['shift']());}}}(_0x4e68,0x34254));import{UniverCollaborationClientPlugin as _0x47b98b,CollaborationSocketService as _0x2a858c}from'@univerjs-pro/collaboration-client';import{Disposable as _0x444f47,DisposableCollection as _0x35665b,toDisposable as _0x1b7e2a,IConfigService as _0x174ada,DependentOn as _0x12910f,ILogService as _0x4fff0c,Inject as _0x13263b,Injector as _0x44ec44,Plugin as _0xca419d,registerDependencies as _0x57105c}from'@univerjs/core';import{ISocketService as _0xc4c92,HTTPService as _0x59330a}from'@univerjs/network';import{Observable as _0x26a913,share as _0x4031cb}from'rxjs';import _0x1e9b82 from'events';import _0x404911 from'https';import _0x3d8eaf from'http';import _0x4402d8 from'net';import _0x127012 from'tls';import _0x4e16df from'crypto';import _0x4bd49a from'stream';import _0x323a9c from'url';import _0x17d55c from'zlib';import _0x21f62b from'buffer';import{ISnapshotServerService as _0x29f1d7}from'@univerjs-pro/collaboration';const Be=_0x2bc3d1(0x1e9),Ft={'customHeaders':{}};function _0x4e68(){const _0x14aeb7=['Invalid\x20Upgrade\x20header','exports','toString','add','buffer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','uncork','Invalid\x20Sec-WebSocket-Protocol\x20header','update','GET','byteOffset','Z_SYNC_FLUSH','Parameter\x20\x22','extensionName','cleanup','handshakeTimeout','path','_compress','_sender','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_options','_injector','startLoop','getData','getOwnPropertyDescriptor','resume','_opcode','connect','controlMessage','search','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_configService','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kType','acceptAsClient','address','accept','_isServer','_state','error','ws+unix:','_generateMask','sec-websocket-key','status-code','\x22:\x20','isInteger','invalid\x20UTF-8\x20sequence','Unexpected\x20end\x20of\x20input','wasClean','prototype','FIN\x20must\x20be\x20set','socketPath','readOnly','sendFrame','3423euLaiA','handleEvent','kListener','The\x20server\x20is\x20not\x20running','delete','terminate','\x22\x20subprotocol\x20is\x20duplicated','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','getConfig','reset','server','keys','has','byteLength','client_no_context_takeover','_fragments','once','startsWith','_readyState','pause','perMessageDeflate','hash','password','_max_window_bits','_shouldEmitClose','completeUpgrade','isArray','origin','indexOf','shouldHandle','pluginName','_extensions','total-length','_receiver','WebSocket\x20is\x20not\x20open:\x20readyState\x20','bind','readable','\x22\x20must\x20have\x20only\x20a\x20single\x20value','kByteLength','_originalSecure','timeout','response','host','frame','removeEventListener','websocket','base64','reason','target','find','readUInt32BE','_read','message','removeListener','alloc','kReason','kDone','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','href','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','onopen','kIsForOnEventAttribute','createError','WS_ERR_EXPECTED_MASK','CONNECTING','generateMask','handleUpgrade','_decompress','concurrency','socket','unshift','Blob','toStringTag','dispatch','_final','maskBuffer','_fin','split','kError','_maskBuffer','send','12044UCdzBj','captureStackTrace','collaboration-client-node.config','finishRequest','fin','_messageLength','_deflate','onerror','replace','pong','Invalid\x20WebSocket\x20frame:\x20','_loop','_autoPong','751752IbnNYL','Invalid\x20value\x20for\x20parameter\x20\x22','invalid\x20payload\x20length\x20','join','clients','invalid\x20opcode\x200','HTTP/1.1\x20101\x20Switching\x20Protocols','maxRedirects','https:','CLOSING','sec-websocket-protocol','mask','get','setSocket','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_destroy','_maxPayload','slice','number','acceptAsServer','compress','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','servername','sec-websocket-accept','statusCode','_protocol','map','nodebuffer','length','setNoDelay','cookie','kData','followRedirects','env','defineProperty','RSV1\x20must\x20be\x20clear','request','default','910TbTLrJ','_closeFrameReceived','port','onclose','defaultPort','dataMessage','allowSynchronousEvents','WS_ERR_UNEXPECTED_RSV_2_3','maxPayload','HTTP/1.1\x20','hostname','errorEmitted','Module','jobs','server_max_window_bits','Server\x20sent\x20no\x20subprotocol','kTarget','location','_socket','_compressed','pathname','listening','protocol','MASK\x20must\x20be\x20set','function','_closeTimer','rsv1','emitClose','text/html','_server','265239bYJYqn','_closeCode','objectMode','from','Sec-WebSocket-Origin','writeUInt16BE','CLOSED','allocUnsafe','setTimeout','abort','_totalPayloadLength','bufferedAmount','test','646RJWGPk','readyState','end','write','_closeMessage','_skipUTF8Validation','autoPong','setConfig','wsClientError','blob','WS_ERR_INVALID_UTF8','decompress','__esModule','set','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','opcode','code','parse','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Opening\x20handshake\x20has\x20timed\x20out','dispose','serverMaxWindowBits','Upgrade','url','STATUS_CODES','enqueue','isServer','_allowSynchronousEvents','The\x20\x22','verifyClient','conclude','ws:','needDrain','\x20(supported\x20versions:\x20','getBlobData','ping','OPEN','hasOwnProperty','type','push','The\x20URL\x27s\x20pathname\x20is\x20empty','6996wKZolM','endEmitted','listeners','destroy','open','includes','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WebSocket','_removeListeners','serverNoContextTakeover','clientMaxWindowBits','noServer','Basic\x20','_bufferedAmount','Unsupported\x20protocol\x20version:\x20','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','permessage-deflate','createInflateRaw','removeAllListeners','sec-websocket-version','Unexpected\x20server\x20response:\x20','binary','server_no_context_takeover','_firstFragment','normalizeParams','_registerDependencies','_doCreateSocket','isPaused','getInfo','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Invalid\x20Sec-WebSocket-Extensions\x20header','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kRun','finished','_httpService','onStarting','connection','create','12614490KqcyyZ','buffers','method','customHeaders','offer','auth','_write','_queue','concat','_readableState','_originalHostOrSocketPath','Maximum\x20redirects\x20exceeded','params','_inflate','species','335riRblu','\x0d\x0a\x0d\x0a','text/plain','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','getPayloadLength64','Server\x20sent\x20an\x20invalid\x20subprotocol','handleProtocols','cork','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_closeFrameSent','clientNoContextTakeover','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_buffers','_originalIpc','extensions','shift','upgrade','digest','WS_ERR_INVALID_CLOSE_CODE','data','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_req','object','apply','_bufferedBytes','Invalid\x20HTTP\x20method','getMask','haveLength','arrayBuffer','invalid\x20opcode\x20','wss:','skipUTF8Validation','File','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','username','Cookie','toLowerCase','authorization','dequeue','kWasClean','_payloadLength','Z_DEFAULT_WINDOWBITS','_errored','unexpected-response','listenerCount','getPayloadLength16','Unexpected\x20character\x20at\x20index\x20','WS_ERR_UNEXPECTED_RSV_1','_threshold','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','string','read','sec-websocket-extensions','authorized','client_max_window_bits','_binaryType','WS_NO_BUFFER_UTIL','isIP','size','protocolVersion','options','The\x20URL\x20contains\x20a\x20fragment\x20identifier','isValidUTF8','_errorEmitted','WS_ERR_INVALID_OPCODE','forEach','Sec-WebSocket-Protocol:\x20','nextTick','Invalid\x20Sec-WebSocket-Accept\x20header','consume','value','emit','pow','Origin','binaryType','_paused','createSocket','charCodeAt','Unknown\x20parameter\x20\x22','pipe','3332403meQYYV','callback','headers','_no_context_takeover','redirect','WS_NO_UTF_8_VALIDATE','Upgrade:\x20websocket','_mask','zlibDeflateOptions','pending','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','addEventListener','flush','_redirects','clientTracking','call','_fragmented','format','Max\x20payload\x20size\x20exceeded','destroyed','createServer','readUInt16BE','catch','threshold','_masked','concurrencyLimit','finish','Invalid\x20URL:\x20','next','onmessage','Connection:\x20Upgrade','close','values','listen','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','_writableState','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','warn'];_0x4e68=function(){return _0x14aeb7;};return _0x4e68();}function jt(_0x6af485){const _0x474c58=_0x2bc3d1;return _0x6af485&&_0x6af485[_0x474c58(0x251)]&&Object[_0x474c58(0x191)][_0x474c58(0x26a)][_0x474c58(0x303)](_0x6af485,_0x474c58(0x219))?_0x6af485[_0x474c58(0x219)]:_0x6af485;}function ut(_0x184595){const _0x33d211=_0x2bc3d1;if(Object[_0x33d211(0x191)]['hasOwnProperty'][_0x33d211(0x303)](_0x184595,_0x33d211(0x251)))return _0x184595;var _0xc3626d=_0x184595[_0x33d211(0x219)];if(typeof _0xc3626d==_0x33d211(0x232)){var _0x239294=function _0x327e65(){const _0x5f057a=_0x33d211;return this instanceof _0x327e65?Reflect['construct'](_0xc3626d,arguments,this['constructor']):_0xc3626d[_0x5f057a(0x2bb)](this,arguments);};_0x239294[_0x33d211(0x191)]=_0xc3626d[_0x33d211(0x191)];}else _0x239294={};return Object[_0x33d211(0x216)](_0x239294,'__esModule',{'value':!0x0}),Object['keys'](_0x184595)[_0x33d211(0x2e5)](function(_0x4af189){const _0x291658=_0x33d211;var _0x49ddcd=Object[_0x291658(0x178)](_0x184595,_0x4af189);Object[_0x291658(0x216)](_0x239294,_0x4af189,_0x49ddcd[_0x291658(0x200)]?_0x49ddcd:{'enumerable':!0x0,'get':function(){return _0x184595[_0x4af189];}});}),_0x239294;}var te={'exports':{}},ge,Ye;function V(){const _0x2ec204=_0x2bc3d1;if(Ye)return ge;Ye=0x1;const _0x18fe58=['nodebuffer','arraybuffer','fragments'],_0x5e6b39=typeof Blob<'u';return _0x5e6b39&&_0x18fe58['push'](_0x2ec204(0x24e)),ge={'BINARY_TYPES':_0x18fe58,'EMPTY_BUFFER':Buffer[_0x2ec204(0x1cc)](0x0),'GUID':_0x2ec204(0x180),'hasBlob':_0x5e6b39,'kForOnEventAttribute':Symbol(_0x2ec204(0x1d3)),'kListener':Symbol(_0x2ec204(0x198)),'kStatusCode':Symbol(_0x2ec204(0x18b)),'kWebSocket':Symbol(_0x2ec204(0x1c3)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x2bc3d1(0x216)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x2bc3d1(0x226)})),Vt=ut(Gt);var Ke;function ce(){const _0x519069=_0x2bc3d1;if(Ke)return te[_0x519069(0x161)];Ke=0x1;const {EMPTY_BUFFER:_0x41638f}=V(),_0x1bc793=Buffer[Symbol[_0x519069(0x2a2)]];function _0x16e7cb(_0x30dc6a,_0x4d286){const _0x3a64bd=_0x519069;if(_0x30dc6a[_0x3a64bd(0x210)]===0x0)return _0x41638f;if(_0x30dc6a['length']===0x1)return _0x30dc6a[0x0];const _0x303854=Buffer[_0x3a64bd(0x23f)](_0x4d286);let _0x3c1970=0x0;for(let _0x4efcc7=0x0;_0x4efcc7<_0x30dc6a[_0x3a64bd(0x210)];_0x4efcc7++){const _0xe6e28d=_0x30dc6a[_0x4efcc7];_0x303854['set'](_0xe6e28d,_0x3c1970),_0x3c1970+=_0xe6e28d[_0x3a64bd(0x210)];}return _0x3c1970<_0x4d286?new _0x1bc793(_0x303854[_0x3a64bd(0x164)],_0x303854[_0x3a64bd(0x16a)],_0x3c1970):_0x303854;}function _0x38fe11(_0x1000a4,_0x331548,_0x20ccb7,_0x1d9bd2,_0x3b8f5d){for(let _0x2b34f1=0x0;_0x2b34f1<_0x3b8f5d;_0x2b34f1++)_0x20ccb7[_0x1d9bd2+_0x2b34f1]=_0x1000a4[_0x2b34f1]^_0x331548[_0x2b34f1&0x3];}function _0x3bf66b(_0x54a770,_0x34ca2c){for(let _0x5edde1=0x0;_0x5edde1<_0x54a770['length'];_0x5edde1++)_0x54a770[_0x5edde1]^=_0x34ca2c[_0x5edde1&0x3];}function _0x5629cf(_0x2e25e1){const _0x53bbc1=_0x519069;return _0x2e25e1[_0x53bbc1(0x210)]===_0x2e25e1[_0x53bbc1(0x164)]['byteLength']?_0x2e25e1[_0x53bbc1(0x164)]:_0x2e25e1[_0x53bbc1(0x164)][_0x53bbc1(0x205)](_0x2e25e1[_0x53bbc1(0x16a)],_0x2e25e1[_0x53bbc1(0x16a)]+_0x2e25e1['length']);}function _0x1454f2(_0x3b5a8c){const _0x20df94=_0x519069;if(_0x1454f2[_0x20df94(0x194)]=!0x0,Buffer['isBuffer'](_0x3b5a8c))return _0x3b5a8c;let _0x45ba97;return _0x3b5a8c instanceof ArrayBuffer?_0x45ba97=new _0x1bc793(_0x3b5a8c):ArrayBuffer['isView'](_0x3b5a8c)?_0x45ba97=new _0x1bc793(_0x3b5a8c[_0x20df94(0x164)],_0x3b5a8c[_0x20df94(0x16a)],_0x3b5a8c[_0x20df94(0x1a3)]):(_0x45ba97=Buffer[_0x20df94(0x23b)](_0x3b5a8c),_0x1454f2['readOnly']=!0x1),_0x45ba97;}if(te['exports']={'concat':_0x16e7cb,'mask':_0x38fe11,'toArrayBuffer':_0x5629cf,'toBuffer':_0x1454f2,'unmask':_0x3bf66b},!process['env'][_0x519069(0x2dc)])try{const _0x145502=Vt;te[_0x519069(0x161)]['mask']=function(_0x3e7f56,_0x351bf5,_0x3826ea,_0x430ba8,_0x58044d){const _0x1b0cab=_0x519069;_0x58044d<0x30?_0x38fe11(_0x3e7f56,_0x351bf5,_0x3826ea,_0x430ba8,_0x58044d):_0x145502[_0x1b0cab(0x1ff)](_0x3e7f56,_0x351bf5,_0x3826ea,_0x430ba8,_0x58044d);},te[_0x519069(0x161)]['unmask']=function(_0x41ff33,_0x4b67c0){const _0x183f94=_0x519069;_0x41ff33[_0x183f94(0x210)]<0x20?_0x3bf66b(_0x41ff33,_0x4b67c0):_0x145502['unmask'](_0x41ff33,_0x4b67c0);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0xefc133=_0x2bc3d1;if(Xe)return ye;Xe=0x1;const _0x92f37c=Symbol(_0xefc133(0x1ce)),_0x2f008e=Symbol(_0xefc133(0x28e));class _0x40d0eb{constructor(_0x171b13){const _0x4bba32=_0xefc133;this[_0x92f37c]=()=>{const _0x7f980c=_0x131d;this[_0x7f980c(0x2fd)]--,this[_0x2f008e]();},this['concurrency']=_0x171b13||0x1/0x0,this[_0x4bba32(0x227)]=[],this[_0x4bba32(0x2fd)]=0x0;}['add'](_0x158662){const _0x56370d=_0xefc133;this['jobs'][_0x56370d(0x26c)](_0x158662),this[_0x2f008e]();}[_0x2f008e](){const _0x2eb88f=_0xefc133;if(this['pending']!==this[_0x2eb88f(0x1da)]&&this[_0x2eb88f(0x227)]['length']){const _0x31485f=this['jobs']['shift']();this['pending']++,_0x31485f(this[_0x92f37c]);}}}return ye=_0x40d0eb,ye;}var ve,Ze;function he(){const _0x85ec=_0x2bc3d1;if(Ze)return ve;Ze=0x1;const _0x2fc0ae=_0x17d55c,_0x20f71c=ce(),_0xd5073e=qt(),{kStatusCode:_0x59537d}=V(),_0xa0160e=Buffer[Symbol[_0x85ec(0x2a2)]],_0x2d18d8=Buffer[_0x85ec(0x23b)]([0x0,0x0,0xff,0xff]),_0x11fda7=Symbol(_0x85ec(0x27e)),_0x4f1aea=Symbol(_0x85ec(0x1b6)),_0x5987a2=Symbol(_0x85ec(0x2f5)),_0x44720f=Symbol(_0x85ec(0x295)),_0x4475f7=Symbol(_0x85ec(0x187));let _0x23798f;class _0xa357ae{constructor(_0x1ba08f,_0x4f3a73,_0x5dde02){const _0x2b49ee=_0x85ec;if(this[_0x2b49ee(0x204)]=_0x5dde02|0x0,this[_0x2b49ee(0x174)]=_0x1ba08f||{},this[_0x2b49ee(0x2d4)]=this[_0x2b49ee(0x174)][_0x2b49ee(0x30b)]!==void 0x0?this['_options']['threshold']:0x400,this['_isServer']=!!_0x4f3a73,this[_0x2b49ee(0x1ed)]=null,this[_0x2b49ee(0x2a1)]=null,this['params']=null,!_0x23798f){const _0x49ed3b=this['_options'][_0x2b49ee(0x30d)]!==void 0x0?this[_0x2b49ee(0x174)][_0x2b49ee(0x30d)]:0xa;_0x23798f=new _0xd5073e(_0x49ed3b);}}static get[_0x85ec(0x16d)](){const _0x5a47e6=_0x85ec;return _0x5a47e6(0x27e);}[_0x85ec(0x298)](){const _0x57b759=_0x85ec,_0x5a5ea2={};return this[_0x57b759(0x174)][_0x57b759(0x277)]&&(_0x5a5ea2[_0x57b759(0x284)]=!0x0),this['_options'][_0x57b759(0x2ae)]&&(_0x5a5ea2['client_no_context_takeover']=!0x0),this[_0x57b759(0x174)]['serverMaxWindowBits']&&(_0x5a5ea2[_0x57b759(0x228)]=this[_0x57b759(0x174)][_0x57b759(0x25a)]),this[_0x57b759(0x174)][_0x57b759(0x278)]?_0x5a5ea2[_0x57b759(0x2da)]=this[_0x57b759(0x174)][_0x57b759(0x278)]:this['_options'][_0x57b759(0x278)]==null&&(_0x5a5ea2[_0x57b759(0x2da)]=!0x0),_0x5a5ea2;}[_0x85ec(0x184)](_0x339dd1){const _0x9e9ec2=_0x85ec;return _0x339dd1=this[_0x9e9ec2(0x286)](_0x339dd1),this[_0x9e9ec2(0x2a0)]=this[_0x9e9ec2(0x185)]?this[_0x9e9ec2(0x207)](_0x339dd1):this[_0x9e9ec2(0x182)](_0x339dd1),this['params'];}[_0x85ec(0x16e)](){const _0x2bb258=_0x85ec;if(this['_inflate']&&(this['_inflate'][_0x2bb258(0x159)](),this[_0x2bb258(0x2a1)]=null),this[_0x2bb258(0x1ed)]){const _0x4470fa=this[_0x2bb258(0x1ed)][_0x5987a2];this['_deflate'][_0x2bb258(0x159)](),this[_0x2bb258(0x1ed)]=null,_0x4470fa&&_0x4470fa(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x85ec(0x207)](_0x2af9f8){const _0x287cad=_0x85ec,_0xc3ff1c=this[_0x287cad(0x174)],_0x16524f=_0x2af9f8[_0x287cad(0x1c7)](_0x5ef27c=>!(_0xc3ff1c[_0x287cad(0x277)]===!0x1&&_0x5ef27c[_0x287cad(0x284)]||_0x5ef27c[_0x287cad(0x228)]&&(_0xc3ff1c[_0x287cad(0x25a)]===!0x1||typeof _0xc3ff1c['serverMaxWindowBits']==_0x287cad(0x206)&&_0xc3ff1c[_0x287cad(0x25a)]>_0x5ef27c['server_max_window_bits'])||typeof _0xc3ff1c['clientMaxWindowBits']==_0x287cad(0x206)&&!_0x5ef27c[_0x287cad(0x2da)]));if(!_0x16524f)throw new Error(_0x287cad(0x253));return _0xc3ff1c[_0x287cad(0x277)]&&(_0x16524f[_0x287cad(0x284)]=!0x0),_0xc3ff1c['clientNoContextTakeover']&&(_0x16524f[_0x287cad(0x1a4)]=!0x0),typeof _0xc3ff1c[_0x287cad(0x25a)]==_0x287cad(0x206)&&(_0x16524f['server_max_window_bits']=_0xc3ff1c['serverMaxWindowBits']),typeof _0xc3ff1c[_0x287cad(0x278)]=='number'?_0x16524f[_0x287cad(0x2da)]=_0xc3ff1c[_0x287cad(0x278)]:(_0x16524f[_0x287cad(0x2da)]===!0x0||_0xc3ff1c[_0x287cad(0x278)]===!0x1)&&delete _0x16524f[_0x287cad(0x2da)],_0x16524f;}[_0x85ec(0x182)](_0x451225){const _0x47edf4=_0x85ec,_0x2653f0=_0x451225[0x0];if(this[_0x47edf4(0x174)]['clientNoContextTakeover']===!0x1&&_0x2653f0[_0x47edf4(0x1a4)])throw new Error(_0x47edf4(0x15e));if(!_0x2653f0[_0x47edf4(0x2da)])typeof this[_0x47edf4(0x174)][_0x47edf4(0x278)]==_0x47edf4(0x206)&&(_0x2653f0[_0x47edf4(0x2da)]=this['_options'][_0x47edf4(0x278)]);else{if(this[_0x47edf4(0x174)][_0x47edf4(0x278)]===!0x1||typeof this[_0x47edf4(0x174)][_0x47edf4(0x278)]==_0x47edf4(0x206)&&_0x2653f0[_0x47edf4(0x2da)]>this['_options'][_0x47edf4(0x278)])throw new Error(_0x47edf4(0x209));}return _0x2653f0;}[_0x85ec(0x286)](_0x8c17db){const _0x131044=_0x85ec;return _0x8c17db[_0x131044(0x2e5)](_0x413232=>{const _0xeb7701=_0x131044;Object['keys'](_0x413232)[_0xeb7701(0x2e5)](_0x369070=>{const _0xa2f172=_0xeb7701;let _0x311d6a=_0x413232[_0x369070];if(_0x311d6a[_0xa2f172(0x210)]>0x1)throw new Error(_0xa2f172(0x16c)+_0x369070+_0xa2f172(0x1bb));if(_0x311d6a=_0x311d6a[0x0],_0x369070===_0xa2f172(0x2da)){if(_0x311d6a!==!0x0){const _0x23152c=+_0x311d6a;if(!Number['isInteger'](_0x23152c)||_0x23152c<0x8||_0x23152c>0xf)throw new TypeError(_0xa2f172(0x1f5)+_0x369070+'\x22:\x20'+_0x311d6a);_0x311d6a=_0x23152c;}else{if(!this[_0xa2f172(0x185)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x369070+_0xa2f172(0x18c)+_0x311d6a);}}else{if(_0x369070==='server_max_window_bits'){const _0x37bf41=+_0x311d6a;if(!Number[_0xa2f172(0x18d)](_0x37bf41)||_0x37bf41<0x8||_0x37bf41>0xf)throw new TypeError(_0xa2f172(0x1f5)+_0x369070+_0xa2f172(0x18c)+_0x311d6a);_0x311d6a=_0x37bf41;}else{if(_0x369070===_0xa2f172(0x1a4)||_0x369070==='server_no_context_takeover'){if(_0x311d6a!==!0x0)throw new TypeError(_0xa2f172(0x1f5)+_0x369070+_0xa2f172(0x18c)+_0x311d6a);}else throw new Error(_0xa2f172(0x2f2)+_0x369070+'\x22');}}_0x413232[_0x369070]=_0x311d6a;});}),_0x8c17db;}['decompress'](_0x1367b6,_0x258308,_0x1228ce){const _0x2db08a=_0x85ec;_0x23798f[_0x2db08a(0x163)](_0x2f78ed=>{const _0x585af4=_0x2db08a;this[_0x585af4(0x1d9)](_0x1367b6,_0x258308,(_0x5a3f52,_0x5e700c)=>{_0x2f78ed(),_0x1228ce(_0x5a3f52,_0x5e700c);});});}[_0x85ec(0x208)](_0x5abb31,_0xc48c46,_0x358ecf){const _0x37dff9=_0x85ec;_0x23798f[_0x37dff9(0x163)](_0x53d38e=>{const _0x11dfbb=_0x37dff9;this[_0x11dfbb(0x171)](_0x5abb31,_0xc48c46,(_0x4a7073,_0x48f256)=>{_0x53d38e(),_0x358ecf(_0x4a7073,_0x48f256);});});}[_0x85ec(0x1d9)](_0x5400a8,_0x235bba,_0x24ef92){const _0x234dd6=_0x85ec,_0x32ab69=this[_0x234dd6(0x185)]?'client':_0x234dd6(0x1a0);if(!this[_0x234dd6(0x2a1)]){const _0x1f462d=_0x32ab69+_0x234dd6(0x1ad),_0x444224=typeof this['params'][_0x1f462d]!=_0x234dd6(0x206)?_0x2fc0ae[_0x234dd6(0x2cd)]:this[_0x234dd6(0x2a0)][_0x1f462d];this[_0x234dd6(0x2a1)]=_0x2fc0ae[_0x234dd6(0x27f)]({...this[_0x234dd6(0x174)]['zlibInflateOptions'],'windowBits':_0x444224}),this[_0x234dd6(0x2a1)][_0x11fda7]=this,this[_0x234dd6(0x2a1)][_0x4f1aea]=0x0,this[_0x234dd6(0x2a1)][_0x44720f]=[],this[_0x234dd6(0x2a1)]['on'](_0x234dd6(0x187),_0x1c32c9),this[_0x234dd6(0x2a1)]['on']('data',_0x4cc769);}this['_inflate'][_0x5987a2]=_0x24ef92,this[_0x234dd6(0x2a1)]['write'](_0x5400a8),_0x235bba&&this[_0x234dd6(0x2a1)][_0x234dd6(0x248)](_0x2d18d8),this['_inflate'][_0x234dd6(0x300)](()=>{const _0x3a2e27=_0x234dd6,_0x5386fd=this[_0x3a2e27(0x2a1)][_0x4475f7];if(_0x5386fd){this[_0x3a2e27(0x2a1)][_0x3a2e27(0x159)](),this[_0x3a2e27(0x2a1)]=null,_0x24ef92(_0x5386fd);return;}const _0x4dd017=_0x20f71c[_0x3a2e27(0x29c)](this[_0x3a2e27(0x2a1)][_0x44720f],this[_0x3a2e27(0x2a1)][_0x4f1aea]);this[_0x3a2e27(0x2a1)][_0x3a2e27(0x29d)][_0x3a2e27(0x26f)]?(this[_0x3a2e27(0x2a1)][_0x3a2e27(0x159)](),this['_inflate']=null):(this[_0x3a2e27(0x2a1)][_0x4f1aea]=0x0,this[_0x3a2e27(0x2a1)][_0x44720f]=[],_0x235bba&&this[_0x3a2e27(0x2a0)][_0x32ab69+_0x3a2e27(0x2f7)]&&this[_0x3a2e27(0x2a1)][_0x3a2e27(0x19f)]()),_0x24ef92(null,_0x4dd017);});}[_0x85ec(0x171)](_0x449629,_0xe57396,_0x34aab7){const _0x200ae6=_0x85ec,_0x36e59e=this[_0x200ae6(0x185)]?_0x200ae6(0x1a0):'client';if(!this[_0x200ae6(0x1ed)]){const _0x5b5820=_0x36e59e+_0x200ae6(0x1ad),_0x467fff=typeof this[_0x200ae6(0x2a0)][_0x5b5820]!=_0x200ae6(0x206)?_0x2fc0ae[_0x200ae6(0x2cd)]:this[_0x200ae6(0x2a0)][_0x5b5820];this[_0x200ae6(0x1ed)]=_0x2fc0ae['createDeflateRaw']({...this[_0x200ae6(0x174)][_0x200ae6(0x2fc)],'windowBits':_0x467fff}),this[_0x200ae6(0x1ed)][_0x4f1aea]=0x0,this[_0x200ae6(0x1ed)][_0x44720f]=[],this['_deflate']['on']('data',_0x16efa4);}this['_deflate'][_0x5987a2]=_0x34aab7,this[_0x200ae6(0x1ed)][_0x200ae6(0x248)](_0x449629),this[_0x200ae6(0x1ed)][_0x200ae6(0x300)](_0x2fc0ae[_0x200ae6(0x16b)],()=>{const _0x24ef31=_0x200ae6;if(!this['_deflate'])return;let _0x4aed7d=_0x20f71c[_0x24ef31(0x29c)](this['_deflate'][_0x44720f],this['_deflate'][_0x4f1aea]);_0xe57396&&(_0x4aed7d=new _0xa0160e(_0x4aed7d[_0x24ef31(0x164)],_0x4aed7d['byteOffset'],_0x4aed7d[_0x24ef31(0x210)]-0x4)),this[_0x24ef31(0x1ed)][_0x5987a2]=null,this['_deflate'][_0x4f1aea]=0x0,this['_deflate'][_0x44720f]=[],_0xe57396&&this[_0x24ef31(0x2a0)][_0x36e59e+_0x24ef31(0x2f7)]&&this[_0x24ef31(0x1ed)][_0x24ef31(0x19f)](),_0x34aab7(null,_0x4aed7d);});}}ve=_0xa357ae;function _0x16efa4(_0x242786){const _0x5b353b=_0x85ec;this[_0x44720f]['push'](_0x242786),this[_0x4f1aea]+=_0x242786[_0x5b353b(0x210)];}function _0x4cc769(_0x157265){const _0x1e23c3=_0x85ec;if(this[_0x4f1aea]+=_0x157265['length'],this[_0x11fda7]['_maxPayload']<0x1||this[_0x4f1aea]<=this[_0x11fda7][_0x1e23c3(0x204)]){this[_0x44720f][_0x1e23c3(0x26c)](_0x157265);return;}this[_0x4475f7]=new RangeError(_0x1e23c3(0x306)),this[_0x4475f7]['code']=_0x1e23c3(0x2d5),this[_0x4475f7][_0x59537d]=0x3f1,this['removeListener'](_0x1e23c3(0x2b7),_0x4cc769),this[_0x1e23c3(0x19f)]();}function _0x1c32c9(_0x5798c4){if(this[_0x11fda7]['_inflate']=null,this[_0x4475f7]){this[_0x5987a2](this[_0x4475f7]);return;}_0x5798c4[_0x59537d]=0x3ef,this[_0x5987a2](_0x5798c4);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x2bc3d1(0x216)]({'__proto__':null,'default':Ht},Symbol[_0x2bc3d1(0x1de)],{'value':_0x2bc3d1(0x226)})),Yt=ut(zt);var Qe;function _0x131d(_0x151032,_0x2916fa){const _0x4e681e=_0x4e68();return _0x131d=function(_0x131d3c,_0x489c5c){_0x131d3c=_0x131d3c-0x158;let _0x3a4b2e=_0x4e681e[_0x131d3c];return _0x3a4b2e;},_0x131d(_0x151032,_0x2916fa);}function ne(){const _0x16ce2c=_0x2bc3d1;if(Qe)return re[_0x16ce2c(0x161)];Qe=0x1;const {isUtf8:_0x1a5163}=_0x21f62b,{hasBlob:_0xef2544}=V(),_0x285dc7=[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 _0x556e06(_0x996603){return _0x996603>=0x3e8&&_0x996603<=0x3f6&&_0x996603!==0x3ec&&_0x996603!==0x3ed&&_0x996603!==0x3ee||_0x996603>=0xbb8&&_0x996603<=0x1387;}function _0x20ed94(_0x502c52){const _0x44af39=_0x502c52['length'];let _0x406886=0x0;for(;_0x406886<_0x44af39;)if((_0x502c52[_0x406886]&0x80)===0x0)_0x406886++;else{if((_0x502c52[_0x406886]&0xe0)===0xc0){if(_0x406886+0x1===_0x44af39||(_0x502c52[_0x406886+0x1]&0xc0)!==0x80||(_0x502c52[_0x406886]&0xfe)===0xc0)return!0x1;_0x406886+=0x2;}else{if((_0x502c52[_0x406886]&0xf0)===0xe0){if(_0x406886+0x2>=_0x44af39||(_0x502c52[_0x406886+0x1]&0xc0)!==0x80||(_0x502c52[_0x406886+0x2]&0xc0)!==0x80||_0x502c52[_0x406886]===0xe0&&(_0x502c52[_0x406886+0x1]&0xe0)===0x80||_0x502c52[_0x406886]===0xed&&(_0x502c52[_0x406886+0x1]&0xe0)===0xa0)return!0x1;_0x406886+=0x3;}else{if((_0x502c52[_0x406886]&0xf8)===0xf0){if(_0x406886+0x3>=_0x44af39||(_0x502c52[_0x406886+0x1]&0xc0)!==0x80||(_0x502c52[_0x406886+0x2]&0xc0)!==0x80||(_0x502c52[_0x406886+0x3]&0xc0)!==0x80||_0x502c52[_0x406886]===0xf0&&(_0x502c52[_0x406886+0x1]&0xf0)===0x80||_0x502c52[_0x406886]===0xf4&&_0x502c52[_0x406886+0x1]>0x8f||_0x502c52[_0x406886]>0xf4)return!0x1;_0x406886+=0x4;}else return!0x1;}}}return!0x0;}function _0xffe081(_0x5bf676){const _0x25f908=_0x16ce2c;return _0xef2544&&typeof _0x5bf676=='object'&&typeof _0x5bf676[_0x25f908(0x2c0)]=='function'&&typeof _0x5bf676['type']==_0x25f908(0x2d6)&&typeof _0x5bf676['stream']==_0x25f908(0x232)&&(_0x5bf676[Symbol['toStringTag']]===_0x25f908(0x1dd)||_0x5bf676[Symbol[_0x25f908(0x1de)]]===_0x25f908(0x2c4));}if(re[_0x16ce2c(0x161)]={'isBlob':_0xffe081,'isValidStatusCode':_0x556e06,'isValidUTF8':_0x20ed94,'tokenChars':_0x285dc7},_0x1a5163)re[_0x16ce2c(0x161)]['isValidUTF8']=function(_0x30902f){const _0x2f1de3=_0x16ce2c;return _0x30902f[_0x2f1de3(0x210)]<0x18?_0x20ed94(_0x30902f):_0x1a5163(_0x30902f);};else{if(!process[_0x16ce2c(0x215)][_0x16ce2c(0x2f9)])try{const _0x2f1d47=Yt;re['exports'][_0x16ce2c(0x2e2)]=function(_0xf61415){const _0x5f34c7=_0x16ce2c;return _0xf61415[_0x5f34c7(0x210)]<0x20?_0x20ed94(_0xf61415):_0x2f1d47(_0xf61415);};}catch{}}return re[_0x16ce2c(0x161)];}var Se,Je;function dt(){const _0x23ad79=_0x2bc3d1;if(Je)return Se;Je=0x1;const {Writable:_0x569d34}=_0x4bd49a,_0x2d1e62=he(),{BINARY_TYPES:_0x2608eb,EMPTY_BUFFER:_0xe00ab8,kStatusCode:_0x11d834,kWebSocket:_0x39eb64}=V(),{concat:_0x286459,toArrayBuffer:_0x47c2c3,unmask:_0x40dda7}=ce(),{isValidStatusCode:_0x3289a6,isValidUTF8:_0x104ba7}=ne(),_0x16ec43=Buffer[Symbol[_0x23ad79(0x2a2)]],_0x5d29e8=0x0,_0x281cf0=0x1,_0x36fb2e=0x2,_0x1845f3=0x3,_0x3baa7c=0x4,_0x3c0ad7=0x5,_0x549b48=0x6;class _0x2646b2 extends _0x569d34{constructor(_0x38cd36={}){const _0x586080=_0x23ad79;super(),this[_0x586080(0x260)]=_0x38cd36[_0x586080(0x220)]!==void 0x0?_0x38cd36[_0x586080(0x220)]:!0x0,this[_0x586080(0x2db)]=_0x38cd36[_0x586080(0x2ee)]||_0x2608eb[0x0],this['_extensions']=_0x38cd36[_0x586080(0x2b2)]||{},this['_isServer']=!!_0x38cd36[_0x586080(0x25f)],this[_0x586080(0x204)]=_0x38cd36['maxPayload']|0x0,this[_0x586080(0x24a)]=!!_0x38cd36[_0x586080(0x2c3)],this[_0x39eb64]=void 0x0,this[_0x586080(0x2bc)]=0x0,this[_0x586080(0x2b0)]=[],this['_compressed']=!0x1,this[_0x586080(0x2cc)]=0x0,this[_0x586080(0x2fb)]=void 0x0,this[_0x586080(0x304)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x586080(0x17a)]=0x0,this[_0x586080(0x242)]=0x0,this[_0x586080(0x1ec)]=0x0,this[_0x586080(0x1a5)]=[],this['_errored']=!0x1,this[_0x586080(0x1f2)]=!0x1,this[_0x586080(0x186)]=_0x5d29e8;}[_0x23ad79(0x29a)](_0x55f656,_0x30cc21,_0x2e0941){const _0x24eb0c=_0x23ad79;if(this[_0x24eb0c(0x17a)]===0x8&&this[_0x24eb0c(0x186)]==_0x5d29e8)return _0x2e0941();this[_0x24eb0c(0x2bc)]+=_0x55f656[_0x24eb0c(0x210)],this[_0x24eb0c(0x2b0)][_0x24eb0c(0x26c)](_0x55f656),this[_0x24eb0c(0x176)](_0x2e0941);}[_0x23ad79(0x2e9)](_0x33eec7){const _0x4ec0bf=_0x23ad79;if(this[_0x4ec0bf(0x2bc)]-=_0x33eec7,_0x33eec7===this['_buffers'][0x0][_0x4ec0bf(0x210)])return this[_0x4ec0bf(0x2b0)][_0x4ec0bf(0x2b3)]();if(_0x33eec7<this[_0x4ec0bf(0x2b0)][0x0][_0x4ec0bf(0x210)]){const _0x57f51e=this['_buffers'][0x0];return this[_0x4ec0bf(0x2b0)][0x0]=new _0x16ec43(_0x57f51e[_0x4ec0bf(0x164)],_0x57f51e['byteOffset']+_0x33eec7,_0x57f51e[_0x4ec0bf(0x210)]-_0x33eec7),new _0x16ec43(_0x57f51e[_0x4ec0bf(0x164)],_0x57f51e[_0x4ec0bf(0x16a)],_0x33eec7);}const _0x5ef7f0=Buffer[_0x4ec0bf(0x23f)](_0x33eec7);do{const _0xdda030=this[_0x4ec0bf(0x2b0)][0x0],_0x346530=_0x5ef7f0[_0x4ec0bf(0x210)]-_0x33eec7;_0x33eec7>=_0xdda030[_0x4ec0bf(0x210)]?_0x5ef7f0[_0x4ec0bf(0x252)](this[_0x4ec0bf(0x2b0)][_0x4ec0bf(0x2b3)](),_0x346530):(_0x5ef7f0[_0x4ec0bf(0x252)](new Uint8Array(_0xdda030['buffer'],_0xdda030[_0x4ec0bf(0x16a)],_0x33eec7),_0x346530),this[_0x4ec0bf(0x2b0)][0x0]=new _0x16ec43(_0xdda030[_0x4ec0bf(0x164)],_0xdda030['byteOffset']+_0x33eec7,_0xdda030[_0x4ec0bf(0x210)]-_0x33eec7)),_0x33eec7-=_0xdda030['length'];}while(_0x33eec7>0x0);return _0x5ef7f0;}[_0x23ad79(0x176)](_0x2e3fa3){const _0x187a66=_0x23ad79;this[_0x187a66(0x1f2)]=!0x0;do switch(this[_0x187a66(0x186)]){case _0x5d29e8:this[_0x187a66(0x28a)](_0x2e3fa3);break;case _0x281cf0:this[_0x187a66(0x2d1)](_0x2e3fa3);break;case _0x36fb2e:this[_0x187a66(0x2a7)](_0x2e3fa3);break;case _0x1845f3:this['getMask']();break;case _0x3baa7c:this[_0x187a66(0x177)](_0x2e3fa3);break;case _0x3c0ad7:case _0x549b48:this[_0x187a66(0x1f2)]=!0x1;return;}while(this['_loop']);this[_0x187a66(0x2ce)]||_0x2e3fa3();}[_0x23ad79(0x28a)](_0x2688a9){const _0x4daea7=_0x23ad79;if(this[_0x4daea7(0x2bc)]<0x2){this[_0x4daea7(0x1f2)]=!0x1;return;}const _0x37ac54=this[_0x4daea7(0x2e9)](0x2);if((_0x37ac54[0x0]&0x30)!==0x0){const _0x5b3ae6=this[_0x4daea7(0x1d4)](RangeError,_0x4daea7(0x173),!0x0,0x3ea,_0x4daea7(0x221));_0x2688a9(_0x5b3ae6);return;}const _0xfe6080=(_0x37ac54[0x0]&0x40)===0x40;if(_0xfe6080&&!this[_0x4daea7(0x1b5)][_0x2d1e62[_0x4daea7(0x16d)]]){const _0x4bee52=this[_0x4daea7(0x1d4)](RangeError,_0x4daea7(0x217),!0x0,0x3ea,_0x4daea7(0x2d3));_0x2688a9(_0x4bee52);return;}if(this[_0x4daea7(0x1e2)]=(_0x37ac54[0x0]&0x80)===0x80,this[_0x4daea7(0x17a)]=_0x37ac54[0x0]&0xf,this[_0x4daea7(0x2cc)]=_0x37ac54[0x1]&0x7f,this[_0x4daea7(0x17a)]===0x0){if(_0xfe6080){const _0x1048d1=this[_0x4daea7(0x1d4)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4daea7(0x2d3));_0x2688a9(_0x1048d1);return;}if(!this[_0x4daea7(0x304)]){const _0x22870d=this['createError'](RangeError,_0x4daea7(0x1f9),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2688a9(_0x22870d);return;}this[_0x4daea7(0x17a)]=this[_0x4daea7(0x304)];}else{if(this[_0x4daea7(0x17a)]===0x1||this[_0x4daea7(0x17a)]===0x2){if(this[_0x4daea7(0x304)]){const _0x3b5aaa=this['createError'](RangeError,_0x4daea7(0x2c1)+this[_0x4daea7(0x17a)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2688a9(_0x3b5aaa);return;}this[_0x4daea7(0x22d)]=_0xfe6080;}else{if(this[_0x4daea7(0x17a)]>0x7&&this[_0x4daea7(0x17a)]<0xb){if(!this['_fin']){const _0x5190b6=this[_0x4daea7(0x1d4)](RangeError,_0x4daea7(0x192),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x2688a9(_0x5190b6);return;}if(_0xfe6080){const _0x2c1f6e=this[_0x4daea7(0x1d4)](RangeError,_0x4daea7(0x217),!0x0,0x3ea,_0x4daea7(0x2d3));_0x2688a9(_0x2c1f6e);return;}if(this[_0x4daea7(0x2cc)]>0x7d||this[_0x4daea7(0x17a)]===0x8&&this['_payloadLength']===0x1){const _0x436b4d=this['createError'](RangeError,_0x4daea7(0x1f6)+this['_payloadLength'],!0x0,0x3ea,_0x4daea7(0x17e));_0x2688a9(_0x436b4d);return;}}else{const _0xb63a08=this[_0x4daea7(0x1d4)](RangeError,_0x4daea7(0x2c1)+this['_opcode'],!0x0,0x3ea,_0x4daea7(0x2e4));_0x2688a9(_0xb63a08);return;}}}if(!this[_0x4daea7(0x1e2)]&&!this[_0x4daea7(0x304)]&&(this[_0x4daea7(0x304)]=this[_0x4daea7(0x17a)]),this[_0x4daea7(0x30c)]=(_0x37ac54[0x1]&0x80)===0x80,this[_0x4daea7(0x185)]){if(!this[_0x4daea7(0x30c)]){const _0x486c12=this[_0x4daea7(0x1d4)](RangeError,_0x4daea7(0x231),!0x0,0x3ea,_0x4daea7(0x1d5));_0x2688a9(_0x486c12);return;}}else{if(this[_0x4daea7(0x30c)]){const _0x5b90cf=this[_0x4daea7(0x1d4)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x2688a9(_0x5b90cf);return;}}this[_0x4daea7(0x2cc)]===0x7e?this[_0x4daea7(0x186)]=_0x281cf0:this[_0x4daea7(0x2cc)]===0x7f?this[_0x4daea7(0x186)]=_0x36fb2e:this['haveLength'](_0x2688a9);}[_0x23ad79(0x2d1)](_0x317e23){const _0xe94417=_0x23ad79;if(this[_0xe94417(0x2bc)]<0x2){this[_0xe94417(0x1f2)]=!0x1;return;}this[_0xe94417(0x2cc)]=this[_0xe94417(0x2e9)](0x2)[_0xe94417(0x309)](0x0),this[_0xe94417(0x2bf)](_0x317e23);}[_0x23ad79(0x2a7)](_0x8be0dc){const _0x687a7a=_0x23ad79;if(this[_0x687a7a(0x2bc)]<0x8){this[_0x687a7a(0x1f2)]=!0x1;return;}const _0x2f5c66=this[_0x687a7a(0x2e9)](0x8),_0x1a757a=_0x2f5c66[_0x687a7a(0x1c8)](0x0);if(_0x1a757a>Math[_0x687a7a(0x2ec)](0x2,0x15)-0x1){const _0x2c1392=this[_0x687a7a(0x1d4)](RangeError,_0x687a7a(0x257),!0x1,0x3f1,_0x687a7a(0x2a6));_0x8be0dc(_0x2c1392);return;}this[_0x687a7a(0x2cc)]=_0x1a757a*Math[_0x687a7a(0x2ec)](0x2,0x20)+_0x2f5c66['readUInt32BE'](0x4),this[_0x687a7a(0x2bf)](_0x8be0dc);}[_0x23ad79(0x2bf)](_0x14e6aa){const _0x17ca0e=_0x23ad79;if(this['_payloadLength']&&this[_0x17ca0e(0x17a)]<0x8&&(this[_0x17ca0e(0x242)]+=this[_0x17ca0e(0x2cc)],this[_0x17ca0e(0x242)]>this[_0x17ca0e(0x204)]&&this['_maxPayload']>0x0)){const _0x1a110b=this[_0x17ca0e(0x1d4)](RangeError,_0x17ca0e(0x306),!0x1,0x3f1,_0x17ca0e(0x2d5));_0x14e6aa(_0x1a110b);return;}this[_0x17ca0e(0x30c)]?this[_0x17ca0e(0x186)]=_0x1845f3:this[_0x17ca0e(0x186)]=_0x3baa7c;}[_0x23ad79(0x2be)](){const _0x62ca1f=_0x23ad79;if(this[_0x62ca1f(0x2bc)]<0x4){this['_loop']=!0x1;return;}this[_0x62ca1f(0x2fb)]=this[_0x62ca1f(0x2e9)](0x4),this[_0x62ca1f(0x186)]=_0x3baa7c;}['getData'](_0x348d37){const _0x1d897c=_0x23ad79;let _0x381787=_0xe00ab8;if(this['_payloadLength']){if(this[_0x1d897c(0x2bc)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x381787=this[_0x1d897c(0x2e9)](this[_0x1d897c(0x2cc)]),this[_0x1d897c(0x30c)]&&(this['_mask'][0x0]|this[_0x1d897c(0x2fb)][0x1]|this[_0x1d897c(0x2fb)][0x2]|this[_0x1d897c(0x2fb)][0x3])!==0x0&&_0x40dda7(_0x381787,this[_0x1d897c(0x2fb)]);}if(this[_0x1d897c(0x17a)]>0x7){this[_0x1d897c(0x17c)](_0x381787,_0x348d37);return;}if(this[_0x1d897c(0x22d)]){this[_0x1d897c(0x186)]=_0x3c0ad7,this['decompress'](_0x381787,_0x348d37);return;}_0x381787['length']&&(this[_0x1d897c(0x1ec)]=this['_totalPayloadLength'],this[_0x1d897c(0x1a5)][_0x1d897c(0x26c)](_0x381787)),this['dataMessage'](_0x348d37);}[_0x23ad79(0x250)](_0x1a383a,_0x43aae6){const _0x533077=_0x23ad79;this[_0x533077(0x1b5)][_0x2d1e62[_0x533077(0x16d)]]['decompress'](_0x1a383a,this[_0x533077(0x1e2)],(_0xcafb0,_0x2789fd)=>{const _0x45ed9d=_0x533077;if(_0xcafb0)return _0x43aae6(_0xcafb0);if(_0x2789fd['length']){if(this['_messageLength']+=_0x2789fd['length'],this[_0x45ed9d(0x1ec)]>this[_0x45ed9d(0x204)]&&this[_0x45ed9d(0x204)]>0x0){const _0x3e7c01=this['createError'](RangeError,_0x45ed9d(0x306),!0x1,0x3f1,_0x45ed9d(0x2d5));_0x43aae6(_0x3e7c01);return;}this[_0x45ed9d(0x1a5)][_0x45ed9d(0x26c)](_0x2789fd);}this['dataMessage'](_0x43aae6),this['_state']===_0x5d29e8&&this[_0x45ed9d(0x176)](_0x43aae6);});}[_0x23ad79(0x21f)](_0x397893){const _0x56c9c6=_0x23ad79;if(!this[_0x56c9c6(0x1e2)]){this[_0x56c9c6(0x186)]=_0x5d29e8;return;}const _0x371c1c=this[_0x56c9c6(0x1ec)],_0x4c4ab=this[_0x56c9c6(0x1a5)];if(this[_0x56c9c6(0x242)]=0x0,this['_messageLength']=0x0,this[_0x56c9c6(0x304)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x4cedde;this[_0x56c9c6(0x2db)]===_0x56c9c6(0x20f)?_0x4cedde=_0x286459(_0x4c4ab,_0x371c1c):this[_0x56c9c6(0x2db)]==='arraybuffer'?_0x4cedde=_0x47c2c3(_0x286459(_0x4c4ab,_0x371c1c)):this[_0x56c9c6(0x2db)]===_0x56c9c6(0x24e)?_0x4cedde=new Blob(_0x4c4ab):_0x4cedde=_0x4c4ab,this[_0x56c9c6(0x260)]?(this[_0x56c9c6(0x2eb)](_0x56c9c6(0x1ca),_0x4cedde,!0x0),this[_0x56c9c6(0x186)]=_0x5d29e8):(this['_state']=_0x549b48,setImmediate(()=>{const _0x282fc3=_0x56c9c6;this[_0x282fc3(0x2eb)](_0x282fc3(0x1ca),_0x4cedde,!0x0),this[_0x282fc3(0x186)]=_0x5d29e8,this[_0x282fc3(0x176)](_0x397893);}));}else{const _0x1779a2=_0x286459(_0x4c4ab,_0x371c1c);if(!this[_0x56c9c6(0x24a)]&&!_0x104ba7(_0x1779a2)){const _0x3352f7=this['createError'](Error,_0x56c9c6(0x18e),!0x0,0x3ef,_0x56c9c6(0x24f));_0x397893(_0x3352f7);return;}this['_state']===_0x3c0ad7||this[_0x56c9c6(0x260)]?(this[_0x56c9c6(0x2eb)](_0x56c9c6(0x1ca),_0x1779a2,!0x1),this[_0x56c9c6(0x186)]=_0x5d29e8):(this[_0x56c9c6(0x186)]=_0x549b48,setImmediate(()=>{const _0x58258=_0x56c9c6;this[_0x58258(0x2eb)](_0x58258(0x1ca),_0x1779a2,!0x1),this[_0x58258(0x186)]=_0x5d29e8,this[_0x58258(0x176)](_0x397893);}));}}['controlMessage'](_0x24b8ca,_0x4810d9){const _0x56f575=_0x23ad79;if(this['_opcode']===0x8){if(_0x24b8ca[_0x56f575(0x210)]===0x0)this[_0x56f575(0x1f2)]=!0x1,this[_0x56f575(0x2eb)](_0x56f575(0x263),0x3ed,_0xe00ab8),this['end']();else{const _0x7e31a7=_0x24b8ca[_0x56f575(0x309)](0x0);if(!_0x3289a6(_0x7e31a7)){const _0x365a78=this[_0x56f575(0x1d4)](RangeError,'invalid\x20status\x20code\x20'+_0x7e31a7,!0x0,0x3ea,_0x56f575(0x2b6));_0x4810d9(_0x365a78);return;}const _0x12cbed=new _0x16ec43(_0x24b8ca[_0x56f575(0x164)],_0x24b8ca[_0x56f575(0x16a)]+0x2,_0x24b8ca[_0x56f575(0x210)]-0x2);if(!this[_0x56f575(0x24a)]&&!_0x104ba7(_0x12cbed)){const _0x5f4d2a=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x56f575(0x24f));_0x4810d9(_0x5f4d2a);return;}this['_loop']=!0x1,this['emit']('conclude',_0x7e31a7,_0x12cbed),this['end']();}this[_0x56f575(0x186)]=_0x5d29e8;return;}this['_allowSynchronousEvents']?(this[_0x56f575(0x2eb)](this['_opcode']===0x9?_0x56f575(0x268):'pong',_0x24b8ca),this[_0x56f575(0x186)]=_0x5d29e8):(this['_state']=_0x549b48,setImmediate(()=>{const _0x4d4f7b=_0x56f575;this[_0x4d4f7b(0x2eb)](this['_opcode']===0x9?_0x4d4f7b(0x268):_0x4d4f7b(0x1f0),_0x24b8ca),this['_state']=_0x5d29e8,this[_0x4d4f7b(0x176)](_0x4810d9);}));}[_0x23ad79(0x1d4)](_0x3fd4a8,_0x2129fa,_0x3814e9,_0x473d1f,_0x3257de){const _0x207971=_0x23ad79;this[_0x207971(0x1f2)]=!0x1,this[_0x207971(0x2ce)]=!0x0;const _0x5ac8d1=new _0x3fd4a8(_0x3814e9?_0x207971(0x1f1)+_0x2129fa:_0x2129fa);return Error[_0x207971(0x1e8)](_0x5ac8d1,this[_0x207971(0x1d4)]),_0x5ac8d1[_0x207971(0x255)]=_0x3257de,_0x5ac8d1[_0x11d834]=_0x473d1f,_0x5ac8d1;}}return Se=_0x2646b2,Se;}var Ee,et;function _t(){const _0x36595f=_0x2bc3d1;if(et)return Ee;et=0x1;const {Duplex:_0x268af3}=_0x4bd49a,{randomFillSync:_0x2e1a3f}=_0x4e16df,_0x105106=he(),{EMPTY_BUFFER:_0x587138,kWebSocket:_0x5e9901,NOOP:_0xd9ff9d}=V(),{isBlob:_0x1b7f6c,isValidStatusCode:_0x5794cb}=ne(),{mask:_0x3696ea,toBuffer:_0x51f358}=ce(),_0x4f7344=Symbol(_0x36595f(0x1bc)),_0x2c69e0=Buffer['alloc'](0x4),_0x5357e7=0x8*0x400;let _0x471b9b,_0x35a0f5=_0x5357e7;const _0x412149=0x0,_0x9d0fe4=0x1,_0x483c65=0x2;class _0xec90f4{constructor(_0xbe937c,_0x357bc5,_0x298248){const _0x3e80c3=_0x36595f;this[_0x3e80c3(0x1b5)]=_0x357bc5||{},_0x298248&&(this[_0x3e80c3(0x189)]=_0x298248,this['_maskBuffer']=Buffer[_0x3e80c3(0x1cc)](0x4)),this[_0x3e80c3(0x22c)]=_0xbe937c,this[_0x3e80c3(0x285)]=!0x0,this[_0x3e80c3(0x171)]=!0x1,this[_0x3e80c3(0x2bc)]=0x0,this[_0x3e80c3(0x29b)]=[],this[_0x3e80c3(0x186)]=_0x412149,this[_0x3e80c3(0x1ee)]=_0xd9ff9d,this[_0x5e9901]=void 0x0;}static[_0x36595f(0x1c1)](_0x4d149f,_0x4e1219){const _0x488d24=_0x36595f;let _0x48969b,_0x32f5e7=!0x1,_0xc22196=0x2,_0x4a95de=!0x1;_0x4e1219[_0x488d24(0x1ff)]&&(_0x48969b=_0x4e1219[_0x488d24(0x1e1)]||_0x2c69e0,_0x4e1219[_0x488d24(0x1d7)]?_0x4e1219['generateMask'](_0x48969b):(_0x35a0f5===_0x5357e7&&(_0x471b9b===void 0x0&&(_0x471b9b=Buffer[_0x488d24(0x1cc)](_0x5357e7)),_0x2e1a3f(_0x471b9b,0x0,_0x5357e7),_0x35a0f5=0x0),_0x48969b[0x0]=_0x471b9b[_0x35a0f5++],_0x48969b[0x1]=_0x471b9b[_0x35a0f5++],_0x48969b[0x2]=_0x471b9b[_0x35a0f5++],_0x48969b[0x3]=_0x471b9b[_0x35a0f5++]),_0x4a95de=(_0x48969b[0x0]|_0x48969b[0x1]|_0x48969b[0x2]|_0x48969b[0x3])===0x0,_0xc22196=0x6);let _0x3434b0;typeof _0x4d149f==_0x488d24(0x2d6)?(!_0x4e1219['mask']||_0x4a95de)&&_0x4e1219[_0x4f7344]!==void 0x0?_0x3434b0=_0x4e1219[_0x4f7344]:(_0x4d149f=Buffer[_0x488d24(0x23b)](_0x4d149f),_0x3434b0=_0x4d149f[_0x488d24(0x210)]):(_0x3434b0=_0x4d149f[_0x488d24(0x210)],_0x32f5e7=_0x4e1219['mask']&&_0x4e1219['readOnly']&&!_0x4a95de);let _0x537cce=_0x3434b0;_0x3434b0>=0x10000?(_0xc22196+=0x8,_0x537cce=0x7f):_0x3434b0>0x7d&&(_0xc22196+=0x2,_0x537cce=0x7e);const _0x2332f3=Buffer[_0x488d24(0x23f)](_0x32f5e7?_0x3434b0+_0xc22196:_0xc22196);return _0x2332f3[0x0]=_0x4e1219['fin']?_0x4e1219[_0x488d24(0x254)]|0x80:_0x4e1219['opcode'],_0x4e1219[_0x488d24(0x234)]&&(_0x2332f3[0x0]|=0x40),_0x2332f3[0x1]=_0x537cce,_0x537cce===0x7e?_0x2332f3[_0x488d24(0x23d)](_0x3434b0,0x2):_0x537cce===0x7f&&(_0x2332f3[0x2]=_0x2332f3[0x3]=0x0,_0x2332f3['writeUIntBE'](_0x3434b0,0x4,0x6)),_0x4e1219[_0x488d24(0x1ff)]?(_0x2332f3[0x1]|=0x80,_0x2332f3[_0xc22196-0x4]=_0x48969b[0x0],_0x2332f3[_0xc22196-0x3]=_0x48969b[0x1],_0x2332f3[_0xc22196-0x2]=_0x48969b[0x2],_0x2332f3[_0xc22196-0x1]=_0x48969b[0x3],_0x4a95de?[_0x2332f3,_0x4d149f]:_0x32f5e7?(_0x3696ea(_0x4d149f,_0x48969b,_0x2332f3,_0xc22196,_0x3434b0),[_0x2332f3]):(_0x3696ea(_0x4d149f,_0x48969b,_0x4d149f,0x0,_0x3434b0),[_0x2332f3,_0x4d149f])):[_0x2332f3,_0x4d149f];}[_0x36595f(0x159)](_0x2d1b2a,_0x500ebb,_0x5ef08c,_0x558a2e){const _0x304955=_0x36595f;let _0x9e68b0;if(_0x2d1b2a===void 0x0)_0x9e68b0=_0x587138;else{if(typeof _0x2d1b2a!=_0x304955(0x206)||!_0x5794cb(_0x2d1b2a))throw new TypeError(_0x304955(0x2af));if(_0x500ebb===void 0x0||!_0x500ebb[_0x304955(0x210)])_0x9e68b0=Buffer[_0x304955(0x23f)](0x2),_0x9e68b0['writeUInt16BE'](_0x2d1b2a,0x0);else{const _0x3cc809=Buffer[_0x304955(0x1a3)](_0x500ebb);if(_0x3cc809>0x7b)throw new RangeError(_0x304955(0x2ac));_0x9e68b0=Buffer[_0x304955(0x23f)](0x2+_0x3cc809),_0x9e68b0[_0x304955(0x23d)](_0x2d1b2a,0x0),typeof _0x500ebb=='string'?_0x9e68b0[_0x304955(0x248)](_0x500ebb,0x2):_0x9e68b0[_0x304955(0x252)](_0x500ebb,0x2);}}const _0x2e9f72={[_0x4f7344]:_0x9e68b0[_0x304955(0x210)],'fin':!0x0,'generateMask':this[_0x304955(0x189)],'mask':_0x5ef08c,'maskBuffer':this[_0x304955(0x1e5)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x304955(0x186)]!==_0x412149?this[_0x304955(0x25e)]([this[_0x304955(0x1df)],_0x9e68b0,!0x1,_0x2e9f72,_0x558a2e]):this[_0x304955(0x195)](_0xec90f4['frame'](_0x9e68b0,_0x2e9f72),_0x558a2e);}[_0x36595f(0x268)](_0x5e2723,_0x26c216,_0xb5bfb2){const _0x5c4956=_0x36595f;let _0x26ed85,_0xcd15fe;if(typeof _0x5e2723==_0x5c4956(0x2d6)?(_0x26ed85=Buffer['byteLength'](_0x5e2723),_0xcd15fe=!0x1):_0x1b7f6c(_0x5e2723)?(_0x26ed85=_0x5e2723[_0x5c4956(0x2de)],_0xcd15fe=!0x1):(_0x5e2723=_0x51f358(_0x5e2723),_0x26ed85=_0x5e2723[_0x5c4956(0x210)],_0xcd15fe=_0x51f358[_0x5c4956(0x194)]),_0x26ed85>0x7d)throw new RangeError(_0x5c4956(0x1cf));const _0x4eede4={[_0x4f7344]:_0x26ed85,'fin':!0x0,'generateMask':this[_0x5c4956(0x189)],'mask':_0x26c216,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0xcd15fe,'rsv1':!0x1};_0x1b7f6c(_0x5e2723)?this[_0x5c4956(0x186)]!==_0x412149?this[_0x5c4956(0x25e)]([this[_0x5c4956(0x267)],_0x5e2723,!0x1,_0x4eede4,_0xb5bfb2]):this[_0x5c4956(0x267)](_0x5e2723,!0x1,_0x4eede4,_0xb5bfb2):this['_state']!==_0x412149?this[_0x5c4956(0x25e)]([this['dispatch'],_0x5e2723,!0x1,_0x4eede4,_0xb5bfb2]):this[_0x5c4956(0x195)](_0xec90f4[_0x5c4956(0x1c1)](_0x5e2723,_0x4eede4),_0xb5bfb2);}[_0x36595f(0x1f0)](_0xf10168,_0x4b720a,_0x2c6b09){const _0xe324c0=_0x36595f;let _0x3cfa0e,_0x13c8e9;if(typeof _0xf10168==_0xe324c0(0x2d6)?(_0x3cfa0e=Buffer['byteLength'](_0xf10168),_0x13c8e9=!0x1):_0x1b7f6c(_0xf10168)?(_0x3cfa0e=_0xf10168['size'],_0x13c8e9=!0x1):(_0xf10168=_0x51f358(_0xf10168),_0x3cfa0e=_0xf10168['length'],_0x13c8e9=_0x51f358['readOnly']),_0x3cfa0e>0x7d)throw new RangeError(_0xe324c0(0x1cf));const _0x2510a4={[_0x4f7344]:_0x3cfa0e,'fin':!0x0,'generateMask':this[_0xe324c0(0x189)],'mask':_0x4b720a,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x13c8e9,'rsv1':!0x1};_0x1b7f6c(_0xf10168)?this[_0xe324c0(0x186)]!==_0x412149?this[_0xe324c0(0x25e)]([this[_0xe324c0(0x267)],_0xf10168,!0x1,_0x2510a4,_0x2c6b09]):this[_0xe324c0(0x267)](_0xf10168,!0x1,_0x2510a4,_0x2c6b09):this['_state']!==_0x412149?this[_0xe324c0(0x25e)]([this[_0xe324c0(0x1df)],_0xf10168,!0x1,_0x2510a4,_0x2c6b09]):this['sendFrame'](_0xec90f4['frame'](_0xf10168,_0x2510a4),_0x2c6b09);}[_0x36595f(0x1e6)](_0x3cc137,_0x301203,_0x313aee){const _0x2f1484=_0x36595f,_0x42d0d4=this['_extensions'][_0x105106[_0x2f1484(0x16d)]];let _0x44a34d=_0x301203[_0x2f1484(0x283)]?0x2:0x1,_0x20ee22=_0x301203[_0x2f1484(0x208)],_0x26041d,_0x515192;typeof _0x3cc137==_0x2f1484(0x2d6)?(_0x26041d=Buffer['byteLength'](_0x3cc137),_0x515192=!0x1):_0x1b7f6c(_0x3cc137)?(_0x26041d=_0x3cc137[_0x2f1484(0x2de)],_0x515192=!0x1):(_0x3cc137=_0x51f358(_0x3cc137),_0x26041d=_0x3cc137[_0x2f1484(0x210)],_0x515192=_0x51f358['readOnly']),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x20ee22&&_0x42d0d4&&_0x42d0d4[_0x2f1484(0x2a0)][_0x42d0d4[_0x2f1484(0x185)]?_0x2f1484(0x284):_0x2f1484(0x1a4)]&&(_0x20ee22=_0x26041d>=_0x42d0d4['_threshold']),this[_0x2f1484(0x171)]=_0x20ee22):(_0x20ee22=!0x1,_0x44a34d=0x0),_0x301203[_0x2f1484(0x1eb)]&&(this[_0x2f1484(0x285)]=!0x0);const _0x4427ca={[_0x4f7344]:_0x26041d,'fin':_0x301203[_0x2f1484(0x1eb)],'generateMask':this[_0x2f1484(0x189)],'mask':_0x301203[_0x2f1484(0x1ff)],'maskBuffer':this[_0x2f1484(0x1e5)],'opcode':_0x44a34d,'readOnly':_0x515192,'rsv1':_0x20ee22};_0x1b7f6c(_0x3cc137)?this[_0x2f1484(0x186)]!==_0x412149?this[_0x2f1484(0x25e)]([this['getBlobData'],_0x3cc137,this[_0x2f1484(0x171)],_0x4427ca,_0x313aee]):this[_0x2f1484(0x267)](_0x3cc137,this[_0x2f1484(0x171)],_0x4427ca,_0x313aee):this[_0x2f1484(0x186)]!==_0x412149?this['enqueue']([this[_0x2f1484(0x1df)],_0x3cc137,this[_0x2f1484(0x171)],_0x4427ca,_0x313aee]):this[_0x2f1484(0x1df)](_0x3cc137,this['_compress'],_0x4427ca,_0x313aee);}[_0x36595f(0x267)](_0x5f495f,_0x58237e,_0x2a4247,_0x1c481e){const _0x4ff11e=_0x36595f;this['_bufferedBytes']+=_0x2a4247[_0x4f7344],this[_0x4ff11e(0x186)]=_0x483c65,_0x5f495f[_0x4ff11e(0x2c0)]()['then'](_0x3b6dad=>{const _0x30d7f4=_0x4ff11e;if(this[_0x30d7f4(0x22c)][_0x30d7f4(0x307)]){const _0x127222=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x351613,this,_0x127222,_0x1c481e);return;}this[_0x30d7f4(0x2bc)]-=_0x2a4247[_0x4f7344];const _0x2922aa=_0x51f358(_0x3b6dad);_0x58237e?this[_0x30d7f4(0x1df)](_0x2922aa,_0x58237e,_0x2a4247,_0x1c481e):(this[_0x30d7f4(0x186)]=_0x412149,this['sendFrame'](_0xec90f4[_0x30d7f4(0x1c1)](_0x2922aa,_0x2a4247),_0x1c481e),this[_0x30d7f4(0x2ca)]());})[_0x4ff11e(0x30a)](_0x107546=>{const _0x53f2b3=_0x4ff11e;process[_0x53f2b3(0x2e7)](_0x1862b3,this,_0x107546,_0x1c481e);});}[_0x36595f(0x1df)](_0x2579b6,_0x3eb5ca,_0x1b1d6f,_0x54fcd4){const _0x32df2a=_0x36595f;if(!_0x3eb5ca){this[_0x32df2a(0x195)](_0xec90f4[_0x32df2a(0x1c1)](_0x2579b6,_0x1b1d6f),_0x54fcd4);return;}const _0xe058bb=this[_0x32df2a(0x1b5)][_0x105106[_0x32df2a(0x16d)]];this['_bufferedBytes']+=_0x1b1d6f[_0x4f7344],this[_0x32df2a(0x186)]=_0x9d0fe4,_0xe058bb[_0x32df2a(0x208)](_0x2579b6,_0x1b1d6f['fin'],(_0x4ff4cd,_0x242bd4)=>{const _0xc5f23=_0x32df2a;if(this[_0xc5f23(0x22c)][_0xc5f23(0x307)]){const _0x3dd91d=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x351613(this,_0x3dd91d,_0x54fcd4);return;}this[_0xc5f23(0x2bc)]-=_0x1b1d6f[_0x4f7344],this['_state']=_0x412149,_0x1b1d6f[_0xc5f23(0x194)]=!0x1,this[_0xc5f23(0x195)](_0xec90f4[_0xc5f23(0x1c1)](_0x242bd4,_0x1b1d6f),_0x54fcd4),this[_0xc5f23(0x2ca)]();});}['dequeue'](){const _0x1324dc=_0x36595f;for(;this['_state']===_0x412149&&this[_0x1324dc(0x29b)][_0x1324dc(0x210)];){const _0x51fe10=this[_0x1324dc(0x29b)]['shift']();this[_0x1324dc(0x2bc)]-=_0x51fe10[0x3][_0x4f7344],Reflect[_0x1324dc(0x2bb)](_0x51fe10[0x0],this,_0x51fe10[_0x1324dc(0x205)](0x1));}}['enqueue'](_0x3d02fb){const _0x53309d=_0x36595f;this[_0x53309d(0x2bc)]+=_0x3d02fb[0x3][_0x4f7344],this[_0x53309d(0x29b)]['push'](_0x3d02fb);}[_0x36595f(0x195)](_0x184c51,_0x4dea49){const _0x26210f=_0x36595f;_0x184c51[_0x26210f(0x210)]===0x2?(this[_0x26210f(0x22c)][_0x26210f(0x2aa)](),this[_0x26210f(0x22c)]['write'](_0x184c51[0x0]),this[_0x26210f(0x22c)]['write'](_0x184c51[0x1],_0x4dea49),this['_socket'][_0x26210f(0x166)]()):this[_0x26210f(0x22c)][_0x26210f(0x248)](_0x184c51[0x0],_0x4dea49);}}Ee=_0xec90f4;function _0x351613(_0x41964b,_0x33ef30,_0x9e160c){const _0x4102d4=_0x36595f;typeof _0x9e160c==_0x4102d4(0x232)&&_0x9e160c(_0x33ef30);for(let _0x1d9046=0x0;_0x1d9046<_0x41964b[_0x4102d4(0x29b)][_0x4102d4(0x210)];_0x1d9046++){const _0x377e52=_0x41964b[_0x4102d4(0x29b)][_0x1d9046],_0x46773a=_0x377e52[_0x377e52[_0x4102d4(0x210)]-0x1];typeof _0x46773a=='function'&&_0x46773a(_0x33ef30);}}function _0x1862b3(_0x37dfcd,_0x3da8a9,_0x343d1b){const _0xc3ca6c=_0x36595f;_0x351613(_0x37dfcd,_0x3da8a9,_0x343d1b),_0x37dfcd[_0xc3ca6c(0x1ee)](_0x3da8a9);}return Ee;}var xe,tt;function Kt(){const _0x261651=_0x2bc3d1;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x29efe6,kListener:_0x52d89b}=V(),_0x70c89c=Symbol('kCode'),_0x1f8347=Symbol(_0x261651(0x213)),_0x4b3f88=Symbol(_0x261651(0x1e4)),_0x4a4368=Symbol('kMessage'),_0x1229b5=Symbol(_0x261651(0x1cd)),_0x5def6e=Symbol(_0x261651(0x22a)),_0x1cb62e=Symbol(_0x261651(0x181)),_0x14197c=Symbol(_0x261651(0x2cb));class _0x59e432{constructor(_0x369614){this[_0x5def6e]=null,this[_0x1cb62e]=_0x369614;}get[_0x261651(0x1c6)](){return this[_0x5def6e];}get[_0x261651(0x26b)](){return this[_0x1cb62e];}}Object[_0x261651(0x216)](_0x59e432[_0x261651(0x191)],_0x261651(0x1c6),{'enumerable':!0x0}),Object['defineProperty'](_0x59e432[_0x261651(0x191)],_0x261651(0x26b),{'enumerable':!0x0});class _0x225793 extends _0x59e432{constructor(_0x246ad8,_0x1a7e13={}){const _0xfa10f3=_0x261651;super(_0x246ad8),this[_0x70c89c]=_0x1a7e13[_0xfa10f3(0x255)]===void 0x0?0x0:_0x1a7e13['code'],this[_0x1229b5]=_0x1a7e13[_0xfa10f3(0x1c5)]===void 0x0?'':_0x1a7e13[_0xfa10f3(0x1c5)],this[_0x14197c]=_0x1a7e13[_0xfa10f3(0x190)]===void 0x0?!0x1:_0x1a7e13[_0xfa10f3(0x190)];}get['code'](){return this[_0x70c89c];}get[_0x261651(0x1c5)](){return this[_0x1229b5];}get[_0x261651(0x190)](){return this[_0x14197c];}}Object[_0x261651(0x216)](_0x225793['prototype'],_0x261651(0x255),{'enumerable':!0x0}),Object[_0x261651(0x216)](_0x225793[_0x261651(0x191)],_0x261651(0x1c5),{'enumerable':!0x0}),Object['defineProperty'](_0x225793[_0x261651(0x191)],_0x261651(0x190),{'enumerable':!0x0});class _0x162e72 extends _0x59e432{constructor(_0x45946f,_0x13001d={}){const _0xc0cdfc=_0x261651;super(_0x45946f),this[_0x4b3f88]=_0x13001d['error']===void 0x0?null:_0x13001d[_0xc0cdfc(0x187)],this[_0x4a4368]=_0x13001d[_0xc0cdfc(0x1ca)]===void 0x0?'':_0x13001d[_0xc0cdfc(0x1ca)];}get['error'](){return this[_0x4b3f88];}get[_0x261651(0x1ca)](){return this[_0x4a4368];}}Object[_0x261651(0x216)](_0x162e72[_0x261651(0x191)],'error',{'enumerable':!0x0}),Object[_0x261651(0x216)](_0x162e72['prototype'],_0x261651(0x1ca),{'enumerable':!0x0});class _0x32ab08 extends _0x59e432{constructor(_0x14006b,_0x1d9eea={}){const _0x3aaf05=_0x261651;super(_0x14006b),this[_0x1f8347]=_0x1d9eea[_0x3aaf05(0x2b7)]===void 0x0?null:_0x1d9eea['data'];}get[_0x261651(0x2b7)](){return this[_0x1f8347];}}Object[_0x261651(0x216)](_0x32ab08[_0x261651(0x191)],_0x261651(0x2b7),{'enumerable':!0x0}),xe={'CloseEvent':_0x225793,'ErrorEvent':_0x162e72,'Event':_0x59e432,'EventTarget':{'addEventListener'(_0x3bd292,_0x45088c,_0x8b3ea1={}){const _0x1ff214=_0x261651;for(const _0x325fa7 of this[_0x1ff214(0x270)](_0x3bd292))if(!_0x8b3ea1[_0x29efe6]&&_0x325fa7[_0x52d89b]===_0x45088c&&!_0x325fa7[_0x29efe6])return;let _0x56ba09;if(_0x3bd292==='message')_0x56ba09=function(_0x5a84ad,_0x2fdb78){const _0x1e049a=_0x1ff214,_0x3a629e=new _0x32ab08(_0x1e049a(0x1ca),{'data':_0x2fdb78?_0x5a84ad:_0x5a84ad['toString']()});_0x3a629e[_0x5def6e]=this,_0x2459cc(_0x45088c,this,_0x3a629e);};else{if(_0x3bd292===_0x1ff214(0x159))_0x56ba09=function(_0x27f98f,_0x237ed3){const _0x4870a0=_0x1ff214,_0x4407fe=new _0x225793(_0x4870a0(0x159),{'code':_0x27f98f,'reason':_0x237ed3[_0x4870a0(0x162)](),'wasClean':this['_closeFrameReceived']&&this[_0x4870a0(0x2ad)]});_0x4407fe[_0x5def6e]=this,_0x2459cc(_0x45088c,this,_0x4407fe);};else{if(_0x3bd292===_0x1ff214(0x187))_0x56ba09=function(_0x2b8fb9){const _0x593ddf=_0x1ff214,_0x40230b=new _0x162e72('error',{'error':_0x2b8fb9,'message':_0x2b8fb9[_0x593ddf(0x1ca)]});_0x40230b[_0x5def6e]=this,_0x2459cc(_0x45088c,this,_0x40230b);};else{if(_0x3bd292==='open')_0x56ba09=function(){const _0x52cbc1=_0x1ff214,_0x412e87=new _0x59e432(_0x52cbc1(0x272));_0x412e87[_0x5def6e]=this,_0x2459cc(_0x45088c,this,_0x412e87);};else return;}}}_0x56ba09[_0x29efe6]=!!_0x8b3ea1[_0x29efe6],_0x56ba09[_0x52d89b]=_0x45088c,_0x8b3ea1[_0x1ff214(0x1a6)]?this[_0x1ff214(0x1a6)](_0x3bd292,_0x56ba09):this['on'](_0x3bd292,_0x56ba09);},'removeEventListener'(_0x3c6e3a,_0x7c942a){const _0x53bf78=_0x261651;for(const _0x53bcf3 of this[_0x53bf78(0x270)](_0x3c6e3a))if(_0x53bcf3[_0x52d89b]===_0x7c942a&&!_0x53bcf3[_0x29efe6]){this[_0x53bf78(0x1cb)](_0x3c6e3a,_0x53bcf3);break;}}},'MessageEvent':_0x32ab08};function _0x2459cc(_0x524609,_0x3dbcf2,_0x205c34){const _0x5effe6=_0x261651;typeof _0x524609==_0x5effe6(0x2ba)&&_0x524609[_0x5effe6(0x197)]?_0x524609[_0x5effe6(0x197)][_0x5effe6(0x303)](_0x524609,_0x205c34):_0x524609[_0x5effe6(0x303)](_0x3dbcf2,_0x205c34);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2547a1}=ne();function _0x420e44(_0x25db61,_0x11bd9c,_0x591fe3){const _0x433902=_0x131d;_0x25db61[_0x11bd9c]===void 0x0?_0x25db61[_0x11bd9c]=[_0x591fe3]:_0x25db61[_0x11bd9c][_0x433902(0x26c)](_0x591fe3);}function _0x1efc05(_0x57752d){const _0x3fe15d=_0x131d,_0x24c301=Object[_0x3fe15d(0x293)](null);let _0x5472d8=Object[_0x3fe15d(0x293)](null),_0x1667f7=!0x1,_0x2c8e59=!0x1,_0x38e508=!0x1,_0x41c907,_0x5d4439,_0x1a3977=-0x1,_0x5c26d9=-0x1,_0x20f4d3=-0x1,_0x23b6e5=0x0;for(;_0x23b6e5<_0x57752d[_0x3fe15d(0x210)];_0x23b6e5++)if(_0x5c26d9=_0x57752d['charCodeAt'](_0x23b6e5),_0x41c907===void 0x0){if(_0x20f4d3===-0x1&&_0x2547a1[_0x5c26d9]===0x1)_0x1a3977===-0x1&&(_0x1a3977=_0x23b6e5);else{if(_0x23b6e5!==0x0&&(_0x5c26d9===0x20||_0x5c26d9===0x9))_0x20f4d3===-0x1&&_0x1a3977!==-0x1&&(_0x20f4d3=_0x23b6e5);else{if(_0x5c26d9===0x3b||_0x5c26d9===0x2c){if(_0x1a3977===-0x1)throw new SyntaxError(_0x3fe15d(0x2d2)+_0x23b6e5);_0x20f4d3===-0x1&&(_0x20f4d3=_0x23b6e5);const _0x1d8ed3=_0x57752d['slice'](_0x1a3977,_0x20f4d3);_0x5c26d9===0x2c?(_0x420e44(_0x24c301,_0x1d8ed3,_0x5472d8),_0x5472d8=Object[_0x3fe15d(0x293)](null)):_0x41c907=_0x1d8ed3,_0x1a3977=_0x20f4d3=-0x1;}else throw new SyntaxError(_0x3fe15d(0x2d2)+_0x23b6e5);}}}else{if(_0x5d4439===void 0x0){if(_0x20f4d3===-0x1&&_0x2547a1[_0x5c26d9]===0x1)_0x1a3977===-0x1&&(_0x1a3977=_0x23b6e5);else{if(_0x5c26d9===0x20||_0x5c26d9===0x9)_0x20f4d3===-0x1&&_0x1a3977!==-0x1&&(_0x20f4d3=_0x23b6e5);else{if(_0x5c26d9===0x3b||_0x5c26d9===0x2c){if(_0x1a3977===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x23b6e5);_0x20f4d3===-0x1&&(_0x20f4d3=_0x23b6e5),_0x420e44(_0x5472d8,_0x57752d['slice'](_0x1a3977,_0x20f4d3),!0x0),_0x5c26d9===0x2c&&(_0x420e44(_0x24c301,_0x41c907,_0x5472d8),_0x5472d8=Object['create'](null),_0x41c907=void 0x0),_0x1a3977=_0x20f4d3=-0x1;}else{if(_0x5c26d9===0x3d&&_0x1a3977!==-0x1&&_0x20f4d3===-0x1)_0x5d4439=_0x57752d[_0x3fe15d(0x205)](_0x1a3977,_0x23b6e5),_0x1a3977=_0x20f4d3=-0x1;else throw new SyntaxError(_0x3fe15d(0x2d2)+_0x23b6e5);}}}}else{if(_0x2c8e59){if(_0x2547a1[_0x5c26d9]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x23b6e5);_0x1a3977===-0x1?_0x1a3977=_0x23b6e5:_0x1667f7||(_0x1667f7=!0x0),_0x2c8e59=!0x1;}else{if(_0x38e508){if(_0x2547a1[_0x5c26d9]===0x1)_0x1a3977===-0x1&&(_0x1a3977=_0x23b6e5);else{if(_0x5c26d9===0x22&&_0x1a3977!==-0x1)_0x38e508=!0x1,_0x20f4d3=_0x23b6e5;else{if(_0x5c26d9===0x5c)_0x2c8e59=!0x0;else throw new SyntaxError(_0x3fe15d(0x2d2)+_0x23b6e5);}}}else{if(_0x5c26d9===0x22&&_0x57752d[_0x3fe15d(0x2f1)](_0x23b6e5-0x1)===0x3d)_0x38e508=!0x0;else{if(_0x20f4d3===-0x1&&_0x2547a1[_0x5c26d9]===0x1)_0x1a3977===-0x1&&(_0x1a3977=_0x23b6e5);else{if(_0x1a3977!==-0x1&&(_0x5c26d9===0x20||_0x5c26d9===0x9))_0x20f4d3===-0x1&&(_0x20f4d3=_0x23b6e5);else{if(_0x5c26d9===0x3b||_0x5c26d9===0x2c){if(_0x1a3977===-0x1)throw new SyntaxError(_0x3fe15d(0x2d2)+_0x23b6e5);_0x20f4d3===-0x1&&(_0x20f4d3=_0x23b6e5);let _0x11d046=_0x57752d[_0x3fe15d(0x205)](_0x1a3977,_0x20f4d3);_0x1667f7&&(_0x11d046=_0x11d046[_0x3fe15d(0x1ef)](/\\/g,''),_0x1667f7=!0x1),_0x420e44(_0x5472d8,_0x5d4439,_0x11d046),_0x5c26d9===0x2c&&(_0x420e44(_0x24c301,_0x41c907,_0x5472d8),_0x5472d8=Object[_0x3fe15d(0x293)](null),_0x41c907=void 0x0),_0x5d4439=void 0x0,_0x1a3977=_0x20f4d3=-0x1;}else throw new SyntaxError(_0x3fe15d(0x2d2)+_0x23b6e5);}}}}}}}if(_0x1a3977===-0x1||_0x38e508||_0x5c26d9===0x20||_0x5c26d9===0x9)throw new SyntaxError(_0x3fe15d(0x18f));_0x20f4d3===-0x1&&(_0x20f4d3=_0x23b6e5);const _0x29faa8=_0x57752d['slice'](_0x1a3977,_0x20f4d3);return _0x41c907===void 0x0?_0x420e44(_0x24c301,_0x29faa8,_0x5472d8):(_0x5d4439===void 0x0?_0x420e44(_0x5472d8,_0x29faa8,!0x0):_0x1667f7?_0x420e44(_0x5472d8,_0x5d4439,_0x29faa8[_0x3fe15d(0x1ef)](/\\/g,'')):_0x420e44(_0x5472d8,_0x5d4439,_0x29faa8),_0x420e44(_0x24c301,_0x41c907,_0x5472d8)),_0x24c301;}function _0x4e4a63(_0x48e35e){const _0x3a8fb0=_0x131d;return Object[_0x3a8fb0(0x1a1)](_0x48e35e)['map'](_0x1b5a23=>{const _0x537321=_0x3a8fb0;let _0x3f8625=_0x48e35e[_0x1b5a23];return Array[_0x537321(0x1b0)](_0x3f8625)||(_0x3f8625=[_0x3f8625]),_0x3f8625['map'](_0x1edc0d=>[_0x1b5a23][_0x537321(0x29c)](Object[_0x537321(0x1a1)](_0x1edc0d)[_0x537321(0x20e)](_0x368e3a=>{const _0x3bc8ed=_0x537321;let _0x16e772=_0x1edc0d[_0x368e3a];return Array[_0x3bc8ed(0x1b0)](_0x16e772)||(_0x16e772=[_0x16e772]),_0x16e772[_0x3bc8ed(0x20e)](_0x37cbc6=>_0x37cbc6===!0x0?_0x368e3a:_0x368e3a+'='+_0x37cbc6)[_0x3bc8ed(0x1f7)](';\x20');}))['join'](';\x20'))[_0x537321(0x1f7)](',\x20');})[_0x3a8fb0(0x1f7)](',\x20');}return be={'format':_0x4e4a63,'parse':_0x1efc05},be;}var we,st;function Ie(){const _0x4c3a3a=_0x2bc3d1;if(st)return we;st=0x1;const _0x2f3d6b=_0x1e9b82,_0x42bd90=_0x404911,_0x23fcaf=_0x3d8eaf,_0x121ef1=_0x4402d8,_0x4ab828=_0x127012,{randomBytes:_0xc59adb,createHash:_0x3a6a97}=_0x4e16df,{Duplex:_0x1bee95,Readable:_0x4a96d2}=_0x4bd49a,{URL:_0x1df75e}=_0x323a9c,_0x3e7ffa=he(),_0x50e53d=dt(),_0xdeecc=_t(),{isBlob:_0x5c747e}=ne(),{BINARY_TYPES:_0x91c05b,EMPTY_BUFFER:_0x44b046,GUID:_0x46a1a5,kForOnEventAttribute:_0x4ca24e,kListener:_0x31ac1b,kStatusCode:_0x5daee2,kWebSocket:_0x209cd6,NOOP:_0x4134c4}=V(),{EventTarget:{addEventListener:_0x1a15e2,removeEventListener:_0x42970e}}=Kt(),{format:_0x3f5ab2,parse:_0x31f9d8}=pt(),{toBuffer:_0x383c71}=ce(),_0x2619c8=0x1e*0x3e8,_0x5473fb=Symbol('kAborted'),_0x469ebb=[0x8,0xd],_0x5e814e=[_0x4c3a3a(0x1d6),_0x4c3a3a(0x269),_0x4c3a3a(0x1fd),_0x4c3a3a(0x23e)],_0xff7449=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x344ead extends _0x2f3d6b{constructor(_0x12e127,_0x4291cd,_0x220527){const _0xac27f=_0x4c3a3a;super(),this[_0xac27f(0x2db)]=_0x91c05b[0x0],this[_0xac27f(0x239)]=0x3ee,this[_0xac27f(0x21b)]=!0x1,this[_0xac27f(0x2ad)]=!0x1,this[_0xac27f(0x249)]=_0x44b046,this[_0xac27f(0x233)]=null,this[_0xac27f(0x2e3)]=!0x1,this[_0xac27f(0x1b5)]={},this['_paused']=!0x1,this[_0xac27f(0x20d)]='',this[_0xac27f(0x1a8)]=_0x344ead[_0xac27f(0x1d6)],this['_receiver']=null,this[_0xac27f(0x172)]=null,this[_0xac27f(0x22c)]=null,_0x12e127!==null?(this[_0xac27f(0x27b)]=0x0,this[_0xac27f(0x185)]=!0x1,this[_0xac27f(0x301)]=0x0,_0x4291cd===void 0x0?_0x4291cd=[]:Array[_0xac27f(0x1b0)](_0x4291cd)||(typeof _0x4291cd==_0xac27f(0x2ba)&&_0x4291cd!==null?(_0x220527=_0x4291cd,_0x4291cd=[]):_0x4291cd=[_0x4291cd]),_0x528fbf(this,_0x12e127,_0x4291cd,_0x220527)):(this[_0xac27f(0x1f3)]=_0x220527[_0xac27f(0x24b)],this[_0xac27f(0x185)]=!0x0);}get[_0x4c3a3a(0x2ee)](){const _0x15dfc0=_0x4c3a3a;return this[_0x15dfc0(0x2db)];}set['binaryType'](_0x44f8a7){const _0x1eebcf=_0x4c3a3a;_0x91c05b[_0x1eebcf(0x273)](_0x44f8a7)&&(this[_0x1eebcf(0x2db)]=_0x44f8a7,this[_0x1eebcf(0x1b7)]&&(this[_0x1eebcf(0x1b7)]['_binaryType']=_0x44f8a7));}get['bufferedAmount'](){const _0x1c0031=_0x4c3a3a;return this[_0x1c0031(0x22c)]?this['_socket']['_writableState'][_0x1c0031(0x210)]+this[_0x1c0031(0x172)][_0x1c0031(0x2bc)]:this['_bufferedAmount'];}get['extensions'](){const _0x197f3a=_0x4c3a3a;return Object[_0x197f3a(0x1a1)](this[_0x197f3a(0x1b5)])[_0x197f3a(0x1f7)]();}get['isPaused'](){const _0x3af79e=_0x4c3a3a;return this[_0x3af79e(0x2ef)];}get[_0x4c3a3a(0x21d)](){return null;}get[_0x4c3a3a(0x1ee)](){return null;}get[_0x4c3a3a(0x1d2)](){return null;}get[_0x4c3a3a(0x311)](){return null;}get[_0x4c3a3a(0x230)](){const _0x2a9e65=_0x4c3a3a;return this[_0x2a9e65(0x20d)];}get['readyState'](){const _0x50725d=_0x4c3a3a;return this[_0x50725d(0x1a8)];}get[_0x4c3a3a(0x25c)](){return this['_url'];}['setSocket'](_0x4150bc,_0x5441e0,_0x5346cc){const _0x32870a=_0x4c3a3a,_0x194ddc=new _0x50e53d({'allowSynchronousEvents':_0x5346cc[_0x32870a(0x220)],'binaryType':this[_0x32870a(0x2ee)],'extensions':this['_extensions'],'isServer':this[_0x32870a(0x185)],'maxPayload':_0x5346cc['maxPayload'],'skipUTF8Validation':_0x5346cc[_0x32870a(0x2c3)]}),_0x5b8942=new _0xdeecc(_0x4150bc,this['_extensions'],_0x5346cc[_0x32870a(0x1d7)]);this[_0x32870a(0x1b7)]=_0x194ddc,this['_sender']=_0x5b8942,this[_0x32870a(0x22c)]=_0x4150bc,_0x194ddc[_0x209cd6]=this,_0x5b8942[_0x209cd6]=this,_0x4150bc[_0x209cd6]=this,_0x194ddc['on'](_0x32870a(0x263),_0x1b4709),_0x194ddc['on']('drain',_0x4fc7c9),_0x194ddc['on'](_0x32870a(0x187),_0x292f18),_0x194ddc['on'](_0x32870a(0x1ca),_0x11a1d7),_0x194ddc['on'](_0x32870a(0x268),_0x15ff56),_0x194ddc['on'](_0x32870a(0x1f0),_0x249193),_0x5b8942['onerror']=_0x13e65f,_0x4150bc[_0x32870a(0x240)]&&_0x4150bc['setTimeout'](0x0),_0x4150bc[_0x32870a(0x211)]&&_0x4150bc[_0x32870a(0x211)](),_0x5441e0[_0x32870a(0x210)]>0x0&&_0x4150bc[_0x32870a(0x1dc)](_0x5441e0),_0x4150bc['on'](_0x32870a(0x159),_0x3b8b48),_0x4150bc['on'](_0x32870a(0x2b7),_0x12feba),_0x4150bc['on'](_0x32870a(0x247),_0x36bcbe),_0x4150bc['on'](_0x32870a(0x187),_0x21630c),this['_readyState']=_0x344ead[_0x32870a(0x269)],this[_0x32870a(0x2eb)](_0x32870a(0x272));}[_0x4c3a3a(0x235)](){const _0x6ffeba=_0x4c3a3a;if(!this[_0x6ffeba(0x22c)]){this[_0x6ffeba(0x1a8)]=_0x344ead[_0x6ffeba(0x23e)],this[_0x6ffeba(0x2eb)]('close',this[_0x6ffeba(0x239)],this[_0x6ffeba(0x249)]);return;}this['_extensions'][_0x3e7ffa['extensionName']]&&this[_0x6ffeba(0x1b5)][_0x3e7ffa['extensionName']][_0x6ffeba(0x16e)](),this[_0x6ffeba(0x1b7)][_0x6ffeba(0x280)](),this['_readyState']=_0x344ead[_0x6ffeba(0x23e)],this[_0x6ffeba(0x2eb)](_0x6ffeba(0x159),this[_0x6ffeba(0x239)],this['_closeMessage']);}[_0x4c3a3a(0x159)](_0x4f0aa5,_0x4d231e){const _0x5a71a7=_0x4c3a3a;if(this[_0x5a71a7(0x246)]!==_0x344ead['CLOSED']){if(this[_0x5a71a7(0x246)]===_0x344ead[_0x5a71a7(0x1d6)]){_0x2db370(this,this[_0x5a71a7(0x2b9)],_0x5a71a7(0x28d));return;}if(this['readyState']===_0x344ead[_0x5a71a7(0x1fd)]){this[_0x5a71a7(0x2ad)]&&(this[_0x5a71a7(0x21b)]||this[_0x5a71a7(0x1b7)][_0x5a71a7(0x15d)][_0x5a71a7(0x225)])&&this[_0x5a71a7(0x22c)][_0x5a71a7(0x247)]();return;}this[_0x5a71a7(0x1a8)]=_0x344ead[_0x5a71a7(0x1fd)],this[_0x5a71a7(0x172)][_0x5a71a7(0x159)](_0x4f0aa5,_0x4d231e,!this['_isServer'],_0x40adb1=>{const _0xf51ec0=_0x5a71a7;_0x40adb1||(this[_0xf51ec0(0x2ad)]=!0x0,(this[_0xf51ec0(0x21b)]||this[_0xf51ec0(0x1b7)][_0xf51ec0(0x15d)]['errorEmitted'])&&this[_0xf51ec0(0x22c)][_0xf51ec0(0x247)]());}),_0x3e241e(this);}}[_0x4c3a3a(0x1a9)](){const _0x3a2315=_0x4c3a3a;this['readyState']===_0x344ead[_0x3a2315(0x1d6)]||this[_0x3a2315(0x246)]===_0x344ead['CLOSED']||(this['_paused']=!0x0,this[_0x3a2315(0x22c)]['pause']());}[_0x4c3a3a(0x268)](_0x166937,_0x467f6f,_0x3b2ef3){const _0x880f40=_0x4c3a3a;if(this[_0x880f40(0x246)]===_0x344ead['CONNECTING'])throw new Error(_0x880f40(0x165));if(typeof _0x166937=='function'?(_0x3b2ef3=_0x166937,_0x166937=_0x467f6f=void 0x0):typeof _0x467f6f==_0x880f40(0x232)&&(_0x3b2ef3=_0x467f6f,_0x467f6f=void 0x0),typeof _0x166937==_0x880f40(0x206)&&(_0x166937=_0x166937[_0x880f40(0x162)]()),this['readyState']!==_0x344ead[_0x880f40(0x269)]){_0x33b16e(this,_0x166937,_0x3b2ef3);return;}_0x467f6f===void 0x0&&(_0x467f6f=!this[_0x880f40(0x185)]),this['_sender'][_0x880f40(0x268)](_0x166937||_0x44b046,_0x467f6f,_0x3b2ef3);}[_0x4c3a3a(0x1f0)](_0x455836,_0x47ac0f,_0x58dd6d){const _0x40dd12=_0x4c3a3a;if(this[_0x40dd12(0x246)]===_0x344ead['CONNECTING'])throw new Error(_0x40dd12(0x165));if(typeof _0x455836==_0x40dd12(0x232)?(_0x58dd6d=_0x455836,_0x455836=_0x47ac0f=void 0x0):typeof _0x47ac0f==_0x40dd12(0x232)&&(_0x58dd6d=_0x47ac0f,_0x47ac0f=void 0x0),typeof _0x455836==_0x40dd12(0x206)&&(_0x455836=_0x455836[_0x40dd12(0x162)]()),this['readyState']!==_0x344ead[_0x40dd12(0x269)]){_0x33b16e(this,_0x455836,_0x58dd6d);return;}_0x47ac0f===void 0x0&&(_0x47ac0f=!this[_0x40dd12(0x185)]),this[_0x40dd12(0x172)][_0x40dd12(0x1f0)](_0x455836||_0x44b046,_0x47ac0f,_0x58dd6d);}[_0x4c3a3a(0x179)](){const _0x387cf4=_0x4c3a3a;this[_0x387cf4(0x246)]===_0x344ead['CONNECTING']||this[_0x387cf4(0x246)]===_0x344ead[_0x387cf4(0x23e)]||(this['_paused']=!0x1,this[_0x387cf4(0x1b7)][_0x387cf4(0x15d)][_0x387cf4(0x265)]||this['_socket']['resume']());}['send'](_0x2a21bf,_0x57e60a,_0x5b9c84){const _0x43748d=_0x4c3a3a;if(this[_0x43748d(0x246)]===_0x344ead[_0x43748d(0x1d6)])throw new Error(_0x43748d(0x165));if(typeof _0x57e60a==_0x43748d(0x232)&&(_0x5b9c84=_0x57e60a,_0x57e60a={}),typeof _0x2a21bf==_0x43748d(0x206)&&(_0x2a21bf=_0x2a21bf['toString']()),this[_0x43748d(0x246)]!==_0x344ead[_0x43748d(0x269)]){_0x33b16e(this,_0x2a21bf,_0x5b9c84);return;}const _0x3906e2={'binary':typeof _0x2a21bf!=_0x43748d(0x2d6),'mask':!this[_0x43748d(0x185)],'compress':!0x0,'fin':!0x0,..._0x57e60a};this[_0x43748d(0x1b5)][_0x3e7ffa[_0x43748d(0x16d)]]||(_0x3906e2['compress']=!0x1),this['_sender'][_0x43748d(0x1e6)](_0x2a21bf||_0x44b046,_0x3906e2,_0x5b9c84);}[_0x4c3a3a(0x19b)](){const _0x1da7c=_0x4c3a3a;if(this[_0x1da7c(0x246)]!==_0x344ead[_0x1da7c(0x23e)]){if(this['readyState']===_0x344ead[_0x1da7c(0x1d6)]){_0x2db370(this,this[_0x1da7c(0x2b9)],_0x1da7c(0x28d));return;}this[_0x1da7c(0x22c)]&&(this[_0x1da7c(0x1a8)]=_0x344ead['CLOSING'],this[_0x1da7c(0x22c)][_0x1da7c(0x271)]());}}}Object[_0x4c3a3a(0x216)](_0x344ead,_0x4c3a3a(0x1d6),{'enumerable':!0x0,'value':_0x5e814e[_0x4c3a3a(0x1b2)](_0x4c3a3a(0x1d6))}),Object[_0x4c3a3a(0x216)](_0x344ead[_0x4c3a3a(0x191)],_0x4c3a3a(0x1d6),{'enumerable':!0x0,'value':_0x5e814e['indexOf'](_0x4c3a3a(0x1d6))}),Object[_0x4c3a3a(0x216)](_0x344ead,_0x4c3a3a(0x269),{'enumerable':!0x0,'value':_0x5e814e['indexOf'](_0x4c3a3a(0x269))}),Object['defineProperty'](_0x344ead[_0x4c3a3a(0x191)],_0x4c3a3a(0x269),{'enumerable':!0x0,'value':_0x5e814e['indexOf'](_0x4c3a3a(0x269))}),Object[_0x4c3a3a(0x216)](_0x344ead,_0x4c3a3a(0x1fd),{'enumerable':!0x0,'value':_0x5e814e[_0x4c3a3a(0x1b2)](_0x4c3a3a(0x1fd))}),Object[_0x4c3a3a(0x216)](_0x344ead['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x5e814e[_0x4c3a3a(0x1b2)]('CLOSING')}),Object[_0x4c3a3a(0x216)](_0x344ead,_0x4c3a3a(0x23e),{'enumerable':!0x0,'value':_0x5e814e['indexOf'](_0x4c3a3a(0x23e))}),Object[_0x4c3a3a(0x216)](_0x344ead[_0x4c3a3a(0x191)],_0x4c3a3a(0x23e),{'enumerable':!0x0,'value':_0x5e814e[_0x4c3a3a(0x1b2)](_0x4c3a3a(0x23e))}),[_0x4c3a3a(0x2ee),_0x4c3a3a(0x243),_0x4c3a3a(0x2b2),_0x4c3a3a(0x289),'protocol',_0x4c3a3a(0x246),_0x4c3a3a(0x25c)][_0x4c3a3a(0x2e5)](_0x3e4c59=>{const _0xf76522=_0x4c3a3a;Object[_0xf76522(0x216)](_0x344ead['prototype'],_0x3e4c59,{'enumerable':!0x0});}),[_0x4c3a3a(0x272),'error',_0x4c3a3a(0x159),'message'][_0x4c3a3a(0x2e5)](_0x17ed88=>{const _0x5b7fe0=_0x4c3a3a;Object['defineProperty'](_0x344ead[_0x5b7fe0(0x191)],'on'+_0x17ed88,{'enumerable':!0x0,'get'(){const _0x971520=_0x5b7fe0;for(const _0x38a374 of this[_0x971520(0x270)](_0x17ed88))if(_0x38a374[_0x4ca24e])return _0x38a374[_0x31ac1b];return null;},'set'(_0x3be62a){const _0x1bed81=_0x5b7fe0;for(const _0x527926 of this['listeners'](_0x17ed88))if(_0x527926[_0x4ca24e]){this['removeListener'](_0x17ed88,_0x527926);break;}typeof _0x3be62a==_0x1bed81(0x232)&&this[_0x1bed81(0x2ff)](_0x17ed88,_0x3be62a,{[_0x4ca24e]:!0x0});}});}),_0x344ead[_0x4c3a3a(0x191)][_0x4c3a3a(0x2ff)]=_0x1a15e2,_0x344ead['prototype'][_0x4c3a3a(0x1c2)]=_0x42970e,we=_0x344ead;function _0x528fbf(_0x197e29,_0x115d9b,_0xfdb4ac,_0xb3c296){const _0x39e8a3=_0x4c3a3a,_0xc0e1b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x469ebb[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xb3c296,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x197e29[_0x39e8a3(0x1f3)]=_0xc0e1b[_0x39e8a3(0x24b)],!_0x469ebb['includes'](_0xc0e1b['protocolVersion']))throw new RangeError(_0x39e8a3(0x27c)+_0xc0e1b[_0x39e8a3(0x2df)]+_0x39e8a3(0x266)+_0x469ebb[_0x39e8a3(0x1f7)](',\x20')+')');let _0x14ffc7;if(_0x115d9b instanceof _0x1df75e)_0x14ffc7=_0x115d9b;else try{_0x14ffc7=new _0x1df75e(_0x115d9b);}catch{throw new SyntaxError(_0x39e8a3(0x30f)+_0x115d9b);}_0x14ffc7[_0x39e8a3(0x230)]==='http:'?_0x14ffc7[_0x39e8a3(0x230)]=_0x39e8a3(0x264):_0x14ffc7['protocol']===_0x39e8a3(0x1fc)&&(_0x14ffc7[_0x39e8a3(0x230)]=_0x39e8a3(0x2c2)),_0x197e29['_url']=_0x14ffc7[_0x39e8a3(0x1d0)];const _0x38e32e=_0x14ffc7['protocol']==='wss:',_0x1401b6=_0x14ffc7[_0x39e8a3(0x230)]===_0x39e8a3(0x188);let _0x4c7f46;if(_0x14ffc7[_0x39e8a3(0x230)]!==_0x39e8a3(0x264)&&!_0x38e32e&&!_0x1401b6?_0x4c7f46=_0x39e8a3(0x15c):_0x1401b6&&!_0x14ffc7[_0x39e8a3(0x22e)]?_0x4c7f46=_0x39e8a3(0x26d):_0x14ffc7[_0x39e8a3(0x1ab)]&&(_0x4c7f46=_0x39e8a3(0x2e1)),_0x4c7f46){const _0x4b075f=new SyntaxError(_0x4c7f46);if(_0x197e29['_redirects']===0x0)throw _0x4b075f;_0x526030(_0x197e29,_0x4b075f);return;}const _0xb735b3=_0x38e32e?0x1bb:0x50,_0x2d8002=_0xc59adb(0x10)[_0x39e8a3(0x162)](_0x39e8a3(0x1c4)),_0x51be0d=_0x38e32e?_0x42bd90[_0x39e8a3(0x218)]:_0x23fcaf['request'],_0x19ddf1=new Set();let _0x1001b0;if(_0xc0e1b['createConnection']=_0xc0e1b['createConnection']||(_0x38e32e?_0x21a514:_0xbe7453),_0xc0e1b['defaultPort']=_0xc0e1b[_0x39e8a3(0x21e)]||_0xb735b3,_0xc0e1b[_0x39e8a3(0x21c)]=_0x14ffc7[_0x39e8a3(0x21c)]||_0xb735b3,_0xc0e1b[_0x39e8a3(0x1c0)]=_0x14ffc7[_0x39e8a3(0x224)][_0x39e8a3(0x1a7)]('[')?_0x14ffc7[_0x39e8a3(0x224)][_0x39e8a3(0x205)](0x1,-0x1):_0x14ffc7[_0x39e8a3(0x224)],_0xc0e1b[_0x39e8a3(0x2f6)]={..._0xc0e1b[_0x39e8a3(0x2f6)],'Sec-WebSocket-Version':_0xc0e1b[_0x39e8a3(0x2df)],'Sec-WebSocket-Key':_0x2d8002,'Connection':_0x39e8a3(0x25b),'Upgrade':_0x39e8a3(0x1c3)},_0xc0e1b[_0x39e8a3(0x170)]=_0x14ffc7[_0x39e8a3(0x22e)]+_0x14ffc7[_0x39e8a3(0x17d)],_0xc0e1b['timeout']=_0xc0e1b[_0x39e8a3(0x16f)],_0xc0e1b['perMessageDeflate']&&(_0x1001b0=new _0x3e7ffa(_0xc0e1b[_0x39e8a3(0x1aa)]!==!0x0?_0xc0e1b[_0x39e8a3(0x1aa)]:{},!0x1,_0xc0e1b[_0x39e8a3(0x222)]),_0xc0e1b[_0x39e8a3(0x2f6)]['Sec-WebSocket-Extensions']=_0x3f5ab2({[_0x3e7ffa[_0x39e8a3(0x16d)]]:_0x1001b0['offer']()})),_0xfdb4ac[_0x39e8a3(0x210)]){for(const _0x333968 of _0xfdb4ac){if(typeof _0x333968!='string'||!_0xff7449[_0x39e8a3(0x244)](_0x333968)||_0x19ddf1[_0x39e8a3(0x1a2)](_0x333968))throw new SyntaxError(_0x39e8a3(0x2ab));_0x19ddf1[_0x39e8a3(0x163)](_0x333968);}_0xc0e1b[_0x39e8a3(0x2f6)]['Sec-WebSocket-Protocol']=_0xfdb4ac['join'](',');}if(_0xc0e1b[_0x39e8a3(0x1b1)]&&(_0xc0e1b['protocolVersion']<0xd?_0xc0e1b[_0x39e8a3(0x2f6)][_0x39e8a3(0x23c)]=_0xc0e1b[_0x39e8a3(0x1b1)]:_0xc0e1b[_0x39e8a3(0x2f6)][_0x39e8a3(0x2ed)]=_0xc0e1b['origin']),(_0x14ffc7['username']||_0x14ffc7[_0x39e8a3(0x1ac)])&&(_0xc0e1b[_0x39e8a3(0x299)]=_0x14ffc7[_0x39e8a3(0x2c6)]+':'+_0x14ffc7['password']),_0x1401b6){const _0x40a558=_0xc0e1b[_0x39e8a3(0x170)][_0x39e8a3(0x1e3)](':');_0xc0e1b[_0x39e8a3(0x193)]=_0x40a558[0x0],_0xc0e1b['path']=_0x40a558[0x1];}let _0x5b7ba8;if(_0xc0e1b['followRedirects']){if(_0x197e29[_0x39e8a3(0x301)]===0x0){_0x197e29[_0x39e8a3(0x2b1)]=_0x1401b6,_0x197e29[_0x39e8a3(0x1bd)]=_0x38e32e,_0x197e29[_0x39e8a3(0x29e)]=_0x1401b6?_0xc0e1b['socketPath']:_0x14ffc7[_0x39e8a3(0x1c0)];const _0x503fb8=_0xb3c296&&_0xb3c296[_0x39e8a3(0x2f6)];if(_0xb3c296={..._0xb3c296,'headers':{}},_0x503fb8){for(const [_0x37ec49,_0x428f24]of Object['entries'](_0x503fb8))_0xb3c296['headers'][_0x37ec49[_0x39e8a3(0x2c8)]()]=_0x428f24;}}else{if(_0x197e29['listenerCount']('redirect')===0x0){const _0x1db1ca=_0x1401b6?_0x197e29[_0x39e8a3(0x2b1)]?_0xc0e1b[_0x39e8a3(0x193)]===_0x197e29[_0x39e8a3(0x29e)]:!0x1:_0x197e29[_0x39e8a3(0x2b1)]?!0x1:_0x14ffc7[_0x39e8a3(0x1c0)]===_0x197e29[_0x39e8a3(0x29e)];(!_0x1db1ca||_0x197e29[_0x39e8a3(0x1bd)]&&!_0x38e32e)&&(delete _0xc0e1b[_0x39e8a3(0x2f6)][_0x39e8a3(0x2c9)],delete _0xc0e1b[_0x39e8a3(0x2f6)][_0x39e8a3(0x212)],_0x1db1ca||delete _0xc0e1b[_0x39e8a3(0x2f6)][_0x39e8a3(0x1c0)],_0xc0e1b[_0x39e8a3(0x299)]=void 0x0);}}_0xc0e1b[_0x39e8a3(0x299)]&&!_0xb3c296[_0x39e8a3(0x2f6)]['authorization']&&(_0xb3c296[_0x39e8a3(0x2f6)]['authorization']=_0x39e8a3(0x27a)+Buffer[_0x39e8a3(0x23b)](_0xc0e1b[_0x39e8a3(0x299)])[_0x39e8a3(0x162)](_0x39e8a3(0x1c4))),_0x5b7ba8=_0x197e29['_req']=_0x51be0d(_0xc0e1b),_0x197e29[_0x39e8a3(0x301)]&&_0x197e29[_0x39e8a3(0x2eb)](_0x39e8a3(0x2f8),_0x197e29[_0x39e8a3(0x25c)],_0x5b7ba8);}else _0x5b7ba8=_0x197e29[_0x39e8a3(0x2b9)]=_0x51be0d(_0xc0e1b);_0xc0e1b[_0x39e8a3(0x1be)]&&_0x5b7ba8['on'](_0x39e8a3(0x1be),()=>{const _0x121594=_0x39e8a3;_0x2db370(_0x197e29,_0x5b7ba8,_0x121594(0x258));}),_0x5b7ba8['on'](_0x39e8a3(0x187),_0x23b12e=>{const _0x4639cb=_0x39e8a3;_0x5b7ba8===null||_0x5b7ba8[_0x5473fb]||(_0x5b7ba8=_0x197e29[_0x4639cb(0x2b9)]=null,_0x526030(_0x197e29,_0x23b12e));}),_0x5b7ba8['on'](_0x39e8a3(0x1bf),_0x118c27=>{const _0x35e1ca=_0x39e8a3,_0x28e938=_0x118c27['headers'][_0x35e1ca(0x22b)],_0x2b4999=_0x118c27[_0x35e1ca(0x20c)];if(_0x28e938&&_0xc0e1b[_0x35e1ca(0x214)]&&_0x2b4999>=0x12c&&_0x2b4999<0x190){if(++_0x197e29[_0x35e1ca(0x301)]>_0xc0e1b[_0x35e1ca(0x1fb)]){_0x2db370(_0x197e29,_0x5b7ba8,_0x35e1ca(0x29f));return;}_0x5b7ba8[_0x35e1ca(0x241)]();let _0x186923;try{_0x186923=new _0x1df75e(_0x28e938,_0x115d9b);}catch{const _0x4ede5f=new SyntaxError('Invalid\x20URL:\x20'+_0x28e938);_0x526030(_0x197e29,_0x4ede5f);return;}_0x528fbf(_0x197e29,_0x186923,_0xfdb4ac,_0xb3c296);}else _0x197e29[_0x35e1ca(0x2eb)](_0x35e1ca(0x2cf),_0x5b7ba8,_0x118c27)||_0x2db370(_0x197e29,_0x5b7ba8,_0x35e1ca(0x282)+_0x118c27['statusCode']);}),_0x5b7ba8['on']('upgrade',(_0x4b19f3,_0x4b0af1,_0xecd7d9)=>{const _0xed607d=_0x39e8a3;if(_0x197e29[_0xed607d(0x2eb)](_0xed607d(0x2b4),_0x4b19f3),_0x197e29[_0xed607d(0x246)]!==_0x344ead[_0xed607d(0x1d6)])return;_0x5b7ba8=_0x197e29[_0xed607d(0x2b9)]=null;const _0x90fda=_0x4b19f3[_0xed607d(0x2f6)][_0xed607d(0x2b4)];if(_0x90fda===void 0x0||_0x90fda[_0xed607d(0x2c8)]()!==_0xed607d(0x1c3)){_0x2db370(_0x197e29,_0x4b0af1,_0xed607d(0x160));return;}const _0x3f3308=_0x3a6a97('sha1')[_0xed607d(0x168)](_0x2d8002+_0x46a1a5)[_0xed607d(0x2b5)](_0xed607d(0x1c4));if(_0x4b19f3[_0xed607d(0x2f6)][_0xed607d(0x20b)]!==_0x3f3308){_0x2db370(_0x197e29,_0x4b0af1,_0xed607d(0x2e8));return;}const _0x2b00c9=_0x4b19f3[_0xed607d(0x2f6)][_0xed607d(0x1fe)];let _0x32e45a;if(_0x2b00c9!==void 0x0?_0x19ddf1[_0xed607d(0x2de)]?_0x19ddf1[_0xed607d(0x1a2)](_0x2b00c9)||(_0x32e45a=_0xed607d(0x2a8)):_0x32e45a=_0xed607d(0x27d):_0x19ddf1[_0xed607d(0x2de)]&&(_0x32e45a=_0xed607d(0x229)),_0x32e45a){_0x2db370(_0x197e29,_0x4b0af1,_0x32e45a);return;}_0x2b00c9&&(_0x197e29[_0xed607d(0x20d)]=_0x2b00c9);const _0x18ed7=_0x4b19f3[_0xed607d(0x2f6)][_0xed607d(0x2d8)];if(_0x18ed7!==void 0x0){if(!_0x1001b0){_0x2db370(_0x197e29,_0x4b0af1,_0xed607d(0x274));return;}let _0x2558e0;try{_0x2558e0=_0x31f9d8(_0x18ed7);}catch{_0x2db370(_0x197e29,_0x4b0af1,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1c19ba=Object[_0xed607d(0x1a1)](_0x2558e0);if(_0x1c19ba[_0xed607d(0x210)]!==0x1||_0x1c19ba[0x0]!==_0x3e7ffa[_0xed607d(0x16d)]){_0x2db370(_0x197e29,_0x4b0af1,_0xed607d(0x28b));return;}try{_0x1001b0['accept'](_0x2558e0[_0x3e7ffa[_0xed607d(0x16d)]]);}catch{_0x2db370(_0x197e29,_0x4b0af1,_0xed607d(0x28c));return;}_0x197e29[_0xed607d(0x1b5)][_0x3e7ffa[_0xed607d(0x16d)]]=_0x1001b0;}_0x197e29[_0xed607d(0x201)](_0x4b0af1,_0xecd7d9,{'allowSynchronousEvents':_0xc0e1b[_0xed607d(0x220)],'generateMask':_0xc0e1b[_0xed607d(0x1d7)],'maxPayload':_0xc0e1b[_0xed607d(0x222)],'skipUTF8Validation':_0xc0e1b['skipUTF8Validation']});}),_0xc0e1b['finishRequest']?_0xc0e1b[_0x39e8a3(0x1ea)](_0x5b7ba8,_0x197e29):_0x5b7ba8[_0x39e8a3(0x247)]();}function _0x526030(_0x15bbb9,_0x522886){const _0x2957c6=_0x4c3a3a;_0x15bbb9['_readyState']=_0x344ead[_0x2957c6(0x1fd)],_0x15bbb9[_0x2957c6(0x2e3)]=!0x0,_0x15bbb9[_0x2957c6(0x2eb)](_0x2957c6(0x187),_0x522886),_0x15bbb9[_0x2957c6(0x235)]();}function _0xbe7453(_0x4d3a3c){const _0x3e697c=_0x4c3a3a;return _0x4d3a3c['path']=_0x4d3a3c[_0x3e697c(0x193)],_0x121ef1[_0x3e697c(0x17b)](_0x4d3a3c);}function _0x21a514(_0x1492da){const _0x584fcf=_0x4c3a3a;return _0x1492da[_0x584fcf(0x170)]=void 0x0,!_0x1492da[_0x584fcf(0x20a)]&&_0x1492da['servername']!==''&&(_0x1492da[_0x584fcf(0x20a)]=_0x121ef1[_0x584fcf(0x2dd)](_0x1492da[_0x584fcf(0x1c0)])?'':_0x1492da[_0x584fcf(0x1c0)]),_0x4ab828[_0x584fcf(0x17b)](_0x1492da);}function _0x2db370(_0x3ab78b,_0x2a1d6a,_0x444575){const _0x1e0632=_0x4c3a3a;_0x3ab78b[_0x1e0632(0x1a8)]=_0x344ead['CLOSING'];const _0x2030a3=new Error(_0x444575);Error[_0x1e0632(0x1e8)](_0x2030a3,_0x2db370),_0x2a1d6a['setHeader']?(_0x2a1d6a[_0x5473fb]=!0x0,_0x2a1d6a['abort'](),_0x2a1d6a['socket']&&!_0x2a1d6a[_0x1e0632(0x1db)][_0x1e0632(0x307)]&&_0x2a1d6a[_0x1e0632(0x1db)][_0x1e0632(0x271)](),process[_0x1e0632(0x2e7)](_0x526030,_0x3ab78b,_0x2030a3)):(_0x2a1d6a[_0x1e0632(0x271)](_0x2030a3),_0x2a1d6a[_0x1e0632(0x1a6)](_0x1e0632(0x187),_0x3ab78b['emit'][_0x1e0632(0x1b9)](_0x3ab78b,_0x1e0632(0x187))),_0x2a1d6a[_0x1e0632(0x1a6)](_0x1e0632(0x159),_0x3ab78b[_0x1e0632(0x235)][_0x1e0632(0x1b9)](_0x3ab78b)));}function _0x33b16e(_0x36e9e3,_0x2bd3a6,_0x5c5531){const _0x12ab38=_0x4c3a3a;if(_0x2bd3a6){const _0x13e330=_0x5c747e(_0x2bd3a6)?_0x2bd3a6['size']:_0x383c71(_0x2bd3a6)[_0x12ab38(0x210)];_0x36e9e3[_0x12ab38(0x22c)]?_0x36e9e3[_0x12ab38(0x172)][_0x12ab38(0x2bc)]+=_0x13e330:_0x36e9e3[_0x12ab38(0x27b)]+=_0x13e330;}if(_0x5c5531){const _0x488f5e=new Error(_0x12ab38(0x1b8)+_0x36e9e3[_0x12ab38(0x246)]+'\x20('+_0x5e814e[_0x36e9e3[_0x12ab38(0x246)]]+')');process['nextTick'](_0x5c5531,_0x488f5e);}}function _0x1b4709(_0x3700a7,_0x169bb8){const _0xb32341=_0x4c3a3a,_0x32dc50=this[_0x209cd6];_0x32dc50[_0xb32341(0x21b)]=!0x0,_0x32dc50[_0xb32341(0x249)]=_0x169bb8,_0x32dc50[_0xb32341(0x239)]=_0x3700a7,_0x32dc50[_0xb32341(0x22c)][_0x209cd6]!==void 0x0&&(_0x32dc50[_0xb32341(0x22c)][_0xb32341(0x1cb)](_0xb32341(0x2b7),_0x12feba),process[_0xb32341(0x2e7)](_0x4c8f72,_0x32dc50[_0xb32341(0x22c)]),_0x3700a7===0x3ed?_0x32dc50['close']():_0x32dc50[_0xb32341(0x159)](_0x3700a7,_0x169bb8));}function _0x4fc7c9(){const _0x345e3e=_0x4c3a3a,_0x396f38=this[_0x209cd6];_0x396f38['isPaused']||_0x396f38[_0x345e3e(0x22c)]['resume']();}function _0x292f18(_0x1345e0){const _0xf5ec14=_0x4c3a3a,_0x17d95c=this[_0x209cd6];_0x17d95c[_0xf5ec14(0x22c)][_0x209cd6]!==void 0x0&&(_0x17d95c[_0xf5ec14(0x22c)][_0xf5ec14(0x1cb)](_0xf5ec14(0x2b7),_0x12feba),process['nextTick'](_0x4c8f72,_0x17d95c[_0xf5ec14(0x22c)]),_0x17d95c[_0xf5ec14(0x159)](_0x1345e0[_0x5daee2])),_0x17d95c[_0xf5ec14(0x2e3)]||(_0x17d95c['_errorEmitted']=!0x0,_0x17d95c['emit'](_0xf5ec14(0x187),_0x1345e0));}function _0x114c7f(){const _0x38c683=_0x4c3a3a;this[_0x209cd6][_0x38c683(0x235)]();}function _0x11a1d7(_0x1a3ed1,_0xb0ed09){const _0xb43d18=_0x4c3a3a;this[_0x209cd6]['emit'](_0xb43d18(0x1ca),_0x1a3ed1,_0xb0ed09);}function _0x15ff56(_0x1330d2){const _0x5a182c=_0x4c3a3a,_0x3f0a8c=this[_0x209cd6];_0x3f0a8c[_0x5a182c(0x1f3)]&&_0x3f0a8c[_0x5a182c(0x1f0)](_0x1330d2,!this['_isServer'],_0x4134c4),_0x3f0a8c[_0x5a182c(0x2eb)](_0x5a182c(0x268),_0x1330d2);}function _0x249193(_0x351251){const _0x509ab3=_0x4c3a3a;this[_0x209cd6]['emit'](_0x509ab3(0x1f0),_0x351251);}function _0x4c8f72(_0x45fd05){const _0x2e56fb=_0x4c3a3a;_0x45fd05[_0x2e56fb(0x179)]();}function _0x13e65f(_0x2ade75){const _0x27409a=_0x4c3a3a,_0x2511c5=this[_0x209cd6];_0x2511c5[_0x27409a(0x246)]!==_0x344ead[_0x27409a(0x23e)]&&(_0x2511c5[_0x27409a(0x246)]===_0x344ead['OPEN']&&(_0x2511c5[_0x27409a(0x1a8)]=_0x344ead[_0x27409a(0x1fd)],_0x3e241e(_0x2511c5)),this[_0x27409a(0x22c)][_0x27409a(0x247)](),_0x2511c5['_errorEmitted']||(_0x2511c5[_0x27409a(0x2e3)]=!0x0,_0x2511c5[_0x27409a(0x2eb)](_0x27409a(0x187),_0x2ade75)));}function _0x3e241e(_0x54c620){const _0x265d04=_0x4c3a3a;_0x54c620[_0x265d04(0x233)]=setTimeout(_0x54c620['_socket']['destroy'][_0x265d04(0x1b9)](_0x54c620[_0x265d04(0x22c)]),_0x2619c8);}function _0x3b8b48(){const _0x3f932e=_0x4c3a3a,_0x31e1d1=this[_0x209cd6];this[_0x3f932e(0x1cb)]('close',_0x3b8b48),this[_0x3f932e(0x1cb)]('data',_0x12feba),this['removeListener'](_0x3f932e(0x247),_0x36bcbe),_0x31e1d1['_readyState']=_0x344ead[_0x3f932e(0x1fd)];let _0x219367;!this['_readableState'][_0x3f932e(0x26f)]&&!_0x31e1d1[_0x3f932e(0x21b)]&&!_0x31e1d1[_0x3f932e(0x1b7)][_0x3f932e(0x15d)][_0x3f932e(0x225)]&&(_0x219367=_0x31e1d1['_socket'][_0x3f932e(0x2d7)]())!==null&&_0x31e1d1['_receiver'][_0x3f932e(0x248)](_0x219367),_0x31e1d1[_0x3f932e(0x1b7)]['end'](),this[_0x209cd6]=void 0x0,clearTimeout(_0x31e1d1[_0x3f932e(0x233)]),_0x31e1d1[_0x3f932e(0x1b7)][_0x3f932e(0x15d)][_0x3f932e(0x28f)]||_0x31e1d1[_0x3f932e(0x1b7)][_0x3f932e(0x15d)][_0x3f932e(0x225)]?_0x31e1d1['emitClose']():(_0x31e1d1[_0x3f932e(0x1b7)]['on']('error',_0x114c7f),_0x31e1d1[_0x3f932e(0x1b7)]['on'](_0x3f932e(0x30e),_0x114c7f));}function _0x12feba(_0x52f280){const _0x419065=_0x4c3a3a;this[_0x209cd6][_0x419065(0x1b7)][_0x419065(0x248)](_0x52f280)||this[_0x419065(0x1a9)]();}function _0x36bcbe(){const _0x159f1a=_0x4c3a3a,_0x322354=this[_0x209cd6];_0x322354[_0x159f1a(0x1a8)]=_0x344ead['CLOSING'],_0x322354['_receiver'][_0x159f1a(0x247)](),this['end']();}function _0x21630c(){const _0x6d8542=_0x4c3a3a,_0xb5800c=this[_0x209cd6];this['removeListener'](_0x6d8542(0x187),_0x21630c),this['on'](_0x6d8542(0x187),_0x4134c4),_0xb5800c&&(_0xb5800c[_0x6d8542(0x1a8)]=_0x344ead['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x545d46}=_0x4bd49a;function _0x3be527(_0x3bfc79){const _0x1c9918=_0x131d;_0x3bfc79[_0x1c9918(0x2eb)](_0x1c9918(0x159));}function _0x4bba51(){const _0x1235f7=_0x131d;!this['destroyed']&&this['_writableState']['finished']&&this[_0x1235f7(0x271)]();}function _0x4bcbc0(_0x14e531){const _0xe657a7=_0x131d;this[_0xe657a7(0x1cb)](_0xe657a7(0x187),_0x4bcbc0),this[_0xe657a7(0x271)](),this[_0xe657a7(0x2d0)](_0xe657a7(0x187))===0x0&&this[_0xe657a7(0x2eb)](_0xe657a7(0x187),_0x14e531);}function _0x8f386c(_0x5baec5,_0x319136){const _0x574cda=_0x131d;let _0x1fe285=!0x0;const _0xcc2b01=new _0x545d46({..._0x319136,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5baec5['on'](_0x574cda(0x1ca),function(_0x1b5df4,_0x2ce441){const _0x37c54a=_0x574cda,_0x49584a=!_0x2ce441&&_0xcc2b01[_0x37c54a(0x29d)][_0x37c54a(0x23a)]?_0x1b5df4[_0x37c54a(0x162)]():_0x1b5df4;_0xcc2b01['push'](_0x49584a)||_0x5baec5[_0x37c54a(0x1a9)]();}),_0x5baec5[_0x574cda(0x1a6)]('error',function(_0xad84a2){_0xcc2b01['destroyed']||(_0x1fe285=!0x1,_0xcc2b01['destroy'](_0xad84a2));}),_0x5baec5[_0x574cda(0x1a6)](_0x574cda(0x159),function(){const _0x391f41=_0x574cda;_0xcc2b01[_0x391f41(0x307)]||_0xcc2b01[_0x391f41(0x26c)](null);}),_0xcc2b01[_0x574cda(0x203)]=function(_0x91e18f,_0x201861){const _0x127e85=_0x574cda;if(_0x5baec5[_0x127e85(0x246)]===_0x5baec5[_0x127e85(0x23e)]){_0x201861(_0x91e18f),process[_0x127e85(0x2e7)](_0x3be527,_0xcc2b01);return;}let _0x681666=!0x1;_0x5baec5['once']('error',function(_0x36aa49){_0x681666=!0x0,_0x201861(_0x36aa49);}),_0x5baec5[_0x127e85(0x1a6)](_0x127e85(0x159),function(){const _0x38c038=_0x127e85;_0x681666||_0x201861(_0x91e18f),process[_0x38c038(0x2e7)](_0x3be527,_0xcc2b01);}),_0x1fe285&&_0x5baec5[_0x127e85(0x19b)]();},_0xcc2b01[_0x574cda(0x1e0)]=function(_0x55a20c){const _0x57886f=_0x574cda;if(_0x5baec5[_0x57886f(0x246)]===_0x5baec5[_0x57886f(0x1d6)]){_0x5baec5[_0x57886f(0x1a6)](_0x57886f(0x272),function(){_0xcc2b01['_final'](_0x55a20c);});return;}_0x5baec5['_socket']!==null&&(_0x5baec5['_socket'][_0x57886f(0x15d)][_0x57886f(0x28f)]?(_0x55a20c(),_0xcc2b01[_0x57886f(0x29d)]['endEmitted']&&_0xcc2b01[_0x57886f(0x271)]()):(_0x5baec5[_0x57886f(0x22c)][_0x57886f(0x1a6)](_0x57886f(0x30e),function(){_0x55a20c();}),_0x5baec5[_0x57886f(0x159)]()));},_0xcc2b01[_0x574cda(0x1c9)]=function(){const _0x17e6df=_0x574cda;_0x5baec5[_0x17e6df(0x289)]&&_0x5baec5[_0x17e6df(0x179)]();},_0xcc2b01[_0x574cda(0x29a)]=function(_0x3f63e8,_0x26f6da,_0x16bd47){const _0x3d1f21=_0x574cda;if(_0x5baec5[_0x3d1f21(0x246)]===_0x5baec5[_0x3d1f21(0x1d6)]){_0x5baec5['once'](_0x3d1f21(0x272),function(){const _0x573b4e=_0x3d1f21;_0xcc2b01[_0x573b4e(0x29a)](_0x3f63e8,_0x26f6da,_0x16bd47);});return;}_0x5baec5[_0x3d1f21(0x1e6)](_0x3f63e8,_0x16bd47);},_0xcc2b01['on']('end',_0x4bba51),_0xcc2b01['on'](_0x574cda(0x187),_0x4bcbc0),_0xcc2b01;}return Oe=_0x8f386c,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x59cbc8}=ne();function _0x323d90(_0x2a944c){const _0x254021=_0x131d,_0x510aa1=new Set();let _0x63f286=-0x1,_0x2a4639=-0x1,_0x4810f1=0x0;for(_0x4810f1;_0x4810f1<_0x2a944c[_0x254021(0x210)];_0x4810f1++){const _0x37dc17=_0x2a944c[_0x254021(0x2f1)](_0x4810f1);if(_0x2a4639===-0x1&&_0x59cbc8[_0x37dc17]===0x1)_0x63f286===-0x1&&(_0x63f286=_0x4810f1);else{if(_0x4810f1!==0x0&&(_0x37dc17===0x20||_0x37dc17===0x9))_0x2a4639===-0x1&&_0x63f286!==-0x1&&(_0x2a4639=_0x4810f1);else{if(_0x37dc17===0x2c){if(_0x63f286===-0x1)throw new SyntaxError(_0x254021(0x2d2)+_0x4810f1);_0x2a4639===-0x1&&(_0x2a4639=_0x4810f1);const _0x5282b7=_0x2a944c[_0x254021(0x205)](_0x63f286,_0x2a4639);if(_0x510aa1[_0x254021(0x1a2)](_0x5282b7))throw new SyntaxError(_0x254021(0x261)+_0x5282b7+_0x254021(0x19c));_0x510aa1[_0x254021(0x163)](_0x5282b7),_0x63f286=_0x2a4639=-0x1;}else throw new SyntaxError(_0x254021(0x2d2)+_0x4810f1);}}}if(_0x63f286===-0x1||_0x2a4639!==-0x1)throw new SyntaxError(_0x254021(0x18f));const _0x3c833a=_0x2a944c[_0x254021(0x205)](_0x63f286,_0x4810f1);if(_0x510aa1['has'](_0x3c833a))throw new SyntaxError(_0x254021(0x261)+_0x3c833a+_0x254021(0x19c));return _0x510aa1[_0x254021(0x163)](_0x3c833a),_0x510aa1;}return Ce={'parse':_0x323d90},Ce;}var Te,ot;function er(){const _0x4c4414=_0x2bc3d1;if(ot)return Te;ot=0x1;const _0x48a1b8=_0x1e9b82,_0x57aef8=_0x3d8eaf,{Duplex:_0xc346e5}=_0x4bd49a,{createHash:_0x1eb96a}=_0x4e16df,_0x54a45b=pt(),_0x885796=he(),_0x1e6d1c=Jt(),_0x5857b8=Ie(),{GUID:_0x4909c3,kWebSocket:_0x1cad87}=V(),_0x1cb15f=/^[+/0-9A-Za-z]{22}==$/,_0x1c8d73=0x0,_0x5efe4e=0x1,_0x42256f=0x2;class _0x4b1a1c extends _0x48a1b8{constructor(_0x3cde5d,_0x171c82){const _0x5ac9f6=_0x131d;if(super(),_0x3cde5d={'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':_0x5857b8,..._0x3cde5d},_0x3cde5d[_0x5ac9f6(0x21c)]==null&&!_0x3cde5d[_0x5ac9f6(0x1a0)]&&!_0x3cde5d['noServer']||_0x3cde5d['port']!=null&&(_0x3cde5d[_0x5ac9f6(0x1a0)]||_0x3cde5d['noServer'])||_0x3cde5d[_0x5ac9f6(0x1a0)]&&_0x3cde5d[_0x5ac9f6(0x279)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x3cde5d[_0x5ac9f6(0x21c)]!=null?(this[_0x5ac9f6(0x237)]=_0x57aef8[_0x5ac9f6(0x308)]((_0x2616e7,_0x127258)=>{const _0x4753af=_0x5ac9f6,_0x327caa=_0x57aef8[_0x4753af(0x25d)][0x1aa];_0x127258['writeHead'](0x1aa,{'Content-Length':_0x327caa[_0x4753af(0x210)],'Content-Type':_0x4753af(0x2a5)}),_0x127258[_0x4753af(0x247)](_0x327caa);}),this[_0x5ac9f6(0x237)][_0x5ac9f6(0x15b)](_0x3cde5d['port'],_0x3cde5d['host'],_0x3cde5d['backlog'],_0x171c82)):_0x3cde5d['server']&&(this[_0x5ac9f6(0x237)]=_0x3cde5d[_0x5ac9f6(0x1a0)]),this['_server']){const _0x5dbd9f=this['emit'][_0x5ac9f6(0x1b9)](this,_0x5ac9f6(0x292));this[_0x5ac9f6(0x276)]=_0x5267d0(this[_0x5ac9f6(0x237)],{'listening':this['emit'][_0x5ac9f6(0x1b9)](this,_0x5ac9f6(0x22f)),'error':this[_0x5ac9f6(0x2eb)][_0x5ac9f6(0x1b9)](this,_0x5ac9f6(0x187)),'upgrade':(_0x47ee9a,_0x3b047a,_0x437217)=>{const _0x4f5ab1=_0x5ac9f6;this[_0x4f5ab1(0x1d8)](_0x47ee9a,_0x3b047a,_0x437217,_0x5dbd9f);}});}_0x3cde5d['perMessageDeflate']===!0x0&&(_0x3cde5d[_0x5ac9f6(0x1aa)]={}),_0x3cde5d[_0x5ac9f6(0x302)]&&(this[_0x5ac9f6(0x1f8)]=new Set(),this[_0x5ac9f6(0x1ae)]=!0x1),this['options']=_0x3cde5d,this[_0x5ac9f6(0x186)]=_0x1c8d73;}[_0x4c4414(0x183)](){const _0x552be2=_0x4c4414;if(this[_0x552be2(0x2e0)]['noServer'])throw new Error(_0x552be2(0x202));return this[_0x552be2(0x237)]?this[_0x552be2(0x237)][_0x552be2(0x183)]():null;}[_0x4c4414(0x159)](_0x37beb5){const _0x32f961=_0x4c4414;if(this[_0x32f961(0x186)]===_0x42256f){_0x37beb5&&this['once'](_0x32f961(0x159),()=>{const _0x73d619=_0x32f961;_0x37beb5(new Error(_0x73d619(0x199)));}),process[_0x32f961(0x2e7)](_0x37f68a,this);return;}if(_0x37beb5&&this['once'](_0x32f961(0x159),_0x37beb5),this[_0x32f961(0x186)]!==_0x5efe4e){if(this[_0x32f961(0x186)]=_0x5efe4e,this[_0x32f961(0x2e0)][_0x32f961(0x279)]||this['options'][_0x32f961(0x1a0)])this[_0x32f961(0x237)]&&(this[_0x32f961(0x276)](),this['_removeListeners']=this[_0x32f961(0x237)]=null),this[_0x32f961(0x1f8)]?this[_0x32f961(0x1f8)]['size']?this[_0x32f961(0x1ae)]=!0x0:process[_0x32f961(0x2e7)](_0x37f68a,this):process[_0x32f961(0x2e7)](_0x37f68a,this);else{const _0x289d44=this[_0x32f961(0x237)];this[_0x32f961(0x276)](),this[_0x32f961(0x276)]=this[_0x32f961(0x237)]=null,_0x289d44[_0x32f961(0x159)](()=>{_0x37f68a(this);});}}}[_0x4c4414(0x1b3)](_0x4613ed){const _0x5f2d11=_0x4c4414;if(this[_0x5f2d11(0x2e0)]['path']){const _0x2794a8=_0x4613ed[_0x5f2d11(0x25c)][_0x5f2d11(0x1b2)]('?');if((_0x2794a8!==-0x1?_0x4613ed[_0x5f2d11(0x25c)][_0x5f2d11(0x205)](0x0,_0x2794a8):_0x4613ed[_0x5f2d11(0x25c)])!==this['options'][_0x5f2d11(0x170)])return!0x1;}return!0x0;}[_0x4c4414(0x1d8)](_0x56b264,_0x258a0d,_0xb5a255,_0x1d1c3a){const _0x200d69=_0x4c4414;_0x258a0d['on']('error',_0x202972);const _0xf86993=_0x56b264[_0x200d69(0x2f6)][_0x200d69(0x18a)],_0x2dd7fb=_0x56b264[_0x200d69(0x2f6)][_0x200d69(0x2b4)],_0x4c6bb9=+_0x56b264[_0x200d69(0x2f6)][_0x200d69(0x281)];if(_0x56b264[_0x200d69(0x296)]!==_0x200d69(0x169)){_0x4e59e6(this,_0x56b264,_0x258a0d,0x195,_0x200d69(0x2bd));return;}if(_0x2dd7fb===void 0x0||_0x2dd7fb[_0x200d69(0x2c8)]()!==_0x200d69(0x1c3)){_0x4e59e6(this,_0x56b264,_0x258a0d,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0xf86993===void 0x0||!_0x1cb15f[_0x200d69(0x244)](_0xf86993)){_0x4e59e6(this,_0x56b264,_0x258a0d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x4c6bb9!==0x8&&_0x4c6bb9!==0xd){_0x4e59e6(this,_0x56b264,_0x258a0d,0x190,_0x200d69(0x2b8));return;}if(!this[_0x200d69(0x1b3)](_0x56b264)){_0x248b2d(_0x258a0d,0x190);return;}const _0x2c862e=_0x56b264['headers'][_0x200d69(0x1fe)];let _0x1cc9cd=new Set();if(_0x2c862e!==void 0x0)try{_0x1cc9cd=_0x1e6d1c[_0x200d69(0x256)](_0x2c862e);}catch{_0x4e59e6(this,_0x56b264,_0x258a0d,0x190,_0x200d69(0x167));return;}const _0x23df24=_0x56b264[_0x200d69(0x2f6)]['sec-websocket-extensions'],_0x1704fb={};if(this[_0x200d69(0x2e0)][_0x200d69(0x1aa)]&&_0x23df24!==void 0x0){const _0x18de00=new _0x885796(this[_0x200d69(0x2e0)][_0x200d69(0x1aa)],!0x0,this['options'][_0x200d69(0x222)]);try{const _0x246d24=_0x54a45b['parse'](_0x23df24);_0x246d24[_0x885796['extensionName']]&&(_0x18de00['accept'](_0x246d24[_0x885796[_0x200d69(0x16d)]]),_0x1704fb[_0x885796[_0x200d69(0x16d)]]=_0x18de00);}catch{_0x4e59e6(this,_0x56b264,_0x258a0d,0x190,_0x200d69(0x2c5));return;}}if(this[_0x200d69(0x2e0)][_0x200d69(0x262)]){const _0x484cfd={'origin':_0x56b264[_0x200d69(0x2f6)][''+(_0x4c6bb9===0x8?'sec-websocket-origin':_0x200d69(0x1b1))],'secure':!!(_0x56b264[_0x200d69(0x1db)][_0x200d69(0x2d9)]||_0x56b264[_0x200d69(0x1db)]['encrypted']),'req':_0x56b264};if(this[_0x200d69(0x2e0)][_0x200d69(0x262)][_0x200d69(0x210)]===0x2){this['options'][_0x200d69(0x262)](_0x484cfd,(_0x70573d,_0x2e2f5e,_0x2c784c,_0x5a1a56)=>{const _0x516aa7=_0x200d69;if(!_0x70573d)return _0x248b2d(_0x258a0d,_0x2e2f5e||0x191,_0x2c784c,_0x5a1a56);this[_0x516aa7(0x1af)](_0x1704fb,_0xf86993,_0x1cc9cd,_0x56b264,_0x258a0d,_0xb5a255,_0x1d1c3a);});return;}if(!this[_0x200d69(0x2e0)][_0x200d69(0x262)](_0x484cfd))return _0x248b2d(_0x258a0d,0x191);}this[_0x200d69(0x1af)](_0x1704fb,_0xf86993,_0x1cc9cd,_0x56b264,_0x258a0d,_0xb5a255,_0x1d1c3a);}[_0x4c4414(0x1af)](_0x38b2a3,_0xdc233c,_0x75571f,_0x154956,_0x38e400,_0x3a291f,_0x25565e){const _0x53cda4=_0x4c4414;if(!_0x38e400[_0x53cda4(0x1ba)]||!_0x38e400['writable'])return _0x38e400[_0x53cda4(0x271)]();if(_0x38e400[_0x1cad87])throw new Error(_0x53cda4(0x19d));if(this['_state']>_0x1c8d73)return _0x248b2d(_0x38e400,0x1f7);const _0x5d5620=[_0x53cda4(0x1fa),_0x53cda4(0x2fa),_0x53cda4(0x158),'Sec-WebSocket-Accept:\x20'+_0x1eb96a('sha1')[_0x53cda4(0x168)](_0xdc233c+_0x4909c3)['digest'](_0x53cda4(0x1c4))],_0xffa6db=new this[(_0x53cda4(0x2e0))][(_0x53cda4(0x275))](null,void 0x0,this[_0x53cda4(0x2e0)]);if(_0x75571f['size']){const _0x6bb7df=this[_0x53cda4(0x2e0)][_0x53cda4(0x2a9)]?this[_0x53cda4(0x2e0)]['handleProtocols'](_0x75571f,_0x154956):_0x75571f[_0x53cda4(0x15a)]()['next']()[_0x53cda4(0x2ea)];_0x6bb7df&&(_0x5d5620[_0x53cda4(0x26c)](_0x53cda4(0x2e6)+_0x6bb7df),_0xffa6db[_0x53cda4(0x20d)]=_0x6bb7df);}if(_0x38b2a3[_0x885796[_0x53cda4(0x16d)]]){const _0x37ee53=_0x38b2a3[_0x885796[_0x53cda4(0x16d)]][_0x53cda4(0x2a0)],_0x427f58=_0x54a45b[_0x53cda4(0x305)]({[_0x885796[_0x53cda4(0x16d)]]:[_0x37ee53]});_0x5d5620[_0x53cda4(0x26c)]('Sec-WebSocket-Extensions:\x20'+_0x427f58),_0xffa6db['_extensions']=_0x38b2a3;}this[_0x53cda4(0x2eb)](_0x53cda4(0x2f6),_0x5d5620,_0x154956),_0x38e400[_0x53cda4(0x248)](_0x5d5620['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x38e400[_0x53cda4(0x1cb)]('error',_0x202972),_0xffa6db[_0x53cda4(0x201)](_0x38e400,_0x3a291f,{'allowSynchronousEvents':this[_0x53cda4(0x2e0)][_0x53cda4(0x220)],'maxPayload':this[_0x53cda4(0x2e0)][_0x53cda4(0x222)],'skipUTF8Validation':this[_0x53cda4(0x2e0)]['skipUTF8Validation']}),this[_0x53cda4(0x1f8)]&&(this[_0x53cda4(0x1f8)][_0x53cda4(0x163)](_0xffa6db),_0xffa6db['on']('close',()=>{const _0x11ebc8=_0x53cda4;this['clients'][_0x11ebc8(0x19a)](_0xffa6db),this[_0x11ebc8(0x1ae)]&&!this[_0x11ebc8(0x1f8)]['size']&&process['nextTick'](_0x37f68a,this);})),_0x25565e(_0xffa6db,_0x154956);}}Te=_0x4b1a1c;function _0x5267d0(_0x39e5ad,_0x57a36b){const _0x4035d5=_0x4c4414;for(const _0x13c036 of Object[_0x4035d5(0x1a1)](_0x57a36b))_0x39e5ad['on'](_0x13c036,_0x57a36b[_0x13c036]);return function(){const _0x583aca=_0x4035d5;for(const _0x1f8e5a of Object[_0x583aca(0x1a1)](_0x57a36b))_0x39e5ad[_0x583aca(0x1cb)](_0x1f8e5a,_0x57a36b[_0x1f8e5a]);};}function _0x37f68a(_0x26dc47){const _0x30f7c8=_0x4c4414;_0x26dc47['_state']=_0x42256f,_0x26dc47[_0x30f7c8(0x2eb)](_0x30f7c8(0x159));}function _0x202972(){const _0xd82273=_0x4c4414;this[_0xd82273(0x271)]();}function _0x248b2d(_0x105086,_0x256837,_0x404a3e,_0x30706a){const _0x4a2f92=_0x4c4414;_0x404a3e=_0x404a3e||_0x57aef8['STATUS_CODES'][_0x256837],_0x30706a={'Connection':_0x4a2f92(0x159),'Content-Type':_0x4a2f92(0x236),'Content-Length':Buffer[_0x4a2f92(0x1a3)](_0x404a3e),..._0x30706a},_0x105086['once'](_0x4a2f92(0x30e),_0x105086[_0x4a2f92(0x271)]),_0x105086['end'](_0x4a2f92(0x223)+_0x256837+'\x20'+_0x57aef8['STATUS_CODES'][_0x256837]+'\x0d\x0a'+Object[_0x4a2f92(0x1a1)](_0x30706a)[_0x4a2f92(0x20e)](_0x163b86=>_0x163b86+':\x20'+_0x30706a[_0x163b86])[_0x4a2f92(0x1f7)]('\x0d\x0a')+_0x4a2f92(0x2a4)+_0x404a3e);}function _0x4e59e6(_0x557c00,_0x365e2a,_0x22715a,_0x2ecebc,_0x49cd37){const _0x467466=_0x4c4414;if(_0x557c00[_0x467466(0x2d0)](_0x467466(0x24d))){const _0x479653=new Error(_0x49cd37);Error[_0x467466(0x1e8)](_0x479653,_0x4e59e6),_0x557c00[_0x467466(0x2eb)]('wsClientError',_0x479653,_0x22715a,_0x365e2a);}else _0x248b2d(_0x22715a,_0x2ecebc,_0x49cd37);}return Te;}er();var tr=Object[_0x2bc3d1(0x178)],rr=(_0xd1c394,_0x351c21,_0x3493c2,_0x470268)=>{const _0x50a171=_0x2bc3d1;for(var _0x320a60=_0x470268>0x1?void 0x0:_0x470268?tr(_0x351c21,_0x3493c2):_0x351c21,_0x29710f=_0xd1c394[_0x50a171(0x210)]-0x1,_0x483d09;_0x29710f>=0x0;_0x29710f--)(_0x483d09=_0xd1c394[_0x29710f])&&(_0x320a60=_0x483d09(_0x320a60)||_0x320a60);return _0x320a60;},sr=(_0x4adb91,_0x5c68f2)=>(_0x41a155,_0x5010d9)=>_0x5c68f2(_0x41a155,_0x5010d9,_0x4adb91);let Ne=class extends _0x444f47{constructor(_0x3c385e){const _0x5e794d=_0x2bc3d1;super(),this[_0x5e794d(0x17f)]=_0x3c385e;}[_0x2bc3d1(0x2f0)](_0x5377ec){const _0x455dca=_0x2bc3d1;var _0x2b7978;const _0x38de6c=(_0x2b7978=this['_configService']['getConfig'](Be))==null?void 0x0:_0x2b7978[_0x455dca(0x297)];try{const _0x14ba16=new Qt(_0x5377ec,{'headers':{..._0x38de6c}}),_0xf297ae=new _0x35665b();return{'URL':_0x5377ec,'close':(_0x9332b7,_0x4e0992)=>{const _0x5cad84=_0x455dca;_0x14ba16[_0x5cad84(0x159)](_0x9332b7,_0x4e0992),_0xf297ae[_0x5cad84(0x259)]();},'send':_0x5790ee=>{const _0x3b6382=_0x455dca;_0x14ba16[_0x3b6382(0x1e6)](_0x5790ee);},'open$':new _0x26a913(_0x179f80=>{const _0x5bd1be=_0x455dca,_0x5d290d=_0x2b1f96=>_0x179f80[_0x5bd1be(0x310)](_0x2b1f96);_0x14ba16[_0x5bd1be(0x2ff)]('open',_0x5d290d),_0xf297ae['add'](_0x1b7e2a(()=>_0x14ba16[_0x5bd1be(0x1c2)](_0x5bd1be(0x272),_0x5d290d)));})[_0x455dca(0x2f3)](_0x4031cb()),'close$':new _0x26a913(_0xefd4d7=>{const _0x26ea4b=_0x455dca,_0x4f4c5f=_0x2b7c4e=>_0xefd4d7[_0x26ea4b(0x310)](_0x2b7c4e);_0x14ba16['addEventListener'](_0x26ea4b(0x159),_0x4f4c5f),_0xf297ae[_0x26ea4b(0x163)](_0x1b7e2a(()=>_0x14ba16[_0x26ea4b(0x1c2)](_0x26ea4b(0x159),_0x4f4c5f)));})[_0x455dca(0x2f3)](_0x4031cb()),'error$':new _0x26a913(_0x5b9836=>{const _0xc02760=_0x455dca,_0x21e909=_0x1d8c26=>_0x5b9836[_0xc02760(0x310)](_0x1d8c26);_0x14ba16[_0xc02760(0x2ff)](_0xc02760(0x187),_0x21e909),_0xf297ae[_0xc02760(0x163)](_0x1b7e2a(()=>_0x14ba16[_0xc02760(0x1c2)]('error',_0x21e909)));})[_0x455dca(0x2f3)](_0x4031cb()),'message$':new _0x26a913(_0x510377=>{const _0x567a99=_0x455dca,_0x1c467a=_0xeb59f2=>_0x510377['next'](_0xeb59f2);_0x14ba16[_0x567a99(0x2ff)]('message',_0x1c467a),_0xf297ae[_0x567a99(0x163)](_0x1b7e2a(()=>_0x14ba16['removeEventListener'](_0x567a99(0x1ca),_0x1c467a)));})['pipe'](_0x4031cb())};}catch(_0x5858c1){return console[_0x455dca(0x187)](_0x5858c1),null;}}};Ne=rr([sr(0x0,_0x174ada)],Ne);var ir=Object[_0x2bc3d1(0x216)],nr=Object[_0x2bc3d1(0x178)],or=(_0x22b49f,_0x5ac483,_0x59601a)=>_0x5ac483 in _0x22b49f?ir(_0x22b49f,_0x5ac483,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59601a}):_0x22b49f[_0x5ac483]=_0x59601a,ar=(_0x2d4fd8,_0x4fd04a,_0x25e2ba,_0x30dfc8)=>{const _0x5c700a=_0x2bc3d1;for(var _0x5ac0a6=_0x30dfc8>0x1?void 0x0:_0x30dfc8?nr(_0x4fd04a,_0x25e2ba):_0x4fd04a,_0x36586a=_0x2d4fd8[_0x5c700a(0x210)]-0x1,_0xd67805;_0x36586a>=0x0;_0x36586a--)(_0xd67805=_0x2d4fd8[_0x36586a])&&(_0x5ac0a6=_0xd67805(_0x5ac0a6)||_0x5ac0a6);return _0x5ac0a6;},ke=(_0x1eb1f6,_0xc80cbb)=>(_0x2dfc8f,_0x22eff9)=>_0xc80cbb(_0x2dfc8f,_0x22eff9,_0x1eb1f6),lr=(_0x20f585,_0x25a20e,_0x57ef88)=>or(_0x20f585,_0x25a20e+'',_0x57ef88);let Pe=class extends _0xca419d{constructor(_0x48e2f6=Ft,_0x5447f8,_0x51558c,_0x28badf){const _0x2af45b=_0x2bc3d1;_0x48e2f6[_0x2af45b(0x297)]||_0x5447f8[_0x2af45b(0x15f)](_0x2af45b(0x2fe)),super(),this[_0x2af45b(0x17f)]=_0x51558c,this['_injector']=_0x28badf,this[_0x2af45b(0x17f)][_0x2af45b(0x24c)](Be,_0x48e2f6);}[_0x2bc3d1(0x291)](){const _0x2448ca=_0x2bc3d1;this[_0x2448ca(0x287)]();}[_0x2bc3d1(0x287)](){const _0x36e76b=_0x2bc3d1;_0x57105c(this[_0x36e76b(0x175)],[[_0xc4c92,{'useClass':Ne}]]);}};lr(Pe,_0x2bc3d1(0x1b4),_0x2bc3d1(0x1d1)),Pe=ar([_0x12910f(_0x47b98b),ke(0x1,_0x4fff0c),ke(0x2,_0x174ada),ke(0x3,_0x13263b(_0x44ec44))],Pe);var fr=Object[_0x2bc3d1(0x178)],cr=(_0x51d680,_0x1ab711,_0x31fa14,_0x22b7be)=>{for(var _0x3672be=_0x22b7be>0x1?void 0x0:_0x22b7be?fr(_0x1ab711,_0x31fa14):_0x1ab711,_0x3c4ea1=_0x51d680['length']-0x1,_0x3c7aec;_0x3c4ea1>=0x0;_0x3c4ea1--)(_0x3c7aec=_0x51d680[_0x3c4ea1])&&(_0x3672be=_0x3c7aec(_0x3672be)||_0x3672be);return _0x3672be;},se=(_0x385ff5,_0x46b1ae)=>(_0x3e7bf4,_0x42fce4)=>_0x46b1ae(_0x3e7bf4,_0x42fce4,_0x385ff5);let at=class extends _0x2a858c{constructor(_0x4ca488,_0x188b1d,_0x1521fa,_0x165a1d,_0x4512ab){const _0x1dface=_0x2bc3d1;super(_0x4ca488,_0x188b1d,_0x1521fa,_0x165a1d,_0x4512ab);const _0x4b098f=this[_0x1dface(0x17f)][_0x1dface(0x19e)](Be);this[_0x1dface(0x290)]['registerHTTPInterceptor']({'interceptor':(_0x2b1a98,_0x2430f2)=>{const _0x15950b=_0x1dface;var _0x1b5815;const _0x562235=_0x2b1a98[_0x15950b(0x2f6)];return(_0x1b5815=_0x4b098f==null?void 0x0:_0x4b098f[_0x15950b(0x297)])!=null&&_0x1b5815[_0x15950b(0x212)]&&_0x562235[_0x15950b(0x252)](_0x15950b(0x2c7),_0x4b098f[_0x15950b(0x297)][_0x15950b(0x212)]),_0x2430f2(_0x2b1a98);}});}async[_0x2bc3d1(0x2f0)](_0x291c51){const _0x596690=_0x2bc3d1;return this[_0x596690(0x288)](_0x291c51);}};at=cr([se(0x0,_0x13263b(_0x44ec44)),se(0x1,_0x13263b(_0x59330a)),se(0x2,_0x174ada),se(0x3,_0x4fff0c),se(0x4,_0x29f1d7)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x697e83=_0x1017;(function(_0x535e72,_0x1118c2){const _0x202bf9=_0x1017,_0x402f8f=_0x535e72();while(!![]){try{const _0x14eb79=-parseInt(_0x202bf9(0x214))/0x1+-parseInt(_0x202bf9(0x251))/0x2+-parseInt(_0x202bf9(0x20b))/0x3*(parseInt(_0x202bf9(0x26f))/0x4)+-parseInt(_0x202bf9(0x283))/0x5+parseInt(_0x202bf9(0x176))/0x6+parseInt(_0x202bf9(0x16d))/0x7*(-parseInt(_0x202bf9(0x198))/0x8)+parseInt(_0x202bf9(0x203))/0x9*(parseInt(_0x202bf9(0x15f))/0xa);if(_0x14eb79===_0x1118c2)break;else _0x402f8f['push'](_0x402f8f['shift']());}catch(_0xf6be08){_0x402f8f['push'](_0x402f8f['shift']());}}}(_0x241e,0x9968a));import{UniverCollaborationClientPlugin as _0xc5fe4c,CollaborationSocketService as _0x31a984}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4f4555,DisposableCollection as _0x34b91e,toDisposable as _0x36077d,IConfigService as _0x1cba63,DependentOn as _0x3ea4d5,ILogService as _0x1f8015,Inject as _0x2b11d1,Injector as _0x23a03c,Plugin as _0x33b560,registerDependencies as _0x688904}from'@univerjs/core';import{ISocketService as _0x1a84b5,HTTPService as _0x3f4883}from'@univerjs/network';import{Observable as _0x4bdcda,share as _0x32ee58}from'rxjs';import _0x1b38da from'events';import _0x96cf34 from'https';function _0x1017(_0x3db57d,_0x59e613){const _0x241ed5=_0x241e();return _0x1017=function(_0x1017dc,_0x1c5560){_0x1017dc=_0x1017dc-0x13b;let _0x5f576b=_0x241ed5[_0x1017dc];return _0x5f576b;},_0x1017(_0x3db57d,_0x59e613);}import _0x3d805f from'http';import _0x139d74 from'net';import _0x4e0e0d from'tls';import _0x178977 from'crypto';import _0x350172 from'stream';import _0x19e0f6 from'url';import _0x5aecc8 from'zlib';import _0xcaa68d from'buffer';import{ISnapshotServerService as _0x119159}from'@univerjs-pro/collaboration';const Be=_0x697e83(0x13e),Ft={'customHeaders':{}};function jt(_0x5ab6f8){const _0x2b98f1=_0x697e83;return _0x5ab6f8&&_0x5ab6f8[_0x2b98f1(0x168)]&&Object[_0x2b98f1(0x227)]['hasOwnProperty'][_0x2b98f1(0x26b)](_0x5ab6f8,_0x2b98f1(0x288))?_0x5ab6f8[_0x2b98f1(0x288)]:_0x5ab6f8;}function ut(_0x3ff5e5){const _0x1525e1=_0x697e83;if(Object[_0x1525e1(0x227)][_0x1525e1(0x2d6)]['call'](_0x3ff5e5,_0x1525e1(0x168)))return _0x3ff5e5;var _0x1d0336=_0x3ff5e5[_0x1525e1(0x288)];if(typeof _0x1d0336=='function'){var _0x30becb=function _0x566eff(){const _0x411e8f=_0x1525e1;return this instanceof _0x566eff?Reflect['construct'](_0x1d0336,arguments,this[_0x411e8f(0x2c6)]):_0x1d0336[_0x411e8f(0x241)](this,arguments);};_0x30becb[_0x1525e1(0x227)]=_0x1d0336[_0x1525e1(0x227)];}else _0x30becb={};return Object[_0x1525e1(0x2af)](_0x30becb,_0x1525e1(0x168),{'value':!0x0}),Object[_0x1525e1(0x1dd)](_0x3ff5e5)[_0x1525e1(0x1bd)](function(_0x56098a){const _0x509bd1=_0x1525e1;var _0x347479=Object[_0x509bd1(0x163)](_0x3ff5e5,_0x56098a);Object[_0x509bd1(0x2af)](_0x30becb,_0x56098a,_0x347479[_0x509bd1(0x26a)]?_0x347479:{'enumerable':!0x0,'get':function(){return _0x3ff5e5[_0x56098a];}});}),_0x30becb;}var te={'exports':{}},ge,Ye;function V(){const _0x515fc1=_0x697e83;if(Ye)return ge;Ye=0x1;const _0x423cbe=[_0x515fc1(0x1d1),'arraybuffer',_0x515fc1(0x2ad)],_0x44a68e=typeof Blob<'u';return _0x44a68e&&_0x423cbe[_0x515fc1(0x1cc)](_0x515fc1(0x1f5)),ge={'BINARY_TYPES':_0x423cbe,'EMPTY_BUFFER':Buffer[_0x515fc1(0x245)](0x0),'GUID':_0x515fc1(0x2be),'hasBlob':_0x44a68e,'kForOnEventAttribute':Symbol(_0x515fc1(0x18d)),'kListener':Symbol(_0x515fc1(0x192)),'kStatusCode':Symbol(_0x515fc1(0x2ba)),'kWebSocket':Symbol(_0x515fc1(0x2d8)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x697e83(0x23d)],{'value':_0x697e83(0x26e)})),Vt=ut(Gt);var Ke;function ce(){const _0x54e41b=_0x697e83;if(Ke)return te[_0x54e41b(0x200)];Ke=0x1;const {EMPTY_BUFFER:_0x49363b}=V(),_0x227c12=Buffer[Symbol[_0x54e41b(0x23b)]];function _0x29d6e7(_0xb8f271,_0xa76e22){const _0x57e4ff=_0x54e41b;if(_0xb8f271[_0x57e4ff(0x285)]===0x0)return _0x49363b;if(_0xb8f271[_0x57e4ff(0x285)]===0x1)return _0xb8f271[0x0];const _0x24694e=Buffer['allocUnsafe'](_0xa76e22);let _0x3c1802=0x0;for(let _0x170efd=0x0;_0x170efd<_0xb8f271[_0x57e4ff(0x285)];_0x170efd++){const _0xd3ec55=_0xb8f271[_0x170efd];_0x24694e[_0x57e4ff(0x2e2)](_0xd3ec55,_0x3c1802),_0x3c1802+=_0xd3ec55[_0x57e4ff(0x285)];}return _0x3c1802<_0xa76e22?new _0x227c12(_0x24694e[_0x57e4ff(0x2ac)],_0x24694e[_0x57e4ff(0x143)],_0x3c1802):_0x24694e;}function _0x175d95(_0x829750,_0x46d960,_0x3abb08,_0x28406a,_0x9932ca){for(let _0x207412=0x0;_0x207412<_0x9932ca;_0x207412++)_0x3abb08[_0x28406a+_0x207412]=_0x829750[_0x207412]^_0x46d960[_0x207412&0x3];}function _0xb764ef(_0x31a170,_0x24fd3f){const _0x5889d9=_0x54e41b;for(let _0x3e1750=0x0;_0x3e1750<_0x31a170[_0x5889d9(0x285)];_0x3e1750++)_0x31a170[_0x3e1750]^=_0x24fd3f[_0x3e1750&0x3];}function _0xd8666b(_0x152479){const _0x160da5=_0x54e41b;return _0x152479['length']===_0x152479[_0x160da5(0x2ac)]['byteLength']?_0x152479[_0x160da5(0x2ac)]:_0x152479[_0x160da5(0x2ac)][_0x160da5(0x204)](_0x152479[_0x160da5(0x143)],_0x152479[_0x160da5(0x143)]+_0x152479[_0x160da5(0x285)]);}function _0x35839c(_0x4d2fcb){const _0x54126d=_0x54e41b;if(_0x35839c[_0x54126d(0x18b)]=!0x0,Buffer[_0x54126d(0x13c)](_0x4d2fcb))return _0x4d2fcb;let _0x3cf861;return _0x4d2fcb instanceof ArrayBuffer?_0x3cf861=new _0x227c12(_0x4d2fcb):ArrayBuffer['isView'](_0x4d2fcb)?_0x3cf861=new _0x227c12(_0x4d2fcb['buffer'],_0x4d2fcb[_0x54126d(0x143)],_0x4d2fcb[_0x54126d(0x229)]):(_0x3cf861=Buffer[_0x54126d(0x1a9)](_0x4d2fcb),_0x35839c[_0x54126d(0x18b)]=!0x1),_0x3cf861;}if(te[_0x54e41b(0x200)]={'concat':_0x29d6e7,'mask':_0x175d95,'toArrayBuffer':_0xd8666b,'toBuffer':_0x35839c,'unmask':_0xb764ef},!process['env'][_0x54e41b(0x2c3)])try{const _0x3b06a6=Vt;te[_0x54e41b(0x200)][_0x54e41b(0x193)]=function(_0x4a0967,_0x35a148,_0x5b5ae2,_0x2b7686,_0x5ef23a){const _0x17afa6=_0x54e41b;_0x5ef23a<0x30?_0x175d95(_0x4a0967,_0x35a148,_0x5b5ae2,_0x2b7686,_0x5ef23a):_0x3b06a6[_0x17afa6(0x193)](_0x4a0967,_0x35a148,_0x5b5ae2,_0x2b7686,_0x5ef23a);},te[_0x54e41b(0x200)][_0x54e41b(0x1d3)]=function(_0x3d7028,_0x54e3d2){const _0xdefd44=_0x54e41b;_0x3d7028[_0xdefd44(0x285)]<0x20?_0xb764ef(_0x3d7028,_0x54e3d2):_0x3b06a6[_0xdefd44(0x1d3)](_0x3d7028,_0x54e3d2);};}catch{}return te[_0x54e41b(0x200)];}var ye,Xe;function qt(){const _0x36476e=_0x697e83;if(Xe)return ye;Xe=0x1;const _0x477559=Symbol(_0x36476e(0x225)),_0x2927ff=Symbol(_0x36476e(0x14c));class _0x5c7928{constructor(_0x42963e){const _0x6bba95=_0x36476e;this[_0x477559]=()=>{const _0x36e289=_0x1017;this[_0x36e289(0x150)]--,this[_0x2927ff]();},this['concurrency']=_0x42963e||0x1/0x0,this[_0x6bba95(0x284)]=[],this[_0x6bba95(0x150)]=0x0;}[_0x36476e(0x17f)](_0xc36736){const _0x408b88=_0x36476e;this['jobs'][_0x408b88(0x1cc)](_0xc36736),this[_0x2927ff]();}[_0x2927ff](){const _0x13ed77=_0x36476e;if(this['pending']!==this['concurrency']&&this[_0x13ed77(0x284)][_0x13ed77(0x285)]){const _0x45cd0e=this[_0x13ed77(0x284)][_0x13ed77(0x173)]();this[_0x13ed77(0x150)]++,_0x45cd0e(this[_0x477559]);}}}return ye=_0x5c7928,ye;}var ve,Ze;function he(){const _0x2dbe75=_0x697e83;if(Ze)return ve;Ze=0x1;const _0x7e43b0=_0x5aecc8,_0x3ce144=ce(),_0x443786=qt(),{kStatusCode:_0x232aa5}=V(),_0xccb3e1=Buffer[Symbol[_0x2dbe75(0x23b)]],_0x2e33c8=Buffer[_0x2dbe75(0x1a9)]([0x0,0x0,0xff,0xff]),_0x2a1b87=Symbol(_0x2dbe75(0x2b2)),_0x15a4c5=Symbol('total-length'),_0x267ea0=Symbol(_0x2dbe75(0x20d)),_0x1fdace=Symbol(_0x2dbe75(0x24d)),_0x9bb20=Symbol(_0x2dbe75(0x1e6));let _0x4b7b2e;class _0xe9da46{constructor(_0x3727b6,_0x160f7a,_0x4aa7f5){const _0x217b5f=_0x2dbe75;if(this[_0x217b5f(0x2d5)]=_0x4aa7f5|0x0,this[_0x217b5f(0x264)]=_0x3727b6||{},this[_0x217b5f(0x28f)]=this[_0x217b5f(0x264)][_0x217b5f(0x18a)]!==void 0x0?this[_0x217b5f(0x264)]['threshold']:0x400,this[_0x217b5f(0x15b)]=!!_0x160f7a,this['_deflate']=null,this[_0x217b5f(0x1e2)]=null,this[_0x217b5f(0x154)]=null,!_0x4b7b2e){const _0x511f56=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x217b5f(0x1ab)]:0xa;_0x4b7b2e=new _0x443786(_0x511f56);}}static get[_0x2dbe75(0x17d)](){return'permessage-deflate';}[_0x2dbe75(0x287)](){const _0x13bb75=_0x2dbe75,_0x34ebd1={};return this[_0x13bb75(0x264)][_0x13bb75(0x1a0)]&&(_0x34ebd1['server_no_context_takeover']=!0x0),this[_0x13bb75(0x264)]['clientNoContextTakeover']&&(_0x34ebd1[_0x13bb75(0x29f)]=!0x0),this[_0x13bb75(0x264)][_0x13bb75(0x2d3)]&&(_0x34ebd1['server_max_window_bits']=this[_0x13bb75(0x264)][_0x13bb75(0x2d3)]),this[_0x13bb75(0x264)][_0x13bb75(0x151)]?_0x34ebd1[_0x13bb75(0x1c3)]=this[_0x13bb75(0x264)][_0x13bb75(0x151)]:this['_options'][_0x13bb75(0x151)]==null&&(_0x34ebd1[_0x13bb75(0x1c3)]=!0x0),_0x34ebd1;}[_0x2dbe75(0x19a)](_0x2451ab){const _0x164b23=_0x2dbe75;return _0x2451ab=this['normalizeParams'](_0x2451ab),this[_0x164b23(0x154)]=this[_0x164b23(0x15b)]?this[_0x164b23(0x1cd)](_0x2451ab):this['acceptAsClient'](_0x2451ab),this[_0x164b23(0x154)];}[_0x2dbe75(0x2d9)](){const _0x4aeedc=_0x2dbe75;if(this[_0x4aeedc(0x1e2)]&&(this['_inflate'][_0x4aeedc(0x1a8)](),this[_0x4aeedc(0x1e2)]=null),this[_0x4aeedc(0x2a1)]){const _0x4152f5=this['_deflate'][_0x267ea0];this[_0x4aeedc(0x2a1)][_0x4aeedc(0x1a8)](),this[_0x4aeedc(0x2a1)]=null,_0x4152f5&&_0x4152f5(new Error(_0x4aeedc(0x162)));}}[_0x2dbe75(0x1cd)](_0x2f0e2f){const _0x3c2caa=_0x2dbe75,_0x5265f4=this[_0x3c2caa(0x264)],_0x3e4e52=_0x2f0e2f[_0x3c2caa(0x275)](_0x204668=>!(_0x5265f4[_0x3c2caa(0x1a0)]===!0x1&&_0x204668[_0x3c2caa(0x29b)]||_0x204668['server_max_window_bits']&&(_0x5265f4[_0x3c2caa(0x2d3)]===!0x1||typeof _0x5265f4['serverMaxWindowBits']==_0x3c2caa(0x1c6)&&_0x5265f4[_0x3c2caa(0x2d3)]>_0x204668['server_max_window_bits'])||typeof _0x5265f4[_0x3c2caa(0x151)]=='number'&&!_0x204668[_0x3c2caa(0x1c3)]));if(!_0x3e4e52)throw new Error(_0x3c2caa(0x266));return _0x5265f4[_0x3c2caa(0x1a0)]&&(_0x3e4e52[_0x3c2caa(0x29b)]=!0x0),_0x5265f4['clientNoContextTakeover']&&(_0x3e4e52['client_no_context_takeover']=!0x0),typeof _0x5265f4[_0x3c2caa(0x2d3)]==_0x3c2caa(0x1c6)&&(_0x3e4e52['server_max_window_bits']=_0x5265f4[_0x3c2caa(0x2d3)]),typeof _0x5265f4[_0x3c2caa(0x151)]==_0x3c2caa(0x1c6)?_0x3e4e52[_0x3c2caa(0x1c3)]=_0x5265f4[_0x3c2caa(0x151)]:(_0x3e4e52['client_max_window_bits']===!0x0||_0x5265f4[_0x3c2caa(0x151)]===!0x1)&&delete _0x3e4e52['client_max_window_bits'],_0x3e4e52;}['acceptAsClient'](_0x1c8eb3){const _0x249381=_0x2dbe75,_0x2fbd95=_0x1c8eb3[0x0];if(this[_0x249381(0x264)]['clientNoContextTakeover']===!0x1&&_0x2fbd95[_0x249381(0x29f)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2fbd95[_0x249381(0x1c3)])typeof this['_options']['clientMaxWindowBits']=='number'&&(_0x2fbd95[_0x249381(0x1c3)]=this[_0x249381(0x264)][_0x249381(0x151)]);else{if(this['_options'][_0x249381(0x151)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x249381(0x1c6)&&_0x2fbd95['client_max_window_bits']>this[_0x249381(0x264)][_0x249381(0x151)])throw new Error(_0x249381(0x17e));}return _0x2fbd95;}[_0x2dbe75(0x17a)](_0x393773){const _0x5dae8a=_0x2dbe75;return _0x393773[_0x5dae8a(0x1bd)](_0x4fd997=>{const _0x7af415=_0x5dae8a;Object[_0x7af415(0x1dd)](_0x4fd997)[_0x7af415(0x1bd)](_0x557792=>{const _0x442320=_0x7af415;let _0x1439e6=_0x4fd997[_0x557792];if(_0x1439e6['length']>0x1)throw new Error('Parameter\x20\x22'+_0x557792+_0x442320(0x28d));if(_0x1439e6=_0x1439e6[0x0],_0x557792===_0x442320(0x1c3)){if(_0x1439e6!==!0x0){const _0x4c1088=+_0x1439e6;if(!Number[_0x442320(0x1b8)](_0x4c1088)||_0x4c1088<0x8||_0x4c1088>0xf)throw new TypeError(_0x442320(0x174)+_0x557792+_0x442320(0x19c)+_0x1439e6);_0x1439e6=_0x4c1088;}else{if(!this[_0x442320(0x15b)])throw new TypeError(_0x442320(0x174)+_0x557792+_0x442320(0x19c)+_0x1439e6);}}else{if(_0x557792==='server_max_window_bits'){const _0x567975=+_0x1439e6;if(!Number['isInteger'](_0x567975)||_0x567975<0x8||_0x567975>0xf)throw new TypeError(_0x442320(0x174)+_0x557792+_0x442320(0x19c)+_0x1439e6);_0x1439e6=_0x567975;}else{if(_0x557792===_0x442320(0x29f)||_0x557792==='server_no_context_takeover'){if(_0x1439e6!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x557792+_0x442320(0x19c)+_0x1439e6);}else throw new Error(_0x442320(0x155)+_0x557792+'\x22');}}_0x4fd997[_0x557792]=_0x1439e6;});}),_0x393773;}[_0x2dbe75(0x2bb)](_0x5ecee1,_0x3ee28b,_0x3cba86){const _0x466d20=_0x2dbe75;_0x4b7b2e[_0x466d20(0x17f)](_0x2ea15c=>{const _0x2753f2=_0x466d20;this[_0x2753f2(0x1e0)](_0x5ecee1,_0x3ee28b,(_0x40d1e6,_0x50653d)=>{_0x2ea15c(),_0x3cba86(_0x40d1e6,_0x50653d);});});}[_0x2dbe75(0x159)](_0x226cb2,_0x5a9a8d,_0x4987e9){const _0x55b95e=_0x2dbe75;_0x4b7b2e[_0x55b95e(0x17f)](_0x14d9d9=>{const _0x300ea6=_0x55b95e;this[_0x300ea6(0x1a6)](_0x226cb2,_0x5a9a8d,(_0x594296,_0xf7ecc0)=>{_0x14d9d9(),_0x4987e9(_0x594296,_0xf7ecc0);});});}[_0x2dbe75(0x1e0)](_0x1bcc5f,_0x1e1a7a,_0xd4d072){const _0x2d7977=_0x2dbe75,_0x2909ad=this[_0x2d7977(0x15b)]?'client':_0x2d7977(0x1ac);if(!this[_0x2d7977(0x1e2)]){const _0x2b8c66=_0x2909ad+_0x2d7977(0x1ff),_0x90d438=typeof this[_0x2d7977(0x154)][_0x2b8c66]!=_0x2d7977(0x1c6)?_0x7e43b0[_0x2d7977(0x1da)]:this[_0x2d7977(0x154)][_0x2b8c66];this[_0x2d7977(0x1e2)]=_0x7e43b0[_0x2d7977(0x2e7)]({...this[_0x2d7977(0x264)][_0x2d7977(0x230)],'windowBits':_0x90d438}),this[_0x2d7977(0x1e2)][_0x2a1b87]=this,this[_0x2d7977(0x1e2)][_0x15a4c5]=0x0,this[_0x2d7977(0x1e2)][_0x1fdace]=[],this[_0x2d7977(0x1e2)]['on'](_0x2d7977(0x1e6),_0x5f18c6),this[_0x2d7977(0x1e2)]['on'](_0x2d7977(0x181),_0x37dba6);}this['_inflate'][_0x267ea0]=_0xd4d072,this['_inflate']['write'](_0x1bcc5f),_0x1e1a7a&&this['_inflate']['write'](_0x2e33c8),this['_inflate'][_0x2d7977(0x1e1)](()=>{const _0x48b1a5=_0x2d7977,_0x20f349=this[_0x48b1a5(0x1e2)][_0x9bb20];if(_0x20f349){this['_inflate'][_0x48b1a5(0x1a8)](),this[_0x48b1a5(0x1e2)]=null,_0xd4d072(_0x20f349);return;}const _0x213517=_0x3ce144[_0x48b1a5(0x14f)](this[_0x48b1a5(0x1e2)][_0x1fdace],this['_inflate'][_0x15a4c5]);this[_0x48b1a5(0x1e2)]['_readableState'][_0x48b1a5(0x2b3)]?(this['_inflate'][_0x48b1a5(0x1a8)](),this[_0x48b1a5(0x1e2)]=null):(this['_inflate'][_0x15a4c5]=0x0,this['_inflate'][_0x1fdace]=[],_0x1e1a7a&&this[_0x48b1a5(0x154)][_0x2909ad+'_no_context_takeover']&&this[_0x48b1a5(0x1e2)]['reset']()),_0xd4d072(null,_0x213517);});}['_compress'](_0x5ae0b1,_0x323427,_0x3c5038){const _0x39001f=_0x2dbe75,_0x1b1790=this['_isServer']?_0x39001f(0x1ac):_0x39001f(0x180);if(!this[_0x39001f(0x2a1)]){const _0x4540b9=_0x1b1790+_0x39001f(0x1ff),_0x4e4094=typeof this[_0x39001f(0x154)][_0x4540b9]!='number'?_0x7e43b0[_0x39001f(0x1da)]:this['params'][_0x4540b9];this[_0x39001f(0x2a1)]=_0x7e43b0['createDeflateRaw']({...this['_options'][_0x39001f(0x291)],'windowBits':_0x4e4094}),this[_0x39001f(0x2a1)][_0x15a4c5]=0x0,this['_deflate'][_0x1fdace]=[],this[_0x39001f(0x2a1)]['on'](_0x39001f(0x181),_0x7c9e48);}this[_0x39001f(0x2a1)][_0x267ea0]=_0x3c5038,this[_0x39001f(0x2a1)][_0x39001f(0x1ae)](_0x5ae0b1),this[_0x39001f(0x2a1)][_0x39001f(0x1e1)](_0x7e43b0[_0x39001f(0x182)],()=>{const _0x43c87a=_0x39001f;if(!this[_0x43c87a(0x2a1)])return;let _0x538f5a=_0x3ce144[_0x43c87a(0x14f)](this[_0x43c87a(0x2a1)][_0x1fdace],this[_0x43c87a(0x2a1)][_0x15a4c5]);_0x323427&&(_0x538f5a=new _0xccb3e1(_0x538f5a[_0x43c87a(0x2ac)],_0x538f5a[_0x43c87a(0x143)],_0x538f5a[_0x43c87a(0x285)]-0x4)),this['_deflate'][_0x267ea0]=null,this[_0x43c87a(0x2a1)][_0x15a4c5]=0x0,this['_deflate'][_0x1fdace]=[],_0x323427&&this['params'][_0x1b1790+_0x43c87a(0x27f)]&&this[_0x43c87a(0x2a1)]['reset'](),_0x3c5038(null,_0x538f5a);});}}ve=_0xe9da46;function _0x7c9e48(_0x2826d4){const _0x504fb1=_0x2dbe75;this[_0x1fdace][_0x504fb1(0x1cc)](_0x2826d4),this[_0x15a4c5]+=_0x2826d4['length'];}function _0x37dba6(_0xbb9498){const _0xe87a83=_0x2dbe75;if(this[_0x15a4c5]+=_0xbb9498[_0xe87a83(0x285)],this[_0x2a1b87][_0xe87a83(0x2d5)]<0x1||this[_0x15a4c5]<=this[_0x2a1b87][_0xe87a83(0x2d5)]){this[_0x1fdace][_0xe87a83(0x1cc)](_0xbb9498);return;}this[_0x9bb20]=new RangeError(_0xe87a83(0x1e3)),this[_0x9bb20]['code']=_0xe87a83(0x158),this[_0x9bb20][_0x232aa5]=0x3f1,this[_0xe87a83(0x267)](_0xe87a83(0x181),_0x37dba6),this[_0xe87a83(0x2d7)]();}function _0x5f18c6(_0x2751d4){const _0x1bf4db=_0x2dbe75;if(this[_0x2a1b87][_0x1bf4db(0x1e2)]=null,this[_0x9bb20]){this[_0x267ea0](this[_0x9bb20]);return;}_0x2751d4[_0x232aa5]=0x3ef,this[_0x267ea0](_0x2751d4);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x697e83(0x248)](Object[_0x697e83(0x2af)]({'__proto__':null,'default':Ht},Symbol[_0x697e83(0x23d)],{'value':_0x697e83(0x26e)})),Yt=ut(zt);var Qe;function ne(){const _0x281dcf=_0x697e83;if(Qe)return re[_0x281dcf(0x200)];Qe=0x1;const {isUtf8:_0x44e2c7}=_0xcaa68d,{hasBlob:_0x9cbb09}=V(),_0x199a4a=[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 _0xc0f55c(_0x2e348b){return _0x2e348b>=0x3e8&&_0x2e348b<=0x3f6&&_0x2e348b!==0x3ec&&_0x2e348b!==0x3ed&&_0x2e348b!==0x3ee||_0x2e348b>=0xbb8&&_0x2e348b<=0x1387;}function _0x2d1294(_0x1a0d94){const _0x422103=_0x281dcf,_0x55c54e=_0x1a0d94[_0x422103(0x285)];let _0x10a65d=0x0;for(;_0x10a65d<_0x55c54e;)if((_0x1a0d94[_0x10a65d]&0x80)===0x0)_0x10a65d++;else{if((_0x1a0d94[_0x10a65d]&0xe0)===0xc0){if(_0x10a65d+0x1===_0x55c54e||(_0x1a0d94[_0x10a65d+0x1]&0xc0)!==0x80||(_0x1a0d94[_0x10a65d]&0xfe)===0xc0)return!0x1;_0x10a65d+=0x2;}else{if((_0x1a0d94[_0x10a65d]&0xf0)===0xe0){if(_0x10a65d+0x2>=_0x55c54e||(_0x1a0d94[_0x10a65d+0x1]&0xc0)!==0x80||(_0x1a0d94[_0x10a65d+0x2]&0xc0)!==0x80||_0x1a0d94[_0x10a65d]===0xe0&&(_0x1a0d94[_0x10a65d+0x1]&0xe0)===0x80||_0x1a0d94[_0x10a65d]===0xed&&(_0x1a0d94[_0x10a65d+0x1]&0xe0)===0xa0)return!0x1;_0x10a65d+=0x3;}else{if((_0x1a0d94[_0x10a65d]&0xf8)===0xf0){if(_0x10a65d+0x3>=_0x55c54e||(_0x1a0d94[_0x10a65d+0x1]&0xc0)!==0x80||(_0x1a0d94[_0x10a65d+0x2]&0xc0)!==0x80||(_0x1a0d94[_0x10a65d+0x3]&0xc0)!==0x80||_0x1a0d94[_0x10a65d]===0xf0&&(_0x1a0d94[_0x10a65d+0x1]&0xf0)===0x80||_0x1a0d94[_0x10a65d]===0xf4&&_0x1a0d94[_0x10a65d+0x1]>0x8f||_0x1a0d94[_0x10a65d]>0xf4)return!0x1;_0x10a65d+=0x4;}else return!0x1;}}}return!0x0;}function _0x266942(_0x402e7d){const _0x51f6e0=_0x281dcf;return _0x9cbb09&&typeof _0x402e7d=='object'&&typeof _0x402e7d[_0x51f6e0(0x2c7)]==_0x51f6e0(0x25d)&&typeof _0x402e7d[_0x51f6e0(0x153)]==_0x51f6e0(0x1fd)&&typeof _0x402e7d[_0x51f6e0(0x161)]==_0x51f6e0(0x25d)&&(_0x402e7d[Symbol[_0x51f6e0(0x23d)]]===_0x51f6e0(0x2dd)||_0x402e7d[Symbol[_0x51f6e0(0x23d)]]===_0x51f6e0(0x165));}if(re[_0x281dcf(0x200)]={'isBlob':_0x266942,'isValidStatusCode':_0xc0f55c,'isValidUTF8':_0x2d1294,'tokenChars':_0x199a4a},_0x44e2c7)re['exports']['isValidUTF8']=function(_0x8155e0){return _0x8155e0['length']<0x18?_0x2d1294(_0x8155e0):_0x44e2c7(_0x8155e0);};else{if(!process['env'][_0x281dcf(0x2aa)])try{const _0x3f3d83=Yt;re[_0x281dcf(0x200)]['isValidUTF8']=function(_0x2bad20){const _0x4e3471=_0x281dcf;return _0x2bad20[_0x4e3471(0x285)]<0x20?_0x2d1294(_0x2bad20):_0x3f3d83(_0x2bad20);};}catch{}}return re[_0x281dcf(0x200)];}var Se,Je;function dt(){const _0x1205c6=_0x697e83;if(Je)return Se;Je=0x1;const {Writable:_0x3cd615}=_0x350172,_0x5a829e=he(),{BINARY_TYPES:_0x4d626f,EMPTY_BUFFER:_0x31b8ef,kStatusCode:_0x45b4d6,kWebSocket:_0x27abfb}=V(),{concat:_0x652a37,toArrayBuffer:_0x5a7b99,unmask:_0x3f55ea}=ce(),{isValidStatusCode:_0x324d14,isValidUTF8:_0x54a865}=ne(),_0x520cc9=Buffer[Symbol['species']],_0x5a97fe=0x0,_0x1d7e9e=0x1,_0x5b3197=0x2,_0x1f2926=0x3,_0xcc4e2=0x4,_0x4bc3bc=0x5,_0x533538=0x6;class _0x5161ab extends _0x3cd615{constructor(_0x292c87={}){const _0x2c3bf2=_0x1017;super(),this[_0x2c3bf2(0x242)]=_0x292c87[_0x2c3bf2(0x18f)]!==void 0x0?_0x292c87[_0x2c3bf2(0x18f)]:!0x0,this[_0x2c3bf2(0x22c)]=_0x292c87[_0x2c3bf2(0x186)]||_0x4d626f[0x0],this[_0x2c3bf2(0x1bc)]=_0x292c87[_0x2c3bf2(0x234)]||{},this['_isServer']=!!_0x292c87['isServer'],this[_0x2c3bf2(0x2d5)]=_0x292c87[_0x2c3bf2(0x16a)]|0x0,this[_0x2c3bf2(0x16e)]=!!_0x292c87[_0x2c3bf2(0x144)],this[_0x27abfb]=void 0x0,this[_0x2c3bf2(0x2d4)]=0x0,this[_0x2c3bf2(0x2b8)]=[],this[_0x2c3bf2(0x1f3)]=!0x1,this['_payloadLength']=0x0,this[_0x2c3bf2(0x1d2)]=void 0x0,this[_0x2c3bf2(0x276)]=0x0,this[_0x2c3bf2(0x2db)]=!0x1,this[_0x2c3bf2(0x1a1)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x2c3bf2(0x271)]=[],this[_0x2c3bf2(0x2cd)]=!0x1,this[_0x2c3bf2(0x221)]=!0x1,this[_0x2c3bf2(0x14d)]=_0x5a97fe;}[_0x1205c6(0x13d)](_0x2b5bd5,_0x158590,_0x255beb){const _0x27ef6d=_0x1205c6;if(this[_0x27ef6d(0x281)]===0x8&&this['_state']==_0x5a97fe)return _0x255beb();this['_bufferedBytes']+=_0x2b5bd5[_0x27ef6d(0x285)],this[_0x27ef6d(0x2b8)][_0x27ef6d(0x1cc)](_0x2b5bd5),this[_0x27ef6d(0x255)](_0x255beb);}[_0x1205c6(0x261)](_0x3e779d){const _0x580d34=_0x1205c6;if(this[_0x580d34(0x2d4)]-=_0x3e779d,_0x3e779d===this[_0x580d34(0x2b8)][0x0][_0x580d34(0x285)])return this[_0x580d34(0x2b8)][_0x580d34(0x173)]();if(_0x3e779d<this[_0x580d34(0x2b8)][0x0][_0x580d34(0x285)]){const _0x59efb6=this['_buffers'][0x0];return this[_0x580d34(0x2b8)][0x0]=new _0x520cc9(_0x59efb6[_0x580d34(0x2ac)],_0x59efb6[_0x580d34(0x143)]+_0x3e779d,_0x59efb6[_0x580d34(0x285)]-_0x3e779d),new _0x520cc9(_0x59efb6[_0x580d34(0x2ac)],_0x59efb6[_0x580d34(0x143)],_0x3e779d);}const _0x57db59=Buffer['allocUnsafe'](_0x3e779d);do{const _0x57b642=this['_buffers'][0x0],_0x41f99d=_0x57db59[_0x580d34(0x285)]-_0x3e779d;_0x3e779d>=_0x57b642[_0x580d34(0x285)]?_0x57db59[_0x580d34(0x2e2)](this[_0x580d34(0x2b8)]['shift'](),_0x41f99d):(_0x57db59[_0x580d34(0x2e2)](new Uint8Array(_0x57b642['buffer'],_0x57b642[_0x580d34(0x143)],_0x3e779d),_0x41f99d),this[_0x580d34(0x2b8)][0x0]=new _0x520cc9(_0x57b642[_0x580d34(0x2ac)],_0x57b642[_0x580d34(0x143)]+_0x3e779d,_0x57b642[_0x580d34(0x285)]-_0x3e779d)),_0x3e779d-=_0x57b642[_0x580d34(0x285)];}while(_0x3e779d>0x0);return _0x57db59;}[_0x1205c6(0x255)](_0x1fec49){const _0x33023a=_0x1205c6;this[_0x33023a(0x221)]=!0x0;do switch(this[_0x33023a(0x14d)]){case _0x5a97fe:this[_0x33023a(0x1c2)](_0x1fec49);break;case _0x1d7e9e:this[_0x33023a(0x1ef)](_0x1fec49);break;case _0x5b3197:this[_0x33023a(0x202)](_0x1fec49);break;case _0x1f2926:this[_0x33023a(0x19e)]();break;case _0xcc4e2:this[_0x33023a(0x2c0)](_0x1fec49);break;case _0x4bc3bc:case _0x533538:this[_0x33023a(0x221)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x1fec49();}[_0x1205c6(0x1c2)](_0x2d2d34){const _0x384c5c=_0x1205c6;if(this[_0x384c5c(0x2d4)]<0x2){this['_loop']=!0x1;return;}const _0x6eb5c2=this[_0x384c5c(0x261)](0x2);if((_0x6eb5c2[0x0]&0x30)!==0x0){const _0x59e674=this['createError'](RangeError,_0x384c5c(0x15e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x2d2d34(_0x59e674);return;}const _0x56810e=(_0x6eb5c2[0x0]&0x40)===0x40;if(_0x56810e&&!this[_0x384c5c(0x1bc)][_0x5a829e[_0x384c5c(0x17d)]]){const _0x3ad0aa=this[_0x384c5c(0x280)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2d2d34(_0x3ad0aa);return;}if(this['_fin']=(_0x6eb5c2[0x0]&0x80)===0x80,this[_0x384c5c(0x281)]=_0x6eb5c2[0x0]&0xf,this[_0x384c5c(0x1bf)]=_0x6eb5c2[0x1]&0x7f,this[_0x384c5c(0x281)]===0x0){if(_0x56810e){const _0x237862=this[_0x384c5c(0x280)](RangeError,_0x384c5c(0x2de),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2d2d34(_0x237862);return;}if(!this['_fragmented']){const _0x285029=this['createError'](RangeError,_0x384c5c(0x2e0),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2d2d34(_0x285029);return;}this[_0x384c5c(0x281)]=this['_fragmented'];}else{if(this[_0x384c5c(0x281)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x5ddc44=this['createError'](RangeError,_0x384c5c(0x292)+this[_0x384c5c(0x281)],!0x0,0x3ea,_0x384c5c(0x218));_0x2d2d34(_0x5ddc44);return;}this[_0x384c5c(0x1f3)]=_0x56810e;}else{if(this['_opcode']>0x7&&this[_0x384c5c(0x281)]<0xb){if(!this[_0x384c5c(0x1a1)]){const _0x2ba1c9=this[_0x384c5c(0x280)](RangeError,_0x384c5c(0x2e1),!0x0,0x3ea,_0x384c5c(0x1fb));_0x2d2d34(_0x2ba1c9);return;}if(_0x56810e){const _0x38a335=this[_0x384c5c(0x280)](RangeError,_0x384c5c(0x2de),!0x0,0x3ea,_0x384c5c(0x23f));_0x2d2d34(_0x38a335);return;}if(this[_0x384c5c(0x1bf)]>0x7d||this['_opcode']===0x8&&this[_0x384c5c(0x1bf)]===0x1){const _0x1301f0=this['createError'](RangeError,_0x384c5c(0x2c8)+this[_0x384c5c(0x1bf)],!0x0,0x3ea,_0x384c5c(0x2ca));_0x2d2d34(_0x1301f0);return;}}else{const _0x116e9d=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2d2d34(_0x116e9d);return;}}}if(!this[_0x384c5c(0x1a1)]&&!this[_0x384c5c(0x276)]&&(this[_0x384c5c(0x276)]=this[_0x384c5c(0x281)]),this['_masked']=(_0x6eb5c2[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x3fbbd3=this[_0x384c5c(0x280)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x384c5c(0x25a));_0x2d2d34(_0x3fbbd3);return;}}else{if(this['_masked']){const _0x2a4d4f=this[_0x384c5c(0x280)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x2d2d34(_0x2a4d4f);return;}}this['_payloadLength']===0x7e?this['_state']=_0x1d7e9e:this['_payloadLength']===0x7f?this['_state']=_0x5b3197:this[_0x384c5c(0x2b0)](_0x2d2d34);}[_0x1205c6(0x1ef)](_0x559f8a){const _0x502f36=_0x1205c6;if(this[_0x502f36(0x2d4)]<0x2){this[_0x502f36(0x221)]=!0x1;return;}this[_0x502f36(0x1bf)]=this[_0x502f36(0x261)](0x2)[_0x502f36(0x210)](0x0),this[_0x502f36(0x2b0)](_0x559f8a);}['getPayloadLength64'](_0x5d6abf){const _0x487a4a=_0x1205c6;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x46e614=this['consume'](0x8),_0x4c2f33=_0x46e614[_0x487a4a(0x254)](0x0);if(_0x4c2f33>Math['pow'](0x2,0x15)-0x1){const _0x52d1b5=this[_0x487a4a(0x280)](RangeError,_0x487a4a(0x249),!0x1,0x3f1,_0x487a4a(0x299));_0x5d6abf(_0x52d1b5);return;}this['_payloadLength']=_0x4c2f33*Math['pow'](0x2,0x20)+_0x46e614['readUInt32BE'](0x4),this[_0x487a4a(0x2b0)](_0x5d6abf);}['haveLength'](_0x3e901e){const _0x21f0e4=_0x1205c6;if(this[_0x21f0e4(0x1bf)]&&this['_opcode']<0x8&&(this[_0x21f0e4(0x1a3)]+=this[_0x21f0e4(0x1bf)],this[_0x21f0e4(0x1a3)]>this[_0x21f0e4(0x2d5)]&&this[_0x21f0e4(0x2d5)]>0x0)){const _0x1932d8=this[_0x21f0e4(0x280)](RangeError,_0x21f0e4(0x1e3),!0x1,0x3f1,_0x21f0e4(0x158));_0x3e901e(_0x1932d8);return;}this[_0x21f0e4(0x2db)]?this[_0x21f0e4(0x14d)]=_0x1f2926:this[_0x21f0e4(0x14d)]=_0xcc4e2;}[_0x1205c6(0x19e)](){const _0x3de900=_0x1205c6;if(this[_0x3de900(0x2d4)]<0x4){this[_0x3de900(0x221)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x3de900(0x14d)]=_0xcc4e2;}[_0x1205c6(0x2c0)](_0x54551d){const _0x1c4f2d=_0x1205c6;let _0x31d50d=_0x31b8ef;if(this[_0x1c4f2d(0x1bf)]){if(this[_0x1c4f2d(0x2d4)]<this['_payloadLength']){this[_0x1c4f2d(0x221)]=!0x1;return;}_0x31d50d=this[_0x1c4f2d(0x261)](this[_0x1c4f2d(0x1bf)]),this[_0x1c4f2d(0x2db)]&&(this[_0x1c4f2d(0x1d2)][0x0]|this[_0x1c4f2d(0x1d2)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x3f55ea(_0x31d50d,this[_0x1c4f2d(0x1d2)]);}if(this[_0x1c4f2d(0x281)]>0x7){this[_0x1c4f2d(0x257)](_0x31d50d,_0x54551d);return;}if(this[_0x1c4f2d(0x1f3)]){this[_0x1c4f2d(0x14d)]=_0x4bc3bc,this[_0x1c4f2d(0x2bb)](_0x31d50d,_0x54551d);return;}_0x31d50d[_0x1c4f2d(0x285)]&&(this[_0x1c4f2d(0x25f)]=this[_0x1c4f2d(0x1a3)],this[_0x1c4f2d(0x271)][_0x1c4f2d(0x1cc)](_0x31d50d)),this[_0x1c4f2d(0x1b7)](_0x54551d);}[_0x1205c6(0x2bb)](_0x41832a,_0x1a78c1){const _0x132f95=_0x1205c6;this[_0x132f95(0x1bc)][_0x5a829e[_0x132f95(0x17d)]][_0x132f95(0x2bb)](_0x41832a,this[_0x132f95(0x1a1)],(_0x551210,_0x43477f)=>{const _0x27fcb9=_0x132f95;if(_0x551210)return _0x1a78c1(_0x551210);if(_0x43477f[_0x27fcb9(0x285)]){if(this['_messageLength']+=_0x43477f[_0x27fcb9(0x285)],this[_0x27fcb9(0x25f)]>this[_0x27fcb9(0x2d5)]&&this['_maxPayload']>0x0){const _0x4a2902=this[_0x27fcb9(0x280)](RangeError,_0x27fcb9(0x1e3),!0x1,0x3f1,_0x27fcb9(0x158));_0x1a78c1(_0x4a2902);return;}this['_fragments']['push'](_0x43477f);}this['dataMessage'](_0x1a78c1),this[_0x27fcb9(0x14d)]===_0x5a97fe&&this['startLoop'](_0x1a78c1);});}[_0x1205c6(0x1b7)](_0x2837c8){const _0x16751b=_0x1205c6;if(!this[_0x16751b(0x1a1)]){this['_state']=_0x5a97fe;return;}const _0x1f4069=this['_messageLength'],_0x21558b=this[_0x16751b(0x271)];if(this[_0x16751b(0x1a3)]=0x0,this['_messageLength']=0x0,this[_0x16751b(0x276)]=0x0,this[_0x16751b(0x271)]=[],this[_0x16751b(0x281)]===0x2){let _0x58c1e8;this[_0x16751b(0x22c)]===_0x16751b(0x1d1)?_0x58c1e8=_0x652a37(_0x21558b,_0x1f4069):this[_0x16751b(0x22c)]===_0x16751b(0x2df)?_0x58c1e8=_0x5a7b99(_0x652a37(_0x21558b,_0x1f4069)):this[_0x16751b(0x22c)]===_0x16751b(0x1f5)?_0x58c1e8=new Blob(_0x21558b):_0x58c1e8=_0x21558b,this[_0x16751b(0x242)]?(this['emit'](_0x16751b(0x247),_0x58c1e8,!0x0),this['_state']=_0x5a97fe):(this[_0x16751b(0x14d)]=_0x533538,setImmediate(()=>{const _0x3e95b0=_0x16751b;this[_0x3e95b0(0x170)](_0x3e95b0(0x247),_0x58c1e8,!0x0),this['_state']=_0x5a97fe,this[_0x3e95b0(0x255)](_0x2837c8);}));}else{const _0x2b9e1c=_0x652a37(_0x21558b,_0x1f4069);if(!this['_skipUTF8Validation']&&!_0x54a865(_0x2b9e1c)){const _0x1a55ce=this['createError'](Error,_0x16751b(0x2cb),!0x0,0x3ef,_0x16751b(0x278));_0x2837c8(_0x1a55ce);return;}this['_state']===_0x4bc3bc||this[_0x16751b(0x242)]?(this[_0x16751b(0x170)](_0x16751b(0x247),_0x2b9e1c,!0x1),this[_0x16751b(0x14d)]=_0x5a97fe):(this[_0x16751b(0x14d)]=_0x533538,setImmediate(()=>{const _0x5316a0=_0x16751b;this[_0x5316a0(0x170)](_0x5316a0(0x247),_0x2b9e1c,!0x1),this[_0x5316a0(0x14d)]=_0x5a97fe,this[_0x5316a0(0x255)](_0x2837c8);}));}}[_0x1205c6(0x257)](_0x13b950,_0x221cf7){const _0x55a509=_0x1205c6;if(this[_0x55a509(0x281)]===0x8){if(_0x13b950[_0x55a509(0x285)]===0x0)this['_loop']=!0x1,this[_0x55a509(0x170)]('conclude',0x3ed,_0x31b8ef),this[_0x55a509(0x2a0)]();else{const _0x4589c9=_0x13b950[_0x55a509(0x210)](0x0);if(!_0x324d14(_0x4589c9)){const _0x2a8aff=this[_0x55a509(0x280)](RangeError,_0x55a509(0x29a)+_0x4589c9,!0x0,0x3ea,_0x55a509(0x21b));_0x221cf7(_0x2a8aff);return;}const _0x1b845b=new _0x520cc9(_0x13b950[_0x55a509(0x2ac)],_0x13b950[_0x55a509(0x143)]+0x2,_0x13b950[_0x55a509(0x285)]-0x2);if(!this[_0x55a509(0x16e)]&&!_0x54a865(_0x1b845b)){const _0x5e2af0=this[_0x55a509(0x280)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x55a509(0x278));_0x221cf7(_0x5e2af0);return;}this[_0x55a509(0x221)]=!0x1,this[_0x55a509(0x170)]('conclude',_0x4589c9,_0x1b845b),this[_0x55a509(0x2a0)]();}this[_0x55a509(0x14d)]=_0x5a97fe;return;}this[_0x55a509(0x242)]?(this[_0x55a509(0x170)](this[_0x55a509(0x281)]===0x9?_0x55a509(0x1aa):_0x55a509(0x1ce),_0x13b950),this['_state']=_0x5a97fe):(this[_0x55a509(0x14d)]=_0x533538,setImmediate(()=>{const _0x48eb33=_0x55a509;this[_0x48eb33(0x170)](this[_0x48eb33(0x281)]===0x9?_0x48eb33(0x1aa):_0x48eb33(0x1ce),_0x13b950),this[_0x48eb33(0x14d)]=_0x5a97fe,this[_0x48eb33(0x255)](_0x221cf7);}));}['createError'](_0x4eccea,_0x58242f,_0x3af2bc,_0xda30d4,_0x60bfa5){const _0x20d7dd=_0x1205c6;this[_0x20d7dd(0x221)]=!0x1,this[_0x20d7dd(0x2cd)]=!0x0;const _0x40f163=new _0x4eccea(_0x3af2bc?_0x20d7dd(0x1d0)+_0x58242f:_0x58242f);return Error['captureStackTrace'](_0x40f163,this[_0x20d7dd(0x280)]),_0x40f163[_0x20d7dd(0x2a8)]=_0x60bfa5,_0x40f163[_0x45b4d6]=_0xda30d4,_0x40f163;}}return Se=_0x5161ab,Se;}var Ee,et;function _t(){const _0x1264bf=_0x697e83;if(et)return Ee;et=0x1;const {Duplex:_0x257ed3}=_0x350172,{randomFillSync:_0x4b1029}=_0x178977,_0x95c4e0=he(),{EMPTY_BUFFER:_0x52c823,kWebSocket:_0x55300a,NOOP:_0x2937fc}=V(),{isBlob:_0x13a69,isValidStatusCode:_0x2f8f34}=ne(),{mask:_0x1cafd9,toBuffer:_0x373913}=ce(),_0x3f43d5=Symbol(_0x1264bf(0x140)),_0x285801=Buffer[_0x1264bf(0x245)](0x4),_0x40d636=0x8*0x400;let _0x485677,_0x197244=_0x40d636;const _0x10b2fd=0x0,_0x4b657b=0x1,_0x4442a9=0x2;class _0x283edd{constructor(_0x5136dc,_0x32dc3f,_0x3e4d2d){const _0x2cb88f=_0x1264bf;this['_extensions']=_0x32dc3f||{},_0x3e4d2d&&(this['_generateMask']=_0x3e4d2d,this['_maskBuffer']=Buffer[_0x2cb88f(0x245)](0x4)),this[_0x2cb88f(0x273)]=_0x5136dc,this[_0x2cb88f(0x1ba)]=!0x0,this[_0x2cb88f(0x1a6)]=!0x1,this[_0x2cb88f(0x2d4)]=0x0,this[_0x2cb88f(0x2e9)]=[],this[_0x2cb88f(0x14d)]=_0x10b2fd,this[_0x2cb88f(0x1fc)]=_0x2937fc,this[_0x55300a]=void 0x0;}static[_0x1264bf(0x1d4)](_0xaffd31,_0x238ca2){const _0x2a6cc2=_0x1264bf;let _0x562e77,_0x1fdd37=!0x1,_0x1875c9=0x2,_0x575935=!0x1;_0x238ca2[_0x2a6cc2(0x193)]&&(_0x562e77=_0x238ca2[_0x2a6cc2(0x1d9)]||_0x285801,_0x238ca2['generateMask']?_0x238ca2[_0x2a6cc2(0x21e)](_0x562e77):(_0x197244===_0x40d636&&(_0x485677===void 0x0&&(_0x485677=Buffer[_0x2a6cc2(0x245)](_0x40d636)),_0x4b1029(_0x485677,0x0,_0x40d636),_0x197244=0x0),_0x562e77[0x0]=_0x485677[_0x197244++],_0x562e77[0x1]=_0x485677[_0x197244++],_0x562e77[0x2]=_0x485677[_0x197244++],_0x562e77[0x3]=_0x485677[_0x197244++]),_0x575935=(_0x562e77[0x0]|_0x562e77[0x1]|_0x562e77[0x2]|_0x562e77[0x3])===0x0,_0x1875c9=0x6);let _0x3b44fb;typeof _0xaffd31==_0x2a6cc2(0x1fd)?(!_0x238ca2[_0x2a6cc2(0x193)]||_0x575935)&&_0x238ca2[_0x3f43d5]!==void 0x0?_0x3b44fb=_0x238ca2[_0x3f43d5]:(_0xaffd31=Buffer[_0x2a6cc2(0x1a9)](_0xaffd31),_0x3b44fb=_0xaffd31[_0x2a6cc2(0x285)]):(_0x3b44fb=_0xaffd31[_0x2a6cc2(0x285)],_0x1fdd37=_0x238ca2['mask']&&_0x238ca2[_0x2a6cc2(0x18b)]&&!_0x575935);let _0x3e92b7=_0x3b44fb;_0x3b44fb>=0x10000?(_0x1875c9+=0x8,_0x3e92b7=0x7f):_0x3b44fb>0x7d&&(_0x1875c9+=0x2,_0x3e92b7=0x7e);const _0x372e56=Buffer[_0x2a6cc2(0x1eb)](_0x1fdd37?_0x3b44fb+_0x1875c9:_0x1875c9);return _0x372e56[0x0]=_0x238ca2[_0x2a6cc2(0x20f)]?_0x238ca2[_0x2a6cc2(0x1c8)]|0x80:_0x238ca2[_0x2a6cc2(0x1c8)],_0x238ca2['rsv1']&&(_0x372e56[0x0]|=0x40),_0x372e56[0x1]=_0x3e92b7,_0x3e92b7===0x7e?_0x372e56[_0x2a6cc2(0x14b)](_0x3b44fb,0x2):_0x3e92b7===0x7f&&(_0x372e56[0x2]=_0x372e56[0x3]=0x0,_0x372e56['writeUIntBE'](_0x3b44fb,0x4,0x6)),_0x238ca2[_0x2a6cc2(0x193)]?(_0x372e56[0x1]|=0x80,_0x372e56[_0x1875c9-0x4]=_0x562e77[0x0],_0x372e56[_0x1875c9-0x3]=_0x562e77[0x1],_0x372e56[_0x1875c9-0x2]=_0x562e77[0x2],_0x372e56[_0x1875c9-0x1]=_0x562e77[0x3],_0x575935?[_0x372e56,_0xaffd31]:_0x1fdd37?(_0x1cafd9(_0xaffd31,_0x562e77,_0x372e56,_0x1875c9,_0x3b44fb),[_0x372e56]):(_0x1cafd9(_0xaffd31,_0x562e77,_0xaffd31,0x0,_0x3b44fb),[_0x372e56,_0xaffd31])):[_0x372e56,_0xaffd31];}[_0x1264bf(0x1a8)](_0x48b129,_0x5ef3de,_0x137ab3,_0x5c9f70){const _0x1174bc=_0x1264bf;let _0x2df127;if(_0x48b129===void 0x0)_0x2df127=_0x52c823;else{if(typeof _0x48b129!=_0x1174bc(0x1c6)||!_0x2f8f34(_0x48b129))throw new TypeError(_0x1174bc(0x1fe));if(_0x5ef3de===void 0x0||!_0x5ef3de[_0x1174bc(0x285)])_0x2df127=Buffer['allocUnsafe'](0x2),_0x2df127['writeUInt16BE'](_0x48b129,0x0);else{const _0x21776f=Buffer[_0x1174bc(0x229)](_0x5ef3de);if(_0x21776f>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2df127=Buffer[_0x1174bc(0x1eb)](0x2+_0x21776f),_0x2df127[_0x1174bc(0x14b)](_0x48b129,0x0),typeof _0x5ef3de==_0x1174bc(0x1fd)?_0x2df127[_0x1174bc(0x1ae)](_0x5ef3de,0x2):_0x2df127[_0x1174bc(0x2e2)](_0x5ef3de,0x2);}}const _0x4353e5={[_0x3f43d5]:_0x2df127['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x137ab3,'maskBuffer':this[_0x1174bc(0x1a4)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1174bc(0x14d)]!==_0x10b2fd?this['enqueue']([this[_0x1174bc(0x175)],_0x2df127,!0x1,_0x4353e5,_0x5c9f70]):this[_0x1174bc(0x293)](_0x283edd[_0x1174bc(0x1d4)](_0x2df127,_0x4353e5),_0x5c9f70);}[_0x1264bf(0x1aa)](_0x500024,_0x26f479,_0x1f573f){const _0x4cc588=_0x1264bf;let _0x1d0e81,_0x168c05;if(typeof _0x500024==_0x4cc588(0x1fd)?(_0x1d0e81=Buffer['byteLength'](_0x500024),_0x168c05=!0x1):_0x13a69(_0x500024)?(_0x1d0e81=_0x500024[_0x4cc588(0x17c)],_0x168c05=!0x1):(_0x500024=_0x373913(_0x500024),_0x1d0e81=_0x500024['length'],_0x168c05=_0x373913[_0x4cc588(0x18b)]),_0x1d0e81>0x7d)throw new RangeError(_0x4cc588(0x2c1));const _0x2ebdd3={[_0x3f43d5]:_0x1d0e81,'fin':!0x0,'generateMask':this[_0x4cc588(0x16f)],'mask':_0x26f479,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x168c05,'rsv1':!0x1};_0x13a69(_0x500024)?this[_0x4cc588(0x14d)]!==_0x10b2fd?this[_0x4cc588(0x1d7)]([this[_0x4cc588(0x22e)],_0x500024,!0x1,_0x2ebdd3,_0x1f573f]):this[_0x4cc588(0x22e)](_0x500024,!0x1,_0x2ebdd3,_0x1f573f):this[_0x4cc588(0x14d)]!==_0x10b2fd?this[_0x4cc588(0x1d7)]([this[_0x4cc588(0x175)],_0x500024,!0x1,_0x2ebdd3,_0x1f573f]):this[_0x4cc588(0x293)](_0x283edd[_0x4cc588(0x1d4)](_0x500024,_0x2ebdd3),_0x1f573f);}['pong'](_0x54e511,_0x20baf8,_0xab7507){const _0x36b068=_0x1264bf;let _0x691f11,_0x154ece;if(typeof _0x54e511==_0x36b068(0x1fd)?(_0x691f11=Buffer['byteLength'](_0x54e511),_0x154ece=!0x1):_0x13a69(_0x54e511)?(_0x691f11=_0x54e511[_0x36b068(0x17c)],_0x154ece=!0x1):(_0x54e511=_0x373913(_0x54e511),_0x691f11=_0x54e511['length'],_0x154ece=_0x373913[_0x36b068(0x18b)]),_0x691f11>0x7d)throw new RangeError(_0x36b068(0x2c1));const _0x75074={[_0x3f43d5]:_0x691f11,'fin':!0x0,'generateMask':this[_0x36b068(0x16f)],'mask':_0x20baf8,'maskBuffer':this[_0x36b068(0x1a4)],'opcode':0xa,'readOnly':_0x154ece,'rsv1':!0x1};_0x13a69(_0x54e511)?this[_0x36b068(0x14d)]!==_0x10b2fd?this['enqueue']([this[_0x36b068(0x22e)],_0x54e511,!0x1,_0x75074,_0xab7507]):this[_0x36b068(0x22e)](_0x54e511,!0x1,_0x75074,_0xab7507):this[_0x36b068(0x14d)]!==_0x10b2fd?this[_0x36b068(0x1d7)]([this[_0x36b068(0x175)],_0x54e511,!0x1,_0x75074,_0xab7507]):this[_0x36b068(0x293)](_0x283edd['frame'](_0x54e511,_0x75074),_0xab7507);}[_0x1264bf(0x13f)](_0x230dfd,_0x324263,_0x1dcc88){const _0x479684=_0x1264bf,_0x3e7de5=this['_extensions'][_0x95c4e0[_0x479684(0x17d)]];let _0x4f0df0=_0x324263['binary']?0x2:0x1,_0x151e59=_0x324263[_0x479684(0x159)],_0x4c4f66,_0x487822;typeof _0x230dfd==_0x479684(0x1fd)?(_0x4c4f66=Buffer[_0x479684(0x229)](_0x230dfd),_0x487822=!0x1):_0x13a69(_0x230dfd)?(_0x4c4f66=_0x230dfd[_0x479684(0x17c)],_0x487822=!0x1):(_0x230dfd=_0x373913(_0x230dfd),_0x4c4f66=_0x230dfd['length'],_0x487822=_0x373913[_0x479684(0x18b)]),this[_0x479684(0x1ba)]?(this[_0x479684(0x1ba)]=!0x1,_0x151e59&&_0x3e7de5&&_0x3e7de5[_0x479684(0x154)][_0x3e7de5[_0x479684(0x15b)]?_0x479684(0x29b):_0x479684(0x29f)]&&(_0x151e59=_0x4c4f66>=_0x3e7de5[_0x479684(0x28f)]),this[_0x479684(0x1a6)]=_0x151e59):(_0x151e59=!0x1,_0x4f0df0=0x0),_0x324263[_0x479684(0x20f)]&&(this[_0x479684(0x1ba)]=!0x0);const _0x36976d={[_0x3f43d5]:_0x4c4f66,'fin':_0x324263[_0x479684(0x20f)],'generateMask':this[_0x479684(0x16f)],'mask':_0x324263[_0x479684(0x193)],'maskBuffer':this['_maskBuffer'],'opcode':_0x4f0df0,'readOnly':_0x487822,'rsv1':_0x151e59};_0x13a69(_0x230dfd)?this[_0x479684(0x14d)]!==_0x10b2fd?this[_0x479684(0x1d7)]([this[_0x479684(0x22e)],_0x230dfd,this[_0x479684(0x1a6)],_0x36976d,_0x1dcc88]):this['getBlobData'](_0x230dfd,this['_compress'],_0x36976d,_0x1dcc88):this['_state']!==_0x10b2fd?this[_0x479684(0x1d7)]([this[_0x479684(0x175)],_0x230dfd,this[_0x479684(0x1a6)],_0x36976d,_0x1dcc88]):this['dispatch'](_0x230dfd,this[_0x479684(0x1a6)],_0x36976d,_0x1dcc88);}[_0x1264bf(0x22e)](_0x54f966,_0x1cfd29,_0x52e0a2,_0xf70fcc){const _0x14798a=_0x1264bf;this[_0x14798a(0x2d4)]+=_0x52e0a2[_0x3f43d5],this['_state']=_0x4442a9,_0x54f966[_0x14798a(0x2c7)]()[_0x14798a(0x1a5)](_0x2cc745=>{const _0x5d033e=_0x14798a;if(this[_0x5d033e(0x273)]['destroyed']){const _0x212d2e=new Error(_0x5d033e(0x25e));process[_0x5d033e(0x1a7)](_0x608cb6,this,_0x212d2e,_0xf70fcc);return;}this[_0x5d033e(0x2d4)]-=_0x52e0a2[_0x3f43d5];const _0xd6080a=_0x373913(_0x2cc745);_0x1cfd29?this[_0x5d033e(0x175)](_0xd6080a,_0x1cfd29,_0x52e0a2,_0xf70fcc):(this[_0x5d033e(0x14d)]=_0x10b2fd,this['sendFrame'](_0x283edd[_0x5d033e(0x1d4)](_0xd6080a,_0x52e0a2),_0xf70fcc),this[_0x5d033e(0x177)]());})[_0x14798a(0x226)](_0x3702c5=>{const _0x33a7f3=_0x14798a;process[_0x33a7f3(0x1a7)](_0x49085c,this,_0x3702c5,_0xf70fcc);});}[_0x1264bf(0x175)](_0x5c7f31,_0x48d1f3,_0x128c98,_0x3924c0){const _0x19a6a4=_0x1264bf;if(!_0x48d1f3){this[_0x19a6a4(0x293)](_0x283edd[_0x19a6a4(0x1d4)](_0x5c7f31,_0x128c98),_0x3924c0);return;}const _0xffb14f=this[_0x19a6a4(0x1bc)][_0x95c4e0[_0x19a6a4(0x17d)]];this['_bufferedBytes']+=_0x128c98[_0x3f43d5],this[_0x19a6a4(0x14d)]=_0x4b657b,_0xffb14f['compress'](_0x5c7f31,_0x128c98[_0x19a6a4(0x20f)],(_0x632460,_0x354477)=>{const _0x50ebff=_0x19a6a4;if(this[_0x50ebff(0x273)][_0x50ebff(0x178)]){const _0x2ff6cd=new Error(_0x50ebff(0x1d6));_0x608cb6(this,_0x2ff6cd,_0x3924c0);return;}this[_0x50ebff(0x2d4)]-=_0x128c98[_0x3f43d5],this['_state']=_0x10b2fd,_0x128c98[_0x50ebff(0x18b)]=!0x1,this[_0x50ebff(0x293)](_0x283edd[_0x50ebff(0x1d4)](_0x354477,_0x128c98),_0x3924c0),this[_0x50ebff(0x177)]();});}[_0x1264bf(0x177)](){const _0x3b062d=_0x1264bf;for(;this['_state']===_0x10b2fd&&this[_0x3b062d(0x2e9)][_0x3b062d(0x285)];){const _0x2a9dc3=this[_0x3b062d(0x2e9)][_0x3b062d(0x173)]();this[_0x3b062d(0x2d4)]-=_0x2a9dc3[0x3][_0x3f43d5],Reflect[_0x3b062d(0x241)](_0x2a9dc3[0x0],this,_0x2a9dc3[_0x3b062d(0x204)](0x1));}}[_0x1264bf(0x1d7)](_0x4bd95b){const _0x1f0989=_0x1264bf;this[_0x1f0989(0x2d4)]+=_0x4bd95b[0x3][_0x3f43d5],this[_0x1f0989(0x2e9)][_0x1f0989(0x1cc)](_0x4bd95b);}[_0x1264bf(0x293)](_0xbe9a6a,_0x3b16d9){const _0x3b2ddf=_0x1264bf;_0xbe9a6a[_0x3b2ddf(0x285)]===0x2?(this[_0x3b2ddf(0x273)][_0x3b2ddf(0x209)](),this['_socket'][_0x3b2ddf(0x1ae)](_0xbe9a6a[0x0]),this[_0x3b2ddf(0x273)][_0x3b2ddf(0x1ae)](_0xbe9a6a[0x1],_0x3b16d9),this[_0x3b2ddf(0x273)][_0x3b2ddf(0x19b)]()):this[_0x3b2ddf(0x273)]['write'](_0xbe9a6a[0x0],_0x3b16d9);}}Ee=_0x283edd;function _0x608cb6(_0x17b9e5,_0x372a9c,_0x129fb9){const _0x2eec77=_0x1264bf;typeof _0x129fb9==_0x2eec77(0x25d)&&_0x129fb9(_0x372a9c);for(let _0x4bc81c=0x0;_0x4bc81c<_0x17b9e5[_0x2eec77(0x2e9)][_0x2eec77(0x285)];_0x4bc81c++){const _0x2d54c5=_0x17b9e5[_0x2eec77(0x2e9)][_0x4bc81c],_0x5ea6e3=_0x2d54c5[_0x2d54c5[_0x2eec77(0x285)]-0x1];typeof _0x5ea6e3=='function'&&_0x5ea6e3(_0x372a9c);}}function _0x49085c(_0x389f2b,_0x12f1de,_0x3026e0){_0x608cb6(_0x389f2b,_0x12f1de,_0x3026e0),_0x389f2b['onerror'](_0x12f1de);}return Ee;}var xe,tt;function Kt(){const _0x4dbb6e=_0x697e83;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1f86a8,kListener:_0x42d4f9}=V(),_0x26c6cb=Symbol('kCode'),_0x33a0d6=Symbol(_0x4dbb6e(0x29d)),_0x5235af=Symbol(_0x4dbb6e(0x2c5)),_0x3a1af0=Symbol(_0x4dbb6e(0x2e5)),_0x22c953=Symbol(_0x4dbb6e(0x2c2)),_0x418929=Symbol(_0x4dbb6e(0x2a6)),_0x8266b8=Symbol(_0x4dbb6e(0x195)),_0xe55fae=Symbol('kWasClean');class _0x3664ef{constructor(_0x2034c1){this[_0x418929]=null,this[_0x8266b8]=_0x2034c1;}get[_0x4dbb6e(0x262)](){return this[_0x418929];}get[_0x4dbb6e(0x153)](){return this[_0x8266b8];}}Object['defineProperty'](_0x3664ef[_0x4dbb6e(0x227)],_0x4dbb6e(0x262),{'enumerable':!0x0}),Object[_0x4dbb6e(0x2af)](_0x3664ef[_0x4dbb6e(0x227)],_0x4dbb6e(0x153),{'enumerable':!0x0});class _0x14416e extends _0x3664ef{constructor(_0x193245,_0x426926={}){const _0x4472c9=_0x4dbb6e;super(_0x193245),this[_0x26c6cb]=_0x426926[_0x4472c9(0x2a8)]===void 0x0?0x0:_0x426926[_0x4472c9(0x2a8)],this[_0x22c953]=_0x426926[_0x4472c9(0x2a3)]===void 0x0?'':_0x426926[_0x4472c9(0x2a3)],this[_0xe55fae]=_0x426926['wasClean']===void 0x0?!0x1:_0x426926[_0x4472c9(0x184)];}get[_0x4dbb6e(0x2a8)](){return this[_0x26c6cb];}get[_0x4dbb6e(0x2a3)](){return this[_0x22c953];}get[_0x4dbb6e(0x184)](){return this[_0xe55fae];}}Object[_0x4dbb6e(0x2af)](_0x14416e[_0x4dbb6e(0x227)],_0x4dbb6e(0x2a8),{'enumerable':!0x0}),Object[_0x4dbb6e(0x2af)](_0x14416e['prototype'],_0x4dbb6e(0x2a3),{'enumerable':!0x0}),Object[_0x4dbb6e(0x2af)](_0x14416e[_0x4dbb6e(0x227)],_0x4dbb6e(0x184),{'enumerable':!0x0});class _0x1bd23d extends _0x3664ef{constructor(_0x26c738,_0x4db7dd={}){const _0x7ff159=_0x4dbb6e;super(_0x26c738),this[_0x5235af]=_0x4db7dd[_0x7ff159(0x1e6)]===void 0x0?null:_0x4db7dd[_0x7ff159(0x1e6)],this[_0x3a1af0]=_0x4db7dd[_0x7ff159(0x247)]===void 0x0?'':_0x4db7dd[_0x7ff159(0x247)];}get[_0x4dbb6e(0x1e6)](){return this[_0x5235af];}get[_0x4dbb6e(0x247)](){return this[_0x3a1af0];}}Object[_0x4dbb6e(0x2af)](_0x1bd23d[_0x4dbb6e(0x227)],_0x4dbb6e(0x1e6),{'enumerable':!0x0}),Object['defineProperty'](_0x1bd23d[_0x4dbb6e(0x227)],_0x4dbb6e(0x247),{'enumerable':!0x0});class _0x139a9e extends _0x3664ef{constructor(_0x3ce94d,_0x11a86b={}){const _0x269285=_0x4dbb6e;super(_0x3ce94d),this[_0x33a0d6]=_0x11a86b[_0x269285(0x181)]===void 0x0?null:_0x11a86b['data'];}get[_0x4dbb6e(0x181)](){return this[_0x33a0d6];}}Object[_0x4dbb6e(0x2af)](_0x139a9e[_0x4dbb6e(0x227)],_0x4dbb6e(0x181),{'enumerable':!0x0}),xe={'CloseEvent':_0x14416e,'ErrorEvent':_0x1bd23d,'Event':_0x3664ef,'EventTarget':{'addEventListener'(_0x228526,_0x53abe8,_0x49f94f={}){const _0x3fbd0d=_0x4dbb6e;for(const _0x378fef of this['listeners'](_0x228526))if(!_0x49f94f[_0x1f86a8]&&_0x378fef[_0x42d4f9]===_0x53abe8&&!_0x378fef[_0x1f86a8])return;let _0x17d130;if(_0x228526==='message')_0x17d130=function(_0x511793,_0x1c0b1b){const _0x4223fa=_0x1017,_0x3ed714=new _0x139a9e(_0x4223fa(0x247),{'data':_0x1c0b1b?_0x511793:_0x511793['toString']()});_0x3ed714[_0x418929]=this,_0x10b99d(_0x53abe8,this,_0x3ed714);};else{if(_0x228526==='close')_0x17d130=function(_0x37cba4,_0x2404c2){const _0x4c583c=_0x1017,_0x41fe14=new _0x14416e(_0x4c583c(0x1a8),{'code':_0x37cba4,'reason':_0x2404c2['toString'](),'wasClean':this[_0x4c583c(0x1ec)]&&this[_0x4c583c(0x149)]});_0x41fe14[_0x418929]=this,_0x10b99d(_0x53abe8,this,_0x41fe14);};else{if(_0x228526===_0x3fbd0d(0x1e6))_0x17d130=function(_0x36c481){const _0x4c3323=_0x3fbd0d,_0x48778b=new _0x1bd23d(_0x4c3323(0x1e6),{'error':_0x36c481,'message':_0x36c481[_0x4c3323(0x247)]});_0x48778b[_0x418929]=this,_0x10b99d(_0x53abe8,this,_0x48778b);};else{if(_0x228526===_0x3fbd0d(0x27d))_0x17d130=function(){const _0x24cb3d=_0x3fbd0d,_0x444776=new _0x3664ef(_0x24cb3d(0x27d));_0x444776[_0x418929]=this,_0x10b99d(_0x53abe8,this,_0x444776);};else return;}}}_0x17d130[_0x1f86a8]=!!_0x49f94f[_0x1f86a8],_0x17d130[_0x42d4f9]=_0x53abe8,_0x49f94f['once']?this['once'](_0x228526,_0x17d130):this['on'](_0x228526,_0x17d130);},'removeEventListener'(_0x51b923,_0x1949b7){const _0x1cb340=_0x4dbb6e;for(const _0xb318d0 of this['listeners'](_0x51b923))if(_0xb318d0[_0x42d4f9]===_0x1949b7&&!_0xb318d0[_0x1f86a8]){this[_0x1cb340(0x267)](_0x51b923,_0xb318d0);break;}}},'MessageEvent':_0x139a9e};function _0x10b99d(_0x2b7f37,_0x2df046,_0x577231){const _0x39ccff=_0x4dbb6e;typeof _0x2b7f37==_0x39ccff(0x22a)&&_0x2b7f37[_0x39ccff(0x17b)]?_0x2b7f37[_0x39ccff(0x17b)][_0x39ccff(0x26b)](_0x2b7f37,_0x577231):_0x2b7f37[_0x39ccff(0x26b)](_0x2df046,_0x577231);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x355f93}=ne();function _0x1f05fc(_0x1d2aae,_0x433afc,_0x30447b){const _0x6420dc=_0x1017;_0x1d2aae[_0x433afc]===void 0x0?_0x1d2aae[_0x433afc]=[_0x30447b]:_0x1d2aae[_0x433afc][_0x6420dc(0x1cc)](_0x30447b);}function _0x2f33cf(_0x5b8dd0){const _0x27b5e5=_0x1017,_0x453a05=Object[_0x27b5e5(0x148)](null);let _0x1a60d6=Object[_0x27b5e5(0x148)](null),_0x56bbcb=!0x1,_0x35dd72=!0x1,_0xd8a8d5=!0x1,_0x18efb1,_0x21309a,_0x1014b5=-0x1,_0x566090=-0x1,_0x4fd3a8=-0x1,_0x1f43a8=0x0;for(;_0x1f43a8<_0x5b8dd0[_0x27b5e5(0x285)];_0x1f43a8++)if(_0x566090=_0x5b8dd0[_0x27b5e5(0x1e8)](_0x1f43a8),_0x18efb1===void 0x0){if(_0x4fd3a8===-0x1&&_0x355f93[_0x566090]===0x1)_0x1014b5===-0x1&&(_0x1014b5=_0x1f43a8);else{if(_0x1f43a8!==0x0&&(_0x566090===0x20||_0x566090===0x9))_0x4fd3a8===-0x1&&_0x1014b5!==-0x1&&(_0x4fd3a8=_0x1f43a8);else{if(_0x566090===0x3b||_0x566090===0x2c){if(_0x1014b5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f43a8);_0x4fd3a8===-0x1&&(_0x4fd3a8=_0x1f43a8);const _0x5a744b=_0x5b8dd0['slice'](_0x1014b5,_0x4fd3a8);_0x566090===0x2c?(_0x1f05fc(_0x453a05,_0x5a744b,_0x1a60d6),_0x1a60d6=Object[_0x27b5e5(0x148)](null)):_0x18efb1=_0x5a744b,_0x1014b5=_0x4fd3a8=-0x1;}else throw new SyntaxError(_0x27b5e5(0x24f)+_0x1f43a8);}}}else{if(_0x21309a===void 0x0){if(_0x4fd3a8===-0x1&&_0x355f93[_0x566090]===0x1)_0x1014b5===-0x1&&(_0x1014b5=_0x1f43a8);else{if(_0x566090===0x20||_0x566090===0x9)_0x4fd3a8===-0x1&&_0x1014b5!==-0x1&&(_0x4fd3a8=_0x1f43a8);else{if(_0x566090===0x3b||_0x566090===0x2c){if(_0x1014b5===-0x1)throw new SyntaxError(_0x27b5e5(0x24f)+_0x1f43a8);_0x4fd3a8===-0x1&&(_0x4fd3a8=_0x1f43a8),_0x1f05fc(_0x1a60d6,_0x5b8dd0[_0x27b5e5(0x204)](_0x1014b5,_0x4fd3a8),!0x0),_0x566090===0x2c&&(_0x1f05fc(_0x453a05,_0x18efb1,_0x1a60d6),_0x1a60d6=Object[_0x27b5e5(0x148)](null),_0x18efb1=void 0x0),_0x1014b5=_0x4fd3a8=-0x1;}else{if(_0x566090===0x3d&&_0x1014b5!==-0x1&&_0x4fd3a8===-0x1)_0x21309a=_0x5b8dd0[_0x27b5e5(0x204)](_0x1014b5,_0x1f43a8),_0x1014b5=_0x4fd3a8=-0x1;else throw new SyntaxError(_0x27b5e5(0x24f)+_0x1f43a8);}}}}else{if(_0x35dd72){if(_0x355f93[_0x566090]!==0x1)throw new SyntaxError(_0x27b5e5(0x24f)+_0x1f43a8);_0x1014b5===-0x1?_0x1014b5=_0x1f43a8:_0x56bbcb||(_0x56bbcb=!0x0),_0x35dd72=!0x1;}else{if(_0xd8a8d5){if(_0x355f93[_0x566090]===0x1)_0x1014b5===-0x1&&(_0x1014b5=_0x1f43a8);else{if(_0x566090===0x22&&_0x1014b5!==-0x1)_0xd8a8d5=!0x1,_0x4fd3a8=_0x1f43a8;else{if(_0x566090===0x5c)_0x35dd72=!0x0;else throw new SyntaxError(_0x27b5e5(0x24f)+_0x1f43a8);}}}else{if(_0x566090===0x22&&_0x5b8dd0['charCodeAt'](_0x1f43a8-0x1)===0x3d)_0xd8a8d5=!0x0;else{if(_0x4fd3a8===-0x1&&_0x355f93[_0x566090]===0x1)_0x1014b5===-0x1&&(_0x1014b5=_0x1f43a8);else{if(_0x1014b5!==-0x1&&(_0x566090===0x20||_0x566090===0x9))_0x4fd3a8===-0x1&&(_0x4fd3a8=_0x1f43a8);else{if(_0x566090===0x3b||_0x566090===0x2c){if(_0x1014b5===-0x1)throw new SyntaxError(_0x27b5e5(0x24f)+_0x1f43a8);_0x4fd3a8===-0x1&&(_0x4fd3a8=_0x1f43a8);let _0x2ea37b=_0x5b8dd0[_0x27b5e5(0x204)](_0x1014b5,_0x4fd3a8);_0x56bbcb&&(_0x2ea37b=_0x2ea37b[_0x27b5e5(0x27c)](/\\/g,''),_0x56bbcb=!0x1),_0x1f05fc(_0x1a60d6,_0x21309a,_0x2ea37b),_0x566090===0x2c&&(_0x1f05fc(_0x453a05,_0x18efb1,_0x1a60d6),_0x1a60d6=Object['create'](null),_0x18efb1=void 0x0),_0x21309a=void 0x0,_0x1014b5=_0x4fd3a8=-0x1;}else throw new SyntaxError(_0x27b5e5(0x24f)+_0x1f43a8);}}}}}}}if(_0x1014b5===-0x1||_0xd8a8d5||_0x566090===0x20||_0x566090===0x9)throw new SyntaxError(_0x27b5e5(0x252));_0x4fd3a8===-0x1&&(_0x4fd3a8=_0x1f43a8);const _0x5794fc=_0x5b8dd0[_0x27b5e5(0x204)](_0x1014b5,_0x4fd3a8);return _0x18efb1===void 0x0?_0x1f05fc(_0x453a05,_0x5794fc,_0x1a60d6):(_0x21309a===void 0x0?_0x1f05fc(_0x1a60d6,_0x5794fc,!0x0):_0x56bbcb?_0x1f05fc(_0x1a60d6,_0x21309a,_0x5794fc[_0x27b5e5(0x27c)](/\\/g,'')):_0x1f05fc(_0x1a60d6,_0x21309a,_0x5794fc),_0x1f05fc(_0x453a05,_0x18efb1,_0x1a60d6)),_0x453a05;}function _0x5235fb(_0x24324c){const _0x3fe8ac=_0x1017;return Object['keys'](_0x24324c)[_0x3fe8ac(0x224)](_0x4cc8fd=>{const _0x446871=_0x3fe8ac;let _0x4f24fc=_0x24324c[_0x4cc8fd];return Array[_0x446871(0x27b)](_0x4f24fc)||(_0x4f24fc=[_0x4f24fc]),_0x4f24fc[_0x446871(0x224)](_0x51e3a9=>[_0x4cc8fd][_0x446871(0x14f)](Object[_0x446871(0x1dd)](_0x51e3a9)[_0x446871(0x224)](_0xe4649=>{const _0x80095a=_0x446871;let _0x4274b8=_0x51e3a9[_0xe4649];return Array[_0x80095a(0x27b)](_0x4274b8)||(_0x4274b8=[_0x4274b8]),_0x4274b8[_0x80095a(0x224)](_0x226250=>_0x226250===!0x0?_0xe4649:_0xe4649+'='+_0x226250)['join'](';\x20');}))[_0x446871(0x231)](';\x20'))[_0x446871(0x231)](',\x20');})[_0x3fe8ac(0x231)](',\x20');}return be={'format':_0x5235fb,'parse':_0x2f33cf},be;}var we,st;function Ie(){const _0x10880=_0x697e83;if(st)return we;st=0x1;const _0x10409b=_0x1b38da,_0x306c1c=_0x96cf34,_0x3be3b0=_0x3d805f,_0x480b95=_0x139d74,_0x48add8=_0x4e0e0d,{randomBytes:_0x4bc38d,createHash:_0x1c5784}=_0x178977,{Duplex:_0x57c764,Readable:_0x14c2f1}=_0x350172,{URL:_0x2644fc}=_0x19e0f6,_0x57bef0=he(),_0x4ded2a=dt(),_0x443a13=_t(),{isBlob:_0x16a3e3}=ne(),{BINARY_TYPES:_0x336e2a,EMPTY_BUFFER:_0x5a46b8,GUID:_0x19f459,kForOnEventAttribute:_0x50814a,kListener:_0x2f9d55,kStatusCode:_0x65a289,kWebSocket:_0x115fd1,NOOP:_0x59dde1}=V(),{EventTarget:{addEventListener:_0x1ce1d6,removeEventListener:_0x4e421c}}=Kt(),{format:_0x2a8dcf,parse:_0x3612bd}=pt(),{toBuffer:_0x4b1b28}=ce(),_0x4f174d=0x1e*0x3e8,_0xf99c7=Symbol('kAborted'),_0x4dd317=[0x8,0xd],_0x4ed65a=[_0x10880(0x199),_0x10880(0x28a),_0x10880(0x2ef),_0x10880(0x188)],_0x1bb2f6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2c8999 extends _0x10409b{constructor(_0x45623e,_0x50a6b3,_0x268c31){const _0x10ad97=_0x10880;super(),this[_0x10ad97(0x22c)]=_0x336e2a[0x0],this['_closeCode']=0x3ee,this[_0x10ad97(0x1ec)]=!0x1,this[_0x10ad97(0x149)]=!0x1,this['_closeMessage']=_0x5a46b8,this[_0x10ad97(0x240)]=null,this[_0x10ad97(0x1ca)]=!0x1,this[_0x10ad97(0x1bc)]={},this[_0x10ad97(0x243)]=!0x1,this['_protocol']='',this['_readyState']=_0x2c8999[_0x10ad97(0x199)],this['_receiver']=null,this['_sender']=null,this['_socket']=null,_0x45623e!==null?(this[_0x10ad97(0x1f2)]=0x0,this['_isServer']=!0x1,this[_0x10ad97(0x2bf)]=0x0,_0x50a6b3===void 0x0?_0x50a6b3=[]:Array[_0x10ad97(0x27b)](_0x50a6b3)||(typeof _0x50a6b3=='object'&&_0x50a6b3!==null?(_0x268c31=_0x50a6b3,_0x50a6b3=[]):_0x50a6b3=[_0x50a6b3]),_0x4264a6(this,_0x45623e,_0x50a6b3,_0x268c31)):(this[_0x10ad97(0x1be)]=_0x268c31[_0x10ad97(0x1ee)],this['_isServer']=!0x0);}get[_0x10880(0x186)](){const _0x34724e=_0x10880;return this[_0x34724e(0x22c)];}set['binaryType'](_0x56ecbc){const _0xf24046=_0x10880;_0x336e2a[_0xf24046(0x206)](_0x56ecbc)&&(this[_0xf24046(0x22c)]=_0x56ecbc,this['_receiver']&&(this['_receiver'][_0xf24046(0x22c)]=_0x56ecbc));}get[_0x10880(0x1a2)](){const _0x420d71=_0x10880;return this[_0x420d71(0x273)]?this['_socket'][_0x420d71(0x1fa)][_0x420d71(0x285)]+this[_0x420d71(0x191)][_0x420d71(0x2d4)]:this[_0x420d71(0x1f2)];}get[_0x10880(0x234)](){const _0xe21c59=_0x10880;return Object[_0xe21c59(0x1dd)](this['_extensions'])[_0xe21c59(0x231)]();}get[_0x10880(0x1ad)](){const _0x1d8705=_0x10880;return this[_0x1d8705(0x243)];}get[_0x10880(0x215)](){return null;}get[_0x10880(0x1fc)](){return null;}get[_0x10880(0x238)](){return null;}get[_0x10880(0x272)](){return null;}get['protocol'](){const _0x5a028a=_0x10880;return this[_0x5a028a(0x2ec)];}get[_0x10880(0x23a)](){const _0x233699=_0x10880;return this[_0x233699(0x290)];}get[_0x10880(0x259)](){const _0x4e7116=_0x10880;return this[_0x4e7116(0x228)];}[_0x10880(0x296)](_0x46b311,_0x2461a1,_0x2ab642){const _0x2633e7=_0x10880,_0x39506a=new _0x4ded2a({'allowSynchronousEvents':_0x2ab642[_0x2633e7(0x18f)],'binaryType':this[_0x2633e7(0x186)],'extensions':this[_0x2633e7(0x1bc)],'isServer':this['_isServer'],'maxPayload':_0x2ab642[_0x2633e7(0x16a)],'skipUTF8Validation':_0x2ab642[_0x2633e7(0x144)]}),_0x58f918=new _0x443a13(_0x46b311,this[_0x2633e7(0x1bc)],_0x2ab642[_0x2633e7(0x21e)]);this[_0x2633e7(0x2b6)]=_0x39506a,this[_0x2633e7(0x191)]=_0x58f918,this[_0x2633e7(0x273)]=_0x46b311,_0x39506a[_0x115fd1]=this,_0x58f918[_0x115fd1]=this,_0x46b311[_0x115fd1]=this,_0x39506a['on'](_0x2633e7(0x2ea),_0x1e526a),_0x39506a['on'](_0x2633e7(0x21a),_0x21e19f),_0x39506a['on']('error',_0x39c9c6),_0x39506a['on'](_0x2633e7(0x247),_0x4052c1),_0x39506a['on'](_0x2633e7(0x1aa),_0x10be1a),_0x39506a['on'](_0x2633e7(0x1ce),_0x27adc0),_0x58f918[_0x2633e7(0x1fc)]=_0x45ec1f,_0x46b311[_0x2633e7(0x1cf)]&&_0x46b311[_0x2633e7(0x1cf)](0x0),_0x46b311['setNoDelay']&&_0x46b311[_0x2633e7(0x1b2)](),_0x2461a1[_0x2633e7(0x285)]>0x0&&_0x46b311[_0x2633e7(0x220)](_0x2461a1),_0x46b311['on'](_0x2633e7(0x1a8),_0x512d23),_0x46b311['on'](_0x2633e7(0x181),_0x2cd268),_0x46b311['on']('end',_0x56f8bc),_0x46b311['on'](_0x2633e7(0x1e6),_0xb96ab7),this[_0x2633e7(0x290)]=_0x2c8999[_0x2633e7(0x28a)],this[_0x2633e7(0x170)]('open');}['emitClose'](){const _0x59ee18=_0x10880;if(!this[_0x59ee18(0x273)]){this[_0x59ee18(0x290)]=_0x2c8999['CLOSED'],this[_0x59ee18(0x170)](_0x59ee18(0x1a8),this['_closeCode'],this['_closeMessage']);return;}this[_0x59ee18(0x1bc)][_0x57bef0['extensionName']]&&this['_extensions'][_0x57bef0[_0x59ee18(0x17d)]][_0x59ee18(0x2d9)](),this[_0x59ee18(0x2b6)][_0x59ee18(0x22d)](),this[_0x59ee18(0x290)]=_0x2c8999[_0x59ee18(0x188)],this[_0x59ee18(0x170)]('close',this[_0x59ee18(0x1d5)],this[_0x59ee18(0x145)]);}[_0x10880(0x1a8)](_0x1e0ca4,_0x192d37){const _0x1579be=_0x10880;if(this[_0x1579be(0x23a)]!==_0x2c8999[_0x1579be(0x188)]){if(this['readyState']===_0x2c8999[_0x1579be(0x199)]){_0x201d7c(this,this[_0x1579be(0x239)],_0x1579be(0x157));return;}if(this[_0x1579be(0x23a)]===_0x2c8999[_0x1579be(0x2ef)]){this[_0x1579be(0x149)]&&(this[_0x1579be(0x1ec)]||this[_0x1579be(0x2b6)]['_writableState'][_0x1579be(0x2b5)])&&this[_0x1579be(0x273)][_0x1579be(0x2a0)]();return;}this[_0x1579be(0x290)]=_0x2c8999[_0x1579be(0x2ef)],this['_sender'][_0x1579be(0x1a8)](_0x1e0ca4,_0x192d37,!this[_0x1579be(0x15b)],_0x35bf2f=>{const _0x107f8a=_0x1579be;_0x35bf2f||(this[_0x107f8a(0x149)]=!0x0,(this['_closeFrameReceived']||this[_0x107f8a(0x2b6)]['_writableState'][_0x107f8a(0x2b5)])&&this[_0x107f8a(0x273)]['end']());}),_0x17cdb7(this);}}[_0x10880(0x2a9)](){const _0x501cfa=_0x10880;this[_0x501cfa(0x23a)]===_0x2c8999[_0x501cfa(0x199)]||this[_0x501cfa(0x23a)]===_0x2c8999[_0x501cfa(0x188)]||(this[_0x501cfa(0x243)]=!0x0,this[_0x501cfa(0x273)][_0x501cfa(0x2a9)]());}[_0x10880(0x1aa)](_0x50cf84,_0xac69de,_0x7b1b38){const _0x3e829f=_0x10880;if(this[_0x3e829f(0x23a)]===_0x2c8999['CONNECTING'])throw new Error(_0x3e829f(0x258));if(typeof _0x50cf84==_0x3e829f(0x25d)?(_0x7b1b38=_0x50cf84,_0x50cf84=_0xac69de=void 0x0):typeof _0xac69de==_0x3e829f(0x25d)&&(_0x7b1b38=_0xac69de,_0xac69de=void 0x0),typeof _0x50cf84=='number'&&(_0x50cf84=_0x50cf84[_0x3e829f(0x21d)]()),this[_0x3e829f(0x23a)]!==_0x2c8999['OPEN']){_0x4a30ab(this,_0x50cf84,_0x7b1b38);return;}_0xac69de===void 0x0&&(_0xac69de=!this[_0x3e829f(0x15b)]),this['_sender'][_0x3e829f(0x1aa)](_0x50cf84||_0x5a46b8,_0xac69de,_0x7b1b38);}[_0x10880(0x1ce)](_0x4de6e8,_0x25cdbc,_0x1cda5c){const _0x3cba37=_0x10880;if(this[_0x3cba37(0x23a)]===_0x2c8999[_0x3cba37(0x199)])throw new Error(_0x3cba37(0x258));if(typeof _0x4de6e8=='function'?(_0x1cda5c=_0x4de6e8,_0x4de6e8=_0x25cdbc=void 0x0):typeof _0x25cdbc==_0x3cba37(0x25d)&&(_0x1cda5c=_0x25cdbc,_0x25cdbc=void 0x0),typeof _0x4de6e8==_0x3cba37(0x1c6)&&(_0x4de6e8=_0x4de6e8[_0x3cba37(0x21d)]()),this[_0x3cba37(0x23a)]!==_0x2c8999[_0x3cba37(0x28a)]){_0x4a30ab(this,_0x4de6e8,_0x1cda5c);return;}_0x25cdbc===void 0x0&&(_0x25cdbc=!this[_0x3cba37(0x15b)]),this['_sender'][_0x3cba37(0x1ce)](_0x4de6e8||_0x5a46b8,_0x25cdbc,_0x1cda5c);}[_0x10880(0x166)](){const _0x4ad638=_0x10880;this[_0x4ad638(0x23a)]===_0x2c8999[_0x4ad638(0x199)]||this['readyState']===_0x2c8999[_0x4ad638(0x188)]||(this[_0x4ad638(0x243)]=!0x1,this[_0x4ad638(0x2b6)][_0x4ad638(0x1fa)]['needDrain']||this[_0x4ad638(0x273)][_0x4ad638(0x166)]());}['send'](_0x2de75e,_0x83794a,_0x2478c6){const _0xa5c249=_0x10880;if(this['readyState']===_0x2c8999[_0xa5c249(0x199)])throw new Error(_0xa5c249(0x258));if(typeof _0x83794a==_0xa5c249(0x25d)&&(_0x2478c6=_0x83794a,_0x83794a={}),typeof _0x2de75e==_0xa5c249(0x1c6)&&(_0x2de75e=_0x2de75e['toString']()),this['readyState']!==_0x2c8999[_0xa5c249(0x28a)]){_0x4a30ab(this,_0x2de75e,_0x2478c6);return;}const _0x19ae31={'binary':typeof _0x2de75e!=_0xa5c249(0x1fd),'mask':!this[_0xa5c249(0x15b)],'compress':!0x0,'fin':!0x0,..._0x83794a};this[_0xa5c249(0x1bc)][_0x57bef0['extensionName']]||(_0x19ae31['compress']=!0x1),this[_0xa5c249(0x191)][_0xa5c249(0x13f)](_0x2de75e||_0x5a46b8,_0x19ae31,_0x2478c6);}[_0x10880(0x1af)](){const _0x1fd6d0=_0x10880;if(this['readyState']!==_0x2c8999[_0x1fd6d0(0x188)]){if(this[_0x1fd6d0(0x23a)]===_0x2c8999[_0x1fd6d0(0x199)]){_0x201d7c(this,this[_0x1fd6d0(0x239)],_0x1fd6d0(0x157));return;}this[_0x1fd6d0(0x273)]&&(this[_0x1fd6d0(0x290)]=_0x2c8999[_0x1fd6d0(0x2ef)],this[_0x1fd6d0(0x273)][_0x1fd6d0(0x196)]());}}}Object[_0x10880(0x2af)](_0x2c8999,'CONNECTING',{'enumerable':!0x0,'value':_0x4ed65a['indexOf'](_0x10880(0x199))}),Object[_0x10880(0x2af)](_0x2c8999[_0x10880(0x227)],'CONNECTING',{'enumerable':!0x0,'value':_0x4ed65a[_0x10880(0x147)](_0x10880(0x199))}),Object[_0x10880(0x2af)](_0x2c8999,_0x10880(0x28a),{'enumerable':!0x0,'value':_0x4ed65a[_0x10880(0x147)](_0x10880(0x28a))}),Object['defineProperty'](_0x2c8999['prototype'],_0x10880(0x28a),{'enumerable':!0x0,'value':_0x4ed65a[_0x10880(0x147)](_0x10880(0x28a))}),Object[_0x10880(0x2af)](_0x2c8999,_0x10880(0x2ef),{'enumerable':!0x0,'value':_0x4ed65a['indexOf']('CLOSING')}),Object['defineProperty'](_0x2c8999[_0x10880(0x227)],_0x10880(0x2ef),{'enumerable':!0x0,'value':_0x4ed65a[_0x10880(0x147)]('CLOSING')}),Object['defineProperty'](_0x2c8999,'CLOSED',{'enumerable':!0x0,'value':_0x4ed65a[_0x10880(0x147)](_0x10880(0x188))}),Object[_0x10880(0x2af)](_0x2c8999[_0x10880(0x227)],_0x10880(0x188),{'enumerable':!0x0,'value':_0x4ed65a[_0x10880(0x147)](_0x10880(0x188))}),[_0x10880(0x186),_0x10880(0x1a2),_0x10880(0x234),'isPaused',_0x10880(0x1f8),_0x10880(0x23a),_0x10880(0x259)][_0x10880(0x1bd)](_0x7ec46b=>{const _0x58adab=_0x10880;Object[_0x58adab(0x2af)](_0x2c8999[_0x58adab(0x227)],_0x7ec46b,{'enumerable':!0x0});}),['open',_0x10880(0x1e6),'close',_0x10880(0x247)][_0x10880(0x1bd)](_0x54a3d2=>{Object['defineProperty'](_0x2c8999['prototype'],'on'+_0x54a3d2,{'enumerable':!0x0,'get'(){for(const _0x1e086d of this['listeners'](_0x54a3d2))if(_0x1e086d[_0x50814a])return _0x1e086d[_0x2f9d55];return null;},'set'(_0x193851){const _0xf34f3e=_0x1017;for(const _0x2f040e of this[_0xf34f3e(0x1b4)](_0x54a3d2))if(_0x2f040e[_0x50814a]){this['removeListener'](_0x54a3d2,_0x2f040e);break;}typeof _0x193851==_0xf34f3e(0x25d)&&this[_0xf34f3e(0x2b4)](_0x54a3d2,_0x193851,{[_0x50814a]:!0x0});}});}),_0x2c8999[_0x10880(0x227)]['addEventListener']=_0x1ce1d6,_0x2c8999[_0x10880(0x227)][_0x10880(0x152)]=_0x4e421c,we=_0x2c8999;function _0x4264a6(_0x409666,_0x59b941,_0x55f517,_0x5b4a7c){const _0x4efc83=_0x10880,_0x154556={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4dd317[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5b4a7c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4efc83(0x172),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x409666[_0x4efc83(0x1be)]=_0x154556['autoPong'],!_0x4dd317[_0x4efc83(0x206)](_0x154556[_0x4efc83(0x212)]))throw new RangeError(_0x4efc83(0x1db)+_0x154556['protocolVersion']+_0x4efc83(0x29e)+_0x4dd317[_0x4efc83(0x231)](',\x20')+')');let _0x48093f;if(_0x59b941 instanceof _0x2644fc)_0x48093f=_0x59b941;else try{_0x48093f=new _0x2644fc(_0x59b941);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x59b941);}_0x48093f[_0x4efc83(0x1f8)]===_0x4efc83(0x20e)?_0x48093f[_0x4efc83(0x1f8)]=_0x4efc83(0x2b7):_0x48093f[_0x4efc83(0x1f8)]===_0x4efc83(0x1e7)&&(_0x48093f[_0x4efc83(0x1f8)]=_0x4efc83(0x2e6)),_0x409666[_0x4efc83(0x228)]=_0x48093f[_0x4efc83(0x1c7)];const _0x232723=_0x48093f['protocol']===_0x4efc83(0x2e6),_0xf3d43f=_0x48093f[_0x4efc83(0x1f8)]===_0x4efc83(0x171);let _0x11a274;if(_0x48093f[_0x4efc83(0x1f8)]!==_0x4efc83(0x2b7)&&!_0x232723&&!_0xf3d43f?_0x11a274=_0x4efc83(0x15a):_0xf3d43f&&!_0x48093f[_0x4efc83(0x246)]?_0x11a274=_0x4efc83(0x194):_0x48093f[_0x4efc83(0x2bd)]&&(_0x11a274='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x11a274){const _0x4efb01=new SyntaxError(_0x11a274);if(_0x409666['_redirects']===0x0)throw _0x4efb01;_0x1e4e89(_0x409666,_0x4efb01);return;}const _0x2f5fab=_0x232723?0x1bb:0x50,_0x1febe6=_0x4bc38d(0x10)[_0x4efc83(0x21d)](_0x4efc83(0x2dc)),_0x36121b=_0x232723?_0x306c1c['request']:_0x3be3b0[_0x4efc83(0x1b3)],_0x582832=new Set();let _0x307f79;if(_0x154556[_0x4efc83(0x2da)]=_0x154556[_0x4efc83(0x2da)]||(_0x232723?_0x4c76b0:_0x5b528f),_0x154556[_0x4efc83(0x28b)]=_0x154556['defaultPort']||_0x2f5fab,_0x154556[_0x4efc83(0x18c)]=_0x48093f[_0x4efc83(0x18c)]||_0x2f5fab,_0x154556[_0x4efc83(0x1e5)]=_0x48093f['hostname'][_0x4efc83(0x1ea)]('[')?_0x48093f[_0x4efc83(0x2ed)][_0x4efc83(0x204)](0x1,-0x1):_0x48093f[_0x4efc83(0x2ed)],_0x154556[_0x4efc83(0x2a7)]={..._0x154556[_0x4efc83(0x2a7)],'Sec-WebSocket-Version':_0x154556[_0x4efc83(0x212)],'Sec-WebSocket-Key':_0x1febe6,'Connection':_0x4efc83(0x2b1),'Upgrade':'websocket'},_0x154556['path']=_0x48093f[_0x4efc83(0x246)]+_0x48093f[_0x4efc83(0x24c)],_0x154556['timeout']=_0x154556[_0x4efc83(0x250)],_0x154556[_0x4efc83(0x20a)]&&(_0x307f79=new _0x57bef0(_0x154556[_0x4efc83(0x20a)]!==!0x0?_0x154556['perMessageDeflate']:{},!0x1,_0x154556[_0x4efc83(0x16a)]),_0x154556[_0x4efc83(0x2a7)][_0x4efc83(0x297)]=_0x2a8dcf({[_0x57bef0[_0x4efc83(0x17d)]]:_0x307f79[_0x4efc83(0x287)]()})),_0x55f517['length']){for(const _0x446065 of _0x55f517){if(typeof _0x446065!=_0x4efc83(0x1fd)||!_0x1bb2f6['test'](_0x446065)||_0x582832[_0x4efc83(0x185)](_0x446065))throw new SyntaxError(_0x4efc83(0x1f9));_0x582832[_0x4efc83(0x17f)](_0x446065);}_0x154556[_0x4efc83(0x2a7)][_0x4efc83(0x277)]=_0x55f517[_0x4efc83(0x231)](',');}if(_0x154556[_0x4efc83(0x213)]&&(_0x154556[_0x4efc83(0x212)]<0xd?_0x154556[_0x4efc83(0x2a7)][_0x4efc83(0x1e4)]=_0x154556[_0x4efc83(0x213)]:_0x154556[_0x4efc83(0x2a7)][_0x4efc83(0x1cb)]=_0x154556[_0x4efc83(0x213)]),(_0x48093f[_0x4efc83(0x256)]||_0x48093f[_0x4efc83(0x1de)])&&(_0x154556[_0x4efc83(0x2e8)]=_0x48093f['username']+':'+_0x48093f[_0x4efc83(0x1de)]),_0xf3d43f){const _0x3f2994=_0x154556[_0x4efc83(0x295)][_0x4efc83(0x2cc)](':');_0x154556[_0x4efc83(0x187)]=_0x3f2994[0x0],_0x154556['path']=_0x3f2994[0x1];}let _0x41ae14;if(_0x154556['followRedirects']){if(_0x409666[_0x4efc83(0x2bf)]===0x0){_0x409666[_0x4efc83(0x24e)]=_0xf3d43f,_0x409666[_0x4efc83(0x15d)]=_0x232723,_0x409666['_originalHostOrSocketPath']=_0xf3d43f?_0x154556['socketPath']:_0x48093f[_0x4efc83(0x1e5)];const _0x29e0a3=_0x5b4a7c&&_0x5b4a7c['headers'];if(_0x5b4a7c={..._0x5b4a7c,'headers':{}},_0x29e0a3){for(const [_0x466123,_0x21d620]of Object[_0x4efc83(0x190)](_0x29e0a3))_0x5b4a7c[_0x4efc83(0x2a7)][_0x466123[_0x4efc83(0x2e3)]()]=_0x21d620;}}else{if(_0x409666[_0x4efc83(0x25c)](_0x4efc83(0x25b))===0x0){const _0x5835c1=_0xf3d43f?_0x409666[_0x4efc83(0x24e)]?_0x154556[_0x4efc83(0x187)]===_0x409666['_originalHostOrSocketPath']:!0x1:_0x409666['_originalIpc']?!0x1:_0x48093f[_0x4efc83(0x1e5)]===_0x409666[_0x4efc83(0x24a)];(!_0x5835c1||_0x409666[_0x4efc83(0x15d)]&&!_0x232723)&&(delete _0x154556[_0x4efc83(0x2a7)][_0x4efc83(0x2ab)],delete _0x154556[_0x4efc83(0x2a7)][_0x4efc83(0x27e)],_0x5835c1||delete _0x154556[_0x4efc83(0x2a7)][_0x4efc83(0x1e5)],_0x154556[_0x4efc83(0x2e8)]=void 0x0);}}_0x154556[_0x4efc83(0x2e8)]&&!_0x5b4a7c[_0x4efc83(0x2a7)][_0x4efc83(0x2ab)]&&(_0x5b4a7c[_0x4efc83(0x2a7)][_0x4efc83(0x2ab)]=_0x4efc83(0x28c)+Buffer[_0x4efc83(0x1a9)](_0x154556[_0x4efc83(0x2e8)])['toString'](_0x4efc83(0x2dc))),_0x41ae14=_0x409666[_0x4efc83(0x239)]=_0x36121b(_0x154556),_0x409666[_0x4efc83(0x2bf)]&&_0x409666[_0x4efc83(0x170)]('redirect',_0x409666['url'],_0x41ae14);}else _0x41ae14=_0x409666[_0x4efc83(0x239)]=_0x36121b(_0x154556);_0x154556[_0x4efc83(0x20c)]&&_0x41ae14['on']('timeout',()=>{const _0x2050d1=_0x4efc83;_0x201d7c(_0x409666,_0x41ae14,_0x2050d1(0x16b));}),_0x41ae14['on'](_0x4efc83(0x1e6),_0x617daf=>{const _0x5ce355=_0x4efc83;_0x41ae14===null||_0x41ae14[_0xf99c7]||(_0x41ae14=_0x409666[_0x5ce355(0x239)]=null,_0x1e4e89(_0x409666,_0x617daf));}),_0x41ae14['on'](_0x4efc83(0x260),_0x5951f0=>{const _0x2ea502=_0x4efc83,_0x53d4db=_0x5951f0['headers'][_0x2ea502(0x26c)],_0x101e97=_0x5951f0[_0x2ea502(0x2d1)];if(_0x53d4db&&_0x154556['followRedirects']&&_0x101e97>=0x12c&&_0x101e97<0x190){if(++_0x409666[_0x2ea502(0x2bf)]>_0x154556['maxRedirects']){_0x201d7c(_0x409666,_0x41ae14,_0x2ea502(0x14e));return;}_0x41ae14[_0x2ea502(0x141)]();let _0x7c0630;try{_0x7c0630=new _0x2644fc(_0x53d4db,_0x59b941);}catch{const _0x50744c=new SyntaxError(_0x2ea502(0x2a5)+_0x53d4db);_0x1e4e89(_0x409666,_0x50744c);return;}_0x4264a6(_0x409666,_0x7c0630,_0x55f517,_0x5b4a7c);}else _0x409666['emit'](_0x2ea502(0x156),_0x41ae14,_0x5951f0)||_0x201d7c(_0x409666,_0x41ae14,_0x2ea502(0x1c4)+_0x5951f0[_0x2ea502(0x2d1)]);}),_0x41ae14['on']('upgrade',(_0x4d8b3c,_0x4ae2ef,_0x523698)=>{const _0xf47a82=_0x4efc83;if(_0x409666['emit'](_0xf47a82(0x1ed),_0x4d8b3c),_0x409666['readyState']!==_0x2c8999[_0xf47a82(0x199)])return;_0x41ae14=_0x409666[_0xf47a82(0x239)]=null;const _0x59e865=_0x4d8b3c['headers']['upgrade'];if(_0x59e865===void 0x0||_0x59e865['toLowerCase']()!=='websocket'){_0x201d7c(_0x409666,_0x4ae2ef,'Invalid\x20Upgrade\x20header');return;}const _0x565ec0=_0x1c5784(_0xf47a82(0x2ae))['update'](_0x1febe6+_0x19f459)[_0xf47a82(0x23e)](_0xf47a82(0x2dc));if(_0x4d8b3c['headers'][_0xf47a82(0x298)]!==_0x565ec0){_0x201d7c(_0x409666,_0x4ae2ef,_0xf47a82(0x142));return;}const _0x45b3ff=_0x4d8b3c[_0xf47a82(0x2a7)][_0xf47a82(0x1b6)];let _0x3b0665;if(_0x45b3ff!==void 0x0?_0x582832[_0xf47a82(0x17c)]?_0x582832[_0xf47a82(0x185)](_0x45b3ff)||(_0x3b0665=_0xf47a82(0x2ce)):_0x3b0665='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x582832['size']&&(_0x3b0665=_0xf47a82(0x169)),_0x3b0665){_0x201d7c(_0x409666,_0x4ae2ef,_0x3b0665);return;}_0x45b3ff&&(_0x409666[_0xf47a82(0x2ec)]=_0x45b3ff);const _0x27b614=_0x4d8b3c['headers']['sec-websocket-extensions'];if(_0x27b614!==void 0x0){if(!_0x307f79){_0x201d7c(_0x409666,_0x4ae2ef,_0xf47a82(0x179));return;}let _0x1bd3cf;try{_0x1bd3cf=_0x3612bd(_0x27b614);}catch{_0x201d7c(_0x409666,_0x4ae2ef,_0xf47a82(0x265));return;}const _0x2077f2=Object[_0xf47a82(0x1dd)](_0x1bd3cf);if(_0x2077f2['length']!==0x1||_0x2077f2[0x0]!==_0x57bef0[_0xf47a82(0x17d)]){_0x201d7c(_0x409666,_0x4ae2ef,_0xf47a82(0x1c9));return;}try{_0x307f79[_0xf47a82(0x19a)](_0x1bd3cf[_0x57bef0['extensionName']]);}catch{_0x201d7c(_0x409666,_0x4ae2ef,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x409666[_0xf47a82(0x1bc)][_0x57bef0[_0xf47a82(0x17d)]]=_0x307f79;}_0x409666['setSocket'](_0x4ae2ef,_0x523698,{'allowSynchronousEvents':_0x154556[_0xf47a82(0x18f)],'generateMask':_0x154556[_0xf47a82(0x21e)],'maxPayload':_0x154556[_0xf47a82(0x16a)],'skipUTF8Validation':_0x154556[_0xf47a82(0x144)]});}),_0x154556[_0x4efc83(0x207)]?_0x154556['finishRequest'](_0x41ae14,_0x409666):_0x41ae14[_0x4efc83(0x2a0)]();}function _0x1e4e89(_0x5b2936,_0x2f62b6){const _0x58004a=_0x10880;_0x5b2936[_0x58004a(0x290)]=_0x2c8999[_0x58004a(0x2ef)],_0x5b2936[_0x58004a(0x1ca)]=!0x0,_0x5b2936[_0x58004a(0x170)](_0x58004a(0x1e6),_0x2f62b6),_0x5b2936[_0x58004a(0x2b9)]();}function _0x5b528f(_0x230f91){const _0x46f289=_0x10880;return _0x230f91[_0x46f289(0x295)]=_0x230f91[_0x46f289(0x187)],_0x480b95[_0x46f289(0x216)](_0x230f91);}function _0x4c76b0(_0x49024f){const _0x575ba7=_0x10880;return _0x49024f[_0x575ba7(0x295)]=void 0x0,!_0x49024f['servername']&&_0x49024f[_0x575ba7(0x160)]!==''&&(_0x49024f[_0x575ba7(0x160)]=_0x480b95[_0x575ba7(0x2d2)](_0x49024f[_0x575ba7(0x1e5)])?'':_0x49024f['host']),_0x48add8['connect'](_0x49024f);}function _0x201d7c(_0x3c0754,_0x573f35,_0x5047a4){const _0x8eace3=_0x10880;_0x3c0754['_readyState']=_0x2c8999[_0x8eace3(0x2ef)];const _0x2e1ecb=new Error(_0x5047a4);Error['captureStackTrace'](_0x2e1ecb,_0x201d7c),_0x573f35['setHeader']?(_0x573f35[_0xf99c7]=!0x0,_0x573f35[_0x8eace3(0x141)](),_0x573f35[_0x8eace3(0x235)]&&!_0x573f35[_0x8eace3(0x235)][_0x8eace3(0x178)]&&_0x573f35['socket'][_0x8eace3(0x196)](),process['nextTick'](_0x1e4e89,_0x3c0754,_0x2e1ecb)):(_0x573f35[_0x8eace3(0x196)](_0x2e1ecb),_0x573f35[_0x8eace3(0x2eb)]('error',_0x3c0754['emit'][_0x8eace3(0x237)](_0x3c0754,_0x8eace3(0x1e6))),_0x573f35[_0x8eace3(0x2eb)](_0x8eace3(0x1a8),_0x3c0754[_0x8eace3(0x2b9)]['bind'](_0x3c0754)));}function _0x4a30ab(_0x15ef13,_0x310bc6,_0x1a98d2){const _0x263a9d=_0x10880;if(_0x310bc6){const _0x3693eb=_0x16a3e3(_0x310bc6)?_0x310bc6[_0x263a9d(0x17c)]:_0x4b1b28(_0x310bc6)[_0x263a9d(0x285)];_0x15ef13['_socket']?_0x15ef13[_0x263a9d(0x191)][_0x263a9d(0x2d4)]+=_0x3693eb:_0x15ef13[_0x263a9d(0x1f2)]+=_0x3693eb;}if(_0x1a98d2){const _0x5b0400=new Error(_0x263a9d(0x263)+_0x15ef13[_0x263a9d(0x23a)]+'\x20('+_0x4ed65a[_0x15ef13['readyState']]+')');process[_0x263a9d(0x1a7)](_0x1a98d2,_0x5b0400);}}function _0x1e526a(_0xd3d118,_0xe86ac6){const _0x5ae8ff=_0x10880,_0x286b07=this[_0x115fd1];_0x286b07[_0x5ae8ff(0x1ec)]=!0x0,_0x286b07[_0x5ae8ff(0x145)]=_0xe86ac6,_0x286b07[_0x5ae8ff(0x1d5)]=_0xd3d118,_0x286b07[_0x5ae8ff(0x273)][_0x115fd1]!==void 0x0&&(_0x286b07[_0x5ae8ff(0x273)][_0x5ae8ff(0x267)](_0x5ae8ff(0x181),_0x2cd268),process[_0x5ae8ff(0x1a7)](_0x245c76,_0x286b07[_0x5ae8ff(0x273)]),_0xd3d118===0x3ed?_0x286b07['close']():_0x286b07[_0x5ae8ff(0x1a8)](_0xd3d118,_0xe86ac6));}function _0x21e19f(){const _0x5018a3=_0x10880,_0x3e6316=this[_0x115fd1];_0x3e6316[_0x5018a3(0x1ad)]||_0x3e6316[_0x5018a3(0x273)][_0x5018a3(0x166)]();}function _0x39c9c6(_0x1ed93e){const _0x33a2dd=_0x10880,_0x51e93e=this[_0x115fd1];_0x51e93e['_socket'][_0x115fd1]!==void 0x0&&(_0x51e93e[_0x33a2dd(0x273)][_0x33a2dd(0x267)](_0x33a2dd(0x181),_0x2cd268),process[_0x33a2dd(0x1a7)](_0x245c76,_0x51e93e[_0x33a2dd(0x273)]),_0x51e93e[_0x33a2dd(0x1a8)](_0x1ed93e[_0x65a289])),_0x51e93e[_0x33a2dd(0x1ca)]||(_0x51e93e[_0x33a2dd(0x1ca)]=!0x0,_0x51e93e['emit'](_0x33a2dd(0x1e6),_0x1ed93e));}function _0x1bb7cf(){this[_0x115fd1]['emitClose']();}function _0x4052c1(_0x4712eb,_0x2ee341){const _0x408b69=_0x10880;this[_0x115fd1][_0x408b69(0x170)]('message',_0x4712eb,_0x2ee341);}function _0x10be1a(_0x15150e){const _0x542981=_0x10880,_0x1bf67d=this[_0x115fd1];_0x1bf67d[_0x542981(0x1be)]&&_0x1bf67d['pong'](_0x15150e,!this[_0x542981(0x15b)],_0x59dde1),_0x1bf67d[_0x542981(0x170)](_0x542981(0x1aa),_0x15150e);}function _0x27adc0(_0x1bca1c){const _0x2d0ee0=_0x10880;this[_0x115fd1][_0x2d0ee0(0x170)](_0x2d0ee0(0x1ce),_0x1bca1c);}function _0x245c76(_0x2a30b9){_0x2a30b9['resume']();}function _0x45ec1f(_0x558303){const _0x32fd59=_0x10880,_0x172b5c=this[_0x115fd1];_0x172b5c[_0x32fd59(0x23a)]!==_0x2c8999[_0x32fd59(0x188)]&&(_0x172b5c[_0x32fd59(0x23a)]===_0x2c8999['OPEN']&&(_0x172b5c[_0x32fd59(0x290)]=_0x2c8999[_0x32fd59(0x2ef)],_0x17cdb7(_0x172b5c)),this[_0x32fd59(0x273)][_0x32fd59(0x2a0)](),_0x172b5c['_errorEmitted']||(_0x172b5c[_0x32fd59(0x1ca)]=!0x0,_0x172b5c['emit'](_0x32fd59(0x1e6),_0x558303)));}function _0x17cdb7(_0x5392e9){const _0x28d870=_0x10880;_0x5392e9['_closeTimer']=setTimeout(_0x5392e9['_socket'][_0x28d870(0x196)][_0x28d870(0x237)](_0x5392e9[_0x28d870(0x273)]),_0x4f174d);}function _0x512d23(){const _0x51d2cf=_0x10880,_0x20a6f6=this[_0x115fd1];this[_0x51d2cf(0x267)](_0x51d2cf(0x1a8),_0x512d23),this[_0x51d2cf(0x267)](_0x51d2cf(0x181),_0x2cd268),this['removeListener'](_0x51d2cf(0x2a0),_0x56f8bc),_0x20a6f6[_0x51d2cf(0x290)]=_0x2c8999[_0x51d2cf(0x2ef)];let _0x459752;!this['_readableState']['endEmitted']&&!_0x20a6f6[_0x51d2cf(0x1ec)]&&!_0x20a6f6[_0x51d2cf(0x2b6)][_0x51d2cf(0x1fa)][_0x51d2cf(0x2b5)]&&(_0x459752=_0x20a6f6['_socket']['read']())!==null&&_0x20a6f6[_0x51d2cf(0x2b6)][_0x51d2cf(0x1ae)](_0x459752),_0x20a6f6['_receiver'][_0x51d2cf(0x2a0)](),this[_0x115fd1]=void 0x0,clearTimeout(_0x20a6f6[_0x51d2cf(0x240)]),_0x20a6f6['_receiver'][_0x51d2cf(0x1fa)]['finished']||_0x20a6f6[_0x51d2cf(0x2b6)][_0x51d2cf(0x1fa)][_0x51d2cf(0x2b5)]?_0x20a6f6[_0x51d2cf(0x2b9)]():(_0x20a6f6['_receiver']['on'](_0x51d2cf(0x1e6),_0x1bb7cf),_0x20a6f6['_receiver']['on'](_0x51d2cf(0x201),_0x1bb7cf));}function _0x2cd268(_0x3f9cfc){const _0x47f31b=_0x10880;this[_0x115fd1][_0x47f31b(0x2b6)][_0x47f31b(0x1ae)](_0x3f9cfc)||this['pause']();}function _0x56f8bc(){const _0x33d183=_0x10880,_0x10fe61=this[_0x115fd1];_0x10fe61['_readyState']=_0x2c8999[_0x33d183(0x2ef)],_0x10fe61[_0x33d183(0x2b6)][_0x33d183(0x2a0)](),this[_0x33d183(0x2a0)]();}function _0xb96ab7(){const _0xbe127c=_0x10880,_0x288b90=this[_0x115fd1];this[_0xbe127c(0x267)](_0xbe127c(0x1e6),_0xb96ab7),this['on'](_0xbe127c(0x1e6),_0x59dde1),_0x288b90&&(_0x288b90['_readyState']=_0x2c8999[_0xbe127c(0x2ef)],this[_0xbe127c(0x196)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xfcce32}=_0x350172;function _0x350441(_0x184276){const _0x463740=_0x1017;_0x184276[_0x463740(0x170)]('close');}function _0x193033(){const _0x9a34d8=_0x1017;!this['destroyed']&&this[_0x9a34d8(0x1fa)][_0x9a34d8(0x1f6)]&&this[_0x9a34d8(0x196)]();}function _0x1a8396(_0x2a5197){const _0x24d781=_0x1017;this['removeListener'](_0x24d781(0x1e6),_0x1a8396),this[_0x24d781(0x196)](),this[_0x24d781(0x25c)](_0x24d781(0x1e6))===0x0&&this[_0x24d781(0x170)]('error',_0x2a5197);}function _0x442cc4(_0x5ff6a2,_0x4585c1){const _0x4abddb=_0x1017;let _0x2320f0=!0x0;const _0x14422d=new _0xfcce32({..._0x4585c1,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5ff6a2['on']('message',function(_0xce0180,_0x32b35f){const _0x37044a=_0x1017,_0x49d53e=!_0x32b35f&&_0x14422d[_0x37044a(0x15c)]['objectMode']?_0xce0180['toString']():_0xce0180;_0x14422d[_0x37044a(0x1cc)](_0x49d53e)||_0x5ff6a2[_0x37044a(0x2a9)]();}),_0x5ff6a2['once'](_0x4abddb(0x1e6),function(_0x1701ff){const _0x5cb25f=_0x4abddb;_0x14422d[_0x5cb25f(0x178)]||(_0x2320f0=!0x1,_0x14422d[_0x5cb25f(0x196)](_0x1701ff));}),_0x5ff6a2[_0x4abddb(0x2eb)](_0x4abddb(0x1a8),function(){const _0x448b53=_0x4abddb;_0x14422d[_0x448b53(0x178)]||_0x14422d[_0x448b53(0x1cc)](null);}),_0x14422d[_0x4abddb(0x268)]=function(_0xaa19d3,_0x5c4b45){const _0x36d45e=_0x4abddb;if(_0x5ff6a2['readyState']===_0x5ff6a2[_0x36d45e(0x188)]){_0x5c4b45(_0xaa19d3),process['nextTick'](_0x350441,_0x14422d);return;}let _0x1e0080=!0x1;_0x5ff6a2[_0x36d45e(0x2eb)](_0x36d45e(0x1e6),function(_0x35b763){_0x1e0080=!0x0,_0x5c4b45(_0x35b763);}),_0x5ff6a2[_0x36d45e(0x2eb)]('close',function(){const _0x7289b=_0x36d45e;_0x1e0080||_0x5c4b45(_0xaa19d3),process[_0x7289b(0x1a7)](_0x350441,_0x14422d);}),_0x2320f0&&_0x5ff6a2['terminate']();},_0x14422d['_final']=function(_0xa06cf){const _0x41ecf0=_0x4abddb;if(_0x5ff6a2[_0x41ecf0(0x23a)]===_0x5ff6a2[_0x41ecf0(0x199)]){_0x5ff6a2[_0x41ecf0(0x2eb)](_0x41ecf0(0x27d),function(){const _0x487f13=_0x41ecf0;_0x14422d[_0x487f13(0x289)](_0xa06cf);});return;}_0x5ff6a2['_socket']!==null&&(_0x5ff6a2[_0x41ecf0(0x273)][_0x41ecf0(0x1fa)]['finished']?(_0xa06cf(),_0x14422d[_0x41ecf0(0x15c)][_0x41ecf0(0x2b3)]&&_0x14422d['destroy']()):(_0x5ff6a2['_socket'][_0x41ecf0(0x2eb)]('finish',function(){_0xa06cf();}),_0x5ff6a2[_0x41ecf0(0x1a8)]()));},_0x14422d[_0x4abddb(0x269)]=function(){const _0x3efc2e=_0x4abddb;_0x5ff6a2['isPaused']&&_0x5ff6a2[_0x3efc2e(0x166)]();},_0x14422d['_write']=function(_0x25b4e0,_0xfd13c9,_0xb3f349){const _0x45be36=_0x4abddb;if(_0x5ff6a2[_0x45be36(0x23a)]===_0x5ff6a2['CONNECTING']){_0x5ff6a2[_0x45be36(0x2eb)](_0x45be36(0x27d),function(){_0x14422d['_write'](_0x25b4e0,_0xfd13c9,_0xb3f349);});return;}_0x5ff6a2[_0x45be36(0x13f)](_0x25b4e0,_0xb3f349);},_0x14422d['on'](_0x4abddb(0x2a0),_0x193033),_0x14422d['on']('error',_0x1a8396),_0x14422d;}return Oe=_0x442cc4,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);function _0x241e(){const _0x48c5fb=['_messageLength','response','consume','target','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_options','Invalid\x20Sec-WebSocket-Extensions\x20header','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','removeListener','_destroy','_read','get','call','location','_server','Module','4XRBmbT','_registerDependencies','_fragments','onmessage','_socket','wsClientError','find','_fragmented','Sec-WebSocket-Protocol','WS_ERR_INVALID_UTF8','Invalid\x20Upgrade\x20header','_doCreateSocket','isArray','replace','open','cookie','_no_context_takeover','createError','_opcode','connection','2101910YTlfXR','jobs','length','verifyClient','offer','default','_final','OPEN','defaultPort','Basic\x20','\x22\x20must\x20have\x20only\x20a\x20single\x20value','parse','_threshold','_readyState','zlibDeflateOptions','invalid\x20opcode\x20','sendFrame','dispose','path','setSocket','Sec-WebSocket-Extensions','sec-websocket-accept','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','invalid\x20status\x20code\x20','server_no_context_takeover','listen','kData','\x20(supported\x20versions:\x20','client_no_context_takeover','end','_deflate','customHeaders','reason','noServer','Invalid\x20URL:\x20','kTarget','headers','code','pause','WS_NO_UTF_8_VALIDATE','authorization','buffer','fragments','sha1','defineProperty','haveLength','Upgrade','permessage-deflate','endEmitted','addEventListener','errorEmitted','_receiver','ws:','_buffers','emitClose','status-code','decompress','Sec-WebSocket-Accept:\x20','hash','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_redirects','getData','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','kReason','WS_NO_BUFFER_UTIL','pluginName','kError','constructor','arrayBuffer','invalid\x20payload\x20length\x20','getConfig','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','invalid\x20UTF-8\x20sequence','split','_errored','Server\x20sent\x20an\x20invalid\x20subprotocol','delete','HTTP/1.1\x20','statusCode','isIP','serverMaxWindowBits','_bufferedBytes','_maxPayload','hasOwnProperty','reset','websocket','cleanup','createConnection','_masked','base64','Blob','RSV1\x20must\x20be\x20clear','arraybuffer','invalid\x20opcode\x200','FIN\x20must\x20be\x20set','set','toLowerCase','onStarting','kMessage','wss:','createInflateRaw','auth','_queue','conclude','once','_protocol','hostname','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','CLOSING','Invalid\x20Sec-WebSocket-Protocol\x20header','isBuffer','_write','collaboration-client-node.config','send','kByteLength','abort','Invalid\x20Sec-WebSocket-Accept\x20header','byteOffset','skipUTF8Validation','_closeMessage','clients','indexOf','create','_closeFrameSent','The\x20\x22','writeUInt16BE','kRun','_state','Maximum\x20redirects\x20exceeded','concat','pending','clientMaxWindowBits','removeEventListener','type','params','Unknown\x20parameter\x20\x22','unexpected-response','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','compress','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','_isServer','_readableState','_originalSecure','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','6414340QVTcah','servername','stream','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','getOwnPropertyDescriptor','text/html','File','resume','listening','__esModule','Server\x20sent\x20no\x20subprotocol','maxPayload','Opening\x20handshake\x20has\x20timed\x20out','_configService','460901wtQiOJ','_skipUTF8Validation','_generateMask','emit','ws+unix:','GET','shift','Invalid\x20value\x20for\x20parameter\x20\x22','dispatch','1772316ExNoHA','dequeue','destroyed','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','normalizeParams','handleEvent','size','extensionName','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','add','client','data','Z_SYNC_FLUSH','next','wasClean','has','binaryType','socketPath','CLOSED','text/plain','threshold','readOnly','port','kIsForOnEventAttribute','pipe','allowSynchronousEvents','entries','_sender','kListener','mask','The\x20URL\x27s\x20pathname\x20is\x20empty','kType','destroy','createSocket','8rZZlwS','CONNECTING','accept','uncork','\x22:\x20','encrypted','getMask','writable','serverNoContextTakeover','_fin','bufferedAmount','_totalPayloadLength','_maskBuffer','then','_compress','nextTick','close','from','ping','concurrencyLimit','server','isPaused','write','terminate','address','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','setNoDelay','request','listeners','_shouldEmitClose','sec-websocket-protocol','dataMessage','isInteger','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_firstFragment','authorized','_extensions','forEach','_autoPong','_payloadLength','HTTP/1.1\x20101\x20Switching\x20Protocols','sec-websocket-version','getInfo','client_max_window_bits','Unexpected\x20server\x20response:\x20','Invalid\x20HTTP\x20method','number','href','opcode','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_errorEmitted','Origin','push','acceptAsServer','pong','setTimeout','Invalid\x20WebSocket\x20frame:\x20','nodebuffer','_mask','unmask','frame','_closeCode','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','enqueue','Connection:\x20Upgrade','maskBuffer','Z_DEFAULT_WINDOWBITS','Unsupported\x20protocol\x20version:\x20','test','keys','password','warn','_decompress','flush','_inflate','Max\x20payload\x20size\x20exceeded','Sec-WebSocket-Origin','host','error','https:','charCodeAt','method','startsWith','allocUnsafe','_closeFrameReceived','upgrade','autoPong','getPayloadLength16','handleUpgrade','Upgrade:\x20websocket','_bufferedAmount','_compressed','setConfig','blob','finished','completeUpgrade','protocol','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_writableState','WS_ERR_EXPECTED_FIN','onerror','string','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_max_window_bits','exports','finish','getPayloadLength64','36jAgqIL','slice','values','includes','finishRequest','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','cork','perMessageDeflate','2364927kECdMg','timeout','callback','http:','fin','readUInt16BE','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','protocolVersion','origin','182350sKbMBZ','onclose','connect','createServer','WS_ERR_INVALID_OPCODE','sec-websocket-key','drain','WS_ERR_INVALID_CLOSE_CODE','Sec-WebSocket-Extensions:\x20','toString','generateMask','Sec-WebSocket-Protocol:\x20','unshift','_loop','options','STATUS_CODES','map','kDone','catch','prototype','_url','byteLength','object','\x0d\x0a\x0d\x0a','_binaryType','removeAllListeners','getBlobData','_injector','zlibInflateOptions','join','WebSocket','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','extensions','socket','shouldHandle','bind','onopen','_req','readyState','species','sec-websocket-extensions','toStringTag','digest','WS_ERR_UNEXPECTED_RSV_1','_closeTimer','apply','_allowSynchronousEvents','_paused','sec-websocket-origin','alloc','pathname','message','freeze','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_originalHostOrSocketPath','_removeListeners','search','buffers','_originalIpc','Unexpected\x20character\x20at\x20index\x20','handshakeTimeout','1551752KoUwKJ','Unexpected\x20end\x20of\x20input','value','readUInt32BE','startLoop','username','controlMessage','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','url','WS_ERR_EXPECTED_MASK','redirect','listenerCount','function','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read'];_0x241e=function(){return _0x48c5fb;};return _0x241e();}var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x124974}=ne();function _0x36fc3b(_0x392156){const _0x165c2f=_0x1017,_0x235e24=new Set();let _0x284491=-0x1,_0x5a2b8b=-0x1,_0x4afef8=0x0;for(_0x4afef8;_0x4afef8<_0x392156[_0x165c2f(0x285)];_0x4afef8++){const _0x15533e=_0x392156[_0x165c2f(0x1e8)](_0x4afef8);if(_0x5a2b8b===-0x1&&_0x124974[_0x15533e]===0x1)_0x284491===-0x1&&(_0x284491=_0x4afef8);else{if(_0x4afef8!==0x0&&(_0x15533e===0x20||_0x15533e===0x9))_0x5a2b8b===-0x1&&_0x284491!==-0x1&&(_0x5a2b8b=_0x4afef8);else{if(_0x15533e===0x2c){if(_0x284491===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4afef8);_0x5a2b8b===-0x1&&(_0x5a2b8b=_0x4afef8);const _0xf66210=_0x392156[_0x165c2f(0x204)](_0x284491,_0x5a2b8b);if(_0x235e24['has'](_0xf66210))throw new SyntaxError(_0x165c2f(0x14a)+_0xf66210+'\x22\x20subprotocol\x20is\x20duplicated');_0x235e24['add'](_0xf66210),_0x284491=_0x5a2b8b=-0x1;}else throw new SyntaxError(_0x165c2f(0x24f)+_0x4afef8);}}}if(_0x284491===-0x1||_0x5a2b8b!==-0x1)throw new SyntaxError(_0x165c2f(0x252));const _0x9fb93e=_0x392156[_0x165c2f(0x204)](_0x284491,_0x4afef8);if(_0x235e24[_0x165c2f(0x185)](_0x9fb93e))throw new SyntaxError('The\x20\x22'+_0x9fb93e+'\x22\x20subprotocol\x20is\x20duplicated');return _0x235e24[_0x165c2f(0x17f)](_0x9fb93e),_0x235e24;}return Ce={'parse':_0x36fc3b},Ce;}var Te,ot;function er(){const _0x1dbd2c=_0x697e83;if(ot)return Te;ot=0x1;const _0x18314e=_0x1b38da,_0x1ad653=_0x3d805f,{Duplex:_0x29bbcf}=_0x350172,{createHash:_0x313732}=_0x178977,_0x4656d5=pt(),_0xdf6467=he(),_0xcf951a=Jt(),_0x31a571=Ie(),{GUID:_0x411108,kWebSocket:_0x141cb2}=V(),_0x4cfd62=/^[+/0-9A-Za-z]{22}==$/,_0x3255f1=0x0,_0x13617f=0x1,_0x2453e2=0x2;class _0x2f6626 extends _0x18314e{constructor(_0x47cdb8,_0x3782b8){const _0x5d7cd7=_0x1017;if(super(),_0x47cdb8={'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':_0x31a571,..._0x47cdb8},_0x47cdb8[_0x5d7cd7(0x18c)]==null&&!_0x47cdb8[_0x5d7cd7(0x1ac)]&&!_0x47cdb8[_0x5d7cd7(0x2a4)]||_0x47cdb8['port']!=null&&(_0x47cdb8[_0x5d7cd7(0x1ac)]||_0x47cdb8['noServer'])||_0x47cdb8[_0x5d7cd7(0x1ac)]&&_0x47cdb8['noServer'])throw new TypeError(_0x5d7cd7(0x208));if(_0x47cdb8['port']!=null?(this[_0x5d7cd7(0x26d)]=_0x1ad653[_0x5d7cd7(0x217)]((_0x1cd740,_0x320089)=>{const _0x848237=_0x5d7cd7,_0x44dc7d=_0x1ad653[_0x848237(0x223)][0x1aa];_0x320089['writeHead'](0x1aa,{'Content-Length':_0x44dc7d['length'],'Content-Type':_0x848237(0x189)}),_0x320089[_0x848237(0x2a0)](_0x44dc7d);}),this['_server'][_0x5d7cd7(0x29c)](_0x47cdb8['port'],_0x47cdb8['host'],_0x47cdb8['backlog'],_0x3782b8)):_0x47cdb8[_0x5d7cd7(0x1ac)]&&(this[_0x5d7cd7(0x26d)]=_0x47cdb8['server']),this[_0x5d7cd7(0x26d)]){const _0x578eeb=this['emit'][_0x5d7cd7(0x237)](this,_0x5d7cd7(0x282));this[_0x5d7cd7(0x24b)]=_0x2fdd35(this[_0x5d7cd7(0x26d)],{'listening':this[_0x5d7cd7(0x170)]['bind'](this,_0x5d7cd7(0x167)),'error':this[_0x5d7cd7(0x170)][_0x5d7cd7(0x237)](this,_0x5d7cd7(0x1e6)),'upgrade':(_0x4b41b3,_0x3be448,_0x47f524)=>{const _0x386371=_0x5d7cd7;this[_0x386371(0x1f0)](_0x4b41b3,_0x3be448,_0x47f524,_0x578eeb);}});}_0x47cdb8[_0x5d7cd7(0x20a)]===!0x0&&(_0x47cdb8[_0x5d7cd7(0x20a)]={}),_0x47cdb8['clientTracking']&&(this[_0x5d7cd7(0x146)]=new Set(),this[_0x5d7cd7(0x1b5)]=!0x1),this[_0x5d7cd7(0x222)]=_0x47cdb8,this[_0x5d7cd7(0x14d)]=_0x3255f1;}[_0x1dbd2c(0x1b0)](){const _0x1198d2=_0x1dbd2c;if(this[_0x1198d2(0x222)][_0x1198d2(0x2a4)])throw new Error(_0x1198d2(0x211));return this['_server']?this[_0x1198d2(0x26d)][_0x1198d2(0x1b0)]():null;}['close'](_0x2ec9b0){const _0x2e0890=_0x1dbd2c;if(this['_state']===_0x2453e2){_0x2ec9b0&&this[_0x2e0890(0x2eb)]('close',()=>{_0x2ec9b0(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2e0890(0x1a7)](_0x15ec39,this);return;}if(_0x2ec9b0&&this['once'](_0x2e0890(0x1a8),_0x2ec9b0),this['_state']!==_0x13617f){if(this[_0x2e0890(0x14d)]=_0x13617f,this[_0x2e0890(0x222)][_0x2e0890(0x2a4)]||this[_0x2e0890(0x222)][_0x2e0890(0x1ac)])this[_0x2e0890(0x26d)]&&(this[_0x2e0890(0x24b)](),this[_0x2e0890(0x24b)]=this[_0x2e0890(0x26d)]=null),this[_0x2e0890(0x146)]?this[_0x2e0890(0x146)]['size']?this[_0x2e0890(0x1b5)]=!0x0:process['nextTick'](_0x15ec39,this):process[_0x2e0890(0x1a7)](_0x15ec39,this);else{const _0x414f78=this[_0x2e0890(0x26d)];this[_0x2e0890(0x24b)](),this['_removeListeners']=this[_0x2e0890(0x26d)]=null,_0x414f78[_0x2e0890(0x1a8)](()=>{_0x15ec39(this);});}}}[_0x1dbd2c(0x236)](_0x26ce66){const _0x49dee0=_0x1dbd2c;if(this['options']['path']){const _0x283d66=_0x26ce66['url'][_0x49dee0(0x147)]('?');if((_0x283d66!==-0x1?_0x26ce66['url'][_0x49dee0(0x204)](0x0,_0x283d66):_0x26ce66[_0x49dee0(0x259)])!==this[_0x49dee0(0x222)][_0x49dee0(0x295)])return!0x1;}return!0x0;}[_0x1dbd2c(0x1f0)](_0x43c9c8,_0x236618,_0x427fdb,_0x1797b5){const _0x2e57c0=_0x1dbd2c;_0x236618['on'](_0x2e57c0(0x1e6),_0x15be97);const _0x47cd49=_0x43c9c8['headers'][_0x2e57c0(0x219)],_0x564342=_0x43c9c8[_0x2e57c0(0x2a7)]['upgrade'],_0x1e10fd=+_0x43c9c8[_0x2e57c0(0x2a7)][_0x2e57c0(0x1c1)];if(_0x43c9c8[_0x2e57c0(0x1e9)]!==_0x2e57c0(0x172)){_0x560961(this,_0x43c9c8,_0x236618,0x195,_0x2e57c0(0x1c5));return;}if(_0x564342===void 0x0||_0x564342['toLowerCase']()!==_0x2e57c0(0x2d8)){_0x560961(this,_0x43c9c8,_0x236618,0x190,_0x2e57c0(0x279));return;}if(_0x47cd49===void 0x0||!_0x4cfd62[_0x2e57c0(0x1dc)](_0x47cd49)){_0x560961(this,_0x43c9c8,_0x236618,0x190,_0x2e57c0(0x1b9));return;}if(_0x1e10fd!==0x8&&_0x1e10fd!==0xd){_0x560961(this,_0x43c9c8,_0x236618,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x2e57c0(0x236)](_0x43c9c8)){_0x19c090(_0x236618,0x190);return;}const _0xc2af6e=_0x43c9c8[_0x2e57c0(0x2a7)]['sec-websocket-protocol'];let _0xb2c6bd=new Set();if(_0xc2af6e!==void 0x0)try{_0xb2c6bd=_0xcf951a[_0x2e57c0(0x28e)](_0xc2af6e);}catch{_0x560961(this,_0x43c9c8,_0x236618,0x190,_0x2e57c0(0x13b));return;}const _0x1f13c4=_0x43c9c8[_0x2e57c0(0x2a7)][_0x2e57c0(0x23c)],_0x2ebed0={};if(this[_0x2e57c0(0x222)][_0x2e57c0(0x20a)]&&_0x1f13c4!==void 0x0){const _0x377b43=new _0xdf6467(this[_0x2e57c0(0x222)][_0x2e57c0(0x20a)],!0x0,this['options'][_0x2e57c0(0x16a)]);try{const _0x2bbbc7=_0x4656d5[_0x2e57c0(0x28e)](_0x1f13c4);_0x2bbbc7[_0xdf6467[_0x2e57c0(0x17d)]]&&(_0x377b43['accept'](_0x2bbbc7[_0xdf6467[_0x2e57c0(0x17d)]]),_0x2ebed0[_0xdf6467[_0x2e57c0(0x17d)]]=_0x377b43);}catch{_0x560961(this,_0x43c9c8,_0x236618,0x190,_0x2e57c0(0x233));return;}}if(this['options'][_0x2e57c0(0x286)]){const _0x5a5275={'origin':_0x43c9c8[_0x2e57c0(0x2a7)][''+(_0x1e10fd===0x8?_0x2e57c0(0x244):'origin')],'secure':!!(_0x43c9c8['socket'][_0x2e57c0(0x1bb)]||_0x43c9c8[_0x2e57c0(0x235)][_0x2e57c0(0x19d)]),'req':_0x43c9c8};if(this['options']['verifyClient'][_0x2e57c0(0x285)]===0x2){this[_0x2e57c0(0x222)]['verifyClient'](_0x5a5275,(_0x175fea,_0x3cc9f7,_0x1ff88b,_0x5c095b)=>{const _0x5bacde=_0x2e57c0;if(!_0x175fea)return _0x19c090(_0x236618,_0x3cc9f7||0x191,_0x1ff88b,_0x5c095b);this[_0x5bacde(0x1f7)](_0x2ebed0,_0x47cd49,_0xb2c6bd,_0x43c9c8,_0x236618,_0x427fdb,_0x1797b5);});return;}if(!this[_0x2e57c0(0x222)][_0x2e57c0(0x286)](_0x5a5275))return _0x19c090(_0x236618,0x191);}this[_0x2e57c0(0x1f7)](_0x2ebed0,_0x47cd49,_0xb2c6bd,_0x43c9c8,_0x236618,_0x427fdb,_0x1797b5);}[_0x1dbd2c(0x1f7)](_0x15cef2,_0x5a2471,_0x54cd98,_0x22a707,_0x19350a,_0x3470f8,_0x29d2bc){const _0xa81619=_0x1dbd2c;if(!_0x19350a['readable']||!_0x19350a[_0xa81619(0x19f)])return _0x19350a[_0xa81619(0x196)]();if(_0x19350a[_0x141cb2])throw new Error(_0xa81619(0x1b1));if(this['_state']>_0x3255f1)return _0x19c090(_0x19350a,0x1f7);const _0x427010=[_0xa81619(0x1c0),_0xa81619(0x1f1),_0xa81619(0x1d8),_0xa81619(0x2bc)+_0x313732(_0xa81619(0x2ae))['update'](_0x5a2471+_0x411108)[_0xa81619(0x23e)](_0xa81619(0x2dc))],_0x5c5b48=new this[(_0xa81619(0x222))][(_0xa81619(0x232))](null,void 0x0,this[_0xa81619(0x222)]);if(_0x54cd98[_0xa81619(0x17c)]){const _0x3d7a55=this[_0xa81619(0x222)]['handleProtocols']?this[_0xa81619(0x222)]['handleProtocols'](_0x54cd98,_0x22a707):_0x54cd98[_0xa81619(0x205)]()[_0xa81619(0x183)]()[_0xa81619(0x253)];_0x3d7a55&&(_0x427010[_0xa81619(0x1cc)](_0xa81619(0x21f)+_0x3d7a55),_0x5c5b48[_0xa81619(0x2ec)]=_0x3d7a55);}if(_0x15cef2[_0xdf6467[_0xa81619(0x17d)]]){const _0x5a6777=_0x15cef2[_0xdf6467[_0xa81619(0x17d)]]['params'],_0x1ba40d=_0x4656d5['format']({[_0xdf6467[_0xa81619(0x17d)]]:[_0x5a6777]});_0x427010['push'](_0xa81619(0x21c)+_0x1ba40d),_0x5c5b48[_0xa81619(0x1bc)]=_0x15cef2;}this[_0xa81619(0x170)]('headers',_0x427010,_0x22a707),_0x19350a['write'](_0x427010[_0xa81619(0x14f)]('\x0d\x0a')['join']('\x0d\x0a')),_0x19350a[_0xa81619(0x267)](_0xa81619(0x1e6),_0x15be97),_0x5c5b48[_0xa81619(0x296)](_0x19350a,_0x3470f8,{'allowSynchronousEvents':this[_0xa81619(0x222)][_0xa81619(0x18f)],'maxPayload':this[_0xa81619(0x222)][_0xa81619(0x16a)],'skipUTF8Validation':this[_0xa81619(0x222)]['skipUTF8Validation']}),this[_0xa81619(0x146)]&&(this[_0xa81619(0x146)][_0xa81619(0x17f)](_0x5c5b48),_0x5c5b48['on'](_0xa81619(0x1a8),()=>{const _0x30b186=_0xa81619;this['clients'][_0x30b186(0x2cf)](_0x5c5b48),this[_0x30b186(0x1b5)]&&!this['clients']['size']&&process[_0x30b186(0x1a7)](_0x15ec39,this);})),_0x29d2bc(_0x5c5b48,_0x22a707);}}Te=_0x2f6626;function _0x2fdd35(_0x46b15e,_0x3acf4c){const _0x1a3c8c=_0x1dbd2c;for(const _0x1144b1 of Object[_0x1a3c8c(0x1dd)](_0x3acf4c))_0x46b15e['on'](_0x1144b1,_0x3acf4c[_0x1144b1]);return function(){const _0x246f87=_0x1a3c8c;for(const _0x1d2be1 of Object[_0x246f87(0x1dd)](_0x3acf4c))_0x46b15e['removeListener'](_0x1d2be1,_0x3acf4c[_0x1d2be1]);};}function _0x15ec39(_0x295013){const _0x4cc7d9=_0x1dbd2c;_0x295013[_0x4cc7d9(0x14d)]=_0x2453e2,_0x295013[_0x4cc7d9(0x170)](_0x4cc7d9(0x1a8));}function _0x15be97(){const _0xc85ccd=_0x1dbd2c;this[_0xc85ccd(0x196)]();}function _0x19c090(_0x300ef6,_0x4bf52b,_0x54bb2e,_0x43ec44){const _0x4d6e3e=_0x1dbd2c;_0x54bb2e=_0x54bb2e||_0x1ad653[_0x4d6e3e(0x223)][_0x4bf52b],_0x43ec44={'Connection':'close','Content-Type':_0x4d6e3e(0x164),'Content-Length':Buffer['byteLength'](_0x54bb2e),..._0x43ec44},_0x300ef6[_0x4d6e3e(0x2eb)](_0x4d6e3e(0x201),_0x300ef6[_0x4d6e3e(0x196)]),_0x300ef6['end'](_0x4d6e3e(0x2d0)+_0x4bf52b+'\x20'+_0x1ad653[_0x4d6e3e(0x223)][_0x4bf52b]+'\x0d\x0a'+Object[_0x4d6e3e(0x1dd)](_0x43ec44)['map'](_0x53a27c=>_0x53a27c+':\x20'+_0x43ec44[_0x53a27c])['join']('\x0d\x0a')+_0x4d6e3e(0x22b)+_0x54bb2e);}function _0x560961(_0x2691e1,_0x504746,_0x41e433,_0x14609a,_0x42a3ba){const _0x990e02=_0x1dbd2c;if(_0x2691e1[_0x990e02(0x25c)](_0x990e02(0x274))){const _0x17fb9a=new Error(_0x42a3ba);Error['captureStackTrace'](_0x17fb9a,_0x560961),_0x2691e1[_0x990e02(0x170)]('wsClientError',_0x17fb9a,_0x41e433,_0x504746);}else _0x19c090(_0x41e433,_0x14609a,_0x42a3ba);}return Te;}er();var tr=Object[_0x697e83(0x163)],rr=(_0x3d4a94,_0x380418,_0x4be042,_0x17b86e)=>{const _0x35a362=_0x697e83;for(var _0x38515c=_0x17b86e>0x1?void 0x0:_0x17b86e?tr(_0x380418,_0x4be042):_0x380418,_0x37b717=_0x3d4a94[_0x35a362(0x285)]-0x1,_0x4cbf47;_0x37b717>=0x0;_0x37b717--)(_0x4cbf47=_0x3d4a94[_0x37b717])&&(_0x38515c=_0x4cbf47(_0x38515c)||_0x38515c);return _0x38515c;},sr=(_0xb0916,_0x123fc8)=>(_0x1ea522,_0x5aeccf)=>_0x123fc8(_0x1ea522,_0x5aeccf,_0xb0916);let Ne=class extends _0x4f4555{constructor(_0x4949f1){super(),this['_configService']=_0x4949f1;}[_0x697e83(0x197)](_0x301836){const _0xa2cdc=_0x697e83;var _0x3e6cd9;const _0x544b58=(_0x3e6cd9=this['_configService'][_0xa2cdc(0x2c9)](Be))==null?void 0x0:_0x3e6cd9['customHeaders'];try{const _0x344be5=new Qt(_0x301836,{'headers':{..._0x544b58}}),_0x3832cc=new _0x34b91e();return{'URL':_0x301836,'close':(_0x335cd8,_0x31fad4)=>{const _0x96f98c=_0xa2cdc;_0x344be5[_0x96f98c(0x1a8)](_0x335cd8,_0x31fad4),_0x3832cc[_0x96f98c(0x294)]();},'send':_0x3ece08=>{_0x344be5['send'](_0x3ece08);},'open$':new _0x4bdcda(_0x19c985=>{const _0x51904c=_0xa2cdc,_0x4c11cc=_0x3b23ce=>_0x19c985[_0x51904c(0x183)](_0x3b23ce);_0x344be5[_0x51904c(0x2b4)](_0x51904c(0x27d),_0x4c11cc),_0x3832cc[_0x51904c(0x17f)](_0x36077d(()=>_0x344be5[_0x51904c(0x152)](_0x51904c(0x27d),_0x4c11cc)));})['pipe'](_0x32ee58()),'close$':new _0x4bdcda(_0x5a2a76=>{const _0x383386=_0xa2cdc,_0x39f7fc=_0x18a2af=>_0x5a2a76[_0x383386(0x183)](_0x18a2af);_0x344be5[_0x383386(0x2b4)](_0x383386(0x1a8),_0x39f7fc),_0x3832cc[_0x383386(0x17f)](_0x36077d(()=>_0x344be5[_0x383386(0x152)](_0x383386(0x1a8),_0x39f7fc)));})[_0xa2cdc(0x18e)](_0x32ee58()),'error$':new _0x4bdcda(_0x38d8a0=>{const _0x3277c8=_0xa2cdc,_0x148032=_0x16821f=>_0x38d8a0[_0x3277c8(0x183)](_0x16821f);_0x344be5['addEventListener'](_0x3277c8(0x1e6),_0x148032),_0x3832cc[_0x3277c8(0x17f)](_0x36077d(()=>_0x344be5['removeEventListener'](_0x3277c8(0x1e6),_0x148032)));})[_0xa2cdc(0x18e)](_0x32ee58()),'message$':new _0x4bdcda(_0xf12748=>{const _0x3bd03a=_0xa2cdc,_0x3eaf74=_0x503b37=>_0xf12748['next'](_0x503b37);_0x344be5[_0x3bd03a(0x2b4)]('message',_0x3eaf74),_0x3832cc[_0x3bd03a(0x17f)](_0x36077d(()=>_0x344be5[_0x3bd03a(0x152)]('message',_0x3eaf74)));})[_0xa2cdc(0x18e)](_0x32ee58())};}catch(_0x1ec04f){return console[_0xa2cdc(0x1e6)](_0x1ec04f),null;}}};Ne=rr([sr(0x0,_0x1cba63)],Ne);var ir=Object['defineProperty'],nr=Object[_0x697e83(0x163)],or=(_0x174600,_0x1e25bc,_0x5be84a)=>_0x1e25bc in _0x174600?ir(_0x174600,_0x1e25bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5be84a}):_0x174600[_0x1e25bc]=_0x5be84a,ar=(_0x3ff166,_0x1b1fb5,_0x5122c6,_0xb0fb79)=>{const _0x1950ef=_0x697e83;for(var _0x3f02e8=_0xb0fb79>0x1?void 0x0:_0xb0fb79?nr(_0x1b1fb5,_0x5122c6):_0x1b1fb5,_0x5a9eb0=_0x3ff166[_0x1950ef(0x285)]-0x1,_0x221af3;_0x5a9eb0>=0x0;_0x5a9eb0--)(_0x221af3=_0x3ff166[_0x5a9eb0])&&(_0x3f02e8=_0x221af3(_0x3f02e8)||_0x3f02e8);return _0x3f02e8;},ke=(_0x1952db,_0x4e7a1a)=>(_0xed1ab1,_0x1567be)=>_0x4e7a1a(_0xed1ab1,_0x1567be,_0x1952db),lr=(_0x253cae,_0x18a983,_0x4e540c)=>or(_0x253cae,_0x18a983+'',_0x4e540c);let Pe=class extends _0x33b560{constructor(_0x14a350=Ft,_0x4ec217,_0x55223e,_0x42fc5c){const _0x5247a3=_0x697e83;_0x14a350[_0x5247a3(0x2a2)]||_0x4ec217[_0x5247a3(0x1df)](_0x5247a3(0x2ee)),super(),this[_0x5247a3(0x16c)]=_0x55223e,this[_0x5247a3(0x22f)]=_0x42fc5c,this[_0x5247a3(0x16c)][_0x5247a3(0x1f4)](Be,_0x14a350);}[_0x697e83(0x2e4)](){const _0x1210f9=_0x697e83;this[_0x1210f9(0x270)]();}[_0x697e83(0x270)](){const _0x3865c1=_0x697e83;_0x688904(this[_0x3865c1(0x22f)],[[_0x1a84b5,{'useClass':Ne}]]);}};lr(Pe,_0x697e83(0x2c4),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x3ea4d5(_0xc5fe4c),ke(0x1,_0x1f8015),ke(0x2,_0x1cba63),ke(0x3,_0x2b11d1(_0x23a03c))],Pe);var fr=Object[_0x697e83(0x163)],cr=(_0x469c1e,_0x1953cb,_0x5925ad,_0xcb8c74)=>{const _0x1e5a06=_0x697e83;for(var _0x27da78=_0xcb8c74>0x1?void 0x0:_0xcb8c74?fr(_0x1953cb,_0x5925ad):_0x1953cb,_0x5ba4b8=_0x469c1e[_0x1e5a06(0x285)]-0x1,_0xa01d85;_0x5ba4b8>=0x0;_0x5ba4b8--)(_0xa01d85=_0x469c1e[_0x5ba4b8])&&(_0x27da78=_0xa01d85(_0x27da78)||_0x27da78);return _0x27da78;},se=(_0x305531,_0x902ee8)=>(_0x322cb1,_0x58a686)=>_0x902ee8(_0x322cb1,_0x58a686,_0x305531);let at=class extends _0x31a984{constructor(_0x5aacd5,_0x5c171e,_0x2a0437,_0x48841f,_0x108149){super(_0x5aacd5,_0x5c171e,_0x2a0437,_0x48841f,_0x108149);const _0x2e911a=this['_configService']['getConfig'](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x4bde4c,_0x5b6863)=>{const _0x42ded7=_0x1017;var _0x141e4a;const _0x3e2763=_0x4bde4c[_0x42ded7(0x2a7)];return(_0x141e4a=_0x2e911a==null?void 0x0:_0x2e911a[_0x42ded7(0x2a2)])!=null&&_0x141e4a[_0x42ded7(0x27e)]&&_0x3e2763[_0x42ded7(0x2e2)]('Cookie',_0x2e911a['customHeaders'][_0x42ded7(0x27e)]),_0x5b6863(_0x4bde4c);}});}async[_0x697e83(0x197)](_0x5ac1e6){const _0x1aaac1=_0x697e83;return this[_0x1aaac1(0x27a)](_0x5ac1e6);}};at=cr([se(0x0,_0x2b11d1(_0x23a03c)),se(0x1,_0x2b11d1(_0x3f4883)),se(0x2,_0x1cba63),se(0x3,_0x1f8015),se(0x4,_0x119159)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|