@univerjs-pro/collaboration-client-node 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506031608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x5268(_0x18e8f6,_0x8625f){const _0x433c6c=_0x433c();return _0x5268=function(_0x526833,_0x21353b){_0x526833=_0x526833-0xf9;let _0x5dc62c=_0x433c6c[_0x526833];return _0x5dc62c;},_0x5268(_0x18e8f6,_0x8625f);}const _0x55294d=_0x5268;(function(_0x452c6a,_0x222710){const _0x1272c7=_0x5268,_0x159809=_0x452c6a();while(!![]){try{const _0xc89970=parseInt(_0x1272c7(0x18e))/0x1+-parseInt(_0x1272c7(0xfa))/0x2+parseInt(_0x1272c7(0x144))/0x3*(parseInt(_0x1272c7(0x25a))/0x4)+parseInt(_0x1272c7(0x1d0))/0x5*(parseInt(_0x1272c7(0x118))/0x6)+-parseInt(_0x1272c7(0x22b))/0x7+parseInt(_0x1272c7(0x103))/0x8+-parseInt(_0x1272c7(0x264))/0x9;if(_0xc89970===_0x222710)break;else _0x159809['push'](_0x159809['shift']());}catch(_0x582fef){_0x159809['push'](_0x159809['shift']());}}}(_0x433c,0x5816f));Object['defineProperty'](exports,Symbol[_0x55294d(0x278)],{'value':_0x55294d(0x2cc)});const st=require(_0x55294d(0x20f)),A=require('@univerjs/core'),it=require(_0x55294d(0x114)),V=require(_0x55294d(0x17a)),nt=require(_0x55294d(0x25e)),vt=require(_0x55294d(0x163)),ot=require('http'),St=require(_0x55294d(0x274)),Et=require(_0x55294d(0x1df)),Le=require(_0x55294d(0x1c5)),oe=require(_0x55294d(0x280)),xt=require(_0x55294d(0x12c)),bt=require(_0x55294d(0x2c0)),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x55294d(0x226),Ct={'customHeaders':{}};function Tt(_0x5edef8){const _0x54c3a5=_0x55294d;return _0x5edef8&&_0x5edef8['__esModule']&&Object[_0x54c3a5(0x187)]['hasOwnProperty']['call'](_0x5edef8,_0x54c3a5(0x281))?_0x5edef8['default']:_0x5edef8;}function at(_0x2dfab5){const _0x1ec3f9=_0x55294d;if(Object['prototype'][_0x1ec3f9(0x2ae)][_0x1ec3f9(0x214)](_0x2dfab5,'__esModule'))return _0x2dfab5;var _0x2ab1de=_0x2dfab5[_0x1ec3f9(0x281)];if(typeof _0x2ab1de==_0x1ec3f9(0x195)){var _0x1e39ae=function _0x327952(){const _0x4354a9=_0x1ec3f9;return this instanceof _0x327952?Reflect[_0x4354a9(0x206)](_0x2ab1de,arguments,this[_0x4354a9(0x190)]):_0x2ab1de[_0x4354a9(0x2b1)](this,arguments);};_0x1e39ae[_0x1ec3f9(0x187)]=_0x2ab1de[_0x1ec3f9(0x187)];}else _0x1e39ae={};return Object['defineProperty'](_0x1e39ae,_0x1ec3f9(0x13e),{'value':!0x0}),Object[_0x1ec3f9(0x16b)](_0x2dfab5)[_0x1ec3f9(0x170)](function(_0xcd283f){const _0x2ffff0=_0x1ec3f9;var _0x18e0bf=Object[_0x2ffff0(0x14a)](_0x2dfab5,_0xcd283f);Object[_0x2ffff0(0x1c0)](_0x1e39ae,_0xcd283f,_0x18e0bf[_0x2ffff0(0x201)]?_0x18e0bf:{'enumerable':!0x0,'get':function(){return _0x2dfab5[_0xcd283f];}});}),_0x1e39ae;}var se={'exports':{}},ge,Ge;function H(){const _0x425c69=_0x55294d;if(Ge)return ge;Ge=0x1;const _0x43a421=['nodebuffer','arraybuffer',_0x425c69(0x2b2)],_0x3283d5=typeof Blob<'u';return _0x3283d5&&_0x43a421[_0x425c69(0x246)](_0x425c69(0x28a)),ge={'BINARY_TYPES':_0x43a421,'EMPTY_BUFFER':Buffer[_0x425c69(0x2c2)](0x0),'GUID':_0x425c69(0x286),'hasBlob':_0x3283d5,'kForOnEventAttribute':Symbol(_0x425c69(0x1c9)),'kListener':Symbol(_0x425c69(0x107)),'kStatusCode':Symbol(_0x425c69(0x2c9)),'kWebSocket':Symbol(_0x425c69(0x16a)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x55294d(0x2cc)})),Lt=at(kt);var Ve;function ce(){const _0x572c5a=_0x55294d;if(Ve)return se[_0x572c5a(0x1b5)];Ve=0x1;const {EMPTY_BUFFER:_0x3fedc5}=H(),_0x578eda=Buffer[Symbol[_0x572c5a(0x2ad)]];function _0x3f50a9(_0x3ba851,_0x376554){const _0x165ec0=_0x572c5a;if(_0x3ba851[_0x165ec0(0x240)]===0x0)return _0x3fedc5;if(_0x3ba851[_0x165ec0(0x240)]===0x1)return _0x3ba851[0x0];const _0x470ea7=Buffer[_0x165ec0(0x18f)](_0x376554);let _0x5a5893=0x0;for(let _0x472c76=0x0;_0x472c76<_0x3ba851['length'];_0x472c76++){const _0x6918f9=_0x3ba851[_0x472c76];_0x470ea7[_0x165ec0(0x1f7)](_0x6918f9,_0x5a5893),_0x5a5893+=_0x6918f9[_0x165ec0(0x240)];}return _0x5a5893<_0x376554?new _0x578eda(_0x470ea7[_0x165ec0(0x259)],_0x470ea7[_0x165ec0(0x23b)],_0x5a5893):_0x470ea7;}function _0x56d346(_0x363a8b,_0x294656,_0x582a08,_0x528f7e,_0x106c85){for(let _0x491423=0x0;_0x491423<_0x106c85;_0x491423++)_0x582a08[_0x528f7e+_0x491423]=_0x363a8b[_0x491423]^_0x294656[_0x491423&0x3];}function _0x1f5804(_0xef44f9,_0x539f91){const _0x337c32=_0x572c5a;for(let _0x76cd75=0x0;_0x76cd75<_0xef44f9[_0x337c32(0x240)];_0x76cd75++)_0xef44f9[_0x76cd75]^=_0x539f91[_0x76cd75&0x3];}function _0xdd2809(_0xe2504a){const _0x91d7bb=_0x572c5a;return _0xe2504a['length']===_0xe2504a[_0x91d7bb(0x259)][_0x91d7bb(0x1a5)]?_0xe2504a[_0x91d7bb(0x259)]:_0xe2504a[_0x91d7bb(0x259)]['slice'](_0xe2504a[_0x91d7bb(0x23b)],_0xe2504a[_0x91d7bb(0x23b)]+_0xe2504a[_0x91d7bb(0x240)]);}function _0x1c9108(_0x324308){const _0x4e59b2=_0x572c5a;if(_0x1c9108[_0x4e59b2(0x185)]=!0x0,Buffer[_0x4e59b2(0x270)](_0x324308))return _0x324308;let _0x42ac70;return _0x324308 instanceof ArrayBuffer?_0x42ac70=new _0x578eda(_0x324308):ArrayBuffer[_0x4e59b2(0x2cd)](_0x324308)?_0x42ac70=new _0x578eda(_0x324308[_0x4e59b2(0x259)],_0x324308[_0x4e59b2(0x23b)],_0x324308[_0x4e59b2(0x1a5)]):(_0x42ac70=Buffer[_0x4e59b2(0x169)](_0x324308),_0x1c9108['readOnly']=!0x1),_0x42ac70;}if(se[_0x572c5a(0x1b5)]={'concat':_0x3f50a9,'mask':_0x56d346,'toArrayBuffer':_0xdd2809,'toBuffer':_0x1c9108,'unmask':_0x1f5804},!process[_0x572c5a(0x115)]['WS_NO_BUFFER_UTIL'])try{const _0x171901=Lt;se[_0x572c5a(0x1b5)]['mask']=function(_0x43ccf8,_0x575e1d,_0x4cb386,_0x2ccc2e,_0x455254){const _0x62fba0=_0x572c5a;_0x455254<0x30?_0x56d346(_0x43ccf8,_0x575e1d,_0x4cb386,_0x2ccc2e,_0x455254):_0x171901[_0x62fba0(0x1b1)](_0x43ccf8,_0x575e1d,_0x4cb386,_0x2ccc2e,_0x455254);},se['exports'][_0x572c5a(0x242)]=function(_0x211cc1,_0x1e50e5){const _0x4c6e90=_0x572c5a;_0x211cc1[_0x4c6e90(0x240)]<0x20?_0x1f5804(_0x211cc1,_0x1e50e5):_0x171901[_0x4c6e90(0x242)](_0x211cc1,_0x1e50e5);};}catch{}return se[_0x572c5a(0x1b5)];}var ye,He;function Pt(){const _0x296050=_0x55294d;if(He)return ye;He=0x1;const _0x36537a=Symbol(_0x296050(0x2bc)),_0x3f637a=Symbol(_0x296050(0x10b));class _0x32d27c{constructor(_0x3c8120){const _0x135a98=_0x296050;this[_0x36537a]=()=>{this['pending']--,this[_0x3f637a]();},this[_0x135a98(0x152)]=_0x3c8120||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x296050(0x102)](_0x3df876){const _0x3cea7c=_0x296050;this['jobs'][_0x3cea7c(0x246)](_0x3df876),this[_0x3f637a]();}[_0x3f637a](){const _0x616d61=_0x296050;if(this[_0x616d61(0x159)]!==this['concurrency']&&this['jobs'][_0x616d61(0x240)]){const _0x10670a=this[_0x616d61(0x135)][_0x616d61(0x28e)]();this[_0x616d61(0x159)]++,_0x10670a(this[_0x36537a]);}}}return ye=_0x32d27c,ye;}var ve,ze;function he(){const _0x5e4aa8=_0x55294d;if(ze)return ve;ze=0x1;const _0x481ffb=bt,_0x11e914=ce(),_0x1f7b5a=Pt(),{kStatusCode:_0x27dbfd}=H(),_0x152f6e=Buffer[Symbol['species']],_0x2400ae=Buffer[_0x5e4aa8(0x169)]([0x0,0x0,0xff,0xff]),_0x4cebda=Symbol(_0x5e4aa8(0x2cb)),_0x5e795b=Symbol(_0x5e4aa8(0x121)),_0x2f5c3a=Symbol(_0x5e4aa8(0x1a2)),_0x3be37a=Symbol('buffers'),_0x289c7e=Symbol(_0x5e4aa8(0x25d));let _0x58d126;class _0x18bcbc{constructor(_0x58f332,_0x340d0f,_0x439d3a){const _0x490e91=_0x5e4aa8;if(this[_0x490e91(0x1ca)]=_0x439d3a|0x0,this[_0x490e91(0x176)]=_0x58f332||{},this[_0x490e91(0x1c8)]=this[_0x490e91(0x176)]['threshold']!==void 0x0?this[_0x490e91(0x176)][_0x490e91(0x28d)]:0x400,this['_isServer']=!!_0x340d0f,this[_0x490e91(0x217)]=null,this[_0x490e91(0x171)]=null,this[_0x490e91(0x1e0)]=null,!_0x58d126){const _0x48c810=this[_0x490e91(0x176)][_0x490e91(0x209)]!==void 0x0?this[_0x490e91(0x176)]['concurrencyLimit']:0xa;_0x58d126=new _0x1f7b5a(_0x48c810);}}static get['extensionName'](){return'permessage-deflate';}[_0x5e4aa8(0x23d)](){const _0x4fd58e=_0x5e4aa8,_0x21bce7={};return this[_0x4fd58e(0x176)][_0x4fd58e(0x124)]&&(_0x21bce7[_0x4fd58e(0x1b6)]=!0x0),this['_options'][_0x4fd58e(0x2a0)]&&(_0x21bce7[_0x4fd58e(0x17c)]=!0x0),this['_options'][_0x4fd58e(0x165)]&&(_0x21bce7[_0x4fd58e(0x136)]=this[_0x4fd58e(0x176)][_0x4fd58e(0x165)]),this[_0x4fd58e(0x176)][_0x4fd58e(0x112)]?_0x21bce7[_0x4fd58e(0x266)]=this[_0x4fd58e(0x176)][_0x4fd58e(0x112)]:this[_0x4fd58e(0x176)]['clientMaxWindowBits']==null&&(_0x21bce7[_0x4fd58e(0x266)]=!0x0),_0x21bce7;}[_0x5e4aa8(0x133)](_0x4f3102){const _0x3f87bd=_0x5e4aa8;return _0x4f3102=this[_0x3f87bd(0x1bf)](_0x4f3102),this[_0x3f87bd(0x1e0)]=this[_0x3f87bd(0x273)]?this[_0x3f87bd(0x220)](_0x4f3102):this['acceptAsClient'](_0x4f3102),this[_0x3f87bd(0x1e0)];}['cleanup'](){const _0x30ca8f=_0x5e4aa8;if(this[_0x30ca8f(0x171)]&&(this[_0x30ca8f(0x171)][_0x30ca8f(0x23f)](),this['_inflate']=null),this[_0x30ca8f(0x217)]){const _0x264ed0=this[_0x30ca8f(0x217)][_0x2f5c3a];this['_deflate'][_0x30ca8f(0x23f)](),this[_0x30ca8f(0x217)]=null,_0x264ed0&&_0x264ed0(new Error(_0x30ca8f(0x2c5)));}}[_0x5e4aa8(0x220)](_0x395283){const _0x20be6d=_0x5e4aa8,_0x18a36f=this[_0x20be6d(0x176)],_0x41ebc1=_0x395283['find'](_0x341f68=>!(_0x18a36f[_0x20be6d(0x124)]===!0x1&&_0x341f68['server_no_context_takeover']||_0x341f68[_0x20be6d(0x136)]&&(_0x18a36f[_0x20be6d(0x165)]===!0x1||typeof _0x18a36f[_0x20be6d(0x165)]==_0x20be6d(0x291)&&_0x18a36f['serverMaxWindowBits']>_0x341f68[_0x20be6d(0x136)])||typeof _0x18a36f[_0x20be6d(0x112)]==_0x20be6d(0x291)&&!_0x341f68[_0x20be6d(0x266)]));if(!_0x41ebc1)throw new Error(_0x20be6d(0x143));return _0x18a36f[_0x20be6d(0x124)]&&(_0x41ebc1['server_no_context_takeover']=!0x0),_0x18a36f['clientNoContextTakeover']&&(_0x41ebc1[_0x20be6d(0x17c)]=!0x0),typeof _0x18a36f[_0x20be6d(0x165)]=='number'&&(_0x41ebc1[_0x20be6d(0x136)]=_0x18a36f[_0x20be6d(0x165)]),typeof _0x18a36f[_0x20be6d(0x112)]==_0x20be6d(0x291)?_0x41ebc1[_0x20be6d(0x266)]=_0x18a36f[_0x20be6d(0x112)]:(_0x41ebc1['client_max_window_bits']===!0x0||_0x18a36f['clientMaxWindowBits']===!0x1)&&delete _0x41ebc1[_0x20be6d(0x266)],_0x41ebc1;}['acceptAsClient'](_0x557900){const _0x1c0bc0=_0x5e4aa8,_0x504773=_0x557900[0x0];if(this['_options'][_0x1c0bc0(0x2a0)]===!0x1&&_0x504773[_0x1c0bc0(0x17c)])throw new Error(_0x1c0bc0(0x109));if(!_0x504773[_0x1c0bc0(0x266)])typeof this[_0x1c0bc0(0x176)][_0x1c0bc0(0x112)]==_0x1c0bc0(0x291)&&(_0x504773[_0x1c0bc0(0x266)]=this[_0x1c0bc0(0x176)][_0x1c0bc0(0x112)]);else{if(this[_0x1c0bc0(0x176)][_0x1c0bc0(0x112)]===!0x1||typeof this[_0x1c0bc0(0x176)][_0x1c0bc0(0x112)]==_0x1c0bc0(0x291)&&_0x504773['client_max_window_bits']>this[_0x1c0bc0(0x176)][_0x1c0bc0(0x112)])throw new Error(_0x1c0bc0(0x225));}return _0x504773;}[_0x5e4aa8(0x1bf)](_0x4e34cd){const _0x55c26e=_0x5e4aa8;return _0x4e34cd[_0x55c26e(0x170)](_0x5fb63d=>{const _0x540636=_0x55c26e;Object['keys'](_0x5fb63d)[_0x540636(0x170)](_0x33b1e2=>{const _0x2d8f4a=_0x540636;let _0x25619c=_0x5fb63d[_0x33b1e2];if(_0x25619c['length']>0x1)throw new Error(_0x2d8f4a(0x15c)+_0x33b1e2+_0x2d8f4a(0x1ae));if(_0x25619c=_0x25619c[0x0],_0x33b1e2==='client_max_window_bits'){if(_0x25619c!==!0x0){const _0x298bb3=+_0x25619c;if(!Number[_0x2d8f4a(0x184)](_0x298bb3)||_0x298bb3<0x8||_0x298bb3>0xf)throw new TypeError(_0x2d8f4a(0x1b7)+_0x33b1e2+_0x2d8f4a(0x20d)+_0x25619c);_0x25619c=_0x298bb3;}else{if(!this['_isServer'])throw new TypeError(_0x2d8f4a(0x1b7)+_0x33b1e2+_0x2d8f4a(0x20d)+_0x25619c);}}else{if(_0x33b1e2===_0x2d8f4a(0x136)){const _0x34582a=+_0x25619c;if(!Number['isInteger'](_0x34582a)||_0x34582a<0x8||_0x34582a>0xf)throw new TypeError(_0x2d8f4a(0x1b7)+_0x33b1e2+_0x2d8f4a(0x20d)+_0x25619c);_0x25619c=_0x34582a;}else{if(_0x33b1e2==='client_no_context_takeover'||_0x33b1e2===_0x2d8f4a(0x1b6)){if(_0x25619c!==!0x0)throw new TypeError(_0x2d8f4a(0x1b7)+_0x33b1e2+_0x2d8f4a(0x20d)+_0x25619c);}else throw new Error(_0x2d8f4a(0x1e6)+_0x33b1e2+'\x22');}}_0x5fb63d[_0x33b1e2]=_0x25619c;});}),_0x4e34cd;}[_0x5e4aa8(0x127)](_0x1c2275,_0x50900f,_0x4f140d){const _0x3c319c=_0x5e4aa8;_0x58d126[_0x3c319c(0x102)](_0xbfb9c7=>{const _0x8323e9=_0x3c319c;this[_0x8323e9(0x247)](_0x1c2275,_0x50900f,(_0x4de19f,_0x3f0f35)=>{_0xbfb9c7(),_0x4f140d(_0x4de19f,_0x3f0f35);});});}[_0x5e4aa8(0x1bc)](_0x4d416d,_0x2ebcd9,_0x4fca7c){const _0x1f71b1=_0x5e4aa8;_0x58d126[_0x1f71b1(0x102)](_0xf697f=>{this['_compress'](_0x4d416d,_0x2ebcd9,(_0x53e6b1,_0xd0b2f7)=>{_0xf697f(),_0x4fca7c(_0x53e6b1,_0xd0b2f7);});});}[_0x5e4aa8(0x247)](_0x20d387,_0x32ab3d,_0x40eb9f){const _0x28b164=_0x5e4aa8,_0x12982a=this[_0x28b164(0x273)]?'client':_0x28b164(0x1d9);if(!this[_0x28b164(0x171)]){const _0x4c6fba=_0x12982a+'_max_window_bits',_0x30bf6b=typeof this[_0x28b164(0x1e0)][_0x4c6fba]!=_0x28b164(0x291)?_0x481ffb['Z_DEFAULT_WINDOWBITS']:this[_0x28b164(0x1e0)][_0x4c6fba];this['_inflate']=_0x481ffb[_0x28b164(0x29e)]({...this['_options'][_0x28b164(0x29d)],'windowBits':_0x30bf6b}),this['_inflate'][_0x4cebda]=this,this[_0x28b164(0x171)][_0x5e795b]=0x0,this[_0x28b164(0x171)][_0x3be37a]=[],this[_0x28b164(0x171)]['on']('error',_0x323141),this[_0x28b164(0x171)]['on']('data',_0x1b6bc7);}this[_0x28b164(0x171)][_0x2f5c3a]=_0x40eb9f,this['_inflate'][_0x28b164(0x254)](_0x20d387),_0x32ab3d&&this[_0x28b164(0x171)][_0x28b164(0x254)](_0x2400ae),this[_0x28b164(0x171)][_0x28b164(0x13c)](()=>{const _0x54bda7=_0x28b164,_0x3a8f1d=this['_inflate'][_0x289c7e];if(_0x3a8f1d){this[_0x54bda7(0x171)][_0x54bda7(0x23f)](),this[_0x54bda7(0x171)]=null,_0x40eb9f(_0x3a8f1d);return;}const _0x53d4f6=_0x11e914[_0x54bda7(0x24c)](this[_0x54bda7(0x171)][_0x3be37a],this[_0x54bda7(0x171)][_0x5e795b]);this[_0x54bda7(0x171)][_0x54bda7(0x22f)][_0x54bda7(0x2b8)]?(this[_0x54bda7(0x171)][_0x54bda7(0x23f)](),this[_0x54bda7(0x171)]=null):(this[_0x54bda7(0x171)][_0x5e795b]=0x0,this[_0x54bda7(0x171)][_0x3be37a]=[],_0x32ab3d&&this[_0x54bda7(0x1e0)][_0x12982a+'_no_context_takeover']&&this['_inflate']['reset']()),_0x40eb9f(null,_0x53d4f6);});}[_0x5e4aa8(0x1b2)](_0x1bb722,_0x2f0d0a,_0xee0ece){const _0x11fce8=_0x5e4aa8,_0x2ae5f6=this[_0x11fce8(0x273)]?_0x11fce8(0x1d9):_0x11fce8(0x2c4);if(!this[_0x11fce8(0x217)]){const _0x3da780=_0x2ae5f6+_0x11fce8(0x10c),_0x42bd6f=typeof this[_0x11fce8(0x1e0)][_0x3da780]!=_0x11fce8(0x291)?_0x481ffb[_0x11fce8(0x2a3)]:this[_0x11fce8(0x1e0)][_0x3da780];this[_0x11fce8(0x217)]=_0x481ffb['createDeflateRaw']({...this['_options'][_0x11fce8(0x166)],'windowBits':_0x42bd6f}),this[_0x11fce8(0x217)][_0x5e795b]=0x0,this['_deflate'][_0x3be37a]=[],this[_0x11fce8(0x217)]['on'](_0x11fce8(0x167),_0x1a186c);}this[_0x11fce8(0x217)][_0x2f5c3a]=_0xee0ece,this[_0x11fce8(0x217)][_0x11fce8(0x254)](_0x1bb722),this[_0x11fce8(0x217)][_0x11fce8(0x13c)](_0x481ffb[_0x11fce8(0x19f)],()=>{const _0x3cfc30=_0x11fce8;if(!this['_deflate'])return;let _0x51ef50=_0x11e914['concat'](this[_0x3cfc30(0x217)][_0x3be37a],this[_0x3cfc30(0x217)][_0x5e795b]);_0x2f0d0a&&(_0x51ef50=new _0x152f6e(_0x51ef50['buffer'],_0x51ef50['byteOffset'],_0x51ef50[_0x3cfc30(0x240)]-0x4)),this['_deflate'][_0x2f5c3a]=null,this['_deflate'][_0x5e795b]=0x0,this[_0x3cfc30(0x217)][_0x3be37a]=[],_0x2f0d0a&&this[_0x3cfc30(0x1e0)][_0x2ae5f6+_0x3cfc30(0x257)]&&this[_0x3cfc30(0x217)][_0x3cfc30(0x1d8)](),_0xee0ece(null,_0x51ef50);});}}ve=_0x18bcbc;function _0x1a186c(_0x3b388f){const _0x2b6c54=_0x5e4aa8;this[_0x3be37a][_0x2b6c54(0x246)](_0x3b388f),this[_0x5e795b]+=_0x3b388f[_0x2b6c54(0x240)];}function _0x1b6bc7(_0x1f2235){const _0x13f6bf=_0x5e4aa8;if(this[_0x5e795b]+=_0x1f2235[_0x13f6bf(0x240)],this[_0x4cebda][_0x13f6bf(0x1ca)]<0x1||this[_0x5e795b]<=this[_0x4cebda][_0x13f6bf(0x1ca)]){this[_0x3be37a]['push'](_0x1f2235);return;}this[_0x289c7e]=new RangeError(_0x13f6bf(0x297)),this[_0x289c7e][_0x13f6bf(0x178)]=_0x13f6bf(0x189),this[_0x289c7e][_0x27dbfd]=0x3f1,this['removeListener'](_0x13f6bf(0x167),_0x1b6bc7),this[_0x13f6bf(0x1d8)]();}function _0x323141(_0x49e86c){const _0x49af55=_0x5e4aa8;if(this[_0x4cebda][_0x49af55(0x171)]=null,this[_0x289c7e]){this[_0x2f5c3a](this[_0x289c7e]);return;}_0x49e86c[_0x27dbfd]=0x3ef,this[_0x2f5c3a](_0x49e86c);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x55294d(0x199)](Object[_0x55294d(0x1c0)]({'__proto__':null,'default':Dt},Symbol[_0x55294d(0x278)],{'value':_0x55294d(0x2cc)})),Bt=at(Rt);var Ye;function ae(){const _0x37d479=_0x55294d;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x502bc9}=wt,{hasBlob:_0x151820}=H(),_0x69afa3=[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 _0x3beef3(_0x381220){return _0x381220>=0x3e8&&_0x381220<=0x3f6&&_0x381220!==0x3ec&&_0x381220!==0x3ed&&_0x381220!==0x3ee||_0x381220>=0xbb8&&_0x381220<=0x1387;}function _0x4865fb(_0x4390c1){const _0x83fa7b=_0x5268,_0x26b1dc=_0x4390c1[_0x83fa7b(0x240)];let _0xf254e5=0x0;for(;_0xf254e5<_0x26b1dc;)if((_0x4390c1[_0xf254e5]&0x80)===0x0)_0xf254e5++;else{if((_0x4390c1[_0xf254e5]&0xe0)===0xc0){if(_0xf254e5+0x1===_0x26b1dc||(_0x4390c1[_0xf254e5+0x1]&0xc0)!==0x80||(_0x4390c1[_0xf254e5]&0xfe)===0xc0)return!0x1;_0xf254e5+=0x2;}else{if((_0x4390c1[_0xf254e5]&0xf0)===0xe0){if(_0xf254e5+0x2>=_0x26b1dc||(_0x4390c1[_0xf254e5+0x1]&0xc0)!==0x80||(_0x4390c1[_0xf254e5+0x2]&0xc0)!==0x80||_0x4390c1[_0xf254e5]===0xe0&&(_0x4390c1[_0xf254e5+0x1]&0xe0)===0x80||_0x4390c1[_0xf254e5]===0xed&&(_0x4390c1[_0xf254e5+0x1]&0xe0)===0xa0)return!0x1;_0xf254e5+=0x3;}else{if((_0x4390c1[_0xf254e5]&0xf8)===0xf0){if(_0xf254e5+0x3>=_0x26b1dc||(_0x4390c1[_0xf254e5+0x1]&0xc0)!==0x80||(_0x4390c1[_0xf254e5+0x2]&0xc0)!==0x80||(_0x4390c1[_0xf254e5+0x3]&0xc0)!==0x80||_0x4390c1[_0xf254e5]===0xf0&&(_0x4390c1[_0xf254e5+0x1]&0xf0)===0x80||_0x4390c1[_0xf254e5]===0xf4&&_0x4390c1[_0xf254e5+0x1]>0x8f||_0x4390c1[_0xf254e5]>0xf4)return!0x1;_0xf254e5+=0x4;}else return!0x1;}}}return!0x0;}function _0x527fbc(_0x5ea162){const _0x1303cd=_0x5268;return _0x151820&&typeof _0x5ea162==_0x1303cd(0x244)&&typeof _0x5ea162[_0x1303cd(0x25c)]==_0x1303cd(0x195)&&typeof _0x5ea162[_0x1303cd(0x21f)]==_0x1303cd(0x2bb)&&typeof _0x5ea162[_0x1303cd(0x280)]==_0x1303cd(0x195)&&(_0x5ea162[Symbol[_0x1303cd(0x278)]]===_0x1303cd(0x1b3)||_0x5ea162[Symbol[_0x1303cd(0x278)]]===_0x1303cd(0x268));}if(ie['exports']={'isBlob':_0x527fbc,'isValidStatusCode':_0x3beef3,'isValidUTF8':_0x4865fb,'tokenChars':_0x69afa3},_0x502bc9)ie[_0x37d479(0x1b5)][_0x37d479(0x2a5)]=function(_0x58a5df){const _0x401cce=_0x37d479;return _0x58a5df[_0x401cce(0x240)]<0x18?_0x4865fb(_0x58a5df):_0x502bc9(_0x58a5df);};else{if(!process['env'][_0x37d479(0x113)])try{const _0xcb83d=Bt;ie[_0x37d479(0x1b5)][_0x37d479(0x2a5)]=function(_0x98a890){return _0x98a890['length']<0x20?_0x4865fb(_0x98a890):_0xcb83d(_0x98a890);};}catch{}}return ie[_0x37d479(0x1b5)];}var Se,Ke;function lt(){const _0x339b6b=_0x55294d;if(Ke)return Se;Ke=0x1;const {Writable:_0x19c635}=oe,_0x1fbc93=he(),{BINARY_TYPES:_0x4226ff,EMPTY_BUFFER:_0x4c7499,kStatusCode:_0x3d6f13,kWebSocket:_0x22857f}=H(),{concat:_0x50f51b,toArrayBuffer:_0x3a9e70,unmask:_0x240ef8}=ce(),{isValidStatusCode:_0x1d2d28,isValidUTF8:_0x4ed708}=ae(),_0x4de624=Buffer[Symbol[_0x339b6b(0x2ad)]],_0x45b38c=0x0,_0x2c1834=0x1,_0x17ca80=0x2,_0x2cf583=0x3,_0x211191=0x4,_0x5bfa9a=0x5,_0x28c299=0x6;class _0x5321e9 extends _0x19c635{constructor(_0x1ec3ad={}){const _0x2db629=_0x339b6b;super(),this[_0x2db629(0x26c)]=_0x1ec3ad[_0x2db629(0x1af)]!==void 0x0?_0x1ec3ad[_0x2db629(0x1af)]:!0x0,this[_0x2db629(0x1c4)]=_0x1ec3ad[_0x2db629(0x292)]||_0x4226ff[0x0],this[_0x2db629(0x2ca)]=_0x1ec3ad[_0x2db629(0xff)]||{},this[_0x2db629(0x273)]=!!_0x1ec3ad[_0x2db629(0x2a8)],this[_0x2db629(0x1ca)]=_0x1ec3ad[_0x2db629(0x2ba)]|0x0,this[_0x2db629(0x157)]=!!_0x1ec3ad[_0x2db629(0x14e)],this[_0x22857f]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2db629(0x243)]=[],this[_0x2db629(0x224)]=!0x1,this[_0x2db629(0x232)]=0x0,this[_0x2db629(0x245)]=void 0x0,this[_0x2db629(0x1d7)]=0x0,this[_0x2db629(0x149)]=!0x1,this[_0x2db629(0x236)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x2db629(0x16d)]=!0x1,this[_0x2db629(0x16f)]=!0x1,this[_0x2db629(0x160)]=_0x45b38c;}[_0x339b6b(0x279)](_0xda5955,_0x1ea8ea,_0x5563b5){const _0x650d99=_0x339b6b;if(this[_0x650d99(0x14c)]===0x8&&this[_0x650d99(0x160)]==_0x45b38c)return _0x5563b5();this[_0x650d99(0x1b9)]+=_0xda5955[_0x650d99(0x240)],this[_0x650d99(0x243)][_0x650d99(0x246)](_0xda5955),this[_0x650d99(0x1a7)](_0x5563b5);}[_0x339b6b(0x2bd)](_0x1c3733){const _0x39e3db=_0x339b6b;if(this[_0x39e3db(0x1b9)]-=_0x1c3733,_0x1c3733===this['_buffers'][0x0]['length'])return this['_buffers']['shift']();if(_0x1c3733<this[_0x39e3db(0x243)][0x0]['length']){const _0x57d91d=this[_0x39e3db(0x243)][0x0];return this[_0x39e3db(0x243)][0x0]=new _0x4de624(_0x57d91d[_0x39e3db(0x259)],_0x57d91d[_0x39e3db(0x23b)]+_0x1c3733,_0x57d91d['length']-_0x1c3733),new _0x4de624(_0x57d91d[_0x39e3db(0x259)],_0x57d91d[_0x39e3db(0x23b)],_0x1c3733);}const _0x41a1ce=Buffer[_0x39e3db(0x18f)](_0x1c3733);do{const _0x4571bc=this[_0x39e3db(0x243)][0x0],_0x4faa23=_0x41a1ce[_0x39e3db(0x240)]-_0x1c3733;_0x1c3733>=_0x4571bc['length']?_0x41a1ce[_0x39e3db(0x1f7)](this[_0x39e3db(0x243)]['shift'](),_0x4faa23):(_0x41a1ce['set'](new Uint8Array(_0x4571bc[_0x39e3db(0x259)],_0x4571bc[_0x39e3db(0x23b)],_0x1c3733),_0x4faa23),this[_0x39e3db(0x243)][0x0]=new _0x4de624(_0x4571bc[_0x39e3db(0x259)],_0x4571bc[_0x39e3db(0x23b)]+_0x1c3733,_0x4571bc[_0x39e3db(0x240)]-_0x1c3733)),_0x1c3733-=_0x4571bc[_0x39e3db(0x240)];}while(_0x1c3733>0x0);return _0x41a1ce;}[_0x339b6b(0x1a7)](_0x19d1b3){const _0x13e8eb=_0x339b6b;this[_0x13e8eb(0x16f)]=!0x0;do switch(this[_0x13e8eb(0x160)]){case _0x45b38c:this['getInfo'](_0x19d1b3);break;case _0x2c1834:this[_0x13e8eb(0x229)](_0x19d1b3);break;case _0x17ca80:this[_0x13e8eb(0x271)](_0x19d1b3);break;case _0x2cf583:this[_0x13e8eb(0x1fc)]();break;case _0x211191:this[_0x13e8eb(0x168)](_0x19d1b3);break;case _0x5bfa9a:case _0x28c299:this[_0x13e8eb(0x16f)]=!0x1;return;}while(this['_loop']);this[_0x13e8eb(0x16d)]||_0x19d1b3();}[_0x339b6b(0x12b)](_0x1679f8){const _0xcfaa22=_0x339b6b;if(this[_0xcfaa22(0x1b9)]<0x2){this[_0xcfaa22(0x16f)]=!0x1;return;}const _0x3047c5=this[_0xcfaa22(0x2bd)](0x2);if((_0x3047c5[0x0]&0x30)!==0x0){const _0x5671e8=this[_0xcfaa22(0xfc)](RangeError,_0xcfaa22(0x19a),!0x0,0x3ea,_0xcfaa22(0x24e));_0x1679f8(_0x5671e8);return;}const _0x1d26d3=(_0x3047c5[0x0]&0x40)===0x40;if(_0x1d26d3&&!this[_0xcfaa22(0x2ca)][_0x1fbc93['extensionName']]){const _0x5d84f2=this[_0xcfaa22(0xfc)](RangeError,_0xcfaa22(0x131),!0x0,0x3ea,_0xcfaa22(0x27b));_0x1679f8(_0x5d84f2);return;}if(this[_0xcfaa22(0x236)]=(_0x3047c5[0x0]&0x80)===0x80,this[_0xcfaa22(0x14c)]=_0x3047c5[0x0]&0xf,this['_payloadLength']=_0x3047c5[0x1]&0x7f,this['_opcode']===0x0){if(_0x1d26d3){const _0x46e0b4=this[_0xcfaa22(0xfc)](RangeError,_0xcfaa22(0x131),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1679f8(_0x46e0b4);return;}if(!this[_0xcfaa22(0x1d7)]){const _0x155ca9=this[_0xcfaa22(0xfc)](RangeError,_0xcfaa22(0x1dc),!0x0,0x3ea,_0xcfaa22(0x120));_0x1679f8(_0x155ca9);return;}this[_0xcfaa22(0x14c)]=this['_fragmented'];}else{if(this[_0xcfaa22(0x14c)]===0x1||this[_0xcfaa22(0x14c)]===0x2){if(this[_0xcfaa22(0x1d7)]){const _0x18d4cd=this[_0xcfaa22(0xfc)](RangeError,_0xcfaa22(0x1ee)+this[_0xcfaa22(0x14c)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1679f8(_0x18d4cd);return;}this['_compressed']=_0x1d26d3;}else{if(this[_0xcfaa22(0x14c)]>0x7&&this[_0xcfaa22(0x14c)]<0xb){if(!this[_0xcfaa22(0x236)]){const _0x40a0d4=this[_0xcfaa22(0xfc)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1679f8(_0x40a0d4);return;}if(_0x1d26d3){const _0x177e1e=this[_0xcfaa22(0xfc)](RangeError,_0xcfaa22(0x131),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1679f8(_0x177e1e);return;}if(this[_0xcfaa22(0x232)]>0x7d||this[_0xcfaa22(0x14c)]===0x8&&this[_0xcfaa22(0x232)]===0x1){const _0xd655d6=this[_0xcfaa22(0xfc)](RangeError,_0xcfaa22(0x141)+this[_0xcfaa22(0x232)],!0x0,0x3ea,_0xcfaa22(0x1d2));_0x1679f8(_0xd655d6);return;}}else{const _0x4b6d42=this['createError'](RangeError,_0xcfaa22(0x1ee)+this[_0xcfaa22(0x14c)],!0x0,0x3ea,_0xcfaa22(0x120));_0x1679f8(_0x4b6d42);return;}}}if(!this[_0xcfaa22(0x236)]&&!this['_fragmented']&&(this['_fragmented']=this[_0xcfaa22(0x14c)]),this[_0xcfaa22(0x149)]=(_0x3047c5[0x1]&0x80)===0x80,this[_0xcfaa22(0x273)]){if(!this[_0xcfaa22(0x149)]){const _0x1171f4=this[_0xcfaa22(0xfc)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0xcfaa22(0x172));_0x1679f8(_0x1171f4);return;}}else{if(this[_0xcfaa22(0x149)]){const _0x469495=this['createError'](RangeError,_0xcfaa22(0x1e9),!0x0,0x3ea,_0xcfaa22(0x18a));_0x1679f8(_0x469495);return;}}this['_payloadLength']===0x7e?this[_0xcfaa22(0x160)]=_0x2c1834:this[_0xcfaa22(0x232)]===0x7f?this[_0xcfaa22(0x160)]=_0x17ca80:this[_0xcfaa22(0x151)](_0x1679f8);}['getPayloadLength16'](_0x2d3b4d){const _0x3e41f3=_0x339b6b;if(this[_0x3e41f3(0x1b9)]<0x2){this[_0x3e41f3(0x16f)]=!0x1;return;}this[_0x3e41f3(0x232)]=this[_0x3e41f3(0x2bd)](0x2)[_0x3e41f3(0x18d)](0x0),this[_0x3e41f3(0x151)](_0x2d3b4d);}[_0x339b6b(0x271)](_0xf2aac6){const _0x101e37=_0x339b6b;if(this[_0x101e37(0x1b9)]<0x8){this[_0x101e37(0x16f)]=!0x1;return;}const _0x329967=this[_0x101e37(0x2bd)](0x8),_0x24c784=_0x329967[_0x101e37(0x1eb)](0x0);if(_0x24c784>Math[_0x101e37(0x275)](0x2,0x15)-0x1){const _0x4fc9ee=this[_0x101e37(0xfc)](RangeError,_0x101e37(0x12e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0xf2aac6(_0x4fc9ee);return;}this[_0x101e37(0x232)]=_0x24c784*Math['pow'](0x2,0x20)+_0x329967[_0x101e37(0x1eb)](0x4),this['haveLength'](_0xf2aac6);}[_0x339b6b(0x151)](_0x4e8ee7){const _0x3392cf=_0x339b6b;if(this[_0x3392cf(0x232)]&&this[_0x3392cf(0x14c)]<0x8&&(this['_totalPayloadLength']+=this[_0x3392cf(0x232)],this[_0x3392cf(0x241)]>this[_0x3392cf(0x1ca)]&&this[_0x3392cf(0x1ca)]>0x0)){const _0x1819d4=this[_0x3392cf(0xfc)](RangeError,_0x3392cf(0x297),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4e8ee7(_0x1819d4);return;}this[_0x3392cf(0x149)]?this[_0x3392cf(0x160)]=_0x2cf583:this[_0x3392cf(0x160)]=_0x211191;}[_0x339b6b(0x1fc)](){const _0x5804dc=_0x339b6b;if(this[_0x5804dc(0x1b9)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x5804dc(0x2bd)](0x4),this[_0x5804dc(0x160)]=_0x211191;}[_0x339b6b(0x168)](_0x1dd3be){const _0x29199f=_0x339b6b;let _0x486059=_0x4c7499;if(this['_payloadLength']){if(this[_0x29199f(0x1b9)]<this[_0x29199f(0x232)]){this[_0x29199f(0x16f)]=!0x1;return;}_0x486059=this[_0x29199f(0x2bd)](this[_0x29199f(0x232)]),this[_0x29199f(0x149)]&&(this[_0x29199f(0x245)][0x0]|this[_0x29199f(0x245)][0x1]|this[_0x29199f(0x245)][0x2]|this[_0x29199f(0x245)][0x3])!==0x0&&_0x240ef8(_0x486059,this['_mask']);}if(this[_0x29199f(0x14c)]>0x7){this[_0x29199f(0x231)](_0x486059,_0x1dd3be);return;}if(this[_0x29199f(0x224)]){this[_0x29199f(0x160)]=_0x5bfa9a,this[_0x29199f(0x127)](_0x486059,_0x1dd3be);return;}_0x486059['length']&&(this['_messageLength']=this[_0x29199f(0x241)],this[_0x29199f(0x255)]['push'](_0x486059)),this[_0x29199f(0x2a6)](_0x1dd3be);}[_0x339b6b(0x127)](_0x434ee6,_0x4cda1d){const _0x448434=_0x339b6b;this[_0x448434(0x2ca)][_0x1fbc93['extensionName']]['decompress'](_0x434ee6,this[_0x448434(0x236)],(_0x28de7f,_0x5befe7)=>{const _0x33114c=_0x448434;if(_0x28de7f)return _0x4cda1d(_0x28de7f);if(_0x5befe7['length']){if(this['_messageLength']+=_0x5befe7['length'],this[_0x33114c(0x262)]>this[_0x33114c(0x1ca)]&&this[_0x33114c(0x1ca)]>0x0){const _0x3a52ce=this[_0x33114c(0xfc)](RangeError,_0x33114c(0x297),!0x1,0x3f1,_0x33114c(0x189));_0x4cda1d(_0x3a52ce);return;}this[_0x33114c(0x255)][_0x33114c(0x246)](_0x5befe7);}this[_0x33114c(0x2a6)](_0x4cda1d),this['_state']===_0x45b38c&&this[_0x33114c(0x1a7)](_0x4cda1d);});}[_0x339b6b(0x2a6)](_0x17112b){const _0x2bb73f=_0x339b6b;if(!this[_0x2bb73f(0x236)]){this[_0x2bb73f(0x160)]=_0x45b38c;return;}const _0x46bfd8=this[_0x2bb73f(0x262)],_0x685bbc=this[_0x2bb73f(0x255)];if(this['_totalPayloadLength']=0x0,this[_0x2bb73f(0x262)]=0x0,this['_fragmented']=0x0,this[_0x2bb73f(0x255)]=[],this[_0x2bb73f(0x14c)]===0x2){let _0x4d337c;this[_0x2bb73f(0x1c4)]===_0x2bb73f(0x13d)?_0x4d337c=_0x50f51b(_0x685bbc,_0x46bfd8):this['_binaryType']===_0x2bb73f(0x2b0)?_0x4d337c=_0x3a9e70(_0x50f51b(_0x685bbc,_0x46bfd8)):this['_binaryType']==='blob'?_0x4d337c=new Blob(_0x685bbc):_0x4d337c=_0x685bbc,this[_0x2bb73f(0x26c)]?(this[_0x2bb73f(0x10d)](_0x2bb73f(0x177),_0x4d337c,!0x0),this['_state']=_0x45b38c):(this[_0x2bb73f(0x160)]=_0x28c299,setImmediate(()=>{const _0xb7e04c=_0x2bb73f;this[_0xb7e04c(0x10d)](_0xb7e04c(0x177),_0x4d337c,!0x0),this[_0xb7e04c(0x160)]=_0x45b38c,this[_0xb7e04c(0x1a7)](_0x17112b);}));}else{const _0x5280ae=_0x50f51b(_0x685bbc,_0x46bfd8);if(!this[_0x2bb73f(0x157)]&&!_0x4ed708(_0x5280ae)){const _0x2bfcde=this[_0x2bb73f(0xfc)](Error,_0x2bb73f(0x119),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x17112b(_0x2bfcde);return;}this['_state']===_0x5bfa9a||this['_allowSynchronousEvents']?(this[_0x2bb73f(0x10d)](_0x2bb73f(0x177),_0x5280ae,!0x1),this[_0x2bb73f(0x160)]=_0x45b38c):(this[_0x2bb73f(0x160)]=_0x28c299,setImmediate(()=>{const _0x4c345b=_0x2bb73f;this[_0x4c345b(0x10d)](_0x4c345b(0x177),_0x5280ae,!0x1),this['_state']=_0x45b38c,this['startLoop'](_0x17112b);}));}}[_0x339b6b(0x231)](_0x4f82ba,_0x53b000){const _0x524e55=_0x339b6b;if(this['_opcode']===0x8){if(_0x4f82ba['length']===0x0)this[_0x524e55(0x16f)]=!0x1,this[_0x524e55(0x10d)](_0x524e55(0x1ec),0x3ed,_0x4c7499),this['end']();else{const _0x207d55=_0x4f82ba[_0x524e55(0x18d)](0x0);if(!_0x1d2d28(_0x207d55)){const _0x226b41=this[_0x524e55(0xfc)](RangeError,_0x524e55(0x222)+_0x207d55,!0x0,0x3ea,_0x524e55(0x204));_0x53b000(_0x226b41);return;}const _0x5c8186=new _0x4de624(_0x4f82ba[_0x524e55(0x259)],_0x4f82ba['byteOffset']+0x2,_0x4f82ba[_0x524e55(0x240)]-0x2);if(!this[_0x524e55(0x157)]&&!_0x4ed708(_0x5c8186)){const _0x2bd084=this[_0x524e55(0xfc)](Error,_0x524e55(0x119),!0x0,0x3ef,_0x524e55(0x1f0));_0x53b000(_0x2bd084);return;}this[_0x524e55(0x16f)]=!0x1,this[_0x524e55(0x10d)](_0x524e55(0x1ec),_0x207d55,_0x5c8186),this[_0x524e55(0x238)]();}this[_0x524e55(0x160)]=_0x45b38c;return;}this[_0x524e55(0x26c)]?(this['emit'](this[_0x524e55(0x14c)]===0x9?_0x524e55(0x223):'pong',_0x4f82ba),this['_state']=_0x45b38c):(this[_0x524e55(0x160)]=_0x28c299,setImmediate(()=>{const _0x53a2a5=_0x524e55;this[_0x53a2a5(0x10d)](this['_opcode']===0x9?'ping':'pong',_0x4f82ba),this['_state']=_0x45b38c,this[_0x53a2a5(0x1a7)](_0x53b000);}));}[_0x339b6b(0xfc)](_0x89983f,_0x200eff,_0x1cc4f9,_0x145d0d,_0x2ee8c1){const _0x54dbe3=_0x339b6b;this['_loop']=!0x1,this[_0x54dbe3(0x16d)]=!0x0;const _0x3ba41f=new _0x89983f(_0x1cc4f9?_0x54dbe3(0x249)+_0x200eff:_0x200eff);return Error[_0x54dbe3(0x2b5)](_0x3ba41f,this[_0x54dbe3(0xfc)]),_0x3ba41f[_0x54dbe3(0x178)]=_0x2ee8c1,_0x3ba41f[_0x3d6f13]=_0x145d0d,_0x3ba41f;}}return Se=_0x5321e9,Se;}var Ee,Xe;function ft(){const _0x5d673d=_0x55294d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x50d255}=oe,{randomFillSync:_0x4c235e}=Le,_0x233c1a=he(),{EMPTY_BUFFER:_0x5340b3,kWebSocket:_0x5a6812,NOOP:_0x2d6b13}=H(),{isBlob:_0x10287c,isValidStatusCode:_0xb61d34}=ae(),{mask:_0x3ba8c1,toBuffer:_0x487c2a}=ce(),_0x3d97cb=Symbol(_0x5d673d(0x253)),_0x18649c=Buffer[_0x5d673d(0x2c2)](0x4),_0x20c325=0x8*0x400;let _0x27847a,_0x3c246d=_0x20c325;const _0x4c89bd=0x0,_0x2dcf3b=0x1,_0x2124b2=0x2;class _0x137522{constructor(_0x17db43,_0x5f1e80,_0x39067d){const _0x54d4ec=_0x5d673d;this[_0x54d4ec(0x2ca)]=_0x5f1e80||{},_0x39067d&&(this['_generateMask']=_0x39067d,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x54d4ec(0x18b)]=_0x17db43,this[_0x54d4ec(0x17e)]=!0x0,this['_compress']=!0x1,this[_0x54d4ec(0x1b9)]=0x0,this[_0x54d4ec(0x14b)]=[],this[_0x54d4ec(0x160)]=_0x4c89bd,this['onerror']=_0x2d6b13,this[_0x5a6812]=void 0x0;}static['frame'](_0x57ee80,_0x46d7a9){const _0x4339e3=_0x5d673d;let _0x1dcea4,_0x3498e0=!0x1,_0x525079=0x2,_0xdabe72=!0x1;_0x46d7a9[_0x4339e3(0x1b1)]&&(_0x1dcea4=_0x46d7a9['maskBuffer']||_0x18649c,_0x46d7a9['generateMask']?_0x46d7a9[_0x4339e3(0x17f)](_0x1dcea4):(_0x3c246d===_0x20c325&&(_0x27847a===void 0x0&&(_0x27847a=Buffer[_0x4339e3(0x2c2)](_0x20c325)),_0x4c235e(_0x27847a,0x0,_0x20c325),_0x3c246d=0x0),_0x1dcea4[0x0]=_0x27847a[_0x3c246d++],_0x1dcea4[0x1]=_0x27847a[_0x3c246d++],_0x1dcea4[0x2]=_0x27847a[_0x3c246d++],_0x1dcea4[0x3]=_0x27847a[_0x3c246d++]),_0xdabe72=(_0x1dcea4[0x0]|_0x1dcea4[0x1]|_0x1dcea4[0x2]|_0x1dcea4[0x3])===0x0,_0x525079=0x6);let _0x59074a;typeof _0x57ee80=='string'?(!_0x46d7a9[_0x4339e3(0x1b1)]||_0xdabe72)&&_0x46d7a9[_0x3d97cb]!==void 0x0?_0x59074a=_0x46d7a9[_0x3d97cb]:(_0x57ee80=Buffer[_0x4339e3(0x169)](_0x57ee80),_0x59074a=_0x57ee80['length']):(_0x59074a=_0x57ee80[_0x4339e3(0x240)],_0x3498e0=_0x46d7a9[_0x4339e3(0x1b1)]&&_0x46d7a9[_0x4339e3(0x185)]&&!_0xdabe72);let _0x118124=_0x59074a;_0x59074a>=0x10000?(_0x525079+=0x8,_0x118124=0x7f):_0x59074a>0x7d&&(_0x525079+=0x2,_0x118124=0x7e);const _0x5c92fd=Buffer[_0x4339e3(0x18f)](_0x3498e0?_0x59074a+_0x525079:_0x525079);return _0x5c92fd[0x0]=_0x46d7a9[_0x4339e3(0x27e)]?_0x46d7a9['opcode']|0x80:_0x46d7a9[_0x4339e3(0x27c)],_0x46d7a9[_0x4339e3(0x1a1)]&&(_0x5c92fd[0x0]|=0x40),_0x5c92fd[0x1]=_0x118124,_0x118124===0x7e?_0x5c92fd[_0x4339e3(0x147)](_0x59074a,0x2):_0x118124===0x7f&&(_0x5c92fd[0x2]=_0x5c92fd[0x3]=0x0,_0x5c92fd[_0x4339e3(0x2c1)](_0x59074a,0x4,0x6)),_0x46d7a9[_0x4339e3(0x1b1)]?(_0x5c92fd[0x1]|=0x80,_0x5c92fd[_0x525079-0x4]=_0x1dcea4[0x0],_0x5c92fd[_0x525079-0x3]=_0x1dcea4[0x1],_0x5c92fd[_0x525079-0x2]=_0x1dcea4[0x2],_0x5c92fd[_0x525079-0x1]=_0x1dcea4[0x3],_0xdabe72?[_0x5c92fd,_0x57ee80]:_0x3498e0?(_0x3ba8c1(_0x57ee80,_0x1dcea4,_0x5c92fd,_0x525079,_0x59074a),[_0x5c92fd]):(_0x3ba8c1(_0x57ee80,_0x1dcea4,_0x57ee80,0x0,_0x59074a),[_0x5c92fd,_0x57ee80])):[_0x5c92fd,_0x57ee80];}['close'](_0x5eef1a,_0x5dae8e,_0x2a42cb,_0x3beecd){const _0x4df9b1=_0x5d673d;let _0x493e24;if(_0x5eef1a===void 0x0)_0x493e24=_0x5340b3;else{if(typeof _0x5eef1a!=_0x4df9b1(0x291)||!_0xb61d34(_0x5eef1a))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5dae8e===void 0x0||!_0x5dae8e[_0x4df9b1(0x240)])_0x493e24=Buffer[_0x4df9b1(0x18f)](0x2),_0x493e24['writeUInt16BE'](_0x5eef1a,0x0);else{const _0x2542a6=Buffer[_0x4df9b1(0x1a5)](_0x5dae8e);if(_0x2542a6>0x7b)throw new RangeError(_0x4df9b1(0x202));_0x493e24=Buffer['allocUnsafe'](0x2+_0x2542a6),_0x493e24[_0x4df9b1(0x147)](_0x5eef1a,0x0),typeof _0x5dae8e==_0x4df9b1(0x2bb)?_0x493e24[_0x4df9b1(0x254)](_0x5dae8e,0x2):_0x493e24[_0x4df9b1(0x1f7)](_0x5dae8e,0x2);}}const _0x31d86b={[_0x3d97cb]:_0x493e24[_0x4df9b1(0x240)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2a42cb,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x4c89bd?this['enqueue']([this['dispatch'],_0x493e24,!0x1,_0x31d86b,_0x3beecd]):this[_0x4df9b1(0x27f)](_0x137522[_0x4df9b1(0x116)](_0x493e24,_0x31d86b),_0x3beecd);}[_0x5d673d(0x223)](_0x4c3f19,_0x403fdb,_0x5356e1){const _0x1ba3fd=_0x5d673d;let _0x31abaf,_0x63d3ae;if(typeof _0x4c3f19==_0x1ba3fd(0x2bb)?(_0x31abaf=Buffer['byteLength'](_0x4c3f19),_0x63d3ae=!0x1):_0x10287c(_0x4c3f19)?(_0x31abaf=_0x4c3f19[_0x1ba3fd(0x1dd)],_0x63d3ae=!0x1):(_0x4c3f19=_0x487c2a(_0x4c3f19),_0x31abaf=_0x4c3f19[_0x1ba3fd(0x240)],_0x63d3ae=_0x487c2a['readOnly']),_0x31abaf>0x7d)throw new RangeError(_0x1ba3fd(0x13b));const _0x70795e={[_0x3d97cb]:_0x31abaf,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x403fdb,'maskBuffer':this[_0x1ba3fd(0x174)],'opcode':0x9,'readOnly':_0x63d3ae,'rsv1':!0x1};_0x10287c(_0x4c3f19)?this['_state']!==_0x4c89bd?this[_0x1ba3fd(0x1ab)]([this[_0x1ba3fd(0x211)],_0x4c3f19,!0x1,_0x70795e,_0x5356e1]):this[_0x1ba3fd(0x211)](_0x4c3f19,!0x1,_0x70795e,_0x5356e1):this['_state']!==_0x4c89bd?this[_0x1ba3fd(0x1ab)]([this['dispatch'],_0x4c3f19,!0x1,_0x70795e,_0x5356e1]):this[_0x1ba3fd(0x27f)](_0x137522[_0x1ba3fd(0x116)](_0x4c3f19,_0x70795e),_0x5356e1);}[_0x5d673d(0x19c)](_0x43985f,_0x4e452e,_0x5bd149){const _0x5dbc44=_0x5d673d;let _0x3d041b,_0x4f0ff7;if(typeof _0x43985f==_0x5dbc44(0x2bb)?(_0x3d041b=Buffer[_0x5dbc44(0x1a5)](_0x43985f),_0x4f0ff7=!0x1):_0x10287c(_0x43985f)?(_0x3d041b=_0x43985f[_0x5dbc44(0x1dd)],_0x4f0ff7=!0x1):(_0x43985f=_0x487c2a(_0x43985f),_0x3d041b=_0x43985f['length'],_0x4f0ff7=_0x487c2a[_0x5dbc44(0x185)]),_0x3d041b>0x7d)throw new RangeError(_0x5dbc44(0x13b));const _0x451281={[_0x3d97cb]:_0x3d041b,'fin':!0x0,'generateMask':this[_0x5dbc44(0x2a1)],'mask':_0x4e452e,'maskBuffer':this[_0x5dbc44(0x174)],'opcode':0xa,'readOnly':_0x4f0ff7,'rsv1':!0x1};_0x10287c(_0x43985f)?this['_state']!==_0x4c89bd?this[_0x5dbc44(0x1ab)]([this[_0x5dbc44(0x211)],_0x43985f,!0x1,_0x451281,_0x5bd149]):this['getBlobData'](_0x43985f,!0x1,_0x451281,_0x5bd149):this[_0x5dbc44(0x160)]!==_0x4c89bd?this[_0x5dbc44(0x1ab)]([this['dispatch'],_0x43985f,!0x1,_0x451281,_0x5bd149]):this['sendFrame'](_0x137522[_0x5dbc44(0x116)](_0x43985f,_0x451281),_0x5bd149);}[_0x5d673d(0x1ed)](_0x5d2cc3,_0x5f44cd,_0x2f46d8){const _0x4b664e=_0x5d673d,_0x4a5eb9=this[_0x4b664e(0x2ca)][_0x233c1a['extensionName']];let _0x24fab0=_0x5f44cd[_0x4b664e(0x196)]?0x2:0x1,_0x13ca37=_0x5f44cd[_0x4b664e(0x1bc)],_0x1ae626,_0x249c99;typeof _0x5d2cc3==_0x4b664e(0x2bb)?(_0x1ae626=Buffer['byteLength'](_0x5d2cc3),_0x249c99=!0x1):_0x10287c(_0x5d2cc3)?(_0x1ae626=_0x5d2cc3[_0x4b664e(0x1dd)],_0x249c99=!0x1):(_0x5d2cc3=_0x487c2a(_0x5d2cc3),_0x1ae626=_0x5d2cc3[_0x4b664e(0x240)],_0x249c99=_0x487c2a['readOnly']),this[_0x4b664e(0x17e)]?(this['_firstFragment']=!0x1,_0x13ca37&&_0x4a5eb9&&_0x4a5eb9[_0x4b664e(0x1e0)][_0x4a5eb9['_isServer']?_0x4b664e(0x1b6):_0x4b664e(0x17c)]&&(_0x13ca37=_0x1ae626>=_0x4a5eb9['_threshold']),this['_compress']=_0x13ca37):(_0x13ca37=!0x1,_0x24fab0=0x0),_0x5f44cd['fin']&&(this[_0x4b664e(0x17e)]=!0x0);const _0x3f5428={[_0x3d97cb]:_0x1ae626,'fin':_0x5f44cd[_0x4b664e(0x27e)],'generateMask':this[_0x4b664e(0x2a1)],'mask':_0x5f44cd['mask'],'maskBuffer':this[_0x4b664e(0x174)],'opcode':_0x24fab0,'readOnly':_0x249c99,'rsv1':_0x13ca37};_0x10287c(_0x5d2cc3)?this[_0x4b664e(0x160)]!==_0x4c89bd?this[_0x4b664e(0x1ab)]([this[_0x4b664e(0x211)],_0x5d2cc3,this['_compress'],_0x3f5428,_0x2f46d8]):this[_0x4b664e(0x211)](_0x5d2cc3,this[_0x4b664e(0x1b2)],_0x3f5428,_0x2f46d8):this[_0x4b664e(0x160)]!==_0x4c89bd?this[_0x4b664e(0x1ab)]([this[_0x4b664e(0x122)],_0x5d2cc3,this[_0x4b664e(0x1b2)],_0x3f5428,_0x2f46d8]):this[_0x4b664e(0x122)](_0x5d2cc3,this['_compress'],_0x3f5428,_0x2f46d8);}['getBlobData'](_0xd5a72f,_0x316b1e,_0x1b0d5b,_0xd450ad){const _0x15f2b7=_0x5d673d;this[_0x15f2b7(0x1b9)]+=_0x1b0d5b[_0x3d97cb],this[_0x15f2b7(0x160)]=_0x2124b2,_0xd5a72f[_0x15f2b7(0x25c)]()[_0x15f2b7(0x25f)](_0x409d07=>{const _0x8194c4=_0x15f2b7;if(this['_socket'][_0x8194c4(0x194)]){const _0x51acd9=new Error(_0x8194c4(0x13f));process['nextTick'](_0x45648c,this,_0x51acd9,_0xd450ad);return;}this[_0x8194c4(0x1b9)]-=_0x1b0d5b[_0x3d97cb];const _0x1f5372=_0x487c2a(_0x409d07);_0x316b1e?this['dispatch'](_0x1f5372,_0x316b1e,_0x1b0d5b,_0xd450ad):(this[_0x8194c4(0x160)]=_0x4c89bd,this[_0x8194c4(0x27f)](_0x137522[_0x8194c4(0x116)](_0x1f5372,_0x1b0d5b),_0xd450ad),this[_0x8194c4(0x2be)]());})[_0x15f2b7(0x285)](_0x588b39=>{const _0x41d9df=_0x15f2b7;process[_0x41d9df(0x28f)](_0x28a079,this,_0x588b39,_0xd450ad);});}['dispatch'](_0x3a520b,_0x23acf2,_0x1cb3a8,_0x359af0){const _0x1e419a=_0x5d673d;if(!_0x23acf2){this['sendFrame'](_0x137522['frame'](_0x3a520b,_0x1cb3a8),_0x359af0);return;}const _0x1a2b6b=this[_0x1e419a(0x2ca)][_0x233c1a[_0x1e419a(0x130)]];this[_0x1e419a(0x1b9)]+=_0x1cb3a8[_0x3d97cb],this[_0x1e419a(0x160)]=_0x2dcf3b,_0x1a2b6b['compress'](_0x3a520b,_0x1cb3a8[_0x1e419a(0x27e)],(_0x409514,_0x1c8d68)=>{const _0x5e04cd=_0x1e419a;if(this[_0x5e04cd(0x18b)][_0x5e04cd(0x194)]){const _0x1f192a=new Error(_0x5e04cd(0x12a));_0x45648c(this,_0x1f192a,_0x359af0);return;}this[_0x5e04cd(0x1b9)]-=_0x1cb3a8[_0x3d97cb],this[_0x5e04cd(0x160)]=_0x4c89bd,_0x1cb3a8[_0x5e04cd(0x185)]=!0x1,this[_0x5e04cd(0x27f)](_0x137522['frame'](_0x1c8d68,_0x1cb3a8),_0x359af0),this[_0x5e04cd(0x2be)]();});}[_0x5d673d(0x2be)](){const _0x2a85b5=_0x5d673d;for(;this[_0x2a85b5(0x160)]===_0x4c89bd&&this['_queue'][_0x2a85b5(0x240)];){const _0x5a7d84=this[_0x2a85b5(0x14b)]['shift']();this[_0x2a85b5(0x1b9)]-=_0x5a7d84[0x3][_0x3d97cb],Reflect['apply'](_0x5a7d84[0x0],this,_0x5a7d84[_0x2a85b5(0x2b7)](0x1));}}[_0x5d673d(0x1ab)](_0xaa1ef7){const _0x495605=_0x5d673d;this[_0x495605(0x1b9)]+=_0xaa1ef7[0x3][_0x3d97cb],this['_queue'][_0x495605(0x246)](_0xaa1ef7);}[_0x5d673d(0x27f)](_0x407d51,_0x54e414){const _0x54ce39=_0x5d673d;_0x407d51[_0x54ce39(0x240)]===0x2?(this[_0x54ce39(0x18b)][_0x54ce39(0x110)](),this[_0x54ce39(0x18b)][_0x54ce39(0x254)](_0x407d51[0x0]),this[_0x54ce39(0x18b)][_0x54ce39(0x254)](_0x407d51[0x1],_0x54e414),this[_0x54ce39(0x18b)][_0x54ce39(0x1d4)]()):this['_socket'][_0x54ce39(0x254)](_0x407d51[0x0],_0x54e414);}}Ee=_0x137522;function _0x45648c(_0x22f746,_0x5b35db,_0x4c8251){const _0x525131=_0x5d673d;typeof _0x4c8251==_0x525131(0x195)&&_0x4c8251(_0x5b35db);for(let _0x2ba802=0x0;_0x2ba802<_0x22f746[_0x525131(0x14b)][_0x525131(0x240)];_0x2ba802++){const _0x2ef152=_0x22f746['_queue'][_0x2ba802],_0x56a33f=_0x2ef152[_0x2ef152[_0x525131(0x240)]-0x1];typeof _0x56a33f==_0x525131(0x195)&&_0x56a33f(_0x5b35db);}}function _0x28a079(_0x356dc1,_0x11b9e0,_0x3f6fb4){const _0x2ce29d=_0x5d673d;_0x45648c(_0x356dc1,_0x11b9e0,_0x3f6fb4),_0x356dc1[_0x2ce29d(0x28b)](_0x11b9e0);}return Ee;}var xe,Ze;function It(){const _0x3036fe=_0x55294d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x23eebe,kListener:_0x328996}=H(),_0x5de833=Symbol(_0x3036fe(0x234)),_0xbbb0ec=Symbol(_0x3036fe(0x25b)),_0x550620=Symbol('kError'),_0x414932=Symbol(_0x3036fe(0xfd)),_0x5cc095=Symbol(_0x3036fe(0x2ab)),_0x26e4b9=Symbol(_0x3036fe(0x1f2)),_0x4a1ec6=Symbol(_0x3036fe(0x139)),_0x2ca17f=Symbol('kWasClean');class _0x19000e{constructor(_0x460b15){this[_0x26e4b9]=null,this[_0x4a1ec6]=_0x460b15;}get[_0x3036fe(0x106)](){return this[_0x26e4b9];}get['type'](){return this[_0x4a1ec6];}}Object[_0x3036fe(0x1c0)](_0x19000e['prototype'],_0x3036fe(0x106),{'enumerable':!0x0}),Object[_0x3036fe(0x1c0)](_0x19000e[_0x3036fe(0x187)],_0x3036fe(0x21f),{'enumerable':!0x0});class _0x3ba830 extends _0x19000e{constructor(_0x1e5198,_0x185787={}){const _0xb0a256=_0x3036fe;super(_0x1e5198),this[_0x5de833]=_0x185787[_0xb0a256(0x178)]===void 0x0?0x0:_0x185787[_0xb0a256(0x178)],this[_0x5cc095]=_0x185787[_0xb0a256(0x1fe)]===void 0x0?'':_0x185787[_0xb0a256(0x1fe)],this[_0x2ca17f]=_0x185787[_0xb0a256(0x1bd)]===void 0x0?!0x1:_0x185787[_0xb0a256(0x1bd)];}get[_0x3036fe(0x178)](){return this[_0x5de833];}get[_0x3036fe(0x1fe)](){return this[_0x5cc095];}get[_0x3036fe(0x1bd)](){return this[_0x2ca17f];}}Object[_0x3036fe(0x1c0)](_0x3ba830[_0x3036fe(0x187)],_0x3036fe(0x178),{'enumerable':!0x0}),Object[_0x3036fe(0x1c0)](_0x3ba830['prototype'],'reason',{'enumerable':!0x0}),Object[_0x3036fe(0x1c0)](_0x3ba830[_0x3036fe(0x187)],'wasClean',{'enumerable':!0x0});class _0x243d31 extends _0x19000e{constructor(_0x30588b,_0x14f3a3={}){const _0x5db0dc=_0x3036fe;super(_0x30588b),this[_0x550620]=_0x14f3a3['error']===void 0x0?null:_0x14f3a3['error'],this[_0x414932]=_0x14f3a3[_0x5db0dc(0x177)]===void 0x0?'':_0x14f3a3[_0x5db0dc(0x177)];}get[_0x3036fe(0x25d)](){return this[_0x550620];}get['message'](){return this[_0x414932];}}Object['defineProperty'](_0x243d31[_0x3036fe(0x187)],_0x3036fe(0x25d),{'enumerable':!0x0}),Object[_0x3036fe(0x1c0)](_0x243d31[_0x3036fe(0x187)],_0x3036fe(0x177),{'enumerable':!0x0});class _0x3b7f6 extends _0x19000e{constructor(_0x22b6d3,_0x3a143f={}){const _0x46222e=_0x3036fe;super(_0x22b6d3),this[_0xbbb0ec]=_0x3a143f['data']===void 0x0?null:_0x3a143f[_0x46222e(0x167)];}get[_0x3036fe(0x167)](){return this[_0xbbb0ec];}}Object[_0x3036fe(0x1c0)](_0x3b7f6[_0x3036fe(0x187)],_0x3036fe(0x167),{'enumerable':!0x0}),xe={'CloseEvent':_0x3ba830,'ErrorEvent':_0x243d31,'Event':_0x19000e,'EventTarget':{'addEventListener'(_0x342875,_0x4098e7,_0x23d960={}){const _0x16867b=_0x3036fe;for(const _0x5e9e34 of this['listeners'](_0x342875))if(!_0x23d960[_0x23eebe]&&_0x5e9e34[_0x328996]===_0x4098e7&&!_0x5e9e34[_0x23eebe])return;let _0x19a60b;if(_0x342875===_0x16867b(0x177))_0x19a60b=function(_0xd5c4e5,_0x5aac02){const _0x182faf=_0x16867b,_0x4dd21e=new _0x3b7f6('message',{'data':_0x5aac02?_0xd5c4e5:_0xd5c4e5[_0x182faf(0x24d)]()});_0x4dd21e[_0x26e4b9]=this,_0x3577fd(_0x4098e7,this,_0x4dd21e);};else{if(_0x342875===_0x16867b(0x23f))_0x19a60b=function(_0x348dcf,_0x294339){const _0x4ccb8b=_0x16867b,_0x40c1a4=new _0x3ba830(_0x4ccb8b(0x23f),{'code':_0x348dcf,'reason':_0x294339[_0x4ccb8b(0x24d)](),'wasClean':this[_0x4ccb8b(0x2a7)]&&this[_0x4ccb8b(0x1f5)]});_0x40c1a4[_0x26e4b9]=this,_0x3577fd(_0x4098e7,this,_0x40c1a4);};else{if(_0x342875===_0x16867b(0x25d))_0x19a60b=function(_0x37cbb7){const _0x43d264=_0x16867b,_0x4f2a49=new _0x243d31(_0x43d264(0x25d),{'error':_0x37cbb7,'message':_0x37cbb7[_0x43d264(0x177)]});_0x4f2a49[_0x26e4b9]=this,_0x3577fd(_0x4098e7,this,_0x4f2a49);};else{if(_0x342875===_0x16867b(0x145))_0x19a60b=function(){const _0x2f1c60=_0x16867b,_0x2a7d4d=new _0x19000e(_0x2f1c60(0x145));_0x2a7d4d[_0x26e4b9]=this,_0x3577fd(_0x4098e7,this,_0x2a7d4d);};else return;}}}_0x19a60b[_0x23eebe]=!!_0x23d960[_0x23eebe],_0x19a60b[_0x328996]=_0x4098e7,_0x23d960[_0x16867b(0x125)]?this[_0x16867b(0x125)](_0x342875,_0x19a60b):this['on'](_0x342875,_0x19a60b);},'removeEventListener'(_0x51e643,_0x1bbbb1){const _0x90c771=_0x3036fe;for(const _0x567d70 of this[_0x90c771(0x11c)](_0x51e643))if(_0x567d70[_0x328996]===_0x1bbbb1&&!_0x567d70[_0x23eebe]){this[_0x90c771(0x17d)](_0x51e643,_0x567d70);break;}}},'MessageEvent':_0x3b7f6};function _0x3577fd(_0x4e4846,_0x1a7ddc,_0xd18eec){const _0x1862a2=_0x3036fe;typeof _0x4e4846==_0x1862a2(0x244)&&_0x4e4846[_0x1862a2(0x1ad)]?_0x4e4846[_0x1862a2(0x1ad)][_0x1862a2(0x214)](_0x4e4846,_0xd18eec):_0x4e4846['call'](_0x1a7ddc,_0xd18eec);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x44dcff}=ae();function _0x569d48(_0x1c516c,_0x35a514,_0x2f4635){_0x1c516c[_0x35a514]===void 0x0?_0x1c516c[_0x35a514]=[_0x2f4635]:_0x1c516c[_0x35a514]['push'](_0x2f4635);}function _0x338c45(_0x3b37e5){const _0x55ba5f=_0x5268,_0x1eb624=Object['create'](null);let _0x103fa5=Object[_0x55ba5f(0x138)](null),_0x1099f8=!0x1,_0x56b747=!0x1,_0x5b9abc=!0x1,_0x53879b,_0x2ebc4d,_0x458180=-0x1,_0x427c2f=-0x1,_0x4fb7e3=-0x1,_0x257513=0x0;for(;_0x257513<_0x3b37e5[_0x55ba5f(0x240)];_0x257513++)if(_0x427c2f=_0x3b37e5[_0x55ba5f(0x20e)](_0x257513),_0x53879b===void 0x0){if(_0x4fb7e3===-0x1&&_0x44dcff[_0x427c2f]===0x1)_0x458180===-0x1&&(_0x458180=_0x257513);else{if(_0x257513!==0x0&&(_0x427c2f===0x20||_0x427c2f===0x9))_0x4fb7e3===-0x1&&_0x458180!==-0x1&&(_0x4fb7e3=_0x257513);else{if(_0x427c2f===0x3b||_0x427c2f===0x2c){if(_0x458180===-0x1)throw new SyntaxError(_0x55ba5f(0x1a9)+_0x257513);_0x4fb7e3===-0x1&&(_0x4fb7e3=_0x257513);const _0x315f6b=_0x3b37e5[_0x55ba5f(0x2b7)](_0x458180,_0x4fb7e3);_0x427c2f===0x2c?(_0x569d48(_0x1eb624,_0x315f6b,_0x103fa5),_0x103fa5=Object['create'](null)):_0x53879b=_0x315f6b,_0x458180=_0x4fb7e3=-0x1;}else throw new SyntaxError(_0x55ba5f(0x1a9)+_0x257513);}}}else{if(_0x2ebc4d===void 0x0){if(_0x4fb7e3===-0x1&&_0x44dcff[_0x427c2f]===0x1)_0x458180===-0x1&&(_0x458180=_0x257513);else{if(_0x427c2f===0x20||_0x427c2f===0x9)_0x4fb7e3===-0x1&&_0x458180!==-0x1&&(_0x4fb7e3=_0x257513);else{if(_0x427c2f===0x3b||_0x427c2f===0x2c){if(_0x458180===-0x1)throw new SyntaxError(_0x55ba5f(0x1a9)+_0x257513);_0x4fb7e3===-0x1&&(_0x4fb7e3=_0x257513),_0x569d48(_0x103fa5,_0x3b37e5[_0x55ba5f(0x2b7)](_0x458180,_0x4fb7e3),!0x0),_0x427c2f===0x2c&&(_0x569d48(_0x1eb624,_0x53879b,_0x103fa5),_0x103fa5=Object['create'](null),_0x53879b=void 0x0),_0x458180=_0x4fb7e3=-0x1;}else{if(_0x427c2f===0x3d&&_0x458180!==-0x1&&_0x4fb7e3===-0x1)_0x2ebc4d=_0x3b37e5[_0x55ba5f(0x2b7)](_0x458180,_0x257513),_0x458180=_0x4fb7e3=-0x1;else throw new SyntaxError(_0x55ba5f(0x1a9)+_0x257513);}}}}else{if(_0x56b747){if(_0x44dcff[_0x427c2f]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x257513);_0x458180===-0x1?_0x458180=_0x257513:_0x1099f8||(_0x1099f8=!0x0),_0x56b747=!0x1;}else{if(_0x5b9abc){if(_0x44dcff[_0x427c2f]===0x1)_0x458180===-0x1&&(_0x458180=_0x257513);else{if(_0x427c2f===0x22&&_0x458180!==-0x1)_0x5b9abc=!0x1,_0x4fb7e3=_0x257513;else{if(_0x427c2f===0x5c)_0x56b747=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x257513);}}}else{if(_0x427c2f===0x22&&_0x3b37e5[_0x55ba5f(0x20e)](_0x257513-0x1)===0x3d)_0x5b9abc=!0x0;else{if(_0x4fb7e3===-0x1&&_0x44dcff[_0x427c2f]===0x1)_0x458180===-0x1&&(_0x458180=_0x257513);else{if(_0x458180!==-0x1&&(_0x427c2f===0x20||_0x427c2f===0x9))_0x4fb7e3===-0x1&&(_0x4fb7e3=_0x257513);else{if(_0x427c2f===0x3b||_0x427c2f===0x2c){if(_0x458180===-0x1)throw new SyntaxError(_0x55ba5f(0x1a9)+_0x257513);_0x4fb7e3===-0x1&&(_0x4fb7e3=_0x257513);let _0x411bb9=_0x3b37e5[_0x55ba5f(0x2b7)](_0x458180,_0x4fb7e3);_0x1099f8&&(_0x411bb9=_0x411bb9[_0x55ba5f(0x29f)](/\\/g,''),_0x1099f8=!0x1),_0x569d48(_0x103fa5,_0x2ebc4d,_0x411bb9),_0x427c2f===0x2c&&(_0x569d48(_0x1eb624,_0x53879b,_0x103fa5),_0x103fa5=Object['create'](null),_0x53879b=void 0x0),_0x2ebc4d=void 0x0,_0x458180=_0x4fb7e3=-0x1;}else throw new SyntaxError(_0x55ba5f(0x1a9)+_0x257513);}}}}}}}if(_0x458180===-0x1||_0x5b9abc||_0x427c2f===0x20||_0x427c2f===0x9)throw new SyntaxError(_0x55ba5f(0x18c));_0x4fb7e3===-0x1&&(_0x4fb7e3=_0x257513);const _0x4eda04=_0x3b37e5[_0x55ba5f(0x2b7)](_0x458180,_0x4fb7e3);return _0x53879b===void 0x0?_0x569d48(_0x1eb624,_0x4eda04,_0x103fa5):(_0x2ebc4d===void 0x0?_0x569d48(_0x103fa5,_0x4eda04,!0x0):_0x1099f8?_0x569d48(_0x103fa5,_0x2ebc4d,_0x4eda04['replace'](/\\/g,'')):_0x569d48(_0x103fa5,_0x2ebc4d,_0x4eda04),_0x569d48(_0x1eb624,_0x53879b,_0x103fa5)),_0x1eb624;}function _0x595f7b(_0x4e8895){const _0xa8c6e9=_0x5268;return Object[_0xa8c6e9(0x16b)](_0x4e8895)['map'](_0x4cdbdc=>{const _0x5b7923=_0xa8c6e9;let _0x1703a7=_0x4e8895[_0x4cdbdc];return Array[_0x5b7923(0x1e4)](_0x1703a7)||(_0x1703a7=[_0x1703a7]),_0x1703a7[_0x5b7923(0x2b9)](_0x12bb99=>[_0x4cdbdc][_0x5b7923(0x24c)](Object['keys'](_0x12bb99)[_0x5b7923(0x2b9)](_0x381037=>{const _0x2246b5=_0x5b7923;let _0x4d50f1=_0x12bb99[_0x381037];return Array['isArray'](_0x4d50f1)||(_0x4d50f1=[_0x4d50f1]),_0x4d50f1['map'](_0x21dac5=>_0x21dac5===!0x0?_0x381037:_0x381037+'='+_0x21dac5)[_0x2246b5(0x265)](';\x20');}))[_0x5b7923(0x265)](';\x20'))[_0x5b7923(0x265)](',\x20');})[_0xa8c6e9(0x265)](',\x20');}return be={'format':_0x595f7b,'parse':_0x338c45},be;}var we,Je;function Pe(){const _0x46e9e5=_0x55294d;if(Je)return we;Je=0x1;const _0x268a48=nt,_0x4681ca=vt,_0x3a3a7f=ot,_0x17d71b=St,_0x386c68=Et,{randomBytes:_0x144829,createHash:_0x456b6e}=Le,{Duplex:_0x4fa288,Readable:_0x261a46}=oe,{URL:_0x243199}=xt,_0x5bec19=he(),_0x50ead6=lt(),_0x4fc2f9=ft(),{isBlob:_0x529e69}=ae(),{BINARY_TYPES:_0x3af057,EMPTY_BUFFER:_0x3e0e7c,GUID:_0x200335,kForOnEventAttribute:_0x4374b3,kListener:_0x590fde,kStatusCode:_0x3febdd,kWebSocket:_0x4545dc,NOOP:_0x116197}=H(),{EventTarget:{addEventListener:_0x3db343,removeEventListener:_0x5aa00b}}=It(),{format:_0x2b9d3f,parse:_0x443c0d}=ct(),{toBuffer:_0x162022}=ce(),_0x4394d4=0x1e*0x3e8,_0x3f8596=Symbol(_0x46e9e5(0x1d3)),_0x2ae211=[0x8,0xd],_0x1699c7=[_0x46e9e5(0x188),_0x46e9e5(0x1cd),_0x46e9e5(0x161),'CLOSED'],_0x38c8b1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4ecebc extends _0x268a48{constructor(_0x1e36dc,_0x4206db,_0x5e8e9a){const _0x515942=_0x46e9e5;super(),this[_0x515942(0x1c4)]=_0x3af057[0x0],this['_closeCode']=0x3ee,this[_0x515942(0x2a7)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x515942(0x28c)]=_0x3e0e7c,this[_0x515942(0x258)]=null,this[_0x515942(0x16e)]=!0x1,this[_0x515942(0x2ca)]={},this[_0x515942(0x100)]=!0x1,this['_protocol']='',this[_0x515942(0x24b)]=_0x4ecebc[_0x515942(0x188)],this[_0x515942(0x1cb)]=null,this['_sender']=null,this['_socket']=null,_0x1e36dc!==null?(this[_0x515942(0x22c)]=0x0,this[_0x515942(0x273)]=!0x1,this[_0x515942(0x1ac)]=0x0,_0x4206db===void 0x0?_0x4206db=[]:Array['isArray'](_0x4206db)||(typeof _0x4206db=='object'&&_0x4206db!==null?(_0x5e8e9a=_0x4206db,_0x4206db=[]):_0x4206db=[_0x4206db]),_0x3337d8(this,_0x1e36dc,_0x4206db,_0x5e8e9a)):(this[_0x515942(0x252)]=_0x5e8e9a[_0x515942(0x1aa)],this[_0x515942(0x273)]=!0x0);}get[_0x46e9e5(0x292)](){const _0x42fdea=_0x46e9e5;return this[_0x42fdea(0x1c4)];}set[_0x46e9e5(0x292)](_0x46671d){const _0x2bc6d4=_0x46e9e5;_0x3af057[_0x2bc6d4(0x1ff)](_0x46671d)&&(this['_binaryType']=_0x46671d,this[_0x2bc6d4(0x1cb)]&&(this['_receiver'][_0x2bc6d4(0x1c4)]=_0x46671d));}get[_0x46e9e5(0x134)](){const _0x297489=_0x46e9e5;return this[_0x297489(0x18b)]?this[_0x297489(0x18b)][_0x297489(0x2af)]['length']+this[_0x297489(0x1cc)][_0x297489(0x1b9)]:this['_bufferedAmount'];}get[_0x46e9e5(0xff)](){const _0x7322dd=_0x46e9e5;return Object[_0x7322dd(0x16b)](this[_0x7322dd(0x2ca)])['join']();}get[_0x46e9e5(0x2a4)](){const _0x43d906=_0x46e9e5;return this[_0x43d906(0x100)];}get[_0x46e9e5(0x1a0)](){return null;}get[_0x46e9e5(0x28b)](){return null;}get[_0x46e9e5(0x153)](){return null;}get[_0x46e9e5(0x21a)](){return null;}get[_0x46e9e5(0x1bb)](){const _0xa9925f=_0x46e9e5;return this[_0xa9925f(0x1e7)];}get[_0x46e9e5(0x250)](){const _0x458a2b=_0x46e9e5;return this[_0x458a2b(0x24b)];}get['url'](){const _0x1eca52=_0x46e9e5;return this[_0x1eca52(0xfb)];}[_0x46e9e5(0x21b)](_0x586ec2,_0x2cae2c,_0x1c78f2){const _0x1b46ed=_0x46e9e5,_0x49bb8f=new _0x50ead6({'allowSynchronousEvents':_0x1c78f2['allowSynchronousEvents'],'binaryType':this[_0x1b46ed(0x292)],'extensions':this[_0x1b46ed(0x2ca)],'isServer':this['_isServer'],'maxPayload':_0x1c78f2[_0x1b46ed(0x2ba)],'skipUTF8Validation':_0x1c78f2[_0x1b46ed(0x14e)]}),_0x466163=new _0x4fc2f9(_0x586ec2,this['_extensions'],_0x1c78f2[_0x1b46ed(0x17f)]);this[_0x1b46ed(0x1cb)]=_0x49bb8f,this[_0x1b46ed(0x1cc)]=_0x466163,this['_socket']=_0x586ec2,_0x49bb8f[_0x4545dc]=this,_0x466163[_0x4545dc]=this,_0x586ec2[_0x4545dc]=this,_0x49bb8f['on']('conclude',_0x4a7610),_0x49bb8f['on'](_0x1b46ed(0x20b),_0x4b2faf),_0x49bb8f['on']('error',_0x56c994),_0x49bb8f['on'](_0x1b46ed(0x177),_0x217080),_0x49bb8f['on'](_0x1b46ed(0x223),_0x24edb1),_0x49bb8f['on'](_0x1b46ed(0x19c),_0x3a5dd4),_0x466163['onerror']=_0x5cce01,_0x586ec2[_0x1b46ed(0x1f1)]&&_0x586ec2[_0x1b46ed(0x1f1)](0x0),_0x586ec2[_0x1b46ed(0x158)]&&_0x586ec2[_0x1b46ed(0x158)](),_0x2cae2c['length']>0x0&&_0x586ec2[_0x1b46ed(0x208)](_0x2cae2c),_0x586ec2['on']('close',_0x4ffcf9),_0x586ec2['on'](_0x1b46ed(0x167),_0x253a86),_0x586ec2['on']('end',_0x808e52),_0x586ec2['on']('error',_0x208a76),this[_0x1b46ed(0x24b)]=_0x4ecebc[_0x1b46ed(0x1cd)],this[_0x1b46ed(0x10d)](_0x1b46ed(0x145));}[_0x46e9e5(0x203)](){const _0x411ffc=_0x46e9e5;if(!this[_0x411ffc(0x18b)]){this['_readyState']=_0x4ecebc[_0x411ffc(0x198)],this[_0x411ffc(0x10d)](_0x411ffc(0x23f),this[_0x411ffc(0x1de)],this[_0x411ffc(0x28c)]);return;}this[_0x411ffc(0x2ca)][_0x5bec19[_0x411ffc(0x130)]]&&this[_0x411ffc(0x2ca)][_0x5bec19[_0x411ffc(0x130)]][_0x411ffc(0x293)](),this[_0x411ffc(0x1cb)][_0x411ffc(0x1fb)](),this[_0x411ffc(0x24b)]=_0x4ecebc[_0x411ffc(0x198)],this[_0x411ffc(0x10d)](_0x411ffc(0x23f),this[_0x411ffc(0x1de)],this[_0x411ffc(0x28c)]);}[_0x46e9e5(0x23f)](_0x1f62f0,_0x1b7bd6){const _0x6e1abd=_0x46e9e5;if(this[_0x6e1abd(0x250)]!==_0x4ecebc[_0x6e1abd(0x198)]){if(this['readyState']===_0x4ecebc[_0x6e1abd(0x188)]){_0x28be0a(this,this[_0x6e1abd(0x284)],_0x6e1abd(0x1e8));return;}if(this[_0x6e1abd(0x250)]===_0x4ecebc[_0x6e1abd(0x161)]){this[_0x6e1abd(0x1f5)]&&(this[_0x6e1abd(0x2a7)]||this['_receiver'][_0x6e1abd(0x2af)][_0x6e1abd(0x14f)])&&this['_socket'][_0x6e1abd(0x238)]();return;}this[_0x6e1abd(0x24b)]=_0x4ecebc['CLOSING'],this[_0x6e1abd(0x1cc)][_0x6e1abd(0x23f)](_0x1f62f0,_0x1b7bd6,!this['_isServer'],_0x34d983=>{const _0xaaab0b=_0x6e1abd;_0x34d983||(this[_0xaaab0b(0x1f5)]=!0x0,(this['_closeFrameReceived']||this[_0xaaab0b(0x1cb)]['_writableState'][_0xaaab0b(0x14f)])&&this[_0xaaab0b(0x18b)][_0xaaab0b(0x238)]());}),_0x285ace(this);}}[_0x46e9e5(0x10f)](){const _0x390977=_0x46e9e5;this[_0x390977(0x250)]===_0x4ecebc[_0x390977(0x188)]||this[_0x390977(0x250)]===_0x4ecebc[_0x390977(0x198)]||(this[_0x390977(0x100)]=!0x0,this[_0x390977(0x18b)][_0x390977(0x10f)]());}[_0x46e9e5(0x223)](_0x372cb5,_0x3cf1a2,_0x1dddd2){const _0x1d7908=_0x46e9e5;if(this['readyState']===_0x4ecebc[_0x1d7908(0x188)])throw new Error(_0x1d7908(0x27d));if(typeof _0x372cb5==_0x1d7908(0x195)?(_0x1dddd2=_0x372cb5,_0x372cb5=_0x3cf1a2=void 0x0):typeof _0x3cf1a2=='function'&&(_0x1dddd2=_0x3cf1a2,_0x3cf1a2=void 0x0),typeof _0x372cb5==_0x1d7908(0x291)&&(_0x372cb5=_0x372cb5[_0x1d7908(0x24d)]()),this[_0x1d7908(0x250)]!==_0x4ecebc[_0x1d7908(0x1cd)]){_0x372b18(this,_0x372cb5,_0x1dddd2);return;}_0x3cf1a2===void 0x0&&(_0x3cf1a2=!this[_0x1d7908(0x273)]),this['_sender'][_0x1d7908(0x223)](_0x372cb5||_0x3e0e7c,_0x3cf1a2,_0x1dddd2);}['pong'](_0x2962f,_0x299ba4,_0x1c0055){const _0x4da485=_0x46e9e5;if(this[_0x4da485(0x250)]===_0x4ecebc['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2962f==_0x4da485(0x195)?(_0x1c0055=_0x2962f,_0x2962f=_0x299ba4=void 0x0):typeof _0x299ba4==_0x4da485(0x195)&&(_0x1c0055=_0x299ba4,_0x299ba4=void 0x0),typeof _0x2962f==_0x4da485(0x291)&&(_0x2962f=_0x2962f[_0x4da485(0x24d)]()),this[_0x4da485(0x250)]!==_0x4ecebc['OPEN']){_0x372b18(this,_0x2962f,_0x1c0055);return;}_0x299ba4===void 0x0&&(_0x299ba4=!this[_0x4da485(0x273)]),this['_sender'][_0x4da485(0x19c)](_0x2962f||_0x3e0e7c,_0x299ba4,_0x1c0055);}[_0x46e9e5(0x227)](){const _0x3756c4=_0x46e9e5;this[_0x3756c4(0x250)]===_0x4ecebc[_0x3756c4(0x188)]||this[_0x3756c4(0x250)]===_0x4ecebc['CLOSED']||(this[_0x3756c4(0x100)]=!0x1,this[_0x3756c4(0x1cb)]['_writableState']['needDrain']||this['_socket'][_0x3756c4(0x227)]());}['send'](_0x318eb5,_0x21a309,_0x297a20){const _0x5dbd94=_0x46e9e5;if(this[_0x5dbd94(0x250)]===_0x4ecebc[_0x5dbd94(0x188)])throw new Error(_0x5dbd94(0x27d));if(typeof _0x21a309==_0x5dbd94(0x195)&&(_0x297a20=_0x21a309,_0x21a309={}),typeof _0x318eb5=='number'&&(_0x318eb5=_0x318eb5[_0x5dbd94(0x24d)]()),this['readyState']!==_0x4ecebc[_0x5dbd94(0x1cd)]){_0x372b18(this,_0x318eb5,_0x297a20);return;}const _0x453bdb={'binary':typeof _0x318eb5!=_0x5dbd94(0x2bb),'mask':!this[_0x5dbd94(0x273)],'compress':!0x0,'fin':!0x0,..._0x21a309};this[_0x5dbd94(0x2ca)][_0x5bec19[_0x5dbd94(0x130)]]||(_0x453bdb['compress']=!0x1),this[_0x5dbd94(0x1cc)]['send'](_0x318eb5||_0x3e0e7c,_0x453bdb,_0x297a20);}[_0x46e9e5(0x19b)](){const _0x3e943c=_0x46e9e5;if(this['readyState']!==_0x4ecebc[_0x3e943c(0x198)]){if(this[_0x3e943c(0x250)]===_0x4ecebc[_0x3e943c(0x188)]){_0x28be0a(this,this[_0x3e943c(0x284)],_0x3e943c(0x1e8));return;}this[_0x3e943c(0x18b)]&&(this[_0x3e943c(0x24b)]=_0x4ecebc[_0x3e943c(0x161)],this[_0x3e943c(0x18b)][_0x3e943c(0x1ce)]());}}}Object[_0x46e9e5(0x1c0)](_0x4ecebc,_0x46e9e5(0x188),{'enumerable':!0x0,'value':_0x1699c7['indexOf'](_0x46e9e5(0x188))}),Object['defineProperty'](_0x4ecebc[_0x46e9e5(0x187)],_0x46e9e5(0x188),{'enumerable':!0x0,'value':_0x1699c7[_0x46e9e5(0x237)](_0x46e9e5(0x188))}),Object[_0x46e9e5(0x1c0)](_0x4ecebc,_0x46e9e5(0x1cd),{'enumerable':!0x0,'value':_0x1699c7[_0x46e9e5(0x237)](_0x46e9e5(0x1cd))}),Object[_0x46e9e5(0x1c0)](_0x4ecebc[_0x46e9e5(0x187)],'OPEN',{'enumerable':!0x0,'value':_0x1699c7[_0x46e9e5(0x237)](_0x46e9e5(0x1cd))}),Object[_0x46e9e5(0x1c0)](_0x4ecebc,'CLOSING',{'enumerable':!0x0,'value':_0x1699c7['indexOf'](_0x46e9e5(0x161))}),Object[_0x46e9e5(0x1c0)](_0x4ecebc[_0x46e9e5(0x187)],_0x46e9e5(0x161),{'enumerable':!0x0,'value':_0x1699c7['indexOf'](_0x46e9e5(0x161))}),Object['defineProperty'](_0x4ecebc,_0x46e9e5(0x198),{'enumerable':!0x0,'value':_0x1699c7[_0x46e9e5(0x237)](_0x46e9e5(0x198))}),Object['defineProperty'](_0x4ecebc[_0x46e9e5(0x187)],'CLOSED',{'enumerable':!0x0,'value':_0x1699c7[_0x46e9e5(0x237)](_0x46e9e5(0x198))}),[_0x46e9e5(0x292),_0x46e9e5(0x134),'extensions',_0x46e9e5(0x2a4),_0x46e9e5(0x1bb),_0x46e9e5(0x250),'url']['forEach'](_0x5d8033=>{Object['defineProperty'](_0x4ecebc['prototype'],_0x5d8033,{'enumerable':!0x0});}),[_0x46e9e5(0x145),'error','close',_0x46e9e5(0x177)][_0x46e9e5(0x170)](_0x199811=>{const _0x220a3e=_0x46e9e5;Object[_0x220a3e(0x1c0)](_0x4ecebc[_0x220a3e(0x187)],'on'+_0x199811,{'enumerable':!0x0,'get'(){const _0x4afce1=_0x220a3e;for(const _0x8aa1e9 of this[_0x4afce1(0x11c)](_0x199811))if(_0x8aa1e9[_0x4374b3])return _0x8aa1e9[_0x590fde];return null;},'set'(_0x20c10c){const _0x5c4ee4=_0x220a3e;for(const _0x22e069 of this['listeners'](_0x199811))if(_0x22e069[_0x4374b3]){this[_0x5c4ee4(0x17d)](_0x199811,_0x22e069);break;}typeof _0x20c10c==_0x5c4ee4(0x195)&&this['addEventListener'](_0x199811,_0x20c10c,{[_0x4374b3]:!0x0});}});}),_0x4ecebc[_0x46e9e5(0x187)]['addEventListener']=_0x3db343,_0x4ecebc[_0x46e9e5(0x187)][_0x46e9e5(0x1e1)]=_0x5aa00b,we=_0x4ecebc;function _0x3337d8(_0x102f8d,_0x4a7e1f,_0x16a7bf,_0x259a8d){const _0x8e19c9=_0x46e9e5,_0x4fe35d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ae211[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x259a8d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x8e19c9(0x260),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x102f8d['_autoPong']=_0x4fe35d[_0x8e19c9(0x1aa)],!_0x2ae211['includes'](_0x4fe35d[_0x8e19c9(0x22a)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4fe35d['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x2ae211['join'](',\x20')+')');let _0x98f561;if(_0x4a7e1f instanceof _0x243199)_0x98f561=_0x4a7e1f;else try{_0x98f561=new _0x243199(_0x4a7e1f);}catch{throw new SyntaxError(_0x8e19c9(0x11b)+_0x4a7e1f);}_0x98f561[_0x8e19c9(0x1bb)]===_0x8e19c9(0x183)?_0x98f561[_0x8e19c9(0x1bb)]='ws:':_0x98f561[_0x8e19c9(0x1bb)]===_0x8e19c9(0x11e)&&(_0x98f561[_0x8e19c9(0x1bb)]=_0x8e19c9(0x1d5)),_0x102f8d[_0x8e19c9(0xfb)]=_0x98f561[_0x8e19c9(0x2aa)];const _0x549e20=_0x98f561['protocol']===_0x8e19c9(0x1d5),_0x127d0c=_0x98f561[_0x8e19c9(0x1bb)]===_0x8e19c9(0x1f4);let _0x536f17;if(_0x98f561['protocol']!==_0x8e19c9(0x215)&&!_0x549e20&&!_0x127d0c?_0x536f17=_0x8e19c9(0x1c2):_0x127d0c&&!_0x98f561[_0x8e19c9(0x108)]?_0x536f17=_0x8e19c9(0x140):_0x98f561[_0x8e19c9(0x17b)]&&(_0x536f17='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x536f17){const _0xc39e3f=new SyntaxError(_0x536f17);if(_0x102f8d[_0x8e19c9(0x1ac)]===0x0)throw _0xc39e3f;_0x32dab1(_0x102f8d,_0xc39e3f);return;}const _0x3d8bd8=_0x549e20?0x1bb:0x50,_0x1aa548=_0x144829(0x10)[_0x8e19c9(0x24d)](_0x8e19c9(0x2ac)),_0x577c58=_0x549e20?_0x4681ca[_0x8e19c9(0x1fa)]:_0x3a3a7f[_0x8e19c9(0x1fa)],_0x32666d=new Set();let _0x21ceb5;if(_0x4fe35d[_0x8e19c9(0x19d)]=_0x4fe35d[_0x8e19c9(0x19d)]||(_0x549e20?_0x3ba553:_0x38cb80),_0x4fe35d[_0x8e19c9(0x23e)]=_0x4fe35d[_0x8e19c9(0x23e)]||_0x3d8bd8,_0x4fe35d[_0x8e19c9(0x101)]=_0x98f561['port']||_0x3d8bd8,_0x4fe35d[_0x8e19c9(0x1c1)]=_0x98f561[_0x8e19c9(0x132)]['startsWith']('[')?_0x98f561['hostname'][_0x8e19c9(0x2b7)](0x1,-0x1):_0x98f561['hostname'],_0x4fe35d[_0x8e19c9(0x1d1)]={..._0x4fe35d['headers'],'Sec-WebSocket-Version':_0x4fe35d['protocolVersion'],'Sec-WebSocket-Key':_0x1aa548,'Connection':_0x8e19c9(0x137),'Upgrade':_0x8e19c9(0x16a)},_0x4fe35d[_0x8e19c9(0x1ef)]=_0x98f561['pathname']+_0x98f561[_0x8e19c9(0x15d)],_0x4fe35d[_0x8e19c9(0x1da)]=_0x4fe35d[_0x8e19c9(0x180)],_0x4fe35d['perMessageDeflate']&&(_0x21ceb5=new _0x5bec19(_0x4fe35d[_0x8e19c9(0x23a)]!==!0x0?_0x4fe35d[_0x8e19c9(0x23a)]:{},!0x1,_0x4fe35d[_0x8e19c9(0x2ba)]),_0x4fe35d[_0x8e19c9(0x1d1)][_0x8e19c9(0x186)]=_0x2b9d3f({[_0x5bec19[_0x8e19c9(0x130)]]:_0x21ceb5[_0x8e19c9(0x23d)]()})),_0x16a7bf[_0x8e19c9(0x240)]){for(const _0x4235bf of _0x16a7bf){if(typeof _0x4235bf!=_0x8e19c9(0x2bb)||!_0x38c8b1[_0x8e19c9(0x2c6)](_0x4235bf)||_0x32666d['has'](_0x4235bf))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x32666d[_0x8e19c9(0x102)](_0x4235bf);}_0x4fe35d[_0x8e19c9(0x1d1)][_0x8e19c9(0x11a)]=_0x16a7bf[_0x8e19c9(0x265)](',');}if(_0x4fe35d['origin']&&(_0x4fe35d[_0x8e19c9(0x22a)]<0xd?_0x4fe35d[_0x8e19c9(0x1d1)][_0x8e19c9(0x1a6)]=_0x4fe35d[_0x8e19c9(0x298)]:_0x4fe35d[_0x8e19c9(0x1d1)][_0x8e19c9(0x1d6)]=_0x4fe35d[_0x8e19c9(0x298)]),(_0x98f561[_0x8e19c9(0x24f)]||_0x98f561[_0x8e19c9(0x2b4)])&&(_0x4fe35d[_0x8e19c9(0x210)]=_0x98f561[_0x8e19c9(0x24f)]+':'+_0x98f561[_0x8e19c9(0x2b4)]),_0x127d0c){const _0x23aa9d=_0x4fe35d['path'][_0x8e19c9(0x29c)](':');_0x4fe35d[_0x8e19c9(0x282)]=_0x23aa9d[0x0],_0x4fe35d[_0x8e19c9(0x1ef)]=_0x23aa9d[0x1];}let _0x25defe;if(_0x4fe35d[_0x8e19c9(0x228)]){if(_0x102f8d[_0x8e19c9(0x1ac)]===0x0){_0x102f8d[_0x8e19c9(0x146)]=_0x127d0c,_0x102f8d[_0x8e19c9(0x295)]=_0x549e20,_0x102f8d[_0x8e19c9(0x296)]=_0x127d0c?_0x4fe35d[_0x8e19c9(0x282)]:_0x98f561[_0x8e19c9(0x1c1)];const _0x41015c=_0x259a8d&&_0x259a8d[_0x8e19c9(0x1d1)];if(_0x259a8d={..._0x259a8d,'headers':{}},_0x41015c){for(const [_0x3a77e4,_0x5dbbdc]of Object['entries'](_0x41015c))_0x259a8d[_0x8e19c9(0x1d1)][_0x3a77e4['toLowerCase']()]=_0x5dbbdc;}}else{if(_0x102f8d['listenerCount']('redirect')===0x0){const _0x2a72dc=_0x127d0c?_0x102f8d[_0x8e19c9(0x146)]?_0x4fe35d[_0x8e19c9(0x282)]===_0x102f8d[_0x8e19c9(0x296)]:!0x1:_0x102f8d[_0x8e19c9(0x146)]?!0x1:_0x98f561[_0x8e19c9(0x1c1)]===_0x102f8d[_0x8e19c9(0x296)];(!_0x2a72dc||_0x102f8d[_0x8e19c9(0x295)]&&!_0x549e20)&&(delete _0x4fe35d[_0x8e19c9(0x1d1)]['authorization'],delete _0x4fe35d['headers'][_0x8e19c9(0x221)],_0x2a72dc||delete _0x4fe35d[_0x8e19c9(0x1d1)]['host'],_0x4fe35d[_0x8e19c9(0x210)]=void 0x0);}}_0x4fe35d[_0x8e19c9(0x210)]&&!_0x259a8d[_0x8e19c9(0x1d1)][_0x8e19c9(0x1cf)]&&(_0x259a8d['headers'][_0x8e19c9(0x1cf)]='Basic\x20'+Buffer[_0x8e19c9(0x169)](_0x4fe35d['auth'])[_0x8e19c9(0x24d)](_0x8e19c9(0x2ac))),_0x25defe=_0x102f8d[_0x8e19c9(0x284)]=_0x577c58(_0x4fe35d),_0x102f8d[_0x8e19c9(0x1ac)]&&_0x102f8d[_0x8e19c9(0x10d)](_0x8e19c9(0x191),_0x102f8d['url'],_0x25defe);}else _0x25defe=_0x102f8d['_req']=_0x577c58(_0x4fe35d);_0x4fe35d[_0x8e19c9(0x1da)]&&_0x25defe['on'](_0x8e19c9(0x1da),()=>{const _0x1867ea=_0x8e19c9;_0x28be0a(_0x102f8d,_0x25defe,_0x1867ea(0x15e));}),_0x25defe['on']('error',_0x4a20c7=>{_0x25defe===null||_0x25defe[_0x3f8596]||(_0x25defe=_0x102f8d['_req']=null,_0x32dab1(_0x102f8d,_0x4a20c7));}),_0x25defe['on']('response',_0x37e91a=>{const _0x4cb399=_0x8e19c9,_0x3a602b=_0x37e91a[_0x4cb399(0x1d1)][_0x4cb399(0x1b4)],_0x24f4df=_0x37e91a[_0x4cb399(0x1c3)];if(_0x3a602b&&_0x4fe35d['followRedirects']&&_0x24f4df>=0x12c&&_0x24f4df<0x190){if(++_0x102f8d[_0x4cb399(0x1ac)]>_0x4fe35d[_0x4cb399(0x283)]){_0x28be0a(_0x102f8d,_0x25defe,_0x4cb399(0x269));return;}_0x25defe[_0x4cb399(0x27a)]();let _0x46724f;try{_0x46724f=new _0x243199(_0x3a602b,_0x4a7e1f);}catch{const _0x35f316=new SyntaxError(_0x4cb399(0x11b)+_0x3a602b);_0x32dab1(_0x102f8d,_0x35f316);return;}_0x3337d8(_0x102f8d,_0x46724f,_0x16a7bf,_0x259a8d);}else _0x102f8d[_0x4cb399(0x10d)](_0x4cb399(0x1fd),_0x25defe,_0x37e91a)||_0x28be0a(_0x102f8d,_0x25defe,_0x4cb399(0xf9)+_0x37e91a[_0x4cb399(0x1c3)]);}),_0x25defe['on'](_0x8e19c9(0x289),(_0x456d4f,_0x19404b,_0x11db9d)=>{const _0x10f0c3=_0x8e19c9;if(_0x102f8d[_0x10f0c3(0x10d)](_0x10f0c3(0x289),_0x456d4f),_0x102f8d['readyState']!==_0x4ecebc['CONNECTING'])return;_0x25defe=_0x102f8d[_0x10f0c3(0x284)]=null;const _0x38930d=_0x456d4f[_0x10f0c3(0x1d1)][_0x10f0c3(0x289)];if(_0x38930d===void 0x0||_0x38930d['toLowerCase']()!=='websocket'){_0x28be0a(_0x102f8d,_0x19404b,_0x10f0c3(0x1a3));return;}const _0x2f8a6f=_0x456b6e(_0x10f0c3(0x164))['update'](_0x1aa548+_0x200335)[_0x10f0c3(0x213)](_0x10f0c3(0x2ac));if(_0x456d4f['headers'][_0x10f0c3(0x230)]!==_0x2f8a6f){_0x28be0a(_0x102f8d,_0x19404b,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x213a41=_0x456d4f['headers'][_0x10f0c3(0x2b3)];let _0x45f578;if(_0x213a41!==void 0x0?_0x32666d[_0x10f0c3(0x1dd)]?_0x32666d['has'](_0x213a41)||(_0x45f578=_0x10f0c3(0x162)):_0x45f578=_0x10f0c3(0x111):_0x32666d[_0x10f0c3(0x1dd)]&&(_0x45f578=_0x10f0c3(0x150)),_0x45f578){_0x28be0a(_0x102f8d,_0x19404b,_0x45f578);return;}_0x213a41&&(_0x102f8d[_0x10f0c3(0x1e7)]=_0x213a41);const _0x283a61=_0x456d4f['headers']['sec-websocket-extensions'];if(_0x283a61!==void 0x0){if(!_0x21ceb5){_0x28be0a(_0x102f8d,_0x19404b,_0x10f0c3(0x2c7));return;}let _0x370cf8;try{_0x370cf8=_0x443c0d(_0x283a61);}catch{_0x28be0a(_0x102f8d,_0x19404b,_0x10f0c3(0x212));return;}const _0x427ba9=Object['keys'](_0x370cf8);if(_0x427ba9[_0x10f0c3(0x240)]!==0x1||_0x427ba9[0x0]!==_0x5bec19['extensionName']){_0x28be0a(_0x102f8d,_0x19404b,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x21ceb5[_0x10f0c3(0x133)](_0x370cf8[_0x5bec19['extensionName']]);}catch{_0x28be0a(_0x102f8d,_0x19404b,_0x10f0c3(0x212));return;}_0x102f8d['_extensions'][_0x5bec19[_0x10f0c3(0x130)]]=_0x21ceb5;}_0x102f8d[_0x10f0c3(0x21b)](_0x19404b,_0x11db9d,{'allowSynchronousEvents':_0x4fe35d['allowSynchronousEvents'],'generateMask':_0x4fe35d[_0x10f0c3(0x17f)],'maxPayload':_0x4fe35d['maxPayload'],'skipUTF8Validation':_0x4fe35d[_0x10f0c3(0x14e)]});}),_0x4fe35d[_0x8e19c9(0x155)]?_0x4fe35d[_0x8e19c9(0x155)](_0x25defe,_0x102f8d):_0x25defe[_0x8e19c9(0x238)]();}function _0x32dab1(_0xe65492,_0x657c66){const _0x39ef40=_0x46e9e5;_0xe65492[_0x39ef40(0x24b)]=_0x4ecebc[_0x39ef40(0x161)],_0xe65492[_0x39ef40(0x16e)]=!0x0,_0xe65492[_0x39ef40(0x10d)](_0x39ef40(0x25d),_0x657c66),_0xe65492[_0x39ef40(0x203)]();}function _0x38cb80(_0x326c26){const _0x3677a7=_0x46e9e5;return _0x326c26[_0x3677a7(0x1ef)]=_0x326c26[_0x3677a7(0x282)],_0x17d71b['connect'](_0x326c26);}function _0x3ba553(_0x1fa063){const _0x93d3d5=_0x46e9e5;return _0x1fa063[_0x93d3d5(0x1ef)]=void 0x0,!_0x1fa063['servername']&&_0x1fa063['servername']!==''&&(_0x1fa063[_0x93d3d5(0x15a)]=_0x17d71b[_0x93d3d5(0x10e)](_0x1fa063[_0x93d3d5(0x1c1)])?'':_0x1fa063[_0x93d3d5(0x1c1)]),_0x386c68[_0x93d3d5(0x207)](_0x1fa063);}function _0x28be0a(_0x1bf6a1,_0x1d593f,_0x37cffc){const _0x3849fe=_0x46e9e5;_0x1bf6a1[_0x3849fe(0x24b)]=_0x4ecebc[_0x3849fe(0x161)];const _0x5299e8=new Error(_0x37cffc);Error[_0x3849fe(0x2b5)](_0x5299e8,_0x28be0a),_0x1d593f[_0x3849fe(0x12f)]?(_0x1d593f[_0x3f8596]=!0x0,_0x1d593f[_0x3849fe(0x27a)](),_0x1d593f[_0x3849fe(0x216)]&&!_0x1d593f[_0x3849fe(0x216)]['destroyed']&&_0x1d593f['socket'][_0x3849fe(0x1ce)](),process['nextTick'](_0x32dab1,_0x1bf6a1,_0x5299e8)):(_0x1d593f['destroy'](_0x5299e8),_0x1d593f['once'](_0x3849fe(0x25d),_0x1bf6a1['emit'][_0x3849fe(0x294)](_0x1bf6a1,_0x3849fe(0x25d))),_0x1d593f[_0x3849fe(0x125)]('close',_0x1bf6a1[_0x3849fe(0x203)][_0x3849fe(0x294)](_0x1bf6a1)));}function _0x372b18(_0x53a1ae,_0x29b3c3,_0x304010){const _0x3e54f7=_0x46e9e5;if(_0x29b3c3){const _0x3614c1=_0x529e69(_0x29b3c3)?_0x29b3c3[_0x3e54f7(0x1dd)]:_0x162022(_0x29b3c3)[_0x3e54f7(0x240)];_0x53a1ae[_0x3e54f7(0x18b)]?_0x53a1ae['_sender']['_bufferedBytes']+=_0x3614c1:_0x53a1ae[_0x3e54f7(0x22c)]+=_0x3614c1;}if(_0x304010){const _0x4b3b21=new Error(_0x3e54f7(0x154)+_0x53a1ae[_0x3e54f7(0x250)]+'\x20('+_0x1699c7[_0x53a1ae['readyState']]+')');process[_0x3e54f7(0x28f)](_0x304010,_0x4b3b21);}}function _0x4a7610(_0x565f28,_0x4ccf3f){const _0x5a7e79=_0x46e9e5,_0x459aa2=this[_0x4545dc];_0x459aa2[_0x5a7e79(0x2a7)]=!0x0,_0x459aa2['_closeMessage']=_0x4ccf3f,_0x459aa2[_0x5a7e79(0x1de)]=_0x565f28,_0x459aa2[_0x5a7e79(0x18b)][_0x4545dc]!==void 0x0&&(_0x459aa2['_socket'][_0x5a7e79(0x17d)](_0x5a7e79(0x167),_0x253a86),process['nextTick'](_0x50f157,_0x459aa2[_0x5a7e79(0x18b)]),_0x565f28===0x3ed?_0x459aa2['close']():_0x459aa2['close'](_0x565f28,_0x4ccf3f));}function _0x4b2faf(){const _0x4dde6b=_0x46e9e5,_0x13d0fb=this[_0x4545dc];_0x13d0fb[_0x4dde6b(0x2a4)]||_0x13d0fb[_0x4dde6b(0x18b)][_0x4dde6b(0x227)]();}function _0x56c994(_0x41e5a5){const _0xbd8a01=_0x46e9e5,_0x36b1e6=this[_0x4545dc];_0x36b1e6[_0xbd8a01(0x18b)][_0x4545dc]!==void 0x0&&(_0x36b1e6[_0xbd8a01(0x18b)]['removeListener'](_0xbd8a01(0x167),_0x253a86),process['nextTick'](_0x50f157,_0x36b1e6[_0xbd8a01(0x18b)]),_0x36b1e6['close'](_0x41e5a5[_0x3febdd])),_0x36b1e6[_0xbd8a01(0x16e)]||(_0x36b1e6[_0xbd8a01(0x16e)]=!0x0,_0x36b1e6['emit'](_0xbd8a01(0x25d),_0x41e5a5));}function _0x5e1597(){const _0x3d50d3=_0x46e9e5;this[_0x4545dc][_0x3d50d3(0x203)]();}function _0x217080(_0x2e8e02,_0x50ea41){const _0x16fb2d=_0x46e9e5;this[_0x4545dc][_0x16fb2d(0x10d)](_0x16fb2d(0x177),_0x2e8e02,_0x50ea41);}function _0x24edb1(_0x4024a5){const _0x24253e=_0x46e9e5,_0x184539=this[_0x4545dc];_0x184539[_0x24253e(0x252)]&&_0x184539['pong'](_0x4024a5,!this[_0x24253e(0x273)],_0x116197),_0x184539[_0x24253e(0x10d)](_0x24253e(0x223),_0x4024a5);}function _0x3a5dd4(_0x110304){const _0xf64bdf=_0x46e9e5;this[_0x4545dc][_0xf64bdf(0x10d)](_0xf64bdf(0x19c),_0x110304);}function _0x50f157(_0x493945){const _0x131629=_0x46e9e5;_0x493945[_0x131629(0x227)]();}function _0x5cce01(_0x4f5de0){const _0x967d76=_0x46e9e5,_0x388ed7=this[_0x4545dc];_0x388ed7[_0x967d76(0x250)]!==_0x4ecebc['CLOSED']&&(_0x388ed7[_0x967d76(0x250)]===_0x4ecebc[_0x967d76(0x1cd)]&&(_0x388ed7[_0x967d76(0x24b)]=_0x4ecebc[_0x967d76(0x161)],_0x285ace(_0x388ed7)),this[_0x967d76(0x18b)][_0x967d76(0x238)](),_0x388ed7[_0x967d76(0x16e)]||(_0x388ed7[_0x967d76(0x16e)]=!0x0,_0x388ed7[_0x967d76(0x10d)](_0x967d76(0x25d),_0x4f5de0)));}function _0x285ace(_0x48b196){const _0x58841b=_0x46e9e5;_0x48b196[_0x58841b(0x258)]=setTimeout(_0x48b196[_0x58841b(0x18b)][_0x58841b(0x1ce)]['bind'](_0x48b196[_0x58841b(0x18b)]),_0x4394d4);}function _0x4ffcf9(){const _0x476fbf=_0x46e9e5,_0x19940e=this[_0x4545dc];this[_0x476fbf(0x17d)](_0x476fbf(0x23f),_0x4ffcf9),this[_0x476fbf(0x17d)](_0x476fbf(0x167),_0x253a86),this[_0x476fbf(0x17d)]('end',_0x808e52),_0x19940e[_0x476fbf(0x24b)]=_0x4ecebc['CLOSING'];let _0x139bd3;!this['_readableState'][_0x476fbf(0x2b8)]&&!_0x19940e['_closeFrameReceived']&&!_0x19940e[_0x476fbf(0x1cb)][_0x476fbf(0x2af)][_0x476fbf(0x14f)]&&(_0x139bd3=_0x19940e['_socket']['read']())!==null&&_0x19940e[_0x476fbf(0x1cb)][_0x476fbf(0x254)](_0x139bd3),_0x19940e[_0x476fbf(0x1cb)][_0x476fbf(0x238)](),this[_0x4545dc]=void 0x0,clearTimeout(_0x19940e[_0x476fbf(0x258)]),_0x19940e['_receiver']['_writableState'][_0x476fbf(0x11f)]||_0x19940e[_0x476fbf(0x1cb)][_0x476fbf(0x2af)]['errorEmitted']?_0x19940e[_0x476fbf(0x203)]():(_0x19940e[_0x476fbf(0x1cb)]['on'](_0x476fbf(0x25d),_0x5e1597),_0x19940e[_0x476fbf(0x1cb)]['on']('finish',_0x5e1597));}function _0x253a86(_0x2f34e0){const _0x707fbd=_0x46e9e5;this[_0x4545dc][_0x707fbd(0x1cb)][_0x707fbd(0x254)](_0x2f34e0)||this[_0x707fbd(0x10f)]();}function _0x808e52(){const _0x1a1227=_0x46e9e5,_0x29a077=this[_0x4545dc];_0x29a077[_0x1a1227(0x24b)]=_0x4ecebc['CLOSING'],_0x29a077[_0x1a1227(0x1cb)][_0x1a1227(0x238)](),this[_0x1a1227(0x238)]();}function _0x208a76(){const _0x3b8b82=_0x46e9e5,_0x9f2566=this[_0x4545dc];this['removeListener'](_0x3b8b82(0x25d),_0x208a76),this['on'](_0x3b8b82(0x25d),_0x116197),_0x9f2566&&(_0x9f2566[_0x3b8b82(0x24b)]=_0x4ecebc[_0x3b8b82(0x161)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x54cad3}=oe;function _0x343c41(_0x213c65){const _0x5550c1=_0x5268;_0x213c65['emit'](_0x5550c1(0x23f));}function _0x3b6d3b(){const _0x4f0c4a=_0x5268;!this[_0x4f0c4a(0x194)]&&this[_0x4f0c4a(0x2af)]['finished']&&this['destroy']();}function _0x3f184f(_0x176b20){const _0x33e25c=_0x5268;this[_0x33e25c(0x17d)](_0x33e25c(0x25d),_0x3f184f),this['destroy'](),this[_0x33e25c(0x197)](_0x33e25c(0x25d))===0x0&&this['emit']('error',_0x176b20);}function _0x3a50a6(_0x2d3d13,_0x49dad5){const _0x56a3d2=_0x5268;let _0x468297=!0x0;const _0x51a9e9=new _0x54cad3({..._0x49dad5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2d3d13['on'](_0x56a3d2(0x177),function(_0x5077ce,_0x571a31){const _0x40cfa2=_0x56a3d2,_0x1eba7d=!_0x571a31&&_0x51a9e9['_readableState'][_0x40cfa2(0x126)]?_0x5077ce[_0x40cfa2(0x24d)]():_0x5077ce;_0x51a9e9[_0x40cfa2(0x246)](_0x1eba7d)||_0x2d3d13[_0x40cfa2(0x10f)]();}),_0x2d3d13['once'](_0x56a3d2(0x25d),function(_0x37b6d0){const _0x3bfb90=_0x56a3d2;_0x51a9e9[_0x3bfb90(0x194)]||(_0x468297=!0x1,_0x51a9e9[_0x3bfb90(0x1ce)](_0x37b6d0));}),_0x2d3d13[_0x56a3d2(0x125)]('close',function(){const _0x3e9b97=_0x56a3d2;_0x51a9e9[_0x3e9b97(0x194)]||_0x51a9e9[_0x3e9b97(0x246)](null);}),_0x51a9e9['_destroy']=function(_0x18e7ea,_0x4c2a1c){const _0x4c2e77=_0x56a3d2;if(_0x2d3d13[_0x4c2e77(0x250)]===_0x2d3d13[_0x4c2e77(0x198)]){_0x4c2a1c(_0x18e7ea),process[_0x4c2e77(0x28f)](_0x343c41,_0x51a9e9);return;}let _0x152b47=!0x1;_0x2d3d13[_0x4c2e77(0x125)](_0x4c2e77(0x25d),function(_0x571809){_0x152b47=!0x0,_0x4c2a1c(_0x571809);}),_0x2d3d13['once'](_0x4c2e77(0x23f),function(){const _0x387f08=_0x4c2e77;_0x152b47||_0x4c2a1c(_0x18e7ea),process[_0x387f08(0x28f)](_0x343c41,_0x51a9e9);}),_0x468297&&_0x2d3d13['terminate']();},_0x51a9e9[_0x56a3d2(0x26b)]=function(_0x4a4dfa){const _0x81d5fd=_0x56a3d2;if(_0x2d3d13['readyState']===_0x2d3d13['CONNECTING']){_0x2d3d13['once'](_0x81d5fd(0x145),function(){_0x51a9e9['_final'](_0x4a4dfa);});return;}_0x2d3d13[_0x81d5fd(0x18b)]!==null&&(_0x2d3d13[_0x81d5fd(0x18b)][_0x81d5fd(0x2af)][_0x81d5fd(0x11f)]?(_0x4a4dfa(),_0x51a9e9[_0x81d5fd(0x22f)]['endEmitted']&&_0x51a9e9[_0x81d5fd(0x1ce)]()):(_0x2d3d13[_0x81d5fd(0x18b)][_0x81d5fd(0x125)](_0x81d5fd(0x181),function(){_0x4a4dfa();}),_0x2d3d13[_0x81d5fd(0x23f)]()));},_0x51a9e9['_read']=function(){const _0x5281fe=_0x56a3d2;_0x2d3d13[_0x5281fe(0x2a4)]&&_0x2d3d13[_0x5281fe(0x227)]();},_0x51a9e9[_0x56a3d2(0x279)]=function(_0x29609f,_0x343efc,_0x517a29){const _0x2fb760=_0x56a3d2;if(_0x2d3d13[_0x2fb760(0x250)]===_0x2d3d13[_0x2fb760(0x188)]){_0x2d3d13[_0x2fb760(0x125)](_0x2fb760(0x145),function(){const _0x240605=_0x2fb760;_0x51a9e9[_0x240605(0x279)](_0x29609f,_0x343efc,_0x517a29);});return;}_0x2d3d13[_0x2fb760(0x1ed)](_0x29609f,_0x517a29);},_0x51a9e9['on'](_0x56a3d2(0x238),_0x3b6d3b),_0x51a9e9['on'](_0x56a3d2(0x25d),_0x3f184f),_0x51a9e9;}return Oe=_0x3a50a6,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);function _0x433c(){const _0x241d0a=['write','_fragments','Disposable','_no_context_takeover','_closeTimer','buffer','31876rjNwiD','kData','arrayBuffer','error','events','then','GET','addEventListener','_messageLength','clients','878094mizrKq','join','client_max_window_bits','registerDependencies','File','Maximum\x20redirects\x20exceeded','sec-websocket-extensions','_final','_allowSynchronousEvents','UniverCollaborationClientPlugin','text/html','clientTracking','isBuffer','getPayloadLength64','listening','_isServer','net','pow','UniverCollaborationClientNodePlugin','customHeaders','toStringTag','_write','abort','WS_ERR_UNEXPECTED_RSV_1','opcode','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','fin','sendFrame','stream','default','socketPath','maxRedirects','_req','catch','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','listen','shouldHandle','upgrade','blob','onerror','_closeMessage','threshold','shift','nextTick','ISocketService','number','binaryType','cleanup','bind','_originalSecure','_originalHostOrSocketPath','Max\x20payload\x20size\x20exceeded','origin','writeHead','NodeCollaborationSocketService','HTTPService','split','zlibInflateOptions','createInflateRaw','replace','clientNoContextTakeover','_generateMask','completeUpgrade','Z_DEFAULT_WINDOWBITS','isPaused','isValidUTF8','dataMessage','_closeFrameReceived','isServer','pluginName','href','kReason','base64','species','hasOwnProperty','_writableState','arraybuffer','apply','fragments','sec-websocket-protocol','password','captureStackTrace','options','slice','endEmitted','map','maxPayload','string','kDone','consume','dequeue','Plugin','zlib','writeUIntBE','alloc','Sec-WebSocket-Extensions:\x20','client','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','test','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','sec-websocket-key','status-code','_extensions','permessage-deflate','Module','isView','Unexpected\x20server\x20response:\x20','901008KSDWwC','_url','createError','kMessage','toDisposable','extensions','_paused','port','add','2397584iQLjhK','handleProtocols','toLowerCase','target','kListener','pathname','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','DependentOn','kRun','_max_window_bits','emit','isIP','pause','cork','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','clientMaxWindowBits','WS_NO_UTF_8_VALIDATE','@univerjs/network','env','frame','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','6SkQwxF','invalid\x20UTF-8\x20sequence','Sec-WebSocket-Protocol','Invalid\x20URL:\x20','listeners','Observable','https:','finished','WS_ERR_INVALID_OPCODE','total-length','dispatch','noServer','serverNoContextTakeover','once','objectMode','decompress','CollaborationSocketService','_doCreateSocket','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','getInfo','url','method','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','setHeader','extensionName','RSV1\x20must\x20be\x20clear','hostname','accept','bufferedAmount','jobs','server_max_window_bits','Upgrade','create','kType','dispose','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','flush','nodebuffer','__esModule','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','The\x20URL\x27s\x20pathname\x20is\x20empty','invalid\x20payload\x20length\x20','backlog','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','258rhViga','open','_originalIpc','writeUInt16BE','Upgrade:\x20websocket','_masked','getOwnPropertyDescriptor','_queue','_opcode','_shouldEmitClose','skipUTF8Validation','errorEmitted','Server\x20sent\x20no\x20subprotocol','haveLength','concurrency','onopen','WebSocket\x20is\x20not\x20open:\x20readyState\x20','finishRequest','format','_skipUTF8Validation','setNoDelay','pending','servername','DisposableCollection','Parameter\x20\x22','search','Opening\x20handshake\x20has\x20timed\x20out','address','_state','CLOSING','Server\x20sent\x20an\x20invalid\x20subprotocol','https','sha1','serverMaxWindowBits','zlibDeflateOptions','data','getData','from','websocket','keys','getConfig','_errored','_errorEmitted','_loop','forEach','_inflate','WS_ERR_EXPECTED_MASK','_httpService','_maskBuffer','sec-websocket-origin','_options','message','code','ISnapshotServerService','rxjs','hash','client_no_context_takeover','removeListener','_firstFragment','generateMask','handshakeTimeout','finish','Inject','http:','isInteger','readOnly','Sec-WebSocket-Extensions','prototype','CONNECTING','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WS_ERR_UNEXPECTED_MASK','_socket','Unexpected\x20end\x20of\x20input','readUInt16BE','130940XttuQa','allocUnsafe','constructor','redirect','_server','next','destroyed','function','binary','listenerCount','CLOSED','freeze','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','terminate','pong','createConnection','_configService','Z_SYNC_FLUSH','onclose','rsv1','callback','Invalid\x20Upgrade\x20header','Connection:\x20Upgrade','byteLength','Sec-WebSocket-Origin','startLoop','sec-websocket-version','Unexpected\x20character\x20at\x20index\x20','autoPong','enqueue','_redirects','handleEvent','\x22\x20must\x20have\x20only\x20a\x20single\x20value','allowSynchronousEvents','Injector','mask','_compress','Blob','location','exports','server_no_context_takeover','Invalid\x20value\x20for\x20parameter\x20\x22','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_bufferedBytes','createServer','protocol','compress','wasClean','COLLABORATION_CLIENT_NODE_CONFIG_KEY','normalizeParams','defineProperty','host','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','statusCode','_binaryType','crypto','wsClientError','verifyClient','_threshold','kIsForOnEventAttribute','_maxPayload','_receiver','_sender','OPEN','destroy','authorization','1418020xBUxaD','headers','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','kAborted','uncork','wss:','Origin','_fragmented','reset','server','timeout','warn','invalid\x20opcode\x200','size','_closeCode','tls','params','removeEventListener','readable','ILogService','isArray','pipe','Unknown\x20parameter\x20\x22','_protocol','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','MASK\x20must\x20be\x20clear','has','readUInt32BE','conclude','send','invalid\x20opcode\x20','path','WS_ERR_INVALID_UTF8','setTimeout','kTarget','_registerDependencies','ws+unix:','_closeFrameSent','share','set','\x22\x20subprotocol\x20is\x20duplicated','createSocket','request','removeAllListeners','getMask','unexpected-response','reason','includes','The\x20\x22','get','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','emitClose','WS_ERR_INVALID_CLOSE_CODE','IConfigService','construct','connect','unshift','concurrencyLimit','\x0d\x0a\x0d\x0a','drain','Invalid\x20HTTP\x20method','\x22:\x20','charCodeAt','@univerjs-pro/collaboration-client','auth','getBlobData','Invalid\x20Sec-WebSocket-Extensions\x20header','digest','call','ws:','socket','_deflate','_removeListeners','HTTP/1.1\x20101\x20Switching\x20Protocols','onmessage','setSocket','value','setConfig','parse','type','acceptAsServer','cookie','invalid\x20status\x20code\x20','ping','_compressed','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','collaboration-client-node.config','resume','followRedirects','getPayloadLength16','protocolVersion','3434837nuYelA','_bufferedAmount','WebSocket','text/plain','_readableState','sec-websocket-accept','controlMessage','_payloadLength','update','kCode','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_fin','indexOf','end','delete','perMessageDeflate','byteOffset','STATUS_CODES','offer','defaultPort','close','length','_totalPayloadLength','unmask','_buffers','object','_mask','push','_decompress','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Invalid\x20WebSocket\x20frame:\x20','Sec-WebSocket-Protocol:\x20','_readyState','concat','toString','WS_ERR_UNEXPECTED_RSV_2_3','username','readyState','connection','_autoPong','kByteLength'];_0x433c=function(){return _0x241d0a;};return _0x433c();}var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x98ddf1}=ae();function _0x29eede(_0x4261aa){const _0x510a37=_0x5268,_0x4b2285=new Set();let _0x1d1bff=-0x1,_0x92a64b=-0x1,_0x4e446c=0x0;for(_0x4e446c;_0x4e446c<_0x4261aa['length'];_0x4e446c++){const _0x1661aa=_0x4261aa[_0x510a37(0x20e)](_0x4e446c);if(_0x92a64b===-0x1&&_0x98ddf1[_0x1661aa]===0x1)_0x1d1bff===-0x1&&(_0x1d1bff=_0x4e446c);else{if(_0x4e446c!==0x0&&(_0x1661aa===0x20||_0x1661aa===0x9))_0x92a64b===-0x1&&_0x1d1bff!==-0x1&&(_0x92a64b=_0x4e446c);else{if(_0x1661aa===0x2c){if(_0x1d1bff===-0x1)throw new SyntaxError(_0x510a37(0x1a9)+_0x4e446c);_0x92a64b===-0x1&&(_0x92a64b=_0x4e446c);const _0x411523=_0x4261aa[_0x510a37(0x2b7)](_0x1d1bff,_0x92a64b);if(_0x4b2285[_0x510a37(0x1ea)](_0x411523))throw new SyntaxError(_0x510a37(0x200)+_0x411523+_0x510a37(0x1f8));_0x4b2285[_0x510a37(0x102)](_0x411523),_0x1d1bff=_0x92a64b=-0x1;}else throw new SyntaxError(_0x510a37(0x1a9)+_0x4e446c);}}}if(_0x1d1bff===-0x1||_0x92a64b!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x355770=_0x4261aa[_0x510a37(0x2b7)](_0x1d1bff,_0x4e446c);if(_0x4b2285[_0x510a37(0x1ea)](_0x355770))throw new SyntaxError(_0x510a37(0x200)+_0x355770+_0x510a37(0x1f8));return _0x4b2285[_0x510a37(0x102)](_0x355770),_0x4b2285;}return Ce={'parse':_0x29eede},Ce;}var Te,rt;function Ft(){const _0x3c39e6=_0x55294d;if(rt)return Te;rt=0x1;const _0x331878=nt,_0x2bc496=ot,{Duplex:_0x408474}=oe,{createHash:_0x2afaf7}=Le,_0x369c59=ct(),_0x3802f2=he(),_0x30001c=At(),_0x3ad40a=Pe(),{GUID:_0x130187,kWebSocket:_0x3856a7}=H(),_0x22cfb1=/^[+/0-9A-Za-z]{22}==$/,_0x2a7615=0x0,_0x21ba65=0x1,_0x1469d9=0x2;class _0x2fc5ec extends _0x331878{constructor(_0x3d9a99,_0x7959f6){const _0x3b7885=_0x5268;if(super(),_0x3d9a99={'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':_0x3ad40a,..._0x3d9a99},_0x3d9a99[_0x3b7885(0x101)]==null&&!_0x3d9a99['server']&&!_0x3d9a99[_0x3b7885(0x123)]||_0x3d9a99[_0x3b7885(0x101)]!=null&&(_0x3d9a99[_0x3b7885(0x1d9)]||_0x3d9a99[_0x3b7885(0x123)])||_0x3d9a99['server']&&_0x3d9a99[_0x3b7885(0x123)])throw new TypeError(_0x3b7885(0x117));if(_0x3d9a99['port']!=null?(this[_0x3b7885(0x192)]=_0x2bc496[_0x3b7885(0x1ba)]((_0x19cfbd,_0x281d2b)=>{const _0x277924=_0x3b7885,_0x4c800c=_0x2bc496[_0x277924(0x23c)][0x1aa];_0x281d2b[_0x277924(0x299)](0x1aa,{'Content-Length':_0x4c800c[_0x277924(0x240)],'Content-Type':_0x277924(0x22e)}),_0x281d2b[_0x277924(0x238)](_0x4c800c);}),this[_0x3b7885(0x192)][_0x3b7885(0x287)](_0x3d9a99['port'],_0x3d9a99[_0x3b7885(0x1c1)],_0x3d9a99[_0x3b7885(0x142)],_0x7959f6)):_0x3d9a99[_0x3b7885(0x1d9)]&&(this[_0x3b7885(0x192)]=_0x3d9a99[_0x3b7885(0x1d9)]),this[_0x3b7885(0x192)]){const _0x33ae32=this[_0x3b7885(0x10d)][_0x3b7885(0x294)](this,_0x3b7885(0x251));this[_0x3b7885(0x218)]=_0x300ac7(this[_0x3b7885(0x192)],{'listening':this[_0x3b7885(0x10d)][_0x3b7885(0x294)](this,_0x3b7885(0x272)),'error':this[_0x3b7885(0x10d)]['bind'](this,_0x3b7885(0x25d)),'upgrade':(_0x41e1e3,_0x5d3c81,_0x57090d)=>{this['handleUpgrade'](_0x41e1e3,_0x5d3c81,_0x57090d,_0x33ae32);}});}_0x3d9a99[_0x3b7885(0x23a)]===!0x0&&(_0x3d9a99[_0x3b7885(0x23a)]={}),_0x3d9a99[_0x3b7885(0x26f)]&&(this[_0x3b7885(0x263)]=new Set(),this[_0x3b7885(0x14d)]=!0x1),this['options']=_0x3d9a99,this[_0x3b7885(0x160)]=_0x2a7615;}[_0x3c39e6(0x15f)](){const _0x5555aa=_0x3c39e6;if(this[_0x5555aa(0x2b6)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x5555aa(0x192)]?this[_0x5555aa(0x192)]['address']():null;}[_0x3c39e6(0x23f)](_0x1c170){const _0x472359=_0x3c39e6;if(this[_0x472359(0x160)]===_0x1469d9){_0x1c170&&this[_0x472359(0x125)](_0x472359(0x23f),()=>{_0x1c170(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x2512fa,this);return;}if(_0x1c170&&this[_0x472359(0x125)](_0x472359(0x23f),_0x1c170),this['_state']!==_0x21ba65){if(this['_state']=_0x21ba65,this['options']['noServer']||this['options']['server'])this[_0x472359(0x192)]&&(this[_0x472359(0x218)](),this[_0x472359(0x218)]=this[_0x472359(0x192)]=null),this['clients']?this['clients'][_0x472359(0x1dd)]?this[_0x472359(0x14d)]=!0x0:process['nextTick'](_0x2512fa,this):process['nextTick'](_0x2512fa,this);else{const _0x557e6f=this[_0x472359(0x192)];this[_0x472359(0x218)](),this[_0x472359(0x218)]=this[_0x472359(0x192)]=null,_0x557e6f[_0x472359(0x23f)](()=>{_0x2512fa(this);});}}}[_0x3c39e6(0x288)](_0x59eebe){const _0x354dfc=_0x3c39e6;if(this['options'][_0x354dfc(0x1ef)]){const _0x3f83e4=_0x59eebe[_0x354dfc(0x12c)][_0x354dfc(0x237)]('?');if((_0x3f83e4!==-0x1?_0x59eebe[_0x354dfc(0x12c)][_0x354dfc(0x2b7)](0x0,_0x3f83e4):_0x59eebe[_0x354dfc(0x12c)])!==this[_0x354dfc(0x2b6)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0xcc1392,_0x5a49fb,_0x2787d1,_0x6a6015){const _0x402f07=_0x3c39e6;_0x5a49fb['on']('error',_0x529ae1);const _0x28ac43=_0xcc1392[_0x402f07(0x1d1)][_0x402f07(0x2c8)],_0x5e6f2b=_0xcc1392[_0x402f07(0x1d1)][_0x402f07(0x289)],_0x4c41d2=+_0xcc1392['headers'][_0x402f07(0x1a8)];if(_0xcc1392[_0x402f07(0x12d)]!==_0x402f07(0x260)){_0x53930d(this,_0xcc1392,_0x5a49fb,0x195,_0x402f07(0x20c));return;}if(_0x5e6f2b===void 0x0||_0x5e6f2b[_0x402f07(0x105)]()!=='websocket'){_0x53930d(this,_0xcc1392,_0x5a49fb,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x28ac43===void 0x0||!_0x22cfb1['test'](_0x28ac43)){_0x53930d(this,_0xcc1392,_0x5a49fb,0x190,_0x402f07(0x248));return;}if(_0x4c41d2!==0x8&&_0x4c41d2!==0xd){_0x53930d(this,_0xcc1392,_0x5a49fb,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x402f07(0x288)](_0xcc1392)){_0x48d27e(_0x5a49fb,0x190);return;}const _0x826961=_0xcc1392[_0x402f07(0x1d1)][_0x402f07(0x2b3)];let _0x4fbba4=new Set();if(_0x826961!==void 0x0)try{_0x4fbba4=_0x30001c[_0x402f07(0x21e)](_0x826961);}catch{_0x53930d(this,_0xcc1392,_0x5a49fb,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x9df347=_0xcc1392[_0x402f07(0x1d1)][_0x402f07(0x26a)],_0x1a3814={};if(this['options'][_0x402f07(0x23a)]&&_0x9df347!==void 0x0){const _0x5833c1=new _0x3802f2(this[_0x402f07(0x2b6)][_0x402f07(0x23a)],!0x0,this[_0x402f07(0x2b6)]['maxPayload']);try{const _0x586dec=_0x369c59[_0x402f07(0x21e)](_0x9df347);_0x586dec[_0x3802f2[_0x402f07(0x130)]]&&(_0x5833c1[_0x402f07(0x133)](_0x586dec[_0x3802f2['extensionName']]),_0x1a3814[_0x3802f2[_0x402f07(0x130)]]=_0x5833c1);}catch{_0x53930d(this,_0xcc1392,_0x5a49fb,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x402f07(0x1c7)]){const _0x175e92={'origin':_0xcc1392[_0x402f07(0x1d1)][''+(_0x4c41d2===0x8?_0x402f07(0x175):'origin')],'secure':!!(_0xcc1392[_0x402f07(0x216)]['authorized']||_0xcc1392[_0x402f07(0x216)]['encrypted']),'req':_0xcc1392};if(this[_0x402f07(0x2b6)]['verifyClient']['length']===0x2){this[_0x402f07(0x2b6)][_0x402f07(0x1c7)](_0x175e92,(_0x42c2c4,_0x5cfe6e,_0x3beb2d,_0x464d1b)=>{const _0x37a60c=_0x402f07;if(!_0x42c2c4)return _0x48d27e(_0x5a49fb,_0x5cfe6e||0x191,_0x3beb2d,_0x464d1b);this[_0x37a60c(0x2a2)](_0x1a3814,_0x28ac43,_0x4fbba4,_0xcc1392,_0x5a49fb,_0x2787d1,_0x6a6015);});return;}if(!this[_0x402f07(0x2b6)][_0x402f07(0x1c7)](_0x175e92))return _0x48d27e(_0x5a49fb,0x191);}this[_0x402f07(0x2a2)](_0x1a3814,_0x28ac43,_0x4fbba4,_0xcc1392,_0x5a49fb,_0x2787d1,_0x6a6015);}[_0x3c39e6(0x2a2)](_0x344b1f,_0x4b5087,_0xa3f508,_0x35c632,_0x2965dc,_0x3ece29,_0x5c0c85){const _0x4c7a4a=_0x3c39e6;if(!_0x2965dc[_0x4c7a4a(0x1e2)]||!_0x2965dc['writable'])return _0x2965dc[_0x4c7a4a(0x1ce)]();if(_0x2965dc[_0x3856a7])throw new Error(_0x4c7a4a(0x235));if(this[_0x4c7a4a(0x160)]>_0x2a7615)return _0x48d27e(_0x2965dc,0x1f7);const _0x5736db=[_0x4c7a4a(0x219),_0x4c7a4a(0x148),_0x4c7a4a(0x1a4),'Sec-WebSocket-Accept:\x20'+_0x2afaf7(_0x4c7a4a(0x164))[_0x4c7a4a(0x233)](_0x4b5087+_0x130187)[_0x4c7a4a(0x213)](_0x4c7a4a(0x2ac))],_0x289c82=new this[(_0x4c7a4a(0x2b6))][(_0x4c7a4a(0x22d))](null,void 0x0,this[_0x4c7a4a(0x2b6)]);if(_0xa3f508[_0x4c7a4a(0x1dd)]){const _0x1b2acb=this['options'][_0x4c7a4a(0x104)]?this[_0x4c7a4a(0x2b6)]['handleProtocols'](_0xa3f508,_0x35c632):_0xa3f508['values']()['next']()[_0x4c7a4a(0x21c)];_0x1b2acb&&(_0x5736db[_0x4c7a4a(0x246)](_0x4c7a4a(0x24a)+_0x1b2acb),_0x289c82['_protocol']=_0x1b2acb);}if(_0x344b1f[_0x3802f2[_0x4c7a4a(0x130)]]){const _0x56b9e8=_0x344b1f[_0x3802f2[_0x4c7a4a(0x130)]][_0x4c7a4a(0x1e0)],_0x2aa463=_0x369c59[_0x4c7a4a(0x156)]({[_0x3802f2[_0x4c7a4a(0x130)]]:[_0x56b9e8]});_0x5736db[_0x4c7a4a(0x246)](_0x4c7a4a(0x2c3)+_0x2aa463),_0x289c82[_0x4c7a4a(0x2ca)]=_0x344b1f;}this[_0x4c7a4a(0x10d)](_0x4c7a4a(0x1d1),_0x5736db,_0x35c632),_0x2965dc['write'](_0x5736db[_0x4c7a4a(0x24c)]('\x0d\x0a')[_0x4c7a4a(0x265)]('\x0d\x0a')),_0x2965dc[_0x4c7a4a(0x17d)]('error',_0x529ae1),_0x289c82['setSocket'](_0x2965dc,_0x3ece29,{'allowSynchronousEvents':this[_0x4c7a4a(0x2b6)]['allowSynchronousEvents'],'maxPayload':this[_0x4c7a4a(0x2b6)][_0x4c7a4a(0x2ba)],'skipUTF8Validation':this[_0x4c7a4a(0x2b6)][_0x4c7a4a(0x14e)]}),this[_0x4c7a4a(0x263)]&&(this[_0x4c7a4a(0x263)][_0x4c7a4a(0x102)](_0x289c82),_0x289c82['on'](_0x4c7a4a(0x23f),()=>{const _0x165101=_0x4c7a4a;this[_0x165101(0x263)][_0x165101(0x239)](_0x289c82),this[_0x165101(0x14d)]&&!this['clients'][_0x165101(0x1dd)]&&process[_0x165101(0x28f)](_0x2512fa,this);})),_0x5c0c85(_0x289c82,_0x35c632);}}Te=_0x2fc5ec;function _0x300ac7(_0x107ae6,_0x49852a){const _0x4076d7=_0x3c39e6;for(const _0x524d3f of Object[_0x4076d7(0x16b)](_0x49852a))_0x107ae6['on'](_0x524d3f,_0x49852a[_0x524d3f]);return function(){const _0x46375f=_0x4076d7;for(const _0x5d9be9 of Object[_0x46375f(0x16b)](_0x49852a))_0x107ae6[_0x46375f(0x17d)](_0x5d9be9,_0x49852a[_0x5d9be9]);};}function _0x2512fa(_0x20fcc8){const _0x29be78=_0x3c39e6;_0x20fcc8['_state']=_0x1469d9,_0x20fcc8['emit'](_0x29be78(0x23f));}function _0x529ae1(){const _0xd61558=_0x3c39e6;this[_0xd61558(0x1ce)]();}function _0x48d27e(_0xf2322c,_0x2da088,_0x500670,_0x490bed){const _0x573687=_0x3c39e6;_0x500670=_0x500670||_0x2bc496[_0x573687(0x23c)][_0x2da088],_0x490bed={'Connection':'close','Content-Type':_0x573687(0x26e),'Content-Length':Buffer['byteLength'](_0x500670),..._0x490bed},_0xf2322c['once'](_0x573687(0x181),_0xf2322c[_0x573687(0x1ce)]),_0xf2322c[_0x573687(0x238)]('HTTP/1.1\x20'+_0x2da088+'\x20'+_0x2bc496['STATUS_CODES'][_0x2da088]+'\x0d\x0a'+Object['keys'](_0x490bed)[_0x573687(0x2b9)](_0x100ff9=>_0x100ff9+':\x20'+_0x490bed[_0x100ff9])[_0x573687(0x265)]('\x0d\x0a')+_0x573687(0x20a)+_0x500670);}function _0x53930d(_0x925843,_0x2c7ff4,_0x1c6d94,_0x40c9e5,_0x4cc2f2){const _0x10fb0f=_0x3c39e6;if(_0x925843['listenerCount']('wsClientError')){const _0x140812=new Error(_0x4cc2f2);Error[_0x10fb0f(0x2b5)](_0x140812,_0x53930d),_0x925843['emit'](_0x10fb0f(0x1c6),_0x140812,_0x1c6d94,_0x2c7ff4);}else _0x48d27e(_0x1c6d94,_0x40c9e5,_0x4cc2f2);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x29490d,_0x343e6a,_0x101fa3,_0x48208f)=>{const _0x9c221d=_0x55294d;for(var _0x5509fa=_0x48208f>0x1?void 0x0:_0x48208f?jt(_0x343e6a,_0x101fa3):_0x343e6a,_0x1356c7=_0x29490d[_0x9c221d(0x240)]-0x1,_0x239631;_0x1356c7>=0x0;_0x1356c7--)(_0x239631=_0x29490d[_0x1356c7])&&(_0x5509fa=_0x239631(_0x5509fa)||_0x5509fa);return _0x5509fa;},qt=(_0x3e6775,_0xfb5bcd)=>(_0x4d7ab2,_0x4cf5ae)=>_0xfb5bcd(_0x4d7ab2,_0x4cf5ae,_0x3e6775);let ke=class extends A[_0x55294d(0x256)]{constructor(_0x181b25){const _0x2909de=_0x55294d;super(),this[_0x2909de(0x19e)]=_0x181b25;}[_0x55294d(0x1f9)](_0x149a2c){const _0x3f98f6=_0x55294d;var _0x49d38d;const _0x50fdbd=(_0x49d38d=this[_0x3f98f6(0x19e)][_0x3f98f6(0x16c)](fe))==null?void 0x0:_0x49d38d[_0x3f98f6(0x277)];try{const _0x41f28d=new $t(_0x149a2c,{'headers':{..._0x50fdbd}}),_0x48839f=new A[(_0x3f98f6(0x15b))]();return{'URL':_0x149a2c,'close':(_0x8d93e9,_0x3cfe98)=>{const _0x1e38b3=_0x3f98f6;_0x41f28d[_0x1e38b3(0x23f)](_0x8d93e9,_0x3cfe98),_0x48839f[_0x1e38b3(0x13a)]();},'send':_0x523b35=>{const _0x868052=_0x3f98f6;_0x41f28d[_0x868052(0x1ed)](_0x523b35);},'open$':new V['Observable'](_0x323f18=>{const _0x2ecae7=_0x3f98f6,_0x10801e=_0x199da8=>_0x323f18[_0x2ecae7(0x193)](_0x199da8);_0x41f28d[_0x2ecae7(0x261)]('open',_0x10801e),_0x48839f[_0x2ecae7(0x102)](A[_0x2ecae7(0xfe)](()=>_0x41f28d[_0x2ecae7(0x1e1)](_0x2ecae7(0x145),_0x10801e)));})[_0x3f98f6(0x1e5)](V[_0x3f98f6(0x1f6)]()),'close$':new V[(_0x3f98f6(0x11d))](_0x1ff516=>{const _0x3f5c0c=_0x3f98f6,_0xc49404=_0xd6f89=>_0x1ff516[_0x3f5c0c(0x193)](_0xd6f89);_0x41f28d[_0x3f5c0c(0x261)]('close',_0xc49404),_0x48839f['add'](A[_0x3f5c0c(0xfe)](()=>_0x41f28d[_0x3f5c0c(0x1e1)](_0x3f5c0c(0x23f),_0xc49404)));})['pipe'](V[_0x3f98f6(0x1f6)]()),'error$':new V['Observable'](_0x1edc68=>{const _0x4c9315=_0x3f98f6,_0x1019b9=_0x2044b5=>_0x1edc68['next'](_0x2044b5);_0x41f28d[_0x4c9315(0x261)](_0x4c9315(0x25d),_0x1019b9),_0x48839f[_0x4c9315(0x102)](A[_0x4c9315(0xfe)](()=>_0x41f28d[_0x4c9315(0x1e1)]('error',_0x1019b9)));})[_0x3f98f6(0x1e5)](V[_0x3f98f6(0x1f6)]()),'message$':new V[(_0x3f98f6(0x11d))](_0x3ec33e=>{const _0x3df090=_0x3f98f6,_0x1f4d3c=_0xd89ce9=>_0x3ec33e[_0x3df090(0x193)](_0xd89ce9);_0x41f28d[_0x3df090(0x261)](_0x3df090(0x177),_0x1f4d3c),_0x48839f[_0x3df090(0x102)](A[_0x3df090(0xfe)](()=>_0x41f28d[_0x3df090(0x1e1)](_0x3df090(0x177),_0x1f4d3c)));})[_0x3f98f6(0x1e5)](V[_0x3f98f6(0x1f6)]())};}catch(_0x565b1b){return console[_0x3f98f6(0x25d)](_0x565b1b),null;}}};ke=Wt([qt(0x0,A[_0x55294d(0x205)])],ke);var Gt=Object[_0x55294d(0x1c0)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x333e73,_0x34291a,_0x314478)=>_0x34291a in _0x333e73?Gt(_0x333e73,_0x34291a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x314478}):_0x333e73[_0x34291a]=_0x314478,zt=(_0x54633c,_0x1cceb6,_0x41f40a,_0x2e36a1)=>{const _0x2f3198=_0x55294d;for(var _0x4e7c9f=_0x2e36a1>0x1?void 0x0:_0x2e36a1?Vt(_0x1cceb6,_0x41f40a):_0x1cceb6,_0x175036=_0x54633c[_0x2f3198(0x240)]-0x1,_0xd69ed2;_0x175036>=0x0;_0x175036--)(_0xd69ed2=_0x54633c[_0x175036])&&(_0x4e7c9f=_0xd69ed2(_0x4e7c9f)||_0x4e7c9f);return _0x4e7c9f;},Ne=(_0x39d9a4,_0x2aafda)=>(_0xe362ad,_0x4effa0)=>_0x2aafda(_0xe362ad,_0x4effa0,_0x39d9a4),Yt=(_0x1be193,_0x49436f,_0x37b8a7)=>Ht(_0x1be193,_0x49436f+'',_0x37b8a7);exports[_0x55294d(0x276)]=class extends A[_0x55294d(0x2bf)]{constructor(_0x187819=Ct,_0x245880,_0x51b35d,_0xc772e5){const _0x23d61f=_0x55294d;_0x187819[_0x23d61f(0x277)]||_0x245880[_0x23d61f(0x1db)](_0x23d61f(0x1b8)),super(),this[_0x23d61f(0x19e)]=_0x51b35d,this['_injector']=_0xc772e5,this[_0x23d61f(0x19e)][_0x23d61f(0x21d)](fe,_0x187819);}['onStarting'](){const _0x3fa037=_0x55294d;this[_0x3fa037(0x1f3)]();}[_0x55294d(0x1f3)](){const _0xc9142a=_0x55294d;A[_0xc9142a(0x267)](this['_injector'],[[it[_0xc9142a(0x290)],{'useClass':ke}]]);}},Yt(exports[_0x55294d(0x276)],_0x55294d(0x2a9),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x55294d(0x276)]=zt([A[_0x55294d(0x10a)](st[_0x55294d(0x26d)]),Ne(0x1,A[_0x55294d(0x1e3)]),Ne(0x2,A[_0x55294d(0x205)]),Ne(0x3,A[_0x55294d(0x182)](A[_0x55294d(0x1b0)]))],exports[_0x55294d(0x276)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x5d3c13,_0x37794f,_0x1e5b3c,_0x42c51a)=>{const _0x264af4=_0x55294d;for(var _0xb446f6=_0x42c51a>0x1?void 0x0:_0x42c51a?Kt(_0x37794f,_0x1e5b3c):_0x37794f,_0x48f508=_0x5d3c13[_0x264af4(0x240)]-0x1,_0xb7f5e3;_0x48f508>=0x0;_0x48f508--)(_0xb7f5e3=_0x5d3c13[_0x48f508])&&(_0xb446f6=_0xb7f5e3(_0xb446f6)||_0xb446f6);return _0xb446f6;},ne=(_0x2f52e0,_0x54c99f)=>(_0x5d62a3,_0x58db9e)=>_0x54c99f(_0x5d62a3,_0x58db9e,_0x2f52e0);exports[_0x55294d(0x29a)]=class extends st[_0x55294d(0x128)]{constructor(_0x511366,_0x2af598,_0x23afe6,_0x5764d8,_0x3b9d23){const _0xcc404d=_0x55294d;super(_0x511366,_0x2af598,_0x23afe6,_0x5764d8,_0x3b9d23);const _0x373319=this[_0xcc404d(0x19e)][_0xcc404d(0x16c)](fe);this[_0xcc404d(0x173)]['registerHTTPInterceptor']({'interceptor':(_0xe086d1,_0x2a6bcc)=>{const _0x119586=_0xcc404d;var _0x1edf36;const _0x163c30=_0xe086d1['headers'];return(_0x1edf36=_0x373319==null?void 0x0:_0x373319[_0x119586(0x277)])!=null&&_0x1edf36[_0x119586(0x221)]&&_0x163c30[_0x119586(0x1f7)]('Cookie',_0x373319[_0x119586(0x277)][_0x119586(0x221)]),_0x2a6bcc(_0xe086d1);}});}async[_0x55294d(0x1f9)](_0x9b4a0){const _0x2f73bb=_0x55294d;return this[_0x2f73bb(0x129)](_0x9b4a0);}},exports[_0x55294d(0x29a)]=Xt([ne(0x0,A[_0x55294d(0x182)](A[_0x55294d(0x1b0)])),ne(0x1,A['Inject'](it[_0x55294d(0x29b)])),ne(0x2,A[_0x55294d(0x205)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x55294d(0x179)])],exports[_0x55294d(0x29a)]),exports[_0x55294d(0x1be)]=fe;
|
|
1
|
+
'use strict';function _0x41fb(_0x3bcdd0,_0x42bccd){const _0x36d2ea=_0x36d2();return _0x41fb=function(_0x41fb65,_0x2b31fd){_0x41fb65=_0x41fb65-0x1b9;let _0x507fce=_0x36d2ea[_0x41fb65];return _0x507fce;},_0x41fb(_0x3bcdd0,_0x42bccd);}const _0x2bf11d=_0x41fb;(function(_0x31a9ac,_0x5dfe59){const _0x134518=_0x41fb,_0x4663a1=_0x31a9ac();while(!![]){try{const _0x4b8955=parseInt(_0x134518(0x361))/0x1*(-parseInt(_0x134518(0x22b))/0x2)+-parseInt(_0x134518(0x352))/0x3+parseInt(_0x134518(0x252))/0x4+parseInt(_0x134518(0x2c7))/0x5*(-parseInt(_0x134518(0x357))/0x6)+parseInt(_0x134518(0x32c))/0x7*(-parseInt(_0x134518(0x2f6))/0x8)+-parseInt(_0x134518(0x354))/0x9*(parseInt(_0x134518(0x2db))/0xa)+parseInt(_0x134518(0x275))/0xb*(parseInt(_0x134518(0x324))/0xc);if(_0x4b8955===_0x5dfe59)break;else _0x4663a1['push'](_0x4663a1['shift']());}catch(_0xbb7d03){_0x4663a1['push'](_0x4663a1['shift']());}}}(_0x36d2,0x96a86));Object[_0x2bf11d(0x368)](exports,Symbol[_0x2bf11d(0x1f1)],{'value':_0x2bf11d(0x31d)});const st=require(_0x2bf11d(0x364)),A=require(_0x2bf11d(0x370)),it=require(_0x2bf11d(0x29a)),V=require('rxjs'),nt=require(_0x2bf11d(0x288)),vt=require(_0x2bf11d(0x237)),ot=require('http'),St=require(_0x2bf11d(0x1d5)),Et=require(_0x2bf11d(0x228)),Le=require('crypto'),oe=require(_0x2bf11d(0x299)),xt=require('url'),bt=require(_0x2bf11d(0x32d)),wt=require(_0x2bf11d(0x2fb)),Ot=require('@univerjs-pro/collaboration'),fe=_0x2bf11d(0x2bd),Ct={'customHeaders':{}};function Tt(_0x5ac29c){const _0x51f6c6=_0x2bf11d;return _0x5ac29c&&_0x5ac29c[_0x51f6c6(0x1e5)]&&Object['prototype']['hasOwnProperty'][_0x51f6c6(0x285)](_0x5ac29c,_0x51f6c6(0x1c1))?_0x5ac29c[_0x51f6c6(0x1c1)]:_0x5ac29c;}function at(_0x52743d){const _0x33cba6=_0x2bf11d;if(Object[_0x33cba6(0x33d)][_0x33cba6(0x266)][_0x33cba6(0x285)](_0x52743d,'__esModule'))return _0x52743d;var _0x45186e=_0x52743d['default'];if(typeof _0x45186e==_0x33cba6(0x350)){var _0x4fa6e7=function _0x20ed9d(){const _0x37ee04=_0x33cba6;return this instanceof _0x20ed9d?Reflect[_0x37ee04(0x20f)](_0x45186e,arguments,this[_0x37ee04(0x27d)]):_0x45186e[_0x37ee04(0x351)](this,arguments);};_0x4fa6e7[_0x33cba6(0x33d)]=_0x45186e[_0x33cba6(0x33d)];}else _0x4fa6e7={};return Object[_0x33cba6(0x368)](_0x4fa6e7,_0x33cba6(0x1e5),{'value':!0x0}),Object[_0x33cba6(0x2e0)](_0x52743d)[_0x33cba6(0x373)](function(_0x49c849){const _0x5cccc9=_0x33cba6;var _0x36d0b2=Object['getOwnPropertyDescriptor'](_0x52743d,_0x49c849);Object[_0x5cccc9(0x368)](_0x4fa6e7,_0x49c849,_0x36d0b2[_0x5cccc9(0x1e7)]?_0x36d0b2:{'enumerable':!0x0,'get':function(){return _0x52743d[_0x49c849];}});}),_0x4fa6e7;}var se={'exports':{}},ge,Ge;function H(){const _0xf0c7f8=_0x2bf11d;if(Ge)return ge;Ge=0x1;const _0x3e3377=[_0xf0c7f8(0x21a),'arraybuffer','fragments'],_0x5f4722=typeof Blob<'u';return _0x5f4722&&_0x3e3377[_0xf0c7f8(0x2f9)]('blob'),ge={'BINARY_TYPES':_0x3e3377,'EMPTY_BUFFER':Buffer[_0xf0c7f8(0x258)](0x0),'GUID':_0xf0c7f8(0x1fb),'hasBlob':_0x5f4722,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xf0c7f8(0x36a)),'kStatusCode':Symbol(_0xf0c7f8(0x2c6)),'kWebSocket':Symbol(_0xf0c7f8(0x2cc)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x2bf11d(0x345)](Object[_0x2bf11d(0x368)]({'__proto__':null,'default':Nt},Symbol[_0x2bf11d(0x1f1)],{'value':_0x2bf11d(0x31d)})),Lt=at(kt);var Ve;function ce(){const _0x212434=_0x2bf11d;if(Ve)return se[_0x212434(0x2ca)];Ve=0x1;const {EMPTY_BUFFER:_0x36c25e}=H(),_0x5256f2=Buffer[Symbol['species']];function _0x16f7bb(_0x215656,_0x41e4bd){const _0x56188f=_0x212434;if(_0x215656[_0x56188f(0x2da)]===0x0)return _0x36c25e;if(_0x215656['length']===0x1)return _0x215656[0x0];const _0x24d4a3=Buffer['allocUnsafe'](_0x41e4bd);let _0x5cfecd=0x0;for(let _0x3e998e=0x0;_0x3e998e<_0x215656['length'];_0x3e998e++){const _0x1ef2d3=_0x215656[_0x3e998e];_0x24d4a3[_0x56188f(0x211)](_0x1ef2d3,_0x5cfecd),_0x5cfecd+=_0x1ef2d3['length'];}return _0x5cfecd<_0x41e4bd?new _0x5256f2(_0x24d4a3['buffer'],_0x24d4a3[_0x56188f(0x279)],_0x5cfecd):_0x24d4a3;}function _0x19aee8(_0x263fdc,_0x3aa787,_0x3e83ab,_0x1692a1,_0x5a16b4){for(let _0x36966e=0x0;_0x36966e<_0x5a16b4;_0x36966e++)_0x3e83ab[_0x1692a1+_0x36966e]=_0x263fdc[_0x36966e]^_0x3aa787[_0x36966e&0x3];}function _0x594683(_0xc5dad6,_0x524da6){for(let _0x5bb0d6=0x0;_0x5bb0d6<_0xc5dad6['length'];_0x5bb0d6++)_0xc5dad6[_0x5bb0d6]^=_0x524da6[_0x5bb0d6&0x3];}function _0x43f4d4(_0x5865f8){const _0x6f534d=_0x212434;return _0x5865f8[_0x6f534d(0x2da)]===_0x5865f8[_0x6f534d(0x2fb)][_0x6f534d(0x30c)]?_0x5865f8[_0x6f534d(0x2fb)]:_0x5865f8[_0x6f534d(0x2fb)][_0x6f534d(0x1dc)](_0x5865f8['byteOffset'],_0x5865f8[_0x6f534d(0x279)]+_0x5865f8['length']);}function _0x448380(_0x385cae){const _0x5677cb=_0x212434;if(_0x448380[_0x5677cb(0x2cd)]=!0x0,Buffer['isBuffer'](_0x385cae))return _0x385cae;let _0x10c258;return _0x385cae instanceof ArrayBuffer?_0x10c258=new _0x5256f2(_0x385cae):ArrayBuffer[_0x5677cb(0x222)](_0x385cae)?_0x10c258=new _0x5256f2(_0x385cae[_0x5677cb(0x2fb)],_0x385cae['byteOffset'],_0x385cae[_0x5677cb(0x30c)]):(_0x10c258=Buffer[_0x5677cb(0x1bd)](_0x385cae),_0x448380[_0x5677cb(0x2cd)]=!0x1),_0x10c258;}if(se[_0x212434(0x2ca)]={'concat':_0x16f7bb,'mask':_0x19aee8,'toArrayBuffer':_0x43f4d4,'toBuffer':_0x448380,'unmask':_0x594683},!process[_0x212434(0x223)][_0x212434(0x367)])try{const _0x36c033=Lt;se[_0x212434(0x2ca)][_0x212434(0x2e8)]=function(_0x1708b5,_0x248c64,_0x2d6b90,_0x889898,_0x22d0cb){const _0x3dbb82=_0x212434;_0x22d0cb<0x30?_0x19aee8(_0x1708b5,_0x248c64,_0x2d6b90,_0x889898,_0x22d0cb):_0x36c033[_0x3dbb82(0x2e8)](_0x1708b5,_0x248c64,_0x2d6b90,_0x889898,_0x22d0cb);},se[_0x212434(0x2ca)][_0x212434(0x2f7)]=function(_0x6b4709,_0x32ad62){const _0x41df38=_0x212434;_0x6b4709[_0x41df38(0x2da)]<0x20?_0x594683(_0x6b4709,_0x32ad62):_0x36c033[_0x41df38(0x2f7)](_0x6b4709,_0x32ad62);};}catch{}return se[_0x212434(0x2ca)];}var ye,He;function Pt(){const _0xcf17c3=_0x2bf11d;if(He)return ye;He=0x1;const _0x156662=Symbol(_0xcf17c3(0x2bc)),_0x31f221=Symbol(_0xcf17c3(0x26d));class _0x13f3a4{constructor(_0x1c0959){const _0x40853c=_0xcf17c3;this[_0x156662]=()=>{const _0x8ab5f2=_0x41fb;this[_0x8ab5f2(0x22d)]--,this[_0x31f221]();},this[_0x40853c(0x2ce)]=_0x1c0959||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0xcf17c3(0x218)](_0x36cdde){const _0x4b8e16=_0xcf17c3;this[_0x4b8e16(0x1fc)][_0x4b8e16(0x2f9)](_0x36cdde),this[_0x31f221]();}[_0x31f221](){const _0x3903f1=_0xcf17c3;if(this['pending']!==this[_0x3903f1(0x2ce)]&&this[_0x3903f1(0x1fc)][_0x3903f1(0x2da)]){const _0x41ffba=this[_0x3903f1(0x1fc)][_0x3903f1(0x259)]();this[_0x3903f1(0x22d)]++,_0x41ffba(this[_0x156662]);}}}return ye=_0x13f3a4,ye;}var ve,ze;function he(){const _0x7aa475=_0x2bf11d;if(ze)return ve;ze=0x1;const _0x59f96e=bt,_0x3b6bca=ce(),_0x453b7d=Pt(),{kStatusCode:_0x56015e}=H(),_0x4035fa=Buffer[Symbol[_0x7aa475(0x296)]],_0x26b29a=Buffer['from']([0x0,0x0,0xff,0xff]),_0x5ee46b=Symbol('permessage-deflate'),_0x34160d=Symbol('total-length'),_0x4320e6=Symbol('callback'),_0x3982ad=Symbol(_0x7aa475(0x1d1)),_0x1c0ca4=Symbol(_0x7aa475(0x318));let _0x2dafea;class _0x31ac88{constructor(_0x25ede1,_0x633376,_0x4fce98){const _0x341f76=_0x7aa475;if(this['_maxPayload']=_0x4fce98|0x0,this[_0x341f76(0x34e)]=_0x25ede1||{},this[_0x341f76(0x1e4)]=this[_0x341f76(0x34e)][_0x341f76(0x242)]!==void 0x0?this[_0x341f76(0x34e)][_0x341f76(0x242)]:0x400,this[_0x341f76(0x238)]=!!_0x633376,this[_0x341f76(0x294)]=null,this['_inflate']=null,this[_0x341f76(0x274)]=null,!_0x2dafea){const _0x429ce1=this[_0x341f76(0x34e)][_0x341f76(0x1d6)]!==void 0x0?this['_options'][_0x341f76(0x1d6)]:0xa;_0x2dafea=new _0x453b7d(_0x429ce1);}}static get[_0x7aa475(0x203)](){return'permessage-deflate';}[_0x7aa475(0x1e8)](){const _0x197884=_0x7aa475,_0x34c6ec={};return this[_0x197884(0x34e)][_0x197884(0x325)]&&(_0x34c6ec[_0x197884(0x24d)]=!0x0),this[_0x197884(0x34e)]['clientNoContextTakeover']&&(_0x34c6ec['client_no_context_takeover']=!0x0),this[_0x197884(0x34e)]['serverMaxWindowBits']&&(_0x34c6ec['server_max_window_bits']=this[_0x197884(0x34e)][_0x197884(0x2fa)]),this[_0x197884(0x34e)][_0x197884(0x206)]?_0x34c6ec[_0x197884(0x227)]=this['_options'][_0x197884(0x206)]:this[_0x197884(0x34e)][_0x197884(0x206)]==null&&(_0x34c6ec['client_max_window_bits']=!0x0),_0x34c6ec;}['accept'](_0x1f08e8){const _0x35d643=_0x7aa475;return _0x1f08e8=this[_0x35d643(0x1f2)](_0x1f08e8),this[_0x35d643(0x274)]=this[_0x35d643(0x238)]?this[_0x35d643(0x322)](_0x1f08e8):this[_0x35d643(0x2b3)](_0x1f08e8),this[_0x35d643(0x274)];}[_0x7aa475(0x254)](){const _0x42b3f1=_0x7aa475;if(this[_0x42b3f1(0x2ff)]&&(this[_0x42b3f1(0x2ff)][_0x42b3f1(0x28c)](),this[_0x42b3f1(0x2ff)]=null),this[_0x42b3f1(0x294)]){const _0x1017d9=this[_0x42b3f1(0x294)][_0x4320e6];this[_0x42b3f1(0x294)][_0x42b3f1(0x28c)](),this[_0x42b3f1(0x294)]=null,_0x1017d9&&_0x1017d9(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x418fc7){const _0x4099d8=_0x7aa475,_0x559e79=this[_0x4099d8(0x34e)],_0xd12c72=_0x418fc7['find'](_0x5b3604=>!(_0x559e79['serverNoContextTakeover']===!0x1&&_0x5b3604['server_no_context_takeover']||_0x5b3604['server_max_window_bits']&&(_0x559e79[_0x4099d8(0x2fa)]===!0x1||typeof _0x559e79[_0x4099d8(0x2fa)]==_0x4099d8(0x29b)&&_0x559e79[_0x4099d8(0x2fa)]>_0x5b3604[_0x4099d8(0x244)])||typeof _0x559e79[_0x4099d8(0x206)]==_0x4099d8(0x29b)&&!_0x5b3604['client_max_window_bits']));if(!_0xd12c72)throw new Error(_0x4099d8(0x2d7));return _0x559e79[_0x4099d8(0x325)]&&(_0xd12c72[_0x4099d8(0x24d)]=!0x0),_0x559e79[_0x4099d8(0x225)]&&(_0xd12c72[_0x4099d8(0x210)]=!0x0),typeof _0x559e79[_0x4099d8(0x2fa)]=='number'&&(_0xd12c72[_0x4099d8(0x244)]=_0x559e79[_0x4099d8(0x2fa)]),typeof _0x559e79['clientMaxWindowBits']==_0x4099d8(0x29b)?_0xd12c72[_0x4099d8(0x227)]=_0x559e79['clientMaxWindowBits']:(_0xd12c72[_0x4099d8(0x227)]===!0x0||_0x559e79[_0x4099d8(0x206)]===!0x1)&&delete _0xd12c72[_0x4099d8(0x227)],_0xd12c72;}[_0x7aa475(0x2b3)](_0x24313e){const _0x3f30d1=_0x7aa475,_0x5d8d15=_0x24313e[0x0];if(this[_0x3f30d1(0x34e)][_0x3f30d1(0x225)]===!0x1&&_0x5d8d15[_0x3f30d1(0x210)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x5d8d15[_0x3f30d1(0x227)])typeof this[_0x3f30d1(0x34e)][_0x3f30d1(0x206)]==_0x3f30d1(0x29b)&&(_0x5d8d15[_0x3f30d1(0x227)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x3f30d1(0x34e)]['clientMaxWindowBits']===!0x1||typeof this[_0x3f30d1(0x34e)]['clientMaxWindowBits']==_0x3f30d1(0x29b)&&_0x5d8d15[_0x3f30d1(0x227)]>this['_options']['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5d8d15;}[_0x7aa475(0x1f2)](_0x5a91fe){return _0x5a91fe['forEach'](_0x42f522=>{const _0x23347e=_0x41fb;Object[_0x23347e(0x2e0)](_0x42f522)[_0x23347e(0x373)](_0x5964e9=>{const _0x482fdc=_0x23347e;let _0x35260f=_0x42f522[_0x5964e9];if(_0x35260f[_0x482fdc(0x2da)]>0x1)throw new Error(_0x482fdc(0x31a)+_0x5964e9+_0x482fdc(0x220));if(_0x35260f=_0x35260f[0x0],_0x5964e9===_0x482fdc(0x227)){if(_0x35260f!==!0x0){const _0x4f3fbd=+_0x35260f;if(!Number['isInteger'](_0x4f3fbd)||_0x4f3fbd<0x8||_0x4f3fbd>0xf)throw new TypeError(_0x482fdc(0x2ea)+_0x5964e9+_0x482fdc(0x257)+_0x35260f);_0x35260f=_0x4f3fbd;}else{if(!this[_0x482fdc(0x238)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5964e9+_0x482fdc(0x257)+_0x35260f);}}else{if(_0x5964e9===_0x482fdc(0x244)){const _0x5afa3d=+_0x35260f;if(!Number[_0x482fdc(0x30e)](_0x5afa3d)||_0x5afa3d<0x8||_0x5afa3d>0xf)throw new TypeError(_0x482fdc(0x2ea)+_0x5964e9+_0x482fdc(0x257)+_0x35260f);_0x35260f=_0x5afa3d;}else{if(_0x5964e9===_0x482fdc(0x210)||_0x5964e9===_0x482fdc(0x24d)){if(_0x35260f!==!0x0)throw new TypeError(_0x482fdc(0x2ea)+_0x5964e9+_0x482fdc(0x257)+_0x35260f);}else throw new Error(_0x482fdc(0x31f)+_0x5964e9+'\x22');}}_0x42f522[_0x5964e9]=_0x35260f;});}),_0x5a91fe;}['decompress'](_0x1459e2,_0x16acd5,_0x4b3629){const _0x481ee3=_0x7aa475;_0x2dafea[_0x481ee3(0x218)](_0x3f757d=>{const _0x3a1354=_0x481ee3;this[_0x3a1354(0x30f)](_0x1459e2,_0x16acd5,(_0x29d4f0,_0x42ae92)=>{_0x3f757d(),_0x4b3629(_0x29d4f0,_0x42ae92);});});}[_0x7aa475(0x1e6)](_0x56baaa,_0x4753a6,_0x464671){const _0x3d5369=_0x7aa475;_0x2dafea[_0x3d5369(0x218)](_0xee36bf=>{const _0x3db503=_0x3d5369;this[_0x3db503(0x280)](_0x56baaa,_0x4753a6,(_0x19739d,_0x1930a9)=>{_0xee36bf(),_0x464671(_0x19739d,_0x1930a9);});});}['_decompress'](_0x1fb311,_0x57bcb3,_0x146072){const _0x1f9a48=_0x7aa475,_0x5eef96=this[_0x1f9a48(0x238)]?_0x1f9a48(0x2cf):_0x1f9a48(0x333);if(!this[_0x1f9a48(0x2ff)]){const _0x38cb8b=_0x5eef96+_0x1f9a48(0x236),_0x5d4090=typeof this[_0x1f9a48(0x274)][_0x38cb8b]!=_0x1f9a48(0x29b)?_0x59f96e[_0x1f9a48(0x2a3)]:this[_0x1f9a48(0x274)][_0x38cb8b];this[_0x1f9a48(0x2ff)]=_0x59f96e[_0x1f9a48(0x331)]({...this['_options'][_0x1f9a48(0x1bc)],'windowBits':_0x5d4090}),this[_0x1f9a48(0x2ff)][_0x5ee46b]=this,this[_0x1f9a48(0x2ff)][_0x34160d]=0x0,this[_0x1f9a48(0x2ff)][_0x3982ad]=[],this[_0x1f9a48(0x2ff)]['on'](_0x1f9a48(0x318),_0x325d76),this[_0x1f9a48(0x2ff)]['on'](_0x1f9a48(0x2e7),_0x115303);}this[_0x1f9a48(0x2ff)][_0x4320e6]=_0x146072,this['_inflate'][_0x1f9a48(0x1ee)](_0x1fb311),_0x57bcb3&&this[_0x1f9a48(0x2ff)]['write'](_0x26b29a),this[_0x1f9a48(0x2ff)][_0x1f9a48(0x1c4)](()=>{const _0x54a6aa=_0x1f9a48,_0x5f5ada=this[_0x54a6aa(0x2ff)][_0x1c0ca4];if(_0x5f5ada){this[_0x54a6aa(0x2ff)][_0x54a6aa(0x28c)](),this[_0x54a6aa(0x2ff)]=null,_0x146072(_0x5f5ada);return;}const _0x2886bf=_0x3b6bca[_0x54a6aa(0x2be)](this[_0x54a6aa(0x2ff)][_0x3982ad],this['_inflate'][_0x34160d]);this['_inflate'][_0x54a6aa(0x35c)]['endEmitted']?(this[_0x54a6aa(0x2ff)][_0x54a6aa(0x28c)](),this[_0x54a6aa(0x2ff)]=null):(this[_0x54a6aa(0x2ff)][_0x34160d]=0x0,this['_inflate'][_0x3982ad]=[],_0x57bcb3&&this[_0x54a6aa(0x274)][_0x5eef96+_0x54a6aa(0x20e)]&&this[_0x54a6aa(0x2ff)][_0x54a6aa(0x201)]()),_0x146072(null,_0x2886bf);});}[_0x7aa475(0x280)](_0x444de0,_0xa7080a,_0xc9adf1){const _0x343a84=_0x7aa475,_0x5d715e=this[_0x343a84(0x238)]?_0x343a84(0x333):_0x343a84(0x2cf);if(!this['_deflate']){const _0x564989=_0x5d715e+_0x343a84(0x236),_0x31431c=typeof this[_0x343a84(0x274)][_0x564989]!=_0x343a84(0x29b)?_0x59f96e[_0x343a84(0x2a3)]:this[_0x343a84(0x274)][_0x564989];this[_0x343a84(0x294)]=_0x59f96e[_0x343a84(0x378)]({...this[_0x343a84(0x34e)]['zlibDeflateOptions'],'windowBits':_0x31431c}),this[_0x343a84(0x294)][_0x34160d]=0x0,this['_deflate'][_0x3982ad]=[],this['_deflate']['on'](_0x343a84(0x2e7),_0x4fa4f8);}this[_0x343a84(0x294)][_0x4320e6]=_0xc9adf1,this[_0x343a84(0x294)]['write'](_0x444de0),this[_0x343a84(0x294)]['flush'](_0x59f96e[_0x343a84(0x235)],()=>{const _0x19c483=_0x343a84;if(!this[_0x19c483(0x294)])return;let _0x8d9a04=_0x3b6bca[_0x19c483(0x2be)](this[_0x19c483(0x294)][_0x3982ad],this['_deflate'][_0x34160d]);_0xa7080a&&(_0x8d9a04=new _0x4035fa(_0x8d9a04[_0x19c483(0x2fb)],_0x8d9a04[_0x19c483(0x279)],_0x8d9a04[_0x19c483(0x2da)]-0x4)),this[_0x19c483(0x294)][_0x4320e6]=null,this['_deflate'][_0x34160d]=0x0,this[_0x19c483(0x294)][_0x3982ad]=[],_0xa7080a&&this[_0x19c483(0x274)][_0x5d715e+_0x19c483(0x20e)]&&this[_0x19c483(0x294)]['reset'](),_0xc9adf1(null,_0x8d9a04);});}}ve=_0x31ac88;function _0x4fa4f8(_0x123caa){const _0x374d6f=_0x7aa475;this[_0x3982ad][_0x374d6f(0x2f9)](_0x123caa),this[_0x34160d]+=_0x123caa[_0x374d6f(0x2da)];}function _0x115303(_0x37cc98){const _0x3a62b9=_0x7aa475;if(this[_0x34160d]+=_0x37cc98['length'],this[_0x5ee46b][_0x3a62b9(0x1da)]<0x1||this[_0x34160d]<=this[_0x5ee46b][_0x3a62b9(0x1da)]){this[_0x3982ad][_0x3a62b9(0x2f9)](_0x37cc98);return;}this[_0x1c0ca4]=new RangeError(_0x3a62b9(0x326)),this[_0x1c0ca4][_0x3a62b9(0x1bb)]=_0x3a62b9(0x216),this[_0x1c0ca4][_0x56015e]=0x3f1,this[_0x3a62b9(0x2b8)](_0x3a62b9(0x2e7),_0x115303),this[_0x3a62b9(0x201)]();}function _0x325d76(_0x2a9d02){const _0x4e4b19=_0x7aa475;if(this[_0x5ee46b][_0x4e4b19(0x2ff)]=null,this[_0x1c0ca4]){this[_0x4320e6](this[_0x1c0ca4]);return;}_0x2a9d02[_0x56015e]=0x3ef,this[_0x4320e6](_0x2a9d02);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x2bf11d(0x368)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x2bf11d(0x31d)})),Bt=at(Rt);var Ye;function ae(){const _0x3e1c45=_0x2bf11d;if(Ye)return ie[_0x3e1c45(0x2ca)];Ye=0x1;const {isUtf8:_0x2493bb}=wt,{hasBlob:_0x549214}=H(),_0x3f0c95=[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 _0x21c22f(_0x50dc27){return _0x50dc27>=0x3e8&&_0x50dc27<=0x3f6&&_0x50dc27!==0x3ec&&_0x50dc27!==0x3ed&&_0x50dc27!==0x3ee||_0x50dc27>=0xbb8&&_0x50dc27<=0x1387;}function _0x26c4e9(_0xe7b485){const _0x1fbcf8=_0x3e1c45,_0x393e1e=_0xe7b485[_0x1fbcf8(0x2da)];let _0x470cfb=0x0;for(;_0x470cfb<_0x393e1e;)if((_0xe7b485[_0x470cfb]&0x80)===0x0)_0x470cfb++;else{if((_0xe7b485[_0x470cfb]&0xe0)===0xc0){if(_0x470cfb+0x1===_0x393e1e||(_0xe7b485[_0x470cfb+0x1]&0xc0)!==0x80||(_0xe7b485[_0x470cfb]&0xfe)===0xc0)return!0x1;_0x470cfb+=0x2;}else{if((_0xe7b485[_0x470cfb]&0xf0)===0xe0){if(_0x470cfb+0x2>=_0x393e1e||(_0xe7b485[_0x470cfb+0x1]&0xc0)!==0x80||(_0xe7b485[_0x470cfb+0x2]&0xc0)!==0x80||_0xe7b485[_0x470cfb]===0xe0&&(_0xe7b485[_0x470cfb+0x1]&0xe0)===0x80||_0xe7b485[_0x470cfb]===0xed&&(_0xe7b485[_0x470cfb+0x1]&0xe0)===0xa0)return!0x1;_0x470cfb+=0x3;}else{if((_0xe7b485[_0x470cfb]&0xf8)===0xf0){if(_0x470cfb+0x3>=_0x393e1e||(_0xe7b485[_0x470cfb+0x1]&0xc0)!==0x80||(_0xe7b485[_0x470cfb+0x2]&0xc0)!==0x80||(_0xe7b485[_0x470cfb+0x3]&0xc0)!==0x80||_0xe7b485[_0x470cfb]===0xf0&&(_0xe7b485[_0x470cfb+0x1]&0xf0)===0x80||_0xe7b485[_0x470cfb]===0xf4&&_0xe7b485[_0x470cfb+0x1]>0x8f||_0xe7b485[_0x470cfb]>0xf4)return!0x1;_0x470cfb+=0x4;}else return!0x1;}}}return!0x0;}function _0x2300d0(_0x59cd96){const _0x23ac19=_0x3e1c45;return _0x549214&&typeof _0x59cd96=='object'&&typeof _0x59cd96[_0x23ac19(0x37c)]=='function'&&typeof _0x59cd96[_0x23ac19(0x369)]==_0x23ac19(0x22a)&&typeof _0x59cd96[_0x23ac19(0x299)]==_0x23ac19(0x350)&&(_0x59cd96[Symbol['toStringTag']]===_0x23ac19(0x1dd)||_0x59cd96[Symbol[_0x23ac19(0x1f1)]]==='File');}if(ie[_0x3e1c45(0x2ca)]={'isBlob':_0x2300d0,'isValidStatusCode':_0x21c22f,'isValidUTF8':_0x26c4e9,'tokenChars':_0x3f0c95},_0x2493bb)ie[_0x3e1c45(0x2ca)][_0x3e1c45(0x365)]=function(_0x55014c){return _0x55014c['length']<0x18?_0x26c4e9(_0x55014c):_0x2493bb(_0x55014c);};else{if(!process[_0x3e1c45(0x223)]['WS_NO_UTF_8_VALIDATE'])try{const _0x3edf70=Bt;ie['exports'][_0x3e1c45(0x365)]=function(_0x2cb5a7){const _0x9cb9e3=_0x3e1c45;return _0x2cb5a7[_0x9cb9e3(0x2da)]<0x20?_0x26c4e9(_0x2cb5a7):_0x3edf70(_0x2cb5a7);};}catch{}}return ie[_0x3e1c45(0x2ca)];}var Se,Ke;function lt(){const _0x3add29=_0x2bf11d;if(Ke)return Se;Ke=0x1;const {Writable:_0x116895}=oe,_0x2762eb=he(),{BINARY_TYPES:_0x3b5ba2,EMPTY_BUFFER:_0x13d490,kStatusCode:_0x17d513,kWebSocket:_0x185f28}=H(),{concat:_0x3338d3,toArrayBuffer:_0xcdb088,unmask:_0x436e5c}=ce(),{isValidStatusCode:_0x21a2e4,isValidUTF8:_0x3e23fa}=ae(),_0x1bf241=Buffer[Symbol[_0x3add29(0x296)]],_0x5169a6=0x0,_0xfe97bb=0x1,_0x35012d=0x2,_0x2a2444=0x3,_0x45d618=0x4,_0x5def72=0x5,_0x1b3b6d=0x6;class _0x229e86 extends _0x116895{constructor(_0x3437c3={}){const _0x47ca29=_0x3add29;super(),this['_allowSynchronousEvents']=_0x3437c3[_0x47ca29(0x2f5)]!==void 0x0?_0x3437c3['allowSynchronousEvents']:!0x0,this[_0x47ca29(0x307)]=_0x3437c3[_0x47ca29(0x26b)]||_0x3b5ba2[0x0],this['_extensions']=_0x3437c3[_0x47ca29(0x23d)]||{},this[_0x47ca29(0x238)]=!!_0x3437c3[_0x47ca29(0x37d)],this['_maxPayload']=_0x3437c3[_0x47ca29(0x247)]|0x0,this[_0x47ca29(0x2d8)]=!!_0x3437c3['skipUTF8Validation'],this[_0x185f28]=void 0x0,this[_0x47ca29(0x2c4)]=0x0,this[_0x47ca29(0x328)]=[],this[_0x47ca29(0x363)]=!0x1,this['_payloadLength']=0x0,this[_0x47ca29(0x2b7)]=void 0x0,this[_0x47ca29(0x26f)]=0x0,this[_0x47ca29(0x2d6)]=!0x1,this['_fin']=!0x1,this[_0x47ca29(0x2c3)]=0x0,this[_0x47ca29(0x35a)]=0x0,this['_messageLength']=0x0,this[_0x47ca29(0x251)]=[],this[_0x47ca29(0x359)]=!0x1,this[_0x47ca29(0x2f4)]=!0x1,this[_0x47ca29(0x23a)]=_0x5169a6;}[_0x3add29(0x1cf)](_0x5de15d,_0x33fb25,_0x4bfd19){const _0x552b6d=_0x3add29;if(this[_0x552b6d(0x2c3)]===0x8&&this[_0x552b6d(0x23a)]==_0x5169a6)return _0x4bfd19();this['_bufferedBytes']+=_0x5de15d[_0x552b6d(0x2da)],this[_0x552b6d(0x328)]['push'](_0x5de15d),this[_0x552b6d(0x269)](_0x4bfd19);}['consume'](_0x48fb2c){const _0x562a83=_0x3add29;if(this[_0x562a83(0x2c4)]-=_0x48fb2c,_0x48fb2c===this[_0x562a83(0x328)][0x0]['length'])return this[_0x562a83(0x328)][_0x562a83(0x259)]();if(_0x48fb2c<this[_0x562a83(0x328)][0x0][_0x562a83(0x2da)]){const _0x56095d=this['_buffers'][0x0];return this[_0x562a83(0x328)][0x0]=new _0x1bf241(_0x56095d[_0x562a83(0x2fb)],_0x56095d['byteOffset']+_0x48fb2c,_0x56095d[_0x562a83(0x2da)]-_0x48fb2c),new _0x1bf241(_0x56095d[_0x562a83(0x2fb)],_0x56095d['byteOffset'],_0x48fb2c);}const _0x19281a=Buffer['allocUnsafe'](_0x48fb2c);do{const _0x508260=this['_buffers'][0x0],_0x376a23=_0x19281a[_0x562a83(0x2da)]-_0x48fb2c;_0x48fb2c>=_0x508260[_0x562a83(0x2da)]?_0x19281a['set'](this[_0x562a83(0x328)]['shift'](),_0x376a23):(_0x19281a[_0x562a83(0x211)](new Uint8Array(_0x508260[_0x562a83(0x2fb)],_0x508260[_0x562a83(0x279)],_0x48fb2c),_0x376a23),this[_0x562a83(0x328)][0x0]=new _0x1bf241(_0x508260[_0x562a83(0x2fb)],_0x508260[_0x562a83(0x279)]+_0x48fb2c,_0x508260['length']-_0x48fb2c)),_0x48fb2c-=_0x508260['length'];}while(_0x48fb2c>0x0);return _0x19281a;}[_0x3add29(0x269)](_0x4ff31c){const _0x3bfebb=_0x3add29;this[_0x3bfebb(0x2f4)]=!0x0;do switch(this[_0x3bfebb(0x23a)]){case _0x5169a6:this[_0x3bfebb(0x29c)](_0x4ff31c);break;case _0xfe97bb:this[_0x3bfebb(0x312)](_0x4ff31c);break;case _0x35012d:this['getPayloadLength64'](_0x4ff31c);break;case _0x2a2444:this[_0x3bfebb(0x305)]();break;case _0x45d618:this[_0x3bfebb(0x1d0)](_0x4ff31c);break;case _0x5def72:case _0x1b3b6d:this[_0x3bfebb(0x2f4)]=!0x1;return;}while(this['_loop']);this[_0x3bfebb(0x359)]||_0x4ff31c();}[_0x3add29(0x29c)](_0x545654){const _0x349a07=_0x3add29;if(this[_0x349a07(0x2c4)]<0x2){this[_0x349a07(0x2f4)]=!0x1;return;}const _0x13e7ac=this[_0x349a07(0x36f)](0x2);if((_0x13e7ac[0x0]&0x30)!==0x0){const _0x2d2fd5=this[_0x349a07(0x22c)](RangeError,_0x349a07(0x286),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x545654(_0x2d2fd5);return;}const _0x47492b=(_0x13e7ac[0x0]&0x40)===0x40;if(_0x47492b&&!this[_0x349a07(0x26a)][_0x2762eb[_0x349a07(0x203)]]){const _0x5a20f6=this[_0x349a07(0x22c)](RangeError,_0x349a07(0x255),!0x0,0x3ea,_0x349a07(0x33f));_0x545654(_0x5a20f6);return;}if(this[_0x349a07(0x1cb)]=(_0x13e7ac[0x0]&0x80)===0x80,this[_0x349a07(0x2c3)]=_0x13e7ac[0x0]&0xf,this['_payloadLength']=_0x13e7ac[0x1]&0x7f,this[_0x349a07(0x2c3)]===0x0){if(_0x47492b){const _0x13a8fd=this[_0x349a07(0x22c)](RangeError,_0x349a07(0x255),!0x0,0x3ea,_0x349a07(0x33f));_0x545654(_0x13a8fd);return;}if(!this[_0x349a07(0x26f)]){const _0x495b6d=this[_0x349a07(0x22c)](RangeError,_0x349a07(0x355),!0x0,0x3ea,_0x349a07(0x2a1));_0x545654(_0x495b6d);return;}this['_opcode']=this[_0x349a07(0x26f)];}else{if(this[_0x349a07(0x2c3)]===0x1||this[_0x349a07(0x2c3)]===0x2){if(this[_0x349a07(0x26f)]){const _0x1c9ed=this[_0x349a07(0x22c)](RangeError,_0x349a07(0x1c3)+this['_opcode'],!0x0,0x3ea,_0x349a07(0x2a1));_0x545654(_0x1c9ed);return;}this[_0x349a07(0x363)]=_0x47492b;}else{if(this[_0x349a07(0x2c3)]>0x7&&this[_0x349a07(0x2c3)]<0xb){if(!this[_0x349a07(0x1cb)]){const _0x561958=this[_0x349a07(0x22c)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x349a07(0x340));_0x545654(_0x561958);return;}if(_0x47492b){const _0x323b79=this[_0x349a07(0x22c)](RangeError,_0x349a07(0x255),!0x0,0x3ea,_0x349a07(0x33f));_0x545654(_0x323b79);return;}if(this['_payloadLength']>0x7d||this[_0x349a07(0x2c3)]===0x8&&this['_payloadLength']===0x1){const _0x53201c=this[_0x349a07(0x22c)](RangeError,_0x349a07(0x261)+this[_0x349a07(0x25a)],!0x0,0x3ea,_0x349a07(0x277));_0x545654(_0x53201c);return;}}else{const _0x385e9f=this['createError'](RangeError,_0x349a07(0x1c3)+this[_0x349a07(0x2c3)],!0x0,0x3ea,_0x349a07(0x2a1));_0x545654(_0x385e9f);return;}}}if(!this[_0x349a07(0x1cb)]&&!this[_0x349a07(0x26f)]&&(this[_0x349a07(0x26f)]=this[_0x349a07(0x2c3)]),this[_0x349a07(0x2d6)]=(_0x13e7ac[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x349a07(0x2d6)]){const _0x316a17=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x349a07(0x263));_0x545654(_0x316a17);return;}}else{if(this[_0x349a07(0x2d6)]){const _0x34d627=this['createError'](RangeError,_0x349a07(0x2a7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x545654(_0x34d627);return;}}this['_payloadLength']===0x7e?this[_0x349a07(0x23a)]=_0xfe97bb:this[_0x349a07(0x25a)]===0x7f?this[_0x349a07(0x23a)]=_0x35012d:this[_0x349a07(0x28d)](_0x545654);}[_0x3add29(0x312)](_0x35be3f){const _0x3c6e23=_0x3add29;if(this['_bufferedBytes']<0x2){this[_0x3c6e23(0x2f4)]=!0x1;return;}this[_0x3c6e23(0x25a)]=this[_0x3c6e23(0x36f)](0x2)[_0x3c6e23(0x221)](0x0),this[_0x3c6e23(0x28d)](_0x35be3f);}[_0x3add29(0x32e)](_0x219e09){const _0x371563=_0x3add29;if(this[_0x371563(0x2c4)]<0x8){this[_0x371563(0x2f4)]=!0x1;return;}const _0xded2d8=this['consume'](0x8),_0x54f6c7=_0xded2d8[_0x371563(0x1c8)](0x0);if(_0x54f6c7>Math[_0x371563(0x21e)](0x2,0x15)-0x1){const _0x9cedb4=this[_0x371563(0x22c)](RangeError,_0x371563(0x2c5),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x219e09(_0x9cedb4);return;}this[_0x371563(0x25a)]=_0x54f6c7*Math[_0x371563(0x21e)](0x2,0x20)+_0xded2d8[_0x371563(0x1c8)](0x4),this[_0x371563(0x28d)](_0x219e09);}[_0x3add29(0x28d)](_0x33c54b){const _0x2bc05b=_0x3add29;if(this[_0x2bc05b(0x25a)]&&this[_0x2bc05b(0x2c3)]<0x8&&(this[_0x2bc05b(0x35a)]+=this[_0x2bc05b(0x25a)],this[_0x2bc05b(0x35a)]>this[_0x2bc05b(0x1da)]&&this[_0x2bc05b(0x1da)]>0x0)){const _0x4f3b72=this['createError'](RangeError,_0x2bc05b(0x326),!0x1,0x3f1,_0x2bc05b(0x216));_0x33c54b(_0x4f3b72);return;}this[_0x2bc05b(0x2d6)]?this[_0x2bc05b(0x23a)]=_0x2a2444:this[_0x2bc05b(0x23a)]=_0x45d618;}[_0x3add29(0x305)](){const _0xc77516=_0x3add29;if(this[_0xc77516(0x2c4)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0xc77516(0x23a)]=_0x45d618;}[_0x3add29(0x1d0)](_0x490f37){const _0x13ed33=_0x3add29;let _0x347fab=_0x13d490;if(this[_0x13ed33(0x25a)]){if(this[_0x13ed33(0x2c4)]<this[_0x13ed33(0x25a)]){this['_loop']=!0x1;return;}_0x347fab=this[_0x13ed33(0x36f)](this[_0x13ed33(0x25a)]),this[_0x13ed33(0x2d6)]&&(this[_0x13ed33(0x2b7)][0x0]|this['_mask'][0x1]|this[_0x13ed33(0x2b7)][0x2]|this[_0x13ed33(0x2b7)][0x3])!==0x0&&_0x436e5c(_0x347fab,this['_mask']);}if(this['_opcode']>0x7){this['controlMessage'](_0x347fab,_0x490f37);return;}if(this[_0x13ed33(0x363)]){this['_state']=_0x5def72,this['decompress'](_0x347fab,_0x490f37);return;}_0x347fab[_0x13ed33(0x2da)]&&(this[_0x13ed33(0x2dc)]=this[_0x13ed33(0x35a)],this['_fragments']['push'](_0x347fab)),this[_0x13ed33(0x28b)](_0x490f37);}['decompress'](_0x3187a1,_0x224b1d){const _0x26f673=_0x3add29;this[_0x26f673(0x26a)][_0x2762eb[_0x26f673(0x203)]][_0x26f673(0x20b)](_0x3187a1,this['_fin'],(_0x54b3a9,_0x38f7ca)=>{const _0x1021b6=_0x26f673;if(_0x54b3a9)return _0x224b1d(_0x54b3a9);if(_0x38f7ca[_0x1021b6(0x2da)]){if(this[_0x1021b6(0x2dc)]+=_0x38f7ca[_0x1021b6(0x2da)],this[_0x1021b6(0x2dc)]>this[_0x1021b6(0x1da)]&&this['_maxPayload']>0x0){const _0x2c2eda=this['createError'](RangeError,_0x1021b6(0x326),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x224b1d(_0x2c2eda);return;}this['_fragments'][_0x1021b6(0x2f9)](_0x38f7ca);}this[_0x1021b6(0x28b)](_0x224b1d),this[_0x1021b6(0x23a)]===_0x5169a6&&this[_0x1021b6(0x269)](_0x224b1d);});}[_0x3add29(0x28b)](_0x5419de){const _0x51ade1=_0x3add29;if(!this[_0x51ade1(0x1cb)]){this[_0x51ade1(0x23a)]=_0x5169a6;return;}const _0x3dbee6=this['_messageLength'],_0x5f1f68=this[_0x51ade1(0x251)];if(this[_0x51ade1(0x35a)]=0x0,this[_0x51ade1(0x2dc)]=0x0,this[_0x51ade1(0x26f)]=0x0,this[_0x51ade1(0x251)]=[],this['_opcode']===0x2){let _0x22be8c;this[_0x51ade1(0x307)]===_0x51ade1(0x21a)?_0x22be8c=_0x3338d3(_0x5f1f68,_0x3dbee6):this[_0x51ade1(0x307)]==='arraybuffer'?_0x22be8c=_0xcdb088(_0x3338d3(_0x5f1f68,_0x3dbee6)):this['_binaryType']===_0x51ade1(0x36d)?_0x22be8c=new Blob(_0x5f1f68):_0x22be8c=_0x5f1f68,this['_allowSynchronousEvents']?(this[_0x51ade1(0x267)](_0x51ade1(0x2c1),_0x22be8c,!0x0),this['_state']=_0x5169a6):(this['_state']=_0x1b3b6d,setImmediate(()=>{const _0x55adc=_0x51ade1;this[_0x55adc(0x267)](_0x55adc(0x2c1),_0x22be8c,!0x0),this[_0x55adc(0x23a)]=_0x5169a6,this['startLoop'](_0x5419de);}));}else{const _0xe1d7fd=_0x3338d3(_0x5f1f68,_0x3dbee6);if(!this[_0x51ade1(0x2d8)]&&!_0x3e23fa(_0xe1d7fd)){const _0x350e79=this[_0x51ade1(0x22c)](Error,_0x51ade1(0x371),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5419de(_0x350e79);return;}this[_0x51ade1(0x23a)]===_0x5def72||this['_allowSynchronousEvents']?(this[_0x51ade1(0x267)](_0x51ade1(0x2c1),_0xe1d7fd,!0x1),this[_0x51ade1(0x23a)]=_0x5169a6):(this[_0x51ade1(0x23a)]=_0x1b3b6d,setImmediate(()=>{const _0x5c34ed=_0x51ade1;this[_0x5c34ed(0x267)]('message',_0xe1d7fd,!0x1),this['_state']=_0x5169a6,this[_0x5c34ed(0x269)](_0x5419de);}));}}[_0x3add29(0x1f6)](_0x1bd333,_0x424ed8){const _0x4aa8e2=_0x3add29;if(this[_0x4aa8e2(0x2c3)]===0x8){if(_0x1bd333[_0x4aa8e2(0x2da)]===0x0)this[_0x4aa8e2(0x2f4)]=!0x1,this[_0x4aa8e2(0x267)]('conclude',0x3ed,_0x13d490),this['end']();else{const _0x576ceb=_0x1bd333[_0x4aa8e2(0x221)](0x0);if(!_0x21a2e4(_0x576ceb)){const _0x1b0b14=this[_0x4aa8e2(0x22c)](RangeError,'invalid\x20status\x20code\x20'+_0x576ceb,!0x0,0x3ea,_0x4aa8e2(0x239));_0x424ed8(_0x1b0b14);return;}const _0x1f2dc5=new _0x1bf241(_0x1bd333[_0x4aa8e2(0x2fb)],_0x1bd333[_0x4aa8e2(0x279)]+0x2,_0x1bd333[_0x4aa8e2(0x2da)]-0x2);if(!this['_skipUTF8Validation']&&!_0x3e23fa(_0x1f2dc5)){const _0x2b5ab9=this[_0x4aa8e2(0x22c)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4aa8e2(0x36c));_0x424ed8(_0x2b5ab9);return;}this[_0x4aa8e2(0x2f4)]=!0x1,this['emit']('conclude',_0x576ceb,_0x1f2dc5),this[_0x4aa8e2(0x34a)]();}this[_0x4aa8e2(0x23a)]=_0x5169a6;return;}this[_0x4aa8e2(0x2c0)]?(this[_0x4aa8e2(0x267)](this[_0x4aa8e2(0x2c3)]===0x9?_0x4aa8e2(0x372):'pong',_0x1bd333),this['_state']=_0x5169a6):(this[_0x4aa8e2(0x23a)]=_0x1b3b6d,setImmediate(()=>{const _0x249093=_0x4aa8e2;this[_0x249093(0x267)](this[_0x249093(0x2c3)]===0x9?'ping':'pong',_0x1bd333),this[_0x249093(0x23a)]=_0x5169a6,this['startLoop'](_0x424ed8);}));}[_0x3add29(0x22c)](_0x4c73da,_0x3170d5,_0x386af4,_0x2f8a50,_0x2b2e25){const _0x27216a=_0x3add29;this[_0x27216a(0x2f4)]=!0x1,this[_0x27216a(0x359)]=!0x0;const _0x3635da=new _0x4c73da(_0x386af4?_0x27216a(0x2ef)+_0x3170d5:_0x3170d5);return Error['captureStackTrace'](_0x3635da,this[_0x27216a(0x22c)]),_0x3635da[_0x27216a(0x1bb)]=_0x2b2e25,_0x3635da[_0x17d513]=_0x2f8a50,_0x3635da;}}return Se=_0x229e86,Se;}var Ee,Xe;function ft(){const _0x34c8a4=_0x2bf11d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x18ff2f}=oe,{randomFillSync:_0xc76630}=Le,_0x147c07=he(),{EMPTY_BUFFER:_0x346acf,kWebSocket:_0xf141d9,NOOP:_0xe9cf72}=H(),{isBlob:_0x3fbcf2,isValidStatusCode:_0x46c567}=ae(),{mask:_0x14f1ae,toBuffer:_0x5a8a81}=ce(),_0x43867a=Symbol('kByteLength'),_0x2e5a8d=Buffer[_0x34c8a4(0x258)](0x4),_0x500f95=0x8*0x400;let _0x58499b,_0x9dd624=_0x500f95;const _0x17b674=0x0,_0x237b3f=0x1,_0x576b01=0x2;class _0x5ea5bf{constructor(_0x338d8d,_0x34c2ba,_0x1336d0){const _0x1e7bed=_0x34c8a4;this[_0x1e7bed(0x26a)]=_0x34c2ba||{},_0x1336d0&&(this['_generateMask']=_0x1336d0,this[_0x1e7bed(0x208)]=Buffer[_0x1e7bed(0x258)](0x4)),this[_0x1e7bed(0x2b5)]=_0x338d8d,this[_0x1e7bed(0x2d9)]=!0x0,this['_compress']=!0x1,this[_0x1e7bed(0x2c4)]=0x0,this[_0x1e7bed(0x36b)]=[],this[_0x1e7bed(0x23a)]=_0x17b674,this[_0x1e7bed(0x349)]=_0xe9cf72,this[_0xf141d9]=void 0x0;}static[_0x34c8a4(0x2a5)](_0x57f1a7,_0x273db3){const _0x1c202e=_0x34c8a4;let _0x25133e,_0x1ed698=!0x1,_0x57127b=0x2,_0x4edca7=!0x1;_0x273db3[_0x1c202e(0x2e8)]&&(_0x25133e=_0x273db3[_0x1c202e(0x37e)]||_0x2e5a8d,_0x273db3[_0x1c202e(0x241)]?_0x273db3['generateMask'](_0x25133e):(_0x9dd624===_0x500f95&&(_0x58499b===void 0x0&&(_0x58499b=Buffer['alloc'](_0x500f95)),_0xc76630(_0x58499b,0x0,_0x500f95),_0x9dd624=0x0),_0x25133e[0x0]=_0x58499b[_0x9dd624++],_0x25133e[0x1]=_0x58499b[_0x9dd624++],_0x25133e[0x2]=_0x58499b[_0x9dd624++],_0x25133e[0x3]=_0x58499b[_0x9dd624++]),_0x4edca7=(_0x25133e[0x0]|_0x25133e[0x1]|_0x25133e[0x2]|_0x25133e[0x3])===0x0,_0x57127b=0x6);let _0x37c3d4;typeof _0x57f1a7==_0x1c202e(0x22a)?(!_0x273db3[_0x1c202e(0x2e8)]||_0x4edca7)&&_0x273db3[_0x43867a]!==void 0x0?_0x37c3d4=_0x273db3[_0x43867a]:(_0x57f1a7=Buffer[_0x1c202e(0x1bd)](_0x57f1a7),_0x37c3d4=_0x57f1a7[_0x1c202e(0x2da)]):(_0x37c3d4=_0x57f1a7['length'],_0x1ed698=_0x273db3[_0x1c202e(0x2e8)]&&_0x273db3[_0x1c202e(0x2cd)]&&!_0x4edca7);let _0x2a49d3=_0x37c3d4;_0x37c3d4>=0x10000?(_0x57127b+=0x8,_0x2a49d3=0x7f):_0x37c3d4>0x7d&&(_0x57127b+=0x2,_0x2a49d3=0x7e);const _0x3bd7a3=Buffer[_0x1c202e(0x2df)](_0x1ed698?_0x37c3d4+_0x57127b:_0x57127b);return _0x3bd7a3[0x0]=_0x273db3[_0x1c202e(0x1ea)]?_0x273db3[_0x1c202e(0x1f4)]|0x80:_0x273db3[_0x1c202e(0x1f4)],_0x273db3[_0x1c202e(0x336)]&&(_0x3bd7a3[0x0]|=0x40),_0x3bd7a3[0x1]=_0x2a49d3,_0x2a49d3===0x7e?_0x3bd7a3[_0x1c202e(0x283)](_0x37c3d4,0x2):_0x2a49d3===0x7f&&(_0x3bd7a3[0x2]=_0x3bd7a3[0x3]=0x0,_0x3bd7a3[_0x1c202e(0x342)](_0x37c3d4,0x4,0x6)),_0x273db3['mask']?(_0x3bd7a3[0x1]|=0x80,_0x3bd7a3[_0x57127b-0x4]=_0x25133e[0x0],_0x3bd7a3[_0x57127b-0x3]=_0x25133e[0x1],_0x3bd7a3[_0x57127b-0x2]=_0x25133e[0x2],_0x3bd7a3[_0x57127b-0x1]=_0x25133e[0x3],_0x4edca7?[_0x3bd7a3,_0x57f1a7]:_0x1ed698?(_0x14f1ae(_0x57f1a7,_0x25133e,_0x3bd7a3,_0x57127b,_0x37c3d4),[_0x3bd7a3]):(_0x14f1ae(_0x57f1a7,_0x25133e,_0x57f1a7,0x0,_0x37c3d4),[_0x3bd7a3,_0x57f1a7])):[_0x3bd7a3,_0x57f1a7];}[_0x34c8a4(0x28c)](_0x4875c0,_0x578389,_0x26e1d1,_0x3e0d9f){const _0x327a3d=_0x34c8a4;let _0x5dedf6;if(_0x4875c0===void 0x0)_0x5dedf6=_0x346acf;else{if(typeof _0x4875c0!=_0x327a3d(0x29b)||!_0x46c567(_0x4875c0))throw new TypeError(_0x327a3d(0x2eb));if(_0x578389===void 0x0||!_0x578389[_0x327a3d(0x2da)])_0x5dedf6=Buffer[_0x327a3d(0x2df)](0x2),_0x5dedf6[_0x327a3d(0x283)](_0x4875c0,0x0);else{const _0x81fd62=Buffer[_0x327a3d(0x30c)](_0x578389);if(_0x81fd62>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x5dedf6=Buffer[_0x327a3d(0x2df)](0x2+_0x81fd62),_0x5dedf6['writeUInt16BE'](_0x4875c0,0x0),typeof _0x578389==_0x327a3d(0x22a)?_0x5dedf6[_0x327a3d(0x1ee)](_0x578389,0x2):_0x5dedf6[_0x327a3d(0x211)](_0x578389,0x2);}}const _0x14d20d={[_0x43867a]:_0x5dedf6[_0x327a3d(0x2da)],'fin':!0x0,'generateMask':this[_0x327a3d(0x1bf)],'mask':_0x26e1d1,'maskBuffer':this[_0x327a3d(0x208)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x17b674?this['enqueue']([this['dispatch'],_0x5dedf6,!0x1,_0x14d20d,_0x3e0d9f]):this['sendFrame'](_0x5ea5bf['frame'](_0x5dedf6,_0x14d20d),_0x3e0d9f);}['ping'](_0x456ac1,_0x26e138,_0x4ab69d){const _0x491480=_0x34c8a4;let _0x1b2314,_0x1a3dfa;if(typeof _0x456ac1==_0x491480(0x22a)?(_0x1b2314=Buffer[_0x491480(0x30c)](_0x456ac1),_0x1a3dfa=!0x1):_0x3fbcf2(_0x456ac1)?(_0x1b2314=_0x456ac1[_0x491480(0x1c5)],_0x1a3dfa=!0x1):(_0x456ac1=_0x5a8a81(_0x456ac1),_0x1b2314=_0x456ac1[_0x491480(0x2da)],_0x1a3dfa=_0x5a8a81[_0x491480(0x2cd)]),_0x1b2314>0x7d)throw new RangeError(_0x491480(0x2ba));const _0x4868ba={[_0x43867a]:_0x1b2314,'fin':!0x0,'generateMask':this[_0x491480(0x1bf)],'mask':_0x26e138,'maskBuffer':this[_0x491480(0x208)],'opcode':0x9,'readOnly':_0x1a3dfa,'rsv1':!0x1};_0x3fbcf2(_0x456ac1)?this['_state']!==_0x17b674?this['enqueue']([this[_0x491480(0x2ad)],_0x456ac1,!0x1,_0x4868ba,_0x4ab69d]):this[_0x491480(0x2ad)](_0x456ac1,!0x1,_0x4868ba,_0x4ab69d):this[_0x491480(0x23a)]!==_0x17b674?this['enqueue']([this[_0x491480(0x2d5)],_0x456ac1,!0x1,_0x4868ba,_0x4ab69d]):this[_0x491480(0x276)](_0x5ea5bf[_0x491480(0x2a5)](_0x456ac1,_0x4868ba),_0x4ab69d);}[_0x34c8a4(0x2a0)](_0x406c26,_0x26e7a1,_0x31da40){const _0x419083=_0x34c8a4;let _0x1f8323,_0x3de1c5;if(typeof _0x406c26==_0x419083(0x22a)?(_0x1f8323=Buffer[_0x419083(0x30c)](_0x406c26),_0x3de1c5=!0x1):_0x3fbcf2(_0x406c26)?(_0x1f8323=_0x406c26['size'],_0x3de1c5=!0x1):(_0x406c26=_0x5a8a81(_0x406c26),_0x1f8323=_0x406c26[_0x419083(0x2da)],_0x3de1c5=_0x5a8a81['readOnly']),_0x1f8323>0x7d)throw new RangeError(_0x419083(0x2ba));const _0x106dd0={[_0x43867a]:_0x1f8323,'fin':!0x0,'generateMask':this[_0x419083(0x1bf)],'mask':_0x26e7a1,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3de1c5,'rsv1':!0x1};_0x3fbcf2(_0x406c26)?this[_0x419083(0x23a)]!==_0x17b674?this[_0x419083(0x1f7)]([this['getBlobData'],_0x406c26,!0x1,_0x106dd0,_0x31da40]):this[_0x419083(0x2ad)](_0x406c26,!0x1,_0x106dd0,_0x31da40):this[_0x419083(0x23a)]!==_0x17b674?this[_0x419083(0x1f7)]([this[_0x419083(0x2d5)],_0x406c26,!0x1,_0x106dd0,_0x31da40]):this[_0x419083(0x276)](_0x5ea5bf[_0x419083(0x2a5)](_0x406c26,_0x106dd0),_0x31da40);}[_0x34c8a4(0x230)](_0x5d2d06,_0x59f11c,_0x58a430){const _0x328575=_0x34c8a4,_0x372f43=this[_0x328575(0x26a)][_0x147c07[_0x328575(0x203)]];let _0x33d896=_0x59f11c['binary']?0x2:0x1,_0x8a7ae=_0x59f11c[_0x328575(0x1e6)],_0x3f3e65,_0x4a3329;typeof _0x5d2d06==_0x328575(0x22a)?(_0x3f3e65=Buffer['byteLength'](_0x5d2d06),_0x4a3329=!0x1):_0x3fbcf2(_0x5d2d06)?(_0x3f3e65=_0x5d2d06['size'],_0x4a3329=!0x1):(_0x5d2d06=_0x5a8a81(_0x5d2d06),_0x3f3e65=_0x5d2d06[_0x328575(0x2da)],_0x4a3329=_0x5a8a81['readOnly']),this[_0x328575(0x2d9)]?(this['_firstFragment']=!0x1,_0x8a7ae&&_0x372f43&&_0x372f43['params'][_0x372f43[_0x328575(0x238)]?'server_no_context_takeover':_0x328575(0x210)]&&(_0x8a7ae=_0x3f3e65>=_0x372f43[_0x328575(0x1e4)]),this[_0x328575(0x280)]=_0x8a7ae):(_0x8a7ae=!0x1,_0x33d896=0x0),_0x59f11c[_0x328575(0x1ea)]&&(this['_firstFragment']=!0x0);const _0x5b2eb1={[_0x43867a]:_0x3f3e65,'fin':_0x59f11c[_0x328575(0x1ea)],'generateMask':this[_0x328575(0x1bf)],'mask':_0x59f11c[_0x328575(0x2e8)],'maskBuffer':this[_0x328575(0x208)],'opcode':_0x33d896,'readOnly':_0x4a3329,'rsv1':_0x8a7ae};_0x3fbcf2(_0x5d2d06)?this[_0x328575(0x23a)]!==_0x17b674?this[_0x328575(0x1f7)]([this[_0x328575(0x2ad)],_0x5d2d06,this[_0x328575(0x280)],_0x5b2eb1,_0x58a430]):this['getBlobData'](_0x5d2d06,this[_0x328575(0x280)],_0x5b2eb1,_0x58a430):this[_0x328575(0x23a)]!==_0x17b674?this[_0x328575(0x1f7)]([this[_0x328575(0x2d5)],_0x5d2d06,this[_0x328575(0x280)],_0x5b2eb1,_0x58a430]):this[_0x328575(0x2d5)](_0x5d2d06,this[_0x328575(0x280)],_0x5b2eb1,_0x58a430);}['getBlobData'](_0x3e86fa,_0x379ba2,_0x47e57a,_0x44a0e8){const _0x425f3b=_0x34c8a4;this[_0x425f3b(0x2c4)]+=_0x47e57a[_0x43867a],this['_state']=_0x576b01,_0x3e86fa['arrayBuffer']()['then'](_0x46bf45=>{const _0x39c053=_0x425f3b;if(this[_0x39c053(0x2b5)][_0x39c053(0x366)]){const _0x152243=new Error(_0x39c053(0x21d));process[_0x39c053(0x23e)](_0x40fba6,this,_0x152243,_0x44a0e8);return;}this[_0x39c053(0x2c4)]-=_0x47e57a[_0x43867a];const _0x5a35f4=_0x5a8a81(_0x46bf45);_0x379ba2?this['dispatch'](_0x5a35f4,_0x379ba2,_0x47e57a,_0x44a0e8):(this[_0x39c053(0x23a)]=_0x17b674,this[_0x39c053(0x276)](_0x5ea5bf[_0x39c053(0x2a5)](_0x5a35f4,_0x47e57a),_0x44a0e8),this[_0x39c053(0x347)]());})[_0x425f3b(0x33e)](_0x19823c=>{process['nextTick'](_0x580ae3,this,_0x19823c,_0x44a0e8);});}[_0x34c8a4(0x2d5)](_0x237a77,_0x3a83bd,_0x1c91a9,_0x2167c0){const _0x1f1448=_0x34c8a4;if(!_0x3a83bd){this[_0x1f1448(0x276)](_0x5ea5bf[_0x1f1448(0x2a5)](_0x237a77,_0x1c91a9),_0x2167c0);return;}const _0x12c057=this['_extensions'][_0x147c07[_0x1f1448(0x203)]];this[_0x1f1448(0x2c4)]+=_0x1c91a9[_0x43867a],this[_0x1f1448(0x23a)]=_0x237b3f,_0x12c057[_0x1f1448(0x1e6)](_0x237a77,_0x1c91a9[_0x1f1448(0x1ea)],(_0x8b27e2,_0x43a62a)=>{const _0x26faaf=_0x1f1448;if(this[_0x26faaf(0x2b5)][_0x26faaf(0x366)]){const _0x8ca071=new Error(_0x26faaf(0x20d));_0x40fba6(this,_0x8ca071,_0x2167c0);return;}this['_bufferedBytes']-=_0x1c91a9[_0x43867a],this[_0x26faaf(0x23a)]=_0x17b674,_0x1c91a9['readOnly']=!0x1,this[_0x26faaf(0x276)](_0x5ea5bf[_0x26faaf(0x2a5)](_0x43a62a,_0x1c91a9),_0x2167c0),this[_0x26faaf(0x347)]();});}['dequeue'](){const _0x2dbeaf=_0x34c8a4;for(;this[_0x2dbeaf(0x23a)]===_0x17b674&&this['_queue'][_0x2dbeaf(0x2da)];){const _0x44002e=this['_queue'][_0x2dbeaf(0x259)]();this[_0x2dbeaf(0x2c4)]-=_0x44002e[0x3][_0x43867a],Reflect[_0x2dbeaf(0x351)](_0x44002e[0x0],this,_0x44002e[_0x2dbeaf(0x1dc)](0x1));}}[_0x34c8a4(0x1f7)](_0x310d55){const _0x23ed9b=_0x34c8a4;this[_0x23ed9b(0x2c4)]+=_0x310d55[0x3][_0x43867a],this[_0x23ed9b(0x36b)][_0x23ed9b(0x2f9)](_0x310d55);}['sendFrame'](_0x5c7584,_0x2626b0){const _0x481818=_0x34c8a4;_0x5c7584[_0x481818(0x2da)]===0x2?(this[_0x481818(0x2b5)][_0x481818(0x360)](),this[_0x481818(0x2b5)][_0x481818(0x1ee)](_0x5c7584[0x0]),this[_0x481818(0x2b5)][_0x481818(0x1ee)](_0x5c7584[0x1],_0x2626b0),this[_0x481818(0x2b5)]['uncork']()):this[_0x481818(0x2b5)]['write'](_0x5c7584[0x0],_0x2626b0);}}Ee=_0x5ea5bf;function _0x40fba6(_0x44103a,_0x39da47,_0x4be4c7){const _0x48db76=_0x34c8a4;typeof _0x4be4c7==_0x48db76(0x350)&&_0x4be4c7(_0x39da47);for(let _0x4411e8=0x0;_0x4411e8<_0x44103a[_0x48db76(0x36b)]['length'];_0x4411e8++){const _0x345332=_0x44103a[_0x48db76(0x36b)][_0x4411e8],_0x292252=_0x345332[_0x345332[_0x48db76(0x2da)]-0x1];typeof _0x292252=='function'&&_0x292252(_0x39da47);}}function _0x580ae3(_0x1cf124,_0x5484e6,_0xfa0e09){const _0x33291a=_0x34c8a4;_0x40fba6(_0x1cf124,_0x5484e6,_0xfa0e09),_0x1cf124[_0x33291a(0x349)](_0x5484e6);}return Ee;}var xe,Ze;function _0x36d2(){const _0x496377=['delete','maxRedirects','_write','getData','buffers','The\x20server\x20is\x20not\x20running','sec-websocket-key','CONNECTING','net','concurrencyLimit','_receiver','captureStackTrace','request','_maxPayload','toDisposable','slice','Blob','socketPath','removeEventListener','reason','CLOSING','port','Invalid\x20Upgrade\x20header','_threshold','__esModule','compress','get','offer','username','fin','backlog','Opening\x20handshake\x20has\x20timed\x20out','_protocol','write','text/html','Server\x20sent\x20no\x20subprotocol','toStringTag','normalizeParams','Inject','opcode','addEventListener','controlMessage','enqueue','setNoDelay','startsWith','isIP','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','jobs','_req','WebSocket','wsClientError','HTTP/1.1\x20','reset','origin','extensionName','defaultPort','pause','clientMaxWindowBits','registerDependencies','_maskBuffer','conclude','finished','decompress','objectMode','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_no_context_takeover','construct','client_no_context_takeover','set','unexpected-response','setTimeout','hostname','response','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','UniverCollaborationClientPlugin','add','followRedirects','nodebuffer','Unexpected\x20character\x20at\x20index\x20','\x20(supported\x20versions:\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','pow','errorEmitted','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt16BE','isView','env','destroy','clientNoContextTakeover','create','client_max_window_bits','tls','setSocket','string','78qwdkSY','createError','pending','_closeCode','setHeader','send','ISocketService','readyState','Server\x20sent\x20an\x20invalid\x20subprotocol','headers','Z_SYNC_FLUSH','_max_window_bits','https','_isServer','WS_ERR_INVALID_CLOSE_CODE','_state','authorized','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','extensions','nextTick','setConfig','removeAllListeners','generateMask','threshold','https:','server_max_window_bits','path','search','maxPayload','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','kWasClean','warn','_bufferedAmount','encrypted','server_no_context_takeover','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_originalIpc','_paused','_fragments','3244516BOQVDx','bind','cleanup','RSV1\x20must\x20be\x20clear','verifyClient','\x22:\x20','alloc','shift','_payloadLength','Origin','sec-websocket-version','kAborted','accept','Upgrade:\x20websocket','Unsupported\x20protocol\x20version:\x20','invalid\x20payload\x20length\x20','createConnection','WS_ERR_EXPECTED_MASK','wss:','method','hasOwnProperty','emit','_closeFrameReceived','startLoop','_extensions','binaryType','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','kRun','endEmitted','_fragmented','url','format','digest','handleEvent','params','99UyUqSA','sendFrame','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','byteOffset','_read','emitClose','_destroy','constructor','entries','Injector','_compress','terminate','Unexpected\x20end\x20of\x20input','writeUInt16BE','_server','call','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','includes','events','_originalSecure','UniverCollaborationClientNodePlugin','dataMessage','close','haveLength','listeners','readable','next','getOwnPropertyDescriptor','onopen','_writableState','_deflate','protocolVersion','species','_originalHostOrSocketPath','open','stream','@univerjs/network','number','getInfo','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','timeout','isArray','pong','WS_ERR_INVALID_OPCODE','Sec-WebSocket-Origin','Z_DEFAULT_WINDOWBITS','STATUS_CODES','frame','Invalid\x20Sec-WebSocket-Extensions\x20header','MASK\x20must\x20be\x20clear','Basic\x20','value','resume','ISnapshotServerService','location','getBlobData','handleUpgrade','_redirects','\x0d\x0a\x0d\x0a','finish','NodeCollaborationSocketService','acceptAsClient','Sec-WebSocket-Protocol:\x20','_socket','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_mask','removeListener','Unexpected\x20server\x20response:\x20','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','kCode','kDone','collaboration-client-node.config','concat','registerHTTPInterceptor','_allowSynchronousEvents','message','Observable','_opcode','_bufferedBytes','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','status-code','55GmsRRS','has','indexOf','exports','socket','websocket','readOnly','concurrency','client','Invalid\x20Sec-WebSocket-Accept\x20header','Invalid\x20Sec-WebSocket-Protocol\x20header','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','_configService','CLOSED','dispatch','_masked','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_skipUTF8Validation','_firstFragment','length','30610yhVIOr','_messageLength','createSocket','upgrade','allocUnsafe','keys','_removeListeners','abort','_closeFrameSent','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_doCreateSocket','bufferedAmount','data','mask','sec-websocket-extensions','Invalid\x20value\x20for\x20parameter\x20\x22','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','toString','host','customHeaders','Invalid\x20WebSocket\x20frame:\x20','replace','onmessage','Invalid\x20URL:\x20','http:','_loop','allowSynchronousEvents','1037752PJdVEj','unmask','noServer','push','serverMaxWindowBits','buffer','statusCode','_shouldEmitClose','The\x20\x22','_inflate','join','kTarget','sha1','clients','finishRequest','getMask','_sender','_binaryType','toLowerCase','perMessageDeflate','listenerCount','\x22\x20subprotocol\x20is\x20duplicated','byteLength','DisposableCollection','isInteger','_decompress','connect','_final','getPayloadLength16','needDrain','skipUTF8Validation','values','Connection:\x20Upgrade','sec-websocket-origin','error','pluginName','Parameter\x20\x22','_autoPong','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Module','isPaused','Unknown\x20parameter\x20\x22','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','IConfigService','acceptAsServer','password','2283132dVXmbM','serverNoContextTakeover','Max\x20payload\x20size\x20exceeded','_closeTimer','_buffers','COLLABORATION_CLIENT_NODE_CONFIG_KEY','once','ws:','14xjmTWI','zlib','getPayloadLength64','address','authorization','createInflateRaw','autoPong','server','share','Sec-WebSocket-Accept:\x20','rsv1','read','protocol','kReason','CollaborationSocketService','_registerDependencies','update','prototype','catch','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_EXPECTED_FIN','OPEN','writeUIntBE','_readyState','cookie','freeze','_errorEmitted','dequeue','Maximum\x20redirects\x20exceeded','onerror','end','handshakeTimeout','handleProtocols','dispose','_options','DependentOn','function','apply','404538qUqGya','WebSocket\x20is\x20not\x20open:\x20readyState\x20','819VIJKoT','invalid\x20opcode\x200','test','311634xZcNpG','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_errored','_totalPayloadLength','GET','_readableState','Sec-WebSocket-Extensions','_injector','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','cork','16980MXJVvC','options','_compressed','@univerjs-pro/collaboration-client','isValidUTF8','destroyed','WS_NO_BUFFER_UTIL','defineProperty','type','kListener','_queue','WS_ERR_INVALID_UTF8','blob','completeUpgrade','consume','@univerjs/core','invalid\x20UTF-8\x20sequence','ping','forEach','Plugin','getConfig','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','redirect','createDeflateRaw','base64','_closeMessage','parse','arrayBuffer','isServer','maskBuffer','servername','charCodeAt','code','zlibInflateOptions','from','Cookie','_generateMask','listening','default','ILogService','invalid\x20opcode\x20','flush','size','shouldHandle','map','readUInt32BE','target','wasClean','_fin','pipe'];_0x36d2=function(){return _0x496377;};return _0x36d2();}function It(){const _0x5c3e50=_0x2bf11d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x6fcfe1,kListener:_0x2c1b82}=H(),_0x208c52=Symbol(_0x5c3e50(0x2bb)),_0x5a061c=Symbol('kData'),_0x412371=Symbol('kError'),_0x3088ae=Symbol('kMessage'),_0x1f5bf5=Symbol(_0x5c3e50(0x339)),_0x544c6d=Symbol(_0x5c3e50(0x301)),_0x5af2a6=Symbol('kType'),_0x37cf05=Symbol(_0x5c3e50(0x249));class _0x1da1d8{constructor(_0x5e7f45){this[_0x544c6d]=null,this[_0x5af2a6]=_0x5e7f45;}get[_0x5c3e50(0x1c9)](){return this[_0x544c6d];}get[_0x5c3e50(0x369)](){return this[_0x5af2a6];}}Object['defineProperty'](_0x1da1d8[_0x5c3e50(0x33d)],_0x5c3e50(0x1c9),{'enumerable':!0x0}),Object['defineProperty'](_0x1da1d8['prototype'],_0x5c3e50(0x369),{'enumerable':!0x0});class _0x334f1c extends _0x1da1d8{constructor(_0xb6d7c8,_0x34c726={}){const _0x38a8d4=_0x5c3e50;super(_0xb6d7c8),this[_0x208c52]=_0x34c726[_0x38a8d4(0x1bb)]===void 0x0?0x0:_0x34c726[_0x38a8d4(0x1bb)],this[_0x1f5bf5]=_0x34c726[_0x38a8d4(0x1e0)]===void 0x0?'':_0x34c726[_0x38a8d4(0x1e0)],this[_0x37cf05]=_0x34c726[_0x38a8d4(0x1ca)]===void 0x0?!0x1:_0x34c726['wasClean'];}get['code'](){return this[_0x208c52];}get[_0x5c3e50(0x1e0)](){return this[_0x1f5bf5];}get[_0x5c3e50(0x1ca)](){return this[_0x37cf05];}}Object[_0x5c3e50(0x368)](_0x334f1c[_0x5c3e50(0x33d)],'code',{'enumerable':!0x0}),Object[_0x5c3e50(0x368)](_0x334f1c[_0x5c3e50(0x33d)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x334f1c['prototype'],_0x5c3e50(0x1ca),{'enumerable':!0x0});class _0x42ed3e extends _0x1da1d8{constructor(_0x5ec89e,_0x30dc7d={}){const _0x1f3072=_0x5c3e50;super(_0x5ec89e),this[_0x412371]=_0x30dc7d[_0x1f3072(0x318)]===void 0x0?null:_0x30dc7d['error'],this[_0x3088ae]=_0x30dc7d[_0x1f3072(0x2c1)]===void 0x0?'':_0x30dc7d[_0x1f3072(0x2c1)];}get[_0x5c3e50(0x318)](){return this[_0x412371];}get['message'](){return this[_0x3088ae];}}Object[_0x5c3e50(0x368)](_0x42ed3e[_0x5c3e50(0x33d)],'error',{'enumerable':!0x0}),Object[_0x5c3e50(0x368)](_0x42ed3e[_0x5c3e50(0x33d)],'message',{'enumerable':!0x0});class _0x4cbee4 extends _0x1da1d8{constructor(_0x84d10e,_0x41253c={}){const _0x44a6bb=_0x5c3e50;super(_0x84d10e),this[_0x5a061c]=_0x41253c[_0x44a6bb(0x2e7)]===void 0x0?null:_0x41253c[_0x44a6bb(0x2e7)];}get['data'](){return this[_0x5a061c];}}Object[_0x5c3e50(0x368)](_0x4cbee4['prototype'],_0x5c3e50(0x2e7),{'enumerable':!0x0}),xe={'CloseEvent':_0x334f1c,'ErrorEvent':_0x42ed3e,'Event':_0x1da1d8,'EventTarget':{'addEventListener'(_0x3a978f,_0x2c7acc,_0x4fc28f={}){const _0x2ff608=_0x5c3e50;for(const _0xa4572a of this[_0x2ff608(0x28e)](_0x3a978f))if(!_0x4fc28f[_0x6fcfe1]&&_0xa4572a[_0x2c1b82]===_0x2c7acc&&!_0xa4572a[_0x6fcfe1])return;let _0x18a553;if(_0x3a978f===_0x2ff608(0x2c1))_0x18a553=function(_0x169ec6,_0x1d809a){const _0x4f2827=_0x2ff608,_0x58d7a2=new _0x4cbee4(_0x4f2827(0x2c1),{'data':_0x1d809a?_0x169ec6:_0x169ec6[_0x4f2827(0x2ec)]()});_0x58d7a2[_0x544c6d]=this,_0x389914(_0x2c7acc,this,_0x58d7a2);};else{if(_0x3a978f==='close')_0x18a553=function(_0x1c7970,_0xefd863){const _0x1e4286=_0x2ff608,_0x2507b2=new _0x334f1c('close',{'code':_0x1c7970,'reason':_0xefd863['toString'](),'wasClean':this[_0x1e4286(0x268)]&&this[_0x1e4286(0x2e3)]});_0x2507b2[_0x544c6d]=this,_0x389914(_0x2c7acc,this,_0x2507b2);};else{if(_0x3a978f==='error')_0x18a553=function(_0x5c8631){const _0x5ddeb5=_0x2ff608,_0x50a08f=new _0x42ed3e(_0x5ddeb5(0x318),{'error':_0x5c8631,'message':_0x5c8631[_0x5ddeb5(0x2c1)]});_0x50a08f[_0x544c6d]=this,_0x389914(_0x2c7acc,this,_0x50a08f);};else{if(_0x3a978f===_0x2ff608(0x298))_0x18a553=function(){const _0x5077b8=_0x2ff608,_0x10bd0d=new _0x1da1d8(_0x5077b8(0x298));_0x10bd0d[_0x544c6d]=this,_0x389914(_0x2c7acc,this,_0x10bd0d);};else return;}}}_0x18a553[_0x6fcfe1]=!!_0x4fc28f[_0x6fcfe1],_0x18a553[_0x2c1b82]=_0x2c7acc,_0x4fc28f[_0x2ff608(0x32a)]?this[_0x2ff608(0x32a)](_0x3a978f,_0x18a553):this['on'](_0x3a978f,_0x18a553);},'removeEventListener'(_0x2694fa,_0x24774b){const _0x3ee5a8=_0x5c3e50;for(const _0x7ec329 of this[_0x3ee5a8(0x28e)](_0x2694fa))if(_0x7ec329[_0x2c1b82]===_0x24774b&&!_0x7ec329[_0x6fcfe1]){this[_0x3ee5a8(0x2b8)](_0x2694fa,_0x7ec329);break;}}},'MessageEvent':_0x4cbee4};function _0x389914(_0x33350d,_0x482978,_0x4d548f){const _0xe36d3e=_0x5c3e50;typeof _0x33350d=='object'&&_0x33350d[_0xe36d3e(0x273)]?_0x33350d[_0xe36d3e(0x273)]['call'](_0x33350d,_0x4d548f):_0x33350d['call'](_0x482978,_0x4d548f);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x24206f}=ae();function _0x3729bf(_0x1de4a3,_0x2e4647,_0x3beef4){const _0x458bd3=_0x41fb;_0x1de4a3[_0x2e4647]===void 0x0?_0x1de4a3[_0x2e4647]=[_0x3beef4]:_0x1de4a3[_0x2e4647][_0x458bd3(0x2f9)](_0x3beef4);}function _0x439c76(_0x3bac09){const _0x2ed4df=_0x41fb,_0x293405=Object[_0x2ed4df(0x226)](null);let _0x59e29b=Object[_0x2ed4df(0x226)](null),_0xdaff2d=!0x1,_0x3a6ca4=!0x1,_0x5f4144=!0x1,_0x58f66b,_0x17355f,_0x1e189b=-0x1,_0x38211b=-0x1,_0x17a23a=-0x1,_0xf4918d=0x0;for(;_0xf4918d<_0x3bac09[_0x2ed4df(0x2da)];_0xf4918d++)if(_0x38211b=_0x3bac09[_0x2ed4df(0x1ba)](_0xf4918d),_0x58f66b===void 0x0){if(_0x17a23a===-0x1&&_0x24206f[_0x38211b]===0x1)_0x1e189b===-0x1&&(_0x1e189b=_0xf4918d);else{if(_0xf4918d!==0x0&&(_0x38211b===0x20||_0x38211b===0x9))_0x17a23a===-0x1&&_0x1e189b!==-0x1&&(_0x17a23a=_0xf4918d);else{if(_0x38211b===0x3b||_0x38211b===0x2c){if(_0x1e189b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xf4918d);_0x17a23a===-0x1&&(_0x17a23a=_0xf4918d);const _0x24aa6e=_0x3bac09[_0x2ed4df(0x1dc)](_0x1e189b,_0x17a23a);_0x38211b===0x2c?(_0x3729bf(_0x293405,_0x24aa6e,_0x59e29b),_0x59e29b=Object[_0x2ed4df(0x226)](null)):_0x58f66b=_0x24aa6e,_0x1e189b=_0x17a23a=-0x1;}else throw new SyntaxError(_0x2ed4df(0x21b)+_0xf4918d);}}}else{if(_0x17355f===void 0x0){if(_0x17a23a===-0x1&&_0x24206f[_0x38211b]===0x1)_0x1e189b===-0x1&&(_0x1e189b=_0xf4918d);else{if(_0x38211b===0x20||_0x38211b===0x9)_0x17a23a===-0x1&&_0x1e189b!==-0x1&&(_0x17a23a=_0xf4918d);else{if(_0x38211b===0x3b||_0x38211b===0x2c){if(_0x1e189b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xf4918d);_0x17a23a===-0x1&&(_0x17a23a=_0xf4918d),_0x3729bf(_0x59e29b,_0x3bac09[_0x2ed4df(0x1dc)](_0x1e189b,_0x17a23a),!0x0),_0x38211b===0x2c&&(_0x3729bf(_0x293405,_0x58f66b,_0x59e29b),_0x59e29b=Object['create'](null),_0x58f66b=void 0x0),_0x1e189b=_0x17a23a=-0x1;}else{if(_0x38211b===0x3d&&_0x1e189b!==-0x1&&_0x17a23a===-0x1)_0x17355f=_0x3bac09['slice'](_0x1e189b,_0xf4918d),_0x1e189b=_0x17a23a=-0x1;else throw new SyntaxError(_0x2ed4df(0x21b)+_0xf4918d);}}}}else{if(_0x3a6ca4){if(_0x24206f[_0x38211b]!==0x1)throw new SyntaxError(_0x2ed4df(0x21b)+_0xf4918d);_0x1e189b===-0x1?_0x1e189b=_0xf4918d:_0xdaff2d||(_0xdaff2d=!0x0),_0x3a6ca4=!0x1;}else{if(_0x5f4144){if(_0x24206f[_0x38211b]===0x1)_0x1e189b===-0x1&&(_0x1e189b=_0xf4918d);else{if(_0x38211b===0x22&&_0x1e189b!==-0x1)_0x5f4144=!0x1,_0x17a23a=_0xf4918d;else{if(_0x38211b===0x5c)_0x3a6ca4=!0x0;else throw new SyntaxError(_0x2ed4df(0x21b)+_0xf4918d);}}}else{if(_0x38211b===0x22&&_0x3bac09['charCodeAt'](_0xf4918d-0x1)===0x3d)_0x5f4144=!0x0;else{if(_0x17a23a===-0x1&&_0x24206f[_0x38211b]===0x1)_0x1e189b===-0x1&&(_0x1e189b=_0xf4918d);else{if(_0x1e189b!==-0x1&&(_0x38211b===0x20||_0x38211b===0x9))_0x17a23a===-0x1&&(_0x17a23a=_0xf4918d);else{if(_0x38211b===0x3b||_0x38211b===0x2c){if(_0x1e189b===-0x1)throw new SyntaxError(_0x2ed4df(0x21b)+_0xf4918d);_0x17a23a===-0x1&&(_0x17a23a=_0xf4918d);let _0x317e47=_0x3bac09[_0x2ed4df(0x1dc)](_0x1e189b,_0x17a23a);_0xdaff2d&&(_0x317e47=_0x317e47[_0x2ed4df(0x2f0)](/\\/g,''),_0xdaff2d=!0x1),_0x3729bf(_0x59e29b,_0x17355f,_0x317e47),_0x38211b===0x2c&&(_0x3729bf(_0x293405,_0x58f66b,_0x59e29b),_0x59e29b=Object[_0x2ed4df(0x226)](null),_0x58f66b=void 0x0),_0x17355f=void 0x0,_0x1e189b=_0x17a23a=-0x1;}else throw new SyntaxError(_0x2ed4df(0x21b)+_0xf4918d);}}}}}}}if(_0x1e189b===-0x1||_0x5f4144||_0x38211b===0x20||_0x38211b===0x9)throw new SyntaxError(_0x2ed4df(0x282));_0x17a23a===-0x1&&(_0x17a23a=_0xf4918d);const _0x43a7d8=_0x3bac09[_0x2ed4df(0x1dc)](_0x1e189b,_0x17a23a);return _0x58f66b===void 0x0?_0x3729bf(_0x293405,_0x43a7d8,_0x59e29b):(_0x17355f===void 0x0?_0x3729bf(_0x59e29b,_0x43a7d8,!0x0):_0xdaff2d?_0x3729bf(_0x59e29b,_0x17355f,_0x43a7d8[_0x2ed4df(0x2f0)](/\\/g,'')):_0x3729bf(_0x59e29b,_0x17355f,_0x43a7d8),_0x3729bf(_0x293405,_0x58f66b,_0x59e29b)),_0x293405;}function _0x3346cf(_0xb10a98){const _0x442989=_0x41fb;return Object[_0x442989(0x2e0)](_0xb10a98)['map'](_0x4d1eee=>{const _0x278601=_0x442989;let _0x35a8c9=_0xb10a98[_0x4d1eee];return Array[_0x278601(0x29f)](_0x35a8c9)||(_0x35a8c9=[_0x35a8c9]),_0x35a8c9[_0x278601(0x1c7)](_0x2cc320=>[_0x4d1eee][_0x278601(0x2be)](Object[_0x278601(0x2e0)](_0x2cc320)[_0x278601(0x1c7)](_0x7eaa76=>{const _0x1911cf=_0x278601;let _0x127618=_0x2cc320[_0x7eaa76];return Array['isArray'](_0x127618)||(_0x127618=[_0x127618]),_0x127618[_0x1911cf(0x1c7)](_0x345ee1=>_0x345ee1===!0x0?_0x7eaa76:_0x7eaa76+'='+_0x345ee1)[_0x1911cf(0x300)](';\x20');}))[_0x278601(0x300)](';\x20'))[_0x278601(0x300)](',\x20');})[_0x442989(0x300)](',\x20');}return be={'format':_0x3346cf,'parse':_0x439c76},be;}var we,Je;function Pe(){const _0x338ea3=_0x2bf11d;if(Je)return we;Je=0x1;const _0x8eb66e=nt,_0x1b2337=vt,_0x4b6b27=ot,_0x205acc=St,_0x390926=Et,{randomBytes:_0x5c82eb,createHash:_0x2d51c4}=Le,{Duplex:_0x4de7d5,Readable:_0x346f38}=oe,{URL:_0x31270f}=xt,_0x37c5a2=he(),_0x44e326=lt(),_0x2f6b90=ft(),{isBlob:_0x3309f6}=ae(),{BINARY_TYPES:_0x1e9783,EMPTY_BUFFER:_0xecd79d,GUID:_0x117e2e,kForOnEventAttribute:_0xdf817d,kListener:_0x26e6d2,kStatusCode:_0x5ddd35,kWebSocket:_0x33b8c8,NOOP:_0x254f45}=H(),{EventTarget:{addEventListener:_0x5e86ef,removeEventListener:_0x3cf0c0}}=It(),{format:_0x56e717,parse:_0x162c19}=ct(),{toBuffer:_0x292194}=ce(),_0x321a14=0x1e*0x3e8,_0x510699=Symbol(_0x338ea3(0x25d)),_0x2d15dc=[0x8,0xd],_0x24e4fb=[_0x338ea3(0x1d4),_0x338ea3(0x341),_0x338ea3(0x1e1),_0x338ea3(0x2d4)],_0x544834=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3c5a6f extends _0x8eb66e{constructor(_0x2b27ad,_0x15fb3c,_0x15e53c){const _0x58c529=_0x338ea3;super(),this[_0x58c529(0x307)]=_0x1e9783[0x0],this['_closeCode']=0x3ee,this[_0x58c529(0x268)]=!0x1,this[_0x58c529(0x2e3)]=!0x1,this[_0x58c529(0x37a)]=_0xecd79d,this[_0x58c529(0x327)]=null,this[_0x58c529(0x346)]=!0x1,this[_0x58c529(0x26a)]={},this['_paused']=!0x1,this[_0x58c529(0x1ed)]='',this[_0x58c529(0x343)]=_0x3c5a6f[_0x58c529(0x1d4)],this[_0x58c529(0x1d7)]=null,this[_0x58c529(0x306)]=null,this['_socket']=null,_0x2b27ad!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x58c529(0x2af)]=0x0,_0x15fb3c===void 0x0?_0x15fb3c=[]:Array['isArray'](_0x15fb3c)||(typeof _0x15fb3c=='object'&&_0x15fb3c!==null?(_0x15e53c=_0x15fb3c,_0x15fb3c=[]):_0x15fb3c=[_0x15fb3c]),_0x2e3a45(this,_0x2b27ad,_0x15fb3c,_0x15e53c)):(this[_0x58c529(0x31b)]=_0x15e53c[_0x58c529(0x332)],this[_0x58c529(0x238)]=!0x0);}get[_0x338ea3(0x26b)](){const _0x2e25b5=_0x338ea3;return this[_0x2e25b5(0x307)];}set[_0x338ea3(0x26b)](_0x519e99){const _0xd86b1f=_0x338ea3;_0x1e9783[_0xd86b1f(0x287)](_0x519e99)&&(this[_0xd86b1f(0x307)]=_0x519e99,this['_receiver']&&(this[_0xd86b1f(0x1d7)][_0xd86b1f(0x307)]=_0x519e99));}get[_0x338ea3(0x2e6)](){const _0x3c1486=_0x338ea3;return this[_0x3c1486(0x2b5)]?this[_0x3c1486(0x2b5)]['_writableState'][_0x3c1486(0x2da)]+this['_sender'][_0x3c1486(0x2c4)]:this[_0x3c1486(0x24b)];}get[_0x338ea3(0x23d)](){const _0x216f95=_0x338ea3;return Object[_0x216f95(0x2e0)](this[_0x216f95(0x26a)])[_0x216f95(0x300)]();}get[_0x338ea3(0x31e)](){const _0x48f307=_0x338ea3;return this[_0x48f307(0x250)];}get['onclose'](){return null;}get[_0x338ea3(0x349)](){return null;}get[_0x338ea3(0x292)](){return null;}get[_0x338ea3(0x2f1)](){return null;}get[_0x338ea3(0x338)](){const _0x3eff30=_0x338ea3;return this[_0x3eff30(0x1ed)];}get[_0x338ea3(0x232)](){const _0x4f9dac=_0x338ea3;return this[_0x4f9dac(0x343)];}get[_0x338ea3(0x270)](){return this['_url'];}[_0x338ea3(0x229)](_0x12d4b9,_0x554183,_0x563fcb){const _0x3b68e5=_0x338ea3,_0x5c04d8=new _0x44e326({'allowSynchronousEvents':_0x563fcb['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x563fcb[_0x3b68e5(0x247)],'skipUTF8Validation':_0x563fcb[_0x3b68e5(0x314)]}),_0x4887a8=new _0x2f6b90(_0x12d4b9,this[_0x3b68e5(0x26a)],_0x563fcb['generateMask']);this[_0x3b68e5(0x1d7)]=_0x5c04d8,this[_0x3b68e5(0x306)]=_0x4887a8,this[_0x3b68e5(0x2b5)]=_0x12d4b9,_0x5c04d8[_0x33b8c8]=this,_0x4887a8[_0x33b8c8]=this,_0x12d4b9[_0x33b8c8]=this,_0x5c04d8['on'](_0x3b68e5(0x209),_0x1570c),_0x5c04d8['on']('drain',_0x513451),_0x5c04d8['on'](_0x3b68e5(0x318),_0x197eb9),_0x5c04d8['on']('message',_0x187a53),_0x5c04d8['on']('ping',_0x3360d9),_0x5c04d8['on'](_0x3b68e5(0x2a0),_0x59055f),_0x4887a8[_0x3b68e5(0x349)]=_0x234d7d,_0x12d4b9[_0x3b68e5(0x213)]&&_0x12d4b9[_0x3b68e5(0x213)](0x0),_0x12d4b9['setNoDelay']&&_0x12d4b9[_0x3b68e5(0x1f8)](),_0x554183[_0x3b68e5(0x2da)]>0x0&&_0x12d4b9['unshift'](_0x554183),_0x12d4b9['on'](_0x3b68e5(0x28c),_0x3792e8),_0x12d4b9['on'](_0x3b68e5(0x2e7),_0x3adfec),_0x12d4b9['on'](_0x3b68e5(0x34a),_0x4eb87d),_0x12d4b9['on'](_0x3b68e5(0x318),_0x2dec85),this['_readyState']=_0x3c5a6f[_0x3b68e5(0x341)],this[_0x3b68e5(0x267)](_0x3b68e5(0x298));}[_0x338ea3(0x27b)](){const _0x131182=_0x338ea3;if(!this[_0x131182(0x2b5)]){this[_0x131182(0x343)]=_0x3c5a6f[_0x131182(0x2d4)],this[_0x131182(0x267)](_0x131182(0x28c),this[_0x131182(0x22e)],this[_0x131182(0x37a)]);return;}this[_0x131182(0x26a)][_0x37c5a2['extensionName']]&&this[_0x131182(0x26a)][_0x37c5a2[_0x131182(0x203)]]['cleanup'](),this[_0x131182(0x1d7)][_0x131182(0x240)](),this[_0x131182(0x343)]=_0x3c5a6f['CLOSED'],this[_0x131182(0x267)](_0x131182(0x28c),this['_closeCode'],this[_0x131182(0x37a)]);}[_0x338ea3(0x28c)](_0x522a8f,_0x17803c){const _0xde1381=_0x338ea3;if(this[_0xde1381(0x232)]!==_0x3c5a6f[_0xde1381(0x2d4)]){if(this['readyState']===_0x3c5a6f[_0xde1381(0x1d4)]){_0x5573ac(this,this[_0xde1381(0x1fd)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x3c5a6f[_0xde1381(0x1e1)]){this[_0xde1381(0x2e3)]&&(this[_0xde1381(0x268)]||this[_0xde1381(0x1d7)][_0xde1381(0x293)][_0xde1381(0x21f)])&&this[_0xde1381(0x2b5)][_0xde1381(0x34a)]();return;}this[_0xde1381(0x343)]=_0x3c5a6f[_0xde1381(0x1e1)],this[_0xde1381(0x306)][_0xde1381(0x28c)](_0x522a8f,_0x17803c,!this[_0xde1381(0x238)],_0x3399b2=>{const _0x2cbd83=_0xde1381;_0x3399b2||(this['_closeFrameSent']=!0x0,(this[_0x2cbd83(0x268)]||this[_0x2cbd83(0x1d7)][_0x2cbd83(0x293)][_0x2cbd83(0x21f)])&&this[_0x2cbd83(0x2b5)][_0x2cbd83(0x34a)]());}),_0x476e7b(this);}}[_0x338ea3(0x205)](){const _0xa69d48=_0x338ea3;this[_0xa69d48(0x232)]===_0x3c5a6f['CONNECTING']||this['readyState']===_0x3c5a6f['CLOSED']||(this[_0xa69d48(0x250)]=!0x0,this[_0xa69d48(0x2b5)]['pause']());}[_0x338ea3(0x372)](_0x4ddde8,_0x22176a,_0x936208){const _0x4b377a=_0x338ea3;if(this['readyState']===_0x3c5a6f[_0x4b377a(0x1d4)])throw new Error(_0x4b377a(0x376));if(typeof _0x4ddde8==_0x4b377a(0x350)?(_0x936208=_0x4ddde8,_0x4ddde8=_0x22176a=void 0x0):typeof _0x22176a=='function'&&(_0x936208=_0x22176a,_0x22176a=void 0x0),typeof _0x4ddde8==_0x4b377a(0x29b)&&(_0x4ddde8=_0x4ddde8[_0x4b377a(0x2ec)]()),this[_0x4b377a(0x232)]!==_0x3c5a6f[_0x4b377a(0x341)]){_0x483538(this,_0x4ddde8,_0x936208);return;}_0x22176a===void 0x0&&(_0x22176a=!this[_0x4b377a(0x238)]),this[_0x4b377a(0x306)][_0x4b377a(0x372)](_0x4ddde8||_0xecd79d,_0x22176a,_0x936208);}[_0x338ea3(0x2a0)](_0x49cdff,_0x2d40db,_0x3903a0){const _0x3cfd79=_0x338ea3;if(this['readyState']===_0x3c5a6f['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x49cdff==_0x3cfd79(0x350)?(_0x3903a0=_0x49cdff,_0x49cdff=_0x2d40db=void 0x0):typeof _0x2d40db==_0x3cfd79(0x350)&&(_0x3903a0=_0x2d40db,_0x2d40db=void 0x0),typeof _0x49cdff==_0x3cfd79(0x29b)&&(_0x49cdff=_0x49cdff[_0x3cfd79(0x2ec)]()),this['readyState']!==_0x3c5a6f['OPEN']){_0x483538(this,_0x49cdff,_0x3903a0);return;}_0x2d40db===void 0x0&&(_0x2d40db=!this[_0x3cfd79(0x238)]),this[_0x3cfd79(0x306)]['pong'](_0x49cdff||_0xecd79d,_0x2d40db,_0x3903a0);}[_0x338ea3(0x2aa)](){const _0x45400c=_0x338ea3;this['readyState']===_0x3c5a6f['CONNECTING']||this[_0x45400c(0x232)]===_0x3c5a6f[_0x45400c(0x2d4)]||(this[_0x45400c(0x250)]=!0x1,this['_receiver'][_0x45400c(0x293)][_0x45400c(0x313)]||this[_0x45400c(0x2b5)][_0x45400c(0x2aa)]());}[_0x338ea3(0x230)](_0x11730e,_0x48803e,_0x1b291b){const _0x1f9458=_0x338ea3;if(this[_0x1f9458(0x232)]===_0x3c5a6f['CONNECTING'])throw new Error(_0x1f9458(0x376));if(typeof _0x48803e==_0x1f9458(0x350)&&(_0x1b291b=_0x48803e,_0x48803e={}),typeof _0x11730e==_0x1f9458(0x29b)&&(_0x11730e=_0x11730e[_0x1f9458(0x2ec)]()),this[_0x1f9458(0x232)]!==_0x3c5a6f[_0x1f9458(0x341)]){_0x483538(this,_0x11730e,_0x1b291b);return;}const _0x2aa56b={'binary':typeof _0x11730e!=_0x1f9458(0x22a),'mask':!this[_0x1f9458(0x238)],'compress':!0x0,'fin':!0x0,..._0x48803e};this[_0x1f9458(0x26a)][_0x37c5a2[_0x1f9458(0x203)]]||(_0x2aa56b[_0x1f9458(0x1e6)]=!0x1),this[_0x1f9458(0x306)][_0x1f9458(0x230)](_0x11730e||_0xecd79d,_0x2aa56b,_0x1b291b);}['terminate'](){const _0x5ee34d=_0x338ea3;if(this[_0x5ee34d(0x232)]!==_0x3c5a6f['CLOSED']){if(this['readyState']===_0x3c5a6f['CONNECTING']){_0x5573ac(this,this[_0x5ee34d(0x1fd)],_0x5ee34d(0x35f));return;}this[_0x5ee34d(0x2b5)]&&(this[_0x5ee34d(0x343)]=_0x3c5a6f[_0x5ee34d(0x1e1)],this[_0x5ee34d(0x2b5)][_0x5ee34d(0x224)]());}}}Object[_0x338ea3(0x368)](_0x3c5a6f,'CONNECTING',{'enumerable':!0x0,'value':_0x24e4fb[_0x338ea3(0x2c9)](_0x338ea3(0x1d4))}),Object['defineProperty'](_0x3c5a6f['prototype'],_0x338ea3(0x1d4),{'enumerable':!0x0,'value':_0x24e4fb[_0x338ea3(0x2c9)](_0x338ea3(0x1d4))}),Object[_0x338ea3(0x368)](_0x3c5a6f,_0x338ea3(0x341),{'enumerable':!0x0,'value':_0x24e4fb[_0x338ea3(0x2c9)]('OPEN')}),Object[_0x338ea3(0x368)](_0x3c5a6f['prototype'],_0x338ea3(0x341),{'enumerable':!0x0,'value':_0x24e4fb['indexOf'](_0x338ea3(0x341))}),Object[_0x338ea3(0x368)](_0x3c5a6f,_0x338ea3(0x1e1),{'enumerable':!0x0,'value':_0x24e4fb[_0x338ea3(0x2c9)](_0x338ea3(0x1e1))}),Object[_0x338ea3(0x368)](_0x3c5a6f[_0x338ea3(0x33d)],_0x338ea3(0x1e1),{'enumerable':!0x0,'value':_0x24e4fb[_0x338ea3(0x2c9)](_0x338ea3(0x1e1))}),Object['defineProperty'](_0x3c5a6f,_0x338ea3(0x2d4),{'enumerable':!0x0,'value':_0x24e4fb[_0x338ea3(0x2c9)]('CLOSED')}),Object[_0x338ea3(0x368)](_0x3c5a6f[_0x338ea3(0x33d)],'CLOSED',{'enumerable':!0x0,'value':_0x24e4fb[_0x338ea3(0x2c9)](_0x338ea3(0x2d4))}),['binaryType','bufferedAmount',_0x338ea3(0x23d),'isPaused','protocol',_0x338ea3(0x232),_0x338ea3(0x270)][_0x338ea3(0x373)](_0x18cb6e=>{const _0x593f2f=_0x338ea3;Object[_0x593f2f(0x368)](_0x3c5a6f[_0x593f2f(0x33d)],_0x18cb6e,{'enumerable':!0x0});}),['open',_0x338ea3(0x318),_0x338ea3(0x28c),_0x338ea3(0x2c1)][_0x338ea3(0x373)](_0x10c88e=>{const _0x59dcae=_0x338ea3;Object[_0x59dcae(0x368)](_0x3c5a6f[_0x59dcae(0x33d)],'on'+_0x10c88e,{'enumerable':!0x0,'get'(){const _0x2dc9e1=_0x59dcae;for(const _0x15b4e9 of this[_0x2dc9e1(0x28e)](_0x10c88e))if(_0x15b4e9[_0xdf817d])return _0x15b4e9[_0x26e6d2];return null;},'set'(_0x33c086){const _0x1b68e3=_0x59dcae;for(const _0x5929bb of this[_0x1b68e3(0x28e)](_0x10c88e))if(_0x5929bb[_0xdf817d]){this[_0x1b68e3(0x2b8)](_0x10c88e,_0x5929bb);break;}typeof _0x33c086=='function'&&this['addEventListener'](_0x10c88e,_0x33c086,{[_0xdf817d]:!0x0});}});}),_0x3c5a6f[_0x338ea3(0x33d)][_0x338ea3(0x1f5)]=_0x5e86ef,_0x3c5a6f[_0x338ea3(0x33d)]['removeEventListener']=_0x3cf0c0,we=_0x3c5a6f;function _0x2e3a45(_0x3ec46f,_0x35e0a0,_0x1d4526,_0x12e8ec){const _0x1d18ca=_0x338ea3,_0x35fa1c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2d15dc[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x12e8ec,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1d18ca(0x35b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3ec46f['_autoPong']=_0x35fa1c['autoPong'],!_0x2d15dc['includes'](_0x35fa1c['protocolVersion']))throw new RangeError(_0x1d18ca(0x260)+_0x35fa1c[_0x1d18ca(0x295)]+_0x1d18ca(0x21c)+_0x2d15dc[_0x1d18ca(0x300)](',\x20')+')');let _0x33213d;if(_0x35e0a0 instanceof _0x31270f)_0x33213d=_0x35e0a0;else try{_0x33213d=new _0x31270f(_0x35e0a0);}catch{throw new SyntaxError(_0x1d18ca(0x2f2)+_0x35e0a0);}_0x33213d[_0x1d18ca(0x338)]===_0x1d18ca(0x2f3)?_0x33213d[_0x1d18ca(0x338)]=_0x1d18ca(0x32b):_0x33213d['protocol']===_0x1d18ca(0x243)&&(_0x33213d['protocol']=_0x1d18ca(0x264)),_0x3ec46f['_url']=_0x33213d['href'];const _0x4c5c18=_0x33213d['protocol']===_0x1d18ca(0x264),_0x4621ae=_0x33213d[_0x1d18ca(0x338)]==='ws+unix:';let _0x4c4f13;if(_0x33213d[_0x1d18ca(0x338)]!==_0x1d18ca(0x32b)&&!_0x4c5c18&&!_0x4621ae?_0x4c4f13=_0x1d18ca(0x2d2):_0x4621ae&&!_0x33213d['pathname']?_0x4c4f13='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x33213d['hash']&&(_0x4c4f13='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x4c4f13){const _0x2b8a4c=new SyntaxError(_0x4c4f13);if(_0x3ec46f[_0x1d18ca(0x2af)]===0x0)throw _0x2b8a4c;_0x414c6a(_0x3ec46f,_0x2b8a4c);return;}const _0x5d5cb2=_0x4c5c18?0x1bb:0x50,_0x1882d9=_0x5c82eb(0x10)[_0x1d18ca(0x2ec)]('base64'),_0x452ce9=_0x4c5c18?_0x1b2337[_0x1d18ca(0x1d9)]:_0x4b6b27[_0x1d18ca(0x1d9)],_0x18365c=new Set();let _0x1e14a3;if(_0x35fa1c[_0x1d18ca(0x262)]=_0x35fa1c[_0x1d18ca(0x262)]||(_0x4c5c18?_0x1fd8be:_0x5e3046),_0x35fa1c[_0x1d18ca(0x204)]=_0x35fa1c[_0x1d18ca(0x204)]||_0x5d5cb2,_0x35fa1c[_0x1d18ca(0x1e2)]=_0x33213d[_0x1d18ca(0x1e2)]||_0x5d5cb2,_0x35fa1c[_0x1d18ca(0x2ed)]=_0x33213d['hostname'][_0x1d18ca(0x1f9)]('[')?_0x33213d[_0x1d18ca(0x214)][_0x1d18ca(0x1dc)](0x1,-0x1):_0x33213d['hostname'],_0x35fa1c['headers']={..._0x35fa1c['headers'],'Sec-WebSocket-Version':_0x35fa1c[_0x1d18ca(0x295)],'Sec-WebSocket-Key':_0x1882d9,'Connection':'Upgrade','Upgrade':'websocket'},_0x35fa1c[_0x1d18ca(0x245)]=_0x33213d['pathname']+_0x33213d[_0x1d18ca(0x246)],_0x35fa1c[_0x1d18ca(0x29e)]=_0x35fa1c[_0x1d18ca(0x34b)],_0x35fa1c[_0x1d18ca(0x309)]&&(_0x1e14a3=new _0x37c5a2(_0x35fa1c[_0x1d18ca(0x309)]!==!0x0?_0x35fa1c['perMessageDeflate']:{},!0x1,_0x35fa1c['maxPayload']),_0x35fa1c[_0x1d18ca(0x234)][_0x1d18ca(0x35d)]=_0x56e717({[_0x37c5a2[_0x1d18ca(0x203)]]:_0x1e14a3['offer']()})),_0x1d4526[_0x1d18ca(0x2da)]){for(const _0x54ef87 of _0x1d4526){if(typeof _0x54ef87!=_0x1d18ca(0x22a)||!_0x544834[_0x1d18ca(0x356)](_0x54ef87)||_0x18365c[_0x1d18ca(0x2c8)](_0x54ef87))throw new SyntaxError(_0x1d18ca(0x26c));_0x18365c[_0x1d18ca(0x218)](_0x54ef87);}_0x35fa1c['headers']['Sec-WebSocket-Protocol']=_0x1d4526[_0x1d18ca(0x300)](',');}if(_0x35fa1c[_0x1d18ca(0x202)]&&(_0x35fa1c[_0x1d18ca(0x295)]<0xd?_0x35fa1c[_0x1d18ca(0x234)][_0x1d18ca(0x2a2)]=_0x35fa1c['origin']:_0x35fa1c[_0x1d18ca(0x234)][_0x1d18ca(0x25b)]=_0x35fa1c['origin']),(_0x33213d[_0x1d18ca(0x1e9)]||_0x33213d['password'])&&(_0x35fa1c['auth']=_0x33213d[_0x1d18ca(0x1e9)]+':'+_0x33213d[_0x1d18ca(0x323)]),_0x4621ae){const _0x3ce01e=_0x35fa1c[_0x1d18ca(0x245)]['split'](':');_0x35fa1c[_0x1d18ca(0x1de)]=_0x3ce01e[0x0],_0x35fa1c['path']=_0x3ce01e[0x1];}let _0x2e4545;if(_0x35fa1c['followRedirects']){if(_0x3ec46f[_0x1d18ca(0x2af)]===0x0){_0x3ec46f[_0x1d18ca(0x24f)]=_0x4621ae,_0x3ec46f[_0x1d18ca(0x289)]=_0x4c5c18,_0x3ec46f[_0x1d18ca(0x297)]=_0x4621ae?_0x35fa1c[_0x1d18ca(0x1de)]:_0x33213d[_0x1d18ca(0x2ed)];const _0x11e24a=_0x12e8ec&&_0x12e8ec[_0x1d18ca(0x234)];if(_0x12e8ec={..._0x12e8ec,'headers':{}},_0x11e24a){for(const [_0x47162f,_0x5ae39d]of Object[_0x1d18ca(0x27e)](_0x11e24a))_0x12e8ec[_0x1d18ca(0x234)][_0x47162f[_0x1d18ca(0x308)]()]=_0x5ae39d;}}else{if(_0x3ec46f['listenerCount'](_0x1d18ca(0x377))===0x0){const _0x1f3b4f=_0x4621ae?_0x3ec46f['_originalIpc']?_0x35fa1c[_0x1d18ca(0x1de)]===_0x3ec46f[_0x1d18ca(0x297)]:!0x1:_0x3ec46f['_originalIpc']?!0x1:_0x33213d[_0x1d18ca(0x2ed)]===_0x3ec46f[_0x1d18ca(0x297)];(!_0x1f3b4f||_0x3ec46f['_originalSecure']&&!_0x4c5c18)&&(delete _0x35fa1c[_0x1d18ca(0x234)][_0x1d18ca(0x330)],delete _0x35fa1c[_0x1d18ca(0x234)]['cookie'],_0x1f3b4f||delete _0x35fa1c[_0x1d18ca(0x234)][_0x1d18ca(0x2ed)],_0x35fa1c['auth']=void 0x0);}}_0x35fa1c['auth']&&!_0x12e8ec[_0x1d18ca(0x234)][_0x1d18ca(0x330)]&&(_0x12e8ec[_0x1d18ca(0x234)][_0x1d18ca(0x330)]=_0x1d18ca(0x2a8)+Buffer[_0x1d18ca(0x1bd)](_0x35fa1c['auth'])['toString'](_0x1d18ca(0x379))),_0x2e4545=_0x3ec46f['_req']=_0x452ce9(_0x35fa1c),_0x3ec46f['_redirects']&&_0x3ec46f[_0x1d18ca(0x267)]('redirect',_0x3ec46f['url'],_0x2e4545);}else _0x2e4545=_0x3ec46f[_0x1d18ca(0x1fd)]=_0x452ce9(_0x35fa1c);_0x35fa1c[_0x1d18ca(0x29e)]&&_0x2e4545['on']('timeout',()=>{const _0x1c909f=_0x1d18ca;_0x5573ac(_0x3ec46f,_0x2e4545,_0x1c909f(0x1ec));}),_0x2e4545['on']('error',_0x541513=>{const _0x401657=_0x1d18ca;_0x2e4545===null||_0x2e4545[_0x510699]||(_0x2e4545=_0x3ec46f[_0x401657(0x1fd)]=null,_0x414c6a(_0x3ec46f,_0x541513));}),_0x2e4545['on'](_0x1d18ca(0x215),_0x4a96b5=>{const _0x5b61af=_0x1d18ca,_0x4c0206=_0x4a96b5['headers'][_0x5b61af(0x2ac)],_0x18ec19=_0x4a96b5['statusCode'];if(_0x4c0206&&_0x35fa1c[_0x5b61af(0x219)]&&_0x18ec19>=0x12c&&_0x18ec19<0x190){if(++_0x3ec46f[_0x5b61af(0x2af)]>_0x35fa1c[_0x5b61af(0x1ce)]){_0x5573ac(_0x3ec46f,_0x2e4545,_0x5b61af(0x348));return;}_0x2e4545[_0x5b61af(0x2e2)]();let _0x5441e8;try{_0x5441e8=new _0x31270f(_0x4c0206,_0x35e0a0);}catch{const _0x540c14=new SyntaxError(_0x5b61af(0x2f2)+_0x4c0206);_0x414c6a(_0x3ec46f,_0x540c14);return;}_0x2e3a45(_0x3ec46f,_0x5441e8,_0x1d4526,_0x12e8ec);}else _0x3ec46f[_0x5b61af(0x267)](_0x5b61af(0x212),_0x2e4545,_0x4a96b5)||_0x5573ac(_0x3ec46f,_0x2e4545,_0x5b61af(0x2b9)+_0x4a96b5[_0x5b61af(0x2fc)]);}),_0x2e4545['on'](_0x1d18ca(0x2de),(_0x2aeb62,_0x45b6cb,_0x2b4061)=>{const _0x14e966=_0x1d18ca;if(_0x3ec46f[_0x14e966(0x267)](_0x14e966(0x2de),_0x2aeb62),_0x3ec46f[_0x14e966(0x232)]!==_0x3c5a6f[_0x14e966(0x1d4)])return;_0x2e4545=_0x3ec46f[_0x14e966(0x1fd)]=null;const _0x5cd7e8=_0x2aeb62[_0x14e966(0x234)][_0x14e966(0x2de)];if(_0x5cd7e8===void 0x0||_0x5cd7e8['toLowerCase']()!=='websocket'){_0x5573ac(_0x3ec46f,_0x45b6cb,_0x14e966(0x1e3));return;}const _0x117a98=_0x2d51c4(_0x14e966(0x302))[_0x14e966(0x33c)](_0x1882d9+_0x117e2e)['digest']('base64');if(_0x2aeb62['headers']['sec-websocket-accept']!==_0x117a98){_0x5573ac(_0x3ec46f,_0x45b6cb,_0x14e966(0x2d0));return;}const _0x3a3964=_0x2aeb62[_0x14e966(0x234)]['sec-websocket-protocol'];let _0x87a2ca;if(_0x3a3964!==void 0x0?_0x18365c[_0x14e966(0x1c5)]?_0x18365c[_0x14e966(0x2c8)](_0x3a3964)||(_0x87a2ca=_0x14e966(0x233)):_0x87a2ca=_0x14e966(0x248):_0x18365c[_0x14e966(0x1c5)]&&(_0x87a2ca=_0x14e966(0x1f0)),_0x87a2ca){_0x5573ac(_0x3ec46f,_0x45b6cb,_0x87a2ca);return;}_0x3a3964&&(_0x3ec46f[_0x14e966(0x1ed)]=_0x3a3964);const _0x26fbba=_0x2aeb62[_0x14e966(0x234)]['sec-websocket-extensions'];if(_0x26fbba!==void 0x0){if(!_0x1e14a3){_0x5573ac(_0x3ec46f,_0x45b6cb,_0x14e966(0x29d));return;}let _0x34f4ba;try{_0x34f4ba=_0x162c19(_0x26fbba);}catch{_0x5573ac(_0x3ec46f,_0x45b6cb,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x20c261=Object[_0x14e966(0x2e0)](_0x34f4ba);if(_0x20c261[_0x14e966(0x2da)]!==0x1||_0x20c261[0x0]!==_0x37c5a2[_0x14e966(0x203)]){_0x5573ac(_0x3ec46f,_0x45b6cb,_0x14e966(0x2b6));return;}try{_0x1e14a3[_0x14e966(0x25e)](_0x34f4ba[_0x37c5a2[_0x14e966(0x203)]]);}catch{_0x5573ac(_0x3ec46f,_0x45b6cb,_0x14e966(0x2a6));return;}_0x3ec46f['_extensions'][_0x37c5a2[_0x14e966(0x203)]]=_0x1e14a3;}_0x3ec46f[_0x14e966(0x229)](_0x45b6cb,_0x2b4061,{'allowSynchronousEvents':_0x35fa1c[_0x14e966(0x2f5)],'generateMask':_0x35fa1c[_0x14e966(0x241)],'maxPayload':_0x35fa1c[_0x14e966(0x247)],'skipUTF8Validation':_0x35fa1c[_0x14e966(0x314)]});}),_0x35fa1c['finishRequest']?_0x35fa1c[_0x1d18ca(0x304)](_0x2e4545,_0x3ec46f):_0x2e4545[_0x1d18ca(0x34a)]();}function _0x414c6a(_0x3ebeb7,_0x2c832c){const _0x29583a=_0x338ea3;_0x3ebeb7[_0x29583a(0x343)]=_0x3c5a6f[_0x29583a(0x1e1)],_0x3ebeb7[_0x29583a(0x346)]=!0x0,_0x3ebeb7[_0x29583a(0x267)](_0x29583a(0x318),_0x2c832c),_0x3ebeb7[_0x29583a(0x27b)]();}function _0x5e3046(_0x44fb10){const _0x79a3a2=_0x338ea3;return _0x44fb10[_0x79a3a2(0x245)]=_0x44fb10[_0x79a3a2(0x1de)],_0x205acc[_0x79a3a2(0x310)](_0x44fb10);}function _0x1fd8be(_0x4b0c2f){const _0x1dc62f=_0x338ea3;return _0x4b0c2f[_0x1dc62f(0x245)]=void 0x0,!_0x4b0c2f[_0x1dc62f(0x1b9)]&&_0x4b0c2f[_0x1dc62f(0x1b9)]!==''&&(_0x4b0c2f[_0x1dc62f(0x1b9)]=_0x205acc[_0x1dc62f(0x1fa)](_0x4b0c2f[_0x1dc62f(0x2ed)])?'':_0x4b0c2f[_0x1dc62f(0x2ed)]),_0x390926[_0x1dc62f(0x310)](_0x4b0c2f);}function _0x5573ac(_0x2c7191,_0x287f8c,_0x181a3d){const _0x97b71=_0x338ea3;_0x2c7191['_readyState']=_0x3c5a6f[_0x97b71(0x1e1)];const _0xa98d86=new Error(_0x181a3d);Error[_0x97b71(0x1d8)](_0xa98d86,_0x5573ac),_0x287f8c[_0x97b71(0x22f)]?(_0x287f8c[_0x510699]=!0x0,_0x287f8c[_0x97b71(0x2e2)](),_0x287f8c[_0x97b71(0x2cb)]&&!_0x287f8c[_0x97b71(0x2cb)]['destroyed']&&_0x287f8c[_0x97b71(0x2cb)][_0x97b71(0x224)](),process[_0x97b71(0x23e)](_0x414c6a,_0x2c7191,_0xa98d86)):(_0x287f8c[_0x97b71(0x224)](_0xa98d86),_0x287f8c['once']('error',_0x2c7191[_0x97b71(0x267)]['bind'](_0x2c7191,_0x97b71(0x318))),_0x287f8c[_0x97b71(0x32a)]('close',_0x2c7191[_0x97b71(0x27b)][_0x97b71(0x253)](_0x2c7191)));}function _0x483538(_0x2ef48a,_0x12d91b,_0x26a8e0){const _0x3c90de=_0x338ea3;if(_0x12d91b){const _0x12d767=_0x3309f6(_0x12d91b)?_0x12d91b[_0x3c90de(0x1c5)]:_0x292194(_0x12d91b)['length'];_0x2ef48a[_0x3c90de(0x2b5)]?_0x2ef48a['_sender'][_0x3c90de(0x2c4)]+=_0x12d767:_0x2ef48a['_bufferedAmount']+=_0x12d767;}if(_0x26a8e0){const _0x5a1bab=new Error(_0x3c90de(0x353)+_0x2ef48a['readyState']+'\x20('+_0x24e4fb[_0x2ef48a[_0x3c90de(0x232)]]+')');process[_0x3c90de(0x23e)](_0x26a8e0,_0x5a1bab);}}function _0x1570c(_0x38e02b,_0x5d50ec){const _0x51aec7=_0x338ea3,_0x3805fe=this[_0x33b8c8];_0x3805fe[_0x51aec7(0x268)]=!0x0,_0x3805fe[_0x51aec7(0x37a)]=_0x5d50ec,_0x3805fe[_0x51aec7(0x22e)]=_0x38e02b,_0x3805fe[_0x51aec7(0x2b5)][_0x33b8c8]!==void 0x0&&(_0x3805fe[_0x51aec7(0x2b5)]['removeListener'](_0x51aec7(0x2e7),_0x3adfec),process[_0x51aec7(0x23e)](_0x339e12,_0x3805fe[_0x51aec7(0x2b5)]),_0x38e02b===0x3ed?_0x3805fe[_0x51aec7(0x28c)]():_0x3805fe[_0x51aec7(0x28c)](_0x38e02b,_0x5d50ec));}function _0x513451(){const _0x18af28=_0x338ea3,_0x61ec0b=this[_0x33b8c8];_0x61ec0b[_0x18af28(0x31e)]||_0x61ec0b[_0x18af28(0x2b5)]['resume']();}function _0x197eb9(_0x2a5134){const _0x4db48e=_0x338ea3,_0x2814fa=this[_0x33b8c8];_0x2814fa[_0x4db48e(0x2b5)][_0x33b8c8]!==void 0x0&&(_0x2814fa[_0x4db48e(0x2b5)][_0x4db48e(0x2b8)](_0x4db48e(0x2e7),_0x3adfec),process[_0x4db48e(0x23e)](_0x339e12,_0x2814fa[_0x4db48e(0x2b5)]),_0x2814fa[_0x4db48e(0x28c)](_0x2a5134[_0x5ddd35])),_0x2814fa[_0x4db48e(0x346)]||(_0x2814fa[_0x4db48e(0x346)]=!0x0,_0x2814fa['emit']('error',_0x2a5134));}function _0x4b0a4d(){const _0x4f37aa=_0x338ea3;this[_0x33b8c8][_0x4f37aa(0x27b)]();}function _0x187a53(_0x224d5e,_0x2435ca){const _0x2a1c0f=_0x338ea3;this[_0x33b8c8]['emit'](_0x2a1c0f(0x2c1),_0x224d5e,_0x2435ca);}function _0x3360d9(_0x528754){const _0x1b21d4=_0x338ea3,_0x49f6e7=this[_0x33b8c8];_0x49f6e7[_0x1b21d4(0x31b)]&&_0x49f6e7['pong'](_0x528754,!this[_0x1b21d4(0x238)],_0x254f45),_0x49f6e7[_0x1b21d4(0x267)]('ping',_0x528754);}function _0x59055f(_0x5b80cc){const _0x18456c=_0x338ea3;this[_0x33b8c8][_0x18456c(0x267)](_0x18456c(0x2a0),_0x5b80cc);}function _0x339e12(_0x339fd7){const _0x3d4828=_0x338ea3;_0x339fd7[_0x3d4828(0x2aa)]();}function _0x234d7d(_0x160658){const _0x31a199=_0x338ea3,_0x28ebc1=this[_0x33b8c8];_0x28ebc1[_0x31a199(0x232)]!==_0x3c5a6f[_0x31a199(0x2d4)]&&(_0x28ebc1[_0x31a199(0x232)]===_0x3c5a6f[_0x31a199(0x341)]&&(_0x28ebc1[_0x31a199(0x343)]=_0x3c5a6f[_0x31a199(0x1e1)],_0x476e7b(_0x28ebc1)),this[_0x31a199(0x2b5)][_0x31a199(0x34a)](),_0x28ebc1[_0x31a199(0x346)]||(_0x28ebc1['_errorEmitted']=!0x0,_0x28ebc1['emit'](_0x31a199(0x318),_0x160658)));}function _0x476e7b(_0x37a17e){const _0x4f6a9b=_0x338ea3;_0x37a17e['_closeTimer']=setTimeout(_0x37a17e[_0x4f6a9b(0x2b5)][_0x4f6a9b(0x224)][_0x4f6a9b(0x253)](_0x37a17e['_socket']),_0x321a14);}function _0x3792e8(){const _0x416722=_0x338ea3,_0x81999b=this[_0x33b8c8];this['removeListener'](_0x416722(0x28c),_0x3792e8),this['removeListener'](_0x416722(0x2e7),_0x3adfec),this[_0x416722(0x2b8)](_0x416722(0x34a),_0x4eb87d),_0x81999b[_0x416722(0x343)]=_0x3c5a6f['CLOSING'];let _0x1fc737;!this[_0x416722(0x35c)][_0x416722(0x26e)]&&!_0x81999b[_0x416722(0x268)]&&!_0x81999b[_0x416722(0x1d7)]['_writableState'][_0x416722(0x21f)]&&(_0x1fc737=_0x81999b[_0x416722(0x2b5)][_0x416722(0x337)]())!==null&&_0x81999b[_0x416722(0x1d7)][_0x416722(0x1ee)](_0x1fc737),_0x81999b[_0x416722(0x1d7)]['end'](),this[_0x33b8c8]=void 0x0,clearTimeout(_0x81999b[_0x416722(0x327)]),_0x81999b['_receiver'][_0x416722(0x293)][_0x416722(0x20a)]||_0x81999b[_0x416722(0x1d7)]['_writableState'][_0x416722(0x21f)]?_0x81999b[_0x416722(0x27b)]():(_0x81999b[_0x416722(0x1d7)]['on'](_0x416722(0x318),_0x4b0a4d),_0x81999b[_0x416722(0x1d7)]['on'](_0x416722(0x2b1),_0x4b0a4d));}function _0x3adfec(_0x54a998){const _0x38227f=_0x338ea3;this[_0x33b8c8][_0x38227f(0x1d7)][_0x38227f(0x1ee)](_0x54a998)||this[_0x38227f(0x205)]();}function _0x4eb87d(){const _0x4c0298=_0x338ea3,_0xa36450=this[_0x33b8c8];_0xa36450[_0x4c0298(0x343)]=_0x3c5a6f[_0x4c0298(0x1e1)],_0xa36450[_0x4c0298(0x1d7)][_0x4c0298(0x34a)](),this[_0x4c0298(0x34a)]();}function _0x2dec85(){const _0x2c4632=_0x338ea3,_0x44351b=this[_0x33b8c8];this[_0x2c4632(0x2b8)]('error',_0x2dec85),this['on']('error',_0x254f45),_0x44351b&&(_0x44351b['_readyState']=_0x3c5a6f[_0x2c4632(0x1e1)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1c4ff2}=oe;function _0x23e48a(_0x26b69e){const _0x7965b5=_0x41fb;_0x26b69e[_0x7965b5(0x267)](_0x7965b5(0x28c));}function _0x15d641(){const _0x26cad2=_0x41fb;!this[_0x26cad2(0x366)]&&this['_writableState']['finished']&&this[_0x26cad2(0x224)]();}function _0x156dcc(_0x565008){const _0x5378c4=_0x41fb;this['removeListener'](_0x5378c4(0x318),_0x156dcc),this[_0x5378c4(0x224)](),this[_0x5378c4(0x30a)](_0x5378c4(0x318))===0x0&&this['emit'](_0x5378c4(0x318),_0x565008);}function _0x27a720(_0x330578,_0x62ce23){const _0x1da067=_0x41fb;let _0x3bc55e=!0x0;const _0x4173dd=new _0x1c4ff2({..._0x62ce23,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x330578['on'](_0x1da067(0x2c1),function(_0x6222c6,_0x45206c){const _0x4e87cc=_0x1da067,_0x4e28d2=!_0x45206c&&_0x4173dd['_readableState'][_0x4e87cc(0x20c)]?_0x6222c6[_0x4e87cc(0x2ec)]():_0x6222c6;_0x4173dd[_0x4e87cc(0x2f9)](_0x4e28d2)||_0x330578['pause']();}),_0x330578['once'](_0x1da067(0x318),function(_0x531e82){_0x4173dd['destroyed']||(_0x3bc55e=!0x1,_0x4173dd['destroy'](_0x531e82));}),_0x330578[_0x1da067(0x32a)](_0x1da067(0x28c),function(){const _0x1a1413=_0x1da067;_0x4173dd['destroyed']||_0x4173dd[_0x1a1413(0x2f9)](null);}),_0x4173dd[_0x1da067(0x27c)]=function(_0x38dc4d,_0x1e1a48){const _0x165293=_0x1da067;if(_0x330578[_0x165293(0x232)]===_0x330578[_0x165293(0x2d4)]){_0x1e1a48(_0x38dc4d),process[_0x165293(0x23e)](_0x23e48a,_0x4173dd);return;}let _0x200b3c=!0x1;_0x330578[_0x165293(0x32a)](_0x165293(0x318),function(_0x58e2b6){_0x200b3c=!0x0,_0x1e1a48(_0x58e2b6);}),_0x330578['once']('close',function(){const _0xd8c5f4=_0x165293;_0x200b3c||_0x1e1a48(_0x38dc4d),process[_0xd8c5f4(0x23e)](_0x23e48a,_0x4173dd);}),_0x3bc55e&&_0x330578[_0x165293(0x281)]();},_0x4173dd[_0x1da067(0x311)]=function(_0x53b398){const _0x699866=_0x1da067;if(_0x330578[_0x699866(0x232)]===_0x330578[_0x699866(0x1d4)]){_0x330578[_0x699866(0x32a)](_0x699866(0x298),function(){const _0xbd20ca=_0x699866;_0x4173dd[_0xbd20ca(0x311)](_0x53b398);});return;}_0x330578[_0x699866(0x2b5)]!==null&&(_0x330578[_0x699866(0x2b5)][_0x699866(0x293)][_0x699866(0x20a)]?(_0x53b398(),_0x4173dd[_0x699866(0x35c)][_0x699866(0x26e)]&&_0x4173dd[_0x699866(0x224)]()):(_0x330578[_0x699866(0x2b5)][_0x699866(0x32a)]('finish',function(){_0x53b398();}),_0x330578[_0x699866(0x28c)]()));},_0x4173dd[_0x1da067(0x27a)]=function(){const _0x518d27=_0x1da067;_0x330578[_0x518d27(0x31e)]&&_0x330578[_0x518d27(0x2aa)]();},_0x4173dd[_0x1da067(0x1cf)]=function(_0x110001,_0x289b81,_0xa04386){const _0xdf65b9=_0x1da067;if(_0x330578[_0xdf65b9(0x232)]===_0x330578[_0xdf65b9(0x1d4)]){_0x330578['once']('open',function(){_0x4173dd['_write'](_0x110001,_0x289b81,_0xa04386);});return;}_0x330578[_0xdf65b9(0x230)](_0x110001,_0xa04386);},_0x4173dd['on'](_0x1da067(0x34a),_0x15d641),_0x4173dd['on'](_0x1da067(0x318),_0x156dcc),_0x4173dd;}return Oe=_0x27a720,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x167e48}=ae();function _0x4ae633(_0x28a7a6){const _0x7638c0=_0x41fb,_0x2613cf=new Set();let _0x3882e8=-0x1,_0x5c6e44=-0x1,_0x5761ca=0x0;for(_0x5761ca;_0x5761ca<_0x28a7a6[_0x7638c0(0x2da)];_0x5761ca++){const _0x7bd1dd=_0x28a7a6['charCodeAt'](_0x5761ca);if(_0x5c6e44===-0x1&&_0x167e48[_0x7bd1dd]===0x1)_0x3882e8===-0x1&&(_0x3882e8=_0x5761ca);else{if(_0x5761ca!==0x0&&(_0x7bd1dd===0x20||_0x7bd1dd===0x9))_0x5c6e44===-0x1&&_0x3882e8!==-0x1&&(_0x5c6e44=_0x5761ca);else{if(_0x7bd1dd===0x2c){if(_0x3882e8===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5761ca);_0x5c6e44===-0x1&&(_0x5c6e44=_0x5761ca);const _0x5b4fac=_0x28a7a6['slice'](_0x3882e8,_0x5c6e44);if(_0x2613cf[_0x7638c0(0x2c8)](_0x5b4fac))throw new SyntaxError(_0x7638c0(0x2fe)+_0x5b4fac+_0x7638c0(0x30b));_0x2613cf['add'](_0x5b4fac),_0x3882e8=_0x5c6e44=-0x1;}else throw new SyntaxError(_0x7638c0(0x21b)+_0x5761ca);}}}if(_0x3882e8===-0x1||_0x5c6e44!==-0x1)throw new SyntaxError(_0x7638c0(0x282));const _0x2f5cc3=_0x28a7a6[_0x7638c0(0x1dc)](_0x3882e8,_0x5761ca);if(_0x2613cf['has'](_0x2f5cc3))throw new SyntaxError('The\x20\x22'+_0x2f5cc3+_0x7638c0(0x30b));return _0x2613cf[_0x7638c0(0x218)](_0x2f5cc3),_0x2613cf;}return Ce={'parse':_0x4ae633},Ce;}var Te,rt;function Ft(){const _0x339fc0=_0x2bf11d;if(rt)return Te;rt=0x1;const _0x413a72=nt,_0x2a4dec=ot,{Duplex:_0x3dae34}=oe,{createHash:_0x5f2b30}=Le,_0x40f3b2=ct(),_0x259b46=he(),_0x16e222=At(),_0x51404d=Pe(),{GUID:_0x28b20c,kWebSocket:_0x48b8e3}=H(),_0x555830=/^[+/0-9A-Za-z]{22}==$/,_0x2bed62=0x0,_0x1926ee=0x1,_0x862a19=0x2;class _0x4667ba extends _0x413a72{constructor(_0x35b9d6,_0x14c860){const _0x39f110=_0x41fb;if(super(),_0x35b9d6={'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':_0x51404d,..._0x35b9d6},_0x35b9d6[_0x39f110(0x1e2)]==null&&!_0x35b9d6[_0x39f110(0x333)]&&!_0x35b9d6['noServer']||_0x35b9d6[_0x39f110(0x1e2)]!=null&&(_0x35b9d6['server']||_0x35b9d6[_0x39f110(0x2f8)])||_0x35b9d6['server']&&_0x35b9d6[_0x39f110(0x2f8)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x35b9d6['port']!=null?(this['_server']=_0x2a4dec['createServer']((_0x8799e1,_0xd82d1b)=>{const _0x536708=_0x39f110,_0x475140=_0x2a4dec['STATUS_CODES'][0x1aa];_0xd82d1b['writeHead'](0x1aa,{'Content-Length':_0x475140['length'],'Content-Type':'text/plain'}),_0xd82d1b[_0x536708(0x34a)](_0x475140);}),this[_0x39f110(0x284)]['listen'](_0x35b9d6['port'],_0x35b9d6[_0x39f110(0x2ed)],_0x35b9d6[_0x39f110(0x1eb)],_0x14c860)):_0x35b9d6['server']&&(this[_0x39f110(0x284)]=_0x35b9d6[_0x39f110(0x333)]),this[_0x39f110(0x284)]){const _0x485c95=this[_0x39f110(0x267)][_0x39f110(0x253)](this,'connection');this[_0x39f110(0x2e1)]=_0x16ac53(this[_0x39f110(0x284)],{'listening':this['emit'][_0x39f110(0x253)](this,_0x39f110(0x1c0)),'error':this[_0x39f110(0x267)][_0x39f110(0x253)](this,'error'),'upgrade':(_0x5ad33f,_0x475599,_0x148160)=>{const _0x23d806=_0x39f110;this[_0x23d806(0x2ae)](_0x5ad33f,_0x475599,_0x148160,_0x485c95);}});}_0x35b9d6[_0x39f110(0x309)]===!0x0&&(_0x35b9d6[_0x39f110(0x309)]={}),_0x35b9d6['clientTracking']&&(this[_0x39f110(0x303)]=new Set(),this[_0x39f110(0x2fd)]=!0x1),this[_0x39f110(0x362)]=_0x35b9d6,this['_state']=_0x2bed62;}[_0x339fc0(0x32f)](){const _0x54d815=_0x339fc0;if(this[_0x54d815(0x362)][_0x54d815(0x2f8)])throw new Error(_0x54d815(0x23c));return this[_0x54d815(0x284)]?this[_0x54d815(0x284)][_0x54d815(0x32f)]():null;}[_0x339fc0(0x28c)](_0x2578b1){const _0x462e60=_0x339fc0;if(this['_state']===_0x862a19){_0x2578b1&&this[_0x462e60(0x32a)](_0x462e60(0x28c),()=>{const _0x48f75e=_0x462e60;_0x2578b1(new Error(_0x48f75e(0x1d2)));}),process['nextTick'](_0x3b1e36,this);return;}if(_0x2578b1&&this[_0x462e60(0x32a)](_0x462e60(0x28c),_0x2578b1),this[_0x462e60(0x23a)]!==_0x1926ee){if(this[_0x462e60(0x23a)]=_0x1926ee,this[_0x462e60(0x362)]['noServer']||this[_0x462e60(0x362)]['server'])this[_0x462e60(0x284)]&&(this[_0x462e60(0x2e1)](),this[_0x462e60(0x2e1)]=this[_0x462e60(0x284)]=null),this[_0x462e60(0x303)]?this[_0x462e60(0x303)][_0x462e60(0x1c5)]?this[_0x462e60(0x2fd)]=!0x0:process[_0x462e60(0x23e)](_0x3b1e36,this):process['nextTick'](_0x3b1e36,this);else{const _0x4f28e2=this[_0x462e60(0x284)];this[_0x462e60(0x2e1)](),this['_removeListeners']=this[_0x462e60(0x284)]=null,_0x4f28e2[_0x462e60(0x28c)](()=>{_0x3b1e36(this);});}}}['shouldHandle'](_0x5aac1a){const _0x1cd038=_0x339fc0;if(this['options'][_0x1cd038(0x245)]){const _0x45dbcf=_0x5aac1a[_0x1cd038(0x270)][_0x1cd038(0x2c9)]('?');if((_0x45dbcf!==-0x1?_0x5aac1a[_0x1cd038(0x270)]['slice'](0x0,_0x45dbcf):_0x5aac1a[_0x1cd038(0x270)])!==this[_0x1cd038(0x362)][_0x1cd038(0x245)])return!0x1;}return!0x0;}[_0x339fc0(0x2ae)](_0x490f2f,_0x341ab4,_0x521fd7,_0x308cbe){const _0xcc3551=_0x339fc0;_0x341ab4['on'](_0xcc3551(0x318),_0xec2832);const _0x1430e8=_0x490f2f[_0xcc3551(0x234)][_0xcc3551(0x1d3)],_0x428be8=_0x490f2f[_0xcc3551(0x234)][_0xcc3551(0x2de)],_0x5cab35=+_0x490f2f[_0xcc3551(0x234)][_0xcc3551(0x25c)];if(_0x490f2f[_0xcc3551(0x265)]!==_0xcc3551(0x35b)){_0x3c27bf(this,_0x490f2f,_0x341ab4,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x428be8===void 0x0||_0x428be8[_0xcc3551(0x308)]()!=='websocket'){_0x3c27bf(this,_0x490f2f,_0x341ab4,0x190,_0xcc3551(0x1e3));return;}if(_0x1430e8===void 0x0||!_0x555830[_0xcc3551(0x356)](_0x1430e8)){_0x3c27bf(this,_0x490f2f,_0x341ab4,0x190,_0xcc3551(0x358));return;}if(_0x5cab35!==0x8&&_0x5cab35!==0xd){_0x3c27bf(this,_0x490f2f,_0x341ab4,0x190,_0xcc3551(0x320));return;}if(!this[_0xcc3551(0x1c6)](_0x490f2f)){_0x53a8af(_0x341ab4,0x190);return;}const _0x45d838=_0x490f2f['headers']['sec-websocket-protocol'];let _0x4c418f=new Set();if(_0x45d838!==void 0x0)try{_0x4c418f=_0x16e222[_0xcc3551(0x37b)](_0x45d838);}catch{_0x3c27bf(this,_0x490f2f,_0x341ab4,0x190,_0xcc3551(0x2d1));return;}const _0xbfa2d2=_0x490f2f[_0xcc3551(0x234)][_0xcc3551(0x2e9)],_0x54cdc0={};if(this[_0xcc3551(0x362)][_0xcc3551(0x309)]&&_0xbfa2d2!==void 0x0){const _0x4f19ea=new _0x259b46(this[_0xcc3551(0x362)][_0xcc3551(0x309)],!0x0,this[_0xcc3551(0x362)][_0xcc3551(0x247)]);try{const _0xc0a7b9=_0x40f3b2[_0xcc3551(0x37b)](_0xbfa2d2);_0xc0a7b9[_0x259b46[_0xcc3551(0x203)]]&&(_0x4f19ea[_0xcc3551(0x25e)](_0xc0a7b9[_0x259b46['extensionName']]),_0x54cdc0[_0x259b46[_0xcc3551(0x203)]]=_0x4f19ea);}catch{_0x3c27bf(this,_0x490f2f,_0x341ab4,0x190,_0xcc3551(0x31c));return;}}if(this[_0xcc3551(0x362)]['verifyClient']){const _0x39d014={'origin':_0x490f2f['headers'][''+(_0x5cab35===0x8?_0xcc3551(0x317):_0xcc3551(0x202))],'secure':!!(_0x490f2f[_0xcc3551(0x2cb)][_0xcc3551(0x23b)]||_0x490f2f[_0xcc3551(0x2cb)][_0xcc3551(0x24c)]),'req':_0x490f2f};if(this['options'][_0xcc3551(0x256)][_0xcc3551(0x2da)]===0x2){this['options'][_0xcc3551(0x256)](_0x39d014,(_0x1aae35,_0x266784,_0x45dc89,_0x19e27a)=>{if(!_0x1aae35)return _0x53a8af(_0x341ab4,_0x266784||0x191,_0x45dc89,_0x19e27a);this['completeUpgrade'](_0x54cdc0,_0x1430e8,_0x4c418f,_0x490f2f,_0x341ab4,_0x521fd7,_0x308cbe);});return;}if(!this['options'][_0xcc3551(0x256)](_0x39d014))return _0x53a8af(_0x341ab4,0x191);}this[_0xcc3551(0x36e)](_0x54cdc0,_0x1430e8,_0x4c418f,_0x490f2f,_0x341ab4,_0x521fd7,_0x308cbe);}['completeUpgrade'](_0x114b75,_0x12970a,_0x47de96,_0x53d884,_0x1c674f,_0xc543bd,_0x5ae200){const _0x19154d=_0x339fc0;if(!_0x1c674f[_0x19154d(0x28f)]||!_0x1c674f['writable'])return _0x1c674f[_0x19154d(0x224)]();if(_0x1c674f[_0x48b8e3])throw new Error(_0x19154d(0x2e4));if(this[_0x19154d(0x23a)]>_0x2bed62)return _0x53a8af(_0x1c674f,0x1f7);const _0x31d3e6=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x19154d(0x25f),_0x19154d(0x316),_0x19154d(0x335)+_0x5f2b30('sha1')[_0x19154d(0x33c)](_0x12970a+_0x28b20c)[_0x19154d(0x272)]('base64')],_0x4c2054=new this[(_0x19154d(0x362))][(_0x19154d(0x1fe))](null,void 0x0,this['options']);if(_0x47de96['size']){const _0x5bca9a=this[_0x19154d(0x362)][_0x19154d(0x34c)]?this[_0x19154d(0x362)][_0x19154d(0x34c)](_0x47de96,_0x53d884):_0x47de96[_0x19154d(0x315)]()[_0x19154d(0x290)]()[_0x19154d(0x2a9)];_0x5bca9a&&(_0x31d3e6['push'](_0x19154d(0x2b4)+_0x5bca9a),_0x4c2054[_0x19154d(0x1ed)]=_0x5bca9a);}if(_0x114b75[_0x259b46[_0x19154d(0x203)]]){const _0x26b3f5=_0x114b75[_0x259b46[_0x19154d(0x203)]][_0x19154d(0x274)],_0x12c2cb=_0x40f3b2[_0x19154d(0x271)]({[_0x259b46[_0x19154d(0x203)]]:[_0x26b3f5]});_0x31d3e6[_0x19154d(0x2f9)]('Sec-WebSocket-Extensions:\x20'+_0x12c2cb),_0x4c2054[_0x19154d(0x26a)]=_0x114b75;}this[_0x19154d(0x267)](_0x19154d(0x234),_0x31d3e6,_0x53d884),_0x1c674f[_0x19154d(0x1ee)](_0x31d3e6[_0x19154d(0x2be)]('\x0d\x0a')[_0x19154d(0x300)]('\x0d\x0a')),_0x1c674f[_0x19154d(0x2b8)](_0x19154d(0x318),_0xec2832),_0x4c2054['setSocket'](_0x1c674f,_0xc543bd,{'allowSynchronousEvents':this[_0x19154d(0x362)][_0x19154d(0x2f5)],'maxPayload':this['options'][_0x19154d(0x247)],'skipUTF8Validation':this[_0x19154d(0x362)][_0x19154d(0x314)]}),this[_0x19154d(0x303)]&&(this[_0x19154d(0x303)]['add'](_0x4c2054),_0x4c2054['on']('close',()=>{const _0x3ec0ca=_0x19154d;this[_0x3ec0ca(0x303)][_0x3ec0ca(0x1cd)](_0x4c2054),this['_shouldEmitClose']&&!this[_0x3ec0ca(0x303)][_0x3ec0ca(0x1c5)]&&process['nextTick'](_0x3b1e36,this);})),_0x5ae200(_0x4c2054,_0x53d884);}}Te=_0x4667ba;function _0x16ac53(_0x265fda,_0x5b4f4d){const _0x22cf89=_0x339fc0;for(const _0xe2a656 of Object[_0x22cf89(0x2e0)](_0x5b4f4d))_0x265fda['on'](_0xe2a656,_0x5b4f4d[_0xe2a656]);return function(){const _0x4ff77a=_0x22cf89;for(const _0x226aa1 of Object[_0x4ff77a(0x2e0)](_0x5b4f4d))_0x265fda[_0x4ff77a(0x2b8)](_0x226aa1,_0x5b4f4d[_0x226aa1]);};}function _0x3b1e36(_0x52e4d7){const _0x59dcf8=_0x339fc0;_0x52e4d7[_0x59dcf8(0x23a)]=_0x862a19,_0x52e4d7[_0x59dcf8(0x267)](_0x59dcf8(0x28c));}function _0xec2832(){this['destroy']();}function _0x53a8af(_0x3a5f12,_0x53f0cc,_0x15182d,_0x53ab64){const _0xfb186d=_0x339fc0;_0x15182d=_0x15182d||_0x2a4dec['STATUS_CODES'][_0x53f0cc],_0x53ab64={'Connection':_0xfb186d(0x28c),'Content-Type':_0xfb186d(0x1ef),'Content-Length':Buffer[_0xfb186d(0x30c)](_0x15182d),..._0x53ab64},_0x3a5f12['once'](_0xfb186d(0x2b1),_0x3a5f12[_0xfb186d(0x224)]),_0x3a5f12[_0xfb186d(0x34a)](_0xfb186d(0x200)+_0x53f0cc+'\x20'+_0x2a4dec[_0xfb186d(0x2a4)][_0x53f0cc]+'\x0d\x0a'+Object['keys'](_0x53ab64)[_0xfb186d(0x1c7)](_0x20a613=>_0x20a613+':\x20'+_0x53ab64[_0x20a613])['join']('\x0d\x0a')+_0xfb186d(0x2b0)+_0x15182d);}function _0x3c27bf(_0x26f050,_0x523ad1,_0x22eba1,_0xdc5e4f,_0x5a990d){const _0x2b758b=_0x339fc0;if(_0x26f050[_0x2b758b(0x30a)](_0x2b758b(0x1ff))){const _0x5aca96=new Error(_0x5a990d);Error[_0x2b758b(0x1d8)](_0x5aca96,_0x3c27bf),_0x26f050['emit'](_0x2b758b(0x1ff),_0x5aca96,_0x22eba1,_0x523ad1);}else _0x53a8af(_0x22eba1,_0xdc5e4f,_0x5a990d);}return Te;}Ft();var jt=Object[_0x2bf11d(0x291)],Wt=(_0x48ccd0,_0xd63342,_0x56ef0e,_0x2ec15d)=>{for(var _0x126099=_0x2ec15d>0x1?void 0x0:_0x2ec15d?jt(_0xd63342,_0x56ef0e):_0xd63342,_0xb76b0b=_0x48ccd0['length']-0x1,_0x50ff87;_0xb76b0b>=0x0;_0xb76b0b--)(_0x50ff87=_0x48ccd0[_0xb76b0b])&&(_0x126099=_0x50ff87(_0x126099)||_0x126099);return _0x126099;},qt=(_0x4a7c84,_0x5f080c)=>(_0x2038f7,_0x409744)=>_0x5f080c(_0x2038f7,_0x409744,_0x4a7c84);let ke=class extends A['Disposable']{constructor(_0x3ba3de){const _0x2a0bbd=_0x2bf11d;super(),this[_0x2a0bbd(0x2d3)]=_0x3ba3de;}[_0x2bf11d(0x2dd)](_0xccd4e9){const _0x4e7bc4=_0x2bf11d;var _0x36bd28;const _0x255b35=(_0x36bd28=this['_configService'][_0x4e7bc4(0x375)](fe))==null?void 0x0:_0x36bd28[_0x4e7bc4(0x2ee)];try{const _0x172e66=new $t(_0xccd4e9,{'headers':{..._0x255b35}}),_0x5cd7e7=new A[(_0x4e7bc4(0x30d))]();return{'URL':_0xccd4e9,'close':(_0x4d3623,_0x2f6a62)=>{const _0x367b09=_0x4e7bc4;_0x172e66[_0x367b09(0x28c)](_0x4d3623,_0x2f6a62),_0x5cd7e7[_0x367b09(0x34d)]();},'send':_0x1d50b7=>{const _0x43741e=_0x4e7bc4;_0x172e66[_0x43741e(0x230)](_0x1d50b7);},'open$':new V[(_0x4e7bc4(0x2c2))](_0x358302=>{const _0x4caf3a=_0x4e7bc4,_0x5028eb=_0x498ae4=>_0x358302[_0x4caf3a(0x290)](_0x498ae4);_0x172e66['addEventListener'](_0x4caf3a(0x298),_0x5028eb),_0x5cd7e7[_0x4caf3a(0x218)](A[_0x4caf3a(0x1db)](()=>_0x172e66[_0x4caf3a(0x1df)](_0x4caf3a(0x298),_0x5028eb)));})[_0x4e7bc4(0x1cc)](V[_0x4e7bc4(0x334)]()),'close$':new V['Observable'](_0x359b18=>{const _0x5387d3=_0x4e7bc4,_0x44e770=_0x32ac08=>_0x359b18[_0x5387d3(0x290)](_0x32ac08);_0x172e66[_0x5387d3(0x1f5)](_0x5387d3(0x28c),_0x44e770),_0x5cd7e7[_0x5387d3(0x218)](A[_0x5387d3(0x1db)](()=>_0x172e66[_0x5387d3(0x1df)](_0x5387d3(0x28c),_0x44e770)));})['pipe'](V['share']()),'error$':new V[(_0x4e7bc4(0x2c2))](_0x479df7=>{const _0x44fb71=_0x4e7bc4,_0xbaa6eb=_0x66c636=>_0x479df7[_0x44fb71(0x290)](_0x66c636);_0x172e66[_0x44fb71(0x1f5)]('error',_0xbaa6eb),_0x5cd7e7[_0x44fb71(0x218)](A[_0x44fb71(0x1db)](()=>_0x172e66[_0x44fb71(0x1df)](_0x44fb71(0x318),_0xbaa6eb)));})[_0x4e7bc4(0x1cc)](V['share']()),'message$':new V[(_0x4e7bc4(0x2c2))](_0x59a1f6=>{const _0x525d6c=_0x4e7bc4,_0x541c95=_0x2721af=>_0x59a1f6['next'](_0x2721af);_0x172e66[_0x525d6c(0x1f5)](_0x525d6c(0x2c1),_0x541c95),_0x5cd7e7[_0x525d6c(0x218)](A['toDisposable'](()=>_0x172e66[_0x525d6c(0x1df)](_0x525d6c(0x2c1),_0x541c95)));})[_0x4e7bc4(0x1cc)](V[_0x4e7bc4(0x334)]())};}catch(_0x16ae5c){return console['error'](_0x16ae5c),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x2bf11d(0x368)],Vt=Object[_0x2bf11d(0x291)],Ht=(_0x2fb2a6,_0x3a732b,_0x504c34)=>_0x3a732b in _0x2fb2a6?Gt(_0x2fb2a6,_0x3a732b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x504c34}):_0x2fb2a6[_0x3a732b]=_0x504c34,zt=(_0x3d6218,_0xd55ba7,_0x5e0544,_0xacd8c9)=>{for(var _0x1dc80f=_0xacd8c9>0x1?void 0x0:_0xacd8c9?Vt(_0xd55ba7,_0x5e0544):_0xd55ba7,_0x22c05f=_0x3d6218['length']-0x1,_0xf7c315;_0x22c05f>=0x0;_0x22c05f--)(_0xf7c315=_0x3d6218[_0x22c05f])&&(_0x1dc80f=_0xf7c315(_0x1dc80f)||_0x1dc80f);return _0x1dc80f;},Ne=(_0x55312f,_0x1b2565)=>(_0x650551,_0x4ca30c)=>_0x1b2565(_0x650551,_0x4ca30c,_0x55312f),Yt=(_0x5328e6,_0x7dc8b9,_0x458b3e)=>Ht(_0x5328e6,_0x7dc8b9+'',_0x458b3e);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x2bf11d(0x374)]{constructor(_0x5c9689=Ct,_0x885c12,_0x5295b4,_0x4087f8){const _0x577d52=_0x2bf11d;_0x5c9689[_0x577d52(0x2ee)]||_0x885c12[_0x577d52(0x24a)](_0x577d52(0x278)),super(),this[_0x577d52(0x2d3)]=_0x5295b4,this[_0x577d52(0x35e)]=_0x4087f8,this['_configService'][_0x577d52(0x23f)](fe,_0x5c9689);}['onStarting'](){this['_registerDependencies']();}[_0x2bf11d(0x33b)](){const _0x506031=_0x2bf11d;A[_0x506031(0x207)](this['_injector'],[[it[_0x506031(0x231)],{'useClass':ke}]]);}},Yt(exports[_0x2bf11d(0x28a)],_0x2bf11d(0x319),_0x2bf11d(0x24e)),exports[_0x2bf11d(0x28a)]=zt([A[_0x2bf11d(0x34f)](st[_0x2bf11d(0x217)]),Ne(0x1,A[_0x2bf11d(0x1c2)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x2bf11d(0x1f3)](A[_0x2bf11d(0x27f)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x2bf11d(0x291)],Xt=(_0xf93a56,_0x466d6d,_0x28979d,_0x5c4259)=>{for(var _0xaf4995=_0x5c4259>0x1?void 0x0:_0x5c4259?Kt(_0x466d6d,_0x28979d):_0x466d6d,_0x280b4d=_0xf93a56['length']-0x1,_0x32555b;_0x280b4d>=0x0;_0x280b4d--)(_0x32555b=_0xf93a56[_0x280b4d])&&(_0xaf4995=_0x32555b(_0xaf4995)||_0xaf4995);return _0xaf4995;},ne=(_0x5953bd,_0x15164e)=>(_0x2bf589,_0x5e53ed)=>_0x15164e(_0x2bf589,_0x5e53ed,_0x5953bd);exports[_0x2bf11d(0x2b2)]=class extends st[_0x2bf11d(0x33a)]{constructor(_0x15b5cb,_0x38645a,_0x499930,_0x3dc354,_0x4e8b28){const _0x4ceecd=_0x2bf11d;super(_0x15b5cb,_0x38645a,_0x499930,_0x3dc354,_0x4e8b28);const _0x1bea86=this[_0x4ceecd(0x2d3)][_0x4ceecd(0x375)](fe);this['_httpService'][_0x4ceecd(0x2bf)]({'interceptor':(_0x3f996c,_0x2be25b)=>{const _0x2f78bf=_0x4ceecd;var _0x159148;const _0x7bb52b=_0x3f996c[_0x2f78bf(0x234)];return(_0x159148=_0x1bea86==null?void 0x0:_0x1bea86[_0x2f78bf(0x2ee)])!=null&&_0x159148[_0x2f78bf(0x344)]&&_0x7bb52b[_0x2f78bf(0x211)](_0x2f78bf(0x1be),_0x1bea86[_0x2f78bf(0x2ee)][_0x2f78bf(0x344)]),_0x2be25b(_0x3f996c);}});}async[_0x2bf11d(0x2dd)](_0x4b6721){const _0x2c9018=_0x2bf11d;return this[_0x2c9018(0x2e5)](_0x4b6721);}},exports[_0x2bf11d(0x2b2)]=Xt([ne(0x0,A[_0x2bf11d(0x1f3)](A[_0x2bf11d(0x27f)])),ne(0x1,A[_0x2bf11d(0x1f3)](it['HTTPService'])),ne(0x2,A[_0x2bf11d(0x321)]),ne(0x3,A[_0x2bf11d(0x1c2)]),ne(0x4,Ot[_0x2bf11d(0x2ab)])],exports[_0x2bf11d(0x2b2)]),exports[_0x2bf11d(0x329)]=fe;
|