@univerjs-pro/collaboration-client-node 0.8.0-nightly.202505291607 → 0.8.0-nightly.202505301607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x110165=_0x19d0;(function(_0x50cde9,_0x164f36){const _0x5438c0=_0x19d0,_0x447494=_0x50cde9();while(!![]){try{const _0x22ca29=-parseInt(_0x5438c0(0x365))/0x1+-parseInt(_0x5438c0(0x29e))/0x2*(parseInt(_0x5438c0(0x33d))/0x3)+parseInt(_0x5438c0(0x2ec))/0x4+parseInt(_0x5438c0(0x2fd))/0x5+-parseInt(_0x5438c0(0x283))/0x6*(-parseInt(_0x5438c0(0x326))/0x7)+parseInt(_0x5438c0(0x24f))/0x8*(parseInt(_0x5438c0(0x312))/0x9)+-parseInt(_0x5438c0(0x2c7))/0xa;if(_0x22ca29===_0x164f36)break;else _0x447494['push'](_0x447494['shift']());}catch(_0x26e8e9){_0x447494['push'](_0x447494['shift']());}}}(_0x4c8b,0x32687));Object[_0x110165(0x385)](exports,Symbol[_0x110165(0x337)],{'value':'Module'});const st=require(_0x110165(0x2fe)),A=require(_0x110165(0x278)),it=require(_0x110165(0x35a)),V=require(_0x110165(0x333)),nt=require(_0x110165(0x344)),vt=require(_0x110165(0x216)),ot=require(_0x110165(0x319)),St=require(_0x110165(0x1f5)),Et=require(_0x110165(0x1e6)),Le=require('crypto'),oe=require(_0x110165(0x39b)),xt=require(_0x110165(0x3a5)),bt=require(_0x110165(0x383)),wt=require(_0x110165(0x1fd)),Ot=require('@univerjs-pro/collaboration'),fe=_0x110165(0x22a),Ct={'customHeaders':{}};function Tt(_0x57237e){const _0x5b6e41=_0x110165;return _0x57237e&&_0x57237e[_0x5b6e41(0x38d)]&&Object[_0x5b6e41(0x1f4)][_0x5b6e41(0x1ea)]['call'](_0x57237e,_0x5b6e41(0x2bd))?_0x57237e['default']:_0x57237e;}function at(_0x559671){const _0x59dbbc=_0x110165;if(Object['prototype'][_0x59dbbc(0x1ea)][_0x59dbbc(0x2bc)](_0x559671,_0x59dbbc(0x38d)))return _0x559671;var _0x5d1245=_0x559671[_0x59dbbc(0x2bd)];if(typeof _0x5d1245=='function'){var _0x1e4e59=function _0x58be78(){const _0x8b505c=_0x59dbbc;return this instanceof _0x58be78?Reflect[_0x8b505c(0x217)](_0x5d1245,arguments,this['constructor']):_0x5d1245['apply'](this,arguments);};_0x1e4e59[_0x59dbbc(0x1f4)]=_0x5d1245[_0x59dbbc(0x1f4)];}else _0x1e4e59={};return Object[_0x59dbbc(0x385)](_0x1e4e59,_0x59dbbc(0x38d),{'value':!0x0}),Object[_0x59dbbc(0x354)](_0x559671)['forEach'](function(_0x3d429d){const _0x596823=_0x59dbbc;var _0x3e5daf=Object[_0x596823(0x1ed)](_0x559671,_0x3d429d);Object[_0x596823(0x385)](_0x1e4e59,_0x3d429d,_0x3e5daf[_0x596823(0x322)]?_0x3e5daf:{'enumerable':!0x0,'get':function(){return _0x559671[_0x3d429d];}});}),_0x1e4e59;}var se={'exports':{}},ge,Ge;function H(){const _0x4947d7=_0x110165;if(Ge)return ge;Ge=0x1;const _0x2a05b2=[_0x4947d7(0x297),_0x4947d7(0x306),_0x4947d7(0x1eb)],_0x5089de=typeof Blob<'u';return _0x5089de&&_0x2a05b2[_0x4947d7(0x376)](_0x4947d7(0x379)),ge={'BINARY_TYPES':_0x2a05b2,'EMPTY_BUFFER':Buffer[_0x4947d7(0x2a9)](0x0),'GUID':_0x4947d7(0x2d8),'hasBlob':_0x5089de,'kForOnEventAttribute':Symbol(_0x4947d7(0x2e9)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4947d7(0x26f)),'kWebSocket':Symbol(_0x4947d7(0x1f1)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x110165(0x1e8)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x110165(0x337)],{'value':_0x110165(0x20b)})),Lt=at(kt);var Ve;function ce(){const _0x206349=_0x110165;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x495171}=H(),_0x5cc8cf=Buffer[Symbol[_0x206349(0x36f)]];function _0x4643e0(_0x3ecbba,_0x30f42a){const _0x32e4b3=_0x206349;if(_0x3ecbba[_0x32e4b3(0x382)]===0x0)return _0x495171;if(_0x3ecbba[_0x32e4b3(0x382)]===0x1)return _0x3ecbba[0x0];const _0x1853fa=Buffer[_0x32e4b3(0x27a)](_0x30f42a);let _0x3adda1=0x0;for(let _0x4cb52b=0x0;_0x4cb52b<_0x3ecbba['length'];_0x4cb52b++){const _0xc88f22=_0x3ecbba[_0x4cb52b];_0x1853fa[_0x32e4b3(0x375)](_0xc88f22,_0x3adda1),_0x3adda1+=_0xc88f22[_0x32e4b3(0x382)];}return _0x3adda1<_0x30f42a?new _0x5cc8cf(_0x1853fa[_0x32e4b3(0x1fd)],_0x1853fa[_0x32e4b3(0x37a)],_0x3adda1):_0x1853fa;}function _0x59abf9(_0x45fc63,_0x12cd27,_0x51ebc9,_0x4c3def,_0x4e947e){for(let _0x5d5023=0x0;_0x5d5023<_0x4e947e;_0x5d5023++)_0x51ebc9[_0x4c3def+_0x5d5023]=_0x45fc63[_0x5d5023]^_0x12cd27[_0x5d5023&0x3];}function _0x550ff1(_0x3b7896,_0x2eb9d2){const _0x4f1263=_0x206349;for(let _0x58731f=0x0;_0x58731f<_0x3b7896[_0x4f1263(0x382)];_0x58731f++)_0x3b7896[_0x58731f]^=_0x2eb9d2[_0x58731f&0x3];}function _0x46ee64(_0x977a02){const _0x32e15d=_0x206349;return _0x977a02['length']===_0x977a02[_0x32e15d(0x1fd)][_0x32e15d(0x240)]?_0x977a02['buffer']:_0x977a02['buffer'][_0x32e15d(0x360)](_0x977a02[_0x32e15d(0x37a)],_0x977a02['byteOffset']+_0x977a02[_0x32e15d(0x382)]);}function _0x258b26(_0x617f1f){const _0x13dd45=_0x206349;if(_0x258b26['readOnly']=!0x0,Buffer['isBuffer'](_0x617f1f))return _0x617f1f;let _0x392f2f;return _0x617f1f instanceof ArrayBuffer?_0x392f2f=new _0x5cc8cf(_0x617f1f):ArrayBuffer[_0x13dd45(0x1fc)](_0x617f1f)?_0x392f2f=new _0x5cc8cf(_0x617f1f[_0x13dd45(0x1fd)],_0x617f1f[_0x13dd45(0x37a)],_0x617f1f[_0x13dd45(0x240)]):(_0x392f2f=Buffer[_0x13dd45(0x35e)](_0x617f1f),_0x258b26['readOnly']=!0x1),_0x392f2f;}if(se[_0x206349(0x2f5)]={'concat':_0x4643e0,'mask':_0x59abf9,'toArrayBuffer':_0x46ee64,'toBuffer':_0x258b26,'unmask':_0x550ff1},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x34ff0c=Lt;se[_0x206349(0x2f5)][_0x206349(0x243)]=function(_0x3a4804,_0x34de87,_0x5cbb1f,_0x237735,_0x81ea44){const _0xd293b6=_0x206349;_0x81ea44<0x30?_0x59abf9(_0x3a4804,_0x34de87,_0x5cbb1f,_0x237735,_0x81ea44):_0x34ff0c[_0xd293b6(0x243)](_0x3a4804,_0x34de87,_0x5cbb1f,_0x237735,_0x81ea44);},se[_0x206349(0x2f5)][_0x206349(0x2f9)]=function(_0x371e5f,_0x56ae77){const _0x4fdfd2=_0x206349;_0x371e5f[_0x4fdfd2(0x382)]<0x20?_0x550ff1(_0x371e5f,_0x56ae77):_0x34ff0c['unmask'](_0x371e5f,_0x56ae77);};}catch{}return se[_0x206349(0x2f5)];}var ye,He;function Pt(){const _0x23b940=_0x110165;if(He)return ye;He=0x1;const _0x364bf0=Symbol('kDone'),_0x2f512d=Symbol(_0x23b940(0x36d));class _0x55d7a1{constructor(_0x18176){const _0x44c091=_0x23b940;this[_0x364bf0]=()=>{this['pending']--,this[_0x2f512d]();},this[_0x44c091(0x2b6)]=_0x18176||0x1/0x0,this[_0x44c091(0x2de)]=[],this[_0x44c091(0x250)]=0x0;}[_0x23b940(0x206)](_0x540077){const _0x4da51a=_0x23b940;this[_0x4da51a(0x2de)][_0x4da51a(0x376)](_0x540077),this[_0x2f512d]();}[_0x2f512d](){const _0x591287=_0x23b940;if(this[_0x591287(0x250)]!==this[_0x591287(0x2b6)]&&this[_0x591287(0x2de)][_0x591287(0x382)]){const _0x23da45=this[_0x591287(0x2de)]['shift']();this['pending']++,_0x23da45(this[_0x364bf0]);}}}return ye=_0x55d7a1,ye;}var ve,ze;function he(){const _0x4854d0=_0x110165;if(ze)return ve;ze=0x1;const _0x395fdc=bt,_0x4d8fe2=ce(),_0x1eb82a=Pt(),{kStatusCode:_0x1cef4b}=H(),_0x1eb9ff=Buffer[Symbol[_0x4854d0(0x36f)]],_0x2a7958=Buffer[_0x4854d0(0x35e)]([0x0,0x0,0xff,0xff]),_0x44de09=Symbol('permessage-deflate'),_0xa234fd=Symbol(_0x4854d0(0x275)),_0x1eb98f=Symbol(_0x4854d0(0x369)),_0x56b4a0=Symbol('buffers'),_0x39fc81=Symbol('error');let _0x41f33d;class _0x3b9bbc{constructor(_0x10b730,_0x177693,_0x4424c4){const _0x1c8636=_0x4854d0;if(this[_0x1c8636(0x24c)]=_0x4424c4|0x0,this[_0x1c8636(0x348)]=_0x10b730||{},this[_0x1c8636(0x1f2)]=this[_0x1c8636(0x348)][_0x1c8636(0x20c)]!==void 0x0?this[_0x1c8636(0x348)]['threshold']:0x400,this[_0x1c8636(0x2a6)]=!!_0x177693,this['_deflate']=null,this['_inflate']=null,this[_0x1c8636(0x359)]=null,!_0x41f33d){const _0xf73dcc=this[_0x1c8636(0x348)]['concurrencyLimit']!==void 0x0?this[_0x1c8636(0x348)][_0x1c8636(0x256)]:0xa;_0x41f33d=new _0x1eb82a(_0xf73dcc);}}static get['extensionName'](){return'permessage-deflate';}[_0x4854d0(0x2f6)](){const _0x21a9c8=_0x4854d0,_0x2a8f23={};return this[_0x21a9c8(0x348)][_0x21a9c8(0x325)]&&(_0x2a8f23[_0x21a9c8(0x2d3)]=!0x0),this[_0x21a9c8(0x348)]['clientNoContextTakeover']&&(_0x2a8f23[_0x21a9c8(0x3a9)]=!0x0),this[_0x21a9c8(0x348)][_0x21a9c8(0x37f)]&&(_0x2a8f23[_0x21a9c8(0x318)]=this[_0x21a9c8(0x348)][_0x21a9c8(0x37f)]),this['_options'][_0x21a9c8(0x2d1)]?_0x2a8f23['client_max_window_bits']=this['_options'][_0x21a9c8(0x2d1)]:this[_0x21a9c8(0x348)][_0x21a9c8(0x2d1)]==null&&(_0x2a8f23[_0x21a9c8(0x265)]=!0x0),_0x2a8f23;}[_0x4854d0(0x331)](_0x590e8f){const _0x2adcac=_0x4854d0;return _0x590e8f=this[_0x2adcac(0x25b)](_0x590e8f),this[_0x2adcac(0x359)]=this['_isServer']?this[_0x2adcac(0x317)](_0x590e8f):this[_0x2adcac(0x32d)](_0x590e8f),this['params'];}[_0x4854d0(0x207)](){const _0x4e666d=_0x4854d0;if(this[_0x4e666d(0x37b)]&&(this[_0x4e666d(0x37b)][_0x4e666d(0x25a)](),this[_0x4e666d(0x37b)]=null),this[_0x4e666d(0x34f)]){const _0x2e82b0=this[_0x4e666d(0x34f)][_0x1eb98f];this[_0x4e666d(0x34f)][_0x4e666d(0x25a)](),this[_0x4e666d(0x34f)]=null,_0x2e82b0&&_0x2e82b0(new Error(_0x4e666d(0x335)));}}[_0x4854d0(0x317)](_0x5c59d7){const _0x33f173=_0x4854d0,_0x1828a9=this[_0x33f173(0x348)],_0x510de8=_0x5c59d7['find'](_0x366796=>!(_0x1828a9[_0x33f173(0x325)]===!0x1&&_0x366796[_0x33f173(0x2d3)]||_0x366796[_0x33f173(0x318)]&&(_0x1828a9[_0x33f173(0x37f)]===!0x1||typeof _0x1828a9[_0x33f173(0x37f)]==_0x33f173(0x244)&&_0x1828a9[_0x33f173(0x37f)]>_0x366796[_0x33f173(0x318)])||typeof _0x1828a9[_0x33f173(0x2d1)]==_0x33f173(0x244)&&!_0x366796['client_max_window_bits']));if(!_0x510de8)throw new Error(_0x33f173(0x210));return _0x1828a9[_0x33f173(0x325)]&&(_0x510de8[_0x33f173(0x2d3)]=!0x0),_0x1828a9[_0x33f173(0x33e)]&&(_0x510de8[_0x33f173(0x3a9)]=!0x0),typeof _0x1828a9['serverMaxWindowBits']==_0x33f173(0x244)&&(_0x510de8[_0x33f173(0x318)]=_0x1828a9[_0x33f173(0x37f)]),typeof _0x1828a9[_0x33f173(0x2d1)]=='number'?_0x510de8[_0x33f173(0x265)]=_0x1828a9[_0x33f173(0x2d1)]:(_0x510de8[_0x33f173(0x265)]===!0x0||_0x1828a9[_0x33f173(0x2d1)]===!0x1)&&delete _0x510de8['client_max_window_bits'],_0x510de8;}[_0x4854d0(0x32d)](_0x5c1837){const _0x130f03=_0x4854d0,_0x6cdeeb=_0x5c1837[0x0];if(this[_0x130f03(0x348)][_0x130f03(0x33e)]===!0x1&&_0x6cdeeb[_0x130f03(0x3a9)])throw new Error(_0x130f03(0x27d));if(!_0x6cdeeb[_0x130f03(0x265)])typeof this['_options']['clientMaxWindowBits']==_0x130f03(0x244)&&(_0x6cdeeb['client_max_window_bits']=this[_0x130f03(0x348)][_0x130f03(0x2d1)]);else{if(this[_0x130f03(0x348)][_0x130f03(0x2d1)]===!0x1||typeof this['_options'][_0x130f03(0x2d1)]==_0x130f03(0x244)&&_0x6cdeeb['client_max_window_bits']>this['_options'][_0x130f03(0x2d1)])throw new Error(_0x130f03(0x389));}return _0x6cdeeb;}['normalizeParams'](_0xa92435){const _0x2d51f7=_0x4854d0;return _0xa92435[_0x2d51f7(0x361)](_0x33dc32=>{const _0xd1b351=_0x2d51f7;Object[_0xd1b351(0x354)](_0x33dc32)[_0xd1b351(0x361)](_0x51c413=>{const _0x42def4=_0xd1b351;let _0x523104=_0x33dc32[_0x51c413];if(_0x523104[_0x42def4(0x382)]>0x1)throw new Error('Parameter\x20\x22'+_0x51c413+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x523104=_0x523104[0x0],_0x51c413===_0x42def4(0x265)){if(_0x523104!==!0x0){const _0x2250ec=+_0x523104;if(!Number[_0x42def4(0x38c)](_0x2250ec)||_0x2250ec<0x8||_0x2250ec>0xf)throw new TypeError(_0x42def4(0x395)+_0x51c413+_0x42def4(0x3a3)+_0x523104);_0x523104=_0x2250ec;}else{if(!this['_isServer'])throw new TypeError(_0x42def4(0x395)+_0x51c413+_0x42def4(0x3a3)+_0x523104);}}else{if(_0x51c413===_0x42def4(0x318)){const _0x4ebd1d=+_0x523104;if(!Number[_0x42def4(0x38c)](_0x4ebd1d)||_0x4ebd1d<0x8||_0x4ebd1d>0xf)throw new TypeError(_0x42def4(0x395)+_0x51c413+_0x42def4(0x3a3)+_0x523104);_0x523104=_0x4ebd1d;}else{if(_0x51c413===_0x42def4(0x3a9)||_0x51c413===_0x42def4(0x2d3)){if(_0x523104!==!0x0)throw new TypeError(_0x42def4(0x395)+_0x51c413+_0x42def4(0x3a3)+_0x523104);}else throw new Error(_0x42def4(0x37e)+_0x51c413+'\x22');}}_0x33dc32[_0x51c413]=_0x523104;});}),_0xa92435;}[_0x4854d0(0x313)](_0x37c760,_0x394eaf,_0x5c1ab6){_0x41f33d['add'](_0x5c8ea8=>{const _0x428f12=_0x19d0;this[_0x428f12(0x2dd)](_0x37c760,_0x394eaf,(_0x56e861,_0x44d3eb)=>{_0x5c8ea8(),_0x5c1ab6(_0x56e861,_0x44d3eb);});});}[_0x4854d0(0x204)](_0x50623f,_0x9fae17,_0x59097b){const _0x264379=_0x4854d0;_0x41f33d[_0x264379(0x206)](_0x136040=>{const _0x127aea=_0x264379;this[_0x127aea(0x3a6)](_0x50623f,_0x9fae17,(_0x2d1837,_0x7b885c)=>{_0x136040(),_0x59097b(_0x2d1837,_0x7b885c);});});}[_0x4854d0(0x2dd)](_0x4052eb,_0x2e4e65,_0x48da1d){const _0x493d0c=_0x4854d0,_0x1fa87b=this['_isServer']?_0x493d0c(0x259):'server';if(!this['_inflate']){const _0x50e757=_0x1fa87b+'_max_window_bits',_0x25ed54=typeof this[_0x493d0c(0x359)][_0x50e757]!=_0x493d0c(0x244)?_0x395fdc[_0x493d0c(0x33c)]:this[_0x493d0c(0x359)][_0x50e757];this[_0x493d0c(0x37b)]=_0x395fdc[_0x493d0c(0x20f)]({...this[_0x493d0c(0x348)]['zlibInflateOptions'],'windowBits':_0x25ed54}),this[_0x493d0c(0x37b)][_0x44de09]=this,this[_0x493d0c(0x37b)][_0xa234fd]=0x0,this[_0x493d0c(0x37b)][_0x56b4a0]=[],this['_inflate']['on'](_0x493d0c(0x22e),_0x47aff4),this['_inflate']['on'](_0x493d0c(0x2f7),_0x246174);}this[_0x493d0c(0x37b)][_0x1eb98f]=_0x48da1d,this[_0x493d0c(0x37b)][_0x493d0c(0x301)](_0x4052eb),_0x2e4e65&&this['_inflate'][_0x493d0c(0x301)](_0x2a7958),this[_0x493d0c(0x37b)][_0x493d0c(0x1e7)](()=>{const _0x135078=_0x493d0c,_0x53ee2a=this[_0x135078(0x37b)][_0x39fc81];if(_0x53ee2a){this[_0x135078(0x37b)]['close'](),this[_0x135078(0x37b)]=null,_0x48da1d(_0x53ee2a);return;}const _0x1794ec=_0x4d8fe2[_0x135078(0x247)](this[_0x135078(0x37b)][_0x56b4a0],this['_inflate'][_0xa234fd]);this[_0x135078(0x37b)][_0x135078(0x2c1)]['endEmitted']?(this[_0x135078(0x37b)]['close'](),this[_0x135078(0x37b)]=null):(this[_0x135078(0x37b)][_0xa234fd]=0x0,this[_0x135078(0x37b)][_0x56b4a0]=[],_0x2e4e65&&this[_0x135078(0x359)][_0x1fa87b+_0x135078(0x2d7)]&&this[_0x135078(0x37b)][_0x135078(0x23e)]()),_0x48da1d(null,_0x1794ec);});}[_0x4854d0(0x3a6)](_0x566b6b,_0x22bee8,_0x475c6a){const _0x58357b=_0x4854d0,_0x38dfbd=this[_0x58357b(0x2a6)]?_0x58357b(0x22c):'client';if(!this[_0x58357b(0x34f)]){const _0x540e72=_0x38dfbd+_0x58357b(0x356),_0x375893=typeof this['params'][_0x540e72]!='number'?_0x395fdc['Z_DEFAULT_WINDOWBITS']:this[_0x58357b(0x359)][_0x540e72];this[_0x58357b(0x34f)]=_0x395fdc[_0x58357b(0x268)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x375893}),this['_deflate'][_0xa234fd]=0x0,this[_0x58357b(0x34f)][_0x56b4a0]=[],this[_0x58357b(0x34f)]['on'](_0x58357b(0x2f7),_0xc022e3);}this['_deflate'][_0x1eb98f]=_0x475c6a,this[_0x58357b(0x34f)]['write'](_0x566b6b),this[_0x58357b(0x34f)][_0x58357b(0x1e7)](_0x395fdc[_0x58357b(0x364)],()=>{const _0x1a1a8f=_0x58357b;if(!this[_0x1a1a8f(0x34f)])return;let _0x264896=_0x4d8fe2[_0x1a1a8f(0x247)](this[_0x1a1a8f(0x34f)][_0x56b4a0],this[_0x1a1a8f(0x34f)][_0xa234fd]);_0x22bee8&&(_0x264896=new _0x1eb9ff(_0x264896[_0x1a1a8f(0x1fd)],_0x264896['byteOffset'],_0x264896[_0x1a1a8f(0x382)]-0x4)),this['_deflate'][_0x1eb98f]=null,this[_0x1a1a8f(0x34f)][_0xa234fd]=0x0,this[_0x1a1a8f(0x34f)][_0x56b4a0]=[],_0x22bee8&&this[_0x1a1a8f(0x359)][_0x38dfbd+_0x1a1a8f(0x2d7)]&&this[_0x1a1a8f(0x34f)][_0x1a1a8f(0x23e)](),_0x475c6a(null,_0x264896);});}}ve=_0x3b9bbc;function _0xc022e3(_0x323de3){const _0x18c44b=_0x4854d0;this[_0x56b4a0][_0x18c44b(0x376)](_0x323de3),this[_0xa234fd]+=_0x323de3['length'];}function _0x246174(_0x5dc073){const _0x3a66af=_0x4854d0;if(this[_0xa234fd]+=_0x5dc073[_0x3a66af(0x382)],this[_0x44de09][_0x3a66af(0x24c)]<0x1||this[_0xa234fd]<=this[_0x44de09][_0x3a66af(0x24c)]){this[_0x56b4a0][_0x3a66af(0x376)](_0x5dc073);return;}this[_0x39fc81]=new RangeError(_0x3a66af(0x384)),this[_0x39fc81][_0x3a66af(0x393)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x39fc81][_0x1cef4b]=0x3f1,this[_0x3a66af(0x372)]('data',_0x246174),this[_0x3a66af(0x23e)]();}function _0x47aff4(_0x438f73){const _0x27d84e=_0x4854d0;if(this[_0x44de09][_0x27d84e(0x37b)]=null,this[_0x39fc81]){this[_0x1eb98f](this[_0x39fc81]);return;}_0x438f73[_0x1cef4b]=0x3ef,this[_0x1eb98f](_0x438f73);}return ve;}var ie={'exports':{}};function _0x4c8b(){const _0x1782dc=['needDrain','FIN\x20must\x20be\x20set','events','split','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','registerDependencies','_options','_errored','_messageLength','Invalid\x20Upgrade\x20header','setNoDelay','createServer','connection','_deflate','function','readyState','OPEN','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','keys','_mask','_max_window_bits','request','GET','params','@univerjs/network','_errorEmitted','Sec-WebSocket-Extensions:\x20','createConnection','from','_destroy','slice','forEach','skipUTF8Validation','destroyed','Z_SYNC_FLUSH','370243fQpBQP','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','warn','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','callback','indexOf','isValidUTF8','_masked','kRun','Injector','species','objectMode','dispose','removeListener','origin','handshakeTimeout','set','push','_write','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','blob','byteOffset','_inflate','getBlobData','WS_ERR_INVALID_OPCODE','Unknown\x20parameter\x20\x22','serverMaxWindowBits','errorEmitted','extensionName','length','zlib','Max\x20payload\x20size\x20exceeded','defineProperty','CLOSED','_bufferedBytes','sec-websocket-extensions','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_state','http:','isInteger','__esModule','kMessage','_writableState','_compressed','kCode','Inject','code','_closeTimer','Invalid\x20value\x20for\x20parameter\x20\x22','_httpService','unexpected-response','Invalid\x20Sec-WebSocket-Extensions\x20header','The\x20\x22','terminate','stream','object','Invalid\x20WebSocket\x20frame:\x20','writable','Server\x20sent\x20no\x20subprotocol','Observable','clients','clientTracking','\x22:\x20','_bufferedAmount','url','_compress','readUInt32BE','WS_ERR_INVALID_CLOSE_CODE','client_no_context_takeover','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','kWasClean','MASK\x20must\x20be\x20set','_req','_opcode','uncork','isServer','tls','flush','freeze','addEventListener','hasOwnProperty','fragments','open','getOwnPropertyDescriptor','_paused','_totalPayloadLength','finished','websocket','_threshold','_read','prototype','net','dispatch','getInfo','Invalid\x20URL:\x20','connect','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','readable','isView','buffer','_injector','kTarget','password','onmessage','followRedirects','sec-websocket-protocol','compress','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','add','cleanup','emit','end','parse','Module','threshold','host','haveLength','createInflateRaw','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','perMessageDeflate','CONNECTING','upgrade','cookie','createError','https','construct','Invalid\x20Sec-WebSocket-Accept\x20header','shouldHandle','unshift','test','onStarting','headers','pause','_autoPong','listeners','HTTP/1.1\x20','DisposableCollection','maxPayload','values','wasClean','auth','base64','_shouldEmitClose','isPaused','collaboration-client-node.config','completeUpgrade','server','arrayBuffer','error','Sec-WebSocket-Origin','Unexpected\x20end\x20of\x20input','MASK\x20must\x20be\x20clear','IConfigService','path','_protocol','Unexpected\x20character\x20at\x20index\x20','timeout','invalid\x20payload\x20length\x20','startLoop','resume','message','next','noServer','size','reset','_removeListeners','byteLength','finish','_closeCode','mask','number','WS_ERR_UNEXPECTED_RSV_2_3','send','concat','HTTPService','controlMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Connection:\x20Upgrade','_maxPayload','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','authorized','8VrHbei','pending','statusCode','Invalid\x20Sec-WebSocket-Protocol\x20header','RSV1\x20must\x20be\x20clear','listen','Unsupported\x20protocol\x20version:\x20','concurrencyLimit','endEmitted','_redirects','client','close','normalizeParams','_extensions','wss:','pipe','isArray','extensions','socket','Blob','encrypted','shift','client_max_window_bits','createSocket','listenerCount','createDeflateRaw','then','cork','port','username','target','_buffers','status-code','setSocket','Server\x20sent\x20an\x20invalid\x20subprotocol','HTTP/1.1\x20101\x20Switching\x20Protocols','Disposable','getData','total-length','NodeCollaborationSocketService','backlog','@univerjs/core','_closeMessage','allocUnsafe','getMask','once','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','ILogService','_skipUTF8Validation','_url','create','sha1','36030ROSxvl','generateMask','getPayloadLength16','readUInt16BE','CLOSING','WS_ERR_INVALID_UTF8','CollaborationSocketService','has','dataMessage','toString','servername','ws+unix:','writeUInt16BE','pathname','frame','ws:','format','STATUS_CODES','captureStackTrace','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','nodebuffer','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Origin','drain','_loop','nextTick','conclude','11958gjRhxI','WS_ERR_UNEXPECTED_RSV_1','kError','WS_ERR_EXPECTED_MASK','setHeader','_final','Basic\x20','fin','_isServer','read','text/html','alloc','pow','_receiver','replace','UniverCollaborationClientPlugin','type','handleProtocols','_firstFragment','_fin','toDisposable','Cookie','dequeue','socketPath','concurrency','_closeFrameSent','readOnly','removeAllListeners','binaryType','location','call','default','invalid\x20opcode\x200','apply','UniverCollaborationClientNodePlugin','_readableState','hostname','digest','_closeFrameReceived','ISocketService','_sender','1993480cVZGoe','_queue','_socket','includes','update','removeEventListener','sendFrame','onerror','kAborted','_allowSynchronousEvents','clientMaxWindowBits','entries','server_no_context_takeover','Upgrade','hash','binary','_no_context_takeover','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','ping','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','charCodeAt','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_decompress','jobs','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','options','Opening\x20handshake\x20has\x20timed\x20out','maxRedirects','kData','toLowerCase','autoPong','_binaryType','listening','https:','kIsForOnEventAttribute','\x20(supported\x20versions:\x20','getConfig','1404056AwIRMi','WebSocket\x20is\x20not\x20open:\x20readyState\x20','abort','share','pong','_readyState','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','invalid\x20status\x20code\x20','sec-websocket-accept','exports','offer','data','_originalHostOrSocketPath','unmask','protocolVersion','reason','_payloadLength','1347635gcLIAu','@univerjs-pro/collaboration-client','redirect','setTimeout','write','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','onopen','\x0d\x0a\x0d\x0a','File','arraybuffer','onclose','\x22\x20subprotocol\x20is\x20duplicated','WS_ERR_EXPECTED_FIN','customHeaders','_originalSecure','getPayloadLength64','string','consume','map','protocol','allowSynchronousEvents','1066761IpDNWw','decompress','_maskBuffer','The\x20URL\x27s\x20pathname\x20is\x20empty','join','acceptAsServer','server_max_window_bits','http','response','authorization','Upgrade:\x20websocket','isIP','verifyClient','Unexpected\x20server\x20response:\x20','wsClientError','emitClose','get','Sec-WebSocket-Protocol','_fragments','serverNoContextTakeover','301cqqeAS','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','bind','defaultPort','startsWith','_fragmented','Sec-WebSocket-Extensions','acceptAsClient','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','invalid\x20UTF-8\x20sequence','href','accept','bufferedAmount','rxjs','opcode','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','handleUpgrade','toStringTag','handleEvent','_server','address','enqueue','Z_DEFAULT_WINDOWBITS','111HoCZHs','clientNoContextTakeover','_generateMask','destroy','_configService'];_0x4c8b=function(){return _0x1782dc;};return _0x4c8b();}const Dt={},Rt=Object[_0x110165(0x1e8)](Object[_0x110165(0x385)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x110165(0x20b)})),Bt=at(Rt);var Ye;function ae(){const _0x3387c1=_0x110165;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x1f0a03}=wt,{hasBlob:_0x32cede}=H(),_0x58f36c=[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 _0x809c4d(_0x362a68){return _0x362a68>=0x3e8&&_0x362a68<=0x3f6&&_0x362a68!==0x3ec&&_0x362a68!==0x3ed&&_0x362a68!==0x3ee||_0x362a68>=0xbb8&&_0x362a68<=0x1387;}function _0x3655a8(_0x3b58e0){const _0x5c6c77=_0x19d0,_0x32ed63=_0x3b58e0[_0x5c6c77(0x382)];let _0x2719bf=0x0;for(;_0x2719bf<_0x32ed63;)if((_0x3b58e0[_0x2719bf]&0x80)===0x0)_0x2719bf++;else{if((_0x3b58e0[_0x2719bf]&0xe0)===0xc0){if(_0x2719bf+0x1===_0x32ed63||(_0x3b58e0[_0x2719bf+0x1]&0xc0)!==0x80||(_0x3b58e0[_0x2719bf]&0xfe)===0xc0)return!0x1;_0x2719bf+=0x2;}else{if((_0x3b58e0[_0x2719bf]&0xf0)===0xe0){if(_0x2719bf+0x2>=_0x32ed63||(_0x3b58e0[_0x2719bf+0x1]&0xc0)!==0x80||(_0x3b58e0[_0x2719bf+0x2]&0xc0)!==0x80||_0x3b58e0[_0x2719bf]===0xe0&&(_0x3b58e0[_0x2719bf+0x1]&0xe0)===0x80||_0x3b58e0[_0x2719bf]===0xed&&(_0x3b58e0[_0x2719bf+0x1]&0xe0)===0xa0)return!0x1;_0x2719bf+=0x3;}else{if((_0x3b58e0[_0x2719bf]&0xf8)===0xf0){if(_0x2719bf+0x3>=_0x32ed63||(_0x3b58e0[_0x2719bf+0x1]&0xc0)!==0x80||(_0x3b58e0[_0x2719bf+0x2]&0xc0)!==0x80||(_0x3b58e0[_0x2719bf+0x3]&0xc0)!==0x80||_0x3b58e0[_0x2719bf]===0xf0&&(_0x3b58e0[_0x2719bf+0x1]&0xf0)===0x80||_0x3b58e0[_0x2719bf]===0xf4&&_0x3b58e0[_0x2719bf+0x1]>0x8f||_0x3b58e0[_0x2719bf]>0xf4)return!0x1;_0x2719bf+=0x4;}else return!0x1;}}}return!0x0;}function _0x4afb4c(_0x336afa){const _0xdbb5ee=_0x19d0;return _0x32cede&&typeof _0x336afa==_0xdbb5ee(0x39c)&&typeof _0x336afa[_0xdbb5ee(0x22d)]=='function'&&typeof _0x336afa[_0xdbb5ee(0x2ae)]==_0xdbb5ee(0x30d)&&typeof _0x336afa[_0xdbb5ee(0x39b)]==_0xdbb5ee(0x350)&&(_0x336afa[Symbol['toStringTag']]===_0xdbb5ee(0x262)||_0x336afa[Symbol[_0xdbb5ee(0x337)]]===_0xdbb5ee(0x305));}if(ie[_0x3387c1(0x2f5)]={'isBlob':_0x4afb4c,'isValidStatusCode':_0x809c4d,'isValidUTF8':_0x3655a8,'tokenChars':_0x58f36c},_0x1f0a03)ie[_0x3387c1(0x2f5)][_0x3387c1(0x36b)]=function(_0x1a0c34){return _0x1a0c34['length']<0x18?_0x3655a8(_0x1a0c34):_0x1f0a03(_0x1a0c34);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x59193a=Bt;ie[_0x3387c1(0x2f5)][_0x3387c1(0x36b)]=function(_0x11a237){const _0x1823c7=_0x3387c1;return _0x11a237[_0x1823c7(0x382)]<0x20?_0x3655a8(_0x11a237):_0x59193a(_0x11a237);};}catch{}}return ie[_0x3387c1(0x2f5)];}var Se,Ke;function lt(){const _0x424095=_0x110165;if(Ke)return Se;Ke=0x1;const {Writable:_0x2ce639}=oe,_0xaba6da=he(),{BINARY_TYPES:_0x22181b,EMPTY_BUFFER:_0x42d511,kStatusCode:_0x3311bb,kWebSocket:_0x226d8d}=H(),{concat:_0x3fe0c3,toArrayBuffer:_0x1c9ccf,unmask:_0x558551}=ce(),{isValidStatusCode:_0x1998cb,isValidUTF8:_0x2dcd49}=ae(),_0x585544=Buffer[Symbol[_0x424095(0x36f)]],_0xd13f6b=0x0,_0x32c6d6=0x1,_0x987e93=0x2,_0x5d53f8=0x3,_0xc554cb=0x4,_0x58e8d1=0x5,_0x16f22d=0x6;class _0x23b060 extends _0x2ce639{constructor(_0x2c14c3={}){const _0x34e151=_0x424095;super(),this[_0x34e151(0x2d0)]=_0x2c14c3[_0x34e151(0x311)]!==void 0x0?_0x2c14c3['allowSynchronousEvents']:!0x0,this[_0x34e151(0x2e6)]=_0x2c14c3[_0x34e151(0x2ba)]||_0x22181b[0x0],this['_extensions']=_0x2c14c3[_0x34e151(0x260)]||{},this[_0x34e151(0x2a6)]=!!_0x2c14c3[_0x34e151(0x1e5)],this[_0x34e151(0x24c)]=_0x2c14c3[_0x34e151(0x223)]|0x0,this[_0x34e151(0x27f)]=!!_0x2c14c3['skipUTF8Validation'],this[_0x226d8d]=void 0x0,this[_0x34e151(0x387)]=0x0,this[_0x34e151(0x26e)]=[],this[_0x34e151(0x390)]=!0x1,this[_0x34e151(0x2fc)]=0x0,this[_0x34e151(0x355)]=void 0x0,this[_0x34e151(0x32b)]=0x0,this['_masked']=!0x1,this[_0x34e151(0x2b1)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x34e151(0x34a)]=0x0,this[_0x34e151(0x324)]=[],this['_errored']=!0x1,this[_0x34e151(0x29b)]=!0x1,this[_0x34e151(0x38a)]=_0xd13f6b;}[_0x424095(0x377)](_0xc620ee,_0x313076,_0x5b59e8){const _0x519e3d=_0x424095;if(this['_opcode']===0x8&&this[_0x519e3d(0x38a)]==_0xd13f6b)return _0x5b59e8();this[_0x519e3d(0x387)]+=_0xc620ee['length'],this[_0x519e3d(0x26e)][_0x519e3d(0x376)](_0xc620ee),this[_0x519e3d(0x238)](_0x5b59e8);}[_0x424095(0x30e)](_0x50f34d){const _0x4bf15e=_0x424095;if(this[_0x4bf15e(0x387)]-=_0x50f34d,_0x50f34d===this[_0x4bf15e(0x26e)][0x0]['length'])return this[_0x4bf15e(0x26e)][_0x4bf15e(0x264)]();if(_0x50f34d<this[_0x4bf15e(0x26e)][0x0][_0x4bf15e(0x382)]){const _0x2e5f7d=this[_0x4bf15e(0x26e)][0x0];return this[_0x4bf15e(0x26e)][0x0]=new _0x585544(_0x2e5f7d[_0x4bf15e(0x1fd)],_0x2e5f7d[_0x4bf15e(0x37a)]+_0x50f34d,_0x2e5f7d['length']-_0x50f34d),new _0x585544(_0x2e5f7d[_0x4bf15e(0x1fd)],_0x2e5f7d[_0x4bf15e(0x37a)],_0x50f34d);}const _0x5a0018=Buffer[_0x4bf15e(0x27a)](_0x50f34d);do{const _0x1d5530=this[_0x4bf15e(0x26e)][0x0],_0x514a0b=_0x5a0018[_0x4bf15e(0x382)]-_0x50f34d;_0x50f34d>=_0x1d5530[_0x4bf15e(0x382)]?_0x5a0018[_0x4bf15e(0x375)](this[_0x4bf15e(0x26e)][_0x4bf15e(0x264)](),_0x514a0b):(_0x5a0018['set'](new Uint8Array(_0x1d5530['buffer'],_0x1d5530[_0x4bf15e(0x37a)],_0x50f34d),_0x514a0b),this['_buffers'][0x0]=new _0x585544(_0x1d5530[_0x4bf15e(0x1fd)],_0x1d5530['byteOffset']+_0x50f34d,_0x1d5530[_0x4bf15e(0x382)]-_0x50f34d)),_0x50f34d-=_0x1d5530[_0x4bf15e(0x382)];}while(_0x50f34d>0x0);return _0x5a0018;}[_0x424095(0x238)](_0xece08b){const _0x7009b6=_0x424095;this[_0x7009b6(0x29b)]=!0x0;do switch(this[_0x7009b6(0x38a)]){case _0xd13f6b:this[_0x7009b6(0x1f7)](_0xece08b);break;case _0x32c6d6:this[_0x7009b6(0x285)](_0xece08b);break;case _0x987e93:this[_0x7009b6(0x30c)](_0xece08b);break;case _0x5d53f8:this[_0x7009b6(0x27b)]();break;case _0xc554cb:this[_0x7009b6(0x274)](_0xece08b);break;case _0x58e8d1:case _0x16f22d:this[_0x7009b6(0x29b)]=!0x1;return;}while(this[_0x7009b6(0x29b)]);this[_0x7009b6(0x349)]||_0xece08b();}[_0x424095(0x1f7)](_0x318a8c){const _0x284ee0=_0x424095;if(this['_bufferedBytes']<0x2){this[_0x284ee0(0x29b)]=!0x1;return;}const _0xc17dd3=this[_0x284ee0(0x30e)](0x2);if((_0xc17dd3[0x0]&0x30)!==0x0){const _0x5e6e7a=this['createError'](RangeError,_0x284ee0(0x1fa),!0x0,0x3ea,_0x284ee0(0x245));_0x318a8c(_0x5e6e7a);return;}const _0x49daa0=(_0xc17dd3[0x0]&0x40)===0x40;if(_0x49daa0&&!this[_0x284ee0(0x25c)][_0xaba6da[_0x284ee0(0x381)]]){const _0x9f09f0=this['createError'](RangeError,_0x284ee0(0x253),!0x0,0x3ea,_0x284ee0(0x29f));_0x318a8c(_0x9f09f0);return;}if(this[_0x284ee0(0x2b1)]=(_0xc17dd3[0x0]&0x80)===0x80,this['_opcode']=_0xc17dd3[0x0]&0xf,this[_0x284ee0(0x2fc)]=_0xc17dd3[0x1]&0x7f,this[_0x284ee0(0x1e3)]===0x0){if(_0x49daa0){const _0x267018=this[_0x284ee0(0x215)](RangeError,_0x284ee0(0x253),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x318a8c(_0x267018);return;}if(!this['_fragmented']){const _0x3b89ab=this['createError'](RangeError,_0x284ee0(0x2be),!0x0,0x3ea,_0x284ee0(0x37d));_0x318a8c(_0x3b89ab);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x284ee0(0x32b)]){const _0xffa380=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x284ee0(0x1e3)],!0x0,0x3ea,_0x284ee0(0x37d));_0x318a8c(_0xffa380);return;}this[_0x284ee0(0x390)]=_0x49daa0;}else{if(this[_0x284ee0(0x1e3)]>0x7&&this[_0x284ee0(0x1e3)]<0xb){if(!this['_fin']){const _0x248e76=this[_0x284ee0(0x215)](RangeError,_0x284ee0(0x343),!0x0,0x3ea,_0x284ee0(0x309));_0x318a8c(_0x248e76);return;}if(_0x49daa0){const _0x192cdb=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x284ee0(0x29f));_0x318a8c(_0x192cdb);return;}if(this[_0x284ee0(0x2fc)]>0x7d||this['_opcode']===0x8&&this[_0x284ee0(0x2fc)]===0x1){const _0x4aa7ef=this[_0x284ee0(0x215)](RangeError,_0x284ee0(0x237)+this[_0x284ee0(0x2fc)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x318a8c(_0x4aa7ef);return;}}else{const _0x49ce46=this[_0x284ee0(0x215)](RangeError,'invalid\x20opcode\x20'+this[_0x284ee0(0x1e3)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x318a8c(_0x49ce46);return;}}}if(!this[_0x284ee0(0x2b1)]&&!this[_0x284ee0(0x32b)]&&(this[_0x284ee0(0x32b)]=this[_0x284ee0(0x1e3)]),this[_0x284ee0(0x36c)]=(_0xc17dd3[0x1]&0x80)===0x80,this[_0x284ee0(0x2a6)]){if(!this[_0x284ee0(0x36c)]){const _0x16822d=this['createError'](RangeError,_0x284ee0(0x1e1),!0x0,0x3ea,_0x284ee0(0x2a1));_0x318a8c(_0x16822d);return;}}else{if(this['_masked']){const _0x2b875a=this['createError'](RangeError,_0x284ee0(0x231),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x318a8c(_0x2b875a);return;}}this[_0x284ee0(0x2fc)]===0x7e?this[_0x284ee0(0x38a)]=_0x32c6d6:this[_0x284ee0(0x2fc)]===0x7f?this[_0x284ee0(0x38a)]=_0x987e93:this[_0x284ee0(0x20e)](_0x318a8c);}[_0x424095(0x285)](_0x4d6991){const _0x25dc9f=_0x424095;if(this['_bufferedBytes']<0x2){this[_0x25dc9f(0x29b)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x25dc9f(0x286)](0x0),this[_0x25dc9f(0x20e)](_0x4d6991);}['getPayloadLength64'](_0x5e2b5f){const _0xb570b5=_0x424095;if(this[_0xb570b5(0x387)]<0x8){this['_loop']=!0x1;return;}const _0x1e125c=this[_0xb570b5(0x30e)](0x8),_0x342613=_0x1e125c[_0xb570b5(0x3a7)](0x0);if(_0x342613>Math[_0xb570b5(0x2aa)](0x2,0x15)-0x1){const _0x486c28=this[_0xb570b5(0x215)](RangeError,_0xb570b5(0x3aa),!0x1,0x3f1,_0xb570b5(0x327));_0x5e2b5f(_0x486c28);return;}this[_0xb570b5(0x2fc)]=_0x342613*Math[_0xb570b5(0x2aa)](0x2,0x20)+_0x1e125c[_0xb570b5(0x3a7)](0x4),this[_0xb570b5(0x20e)](_0x5e2b5f);}[_0x424095(0x20e)](_0x469df3){const _0xb9fffe=_0x424095;if(this[_0xb9fffe(0x2fc)]&&this[_0xb9fffe(0x1e3)]<0x8&&(this[_0xb9fffe(0x1ef)]+=this[_0xb9fffe(0x2fc)],this[_0xb9fffe(0x1ef)]>this[_0xb9fffe(0x24c)]&&this[_0xb9fffe(0x24c)]>0x0)){const _0x305273=this[_0xb9fffe(0x215)](RangeError,_0xb9fffe(0x384),!0x1,0x3f1,_0xb9fffe(0x24a));_0x469df3(_0x305273);return;}this['_masked']?this['_state']=_0x5d53f8:this[_0xb9fffe(0x38a)]=_0xc554cb;}[_0x424095(0x27b)](){const _0x2239b8=_0x424095;if(this[_0x2239b8(0x387)]<0x4){this[_0x2239b8(0x29b)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x2239b8(0x38a)]=_0xc554cb;}[_0x424095(0x274)](_0x55db0e){const _0x3da60f=_0x424095;let _0x10424a=_0x42d511;if(this[_0x3da60f(0x2fc)]){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x10424a=this['consume'](this['_payloadLength']),this['_masked']&&(this[_0x3da60f(0x355)][0x0]|this['_mask'][0x1]|this[_0x3da60f(0x355)][0x2]|this['_mask'][0x3])!==0x0&&_0x558551(_0x10424a,this[_0x3da60f(0x355)]);}if(this[_0x3da60f(0x1e3)]>0x7){this['controlMessage'](_0x10424a,_0x55db0e);return;}if(this[_0x3da60f(0x390)]){this[_0x3da60f(0x38a)]=_0x58e8d1,this['decompress'](_0x10424a,_0x55db0e);return;}_0x10424a[_0x3da60f(0x382)]&&(this[_0x3da60f(0x34a)]=this[_0x3da60f(0x1ef)],this[_0x3da60f(0x324)][_0x3da60f(0x376)](_0x10424a)),this[_0x3da60f(0x28b)](_0x55db0e);}[_0x424095(0x313)](_0x2edc8f,_0x55a868){const _0x1f3c6c=_0x424095;this[_0x1f3c6c(0x25c)][_0xaba6da[_0x1f3c6c(0x381)]][_0x1f3c6c(0x313)](_0x2edc8f,this['_fin'],(_0x5180a4,_0x5639a9)=>{const _0x264d39=_0x1f3c6c;if(_0x5180a4)return _0x55a868(_0x5180a4);if(_0x5639a9['length']){if(this[_0x264d39(0x34a)]+=_0x5639a9[_0x264d39(0x382)],this[_0x264d39(0x34a)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x1fa872=this[_0x264d39(0x215)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x264d39(0x24a));_0x55a868(_0x1fa872);return;}this[_0x264d39(0x324)]['push'](_0x5639a9);}this['dataMessage'](_0x55a868),this['_state']===_0xd13f6b&&this['startLoop'](_0x55a868);});}[_0x424095(0x28b)](_0x31e2f4){const _0x3344a2=_0x424095;if(!this[_0x3344a2(0x2b1)]){this['_state']=_0xd13f6b;return;}const _0x817b6=this[_0x3344a2(0x34a)],_0x10f6a7=this['_fragments'];if(this[_0x3344a2(0x1ef)]=0x0,this['_messageLength']=0x0,this[_0x3344a2(0x32b)]=0x0,this[_0x3344a2(0x324)]=[],this['_opcode']===0x2){let _0x218ecb;this[_0x3344a2(0x2e6)]===_0x3344a2(0x297)?_0x218ecb=_0x3fe0c3(_0x10f6a7,_0x817b6):this['_binaryType']===_0x3344a2(0x306)?_0x218ecb=_0x1c9ccf(_0x3fe0c3(_0x10f6a7,_0x817b6)):this[_0x3344a2(0x2e6)]===_0x3344a2(0x379)?_0x218ecb=new Blob(_0x10f6a7):_0x218ecb=_0x10f6a7,this[_0x3344a2(0x2d0)]?(this[_0x3344a2(0x208)](_0x3344a2(0x23a),_0x218ecb,!0x0),this[_0x3344a2(0x38a)]=_0xd13f6b):(this['_state']=_0x16f22d,setImmediate(()=>{const _0x383e1e=_0x3344a2;this[_0x383e1e(0x208)](_0x383e1e(0x23a),_0x218ecb,!0x0),this[_0x383e1e(0x38a)]=_0xd13f6b,this['startLoop'](_0x31e2f4);}));}else{const _0x21b359=_0x3fe0c3(_0x10f6a7,_0x817b6);if(!this[_0x3344a2(0x27f)]&&!_0x2dcd49(_0x21b359)){const _0x100f9e=this['createError'](Error,_0x3344a2(0x32f),!0x0,0x3ef,_0x3344a2(0x288));_0x31e2f4(_0x100f9e);return;}this[_0x3344a2(0x38a)]===_0x58e8d1||this['_allowSynchronousEvents']?(this[_0x3344a2(0x208)]('message',_0x21b359,!0x1),this[_0x3344a2(0x38a)]=_0xd13f6b):(this[_0x3344a2(0x38a)]=_0x16f22d,setImmediate(()=>{const _0x2a1b78=_0x3344a2;this[_0x2a1b78(0x208)](_0x2a1b78(0x23a),_0x21b359,!0x1),this[_0x2a1b78(0x38a)]=_0xd13f6b,this[_0x2a1b78(0x238)](_0x31e2f4);}));}}[_0x424095(0x249)](_0x474146,_0x3ed839){const _0x3a1fb0=_0x424095;if(this['_opcode']===0x8){if(_0x474146[_0x3a1fb0(0x382)]===0x0)this[_0x3a1fb0(0x29b)]=!0x1,this[_0x3a1fb0(0x208)](_0x3a1fb0(0x29d),0x3ed,_0x42d511),this[_0x3a1fb0(0x209)]();else{const _0x1786b1=_0x474146['readUInt16BE'](0x0);if(!_0x1998cb(_0x1786b1)){const _0x36f097=this[_0x3a1fb0(0x215)](RangeError,_0x3a1fb0(0x2f3)+_0x1786b1,!0x0,0x3ea,_0x3a1fb0(0x3a8));_0x3ed839(_0x36f097);return;}const _0x45bbc1=new _0x585544(_0x474146[_0x3a1fb0(0x1fd)],_0x474146[_0x3a1fb0(0x37a)]+0x2,_0x474146[_0x3a1fb0(0x382)]-0x2);if(!this[_0x3a1fb0(0x27f)]&&!_0x2dcd49(_0x45bbc1)){const _0x4931db=this[_0x3a1fb0(0x215)](Error,_0x3a1fb0(0x32f),!0x0,0x3ef,_0x3a1fb0(0x288));_0x3ed839(_0x4931db);return;}this[_0x3a1fb0(0x29b)]=!0x1,this[_0x3a1fb0(0x208)](_0x3a1fb0(0x29d),_0x1786b1,_0x45bbc1),this[_0x3a1fb0(0x209)]();}this[_0x3a1fb0(0x38a)]=_0xd13f6b;return;}this['_allowSynchronousEvents']?(this[_0x3a1fb0(0x208)](this[_0x3a1fb0(0x1e3)]===0x9?_0x3a1fb0(0x2d9):_0x3a1fb0(0x2f0),_0x474146),this[_0x3a1fb0(0x38a)]=_0xd13f6b):(this[_0x3a1fb0(0x38a)]=_0x16f22d,setImmediate(()=>{const _0x1a93dc=_0x3a1fb0;this[_0x1a93dc(0x208)](this[_0x1a93dc(0x1e3)]===0x9?'ping':_0x1a93dc(0x2f0),_0x474146),this[_0x1a93dc(0x38a)]=_0xd13f6b,this[_0x1a93dc(0x238)](_0x3ed839);}));}[_0x424095(0x215)](_0x465e63,_0x481765,_0x1da2bd,_0x14f929,_0x1ab828){const _0x16a0ee=_0x424095;this[_0x16a0ee(0x29b)]=!0x1,this[_0x16a0ee(0x349)]=!0x0;const _0x4cd056=new _0x465e63(_0x1da2bd?_0x16a0ee(0x39d)+_0x481765:_0x481765);return Error[_0x16a0ee(0x295)](_0x4cd056,this[_0x16a0ee(0x215)]),_0x4cd056[_0x16a0ee(0x393)]=_0x1ab828,_0x4cd056[_0x3311bb]=_0x14f929,_0x4cd056;}}return Se=_0x23b060,Se;}var Ee,Xe;function ft(){const _0x338f8c=_0x110165;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x2d696e}=oe,{randomFillSync:_0x18c2e4}=Le,_0x54ec48=he(),{EMPTY_BUFFER:_0x532f1c,kWebSocket:_0x19efc6,NOOP:_0x14b204}=H(),{isBlob:_0x52d32a,isValidStatusCode:_0xab4aae}=ae(),{mask:_0x5be51b,toBuffer:_0x185405}=ce(),_0x483b9c=Symbol('kByteLength'),_0x592d9a=Buffer[_0x338f8c(0x2a9)](0x4),_0x6bca7b=0x8*0x400;let _0x467216,_0x11ffec=_0x6bca7b;const _0xf81d52=0x0,_0x438350=0x1,_0x5b25b3=0x2;class _0x281728{constructor(_0x482d1a,_0xbedda5,_0x53d13f){const _0x24a41a=_0x338f8c;this[_0x24a41a(0x25c)]=_0xbedda5||{},_0x53d13f&&(this['_generateMask']=_0x53d13f,this[_0x24a41a(0x314)]=Buffer[_0x24a41a(0x2a9)](0x4)),this[_0x24a41a(0x2c9)]=_0x482d1a,this[_0x24a41a(0x2b0)]=!0x0,this[_0x24a41a(0x3a6)]=!0x1,this[_0x24a41a(0x387)]=0x0,this['_queue']=[],this[_0x24a41a(0x38a)]=_0xf81d52,this[_0x24a41a(0x2ce)]=_0x14b204,this[_0x19efc6]=void 0x0;}static[_0x338f8c(0x291)](_0x103114,_0x25eaca){const _0x166c23=_0x338f8c;let _0x478b88,_0x53f858=!0x1,_0x21cfc3=0x2,_0x2e8144=!0x1;_0x25eaca[_0x166c23(0x243)]&&(_0x478b88=_0x25eaca['maskBuffer']||_0x592d9a,_0x25eaca[_0x166c23(0x284)]?_0x25eaca[_0x166c23(0x284)](_0x478b88):(_0x11ffec===_0x6bca7b&&(_0x467216===void 0x0&&(_0x467216=Buffer[_0x166c23(0x2a9)](_0x6bca7b)),_0x18c2e4(_0x467216,0x0,_0x6bca7b),_0x11ffec=0x0),_0x478b88[0x0]=_0x467216[_0x11ffec++],_0x478b88[0x1]=_0x467216[_0x11ffec++],_0x478b88[0x2]=_0x467216[_0x11ffec++],_0x478b88[0x3]=_0x467216[_0x11ffec++]),_0x2e8144=(_0x478b88[0x0]|_0x478b88[0x1]|_0x478b88[0x2]|_0x478b88[0x3])===0x0,_0x21cfc3=0x6);let _0x2c194e;typeof _0x103114==_0x166c23(0x30d)?(!_0x25eaca[_0x166c23(0x243)]||_0x2e8144)&&_0x25eaca[_0x483b9c]!==void 0x0?_0x2c194e=_0x25eaca[_0x483b9c]:(_0x103114=Buffer[_0x166c23(0x35e)](_0x103114),_0x2c194e=_0x103114[_0x166c23(0x382)]):(_0x2c194e=_0x103114[_0x166c23(0x382)],_0x53f858=_0x25eaca['mask']&&_0x25eaca['readOnly']&&!_0x2e8144);let _0x3f3f19=_0x2c194e;_0x2c194e>=0x10000?(_0x21cfc3+=0x8,_0x3f3f19=0x7f):_0x2c194e>0x7d&&(_0x21cfc3+=0x2,_0x3f3f19=0x7e);const _0xfd5fd8=Buffer[_0x166c23(0x27a)](_0x53f858?_0x2c194e+_0x21cfc3:_0x21cfc3);return _0xfd5fd8[0x0]=_0x25eaca[_0x166c23(0x2a5)]?_0x25eaca['opcode']|0x80:_0x25eaca[_0x166c23(0x334)],_0x25eaca['rsv1']&&(_0xfd5fd8[0x0]|=0x40),_0xfd5fd8[0x1]=_0x3f3f19,_0x3f3f19===0x7e?_0xfd5fd8[_0x166c23(0x28f)](_0x2c194e,0x2):_0x3f3f19===0x7f&&(_0xfd5fd8[0x2]=_0xfd5fd8[0x3]=0x0,_0xfd5fd8['writeUIntBE'](_0x2c194e,0x4,0x6)),_0x25eaca[_0x166c23(0x243)]?(_0xfd5fd8[0x1]|=0x80,_0xfd5fd8[_0x21cfc3-0x4]=_0x478b88[0x0],_0xfd5fd8[_0x21cfc3-0x3]=_0x478b88[0x1],_0xfd5fd8[_0x21cfc3-0x2]=_0x478b88[0x2],_0xfd5fd8[_0x21cfc3-0x1]=_0x478b88[0x3],_0x2e8144?[_0xfd5fd8,_0x103114]:_0x53f858?(_0x5be51b(_0x103114,_0x478b88,_0xfd5fd8,_0x21cfc3,_0x2c194e),[_0xfd5fd8]):(_0x5be51b(_0x103114,_0x478b88,_0x103114,0x0,_0x2c194e),[_0xfd5fd8,_0x103114])):[_0xfd5fd8,_0x103114];}['close'](_0x393a5e,_0x221b90,_0xff355e,_0x359d69){const _0x46a0b4=_0x338f8c;let _0x1014ef;if(_0x393a5e===void 0x0)_0x1014ef=_0x532f1c;else{if(typeof _0x393a5e!=_0x46a0b4(0x244)||!_0xab4aae(_0x393a5e))throw new TypeError(_0x46a0b4(0x205));if(_0x221b90===void 0x0||!_0x221b90[_0x46a0b4(0x382)])_0x1014ef=Buffer[_0x46a0b4(0x27a)](0x2),_0x1014ef[_0x46a0b4(0x28f)](_0x393a5e,0x0);else{const _0x50a545=Buffer[_0x46a0b4(0x240)](_0x221b90);if(_0x50a545>0x7b)throw new RangeError(_0x46a0b4(0x298));_0x1014ef=Buffer['allocUnsafe'](0x2+_0x50a545),_0x1014ef['writeUInt16BE'](_0x393a5e,0x0),typeof _0x221b90==_0x46a0b4(0x30d)?_0x1014ef[_0x46a0b4(0x301)](_0x221b90,0x2):_0x1014ef[_0x46a0b4(0x375)](_0x221b90,0x2);}}const _0x98cd0d={[_0x483b9c]:_0x1014ef[_0x46a0b4(0x382)],'fin':!0x0,'generateMask':this[_0x46a0b4(0x33f)],'mask':_0xff355e,'maskBuffer':this[_0x46a0b4(0x314)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x46a0b4(0x38a)]!==_0xf81d52?this[_0x46a0b4(0x33b)]([this['dispatch'],_0x1014ef,!0x1,_0x98cd0d,_0x359d69]):this['sendFrame'](_0x281728[_0x46a0b4(0x291)](_0x1014ef,_0x98cd0d),_0x359d69);}[_0x338f8c(0x2d9)](_0x2cdded,_0xd22223,_0x1e531f){const _0x3cb60b=_0x338f8c;let _0x2e5e90,_0x36bb81;if(typeof _0x2cdded==_0x3cb60b(0x30d)?(_0x2e5e90=Buffer[_0x3cb60b(0x240)](_0x2cdded),_0x36bb81=!0x1):_0x52d32a(_0x2cdded)?(_0x2e5e90=_0x2cdded[_0x3cb60b(0x23d)],_0x36bb81=!0x1):(_0x2cdded=_0x185405(_0x2cdded),_0x2e5e90=_0x2cdded[_0x3cb60b(0x382)],_0x36bb81=_0x185405[_0x3cb60b(0x2b8)]),_0x2e5e90>0x7d)throw new RangeError(_0x3cb60b(0x2df));const _0x2513af={[_0x483b9c]:_0x2e5e90,'fin':!0x0,'generateMask':this[_0x3cb60b(0x33f)],'mask':_0xd22223,'maskBuffer':this[_0x3cb60b(0x314)],'opcode':0x9,'readOnly':_0x36bb81,'rsv1':!0x1};_0x52d32a(_0x2cdded)?this['_state']!==_0xf81d52?this[_0x3cb60b(0x33b)]([this[_0x3cb60b(0x37c)],_0x2cdded,!0x1,_0x2513af,_0x1e531f]):this[_0x3cb60b(0x37c)](_0x2cdded,!0x1,_0x2513af,_0x1e531f):this[_0x3cb60b(0x38a)]!==_0xf81d52?this[_0x3cb60b(0x33b)]([this['dispatch'],_0x2cdded,!0x1,_0x2513af,_0x1e531f]):this[_0x3cb60b(0x2cd)](_0x281728[_0x3cb60b(0x291)](_0x2cdded,_0x2513af),_0x1e531f);}['pong'](_0x35babf,_0x5bc659,_0x2bb8e8){const _0x185415=_0x338f8c;let _0x5ebd97,_0x4e5ae8;if(typeof _0x35babf==_0x185415(0x30d)?(_0x5ebd97=Buffer[_0x185415(0x240)](_0x35babf),_0x4e5ae8=!0x1):_0x52d32a(_0x35babf)?(_0x5ebd97=_0x35babf[_0x185415(0x23d)],_0x4e5ae8=!0x1):(_0x35babf=_0x185405(_0x35babf),_0x5ebd97=_0x35babf[_0x185415(0x382)],_0x4e5ae8=_0x185405[_0x185415(0x2b8)]),_0x5ebd97>0x7d)throw new RangeError(_0x185415(0x2df));const _0x2c5b92={[_0x483b9c]:_0x5ebd97,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5bc659,'maskBuffer':this[_0x185415(0x314)],'opcode':0xa,'readOnly':_0x4e5ae8,'rsv1':!0x1};_0x52d32a(_0x35babf)?this[_0x185415(0x38a)]!==_0xf81d52?this['enqueue']([this['getBlobData'],_0x35babf,!0x1,_0x2c5b92,_0x2bb8e8]):this[_0x185415(0x37c)](_0x35babf,!0x1,_0x2c5b92,_0x2bb8e8):this[_0x185415(0x38a)]!==_0xf81d52?this[_0x185415(0x33b)]([this[_0x185415(0x1f6)],_0x35babf,!0x1,_0x2c5b92,_0x2bb8e8]):this['sendFrame'](_0x281728[_0x185415(0x291)](_0x35babf,_0x2c5b92),_0x2bb8e8);}['send'](_0x8edf1c,_0x22bf5f,_0x283c36){const _0x4b8513=_0x338f8c,_0x4a2f45=this['_extensions'][_0x54ec48['extensionName']];let _0x2c70b8=_0x22bf5f[_0x4b8513(0x2d6)]?0x2:0x1,_0x822747=_0x22bf5f[_0x4b8513(0x204)],_0x4bf56,_0x3cad67;typeof _0x8edf1c==_0x4b8513(0x30d)?(_0x4bf56=Buffer[_0x4b8513(0x240)](_0x8edf1c),_0x3cad67=!0x1):_0x52d32a(_0x8edf1c)?(_0x4bf56=_0x8edf1c[_0x4b8513(0x23d)],_0x3cad67=!0x1):(_0x8edf1c=_0x185405(_0x8edf1c),_0x4bf56=_0x8edf1c[_0x4b8513(0x382)],_0x3cad67=_0x185405[_0x4b8513(0x2b8)]),this[_0x4b8513(0x2b0)]?(this['_firstFragment']=!0x1,_0x822747&&_0x4a2f45&&_0x4a2f45['params'][_0x4a2f45[_0x4b8513(0x2a6)]?_0x4b8513(0x2d3):_0x4b8513(0x3a9)]&&(_0x822747=_0x4bf56>=_0x4a2f45[_0x4b8513(0x1f2)]),this[_0x4b8513(0x3a6)]=_0x822747):(_0x822747=!0x1,_0x2c70b8=0x0),_0x22bf5f[_0x4b8513(0x2a5)]&&(this['_firstFragment']=!0x0);const _0x4a887b={[_0x483b9c]:_0x4bf56,'fin':_0x22bf5f[_0x4b8513(0x2a5)],'generateMask':this[_0x4b8513(0x33f)],'mask':_0x22bf5f[_0x4b8513(0x243)],'maskBuffer':this[_0x4b8513(0x314)],'opcode':_0x2c70b8,'readOnly':_0x3cad67,'rsv1':_0x822747};_0x52d32a(_0x8edf1c)?this[_0x4b8513(0x38a)]!==_0xf81d52?this[_0x4b8513(0x33b)]([this['getBlobData'],_0x8edf1c,this['_compress'],_0x4a887b,_0x283c36]):this[_0x4b8513(0x37c)](_0x8edf1c,this[_0x4b8513(0x3a6)],_0x4a887b,_0x283c36):this[_0x4b8513(0x38a)]!==_0xf81d52?this[_0x4b8513(0x33b)]([this[_0x4b8513(0x1f6)],_0x8edf1c,this['_compress'],_0x4a887b,_0x283c36]):this['dispatch'](_0x8edf1c,this[_0x4b8513(0x3a6)],_0x4a887b,_0x283c36);}[_0x338f8c(0x37c)](_0x184aaa,_0x14693d,_0x3c3438,_0x4e036b){const _0x456fb0=_0x338f8c;this[_0x456fb0(0x387)]+=_0x3c3438[_0x483b9c],this[_0x456fb0(0x38a)]=_0x5b25b3,_0x184aaa[_0x456fb0(0x22d)]()[_0x456fb0(0x269)](_0x133ae2=>{const _0x1e456a=_0x456fb0;if(this[_0x1e456a(0x2c9)][_0x1e456a(0x363)]){const _0x347db9=new Error(_0x1e456a(0x24d));process[_0x1e456a(0x29c)](_0x3a48f9,this,_0x347db9,_0x4e036b);return;}this[_0x1e456a(0x387)]-=_0x3c3438[_0x483b9c];const _0x475c16=_0x185405(_0x133ae2);_0x14693d?this[_0x1e456a(0x1f6)](_0x475c16,_0x14693d,_0x3c3438,_0x4e036b):(this[_0x1e456a(0x38a)]=_0xf81d52,this['sendFrame'](_0x281728[_0x1e456a(0x291)](_0x475c16,_0x3c3438),_0x4e036b),this['dequeue']());})['catch'](_0x38408a=>{const _0x2f070b=_0x456fb0;process[_0x2f070b(0x29c)](_0x1a3f53,this,_0x38408a,_0x4e036b);});}['dispatch'](_0x3bd842,_0x4fe0c5,_0xb81d97,_0x28d13c){const _0x5c1ae1=_0x338f8c;if(!_0x4fe0c5){this[_0x5c1ae1(0x2cd)](_0x281728[_0x5c1ae1(0x291)](_0x3bd842,_0xb81d97),_0x28d13c);return;}const _0x298187=this[_0x5c1ae1(0x25c)][_0x54ec48[_0x5c1ae1(0x381)]];this['_bufferedBytes']+=_0xb81d97[_0x483b9c],this[_0x5c1ae1(0x38a)]=_0x438350,_0x298187[_0x5c1ae1(0x204)](_0x3bd842,_0xb81d97[_0x5c1ae1(0x2a5)],(_0xe64d36,_0x610601)=>{const _0x4244bf=_0x5c1ae1;if(this[_0x4244bf(0x2c9)]['destroyed']){const _0x3b8726=new Error(_0x4244bf(0x368));_0x3a48f9(this,_0x3b8726,_0x28d13c);return;}this[_0x4244bf(0x387)]-=_0xb81d97[_0x483b9c],this[_0x4244bf(0x38a)]=_0xf81d52,_0xb81d97[_0x4244bf(0x2b8)]=!0x1,this['sendFrame'](_0x281728[_0x4244bf(0x291)](_0x610601,_0xb81d97),_0x28d13c),this[_0x4244bf(0x2b4)]();});}[_0x338f8c(0x2b4)](){const _0xe2db80=_0x338f8c;for(;this[_0xe2db80(0x38a)]===_0xf81d52&&this[_0xe2db80(0x2c8)][_0xe2db80(0x382)];){const _0x4011b6=this[_0xe2db80(0x2c8)][_0xe2db80(0x264)]();this[_0xe2db80(0x387)]-=_0x4011b6[0x3][_0x483b9c],Reflect[_0xe2db80(0x2bf)](_0x4011b6[0x0],this,_0x4011b6[_0xe2db80(0x360)](0x1));}}['enqueue'](_0x2b97a6){const _0x3f2c8e=_0x338f8c;this[_0x3f2c8e(0x387)]+=_0x2b97a6[0x3][_0x483b9c],this[_0x3f2c8e(0x2c8)][_0x3f2c8e(0x376)](_0x2b97a6);}[_0x338f8c(0x2cd)](_0x36a986,_0x297e4e){const _0x2f238c=_0x338f8c;_0x36a986[_0x2f238c(0x382)]===0x2?(this[_0x2f238c(0x2c9)][_0x2f238c(0x26a)](),this['_socket'][_0x2f238c(0x301)](_0x36a986[0x0]),this['_socket']['write'](_0x36a986[0x1],_0x297e4e),this[_0x2f238c(0x2c9)][_0x2f238c(0x1e4)]()):this[_0x2f238c(0x2c9)][_0x2f238c(0x301)](_0x36a986[0x0],_0x297e4e);}}Ee=_0x281728;function _0x3a48f9(_0x13b1d0,_0x5988f0,_0x3c2495){const _0x221bb1=_0x338f8c;typeof _0x3c2495==_0x221bb1(0x350)&&_0x3c2495(_0x5988f0);for(let _0x2837c1=0x0;_0x2837c1<_0x13b1d0['_queue'][_0x221bb1(0x382)];_0x2837c1++){const _0x13085f=_0x13b1d0['_queue'][_0x2837c1],_0x46235c=_0x13085f[_0x13085f[_0x221bb1(0x382)]-0x1];typeof _0x46235c=='function'&&_0x46235c(_0x5988f0);}}function _0x1a3f53(_0x9c62c6,_0x4f5584,_0x5093ce){const _0x5740c7=_0x338f8c;_0x3a48f9(_0x9c62c6,_0x4f5584,_0x5093ce),_0x9c62c6[_0x5740c7(0x2ce)](_0x4f5584);}return Ee;}var xe,Ze;function It(){const _0x204a84=_0x110165;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4efcd1,kListener:_0x168319}=H(),_0x12dab6=Symbol(_0x204a84(0x391)),_0x32b866=Symbol(_0x204a84(0x2e3)),_0x52f462=Symbol(_0x204a84(0x2a0)),_0x2a944f=Symbol(_0x204a84(0x38e)),_0x5e0a3c=Symbol('kReason'),_0x4f677a=Symbol(_0x204a84(0x1ff)),_0x3d1cd3=Symbol('kType'),_0x238e44=Symbol(_0x204a84(0x1e0));class _0x5f0d01{constructor(_0x4061d1){this[_0x4f677a]=null,this[_0x3d1cd3]=_0x4061d1;}get[_0x204a84(0x26d)](){return this[_0x4f677a];}get[_0x204a84(0x2ae)](){return this[_0x3d1cd3];}}Object['defineProperty'](_0x5f0d01[_0x204a84(0x1f4)],_0x204a84(0x26d),{'enumerable':!0x0}),Object[_0x204a84(0x385)](_0x5f0d01[_0x204a84(0x1f4)],_0x204a84(0x2ae),{'enumerable':!0x0});class _0x4b12fb extends _0x5f0d01{constructor(_0x3c0d2e,_0xf7dd0a={}){const _0xae4516=_0x204a84;super(_0x3c0d2e),this[_0x12dab6]=_0xf7dd0a[_0xae4516(0x393)]===void 0x0?0x0:_0xf7dd0a['code'],this[_0x5e0a3c]=_0xf7dd0a['reason']===void 0x0?'':_0xf7dd0a['reason'],this[_0x238e44]=_0xf7dd0a[_0xae4516(0x225)]===void 0x0?!0x1:_0xf7dd0a['wasClean'];}get[_0x204a84(0x393)](){return this[_0x12dab6];}get[_0x204a84(0x2fb)](){return this[_0x5e0a3c];}get[_0x204a84(0x225)](){return this[_0x238e44];}}Object[_0x204a84(0x385)](_0x4b12fb[_0x204a84(0x1f4)],_0x204a84(0x393),{'enumerable':!0x0}),Object[_0x204a84(0x385)](_0x4b12fb[_0x204a84(0x1f4)],'reason',{'enumerable':!0x0}),Object[_0x204a84(0x385)](_0x4b12fb[_0x204a84(0x1f4)],_0x204a84(0x225),{'enumerable':!0x0});class _0x1304fc extends _0x5f0d01{constructor(_0x32519a,_0x5210d5={}){const _0x3bc653=_0x204a84;super(_0x32519a),this[_0x52f462]=_0x5210d5[_0x3bc653(0x22e)]===void 0x0?null:_0x5210d5[_0x3bc653(0x22e)],this[_0x2a944f]=_0x5210d5[_0x3bc653(0x23a)]===void 0x0?'':_0x5210d5['message'];}get[_0x204a84(0x22e)](){return this[_0x52f462];}get['message'](){return this[_0x2a944f];}}Object[_0x204a84(0x385)](_0x1304fc[_0x204a84(0x1f4)],_0x204a84(0x22e),{'enumerable':!0x0}),Object['defineProperty'](_0x1304fc[_0x204a84(0x1f4)],_0x204a84(0x23a),{'enumerable':!0x0});class _0x440d5 extends _0x5f0d01{constructor(_0x2aa239,_0xdc72b8={}){const _0x377ba2=_0x204a84;super(_0x2aa239),this[_0x32b866]=_0xdc72b8[_0x377ba2(0x2f7)]===void 0x0?null:_0xdc72b8[_0x377ba2(0x2f7)];}get[_0x204a84(0x2f7)](){return this[_0x32b866];}}Object[_0x204a84(0x385)](_0x440d5['prototype'],_0x204a84(0x2f7),{'enumerable':!0x0}),xe={'CloseEvent':_0x4b12fb,'ErrorEvent':_0x1304fc,'Event':_0x5f0d01,'EventTarget':{'addEventListener'(_0xbaae3c,_0xc7edd1,_0x191a7d={}){const _0x25d1d7=_0x204a84;for(const _0x4977e9 of this['listeners'](_0xbaae3c))if(!_0x191a7d[_0x4efcd1]&&_0x4977e9[_0x168319]===_0xc7edd1&&!_0x4977e9[_0x4efcd1])return;let _0x14f9cb;if(_0xbaae3c==='message')_0x14f9cb=function(_0x22b3ea,_0xdc9b04){const _0x535225=_0x19d0,_0xbfffad=new _0x440d5(_0x535225(0x23a),{'data':_0xdc9b04?_0x22b3ea:_0x22b3ea[_0x535225(0x28c)]()});_0xbfffad[_0x4f677a]=this,_0x27fafd(_0xc7edd1,this,_0xbfffad);};else{if(_0xbaae3c===_0x25d1d7(0x25a))_0x14f9cb=function(_0x513360,_0x3a2a71){const _0x21a409=_0x25d1d7,_0x1d0fab=new _0x4b12fb(_0x21a409(0x25a),{'code':_0x513360,'reason':_0x3a2a71[_0x21a409(0x28c)](),'wasClean':this['_closeFrameReceived']&&this[_0x21a409(0x2b7)]});_0x1d0fab[_0x4f677a]=this,_0x27fafd(_0xc7edd1,this,_0x1d0fab);};else{if(_0xbaae3c===_0x25d1d7(0x22e))_0x14f9cb=function(_0x50ac4c){const _0x423eb0=_0x25d1d7,_0x204a29=new _0x1304fc(_0x423eb0(0x22e),{'error':_0x50ac4c,'message':_0x50ac4c[_0x423eb0(0x23a)]});_0x204a29[_0x4f677a]=this,_0x27fafd(_0xc7edd1,this,_0x204a29);};else{if(_0xbaae3c===_0x25d1d7(0x1ec))_0x14f9cb=function(){const _0x15a8d3=new _0x5f0d01('open');_0x15a8d3[_0x4f677a]=this,_0x27fafd(_0xc7edd1,this,_0x15a8d3);};else return;}}}_0x14f9cb[_0x4efcd1]=!!_0x191a7d[_0x4efcd1],_0x14f9cb[_0x168319]=_0xc7edd1,_0x191a7d[_0x25d1d7(0x27c)]?this[_0x25d1d7(0x27c)](_0xbaae3c,_0x14f9cb):this['on'](_0xbaae3c,_0x14f9cb);},'removeEventListener'(_0x9c4422,_0xfe1fc9){const _0x4dc248=_0x204a84;for(const _0x56464a of this[_0x4dc248(0x220)](_0x9c4422))if(_0x56464a[_0x168319]===_0xfe1fc9&&!_0x56464a[_0x4efcd1]){this[_0x4dc248(0x372)](_0x9c4422,_0x56464a);break;}}},'MessageEvent':_0x440d5};function _0x27fafd(_0x4525a0,_0x33c14e,_0x5091bf){const _0x4bde12=_0x204a84;typeof _0x4525a0==_0x4bde12(0x39c)&&_0x4525a0['handleEvent']?_0x4525a0[_0x4bde12(0x338)][_0x4bde12(0x2bc)](_0x4525a0,_0x5091bf):_0x4525a0['call'](_0x33c14e,_0x5091bf);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x22f01f}=ae();function _0x4dd192(_0x2a78df,_0x358e81,_0x3f04e2){const _0x2f72ab=_0x19d0;_0x2a78df[_0x358e81]===void 0x0?_0x2a78df[_0x358e81]=[_0x3f04e2]:_0x2a78df[_0x358e81][_0x2f72ab(0x376)](_0x3f04e2);}function _0x2e5d8b(_0x104edb){const _0x81968e=_0x19d0,_0x4d31c4=Object[_0x81968e(0x281)](null);let _0x2fd29a=Object['create'](null),_0x2b114c=!0x1,_0x1a83cf=!0x1,_0x22e20f=!0x1,_0x5ec79b,_0x857f9f,_0x5e0008=-0x1,_0x1f2c73=-0x1,_0x4ee78e=-0x1,_0x527dae=0x0;for(;_0x527dae<_0x104edb['length'];_0x527dae++)if(_0x1f2c73=_0x104edb['charCodeAt'](_0x527dae),_0x5ec79b===void 0x0){if(_0x4ee78e===-0x1&&_0x22f01f[_0x1f2c73]===0x1)_0x5e0008===-0x1&&(_0x5e0008=_0x527dae);else{if(_0x527dae!==0x0&&(_0x1f2c73===0x20||_0x1f2c73===0x9))_0x4ee78e===-0x1&&_0x5e0008!==-0x1&&(_0x4ee78e=_0x527dae);else{if(_0x1f2c73===0x3b||_0x1f2c73===0x2c){if(_0x5e0008===-0x1)throw new SyntaxError(_0x81968e(0x235)+_0x527dae);_0x4ee78e===-0x1&&(_0x4ee78e=_0x527dae);const _0x396eb9=_0x104edb[_0x81968e(0x360)](_0x5e0008,_0x4ee78e);_0x1f2c73===0x2c?(_0x4dd192(_0x4d31c4,_0x396eb9,_0x2fd29a),_0x2fd29a=Object[_0x81968e(0x281)](null)):_0x5ec79b=_0x396eb9,_0x5e0008=_0x4ee78e=-0x1;}else throw new SyntaxError(_0x81968e(0x235)+_0x527dae);}}}else{if(_0x857f9f===void 0x0){if(_0x4ee78e===-0x1&&_0x22f01f[_0x1f2c73]===0x1)_0x5e0008===-0x1&&(_0x5e0008=_0x527dae);else{if(_0x1f2c73===0x20||_0x1f2c73===0x9)_0x4ee78e===-0x1&&_0x5e0008!==-0x1&&(_0x4ee78e=_0x527dae);else{if(_0x1f2c73===0x3b||_0x1f2c73===0x2c){if(_0x5e0008===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x527dae);_0x4ee78e===-0x1&&(_0x4ee78e=_0x527dae),_0x4dd192(_0x2fd29a,_0x104edb[_0x81968e(0x360)](_0x5e0008,_0x4ee78e),!0x0),_0x1f2c73===0x2c&&(_0x4dd192(_0x4d31c4,_0x5ec79b,_0x2fd29a),_0x2fd29a=Object['create'](null),_0x5ec79b=void 0x0),_0x5e0008=_0x4ee78e=-0x1;}else{if(_0x1f2c73===0x3d&&_0x5e0008!==-0x1&&_0x4ee78e===-0x1)_0x857f9f=_0x104edb[_0x81968e(0x360)](_0x5e0008,_0x527dae),_0x5e0008=_0x4ee78e=-0x1;else throw new SyntaxError(_0x81968e(0x235)+_0x527dae);}}}}else{if(_0x1a83cf){if(_0x22f01f[_0x1f2c73]!==0x1)throw new SyntaxError(_0x81968e(0x235)+_0x527dae);_0x5e0008===-0x1?_0x5e0008=_0x527dae:_0x2b114c||(_0x2b114c=!0x0),_0x1a83cf=!0x1;}else{if(_0x22e20f){if(_0x22f01f[_0x1f2c73]===0x1)_0x5e0008===-0x1&&(_0x5e0008=_0x527dae);else{if(_0x1f2c73===0x22&&_0x5e0008!==-0x1)_0x22e20f=!0x1,_0x4ee78e=_0x527dae;else{if(_0x1f2c73===0x5c)_0x1a83cf=!0x0;else throw new SyntaxError(_0x81968e(0x235)+_0x527dae);}}}else{if(_0x1f2c73===0x22&&_0x104edb[_0x81968e(0x2db)](_0x527dae-0x1)===0x3d)_0x22e20f=!0x0;else{if(_0x4ee78e===-0x1&&_0x22f01f[_0x1f2c73]===0x1)_0x5e0008===-0x1&&(_0x5e0008=_0x527dae);else{if(_0x5e0008!==-0x1&&(_0x1f2c73===0x20||_0x1f2c73===0x9))_0x4ee78e===-0x1&&(_0x4ee78e=_0x527dae);else{if(_0x1f2c73===0x3b||_0x1f2c73===0x2c){if(_0x5e0008===-0x1)throw new SyntaxError(_0x81968e(0x235)+_0x527dae);_0x4ee78e===-0x1&&(_0x4ee78e=_0x527dae);let _0x426636=_0x104edb[_0x81968e(0x360)](_0x5e0008,_0x4ee78e);_0x2b114c&&(_0x426636=_0x426636[_0x81968e(0x2ac)](/\\/g,''),_0x2b114c=!0x1),_0x4dd192(_0x2fd29a,_0x857f9f,_0x426636),_0x1f2c73===0x2c&&(_0x4dd192(_0x4d31c4,_0x5ec79b,_0x2fd29a),_0x2fd29a=Object[_0x81968e(0x281)](null),_0x5ec79b=void 0x0),_0x857f9f=void 0x0,_0x5e0008=_0x4ee78e=-0x1;}else throw new SyntaxError(_0x81968e(0x235)+_0x527dae);}}}}}}}if(_0x5e0008===-0x1||_0x22e20f||_0x1f2c73===0x20||_0x1f2c73===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x4ee78e===-0x1&&(_0x4ee78e=_0x527dae);const _0x2f4918=_0x104edb[_0x81968e(0x360)](_0x5e0008,_0x4ee78e);return _0x5ec79b===void 0x0?_0x4dd192(_0x4d31c4,_0x2f4918,_0x2fd29a):(_0x857f9f===void 0x0?_0x4dd192(_0x2fd29a,_0x2f4918,!0x0):_0x2b114c?_0x4dd192(_0x2fd29a,_0x857f9f,_0x2f4918[_0x81968e(0x2ac)](/\\/g,'')):_0x4dd192(_0x2fd29a,_0x857f9f,_0x2f4918),_0x4dd192(_0x4d31c4,_0x5ec79b,_0x2fd29a)),_0x4d31c4;}function _0x385c06(_0x4498e1){const _0x3889d5=_0x19d0;return Object[_0x3889d5(0x354)](_0x4498e1)[_0x3889d5(0x30f)](_0x49bf13=>{const _0x315cf7=_0x3889d5;let _0x111fe2=_0x4498e1[_0x49bf13];return Array[_0x315cf7(0x25f)](_0x111fe2)||(_0x111fe2=[_0x111fe2]),_0x111fe2[_0x315cf7(0x30f)](_0x3540eb=>[_0x49bf13][_0x315cf7(0x247)](Object['keys'](_0x3540eb)['map'](_0x51917a=>{const _0x7c6efe=_0x315cf7;let _0x17f406=_0x3540eb[_0x51917a];return Array[_0x7c6efe(0x25f)](_0x17f406)||(_0x17f406=[_0x17f406]),_0x17f406[_0x7c6efe(0x30f)](_0x3a7333=>_0x3a7333===!0x0?_0x51917a:_0x51917a+'='+_0x3a7333)[_0x7c6efe(0x316)](';\x20');}))[_0x315cf7(0x316)](';\x20'))[_0x315cf7(0x316)](',\x20');})['join'](',\x20');}return be={'format':_0x385c06,'parse':_0x2e5d8b},be;}var we,Je;function Pe(){const _0x16a0c6=_0x110165;if(Je)return we;Je=0x1;const _0x31b145=nt,_0x226cc7=vt,_0x489b79=ot,_0x17adc4=St,_0x15a47a=Et,{randomBytes:_0x4be520,createHash:_0x500d25}=Le,{Duplex:_0x1b1ffe,Readable:_0x2728a0}=oe,{URL:_0x24ddb9}=xt,_0x27419c=he(),_0x3c0bc1=lt(),_0x1f7a09=ft(),{isBlob:_0x23e414}=ae(),{BINARY_TYPES:_0x167082,EMPTY_BUFFER:_0x1625d8,GUID:_0x5a268e,kForOnEventAttribute:_0x447567,kListener:_0x1cd6c6,kStatusCode:_0x1167fc,kWebSocket:_0x2ca5db,NOOP:_0x2ba709}=H(),{EventTarget:{addEventListener:_0x140a43,removeEventListener:_0x19d559}}=It(),{format:_0x2f0a24,parse:_0x23cbdc}=ct(),{toBuffer:_0x464e10}=ce(),_0x11f599=0x1e*0x3e8,_0x1579e0=Symbol(_0x16a0c6(0x2cf)),_0x20a31a=[0x8,0xd],_0x1c1008=['CONNECTING',_0x16a0c6(0x352),_0x16a0c6(0x287),_0x16a0c6(0x386)],_0x40ffb8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1ba936 extends _0x31b145{constructor(_0x193476,_0xffa93e,_0x9fbeab){const _0x1b1ea9=_0x16a0c6;super(),this['_binaryType']=_0x167082[0x0],this['_closeCode']=0x3ee,this[_0x1b1ea9(0x2c4)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x1625d8,this[_0x1b1ea9(0x394)]=null,this['_errorEmitted']=!0x1,this[_0x1b1ea9(0x25c)]={},this['_paused']=!0x1,this[_0x1b1ea9(0x234)]='',this['_readyState']=_0x1ba936[_0x1b1ea9(0x212)],this['_receiver']=null,this[_0x1b1ea9(0x2c6)]=null,this[_0x1b1ea9(0x2c9)]=null,_0x193476!==null?(this[_0x1b1ea9(0x3a4)]=0x0,this[_0x1b1ea9(0x2a6)]=!0x1,this['_redirects']=0x0,_0xffa93e===void 0x0?_0xffa93e=[]:Array[_0x1b1ea9(0x25f)](_0xffa93e)||(typeof _0xffa93e==_0x1b1ea9(0x39c)&&_0xffa93e!==null?(_0x9fbeab=_0xffa93e,_0xffa93e=[]):_0xffa93e=[_0xffa93e]),_0x26334b(this,_0x193476,_0xffa93e,_0x9fbeab)):(this[_0x1b1ea9(0x21f)]=_0x9fbeab[_0x1b1ea9(0x2e5)],this['_isServer']=!0x0);}get[_0x16a0c6(0x2ba)](){const _0x3652db=_0x16a0c6;return this[_0x3652db(0x2e6)];}set[_0x16a0c6(0x2ba)](_0x1fe103){const _0x4e79d3=_0x16a0c6;_0x167082[_0x4e79d3(0x2ca)](_0x1fe103)&&(this[_0x4e79d3(0x2e6)]=_0x1fe103,this[_0x4e79d3(0x2ab)]&&(this[_0x4e79d3(0x2ab)][_0x4e79d3(0x2e6)]=_0x1fe103));}get[_0x16a0c6(0x332)](){const _0x12844c=_0x16a0c6;return this['_socket']?this['_socket'][_0x12844c(0x38f)]['length']+this[_0x12844c(0x2c6)][_0x12844c(0x387)]:this[_0x12844c(0x3a4)];}get[_0x16a0c6(0x260)](){const _0x472802=_0x16a0c6;return Object[_0x472802(0x354)](this[_0x472802(0x25c)])['join']();}get['isPaused'](){const _0x394599=_0x16a0c6;return this[_0x394599(0x1ee)];}get[_0x16a0c6(0x307)](){return null;}get[_0x16a0c6(0x2ce)](){return null;}get[_0x16a0c6(0x303)](){return null;}get[_0x16a0c6(0x201)](){return null;}get['protocol'](){return this['_protocol'];}get[_0x16a0c6(0x351)](){return this['_readyState'];}get['url'](){const _0x20c4f7=_0x16a0c6;return this[_0x20c4f7(0x280)];}[_0x16a0c6(0x270)](_0x2e31d9,_0x34099a,_0x471297){const _0x549952=_0x16a0c6,_0x3b8a4d=new _0x3c0bc1({'allowSynchronousEvents':_0x471297[_0x549952(0x311)],'binaryType':this[_0x549952(0x2ba)],'extensions':this[_0x549952(0x25c)],'isServer':this['_isServer'],'maxPayload':_0x471297[_0x549952(0x223)],'skipUTF8Validation':_0x471297[_0x549952(0x362)]}),_0x39d9ad=new _0x1f7a09(_0x2e31d9,this[_0x549952(0x25c)],_0x471297[_0x549952(0x284)]);this[_0x549952(0x2ab)]=_0x3b8a4d,this['_sender']=_0x39d9ad,this[_0x549952(0x2c9)]=_0x2e31d9,_0x3b8a4d[_0x2ca5db]=this,_0x39d9ad[_0x2ca5db]=this,_0x2e31d9[_0x2ca5db]=this,_0x3b8a4d['on']('conclude',_0x17c057),_0x3b8a4d['on'](_0x549952(0x29a),_0x41a3bc),_0x3b8a4d['on'](_0x549952(0x22e),_0x55f9f5),_0x3b8a4d['on']('message',_0x1defab),_0x3b8a4d['on'](_0x549952(0x2d9),_0x5d9e4c),_0x3b8a4d['on'](_0x549952(0x2f0),_0x3eccfc),_0x39d9ad[_0x549952(0x2ce)]=_0x17d2b5,_0x2e31d9[_0x549952(0x300)]&&_0x2e31d9[_0x549952(0x300)](0x0),_0x2e31d9[_0x549952(0x34c)]&&_0x2e31d9[_0x549952(0x34c)](),_0x34099a['length']>0x0&&_0x2e31d9[_0x549952(0x21a)](_0x34099a),_0x2e31d9['on']('close',_0x5b7d06),_0x2e31d9['on']('data',_0x7c32e9),_0x2e31d9['on'](_0x549952(0x209),_0x3aceb5),_0x2e31d9['on']('error',_0x5f344b),this[_0x549952(0x2f1)]=_0x1ba936['OPEN'],this['emit'](_0x549952(0x1ec));}[_0x16a0c6(0x321)](){const _0x5d218a=_0x16a0c6;if(!this[_0x5d218a(0x2c9)]){this[_0x5d218a(0x2f1)]=_0x1ba936[_0x5d218a(0x386)],this[_0x5d218a(0x208)](_0x5d218a(0x25a),this[_0x5d218a(0x242)],this[_0x5d218a(0x279)]);return;}this[_0x5d218a(0x25c)][_0x27419c[_0x5d218a(0x381)]]&&this[_0x5d218a(0x25c)][_0x27419c[_0x5d218a(0x381)]][_0x5d218a(0x207)](),this[_0x5d218a(0x2ab)][_0x5d218a(0x2b9)](),this['_readyState']=_0x1ba936[_0x5d218a(0x386)],this[_0x5d218a(0x208)](_0x5d218a(0x25a),this[_0x5d218a(0x242)],this[_0x5d218a(0x279)]);}[_0x16a0c6(0x25a)](_0x180c65,_0x19586d){const _0x122a9a=_0x16a0c6;if(this[_0x122a9a(0x351)]!==_0x1ba936['CLOSED']){if(this[_0x122a9a(0x351)]===_0x1ba936[_0x122a9a(0x212)]){_0xf87e70(this,this[_0x122a9a(0x1e2)],_0x122a9a(0x2dc));return;}if(this[_0x122a9a(0x351)]===_0x1ba936[_0x122a9a(0x287)]){this[_0x122a9a(0x2b7)]&&(this[_0x122a9a(0x2c4)]||this[_0x122a9a(0x2ab)][_0x122a9a(0x38f)][_0x122a9a(0x380)])&&this[_0x122a9a(0x2c9)][_0x122a9a(0x209)]();return;}this[_0x122a9a(0x2f1)]=_0x1ba936[_0x122a9a(0x287)],this[_0x122a9a(0x2c6)][_0x122a9a(0x25a)](_0x180c65,_0x19586d,!this[_0x122a9a(0x2a6)],_0x56cad5=>{const _0x202e16=_0x122a9a;_0x56cad5||(this[_0x202e16(0x2b7)]=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState']['errorEmitted'])&&this['_socket']['end']());}),_0x3dabef(this);}}[_0x16a0c6(0x21e)](){const _0x5270fa=_0x16a0c6;this[_0x5270fa(0x351)]===_0x1ba936[_0x5270fa(0x212)]||this[_0x5270fa(0x351)]===_0x1ba936[_0x5270fa(0x386)]||(this['_paused']=!0x0,this['_socket'][_0x5270fa(0x21e)]());}[_0x16a0c6(0x2d9)](_0x308514,_0x56aade,_0x2876dd){const _0x45e760=_0x16a0c6;if(this[_0x45e760(0x351)]===_0x1ba936[_0x45e760(0x212)])throw new Error(_0x45e760(0x346));if(typeof _0x308514==_0x45e760(0x350)?(_0x2876dd=_0x308514,_0x308514=_0x56aade=void 0x0):typeof _0x56aade==_0x45e760(0x350)&&(_0x2876dd=_0x56aade,_0x56aade=void 0x0),typeof _0x308514==_0x45e760(0x244)&&(_0x308514=_0x308514[_0x45e760(0x28c)]()),this[_0x45e760(0x351)]!==_0x1ba936[_0x45e760(0x352)]){_0x4e9d1d(this,_0x308514,_0x2876dd);return;}_0x56aade===void 0x0&&(_0x56aade=!this[_0x45e760(0x2a6)]),this[_0x45e760(0x2c6)]['ping'](_0x308514||_0x1625d8,_0x56aade,_0x2876dd);}[_0x16a0c6(0x2f0)](_0x12ab98,_0x20479f,_0x1378e3){const _0x53147d=_0x16a0c6;if(this[_0x53147d(0x351)]===_0x1ba936['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x12ab98==_0x53147d(0x350)?(_0x1378e3=_0x12ab98,_0x12ab98=_0x20479f=void 0x0):typeof _0x20479f==_0x53147d(0x350)&&(_0x1378e3=_0x20479f,_0x20479f=void 0x0),typeof _0x12ab98=='number'&&(_0x12ab98=_0x12ab98[_0x53147d(0x28c)]()),this[_0x53147d(0x351)]!==_0x1ba936[_0x53147d(0x352)]){_0x4e9d1d(this,_0x12ab98,_0x1378e3);return;}_0x20479f===void 0x0&&(_0x20479f=!this['_isServer']),this[_0x53147d(0x2c6)][_0x53147d(0x2f0)](_0x12ab98||_0x1625d8,_0x20479f,_0x1378e3);}[_0x16a0c6(0x239)](){const _0x2c5de0=_0x16a0c6;this[_0x2c5de0(0x351)]===_0x1ba936[_0x2c5de0(0x212)]||this['readyState']===_0x1ba936[_0x2c5de0(0x386)]||(this[_0x2c5de0(0x1ee)]=!0x1,this[_0x2c5de0(0x2ab)][_0x2c5de0(0x38f)][_0x2c5de0(0x342)]||this['_socket'][_0x2c5de0(0x239)]());}[_0x16a0c6(0x246)](_0x3b6442,_0x450831,_0x53b482){const _0x325de0=_0x16a0c6;if(this['readyState']===_0x1ba936[_0x325de0(0x212)])throw new Error(_0x325de0(0x346));if(typeof _0x450831=='function'&&(_0x53b482=_0x450831,_0x450831={}),typeof _0x3b6442==_0x325de0(0x244)&&(_0x3b6442=_0x3b6442[_0x325de0(0x28c)]()),this[_0x325de0(0x351)]!==_0x1ba936[_0x325de0(0x352)]){_0x4e9d1d(this,_0x3b6442,_0x53b482);return;}const _0x56d5a5={'binary':typeof _0x3b6442!=_0x325de0(0x30d),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x450831};this['_extensions'][_0x27419c['extensionName']]||(_0x56d5a5[_0x325de0(0x204)]=!0x1),this[_0x325de0(0x2c6)][_0x325de0(0x246)](_0x3b6442||_0x1625d8,_0x56d5a5,_0x53b482);}[_0x16a0c6(0x39a)](){const _0x5850a3=_0x16a0c6;if(this[_0x5850a3(0x351)]!==_0x1ba936[_0x5850a3(0x386)]){if(this[_0x5850a3(0x351)]===_0x1ba936[_0x5850a3(0x212)]){_0xf87e70(this,this[_0x5850a3(0x1e2)],_0x5850a3(0x2dc));return;}this[_0x5850a3(0x2c9)]&&(this['_readyState']=_0x1ba936[_0x5850a3(0x287)],this[_0x5850a3(0x2c9)][_0x5850a3(0x340)]());}}}Object[_0x16a0c6(0x385)](_0x1ba936,'CONNECTING',{'enumerable':!0x0,'value':_0x1c1008[_0x16a0c6(0x36a)](_0x16a0c6(0x212))}),Object[_0x16a0c6(0x385)](_0x1ba936[_0x16a0c6(0x1f4)],_0x16a0c6(0x212),{'enumerable':!0x0,'value':_0x1c1008[_0x16a0c6(0x36a)](_0x16a0c6(0x212))}),Object['defineProperty'](_0x1ba936,_0x16a0c6(0x352),{'enumerable':!0x0,'value':_0x1c1008[_0x16a0c6(0x36a)](_0x16a0c6(0x352))}),Object[_0x16a0c6(0x385)](_0x1ba936[_0x16a0c6(0x1f4)],_0x16a0c6(0x352),{'enumerable':!0x0,'value':_0x1c1008['indexOf'](_0x16a0c6(0x352))}),Object[_0x16a0c6(0x385)](_0x1ba936,_0x16a0c6(0x287),{'enumerable':!0x0,'value':_0x1c1008[_0x16a0c6(0x36a)](_0x16a0c6(0x287))}),Object[_0x16a0c6(0x385)](_0x1ba936[_0x16a0c6(0x1f4)],'CLOSING',{'enumerable':!0x0,'value':_0x1c1008['indexOf'](_0x16a0c6(0x287))}),Object[_0x16a0c6(0x385)](_0x1ba936,_0x16a0c6(0x386),{'enumerable':!0x0,'value':_0x1c1008[_0x16a0c6(0x36a)]('CLOSED')}),Object[_0x16a0c6(0x385)](_0x1ba936[_0x16a0c6(0x1f4)],_0x16a0c6(0x386),{'enumerable':!0x0,'value':_0x1c1008['indexOf'](_0x16a0c6(0x386))}),[_0x16a0c6(0x2ba),_0x16a0c6(0x332),'extensions',_0x16a0c6(0x229),'protocol',_0x16a0c6(0x351),'url'][_0x16a0c6(0x361)](_0x351648=>{const _0x375a74=_0x16a0c6;Object[_0x375a74(0x385)](_0x1ba936['prototype'],_0x351648,{'enumerable':!0x0});}),[_0x16a0c6(0x1ec),_0x16a0c6(0x22e),_0x16a0c6(0x25a),_0x16a0c6(0x23a)]['forEach'](_0x5d29d6=>{const _0xce4af8=_0x16a0c6;Object[_0xce4af8(0x385)](_0x1ba936[_0xce4af8(0x1f4)],'on'+_0x5d29d6,{'enumerable':!0x0,'get'(){const _0x5dd2e4=_0xce4af8;for(const _0x10e63c of this[_0x5dd2e4(0x220)](_0x5d29d6))if(_0x10e63c[_0x447567])return _0x10e63c[_0x1cd6c6];return null;},'set'(_0x4925c7){const _0x38aa45=_0xce4af8;for(const _0x20f93d of this[_0x38aa45(0x220)](_0x5d29d6))if(_0x20f93d[_0x447567]){this[_0x38aa45(0x372)](_0x5d29d6,_0x20f93d);break;}typeof _0x4925c7==_0x38aa45(0x350)&&this[_0x38aa45(0x1e9)](_0x5d29d6,_0x4925c7,{[_0x447567]:!0x0});}});}),_0x1ba936[_0x16a0c6(0x1f4)][_0x16a0c6(0x1e9)]=_0x140a43,_0x1ba936[_0x16a0c6(0x1f4)][_0x16a0c6(0x2cc)]=_0x19d559,we=_0x1ba936;function _0x26334b(_0x5e4453,_0x5093ba,_0x1eabce,_0x2ec1c6){const _0x2a8e87=_0x16a0c6,_0x9396fc={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x20a31a[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2ec1c6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5e4453['_autoPong']=_0x9396fc['autoPong'],!_0x20a31a['includes'](_0x9396fc[_0x2a8e87(0x2fa)]))throw new RangeError(_0x2a8e87(0x255)+_0x9396fc[_0x2a8e87(0x2fa)]+_0x2a8e87(0x2ea)+_0x20a31a['join'](',\x20')+')');let _0x2001f5;if(_0x5093ba instanceof _0x24ddb9)_0x2001f5=_0x5093ba;else try{_0x2001f5=new _0x24ddb9(_0x5093ba);}catch{throw new SyntaxError(_0x2a8e87(0x1f8)+_0x5093ba);}_0x2001f5[_0x2a8e87(0x310)]===_0x2a8e87(0x38b)?_0x2001f5['protocol']=_0x2a8e87(0x292):_0x2001f5['protocol']===_0x2a8e87(0x2e8)&&(_0x2001f5[_0x2a8e87(0x310)]=_0x2a8e87(0x25d)),_0x5e4453[_0x2a8e87(0x280)]=_0x2001f5[_0x2a8e87(0x330)];const _0x2d153c=_0x2001f5[_0x2a8e87(0x310)]===_0x2a8e87(0x25d),_0x122fb0=_0x2001f5[_0x2a8e87(0x310)]===_0x2a8e87(0x28e);let _0x159ad3;if(_0x2001f5[_0x2a8e87(0x310)]!=='ws:'&&!_0x2d153c&&!_0x122fb0?_0x159ad3=_0x2a8e87(0x378):_0x122fb0&&!_0x2001f5[_0x2a8e87(0x290)]?_0x159ad3=_0x2a8e87(0x315):_0x2001f5[_0x2a8e87(0x2d5)]&&(_0x159ad3='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x159ad3){const _0x13327e=new SyntaxError(_0x159ad3);if(_0x5e4453[_0x2a8e87(0x258)]===0x0)throw _0x13327e;_0x28ee2f(_0x5e4453,_0x13327e);return;}const _0xe115a0=_0x2d153c?0x1bb:0x50,_0x37c1a0=_0x4be520(0x10)[_0x2a8e87(0x28c)](_0x2a8e87(0x227)),_0x211a96=_0x2d153c?_0x226cc7['request']:_0x489b79[_0x2a8e87(0x357)],_0x9ed563=new Set();let _0x3a2074;if(_0x9396fc[_0x2a8e87(0x35d)]=_0x9396fc[_0x2a8e87(0x35d)]||(_0x2d153c?_0x27826a:_0x150c78),_0x9396fc['defaultPort']=_0x9396fc[_0x2a8e87(0x329)]||_0xe115a0,_0x9396fc[_0x2a8e87(0x26b)]=_0x2001f5[_0x2a8e87(0x26b)]||_0xe115a0,_0x9396fc[_0x2a8e87(0x20d)]=_0x2001f5['hostname'][_0x2a8e87(0x32a)]('[')?_0x2001f5[_0x2a8e87(0x2c2)][_0x2a8e87(0x360)](0x1,-0x1):_0x2001f5[_0x2a8e87(0x2c2)],_0x9396fc[_0x2a8e87(0x21d)]={..._0x9396fc[_0x2a8e87(0x21d)],'Sec-WebSocket-Version':_0x9396fc['protocolVersion'],'Sec-WebSocket-Key':_0x37c1a0,'Connection':_0x2a8e87(0x2d4),'Upgrade':_0x2a8e87(0x1f1)},_0x9396fc[_0x2a8e87(0x233)]=_0x2001f5[_0x2a8e87(0x290)]+_0x2001f5['search'],_0x9396fc[_0x2a8e87(0x236)]=_0x9396fc[_0x2a8e87(0x374)],_0x9396fc[_0x2a8e87(0x211)]&&(_0x3a2074=new _0x27419c(_0x9396fc['perMessageDeflate']!==!0x0?_0x9396fc[_0x2a8e87(0x211)]:{},!0x1,_0x9396fc[_0x2a8e87(0x223)]),_0x9396fc[_0x2a8e87(0x21d)][_0x2a8e87(0x32c)]=_0x2f0a24({[_0x27419c['extensionName']]:_0x3a2074[_0x2a8e87(0x2f6)]()})),_0x1eabce[_0x2a8e87(0x382)]){for(const _0x50e492 of _0x1eabce){if(typeof _0x50e492!=_0x2a8e87(0x30d)||!_0x40ffb8[_0x2a8e87(0x21b)](_0x50e492)||_0x9ed563[_0x2a8e87(0x28a)](_0x50e492))throw new SyntaxError(_0x2a8e87(0x2da));_0x9ed563[_0x2a8e87(0x206)](_0x50e492);}_0x9396fc[_0x2a8e87(0x21d)][_0x2a8e87(0x323)]=_0x1eabce[_0x2a8e87(0x316)](',');}if(_0x9396fc[_0x2a8e87(0x373)]&&(_0x9396fc[_0x2a8e87(0x2fa)]<0xd?_0x9396fc[_0x2a8e87(0x21d)][_0x2a8e87(0x22f)]=_0x9396fc['origin']:_0x9396fc[_0x2a8e87(0x21d)][_0x2a8e87(0x299)]=_0x9396fc[_0x2a8e87(0x373)]),(_0x2001f5[_0x2a8e87(0x26c)]||_0x2001f5['password'])&&(_0x9396fc[_0x2a8e87(0x226)]=_0x2001f5[_0x2a8e87(0x26c)]+':'+_0x2001f5[_0x2a8e87(0x200)]),_0x122fb0){const _0x448892=_0x9396fc[_0x2a8e87(0x233)][_0x2a8e87(0x345)](':');_0x9396fc[_0x2a8e87(0x2b5)]=_0x448892[0x0],_0x9396fc[_0x2a8e87(0x233)]=_0x448892[0x1];}let _0x14d522;if(_0x9396fc[_0x2a8e87(0x202)]){if(_0x5e4453['_redirects']===0x0){_0x5e4453['_originalIpc']=_0x122fb0,_0x5e4453[_0x2a8e87(0x30b)]=_0x2d153c,_0x5e4453['_originalHostOrSocketPath']=_0x122fb0?_0x9396fc[_0x2a8e87(0x2b5)]:_0x2001f5['host'];const _0x5304d7=_0x2ec1c6&&_0x2ec1c6[_0x2a8e87(0x21d)];if(_0x2ec1c6={..._0x2ec1c6,'headers':{}},_0x5304d7){for(const [_0x455220,_0x4404be]of Object[_0x2a8e87(0x2d2)](_0x5304d7))_0x2ec1c6['headers'][_0x455220[_0x2a8e87(0x2e4)]()]=_0x4404be;}}else{if(_0x5e4453[_0x2a8e87(0x267)](_0x2a8e87(0x2ff))===0x0){const _0x59dc88=_0x122fb0?_0x5e4453['_originalIpc']?_0x9396fc[_0x2a8e87(0x2b5)]===_0x5e4453[_0x2a8e87(0x2f8)]:!0x1:_0x5e4453['_originalIpc']?!0x1:_0x2001f5[_0x2a8e87(0x20d)]===_0x5e4453[_0x2a8e87(0x2f8)];(!_0x59dc88||_0x5e4453[_0x2a8e87(0x30b)]&&!_0x2d153c)&&(delete _0x9396fc[_0x2a8e87(0x21d)]['authorization'],delete _0x9396fc[_0x2a8e87(0x21d)][_0x2a8e87(0x214)],_0x59dc88||delete _0x9396fc[_0x2a8e87(0x21d)]['host'],_0x9396fc[_0x2a8e87(0x226)]=void 0x0);}}_0x9396fc[_0x2a8e87(0x226)]&&!_0x2ec1c6[_0x2a8e87(0x21d)][_0x2a8e87(0x31b)]&&(_0x2ec1c6[_0x2a8e87(0x21d)][_0x2a8e87(0x31b)]=_0x2a8e87(0x2a4)+Buffer['from'](_0x9396fc['auth'])[_0x2a8e87(0x28c)](_0x2a8e87(0x227))),_0x14d522=_0x5e4453[_0x2a8e87(0x1e2)]=_0x211a96(_0x9396fc),_0x5e4453['_redirects']&&_0x5e4453[_0x2a8e87(0x208)](_0x2a8e87(0x2ff),_0x5e4453['url'],_0x14d522);}else _0x14d522=_0x5e4453['_req']=_0x211a96(_0x9396fc);_0x9396fc['timeout']&&_0x14d522['on'](_0x2a8e87(0x236),()=>{const _0x22ae1b=_0x2a8e87;_0xf87e70(_0x5e4453,_0x14d522,_0x22ae1b(0x2e1));}),_0x14d522['on']('error',_0x1e8909=>{const _0x5b113e=_0x2a8e87;_0x14d522===null||_0x14d522[_0x1579e0]||(_0x14d522=_0x5e4453[_0x5b113e(0x1e2)]=null,_0x28ee2f(_0x5e4453,_0x1e8909));}),_0x14d522['on'](_0x2a8e87(0x31a),_0x40f697=>{const _0x4003d5=_0x2a8e87,_0x4c7141=_0x40f697['headers'][_0x4003d5(0x2bb)],_0x557b27=_0x40f697[_0x4003d5(0x251)];if(_0x4c7141&&_0x9396fc[_0x4003d5(0x202)]&&_0x557b27>=0x12c&&_0x557b27<0x190){if(++_0x5e4453[_0x4003d5(0x258)]>_0x9396fc[_0x4003d5(0x2e2)]){_0xf87e70(_0x5e4453,_0x14d522,'Maximum\x20redirects\x20exceeded');return;}_0x14d522[_0x4003d5(0x2ee)]();let _0x23c55d;try{_0x23c55d=new _0x24ddb9(_0x4c7141,_0x5093ba);}catch{const _0x293711=new SyntaxError('Invalid\x20URL:\x20'+_0x4c7141);_0x28ee2f(_0x5e4453,_0x293711);return;}_0x26334b(_0x5e4453,_0x23c55d,_0x1eabce,_0x2ec1c6);}else _0x5e4453[_0x4003d5(0x208)](_0x4003d5(0x397),_0x14d522,_0x40f697)||_0xf87e70(_0x5e4453,_0x14d522,_0x4003d5(0x31f)+_0x40f697['statusCode']);}),_0x14d522['on'](_0x2a8e87(0x213),(_0x7096a5,_0x52f828,_0x6a5cdd)=>{const _0x5484df=_0x2a8e87;if(_0x5e4453[_0x5484df(0x208)](_0x5484df(0x213),_0x7096a5),_0x5e4453[_0x5484df(0x351)]!==_0x1ba936[_0x5484df(0x212)])return;_0x14d522=_0x5e4453['_req']=null;const _0x19139a=_0x7096a5[_0x5484df(0x21d)][_0x5484df(0x213)];if(_0x19139a===void 0x0||_0x19139a[_0x5484df(0x2e4)]()!==_0x5484df(0x1f1)){_0xf87e70(_0x5e4453,_0x52f828,_0x5484df(0x34b));return;}const _0x475217=_0x500d25(_0x5484df(0x282))['update'](_0x37c1a0+_0x5a268e)[_0x5484df(0x2c3)](_0x5484df(0x227));if(_0x7096a5[_0x5484df(0x21d)][_0x5484df(0x2f4)]!==_0x475217){_0xf87e70(_0x5e4453,_0x52f828,_0x5484df(0x218));return;}const _0x571281=_0x7096a5[_0x5484df(0x21d)][_0x5484df(0x203)];let _0x349be8;if(_0x571281!==void 0x0?_0x9ed563[_0x5484df(0x23d)]?_0x9ed563[_0x5484df(0x28a)](_0x571281)||(_0x349be8=_0x5484df(0x271)):_0x349be8=_0x5484df(0x2f2):_0x9ed563[_0x5484df(0x23d)]&&(_0x349be8=_0x5484df(0x39f)),_0x349be8){_0xf87e70(_0x5e4453,_0x52f828,_0x349be8);return;}_0x571281&&(_0x5e4453[_0x5484df(0x234)]=_0x571281);const _0x25cec6=_0x7096a5['headers']['sec-websocket-extensions'];if(_0x25cec6!==void 0x0){if(!_0x3a2074){_0xf87e70(_0x5e4453,_0x52f828,_0x5484df(0x366));return;}let _0x5cc085;try{_0x5cc085=_0x23cbdc(_0x25cec6);}catch{_0xf87e70(_0x5e4453,_0x52f828,_0x5484df(0x398));return;}const _0x325537=Object['keys'](_0x5cc085);if(_0x325537[_0x5484df(0x382)]!==0x1||_0x325537[0x0]!==_0x27419c[_0x5484df(0x381)]){_0xf87e70(_0x5e4453,_0x52f828,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3a2074[_0x5484df(0x331)](_0x5cc085[_0x27419c[_0x5484df(0x381)]]);}catch{_0xf87e70(_0x5e4453,_0x52f828,_0x5484df(0x398));return;}_0x5e4453[_0x5484df(0x25c)][_0x27419c[_0x5484df(0x381)]]=_0x3a2074;}_0x5e4453['setSocket'](_0x52f828,_0x6a5cdd,{'allowSynchronousEvents':_0x9396fc['allowSynchronousEvents'],'generateMask':_0x9396fc[_0x5484df(0x284)],'maxPayload':_0x9396fc[_0x5484df(0x223)],'skipUTF8Validation':_0x9396fc[_0x5484df(0x362)]});}),_0x9396fc['finishRequest']?_0x9396fc['finishRequest'](_0x14d522,_0x5e4453):_0x14d522[_0x2a8e87(0x209)]();}function _0x28ee2f(_0x381939,_0x137f80){const _0x4da0c9=_0x16a0c6;_0x381939[_0x4da0c9(0x2f1)]=_0x1ba936[_0x4da0c9(0x287)],_0x381939[_0x4da0c9(0x35b)]=!0x0,_0x381939[_0x4da0c9(0x208)]('error',_0x137f80),_0x381939[_0x4da0c9(0x321)]();}function _0x150c78(_0x236b9d){const _0x51b633=_0x16a0c6;return _0x236b9d['path']=_0x236b9d[_0x51b633(0x2b5)],_0x17adc4['connect'](_0x236b9d);}function _0x27826a(_0x2cbc43){const _0x5dd825=_0x16a0c6;return _0x2cbc43[_0x5dd825(0x233)]=void 0x0,!_0x2cbc43['servername']&&_0x2cbc43[_0x5dd825(0x28d)]!==''&&(_0x2cbc43[_0x5dd825(0x28d)]=_0x17adc4[_0x5dd825(0x31d)](_0x2cbc43[_0x5dd825(0x20d)])?'':_0x2cbc43['host']),_0x15a47a[_0x5dd825(0x1f9)](_0x2cbc43);}function _0xf87e70(_0x264d43,_0x2c46ba,_0x8bcffa){const _0x216771=_0x16a0c6;_0x264d43[_0x216771(0x2f1)]=_0x1ba936['CLOSING'];const _0xd5cf75=new Error(_0x8bcffa);Error[_0x216771(0x295)](_0xd5cf75,_0xf87e70),_0x2c46ba[_0x216771(0x2a2)]?(_0x2c46ba[_0x1579e0]=!0x0,_0x2c46ba['abort'](),_0x2c46ba[_0x216771(0x261)]&&!_0x2c46ba['socket'][_0x216771(0x363)]&&_0x2c46ba['socket'][_0x216771(0x340)](),process[_0x216771(0x29c)](_0x28ee2f,_0x264d43,_0xd5cf75)):(_0x2c46ba[_0x216771(0x340)](_0xd5cf75),_0x2c46ba[_0x216771(0x27c)]('error',_0x264d43[_0x216771(0x208)]['bind'](_0x264d43,'error')),_0x2c46ba[_0x216771(0x27c)](_0x216771(0x25a),_0x264d43[_0x216771(0x321)]['bind'](_0x264d43)));}function _0x4e9d1d(_0x469199,_0x2e25f9,_0x37a47d){const _0x2a62c3=_0x16a0c6;if(_0x2e25f9){const _0x46971b=_0x23e414(_0x2e25f9)?_0x2e25f9['size']:_0x464e10(_0x2e25f9)[_0x2a62c3(0x382)];_0x469199['_socket']?_0x469199[_0x2a62c3(0x2c6)][_0x2a62c3(0x387)]+=_0x46971b:_0x469199[_0x2a62c3(0x3a4)]+=_0x46971b;}if(_0x37a47d){const _0x3712cf=new Error(_0x2a62c3(0x2ed)+_0x469199[_0x2a62c3(0x351)]+'\x20('+_0x1c1008[_0x469199[_0x2a62c3(0x351)]]+')');process['nextTick'](_0x37a47d,_0x3712cf);}}function _0x17c057(_0x4a5818,_0x4230bb){const _0x5aa1ec=_0x16a0c6,_0x103c92=this[_0x2ca5db];_0x103c92[_0x5aa1ec(0x2c4)]=!0x0,_0x103c92[_0x5aa1ec(0x279)]=_0x4230bb,_0x103c92[_0x5aa1ec(0x242)]=_0x4a5818,_0x103c92[_0x5aa1ec(0x2c9)][_0x2ca5db]!==void 0x0&&(_0x103c92[_0x5aa1ec(0x2c9)]['removeListener']('data',_0x7c32e9),process['nextTick'](_0x1f12dd,_0x103c92[_0x5aa1ec(0x2c9)]),_0x4a5818===0x3ed?_0x103c92['close']():_0x103c92[_0x5aa1ec(0x25a)](_0x4a5818,_0x4230bb));}function _0x41a3bc(){const _0x45df17=_0x16a0c6,_0xabed36=this[_0x2ca5db];_0xabed36[_0x45df17(0x229)]||_0xabed36[_0x45df17(0x2c9)][_0x45df17(0x239)]();}function _0x55f9f5(_0x5675fc){const _0x11b6fa=_0x16a0c6,_0x4c5ec3=this[_0x2ca5db];_0x4c5ec3[_0x11b6fa(0x2c9)][_0x2ca5db]!==void 0x0&&(_0x4c5ec3['_socket'][_0x11b6fa(0x372)]('data',_0x7c32e9),process[_0x11b6fa(0x29c)](_0x1f12dd,_0x4c5ec3['_socket']),_0x4c5ec3[_0x11b6fa(0x25a)](_0x5675fc[_0x1167fc])),_0x4c5ec3[_0x11b6fa(0x35b)]||(_0x4c5ec3[_0x11b6fa(0x35b)]=!0x0,_0x4c5ec3['emit'](_0x11b6fa(0x22e),_0x5675fc));}function _0x286362(){const _0x4ea290=_0x16a0c6;this[_0x2ca5db][_0x4ea290(0x321)]();}function _0x1defab(_0xb43cfd,_0x1858bb){const _0x12be6d=_0x16a0c6;this[_0x2ca5db][_0x12be6d(0x208)](_0x12be6d(0x23a),_0xb43cfd,_0x1858bb);}function _0x5d9e4c(_0x2f459d){const _0x1a7802=_0x16a0c6,_0x3f48ff=this[_0x2ca5db];_0x3f48ff['_autoPong']&&_0x3f48ff[_0x1a7802(0x2f0)](_0x2f459d,!this['_isServer'],_0x2ba709),_0x3f48ff[_0x1a7802(0x208)](_0x1a7802(0x2d9),_0x2f459d);}function _0x3eccfc(_0x2dd59e){const _0x4b1c70=_0x16a0c6;this[_0x2ca5db][_0x4b1c70(0x208)]('pong',_0x2dd59e);}function _0x1f12dd(_0xf1f2fb){const _0x3db8c0=_0x16a0c6;_0xf1f2fb[_0x3db8c0(0x239)]();}function _0x17d2b5(_0x1a8f00){const _0x58e468=_0x16a0c6,_0x1679ff=this[_0x2ca5db];_0x1679ff[_0x58e468(0x351)]!==_0x1ba936['CLOSED']&&(_0x1679ff[_0x58e468(0x351)]===_0x1ba936['OPEN']&&(_0x1679ff['_readyState']=_0x1ba936['CLOSING'],_0x3dabef(_0x1679ff)),this[_0x58e468(0x2c9)]['end'](),_0x1679ff['_errorEmitted']||(_0x1679ff['_errorEmitted']=!0x0,_0x1679ff[_0x58e468(0x208)](_0x58e468(0x22e),_0x1a8f00)));}function _0x3dabef(_0x238534){const _0x45c132=_0x16a0c6;_0x238534['_closeTimer']=setTimeout(_0x238534[_0x45c132(0x2c9)][_0x45c132(0x340)][_0x45c132(0x328)](_0x238534[_0x45c132(0x2c9)]),_0x11f599);}function _0x5b7d06(){const _0x31142e=_0x16a0c6,_0x45fc9c=this[_0x2ca5db];this['removeListener'](_0x31142e(0x25a),_0x5b7d06),this[_0x31142e(0x372)](_0x31142e(0x2f7),_0x7c32e9),this[_0x31142e(0x372)](_0x31142e(0x209),_0x3aceb5),_0x45fc9c[_0x31142e(0x2f1)]=_0x1ba936['CLOSING'];let _0x214b70;!this[_0x31142e(0x2c1)][_0x31142e(0x257)]&&!_0x45fc9c[_0x31142e(0x2c4)]&&!_0x45fc9c[_0x31142e(0x2ab)][_0x31142e(0x38f)]['errorEmitted']&&(_0x214b70=_0x45fc9c[_0x31142e(0x2c9)][_0x31142e(0x2a7)]())!==null&&_0x45fc9c[_0x31142e(0x2ab)]['write'](_0x214b70),_0x45fc9c[_0x31142e(0x2ab)][_0x31142e(0x209)](),this[_0x2ca5db]=void 0x0,clearTimeout(_0x45fc9c[_0x31142e(0x394)]),_0x45fc9c[_0x31142e(0x2ab)][_0x31142e(0x38f)][_0x31142e(0x1f0)]||_0x45fc9c[_0x31142e(0x2ab)][_0x31142e(0x38f)][_0x31142e(0x380)]?_0x45fc9c[_0x31142e(0x321)]():(_0x45fc9c[_0x31142e(0x2ab)]['on'](_0x31142e(0x22e),_0x286362),_0x45fc9c[_0x31142e(0x2ab)]['on']('finish',_0x286362));}function _0x7c32e9(_0x296ebe){const _0x5330fc=_0x16a0c6;this[_0x2ca5db][_0x5330fc(0x2ab)][_0x5330fc(0x301)](_0x296ebe)||this['pause']();}function _0x3aceb5(){const _0x4d95d8=_0x16a0c6,_0x78d23c=this[_0x2ca5db];_0x78d23c['_readyState']=_0x1ba936['CLOSING'],_0x78d23c['_receiver'][_0x4d95d8(0x209)](),this[_0x4d95d8(0x209)]();}function _0x5f344b(){const _0x183fc8=_0x16a0c6,_0x3765be=this[_0x2ca5db];this[_0x183fc8(0x372)](_0x183fc8(0x22e),_0x5f344b),this['on'](_0x183fc8(0x22e),_0x2ba709),_0x3765be&&(_0x3765be[_0x183fc8(0x2f1)]=_0x1ba936[_0x183fc8(0x287)],this[_0x183fc8(0x340)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5d597a}=oe;function _0x5b0268(_0x1f140b){const _0x500ce3=_0x19d0;_0x1f140b[_0x500ce3(0x208)](_0x500ce3(0x25a));}function _0x4b99ee(){const _0x65c87a=_0x19d0;!this[_0x65c87a(0x363)]&&this[_0x65c87a(0x38f)][_0x65c87a(0x1f0)]&&this['destroy']();}function _0x4aa0f7(_0x48fb83){const _0x52600c=_0x19d0;this[_0x52600c(0x372)](_0x52600c(0x22e),_0x4aa0f7),this['destroy'](),this[_0x52600c(0x267)](_0x52600c(0x22e))===0x0&&this[_0x52600c(0x208)](_0x52600c(0x22e),_0x48fb83);}function _0x209c65(_0x597209,_0x531851){const _0x43e853=_0x19d0;let _0x185d0a=!0x0;const _0x2b7e45=new _0x5d597a({..._0x531851,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x597209['on'](_0x43e853(0x23a),function(_0x2324f3,_0x2ec2a7){const _0x8da1b=_0x43e853,_0x1bef48=!_0x2ec2a7&&_0x2b7e45['_readableState'][_0x8da1b(0x370)]?_0x2324f3['toString']():_0x2324f3;_0x2b7e45[_0x8da1b(0x376)](_0x1bef48)||_0x597209[_0x8da1b(0x21e)]();}),_0x597209[_0x43e853(0x27c)](_0x43e853(0x22e),function(_0x34d7be){const _0x2849f0=_0x43e853;_0x2b7e45['destroyed']||(_0x185d0a=!0x1,_0x2b7e45[_0x2849f0(0x340)](_0x34d7be));}),_0x597209[_0x43e853(0x27c)](_0x43e853(0x25a),function(){const _0x45bccc=_0x43e853;_0x2b7e45[_0x45bccc(0x363)]||_0x2b7e45['push'](null);}),_0x2b7e45[_0x43e853(0x35f)]=function(_0x263f73,_0x18f46c){const _0x5a1a20=_0x43e853;if(_0x597209[_0x5a1a20(0x351)]===_0x597209[_0x5a1a20(0x386)]){_0x18f46c(_0x263f73),process['nextTick'](_0x5b0268,_0x2b7e45);return;}let _0xa45923=!0x1;_0x597209[_0x5a1a20(0x27c)](_0x5a1a20(0x22e),function(_0x18bcea){_0xa45923=!0x0,_0x18f46c(_0x18bcea);}),_0x597209[_0x5a1a20(0x27c)](_0x5a1a20(0x25a),function(){const _0x1d7ed6=_0x5a1a20;_0xa45923||_0x18f46c(_0x263f73),process[_0x1d7ed6(0x29c)](_0x5b0268,_0x2b7e45);}),_0x185d0a&&_0x597209[_0x5a1a20(0x39a)]();},_0x2b7e45['_final']=function(_0x51c38e){const _0x408bdc=_0x43e853;if(_0x597209[_0x408bdc(0x351)]===_0x597209[_0x408bdc(0x212)]){_0x597209['once']('open',function(){const _0x3c79ab=_0x408bdc;_0x2b7e45[_0x3c79ab(0x2a3)](_0x51c38e);});return;}_0x597209[_0x408bdc(0x2c9)]!==null&&(_0x597209[_0x408bdc(0x2c9)][_0x408bdc(0x38f)]['finished']?(_0x51c38e(),_0x2b7e45[_0x408bdc(0x2c1)][_0x408bdc(0x257)]&&_0x2b7e45[_0x408bdc(0x340)]()):(_0x597209['_socket'][_0x408bdc(0x27c)]('finish',function(){_0x51c38e();}),_0x597209[_0x408bdc(0x25a)]()));},_0x2b7e45[_0x43e853(0x1f3)]=function(){const _0x142a3c=_0x43e853;_0x597209[_0x142a3c(0x229)]&&_0x597209[_0x142a3c(0x239)]();},_0x2b7e45[_0x43e853(0x377)]=function(_0x4dac5c,_0x35ded4,_0x380b51){const _0x3c1d2e=_0x43e853;if(_0x597209[_0x3c1d2e(0x351)]===_0x597209[_0x3c1d2e(0x212)]){_0x597209[_0x3c1d2e(0x27c)](_0x3c1d2e(0x1ec),function(){const _0x2f07d9=_0x3c1d2e;_0x2b7e45[_0x2f07d9(0x377)](_0x4dac5c,_0x35ded4,_0x380b51);});return;}_0x597209[_0x3c1d2e(0x246)](_0x4dac5c,_0x380b51);},_0x2b7e45['on']('end',_0x4b99ee),_0x2b7e45['on'](_0x43e853(0x22e),_0x4aa0f7),_0x2b7e45;}return Oe=_0x209c65,Oe;}Ut(),lt(),ft();var Mt=Pe();function _0x19d0(_0x9d2e18,_0x337b2a){const _0x4c8b25=_0x4c8b();return _0x19d0=function(_0x19d030,_0x31738b){_0x19d030=_0x19d030-0x1e0;let _0x26bc14=_0x4c8b25[_0x19d030];return _0x26bc14;},_0x19d0(_0x9d2e18,_0x337b2a);}const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4af37a}=ae();function _0x58660e(_0x3842ae){const _0x23c183=_0x19d0,_0x1e2db7=new Set();let _0x2d1a6c=-0x1,_0x4c4469=-0x1,_0x546e8f=0x0;for(_0x546e8f;_0x546e8f<_0x3842ae[_0x23c183(0x382)];_0x546e8f++){const _0x19deab=_0x3842ae['charCodeAt'](_0x546e8f);if(_0x4c4469===-0x1&&_0x4af37a[_0x19deab]===0x1)_0x2d1a6c===-0x1&&(_0x2d1a6c=_0x546e8f);else{if(_0x546e8f!==0x0&&(_0x19deab===0x20||_0x19deab===0x9))_0x4c4469===-0x1&&_0x2d1a6c!==-0x1&&(_0x4c4469=_0x546e8f);else{if(_0x19deab===0x2c){if(_0x2d1a6c===-0x1)throw new SyntaxError(_0x23c183(0x235)+_0x546e8f);_0x4c4469===-0x1&&(_0x4c4469=_0x546e8f);const _0x1d789a=_0x3842ae[_0x23c183(0x360)](_0x2d1a6c,_0x4c4469);if(_0x1e2db7['has'](_0x1d789a))throw new SyntaxError(_0x23c183(0x399)+_0x1d789a+'\x22\x20subprotocol\x20is\x20duplicated');_0x1e2db7[_0x23c183(0x206)](_0x1d789a),_0x2d1a6c=_0x4c4469=-0x1;}else throw new SyntaxError(_0x23c183(0x235)+_0x546e8f);}}}if(_0x2d1a6c===-0x1||_0x4c4469!==-0x1)throw new SyntaxError(_0x23c183(0x230));const _0x2b9f1a=_0x3842ae[_0x23c183(0x360)](_0x2d1a6c,_0x546e8f);if(_0x1e2db7['has'](_0x2b9f1a))throw new SyntaxError(_0x23c183(0x399)+_0x2b9f1a+_0x23c183(0x308));return _0x1e2db7['add'](_0x2b9f1a),_0x1e2db7;}return Ce={'parse':_0x58660e},Ce;}var Te,rt;function Ft(){const _0x2b3fad=_0x110165;if(rt)return Te;rt=0x1;const _0x40bfda=nt,_0x5bb1eb=ot,{Duplex:_0x14b352}=oe,{createHash:_0x402489}=Le,_0x40813b=ct(),_0x49def9=he(),_0x25d4db=At(),_0x8b8f5e=Pe(),{GUID:_0x595518,kWebSocket:_0x4b0d27}=H(),_0x2f9309=/^[+/0-9A-Za-z]{22}==$/,_0x2ec691=0x0,_0x597b6c=0x1,_0x63f3fa=0x2;class _0x2f30ca extends _0x40bfda{constructor(_0x54452b,_0x37f2c7){const _0x444f3e=_0x19d0;if(super(),_0x54452b={'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':_0x8b8f5e,..._0x54452b},_0x54452b[_0x444f3e(0x26b)]==null&&!_0x54452b[_0x444f3e(0x22c)]&&!_0x54452b[_0x444f3e(0x23c)]||_0x54452b['port']!=null&&(_0x54452b[_0x444f3e(0x22c)]||_0x54452b[_0x444f3e(0x23c)])||_0x54452b[_0x444f3e(0x22c)]&&_0x54452b[_0x444f3e(0x23c)])throw new TypeError(_0x444f3e(0x296));if(_0x54452b['port']!=null?(this[_0x444f3e(0x339)]=_0x5bb1eb[_0x444f3e(0x34d)]((_0x55cec2,_0x192fd4)=>{const _0x246e9b=_0x444f3e,_0x9e3835=_0x5bb1eb[_0x246e9b(0x294)][0x1aa];_0x192fd4['writeHead'](0x1aa,{'Content-Length':_0x9e3835['length'],'Content-Type':'text/plain'}),_0x192fd4[_0x246e9b(0x209)](_0x9e3835);}),this[_0x444f3e(0x339)][_0x444f3e(0x254)](_0x54452b['port'],_0x54452b['host'],_0x54452b[_0x444f3e(0x277)],_0x37f2c7)):_0x54452b[_0x444f3e(0x22c)]&&(this['_server']=_0x54452b[_0x444f3e(0x22c)]),this[_0x444f3e(0x339)]){const _0x4a1cc9=this['emit'][_0x444f3e(0x328)](this,_0x444f3e(0x34e));this[_0x444f3e(0x23f)]=_0x215140(this[_0x444f3e(0x339)],{'listening':this['emit'][_0x444f3e(0x328)](this,_0x444f3e(0x2e7)),'error':this[_0x444f3e(0x208)][_0x444f3e(0x328)](this,_0x444f3e(0x22e)),'upgrade':(_0x32aaa4,_0x27f180,_0x505265)=>{const _0x1c693b=_0x444f3e;this[_0x1c693b(0x336)](_0x32aaa4,_0x27f180,_0x505265,_0x4a1cc9);}});}_0x54452b['perMessageDeflate']===!0x0&&(_0x54452b[_0x444f3e(0x211)]={}),_0x54452b[_0x444f3e(0x3a2)]&&(this[_0x444f3e(0x3a1)]=new Set(),this[_0x444f3e(0x228)]=!0x1),this[_0x444f3e(0x2e0)]=_0x54452b,this[_0x444f3e(0x38a)]=_0x2ec691;}['address'](){const _0x45fb4e=_0x19d0;if(this[_0x45fb4e(0x2e0)][_0x45fb4e(0x23c)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x45fb4e(0x339)]?this[_0x45fb4e(0x339)][_0x45fb4e(0x33a)]():null;}['close'](_0xef18f1){const _0x4b192b=_0x19d0;if(this[_0x4b192b(0x38a)]===_0x63f3fa){_0xef18f1&&this[_0x4b192b(0x27c)](_0x4b192b(0x25a),()=>{_0xef18f1(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x3a31f5,this);return;}if(_0xef18f1&&this[_0x4b192b(0x27c)]('close',_0xef18f1),this[_0x4b192b(0x38a)]!==_0x597b6c){if(this['_state']=_0x597b6c,this[_0x4b192b(0x2e0)][_0x4b192b(0x23c)]||this[_0x4b192b(0x2e0)]['server'])this[_0x4b192b(0x339)]&&(this[_0x4b192b(0x23f)](),this['_removeListeners']=this['_server']=null),this['clients']?this[_0x4b192b(0x3a1)]['size']?this[_0x4b192b(0x228)]=!0x0:process['nextTick'](_0x3a31f5,this):process[_0x4b192b(0x29c)](_0x3a31f5,this);else{const _0x86d49f=this[_0x4b192b(0x339)];this[_0x4b192b(0x23f)](),this['_removeListeners']=this[_0x4b192b(0x339)]=null,_0x86d49f[_0x4b192b(0x25a)](()=>{_0x3a31f5(this);});}}}[_0x2b3fad(0x219)](_0x1bbbe7){const _0x20de2a=_0x2b3fad;if(this[_0x20de2a(0x2e0)][_0x20de2a(0x233)]){const _0x455c5e=_0x1bbbe7['url'][_0x20de2a(0x36a)]('?');if((_0x455c5e!==-0x1?_0x1bbbe7[_0x20de2a(0x3a5)][_0x20de2a(0x360)](0x0,_0x455c5e):_0x1bbbe7[_0x20de2a(0x3a5)])!==this[_0x20de2a(0x2e0)][_0x20de2a(0x233)])return!0x1;}return!0x0;}[_0x2b3fad(0x336)](_0x16cf8c,_0x1fdb11,_0x366321,_0x196313){const _0xa2ed3f=_0x2b3fad;_0x1fdb11['on'](_0xa2ed3f(0x22e),_0x2c6d3e);const _0x506e5e=_0x16cf8c[_0xa2ed3f(0x21d)]['sec-websocket-key'],_0x282751=_0x16cf8c['headers'][_0xa2ed3f(0x213)],_0x8d7d7c=+_0x16cf8c[_0xa2ed3f(0x21d)]['sec-websocket-version'];if(_0x16cf8c['method']!==_0xa2ed3f(0x358)){_0x4428fc(this,_0x16cf8c,_0x1fdb11,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x282751===void 0x0||_0x282751['toLowerCase']()!==_0xa2ed3f(0x1f1)){_0x4428fc(this,_0x16cf8c,_0x1fdb11,0x190,_0xa2ed3f(0x34b));return;}if(_0x506e5e===void 0x0||!_0x2f9309[_0xa2ed3f(0x21b)](_0x506e5e)){_0x4428fc(this,_0x16cf8c,_0x1fdb11,0x190,_0xa2ed3f(0x32e));return;}if(_0x8d7d7c!==0x8&&_0x8d7d7c!==0xd){_0x4428fc(this,_0x16cf8c,_0x1fdb11,0x190,_0xa2ed3f(0x353));return;}if(!this['shouldHandle'](_0x16cf8c)){_0x322072(_0x1fdb11,0x190);return;}const _0x58181e=_0x16cf8c['headers']['sec-websocket-protocol'];let _0x283517=new Set();if(_0x58181e!==void 0x0)try{_0x283517=_0x25d4db[_0xa2ed3f(0x20a)](_0x58181e);}catch{_0x4428fc(this,_0x16cf8c,_0x1fdb11,0x190,_0xa2ed3f(0x252));return;}const _0x11a712=_0x16cf8c[_0xa2ed3f(0x21d)][_0xa2ed3f(0x388)],_0x2f8140={};if(this['options']['perMessageDeflate']&&_0x11a712!==void 0x0){const _0x452939=new _0x49def9(this[_0xa2ed3f(0x2e0)][_0xa2ed3f(0x211)],!0x0,this[_0xa2ed3f(0x2e0)][_0xa2ed3f(0x223)]);try{const _0x2f7b7e=_0x40813b[_0xa2ed3f(0x20a)](_0x11a712);_0x2f7b7e[_0x49def9['extensionName']]&&(_0x452939[_0xa2ed3f(0x331)](_0x2f7b7e[_0x49def9[_0xa2ed3f(0x381)]]),_0x2f8140[_0x49def9[_0xa2ed3f(0x381)]]=_0x452939);}catch{_0x4428fc(this,_0x16cf8c,_0x1fdb11,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0xa2ed3f(0x2e0)]['verifyClient']){const _0x15964d={'origin':_0x16cf8c[_0xa2ed3f(0x21d)][''+(_0x8d7d7c===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x16cf8c['socket'][_0xa2ed3f(0x24e)]||_0x16cf8c['socket'][_0xa2ed3f(0x263)]),'req':_0x16cf8c};if(this[_0xa2ed3f(0x2e0)][_0xa2ed3f(0x31e)][_0xa2ed3f(0x382)]===0x2){this[_0xa2ed3f(0x2e0)][_0xa2ed3f(0x31e)](_0x15964d,(_0x2c4f2a,_0x3111c0,_0x5edbdc,_0x441028)=>{const _0x245443=_0xa2ed3f;if(!_0x2c4f2a)return _0x322072(_0x1fdb11,_0x3111c0||0x191,_0x5edbdc,_0x441028);this[_0x245443(0x22b)](_0x2f8140,_0x506e5e,_0x283517,_0x16cf8c,_0x1fdb11,_0x366321,_0x196313);});return;}if(!this[_0xa2ed3f(0x2e0)][_0xa2ed3f(0x31e)](_0x15964d))return _0x322072(_0x1fdb11,0x191);}this['completeUpgrade'](_0x2f8140,_0x506e5e,_0x283517,_0x16cf8c,_0x1fdb11,_0x366321,_0x196313);}[_0x2b3fad(0x22b)](_0x5ab90d,_0x52511c,_0x110742,_0x12fabc,_0x1eb868,_0x5364bf,_0x491f50){const _0xf4577b=_0x2b3fad;if(!_0x1eb868[_0xf4577b(0x1fb)]||!_0x1eb868[_0xf4577b(0x39e)])return _0x1eb868[_0xf4577b(0x340)]();if(_0x1eb868[_0x4b0d27])throw new Error(_0xf4577b(0x302));if(this[_0xf4577b(0x38a)]>_0x2ec691)return _0x322072(_0x1eb868,0x1f7);const _0x43d0ea=[_0xf4577b(0x272),_0xf4577b(0x31c),_0xf4577b(0x24b),'Sec-WebSocket-Accept:\x20'+_0x402489(_0xf4577b(0x282))[_0xf4577b(0x2cb)](_0x52511c+_0x595518)[_0xf4577b(0x2c3)](_0xf4577b(0x227))],_0x418b2e=new this[(_0xf4577b(0x2e0))]['WebSocket'](null,void 0x0,this[_0xf4577b(0x2e0)]);if(_0x110742[_0xf4577b(0x23d)]){const _0x38918f=this[_0xf4577b(0x2e0)][_0xf4577b(0x2af)]?this[_0xf4577b(0x2e0)][_0xf4577b(0x2af)](_0x110742,_0x12fabc):_0x110742[_0xf4577b(0x224)]()[_0xf4577b(0x23b)]()['value'];_0x38918f&&(_0x43d0ea[_0xf4577b(0x376)]('Sec-WebSocket-Protocol:\x20'+_0x38918f),_0x418b2e['_protocol']=_0x38918f);}if(_0x5ab90d[_0x49def9['extensionName']]){const _0x5e59f3=_0x5ab90d[_0x49def9['extensionName']][_0xf4577b(0x359)],_0x33ef2d=_0x40813b[_0xf4577b(0x293)]({[_0x49def9[_0xf4577b(0x381)]]:[_0x5e59f3]});_0x43d0ea[_0xf4577b(0x376)](_0xf4577b(0x35c)+_0x33ef2d),_0x418b2e[_0xf4577b(0x25c)]=_0x5ab90d;}this['emit'](_0xf4577b(0x21d),_0x43d0ea,_0x12fabc),_0x1eb868[_0xf4577b(0x301)](_0x43d0ea[_0xf4577b(0x247)]('\x0d\x0a')[_0xf4577b(0x316)]('\x0d\x0a')),_0x1eb868[_0xf4577b(0x372)](_0xf4577b(0x22e),_0x2c6d3e),_0x418b2e['setSocket'](_0x1eb868,_0x5364bf,{'allowSynchronousEvents':this[_0xf4577b(0x2e0)][_0xf4577b(0x311)],'maxPayload':this[_0xf4577b(0x2e0)][_0xf4577b(0x223)],'skipUTF8Validation':this['options'][_0xf4577b(0x362)]}),this['clients']&&(this['clients'][_0xf4577b(0x206)](_0x418b2e),_0x418b2e['on'](_0xf4577b(0x25a),()=>{const _0x48336b=_0xf4577b;this[_0x48336b(0x3a1)]['delete'](_0x418b2e),this[_0x48336b(0x228)]&&!this[_0x48336b(0x3a1)][_0x48336b(0x23d)]&&process[_0x48336b(0x29c)](_0x3a31f5,this);})),_0x491f50(_0x418b2e,_0x12fabc);}}Te=_0x2f30ca;function _0x215140(_0x3e99c7,_0x322706){const _0x2d4e88=_0x2b3fad;for(const _0x3d3609 of Object[_0x2d4e88(0x354)](_0x322706))_0x3e99c7['on'](_0x3d3609,_0x322706[_0x3d3609]);return function(){const _0x241690=_0x2d4e88;for(const _0x312300 of Object['keys'](_0x322706))_0x3e99c7[_0x241690(0x372)](_0x312300,_0x322706[_0x312300]);};}function _0x3a31f5(_0x37ed24){const _0x138917=_0x2b3fad;_0x37ed24[_0x138917(0x38a)]=_0x63f3fa,_0x37ed24[_0x138917(0x208)]('close');}function _0x2c6d3e(){const _0x185016=_0x2b3fad;this[_0x185016(0x340)]();}function _0x322072(_0x59d21d,_0x220683,_0x4f4d60,_0x29d4b5){const _0xdb38d3=_0x2b3fad;_0x4f4d60=_0x4f4d60||_0x5bb1eb[_0xdb38d3(0x294)][_0x220683],_0x29d4b5={'Connection':_0xdb38d3(0x25a),'Content-Type':_0xdb38d3(0x2a8),'Content-Length':Buffer[_0xdb38d3(0x240)](_0x4f4d60),..._0x29d4b5},_0x59d21d[_0xdb38d3(0x27c)](_0xdb38d3(0x241),_0x59d21d[_0xdb38d3(0x340)]),_0x59d21d[_0xdb38d3(0x209)](_0xdb38d3(0x221)+_0x220683+'\x20'+_0x5bb1eb[_0xdb38d3(0x294)][_0x220683]+'\x0d\x0a'+Object['keys'](_0x29d4b5)[_0xdb38d3(0x30f)](_0xed2c2b=>_0xed2c2b+':\x20'+_0x29d4b5[_0xed2c2b])['join']('\x0d\x0a')+_0xdb38d3(0x304)+_0x4f4d60);}function _0x4428fc(_0x2eab93,_0x4065d7,_0x246712,_0x4233e0,_0x54ecb5){const _0x2ddabc=_0x2b3fad;if(_0x2eab93['listenerCount'](_0x2ddabc(0x320))){const _0x70317f=new Error(_0x54ecb5);Error['captureStackTrace'](_0x70317f,_0x4428fc),_0x2eab93['emit'](_0x2ddabc(0x320),_0x70317f,_0x246712,_0x4065d7);}else _0x322072(_0x246712,_0x4233e0,_0x54ecb5);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x402fe5,_0x52741b,_0x25efa4,_0x546e5d)=>{for(var _0x37040e=_0x546e5d>0x1?void 0x0:_0x546e5d?jt(_0x52741b,_0x25efa4):_0x52741b,_0x47b752=_0x402fe5['length']-0x1,_0x54435e;_0x47b752>=0x0;_0x47b752--)(_0x54435e=_0x402fe5[_0x47b752])&&(_0x37040e=_0x54435e(_0x37040e)||_0x37040e);return _0x37040e;},qt=(_0xdd2ca5,_0x490529)=>(_0x5839b3,_0x5456e1)=>_0x490529(_0x5839b3,_0x5456e1,_0xdd2ca5);let ke=class extends A[_0x110165(0x273)]{constructor(_0x27704c){super(),this['_configService']=_0x27704c;}[_0x110165(0x266)](_0x2e5a1b){const _0x5bdebd=_0x110165;var _0x17dfe3;const _0x486b55=(_0x17dfe3=this[_0x5bdebd(0x341)]['getConfig'](fe))==null?void 0x0:_0x17dfe3['customHeaders'];try{const _0x417db6=new $t(_0x2e5a1b,{'headers':{..._0x486b55}}),_0x2178b6=new A[(_0x5bdebd(0x222))]();return{'URL':_0x2e5a1b,'close':(_0x3e04ca,_0xfd3cfd)=>{const _0x27b1a2=_0x5bdebd;_0x417db6['close'](_0x3e04ca,_0xfd3cfd),_0x2178b6[_0x27b1a2(0x371)]();},'send':_0x576bc8=>{const _0x151f3d=_0x5bdebd;_0x417db6[_0x151f3d(0x246)](_0x576bc8);},'open$':new V[(_0x5bdebd(0x3a0))](_0x435ad4=>{const _0x509391=_0x5bdebd,_0x167a0a=_0x58fff4=>_0x435ad4[_0x509391(0x23b)](_0x58fff4);_0x417db6['addEventListener'](_0x509391(0x1ec),_0x167a0a),_0x2178b6[_0x509391(0x206)](A[_0x509391(0x2b2)](()=>_0x417db6[_0x509391(0x2cc)](_0x509391(0x1ec),_0x167a0a)));})[_0x5bdebd(0x25e)](V[_0x5bdebd(0x2ef)]()),'close$':new V['Observable'](_0x4cf2c6=>{const _0x40fe5a=_0x5bdebd,_0x562ee3=_0x53c218=>_0x4cf2c6[_0x40fe5a(0x23b)](_0x53c218);_0x417db6[_0x40fe5a(0x1e9)](_0x40fe5a(0x25a),_0x562ee3),_0x2178b6[_0x40fe5a(0x206)](A['toDisposable'](()=>_0x417db6[_0x40fe5a(0x2cc)](_0x40fe5a(0x25a),_0x562ee3)));})[_0x5bdebd(0x25e)](V['share']()),'error$':new V[(_0x5bdebd(0x3a0))](_0x3fb1aa=>{const _0x3ef3e1=_0x5bdebd,_0x3b8b07=_0x7cd51d=>_0x3fb1aa[_0x3ef3e1(0x23b)](_0x7cd51d);_0x417db6['addEventListener'](_0x3ef3e1(0x22e),_0x3b8b07),_0x2178b6['add'](A['toDisposable'](()=>_0x417db6['removeEventListener']('error',_0x3b8b07)));})[_0x5bdebd(0x25e)](V['share']()),'message$':new V[(_0x5bdebd(0x3a0))](_0x48b925=>{const _0x278c6c=_0x5bdebd,_0x1ef63c=_0x11ee3e=>_0x48b925[_0x278c6c(0x23b)](_0x11ee3e);_0x417db6[_0x278c6c(0x1e9)]('message',_0x1ef63c),_0x2178b6[_0x278c6c(0x206)](A[_0x278c6c(0x2b2)](()=>_0x417db6[_0x278c6c(0x2cc)](_0x278c6c(0x23a),_0x1ef63c)));})[_0x5bdebd(0x25e)](V[_0x5bdebd(0x2ef)]())};}catch(_0x10429a){return console['error'](_0x10429a),null;}}};ke=Wt([qt(0x0,A[_0x110165(0x232)])],ke);var Gt=Object[_0x110165(0x385)],Vt=Object[_0x110165(0x1ed)],Ht=(_0x1daec6,_0x292016,_0x3a39f6)=>_0x292016 in _0x1daec6?Gt(_0x1daec6,_0x292016,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a39f6}):_0x1daec6[_0x292016]=_0x3a39f6,zt=(_0x30d0ee,_0x28afba,_0x33174f,_0x16a26b)=>{const _0x36dfa1=_0x110165;for(var _0x5b2a71=_0x16a26b>0x1?void 0x0:_0x16a26b?Vt(_0x28afba,_0x33174f):_0x28afba,_0x142992=_0x30d0ee[_0x36dfa1(0x382)]-0x1,_0x15d4d2;_0x142992>=0x0;_0x142992--)(_0x15d4d2=_0x30d0ee[_0x142992])&&(_0x5b2a71=_0x15d4d2(_0x5b2a71)||_0x5b2a71);return _0x5b2a71;},Ne=(_0x24c7ee,_0x2abde4)=>(_0x2e5708,_0x2e1205)=>_0x2abde4(_0x2e5708,_0x2e1205,_0x24c7ee),Yt=(_0x3edbc2,_0x1b1cba,_0x5f0521)=>Ht(_0x3edbc2,_0x1b1cba+'',_0x5f0521);exports[_0x110165(0x2c0)]=class extends A['Plugin']{constructor(_0x100fe8=Ct,_0x2366f1,_0x5da690,_0x8a682e){const _0x424547=_0x110165;_0x100fe8[_0x424547(0x30a)]||_0x2366f1[_0x424547(0x367)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x424547(0x341)]=_0x5da690,this[_0x424547(0x1fe)]=_0x8a682e,this[_0x424547(0x341)]['setConfig'](fe,_0x100fe8);}[_0x110165(0x21c)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x3eef1b=_0x110165;A[_0x3eef1b(0x347)](this[_0x3eef1b(0x1fe)],[[it[_0x3eef1b(0x2c5)],{'useClass':ke}]]);}},Yt(exports[_0x110165(0x2c0)],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st[_0x110165(0x2ad)]),Ne(0x1,A[_0x110165(0x27e)]),Ne(0x2,A[_0x110165(0x232)]),Ne(0x3,A[_0x110165(0x392)](A[_0x110165(0x36e)]))],exports[_0x110165(0x2c0)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x527990,_0x5b79d7,_0x4728f3,_0x4f34bf)=>{const _0x56ea04=_0x110165;for(var _0x4802aa=_0x4f34bf>0x1?void 0x0:_0x4f34bf?Kt(_0x5b79d7,_0x4728f3):_0x5b79d7,_0x3355a6=_0x527990[_0x56ea04(0x382)]-0x1,_0x42a2a0;_0x3355a6>=0x0;_0x3355a6--)(_0x42a2a0=_0x527990[_0x3355a6])&&(_0x4802aa=_0x42a2a0(_0x4802aa)||_0x4802aa);return _0x4802aa;},ne=(_0x2fdca9,_0x302b2f)=>(_0x50527a,_0x53d97c)=>_0x302b2f(_0x50527a,_0x53d97c,_0x2fdca9);exports[_0x110165(0x276)]=class extends st[_0x110165(0x289)]{constructor(_0x20c634,_0x2f04fd,_0xf0112a,_0xff4c35,_0x58195c){const _0x5e2c07=_0x110165;super(_0x20c634,_0x2f04fd,_0xf0112a,_0xff4c35,_0x58195c);const _0x58e075=this[_0x5e2c07(0x341)][_0x5e2c07(0x2eb)](fe);this[_0x5e2c07(0x396)]['registerHTTPInterceptor']({'interceptor':(_0x26f205,_0x5c1a78)=>{const _0x3a71fa=_0x5e2c07;var _0x589db2;const _0x55ed49=_0x26f205[_0x3a71fa(0x21d)];return(_0x589db2=_0x58e075==null?void 0x0:_0x58e075[_0x3a71fa(0x30a)])!=null&&_0x589db2[_0x3a71fa(0x214)]&&_0x55ed49[_0x3a71fa(0x375)](_0x3a71fa(0x2b3),_0x58e075['customHeaders'][_0x3a71fa(0x214)]),_0x5c1a78(_0x26f205);}});}async[_0x110165(0x266)](_0x1e7296){return this['_doCreateSocket'](_0x1e7296);}},exports[_0x110165(0x276)]=Xt([ne(0x0,A[_0x110165(0x392)](A[_0x110165(0x36e)])),ne(0x1,A[_0x110165(0x392)](it[_0x110165(0x248)])),ne(0x2,A[_0x110165(0x232)]),ne(0x3,A[_0x110165(0x27e)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|
|
1
|
+
'use strict';const _0x5ab958=_0x147c;(function(_0x2859e1,_0x2b5652){const _0x8983d2=_0x147c,_0x4d5e94=_0x2859e1();while(!![]){try{const _0x385b3e=parseInt(_0x8983d2(0x1ad))/0x1*(-parseInt(_0x8983d2(0x1de))/0x2)+parseInt(_0x8983d2(0x215))/0x3+-parseInt(_0x8983d2(0x143))/0x4+parseInt(_0x8983d2(0x13e))/0x5+parseInt(_0x8983d2(0x225))/0x6+-parseInt(_0x8983d2(0x11c))/0x7+parseInt(_0x8983d2(0xd0))/0x8*(-parseInt(_0x8983d2(0x11a))/0x9);if(_0x385b3e===_0x2b5652)break;else _0x4d5e94['push'](_0x4d5e94['shift']());}catch(_0xfeb9e5){_0x4d5e94['push'](_0x4d5e94['shift']());}}}(_0x581b,0x24b7f));Object[_0x5ab958(0x85)](exports,Symbol[_0x5ab958(0xdb)],{'value':_0x5ab958(0x1cc)});const st=require(_0x5ab958(0x206)),A=require(_0x5ab958(0x17e)),it=require(_0x5ab958(0x22b)),V=require('rxjs'),nt=require(_0x5ab958(0x112)),vt=require(_0x5ab958(0x157)),ot=require(_0x5ab958(0x105)),St=require(_0x5ab958(0x1c9)),Et=require(_0x5ab958(0x20a)),Le=require(_0x5ab958(0x11e)),oe=require(_0x5ab958(0x8c)),xt=require(_0x5ab958(0x1d9)),bt=require(_0x5ab958(0x224)),wt=require(_0x5ab958(0x1a3)),Ot=require(_0x5ab958(0x15a)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x5a1cc9){const _0x468b0b=_0x5ab958;return _0x5a1cc9&&_0x5a1cc9[_0x468b0b(0x127)]&&Object[_0x468b0b(0x232)]['hasOwnProperty'][_0x468b0b(0xcd)](_0x5a1cc9,'default')?_0x5a1cc9[_0x468b0b(0xf2)]:_0x5a1cc9;}function at(_0x2a4976){const _0x26eb33=_0x5ab958;if(Object[_0x26eb33(0x232)]['hasOwnProperty'][_0x26eb33(0xcd)](_0x2a4976,_0x26eb33(0x127)))return _0x2a4976;var _0x51ad20=_0x2a4976['default'];if(typeof _0x51ad20==_0x26eb33(0x193)){var _0x54f781=function _0x4f5624(){const _0x5da1f5=_0x26eb33;return this instanceof _0x4f5624?Reflect['construct'](_0x51ad20,arguments,this[_0x5da1f5(0x1ac)]):_0x51ad20['apply'](this,arguments);};_0x54f781[_0x26eb33(0x232)]=_0x51ad20[_0x26eb33(0x232)];}else _0x54f781={};return Object['defineProperty'](_0x54f781,_0x26eb33(0x127),{'value':!0x0}),Object[_0x26eb33(0x14f)](_0x2a4976)[_0x26eb33(0x1f5)](function(_0x2fb370){const _0x46988f=_0x26eb33;var _0x2ada93=Object['getOwnPropertyDescriptor'](_0x2a4976,_0x2fb370);Object[_0x46988f(0x85)](_0x54f781,_0x2fb370,_0x2ada93[_0x46988f(0xaf)]?_0x2ada93:{'enumerable':!0x0,'get':function(){return _0x2a4976[_0x2fb370];}});}),_0x54f781;}var se={'exports':{}},ge,Ge;function H(){const _0x22f1e7=_0x5ab958;if(Ge)return ge;Ge=0x1;const _0x38c96a=[_0x22f1e7(0x10e),'arraybuffer','fragments'],_0x582d7b=typeof Blob<'u';return _0x582d7b&&_0x38c96a[_0x22f1e7(0x70)]('blob'),ge={'BINARY_TYPES':_0x38c96a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x22f1e7(0x181),'hasBlob':_0x582d7b,'kForOnEventAttribute':Symbol(_0x22f1e7(0x1ca)),'kListener':Symbol(_0x22f1e7(0xca)),'kStatusCode':Symbol(_0x22f1e7(0x110)),'kWebSocket':Symbol(_0x22f1e7(0xd4)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5ab958(0x1a0)](Object[_0x5ab958(0x85)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0xbda2fc=_0x5ab958;if(Ve)return se[_0xbda2fc(0xe7)];Ve=0x1;const {EMPTY_BUFFER:_0x21508a}=H(),_0x2eea88=Buffer[Symbol[_0xbda2fc(0x1e8)]];function _0x3d9ab9(_0x3916cd,_0x4f8a99){const _0x23df9f=_0xbda2fc;if(_0x3916cd[_0x23df9f(0x1d3)]===0x0)return _0x21508a;if(_0x3916cd['length']===0x1)return _0x3916cd[0x0];const _0xc8bdb7=Buffer[_0x23df9f(0x84)](_0x4f8a99);let _0x3093b9=0x0;for(let _0x61cbb7=0x0;_0x61cbb7<_0x3916cd[_0x23df9f(0x1d3)];_0x61cbb7++){const _0x1b420f=_0x3916cd[_0x61cbb7];_0xc8bdb7['set'](_0x1b420f,_0x3093b9),_0x3093b9+=_0x1b420f[_0x23df9f(0x1d3)];}return _0x3093b9<_0x4f8a99?new _0x2eea88(_0xc8bdb7[_0x23df9f(0x1a3)],_0xc8bdb7[_0x23df9f(0x106)],_0x3093b9):_0xc8bdb7;}function _0xab2242(_0x26c83f,_0x529c23,_0xa85c32,_0x3b1be7,_0x3c5059){for(let _0x179d68=0x0;_0x179d68<_0x3c5059;_0x179d68++)_0xa85c32[_0x3b1be7+_0x179d68]=_0x26c83f[_0x179d68]^_0x529c23[_0x179d68&0x3];}function _0x2f5123(_0x231243,_0x32e47e){const _0x5d73c9=_0xbda2fc;for(let _0x57e7a1=0x0;_0x57e7a1<_0x231243[_0x5d73c9(0x1d3)];_0x57e7a1++)_0x231243[_0x57e7a1]^=_0x32e47e[_0x57e7a1&0x3];}function _0x589f2b(_0x398af8){const _0x1287cb=_0xbda2fc;return _0x398af8[_0x1287cb(0x1d3)]===_0x398af8[_0x1287cb(0x1a3)][_0x1287cb(0x95)]?_0x398af8[_0x1287cb(0x1a3)]:_0x398af8[_0x1287cb(0x1a3)][_0x1287cb(0x115)](_0x398af8[_0x1287cb(0x106)],_0x398af8[_0x1287cb(0x106)]+_0x398af8['length']);}function _0x14ed52(_0x5653c2){const _0xed490=_0xbda2fc;if(_0x14ed52[_0xed490(0x180)]=!0x0,Buffer[_0xed490(0x6b)](_0x5653c2))return _0x5653c2;let _0x742203;return _0x5653c2 instanceof ArrayBuffer?_0x742203=new _0x2eea88(_0x5653c2):ArrayBuffer[_0xed490(0x1fb)](_0x5653c2)?_0x742203=new _0x2eea88(_0x5653c2[_0xed490(0x1a3)],_0x5653c2[_0xed490(0x106)],_0x5653c2[_0xed490(0x95)]):(_0x742203=Buffer[_0xed490(0xb0)](_0x5653c2),_0x14ed52['readOnly']=!0x1),_0x742203;}if(se['exports']={'concat':_0x3d9ab9,'mask':_0xab2242,'toArrayBuffer':_0x589f2b,'toBuffer':_0x14ed52,'unmask':_0x2f5123},!process[_0xbda2fc(0x205)]['WS_NO_BUFFER_UTIL'])try{const _0x3f563d=Lt;se[_0xbda2fc(0xe7)][_0xbda2fc(0x1ba)]=function(_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92){_0x373a92<0x30?_0xab2242(_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92):_0x3f563d['mask'](_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92);},se[_0xbda2fc(0xe7)][_0xbda2fc(0x12e)]=function(_0x324297,_0x13c565){const _0x3d03ba=_0xbda2fc;_0x324297[_0x3d03ba(0x1d3)]<0x20?_0x2f5123(_0x324297,_0x13c565):_0x3f563d[_0x3d03ba(0x12e)](_0x324297,_0x13c565);};}catch{}return se[_0xbda2fc(0xe7)];}var ye,He;function Pt(){const _0xde969f=_0x5ab958;if(He)return ye;He=0x1;const _0x29d89f=Symbol(_0xde969f(0x22c)),_0x279963=Symbol(_0xde969f(0x208));class _0x5972c6{constructor(_0x237fa9){const _0x2acd69=_0xde969f;this[_0x29d89f]=()=>{const _0x39228c=_0x147c;this[_0x39228c(0x97)]--,this[_0x279963]();},this[_0x2acd69(0x13d)]=_0x237fa9||0x1/0x0,this[_0x2acd69(0xda)]=[],this['pending']=0x0;}[_0xde969f(0xb2)](_0x455649){const _0x16e469=_0xde969f;this[_0x16e469(0xda)][_0x16e469(0x70)](_0x455649),this[_0x279963]();}[_0x279963](){const _0x728882=_0xde969f;if(this[_0x728882(0x97)]!==this[_0x728882(0x13d)]&&this[_0x728882(0xda)][_0x728882(0x1d3)]){const _0x95ce4a=this['jobs']['shift']();this['pending']++,_0x95ce4a(this[_0x29d89f]);}}}return ye=_0x5972c6,ye;}function _0x147c(_0x5d4c85,_0x1bd718){const _0x581be2=_0x581b();return _0x147c=function(_0x147c8a,_0x1a915a){_0x147c8a=_0x147c8a-0x6a;let _0x49017c=_0x581be2[_0x147c8a];return _0x49017c;},_0x147c(_0x5d4c85,_0x1bd718);}var ve,ze;function he(){const _0x498c44=_0x5ab958;if(ze)return ve;ze=0x1;const _0x57d724=bt,_0x485f1d=ce(),_0x452b59=Pt(),{kStatusCode:_0x56df91}=H(),_0x144cd0=Buffer[Symbol['species']],_0x57d9c9=Buffer[_0x498c44(0xb0)]([0x0,0x0,0xff,0xff]),_0xf8278c=Symbol(_0x498c44(0xdd)),_0x4a3861=Symbol(_0x498c44(0x195)),_0x208e84=Symbol('callback'),_0x5129f1=Symbol('buffers'),_0x431219=Symbol('error');let _0x480ec8;class _0x4eee68{constructor(_0xe8d10d,_0x1be930,_0x2270b0){const _0x52666c=_0x498c44;if(this[_0x52666c(0xc9)]=_0x2270b0|0x0,this['_options']=_0xe8d10d||{},this['_threshold']=this[_0x52666c(0x14a)][_0x52666c(0x18f)]!==void 0x0?this[_0x52666c(0x14a)][_0x52666c(0x18f)]:0x400,this[_0x52666c(0x122)]=!!_0x1be930,this[_0x52666c(0x91)]=null,this[_0x52666c(0x6a)]=null,this['params']=null,!_0x480ec8){const _0x4ba160=this[_0x52666c(0x14a)][_0x52666c(0x94)]!==void 0x0?this[_0x52666c(0x14a)][_0x52666c(0x94)]:0xa;_0x480ec8=new _0x452b59(_0x4ba160);}}static get[_0x498c44(0x79)](){return'permessage-deflate';}[_0x498c44(0x118)](){const _0xb47a25=_0x498c44,_0x4c7e4e={};return this['_options']['serverNoContextTakeover']&&(_0x4c7e4e[_0xb47a25(0x184)]=!0x0),this['_options'][_0xb47a25(0x1af)]&&(_0x4c7e4e[_0xb47a25(0x145)]=!0x0),this['_options'][_0xb47a25(0x213)]&&(_0x4c7e4e[_0xb47a25(0x22a)]=this[_0xb47a25(0x14a)][_0xb47a25(0x213)]),this['_options']['clientMaxWindowBits']?_0x4c7e4e['client_max_window_bits']=this[_0xb47a25(0x14a)][_0xb47a25(0x1d0)]:this[_0xb47a25(0x14a)][_0xb47a25(0x1d0)]==null&&(_0x4c7e4e[_0xb47a25(0xcf)]=!0x0),_0x4c7e4e;}[_0x498c44(0xfc)](_0x92a130){const _0x2d939c=_0x498c44;return _0x92a130=this[_0x2d939c(0x1e9)](_0x92a130),this[_0x2d939c(0x204)]=this[_0x2d939c(0x122)]?this[_0x2d939c(0x6d)](_0x92a130):this['acceptAsClient'](_0x92a130),this[_0x2d939c(0x204)];}[_0x498c44(0x182)](){const _0x318b96=_0x498c44;if(this[_0x318b96(0x6a)]&&(this[_0x318b96(0x6a)][_0x318b96(0x227)](),this[_0x318b96(0x6a)]=null),this[_0x318b96(0x91)]){const _0xf9ff7c=this[_0x318b96(0x91)][_0x208e84];this[_0x318b96(0x91)][_0x318b96(0x227)](),this[_0x318b96(0x91)]=null,_0xf9ff7c&&_0xf9ff7c(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x50ca4a){const _0x30d583=_0x498c44,_0x1a3095=this[_0x30d583(0x14a)],_0x2676ce=_0x50ca4a[_0x30d583(0x207)](_0x4ad676=>!(_0x1a3095[_0x30d583(0x114)]===!0x1&&_0x4ad676[_0x30d583(0x184)]||_0x4ad676[_0x30d583(0x22a)]&&(_0x1a3095[_0x30d583(0x213)]===!0x1||typeof _0x1a3095[_0x30d583(0x213)]==_0x30d583(0x15b)&&_0x1a3095[_0x30d583(0x213)]>_0x4ad676[_0x30d583(0x22a)])||typeof _0x1a3095[_0x30d583(0x1d0)]=='number'&&!_0x4ad676[_0x30d583(0xcf)]));if(!_0x2676ce)throw new Error(_0x30d583(0xc7));return _0x1a3095['serverNoContextTakeover']&&(_0x2676ce[_0x30d583(0x184)]=!0x0),_0x1a3095[_0x30d583(0x1af)]&&(_0x2676ce[_0x30d583(0x145)]=!0x0),typeof _0x1a3095['serverMaxWindowBits']=='number'&&(_0x2676ce[_0x30d583(0x22a)]=_0x1a3095[_0x30d583(0x213)]),typeof _0x1a3095[_0x30d583(0x1d0)]=='number'?_0x2676ce[_0x30d583(0xcf)]=_0x1a3095['clientMaxWindowBits']:(_0x2676ce['client_max_window_bits']===!0x0||_0x1a3095[_0x30d583(0x1d0)]===!0x1)&&delete _0x2676ce[_0x30d583(0xcf)],_0x2676ce;}[_0x498c44(0x76)](_0x14b36d){const _0x1d7b37=_0x498c44,_0x3388a8=_0x14b36d[0x0];if(this[_0x1d7b37(0x14a)]['clientNoContextTakeover']===!0x1&&_0x3388a8['client_no_context_takeover'])throw new Error(_0x1d7b37(0x20f));if(!_0x3388a8[_0x1d7b37(0xcf)])typeof this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]==_0x1d7b37(0x15b)&&(_0x3388a8[_0x1d7b37(0xcf)]=this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]);else{if(this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]===!0x1||typeof this['_options'][_0x1d7b37(0x1d0)]=='number'&&_0x3388a8[_0x1d7b37(0xcf)]>this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)])throw new Error(_0x1d7b37(0x99));}return _0x3388a8;}[_0x498c44(0x1e9)](_0x3ebb26){const _0x383132=_0x498c44;return _0x3ebb26[_0x383132(0x1f5)](_0x5dc440=>{const _0x4a8e1c=_0x383132;Object[_0x4a8e1c(0x14f)](_0x5dc440)[_0x4a8e1c(0x1f5)](_0x5487d7=>{const _0x51fa66=_0x4a8e1c;let _0x5e73f6=_0x5dc440[_0x5487d7];if(_0x5e73f6[_0x51fa66(0x1d3)]>0x1)throw new Error(_0x51fa66(0x229)+_0x5487d7+_0x51fa66(0x132));if(_0x5e73f6=_0x5e73f6[0x0],_0x5487d7==='client_max_window_bits'){if(_0x5e73f6!==!0x0){const _0x1de721=+_0x5e73f6;if(!Number[_0x51fa66(0x162)](_0x1de721)||_0x1de721<0x8||_0x1de721>0xf)throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);_0x5e73f6=_0x1de721;}else{if(!this['_isServer'])throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);}}else{if(_0x5487d7===_0x51fa66(0x22a)){const _0x4ebd59=+_0x5e73f6;if(!Number[_0x51fa66(0x162)](_0x4ebd59)||_0x4ebd59<0x8||_0x4ebd59>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);_0x5e73f6=_0x4ebd59;}else{if(_0x5487d7===_0x51fa66(0x145)||_0x5487d7===_0x51fa66(0x184)){if(_0x5e73f6!==!0x0)throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);}else throw new Error(_0x51fa66(0x230)+_0x5487d7+'\x22');}}_0x5dc440[_0x5487d7]=_0x5e73f6;});}),_0x3ebb26;}['decompress'](_0x384789,_0x125d8b,_0x2d888f){_0x480ec8['add'](_0xb56377=>{const _0xdb1588=_0x147c;this[_0xdb1588(0xf4)](_0x384789,_0x125d8b,(_0xc14b12,_0xfdc226)=>{_0xb56377(),_0x2d888f(_0xc14b12,_0xfdc226);});});}[_0x498c44(0xa4)](_0x3332df,_0x52746c,_0x3883c1){const _0x5380d2=_0x498c44;_0x480ec8[_0x5380d2(0xb2)](_0x49d2c9=>{const _0x5d82cc=_0x5380d2;this[_0x5d82cc(0x11b)](_0x3332df,_0x52746c,(_0x27fc7c,_0x5956b8)=>{_0x49d2c9(),_0x3883c1(_0x27fc7c,_0x5956b8);});});}[_0x498c44(0xf4)](_0x1dfaab,_0x3a1c75,_0x81a83c){const _0x51d964=_0x498c44,_0x4fa697=this['_isServer']?'client':_0x51d964(0x1c8);if(!this[_0x51d964(0x6a)]){const _0x35863c=_0x4fa697+_0x51d964(0xa8),_0x4f3ad3=typeof this[_0x51d964(0x204)][_0x35863c]!=_0x51d964(0x15b)?_0x57d724['Z_DEFAULT_WINDOWBITS']:this['params'][_0x35863c];this['_inflate']=_0x57d724[_0x51d964(0x212)]({...this[_0x51d964(0x14a)]['zlibInflateOptions'],'windowBits':_0x4f3ad3}),this[_0x51d964(0x6a)][_0xf8278c]=this,this[_0x51d964(0x6a)][_0x4a3861]=0x0,this[_0x51d964(0x6a)][_0x5129f1]=[],this['_inflate']['on'](_0x51d964(0xe0),_0x442459),this[_0x51d964(0x6a)]['on']('data',_0x321561);}this[_0x51d964(0x6a)][_0x208e84]=_0x81a83c,this[_0x51d964(0x6a)][_0x51d964(0x189)](_0x1dfaab),_0x3a1c75&&this[_0x51d964(0x6a)][_0x51d964(0x189)](_0x57d9c9),this[_0x51d964(0x6a)][_0x51d964(0x17f)](()=>{const _0x5a5df2=_0x51d964,_0x198f04=this['_inflate'][_0x431219];if(_0x198f04){this[_0x5a5df2(0x6a)][_0x5a5df2(0x227)](),this[_0x5a5df2(0x6a)]=null,_0x81a83c(_0x198f04);return;}const _0x1ac21=_0x485f1d['concat'](this[_0x5a5df2(0x6a)][_0x5129f1],this[_0x5a5df2(0x6a)][_0x4a3861]);this[_0x5a5df2(0x6a)][_0x5a5df2(0x6f)][_0x5a5df2(0x82)]?(this[_0x5a5df2(0x6a)][_0x5a5df2(0x227)](),this[_0x5a5df2(0x6a)]=null):(this[_0x5a5df2(0x6a)][_0x4a3861]=0x0,this['_inflate'][_0x5129f1]=[],_0x3a1c75&&this[_0x5a5df2(0x204)][_0x4fa697+_0x5a5df2(0x1fc)]&&this['_inflate'][_0x5a5df2(0xaa)]()),_0x81a83c(null,_0x1ac21);});}[_0x498c44(0x11b)](_0x1c1a20,_0x5e931b,_0x440ab9){const _0x1c96ee=_0x498c44,_0x57aa84=this[_0x1c96ee(0x122)]?_0x1c96ee(0x1c8):_0x1c96ee(0x1e5);if(!this[_0x1c96ee(0x91)]){const _0x5442c4=_0x57aa84+_0x1c96ee(0xa8),_0x55710d=typeof this[_0x1c96ee(0x204)][_0x5442c4]!=_0x1c96ee(0x15b)?_0x57d724[_0x1c96ee(0x12a)]:this[_0x1c96ee(0x204)][_0x5442c4];this[_0x1c96ee(0x91)]=_0x57d724[_0x1c96ee(0x19c)]({...this[_0x1c96ee(0x14a)]['zlibDeflateOptions'],'windowBits':_0x55710d}),this['_deflate'][_0x4a3861]=0x0,this[_0x1c96ee(0x91)][_0x5129f1]=[],this['_deflate']['on'](_0x1c96ee(0x19d),_0x1276a2);}this[_0x1c96ee(0x91)][_0x208e84]=_0x440ab9,this[_0x1c96ee(0x91)]['write'](_0x1c1a20),this['_deflate'][_0x1c96ee(0x17f)](_0x57d724[_0x1c96ee(0x1d6)],()=>{const _0x193e0f=_0x1c96ee;if(!this[_0x193e0f(0x91)])return;let _0x446fda=_0x485f1d[_0x193e0f(0xab)](this[_0x193e0f(0x91)][_0x5129f1],this[_0x193e0f(0x91)][_0x4a3861]);_0x5e931b&&(_0x446fda=new _0x144cd0(_0x446fda[_0x193e0f(0x1a3)],_0x446fda['byteOffset'],_0x446fda[_0x193e0f(0x1d3)]-0x4)),this[_0x193e0f(0x91)][_0x208e84]=null,this[_0x193e0f(0x91)][_0x4a3861]=0x0,this['_deflate'][_0x5129f1]=[],_0x5e931b&&this[_0x193e0f(0x204)][_0x57aa84+_0x193e0f(0x1fc)]&&this[_0x193e0f(0x91)][_0x193e0f(0xaa)](),_0x440ab9(null,_0x446fda);});}}ve=_0x4eee68;function _0x1276a2(_0x5c9b31){const _0x2cf4ba=_0x498c44;this[_0x5129f1][_0x2cf4ba(0x70)](_0x5c9b31),this[_0x4a3861]+=_0x5c9b31[_0x2cf4ba(0x1d3)];}function _0x321561(_0x3a7119){const _0x564b34=_0x498c44;if(this[_0x4a3861]+=_0x3a7119[_0x564b34(0x1d3)],this[_0xf8278c]['_maxPayload']<0x1||this[_0x4a3861]<=this[_0xf8278c][_0x564b34(0xc9)]){this[_0x5129f1][_0x564b34(0x70)](_0x3a7119);return;}this[_0x431219]=new RangeError(_0x564b34(0x9b)),this[_0x431219]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x431219][_0x56df91]=0x3f1,this['removeListener'](_0x564b34(0x19d),_0x321561),this[_0x564b34(0xaa)]();}function _0x442459(_0x2e4f72){const _0x54a8e8=_0x498c44;if(this[_0xf8278c][_0x54a8e8(0x6a)]=null,this[_0x431219]){this[_0x208e84](this[_0x431219]);return;}_0x2e4f72[_0x56df91]=0x3ef,this[_0x208e84](_0x2e4f72);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x5ab958(0x85)]({'__proto__':null,'default':Dt},Symbol[_0x5ab958(0xdb)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x427aa8=_0x5ab958;if(Ye)return ie[_0x427aa8(0xe7)];Ye=0x1;const {isUtf8:_0x25dca5}=wt,{hasBlob:_0x22de04}=H(),_0x1d93e6=[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 _0x1c8138(_0x350cd3){return _0x350cd3>=0x3e8&&_0x350cd3<=0x3f6&&_0x350cd3!==0x3ec&&_0x350cd3!==0x3ed&&_0x350cd3!==0x3ee||_0x350cd3>=0xbb8&&_0x350cd3<=0x1387;}function _0x26c17a(_0x3a902f){const _0x14ad35=_0x427aa8,_0x142f16=_0x3a902f[_0x14ad35(0x1d3)];let _0x5031f8=0x0;for(;_0x5031f8<_0x142f16;)if((_0x3a902f[_0x5031f8]&0x80)===0x0)_0x5031f8++;else{if((_0x3a902f[_0x5031f8]&0xe0)===0xc0){if(_0x5031f8+0x1===_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8]&0xfe)===0xc0)return!0x1;_0x5031f8+=0x2;}else{if((_0x3a902f[_0x5031f8]&0xf0)===0xe0){if(_0x5031f8+0x2>=_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x2]&0xc0)!==0x80||_0x3a902f[_0x5031f8]===0xe0&&(_0x3a902f[_0x5031f8+0x1]&0xe0)===0x80||_0x3a902f[_0x5031f8]===0xed&&(_0x3a902f[_0x5031f8+0x1]&0xe0)===0xa0)return!0x1;_0x5031f8+=0x3;}else{if((_0x3a902f[_0x5031f8]&0xf8)===0xf0){if(_0x5031f8+0x3>=_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x2]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x3]&0xc0)!==0x80||_0x3a902f[_0x5031f8]===0xf0&&(_0x3a902f[_0x5031f8+0x1]&0xf0)===0x80||_0x3a902f[_0x5031f8]===0xf4&&_0x3a902f[_0x5031f8+0x1]>0x8f||_0x3a902f[_0x5031f8]>0xf4)return!0x1;_0x5031f8+=0x4;}else return!0x1;}}}return!0x0;}function _0x1a0822(_0x30b93a){const _0x38999a=_0x427aa8;return _0x22de04&&typeof _0x30b93a==_0x38999a(0x20b)&&typeof _0x30b93a[_0x38999a(0xf0)]=='function'&&typeof _0x30b93a[_0x38999a(0x9c)]==_0x38999a(0x219)&&typeof _0x30b93a[_0x38999a(0x8c)]==_0x38999a(0x193)&&(_0x30b93a[Symbol[_0x38999a(0xdb)]]===_0x38999a(0x125)||_0x30b93a[Symbol[_0x38999a(0xdb)]]===_0x38999a(0xf1));}if(ie[_0x427aa8(0xe7)]={'isBlob':_0x1a0822,'isValidStatusCode':_0x1c8138,'isValidUTF8':_0x26c17a,'tokenChars':_0x1d93e6},_0x25dca5)ie[_0x427aa8(0xe7)][_0x427aa8(0x92)]=function(_0x94e483){const _0x412de6=_0x427aa8;return _0x94e483[_0x412de6(0x1d3)]<0x18?_0x26c17a(_0x94e483):_0x25dca5(_0x94e483);};else{if(!process[_0x427aa8(0x205)]['WS_NO_UTF_8_VALIDATE'])try{const _0x5a36cd=Bt;ie['exports']['isValidUTF8']=function(_0x14d85a){return _0x14d85a['length']<0x20?_0x26c17a(_0x14d85a):_0x5a36cd(_0x14d85a);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x46edc9=_0x5ab958;if(Ke)return Se;Ke=0x1;const {Writable:_0xfaa0a}=oe,_0x1cff71=he(),{BINARY_TYPES:_0x110a68,EMPTY_BUFFER:_0x9da1b3,kStatusCode:_0x494b33,kWebSocket:_0x983838}=H(),{concat:_0x2997f8,toArrayBuffer:_0x27f761,unmask:_0x1f60f7}=ce(),{isValidStatusCode:_0x117b36,isValidUTF8:_0x31e1e2}=ae(),_0x454404=Buffer[Symbol[_0x46edc9(0x1e8)]],_0x4f7e69=0x0,_0x41d632=0x1,_0x2f57ed=0x2,_0x44ea4c=0x3,_0x33f818=0x4,_0x5e329d=0x5,_0x6ff211=0x6;class _0x29431d extends _0xfaa0a{constructor(_0x598347={}){const _0x56b44e=_0x46edc9;super(),this[_0x56b44e(0xb9)]=_0x598347[_0x56b44e(0x221)]!==void 0x0?_0x598347['allowSynchronousEvents']:!0x0,this[_0x56b44e(0x144)]=_0x598347['binaryType']||_0x110a68[0x0],this['_extensions']=_0x598347[_0x56b44e(0xe8)]||{},this[_0x56b44e(0x122)]=!!_0x598347[_0x56b44e(0xec)],this[_0x56b44e(0xc9)]=_0x598347['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x598347[_0x56b44e(0x22d)],this[_0x983838]=void 0x0,this[_0x56b44e(0xeb)]=0x0,this[_0x56b44e(0x74)]=[],this[_0x56b44e(0xf9)]=!0x1,this[_0x56b44e(0x18e)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x56b44e(0xae)]=!0x1,this[_0x56b44e(0x1cb)]=!0x1,this['_opcode']=0x0,this[_0x56b44e(0x1df)]=0x0,this[_0x56b44e(0x1aa)]=0x0,this[_0x56b44e(0x10c)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x56b44e(0x1cf)]=_0x4f7e69;}[_0x46edc9(0x1f9)](_0x1cefb4,_0xa25ca2,_0xce786b){const _0x2ae9f6=_0x46edc9;if(this[_0x2ae9f6(0x164)]===0x8&&this[_0x2ae9f6(0x1cf)]==_0x4f7e69)return _0xce786b();this['_bufferedBytes']+=_0x1cefb4[_0x2ae9f6(0x1d3)],this[_0x2ae9f6(0x74)]['push'](_0x1cefb4),this[_0x2ae9f6(0xe9)](_0xce786b);}['consume'](_0x40e5d2){const _0x512d42=_0x46edc9;if(this[_0x512d42(0xeb)]-=_0x40e5d2,_0x40e5d2===this[_0x512d42(0x74)][0x0][_0x512d42(0x1d3)])return this['_buffers']['shift']();if(_0x40e5d2<this[_0x512d42(0x74)][0x0][_0x512d42(0x1d3)]){const _0x3cfee5=this[_0x512d42(0x74)][0x0];return this['_buffers'][0x0]=new _0x454404(_0x3cfee5[_0x512d42(0x1a3)],_0x3cfee5[_0x512d42(0x106)]+_0x40e5d2,_0x3cfee5[_0x512d42(0x1d3)]-_0x40e5d2),new _0x454404(_0x3cfee5[_0x512d42(0x1a3)],_0x3cfee5['byteOffset'],_0x40e5d2);}const _0x27f4f4=Buffer[_0x512d42(0x84)](_0x40e5d2);do{const _0x3c5360=this[_0x512d42(0x74)][0x0],_0x5df277=_0x27f4f4['length']-_0x40e5d2;_0x40e5d2>=_0x3c5360[_0x512d42(0x1d3)]?_0x27f4f4[_0x512d42(0x13f)](this[_0x512d42(0x74)]['shift'](),_0x5df277):(_0x27f4f4[_0x512d42(0x13f)](new Uint8Array(_0x3c5360[_0x512d42(0x1a3)],_0x3c5360[_0x512d42(0x106)],_0x40e5d2),_0x5df277),this[_0x512d42(0x74)][0x0]=new _0x454404(_0x3c5360['buffer'],_0x3c5360[_0x512d42(0x106)]+_0x40e5d2,_0x3c5360['length']-_0x40e5d2)),_0x40e5d2-=_0x3c5360[_0x512d42(0x1d3)];}while(_0x40e5d2>0x0);return _0x27f4f4;}[_0x46edc9(0xe9)](_0x236867){const _0x5bbf4d=_0x46edc9;this[_0x5bbf4d(0x8e)]=!0x0;do switch(this[_0x5bbf4d(0x1cf)]){case _0x4f7e69:this['getInfo'](_0x236867);break;case _0x41d632:this[_0x5bbf4d(0x8a)](_0x236867);break;case _0x2f57ed:this[_0x5bbf4d(0x9d)](_0x236867);break;case _0x44ea4c:this[_0x5bbf4d(0x21c)]();break;case _0x33f818:this['getData'](_0x236867);break;case _0x5e329d:case _0x6ff211:this[_0x5bbf4d(0x8e)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x236867();}['getInfo'](_0x3d5e08){const _0x56057f=_0x46edc9;if(this[_0x56057f(0xeb)]<0x2){this[_0x56057f(0x8e)]=!0x1;return;}const _0x18bb85=this[_0x56057f(0xa2)](0x2);if((_0x18bb85[0x0]&0x30)!==0x0){const _0x13c462=this['createError'](RangeError,_0x56057f(0x1e0),!0x0,0x3ea,_0x56057f(0x120));_0x3d5e08(_0x13c462);return;}const _0x3eadec=(_0x18bb85[0x0]&0x40)===0x40;if(_0x3eadec&&!this[_0x56057f(0xe2)][_0x1cff71[_0x56057f(0x79)]]){const _0x56001f=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0x56001f);return;}if(this['_fin']=(_0x18bb85[0x0]&0x80)===0x80,this[_0x56057f(0x164)]=_0x18bb85[0x0]&0xf,this[_0x56057f(0x18e)]=_0x18bb85[0x1]&0x7f,this[_0x56057f(0x164)]===0x0){if(_0x3eadec){const _0x15785f=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x211),!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0x15785f);return;}if(!this[_0x56057f(0x156)]){const _0x303f4b=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x220),!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x303f4b);return;}this[_0x56057f(0x164)]=this[_0x56057f(0x156)];}else{if(this[_0x56057f(0x164)]===0x1||this['_opcode']===0x2){if(this[_0x56057f(0x156)]){const _0x23a9cf=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x15c)+this[_0x56057f(0x164)],!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x23a9cf);return;}this['_compressed']=_0x3eadec;}else{if(this['_opcode']>0x7&&this[_0x56057f(0x164)]<0xb){if(!this[_0x56057f(0x1cb)]){const _0x59f66b=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x10f),!0x0,0x3ea,_0x56057f(0xd2));_0x3d5e08(_0x59f66b);return;}if(_0x3eadec){const _0xa05692=this['createError'](RangeError,_0x56057f(0x211),!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0xa05692);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x409576=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x1fe)+this[_0x56057f(0x18e)],!0x0,0x3ea,_0x56057f(0x177));_0x3d5e08(_0x409576);return;}}else{const _0x5d0f75=this[_0x56057f(0xc2)](RangeError,'invalid\x20opcode\x20'+this[_0x56057f(0x164)],!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x5d0f75);return;}}}if(!this[_0x56057f(0x1cb)]&&!this[_0x56057f(0x156)]&&(this[_0x56057f(0x156)]=this[_0x56057f(0x164)]),this[_0x56057f(0xae)]=(_0x18bb85[0x1]&0x80)===0x80,this[_0x56057f(0x122)]){if(!this[_0x56057f(0xae)]){const _0xd5da57=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x209),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3d5e08(_0xd5da57);return;}}else{if(this['_masked']){const _0x281798=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x56057f(0xad));_0x3d5e08(_0x281798);return;}}this[_0x56057f(0x18e)]===0x7e?this[_0x56057f(0x1cf)]=_0x41d632:this['_payloadLength']===0x7f?this[_0x56057f(0x1cf)]=_0x2f57ed:this['haveLength'](_0x3d5e08);}[_0x46edc9(0x8a)](_0xcd689d){const _0x1288b0=_0x46edc9;if(this[_0x1288b0(0xeb)]<0x2){this[_0x1288b0(0x8e)]=!0x1;return;}this['_payloadLength']=this[_0x1288b0(0xa2)](0x2)['readUInt16BE'](0x0),this[_0x1288b0(0xc4)](_0xcd689d);}['getPayloadLength64'](_0x22c035){const _0x4053be=_0x46edc9;if(this[_0x4053be(0xeb)]<0x8){this[_0x4053be(0x8e)]=!0x1;return;}const _0x268ffa=this[_0x4053be(0xa2)](0x8),_0x4b8156=_0x268ffa[_0x4053be(0x1bc)](0x0);if(_0x4b8156>Math[_0x4053be(0x1f1)](0x2,0x15)-0x1){const _0x48fdff=this['createError'](RangeError,_0x4053be(0x1c3),!0x1,0x3f1,_0x4053be(0x15f));_0x22c035(_0x48fdff);return;}this[_0x4053be(0x18e)]=_0x4b8156*Math[_0x4053be(0x1f1)](0x2,0x20)+_0x268ffa['readUInt32BE'](0x4),this[_0x4053be(0xc4)](_0x22c035);}[_0x46edc9(0xc4)](_0x5dd1f2){const _0x824e53=_0x46edc9;if(this[_0x824e53(0x18e)]&&this[_0x824e53(0x164)]<0x8&&(this[_0x824e53(0x1df)]+=this['_payloadLength'],this[_0x824e53(0x1df)]>this[_0x824e53(0xc9)]&&this[_0x824e53(0xc9)]>0x0)){const _0x8572cc=this[_0x824e53(0xc2)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x824e53(0x1f4));_0x5dd1f2(_0x8572cc);return;}this['_masked']?this['_state']=_0x44ea4c:this[_0x824e53(0x1cf)]=_0x33f818;}[_0x46edc9(0x21c)](){const _0x1b3cf9=_0x46edc9;if(this['_bufferedBytes']<0x4){this[_0x1b3cf9(0x8e)]=!0x1;return;}this[_0x1b3cf9(0xbd)]=this[_0x1b3cf9(0xa2)](0x4),this[_0x1b3cf9(0x1cf)]=_0x33f818;}[_0x46edc9(0x222)](_0x169888){const _0x455723=_0x46edc9;let _0x53fb09=_0x9da1b3;if(this[_0x455723(0x18e)]){if(this[_0x455723(0xeb)]<this[_0x455723(0x18e)]){this['_loop']=!0x1;return;}_0x53fb09=this[_0x455723(0xa2)](this[_0x455723(0x18e)]),this[_0x455723(0xae)]&&(this['_mask'][0x0]|this[_0x455723(0xbd)][0x1]|this[_0x455723(0xbd)][0x2]|this[_0x455723(0xbd)][0x3])!==0x0&&_0x1f60f7(_0x53fb09,this[_0x455723(0xbd)]);}if(this[_0x455723(0x164)]>0x7){this[_0x455723(0x202)](_0x53fb09,_0x169888);return;}if(this[_0x455723(0xf9)]){this[_0x455723(0x1cf)]=_0x5e329d,this['decompress'](_0x53fb09,_0x169888);return;}_0x53fb09[_0x455723(0x1d3)]&&(this[_0x455723(0x1aa)]=this[_0x455723(0x1df)],this['_fragments'][_0x455723(0x70)](_0x53fb09)),this[_0x455723(0x1a9)](_0x169888);}[_0x46edc9(0x198)](_0x2ff388,_0x23274e){const _0x3e3f85=_0x46edc9;this[_0x3e3f85(0xe2)][_0x1cff71[_0x3e3f85(0x79)]][_0x3e3f85(0x198)](_0x2ff388,this[_0x3e3f85(0x1cb)],(_0x23b85e,_0x4892d5)=>{const _0x40a978=_0x3e3f85;if(_0x23b85e)return _0x23274e(_0x23b85e);if(_0x4892d5[_0x40a978(0x1d3)]){if(this[_0x40a978(0x1aa)]+=_0x4892d5['length'],this[_0x40a978(0x1aa)]>this[_0x40a978(0xc9)]&&this[_0x40a978(0xc9)]>0x0){const _0x535605=this[_0x40a978(0xc2)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x40a978(0x1f4));_0x23274e(_0x535605);return;}this[_0x40a978(0x10c)]['push'](_0x4892d5);}this[_0x40a978(0x1a9)](_0x23274e),this[_0x40a978(0x1cf)]===_0x4f7e69&&this['startLoop'](_0x23274e);});}['dataMessage'](_0x4ad949){const _0x271e79=_0x46edc9;if(!this[_0x271e79(0x1cb)]){this[_0x271e79(0x1cf)]=_0x4f7e69;return;}const _0x46829d=this[_0x271e79(0x1aa)],_0x1a1277=this[_0x271e79(0x10c)];if(this[_0x271e79(0x1df)]=0x0,this[_0x271e79(0x1aa)]=0x0,this[_0x271e79(0x156)]=0x0,this[_0x271e79(0x10c)]=[],this[_0x271e79(0x164)]===0x2){let _0x392620;this['_binaryType']==='nodebuffer'?_0x392620=_0x2997f8(_0x1a1277,_0x46829d):this[_0x271e79(0x144)]===_0x271e79(0xbf)?_0x392620=_0x27f761(_0x2997f8(_0x1a1277,_0x46829d)):this[_0x271e79(0x144)]===_0x271e79(0xb6)?_0x392620=new Blob(_0x1a1277):_0x392620=_0x1a1277,this['_allowSynchronousEvents']?(this[_0x271e79(0x146)](_0x271e79(0x133),_0x392620,!0x0),this[_0x271e79(0x1cf)]=_0x4f7e69):(this[_0x271e79(0x1cf)]=_0x6ff211,setImmediate(()=>{const _0x31977d=_0x271e79;this[_0x31977d(0x146)](_0x31977d(0x133),_0x392620,!0x0),this[_0x31977d(0x1cf)]=_0x4f7e69,this[_0x31977d(0xe9)](_0x4ad949);}));}else{const _0x1b4e22=_0x2997f8(_0x1a1277,_0x46829d);if(!this[_0x271e79(0x231)]&&!_0x31e1e2(_0x1b4e22)){const _0x521476=this[_0x271e79(0xc2)](Error,_0x271e79(0x1a6),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4ad949(_0x521476);return;}this[_0x271e79(0x1cf)]===_0x5e329d||this[_0x271e79(0xb9)]?(this[_0x271e79(0x146)](_0x271e79(0x133),_0x1b4e22,!0x1),this[_0x271e79(0x1cf)]=_0x4f7e69):(this['_state']=_0x6ff211,setImmediate(()=>{const _0x37935a=_0x271e79;this[_0x37935a(0x146)](_0x37935a(0x133),_0x1b4e22,!0x1),this[_0x37935a(0x1cf)]=_0x4f7e69,this[_0x37935a(0xe9)](_0x4ad949);}));}}[_0x46edc9(0x202)](_0x463280,_0x2f6c57){const _0x1cc039=_0x46edc9;if(this[_0x1cc039(0x164)]===0x8){if(_0x463280[_0x1cc039(0x1d3)]===0x0)this[_0x1cc039(0x8e)]=!0x1,this[_0x1cc039(0x146)]('conclude',0x3ed,_0x9da1b3),this[_0x1cc039(0x214)]();else{const _0x166d69=_0x463280[_0x1cc039(0x1ed)](0x0);if(!_0x117b36(_0x166d69)){const _0x4f3d80=this[_0x1cc039(0xc2)](RangeError,_0x1cc039(0xd8)+_0x166d69,!0x0,0x3ea,_0x1cc039(0x22e));_0x2f6c57(_0x4f3d80);return;}const _0x3b761a=new _0x454404(_0x463280['buffer'],_0x463280[_0x1cc039(0x106)]+0x2,_0x463280[_0x1cc039(0x1d3)]-0x2);if(!this[_0x1cc039(0x231)]&&!_0x31e1e2(_0x3b761a)){const _0x2ed85e=this[_0x1cc039(0xc2)](Error,_0x1cc039(0x1a6),!0x0,0x3ef,_0x1cc039(0x1be));_0x2f6c57(_0x2ed85e);return;}this[_0x1cc039(0x8e)]=!0x1,this[_0x1cc039(0x146)](_0x1cc039(0xfd),_0x166d69,_0x3b761a),this[_0x1cc039(0x214)]();}this[_0x1cc039(0x1cf)]=_0x4f7e69;return;}this[_0x1cc039(0xb9)]?(this['emit'](this['_opcode']===0x9?_0x1cc039(0x17c):_0x1cc039(0x174),_0x463280),this['_state']=_0x4f7e69):(this['_state']=_0x6ff211,setImmediate(()=>{const _0x4612fa=_0x1cc039;this[_0x4612fa(0x146)](this['_opcode']===0x9?_0x4612fa(0x17c):'pong',_0x463280),this[_0x4612fa(0x1cf)]=_0x4f7e69,this[_0x4612fa(0xe9)](_0x2f6c57);}));}[_0x46edc9(0xc2)](_0x5b4550,_0x242655,_0x335112,_0xd023c1,_0x5b6061){const _0x3122c6=_0x46edc9;this[_0x3122c6(0x8e)]=!0x1,this[_0x3122c6(0x8b)]=!0x0;const _0xc41e3d=new _0x5b4550(_0x335112?'Invalid\x20WebSocket\x20frame:\x20'+_0x242655:_0x242655);return Error[_0x3122c6(0x21e)](_0xc41e3d,this['createError']),_0xc41e3d['code']=_0x5b6061,_0xc41e3d[_0x494b33]=_0xd023c1,_0xc41e3d;}}return Se=_0x29431d,Se;}var Ee,Xe;function ft(){const _0x213274=_0x5ab958;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x306ded}=oe,{randomFillSync:_0x48646d}=Le,_0x184c2d=he(),{EMPTY_BUFFER:_0x544724,kWebSocket:_0xff3196,NOOP:_0x1d51ac}=H(),{isBlob:_0x164794,isValidStatusCode:_0x5bb13e}=ae(),{mask:_0x2412d8,toBuffer:_0x4b08a2}=ce(),_0x141e03=Symbol(_0x213274(0xe3)),_0x136a7c=Buffer[_0x213274(0x6c)](0x4),_0x348bf=0x8*0x400;let _0x2a6b36,_0x53ea0d=_0x348bf;const _0x185c2c=0x0,_0x5049a9=0x1,_0x2b8735=0x2;class _0x35ad89{constructor(_0x485439,_0xbcec38,_0x558dc5){const _0x23e0fb=_0x213274;this[_0x23e0fb(0xe2)]=_0xbcec38||{},_0x558dc5&&(this['_generateMask']=_0x558dc5,this[_0x23e0fb(0x1ff)]=Buffer[_0x23e0fb(0x6c)](0x4)),this['_socket']=_0x485439,this['_firstFragment']=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x23e0fb(0xc8)]=[],this[_0x23e0fb(0x1cf)]=_0x185c2c,this[_0x23e0fb(0xa6)]=_0x1d51ac,this[_0xff3196]=void 0x0;}static[_0x213274(0xcb)](_0x2cdd08,_0x5ba5ab){const _0x58e928=_0x213274;let _0x199943,_0x46e70b=!0x1,_0x3ec069=0x2,_0x1ea7fd=!0x1;_0x5ba5ab['mask']&&(_0x199943=_0x5ba5ab[_0x58e928(0x6e)]||_0x136a7c,_0x5ba5ab[_0x58e928(0x21d)]?_0x5ba5ab['generateMask'](_0x199943):(_0x53ea0d===_0x348bf&&(_0x2a6b36===void 0x0&&(_0x2a6b36=Buffer['alloc'](_0x348bf)),_0x48646d(_0x2a6b36,0x0,_0x348bf),_0x53ea0d=0x0),_0x199943[0x0]=_0x2a6b36[_0x53ea0d++],_0x199943[0x1]=_0x2a6b36[_0x53ea0d++],_0x199943[0x2]=_0x2a6b36[_0x53ea0d++],_0x199943[0x3]=_0x2a6b36[_0x53ea0d++]),_0x1ea7fd=(_0x199943[0x0]|_0x199943[0x1]|_0x199943[0x2]|_0x199943[0x3])===0x0,_0x3ec069=0x6);let _0x2e7fd2;typeof _0x2cdd08=='string'?(!_0x5ba5ab['mask']||_0x1ea7fd)&&_0x5ba5ab[_0x141e03]!==void 0x0?_0x2e7fd2=_0x5ba5ab[_0x141e03]:(_0x2cdd08=Buffer[_0x58e928(0xb0)](_0x2cdd08),_0x2e7fd2=_0x2cdd08[_0x58e928(0x1d3)]):(_0x2e7fd2=_0x2cdd08[_0x58e928(0x1d3)],_0x46e70b=_0x5ba5ab[_0x58e928(0x1ba)]&&_0x5ba5ab[_0x58e928(0x180)]&&!_0x1ea7fd);let _0x349fe9=_0x2e7fd2;_0x2e7fd2>=0x10000?(_0x3ec069+=0x8,_0x349fe9=0x7f):_0x2e7fd2>0x7d&&(_0x3ec069+=0x2,_0x349fe9=0x7e);const _0xbe0c3a=Buffer[_0x58e928(0x84)](_0x46e70b?_0x2e7fd2+_0x3ec069:_0x3ec069);return _0xbe0c3a[0x0]=_0x5ba5ab[_0x58e928(0xde)]?_0x5ba5ab[_0x58e928(0xb8)]|0x80:_0x5ba5ab['opcode'],_0x5ba5ab[_0x58e928(0x160)]&&(_0xbe0c3a[0x0]|=0x40),_0xbe0c3a[0x1]=_0x349fe9,_0x349fe9===0x7e?_0xbe0c3a[_0x58e928(0x187)](_0x2e7fd2,0x2):_0x349fe9===0x7f&&(_0xbe0c3a[0x2]=_0xbe0c3a[0x3]=0x0,_0xbe0c3a[_0x58e928(0x8d)](_0x2e7fd2,0x4,0x6)),_0x5ba5ab['mask']?(_0xbe0c3a[0x1]|=0x80,_0xbe0c3a[_0x3ec069-0x4]=_0x199943[0x0],_0xbe0c3a[_0x3ec069-0x3]=_0x199943[0x1],_0xbe0c3a[_0x3ec069-0x2]=_0x199943[0x2],_0xbe0c3a[_0x3ec069-0x1]=_0x199943[0x3],_0x1ea7fd?[_0xbe0c3a,_0x2cdd08]:_0x46e70b?(_0x2412d8(_0x2cdd08,_0x199943,_0xbe0c3a,_0x3ec069,_0x2e7fd2),[_0xbe0c3a]):(_0x2412d8(_0x2cdd08,_0x199943,_0x2cdd08,0x0,_0x2e7fd2),[_0xbe0c3a,_0x2cdd08])):[_0xbe0c3a,_0x2cdd08];}[_0x213274(0x227)](_0x520c12,_0x417e82,_0x296252,_0x4d435a){const _0x47166b=_0x213274;let _0x37ec77;if(_0x520c12===void 0x0)_0x37ec77=_0x544724;else{if(typeof _0x520c12!=_0x47166b(0x15b)||!_0x5bb13e(_0x520c12))throw new TypeError(_0x47166b(0x15d));if(_0x417e82===void 0x0||!_0x417e82[_0x47166b(0x1d3)])_0x37ec77=Buffer[_0x47166b(0x84)](0x2),_0x37ec77[_0x47166b(0x187)](_0x520c12,0x0);else{const _0x514341=Buffer['byteLength'](_0x417e82);if(_0x514341>0x7b)throw new RangeError(_0x47166b(0x11d));_0x37ec77=Buffer[_0x47166b(0x84)](0x2+_0x514341),_0x37ec77['writeUInt16BE'](_0x520c12,0x0),typeof _0x417e82=='string'?_0x37ec77[_0x47166b(0x189)](_0x417e82,0x2):_0x37ec77[_0x47166b(0x13f)](_0x417e82,0x2);}}const _0x1295af={[_0x141e03]:_0x37ec77['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x296252,'maskBuffer':this[_0x47166b(0x1ff)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x47166b(0x1cf)]!==_0x185c2c?this[_0x47166b(0x1bd)]([this[_0x47166b(0x20c)],_0x37ec77,!0x1,_0x1295af,_0x4d435a]):this[_0x47166b(0x20d)](_0x35ad89[_0x47166b(0xcb)](_0x37ec77,_0x1295af),_0x4d435a);}[_0x213274(0x17c)](_0x154499,_0x3fcf6f,_0x504629){const _0x15bc54=_0x213274;let _0x1fb7c5,_0x4de470;if(typeof _0x154499=='string'?(_0x1fb7c5=Buffer[_0x15bc54(0x95)](_0x154499),_0x4de470=!0x1):_0x164794(_0x154499)?(_0x1fb7c5=_0x154499[_0x15bc54(0x1c0)],_0x4de470=!0x1):(_0x154499=_0x4b08a2(_0x154499),_0x1fb7c5=_0x154499[_0x15bc54(0x1d3)],_0x4de470=_0x4b08a2['readOnly']),_0x1fb7c5>0x7d)throw new RangeError(_0x15bc54(0xd5));const _0x88456b={[_0x141e03]:_0x1fb7c5,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3fcf6f,'maskBuffer':this[_0x15bc54(0x1ff)],'opcode':0x9,'readOnly':_0x4de470,'rsv1':!0x1};_0x164794(_0x154499)?this[_0x15bc54(0x1cf)]!==_0x185c2c?this[_0x15bc54(0x1bd)]([this[_0x15bc54(0xbe)],_0x154499,!0x1,_0x88456b,_0x504629]):this[_0x15bc54(0xbe)](_0x154499,!0x1,_0x88456b,_0x504629):this['_state']!==_0x185c2c?this[_0x15bc54(0x1bd)]([this[_0x15bc54(0x20c)],_0x154499,!0x1,_0x88456b,_0x504629]):this[_0x15bc54(0x20d)](_0x35ad89[_0x15bc54(0xcb)](_0x154499,_0x88456b),_0x504629);}[_0x213274(0x174)](_0x357d8b,_0x542b83,_0x56ab19){const _0x3dad5e=_0x213274;let _0x4d9f7b,_0x2398d5;if(typeof _0x357d8b==_0x3dad5e(0x219)?(_0x4d9f7b=Buffer[_0x3dad5e(0x95)](_0x357d8b),_0x2398d5=!0x1):_0x164794(_0x357d8b)?(_0x4d9f7b=_0x357d8b['size'],_0x2398d5=!0x1):(_0x357d8b=_0x4b08a2(_0x357d8b),_0x4d9f7b=_0x357d8b[_0x3dad5e(0x1d3)],_0x2398d5=_0x4b08a2[_0x3dad5e(0x180)]),_0x4d9f7b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3c74e0={[_0x141e03]:_0x4d9f7b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x542b83,'maskBuffer':this[_0x3dad5e(0x1ff)],'opcode':0xa,'readOnly':_0x2398d5,'rsv1':!0x1};_0x164794(_0x357d8b)?this['_state']!==_0x185c2c?this[_0x3dad5e(0x1bd)]([this['getBlobData'],_0x357d8b,!0x1,_0x3c74e0,_0x56ab19]):this[_0x3dad5e(0xbe)](_0x357d8b,!0x1,_0x3c74e0,_0x56ab19):this[_0x3dad5e(0x1cf)]!==_0x185c2c?this[_0x3dad5e(0x1bd)]([this[_0x3dad5e(0x20c)],_0x357d8b,!0x1,_0x3c74e0,_0x56ab19]):this['sendFrame'](_0x35ad89[_0x3dad5e(0xcb)](_0x357d8b,_0x3c74e0),_0x56ab19);}[_0x213274(0xdf)](_0x2d27ee,_0x2c4157,_0x5634f4){const _0x4087fd=_0x213274,_0x44e846=this['_extensions'][_0x184c2d['extensionName']];let _0x2abb17=_0x2c4157['binary']?0x2:0x1,_0x120d65=_0x2c4157[_0x4087fd(0xa4)],_0x2736a8,_0x1033ae;typeof _0x2d27ee=='string'?(_0x2736a8=Buffer['byteLength'](_0x2d27ee),_0x1033ae=!0x1):_0x164794(_0x2d27ee)?(_0x2736a8=_0x2d27ee[_0x4087fd(0x1c0)],_0x1033ae=!0x1):(_0x2d27ee=_0x4b08a2(_0x2d27ee),_0x2736a8=_0x2d27ee[_0x4087fd(0x1d3)],_0x1033ae=_0x4b08a2[_0x4087fd(0x180)]),this[_0x4087fd(0x93)]?(this[_0x4087fd(0x93)]=!0x1,_0x120d65&&_0x44e846&&_0x44e846[_0x4087fd(0x204)][_0x44e846['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x120d65=_0x2736a8>=_0x44e846[_0x4087fd(0x1e2)]),this['_compress']=_0x120d65):(_0x120d65=!0x1,_0x2abb17=0x0),_0x2c4157[_0x4087fd(0xde)]&&(this['_firstFragment']=!0x0);const _0x5e5335={[_0x141e03]:_0x2736a8,'fin':_0x2c4157[_0x4087fd(0xde)],'generateMask':this['_generateMask'],'mask':_0x2c4157['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x2abb17,'readOnly':_0x1033ae,'rsv1':_0x120d65};_0x164794(_0x2d27ee)?this['_state']!==_0x185c2c?this[_0x4087fd(0x1bd)]([this['getBlobData'],_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4]):this[_0x4087fd(0xbe)](_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4):this[_0x4087fd(0x1cf)]!==_0x185c2c?this[_0x4087fd(0x1bd)]([this['dispatch'],_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4]):this['dispatch'](_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4);}[_0x213274(0xbe)](_0x578266,_0xb3b65c,_0x5a31ac,_0x13ded6){const _0x1af3cb=_0x213274;this[_0x1af3cb(0xeb)]+=_0x5a31ac[_0x141e03],this[_0x1af3cb(0x1cf)]=_0x2b8735,_0x578266[_0x1af3cb(0xf0)]()[_0x1af3cb(0x1eb)](_0xc69599=>{const _0x513cee=_0x1af3cb;if(this[_0x513cee(0x89)][_0x513cee(0x138)]){const _0x127e3c=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x513cee(0x14c)](_0x1c5d7a,this,_0x127e3c,_0x13ded6);return;}this['_bufferedBytes']-=_0x5a31ac[_0x141e03];const _0x4be95b=_0x4b08a2(_0xc69599);_0xb3b65c?this[_0x513cee(0x20c)](_0x4be95b,_0xb3b65c,_0x5a31ac,_0x13ded6):(this[_0x513cee(0x1cf)]=_0x185c2c,this['sendFrame'](_0x35ad89[_0x513cee(0xcb)](_0x4be95b,_0x5a31ac),_0x13ded6),this['dequeue']());})[_0x1af3cb(0x1b0)](_0x2e4c11=>{const _0x19f609=_0x1af3cb;process[_0x19f609(0x14c)](_0x294087,this,_0x2e4c11,_0x13ded6);});}[_0x213274(0x20c)](_0x7159de,_0x59ec3a,_0x34a07f,_0x4a4b6b){const _0x33aac6=_0x213274;if(!_0x59ec3a){this[_0x33aac6(0x20d)](_0x35ad89[_0x33aac6(0xcb)](_0x7159de,_0x34a07f),_0x4a4b6b);return;}const _0x23fc83=this[_0x33aac6(0xe2)][_0x184c2d['extensionName']];this['_bufferedBytes']+=_0x34a07f[_0x141e03],this[_0x33aac6(0x1cf)]=_0x5049a9,_0x23fc83[_0x33aac6(0xa4)](_0x7159de,_0x34a07f['fin'],(_0x337f5f,_0x2efa1e)=>{const _0x456b63=_0x33aac6;if(this[_0x456b63(0x89)][_0x456b63(0x138)]){const _0x3b6e94=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1c5d7a(this,_0x3b6e94,_0x4a4b6b);return;}this[_0x456b63(0xeb)]-=_0x34a07f[_0x141e03],this['_state']=_0x185c2c,_0x34a07f[_0x456b63(0x180)]=!0x1,this[_0x456b63(0x20d)](_0x35ad89[_0x456b63(0xcb)](_0x2efa1e,_0x34a07f),_0x4a4b6b),this[_0x456b63(0x1ae)]();});}[_0x213274(0x1ae)](){const _0x4b2d9c=_0x213274;for(;this[_0x4b2d9c(0x1cf)]===_0x185c2c&&this['_queue']['length'];){const _0x10d36=this[_0x4b2d9c(0xc8)][_0x4b2d9c(0x1b7)]();this[_0x4b2d9c(0xeb)]-=_0x10d36[0x3][_0x141e03],Reflect[_0x4b2d9c(0xc6)](_0x10d36[0x0],this,_0x10d36[_0x4b2d9c(0x115)](0x1));}}[_0x213274(0x1bd)](_0x363219){const _0x1a288d=_0x213274;this['_bufferedBytes']+=_0x363219[0x3][_0x141e03],this[_0x1a288d(0xc8)][_0x1a288d(0x70)](_0x363219);}[_0x213274(0x20d)](_0x2e1b63,_0x1a9009){const _0x380e83=_0x213274;_0x2e1b63[_0x380e83(0x1d3)]===0x2?(this[_0x380e83(0x89)][_0x380e83(0x1a8)](),this[_0x380e83(0x89)]['write'](_0x2e1b63[0x0]),this[_0x380e83(0x89)][_0x380e83(0x189)](_0x2e1b63[0x1],_0x1a9009),this[_0x380e83(0x89)]['uncork']()):this[_0x380e83(0x89)][_0x380e83(0x189)](_0x2e1b63[0x0],_0x1a9009);}}Ee=_0x35ad89;function _0x1c5d7a(_0xc2140a,_0x2152cf,_0x27cf3c){const _0x4fdeb8=_0x213274;typeof _0x27cf3c==_0x4fdeb8(0x193)&&_0x27cf3c(_0x2152cf);for(let _0x5c68c9=0x0;_0x5c68c9<_0xc2140a['_queue'][_0x4fdeb8(0x1d3)];_0x5c68c9++){const _0x3acecb=_0xc2140a[_0x4fdeb8(0xc8)][_0x5c68c9],_0x5d5621=_0x3acecb[_0x3acecb[_0x4fdeb8(0x1d3)]-0x1];typeof _0x5d5621==_0x4fdeb8(0x193)&&_0x5d5621(_0x2152cf);}}function _0x294087(_0x30783d,_0x5220bc,_0x10f2c3){const _0x2eae47=_0x213274;_0x1c5d7a(_0x30783d,_0x5220bc,_0x10f2c3),_0x30783d[_0x2eae47(0xa6)](_0x5220bc);}return Ee;}var xe,Ze;function It(){const _0x3c51fb=_0x5ab958;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x55c98f,kListener:_0x4e3069}=H(),_0x3d20ec=Symbol(_0x3c51fb(0x13b)),_0x3d59d4=Symbol(_0x3c51fb(0x1da)),_0x29b893=Symbol('kError'),_0x5074c9=Symbol(_0x3c51fb(0xfb)),_0x19b477=Symbol(_0x3c51fb(0x16d)),_0x418a3b=Symbol('kTarget'),_0x28433b=Symbol('kType'),_0x21df90=Symbol('kWasClean');class _0x22f1eb{constructor(_0x40089c){this[_0x418a3b]=null,this[_0x28433b]=_0x40089c;}get[_0x3c51fb(0x128)](){return this[_0x418a3b];}get[_0x3c51fb(0x9c)](){return this[_0x28433b];}}Object[_0x3c51fb(0x85)](_0x22f1eb[_0x3c51fb(0x232)],_0x3c51fb(0x128),{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x22f1eb[_0x3c51fb(0x232)],_0x3c51fb(0x9c),{'enumerable':!0x0});class _0x2e358c extends _0x22f1eb{constructor(_0x3fa54a,_0x196a41={}){const _0x13790a=_0x3c51fb;super(_0x3fa54a),this[_0x3d20ec]=_0x196a41['code']===void 0x0?0x0:_0x196a41[_0x13790a(0x169)],this[_0x19b477]=_0x196a41[_0x13790a(0xf7)]===void 0x0?'':_0x196a41[_0x13790a(0xf7)],this[_0x21df90]=_0x196a41[_0x13790a(0x166)]===void 0x0?!0x1:_0x196a41[_0x13790a(0x166)];}get[_0x3c51fb(0x169)](){return this[_0x3d20ec];}get[_0x3c51fb(0xf7)](){return this[_0x19b477];}get['wasClean'](){return this[_0x21df90];}}Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],'code',{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],_0x3c51fb(0xf7),{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],_0x3c51fb(0x166),{'enumerable':!0x0});class _0x4887ed extends _0x22f1eb{constructor(_0x10b0ee,_0x4fe361={}){const _0x404a58=_0x3c51fb;super(_0x10b0ee),this[_0x29b893]=_0x4fe361['error']===void 0x0?null:_0x4fe361[_0x404a58(0xe0)],this[_0x5074c9]=_0x4fe361[_0x404a58(0x133)]===void 0x0?'':_0x4fe361[_0x404a58(0x133)];}get[_0x3c51fb(0xe0)](){return this[_0x29b893];}get[_0x3c51fb(0x133)](){return this[_0x5074c9];}}Object[_0x3c51fb(0x85)](_0x4887ed[_0x3c51fb(0x232)],'error',{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x4887ed[_0x3c51fb(0x232)],_0x3c51fb(0x133),{'enumerable':!0x0});class _0x20b009 extends _0x22f1eb{constructor(_0x377bd6,_0x5773e6={}){const _0x37d245=_0x3c51fb;super(_0x377bd6),this[_0x3d59d4]=_0x5773e6[_0x37d245(0x19d)]===void 0x0?null:_0x5773e6['data'];}get[_0x3c51fb(0x19d)](){return this[_0x3d59d4];}}Object['defineProperty'](_0x20b009[_0x3c51fb(0x232)],_0x3c51fb(0x19d),{'enumerable':!0x0}),xe={'CloseEvent':_0x2e358c,'ErrorEvent':_0x4887ed,'Event':_0x22f1eb,'EventTarget':{'addEventListener'(_0x464c6d,_0x8cdbaf,_0x578304={}){const _0x1799a6=_0x3c51fb;for(const _0x59c9dc of this[_0x1799a6(0x1f2)](_0x464c6d))if(!_0x578304[_0x55c98f]&&_0x59c9dc[_0x4e3069]===_0x8cdbaf&&!_0x59c9dc[_0x55c98f])return;let _0x728c76;if(_0x464c6d===_0x1799a6(0x133))_0x728c76=function(_0x932f1e,_0x4b33e5){const _0x1d94ca=_0x1799a6,_0x4e6a5a=new _0x20b009(_0x1d94ca(0x133),{'data':_0x4b33e5?_0x932f1e:_0x932f1e[_0x1d94ca(0x119)]()});_0x4e6a5a[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x4e6a5a);};else{if(_0x464c6d===_0x1799a6(0x227))_0x728c76=function(_0x9883a1,_0x4cb1f1){const _0x573e7e=_0x1799a6,_0x2232d7=new _0x2e358c(_0x573e7e(0x227),{'code':_0x9883a1,'reason':_0x4cb1f1[_0x573e7e(0x119)](),'wasClean':this[_0x573e7e(0x12f)]&&this[_0x573e7e(0xd9)]});_0x2232d7[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x2232d7);};else{if(_0x464c6d===_0x1799a6(0xe0))_0x728c76=function(_0x249ef2){const _0xa2786d=_0x1799a6,_0x17eddf=new _0x4887ed(_0xa2786d(0xe0),{'error':_0x249ef2,'message':_0x249ef2['message']});_0x17eddf[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x17eddf);};else{if(_0x464c6d==='open')_0x728c76=function(){const _0x882d70=_0x1799a6,_0x34e87f=new _0x22f1eb(_0x882d70(0x186));_0x34e87f[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x34e87f);};else return;}}}_0x728c76[_0x55c98f]=!!_0x578304[_0x55c98f],_0x728c76[_0x4e3069]=_0x8cdbaf,_0x578304[_0x1799a6(0x1a1)]?this['once'](_0x464c6d,_0x728c76):this['on'](_0x464c6d,_0x728c76);},'removeEventListener'(_0x411488,_0x11f095){const _0x2a2bf4=_0x3c51fb;for(const _0x57e24a of this[_0x2a2bf4(0x1f2)](_0x411488))if(_0x57e24a[_0x4e3069]===_0x11f095&&!_0x57e24a[_0x55c98f]){this[_0x2a2bf4(0x233)](_0x411488,_0x57e24a);break;}}},'MessageEvent':_0x20b009};function _0x9e305(_0x1a5734,_0x25dca9,_0x5f45c3){const _0x4d2744=_0x3c51fb;typeof _0x1a5734==_0x4d2744(0x20b)&&_0x1a5734[_0x4d2744(0x107)]?_0x1a5734[_0x4d2744(0x107)][_0x4d2744(0xcd)](_0x1a5734,_0x5f45c3):_0x1a5734[_0x4d2744(0xcd)](_0x25dca9,_0x5f45c3);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x108be7}=ae();function _0x359d0d(_0x249605,_0x4196ff,_0x297b86){const _0xae565e=_0x147c;_0x249605[_0x4196ff]===void 0x0?_0x249605[_0x4196ff]=[_0x297b86]:_0x249605[_0x4196ff][_0xae565e(0x70)](_0x297b86);}function _0x3e6788(_0x2c5386){const _0x17c66e=_0x147c,_0x46b89d=Object['create'](null);let _0x178ae0=Object['create'](null),_0x3d8c77=!0x1,_0x341b88=!0x1,_0x3c5c2a=!0x1,_0x6c2818,_0x4e7975,_0x5b15ef=-0x1,_0x5741c0=-0x1,_0x53f246=-0x1,_0x4277e6=0x0;for(;_0x4277e6<_0x2c5386[_0x17c66e(0x1d3)];_0x4277e6++)if(_0x5741c0=_0x2c5386[_0x17c66e(0x104)](_0x4277e6),_0x6c2818===void 0x0){if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x4277e6!==0x0&&(_0x5741c0===0x20||_0x5741c0===0x9))_0x53f246===-0x1&&_0x5b15ef!==-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6);const _0x2c89f2=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);_0x5741c0===0x2c?(_0x359d0d(_0x46b89d,_0x2c89f2,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null)):_0x6c2818=_0x2c89f2,_0x5b15ef=_0x53f246=-0x1;}else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}else{if(_0x4e7975===void 0x0){if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5741c0===0x20||_0x5741c0===0x9)_0x53f246===-0x1&&_0x5b15ef!==-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6),_0x359d0d(_0x178ae0,_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246),!0x0),_0x5741c0===0x2c&&(_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null),_0x6c2818=void 0x0),_0x5b15ef=_0x53f246=-0x1;}else{if(_0x5741c0===0x3d&&_0x5b15ef!==-0x1&&_0x53f246===-0x1)_0x4e7975=_0x2c5386['slice'](_0x5b15ef,_0x4277e6),_0x5b15ef=_0x53f246=-0x1;else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}}else{if(_0x341b88){if(_0x108be7[_0x5741c0]!==0x1)throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);_0x5b15ef===-0x1?_0x5b15ef=_0x4277e6:_0x3d8c77||(_0x3d8c77=!0x0),_0x341b88=!0x1;}else{if(_0x3c5c2a){if(_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5741c0===0x22&&_0x5b15ef!==-0x1)_0x3c5c2a=!0x1,_0x53f246=_0x4277e6;else{if(_0x5741c0===0x5c)_0x341b88=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);}}}else{if(_0x5741c0===0x22&&_0x2c5386[_0x17c66e(0x104)](_0x4277e6-0x1)===0x3d)_0x3c5c2a=!0x0;else{if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5b15ef!==-0x1&&(_0x5741c0===0x20||_0x5741c0===0x9))_0x53f246===-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6);let _0x1cc12a=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);_0x3d8c77&&(_0x1cc12a=_0x1cc12a[_0x17c66e(0x16b)](/\\/g,''),_0x3d8c77=!0x1),_0x359d0d(_0x178ae0,_0x4e7975,_0x1cc12a),_0x5741c0===0x2c&&(_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null),_0x6c2818=void 0x0),_0x4e7975=void 0x0,_0x5b15ef=_0x53f246=-0x1;}else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}}}}}if(_0x5b15ef===-0x1||_0x3c5c2a||_0x5741c0===0x20||_0x5741c0===0x9)throw new SyntaxError(_0x17c66e(0xfa));_0x53f246===-0x1&&(_0x53f246=_0x4277e6);const _0x37ed53=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);return _0x6c2818===void 0x0?_0x359d0d(_0x46b89d,_0x37ed53,_0x178ae0):(_0x4e7975===void 0x0?_0x359d0d(_0x178ae0,_0x37ed53,!0x0):_0x3d8c77?_0x359d0d(_0x178ae0,_0x4e7975,_0x37ed53[_0x17c66e(0x16b)](/\\/g,'')):_0x359d0d(_0x178ae0,_0x4e7975,_0x37ed53),_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0)),_0x46b89d;}function _0x282a91(_0x955df){const _0x275f2a=_0x147c;return Object[_0x275f2a(0x14f)](_0x955df)[_0x275f2a(0x10d)](_0x13e668=>{const _0x473ea2=_0x275f2a;let _0x52ff99=_0x955df[_0x13e668];return Array[_0x473ea2(0x199)](_0x52ff99)||(_0x52ff99=[_0x52ff99]),_0x52ff99[_0x473ea2(0x10d)](_0x550575=>[_0x13e668][_0x473ea2(0xab)](Object[_0x473ea2(0x14f)](_0x550575)[_0x473ea2(0x10d)](_0xc4941c=>{const _0x5c757f=_0x473ea2;let _0x10a20a=_0x550575[_0xc4941c];return Array[_0x5c757f(0x199)](_0x10a20a)||(_0x10a20a=[_0x10a20a]),_0x10a20a['map'](_0x310ec6=>_0x310ec6===!0x0?_0xc4941c:_0xc4941c+'='+_0x310ec6)['join'](';\x20');}))[_0x473ea2(0x179)](';\x20'))[_0x473ea2(0x179)](',\x20');})[_0x275f2a(0x179)](',\x20');}return be={'format':_0x282a91,'parse':_0x3e6788},be;}var we,Je;function Pe(){const _0x5f0703=_0x5ab958;if(Je)return we;Je=0x1;const _0x4bcc1d=nt,_0x4c9d36=vt,_0x61266=ot,_0x5c5698=St,_0x267226=Et,{randomBytes:_0x4af36d,createHash:_0x65f8d0}=Le,{Duplex:_0x1d14ee,Readable:_0x24c8cc}=oe,{URL:_0x15e51d}=xt,_0x1d04f4=he(),_0x4610f8=lt(),_0x77c9eb=ft(),{isBlob:_0x51a780}=ae(),{BINARY_TYPES:_0x4f3f6a,EMPTY_BUFFER:_0x5b2712,GUID:_0x8886ff,kForOnEventAttribute:_0x46b9c4,kListener:_0x24420c,kStatusCode:_0x3bbbde,kWebSocket:_0x30edc0,NOOP:_0x411443}=H(),{EventTarget:{addEventListener:_0x36bef9,removeEventListener:_0x471ab7}}=It(),{format:_0x3fabbf,parse:_0xd1055a}=ct(),{toBuffer:_0x5df66b}=ce(),_0x3bc751=0x1e*0x3e8,_0x1eb90f=Symbol(_0x5f0703(0x197)),_0x2ce93f=[0x8,0xd],_0x543224=['CONNECTING',_0x5f0703(0x170),'CLOSING',_0x5f0703(0xb7)],_0x21485f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2c68dd extends _0x4bcc1d{constructor(_0x2c762d,_0x30892f,_0x15b1e1){const _0xd030e4=_0x5f0703;super(),this[_0xd030e4(0x144)]=_0x4f3f6a[0x0],this[_0xd030e4(0x19a)]=0x3ee,this[_0xd030e4(0x12f)]=!0x1,this[_0xd030e4(0xd9)]=!0x1,this[_0xd030e4(0x210)]=_0x5b2712,this[_0xd030e4(0x121)]=null,this[_0xd030e4(0x223)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0xd030e4(0x17d)]='',this[_0xd030e4(0x18d)]=_0x2c68dd[_0xd030e4(0x150)],this[_0xd030e4(0xf3)]=null,this['_sender']=null,this[_0xd030e4(0x89)]=null,_0x2c762d!==null?(this[_0xd030e4(0x7b)]=0x0,this[_0xd030e4(0x122)]=!0x1,this[_0xd030e4(0x139)]=0x0,_0x30892f===void 0x0?_0x30892f=[]:Array['isArray'](_0x30892f)||(typeof _0x30892f==_0xd030e4(0x20b)&&_0x30892f!==null?(_0x15b1e1=_0x30892f,_0x30892f=[]):_0x30892f=[_0x30892f]),_0x3b2333(this,_0x2c762d,_0x30892f,_0x15b1e1)):(this[_0xd030e4(0xd1)]=_0x15b1e1[_0xd030e4(0x7d)],this[_0xd030e4(0x122)]=!0x0);}get['binaryType'](){const _0x499da2=_0x5f0703;return this[_0x499da2(0x144)];}set[_0x5f0703(0x21b)](_0x3f571a){const _0x522207=_0x5f0703;_0x4f3f6a[_0x522207(0xce)](_0x3f571a)&&(this[_0x522207(0x144)]=_0x3f571a,this[_0x522207(0xf3)]&&(this[_0x522207(0xf3)][_0x522207(0x144)]=_0x3f571a));}get[_0x5f0703(0x14e)](){const _0x11d6ac=_0x5f0703;return this['_socket']?this[_0x11d6ac(0x89)][_0x11d6ac(0xf8)][_0x11d6ac(0x1d3)]+this['_sender'][_0x11d6ac(0xeb)]:this[_0x11d6ac(0x7b)];}get['extensions'](){const _0x2a7970=_0x5f0703;return Object[_0x2a7970(0x14f)](this['_extensions'])[_0x2a7970(0x179)]();}get[_0x5f0703(0x19f)](){const _0xcd2590=_0x5f0703;return this[_0xcd2590(0x90)];}get[_0x5f0703(0x103)](){return null;}get[_0x5f0703(0xa6)](){return null;}get[_0x5f0703(0xc5)](){return null;}get[_0x5f0703(0x1f8)](){return null;}get[_0x5f0703(0x135)](){const _0x4527b8=_0x5f0703;return this[_0x4527b8(0x17d)];}get[_0x5f0703(0xc3)](){const _0x1526a9=_0x5f0703;return this[_0x1526a9(0x18d)];}get['url'](){const _0x230e45=_0x5f0703;return this[_0x230e45(0x1a2)];}['setSocket'](_0x2e9cdb,_0x47e012,_0x52024d){const _0x585dad=_0x5f0703,_0x565100=new _0x4610f8({'allowSynchronousEvents':_0x52024d[_0x585dad(0x221)],'binaryType':this['binaryType'],'extensions':this[_0x585dad(0xe2)],'isServer':this[_0x585dad(0x122)],'maxPayload':_0x52024d[_0x585dad(0xf6)],'skipUTF8Validation':_0x52024d['skipUTF8Validation']}),_0x5d0cf0=new _0x77c9eb(_0x2e9cdb,this[_0x585dad(0xe2)],_0x52024d[_0x585dad(0x21d)]);this[_0x585dad(0xf3)]=_0x565100,this['_sender']=_0x5d0cf0,this['_socket']=_0x2e9cdb,_0x565100[_0x30edc0]=this,_0x5d0cf0[_0x30edc0]=this,_0x2e9cdb[_0x30edc0]=this,_0x565100['on'](_0x585dad(0xfd),_0x1a171e),_0x565100['on']('drain',_0x1cf629),_0x565100['on']('error',_0x19339a),_0x565100['on']('message',_0x2b94e1),_0x565100['on'](_0x585dad(0x17c),_0xb83f7d),_0x565100['on'](_0x585dad(0x174),_0x3f3538),_0x5d0cf0['onerror']=_0xb831e5,_0x2e9cdb[_0x585dad(0x18b)]&&_0x2e9cdb['setTimeout'](0x0),_0x2e9cdb[_0x585dad(0x88)]&&_0x2e9cdb[_0x585dad(0x88)](),_0x47e012[_0x585dad(0x1d3)]>0x0&&_0x2e9cdb[_0x585dad(0x1d7)](_0x47e012),_0x2e9cdb['on'](_0x585dad(0x227),_0x594d78),_0x2e9cdb['on'](_0x585dad(0x19d),_0x214132),_0x2e9cdb['on'](_0x585dad(0x214),_0x38d164),_0x2e9cdb['on'](_0x585dad(0xe0),_0x4d71f8),this[_0x585dad(0x18d)]=_0x2c68dd[_0x585dad(0x170)],this['emit']('open');}[_0x5f0703(0xf5)](){const _0x43046=_0x5f0703;if(!this[_0x43046(0x89)]){this[_0x43046(0x18d)]=_0x2c68dd[_0x43046(0xb7)],this[_0x43046(0x146)](_0x43046(0x227),this[_0x43046(0x19a)],this[_0x43046(0x210)]);return;}this[_0x43046(0xe2)][_0x1d04f4[_0x43046(0x79)]]&&this[_0x43046(0xe2)][_0x1d04f4[_0x43046(0x79)]][_0x43046(0x182)](),this[_0x43046(0xf3)][_0x43046(0x1e6)](),this[_0x43046(0x18d)]=_0x2c68dd[_0x43046(0xb7)],this[_0x43046(0x146)](_0x43046(0x227),this[_0x43046(0x19a)],this['_closeMessage']);}[_0x5f0703(0x227)](_0x209f9a,_0x49e2c4){const _0x3c067e=_0x5f0703;if(this[_0x3c067e(0xc3)]!==_0x2c68dd[_0x3c067e(0xb7)]){if(this[_0x3c067e(0xc3)]===_0x2c68dd[_0x3c067e(0x150)]){_0x3bd4e8(this,this['_req'],_0x3c067e(0x1b2));return;}if(this[_0x3c067e(0xc3)]===_0x2c68dd[_0x3c067e(0x12d)]){this[_0x3c067e(0xd9)]&&(this['_closeFrameReceived']||this[_0x3c067e(0xf3)][_0x3c067e(0xf8)][_0x3c067e(0x185)])&&this[_0x3c067e(0x89)]['end']();return;}this['_readyState']=_0x2c68dd[_0x3c067e(0x12d)],this['_sender'][_0x3c067e(0x227)](_0x209f9a,_0x49e2c4,!this[_0x3c067e(0x122)],_0x2b6dd4=>{const _0x57dc8b=_0x3c067e;_0x2b6dd4||(this[_0x57dc8b(0xd9)]=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState']['errorEmitted'])&&this['_socket'][_0x57dc8b(0x214)]());}),_0xf794c4(this);}}[_0x5f0703(0x17a)](){const _0x28ec24=_0x5f0703;this[_0x28ec24(0xc3)]===_0x2c68dd['CONNECTING']||this['readyState']===_0x2c68dd['CLOSED']||(this[_0x28ec24(0x90)]=!0x0,this[_0x28ec24(0x89)][_0x28ec24(0x17a)]());}['ping'](_0x13ad66,_0x1f0d48,_0xd6a5b6){const _0x19103b=_0x5f0703;if(this[_0x19103b(0xc3)]===_0x2c68dd[_0x19103b(0x150)])throw new Error(_0x19103b(0x226));if(typeof _0x13ad66=='function'?(_0xd6a5b6=_0x13ad66,_0x13ad66=_0x1f0d48=void 0x0):typeof _0x1f0d48==_0x19103b(0x193)&&(_0xd6a5b6=_0x1f0d48,_0x1f0d48=void 0x0),typeof _0x13ad66=='number'&&(_0x13ad66=_0x13ad66['toString']()),this[_0x19103b(0xc3)]!==_0x2c68dd['OPEN']){_0x3da7ff(this,_0x13ad66,_0xd6a5b6);return;}_0x1f0d48===void 0x0&&(_0x1f0d48=!this[_0x19103b(0x122)]),this[_0x19103b(0x1dc)][_0x19103b(0x17c)](_0x13ad66||_0x5b2712,_0x1f0d48,_0xd6a5b6);}[_0x5f0703(0x174)](_0x222be5,_0x437859,_0x59028a){const _0x1345d4=_0x5f0703;if(this[_0x1345d4(0xc3)]===_0x2c68dd[_0x1345d4(0x150)])throw new Error(_0x1345d4(0x226));if(typeof _0x222be5=='function'?(_0x59028a=_0x222be5,_0x222be5=_0x437859=void 0x0):typeof _0x437859=='function'&&(_0x59028a=_0x437859,_0x437859=void 0x0),typeof _0x222be5=='number'&&(_0x222be5=_0x222be5[_0x1345d4(0x119)]()),this[_0x1345d4(0xc3)]!==_0x2c68dd[_0x1345d4(0x170)]){_0x3da7ff(this,_0x222be5,_0x59028a);return;}_0x437859===void 0x0&&(_0x437859=!this[_0x1345d4(0x122)]),this[_0x1345d4(0x1dc)][_0x1345d4(0x174)](_0x222be5||_0x5b2712,_0x437859,_0x59028a);}[_0x5f0703(0x117)](){const _0x28b14a=_0x5f0703;this['readyState']===_0x2c68dd[_0x28b14a(0x150)]||this[_0x28b14a(0xc3)]===_0x2c68dd['CLOSED']||(this[_0x28b14a(0x90)]=!0x1,this['_receiver'][_0x28b14a(0xf8)][_0x28b14a(0x83)]||this[_0x28b14a(0x89)][_0x28b14a(0x117)]());}[_0x5f0703(0xdf)](_0x260b69,_0x3d1f5a,_0x121f6e){const _0x41c9af=_0x5f0703;if(this['readyState']===_0x2c68dd[_0x41c9af(0x150)])throw new Error(_0x41c9af(0x226));if(typeof _0x3d1f5a=='function'&&(_0x121f6e=_0x3d1f5a,_0x3d1f5a={}),typeof _0x260b69==_0x41c9af(0x15b)&&(_0x260b69=_0x260b69[_0x41c9af(0x119)]()),this[_0x41c9af(0xc3)]!==_0x2c68dd[_0x41c9af(0x170)]){_0x3da7ff(this,_0x260b69,_0x121f6e);return;}const _0x53011f={'binary':typeof _0x260b69!=_0x41c9af(0x219),'mask':!this[_0x41c9af(0x122)],'compress':!0x0,'fin':!0x0,..._0x3d1f5a};this[_0x41c9af(0xe2)][_0x1d04f4['extensionName']]||(_0x53011f[_0x41c9af(0xa4)]=!0x1),this['_sender'][_0x41c9af(0xdf)](_0x260b69||_0x5b2712,_0x53011f,_0x121f6e);}[_0x5f0703(0x80)](){const _0x24e7c7=_0x5f0703;if(this[_0x24e7c7(0xc3)]!==_0x2c68dd['CLOSED']){if(this[_0x24e7c7(0xc3)]===_0x2c68dd[_0x24e7c7(0x150)]){_0x3bd4e8(this,this[_0x24e7c7(0x75)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x24e7c7(0x89)]&&(this[_0x24e7c7(0x18d)]=_0x2c68dd[_0x24e7c7(0x12d)],this[_0x24e7c7(0x89)][_0x24e7c7(0x71)]());}}}Object['defineProperty'](_0x2c68dd,'CONNECTING',{'enumerable':!0x0,'value':_0x543224['indexOf'](_0x5f0703(0x150))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0x150),{'enumerable':!0x0,'value':_0x543224['indexOf']('CONNECTING')}),Object[_0x5f0703(0x85)](_0x2c68dd,_0x5f0703(0x170),{'enumerable':!0x0,'value':_0x543224['indexOf']('OPEN')}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],'OPEN',{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x170))}),Object[_0x5f0703(0x85)](_0x2c68dd,'CLOSING',{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x12d))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0x12d),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x12d))}),Object[_0x5f0703(0x85)](_0x2c68dd,_0x5f0703(0xb7),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0xb7))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0xb7),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0xb7))}),[_0x5f0703(0x21b),_0x5f0703(0x14e),_0x5f0703(0xe8),_0x5f0703(0x19f),'protocol','readyState',_0x5f0703(0x1d9)]['forEach'](_0x5d329f=>{const _0x50400d=_0x5f0703;Object[_0x50400d(0x85)](_0x2c68dd[_0x50400d(0x232)],_0x5d329f,{'enumerable':!0x0});}),[_0x5f0703(0x186),_0x5f0703(0xe0),_0x5f0703(0x227),_0x5f0703(0x133)][_0x5f0703(0x1f5)](_0x14e3be=>{const _0x550ef2=_0x5f0703;Object[_0x550ef2(0x85)](_0x2c68dd[_0x550ef2(0x232)],'on'+_0x14e3be,{'enumerable':!0x0,'get'(){for(const _0x8f2f80 of this['listeners'](_0x14e3be))if(_0x8f2f80[_0x46b9c4])return _0x8f2f80[_0x24420c];return null;},'set'(_0x1dbdf5){const _0x244796=_0x550ef2;for(const _0x40111d of this[_0x244796(0x1f2)](_0x14e3be))if(_0x40111d[_0x46b9c4]){this['removeListener'](_0x14e3be,_0x40111d);break;}typeof _0x1dbdf5==_0x244796(0x193)&&this['addEventListener'](_0x14e3be,_0x1dbdf5,{[_0x46b9c4]:!0x0});}});}),_0x2c68dd[_0x5f0703(0x232)][_0x5f0703(0x1a4)]=_0x36bef9,_0x2c68dd[_0x5f0703(0x232)][_0x5f0703(0x1bb)]=_0x471ab7,we=_0x2c68dd;function _0x3b2333(_0x51f70a,_0x43d02a,_0x4c1efd,_0x2f3994){const _0x11f742=_0x5f0703,_0x3d5a4a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ce93f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2f3994,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x51f70a[_0x11f742(0xd1)]=_0x3d5a4a[_0x11f742(0x7d)],!_0x2ce93f[_0x11f742(0xce)](_0x3d5a4a[_0x11f742(0x172)]))throw new RangeError(_0x11f742(0x116)+_0x3d5a4a[_0x11f742(0x172)]+'\x20(supported\x20versions:\x20'+_0x2ce93f[_0x11f742(0x179)](',\x20')+')');let _0xb3c0fa;if(_0x43d02a instanceof _0x15e51d)_0xb3c0fa=_0x43d02a;else try{_0xb3c0fa=new _0x15e51d(_0x43d02a);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x43d02a);}_0xb3c0fa['protocol']===_0x11f742(0x194)?_0xb3c0fa[_0x11f742(0x135)]=_0x11f742(0x8f):_0xb3c0fa[_0x11f742(0x135)]==='https:'&&(_0xb3c0fa['protocol']=_0x11f742(0x171)),_0x51f70a[_0x11f742(0x1a2)]=_0xb3c0fa[_0x11f742(0x154)];const _0x185590=_0xb3c0fa[_0x11f742(0x135)]===_0x11f742(0x171),_0x52cc34=_0xb3c0fa[_0x11f742(0x135)]===_0x11f742(0xef);let _0x595712;if(_0xb3c0fa[_0x11f742(0x135)]!==_0x11f742(0x8f)&&!_0x185590&&!_0x52cc34?_0x595712=_0x11f742(0x159):_0x52cc34&&!_0xb3c0fa[_0x11f742(0x161)]?_0x595712=_0x11f742(0x1ea):_0xb3c0fa[_0x11f742(0x100)]&&(_0x595712=_0x11f742(0x87)),_0x595712){const _0x86a414=new SyntaxError(_0x595712);if(_0x51f70a[_0x11f742(0x139)]===0x0)throw _0x86a414;_0x493503(_0x51f70a,_0x86a414);return;}const _0x5012c8=_0x185590?0x1bb:0x50,_0x19b233=_0x4af36d(0x10)['toString']('base64'),_0x4138ad=_0x185590?_0x4c9d36['request']:_0x61266[_0x11f742(0x1b9)],_0x41406d=new Set();let _0x4b3ed0;if(_0x3d5a4a['createConnection']=_0x3d5a4a['createConnection']||(_0x185590?_0x22b990:_0x1fe482),_0x3d5a4a[_0x11f742(0x111)]=_0x3d5a4a[_0x11f742(0x111)]||_0x5012c8,_0x3d5a4a[_0x11f742(0x1ce)]=_0xb3c0fa['port']||_0x5012c8,_0x3d5a4a[_0x11f742(0x134)]=_0xb3c0fa[_0x11f742(0x77)][_0x11f742(0xd6)]('[')?_0xb3c0fa['hostname']['slice'](0x1,-0x1):_0xb3c0fa[_0x11f742(0x77)],_0x3d5a4a['headers']={..._0x3d5a4a['headers'],'Sec-WebSocket-Version':_0x3d5a4a[_0x11f742(0x172)],'Sec-WebSocket-Key':_0x19b233,'Connection':_0x11f742(0x13a),'Upgrade':_0x11f742(0xd4)},_0x3d5a4a[_0x11f742(0xe6)]=_0xb3c0fa[_0x11f742(0x161)]+_0xb3c0fa[_0x11f742(0x152)],_0x3d5a4a[_0x11f742(0x9e)]=_0x3d5a4a[_0x11f742(0x1e7)],_0x3d5a4a[_0x11f742(0x20e)]&&(_0x4b3ed0=new _0x1d04f4(_0x3d5a4a[_0x11f742(0x20e)]!==!0x0?_0x3d5a4a[_0x11f742(0x20e)]:{},!0x1,_0x3d5a4a[_0x11f742(0xf6)]),_0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0xa5)]=_0x3fabbf({[_0x1d04f4[_0x11f742(0x79)]]:_0x4b3ed0[_0x11f742(0x118)]()})),_0x4c1efd['length']){for(const _0x1174eb of _0x4c1efd){if(typeof _0x1174eb!=_0x11f742(0x219)||!_0x21485f[_0x11f742(0x178)](_0x1174eb)||_0x41406d[_0x11f742(0x131)](_0x1174eb))throw new SyntaxError(_0x11f742(0x18a));_0x41406d[_0x11f742(0xb2)](_0x1174eb);}_0x3d5a4a['headers'][_0x11f742(0xa1)]=_0x4c1efd['join'](',');}if(_0x3d5a4a['origin']&&(_0x3d5a4a['protocolVersion']<0xd?_0x3d5a4a['headers'][_0x11f742(0xcc)]=_0x3d5a4a[_0x11f742(0xe5)]:_0x3d5a4a['headers']['Origin']=_0x3d5a4a[_0x11f742(0xe5)]),(_0xb3c0fa[_0x11f742(0x191)]||_0xb3c0fa['password'])&&(_0x3d5a4a[_0x11f742(0x78)]=_0xb3c0fa[_0x11f742(0x191)]+':'+_0xb3c0fa[_0x11f742(0x11f)]),_0x52cc34){const _0x52ad71=_0x3d5a4a[_0x11f742(0xe6)][_0x11f742(0x101)](':');_0x3d5a4a[_0x11f742(0x149)]=_0x52ad71[0x0],_0x3d5a4a[_0x11f742(0xe6)]=_0x52ad71[0x1];}let _0x38265d;if(_0x3d5a4a[_0x11f742(0x1c7)]){if(_0x51f70a[_0x11f742(0x139)]===0x0){_0x51f70a[_0x11f742(0xa0)]=_0x52cc34,_0x51f70a[_0x11f742(0x1b6)]=_0x185590,_0x51f70a[_0x11f742(0xb3)]=_0x52cc34?_0x3d5a4a[_0x11f742(0x149)]:_0xb3c0fa[_0x11f742(0x134)];const _0x109e58=_0x2f3994&&_0x2f3994[_0x11f742(0x1e4)];if(_0x2f3994={..._0x2f3994,'headers':{}},_0x109e58){for(const [_0x3b053a,_0x5b4fa0]of Object[_0x11f742(0xc0)](_0x109e58))_0x2f3994['headers'][_0x3b053a[_0x11f742(0x1ee)]()]=_0x5b4fa0;}}else{if(_0x51f70a[_0x11f742(0x1b4)](_0x11f742(0x203))===0x0){const _0x5f1dea=_0x52cc34?_0x51f70a[_0x11f742(0xa0)]?_0x3d5a4a[_0x11f742(0x149)]===_0x51f70a[_0x11f742(0xb3)]:!0x1:_0x51f70a[_0x11f742(0xa0)]?!0x1:_0xb3c0fa['host']===_0x51f70a['_originalHostOrSocketPath'];(!_0x5f1dea||_0x51f70a[_0x11f742(0x1b6)]&&!_0x185590)&&(delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x1dd)],delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x1f7)],_0x5f1dea||delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x134)],_0x3d5a4a[_0x11f742(0x78)]=void 0x0);}}_0x3d5a4a[_0x11f742(0x78)]&&!_0x2f3994[_0x11f742(0x1e4)]['authorization']&&(_0x2f3994[_0x11f742(0x1e4)]['authorization']='Basic\x20'+Buffer['from'](_0x3d5a4a[_0x11f742(0x78)])[_0x11f742(0x119)](_0x11f742(0x1c4))),_0x38265d=_0x51f70a[_0x11f742(0x75)]=_0x4138ad(_0x3d5a4a),_0x51f70a[_0x11f742(0x139)]&&_0x51f70a['emit'](_0x11f742(0x203),_0x51f70a[_0x11f742(0x1d9)],_0x38265d);}else _0x38265d=_0x51f70a[_0x11f742(0x75)]=_0x4138ad(_0x3d5a4a);_0x3d5a4a[_0x11f742(0x9e)]&&_0x38265d['on'](_0x11f742(0x9e),()=>{_0x3bd4e8(_0x51f70a,_0x38265d,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x38265d['on'](_0x11f742(0xe0),_0x27da98=>{const _0x5747b3=_0x11f742;_0x38265d===null||_0x38265d[_0x1eb90f]||(_0x38265d=_0x51f70a[_0x5747b3(0x75)]=null,_0x493503(_0x51f70a,_0x27da98));}),_0x38265d['on']('response',_0x165031=>{const _0x35216f=_0x11f742,_0x4071a5=_0x165031[_0x35216f(0x1e4)][_0x35216f(0xc1)],_0x25a203=_0x165031[_0x35216f(0x1b5)];if(_0x4071a5&&_0x3d5a4a[_0x35216f(0x1c7)]&&_0x25a203>=0x12c&&_0x25a203<0x190){if(++_0x51f70a[_0x35216f(0x139)]>_0x3d5a4a[_0x35216f(0xbb)]){_0x3bd4e8(_0x51f70a,_0x38265d,_0x35216f(0x14b));return;}_0x38265d['abort']();let _0x368e36;try{_0x368e36=new _0x15e51d(_0x4071a5,_0x43d02a);}catch{const _0x99c200=new SyntaxError(_0x35216f(0xe4)+_0x4071a5);_0x493503(_0x51f70a,_0x99c200);return;}_0x3b2333(_0x51f70a,_0x368e36,_0x4c1efd,_0x2f3994);}else _0x51f70a[_0x35216f(0x146)](_0x35216f(0x17b),_0x38265d,_0x165031)||_0x3bd4e8(_0x51f70a,_0x38265d,_0x35216f(0x217)+_0x165031[_0x35216f(0x1b5)]);}),_0x38265d['on'](_0x11f742(0x163),(_0x446f9d,_0x32f6b9,_0x3f851f)=>{const _0x5c7142=_0x11f742;if(_0x51f70a[_0x5c7142(0x146)]('upgrade',_0x446f9d),_0x51f70a[_0x5c7142(0xc3)]!==_0x2c68dd['CONNECTING'])return;_0x38265d=_0x51f70a[_0x5c7142(0x75)]=null;const _0x2d7660=_0x446f9d['headers'][_0x5c7142(0x163)];if(_0x2d7660===void 0x0||_0x2d7660[_0x5c7142(0x1ee)]()!==_0x5c7142(0xd4)){_0x3bd4e8(_0x51f70a,_0x32f6b9,'Invalid\x20Upgrade\x20header');return;}const _0x428e74=_0x65f8d0('sha1')[_0x5c7142(0xb1)](_0x19b233+_0x8886ff)['digest'](_0x5c7142(0x1c4));if(_0x446f9d[_0x5c7142(0x1e4)][_0x5c7142(0x155)]!==_0x428e74){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x1f6));return;}const _0x4b53b2=_0x446f9d[_0x5c7142(0x1e4)]['sec-websocket-protocol'];let _0xb2498d;if(_0x4b53b2!==void 0x0?_0x41406d[_0x5c7142(0x1c0)]?_0x41406d[_0x5c7142(0x131)](_0x4b53b2)||(_0xb2498d='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0xb2498d='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x41406d[_0x5c7142(0x1c0)]&&(_0xb2498d=_0x5c7142(0x1c2)),_0xb2498d){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0xb2498d);return;}_0x4b53b2&&(_0x51f70a[_0x5c7142(0x17d)]=_0x4b53b2);const _0x33aad8=_0x446f9d[_0x5c7142(0x1e4)]['sec-websocket-extensions'];if(_0x33aad8!==void 0x0){if(!_0x4b3ed0){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x1ab));return;}let _0x5c058b;try{_0x5c058b=_0xd1055a(_0x33aad8);}catch{_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x81));return;}const _0x50c997=Object[_0x5c7142(0x14f)](_0x5c058b);if(_0x50c997[_0x5c7142(0x1d3)]!==0x1||_0x50c997[0x0]!==_0x1d04f4[_0x5c7142(0x79)]){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x176));return;}try{_0x4b3ed0[_0x5c7142(0xfc)](_0x5c058b[_0x1d04f4[_0x5c7142(0x79)]]);}catch{_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x81));return;}_0x51f70a[_0x5c7142(0xe2)][_0x1d04f4[_0x5c7142(0x79)]]=_0x4b3ed0;}_0x51f70a[_0x5c7142(0x1ef)](_0x32f6b9,_0x3f851f,{'allowSynchronousEvents':_0x3d5a4a[_0x5c7142(0x221)],'generateMask':_0x3d5a4a[_0x5c7142(0x21d)],'maxPayload':_0x3d5a4a[_0x5c7142(0xf6)],'skipUTF8Validation':_0x3d5a4a[_0x5c7142(0x22d)]});}),_0x3d5a4a[_0x11f742(0xd7)]?_0x3d5a4a[_0x11f742(0xd7)](_0x38265d,_0x51f70a):_0x38265d[_0x11f742(0x214)]();}function _0x493503(_0x1bee49,_0x4e77a7){const _0x2c338c=_0x5f0703;_0x1bee49[_0x2c338c(0x18d)]=_0x2c68dd[_0x2c338c(0x12d)],_0x1bee49[_0x2c338c(0x223)]=!0x0,_0x1bee49['emit']('error',_0x4e77a7),_0x1bee49[_0x2c338c(0xf5)]();}function _0x1fe482(_0x48199b){const _0x4af558=_0x5f0703;return _0x48199b[_0x4af558(0xe6)]=_0x48199b[_0x4af558(0x149)],_0x5c5698[_0x4af558(0xac)](_0x48199b);}function _0x22b990(_0x5ba99b){const _0xf31b32=_0x5f0703;return _0x5ba99b[_0xf31b32(0xe6)]=void 0x0,!_0x5ba99b['servername']&&_0x5ba99b[_0xf31b32(0x158)]!==''&&(_0x5ba99b[_0xf31b32(0x158)]=_0x5c5698[_0xf31b32(0x147)](_0x5ba99b['host'])?'':_0x5ba99b[_0xf31b32(0x134)]),_0x267226['connect'](_0x5ba99b);}function _0x3bd4e8(_0x17e664,_0x294cbe,_0x3d8318){const _0x3040f7=_0x5f0703;_0x17e664['_readyState']=_0x2c68dd[_0x3040f7(0x12d)];const _0x515d88=new Error(_0x3d8318);Error['captureStackTrace'](_0x515d88,_0x3bd4e8),_0x294cbe[_0x3040f7(0x12b)]?(_0x294cbe[_0x1eb90f]=!0x0,_0x294cbe['abort'](),_0x294cbe[_0x3040f7(0x73)]&&!_0x294cbe[_0x3040f7(0x73)]['destroyed']&&_0x294cbe[_0x3040f7(0x73)]['destroy'](),process[_0x3040f7(0x14c)](_0x493503,_0x17e664,_0x515d88)):(_0x294cbe[_0x3040f7(0x71)](_0x515d88),_0x294cbe['once']('error',_0x17e664[_0x3040f7(0x146)][_0x3040f7(0x16c)](_0x17e664,'error')),_0x294cbe[_0x3040f7(0x1a1)](_0x3040f7(0x227),_0x17e664[_0x3040f7(0xf5)]['bind'](_0x17e664)));}function _0x3da7ff(_0x47da48,_0x347f7a,_0x1a1ff3){const _0x1fc2b0=_0x5f0703;if(_0x347f7a){const _0x2cfe27=_0x51a780(_0x347f7a)?_0x347f7a[_0x1fc2b0(0x1c0)]:_0x5df66b(_0x347f7a)[_0x1fc2b0(0x1d3)];_0x47da48[_0x1fc2b0(0x89)]?_0x47da48[_0x1fc2b0(0x1dc)][_0x1fc2b0(0xeb)]+=_0x2cfe27:_0x47da48[_0x1fc2b0(0x7b)]+=_0x2cfe27;}if(_0x1a1ff3){const _0x2be17b=new Error(_0x1fc2b0(0x1d4)+_0x47da48[_0x1fc2b0(0xc3)]+'\x20('+_0x543224[_0x47da48[_0x1fc2b0(0xc3)]]+')');process[_0x1fc2b0(0x14c)](_0x1a1ff3,_0x2be17b);}}function _0x1a171e(_0x1d0e53,_0x528d51){const _0x50705d=_0x5f0703,_0x50a28a=this[_0x30edc0];_0x50a28a['_closeFrameReceived']=!0x0,_0x50a28a['_closeMessage']=_0x528d51,_0x50a28a[_0x50705d(0x19a)]=_0x1d0e53,_0x50a28a['_socket'][_0x30edc0]!==void 0x0&&(_0x50a28a[_0x50705d(0x89)][_0x50705d(0x233)]('data',_0x214132),process[_0x50705d(0x14c)](_0x3d1662,_0x50a28a['_socket']),_0x1d0e53===0x3ed?_0x50a28a[_0x50705d(0x227)]():_0x50a28a[_0x50705d(0x227)](_0x1d0e53,_0x528d51));}function _0x1cf629(){const _0x89339e=_0x5f0703,_0x3dcb32=this[_0x30edc0];_0x3dcb32['isPaused']||_0x3dcb32[_0x89339e(0x89)][_0x89339e(0x117)]();}function _0x19339a(_0x53a15e){const _0x43de18=_0x5f0703,_0xc2427f=this[_0x30edc0];_0xc2427f[_0x43de18(0x89)][_0x30edc0]!==void 0x0&&(_0xc2427f[_0x43de18(0x89)][_0x43de18(0x233)]('data',_0x214132),process[_0x43de18(0x14c)](_0x3d1662,_0xc2427f[_0x43de18(0x89)]),_0xc2427f[_0x43de18(0x227)](_0x53a15e[_0x3bbbde])),_0xc2427f[_0x43de18(0x223)]||(_0xc2427f[_0x43de18(0x223)]=!0x0,_0xc2427f[_0x43de18(0x146)](_0x43de18(0xe0),_0x53a15e));}function _0x2ea999(){const _0x69fec6=_0x5f0703;this[_0x30edc0][_0x69fec6(0xf5)]();}function _0x2b94e1(_0x4fe559,_0x201765){const _0x365988=_0x5f0703;this[_0x30edc0]['emit'](_0x365988(0x133),_0x4fe559,_0x201765);}function _0xb83f7d(_0x17648e){const _0x1809bd=_0x5f0703,_0x4b3e55=this[_0x30edc0];_0x4b3e55[_0x1809bd(0xd1)]&&_0x4b3e55[_0x1809bd(0x174)](_0x17648e,!this[_0x1809bd(0x122)],_0x411443),_0x4b3e55[_0x1809bd(0x146)]('ping',_0x17648e);}function _0x3f3538(_0xcb52c1){const _0x32f113=_0x5f0703;this[_0x30edc0][_0x32f113(0x146)](_0x32f113(0x174),_0xcb52c1);}function _0x3d1662(_0x16b91f){const _0x25a19a=_0x5f0703;_0x16b91f[_0x25a19a(0x117)]();}function _0xb831e5(_0x1c898a){const _0xb6694e=_0x5f0703,_0x3433c6=this[_0x30edc0];_0x3433c6[_0xb6694e(0xc3)]!==_0x2c68dd[_0xb6694e(0xb7)]&&(_0x3433c6['readyState']===_0x2c68dd[_0xb6694e(0x170)]&&(_0x3433c6[_0xb6694e(0x18d)]=_0x2c68dd[_0xb6694e(0x12d)],_0xf794c4(_0x3433c6)),this[_0xb6694e(0x89)]['end'](),_0x3433c6[_0xb6694e(0x223)]||(_0x3433c6['_errorEmitted']=!0x0,_0x3433c6[_0xb6694e(0x146)]('error',_0x1c898a)));}function _0xf794c4(_0x1770f1){const _0x1c12a4=_0x5f0703;_0x1770f1[_0x1c12a4(0x121)]=setTimeout(_0x1770f1['_socket'][_0x1c12a4(0x71)][_0x1c12a4(0x16c)](_0x1770f1[_0x1c12a4(0x89)]),_0x3bc751);}function _0x594d78(){const _0x1d0f09=_0x5f0703,_0x2868b6=this[_0x30edc0];this['removeListener'](_0x1d0f09(0x227),_0x594d78),this[_0x1d0f09(0x233)]('data',_0x214132),this[_0x1d0f09(0x233)]('end',_0x38d164),_0x2868b6['_readyState']=_0x2c68dd[_0x1d0f09(0x12d)];let _0x1b1ed8;!this['_readableState'][_0x1d0f09(0x82)]&&!_0x2868b6[_0x1d0f09(0x12f)]&&!_0x2868b6[_0x1d0f09(0xf3)]['_writableState'][_0x1d0f09(0x185)]&&(_0x1b1ed8=_0x2868b6['_socket'][_0x1d0f09(0x167)]())!==null&&_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0x189)](_0x1b1ed8),_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0x214)](),this[_0x30edc0]=void 0x0,clearTimeout(_0x2868b6['_closeTimer']),_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0xf8)][_0x1d0f09(0x1d1)]||_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0xf8)][_0x1d0f09(0x185)]?_0x2868b6[_0x1d0f09(0xf5)]():(_0x2868b6[_0x1d0f09(0xf3)]['on'](_0x1d0f09(0xe0),_0x2ea999),_0x2868b6[_0x1d0f09(0xf3)]['on'](_0x1d0f09(0xe1),_0x2ea999));}function _0x214132(_0x343753){const _0x50bc54=_0x5f0703;this[_0x30edc0][_0x50bc54(0xf3)][_0x50bc54(0x189)](_0x343753)||this[_0x50bc54(0x17a)]();}function _0x38d164(){const _0x28f990=_0x5f0703,_0xeaf871=this[_0x30edc0];_0xeaf871[_0x28f990(0x18d)]=_0x2c68dd['CLOSING'],_0xeaf871[_0x28f990(0xf3)][_0x28f990(0x214)](),this[_0x28f990(0x214)]();}function _0x4d71f8(){const _0x341ca2=_0x5f0703,_0xf6b399=this[_0x30edc0];this[_0x341ca2(0x233)](_0x341ca2(0xe0),_0x4d71f8),this['on']('error',_0x411443),_0xf6b399&&(_0xf6b399[_0x341ca2(0x18d)]=_0x2c68dd[_0x341ca2(0x12d)],this[_0x341ca2(0x71)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x156d35}=oe;function _0x51061d(_0x45541c){const _0x3e1b93=_0x147c;_0x45541c[_0x3e1b93(0x146)](_0x3e1b93(0x227));}function _0x132261(){const _0x4b8a2d=_0x147c;!this[_0x4b8a2d(0x138)]&&this['_writableState'][_0x4b8a2d(0x1d1)]&&this['destroy']();}function _0x906df9(_0x2fdac3){const _0x1477ef=_0x147c;this['removeListener']('error',_0x906df9),this[_0x1477ef(0x71)](),this['listenerCount'](_0x1477ef(0xe0))===0x0&&this['emit'](_0x1477ef(0xe0),_0x2fdac3);}function _0x5468b3(_0x54615e,_0x535106){const _0x5d77b0=_0x147c;let _0x91fae7=!0x0;const _0x3b90c8=new _0x156d35({..._0x535106,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x54615e['on'](_0x5d77b0(0x133),function(_0x17437e,_0x45805b){const _0x5be8ed=_0x5d77b0,_0x5dc8da=!_0x45805b&&_0x3b90c8[_0x5be8ed(0x6f)][_0x5be8ed(0x21f)]?_0x17437e[_0x5be8ed(0x119)]():_0x17437e;_0x3b90c8['push'](_0x5dc8da)||_0x54615e[_0x5be8ed(0x17a)]();}),_0x54615e[_0x5d77b0(0x1a1)]('error',function(_0x3a2dbf){const _0x964f07=_0x5d77b0;_0x3b90c8['destroyed']||(_0x91fae7=!0x1,_0x3b90c8[_0x964f07(0x71)](_0x3a2dbf));}),_0x54615e['once'](_0x5d77b0(0x227),function(){const _0x1b2272=_0x5d77b0;_0x3b90c8[_0x1b2272(0x138)]||_0x3b90c8[_0x1b2272(0x70)](null);}),_0x3b90c8[_0x5d77b0(0x72)]=function(_0x567c17,_0x251243){const _0xda813b=_0x5d77b0;if(_0x54615e['readyState']===_0x54615e[_0xda813b(0xb7)]){_0x251243(_0x567c17),process['nextTick'](_0x51061d,_0x3b90c8);return;}let _0xbd56a3=!0x1;_0x54615e[_0xda813b(0x1a1)](_0xda813b(0xe0),function(_0x45bcb5){_0xbd56a3=!0x0,_0x251243(_0x45bcb5);}),_0x54615e[_0xda813b(0x1a1)](_0xda813b(0x227),function(){const _0x410d44=_0xda813b;_0xbd56a3||_0x251243(_0x567c17),process[_0x410d44(0x14c)](_0x51061d,_0x3b90c8);}),_0x91fae7&&_0x54615e['terminate']();},_0x3b90c8[_0x5d77b0(0x15e)]=function(_0x4ca639){const _0x4813e8=_0x5d77b0;if(_0x54615e[_0x4813e8(0xc3)]===_0x54615e[_0x4813e8(0x150)]){_0x54615e[_0x4813e8(0x1a1)](_0x4813e8(0x186),function(){const _0x493193=_0x4813e8;_0x3b90c8[_0x493193(0x15e)](_0x4ca639);});return;}_0x54615e['_socket']!==null&&(_0x54615e[_0x4813e8(0x89)][_0x4813e8(0xf8)][_0x4813e8(0x1d1)]?(_0x4ca639(),_0x3b90c8[_0x4813e8(0x6f)]['endEmitted']&&_0x3b90c8[_0x4813e8(0x71)]()):(_0x54615e[_0x4813e8(0x89)][_0x4813e8(0x1a1)](_0x4813e8(0xe1),function(){_0x4ca639();}),_0x54615e['close']()));},_0x3b90c8['_read']=function(){_0x54615e['isPaused']&&_0x54615e['resume']();},_0x3b90c8[_0x5d77b0(0x1f9)]=function(_0x73b671,_0x27ee67,_0x41170c){const _0x582462=_0x5d77b0;if(_0x54615e[_0x582462(0xc3)]===_0x54615e['CONNECTING']){_0x54615e[_0x582462(0x1a1)](_0x582462(0x186),function(){const _0x549361=_0x582462;_0x3b90c8[_0x549361(0x1f9)](_0x73b671,_0x27ee67,_0x41170c);});return;}_0x54615e[_0x582462(0xdf)](_0x73b671,_0x41170c);},_0x3b90c8['on'](_0x5d77b0(0x214),_0x132261),_0x3b90c8['on'](_0x5d77b0(0xe0),_0x906df9),_0x3b90c8;}return Oe=_0x5468b3,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x168207}=ae();function _0x3cb344(_0x2a0ead){const _0x36dc10=_0x147c,_0x332ff6=new Set();let _0x4dff6f=-0x1,_0x2d0c6e=-0x1,_0x2d70e8=0x0;for(_0x2d70e8;_0x2d70e8<_0x2a0ead[_0x36dc10(0x1d3)];_0x2d70e8++){const _0x193847=_0x2a0ead['charCodeAt'](_0x2d70e8);if(_0x2d0c6e===-0x1&&_0x168207[_0x193847]===0x1)_0x4dff6f===-0x1&&(_0x4dff6f=_0x2d70e8);else{if(_0x2d70e8!==0x0&&(_0x193847===0x20||_0x193847===0x9))_0x2d0c6e===-0x1&&_0x4dff6f!==-0x1&&(_0x2d0c6e=_0x2d70e8);else{if(_0x193847===0x2c){if(_0x4dff6f===-0x1)throw new SyntaxError(_0x36dc10(0x1c1)+_0x2d70e8);_0x2d0c6e===-0x1&&(_0x2d0c6e=_0x2d70e8);const _0x2fae07=_0x2a0ead['slice'](_0x4dff6f,_0x2d0c6e);if(_0x332ff6[_0x36dc10(0x131)](_0x2fae07))throw new SyntaxError(_0x36dc10(0x123)+_0x2fae07+'\x22\x20subprotocol\x20is\x20duplicated');_0x332ff6[_0x36dc10(0xb2)](_0x2fae07),_0x4dff6f=_0x2d0c6e=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2d70e8);}}}if(_0x4dff6f===-0x1||_0x2d0c6e!==-0x1)throw new SyntaxError(_0x36dc10(0xfa));const _0x48d374=_0x2a0ead['slice'](_0x4dff6f,_0x2d70e8);if(_0x332ff6[_0x36dc10(0x131)](_0x48d374))throw new SyntaxError('The\x20\x22'+_0x48d374+'\x22\x20subprotocol\x20is\x20duplicated');return _0x332ff6[_0x36dc10(0xb2)](_0x48d374),_0x332ff6;}return Ce={'parse':_0x3cb344},Ce;}var Te,rt;function Ft(){const _0x159bb6=_0x5ab958;if(rt)return Te;rt=0x1;const _0x18bae0=nt,_0xb01677=ot,{Duplex:_0x2a9fc7}=oe,{createHash:_0xab5a8}=Le,_0x1f3047=ct(),_0x359d21=he(),_0x3fb4e2=At(),_0x54943c=Pe(),{GUID:_0x3b83e0,kWebSocket:_0x21da55}=H(),_0x5b23b1=/^[+/0-9A-Za-z]{22}==$/,_0x9419e9=0x0,_0x2c17e7=0x1,_0x5c037c=0x2;class _0x402c93 extends _0x18bae0{constructor(_0x1fdbb2,_0x5562eb){const _0x34600f=_0x147c;if(super(),_0x1fdbb2={'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':_0x54943c,..._0x1fdbb2},_0x1fdbb2[_0x34600f(0x1ce)]==null&&!_0x1fdbb2[_0x34600f(0x1c8)]&&!_0x1fdbb2[_0x34600f(0xbc)]||_0x1fdbb2['port']!=null&&(_0x1fdbb2['server']||_0x1fdbb2[_0x34600f(0xbc)])||_0x1fdbb2[_0x34600f(0x1c8)]&&_0x1fdbb2[_0x34600f(0xbc)])throw new TypeError(_0x34600f(0x218));if(_0x1fdbb2[_0x34600f(0x1ce)]!=null?(this['_server']=_0xb01677[_0x34600f(0x9a)]((_0x542986,_0xb82e6d)=>{const _0x51342c=_0x34600f,_0x272b2e=_0xb01677['STATUS_CODES'][0x1aa];_0xb82e6d['writeHead'](0x1aa,{'Content-Length':_0x272b2e[_0x51342c(0x1d3)],'Content-Type':_0x51342c(0xb5)}),_0xb82e6d[_0x51342c(0x214)](_0x272b2e);}),this['_server'][_0x34600f(0x1cd)](_0x1fdbb2['port'],_0x1fdbb2[_0x34600f(0x134)],_0x1fdbb2[_0x34600f(0x228)],_0x5562eb)):_0x1fdbb2[_0x34600f(0x1c8)]&&(this['_server']=_0x1fdbb2[_0x34600f(0x1c8)]),this['_server']){const _0x376e5c=this[_0x34600f(0x146)][_0x34600f(0x16c)](this,_0x34600f(0x165));this['_removeListeners']=_0x128a79(this[_0x34600f(0x1db)],{'listening':this[_0x34600f(0x146)]['bind'](this,'listening'),'error':this[_0x34600f(0x146)][_0x34600f(0x16c)](this,_0x34600f(0xe0)),'upgrade':(_0x3d2994,_0x550113,_0x473b58)=>{const _0x1ded15=_0x34600f;this[_0x1ded15(0x1d2)](_0x3d2994,_0x550113,_0x473b58,_0x376e5c);}});}_0x1fdbb2[_0x34600f(0x20e)]===!0x0&&(_0x1fdbb2['perMessageDeflate']={}),_0x1fdbb2[_0x34600f(0xa7)]&&(this['clients']=new Set(),this[_0x34600f(0x22f)]=!0x1),this[_0x34600f(0xff)]=_0x1fdbb2,this[_0x34600f(0x1cf)]=_0x9419e9;}[_0x159bb6(0x1ec)](){const _0x164e75=_0x159bb6;if(this['options']['noServer'])throw new Error(_0x164e75(0xa3));return this[_0x164e75(0x1db)]?this[_0x164e75(0x1db)][_0x164e75(0x1ec)]():null;}['close'](_0x3193a4){const _0xfb1283=_0x159bb6;if(this['_state']===_0x5c037c){_0x3193a4&&this[_0xfb1283(0x1a1)](_0xfb1283(0x227),()=>{const _0x280602=_0xfb1283;_0x3193a4(new Error(_0x280602(0x96)));}),process[_0xfb1283(0x14c)](_0x2e806d,this);return;}if(_0x3193a4&&this['once'](_0xfb1283(0x227),_0x3193a4),this[_0xfb1283(0x1cf)]!==_0x2c17e7){if(this[_0xfb1283(0x1cf)]=_0x2c17e7,this[_0xfb1283(0xff)]['noServer']||this[_0xfb1283(0xff)][_0xfb1283(0x1c8)])this[_0xfb1283(0x1db)]&&(this[_0xfb1283(0x102)](),this[_0xfb1283(0x102)]=this[_0xfb1283(0x1db)]=null),this[_0xfb1283(0xd3)]?this[_0xfb1283(0xd3)][_0xfb1283(0x1c0)]?this[_0xfb1283(0x22f)]=!0x0:process['nextTick'](_0x2e806d,this):process['nextTick'](_0x2e806d,this);else{const _0x5113c3=this['_server'];this[_0xfb1283(0x102)](),this['_removeListeners']=this[_0xfb1283(0x1db)]=null,_0x5113c3[_0xfb1283(0x227)](()=>{_0x2e806d(this);});}}}[_0x159bb6(0x14d)](_0xa8bfe7){const _0x2d28b8=_0x159bb6;if(this[_0x2d28b8(0xff)][_0x2d28b8(0xe6)]){const _0x1a224e=_0xa8bfe7['url']['indexOf']('?');if((_0x1a224e!==-0x1?_0xa8bfe7[_0x2d28b8(0x1d9)][_0x2d28b8(0x115)](0x0,_0x1a224e):_0xa8bfe7['url'])!==this['options'][_0x2d28b8(0xe6)])return!0x1;}return!0x0;}[_0x159bb6(0x1d2)](_0x1ccbff,_0x46f971,_0x239151,_0x3c781c){const _0x5735cc=_0x159bb6;_0x46f971['on'](_0x5735cc(0xe0),_0x70ae7e);const _0x29d5ea=_0x1ccbff[_0x5735cc(0x1e4)]['sec-websocket-key'],_0x14d32b=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0x163)],_0x1dbb60=+_0x1ccbff['headers'][_0x5735cc(0x129)];if(_0x1ccbff[_0x5735cc(0x109)]!==_0x5735cc(0xa9)){_0x544e81(this,_0x1ccbff,_0x46f971,0x195,_0x5735cc(0x1d8));return;}if(_0x14d32b===void 0x0||_0x14d32b['toLowerCase']()!=='websocket'){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x1a7));return;}if(_0x29d5ea===void 0x0||!_0x5b23b1[_0x5735cc(0x178)](_0x29d5ea)){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x16a));return;}if(_0x1dbb60!==0x8&&_0x1dbb60!==0xd){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x5735cc(0x14d)](_0x1ccbff)){_0x271e21(_0x46f971,0x190);return;}const _0x1b3846=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0x1f3)];let _0x30ae8c=new Set();if(_0x1b3846!==void 0x0)try{_0x30ae8c=_0x3fb4e2['parse'](_0x1b3846);}catch{_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x200));return;}const _0x512030=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0xee)],_0x594cb1={};if(this[_0x5735cc(0xff)][_0x5735cc(0x20e)]&&_0x512030!==void 0x0){const _0x34cc3e=new _0x359d21(this[_0x5735cc(0xff)]['perMessageDeflate'],!0x0,this[_0x5735cc(0xff)]['maxPayload']);try{const _0x14b96f=_0x1f3047['parse'](_0x512030);_0x14b96f[_0x359d21['extensionName']]&&(_0x34cc3e[_0x5735cc(0xfc)](_0x14b96f[_0x359d21[_0x5735cc(0x79)]]),_0x594cb1[_0x359d21[_0x5735cc(0x79)]]=_0x34cc3e);}catch{_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x7e));return;}}if(this[_0x5735cc(0xff)][_0x5735cc(0x168)]){const _0x16a676={'origin':_0x1ccbff[_0x5735cc(0x1e4)][''+(_0x1dbb60===0x8?_0x5735cc(0x19e):'origin')],'secure':!!(_0x1ccbff[_0x5735cc(0x73)][_0x5735cc(0x13c)]||_0x1ccbff[_0x5735cc(0x73)][_0x5735cc(0x130)]),'req':_0x1ccbff};if(this[_0x5735cc(0xff)][_0x5735cc(0x168)][_0x5735cc(0x1d3)]===0x2){this[_0x5735cc(0xff)]['verifyClient'](_0x16a676,(_0x3fafb4,_0x597c5f,_0xa8f76e,_0x3a86ab)=>{const _0x2fe117=_0x5735cc;if(!_0x3fafb4)return _0x271e21(_0x46f971,_0x597c5f||0x191,_0xa8f76e,_0x3a86ab);this[_0x2fe117(0x173)](_0x594cb1,_0x29d5ea,_0x30ae8c,_0x1ccbff,_0x46f971,_0x239151,_0x3c781c);});return;}if(!this[_0x5735cc(0xff)][_0x5735cc(0x168)](_0x16a676))return _0x271e21(_0x46f971,0x191);}this['completeUpgrade'](_0x594cb1,_0x29d5ea,_0x30ae8c,_0x1ccbff,_0x46f971,_0x239151,_0x3c781c);}['completeUpgrade'](_0x15eaec,_0x522e25,_0x98212,_0x72de03,_0x5391df,_0xbbed7e,_0x1c7dbf){const _0x1b3146=_0x159bb6;if(!_0x5391df['readable']||!_0x5391df['writable'])return _0x5391df[_0x1b3146(0x71)]();if(_0x5391df[_0x21da55])throw new Error(_0x1b3146(0xfe));if(this['_state']>_0x9419e9)return _0x271e21(_0x5391df,0x1f7);const _0x2bcfac=[_0x1b3146(0x151),'Upgrade:\x20websocket',_0x1b3146(0x10b),'Sec-WebSocket-Accept:\x20'+_0xab5a8('sha1')[_0x1b3146(0xb1)](_0x522e25+_0x3b83e0)['digest'](_0x1b3146(0x1c4))],_0x5396c2=new this[(_0x1b3146(0xff))][(_0x1b3146(0xea))](null,void 0x0,this[_0x1b3146(0xff)]);if(_0x98212[_0x1b3146(0x1c0)]){const _0x5867b7=this[_0x1b3146(0xff)][_0x1b3146(0x192)]?this[_0x1b3146(0xff)][_0x1b3146(0x192)](_0x98212,_0x72de03):_0x98212['values']()[_0x1b3146(0x1b3)]()['value'];_0x5867b7&&(_0x2bcfac[_0x1b3146(0x70)](_0x1b3146(0x148)+_0x5867b7),_0x5396c2[_0x1b3146(0x17d)]=_0x5867b7);}if(_0x15eaec[_0x359d21['extensionName']]){const _0x2e08af=_0x15eaec[_0x359d21['extensionName']][_0x1b3146(0x204)],_0x171e49=_0x1f3047['format']({[_0x359d21[_0x1b3146(0x79)]]:[_0x2e08af]});_0x2bcfac[_0x1b3146(0x70)](_0x1b3146(0xba)+_0x171e49),_0x5396c2[_0x1b3146(0xe2)]=_0x15eaec;}this[_0x1b3146(0x146)](_0x1b3146(0x1e4),_0x2bcfac,_0x72de03),_0x5391df['write'](_0x2bcfac[_0x1b3146(0xab)]('\x0d\x0a')[_0x1b3146(0x179)]('\x0d\x0a')),_0x5391df[_0x1b3146(0x233)](_0x1b3146(0xe0),_0x70ae7e),_0x5396c2[_0x1b3146(0x1ef)](_0x5391df,_0xbbed7e,{'allowSynchronousEvents':this['options'][_0x1b3146(0x221)],'maxPayload':this[_0x1b3146(0xff)][_0x1b3146(0xf6)],'skipUTF8Validation':this[_0x1b3146(0xff)]['skipUTF8Validation']}),this[_0x1b3146(0xd3)]&&(this[_0x1b3146(0xd3)][_0x1b3146(0xb2)](_0x5396c2),_0x5396c2['on'](_0x1b3146(0x227),()=>{const _0x3411e3=_0x1b3146;this[_0x3411e3(0xd3)][_0x3411e3(0x188)](_0x5396c2),this[_0x3411e3(0x22f)]&&!this[_0x3411e3(0xd3)][_0x3411e3(0x1c0)]&&process[_0x3411e3(0x14c)](_0x2e806d,this);})),_0x1c7dbf(_0x5396c2,_0x72de03);}}Te=_0x402c93;function _0x128a79(_0x1ea921,_0x1d752a){const _0x6e9e68=_0x159bb6;for(const _0x40dd53 of Object[_0x6e9e68(0x14f)](_0x1d752a))_0x1ea921['on'](_0x40dd53,_0x1d752a[_0x40dd53]);return function(){const _0xf92f34=_0x6e9e68;for(const _0x5afec7 of Object['keys'](_0x1d752a))_0x1ea921[_0xf92f34(0x233)](_0x5afec7,_0x1d752a[_0x5afec7]);};}function _0x2e806d(_0x5275eb){const _0x280496=_0x159bb6;_0x5275eb[_0x280496(0x1cf)]=_0x5c037c,_0x5275eb[_0x280496(0x146)](_0x280496(0x227));}function _0x70ae7e(){this['destroy']();}function _0x271e21(_0x46c67b,_0x4d37de,_0x81f37a,_0x1f41e9){const _0x4e60f9=_0x159bb6;_0x81f37a=_0x81f37a||_0xb01677[_0x4e60f9(0x113)][_0x4d37de],_0x1f41e9={'Connection':_0x4e60f9(0x227),'Content-Type':_0x4e60f9(0x183),'Content-Length':Buffer[_0x4e60f9(0x95)](_0x81f37a),..._0x1f41e9},_0x46c67b[_0x4e60f9(0x1a1)](_0x4e60f9(0xe1),_0x46c67b['destroy']),_0x46c67b['end'](_0x4e60f9(0x190)+_0x4d37de+'\x20'+_0xb01677[_0x4e60f9(0x113)][_0x4d37de]+'\x0d\x0a'+Object[_0x4e60f9(0x14f)](_0x1f41e9)[_0x4e60f9(0x10d)](_0xb59ffb=>_0xb59ffb+':\x20'+_0x1f41e9[_0xb59ffb])[_0x4e60f9(0x179)]('\x0d\x0a')+_0x4e60f9(0x1e3)+_0x81f37a);}function _0x544e81(_0x108c6d,_0x475c92,_0x22eca5,_0x4e5e05,_0x52e016){const _0x3cae8f=_0x159bb6;if(_0x108c6d[_0x3cae8f(0x1b4)]('wsClientError')){const _0x5639e8=new Error(_0x52e016);Error[_0x3cae8f(0x21e)](_0x5639e8,_0x544e81),_0x108c6d[_0x3cae8f(0x146)](_0x3cae8f(0x1f0),_0x5639e8,_0x22eca5,_0x475c92);}else _0x271e21(_0x22eca5,_0x4e5e05,_0x52e016);}return Te;}function _0x581b(){const _0x2d5fc8=['_isServer','The\x20\x22','_doCreateSocket','Blob','Injector','__esModule','target','sec-websocket-version','Z_DEFAULT_WINDOWBITS','setHeader','ILogService','CLOSING','unmask','_closeFrameReceived','encrypted','has','\x22\x20must\x20have\x20only\x20a\x20single\x20value','message','host','protocol','CollaborationSocketService','pluginName','destroyed','_redirects','Upgrade','kCode','authorized','concurrency','666420LeoioX','set','getConfig','Invalid\x20value\x20for\x20parameter\x20\x22','Disposable','318992gKAlHv','_binaryType','client_no_context_takeover','emit','isIP','Sec-WebSocket-Protocol:\x20','socketPath','_options','Maximum\x20redirects\x20exceeded','nextTick','shouldHandle','bufferedAmount','keys','CONNECTING','HTTP/1.1\x20101\x20Switching\x20Protocols','search','toDisposable','href','sec-websocket-accept','_fragmented','https','servername','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','@univerjs-pro/collaboration','number','invalid\x20opcode\x20','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_final','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','rsv1','pathname','isInteger','upgrade','_opcode','connection','wasClean','read','verifyClient','code','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','replace','bind','kReason','IConfigService','create','OPEN','wss:','protocolVersion','completeUpgrade','pong','registerDependencies','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','test','join','pause','unexpected-response','ping','_protocol','@univerjs/core','flush','readOnly','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','cleanup','text/html','server_no_context_takeover','errorEmitted','open','writeUInt16BE','delete','write','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','setTimeout','_httpService','_readyState','_payloadLength','threshold','HTTP/1.1\x20','username','handleProtocols','function','http:','total-length','WS_ERR_INVALID_OPCODE','kAborted','decompress','isArray','_closeCode','dispose','createDeflateRaw','data','sec-websocket-origin','isPaused','freeze','once','_url','buffer','addEventListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','invalid\x20UTF-8\x20sequence','Invalid\x20Upgrade\x20header','cork','dataMessage','_messageLength','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','constructor','1IUzvsD','dequeue','clientNoContextTakeover','catch','warn','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','next','listenerCount','statusCode','_originalSecure','shift','Cookie','request','mask','removeEventListener','readUInt32BE','enqueue','WS_ERR_INVALID_UTF8','_configService','size','Unexpected\x20character\x20at\x20index\x20','Server\x20sent\x20no\x20subprotocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','base64','share','_registerDependencies','followRedirects','server','net','kIsForOnEventAttribute','_fin','Module','listen','port','_state','clientMaxWindowBits','finished','handleUpgrade','length','WebSocket\x20is\x20not\x20open:\x20readyState\x20','UniverCollaborationClientNodePlugin','Z_SYNC_FLUSH','unshift','Invalid\x20HTTP\x20method','url','kData','_server','_sender','authorization','190718TVtnor','_totalPayloadLength','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getOwnPropertyDescriptor','_threshold','\x0d\x0a\x0d\x0a','headers','client','removeAllListeners','handshakeTimeout','species','normalizeParams','The\x20URL\x27s\x20pathname\x20is\x20empty','then','address','readUInt16BE','toLowerCase','setSocket','wsClientError','pow','listeners','sec-websocket-protocol','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','forEach','Invalid\x20Sec-WebSocket-Accept\x20header','cookie','onmessage','_write','DisposableCollection','isView','_no_context_takeover','Plugin','invalid\x20payload\x20length\x20','_maskBuffer','Invalid\x20Sec-WebSocket-Protocol\x20header','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','controlMessage','redirect','params','env','@univerjs-pro/collaboration-client','find','kRun','MASK\x20must\x20be\x20set','tls','object','dispatch','sendFrame','perMessageDeflate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_closeMessage','RSV1\x20must\x20be\x20clear','createInflateRaw','serverMaxWindowBits','end','466146FbxlBj','Inject','Unexpected\x20server\x20response:\x20','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','string','\x22:\x20','binaryType','getMask','generateMask','captureStackTrace','objectMode','invalid\x20opcode\x200','allowSynchronousEvents','getData','_errorEmitted','zlib','1466364nYDqHx','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','close','backlog','Parameter\x20\x22','server_max_window_bits','@univerjs/network','kDone','skipUTF8Validation','WS_ERR_INVALID_CLOSE_CODE','_shouldEmitClose','Unknown\x20parameter\x20\x22','_skipUTF8Validation','prototype','removeListener','_inflate','isBuffer','alloc','acceptAsServer','maskBuffer','_readableState','push','destroy','_destroy','socket','_buffers','_req','acceptAsClient','hostname','auth','extensionName','createSocket','_bufferedAmount','COLLABORATION_CLIENT_NODE_CONFIG_KEY','autoPong','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','indexOf','terminate','Invalid\x20Sec-WebSocket-Extensions\x20header','endEmitted','needDrain','allocUnsafe','defineProperty','pipe','The\x20URL\x20contains\x20a\x20fragment\x20identifier','setNoDelay','_socket','getPayloadLength16','_errored','stream','writeUIntBE','_loop','ws:','_paused','_deflate','isValidUTF8','_firstFragment','concurrencyLimit','byteLength','The\x20server\x20is\x20not\x20running','pending','customHeaders','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','createServer','Max\x20payload\x20size\x20exceeded','type','getPayloadLength64','timeout','onStarting','_originalIpc','Sec-WebSocket-Protocol','consume','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','compress','Sec-WebSocket-Extensions','onerror','clientTracking','_max_window_bits','GET','reset','concat','connect','WS_ERR_UNEXPECTED_MASK','_masked','get','from','update','add','_originalHostOrSocketPath','NodeCollaborationSocketService','text/plain','blob','CLOSED','opcode','_allowSynchronousEvents','Sec-WebSocket-Extensions:\x20','maxRedirects','noServer','_mask','getBlobData','arraybuffer','entries','location','createError','readyState','haveLength','onopen','apply','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_queue','_maxPayload','kListener','frame','Sec-WebSocket-Origin','call','includes','client_max_window_bits','1626712uOlXrZ','_autoPong','WS_ERR_EXPECTED_FIN','clients','websocket','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','startsWith','finishRequest','invalid\x20status\x20code\x20','_closeFrameSent','jobs','toStringTag','Observable','permessage-deflate','fin','send','error','finish','_extensions','kByteLength','Invalid\x20URL:\x20','origin','path','exports','extensions','startLoop','WebSocket','_bufferedBytes','isServer','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-extensions','ws+unix:','arrayBuffer','File','default','_receiver','_decompress','emitClose','maxPayload','reason','_writableState','_compressed','Unexpected\x20end\x20of\x20input','kMessage','accept','conclude','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','options','hash','split','_removeListeners','onclose','charCodeAt','http','byteOffset','handleEvent','HTTPService','method','UniverCollaborationClientPlugin','Connection:\x20Upgrade','_fragments','map','nodebuffer','FIN\x20must\x20be\x20set','status-code','defaultPort','events','STATUS_CODES','serverNoContextTakeover','slice','Unsupported\x20protocol\x20version:\x20','resume','offer','toString','9KHfIKd','_compress','29505TVfoyr','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','crypto','password','WS_ERR_UNEXPECTED_RSV_2_3','_closeTimer'];_0x581b=function(){return _0x2d5fc8;};return _0x581b();}Ft();var jt=Object[_0x5ab958(0x1e1)],Wt=(_0x3ab8e8,_0x22f10f,_0x21b241,_0x3bf0cd)=>{for(var _0x3b3618=_0x3bf0cd>0x1?void 0x0:_0x3bf0cd?jt(_0x22f10f,_0x21b241):_0x22f10f,_0x394988=_0x3ab8e8['length']-0x1,_0x1741ff;_0x394988>=0x0;_0x394988--)(_0x1741ff=_0x3ab8e8[_0x394988])&&(_0x3b3618=_0x1741ff(_0x3b3618)||_0x3b3618);return _0x3b3618;},qt=(_0x54c785,_0x33868a)=>(_0x49d2d6,_0x4e3b02)=>_0x33868a(_0x49d2d6,_0x4e3b02,_0x54c785);let ke=class extends A[_0x5ab958(0x142)]{constructor(_0x231118){const _0x15952f=_0x5ab958;super(),this[_0x15952f(0x1bf)]=_0x231118;}[_0x5ab958(0x7a)](_0x163ab3){const _0x5a72e8=_0x5ab958;var _0x14647;const _0x2bb103=(_0x14647=this[_0x5a72e8(0x1bf)][_0x5a72e8(0x140)](fe))==null?void 0x0:_0x14647['customHeaders'];try{const _0x823c24=new $t(_0x163ab3,{'headers':{..._0x2bb103}}),_0x4ad0a2=new A[(_0x5a72e8(0x1fa))]();return{'URL':_0x163ab3,'close':(_0x5e000c,_0x2dfc71)=>{const _0x1a3551=_0x5a72e8;_0x823c24[_0x1a3551(0x227)](_0x5e000c,_0x2dfc71),_0x4ad0a2[_0x1a3551(0x19b)]();},'send':_0xcbf607=>{const _0x1f1bda=_0x5a72e8;_0x823c24[_0x1f1bda(0xdf)](_0xcbf607);},'open$':new V[(_0x5a72e8(0xdc))](_0x2479c3=>{const _0x51e37f=_0x5a72e8,_0xbae64b=_0x537571=>_0x2479c3['next'](_0x537571);_0x823c24[_0x51e37f(0x1a4)](_0x51e37f(0x186),_0xbae64b),_0x4ad0a2[_0x51e37f(0xb2)](A['toDisposable'](()=>_0x823c24[_0x51e37f(0x1bb)](_0x51e37f(0x186),_0xbae64b)));})[_0x5a72e8(0x86)](V['share']()),'close$':new V[(_0x5a72e8(0xdc))](_0x476385=>{const _0x4d90bd=_0x5a72e8,_0x41f5b7=_0x3dd83a=>_0x476385['next'](_0x3dd83a);_0x823c24['addEventListener'](_0x4d90bd(0x227),_0x41f5b7),_0x4ad0a2[_0x4d90bd(0xb2)](A['toDisposable'](()=>_0x823c24[_0x4d90bd(0x1bb)](_0x4d90bd(0x227),_0x41f5b7)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]()),'error$':new V[(_0x5a72e8(0xdc))](_0x470ff1=>{const _0x2040dc=_0x5a72e8,_0x1e84ba=_0x2b514b=>_0x470ff1[_0x2040dc(0x1b3)](_0x2b514b);_0x823c24[_0x2040dc(0x1a4)](_0x2040dc(0xe0),_0x1e84ba),_0x4ad0a2['add'](A[_0x2040dc(0x153)](()=>_0x823c24['removeEventListener']('error',_0x1e84ba)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]()),'message$':new V[(_0x5a72e8(0xdc))](_0x24385d=>{const _0x1072f7=_0x5a72e8,_0x2f9a74=_0x39d4ca=>_0x24385d[_0x1072f7(0x1b3)](_0x39d4ca);_0x823c24[_0x1072f7(0x1a4)](_0x1072f7(0x133),_0x2f9a74),_0x4ad0a2[_0x1072f7(0xb2)](A[_0x1072f7(0x153)](()=>_0x823c24[_0x1072f7(0x1bb)](_0x1072f7(0x133),_0x2f9a74)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]())};}catch(_0x22dd16){return console[_0x5a72e8(0xe0)](_0x22dd16),null;}}};ke=Wt([qt(0x0,A[_0x5ab958(0x16e)])],ke);var Gt=Object[_0x5ab958(0x85)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5edef4,_0x330029,_0x1a8942)=>_0x330029 in _0x5edef4?Gt(_0x5edef4,_0x330029,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a8942}):_0x5edef4[_0x330029]=_0x1a8942,zt=(_0x10a466,_0x3b9bc5,_0x4313f2,_0x1be7e2)=>{const _0x3b644b=_0x5ab958;for(var _0x4575f4=_0x1be7e2>0x1?void 0x0:_0x1be7e2?Vt(_0x3b9bc5,_0x4313f2):_0x3b9bc5,_0x253e10=_0x10a466[_0x3b644b(0x1d3)]-0x1,_0x1f85ba;_0x253e10>=0x0;_0x253e10--)(_0x1f85ba=_0x10a466[_0x253e10])&&(_0x4575f4=_0x1f85ba(_0x4575f4)||_0x4575f4);return _0x4575f4;},Ne=(_0x5c47a1,_0xe4c0c6)=>(_0x4fec7d,_0x3b5fbd)=>_0xe4c0c6(_0x4fec7d,_0x3b5fbd,_0x5c47a1),Yt=(_0xb3f2d3,_0x4caf44,_0x3d258e)=>Ht(_0xb3f2d3,_0x4caf44+'',_0x3d258e);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x5ab958(0x1fd)]{constructor(_0x25afae=Ct,_0x311082,_0x371d86,_0x1c2668){const _0x51c269=_0x5ab958;_0x25afae[_0x51c269(0x98)]||_0x311082[_0x51c269(0x1b1)](_0x51c269(0x201)),super(),this[_0x51c269(0x1bf)]=_0x371d86,this['_injector']=_0x1c2668,this[_0x51c269(0x1bf)]['setConfig'](fe,_0x25afae);}[_0x5ab958(0x9f)](){const _0x2940aa=_0x5ab958;this[_0x2940aa(0x1c6)]();}[_0x5ab958(0x1c6)](){const _0x353d60=_0x5ab958;A[_0x353d60(0x175)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x5ab958(0x1d5)],_0x5ab958(0x137),_0x5ab958(0x1a5)),exports[_0x5ab958(0x1d5)]=zt([A['DependentOn'](st[_0x5ab958(0x10a)]),Ne(0x1,A[_0x5ab958(0x12c)]),Ne(0x2,A[_0x5ab958(0x16e)]),Ne(0x3,A[_0x5ab958(0x216)](A[_0x5ab958(0x126)]))],exports[_0x5ab958(0x1d5)]);var Kt=Object[_0x5ab958(0x1e1)],Xt=(_0x2ec433,_0x4eb6ed,_0x4a8266,_0x2ea48b)=>{const _0x256a83=_0x5ab958;for(var _0x340f16=_0x2ea48b>0x1?void 0x0:_0x2ea48b?Kt(_0x4eb6ed,_0x4a8266):_0x4eb6ed,_0x2e30f4=_0x2ec433[_0x256a83(0x1d3)]-0x1,_0x6fb0a9;_0x2e30f4>=0x0;_0x2e30f4--)(_0x6fb0a9=_0x2ec433[_0x2e30f4])&&(_0x340f16=_0x6fb0a9(_0x340f16)||_0x340f16);return _0x340f16;},ne=(_0x4f533e,_0x2294dc)=>(_0x52b226,_0x3828b0)=>_0x2294dc(_0x52b226,_0x3828b0,_0x4f533e);exports[_0x5ab958(0xb4)]=class extends st[_0x5ab958(0x136)]{constructor(_0x1c4992,_0x32d20d,_0x259084,_0x50997f,_0x219ccf){const _0x565f53=_0x5ab958;super(_0x1c4992,_0x32d20d,_0x259084,_0x50997f,_0x219ccf);const _0x19b66d=this[_0x565f53(0x1bf)][_0x565f53(0x140)](fe);this[_0x565f53(0x18c)]['registerHTTPInterceptor']({'interceptor':(_0x5333a3,_0x400edb)=>{const _0x2cebff=_0x565f53;var _0x40ad1f;const _0x2c1fc5=_0x5333a3[_0x2cebff(0x1e4)];return(_0x40ad1f=_0x19b66d==null?void 0x0:_0x19b66d[_0x2cebff(0x98)])!=null&&_0x40ad1f['cookie']&&_0x2c1fc5[_0x2cebff(0x13f)](_0x2cebff(0x1b8),_0x19b66d['customHeaders'][_0x2cebff(0x1f7)]),_0x400edb(_0x5333a3);}});}async[_0x5ab958(0x7a)](_0x236588){const _0x49f578=_0x5ab958;return this[_0x49f578(0x124)](_0x236588);}},exports[_0x5ab958(0xb4)]=Xt([ne(0x0,A['Inject'](A[_0x5ab958(0x126)])),ne(0x1,A['Inject'](it[_0x5ab958(0x108)])),ne(0x2,A[_0x5ab958(0x16e)]),ne(0x3,A[_0x5ab958(0x12c)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x5ab958(0x7c)]=fe;
|