@univerjs-pro/collaboration-client-node 0.8.3 → 0.9.1-nightly.202507041607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x22272f=_0x58d9;(function(_0xa6b6a5,_0x1c04be){const _0x472453=_0x58d9,_0xcb243f=_0xa6b6a5();while(!![]){try{const _0x49a1bb=parseInt(_0x472453(0x1b5))/0x1+parseInt(_0x472453(0x20c))/0x2+parseInt(_0x472453(0x192))/0x3+parseInt(_0x472453(0x157))/0x4*(-parseInt(_0x472453(0x160))/0x5)+-parseInt(_0x472453(0x1e8))/0x6*(-parseInt(_0x472453(0x205))/0x7)+parseInt(_0x472453(0x1e2))/0x8*(-parseInt(_0x472453(0x269))/0x9)+-parseInt(_0x472453(0x226))/0xa;if(_0x49a1bb===_0x1c04be)break;else _0xcb243f['push'](_0xcb243f['shift']());}catch(_0x236541){_0xcb243f['push'](_0xcb243f['shift']());}}}(_0x58bd,0x83aa8));Object[_0x22272f(0x2a1)](exports,Symbol[_0x22272f(0x253)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x22272f(0x174)),it=require(_0x22272f(0x276)),V=require('rxjs'),nt=require(_0x22272f(0x1ee)),vt=require(_0x22272f(0x1c0)),ot=require(_0x22272f(0x259)),St=require(_0x22272f(0x1d9)),Et=require('tls'),Le=require('crypto'),oe=require(_0x22272f(0x23f)),xt=require(_0x22272f(0x28f)),bt=require('zlib'),wt=require(_0x22272f(0x2ad)),Ot=require(_0x22272f(0x130)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x4bf0e7){const _0x37350=_0x22272f;return _0x4bf0e7&&_0x4bf0e7[_0x37350(0x256)]&&Object[_0x37350(0x24d)][_0x37350(0x17a)][_0x37350(0x268)](_0x4bf0e7,_0x37350(0x272))?_0x4bf0e7[_0x37350(0x272)]:_0x4bf0e7;}function at(_0x119593){const _0x5d9268=_0x22272f;if(Object['prototype'][_0x5d9268(0x17a)][_0x5d9268(0x268)](_0x119593,'__esModule'))return _0x119593;var _0x309908=_0x119593[_0x5d9268(0x272)];if(typeof _0x309908==_0x5d9268(0x194)){var _0x918c29=function _0x13ccc1(){const _0x51da61=_0x5d9268;return this instanceof _0x13ccc1?Reflect[_0x51da61(0x29a)](_0x309908,arguments,this[_0x51da61(0x13c)]):_0x309908[_0x51da61(0x214)](this,arguments);};_0x918c29[_0x5d9268(0x24d)]=_0x309908[_0x5d9268(0x24d)];}else _0x918c29={};return Object['defineProperty'](_0x918c29,'__esModule',{'value':!0x0}),Object['keys'](_0x119593)[_0x5d9268(0x206)](function(_0x164b39){const _0x322295=_0x5d9268;var _0x178697=Object[_0x322295(0x1aa)](_0x119593,_0x164b39);Object[_0x322295(0x2a1)](_0x918c29,_0x164b39,_0x178697[_0x322295(0x248)]?_0x178697:{'enumerable':!0x0,'get':function(){return _0x119593[_0x164b39];}});}),_0x918c29;}var se={'exports':{}},ge,Ge;function H(){const _0x2d691b=_0x22272f;if(Ge)return ge;Ge=0x1;const _0x111246=['nodebuffer','arraybuffer',_0x2d691b(0x107)],_0x189188=typeof Blob<'u';return _0x189188&&_0x111246['push'](_0x2d691b(0x27d)),ge={'BINARY_TYPES':_0x111246,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x2d691b(0x2a5),'hasBlob':_0x189188,'kForOnEventAttribute':Symbol(_0x2d691b(0x105)),'kListener':Symbol(_0x2d691b(0x11f)),'kStatusCode':Symbol(_0x2d691b(0x1bc)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x22272f(0x2a1)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x5072d1=_0x22272f;if(Ve)return se[_0x5072d1(0x25a)];Ve=0x1;const {EMPTY_BUFFER:_0xb9e9f1}=H(),_0xac140a=Buffer[Symbol[_0x5072d1(0x28a)]];function _0x4abd2b(_0x3a7c26,_0x5a2803){const _0x1c3acb=_0x5072d1;if(_0x3a7c26[_0x1c3acb(0x1a1)]===0x0)return _0xb9e9f1;if(_0x3a7c26[_0x1c3acb(0x1a1)]===0x1)return _0x3a7c26[0x0];const _0x3875ea=Buffer[_0x1c3acb(0x1d3)](_0x5a2803);let _0x534b71=0x0;for(let _0x65026e=0x0;_0x65026e<_0x3a7c26['length'];_0x65026e++){const _0x347052=_0x3a7c26[_0x65026e];_0x3875ea[_0x1c3acb(0x232)](_0x347052,_0x534b71),_0x534b71+=_0x347052['length'];}return _0x534b71<_0x5a2803?new _0xac140a(_0x3875ea[_0x1c3acb(0x2ad)],_0x3875ea[_0x1c3acb(0x170)],_0x534b71):_0x3875ea;}function _0x149d40(_0x27baa0,_0xe956ba,_0x2b86f1,_0x258fa1,_0x5f56f6){for(let _0x464277=0x0;_0x464277<_0x5f56f6;_0x464277++)_0x2b86f1[_0x258fa1+_0x464277]=_0x27baa0[_0x464277]^_0xe956ba[_0x464277&0x3];}function _0xc76320(_0xbe548,_0x1f7aad){for(let _0x334e8b=0x0;_0x334e8b<_0xbe548['length'];_0x334e8b++)_0xbe548[_0x334e8b]^=_0x1f7aad[_0x334e8b&0x3];}function _0x467a22(_0x40ef61){const _0x493356=_0x5072d1;return _0x40ef61[_0x493356(0x1a1)]===_0x40ef61['buffer'][_0x493356(0x191)]?_0x40ef61['buffer']:_0x40ef61[_0x493356(0x2ad)]['slice'](_0x40ef61[_0x493356(0x170)],_0x40ef61[_0x493356(0x170)]+_0x40ef61['length']);}function _0x13ff63(_0x221640){const _0x49d56c=_0x5072d1;if(_0x13ff63[_0x49d56c(0x284)]=!0x0,Buffer[_0x49d56c(0x1bb)](_0x221640))return _0x221640;let _0x113710;return _0x221640 instanceof ArrayBuffer?_0x113710=new _0xac140a(_0x221640):ArrayBuffer[_0x49d56c(0x2af)](_0x221640)?_0x113710=new _0xac140a(_0x221640[_0x49d56c(0x2ad)],_0x221640['byteOffset'],_0x221640[_0x49d56c(0x191)]):(_0x113710=Buffer[_0x49d56c(0x27e)](_0x221640),_0x13ff63[_0x49d56c(0x284)]=!0x1),_0x113710;}if(se[_0x5072d1(0x25a)]={'concat':_0x4abd2b,'mask':_0x149d40,'toArrayBuffer':_0x467a22,'toBuffer':_0x13ff63,'unmask':_0xc76320},!process[_0x5072d1(0x25b)]['WS_NO_BUFFER_UTIL'])try{const _0x4790ae=Lt;se[_0x5072d1(0x25a)][_0x5072d1(0x136)]=function(_0x50105d,_0x5ccbe2,_0x56534c,_0x50d469,_0x504415){const _0x51127b=_0x5072d1;_0x504415<0x30?_0x149d40(_0x50105d,_0x5ccbe2,_0x56534c,_0x50d469,_0x504415):_0x4790ae[_0x51127b(0x136)](_0x50105d,_0x5ccbe2,_0x56534c,_0x50d469,_0x504415);},se['exports']['unmask']=function(_0x3fecd0,_0x335f00){const _0x251cd6=_0x5072d1;_0x3fecd0[_0x251cd6(0x1a1)]<0x20?_0xc76320(_0x3fecd0,_0x335f00):_0x4790ae['unmask'](_0x3fecd0,_0x335f00);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x69c843=_0x22272f;if(He)return ye;He=0x1;const _0x1cd6fc=Symbol(_0x69c843(0x274)),_0x33bd03=Symbol(_0x69c843(0x133));class _0x1313d8{constructor(_0x422354){const _0x4eab31=_0x69c843;this[_0x1cd6fc]=()=>{const _0x471442=_0x58d9;this[_0x471442(0x24f)]--,this[_0x33bd03]();},this[_0x4eab31(0x299)]=_0x422354||0x1/0x0,this[_0x4eab31(0x2b4)]=[],this[_0x4eab31(0x24f)]=0x0;}['add'](_0x183fe1){const _0x1a2b2d=_0x69c843;this[_0x1a2b2d(0x2b4)][_0x1a2b2d(0x27c)](_0x183fe1),this[_0x33bd03]();}[_0x33bd03](){const _0x1f61ab=_0x69c843;if(this[_0x1f61ab(0x24f)]!==this[_0x1f61ab(0x299)]&&this[_0x1f61ab(0x2b4)][_0x1f61ab(0x1a1)]){const _0x28b7ab=this['jobs']['shift']();this[_0x1f61ab(0x24f)]++,_0x28b7ab(this[_0x1cd6fc]);}}}return ye=_0x1313d8,ye;}var ve,ze;function he(){const _0x31671a=_0x22272f;if(ze)return ve;ze=0x1;const _0x20530c=bt,_0x56a7c7=ce(),_0x16259f=Pt(),{kStatusCode:_0x3fb848}=H(),_0x597f38=Buffer[Symbol['species']],_0x139a57=Buffer[_0x31671a(0x27e)]([0x0,0x0,0xff,0xff]),_0x34be7d=Symbol('permessage-deflate'),_0x10c800=Symbol(_0x31671a(0x250)),_0x3d8bfa=Symbol(_0x31671a(0x193)),_0x5ae09b=Symbol(_0x31671a(0x26c)),_0x5d90a4=Symbol(_0x31671a(0x298));let _0x29b1d1;class _0xf9a770{constructor(_0x1ac865,_0x37d717,_0x534769){const _0xffe261=_0x31671a;if(this['_maxPayload']=_0x534769|0x0,this[_0xffe261(0x2ae)]=_0x1ac865||{},this['_threshold']=this[_0xffe261(0x2ae)][_0xffe261(0x10b)]!==void 0x0?this[_0xffe261(0x2ae)][_0xffe261(0x10b)]:0x400,this['_isServer']=!!_0x37d717,this['_deflate']=null,this[_0xffe261(0x1c8)]=null,this[_0xffe261(0x159)]=null,!_0x29b1d1){const _0x8576a7=this[_0xffe261(0x2ae)][_0xffe261(0x1bf)]!==void 0x0?this[_0xffe261(0x2ae)][_0xffe261(0x1bf)]:0xa;_0x29b1d1=new _0x16259f(_0x8576a7);}}static get[_0x31671a(0x22d)](){const _0x405b6c=_0x31671a;return _0x405b6c(0x16f);}[_0x31671a(0x163)](){const _0x576e97=_0x31671a,_0x827988={};return this[_0x576e97(0x2ae)][_0x576e97(0x1ea)]&&(_0x827988['server_no_context_takeover']=!0x0),this[_0x576e97(0x2ae)][_0x576e97(0x29b)]&&(_0x827988['client_no_context_takeover']=!0x0),this[_0x576e97(0x2ae)][_0x576e97(0x24b)]&&(_0x827988['server_max_window_bits']=this[_0x576e97(0x2ae)]['serverMaxWindowBits']),this['_options']['clientMaxWindowBits']?_0x827988[_0x576e97(0x11d)]=this[_0x576e97(0x2ae)][_0x576e97(0x132)]:this[_0x576e97(0x2ae)]['clientMaxWindowBits']==null&&(_0x827988['client_max_window_bits']=!0x0),_0x827988;}['accept'](_0x5ca489){const _0x1dff08=_0x31671a;return _0x5ca489=this[_0x1dff08(0x1e1)](_0x5ca489),this[_0x1dff08(0x159)]=this[_0x1dff08(0x127)]?this[_0x1dff08(0x23c)](_0x5ca489):this[_0x1dff08(0x14c)](_0x5ca489),this[_0x1dff08(0x159)];}[_0x31671a(0x260)](){const _0x3cafc6=_0x31671a;if(this[_0x3cafc6(0x1c8)]&&(this[_0x3cafc6(0x1c8)]['close'](),this[_0x3cafc6(0x1c8)]=null),this[_0x3cafc6(0x21f)]){const _0x148ae8=this[_0x3cafc6(0x21f)][_0x3d8bfa];this[_0x3cafc6(0x21f)][_0x3cafc6(0x1ae)](),this['_deflate']=null,_0x148ae8&&_0x148ae8(new Error(_0x3cafc6(0x12c)));}}['acceptAsServer'](_0x4a745a){const _0xfdf64f=_0x31671a,_0x1d89b7=this['_options'],_0x21cbdf=_0x4a745a[_0xfdf64f(0x129)](_0x1fbb0c=>!(_0x1d89b7[_0xfdf64f(0x1ea)]===!0x1&&_0x1fbb0c[_0xfdf64f(0x162)]||_0x1fbb0c[_0xfdf64f(0x24c)]&&(_0x1d89b7[_0xfdf64f(0x24b)]===!0x1||typeof _0x1d89b7[_0xfdf64f(0x24b)]==_0xfdf64f(0x20d)&&_0x1d89b7['serverMaxWindowBits']>_0x1fbb0c[_0xfdf64f(0x24c)])||typeof _0x1d89b7['clientMaxWindowBits']=='number'&&!_0x1fbb0c[_0xfdf64f(0x11d)]));if(!_0x21cbdf)throw new Error(_0xfdf64f(0x1f1));return _0x1d89b7[_0xfdf64f(0x1ea)]&&(_0x21cbdf[_0xfdf64f(0x162)]=!0x0),_0x1d89b7[_0xfdf64f(0x29b)]&&(_0x21cbdf[_0xfdf64f(0x1db)]=!0x0),typeof _0x1d89b7[_0xfdf64f(0x24b)]==_0xfdf64f(0x20d)&&(_0x21cbdf[_0xfdf64f(0x24c)]=_0x1d89b7['serverMaxWindowBits']),typeof _0x1d89b7['clientMaxWindowBits']==_0xfdf64f(0x20d)?_0x21cbdf[_0xfdf64f(0x11d)]=_0x1d89b7[_0xfdf64f(0x132)]:(_0x21cbdf[_0xfdf64f(0x11d)]===!0x0||_0x1d89b7[_0xfdf64f(0x132)]===!0x1)&&delete _0x21cbdf[_0xfdf64f(0x11d)],_0x21cbdf;}[_0x31671a(0x14c)](_0x28627f){const _0xaf8fc6=_0x31671a,_0x4e8551=_0x28627f[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x4e8551[_0xaf8fc6(0x1db)])throw new Error(_0xaf8fc6(0x21c));if(!_0x4e8551[_0xaf8fc6(0x11d)])typeof this[_0xaf8fc6(0x2ae)]['clientMaxWindowBits']==_0xaf8fc6(0x20d)&&(_0x4e8551[_0xaf8fc6(0x11d)]=this['_options'][_0xaf8fc6(0x132)]);else{if(this[_0xaf8fc6(0x2ae)]['clientMaxWindowBits']===!0x1||typeof this['_options']['clientMaxWindowBits']==_0xaf8fc6(0x20d)&&_0x4e8551[_0xaf8fc6(0x11d)]>this[_0xaf8fc6(0x2ae)][_0xaf8fc6(0x132)])throw new Error(_0xaf8fc6(0x18c));}return _0x4e8551;}[_0x31671a(0x1e1)](_0x37f0b0){const _0x54f779=_0x31671a;return _0x37f0b0[_0x54f779(0x206)](_0x1612dc=>{const _0x57fe5f=_0x54f779;Object[_0x57fe5f(0x1ef)](_0x1612dc)[_0x57fe5f(0x206)](_0x14b36a=>{const _0x250e83=_0x57fe5f;let _0x4bf204=_0x1612dc[_0x14b36a];if(_0x4bf204[_0x250e83(0x1a1)]>0x1)throw new Error('Parameter\x20\x22'+_0x14b36a+_0x250e83(0x252));if(_0x4bf204=_0x4bf204[0x0],_0x14b36a==='client_max_window_bits'){if(_0x4bf204!==!0x0){const _0x15e591=+_0x4bf204;if(!Number[_0x250e83(0x1d2)](_0x15e591)||_0x15e591<0x8||_0x15e591>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14b36a+'\x22:\x20'+_0x4bf204);_0x4bf204=_0x15e591;}else{if(!this[_0x250e83(0x127)])throw new TypeError(_0x250e83(0x12d)+_0x14b36a+_0x250e83(0x211)+_0x4bf204);}}else{if(_0x14b36a===_0x250e83(0x24c)){const _0x172877=+_0x4bf204;if(!Number[_0x250e83(0x1d2)](_0x172877)||_0x172877<0x8||_0x172877>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14b36a+'\x22:\x20'+_0x4bf204);_0x4bf204=_0x172877;}else{if(_0x14b36a===_0x250e83(0x1db)||_0x14b36a===_0x250e83(0x162)){if(_0x4bf204!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x14b36a+_0x250e83(0x211)+_0x4bf204);}else throw new Error(_0x250e83(0x15c)+_0x14b36a+'\x22');}}_0x1612dc[_0x14b36a]=_0x4bf204;});}),_0x37f0b0;}[_0x31671a(0x1a5)](_0x998e0a,_0x350091,_0x5927ae){const _0x3d467b=_0x31671a;_0x29b1d1[_0x3d467b(0x1e9)](_0x2b0594=>{const _0x144d07=_0x3d467b;this[_0x144d07(0x29c)](_0x998e0a,_0x350091,(_0x214a94,_0x3d54)=>{_0x2b0594(),_0x5927ae(_0x214a94,_0x3d54);});});}[_0x31671a(0x208)](_0x3a7102,_0x14679b,_0x4fff90){const _0x3190d9=_0x31671a;_0x29b1d1[_0x3190d9(0x1e9)](_0x25fe75=>{const _0x2118da=_0x3190d9;this[_0x2118da(0x25f)](_0x3a7102,_0x14679b,(_0x25ee6f,_0x396314)=>{_0x25fe75(),_0x4fff90(_0x25ee6f,_0x396314);});});}['_decompress'](_0x8bbcb7,_0x57ecff,_0x51df68){const _0x8a2d19=_0x31671a,_0x21f0c3=this[_0x8a2d19(0x127)]?_0x8a2d19(0x11c):_0x8a2d19(0x199);if(!this[_0x8a2d19(0x1c8)]){const _0x56e637=_0x21f0c3+'_max_window_bits',_0x26260c=typeof this[_0x8a2d19(0x159)][_0x56e637]!='number'?_0x20530c['Z_DEFAULT_WINDOWBITS']:this[_0x8a2d19(0x159)][_0x56e637];this['_inflate']=_0x20530c[_0x8a2d19(0x264)]({...this['_options'][_0x8a2d19(0x224)],'windowBits':_0x26260c}),this[_0x8a2d19(0x1c8)][_0x34be7d]=this,this[_0x8a2d19(0x1c8)][_0x10c800]=0x0,this['_inflate'][_0x5ae09b]=[],this['_inflate']['on']('error',_0x11ca18),this[_0x8a2d19(0x1c8)]['on'](_0x8a2d19(0x240),_0x50bc9f);}this['_inflate'][_0x3d8bfa]=_0x51df68,this['_inflate'][_0x8a2d19(0x230)](_0x8bbcb7),_0x57ecff&&this[_0x8a2d19(0x1c8)][_0x8a2d19(0x230)](_0x139a57),this[_0x8a2d19(0x1c8)][_0x8a2d19(0x222)](()=>{const _0x3b3f0e=_0x8a2d19,_0x3e9300=this[_0x3b3f0e(0x1c8)][_0x5d90a4];if(_0x3e9300){this['_inflate']['close'](),this[_0x3b3f0e(0x1c8)]=null,_0x51df68(_0x3e9300);return;}const _0xa478c6=_0x56a7c7[_0x3b3f0e(0x234)](this[_0x3b3f0e(0x1c8)][_0x5ae09b],this[_0x3b3f0e(0x1c8)][_0x10c800]);this[_0x3b3f0e(0x1c8)][_0x3b3f0e(0x27a)][_0x3b3f0e(0x169)]?(this[_0x3b3f0e(0x1c8)][_0x3b3f0e(0x1ae)](),this[_0x3b3f0e(0x1c8)]=null):(this[_0x3b3f0e(0x1c8)][_0x10c800]=0x0,this[_0x3b3f0e(0x1c8)][_0x5ae09b]=[],_0x57ecff&&this[_0x3b3f0e(0x159)][_0x21f0c3+'_no_context_takeover']&&this['_inflate'][_0x3b3f0e(0x1c9)]()),_0x51df68(null,_0xa478c6);});}['_compress'](_0x5f4400,_0x3588e8,_0x2793ee){const _0x309e33=_0x31671a,_0x42bcef=this['_isServer']?_0x309e33(0x199):'client';if(!this[_0x309e33(0x21f)]){const _0x5b5843=_0x42bcef+_0x309e33(0x26f),_0x5ce3b7=typeof this[_0x309e33(0x159)][_0x5b5843]!=_0x309e33(0x20d)?_0x20530c['Z_DEFAULT_WINDOWBITS']:this[_0x309e33(0x159)][_0x5b5843];this['_deflate']=_0x20530c[_0x309e33(0x1ed)]({...this['_options'][_0x309e33(0x16c)],'windowBits':_0x5ce3b7}),this['_deflate'][_0x10c800]=0x0,this[_0x309e33(0x21f)][_0x5ae09b]=[],this[_0x309e33(0x21f)]['on'](_0x309e33(0x240),_0x416b9b);}this['_deflate'][_0x3d8bfa]=_0x2793ee,this[_0x309e33(0x21f)][_0x309e33(0x230)](_0x5f4400),this['_deflate'][_0x309e33(0x222)](_0x20530c['Z_SYNC_FLUSH'],()=>{const _0x16d81e=_0x309e33;if(!this[_0x16d81e(0x21f)])return;let _0x552813=_0x56a7c7['concat'](this[_0x16d81e(0x21f)][_0x5ae09b],this['_deflate'][_0x10c800]);_0x3588e8&&(_0x552813=new _0x597f38(_0x552813['buffer'],_0x552813[_0x16d81e(0x170)],_0x552813[_0x16d81e(0x1a1)]-0x4)),this[_0x16d81e(0x21f)][_0x3d8bfa]=null,this[_0x16d81e(0x21f)][_0x10c800]=0x0,this[_0x16d81e(0x21f)][_0x5ae09b]=[],_0x3588e8&&this[_0x16d81e(0x159)][_0x42bcef+_0x16d81e(0x275)]&&this[_0x16d81e(0x21f)][_0x16d81e(0x1c9)](),_0x2793ee(null,_0x552813);});}}ve=_0xf9a770;function _0x416b9b(_0x3b845d){const _0x34de3b=_0x31671a;this[_0x5ae09b][_0x34de3b(0x27c)](_0x3b845d),this[_0x10c800]+=_0x3b845d[_0x34de3b(0x1a1)];}function _0x50bc9f(_0x3bfa4f){const _0x4b1a87=_0x31671a;if(this[_0x10c800]+=_0x3bfa4f['length'],this[_0x34be7d][_0x4b1a87(0x28d)]<0x1||this[_0x10c800]<=this[_0x34be7d][_0x4b1a87(0x28d)]){this[_0x5ae09b]['push'](_0x3bfa4f);return;}this[_0x5d90a4]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5d90a4][_0x4b1a87(0x167)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x5d90a4][_0x3fb848]=0x3f1,this['removeListener']('data',_0x50bc9f),this[_0x4b1a87(0x1c9)]();}function _0x11ca18(_0x3b08ce){const _0x39ef2e=_0x31671a;if(this[_0x34be7d][_0x39ef2e(0x1c8)]=null,this[_0x5d90a4]){this[_0x3d8bfa](this[_0x5d90a4]);return;}_0x3b08ce[_0x3fb848]=0x3ef,this[_0x3d8bfa](_0x3b08ce);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x22272f(0x13b)](Object[_0x22272f(0x2a1)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x22272f(0x2a6)})),Bt=at(Rt);var Ye;function ae(){const _0x34cbcb=_0x22272f;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x4f4da3}=wt,{hasBlob:_0x25785f}=H(),_0x2c2a14=[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 _0x1fdf40(_0x35a7ec){return _0x35a7ec>=0x3e8&&_0x35a7ec<=0x3f6&&_0x35a7ec!==0x3ec&&_0x35a7ec!==0x3ed&&_0x35a7ec!==0x3ee||_0x35a7ec>=0xbb8&&_0x35a7ec<=0x1387;}function _0x281ca2(_0x3d722c){const _0x1a2149=_0x58d9,_0x37bec3=_0x3d722c[_0x1a2149(0x1a1)];let _0x3c91f8=0x0;for(;_0x3c91f8<_0x37bec3;)if((_0x3d722c[_0x3c91f8]&0x80)===0x0)_0x3c91f8++;else{if((_0x3d722c[_0x3c91f8]&0xe0)===0xc0){if(_0x3c91f8+0x1===_0x37bec3||(_0x3d722c[_0x3c91f8+0x1]&0xc0)!==0x80||(_0x3d722c[_0x3c91f8]&0xfe)===0xc0)return!0x1;_0x3c91f8+=0x2;}else{if((_0x3d722c[_0x3c91f8]&0xf0)===0xe0){if(_0x3c91f8+0x2>=_0x37bec3||(_0x3d722c[_0x3c91f8+0x1]&0xc0)!==0x80||(_0x3d722c[_0x3c91f8+0x2]&0xc0)!==0x80||_0x3d722c[_0x3c91f8]===0xe0&&(_0x3d722c[_0x3c91f8+0x1]&0xe0)===0x80||_0x3d722c[_0x3c91f8]===0xed&&(_0x3d722c[_0x3c91f8+0x1]&0xe0)===0xa0)return!0x1;_0x3c91f8+=0x3;}else{if((_0x3d722c[_0x3c91f8]&0xf8)===0xf0){if(_0x3c91f8+0x3>=_0x37bec3||(_0x3d722c[_0x3c91f8+0x1]&0xc0)!==0x80||(_0x3d722c[_0x3c91f8+0x2]&0xc0)!==0x80||(_0x3d722c[_0x3c91f8+0x3]&0xc0)!==0x80||_0x3d722c[_0x3c91f8]===0xf0&&(_0x3d722c[_0x3c91f8+0x1]&0xf0)===0x80||_0x3d722c[_0x3c91f8]===0xf4&&_0x3d722c[_0x3c91f8+0x1]>0x8f||_0x3d722c[_0x3c91f8]>0xf4)return!0x1;_0x3c91f8+=0x4;}else return!0x1;}}}return!0x0;}function _0x10d961(_0x5a7c68){const _0x515c04=_0x58d9;return _0x25785f&&typeof _0x5a7c68==_0x515c04(0x134)&&typeof _0x5a7c68[_0x515c04(0x1cf)]==_0x515c04(0x194)&&typeof _0x5a7c68[_0x515c04(0x26d)]=='string'&&typeof _0x5a7c68['stream']=='function'&&(_0x5a7c68[Symbol[_0x515c04(0x253)]]==='Blob'||_0x5a7c68[Symbol[_0x515c04(0x253)]]===_0x515c04(0x29d));}if(ie['exports']={'isBlob':_0x10d961,'isValidStatusCode':_0x1fdf40,'isValidUTF8':_0x281ca2,'tokenChars':_0x2c2a14},_0x4f4da3)ie[_0x34cbcb(0x25a)][_0x34cbcb(0x166)]=function(_0x1d7ee7){const _0x50ed31=_0x34cbcb;return _0x1d7ee7[_0x50ed31(0x1a1)]<0x18?_0x281ca2(_0x1d7ee7):_0x4f4da3(_0x1d7ee7);};else{if(!process[_0x34cbcb(0x25b)]['WS_NO_UTF_8_VALIDATE'])try{const _0x26b46c=Bt;ie[_0x34cbcb(0x25a)]['isValidUTF8']=function(_0x21d442){return _0x21d442['length']<0x20?_0x281ca2(_0x21d442):_0x26b46c(_0x21d442);};}catch{}}return ie[_0x34cbcb(0x25a)];}var Se,Ke;function lt(){const _0x1f0861=_0x22272f;if(Ke)return Se;Ke=0x1;const {Writable:_0xb76aab}=oe,_0x4d0417=he(),{BINARY_TYPES:_0x994eb6,EMPTY_BUFFER:_0x3c41d8,kStatusCode:_0x538b2d,kWebSocket:_0x2d12a8}=H(),{concat:_0x26249b,toArrayBuffer:_0x128694,unmask:_0x37baac}=ce(),{isValidStatusCode:_0x2e535f,isValidUTF8:_0x4b9b56}=ae(),_0x482205=Buffer[Symbol[_0x1f0861(0x28a)]],_0x10d4f0=0x0,_0x2b9ab6=0x1,_0x549a5d=0x2,_0x5e783c=0x3,_0x3da35e=0x4,_0x32c8c2=0x5,_0xa10131=0x6;class _0x435498 extends _0xb76aab{constructor(_0x4b831b={}){const _0x2d4788=_0x1f0861;super(),this[_0x2d4788(0xfe)]=_0x4b831b[_0x2d4788(0x176)]!==void 0x0?_0x4b831b['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x4b831b[_0x2d4788(0x27f)]||_0x994eb6[0x0],this[_0x2d4788(0x115)]=_0x4b831b['extensions']||{},this[_0x2d4788(0x127)]=!!_0x4b831b[_0x2d4788(0x241)],this['_maxPayload']=_0x4b831b['maxPayload']|0x0,this[_0x2d4788(0x1a6)]=!!_0x4b831b[_0x2d4788(0x285)],this[_0x2d12a8]=void 0x0,this[_0x2d4788(0x28e)]=0x0,this[_0x2d4788(0x1f8)]=[],this[_0x2d4788(0x1ad)]=!0x1,this[_0x2d4788(0x2c2)]=0x0,this[_0x2d4788(0x218)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x2d4788(0x20e)]=!0x1,this[_0x2d4788(0x1a7)]=0x0,this[_0x2d4788(0x1cc)]=0x0,this[_0x2d4788(0x28c)]=0x0,this['_fragments']=[],this[_0x2d4788(0x255)]=!0x1,this[_0x2d4788(0x13e)]=!0x1,this['_state']=_0x10d4f0;}[_0x1f0861(0x148)](_0x2c672d,_0x55b0d3,_0x3532b4){const _0x3d05e4=_0x1f0861;if(this[_0x3d05e4(0x1a7)]===0x8&&this[_0x3d05e4(0x17f)]==_0x10d4f0)return _0x3532b4();this['_bufferedBytes']+=_0x2c672d[_0x3d05e4(0x1a1)],this['_buffers'][_0x3d05e4(0x27c)](_0x2c672d),this[_0x3d05e4(0x295)](_0x3532b4);}[_0x1f0861(0x104)](_0x215dfd){const _0x21a331=_0x1f0861;if(this['_bufferedBytes']-=_0x215dfd,_0x215dfd===this[_0x21a331(0x1f8)][0x0][_0x21a331(0x1a1)])return this[_0x21a331(0x1f8)][_0x21a331(0x153)]();if(_0x215dfd<this[_0x21a331(0x1f8)][0x0][_0x21a331(0x1a1)]){const _0x3edc6f=this[_0x21a331(0x1f8)][0x0];return this[_0x21a331(0x1f8)][0x0]=new _0x482205(_0x3edc6f[_0x21a331(0x2ad)],_0x3edc6f[_0x21a331(0x170)]+_0x215dfd,_0x3edc6f[_0x21a331(0x1a1)]-_0x215dfd),new _0x482205(_0x3edc6f['buffer'],_0x3edc6f['byteOffset'],_0x215dfd);}const _0x29b757=Buffer[_0x21a331(0x1d3)](_0x215dfd);do{const _0x21f3d1=this[_0x21a331(0x1f8)][0x0],_0x1ff0bc=_0x29b757[_0x21a331(0x1a1)]-_0x215dfd;_0x215dfd>=_0x21f3d1[_0x21a331(0x1a1)]?_0x29b757[_0x21a331(0x232)](this['_buffers'][_0x21a331(0x153)](),_0x1ff0bc):(_0x29b757[_0x21a331(0x232)](new Uint8Array(_0x21f3d1['buffer'],_0x21f3d1[_0x21a331(0x170)],_0x215dfd),_0x1ff0bc),this['_buffers'][0x0]=new _0x482205(_0x21f3d1['buffer'],_0x21f3d1['byteOffset']+_0x215dfd,_0x21f3d1['length']-_0x215dfd)),_0x215dfd-=_0x21f3d1[_0x21a331(0x1a1)];}while(_0x215dfd>0x0);return _0x29b757;}['startLoop'](_0x1e0ed1){const _0x37733f=_0x1f0861;this[_0x37733f(0x13e)]=!0x0;do switch(this[_0x37733f(0x17f)]){case _0x10d4f0:this[_0x37733f(0x2c4)](_0x1e0ed1);break;case _0x2b9ab6:this[_0x37733f(0x1df)](_0x1e0ed1);break;case _0x549a5d:this[_0x37733f(0x17b)](_0x1e0ed1);break;case _0x5e783c:this[_0x37733f(0x1be)]();break;case _0x3da35e:this[_0x37733f(0x13f)](_0x1e0ed1);break;case _0x32c8c2:case _0xa10131:this[_0x37733f(0x13e)]=!0x1;return;}while(this[_0x37733f(0x13e)]);this['_errored']||_0x1e0ed1();}['getInfo'](_0x4a8461){const _0x25d348=_0x1f0861;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x170f7d=this[_0x25d348(0x104)](0x2);if((_0x170f7d[0x0]&0x30)!==0x0){const _0x45a4ad=this['createError'](RangeError,_0x25d348(0x14a),!0x0,0x3ea,_0x25d348(0x140));_0x4a8461(_0x45a4ad);return;}const _0x4b8b4b=(_0x170f7d[0x0]&0x40)===0x40;if(_0x4b8b4b&&!this['_extensions'][_0x4d0417[_0x25d348(0x22d)]]){const _0x18b82f=this['createError'](RangeError,_0x25d348(0x1a8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a8461(_0x18b82f);return;}if(this['_fin']=(_0x170f7d[0x0]&0x80)===0x80,this[_0x25d348(0x1a7)]=_0x170f7d[0x0]&0xf,this[_0x25d348(0x2c2)]=_0x170f7d[0x1]&0x7f,this['_opcode']===0x0){if(_0x4b8b4b){const _0x4d2832=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x1a8),!0x0,0x3ea,_0x25d348(0x142));_0x4a8461(_0x4d2832);return;}if(!this[_0x25d348(0x161)]){const _0x5e6f9a=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x1dc),!0x0,0x3ea,_0x25d348(0x203));_0x4a8461(_0x5e6f9a);return;}this[_0x25d348(0x1a7)]=this[_0x25d348(0x161)];}else{if(this[_0x25d348(0x1a7)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x53db4e=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x19e)+this[_0x25d348(0x1a7)],!0x0,0x3ea,_0x25d348(0x203));_0x4a8461(_0x53db4e);return;}this['_compressed']=_0x4b8b4b;}else{if(this[_0x25d348(0x1a7)]>0x7&&this[_0x25d348(0x1a7)]<0xb){if(!this[_0x25d348(0x20e)]){const _0x1d1b64=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x283),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4a8461(_0x1d1b64);return;}if(_0x4b8b4b){const _0x16c82f=this['createError'](RangeError,_0x25d348(0x1a8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a8461(_0x16c82f);return;}if(this['_payloadLength']>0x7d||this[_0x25d348(0x1a7)]===0x8&&this[_0x25d348(0x2c2)]===0x1){const _0x1bfa51=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x14d)+this[_0x25d348(0x2c2)],!0x0,0x3ea,_0x25d348(0x238));_0x4a8461(_0x1bfa51);return;}}else{const _0x226d5=this['createError'](RangeError,_0x25d348(0x19e)+this[_0x25d348(0x1a7)],!0x0,0x3ea,_0x25d348(0x203));_0x4a8461(_0x226d5);return;}}}if(!this[_0x25d348(0x20e)]&&!this[_0x25d348(0x161)]&&(this[_0x25d348(0x161)]=this[_0x25d348(0x1a7)]),this['_masked']=(_0x170f7d[0x1]&0x80)===0x80,this[_0x25d348(0x127)]){if(!this['_masked']){const _0x4b9e0f=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x257),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4a8461(_0x4b9e0f);return;}}else{if(this['_masked']){const _0x4ba160=this[_0x25d348(0x12a)](RangeError,_0x25d348(0x200),!0x0,0x3ea,_0x25d348(0x175));_0x4a8461(_0x4ba160);return;}}this[_0x25d348(0x2c2)]===0x7e?this[_0x25d348(0x17f)]=_0x2b9ab6:this[_0x25d348(0x2c2)]===0x7f?this[_0x25d348(0x17f)]=_0x549a5d:this[_0x25d348(0x249)](_0x4a8461);}[_0x1f0861(0x1df)](_0x5df8d6){const _0x2b9cca=_0x1f0861;if(this['_bufferedBytes']<0x2){this[_0x2b9cca(0x13e)]=!0x1;return;}this[_0x2b9cca(0x2c2)]=this[_0x2b9cca(0x104)](0x2)[_0x2b9cca(0x2a0)](0x0),this['haveLength'](_0x5df8d6);}[_0x1f0861(0x17b)](_0x2aff94){const _0x3ebc9c=_0x1f0861;if(this[_0x3ebc9c(0x28e)]<0x8){this['_loop']=!0x1;return;}const _0x28514d=this[_0x3ebc9c(0x104)](0x8),_0xa8442e=_0x28514d[_0x3ebc9c(0x2be)](0x0);if(_0xa8442e>Math[_0x3ebc9c(0x198)](0x2,0x15)-0x1){const _0xfba216=this[_0x3ebc9c(0x12a)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3ebc9c(0x1bd));_0x2aff94(_0xfba216);return;}this[_0x3ebc9c(0x2c2)]=_0xa8442e*Math[_0x3ebc9c(0x198)](0x2,0x20)+_0x28514d['readUInt32BE'](0x4),this[_0x3ebc9c(0x249)](_0x2aff94);}[_0x1f0861(0x249)](_0x485dd4){const _0x16fa18=_0x1f0861;if(this[_0x16fa18(0x2c2)]&&this['_opcode']<0x8&&(this[_0x16fa18(0x1cc)]+=this[_0x16fa18(0x2c2)],this[_0x16fa18(0x1cc)]>this[_0x16fa18(0x28d)]&&this[_0x16fa18(0x28d)]>0x0)){const _0x3241e4=this[_0x16fa18(0x12a)](RangeError,_0x16fa18(0x108),!0x1,0x3f1,_0x16fa18(0x145));_0x485dd4(_0x3241e4);return;}this['_masked']?this[_0x16fa18(0x17f)]=_0x5e783c:this[_0x16fa18(0x17f)]=_0x3da35e;}['getMask'](){const _0x3d50b3=_0x1f0861;if(this[_0x3d50b3(0x28e)]<0x4){this[_0x3d50b3(0x13e)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x3d50b3(0x17f)]=_0x3da35e;}['getData'](_0x1fa711){const _0x499719=_0x1f0861;let _0x598674=_0x3c41d8;if(this['_payloadLength']){if(this[_0x499719(0x28e)]<this['_payloadLength']){this[_0x499719(0x13e)]=!0x1;return;}_0x598674=this['consume'](this['_payloadLength']),this['_masked']&&(this[_0x499719(0x218)][0x0]|this[_0x499719(0x218)][0x1]|this[_0x499719(0x218)][0x2]|this['_mask'][0x3])!==0x0&&_0x37baac(_0x598674,this[_0x499719(0x218)]);}if(this[_0x499719(0x1a7)]>0x7){this[_0x499719(0x1fa)](_0x598674,_0x1fa711);return;}if(this[_0x499719(0x1ad)]){this[_0x499719(0x17f)]=_0x32c8c2,this['decompress'](_0x598674,_0x1fa711);return;}_0x598674['length']&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x499719(0x22c)][_0x499719(0x27c)](_0x598674)),this[_0x499719(0x12e)](_0x1fa711);}[_0x1f0861(0x1a5)](_0x696361,_0x220d01){const _0x12fae1=_0x1f0861;this['_extensions'][_0x4d0417[_0x12fae1(0x22d)]][_0x12fae1(0x1a5)](_0x696361,this['_fin'],(_0xd7a9ee,_0x5db28a)=>{const _0x429636=_0x12fae1;if(_0xd7a9ee)return _0x220d01(_0xd7a9ee);if(_0x5db28a['length']){if(this['_messageLength']+=_0x5db28a['length'],this[_0x429636(0x28c)]>this[_0x429636(0x28d)]&&this['_maxPayload']>0x0){const _0x41ea5c=this['createError'](RangeError,_0x429636(0x108),!0x1,0x3f1,_0x429636(0x145));_0x220d01(_0x41ea5c);return;}this[_0x429636(0x22c)]['push'](_0x5db28a);}this['dataMessage'](_0x220d01),this[_0x429636(0x17f)]===_0x10d4f0&&this[_0x429636(0x295)](_0x220d01);});}[_0x1f0861(0x12e)](_0x1a712a){const _0x34c0a3=_0x1f0861;if(!this[_0x34c0a3(0x20e)]){this[_0x34c0a3(0x17f)]=_0x10d4f0;return;}const _0x464fa8=this[_0x34c0a3(0x28c)],_0x25e718=this[_0x34c0a3(0x22c)];if(this['_totalPayloadLength']=0x0,this[_0x34c0a3(0x28c)]=0x0,this[_0x34c0a3(0x161)]=0x0,this['_fragments']=[],this[_0x34c0a3(0x1a7)]===0x2){let _0x5e226b;this['_binaryType']===_0x34c0a3(0x181)?_0x5e226b=_0x26249b(_0x25e718,_0x464fa8):this[_0x34c0a3(0x13a)]===_0x34c0a3(0x1da)?_0x5e226b=_0x128694(_0x26249b(_0x25e718,_0x464fa8)):this[_0x34c0a3(0x13a)]===_0x34c0a3(0x27d)?_0x5e226b=new Blob(_0x25e718):_0x5e226b=_0x25e718,this[_0x34c0a3(0xfe)]?(this[_0x34c0a3(0x2a3)]('message',_0x5e226b,!0x0),this[_0x34c0a3(0x17f)]=_0x10d4f0):(this[_0x34c0a3(0x17f)]=_0xa10131,setImmediate(()=>{const _0x35b347=_0x34c0a3;this[_0x35b347(0x2a3)](_0x35b347(0x101),_0x5e226b,!0x0),this[_0x35b347(0x17f)]=_0x10d4f0,this['startLoop'](_0x1a712a);}));}else{const _0x359615=_0x26249b(_0x25e718,_0x464fa8);if(!this[_0x34c0a3(0x1a6)]&&!_0x4b9b56(_0x359615)){const _0x457f6d=this['createError'](Error,_0x34c0a3(0x23b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1a712a(_0x457f6d);return;}this[_0x34c0a3(0x17f)]===_0x32c8c2||this[_0x34c0a3(0xfe)]?(this[_0x34c0a3(0x2a3)](_0x34c0a3(0x101),_0x359615,!0x1),this[_0x34c0a3(0x17f)]=_0x10d4f0):(this['_state']=_0xa10131,setImmediate(()=>{const _0x29bf6b=_0x34c0a3;this[_0x29bf6b(0x2a3)]('message',_0x359615,!0x1),this[_0x29bf6b(0x17f)]=_0x10d4f0,this[_0x29bf6b(0x295)](_0x1a712a);}));}}[_0x1f0861(0x1fa)](_0x571342,_0xc620eb){const _0x57aa5a=_0x1f0861;if(this[_0x57aa5a(0x1a7)]===0x8){if(_0x571342[_0x57aa5a(0x1a1)]===0x0)this['_loop']=!0x1,this[_0x57aa5a(0x2a3)](_0x57aa5a(0x1e3),0x3ed,_0x3c41d8),this[_0x57aa5a(0x19d)]();else{const _0x4198ea=_0x571342[_0x57aa5a(0x2a0)](0x0);if(!_0x2e535f(_0x4198ea)){const _0x250bc5=this[_0x57aa5a(0x12a)](RangeError,_0x57aa5a(0x1f4)+_0x4198ea,!0x0,0x3ea,_0x57aa5a(0x121));_0xc620eb(_0x250bc5);return;}const _0x5d8ccc=new _0x482205(_0x571342[_0x57aa5a(0x2ad)],_0x571342[_0x57aa5a(0x170)]+0x2,_0x571342[_0x57aa5a(0x1a1)]-0x2);if(!this[_0x57aa5a(0x1a6)]&&!_0x4b9b56(_0x5d8ccc)){const _0xb57576=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x57aa5a(0x2bf));_0xc620eb(_0xb57576);return;}this[_0x57aa5a(0x13e)]=!0x1,this[_0x57aa5a(0x2a3)](_0x57aa5a(0x1e3),_0x4198ea,_0x5d8ccc),this[_0x57aa5a(0x19d)]();}this[_0x57aa5a(0x17f)]=_0x10d4f0;return;}this['_allowSynchronousEvents']?(this[_0x57aa5a(0x2a3)](this[_0x57aa5a(0x1a7)]===0x9?_0x57aa5a(0x21d):_0x57aa5a(0x2b6),_0x571342),this[_0x57aa5a(0x17f)]=_0x10d4f0):(this[_0x57aa5a(0x17f)]=_0xa10131,setImmediate(()=>{const _0x573a88=_0x57aa5a;this[_0x573a88(0x2a3)](this[_0x573a88(0x1a7)]===0x9?_0x573a88(0x21d):_0x573a88(0x2b6),_0x571342),this[_0x573a88(0x17f)]=_0x10d4f0,this[_0x573a88(0x295)](_0xc620eb);}));}[_0x1f0861(0x12a)](_0x27eed4,_0x44aa5a,_0x35d9db,_0x3ae109,_0x3bd3f3){const _0x2823f4=_0x1f0861;this[_0x2823f4(0x13e)]=!0x1,this[_0x2823f4(0x255)]=!0x0;const _0x3a1ae3=new _0x27eed4(_0x35d9db?_0x2823f4(0x209)+_0x44aa5a:_0x44aa5a);return Error[_0x2823f4(0x29e)](_0x3a1ae3,this['createError']),_0x3a1ae3[_0x2823f4(0x167)]=_0x3bd3f3,_0x3a1ae3[_0x538b2d]=_0x3ae109,_0x3a1ae3;}}return Se=_0x435498,Se;}var Ee,Xe;function ft(){const _0x593d28=_0x22272f;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5ca2f7}=oe,{randomFillSync:_0x13fc4c}=Le,_0x1c1e71=he(),{EMPTY_BUFFER:_0x2e6724,kWebSocket:_0x244f9a,NOOP:_0x167c6a}=H(),{isBlob:_0x5818e5,isValidStatusCode:_0x3b1393}=ae(),{mask:_0x18c8f4,toBuffer:_0x342cf7}=ce(),_0x22d8c5=Symbol(_0x593d28(0x13d)),_0x214770=Buffer['alloc'](0x4),_0x39c778=0x8*0x400;let _0x5b8a97,_0x1a57ea=_0x39c778;const _0x43ffe4=0x0,_0x6e5cf0=0x1,_0x23ef9b=0x2;class _0x59b67c{constructor(_0x4d776d,_0x5d00e5,_0x50d16f){const _0x97fc79=_0x593d28;this[_0x97fc79(0x115)]=_0x5d00e5||{},_0x50d16f&&(this[_0x97fc79(0x19f)]=_0x50d16f,this[_0x97fc79(0x2c0)]=Buffer[_0x97fc79(0x280)](0x4)),this[_0x97fc79(0x190)]=_0x4d776d,this[_0x97fc79(0x25e)]=!0x0,this[_0x97fc79(0x25f)]=!0x1,this['_bufferedBytes']=0x0,this[_0x97fc79(0x265)]=[],this[_0x97fc79(0x17f)]=_0x43ffe4,this['onerror']=_0x167c6a,this[_0x244f9a]=void 0x0;}static['frame'](_0x2849e1,_0x4e3fb5){const _0x355c7a=_0x593d28;let _0x4295a9,_0xf15a5f=!0x1,_0x440102=0x2,_0x24afe2=!0x1;_0x4e3fb5[_0x355c7a(0x136)]&&(_0x4295a9=_0x4e3fb5[_0x355c7a(0x27b)]||_0x214770,_0x4e3fb5['generateMask']?_0x4e3fb5[_0x355c7a(0x143)](_0x4295a9):(_0x1a57ea===_0x39c778&&(_0x5b8a97===void 0x0&&(_0x5b8a97=Buffer[_0x355c7a(0x280)](_0x39c778)),_0x13fc4c(_0x5b8a97,0x0,_0x39c778),_0x1a57ea=0x0),_0x4295a9[0x0]=_0x5b8a97[_0x1a57ea++],_0x4295a9[0x1]=_0x5b8a97[_0x1a57ea++],_0x4295a9[0x2]=_0x5b8a97[_0x1a57ea++],_0x4295a9[0x3]=_0x5b8a97[_0x1a57ea++]),_0x24afe2=(_0x4295a9[0x0]|_0x4295a9[0x1]|_0x4295a9[0x2]|_0x4295a9[0x3])===0x0,_0x440102=0x6);let _0x45d79b;typeof _0x2849e1=='string'?(!_0x4e3fb5[_0x355c7a(0x136)]||_0x24afe2)&&_0x4e3fb5[_0x22d8c5]!==void 0x0?_0x45d79b=_0x4e3fb5[_0x22d8c5]:(_0x2849e1=Buffer[_0x355c7a(0x27e)](_0x2849e1),_0x45d79b=_0x2849e1[_0x355c7a(0x1a1)]):(_0x45d79b=_0x2849e1[_0x355c7a(0x1a1)],_0xf15a5f=_0x4e3fb5[_0x355c7a(0x136)]&&_0x4e3fb5[_0x355c7a(0x284)]&&!_0x24afe2);let _0x4c0d10=_0x45d79b;_0x45d79b>=0x10000?(_0x440102+=0x8,_0x4c0d10=0x7f):_0x45d79b>0x7d&&(_0x440102+=0x2,_0x4c0d10=0x7e);const _0x5ecbb7=Buffer['allocUnsafe'](_0xf15a5f?_0x45d79b+_0x440102:_0x440102);return _0x5ecbb7[0x0]=_0x4e3fb5[_0x355c7a(0x20a)]?_0x4e3fb5[_0x355c7a(0x1eb)]|0x80:_0x4e3fb5['opcode'],_0x4e3fb5[_0x355c7a(0xff)]&&(_0x5ecbb7[0x0]|=0x40),_0x5ecbb7[0x1]=_0x4c0d10,_0x4c0d10===0x7e?_0x5ecbb7[_0x355c7a(0x229)](_0x45d79b,0x2):_0x4c0d10===0x7f&&(_0x5ecbb7[0x2]=_0x5ecbb7[0x3]=0x0,_0x5ecbb7[_0x355c7a(0x15e)](_0x45d79b,0x4,0x6)),_0x4e3fb5[_0x355c7a(0x136)]?(_0x5ecbb7[0x1]|=0x80,_0x5ecbb7[_0x440102-0x4]=_0x4295a9[0x0],_0x5ecbb7[_0x440102-0x3]=_0x4295a9[0x1],_0x5ecbb7[_0x440102-0x2]=_0x4295a9[0x2],_0x5ecbb7[_0x440102-0x1]=_0x4295a9[0x3],_0x24afe2?[_0x5ecbb7,_0x2849e1]:_0xf15a5f?(_0x18c8f4(_0x2849e1,_0x4295a9,_0x5ecbb7,_0x440102,_0x45d79b),[_0x5ecbb7]):(_0x18c8f4(_0x2849e1,_0x4295a9,_0x2849e1,0x0,_0x45d79b),[_0x5ecbb7,_0x2849e1])):[_0x5ecbb7,_0x2849e1];}[_0x593d28(0x1ae)](_0x36ae3e,_0x16b306,_0x240b7e,_0x1fed16){const _0x1fe420=_0x593d28;let _0x4e021c;if(_0x36ae3e===void 0x0)_0x4e021c=_0x2e6724;else{if(typeof _0x36ae3e!=_0x1fe420(0x20d)||!_0x3b1393(_0x36ae3e))throw new TypeError(_0x1fe420(0x154));if(_0x16b306===void 0x0||!_0x16b306[_0x1fe420(0x1a1)])_0x4e021c=Buffer[_0x1fe420(0x1d3)](0x2),_0x4e021c[_0x1fe420(0x229)](_0x36ae3e,0x0);else{const _0x46b394=Buffer[_0x1fe420(0x191)](_0x16b306);if(_0x46b394>0x7b)throw new RangeError(_0x1fe420(0x131));_0x4e021c=Buffer[_0x1fe420(0x1d3)](0x2+_0x46b394),_0x4e021c['writeUInt16BE'](_0x36ae3e,0x0),typeof _0x16b306==_0x1fe420(0x126)?_0x4e021c[_0x1fe420(0x230)](_0x16b306,0x2):_0x4e021c[_0x1fe420(0x232)](_0x16b306,0x2);}}const _0x2a72f8={[_0x22d8c5]:_0x4e021c[_0x1fe420(0x1a1)],'fin':!0x0,'generateMask':this[_0x1fe420(0x19f)],'mask':_0x240b7e,'maskBuffer':this[_0x1fe420(0x2c0)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1fe420(0x17f)]!==_0x43ffe4?this[_0x1fe420(0x1b1)]([this[_0x1fe420(0x273)],_0x4e021c,!0x1,_0x2a72f8,_0x1fed16]):this[_0x1fe420(0x12b)](_0x59b67c[_0x1fe420(0x28b)](_0x4e021c,_0x2a72f8),_0x1fed16);}[_0x593d28(0x21d)](_0x1da6f1,_0x4acc30,_0x13e8d2){const _0x18c1ac=_0x593d28;let _0x7c6a50,_0x4827ec;if(typeof _0x1da6f1=='string'?(_0x7c6a50=Buffer['byteLength'](_0x1da6f1),_0x4827ec=!0x1):_0x5818e5(_0x1da6f1)?(_0x7c6a50=_0x1da6f1[_0x18c1ac(0x19a)],_0x4827ec=!0x1):(_0x1da6f1=_0x342cf7(_0x1da6f1),_0x7c6a50=_0x1da6f1['length'],_0x4827ec=_0x342cf7[_0x18c1ac(0x284)]),_0x7c6a50>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x594f6d={[_0x22d8c5]:_0x7c6a50,'fin':!0x0,'generateMask':this[_0x18c1ac(0x19f)],'mask':_0x4acc30,'maskBuffer':this[_0x18c1ac(0x2c0)],'opcode':0x9,'readOnly':_0x4827ec,'rsv1':!0x1};_0x5818e5(_0x1da6f1)?this[_0x18c1ac(0x17f)]!==_0x43ffe4?this['enqueue']([this[_0x18c1ac(0x2b5)],_0x1da6f1,!0x1,_0x594f6d,_0x13e8d2]):this[_0x18c1ac(0x2b5)](_0x1da6f1,!0x1,_0x594f6d,_0x13e8d2):this['_state']!==_0x43ffe4?this[_0x18c1ac(0x1b1)]([this[_0x18c1ac(0x273)],_0x1da6f1,!0x1,_0x594f6d,_0x13e8d2]):this[_0x18c1ac(0x12b)](_0x59b67c[_0x18c1ac(0x28b)](_0x1da6f1,_0x594f6d),_0x13e8d2);}['pong'](_0x20bbd0,_0x81cf73,_0x262d7e){const _0x175126=_0x593d28;let _0x3dd3ce,_0x30bfae;if(typeof _0x20bbd0==_0x175126(0x126)?(_0x3dd3ce=Buffer[_0x175126(0x191)](_0x20bbd0),_0x30bfae=!0x1):_0x5818e5(_0x20bbd0)?(_0x3dd3ce=_0x20bbd0[_0x175126(0x19a)],_0x30bfae=!0x1):(_0x20bbd0=_0x342cf7(_0x20bbd0),_0x3dd3ce=_0x20bbd0[_0x175126(0x1a1)],_0x30bfae=_0x342cf7['readOnly']),_0x3dd3ce>0x7d)throw new RangeError(_0x175126(0x177));const _0x53cfd7={[_0x22d8c5]:_0x3dd3ce,'fin':!0x0,'generateMask':this[_0x175126(0x19f)],'mask':_0x81cf73,'maskBuffer':this[_0x175126(0x2c0)],'opcode':0xa,'readOnly':_0x30bfae,'rsv1':!0x1};_0x5818e5(_0x20bbd0)?this[_0x175126(0x17f)]!==_0x43ffe4?this['enqueue']([this['getBlobData'],_0x20bbd0,!0x1,_0x53cfd7,_0x262d7e]):this[_0x175126(0x2b5)](_0x20bbd0,!0x1,_0x53cfd7,_0x262d7e):this[_0x175126(0x17f)]!==_0x43ffe4?this['enqueue']([this['dispatch'],_0x20bbd0,!0x1,_0x53cfd7,_0x262d7e]):this[_0x175126(0x12b)](_0x59b67c[_0x175126(0x28b)](_0x20bbd0,_0x53cfd7),_0x262d7e);}[_0x593d28(0x277)](_0x599d3e,_0x17ac55,_0xe87c53){const _0x52580f=_0x593d28,_0x10f7d9=this[_0x52580f(0x115)][_0x1c1e71[_0x52580f(0x22d)]];let _0x2c7a62=_0x17ac55['binary']?0x2:0x1,_0x442264=_0x17ac55[_0x52580f(0x208)],_0x55fdf1,_0x40fe2b;typeof _0x599d3e==_0x52580f(0x126)?(_0x55fdf1=Buffer[_0x52580f(0x191)](_0x599d3e),_0x40fe2b=!0x1):_0x5818e5(_0x599d3e)?(_0x55fdf1=_0x599d3e[_0x52580f(0x19a)],_0x40fe2b=!0x1):(_0x599d3e=_0x342cf7(_0x599d3e),_0x55fdf1=_0x599d3e[_0x52580f(0x1a1)],_0x40fe2b=_0x342cf7[_0x52580f(0x284)]),this[_0x52580f(0x25e)]?(this[_0x52580f(0x25e)]=!0x1,_0x442264&&_0x10f7d9&&_0x10f7d9[_0x52580f(0x159)][_0x10f7d9[_0x52580f(0x127)]?_0x52580f(0x162):_0x52580f(0x1db)]&&(_0x442264=_0x55fdf1>=_0x10f7d9[_0x52580f(0x18b)]),this[_0x52580f(0x25f)]=_0x442264):(_0x442264=!0x1,_0x2c7a62=0x0),_0x17ac55['fin']&&(this[_0x52580f(0x25e)]=!0x0);const _0x514918={[_0x22d8c5]:_0x55fdf1,'fin':_0x17ac55[_0x52580f(0x20a)],'generateMask':this[_0x52580f(0x19f)],'mask':_0x17ac55[_0x52580f(0x136)],'maskBuffer':this[_0x52580f(0x2c0)],'opcode':_0x2c7a62,'readOnly':_0x40fe2b,'rsv1':_0x442264};_0x5818e5(_0x599d3e)?this[_0x52580f(0x17f)]!==_0x43ffe4?this['enqueue']([this[_0x52580f(0x2b5)],_0x599d3e,this[_0x52580f(0x25f)],_0x514918,_0xe87c53]):this[_0x52580f(0x2b5)](_0x599d3e,this[_0x52580f(0x25f)],_0x514918,_0xe87c53):this['_state']!==_0x43ffe4?this['enqueue']([this[_0x52580f(0x273)],_0x599d3e,this[_0x52580f(0x25f)],_0x514918,_0xe87c53]):this[_0x52580f(0x273)](_0x599d3e,this[_0x52580f(0x25f)],_0x514918,_0xe87c53);}['getBlobData'](_0x3f88bf,_0x38fabd,_0x47cbd3,_0x448d5d){const _0x4358b4=_0x593d28;this[_0x4358b4(0x28e)]+=_0x47cbd3[_0x22d8c5],this[_0x4358b4(0x17f)]=_0x23ef9b,_0x3f88bf[_0x4358b4(0x1cf)]()[_0x4358b4(0x195)](_0x50782a=>{const _0x332737=_0x4358b4;if(this['_socket'][_0x332737(0x210)]){const _0x27f0ed=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x332737(0x22e)](_0x62a8a5,this,_0x27f0ed,_0x448d5d);return;}this[_0x332737(0x28e)]-=_0x47cbd3[_0x22d8c5];const _0x99496a=_0x342cf7(_0x50782a);_0x38fabd?this[_0x332737(0x273)](_0x99496a,_0x38fabd,_0x47cbd3,_0x448d5d):(this[_0x332737(0x17f)]=_0x43ffe4,this['sendFrame'](_0x59b67c[_0x332737(0x28b)](_0x99496a,_0x47cbd3),_0x448d5d),this['dequeue']());})['catch'](_0x3c5d5a=>{const _0x200b4a=_0x4358b4;process[_0x200b4a(0x22e)](_0x464009,this,_0x3c5d5a,_0x448d5d);});}['dispatch'](_0x55cce6,_0x5b1ed2,_0x5a4875,_0x4a5bc0){const _0x5a34ea=_0x593d28;if(!_0x5b1ed2){this[_0x5a34ea(0x12b)](_0x59b67c[_0x5a34ea(0x28b)](_0x55cce6,_0x5a4875),_0x4a5bc0);return;}const _0x2b052d=this['_extensions'][_0x1c1e71[_0x5a34ea(0x22d)]];this['_bufferedBytes']+=_0x5a4875[_0x22d8c5],this[_0x5a34ea(0x17f)]=_0x6e5cf0,_0x2b052d[_0x5a34ea(0x208)](_0x55cce6,_0x5a4875['fin'],(_0x48f22b,_0x1ad48c)=>{const _0x1d807f=_0x5a34ea;if(this[_0x1d807f(0x190)][_0x1d807f(0x210)]){const _0x4b2da8=new Error(_0x1d807f(0x158));_0x62a8a5(this,_0x4b2da8,_0x4a5bc0);return;}this[_0x1d807f(0x28e)]-=_0x5a4875[_0x22d8c5],this[_0x1d807f(0x17f)]=_0x43ffe4,_0x5a4875[_0x1d807f(0x284)]=!0x1,this[_0x1d807f(0x12b)](_0x59b67c['frame'](_0x1ad48c,_0x5a4875),_0x4a5bc0),this[_0x1d807f(0x152)]();});}[_0x593d28(0x152)](){const _0x57f4ef=_0x593d28;for(;this[_0x57f4ef(0x17f)]===_0x43ffe4&&this[_0x57f4ef(0x265)][_0x57f4ef(0x1a1)];){const _0x335399=this[_0x57f4ef(0x265)][_0x57f4ef(0x153)]();this['_bufferedBytes']-=_0x335399[0x3][_0x22d8c5],Reflect[_0x57f4ef(0x214)](_0x335399[0x0],this,_0x335399[_0x57f4ef(0x2a2)](0x1));}}[_0x593d28(0x1b1)](_0x77c191){const _0x5892ee=_0x593d28;this[_0x5892ee(0x28e)]+=_0x77c191[0x3][_0x22d8c5],this[_0x5892ee(0x265)][_0x5892ee(0x27c)](_0x77c191);}[_0x593d28(0x12b)](_0x3d2193,_0x55fd81){const _0x3e4a3e=_0x593d28;_0x3d2193['length']===0x2?(this['_socket']['cork'](),this[_0x3e4a3e(0x190)][_0x3e4a3e(0x230)](_0x3d2193[0x0]),this[_0x3e4a3e(0x190)][_0x3e4a3e(0x230)](_0x3d2193[0x1],_0x55fd81),this[_0x3e4a3e(0x190)][_0x3e4a3e(0x2b9)]()):this[_0x3e4a3e(0x190)][_0x3e4a3e(0x230)](_0x3d2193[0x0],_0x55fd81);}}Ee=_0x59b67c;function _0x62a8a5(_0x9c7901,_0x1751a5,_0x2e00ae){const _0x47ed39=_0x593d28;typeof _0x2e00ae==_0x47ed39(0x194)&&_0x2e00ae(_0x1751a5);for(let _0x92dc42=0x0;_0x92dc42<_0x9c7901[_0x47ed39(0x265)][_0x47ed39(0x1a1)];_0x92dc42++){const _0x5e7329=_0x9c7901['_queue'][_0x92dc42],_0x4a3db=_0x5e7329[_0x5e7329[_0x47ed39(0x1a1)]-0x1];typeof _0x4a3db==_0x47ed39(0x194)&&_0x4a3db(_0x1751a5);}}function _0x464009(_0x229a82,_0x569b65,_0x36f194){const _0x46fa24=_0x593d28;_0x62a8a5(_0x229a82,_0x569b65,_0x36f194),_0x229a82[_0x46fa24(0x1b6)](_0x569b65);}return Ee;}var xe,Ze;function _0x58bd(){const _0x5b3c48=['split','map','Unsupported\x20protocol\x20version:\x20','_mask','verifyClient','The\x20\x22','autoPong','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','ping','address','_deflate','digest','WebSocket\x20is\x20not\x20open:\x20readyState\x20','flush','listenerCount','zlibInflateOptions','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','5602970jXlqce','_sender','kCode','writeUInt16BE','CLOSING','_bufferedAmount','_fragments','extensionName','nextTick','websocket','write','NodeCollaborationSocketService','set','_closeFrameReceived','concat','Invalid\x20Sec-WebSocket-Protocol\x20header','sec-websocket-extensions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','destroy','HTTP/1.1\x20','invalid\x20UTF-8\x20sequence','acceptAsServer','accept','open','stream','data','isServer','shouldHandle','timeout','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','onmessage','Sec-WebSocket-Extensions:\x20','_autoPong','get','haveLength','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','serverMaxWindowBits','server_max_window_bits','prototype','charCodeAt','pending','total-length','redirect','\x22\x20must\x20have\x20only\x20a\x20single\x20value','toStringTag','isArray','_errored','__esModule','MASK\x20must\x20be\x20set','toString','http','exports','env','finishRequest','readable','_firstFragment','_compress','cleanup','pathname','\x20(supported\x20versions:\x20','servername','createInflateRaw','_queue','location','kWasClean','call','770778GEdYNJ','Sec-WebSocket-Extensions','create','buffers','type','socketPath','_max_window_bits','ILogService','maxPayload','default','dispatch','kDone','_no_context_takeover','@univerjs/network','send','_receiver','UniverCollaborationClientNodePlugin','_readableState','maskBuffer','push','blob','from','binaryType','alloc','setConfig','_paused','FIN\x20must\x20be\x20set','readOnly','skipUTF8Validation','errorEmitted','Upgrade:\x20websocket','The\x20server\x20is\x20not\x20running','emitClose','species','frame','_messageLength','_maxPayload','_bufferedBytes','url','customHeaders','onopen','sec-websocket-accept','GET','getConfig','startLoop','The\x20URL\x20contains\x20a\x20fragment\x20identifier','indexOf','error','concurrency','construct','clientNoContextTakeover','_decompress','File','captureStackTrace','Observable','readUInt16BE','defineProperty','slice','emit','hash','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Module','WebSocket','text/html','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','terminate','wasClean','_originalSecure','buffer','_options','isView','sha1','dispose','bind','bufferedAmount','jobs','getBlobData','pong','wss:','_redirects','uncork','options','_destroy','_configService','_protocol','readUInt32BE','WS_ERR_INVALID_UTF8','_maskBuffer','\x0d\x0a\x0d\x0a','_payloadLength','Invalid\x20Upgrade\x20header','getInfo','_allowSynchronousEvents','rsv1','ws:','message','The\x20URL\x27s\x20pathname\x20is\x20empty','maxRedirects','consume','kIsForOnEventAttribute','_closeTimer','fragments','Max\x20payload\x20size\x20exceeded','_readyState','value','threshold','path','search','Inject','cookie','writable','origin','_doCreateSocket','reason','Injector','_extensions','Sec-WebSocket-Origin','finish','http:','_closeCode','_closeMessage','OPEN','client','client_max_window_bits','Connection:\x20Upgrade','kListener','_closeFrameSent','WS_ERR_INVALID_CLOSE_CODE','_errorEmitted','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','createSocket','headers','string','_isServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','find','createError','sendFrame','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Invalid\x20value\x20for\x20parameter\x20\x22','dataMessage','sec-websocket-origin','@univerjs-pro/collaboration','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','clientMaxWindowBits','kRun','object','Unexpected\x20end\x20of\x20input','mask','replace','_shouldEmitClose','registerHTTPInterceptor','_binaryType','freeze','constructor','kByteLength','_loop','getData','WS_ERR_UNEXPECTED_RSV_2_3','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WS_ERR_UNEXPECTED_RSV_1','generateMask','Upgrade','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','backlog','removeEventListener','_write','isPaused','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','join','acceptAsClient','invalid\x20payload\x20length\x20','createServer','_req','onStarting','pause','dequeue','shift','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','upgrade','text/plain','36uRAdXE','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','params','IConfigService','listeners','Unknown\x20parameter\x20\x22','handleEvent','writeUIntBE','createConnection','276215Aorqbw','_fragmented','server_no_context_takeover','offer','Opening\x20handshake\x20has\x20timed\x20out','Unexpected\x20server\x20response:\x20','isValidUTF8','code','href','endEmitted','socket','format','zlibDeflateOptions','STATUS_CODES','_injector','permessage-deflate','byteOffset','kData','Origin','method','@univerjs/core','WS_ERR_UNEXPECTED_MASK','allowSynchronousEvents','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_removeListeners','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','hasOwnProperty','getPayloadLength64','unexpected-response','listen','onclose','_state','addEventListener','nodebuffer','abort','CLOSED','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','toDisposable','kError','Maximum\x20redirects\x20exceeded','auth','setNoDelay','kAborted','_threshold','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','protocol','handleUpgrade','_url','_socket','byteLength','1166076ImuMBK','callback','function','then','handleProtocols','setSocket','pow','server','size','connection','protocolVersion','end','invalid\x20opcode\x20','_generateMask','statusCode','length','_server','warn','pluginName','decompress','_skipUTF8Validation','_opcode','RSV1\x20must\x20be\x20clear','parse','getOwnPropertyDescriptor','readyState','pipe','_compressed','close','defaultPort','toLowerCase','enqueue','sec-websocket-key','next','_originalIpc','973228LOAwVc','onerror','Server\x20sent\x20no\x20subprotocol','UniverCollaborationClientPlugin','Unexpected\x20character\x20at\x20index\x20','clientTracking','isBuffer','status-code','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','getMask','concurrencyLimit','https','host','hostname','registerDependencies','noServer','share','kTarget','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_inflate','reset','_registerDependencies','read','_totalPayloadLength','sec-websocket-protocol','clients','arrayBuffer','drain','entries','isInteger','allocUnsafe','test','finished','username','delete','needDrain','net','arraybuffer','client_no_context_takeover','invalid\x20opcode\x200','Cookie','setHeader','getPayloadLength16','resume','normalizeParams','56ubWSpw','conclude','base64','wsClientError','Sec-WebSocket-Protocol:\x20','sec-websocket-version','6RCzNuK','add','serverNoContextTakeover','opcode','update','createDeflateRaw','events','keys','_originalHostOrSocketPath','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','has','handshakeTimeout','invalid\x20status\x20code\x20','extensions','Sec-WebSocket-Accept:\x20','once','_buffers','isIP','controlMessage','connect','authorization','ws+unix:','removeListener','_writableState','MASK\x20must\x20be\x20clear','completeUpgrade','target','WS_ERR_INVALID_OPCODE','perMessageDeflate','1350419Umtwsn','forEach','setTimeout','compress','Invalid\x20WebSocket\x20frame:\x20','fin','port','1282890NGKCfj','number','_fin','CONNECTING','destroyed','\x22:\x20','_httpService','response','apply'];_0x58bd=function(){return _0x5b3c48;};return _0x58bd();}function It(){const _0x5e7416=_0x22272f;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xef9a07,kListener:_0x28f679}=H(),_0x1f5206=Symbol(_0x5e7416(0x228)),_0x599e02=Symbol(_0x5e7416(0x171)),_0x5d82e6=Symbol(_0x5e7416(0x186)),_0x526c03=Symbol('kMessage'),_0x976242=Symbol('kReason'),_0x4f2805=Symbol(_0x5e7416(0x1c6)),_0x455c11=Symbol('kType'),_0x457232=Symbol(_0x5e7416(0x267));class _0x3b8f15{constructor(_0x1c1473){this[_0x4f2805]=null,this[_0x455c11]=_0x1c1473;}get[_0x5e7416(0x202)](){return this[_0x4f2805];}get[_0x5e7416(0x26d)](){return this[_0x455c11];}}Object[_0x5e7416(0x2a1)](_0x3b8f15[_0x5e7416(0x24d)],_0x5e7416(0x202),{'enumerable':!0x0}),Object[_0x5e7416(0x2a1)](_0x3b8f15['prototype'],'type',{'enumerable':!0x0});class _0x532107 extends _0x3b8f15{constructor(_0x47aad6,_0x3fa9b5={}){const _0x29646c=_0x5e7416;super(_0x47aad6),this[_0x1f5206]=_0x3fa9b5[_0x29646c(0x167)]===void 0x0?0x0:_0x3fa9b5[_0x29646c(0x167)],this[_0x976242]=_0x3fa9b5[_0x29646c(0x113)]===void 0x0?'':_0x3fa9b5[_0x29646c(0x113)],this[_0x457232]=_0x3fa9b5[_0x29646c(0x2ab)]===void 0x0?!0x1:_0x3fa9b5['wasClean'];}get['code'](){return this[_0x1f5206];}get[_0x5e7416(0x113)](){return this[_0x976242];}get[_0x5e7416(0x2ab)](){return this[_0x457232];}}Object['defineProperty'](_0x532107[_0x5e7416(0x24d)],'code',{'enumerable':!0x0}),Object[_0x5e7416(0x2a1)](_0x532107[_0x5e7416(0x24d)],_0x5e7416(0x113),{'enumerable':!0x0}),Object['defineProperty'](_0x532107[_0x5e7416(0x24d)],_0x5e7416(0x2ab),{'enumerable':!0x0});class _0x42c20d extends _0x3b8f15{constructor(_0x22228b,_0x5d6ef9={}){const _0xee5c98=_0x5e7416;super(_0x22228b),this[_0x5d82e6]=_0x5d6ef9[_0xee5c98(0x298)]===void 0x0?null:_0x5d6ef9[_0xee5c98(0x298)],this[_0x526c03]=_0x5d6ef9[_0xee5c98(0x101)]===void 0x0?'':_0x5d6ef9['message'];}get[_0x5e7416(0x298)](){return this[_0x5d82e6];}get[_0x5e7416(0x101)](){return this[_0x526c03];}}Object[_0x5e7416(0x2a1)](_0x42c20d[_0x5e7416(0x24d)],_0x5e7416(0x298),{'enumerable':!0x0}),Object[_0x5e7416(0x2a1)](_0x42c20d[_0x5e7416(0x24d)],'message',{'enumerable':!0x0});class _0x4443ef extends _0x3b8f15{constructor(_0x2dd59c,_0x151712={}){const _0x5651d9=_0x5e7416;super(_0x2dd59c),this[_0x599e02]=_0x151712[_0x5651d9(0x240)]===void 0x0?null:_0x151712[_0x5651d9(0x240)];}get[_0x5e7416(0x240)](){return this[_0x599e02];}}Object[_0x5e7416(0x2a1)](_0x4443ef['prototype'],_0x5e7416(0x240),{'enumerable':!0x0}),xe={'CloseEvent':_0x532107,'ErrorEvent':_0x42c20d,'Event':_0x3b8f15,'EventTarget':{'addEventListener'(_0x145516,_0x2c0ee1,_0x30495c={}){const _0x108c90=_0x5e7416;for(const _0x5d0faa of this[_0x108c90(0x15b)](_0x145516))if(!_0x30495c[_0xef9a07]&&_0x5d0faa[_0x28f679]===_0x2c0ee1&&!_0x5d0faa[_0xef9a07])return;let _0x20a0fe;if(_0x145516===_0x108c90(0x101))_0x20a0fe=function(_0xf22d47,_0x385017){const _0x2b74f1=_0x108c90,_0x4e07ed=new _0x4443ef('message',{'data':_0x385017?_0xf22d47:_0xf22d47[_0x2b74f1(0x258)]()});_0x4e07ed[_0x4f2805]=this,_0x96cd86(_0x2c0ee1,this,_0x4e07ed);};else{if(_0x145516===_0x108c90(0x1ae))_0x20a0fe=function(_0x4bb664,_0x27432f){const _0x2634ba=_0x108c90,_0x1b4b03=new _0x532107(_0x2634ba(0x1ae),{'code':_0x4bb664,'reason':_0x27432f[_0x2634ba(0x258)](),'wasClean':this[_0x2634ba(0x233)]&&this[_0x2634ba(0x120)]});_0x1b4b03[_0x4f2805]=this,_0x96cd86(_0x2c0ee1,this,_0x1b4b03);};else{if(_0x145516===_0x108c90(0x298))_0x20a0fe=function(_0x4ab687){const _0x10d1db=_0x108c90,_0x33a0ce=new _0x42c20d('error',{'error':_0x4ab687,'message':_0x4ab687[_0x10d1db(0x101)]});_0x33a0ce[_0x4f2805]=this,_0x96cd86(_0x2c0ee1,this,_0x33a0ce);};else{if(_0x145516===_0x108c90(0x23e))_0x20a0fe=function(){const _0x58303f=_0x108c90,_0x1756a7=new _0x3b8f15(_0x58303f(0x23e));_0x1756a7[_0x4f2805]=this,_0x96cd86(_0x2c0ee1,this,_0x1756a7);};else return;}}}_0x20a0fe[_0xef9a07]=!!_0x30495c[_0xef9a07],_0x20a0fe[_0x28f679]=_0x2c0ee1,_0x30495c[_0x108c90(0x1f7)]?this['once'](_0x145516,_0x20a0fe):this['on'](_0x145516,_0x20a0fe);},'removeEventListener'(_0x3b0bdd,_0xce701d){const _0x162881=_0x5e7416;for(const _0xb7908d of this[_0x162881(0x15b)](_0x3b0bdd))if(_0xb7908d[_0x28f679]===_0xce701d&&!_0xb7908d[_0xef9a07]){this[_0x162881(0x1fe)](_0x3b0bdd,_0xb7908d);break;}}},'MessageEvent':_0x4443ef};function _0x96cd86(_0x8849ae,_0x63e00d,_0x158a23){const _0x4dedc5=_0x5e7416;typeof _0x8849ae=='object'&&_0x8849ae[_0x4dedc5(0x15d)]?_0x8849ae[_0x4dedc5(0x15d)][_0x4dedc5(0x268)](_0x8849ae,_0x158a23):_0x8849ae['call'](_0x63e00d,_0x158a23);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x47a6d1}=ae();function _0x25ddb0(_0x470e6d,_0x3e14dd,_0x16d177){const _0x28caf0=_0x58d9;_0x470e6d[_0x3e14dd]===void 0x0?_0x470e6d[_0x3e14dd]=[_0x16d177]:_0x470e6d[_0x3e14dd][_0x28caf0(0x27c)](_0x16d177);}function _0x4d1448(_0x2d04d4){const _0x2a2207=_0x58d9,_0x36aa7c=Object[_0x2a2207(0x26b)](null);let _0x1a88ac=Object[_0x2a2207(0x26b)](null),_0x349b92=!0x1,_0x28a586=!0x1,_0x116c85=!0x1,_0x5a1c77,_0x2afdf7,_0x4eb501=-0x1,_0x43c90e=-0x1,_0x23752f=-0x1,_0x456092=0x0;for(;_0x456092<_0x2d04d4[_0x2a2207(0x1a1)];_0x456092++)if(_0x43c90e=_0x2d04d4['charCodeAt'](_0x456092),_0x5a1c77===void 0x0){if(_0x23752f===-0x1&&_0x47a6d1[_0x43c90e]===0x1)_0x4eb501===-0x1&&(_0x4eb501=_0x456092);else{if(_0x456092!==0x0&&(_0x43c90e===0x20||_0x43c90e===0x9))_0x23752f===-0x1&&_0x4eb501!==-0x1&&(_0x23752f=_0x456092);else{if(_0x43c90e===0x3b||_0x43c90e===0x2c){if(_0x4eb501===-0x1)throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);_0x23752f===-0x1&&(_0x23752f=_0x456092);const _0x38c253=_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x23752f);_0x43c90e===0x2c?(_0x25ddb0(_0x36aa7c,_0x38c253,_0x1a88ac),_0x1a88ac=Object[_0x2a2207(0x26b)](null)):_0x5a1c77=_0x38c253,_0x4eb501=_0x23752f=-0x1;}else throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);}}}else{if(_0x2afdf7===void 0x0){if(_0x23752f===-0x1&&_0x47a6d1[_0x43c90e]===0x1)_0x4eb501===-0x1&&(_0x4eb501=_0x456092);else{if(_0x43c90e===0x20||_0x43c90e===0x9)_0x23752f===-0x1&&_0x4eb501!==-0x1&&(_0x23752f=_0x456092);else{if(_0x43c90e===0x3b||_0x43c90e===0x2c){if(_0x4eb501===-0x1)throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);_0x23752f===-0x1&&(_0x23752f=_0x456092),_0x25ddb0(_0x1a88ac,_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x23752f),!0x0),_0x43c90e===0x2c&&(_0x25ddb0(_0x36aa7c,_0x5a1c77,_0x1a88ac),_0x1a88ac=Object[_0x2a2207(0x26b)](null),_0x5a1c77=void 0x0),_0x4eb501=_0x23752f=-0x1;}else{if(_0x43c90e===0x3d&&_0x4eb501!==-0x1&&_0x23752f===-0x1)_0x2afdf7=_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x456092),_0x4eb501=_0x23752f=-0x1;else throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);}}}}else{if(_0x28a586){if(_0x47a6d1[_0x43c90e]!==0x1)throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);_0x4eb501===-0x1?_0x4eb501=_0x456092:_0x349b92||(_0x349b92=!0x0),_0x28a586=!0x1;}else{if(_0x116c85){if(_0x47a6d1[_0x43c90e]===0x1)_0x4eb501===-0x1&&(_0x4eb501=_0x456092);else{if(_0x43c90e===0x22&&_0x4eb501!==-0x1)_0x116c85=!0x1,_0x23752f=_0x456092;else{if(_0x43c90e===0x5c)_0x28a586=!0x0;else throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);}}}else{if(_0x43c90e===0x22&&_0x2d04d4['charCodeAt'](_0x456092-0x1)===0x3d)_0x116c85=!0x0;else{if(_0x23752f===-0x1&&_0x47a6d1[_0x43c90e]===0x1)_0x4eb501===-0x1&&(_0x4eb501=_0x456092);else{if(_0x4eb501!==-0x1&&(_0x43c90e===0x20||_0x43c90e===0x9))_0x23752f===-0x1&&(_0x23752f=_0x456092);else{if(_0x43c90e===0x3b||_0x43c90e===0x2c){if(_0x4eb501===-0x1)throw new SyntaxError(_0x2a2207(0x1b9)+_0x456092);_0x23752f===-0x1&&(_0x23752f=_0x456092);let _0x475fd3=_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x23752f);_0x349b92&&(_0x475fd3=_0x475fd3[_0x2a2207(0x137)](/\\/g,''),_0x349b92=!0x1),_0x25ddb0(_0x1a88ac,_0x2afdf7,_0x475fd3),_0x43c90e===0x2c&&(_0x25ddb0(_0x36aa7c,_0x5a1c77,_0x1a88ac),_0x1a88ac=Object[_0x2a2207(0x26b)](null),_0x5a1c77=void 0x0),_0x2afdf7=void 0x0,_0x4eb501=_0x23752f=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x456092);}}}}}}}if(_0x4eb501===-0x1||_0x116c85||_0x43c90e===0x20||_0x43c90e===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x23752f===-0x1&&(_0x23752f=_0x456092);const _0x486d8d=_0x2d04d4[_0x2a2207(0x2a2)](_0x4eb501,_0x23752f);return _0x5a1c77===void 0x0?_0x25ddb0(_0x36aa7c,_0x486d8d,_0x1a88ac):(_0x2afdf7===void 0x0?_0x25ddb0(_0x1a88ac,_0x486d8d,!0x0):_0x349b92?_0x25ddb0(_0x1a88ac,_0x2afdf7,_0x486d8d[_0x2a2207(0x137)](/\\/g,'')):_0x25ddb0(_0x1a88ac,_0x2afdf7,_0x486d8d),_0x25ddb0(_0x36aa7c,_0x5a1c77,_0x1a88ac)),_0x36aa7c;}function _0x23bbe1(_0x15c114){const _0x28380a=_0x58d9;return Object[_0x28380a(0x1ef)](_0x15c114)[_0x28380a(0x216)](_0x153dfb=>{const _0x100beb=_0x28380a;let _0x5e57f1=_0x15c114[_0x153dfb];return Array[_0x100beb(0x254)](_0x5e57f1)||(_0x5e57f1=[_0x5e57f1]),_0x5e57f1[_0x100beb(0x216)](_0x5be6c1=>[_0x153dfb][_0x100beb(0x234)](Object[_0x100beb(0x1ef)](_0x5be6c1)[_0x100beb(0x216)](_0x5128fc=>{const _0x95cb58=_0x100beb;let _0x58c816=_0x5be6c1[_0x5128fc];return Array[_0x95cb58(0x254)](_0x58c816)||(_0x58c816=[_0x58c816]),_0x58c816['map'](_0x137177=>_0x137177===!0x0?_0x5128fc:_0x5128fc+'='+_0x137177)[_0x95cb58(0x14b)](';\x20');}))[_0x100beb(0x14b)](';\x20'))[_0x100beb(0x14b)](',\x20');})[_0x28380a(0x14b)](',\x20');}return be={'format':_0x23bbe1,'parse':_0x4d1448},be;}var we,Je;function Pe(){const _0x5d5500=_0x22272f;if(Je)return we;Je=0x1;const _0x588ddc=nt,_0x248734=vt,_0xca2a24=ot,_0x16552a=St,_0x431ab8=Et,{randomBytes:_0x473ae1,createHash:_0x455e1f}=Le,{Duplex:_0x1d15d0,Readable:_0x4a8959}=oe,{URL:_0x51e1db}=xt,_0x4b4efe=he(),_0x97bfe5=lt(),_0x3b8622=ft(),{isBlob:_0x31ddb9}=ae(),{BINARY_TYPES:_0x1c1ca9,EMPTY_BUFFER:_0x20de01,GUID:_0x427f54,kForOnEventAttribute:_0x68e92d,kListener:_0x30e3b9,kStatusCode:_0x5cd8ec,kWebSocket:_0x3c6290,NOOP:_0x498478}=H(),{EventTarget:{addEventListener:_0x11ebf2,removeEventListener:_0x4d69ad}}=It(),{format:_0x1f174c,parse:_0x15c45f}=ct(),{toBuffer:_0x373869}=ce(),_0x52dc38=0x1e*0x3e8,_0x1dd5a8=Symbol(_0x5d5500(0x18a)),_0x4d74d3=[0x8,0xd],_0x857887=[_0x5d5500(0x20f),_0x5d5500(0x11b),_0x5d5500(0x22a),_0x5d5500(0x183)],_0x405672=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x13b8a3 extends _0x588ddc{constructor(_0x1180d4,_0x4c5ff7,_0x3d8f93){const _0x572cdc=_0x5d5500;super(),this[_0x572cdc(0x13a)]=_0x1c1ca9[0x0],this[_0x572cdc(0x119)]=0x3ee,this[_0x572cdc(0x233)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x572cdc(0x11a)]=_0x20de01,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0x572cdc(0x282)]=!0x1,this[_0x572cdc(0x2bd)]='',this[_0x572cdc(0x109)]=_0x13b8a3['CONNECTING'],this[_0x572cdc(0x278)]=null,this['_sender']=null,this[_0x572cdc(0x190)]=null,_0x1180d4!==null?(this[_0x572cdc(0x22b)]=0x0,this[_0x572cdc(0x127)]=!0x1,this['_redirects']=0x0,_0x4c5ff7===void 0x0?_0x4c5ff7=[]:Array[_0x572cdc(0x254)](_0x4c5ff7)||(typeof _0x4c5ff7=='object'&&_0x4c5ff7!==null?(_0x3d8f93=_0x4c5ff7,_0x4c5ff7=[]):_0x4c5ff7=[_0x4c5ff7]),_0x52c4de(this,_0x1180d4,_0x4c5ff7,_0x3d8f93)):(this[_0x572cdc(0x247)]=_0x3d8f93['autoPong'],this['_isServer']=!0x0);}get[_0x5d5500(0x27f)](){const _0x14c491=_0x5d5500;return this[_0x14c491(0x13a)];}set[_0x5d5500(0x27f)](_0x130861){const _0x11cfab=_0x5d5500;_0x1c1ca9['includes'](_0x130861)&&(this[_0x11cfab(0x13a)]=_0x130861,this['_receiver']&&(this[_0x11cfab(0x278)][_0x11cfab(0x13a)]=_0x130861));}get[_0x5d5500(0x2b3)](){const _0x342d56=_0x5d5500;return this[_0x342d56(0x190)]?this['_socket'][_0x342d56(0x1ff)][_0x342d56(0x1a1)]+this['_sender'][_0x342d56(0x28e)]:this['_bufferedAmount'];}get[_0x5d5500(0x1f5)](){const _0x1ae2f1=_0x5d5500;return Object[_0x1ae2f1(0x1ef)](this[_0x1ae2f1(0x115)])[_0x1ae2f1(0x14b)]();}get[_0x5d5500(0x149)](){const _0x5064c6=_0x5d5500;return this[_0x5064c6(0x282)];}get[_0x5d5500(0x17e)](){return null;}get['onerror'](){return null;}get[_0x5d5500(0x291)](){return null;}get[_0x5d5500(0x245)](){return null;}get['protocol'](){const _0x1aaa8a=_0x5d5500;return this[_0x1aaa8a(0x2bd)];}get[_0x5d5500(0x1ab)](){return this['_readyState'];}get['url'](){const _0x415dcb=_0x5d5500;return this[_0x415dcb(0x18f)];}[_0x5d5500(0x197)](_0x29d19f,_0x2b9979,_0x3b309d){const _0x600def=_0x5d5500,_0x1f8c38=new _0x97bfe5({'allowSynchronousEvents':_0x3b309d[_0x600def(0x176)],'binaryType':this[_0x600def(0x27f)],'extensions':this[_0x600def(0x115)],'isServer':this['_isServer'],'maxPayload':_0x3b309d['maxPayload'],'skipUTF8Validation':_0x3b309d[_0x600def(0x285)]}),_0x2a54e8=new _0x3b8622(_0x29d19f,this[_0x600def(0x115)],_0x3b309d[_0x600def(0x143)]);this[_0x600def(0x278)]=_0x1f8c38,this['_sender']=_0x2a54e8,this[_0x600def(0x190)]=_0x29d19f,_0x1f8c38[_0x3c6290]=this,_0x2a54e8[_0x3c6290]=this,_0x29d19f[_0x3c6290]=this,_0x1f8c38['on'](_0x600def(0x1e3),_0x3e7c52),_0x1f8c38['on'](_0x600def(0x1d0),_0x31b0a8),_0x1f8c38['on']('error',_0x36d93c),_0x1f8c38['on'](_0x600def(0x101),_0x4f99e0),_0x1f8c38['on']('ping',_0x1aa6ac),_0x1f8c38['on'](_0x600def(0x2b6),_0x49b50f),_0x2a54e8[_0x600def(0x1b6)]=_0x12f49d,_0x29d19f[_0x600def(0x207)]&&_0x29d19f[_0x600def(0x207)](0x0),_0x29d19f[_0x600def(0x189)]&&_0x29d19f['setNoDelay'](),_0x2b9979[_0x600def(0x1a1)]>0x0&&_0x29d19f['unshift'](_0x2b9979),_0x29d19f['on'](_0x600def(0x1ae),_0x315f56),_0x29d19f['on'](_0x600def(0x240),_0x5678f5),_0x29d19f['on']('end',_0x28cb4b),_0x29d19f['on'](_0x600def(0x298),_0x593d9c),this['_readyState']=_0x13b8a3[_0x600def(0x11b)],this[_0x600def(0x2a3)]('open');}[_0x5d5500(0x289)](){const _0x34be62=_0x5d5500;if(!this['_socket']){this[_0x34be62(0x109)]=_0x13b8a3[_0x34be62(0x183)],this[_0x34be62(0x2a3)]('close',this[_0x34be62(0x119)],this['_closeMessage']);return;}this[_0x34be62(0x115)][_0x4b4efe['extensionName']]&&this['_extensions'][_0x4b4efe['extensionName']][_0x34be62(0x260)](),this['_receiver']['removeAllListeners'](),this[_0x34be62(0x109)]=_0x13b8a3[_0x34be62(0x183)],this[_0x34be62(0x2a3)](_0x34be62(0x1ae),this[_0x34be62(0x119)],this[_0x34be62(0x11a)]);}['close'](_0xff669c,_0x1860cf){const _0x5d396a=_0x5d5500;if(this[_0x5d396a(0x1ab)]!==_0x13b8a3[_0x5d396a(0x183)]){if(this['readyState']===_0x13b8a3[_0x5d396a(0x20f)]){_0x1f449c(this,this[_0x5d396a(0x14f)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x5d396a(0x1ab)]===_0x13b8a3['CLOSING']){this[_0x5d396a(0x120)]&&(this['_closeFrameReceived']||this['_receiver'][_0x5d396a(0x1ff)][_0x5d396a(0x286)])&&this[_0x5d396a(0x190)][_0x5d396a(0x19d)]();return;}this['_readyState']=_0x13b8a3['CLOSING'],this['_sender']['close'](_0xff669c,_0x1860cf,!this[_0x5d396a(0x127)],_0x5b77a8=>{const _0x35ebde=_0x5d396a;_0x5b77a8||(this['_closeFrameSent']=!0x0,(this[_0x35ebde(0x233)]||this[_0x35ebde(0x278)][_0x35ebde(0x1ff)][_0x35ebde(0x286)])&&this[_0x35ebde(0x190)]['end']());}),_0x165cc6(this);}}[_0x5d5500(0x151)](){const _0x24f1ab=_0x5d5500;this[_0x24f1ab(0x1ab)]===_0x13b8a3['CONNECTING']||this[_0x24f1ab(0x1ab)]===_0x13b8a3[_0x24f1ab(0x183)]||(this[_0x24f1ab(0x282)]=!0x0,this[_0x24f1ab(0x190)][_0x24f1ab(0x151)]());}['ping'](_0x2a8201,_0x39b2d7,_0x28489f){const _0x29c180=_0x5d5500;if(this[_0x29c180(0x1ab)]===_0x13b8a3[_0x29c180(0x20f)])throw new Error(_0x29c180(0x179));if(typeof _0x2a8201=='function'?(_0x28489f=_0x2a8201,_0x2a8201=_0x39b2d7=void 0x0):typeof _0x39b2d7==_0x29c180(0x194)&&(_0x28489f=_0x39b2d7,_0x39b2d7=void 0x0),typeof _0x2a8201=='number'&&(_0x2a8201=_0x2a8201[_0x29c180(0x258)]()),this['readyState']!==_0x13b8a3[_0x29c180(0x11b)]){_0x4b577b(this,_0x2a8201,_0x28489f);return;}_0x39b2d7===void 0x0&&(_0x39b2d7=!this[_0x29c180(0x127)]),this[_0x29c180(0x227)][_0x29c180(0x21d)](_0x2a8201||_0x20de01,_0x39b2d7,_0x28489f);}[_0x5d5500(0x2b6)](_0x28f411,_0x1a7c26,_0x18eac2){const _0x249fa1=_0x5d5500;if(this[_0x249fa1(0x1ab)]===_0x13b8a3['CONNECTING'])throw new Error(_0x249fa1(0x179));if(typeof _0x28f411==_0x249fa1(0x194)?(_0x18eac2=_0x28f411,_0x28f411=_0x1a7c26=void 0x0):typeof _0x1a7c26==_0x249fa1(0x194)&&(_0x18eac2=_0x1a7c26,_0x1a7c26=void 0x0),typeof _0x28f411==_0x249fa1(0x20d)&&(_0x28f411=_0x28f411[_0x249fa1(0x258)]()),this[_0x249fa1(0x1ab)]!==_0x13b8a3[_0x249fa1(0x11b)]){_0x4b577b(this,_0x28f411,_0x18eac2);return;}_0x1a7c26===void 0x0&&(_0x1a7c26=!this[_0x249fa1(0x127)]),this['_sender'][_0x249fa1(0x2b6)](_0x28f411||_0x20de01,_0x1a7c26,_0x18eac2);}[_0x5d5500(0x1e0)](){const _0x375f54=_0x5d5500;this[_0x375f54(0x1ab)]===_0x13b8a3[_0x375f54(0x20f)]||this['readyState']===_0x13b8a3['CLOSED']||(this[_0x375f54(0x282)]=!0x1,this[_0x375f54(0x278)][_0x375f54(0x1ff)][_0x375f54(0x1d8)]||this['_socket'][_0x375f54(0x1e0)]());}[_0x5d5500(0x277)](_0x250397,_0x302fdd,_0x475557){const _0x51444e=_0x5d5500;if(this[_0x51444e(0x1ab)]===_0x13b8a3['CONNECTING'])throw new Error(_0x51444e(0x179));if(typeof _0x302fdd==_0x51444e(0x194)&&(_0x475557=_0x302fdd,_0x302fdd={}),typeof _0x250397==_0x51444e(0x20d)&&(_0x250397=_0x250397[_0x51444e(0x258)]()),this[_0x51444e(0x1ab)]!==_0x13b8a3[_0x51444e(0x11b)]){_0x4b577b(this,_0x250397,_0x475557);return;}const _0x3dafba={'binary':typeof _0x250397!='string','mask':!this[_0x51444e(0x127)],'compress':!0x0,'fin':!0x0,..._0x302fdd};this['_extensions'][_0x4b4efe[_0x51444e(0x22d)]]||(_0x3dafba[_0x51444e(0x208)]=!0x1),this[_0x51444e(0x227)][_0x51444e(0x277)](_0x250397||_0x20de01,_0x3dafba,_0x475557);}[_0x5d5500(0x2aa)](){const _0x5993c7=_0x5d5500;if(this['readyState']!==_0x13b8a3[_0x5993c7(0x183)]){if(this[_0x5993c7(0x1ab)]===_0x13b8a3[_0x5993c7(0x20f)]){_0x1f449c(this,this[_0x5993c7(0x14f)],_0x5993c7(0x237));return;}this[_0x5993c7(0x190)]&&(this[_0x5993c7(0x109)]=_0x13b8a3[_0x5993c7(0x22a)],this[_0x5993c7(0x190)][_0x5993c7(0x239)]());}}}Object[_0x5d5500(0x2a1)](_0x13b8a3,_0x5d5500(0x20f),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x20f))}),Object[_0x5d5500(0x2a1)](_0x13b8a3[_0x5d5500(0x24d)],_0x5d5500(0x20f),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x20f))}),Object[_0x5d5500(0x2a1)](_0x13b8a3,_0x5d5500(0x11b),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x11b))}),Object['defineProperty'](_0x13b8a3[_0x5d5500(0x24d)],_0x5d5500(0x11b),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)]('OPEN')}),Object[_0x5d5500(0x2a1)](_0x13b8a3,_0x5d5500(0x22a),{'enumerable':!0x0,'value':_0x857887['indexOf']('CLOSING')}),Object[_0x5d5500(0x2a1)](_0x13b8a3[_0x5d5500(0x24d)],'CLOSING',{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x22a))}),Object[_0x5d5500(0x2a1)](_0x13b8a3,_0x5d5500(0x183),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x183))}),Object[_0x5d5500(0x2a1)](_0x13b8a3['prototype'],_0x5d5500(0x183),{'enumerable':!0x0,'value':_0x857887[_0x5d5500(0x297)](_0x5d5500(0x183))}),[_0x5d5500(0x27f),_0x5d5500(0x2b3),_0x5d5500(0x1f5),_0x5d5500(0x149),'protocol',_0x5d5500(0x1ab),'url']['forEach'](_0x4a0ce6=>{Object['defineProperty'](_0x13b8a3['prototype'],_0x4a0ce6,{'enumerable':!0x0});}),[_0x5d5500(0x23e),_0x5d5500(0x298),_0x5d5500(0x1ae),_0x5d5500(0x101)][_0x5d5500(0x206)](_0x3c43e5=>{const _0x3d1155=_0x5d5500;Object[_0x3d1155(0x2a1)](_0x13b8a3[_0x3d1155(0x24d)],'on'+_0x3c43e5,{'enumerable':!0x0,'get'(){for(const _0x45336f of this['listeners'](_0x3c43e5))if(_0x45336f[_0x68e92d])return _0x45336f[_0x30e3b9];return null;},'set'(_0x235d74){const _0x14609e=_0x3d1155;for(const _0x581d79 of this[_0x14609e(0x15b)](_0x3c43e5))if(_0x581d79[_0x68e92d]){this[_0x14609e(0x1fe)](_0x3c43e5,_0x581d79);break;}typeof _0x235d74==_0x14609e(0x194)&&this[_0x14609e(0x180)](_0x3c43e5,_0x235d74,{[_0x68e92d]:!0x0});}});}),_0x13b8a3['prototype'][_0x5d5500(0x180)]=_0x11ebf2,_0x13b8a3[_0x5d5500(0x24d)][_0x5d5500(0x147)]=_0x4d69ad,we=_0x13b8a3;function _0x52c4de(_0x87a8ab,_0x4c8adc,_0x4fe564,_0x42aff7){const _0x10c775=_0x5d5500,_0x5c48d6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4d74d3[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x42aff7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x10c775(0x293),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x87a8ab[_0x10c775(0x247)]=_0x5c48d6[_0x10c775(0x21b)],!_0x4d74d3['includes'](_0x5c48d6[_0x10c775(0x19c)]))throw new RangeError(_0x10c775(0x217)+_0x5c48d6[_0x10c775(0x19c)]+_0x10c775(0x262)+_0x4d74d3['join'](',\x20')+')');let _0x3777a5;if(_0x4c8adc instanceof _0x51e1db)_0x3777a5=_0x4c8adc;else try{_0x3777a5=new _0x51e1db(_0x4c8adc);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x4c8adc);}_0x3777a5[_0x10c775(0x18d)]===_0x10c775(0x118)?_0x3777a5['protocol']=_0x10c775(0x100):_0x3777a5[_0x10c775(0x18d)]==='https:'&&(_0x3777a5[_0x10c775(0x18d)]=_0x10c775(0x2b7)),_0x87a8ab[_0x10c775(0x18f)]=_0x3777a5[_0x10c775(0x168)];const _0x38dce0=_0x3777a5[_0x10c775(0x18d)]===_0x10c775(0x2b7),_0x1aa484=_0x3777a5[_0x10c775(0x18d)]===_0x10c775(0x1fd);let _0x2ce013;if(_0x3777a5[_0x10c775(0x18d)]!==_0x10c775(0x100)&&!_0x38dce0&&!_0x1aa484?_0x2ce013=_0x10c775(0x24a):_0x1aa484&&!_0x3777a5[_0x10c775(0x261)]?_0x2ce013=_0x10c775(0x102):_0x3777a5[_0x10c775(0x2a4)]&&(_0x2ce013=_0x10c775(0x296)),_0x2ce013){const _0xcb9d0c=new SyntaxError(_0x2ce013);if(_0x87a8ab[_0x10c775(0x2b8)]===0x0)throw _0xcb9d0c;_0x3a77de(_0x87a8ab,_0xcb9d0c);return;}const _0x110299=_0x38dce0?0x1bb:0x50,_0x44b6a5=_0x473ae1(0x10)[_0x10c775(0x258)](_0x10c775(0x1e4)),_0x1e767f=_0x38dce0?_0x248734['request']:_0xca2a24['request'],_0x1cfdc9=new Set();let _0x3b38ae;if(_0x5c48d6[_0x10c775(0x15f)]=_0x5c48d6[_0x10c775(0x15f)]||(_0x38dce0?_0xeb30d5:_0x33acaf),_0x5c48d6[_0x10c775(0x1af)]=_0x5c48d6[_0x10c775(0x1af)]||_0x110299,_0x5c48d6[_0x10c775(0x20b)]=_0x3777a5[_0x10c775(0x20b)]||_0x110299,_0x5c48d6[_0x10c775(0x1c1)]=_0x3777a5[_0x10c775(0x1c2)]['startsWith']('[')?_0x3777a5[_0x10c775(0x1c2)][_0x10c775(0x2a2)](0x1,-0x1):_0x3777a5[_0x10c775(0x1c2)],_0x5c48d6['headers']={..._0x5c48d6[_0x10c775(0x125)],'Sec-WebSocket-Version':_0x5c48d6[_0x10c775(0x19c)],'Sec-WebSocket-Key':_0x44b6a5,'Connection':_0x10c775(0x144),'Upgrade':_0x10c775(0x22f)},_0x5c48d6['path']=_0x3777a5[_0x10c775(0x261)]+_0x3777a5[_0x10c775(0x10d)],_0x5c48d6[_0x10c775(0x243)]=_0x5c48d6[_0x10c775(0x1f3)],_0x5c48d6[_0x10c775(0x204)]&&(_0x3b38ae=new _0x4b4efe(_0x5c48d6[_0x10c775(0x204)]!==!0x0?_0x5c48d6[_0x10c775(0x204)]:{},!0x1,_0x5c48d6[_0x10c775(0x271)]),_0x5c48d6[_0x10c775(0x125)][_0x10c775(0x26a)]=_0x1f174c({[_0x4b4efe[_0x10c775(0x22d)]]:_0x3b38ae['offer']()})),_0x4fe564[_0x10c775(0x1a1)]){for(const _0xf27c70 of _0x4fe564){if(typeof _0xf27c70!=_0x10c775(0x126)||!_0x405672[_0x10c775(0x1d4)](_0xf27c70)||_0x1cfdc9[_0x10c775(0x1f2)](_0xf27c70))throw new SyntaxError(_0x10c775(0x128));_0x1cfdc9[_0x10c775(0x1e9)](_0xf27c70);}_0x5c48d6[_0x10c775(0x125)]['Sec-WebSocket-Protocol']=_0x4fe564['join'](',');}if(_0x5c48d6['origin']&&(_0x5c48d6[_0x10c775(0x19c)]<0xd?_0x5c48d6[_0x10c775(0x125)][_0x10c775(0x116)]=_0x5c48d6[_0x10c775(0x111)]:_0x5c48d6['headers'][_0x10c775(0x172)]=_0x5c48d6[_0x10c775(0x111)]),(_0x3777a5[_0x10c775(0x1d6)]||_0x3777a5['password'])&&(_0x5c48d6[_0x10c775(0x188)]=_0x3777a5['username']+':'+_0x3777a5['password']),_0x1aa484){const _0x1d2769=_0x5c48d6[_0x10c775(0x10c)][_0x10c775(0x215)](':');_0x5c48d6[_0x10c775(0x26e)]=_0x1d2769[0x0],_0x5c48d6[_0x10c775(0x10c)]=_0x1d2769[0x1];}let _0x97a68a;if(_0x5c48d6['followRedirects']){if(_0x87a8ab[_0x10c775(0x2b8)]===0x0){_0x87a8ab[_0x10c775(0x1b4)]=_0x1aa484,_0x87a8ab[_0x10c775(0x2ac)]=_0x38dce0,_0x87a8ab[_0x10c775(0x1f0)]=_0x1aa484?_0x5c48d6['socketPath']:_0x3777a5[_0x10c775(0x1c1)];const _0x202cf2=_0x42aff7&&_0x42aff7[_0x10c775(0x125)];if(_0x42aff7={..._0x42aff7,'headers':{}},_0x202cf2){for(const [_0x1855a8,_0x13ccc6]of Object[_0x10c775(0x1d1)](_0x202cf2))_0x42aff7['headers'][_0x1855a8[_0x10c775(0x1b0)]()]=_0x13ccc6;}}else{if(_0x87a8ab[_0x10c775(0x223)](_0x10c775(0x251))===0x0){const _0x531b2f=_0x1aa484?_0x87a8ab[_0x10c775(0x1b4)]?_0x5c48d6['socketPath']===_0x87a8ab[_0x10c775(0x1f0)]:!0x1:_0x87a8ab[_0x10c775(0x1b4)]?!0x1:_0x3777a5['host']===_0x87a8ab['_originalHostOrSocketPath'];(!_0x531b2f||_0x87a8ab[_0x10c775(0x2ac)]&&!_0x38dce0)&&(delete _0x5c48d6[_0x10c775(0x125)][_0x10c775(0x1fc)],delete _0x5c48d6[_0x10c775(0x125)][_0x10c775(0x10f)],_0x531b2f||delete _0x5c48d6[_0x10c775(0x125)][_0x10c775(0x1c1)],_0x5c48d6[_0x10c775(0x188)]=void 0x0);}}_0x5c48d6[_0x10c775(0x188)]&&!_0x42aff7['headers'][_0x10c775(0x1fc)]&&(_0x42aff7[_0x10c775(0x125)]['authorization']='Basic\x20'+Buffer['from'](_0x5c48d6[_0x10c775(0x188)])[_0x10c775(0x258)](_0x10c775(0x1e4))),_0x97a68a=_0x87a8ab[_0x10c775(0x14f)]=_0x1e767f(_0x5c48d6),_0x87a8ab[_0x10c775(0x2b8)]&&_0x87a8ab[_0x10c775(0x2a3)](_0x10c775(0x251),_0x87a8ab[_0x10c775(0x28f)],_0x97a68a);}else _0x97a68a=_0x87a8ab[_0x10c775(0x14f)]=_0x1e767f(_0x5c48d6);_0x5c48d6[_0x10c775(0x243)]&&_0x97a68a['on'](_0x10c775(0x243),()=>{const _0x953006=_0x10c775;_0x1f449c(_0x87a8ab,_0x97a68a,_0x953006(0x164));}),_0x97a68a['on'](_0x10c775(0x298),_0x199450=>{const _0x10471c=_0x10c775;_0x97a68a===null||_0x97a68a[_0x1dd5a8]||(_0x97a68a=_0x87a8ab[_0x10471c(0x14f)]=null,_0x3a77de(_0x87a8ab,_0x199450));}),_0x97a68a['on'](_0x10c775(0x213),_0x5e6abb=>{const _0x5603a1=_0x10c775,_0x1c2dbf=_0x5e6abb[_0x5603a1(0x125)][_0x5603a1(0x266)],_0x1ea26f=_0x5e6abb['statusCode'];if(_0x1c2dbf&&_0x5c48d6['followRedirects']&&_0x1ea26f>=0x12c&&_0x1ea26f<0x190){if(++_0x87a8ab[_0x5603a1(0x2b8)]>_0x5c48d6[_0x5603a1(0x103)]){_0x1f449c(_0x87a8ab,_0x97a68a,_0x5603a1(0x187));return;}_0x97a68a[_0x5603a1(0x182)]();let _0x19a294;try{_0x19a294=new _0x51e1db(_0x1c2dbf,_0x4c8adc);}catch{const _0x7a0dab=new SyntaxError('Invalid\x20URL:\x20'+_0x1c2dbf);_0x3a77de(_0x87a8ab,_0x7a0dab);return;}_0x52c4de(_0x87a8ab,_0x19a294,_0x4fe564,_0x42aff7);}else _0x87a8ab[_0x5603a1(0x2a3)](_0x5603a1(0x17c),_0x97a68a,_0x5e6abb)||_0x1f449c(_0x87a8ab,_0x97a68a,_0x5603a1(0x165)+_0x5e6abb[_0x5603a1(0x1a0)]);}),_0x97a68a['on'](_0x10c775(0x155),(_0x2d6f19,_0x2301c4,_0xe9223e)=>{const _0xcee9dc=_0x10c775;if(_0x87a8ab[_0xcee9dc(0x2a3)](_0xcee9dc(0x155),_0x2d6f19),_0x87a8ab['readyState']!==_0x13b8a3[_0xcee9dc(0x20f)])return;_0x97a68a=_0x87a8ab[_0xcee9dc(0x14f)]=null;const _0x3f3fab=_0x2d6f19[_0xcee9dc(0x125)]['upgrade'];if(_0x3f3fab===void 0x0||_0x3f3fab[_0xcee9dc(0x1b0)]()!==_0xcee9dc(0x22f)){_0x1f449c(_0x87a8ab,_0x2301c4,'Invalid\x20Upgrade\x20header');return;}const _0x161b22=_0x455e1f(_0xcee9dc(0x2b0))[_0xcee9dc(0x1ec)](_0x44b6a5+_0x427f54)[_0xcee9dc(0x220)]('base64');if(_0x2d6f19[_0xcee9dc(0x125)][_0xcee9dc(0x292)]!==_0x161b22){_0x1f449c(_0x87a8ab,_0x2301c4,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4d0cb1=_0x2d6f19[_0xcee9dc(0x125)][_0xcee9dc(0x1cd)];let _0x5933cd;if(_0x4d0cb1!==void 0x0?_0x1cfdc9['size']?_0x1cfdc9[_0xcee9dc(0x1f2)](_0x4d0cb1)||(_0x5933cd='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x5933cd=_0xcee9dc(0x184):_0x1cfdc9[_0xcee9dc(0x19a)]&&(_0x5933cd=_0xcee9dc(0x1b7)),_0x5933cd){_0x1f449c(_0x87a8ab,_0x2301c4,_0x5933cd);return;}_0x4d0cb1&&(_0x87a8ab[_0xcee9dc(0x2bd)]=_0x4d0cb1);const _0x1fd0c7=_0x2d6f19[_0xcee9dc(0x125)][_0xcee9dc(0x236)];if(_0x1fd0c7!==void 0x0){if(!_0x3b38ae){_0x1f449c(_0x87a8ab,_0x2301c4,_0xcee9dc(0x2a9));return;}let _0x4f3be2;try{_0x4f3be2=_0x15c45f(_0x1fd0c7);}catch{_0x1f449c(_0x87a8ab,_0x2301c4,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xf71963=Object[_0xcee9dc(0x1ef)](_0x4f3be2);if(_0xf71963[_0xcee9dc(0x1a1)]!==0x1||_0xf71963[0x0]!==_0x4b4efe[_0xcee9dc(0x22d)]){_0x1f449c(_0x87a8ab,_0x2301c4,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3b38ae[_0xcee9dc(0x23d)](_0x4f3be2[_0x4b4efe[_0xcee9dc(0x22d)]]);}catch{_0x1f449c(_0x87a8ab,_0x2301c4,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x87a8ab[_0xcee9dc(0x115)][_0x4b4efe[_0xcee9dc(0x22d)]]=_0x3b38ae;}_0x87a8ab[_0xcee9dc(0x197)](_0x2301c4,_0xe9223e,{'allowSynchronousEvents':_0x5c48d6[_0xcee9dc(0x176)],'generateMask':_0x5c48d6['generateMask'],'maxPayload':_0x5c48d6[_0xcee9dc(0x271)],'skipUTF8Validation':_0x5c48d6[_0xcee9dc(0x285)]});}),_0x5c48d6[_0x10c775(0x25c)]?_0x5c48d6['finishRequest'](_0x97a68a,_0x87a8ab):_0x97a68a['end']();}function _0x3a77de(_0x3fb2b4,_0x994501){const _0x3b3f8a=_0x5d5500;_0x3fb2b4[_0x3b3f8a(0x109)]=_0x13b8a3[_0x3b3f8a(0x22a)],_0x3fb2b4[_0x3b3f8a(0x122)]=!0x0,_0x3fb2b4[_0x3b3f8a(0x2a3)](_0x3b3f8a(0x298),_0x994501),_0x3fb2b4[_0x3b3f8a(0x289)]();}function _0x33acaf(_0x325702){const _0x36b008=_0x5d5500;return _0x325702[_0x36b008(0x10c)]=_0x325702[_0x36b008(0x26e)],_0x16552a['connect'](_0x325702);}function _0xeb30d5(_0xbcf1ae){const _0x5d9326=_0x5d5500;return _0xbcf1ae[_0x5d9326(0x10c)]=void 0x0,!_0xbcf1ae[_0x5d9326(0x263)]&&_0xbcf1ae[_0x5d9326(0x263)]!==''&&(_0xbcf1ae[_0x5d9326(0x263)]=_0x16552a[_0x5d9326(0x1f9)](_0xbcf1ae[_0x5d9326(0x1c1)])?'':_0xbcf1ae[_0x5d9326(0x1c1)]),_0x431ab8[_0x5d9326(0x1fb)](_0xbcf1ae);}function _0x1f449c(_0x4a8eb6,_0x5911d3,_0x48a695){const _0x1f1565=_0x5d5500;_0x4a8eb6[_0x1f1565(0x109)]=_0x13b8a3[_0x1f1565(0x22a)];const _0x26aeda=new Error(_0x48a695);Error[_0x1f1565(0x29e)](_0x26aeda,_0x1f449c),_0x5911d3[_0x1f1565(0x1de)]?(_0x5911d3[_0x1dd5a8]=!0x0,_0x5911d3[_0x1f1565(0x182)](),_0x5911d3[_0x1f1565(0x16a)]&&!_0x5911d3[_0x1f1565(0x16a)][_0x1f1565(0x210)]&&_0x5911d3[_0x1f1565(0x16a)][_0x1f1565(0x239)](),process[_0x1f1565(0x22e)](_0x3a77de,_0x4a8eb6,_0x26aeda)):(_0x5911d3['destroy'](_0x26aeda),_0x5911d3[_0x1f1565(0x1f7)](_0x1f1565(0x298),_0x4a8eb6[_0x1f1565(0x2a3)][_0x1f1565(0x2b2)](_0x4a8eb6,_0x1f1565(0x298))),_0x5911d3[_0x1f1565(0x1f7)](_0x1f1565(0x1ae),_0x4a8eb6[_0x1f1565(0x289)]['bind'](_0x4a8eb6)));}function _0x4b577b(_0x306bca,_0x1b73fd,_0x35c86a){const _0x4c5863=_0x5d5500;if(_0x1b73fd){const _0x180dec=_0x31ddb9(_0x1b73fd)?_0x1b73fd[_0x4c5863(0x19a)]:_0x373869(_0x1b73fd)['length'];_0x306bca[_0x4c5863(0x190)]?_0x306bca['_sender'][_0x4c5863(0x28e)]+=_0x180dec:_0x306bca[_0x4c5863(0x22b)]+=_0x180dec;}if(_0x35c86a){const _0x51ad57=new Error(_0x4c5863(0x221)+_0x306bca[_0x4c5863(0x1ab)]+'\x20('+_0x857887[_0x306bca[_0x4c5863(0x1ab)]]+')');process[_0x4c5863(0x22e)](_0x35c86a,_0x51ad57);}}function _0x3e7c52(_0xe377d2,_0x45bef1){const _0x278051=_0x5d5500,_0x538001=this[_0x3c6290];_0x538001[_0x278051(0x233)]=!0x0,_0x538001[_0x278051(0x11a)]=_0x45bef1,_0x538001[_0x278051(0x119)]=_0xe377d2,_0x538001['_socket'][_0x3c6290]!==void 0x0&&(_0x538001[_0x278051(0x190)][_0x278051(0x1fe)](_0x278051(0x240),_0x5678f5),process[_0x278051(0x22e)](_0x5b97a0,_0x538001[_0x278051(0x190)]),_0xe377d2===0x3ed?_0x538001[_0x278051(0x1ae)]():_0x538001['close'](_0xe377d2,_0x45bef1));}function _0x31b0a8(){const _0x51a6d7=_0x5d5500,_0x449011=this[_0x3c6290];_0x449011['isPaused']||_0x449011[_0x51a6d7(0x190)][_0x51a6d7(0x1e0)]();}function _0x36d93c(_0x7591f2){const _0x358585=_0x5d5500,_0x1a3110=this[_0x3c6290];_0x1a3110[_0x358585(0x190)][_0x3c6290]!==void 0x0&&(_0x1a3110[_0x358585(0x190)][_0x358585(0x1fe)](_0x358585(0x240),_0x5678f5),process[_0x358585(0x22e)](_0x5b97a0,_0x1a3110[_0x358585(0x190)]),_0x1a3110[_0x358585(0x1ae)](_0x7591f2[_0x5cd8ec])),_0x1a3110[_0x358585(0x122)]||(_0x1a3110[_0x358585(0x122)]=!0x0,_0x1a3110[_0x358585(0x2a3)](_0x358585(0x298),_0x7591f2));}function _0x1a6756(){const _0x139127=_0x5d5500;this[_0x3c6290][_0x139127(0x289)]();}function _0x4f99e0(_0x2cd826,_0x3fd9f2){const _0x557149=_0x5d5500;this[_0x3c6290]['emit'](_0x557149(0x101),_0x2cd826,_0x3fd9f2);}function _0x1aa6ac(_0x208136){const _0x24b321=_0x5d5500,_0x9a555=this[_0x3c6290];_0x9a555[_0x24b321(0x247)]&&_0x9a555[_0x24b321(0x2b6)](_0x208136,!this[_0x24b321(0x127)],_0x498478),_0x9a555[_0x24b321(0x2a3)](_0x24b321(0x21d),_0x208136);}function _0x49b50f(_0x27b48f){const _0xb430db=_0x5d5500;this[_0x3c6290][_0xb430db(0x2a3)](_0xb430db(0x2b6),_0x27b48f);}function _0x5b97a0(_0x43b1b9){const _0x6b0ade=_0x5d5500;_0x43b1b9[_0x6b0ade(0x1e0)]();}function _0x12f49d(_0x47c9f8){const _0x46fd49=_0x5d5500,_0x2ecbb1=this[_0x3c6290];_0x2ecbb1[_0x46fd49(0x1ab)]!==_0x13b8a3[_0x46fd49(0x183)]&&(_0x2ecbb1['readyState']===_0x13b8a3['OPEN']&&(_0x2ecbb1['_readyState']=_0x13b8a3[_0x46fd49(0x22a)],_0x165cc6(_0x2ecbb1)),this[_0x46fd49(0x190)]['end'](),_0x2ecbb1[_0x46fd49(0x122)]||(_0x2ecbb1['_errorEmitted']=!0x0,_0x2ecbb1['emit'](_0x46fd49(0x298),_0x47c9f8)));}function _0x165cc6(_0x46c5d4){const _0x292f0b=_0x5d5500;_0x46c5d4[_0x292f0b(0x106)]=setTimeout(_0x46c5d4['_socket'][_0x292f0b(0x239)][_0x292f0b(0x2b2)](_0x46c5d4[_0x292f0b(0x190)]),_0x52dc38);}function _0x315f56(){const _0x5dbf1d=_0x5d5500,_0xd3212b=this[_0x3c6290];this[_0x5dbf1d(0x1fe)]('close',_0x315f56),this['removeListener'](_0x5dbf1d(0x240),_0x5678f5),this[_0x5dbf1d(0x1fe)](_0x5dbf1d(0x19d),_0x28cb4b),_0xd3212b[_0x5dbf1d(0x109)]=_0x13b8a3[_0x5dbf1d(0x22a)];let _0x346049;!this[_0x5dbf1d(0x27a)][_0x5dbf1d(0x169)]&&!_0xd3212b[_0x5dbf1d(0x233)]&&!_0xd3212b['_receiver'][_0x5dbf1d(0x1ff)][_0x5dbf1d(0x286)]&&(_0x346049=_0xd3212b[_0x5dbf1d(0x190)][_0x5dbf1d(0x1cb)]())!==null&&_0xd3212b[_0x5dbf1d(0x278)][_0x5dbf1d(0x230)](_0x346049),_0xd3212b[_0x5dbf1d(0x278)][_0x5dbf1d(0x19d)](),this[_0x3c6290]=void 0x0,clearTimeout(_0xd3212b[_0x5dbf1d(0x106)]),_0xd3212b[_0x5dbf1d(0x278)]['_writableState']['finished']||_0xd3212b[_0x5dbf1d(0x278)]['_writableState'][_0x5dbf1d(0x286)]?_0xd3212b[_0x5dbf1d(0x289)]():(_0xd3212b['_receiver']['on'](_0x5dbf1d(0x298),_0x1a6756),_0xd3212b[_0x5dbf1d(0x278)]['on'](_0x5dbf1d(0x117),_0x1a6756));}function _0x5678f5(_0x1a53f9){const _0x90d733=_0x5d5500;this[_0x3c6290][_0x90d733(0x278)][_0x90d733(0x230)](_0x1a53f9)||this[_0x90d733(0x151)]();}function _0x28cb4b(){const _0x526f1a=_0x5d5500,_0x5ac11d=this[_0x3c6290];_0x5ac11d[_0x526f1a(0x109)]=_0x13b8a3[_0x526f1a(0x22a)],_0x5ac11d[_0x526f1a(0x278)][_0x526f1a(0x19d)](),this[_0x526f1a(0x19d)]();}function _0x593d9c(){const _0x8827a0=_0x5d5500,_0x12a9c8=this[_0x3c6290];this[_0x8827a0(0x1fe)](_0x8827a0(0x298),_0x593d9c),this['on']('error',_0x498478),_0x12a9c8&&(_0x12a9c8[_0x8827a0(0x109)]=_0x13b8a3[_0x8827a0(0x22a)],this[_0x8827a0(0x239)]());}return we;}function _0x58d9(_0x1f62bd,_0x31cbed){const _0x58bd69=_0x58bd();return _0x58d9=function(_0x58d913,_0x5f2d66){_0x58d913=_0x58d913-0xfe;let _0x25f973=_0x58bd69[_0x58d913];return _0x25f973;},_0x58d9(_0x1f62bd,_0x31cbed);}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4ac116}=oe;function _0x11ec71(_0x1d6831){const _0x4c7dfa=_0x58d9;_0x1d6831[_0x4c7dfa(0x2a3)](_0x4c7dfa(0x1ae));}function _0x1df602(){const _0x44883c=_0x58d9;!this[_0x44883c(0x210)]&&this[_0x44883c(0x1ff)][_0x44883c(0x1d5)]&&this[_0x44883c(0x239)]();}function _0x55b8d2(_0x18b93e){const _0x58e220=_0x58d9;this[_0x58e220(0x1fe)](_0x58e220(0x298),_0x55b8d2),this[_0x58e220(0x239)](),this[_0x58e220(0x223)](_0x58e220(0x298))===0x0&&this['emit'](_0x58e220(0x298),_0x18b93e);}function _0x2da4f0(_0x112ae5,_0x4a3333){const _0x42a8fd=_0x58d9;let _0x5ef4c4=!0x0;const _0x499483=new _0x4ac116({..._0x4a3333,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x112ae5['on']('message',function(_0xa7ac0e,_0x186d11){const _0x2f8719=_0x58d9,_0x1df24c=!_0x186d11&&_0x499483[_0x2f8719(0x27a)]['objectMode']?_0xa7ac0e[_0x2f8719(0x258)]():_0xa7ac0e;_0x499483[_0x2f8719(0x27c)](_0x1df24c)||_0x112ae5[_0x2f8719(0x151)]();}),_0x112ae5['once'](_0x42a8fd(0x298),function(_0x533963){const _0x15904e=_0x42a8fd;_0x499483[_0x15904e(0x210)]||(_0x5ef4c4=!0x1,_0x499483['destroy'](_0x533963));}),_0x112ae5[_0x42a8fd(0x1f7)](_0x42a8fd(0x1ae),function(){const _0x26ee62=_0x42a8fd;_0x499483[_0x26ee62(0x210)]||_0x499483[_0x26ee62(0x27c)](null);}),_0x499483[_0x42a8fd(0x2bb)]=function(_0x53f234,_0x3bcebc){const _0x4922ef=_0x42a8fd;if(_0x112ae5[_0x4922ef(0x1ab)]===_0x112ae5[_0x4922ef(0x183)]){_0x3bcebc(_0x53f234),process[_0x4922ef(0x22e)](_0x11ec71,_0x499483);return;}let _0x25e973=!0x1;_0x112ae5[_0x4922ef(0x1f7)](_0x4922ef(0x298),function(_0xa5e8d){_0x25e973=!0x0,_0x3bcebc(_0xa5e8d);}),_0x112ae5[_0x4922ef(0x1f7)](_0x4922ef(0x1ae),function(){const _0x2fd0f2=_0x4922ef;_0x25e973||_0x3bcebc(_0x53f234),process[_0x2fd0f2(0x22e)](_0x11ec71,_0x499483);}),_0x5ef4c4&&_0x112ae5[_0x4922ef(0x2aa)]();},_0x499483['_final']=function(_0x3739e0){const _0x5aa17c=_0x42a8fd;if(_0x112ae5[_0x5aa17c(0x1ab)]===_0x112ae5[_0x5aa17c(0x20f)]){_0x112ae5[_0x5aa17c(0x1f7)]('open',function(){_0x499483['_final'](_0x3739e0);});return;}_0x112ae5['_socket']!==null&&(_0x112ae5[_0x5aa17c(0x190)][_0x5aa17c(0x1ff)][_0x5aa17c(0x1d5)]?(_0x3739e0(),_0x499483[_0x5aa17c(0x27a)]['endEmitted']&&_0x499483[_0x5aa17c(0x239)]()):(_0x112ae5[_0x5aa17c(0x190)][_0x5aa17c(0x1f7)](_0x5aa17c(0x117),function(){_0x3739e0();}),_0x112ae5[_0x5aa17c(0x1ae)]()));},_0x499483['_read']=function(){const _0x36da09=_0x42a8fd;_0x112ae5[_0x36da09(0x149)]&&_0x112ae5['resume']();},_0x499483[_0x42a8fd(0x148)]=function(_0x1a3075,_0x136584,_0x4ee9ae){const _0x1964c7=_0x42a8fd;if(_0x112ae5[_0x1964c7(0x1ab)]===_0x112ae5['CONNECTING']){_0x112ae5[_0x1964c7(0x1f7)](_0x1964c7(0x23e),function(){const _0x42b44d=_0x1964c7;_0x499483[_0x42b44d(0x148)](_0x1a3075,_0x136584,_0x4ee9ae);});return;}_0x112ae5[_0x1964c7(0x277)](_0x1a3075,_0x4ee9ae);},_0x499483['on'](_0x42a8fd(0x19d),_0x1df602),_0x499483['on'](_0x42a8fd(0x298),_0x55b8d2),_0x499483;}return Oe=_0x2da4f0,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1f9772}=ae();function _0x160ce2(_0x5e1b58){const _0xef3577=_0x58d9,_0x952503=new Set();let _0x2e0e37=-0x1,_0x5d8846=-0x1,_0x36efcf=0x0;for(_0x36efcf;_0x36efcf<_0x5e1b58[_0xef3577(0x1a1)];_0x36efcf++){const _0x435a93=_0x5e1b58[_0xef3577(0x24e)](_0x36efcf);if(_0x5d8846===-0x1&&_0x1f9772[_0x435a93]===0x1)_0x2e0e37===-0x1&&(_0x2e0e37=_0x36efcf);else{if(_0x36efcf!==0x0&&(_0x435a93===0x20||_0x435a93===0x9))_0x5d8846===-0x1&&_0x2e0e37!==-0x1&&(_0x5d8846=_0x36efcf);else{if(_0x435a93===0x2c){if(_0x2e0e37===-0x1)throw new SyntaxError(_0xef3577(0x1b9)+_0x36efcf);_0x5d8846===-0x1&&(_0x5d8846=_0x36efcf);const _0x239831=_0x5e1b58[_0xef3577(0x2a2)](_0x2e0e37,_0x5d8846);if(_0x952503['has'](_0x239831))throw new SyntaxError(_0xef3577(0x21a)+_0x239831+'\x22\x20subprotocol\x20is\x20duplicated');_0x952503[_0xef3577(0x1e9)](_0x239831),_0x2e0e37=_0x5d8846=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x36efcf);}}}if(_0x2e0e37===-0x1||_0x5d8846!==-0x1)throw new SyntaxError(_0xef3577(0x135));const _0x18f07f=_0x5e1b58[_0xef3577(0x2a2)](_0x2e0e37,_0x36efcf);if(_0x952503[_0xef3577(0x1f2)](_0x18f07f))throw new SyntaxError('The\x20\x22'+_0x18f07f+'\x22\x20subprotocol\x20is\x20duplicated');return _0x952503[_0xef3577(0x1e9)](_0x18f07f),_0x952503;}return Ce={'parse':_0x160ce2},Ce;}var Te,rt;function Ft(){const _0x144ef7=_0x22272f;if(rt)return Te;rt=0x1;const _0x5caeef=nt,_0x42801a=ot,{Duplex:_0xcf4219}=oe,{createHash:_0x57d394}=Le,_0x2ac483=ct(),_0x4df5a6=he(),_0x5433e4=At(),_0x605a3c=Pe(),{GUID:_0x2a2b29,kWebSocket:_0x2fa166}=H(),_0x3f487c=/^[+/0-9A-Za-z]{22}==$/,_0x419e19=0x0,_0x5017d2=0x1,_0x24abce=0x2;class _0xcde872 extends _0x5caeef{constructor(_0x76fdc7,_0x37e98c){const _0x2b4245=_0x58d9;if(super(),_0x76fdc7={'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':_0x605a3c,..._0x76fdc7},_0x76fdc7['port']==null&&!_0x76fdc7['server']&&!_0x76fdc7[_0x2b4245(0x1c4)]||_0x76fdc7['port']!=null&&(_0x76fdc7[_0x2b4245(0x199)]||_0x76fdc7[_0x2b4245(0x1c4)])||_0x76fdc7[_0x2b4245(0x199)]&&_0x76fdc7['noServer'])throw new TypeError(_0x2b4245(0x141));if(_0x76fdc7[_0x2b4245(0x20b)]!=null?(this[_0x2b4245(0x1a2)]=_0x42801a[_0x2b4245(0x14e)]((_0x192a63,_0x3e34b2)=>{const _0x12ec50=_0x2b4245,_0x526892=_0x42801a[_0x12ec50(0x16d)][0x1aa];_0x3e34b2['writeHead'](0x1aa,{'Content-Length':_0x526892[_0x12ec50(0x1a1)],'Content-Type':_0x12ec50(0x156)}),_0x3e34b2['end'](_0x526892);}),this[_0x2b4245(0x1a2)][_0x2b4245(0x17d)](_0x76fdc7[_0x2b4245(0x20b)],_0x76fdc7[_0x2b4245(0x1c1)],_0x76fdc7[_0x2b4245(0x146)],_0x37e98c)):_0x76fdc7['server']&&(this[_0x2b4245(0x1a2)]=_0x76fdc7[_0x2b4245(0x199)]),this[_0x2b4245(0x1a2)]){const _0x23e761=this[_0x2b4245(0x2a3)][_0x2b4245(0x2b2)](this,_0x2b4245(0x19b));this[_0x2b4245(0x178)]=_0x5a04f0(this['_server'],{'listening':this[_0x2b4245(0x2a3)]['bind'](this,'listening'),'error':this['emit'][_0x2b4245(0x2b2)](this,_0x2b4245(0x298)),'upgrade':(_0x42519f,_0x26279c,_0x23d035)=>{this['handleUpgrade'](_0x42519f,_0x26279c,_0x23d035,_0x23e761);}});}_0x76fdc7[_0x2b4245(0x204)]===!0x0&&(_0x76fdc7['perMessageDeflate']={}),_0x76fdc7[_0x2b4245(0x1ba)]&&(this['clients']=new Set(),this[_0x2b4245(0x138)]=!0x1),this[_0x2b4245(0x2ba)]=_0x76fdc7,this[_0x2b4245(0x17f)]=_0x419e19;}[_0x144ef7(0x21e)](){const _0x57a729=_0x144ef7;if(this['options'][_0x57a729(0x1c4)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x57a729(0x1a2)]?this['_server']['address']():null;}['close'](_0x2cec1a){const _0x6fb802=_0x144ef7;if(this['_state']===_0x24abce){_0x2cec1a&&this[_0x6fb802(0x1f7)](_0x6fb802(0x1ae),()=>{const _0x4e1603=_0x6fb802;_0x2cec1a(new Error(_0x4e1603(0x288)));}),process[_0x6fb802(0x22e)](_0x2b1f9f,this);return;}if(_0x2cec1a&&this['once']('close',_0x2cec1a),this[_0x6fb802(0x17f)]!==_0x5017d2){if(this[_0x6fb802(0x17f)]=_0x5017d2,this[_0x6fb802(0x2ba)]['noServer']||this['options']['server'])this['_server']&&(this[_0x6fb802(0x178)](),this[_0x6fb802(0x178)]=this[_0x6fb802(0x1a2)]=null),this[_0x6fb802(0x1ce)]?this[_0x6fb802(0x1ce)][_0x6fb802(0x19a)]?this[_0x6fb802(0x138)]=!0x0:process[_0x6fb802(0x22e)](_0x2b1f9f,this):process[_0x6fb802(0x22e)](_0x2b1f9f,this);else{const _0x260fcd=this['_server'];this[_0x6fb802(0x178)](),this['_removeListeners']=this[_0x6fb802(0x1a2)]=null,_0x260fcd[_0x6fb802(0x1ae)](()=>{_0x2b1f9f(this);});}}}['shouldHandle'](_0x530468){const _0x2f86cb=_0x144ef7;if(this['options'][_0x2f86cb(0x10c)]){const _0x3864c7=_0x530468['url'][_0x2f86cb(0x297)]('?');if((_0x3864c7!==-0x1?_0x530468[_0x2f86cb(0x28f)][_0x2f86cb(0x2a2)](0x0,_0x3864c7):_0x530468['url'])!==this[_0x2f86cb(0x2ba)][_0x2f86cb(0x10c)])return!0x1;}return!0x0;}[_0x144ef7(0x18e)](_0x5a9f53,_0x1a4c3c,_0xcf70ed,_0x555d5){const _0x20fbcf=_0x144ef7;_0x1a4c3c['on']('error',_0x10e1d9);const _0x5eb8b5=_0x5a9f53[_0x20fbcf(0x125)][_0x20fbcf(0x1b2)],_0x57bd5c=_0x5a9f53[_0x20fbcf(0x125)][_0x20fbcf(0x155)],_0x16c474=+_0x5a9f53['headers'][_0x20fbcf(0x1e7)];if(_0x5a9f53[_0x20fbcf(0x173)]!=='GET'){_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x57bd5c===void 0x0||_0x57bd5c[_0x20fbcf(0x1b0)]()!==_0x20fbcf(0x22f)){_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,_0x20fbcf(0x2c3));return;}if(_0x5eb8b5===void 0x0||!_0x3f487c['test'](_0x5eb8b5)){_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,_0x20fbcf(0x225));return;}if(_0x16c474!==0x8&&_0x16c474!==0xd){_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,_0x20fbcf(0x244));return;}if(!this[_0x20fbcf(0x242)](_0x5a9f53)){_0x4e6503(_0x1a4c3c,0x190);return;}const _0x1d1e17=_0x5a9f53[_0x20fbcf(0x125)]['sec-websocket-protocol'];let _0x37cdc5=new Set();if(_0x1d1e17!==void 0x0)try{_0x37cdc5=_0x5433e4[_0x20fbcf(0x1a9)](_0x1d1e17);}catch{_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,_0x20fbcf(0x235));return;}const _0x268dab=_0x5a9f53[_0x20fbcf(0x125)][_0x20fbcf(0x236)],_0x27b7cc={};if(this[_0x20fbcf(0x2ba)][_0x20fbcf(0x204)]&&_0x268dab!==void 0x0){const _0x48d88b=new _0x4df5a6(this[_0x20fbcf(0x2ba)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0x2a3b64=_0x2ac483[_0x20fbcf(0x1a9)](_0x268dab);_0x2a3b64[_0x4df5a6[_0x20fbcf(0x22d)]]&&(_0x48d88b[_0x20fbcf(0x23d)](_0x2a3b64[_0x4df5a6[_0x20fbcf(0x22d)]]),_0x27b7cc[_0x4df5a6[_0x20fbcf(0x22d)]]=_0x48d88b);}catch{_0x48ea0c(this,_0x5a9f53,_0x1a4c3c,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x20fbcf(0x2ba)]['verifyClient']){const _0x2ba008={'origin':_0x5a9f53[_0x20fbcf(0x125)][''+(_0x16c474===0x8?_0x20fbcf(0x12f):'origin')],'secure':!!(_0x5a9f53['socket']['authorized']||_0x5a9f53[_0x20fbcf(0x16a)]['encrypted']),'req':_0x5a9f53};if(this[_0x20fbcf(0x2ba)][_0x20fbcf(0x219)][_0x20fbcf(0x1a1)]===0x2){this[_0x20fbcf(0x2ba)][_0x20fbcf(0x219)](_0x2ba008,(_0x43efd3,_0x5858fc,_0x2e1fda,_0x216545)=>{const _0x67ecbf=_0x20fbcf;if(!_0x43efd3)return _0x4e6503(_0x1a4c3c,_0x5858fc||0x191,_0x2e1fda,_0x216545);this[_0x67ecbf(0x201)](_0x27b7cc,_0x5eb8b5,_0x37cdc5,_0x5a9f53,_0x1a4c3c,_0xcf70ed,_0x555d5);});return;}if(!this[_0x20fbcf(0x2ba)][_0x20fbcf(0x219)](_0x2ba008))return _0x4e6503(_0x1a4c3c,0x191);}this['completeUpgrade'](_0x27b7cc,_0x5eb8b5,_0x37cdc5,_0x5a9f53,_0x1a4c3c,_0xcf70ed,_0x555d5);}['completeUpgrade'](_0x5110b7,_0x4982d6,_0x51576e,_0x135a97,_0xea3939,_0x1a4122,_0x5958e9){const _0xf519c9=_0x144ef7;if(!_0xea3939[_0xf519c9(0x25d)]||!_0xea3939[_0xf519c9(0x110)])return _0xea3939[_0xf519c9(0x239)]();if(_0xea3939[_0x2fa166])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xf519c9(0x17f)]>_0x419e19)return _0x4e6503(_0xea3939,0x1f7);const _0xe9175b=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0xf519c9(0x287),_0xf519c9(0x11e),_0xf519c9(0x1f6)+_0x57d394(_0xf519c9(0x2b0))[_0xf519c9(0x1ec)](_0x4982d6+_0x2a2b29)[_0xf519c9(0x220)](_0xf519c9(0x1e4))],_0x30552b=new this[(_0xf519c9(0x2ba))][(_0xf519c9(0x2a7))](null,void 0x0,this[_0xf519c9(0x2ba)]);if(_0x51576e[_0xf519c9(0x19a)]){const _0x2aab5b=this[_0xf519c9(0x2ba)][_0xf519c9(0x196)]?this['options']['handleProtocols'](_0x51576e,_0x135a97):_0x51576e['values']()[_0xf519c9(0x1b3)]()[_0xf519c9(0x10a)];_0x2aab5b&&(_0xe9175b[_0xf519c9(0x27c)](_0xf519c9(0x1e6)+_0x2aab5b),_0x30552b[_0xf519c9(0x2bd)]=_0x2aab5b);}if(_0x5110b7[_0x4df5a6['extensionName']]){const _0x29b96c=_0x5110b7[_0x4df5a6[_0xf519c9(0x22d)]][_0xf519c9(0x159)],_0x3178f2=_0x2ac483[_0xf519c9(0x16b)]({[_0x4df5a6[_0xf519c9(0x22d)]]:[_0x29b96c]});_0xe9175b[_0xf519c9(0x27c)](_0xf519c9(0x246)+_0x3178f2),_0x30552b[_0xf519c9(0x115)]=_0x5110b7;}this[_0xf519c9(0x2a3)]('headers',_0xe9175b,_0x135a97),_0xea3939['write'](_0xe9175b[_0xf519c9(0x234)]('\x0d\x0a')['join']('\x0d\x0a')),_0xea3939[_0xf519c9(0x1fe)]('error',_0x10e1d9),_0x30552b['setSocket'](_0xea3939,_0x1a4122,{'allowSynchronousEvents':this['options'][_0xf519c9(0x176)],'maxPayload':this[_0xf519c9(0x2ba)]['maxPayload'],'skipUTF8Validation':this['options'][_0xf519c9(0x285)]}),this[_0xf519c9(0x1ce)]&&(this[_0xf519c9(0x1ce)][_0xf519c9(0x1e9)](_0x30552b),_0x30552b['on'](_0xf519c9(0x1ae),()=>{const _0x36657e=_0xf519c9;this['clients'][_0x36657e(0x1d7)](_0x30552b),this['_shouldEmitClose']&&!this[_0x36657e(0x1ce)][_0x36657e(0x19a)]&&process[_0x36657e(0x22e)](_0x2b1f9f,this);})),_0x5958e9(_0x30552b,_0x135a97);}}Te=_0xcde872;function _0x5a04f0(_0x189233,_0x45a05e){const _0x1f78a2=_0x144ef7;for(const _0x3de55f of Object[_0x1f78a2(0x1ef)](_0x45a05e))_0x189233['on'](_0x3de55f,_0x45a05e[_0x3de55f]);return function(){const _0x17d6ed=_0x1f78a2;for(const _0x201914 of Object[_0x17d6ed(0x1ef)](_0x45a05e))_0x189233[_0x17d6ed(0x1fe)](_0x201914,_0x45a05e[_0x201914]);};}function _0x2b1f9f(_0x46e856){const _0x45ed17=_0x144ef7;_0x46e856[_0x45ed17(0x17f)]=_0x24abce,_0x46e856[_0x45ed17(0x2a3)](_0x45ed17(0x1ae));}function _0x10e1d9(){const _0x2b0987=_0x144ef7;this[_0x2b0987(0x239)]();}function _0x4e6503(_0x28c182,_0x411fc8,_0x5d275e,_0x37683a){const _0x369340=_0x144ef7;_0x5d275e=_0x5d275e||_0x42801a[_0x369340(0x16d)][_0x411fc8],_0x37683a={'Connection':'close','Content-Type':_0x369340(0x2a8),'Content-Length':Buffer[_0x369340(0x191)](_0x5d275e),..._0x37683a},_0x28c182[_0x369340(0x1f7)](_0x369340(0x117),_0x28c182[_0x369340(0x239)]),_0x28c182[_0x369340(0x19d)](_0x369340(0x23a)+_0x411fc8+'\x20'+_0x42801a[_0x369340(0x16d)][_0x411fc8]+'\x0d\x0a'+Object[_0x369340(0x1ef)](_0x37683a)[_0x369340(0x216)](_0xa1514a=>_0xa1514a+':\x20'+_0x37683a[_0xa1514a])[_0x369340(0x14b)]('\x0d\x0a')+_0x369340(0x2c1)+_0x5d275e);}function _0x48ea0c(_0x7d0043,_0x3eeb49,_0x2dfb03,_0x3b277d,_0x2637e7){const _0x23b9f8=_0x144ef7;if(_0x7d0043['listenerCount']('wsClientError')){const _0x2db88b=new Error(_0x2637e7);Error[_0x23b9f8(0x29e)](_0x2db88b,_0x48ea0c),_0x7d0043[_0x23b9f8(0x2a3)](_0x23b9f8(0x1e5),_0x2db88b,_0x2dfb03,_0x3eeb49);}else _0x4e6503(_0x2dfb03,_0x3b277d,_0x2637e7);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x3af752,_0x5628c8,_0x11e57f,_0x369def)=>{for(var _0x46a659=_0x369def>0x1?void 0x0:_0x369def?jt(_0x5628c8,_0x11e57f):_0x5628c8,_0x4c44a7=_0x3af752['length']-0x1,_0x3a25df;_0x4c44a7>=0x0;_0x4c44a7--)(_0x3a25df=_0x3af752[_0x4c44a7])&&(_0x46a659=_0x3a25df(_0x46a659)||_0x46a659);return _0x46a659;},qt=(_0x2894d4,_0x12dfcb)=>(_0x13d92b,_0x258317)=>_0x12dfcb(_0x13d92b,_0x258317,_0x2894d4);let ke=class extends A['Disposable']{constructor(_0x39d610){super(),this['_configService']=_0x39d610;}[_0x22272f(0x124)](_0x256629){const _0xe6fe06=_0x22272f;var _0x170ada;const _0x3199d2=(_0x170ada=this[_0xe6fe06(0x2bc)][_0xe6fe06(0x294)](fe))==null?void 0x0:_0x170ada[_0xe6fe06(0x290)];try{const _0x29dbf7=new $t(_0x256629,{'headers':{..._0x3199d2}}),_0x355619=new A['DisposableCollection']();return{'URL':_0x256629,'close':(_0x25f41d,_0x3d385c)=>{const _0x5ab88c=_0xe6fe06;_0x29dbf7[_0x5ab88c(0x1ae)](_0x25f41d,_0x3d385c),_0x355619[_0x5ab88c(0x2b1)]();},'send':_0x35b3cc=>{_0x29dbf7['send'](_0x35b3cc);},'open$':new V['Observable'](_0x31edd9=>{const _0x3cad67=_0xe6fe06,_0x4321e2=_0x5703db=>_0x31edd9['next'](_0x5703db);_0x29dbf7[_0x3cad67(0x180)](_0x3cad67(0x23e),_0x4321e2),_0x355619[_0x3cad67(0x1e9)](A[_0x3cad67(0x185)](()=>_0x29dbf7[_0x3cad67(0x147)]('open',_0x4321e2)));})[_0xe6fe06(0x1ac)](V[_0xe6fe06(0x1c5)]()),'close$':new V['Observable'](_0x297f06=>{const _0xba923c=_0xe6fe06,_0x40955e=_0x5cfadc=>_0x297f06[_0xba923c(0x1b3)](_0x5cfadc);_0x29dbf7[_0xba923c(0x180)](_0xba923c(0x1ae),_0x40955e),_0x355619['add'](A['toDisposable'](()=>_0x29dbf7['removeEventListener'](_0xba923c(0x1ae),_0x40955e)));})[_0xe6fe06(0x1ac)](V[_0xe6fe06(0x1c5)]()),'error$':new V[(_0xe6fe06(0x29f))](_0x3df90a=>{const _0x252960=_0xe6fe06,_0x30f038=_0x36c5bf=>_0x3df90a['next'](_0x36c5bf);_0x29dbf7['addEventListener']('error',_0x30f038),_0x355619['add'](A[_0x252960(0x185)](()=>_0x29dbf7['removeEventListener'](_0x252960(0x298),_0x30f038)));})[_0xe6fe06(0x1ac)](V[_0xe6fe06(0x1c5)]()),'message$':new V['Observable'](_0x4f2c9e=>{const _0x2d469f=_0xe6fe06,_0x432ed9=_0x33636d=>_0x4f2c9e[_0x2d469f(0x1b3)](_0x33636d);_0x29dbf7[_0x2d469f(0x180)](_0x2d469f(0x101),_0x432ed9),_0x355619[_0x2d469f(0x1e9)](A['toDisposable'](()=>_0x29dbf7['removeEventListener'](_0x2d469f(0x101),_0x432ed9)));})[_0xe6fe06(0x1ac)](V[_0xe6fe06(0x1c5)]())};}catch(_0x29c78c){return console[_0xe6fe06(0x298)](_0x29c78c),null;}}};ke=Wt([qt(0x0,A[_0x22272f(0x15a)])],ke);var Gt=Object[_0x22272f(0x2a1)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x17b676,_0x267110,_0x5b9e32)=>_0x267110 in _0x17b676?Gt(_0x17b676,_0x267110,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b9e32}):_0x17b676[_0x267110]=_0x5b9e32,zt=(_0x397ab6,_0x300c94,_0x4bc29b,_0x5edfc3)=>{const _0x181bbf=_0x22272f;for(var _0x19d4ee=_0x5edfc3>0x1?void 0x0:_0x5edfc3?Vt(_0x300c94,_0x4bc29b):_0x300c94,_0x2cdcdc=_0x397ab6[_0x181bbf(0x1a1)]-0x1,_0x5eb5f0;_0x2cdcdc>=0x0;_0x2cdcdc--)(_0x5eb5f0=_0x397ab6[_0x2cdcdc])&&(_0x19d4ee=_0x5eb5f0(_0x19d4ee)||_0x19d4ee);return _0x19d4ee;},Ne=(_0x20ff44,_0x463557)=>(_0xf6ca61,_0x44876d)=>_0x463557(_0xf6ca61,_0x44876d,_0x20ff44),Yt=(_0x296bba,_0x4b8f8b,_0x32a930)=>Ht(_0x296bba,_0x4b8f8b+'',_0x32a930);exports['UniverCollaborationClientNodePlugin']=class extends A['Plugin']{constructor(_0x3017cc=Ct,_0x19312f,_0x115e25,_0x5c6a55){const _0x49b946=_0x22272f;_0x3017cc[_0x49b946(0x290)]||_0x19312f[_0x49b946(0x1a3)](_0x49b946(0x1c7)),super(),this[_0x49b946(0x2bc)]=_0x115e25,this[_0x49b946(0x16e)]=_0x5c6a55,this['_configService'][_0x49b946(0x281)](fe,_0x3017cc);}[_0x22272f(0x150)](){const _0x56b320=_0x22272f;this[_0x56b320(0x1ca)]();}['_registerDependencies'](){const _0x2e0fa8=_0x22272f;A[_0x2e0fa8(0x1c3)](this[_0x2e0fa8(0x16e)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x22272f(0x1a4),_0x22272f(0x123)),exports[_0x22272f(0x279)]=zt([A['DependentOn'](st[_0x22272f(0x1b8)]),Ne(0x1,A[_0x22272f(0x270)]),Ne(0x2,A[_0x22272f(0x15a)]),Ne(0x3,A[_0x22272f(0x10e)](A['Injector']))],exports[_0x22272f(0x279)]);var Kt=Object[_0x22272f(0x1aa)],Xt=(_0x116ec0,_0x410a7c,_0x2e4eb7,_0x4bb5ec)=>{const _0x5c2e23=_0x22272f;for(var _0x181727=_0x4bb5ec>0x1?void 0x0:_0x4bb5ec?Kt(_0x410a7c,_0x2e4eb7):_0x410a7c,_0x5637ca=_0x116ec0[_0x5c2e23(0x1a1)]-0x1,_0x44f0d5;_0x5637ca>=0x0;_0x5637ca--)(_0x44f0d5=_0x116ec0[_0x5637ca])&&(_0x181727=_0x44f0d5(_0x181727)||_0x181727);return _0x181727;},ne=(_0x5ec6b0,_0xea8610)=>(_0x11ac3a,_0x4731f9)=>_0xea8610(_0x11ac3a,_0x4731f9,_0x5ec6b0);exports[_0x22272f(0x231)]=class extends st['CollaborationSocketService']{constructor(_0x574d1a,_0x2b2b20,_0x47d422,_0x17da81,_0x430d4b){const _0x4561a9=_0x22272f;super(_0x574d1a,_0x2b2b20,_0x47d422,_0x17da81,_0x430d4b);const _0x2c9fa9=this[_0x4561a9(0x2bc)]['getConfig'](fe);this[_0x4561a9(0x212)][_0x4561a9(0x139)]({'interceptor':(_0x52e73a,_0x55d328)=>{const _0x343385=_0x4561a9;var _0x4697e6;const _0x2cb601=_0x52e73a['headers'];return(_0x4697e6=_0x2c9fa9==null?void 0x0:_0x2c9fa9[_0x343385(0x290)])!=null&&_0x4697e6[_0x343385(0x10f)]&&_0x2cb601[_0x343385(0x232)](_0x343385(0x1dd),_0x2c9fa9['customHeaders'][_0x343385(0x10f)]),_0x55d328(_0x52e73a);}});}async[_0x22272f(0x124)](_0x18edc8){const _0x2d7e74=_0x22272f;return this[_0x2d7e74(0x112)](_0x18edc8);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x22272f(0x10e)](A[_0x22272f(0x114)])),ne(0x1,A[_0x22272f(0x10e)](it['HTTPService'])),ne(0x2,A[_0x22272f(0x15a)]),ne(0x3,A[_0x22272f(0x270)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x480b46=_0x50eb;(function(_0x5e1a7b,_0x3250b8){const _0x22edfb=_0x50eb,_0x5ee5e2=_0x5e1a7b();while(!![]){try{const _0x503493=parseInt(_0x22edfb(0x11f))/0x1*(-parseInt(_0x22edfb(0x162))/0x2)+-parseInt(_0x22edfb(0x263))/0x3+-parseInt(_0x22edfb(0x17b))/0x4*(parseInt(_0x22edfb(0x1fe))/0x5)+-parseInt(_0x22edfb(0x1c0))/0x6+-parseInt(_0x22edfb(0x196))/0x7+-parseInt(_0x22edfb(0x236))/0x8*(-parseInt(_0x22edfb(0x229))/0x9)+parseInt(_0x22edfb(0x1c3))/0xa*(parseInt(_0x22edfb(0x200))/0xb);if(_0x503493===_0x3250b8)break;else _0x5ee5e2['push'](_0x5ee5e2['shift']());}catch(_0x414249){_0x5ee5e2['push'](_0x5ee5e2['shift']());}}}(_0x3c52,0x8b020));Object[_0x480b46(0x1a8)](exports,Symbol[_0x480b46(0x259)],{'value':'Module'});function _0x50eb(_0x23dcc6,_0xb70e8c){const _0x3c52c1=_0x3c52();return _0x50eb=function(_0x50eb29,_0x4c7f6a){_0x50eb29=_0x50eb29-0xd2;let _0x46e933=_0x3c52c1[_0x50eb29];return _0x46e933;},_0x50eb(_0x23dcc6,_0xb70e8c);}const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x480b46(0x202),Ct={'customHeaders':{}};function Tt(_0x333b8f){const _0x2d10c4=_0x480b46;return _0x333b8f&&_0x333b8f[_0x2d10c4(0x11c)]&&Object['prototype']['hasOwnProperty'][_0x2d10c4(0x10e)](_0x333b8f,_0x2d10c4(0x194))?_0x333b8f[_0x2d10c4(0x194)]:_0x333b8f;}function at(_0x51dff8){const _0x4c1e49=_0x480b46;if(Object[_0x4c1e49(0x12e)][_0x4c1e49(0x207)][_0x4c1e49(0x10e)](_0x51dff8,_0x4c1e49(0x11c)))return _0x51dff8;var _0x310c65=_0x51dff8[_0x4c1e49(0x194)];if(typeof _0x310c65==_0x4c1e49(0xd2)){var _0x3b9563=function _0x44b8b4(){const _0x5a837d=_0x4c1e49;return this instanceof _0x44b8b4?Reflect[_0x5a837d(0x186)](_0x310c65,arguments,this[_0x5a837d(0x267)]):_0x310c65[_0x5a837d(0x218)](this,arguments);};_0x3b9563[_0x4c1e49(0x12e)]=_0x310c65[_0x4c1e49(0x12e)];}else _0x3b9563={};return Object[_0x4c1e49(0x1a8)](_0x3b9563,_0x4c1e49(0x11c),{'value':!0x0}),Object[_0x4c1e49(0x21c)](_0x51dff8)[_0x4c1e49(0xf6)](function(_0x1697f2){const _0x3a33d6=_0x4c1e49;var _0x43940e=Object[_0x3a33d6(0xf8)](_0x51dff8,_0x1697f2);Object[_0x3a33d6(0x1a8)](_0x3b9563,_0x1697f2,_0x43940e[_0x3a33d6(0x122)]?_0x43940e:{'enumerable':!0x0,'get':function(){return _0x51dff8[_0x1697f2];}});}),_0x3b9563;}var se={'exports':{}},ge,Ge;function H(){const _0x173662=_0x480b46;if(Ge)return ge;Ge=0x1;const _0x1da23b=[_0x173662(0xeb),_0x173662(0x219),_0x173662(0x246)],_0x5e1c17=typeof Blob<'u';return _0x5e1c17&&_0x1da23b[_0x173662(0x27e)]('blob'),ge={'BINARY_TYPES':_0x1da23b,'EMPTY_BUFFER':Buffer[_0x173662(0x222)](0x0),'GUID':_0x173662(0x131),'hasBlob':_0x5e1c17,'kForOnEventAttribute':Symbol(_0x173662(0x23f)),'kListener':Symbol(_0x173662(0x1d6)),'kStatusCode':Symbol(_0x173662(0x101)),'kWebSocket':Symbol(_0x173662(0x285)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x480b46(0x165)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x480b46(0x259)],{'value':_0x480b46(0x1a6)})),Lt=at(kt);var Ve;function ce(){const _0x3ef279=_0x480b46;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x247533}=H(),_0x33c88d=Buffer[Symbol[_0x3ef279(0x1b7)]];function _0x500a0e(_0x3737a6,_0x389209){const _0x2feda6=_0x3ef279;if(_0x3737a6[_0x2feda6(0x205)]===0x0)return _0x247533;if(_0x3737a6[_0x2feda6(0x205)]===0x1)return _0x3737a6[0x0];const _0x31bcc6=Buffer[_0x2feda6(0x20f)](_0x389209);let _0x5ad9a1=0x0;for(let _0x570752=0x0;_0x570752<_0x3737a6[_0x2feda6(0x205)];_0x570752++){const _0x326590=_0x3737a6[_0x570752];_0x31bcc6[_0x2feda6(0x173)](_0x326590,_0x5ad9a1),_0x5ad9a1+=_0x326590['length'];}return _0x5ad9a1<_0x389209?new _0x33c88d(_0x31bcc6[_0x2feda6(0x198)],_0x31bcc6[_0x2feda6(0x1d5)],_0x5ad9a1):_0x31bcc6;}function _0x4a43f9(_0x32f34f,_0xb02cef,_0x48bb5a,_0x74c9e5,_0x23c301){for(let _0x25ee70=0x0;_0x25ee70<_0x23c301;_0x25ee70++)_0x48bb5a[_0x74c9e5+_0x25ee70]=_0x32f34f[_0x25ee70]^_0xb02cef[_0x25ee70&0x3];}function _0x5c5d72(_0x3aef91,_0x4cf9df){const _0x2d1778=_0x3ef279;for(let _0x558b9b=0x0;_0x558b9b<_0x3aef91[_0x2d1778(0x205)];_0x558b9b++)_0x3aef91[_0x558b9b]^=_0x4cf9df[_0x558b9b&0x3];}function _0x304b03(_0x1bc5c7){const _0x3175c2=_0x3ef279;return _0x1bc5c7[_0x3175c2(0x205)]===_0x1bc5c7[_0x3175c2(0x198)][_0x3175c2(0x26a)]?_0x1bc5c7['buffer']:_0x1bc5c7['buffer'][_0x3175c2(0x22a)](_0x1bc5c7[_0x3175c2(0x1d5)],_0x1bc5c7[_0x3175c2(0x1d5)]+_0x1bc5c7[_0x3175c2(0x205)]);}function _0x5e22de(_0x36b42a){const _0x4ed02b=_0x3ef279;if(_0x5e22de['readOnly']=!0x0,Buffer['isBuffer'](_0x36b42a))return _0x36b42a;let _0x196e2d;return _0x36b42a instanceof ArrayBuffer?_0x196e2d=new _0x33c88d(_0x36b42a):ArrayBuffer[_0x4ed02b(0x250)](_0x36b42a)?_0x196e2d=new _0x33c88d(_0x36b42a[_0x4ed02b(0x198)],_0x36b42a[_0x4ed02b(0x1d5)],_0x36b42a['byteLength']):(_0x196e2d=Buffer['from'](_0x36b42a),_0x5e22de['readOnly']=!0x1),_0x196e2d;}if(se[_0x3ef279(0x166)]={'concat':_0x500a0e,'mask':_0x4a43f9,'toArrayBuffer':_0x304b03,'toBuffer':_0x5e22de,'unmask':_0x5c5d72},!process['env'][_0x3ef279(0x210)])try{const _0x3e6ea1=Lt;se[_0x3ef279(0x166)][_0x3ef279(0x14e)]=function(_0xa72c3c,_0x1962fa,_0x1568c,_0xa3e098,_0x3ec47f){const _0x4b791d=_0x3ef279;_0x3ec47f<0x30?_0x4a43f9(_0xa72c3c,_0x1962fa,_0x1568c,_0xa3e098,_0x3ec47f):_0x3e6ea1[_0x4b791d(0x14e)](_0xa72c3c,_0x1962fa,_0x1568c,_0xa3e098,_0x3ec47f);},se[_0x3ef279(0x166)][_0x3ef279(0x129)]=function(_0xda2e6b,_0x3c2e40){const _0x4b2750=_0x3ef279;_0xda2e6b['length']<0x20?_0x5c5d72(_0xda2e6b,_0x3c2e40):_0x3e6ea1[_0x4b2750(0x129)](_0xda2e6b,_0x3c2e40);};}catch{}return se[_0x3ef279(0x166)];}var ye,He;function Pt(){const _0xb28701=_0x480b46;if(He)return ye;He=0x1;const _0x20fb26=Symbol(_0xb28701(0x270)),_0x430e9a=Symbol(_0xb28701(0x10c));class _0x580a78{constructor(_0x4924f0){const _0x3200f1=_0xb28701;this[_0x20fb26]=()=>{this['pending']--,this[_0x430e9a]();},this[_0x3200f1(0x1b1)]=_0x4924f0||0x1/0x0,this[_0x3200f1(0x228)]=[],this[_0x3200f1(0x1a2)]=0x0;}[_0xb28701(0x20c)](_0x36fa1c){const _0xb26b5e=_0xb28701;this[_0xb26b5e(0x228)]['push'](_0x36fa1c),this[_0x430e9a]();}[_0x430e9a](){const _0x52adda=_0xb28701;if(this[_0x52adda(0x1a2)]!==this['concurrency']&&this[_0x52adda(0x228)][_0x52adda(0x205)]){const _0x2258de=this[_0x52adda(0x228)]['shift']();this[_0x52adda(0x1a2)]++,_0x2258de(this[_0x20fb26]);}}}return ye=_0x580a78,ye;}var ve,ze;function he(){const _0x26b445=_0x480b46;if(ze)return ve;ze=0x1;const _0x10b1b2=bt,_0x56c551=ce(),_0xca8dc6=Pt(),{kStatusCode:_0x558fdb}=H(),_0x4d1981=Buffer[Symbol['species']],_0x54ca1b=Buffer['from']([0x0,0x0,0xff,0xff]),_0xd57e80=Symbol(_0x26b445(0x1fb)),_0x537b11=Symbol(_0x26b445(0x251)),_0x51dc9d=Symbol(_0x26b445(0x182)),_0x1ec701=Symbol(_0x26b445(0x239)),_0x26cdb2=Symbol(_0x26b445(0x1e5));let _0x23ea6f;class _0x4e60fd{constructor(_0x43f884,_0x1d8988,_0x21462e){const _0x377853=_0x26b445;if(this['_maxPayload']=_0x21462e|0x0,this[_0x377853(0x1d0)]=_0x43f884||{},this[_0x377853(0x155)]=this[_0x377853(0x1d0)][_0x377853(0x240)]!==void 0x0?this[_0x377853(0x1d0)][_0x377853(0x240)]:0x400,this[_0x377853(0x1bd)]=!!_0x1d8988,this[_0x377853(0x1c8)]=null,this['_inflate']=null,this[_0x377853(0x113)]=null,!_0x23ea6f){const _0x2b8462=this[_0x377853(0x1d0)]['concurrencyLimit']!==void 0x0?this[_0x377853(0x1d0)]['concurrencyLimit']:0xa;_0x23ea6f=new _0xca8dc6(_0x2b8462);}}static get[_0x26b445(0x276)](){const _0x406880=_0x26b445;return _0x406880(0x1fb);}[_0x26b445(0x174)](){const _0x2e21ce=_0x26b445,_0x14fbcb={};return this['_options']['serverNoContextTakeover']&&(_0x14fbcb[_0x2e21ce(0x27c)]=!0x0),this[_0x2e21ce(0x1d0)][_0x2e21ce(0x123)]&&(_0x14fbcb[_0x2e21ce(0x16d)]=!0x0),this['_options'][_0x2e21ce(0x24d)]&&(_0x14fbcb[_0x2e21ce(0x227)]=this[_0x2e21ce(0x1d0)][_0x2e21ce(0x24d)]),this['_options'][_0x2e21ce(0xe7)]?_0x14fbcb[_0x2e21ce(0x1e3)]=this['_options'][_0x2e21ce(0xe7)]:this['_options'][_0x2e21ce(0xe7)]==null&&(_0x14fbcb[_0x2e21ce(0x1e3)]=!0x0),_0x14fbcb;}['accept'](_0x540e61){const _0x46209c=_0x26b445;return _0x540e61=this[_0x46209c(0x13a)](_0x540e61),this[_0x46209c(0x113)]=this[_0x46209c(0x1bd)]?this['acceptAsServer'](_0x540e61):this[_0x46209c(0x11d)](_0x540e61),this['params'];}[_0x26b445(0x217)](){const _0x3f4999=_0x26b445;if(this[_0x3f4999(0x21f)]&&(this[_0x3f4999(0x21f)][_0x3f4999(0x1a0)](),this['_inflate']=null),this[_0x3f4999(0x1c8)]){const _0x456e11=this['_deflate'][_0x51dc9d];this[_0x3f4999(0x1c8)][_0x3f4999(0x1a0)](),this[_0x3f4999(0x1c8)]=null,_0x456e11&&_0x456e11(new Error(_0x3f4999(0x16a)));}}[_0x26b445(0x1c4)](_0x37547a){const _0x917b07=_0x26b445,_0x1ace8a=this[_0x917b07(0x1d0)],_0xc48026=_0x37547a['find'](_0xf09975=>!(_0x1ace8a['serverNoContextTakeover']===!0x1&&_0xf09975[_0x917b07(0x27c)]||_0xf09975[_0x917b07(0x227)]&&(_0x1ace8a[_0x917b07(0x24d)]===!0x1||typeof _0x1ace8a[_0x917b07(0x24d)]==_0x917b07(0x105)&&_0x1ace8a[_0x917b07(0x24d)]>_0xf09975[_0x917b07(0x227)])||typeof _0x1ace8a['clientMaxWindowBits']=='number'&&!_0xf09975['client_max_window_bits']));if(!_0xc48026)throw new Error(_0x917b07(0x25a));return _0x1ace8a['serverNoContextTakeover']&&(_0xc48026['server_no_context_takeover']=!0x0),_0x1ace8a['clientNoContextTakeover']&&(_0xc48026[_0x917b07(0x16d)]=!0x0),typeof _0x1ace8a[_0x917b07(0x24d)]=='number'&&(_0xc48026[_0x917b07(0x227)]=_0x1ace8a[_0x917b07(0x24d)]),typeof _0x1ace8a[_0x917b07(0xe7)]==_0x917b07(0x105)?_0xc48026[_0x917b07(0x1e3)]=_0x1ace8a[_0x917b07(0xe7)]:(_0xc48026[_0x917b07(0x1e3)]===!0x0||_0x1ace8a[_0x917b07(0xe7)]===!0x1)&&delete _0xc48026[_0x917b07(0x1e3)],_0xc48026;}[_0x26b445(0x11d)](_0x251113){const _0x11e6a9=_0x26b445,_0x3464e0=_0x251113[0x0];if(this[_0x11e6a9(0x1d0)]['clientNoContextTakeover']===!0x1&&_0x3464e0[_0x11e6a9(0x16d)])throw new Error(_0x11e6a9(0x169));if(!_0x3464e0[_0x11e6a9(0x1e3)])typeof this['_options'][_0x11e6a9(0xe7)]==_0x11e6a9(0x105)&&(_0x3464e0['client_max_window_bits']=this[_0x11e6a9(0x1d0)][_0x11e6a9(0xe7)]);else{if(this[_0x11e6a9(0x1d0)][_0x11e6a9(0xe7)]===!0x1||typeof this[_0x11e6a9(0x1d0)][_0x11e6a9(0xe7)]=='number'&&_0x3464e0[_0x11e6a9(0x1e3)]>this[_0x11e6a9(0x1d0)][_0x11e6a9(0xe7)])throw new Error(_0x11e6a9(0x1f9));}return _0x3464e0;}[_0x26b445(0x13a)](_0x1f7acf){const _0x559c8a=_0x26b445;return _0x1f7acf[_0x559c8a(0xf6)](_0xc563c=>{const _0x51a921=_0x559c8a;Object[_0x51a921(0x21c)](_0xc563c)[_0x51a921(0xf6)](_0x38a2bc=>{const _0x561a88=_0x51a921;let _0x1d7e86=_0xc563c[_0x38a2bc];if(_0x1d7e86[_0x561a88(0x205)]>0x1)throw new Error('Parameter\x20\x22'+_0x38a2bc+_0x561a88(0x16c));if(_0x1d7e86=_0x1d7e86[0x0],_0x38a2bc===_0x561a88(0x1e3)){if(_0x1d7e86!==!0x0){const _0x4ebc44=+_0x1d7e86;if(!Number[_0x561a88(0x22c)](_0x4ebc44)||_0x4ebc44<0x8||_0x4ebc44>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x38a2bc+_0x561a88(0x220)+_0x1d7e86);_0x1d7e86=_0x4ebc44;}else{if(!this['_isServer'])throw new TypeError(_0x561a88(0x110)+_0x38a2bc+_0x561a88(0x220)+_0x1d7e86);}}else{if(_0x38a2bc==='server_max_window_bits'){const _0x6d8699=+_0x1d7e86;if(!Number[_0x561a88(0x22c)](_0x6d8699)||_0x6d8699<0x8||_0x6d8699>0xf)throw new TypeError(_0x561a88(0x110)+_0x38a2bc+_0x561a88(0x220)+_0x1d7e86);_0x1d7e86=_0x6d8699;}else{if(_0x38a2bc===_0x561a88(0x16d)||_0x38a2bc===_0x561a88(0x27c)){if(_0x1d7e86!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x38a2bc+_0x561a88(0x220)+_0x1d7e86);}else throw new Error(_0x561a88(0x241)+_0x38a2bc+'\x22');}}_0xc563c[_0x38a2bc]=_0x1d7e86;});}),_0x1f7acf;}['decompress'](_0x21f9f9,_0x2ec60f,_0x391293){const _0x384a0a=_0x26b445;_0x23ea6f[_0x384a0a(0x20c)](_0x3af296=>{const _0x53613c=_0x384a0a;this[_0x53613c(0x13d)](_0x21f9f9,_0x2ec60f,(_0xa1070a,_0x296d86)=>{_0x3af296(),_0x391293(_0xa1070a,_0x296d86);});});}['compress'](_0x31c761,_0x166e3f,_0x2d35b5){_0x23ea6f['add'](_0x4539ae=>{this['_compress'](_0x31c761,_0x166e3f,(_0x2ee507,_0x37f06a)=>{_0x4539ae(),_0x2d35b5(_0x2ee507,_0x37f06a);});});}[_0x26b445(0x13d)](_0x14e7e0,_0xba6100,_0x3c5b65){const _0x542aa8=_0x26b445,_0x380edf=this[_0x542aa8(0x1bd)]?_0x542aa8(0x234):_0x542aa8(0x20a);if(!this[_0x542aa8(0x21f)]){const _0x3f453f=_0x380edf+_0x542aa8(0x1d3),_0x5e162d=typeof this[_0x542aa8(0x113)][_0x3f453f]!=_0x542aa8(0x105)?_0x10b1b2['Z_DEFAULT_WINDOWBITS']:this[_0x542aa8(0x113)][_0x3f453f];this[_0x542aa8(0x21f)]=_0x10b1b2[_0x542aa8(0x242)]({...this['_options'][_0x542aa8(0x237)],'windowBits':_0x5e162d}),this[_0x542aa8(0x21f)][_0xd57e80]=this,this[_0x542aa8(0x21f)][_0x537b11]=0x0,this[_0x542aa8(0x21f)][_0x1ec701]=[],this['_inflate']['on'](_0x542aa8(0x1e5),_0x5fe229),this[_0x542aa8(0x21f)]['on'](_0x542aa8(0x1b5),_0x3d3333);}this[_0x542aa8(0x21f)][_0x51dc9d]=_0x3c5b65,this[_0x542aa8(0x21f)][_0x542aa8(0x25d)](_0x14e7e0),_0xba6100&&this['_inflate'][_0x542aa8(0x25d)](_0x54ca1b),this[_0x542aa8(0x21f)]['flush'](()=>{const _0x48707d=_0x542aa8,_0x372f57=this[_0x48707d(0x21f)][_0x26cdb2];if(_0x372f57){this[_0x48707d(0x21f)][_0x48707d(0x1a0)](),this['_inflate']=null,_0x3c5b65(_0x372f57);return;}const _0x51fbd6=_0x56c551[_0x48707d(0xf5)](this[_0x48707d(0x21f)][_0x1ec701],this['_inflate'][_0x537b11]);this['_inflate'][_0x48707d(0x1b8)][_0x48707d(0x19f)]?(this['_inflate'][_0x48707d(0x1a0)](),this[_0x48707d(0x21f)]=null):(this[_0x48707d(0x21f)][_0x537b11]=0x0,this[_0x48707d(0x21f)][_0x1ec701]=[],_0xba6100&&this[_0x48707d(0x113)][_0x380edf+_0x48707d(0x134)]&&this[_0x48707d(0x21f)]['reset']()),_0x3c5b65(null,_0x51fbd6);});}[_0x26b445(0x107)](_0x566edf,_0x562b1c,_0x17b6c7){const _0x47e6d2=_0x26b445,_0x4ed442=this[_0x47e6d2(0x1bd)]?_0x47e6d2(0x20a):_0x47e6d2(0x234);if(!this['_deflate']){const _0x4259ce=_0x4ed442+_0x47e6d2(0x1d3),_0x2c7880=typeof this[_0x47e6d2(0x113)][_0x4259ce]!=_0x47e6d2(0x105)?_0x10b1b2[_0x47e6d2(0x181)]:this[_0x47e6d2(0x113)][_0x4259ce];this[_0x47e6d2(0x1c8)]=_0x10b1b2[_0x47e6d2(0x24e)]({...this[_0x47e6d2(0x1d0)]['zlibDeflateOptions'],'windowBits':_0x2c7880}),this[_0x47e6d2(0x1c8)][_0x537b11]=0x0,this[_0x47e6d2(0x1c8)][_0x1ec701]=[],this[_0x47e6d2(0x1c8)]['on'](_0x47e6d2(0x1b5),_0x566ffc);}this[_0x47e6d2(0x1c8)][_0x51dc9d]=_0x17b6c7,this[_0x47e6d2(0x1c8)]['write'](_0x566edf),this[_0x47e6d2(0x1c8)]['flush'](_0x10b1b2[_0x47e6d2(0x288)],()=>{const _0x29a057=_0x47e6d2;if(!this['_deflate'])return;let _0x964edf=_0x56c551[_0x29a057(0xf5)](this['_deflate'][_0x1ec701],this['_deflate'][_0x537b11]);_0x562b1c&&(_0x964edf=new _0x4d1981(_0x964edf['buffer'],_0x964edf['byteOffset'],_0x964edf[_0x29a057(0x205)]-0x4)),this[_0x29a057(0x1c8)][_0x51dc9d]=null,this[_0x29a057(0x1c8)][_0x537b11]=0x0,this[_0x29a057(0x1c8)][_0x1ec701]=[],_0x562b1c&&this[_0x29a057(0x113)][_0x4ed442+_0x29a057(0x134)]&&this[_0x29a057(0x1c8)][_0x29a057(0x10f)](),_0x17b6c7(null,_0x964edf);});}}ve=_0x4e60fd;function _0x566ffc(_0x13d69a){const _0x331a1b=_0x26b445;this[_0x1ec701][_0x331a1b(0x27e)](_0x13d69a),this[_0x537b11]+=_0x13d69a[_0x331a1b(0x205)];}function _0x3d3333(_0x5496b7){const _0x1ad061=_0x26b445;if(this[_0x537b11]+=_0x5496b7[_0x1ad061(0x205)],this[_0xd57e80][_0x1ad061(0x1ee)]<0x1||this[_0x537b11]<=this[_0xd57e80][_0x1ad061(0x1ee)]){this[_0x1ec701][_0x1ad061(0x27e)](_0x5496b7);return;}this[_0x26cdb2]=new RangeError(_0x1ad061(0x209)),this[_0x26cdb2][_0x1ad061(0x28f)]=_0x1ad061(0x28d),this[_0x26cdb2][_0x558fdb]=0x3f1,this[_0x1ad061(0x20d)](_0x1ad061(0x1b5),_0x3d3333),this[_0x1ad061(0x10f)]();}function _0x5fe229(_0x5bf377){const _0xadde2b=_0x26b445;if(this[_0xd57e80][_0xadde2b(0x21f)]=null,this[_0x26cdb2]){this[_0x51dc9d](this[_0x26cdb2]);return;}_0x5bf377[_0x558fdb]=0x3ef,this[_0x51dc9d](_0x5bf377);}return ve;}function _0x3c52(){const _0x33ae74=['_bufferedBytes','captureStackTrace','WS_ERR_INVALID_CLOSE_CODE','HTTPService','server_max_window_bits','jobs','18QJrzEa','slice','verifyClient','isInteger','kData','ILogService','string','open','_originalHostOrSocketPath','includes','kTarget','client','pause','4289528tLyzvp','zlibInflateOptions','registerHTTPInterceptor','buffers','reason','Basic\x20','cookie','isPaused','Unexpected\x20character\x20at\x20index\x20','kIsForOnEventAttribute','threshold','Unknown\x20parameter\x20\x22','createInflateRaw','base64','username','getMask','fragments','port','fin','_closeTimer','_server','delete','isArray','serverMaxWindowBits','createDeflateRaw','startsWith','isView','total-length','_closeMessage','_final','search','errorEmitted','password','http:','The\x20\x22','toStringTag','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Maximum\x20redirects\x20exceeded','createError','write','RSV1\x20must\x20be\x20clear','charCodeAt','authorization','clients','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','525564cFAbZn','Injector','NodeCollaborationSocketService','customHeaders','constructor','autoPong','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','byteLength','readOnly','readUInt16BE','_protocol','Unexpected\x20end\x20of\x20input','toDisposable','kDone','digest','handshakeTimeout','Cookie','_fragmented','_write','extensionName','wsClientError','connection','conclude','_binaryType','Origin','server_no_context_takeover','opcode','push','dequeue','_doCreateSocket','servername','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_loop','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','websocket','Unexpected\x20server\x20response:\x20','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Z_SYNC_FLUSH','wasClean','HTTP/1.1\x20','_closeCode','blob','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20Sec-WebSocket-Extensions\x20header','code','defaultPort','completeUpgrade','kReason','function','target','pipe','writable','getPayloadLength16','_firstFragment','enqueue','_generateMask','_req','kByteLength','shift','listen','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','The\x20URL\x27s\x20pathname\x20is\x20empty','registerDependencies','frame','createConnection','invalid\x20UTF-8\x20sequence','options','bind','size','clientMaxWindowBits','_extensions','_maskBuffer','_mask','nodebuffer','Observable','_sender','perMessageDeflate','emitClose','_masked','join','getPayloadLength64','_state','CONNECTING','concat','forEach','_paused','getOwnPropertyDescriptor','_compressed','message','binary','cork','once','type','Unsupported\x20protocol\x20version:\x20','MASK\x20must\x20be\x20set','status-code','WS_ERR_UNEXPECTED_RSV_1','format','address','number','read','_compress','readyState','text/plain','ws:','createServer','kRun','getData','call','reset','Invalid\x20value\x20for\x20parameter\x20\x22','WS_ERR_INVALID_UTF8','onclose','params','_registerDependencies','accept','_writableState','rsv1','invalid\x20opcode\x200','toLowerCase','WebSocket\x20is\x20not\x20open:\x20readyState\x20','resume','__esModule','acceptAsClient','_readyState','1LQszGP','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','\x22\x20subprotocol\x20is\x20duplicated','get','clientNoContextTakeover','kError','CLOSING','sendFrame','_payloadLength','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','unmask','location','_allowSynchronousEvents','writeUInt16BE','_shouldEmitClose','prototype','STATUS_CODES','pathname','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','\x0d\x0a\x0d\x0a','indexOf','_no_context_takeover','catch','socketPath','_queue','authorized','nextTick','normalizeParams','Connection:\x20Upgrade','getBlobData','_decompress','value','invalid\x20status\x20code\x20','addEventListener','setNoDelay','destroyed','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','hostname','generateMask','https:','writeHead','UniverCollaborationClientNodePlugin','finishRequest','FIN\x20must\x20be\x20set','WebSocket','IConfigService','_originalSecure','mask','_buffers','WS_ERR_UNEXPECTED_MASK','listenerCount','sec-websocket-version','Plugin','\x20(supported\x20versions:\x20','_threshold','arrayBuffer','upgrade','socket','response','test','terminate','File','isIP','headers','timeout','maskBuffer','destroy','602022nzwzvn','needDrain','pow','freeze','exports','allowSynchronousEvents','DisposableCollection','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_configService','\x22\x20must\x20have\x20only\x20a\x20single\x20value','client_no_context_takeover','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','next','uncork','toString','getInfo','set','offer','drain','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','onerror','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','decompress','_destroy','504zulUPL','readUInt32BE','protocolVersion','DependentOn','handleUpgrade','_opcode','Z_DEFAULT_WINDOWBITS','callback','_messageLength','Invalid\x20Sec-WebSocket-Protocol\x20header','host','construct','readable','setTimeout','encrypted','skipUTF8Validation','sec-websocket-origin','_closeFrameReceived','_skipUTF8Validation','finish','_totalPayloadLength','setSocket','CLOSED','split','stream','default','object','4311566cbZMiV','_redirects','buffer','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','parse','map','href','listeners','endEmitted','close','sec-websocket-key','pending','setHeader','origin','_url','Module','haveLength','defineProperty','_errorEmitted','then','maxPayload','text/html','extensions','compress','noServer','getConfig','concurrency','consume','HTTP/1.1\x20101\x20Switching\x20Protocols','_receiver','data','Sec-WebSocket-Extensions','species','_readableState','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','has','Invalid\x20WebSocket\x20frame:\x20','isServer','_isServer','kType','startLoop','3308580eEzJoO','Sec-WebSocket-Extensions:\x20','redirect','11470VrBOhP','acceptAsServer','_fin','Server\x20sent\x20no\x20subprotocol','sec-websocket-extensions','_deflate','from','_errored','_closeFrameSent','controlMessage','_injector','WS_NO_UTF_8_VALIDATE','WS_ERR_UNEXPECTED_RSV_2_3','_options','Disposable','update','_max_window_bits','kMessage','byteOffset','kListener','invalid\x20opcode\x20','_socket','emit','shouldHandle','Invalid\x20HTTP\x20method','dispatch','statusCode','pong','_read','bufferedAmount','auth','Server\x20sent\x20an\x20invalid\x20subprotocol','client_max_window_bits','sec-websocket-protocol','error','sec-websocket-accept','replace','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','dataMessage','Invalid\x20Sec-WebSocket-Accept\x20header','pluginName','_autoPong','ws+unix:','_maxPayload','connect','request','_bufferedAmount','handleProtocols','protocol','GET','ping','Inject','Blob','send','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','end','permessage-deflate','wss:','COLLABORATION_CLIENT_NODE_CONFIG_KEY','210NgzeGa','WS_ERR_INVALID_OPCODE','10989pwZqBR','share','collaboration-client-node.config','path','create','length','removeEventListener','hasOwnProperty','Opening\x20handshake\x20has\x20timed\x20out','Max\x20payload\x20size\x20exceeded','server','finished','add','removeListener','kWasClean','allocUnsafe','WS_NO_BUFFER_UTIL','binaryType','_originalIpc','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','Upgrade:\x20websocket','sha1','_fragments','cleanup','apply','arraybuffer','ISnapshotServerService','url','keys','OPEN','invalid\x20payload\x20length\x20','_inflate','\x22:\x20','_removeListeners','alloc'];_0x3c52=function(){return _0x33ae74;};return _0x3c52();}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x480b46(0x259)],{'value':_0x480b46(0x1a6)})),Bt=at(Rt);var Ye;function ae(){const _0x3311cc=_0x480b46;if(Ye)return ie[_0x3311cc(0x166)];Ye=0x1;const {isUtf8:_0x1e3b00}=wt,{hasBlob:_0x27c3a1}=H(),_0x1750f5=[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 _0x573964(_0x524fb9){return _0x524fb9>=0x3e8&&_0x524fb9<=0x3f6&&_0x524fb9!==0x3ec&&_0x524fb9!==0x3ed&&_0x524fb9!==0x3ee||_0x524fb9>=0xbb8&&_0x524fb9<=0x1387;}function _0x9797bb(_0x548612){const _0x3aa22f=_0x3311cc,_0x3c5e1c=_0x548612[_0x3aa22f(0x205)];let _0x335f7e=0x0;for(;_0x335f7e<_0x3c5e1c;)if((_0x548612[_0x335f7e]&0x80)===0x0)_0x335f7e++;else{if((_0x548612[_0x335f7e]&0xe0)===0xc0){if(_0x335f7e+0x1===_0x3c5e1c||(_0x548612[_0x335f7e+0x1]&0xc0)!==0x80||(_0x548612[_0x335f7e]&0xfe)===0xc0)return!0x1;_0x335f7e+=0x2;}else{if((_0x548612[_0x335f7e]&0xf0)===0xe0){if(_0x335f7e+0x2>=_0x3c5e1c||(_0x548612[_0x335f7e+0x1]&0xc0)!==0x80||(_0x548612[_0x335f7e+0x2]&0xc0)!==0x80||_0x548612[_0x335f7e]===0xe0&&(_0x548612[_0x335f7e+0x1]&0xe0)===0x80||_0x548612[_0x335f7e]===0xed&&(_0x548612[_0x335f7e+0x1]&0xe0)===0xa0)return!0x1;_0x335f7e+=0x3;}else{if((_0x548612[_0x335f7e]&0xf8)===0xf0){if(_0x335f7e+0x3>=_0x3c5e1c||(_0x548612[_0x335f7e+0x1]&0xc0)!==0x80||(_0x548612[_0x335f7e+0x2]&0xc0)!==0x80||(_0x548612[_0x335f7e+0x3]&0xc0)!==0x80||_0x548612[_0x335f7e]===0xf0&&(_0x548612[_0x335f7e+0x1]&0xf0)===0x80||_0x548612[_0x335f7e]===0xf4&&_0x548612[_0x335f7e+0x1]>0x8f||_0x548612[_0x335f7e]>0xf4)return!0x1;_0x335f7e+=0x4;}else return!0x1;}}}return!0x0;}function _0x4a1386(_0xcfeea2){const _0x45016f=_0x3311cc;return _0x27c3a1&&typeof _0xcfeea2==_0x45016f(0x195)&&typeof _0xcfeea2['arrayBuffer']==_0x45016f(0xd2)&&typeof _0xcfeea2['type']==_0x45016f(0x22f)&&typeof _0xcfeea2[_0x45016f(0x193)]==_0x45016f(0xd2)&&(_0xcfeea2[Symbol['toStringTag']]===_0x45016f(0x1f7)||_0xcfeea2[Symbol['toStringTag']]===_0x45016f(0x15c));}if(ie[_0x3311cc(0x166)]={'isBlob':_0x4a1386,'isValidStatusCode':_0x573964,'isValidUTF8':_0x9797bb,'tokenChars':_0x1750f5},_0x1e3b00)ie[_0x3311cc(0x166)]['isValidUTF8']=function(_0x2f0013){const _0x36e310=_0x3311cc;return _0x2f0013[_0x36e310(0x205)]<0x18?_0x9797bb(_0x2f0013):_0x1e3b00(_0x2f0013);};else{if(!process['env'][_0x3311cc(0x1ce)])try{const _0x35302e=Bt;ie['exports']['isValidUTF8']=function(_0x1452ff){const _0x3f7b43=_0x3311cc;return _0x1452ff[_0x3f7b43(0x205)]<0x20?_0x9797bb(_0x1452ff):_0x35302e(_0x1452ff);};}catch{}}return ie[_0x3311cc(0x166)];}var Se,Ke;function lt(){const _0x41cd6c=_0x480b46;if(Ke)return Se;Ke=0x1;const {Writable:_0x35561f}=oe,_0x35d957=he(),{BINARY_TYPES:_0x2a020a,EMPTY_BUFFER:_0x2e3ca8,kStatusCode:_0x2a2687,kWebSocket:_0x13f06b}=H(),{concat:_0x432701,toArrayBuffer:_0x3ad898,unmask:_0x235ac7}=ce(),{isValidStatusCode:_0x3f19c2,isValidUTF8:_0x59cc5c}=ae(),_0x2e9de3=Buffer[Symbol[_0x41cd6c(0x1b7)]],_0x4016f6=0x0,_0x262ffa=0x1,_0x4a857a=0x2,_0x27ad9d=0x3,_0x2c2b99=0x4,_0x18675b=0x5,_0x537222=0x6;class _0x1f6b6f extends _0x35561f{constructor(_0x4430d9={}){const _0x59a024=_0x41cd6c;super(),this['_allowSynchronousEvents']=_0x4430d9[_0x59a024(0x167)]!==void 0x0?_0x4430d9[_0x59a024(0x167)]:!0x0,this['_binaryType']=_0x4430d9[_0x59a024(0x211)]||_0x2a020a[0x0],this[_0x59a024(0xe8)]=_0x4430d9[_0x59a024(0x1ad)]||{},this[_0x59a024(0x1bd)]=!!_0x4430d9[_0x59a024(0x1bc)],this['_maxPayload']=_0x4430d9[_0x59a024(0x1ab)]|0x0,this['_skipUTF8Validation']=!!_0x4430d9[_0x59a024(0x18a)],this[_0x13f06b]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x59a024(0xf9)]=!0x1,this['_payloadLength']=0x0,this[_0x59a024(0xea)]=void 0x0,this[_0x59a024(0x274)]=0x0,this[_0x59a024(0xf0)]=!0x1,this['_fin']=!0x1,this[_0x59a024(0x180)]=0x0,this[_0x59a024(0x18f)]=0x0,this['_messageLength']=0x0,this[_0x59a024(0x216)]=[],this[_0x59a024(0x1ca)]=!0x1,this[_0x59a024(0x283)]=!0x1,this[_0x59a024(0xf3)]=_0x4016f6;}[_0x41cd6c(0x275)](_0x4db34b,_0x501a29,_0x5b79fd){const _0x1e9d5f=_0x41cd6c;if(this[_0x1e9d5f(0x180)]===0x8&&this['_state']==_0x4016f6)return _0x5b79fd();this[_0x1e9d5f(0x223)]+=_0x4db34b[_0x1e9d5f(0x205)],this[_0x1e9d5f(0x14f)][_0x1e9d5f(0x27e)](_0x4db34b),this[_0x1e9d5f(0x1bf)](_0x5b79fd);}[_0x41cd6c(0x1b2)](_0x1009ad){const _0x34bb39=_0x41cd6c;if(this[_0x34bb39(0x223)]-=_0x1009ad,_0x1009ad===this[_0x34bb39(0x14f)][0x0][_0x34bb39(0x205)])return this[_0x34bb39(0x14f)][_0x34bb39(0xdc)]();if(_0x1009ad<this[_0x34bb39(0x14f)][0x0][_0x34bb39(0x205)]){const _0x5973b7=this[_0x34bb39(0x14f)][0x0];return this[_0x34bb39(0x14f)][0x0]=new _0x2e9de3(_0x5973b7[_0x34bb39(0x198)],_0x5973b7[_0x34bb39(0x1d5)]+_0x1009ad,_0x5973b7['length']-_0x1009ad),new _0x2e9de3(_0x5973b7[_0x34bb39(0x198)],_0x5973b7[_0x34bb39(0x1d5)],_0x1009ad);}const _0x4d6a19=Buffer[_0x34bb39(0x20f)](_0x1009ad);do{const _0x46b461=this[_0x34bb39(0x14f)][0x0],_0x4f2eb7=_0x4d6a19[_0x34bb39(0x205)]-_0x1009ad;_0x1009ad>=_0x46b461[_0x34bb39(0x205)]?_0x4d6a19['set'](this['_buffers'][_0x34bb39(0xdc)](),_0x4f2eb7):(_0x4d6a19['set'](new Uint8Array(_0x46b461[_0x34bb39(0x198)],_0x46b461[_0x34bb39(0x1d5)],_0x1009ad),_0x4f2eb7),this['_buffers'][0x0]=new _0x2e9de3(_0x46b461['buffer'],_0x46b461[_0x34bb39(0x1d5)]+_0x1009ad,_0x46b461[_0x34bb39(0x205)]-_0x1009ad)),_0x1009ad-=_0x46b461[_0x34bb39(0x205)];}while(_0x1009ad>0x0);return _0x4d6a19;}[_0x41cd6c(0x1bf)](_0x13cdd9){const _0x290a1d=_0x41cd6c;this[_0x290a1d(0x283)]=!0x0;do switch(this[_0x290a1d(0xf3)]){case _0x4016f6:this['getInfo'](_0x13cdd9);break;case _0x262ffa:this[_0x290a1d(0xd6)](_0x13cdd9);break;case _0x4a857a:this[_0x290a1d(0xf2)](_0x13cdd9);break;case _0x27ad9d:this[_0x290a1d(0x245)]();break;case _0x2c2b99:this[_0x290a1d(0x10d)](_0x13cdd9);break;case _0x18675b:case _0x537222:this['_loop']=!0x1;return;}while(this[_0x290a1d(0x283)]);this[_0x290a1d(0x1ca)]||_0x13cdd9();}[_0x41cd6c(0x172)](_0x6c10a1){const _0xfc52de=_0x41cd6c;if(this[_0xfc52de(0x223)]<0x2){this[_0xfc52de(0x283)]=!0x1;return;}const _0x5eb31a=this['consume'](0x2);if((_0x5eb31a[0x0]&0x30)!==0x0){const _0x441c20=this[_0xfc52de(0x25c)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0xfc52de(0x1cf));_0x6c10a1(_0x441c20);return;}const _0x40c303=(_0x5eb31a[0x0]&0x40)===0x40;if(_0x40c303&&!this['_extensions'][_0x35d957['extensionName']]){const _0x11f9a1=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xfc52de(0x102));_0x6c10a1(_0x11f9a1);return;}if(this[_0xfc52de(0x1c5)]=(_0x5eb31a[0x0]&0x80)===0x80,this[_0xfc52de(0x180)]=_0x5eb31a[0x0]&0xf,this[_0xfc52de(0x127)]=_0x5eb31a[0x1]&0x7f,this[_0xfc52de(0x180)]===0x0){if(_0x40c303){const _0x5bbf65=this[_0xfc52de(0x25c)](RangeError,_0xfc52de(0x25e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x6c10a1(_0x5bbf65);return;}if(!this[_0xfc52de(0x274)]){const _0x30011c=this[_0xfc52de(0x25c)](RangeError,_0xfc52de(0x118),!0x0,0x3ea,_0xfc52de(0x1ff));_0x6c10a1(_0x30011c);return;}this[_0xfc52de(0x180)]=this['_fragmented'];}else{if(this[_0xfc52de(0x180)]===0x1||this[_0xfc52de(0x180)]===0x2){if(this[_0xfc52de(0x274)]){const _0x463b0a=this[_0xfc52de(0x25c)](RangeError,_0xfc52de(0x1d7)+this['_opcode'],!0x0,0x3ea,_0xfc52de(0x1ff));_0x6c10a1(_0x463b0a);return;}this['_compressed']=_0x40c303;}else{if(this[_0xfc52de(0x180)]>0x7&&this[_0xfc52de(0x180)]<0xb){if(!this[_0xfc52de(0x1c5)]){const _0x5cc752=this[_0xfc52de(0x25c)](RangeError,_0xfc52de(0x14a),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x6c10a1(_0x5cc752);return;}if(_0x40c303){const _0x5c28bf=this['createError'](RangeError,_0xfc52de(0x25e),!0x0,0x3ea,_0xfc52de(0x102));_0x6c10a1(_0x5c28bf);return;}if(this[_0xfc52de(0x127)]>0x7d||this[_0xfc52de(0x180)]===0x8&&this[_0xfc52de(0x127)]===0x1){const _0x4947d6=this['createError'](RangeError,_0xfc52de(0x21e)+this[_0xfc52de(0x127)],!0x0,0x3ea,_0xfc52de(0x19a));_0x6c10a1(_0x4947d6);return;}}else{const _0x595fb9=this[_0xfc52de(0x25c)](RangeError,_0xfc52de(0x1d7)+this[_0xfc52de(0x180)],!0x0,0x3ea,_0xfc52de(0x1ff));_0x6c10a1(_0x595fb9);return;}}}if(!this['_fin']&&!this[_0xfc52de(0x274)]&&(this[_0xfc52de(0x274)]=this[_0xfc52de(0x180)]),this[_0xfc52de(0xf0)]=(_0x5eb31a[0x1]&0x80)===0x80,this[_0xfc52de(0x1bd)]){if(!this[_0xfc52de(0xf0)]){const _0x33cbf7=this[_0xfc52de(0x25c)](RangeError,_0xfc52de(0x100),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x6c10a1(_0x33cbf7);return;}}else{if(this[_0xfc52de(0xf0)]){const _0x217b29=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0xfc52de(0x150));_0x6c10a1(_0x217b29);return;}}this[_0xfc52de(0x127)]===0x7e?this[_0xfc52de(0xf3)]=_0x262ffa:this[_0xfc52de(0x127)]===0x7f?this['_state']=_0x4a857a:this[_0xfc52de(0x1a7)](_0x6c10a1);}[_0x41cd6c(0xd6)](_0x3dd619){const _0xa246e2=_0x41cd6c;if(this[_0xa246e2(0x223)]<0x2){this[_0xa246e2(0x283)]=!0x1;return;}this[_0xa246e2(0x127)]=this[_0xa246e2(0x1b2)](0x2)[_0xa246e2(0x26c)](0x0),this[_0xa246e2(0x1a7)](_0x3dd619);}['getPayloadLength64'](_0xbfd0dd){const _0x318132=_0x41cd6c;if(this['_bufferedBytes']<0x8){this[_0x318132(0x283)]=!0x1;return;}const _0x4488cb=this[_0x318132(0x1b2)](0x8),_0x52a150=_0x4488cb[_0x318132(0x17c)](0x0);if(_0x52a150>Math[_0x318132(0x164)](0x2,0x15)-0x1){const _0x4f165b=this[_0x318132(0x25c)](RangeError,_0x318132(0x199),!0x1,0x3f1,_0x318132(0x282));_0xbfd0dd(_0x4f165b);return;}this[_0x318132(0x127)]=_0x52a150*Math['pow'](0x2,0x20)+_0x4488cb['readUInt32BE'](0x4),this[_0x318132(0x1a7)](_0xbfd0dd);}['haveLength'](_0x428cb2){const _0x3e714f=_0x41cd6c;if(this['_payloadLength']&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x3e714f(0x127)],this[_0x3e714f(0x18f)]>this['_maxPayload']&&this[_0x3e714f(0x1ee)]>0x0)){const _0x796263=this[_0x3e714f(0x25c)](RangeError,_0x3e714f(0x209),!0x1,0x3f1,_0x3e714f(0x28d));_0x428cb2(_0x796263);return;}this[_0x3e714f(0xf0)]?this[_0x3e714f(0xf3)]=_0x27ad9d:this[_0x3e714f(0xf3)]=_0x2c2b99;}[_0x41cd6c(0x245)](){const _0x139a21=_0x41cd6c;if(this['_bufferedBytes']<0x4){this[_0x139a21(0x283)]=!0x1;return;}this[_0x139a21(0xea)]=this['consume'](0x4),this[_0x139a21(0xf3)]=_0x2c2b99;}[_0x41cd6c(0x10d)](_0x3f9881){const _0x4e6e9b=_0x41cd6c;let _0x5d3c38=_0x2e3ca8;if(this[_0x4e6e9b(0x127)]){if(this[_0x4e6e9b(0x223)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x5d3c38=this[_0x4e6e9b(0x1b2)](this[_0x4e6e9b(0x127)]),this['_masked']&&(this[_0x4e6e9b(0xea)][0x0]|this['_mask'][0x1]|this[_0x4e6e9b(0xea)][0x2]|this['_mask'][0x3])!==0x0&&_0x235ac7(_0x5d3c38,this[_0x4e6e9b(0xea)]);}if(this[_0x4e6e9b(0x180)]>0x7){this[_0x4e6e9b(0x1cc)](_0x5d3c38,_0x3f9881);return;}if(this[_0x4e6e9b(0xf9)]){this['_state']=_0x18675b,this[_0x4e6e9b(0x179)](_0x5d3c38,_0x3f9881);return;}_0x5d3c38[_0x4e6e9b(0x205)]&&(this[_0x4e6e9b(0x183)]=this[_0x4e6e9b(0x18f)],this[_0x4e6e9b(0x216)]['push'](_0x5d3c38)),this[_0x4e6e9b(0x1e9)](_0x3f9881);}[_0x41cd6c(0x179)](_0x2e444,_0x640891){const _0x737ed2=_0x41cd6c;this[_0x737ed2(0xe8)][_0x35d957['extensionName']][_0x737ed2(0x179)](_0x2e444,this[_0x737ed2(0x1c5)],(_0x451eb7,_0x2c4d06)=>{const _0x5cac2e=_0x737ed2;if(_0x451eb7)return _0x640891(_0x451eb7);if(_0x2c4d06['length']){if(this['_messageLength']+=_0x2c4d06['length'],this[_0x5cac2e(0x183)]>this[_0x5cac2e(0x1ee)]&&this[_0x5cac2e(0x1ee)]>0x0){const _0x13bad5=this[_0x5cac2e(0x25c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5cac2e(0x28d));_0x640891(_0x13bad5);return;}this[_0x5cac2e(0x216)][_0x5cac2e(0x27e)](_0x2c4d06);}this[_0x5cac2e(0x1e9)](_0x640891),this[_0x5cac2e(0xf3)]===_0x4016f6&&this[_0x5cac2e(0x1bf)](_0x640891);});}[_0x41cd6c(0x1e9)](_0x574144){const _0x29493e=_0x41cd6c;if(!this['_fin']){this[_0x29493e(0xf3)]=_0x4016f6;return;}const _0x2edf34=this['_messageLength'],_0x5ad292=this[_0x29493e(0x216)];if(this[_0x29493e(0x18f)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x29493e(0x216)]=[],this[_0x29493e(0x180)]===0x2){let _0x8f1d80;this[_0x29493e(0x27a)]===_0x29493e(0xeb)?_0x8f1d80=_0x432701(_0x5ad292,_0x2edf34):this[_0x29493e(0x27a)]===_0x29493e(0x219)?_0x8f1d80=_0x3ad898(_0x432701(_0x5ad292,_0x2edf34)):this[_0x29493e(0x27a)]===_0x29493e(0x28c)?_0x8f1d80=new Blob(_0x5ad292):_0x8f1d80=_0x5ad292,this[_0x29493e(0x12b)]?(this['emit'](_0x29493e(0xfa),_0x8f1d80,!0x0),this['_state']=_0x4016f6):(this[_0x29493e(0xf3)]=_0x537222,setImmediate(()=>{const _0x3e389b=_0x29493e;this[_0x3e389b(0x1d9)](_0x3e389b(0xfa),_0x8f1d80,!0x0),this[_0x3e389b(0xf3)]=_0x4016f6,this['startLoop'](_0x574144);}));}else{const _0x31427b=_0x432701(_0x5ad292,_0x2edf34);if(!this[_0x29493e(0x18d)]&&!_0x59cc5c(_0x31427b)){const _0x24baff=this['createError'](Error,_0x29493e(0xe3),!0x0,0x3ef,_0x29493e(0x111));_0x574144(_0x24baff);return;}this['_state']===_0x18675b||this[_0x29493e(0x12b)]?(this[_0x29493e(0x1d9)]('message',_0x31427b,!0x1),this[_0x29493e(0xf3)]=_0x4016f6):(this[_0x29493e(0xf3)]=_0x537222,setImmediate(()=>{const _0xdc24bd=_0x29493e;this['emit'](_0xdc24bd(0xfa),_0x31427b,!0x1),this['_state']=_0x4016f6,this[_0xdc24bd(0x1bf)](_0x574144);}));}}[_0x41cd6c(0x1cc)](_0x44c5e7,_0x20b149){const _0x11de73=_0x41cd6c;if(this[_0x11de73(0x180)]===0x8){if(_0x44c5e7[_0x11de73(0x205)]===0x0)this[_0x11de73(0x283)]=!0x1,this['emit']('conclude',0x3ed,_0x2e3ca8),this['end']();else{const _0x52a971=_0x44c5e7[_0x11de73(0x26c)](0x0);if(!_0x3f19c2(_0x52a971)){const _0x1658f2=this[_0x11de73(0x25c)](RangeError,_0x11de73(0x13f)+_0x52a971,!0x0,0x3ea,_0x11de73(0x225));_0x20b149(_0x1658f2);return;}const _0x3d8d44=new _0x2e9de3(_0x44c5e7[_0x11de73(0x198)],_0x44c5e7[_0x11de73(0x1d5)]+0x2,_0x44c5e7[_0x11de73(0x205)]-0x2);if(!this[_0x11de73(0x18d)]&&!_0x59cc5c(_0x3d8d44)){const _0x2c5552=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x20b149(_0x2c5552);return;}this[_0x11de73(0x283)]=!0x1,this[_0x11de73(0x1d9)]('conclude',_0x52a971,_0x3d8d44),this[_0x11de73(0x1fa)]();}this[_0x11de73(0xf3)]=_0x4016f6;return;}this[_0x11de73(0x12b)]?(this[_0x11de73(0x1d9)](this[_0x11de73(0x180)]===0x9?'ping':_0x11de73(0x1de),_0x44c5e7),this[_0x11de73(0xf3)]=_0x4016f6):(this[_0x11de73(0xf3)]=_0x537222,setImmediate(()=>{const _0xa2ad48=_0x11de73;this[_0xa2ad48(0x1d9)](this['_opcode']===0x9?_0xa2ad48(0x1f5):_0xa2ad48(0x1de),_0x44c5e7),this[_0xa2ad48(0xf3)]=_0x4016f6,this[_0xa2ad48(0x1bf)](_0x20b149);}));}['createError'](_0x290c53,_0x32e3e8,_0x1b6134,_0x2ef806,_0x206297){const _0xb6cc6e=_0x41cd6c;this[_0xb6cc6e(0x283)]=!0x1,this[_0xb6cc6e(0x1ca)]=!0x0;const _0xf29b62=new _0x290c53(_0x1b6134?_0xb6cc6e(0x1bb)+_0x32e3e8:_0x32e3e8);return Error[_0xb6cc6e(0x224)](_0xf29b62,this[_0xb6cc6e(0x25c)]),_0xf29b62['code']=_0x206297,_0xf29b62[_0x2a2687]=_0x2ef806,_0xf29b62;}}return Se=_0x1f6b6f,Se;}var Ee,Xe;function ft(){const _0xb910ae=_0x480b46;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x3783e8}=oe,{randomFillSync:_0x5f27fa}=Le,_0x2f0dc4=he(),{EMPTY_BUFFER:_0x906fb,kWebSocket:_0x2d65bd,NOOP:_0x244ab9}=H(),{isBlob:_0x5edb2f,isValidStatusCode:_0x168b08}=ae(),{mask:_0x49baca,toBuffer:_0x581164}=ce(),_0x2cfe98=Symbol(_0xb910ae(0xdb)),_0x3e1478=Buffer['alloc'](0x4),_0x54cdbb=0x8*0x400;let _0x547443,_0x43d285=_0x54cdbb;const _0x1beb5f=0x0,_0xf03bfa=0x1,_0x3565da=0x2;class _0x534706{constructor(_0x15bd70,_0x3b61c0,_0x15ac68){const _0x55125f=_0xb910ae;this['_extensions']=_0x3b61c0||{},_0x15ac68&&(this[_0x55125f(0xd9)]=_0x15ac68,this[_0x55125f(0xe9)]=Buffer['alloc'](0x4)),this[_0x55125f(0x1d8)]=_0x15bd70,this[_0x55125f(0xd7)]=!0x0,this[_0x55125f(0x107)]=!0x1,this['_bufferedBytes']=0x0,this[_0x55125f(0x137)]=[],this['_state']=_0x1beb5f,this[_0x55125f(0x177)]=_0x244ab9,this[_0x2d65bd]=void 0x0;}static[_0xb910ae(0xe1)](_0x403b96,_0x483399){const _0x4af566=_0xb910ae;let _0x9e1098,_0x4bf2b9=!0x1,_0xc249c1=0x2,_0x546281=!0x1;_0x483399[_0x4af566(0x14e)]&&(_0x9e1098=_0x483399[_0x4af566(0x160)]||_0x3e1478,_0x483399[_0x4af566(0x145)]?_0x483399[_0x4af566(0x145)](_0x9e1098):(_0x43d285===_0x54cdbb&&(_0x547443===void 0x0&&(_0x547443=Buffer[_0x4af566(0x222)](_0x54cdbb)),_0x5f27fa(_0x547443,0x0,_0x54cdbb),_0x43d285=0x0),_0x9e1098[0x0]=_0x547443[_0x43d285++],_0x9e1098[0x1]=_0x547443[_0x43d285++],_0x9e1098[0x2]=_0x547443[_0x43d285++],_0x9e1098[0x3]=_0x547443[_0x43d285++]),_0x546281=(_0x9e1098[0x0]|_0x9e1098[0x1]|_0x9e1098[0x2]|_0x9e1098[0x3])===0x0,_0xc249c1=0x6);let _0x1ad91d;typeof _0x403b96=='string'?(!_0x483399[_0x4af566(0x14e)]||_0x546281)&&_0x483399[_0x2cfe98]!==void 0x0?_0x1ad91d=_0x483399[_0x2cfe98]:(_0x403b96=Buffer[_0x4af566(0x1c9)](_0x403b96),_0x1ad91d=_0x403b96['length']):(_0x1ad91d=_0x403b96[_0x4af566(0x205)],_0x4bf2b9=_0x483399['mask']&&_0x483399[_0x4af566(0x26b)]&&!_0x546281);let _0x4f38c7=_0x1ad91d;_0x1ad91d>=0x10000?(_0xc249c1+=0x8,_0x4f38c7=0x7f):_0x1ad91d>0x7d&&(_0xc249c1+=0x2,_0x4f38c7=0x7e);const _0x1e2846=Buffer[_0x4af566(0x20f)](_0x4bf2b9?_0x1ad91d+_0xc249c1:_0xc249c1);return _0x1e2846[0x0]=_0x483399[_0x4af566(0x248)]?_0x483399['opcode']|0x80:_0x483399[_0x4af566(0x27d)],_0x483399[_0x4af566(0x117)]&&(_0x1e2846[0x0]|=0x40),_0x1e2846[0x1]=_0x4f38c7,_0x4f38c7===0x7e?_0x1e2846['writeUInt16BE'](_0x1ad91d,0x2):_0x4f38c7===0x7f&&(_0x1e2846[0x2]=_0x1e2846[0x3]=0x0,_0x1e2846['writeUIntBE'](_0x1ad91d,0x4,0x6)),_0x483399[_0x4af566(0x14e)]?(_0x1e2846[0x1]|=0x80,_0x1e2846[_0xc249c1-0x4]=_0x9e1098[0x0],_0x1e2846[_0xc249c1-0x3]=_0x9e1098[0x1],_0x1e2846[_0xc249c1-0x2]=_0x9e1098[0x2],_0x1e2846[_0xc249c1-0x1]=_0x9e1098[0x3],_0x546281?[_0x1e2846,_0x403b96]:_0x4bf2b9?(_0x49baca(_0x403b96,_0x9e1098,_0x1e2846,_0xc249c1,_0x1ad91d),[_0x1e2846]):(_0x49baca(_0x403b96,_0x9e1098,_0x403b96,0x0,_0x1ad91d),[_0x1e2846,_0x403b96])):[_0x1e2846,_0x403b96];}[_0xb910ae(0x1a0)](_0x4c2bf1,_0x2f14dd,_0x5bdd6a,_0x302e1a){const _0x2ee1ee=_0xb910ae;let _0x5577d9;if(_0x4c2bf1===void 0x0)_0x5577d9=_0x906fb;else{if(typeof _0x4c2bf1!=_0x2ee1ee(0x105)||!_0x168b08(_0x4c2bf1))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2f14dd===void 0x0||!_0x2f14dd[_0x2ee1ee(0x205)])_0x5577d9=Buffer[_0x2ee1ee(0x20f)](0x2),_0x5577d9[_0x2ee1ee(0x12c)](_0x4c2bf1,0x0);else{const _0x41f3a0=Buffer[_0x2ee1ee(0x26a)](_0x2f14dd);if(_0x41f3a0>0x7b)throw new RangeError(_0x2ee1ee(0x128));_0x5577d9=Buffer['allocUnsafe'](0x2+_0x41f3a0),_0x5577d9[_0x2ee1ee(0x12c)](_0x4c2bf1,0x0),typeof _0x2f14dd==_0x2ee1ee(0x22f)?_0x5577d9['write'](_0x2f14dd,0x2):_0x5577d9[_0x2ee1ee(0x173)](_0x2f14dd,0x2);}}const _0x495e60={[_0x2cfe98]:_0x5577d9[_0x2ee1ee(0x205)],'fin':!0x0,'generateMask':this[_0x2ee1ee(0xd9)],'mask':_0x5bdd6a,'maskBuffer':this[_0x2ee1ee(0xe9)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x1beb5f?this[_0x2ee1ee(0xd8)]([this[_0x2ee1ee(0x1dc)],_0x5577d9,!0x1,_0x495e60,_0x302e1a]):this[_0x2ee1ee(0x126)](_0x534706[_0x2ee1ee(0xe1)](_0x5577d9,_0x495e60),_0x302e1a);}['ping'](_0x342a3a,_0x955f81,_0x2d8485){const _0x45f4f2=_0xb910ae;let _0x5a0093,_0x878d9c;if(typeof _0x342a3a==_0x45f4f2(0x22f)?(_0x5a0093=Buffer[_0x45f4f2(0x26a)](_0x342a3a),_0x878d9c=!0x1):_0x5edb2f(_0x342a3a)?(_0x5a0093=_0x342a3a[_0x45f4f2(0xe6)],_0x878d9c=!0x1):(_0x342a3a=_0x581164(_0x342a3a),_0x5a0093=_0x342a3a[_0x45f4f2(0x205)],_0x878d9c=_0x581164[_0x45f4f2(0x26b)]),_0x5a0093>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x27b08a={[_0x2cfe98]:_0x5a0093,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x955f81,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x878d9c,'rsv1':!0x1};_0x5edb2f(_0x342a3a)?this[_0x45f4f2(0xf3)]!==_0x1beb5f?this[_0x45f4f2(0xd8)]([this[_0x45f4f2(0x13c)],_0x342a3a,!0x1,_0x27b08a,_0x2d8485]):this[_0x45f4f2(0x13c)](_0x342a3a,!0x1,_0x27b08a,_0x2d8485):this[_0x45f4f2(0xf3)]!==_0x1beb5f?this[_0x45f4f2(0xd8)]([this[_0x45f4f2(0x1dc)],_0x342a3a,!0x1,_0x27b08a,_0x2d8485]):this[_0x45f4f2(0x126)](_0x534706[_0x45f4f2(0xe1)](_0x342a3a,_0x27b08a),_0x2d8485);}[_0xb910ae(0x1de)](_0x57874c,_0x475c2b,_0x3c7308){const _0x427ac2=_0xb910ae;let _0x18144b,_0x26d068;if(typeof _0x57874c==_0x427ac2(0x22f)?(_0x18144b=Buffer[_0x427ac2(0x26a)](_0x57874c),_0x26d068=!0x1):_0x5edb2f(_0x57874c)?(_0x18144b=_0x57874c['size'],_0x26d068=!0x1):(_0x57874c=_0x581164(_0x57874c),_0x18144b=_0x57874c['length'],_0x26d068=_0x581164['readOnly']),_0x18144b>0x7d)throw new RangeError(_0x427ac2(0x284));const _0x51c344={[_0x2cfe98]:_0x18144b,'fin':!0x0,'generateMask':this[_0x427ac2(0xd9)],'mask':_0x475c2b,'maskBuffer':this[_0x427ac2(0xe9)],'opcode':0xa,'readOnly':_0x26d068,'rsv1':!0x1};_0x5edb2f(_0x57874c)?this['_state']!==_0x1beb5f?this[_0x427ac2(0xd8)]([this['getBlobData'],_0x57874c,!0x1,_0x51c344,_0x3c7308]):this[_0x427ac2(0x13c)](_0x57874c,!0x1,_0x51c344,_0x3c7308):this['_state']!==_0x1beb5f?this[_0x427ac2(0xd8)]([this[_0x427ac2(0x1dc)],_0x57874c,!0x1,_0x51c344,_0x3c7308]):this[_0x427ac2(0x126)](_0x534706[_0x427ac2(0xe1)](_0x57874c,_0x51c344),_0x3c7308);}[_0xb910ae(0x1f8)](_0x33299f,_0x58e95c,_0x3e8a71){const _0x395cd8=_0xb910ae,_0x4706f8=this[_0x395cd8(0xe8)][_0x2f0dc4[_0x395cd8(0x276)]];let _0x208026=_0x58e95c[_0x395cd8(0xfb)]?0x2:0x1,_0x3f938f=_0x58e95c[_0x395cd8(0x1ae)],_0x13bde9,_0x41352c;typeof _0x33299f==_0x395cd8(0x22f)?(_0x13bde9=Buffer[_0x395cd8(0x26a)](_0x33299f),_0x41352c=!0x1):_0x5edb2f(_0x33299f)?(_0x13bde9=_0x33299f['size'],_0x41352c=!0x1):(_0x33299f=_0x581164(_0x33299f),_0x13bde9=_0x33299f[_0x395cd8(0x205)],_0x41352c=_0x581164[_0x395cd8(0x26b)]),this[_0x395cd8(0xd7)]?(this[_0x395cd8(0xd7)]=!0x1,_0x3f938f&&_0x4706f8&&_0x4706f8[_0x395cd8(0x113)][_0x4706f8[_0x395cd8(0x1bd)]?_0x395cd8(0x27c):_0x395cd8(0x16d)]&&(_0x3f938f=_0x13bde9>=_0x4706f8[_0x395cd8(0x155)]),this['_compress']=_0x3f938f):(_0x3f938f=!0x1,_0x208026=0x0),_0x58e95c[_0x395cd8(0x248)]&&(this['_firstFragment']=!0x0);const _0x2498bf={[_0x2cfe98]:_0x13bde9,'fin':_0x58e95c[_0x395cd8(0x248)],'generateMask':this[_0x395cd8(0xd9)],'mask':_0x58e95c['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x208026,'readOnly':_0x41352c,'rsv1':_0x3f938f};_0x5edb2f(_0x33299f)?this[_0x395cd8(0xf3)]!==_0x1beb5f?this[_0x395cd8(0xd8)]([this[_0x395cd8(0x13c)],_0x33299f,this[_0x395cd8(0x107)],_0x2498bf,_0x3e8a71]):this[_0x395cd8(0x13c)](_0x33299f,this[_0x395cd8(0x107)],_0x2498bf,_0x3e8a71):this[_0x395cd8(0xf3)]!==_0x1beb5f?this[_0x395cd8(0xd8)]([this['dispatch'],_0x33299f,this[_0x395cd8(0x107)],_0x2498bf,_0x3e8a71]):this[_0x395cd8(0x1dc)](_0x33299f,this[_0x395cd8(0x107)],_0x2498bf,_0x3e8a71);}[_0xb910ae(0x13c)](_0x599d0e,_0x35bad7,_0x5af49e,_0x8412d2){const _0x332c5f=_0xb910ae;this[_0x332c5f(0x223)]+=_0x5af49e[_0x2cfe98],this[_0x332c5f(0xf3)]=_0x3565da,_0x599d0e[_0x332c5f(0x156)]()[_0x332c5f(0x1aa)](_0x4d0b4d=>{const _0x69c14c=_0x332c5f;if(this[_0x69c14c(0x1d8)][_0x69c14c(0x142)]){const _0x18d99d=new Error(_0x69c14c(0x16e));process[_0x69c14c(0x139)](_0x206eff,this,_0x18d99d,_0x8412d2);return;}this[_0x69c14c(0x223)]-=_0x5af49e[_0x2cfe98];const _0xaff346=_0x581164(_0x4d0b4d);_0x35bad7?this[_0x69c14c(0x1dc)](_0xaff346,_0x35bad7,_0x5af49e,_0x8412d2):(this[_0x69c14c(0xf3)]=_0x1beb5f,this[_0x69c14c(0x126)](_0x534706[_0x69c14c(0xe1)](_0xaff346,_0x5af49e),_0x8412d2),this[_0x69c14c(0x27f)]());})[_0x332c5f(0x135)](_0x31d5fb=>{const _0x6e593d=_0x332c5f;process[_0x6e593d(0x139)](_0xcba125,this,_0x31d5fb,_0x8412d2);});}[_0xb910ae(0x1dc)](_0x562505,_0x450cd4,_0x136e0d,_0x30bbca){const _0xe93820=_0xb910ae;if(!_0x450cd4){this[_0xe93820(0x126)](_0x534706[_0xe93820(0xe1)](_0x562505,_0x136e0d),_0x30bbca);return;}const _0x5bf9ae=this[_0xe93820(0xe8)][_0x2f0dc4[_0xe93820(0x276)]];this[_0xe93820(0x223)]+=_0x136e0d[_0x2cfe98],this['_state']=_0xf03bfa,_0x5bf9ae[_0xe93820(0x1ae)](_0x562505,_0x136e0d['fin'],(_0x4621bd,_0x14f16a)=>{const _0x5c83a3=_0xe93820;if(this[_0x5c83a3(0x1d8)][_0x5c83a3(0x142)]){const _0x14b72d=new Error(_0x5c83a3(0x262));_0x206eff(this,_0x14b72d,_0x30bbca);return;}this[_0x5c83a3(0x223)]-=_0x136e0d[_0x2cfe98],this[_0x5c83a3(0xf3)]=_0x1beb5f,_0x136e0d[_0x5c83a3(0x26b)]=!0x1,this[_0x5c83a3(0x126)](_0x534706[_0x5c83a3(0xe1)](_0x14f16a,_0x136e0d),_0x30bbca),this[_0x5c83a3(0x27f)]();});}['dequeue'](){const _0x5de6b3=_0xb910ae;for(;this[_0x5de6b3(0xf3)]===_0x1beb5f&&this['_queue'][_0x5de6b3(0x205)];){const _0x15628c=this[_0x5de6b3(0x137)][_0x5de6b3(0xdc)]();this['_bufferedBytes']-=_0x15628c[0x3][_0x2cfe98],Reflect['apply'](_0x15628c[0x0],this,_0x15628c[_0x5de6b3(0x22a)](0x1));}}[_0xb910ae(0xd8)](_0x501a2c){const _0x47565d=_0xb910ae;this[_0x47565d(0x223)]+=_0x501a2c[0x3][_0x2cfe98],this[_0x47565d(0x137)][_0x47565d(0x27e)](_0x501a2c);}[_0xb910ae(0x126)](_0x5074d2,_0x37b197){const _0xf56238=_0xb910ae;_0x5074d2[_0xf56238(0x205)]===0x2?(this[_0xf56238(0x1d8)][_0xf56238(0xfc)](),this[_0xf56238(0x1d8)][_0xf56238(0x25d)](_0x5074d2[0x0]),this['_socket']['write'](_0x5074d2[0x1],_0x37b197),this[_0xf56238(0x1d8)][_0xf56238(0x170)]()):this[_0xf56238(0x1d8)][_0xf56238(0x25d)](_0x5074d2[0x0],_0x37b197);}}Ee=_0x534706;function _0x206eff(_0x994fbe,_0x4f0d9d,_0x411244){const _0x501d4d=_0xb910ae;typeof _0x411244==_0x501d4d(0xd2)&&_0x411244(_0x4f0d9d);for(let _0x3b8d95=0x0;_0x3b8d95<_0x994fbe['_queue']['length'];_0x3b8d95++){const _0x163fb2=_0x994fbe['_queue'][_0x3b8d95],_0xe8d09a=_0x163fb2[_0x163fb2[_0x501d4d(0x205)]-0x1];typeof _0xe8d09a==_0x501d4d(0xd2)&&_0xe8d09a(_0x4f0d9d);}}function _0xcba125(_0x246e06,_0x242c52,_0x719898){const _0x16a2e4=_0xb910ae;_0x206eff(_0x246e06,_0x242c52,_0x719898),_0x246e06[_0x16a2e4(0x177)](_0x242c52);}return Ee;}var xe,Ze;function It(){const _0x4dcb3d=_0x480b46;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3528b5,kListener:_0xe9390e}=H(),_0x22bf0b=Symbol('kCode'),_0x5f8587=Symbol(_0x4dcb3d(0x22d)),_0x3b0b74=Symbol(_0x4dcb3d(0x124)),_0x415535=Symbol(_0x4dcb3d(0x1d4)),_0x438f77=Symbol(_0x4dcb3d(0x292)),_0x283cae=Symbol(_0x4dcb3d(0x233)),_0x215775=Symbol(_0x4dcb3d(0x1be)),_0x4cd4cf=Symbol(_0x4dcb3d(0x20e));class _0x51e46a{constructor(_0x5643f6){this[_0x283cae]=null,this[_0x215775]=_0x5643f6;}get[_0x4dcb3d(0xd3)](){return this[_0x283cae];}get[_0x4dcb3d(0xfe)](){return this[_0x215775];}}Object['defineProperty'](_0x51e46a[_0x4dcb3d(0x12e)],_0x4dcb3d(0xd3),{'enumerable':!0x0}),Object[_0x4dcb3d(0x1a8)](_0x51e46a['prototype'],'type',{'enumerable':!0x0});class _0x42289f extends _0x51e46a{constructor(_0x2e26f2,_0x38a7f6={}){const _0x35cdf7=_0x4dcb3d;super(_0x2e26f2),this[_0x22bf0b]=_0x38a7f6[_0x35cdf7(0x28f)]===void 0x0?0x0:_0x38a7f6[_0x35cdf7(0x28f)],this[_0x438f77]=_0x38a7f6[_0x35cdf7(0x23a)]===void 0x0?'':_0x38a7f6['reason'],this[_0x4cd4cf]=_0x38a7f6[_0x35cdf7(0x289)]===void 0x0?!0x1:_0x38a7f6['wasClean'];}get['code'](){return this[_0x22bf0b];}get[_0x4dcb3d(0x23a)](){return this[_0x438f77];}get[_0x4dcb3d(0x289)](){return this[_0x4cd4cf];}}Object[_0x4dcb3d(0x1a8)](_0x42289f[_0x4dcb3d(0x12e)],_0x4dcb3d(0x28f),{'enumerable':!0x0}),Object[_0x4dcb3d(0x1a8)](_0x42289f[_0x4dcb3d(0x12e)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x42289f[_0x4dcb3d(0x12e)],'wasClean',{'enumerable':!0x0});class _0x4ca7eb extends _0x51e46a{constructor(_0x5dd34d,_0x41d610={}){const _0x2a0ee1=_0x4dcb3d;super(_0x5dd34d),this[_0x3b0b74]=_0x41d610[_0x2a0ee1(0x1e5)]===void 0x0?null:_0x41d610['error'],this[_0x415535]=_0x41d610['message']===void 0x0?'':_0x41d610[_0x2a0ee1(0xfa)];}get[_0x4dcb3d(0x1e5)](){return this[_0x3b0b74];}get[_0x4dcb3d(0xfa)](){return this[_0x415535];}}Object[_0x4dcb3d(0x1a8)](_0x4ca7eb[_0x4dcb3d(0x12e)],_0x4dcb3d(0x1e5),{'enumerable':!0x0}),Object[_0x4dcb3d(0x1a8)](_0x4ca7eb[_0x4dcb3d(0x12e)],_0x4dcb3d(0xfa),{'enumerable':!0x0});class _0x541b0c extends _0x51e46a{constructor(_0x465e7f,_0x1cce22={}){const _0x5b4aa3=_0x4dcb3d;super(_0x465e7f),this[_0x5f8587]=_0x1cce22[_0x5b4aa3(0x1b5)]===void 0x0?null:_0x1cce22[_0x5b4aa3(0x1b5)];}get[_0x4dcb3d(0x1b5)](){return this[_0x5f8587];}}Object[_0x4dcb3d(0x1a8)](_0x541b0c[_0x4dcb3d(0x12e)],_0x4dcb3d(0x1b5),{'enumerable':!0x0}),xe={'CloseEvent':_0x42289f,'ErrorEvent':_0x4ca7eb,'Event':_0x51e46a,'EventTarget':{'addEventListener'(_0x160c84,_0x1516d1,_0x2f4bab={}){const _0x2e54a8=_0x4dcb3d;for(const _0x2b8a80 of this[_0x2e54a8(0x19e)](_0x160c84))if(!_0x2f4bab[_0x3528b5]&&_0x2b8a80[_0xe9390e]===_0x1516d1&&!_0x2b8a80[_0x3528b5])return;let _0x4d1dc0;if(_0x160c84===_0x2e54a8(0xfa))_0x4d1dc0=function(_0x386454,_0x452fe0){const _0xec36d0=_0x2e54a8,_0x548e60=new _0x541b0c(_0xec36d0(0xfa),{'data':_0x452fe0?_0x386454:_0x386454[_0xec36d0(0x171)]()});_0x548e60[_0x283cae]=this,_0x1e3d9f(_0x1516d1,this,_0x548e60);};else{if(_0x160c84==='close')_0x4d1dc0=function(_0x294257,_0x3097ad){const _0x210bbb=_0x2e54a8,_0x10b3e2=new _0x42289f(_0x210bbb(0x1a0),{'code':_0x294257,'reason':_0x3097ad[_0x210bbb(0x171)](),'wasClean':this['_closeFrameReceived']&&this[_0x210bbb(0x1cb)]});_0x10b3e2[_0x283cae]=this,_0x1e3d9f(_0x1516d1,this,_0x10b3e2);};else{if(_0x160c84==='error')_0x4d1dc0=function(_0x42302e){const _0x46fc1d=new _0x4ca7eb('error',{'error':_0x42302e,'message':_0x42302e['message']});_0x46fc1d[_0x283cae]=this,_0x1e3d9f(_0x1516d1,this,_0x46fc1d);};else{if(_0x160c84===_0x2e54a8(0x230))_0x4d1dc0=function(){const _0x282bdf=new _0x51e46a('open');_0x282bdf[_0x283cae]=this,_0x1e3d9f(_0x1516d1,this,_0x282bdf);};else return;}}}_0x4d1dc0[_0x3528b5]=!!_0x2f4bab[_0x3528b5],_0x4d1dc0[_0xe9390e]=_0x1516d1,_0x2f4bab[_0x2e54a8(0xfd)]?this[_0x2e54a8(0xfd)](_0x160c84,_0x4d1dc0):this['on'](_0x160c84,_0x4d1dc0);},'removeEventListener'(_0x176781,_0x2997bf){const _0x518d06=_0x4dcb3d;for(const _0x403111 of this[_0x518d06(0x19e)](_0x176781))if(_0x403111[_0xe9390e]===_0x2997bf&&!_0x403111[_0x3528b5]){this[_0x518d06(0x20d)](_0x176781,_0x403111);break;}}},'MessageEvent':_0x541b0c};function _0x1e3d9f(_0x35eee6,_0x30be45,_0x35f1ee){const _0x3620b7=_0x4dcb3d;typeof _0x35eee6==_0x3620b7(0x195)&&_0x35eee6['handleEvent']?_0x35eee6['handleEvent'][_0x3620b7(0x10e)](_0x35eee6,_0x35f1ee):_0x35eee6[_0x3620b7(0x10e)](_0x30be45,_0x35f1ee);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x46dba1}=ae();function _0x6aa1be(_0x2ac2bc,_0x174575,_0x29d699){const _0x1d699c=_0x50eb;_0x2ac2bc[_0x174575]===void 0x0?_0x2ac2bc[_0x174575]=[_0x29d699]:_0x2ac2bc[_0x174575][_0x1d699c(0x27e)](_0x29d699);}function _0x459b65(_0x373dd3){const _0x51811c=_0x50eb,_0x2d29fa=Object[_0x51811c(0x204)](null);let _0x2303cf=Object[_0x51811c(0x204)](null),_0x3f1d56=!0x1,_0x37ed51=!0x1,_0x1bbc8b=!0x1,_0x3a583f,_0x2ad1cf,_0x54d18a=-0x1,_0x416edd=-0x1,_0x198c30=-0x1,_0x5064ba=0x0;for(;_0x5064ba<_0x373dd3[_0x51811c(0x205)];_0x5064ba++)if(_0x416edd=_0x373dd3['charCodeAt'](_0x5064ba),_0x3a583f===void 0x0){if(_0x198c30===-0x1&&_0x46dba1[_0x416edd]===0x1)_0x54d18a===-0x1&&(_0x54d18a=_0x5064ba);else{if(_0x5064ba!==0x0&&(_0x416edd===0x20||_0x416edd===0x9))_0x198c30===-0x1&&_0x54d18a!==-0x1&&(_0x198c30=_0x5064ba);else{if(_0x416edd===0x3b||_0x416edd===0x2c){if(_0x54d18a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5064ba);_0x198c30===-0x1&&(_0x198c30=_0x5064ba);const _0x1db223=_0x373dd3[_0x51811c(0x22a)](_0x54d18a,_0x198c30);_0x416edd===0x2c?(_0x6aa1be(_0x2d29fa,_0x1db223,_0x2303cf),_0x2303cf=Object[_0x51811c(0x204)](null)):_0x3a583f=_0x1db223,_0x54d18a=_0x198c30=-0x1;}else throw new SyntaxError(_0x51811c(0x23e)+_0x5064ba);}}}else{if(_0x2ad1cf===void 0x0){if(_0x198c30===-0x1&&_0x46dba1[_0x416edd]===0x1)_0x54d18a===-0x1&&(_0x54d18a=_0x5064ba);else{if(_0x416edd===0x20||_0x416edd===0x9)_0x198c30===-0x1&&_0x54d18a!==-0x1&&(_0x198c30=_0x5064ba);else{if(_0x416edd===0x3b||_0x416edd===0x2c){if(_0x54d18a===-0x1)throw new SyntaxError(_0x51811c(0x23e)+_0x5064ba);_0x198c30===-0x1&&(_0x198c30=_0x5064ba),_0x6aa1be(_0x2303cf,_0x373dd3[_0x51811c(0x22a)](_0x54d18a,_0x198c30),!0x0),_0x416edd===0x2c&&(_0x6aa1be(_0x2d29fa,_0x3a583f,_0x2303cf),_0x2303cf=Object[_0x51811c(0x204)](null),_0x3a583f=void 0x0),_0x54d18a=_0x198c30=-0x1;}else{if(_0x416edd===0x3d&&_0x54d18a!==-0x1&&_0x198c30===-0x1)_0x2ad1cf=_0x373dd3['slice'](_0x54d18a,_0x5064ba),_0x54d18a=_0x198c30=-0x1;else throw new SyntaxError(_0x51811c(0x23e)+_0x5064ba);}}}}else{if(_0x37ed51){if(_0x46dba1[_0x416edd]!==0x1)throw new SyntaxError(_0x51811c(0x23e)+_0x5064ba);_0x54d18a===-0x1?_0x54d18a=_0x5064ba:_0x3f1d56||(_0x3f1d56=!0x0),_0x37ed51=!0x1;}else{if(_0x1bbc8b){if(_0x46dba1[_0x416edd]===0x1)_0x54d18a===-0x1&&(_0x54d18a=_0x5064ba);else{if(_0x416edd===0x22&&_0x54d18a!==-0x1)_0x1bbc8b=!0x1,_0x198c30=_0x5064ba;else{if(_0x416edd===0x5c)_0x37ed51=!0x0;else throw new SyntaxError(_0x51811c(0x23e)+_0x5064ba);}}}else{if(_0x416edd===0x22&&_0x373dd3[_0x51811c(0x25f)](_0x5064ba-0x1)===0x3d)_0x1bbc8b=!0x0;else{if(_0x198c30===-0x1&&_0x46dba1[_0x416edd]===0x1)_0x54d18a===-0x1&&(_0x54d18a=_0x5064ba);else{if(_0x54d18a!==-0x1&&(_0x416edd===0x20||_0x416edd===0x9))_0x198c30===-0x1&&(_0x198c30=_0x5064ba);else{if(_0x416edd===0x3b||_0x416edd===0x2c){if(_0x54d18a===-0x1)throw new SyntaxError(_0x51811c(0x23e)+_0x5064ba);_0x198c30===-0x1&&(_0x198c30=_0x5064ba);let _0xf7b0dd=_0x373dd3[_0x51811c(0x22a)](_0x54d18a,_0x198c30);_0x3f1d56&&(_0xf7b0dd=_0xf7b0dd[_0x51811c(0x1e7)](/\\/g,''),_0x3f1d56=!0x1),_0x6aa1be(_0x2303cf,_0x2ad1cf,_0xf7b0dd),_0x416edd===0x2c&&(_0x6aa1be(_0x2d29fa,_0x3a583f,_0x2303cf),_0x2303cf=Object[_0x51811c(0x204)](null),_0x3a583f=void 0x0),_0x2ad1cf=void 0x0,_0x54d18a=_0x198c30=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5064ba);}}}}}}}if(_0x54d18a===-0x1||_0x1bbc8b||_0x416edd===0x20||_0x416edd===0x9)throw new SyntaxError(_0x51811c(0x26e));_0x198c30===-0x1&&(_0x198c30=_0x5064ba);const _0x391a07=_0x373dd3[_0x51811c(0x22a)](_0x54d18a,_0x198c30);return _0x3a583f===void 0x0?_0x6aa1be(_0x2d29fa,_0x391a07,_0x2303cf):(_0x2ad1cf===void 0x0?_0x6aa1be(_0x2303cf,_0x391a07,!0x0):_0x3f1d56?_0x6aa1be(_0x2303cf,_0x2ad1cf,_0x391a07[_0x51811c(0x1e7)](/\\/g,'')):_0x6aa1be(_0x2303cf,_0x2ad1cf,_0x391a07),_0x6aa1be(_0x2d29fa,_0x3a583f,_0x2303cf)),_0x2d29fa;}function _0x3915df(_0x35151b){const _0x1a99ef=_0x50eb;return Object[_0x1a99ef(0x21c)](_0x35151b)['map'](_0x6ab956=>{const _0x6f1e8d=_0x1a99ef;let _0xca6642=_0x35151b[_0x6ab956];return Array[_0x6f1e8d(0x24c)](_0xca6642)||(_0xca6642=[_0xca6642]),_0xca6642['map'](_0x2d5020=>[_0x6ab956][_0x6f1e8d(0xf5)](Object[_0x6f1e8d(0x21c)](_0x2d5020)['map'](_0x189a51=>{const _0x246ba9=_0x6f1e8d;let _0x2da766=_0x2d5020[_0x189a51];return Array['isArray'](_0x2da766)||(_0x2da766=[_0x2da766]),_0x2da766[_0x246ba9(0x19c)](_0x5bd959=>_0x5bd959===!0x0?_0x189a51:_0x189a51+'='+_0x5bd959)['join'](';\x20');}))[_0x6f1e8d(0xf1)](';\x20'))[_0x6f1e8d(0xf1)](',\x20');})[_0x1a99ef(0xf1)](',\x20');}return be={'format':_0x3915df,'parse':_0x459b65},be;}var we,Je;function Pe(){const _0x3689ff=_0x480b46;if(Je)return we;Je=0x1;const _0x2f27dc=nt,_0x2cd734=vt,_0x527e69=ot,_0x44b212=St,_0x33884e=Et,{randomBytes:_0x5f7b9,createHash:_0x561885}=Le,{Duplex:_0x35e08e,Readable:_0x43ee2b}=oe,{URL:_0x56df05}=xt,_0x3713bc=he(),_0x56f039=lt(),_0x1a98be=ft(),{isBlob:_0x2bd77e}=ae(),{BINARY_TYPES:_0x17ba06,EMPTY_BUFFER:_0x35da4a,GUID:_0x53b676,kForOnEventAttribute:_0x110a46,kListener:_0xa4b610,kStatusCode:_0x49a09c,kWebSocket:_0xcd39de,NOOP:_0xd3b8a6}=H(),{EventTarget:{addEventListener:_0x290929,removeEventListener:_0x387cab}}=It(),{format:_0x3bd5b4,parse:_0x28d458}=ct(),{toBuffer:_0x23b2ea}=ce(),_0x5bad7a=0x1e*0x3e8,_0x4b5d84=Symbol('kAborted'),_0x47b4a8=[0x8,0xd],_0x54e187=[_0x3689ff(0xf4),_0x3689ff(0x21d),_0x3689ff(0x125),_0x3689ff(0x191)],_0x4ff633=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x17f0ac extends _0x2f27dc{constructor(_0x489103,_0x2f35da,_0x3260f0){const _0x302e5f=_0x3689ff;super(),this[_0x302e5f(0x27a)]=_0x17ba06[0x0],this[_0x302e5f(0x28b)]=0x3ee,this[_0x302e5f(0x18c)]=!0x1,this[_0x302e5f(0x1cb)]=!0x1,this[_0x302e5f(0x252)]=_0x35da4a,this[_0x302e5f(0x249)]=null,this[_0x302e5f(0x1a9)]=!0x1,this['_extensions']={},this[_0x302e5f(0xf7)]=!0x1,this['_protocol']='',this[_0x302e5f(0x11e)]=_0x17f0ac[_0x302e5f(0xf4)],this[_0x302e5f(0x1b4)]=null,this[_0x302e5f(0xed)]=null,this[_0x302e5f(0x1d8)]=null,_0x489103!==null?(this[_0x302e5f(0x1f1)]=0x0,this[_0x302e5f(0x1bd)]=!0x1,this[_0x302e5f(0x197)]=0x0,_0x2f35da===void 0x0?_0x2f35da=[]:Array[_0x302e5f(0x24c)](_0x2f35da)||(typeof _0x2f35da==_0x302e5f(0x195)&&_0x2f35da!==null?(_0x3260f0=_0x2f35da,_0x2f35da=[]):_0x2f35da=[_0x2f35da]),_0x56550c(this,_0x489103,_0x2f35da,_0x3260f0)):(this['_autoPong']=_0x3260f0[_0x302e5f(0x268)],this[_0x302e5f(0x1bd)]=!0x0);}get['binaryType'](){const _0x6a1e3b=_0x3689ff;return this[_0x6a1e3b(0x27a)];}set[_0x3689ff(0x211)](_0x1956ff){const _0x492744=_0x3689ff;_0x17ba06[_0x492744(0x232)](_0x1956ff)&&(this[_0x492744(0x27a)]=_0x1956ff,this[_0x492744(0x1b4)]&&(this[_0x492744(0x1b4)]['_binaryType']=_0x1956ff));}get['bufferedAmount'](){const _0x38653e=_0x3689ff;return this[_0x38653e(0x1d8)]?this[_0x38653e(0x1d8)][_0x38653e(0x116)]['length']+this[_0x38653e(0xed)][_0x38653e(0x223)]:this[_0x38653e(0x1f1)];}get[_0x3689ff(0x1ad)](){const _0x343f83=_0x3689ff;return Object[_0x343f83(0x21c)](this[_0x343f83(0xe8)])[_0x343f83(0xf1)]();}get[_0x3689ff(0x23d)](){return this['_paused'];}get[_0x3689ff(0x112)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x3689ff(0x1f3)](){const _0xc44673=_0x3689ff;return this[_0xc44673(0x26d)];}get[_0x3689ff(0x108)](){const _0x62b2ee=_0x3689ff;return this[_0x62b2ee(0x11e)];}get['url'](){const _0x28d2de=_0x3689ff;return this[_0x28d2de(0x1a5)];}[_0x3689ff(0x190)](_0x5db81e,_0x3ac8d8,_0x138480){const _0x5f0914=_0x3689ff,_0x574309=new _0x56f039({'allowSynchronousEvents':_0x138480[_0x5f0914(0x167)],'binaryType':this[_0x5f0914(0x211)],'extensions':this[_0x5f0914(0xe8)],'isServer':this['_isServer'],'maxPayload':_0x138480[_0x5f0914(0x1ab)],'skipUTF8Validation':_0x138480[_0x5f0914(0x18a)]}),_0x287038=new _0x1a98be(_0x5db81e,this['_extensions'],_0x138480[_0x5f0914(0x145)]);this[_0x5f0914(0x1b4)]=_0x574309,this['_sender']=_0x287038,this['_socket']=_0x5db81e,_0x574309[_0xcd39de]=this,_0x287038[_0xcd39de]=this,_0x5db81e[_0xcd39de]=this,_0x574309['on'](_0x5f0914(0x279),_0x3522dc),_0x574309['on'](_0x5f0914(0x175),_0x46a9e5),_0x574309['on']('error',_0x6280f6),_0x574309['on'](_0x5f0914(0xfa),_0x46d7e8),_0x574309['on'](_0x5f0914(0x1f5),_0xe154be),_0x574309['on']('pong',_0x57fd13),_0x287038['onerror']=_0x426e8b,_0x5db81e['setTimeout']&&_0x5db81e[_0x5f0914(0x188)](0x0),_0x5db81e[_0x5f0914(0x141)]&&_0x5db81e[_0x5f0914(0x141)](),_0x3ac8d8[_0x5f0914(0x205)]>0x0&&_0x5db81e['unshift'](_0x3ac8d8),_0x5db81e['on'](_0x5f0914(0x1a0),_0x3c9cac),_0x5db81e['on'](_0x5f0914(0x1b5),_0x599b9d),_0x5db81e['on'](_0x5f0914(0x1fa),_0x598cc9),_0x5db81e['on'](_0x5f0914(0x1e5),_0x379a68),this[_0x5f0914(0x11e)]=_0x17f0ac[_0x5f0914(0x21d)],this[_0x5f0914(0x1d9)](_0x5f0914(0x230));}[_0x3689ff(0xef)](){const _0x51e18a=_0x3689ff;if(!this[_0x51e18a(0x1d8)]){this[_0x51e18a(0x11e)]=_0x17f0ac['CLOSED'],this[_0x51e18a(0x1d9)](_0x51e18a(0x1a0),this[_0x51e18a(0x28b)],this[_0x51e18a(0x252)]);return;}this[_0x51e18a(0xe8)][_0x3713bc[_0x51e18a(0x276)]]&&this[_0x51e18a(0xe8)][_0x3713bc[_0x51e18a(0x276)]][_0x51e18a(0x217)](),this['_receiver']['removeAllListeners'](),this[_0x51e18a(0x11e)]=_0x17f0ac[_0x51e18a(0x191)],this[_0x51e18a(0x1d9)]('close',this[_0x51e18a(0x28b)],this[_0x51e18a(0x252)]);}[_0x3689ff(0x1a0)](_0x4a797a,_0x5e9c3c){const _0x2e4ee9=_0x3689ff;if(this[_0x2e4ee9(0x108)]!==_0x17f0ac[_0x2e4ee9(0x191)]){if(this['readyState']===_0x17f0ac[_0x2e4ee9(0xf4)]){_0x2c40c5(this,this[_0x2e4ee9(0xda)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x2e4ee9(0x108)]===_0x17f0ac['CLOSING']){this[_0x2e4ee9(0x1cb)]&&(this[_0x2e4ee9(0x18c)]||this[_0x2e4ee9(0x1b4)][_0x2e4ee9(0x116)][_0x2e4ee9(0x255)])&&this['_socket'][_0x2e4ee9(0x1fa)]();return;}this[_0x2e4ee9(0x11e)]=_0x17f0ac['CLOSING'],this[_0x2e4ee9(0xed)][_0x2e4ee9(0x1a0)](_0x4a797a,_0x5e9c3c,!this['_isServer'],_0x4cad89=>{const _0x3d4e0a=_0x2e4ee9;_0x4cad89||(this['_closeFrameSent']=!0x0,(this[_0x3d4e0a(0x18c)]||this['_receiver'][_0x3d4e0a(0x116)][_0x3d4e0a(0x255)])&&this[_0x3d4e0a(0x1d8)][_0x3d4e0a(0x1fa)]());}),_0x39293f(this);}}[_0x3689ff(0x235)](){const _0x5c06a4=_0x3689ff;this['readyState']===_0x17f0ac['CONNECTING']||this[_0x5c06a4(0x108)]===_0x17f0ac[_0x5c06a4(0x191)]||(this['_paused']=!0x0,this[_0x5c06a4(0x1d8)][_0x5c06a4(0x235)]());}['ping'](_0x2d831d,_0x522378,_0x368c10){const _0x5f09a6=_0x3689ff;if(this['readyState']===_0x17f0ac[_0x5f09a6(0xf4)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2d831d==_0x5f09a6(0xd2)?(_0x368c10=_0x2d831d,_0x2d831d=_0x522378=void 0x0):typeof _0x522378=='function'&&(_0x368c10=_0x522378,_0x522378=void 0x0),typeof _0x2d831d==_0x5f09a6(0x105)&&(_0x2d831d=_0x2d831d[_0x5f09a6(0x171)]()),this['readyState']!==_0x17f0ac[_0x5f09a6(0x21d)]){_0x460d3e(this,_0x2d831d,_0x368c10);return;}_0x522378===void 0x0&&(_0x522378=!this[_0x5f09a6(0x1bd)]),this['_sender'][_0x5f09a6(0x1f5)](_0x2d831d||_0x35da4a,_0x522378,_0x368c10);}[_0x3689ff(0x1de)](_0x515a57,_0x2887ee,_0x441a51){const _0x267635=_0x3689ff;if(this[_0x267635(0x108)]===_0x17f0ac[_0x267635(0xf4)])throw new Error(_0x267635(0x1b9));if(typeof _0x515a57==_0x267635(0xd2)?(_0x441a51=_0x515a57,_0x515a57=_0x2887ee=void 0x0):typeof _0x2887ee==_0x267635(0xd2)&&(_0x441a51=_0x2887ee,_0x2887ee=void 0x0),typeof _0x515a57=='number'&&(_0x515a57=_0x515a57['toString']()),this['readyState']!==_0x17f0ac['OPEN']){_0x460d3e(this,_0x515a57,_0x441a51);return;}_0x2887ee===void 0x0&&(_0x2887ee=!this[_0x267635(0x1bd)]),this[_0x267635(0xed)][_0x267635(0x1de)](_0x515a57||_0x35da4a,_0x2887ee,_0x441a51);}[_0x3689ff(0x11b)](){const _0x3e4f6f=_0x3689ff;this[_0x3e4f6f(0x108)]===_0x17f0ac[_0x3e4f6f(0xf4)]||this[_0x3e4f6f(0x108)]===_0x17f0ac[_0x3e4f6f(0x191)]||(this[_0x3e4f6f(0xf7)]=!0x1,this['_receiver'][_0x3e4f6f(0x116)][_0x3e4f6f(0x163)]||this[_0x3e4f6f(0x1d8)][_0x3e4f6f(0x11b)]());}[_0x3689ff(0x1f8)](_0x4e4d9e,_0x3df0e5,_0x3574ad){const _0x4bb710=_0x3689ff;if(this[_0x4bb710(0x108)]===_0x17f0ac[_0x4bb710(0xf4)])throw new Error(_0x4bb710(0x1b9));if(typeof _0x3df0e5==_0x4bb710(0xd2)&&(_0x3574ad=_0x3df0e5,_0x3df0e5={}),typeof _0x4e4d9e=='number'&&(_0x4e4d9e=_0x4e4d9e[_0x4bb710(0x171)]()),this['readyState']!==_0x17f0ac['OPEN']){_0x460d3e(this,_0x4e4d9e,_0x3574ad);return;}const _0x338423={'binary':typeof _0x4e4d9e!=_0x4bb710(0x22f),'mask':!this[_0x4bb710(0x1bd)],'compress':!0x0,'fin':!0x0,..._0x3df0e5};this[_0x4bb710(0xe8)][_0x3713bc[_0x4bb710(0x276)]]||(_0x338423['compress']=!0x1),this[_0x4bb710(0xed)][_0x4bb710(0x1f8)](_0x4e4d9e||_0x35da4a,_0x338423,_0x3574ad);}[_0x3689ff(0x15b)](){const _0x11923d=_0x3689ff;if(this[_0x11923d(0x108)]!==_0x17f0ac[_0x11923d(0x191)]){if(this[_0x11923d(0x108)]===_0x17f0ac[_0x11923d(0xf4)]){_0x2c40c5(this,this['_req'],_0x11923d(0x120));return;}this[_0x11923d(0x1d8)]&&(this['_readyState']=_0x17f0ac['CLOSING'],this[_0x11923d(0x1d8)][_0x11923d(0x161)]());}}}Object['defineProperty'](_0x17f0ac,_0x3689ff(0xf4),{'enumerable':!0x0,'value':_0x54e187[_0x3689ff(0x133)](_0x3689ff(0xf4))}),Object['defineProperty'](_0x17f0ac[_0x3689ff(0x12e)],'CONNECTING',{'enumerable':!0x0,'value':_0x54e187[_0x3689ff(0x133)]('CONNECTING')}),Object[_0x3689ff(0x1a8)](_0x17f0ac,'OPEN',{'enumerable':!0x0,'value':_0x54e187[_0x3689ff(0x133)](_0x3689ff(0x21d))}),Object['defineProperty'](_0x17f0ac[_0x3689ff(0x12e)],'OPEN',{'enumerable':!0x0,'value':_0x54e187[_0x3689ff(0x133)](_0x3689ff(0x21d))}),Object[_0x3689ff(0x1a8)](_0x17f0ac,_0x3689ff(0x125),{'enumerable':!0x0,'value':_0x54e187[_0x3689ff(0x133)](_0x3689ff(0x125))}),Object[_0x3689ff(0x1a8)](_0x17f0ac[_0x3689ff(0x12e)],'CLOSING',{'enumerable':!0x0,'value':_0x54e187[_0x3689ff(0x133)](_0x3689ff(0x125))}),Object[_0x3689ff(0x1a8)](_0x17f0ac,_0x3689ff(0x191),{'enumerable':!0x0,'value':_0x54e187[_0x3689ff(0x133)]('CLOSED')}),Object[_0x3689ff(0x1a8)](_0x17f0ac[_0x3689ff(0x12e)],_0x3689ff(0x191),{'enumerable':!0x0,'value':_0x54e187[_0x3689ff(0x133)](_0x3689ff(0x191))}),[_0x3689ff(0x211),_0x3689ff(0x1e0),_0x3689ff(0x1ad),_0x3689ff(0x23d),'protocol',_0x3689ff(0x108),_0x3689ff(0x21b)]['forEach'](_0x4ff459=>{const _0x5f0e5d=_0x3689ff;Object[_0x5f0e5d(0x1a8)](_0x17f0ac[_0x5f0e5d(0x12e)],_0x4ff459,{'enumerable':!0x0});}),['open',_0x3689ff(0x1e5),'close','message'][_0x3689ff(0xf6)](_0x404297=>{const _0xd7a777=_0x3689ff;Object[_0xd7a777(0x1a8)](_0x17f0ac[_0xd7a777(0x12e)],'on'+_0x404297,{'enumerable':!0x0,'get'(){const _0x1fa236=_0xd7a777;for(const _0x2173ba of this[_0x1fa236(0x19e)](_0x404297))if(_0x2173ba[_0x110a46])return _0x2173ba[_0xa4b610];return null;},'set'(_0x1b0381){const _0x131f99=_0xd7a777;for(const _0x3ffbdd of this[_0x131f99(0x19e)](_0x404297))if(_0x3ffbdd[_0x110a46]){this[_0x131f99(0x20d)](_0x404297,_0x3ffbdd);break;}typeof _0x1b0381==_0x131f99(0xd2)&&this[_0x131f99(0x140)](_0x404297,_0x1b0381,{[_0x110a46]:!0x0});}});}),_0x17f0ac[_0x3689ff(0x12e)][_0x3689ff(0x140)]=_0x290929,_0x17f0ac[_0x3689ff(0x12e)][_0x3689ff(0x206)]=_0x387cab,we=_0x17f0ac;function _0x56550c(_0x5aa353,_0x53846b,_0x4c4dda,_0xb12f32){const _0x298a7a=_0x3689ff,_0x219d6f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x47b4a8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xb12f32,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x298a7a(0x1f4),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5aa353['_autoPong']=_0x219d6f['autoPong'],!_0x47b4a8[_0x298a7a(0x232)](_0x219d6f[_0x298a7a(0x17d)]))throw new RangeError(_0x298a7a(0xff)+_0x219d6f[_0x298a7a(0x17d)]+_0x298a7a(0x154)+_0x47b4a8['join'](',\x20')+')');let _0x298593;if(_0x53846b instanceof _0x56df05)_0x298593=_0x53846b;else try{_0x298593=new _0x56df05(_0x53846b);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x53846b);}_0x298593[_0x298a7a(0x1f3)]===_0x298a7a(0x257)?_0x298593[_0x298a7a(0x1f3)]='ws:':_0x298593[_0x298a7a(0x1f3)]===_0x298a7a(0x146)&&(_0x298593[_0x298a7a(0x1f3)]='wss:'),_0x5aa353[_0x298a7a(0x1a5)]=_0x298593[_0x298a7a(0x19d)];const _0x2cc389=_0x298593[_0x298a7a(0x1f3)]===_0x298a7a(0x1fc),_0x22e3e6=_0x298593[_0x298a7a(0x1f3)]===_0x298a7a(0x1ed);let _0x3e400e;if(_0x298593[_0x298a7a(0x1f3)]!==_0x298a7a(0x10a)&&!_0x2cc389&&!_0x22e3e6?_0x3e400e=_0x298a7a(0x213):_0x22e3e6&&!_0x298593['pathname']?_0x3e400e=_0x298a7a(0xdf):_0x298593['hash']&&(_0x3e400e='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x3e400e){const _0x369792=new SyntaxError(_0x3e400e);if(_0x5aa353[_0x298a7a(0x197)]===0x0)throw _0x369792;_0x2ab970(_0x5aa353,_0x369792);return;}const _0x143cd5=_0x2cc389?0x1bb:0x50,_0xc5e8ed=_0x5f7b9(0x10)[_0x298a7a(0x171)](_0x298a7a(0x243)),_0x807ddc=_0x2cc389?_0x2cd734[_0x298a7a(0x1f0)]:_0x527e69[_0x298a7a(0x1f0)],_0x48caaa=new Set();let _0x1c8b1f;if(_0x219d6f[_0x298a7a(0xe2)]=_0x219d6f[_0x298a7a(0xe2)]||(_0x2cc389?_0x2713a2:_0x3cca6f),_0x219d6f['defaultPort']=_0x219d6f[_0x298a7a(0x290)]||_0x143cd5,_0x219d6f[_0x298a7a(0x247)]=_0x298593[_0x298a7a(0x247)]||_0x143cd5,_0x219d6f[_0x298a7a(0x185)]=_0x298593[_0x298a7a(0x144)][_0x298a7a(0x24f)]('[')?_0x298593[_0x298a7a(0x144)][_0x298a7a(0x22a)](0x1,-0x1):_0x298593[_0x298a7a(0x144)],_0x219d6f[_0x298a7a(0x15e)]={..._0x219d6f[_0x298a7a(0x15e)],'Sec-WebSocket-Version':_0x219d6f[_0x298a7a(0x17d)],'Sec-WebSocket-Key':_0xc5e8ed,'Connection':'Upgrade','Upgrade':_0x298a7a(0x285)},_0x219d6f['path']=_0x298593[_0x298a7a(0x130)]+_0x298593[_0x298a7a(0x254)],_0x219d6f[_0x298a7a(0x15f)]=_0x219d6f[_0x298a7a(0x272)],_0x219d6f['perMessageDeflate']&&(_0x1c8b1f=new _0x3713bc(_0x219d6f['perMessageDeflate']!==!0x0?_0x219d6f[_0x298a7a(0xee)]:{},!0x1,_0x219d6f[_0x298a7a(0x1ab)]),_0x219d6f[_0x298a7a(0x15e)][_0x298a7a(0x1b6)]=_0x3bd5b4({[_0x3713bc['extensionName']]:_0x1c8b1f['offer']()})),_0x4c4dda[_0x298a7a(0x205)]){for(const _0x4cee26 of _0x4c4dda){if(typeof _0x4cee26!=_0x298a7a(0x22f)||!_0x4ff633[_0x298a7a(0x15a)](_0x4cee26)||_0x48caaa[_0x298a7a(0x1ba)](_0x4cee26))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x48caaa['add'](_0x4cee26);}_0x219d6f[_0x298a7a(0x15e)]['Sec-WebSocket-Protocol']=_0x4c4dda[_0x298a7a(0xf1)](',');}if(_0x219d6f[_0x298a7a(0x1a4)]&&(_0x219d6f[_0x298a7a(0x17d)]<0xd?_0x219d6f[_0x298a7a(0x15e)]['Sec-WebSocket-Origin']=_0x219d6f['origin']:_0x219d6f['headers'][_0x298a7a(0x27b)]=_0x219d6f[_0x298a7a(0x1a4)]),(_0x298593['username']||_0x298593[_0x298a7a(0x256)])&&(_0x219d6f[_0x298a7a(0x1e1)]=_0x298593[_0x298a7a(0x244)]+':'+_0x298593['password']),_0x22e3e6){const _0x42960b=_0x219d6f[_0x298a7a(0x203)][_0x298a7a(0x192)](':');_0x219d6f[_0x298a7a(0x136)]=_0x42960b[0x0],_0x219d6f[_0x298a7a(0x203)]=_0x42960b[0x1];}let _0x57cd5d;if(_0x219d6f['followRedirects']){if(_0x5aa353[_0x298a7a(0x197)]===0x0){_0x5aa353[_0x298a7a(0x212)]=_0x22e3e6,_0x5aa353['_originalSecure']=_0x2cc389,_0x5aa353[_0x298a7a(0x231)]=_0x22e3e6?_0x219d6f[_0x298a7a(0x136)]:_0x298593['host'];const _0x20799d=_0xb12f32&&_0xb12f32[_0x298a7a(0x15e)];if(_0xb12f32={..._0xb12f32,'headers':{}},_0x20799d){for(const [_0x3c6efa,_0x41e3d5]of Object['entries'](_0x20799d))_0xb12f32[_0x298a7a(0x15e)][_0x3c6efa['toLowerCase']()]=_0x41e3d5;}}else{if(_0x5aa353[_0x298a7a(0x151)](_0x298a7a(0x1c2))===0x0){const _0x1d5f41=_0x22e3e6?_0x5aa353[_0x298a7a(0x212)]?_0x219d6f[_0x298a7a(0x136)]===_0x5aa353['_originalHostOrSocketPath']:!0x1:_0x5aa353[_0x298a7a(0x212)]?!0x1:_0x298593[_0x298a7a(0x185)]===_0x5aa353['_originalHostOrSocketPath'];(!_0x1d5f41||_0x5aa353[_0x298a7a(0x14d)]&&!_0x2cc389)&&(delete _0x219d6f[_0x298a7a(0x15e)][_0x298a7a(0x260)],delete _0x219d6f['headers'][_0x298a7a(0x23c)],_0x1d5f41||delete _0x219d6f['headers']['host'],_0x219d6f[_0x298a7a(0x1e1)]=void 0x0);}}_0x219d6f[_0x298a7a(0x1e1)]&&!_0xb12f32['headers'][_0x298a7a(0x260)]&&(_0xb12f32['headers']['authorization']=_0x298a7a(0x23b)+Buffer['from'](_0x219d6f[_0x298a7a(0x1e1)])['toString'](_0x298a7a(0x243))),_0x57cd5d=_0x5aa353['_req']=_0x807ddc(_0x219d6f),_0x5aa353[_0x298a7a(0x197)]&&_0x5aa353[_0x298a7a(0x1d9)](_0x298a7a(0x1c2),_0x5aa353[_0x298a7a(0x21b)],_0x57cd5d);}else _0x57cd5d=_0x5aa353['_req']=_0x807ddc(_0x219d6f);_0x219d6f[_0x298a7a(0x15f)]&&_0x57cd5d['on']('timeout',()=>{const _0x3dbbfa=_0x298a7a;_0x2c40c5(_0x5aa353,_0x57cd5d,_0x3dbbfa(0x208));}),_0x57cd5d['on']('error',_0x3f5d48=>{const _0x2e6e0b=_0x298a7a;_0x57cd5d===null||_0x57cd5d[_0x4b5d84]||(_0x57cd5d=_0x5aa353[_0x2e6e0b(0xda)]=null,_0x2ab970(_0x5aa353,_0x3f5d48));}),_0x57cd5d['on'](_0x298a7a(0x159),_0x35bea6=>{const _0x24f36c=_0x298a7a,_0x352929=_0x35bea6['headers'][_0x24f36c(0x12a)],_0x1a49e1=_0x35bea6[_0x24f36c(0x1dd)];if(_0x352929&&_0x219d6f['followRedirects']&&_0x1a49e1>=0x12c&&_0x1a49e1<0x190){if(++_0x5aa353[_0x24f36c(0x197)]>_0x219d6f['maxRedirects']){_0x2c40c5(_0x5aa353,_0x57cd5d,_0x24f36c(0x25b));return;}_0x57cd5d['abort']();let _0x3fdfbf;try{_0x3fdfbf=new _0x56df05(_0x352929,_0x53846b);}catch{const _0xee1dec=new SyntaxError('Invalid\x20URL:\x20'+_0x352929);_0x2ab970(_0x5aa353,_0xee1dec);return;}_0x56550c(_0x5aa353,_0x3fdfbf,_0x4c4dda,_0xb12f32);}else _0x5aa353[_0x24f36c(0x1d9)]('unexpected-response',_0x57cd5d,_0x35bea6)||_0x2c40c5(_0x5aa353,_0x57cd5d,_0x24f36c(0x286)+_0x35bea6[_0x24f36c(0x1dd)]);}),_0x57cd5d['on'](_0x298a7a(0x157),(_0x391679,_0x11e579,_0x4961b2)=>{const _0x181b04=_0x298a7a;if(_0x5aa353['emit']('upgrade',_0x391679),_0x5aa353[_0x181b04(0x108)]!==_0x17f0ac[_0x181b04(0xf4)])return;_0x57cd5d=_0x5aa353[_0x181b04(0xda)]=null;const _0x18fb21=_0x391679[_0x181b04(0x15e)][_0x181b04(0x157)];if(_0x18fb21===void 0x0||_0x18fb21[_0x181b04(0x119)]()!==_0x181b04(0x285)){_0x2c40c5(_0x5aa353,_0x11e579,'Invalid\x20Upgrade\x20header');return;}const _0x17eade=_0x561885(_0x181b04(0x215))[_0x181b04(0x1d2)](_0xc5e8ed+_0x53b676)[_0x181b04(0x271)](_0x181b04(0x243));if(_0x391679[_0x181b04(0x15e)][_0x181b04(0x1e6)]!==_0x17eade){_0x2c40c5(_0x5aa353,_0x11e579,_0x181b04(0x1ea));return;}const _0x294114=_0x391679[_0x181b04(0x15e)][_0x181b04(0x1e4)];let _0x481d84;if(_0x294114!==void 0x0?_0x48caaa[_0x181b04(0xe6)]?_0x48caaa[_0x181b04(0x1ba)](_0x294114)||(_0x481d84=_0x181b04(0x1e2)):_0x481d84=_0x181b04(0x143):_0x48caaa['size']&&(_0x481d84=_0x181b04(0x1c6)),_0x481d84){_0x2c40c5(_0x5aa353,_0x11e579,_0x481d84);return;}_0x294114&&(_0x5aa353[_0x181b04(0x26d)]=_0x294114);const _0x2a0ea7=_0x391679[_0x181b04(0x15e)][_0x181b04(0x1c7)];if(_0x2a0ea7!==void 0x0){if(!_0x1c8b1f){_0x2c40c5(_0x5aa353,_0x11e579,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x320d6b;try{_0x320d6b=_0x28d458(_0x2a0ea7);}catch{_0x2c40c5(_0x5aa353,_0x11e579,_0x181b04(0x28e));return;}const _0x227c6b=Object[_0x181b04(0x21c)](_0x320d6b);if(_0x227c6b[_0x181b04(0x205)]!==0x1||_0x227c6b[0x0]!==_0x3713bc[_0x181b04(0x276)]){_0x2c40c5(_0x5aa353,_0x11e579,_0x181b04(0x287));return;}try{_0x1c8b1f[_0x181b04(0x115)](_0x320d6b[_0x3713bc['extensionName']]);}catch{_0x2c40c5(_0x5aa353,_0x11e579,_0x181b04(0x28e));return;}_0x5aa353[_0x181b04(0xe8)][_0x3713bc[_0x181b04(0x276)]]=_0x1c8b1f;}_0x5aa353[_0x181b04(0x190)](_0x11e579,_0x4961b2,{'allowSynchronousEvents':_0x219d6f[_0x181b04(0x167)],'generateMask':_0x219d6f['generateMask'],'maxPayload':_0x219d6f[_0x181b04(0x1ab)],'skipUTF8Validation':_0x219d6f[_0x181b04(0x18a)]});}),_0x219d6f[_0x298a7a(0x149)]?_0x219d6f[_0x298a7a(0x149)](_0x57cd5d,_0x5aa353):_0x57cd5d[_0x298a7a(0x1fa)]();}function _0x2ab970(_0x3e3317,_0x33ca03){const _0x470b75=_0x3689ff;_0x3e3317[_0x470b75(0x11e)]=_0x17f0ac[_0x470b75(0x125)],_0x3e3317[_0x470b75(0x1a9)]=!0x0,_0x3e3317[_0x470b75(0x1d9)](_0x470b75(0x1e5),_0x33ca03),_0x3e3317[_0x470b75(0xef)]();}function _0x3cca6f(_0xff04ae){const _0x47a9b2=_0x3689ff;return _0xff04ae[_0x47a9b2(0x203)]=_0xff04ae[_0x47a9b2(0x136)],_0x44b212['connect'](_0xff04ae);}function _0x2713a2(_0x116200){const _0x204277=_0x3689ff;return _0x116200[_0x204277(0x203)]=void 0x0,!_0x116200[_0x204277(0x281)]&&_0x116200[_0x204277(0x281)]!==''&&(_0x116200['servername']=_0x44b212[_0x204277(0x15d)](_0x116200['host'])?'':_0x116200[_0x204277(0x185)]),_0x33884e[_0x204277(0x1ef)](_0x116200);}function _0x2c40c5(_0x4ee550,_0xfe99ff,_0x55c7f5){const _0x3af8d2=_0x3689ff;_0x4ee550[_0x3af8d2(0x11e)]=_0x17f0ac[_0x3af8d2(0x125)];const _0x4b2b2f=new Error(_0x55c7f5);Error[_0x3af8d2(0x224)](_0x4b2b2f,_0x2c40c5),_0xfe99ff[_0x3af8d2(0x1a3)]?(_0xfe99ff[_0x4b5d84]=!0x0,_0xfe99ff['abort'](),_0xfe99ff['socket']&&!_0xfe99ff[_0x3af8d2(0x158)][_0x3af8d2(0x142)]&&_0xfe99ff[_0x3af8d2(0x158)][_0x3af8d2(0x161)](),process[_0x3af8d2(0x139)](_0x2ab970,_0x4ee550,_0x4b2b2f)):(_0xfe99ff[_0x3af8d2(0x161)](_0x4b2b2f),_0xfe99ff['once']('error',_0x4ee550[_0x3af8d2(0x1d9)][_0x3af8d2(0xe5)](_0x4ee550,_0x3af8d2(0x1e5))),_0xfe99ff[_0x3af8d2(0xfd)](_0x3af8d2(0x1a0),_0x4ee550[_0x3af8d2(0xef)][_0x3af8d2(0xe5)](_0x4ee550)));}function _0x460d3e(_0x3b0ad5,_0x230611,_0x1dd909){const _0x664aa1=_0x3689ff;if(_0x230611){const _0x5555b0=_0x2bd77e(_0x230611)?_0x230611[_0x664aa1(0xe6)]:_0x23b2ea(_0x230611)[_0x664aa1(0x205)];_0x3b0ad5['_socket']?_0x3b0ad5['_sender'][_0x664aa1(0x223)]+=_0x5555b0:_0x3b0ad5[_0x664aa1(0x1f1)]+=_0x5555b0;}if(_0x1dd909){const _0x2ad185=new Error(_0x664aa1(0x11a)+_0x3b0ad5['readyState']+'\x20('+_0x54e187[_0x3b0ad5[_0x664aa1(0x108)]]+')');process[_0x664aa1(0x139)](_0x1dd909,_0x2ad185);}}function _0x3522dc(_0x1a7a1a,_0x84d858){const _0x59cee9=_0x3689ff,_0x2d88a7=this[_0xcd39de];_0x2d88a7[_0x59cee9(0x18c)]=!0x0,_0x2d88a7[_0x59cee9(0x252)]=_0x84d858,_0x2d88a7['_closeCode']=_0x1a7a1a,_0x2d88a7['_socket'][_0xcd39de]!==void 0x0&&(_0x2d88a7[_0x59cee9(0x1d8)][_0x59cee9(0x20d)](_0x59cee9(0x1b5),_0x599b9d),process[_0x59cee9(0x139)](_0xd3affa,_0x2d88a7[_0x59cee9(0x1d8)]),_0x1a7a1a===0x3ed?_0x2d88a7[_0x59cee9(0x1a0)]():_0x2d88a7['close'](_0x1a7a1a,_0x84d858));}function _0x46a9e5(){const _0x52c14c=_0x3689ff,_0x416bb9=this[_0xcd39de];_0x416bb9[_0x52c14c(0x23d)]||_0x416bb9[_0x52c14c(0x1d8)][_0x52c14c(0x11b)]();}function _0x6280f6(_0x5d0e1c){const _0x3b2044=_0x3689ff,_0x3dfb6b=this[_0xcd39de];_0x3dfb6b[_0x3b2044(0x1d8)][_0xcd39de]!==void 0x0&&(_0x3dfb6b[_0x3b2044(0x1d8)][_0x3b2044(0x20d)](_0x3b2044(0x1b5),_0x599b9d),process[_0x3b2044(0x139)](_0xd3affa,_0x3dfb6b[_0x3b2044(0x1d8)]),_0x3dfb6b[_0x3b2044(0x1a0)](_0x5d0e1c[_0x49a09c])),_0x3dfb6b[_0x3b2044(0x1a9)]||(_0x3dfb6b[_0x3b2044(0x1a9)]=!0x0,_0x3dfb6b[_0x3b2044(0x1d9)]('error',_0x5d0e1c));}function _0x222fc6(){const _0x422e06=_0x3689ff;this[_0xcd39de][_0x422e06(0xef)]();}function _0x46d7e8(_0x421afb,_0x108bd1){const _0x14609b=_0x3689ff;this[_0xcd39de][_0x14609b(0x1d9)]('message',_0x421afb,_0x108bd1);}function _0xe154be(_0x35e341){const _0x5356c1=_0x3689ff,_0x27e34c=this[_0xcd39de];_0x27e34c[_0x5356c1(0x1ec)]&&_0x27e34c[_0x5356c1(0x1de)](_0x35e341,!this[_0x5356c1(0x1bd)],_0xd3b8a6),_0x27e34c[_0x5356c1(0x1d9)](_0x5356c1(0x1f5),_0x35e341);}function _0x57fd13(_0x900ac0){const _0x57ee1d=_0x3689ff;this[_0xcd39de][_0x57ee1d(0x1d9)]('pong',_0x900ac0);}function _0xd3affa(_0x462027){const _0x3bf8ef=_0x3689ff;_0x462027[_0x3bf8ef(0x11b)]();}function _0x426e8b(_0x2769a4){const _0x2b09f2=_0x3689ff,_0x35e5dd=this[_0xcd39de];_0x35e5dd['readyState']!==_0x17f0ac[_0x2b09f2(0x191)]&&(_0x35e5dd['readyState']===_0x17f0ac['OPEN']&&(_0x35e5dd[_0x2b09f2(0x11e)]=_0x17f0ac[_0x2b09f2(0x125)],_0x39293f(_0x35e5dd)),this['_socket'][_0x2b09f2(0x1fa)](),_0x35e5dd[_0x2b09f2(0x1a9)]||(_0x35e5dd[_0x2b09f2(0x1a9)]=!0x0,_0x35e5dd['emit'](_0x2b09f2(0x1e5),_0x2769a4)));}function _0x39293f(_0x35a83c){const _0x1839d6=_0x3689ff;_0x35a83c[_0x1839d6(0x249)]=setTimeout(_0x35a83c['_socket'][_0x1839d6(0x161)]['bind'](_0x35a83c['_socket']),_0x5bad7a);}function _0x3c9cac(){const _0x74c35d=_0x3689ff,_0x3e644c=this[_0xcd39de];this[_0x74c35d(0x20d)](_0x74c35d(0x1a0),_0x3c9cac),this['removeListener'](_0x74c35d(0x1b5),_0x599b9d),this['removeListener'](_0x74c35d(0x1fa),_0x598cc9),_0x3e644c['_readyState']=_0x17f0ac[_0x74c35d(0x125)];let _0x9e6d1c;!this[_0x74c35d(0x1b8)][_0x74c35d(0x19f)]&&!_0x3e644c[_0x74c35d(0x18c)]&&!_0x3e644c[_0x74c35d(0x1b4)][_0x74c35d(0x116)][_0x74c35d(0x255)]&&(_0x9e6d1c=_0x3e644c[_0x74c35d(0x1d8)][_0x74c35d(0x106)]())!==null&&_0x3e644c[_0x74c35d(0x1b4)][_0x74c35d(0x25d)](_0x9e6d1c),_0x3e644c[_0x74c35d(0x1b4)][_0x74c35d(0x1fa)](),this[_0xcd39de]=void 0x0,clearTimeout(_0x3e644c[_0x74c35d(0x249)]),_0x3e644c[_0x74c35d(0x1b4)][_0x74c35d(0x116)][_0x74c35d(0x20b)]||_0x3e644c[_0x74c35d(0x1b4)]['_writableState'][_0x74c35d(0x255)]?_0x3e644c[_0x74c35d(0xef)]():(_0x3e644c['_receiver']['on'](_0x74c35d(0x1e5),_0x222fc6),_0x3e644c[_0x74c35d(0x1b4)]['on']('finish',_0x222fc6));}function _0x599b9d(_0x4bcb8d){this[_0xcd39de]['_receiver']['write'](_0x4bcb8d)||this['pause']();}function _0x598cc9(){const _0x38eacb=_0x3689ff,_0xfd090c=this[_0xcd39de];_0xfd090c[_0x38eacb(0x11e)]=_0x17f0ac[_0x38eacb(0x125)],_0xfd090c[_0x38eacb(0x1b4)][_0x38eacb(0x1fa)](),this[_0x38eacb(0x1fa)]();}function _0x379a68(){const _0x2a1ba2=_0x3689ff,_0x40fe12=this[_0xcd39de];this[_0x2a1ba2(0x20d)](_0x2a1ba2(0x1e5),_0x379a68),this['on']('error',_0xd3b8a6),_0x40fe12&&(_0x40fe12[_0x2a1ba2(0x11e)]=_0x17f0ac[_0x2a1ba2(0x125)],this[_0x2a1ba2(0x161)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xc3a82b}=oe;function _0x25facd(_0x2a74c0){const _0x4303e5=_0x50eb;_0x2a74c0['emit'](_0x4303e5(0x1a0));}function _0x3d4901(){const _0x265a1e=_0x50eb;!this['destroyed']&&this['_writableState']['finished']&&this[_0x265a1e(0x161)]();}function _0x2d179a(_0x5afc5d){const _0x5d619f=_0x50eb;this['removeListener'](_0x5d619f(0x1e5),_0x2d179a),this['destroy'](),this[_0x5d619f(0x151)](_0x5d619f(0x1e5))===0x0&&this['emit'](_0x5d619f(0x1e5),_0x5afc5d);}function _0x2b2bf1(_0x270953,_0x81f0ee){const _0x461dbc=_0x50eb;let _0x341e1f=!0x0;const _0xb11d60=new _0xc3a82b({..._0x81f0ee,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x270953['on']('message',function(_0x2c6565,_0x15ee0d){const _0x1f3ff6=_0x50eb,_0x49efe2=!_0x15ee0d&&_0xb11d60['_readableState']['objectMode']?_0x2c6565[_0x1f3ff6(0x171)]():_0x2c6565;_0xb11d60[_0x1f3ff6(0x27e)](_0x49efe2)||_0x270953[_0x1f3ff6(0x235)]();}),_0x270953[_0x461dbc(0xfd)](_0x461dbc(0x1e5),function(_0x2960c1){_0xb11d60['destroyed']||(_0x341e1f=!0x1,_0xb11d60['destroy'](_0x2960c1));}),_0x270953[_0x461dbc(0xfd)](_0x461dbc(0x1a0),function(){const _0x90c5d2=_0x461dbc;_0xb11d60[_0x90c5d2(0x142)]||_0xb11d60[_0x90c5d2(0x27e)](null);}),_0xb11d60[_0x461dbc(0x17a)]=function(_0x45bb51,_0x1a283c){const _0x32d940=_0x461dbc;if(_0x270953[_0x32d940(0x108)]===_0x270953[_0x32d940(0x191)]){_0x1a283c(_0x45bb51),process[_0x32d940(0x139)](_0x25facd,_0xb11d60);return;}let _0x209bf=!0x1;_0x270953[_0x32d940(0xfd)](_0x32d940(0x1e5),function(_0x582564){_0x209bf=!0x0,_0x1a283c(_0x582564);}),_0x270953[_0x32d940(0xfd)](_0x32d940(0x1a0),function(){const _0x3a81c6=_0x32d940;_0x209bf||_0x1a283c(_0x45bb51),process[_0x3a81c6(0x139)](_0x25facd,_0xb11d60);}),_0x341e1f&&_0x270953['terminate']();},_0xb11d60[_0x461dbc(0x253)]=function(_0x302f62){const _0x3fbd7d=_0x461dbc;if(_0x270953['readyState']===_0x270953[_0x3fbd7d(0xf4)]){_0x270953[_0x3fbd7d(0xfd)](_0x3fbd7d(0x230),function(){const _0x5829f9=_0x3fbd7d;_0xb11d60[_0x5829f9(0x253)](_0x302f62);});return;}_0x270953[_0x3fbd7d(0x1d8)]!==null&&(_0x270953['_socket'][_0x3fbd7d(0x116)][_0x3fbd7d(0x20b)]?(_0x302f62(),_0xb11d60[_0x3fbd7d(0x1b8)][_0x3fbd7d(0x19f)]&&_0xb11d60['destroy']()):(_0x270953[_0x3fbd7d(0x1d8)][_0x3fbd7d(0xfd)](_0x3fbd7d(0x18e),function(){_0x302f62();}),_0x270953[_0x3fbd7d(0x1a0)]()));},_0xb11d60[_0x461dbc(0x1df)]=function(){const _0x30fa27=_0x461dbc;_0x270953[_0x30fa27(0x23d)]&&_0x270953[_0x30fa27(0x11b)]();},_0xb11d60[_0x461dbc(0x275)]=function(_0x38e001,_0xf44274,_0x216323){const _0x29c240=_0x461dbc;if(_0x270953[_0x29c240(0x108)]===_0x270953[_0x29c240(0xf4)]){_0x270953[_0x29c240(0xfd)](_0x29c240(0x230),function(){_0xb11d60['_write'](_0x38e001,_0xf44274,_0x216323);});return;}_0x270953[_0x29c240(0x1f8)](_0x38e001,_0x216323);},_0xb11d60['on'](_0x461dbc(0x1fa),_0x3d4901),_0xb11d60['on'](_0x461dbc(0x1e5),_0x2d179a),_0xb11d60;}return Oe=_0x2b2bf1,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x296c2b}=ae();function _0x24412a(_0x5cf116){const _0x2e1696=_0x50eb,_0x5e69a2=new Set();let _0xce96bb=-0x1,_0x4bb3db=-0x1,_0x568ba2=0x0;for(_0x568ba2;_0x568ba2<_0x5cf116[_0x2e1696(0x205)];_0x568ba2++){const _0x437bce=_0x5cf116[_0x2e1696(0x25f)](_0x568ba2);if(_0x4bb3db===-0x1&&_0x296c2b[_0x437bce]===0x1)_0xce96bb===-0x1&&(_0xce96bb=_0x568ba2);else{if(_0x568ba2!==0x0&&(_0x437bce===0x20||_0x437bce===0x9))_0x4bb3db===-0x1&&_0xce96bb!==-0x1&&(_0x4bb3db=_0x568ba2);else{if(_0x437bce===0x2c){if(_0xce96bb===-0x1)throw new SyntaxError(_0x2e1696(0x23e)+_0x568ba2);_0x4bb3db===-0x1&&(_0x4bb3db=_0x568ba2);const _0x3c5dca=_0x5cf116['slice'](_0xce96bb,_0x4bb3db);if(_0x5e69a2[_0x2e1696(0x1ba)](_0x3c5dca))throw new SyntaxError('The\x20\x22'+_0x3c5dca+_0x2e1696(0x121));_0x5e69a2[_0x2e1696(0x20c)](_0x3c5dca),_0xce96bb=_0x4bb3db=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x568ba2);}}}if(_0xce96bb===-0x1||_0x4bb3db!==-0x1)throw new SyntaxError(_0x2e1696(0x26e));const _0x7fff90=_0x5cf116[_0x2e1696(0x22a)](_0xce96bb,_0x568ba2);if(_0x5e69a2[_0x2e1696(0x1ba)](_0x7fff90))throw new SyntaxError(_0x2e1696(0x258)+_0x7fff90+_0x2e1696(0x121));return _0x5e69a2[_0x2e1696(0x20c)](_0x7fff90),_0x5e69a2;}return Ce={'parse':_0x24412a},Ce;}var Te,rt;function Ft(){const _0xef0f2c=_0x480b46;if(rt)return Te;rt=0x1;const _0x25dc17=nt,_0x543d4a=ot,{Duplex:_0x52a215}=oe,{createHash:_0x31dc5f}=Le,_0x28fd3b=ct(),_0x3a76=he(),_0xd84b8e=At(),_0x22bbf5=Pe(),{GUID:_0x16be7d,kWebSocket:_0x55fde4}=H(),_0xfaa64c=/^[+/0-9A-Za-z]{22}==$/,_0x15a007=0x0,_0xaa9e34=0x1,_0x21d75a=0x2;class _0x56c1a2 extends _0x25dc17{constructor(_0x47613f,_0x4e7377){const _0x39031b=_0x50eb;if(super(),_0x47613f={'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':_0x22bbf5,..._0x47613f},_0x47613f['port']==null&&!_0x47613f[_0x39031b(0x20a)]&&!_0x47613f[_0x39031b(0x1af)]||_0x47613f[_0x39031b(0x247)]!=null&&(_0x47613f[_0x39031b(0x20a)]||_0x47613f['noServer'])||_0x47613f[_0x39031b(0x20a)]&&_0x47613f[_0x39031b(0x1af)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x47613f['port']!=null?(this[_0x39031b(0x24a)]=_0x543d4a[_0x39031b(0x10b)]((_0x497dae,_0x33cea9)=>{const _0x3bea4f=_0x39031b,_0x17bfdd=_0x543d4a[_0x3bea4f(0x12f)][0x1aa];_0x33cea9[_0x3bea4f(0x147)](0x1aa,{'Content-Length':_0x17bfdd['length'],'Content-Type':_0x3bea4f(0x109)}),_0x33cea9[_0x3bea4f(0x1fa)](_0x17bfdd);}),this[_0x39031b(0x24a)][_0x39031b(0xdd)](_0x47613f[_0x39031b(0x247)],_0x47613f[_0x39031b(0x185)],_0x47613f['backlog'],_0x4e7377)):_0x47613f[_0x39031b(0x20a)]&&(this[_0x39031b(0x24a)]=_0x47613f[_0x39031b(0x20a)]),this['_server']){const _0x24f9ee=this[_0x39031b(0x1d9)][_0x39031b(0xe5)](this,_0x39031b(0x278));this['_removeListeners']=_0x5e7330(this[_0x39031b(0x24a)],{'listening':this['emit']['bind'](this,'listening'),'error':this[_0x39031b(0x1d9)]['bind'](this,'error'),'upgrade':(_0x4b3e80,_0x3b6e4b,_0x2568b9)=>{const _0x3a2333=_0x39031b;this[_0x3a2333(0x17f)](_0x4b3e80,_0x3b6e4b,_0x2568b9,_0x24f9ee);}});}_0x47613f[_0x39031b(0xee)]===!0x0&&(_0x47613f[_0x39031b(0xee)]={}),_0x47613f['clientTracking']&&(this[_0x39031b(0x261)]=new Set(),this[_0x39031b(0x12d)]=!0x1),this[_0x39031b(0xe4)]=_0x47613f,this[_0x39031b(0xf3)]=_0x15a007;}[_0xef0f2c(0x104)](){const _0x56275e=_0xef0f2c;if(this[_0x56275e(0xe4)][_0x56275e(0x1af)])throw new Error(_0x56275e(0xde));return this['_server']?this[_0x56275e(0x24a)][_0x56275e(0x104)]():null;}[_0xef0f2c(0x1a0)](_0x514ff4){const _0x5f9e32=_0xef0f2c;if(this[_0x5f9e32(0xf3)]===_0x21d75a){_0x514ff4&&this[_0x5f9e32(0xfd)]('close',()=>{_0x514ff4(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x5f9e32(0x139)](_0x5dd678,this);return;}if(_0x514ff4&&this[_0x5f9e32(0xfd)](_0x5f9e32(0x1a0),_0x514ff4),this['_state']!==_0xaa9e34){if(this['_state']=_0xaa9e34,this[_0x5f9e32(0xe4)][_0x5f9e32(0x1af)]||this[_0x5f9e32(0xe4)][_0x5f9e32(0x20a)])this['_server']&&(this['_removeListeners'](),this['_removeListeners']=this[_0x5f9e32(0x24a)]=null),this[_0x5f9e32(0x261)]?this[_0x5f9e32(0x261)]['size']?this[_0x5f9e32(0x12d)]=!0x0:process[_0x5f9e32(0x139)](_0x5dd678,this):process[_0x5f9e32(0x139)](_0x5dd678,this);else{const _0x44273f=this['_server'];this['_removeListeners'](),this[_0x5f9e32(0x221)]=this[_0x5f9e32(0x24a)]=null,_0x44273f['close'](()=>{_0x5dd678(this);});}}}[_0xef0f2c(0x1da)](_0x4a7b3d){const _0xab726e=_0xef0f2c;if(this['options'][_0xab726e(0x203)]){const _0x503488=_0x4a7b3d[_0xab726e(0x21b)][_0xab726e(0x133)]('?');if((_0x503488!==-0x1?_0x4a7b3d[_0xab726e(0x21b)]['slice'](0x0,_0x503488):_0x4a7b3d['url'])!==this[_0xab726e(0xe4)][_0xab726e(0x203)])return!0x1;}return!0x0;}[_0xef0f2c(0x17f)](_0x4c1a8c,_0x3f8292,_0x1799b5,_0x10246d){const _0x531e03=_0xef0f2c;_0x3f8292['on'](_0x531e03(0x1e5),_0x488a1a);const _0x451578=_0x4c1a8c['headers'][_0x531e03(0x1a1)],_0x222737=_0x4c1a8c['headers'][_0x531e03(0x157)],_0x3e355f=+_0x4c1a8c[_0x531e03(0x15e)][_0x531e03(0x152)];if(_0x4c1a8c['method']!=='GET'){_0x3f8589(this,_0x4c1a8c,_0x3f8292,0x195,_0x531e03(0x1db));return;}if(_0x222737===void 0x0||_0x222737[_0x531e03(0x119)]()!==_0x531e03(0x285)){_0x3f8589(this,_0x4c1a8c,_0x3f8292,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x451578===void 0x0||!_0xfaa64c['test'](_0x451578)){_0x3f8589(this,_0x4c1a8c,_0x3f8292,0x190,_0x531e03(0x1e8));return;}if(_0x3e355f!==0x8&&_0x3e355f!==0xd){_0x3f8589(this,_0x4c1a8c,_0x3f8292,0x190,_0x531e03(0x178));return;}if(!this[_0x531e03(0x1da)](_0x4c1a8c)){_0x368e6a(_0x3f8292,0x190);return;}const _0x91ffe8=_0x4c1a8c[_0x531e03(0x15e)]['sec-websocket-protocol'];let _0x35c10f=new Set();if(_0x91ffe8!==void 0x0)try{_0x35c10f=_0xd84b8e[_0x531e03(0x19b)](_0x91ffe8);}catch{_0x3f8589(this,_0x4c1a8c,_0x3f8292,0x190,_0x531e03(0x184));return;}const _0x252a2e=_0x4c1a8c[_0x531e03(0x15e)][_0x531e03(0x1c7)],_0x539d09={};if(this['options'][_0x531e03(0xee)]&&_0x252a2e!==void 0x0){const _0x240d7a=new _0x3a76(this[_0x531e03(0xe4)][_0x531e03(0xee)],!0x0,this[_0x531e03(0xe4)][_0x531e03(0x1ab)]);try{const _0x216dd3=_0x28fd3b['parse'](_0x252a2e);_0x216dd3[_0x3a76[_0x531e03(0x276)]]&&(_0x240d7a[_0x531e03(0x115)](_0x216dd3[_0x3a76[_0x531e03(0x276)]]),_0x539d09[_0x3a76['extensionName']]=_0x240d7a);}catch{_0x3f8589(this,_0x4c1a8c,_0x3f8292,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x531e03(0xe4)]['verifyClient']){const _0x4f7af6={'origin':_0x4c1a8c['headers'][''+(_0x3e355f===0x8?_0x531e03(0x18b):_0x531e03(0x1a4))],'secure':!!(_0x4c1a8c[_0x531e03(0x158)][_0x531e03(0x138)]||_0x4c1a8c[_0x531e03(0x158)][_0x531e03(0x189)]),'req':_0x4c1a8c};if(this[_0x531e03(0xe4)][_0x531e03(0x22b)][_0x531e03(0x205)]===0x2){this[_0x531e03(0xe4)][_0x531e03(0x22b)](_0x4f7af6,(_0x5ea631,_0x2cef40,_0x2ab097,_0x2468ac)=>{const _0xf5b213=_0x531e03;if(!_0x5ea631)return _0x368e6a(_0x3f8292,_0x2cef40||0x191,_0x2ab097,_0x2468ac);this[_0xf5b213(0x291)](_0x539d09,_0x451578,_0x35c10f,_0x4c1a8c,_0x3f8292,_0x1799b5,_0x10246d);});return;}if(!this[_0x531e03(0xe4)][_0x531e03(0x22b)](_0x4f7af6))return _0x368e6a(_0x3f8292,0x191);}this[_0x531e03(0x291)](_0x539d09,_0x451578,_0x35c10f,_0x4c1a8c,_0x3f8292,_0x1799b5,_0x10246d);}[_0xef0f2c(0x291)](_0x234072,_0xf38258,_0x2dc155,_0x16d7b5,_0x4715ab,_0xa143a9,_0x568f16){const _0x598a58=_0xef0f2c;if(!_0x4715ab[_0x598a58(0x187)]||!_0x4715ab[_0x598a58(0xd5)])return _0x4715ab[_0x598a58(0x161)]();if(_0x4715ab[_0x55fde4])throw new Error(_0x598a58(0x176));if(this[_0x598a58(0xf3)]>_0x15a007)return _0x368e6a(_0x4715ab,0x1f7);const _0x102b7f=[_0x598a58(0x1b3),_0x598a58(0x214),_0x598a58(0x13b),'Sec-WebSocket-Accept:\x20'+_0x31dc5f(_0x598a58(0x215))[_0x598a58(0x1d2)](_0xf38258+_0x16be7d)[_0x598a58(0x271)](_0x598a58(0x243))],_0x22a761=new this[(_0x598a58(0xe4))][(_0x598a58(0x14b))](null,void 0x0,this[_0x598a58(0xe4)]);if(_0x2dc155[_0x598a58(0xe6)]){const _0xad1682=this[_0x598a58(0xe4)]['handleProtocols']?this['options'][_0x598a58(0x1f2)](_0x2dc155,_0x16d7b5):_0x2dc155['values']()[_0x598a58(0x16f)]()[_0x598a58(0x13e)];_0xad1682&&(_0x102b7f[_0x598a58(0x27e)]('Sec-WebSocket-Protocol:\x20'+_0xad1682),_0x22a761[_0x598a58(0x26d)]=_0xad1682);}if(_0x234072[_0x3a76['extensionName']]){const _0x4f5e03=_0x234072[_0x3a76[_0x598a58(0x276)]][_0x598a58(0x113)],_0x1bd77d=_0x28fd3b[_0x598a58(0x103)]({[_0x3a76[_0x598a58(0x276)]]:[_0x4f5e03]});_0x102b7f['push'](_0x598a58(0x1c1)+_0x1bd77d),_0x22a761[_0x598a58(0xe8)]=_0x234072;}this[_0x598a58(0x1d9)](_0x598a58(0x15e),_0x102b7f,_0x16d7b5),_0x4715ab[_0x598a58(0x25d)](_0x102b7f['concat']('\x0d\x0a')[_0x598a58(0xf1)]('\x0d\x0a')),_0x4715ab[_0x598a58(0x20d)]('error',_0x488a1a),_0x22a761[_0x598a58(0x190)](_0x4715ab,_0xa143a9,{'allowSynchronousEvents':this[_0x598a58(0xe4)][_0x598a58(0x167)],'maxPayload':this['options'][_0x598a58(0x1ab)],'skipUTF8Validation':this['options'][_0x598a58(0x18a)]}),this[_0x598a58(0x261)]&&(this[_0x598a58(0x261)][_0x598a58(0x20c)](_0x22a761),_0x22a761['on'](_0x598a58(0x1a0),()=>{const _0x525604=_0x598a58;this[_0x525604(0x261)][_0x525604(0x24b)](_0x22a761),this['_shouldEmitClose']&&!this[_0x525604(0x261)][_0x525604(0xe6)]&&process[_0x525604(0x139)](_0x5dd678,this);})),_0x568f16(_0x22a761,_0x16d7b5);}}Te=_0x56c1a2;function _0x5e7330(_0x538550,_0x1c76e4){for(const _0x55e3d6 of Object['keys'](_0x1c76e4))_0x538550['on'](_0x55e3d6,_0x1c76e4[_0x55e3d6]);return function(){const _0x43db34=_0x50eb;for(const _0x2e8d39 of Object[_0x43db34(0x21c)](_0x1c76e4))_0x538550['removeListener'](_0x2e8d39,_0x1c76e4[_0x2e8d39]);};}function _0x5dd678(_0x3c680d){const _0x27f5f6=_0xef0f2c;_0x3c680d[_0x27f5f6(0xf3)]=_0x21d75a,_0x3c680d[_0x27f5f6(0x1d9)](_0x27f5f6(0x1a0));}function _0x488a1a(){const _0x4602d9=_0xef0f2c;this[_0x4602d9(0x161)]();}function _0x368e6a(_0x105db0,_0x2ffa25,_0x53bbef,_0x4fc87d){const _0x16fd36=_0xef0f2c;_0x53bbef=_0x53bbef||_0x543d4a[_0x16fd36(0x12f)][_0x2ffa25],_0x4fc87d={'Connection':_0x16fd36(0x1a0),'Content-Type':_0x16fd36(0x1ac),'Content-Length':Buffer[_0x16fd36(0x26a)](_0x53bbef),..._0x4fc87d},_0x105db0[_0x16fd36(0xfd)](_0x16fd36(0x18e),_0x105db0['destroy']),_0x105db0['end'](_0x16fd36(0x28a)+_0x2ffa25+'\x20'+_0x543d4a['STATUS_CODES'][_0x2ffa25]+'\x0d\x0a'+Object['keys'](_0x4fc87d)[_0x16fd36(0x19c)](_0x2ba808=>_0x2ba808+':\x20'+_0x4fc87d[_0x2ba808])[_0x16fd36(0xf1)]('\x0d\x0a')+_0x16fd36(0x132)+_0x53bbef);}function _0x3f8589(_0x4e9922,_0xd2ab8a,_0x1d26e4,_0x129461,_0x1962b0){const _0x3c3420=_0xef0f2c;if(_0x4e9922[_0x3c3420(0x151)](_0x3c3420(0x277))){const _0xb752f6=new Error(_0x1962b0);Error['captureStackTrace'](_0xb752f6,_0x3f8589),_0x4e9922[_0x3c3420(0x1d9)](_0x3c3420(0x277),_0xb752f6,_0x1d26e4,_0xd2ab8a);}else _0x368e6a(_0x1d26e4,_0x129461,_0x1962b0);}return Te;}Ft();var jt=Object[_0x480b46(0xf8)],Wt=(_0xb18e51,_0xe7d402,_0x3ddef4,_0x510c7b)=>{for(var _0x3714fb=_0x510c7b>0x1?void 0x0:_0x510c7b?jt(_0xe7d402,_0x3ddef4):_0xe7d402,_0x25eaed=_0xb18e51['length']-0x1,_0x5ec36f;_0x25eaed>=0x0;_0x25eaed--)(_0x5ec36f=_0xb18e51[_0x25eaed])&&(_0x3714fb=_0x5ec36f(_0x3714fb)||_0x3714fb);return _0x3714fb;},qt=(_0x3c7486,_0x2f96ee)=>(_0x445c5d,_0x482cf1)=>_0x2f96ee(_0x445c5d,_0x482cf1,_0x3c7486);let ke=class extends A[_0x480b46(0x1d1)]{constructor(_0xb1b00d){const _0x16f35f=_0x480b46;super(),this[_0x16f35f(0x16b)]=_0xb1b00d;}['createSocket'](_0x1acd2f){const _0x5d27b3=_0x480b46;var _0x42a35d;const _0x110e46=(_0x42a35d=this['_configService'][_0x5d27b3(0x1b0)](fe))==null?void 0x0:_0x42a35d[_0x5d27b3(0x266)];try{const _0x451501=new $t(_0x1acd2f,{'headers':{..._0x110e46}}),_0x506644=new A[(_0x5d27b3(0x168))]();return{'URL':_0x1acd2f,'close':(_0x54a5ad,_0x2b5aa0)=>{const _0x469ac6=_0x5d27b3;_0x451501[_0x469ac6(0x1a0)](_0x54a5ad,_0x2b5aa0),_0x506644['dispose']();},'send':_0x46bb95=>{const _0x43b60e=_0x5d27b3;_0x451501[_0x43b60e(0x1f8)](_0x46bb95);},'open$':new V[(_0x5d27b3(0xec))](_0x4bac1e=>{const _0x3cde98=_0x5d27b3,_0x5526ec=_0x4154a9=>_0x4bac1e['next'](_0x4154a9);_0x451501['addEventListener'](_0x3cde98(0x230),_0x5526ec),_0x506644[_0x3cde98(0x20c)](A[_0x3cde98(0x26f)](()=>_0x451501[_0x3cde98(0x206)](_0x3cde98(0x230),_0x5526ec)));})[_0x5d27b3(0xd4)](V['share']()),'close$':new V[(_0x5d27b3(0xec))](_0x3d886e=>{const _0x2dbe80=_0x5d27b3,_0x3a874d=_0x5eecef=>_0x3d886e[_0x2dbe80(0x16f)](_0x5eecef);_0x451501['addEventListener'](_0x2dbe80(0x1a0),_0x3a874d),_0x506644['add'](A['toDisposable'](()=>_0x451501[_0x2dbe80(0x206)](_0x2dbe80(0x1a0),_0x3a874d)));})[_0x5d27b3(0xd4)](V[_0x5d27b3(0x201)]()),'error$':new V[(_0x5d27b3(0xec))](_0x131a8f=>{const _0x388ca6=_0x5d27b3,_0x3eddfa=_0x128feb=>_0x131a8f['next'](_0x128feb);_0x451501['addEventListener'](_0x388ca6(0x1e5),_0x3eddfa),_0x506644[_0x388ca6(0x20c)](A['toDisposable'](()=>_0x451501[_0x388ca6(0x206)](_0x388ca6(0x1e5),_0x3eddfa)));})['pipe'](V[_0x5d27b3(0x201)]()),'message$':new V[(_0x5d27b3(0xec))](_0x4c0bfb=>{const _0x4f3d46=_0x5d27b3,_0x1f99d4=_0x190b91=>_0x4c0bfb[_0x4f3d46(0x16f)](_0x190b91);_0x451501[_0x4f3d46(0x140)]('message',_0x1f99d4),_0x506644[_0x4f3d46(0x20c)](A[_0x4f3d46(0x26f)](()=>_0x451501[_0x4f3d46(0x206)](_0x4f3d46(0xfa),_0x1f99d4)));})[_0x5d27b3(0xd4)](V[_0x5d27b3(0x201)]())};}catch(_0x168e72){return console[_0x5d27b3(0x1e5)](_0x168e72),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x480b46(0xf8)],Ht=(_0x4bc24a,_0x504843,_0x36c9c5)=>_0x504843 in _0x4bc24a?Gt(_0x4bc24a,_0x504843,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36c9c5}):_0x4bc24a[_0x504843]=_0x36c9c5,zt=(_0x2ed098,_0x2397d0,_0x543cbb,_0x15fae1)=>{const _0x214f37=_0x480b46;for(var _0x52f2c2=_0x15fae1>0x1?void 0x0:_0x15fae1?Vt(_0x2397d0,_0x543cbb):_0x2397d0,_0x3caffc=_0x2ed098[_0x214f37(0x205)]-0x1,_0x217aa3;_0x3caffc>=0x0;_0x3caffc--)(_0x217aa3=_0x2ed098[_0x3caffc])&&(_0x52f2c2=_0x217aa3(_0x52f2c2)||_0x52f2c2);return _0x52f2c2;},Ne=(_0x1f062c,_0x34c47b)=>(_0x2ecfbd,_0x26e53b)=>_0x34c47b(_0x2ecfbd,_0x26e53b,_0x1f062c),Yt=(_0x41f517,_0x25ac90,_0x132e9e)=>Ht(_0x41f517,_0x25ac90+'',_0x132e9e);exports[_0x480b46(0x148)]=class extends A[_0x480b46(0x153)]{constructor(_0x12df46=Ct,_0x1db71e,_0x2f07bc,_0x5bd1c0){const _0xa9f033=_0x480b46;_0x12df46[_0xa9f033(0x266)]||_0x1db71e['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x2f07bc,this['_injector']=_0x5bd1c0,this['_configService']['setConfig'](fe,_0x12df46);}['onStarting'](){const _0x49d372=_0x480b46;this[_0x49d372(0x114)]();}['_registerDependencies'](){const _0x4fbf95=_0x480b46;A[_0x4fbf95(0xe0)](this[_0x4fbf95(0x1cd)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x480b46(0x148)],_0x480b46(0x1eb),_0x480b46(0x269)),exports[_0x480b46(0x148)]=zt([A[_0x480b46(0x17e)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x480b46(0x22e)]),Ne(0x2,A[_0x480b46(0x14c)]),Ne(0x3,A[_0x480b46(0x1f6)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0xd95c83,_0x82db6e,_0x1892b8,_0x380f02)=>{for(var _0x410131=_0x380f02>0x1?void 0x0:_0x380f02?Kt(_0x82db6e,_0x1892b8):_0x82db6e,_0x229c98=_0xd95c83['length']-0x1,_0x49c78a;_0x229c98>=0x0;_0x229c98--)(_0x49c78a=_0xd95c83[_0x229c98])&&(_0x410131=_0x49c78a(_0x410131)||_0x410131);return _0x410131;},ne=(_0x1ca59b,_0x3126f6)=>(_0x118558,_0x2ece13)=>_0x3126f6(_0x118558,_0x2ece13,_0x1ca59b);exports[_0x480b46(0x265)]=class extends st['CollaborationSocketService']{constructor(_0x188e92,_0x9e4146,_0x29ad5e,_0x211b09,_0x5cf045){const _0x3640ca=_0x480b46;super(_0x188e92,_0x9e4146,_0x29ad5e,_0x211b09,_0x5cf045);const _0x27d8f4=this[_0x3640ca(0x16b)]['getConfig'](fe);this['_httpService'][_0x3640ca(0x238)]({'interceptor':(_0x5e10d4,_0x420a00)=>{const _0x2c0d3e=_0x3640ca;var _0x21b84a;const _0x534138=_0x5e10d4[_0x2c0d3e(0x15e)];return(_0x21b84a=_0x27d8f4==null?void 0x0:_0x27d8f4[_0x2c0d3e(0x266)])!=null&&_0x21b84a[_0x2c0d3e(0x23c)]&&_0x534138[_0x2c0d3e(0x173)](_0x2c0d3e(0x273),_0x27d8f4[_0x2c0d3e(0x266)][_0x2c0d3e(0x23c)]),_0x420a00(_0x5e10d4);}});}async['createSocket'](_0x5e09a5){const _0x9da0f9=_0x480b46;return this[_0x9da0f9(0x280)](_0x5e09a5);}},exports[_0x480b46(0x265)]=Xt([ne(0x0,A[_0x480b46(0x1f6)](A[_0x480b46(0x264)])),ne(0x1,A[_0x480b46(0x1f6)](it[_0x480b46(0x226)])),ne(0x2,A[_0x480b46(0x14c)]),ne(0x3,A[_0x480b46(0x22e)]),ne(0x4,Ot[_0x480b46(0x21a)])],exports[_0x480b46(0x265)]),exports[_0x480b46(0x1fd)]=fe;