@univerjs-pro/collaboration-client-node 0.15.0-insiders.20251227-453e4ff → 0.15.0-insiders.20260106-79b11f9

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5d630b=_0x1e14;(function(_0x37f071,_0x457db2){const _0x2dab85=_0x1e14,_0x444134=_0x37f071();while(!![]){try{const _0x3308b9=parseInt(_0x2dab85(0x1c4))/0x1+parseInt(_0x2dab85(0x293))/0x2*(-parseInt(_0x2dab85(0x284))/0x3)+-parseInt(_0x2dab85(0x2b0))/0x4+parseInt(_0x2dab85(0x1dc))/0x5*(-parseInt(_0x2dab85(0x2ae))/0x6)+-parseInt(_0x2dab85(0x199))/0x7*(-parseInt(_0x2dab85(0x1bf))/0x8)+parseInt(_0x2dab85(0x247))/0x9+-parseInt(_0x2dab85(0x2c7))/0xa*(-parseInt(_0x2dab85(0x210))/0xb);if(_0x3308b9===_0x457db2)break;else _0x444134['push'](_0x444134['shift']());}catch(_0x4c0d15){_0x444134['push'](_0x444134['shift']());}}}(_0x4398,0x4636d));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1e5c55,UniverCollaborationClientPlugin as _0x4b2edb,CollaborationSocketService as _0x1e0bc2}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5e6f89,DisposableCollection as _0x592492,toDisposable as _0x5a8dc4,IConfigService as _0x38cf07,DependentOn as _0x4047de,Inject as _0x412856,Injector as _0xdf8d74,Plugin as _0x2457e3,registerDependencies as _0x25025f,ILogService as _0x1e607a}from'@univerjs/core';import{ISocketService as _0x2631d2,HTTPService as _0x5f137b}from'@univerjs/network';import{Observable as _0x1dae39,share as _0x1ef649}from'rxjs';import _0x5f4824 from'events';import _0x269a91 from'https';import _0x1e30e7 from'http';import _0x4017f5 from'net';import _0x9eead5 from'tls';import _0x41d258 from'crypto';import _0x394050 from'stream';import _0x22e6a5 from'url';import _0x3e53f4 from'zlib';import _0x33a731 from'buffer';import{ISnapshotServerService as _0x24ec4e}from'@univerjs-pro/collaboration';const $t=_0x5d630b(0x14e),Ft={};function Wt(_0x5811c5){const _0x463063=_0x5d630b;return _0x5811c5&&_0x5811c5[_0x463063(0x181)]&&Object[_0x463063(0x1b1)]['hasOwnProperty'][_0x463063(0x269)](_0x5811c5,_0x463063(0x135))?_0x5811c5[_0x463063(0x135)]:_0x5811c5;}function jt(_0x4d360f){const _0x57d04=_0x5d630b;if(Object['prototype'][_0x57d04(0x1e9)][_0x57d04(0x269)](_0x4d360f,_0x57d04(0x181)))return _0x4d360f;var _0x47ddc5=_0x4d360f[_0x57d04(0x135)];if(typeof _0x47ddc5==_0x57d04(0x1c9)){var _0x7dd96b=function _0x2871c(){const _0x2b74ce=_0x57d04;var _0x583e24=!0x1;try{_0x583e24=this instanceof _0x2871c;}catch{}return _0x583e24?Reflect[_0x2b74ce(0x132)](_0x47ddc5,arguments,this[_0x2b74ce(0x2a5)]):_0x47ddc5[_0x2b74ce(0x2a0)](this,arguments);};_0x7dd96b[_0x57d04(0x1b1)]=_0x47ddc5[_0x57d04(0x1b1)];}else _0x7dd96b={};return Object[_0x57d04(0x256)](_0x7dd96b,_0x57d04(0x181),{'value':!0x0}),Object['keys'](_0x4d360f)[_0x57d04(0x29e)](function(_0x1e62ab){const _0x500b8d=_0x57d04;var _0x46f14e=Object[_0x500b8d(0x162)](_0x4d360f,_0x1e62ab);Object[_0x500b8d(0x256)](_0x7dd96b,_0x1e62ab,_0x46f14e['get']?_0x46f14e:{'enumerable':!0x0,'get':function(){return _0x4d360f[_0x1e62ab];}});}),_0x7dd96b;}var me,He;function V(){const _0x429688=_0x5d630b;if(He)return me;He=0x1;const _0x19af0e=[_0x429688(0x2dc),'arraybuffer',_0x429688(0x287)],_0x40d43b=typeof Blob<'u';return _0x40d43b&&_0x19af0e['push']('blob'),me={'BINARY_TYPES':_0x19af0e,'EMPTY_BUFFER':Buffer[_0x429688(0x1da)](0x0),'GUID':_0x429688(0x233),'hasBlob':_0x40d43b,'kForOnEventAttribute':Symbol(_0x429688(0x297)),'kListener':Symbol(_0x429688(0x1e3)),'kStatusCode':Symbol(_0x429688(0x1eb)),'kWebSocket':Symbol(_0x429688(0x28b)),'NOOP':()=>{}},me;}var ge,ze;function fe(){const _0x19c927=_0x5d630b;if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x45dd42}=V(),_0xce5509=Buffer[Symbol[_0x19c927(0x2cb)]];function _0x2d8136(_0x454cf8,_0x318bfa){const _0x447a9a=_0x19c927;if(_0x454cf8[_0x447a9a(0x209)]===0x0)return _0x45dd42;if(_0x454cf8[_0x447a9a(0x209)]===0x1)return _0x454cf8[0x0];const _0x4646ef=Buffer[_0x447a9a(0x14d)](_0x318bfa);let _0x59f370=0x0;for(let _0x35cac8=0x0;_0x35cac8<_0x454cf8[_0x447a9a(0x209)];_0x35cac8++){const _0x3dbd07=_0x454cf8[_0x35cac8];_0x4646ef[_0x447a9a(0x1ae)](_0x3dbd07,_0x59f370),_0x59f370+=_0x3dbd07[_0x447a9a(0x209)];}return _0x59f370<_0x318bfa?new _0xce5509(_0x4646ef[_0x447a9a(0x15d)],_0x4646ef[_0x447a9a(0x1e4)],_0x59f370):_0x4646ef;}function _0x3157c5(_0x23c824,_0x338859,_0x4fe36a,_0x5923cd,_0x1555df){for(let _0x358148=0x0;_0x358148<_0x1555df;_0x358148++)_0x4fe36a[_0x5923cd+_0x358148]=_0x23c824[_0x358148]^_0x338859[_0x358148&0x3];}function _0x55887b(_0x46045a,_0x2ff17a){const _0x5827bf=_0x19c927;for(let _0x1bd2fb=0x0;_0x1bd2fb<_0x46045a[_0x5827bf(0x209)];_0x1bd2fb++)_0x46045a[_0x1bd2fb]^=_0x2ff17a[_0x1bd2fb&0x3];}function _0x5c5a2d(_0x5b9653){const _0x232319=_0x19c927;return _0x5b9653[_0x232319(0x209)]===_0x5b9653[_0x232319(0x15d)][_0x232319(0x2ce)]?_0x5b9653[_0x232319(0x15d)]:_0x5b9653['buffer'][_0x232319(0x22c)](_0x5b9653[_0x232319(0x1e4)],_0x5b9653['byteOffset']+_0x5b9653[_0x232319(0x209)]);}function _0x32d5b2(_0x2747dd){const _0x1af1f9=_0x19c927;if(_0x32d5b2[_0x1af1f9(0x167)]=!0x0,Buffer[_0x1af1f9(0x17c)](_0x2747dd))return _0x2747dd;let _0xcb2fe5;return _0x2747dd instanceof ArrayBuffer?_0xcb2fe5=new _0xce5509(_0x2747dd):ArrayBuffer[_0x1af1f9(0x2d1)](_0x2747dd)?_0xcb2fe5=new _0xce5509(_0x2747dd[_0x1af1f9(0x15d)],_0x2747dd[_0x1af1f9(0x1e4)],_0x2747dd[_0x1af1f9(0x2ce)]):(_0xcb2fe5=Buffer[_0x1af1f9(0x278)](_0x2747dd),_0x32d5b2[_0x1af1f9(0x167)]=!0x1),_0xcb2fe5;}return ge={'concat':_0x2d8136,'mask':_0x3157c5,'toArrayBuffer':_0x5c5a2d,'toBuffer':_0x32d5b2,'unmask':_0x55887b},ge;}var ye,Ye;function Gt(){const _0x3618e2=_0x5d630b;if(Ye)return ye;Ye=0x1;const _0x1cbdb3=Symbol('kDone'),_0x5a8bea=Symbol('kRun');class _0x5581a9{constructor(_0x371773){const _0x48c819=_0x1e14;this[_0x1cbdb3]=()=>{const _0x1be6b0=_0x1e14;this[_0x1be6b0(0x178)]--,this[_0x5a8bea]();},this[_0x48c819(0x265)]=_0x371773||0x1/0x0,this[_0x48c819(0x2e3)]=[],this[_0x48c819(0x178)]=0x0;}[_0x3618e2(0x1d9)](_0x5e12df){const _0x22bab2=_0x3618e2;this[_0x22bab2(0x2e3)][_0x22bab2(0x26d)](_0x5e12df),this[_0x5a8bea]();}[_0x5a8bea](){const _0xb22a20=_0x3618e2;if(this['pending']!==this[_0xb22a20(0x265)]&&this[_0xb22a20(0x2e3)][_0xb22a20(0x209)]){const _0x289515=this['jobs'][_0xb22a20(0x2c2)]();this[_0xb22a20(0x178)]++,_0x289515(this[_0x1cbdb3]);}}}return ye=_0x5581a9,ye;}var ve,Ke;function ce(){const _0x57b4c3=_0x5d630b;if(Ke)return ve;Ke=0x1;const _0x5b2580=_0x3e53f4,_0x2c67d1=fe(),_0x259f42=Gt(),{kStatusCode:_0x11ad8e}=V(),_0x3ecc93=Buffer[Symbol[_0x57b4c3(0x2cb)]],_0x378142=Buffer[_0x57b4c3(0x278)]([0x0,0x0,0xff,0xff]),_0x8e44e2=Symbol(_0x57b4c3(0x268)),_0x5f314d=Symbol(_0x57b4c3(0x20e)),_0x11f17f=Symbol(_0x57b4c3(0x198)),_0x46db56=Symbol(_0x57b4c3(0x27b)),_0x577c90=Symbol('error');let _0xac37a0;class _0x20881a{constructor(_0x2a1a9e,_0x1366a6,_0x5a82f0){const _0x25ea9a=_0x57b4c3;if(this[_0x25ea9a(0x25e)]=_0x5a82f0|0x0,this[_0x25ea9a(0x248)]=_0x2a1a9e||{},this[_0x25ea9a(0x182)]=this[_0x25ea9a(0x248)][_0x25ea9a(0x185)]!==void 0x0?this[_0x25ea9a(0x248)][_0x25ea9a(0x185)]:0x400,this[_0x25ea9a(0x164)]=!!_0x1366a6,this['_deflate']=null,this[_0x25ea9a(0x13e)]=null,this[_0x25ea9a(0x1d4)]=null,!_0xac37a0){const _0x317760=this[_0x25ea9a(0x248)][_0x25ea9a(0x224)]!==void 0x0?this[_0x25ea9a(0x248)]['concurrencyLimit']:0xa;_0xac37a0=new _0x259f42(_0x317760);}}static get['extensionName'](){const _0x5c3269=_0x57b4c3;return _0x5c3269(0x268);}[_0x57b4c3(0x20f)](){const _0x38a4f5=_0x57b4c3,_0x10dac6={};return this[_0x38a4f5(0x248)]['serverNoContextTakeover']&&(_0x10dac6[_0x38a4f5(0x1b5)]=!0x0),this[_0x38a4f5(0x248)][_0x38a4f5(0x188)]&&(_0x10dac6['client_no_context_takeover']=!0x0),this[_0x38a4f5(0x248)]['serverMaxWindowBits']&&(_0x10dac6['server_max_window_bits']=this['_options'][_0x38a4f5(0x1e0)]),this[_0x38a4f5(0x248)][_0x38a4f5(0x25f)]?_0x10dac6[_0x38a4f5(0x1b7)]=this['_options'][_0x38a4f5(0x25f)]:this[_0x38a4f5(0x248)][_0x38a4f5(0x25f)]==null&&(_0x10dac6[_0x38a4f5(0x1b7)]=!0x0),_0x10dac6;}[_0x57b4c3(0x175)](_0x2adf79){const _0x173a98=_0x57b4c3;return _0x2adf79=this[_0x173a98(0x1a3)](_0x2adf79),this[_0x173a98(0x1d4)]=this[_0x173a98(0x164)]?this[_0x173a98(0x2c1)](_0x2adf79):this[_0x173a98(0x2ad)](_0x2adf79),this[_0x173a98(0x1d4)];}[_0x57b4c3(0x177)](){const _0x4e1a6f=_0x57b4c3;if(this[_0x4e1a6f(0x13e)]&&(this[_0x4e1a6f(0x13e)][_0x4e1a6f(0x234)](),this[_0x4e1a6f(0x13e)]=null),this[_0x4e1a6f(0x273)]){const _0x5a6ffb=this[_0x4e1a6f(0x273)][_0x11f17f];this[_0x4e1a6f(0x273)]['close'](),this[_0x4e1a6f(0x273)]=null,_0x5a6ffb&&_0x5a6ffb(new Error(_0x4e1a6f(0x1d3)));}}['acceptAsServer'](_0x3c632f){const _0x26db51=_0x57b4c3,_0x4f1cc4=this[_0x26db51(0x248)],_0x53e6e6=_0x3c632f[_0x26db51(0x24f)](_0x51f351=>!(_0x4f1cc4['serverNoContextTakeover']===!0x1&&_0x51f351[_0x26db51(0x1b5)]||_0x51f351[_0x26db51(0x1f1)]&&(_0x4f1cc4[_0x26db51(0x1e0)]===!0x1||typeof _0x4f1cc4[_0x26db51(0x1e0)]==_0x26db51(0x25b)&&_0x4f1cc4[_0x26db51(0x1e0)]>_0x51f351[_0x26db51(0x1f1)])||typeof _0x4f1cc4[_0x26db51(0x25f)]==_0x26db51(0x25b)&&!_0x51f351[_0x26db51(0x1b7)]));if(!_0x53e6e6)throw new Error(_0x26db51(0x149));return _0x4f1cc4[_0x26db51(0x281)]&&(_0x53e6e6[_0x26db51(0x1b5)]=!0x0),_0x4f1cc4['clientNoContextTakeover']&&(_0x53e6e6[_0x26db51(0x1ec)]=!0x0),typeof _0x4f1cc4['serverMaxWindowBits']==_0x26db51(0x25b)&&(_0x53e6e6[_0x26db51(0x1f1)]=_0x4f1cc4[_0x26db51(0x1e0)]),typeof _0x4f1cc4[_0x26db51(0x25f)]==_0x26db51(0x25b)?_0x53e6e6[_0x26db51(0x1b7)]=_0x4f1cc4['clientMaxWindowBits']:(_0x53e6e6[_0x26db51(0x1b7)]===!0x0||_0x4f1cc4[_0x26db51(0x25f)]===!0x1)&&delete _0x53e6e6[_0x26db51(0x1b7)],_0x53e6e6;}['acceptAsClient'](_0x1bf512){const _0x19f813=_0x57b4c3,_0x262d4f=_0x1bf512[0x0];if(this[_0x19f813(0x248)][_0x19f813(0x188)]===!0x1&&_0x262d4f[_0x19f813(0x1ec)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x262d4f[_0x19f813(0x1b7)])typeof this[_0x19f813(0x248)][_0x19f813(0x25f)]==_0x19f813(0x25b)&&(_0x262d4f[_0x19f813(0x1b7)]=this[_0x19f813(0x248)][_0x19f813(0x25f)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this['_options'][_0x19f813(0x25f)]=='number'&&_0x262d4f[_0x19f813(0x1b7)]>this[_0x19f813(0x248)][_0x19f813(0x25f)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x262d4f;}['normalizeParams'](_0x29ad64){const _0x49c8e0=_0x57b4c3;return _0x29ad64[_0x49c8e0(0x29e)](_0xc4ca18=>{const _0x51ec7d=_0x49c8e0;Object[_0x51ec7d(0x1ea)](_0xc4ca18)[_0x51ec7d(0x29e)](_0x40943e=>{const _0x1529a1=_0x51ec7d;let _0x126104=_0xc4ca18[_0x40943e];if(_0x126104[_0x1529a1(0x209)]>0x1)throw new Error(_0x1529a1(0x246)+_0x40943e+_0x1529a1(0x165));if(_0x126104=_0x126104[0x0],_0x40943e===_0x1529a1(0x1b7)){if(_0x126104!==!0x0){const _0x23f01b=+_0x126104;if(!Number[_0x1529a1(0x1c7)](_0x23f01b)||_0x23f01b<0x8||_0x23f01b>0xf)throw new TypeError(_0x1529a1(0x1fb)+_0x40943e+_0x1529a1(0x28d)+_0x126104);_0x126104=_0x23f01b;}else{if(!this[_0x1529a1(0x164)])throw new TypeError(_0x1529a1(0x1fb)+_0x40943e+_0x1529a1(0x28d)+_0x126104);}}else{if(_0x40943e==='server_max_window_bits'){const _0x31040b=+_0x126104;if(!Number[_0x1529a1(0x1c7)](_0x31040b)||_0x31040b<0x8||_0x31040b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x40943e+_0x1529a1(0x28d)+_0x126104);_0x126104=_0x31040b;}else{if(_0x40943e==='client_no_context_takeover'||_0x40943e===_0x1529a1(0x1b5)){if(_0x126104!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x40943e+'\x22:\x20'+_0x126104);}else throw new Error(_0x1529a1(0x2b4)+_0x40943e+'\x22');}}_0xc4ca18[_0x40943e]=_0x126104;});}),_0x29ad64;}['decompress'](_0x5abd6b,_0x3a984c,_0x3f8592){const _0x1fcdfc=_0x57b4c3;_0xac37a0[_0x1fcdfc(0x1d9)](_0x20775e=>{const _0x339a46=_0x1fcdfc;this[_0x339a46(0x15e)](_0x5abd6b,_0x3a984c,(_0x43dbdf,_0x5cd4d4)=>{_0x20775e(),_0x3f8592(_0x43dbdf,_0x5cd4d4);});});}[_0x57b4c3(0x1e6)](_0x2d878b,_0x1ca15d,_0x3fdc1c){const _0x313dfe=_0x57b4c3;_0xac37a0[_0x313dfe(0x1d9)](_0x5f115a=>{const _0x18e9f6=_0x313dfe;this[_0x18e9f6(0x2b9)](_0x2d878b,_0x1ca15d,(_0x20f561,_0x100c1a)=>{_0x5f115a(),_0x3fdc1c(_0x20f561,_0x100c1a);});});}['_decompress'](_0x1a3292,_0x545374,_0x9f25f9){const _0x2e519f=_0x57b4c3,_0x9f659c=this[_0x2e519f(0x164)]?_0x2e519f(0x29b):_0x2e519f(0x1e2);if(!this['_inflate']){const _0xa361dd=_0x9f659c+_0x2e519f(0x245),_0x2c7cb9=typeof this[_0x2e519f(0x1d4)][_0xa361dd]!=_0x2e519f(0x25b)?_0x5b2580['Z_DEFAULT_WINDOWBITS']:this[_0x2e519f(0x1d4)][_0xa361dd];this[_0x2e519f(0x13e)]=_0x5b2580[_0x2e519f(0x263)]({...this[_0x2e519f(0x248)][_0x2e519f(0x220)],'windowBits':_0x2c7cb9}),this[_0x2e519f(0x13e)][_0x8e44e2]=this,this[_0x2e519f(0x13e)][_0x5f314d]=0x0,this[_0x2e519f(0x13e)][_0x46db56]=[],this['_inflate']['on'](_0x2e519f(0x201),_0x281f10),this[_0x2e519f(0x13e)]['on'](_0x2e519f(0x291),_0xdf0898);}this[_0x2e519f(0x13e)][_0x11f17f]=_0x9f25f9,this[_0x2e519f(0x13e)][_0x2e519f(0x222)](_0x1a3292),_0x545374&&this['_inflate'][_0x2e519f(0x222)](_0x378142),this[_0x2e519f(0x13e)][_0x2e519f(0x1b9)](()=>{const _0xdf3169=_0x2e519f,_0x77512=this[_0xdf3169(0x13e)][_0x577c90];if(_0x77512){this[_0xdf3169(0x13e)][_0xdf3169(0x234)](),this[_0xdf3169(0x13e)]=null,_0x9f25f9(_0x77512);return;}const _0x599cf9=_0x2c67d1['concat'](this[_0xdf3169(0x13e)][_0x46db56],this['_inflate'][_0x5f314d]);this[_0xdf3169(0x13e)][_0xdf3169(0x1c8)]['endEmitted']?(this['_inflate'][_0xdf3169(0x234)](),this['_inflate']=null):(this[_0xdf3169(0x13e)][_0x5f314d]=0x0,this[_0xdf3169(0x13e)][_0x46db56]=[],_0x545374&&this[_0xdf3169(0x1d4)][_0x9f659c+'_no_context_takeover']&&this[_0xdf3169(0x13e)][_0xdf3169(0x186)]()),_0x9f25f9(null,_0x599cf9);});}[_0x57b4c3(0x2b9)](_0x9ec99d,_0x246b48,_0x369fc3){const _0x1e909c=_0x57b4c3,_0x5598e6=this[_0x1e909c(0x164)]?_0x1e909c(0x1e2):_0x1e909c(0x29b);if(!this[_0x1e909c(0x273)]){const _0x546f3d=_0x5598e6+'_max_window_bits',_0x2adedd=typeof this[_0x1e909c(0x1d4)][_0x546f3d]!=_0x1e909c(0x25b)?_0x5b2580[_0x1e909c(0x1db)]:this['params'][_0x546f3d];this['_deflate']=_0x5b2580[_0x1e909c(0x2aa)]({...this[_0x1e909c(0x248)][_0x1e909c(0x141)],'windowBits':_0x2adedd}),this['_deflate'][_0x5f314d]=0x0,this[_0x1e909c(0x273)][_0x46db56]=[],this[_0x1e909c(0x273)]['on'](_0x1e909c(0x291),_0x533a26);}this[_0x1e909c(0x273)][_0x11f17f]=_0x369fc3,this[_0x1e909c(0x273)]['write'](_0x9ec99d),this[_0x1e909c(0x273)][_0x1e909c(0x1b9)](_0x5b2580[_0x1e909c(0x1ef)],()=>{const _0x26c751=_0x1e909c;if(!this[_0x26c751(0x273)])return;let _0x234473=_0x2c67d1[_0x26c751(0x218)](this[_0x26c751(0x273)][_0x46db56],this[_0x26c751(0x273)][_0x5f314d]);_0x246b48&&(_0x234473=new _0x3ecc93(_0x234473[_0x26c751(0x15d)],_0x234473['byteOffset'],_0x234473[_0x26c751(0x209)]-0x4)),this['_deflate'][_0x11f17f]=null,this[_0x26c751(0x273)][_0x5f314d]=0x0,this[_0x26c751(0x273)][_0x46db56]=[],_0x246b48&&this['params'][_0x5598e6+'_no_context_takeover']&&this[_0x26c751(0x273)]['reset'](),_0x369fc3(null,_0x234473);});}}ve=_0x20881a;function _0x533a26(_0x4a64af){const _0xebdc3a=_0x57b4c3;this[_0x46db56][_0xebdc3a(0x26d)](_0x4a64af),this[_0x5f314d]+=_0x4a64af[_0xebdc3a(0x209)];}function _0xdf0898(_0x249fbb){const _0x47cfd7=_0x57b4c3;if(this[_0x5f314d]+=_0x249fbb[_0x47cfd7(0x209)],this[_0x8e44e2][_0x47cfd7(0x25e)]<0x1||this[_0x5f314d]<=this[_0x8e44e2][_0x47cfd7(0x25e)]){this[_0x46db56][_0x47cfd7(0x26d)](_0x249fbb);return;}this[_0x577c90]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x577c90][_0x47cfd7(0x21c)]=_0x47cfd7(0x2d5),this[_0x577c90][_0x11ad8e]=0x3f1,this[_0x47cfd7(0x1ee)](_0x47cfd7(0x291),_0xdf0898),this[_0x47cfd7(0x186)]();}function _0x281f10(_0x504536){const _0x45fae8=_0x57b4c3;if(this[_0x8e44e2][_0x45fae8(0x13e)]=null,this[_0x577c90]){this[_0x11f17f](this[_0x577c90]);return;}_0x504536[_0x11ad8e]=0x3ef,this[_0x11f17f](_0x504536);}return ve;}var te={'exports':{}};const Vt={},qt=Object[_0x5d630b(0x240)](Object[_0x5d630b(0x256)]({'__proto__':null,'default':Vt},Symbol['toStringTag'],{'value':'Module'})),Ht=jt(qt);var Xe;function ie(){const _0xafb763=_0x5d630b;if(Xe)return te['exports'];Xe=0x1;const {isUtf8:_0x336590}=_0x33a731,{hasBlob:_0x3828ab}=V(),_0x454e44=[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 _0x149439(_0x44c9ef){return _0x44c9ef>=0x3e8&&_0x44c9ef<=0x3f6&&_0x44c9ef!==0x3ec&&_0x44c9ef!==0x3ed&&_0x44c9ef!==0x3ee||_0x44c9ef>=0xbb8&&_0x44c9ef<=0x1387;}function _0x2ed9ce(_0x1a575e){const _0x4d71d9=_0x1e14,_0x49f913=_0x1a575e[_0x4d71d9(0x209)];let _0x2b98e9=0x0;for(;_0x2b98e9<_0x49f913;)if((_0x1a575e[_0x2b98e9]&0x80)===0x0)_0x2b98e9++;else{if((_0x1a575e[_0x2b98e9]&0xe0)===0xc0){if(_0x2b98e9+0x1===_0x49f913||(_0x1a575e[_0x2b98e9+0x1]&0xc0)!==0x80||(_0x1a575e[_0x2b98e9]&0xfe)===0xc0)return!0x1;_0x2b98e9+=0x2;}else{if((_0x1a575e[_0x2b98e9]&0xf0)===0xe0){if(_0x2b98e9+0x2>=_0x49f913||(_0x1a575e[_0x2b98e9+0x1]&0xc0)!==0x80||(_0x1a575e[_0x2b98e9+0x2]&0xc0)!==0x80||_0x1a575e[_0x2b98e9]===0xe0&&(_0x1a575e[_0x2b98e9+0x1]&0xe0)===0x80||_0x1a575e[_0x2b98e9]===0xed&&(_0x1a575e[_0x2b98e9+0x1]&0xe0)===0xa0)return!0x1;_0x2b98e9+=0x3;}else{if((_0x1a575e[_0x2b98e9]&0xf8)===0xf0){if(_0x2b98e9+0x3>=_0x49f913||(_0x1a575e[_0x2b98e9+0x1]&0xc0)!==0x80||(_0x1a575e[_0x2b98e9+0x2]&0xc0)!==0x80||(_0x1a575e[_0x2b98e9+0x3]&0xc0)!==0x80||_0x1a575e[_0x2b98e9]===0xf0&&(_0x1a575e[_0x2b98e9+0x1]&0xf0)===0x80||_0x1a575e[_0x2b98e9]===0xf4&&_0x1a575e[_0x2b98e9+0x1]>0x8f||_0x1a575e[_0x2b98e9]>0xf4)return!0x1;_0x2b98e9+=0x4;}else return!0x1;}}}return!0x0;}function _0x49e87d(_0x467840){const _0x4748cc=_0x1e14;return _0x3828ab&&typeof _0x467840==_0x4748cc(0x2b8)&&typeof _0x467840['arrayBuffer']==_0x4748cc(0x1c9)&&typeof _0x467840[_0x4748cc(0x1f8)]=='string'&&typeof _0x467840['stream']==_0x4748cc(0x1c9)&&(_0x467840[Symbol[_0x4748cc(0x1a8)]]==='Blob'||_0x467840[Symbol['toStringTag']]===_0x4748cc(0x2a4));}if(te['exports']={'isBlob':_0x49e87d,'isValidStatusCode':_0x149439,'isValidUTF8':_0x2ed9ce,'tokenChars':_0x454e44},_0x336590)te[_0xafb763(0x18f)][_0xafb763(0x2c6)]=function(_0x4ff976){const _0x4ad9d5=_0xafb763;return _0x4ff976[_0x4ad9d5(0x209)]<0x18?_0x2ed9ce(_0x4ff976):_0x336590(_0x4ff976);};else{if(!process[_0xafb763(0x280)][_0xafb763(0x262)])try{const _0xb91c92=Ht;te[_0xafb763(0x18f)]['isValidUTF8']=function(_0x546831){const _0x24177b=_0xafb763;return _0x546831[_0x24177b(0x209)]<0x20?_0x2ed9ce(_0x546831):_0xb91c92(_0x546831);};}catch{}}return te[_0xafb763(0x18f)];}var Se,Ze;function ht(){const _0x1d5589=_0x5d630b;if(Ze)return Se;Ze=0x1;const {Writable:_0x5cd171}=_0x394050,_0x5b3a81=ce(),{BINARY_TYPES:_0x218f76,EMPTY_BUFFER:_0x27db89,kStatusCode:_0x3a0360,kWebSocket:_0x190880}=V(),{concat:_0xfd756b,toArrayBuffer:_0xe017b9,unmask:_0x42d6bb}=fe(),{isValidStatusCode:_0x4783a7,isValidUTF8:_0x3014fa}=ie(),_0x19e760=Buffer[Symbol['species']],_0x33b0d6=0x0,_0x1ed231=0x1,_0x2d29fa=0x2,_0x5af363=0x3,_0x68e6b9=0x4,_0x303206=0x5,_0x535973=0x6;class _0x15d611 extends _0x5cd171{constructor(_0xa79f24={}){const _0xbbae28=_0x1e14;super(),this[_0xbbae28(0x16f)]=_0xa79f24[_0xbbae28(0x153)]!==void 0x0?_0xa79f24[_0xbbae28(0x153)]:!0x0,this[_0xbbae28(0x1b0)]=_0xa79f24[_0xbbae28(0x1fd)]||_0x218f76[0x0],this[_0xbbae28(0x1fc)]=_0xa79f24[_0xbbae28(0x17a)]||{},this[_0xbbae28(0x164)]=!!_0xa79f24[_0xbbae28(0x2af)],this[_0xbbae28(0x25e)]=_0xa79f24[_0xbbae28(0x1b6)]|0x0,this[_0xbbae28(0x221)]=!!_0xa79f24[_0xbbae28(0x2b3)],this[_0x190880]=void 0x0,this[_0xbbae28(0x289)]=0x0,this[_0xbbae28(0x140)]=[],this['_compressed']=!0x1,this[_0xbbae28(0x2cc)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0xbbae28(0x295)]=!0x1,this[_0xbbae28(0x223)]=!0x1,this[_0xbbae28(0x1cd)]=0x0,this[_0xbbae28(0x215)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0xbbae28(0x227)]=!0x1,this['_loop']=!0x1,this['_state']=_0x33b0d6;}[_0x1d5589(0x1ab)](_0x29c3f4,_0x2dab3f,_0x51f8b5){const _0x1a5197=_0x1d5589;if(this[_0x1a5197(0x1cd)]===0x8&&this[_0x1a5197(0x18c)]==_0x33b0d6)return _0x51f8b5();this['_bufferedBytes']+=_0x29c3f4[_0x1a5197(0x209)],this[_0x1a5197(0x140)][_0x1a5197(0x26d)](_0x29c3f4),this['startLoop'](_0x51f8b5);}[_0x1d5589(0x219)](_0x1a45c3){const _0x2ff49b=_0x1d5589;if(this[_0x2ff49b(0x289)]-=_0x1a45c3,_0x1a45c3===this[_0x2ff49b(0x140)][0x0]['length'])return this['_buffers'][_0x2ff49b(0x2c2)]();if(_0x1a45c3<this[_0x2ff49b(0x140)][0x0]['length']){const _0x4f3de7=this[_0x2ff49b(0x140)][0x0];return this[_0x2ff49b(0x140)][0x0]=new _0x19e760(_0x4f3de7['buffer'],_0x4f3de7['byteOffset']+_0x1a45c3,_0x4f3de7[_0x2ff49b(0x209)]-_0x1a45c3),new _0x19e760(_0x4f3de7[_0x2ff49b(0x15d)],_0x4f3de7['byteOffset'],_0x1a45c3);}const _0x53c6fa=Buffer['allocUnsafe'](_0x1a45c3);do{const _0xaf8bce=this[_0x2ff49b(0x140)][0x0],_0x137b14=_0x53c6fa[_0x2ff49b(0x209)]-_0x1a45c3;_0x1a45c3>=_0xaf8bce[_0x2ff49b(0x209)]?_0x53c6fa[_0x2ff49b(0x1ae)](this['_buffers'][_0x2ff49b(0x2c2)](),_0x137b14):(_0x53c6fa['set'](new Uint8Array(_0xaf8bce[_0x2ff49b(0x15d)],_0xaf8bce[_0x2ff49b(0x1e4)],_0x1a45c3),_0x137b14),this[_0x2ff49b(0x140)][0x0]=new _0x19e760(_0xaf8bce['buffer'],_0xaf8bce['byteOffset']+_0x1a45c3,_0xaf8bce[_0x2ff49b(0x209)]-_0x1a45c3)),_0x1a45c3-=_0xaf8bce['length'];}while(_0x1a45c3>0x0);return _0x53c6fa;}['startLoop'](_0x582169){const _0x32ca3f=_0x1d5589;this[_0x32ca3f(0x146)]=!0x0;do switch(this['_state']){case _0x33b0d6:this[_0x32ca3f(0x2a9)](_0x582169);break;case _0x1ed231:this[_0x32ca3f(0x14f)](_0x582169);break;case _0x2d29fa:this[_0x32ca3f(0x13f)](_0x582169);break;case _0x5af363:this[_0x32ca3f(0x1fe)]();break;case _0x68e6b9:this[_0x32ca3f(0x235)](_0x582169);break;case _0x303206:case _0x535973:this[_0x32ca3f(0x146)]=!0x1;return;}while(this[_0x32ca3f(0x146)]);this[_0x32ca3f(0x227)]||_0x582169();}['getInfo'](_0x203d0e){const _0x2cfac2=_0x1d5589;if(this[_0x2cfac2(0x289)]<0x2){this[_0x2cfac2(0x146)]=!0x1;return;}const _0x13ba12=this['consume'](0x2);if((_0x13ba12[0x0]&0x30)!==0x0){const _0x178119=this[_0x2cfac2(0x2ba)](RangeError,_0x2cfac2(0x2d2),!0x0,0x3ea,_0x2cfac2(0x1a2));_0x203d0e(_0x178119);return;}const _0x54587f=(_0x13ba12[0x0]&0x40)===0x40;if(_0x54587f&&!this['_extensions'][_0x5b3a81['extensionName']]){const _0x10e9ff=this[_0x2cfac2(0x2ba)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2cfac2(0x29d));_0x203d0e(_0x10e9ff);return;}if(this[_0x2cfac2(0x223)]=(_0x13ba12[0x0]&0x80)===0x80,this[_0x2cfac2(0x1cd)]=_0x13ba12[0x0]&0xf,this[_0x2cfac2(0x2cc)]=_0x13ba12[0x1]&0x7f,this[_0x2cfac2(0x1cd)]===0x0){if(_0x54587f){const _0x23abc3=this[_0x2cfac2(0x2ba)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2cfac2(0x29d));_0x203d0e(_0x23abc3);return;}if(!this[_0x2cfac2(0x28c)]){const _0x478e15=this['createError'](RangeError,_0x2cfac2(0x2ac),!0x0,0x3ea,_0x2cfac2(0x28e));_0x203d0e(_0x478e15);return;}this['_opcode']=this[_0x2cfac2(0x28c)];}else{if(this[_0x2cfac2(0x1cd)]===0x1||this[_0x2cfac2(0x1cd)]===0x2){if(this['_fragmented']){const _0x2f3412=this[_0x2cfac2(0x2ba)](RangeError,_0x2cfac2(0x183)+this[_0x2cfac2(0x1cd)],!0x0,0x3ea,_0x2cfac2(0x28e));_0x203d0e(_0x2f3412);return;}this['_compressed']=_0x54587f;}else{if(this[_0x2cfac2(0x1cd)]>0x7&&this[_0x2cfac2(0x1cd)]<0xb){if(!this[_0x2cfac2(0x223)]){const _0x36ced8=this[_0x2cfac2(0x2ba)](RangeError,_0x2cfac2(0x2b1),!0x0,0x3ea,_0x2cfac2(0x1cb));_0x203d0e(_0x36ced8);return;}if(_0x54587f){const _0x1693de=this[_0x2cfac2(0x2ba)](RangeError,_0x2cfac2(0x184),!0x0,0x3ea,_0x2cfac2(0x29d));_0x203d0e(_0x1693de);return;}if(this['_payloadLength']>0x7d||this[_0x2cfac2(0x1cd)]===0x8&&this[_0x2cfac2(0x2cc)]===0x1){const _0xf9485c=this[_0x2cfac2(0x2ba)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x2cfac2(0x2cc)],!0x0,0x3ea,_0x2cfac2(0x1bb));_0x203d0e(_0xf9485c);return;}}else{const _0x5a5314=this[_0x2cfac2(0x2ba)](RangeError,_0x2cfac2(0x183)+this['_opcode'],!0x0,0x3ea,_0x2cfac2(0x28e));_0x203d0e(_0x5a5314);return;}}}if(!this[_0x2cfac2(0x223)]&&!this[_0x2cfac2(0x28c)]&&(this['_fragmented']=this[_0x2cfac2(0x1cd)]),this[_0x2cfac2(0x295)]=(_0x13ba12[0x1]&0x80)===0x80,this[_0x2cfac2(0x164)]){if(!this[_0x2cfac2(0x295)]){const _0x338ca0=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x2cfac2(0x2a6));_0x203d0e(_0x338ca0);return;}}else{if(this[_0x2cfac2(0x295)]){const _0x5f43a1=this[_0x2cfac2(0x2ba)](RangeError,_0x2cfac2(0x150),!0x0,0x3ea,_0x2cfac2(0x1b2));_0x203d0e(_0x5f43a1);return;}}this[_0x2cfac2(0x2cc)]===0x7e?this['_state']=_0x1ed231:this[_0x2cfac2(0x2cc)]===0x7f?this[_0x2cfac2(0x18c)]=_0x2d29fa:this[_0x2cfac2(0x27c)](_0x203d0e);}[_0x1d5589(0x14f)](_0x4ac065){const _0x46bb0b=_0x1d5589;if(this[_0x46bb0b(0x289)]<0x2){this[_0x46bb0b(0x146)]=!0x1;return;}this[_0x46bb0b(0x2cc)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x46bb0b(0x27c)](_0x4ac065);}['getPayloadLength64'](_0x59ea52){const _0xdf4bc9=_0x1d5589;if(this[_0xdf4bc9(0x289)]<0x8){this[_0xdf4bc9(0x146)]=!0x1;return;}const _0x5addd3=this[_0xdf4bc9(0x219)](0x8),_0x35010a=_0x5addd3[_0xdf4bc9(0x1ce)](0x0);if(_0x35010a>Math['pow'](0x2,0x15)-0x1){const _0x22cd13=this[_0xdf4bc9(0x2ba)](RangeError,_0xdf4bc9(0x251),!0x1,0x3f1,_0xdf4bc9(0x275));_0x59ea52(_0x22cd13);return;}this[_0xdf4bc9(0x2cc)]=_0x35010a*Math[_0xdf4bc9(0x27a)](0x2,0x20)+_0x5addd3['readUInt32BE'](0x4),this[_0xdf4bc9(0x27c)](_0x59ea52);}[_0x1d5589(0x27c)](_0x1619d0){const _0x4a82c8=_0x1d5589;if(this['_payloadLength']&&this[_0x4a82c8(0x1cd)]<0x8&&(this[_0x4a82c8(0x215)]+=this[_0x4a82c8(0x2cc)],this[_0x4a82c8(0x215)]>this[_0x4a82c8(0x25e)]&&this[_0x4a82c8(0x25e)]>0x0)){const _0x52139e=this[_0x4a82c8(0x2ba)](RangeError,_0x4a82c8(0x21e),!0x1,0x3f1,_0x4a82c8(0x2d5));_0x1619d0(_0x52139e);return;}this['_masked']?this[_0x4a82c8(0x18c)]=_0x5af363:this[_0x4a82c8(0x18c)]=_0x68e6b9;}[_0x1d5589(0x1fe)](){const _0x597043=_0x1d5589;if(this[_0x597043(0x289)]<0x4){this[_0x597043(0x146)]=!0x1;return;}this[_0x597043(0x170)]=this['consume'](0x4),this[_0x597043(0x18c)]=_0x68e6b9;}[_0x1d5589(0x235)](_0x28b198){const _0x4213dc=_0x1d5589;let _0x1b85c3=_0x27db89;if(this[_0x4213dc(0x2cc)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x4213dc(0x146)]=!0x1;return;}_0x1b85c3=this[_0x4213dc(0x219)](this[_0x4213dc(0x2cc)]),this[_0x4213dc(0x295)]&&(this['_mask'][0x0]|this[_0x4213dc(0x170)][0x1]|this[_0x4213dc(0x170)][0x2]|this['_mask'][0x3])!==0x0&&_0x42d6bb(_0x1b85c3,this[_0x4213dc(0x170)]);}if(this[_0x4213dc(0x1cd)]>0x7){this[_0x4213dc(0x279)](_0x1b85c3,_0x28b198);return;}if(this[_0x4213dc(0x253)]){this['_state']=_0x303206,this[_0x4213dc(0x1e8)](_0x1b85c3,_0x28b198);return;}_0x1b85c3['length']&&(this[_0x4213dc(0x1f6)]=this[_0x4213dc(0x215)],this[_0x4213dc(0x21d)]['push'](_0x1b85c3)),this[_0x4213dc(0x156)](_0x28b198);}[_0x1d5589(0x1e8)](_0x1a22be,_0x9ffea0){const _0x3882ee=_0x1d5589;this[_0x3882ee(0x1fc)][_0x5b3a81[_0x3882ee(0x14b)]][_0x3882ee(0x1e8)](_0x1a22be,this[_0x3882ee(0x223)],(_0x3eff30,_0x114c54)=>{const _0x8bdd4b=_0x3882ee;if(_0x3eff30)return _0x9ffea0(_0x3eff30);if(_0x114c54[_0x8bdd4b(0x209)]){if(this[_0x8bdd4b(0x1f6)]+=_0x114c54[_0x8bdd4b(0x209)],this['_messageLength']>this['_maxPayload']&&this[_0x8bdd4b(0x25e)]>0x0){const _0x436ae1=this[_0x8bdd4b(0x2ba)](RangeError,_0x8bdd4b(0x21e),!0x1,0x3f1,_0x8bdd4b(0x2d5));_0x9ffea0(_0x436ae1);return;}this[_0x8bdd4b(0x21d)][_0x8bdd4b(0x26d)](_0x114c54);}this[_0x8bdd4b(0x156)](_0x9ffea0),this['_state']===_0x33b0d6&&this[_0x8bdd4b(0x2e0)](_0x9ffea0);});}['dataMessage'](_0x198b9d){const _0x2981d5=_0x1d5589;if(!this['_fin']){this[_0x2981d5(0x18c)]=_0x33b0d6;return;}const _0xdf0d87=this['_messageLength'],_0x525a6c=this[_0x2981d5(0x21d)];if(this['_totalPayloadLength']=0x0,this[_0x2981d5(0x1f6)]=0x0,this[_0x2981d5(0x28c)]=0x0,this[_0x2981d5(0x21d)]=[],this[_0x2981d5(0x1cd)]===0x2){let _0x3e8b22;this[_0x2981d5(0x1b0)]==='nodebuffer'?_0x3e8b22=_0xfd756b(_0x525a6c,_0xdf0d87):this['_binaryType']==='arraybuffer'?_0x3e8b22=_0xe017b9(_0xfd756b(_0x525a6c,_0xdf0d87)):this['_binaryType']==='blob'?_0x3e8b22=new Blob(_0x525a6c):_0x3e8b22=_0x525a6c,this[_0x2981d5(0x16f)]?(this[_0x2981d5(0x16d)](_0x2981d5(0x266),_0x3e8b22,!0x0),this[_0x2981d5(0x18c)]=_0x33b0d6):(this['_state']=_0x535973,setImmediate(()=>{const _0x5e33ac=_0x2981d5;this[_0x5e33ac(0x16d)](_0x5e33ac(0x266),_0x3e8b22,!0x0),this['_state']=_0x33b0d6,this['startLoop'](_0x198b9d);}));}else{const _0x32bc9e=_0xfd756b(_0x525a6c,_0xdf0d87);if(!this[_0x2981d5(0x221)]&&!_0x3014fa(_0x32bc9e)){const _0x486054=this[_0x2981d5(0x2ba)](Error,_0x2981d5(0x243),!0x0,0x3ef,_0x2981d5(0x160));_0x198b9d(_0x486054);return;}this[_0x2981d5(0x18c)]===_0x303206||this['_allowSynchronousEvents']?(this[_0x2981d5(0x16d)](_0x2981d5(0x266),_0x32bc9e,!0x1),this[_0x2981d5(0x18c)]=_0x33b0d6):(this[_0x2981d5(0x18c)]=_0x535973,setImmediate(()=>{const _0x4c7e3b=_0x2981d5;this['emit'](_0x4c7e3b(0x266),_0x32bc9e,!0x1),this[_0x4c7e3b(0x18c)]=_0x33b0d6,this['startLoop'](_0x198b9d);}));}}['controlMessage'](_0x1ce120,_0x1e71db){const _0x23d96b=_0x1d5589;if(this[_0x23d96b(0x1cd)]===0x8){if(_0x1ce120[_0x23d96b(0x209)]===0x0)this[_0x23d96b(0x146)]=!0x1,this[_0x23d96b(0x16d)](_0x23d96b(0x16b),0x3ed,_0x27db89),this[_0x23d96b(0x1d1)]();else{const _0x416609=_0x1ce120['readUInt16BE'](0x0);if(!_0x4783a7(_0x416609)){const _0x1ceffb=this[_0x23d96b(0x2ba)](RangeError,_0x23d96b(0x1f4)+_0x416609,!0x0,0x3ea,_0x23d96b(0x274));_0x1e71db(_0x1ceffb);return;}const _0x567eee=new _0x19e760(_0x1ce120['buffer'],_0x1ce120[_0x23d96b(0x1e4)]+0x2,_0x1ce120[_0x23d96b(0x209)]-0x2);if(!this['_skipUTF8Validation']&&!_0x3014fa(_0x567eee)){const _0x56f6a8=this[_0x23d96b(0x2ba)](Error,_0x23d96b(0x243),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1e71db(_0x56f6a8);return;}this[_0x23d96b(0x146)]=!0x1,this[_0x23d96b(0x16d)]('conclude',_0x416609,_0x567eee),this['end']();}this['_state']=_0x33b0d6;return;}this['_allowSynchronousEvents']?(this[_0x23d96b(0x16d)](this['_opcode']===0x9?_0x23d96b(0x15f):'pong',_0x1ce120),this[_0x23d96b(0x18c)]=_0x33b0d6):(this['_state']=_0x535973,setImmediate(()=>{const _0x4b986e=_0x23d96b;this[_0x4b986e(0x16d)](this[_0x4b986e(0x1cd)]===0x9?_0x4b986e(0x15f):_0x4b986e(0x192),_0x1ce120),this['_state']=_0x33b0d6,this['startLoop'](_0x1e71db);}));}['createError'](_0x91b129,_0x5235e8,_0x2ecfa3,_0xe60c9d,_0x24d4ad){const _0x1b0a7f=_0x1d5589;this['_loop']=!0x1,this[_0x1b0a7f(0x227)]=!0x0;const _0x1f7114=new _0x91b129(_0x2ecfa3?'Invalid\x20WebSocket\x20frame:\x20'+_0x5235e8:_0x5235e8);return Error[_0x1b0a7f(0x1ed)](_0x1f7114,this[_0x1b0a7f(0x2ba)]),_0x1f7114['code']=_0x24d4ad,_0x1f7114[_0x3a0360]=_0xe60c9d,_0x1f7114;}}return Se=_0x15d611,Se;}var Ee,Qe;function ut(){const _0x3ac81f=_0x5d630b;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x349c32}=_0x394050,{randomFillSync:_0x4693c5}=_0x41d258,_0x4d9698=ce(),{EMPTY_BUFFER:_0x5ce658,kWebSocket:_0x22f9f3,NOOP:_0x3e9ed9}=V(),{isBlob:_0x3277dc,isValidStatusCode:_0x335f64}=ie(),{mask:_0x59e981,toBuffer:_0x4fa5a1}=fe(),_0x1f313c=Symbol(_0x3ac81f(0x1e5)),_0x1f521d=Buffer[_0x3ac81f(0x1da)](0x4),_0x467279=0x8*0x400;let _0x3caabf,_0x169edc=_0x467279;const _0x211516=0x0,_0x16b6af=0x1,_0x2d33b2=0x2;class _0x32f230{constructor(_0x483e69,_0x4df9d4,_0xf82ddd){const _0x5ddc0b=_0x3ac81f;this['_extensions']=_0x4df9d4||{},_0xf82ddd&&(this[_0x5ddc0b(0x23e)]=_0xf82ddd,this[_0x5ddc0b(0x1a7)]=Buffer[_0x5ddc0b(0x1da)](0x4)),this['_socket']=_0x483e69,this[_0x5ddc0b(0x26e)]=!0x0,this[_0x5ddc0b(0x2b9)]=!0x1,this[_0x5ddc0b(0x289)]=0x0,this[_0x5ddc0b(0x1d8)]=[],this[_0x5ddc0b(0x18c)]=_0x211516,this[_0x5ddc0b(0x29a)]=_0x3e9ed9,this[_0x22f9f3]=void 0x0;}static[_0x3ac81f(0x191)](_0x11ac2b,_0x4abfa6){const _0x2c850e=_0x3ac81f;let _0x3e9f9d,_0xdc62c0=!0x1,_0x3aea33=0x2,_0x3b21a7=!0x1;_0x4abfa6[_0x2c850e(0x158)]&&(_0x3e9f9d=_0x4abfa6[_0x2c850e(0x24c)]||_0x1f521d,_0x4abfa6[_0x2c850e(0x17b)]?_0x4abfa6[_0x2c850e(0x17b)](_0x3e9f9d):(_0x169edc===_0x467279&&(_0x3caabf===void 0x0&&(_0x3caabf=Buffer['alloc'](_0x467279)),_0x4693c5(_0x3caabf,0x0,_0x467279),_0x169edc=0x0),_0x3e9f9d[0x0]=_0x3caabf[_0x169edc++],_0x3e9f9d[0x1]=_0x3caabf[_0x169edc++],_0x3e9f9d[0x2]=_0x3caabf[_0x169edc++],_0x3e9f9d[0x3]=_0x3caabf[_0x169edc++]),_0x3b21a7=(_0x3e9f9d[0x0]|_0x3e9f9d[0x1]|_0x3e9f9d[0x2]|_0x3e9f9d[0x3])===0x0,_0x3aea33=0x6);let _0x52fc9c;typeof _0x11ac2b==_0x2c850e(0x154)?(!_0x4abfa6[_0x2c850e(0x158)]||_0x3b21a7)&&_0x4abfa6[_0x1f313c]!==void 0x0?_0x52fc9c=_0x4abfa6[_0x1f313c]:(_0x11ac2b=Buffer[_0x2c850e(0x278)](_0x11ac2b),_0x52fc9c=_0x11ac2b[_0x2c850e(0x209)]):(_0x52fc9c=_0x11ac2b[_0x2c850e(0x209)],_0xdc62c0=_0x4abfa6['mask']&&_0x4abfa6[_0x2c850e(0x167)]&&!_0x3b21a7);let _0x41ee54=_0x52fc9c;_0x52fc9c>=0x10000?(_0x3aea33+=0x8,_0x41ee54=0x7f):_0x52fc9c>0x7d&&(_0x3aea33+=0x2,_0x41ee54=0x7e);const _0x32d710=Buffer[_0x2c850e(0x14d)](_0xdc62c0?_0x52fc9c+_0x3aea33:_0x3aea33);return _0x32d710[0x0]=_0x4abfa6[_0x2c850e(0x136)]?_0x4abfa6[_0x2c850e(0x29c)]|0x80:_0x4abfa6[_0x2c850e(0x29c)],_0x4abfa6[_0x2c850e(0x288)]&&(_0x32d710[0x0]|=0x40),_0x32d710[0x1]=_0x41ee54,_0x41ee54===0x7e?_0x32d710[_0x2c850e(0x2c4)](_0x52fc9c,0x2):_0x41ee54===0x7f&&(_0x32d710[0x2]=_0x32d710[0x3]=0x0,_0x32d710[_0x2c850e(0x286)](_0x52fc9c,0x4,0x6)),_0x4abfa6[_0x2c850e(0x158)]?(_0x32d710[0x1]|=0x80,_0x32d710[_0x3aea33-0x4]=_0x3e9f9d[0x0],_0x32d710[_0x3aea33-0x3]=_0x3e9f9d[0x1],_0x32d710[_0x3aea33-0x2]=_0x3e9f9d[0x2],_0x32d710[_0x3aea33-0x1]=_0x3e9f9d[0x3],_0x3b21a7?[_0x32d710,_0x11ac2b]:_0xdc62c0?(_0x59e981(_0x11ac2b,_0x3e9f9d,_0x32d710,_0x3aea33,_0x52fc9c),[_0x32d710]):(_0x59e981(_0x11ac2b,_0x3e9f9d,_0x11ac2b,0x0,_0x52fc9c),[_0x32d710,_0x11ac2b])):[_0x32d710,_0x11ac2b];}['close'](_0x281fe3,_0x12826a,_0x42bd47,_0x471623){const _0x5179cd=_0x3ac81f;let _0x36735c;if(_0x281fe3===void 0x0)_0x36735c=_0x5ce658;else{if(typeof _0x281fe3!=_0x5179cd(0x25b)||!_0x335f64(_0x281fe3))throw new TypeError(_0x5179cd(0x15a));if(_0x12826a===void 0x0||!_0x12826a[_0x5179cd(0x209)])_0x36735c=Buffer[_0x5179cd(0x14d)](0x2),_0x36735c[_0x5179cd(0x2c4)](_0x281fe3,0x0);else{const _0xa77eed=Buffer[_0x5179cd(0x2ce)](_0x12826a);if(_0xa77eed>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x36735c=Buffer[_0x5179cd(0x14d)](0x2+_0xa77eed),_0x36735c[_0x5179cd(0x2c4)](_0x281fe3,0x0),typeof _0x12826a==_0x5179cd(0x154)?_0x36735c[_0x5179cd(0x222)](_0x12826a,0x2):_0x36735c[_0x5179cd(0x1ae)](_0x12826a,0x2);}}const _0xf562b2={[_0x1f313c]:_0x36735c[_0x5179cd(0x209)],'fin':!0x0,'generateMask':this[_0x5179cd(0x23e)],'mask':_0x42bd47,'maskBuffer':this[_0x5179cd(0x1a7)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x211516?this[_0x5179cd(0x2be)]([this[_0x5179cd(0x13a)],_0x36735c,!0x1,_0xf562b2,_0x471623]):this['sendFrame'](_0x32f230['frame'](_0x36735c,_0xf562b2),_0x471623);}[_0x3ac81f(0x15f)](_0x34f236,_0x105450,_0x33f94b){const _0xb49125=_0x3ac81f;let _0x276945,_0x5308e6;if(typeof _0x34f236==_0xb49125(0x154)?(_0x276945=Buffer[_0xb49125(0x2ce)](_0x34f236),_0x5308e6=!0x1):_0x3277dc(_0x34f236)?(_0x276945=_0x34f236[_0xb49125(0x166)],_0x5308e6=!0x1):(_0x34f236=_0x4fa5a1(_0x34f236),_0x276945=_0x34f236[_0xb49125(0x209)],_0x5308e6=_0x4fa5a1[_0xb49125(0x167)]),_0x276945>0x7d)throw new RangeError(_0xb49125(0x20d));const _0xb5a851={[_0x1f313c]:_0x276945,'fin':!0x0,'generateMask':this[_0xb49125(0x23e)],'mask':_0x105450,'maskBuffer':this[_0xb49125(0x1a7)],'opcode':0x9,'readOnly':_0x5308e6,'rsv1':!0x1};_0x3277dc(_0x34f236)?this[_0xb49125(0x18c)]!==_0x211516?this['enqueue']([this['getBlobData'],_0x34f236,!0x1,_0xb5a851,_0x33f94b]):this[_0xb49125(0x17f)](_0x34f236,!0x1,_0xb5a851,_0x33f94b):this[_0xb49125(0x18c)]!==_0x211516?this[_0xb49125(0x2be)]([this['dispatch'],_0x34f236,!0x1,_0xb5a851,_0x33f94b]):this['sendFrame'](_0x32f230[_0xb49125(0x191)](_0x34f236,_0xb5a851),_0x33f94b);}[_0x3ac81f(0x192)](_0x5c8a3b,_0x47eb3f,_0x32fa32){const _0xc02850=_0x3ac81f;let _0x1cd148,_0x558797;if(typeof _0x5c8a3b=='string'?(_0x1cd148=Buffer[_0xc02850(0x2ce)](_0x5c8a3b),_0x558797=!0x1):_0x3277dc(_0x5c8a3b)?(_0x1cd148=_0x5c8a3b[_0xc02850(0x166)],_0x558797=!0x1):(_0x5c8a3b=_0x4fa5a1(_0x5c8a3b),_0x1cd148=_0x5c8a3b[_0xc02850(0x209)],_0x558797=_0x4fa5a1['readOnly']),_0x1cd148>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x581e87={[_0x1f313c]:_0x1cd148,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x47eb3f,'maskBuffer':this[_0xc02850(0x1a7)],'opcode':0xa,'readOnly':_0x558797,'rsv1':!0x1};_0x3277dc(_0x5c8a3b)?this['_state']!==_0x211516?this[_0xc02850(0x2be)]([this[_0xc02850(0x17f)],_0x5c8a3b,!0x1,_0x581e87,_0x32fa32]):this[_0xc02850(0x17f)](_0x5c8a3b,!0x1,_0x581e87,_0x32fa32):this[_0xc02850(0x18c)]!==_0x211516?this['enqueue']([this[_0xc02850(0x13a)],_0x5c8a3b,!0x1,_0x581e87,_0x32fa32]):this[_0xc02850(0x277)](_0x32f230[_0xc02850(0x191)](_0x5c8a3b,_0x581e87),_0x32fa32);}['send'](_0x5ca9cd,_0x852205,_0x8fd1f9){const _0x176938=_0x3ac81f,_0x50040f=this['_extensions'][_0x4d9698[_0x176938(0x14b)]];let _0x4c1c6c=_0x852205['binary']?0x2:0x1,_0x40813f=_0x852205[_0x176938(0x1e6)],_0x6dfdc5,_0x47d206;typeof _0x5ca9cd==_0x176938(0x154)?(_0x6dfdc5=Buffer[_0x176938(0x2ce)](_0x5ca9cd),_0x47d206=!0x1):_0x3277dc(_0x5ca9cd)?(_0x6dfdc5=_0x5ca9cd[_0x176938(0x166)],_0x47d206=!0x1):(_0x5ca9cd=_0x4fa5a1(_0x5ca9cd),_0x6dfdc5=_0x5ca9cd['length'],_0x47d206=_0x4fa5a1[_0x176938(0x167)]),this['_firstFragment']?(this[_0x176938(0x26e)]=!0x1,_0x40813f&&_0x50040f&&_0x50040f[_0x176938(0x1d4)][_0x50040f['_isServer']?_0x176938(0x1b5):'client_no_context_takeover']&&(_0x40813f=_0x6dfdc5>=_0x50040f[_0x176938(0x182)]),this[_0x176938(0x2b9)]=_0x40813f):(_0x40813f=!0x1,_0x4c1c6c=0x0),_0x852205[_0x176938(0x136)]&&(this['_firstFragment']=!0x0);const _0x2c9d21={[_0x1f313c]:_0x6dfdc5,'fin':_0x852205[_0x176938(0x136)],'generateMask':this[_0x176938(0x23e)],'mask':_0x852205[_0x176938(0x158)],'maskBuffer':this['_maskBuffer'],'opcode':_0x4c1c6c,'readOnly':_0x47d206,'rsv1':_0x40813f};_0x3277dc(_0x5ca9cd)?this['_state']!==_0x211516?this[_0x176938(0x2be)]([this['getBlobData'],_0x5ca9cd,this[_0x176938(0x2b9)],_0x2c9d21,_0x8fd1f9]):this['getBlobData'](_0x5ca9cd,this['_compress'],_0x2c9d21,_0x8fd1f9):this[_0x176938(0x18c)]!==_0x211516?this[_0x176938(0x2be)]([this[_0x176938(0x13a)],_0x5ca9cd,this['_compress'],_0x2c9d21,_0x8fd1f9]):this[_0x176938(0x13a)](_0x5ca9cd,this[_0x176938(0x2b9)],_0x2c9d21,_0x8fd1f9);}['getBlobData'](_0x489115,_0x3bfe70,_0x437e6b,_0x380a57){const _0xaaa966=_0x3ac81f;this[_0xaaa966(0x289)]+=_0x437e6b[_0x1f313c],this[_0xaaa966(0x18c)]=_0x2d33b2,_0x489115[_0xaaa966(0x19f)]()[_0xaaa966(0x26b)](_0x18a77e=>{const _0xd85045=_0xaaa966;if(this[_0xd85045(0x296)][_0xd85045(0x1ba)]){const _0x213860=new Error(_0xd85045(0x1d6));process[_0xd85045(0x206)](_0x5a0b2f,this,_0x213860,_0x380a57);return;}this['_bufferedBytes']-=_0x437e6b[_0x1f313c];const _0x2a7bbf=_0x4fa5a1(_0x18a77e);_0x3bfe70?this['dispatch'](_0x2a7bbf,_0x3bfe70,_0x437e6b,_0x380a57):(this[_0xd85045(0x18c)]=_0x211516,this[_0xd85045(0x277)](_0x32f230[_0xd85045(0x191)](_0x2a7bbf,_0x437e6b),_0x380a57),this[_0xd85045(0x143)]());})[_0xaaa966(0x242)](_0x54d763=>{const _0x4ccb09=_0xaaa966;process[_0x4ccb09(0x206)](_0x33e74d,this,_0x54d763,_0x380a57);});}['dispatch'](_0x40f0a7,_0x34c5fd,_0x6a2593,_0x5a143){const _0x384b28=_0x3ac81f;if(!_0x34c5fd){this[_0x384b28(0x277)](_0x32f230[_0x384b28(0x191)](_0x40f0a7,_0x6a2593),_0x5a143);return;}const _0x5cc0d8=this[_0x384b28(0x1fc)][_0x4d9698['extensionName']];this[_0x384b28(0x289)]+=_0x6a2593[_0x1f313c],this[_0x384b28(0x18c)]=_0x16b6af,_0x5cc0d8[_0x384b28(0x1e6)](_0x40f0a7,_0x6a2593[_0x384b28(0x136)],(_0x2b96c7,_0x2cc016)=>{const _0x4ae493=_0x384b28;if(this['_socket'][_0x4ae493(0x1ba)]){const _0x294a85=new Error(_0x4ae493(0x2a3));_0x5a0b2f(this,_0x294a85,_0x5a143);return;}this[_0x4ae493(0x289)]-=_0x6a2593[_0x1f313c],this['_state']=_0x211516,_0x6a2593[_0x4ae493(0x167)]=!0x1,this[_0x4ae493(0x277)](_0x32f230[_0x4ae493(0x191)](_0x2cc016,_0x6a2593),_0x5a143),this['dequeue']();});}['dequeue'](){const _0x4ef475=_0x3ac81f;for(;this[_0x4ef475(0x18c)]===_0x211516&&this[_0x4ef475(0x1d8)][_0x4ef475(0x209)];){const _0x57a0e3=this[_0x4ef475(0x1d8)][_0x4ef475(0x2c2)]();this[_0x4ef475(0x289)]-=_0x57a0e3[0x3][_0x1f313c],Reflect[_0x4ef475(0x2a0)](_0x57a0e3[0x0],this,_0x57a0e3[_0x4ef475(0x22c)](0x1));}}['enqueue'](_0x49d581){const _0x5c9aec=_0x3ac81f;this[_0x5c9aec(0x289)]+=_0x49d581[0x3][_0x1f313c],this['_queue'][_0x5c9aec(0x26d)](_0x49d581);}[_0x3ac81f(0x277)](_0x5b021b,_0x462ea6){const _0x2c2c48=_0x3ac81f;_0x5b021b[_0x2c2c48(0x209)]===0x2?(this[_0x2c2c48(0x296)]['cork'](),this[_0x2c2c48(0x296)][_0x2c2c48(0x222)](_0x5b021b[0x0]),this[_0x2c2c48(0x296)][_0x2c2c48(0x222)](_0x5b021b[0x1],_0x462ea6),this['_socket'][_0x2c2c48(0x254)]()):this[_0x2c2c48(0x296)][_0x2c2c48(0x222)](_0x5b021b[0x0],_0x462ea6);}}Ee=_0x32f230;function _0x5a0b2f(_0x471a3c,_0x416463,_0x4b13c7){const _0x5aa625=_0x3ac81f;typeof _0x4b13c7==_0x5aa625(0x1c9)&&_0x4b13c7(_0x416463);for(let _0x5e8575=0x0;_0x5e8575<_0x471a3c[_0x5aa625(0x1d8)][_0x5aa625(0x209)];_0x5e8575++){const _0x28d97d=_0x471a3c[_0x5aa625(0x1d8)][_0x5e8575],_0x205706=_0x28d97d[_0x28d97d[_0x5aa625(0x209)]-0x1];typeof _0x205706=='function'&&_0x205706(_0x416463);}}function _0x33e74d(_0x4678ec,_0xaa220e,_0x53e7bb){const _0x597dd4=_0x3ac81f;_0x5a0b2f(_0x4678ec,_0xaa220e,_0x53e7bb),_0x4678ec[_0x597dd4(0x29a)](_0xaa220e);}return Ee;}function _0x4398(){const _0x6d261e=['handleEvent','toString','dispatch','Unsupported\x20protocol\x20version:\x20','kError','verifyClient','_inflate','getPayloadLength64','_buffers','zlibDeflateOptions','sec-websocket-version','dequeue','upgrade','pluginName','_loop','_closeFrameSent','ws+unix:','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','bind','extensionName','resume','allocUnsafe','collaboration-client-node.config','getPayloadLength16','MASK\x20must\x20be\x20clear','Invalid\x20Upgrade\x20header','cookie','allowSynchronousEvents','string','http:','dataMessage','headers','mask','sec-websocket-protocol','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','\x22\x20subprotocol\x20is\x20duplicated','buffer','_decompress','ping','WS_ERR_INVALID_UTF8','once','getOwnPropertyDescriptor','method','_isServer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','size','readOnly','_doCreateSocket','_originalSecure','getConfig','conclude','protocolVersion','emit','authorized','_allowSynchronousEvents','_mask','abort','includes','needDrain','request','accept','toLowerCase','cleanup','pending','next','extensions','generateMask','isBuffer','parse','HTTP/1.1\x20101\x20Switching\x20Protocols','getBlobData','map','__esModule','_threshold','invalid\x20opcode\x20','RSV1\x20must\x20be\x20clear','threshold','reset','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','clientNoContextTakeover','protocol','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','base64','_state','_removeListeners','digest','exports','onStarting','frame','pong','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','createServer','test','has','kMessage','callback','19075aEuEYZ','listenerCount','username','Sec-WebSocket-Protocol','HTTP/1.1\x20','_originalHostOrSocketPath','arrayBuffer','pipe','_configService','WS_ERR_UNEXPECTED_RSV_2_3','normalizeParams','Unexpected\x20server\x20response:\x20','url','_shouldEmitClose','_maskBuffer','toStringTag','options','Opening\x20handshake\x20has\x20timed\x20out','_write','createConnection','_closeMessage','set','hostname','_binaryType','prototype','WS_ERR_UNEXPECTED_MASK','sha1','indexOf','server_no_context_takeover','maxPayload','client_max_window_bits','writeHead','flush','destroyed','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Invalid\x20URL:\x20','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','port','152yZMvtY','_bufferedAmount','customHeaders','auth','_protocol','457500yCoaJh','writable','target','isInteger','_readableState','function','encrypted','WS_ERR_EXPECTED_FIN','followRedirects','_opcode','readUInt32BE','connect','unexpected-response','end','The\x20server\x20is\x20not\x20running','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','params','Cookie','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','statusCode','_queue','add','alloc','Z_DEFAULT_WINDOWBITS','175oZfBJb','text/html','CLOSED','Unexpected\x20character\x20at\x20index\x20','serverMaxWindowBits','wsClientError','server','kListener','byteOffset','kByteLength','compress','Sec-WebSocket-Extensions:\x20','decompress','hasOwnProperty','keys','status-code','client_no_context_takeover','captureStackTrace','removeListener','Z_SYNC_FLUSH','_autoPong','server_max_window_bits','_closeFrameReceived','defaultPort','invalid\x20status\x20code\x20','handleProtocols','_messageLength','_server','type','Maximum\x20redirects\x20exceeded','onmessage','Invalid\x20value\x20for\x20parameter\x20\x22','_extensions','binaryType','getMask','_readyState','kData','error','replace','createSocket','Invalid\x20Sec-WebSocket-Accept\x20header','_closeCode','nextTick','setNoDelay','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','length','handleUpgrade','wasClean','origin','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','total-length','offer','2923547HUyFQV','The\x20URL\x20contains\x20a\x20fragment\x20identifier','unshift','socket','delete','_totalPayloadLength','errorEmitted','Invalid\x20Sec-WebSocket-Extensions\x20header','concat','consume','setTimeout','Unexpected\x20end\x20of\x20input','code','_fragments','Max\x20payload\x20size\x20exceeded','create','zlibInflateOptions','_skipUTF8Validation','write','_fin','concurrencyLimit','completeUpgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_errored','_receiver','path','_httpService','sec-websocket-origin','slice','finish','clients','addEventListener','finishRequest','https:','perMessageDeflate','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','close','getData','pause','isArray','Server\x20sent\x20an\x20invalid\x20subprotocol','readable','Upgrade:\x20websocket','_closeTimer','Invalid\x20HTTP\x20method','join','_generateMask','connection','freeze','clientTracking','catch','invalid\x20UTF-8\x20sequence','kCode','_max_window_bits','Parameter\x20\x22','2313405DfGNeO','_options','dispose','sec-websocket-key','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','maskBuffer','value','registerHTTPInterceptor','find','STATUS_CODES','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','search','_compressed','uncork','\x0d\x0a\x0d\x0a','defineProperty','readyState','reason','Sec-WebSocket-Accept:\x20','bufferedAmount','number','open','shouldHandle','_maxPayload','clientMaxWindowBits','setSocket','CLOSING','WS_NO_UTF_8_VALIDATE','createInflateRaw','The\x20\x22','concurrency','message','destroy','permessage-deflate','call','emitClose','then','OPEN','push','_firstFragment','authorization','maxRedirects','Sec-WebSocket-Protocol:\x20','_redirects','_deflate','WS_ERR_INVALID_CLOSE_CODE','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','noServer','sendFrame','from','controlMessage','pow','buffers','haveLength','format','isPaused','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','env','serverNoContextTakeover','charCodeAt','_req','15474BQYFGI','send','writeUIntBE','fragments','rsv1','_bufferedBytes','Invalid\x20Sec-WebSocket-Protocol\x20header','websocket','_fragmented','\x22:\x20','WS_ERR_INVALID_OPCODE','Basic\x20','sec-websocket-accept','data','address','88NojPJx','pathname','_masked','_socket','kIsForOnEventAttribute','autoPong','_destroy','onerror','client','opcode','WS_ERR_UNEXPECTED_RSV_1','forEach','_paused','apply','password','kType','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','File','constructor','WS_ERR_EXPECTED_MASK','_errorEmitted','CONNECTING','getInfo','createDeflateRaw','servername','invalid\x20opcode\x200','acceptAsClient','11604qsaIIa','isServer','1799432cIhgxy','FIN\x20must\x20be\x20set','_read','skipUTF8Validation','Unknown\x20parameter\x20\x22','GET','host','_injector','object','_compress','createError','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','hash','The\x20URL\x27s\x20pathname\x20is\x20empty','enqueue','_writableState','objectMode','acceptAsServer','shift','listen','writeUInt16BE','removeAllListeners','isValidUTF8','10MLALMG','finished','_final','_sender','species','_payloadLength','_originalIpc','byteLength','onopen','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','isView','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','read','_registerDependencies','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WebSocket','endEmitted','listeners','13,\x208','startsWith','update','nodebuffer','terminate','redirect','_url','startLoop','socketPath','wss:','jobs','Connection:\x20Upgrade','construct','sec-websocket-extensions','onclose','default','fin','removeEventListener'];_0x4398=function(){return _0x6d261e;};return _0x4398();}var xe,Je;function zt(){const _0x563bd4=_0x5d630b;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x49699a,kListener:_0x2eaec0}=V(),_0x46f983=Symbol(_0x563bd4(0x244)),_0x3809c3=Symbol(_0x563bd4(0x200)),_0x2c8262=Symbol(_0x563bd4(0x13c)),_0x2129e0=Symbol(_0x563bd4(0x197)),_0x383929=Symbol('kReason'),_0x2bd458=Symbol('kTarget'),_0xaec687=Symbol(_0x563bd4(0x2a2)),_0x1fc7fd=Symbol('kWasClean');class _0x36dcac{constructor(_0x3c1c96){this[_0x2bd458]=null,this[_0xaec687]=_0x3c1c96;}get['target'](){return this[_0x2bd458];}get[_0x563bd4(0x1f8)](){return this[_0xaec687];}}Object[_0x563bd4(0x256)](_0x36dcac['prototype'],_0x563bd4(0x1c6),{'enumerable':!0x0}),Object[_0x563bd4(0x256)](_0x36dcac[_0x563bd4(0x1b1)],_0x563bd4(0x1f8),{'enumerable':!0x0});class _0x1f8329 extends _0x36dcac{constructor(_0x52f469,_0x14ff89={}){const _0x48170d=_0x563bd4;super(_0x52f469),this[_0x46f983]=_0x14ff89[_0x48170d(0x21c)]===void 0x0?0x0:_0x14ff89[_0x48170d(0x21c)],this[_0x383929]=_0x14ff89[_0x48170d(0x258)]===void 0x0?'':_0x14ff89[_0x48170d(0x258)],this[_0x1fc7fd]=_0x14ff89[_0x48170d(0x20b)]===void 0x0?!0x1:_0x14ff89[_0x48170d(0x20b)];}get[_0x563bd4(0x21c)](){return this[_0x46f983];}get[_0x563bd4(0x258)](){return this[_0x383929];}get[_0x563bd4(0x20b)](){return this[_0x1fc7fd];}}Object[_0x563bd4(0x256)](_0x1f8329[_0x563bd4(0x1b1)],'code',{'enumerable':!0x0}),Object[_0x563bd4(0x256)](_0x1f8329['prototype'],_0x563bd4(0x258),{'enumerable':!0x0}),Object[_0x563bd4(0x256)](_0x1f8329[_0x563bd4(0x1b1)],'wasClean',{'enumerable':!0x0});class _0x1038b7 extends _0x36dcac{constructor(_0x4a60ab,_0x2deb43={}){const _0xeeb0b3=_0x563bd4;super(_0x4a60ab),this[_0x2c8262]=_0x2deb43[_0xeeb0b3(0x201)]===void 0x0?null:_0x2deb43[_0xeeb0b3(0x201)],this[_0x2129e0]=_0x2deb43['message']===void 0x0?'':_0x2deb43['message'];}get['error'](){return this[_0x2c8262];}get[_0x563bd4(0x266)](){return this[_0x2129e0];}}Object[_0x563bd4(0x256)](_0x1038b7[_0x563bd4(0x1b1)],_0x563bd4(0x201),{'enumerable':!0x0}),Object[_0x563bd4(0x256)](_0x1038b7[_0x563bd4(0x1b1)],_0x563bd4(0x266),{'enumerable':!0x0});class _0x22236c extends _0x36dcac{constructor(_0x351427,_0x58d7ec={}){const _0xbc665e=_0x563bd4;super(_0x351427),this[_0x3809c3]=_0x58d7ec[_0xbc665e(0x291)]===void 0x0?null:_0x58d7ec[_0xbc665e(0x291)];}get[_0x563bd4(0x291)](){return this[_0x3809c3];}}Object[_0x563bd4(0x256)](_0x22236c[_0x563bd4(0x1b1)],_0x563bd4(0x291),{'enumerable':!0x0}),xe={'CloseEvent':_0x1f8329,'ErrorEvent':_0x1038b7,'Event':_0x36dcac,'EventTarget':{'addEventListener'(_0x4ce9b1,_0x3ede05,_0x323bb9={}){const _0x3357dd=_0x563bd4;for(const _0x1d864e of this[_0x3357dd(0x2d8)](_0x4ce9b1))if(!_0x323bb9[_0x49699a]&&_0x1d864e[_0x2eaec0]===_0x3ede05&&!_0x1d864e[_0x49699a])return;let _0x3067cd;if(_0x4ce9b1===_0x3357dd(0x266))_0x3067cd=function(_0x3ee4ce,_0x175ac9){const _0x44abb7=_0x3357dd,_0xc5f1c6=new _0x22236c(_0x44abb7(0x266),{'data':_0x175ac9?_0x3ee4ce:_0x3ee4ce[_0x44abb7(0x139)]()});_0xc5f1c6[_0x2bd458]=this,_0x25de09(_0x3ede05,this,_0xc5f1c6);};else{if(_0x4ce9b1==='close')_0x3067cd=function(_0x54b4a2,_0x2d0302){const _0x43cd89=_0x3357dd,_0x5d8a0e=new _0x1f8329(_0x43cd89(0x234),{'code':_0x54b4a2,'reason':_0x2d0302[_0x43cd89(0x139)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x5d8a0e[_0x2bd458]=this,_0x25de09(_0x3ede05,this,_0x5d8a0e);};else{if(_0x4ce9b1===_0x3357dd(0x201))_0x3067cd=function(_0x525b99){const _0x4c9db0=_0x3357dd,_0x44f24e=new _0x1038b7(_0x4c9db0(0x201),{'error':_0x525b99,'message':_0x525b99[_0x4c9db0(0x266)]});_0x44f24e[_0x2bd458]=this,_0x25de09(_0x3ede05,this,_0x44f24e);};else{if(_0x4ce9b1===_0x3357dd(0x25c))_0x3067cd=function(){const _0x47e9e8=_0x3357dd,_0x51274b=new _0x36dcac(_0x47e9e8(0x25c));_0x51274b[_0x2bd458]=this,_0x25de09(_0x3ede05,this,_0x51274b);};else return;}}}_0x3067cd[_0x49699a]=!!_0x323bb9[_0x49699a],_0x3067cd[_0x2eaec0]=_0x3ede05,_0x323bb9[_0x3357dd(0x161)]?this[_0x3357dd(0x161)](_0x4ce9b1,_0x3067cd):this['on'](_0x4ce9b1,_0x3067cd);},'removeEventListener'(_0x46a941,_0x44db75){const _0x187a25=_0x563bd4;for(const _0x2bd363 of this['listeners'](_0x46a941))if(_0x2bd363[_0x2eaec0]===_0x44db75&&!_0x2bd363[_0x49699a]){this[_0x187a25(0x1ee)](_0x46a941,_0x2bd363);break;}}},'MessageEvent':_0x22236c};function _0x25de09(_0x277659,_0x3816c3,_0x3e9508){const _0x226172=_0x563bd4;typeof _0x277659==_0x226172(0x2b8)&&_0x277659['handleEvent']?_0x277659[_0x226172(0x138)]['call'](_0x277659,_0x3e9508):_0x277659[_0x226172(0x269)](_0x3816c3,_0x3e9508);}return xe;}var be,et;function _0x1e14(_0x4e2323,_0xf7ebac){_0x4e2323=_0x4e2323-0x132;const _0x439887=_0x4398();let _0x1e14d6=_0x439887[_0x4e2323];return _0x1e14d6;}function dt(){if(et)return be;et=0x1;const {tokenChars:_0xbafa72}=ie();function _0x5b0650(_0x53448a,_0x2c8aff,_0x3aa569){const _0x160e59=_0x1e14;_0x53448a[_0x2c8aff]===void 0x0?_0x53448a[_0x2c8aff]=[_0x3aa569]:_0x53448a[_0x2c8aff][_0x160e59(0x26d)](_0x3aa569);}function _0x5aea9e(_0x269ac0){const _0x31bb16=_0x1e14,_0x500e9d=Object[_0x31bb16(0x21f)](null);let _0x4eff33=Object[_0x31bb16(0x21f)](null),_0x5b56a2=!0x1,_0x22068c=!0x1,_0x4996ec=!0x1,_0x352bc0,_0x3d7d1f,_0x8003f7=-0x1,_0x30b97a=-0x1,_0x37218d=-0x1,_0x526663=0x0;for(;_0x526663<_0x269ac0['length'];_0x526663++)if(_0x30b97a=_0x269ac0[_0x31bb16(0x282)](_0x526663),_0x352bc0===void 0x0){if(_0x37218d===-0x1&&_0xbafa72[_0x30b97a]===0x1)_0x8003f7===-0x1&&(_0x8003f7=_0x526663);else{if(_0x526663!==0x0&&(_0x30b97a===0x20||_0x30b97a===0x9))_0x37218d===-0x1&&_0x8003f7!==-0x1&&(_0x37218d=_0x526663);else{if(_0x30b97a===0x3b||_0x30b97a===0x2c){if(_0x8003f7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526663);_0x37218d===-0x1&&(_0x37218d=_0x526663);const _0x1315e4=_0x269ac0['slice'](_0x8003f7,_0x37218d);_0x30b97a===0x2c?(_0x5b0650(_0x500e9d,_0x1315e4,_0x4eff33),_0x4eff33=Object[_0x31bb16(0x21f)](null)):_0x352bc0=_0x1315e4,_0x8003f7=_0x37218d=-0x1;}else throw new SyntaxError(_0x31bb16(0x1df)+_0x526663);}}}else{if(_0x3d7d1f===void 0x0){if(_0x37218d===-0x1&&_0xbafa72[_0x30b97a]===0x1)_0x8003f7===-0x1&&(_0x8003f7=_0x526663);else{if(_0x30b97a===0x20||_0x30b97a===0x9)_0x37218d===-0x1&&_0x8003f7!==-0x1&&(_0x37218d=_0x526663);else{if(_0x30b97a===0x3b||_0x30b97a===0x2c){if(_0x8003f7===-0x1)throw new SyntaxError(_0x31bb16(0x1df)+_0x526663);_0x37218d===-0x1&&(_0x37218d=_0x526663),_0x5b0650(_0x4eff33,_0x269ac0[_0x31bb16(0x22c)](_0x8003f7,_0x37218d),!0x0),_0x30b97a===0x2c&&(_0x5b0650(_0x500e9d,_0x352bc0,_0x4eff33),_0x4eff33=Object[_0x31bb16(0x21f)](null),_0x352bc0=void 0x0),_0x8003f7=_0x37218d=-0x1;}else{if(_0x30b97a===0x3d&&_0x8003f7!==-0x1&&_0x37218d===-0x1)_0x3d7d1f=_0x269ac0['slice'](_0x8003f7,_0x526663),_0x8003f7=_0x37218d=-0x1;else throw new SyntaxError(_0x31bb16(0x1df)+_0x526663);}}}}else{if(_0x22068c){if(_0xbafa72[_0x30b97a]!==0x1)throw new SyntaxError(_0x31bb16(0x1df)+_0x526663);_0x8003f7===-0x1?_0x8003f7=_0x526663:_0x5b56a2||(_0x5b56a2=!0x0),_0x22068c=!0x1;}else{if(_0x4996ec){if(_0xbafa72[_0x30b97a]===0x1)_0x8003f7===-0x1&&(_0x8003f7=_0x526663);else{if(_0x30b97a===0x22&&_0x8003f7!==-0x1)_0x4996ec=!0x1,_0x37218d=_0x526663;else{if(_0x30b97a===0x5c)_0x22068c=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526663);}}}else{if(_0x30b97a===0x22&&_0x269ac0['charCodeAt'](_0x526663-0x1)===0x3d)_0x4996ec=!0x0;else{if(_0x37218d===-0x1&&_0xbafa72[_0x30b97a]===0x1)_0x8003f7===-0x1&&(_0x8003f7=_0x526663);else{if(_0x8003f7!==-0x1&&(_0x30b97a===0x20||_0x30b97a===0x9))_0x37218d===-0x1&&(_0x37218d=_0x526663);else{if(_0x30b97a===0x3b||_0x30b97a===0x2c){if(_0x8003f7===-0x1)throw new SyntaxError(_0x31bb16(0x1df)+_0x526663);_0x37218d===-0x1&&(_0x37218d=_0x526663);let _0x4dd4c9=_0x269ac0['slice'](_0x8003f7,_0x37218d);_0x5b56a2&&(_0x4dd4c9=_0x4dd4c9[_0x31bb16(0x202)](/\\/g,''),_0x5b56a2=!0x1),_0x5b0650(_0x4eff33,_0x3d7d1f,_0x4dd4c9),_0x30b97a===0x2c&&(_0x5b0650(_0x500e9d,_0x352bc0,_0x4eff33),_0x4eff33=Object['create'](null),_0x352bc0=void 0x0),_0x3d7d1f=void 0x0,_0x8003f7=_0x37218d=-0x1;}else throw new SyntaxError(_0x31bb16(0x1df)+_0x526663);}}}}}}}if(_0x8003f7===-0x1||_0x4996ec||_0x30b97a===0x20||_0x30b97a===0x9)throw new SyntaxError(_0x31bb16(0x21b));_0x37218d===-0x1&&(_0x37218d=_0x526663);const _0x143b70=_0x269ac0[_0x31bb16(0x22c)](_0x8003f7,_0x37218d);return _0x352bc0===void 0x0?_0x5b0650(_0x500e9d,_0x143b70,_0x4eff33):(_0x3d7d1f===void 0x0?_0x5b0650(_0x4eff33,_0x143b70,!0x0):_0x5b56a2?_0x5b0650(_0x4eff33,_0x3d7d1f,_0x143b70['replace'](/\\/g,'')):_0x5b0650(_0x4eff33,_0x3d7d1f,_0x143b70),_0x5b0650(_0x500e9d,_0x352bc0,_0x4eff33)),_0x500e9d;}function _0x20a007(_0x56677a){const _0x561b8b=_0x1e14;return Object[_0x561b8b(0x1ea)](_0x56677a)['map'](_0x52c2a2=>{const _0x4786c0=_0x561b8b;let _0x1c7fc1=_0x56677a[_0x52c2a2];return Array[_0x4786c0(0x237)](_0x1c7fc1)||(_0x1c7fc1=[_0x1c7fc1]),_0x1c7fc1[_0x4786c0(0x180)](_0x189319=>[_0x52c2a2]['concat'](Object[_0x4786c0(0x1ea)](_0x189319)[_0x4786c0(0x180)](_0x19a499=>{const _0x3f3913=_0x4786c0;let _0xe907bb=_0x189319[_0x19a499];return Array[_0x3f3913(0x237)](_0xe907bb)||(_0xe907bb=[_0xe907bb]),_0xe907bb[_0x3f3913(0x180)](_0x226130=>_0x226130===!0x0?_0x19a499:_0x19a499+'='+_0x226130)[_0x3f3913(0x23d)](';\x20');}))[_0x4786c0(0x23d)](';\x20'))[_0x4786c0(0x23d)](',\x20');})[_0x561b8b(0x23d)](',\x20');}return be={'format':_0x20a007,'parse':_0x5aea9e},be;}var we,tt;function Be(){const _0x269235=_0x5d630b;if(tt)return we;tt=0x1;const _0x2a2a07=_0x5f4824,_0x48f24=_0x269a91,_0x5160e8=_0x1e30e7,_0x316b55=_0x4017f5,_0x5b7703=_0x9eead5,{randomBytes:_0x57bcc6,createHash:_0x2bc161}=_0x41d258,{Duplex:_0x1a5066,Readable:_0x53f03}=_0x394050,{URL:_0x34c2c8}=_0x22e6a5,_0x1a0a90=ce(),_0x470a13=ht(),_0x281c92=ut(),{isBlob:_0x11141b}=ie(),{BINARY_TYPES:_0x5a1ede,EMPTY_BUFFER:_0x2009ef,GUID:_0x482886,kForOnEventAttribute:_0x3337a3,kListener:_0x3ac3cd,kStatusCode:_0x508a62,kWebSocket:_0x3b49f2,NOOP:_0x3ab6be}=V(),{EventTarget:{addEventListener:_0x303a08,removeEventListener:_0x4e42a4}}=zt(),{format:_0x16bea9,parse:_0x377725}=dt(),{toBuffer:_0x80ca21}=fe(),_0x502481=0x1e*0x3e8,_0xfc156d=Symbol('kAborted'),_0x2f9013=[0x8,0xd],_0x1669b4=[_0x269235(0x2a8),_0x269235(0x26c),_0x269235(0x261),_0x269235(0x1de)],_0xe58ec8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x423ac1 extends _0x2a2a07{constructor(_0x49ccfb,_0x266db0,_0x345063){const _0x1de3c4=_0x269235;super(),this[_0x1de3c4(0x1b0)]=_0x5a1ede[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x1de3c4(0x147)]=!0x1,this['_closeMessage']=_0x2009ef,this[_0x1de3c4(0x23b)]=null,this['_errorEmitted']=!0x1,this[_0x1de3c4(0x1fc)]={},this['_paused']=!0x1,this[_0x1de3c4(0x1c3)]='',this[_0x1de3c4(0x1ff)]=_0x423ac1[_0x1de3c4(0x2a8)],this['_receiver']=null,this[_0x1de3c4(0x2ca)]=null,this[_0x1de3c4(0x296)]=null,_0x49ccfb!==null?(this['_bufferedAmount']=0x0,this[_0x1de3c4(0x164)]=!0x1,this[_0x1de3c4(0x272)]=0x0,_0x266db0===void 0x0?_0x266db0=[]:Array[_0x1de3c4(0x237)](_0x266db0)||(typeof _0x266db0==_0x1de3c4(0x2b8)&&_0x266db0!==null?(_0x345063=_0x266db0,_0x266db0=[]):_0x266db0=[_0x266db0]),_0x3bec2c(this,_0x49ccfb,_0x266db0,_0x345063)):(this[_0x1de3c4(0x1f0)]=_0x345063[_0x1de3c4(0x298)],this[_0x1de3c4(0x164)]=!0x0);}get[_0x269235(0x1fd)](){return this['_binaryType'];}set[_0x269235(0x1fd)](_0x53e342){const _0x1305b6=_0x269235;_0x5a1ede[_0x1305b6(0x172)](_0x53e342)&&(this['_binaryType']=_0x53e342,this['_receiver']&&(this[_0x1305b6(0x228)]['_binaryType']=_0x53e342));}get[_0x269235(0x25a)](){const _0xd1d760=_0x269235;return this[_0xd1d760(0x296)]?this[_0xd1d760(0x296)][_0xd1d760(0x2bf)][_0xd1d760(0x209)]+this['_sender'][_0xd1d760(0x289)]:this[_0xd1d760(0x1c0)];}get[_0x269235(0x17a)](){const _0x18f158=_0x269235;return Object[_0x18f158(0x1ea)](this[_0x18f158(0x1fc)])['join']();}get[_0x269235(0x27e)](){const _0x4fbbca=_0x269235;return this[_0x4fbbca(0x29f)];}get[_0x269235(0x134)](){return null;}get['onerror'](){return null;}get[_0x269235(0x2cf)](){return null;}get[_0x269235(0x1fa)](){return null;}get[_0x269235(0x189)](){const _0x33ba85=_0x269235;return this[_0x33ba85(0x1c3)];}get[_0x269235(0x257)](){const _0x8c9b06=_0x269235;return this[_0x8c9b06(0x1ff)];}get[_0x269235(0x1a5)](){const _0x333f5e=_0x269235;return this[_0x333f5e(0x2df)];}[_0x269235(0x260)](_0x27c73f,_0x22a44e,_0x33da49){const _0x2202be=_0x269235,_0xb17d24=new _0x470a13({'allowSynchronousEvents':_0x33da49[_0x2202be(0x153)],'binaryType':this['binaryType'],'extensions':this[_0x2202be(0x1fc)],'isServer':this['_isServer'],'maxPayload':_0x33da49[_0x2202be(0x1b6)],'skipUTF8Validation':_0x33da49[_0x2202be(0x2b3)]}),_0x5110da=new _0x281c92(_0x27c73f,this[_0x2202be(0x1fc)],_0x33da49[_0x2202be(0x17b)]);this[_0x2202be(0x228)]=_0xb17d24,this['_sender']=_0x5110da,this[_0x2202be(0x296)]=_0x27c73f,_0xb17d24[_0x3b49f2]=this,_0x5110da[_0x3b49f2]=this,_0x27c73f[_0x3b49f2]=this,_0xb17d24['on'](_0x2202be(0x16b),_0x225dc7),_0xb17d24['on']('drain',_0x496564),_0xb17d24['on'](_0x2202be(0x201),_0xf14b3c),_0xb17d24['on'](_0x2202be(0x266),_0x5c538f),_0xb17d24['on']('ping',_0x3598e1),_0xb17d24['on'](_0x2202be(0x192),_0x3ace6f),_0x5110da[_0x2202be(0x29a)]=_0x5c6df7,_0x27c73f['setTimeout']&&_0x27c73f[_0x2202be(0x21a)](0x0),_0x27c73f[_0x2202be(0x207)]&&_0x27c73f[_0x2202be(0x207)](),_0x22a44e[_0x2202be(0x209)]>0x0&&_0x27c73f[_0x2202be(0x212)](_0x22a44e),_0x27c73f['on'](_0x2202be(0x234),_0x290e47),_0x27c73f['on'](_0x2202be(0x291),_0x599784),_0x27c73f['on'](_0x2202be(0x1d1),_0x7de60e),_0x27c73f['on']('error',_0x51eb53),this[_0x2202be(0x1ff)]=_0x423ac1[_0x2202be(0x26c)],this['emit']('open');}[_0x269235(0x26a)](){const _0x2db684=_0x269235;if(!this[_0x2db684(0x296)]){this[_0x2db684(0x1ff)]=_0x423ac1[_0x2db684(0x1de)],this['emit'](_0x2db684(0x234),this[_0x2db684(0x205)],this['_closeMessage']);return;}this[_0x2db684(0x1fc)][_0x1a0a90[_0x2db684(0x14b)]]&&this[_0x2db684(0x1fc)][_0x1a0a90[_0x2db684(0x14b)]][_0x2db684(0x177)](),this['_receiver'][_0x2db684(0x2c5)](),this[_0x2db684(0x1ff)]=_0x423ac1[_0x2db684(0x1de)],this['emit']('close',this[_0x2db684(0x205)],this[_0x2db684(0x1ad)]);}[_0x269235(0x234)](_0x26595f,_0x5cc3eb){const _0x506ed6=_0x269235;if(this[_0x506ed6(0x257)]!==_0x423ac1[_0x506ed6(0x1de)]){if(this[_0x506ed6(0x257)]===_0x423ac1[_0x506ed6(0x2a8)]){_0x551166(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x506ed6(0x257)]===_0x423ac1[_0x506ed6(0x261)]){this[_0x506ed6(0x147)]&&(this[_0x506ed6(0x1f2)]||this[_0x506ed6(0x228)][_0x506ed6(0x2bf)][_0x506ed6(0x216)])&&this[_0x506ed6(0x296)][_0x506ed6(0x1d1)]();return;}this[_0x506ed6(0x1ff)]=_0x423ac1[_0x506ed6(0x261)],this[_0x506ed6(0x2ca)][_0x506ed6(0x234)](_0x26595f,_0x5cc3eb,!this[_0x506ed6(0x164)],_0x2d66f0=>{const _0x5304c9=_0x506ed6;_0x2d66f0||(this[_0x5304c9(0x147)]=!0x0,(this['_closeFrameReceived']||this[_0x5304c9(0x228)]['_writableState'][_0x5304c9(0x216)])&&this[_0x5304c9(0x296)][_0x5304c9(0x1d1)]());}),_0x3acaf9(this);}}['pause'](){const _0x40f410=_0x269235;this[_0x40f410(0x257)]===_0x423ac1[_0x40f410(0x2a8)]||this['readyState']===_0x423ac1[_0x40f410(0x1de)]||(this[_0x40f410(0x29f)]=!0x0,this[_0x40f410(0x296)][_0x40f410(0x236)]());}[_0x269235(0x15f)](_0x51954b,_0x1704ea,_0x38a503){const _0x4386cb=_0x269235;if(this[_0x4386cb(0x257)]===_0x423ac1['CONNECTING'])throw new Error(_0x4386cb(0x187));if(typeof _0x51954b==_0x4386cb(0x1c9)?(_0x38a503=_0x51954b,_0x51954b=_0x1704ea=void 0x0):typeof _0x1704ea=='function'&&(_0x38a503=_0x1704ea,_0x1704ea=void 0x0),typeof _0x51954b=='number'&&(_0x51954b=_0x51954b['toString']()),this[_0x4386cb(0x257)]!==_0x423ac1['OPEN']){_0x3ca89b(this,_0x51954b,_0x38a503);return;}_0x1704ea===void 0x0&&(_0x1704ea=!this['_isServer']),this[_0x4386cb(0x2ca)]['ping'](_0x51954b||_0x2009ef,_0x1704ea,_0x38a503);}[_0x269235(0x192)](_0x363eab,_0x33391b,_0x5e1a15){const _0x42cdc5=_0x269235;if(this[_0x42cdc5(0x257)]===_0x423ac1[_0x42cdc5(0x2a8)])throw new Error(_0x42cdc5(0x187));if(typeof _0x363eab==_0x42cdc5(0x1c9)?(_0x5e1a15=_0x363eab,_0x363eab=_0x33391b=void 0x0):typeof _0x33391b==_0x42cdc5(0x1c9)&&(_0x5e1a15=_0x33391b,_0x33391b=void 0x0),typeof _0x363eab==_0x42cdc5(0x25b)&&(_0x363eab=_0x363eab[_0x42cdc5(0x139)]()),this[_0x42cdc5(0x257)]!==_0x423ac1[_0x42cdc5(0x26c)]){_0x3ca89b(this,_0x363eab,_0x5e1a15);return;}_0x33391b===void 0x0&&(_0x33391b=!this[_0x42cdc5(0x164)]),this[_0x42cdc5(0x2ca)][_0x42cdc5(0x192)](_0x363eab||_0x2009ef,_0x33391b,_0x5e1a15);}[_0x269235(0x14c)](){const _0x4ee315=_0x269235;this[_0x4ee315(0x257)]===_0x423ac1[_0x4ee315(0x2a8)]||this[_0x4ee315(0x257)]===_0x423ac1[_0x4ee315(0x1de)]||(this[_0x4ee315(0x29f)]=!0x1,this[_0x4ee315(0x228)]['_writableState'][_0x4ee315(0x173)]||this[_0x4ee315(0x296)][_0x4ee315(0x14c)]());}[_0x269235(0x285)](_0x4d1bd5,_0x481106,_0x543803){const _0x5a61dd=_0x269235;if(this['readyState']===_0x423ac1[_0x5a61dd(0x2a8)])throw new Error(_0x5a61dd(0x187));if(typeof _0x481106==_0x5a61dd(0x1c9)&&(_0x543803=_0x481106,_0x481106={}),typeof _0x4d1bd5==_0x5a61dd(0x25b)&&(_0x4d1bd5=_0x4d1bd5['toString']()),this[_0x5a61dd(0x257)]!==_0x423ac1[_0x5a61dd(0x26c)]){_0x3ca89b(this,_0x4d1bd5,_0x543803);return;}const _0x2ed6c3={'binary':typeof _0x4d1bd5!=_0x5a61dd(0x154),'mask':!this[_0x5a61dd(0x164)],'compress':!0x0,'fin':!0x0,..._0x481106};this[_0x5a61dd(0x1fc)][_0x1a0a90['extensionName']]||(_0x2ed6c3['compress']=!0x1),this[_0x5a61dd(0x2ca)]['send'](_0x4d1bd5||_0x2009ef,_0x2ed6c3,_0x543803);}[_0x269235(0x2dd)](){const _0x58fac3=_0x269235;if(this[_0x58fac3(0x257)]!==_0x423ac1[_0x58fac3(0x1de)]){if(this[_0x58fac3(0x257)]===_0x423ac1[_0x58fac3(0x2a8)]){_0x551166(this,this[_0x58fac3(0x283)],_0x58fac3(0x2d0));return;}this[_0x58fac3(0x296)]&&(this[_0x58fac3(0x1ff)]=_0x423ac1['CLOSING'],this[_0x58fac3(0x296)][_0x58fac3(0x267)]());}}}Object['defineProperty'](_0x423ac1,'CONNECTING',{'enumerable':!0x0,'value':_0x1669b4[_0x269235(0x1b4)](_0x269235(0x2a8))}),Object[_0x269235(0x256)](_0x423ac1['prototype'],_0x269235(0x2a8),{'enumerable':!0x0,'value':_0x1669b4[_0x269235(0x1b4)](_0x269235(0x2a8))}),Object[_0x269235(0x256)](_0x423ac1,_0x269235(0x26c),{'enumerable':!0x0,'value':_0x1669b4[_0x269235(0x1b4)]('OPEN')}),Object[_0x269235(0x256)](_0x423ac1[_0x269235(0x1b1)],_0x269235(0x26c),{'enumerable':!0x0,'value':_0x1669b4['indexOf'](_0x269235(0x26c))}),Object[_0x269235(0x256)](_0x423ac1,_0x269235(0x261),{'enumerable':!0x0,'value':_0x1669b4[_0x269235(0x1b4)]('CLOSING')}),Object[_0x269235(0x256)](_0x423ac1[_0x269235(0x1b1)],_0x269235(0x261),{'enumerable':!0x0,'value':_0x1669b4[_0x269235(0x1b4)]('CLOSING')}),Object[_0x269235(0x256)](_0x423ac1,_0x269235(0x1de),{'enumerable':!0x0,'value':_0x1669b4['indexOf']('CLOSED')}),Object[_0x269235(0x256)](_0x423ac1[_0x269235(0x1b1)],'CLOSED',{'enumerable':!0x0,'value':_0x1669b4[_0x269235(0x1b4)]('CLOSED')}),[_0x269235(0x1fd),_0x269235(0x25a),'extensions',_0x269235(0x27e),_0x269235(0x189),'readyState',_0x269235(0x1a5)]['forEach'](_0x2c0876=>{const _0x22561c=_0x269235;Object[_0x22561c(0x256)](_0x423ac1[_0x22561c(0x1b1)],_0x2c0876,{'enumerable':!0x0});}),['open','error',_0x269235(0x234),'message'][_0x269235(0x29e)](_0x6797e3=>{const _0x24f96b=_0x269235;Object[_0x24f96b(0x256)](_0x423ac1[_0x24f96b(0x1b1)],'on'+_0x6797e3,{'enumerable':!0x0,'get'(){const _0x57b796=_0x24f96b;for(const _0x29be3c of this[_0x57b796(0x2d8)](_0x6797e3))if(_0x29be3c[_0x3337a3])return _0x29be3c[_0x3ac3cd];return null;},'set'(_0xceafd4){const _0x1ba020=_0x24f96b;for(const _0x250103 of this[_0x1ba020(0x2d8)](_0x6797e3))if(_0x250103[_0x3337a3]){this['removeListener'](_0x6797e3,_0x250103);break;}typeof _0xceafd4==_0x1ba020(0x1c9)&&this[_0x1ba020(0x22f)](_0x6797e3,_0xceafd4,{[_0x3337a3]:!0x0});}});}),_0x423ac1[_0x269235(0x1b1)][_0x269235(0x22f)]=_0x303a08,_0x423ac1[_0x269235(0x1b1)][_0x269235(0x137)]=_0x4e42a4,we=_0x423ac1;function _0x3bec2c(_0x209dde,_0x495211,_0x343bf5,_0x3357a6){const _0x8cf407=_0x269235,_0x2b11a7={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2f9013[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3357a6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x8cf407(0x2b5),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x209dde[_0x8cf407(0x1f0)]=_0x2b11a7[_0x8cf407(0x298)],!_0x2f9013['includes'](_0x2b11a7[_0x8cf407(0x16c)]))throw new RangeError(_0x8cf407(0x13b)+_0x2b11a7[_0x8cf407(0x16c)]+'\x20(supported\x20versions:\x20'+_0x2f9013[_0x8cf407(0x23d)](',\x20')+')');let _0x22ed2a;if(_0x495211 instanceof _0x34c2c8)_0x22ed2a=_0x495211;else try{_0x22ed2a=new _0x34c2c8(_0x495211);}catch{throw new SyntaxError(_0x8cf407(0x1bc)+_0x495211);}_0x22ed2a[_0x8cf407(0x189)]===_0x8cf407(0x155)?_0x22ed2a[_0x8cf407(0x189)]='ws:':_0x22ed2a['protocol']===_0x8cf407(0x231)&&(_0x22ed2a[_0x8cf407(0x189)]=_0x8cf407(0x2e2)),_0x209dde[_0x8cf407(0x2df)]=_0x22ed2a['href'];const _0x1ab8ba=_0x22ed2a[_0x8cf407(0x189)]===_0x8cf407(0x2e2),_0x90c651=_0x22ed2a[_0x8cf407(0x189)]===_0x8cf407(0x148);let _0x30518b;if(_0x22ed2a[_0x8cf407(0x189)]!=='ws:'&&!_0x1ab8ba&&!_0x90c651?_0x30518b=_0x8cf407(0x18a):_0x90c651&&!_0x22ed2a[_0x8cf407(0x294)]?_0x30518b=_0x8cf407(0x2bd):_0x22ed2a[_0x8cf407(0x2bc)]&&(_0x30518b=_0x8cf407(0x211)),_0x30518b){const _0x355762=new SyntaxError(_0x30518b);if(_0x209dde['_redirects']===0x0)throw _0x355762;_0x313c60(_0x209dde,_0x355762);return;}const _0x2f047b=_0x1ab8ba?0x1bb:0x50,_0xca77ef=_0x57bcc6(0x10)[_0x8cf407(0x139)](_0x8cf407(0x18b)),_0x19fb24=_0x1ab8ba?_0x48f24[_0x8cf407(0x174)]:_0x5160e8[_0x8cf407(0x174)],_0x5589ce=new Set();let _0x4d5b1e;if(_0x2b11a7[_0x8cf407(0x1ac)]=_0x2b11a7[_0x8cf407(0x1ac)]||(_0x1ab8ba?_0x1dc6eb:_0x34963e),_0x2b11a7[_0x8cf407(0x1f3)]=_0x2b11a7['defaultPort']||_0x2f047b,_0x2b11a7['port']=_0x22ed2a[_0x8cf407(0x1be)]||_0x2f047b,_0x2b11a7[_0x8cf407(0x2b6)]=_0x22ed2a[_0x8cf407(0x1af)][_0x8cf407(0x2da)]('[')?_0x22ed2a['hostname'][_0x8cf407(0x22c)](0x1,-0x1):_0x22ed2a[_0x8cf407(0x1af)],_0x2b11a7[_0x8cf407(0x157)]={..._0x2b11a7[_0x8cf407(0x157)],'Sec-WebSocket-Version':_0x2b11a7[_0x8cf407(0x16c)],'Sec-WebSocket-Key':_0xca77ef,'Connection':'Upgrade','Upgrade':_0x8cf407(0x28b)},_0x2b11a7[_0x8cf407(0x229)]=_0x22ed2a[_0x8cf407(0x294)]+_0x22ed2a[_0x8cf407(0x252)],_0x2b11a7['timeout']=_0x2b11a7['handshakeTimeout'],_0x2b11a7[_0x8cf407(0x232)]&&(_0x4d5b1e=new _0x1a0a90(_0x2b11a7[_0x8cf407(0x232)]!==!0x0?_0x2b11a7[_0x8cf407(0x232)]:{},!0x1,_0x2b11a7[_0x8cf407(0x1b6)]),_0x2b11a7['headers']['Sec-WebSocket-Extensions']=_0x16bea9({[_0x1a0a90[_0x8cf407(0x14b)]]:_0x4d5b1e[_0x8cf407(0x20f)]()})),_0x343bf5[_0x8cf407(0x209)]){for(const _0x401e3c of _0x343bf5){if(typeof _0x401e3c!=_0x8cf407(0x154)||!_0xe58ec8[_0x8cf407(0x195)](_0x401e3c)||_0x5589ce[_0x8cf407(0x196)](_0x401e3c))throw new SyntaxError(_0x8cf407(0x15b));_0x5589ce[_0x8cf407(0x1d9)](_0x401e3c);}_0x2b11a7[_0x8cf407(0x157)][_0x8cf407(0x19c)]=_0x343bf5[_0x8cf407(0x23d)](',');}if(_0x2b11a7[_0x8cf407(0x20c)]&&(_0x2b11a7[_0x8cf407(0x16c)]<0xd?_0x2b11a7[_0x8cf407(0x157)]['Sec-WebSocket-Origin']=_0x2b11a7['origin']:_0x2b11a7[_0x8cf407(0x157)]['Origin']=_0x2b11a7[_0x8cf407(0x20c)]),(_0x22ed2a['username']||_0x22ed2a[_0x8cf407(0x2a1)])&&(_0x2b11a7[_0x8cf407(0x1c2)]=_0x22ed2a[_0x8cf407(0x19b)]+':'+_0x22ed2a[_0x8cf407(0x2a1)]),_0x90c651){const _0x2677c3=_0x2b11a7[_0x8cf407(0x229)]['split'](':');_0x2b11a7[_0x8cf407(0x2e1)]=_0x2677c3[0x0],_0x2b11a7[_0x8cf407(0x229)]=_0x2677c3[0x1];}let _0x2a7e5b;if(_0x2b11a7[_0x8cf407(0x1cc)]){if(_0x209dde[_0x8cf407(0x272)]===0x0){_0x209dde[_0x8cf407(0x2cd)]=_0x90c651,_0x209dde[_0x8cf407(0x169)]=_0x1ab8ba,_0x209dde[_0x8cf407(0x19e)]=_0x90c651?_0x2b11a7[_0x8cf407(0x2e1)]:_0x22ed2a[_0x8cf407(0x2b6)];const _0xc10f23=_0x3357a6&&_0x3357a6[_0x8cf407(0x157)];if(_0x3357a6={..._0x3357a6,'headers':{}},_0xc10f23){for(const [_0x1a25af,_0x1ece05]of Object['entries'](_0xc10f23))_0x3357a6['headers'][_0x1a25af[_0x8cf407(0x176)]()]=_0x1ece05;}}else{if(_0x209dde[_0x8cf407(0x19a)](_0x8cf407(0x2de))===0x0){const _0x21285b=_0x90c651?_0x209dde['_originalIpc']?_0x2b11a7[_0x8cf407(0x2e1)]===_0x209dde[_0x8cf407(0x19e)]:!0x1:_0x209dde[_0x8cf407(0x2cd)]?!0x1:_0x22ed2a[_0x8cf407(0x2b6)]===_0x209dde[_0x8cf407(0x19e)];(!_0x21285b||_0x209dde[_0x8cf407(0x169)]&&!_0x1ab8ba)&&(delete _0x2b11a7['headers']['authorization'],delete _0x2b11a7[_0x8cf407(0x157)][_0x8cf407(0x152)],_0x21285b||delete _0x2b11a7[_0x8cf407(0x157)]['host'],_0x2b11a7[_0x8cf407(0x1c2)]=void 0x0);}}_0x2b11a7[_0x8cf407(0x1c2)]&&!_0x3357a6[_0x8cf407(0x157)][_0x8cf407(0x26f)]&&(_0x3357a6['headers'][_0x8cf407(0x26f)]=_0x8cf407(0x28f)+Buffer[_0x8cf407(0x278)](_0x2b11a7[_0x8cf407(0x1c2)])[_0x8cf407(0x139)]('base64')),_0x2a7e5b=_0x209dde[_0x8cf407(0x283)]=_0x19fb24(_0x2b11a7),_0x209dde['_redirects']&&_0x209dde[_0x8cf407(0x16d)]('redirect',_0x209dde[_0x8cf407(0x1a5)],_0x2a7e5b);}else _0x2a7e5b=_0x209dde[_0x8cf407(0x283)]=_0x19fb24(_0x2b11a7);_0x2b11a7['timeout']&&_0x2a7e5b['on']('timeout',()=>{const _0x4b8359=_0x8cf407;_0x551166(_0x209dde,_0x2a7e5b,_0x4b8359(0x1aa));}),_0x2a7e5b['on'](_0x8cf407(0x201),_0x56224e=>{const _0x5d667e=_0x8cf407;_0x2a7e5b===null||_0x2a7e5b[_0xfc156d]||(_0x2a7e5b=_0x209dde[_0x5d667e(0x283)]=null,_0x313c60(_0x209dde,_0x56224e));}),_0x2a7e5b['on']('response',_0x1bcb08=>{const _0x1e88b3=_0x8cf407,_0x5a9e3b=_0x1bcb08[_0x1e88b3(0x157)]['location'],_0x13528d=_0x1bcb08[_0x1e88b3(0x1d7)];if(_0x5a9e3b&&_0x2b11a7[_0x1e88b3(0x1cc)]&&_0x13528d>=0x12c&&_0x13528d<0x190){if(++_0x209dde[_0x1e88b3(0x272)]>_0x2b11a7[_0x1e88b3(0x270)]){_0x551166(_0x209dde,_0x2a7e5b,_0x1e88b3(0x1f9));return;}_0x2a7e5b[_0x1e88b3(0x171)]();let _0x36eb98;try{_0x36eb98=new _0x34c2c8(_0x5a9e3b,_0x495211);}catch{const _0x35d1cb=new SyntaxError(_0x1e88b3(0x1bc)+_0x5a9e3b);_0x313c60(_0x209dde,_0x35d1cb);return;}_0x3bec2c(_0x209dde,_0x36eb98,_0x343bf5,_0x3357a6);}else _0x209dde[_0x1e88b3(0x16d)](_0x1e88b3(0x1d0),_0x2a7e5b,_0x1bcb08)||_0x551166(_0x209dde,_0x2a7e5b,_0x1e88b3(0x1a4)+_0x1bcb08[_0x1e88b3(0x1d7)]);}),_0x2a7e5b['on'](_0x8cf407(0x144),(_0xe31bb1,_0x2dcc30,_0x29cc4d)=>{const _0xad7ae2=_0x8cf407;if(_0x209dde[_0xad7ae2(0x16d)](_0xad7ae2(0x144),_0xe31bb1),_0x209dde[_0xad7ae2(0x257)]!==_0x423ac1[_0xad7ae2(0x2a8)])return;_0x2a7e5b=_0x209dde[_0xad7ae2(0x283)]=null;const _0x3a843d=_0xe31bb1['headers'][_0xad7ae2(0x144)];if(_0x3a843d===void 0x0||_0x3a843d[_0xad7ae2(0x176)]()!==_0xad7ae2(0x28b)){_0x551166(_0x209dde,_0x2dcc30,_0xad7ae2(0x151));return;}const _0x1f075b=_0x2bc161(_0xad7ae2(0x1b3))['update'](_0xca77ef+_0x482886)[_0xad7ae2(0x18e)](_0xad7ae2(0x18b));if(_0xe31bb1[_0xad7ae2(0x157)][_0xad7ae2(0x290)]!==_0x1f075b){_0x551166(_0x209dde,_0x2dcc30,_0xad7ae2(0x204));return;}const _0x32dd1d=_0xe31bb1[_0xad7ae2(0x157)][_0xad7ae2(0x159)];let _0x19007b;if(_0x32dd1d!==void 0x0?_0x5589ce[_0xad7ae2(0x166)]?_0x5589ce[_0xad7ae2(0x196)](_0x32dd1d)||(_0x19007b=_0xad7ae2(0x238)):_0x19007b='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x5589ce[_0xad7ae2(0x166)]&&(_0x19007b='Server\x20sent\x20no\x20subprotocol'),_0x19007b){_0x551166(_0x209dde,_0x2dcc30,_0x19007b);return;}_0x32dd1d&&(_0x209dde[_0xad7ae2(0x1c3)]=_0x32dd1d);const _0x511782=_0xe31bb1[_0xad7ae2(0x157)][_0xad7ae2(0x133)];if(_0x511782!==void 0x0){if(!_0x4d5b1e){_0x551166(_0x209dde,_0x2dcc30,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x58cb6a;try{_0x58cb6a=_0x377725(_0x511782);}catch{_0x551166(_0x209dde,_0x2dcc30,_0xad7ae2(0x217));return;}const _0x59d2b3=Object[_0xad7ae2(0x1ea)](_0x58cb6a);if(_0x59d2b3[_0xad7ae2(0x209)]!==0x1||_0x59d2b3[0x0]!==_0x1a0a90[_0xad7ae2(0x14b)]){_0x551166(_0x209dde,_0x2dcc30,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x4d5b1e[_0xad7ae2(0x175)](_0x58cb6a[_0x1a0a90['extensionName']]);}catch{_0x551166(_0x209dde,_0x2dcc30,_0xad7ae2(0x217));return;}_0x209dde[_0xad7ae2(0x1fc)][_0x1a0a90[_0xad7ae2(0x14b)]]=_0x4d5b1e;}_0x209dde['setSocket'](_0x2dcc30,_0x29cc4d,{'allowSynchronousEvents':_0x2b11a7['allowSynchronousEvents'],'generateMask':_0x2b11a7[_0xad7ae2(0x17b)],'maxPayload':_0x2b11a7[_0xad7ae2(0x1b6)],'skipUTF8Validation':_0x2b11a7[_0xad7ae2(0x2b3)]});}),_0x2b11a7[_0x8cf407(0x230)]?_0x2b11a7[_0x8cf407(0x230)](_0x2a7e5b,_0x209dde):_0x2a7e5b[_0x8cf407(0x1d1)]();}function _0x313c60(_0x5ba1be,_0x4ad277){const _0x5dc3e1=_0x269235;_0x5ba1be['_readyState']=_0x423ac1[_0x5dc3e1(0x261)],_0x5ba1be['_errorEmitted']=!0x0,_0x5ba1be['emit'](_0x5dc3e1(0x201),_0x4ad277),_0x5ba1be[_0x5dc3e1(0x26a)]();}function _0x34963e(_0xb21859){const _0x39539e=_0x269235;return _0xb21859[_0x39539e(0x229)]=_0xb21859[_0x39539e(0x2e1)],_0x316b55[_0x39539e(0x1cf)](_0xb21859);}function _0x1dc6eb(_0x5799d6){const _0x22c96a=_0x269235;return _0x5799d6['path']=void 0x0,!_0x5799d6['servername']&&_0x5799d6[_0x22c96a(0x2ab)]!==''&&(_0x5799d6[_0x22c96a(0x2ab)]=_0x316b55['isIP'](_0x5799d6['host'])?'':_0x5799d6['host']),_0x5b7703[_0x22c96a(0x1cf)](_0x5799d6);}function _0x551166(_0x4f86fa,_0x30b6ec,_0x253750){const _0x118f38=_0x269235;_0x4f86fa[_0x118f38(0x1ff)]=_0x423ac1[_0x118f38(0x261)];const _0x199a51=new Error(_0x253750);Error[_0x118f38(0x1ed)](_0x199a51,_0x551166),_0x30b6ec['setHeader']?(_0x30b6ec[_0xfc156d]=!0x0,_0x30b6ec[_0x118f38(0x171)](),_0x30b6ec[_0x118f38(0x213)]&&!_0x30b6ec[_0x118f38(0x213)][_0x118f38(0x1ba)]&&_0x30b6ec[_0x118f38(0x213)]['destroy'](),process[_0x118f38(0x206)](_0x313c60,_0x4f86fa,_0x199a51)):(_0x30b6ec['destroy'](_0x199a51),_0x30b6ec[_0x118f38(0x161)](_0x118f38(0x201),_0x4f86fa[_0x118f38(0x16d)][_0x118f38(0x14a)](_0x4f86fa,'error')),_0x30b6ec[_0x118f38(0x161)](_0x118f38(0x234),_0x4f86fa['emitClose'][_0x118f38(0x14a)](_0x4f86fa)));}function _0x3ca89b(_0x69968e,_0x302fd3,_0x12625e){const _0x273811=_0x269235;if(_0x302fd3){const _0x3a3edd=_0x11141b(_0x302fd3)?_0x302fd3[_0x273811(0x166)]:_0x80ca21(_0x302fd3)[_0x273811(0x209)];_0x69968e[_0x273811(0x296)]?_0x69968e[_0x273811(0x2ca)][_0x273811(0x289)]+=_0x3a3edd:_0x69968e[_0x273811(0x1c0)]+=_0x3a3edd;}if(_0x12625e){const _0x5ea9d9=new Error(_0x273811(0x226)+_0x69968e[_0x273811(0x257)]+'\x20('+_0x1669b4[_0x69968e[_0x273811(0x257)]]+')');process[_0x273811(0x206)](_0x12625e,_0x5ea9d9);}}function _0x225dc7(_0x2f7a8d,_0x4b9c85){const _0xeb0ee8=_0x269235,_0xf00609=this[_0x3b49f2];_0xf00609[_0xeb0ee8(0x1f2)]=!0x0,_0xf00609[_0xeb0ee8(0x1ad)]=_0x4b9c85,_0xf00609[_0xeb0ee8(0x205)]=_0x2f7a8d,_0xf00609[_0xeb0ee8(0x296)][_0x3b49f2]!==void 0x0&&(_0xf00609[_0xeb0ee8(0x296)][_0xeb0ee8(0x1ee)](_0xeb0ee8(0x291),_0x599784),process[_0xeb0ee8(0x206)](_0x53bd12,_0xf00609['_socket']),_0x2f7a8d===0x3ed?_0xf00609[_0xeb0ee8(0x234)]():_0xf00609[_0xeb0ee8(0x234)](_0x2f7a8d,_0x4b9c85));}function _0x496564(){const _0x565759=_0x269235,_0x34d180=this[_0x3b49f2];_0x34d180[_0x565759(0x27e)]||_0x34d180[_0x565759(0x296)][_0x565759(0x14c)]();}function _0xf14b3c(_0x4b6a4f){const _0x4fbd98=_0x269235,_0x1c9023=this[_0x3b49f2];_0x1c9023[_0x4fbd98(0x296)][_0x3b49f2]!==void 0x0&&(_0x1c9023['_socket'][_0x4fbd98(0x1ee)](_0x4fbd98(0x291),_0x599784),process[_0x4fbd98(0x206)](_0x53bd12,_0x1c9023[_0x4fbd98(0x296)]),_0x1c9023[_0x4fbd98(0x234)](_0x4b6a4f[_0x508a62])),_0x1c9023[_0x4fbd98(0x2a7)]||(_0x1c9023[_0x4fbd98(0x2a7)]=!0x0,_0x1c9023[_0x4fbd98(0x16d)]('error',_0x4b6a4f));}function _0x381aa2(){const _0x242917=_0x269235;this[_0x3b49f2][_0x242917(0x26a)]();}function _0x5c538f(_0x362c9a,_0x502238){const _0xfbf9d=_0x269235;this[_0x3b49f2]['emit'](_0xfbf9d(0x266),_0x362c9a,_0x502238);}function _0x3598e1(_0xff9f20){const _0x26b8c7=_0x269235,_0x1827a6=this[_0x3b49f2];_0x1827a6[_0x26b8c7(0x1f0)]&&_0x1827a6[_0x26b8c7(0x192)](_0xff9f20,!this['_isServer'],_0x3ab6be),_0x1827a6['emit'](_0x26b8c7(0x15f),_0xff9f20);}function _0x3ace6f(_0x331403){const _0x121283=_0x269235;this[_0x3b49f2][_0x121283(0x16d)]('pong',_0x331403);}function _0x53bd12(_0x36fbca){const _0x43fedb=_0x269235;_0x36fbca[_0x43fedb(0x14c)]();}function _0x5c6df7(_0x23c09a){const _0x1dce16=_0x269235,_0x13ca62=this[_0x3b49f2];_0x13ca62[_0x1dce16(0x257)]!==_0x423ac1[_0x1dce16(0x1de)]&&(_0x13ca62['readyState']===_0x423ac1[_0x1dce16(0x26c)]&&(_0x13ca62[_0x1dce16(0x1ff)]=_0x423ac1[_0x1dce16(0x261)],_0x3acaf9(_0x13ca62)),this[_0x1dce16(0x296)][_0x1dce16(0x1d1)](),_0x13ca62[_0x1dce16(0x2a7)]||(_0x13ca62['_errorEmitted']=!0x0,_0x13ca62[_0x1dce16(0x16d)](_0x1dce16(0x201),_0x23c09a)));}function _0x3acaf9(_0x4f0993){const _0x5f63b6=_0x269235;_0x4f0993[_0x5f63b6(0x23b)]=setTimeout(_0x4f0993[_0x5f63b6(0x296)][_0x5f63b6(0x267)][_0x5f63b6(0x14a)](_0x4f0993[_0x5f63b6(0x296)]),_0x502481);}function _0x290e47(){const _0x2ab1ab=_0x269235,_0x1ae8ea=this[_0x3b49f2];this['removeListener']('close',_0x290e47),this[_0x2ab1ab(0x1ee)](_0x2ab1ab(0x291),_0x599784),this['removeListener'](_0x2ab1ab(0x1d1),_0x7de60e),_0x1ae8ea['_readyState']=_0x423ac1[_0x2ab1ab(0x261)];let _0x51d773;!this[_0x2ab1ab(0x1c8)][_0x2ab1ab(0x2d7)]&&!_0x1ae8ea[_0x2ab1ab(0x1f2)]&&!_0x1ae8ea['_receiver']['_writableState']['errorEmitted']&&(_0x51d773=_0x1ae8ea[_0x2ab1ab(0x296)][_0x2ab1ab(0x2d3)]())!==null&&_0x1ae8ea['_receiver'][_0x2ab1ab(0x222)](_0x51d773),_0x1ae8ea[_0x2ab1ab(0x228)][_0x2ab1ab(0x1d1)](),this[_0x3b49f2]=void 0x0,clearTimeout(_0x1ae8ea[_0x2ab1ab(0x23b)]),_0x1ae8ea[_0x2ab1ab(0x228)][_0x2ab1ab(0x2bf)][_0x2ab1ab(0x2c8)]||_0x1ae8ea[_0x2ab1ab(0x228)][_0x2ab1ab(0x2bf)][_0x2ab1ab(0x216)]?_0x1ae8ea['emitClose']():(_0x1ae8ea[_0x2ab1ab(0x228)]['on']('error',_0x381aa2),_0x1ae8ea[_0x2ab1ab(0x228)]['on']('finish',_0x381aa2));}function _0x599784(_0x171ba7){const _0x4bbb22=_0x269235;this[_0x3b49f2][_0x4bbb22(0x228)]['write'](_0x171ba7)||this[_0x4bbb22(0x236)]();}function _0x7de60e(){const _0x118b55=_0x269235,_0x359717=this[_0x3b49f2];_0x359717[_0x118b55(0x1ff)]=_0x423ac1[_0x118b55(0x261)],_0x359717[_0x118b55(0x228)][_0x118b55(0x1d1)](),this[_0x118b55(0x1d1)]();}function _0x51eb53(){const _0x19f6e7=_0x269235,_0x13121f=this[_0x3b49f2];this[_0x19f6e7(0x1ee)](_0x19f6e7(0x201),_0x51eb53),this['on'](_0x19f6e7(0x201),_0x3ab6be),_0x13121f&&(_0x13121f['_readyState']=_0x423ac1['CLOSING'],this[_0x19f6e7(0x267)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x4f71f3}=_0x394050;function _0x331071(_0x5146ff){_0x5146ff['emit']('close');}function _0x47b7de(){const _0x2ce224=_0x1e14;!this[_0x2ce224(0x1ba)]&&this['_writableState'][_0x2ce224(0x2c8)]&&this[_0x2ce224(0x267)]();}function _0x85537b(_0x4f466a){const _0x2ecfa1=_0x1e14;this[_0x2ecfa1(0x1ee)](_0x2ecfa1(0x201),_0x85537b),this[_0x2ecfa1(0x267)](),this['listenerCount'](_0x2ecfa1(0x201))===0x0&&this[_0x2ecfa1(0x16d)](_0x2ecfa1(0x201),_0x4f466a);}function _0x2fa6fe(_0x2e3c1f,_0x30a4cd){const _0x23750e=_0x1e14;let _0x25463d=!0x0;const _0x4603db=new _0x4f71f3({..._0x30a4cd,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2e3c1f['on'](_0x23750e(0x266),function(_0x16faca,_0x292dbf){const _0xa45234=_0x23750e,_0x44cc0e=!_0x292dbf&&_0x4603db[_0xa45234(0x1c8)][_0xa45234(0x2c0)]?_0x16faca[_0xa45234(0x139)]():_0x16faca;_0x4603db[_0xa45234(0x26d)](_0x44cc0e)||_0x2e3c1f[_0xa45234(0x236)]();}),_0x2e3c1f[_0x23750e(0x161)](_0x23750e(0x201),function(_0x321901){const _0x230fd0=_0x23750e;_0x4603db[_0x230fd0(0x1ba)]||(_0x25463d=!0x1,_0x4603db[_0x230fd0(0x267)](_0x321901));}),_0x2e3c1f['once']('close',function(){const _0x4a5cc4=_0x23750e;_0x4603db['destroyed']||_0x4603db[_0x4a5cc4(0x26d)](null);}),_0x4603db[_0x23750e(0x299)]=function(_0x209644,_0x2dd53a){const _0x4b26d7=_0x23750e;if(_0x2e3c1f[_0x4b26d7(0x257)]===_0x2e3c1f[_0x4b26d7(0x1de)]){_0x2dd53a(_0x209644),process[_0x4b26d7(0x206)](_0x331071,_0x4603db);return;}let _0x34422f=!0x1;_0x2e3c1f[_0x4b26d7(0x161)](_0x4b26d7(0x201),function(_0x24acd8){_0x34422f=!0x0,_0x2dd53a(_0x24acd8);}),_0x2e3c1f[_0x4b26d7(0x161)]('close',function(){_0x34422f||_0x2dd53a(_0x209644),process['nextTick'](_0x331071,_0x4603db);}),_0x25463d&&_0x2e3c1f['terminate']();},_0x4603db['_final']=function(_0x5f1859){const _0x55d9e8=_0x23750e;if(_0x2e3c1f['readyState']===_0x2e3c1f[_0x55d9e8(0x2a8)]){_0x2e3c1f[_0x55d9e8(0x161)](_0x55d9e8(0x25c),function(){const _0x27ca85=_0x55d9e8;_0x4603db[_0x27ca85(0x2c9)](_0x5f1859);});return;}_0x2e3c1f[_0x55d9e8(0x296)]!==null&&(_0x2e3c1f[_0x55d9e8(0x296)]['_writableState'][_0x55d9e8(0x2c8)]?(_0x5f1859(),_0x4603db[_0x55d9e8(0x1c8)]['endEmitted']&&_0x4603db['destroy']()):(_0x2e3c1f[_0x55d9e8(0x296)][_0x55d9e8(0x161)](_0x55d9e8(0x22d),function(){_0x5f1859();}),_0x2e3c1f['close']()));},_0x4603db[_0x23750e(0x2b2)]=function(){const _0x2a73c8=_0x23750e;_0x2e3c1f['isPaused']&&_0x2e3c1f[_0x2a73c8(0x14c)]();},_0x4603db[_0x23750e(0x1ab)]=function(_0x5ae573,_0x1551bd,_0x568fbb){const _0xaf4efc=_0x23750e;if(_0x2e3c1f['readyState']===_0x2e3c1f[_0xaf4efc(0x2a8)]){_0x2e3c1f[_0xaf4efc(0x161)](_0xaf4efc(0x25c),function(){const _0xe0e441=_0xaf4efc;_0x4603db[_0xe0e441(0x1ab)](_0x5ae573,_0x1551bd,_0x568fbb);});return;}_0x2e3c1f[_0xaf4efc(0x285)](_0x5ae573,_0x568fbb);},_0x4603db['on'](_0x23750e(0x1d1),_0x47b7de),_0x4603db['on'](_0x23750e(0x201),_0x85537b),_0x4603db;}return Oe=_0x2fa6fe,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x3cf4e5}=ie();function _0xab4923(_0x2bbdf5){const _0x1cfde3=_0x1e14,_0x22a045=new Set();let _0x10c9ee=-0x1,_0x1dcf1d=-0x1,_0x271f29=0x0;for(_0x271f29;_0x271f29<_0x2bbdf5[_0x1cfde3(0x209)];_0x271f29++){const _0x10d5a9=_0x2bbdf5[_0x1cfde3(0x282)](_0x271f29);if(_0x1dcf1d===-0x1&&_0x3cf4e5[_0x10d5a9]===0x1)_0x10c9ee===-0x1&&(_0x10c9ee=_0x271f29);else{if(_0x271f29!==0x0&&(_0x10d5a9===0x20||_0x10d5a9===0x9))_0x1dcf1d===-0x1&&_0x10c9ee!==-0x1&&(_0x1dcf1d=_0x271f29);else{if(_0x10d5a9===0x2c){if(_0x10c9ee===-0x1)throw new SyntaxError(_0x1cfde3(0x1df)+_0x271f29);_0x1dcf1d===-0x1&&(_0x1dcf1d=_0x271f29);const _0x41bf27=_0x2bbdf5['slice'](_0x10c9ee,_0x1dcf1d);if(_0x22a045[_0x1cfde3(0x196)](_0x41bf27))throw new SyntaxError(_0x1cfde3(0x264)+_0x41bf27+_0x1cfde3(0x15c));_0x22a045[_0x1cfde3(0x1d9)](_0x41bf27),_0x10c9ee=_0x1dcf1d=-0x1;}else throw new SyntaxError(_0x1cfde3(0x1df)+_0x271f29);}}}if(_0x10c9ee===-0x1||_0x1dcf1d!==-0x1)throw new SyntaxError(_0x1cfde3(0x21b));const _0x3a0953=_0x2bbdf5[_0x1cfde3(0x22c)](_0x10c9ee,_0x271f29);if(_0x22a045['has'](_0x3a0953))throw new SyntaxError(_0x1cfde3(0x264)+_0x3a0953+_0x1cfde3(0x15c));return _0x22a045['add'](_0x3a0953),_0x22a045;}return Ce={'parse':_0xab4923},Ce;}var Te,it;function Qt(){const _0x2089b2=_0x5d630b;if(it)return Te;it=0x1;const _0x5f1ded=_0x5f4824,_0x3fb0a2=_0x1e30e7,{Duplex:_0x46ff4d}=_0x394050,{createHash:_0x154a46}=_0x41d258,_0x2eede9=dt(),_0x205202=ce(),_0x5e6cce=Zt(),_0x2626f6=Be(),{GUID:_0xb6758f,kWebSocket:_0x4361a7}=V(),_0x58ad9f=/^[+/0-9A-Za-z]{22}==$/,_0x3af2c9=0x0,_0x12a1a0=0x1,_0x500ef2=0x2;class _0x5e1040 extends _0x5f1ded{constructor(_0x2857d4,_0x20733c){const _0x5e74ed=_0x1e14;if(super(),_0x2857d4={'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':_0x2626f6,..._0x2857d4},_0x2857d4['port']==null&&!_0x2857d4[_0x5e74ed(0x1e2)]&&!_0x2857d4[_0x5e74ed(0x276)]||_0x2857d4['port']!=null&&(_0x2857d4[_0x5e74ed(0x1e2)]||_0x2857d4[_0x5e74ed(0x276)])||_0x2857d4[_0x5e74ed(0x1e2)]&&_0x2857d4[_0x5e74ed(0x276)])throw new TypeError(_0x5e74ed(0x208));if(_0x2857d4['port']!=null?(this['_server']=_0x3fb0a2[_0x5e74ed(0x194)]((_0x3d9085,_0x3c2ee7)=>{const _0x578f79=_0x5e74ed,_0x2521fa=_0x3fb0a2[_0x578f79(0x250)][0x1aa];_0x3c2ee7[_0x578f79(0x1b8)](0x1aa,{'Content-Length':_0x2521fa['length'],'Content-Type':'text/plain'}),_0x3c2ee7[_0x578f79(0x1d1)](_0x2521fa);}),this['_server'][_0x5e74ed(0x2c3)](_0x2857d4[_0x5e74ed(0x1be)],_0x2857d4[_0x5e74ed(0x2b6)],_0x2857d4['backlog'],_0x20733c)):_0x2857d4[_0x5e74ed(0x1e2)]&&(this[_0x5e74ed(0x1f7)]=_0x2857d4[_0x5e74ed(0x1e2)]),this[_0x5e74ed(0x1f7)]){const _0x5138e6=this[_0x5e74ed(0x16d)][_0x5e74ed(0x14a)](this,_0x5e74ed(0x23f));this[_0x5e74ed(0x18d)]=_0x5a1a14(this[_0x5e74ed(0x1f7)],{'listening':this[_0x5e74ed(0x16d)][_0x5e74ed(0x14a)](this,'listening'),'error':this[_0x5e74ed(0x16d)][_0x5e74ed(0x14a)](this,_0x5e74ed(0x201)),'upgrade':(_0x2193ba,_0x54839a,_0x175005)=>{const _0x121c48=_0x5e74ed;this[_0x121c48(0x20a)](_0x2193ba,_0x54839a,_0x175005,_0x5138e6);}});}_0x2857d4['perMessageDeflate']===!0x0&&(_0x2857d4[_0x5e74ed(0x232)]={}),_0x2857d4[_0x5e74ed(0x241)]&&(this[_0x5e74ed(0x22e)]=new Set(),this[_0x5e74ed(0x1a6)]=!0x1),this[_0x5e74ed(0x1a9)]=_0x2857d4,this[_0x5e74ed(0x18c)]=_0x3af2c9;}[_0x2089b2(0x292)](){const _0x502910=_0x2089b2;if(this['options'][_0x502910(0x276)])throw new Error(_0x502910(0x24b));return this[_0x502910(0x1f7)]?this[_0x502910(0x1f7)][_0x502910(0x292)]():null;}[_0x2089b2(0x234)](_0x34e429){const _0x2c0220=_0x2089b2;if(this[_0x2c0220(0x18c)]===_0x500ef2){_0x34e429&&this['once'](_0x2c0220(0x234),()=>{const _0x2de5c3=_0x2c0220;_0x34e429(new Error(_0x2de5c3(0x1d2)));}),process[_0x2c0220(0x206)](_0x120707,this);return;}if(_0x34e429&&this[_0x2c0220(0x161)]('close',_0x34e429),this[_0x2c0220(0x18c)]!==_0x12a1a0){if(this[_0x2c0220(0x18c)]=_0x12a1a0,this[_0x2c0220(0x1a9)]['noServer']||this[_0x2c0220(0x1a9)][_0x2c0220(0x1e2)])this[_0x2c0220(0x1f7)]&&(this[_0x2c0220(0x18d)](),this[_0x2c0220(0x18d)]=this[_0x2c0220(0x1f7)]=null),this[_0x2c0220(0x22e)]?this[_0x2c0220(0x22e)][_0x2c0220(0x166)]?this[_0x2c0220(0x1a6)]=!0x0:process[_0x2c0220(0x206)](_0x120707,this):process[_0x2c0220(0x206)](_0x120707,this);else{const _0x2cc9f1=this[_0x2c0220(0x1f7)];this[_0x2c0220(0x18d)](),this[_0x2c0220(0x18d)]=this[_0x2c0220(0x1f7)]=null,_0x2cc9f1[_0x2c0220(0x234)](()=>{_0x120707(this);});}}}[_0x2089b2(0x25d)](_0x4ea3e7){const _0x5a6e64=_0x2089b2;if(this[_0x5a6e64(0x1a9)][_0x5a6e64(0x229)]){const _0x3cf346=_0x4ea3e7[_0x5a6e64(0x1a5)]['indexOf']('?');if((_0x3cf346!==-0x1?_0x4ea3e7['url']['slice'](0x0,_0x3cf346):_0x4ea3e7[_0x5a6e64(0x1a5)])!==this[_0x5a6e64(0x1a9)][_0x5a6e64(0x229)])return!0x1;}return!0x0;}[_0x2089b2(0x20a)](_0x3ee3eb,_0x3408f7,_0x7fe3c9,_0xfe2281){const _0x557125=_0x2089b2;_0x3408f7['on']('error',_0x27a500);const _0x580f6e=_0x3ee3eb[_0x557125(0x157)][_0x557125(0x24a)],_0x3a3c3b=_0x3ee3eb['headers'][_0x557125(0x144)],_0x206321=+_0x3ee3eb['headers'][_0x557125(0x142)];if(_0x3ee3eb[_0x557125(0x163)]!=='GET'){_0x2c4416(this,_0x3ee3eb,_0x3408f7,0x195,_0x557125(0x23c));return;}if(_0x3a3c3b===void 0x0||_0x3a3c3b[_0x557125(0x176)]()!==_0x557125(0x28b)){_0x2c4416(this,_0x3ee3eb,_0x3408f7,0x190,_0x557125(0x151));return;}if(_0x580f6e===void 0x0||!_0x58ad9f[_0x557125(0x195)](_0x580f6e)){_0x2c4416(this,_0x3ee3eb,_0x3408f7,0x190,_0x557125(0x2bb));return;}if(_0x206321!==0xd&&_0x206321!==0x8){_0x2c4416(this,_0x3ee3eb,_0x3408f7,0x190,_0x557125(0x193),{'Sec-WebSocket-Version':_0x557125(0x2d9)});return;}if(!this['shouldHandle'](_0x3ee3eb)){_0x3faf5c(_0x3408f7,0x190);return;}const _0x44a6af=_0x3ee3eb[_0x557125(0x157)][_0x557125(0x159)];let _0x356ba1=new Set();if(_0x44a6af!==void 0x0)try{_0x356ba1=_0x5e6cce[_0x557125(0x17d)](_0x44a6af);}catch{_0x2c4416(this,_0x3ee3eb,_0x3408f7,0x190,_0x557125(0x28a));return;}const _0xdb1878=_0x3ee3eb[_0x557125(0x157)][_0x557125(0x133)],_0x2d267c={};if(this[_0x557125(0x1a9)]['perMessageDeflate']&&_0xdb1878!==void 0x0){const _0x11b1a1=new _0x205202(this[_0x557125(0x1a9)][_0x557125(0x232)],!0x0,this['options']['maxPayload']);try{const _0x78b0ef=_0x2eede9['parse'](_0xdb1878);_0x78b0ef[_0x205202['extensionName']]&&(_0x11b1a1[_0x557125(0x175)](_0x78b0ef[_0x205202[_0x557125(0x14b)]]),_0x2d267c[_0x205202[_0x557125(0x14b)]]=_0x11b1a1);}catch{_0x2c4416(this,_0x3ee3eb,_0x3408f7,0x190,_0x557125(0x27f));return;}}if(this[_0x557125(0x1a9)][_0x557125(0x13d)]){const _0x3f253d={'origin':_0x3ee3eb[_0x557125(0x157)][''+(_0x206321===0x8?_0x557125(0x22b):_0x557125(0x20c))],'secure':!!(_0x3ee3eb[_0x557125(0x213)][_0x557125(0x16e)]||_0x3ee3eb[_0x557125(0x213)][_0x557125(0x1ca)]),'req':_0x3ee3eb};if(this[_0x557125(0x1a9)][_0x557125(0x13d)][_0x557125(0x209)]===0x2){this[_0x557125(0x1a9)][_0x557125(0x13d)](_0x3f253d,(_0x1f2382,_0x135db7,_0x28f567,_0x4bc1f0)=>{const _0xe1d034=_0x557125;if(!_0x1f2382)return _0x3faf5c(_0x3408f7,_0x135db7||0x191,_0x28f567,_0x4bc1f0);this[_0xe1d034(0x225)](_0x2d267c,_0x580f6e,_0x356ba1,_0x3ee3eb,_0x3408f7,_0x7fe3c9,_0xfe2281);});return;}if(!this['options'][_0x557125(0x13d)](_0x3f253d))return _0x3faf5c(_0x3408f7,0x191);}this['completeUpgrade'](_0x2d267c,_0x580f6e,_0x356ba1,_0x3ee3eb,_0x3408f7,_0x7fe3c9,_0xfe2281);}[_0x2089b2(0x225)](_0x4aa47f,_0x2f4276,_0x4b7193,_0x21e06a,_0x307779,_0x332407,_0x5a7139){const _0x2d2180=_0x2089b2;if(!_0x307779[_0x2d2180(0x239)]||!_0x307779[_0x2d2180(0x1c5)])return _0x307779[_0x2d2180(0x267)]();if(_0x307779[_0x4361a7])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x2d2180(0x18c)]>_0x3af2c9)return _0x3faf5c(_0x307779,0x1f7);const _0x4fe4ba=[_0x2d2180(0x17e),_0x2d2180(0x23a),_0x2d2180(0x2e4),_0x2d2180(0x259)+_0x154a46('sha1')[_0x2d2180(0x2db)](_0x2f4276+_0xb6758f)['digest'](_0x2d2180(0x18b))],_0x2dd309=new this[(_0x2d2180(0x1a9))][(_0x2d2180(0x2d6))](null,void 0x0,this['options']);if(_0x4b7193[_0x2d2180(0x166)]){const _0x2c3a5e=this[_0x2d2180(0x1a9)][_0x2d2180(0x1f5)]?this[_0x2d2180(0x1a9)]['handleProtocols'](_0x4b7193,_0x21e06a):_0x4b7193['values']()['next']()[_0x2d2180(0x24d)];_0x2c3a5e&&(_0x4fe4ba[_0x2d2180(0x26d)](_0x2d2180(0x271)+_0x2c3a5e),_0x2dd309[_0x2d2180(0x1c3)]=_0x2c3a5e);}if(_0x4aa47f[_0x205202['extensionName']]){const _0x265234=_0x4aa47f[_0x205202[_0x2d2180(0x14b)]][_0x2d2180(0x1d4)],_0x341615=_0x2eede9[_0x2d2180(0x27d)]({[_0x205202['extensionName']]:[_0x265234]});_0x4fe4ba[_0x2d2180(0x26d)](_0x2d2180(0x1e7)+_0x341615),_0x2dd309[_0x2d2180(0x1fc)]=_0x4aa47f;}this[_0x2d2180(0x16d)](_0x2d2180(0x157),_0x4fe4ba,_0x21e06a),_0x307779['write'](_0x4fe4ba[_0x2d2180(0x218)]('\x0d\x0a')[_0x2d2180(0x23d)]('\x0d\x0a')),_0x307779[_0x2d2180(0x1ee)](_0x2d2180(0x201),_0x27a500),_0x2dd309[_0x2d2180(0x260)](_0x307779,_0x332407,{'allowSynchronousEvents':this[_0x2d2180(0x1a9)]['allowSynchronousEvents'],'maxPayload':this[_0x2d2180(0x1a9)][_0x2d2180(0x1b6)],'skipUTF8Validation':this['options'][_0x2d2180(0x2b3)]}),this[_0x2d2180(0x22e)]&&(this['clients'][_0x2d2180(0x1d9)](_0x2dd309),_0x2dd309['on'](_0x2d2180(0x234),()=>{const _0x4cfbef=_0x2d2180;this[_0x4cfbef(0x22e)][_0x4cfbef(0x214)](_0x2dd309),this[_0x4cfbef(0x1a6)]&&!this[_0x4cfbef(0x22e)][_0x4cfbef(0x166)]&&process[_0x4cfbef(0x206)](_0x120707,this);})),_0x5a7139(_0x2dd309,_0x21e06a);}}Te=_0x5e1040;function _0x5a1a14(_0xd39211,_0x1df028){const _0x2419ed=_0x2089b2;for(const _0x387082 of Object[_0x2419ed(0x1ea)](_0x1df028))_0xd39211['on'](_0x387082,_0x1df028[_0x387082]);return function(){const _0x3da269=_0x2419ed;for(const _0x30180e of Object[_0x3da269(0x1ea)](_0x1df028))_0xd39211[_0x3da269(0x1ee)](_0x30180e,_0x1df028[_0x30180e]);};}function _0x120707(_0x37215f){const _0x40efed=_0x2089b2;_0x37215f['_state']=_0x500ef2,_0x37215f[_0x40efed(0x16d)](_0x40efed(0x234));}function _0x27a500(){this['destroy']();}function _0x3faf5c(_0x37ab4f,_0x20185a,_0x16351f,_0x5cfc31){const _0x3b7ccc=_0x2089b2;_0x16351f=_0x16351f||_0x3fb0a2[_0x3b7ccc(0x250)][_0x20185a],_0x5cfc31={'Connection':_0x3b7ccc(0x234),'Content-Type':_0x3b7ccc(0x1dd),'Content-Length':Buffer[_0x3b7ccc(0x2ce)](_0x16351f),..._0x5cfc31},_0x37ab4f[_0x3b7ccc(0x161)](_0x3b7ccc(0x22d),_0x37ab4f[_0x3b7ccc(0x267)]),_0x37ab4f[_0x3b7ccc(0x1d1)](_0x3b7ccc(0x19d)+_0x20185a+'\x20'+_0x3fb0a2[_0x3b7ccc(0x250)][_0x20185a]+'\x0d\x0a'+Object[_0x3b7ccc(0x1ea)](_0x5cfc31)[_0x3b7ccc(0x180)](_0x25e63d=>_0x25e63d+':\x20'+_0x5cfc31[_0x25e63d])['join']('\x0d\x0a')+_0x3b7ccc(0x255)+_0x16351f);}function _0x2c4416(_0x44cb18,_0x4cff4e,_0x248b46,_0x534707,_0x484311,_0x15cfae){const _0x5ed6a2=_0x2089b2;if(_0x44cb18[_0x5ed6a2(0x19a)](_0x5ed6a2(0x1e1))){const _0x4dcca6=new Error(_0x484311);Error[_0x5ed6a2(0x1ed)](_0x4dcca6,_0x2c4416),_0x44cb18[_0x5ed6a2(0x16d)]('wsClientError',_0x4dcca6,_0x248b46,_0x4cff4e);}else _0x3faf5c(_0x248b46,_0x534707,_0x484311,_0x15cfae);}return Te;}Qt();var Jt=Object[_0x5d630b(0x162)],er=(_0x49b708,_0x33115a,_0x4bbb63,_0xb37abb)=>{const _0x5ceea1=_0x5d630b;for(var _0x23b3b8=_0xb37abb>0x1?void 0x0:_0xb37abb?Jt(_0x33115a,_0x4bbb63):_0x33115a,_0x18fc1e=_0x49b708[_0x5ceea1(0x209)]-0x1,_0x3ac396;_0x18fc1e>=0x0;_0x18fc1e--)(_0x3ac396=_0x49b708[_0x18fc1e])&&(_0x23b3b8=_0x3ac396(_0x23b3b8)||_0x23b3b8);return _0x23b3b8;},tr=(_0x3a2aa8,_0x11d17e)=>(_0x38809d,_0x2387f6)=>_0x11d17e(_0x38809d,_0x2387f6,_0x3a2aa8);let ke=class extends _0x5e6f89{constructor(_0x83f24c){const _0x4542ab=_0x5d630b;super(),this[_0x4542ab(0x1a1)]=_0x83f24c;}['createSocket'](_0x4a0159){const _0x1f4edd=_0x5d630b;var _0xe03615;const _0x2b7c76=((_0xe03615=this[_0x1f4edd(0x1a1)][_0x1f4edd(0x16a)](_0x1e5c55))==null?void 0x0:_0xe03615[_0x1f4edd(0x1c1)])||{};try{const _0x54667e=new Xt(_0x4a0159,{'headers':{..._0x2b7c76}}),_0x15b645=new _0x592492();return{'URL':_0x4a0159,'close':(_0x3ddc17,_0x51545f)=>{const _0x1d44fa=_0x1f4edd;_0x54667e[_0x1d44fa(0x234)](_0x3ddc17,_0x51545f),_0x15b645[_0x1d44fa(0x249)]();},'send':_0x1f4f52=>{const _0x3a475b=_0x1f4edd;_0x54667e[_0x3a475b(0x285)](_0x1f4f52);},'open$':new _0x1dae39(_0x3ec027=>{const _0xe5f371=_0x1f4edd,_0x4c705a=_0x1b8be8=>_0x3ec027[_0xe5f371(0x179)](_0x1b8be8);_0x54667e[_0xe5f371(0x22f)]('open',_0x4c705a),_0x15b645[_0xe5f371(0x1d9)](_0x5a8dc4(()=>_0x54667e[_0xe5f371(0x137)](_0xe5f371(0x25c),_0x4c705a)));})[_0x1f4edd(0x1a0)](_0x1ef649()),'close$':new _0x1dae39(_0x3ad158=>{const _0x85526b=_0x1f4edd,_0x2af796=_0x2cb163=>_0x3ad158[_0x85526b(0x179)](_0x2cb163);_0x54667e[_0x85526b(0x22f)](_0x85526b(0x234),_0x2af796),_0x15b645[_0x85526b(0x1d9)](_0x5a8dc4(()=>_0x54667e[_0x85526b(0x137)](_0x85526b(0x234),_0x2af796)));})[_0x1f4edd(0x1a0)](_0x1ef649()),'error$':new _0x1dae39(_0x5633fc=>{const _0x1586f7=_0x1f4edd,_0x1edd9c=_0x180877=>_0x5633fc[_0x1586f7(0x179)](_0x180877);_0x54667e[_0x1586f7(0x22f)](_0x1586f7(0x201),_0x1edd9c),_0x15b645[_0x1586f7(0x1d9)](_0x5a8dc4(()=>_0x54667e['removeEventListener'](_0x1586f7(0x201),_0x1edd9c)));})[_0x1f4edd(0x1a0)](_0x1ef649()),'message$':new _0x1dae39(_0x4be92d=>{const _0x41223e=_0x1f4edd,_0x235d6f=_0x90d1c1=>_0x4be92d[_0x41223e(0x179)](_0x90d1c1);_0x54667e['addEventListener'](_0x41223e(0x266),_0x235d6f),_0x15b645['add'](_0x5a8dc4(()=>_0x54667e['removeEventListener'](_0x41223e(0x266),_0x235d6f)));})[_0x1f4edd(0x1a0)](_0x1ef649())};}catch(_0x2dc367){return console[_0x1f4edd(0x201)](_0x2dc367),null;}}};ke=er([tr(0x0,_0x38cf07)],ke);var rr=Object[_0x5d630b(0x256)],sr=Object[_0x5d630b(0x162)],ir=(_0x3da62a,_0x4e536a,_0x5434dc)=>_0x4e536a in _0x3da62a?rr(_0x3da62a,_0x4e536a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5434dc}):_0x3da62a[_0x4e536a]=_0x5434dc,nr=(_0x5bf3fc,_0x55fd76,_0x107623,_0xf03ad7)=>{for(var _0x397b97=_0xf03ad7>0x1?void 0x0:_0xf03ad7?sr(_0x55fd76,_0x107623):_0x55fd76,_0x475834=_0x5bf3fc['length']-0x1,_0x3ea9d2;_0x475834>=0x0;_0x475834--)(_0x3ea9d2=_0x5bf3fc[_0x475834])&&(_0x397b97=_0x3ea9d2(_0x397b97)||_0x397b97);return _0x397b97;},nt=(_0x5535f1,_0x27154f)=>(_0x24728d,_0x5c5343)=>_0x27154f(_0x24728d,_0x5c5343,_0x5535f1),or=(_0x4f9a2a,_0x58aa3e,_0x5a1584)=>ir(_0x4f9a2a,_0x58aa3e+'',_0x5a1584);let Ne=class extends _0x2457e3{constructor(_0x3eaebf=Ft,_0x3df397,_0x541e6f){const _0x452a3f=_0x5d630b;super(),this[_0x452a3f(0x1a1)]=_0x3df397,this[_0x452a3f(0x2b7)]=_0x541e6f,this[_0x452a3f(0x1a1)]['setConfig']($t,_0x3eaebf);}[_0x5d630b(0x190)](){const _0x23f4cc=_0x5d630b;this[_0x23f4cc(0x2d4)]();}[_0x5d630b(0x2d4)](){_0x25025f(this['_injector'],[[_0x2631d2,{'useClass':ke}]]);}};or(Ne,_0x5d630b(0x145),_0x5d630b(0x1bd)),Ne=nr([_0x4047de(_0x4b2edb),nt(0x1,_0x38cf07),nt(0x2,_0x412856(_0xdf8d74))],Ne);var ar=Object[_0x5d630b(0x162)],lr=(_0x584357,_0x109fb0,_0x5ab35e,_0x439e30)=>{const _0x2b1cec=_0x5d630b;for(var _0x1efad3=_0x439e30>0x1?void 0x0:_0x439e30?ar(_0x109fb0,_0x5ab35e):_0x109fb0,_0x209aec=_0x584357[_0x2b1cec(0x209)]-0x1,_0x4c61dc;_0x209aec>=0x0;_0x209aec--)(_0x4c61dc=_0x584357[_0x209aec])&&(_0x1efad3=_0x4c61dc(_0x1efad3)||_0x1efad3);return _0x1efad3;},re=(_0x2651d5,_0x37c5eb)=>(_0x1c9e64,_0x356a71)=>_0x37c5eb(_0x1c9e64,_0x356a71,_0x2651d5);let ot=class extends _0x1e0bc2{constructor(_0x2696db,_0x39dfcb,_0x31e121,_0x4140ce,_0x5c7770){const _0x2816e0=_0x5d630b;super(_0x2696db,_0x39dfcb,_0x31e121,_0x4140ce,_0x5c7770);const _0x5c95f2=this[_0x2816e0(0x1a1)][_0x2816e0(0x16a)](_0x1e5c55);this[_0x2816e0(0x22a)][_0x2816e0(0x24e)]({'interceptor':(_0x24771e,_0x225cd7)=>{const _0x2224cf=_0x2816e0;var _0x1b7567;const _0x4c3212=_0x24771e[_0x2224cf(0x157)];return(_0x1b7567=_0x5c95f2==null?void 0x0:_0x5c95f2[_0x2224cf(0x1c1)])!=null&&_0x1b7567['cookie']&&_0x4c3212['set'](_0x2224cf(0x1d5),_0x5c95f2[_0x2224cf(0x1c1)][_0x2224cf(0x152)]),_0x225cd7(_0x24771e);}});}async[_0x5d630b(0x203)](_0x15176b){const _0x20b0f1=_0x5d630b;return this[_0x20b0f1(0x168)](_0x15176b);}};ot=lr([re(0x0,_0x412856(_0xdf8d74)),re(0x1,_0x412856(_0x5f137b)),re(0x2,_0x38cf07),re(0x3,_0x1e607a),re(0x4,_0x24ec4e)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};
1
+ const _0x459da0=_0x3817;(function(_0x565016,_0x2fe849){const _0x21d920=_0x3817,_0x4de3f8=_0x565016();while(!![]){try{const _0x27bab0=parseInt(_0x21d920(0x25e))/0x1+-parseInt(_0x21d920(0x2d0))/0x2*(parseInt(_0x21d920(0x29e))/0x3)+-parseInt(_0x21d920(0x267))/0x4+parseInt(_0x21d920(0x249))/0x5+parseInt(_0x21d920(0x2c4))/0x6+-parseInt(_0x21d920(0x217))/0x7+parseInt(_0x21d920(0x190))/0x8;if(_0x27bab0===_0x2fe849)break;else _0x4de3f8['push'](_0x4de3f8['shift']());}catch(_0xef65d3){_0x4de3f8['push'](_0x4de3f8['shift']());}}}(_0x4cde,0x8ee0f));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x15184b,UniverCollaborationClientPlugin as _0x2025bc,CollaborationSocketService as _0x266767}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5acf1f,DisposableCollection as _0x2e4cb0,toDisposable as _0xf18d6d,IConfigService as _0x426d1c,DependentOn as _0x4503f3,Inject as _0xbb3839,Injector as _0x286f7a,Plugin as _0x2e6e80,registerDependencies as _0x1a576f,ILogService as _0x28fb7e}from'@univerjs/core';import{ISocketService as _0x5306f4,HTTPService as _0x179d7a}from'@univerjs/network';import{Observable as _0x366dfa,share as _0x5e0174}from'rxjs';import _0x341a96 from'events';import _0xf3034b from'https';import _0x4cd558 from'http';import _0x5f26fe from'net';import _0x340ec3 from'tls';import _0x3be3a3 from'crypto';import _0xe2e071 from'stream';import _0x3aa83b from'url';import _0x3294f3 from'zlib';import _0x35d9e2 from'buffer';import{ISnapshotServerService as _0x558699}from'@univerjs-pro/collaboration';const $t='collaboration-client-node.config',Ft={};function Wt(_0x8885e1){const _0x4e4c1c=_0x3817;return _0x8885e1&&_0x8885e1[_0x4e4c1c(0x2cf)]&&Object[_0x4e4c1c(0x22a)][_0x4e4c1c(0x2cc)][_0x4e4c1c(0x1f5)](_0x8885e1,_0x4e4c1c(0x218))?_0x8885e1[_0x4e4c1c(0x218)]:_0x8885e1;}function jt(_0xdfc8a3){const _0x421261=_0x3817;if(Object[_0x421261(0x22a)][_0x421261(0x2cc)][_0x421261(0x1f5)](_0xdfc8a3,_0x421261(0x2cf)))return _0xdfc8a3;var _0x247c17=_0xdfc8a3[_0x421261(0x218)];if(typeof _0x247c17==_0x421261(0x193)){var _0x2b0ba6=function _0x5eacfe(){const _0x1946b1=_0x421261;var _0x58792f=!0x1;try{_0x58792f=this instanceof _0x5eacfe;}catch{}return _0x58792f?Reflect['construct'](_0x247c17,arguments,this[_0x1946b1(0x21b)]):_0x247c17[_0x1946b1(0x2e2)](this,arguments);};_0x2b0ba6[_0x421261(0x22a)]=_0x247c17[_0x421261(0x22a)];}else _0x2b0ba6={};return Object[_0x421261(0x1c8)](_0x2b0ba6,_0x421261(0x2cf),{'value':!0x0}),Object[_0x421261(0x1ea)](_0xdfc8a3)[_0x421261(0x2d9)](function(_0x8b90fd){const _0x42a393=_0x421261;var _0x555be6=Object[_0x42a393(0x292)](_0xdfc8a3,_0x8b90fd);Object['defineProperty'](_0x2b0ba6,_0x8b90fd,_0x555be6[_0x42a393(0x229)]?_0x555be6:{'enumerable':!0x0,'get':function(){return _0xdfc8a3[_0x8b90fd];}});}),_0x2b0ba6;}var me,He;function V(){const _0x11d06b=_0x3817;if(He)return me;He=0x1;const _0x464a8c=[_0x11d06b(0x2d4),_0x11d06b(0x231),_0x11d06b(0x278)],_0x358d39=typeof Blob<'u';return _0x358d39&&_0x464a8c[_0x11d06b(0x1b6)](_0x11d06b(0x2f9)),me={'BINARY_TYPES':_0x464a8c,'EMPTY_BUFFER':Buffer[_0x11d06b(0x257)](0x0),'GUID':_0x11d06b(0x18c),'hasBlob':_0x358d39,'kForOnEventAttribute':Symbol(_0x11d06b(0x22f)),'kListener':Symbol(_0x11d06b(0x1b4)),'kStatusCode':Symbol(_0x11d06b(0x311)),'kWebSocket':Symbol(_0x11d06b(0x1c4)),'NOOP':()=>{}},me;}var ge,ze;function fe(){const _0x285372=_0x3817;if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x4c0716}=V(),_0x5c0232=Buffer[Symbol[_0x285372(0x269)]];function _0x18ea20(_0x1fb189,_0xe80c9b){const _0x174660=_0x285372;if(_0x1fb189[_0x174660(0x28e)]===0x0)return _0x4c0716;if(_0x1fb189[_0x174660(0x28e)]===0x1)return _0x1fb189[0x0];const _0x2d5236=Buffer['allocUnsafe'](_0xe80c9b);let _0x20525c=0x0;for(let _0x57185a=0x0;_0x57185a<_0x1fb189['length'];_0x57185a++){const _0x3ea123=_0x1fb189[_0x57185a];_0x2d5236[_0x174660(0x174)](_0x3ea123,_0x20525c),_0x20525c+=_0x3ea123[_0x174660(0x28e)];}return _0x20525c<_0xe80c9b?new _0x5c0232(_0x2d5236[_0x174660(0x1ee)],_0x2d5236[_0x174660(0x306)],_0x20525c):_0x2d5236;}function _0x1c4733(_0x2ecbf6,_0x5b1865,_0x38f255,_0x24fdd0,_0x5cf80d){for(let _0x10b826=0x0;_0x10b826<_0x5cf80d;_0x10b826++)_0x38f255[_0x24fdd0+_0x10b826]=_0x2ecbf6[_0x10b826]^_0x5b1865[_0x10b826&0x3];}function _0x3f509d(_0x27724c,_0x1446d0){const _0x2213a3=_0x285372;for(let _0x1e9232=0x0;_0x1e9232<_0x27724c[_0x2213a3(0x28e)];_0x1e9232++)_0x27724c[_0x1e9232]^=_0x1446d0[_0x1e9232&0x3];}function _0x5d6474(_0x100185){const _0x10a000=_0x285372;return _0x100185[_0x10a000(0x28e)]===_0x100185[_0x10a000(0x1ee)][_0x10a000(0x216)]?_0x100185[_0x10a000(0x1ee)]:_0x100185[_0x10a000(0x1ee)][_0x10a000(0x23f)](_0x100185[_0x10a000(0x306)],_0x100185[_0x10a000(0x306)]+_0x100185['length']);}function _0x55d501(_0x3147bb){const _0x4dc91d=_0x285372;if(_0x55d501[_0x4dc91d(0x1d2)]=!0x0,Buffer[_0x4dc91d(0x244)](_0x3147bb))return _0x3147bb;let _0x3f550e;return _0x3147bb instanceof ArrayBuffer?_0x3f550e=new _0x5c0232(_0x3147bb):ArrayBuffer['isView'](_0x3147bb)?_0x3f550e=new _0x5c0232(_0x3147bb[_0x4dc91d(0x1ee)],_0x3147bb[_0x4dc91d(0x306)],_0x3147bb[_0x4dc91d(0x216)]):(_0x3f550e=Buffer[_0x4dc91d(0x24d)](_0x3147bb),_0x55d501[_0x4dc91d(0x1d2)]=!0x1),_0x3f550e;}return ge={'concat':_0x18ea20,'mask':_0x1c4733,'toArrayBuffer':_0x5d6474,'toBuffer':_0x55d501,'unmask':_0x3f509d},ge;}var ye,Ye;function Gt(){const _0x45ef96=_0x3817;if(Ye)return ye;Ye=0x1;const _0x180535=Symbol(_0x45ef96(0x246)),_0x1c7642=Symbol(_0x45ef96(0x1cb));class _0x1bc998{constructor(_0x53bd63){const _0x4e92a1=_0x45ef96;this[_0x180535]=()=>{const _0x485ee9=_0x3817;this[_0x485ee9(0x19d)]--,this[_0x1c7642]();},this['concurrency']=_0x53bd63||0x1/0x0,this['jobs']=[],this[_0x4e92a1(0x19d)]=0x0;}[_0x45ef96(0x28b)](_0x38e6fd){const _0x177f71=_0x45ef96;this['jobs'][_0x177f71(0x1b6)](_0x38e6fd),this[_0x1c7642]();}[_0x1c7642](){const _0x149604=_0x45ef96;if(this[_0x149604(0x19d)]!==this[_0x149604(0x2b3)]&&this[_0x149604(0x256)][_0x149604(0x28e)]){const _0x17be24=this[_0x149604(0x256)][_0x149604(0x27d)]();this[_0x149604(0x19d)]++,_0x17be24(this[_0x180535]);}}}return ye=_0x1bc998,ye;}var ve,Ke;function ce(){const _0x5740d5=_0x3817;if(Ke)return ve;Ke=0x1;const _0x458114=_0x3294f3,_0x24ebaf=fe(),_0x5f007b=Gt(),{kStatusCode:_0x1151aa}=V(),_0x547363=Buffer[Symbol[_0x5740d5(0x269)]],_0x5ab563=Buffer['from']([0x0,0x0,0xff,0xff]),_0x1f9720=Symbol(_0x5740d5(0x2bf)),_0x14996e=Symbol(_0x5740d5(0x2dd)),_0x28dba7=Symbol(_0x5740d5(0x26a)),_0x8ed8ce=Symbol(_0x5740d5(0x1db)),_0x5852d0=Symbol('error');let _0x4f5bc5;class _0x434f26{constructor(_0x735b73,_0x8948ae,_0x5a10d8){const _0x1c163d=_0x5740d5;if(this[_0x1c163d(0x20f)]=_0x5a10d8|0x0,this[_0x1c163d(0x1b3)]=_0x735b73||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x1c163d(0x1b3)][_0x1c163d(0x24b)]:0x400,this['_isServer']=!!_0x8948ae,this[_0x1c163d(0x1fe)]=null,this[_0x1c163d(0x239)]=null,this[_0x1c163d(0x2b7)]=null,!_0x4f5bc5){const _0x3fb169=this[_0x1c163d(0x1b3)][_0x1c163d(0x284)]!==void 0x0?this[_0x1c163d(0x1b3)][_0x1c163d(0x284)]:0xa;_0x4f5bc5=new _0x5f007b(_0x3fb169);}}static get['extensionName'](){const _0x210571=_0x5740d5;return _0x210571(0x2bf);}[_0x5740d5(0x21d)](){const _0x33c3bf=_0x5740d5,_0x5842f7={};return this[_0x33c3bf(0x1b3)][_0x33c3bf(0x261)]&&(_0x5842f7[_0x33c3bf(0x183)]=!0x0),this[_0x33c3bf(0x1b3)]['clientNoContextTakeover']&&(_0x5842f7[_0x33c3bf(0x1e6)]=!0x0),this['_options'][_0x33c3bf(0x187)]&&(_0x5842f7[_0x33c3bf(0x237)]=this['_options'][_0x33c3bf(0x187)]),this[_0x33c3bf(0x1b3)][_0x33c3bf(0x2f7)]?_0x5842f7[_0x33c3bf(0x29b)]=this[_0x33c3bf(0x1b3)][_0x33c3bf(0x2f7)]:this[_0x33c3bf(0x1b3)][_0x33c3bf(0x2f7)]==null&&(_0x5842f7[_0x33c3bf(0x29b)]=!0x0),_0x5842f7;}[_0x5740d5(0x1cc)](_0xe6f3ba){const _0x33a536=_0x5740d5;return _0xe6f3ba=this['normalizeParams'](_0xe6f3ba),this[_0x33a536(0x2b7)]=this[_0x33a536(0x279)]?this[_0x33a536(0x1e3)](_0xe6f3ba):this[_0x33a536(0x2b6)](_0xe6f3ba),this[_0x33a536(0x2b7)];}[_0x5740d5(0x1da)](){const _0xaf7119=_0x5740d5;if(this[_0xaf7119(0x239)]&&(this[_0xaf7119(0x239)]['close'](),this[_0xaf7119(0x239)]=null),this['_deflate']){const _0x4f7c56=this[_0xaf7119(0x1fe)][_0x28dba7];this[_0xaf7119(0x1fe)][_0xaf7119(0x27c)](),this[_0xaf7119(0x1fe)]=null,_0x4f7c56&&_0x4f7c56(new Error(_0xaf7119(0x25d)));}}[_0x5740d5(0x1e3)](_0x4ae8ae){const _0x4169d3=_0x5740d5,_0x54eae2=this['_options'],_0x22bf5b=_0x4ae8ae['find'](_0x5e11f9=>!(_0x54eae2[_0x4169d3(0x261)]===!0x1&&_0x5e11f9[_0x4169d3(0x183)]||_0x5e11f9['server_max_window_bits']&&(_0x54eae2['serverMaxWindowBits']===!0x1||typeof _0x54eae2[_0x4169d3(0x187)]==_0x4169d3(0x28a)&&_0x54eae2[_0x4169d3(0x187)]>_0x5e11f9[_0x4169d3(0x237)])||typeof _0x54eae2[_0x4169d3(0x2f7)]==_0x4169d3(0x28a)&&!_0x5e11f9[_0x4169d3(0x29b)]));if(!_0x22bf5b)throw new Error(_0x4169d3(0x1f7));return _0x54eae2[_0x4169d3(0x261)]&&(_0x22bf5b[_0x4169d3(0x183)]=!0x0),_0x54eae2[_0x4169d3(0x175)]&&(_0x22bf5b[_0x4169d3(0x1e6)]=!0x0),typeof _0x54eae2[_0x4169d3(0x187)]==_0x4169d3(0x28a)&&(_0x22bf5b[_0x4169d3(0x237)]=_0x54eae2[_0x4169d3(0x187)]),typeof _0x54eae2[_0x4169d3(0x2f7)]=='number'?_0x22bf5b[_0x4169d3(0x29b)]=_0x54eae2[_0x4169d3(0x2f7)]:(_0x22bf5b[_0x4169d3(0x29b)]===!0x0||_0x54eae2[_0x4169d3(0x2f7)]===!0x1)&&delete _0x22bf5b[_0x4169d3(0x29b)],_0x22bf5b;}[_0x5740d5(0x2b6)](_0x112cb8){const _0x3bbf76=_0x5740d5,_0x521183=_0x112cb8[0x0];if(this[_0x3bbf76(0x1b3)][_0x3bbf76(0x175)]===!0x1&&_0x521183['client_no_context_takeover'])throw new Error(_0x3bbf76(0x1f0));if(!_0x521183['client_max_window_bits'])typeof this[_0x3bbf76(0x1b3)]['clientMaxWindowBits']==_0x3bbf76(0x28a)&&(_0x521183[_0x3bbf76(0x29b)]=this[_0x3bbf76(0x1b3)][_0x3bbf76(0x2f7)]);else{if(this['_options'][_0x3bbf76(0x2f7)]===!0x1||typeof this[_0x3bbf76(0x1b3)][_0x3bbf76(0x2f7)]==_0x3bbf76(0x28a)&&_0x521183[_0x3bbf76(0x29b)]>this[_0x3bbf76(0x1b3)][_0x3bbf76(0x2f7)])throw new Error(_0x3bbf76(0x2ab));}return _0x521183;}[_0x5740d5(0x2da)](_0xaec672){const _0xd0119e=_0x5740d5;return _0xaec672[_0xd0119e(0x2d9)](_0x909268=>{const _0x5e0a74=_0xd0119e;Object[_0x5e0a74(0x1ea)](_0x909268)[_0x5e0a74(0x2d9)](_0x33e396=>{const _0x129812=_0x5e0a74;let _0x21c021=_0x909268[_0x33e396];if(_0x21c021[_0x129812(0x28e)]>0x1)throw new Error(_0x129812(0x2c7)+_0x33e396+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x21c021=_0x21c021[0x0],_0x33e396===_0x129812(0x29b)){if(_0x21c021!==!0x0){const _0x480647=+_0x21c021;if(!Number[_0x129812(0x1ba)](_0x480647)||_0x480647<0x8||_0x480647>0xf)throw new TypeError(_0x129812(0x1d9)+_0x33e396+_0x129812(0x1fa)+_0x21c021);_0x21c021=_0x480647;}else{if(!this[_0x129812(0x279)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x33e396+_0x129812(0x1fa)+_0x21c021);}}else{if(_0x33e396===_0x129812(0x237)){const _0x20c9b2=+_0x21c021;if(!Number[_0x129812(0x1ba)](_0x20c9b2)||_0x20c9b2<0x8||_0x20c9b2>0xf)throw new TypeError(_0x129812(0x1d9)+_0x33e396+'\x22:\x20'+_0x21c021);_0x21c021=_0x20c9b2;}else{if(_0x33e396===_0x129812(0x1e6)||_0x33e396===_0x129812(0x183)){if(_0x21c021!==!0x0)throw new TypeError(_0x129812(0x1d9)+_0x33e396+'\x22:\x20'+_0x21c021);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x33e396+'\x22');}}_0x909268[_0x33e396]=_0x21c021;});}),_0xaec672;}[_0x5740d5(0x1fb)](_0x4cd107,_0xef02e0,_0x3fc5ef){const _0x5eb653=_0x5740d5;_0x4f5bc5[_0x5eb653(0x28b)](_0x2fd899=>{const _0x30154d=_0x5eb653;this[_0x30154d(0x1e1)](_0x4cd107,_0xef02e0,(_0x24158b,_0x398ceb)=>{_0x2fd899(),_0x3fc5ef(_0x24158b,_0x398ceb);});});}[_0x5740d5(0x182)](_0x48fa53,_0x364707,_0x100170){const _0x1dcfe7=_0x5740d5;_0x4f5bc5[_0x1dcfe7(0x28b)](_0x25f227=>{this['_compress'](_0x48fa53,_0x364707,(_0x2b32bf,_0x5e60ab)=>{_0x25f227(),_0x100170(_0x2b32bf,_0x5e60ab);});});}[_0x5740d5(0x1e1)](_0x117296,_0x96af2a,_0x725022){const _0x264b49=_0x5740d5,_0xadcbd2=this['_isServer']?_0x264b49(0x18e):_0x264b49(0x205);if(!this[_0x264b49(0x239)]){const _0x19d33e=_0xadcbd2+_0x264b49(0x172),_0x337ea1=typeof this[_0x264b49(0x2b7)][_0x19d33e]!=_0x264b49(0x28a)?_0x458114[_0x264b49(0x2ed)]:this['params'][_0x19d33e];this[_0x264b49(0x239)]=_0x458114[_0x264b49(0x1b5)]({...this[_0x264b49(0x1b3)][_0x264b49(0x1a9)],'windowBits':_0x337ea1}),this[_0x264b49(0x239)][_0x1f9720]=this,this['_inflate'][_0x14996e]=0x0,this[_0x264b49(0x239)][_0x8ed8ce]=[],this[_0x264b49(0x239)]['on'](_0x264b49(0x219),_0x288797),this[_0x264b49(0x239)]['on'](_0x264b49(0x207),_0x592777);}this[_0x264b49(0x239)][_0x28dba7]=_0x725022,this[_0x264b49(0x239)][_0x264b49(0x1e9)](_0x117296),_0x96af2a&&this[_0x264b49(0x239)][_0x264b49(0x1e9)](_0x5ab563),this['_inflate'][_0x264b49(0x26f)](()=>{const _0x5d3e3e=_0x264b49,_0x94bc60=this[_0x5d3e3e(0x239)][_0x5852d0];if(_0x94bc60){this['_inflate']['close'](),this[_0x5d3e3e(0x239)]=null,_0x725022(_0x94bc60);return;}const _0x1bd2a2=_0x24ebaf['concat'](this[_0x5d3e3e(0x239)][_0x8ed8ce],this[_0x5d3e3e(0x239)][_0x14996e]);this[_0x5d3e3e(0x239)][_0x5d3e3e(0x16e)][_0x5d3e3e(0x16b)]?(this[_0x5d3e3e(0x239)][_0x5d3e3e(0x27c)](),this[_0x5d3e3e(0x239)]=null):(this['_inflate'][_0x14996e]=0x0,this[_0x5d3e3e(0x239)][_0x8ed8ce]=[],_0x96af2a&&this[_0x5d3e3e(0x2b7)][_0xadcbd2+_0x5d3e3e(0x1f4)]&&this[_0x5d3e3e(0x239)][_0x5d3e3e(0x16a)]()),_0x725022(null,_0x1bd2a2);});}[_0x5740d5(0x2e7)](_0x10acd4,_0x4125f2,_0x4ad7fc){const _0x1f7769=_0x5740d5,_0x430948=this['_isServer']?_0x1f7769(0x205):_0x1f7769(0x18e);if(!this[_0x1f7769(0x1fe)]){const _0x56af0e=_0x430948+_0x1f7769(0x172),_0x416fc1=typeof this[_0x1f7769(0x2b7)][_0x56af0e]!=_0x1f7769(0x28a)?_0x458114[_0x1f7769(0x2ed)]:this[_0x1f7769(0x2b7)][_0x56af0e];this[_0x1f7769(0x1fe)]=_0x458114[_0x1f7769(0x277)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x416fc1}),this[_0x1f7769(0x1fe)][_0x14996e]=0x0,this[_0x1f7769(0x1fe)][_0x8ed8ce]=[],this['_deflate']['on'](_0x1f7769(0x207),_0x113682);}this[_0x1f7769(0x1fe)][_0x28dba7]=_0x4ad7fc,this[_0x1f7769(0x1fe)]['write'](_0x10acd4),this[_0x1f7769(0x1fe)][_0x1f7769(0x26f)](_0x458114[_0x1f7769(0x2a9)],()=>{const _0x5614e2=_0x1f7769;if(!this[_0x5614e2(0x1fe)])return;let _0x1910cc=_0x24ebaf['concat'](this['_deflate'][_0x8ed8ce],this[_0x5614e2(0x1fe)][_0x14996e]);_0x4125f2&&(_0x1910cc=new _0x547363(_0x1910cc[_0x5614e2(0x1ee)],_0x1910cc[_0x5614e2(0x306)],_0x1910cc[_0x5614e2(0x28e)]-0x4)),this[_0x5614e2(0x1fe)][_0x28dba7]=null,this[_0x5614e2(0x1fe)][_0x14996e]=0x0,this[_0x5614e2(0x1fe)][_0x8ed8ce]=[],_0x4125f2&&this[_0x5614e2(0x2b7)][_0x430948+'_no_context_takeover']&&this['_deflate'][_0x5614e2(0x16a)](),_0x4ad7fc(null,_0x1910cc);});}}ve=_0x434f26;function _0x113682(_0x272e7a){const _0xe81a9c=_0x5740d5;this[_0x8ed8ce][_0xe81a9c(0x1b6)](_0x272e7a),this[_0x14996e]+=_0x272e7a['length'];}function _0x592777(_0x58e75){const _0x363dc1=_0x5740d5;if(this[_0x14996e]+=_0x58e75['length'],this[_0x1f9720][_0x363dc1(0x20f)]<0x1||this[_0x14996e]<=this[_0x1f9720]['_maxPayload']){this[_0x8ed8ce][_0x363dc1(0x1b6)](_0x58e75);return;}this[_0x5852d0]=new RangeError(_0x363dc1(0x1bf)),this[_0x5852d0]['code']=_0x363dc1(0x23a),this[_0x5852d0][_0x1151aa]=0x3f1,this[_0x363dc1(0x243)](_0x363dc1(0x207),_0x592777),this['reset']();}function _0x288797(_0x34addf){if(this[_0x1f9720]['_inflate']=null,this[_0x5852d0]){this[_0x28dba7](this[_0x5852d0]);return;}_0x34addf[_0x1151aa]=0x3ef,this[_0x28dba7](_0x34addf);}return ve;}function _0x4cde(){const _0x2c1cc9=['startLoop','Unexpected\x20end\x20of\x20input','setTimeout','createError','apply','getData','sec-websocket-extensions','fin','_fragmented','_compress','Invalid\x20Sec-WebSocket-Extensions\x20header','_configService','hash','reason','_closeTimer','Z_DEFAULT_WINDOWBITS','setConfig','address','pause','_autoPong','terminate','message','create','cookie','followRedirects','clientMaxWindowBits','handleUpgrade','blob','port','needDrain','kTarget','getInfo','redirect','verifyClient','text/plain','_mask','text/html','onclose','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','then','byteOffset','socketPath','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','The\x20URL\x20contains\x20a\x20fragment\x20identifier','password','toLowerCase','writeHead','The\x20\x22','toString','_queue','status-code','includes','_compressed','getPayloadLength16','arrayBuffer','encrypted','WebSocket\x20is\x20not\x20open:\x20readyState\x20','uncork','http:','object','statusCode','reset','endEmitted','invalid\x20UTF-8\x20sequence','auth','_readableState','completeUpgrade','_receiver','maxPayload','_max_window_bits','map','set','clientNoContextTakeover','kWasClean','path','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','wsClientError','_skipUTF8Validation','listeners','_allowSynchronousEvents','servername','opcode','backlog','WS_ERR_INVALID_CLOSE_CODE','target','compress','server_no_context_takeover','Sec-WebSocket-Accept:\x20','kType','autoPong','serverMaxWindowBits','_sender','has','exports','_shouldEmitClose','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_generateMask','client','_originalSecure','975512xBDCZS','_bufferedBytes','_url','function','allowSynchronousEvents','_opcode','authorized','wss:','dataMessage','WS_NO_UTF_8_VALIDATE','removeEventListener','defaultPort','href','pending','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','isPaused','_readyState','pong','destroyed','sec-websocket-protocol','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WebSocket','resume','extensions','WS_ERR_EXPECTED_MASK','zlibInflateOptions','kAborted','WS_ERR_INVALID_UTF8','getBlobData','ws:','WS_ERR_UNEXPECTED_RSV_2_3','Server\x20sent\x20no\x20subprotocol','_socket','open','invalid\x20opcode\x20','_options','kListener','createInflateRaw','push','invalid\x20opcode\x200','Upgrade:\x20websocket','onStarting','isInteger','nextTick','end','dequeue','emitClose','Max\x20payload\x20size\x20exceeded','_closeCode','\x0d\x0a\x0d\x0a','conclude','frame','websocket','CONNECTING','_payloadLength','update','defineProperty','_final','setNoDelay','kRun','accept','charCodeAt','_redirects','FIN\x20must\x20be\x20set','isServer','_bufferedAmount','readOnly','Invalid\x20Sec-WebSocket-Accept\x20header','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','captureStackTrace','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','maskBuffer','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','cleanup','buffers','url','WS_ERR_UNEXPECTED_MASK','setSocket','_totalPayloadLength','noServer','_decompress','errorEmitted','acceptAsServer','kError','haveLength','client_no_context_takeover','binary','Unexpected\x20server\x20response:\x20','write','keys','_firstFragment','value','CLOSED','buffer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','enqueue','hostname','username','_no_context_takeover','call','listenerCount','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','cork','Basic\x20','\x22:\x20','decompress','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','binaryType','_deflate','HTTP/1.1\x20101\x20Switching\x20Protocols','clients','pluginName','string','wasClean','MASK\x20must\x20be\x20set','server','The\x20URL\x27s\x20pathname\x20is\x20empty','data','rsv1','writeUIntBE','GET','options','read','code','sendFrame','_maxPayload','perMessageDeflate','base64','Invalid\x20Upgrade\x20header','customHeaders','_writableState','clientTracking','byteLength','1926351zezSRl','default','error','once','constructor','mask','offer','host','writeUInt16BE','_removeListeners','type','_state','invalid\x20payload\x20length\x20','pipe','sec-websocket-key','send','_write','pow','get','prototype','handleProtocols','Unexpected\x20character\x20at\x20index\x20','_destroy','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','kIsForOnEventAttribute','Upgrade','arraybuffer','sec-websocket-version','isValidUTF8','kMessage','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','sha1','server_max_window_bits','Invalid\x20URL:\x20','_inflate','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','next','_originalIpc','OPEN','getConfig','slice','indexOf','values','size','removeListener','isBuffer','connect','kDone','request','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','1980655MtQMDJ','extensionName','threshold','delete','from','onerror','readyState','kByteLength','objectMode','_binaryType','Invalid\x20WebSocket\x20frame:\x20','getPayloadLength64','_req','jobs','alloc','RSV1\x20must\x20be\x20clear','unexpected-response','getMask','STATUS_CODES','toStringTag','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','551024fFIvzq','https:','Connection:\x20Upgrade','serverNoContextTakeover','authorization','env','File','Maximum\x20redirects\x20exceeded','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','1315312gKtRWI','protocolVersion','species','callback','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','protocol','_maskBuffer','parse','flush','bufferedAmount','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','readable','split','finishRequest','upgrade','emit','createDeflateRaw','fragments','_isServer','_closeMessage','pathname','close','shift','digest','concat','kCode','ping','_closeFrameSent','\x22\x20subprotocol\x20is\x20duplicated','concurrencyLimit','_buffers','replace','controlMessage','finish','_server','number','add','_paused','sec-websocket-origin','length','allocUnsafe','The\x20server\x20is\x20not\x20running','_registerDependencies','getOwnPropertyDescriptor','CLOSING','_originalHostOrSocketPath','socket','origin','drain','kData','listen','Unsupported\x20protocol\x20version:\x20','client_max_window_bits','_fin','maxRedirects','633bAFzLI','isArray','skipUTF8Validation','\x20(supported\x20versions:\x20','_masked','onopen','connection','test','_protocol','WS_ERR_EXPECTED_FIN','HTTP/1.1\x20','Z_SYNC_FLUSH','_messageLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','headers','_errored','createConnection','onmessage','destroy','WS_ERR_INVALID_OPCODE','_doCreateSocket','concurrency','setHeader','_loop','acceptAsClient','params','_httpService','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','timeout','finished','dispatch','isIP','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','permessage-deflate','Sec-WebSocket-Protocol','13,\x208','_threshold','abort','5711520PHajsk','consume','handleEvent','Parameter\x20\x22','_errorEmitted','_closeFrameReceived','_fragments','_injector','hasOwnProperty','Blob','createServer','__esModule','7884XExIuV','shouldHandle','readUInt32BE','createSocket','nodebuffer','Invalid\x20HTTP\x20method','readUInt16BE','join','addEventListener','forEach','normalizeParams','bind','_extensions','total-length'];_0x4cde=function(){return _0x2c1cc9;};return _0x4cde();}var te={'exports':{}};const Vt={},qt=Object['freeze'](Object[_0x459da0(0x1c8)]({'__proto__':null,'default':Vt},Symbol[_0x459da0(0x25c)],{'value':'Module'})),Ht=jt(qt);var Xe;function ie(){const _0x2d6b68=_0x459da0;if(Xe)return te[_0x2d6b68(0x18a)];Xe=0x1;const {isUtf8:_0x1481cc}=_0x35d9e2,{hasBlob:_0x1482bf}=V(),_0x3cef71=[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 _0xa7f15(_0x43e672){return _0x43e672>=0x3e8&&_0x43e672<=0x3f6&&_0x43e672!==0x3ec&&_0x43e672!==0x3ed&&_0x43e672!==0x3ee||_0x43e672>=0xbb8&&_0x43e672<=0x1387;}function _0x44aab0(_0x2c88c3){const _0xc976e4=_0x2d6b68,_0x52c675=_0x2c88c3[_0xc976e4(0x28e)];let _0x479304=0x0;for(;_0x479304<_0x52c675;)if((_0x2c88c3[_0x479304]&0x80)===0x0)_0x479304++;else{if((_0x2c88c3[_0x479304]&0xe0)===0xc0){if(_0x479304+0x1===_0x52c675||(_0x2c88c3[_0x479304+0x1]&0xc0)!==0x80||(_0x2c88c3[_0x479304]&0xfe)===0xc0)return!0x1;_0x479304+=0x2;}else{if((_0x2c88c3[_0x479304]&0xf0)===0xe0){if(_0x479304+0x2>=_0x52c675||(_0x2c88c3[_0x479304+0x1]&0xc0)!==0x80||(_0x2c88c3[_0x479304+0x2]&0xc0)!==0x80||_0x2c88c3[_0x479304]===0xe0&&(_0x2c88c3[_0x479304+0x1]&0xe0)===0x80||_0x2c88c3[_0x479304]===0xed&&(_0x2c88c3[_0x479304+0x1]&0xe0)===0xa0)return!0x1;_0x479304+=0x3;}else{if((_0x2c88c3[_0x479304]&0xf8)===0xf0){if(_0x479304+0x3>=_0x52c675||(_0x2c88c3[_0x479304+0x1]&0xc0)!==0x80||(_0x2c88c3[_0x479304+0x2]&0xc0)!==0x80||(_0x2c88c3[_0x479304+0x3]&0xc0)!==0x80||_0x2c88c3[_0x479304]===0xf0&&(_0x2c88c3[_0x479304+0x1]&0xf0)===0x80||_0x2c88c3[_0x479304]===0xf4&&_0x2c88c3[_0x479304+0x1]>0x8f||_0x2c88c3[_0x479304]>0xf4)return!0x1;_0x479304+=0x4;}else return!0x1;}}}return!0x0;}function _0x464163(_0x40d724){const _0x1574d8=_0x2d6b68;return _0x1482bf&&typeof _0x40d724==_0x1574d8(0x31a)&&typeof _0x40d724[_0x1574d8(0x315)]=='function'&&typeof _0x40d724['type']==_0x1574d8(0x202)&&typeof _0x40d724['stream']==_0x1574d8(0x193)&&(_0x40d724[Symbol[_0x1574d8(0x25c)]]===_0x1574d8(0x2cd)||_0x40d724[Symbol[_0x1574d8(0x25c)]]===_0x1574d8(0x264));}if(te['exports']={'isBlob':_0x464163,'isValidStatusCode':_0xa7f15,'isValidUTF8':_0x44aab0,'tokenChars':_0x3cef71},_0x1481cc)te['exports'][_0x2d6b68(0x233)]=function(_0x200e38){const _0x1ea075=_0x2d6b68;return _0x200e38[_0x1ea075(0x28e)]<0x18?_0x44aab0(_0x200e38):_0x1481cc(_0x200e38);};else{if(!process[_0x2d6b68(0x263)][_0x2d6b68(0x199)])try{const _0x416cd1=Ht;te[_0x2d6b68(0x18a)][_0x2d6b68(0x233)]=function(_0x3359bd){const _0x572268=_0x2d6b68;return _0x3359bd[_0x572268(0x28e)]<0x20?_0x44aab0(_0x3359bd):_0x416cd1(_0x3359bd);};}catch{}}return te[_0x2d6b68(0x18a)];}var Se,Ze;function ht(){const _0x4046fb=_0x459da0;if(Ze)return Se;Ze=0x1;const {Writable:_0x739223}=_0xe2e071,_0x4bc9ab=ce(),{BINARY_TYPES:_0x15a0f6,EMPTY_BUFFER:_0x387dde,kStatusCode:_0x131f37,kWebSocket:_0x1f2d9d}=V(),{concat:_0x98b367,toArrayBuffer:_0x107d79,unmask:_0x2505c9}=fe(),{isValidStatusCode:_0x222ea6,isValidUTF8:_0x4172a2}=ie(),_0x152bc6=Buffer[Symbol['species']],_0x1ec161=0x0,_0x555a05=0x1,_0x339458=0x2,_0xa6be90=0x3,_0x172559=0x4,_0x90772=0x5,_0x367502=0x6;class _0x220913 extends _0x739223{constructor(_0x465db7={}){const _0x3459cf=_0x3817;super(),this[_0x3459cf(0x17c)]=_0x465db7[_0x3459cf(0x194)]!==void 0x0?_0x465db7[_0x3459cf(0x194)]:!0x0,this[_0x3459cf(0x252)]=_0x465db7['binaryType']||_0x15a0f6[0x0],this['_extensions']=_0x465db7[_0x3459cf(0x1a7)]||{},this[_0x3459cf(0x279)]=!!_0x465db7[_0x3459cf(0x1d0)],this[_0x3459cf(0x20f)]=_0x465db7[_0x3459cf(0x171)]|0x0,this[_0x3459cf(0x17a)]=!!_0x465db7[_0x3459cf(0x2a0)],this[_0x1f2d9d]=void 0x0,this[_0x3459cf(0x191)]=0x0,this[_0x3459cf(0x285)]=[],this[_0x3459cf(0x313)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x3459cf(0x29c)]=!0x1,this['_opcode']=0x0,this[_0x3459cf(0x1df)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x3459cf(0x2b5)]=!0x1,this[_0x3459cf(0x222)]=_0x1ec161;}[_0x4046fb(0x227)](_0x25f885,_0x348ed3,_0x38e0ab){const _0x265d9b=_0x4046fb;if(this[_0x265d9b(0x195)]===0x8&&this[_0x265d9b(0x222)]==_0x1ec161)return _0x38e0ab();this[_0x265d9b(0x191)]+=_0x25f885[_0x265d9b(0x28e)],this[_0x265d9b(0x285)]['push'](_0x25f885),this[_0x265d9b(0x2de)](_0x38e0ab);}[_0x4046fb(0x2c5)](_0x179820){const _0x42a5b4=_0x4046fb;if(this[_0x42a5b4(0x191)]-=_0x179820,_0x179820===this[_0x42a5b4(0x285)][0x0][_0x42a5b4(0x28e)])return this[_0x42a5b4(0x285)][_0x42a5b4(0x27d)]();if(_0x179820<this[_0x42a5b4(0x285)][0x0][_0x42a5b4(0x28e)]){const _0x23cef8=this[_0x42a5b4(0x285)][0x0];return this[_0x42a5b4(0x285)][0x0]=new _0x152bc6(_0x23cef8[_0x42a5b4(0x1ee)],_0x23cef8[_0x42a5b4(0x306)]+_0x179820,_0x23cef8[_0x42a5b4(0x28e)]-_0x179820),new _0x152bc6(_0x23cef8[_0x42a5b4(0x1ee)],_0x23cef8['byteOffset'],_0x179820);}const _0x13d0ed=Buffer[_0x42a5b4(0x28f)](_0x179820);do{const _0x318049=this[_0x42a5b4(0x285)][0x0],_0x21aebe=_0x13d0ed[_0x42a5b4(0x28e)]-_0x179820;_0x179820>=_0x318049[_0x42a5b4(0x28e)]?_0x13d0ed[_0x42a5b4(0x174)](this[_0x42a5b4(0x285)][_0x42a5b4(0x27d)](),_0x21aebe):(_0x13d0ed['set'](new Uint8Array(_0x318049[_0x42a5b4(0x1ee)],_0x318049[_0x42a5b4(0x306)],_0x179820),_0x21aebe),this[_0x42a5b4(0x285)][0x0]=new _0x152bc6(_0x318049[_0x42a5b4(0x1ee)],_0x318049[_0x42a5b4(0x306)]+_0x179820,_0x318049[_0x42a5b4(0x28e)]-_0x179820)),_0x179820-=_0x318049[_0x42a5b4(0x28e)];}while(_0x179820>0x0);return _0x13d0ed;}[_0x4046fb(0x2de)](_0x5311d9){const _0x331a5c=_0x4046fb;this[_0x331a5c(0x2b5)]=!0x0;do switch(this[_0x331a5c(0x222)]){case _0x1ec161:this[_0x331a5c(0x2fd)](_0x5311d9);break;case _0x555a05:this[_0x331a5c(0x314)](_0x5311d9);break;case _0x339458:this[_0x331a5c(0x254)](_0x5311d9);break;case _0xa6be90:this[_0x331a5c(0x25a)]();break;case _0x172559:this[_0x331a5c(0x2e3)](_0x5311d9);break;case _0x90772:case _0x367502:this[_0x331a5c(0x2b5)]=!0x1;return;}while(this[_0x331a5c(0x2b5)]);this[_0x331a5c(0x2ad)]||_0x5311d9();}[_0x4046fb(0x2fd)](_0x66fd79){const _0x1c17e0=_0x4046fb;if(this[_0x1c17e0(0x191)]<0x2){this['_loop']=!0x1;return;}const _0x4223a2=this[_0x1c17e0(0x2c5)](0x2);if((_0x4223a2[0x0]&0x30)!==0x0){const _0x405f32=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x271),!0x0,0x3ea,_0x1c17e0(0x1ae));_0x66fd79(_0x405f32);return;}const _0x135fca=(_0x4223a2[0x0]&0x40)===0x40;if(_0x135fca&&!this[_0x1c17e0(0x2dc)][_0x4bc9ab[_0x1c17e0(0x24a)]]){const _0x1f9db8=this[_0x1c17e0(0x2e1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x66fd79(_0x1f9db8);return;}if(this['_fin']=(_0x4223a2[0x0]&0x80)===0x80,this[_0x1c17e0(0x195)]=_0x4223a2[0x0]&0xf,this['_payloadLength']=_0x4223a2[0x1]&0x7f,this['_opcode']===0x0){if(_0x135fca){const _0x10d575=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x258),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x66fd79(_0x10d575);return;}if(!this[_0x1c17e0(0x2e6)]){const _0xb923d3=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x1b7),!0x0,0x3ea,_0x1c17e0(0x2b1));_0x66fd79(_0xb923d3);return;}this[_0x1c17e0(0x195)]=this['_fragmented'];}else{if(this[_0x1c17e0(0x195)]===0x1||this['_opcode']===0x2){if(this[_0x1c17e0(0x2e6)]){const _0x525f94=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x1b2)+this[_0x1c17e0(0x195)],!0x0,0x3ea,_0x1c17e0(0x2b1));_0x66fd79(_0x525f94);return;}this[_0x1c17e0(0x313)]=_0x135fca;}else{if(this[_0x1c17e0(0x195)]>0x7&&this[_0x1c17e0(0x195)]<0xb){if(!this['_fin']){const _0x46092e=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x1cf),!0x0,0x3ea,_0x1c17e0(0x2a7));_0x66fd79(_0x46092e);return;}if(_0x135fca){const _0x5cd052=this['createError'](RangeError,_0x1c17e0(0x258),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x66fd79(_0x5cd052);return;}if(this[_0x1c17e0(0x1c6)]>0x7d||this[_0x1c17e0(0x195)]===0x8&&this[_0x1c17e0(0x1c6)]===0x1){const _0x2b243c=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x223)+this[_0x1c17e0(0x1c6)],!0x0,0x3ea,_0x1c17e0(0x19e));_0x66fd79(_0x2b243c);return;}}else{const _0x40e945=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x1b2)+this[_0x1c17e0(0x195)],!0x0,0x3ea,_0x1c17e0(0x2b1));_0x66fd79(_0x40e945);return;}}}if(!this['_fin']&&!this[_0x1c17e0(0x2e6)]&&(this[_0x1c17e0(0x2e6)]=this['_opcode']),this['_masked']=(_0x4223a2[0x1]&0x80)===0x80,this[_0x1c17e0(0x279)]){if(!this[_0x1c17e0(0x2a2)]){const _0x1d91ce=this[_0x1c17e0(0x2e1)](RangeError,_0x1c17e0(0x204),!0x0,0x3ea,_0x1c17e0(0x1a8));_0x66fd79(_0x1d91ce);return;}}else{if(this['_masked']){const _0x170224=this[_0x1c17e0(0x2e1)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x1c17e0(0x1dd));_0x66fd79(_0x170224);return;}}this[_0x1c17e0(0x1c6)]===0x7e?this[_0x1c17e0(0x222)]=_0x555a05:this[_0x1c17e0(0x1c6)]===0x7f?this[_0x1c17e0(0x222)]=_0x339458:this[_0x1c17e0(0x1e5)](_0x66fd79);}[_0x4046fb(0x314)](_0x536c93){const _0x5a56ff=_0x4046fb;if(this[_0x5a56ff(0x191)]<0x2){this['_loop']=!0x1;return;}this[_0x5a56ff(0x1c6)]=this[_0x5a56ff(0x2c5)](0x2)[_0x5a56ff(0x2d6)](0x0),this[_0x5a56ff(0x1e5)](_0x536c93);}['getPayloadLength64'](_0x298036){const _0x594e23=_0x4046fb;if(this[_0x594e23(0x191)]<0x8){this[_0x594e23(0x2b5)]=!0x1;return;}const _0x288629=this['consume'](0x8),_0x5845c9=_0x288629[_0x594e23(0x2d2)](0x0);if(_0x5845c9>Math[_0x594e23(0x228)](0x2,0x15)-0x1){const _0x26cbce=this[_0x594e23(0x2e1)](RangeError,_0x594e23(0x248),!0x1,0x3f1,_0x594e23(0x1fc));_0x298036(_0x26cbce);return;}this[_0x594e23(0x1c6)]=_0x5845c9*Math['pow'](0x2,0x20)+_0x288629[_0x594e23(0x2d2)](0x4),this[_0x594e23(0x1e5)](_0x298036);}[_0x4046fb(0x1e5)](_0x1593d5){const _0x494e89=_0x4046fb;if(this[_0x494e89(0x1c6)]&&this['_opcode']<0x8&&(this[_0x494e89(0x1df)]+=this[_0x494e89(0x1c6)],this[_0x494e89(0x1df)]>this[_0x494e89(0x20f)]&&this[_0x494e89(0x20f)]>0x0)){const _0x3203be=this[_0x494e89(0x2e1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x494e89(0x23a));_0x1593d5(_0x3203be);return;}this[_0x494e89(0x2a2)]?this['_state']=_0xa6be90:this[_0x494e89(0x222)]=_0x172559;}[_0x4046fb(0x25a)](){const _0x56c89e=_0x4046fb;if(this[_0x56c89e(0x191)]<0x4){this[_0x56c89e(0x2b5)]=!0x1;return;}this[_0x56c89e(0x301)]=this[_0x56c89e(0x2c5)](0x4),this[_0x56c89e(0x222)]=_0x172559;}[_0x4046fb(0x2e3)](_0x269801){const _0xbfe3c9=_0x4046fb;let _0x2396b9=_0x387dde;if(this[_0xbfe3c9(0x1c6)]){if(this[_0xbfe3c9(0x191)]<this[_0xbfe3c9(0x1c6)]){this[_0xbfe3c9(0x2b5)]=!0x1;return;}_0x2396b9=this[_0xbfe3c9(0x2c5)](this['_payloadLength']),this[_0xbfe3c9(0x2a2)]&&(this[_0xbfe3c9(0x301)][0x0]|this[_0xbfe3c9(0x301)][0x1]|this['_mask'][0x2]|this[_0xbfe3c9(0x301)][0x3])!==0x0&&_0x2505c9(_0x2396b9,this[_0xbfe3c9(0x301)]);}if(this[_0xbfe3c9(0x195)]>0x7){this[_0xbfe3c9(0x287)](_0x2396b9,_0x269801);return;}if(this[_0xbfe3c9(0x313)]){this['_state']=_0x90772,this['decompress'](_0x2396b9,_0x269801);return;}_0x2396b9[_0xbfe3c9(0x28e)]&&(this[_0xbfe3c9(0x2aa)]=this[_0xbfe3c9(0x1df)],this[_0xbfe3c9(0x2ca)][_0xbfe3c9(0x1b6)](_0x2396b9)),this[_0xbfe3c9(0x198)](_0x269801);}[_0x4046fb(0x1fb)](_0x4f8051,_0x109ca2){const _0x4b59ea=_0x4046fb;this['_extensions'][_0x4bc9ab[_0x4b59ea(0x24a)]][_0x4b59ea(0x1fb)](_0x4f8051,this[_0x4b59ea(0x29c)],(_0x1eddd3,_0x2a8619)=>{const _0x2a123b=_0x4b59ea;if(_0x1eddd3)return _0x109ca2(_0x1eddd3);if(_0x2a8619[_0x2a123b(0x28e)]){if(this[_0x2a123b(0x2aa)]+=_0x2a8619['length'],this[_0x2a123b(0x2aa)]>this[_0x2a123b(0x20f)]&&this[_0x2a123b(0x20f)]>0x0){const _0x10a360=this[_0x2a123b(0x2e1)](RangeError,_0x2a123b(0x1bf),!0x1,0x3f1,_0x2a123b(0x23a));_0x109ca2(_0x10a360);return;}this[_0x2a123b(0x2ca)][_0x2a123b(0x1b6)](_0x2a8619);}this['dataMessage'](_0x109ca2),this['_state']===_0x1ec161&&this['startLoop'](_0x109ca2);});}[_0x4046fb(0x198)](_0x305051){const _0x15c72a=_0x4046fb;if(!this[_0x15c72a(0x29c)]){this['_state']=_0x1ec161;return;}const _0x37c144=this[_0x15c72a(0x2aa)],_0x49971e=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x15c72a(0x195)]===0x2){let _0x38f316;this[_0x15c72a(0x252)]===_0x15c72a(0x2d4)?_0x38f316=_0x98b367(_0x49971e,_0x37c144):this[_0x15c72a(0x252)]==='arraybuffer'?_0x38f316=_0x107d79(_0x98b367(_0x49971e,_0x37c144)):this[_0x15c72a(0x252)]===_0x15c72a(0x2f9)?_0x38f316=new Blob(_0x49971e):_0x38f316=_0x49971e,this[_0x15c72a(0x17c)]?(this[_0x15c72a(0x276)]('message',_0x38f316,!0x0),this[_0x15c72a(0x222)]=_0x1ec161):(this['_state']=_0x367502,setImmediate(()=>{const _0xa417bb=_0x15c72a;this[_0xa417bb(0x276)](_0xa417bb(0x2f3),_0x38f316,!0x0),this[_0xa417bb(0x222)]=_0x1ec161,this[_0xa417bb(0x2de)](_0x305051);}));}else{const _0x56800d=_0x98b367(_0x49971e,_0x37c144);if(!this[_0x15c72a(0x17a)]&&!_0x4172a2(_0x56800d)){const _0x22f42d=this['createError'](Error,_0x15c72a(0x16c),!0x0,0x3ef,_0x15c72a(0x1ab));_0x305051(_0x22f42d);return;}this[_0x15c72a(0x222)]===_0x90772||this[_0x15c72a(0x17c)]?(this[_0x15c72a(0x276)](_0x15c72a(0x2f3),_0x56800d,!0x1),this[_0x15c72a(0x222)]=_0x1ec161):(this[_0x15c72a(0x222)]=_0x367502,setImmediate(()=>{const _0x3835f1=_0x15c72a;this[_0x3835f1(0x276)](_0x3835f1(0x2f3),_0x56800d,!0x1),this['_state']=_0x1ec161,this[_0x3835f1(0x2de)](_0x305051);}));}}[_0x4046fb(0x287)](_0x1096ec,_0x58b9aa){const _0x40ee78=_0x4046fb;if(this[_0x40ee78(0x195)]===0x8){if(_0x1096ec[_0x40ee78(0x28e)]===0x0)this['_loop']=!0x1,this[_0x40ee78(0x276)](_0x40ee78(0x1c2),0x3ed,_0x387dde),this[_0x40ee78(0x1bc)]();else{const _0x5faf4b=_0x1096ec[_0x40ee78(0x2d6)](0x0);if(!_0x222ea6(_0x5faf4b)){const _0x350a70=this[_0x40ee78(0x2e1)](RangeError,'invalid\x20status\x20code\x20'+_0x5faf4b,!0x0,0x3ea,_0x40ee78(0x180));_0x58b9aa(_0x350a70);return;}const _0x19198b=new _0x152bc6(_0x1096ec[_0x40ee78(0x1ee)],_0x1096ec[_0x40ee78(0x306)]+0x2,_0x1096ec[_0x40ee78(0x28e)]-0x2);if(!this[_0x40ee78(0x17a)]&&!_0x4172a2(_0x19198b)){const _0x5aa07c=this[_0x40ee78(0x2e1)](Error,_0x40ee78(0x16c),!0x0,0x3ef,_0x40ee78(0x1ab));_0x58b9aa(_0x5aa07c);return;}this[_0x40ee78(0x2b5)]=!0x1,this[_0x40ee78(0x276)](_0x40ee78(0x1c2),_0x5faf4b,_0x19198b),this['end']();}this[_0x40ee78(0x222)]=_0x1ec161;return;}this[_0x40ee78(0x17c)]?(this[_0x40ee78(0x276)](this[_0x40ee78(0x195)]===0x9?'ping':_0x40ee78(0x1a1),_0x1096ec),this['_state']=_0x1ec161):(this['_state']=_0x367502,setImmediate(()=>{const _0x7dfb7a=_0x40ee78;this['emit'](this[_0x7dfb7a(0x195)]===0x9?_0x7dfb7a(0x281):'pong',_0x1096ec),this['_state']=_0x1ec161,this[_0x7dfb7a(0x2de)](_0x58b9aa);}));}[_0x4046fb(0x2e1)](_0x45334a,_0x9f0b3e,_0x4a5116,_0x530beb,_0x2ae4b8){const _0x3d330c=_0x4046fb;this[_0x3d330c(0x2b5)]=!0x1,this[_0x3d330c(0x2ad)]=!0x0;const _0x5a1ae1=new _0x45334a(_0x4a5116?_0x3d330c(0x253)+_0x9f0b3e:_0x9f0b3e);return Error['captureStackTrace'](_0x5a1ae1,this[_0x3d330c(0x2e1)]),_0x5a1ae1[_0x3d330c(0x20d)]=_0x2ae4b8,_0x5a1ae1[_0x131f37]=_0x530beb,_0x5a1ae1;}}return Se=_0x220913,Se;}var Ee,Qe;function ut(){const _0x3689c0=_0x459da0;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x46f6d2}=_0xe2e071,{randomFillSync:_0xc31b3a}=_0x3be3a3,_0x3e3318=ce(),{EMPTY_BUFFER:_0x31c3fc,kWebSocket:_0xe3b267,NOOP:_0x36d533}=V(),{isBlob:_0x17ebd0,isValidStatusCode:_0x18bf07}=ie(),{mask:_0x5e9e60,toBuffer:_0x3d2504}=fe(),_0xb7d4fe=Symbol(_0x3689c0(0x250)),_0x280753=Buffer['alloc'](0x4),_0x241709=0x8*0x400;let _0x140319,_0x8b522c=_0x241709;const _0x52cb50=0x0,_0x140153=0x1,_0xbd91d8=0x2;class _0x41a2c4{constructor(_0xddc21,_0x27bcba,_0x349c33){const _0x5d7a0d=_0x3689c0;this[_0x5d7a0d(0x2dc)]=_0x27bcba||{},_0x349c33&&(this[_0x5d7a0d(0x18d)]=_0x349c33,this[_0x5d7a0d(0x26d)]=Buffer[_0x5d7a0d(0x257)](0x4)),this[_0x5d7a0d(0x1b0)]=_0xddc21,this[_0x5d7a0d(0x1eb)]=!0x0,this[_0x5d7a0d(0x2e7)]=!0x1,this[_0x5d7a0d(0x191)]=0x0,this['_queue']=[],this['_state']=_0x52cb50,this[_0x5d7a0d(0x24e)]=_0x36d533,this[_0xe3b267]=void 0x0;}static[_0x3689c0(0x1c3)](_0x7d78a1,_0x5780d2){const _0xa95636=_0x3689c0;let _0x70731a,_0x45320e=!0x1,_0x1c406e=0x2,_0x45f63d=!0x1;_0x5780d2[_0xa95636(0x21c)]&&(_0x70731a=_0x5780d2[_0xa95636(0x1d7)]||_0x280753,_0x5780d2['generateMask']?_0x5780d2['generateMask'](_0x70731a):(_0x8b522c===_0x241709&&(_0x140319===void 0x0&&(_0x140319=Buffer[_0xa95636(0x257)](_0x241709)),_0xc31b3a(_0x140319,0x0,_0x241709),_0x8b522c=0x0),_0x70731a[0x0]=_0x140319[_0x8b522c++],_0x70731a[0x1]=_0x140319[_0x8b522c++],_0x70731a[0x2]=_0x140319[_0x8b522c++],_0x70731a[0x3]=_0x140319[_0x8b522c++]),_0x45f63d=(_0x70731a[0x0]|_0x70731a[0x1]|_0x70731a[0x2]|_0x70731a[0x3])===0x0,_0x1c406e=0x6);let _0x377241;typeof _0x7d78a1=='string'?(!_0x5780d2[_0xa95636(0x21c)]||_0x45f63d)&&_0x5780d2[_0xb7d4fe]!==void 0x0?_0x377241=_0x5780d2[_0xb7d4fe]:(_0x7d78a1=Buffer[_0xa95636(0x24d)](_0x7d78a1),_0x377241=_0x7d78a1[_0xa95636(0x28e)]):(_0x377241=_0x7d78a1[_0xa95636(0x28e)],_0x45320e=_0x5780d2[_0xa95636(0x21c)]&&_0x5780d2[_0xa95636(0x1d2)]&&!_0x45f63d);let _0x4167ef=_0x377241;_0x377241>=0x10000?(_0x1c406e+=0x8,_0x4167ef=0x7f):_0x377241>0x7d&&(_0x1c406e+=0x2,_0x4167ef=0x7e);const _0x41877d=Buffer[_0xa95636(0x28f)](_0x45320e?_0x377241+_0x1c406e:_0x1c406e);return _0x41877d[0x0]=_0x5780d2[_0xa95636(0x2e5)]?_0x5780d2[_0xa95636(0x17e)]|0x80:_0x5780d2[_0xa95636(0x17e)],_0x5780d2[_0xa95636(0x208)]&&(_0x41877d[0x0]|=0x40),_0x41877d[0x1]=_0x4167ef,_0x4167ef===0x7e?_0x41877d['writeUInt16BE'](_0x377241,0x2):_0x4167ef===0x7f&&(_0x41877d[0x2]=_0x41877d[0x3]=0x0,_0x41877d[_0xa95636(0x209)](_0x377241,0x4,0x6)),_0x5780d2[_0xa95636(0x21c)]?(_0x41877d[0x1]|=0x80,_0x41877d[_0x1c406e-0x4]=_0x70731a[0x0],_0x41877d[_0x1c406e-0x3]=_0x70731a[0x1],_0x41877d[_0x1c406e-0x2]=_0x70731a[0x2],_0x41877d[_0x1c406e-0x1]=_0x70731a[0x3],_0x45f63d?[_0x41877d,_0x7d78a1]:_0x45320e?(_0x5e9e60(_0x7d78a1,_0x70731a,_0x41877d,_0x1c406e,_0x377241),[_0x41877d]):(_0x5e9e60(_0x7d78a1,_0x70731a,_0x7d78a1,0x0,_0x377241),[_0x41877d,_0x7d78a1])):[_0x41877d,_0x7d78a1];}[_0x3689c0(0x27c)](_0x29aef7,_0x34f558,_0x5aa259,_0x35d695){const _0x389c7c=_0x3689c0;let _0x2495c4;if(_0x29aef7===void 0x0)_0x2495c4=_0x31c3fc;else{if(typeof _0x29aef7!='number'||!_0x18bf07(_0x29aef7))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x34f558===void 0x0||!_0x34f558['length'])_0x2495c4=Buffer[_0x389c7c(0x28f)](0x2),_0x2495c4[_0x389c7c(0x21f)](_0x29aef7,0x0);else{const _0x5cf149=Buffer[_0x389c7c(0x216)](_0x34f558);if(_0x5cf149>0x7b)throw new RangeError(_0x389c7c(0x26b));_0x2495c4=Buffer[_0x389c7c(0x28f)](0x2+_0x5cf149),_0x2495c4[_0x389c7c(0x21f)](_0x29aef7,0x0),typeof _0x34f558==_0x389c7c(0x202)?_0x2495c4[_0x389c7c(0x1e9)](_0x34f558,0x2):_0x2495c4[_0x389c7c(0x174)](_0x34f558,0x2);}}const _0x31a0f7={[_0xb7d4fe]:_0x2495c4['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5aa259,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x389c7c(0x222)]!==_0x52cb50?this[_0x389c7c(0x1f1)]([this[_0x389c7c(0x2bc)],_0x2495c4,!0x1,_0x31a0f7,_0x35d695]):this[_0x389c7c(0x20e)](_0x41a2c4[_0x389c7c(0x1c3)](_0x2495c4,_0x31a0f7),_0x35d695);}[_0x3689c0(0x281)](_0x2b6cd5,_0x49eaa4,_0x46b950){const _0x546577=_0x3689c0;let _0x3bdcf9,_0x4775f7;if(typeof _0x2b6cd5==_0x546577(0x202)?(_0x3bdcf9=Buffer[_0x546577(0x216)](_0x2b6cd5),_0x4775f7=!0x1):_0x17ebd0(_0x2b6cd5)?(_0x3bdcf9=_0x2b6cd5[_0x546577(0x242)],_0x4775f7=!0x1):(_0x2b6cd5=_0x3d2504(_0x2b6cd5),_0x3bdcf9=_0x2b6cd5[_0x546577(0x28e)],_0x4775f7=_0x3d2504[_0x546577(0x1d2)]),_0x3bdcf9>0x7d)throw new RangeError(_0x546577(0x308));const _0x3a7eec={[_0xb7d4fe]:_0x3bdcf9,'fin':!0x0,'generateMask':this[_0x546577(0x18d)],'mask':_0x49eaa4,'maskBuffer':this[_0x546577(0x26d)],'opcode':0x9,'readOnly':_0x4775f7,'rsv1':!0x1};_0x17ebd0(_0x2b6cd5)?this['_state']!==_0x52cb50?this[_0x546577(0x1f1)]([this['getBlobData'],_0x2b6cd5,!0x1,_0x3a7eec,_0x46b950]):this['getBlobData'](_0x2b6cd5,!0x1,_0x3a7eec,_0x46b950):this[_0x546577(0x222)]!==_0x52cb50?this['enqueue']([this[_0x546577(0x2bc)],_0x2b6cd5,!0x1,_0x3a7eec,_0x46b950]):this['sendFrame'](_0x41a2c4['frame'](_0x2b6cd5,_0x3a7eec),_0x46b950);}[_0x3689c0(0x1a1)](_0x21768f,_0x30f06e,_0x553408){const _0x1f03b4=_0x3689c0;let _0x87e611,_0x3db209;if(typeof _0x21768f=='string'?(_0x87e611=Buffer[_0x1f03b4(0x216)](_0x21768f),_0x3db209=!0x1):_0x17ebd0(_0x21768f)?(_0x87e611=_0x21768f[_0x1f03b4(0x242)],_0x3db209=!0x1):(_0x21768f=_0x3d2504(_0x21768f),_0x87e611=_0x21768f['length'],_0x3db209=_0x3d2504['readOnly']),_0x87e611>0x7d)throw new RangeError(_0x1f03b4(0x308));const _0x228c6d={[_0xb7d4fe]:_0x87e611,'fin':!0x0,'generateMask':this[_0x1f03b4(0x18d)],'mask':_0x30f06e,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3db209,'rsv1':!0x1};_0x17ebd0(_0x21768f)?this[_0x1f03b4(0x222)]!==_0x52cb50?this['enqueue']([this[_0x1f03b4(0x1ac)],_0x21768f,!0x1,_0x228c6d,_0x553408]):this[_0x1f03b4(0x1ac)](_0x21768f,!0x1,_0x228c6d,_0x553408):this[_0x1f03b4(0x222)]!==_0x52cb50?this[_0x1f03b4(0x1f1)]([this[_0x1f03b4(0x2bc)],_0x21768f,!0x1,_0x228c6d,_0x553408]):this[_0x1f03b4(0x20e)](_0x41a2c4[_0x1f03b4(0x1c3)](_0x21768f,_0x228c6d),_0x553408);}[_0x3689c0(0x226)](_0x57c332,_0x3650b3,_0x258649){const _0x52c398=_0x3689c0,_0x1a2234=this[_0x52c398(0x2dc)][_0x3e3318['extensionName']];let _0x137b5a=_0x3650b3[_0x52c398(0x1e7)]?0x2:0x1,_0x491b99=_0x3650b3[_0x52c398(0x182)],_0x45933e,_0x31dc60;typeof _0x57c332=='string'?(_0x45933e=Buffer[_0x52c398(0x216)](_0x57c332),_0x31dc60=!0x1):_0x17ebd0(_0x57c332)?(_0x45933e=_0x57c332[_0x52c398(0x242)],_0x31dc60=!0x1):(_0x57c332=_0x3d2504(_0x57c332),_0x45933e=_0x57c332[_0x52c398(0x28e)],_0x31dc60=_0x3d2504['readOnly']),this['_firstFragment']?(this[_0x52c398(0x1eb)]=!0x1,_0x491b99&&_0x1a2234&&_0x1a2234[_0x52c398(0x2b7)][_0x1a2234['_isServer']?_0x52c398(0x183):_0x52c398(0x1e6)]&&(_0x491b99=_0x45933e>=_0x1a2234[_0x52c398(0x2c2)]),this[_0x52c398(0x2e7)]=_0x491b99):(_0x491b99=!0x1,_0x137b5a=0x0),_0x3650b3[_0x52c398(0x2e5)]&&(this[_0x52c398(0x1eb)]=!0x0);const _0x34b044={[_0xb7d4fe]:_0x45933e,'fin':_0x3650b3['fin'],'generateMask':this[_0x52c398(0x18d)],'mask':_0x3650b3[_0x52c398(0x21c)],'maskBuffer':this['_maskBuffer'],'opcode':_0x137b5a,'readOnly':_0x31dc60,'rsv1':_0x491b99};_0x17ebd0(_0x57c332)?this['_state']!==_0x52cb50?this[_0x52c398(0x1f1)]([this[_0x52c398(0x1ac)],_0x57c332,this[_0x52c398(0x2e7)],_0x34b044,_0x258649]):this[_0x52c398(0x1ac)](_0x57c332,this[_0x52c398(0x2e7)],_0x34b044,_0x258649):this[_0x52c398(0x222)]!==_0x52cb50?this[_0x52c398(0x1f1)]([this[_0x52c398(0x2bc)],_0x57c332,this[_0x52c398(0x2e7)],_0x34b044,_0x258649]):this['dispatch'](_0x57c332,this[_0x52c398(0x2e7)],_0x34b044,_0x258649);}[_0x3689c0(0x1ac)](_0x3c1151,_0xfef559,_0x4d5752,_0x536845){const _0x593591=_0x3689c0;this[_0x593591(0x191)]+=_0x4d5752[_0xb7d4fe],this[_0x593591(0x222)]=_0xbd91d8,_0x3c1151['arrayBuffer']()[_0x593591(0x305)](_0x1548d1=>{const _0x4ea267=_0x593591;if(this[_0x4ea267(0x1b0)][_0x4ea267(0x1a2)]){const _0x415ac0=new Error(_0x4ea267(0x1a4));process[_0x4ea267(0x1bb)](_0x2a3807,this,_0x415ac0,_0x536845);return;}this['_bufferedBytes']-=_0x4d5752[_0xb7d4fe];const _0x344a95=_0x3d2504(_0x1548d1);_0xfef559?this[_0x4ea267(0x2bc)](_0x344a95,_0xfef559,_0x4d5752,_0x536845):(this[_0x4ea267(0x222)]=_0x52cb50,this[_0x4ea267(0x20e)](_0x41a2c4[_0x4ea267(0x1c3)](_0x344a95,_0x4d5752),_0x536845),this[_0x4ea267(0x1bd)]());})['catch'](_0x46e321=>{process['nextTick'](_0x319a37,this,_0x46e321,_0x536845);});}[_0x3689c0(0x2bc)](_0x11b857,_0x27f1ee,_0x557417,_0x4887c9){const _0x33747e=_0x3689c0;if(!_0x27f1ee){this['sendFrame'](_0x41a2c4[_0x33747e(0x1c3)](_0x11b857,_0x557417),_0x4887c9);return;}const _0x17259f=this[_0x33747e(0x2dc)][_0x3e3318[_0x33747e(0x24a)]];this['_bufferedBytes']+=_0x557417[_0xb7d4fe],this[_0x33747e(0x222)]=_0x140153,_0x17259f[_0x33747e(0x182)](_0x11b857,_0x557417[_0x33747e(0x2e5)],(_0x576ba7,_0x52178a)=>{const _0x207c06=_0x33747e;if(this[_0x207c06(0x1b0)][_0x207c06(0x1a2)]){const _0xa898db=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2a3807(this,_0xa898db,_0x4887c9);return;}this['_bufferedBytes']-=_0x557417[_0xb7d4fe],this[_0x207c06(0x222)]=_0x52cb50,_0x557417[_0x207c06(0x1d2)]=!0x1,this['sendFrame'](_0x41a2c4[_0x207c06(0x1c3)](_0x52178a,_0x557417),_0x4887c9),this[_0x207c06(0x1bd)]();});}[_0x3689c0(0x1bd)](){const _0x40fe35=_0x3689c0;for(;this[_0x40fe35(0x222)]===_0x52cb50&&this[_0x40fe35(0x310)][_0x40fe35(0x28e)];){const _0x1158dc=this[_0x40fe35(0x310)][_0x40fe35(0x27d)]();this[_0x40fe35(0x191)]-=_0x1158dc[0x3][_0xb7d4fe],Reflect[_0x40fe35(0x2e2)](_0x1158dc[0x0],this,_0x1158dc[_0x40fe35(0x23f)](0x1));}}[_0x3689c0(0x1f1)](_0x9a5a3e){const _0x398ec0=_0x3689c0;this['_bufferedBytes']+=_0x9a5a3e[0x3][_0xb7d4fe],this[_0x398ec0(0x310)][_0x398ec0(0x1b6)](_0x9a5a3e);}[_0x3689c0(0x20e)](_0x3a82be,_0x51d45f){const _0x418c8b=_0x3689c0;_0x3a82be[_0x418c8b(0x28e)]===0x2?(this[_0x418c8b(0x1b0)][_0x418c8b(0x1f8)](),this['_socket'][_0x418c8b(0x1e9)](_0x3a82be[0x0]),this['_socket']['write'](_0x3a82be[0x1],_0x51d45f),this[_0x418c8b(0x1b0)][_0x418c8b(0x318)]()):this[_0x418c8b(0x1b0)][_0x418c8b(0x1e9)](_0x3a82be[0x0],_0x51d45f);}}Ee=_0x41a2c4;function _0x2a3807(_0x10d2e5,_0x32f598,_0x575988){const _0x27787c=_0x3689c0;typeof _0x575988==_0x27787c(0x193)&&_0x575988(_0x32f598);for(let _0x4ae071=0x0;_0x4ae071<_0x10d2e5['_queue']['length'];_0x4ae071++){const _0x2438c4=_0x10d2e5[_0x27787c(0x310)][_0x4ae071],_0x40f89a=_0x2438c4[_0x2438c4[_0x27787c(0x28e)]-0x1];typeof _0x40f89a==_0x27787c(0x193)&&_0x40f89a(_0x32f598);}}function _0x319a37(_0x3b8c4c,_0x3ec827,_0x2c4c0e){const _0x5b4ede=_0x3689c0;_0x2a3807(_0x3b8c4c,_0x3ec827,_0x2c4c0e),_0x3b8c4c[_0x5b4ede(0x24e)](_0x3ec827);}return Ee;}var xe,Je;function zt(){const _0x4722aa=_0x459da0;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x1ac205,kListener:_0x1c9f81}=V(),_0x26f02e=Symbol(_0x4722aa(0x280)),_0x1979d3=Symbol(_0x4722aa(0x298)),_0x2d9f00=Symbol(_0x4722aa(0x1e4)),_0x3b1047=Symbol(_0x4722aa(0x234)),_0x42d5d5=Symbol('kReason'),_0x4662b3=Symbol(_0x4722aa(0x2fc)),_0x29873d=Symbol(_0x4722aa(0x185)),_0x2ca160=Symbol(_0x4722aa(0x176));class _0x3c4f16{constructor(_0x345eb2){this[_0x4662b3]=null,this[_0x29873d]=_0x345eb2;}get[_0x4722aa(0x181)](){return this[_0x4662b3];}get[_0x4722aa(0x221)](){return this[_0x29873d];}}Object['defineProperty'](_0x3c4f16[_0x4722aa(0x22a)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x3c4f16[_0x4722aa(0x22a)],_0x4722aa(0x221),{'enumerable':!0x0});class _0x5e9d91 extends _0x3c4f16{constructor(_0x41c240,_0x5c8c46={}){const _0x463361=_0x4722aa;super(_0x41c240),this[_0x26f02e]=_0x5c8c46[_0x463361(0x20d)]===void 0x0?0x0:_0x5c8c46[_0x463361(0x20d)],this[_0x42d5d5]=_0x5c8c46[_0x463361(0x2eb)]===void 0x0?'':_0x5c8c46[_0x463361(0x2eb)],this[_0x2ca160]=_0x5c8c46[_0x463361(0x203)]===void 0x0?!0x1:_0x5c8c46[_0x463361(0x203)];}get[_0x4722aa(0x20d)](){return this[_0x26f02e];}get[_0x4722aa(0x2eb)](){return this[_0x42d5d5];}get['wasClean'](){return this[_0x2ca160];}}Object[_0x4722aa(0x1c8)](_0x5e9d91[_0x4722aa(0x22a)],'code',{'enumerable':!0x0}),Object[_0x4722aa(0x1c8)](_0x5e9d91['prototype'],_0x4722aa(0x2eb),{'enumerable':!0x0}),Object[_0x4722aa(0x1c8)](_0x5e9d91['prototype'],_0x4722aa(0x203),{'enumerable':!0x0});class _0x38ed54 extends _0x3c4f16{constructor(_0x342ed2,_0x5a0fe2={}){const _0x5b308e=_0x4722aa;super(_0x342ed2),this[_0x2d9f00]=_0x5a0fe2[_0x5b308e(0x219)]===void 0x0?null:_0x5a0fe2[_0x5b308e(0x219)],this[_0x3b1047]=_0x5a0fe2['message']===void 0x0?'':_0x5a0fe2[_0x5b308e(0x2f3)];}get[_0x4722aa(0x219)](){return this[_0x2d9f00];}get[_0x4722aa(0x2f3)](){return this[_0x3b1047];}}Object['defineProperty'](_0x38ed54[_0x4722aa(0x22a)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x38ed54['prototype'],_0x4722aa(0x2f3),{'enumerable':!0x0});class _0x5d872a extends _0x3c4f16{constructor(_0x5a7570,_0x308a9b={}){const _0x43148e=_0x4722aa;super(_0x5a7570),this[_0x1979d3]=_0x308a9b[_0x43148e(0x207)]===void 0x0?null:_0x308a9b['data'];}get[_0x4722aa(0x207)](){return this[_0x1979d3];}}Object[_0x4722aa(0x1c8)](_0x5d872a[_0x4722aa(0x22a)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x5e9d91,'ErrorEvent':_0x38ed54,'Event':_0x3c4f16,'EventTarget':{'addEventListener'(_0x54004f,_0x585d90,_0x1163eb={}){const _0x528c81=_0x4722aa;for(const _0x3c8059 of this[_0x528c81(0x17b)](_0x54004f))if(!_0x1163eb[_0x1ac205]&&_0x3c8059[_0x1c9f81]===_0x585d90&&!_0x3c8059[_0x1ac205])return;let _0x5c16bd;if(_0x54004f===_0x528c81(0x2f3))_0x5c16bd=function(_0x5e20ea,_0x14bccc){const _0x2a9213=_0x528c81,_0xa09deb=new _0x5d872a(_0x2a9213(0x2f3),{'data':_0x14bccc?_0x5e20ea:_0x5e20ea[_0x2a9213(0x30f)]()});_0xa09deb[_0x4662b3]=this,_0x212d64(_0x585d90,this,_0xa09deb);};else{if(_0x54004f===_0x528c81(0x27c))_0x5c16bd=function(_0x47c82d,_0x3c2f3b){const _0x459773=_0x528c81,_0x37d9f1=new _0x5e9d91(_0x459773(0x27c),{'code':_0x47c82d,'reason':_0x3c2f3b[_0x459773(0x30f)](),'wasClean':this[_0x459773(0x2c9)]&&this[_0x459773(0x282)]});_0x37d9f1[_0x4662b3]=this,_0x212d64(_0x585d90,this,_0x37d9f1);};else{if(_0x54004f===_0x528c81(0x219))_0x5c16bd=function(_0x423330){const _0x3cd71e=_0x528c81,_0x5dae9b=new _0x38ed54(_0x3cd71e(0x219),{'error':_0x423330,'message':_0x423330[_0x3cd71e(0x2f3)]});_0x5dae9b[_0x4662b3]=this,_0x212d64(_0x585d90,this,_0x5dae9b);};else{if(_0x54004f==='open')_0x5c16bd=function(){const _0x1ab49f=_0x528c81,_0xbc9917=new _0x3c4f16(_0x1ab49f(0x1b1));_0xbc9917[_0x4662b3]=this,_0x212d64(_0x585d90,this,_0xbc9917);};else return;}}}_0x5c16bd[_0x1ac205]=!!_0x1163eb[_0x1ac205],_0x5c16bd[_0x1c9f81]=_0x585d90,_0x1163eb[_0x528c81(0x21a)]?this[_0x528c81(0x21a)](_0x54004f,_0x5c16bd):this['on'](_0x54004f,_0x5c16bd);},'removeEventListener'(_0x358b05,_0x40ea7e){const _0x5ab0cd=_0x4722aa;for(const _0xdb33a4 of this[_0x5ab0cd(0x17b)](_0x358b05))if(_0xdb33a4[_0x1c9f81]===_0x40ea7e&&!_0xdb33a4[_0x1ac205]){this[_0x5ab0cd(0x243)](_0x358b05,_0xdb33a4);break;}}},'MessageEvent':_0x5d872a};function _0x212d64(_0xe76fc1,_0x4b7073,_0x5b7d66){const _0x349e7b=_0x4722aa;typeof _0xe76fc1=='object'&&_0xe76fc1[_0x349e7b(0x2c6)]?_0xe76fc1[_0x349e7b(0x2c6)][_0x349e7b(0x1f5)](_0xe76fc1,_0x5b7d66):_0xe76fc1[_0x349e7b(0x1f5)](_0x4b7073,_0x5b7d66);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x41209b}=ie();function _0x1a74b7(_0x20d329,_0x1a8753,_0x185c60){const _0xbd612a=_0x3817;_0x20d329[_0x1a8753]===void 0x0?_0x20d329[_0x1a8753]=[_0x185c60]:_0x20d329[_0x1a8753][_0xbd612a(0x1b6)](_0x185c60);}function _0x246ca2(_0x364d04){const _0x325e09=_0x3817,_0x5af547=Object[_0x325e09(0x2f4)](null);let _0x5e2897=Object[_0x325e09(0x2f4)](null),_0x53bbc9=!0x1,_0x1ed868=!0x1,_0x118d01=!0x1,_0x4d4aaa,_0x53c34c,_0x4782b3=-0x1,_0x6e0fbf=-0x1,_0x5958af=-0x1,_0x589fe0=0x0;for(;_0x589fe0<_0x364d04[_0x325e09(0x28e)];_0x589fe0++)if(_0x6e0fbf=_0x364d04[_0x325e09(0x1cd)](_0x589fe0),_0x4d4aaa===void 0x0){if(_0x5958af===-0x1&&_0x41209b[_0x6e0fbf]===0x1)_0x4782b3===-0x1&&(_0x4782b3=_0x589fe0);else{if(_0x589fe0!==0x0&&(_0x6e0fbf===0x20||_0x6e0fbf===0x9))_0x5958af===-0x1&&_0x4782b3!==-0x1&&(_0x5958af=_0x589fe0);else{if(_0x6e0fbf===0x3b||_0x6e0fbf===0x2c){if(_0x4782b3===-0x1)throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);_0x5958af===-0x1&&(_0x5958af=_0x589fe0);const _0x13a3f5=_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x5958af);_0x6e0fbf===0x2c?(_0x1a74b7(_0x5af547,_0x13a3f5,_0x5e2897),_0x5e2897=Object[_0x325e09(0x2f4)](null)):_0x4d4aaa=_0x13a3f5,_0x4782b3=_0x5958af=-0x1;}else throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);}}}else{if(_0x53c34c===void 0x0){if(_0x5958af===-0x1&&_0x41209b[_0x6e0fbf]===0x1)_0x4782b3===-0x1&&(_0x4782b3=_0x589fe0);else{if(_0x6e0fbf===0x20||_0x6e0fbf===0x9)_0x5958af===-0x1&&_0x4782b3!==-0x1&&(_0x5958af=_0x589fe0);else{if(_0x6e0fbf===0x3b||_0x6e0fbf===0x2c){if(_0x4782b3===-0x1)throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);_0x5958af===-0x1&&(_0x5958af=_0x589fe0),_0x1a74b7(_0x5e2897,_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x5958af),!0x0),_0x6e0fbf===0x2c&&(_0x1a74b7(_0x5af547,_0x4d4aaa,_0x5e2897),_0x5e2897=Object[_0x325e09(0x2f4)](null),_0x4d4aaa=void 0x0),_0x4782b3=_0x5958af=-0x1;}else{if(_0x6e0fbf===0x3d&&_0x4782b3!==-0x1&&_0x5958af===-0x1)_0x53c34c=_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x589fe0),_0x4782b3=_0x5958af=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589fe0);}}}}else{if(_0x1ed868){if(_0x41209b[_0x6e0fbf]!==0x1)throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);_0x4782b3===-0x1?_0x4782b3=_0x589fe0:_0x53bbc9||(_0x53bbc9=!0x0),_0x1ed868=!0x1;}else{if(_0x118d01){if(_0x41209b[_0x6e0fbf]===0x1)_0x4782b3===-0x1&&(_0x4782b3=_0x589fe0);else{if(_0x6e0fbf===0x22&&_0x4782b3!==-0x1)_0x118d01=!0x1,_0x5958af=_0x589fe0;else{if(_0x6e0fbf===0x5c)_0x1ed868=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589fe0);}}}else{if(_0x6e0fbf===0x22&&_0x364d04['charCodeAt'](_0x589fe0-0x1)===0x3d)_0x118d01=!0x0;else{if(_0x5958af===-0x1&&_0x41209b[_0x6e0fbf]===0x1)_0x4782b3===-0x1&&(_0x4782b3=_0x589fe0);else{if(_0x4782b3!==-0x1&&(_0x6e0fbf===0x20||_0x6e0fbf===0x9))_0x5958af===-0x1&&(_0x5958af=_0x589fe0);else{if(_0x6e0fbf===0x3b||_0x6e0fbf===0x2c){if(_0x4782b3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x589fe0);_0x5958af===-0x1&&(_0x5958af=_0x589fe0);let _0x5ed1a9=_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x5958af);_0x53bbc9&&(_0x5ed1a9=_0x5ed1a9[_0x325e09(0x286)](/\\/g,''),_0x53bbc9=!0x1),_0x1a74b7(_0x5e2897,_0x53c34c,_0x5ed1a9),_0x6e0fbf===0x2c&&(_0x1a74b7(_0x5af547,_0x4d4aaa,_0x5e2897),_0x5e2897=Object['create'](null),_0x4d4aaa=void 0x0),_0x53c34c=void 0x0,_0x4782b3=_0x5958af=-0x1;}else throw new SyntaxError(_0x325e09(0x22c)+_0x589fe0);}}}}}}}if(_0x4782b3===-0x1||_0x118d01||_0x6e0fbf===0x20||_0x6e0fbf===0x9)throw new SyntaxError(_0x325e09(0x2df));_0x5958af===-0x1&&(_0x5958af=_0x589fe0);const _0x2a2f2a=_0x364d04[_0x325e09(0x23f)](_0x4782b3,_0x5958af);return _0x4d4aaa===void 0x0?_0x1a74b7(_0x5af547,_0x2a2f2a,_0x5e2897):(_0x53c34c===void 0x0?_0x1a74b7(_0x5e2897,_0x2a2f2a,!0x0):_0x53bbc9?_0x1a74b7(_0x5e2897,_0x53c34c,_0x2a2f2a['replace'](/\\/g,'')):_0x1a74b7(_0x5e2897,_0x53c34c,_0x2a2f2a),_0x1a74b7(_0x5af547,_0x4d4aaa,_0x5e2897)),_0x5af547;}function _0x28fdd5(_0x27ccb2){const _0x34c625=_0x3817;return Object['keys'](_0x27ccb2)[_0x34c625(0x173)](_0x43078f=>{const _0x4cc6a0=_0x34c625;let _0x2c9b21=_0x27ccb2[_0x43078f];return Array[_0x4cc6a0(0x29f)](_0x2c9b21)||(_0x2c9b21=[_0x2c9b21]),_0x2c9b21[_0x4cc6a0(0x173)](_0x18c6fc=>[_0x43078f][_0x4cc6a0(0x27f)](Object['keys'](_0x18c6fc)[_0x4cc6a0(0x173)](_0x4b238c=>{const _0x263008=_0x4cc6a0;let _0x57b4df=_0x18c6fc[_0x4b238c];return Array[_0x263008(0x29f)](_0x57b4df)||(_0x57b4df=[_0x57b4df]),_0x57b4df[_0x263008(0x173)](_0x389ddf=>_0x389ddf===!0x0?_0x4b238c:_0x4b238c+'='+_0x389ddf)[_0x263008(0x2d7)](';\x20');}))['join'](';\x20'))[_0x4cc6a0(0x2d7)](',\x20');})['join'](',\x20');}return be={'format':_0x28fdd5,'parse':_0x246ca2},be;}var we,tt;function Be(){const _0x1fa00c=_0x459da0;if(tt)return we;tt=0x1;const _0x2cf599=_0x341a96,_0x56e57e=_0xf3034b,_0x12a153=_0x4cd558,_0x1d89a6=_0x5f26fe,_0x465979=_0x340ec3,{randomBytes:_0x36a1a1,createHash:_0x251126}=_0x3be3a3,{Duplex:_0x38bf6b,Readable:_0x2af7a2}=_0xe2e071,{URL:_0x428afe}=_0x3aa83b,_0xd583a=ce(),_0x3f5914=ht(),_0x1cb186=ut(),{isBlob:_0x3d90d8}=ie(),{BINARY_TYPES:_0x46c4ff,EMPTY_BUFFER:_0x206375,GUID:_0x500e38,kForOnEventAttribute:_0xd45bb2,kListener:_0x102d99,kStatusCode:_0x3b8bae,kWebSocket:_0x5a6103,NOOP:_0x2a7732}=V(),{EventTarget:{addEventListener:_0x41cf19,removeEventListener:_0x3f9869}}=zt(),{format:_0x134495,parse:_0xee3abd}=dt(),{toBuffer:_0x148ac4}=fe(),_0x232ecf=0x1e*0x3e8,_0x424d2f=Symbol(_0x1fa00c(0x1aa)),_0x46f20a=[0x8,0xd],_0x26ec56=[_0x1fa00c(0x1c5),_0x1fa00c(0x23d),_0x1fa00c(0x293),_0x1fa00c(0x1ed)],_0x604696=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x486653 extends _0x2cf599{constructor(_0x45aaa6,_0x400b4e,_0x4d52d1){const _0x428450=_0x1fa00c;super(),this[_0x428450(0x252)]=_0x46c4ff[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x428450(0x282)]=!0x1,this[_0x428450(0x27a)]=_0x206375,this[_0x428450(0x2ec)]=null,this[_0x428450(0x2c8)]=!0x1,this[_0x428450(0x2dc)]={},this[_0x428450(0x28c)]=!0x1,this['_protocol']='',this[_0x428450(0x1a0)]=_0x486653[_0x428450(0x1c5)],this[_0x428450(0x170)]=null,this[_0x428450(0x188)]=null,this['_socket']=null,_0x45aaa6!==null?(this['_bufferedAmount']=0x0,this[_0x428450(0x279)]=!0x1,this[_0x428450(0x1ce)]=0x0,_0x400b4e===void 0x0?_0x400b4e=[]:Array['isArray'](_0x400b4e)||(typeof _0x400b4e==_0x428450(0x31a)&&_0x400b4e!==null?(_0x4d52d1=_0x400b4e,_0x400b4e=[]):_0x400b4e=[_0x400b4e]),_0x7435d(this,_0x45aaa6,_0x400b4e,_0x4d52d1)):(this['_autoPong']=_0x4d52d1[_0x428450(0x186)],this[_0x428450(0x279)]=!0x0);}get[_0x1fa00c(0x1fd)](){const _0x1028a9=_0x1fa00c;return this[_0x1028a9(0x252)];}set[_0x1fa00c(0x1fd)](_0x3c948b){const _0x2f4ffe=_0x1fa00c;_0x46c4ff[_0x2f4ffe(0x312)](_0x3c948b)&&(this[_0x2f4ffe(0x252)]=_0x3c948b,this[_0x2f4ffe(0x170)]&&(this[_0x2f4ffe(0x170)][_0x2f4ffe(0x252)]=_0x3c948b));}get[_0x1fa00c(0x270)](){const _0x43db0e=_0x1fa00c;return this['_socket']?this[_0x43db0e(0x1b0)][_0x43db0e(0x214)][_0x43db0e(0x28e)]+this['_sender'][_0x43db0e(0x191)]:this[_0x43db0e(0x1d1)];}get[_0x1fa00c(0x1a7)](){const _0x5883a6=_0x1fa00c;return Object[_0x5883a6(0x1ea)](this[_0x5883a6(0x2dc)])[_0x5883a6(0x2d7)]();}get['isPaused'](){return this['_paused'];}get[_0x1fa00c(0x303)](){return null;}get[_0x1fa00c(0x24e)](){return null;}get[_0x1fa00c(0x2a3)](){return null;}get[_0x1fa00c(0x2af)](){return null;}get[_0x1fa00c(0x26c)](){const _0x3286d3=_0x1fa00c;return this[_0x3286d3(0x2a6)];}get['readyState'](){const _0x123c38=_0x1fa00c;return this[_0x123c38(0x1a0)];}get['url'](){return this['_url'];}[_0x1fa00c(0x1de)](_0x47306b,_0x3b09b2,_0x1f345c){const _0x4e818a=_0x1fa00c,_0xb5ee9=new _0x3f5914({'allowSynchronousEvents':_0x1f345c['allowSynchronousEvents'],'binaryType':this[_0x4e818a(0x1fd)],'extensions':this[_0x4e818a(0x2dc)],'isServer':this[_0x4e818a(0x279)],'maxPayload':_0x1f345c[_0x4e818a(0x171)],'skipUTF8Validation':_0x1f345c[_0x4e818a(0x2a0)]}),_0x14ef7d=new _0x1cb186(_0x47306b,this[_0x4e818a(0x2dc)],_0x1f345c['generateMask']);this[_0x4e818a(0x170)]=_0xb5ee9,this[_0x4e818a(0x188)]=_0x14ef7d,this[_0x4e818a(0x1b0)]=_0x47306b,_0xb5ee9[_0x5a6103]=this,_0x14ef7d[_0x5a6103]=this,_0x47306b[_0x5a6103]=this,_0xb5ee9['on']('conclude',_0x1a4c03),_0xb5ee9['on'](_0x4e818a(0x297),_0xf7ac83),_0xb5ee9['on'](_0x4e818a(0x219),_0x4f3966),_0xb5ee9['on'](_0x4e818a(0x2f3),_0x2f2614),_0xb5ee9['on'](_0x4e818a(0x281),_0x4a3e7a),_0xb5ee9['on'](_0x4e818a(0x1a1),_0x953104),_0x14ef7d[_0x4e818a(0x24e)]=_0x24c839,_0x47306b[_0x4e818a(0x2e0)]&&_0x47306b[_0x4e818a(0x2e0)](0x0),_0x47306b[_0x4e818a(0x1ca)]&&_0x47306b[_0x4e818a(0x1ca)](),_0x3b09b2[_0x4e818a(0x28e)]>0x0&&_0x47306b['unshift'](_0x3b09b2),_0x47306b['on'](_0x4e818a(0x27c),_0x40dc7a),_0x47306b['on'](_0x4e818a(0x207),_0xb7abe4),_0x47306b['on'](_0x4e818a(0x1bc),_0x57fb23),_0x47306b['on']('error',_0xe116c4),this[_0x4e818a(0x1a0)]=_0x486653[_0x4e818a(0x23d)],this[_0x4e818a(0x276)](_0x4e818a(0x1b1));}['emitClose'](){const _0x39e40f=_0x1fa00c;if(!this[_0x39e40f(0x1b0)]){this['_readyState']=_0x486653['CLOSED'],this[_0x39e40f(0x276)]('close',this[_0x39e40f(0x1c0)],this[_0x39e40f(0x27a)]);return;}this[_0x39e40f(0x2dc)][_0xd583a['extensionName']]&&this['_extensions'][_0xd583a[_0x39e40f(0x24a)]][_0x39e40f(0x1da)](),this[_0x39e40f(0x170)]['removeAllListeners'](),this[_0x39e40f(0x1a0)]=_0x486653['CLOSED'],this[_0x39e40f(0x276)](_0x39e40f(0x27c),this['_closeCode'],this[_0x39e40f(0x27a)]);}['close'](_0x417f1b,_0x206d81){const _0x41679b=_0x1fa00c;if(this['readyState']!==_0x486653['CLOSED']){if(this['readyState']===_0x486653[_0x41679b(0x1c5)]){_0x31c453(this,this[_0x41679b(0x255)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x41679b(0x24f)]===_0x486653[_0x41679b(0x293)]){this['_closeFrameSent']&&(this[_0x41679b(0x2c9)]||this['_receiver']['_writableState'][_0x41679b(0x1e2)])&&this['_socket'][_0x41679b(0x1bc)]();return;}this['_readyState']=_0x486653[_0x41679b(0x293)],this[_0x41679b(0x188)][_0x41679b(0x27c)](_0x417f1b,_0x206d81,!this['_isServer'],_0x39c2d9=>{const _0x328d16=_0x41679b;_0x39c2d9||(this[_0x328d16(0x282)]=!0x0,(this[_0x328d16(0x2c9)]||this['_receiver'][_0x328d16(0x214)][_0x328d16(0x1e2)])&&this[_0x328d16(0x1b0)][_0x328d16(0x1bc)]());}),_0x26d179(this);}}[_0x1fa00c(0x2f0)](){const _0x51cb8e=_0x1fa00c;this['readyState']===_0x486653[_0x51cb8e(0x1c5)]||this[_0x51cb8e(0x24f)]===_0x486653['CLOSED']||(this['_paused']=!0x0,this[_0x51cb8e(0x1b0)][_0x51cb8e(0x2f0)]());}[_0x1fa00c(0x281)](_0x254330,_0x407e32,_0x917b59){const _0x53bacb=_0x1fa00c;if(this[_0x53bacb(0x24f)]===_0x486653[_0x53bacb(0x1c5)])throw new Error(_0x53bacb(0x1ef));if(typeof _0x254330==_0x53bacb(0x193)?(_0x917b59=_0x254330,_0x254330=_0x407e32=void 0x0):typeof _0x407e32=='function'&&(_0x917b59=_0x407e32,_0x407e32=void 0x0),typeof _0x254330==_0x53bacb(0x28a)&&(_0x254330=_0x254330['toString']()),this['readyState']!==_0x486653[_0x53bacb(0x23d)]){_0x2ea13(this,_0x254330,_0x917b59);return;}_0x407e32===void 0x0&&(_0x407e32=!this[_0x53bacb(0x279)]),this[_0x53bacb(0x188)]['ping'](_0x254330||_0x206375,_0x407e32,_0x917b59);}['pong'](_0x457d1b,_0x4aea08,_0x1dc086){const _0x14d2ce=_0x1fa00c;if(this[_0x14d2ce(0x24f)]===_0x486653[_0x14d2ce(0x1c5)])throw new Error(_0x14d2ce(0x1ef));if(typeof _0x457d1b==_0x14d2ce(0x193)?(_0x1dc086=_0x457d1b,_0x457d1b=_0x4aea08=void 0x0):typeof _0x4aea08=='function'&&(_0x1dc086=_0x4aea08,_0x4aea08=void 0x0),typeof _0x457d1b=='number'&&(_0x457d1b=_0x457d1b[_0x14d2ce(0x30f)]()),this[_0x14d2ce(0x24f)]!==_0x486653[_0x14d2ce(0x23d)]){_0x2ea13(this,_0x457d1b,_0x1dc086);return;}_0x4aea08===void 0x0&&(_0x4aea08=!this[_0x14d2ce(0x279)]),this['_sender'][_0x14d2ce(0x1a1)](_0x457d1b||_0x206375,_0x4aea08,_0x1dc086);}[_0x1fa00c(0x1a6)](){const _0xabca31=_0x1fa00c;this['readyState']===_0x486653[_0xabca31(0x1c5)]||this[_0xabca31(0x24f)]===_0x486653['CLOSED']||(this[_0xabca31(0x28c)]=!0x1,this['_receiver'][_0xabca31(0x214)][_0xabca31(0x2fb)]||this[_0xabca31(0x1b0)][_0xabca31(0x1a6)]());}[_0x1fa00c(0x226)](_0xdfaca5,_0x52b2df,_0x13ee8f){const _0x2db7c9=_0x1fa00c;if(this[_0x2db7c9(0x24f)]===_0x486653[_0x2db7c9(0x1c5)])throw new Error(_0x2db7c9(0x1ef));if(typeof _0x52b2df==_0x2db7c9(0x193)&&(_0x13ee8f=_0x52b2df,_0x52b2df={}),typeof _0xdfaca5==_0x2db7c9(0x28a)&&(_0xdfaca5=_0xdfaca5['toString']()),this[_0x2db7c9(0x24f)]!==_0x486653[_0x2db7c9(0x23d)]){_0x2ea13(this,_0xdfaca5,_0x13ee8f);return;}const _0x154ad9={'binary':typeof _0xdfaca5!=_0x2db7c9(0x202),'mask':!this[_0x2db7c9(0x279)],'compress':!0x0,'fin':!0x0,..._0x52b2df};this[_0x2db7c9(0x2dc)][_0xd583a[_0x2db7c9(0x24a)]]||(_0x154ad9[_0x2db7c9(0x182)]=!0x1),this[_0x2db7c9(0x188)][_0x2db7c9(0x226)](_0xdfaca5||_0x206375,_0x154ad9,_0x13ee8f);}[_0x1fa00c(0x2f2)](){const _0x366d2c=_0x1fa00c;if(this[_0x366d2c(0x24f)]!==_0x486653[_0x366d2c(0x1ed)]){if(this[_0x366d2c(0x24f)]===_0x486653[_0x366d2c(0x1c5)]){_0x31c453(this,this[_0x366d2c(0x255)],_0x366d2c(0x1d4));return;}this[_0x366d2c(0x1b0)]&&(this[_0x366d2c(0x1a0)]=_0x486653[_0x366d2c(0x293)],this['_socket'][_0x366d2c(0x2b0)]());}}}Object[_0x1fa00c(0x1c8)](_0x486653,_0x1fa00c(0x1c5),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x1c5))}),Object[_0x1fa00c(0x1c8)](_0x486653['prototype'],_0x1fa00c(0x1c5),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)]('CONNECTING')}),Object['defineProperty'](_0x486653,_0x1fa00c(0x23d),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x23d))}),Object[_0x1fa00c(0x1c8)](_0x486653[_0x1fa00c(0x22a)],'OPEN',{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x23d))}),Object['defineProperty'](_0x486653,_0x1fa00c(0x293),{'enumerable':!0x0,'value':_0x26ec56['indexOf'](_0x1fa00c(0x293))}),Object[_0x1fa00c(0x1c8)](_0x486653[_0x1fa00c(0x22a)],_0x1fa00c(0x293),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x293))}),Object['defineProperty'](_0x486653,_0x1fa00c(0x1ed),{'enumerable':!0x0,'value':_0x26ec56['indexOf']('CLOSED')}),Object['defineProperty'](_0x486653[_0x1fa00c(0x22a)],_0x1fa00c(0x1ed),{'enumerable':!0x0,'value':_0x26ec56[_0x1fa00c(0x240)](_0x1fa00c(0x1ed))}),[_0x1fa00c(0x1fd),'bufferedAmount','extensions',_0x1fa00c(0x19f),'protocol',_0x1fa00c(0x24f),_0x1fa00c(0x1dc)]['forEach'](_0x1f0777=>{const _0x228f1e=_0x1fa00c;Object[_0x228f1e(0x1c8)](_0x486653[_0x228f1e(0x22a)],_0x1f0777,{'enumerable':!0x0});}),['open','error',_0x1fa00c(0x27c),_0x1fa00c(0x2f3)]['forEach'](_0x476a12=>{const _0x40d1c7=_0x1fa00c;Object[_0x40d1c7(0x1c8)](_0x486653[_0x40d1c7(0x22a)],'on'+_0x476a12,{'enumerable':!0x0,'get'(){const _0x131cbc=_0x40d1c7;for(const _0x48b323 of this[_0x131cbc(0x17b)](_0x476a12))if(_0x48b323[_0xd45bb2])return _0x48b323[_0x102d99];return null;},'set'(_0x8d204d){const _0x480662=_0x40d1c7;for(const _0x254936 of this[_0x480662(0x17b)](_0x476a12))if(_0x254936[_0xd45bb2]){this[_0x480662(0x243)](_0x476a12,_0x254936);break;}typeof _0x8d204d=='function'&&this[_0x480662(0x2d8)](_0x476a12,_0x8d204d,{[_0xd45bb2]:!0x0});}});}),_0x486653[_0x1fa00c(0x22a)][_0x1fa00c(0x2d8)]=_0x41cf19,_0x486653[_0x1fa00c(0x22a)]['removeEventListener']=_0x3f9869,we=_0x486653;function _0x7435d(_0x51f0ba,_0x3e76e6,_0x190200,_0x5d37ad){const _0xdb9b2c=_0x1fa00c,_0x5ab918={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x46f20a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5d37ad,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x51f0ba[_0xdb9b2c(0x2f1)]=_0x5ab918['autoPong'],!_0x46f20a[_0xdb9b2c(0x312)](_0x5ab918[_0xdb9b2c(0x268)]))throw new RangeError(_0xdb9b2c(0x29a)+_0x5ab918[_0xdb9b2c(0x268)]+_0xdb9b2c(0x2a1)+_0x46f20a[_0xdb9b2c(0x2d7)](',\x20')+')');let _0x404ea7;if(_0x3e76e6 instanceof _0x428afe)_0x404ea7=_0x3e76e6;else try{_0x404ea7=new _0x428afe(_0x3e76e6);}catch{throw new SyntaxError(_0xdb9b2c(0x238)+_0x3e76e6);}_0x404ea7[_0xdb9b2c(0x26c)]===_0xdb9b2c(0x319)?_0x404ea7['protocol']=_0xdb9b2c(0x1ad):_0x404ea7[_0xdb9b2c(0x26c)]===_0xdb9b2c(0x25f)&&(_0x404ea7[_0xdb9b2c(0x26c)]=_0xdb9b2c(0x197)),_0x51f0ba[_0xdb9b2c(0x192)]=_0x404ea7[_0xdb9b2c(0x19c)];const _0x1572c3=_0x404ea7[_0xdb9b2c(0x26c)]===_0xdb9b2c(0x197),_0x30fc27=_0x404ea7[_0xdb9b2c(0x26c)]==='ws+unix:';let _0x2efd84;if(_0x404ea7['protocol']!==_0xdb9b2c(0x1ad)&&!_0x1572c3&&!_0x30fc27?_0x2efd84=_0xdb9b2c(0x2be):_0x30fc27&&!_0x404ea7[_0xdb9b2c(0x27b)]?_0x2efd84=_0xdb9b2c(0x206):_0x404ea7[_0xdb9b2c(0x2ea)]&&(_0x2efd84=_0xdb9b2c(0x30a)),_0x2efd84){const _0x375ef8=new SyntaxError(_0x2efd84);if(_0x51f0ba[_0xdb9b2c(0x1ce)]===0x0)throw _0x375ef8;_0x3b5f42(_0x51f0ba,_0x375ef8);return;}const _0x13ea6d=_0x1572c3?0x1bb:0x50,_0x5860cc=_0x36a1a1(0x10)[_0xdb9b2c(0x30f)](_0xdb9b2c(0x211)),_0x3eaa11=_0x1572c3?_0x56e57e[_0xdb9b2c(0x247)]:_0x12a153[_0xdb9b2c(0x247)],_0x3f22d1=new Set();let _0x4832ac;if(_0x5ab918['createConnection']=_0x5ab918[_0xdb9b2c(0x2ae)]||(_0x1572c3?_0x49a1f3:_0x2ab36f),_0x5ab918['defaultPort']=_0x5ab918[_0xdb9b2c(0x19b)]||_0x13ea6d,_0x5ab918[_0xdb9b2c(0x2fa)]=_0x404ea7[_0xdb9b2c(0x2fa)]||_0x13ea6d,_0x5ab918[_0xdb9b2c(0x21e)]=_0x404ea7[_0xdb9b2c(0x1f2)]['startsWith']('[')?_0x404ea7[_0xdb9b2c(0x1f2)]['slice'](0x1,-0x1):_0x404ea7['hostname'],_0x5ab918[_0xdb9b2c(0x2ac)]={..._0x5ab918[_0xdb9b2c(0x2ac)],'Sec-WebSocket-Version':_0x5ab918[_0xdb9b2c(0x268)],'Sec-WebSocket-Key':_0x5860cc,'Connection':_0xdb9b2c(0x230),'Upgrade':_0xdb9b2c(0x1c4)},_0x5ab918[_0xdb9b2c(0x177)]=_0x404ea7[_0xdb9b2c(0x27b)]+_0x404ea7['search'],_0x5ab918[_0xdb9b2c(0x2ba)]=_0x5ab918['handshakeTimeout'],_0x5ab918[_0xdb9b2c(0x210)]&&(_0x4832ac=new _0xd583a(_0x5ab918[_0xdb9b2c(0x210)]!==!0x0?_0x5ab918[_0xdb9b2c(0x210)]:{},!0x1,_0x5ab918[_0xdb9b2c(0x171)]),_0x5ab918[_0xdb9b2c(0x2ac)]['Sec-WebSocket-Extensions']=_0x134495({[_0xd583a['extensionName']]:_0x4832ac['offer']()})),_0x190200[_0xdb9b2c(0x28e)]){for(const _0x599a4c of _0x190200){if(typeof _0x599a4c!=_0xdb9b2c(0x202)||!_0x604696[_0xdb9b2c(0x2a5)](_0x599a4c)||_0x3f22d1['has'](_0x599a4c))throw new SyntaxError(_0xdb9b2c(0x304));_0x3f22d1[_0xdb9b2c(0x28b)](_0x599a4c);}_0x5ab918[_0xdb9b2c(0x2ac)][_0xdb9b2c(0x2c0)]=_0x190200[_0xdb9b2c(0x2d7)](',');}if(_0x5ab918[_0xdb9b2c(0x296)]&&(_0x5ab918['protocolVersion']<0xd?_0x5ab918[_0xdb9b2c(0x2ac)]['Sec-WebSocket-Origin']=_0x5ab918[_0xdb9b2c(0x296)]:_0x5ab918[_0xdb9b2c(0x2ac)]['Origin']=_0x5ab918['origin']),(_0x404ea7[_0xdb9b2c(0x1f3)]||_0x404ea7['password'])&&(_0x5ab918[_0xdb9b2c(0x16d)]=_0x404ea7[_0xdb9b2c(0x1f3)]+':'+_0x404ea7[_0xdb9b2c(0x30b)]),_0x30fc27){const _0x250a30=_0x5ab918[_0xdb9b2c(0x177)][_0xdb9b2c(0x273)](':');_0x5ab918[_0xdb9b2c(0x307)]=_0x250a30[0x0],_0x5ab918[_0xdb9b2c(0x177)]=_0x250a30[0x1];}let _0x539408;if(_0x5ab918['followRedirects']){if(_0x51f0ba[_0xdb9b2c(0x1ce)]===0x0){_0x51f0ba[_0xdb9b2c(0x23c)]=_0x30fc27,_0x51f0ba['_originalSecure']=_0x1572c3,_0x51f0ba[_0xdb9b2c(0x294)]=_0x30fc27?_0x5ab918['socketPath']:_0x404ea7[_0xdb9b2c(0x21e)];const _0x38bb91=_0x5d37ad&&_0x5d37ad[_0xdb9b2c(0x2ac)];if(_0x5d37ad={..._0x5d37ad,'headers':{}},_0x38bb91){for(const [_0x1bd62f,_0x161785]of Object['entries'](_0x38bb91))_0x5d37ad[_0xdb9b2c(0x2ac)][_0x1bd62f[_0xdb9b2c(0x30c)]()]=_0x161785;}}else{if(_0x51f0ba[_0xdb9b2c(0x1f6)](_0xdb9b2c(0x2fe))===0x0){const _0x5d11a5=_0x30fc27?_0x51f0ba[_0xdb9b2c(0x23c)]?_0x5ab918[_0xdb9b2c(0x307)]===_0x51f0ba[_0xdb9b2c(0x294)]:!0x1:_0x51f0ba[_0xdb9b2c(0x23c)]?!0x1:_0x404ea7[_0xdb9b2c(0x21e)]===_0x51f0ba[_0xdb9b2c(0x294)];(!_0x5d11a5||_0x51f0ba[_0xdb9b2c(0x18f)]&&!_0x1572c3)&&(delete _0x5ab918[_0xdb9b2c(0x2ac)]['authorization'],delete _0x5ab918['headers'][_0xdb9b2c(0x2f5)],_0x5d11a5||delete _0x5ab918[_0xdb9b2c(0x2ac)][_0xdb9b2c(0x21e)],_0x5ab918[_0xdb9b2c(0x16d)]=void 0x0);}}_0x5ab918[_0xdb9b2c(0x16d)]&&!_0x5d37ad[_0xdb9b2c(0x2ac)][_0xdb9b2c(0x262)]&&(_0x5d37ad[_0xdb9b2c(0x2ac)]['authorization']=_0xdb9b2c(0x1f9)+Buffer[_0xdb9b2c(0x24d)](_0x5ab918[_0xdb9b2c(0x16d)])['toString'](_0xdb9b2c(0x211))),_0x539408=_0x51f0ba[_0xdb9b2c(0x255)]=_0x3eaa11(_0x5ab918),_0x51f0ba[_0xdb9b2c(0x1ce)]&&_0x51f0ba[_0xdb9b2c(0x276)](_0xdb9b2c(0x2fe),_0x51f0ba['url'],_0x539408);}else _0x539408=_0x51f0ba[_0xdb9b2c(0x255)]=_0x3eaa11(_0x5ab918);_0x5ab918[_0xdb9b2c(0x2ba)]&&_0x539408['on'](_0xdb9b2c(0x2ba),()=>{_0x31c453(_0x51f0ba,_0x539408,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x539408['on'](_0xdb9b2c(0x219),_0x10c00a=>{const _0x2d766e=_0xdb9b2c;_0x539408===null||_0x539408[_0x424d2f]||(_0x539408=_0x51f0ba[_0x2d766e(0x255)]=null,_0x3b5f42(_0x51f0ba,_0x10c00a));}),_0x539408['on']('response',_0x5a3b75=>{const _0x144cd1=_0xdb9b2c,_0x4231e3=_0x5a3b75[_0x144cd1(0x2ac)]['location'],_0x1c77d8=_0x5a3b75['statusCode'];if(_0x4231e3&&_0x5ab918[_0x144cd1(0x2f6)]&&_0x1c77d8>=0x12c&&_0x1c77d8<0x190){if(++_0x51f0ba[_0x144cd1(0x1ce)]>_0x5ab918[_0x144cd1(0x29d)]){_0x31c453(_0x51f0ba,_0x539408,_0x144cd1(0x265));return;}_0x539408[_0x144cd1(0x2c3)]();let _0x2a3ff1;try{_0x2a3ff1=new _0x428afe(_0x4231e3,_0x3e76e6);}catch{const _0x201fcc=new SyntaxError(_0x144cd1(0x238)+_0x4231e3);_0x3b5f42(_0x51f0ba,_0x201fcc);return;}_0x7435d(_0x51f0ba,_0x2a3ff1,_0x190200,_0x5d37ad);}else _0x51f0ba[_0x144cd1(0x276)](_0x144cd1(0x259),_0x539408,_0x5a3b75)||_0x31c453(_0x51f0ba,_0x539408,_0x144cd1(0x1e8)+_0x5a3b75[_0x144cd1(0x169)]);}),_0x539408['on'](_0xdb9b2c(0x275),(_0x4e689f,_0x1ffa5e,_0x5a8821)=>{const _0x259d51=_0xdb9b2c;if(_0x51f0ba[_0x259d51(0x276)]('upgrade',_0x4e689f),_0x51f0ba['readyState']!==_0x486653[_0x259d51(0x1c5)])return;_0x539408=_0x51f0ba[_0x259d51(0x255)]=null;const _0x410c84=_0x4e689f[_0x259d51(0x2ac)]['upgrade'];if(_0x410c84===void 0x0||_0x410c84[_0x259d51(0x30c)]()!==_0x259d51(0x1c4)){_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x212));return;}const _0x4442f0=_0x251126(_0x259d51(0x236))[_0x259d51(0x1c7)](_0x5860cc+_0x500e38)[_0x259d51(0x27e)](_0x259d51(0x211));if(_0x4e689f['headers']['sec-websocket-accept']!==_0x4442f0){_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x1d3));return;}const _0x133f08=_0x4e689f[_0x259d51(0x2ac)][_0x259d51(0x1a3)];let _0x51d170;if(_0x133f08!==void 0x0?_0x3f22d1[_0x259d51(0x242)]?_0x3f22d1['has'](_0x133f08)||(_0x51d170='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x51d170=_0x259d51(0x1d6):_0x3f22d1['size']&&(_0x51d170=_0x259d51(0x1af)),_0x51d170){_0x31c453(_0x51f0ba,_0x1ffa5e,_0x51d170);return;}_0x133f08&&(_0x51f0ba[_0x259d51(0x2a6)]=_0x133f08);const _0x4811f7=_0x4e689f[_0x259d51(0x2ac)][_0x259d51(0x2e4)];if(_0x4811f7!==void 0x0){if(!_0x4832ac){_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x309));return;}let _0x5b0f04;try{_0x5b0f04=_0xee3abd(_0x4811f7);}catch{_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x2e8));return;}const _0x555827=Object[_0x259d51(0x1ea)](_0x5b0f04);if(_0x555827[_0x259d51(0x28e)]!==0x1||_0x555827[0x0]!==_0xd583a[_0x259d51(0x24a)]){_0x31c453(_0x51f0ba,_0x1ffa5e,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x4832ac[_0x259d51(0x1cc)](_0x5b0f04[_0xd583a[_0x259d51(0x24a)]]);}catch{_0x31c453(_0x51f0ba,_0x1ffa5e,_0x259d51(0x2e8));return;}_0x51f0ba[_0x259d51(0x2dc)][_0xd583a[_0x259d51(0x24a)]]=_0x4832ac;}_0x51f0ba['setSocket'](_0x1ffa5e,_0x5a8821,{'allowSynchronousEvents':_0x5ab918[_0x259d51(0x194)],'generateMask':_0x5ab918['generateMask'],'maxPayload':_0x5ab918[_0x259d51(0x171)],'skipUTF8Validation':_0x5ab918[_0x259d51(0x2a0)]});}),_0x5ab918[_0xdb9b2c(0x274)]?_0x5ab918[_0xdb9b2c(0x274)](_0x539408,_0x51f0ba):_0x539408[_0xdb9b2c(0x1bc)]();}function _0x3b5f42(_0x53364b,_0x3171cb){const _0x266f75=_0x1fa00c;_0x53364b[_0x266f75(0x1a0)]=_0x486653[_0x266f75(0x293)],_0x53364b['_errorEmitted']=!0x0,_0x53364b[_0x266f75(0x276)](_0x266f75(0x219),_0x3171cb),_0x53364b[_0x266f75(0x1be)]();}function _0x2ab36f(_0x12af11){const _0x504143=_0x1fa00c;return _0x12af11[_0x504143(0x177)]=_0x12af11[_0x504143(0x307)],_0x1d89a6[_0x504143(0x245)](_0x12af11);}function _0x49a1f3(_0x583043){const _0x2a7ce5=_0x1fa00c;return _0x583043[_0x2a7ce5(0x177)]=void 0x0,!_0x583043[_0x2a7ce5(0x17d)]&&_0x583043['servername']!==''&&(_0x583043[_0x2a7ce5(0x17d)]=_0x1d89a6[_0x2a7ce5(0x2bd)](_0x583043[_0x2a7ce5(0x21e)])?'':_0x583043['host']),_0x465979[_0x2a7ce5(0x245)](_0x583043);}function _0x31c453(_0x30ea4d,_0x3453a8,_0x25c7e8){const _0x4cee12=_0x1fa00c;_0x30ea4d['_readyState']=_0x486653[_0x4cee12(0x293)];const _0x3a696a=new Error(_0x25c7e8);Error[_0x4cee12(0x1d5)](_0x3a696a,_0x31c453),_0x3453a8[_0x4cee12(0x2b4)]?(_0x3453a8[_0x424d2f]=!0x0,_0x3453a8['abort'](),_0x3453a8[_0x4cee12(0x295)]&&!_0x3453a8[_0x4cee12(0x295)][_0x4cee12(0x1a2)]&&_0x3453a8[_0x4cee12(0x295)][_0x4cee12(0x2b0)](),process[_0x4cee12(0x1bb)](_0x3b5f42,_0x30ea4d,_0x3a696a)):(_0x3453a8[_0x4cee12(0x2b0)](_0x3a696a),_0x3453a8[_0x4cee12(0x21a)](_0x4cee12(0x219),_0x30ea4d[_0x4cee12(0x276)]['bind'](_0x30ea4d,_0x4cee12(0x219))),_0x3453a8[_0x4cee12(0x21a)](_0x4cee12(0x27c),_0x30ea4d[_0x4cee12(0x1be)][_0x4cee12(0x2db)](_0x30ea4d)));}function _0x2ea13(_0x34a54d,_0x4f00cb,_0x15e925){const _0x1b2c1a=_0x1fa00c;if(_0x4f00cb){const _0x3759f0=_0x3d90d8(_0x4f00cb)?_0x4f00cb[_0x1b2c1a(0x242)]:_0x148ac4(_0x4f00cb)[_0x1b2c1a(0x28e)];_0x34a54d[_0x1b2c1a(0x1b0)]?_0x34a54d['_sender'][_0x1b2c1a(0x191)]+=_0x3759f0:_0x34a54d[_0x1b2c1a(0x1d1)]+=_0x3759f0;}if(_0x15e925){const _0x13843b=new Error(_0x1b2c1a(0x317)+_0x34a54d['readyState']+'\x20('+_0x26ec56[_0x34a54d[_0x1b2c1a(0x24f)]]+')');process['nextTick'](_0x15e925,_0x13843b);}}function _0x1a4c03(_0x1ffc12,_0x424198){const _0x48d4f2=_0x1fa00c,_0x61363b=this[_0x5a6103];_0x61363b[_0x48d4f2(0x2c9)]=!0x0,_0x61363b[_0x48d4f2(0x27a)]=_0x424198,_0x61363b['_closeCode']=_0x1ffc12,_0x61363b['_socket'][_0x5a6103]!==void 0x0&&(_0x61363b['_socket']['removeListener'](_0x48d4f2(0x207),_0xb7abe4),process[_0x48d4f2(0x1bb)](_0x264191,_0x61363b[_0x48d4f2(0x1b0)]),_0x1ffc12===0x3ed?_0x61363b[_0x48d4f2(0x27c)]():_0x61363b['close'](_0x1ffc12,_0x424198));}function _0xf7ac83(){const _0x2e117c=_0x1fa00c,_0x392faf=this[_0x5a6103];_0x392faf[_0x2e117c(0x19f)]||_0x392faf[_0x2e117c(0x1b0)][_0x2e117c(0x1a6)]();}function _0x4f3966(_0x2e4da6){const _0x483861=_0x1fa00c,_0x1018f3=this[_0x5a6103];_0x1018f3[_0x483861(0x1b0)][_0x5a6103]!==void 0x0&&(_0x1018f3[_0x483861(0x1b0)][_0x483861(0x243)]('data',_0xb7abe4),process[_0x483861(0x1bb)](_0x264191,_0x1018f3[_0x483861(0x1b0)]),_0x1018f3[_0x483861(0x27c)](_0x2e4da6[_0x3b8bae])),_0x1018f3[_0x483861(0x2c8)]||(_0x1018f3['_errorEmitted']=!0x0,_0x1018f3[_0x483861(0x276)](_0x483861(0x219),_0x2e4da6));}function _0x274074(){this[_0x5a6103]['emitClose']();}function _0x2f2614(_0xbf0c82,_0x238061){const _0x23bd58=_0x1fa00c;this[_0x5a6103][_0x23bd58(0x276)]('message',_0xbf0c82,_0x238061);}function _0x4a3e7a(_0x5827bb){const _0x62151d=_0x1fa00c,_0x2b60f6=this[_0x5a6103];_0x2b60f6[_0x62151d(0x2f1)]&&_0x2b60f6['pong'](_0x5827bb,!this[_0x62151d(0x279)],_0x2a7732),_0x2b60f6[_0x62151d(0x276)](_0x62151d(0x281),_0x5827bb);}function _0x953104(_0x259023){const _0x50a61a=_0x1fa00c;this[_0x5a6103][_0x50a61a(0x276)](_0x50a61a(0x1a1),_0x259023);}function _0x264191(_0x5ac365){_0x5ac365['resume']();}function _0x24c839(_0x2661a8){const _0x3c2e02=_0x1fa00c,_0x30e10b=this[_0x5a6103];_0x30e10b[_0x3c2e02(0x24f)]!==_0x486653[_0x3c2e02(0x1ed)]&&(_0x30e10b[_0x3c2e02(0x24f)]===_0x486653[_0x3c2e02(0x23d)]&&(_0x30e10b['_readyState']=_0x486653[_0x3c2e02(0x293)],_0x26d179(_0x30e10b)),this[_0x3c2e02(0x1b0)]['end'](),_0x30e10b[_0x3c2e02(0x2c8)]||(_0x30e10b[_0x3c2e02(0x2c8)]=!0x0,_0x30e10b['emit'](_0x3c2e02(0x219),_0x2661a8)));}function _0x26d179(_0x4d68d8){const _0x280e4e=_0x1fa00c;_0x4d68d8['_closeTimer']=setTimeout(_0x4d68d8[_0x280e4e(0x1b0)][_0x280e4e(0x2b0)]['bind'](_0x4d68d8[_0x280e4e(0x1b0)]),_0x232ecf);}function _0x40dc7a(){const _0x1821ea=_0x1fa00c,_0x185161=this[_0x5a6103];this[_0x1821ea(0x243)]('close',_0x40dc7a),this['removeListener'](_0x1821ea(0x207),_0xb7abe4),this[_0x1821ea(0x243)](_0x1821ea(0x1bc),_0x57fb23),_0x185161[_0x1821ea(0x1a0)]=_0x486653[_0x1821ea(0x293)];let _0x2e1dfa;!this['_readableState']['endEmitted']&&!_0x185161['_closeFrameReceived']&&!_0x185161[_0x1821ea(0x170)][_0x1821ea(0x214)][_0x1821ea(0x1e2)]&&(_0x2e1dfa=_0x185161[_0x1821ea(0x1b0)][_0x1821ea(0x20c)]())!==null&&_0x185161['_receiver'][_0x1821ea(0x1e9)](_0x2e1dfa),_0x185161[_0x1821ea(0x170)][_0x1821ea(0x1bc)](),this[_0x5a6103]=void 0x0,clearTimeout(_0x185161['_closeTimer']),_0x185161[_0x1821ea(0x170)][_0x1821ea(0x214)][_0x1821ea(0x2bb)]||_0x185161[_0x1821ea(0x170)][_0x1821ea(0x214)]['errorEmitted']?_0x185161[_0x1821ea(0x1be)]():(_0x185161[_0x1821ea(0x170)]['on'](_0x1821ea(0x219),_0x274074),_0x185161[_0x1821ea(0x170)]['on']('finish',_0x274074));}function _0xb7abe4(_0x1e93a7){const _0xe2a914=_0x1fa00c;this[_0x5a6103][_0xe2a914(0x170)][_0xe2a914(0x1e9)](_0x1e93a7)||this[_0xe2a914(0x2f0)]();}function _0x57fb23(){const _0x366444=_0x1fa00c,_0x5bd7ec=this[_0x5a6103];_0x5bd7ec['_readyState']=_0x486653[_0x366444(0x293)],_0x5bd7ec[_0x366444(0x170)][_0x366444(0x1bc)](),this[_0x366444(0x1bc)]();}function _0xe116c4(){const _0x15eda1=_0x1fa00c,_0x2b8bd6=this[_0x5a6103];this[_0x15eda1(0x243)](_0x15eda1(0x219),_0xe116c4),this['on'](_0x15eda1(0x219),_0x2a7732),_0x2b8bd6&&(_0x2b8bd6[_0x15eda1(0x1a0)]=_0x486653['CLOSING'],this[_0x15eda1(0x2b0)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x37a39e}=_0xe2e071;function _0x4e9fa9(_0x58efbd){_0x58efbd['emit']('close');}function _0x44bb76(){const _0x38b15b=_0x3817;!this['destroyed']&&this[_0x38b15b(0x214)]['finished']&&this[_0x38b15b(0x2b0)]();}function _0x187265(_0x50f872){const _0x27bf8f=_0x3817;this[_0x27bf8f(0x243)](_0x27bf8f(0x219),_0x187265),this['destroy'](),this[_0x27bf8f(0x1f6)](_0x27bf8f(0x219))===0x0&&this[_0x27bf8f(0x276)](_0x27bf8f(0x219),_0x50f872);}function _0x4bd618(_0x5af774,_0x5c4b73){const _0x53cb23=_0x3817;let _0x40d12d=!0x0;const _0x369875=new _0x37a39e({..._0x5c4b73,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5af774['on']('message',function(_0xb15f68,_0xe1f41f){const _0x3f613e=_0x3817,_0x598746=!_0xe1f41f&&_0x369875[_0x3f613e(0x16e)][_0x3f613e(0x251)]?_0xb15f68[_0x3f613e(0x30f)]():_0xb15f68;_0x369875['push'](_0x598746)||_0x5af774['pause']();}),_0x5af774[_0x53cb23(0x21a)](_0x53cb23(0x219),function(_0x50c213){const _0x78e435=_0x53cb23;_0x369875[_0x78e435(0x1a2)]||(_0x40d12d=!0x1,_0x369875['destroy'](_0x50c213));}),_0x5af774[_0x53cb23(0x21a)](_0x53cb23(0x27c),function(){const _0x9a940=_0x53cb23;_0x369875[_0x9a940(0x1a2)]||_0x369875['push'](null);}),_0x369875[_0x53cb23(0x22d)]=function(_0x41d13c,_0x41912c){const _0x3ee382=_0x53cb23;if(_0x5af774[_0x3ee382(0x24f)]===_0x5af774[_0x3ee382(0x1ed)]){_0x41912c(_0x41d13c),process['nextTick'](_0x4e9fa9,_0x369875);return;}let _0xf48fff=!0x1;_0x5af774[_0x3ee382(0x21a)]('error',function(_0x454bb1){_0xf48fff=!0x0,_0x41912c(_0x454bb1);}),_0x5af774[_0x3ee382(0x21a)](_0x3ee382(0x27c),function(){const _0x205900=_0x3ee382;_0xf48fff||_0x41912c(_0x41d13c),process[_0x205900(0x1bb)](_0x4e9fa9,_0x369875);}),_0x40d12d&&_0x5af774[_0x3ee382(0x2f2)]();},_0x369875[_0x53cb23(0x1c9)]=function(_0x476a6a){const _0xa9d288=_0x53cb23;if(_0x5af774['readyState']===_0x5af774[_0xa9d288(0x1c5)]){_0x5af774[_0xa9d288(0x21a)](_0xa9d288(0x1b1),function(){const _0x12c9bf=_0xa9d288;_0x369875[_0x12c9bf(0x1c9)](_0x476a6a);});return;}_0x5af774[_0xa9d288(0x1b0)]!==null&&(_0x5af774[_0xa9d288(0x1b0)][_0xa9d288(0x214)][_0xa9d288(0x2bb)]?(_0x476a6a(),_0x369875[_0xa9d288(0x16e)][_0xa9d288(0x16b)]&&_0x369875[_0xa9d288(0x2b0)]()):(_0x5af774[_0xa9d288(0x1b0)][_0xa9d288(0x21a)]('finish',function(){_0x476a6a();}),_0x5af774[_0xa9d288(0x27c)]()));},_0x369875['_read']=function(){const _0x3dce28=_0x53cb23;_0x5af774[_0x3dce28(0x19f)]&&_0x5af774[_0x3dce28(0x1a6)]();},_0x369875['_write']=function(_0x271524,_0x510282,_0x5dfc42){const _0x1dc022=_0x53cb23;if(_0x5af774[_0x1dc022(0x24f)]===_0x5af774[_0x1dc022(0x1c5)]){_0x5af774['once'](_0x1dc022(0x1b1),function(){const _0x3f8ea6=_0x1dc022;_0x369875[_0x3f8ea6(0x227)](_0x271524,_0x510282,_0x5dfc42);});return;}_0x5af774[_0x1dc022(0x226)](_0x271524,_0x5dfc42);},_0x369875['on'](_0x53cb23(0x1bc),_0x44bb76),_0x369875['on']('error',_0x187265),_0x369875;}return Oe=_0x4bd618,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x52e9b3}=ie();function _0x5820ae(_0x1c9a0e){const _0x535afb=_0x3817,_0x38e985=new Set();let _0x466b3f=-0x1,_0x184f8d=-0x1,_0x27cadb=0x0;for(_0x27cadb;_0x27cadb<_0x1c9a0e[_0x535afb(0x28e)];_0x27cadb++){const _0x16bf7a=_0x1c9a0e[_0x535afb(0x1cd)](_0x27cadb);if(_0x184f8d===-0x1&&_0x52e9b3[_0x16bf7a]===0x1)_0x466b3f===-0x1&&(_0x466b3f=_0x27cadb);else{if(_0x27cadb!==0x0&&(_0x16bf7a===0x20||_0x16bf7a===0x9))_0x184f8d===-0x1&&_0x466b3f!==-0x1&&(_0x184f8d=_0x27cadb);else{if(_0x16bf7a===0x2c){if(_0x466b3f===-0x1)throw new SyntaxError(_0x535afb(0x22c)+_0x27cadb);_0x184f8d===-0x1&&(_0x184f8d=_0x27cadb);const _0xa9c7a9=_0x1c9a0e[_0x535afb(0x23f)](_0x466b3f,_0x184f8d);if(_0x38e985[_0x535afb(0x189)](_0xa9c7a9))throw new SyntaxError(_0x535afb(0x30e)+_0xa9c7a9+_0x535afb(0x283));_0x38e985[_0x535afb(0x28b)](_0xa9c7a9),_0x466b3f=_0x184f8d=-0x1;}else throw new SyntaxError(_0x535afb(0x22c)+_0x27cadb);}}}if(_0x466b3f===-0x1||_0x184f8d!==-0x1)throw new SyntaxError(_0x535afb(0x2df));const _0x11db4c=_0x1c9a0e['slice'](_0x466b3f,_0x27cadb);if(_0x38e985[_0x535afb(0x189)](_0x11db4c))throw new SyntaxError(_0x535afb(0x30e)+_0x11db4c+_0x535afb(0x283));return _0x38e985[_0x535afb(0x28b)](_0x11db4c),_0x38e985;}return Ce={'parse':_0x5820ae},Ce;}var Te,it;function Qt(){const _0x24235c=_0x459da0;if(it)return Te;it=0x1;const _0x32ff1d=_0x341a96,_0x2a38b6=_0x4cd558,{Duplex:_0x2bdad3}=_0xe2e071,{createHash:_0x49b2f1}=_0x3be3a3,_0x501b06=dt(),_0x3fc5a7=ce(),_0x46d5af=Zt(),_0x32f62b=Be(),{GUID:_0x165fc7,kWebSocket:_0x3ce6ea}=V(),_0x172dcd=/^[+/0-9A-Za-z]{22}==$/,_0x14b953=0x0,_0x415289=0x1,_0x221d8d=0x2;class _0x5a28a0 extends _0x32ff1d{constructor(_0x1e193c,_0x11a089){const _0x4b0758=_0x3817;if(super(),_0x1e193c={'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':_0x32f62b,..._0x1e193c},_0x1e193c[_0x4b0758(0x2fa)]==null&&!_0x1e193c[_0x4b0758(0x205)]&&!_0x1e193c[_0x4b0758(0x1e0)]||_0x1e193c[_0x4b0758(0x2fa)]!=null&&(_0x1e193c[_0x4b0758(0x205)]||_0x1e193c[_0x4b0758(0x1e0)])||_0x1e193c[_0x4b0758(0x205)]&&_0x1e193c['noServer'])throw new TypeError(_0x4b0758(0x2b9));if(_0x1e193c[_0x4b0758(0x2fa)]!=null?(this[_0x4b0758(0x289)]=_0x2a38b6[_0x4b0758(0x2ce)]((_0x4a5d8f,_0xe9d6c8)=>{const _0xb8411e=_0x4b0758,_0x1c963a=_0x2a38b6[_0xb8411e(0x25b)][0x1aa];_0xe9d6c8[_0xb8411e(0x30d)](0x1aa,{'Content-Length':_0x1c963a[_0xb8411e(0x28e)],'Content-Type':_0xb8411e(0x300)}),_0xe9d6c8[_0xb8411e(0x1bc)](_0x1c963a);}),this[_0x4b0758(0x289)][_0x4b0758(0x299)](_0x1e193c[_0x4b0758(0x2fa)],_0x1e193c[_0x4b0758(0x21e)],_0x1e193c[_0x4b0758(0x17f)],_0x11a089)):_0x1e193c[_0x4b0758(0x205)]&&(this[_0x4b0758(0x289)]=_0x1e193c[_0x4b0758(0x205)]),this['_server']){const _0x3775bc=this[_0x4b0758(0x276)]['bind'](this,_0x4b0758(0x2a4));this[_0x4b0758(0x220)]=_0x31ca3b(this[_0x4b0758(0x289)],{'listening':this[_0x4b0758(0x276)][_0x4b0758(0x2db)](this,'listening'),'error':this[_0x4b0758(0x276)]['bind'](this,_0x4b0758(0x219)),'upgrade':(_0x323ad0,_0x1eee9c,_0x2f95a5)=>{const _0x2bcba7=_0x4b0758;this[_0x2bcba7(0x2f8)](_0x323ad0,_0x1eee9c,_0x2f95a5,_0x3775bc);}});}_0x1e193c[_0x4b0758(0x210)]===!0x0&&(_0x1e193c[_0x4b0758(0x210)]={}),_0x1e193c[_0x4b0758(0x215)]&&(this[_0x4b0758(0x200)]=new Set(),this[_0x4b0758(0x18b)]=!0x1),this[_0x4b0758(0x20b)]=_0x1e193c,this[_0x4b0758(0x222)]=_0x14b953;}[_0x24235c(0x2ef)](){const _0x345ffa=_0x24235c;if(this[_0x345ffa(0x20b)][_0x345ffa(0x1e0)])throw new Error(_0x345ffa(0x22e));return this[_0x345ffa(0x289)]?this['_server'][_0x345ffa(0x2ef)]():null;}[_0x24235c(0x27c)](_0x58f197){const _0x4a9bb7=_0x24235c;if(this[_0x4a9bb7(0x222)]===_0x221d8d){_0x58f197&&this[_0x4a9bb7(0x21a)](_0x4a9bb7(0x27c),()=>{const _0x840b6d=_0x4a9bb7;_0x58f197(new Error(_0x840b6d(0x290)));}),process['nextTick'](_0x4acb56,this);return;}if(_0x58f197&&this['once'](_0x4a9bb7(0x27c),_0x58f197),this['_state']!==_0x415289){if(this[_0x4a9bb7(0x222)]=_0x415289,this[_0x4a9bb7(0x20b)][_0x4a9bb7(0x1e0)]||this['options'][_0x4a9bb7(0x205)])this['_server']&&(this[_0x4a9bb7(0x220)](),this[_0x4a9bb7(0x220)]=this[_0x4a9bb7(0x289)]=null),this['clients']?this[_0x4a9bb7(0x200)][_0x4a9bb7(0x242)]?this[_0x4a9bb7(0x18b)]=!0x0:process['nextTick'](_0x4acb56,this):process['nextTick'](_0x4acb56,this);else{const _0xfe9351=this[_0x4a9bb7(0x289)];this[_0x4a9bb7(0x220)](),this[_0x4a9bb7(0x220)]=this[_0x4a9bb7(0x289)]=null,_0xfe9351[_0x4a9bb7(0x27c)](()=>{_0x4acb56(this);});}}}['shouldHandle'](_0x534d9b){const _0x2d0b4f=_0x24235c;if(this['options'][_0x2d0b4f(0x177)]){const _0x5bda4c=_0x534d9b[_0x2d0b4f(0x1dc)][_0x2d0b4f(0x240)]('?');if((_0x5bda4c!==-0x1?_0x534d9b[_0x2d0b4f(0x1dc)][_0x2d0b4f(0x23f)](0x0,_0x5bda4c):_0x534d9b['url'])!==this[_0x2d0b4f(0x20b)][_0x2d0b4f(0x177)])return!0x1;}return!0x0;}[_0x24235c(0x2f8)](_0x2eed6d,_0x577021,_0x34cf05,_0x180090){const _0x4191d7=_0x24235c;_0x577021['on'](_0x4191d7(0x219),_0x4e24c4);const _0x2296df=_0x2eed6d[_0x4191d7(0x2ac)][_0x4191d7(0x225)],_0x393440=_0x2eed6d[_0x4191d7(0x2ac)][_0x4191d7(0x275)],_0x233307=+_0x2eed6d[_0x4191d7(0x2ac)][_0x4191d7(0x232)];if(_0x2eed6d['method']!==_0x4191d7(0x20a)){_0x537751(this,_0x2eed6d,_0x577021,0x195,_0x4191d7(0x2d5));return;}if(_0x393440===void 0x0||_0x393440[_0x4191d7(0x30c)]()!==_0x4191d7(0x1c4)){_0x537751(this,_0x2eed6d,_0x577021,0x190,_0x4191d7(0x212));return;}if(_0x2296df===void 0x0||!_0x172dcd[_0x4191d7(0x2a5)](_0x2296df)){_0x537751(this,_0x2eed6d,_0x577021,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x233307!==0xd&&_0x233307!==0x8){_0x537751(this,_0x2eed6d,_0x577021,0x190,_0x4191d7(0x235),{'Sec-WebSocket-Version':_0x4191d7(0x2c1)});return;}if(!this[_0x4191d7(0x2d1)](_0x2eed6d)){_0x1a320b(_0x577021,0x190);return;}const _0x438c59=_0x2eed6d[_0x4191d7(0x2ac)][_0x4191d7(0x1a3)];let _0x1cb260=new Set();if(_0x438c59!==void 0x0)try{_0x1cb260=_0x46d5af[_0x4191d7(0x26e)](_0x438c59);}catch{_0x537751(this,_0x2eed6d,_0x577021,0x190,_0x4191d7(0x1d8));return;}const _0x10d725=_0x2eed6d['headers'][_0x4191d7(0x2e4)],_0x5e84b1={};if(this[_0x4191d7(0x20b)][_0x4191d7(0x210)]&&_0x10d725!==void 0x0){const _0x10a44b=new _0x3fc5a7(this[_0x4191d7(0x20b)][_0x4191d7(0x210)],!0x0,this['options'][_0x4191d7(0x171)]);try{const _0x1d8a6e=_0x501b06['parse'](_0x10d725);_0x1d8a6e[_0x3fc5a7['extensionName']]&&(_0x10a44b[_0x4191d7(0x1cc)](_0x1d8a6e[_0x3fc5a7['extensionName']]),_0x5e84b1[_0x3fc5a7['extensionName']]=_0x10a44b);}catch{_0x537751(this,_0x2eed6d,_0x577021,0x190,_0x4191d7(0x178));return;}}if(this[_0x4191d7(0x20b)][_0x4191d7(0x2ff)]){const _0x17a412={'origin':_0x2eed6d['headers'][''+(_0x233307===0x8?_0x4191d7(0x28d):_0x4191d7(0x296))],'secure':!!(_0x2eed6d[_0x4191d7(0x295)][_0x4191d7(0x196)]||_0x2eed6d[_0x4191d7(0x295)][_0x4191d7(0x316)]),'req':_0x2eed6d};if(this[_0x4191d7(0x20b)][_0x4191d7(0x2ff)]['length']===0x2){this['options']['verifyClient'](_0x17a412,(_0xeaa151,_0x2d7d3d,_0x4f666f,_0x45154c)=>{const _0x122b75=_0x4191d7;if(!_0xeaa151)return _0x1a320b(_0x577021,_0x2d7d3d||0x191,_0x4f666f,_0x45154c);this[_0x122b75(0x16f)](_0x5e84b1,_0x2296df,_0x1cb260,_0x2eed6d,_0x577021,_0x34cf05,_0x180090);});return;}if(!this[_0x4191d7(0x20b)][_0x4191d7(0x2ff)](_0x17a412))return _0x1a320b(_0x577021,0x191);}this[_0x4191d7(0x16f)](_0x5e84b1,_0x2296df,_0x1cb260,_0x2eed6d,_0x577021,_0x34cf05,_0x180090);}[_0x24235c(0x16f)](_0x541d2f,_0x3a755d,_0x57a63d,_0x4c22a5,_0x5d778a,_0x319eec,_0x205d57){const _0x2033f1=_0x24235c;if(!_0x5d778a[_0x2033f1(0x272)]||!_0x5d778a['writable'])return _0x5d778a['destroy']();if(_0x5d778a[_0x3ce6ea])throw new Error(_0x2033f1(0x266));if(this[_0x2033f1(0x222)]>_0x14b953)return _0x1a320b(_0x5d778a,0x1f7);const _0x12c313=[_0x2033f1(0x1ff),_0x2033f1(0x1b8),_0x2033f1(0x260),_0x2033f1(0x184)+_0x49b2f1('sha1')['update'](_0x3a755d+_0x165fc7)[_0x2033f1(0x27e)](_0x2033f1(0x211))],_0x55f30d=new this[(_0x2033f1(0x20b))][(_0x2033f1(0x1a5))](null,void 0x0,this[_0x2033f1(0x20b)]);if(_0x57a63d[_0x2033f1(0x242)]){const _0x5a35d=this[_0x2033f1(0x20b)][_0x2033f1(0x22b)]?this[_0x2033f1(0x20b)]['handleProtocols'](_0x57a63d,_0x4c22a5):_0x57a63d[_0x2033f1(0x241)]()[_0x2033f1(0x23b)]()[_0x2033f1(0x1ec)];_0x5a35d&&(_0x12c313[_0x2033f1(0x1b6)]('Sec-WebSocket-Protocol:\x20'+_0x5a35d),_0x55f30d[_0x2033f1(0x2a6)]=_0x5a35d);}if(_0x541d2f[_0x3fc5a7[_0x2033f1(0x24a)]]){const _0x41faee=_0x541d2f[_0x3fc5a7[_0x2033f1(0x24a)]][_0x2033f1(0x2b7)],_0x3bad6d=_0x501b06['format']({[_0x3fc5a7[_0x2033f1(0x24a)]]:[_0x41faee]});_0x12c313[_0x2033f1(0x1b6)]('Sec-WebSocket-Extensions:\x20'+_0x3bad6d),_0x55f30d['_extensions']=_0x541d2f;}this[_0x2033f1(0x276)](_0x2033f1(0x2ac),_0x12c313,_0x4c22a5),_0x5d778a['write'](_0x12c313[_0x2033f1(0x27f)]('\x0d\x0a')[_0x2033f1(0x2d7)]('\x0d\x0a')),_0x5d778a['removeListener'](_0x2033f1(0x219),_0x4e24c4),_0x55f30d[_0x2033f1(0x1de)](_0x5d778a,_0x319eec,{'allowSynchronousEvents':this[_0x2033f1(0x20b)][_0x2033f1(0x194)],'maxPayload':this[_0x2033f1(0x20b)][_0x2033f1(0x171)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this['clients']&&(this['clients'][_0x2033f1(0x28b)](_0x55f30d),_0x55f30d['on'](_0x2033f1(0x27c),()=>{const _0x3955cb=_0x2033f1;this[_0x3955cb(0x200)][_0x3955cb(0x24c)](_0x55f30d),this[_0x3955cb(0x18b)]&&!this[_0x3955cb(0x200)][_0x3955cb(0x242)]&&process[_0x3955cb(0x1bb)](_0x4acb56,this);})),_0x205d57(_0x55f30d,_0x4c22a5);}}Te=_0x5a28a0;function _0x31ca3b(_0x111651,_0x16487a){const _0x2a352d=_0x24235c;for(const _0x4a2acd of Object[_0x2a352d(0x1ea)](_0x16487a))_0x111651['on'](_0x4a2acd,_0x16487a[_0x4a2acd]);return function(){const _0x3ff265=_0x2a352d;for(const _0x5b6133 of Object[_0x3ff265(0x1ea)](_0x16487a))_0x111651[_0x3ff265(0x243)](_0x5b6133,_0x16487a[_0x5b6133]);};}function _0x4acb56(_0x5826ed){const _0x2e8b3a=_0x24235c;_0x5826ed[_0x2e8b3a(0x222)]=_0x221d8d,_0x5826ed['emit'](_0x2e8b3a(0x27c));}function _0x4e24c4(){this['destroy']();}function _0x1a320b(_0x363772,_0x7f2e42,_0x4a9860,_0x24a14e){const _0x35fba3=_0x24235c;_0x4a9860=_0x4a9860||_0x2a38b6[_0x35fba3(0x25b)][_0x7f2e42],_0x24a14e={'Connection':'close','Content-Type':_0x35fba3(0x302),'Content-Length':Buffer['byteLength'](_0x4a9860),..._0x24a14e},_0x363772['once'](_0x35fba3(0x288),_0x363772[_0x35fba3(0x2b0)]),_0x363772[_0x35fba3(0x1bc)](_0x35fba3(0x2a8)+_0x7f2e42+'\x20'+_0x2a38b6['STATUS_CODES'][_0x7f2e42]+'\x0d\x0a'+Object['keys'](_0x24a14e)[_0x35fba3(0x173)](_0x31f76a=>_0x31f76a+':\x20'+_0x24a14e[_0x31f76a])[_0x35fba3(0x2d7)]('\x0d\x0a')+_0x35fba3(0x1c1)+_0x4a9860);}function _0x537751(_0x428a27,_0x3489da,_0x46f657,_0x703c70,_0x162097,_0x27f458){const _0x2e7fb1=_0x24235c;if(_0x428a27[_0x2e7fb1(0x1f6)]('wsClientError')){const _0xc0bd97=new Error(_0x162097);Error[_0x2e7fb1(0x1d5)](_0xc0bd97,_0x537751),_0x428a27[_0x2e7fb1(0x276)](_0x2e7fb1(0x179),_0xc0bd97,_0x46f657,_0x3489da);}else _0x1a320b(_0x46f657,_0x703c70,_0x162097,_0x27f458);}return Te;}Qt();var Jt=Object[_0x459da0(0x292)],er=(_0x18adf7,_0x5396c7,_0x392cf4,_0x33e0d7)=>{const _0x70ff4=_0x459da0;for(var _0x3ae7d5=_0x33e0d7>0x1?void 0x0:_0x33e0d7?Jt(_0x5396c7,_0x392cf4):_0x5396c7,_0x4f3376=_0x18adf7[_0x70ff4(0x28e)]-0x1,_0x23130f;_0x4f3376>=0x0;_0x4f3376--)(_0x23130f=_0x18adf7[_0x4f3376])&&(_0x3ae7d5=_0x23130f(_0x3ae7d5)||_0x3ae7d5);return _0x3ae7d5;},tr=(_0x4ae501,_0x247771)=>(_0x656c9d,_0x49e307)=>_0x247771(_0x656c9d,_0x49e307,_0x4ae501);function _0x3817(_0x4ee197,_0x514598){_0x4ee197=_0x4ee197-0x169;const _0x4cdec8=_0x4cde();let _0x38178b=_0x4cdec8[_0x4ee197];return _0x38178b;}let ke=class extends _0x5acf1f{constructor(_0x6f6be5){const _0x4ee7f0=_0x459da0;super(),this[_0x4ee7f0(0x2e9)]=_0x6f6be5;}[_0x459da0(0x2d3)](_0x2cfb47){const _0x24a50a=_0x459da0;var _0x323c6f;const _0x13dd77=((_0x323c6f=this[_0x24a50a(0x2e9)][_0x24a50a(0x23e)](_0x15184b))==null?void 0x0:_0x323c6f[_0x24a50a(0x213)])||{};try{const _0x909a40=new Xt(_0x2cfb47,{'headers':{..._0x13dd77}}),_0x23bb53=new _0x2e4cb0();return{'URL':_0x2cfb47,'close':(_0x7ee415,_0x550b61)=>{const _0x29f83c=_0x24a50a;_0x909a40[_0x29f83c(0x27c)](_0x7ee415,_0x550b61),_0x23bb53['dispose']();},'send':_0x2e2bae=>{const _0x51bb32=_0x24a50a;_0x909a40[_0x51bb32(0x226)](_0x2e2bae);},'open$':new _0x366dfa(_0x291ba5=>{const _0x241e16=_0x24a50a,_0x905d50=_0x1f7c65=>_0x291ba5[_0x241e16(0x23b)](_0x1f7c65);_0x909a40[_0x241e16(0x2d8)](_0x241e16(0x1b1),_0x905d50),_0x23bb53[_0x241e16(0x28b)](_0xf18d6d(()=>_0x909a40['removeEventListener']('open',_0x905d50)));})[_0x24a50a(0x224)](_0x5e0174()),'close$':new _0x366dfa(_0x166ea2=>{const _0xb78817=_0x24a50a,_0x59210a=_0x549af7=>_0x166ea2[_0xb78817(0x23b)](_0x549af7);_0x909a40[_0xb78817(0x2d8)]('close',_0x59210a),_0x23bb53['add'](_0xf18d6d(()=>_0x909a40[_0xb78817(0x19a)](_0xb78817(0x27c),_0x59210a)));})[_0x24a50a(0x224)](_0x5e0174()),'error$':new _0x366dfa(_0x50baec=>{const _0x5d29f5=_0x24a50a,_0xc5223b=_0x5da1d3=>_0x50baec[_0x5d29f5(0x23b)](_0x5da1d3);_0x909a40[_0x5d29f5(0x2d8)](_0x5d29f5(0x219),_0xc5223b),_0x23bb53[_0x5d29f5(0x28b)](_0xf18d6d(()=>_0x909a40[_0x5d29f5(0x19a)](_0x5d29f5(0x219),_0xc5223b)));})[_0x24a50a(0x224)](_0x5e0174()),'message$':new _0x366dfa(_0x3e2cb1=>{const _0x137962=_0x24a50a,_0x1f6ee5=_0x23dcaf=>_0x3e2cb1[_0x137962(0x23b)](_0x23dcaf);_0x909a40[_0x137962(0x2d8)]('message',_0x1f6ee5),_0x23bb53[_0x137962(0x28b)](_0xf18d6d(()=>_0x909a40[_0x137962(0x19a)]('message',_0x1f6ee5)));})[_0x24a50a(0x224)](_0x5e0174())};}catch(_0x3a7a41){return console[_0x24a50a(0x219)](_0x3a7a41),null;}}};ke=er([tr(0x0,_0x426d1c)],ke);var rr=Object['defineProperty'],sr=Object[_0x459da0(0x292)],ir=(_0x41ffbd,_0x3f1f08,_0x130771)=>_0x3f1f08 in _0x41ffbd?rr(_0x41ffbd,_0x3f1f08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x130771}):_0x41ffbd[_0x3f1f08]=_0x130771,nr=(_0x19fc6d,_0x31709e,_0x256a27,_0x5f3424)=>{const _0x323bd6=_0x459da0;for(var _0x219093=_0x5f3424>0x1?void 0x0:_0x5f3424?sr(_0x31709e,_0x256a27):_0x31709e,_0x4e4a6a=_0x19fc6d[_0x323bd6(0x28e)]-0x1,_0x14075d;_0x4e4a6a>=0x0;_0x4e4a6a--)(_0x14075d=_0x19fc6d[_0x4e4a6a])&&(_0x219093=_0x14075d(_0x219093)||_0x219093);return _0x219093;},nt=(_0x1ffb71,_0x4218f4)=>(_0x4aa7b7,_0x1b628f)=>_0x4218f4(_0x4aa7b7,_0x1b628f,_0x1ffb71),or=(_0x62809a,_0x12ce25,_0x1a397d)=>ir(_0x62809a,_0x12ce25+'',_0x1a397d);let Ne=class extends _0x2e6e80{constructor(_0x3ca2e7=Ft,_0x3a61a2,_0x4f0e4d){const _0xd1da9e=_0x459da0;super(),this[_0xd1da9e(0x2e9)]=_0x3a61a2,this[_0xd1da9e(0x2cb)]=_0x4f0e4d,this[_0xd1da9e(0x2e9)][_0xd1da9e(0x2ee)]($t,_0x3ca2e7);}[_0x459da0(0x1b9)](){const _0x7daf93=_0x459da0;this[_0x7daf93(0x291)]();}['_registerDependencies'](){const _0x5e9437=_0x459da0;_0x1a576f(this[_0x5e9437(0x2cb)],[[_0x5306f4,{'useClass':ke}]]);}};or(Ne,_0x459da0(0x201),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Ne=nr([_0x4503f3(_0x2025bc),nt(0x1,_0x426d1c),nt(0x2,_0xbb3839(_0x286f7a))],Ne);var ar=Object['getOwnPropertyDescriptor'],lr=(_0x35dfdf,_0x2bb6b4,_0x56df0e,_0x3dd77c)=>{const _0x10fb4e=_0x459da0;for(var _0x2588ad=_0x3dd77c>0x1?void 0x0:_0x3dd77c?ar(_0x2bb6b4,_0x56df0e):_0x2bb6b4,_0x1fe775=_0x35dfdf[_0x10fb4e(0x28e)]-0x1,_0x41e103;_0x1fe775>=0x0;_0x1fe775--)(_0x41e103=_0x35dfdf[_0x1fe775])&&(_0x2588ad=_0x41e103(_0x2588ad)||_0x2588ad);return _0x2588ad;},re=(_0x32f0f1,_0x6a67b1)=>(_0x2cf97d,_0x296525)=>_0x6a67b1(_0x2cf97d,_0x296525,_0x32f0f1);let ot=class extends _0x266767{constructor(_0x579968,_0x331e0b,_0x27eea1,_0x11794e,_0x4109ed){const _0x31ddca=_0x459da0;super(_0x579968,_0x331e0b,_0x27eea1,_0x11794e,_0x4109ed);const _0x5d53cc=this[_0x31ddca(0x2e9)]['getConfig'](_0x15184b);this[_0x31ddca(0x2b8)]['registerHTTPInterceptor']({'interceptor':(_0x264c75,_0x556d23)=>{const _0x589ded=_0x31ddca;var _0x7e827d;const _0x24ab3c=_0x264c75[_0x589ded(0x2ac)];return(_0x7e827d=_0x5d53cc==null?void 0x0:_0x5d53cc[_0x589ded(0x213)])!=null&&_0x7e827d['cookie']&&_0x24ab3c[_0x589ded(0x174)]('Cookie',_0x5d53cc[_0x589ded(0x213)]['cookie']),_0x556d23(_0x264c75);}});}async[_0x459da0(0x2d3)](_0xaec523){const _0x41be02=_0x459da0;return this[_0x41be02(0x2b2)](_0xaec523);}};ot=lr([re(0x0,_0xbb3839(_0x286f7a)),re(0x1,_0xbb3839(_0x179d7a)),re(0x2,_0x426d1c),re(0x3,_0x28fb7e),re(0x4,_0x558699)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};