@univerjs-pro/collaboration-client-node 0.6.6-nightly.202503201607 → 0.6.6-nightly.202503211606
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/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x456ae0=_0x5235;(function(_0x57801b,_0x24f6b8){const _0x57ced4=_0x5235,_0x512ea5=_0x57801b();while(!![]){try{const _0x49ece5=parseInt(_0x57ced4(0x207))/0x1*(parseInt(_0x57ced4(0x211))/0x2)+-parseInt(_0x57ced4(0x132))/0x3*(parseInt(_0x57ced4(0xe1))/0x4)+parseInt(_0x57ced4(0x133))/0x5*(parseInt(_0x57ced4(0xd9))/0x6)+-parseInt(_0x57ced4(0x1b2))/0x7*(parseInt(_0x57ced4(0x10c))/0x8)+-parseInt(_0x57ced4(0xaf))/0x9*(-parseInt(_0x57ced4(0x143))/0xa)+parseInt(_0x57ced4(0x17c))/0xb+-parseInt(_0x57ced4(0x237))/0xc;if(_0x49ece5===_0x24f6b8)break;else _0x512ea5['push'](_0x512ea5['shift']());}catch(_0x18f948){_0x512ea5['push'](_0x512ea5['shift']());}}}(_0x316a,0xaafec));Object[_0x456ae0(0x9c)](exports,Symbol[_0x456ae0(0x240)],{'value':_0x456ae0(0x23e)});const st=require(_0x456ae0(0xc9)),A=require(_0x456ae0(0x213)),it=require(_0x456ae0(0x1f4)),V=require(_0x456ae0(0x169)),nt=require('events'),vt=require(_0x456ae0(0x1bb)),ot=require('http'),St=require(_0x456ae0(0x87)),Et=require('tls'),Le=require('crypto'),oe=require(_0x456ae0(0x239)),xt=require(_0x456ae0(0x212)),bt=require('zlib'),wt=require(_0x456ae0(0xe8)),Ot=require(_0x456ae0(0x1ec)),fe=_0x456ae0(0x1c0),Ct={'customHeaders':{}};function Tt(_0x2f1a8b){const _0x580a24=_0x456ae0;return _0x2f1a8b&&_0x2f1a8b[_0x580a24(0x149)]&&Object['prototype'][_0x580a24(0x175)][_0x580a24(0x195)](_0x2f1a8b,'default')?_0x2f1a8b[_0x580a24(0x21e)]:_0x2f1a8b;}function at(_0x3fa589){const _0x193f80=_0x456ae0;if(_0x3fa589[_0x193f80(0x149)])return _0x3fa589;var _0x26667a=_0x3fa589['default'];if(typeof _0x26667a==_0x193f80(0x11e)){var _0x3e6ed7=function _0xde2c1c(){const _0x24b3df=_0x193f80;return this instanceof _0xde2c1c?Reflect[_0x24b3df(0xf4)](_0x26667a,arguments,this['constructor']):_0x26667a[_0x24b3df(0x9f)](this,arguments);};_0x3e6ed7[_0x193f80(0x108)]=_0x26667a[_0x193f80(0x108)];}else _0x3e6ed7={};return Object[_0x193f80(0x9c)](_0x3e6ed7,_0x193f80(0x149),{'value':!0x0}),Object[_0x193f80(0x22e)](_0x3fa589)['forEach'](function(_0x29a10b){const _0x4b2c0a=_0x193f80;var _0x211f42=Object[_0x4b2c0a(0x163)](_0x3fa589,_0x29a10b);Object['defineProperty'](_0x3e6ed7,_0x29a10b,_0x211f42['get']?_0x211f42:{'enumerable':!0x0,'get':function(){return _0x3fa589[_0x29a10b];}});}),_0x3e6ed7;}var se={'exports':{}},ge,Ge;function H(){const _0x1f165d=_0x456ae0;if(Ge)return ge;Ge=0x1;const _0x46c19e=[_0x1f165d(0x1c4),_0x1f165d(0x1a1),_0x1f165d(0x15c)],_0x33097e=typeof Blob<'u';return _0x33097e&&_0x46c19e['push'](_0x1f165d(0x1f0)),ge={'BINARY_TYPES':_0x46c19e,'EMPTY_BUFFER':Buffer[_0x1f165d(0x20a)](0x0),'GUID':_0x1f165d(0x162),'hasBlob':_0x33097e,'kForOnEventAttribute':Symbol(_0x1f165d(0x156)),'kListener':Symbol(_0x1f165d(0x88)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x1f165d(0x1a7)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x456ae0(0x153)](Object[_0x456ae0(0x9c)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x456ae0(0x23e)})),Lt=at(kt);var Ve;function ce(){const _0x3b6f8e=_0x456ae0;if(Ve)return se[_0x3b6f8e(0x7a)];Ve=0x1;const {EMPTY_BUFFER:_0x5d941b}=H(),_0x31182a=Buffer[Symbol[_0x3b6f8e(0x1e2)]];function _0x429a82(_0x2b29a8,_0x235ba3){const _0x340dce=_0x3b6f8e;if(_0x2b29a8['length']===0x0)return _0x5d941b;if(_0x2b29a8[_0x340dce(0xa3)]===0x1)return _0x2b29a8[0x0];const _0x409ca3=Buffer[_0x340dce(0xb7)](_0x235ba3);let _0x351bbd=0x0;for(let _0x5af0e3=0x0;_0x5af0e3<_0x2b29a8[_0x340dce(0xa3)];_0x5af0e3++){const _0x37f3b1=_0x2b29a8[_0x5af0e3];_0x409ca3[_0x340dce(0x1c7)](_0x37f3b1,_0x351bbd),_0x351bbd+=_0x37f3b1[_0x340dce(0xa3)];}return _0x351bbd<_0x235ba3?new _0x31182a(_0x409ca3[_0x340dce(0xe8)],_0x409ca3[_0x340dce(0x179)],_0x351bbd):_0x409ca3;}function _0x359438(_0x5eae9f,_0x2ad783,_0x34b066,_0x1b9d35,_0x583cd7){for(let _0x2915c3=0x0;_0x2915c3<_0x583cd7;_0x2915c3++)_0x34b066[_0x1b9d35+_0x2915c3]=_0x5eae9f[_0x2915c3]^_0x2ad783[_0x2915c3&0x3];}function _0x355f8e(_0x1a5722,_0x324dc5){const _0x2168c0=_0x3b6f8e;for(let _0x12ad57=0x0;_0x12ad57<_0x1a5722[_0x2168c0(0xa3)];_0x12ad57++)_0x1a5722[_0x12ad57]^=_0x324dc5[_0x12ad57&0x3];}function _0x178069(_0x368760){const _0x2da01a=_0x3b6f8e;return _0x368760[_0x2da01a(0xa3)]===_0x368760['buffer'][_0x2da01a(0x23a)]?_0x368760['buffer']:_0x368760[_0x2da01a(0xe8)][_0x2da01a(0xb3)](_0x368760[_0x2da01a(0x179)],_0x368760[_0x2da01a(0x179)]+_0x368760[_0x2da01a(0xa3)]);}function _0x54e516(_0x517c56){const _0x8ccd7=_0x3b6f8e;if(_0x54e516['readOnly']=!0x0,Buffer['isBuffer'](_0x517c56))return _0x517c56;let _0x20e093;return _0x517c56 instanceof ArrayBuffer?_0x20e093=new _0x31182a(_0x517c56):ArrayBuffer[_0x8ccd7(0x15d)](_0x517c56)?_0x20e093=new _0x31182a(_0x517c56['buffer'],_0x517c56[_0x8ccd7(0x179)],_0x517c56[_0x8ccd7(0x23a)]):(_0x20e093=Buffer[_0x8ccd7(0x89)](_0x517c56),_0x54e516[_0x8ccd7(0x142)]=!0x1),_0x20e093;}if(se[_0x3b6f8e(0x7a)]={'concat':_0x429a82,'mask':_0x359438,'toArrayBuffer':_0x178069,'toBuffer':_0x54e516,'unmask':_0x355f8e},!process[_0x3b6f8e(0x21c)][_0x3b6f8e(0x1c3)])try{const _0x5b251f=Lt;se[_0x3b6f8e(0x7a)]['mask']=function(_0x14d3ad,_0x5b7ad2,_0xcef4f4,_0xc3ccbd,_0x37f7ed){const _0x523328=_0x3b6f8e;_0x37f7ed<0x30?_0x359438(_0x14d3ad,_0x5b7ad2,_0xcef4f4,_0xc3ccbd,_0x37f7ed):_0x5b251f[_0x523328(0xd4)](_0x14d3ad,_0x5b7ad2,_0xcef4f4,_0xc3ccbd,_0x37f7ed);},se['exports'][_0x3b6f8e(0x216)]=function(_0x46acdf,_0x268263){const _0x456b6c=_0x3b6f8e;_0x46acdf[_0x456b6c(0xa3)]<0x20?_0x355f8e(_0x46acdf,_0x268263):_0x5b251f[_0x456b6c(0x216)](_0x46acdf,_0x268263);};}catch{}return se[_0x3b6f8e(0x7a)];}function _0x5235(_0xb3e0ea,_0xc29b20){const _0x316ac3=_0x316a();return _0x5235=function(_0x52353d,_0x43f9fe){_0x52353d=_0x52353d-0x75;let _0x21d64d=_0x316ac3[_0x52353d];return _0x21d64d;},_0x5235(_0xb3e0ea,_0xc29b20);}var ye,He;function Pt(){const _0x5c448b=_0x456ae0;if(He)return ye;He=0x1;const _0x5e27fa=Symbol('kDone'),_0x40d566=Symbol(_0x5c448b(0x1eb));class _0x3f8da5{constructor(_0x51b0f1){const _0x141c75=_0x5c448b;this[_0x5e27fa]=()=>{const _0x5f1d0e=_0x5235;this[_0x5f1d0e(0x135)]--,this[_0x40d566]();},this['concurrency']=_0x51b0f1||0x1/0x0,this[_0x141c75(0xed)]=[],this['pending']=0x0;}['add'](_0x39d709){const _0x10efc5=_0x5c448b;this['jobs'][_0x10efc5(0x158)](_0x39d709),this[_0x40d566]();}[_0x40d566](){const _0x32b009=_0x5c448b;if(this[_0x32b009(0x135)]!==this[_0x32b009(0x227)]&&this[_0x32b009(0xed)][_0x32b009(0xa3)]){const _0x454c50=this['jobs'][_0x32b009(0x198)]();this[_0x32b009(0x135)]++,_0x454c50(this[_0x5e27fa]);}}}return ye=_0x3f8da5,ye;}var ve,ze;function he(){const _0x3e4bb6=_0x456ae0;if(ze)return ve;ze=0x1;const _0x3448ea=bt,_0x5940d8=ce(),_0x4e6965=Pt(),{kStatusCode:_0x4af8f7}=H(),_0x8f255=Buffer[Symbol[_0x3e4bb6(0x1e2)]],_0x6bd4a5=Buffer[_0x3e4bb6(0x89)]([0x0,0x0,0xff,0xff]),_0x49bdf1=Symbol(_0x3e4bb6(0x20e)),_0x275f1d=Symbol(_0x3e4bb6(0x114)),_0x436fb5=Symbol(_0x3e4bb6(0x170)),_0x167f60=Symbol(_0x3e4bb6(0x1cc)),_0x180975=Symbol('error');let _0x4f08e2;class _0x4c0c6e{constructor(_0x8e5d25,_0x3ffaa4,_0x1843cb){const _0x52e398=_0x3e4bb6;if(this[_0x52e398(0xad)]=_0x1843cb|0x0,this[_0x52e398(0x76)]=_0x8e5d25||{},this[_0x52e398(0x147)]=this['_options']['threshold']!==void 0x0?this['_options'][_0x52e398(0x11c)]:0x400,this[_0x52e398(0xe9)]=!!_0x3ffaa4,this[_0x52e398(0x17a)]=null,this[_0x52e398(0x23b)]=null,this[_0x52e398(0x21d)]=null,!_0x4f08e2){const _0x594c02=this[_0x52e398(0x76)][_0x52e398(0x193)]!==void 0x0?this[_0x52e398(0x76)][_0x52e398(0x193)]:0xa;_0x4f08e2=new _0x4e6965(_0x594c02);}}static get[_0x3e4bb6(0xd8)](){const _0x337338=_0x3e4bb6;return _0x337338(0x20e);}[_0x3e4bb6(0xc2)](){const _0x5c5b2c=_0x3e4bb6,_0x169617={};return this[_0x5c5b2c(0x76)]['serverNoContextTakeover']&&(_0x169617[_0x5c5b2c(0x16c)]=!0x0),this[_0x5c5b2c(0x76)][_0x5c5b2c(0xbf)]&&(_0x169617[_0x5c5b2c(0x98)]=!0x0),this[_0x5c5b2c(0x76)][_0x5c5b2c(0x14f)]&&(_0x169617[_0x5c5b2c(0x96)]=this[_0x5c5b2c(0x76)][_0x5c5b2c(0x14f)]),this[_0x5c5b2c(0x76)][_0x5c5b2c(0x12f)]?_0x169617[_0x5c5b2c(0xef)]=this[_0x5c5b2c(0x76)][_0x5c5b2c(0x12f)]:this[_0x5c5b2c(0x76)]['clientMaxWindowBits']==null&&(_0x169617['client_max_window_bits']=!0x0),_0x169617;}['accept'](_0x1ddde5){const _0x1ca009=_0x3e4bb6;return _0x1ddde5=this[_0x1ca009(0x1f7)](_0x1ddde5),this[_0x1ca009(0x21d)]=this[_0x1ca009(0xe9)]?this[_0x1ca009(0x166)](_0x1ddde5):this['acceptAsClient'](_0x1ddde5),this[_0x1ca009(0x21d)];}[_0x3e4bb6(0xde)](){const _0x25895a=_0x3e4bb6;if(this['_inflate']&&(this[_0x25895a(0x23b)]['close'](),this[_0x25895a(0x23b)]=null),this[_0x25895a(0x17a)]){const _0x428c87=this[_0x25895a(0x17a)][_0x436fb5];this[_0x25895a(0x17a)][_0x25895a(0x15b)](),this['_deflate']=null,_0x428c87&&_0x428c87(new Error(_0x25895a(0x13c)));}}[_0x3e4bb6(0x166)](_0x5bee4b){const _0x42d087=_0x3e4bb6,_0x651706=this['_options'],_0x10b141=_0x5bee4b['find'](_0x3d0a25=>!(_0x651706[_0x42d087(0x233)]===!0x1&&_0x3d0a25[_0x42d087(0x16c)]||_0x3d0a25[_0x42d087(0x96)]&&(_0x651706['serverMaxWindowBits']===!0x1||typeof _0x651706[_0x42d087(0x14f)]==_0x42d087(0x112)&&_0x651706['serverMaxWindowBits']>_0x3d0a25['server_max_window_bits'])||typeof _0x651706[_0x42d087(0x12f)]==_0x42d087(0x112)&&!_0x3d0a25[_0x42d087(0xef)]));if(!_0x10b141)throw new Error(_0x42d087(0xfc));return _0x651706['serverNoContextTakeover']&&(_0x10b141[_0x42d087(0x16c)]=!0x0),_0x651706[_0x42d087(0xbf)]&&(_0x10b141[_0x42d087(0x98)]=!0x0),typeof _0x651706[_0x42d087(0x14f)]=='number'&&(_0x10b141[_0x42d087(0x96)]=_0x651706[_0x42d087(0x14f)]),typeof _0x651706[_0x42d087(0x12f)]==_0x42d087(0x112)?_0x10b141[_0x42d087(0xef)]=_0x651706['clientMaxWindowBits']:(_0x10b141['client_max_window_bits']===!0x0||_0x651706[_0x42d087(0x12f)]===!0x1)&&delete _0x10b141[_0x42d087(0xef)],_0x10b141;}[_0x3e4bb6(0x229)](_0x4c3fbb){const _0x1690f0=_0x3e4bb6,_0x3b6b74=_0x4c3fbb[0x0];if(this[_0x1690f0(0x76)]['clientNoContextTakeover']===!0x1&&_0x3b6b74[_0x1690f0(0x98)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x3b6b74[_0x1690f0(0xef)])typeof this[_0x1690f0(0x76)][_0x1690f0(0x12f)]=='number'&&(_0x3b6b74[_0x1690f0(0xef)]=this['_options'][_0x1690f0(0x12f)]);else{if(this[_0x1690f0(0x76)][_0x1690f0(0x12f)]===!0x1||typeof this['_options'][_0x1690f0(0x12f)]==_0x1690f0(0x112)&&_0x3b6b74['client_max_window_bits']>this['_options'][_0x1690f0(0x12f)])throw new Error(_0x1690f0(0xdc));}return _0x3b6b74;}[_0x3e4bb6(0x1f7)](_0x401fef){return _0x401fef['forEach'](_0x1935c3=>{const _0x28e198=_0x5235;Object[_0x28e198(0x22e)](_0x1935c3)[_0x28e198(0x115)](_0x30386a=>{const _0x425435=_0x28e198;let _0x31005f=_0x1935c3[_0x30386a];if(_0x31005f['length']>0x1)throw new Error('Parameter\x20\x22'+_0x30386a+_0x425435(0x1f2));if(_0x31005f=_0x31005f[0x0],_0x30386a==='client_max_window_bits'){if(_0x31005f!==!0x0){const _0x47ed0b=+_0x31005f;if(!Number[_0x425435(0x17f)](_0x47ed0b)||_0x47ed0b<0x8||_0x47ed0b>0xf)throw new TypeError(_0x425435(0x1c9)+_0x30386a+_0x425435(0x215)+_0x31005f);_0x31005f=_0x47ed0b;}else{if(!this['_isServer'])throw new TypeError(_0x425435(0x1c9)+_0x30386a+_0x425435(0x215)+_0x31005f);}}else{if(_0x30386a===_0x425435(0x96)){const _0x8cd849=+_0x31005f;if(!Number[_0x425435(0x17f)](_0x8cd849)||_0x8cd849<0x8||_0x8cd849>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x30386a+_0x425435(0x215)+_0x31005f);_0x31005f=_0x8cd849;}else{if(_0x30386a===_0x425435(0x98)||_0x30386a===_0x425435(0x16c)){if(_0x31005f!==!0x0)throw new TypeError(_0x425435(0x1c9)+_0x30386a+_0x425435(0x215)+_0x31005f);}else throw new Error(_0x425435(0x228)+_0x30386a+'\x22');}}_0x1935c3[_0x30386a]=_0x31005f;});}),_0x401fef;}[_0x3e4bb6(0xf3)](_0x5e7130,_0x1628ea,_0x49121e){const _0x2094ad=_0x3e4bb6;_0x4f08e2[_0x2094ad(0x14b)](_0x3d5366=>{const _0x583fe3=_0x2094ad;this[_0x583fe3(0x243)](_0x5e7130,_0x1628ea,(_0x43bc9e,_0x19e2a1)=>{_0x3d5366(),_0x49121e(_0x43bc9e,_0x19e2a1);});});}[_0x3e4bb6(0x13a)](_0x3fd635,_0x138e4a,_0x1182a0){_0x4f08e2['add'](_0x2bc9d3=>{const _0x16e608=_0x5235;this[_0x16e608(0xa2)](_0x3fd635,_0x138e4a,(_0x283256,_0x52646b)=>{_0x2bc9d3(),_0x1182a0(_0x283256,_0x52646b);});});}[_0x3e4bb6(0x243)](_0x4ed336,_0x2782e2,_0x54a615){const _0x4bf4cb=_0x3e4bb6,_0x578e37=this['_isServer']?_0x4bf4cb(0x21b):_0x4bf4cb(0x167);if(!this['_inflate']){const _0x2c27fd=_0x578e37+_0x4bf4cb(0x1ad),_0x59777f=typeof this[_0x4bf4cb(0x21d)][_0x2c27fd]!=_0x4bf4cb(0x112)?_0x3448ea[_0x4bf4cb(0x1ce)]:this['params'][_0x2c27fd];this['_inflate']=_0x3448ea[_0x4bf4cb(0x1c5)]({...this['_options'][_0x4bf4cb(0x196)],'windowBits':_0x59777f}),this[_0x4bf4cb(0x23b)][_0x49bdf1]=this,this[_0x4bf4cb(0x23b)][_0x275f1d]=0x0,this[_0x4bf4cb(0x23b)][_0x167f60]=[],this[_0x4bf4cb(0x23b)]['on'](_0x4bf4cb(0x1c2),_0x568286),this[_0x4bf4cb(0x23b)]['on'](_0x4bf4cb(0x93),_0x5e9632);}this[_0x4bf4cb(0x23b)][_0x436fb5]=_0x54a615,this[_0x4bf4cb(0x23b)][_0x4bf4cb(0x109)](_0x4ed336),_0x2782e2&&this[_0x4bf4cb(0x23b)][_0x4bf4cb(0x109)](_0x6bd4a5),this[_0x4bf4cb(0x23b)][_0x4bf4cb(0x1e1)](()=>{const _0x21ef44=_0x4bf4cb,_0x16eb44=this[_0x21ef44(0x23b)][_0x180975];if(_0x16eb44){this[_0x21ef44(0x23b)][_0x21ef44(0x15b)](),this[_0x21ef44(0x23b)]=null,_0x54a615(_0x16eb44);return;}const _0x29bc7b=_0x5940d8[_0x21ef44(0x238)](this[_0x21ef44(0x23b)][_0x167f60],this[_0x21ef44(0x23b)][_0x275f1d]);this[_0x21ef44(0x23b)]['_readableState'][_0x21ef44(0x18b)]?(this[_0x21ef44(0x23b)][_0x21ef44(0x15b)](),this[_0x21ef44(0x23b)]=null):(this['_inflate'][_0x275f1d]=0x0,this[_0x21ef44(0x23b)][_0x167f60]=[],_0x2782e2&&this[_0x21ef44(0x21d)][_0x578e37+'_no_context_takeover']&&this['_inflate'][_0x21ef44(0x1cd)]()),_0x54a615(null,_0x29bc7b);});}[_0x3e4bb6(0xa2)](_0x2a2d33,_0x27bea3,_0x38416a){const _0x1e2f46=_0x3e4bb6,_0x224b45=this[_0x1e2f46(0xe9)]?_0x1e2f46(0x167):_0x1e2f46(0x21b);if(!this[_0x1e2f46(0x17a)]){const _0x459573=_0x224b45+_0x1e2f46(0x1ad),_0x5ecf29=typeof this[_0x1e2f46(0x21d)][_0x459573]!=_0x1e2f46(0x112)?_0x3448ea[_0x1e2f46(0x1ce)]:this['params'][_0x459573];this[_0x1e2f46(0x17a)]=_0x3448ea['createDeflateRaw']({...this[_0x1e2f46(0x76)][_0x1e2f46(0xfb)],'windowBits':_0x5ecf29}),this[_0x1e2f46(0x17a)][_0x275f1d]=0x0,this[_0x1e2f46(0x17a)][_0x167f60]=[],this[_0x1e2f46(0x17a)]['on']('data',_0x197aac);}this['_deflate'][_0x436fb5]=_0x38416a,this[_0x1e2f46(0x17a)][_0x1e2f46(0x109)](_0x2a2d33),this[_0x1e2f46(0x17a)]['flush'](_0x3448ea['Z_SYNC_FLUSH'],()=>{const _0x4efce5=_0x1e2f46;if(!this[_0x4efce5(0x17a)])return;let _0x3ae17d=_0x5940d8[_0x4efce5(0x238)](this[_0x4efce5(0x17a)][_0x167f60],this['_deflate'][_0x275f1d]);_0x27bea3&&(_0x3ae17d=new _0x8f255(_0x3ae17d[_0x4efce5(0xe8)],_0x3ae17d[_0x4efce5(0x179)],_0x3ae17d[_0x4efce5(0xa3)]-0x4)),this[_0x4efce5(0x17a)][_0x436fb5]=null,this[_0x4efce5(0x17a)][_0x275f1d]=0x0,this[_0x4efce5(0x17a)][_0x167f60]=[],_0x27bea3&&this['params'][_0x224b45+'_no_context_takeover']&&this[_0x4efce5(0x17a)]['reset'](),_0x38416a(null,_0x3ae17d);});}}ve=_0x4c0c6e;function _0x197aac(_0x24fb84){const _0x14ae0e=_0x3e4bb6;this[_0x167f60][_0x14ae0e(0x158)](_0x24fb84),this[_0x275f1d]+=_0x24fb84[_0x14ae0e(0xa3)];}function _0x5e9632(_0x12e56b){const _0x25ae0b=_0x3e4bb6;if(this[_0x275f1d]+=_0x12e56b[_0x25ae0b(0xa3)],this[_0x49bdf1][_0x25ae0b(0xad)]<0x1||this[_0x275f1d]<=this[_0x49bdf1][_0x25ae0b(0xad)]){this[_0x167f60][_0x25ae0b(0x158)](_0x12e56b);return;}this[_0x180975]=new RangeError(_0x25ae0b(0x77)),this[_0x180975]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x180975][_0x4af8f7]=0x3f1,this['removeListener']('data',_0x5e9632),this[_0x25ae0b(0x1cd)]();}function _0x568286(_0x486bd6){this[_0x49bdf1]['_inflate']=null,_0x486bd6[_0x4af8f7]=0x3ef,this[_0x436fb5](_0x486bd6);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x456ae0(0x9c)]({'__proto__':null,'default':Dt},Symbol[_0x456ae0(0x240)],{'value':_0x456ae0(0x23e)})),Bt=at(Rt);var Ye;function ae(){const _0x54cd87=_0x456ae0;if(Ye)return ie[_0x54cd87(0x7a)];Ye=0x1;const {isUtf8:_0x5e42b7}=wt,{hasBlob:_0x2ec57e}=H(),_0x216330=[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 _0x5d09f4(_0x20af45){return _0x20af45>=0x3e8&&_0x20af45<=0x3f6&&_0x20af45!==0x3ec&&_0x20af45!==0x3ed&&_0x20af45!==0x3ee||_0x20af45>=0xbb8&&_0x20af45<=0x1387;}function _0x29ded4(_0x139ff7){const _0x282e61=_0x54cd87,_0x48cd6a=_0x139ff7[_0x282e61(0xa3)];let _0x5855a5=0x0;for(;_0x5855a5<_0x48cd6a;)if((_0x139ff7[_0x5855a5]&0x80)===0x0)_0x5855a5++;else{if((_0x139ff7[_0x5855a5]&0xe0)===0xc0){if(_0x5855a5+0x1===_0x48cd6a||(_0x139ff7[_0x5855a5+0x1]&0xc0)!==0x80||(_0x139ff7[_0x5855a5]&0xfe)===0xc0)return!0x1;_0x5855a5+=0x2;}else{if((_0x139ff7[_0x5855a5]&0xf0)===0xe0){if(_0x5855a5+0x2>=_0x48cd6a||(_0x139ff7[_0x5855a5+0x1]&0xc0)!==0x80||(_0x139ff7[_0x5855a5+0x2]&0xc0)!==0x80||_0x139ff7[_0x5855a5]===0xe0&&(_0x139ff7[_0x5855a5+0x1]&0xe0)===0x80||_0x139ff7[_0x5855a5]===0xed&&(_0x139ff7[_0x5855a5+0x1]&0xe0)===0xa0)return!0x1;_0x5855a5+=0x3;}else{if((_0x139ff7[_0x5855a5]&0xf8)===0xf0){if(_0x5855a5+0x3>=_0x48cd6a||(_0x139ff7[_0x5855a5+0x1]&0xc0)!==0x80||(_0x139ff7[_0x5855a5+0x2]&0xc0)!==0x80||(_0x139ff7[_0x5855a5+0x3]&0xc0)!==0x80||_0x139ff7[_0x5855a5]===0xf0&&(_0x139ff7[_0x5855a5+0x1]&0xf0)===0x80||_0x139ff7[_0x5855a5]===0xf4&&_0x139ff7[_0x5855a5+0x1]>0x8f||_0x139ff7[_0x5855a5]>0xf4)return!0x1;_0x5855a5+=0x4;}else return!0x1;}}}return!0x0;}function _0x1616ec(_0x3638cf){const _0x1c48c2=_0x54cd87;return _0x2ec57e&&typeof _0x3638cf==_0x1c48c2(0x11d)&&typeof _0x3638cf['arrayBuffer']==_0x1c48c2(0x11e)&&typeof _0x3638cf[_0x1c48c2(0x172)]==_0x1c48c2(0x13d)&&typeof _0x3638cf[_0x1c48c2(0x239)]==_0x1c48c2(0x11e)&&(_0x3638cf[Symbol[_0x1c48c2(0x240)]]===_0x1c48c2(0xf8)||_0x3638cf[Symbol[_0x1c48c2(0x240)]]===_0x1c48c2(0x7f));}if(ie['exports']={'isBlob':_0x1616ec,'isValidStatusCode':_0x5d09f4,'isValidUTF8':_0x29ded4,'tokenChars':_0x216330},_0x5e42b7)ie['exports'][_0x54cd87(0x1df)]=function(_0x20e046){const _0x23d263=_0x54cd87;return _0x20e046[_0x23d263(0xa3)]<0x18?_0x29ded4(_0x20e046):_0x5e42b7(_0x20e046);};else{if(!process[_0x54cd87(0x21c)][_0x54cd87(0x189)])try{const _0x1d6473=Bt;ie[_0x54cd87(0x7a)]['isValidUTF8']=function(_0x4875ee){const _0x2a7b4e=_0x54cd87;return _0x4875ee[_0x2a7b4e(0xa3)]<0x20?_0x29ded4(_0x4875ee):_0x1d6473(_0x4875ee);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0xd1e34=_0x456ae0;if(Ke)return Se;Ke=0x1;const {Writable:_0x180ab9}=oe,_0x3d7a14=he(),{BINARY_TYPES:_0x39e605,EMPTY_BUFFER:_0x450c8e,kStatusCode:_0x2b360a,kWebSocket:_0x58c696}=H(),{concat:_0x569a61,toArrayBuffer:_0x4e5a80,unmask:_0x3319d0}=ce(),{isValidStatusCode:_0x1c1336,isValidUTF8:_0x555ec1}=ae(),_0x35c94a=Buffer[Symbol['species']],_0xfead37=0x0,_0x1483e2=0x1,_0x23ee27=0x2,_0x3ee3bf=0x3,_0x14adef=0x4,_0x312d84=0x5,_0x177dd6=0x6;class _0x56b473 extends _0x180ab9{constructor(_0x6e0ae3={}){const _0xceee5a=_0x5235;super(),this[_0xceee5a(0x7e)]=_0x6e0ae3[_0xceee5a(0x19f)]!==void 0x0?_0x6e0ae3[_0xceee5a(0x19f)]:!0x0,this[_0xceee5a(0x1d9)]=_0x6e0ae3[_0xceee5a(0xba)]||_0x39e605[0x0],this['_extensions']=_0x6e0ae3[_0xceee5a(0x97)]||{},this['_isServer']=!!_0x6e0ae3[_0xceee5a(0x186)],this['_maxPayload']=_0x6e0ae3[_0xceee5a(0x141)]|0x0,this[_0xceee5a(0x110)]=!!_0x6e0ae3[_0xceee5a(0xf2)],this[_0x58c696]=void 0x0,this[_0xceee5a(0x226)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0xceee5a(0x84)]=0x0,this[_0xceee5a(0x232)]=void 0x0,this[_0xceee5a(0x202)]=0x0,this[_0xceee5a(0xc1)]=!0x1,this[_0xceee5a(0xbe)]=!0x1,this[_0xceee5a(0x16a)]=0x0,this[_0xceee5a(0x1d8)]=0x0,this[_0xceee5a(0x20c)]=0x0,this['_fragments']=[],this[_0xceee5a(0x81)]=!0x1,this[_0xceee5a(0x210)]=!0x1,this[_0xceee5a(0x125)]=_0xfead37;}[_0xd1e34(0x1bd)](_0x4d7948,_0x1af002,_0x293d9c){const _0x33fe4c=_0xd1e34;if(this[_0x33fe4c(0x16a)]===0x8&&this[_0x33fe4c(0x125)]==_0xfead37)return _0x293d9c();this[_0x33fe4c(0x226)]+=_0x4d7948['length'],this[_0x33fe4c(0x1a9)][_0x33fe4c(0x158)](_0x4d7948),this[_0x33fe4c(0x140)](_0x293d9c);}[_0xd1e34(0xae)](_0x31559f){const _0x1a7413=_0xd1e34;if(this[_0x1a7413(0x226)]-=_0x31559f,_0x31559f===this['_buffers'][0x0]['length'])return this[_0x1a7413(0x1a9)][_0x1a7413(0x198)]();if(_0x31559f<this[_0x1a7413(0x1a9)][0x0][_0x1a7413(0xa3)]){const _0x521402=this[_0x1a7413(0x1a9)][0x0];return this[_0x1a7413(0x1a9)][0x0]=new _0x35c94a(_0x521402[_0x1a7413(0xe8)],_0x521402[_0x1a7413(0x179)]+_0x31559f,_0x521402[_0x1a7413(0xa3)]-_0x31559f),new _0x35c94a(_0x521402['buffer'],_0x521402[_0x1a7413(0x179)],_0x31559f);}const _0x11ac28=Buffer[_0x1a7413(0xb7)](_0x31559f);do{const _0x4912e4=this[_0x1a7413(0x1a9)][0x0],_0x2cf92d=_0x11ac28['length']-_0x31559f;_0x31559f>=_0x4912e4[_0x1a7413(0xa3)]?_0x11ac28[_0x1a7413(0x1c7)](this[_0x1a7413(0x1a9)][_0x1a7413(0x198)](),_0x2cf92d):(_0x11ac28[_0x1a7413(0x1c7)](new Uint8Array(_0x4912e4[_0x1a7413(0xe8)],_0x4912e4[_0x1a7413(0x179)],_0x31559f),_0x2cf92d),this[_0x1a7413(0x1a9)][0x0]=new _0x35c94a(_0x4912e4[_0x1a7413(0xe8)],_0x4912e4[_0x1a7413(0x179)]+_0x31559f,_0x4912e4[_0x1a7413(0xa3)]-_0x31559f)),_0x31559f-=_0x4912e4[_0x1a7413(0xa3)];}while(_0x31559f>0x0);return _0x11ac28;}[_0xd1e34(0x140)](_0x5a3020){const _0x44f00d=_0xd1e34;this[_0x44f00d(0x210)]=!0x0;do switch(this['_state']){case _0xfead37:this[_0x44f00d(0xc7)](_0x5a3020);break;case _0x1483e2:this[_0x44f00d(0x130)](_0x5a3020);break;case _0x23ee27:this[_0x44f00d(0x79)](_0x5a3020);break;case _0x3ee3bf:this[_0x44f00d(0xa1)]();break;case _0x14adef:this[_0x44f00d(0x19e)](_0x5a3020);break;case _0x312d84:case _0x177dd6:this[_0x44f00d(0x210)]=!0x1;return;}while(this[_0x44f00d(0x210)]);this['_errored']||_0x5a3020();}[_0xd1e34(0xc7)](_0x21150){const _0x34150a=_0xd1e34;if(this['_bufferedBytes']<0x2){this[_0x34150a(0x210)]=!0x1;return;}const _0x503958=this[_0x34150a(0xae)](0x2);if((_0x503958[0x0]&0x30)!==0x0){const _0x1fbc65=this['createError'](RangeError,_0x34150a(0x1db),!0x0,0x3ea,_0x34150a(0x148));_0x21150(_0x1fbc65);return;}const _0x1f0ca0=(_0x503958[0x0]&0x40)===0x40;if(_0x1f0ca0&&!this['_extensions'][_0x3d7a14[_0x34150a(0xd8)]]){const _0x2abba0=this[_0x34150a(0x1f5)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x34150a(0x218));_0x21150(_0x2abba0);return;}if(this[_0x34150a(0xbe)]=(_0x503958[0x0]&0x80)===0x80,this[_0x34150a(0x16a)]=_0x503958[0x0]&0xf,this[_0x34150a(0x84)]=_0x503958[0x1]&0x7f,this[_0x34150a(0x16a)]===0x0){if(_0x1f0ca0){const _0x2ddf05=this[_0x34150a(0x1f5)](RangeError,_0x34150a(0x1f9),!0x0,0x3ea,_0x34150a(0x218));_0x21150(_0x2ddf05);return;}if(!this[_0x34150a(0x202)]){const _0x56abab=this[_0x34150a(0x1f5)](RangeError,_0x34150a(0x134),!0x0,0x3ea,_0x34150a(0xcb));_0x21150(_0x56abab);return;}this['_opcode']=this[_0x34150a(0x202)];}else{if(this[_0x34150a(0x16a)]===0x1||this[_0x34150a(0x16a)]===0x2){if(this[_0x34150a(0x202)]){const _0x10cd93=this[_0x34150a(0x1f5)](RangeError,_0x34150a(0x151)+this[_0x34150a(0x16a)],!0x0,0x3ea,_0x34150a(0xcb));_0x21150(_0x10cd93);return;}this['_compressed']=_0x1f0ca0;}else{if(this[_0x34150a(0x16a)]>0x7&&this[_0x34150a(0x16a)]<0xb){if(!this[_0x34150a(0xbe)]){const _0x24198b=this[_0x34150a(0x1f5)](RangeError,_0x34150a(0xc5),!0x0,0x3ea,_0x34150a(0x78));_0x21150(_0x24198b);return;}if(_0x1f0ca0){const _0x5303bb=this['createError'](RangeError,_0x34150a(0x1f9),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x21150(_0x5303bb);return;}if(this[_0x34150a(0x84)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x203632=this[_0x34150a(0x1f5)](RangeError,_0x34150a(0x20b)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x21150(_0x203632);return;}}else{const _0x508429=this[_0x34150a(0x1f5)](RangeError,_0x34150a(0x151)+this[_0x34150a(0x16a)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x21150(_0x508429);return;}}}if(!this[_0x34150a(0xbe)]&&!this[_0x34150a(0x202)]&&(this[_0x34150a(0x202)]=this[_0x34150a(0x16a)]),this[_0x34150a(0xc1)]=(_0x503958[0x1]&0x80)===0x80,this[_0x34150a(0xe9)]){if(!this['_masked']){const _0x174420=this[_0x34150a(0x1f5)](RangeError,_0x34150a(0x1b5),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x21150(_0x174420);return;}}else{if(this[_0x34150a(0xc1)]){const _0x4e01fb=this['createError'](RangeError,_0x34150a(0x1af),!0x0,0x3ea,_0x34150a(0xda));_0x21150(_0x4e01fb);return;}}this['_payloadLength']===0x7e?this['_state']=_0x1483e2:this['_payloadLength']===0x7f?this[_0x34150a(0x125)]=_0x23ee27:this['haveLength'](_0x21150);}['getPayloadLength16'](_0x3bc304){const _0x34a3cf=_0xd1e34;if(this['_bufferedBytes']<0x2){this[_0x34a3cf(0x210)]=!0x1;return;}this[_0x34a3cf(0x84)]=this['consume'](0x2)[_0x34a3cf(0x188)](0x0),this[_0x34a3cf(0x1f3)](_0x3bc304);}[_0xd1e34(0x79)](_0x116878){const _0x33c1dc=_0xd1e34;if(this[_0x33c1dc(0x226)]<0x8){this[_0x33c1dc(0x210)]=!0x1;return;}const _0x41d4d5=this[_0x33c1dc(0xae)](0x8),_0x47d29d=_0x41d4d5[_0x33c1dc(0x94)](0x0);if(_0x47d29d>Math[_0x33c1dc(0xe2)](0x2,0x15)-0x1){const _0x489176=this[_0x33c1dc(0x1f5)](RangeError,_0x33c1dc(0x1da),!0x1,0x3f1,_0x33c1dc(0xdf));_0x116878(_0x489176);return;}this[_0x33c1dc(0x84)]=_0x47d29d*Math[_0x33c1dc(0xe2)](0x2,0x20)+_0x41d4d5[_0x33c1dc(0x94)](0x4),this[_0x33c1dc(0x1f3)](_0x116878);}['haveLength'](_0x26c1eb){const _0xdff89d=_0xd1e34;if(this[_0xdff89d(0x84)]&&this[_0xdff89d(0x16a)]<0x8&&(this['_totalPayloadLength']+=this[_0xdff89d(0x84)],this[_0xdff89d(0x1d8)]>this['_maxPayload']&&this[_0xdff89d(0xad)]>0x0)){const _0x504349=this['createError'](RangeError,_0xdff89d(0x77),!0x1,0x3f1,_0xdff89d(0x1ea));_0x26c1eb(_0x504349);return;}this[_0xdff89d(0xc1)]?this[_0xdff89d(0x125)]=_0x3ee3bf:this['_state']=_0x14adef;}['getMask'](){const _0x38e388=_0xd1e34;if(this[_0x38e388(0x226)]<0x4){this[_0x38e388(0x210)]=!0x1;return;}this['_mask']=this[_0x38e388(0xae)](0x4),this[_0x38e388(0x125)]=_0x14adef;}['getData'](_0x386c49){const _0x286824=_0xd1e34;let _0x6bd1ce=_0x450c8e;if(this['_payloadLength']){if(this[_0x286824(0x226)]<this[_0x286824(0x84)]){this[_0x286824(0x210)]=!0x1;return;}_0x6bd1ce=this[_0x286824(0xae)](this[_0x286824(0x84)]),this[_0x286824(0xc1)]&&(this[_0x286824(0x232)][0x0]|this[_0x286824(0x232)][0x1]|this[_0x286824(0x232)][0x2]|this[_0x286824(0x232)][0x3])!==0x0&&_0x3319d0(_0x6bd1ce,this[_0x286824(0x232)]);}if(this['_opcode']>0x7){this[_0x286824(0xf0)](_0x6bd1ce,_0x386c49);return;}if(this[_0x286824(0x20f)]){this['_state']=_0x312d84,this[_0x286824(0xf3)](_0x6bd1ce,_0x386c49);return;}_0x6bd1ce['length']&&(this['_messageLength']=this[_0x286824(0x1d8)],this[_0x286824(0x1f1)][_0x286824(0x158)](_0x6bd1ce)),this[_0x286824(0x222)](_0x386c49);}[_0xd1e34(0xf3)](_0x37309e,_0x382d63){const _0x8be5c7=_0xd1e34;this['_extensions'][_0x3d7a14[_0x8be5c7(0xd8)]]['decompress'](_0x37309e,this['_fin'],(_0x5ab6b5,_0x718819)=>{const _0x1a9b35=_0x8be5c7;if(_0x5ab6b5)return _0x382d63(_0x5ab6b5);if(_0x718819[_0x1a9b35(0xa3)]){if(this['_messageLength']+=_0x718819[_0x1a9b35(0xa3)],this[_0x1a9b35(0x20c)]>this['_maxPayload']&&this[_0x1a9b35(0xad)]>0x0){const _0x10593b=this[_0x1a9b35(0x1f5)](RangeError,_0x1a9b35(0x77),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x382d63(_0x10593b);return;}this[_0x1a9b35(0x1f1)]['push'](_0x718819);}this[_0x1a9b35(0x222)](_0x382d63),this[_0x1a9b35(0x125)]===_0xfead37&&this[_0x1a9b35(0x140)](_0x382d63);});}[_0xd1e34(0x222)](_0x43b794){const _0x5724ed=_0xd1e34;if(!this[_0x5724ed(0xbe)]){this[_0x5724ed(0x125)]=_0xfead37;return;}const _0x269856=this[_0x5724ed(0x20c)],_0x451d6b=this[_0x5724ed(0x1f1)];if(this[_0x5724ed(0x1d8)]=0x0,this[_0x5724ed(0x20c)]=0x0,this[_0x5724ed(0x202)]=0x0,this[_0x5724ed(0x1f1)]=[],this['_opcode']===0x2){let _0x207889;this[_0x5724ed(0x1d9)]===_0x5724ed(0x1c4)?_0x207889=_0x569a61(_0x451d6b,_0x269856):this[_0x5724ed(0x1d9)]===_0x5724ed(0x1a1)?_0x207889=_0x4e5a80(_0x569a61(_0x451d6b,_0x269856)):this['_binaryType']===_0x5724ed(0x1f0)?_0x207889=new Blob(_0x451d6b):_0x207889=_0x451d6b,this[_0x5724ed(0x7e)]?(this[_0x5724ed(0x10f)]('message',_0x207889,!0x0),this['_state']=_0xfead37):(this[_0x5724ed(0x125)]=_0x177dd6,setImmediate(()=>{const _0x1cd4a8=_0x5724ed;this[_0x1cd4a8(0x10f)](_0x1cd4a8(0x206),_0x207889,!0x0),this['_state']=_0xfead37,this[_0x1cd4a8(0x140)](_0x43b794);}));}else{const _0x61a8c0=_0x569a61(_0x451d6b,_0x269856);if(!this[_0x5724ed(0x110)]&&!_0x555ec1(_0x61a8c0)){const _0x11d5ed=this[_0x5724ed(0x1f5)](Error,_0x5724ed(0x1ae),!0x0,0x3ef,_0x5724ed(0x1d4));_0x43b794(_0x11d5ed);return;}this[_0x5724ed(0x125)]===_0x312d84||this[_0x5724ed(0x7e)]?(this['emit'](_0x5724ed(0x206),_0x61a8c0,!0x1),this['_state']=_0xfead37):(this['_state']=_0x177dd6,setImmediate(()=>{const _0x3caf1b=_0x5724ed;this[_0x3caf1b(0x10f)](_0x3caf1b(0x206),_0x61a8c0,!0x1),this['_state']=_0xfead37,this[_0x3caf1b(0x140)](_0x43b794);}));}}[_0xd1e34(0xf0)](_0x2ce13d,_0x550729){const _0xe6d05e=_0xd1e34;if(this['_opcode']===0x8){if(_0x2ce13d[_0xe6d05e(0xa3)]===0x0)this[_0xe6d05e(0x210)]=!0x1,this[_0xe6d05e(0x10f)](_0xe6d05e(0x10e),0x3ed,_0x450c8e),this[_0xe6d05e(0x1d5)]();else{const _0x12cc64=_0x2ce13d[_0xe6d05e(0x188)](0x0);if(!_0x1c1336(_0x12cc64)){const _0x4973f4=this[_0xe6d05e(0x1f5)](RangeError,'invalid\x20status\x20code\x20'+_0x12cc64,!0x0,0x3ea,_0xe6d05e(0x8e));_0x550729(_0x4973f4);return;}const _0x3696ef=new _0x35c94a(_0x2ce13d[_0xe6d05e(0xe8)],_0x2ce13d[_0xe6d05e(0x179)]+0x2,_0x2ce13d[_0xe6d05e(0xa3)]-0x2);if(!this[_0xe6d05e(0x110)]&&!_0x555ec1(_0x3696ef)){const _0x489e76=this['createError'](Error,_0xe6d05e(0x1ae),!0x0,0x3ef,_0xe6d05e(0x1d4));_0x550729(_0x489e76);return;}this[_0xe6d05e(0x210)]=!0x1,this[_0xe6d05e(0x10f)](_0xe6d05e(0x10e),_0x12cc64,_0x3696ef),this[_0xe6d05e(0x1d5)]();}this['_state']=_0xfead37;return;}this[_0xe6d05e(0x7e)]?(this['emit'](this[_0xe6d05e(0x16a)]===0x9?_0xe6d05e(0x1cb):'pong',_0x2ce13d),this[_0xe6d05e(0x125)]=_0xfead37):(this[_0xe6d05e(0x125)]=_0x177dd6,setImmediate(()=>{const _0x38aeaa=_0xe6d05e;this['emit'](this[_0x38aeaa(0x16a)]===0x9?_0x38aeaa(0x1cb):_0x38aeaa(0x8b),_0x2ce13d),this['_state']=_0xfead37,this[_0x38aeaa(0x140)](_0x550729);}));}[_0xd1e34(0x1f5)](_0x129aa2,_0x5b7308,_0x4a42a3,_0x3f5dc1,_0x44e85a){const _0x19ac7e=_0xd1e34;this[_0x19ac7e(0x210)]=!0x1,this[_0x19ac7e(0x81)]=!0x0;const _0x5d4bb2=new _0x129aa2(_0x4a42a3?_0x19ac7e(0x12e)+_0x5b7308:_0x5b7308);return Error[_0x19ac7e(0x15a)](_0x5d4bb2,this[_0x19ac7e(0x1f5)]),_0x5d4bb2[_0x19ac7e(0xff)]=_0x44e85a,_0x5d4bb2[_0x2b360a]=_0x3f5dc1,_0x5d4bb2;}}return Se=_0x56b473,Se;}var Ee,Xe;function ft(){const _0x19500a=_0x456ae0;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x266511}=oe,{randomFillSync:_0x42a46a}=Le,_0x401d32=he(),{EMPTY_BUFFER:_0x5eb8d2,kWebSocket:_0x203c65,NOOP:_0x187a6d}=H(),{isBlob:_0x30b57b,isValidStatusCode:_0x9d32a1}=ae(),{mask:_0x46c152,toBuffer:_0x7fdfbe}=ce(),_0x465c58=Symbol(_0x19500a(0x20d)),_0xc058c3=Buffer[_0x19500a(0x20a)](0x4),_0x1973ec=0x8*0x400;let _0x21e1c3,_0x1f3674=_0x1973ec;const _0x2c85d8=0x0,_0x21f0f5=0x1,_0x4ae3f4=0x2;class _0x13dd28{constructor(_0x2fcd6,_0x2f98f0,_0x2a46a6){const _0x20c098=_0x19500a;this[_0x20c098(0x13b)]=_0x2f98f0||{},_0x2a46a6&&(this['_generateMask']=_0x2a46a6,this[_0x20c098(0x119)]=Buffer['alloc'](0x4)),this[_0x20c098(0xd5)]=_0x2fcd6,this['_firstFragment']=!0x0,this[_0x20c098(0xa2)]=!0x1,this[_0x20c098(0x226)]=0x0,this[_0x20c098(0x23c)]=[],this['_state']=_0x2c85d8,this[_0x20c098(0xa7)]=_0x187a6d,this[_0x203c65]=void 0x0;}static[_0x19500a(0x18c)](_0x2f133b,_0x236a53){const _0xeb2051=_0x19500a;let _0x278248,_0x36d223=!0x1,_0x31993d=0x2,_0xff494f=!0x1;_0x236a53[_0xeb2051(0xd4)]&&(_0x278248=_0x236a53[_0xeb2051(0x197)]||_0xc058c3,_0x236a53[_0xeb2051(0xd7)]?_0x236a53[_0xeb2051(0xd7)](_0x278248):(_0x1f3674===_0x1973ec&&(_0x21e1c3===void 0x0&&(_0x21e1c3=Buffer[_0xeb2051(0x20a)](_0x1973ec)),_0x42a46a(_0x21e1c3,0x0,_0x1973ec),_0x1f3674=0x0),_0x278248[0x0]=_0x21e1c3[_0x1f3674++],_0x278248[0x1]=_0x21e1c3[_0x1f3674++],_0x278248[0x2]=_0x21e1c3[_0x1f3674++],_0x278248[0x3]=_0x21e1c3[_0x1f3674++]),_0xff494f=(_0x278248[0x0]|_0x278248[0x1]|_0x278248[0x2]|_0x278248[0x3])===0x0,_0x31993d=0x6);let _0x5df69d;typeof _0x2f133b==_0xeb2051(0x13d)?(!_0x236a53[_0xeb2051(0xd4)]||_0xff494f)&&_0x236a53[_0x465c58]!==void 0x0?_0x5df69d=_0x236a53[_0x465c58]:(_0x2f133b=Buffer[_0xeb2051(0x89)](_0x2f133b),_0x5df69d=_0x2f133b[_0xeb2051(0xa3)]):(_0x5df69d=_0x2f133b[_0xeb2051(0xa3)],_0x36d223=_0x236a53['mask']&&_0x236a53[_0xeb2051(0x142)]&&!_0xff494f);let _0x265924=_0x5df69d;_0x5df69d>=0x10000?(_0x31993d+=0x8,_0x265924=0x7f):_0x5df69d>0x7d&&(_0x31993d+=0x2,_0x265924=0x7e);const _0x3c0c20=Buffer['allocUnsafe'](_0x36d223?_0x5df69d+_0x31993d:_0x31993d);return _0x3c0c20[0x0]=_0x236a53[_0xeb2051(0xcd)]?_0x236a53[_0xeb2051(0x18a)]|0x80:_0x236a53[_0xeb2051(0x18a)],_0x236a53[_0xeb2051(0x137)]&&(_0x3c0c20[0x0]|=0x40),_0x3c0c20[0x1]=_0x265924,_0x265924===0x7e?_0x3c0c20['writeUInt16BE'](_0x5df69d,0x2):_0x265924===0x7f&&(_0x3c0c20[0x2]=_0x3c0c20[0x3]=0x0,_0x3c0c20[_0xeb2051(0x14d)](_0x5df69d,0x4,0x6)),_0x236a53[_0xeb2051(0xd4)]?(_0x3c0c20[0x1]|=0x80,_0x3c0c20[_0x31993d-0x4]=_0x278248[0x0],_0x3c0c20[_0x31993d-0x3]=_0x278248[0x1],_0x3c0c20[_0x31993d-0x2]=_0x278248[0x2],_0x3c0c20[_0x31993d-0x1]=_0x278248[0x3],_0xff494f?[_0x3c0c20,_0x2f133b]:_0x36d223?(_0x46c152(_0x2f133b,_0x278248,_0x3c0c20,_0x31993d,_0x5df69d),[_0x3c0c20]):(_0x46c152(_0x2f133b,_0x278248,_0x2f133b,0x0,_0x5df69d),[_0x3c0c20,_0x2f133b])):[_0x3c0c20,_0x2f133b];}[_0x19500a(0x15b)](_0x209631,_0x1a8310,_0x17b79f,_0x6f47ff){const _0x2146c0=_0x19500a;let _0x2135db;if(_0x209631===void 0x0)_0x2135db=_0x5eb8d2;else{if(typeof _0x209631!=_0x2146c0(0x112)||!_0x9d32a1(_0x209631))throw new TypeError(_0x2146c0(0x10d));if(_0x1a8310===void 0x0||!_0x1a8310[_0x2146c0(0xa3)])_0x2135db=Buffer[_0x2146c0(0xb7)](0x2),_0x2135db[_0x2146c0(0x1ba)](_0x209631,0x0);else{const _0x3331d3=Buffer[_0x2146c0(0x23a)](_0x1a8310);if(_0x3331d3>0x7b)throw new RangeError(_0x2146c0(0x1e7));_0x2135db=Buffer[_0x2146c0(0xb7)](0x2+_0x3331d3),_0x2135db['writeUInt16BE'](_0x209631,0x0),typeof _0x1a8310==_0x2146c0(0x13d)?_0x2135db[_0x2146c0(0x109)](_0x1a8310,0x2):_0x2135db[_0x2146c0(0x1c7)](_0x1a8310,0x2);}}const _0x1bac0e={[_0x465c58]:_0x2135db['length'],'fin':!0x0,'generateMask':this[_0x2146c0(0xe4)],'mask':_0x17b79f,'maskBuffer':this[_0x2146c0(0x119)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x2c85d8?this['enqueue']([this[_0x2146c0(0x1b6)],_0x2135db,!0x1,_0x1bac0e,_0x6f47ff]):this[_0x2146c0(0xd0)](_0x13dd28[_0x2146c0(0x18c)](_0x2135db,_0x1bac0e),_0x6f47ff);}[_0x19500a(0x1cb)](_0x5c8477,_0x2020dc,_0x20852c){const _0x13dfe0=_0x19500a;let _0x457b83,_0xc31434;if(typeof _0x5c8477==_0x13dfe0(0x13d)?(_0x457b83=Buffer[_0x13dfe0(0x23a)](_0x5c8477),_0xc31434=!0x1):_0x30b57b(_0x5c8477)?(_0x457b83=_0x5c8477[_0x13dfe0(0x178)],_0xc31434=!0x1):(_0x5c8477=_0x7fdfbe(_0x5c8477),_0x457b83=_0x5c8477[_0x13dfe0(0xa3)],_0xc31434=_0x7fdfbe['readOnly']),_0x457b83>0x7d)throw new RangeError(_0x13dfe0(0xbd));const _0x827d20={[_0x465c58]:_0x457b83,'fin':!0x0,'generateMask':this[_0x13dfe0(0xe4)],'mask':_0x2020dc,'maskBuffer':this[_0x13dfe0(0x119)],'opcode':0x9,'readOnly':_0xc31434,'rsv1':!0x1};_0x30b57b(_0x5c8477)?this[_0x13dfe0(0x125)]!==_0x2c85d8?this[_0x13dfe0(0xb6)]([this['getBlobData'],_0x5c8477,!0x1,_0x827d20,_0x20852c]):this['getBlobData'](_0x5c8477,!0x1,_0x827d20,_0x20852c):this[_0x13dfe0(0x125)]!==_0x2c85d8?this[_0x13dfe0(0xb6)]([this[_0x13dfe0(0x1b6)],_0x5c8477,!0x1,_0x827d20,_0x20852c]):this[_0x13dfe0(0xd0)](_0x13dd28[_0x13dfe0(0x18c)](_0x5c8477,_0x827d20),_0x20852c);}[_0x19500a(0x8b)](_0x38dc12,_0x261cd1,_0x14f852){const _0x25acc2=_0x19500a;let _0x1cffb0,_0x3c9c92;if(typeof _0x38dc12==_0x25acc2(0x13d)?(_0x1cffb0=Buffer[_0x25acc2(0x23a)](_0x38dc12),_0x3c9c92=!0x1):_0x30b57b(_0x38dc12)?(_0x1cffb0=_0x38dc12[_0x25acc2(0x178)],_0x3c9c92=!0x1):(_0x38dc12=_0x7fdfbe(_0x38dc12),_0x1cffb0=_0x38dc12[_0x25acc2(0xa3)],_0x3c9c92=_0x7fdfbe[_0x25acc2(0x142)]),_0x1cffb0>0x7d)throw new RangeError(_0x25acc2(0xbd));const _0x10aff6={[_0x465c58]:_0x1cffb0,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x261cd1,'maskBuffer':this[_0x25acc2(0x119)],'opcode':0xa,'readOnly':_0x3c9c92,'rsv1':!0x1};_0x30b57b(_0x38dc12)?this['_state']!==_0x2c85d8?this[_0x25acc2(0xb6)]([this[_0x25acc2(0x242)],_0x38dc12,!0x1,_0x10aff6,_0x14f852]):this[_0x25acc2(0x242)](_0x38dc12,!0x1,_0x10aff6,_0x14f852):this[_0x25acc2(0x125)]!==_0x2c85d8?this[_0x25acc2(0xb6)]([this[_0x25acc2(0x1b6)],_0x38dc12,!0x1,_0x10aff6,_0x14f852]):this[_0x25acc2(0xd0)](_0x13dd28[_0x25acc2(0x18c)](_0x38dc12,_0x10aff6),_0x14f852);}[_0x19500a(0x12c)](_0x44be6f,_0x5f03fa,_0x330093){const _0x58707a=_0x19500a,_0x21e2f3=this[_0x58707a(0x13b)][_0x401d32[_0x58707a(0xd8)]];let _0x29600c=_0x5f03fa[_0x58707a(0x75)]?0x2:0x1,_0x84f1c9=_0x5f03fa[_0x58707a(0x13a)],_0x514b0e,_0x2632bc;typeof _0x44be6f==_0x58707a(0x13d)?(_0x514b0e=Buffer[_0x58707a(0x23a)](_0x44be6f),_0x2632bc=!0x1):_0x30b57b(_0x44be6f)?(_0x514b0e=_0x44be6f['size'],_0x2632bc=!0x1):(_0x44be6f=_0x7fdfbe(_0x44be6f),_0x514b0e=_0x44be6f[_0x58707a(0xa3)],_0x2632bc=_0x7fdfbe[_0x58707a(0x142)]),this[_0x58707a(0xd3)]?(this['_firstFragment']=!0x1,_0x84f1c9&&_0x21e2f3&&_0x21e2f3[_0x58707a(0x21d)][_0x21e2f3[_0x58707a(0xe9)]?_0x58707a(0x16c):_0x58707a(0x98)]&&(_0x84f1c9=_0x514b0e>=_0x21e2f3['_threshold']),this[_0x58707a(0xa2)]=_0x84f1c9):(_0x84f1c9=!0x1,_0x29600c=0x0),_0x5f03fa['fin']&&(this['_firstFragment']=!0x0);const _0x3840e3={[_0x465c58]:_0x514b0e,'fin':_0x5f03fa[_0x58707a(0xcd)],'generateMask':this[_0x58707a(0xe4)],'mask':_0x5f03fa['mask'],'maskBuffer':this[_0x58707a(0x119)],'opcode':_0x29600c,'readOnly':_0x2632bc,'rsv1':_0x84f1c9};_0x30b57b(_0x44be6f)?this[_0x58707a(0x125)]!==_0x2c85d8?this[_0x58707a(0xb6)]([this[_0x58707a(0x242)],_0x44be6f,this['_compress'],_0x3840e3,_0x330093]):this[_0x58707a(0x242)](_0x44be6f,this['_compress'],_0x3840e3,_0x330093):this[_0x58707a(0x125)]!==_0x2c85d8?this[_0x58707a(0xb6)]([this[_0x58707a(0x1b6)],_0x44be6f,this[_0x58707a(0xa2)],_0x3840e3,_0x330093]):this['dispatch'](_0x44be6f,this[_0x58707a(0xa2)],_0x3840e3,_0x330093);}[_0x19500a(0x242)](_0x55b3f2,_0x32e78a,_0x2ad28c,_0x3c8d76){const _0x4d77c8=_0x19500a;this[_0x4d77c8(0x226)]+=_0x2ad28c[_0x465c58],this[_0x4d77c8(0x125)]=_0x4ae3f4,_0x55b3f2[_0x4d77c8(0xf9)]()[_0x4d77c8(0x1d1)](_0x4fe0a8=>{const _0x1a8953=_0x4d77c8;if(this['_socket'][_0x1a8953(0x180)]){const _0x2b33e2=new Error(_0x1a8953(0x19d));process[_0x1a8953(0x1b8)](_0x1fd4d9,this,_0x2b33e2,_0x3c8d76);return;}this[_0x1a8953(0x226)]-=_0x2ad28c[_0x465c58];const _0x11fb4a=_0x7fdfbe(_0x4fe0a8);_0x32e78a?this['dispatch'](_0x11fb4a,_0x32e78a,_0x2ad28c,_0x3c8d76):(this['_state']=_0x2c85d8,this[_0x1a8953(0xd0)](_0x13dd28[_0x1a8953(0x18c)](_0x11fb4a,_0x2ad28c),_0x3c8d76),this[_0x1a8953(0xe5)]());})[_0x4d77c8(0x120)](_0x170f9e=>{const _0x3d1b74=_0x4d77c8;process[_0x3d1b74(0x1b8)](_0x345463,this,_0x170f9e,_0x3c8d76);});}[_0x19500a(0x1b6)](_0x525ce7,_0x47ed84,_0x5269af,_0x44df59){const _0x39913b=_0x19500a;if(!_0x47ed84){this[_0x39913b(0xd0)](_0x13dd28[_0x39913b(0x18c)](_0x525ce7,_0x5269af),_0x44df59);return;}const _0xc2c095=this['_extensions'][_0x401d32['extensionName']];this[_0x39913b(0x226)]+=_0x5269af[_0x465c58],this[_0x39913b(0x125)]=_0x21f0f5,_0xc2c095[_0x39913b(0x13a)](_0x525ce7,_0x5269af[_0x39913b(0xcd)],(_0x1cc1be,_0x5702e3)=>{const _0x491722=_0x39913b;if(this[_0x491722(0xd5)][_0x491722(0x180)]){const _0x2aa60f=new Error(_0x491722(0x1e8));_0x1fd4d9(this,_0x2aa60f,_0x44df59);return;}this['_bufferedBytes']-=_0x5269af[_0x465c58],this['_state']=_0x2c85d8,_0x5269af[_0x491722(0x142)]=!0x1,this[_0x491722(0xd0)](_0x13dd28['frame'](_0x5702e3,_0x5269af),_0x44df59),this['dequeue']();});}[_0x19500a(0xe5)](){const _0x321f9e=_0x19500a;for(;this[_0x321f9e(0x125)]===_0x2c85d8&&this[_0x321f9e(0x23c)][_0x321f9e(0xa3)];){const _0x21d245=this[_0x321f9e(0x23c)]['shift']();this[_0x321f9e(0x226)]-=_0x21d245[0x3][_0x465c58],Reflect[_0x321f9e(0x9f)](_0x21d245[0x0],this,_0x21d245['slice'](0x1));}}[_0x19500a(0xb6)](_0x4359e9){const _0x3a0abf=_0x19500a;this[_0x3a0abf(0x226)]+=_0x4359e9[0x3][_0x465c58],this[_0x3a0abf(0x23c)][_0x3a0abf(0x158)](_0x4359e9);}[_0x19500a(0xd0)](_0x4911a9,_0x3c7265){const _0x1a6090=_0x19500a;_0x4911a9[_0x1a6090(0xa3)]===0x2?(this[_0x1a6090(0xd5)]['cork'](),this[_0x1a6090(0xd5)][_0x1a6090(0x109)](_0x4911a9[0x0]),this[_0x1a6090(0xd5)][_0x1a6090(0x109)](_0x4911a9[0x1],_0x3c7265),this[_0x1a6090(0xd5)][_0x1a6090(0x1d2)]()):this[_0x1a6090(0xd5)][_0x1a6090(0x109)](_0x4911a9[0x0],_0x3c7265);}}Ee=_0x13dd28;function _0x1fd4d9(_0x1b673e,_0x103618,_0x212e73){const _0x162703=_0x19500a;typeof _0x212e73==_0x162703(0x11e)&&_0x212e73(_0x103618);for(let _0x19adcd=0x0;_0x19adcd<_0x1b673e[_0x162703(0x23c)][_0x162703(0xa3)];_0x19adcd++){const _0x38ab3a=_0x1b673e[_0x162703(0x23c)][_0x19adcd],_0x33a2a5=_0x38ab3a[_0x38ab3a['length']-0x1];typeof _0x33a2a5==_0x162703(0x11e)&&_0x33a2a5(_0x103618);}}function _0x345463(_0x5ed0ef,_0x51b969,_0x1ea4cf){const _0x26cccb=_0x19500a;_0x1fd4d9(_0x5ed0ef,_0x51b969,_0x1ea4cf),_0x5ed0ef[_0x26cccb(0xa7)](_0x51b969);}return Ee;}var xe,Ze;function It(){const _0x6c5af=_0x456ae0;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x156f77,kListener:_0x268d51}=H(),_0x2b9219=Symbol(_0x6c5af(0x16e)),_0x105cc3=Symbol(_0x6c5af(0x235)),_0x4d1ea7=Symbol('kError'),_0x54bfbf=Symbol(_0x6c5af(0x204)),_0x34c1f2=Symbol(_0x6c5af(0x1a0)),_0x52af9c=Symbol(_0x6c5af(0x236)),_0x2c4dcf=Symbol('kType'),_0x2469bd=Symbol('kWasClean');class _0x516249{constructor(_0x47540e){this[_0x52af9c]=null,this[_0x2c4dcf]=_0x47540e;}get[_0x6c5af(0x154)](){return this[_0x52af9c];}get[_0x6c5af(0x172)](){return this[_0x2c4dcf];}}Object[_0x6c5af(0x9c)](_0x516249[_0x6c5af(0x108)],_0x6c5af(0x154),{'enumerable':!0x0}),Object[_0x6c5af(0x9c)](_0x516249[_0x6c5af(0x108)],_0x6c5af(0x172),{'enumerable':!0x0});class _0x49e337 extends _0x516249{constructor(_0x3b84f2,_0x3a0791={}){const _0x4be5ae=_0x6c5af;super(_0x3b84f2),this[_0x2b9219]=_0x3a0791['code']===void 0x0?0x0:_0x3a0791[_0x4be5ae(0xff)],this[_0x34c1f2]=_0x3a0791[_0x4be5ae(0x1b7)]===void 0x0?'':_0x3a0791[_0x4be5ae(0x1b7)],this[_0x2469bd]=_0x3a0791[_0x4be5ae(0x1cf)]===void 0x0?!0x1:_0x3a0791[_0x4be5ae(0x1cf)];}get[_0x6c5af(0xff)](){return this[_0x2b9219];}get['reason'](){return this[_0x34c1f2];}get[_0x6c5af(0x1cf)](){return this[_0x2469bd];}}Object['defineProperty'](_0x49e337[_0x6c5af(0x108)],_0x6c5af(0xff),{'enumerable':!0x0}),Object[_0x6c5af(0x9c)](_0x49e337['prototype'],'reason',{'enumerable':!0x0}),Object[_0x6c5af(0x9c)](_0x49e337['prototype'],_0x6c5af(0x1cf),{'enumerable':!0x0});class _0x1afe96 extends _0x516249{constructor(_0x5f5803,_0x49413a={}){const _0xef1fbd=_0x6c5af;super(_0x5f5803),this[_0x4d1ea7]=_0x49413a['error']===void 0x0?null:_0x49413a[_0xef1fbd(0x1c2)],this[_0x54bfbf]=_0x49413a[_0xef1fbd(0x206)]===void 0x0?'':_0x49413a[_0xef1fbd(0x206)];}get[_0x6c5af(0x1c2)](){return this[_0x4d1ea7];}get['message'](){return this[_0x54bfbf];}}Object[_0x6c5af(0x9c)](_0x1afe96['prototype'],_0x6c5af(0x1c2),{'enumerable':!0x0}),Object[_0x6c5af(0x9c)](_0x1afe96[_0x6c5af(0x108)],'message',{'enumerable':!0x0});class _0x14b0e7 extends _0x516249{constructor(_0x35acd2,_0x9531d7={}){const _0x307cf0=_0x6c5af;super(_0x35acd2),this[_0x105cc3]=_0x9531d7['data']===void 0x0?null:_0x9531d7[_0x307cf0(0x93)];}get[_0x6c5af(0x93)](){return this[_0x105cc3];}}Object['defineProperty'](_0x14b0e7[_0x6c5af(0x108)],_0x6c5af(0x93),{'enumerable':!0x0}),xe={'CloseEvent':_0x49e337,'ErrorEvent':_0x1afe96,'Event':_0x516249,'EventTarget':{'addEventListener'(_0x522c0f,_0x345d9e,_0x2818e7={}){const _0x30b800=_0x6c5af;for(const _0x26c8fd of this['listeners'](_0x522c0f))if(!_0x2818e7[_0x156f77]&&_0x26c8fd[_0x268d51]===_0x345d9e&&!_0x26c8fd[_0x156f77])return;let _0x69c02b;if(_0x522c0f===_0x30b800(0x206))_0x69c02b=function(_0x50e4ee,_0x3e6f91){const _0x112b7a=_0x30b800,_0x24b110=new _0x14b0e7(_0x112b7a(0x206),{'data':_0x3e6f91?_0x50e4ee:_0x50e4ee[_0x112b7a(0x225)]()});_0x24b110[_0x52af9c]=this,_0x1ea6e6(_0x345d9e,this,_0x24b110);};else{if(_0x522c0f===_0x30b800(0x15b))_0x69c02b=function(_0x494c18,_0x225bd8){const _0x3af13b=_0x30b800,_0x40d046=new _0x49e337(_0x3af13b(0x15b),{'code':_0x494c18,'reason':_0x225bd8[_0x3af13b(0x225)](),'wasClean':this[_0x3af13b(0xa0)]&&this[_0x3af13b(0x181)]});_0x40d046[_0x52af9c]=this,_0x1ea6e6(_0x345d9e,this,_0x40d046);};else{if(_0x522c0f===_0x30b800(0x1c2))_0x69c02b=function(_0x426828){const _0xdd950e=_0x30b800,_0x4fa8f3=new _0x1afe96(_0xdd950e(0x1c2),{'error':_0x426828,'message':_0x426828[_0xdd950e(0x206)]});_0x4fa8f3[_0x52af9c]=this,_0x1ea6e6(_0x345d9e,this,_0x4fa8f3);};else{if(_0x522c0f===_0x30b800(0xc6))_0x69c02b=function(){const _0x50274b=_0x30b800,_0x231c8d=new _0x516249(_0x50274b(0xc6));_0x231c8d[_0x52af9c]=this,_0x1ea6e6(_0x345d9e,this,_0x231c8d);};else return;}}}_0x69c02b[_0x156f77]=!!_0x2818e7[_0x156f77],_0x69c02b[_0x268d51]=_0x345d9e,_0x2818e7[_0x30b800(0x85)]?this[_0x30b800(0x85)](_0x522c0f,_0x69c02b):this['on'](_0x522c0f,_0x69c02b);},'removeEventListener'(_0x363ee2,_0x157f4e){const _0x19628d=_0x6c5af;for(const _0x3b33db of this[_0x19628d(0xa5)](_0x363ee2))if(_0x3b33db[_0x268d51]===_0x157f4e&&!_0x3b33db[_0x156f77]){this[_0x19628d(0xce)](_0x363ee2,_0x3b33db);break;}}},'MessageEvent':_0x14b0e7};function _0x1ea6e6(_0x7eb514,_0x333cbe,_0x100fbd){const _0x52602e=_0x6c5af;typeof _0x7eb514==_0x52602e(0x11d)&&_0x7eb514[_0x52602e(0xbb)]?_0x7eb514[_0x52602e(0xbb)][_0x52602e(0x195)](_0x7eb514,_0x100fbd):_0x7eb514['call'](_0x333cbe,_0x100fbd);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x4fc8ed}=ae();function _0x3d9b6a(_0x40bd5d,_0x8f929a,_0x4bed67){const _0x1be35a=_0x5235;_0x40bd5d[_0x8f929a]===void 0x0?_0x40bd5d[_0x8f929a]=[_0x4bed67]:_0x40bd5d[_0x8f929a][_0x1be35a(0x158)](_0x4bed67);}function _0x392de3(_0x582d05){const _0x339a5f=_0x5235,_0x2c0717=Object[_0x339a5f(0x217)](null);let _0x57bafb=Object['create'](null),_0x4dd279=!0x1,_0x445991=!0x1,_0x3b1241=!0x1,_0x11532f,_0xb13281,_0x281037=-0x1,_0x527207=-0x1,_0x2bb390=-0x1,_0x54d97d=0x0;for(;_0x54d97d<_0x582d05[_0x339a5f(0xa3)];_0x54d97d++)if(_0x527207=_0x582d05[_0x339a5f(0x22c)](_0x54d97d),_0x11532f===void 0x0){if(_0x2bb390===-0x1&&_0x4fc8ed[_0x527207]===0x1)_0x281037===-0x1&&(_0x281037=_0x54d97d);else{if(_0x54d97d!==0x0&&(_0x527207===0x20||_0x527207===0x9))_0x2bb390===-0x1&&_0x281037!==-0x1&&(_0x2bb390=_0x54d97d);else{if(_0x527207===0x3b||_0x527207===0x2c){if(_0x281037===-0x1)throw new SyntaxError(_0x339a5f(0x1bc)+_0x54d97d);_0x2bb390===-0x1&&(_0x2bb390=_0x54d97d);const _0x3874ae=_0x582d05[_0x339a5f(0xb3)](_0x281037,_0x2bb390);_0x527207===0x2c?(_0x3d9b6a(_0x2c0717,_0x3874ae,_0x57bafb),_0x57bafb=Object[_0x339a5f(0x217)](null)):_0x11532f=_0x3874ae,_0x281037=_0x2bb390=-0x1;}else throw new SyntaxError(_0x339a5f(0x1bc)+_0x54d97d);}}}else{if(_0xb13281===void 0x0){if(_0x2bb390===-0x1&&_0x4fc8ed[_0x527207]===0x1)_0x281037===-0x1&&(_0x281037=_0x54d97d);else{if(_0x527207===0x20||_0x527207===0x9)_0x2bb390===-0x1&&_0x281037!==-0x1&&(_0x2bb390=_0x54d97d);else{if(_0x527207===0x3b||_0x527207===0x2c){if(_0x281037===-0x1)throw new SyntaxError(_0x339a5f(0x1bc)+_0x54d97d);_0x2bb390===-0x1&&(_0x2bb390=_0x54d97d),_0x3d9b6a(_0x57bafb,_0x582d05[_0x339a5f(0xb3)](_0x281037,_0x2bb390),!0x0),_0x527207===0x2c&&(_0x3d9b6a(_0x2c0717,_0x11532f,_0x57bafb),_0x57bafb=Object[_0x339a5f(0x217)](null),_0x11532f=void 0x0),_0x281037=_0x2bb390=-0x1;}else{if(_0x527207===0x3d&&_0x281037!==-0x1&&_0x2bb390===-0x1)_0xb13281=_0x582d05[_0x339a5f(0xb3)](_0x281037,_0x54d97d),_0x281037=_0x2bb390=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54d97d);}}}}else{if(_0x445991){if(_0x4fc8ed[_0x527207]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54d97d);_0x281037===-0x1?_0x281037=_0x54d97d:_0x4dd279||(_0x4dd279=!0x0),_0x445991=!0x1;}else{if(_0x3b1241){if(_0x4fc8ed[_0x527207]===0x1)_0x281037===-0x1&&(_0x281037=_0x54d97d);else{if(_0x527207===0x22&&_0x281037!==-0x1)_0x3b1241=!0x1,_0x2bb390=_0x54d97d;else{if(_0x527207===0x5c)_0x445991=!0x0;else throw new SyntaxError(_0x339a5f(0x1bc)+_0x54d97d);}}}else{if(_0x527207===0x22&&_0x582d05[_0x339a5f(0x22c)](_0x54d97d-0x1)===0x3d)_0x3b1241=!0x0;else{if(_0x2bb390===-0x1&&_0x4fc8ed[_0x527207]===0x1)_0x281037===-0x1&&(_0x281037=_0x54d97d);else{if(_0x281037!==-0x1&&(_0x527207===0x20||_0x527207===0x9))_0x2bb390===-0x1&&(_0x2bb390=_0x54d97d);else{if(_0x527207===0x3b||_0x527207===0x2c){if(_0x281037===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54d97d);_0x2bb390===-0x1&&(_0x2bb390=_0x54d97d);let _0x596d1e=_0x582d05[_0x339a5f(0xb3)](_0x281037,_0x2bb390);_0x4dd279&&(_0x596d1e=_0x596d1e['replace'](/\\/g,''),_0x4dd279=!0x1),_0x3d9b6a(_0x57bafb,_0xb13281,_0x596d1e),_0x527207===0x2c&&(_0x3d9b6a(_0x2c0717,_0x11532f,_0x57bafb),_0x57bafb=Object[_0x339a5f(0x217)](null),_0x11532f=void 0x0),_0xb13281=void 0x0,_0x281037=_0x2bb390=-0x1;}else throw new SyntaxError(_0x339a5f(0x1bc)+_0x54d97d);}}}}}}}if(_0x281037===-0x1||_0x3b1241||_0x527207===0x20||_0x527207===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2bb390===-0x1&&(_0x2bb390=_0x54d97d);const _0x54a56d=_0x582d05[_0x339a5f(0xb3)](_0x281037,_0x2bb390);return _0x11532f===void 0x0?_0x3d9b6a(_0x2c0717,_0x54a56d,_0x57bafb):(_0xb13281===void 0x0?_0x3d9b6a(_0x57bafb,_0x54a56d,!0x0):_0x4dd279?_0x3d9b6a(_0x57bafb,_0xb13281,_0x54a56d[_0x339a5f(0x124)](/\\/g,'')):_0x3d9b6a(_0x57bafb,_0xb13281,_0x54a56d),_0x3d9b6a(_0x2c0717,_0x11532f,_0x57bafb)),_0x2c0717;}function _0x209b25(_0x14eacf){const _0x5acd3f=_0x5235;return Object[_0x5acd3f(0x22e)](_0x14eacf)[_0x5acd3f(0x219)](_0x5cf933=>{const _0xc6125b=_0x5acd3f;let _0x3d159f=_0x14eacf[_0x5cf933];return Array['isArray'](_0x3d159f)||(_0x3d159f=[_0x3d159f]),_0x3d159f[_0xc6125b(0x219)](_0x88be63=>[_0x5cf933][_0xc6125b(0x238)](Object['keys'](_0x88be63)['map'](_0x37da8f=>{const _0x170a11=_0xc6125b;let _0x4e3bec=_0x88be63[_0x37da8f];return Array[_0x170a11(0x139)](_0x4e3bec)||(_0x4e3bec=[_0x4e3bec]),_0x4e3bec[_0x170a11(0x219)](_0x474b07=>_0x474b07===!0x0?_0x37da8f:_0x37da8f+'='+_0x474b07)['join'](';\x20');}))['join'](';\x20'))[_0xc6125b(0x1ab)](',\x20');})[_0x5acd3f(0x1ab)](',\x20');}return be={'format':_0x209b25,'parse':_0x392de3},be;}var we,Je;function Pe(){const _0x5d0ede=_0x456ae0;if(Je)return we;Je=0x1;const _0x36c3ad=nt,_0x463c51=vt,_0x3983ea=ot,_0x563d01=St,_0xe23420=Et,{randomBytes:_0x1d7045,createHash:_0x2fbf6c}=Le,{Duplex:_0x57a866,Readable:_0x1b12e2}=oe,{URL:_0x433e69}=xt,_0x526486=he(),_0x5a142f=lt(),_0x31b78c=ft(),{isBlob:_0x2e8fff}=ae(),{BINARY_TYPES:_0x4c2ab3,EMPTY_BUFFER:_0x2009df,GUID:_0x1dc62b,kForOnEventAttribute:_0x3bc3ba,kListener:_0x42dde9,kStatusCode:_0xd465b7,kWebSocket:_0x503e60,NOOP:_0xcc3e07}=H(),{EventTarget:{addEventListener:_0x368095,removeEventListener:_0x53388a}}=It(),{format:_0x2e1999,parse:_0x185dbe}=ct(),{toBuffer:_0xd447e7}=ce(),_0xac6085=0x1e*0x3e8,_0x2436c2=Symbol(_0x5d0ede(0xeb)),_0x77298d=[0x8,0xd],_0x25ca9a=['CONNECTING','OPEN','CLOSING',_0x5d0ede(0xb2)],_0x1427f6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3833f9 extends _0x36c3ad{constructor(_0x209685,_0x23317a,_0xd2fa69){const _0x42446a=_0x5d0ede;super(),this[_0x42446a(0x1d9)]=_0x4c2ab3[0x0],this['_closeCode']=0x3ee,this[_0x42446a(0xa0)]=!0x1,this[_0x42446a(0x181)]=!0x1,this[_0x42446a(0x1c1)]=_0x2009df,this[_0x42446a(0x12a)]=null,this[_0x42446a(0x138)]=!0x1,this['_extensions']={},this[_0x42446a(0x1d7)]=!0x1,this[_0x42446a(0x203)]='',this['_readyState']=_0x3833f9[_0x42446a(0x185)],this[_0x42446a(0x164)]=null,this[_0x42446a(0xd2)]=null,this[_0x42446a(0xd5)]=null,_0x209685!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x23317a===void 0x0?_0x23317a=[]:Array[_0x42446a(0x139)](_0x23317a)||(typeof _0x23317a==_0x42446a(0x11d)&&_0x23317a!==null?(_0xd2fa69=_0x23317a,_0x23317a=[]):_0x23317a=[_0x23317a]),_0x58a881(this,_0x209685,_0x23317a,_0xd2fa69)):(this[_0x42446a(0x1b0)]=_0xd2fa69[_0x42446a(0x8d)],this[_0x42446a(0xe9)]=!0x0);}get[_0x5d0ede(0xba)](){const _0x1efbcf=_0x5d0ede;return this[_0x1efbcf(0x1d9)];}set[_0x5d0ede(0xba)](_0x2aa045){const _0x37636a=_0x5d0ede;_0x4c2ab3[_0x37636a(0xf5)](_0x2aa045)&&(this[_0x37636a(0x1d9)]=_0x2aa045,this['_receiver']&&(this[_0x37636a(0x164)][_0x37636a(0x1d9)]=_0x2aa045));}get[_0x5d0ede(0x1d3)](){const _0x5820bf=_0x5d0ede;return this[_0x5820bf(0xd5)]?this['_socket']['_writableState']['length']+this['_sender'][_0x5820bf(0x226)]:this[_0x5820bf(0x165)];}get[_0x5d0ede(0x97)](){const _0x11eee2=_0x5d0ede;return Object[_0x11eee2(0x22e)](this[_0x11eee2(0x13b)])[_0x11eee2(0x1ab)]();}get['isPaused'](){const _0x43d507=_0x5d0ede;return this[_0x43d507(0x1d7)];}get[_0x5d0ede(0x145)](){return null;}get[_0x5d0ede(0xa7)](){return null;}get[_0x5d0ede(0x1ff)](){return null;}get[_0x5d0ede(0x100)](){return null;}get[_0x5d0ede(0x102)](){const _0x2eea9d=_0x5d0ede;return this[_0x2eea9d(0x203)];}get[_0x5d0ede(0xfa)](){return this['_readyState'];}get['url'](){return this['_url'];}[_0x5d0ede(0x1ed)](_0x32785d,_0x2874d2,_0x573b64){const _0x273012=_0x5d0ede,_0x4b6fef=new _0x5a142f({'allowSynchronousEvents':_0x573b64[_0x273012(0x19f)],'binaryType':this[_0x273012(0xba)],'extensions':this['_extensions'],'isServer':this[_0x273012(0xe9)],'maxPayload':_0x573b64[_0x273012(0x141)],'skipUTF8Validation':_0x573b64[_0x273012(0xf2)]}),_0x48e82a=new _0x31b78c(_0x32785d,this['_extensions'],_0x573b64[_0x273012(0xd7)]);this['_receiver']=_0x4b6fef,this[_0x273012(0xd2)]=_0x48e82a,this['_socket']=_0x32785d,_0x4b6fef[_0x503e60]=this,_0x48e82a[_0x503e60]=this,_0x32785d[_0x503e60]=this,_0x4b6fef['on'](_0x273012(0x10e),_0xd0e7a),_0x4b6fef['on'](_0x273012(0xc4),_0x5b4447),_0x4b6fef['on'](_0x273012(0x1c2),_0x32c77f),_0x4b6fef['on'](_0x273012(0x206),_0x597a34),_0x4b6fef['on'](_0x273012(0x1cb),_0x568a67),_0x4b6fef['on'](_0x273012(0x8b),_0x5e9e1b),_0x48e82a[_0x273012(0xa7)]=_0x495b27,_0x32785d[_0x273012(0x1a8)]&&_0x32785d[_0x273012(0x1a8)](0x0),_0x32785d[_0x273012(0x18f)]&&_0x32785d[_0x273012(0x18f)](),_0x2874d2['length']>0x0&&_0x32785d[_0x273012(0x10b)](_0x2874d2),_0x32785d['on'](_0x273012(0x15b),_0x1fc62b),_0x32785d['on']('data',_0x2888bc),_0x32785d['on'](_0x273012(0x1d5),_0x3f4a74),_0x32785d['on'](_0x273012(0x1c2),_0x40407c),this[_0x273012(0x199)]=_0x3833f9[_0x273012(0xc8)],this[_0x273012(0x10f)]('open');}['emitClose'](){const _0x15de31=_0x5d0ede;if(!this['_socket']){this['_readyState']=_0x3833f9['CLOSED'],this[_0x15de31(0x10f)](_0x15de31(0x15b),this[_0x15de31(0x241)],this[_0x15de31(0x1c1)]);return;}this[_0x15de31(0x13b)][_0x526486['extensionName']]&&this[_0x15de31(0x13b)][_0x526486['extensionName']][_0x15de31(0xde)](),this['_receiver']['removeAllListeners'](),this[_0x15de31(0x199)]=_0x3833f9[_0x15de31(0xb2)],this[_0x15de31(0x10f)](_0x15de31(0x15b),this[_0x15de31(0x241)],this[_0x15de31(0x1c1)]);}[_0x5d0ede(0x15b)](_0x5a4834,_0xbbc29){const _0x111465=_0x5d0ede;if(this['readyState']!==_0x3833f9[_0x111465(0xb2)]){if(this[_0x111465(0xfa)]===_0x3833f9[_0x111465(0x185)]){_0x34356d(this,this['_req'],_0x111465(0x117));return;}if(this[_0x111465(0xfa)]===_0x3833f9[_0x111465(0x16b)]){this[_0x111465(0x181)]&&(this[_0x111465(0xa0)]||this[_0x111465(0x164)][_0x111465(0x1fd)]['errorEmitted'])&&this[_0x111465(0xd5)]['end']();return;}this[_0x111465(0x199)]=_0x3833f9[_0x111465(0x16b)],this[_0x111465(0xd2)][_0x111465(0x15b)](_0x5a4834,_0xbbc29,!this[_0x111465(0xe9)],_0xe95f76=>{const _0x64a7fc=_0x111465;_0xe95f76||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x64a7fc(0x164)][_0x64a7fc(0x1fd)]['errorEmitted'])&&this[_0x64a7fc(0xd5)][_0x64a7fc(0x1d5)]());}),_0x15e61d(this);}}[_0x5d0ede(0x19b)](){const _0x56fd53=_0x5d0ede;this[_0x56fd53(0xfa)]===_0x3833f9[_0x56fd53(0x185)]||this[_0x56fd53(0xfa)]===_0x3833f9[_0x56fd53(0xb2)]||(this[_0x56fd53(0x1d7)]=!0x0,this[_0x56fd53(0xd5)][_0x56fd53(0x19b)]());}[_0x5d0ede(0x1cb)](_0x2d112e,_0x354ffe,_0x15fea2){const _0x3b8c8d=_0x5d0ede;if(this[_0x3b8c8d(0xfa)]===_0x3833f9[_0x3b8c8d(0x185)])throw new Error(_0x3b8c8d(0x1d6));if(typeof _0x2d112e==_0x3b8c8d(0x11e)?(_0x15fea2=_0x2d112e,_0x2d112e=_0x354ffe=void 0x0):typeof _0x354ffe=='function'&&(_0x15fea2=_0x354ffe,_0x354ffe=void 0x0),typeof _0x2d112e==_0x3b8c8d(0x112)&&(_0x2d112e=_0x2d112e[_0x3b8c8d(0x225)]()),this['readyState']!==_0x3833f9[_0x3b8c8d(0xc8)]){_0x248a86(this,_0x2d112e,_0x15fea2);return;}_0x354ffe===void 0x0&&(_0x354ffe=!this['_isServer']),this[_0x3b8c8d(0xd2)][_0x3b8c8d(0x1cb)](_0x2d112e||_0x2009df,_0x354ffe,_0x15fea2);}['pong'](_0x3aacbd,_0x5a8a29,_0x43c5b6){const _0x479904=_0x5d0ede;if(this[_0x479904(0xfa)]===_0x3833f9[_0x479904(0x185)])throw new Error(_0x479904(0x1d6));if(typeof _0x3aacbd==_0x479904(0x11e)?(_0x43c5b6=_0x3aacbd,_0x3aacbd=_0x5a8a29=void 0x0):typeof _0x5a8a29==_0x479904(0x11e)&&(_0x43c5b6=_0x5a8a29,_0x5a8a29=void 0x0),typeof _0x3aacbd=='number'&&(_0x3aacbd=_0x3aacbd[_0x479904(0x225)]()),this[_0x479904(0xfa)]!==_0x3833f9[_0x479904(0xc8)]){_0x248a86(this,_0x3aacbd,_0x43c5b6);return;}_0x5a8a29===void 0x0&&(_0x5a8a29=!this[_0x479904(0xe9)]),this[_0x479904(0xd2)][_0x479904(0x8b)](_0x3aacbd||_0x2009df,_0x5a8a29,_0x43c5b6);}[_0x5d0ede(0x11b)](){const _0x50211b=_0x5d0ede;this[_0x50211b(0xfa)]===_0x3833f9[_0x50211b(0x185)]||this[_0x50211b(0xfa)]===_0x3833f9['CLOSED']||(this[_0x50211b(0x1d7)]=!0x1,this[_0x50211b(0x164)][_0x50211b(0x1fd)][_0x50211b(0x1fe)]||this[_0x50211b(0xd5)][_0x50211b(0x11b)]());}[_0x5d0ede(0x12c)](_0x21bc97,_0x5cbe24,_0x392894){const _0x53dc27=_0x5d0ede;if(this[_0x53dc27(0xfa)]===_0x3833f9['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5cbe24==_0x53dc27(0x11e)&&(_0x392894=_0x5cbe24,_0x5cbe24={}),typeof _0x21bc97==_0x53dc27(0x112)&&(_0x21bc97=_0x21bc97['toString']()),this['readyState']!==_0x3833f9['OPEN']){_0x248a86(this,_0x21bc97,_0x392894);return;}const _0x329abf={'binary':typeof _0x21bc97!='string','mask':!this[_0x53dc27(0xe9)],'compress':!0x0,'fin':!0x0,..._0x5cbe24};this[_0x53dc27(0x13b)][_0x526486[_0x53dc27(0xd8)]]||(_0x329abf[_0x53dc27(0x13a)]=!0x1),this[_0x53dc27(0xd2)]['send'](_0x21bc97||_0x2009df,_0x329abf,_0x392894);}[_0x5d0ede(0xb0)](){const _0x1d8abd=_0x5d0ede;if(this[_0x1d8abd(0xfa)]!==_0x3833f9[_0x1d8abd(0xb2)]){if(this[_0x1d8abd(0xfa)]===_0x3833f9['CONNECTING']){_0x34356d(this,this[_0x1d8abd(0x1e9)],_0x1d8abd(0x117));return;}this[_0x1d8abd(0xd5)]&&(this[_0x1d8abd(0x199)]=_0x3833f9[_0x1d8abd(0x16b)],this['_socket'][_0x1d8abd(0x13f)]());}}}Object['defineProperty'](_0x3833f9,_0x5d0ede(0x185),{'enumerable':!0x0,'value':_0x25ca9a[_0x5d0ede(0x128)](_0x5d0ede(0x185))}),Object[_0x5d0ede(0x9c)](_0x3833f9[_0x5d0ede(0x108)],_0x5d0ede(0x185),{'enumerable':!0x0,'value':_0x25ca9a[_0x5d0ede(0x128)](_0x5d0ede(0x185))}),Object[_0x5d0ede(0x9c)](_0x3833f9,'OPEN',{'enumerable':!0x0,'value':_0x25ca9a[_0x5d0ede(0x128)](_0x5d0ede(0xc8))}),Object[_0x5d0ede(0x9c)](_0x3833f9[_0x5d0ede(0x108)],'OPEN',{'enumerable':!0x0,'value':_0x25ca9a['indexOf'](_0x5d0ede(0xc8))}),Object[_0x5d0ede(0x9c)](_0x3833f9,'CLOSING',{'enumerable':!0x0,'value':_0x25ca9a[_0x5d0ede(0x128)]('CLOSING')}),Object['defineProperty'](_0x3833f9[_0x5d0ede(0x108)],_0x5d0ede(0x16b),{'enumerable':!0x0,'value':_0x25ca9a['indexOf'](_0x5d0ede(0x16b))}),Object[_0x5d0ede(0x9c)](_0x3833f9,_0x5d0ede(0xb2),{'enumerable':!0x0,'value':_0x25ca9a[_0x5d0ede(0x128)]('CLOSED')}),Object[_0x5d0ede(0x9c)](_0x3833f9[_0x5d0ede(0x108)],'CLOSED',{'enumerable':!0x0,'value':_0x25ca9a[_0x5d0ede(0x128)](_0x5d0ede(0xb2))}),[_0x5d0ede(0xba),_0x5d0ede(0x1d3),_0x5d0ede(0x97),'isPaused',_0x5d0ede(0x102),'readyState',_0x5d0ede(0x212)][_0x5d0ede(0x115)](_0x574c36=>{const _0x1502b4=_0x5d0ede;Object[_0x1502b4(0x9c)](_0x3833f9[_0x1502b4(0x108)],_0x574c36,{'enumerable':!0x0});}),[_0x5d0ede(0xc6),_0x5d0ede(0x1c2),_0x5d0ede(0x15b),_0x5d0ede(0x206)][_0x5d0ede(0x115)](_0x366f64=>{const _0x4c6fbd=_0x5d0ede;Object[_0x4c6fbd(0x9c)](_0x3833f9[_0x4c6fbd(0x108)],'on'+_0x366f64,{'enumerable':!0x0,'get'(){const _0x42e46d=_0x4c6fbd;for(const _0x614871 of this[_0x42e46d(0xa5)](_0x366f64))if(_0x614871[_0x3bc3ba])return _0x614871[_0x42dde9];return null;},'set'(_0x3349c6){const _0x26df38=_0x4c6fbd;for(const _0xce8f84 of this[_0x26df38(0xa5)](_0x366f64))if(_0xce8f84[_0x3bc3ba]){this['removeListener'](_0x366f64,_0xce8f84);break;}typeof _0x3349c6==_0x26df38(0x11e)&&this[_0x26df38(0xe0)](_0x366f64,_0x3349c6,{[_0x3bc3ba]:!0x0});}});}),_0x3833f9['prototype']['addEventListener']=_0x368095,_0x3833f9[_0x5d0ede(0x108)][_0x5d0ede(0x144)]=_0x53388a,we=_0x3833f9;function _0x58a881(_0x4aff16,_0x50b64f,_0x12a62f,_0x31c625){const _0x4c3543=_0x5d0ede,_0x4e1115={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x77298d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x31c625,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4c3543(0xdd),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4aff16[_0x4c3543(0x1b0)]=_0x4e1115[_0x4c3543(0x8d)],!_0x77298d[_0x4c3543(0xf5)](_0x4e1115[_0x4c3543(0x103)]))throw new RangeError(_0x4c3543(0x1fc)+_0x4e1115[_0x4c3543(0x103)]+_0x4c3543(0x11a)+_0x77298d[_0x4c3543(0x1ab)](',\x20')+')');let _0x1e3964;if(_0x50b64f instanceof _0x433e69)_0x1e3964=_0x50b64f;else try{_0x1e3964=new _0x433e69(_0x50b64f);}catch{throw new SyntaxError(_0x4c3543(0x9a)+_0x50b64f);}_0x1e3964[_0x4c3543(0x102)]===_0x4c3543(0x209)?_0x1e3964[_0x4c3543(0x102)]=_0x4c3543(0xfe):_0x1e3964[_0x4c3543(0x102)]===_0x4c3543(0x1e5)&&(_0x1e3964[_0x4c3543(0x102)]=_0x4c3543(0xb5)),_0x4aff16['_url']=_0x1e3964[_0x4c3543(0x1e6)];const _0x424521=_0x1e3964[_0x4c3543(0x102)]===_0x4c3543(0xb5),_0x11881a=_0x1e3964['protocol']===_0x4c3543(0x16f);let _0x261ebe;if(_0x1e3964[_0x4c3543(0x102)]!==_0x4c3543(0xfe)&&!_0x424521&&!_0x11881a?_0x261ebe='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':_0x11881a&&!_0x1e3964[_0x4c3543(0x21a)]?_0x261ebe='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x1e3964['hash']&&(_0x261ebe=_0x4c3543(0x105)),_0x261ebe){const _0x22f2c6=new SyntaxError(_0x261ebe);if(_0x4aff16[_0x4c3543(0x113)]===0x0)throw _0x22f2c6;_0x88eb50(_0x4aff16,_0x22f2c6);return;}const _0xb3edd1=_0x424521?0x1bb:0x50,_0x2958be=_0x1d7045(0x10)[_0x4c3543(0x225)](_0x4c3543(0x1e4)),_0x20a8d9=_0x424521?_0x463c51[_0x4c3543(0x13e)]:_0x3983ea[_0x4c3543(0x13e)],_0x1ee9a2=new Set();let _0x76f5ae;if(_0x4e1115[_0x4c3543(0x187)]=_0x4e1115['createConnection']||(_0x424521?_0x1e9a10:_0x56ad6f),_0x4e1115[_0x4c3543(0x8c)]=_0x4e1115[_0x4c3543(0x8c)]||_0xb3edd1,_0x4e1115[_0x4c3543(0x1a3)]=_0x1e3964[_0x4c3543(0x1a3)]||_0xb3edd1,_0x4e1115[_0x4c3543(0x86)]=_0x1e3964[_0x4c3543(0xd6)][_0x4c3543(0x146)]('[')?_0x1e3964['hostname']['slice'](0x1,-0x1):_0x1e3964[_0x4c3543(0xd6)],_0x4e1115['headers']={..._0x4e1115[_0x4c3543(0xc0)],'Sec-WebSocket-Version':_0x4e1115[_0x4c3543(0x103)],'Sec-WebSocket-Key':_0x2958be,'Connection':_0x4c3543(0x17b),'Upgrade':_0x4c3543(0x1a7)},_0x4e1115[_0x4c3543(0x1f6)]=_0x1e3964[_0x4c3543(0x21a)]+_0x1e3964[_0x4c3543(0xdb)],_0x4e1115['timeout']=_0x4e1115[_0x4c3543(0x231)],_0x4e1115[_0x4c3543(0xe3)]&&(_0x76f5ae=new _0x526486(_0x4e1115[_0x4c3543(0xe3)]!==!0x0?_0x4e1115[_0x4c3543(0xe3)]:{},!0x1,_0x4e1115['maxPayload']),_0x4e1115[_0x4c3543(0xc0)]['Sec-WebSocket-Extensions']=_0x2e1999({[_0x526486[_0x4c3543(0xd8)]]:_0x76f5ae[_0x4c3543(0xc2)]()})),_0x12a62f['length']){for(const _0xc31cc4 of _0x12a62f){if(typeof _0xc31cc4!=_0x4c3543(0x13d)||!_0x1427f6[_0x4c3543(0xc3)](_0xc31cc4)||_0x1ee9a2[_0x4c3543(0x123)](_0xc31cc4))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x1ee9a2[_0x4c3543(0x14b)](_0xc31cc4);}_0x4e1115[_0x4c3543(0xc0)]['Sec-WebSocket-Protocol']=_0x12a62f[_0x4c3543(0x1ab)](',');}if(_0x4e1115[_0x4c3543(0x1fa)]&&(_0x4e1115[_0x4c3543(0x103)]<0xd?_0x4e1115['headers']['Sec-WebSocket-Origin']=_0x4e1115['origin']:_0x4e1115[_0x4c3543(0xc0)]['Origin']=_0x4e1115[_0x4c3543(0x1fa)]),(_0x1e3964[_0x4c3543(0x99)]||_0x1e3964[_0x4c3543(0x1a5)])&&(_0x4e1115['auth']=_0x1e3964[_0x4c3543(0x99)]+':'+_0x1e3964[_0x4c3543(0x1a5)]),_0x11881a){const _0xd163c3=_0x4e1115['path']['split'](':');_0x4e1115[_0x4c3543(0x17e)]=_0xd163c3[0x0],_0x4e1115['path']=_0xd163c3[0x1];}let _0x505cc4;if(_0x4e1115[_0x4c3543(0x184)]){if(_0x4aff16[_0x4c3543(0x113)]===0x0){_0x4aff16[_0x4c3543(0x16d)]=_0x11881a,_0x4aff16[_0x4c3543(0xa8)]=_0x424521,_0x4aff16[_0x4c3543(0x80)]=_0x11881a?_0x4e1115[_0x4c3543(0x17e)]:_0x1e3964['host'];const _0xc0a4db=_0x31c625&&_0x31c625[_0x4c3543(0xc0)];if(_0x31c625={..._0x31c625,'headers':{}},_0xc0a4db){for(const [_0xc5f083,_0x482661]of Object[_0x4c3543(0x14a)](_0xc0a4db))_0x31c625[_0x4c3543(0xc0)][_0xc5f083[_0x4c3543(0x1fb)]()]=_0x482661;}}else{if(_0x4aff16[_0x4c3543(0x171)]('redirect')===0x0){const _0x59feba=_0x11881a?_0x4aff16[_0x4c3543(0x16d)]?_0x4e1115['socketPath']===_0x4aff16[_0x4c3543(0x80)]:!0x1:_0x4aff16[_0x4c3543(0x16d)]?!0x1:_0x1e3964[_0x4c3543(0x86)]===_0x4aff16[_0x4c3543(0x80)];(!_0x59feba||_0x4aff16[_0x4c3543(0xa8)]&&!_0x424521)&&(delete _0x4e1115[_0x4c3543(0xc0)][_0x4c3543(0x168)],delete _0x4e1115[_0x4c3543(0xc0)]['cookie'],_0x59feba||delete _0x4e1115[_0x4c3543(0xc0)][_0x4c3543(0x86)],_0x4e1115[_0x4c3543(0x22d)]=void 0x0);}}_0x4e1115[_0x4c3543(0x22d)]&&!_0x31c625[_0x4c3543(0xc0)][_0x4c3543(0x168)]&&(_0x31c625[_0x4c3543(0xc0)][_0x4c3543(0x168)]='Basic\x20'+Buffer[_0x4c3543(0x89)](_0x4e1115['auth'])[_0x4c3543(0x225)](_0x4c3543(0x1e4))),_0x505cc4=_0x4aff16[_0x4c3543(0x1e9)]=_0x20a8d9(_0x4e1115),_0x4aff16[_0x4c3543(0x113)]&&_0x4aff16[_0x4c3543(0x10f)](_0x4c3543(0x122),_0x4aff16[_0x4c3543(0x212)],_0x505cc4);}else _0x505cc4=_0x4aff16[_0x4c3543(0x1e9)]=_0x20a8d9(_0x4e1115);_0x4e1115[_0x4c3543(0x176)]&&_0x505cc4['on'](_0x4c3543(0x176),()=>{const _0x26e96d=_0x4c3543;_0x34356d(_0x4aff16,_0x505cc4,_0x26e96d(0x9d));}),_0x505cc4['on']('error',_0x3f176d=>{const _0xa1cdb0=_0x4c3543;_0x505cc4===null||_0x505cc4[_0x2436c2]||(_0x505cc4=_0x4aff16[_0xa1cdb0(0x1e9)]=null,_0x88eb50(_0x4aff16,_0x3f176d));}),_0x505cc4['on']('response',_0x4b44a0=>{const _0x449fc7=_0x4c3543,_0x41c741=_0x4b44a0[_0x449fc7(0xc0)][_0x449fc7(0x159)],_0x2e4d49=_0x4b44a0[_0x449fc7(0x1ca)];if(_0x41c741&&_0x4e1115[_0x449fc7(0x184)]&&_0x2e4d49>=0x12c&&_0x2e4d49<0x190){if(++_0x4aff16[_0x449fc7(0x113)]>_0x4e1115[_0x449fc7(0xec)]){_0x34356d(_0x4aff16,_0x505cc4,_0x449fc7(0x190));return;}_0x505cc4[_0x449fc7(0x90)]();let _0x5cf6fe;try{_0x5cf6fe=new _0x433e69(_0x41c741,_0x50b64f);}catch{const _0x3c0f17=new SyntaxError(_0x449fc7(0x9a)+_0x41c741);_0x88eb50(_0x4aff16,_0x3c0f17);return;}_0x58a881(_0x4aff16,_0x5cf6fe,_0x12a62f,_0x31c625);}else _0x4aff16[_0x449fc7(0x10f)]('unexpected-response',_0x505cc4,_0x4b44a0)||_0x34356d(_0x4aff16,_0x505cc4,_0x449fc7(0xcf)+_0x4b44a0['statusCode']);}),_0x505cc4['on']('upgrade',(_0x110fe3,_0x44b3f2,_0x5d240d)=>{const _0x267b29=_0x4c3543;if(_0x4aff16[_0x267b29(0x10f)](_0x267b29(0x121),_0x110fe3),_0x4aff16[_0x267b29(0xfa)]!==_0x3833f9[_0x267b29(0x185)])return;_0x505cc4=_0x4aff16[_0x267b29(0x1e9)]=null;const _0x197bfe=_0x110fe3[_0x267b29(0xc0)][_0x267b29(0x121)];if(_0x197bfe===void 0x0||_0x197bfe['toLowerCase']()!==_0x267b29(0x1a7)){_0x34356d(_0x4aff16,_0x44b3f2,_0x267b29(0x157));return;}const _0x1b4e86=_0x2fbf6c('sha1')[_0x267b29(0x129)](_0x2958be+_0x1dc62b)[_0x267b29(0x118)](_0x267b29(0x1e4));if(_0x110fe3[_0x267b29(0xc0)][_0x267b29(0xb8)]!==_0x1b4e86){_0x34356d(_0x4aff16,_0x44b3f2,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x6d935d=_0x110fe3[_0x267b29(0xc0)]['sec-websocket-protocol'];let _0x3ce237;if(_0x6d935d!==void 0x0?_0x1ee9a2['size']?_0x1ee9a2[_0x267b29(0x123)](_0x6d935d)||(_0x3ce237=_0x267b29(0x214)):_0x3ce237=_0x267b29(0x136):_0x1ee9a2[_0x267b29(0x178)]&&(_0x3ce237='Server\x20sent\x20no\x20subprotocol'),_0x3ce237){_0x34356d(_0x4aff16,_0x44b3f2,_0x3ce237);return;}_0x6d935d&&(_0x4aff16[_0x267b29(0x203)]=_0x6d935d);const _0x37e33b=_0x110fe3[_0x267b29(0xc0)][_0x267b29(0x92)];if(_0x37e33b!==void 0x0){if(!_0x76f5ae){_0x34356d(_0x4aff16,_0x44b3f2,_0x267b29(0x21f));return;}let _0x3b83ce;try{_0x3b83ce=_0x185dbe(_0x37e33b);}catch{_0x34356d(_0x4aff16,_0x44b3f2,_0x267b29(0xab));return;}const _0x2581df=Object[_0x267b29(0x22e)](_0x3b83ce);if(_0x2581df[_0x267b29(0xa3)]!==0x1||_0x2581df[0x0]!==_0x526486[_0x267b29(0xd8)]){_0x34356d(_0x4aff16,_0x44b3f2,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x76f5ae[_0x267b29(0x221)](_0x3b83ce[_0x526486['extensionName']]);}catch{_0x34356d(_0x4aff16,_0x44b3f2,_0x267b29(0xab));return;}_0x4aff16[_0x267b29(0x13b)][_0x526486[_0x267b29(0xd8)]]=_0x76f5ae;}_0x4aff16['setSocket'](_0x44b3f2,_0x5d240d,{'allowSynchronousEvents':_0x4e1115['allowSynchronousEvents'],'generateMask':_0x4e1115[_0x267b29(0xd7)],'maxPayload':_0x4e1115[_0x267b29(0x141)],'skipUTF8Validation':_0x4e1115['skipUTF8Validation']});}),_0x4e1115[_0x4c3543(0x152)]?_0x4e1115[_0x4c3543(0x152)](_0x505cc4,_0x4aff16):_0x505cc4[_0x4c3543(0x1d5)]();}function _0x88eb50(_0x3ca11b,_0x4e9fb9){const _0x2cacb5=_0x5d0ede;_0x3ca11b[_0x2cacb5(0x199)]=_0x3833f9[_0x2cacb5(0x16b)],_0x3ca11b[_0x2cacb5(0x138)]=!0x0,_0x3ca11b[_0x2cacb5(0x10f)](_0x2cacb5(0x1c2),_0x4e9fb9),_0x3ca11b['emitClose']();}function _0x56ad6f(_0x1a84e0){const _0x342241=_0x5d0ede;return _0x1a84e0['path']=_0x1a84e0[_0x342241(0x17e)],_0x563d01[_0x342241(0x106)](_0x1a84e0);}function _0x1e9a10(_0x15412b){const _0x4afb6e=_0x5d0ede;return _0x15412b[_0x4afb6e(0x1f6)]=void 0x0,!_0x15412b[_0x4afb6e(0x230)]&&_0x15412b['servername']!==''&&(_0x15412b[_0x4afb6e(0x230)]=_0x563d01['isIP'](_0x15412b['host'])?'':_0x15412b[_0x4afb6e(0x86)]),_0xe23420['connect'](_0x15412b);}function _0x34356d(_0x40e26b,_0x570bf3,_0x317b3d){const _0x2d1370=_0x5d0ede;_0x40e26b[_0x2d1370(0x199)]=_0x3833f9[_0x2d1370(0x16b)];const _0x1828df=new Error(_0x317b3d);Error[_0x2d1370(0x15a)](_0x1828df,_0x34356d),_0x570bf3[_0x2d1370(0x101)]?(_0x570bf3[_0x2436c2]=!0x0,_0x570bf3['abort'](),_0x570bf3[_0x2d1370(0x1b9)]&&!_0x570bf3[_0x2d1370(0x1b9)][_0x2d1370(0x180)]&&_0x570bf3[_0x2d1370(0x1b9)][_0x2d1370(0x13f)](),process[_0x2d1370(0x1b8)](_0x88eb50,_0x40e26b,_0x1828df)):(_0x570bf3[_0x2d1370(0x13f)](_0x1828df),_0x570bf3[_0x2d1370(0x85)](_0x2d1370(0x1c2),_0x40e26b[_0x2d1370(0x10f)]['bind'](_0x40e26b,'error')),_0x570bf3[_0x2d1370(0x85)](_0x2d1370(0x15b),_0x40e26b[_0x2d1370(0xf1)][_0x2d1370(0x208)](_0x40e26b)));}function _0x248a86(_0x333cce,_0x10a6ef,_0x3dcffe){const _0x438e24=_0x5d0ede;if(_0x10a6ef){const _0x52e6da=_0x2e8fff(_0x10a6ef)?_0x10a6ef['size']:_0xd447e7(_0x10a6ef)[_0x438e24(0xa3)];_0x333cce[_0x438e24(0xd5)]?_0x333cce[_0x438e24(0xd2)][_0x438e24(0x226)]+=_0x52e6da:_0x333cce['_bufferedAmount']+=_0x52e6da;}if(_0x3dcffe){const _0x22206e=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x333cce[_0x438e24(0xfa)]+'\x20('+_0x25ca9a[_0x333cce[_0x438e24(0xfa)]]+')');process[_0x438e24(0x1b8)](_0x3dcffe,_0x22206e);}}function _0xd0e7a(_0x18ef45,_0x40b3a9){const _0x10f5a6=_0x5d0ede,_0x43007a=this[_0x503e60];_0x43007a[_0x10f5a6(0xa0)]=!0x0,_0x43007a[_0x10f5a6(0x1c1)]=_0x40b3a9,_0x43007a[_0x10f5a6(0x241)]=_0x18ef45,_0x43007a[_0x10f5a6(0xd5)][_0x503e60]!==void 0x0&&(_0x43007a['_socket'][_0x10f5a6(0xce)]('data',_0x2888bc),process[_0x10f5a6(0x1b8)](_0x516d36,_0x43007a[_0x10f5a6(0xd5)]),_0x18ef45===0x3ed?_0x43007a[_0x10f5a6(0x15b)]():_0x43007a[_0x10f5a6(0x15b)](_0x18ef45,_0x40b3a9));}function _0x5b4447(){const _0xdb2d44=_0x5d0ede,_0x1ed834=this[_0x503e60];_0x1ed834[_0xdb2d44(0x19c)]||_0x1ed834['_socket'][_0xdb2d44(0x11b)]();}function _0x32c77f(_0x16c65b){const _0x4cb49e=_0x5d0ede,_0x5c306d=this[_0x503e60];_0x5c306d[_0x4cb49e(0xd5)][_0x503e60]!==void 0x0&&(_0x5c306d[_0x4cb49e(0xd5)]['removeListener']('data',_0x2888bc),process[_0x4cb49e(0x1b8)](_0x516d36,_0x5c306d[_0x4cb49e(0xd5)]),_0x5c306d[_0x4cb49e(0x15b)](_0x16c65b[_0xd465b7])),_0x5c306d[_0x4cb49e(0x138)]||(_0x5c306d[_0x4cb49e(0x138)]=!0x0,_0x5c306d[_0x4cb49e(0x10f)]('error',_0x16c65b));}function _0x68a882(){this[_0x503e60]['emitClose']();}function _0x597a34(_0x28ab7d,_0x379792){const _0x39f129=_0x5d0ede;this[_0x503e60][_0x39f129(0x10f)]('message',_0x28ab7d,_0x379792);}function _0x568a67(_0x436193){const _0x231bd5=_0x5d0ede,_0x3f62bc=this[_0x503e60];_0x3f62bc[_0x231bd5(0x1b0)]&&_0x3f62bc[_0x231bd5(0x8b)](_0x436193,!this[_0x231bd5(0xe9)],_0xcc3e07),_0x3f62bc['emit'](_0x231bd5(0x1cb),_0x436193);}function _0x5e9e1b(_0x51b7d3){const _0x55eefb=_0x5d0ede;this[_0x503e60]['emit'](_0x55eefb(0x8b),_0x51b7d3);}function _0x516d36(_0x1baee8){_0x1baee8['resume']();}function _0x495b27(_0x5b3ecf){const _0x3ed827=_0x5d0ede,_0x41f5ca=this[_0x503e60];_0x41f5ca[_0x3ed827(0xfa)]!==_0x3833f9['CLOSED']&&(_0x41f5ca[_0x3ed827(0xfa)]===_0x3833f9[_0x3ed827(0xc8)]&&(_0x41f5ca[_0x3ed827(0x199)]=_0x3833f9['CLOSING'],_0x15e61d(_0x41f5ca)),this[_0x3ed827(0xd5)]['end'](),_0x41f5ca[_0x3ed827(0x138)]||(_0x41f5ca['_errorEmitted']=!0x0,_0x41f5ca[_0x3ed827(0x10f)](_0x3ed827(0x1c2),_0x5b3ecf)));}function _0x15e61d(_0x266d3d){const _0x57639d=_0x5d0ede;_0x266d3d['_closeTimer']=setTimeout(_0x266d3d[_0x57639d(0xd5)][_0x57639d(0x13f)][_0x57639d(0x208)](_0x266d3d[_0x57639d(0xd5)]),_0xac6085);}function _0x1fc62b(){const _0x1c6712=_0x5d0ede,_0x915ca=this[_0x503e60];this[_0x1c6712(0xce)](_0x1c6712(0x15b),_0x1fc62b),this[_0x1c6712(0xce)](_0x1c6712(0x93),_0x2888bc),this[_0x1c6712(0xce)](_0x1c6712(0x1d5),_0x3f4a74),_0x915ca[_0x1c6712(0x199)]=_0x3833f9['CLOSING'];let _0x16ba4a;!this['_readableState'][_0x1c6712(0x18b)]&&!_0x915ca[_0x1c6712(0xa0)]&&!_0x915ca[_0x1c6712(0x164)][_0x1c6712(0x1fd)][_0x1c6712(0x7b)]&&(_0x16ba4a=_0x915ca[_0x1c6712(0xd5)][_0x1c6712(0x18d)]())!==null&&_0x915ca['_receiver'][_0x1c6712(0x109)](_0x16ba4a),_0x915ca['_receiver']['end'](),this[_0x503e60]=void 0x0,clearTimeout(_0x915ca[_0x1c6712(0x12a)]),_0x915ca[_0x1c6712(0x164)][_0x1c6712(0x1fd)][_0x1c6712(0x1a2)]||_0x915ca['_receiver'][_0x1c6712(0x1fd)][_0x1c6712(0x7b)]?_0x915ca[_0x1c6712(0xf1)]():(_0x915ca[_0x1c6712(0x164)]['on']('error',_0x68a882),_0x915ca[_0x1c6712(0x164)]['on'](_0x1c6712(0x220),_0x68a882));}function _0x2888bc(_0x1867ff){const _0x3c9535=_0x5d0ede;this[_0x503e60][_0x3c9535(0x164)][_0x3c9535(0x109)](_0x1867ff)||this[_0x3c9535(0x19b)]();}function _0x3f4a74(){const _0x42d422=_0x5d0ede,_0x215cb7=this[_0x503e60];_0x215cb7['_readyState']=_0x3833f9['CLOSING'],_0x215cb7[_0x42d422(0x164)]['end'](),this['end']();}function _0x40407c(){const _0x5f224b=_0x5d0ede,_0x76b1be=this[_0x503e60];this['removeListener'](_0x5f224b(0x1c2),_0x40407c),this['on']('error',_0xcc3e07),_0x76b1be&&(_0x76b1be[_0x5f224b(0x199)]=_0x3833f9['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5c3f6f}=oe;function _0x45e328(_0x299056){const _0x4356dd=_0x5235;_0x299056[_0x4356dd(0x10f)](_0x4356dd(0x15b));}function _0x93d0c8(){const _0x56d250=_0x5235;!this['destroyed']&&this['_writableState'][_0x56d250(0x1a2)]&&this[_0x56d250(0x13f)]();}function _0x582d71(_0x3395ef){const _0x29bf2e=_0x5235;this[_0x29bf2e(0xce)](_0x29bf2e(0x1c2),_0x582d71),this[_0x29bf2e(0x13f)](),this[_0x29bf2e(0x171)](_0x29bf2e(0x1c2))===0x0&&this[_0x29bf2e(0x10f)](_0x29bf2e(0x1c2),_0x3395ef);}function _0x3b95b9(_0x196ca7,_0x327fdc){const _0xa5fc97=_0x5235;let _0x22939f=!0x0;const _0x395194=new _0x5c3f6f({..._0x327fdc,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x196ca7['on']('message',function(_0xcbbdc0,_0x574901){const _0x353dd0=_0x5235,_0x2e3b1d=!_0x574901&&_0x395194[_0x353dd0(0x1c8)][_0x353dd0(0xee)]?_0xcbbdc0[_0x353dd0(0x225)]():_0xcbbdc0;_0x395194[_0x353dd0(0x158)](_0x2e3b1d)||_0x196ca7[_0x353dd0(0x19b)]();}),_0x196ca7[_0xa5fc97(0x85)](_0xa5fc97(0x1c2),function(_0x43bec5){const _0x7ff0fa=_0xa5fc97;_0x395194[_0x7ff0fa(0x180)]||(_0x22939f=!0x1,_0x395194['destroy'](_0x43bec5));}),_0x196ca7[_0xa5fc97(0x85)](_0xa5fc97(0x15b),function(){const _0x3671cb=_0xa5fc97;_0x395194['destroyed']||_0x395194[_0x3671cb(0x158)](null);}),_0x395194['_destroy']=function(_0x5d4b70,_0x17c24a){const _0x4a503c=_0xa5fc97;if(_0x196ca7[_0x4a503c(0xfa)]===_0x196ca7[_0x4a503c(0xb2)]){_0x17c24a(_0x5d4b70),process[_0x4a503c(0x1b8)](_0x45e328,_0x395194);return;}let _0x509991=!0x1;_0x196ca7[_0x4a503c(0x85)](_0x4a503c(0x1c2),function(_0x2d259b){_0x509991=!0x0,_0x17c24a(_0x2d259b);}),_0x196ca7[_0x4a503c(0x85)](_0x4a503c(0x15b),function(){const _0x35687f=_0x4a503c;_0x509991||_0x17c24a(_0x5d4b70),process[_0x35687f(0x1b8)](_0x45e328,_0x395194);}),_0x22939f&&_0x196ca7['terminate']();},_0x395194[_0xa5fc97(0xa9)]=function(_0x251abc){const _0x10e55e=_0xa5fc97;if(_0x196ca7[_0x10e55e(0xfa)]===_0x196ca7[_0x10e55e(0x185)]){_0x196ca7[_0x10e55e(0x85)]('open',function(){_0x395194['_final'](_0x251abc);});return;}_0x196ca7['_socket']!==null&&(_0x196ca7[_0x10e55e(0xd5)][_0x10e55e(0x1fd)]['finished']?(_0x251abc(),_0x395194[_0x10e55e(0x1c8)][_0x10e55e(0x18b)]&&_0x395194[_0x10e55e(0x13f)]()):(_0x196ca7['_socket']['once']('finish',function(){_0x251abc();}),_0x196ca7['close']()));},_0x395194['_read']=function(){const _0x48a999=_0xa5fc97;_0x196ca7[_0x48a999(0x19c)]&&_0x196ca7['resume']();},_0x395194[_0xa5fc97(0x1bd)]=function(_0x264487,_0x21721c,_0x5a7e0a){const _0x38b4d2=_0xa5fc97;if(_0x196ca7['readyState']===_0x196ca7['CONNECTING']){_0x196ca7[_0x38b4d2(0x85)](_0x38b4d2(0xc6),function(){const _0xbb48f0=_0x38b4d2;_0x395194[_0xbb48f0(0x1bd)](_0x264487,_0x21721c,_0x5a7e0a);});return;}_0x196ca7['send'](_0x264487,_0x5a7e0a);},_0x395194['on'](_0xa5fc97(0x1d5),_0x93d0c8),_0x395194['on'](_0xa5fc97(0x1c2),_0x582d71),_0x395194;}return Oe=_0x3b95b9,Oe;}Ut(),lt(),ft();function _0x316a(){const _0x48c2fa=['format','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_fin','clientNoContextTakeover','headers','_masked','offer','test','drain','FIN\x20must\x20be\x20set','open','getInfo','OPEN','@univerjs-pro/collaboration-client','WebSocket','WS_ERR_INVALID_OPCODE','\x0d\x0a\x0d\x0a','fin','removeListener','Unexpected\x20server\x20response:\x20','sendFrame','Observable','_sender','_firstFragment','mask','_socket','hostname','generateMask','extensionName','204438umkrPK','WS_ERR_UNEXPECTED_MASK','search','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','GET','cleanup','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','addEventListener','12guPtUM','pow','perMessageDeflate','_generateMask','dequeue','STATUS_CODES','pipe','buffer','_isServer','customHeaders','kAborted','maxRedirects','jobs','objectMode','client_max_window_bits','controlMessage','emitClose','skipUTF8Validation','decompress','construct','includes','_httpService','The\x20\x22','Blob','arrayBuffer','readyState','zlibDeflateOptions','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','values','ws:','code','onmessage','setHeader','protocol','protocolVersion','handleUpgrade','The\x20URL\x20contains\x20a\x20fragment\x20identifier','connect','Plugin','prototype','write','clients','unshift','40ROdUeC','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','conclude','emit','_skipUTF8Validation','method','number','_redirects','total-length','forEach','Sec-WebSocket-Accept:\x20','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','digest','_maskBuffer','\x20(supported\x20versions:\x20','resume','threshold','object','function','cookie','catch','upgrade','redirect','has','replace','_state','shouldHandle','Invalid\x20HTTP\x20method','indexOf','update','_closeTimer','writeHead','send','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20WebSocket\x20frame:\x20','clientMaxWindowBits','getPayloadLength16','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','920229jLFNvm','20uBhATC','invalid\x20opcode\x200','pending','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','rsv1','_errorEmitted','isArray','compress','_extensions','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','string','request','destroy','startLoop','maxPayload','readOnly','3490VgkKnv','removeEventListener','onclose','startsWith','_threshold','WS_ERR_UNEXPECTED_RSV_2_3','__esModule','entries','add','NodeCollaborationSocketService','writeUIntBE','IConfigService','serverMaxWindowBits','options','invalid\x20opcode\x20','finishRequest','freeze','target','next','kIsForOnEventAttribute','Invalid\x20Upgrade\x20header','push','location','captureStackTrace','close','fragments','isView','UniverCollaborationClientNodePlugin','Injector','encrypted','ILogService','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','getOwnPropertyDescriptor','_receiver','_bufferedAmount','acceptAsServer','server','authorization','rxjs','_opcode','CLOSING','server_no_context_takeover','_originalIpc','kCode','ws+unix:','callback','listenerCount','type','listen','text/html','hasOwnProperty','timeout','registerHTTPInterceptor','size','byteOffset','_deflate','Upgrade','6231533mufRBB','listening','socketPath','isInteger','destroyed','_closeFrameSent','Disposable','_injector','followRedirects','CONNECTING','isServer','createConnection','readUInt16BE','WS_NO_UTF_8_VALIDATE','opcode','endEmitted','frame','read','Sec-WebSocket-Protocol:\x20','setNoDelay','Maximum\x20redirects\x20exceeded','pluginName','toDisposable','concurrencyLimit','backlog','call','zlibInflateOptions','maskBuffer','shift','_readyState','completeUpgrade','pause','isPaused','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','getData','allowSynchronousEvents','kReason','arraybuffer','finished','port','HTTP/1.1\x20101\x20Switching\x20Protocols','password','Cookie','websocket','setTimeout','_buffers','handleProtocols','join','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_max_window_bits','invalid\x20UTF-8\x20sequence','MASK\x20must\x20be\x20clear','_autoPong','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','476203eWxmtJ','HTTP/1.1\x20','setConfig','MASK\x20must\x20be\x20set','dispatch','reason','nextTick','socket','writeUInt16BE','https','Unexpected\x20character\x20at\x20index\x20','_write','getConfig','_server','collaboration-client-node.config','_closeMessage','error','WS_NO_BUFFER_UTIL','nodebuffer','createInflateRaw','text/plain','set','_readableState','Invalid\x20value\x20for\x20parameter\x20\x22','statusCode','ping','buffers','reset','Z_DEFAULT_WINDOWBITS','wasClean','writable','then','uncork','bufferedAmount','WS_ERR_INVALID_UTF8','end','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_paused','_totalPayloadLength','_binaryType','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','onStarting','readable','createSocket','isValidUTF8','COLLABORATION_CLIENT_NODE_CONFIG_KEY','flush','species','The\x20server\x20is\x20not\x20running','base64','https:','href','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_req','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','kRun','@univerjs-pro/collaboration','setSocket','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_shouldEmitClose','blob','_fragments','\x22\x20must\x20have\x20only\x20a\x20single\x20value','haveLength','@univerjs/network','createError','path','normalizeParams','sha1','RSV1\x20must\x20be\x20clear','origin','toLowerCase','Unsupported\x20protocol\x20version:\x20','_writableState','needDrain','onopen','DisposableCollection','\x22\x20subprotocol\x20is\x20duplicated','_fragmented','_protocol','kMessage','_configService','message','19bxrZRk','bind','http:','alloc','invalid\x20payload\x20length\x20','_messageLength','kByteLength','permessage-deflate','_compressed','_loop','124178gaBtnS','url','@univerjs/core','Server\x20sent\x20an\x20invalid\x20subprotocol','\x22:\x20','unmask','create','WS_ERR_UNEXPECTED_RSV_1','map','pathname','client','env','params','default','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','finish','accept','dataMessage','HTTPService','noServer','toString','_bufferedBytes','concurrency','Unknown\x20parameter\x20\x22','acceptAsClient','address','clientTracking','charCodeAt','auth','keys','createServer','servername','handshakeTimeout','_mask','serverNoContextTakeover','share','kData','kTarget','15385416HZEORD','concat','stream','byteLength','_inflate','_queue','verifyClient','Module','authorized','toStringTag','_closeCode','getBlobData','_decompress','binary','_options','Max\x20payload\x20size\x20exceeded','WS_ERR_EXPECTED_FIN','getPayloadLength64','exports','errorEmitted','registerDependencies','Unexpected\x20end\x20of\x20input','_allowSynchronousEvents','File','_originalHostOrSocketPath','_errored','parse','Connection:\x20Upgrade','_payloadLength','once','host','net','kListener','from','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','pong','defaultPort','autoPong','WS_ERR_INVALID_CLOSE_CODE','connection','abort','sec-websocket-protocol','sec-websocket-extensions','data','readUInt32BE','wsClientError','server_max_window_bits','extensions','client_no_context_takeover','username','Invalid\x20URL:\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','defineProperty','Opening\x20handshake\x20has\x20timed\x20out','_registerDependencies','apply','_closeFrameReceived','getMask','_compress','length','Inject','listeners','value','onerror','_originalSecure','_final','delete','Invalid\x20Sec-WebSocket-Extensions\x20header','sec-websocket-version','_maxPayload','consume','35082rkvtJO','terminate','_removeListeners','CLOSED','slice','sec-websocket-key','wss:','enqueue','allocUnsafe','sec-websocket-accept','ISnapshotServerService','binaryType','handleEvent'];_0x316a=function(){return _0x48c2fa;};return _0x316a();}var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1c9a8c}=ae();function _0x5c3690(_0x2b5ecc){const _0x3cf7e9=_0x5235,_0x5c3320=new Set();let _0xe8142c=-0x1,_0x3c4ba2=-0x1,_0x52eea0=0x0;for(_0x52eea0;_0x52eea0<_0x2b5ecc[_0x3cf7e9(0xa3)];_0x52eea0++){const _0x5725a0=_0x2b5ecc[_0x3cf7e9(0x22c)](_0x52eea0);if(_0x3c4ba2===-0x1&&_0x1c9a8c[_0x5725a0]===0x1)_0xe8142c===-0x1&&(_0xe8142c=_0x52eea0);else{if(_0x52eea0!==0x0&&(_0x5725a0===0x20||_0x5725a0===0x9))_0x3c4ba2===-0x1&&_0xe8142c!==-0x1&&(_0x3c4ba2=_0x52eea0);else{if(_0x5725a0===0x2c){if(_0xe8142c===-0x1)throw new SyntaxError(_0x3cf7e9(0x1bc)+_0x52eea0);_0x3c4ba2===-0x1&&(_0x3c4ba2=_0x52eea0);const _0x45ae77=_0x2b5ecc['slice'](_0xe8142c,_0x3c4ba2);if(_0x5c3320[_0x3cf7e9(0x123)](_0x45ae77))throw new SyntaxError(_0x3cf7e9(0xf7)+_0x45ae77+'\x22\x20subprotocol\x20is\x20duplicated');_0x5c3320[_0x3cf7e9(0x14b)](_0x45ae77),_0xe8142c=_0x3c4ba2=-0x1;}else throw new SyntaxError(_0x3cf7e9(0x1bc)+_0x52eea0);}}}if(_0xe8142c===-0x1||_0x3c4ba2!==-0x1)throw new SyntaxError(_0x3cf7e9(0x7d));const _0x49a2f6=_0x2b5ecc['slice'](_0xe8142c,_0x52eea0);if(_0x5c3320[_0x3cf7e9(0x123)](_0x49a2f6))throw new SyntaxError('The\x20\x22'+_0x49a2f6+_0x3cf7e9(0x201));return _0x5c3320[_0x3cf7e9(0x14b)](_0x49a2f6),_0x5c3320;}return Ce={'parse':_0x5c3690},Ce;}var Te,rt;function Ft(){const _0x1d8c01=_0x456ae0;if(rt)return Te;rt=0x1;const _0x46dcad=nt,_0xde2234=ot,{Duplex:_0x4bc9ae}=oe,{createHash:_0x1afc68}=Le,_0x30fe59=ct(),_0x2b2503=he(),_0x55a1ed=At(),_0x9ceaf8=Pe(),{GUID:_0x10bfa8,kWebSocket:_0x41a94b}=H(),_0x3dfbf9=/^[+/0-9A-Za-z]{22}==$/,_0xc72071=0x0,_0x1f9f2f=0x1,_0x1fb0da=0x2;class _0x5be56e extends _0x46dcad{constructor(_0x5b5f2a,_0xa04f61){const _0x1986b0=_0x5235;if(super(),_0x5b5f2a={'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':_0x9ceaf8,..._0x5b5f2a},_0x5b5f2a['port']==null&&!_0x5b5f2a[_0x1986b0(0x167)]&&!_0x5b5f2a[_0x1986b0(0x224)]||_0x5b5f2a[_0x1986b0(0x1a3)]!=null&&(_0x5b5f2a['server']||_0x5b5f2a['noServer'])||_0x5b5f2a[_0x1986b0(0x167)]&&_0x5b5f2a[_0x1986b0(0x224)])throw new TypeError(_0x1986b0(0x131));if(_0x5b5f2a[_0x1986b0(0x1a3)]!=null?(this['_server']=_0xde2234[_0x1986b0(0x22f)]((_0x206897,_0x3e6fb2)=>{const _0x3c6654=_0x1986b0,_0x3d12fb=_0xde2234[_0x3c6654(0xe6)][0x1aa];_0x3e6fb2[_0x3c6654(0x12b)](0x1aa,{'Content-Length':_0x3d12fb['length'],'Content-Type':_0x3c6654(0x1c6)}),_0x3e6fb2['end'](_0x3d12fb);}),this['_server'][_0x1986b0(0x173)](_0x5b5f2a['port'],_0x5b5f2a[_0x1986b0(0x86)],_0x5b5f2a[_0x1986b0(0x194)],_0xa04f61)):_0x5b5f2a[_0x1986b0(0x167)]&&(this['_server']=_0x5b5f2a[_0x1986b0(0x167)]),this['_server']){const _0x26c7dc=this[_0x1986b0(0x10f)][_0x1986b0(0x208)](this,_0x1986b0(0x8f));this[_0x1986b0(0xb1)]=_0x45fb1f(this[_0x1986b0(0x1bf)],{'listening':this['emit'][_0x1986b0(0x208)](this,_0x1986b0(0x17d)),'error':this[_0x1986b0(0x10f)][_0x1986b0(0x208)](this,'error'),'upgrade':(_0x54d3fc,_0x2fdbe5,_0x22c7c9)=>{const _0x5858a3=_0x1986b0;this[_0x5858a3(0x104)](_0x54d3fc,_0x2fdbe5,_0x22c7c9,_0x26c7dc);}});}_0x5b5f2a[_0x1986b0(0xe3)]===!0x0&&(_0x5b5f2a['perMessageDeflate']={}),_0x5b5f2a[_0x1986b0(0x22b)]&&(this[_0x1986b0(0x10a)]=new Set(),this[_0x1986b0(0x1ef)]=!0x1),this[_0x1986b0(0x150)]=_0x5b5f2a,this[_0x1986b0(0x125)]=_0xc72071;}[_0x1d8c01(0x22a)](){const _0x41eba8=_0x1d8c01;if(this[_0x41eba8(0x150)][_0x41eba8(0x224)])throw new Error(_0x41eba8(0x9b));return this[_0x41eba8(0x1bf)]?this[_0x41eba8(0x1bf)]['address']():null;}[_0x1d8c01(0x15b)](_0x4d687e){const _0x4e7791=_0x1d8c01;if(this[_0x4e7791(0x125)]===_0x1fb0da){_0x4d687e&&this[_0x4e7791(0x85)]('close',()=>{const _0x22700e=_0x4e7791;_0x4d687e(new Error(_0x22700e(0x1e3)));}),process['nextTick'](_0x30fc1,this);return;}if(_0x4d687e&&this['once'](_0x4e7791(0x15b),_0x4d687e),this['_state']!==_0x1f9f2f){if(this[_0x4e7791(0x125)]=_0x1f9f2f,this[_0x4e7791(0x150)][_0x4e7791(0x224)]||this[_0x4e7791(0x150)][_0x4e7791(0x167)])this[_0x4e7791(0x1bf)]&&(this[_0x4e7791(0xb1)](),this[_0x4e7791(0xb1)]=this[_0x4e7791(0x1bf)]=null),this[_0x4e7791(0x10a)]?this[_0x4e7791(0x10a)][_0x4e7791(0x178)]?this[_0x4e7791(0x1ef)]=!0x0:process[_0x4e7791(0x1b8)](_0x30fc1,this):process[_0x4e7791(0x1b8)](_0x30fc1,this);else{const _0x2512b3=this[_0x4e7791(0x1bf)];this[_0x4e7791(0xb1)](),this[_0x4e7791(0xb1)]=this[_0x4e7791(0x1bf)]=null,_0x2512b3[_0x4e7791(0x15b)](()=>{_0x30fc1(this);});}}}[_0x1d8c01(0x126)](_0x978426){const _0x32c760=_0x1d8c01;if(this[_0x32c760(0x150)][_0x32c760(0x1f6)]){const _0x2a5240=_0x978426[_0x32c760(0x212)]['indexOf']('?');if((_0x2a5240!==-0x1?_0x978426[_0x32c760(0x212)][_0x32c760(0xb3)](0x0,_0x2a5240):_0x978426['url'])!==this[_0x32c760(0x150)][_0x32c760(0x1f6)])return!0x1;}return!0x0;}[_0x1d8c01(0x104)](_0x1b850f,_0x9b781,_0x4b1743,_0x560118){const _0x1afc5a=_0x1d8c01;_0x9b781['on'](_0x1afc5a(0x1c2),_0x157a90);const _0xfc8b9b=_0x1b850f['headers'][_0x1afc5a(0xb4)],_0x383682=_0x1b850f[_0x1afc5a(0xc0)][_0x1afc5a(0x121)],_0xb5facd=+_0x1b850f[_0x1afc5a(0xc0)][_0x1afc5a(0xac)];if(_0x1b850f[_0x1afc5a(0x111)]!==_0x1afc5a(0xdd)){_0xb3d372(this,_0x1b850f,_0x9b781,0x195,_0x1afc5a(0x127));return;}if(_0x383682===void 0x0||_0x383682['toLowerCase']()!==_0x1afc5a(0x1a7)){_0xb3d372(this,_0x1b850f,_0x9b781,0x190,_0x1afc5a(0x157));return;}if(_0xfc8b9b===void 0x0||!_0x3dfbf9[_0x1afc5a(0xc3)](_0xfc8b9b)){_0xb3d372(this,_0x1b850f,_0x9b781,0x190,_0x1afc5a(0x1b1));return;}if(_0xb5facd!==0x8&&_0xb5facd!==0xd){_0xb3d372(this,_0x1b850f,_0x9b781,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x1afc5a(0x126)](_0x1b850f)){_0x2a0323(_0x9b781,0x190);return;}const _0x352726=_0x1b850f[_0x1afc5a(0xc0)][_0x1afc5a(0x91)];let _0xb1bf45=new Set();if(_0x352726!==void 0x0)try{_0xb1bf45=_0x55a1ed[_0x1afc5a(0x82)](_0x352726);}catch{_0xb3d372(this,_0x1b850f,_0x9b781,0x190,_0x1afc5a(0x12d));return;}const _0x2e91c2=_0x1b850f['headers'][_0x1afc5a(0x92)],_0x43c31b={};if(this[_0x1afc5a(0x150)][_0x1afc5a(0xe3)]&&_0x2e91c2!==void 0x0){const _0x24c59f=new _0x2b2503(this[_0x1afc5a(0x150)][_0x1afc5a(0xe3)],!0x0,this[_0x1afc5a(0x150)][_0x1afc5a(0x141)]);try{const _0x1fb510=_0x30fe59['parse'](_0x2e91c2);_0x1fb510[_0x2b2503[_0x1afc5a(0xd8)]]&&(_0x24c59f[_0x1afc5a(0x221)](_0x1fb510[_0x2b2503[_0x1afc5a(0xd8)]]),_0x43c31b[_0x2b2503[_0x1afc5a(0xd8)]]=_0x24c59f);}catch{_0xb3d372(this,_0x1b850f,_0x9b781,0x190,_0x1afc5a(0x1ac));return;}}if(this[_0x1afc5a(0x150)][_0x1afc5a(0x23d)]){const _0x3eae6b={'origin':_0x1b850f[_0x1afc5a(0xc0)][''+(_0xb5facd===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x1b850f[_0x1afc5a(0x1b9)][_0x1afc5a(0x23f)]||_0x1b850f[_0x1afc5a(0x1b9)][_0x1afc5a(0x160)]),'req':_0x1b850f};if(this[_0x1afc5a(0x150)]['verifyClient'][_0x1afc5a(0xa3)]===0x2){this[_0x1afc5a(0x150)][_0x1afc5a(0x23d)](_0x3eae6b,(_0x53c7d4,_0x13a15c,_0x2d54fe,_0x15ebb5)=>{const _0x35a08f=_0x1afc5a;if(!_0x53c7d4)return _0x2a0323(_0x9b781,_0x13a15c||0x191,_0x2d54fe,_0x15ebb5);this[_0x35a08f(0x19a)](_0x43c31b,_0xfc8b9b,_0xb1bf45,_0x1b850f,_0x9b781,_0x4b1743,_0x560118);});return;}if(!this[_0x1afc5a(0x150)][_0x1afc5a(0x23d)](_0x3eae6b))return _0x2a0323(_0x9b781,0x191);}this['completeUpgrade'](_0x43c31b,_0xfc8b9b,_0xb1bf45,_0x1b850f,_0x9b781,_0x4b1743,_0x560118);}[_0x1d8c01(0x19a)](_0x502ba4,_0x7bb3e7,_0x2f6627,_0x17df74,_0x369a92,_0x52560a,_0x619ce8){const _0x5cb4c2=_0x1d8c01;if(!_0x369a92[_0x5cb4c2(0x1dd)]||!_0x369a92[_0x5cb4c2(0x1d0)])return _0x369a92[_0x5cb4c2(0x13f)]();if(_0x369a92[_0x41a94b])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x5cb4c2(0x125)]>_0xc72071)return _0x2a0323(_0x369a92,0x1f7);const _0x4a0b22=[_0x5cb4c2(0x1a4),'Upgrade:\x20websocket',_0x5cb4c2(0x83),_0x5cb4c2(0x116)+_0x1afc68(_0x5cb4c2(0x1f8))[_0x5cb4c2(0x129)](_0x7bb3e7+_0x10bfa8)[_0x5cb4c2(0x118)]('base64')],_0x36feb0=new this[(_0x5cb4c2(0x150))][(_0x5cb4c2(0xca))](null,void 0x0,this[_0x5cb4c2(0x150)]);if(_0x2f6627[_0x5cb4c2(0x178)]){const _0x477f84=this['options'][_0x5cb4c2(0x1aa)]?this[_0x5cb4c2(0x150)][_0x5cb4c2(0x1aa)](_0x2f6627,_0x17df74):_0x2f6627[_0x5cb4c2(0xfd)]()['next']()[_0x5cb4c2(0xa6)];_0x477f84&&(_0x4a0b22[_0x5cb4c2(0x158)](_0x5cb4c2(0x18e)+_0x477f84),_0x36feb0[_0x5cb4c2(0x203)]=_0x477f84);}if(_0x502ba4[_0x2b2503[_0x5cb4c2(0xd8)]]){const _0x1c373a=_0x502ba4[_0x2b2503[_0x5cb4c2(0xd8)]][_0x5cb4c2(0x21d)],_0x5d815d=_0x30fe59[_0x5cb4c2(0xbc)]({[_0x2b2503[_0x5cb4c2(0xd8)]]:[_0x1c373a]});_0x4a0b22[_0x5cb4c2(0x158)]('Sec-WebSocket-Extensions:\x20'+_0x5d815d),_0x36feb0[_0x5cb4c2(0x13b)]=_0x502ba4;}this[_0x5cb4c2(0x10f)](_0x5cb4c2(0xc0),_0x4a0b22,_0x17df74),_0x369a92[_0x5cb4c2(0x109)](_0x4a0b22['concat']('\x0d\x0a')[_0x5cb4c2(0x1ab)]('\x0d\x0a')),_0x369a92[_0x5cb4c2(0xce)](_0x5cb4c2(0x1c2),_0x157a90),_0x36feb0[_0x5cb4c2(0x1ed)](_0x369a92,_0x52560a,{'allowSynchronousEvents':this[_0x5cb4c2(0x150)]['allowSynchronousEvents'],'maxPayload':this[_0x5cb4c2(0x150)][_0x5cb4c2(0x141)],'skipUTF8Validation':this['options'][_0x5cb4c2(0xf2)]}),this['clients']&&(this[_0x5cb4c2(0x10a)]['add'](_0x36feb0),_0x36feb0['on'](_0x5cb4c2(0x15b),()=>{const _0x1340ae=_0x5cb4c2;this['clients'][_0x1340ae(0xaa)](_0x36feb0),this['_shouldEmitClose']&&!this['clients'][_0x1340ae(0x178)]&&process[_0x1340ae(0x1b8)](_0x30fc1,this);})),_0x619ce8(_0x36feb0,_0x17df74);}}Te=_0x5be56e;function _0x45fb1f(_0x42f7d3,_0x452ee4){const _0x457819=_0x1d8c01;for(const _0x33031a of Object[_0x457819(0x22e)](_0x452ee4))_0x42f7d3['on'](_0x33031a,_0x452ee4[_0x33031a]);return function(){const _0x39daa0=_0x457819;for(const _0x3b2b8c of Object[_0x39daa0(0x22e)](_0x452ee4))_0x42f7d3['removeListener'](_0x3b2b8c,_0x452ee4[_0x3b2b8c]);};}function _0x30fc1(_0x137264){const _0x43b4c3=_0x1d8c01;_0x137264[_0x43b4c3(0x125)]=_0x1fb0da,_0x137264[_0x43b4c3(0x10f)](_0x43b4c3(0x15b));}function _0x157a90(){const _0x1f581b=_0x1d8c01;this[_0x1f581b(0x13f)]();}function _0x2a0323(_0x2c0b34,_0x28c65b,_0x4572eb,_0x102527){const _0x5f5406=_0x1d8c01;_0x4572eb=_0x4572eb||_0xde2234[_0x5f5406(0xe6)][_0x28c65b],_0x102527={'Connection':'close','Content-Type':_0x5f5406(0x174),'Content-Length':Buffer[_0x5f5406(0x23a)](_0x4572eb),..._0x102527},_0x2c0b34[_0x5f5406(0x85)]('finish',_0x2c0b34['destroy']),_0x2c0b34['end'](_0x5f5406(0x1b3)+_0x28c65b+'\x20'+_0xde2234[_0x5f5406(0xe6)][_0x28c65b]+'\x0d\x0a'+Object[_0x5f5406(0x22e)](_0x102527)[_0x5f5406(0x219)](_0xe11b13=>_0xe11b13+':\x20'+_0x102527[_0xe11b13])[_0x5f5406(0x1ab)]('\x0d\x0a')+_0x5f5406(0xcc)+_0x4572eb);}function _0xb3d372(_0x1d3c13,_0x25fd7f,_0x302f8f,_0x5e9f95,_0x5e0638){const _0x5e4473=_0x1d8c01;if(_0x1d3c13[_0x5e4473(0x171)](_0x5e4473(0x95))){const _0x4da22b=new Error(_0x5e0638);Error['captureStackTrace'](_0x4da22b,_0xb3d372),_0x1d3c13[_0x5e4473(0x10f)](_0x5e4473(0x95),_0x4da22b,_0x302f8f,_0x25fd7f);}else _0x2a0323(_0x302f8f,_0x5e9f95,_0x5e0638);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x36c5f7,_0x577ed7,_0x399163,_0xc8dadc)=>{for(var _0x473f27=_0xc8dadc>0x1?void 0x0:_0xc8dadc?jt(_0x577ed7,_0x399163):_0x577ed7,_0x189f87=_0x36c5f7['length']-0x1,_0x5aaf76;_0x189f87>=0x0;_0x189f87--)(_0x5aaf76=_0x36c5f7[_0x189f87])&&(_0x473f27=_0x5aaf76(_0x473f27)||_0x473f27);return _0x473f27;},qt=(_0x519af8,_0x241bd1)=>(_0x5dc685,_0x10d130)=>_0x241bd1(_0x5dc685,_0x10d130,_0x519af8);let ke=class extends A[_0x456ae0(0x182)]{constructor(_0x52fee6){const _0x58aaf0=_0x456ae0;super(),this[_0x58aaf0(0x205)]=_0x52fee6;}[_0x456ae0(0x1de)](_0x55ffca){const _0x38ca01=_0x456ae0;var _0x183fcc;const _0x17a164=(_0x183fcc=this['_configService'][_0x38ca01(0x1be)](fe))==null?void 0x0:_0x183fcc[_0x38ca01(0xea)];try{const _0x4e128d=new $t(_0x55ffca,{'headers':{..._0x17a164}}),_0x2d4a1e=new A[(_0x38ca01(0x200))]();return{'URL':_0x55ffca,'close':(_0x42ac9b,_0x5ec191)=>{const _0x463d08=_0x38ca01;_0x4e128d[_0x463d08(0x15b)](_0x42ac9b,_0x5ec191),_0x2d4a1e['dispose']();},'send':_0x177abb=>{const _0x5a36b2=_0x38ca01;_0x4e128d[_0x5a36b2(0x12c)](_0x177abb);},'open$':new V[(_0x38ca01(0xd1))](_0xbc2a48=>{const _0x253fbf=_0x38ca01,_0x4103f7=_0x355ba3=>_0xbc2a48['next'](_0x355ba3);_0x4e128d['addEventListener'](_0x253fbf(0xc6),_0x4103f7),_0x2d4a1e[_0x253fbf(0x14b)](A['toDisposable'](()=>_0x4e128d[_0x253fbf(0x144)](_0x253fbf(0xc6),_0x4103f7)));})[_0x38ca01(0xe7)](V['share']()),'close$':new V[(_0x38ca01(0xd1))](_0x420f81=>{const _0x1ecfbf=_0x38ca01,_0x9382f=_0x49c82d=>_0x420f81['next'](_0x49c82d);_0x4e128d['addEventListener'](_0x1ecfbf(0x15b),_0x9382f),_0x2d4a1e[_0x1ecfbf(0x14b)](A[_0x1ecfbf(0x192)](()=>_0x4e128d[_0x1ecfbf(0x144)](_0x1ecfbf(0x15b),_0x9382f)));})['pipe'](V[_0x38ca01(0x234)]()),'error$':new V[(_0x38ca01(0xd1))](_0x25797c=>{const _0x3d4fe0=_0x38ca01,_0x8012ea=_0x321c0d=>_0x25797c[_0x3d4fe0(0x155)](_0x321c0d);_0x4e128d[_0x3d4fe0(0xe0)](_0x3d4fe0(0x1c2),_0x8012ea),_0x2d4a1e[_0x3d4fe0(0x14b)](A[_0x3d4fe0(0x192)](()=>_0x4e128d[_0x3d4fe0(0x144)](_0x3d4fe0(0x1c2),_0x8012ea)));})[_0x38ca01(0xe7)](V[_0x38ca01(0x234)]()),'message$':new V[(_0x38ca01(0xd1))](_0x1e385e=>{const _0x2c82e4=_0x38ca01,_0x14b040=_0x19d41f=>_0x1e385e[_0x2c82e4(0x155)](_0x19d41f);_0x4e128d['addEventListener']('message',_0x14b040),_0x2d4a1e[_0x2c82e4(0x14b)](A[_0x2c82e4(0x192)](()=>_0x4e128d[_0x2c82e4(0x144)](_0x2c82e4(0x206),_0x14b040)));})[_0x38ca01(0xe7)](V[_0x38ca01(0x234)]())};}catch(_0x9a0a20){return console['error'](_0x9a0a20),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x456ae0(0x9c)],Vt=Object[_0x456ae0(0x163)],Ht=(_0x476408,_0x5b4c9c,_0x5ecd4b)=>_0x5b4c9c in _0x476408?Gt(_0x476408,_0x5b4c9c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ecd4b}):_0x476408[_0x5b4c9c]=_0x5ecd4b,zt=(_0xd1ef6e,_0x100c3c,_0xb79b54,_0x6c541d)=>{const _0x166750=_0x456ae0;for(var _0x3d6ef2=_0x6c541d>0x1?void 0x0:_0x6c541d?Vt(_0x100c3c,_0xb79b54):_0x100c3c,_0x55111a=_0xd1ef6e[_0x166750(0xa3)]-0x1,_0x41039b;_0x55111a>=0x0;_0x55111a--)(_0x41039b=_0xd1ef6e[_0x55111a])&&(_0x3d6ef2=_0x41039b(_0x3d6ef2)||_0x3d6ef2);return _0x3d6ef2;},Ne=(_0x472fe9,_0x3e4406)=>(_0x2ef102,_0x5b70a5)=>_0x3e4406(_0x2ef102,_0x5b70a5,_0x472fe9),Yt=(_0x44bafd,_0x3d7f50,_0x9b182a)=>Ht(_0x44bafd,_0x3d7f50+'',_0x9b182a);exports[_0x456ae0(0x15e)]=class extends A[_0x456ae0(0x107)]{constructor(_0x65f8b1=Ct,_0x2352f5,_0x55ce83,_0x232d44){const _0x539321=_0x456ae0;_0x65f8b1[_0x539321(0xea)]||_0x2352f5['warn'](_0x539321(0x1ee)),super(),this['_configService']=_0x55ce83,this[_0x539321(0x183)]=_0x232d44,this['_configService'][_0x539321(0x1b4)](fe,_0x65f8b1);}[_0x456ae0(0x1dc)](){const _0x39e6ff=_0x456ae0;this[_0x39e6ff(0x9e)]();}[_0x456ae0(0x9e)](){const _0x206289=_0x456ae0;A[_0x206289(0x7c)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x456ae0(0x191),_0x456ae0(0x8a)),exports[_0x456ae0(0x15e)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x456ae0(0x161)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x456ae0(0xa4)](A[_0x456ae0(0x15f)]))],exports[_0x456ae0(0x15e)]);var Kt=Object[_0x456ae0(0x163)],Xt=(_0x3024b0,_0x518113,_0x13f27c,_0x4d169e)=>{const _0x4d854b=_0x456ae0;for(var _0x4e70cf=_0x4d169e>0x1?void 0x0:_0x4d169e?Kt(_0x518113,_0x13f27c):_0x518113,_0x5bb531=_0x3024b0[_0x4d854b(0xa3)]-0x1,_0x2ea94e;_0x5bb531>=0x0;_0x5bb531--)(_0x2ea94e=_0x3024b0[_0x5bb531])&&(_0x4e70cf=_0x2ea94e(_0x4e70cf)||_0x4e70cf);return _0x4e70cf;},ne=(_0x344007,_0x493cb0)=>(_0x4115a0,_0x5be37f)=>_0x493cb0(_0x4115a0,_0x5be37f,_0x344007);exports[_0x456ae0(0x14c)]=class extends st['CollaborationSocketService']{constructor(_0x43d15f,_0x263e52,_0x15e717,_0x304c9a,_0x244cb0){const _0x35d0e0=_0x456ae0;super(_0x43d15f,_0x263e52,_0x15e717,_0x304c9a,_0x244cb0);const _0x23874f=this[_0x35d0e0(0x205)][_0x35d0e0(0x1be)](fe);this[_0x35d0e0(0xf6)][_0x35d0e0(0x177)]({'interceptor':(_0x11424f,_0x381d75)=>{const _0x28c629=_0x35d0e0;var _0x3143b7;const _0x346fe6=_0x11424f[_0x28c629(0xc0)];return(_0x3143b7=_0x23874f==null?void 0x0:_0x23874f['customHeaders'])!=null&&_0x3143b7[_0x28c629(0x11f)]&&_0x346fe6[_0x28c629(0x1c7)](_0x28c629(0x1a6),_0x23874f[_0x28c629(0xea)][_0x28c629(0x11f)]),_0x381d75(_0x11424f);}});}async[_0x456ae0(0x1de)](_0x5971fc){return this['_doCreateSocket'](_0x5971fc);}},exports[_0x456ae0(0x14c)]=Xt([ne(0x0,A[_0x456ae0(0xa4)](A[_0x456ae0(0x15f)])),ne(0x1,A['Inject'](it[_0x456ae0(0x223)])),ne(0x2,A[_0x456ae0(0x14e)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x456ae0(0xb9)])],exports[_0x456ae0(0x14c)]),exports[_0x456ae0(0x1e0)]=fe;
|
|
1
|
+
'use strict';const _0x85a53=_0x2d0d;(function(_0x574a18,_0x59894f){const _0x49f2c0=_0x2d0d,_0x424079=_0x574a18();while(!![]){try{const _0x9f337a=parseInt(_0x49f2c0(0x1bb))/0x1+parseInt(_0x49f2c0(0x234))/0x2*(parseInt(_0x49f2c0(0x22a))/0x3)+-parseInt(_0x49f2c0(0x1bd))/0x4+-parseInt(_0x49f2c0(0x14f))/0x5+parseInt(_0x49f2c0(0x17a))/0x6*(-parseInt(_0x49f2c0(0x240))/0x7)+-parseInt(_0x49f2c0(0x189))/0x8*(parseInt(_0x49f2c0(0xef))/0x9)+-parseInt(_0x49f2c0(0xdf))/0xa*(-parseInt(_0x49f2c0(0x18d))/0xb);if(_0x9f337a===_0x59894f)break;else _0x424079['push'](_0x424079['shift']());}catch(_0x54e19e){_0x424079['push'](_0x424079['shift']());}}}(_0x3320,0x5deca));Object['defineProperty'](exports,Symbol[_0x85a53(0x265)],{'value':'Module'});function _0x3320(){const _0x4c351e=['base64','cookie','replace','invalid\x20payload\x20length\x20','getPayloadLength16','kWasClean','IConfigService','\x0d\x0a\x0d\x0a','concat','parse','_originalSecure','wsClientError','total-length','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_masked','UniverCollaborationClientPlugin','NodeCollaborationSocketService','response','unmask','getConfig','onclose','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','protocolVersion','kListener','finish','followRedirects','_maskBuffer','server','handshakeTimeout','readUInt32BE','shift','once','cork','_final','Sec-WebSocket-Protocol','listen','error','_fragments','default','Cookie','__esModule','connect','value','_buffers','isPaused','_originalIpc','toLowerCase','readyState','WS_ERR_UNEXPECTED_RSV_2_3','socket','noServer','reason','crypto','_totalPayloadLength','_firstFragment','_no_context_takeover','Invalid\x20Upgrade\x20header','port','pending','test','options','kMessage','opcode','ILogService','Sec-WebSocket-Extensions','defineProperty','_inflate','_closeCode','getMask','_errorEmitted','perMessageDeflate','Unknown\x20parameter\x20\x22','share','pow','createConnection','cleanup','readable','normalizeParams','client_max_window_bits','offer','clientMaxWindowBits','_messageLength','sendFrame','Unsupported\x20protocol\x20version:\x20','Invalid\x20value\x20for\x20parameter\x20\x22','statusCode','nodebuffer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','listeners','consume','invalid\x20status\x20code\x20','onStarting','setSocket','6FGiQnO','Invalid\x20Sec-WebSocket-Extensions\x20header','WS_ERR_UNEXPECTED_RSV_1','dispatch','Disposable','\x20(supported\x20versions:\x20','RSV1\x20must\x20be\x20clear','kReason','controlMessage','captureStackTrace','290772bytTqN','tls','_redirects','_socket','_generateMask','destroyed','setHeader','Invalid\x20URL:\x20','_autoPong','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','env','Z_SYNC_FLUSH','35HhgSgP','open','_queue','wasClean','isIP','Module','sec-websocket-key','readOnly','setConfig','Maximum\x20redirects\x20exceeded','setNoDelay','code','serverMaxWindowBits','href','GET','type','createInflateRaw','setTimeout','_paused','sec-websocket-version','isServer','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_removeListeners','find','includes','nextTick','set','_extensions','jobs','alloc','createDeflateRaw','Upgrade','finishRequest','autoPong','kData','acceptAsClient','_sender','toStringTag','accept','end','bind','_injector','getData','username','CLOSING','upgrade','from','backlog','location','handleUpgrade','pause','headers','UniverCollaborationClientNodePlugin','redirect','onmessage','WS_ERR_EXPECTED_MASK','_errored','create','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','status-code','values','byteLength','indexOf','sec-websocket-protocol','clients','write','then','keys','close','Parameter\x20\x22','WS_ERR_INVALID_CLOSE_CODE','generateMask','forEach','text/plain','join','websocket','allowSynchronousEvents','removeEventListener','connection','writeUInt16BE','has','decompress','addEventListener','Observable','WS_NO_BUFFER_UTIL','The\x20server\x20is\x20not\x20running','ping','kIsForOnEventAttribute','registerHTTPInterceptor','COLLABORATION_CLIENT_NODE_CONFIG_KEY','MASK\x20must\x20be\x20clear','update','_closeMessage','2140UFPuLq','objectMode','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','@univerjs/network','getInfo','maxPayload','address','WebSocket','freeze','haveLength','constructor','conclude','species','collaboration-client-node.config','split','message','178893UAUmez','method','sec-websocket-extensions','server_max_window_bits','ISnapshotServerService','compress','serverNoContextTakeover','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','HTTPService','fin','defaultPort','arraybuffer','add','_opcode','_configService','_receiver','kDone','_options','pong','kType','host','_server','toString','CollaborationSocketService','drain','Injector','object','Plugin','flush','invalid\x20opcode\x20','sha1','extensionName','registerDependencies','Connection:\x20Upgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x20','invalid\x20UTF-8\x20sequence','request','_readyState','Unexpected\x20end\x20of\x20input','url','_maxPayload','WS_ERR_INVALID_OPCODE','_isServer','startsWith','kRun','\x22\x20subprotocol\x20is\x20duplicated','\x22:\x20','data','https:','protocol','hostname','Z_DEFAULT_WINDOWBITS','catch','_state','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','WS_NO_UTF_8_VALIDATE','timeout','getPayloadLength64','createError','frame','resume','allocUnsafe','http','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','socketPath','startLoop','_write','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Upgrade:\x20websocket','server_no_context_takeover','abort','Invalid\x20HTTP\x20method','exports','isArray','push','onerror','finished','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_protocol','_compressed','dequeue','isInteger','pipe','STATUS_CODES','Sec-WebSocket-Accept:\x20','_compress','charCodeAt','Server\x20sent\x20no\x20subprotocol','wss:','slice','prototype','toDisposable','@univerjs-pro/collaboration','length','permessage-deflate','1426145SeCDRZ','endEmitted','maskBuffer','pathname','Sec-WebSocket-Origin','_skipUTF8Validation','emitClose','_loop','createSocket','MASK\x20must\x20be\x20set','WS_ERR_INVALID_UTF8','_max_window_bits','The\x20\x22','map','_originalHostOrSocketPath','Invalid\x20Sec-WebSocket-Accept\x20header','_destroy','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','send','acceptAsServer','byteOffset','authorization','writable','mask','enqueue','size','binaryType','_decompress','apply','_closeFrameReceived','_readableState','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','readUInt16BE','function','zlibDeflateOptions','_mask','_closeTimer','read','onopen','completeUpgrade','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_bufferedBytes','search','846864ndGJjA','WS_ERR_UNEXPECTED_MASK','auth','verifyClient','Inject','callback','concurrency','emit','encrypted','pluginName','_deflate','kCode','Unexpected\x20character\x20at\x20index\x20','_closeFrameSent','_binaryType','176IDiQaR','terminate','Opening\x20handshake\x20has\x20timed\x20out','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','80905OUzAWB','_httpService','getBlobData','Unexpected\x20server\x20response:\x20','handleProtocols','number','zlibInflateOptions','getOwnPropertyDescriptor','_threshold','next','password','stream','reset','buffer','clientNoContextTakeover','Max\x20payload\x20size\x20exceeded','Blob','_payloadLength','ws:','_fin','servername','blob','_shouldEmitClose','CLOSED','OPEN','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','extensions','customHeaders','_registerDependencies','dataMessage','_fragmented','origin','client_no_context_takeover','handleEvent','errorEmitted','call','events','listenerCount','uncork','_bufferedAmount','net','concurrencyLimit','Sec-WebSocket-Protocol:\x20','shouldHandle','rsv1','CONNECTING','631888BhaSMh','Server\x20sent\x20an\x20invalid\x20subprotocol','2734692ozYLZk','path','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_req','_writableState','string','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','createServer','_allowSynchronousEvents','skipUTF8Validation','destroy','removeListener','_doCreateSocket','target','params'];_0x3320=function(){return _0x4c351e;};return _0x3320();}const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require(_0x85a53(0xe2)),V=require('rxjs'),nt=require(_0x85a53(0x1b1)),vt=require('https'),ot=require(_0x85a53(0x12d)),St=require(_0x85a53(0x1b5)),Et=require(_0x85a53(0x235)),Le=require(_0x85a53(0x201)),oe=require(_0x85a53(0x198)),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require(_0x85a53(0x14c)),fe=_0x85a53(0xec),Ct={'customHeaders':{}};function Tt(_0x8010d8){const _0x251d12=_0x85a53;return _0x8010d8&&_0x8010d8[_0x251d12(0x1f5)]&&Object[_0x251d12(0x14a)]['hasOwnProperty']['call'](_0x8010d8,'default')?_0x8010d8[_0x251d12(0x1f3)]:_0x8010d8;}function at(_0x255fb8){const _0x4a11dc=_0x85a53;if(_0x255fb8[_0x4a11dc(0x1f5)])return _0x255fb8;var _0x26b140=_0x255fb8[_0x4a11dc(0x1f3)];if(typeof _0x26b140==_0x4a11dc(0x170)){var _0x58384a=function _0x66f77c(){const _0x3e5c0e=_0x4a11dc;return this instanceof _0x66f77c?Reflect['construct'](_0x26b140,arguments,this[_0x3e5c0e(0xe9)]):_0x26b140[_0x3e5c0e(0x16b)](this,arguments);};_0x58384a[_0x4a11dc(0x14a)]=_0x26b140[_0x4a11dc(0x14a)];}else _0x58384a={};return Object[_0x4a11dc(0x20e)](_0x58384a,_0x4a11dc(0x1f5),{'value':!0x0}),Object[_0x4a11dc(0xc5)](_0x255fb8)[_0x4a11dc(0xca)](function(_0x161bca){const _0x31cd34=_0x4a11dc;var _0x1c4b4a=Object[_0x31cd34(0x194)](_0x255fb8,_0x161bca);Object[_0x31cd34(0x20e)](_0x58384a,_0x161bca,_0x1c4b4a['get']?_0x1c4b4a:{'enumerable':!0x0,'get':function(){return _0x255fb8[_0x161bca];}});}),_0x58384a;}var se={'exports':{}},ge,Ge;function H(){const _0x154e81=_0x85a53;if(Ge)return ge;Ge=0x1;const _0xaf32ec=[_0x154e81(0x223),_0x154e81(0xfa),'fragments'],_0x3b052e=typeof Blob<'u';return _0x3b052e&&_0xaf32ec[_0x154e81(0x13a)](_0x154e81(0x1a2)),ge={'BINARY_TYPES':_0xaf32ec,'EMPTY_BUFFER':Buffer[_0x154e81(0x25d)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3b052e,'kForOnEventAttribute':Symbol(_0x154e81(0xd9)),'kListener':Symbol(_0x154e81(0x1e4)),'kStatusCode':Symbol(_0x154e81(0xbd)),'kWebSocket':Symbol(_0x154e81(0xcd)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x85a53(0x245)})),Lt=at(kt);var Ve;function ce(){const _0x325c99=_0x85a53;if(Ve)return se[_0x325c99(0x138)];Ve=0x1;const {EMPTY_BUFFER:_0x52656c}=H(),_0xf5527f=Buffer[Symbol[_0x325c99(0xeb)]];function _0x334393(_0xbb02e6,_0x3d1f91){const _0x3e9c85=_0x325c99;if(_0xbb02e6['length']===0x0)return _0x52656c;if(_0xbb02e6[_0x3e9c85(0x14d)]===0x1)return _0xbb02e6[0x0];const _0x4cde2d=Buffer['allocUnsafe'](_0x3d1f91);let _0x485b57=0x0;for(let _0x41e46=0x0;_0x41e46<_0xbb02e6[_0x3e9c85(0x14d)];_0x41e46++){const _0x387a7d=_0xbb02e6[_0x41e46];_0x4cde2d[_0x3e9c85(0x25a)](_0x387a7d,_0x485b57),_0x485b57+=_0x387a7d[_0x3e9c85(0x14d)];}return _0x485b57<_0x3d1f91?new _0xf5527f(_0x4cde2d['buffer'],_0x4cde2d[_0x3e9c85(0x163)],_0x485b57):_0x4cde2d;}function _0x1af13c(_0x4bb378,_0x1a1164,_0x3a2c00,_0x3dab9c,_0x3049a8){for(let _0x136e31=0x0;_0x136e31<_0x3049a8;_0x136e31++)_0x3a2c00[_0x3dab9c+_0x136e31]=_0x4bb378[_0x136e31]^_0x1a1164[_0x136e31&0x3];}function _0x56bb5b(_0xe2648c,_0x4149d9){const _0x2391fc=_0x325c99;for(let _0x34a165=0x0;_0x34a165<_0xe2648c[_0x2391fc(0x14d)];_0x34a165++)_0xe2648c[_0x34a165]^=_0x4149d9[_0x34a165&0x3];}function _0x5ef726(_0x101423){const _0x17f200=_0x325c99;return _0x101423[_0x17f200(0x14d)]===_0x101423['buffer'][_0x17f200(0xbf)]?_0x101423[_0x17f200(0x19a)]:_0x101423[_0x17f200(0x19a)][_0x17f200(0x149)](_0x101423[_0x17f200(0x163)],_0x101423[_0x17f200(0x163)]+_0x101423[_0x17f200(0x14d)]);}function _0x383922(_0x2f28d0){const _0x199888=_0x325c99;if(_0x383922[_0x199888(0x247)]=!0x0,Buffer['isBuffer'](_0x2f28d0))return _0x2f28d0;let _0x543fa5;return _0x2f28d0 instanceof ArrayBuffer?_0x543fa5=new _0xf5527f(_0x2f28d0):ArrayBuffer['isView'](_0x2f28d0)?_0x543fa5=new _0xf5527f(_0x2f28d0[_0x199888(0x19a)],_0x2f28d0[_0x199888(0x163)],_0x2f28d0[_0x199888(0xbf)]):(_0x543fa5=Buffer[_0x199888(0x26e)](_0x2f28d0),_0x383922[_0x199888(0x247)]=!0x1),_0x543fa5;}if(se[_0x325c99(0x138)]={'concat':_0x334393,'mask':_0x1af13c,'toArrayBuffer':_0x5ef726,'toBuffer':_0x383922,'unmask':_0x56bb5b},!process[_0x325c99(0x23e)][_0x325c99(0xd6)])try{const _0x371c0c=Lt;se['exports'][_0x325c99(0x166)]=function(_0x10bd2e,_0x4af0c4,_0x40e973,_0x2165d7,_0x21ca23){const _0x82cca3=_0x325c99;_0x21ca23<0x30?_0x1af13c(_0x10bd2e,_0x4af0c4,_0x40e973,_0x2165d7,_0x21ca23):_0x371c0c[_0x82cca3(0x166)](_0x10bd2e,_0x4af0c4,_0x40e973,_0x2165d7,_0x21ca23);},se[_0x325c99(0x138)][_0x325c99(0x1df)]=function(_0x4aa07a,_0x1b29f2){const _0xdd9ca7=_0x325c99;_0x4aa07a['length']<0x20?_0x56bb5b(_0x4aa07a,_0x1b29f2):_0x371c0c[_0xdd9ca7(0x1df)](_0x4aa07a,_0x1b29f2);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x2f57a7=_0x85a53;if(He)return ye;He=0x1;const _0x5873a3=Symbol(_0x2f57a7(0xff)),_0x5272f7=Symbol(_0x2f57a7(0x11b));class _0x582271{constructor(_0x3921a6){const _0x169946=_0x2f57a7;this[_0x5873a3]=()=>{const _0x54a223=_0x2d0d;this[_0x54a223(0x207)]--,this[_0x5272f7]();},this[_0x169946(0x180)]=_0x3921a6||0x1/0x0,this[_0x169946(0x25c)]=[],this[_0x169946(0x207)]=0x0;}['add'](_0x478cae){const _0x9b9ce1=_0x2f57a7;this[_0x9b9ce1(0x25c)][_0x9b9ce1(0x13a)](_0x478cae),this[_0x5272f7]();}[_0x5272f7](){const _0x34d38b=_0x2f57a7;if(this[_0x34d38b(0x207)]!==this[_0x34d38b(0x180)]&&this[_0x34d38b(0x25c)]['length']){const _0x5c1f8b=this[_0x34d38b(0x25c)][_0x34d38b(0x1eb)]();this[_0x34d38b(0x207)]++,_0x5c1f8b(this[_0x5873a3]);}}}return ye=_0x582271,ye;}var ve,ze;function he(){const _0x5bd40c=_0x85a53;if(ze)return ve;ze=0x1;const _0x2e7357=bt,_0x23c7b3=ce(),_0x11983c=Pt(),{kStatusCode:_0x5e77f9}=H(),_0x3c1bcf=Buffer[Symbol[_0x5bd40c(0xeb)]],_0x3220ad=Buffer[_0x5bd40c(0x26e)]([0x0,0x0,0xff,0xff]),_0x36e010=Symbol(_0x5bd40c(0x14e)),_0x4d2808=Symbol(_0x5bd40c(0x1d9)),_0x3585af=Symbol(_0x5bd40c(0x17f)),_0x2d5a85=Symbol('buffers'),_0x48899d=Symbol('error');let _0x4d0f33;class _0x399f39{constructor(_0x3e06ab,_0x826b69,_0x259bbd){const _0x25d402=_0x5bd40c;if(this[_0x25d402(0x117)]=_0x259bbd|0x0,this[_0x25d402(0x100)]=_0x3e06ab||{},this[_0x25d402(0x195)]=this[_0x25d402(0x100)]['threshold']!==void 0x0?this[_0x25d402(0x100)]['threshold']:0x400,this[_0x25d402(0x119)]=!!_0x826b69,this[_0x25d402(0x184)]=null,this[_0x25d402(0x20f)]=null,this[_0x25d402(0x1cc)]=null,!_0x4d0f33){const _0x5743c8=this[_0x25d402(0x100)][_0x25d402(0x1b6)]!==void 0x0?this[_0x25d402(0x100)][_0x25d402(0x1b6)]:0xa;_0x4d0f33=new _0x11983c(_0x5743c8);}}static get[_0x5bd40c(0x10e)](){const _0x822688=_0x5bd40c;return _0x822688(0x14e);}[_0x5bd40c(0x21c)](){const _0x382c38=_0x5bd40c,_0x3cbbc3={};return this[_0x382c38(0x100)][_0x382c38(0xf5)]&&(_0x3cbbc3[_0x382c38(0x135)]=!0x0),this['_options'][_0x382c38(0x19b)]&&(_0x3cbbc3[_0x382c38(0x1ad)]=!0x0),this[_0x382c38(0x100)]['serverMaxWindowBits']&&(_0x3cbbc3[_0x382c38(0xf2)]=this[_0x382c38(0x100)][_0x382c38(0x24c)]),this[_0x382c38(0x100)][_0x382c38(0x21d)]?_0x3cbbc3['client_max_window_bits']=this[_0x382c38(0x100)][_0x382c38(0x21d)]:this[_0x382c38(0x100)][_0x382c38(0x21d)]==null&&(_0x3cbbc3[_0x382c38(0x21b)]=!0x0),_0x3cbbc3;}[_0x5bd40c(0x266)](_0x530557){const _0x5c239b=_0x5bd40c;return _0x530557=this[_0x5c239b(0x21a)](_0x530557),this[_0x5c239b(0x1cc)]=this['_isServer']?this[_0x5c239b(0x162)](_0x530557):this[_0x5c239b(0x263)](_0x530557),this[_0x5c239b(0x1cc)];}[_0x5bd40c(0x218)](){const _0x16ff44=_0x5bd40c;if(this[_0x16ff44(0x20f)]&&(this['_inflate'][_0x16ff44(0xc6)](),this['_inflate']=null),this['_deflate']){const _0x4a10b8=this['_deflate'][_0x3585af];this[_0x16ff44(0x184)][_0x16ff44(0xc6)](),this[_0x16ff44(0x184)]=null,_0x4a10b8&&_0x4a10b8(new Error(_0x16ff44(0xe1)));}}[_0x5bd40c(0x162)](_0x46f03d){const _0x3fbd00=_0x5bd40c,_0x40926a=this[_0x3fbd00(0x100)],_0x344c34=_0x46f03d[_0x3fbd00(0x257)](_0x4a3d30=>!(_0x40926a[_0x3fbd00(0xf5)]===!0x1&&_0x4a3d30['server_no_context_takeover']||_0x4a3d30['server_max_window_bits']&&(_0x40926a[_0x3fbd00(0x24c)]===!0x1||typeof _0x40926a['serverMaxWindowBits']==_0x3fbd00(0x192)&&_0x40926a[_0x3fbd00(0x24c)]>_0x4a3d30[_0x3fbd00(0xf2)])||typeof _0x40926a[_0x3fbd00(0x21d)]=='number'&&!_0x4a3d30['client_max_window_bits']));if(!_0x344c34)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x40926a[_0x3fbd00(0xf5)]&&(_0x344c34[_0x3fbd00(0x135)]=!0x0),_0x40926a['clientNoContextTakeover']&&(_0x344c34[_0x3fbd00(0x1ad)]=!0x0),typeof _0x40926a[_0x3fbd00(0x24c)]==_0x3fbd00(0x192)&&(_0x344c34[_0x3fbd00(0xf2)]=_0x40926a[_0x3fbd00(0x24c)]),typeof _0x40926a[_0x3fbd00(0x21d)]==_0x3fbd00(0x192)?_0x344c34[_0x3fbd00(0x21b)]=_0x40926a['clientMaxWindowBits']:(_0x344c34['client_max_window_bits']===!0x0||_0x40926a[_0x3fbd00(0x21d)]===!0x1)&&delete _0x344c34[_0x3fbd00(0x21b)],_0x344c34;}['acceptAsClient'](_0x5bddce){const _0x3d7ad9=_0x5bd40c,_0x5daf1f=_0x5bddce[0x0];if(this[_0x3d7ad9(0x100)][_0x3d7ad9(0x19b)]===!0x1&&_0x5daf1f[_0x3d7ad9(0x1ad)])throw new Error(_0x3d7ad9(0x1e2));if(!_0x5daf1f['client_max_window_bits'])typeof this[_0x3d7ad9(0x100)][_0x3d7ad9(0x21d)]=='number'&&(_0x5daf1f['client_max_window_bits']=this['_options'][_0x3d7ad9(0x21d)]);else{if(this['_options'][_0x3d7ad9(0x21d)]===!0x1||typeof this['_options'][_0x3d7ad9(0x21d)]=='number'&&_0x5daf1f['client_max_window_bits']>this['_options'][_0x3d7ad9(0x21d)])throw new Error(_0x3d7ad9(0x1c4));}return _0x5daf1f;}[_0x5bd40c(0x21a)](_0x5e4e0a){return _0x5e4e0a['forEach'](_0x2a4ed2=>{const _0x2686e7=_0x2d0d;Object[_0x2686e7(0xc5)](_0x2a4ed2)[_0x2686e7(0xca)](_0x4a6648=>{const _0x5dcec1=_0x2686e7;let _0x8d4e0=_0x2a4ed2[_0x4a6648];if(_0x8d4e0[_0x5dcec1(0x14d)]>0x1)throw new Error(_0x5dcec1(0xc7)+_0x4a6648+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x8d4e0=_0x8d4e0[0x0],_0x4a6648===_0x5dcec1(0x21b)){if(_0x8d4e0!==!0x0){const _0x150d6c=+_0x8d4e0;if(!Number[_0x5dcec1(0x141)](_0x150d6c)||_0x150d6c<0x8||_0x150d6c>0xf)throw new TypeError(_0x5dcec1(0x221)+_0x4a6648+_0x5dcec1(0x11d)+_0x8d4e0);_0x8d4e0=_0x150d6c;}else{if(!this[_0x5dcec1(0x119)])throw new TypeError(_0x5dcec1(0x221)+_0x4a6648+'\x22:\x20'+_0x8d4e0);}}else{if(_0x4a6648===_0x5dcec1(0xf2)){const _0xa02878=+_0x8d4e0;if(!Number[_0x5dcec1(0x141)](_0xa02878)||_0xa02878<0x8||_0xa02878>0xf)throw new TypeError(_0x5dcec1(0x221)+_0x4a6648+_0x5dcec1(0x11d)+_0x8d4e0);_0x8d4e0=_0xa02878;}else{if(_0x4a6648==='client_no_context_takeover'||_0x4a6648==='server_no_context_takeover'){if(_0x8d4e0!==!0x0)throw new TypeError(_0x5dcec1(0x221)+_0x4a6648+'\x22:\x20'+_0x8d4e0);}else throw new Error(_0x5dcec1(0x214)+_0x4a6648+'\x22');}}_0x2a4ed2[_0x4a6648]=_0x8d4e0;});}),_0x5e4e0a;}[_0x5bd40c(0xd3)](_0x9112a2,_0x4bd10d,_0xf1228a){_0x4d0f33['add'](_0x4afafe=>{const _0x5e0c6e=_0x2d0d;this[_0x5e0c6e(0x16a)](_0x9112a2,_0x4bd10d,(_0x39d463,_0x2623ab)=>{_0x4afafe(),_0xf1228a(_0x39d463,_0x2623ab);});});}['compress'](_0x5d7153,_0x49d2fe,_0x3edc4f){const _0x53794b=_0x5bd40c;_0x4d0f33[_0x53794b(0xfb)](_0x1ed25e=>{this['_compress'](_0x5d7153,_0x49d2fe,(_0x1555e6,_0x1e2d69)=>{_0x1ed25e(),_0x3edc4f(_0x1555e6,_0x1e2d69);});});}[_0x5bd40c(0x16a)](_0x2a0dda,_0x9c2928,_0x3f1922){const _0x1fddca=_0x5bd40c,_0x4625a6=this['_isServer']?'client':_0x1fddca(0x1e8);if(!this[_0x1fddca(0x20f)]){const _0x38ae63=_0x4625a6+_0x1fddca(0x15a),_0x191956=typeof this['params'][_0x38ae63]!='number'?_0x2e7357[_0x1fddca(0x122)]:this[_0x1fddca(0x1cc)][_0x38ae63];this[_0x1fddca(0x20f)]=_0x2e7357[_0x1fddca(0x250)]({...this[_0x1fddca(0x100)][_0x1fddca(0x193)],'windowBits':_0x191956}),this[_0x1fddca(0x20f)][_0x36e010]=this,this[_0x1fddca(0x20f)][_0x4d2808]=0x0,this[_0x1fddca(0x20f)][_0x2d5a85]=[],this['_inflate']['on'](_0x1fddca(0x1f1),_0x348dca),this['_inflate']['on'](_0x1fddca(0x11e),_0x5816e3);}this['_inflate'][_0x3585af]=_0x3f1922,this[_0x1fddca(0x20f)][_0x1fddca(0xc3)](_0x2a0dda),_0x9c2928&&this['_inflate'][_0x1fddca(0xc3)](_0x3220ad),this[_0x1fddca(0x20f)][_0x1fddca(0x10b)](()=>{const _0x146bbb=_0x1fddca,_0x5cea55=this['_inflate'][_0x48899d];if(_0x5cea55){this[_0x146bbb(0x20f)][_0x146bbb(0xc6)](),this[_0x146bbb(0x20f)]=null,_0x3f1922(_0x5cea55);return;}const _0x88dbc9=_0x23c7b3['concat'](this[_0x146bbb(0x20f)][_0x2d5a85],this[_0x146bbb(0x20f)][_0x4d2808]);this[_0x146bbb(0x20f)][_0x146bbb(0x16d)][_0x146bbb(0x150)]?(this[_0x146bbb(0x20f)][_0x146bbb(0xc6)](),this[_0x146bbb(0x20f)]=null):(this[_0x146bbb(0x20f)][_0x4d2808]=0x0,this[_0x146bbb(0x20f)][_0x2d5a85]=[],_0x9c2928&&this[_0x146bbb(0x1cc)][_0x4625a6+_0x146bbb(0x204)]&&this[_0x146bbb(0x20f)][_0x146bbb(0x199)]()),_0x3f1922(null,_0x88dbc9);});}[_0x5bd40c(0x145)](_0x4d8364,_0x576da8,_0x3e3782){const _0x45f2cc=_0x5bd40c,_0x202a45=this[_0x45f2cc(0x119)]?'server':'client';if(!this['_deflate']){const _0xb49f14=_0x202a45+_0x45f2cc(0x15a),_0x5676d0=typeof this[_0x45f2cc(0x1cc)][_0xb49f14]!=_0x45f2cc(0x192)?_0x2e7357[_0x45f2cc(0x122)]:this[_0x45f2cc(0x1cc)][_0xb49f14];this[_0x45f2cc(0x184)]=_0x2e7357[_0x45f2cc(0x25e)]({...this[_0x45f2cc(0x100)][_0x45f2cc(0x171)],'windowBits':_0x5676d0}),this['_deflate'][_0x4d2808]=0x0,this[_0x45f2cc(0x184)][_0x2d5a85]=[],this[_0x45f2cc(0x184)]['on'](_0x45f2cc(0x11e),_0x4a2cbd);}this[_0x45f2cc(0x184)][_0x3585af]=_0x3e3782,this[_0x45f2cc(0x184)][_0x45f2cc(0xc3)](_0x4d8364),this[_0x45f2cc(0x184)][_0x45f2cc(0x10b)](_0x2e7357[_0x45f2cc(0x23f)],()=>{const _0x33426a=_0x45f2cc;if(!this['_deflate'])return;let _0x42bc90=_0x23c7b3[_0x33426a(0x1d5)](this[_0x33426a(0x184)][_0x2d5a85],this[_0x33426a(0x184)][_0x4d2808]);_0x576da8&&(_0x42bc90=new _0x3c1bcf(_0x42bc90[_0x33426a(0x19a)],_0x42bc90[_0x33426a(0x163)],_0x42bc90['length']-0x4)),this[_0x33426a(0x184)][_0x3585af]=null,this['_deflate'][_0x4d2808]=0x0,this[_0x33426a(0x184)][_0x2d5a85]=[],_0x576da8&&this[_0x33426a(0x1cc)][_0x202a45+_0x33426a(0x204)]&&this['_deflate'][_0x33426a(0x199)](),_0x3e3782(null,_0x42bc90);});}}ve=_0x399f39;function _0x4a2cbd(_0x38a161){const _0x4f5c65=_0x5bd40c;this[_0x2d5a85]['push'](_0x38a161),this[_0x4d2808]+=_0x38a161[_0x4f5c65(0x14d)];}function _0x5816e3(_0x53f813){const _0x4473de=_0x5bd40c;if(this[_0x4d2808]+=_0x53f813[_0x4473de(0x14d)],this[_0x36e010][_0x4473de(0x117)]<0x1||this[_0x4d2808]<=this[_0x36e010][_0x4473de(0x117)]){this[_0x2d5a85]['push'](_0x53f813);return;}this[_0x48899d]=new RangeError(_0x4473de(0x19c)),this[_0x48899d][_0x4473de(0x24b)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x48899d][_0x5e77f9]=0x3f1,this[_0x4473de(0x1c9)](_0x4473de(0x11e),_0x5816e3),this['reset']();}function _0x348dca(_0x20186a){const _0x2be34b=_0x5bd40c;this[_0x36e010][_0x2be34b(0x20f)]=null,_0x20186a[_0x5e77f9]=0x3ef,this[_0x3585af](_0x20186a);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x85a53(0xe7)](Object[_0x85a53(0x20e)]({'__proto__':null,'default':Dt},Symbol[_0x85a53(0x265)],{'value':_0x85a53(0x245)})),Bt=at(Rt);var Ye;function ae(){const _0x51a662=_0x85a53;if(Ye)return ie[_0x51a662(0x138)];Ye=0x1;const {isUtf8:_0x34f53f}=wt,{hasBlob:_0x34e918}=H(),_0x4f5b02=[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 _0x10c80a(_0x4d60e4){return _0x4d60e4>=0x3e8&&_0x4d60e4<=0x3f6&&_0x4d60e4!==0x3ec&&_0x4d60e4!==0x3ed&&_0x4d60e4!==0x3ee||_0x4d60e4>=0xbb8&&_0x4d60e4<=0x1387;}function _0x121ea8(_0x1fa90d){const _0x44f21d=_0x51a662,_0x5b551=_0x1fa90d[_0x44f21d(0x14d)];let _0x2fb332=0x0;for(;_0x2fb332<_0x5b551;)if((_0x1fa90d[_0x2fb332]&0x80)===0x0)_0x2fb332++;else{if((_0x1fa90d[_0x2fb332]&0xe0)===0xc0){if(_0x2fb332+0x1===_0x5b551||(_0x1fa90d[_0x2fb332+0x1]&0xc0)!==0x80||(_0x1fa90d[_0x2fb332]&0xfe)===0xc0)return!0x1;_0x2fb332+=0x2;}else{if((_0x1fa90d[_0x2fb332]&0xf0)===0xe0){if(_0x2fb332+0x2>=_0x5b551||(_0x1fa90d[_0x2fb332+0x1]&0xc0)!==0x80||(_0x1fa90d[_0x2fb332+0x2]&0xc0)!==0x80||_0x1fa90d[_0x2fb332]===0xe0&&(_0x1fa90d[_0x2fb332+0x1]&0xe0)===0x80||_0x1fa90d[_0x2fb332]===0xed&&(_0x1fa90d[_0x2fb332+0x1]&0xe0)===0xa0)return!0x1;_0x2fb332+=0x3;}else{if((_0x1fa90d[_0x2fb332]&0xf8)===0xf0){if(_0x2fb332+0x3>=_0x5b551||(_0x1fa90d[_0x2fb332+0x1]&0xc0)!==0x80||(_0x1fa90d[_0x2fb332+0x2]&0xc0)!==0x80||(_0x1fa90d[_0x2fb332+0x3]&0xc0)!==0x80||_0x1fa90d[_0x2fb332]===0xf0&&(_0x1fa90d[_0x2fb332+0x1]&0xf0)===0x80||_0x1fa90d[_0x2fb332]===0xf4&&_0x1fa90d[_0x2fb332+0x1]>0x8f||_0x1fa90d[_0x2fb332]>0xf4)return!0x1;_0x2fb332+=0x4;}else return!0x1;}}}return!0x0;}function _0x5d926b(_0x382972){const _0x581288=_0x51a662;return _0x34e918&&typeof _0x382972=='object'&&typeof _0x382972['arrayBuffer']==_0x581288(0x170)&&typeof _0x382972[_0x581288(0x24f)]=='string'&&typeof _0x382972[_0x581288(0x198)]==_0x581288(0x170)&&(_0x382972[Symbol[_0x581288(0x265)]]===_0x581288(0x19d)||_0x382972[Symbol[_0x581288(0x265)]]==='File');}if(ie[_0x51a662(0x138)]={'isBlob':_0x5d926b,'isValidStatusCode':_0x10c80a,'isValidUTF8':_0x121ea8,'tokenChars':_0x4f5b02},_0x34f53f)ie[_0x51a662(0x138)]['isValidUTF8']=function(_0x1c58d5){return _0x1c58d5['length']<0x18?_0x121ea8(_0x1c58d5):_0x34f53f(_0x1c58d5);};else{if(!process[_0x51a662(0x23e)][_0x51a662(0x126)])try{const _0x43b8b8=Bt;ie[_0x51a662(0x138)]['isValidUTF8']=function(_0x26ef85){return _0x26ef85['length']<0x20?_0x121ea8(_0x26ef85):_0x43b8b8(_0x26ef85);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x3ded00=_0x85a53;if(Ke)return Se;Ke=0x1;const {Writable:_0x150ccd}=oe,_0x3f1f34=he(),{BINARY_TYPES:_0x2df765,EMPTY_BUFFER:_0x554498,kStatusCode:_0x289994,kWebSocket:_0x440c97}=H(),{concat:_0x18ed7f,toArrayBuffer:_0x572361,unmask:_0x4056fe}=ce(),{isValidStatusCode:_0x1280b3,isValidUTF8:_0x44e038}=ae(),_0x305528=Buffer[Symbol[_0x3ded00(0xeb)]],_0x5e3adf=0x0,_0x4f9d3e=0x1,_0xa8a12=0x2,_0xe2ee37=0x3,_0x27fdce=0x4,_0xa0ddb4=0x5,_0xdcab9=0x6;class _0x5600e9 extends _0x150ccd{constructor(_0x3389a4={}){const _0x2530bb=_0x3ded00;super(),this[_0x2530bb(0x1c6)]=_0x3389a4[_0x2530bb(0xce)]!==void 0x0?_0x3389a4[_0x2530bb(0xce)]:!0x0,this[_0x2530bb(0x188)]=_0x3389a4[_0x2530bb(0x169)]||_0x2df765[0x0],this[_0x2530bb(0x25b)]=_0x3389a4[_0x2530bb(0x1a7)]||{},this['_isServer']=!!_0x3389a4[_0x2530bb(0x254)],this[_0x2530bb(0x117)]=_0x3389a4[_0x2530bb(0xe4)]|0x0,this['_skipUTF8Validation']=!!_0x3389a4['skipUTF8Validation'],this[_0x440c97]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2530bb(0x1f8)]=[],this[_0x2530bb(0x13f)]=!0x1,this[_0x2530bb(0x19e)]=0x0,this[_0x2530bb(0x172)]=void 0x0,this[_0x2530bb(0x1ab)]=0x0,this[_0x2530bb(0x1db)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x2530bb(0x202)]=0x0,this[_0x2530bb(0x21e)]=0x0,this[_0x2530bb(0x1f2)]=[],this[_0x2530bb(0xba)]=!0x1,this[_0x2530bb(0x156)]=!0x1,this[_0x2530bb(0x124)]=_0x5e3adf;}[_0x3ded00(0x131)](_0x31b106,_0x19e711,_0x21db04){const _0x5502cd=_0x3ded00;if(this[_0x5502cd(0xfc)]===0x8&&this[_0x5502cd(0x124)]==_0x5e3adf)return _0x21db04();this[_0x5502cd(0x178)]+=_0x31b106['length'],this[_0x5502cd(0x1f8)][_0x5502cd(0x13a)](_0x31b106),this[_0x5502cd(0x130)](_0x21db04);}[_0x3ded00(0x226)](_0x447d1b){const _0x3aca0a=_0x3ded00;if(this[_0x3aca0a(0x178)]-=_0x447d1b,_0x447d1b===this[_0x3aca0a(0x1f8)][0x0]['length'])return this[_0x3aca0a(0x1f8)][_0x3aca0a(0x1eb)]();if(_0x447d1b<this['_buffers'][0x0][_0x3aca0a(0x14d)]){const _0x4d493a=this[_0x3aca0a(0x1f8)][0x0];return this[_0x3aca0a(0x1f8)][0x0]=new _0x305528(_0x4d493a[_0x3aca0a(0x19a)],_0x4d493a[_0x3aca0a(0x163)]+_0x447d1b,_0x4d493a[_0x3aca0a(0x14d)]-_0x447d1b),new _0x305528(_0x4d493a[_0x3aca0a(0x19a)],_0x4d493a[_0x3aca0a(0x163)],_0x447d1b);}const _0x4f412e=Buffer['allocUnsafe'](_0x447d1b);do{const _0x253860=this[_0x3aca0a(0x1f8)][0x0],_0x3690a0=_0x4f412e[_0x3aca0a(0x14d)]-_0x447d1b;_0x447d1b>=_0x253860[_0x3aca0a(0x14d)]?_0x4f412e[_0x3aca0a(0x25a)](this[_0x3aca0a(0x1f8)][_0x3aca0a(0x1eb)](),_0x3690a0):(_0x4f412e['set'](new Uint8Array(_0x253860[_0x3aca0a(0x19a)],_0x253860[_0x3aca0a(0x163)],_0x447d1b),_0x3690a0),this[_0x3aca0a(0x1f8)][0x0]=new _0x305528(_0x253860[_0x3aca0a(0x19a)],_0x253860[_0x3aca0a(0x163)]+_0x447d1b,_0x253860['length']-_0x447d1b)),_0x447d1b-=_0x253860['length'];}while(_0x447d1b>0x0);return _0x4f412e;}['startLoop'](_0x5683e4){const _0xd3ab63=_0x3ded00;this['_loop']=!0x0;do switch(this['_state']){case _0x5e3adf:this['getInfo'](_0x5683e4);break;case _0x4f9d3e:this[_0xd3ab63(0x1d1)](_0x5683e4);break;case _0xa8a12:this[_0xd3ab63(0x128)](_0x5683e4);break;case _0xe2ee37:this['getMask']();break;case _0x27fdce:this[_0xd3ab63(0x26a)](_0x5683e4);break;case _0xa0ddb4:case _0xdcab9:this[_0xd3ab63(0x156)]=!0x1;return;}while(this['_loop']);this[_0xd3ab63(0xba)]||_0x5683e4();}[_0x3ded00(0xe3)](_0x3d043c){const _0x253959=_0x3ded00;if(this[_0x253959(0x178)]<0x2){this[_0x253959(0x156)]=!0x1;return;}const _0x237abb=this[_0x253959(0x226)](0x2);if((_0x237abb[0x0]&0x30)!==0x0){const _0x416468=this[_0x253959(0x129)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x253959(0x1fd));_0x3d043c(_0x416468);return;}const _0x48cbab=(_0x237abb[0x0]&0x40)===0x40;if(_0x48cbab&&!this[_0x253959(0x25b)][_0x3f1f34[_0x253959(0x10e)]]){const _0x1bce58=this[_0x253959(0x129)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x253959(0x22c));_0x3d043c(_0x1bce58);return;}if(this[_0x253959(0x1a0)]=(_0x237abb[0x0]&0x80)===0x80,this['_opcode']=_0x237abb[0x0]&0xf,this[_0x253959(0x19e)]=_0x237abb[0x1]&0x7f,this[_0x253959(0xfc)]===0x0){if(_0x48cbab){const _0x26a122=this[_0x253959(0x129)](RangeError,_0x253959(0x230),!0x0,0x3ea,_0x253959(0x22c));_0x3d043c(_0x26a122);return;}if(!this['_fragmented']){const _0x1da40e=this[_0x253959(0x129)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x253959(0x118));_0x3d043c(_0x1da40e);return;}this[_0x253959(0xfc)]=this[_0x253959(0x1ab)];}else{if(this['_opcode']===0x1||this[_0x253959(0xfc)]===0x2){if(this[_0x253959(0x1ab)]){const _0x4d11bb=this[_0x253959(0x129)](RangeError,_0x253959(0x10c)+this[_0x253959(0xfc)],!0x0,0x3ea,_0x253959(0x118));_0x3d043c(_0x4d11bb);return;}this['_compressed']=_0x48cbab;}else{if(this['_opcode']>0x7&&this[_0x253959(0xfc)]<0xb){if(!this['_fin']){const _0x6f2983=this[_0x253959(0x129)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3d043c(_0x6f2983);return;}if(_0x48cbab){const _0x408ced=this[_0x253959(0x129)](RangeError,_0x253959(0x230),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3d043c(_0x408ced);return;}if(this[_0x253959(0x19e)]>0x7d||this[_0x253959(0xfc)]===0x8&&this['_payloadLength']===0x1){const _0x59af5=this['createError'](RangeError,_0x253959(0x1d0)+this[_0x253959(0x19e)],!0x0,0x3ea,_0x253959(0x160));_0x3d043c(_0x59af5);return;}}else{const _0x1c67eb=this[_0x253959(0x129)](RangeError,_0x253959(0x10c)+this[_0x253959(0xfc)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3d043c(_0x1c67eb);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x253959(0x1ab)]=this[_0x253959(0xfc)]),this['_masked']=(_0x237abb[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x253959(0x1db)]){const _0x40cdb4=this['createError'](RangeError,_0x253959(0x158),!0x0,0x3ea,_0x253959(0x277));_0x3d043c(_0x40cdb4);return;}}else{if(this[_0x253959(0x1db)]){const _0x139b32=this[_0x253959(0x129)](RangeError,_0x253959(0xdc),!0x0,0x3ea,_0x253959(0x17b));_0x3d043c(_0x139b32);return;}}this[_0x253959(0x19e)]===0x7e?this[_0x253959(0x124)]=_0x4f9d3e:this['_payloadLength']===0x7f?this[_0x253959(0x124)]=_0xa8a12:this[_0x253959(0xe8)](_0x3d043c);}[_0x3ded00(0x1d1)](_0x52dd98){const _0x35b8fe=_0x3ded00;if(this[_0x35b8fe(0x178)]<0x2){this[_0x35b8fe(0x156)]=!0x1;return;}this[_0x35b8fe(0x19e)]=this[_0x35b8fe(0x226)](0x2)[_0x35b8fe(0x16f)](0x0),this[_0x35b8fe(0xe8)](_0x52dd98);}[_0x3ded00(0x128)](_0x34ac4c){const _0x2c75d5=_0x3ded00;if(this[_0x2c75d5(0x178)]<0x8){this[_0x2c75d5(0x156)]=!0x1;return;}const _0x4e2cf3=this['consume'](0x8),_0x8824fa=_0x4e2cf3[_0x2c75d5(0x1ea)](0x0);if(_0x8824fa>Math['pow'](0x2,0x15)-0x1){const _0x264106=this[_0x2c75d5(0x129)](RangeError,_0x2c75d5(0xf6),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x34ac4c(_0x264106);return;}this[_0x2c75d5(0x19e)]=_0x8824fa*Math[_0x2c75d5(0x216)](0x2,0x20)+_0x4e2cf3['readUInt32BE'](0x4),this['haveLength'](_0x34ac4c);}['haveLength'](_0x6dd08){const _0x471aae=_0x3ded00;if(this[_0x471aae(0x19e)]&&this['_opcode']<0x8&&(this[_0x471aae(0x202)]+=this[_0x471aae(0x19e)],this['_totalPayloadLength']>this[_0x471aae(0x117)]&&this[_0x471aae(0x117)]>0x0)){const _0xfd04c9=this['createError'](RangeError,_0x471aae(0x19c),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x6dd08(_0xfd04c9);return;}this[_0x471aae(0x1db)]?this[_0x471aae(0x124)]=_0xe2ee37:this[_0x471aae(0x124)]=_0x27fdce;}[_0x3ded00(0x211)](){const _0x16e989=_0x3ded00;if(this[_0x16e989(0x178)]<0x4){this['_loop']=!0x1;return;}this[_0x16e989(0x172)]=this['consume'](0x4),this[_0x16e989(0x124)]=_0x27fdce;}[_0x3ded00(0x26a)](_0x49f648){const _0x460c6b=_0x3ded00;let _0x218926=_0x554498;if(this['_payloadLength']){if(this[_0x460c6b(0x178)]<this[_0x460c6b(0x19e)]){this['_loop']=!0x1;return;}_0x218926=this[_0x460c6b(0x226)](this['_payloadLength']),this[_0x460c6b(0x1db)]&&(this[_0x460c6b(0x172)][0x0]|this[_0x460c6b(0x172)][0x1]|this[_0x460c6b(0x172)][0x2]|this[_0x460c6b(0x172)][0x3])!==0x0&&_0x4056fe(_0x218926,this[_0x460c6b(0x172)]);}if(this[_0x460c6b(0xfc)]>0x7){this[_0x460c6b(0x232)](_0x218926,_0x49f648);return;}if(this[_0x460c6b(0x13f)]){this['_state']=_0xa0ddb4,this['decompress'](_0x218926,_0x49f648);return;}_0x218926[_0x460c6b(0x14d)]&&(this['_messageLength']=this[_0x460c6b(0x202)],this[_0x460c6b(0x1f2)][_0x460c6b(0x13a)](_0x218926)),this['dataMessage'](_0x49f648);}[_0x3ded00(0xd3)](_0x5785cd,_0xe09d06){const _0x181c13=_0x3ded00;this[_0x181c13(0x25b)][_0x3f1f34[_0x181c13(0x10e)]][_0x181c13(0xd3)](_0x5785cd,this[_0x181c13(0x1a0)],(_0x452caf,_0x25c3e1)=>{const _0x194445=_0x181c13;if(_0x452caf)return _0xe09d06(_0x452caf);if(_0x25c3e1[_0x194445(0x14d)]){if(this[_0x194445(0x21e)]+=_0x25c3e1[_0x194445(0x14d)],this[_0x194445(0x21e)]>this['_maxPayload']&&this[_0x194445(0x117)]>0x0){const _0x585e32=this['createError'](RangeError,_0x194445(0x19c),!0x1,0x3f1,_0x194445(0x13d));_0xe09d06(_0x585e32);return;}this['_fragments'][_0x194445(0x13a)](_0x25c3e1);}this[_0x194445(0x1aa)](_0xe09d06),this[_0x194445(0x124)]===_0x5e3adf&&this['startLoop'](_0xe09d06);});}[_0x3ded00(0x1aa)](_0x40c99c){const _0x34dafa=_0x3ded00;if(!this[_0x34dafa(0x1a0)]){this[_0x34dafa(0x124)]=_0x5e3adf;return;}const _0x1121b1=this['_messageLength'],_0x646f6c=this['_fragments'];if(this[_0x34dafa(0x202)]=0x0,this[_0x34dafa(0x21e)]=0x0,this[_0x34dafa(0x1ab)]=0x0,this['_fragments']=[],this[_0x34dafa(0xfc)]===0x2){let _0x20fd5b;this[_0x34dafa(0x188)]===_0x34dafa(0x223)?_0x20fd5b=_0x18ed7f(_0x646f6c,_0x1121b1):this[_0x34dafa(0x188)]===_0x34dafa(0xfa)?_0x20fd5b=_0x572361(_0x18ed7f(_0x646f6c,_0x1121b1)):this[_0x34dafa(0x188)]==='blob'?_0x20fd5b=new Blob(_0x646f6c):_0x20fd5b=_0x646f6c,this[_0x34dafa(0x1c6)]?(this['emit'](_0x34dafa(0xee),_0x20fd5b,!0x0),this[_0x34dafa(0x124)]=_0x5e3adf):(this[_0x34dafa(0x124)]=_0xdcab9,setImmediate(()=>{const _0x47ea97=_0x34dafa;this[_0x47ea97(0x181)]('message',_0x20fd5b,!0x0),this['_state']=_0x5e3adf,this[_0x47ea97(0x130)](_0x40c99c);}));}else{const _0x4cfa05=_0x18ed7f(_0x646f6c,_0x1121b1);if(!this[_0x34dafa(0x154)]&&!_0x44e038(_0x4cfa05)){const _0x8c4188=this[_0x34dafa(0x129)](Error,_0x34dafa(0x112),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x40c99c(_0x8c4188);return;}this['_state']===_0xa0ddb4||this[_0x34dafa(0x1c6)]?(this[_0x34dafa(0x181)](_0x34dafa(0xee),_0x4cfa05,!0x1),this[_0x34dafa(0x124)]=_0x5e3adf):(this['_state']=_0xdcab9,setImmediate(()=>{const _0x3062e7=_0x34dafa;this[_0x3062e7(0x181)](_0x3062e7(0xee),_0x4cfa05,!0x1),this[_0x3062e7(0x124)]=_0x5e3adf,this[_0x3062e7(0x130)](_0x40c99c);}));}}[_0x3ded00(0x232)](_0x390d4e,_0x2a7fbd){const _0xe1b09c=_0x3ded00;if(this['_opcode']===0x8){if(_0x390d4e[_0xe1b09c(0x14d)]===0x0)this['_loop']=!0x1,this[_0xe1b09c(0x181)]('conclude',0x3ed,_0x554498),this[_0xe1b09c(0x267)]();else{const _0x52e05c=_0x390d4e['readUInt16BE'](0x0);if(!_0x1280b3(_0x52e05c)){const _0x568b6f=this[_0xe1b09c(0x129)](RangeError,_0xe1b09c(0x227)+_0x52e05c,!0x0,0x3ea,_0xe1b09c(0xc8));_0x2a7fbd(_0x568b6f);return;}const _0x3cf7ef=new _0x305528(_0x390d4e['buffer'],_0x390d4e[_0xe1b09c(0x163)]+0x2,_0x390d4e['length']-0x2);if(!this[_0xe1b09c(0x154)]&&!_0x44e038(_0x3cf7ef)){const _0x438f89=this[_0xe1b09c(0x129)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xe1b09c(0x159));_0x2a7fbd(_0x438f89);return;}this[_0xe1b09c(0x156)]=!0x1,this[_0xe1b09c(0x181)](_0xe1b09c(0xea),_0x52e05c,_0x3cf7ef),this['end']();}this['_state']=_0x5e3adf;return;}this[_0xe1b09c(0x1c6)]?(this[_0xe1b09c(0x181)](this['_opcode']===0x9?_0xe1b09c(0xd8):_0xe1b09c(0x101),_0x390d4e),this[_0xe1b09c(0x124)]=_0x5e3adf):(this[_0xe1b09c(0x124)]=_0xdcab9,setImmediate(()=>{const _0x503798=_0xe1b09c;this[_0x503798(0x181)](this['_opcode']===0x9?_0x503798(0xd8):'pong',_0x390d4e),this[_0x503798(0x124)]=_0x5e3adf,this[_0x503798(0x130)](_0x2a7fbd);}));}[_0x3ded00(0x129)](_0x20c6d6,_0x3278db,_0x42b5f4,_0x4a1a45,_0x476422){const _0xce7738=_0x3ded00;this['_loop']=!0x1,this['_errored']=!0x0;const _0x3afe1e=new _0x20c6d6(_0x42b5f4?'Invalid\x20WebSocket\x20frame:\x20'+_0x3278db:_0x3278db);return Error[_0xce7738(0x233)](_0x3afe1e,this[_0xce7738(0x129)]),_0x3afe1e[_0xce7738(0x24b)]=_0x476422,_0x3afe1e[_0x289994]=_0x4a1a45,_0x3afe1e;}}return Se=_0x5600e9,Se;}var Ee,Xe;function ft(){const _0x587fec=_0x85a53;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1317d4}=oe,{randomFillSync:_0x3fb37a}=Le,_0xd7e96b=he(),{EMPTY_BUFFER:_0x1dee13,kWebSocket:_0x1df18e,NOOP:_0x236680}=H(),{isBlob:_0x12d13c,isValidStatusCode:_0x4d59f4}=ae(),{mask:_0x20e8a4,toBuffer:_0x5a8fe0}=ce(),_0x39202d=Symbol('kByteLength'),_0x3cfe10=Buffer[_0x587fec(0x25d)](0x4),_0x472cd6=0x8*0x400;let _0x5f5916,_0x141eef=_0x472cd6;const _0x16cbb2=0x0,_0xe5af18=0x1,_0x317bf8=0x2;class _0x1b346a{constructor(_0x2f73d0,_0x2b3a1b,_0x4a6405){const _0x3c3282=_0x587fec;this[_0x3c3282(0x25b)]=_0x2b3a1b||{},_0x4a6405&&(this[_0x3c3282(0x238)]=_0x4a6405,this[_0x3c3282(0x1e7)]=Buffer[_0x3c3282(0x25d)](0x4)),this[_0x3c3282(0x237)]=_0x2f73d0,this[_0x3c3282(0x203)]=!0x0,this[_0x3c3282(0x145)]=!0x1,this[_0x3c3282(0x178)]=0x0,this[_0x3c3282(0x242)]=[],this[_0x3c3282(0x124)]=_0x16cbb2,this[_0x3c3282(0x13b)]=_0x236680,this[_0x1df18e]=void 0x0;}static['frame'](_0x49fcfc,_0x3d2f8e){const _0x33fcfb=_0x587fec;let _0x3c69c4,_0x3d262b=!0x1,_0x29526e=0x2,_0x2bf38c=!0x1;_0x3d2f8e[_0x33fcfb(0x166)]&&(_0x3c69c4=_0x3d2f8e[_0x33fcfb(0x151)]||_0x3cfe10,_0x3d2f8e[_0x33fcfb(0xc9)]?_0x3d2f8e['generateMask'](_0x3c69c4):(_0x141eef===_0x472cd6&&(_0x5f5916===void 0x0&&(_0x5f5916=Buffer[_0x33fcfb(0x25d)](_0x472cd6)),_0x3fb37a(_0x5f5916,0x0,_0x472cd6),_0x141eef=0x0),_0x3c69c4[0x0]=_0x5f5916[_0x141eef++],_0x3c69c4[0x1]=_0x5f5916[_0x141eef++],_0x3c69c4[0x2]=_0x5f5916[_0x141eef++],_0x3c69c4[0x3]=_0x5f5916[_0x141eef++]),_0x2bf38c=(_0x3c69c4[0x0]|_0x3c69c4[0x1]|_0x3c69c4[0x2]|_0x3c69c4[0x3])===0x0,_0x29526e=0x6);let _0x2c0e4c;typeof _0x49fcfc=='string'?(!_0x3d2f8e[_0x33fcfb(0x166)]||_0x2bf38c)&&_0x3d2f8e[_0x39202d]!==void 0x0?_0x2c0e4c=_0x3d2f8e[_0x39202d]:(_0x49fcfc=Buffer['from'](_0x49fcfc),_0x2c0e4c=_0x49fcfc[_0x33fcfb(0x14d)]):(_0x2c0e4c=_0x49fcfc[_0x33fcfb(0x14d)],_0x3d262b=_0x3d2f8e['mask']&&_0x3d2f8e['readOnly']&&!_0x2bf38c);let _0x37611c=_0x2c0e4c;_0x2c0e4c>=0x10000?(_0x29526e+=0x8,_0x37611c=0x7f):_0x2c0e4c>0x7d&&(_0x29526e+=0x2,_0x37611c=0x7e);const _0x194e76=Buffer['allocUnsafe'](_0x3d262b?_0x2c0e4c+_0x29526e:_0x29526e);return _0x194e76[0x0]=_0x3d2f8e[_0x33fcfb(0xf8)]?_0x3d2f8e[_0x33fcfb(0x20b)]|0x80:_0x3d2f8e[_0x33fcfb(0x20b)],_0x3d2f8e[_0x33fcfb(0x1b9)]&&(_0x194e76[0x0]|=0x40),_0x194e76[0x1]=_0x37611c,_0x37611c===0x7e?_0x194e76['writeUInt16BE'](_0x2c0e4c,0x2):_0x37611c===0x7f&&(_0x194e76[0x2]=_0x194e76[0x3]=0x0,_0x194e76['writeUIntBE'](_0x2c0e4c,0x4,0x6)),_0x3d2f8e[_0x33fcfb(0x166)]?(_0x194e76[0x1]|=0x80,_0x194e76[_0x29526e-0x4]=_0x3c69c4[0x0],_0x194e76[_0x29526e-0x3]=_0x3c69c4[0x1],_0x194e76[_0x29526e-0x2]=_0x3c69c4[0x2],_0x194e76[_0x29526e-0x1]=_0x3c69c4[0x3],_0x2bf38c?[_0x194e76,_0x49fcfc]:_0x3d262b?(_0x20e8a4(_0x49fcfc,_0x3c69c4,_0x194e76,_0x29526e,_0x2c0e4c),[_0x194e76]):(_0x20e8a4(_0x49fcfc,_0x3c69c4,_0x49fcfc,0x0,_0x2c0e4c),[_0x194e76,_0x49fcfc])):[_0x194e76,_0x49fcfc];}[_0x587fec(0xc6)](_0xe7e681,_0x4cf9b3,_0x3f19bb,_0x14737a){const _0x11a818=_0x587fec;let _0x1582a0;if(_0xe7e681===void 0x0)_0x1582a0=_0x1dee13;else{if(typeof _0xe7e681!=_0x11a818(0x192)||!_0x4d59f4(_0xe7e681))throw new TypeError(_0x11a818(0x125));if(_0x4cf9b3===void 0x0||!_0x4cf9b3[_0x11a818(0x14d)])_0x1582a0=Buffer[_0x11a818(0x12c)](0x2),_0x1582a0[_0x11a818(0xd1)](_0xe7e681,0x0);else{const _0xf8572b=Buffer[_0x11a818(0xbf)](_0x4cf9b3);if(_0xf8572b>0x7b)throw new RangeError(_0x11a818(0x255));_0x1582a0=Buffer[_0x11a818(0x12c)](0x2+_0xf8572b),_0x1582a0[_0x11a818(0xd1)](_0xe7e681,0x0),typeof _0x4cf9b3=='string'?_0x1582a0[_0x11a818(0xc3)](_0x4cf9b3,0x2):_0x1582a0[_0x11a818(0x25a)](_0x4cf9b3,0x2);}}const _0x30d3be={[_0x39202d]:_0x1582a0[_0x11a818(0x14d)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3f19bb,'maskBuffer':this[_0x11a818(0x1e7)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x11a818(0x124)]!==_0x16cbb2?this[_0x11a818(0x167)]([this['dispatch'],_0x1582a0,!0x1,_0x30d3be,_0x14737a]):this['sendFrame'](_0x1b346a[_0x11a818(0x12a)](_0x1582a0,_0x30d3be),_0x14737a);}[_0x587fec(0xd8)](_0x3ff72c,_0x2b17a7,_0x22dbb2){const _0x23cbdc=_0x587fec;let _0x59d861,_0x1f6660;if(typeof _0x3ff72c=='string'?(_0x59d861=Buffer[_0x23cbdc(0xbf)](_0x3ff72c),_0x1f6660=!0x1):_0x12d13c(_0x3ff72c)?(_0x59d861=_0x3ff72c['size'],_0x1f6660=!0x1):(_0x3ff72c=_0x5a8fe0(_0x3ff72c),_0x59d861=_0x3ff72c[_0x23cbdc(0x14d)],_0x1f6660=_0x5a8fe0[_0x23cbdc(0x247)]),_0x59d861>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x18b077={[_0x39202d]:_0x59d861,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2b17a7,'maskBuffer':this[_0x23cbdc(0x1e7)],'opcode':0x9,'readOnly':_0x1f6660,'rsv1':!0x1};_0x12d13c(_0x3ff72c)?this['_state']!==_0x16cbb2?this[_0x23cbdc(0x167)]([this['getBlobData'],_0x3ff72c,!0x1,_0x18b077,_0x22dbb2]):this['getBlobData'](_0x3ff72c,!0x1,_0x18b077,_0x22dbb2):this[_0x23cbdc(0x124)]!==_0x16cbb2?this['enqueue']([this['dispatch'],_0x3ff72c,!0x1,_0x18b077,_0x22dbb2]):this[_0x23cbdc(0x21f)](_0x1b346a[_0x23cbdc(0x12a)](_0x3ff72c,_0x18b077),_0x22dbb2);}[_0x587fec(0x101)](_0x4cd112,_0x4a2bbd,_0x2f06ea){const _0x409d26=_0x587fec;let _0xa32ae2,_0x46772a;if(typeof _0x4cd112==_0x409d26(0x1c3)?(_0xa32ae2=Buffer[_0x409d26(0xbf)](_0x4cd112),_0x46772a=!0x1):_0x12d13c(_0x4cd112)?(_0xa32ae2=_0x4cd112[_0x409d26(0x168)],_0x46772a=!0x1):(_0x4cd112=_0x5a8fe0(_0x4cd112),_0xa32ae2=_0x4cd112[_0x409d26(0x14d)],_0x46772a=_0x5a8fe0[_0x409d26(0x247)]),_0xa32ae2>0x7d)throw new RangeError(_0x409d26(0x132));const _0x5deba4={[_0x39202d]:_0xa32ae2,'fin':!0x0,'generateMask':this[_0x409d26(0x238)],'mask':_0x4a2bbd,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x46772a,'rsv1':!0x1};_0x12d13c(_0x4cd112)?this[_0x409d26(0x124)]!==_0x16cbb2?this['enqueue']([this[_0x409d26(0x18f)],_0x4cd112,!0x1,_0x5deba4,_0x2f06ea]):this['getBlobData'](_0x4cd112,!0x1,_0x5deba4,_0x2f06ea):this[_0x409d26(0x124)]!==_0x16cbb2?this[_0x409d26(0x167)]([this[_0x409d26(0x22d)],_0x4cd112,!0x1,_0x5deba4,_0x2f06ea]):this[_0x409d26(0x21f)](_0x1b346a[_0x409d26(0x12a)](_0x4cd112,_0x5deba4),_0x2f06ea);}[_0x587fec(0x161)](_0x49657c,_0x17f96f,_0x460c07){const _0x545361=_0x587fec,_0x22601a=this[_0x545361(0x25b)][_0xd7e96b[_0x545361(0x10e)]];let _0x283890=_0x17f96f['binary']?0x2:0x1,_0x37e0dd=_0x17f96f[_0x545361(0xf4)],_0x30e990,_0x2e474f;typeof _0x49657c=='string'?(_0x30e990=Buffer[_0x545361(0xbf)](_0x49657c),_0x2e474f=!0x1):_0x12d13c(_0x49657c)?(_0x30e990=_0x49657c[_0x545361(0x168)],_0x2e474f=!0x1):(_0x49657c=_0x5a8fe0(_0x49657c),_0x30e990=_0x49657c[_0x545361(0x14d)],_0x2e474f=_0x5a8fe0[_0x545361(0x247)]),this[_0x545361(0x203)]?(this[_0x545361(0x203)]=!0x1,_0x37e0dd&&_0x22601a&&_0x22601a['params'][_0x22601a['_isServer']?_0x545361(0x135):_0x545361(0x1ad)]&&(_0x37e0dd=_0x30e990>=_0x22601a[_0x545361(0x195)]),this['_compress']=_0x37e0dd):(_0x37e0dd=!0x1,_0x283890=0x0),_0x17f96f[_0x545361(0xf8)]&&(this[_0x545361(0x203)]=!0x0);const _0x1a5755={[_0x39202d]:_0x30e990,'fin':_0x17f96f['fin'],'generateMask':this[_0x545361(0x238)],'mask':_0x17f96f[_0x545361(0x166)],'maskBuffer':this[_0x545361(0x1e7)],'opcode':_0x283890,'readOnly':_0x2e474f,'rsv1':_0x37e0dd};_0x12d13c(_0x49657c)?this['_state']!==_0x16cbb2?this[_0x545361(0x167)]([this[_0x545361(0x18f)],_0x49657c,this[_0x545361(0x145)],_0x1a5755,_0x460c07]):this[_0x545361(0x18f)](_0x49657c,this[_0x545361(0x145)],_0x1a5755,_0x460c07):this[_0x545361(0x124)]!==_0x16cbb2?this['enqueue']([this[_0x545361(0x22d)],_0x49657c,this['_compress'],_0x1a5755,_0x460c07]):this[_0x545361(0x22d)](_0x49657c,this['_compress'],_0x1a5755,_0x460c07);}[_0x587fec(0x18f)](_0x41c0ce,_0x3cbdeb,_0x38c2f8,_0x22572c){const _0x42eab8=_0x587fec;this[_0x42eab8(0x178)]+=_0x38c2f8[_0x39202d],this['_state']=_0x317bf8,_0x41c0ce['arrayBuffer']()[_0x42eab8(0xc4)](_0x89bb56=>{const _0x590be4=_0x42eab8;if(this[_0x590be4(0x237)][_0x590be4(0x239)]){const _0x4e7765=new Error(_0x590be4(0x224));process['nextTick'](_0xd70d3a,this,_0x4e7765,_0x22572c);return;}this[_0x590be4(0x178)]-=_0x38c2f8[_0x39202d];const _0x16b788=_0x5a8fe0(_0x89bb56);_0x3cbdeb?this[_0x590be4(0x22d)](_0x16b788,_0x3cbdeb,_0x38c2f8,_0x22572c):(this[_0x590be4(0x124)]=_0x16cbb2,this[_0x590be4(0x21f)](_0x1b346a[_0x590be4(0x12a)](_0x16b788,_0x38c2f8),_0x22572c),this[_0x590be4(0x140)]());})[_0x42eab8(0x123)](_0x1cf924=>{const _0x7a4a16=_0x42eab8;process[_0x7a4a16(0x259)](_0x54ccf2,this,_0x1cf924,_0x22572c);});}[_0x587fec(0x22d)](_0x3ca106,_0x437195,_0x496b5d,_0x525f05){const _0x5bd697=_0x587fec;if(!_0x437195){this[_0x5bd697(0x21f)](_0x1b346a[_0x5bd697(0x12a)](_0x3ca106,_0x496b5d),_0x525f05);return;}const _0x127932=this['_extensions'][_0xd7e96b['extensionName']];this[_0x5bd697(0x178)]+=_0x496b5d[_0x39202d],this['_state']=_0xe5af18,_0x127932[_0x5bd697(0xf4)](_0x3ca106,_0x496b5d['fin'],(_0x3bfd8a,_0x20c77f)=>{const _0x46b032=_0x5bd697;if(this['_socket'][_0x46b032(0x239)]){const _0x33ddbc=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0xd70d3a(this,_0x33ddbc,_0x525f05);return;}this[_0x46b032(0x178)]-=_0x496b5d[_0x39202d],this[_0x46b032(0x124)]=_0x16cbb2,_0x496b5d[_0x46b032(0x247)]=!0x1,this[_0x46b032(0x21f)](_0x1b346a[_0x46b032(0x12a)](_0x20c77f,_0x496b5d),_0x525f05),this[_0x46b032(0x140)]();});}[_0x587fec(0x140)](){const _0x29dee0=_0x587fec;for(;this['_state']===_0x16cbb2&&this[_0x29dee0(0x242)]['length'];){const _0x24a64b=this[_0x29dee0(0x242)]['shift']();this[_0x29dee0(0x178)]-=_0x24a64b[0x3][_0x39202d],Reflect[_0x29dee0(0x16b)](_0x24a64b[0x0],this,_0x24a64b[_0x29dee0(0x149)](0x1));}}['enqueue'](_0x4fbb4e){const _0x2bfbd7=_0x587fec;this[_0x2bfbd7(0x178)]+=_0x4fbb4e[0x3][_0x39202d],this['_queue'][_0x2bfbd7(0x13a)](_0x4fbb4e);}[_0x587fec(0x21f)](_0x34759c,_0x450fd5){const _0x50c399=_0x587fec;_0x34759c[_0x50c399(0x14d)]===0x2?(this['_socket'][_0x50c399(0x1ed)](),this[_0x50c399(0x237)][_0x50c399(0xc3)](_0x34759c[0x0]),this[_0x50c399(0x237)][_0x50c399(0xc3)](_0x34759c[0x1],_0x450fd5),this[_0x50c399(0x237)][_0x50c399(0x1b3)]()):this['_socket']['write'](_0x34759c[0x0],_0x450fd5);}}Ee=_0x1b346a;function _0xd70d3a(_0x11e3c4,_0x32853f,_0x5cd269){const _0x13bd41=_0x587fec;typeof _0x5cd269==_0x13bd41(0x170)&&_0x5cd269(_0x32853f);for(let _0x12c1e3=0x0;_0x12c1e3<_0x11e3c4[_0x13bd41(0x242)][_0x13bd41(0x14d)];_0x12c1e3++){const _0x3b1306=_0x11e3c4[_0x13bd41(0x242)][_0x12c1e3],_0x58a829=_0x3b1306[_0x3b1306[_0x13bd41(0x14d)]-0x1];typeof _0x58a829=='function'&&_0x58a829(_0x32853f);}}function _0x54ccf2(_0x528e67,_0x116d23,_0x18abf5){const _0x44d51=_0x587fec;_0xd70d3a(_0x528e67,_0x116d23,_0x18abf5),_0x528e67[_0x44d51(0x13b)](_0x116d23);}return Ee;}var xe,Ze;function It(){const _0x2e7486=_0x85a53;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2e3bf5,kListener:_0x4cc298}=H(),_0x3514d5=Symbol(_0x2e7486(0x185)),_0x52b741=Symbol(_0x2e7486(0x262)),_0x587c33=Symbol('kError'),_0x3013a9=Symbol(_0x2e7486(0x20a)),_0x328dcb=Symbol(_0x2e7486(0x231)),_0xd13f14=Symbol('kTarget'),_0x4d0c38=Symbol(_0x2e7486(0x102)),_0x526c20=Symbol(_0x2e7486(0x1d2));class _0x289578{constructor(_0x16e17c){this[_0xd13f14]=null,this[_0x4d0c38]=_0x16e17c;}get[_0x2e7486(0x1cb)](){return this[_0xd13f14];}get['type'](){return this[_0x4d0c38];}}Object[_0x2e7486(0x20e)](_0x289578[_0x2e7486(0x14a)],_0x2e7486(0x1cb),{'enumerable':!0x0}),Object['defineProperty'](_0x289578[_0x2e7486(0x14a)],_0x2e7486(0x24f),{'enumerable':!0x0});class _0x10fa1b extends _0x289578{constructor(_0x3ea0fc,_0x2e8559={}){const _0x170830=_0x2e7486;super(_0x3ea0fc),this[_0x3514d5]=_0x2e8559[_0x170830(0x24b)]===void 0x0?0x0:_0x2e8559[_0x170830(0x24b)],this[_0x328dcb]=_0x2e8559[_0x170830(0x200)]===void 0x0?'':_0x2e8559[_0x170830(0x200)],this[_0x526c20]=_0x2e8559[_0x170830(0x243)]===void 0x0?!0x1:_0x2e8559[_0x170830(0x243)];}get['code'](){return this[_0x3514d5];}get[_0x2e7486(0x200)](){return this[_0x328dcb];}get[_0x2e7486(0x243)](){return this[_0x526c20];}}Object[_0x2e7486(0x20e)](_0x10fa1b['prototype'],'code',{'enumerable':!0x0}),Object[_0x2e7486(0x20e)](_0x10fa1b['prototype'],_0x2e7486(0x200),{'enumerable':!0x0}),Object['defineProperty'](_0x10fa1b[_0x2e7486(0x14a)],_0x2e7486(0x243),{'enumerable':!0x0});class _0x588c28 extends _0x289578{constructor(_0xf19731,_0x4967d6={}){const _0xb964dc=_0x2e7486;super(_0xf19731),this[_0x587c33]=_0x4967d6[_0xb964dc(0x1f1)]===void 0x0?null:_0x4967d6[_0xb964dc(0x1f1)],this[_0x3013a9]=_0x4967d6['message']===void 0x0?'':_0x4967d6[_0xb964dc(0xee)];}get[_0x2e7486(0x1f1)](){return this[_0x587c33];}get['message'](){return this[_0x3013a9];}}Object[_0x2e7486(0x20e)](_0x588c28['prototype'],_0x2e7486(0x1f1),{'enumerable':!0x0}),Object[_0x2e7486(0x20e)](_0x588c28['prototype'],_0x2e7486(0xee),{'enumerable':!0x0});class _0x3658bc extends _0x289578{constructor(_0x1b9132,_0x47d5e6={}){const _0x56239e=_0x2e7486;super(_0x1b9132),this[_0x52b741]=_0x47d5e6['data']===void 0x0?null:_0x47d5e6[_0x56239e(0x11e)];}get[_0x2e7486(0x11e)](){return this[_0x52b741];}}Object['defineProperty'](_0x3658bc[_0x2e7486(0x14a)],_0x2e7486(0x11e),{'enumerable':!0x0}),xe={'CloseEvent':_0x10fa1b,'ErrorEvent':_0x588c28,'Event':_0x289578,'EventTarget':{'addEventListener'(_0x48f4a8,_0x4682ec,_0x5de2e8={}){const _0x7d4719=_0x2e7486;for(const _0xd69825 of this[_0x7d4719(0x225)](_0x48f4a8))if(!_0x5de2e8[_0x2e3bf5]&&_0xd69825[_0x4cc298]===_0x4682ec&&!_0xd69825[_0x2e3bf5])return;let _0x5ace24;if(_0x48f4a8===_0x7d4719(0xee))_0x5ace24=function(_0x261b61,_0x5f5a25){const _0x22dec5=new _0x3658bc('message',{'data':_0x5f5a25?_0x261b61:_0x261b61['toString']()});_0x22dec5[_0xd13f14]=this,_0x277125(_0x4682ec,this,_0x22dec5);};else{if(_0x48f4a8===_0x7d4719(0xc6))_0x5ace24=function(_0x59c231,_0xf7814){const _0x318d68=_0x7d4719,_0x3fdecc=new _0x10fa1b('close',{'code':_0x59c231,'reason':_0xf7814[_0x318d68(0x105)](),'wasClean':this[_0x318d68(0x16c)]&&this[_0x318d68(0x187)]});_0x3fdecc[_0xd13f14]=this,_0x277125(_0x4682ec,this,_0x3fdecc);};else{if(_0x48f4a8===_0x7d4719(0x1f1))_0x5ace24=function(_0x2e0815){const _0xf4f918=_0x7d4719,_0x4f2dec=new _0x588c28(_0xf4f918(0x1f1),{'error':_0x2e0815,'message':_0x2e0815[_0xf4f918(0xee)]});_0x4f2dec[_0xd13f14]=this,_0x277125(_0x4682ec,this,_0x4f2dec);};else{if(_0x48f4a8===_0x7d4719(0x241))_0x5ace24=function(){const _0x4d6344=_0x7d4719,_0x4d6461=new _0x289578(_0x4d6344(0x241));_0x4d6461[_0xd13f14]=this,_0x277125(_0x4682ec,this,_0x4d6461);};else return;}}}_0x5ace24[_0x2e3bf5]=!!_0x5de2e8[_0x2e3bf5],_0x5ace24[_0x4cc298]=_0x4682ec,_0x5de2e8['once']?this['once'](_0x48f4a8,_0x5ace24):this['on'](_0x48f4a8,_0x5ace24);},'removeEventListener'(_0x21371d,_0x1cbafe){const _0x43bb0f=_0x2e7486;for(const _0x41c3b5 of this[_0x43bb0f(0x225)](_0x21371d))if(_0x41c3b5[_0x4cc298]===_0x1cbafe&&!_0x41c3b5[_0x2e3bf5]){this[_0x43bb0f(0x1c9)](_0x21371d,_0x41c3b5);break;}}},'MessageEvent':_0x3658bc};function _0x277125(_0x5666c2,_0x380e20,_0x215612){const _0x59ee49=_0x2e7486;typeof _0x5666c2==_0x59ee49(0x109)&&_0x5666c2[_0x59ee49(0x1ae)]?_0x5666c2['handleEvent'][_0x59ee49(0x1b0)](_0x5666c2,_0x215612):_0x5666c2['call'](_0x380e20,_0x215612);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x1c8b73}=ae();function _0x3d02ca(_0x5a93cc,_0x5e948f,_0x3458a6){const _0xdc57b0=_0x2d0d;_0x5a93cc[_0x5e948f]===void 0x0?_0x5a93cc[_0x5e948f]=[_0x3458a6]:_0x5a93cc[_0x5e948f][_0xdc57b0(0x13a)](_0x3458a6);}function _0x3e7cec(_0x53ab2e){const _0x5792b4=_0x2d0d,_0x361fc5=Object['create'](null);let _0x5df044=Object['create'](null),_0xa0c5a=!0x1,_0x3d0860=!0x1,_0x13fc3a=!0x1,_0x3fab16,_0x454f43,_0x3df751=-0x1,_0x220eef=-0x1,_0x477c14=-0x1,_0x502117=0x0;for(;_0x502117<_0x53ab2e['length'];_0x502117++)if(_0x220eef=_0x53ab2e[_0x5792b4(0x146)](_0x502117),_0x3fab16===void 0x0){if(_0x477c14===-0x1&&_0x1c8b73[_0x220eef]===0x1)_0x3df751===-0x1&&(_0x3df751=_0x502117);else{if(_0x502117!==0x0&&(_0x220eef===0x20||_0x220eef===0x9))_0x477c14===-0x1&&_0x3df751!==-0x1&&(_0x477c14=_0x502117);else{if(_0x220eef===0x3b||_0x220eef===0x2c){if(_0x3df751===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x502117);_0x477c14===-0x1&&(_0x477c14=_0x502117);const _0xd13580=_0x53ab2e[_0x5792b4(0x149)](_0x3df751,_0x477c14);_0x220eef===0x2c?(_0x3d02ca(_0x361fc5,_0xd13580,_0x5df044),_0x5df044=Object[_0x5792b4(0xbb)](null)):_0x3fab16=_0xd13580,_0x3df751=_0x477c14=-0x1;}else throw new SyntaxError(_0x5792b4(0x186)+_0x502117);}}}else{if(_0x454f43===void 0x0){if(_0x477c14===-0x1&&_0x1c8b73[_0x220eef]===0x1)_0x3df751===-0x1&&(_0x3df751=_0x502117);else{if(_0x220eef===0x20||_0x220eef===0x9)_0x477c14===-0x1&&_0x3df751!==-0x1&&(_0x477c14=_0x502117);else{if(_0x220eef===0x3b||_0x220eef===0x2c){if(_0x3df751===-0x1)throw new SyntaxError(_0x5792b4(0x186)+_0x502117);_0x477c14===-0x1&&(_0x477c14=_0x502117),_0x3d02ca(_0x5df044,_0x53ab2e['slice'](_0x3df751,_0x477c14),!0x0),_0x220eef===0x2c&&(_0x3d02ca(_0x361fc5,_0x3fab16,_0x5df044),_0x5df044=Object[_0x5792b4(0xbb)](null),_0x3fab16=void 0x0),_0x3df751=_0x477c14=-0x1;}else{if(_0x220eef===0x3d&&_0x3df751!==-0x1&&_0x477c14===-0x1)_0x454f43=_0x53ab2e[_0x5792b4(0x149)](_0x3df751,_0x502117),_0x3df751=_0x477c14=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x502117);}}}}else{if(_0x3d0860){if(_0x1c8b73[_0x220eef]!==0x1)throw new SyntaxError(_0x5792b4(0x186)+_0x502117);_0x3df751===-0x1?_0x3df751=_0x502117:_0xa0c5a||(_0xa0c5a=!0x0),_0x3d0860=!0x1;}else{if(_0x13fc3a){if(_0x1c8b73[_0x220eef]===0x1)_0x3df751===-0x1&&(_0x3df751=_0x502117);else{if(_0x220eef===0x22&&_0x3df751!==-0x1)_0x13fc3a=!0x1,_0x477c14=_0x502117;else{if(_0x220eef===0x5c)_0x3d0860=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x502117);}}}else{if(_0x220eef===0x22&&_0x53ab2e[_0x5792b4(0x146)](_0x502117-0x1)===0x3d)_0x13fc3a=!0x0;else{if(_0x477c14===-0x1&&_0x1c8b73[_0x220eef]===0x1)_0x3df751===-0x1&&(_0x3df751=_0x502117);else{if(_0x3df751!==-0x1&&(_0x220eef===0x20||_0x220eef===0x9))_0x477c14===-0x1&&(_0x477c14=_0x502117);else{if(_0x220eef===0x3b||_0x220eef===0x2c){if(_0x3df751===-0x1)throw new SyntaxError(_0x5792b4(0x186)+_0x502117);_0x477c14===-0x1&&(_0x477c14=_0x502117);let _0x36ff16=_0x53ab2e[_0x5792b4(0x149)](_0x3df751,_0x477c14);_0xa0c5a&&(_0x36ff16=_0x36ff16[_0x5792b4(0x1cf)](/\\/g,''),_0xa0c5a=!0x1),_0x3d02ca(_0x5df044,_0x454f43,_0x36ff16),_0x220eef===0x2c&&(_0x3d02ca(_0x361fc5,_0x3fab16,_0x5df044),_0x5df044=Object[_0x5792b4(0xbb)](null),_0x3fab16=void 0x0),_0x454f43=void 0x0,_0x3df751=_0x477c14=-0x1;}else throw new SyntaxError(_0x5792b4(0x186)+_0x502117);}}}}}}}if(_0x3df751===-0x1||_0x13fc3a||_0x220eef===0x20||_0x220eef===0x9)throw new SyntaxError(_0x5792b4(0x115));_0x477c14===-0x1&&(_0x477c14=_0x502117);const _0x2cbe2a=_0x53ab2e[_0x5792b4(0x149)](_0x3df751,_0x477c14);return _0x3fab16===void 0x0?_0x3d02ca(_0x361fc5,_0x2cbe2a,_0x5df044):(_0x454f43===void 0x0?_0x3d02ca(_0x5df044,_0x2cbe2a,!0x0):_0xa0c5a?_0x3d02ca(_0x5df044,_0x454f43,_0x2cbe2a['replace'](/\\/g,'')):_0x3d02ca(_0x5df044,_0x454f43,_0x2cbe2a),_0x3d02ca(_0x361fc5,_0x3fab16,_0x5df044)),_0x361fc5;}function _0x5a1be1(_0x2a84f8){const _0x228243=_0x2d0d;return Object['keys'](_0x2a84f8)[_0x228243(0x15c)](_0x1e0007=>{const _0x986c38=_0x228243;let _0x32e1b4=_0x2a84f8[_0x1e0007];return Array[_0x986c38(0x139)](_0x32e1b4)||(_0x32e1b4=[_0x32e1b4]),_0x32e1b4[_0x986c38(0x15c)](_0x1cf9a8=>[_0x1e0007][_0x986c38(0x1d5)](Object[_0x986c38(0xc5)](_0x1cf9a8)[_0x986c38(0x15c)](_0x46b25c=>{const _0x181c38=_0x986c38;let _0xddba6=_0x1cf9a8[_0x46b25c];return Array[_0x181c38(0x139)](_0xddba6)||(_0xddba6=[_0xddba6]),_0xddba6['map'](_0xedcb3a=>_0xedcb3a===!0x0?_0x46b25c:_0x46b25c+'='+_0xedcb3a)['join'](';\x20');}))[_0x986c38(0xcc)](';\x20'))[_0x986c38(0xcc)](',\x20');})[_0x228243(0xcc)](',\x20');}return be={'format':_0x5a1be1,'parse':_0x3e7cec},be;}var we,Je;function Pe(){const _0x58fc6e=_0x85a53;if(Je)return we;Je=0x1;const _0x402e81=nt,_0x20adb1=vt,_0xc2763f=ot,_0x5623db=St,_0x56ca7b=Et,{randomBytes:_0x46d8ef,createHash:_0x381c61}=Le,{Duplex:_0xbe1f37,Readable:_0x588505}=oe,{URL:_0x95018b}=xt,_0x3b184d=he(),_0x3bb351=lt(),_0x3697bc=ft(),{isBlob:_0x1b2639}=ae(),{BINARY_TYPES:_0x199d74,EMPTY_BUFFER:_0x5456be,GUID:_0x16d813,kForOnEventAttribute:_0xf1c563,kListener:_0xd67090,kStatusCode:_0x40c3a2,kWebSocket:_0x335f33,NOOP:_0x5cc65b}=H(),{EventTarget:{addEventListener:_0x3fec9a,removeEventListener:_0x4577e2}}=It(),{format:_0x5a644a,parse:_0x5ee057}=ct(),{toBuffer:_0x1ffa91}=ce(),_0x4b1215=0x1e*0x3e8,_0x5e7f5e=Symbol('kAborted'),_0x4043aa=[0x8,0xd],_0x2fc2f0=[_0x58fc6e(0x1ba),_0x58fc6e(0x1a5),_0x58fc6e(0x26c),_0x58fc6e(0x1a4)],_0x3c43a6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x248257 extends _0x402e81{constructor(_0x17ae1b,_0x5c5ac9,_0x35f94f){const _0x799991=_0x58fc6e;super(),this[_0x799991(0x188)]=_0x199d74[0x0],this[_0x799991(0x210)]=0x3ee,this[_0x799991(0x16c)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x799991(0xde)]=_0x5456be,this[_0x799991(0x173)]=null,this[_0x799991(0x212)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x799991(0x13e)]='',this['_readyState']=_0x248257[_0x799991(0x1ba)],this['_receiver']=null,this['_sender']=null,this[_0x799991(0x237)]=null,_0x17ae1b!==null?(this['_bufferedAmount']=0x0,this[_0x799991(0x119)]=!0x1,this[_0x799991(0x236)]=0x0,_0x5c5ac9===void 0x0?_0x5c5ac9=[]:Array['isArray'](_0x5c5ac9)||(typeof _0x5c5ac9==_0x799991(0x109)&&_0x5c5ac9!==null?(_0x35f94f=_0x5c5ac9,_0x5c5ac9=[]):_0x5c5ac9=[_0x5c5ac9]),_0x1b1f9c(this,_0x17ae1b,_0x5c5ac9,_0x35f94f)):(this[_0x799991(0x23c)]=_0x35f94f[_0x799991(0x261)],this['_isServer']=!0x0);}get['binaryType'](){const _0x485b69=_0x58fc6e;return this[_0x485b69(0x188)];}set[_0x58fc6e(0x169)](_0x188ed7){const _0xbee7d2=_0x58fc6e;_0x199d74[_0xbee7d2(0x258)](_0x188ed7)&&(this[_0xbee7d2(0x188)]=_0x188ed7,this[_0xbee7d2(0xfe)]&&(this['_receiver'][_0xbee7d2(0x188)]=_0x188ed7));}get['bufferedAmount'](){const _0x343acf=_0x58fc6e;return this['_socket']?this[_0x343acf(0x237)]['_writableState'][_0x343acf(0x14d)]+this[_0x343acf(0x264)][_0x343acf(0x178)]:this[_0x343acf(0x1b4)];}get[_0x58fc6e(0x1a7)](){const _0x3aa748=_0x58fc6e;return Object[_0x3aa748(0xc5)](this[_0x3aa748(0x25b)])[_0x3aa748(0xcc)]();}get[_0x58fc6e(0x1f9)](){return this['_paused'];}get[_0x58fc6e(0x1e1)](){return null;}get[_0x58fc6e(0x13b)](){return null;}get[_0x58fc6e(0x175)](){return null;}get[_0x58fc6e(0x276)](){return null;}get['protocol'](){const _0x2b6625=_0x58fc6e;return this[_0x2b6625(0x13e)];}get[_0x58fc6e(0x1fc)](){return this['_readyState'];}get[_0x58fc6e(0x116)](){return this['_url'];}['setSocket'](_0x45ec75,_0x1fa983,_0x655864){const _0x544753=_0x58fc6e,_0x24c58d=new _0x3bb351({'allowSynchronousEvents':_0x655864[_0x544753(0xce)],'binaryType':this[_0x544753(0x169)],'extensions':this['_extensions'],'isServer':this[_0x544753(0x119)],'maxPayload':_0x655864[_0x544753(0xe4)],'skipUTF8Validation':_0x655864[_0x544753(0x1c7)]}),_0x108de8=new _0x3697bc(_0x45ec75,this['_extensions'],_0x655864['generateMask']);this[_0x544753(0xfe)]=_0x24c58d,this[_0x544753(0x264)]=_0x108de8,this[_0x544753(0x237)]=_0x45ec75,_0x24c58d[_0x335f33]=this,_0x108de8[_0x335f33]=this,_0x45ec75[_0x335f33]=this,_0x24c58d['on']('conclude',_0x3911fd),_0x24c58d['on'](_0x544753(0x107),_0xeabbf6),_0x24c58d['on'](_0x544753(0x1f1),_0x229ba1),_0x24c58d['on'](_0x544753(0xee),_0x286310),_0x24c58d['on'](_0x544753(0xd8),_0x20b5cf),_0x24c58d['on'](_0x544753(0x101),_0x4240ea),_0x108de8[_0x544753(0x13b)]=_0x3fa535,_0x45ec75[_0x544753(0x251)]&&_0x45ec75[_0x544753(0x251)](0x0),_0x45ec75[_0x544753(0x24a)]&&_0x45ec75['setNoDelay'](),_0x1fa983[_0x544753(0x14d)]>0x0&&_0x45ec75['unshift'](_0x1fa983),_0x45ec75['on'](_0x544753(0xc6),_0x8a9d89),_0x45ec75['on'](_0x544753(0x11e),_0x18a681),_0x45ec75['on'](_0x544753(0x267),_0x3b9adc),_0x45ec75['on'](_0x544753(0x1f1),_0x204273),this[_0x544753(0x114)]=_0x248257[_0x544753(0x1a5)],this[_0x544753(0x181)](_0x544753(0x241));}[_0x58fc6e(0x155)](){const _0x5004d1=_0x58fc6e;if(!this[_0x5004d1(0x237)]){this['_readyState']=_0x248257[_0x5004d1(0x1a4)],this['emit']('close',this['_closeCode'],this[_0x5004d1(0xde)]);return;}this[_0x5004d1(0x25b)][_0x3b184d[_0x5004d1(0x10e)]]&&this[_0x5004d1(0x25b)][_0x3b184d['extensionName']][_0x5004d1(0x218)](),this[_0x5004d1(0xfe)]['removeAllListeners'](),this[_0x5004d1(0x114)]=_0x248257[_0x5004d1(0x1a4)],this[_0x5004d1(0x181)](_0x5004d1(0xc6),this['_closeCode'],this[_0x5004d1(0xde)]);}[_0x58fc6e(0xc6)](_0x3f0b61,_0x3ce205){const _0x324a16=_0x58fc6e;if(this[_0x324a16(0x1fc)]!==_0x248257[_0x324a16(0x1a4)]){if(this['readyState']===_0x248257[_0x324a16(0x1ba)]){_0x2adb88(this,this[_0x324a16(0x1c1)],_0x324a16(0x133));return;}if(this[_0x324a16(0x1fc)]===_0x248257['CLOSING']){this['_closeFrameSent']&&(this[_0x324a16(0x16c)]||this['_receiver'][_0x324a16(0x1c2)]['errorEmitted'])&&this['_socket'][_0x324a16(0x267)]();return;}this[_0x324a16(0x114)]=_0x248257[_0x324a16(0x26c)],this['_sender'][_0x324a16(0xc6)](_0x3f0b61,_0x3ce205,!this['_isServer'],_0x3f5e7c=>{const _0x4b3a0e=_0x324a16;_0x3f5e7c||(this[_0x4b3a0e(0x187)]=!0x0,(this[_0x4b3a0e(0x16c)]||this['_receiver'][_0x4b3a0e(0x1c2)][_0x4b3a0e(0x1af)])&&this[_0x4b3a0e(0x237)]['end']());}),_0x57c5f3(this);}}[_0x58fc6e(0x272)](){const _0x6db540=_0x58fc6e;this[_0x6db540(0x1fc)]===_0x248257[_0x6db540(0x1ba)]||this['readyState']===_0x248257[_0x6db540(0x1a4)]||(this[_0x6db540(0x252)]=!0x0,this['_socket']['pause']());}[_0x58fc6e(0xd8)](_0x2e3957,_0x290f34,_0xa0192f){const _0x12f88f=_0x58fc6e;if(this[_0x12f88f(0x1fc)]===_0x248257[_0x12f88f(0x1ba)])throw new Error(_0x12f88f(0x1c0));if(typeof _0x2e3957=='function'?(_0xa0192f=_0x2e3957,_0x2e3957=_0x290f34=void 0x0):typeof _0x290f34==_0x12f88f(0x170)&&(_0xa0192f=_0x290f34,_0x290f34=void 0x0),typeof _0x2e3957==_0x12f88f(0x192)&&(_0x2e3957=_0x2e3957[_0x12f88f(0x105)]()),this[_0x12f88f(0x1fc)]!==_0x248257['OPEN']){_0x53004b(this,_0x2e3957,_0xa0192f);return;}_0x290f34===void 0x0&&(_0x290f34=!this[_0x12f88f(0x119)]),this[_0x12f88f(0x264)][_0x12f88f(0xd8)](_0x2e3957||_0x5456be,_0x290f34,_0xa0192f);}[_0x58fc6e(0x101)](_0x51e9eb,_0x3eea5d,_0x2491ec){const _0x3c6e68=_0x58fc6e;if(this['readyState']===_0x248257[_0x3c6e68(0x1ba)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x51e9eb==_0x3c6e68(0x170)?(_0x2491ec=_0x51e9eb,_0x51e9eb=_0x3eea5d=void 0x0):typeof _0x3eea5d==_0x3c6e68(0x170)&&(_0x2491ec=_0x3eea5d,_0x3eea5d=void 0x0),typeof _0x51e9eb==_0x3c6e68(0x192)&&(_0x51e9eb=_0x51e9eb[_0x3c6e68(0x105)]()),this[_0x3c6e68(0x1fc)]!==_0x248257['OPEN']){_0x53004b(this,_0x51e9eb,_0x2491ec);return;}_0x3eea5d===void 0x0&&(_0x3eea5d=!this['_isServer']),this[_0x3c6e68(0x264)]['pong'](_0x51e9eb||_0x5456be,_0x3eea5d,_0x2491ec);}['resume'](){const _0x1adbf9=_0x58fc6e;this['readyState']===_0x248257[_0x1adbf9(0x1ba)]||this['readyState']===_0x248257[_0x1adbf9(0x1a4)]||(this['_paused']=!0x1,this[_0x1adbf9(0xfe)][_0x1adbf9(0x1c2)]['needDrain']||this['_socket']['resume']());}[_0x58fc6e(0x161)](_0x114b60,_0x4802fc,_0x35f7df){const _0x29c230=_0x58fc6e;if(this[_0x29c230(0x1fc)]===_0x248257['CONNECTING'])throw new Error(_0x29c230(0x1c0));if(typeof _0x4802fc==_0x29c230(0x170)&&(_0x35f7df=_0x4802fc,_0x4802fc={}),typeof _0x114b60==_0x29c230(0x192)&&(_0x114b60=_0x114b60[_0x29c230(0x105)]()),this[_0x29c230(0x1fc)]!==_0x248257['OPEN']){_0x53004b(this,_0x114b60,_0x35f7df);return;}const _0x4a26b4={'binary':typeof _0x114b60!=_0x29c230(0x1c3),'mask':!this[_0x29c230(0x119)],'compress':!0x0,'fin':!0x0,..._0x4802fc};this['_extensions'][_0x3b184d['extensionName']]||(_0x4a26b4[_0x29c230(0xf4)]=!0x1),this[_0x29c230(0x264)][_0x29c230(0x161)](_0x114b60||_0x5456be,_0x4a26b4,_0x35f7df);}[_0x58fc6e(0x18a)](){const _0x32c8f8=_0x58fc6e;if(this['readyState']!==_0x248257[_0x32c8f8(0x1a4)]){if(this[_0x32c8f8(0x1fc)]===_0x248257[_0x32c8f8(0x1ba)]){_0x2adb88(this,this[_0x32c8f8(0x1c1)],_0x32c8f8(0x133));return;}this['_socket']&&(this[_0x32c8f8(0x114)]=_0x248257['CLOSING'],this['_socket'][_0x32c8f8(0x1c8)]());}}}Object[_0x58fc6e(0x20e)](_0x248257,_0x58fc6e(0x1ba),{'enumerable':!0x0,'value':_0x2fc2f0['indexOf'](_0x58fc6e(0x1ba))}),Object[_0x58fc6e(0x20e)](_0x248257[_0x58fc6e(0x14a)],_0x58fc6e(0x1ba),{'enumerable':!0x0,'value':_0x2fc2f0[_0x58fc6e(0xc0)]('CONNECTING')}),Object[_0x58fc6e(0x20e)](_0x248257,'OPEN',{'enumerable':!0x0,'value':_0x2fc2f0[_0x58fc6e(0xc0)](_0x58fc6e(0x1a5))}),Object[_0x58fc6e(0x20e)](_0x248257[_0x58fc6e(0x14a)],_0x58fc6e(0x1a5),{'enumerable':!0x0,'value':_0x2fc2f0[_0x58fc6e(0xc0)](_0x58fc6e(0x1a5))}),Object[_0x58fc6e(0x20e)](_0x248257,'CLOSING',{'enumerable':!0x0,'value':_0x2fc2f0['indexOf'](_0x58fc6e(0x26c))}),Object[_0x58fc6e(0x20e)](_0x248257[_0x58fc6e(0x14a)],_0x58fc6e(0x26c),{'enumerable':!0x0,'value':_0x2fc2f0['indexOf'](_0x58fc6e(0x26c))}),Object[_0x58fc6e(0x20e)](_0x248257,_0x58fc6e(0x1a4),{'enumerable':!0x0,'value':_0x2fc2f0[_0x58fc6e(0xc0)](_0x58fc6e(0x1a4))}),Object[_0x58fc6e(0x20e)](_0x248257[_0x58fc6e(0x14a)],'CLOSED',{'enumerable':!0x0,'value':_0x2fc2f0[_0x58fc6e(0xc0)](_0x58fc6e(0x1a4))}),[_0x58fc6e(0x169),'bufferedAmount','extensions',_0x58fc6e(0x1f9),_0x58fc6e(0x120),_0x58fc6e(0x1fc),_0x58fc6e(0x116)][_0x58fc6e(0xca)](_0x24f552=>{const _0x31bae9=_0x58fc6e;Object[_0x31bae9(0x20e)](_0x248257['prototype'],_0x24f552,{'enumerable':!0x0});}),[_0x58fc6e(0x241),_0x58fc6e(0x1f1),_0x58fc6e(0xc6),'message']['forEach'](_0xb7170e=>{const _0x30629e=_0x58fc6e;Object[_0x30629e(0x20e)](_0x248257[_0x30629e(0x14a)],'on'+_0xb7170e,{'enumerable':!0x0,'get'(){for(const _0x1b1f50 of this['listeners'](_0xb7170e))if(_0x1b1f50[_0xf1c563])return _0x1b1f50[_0xd67090];return null;},'set'(_0x55b36b){const _0x24b915=_0x30629e;for(const _0x3bbb52 of this[_0x24b915(0x225)](_0xb7170e))if(_0x3bbb52[_0xf1c563]){this[_0x24b915(0x1c9)](_0xb7170e,_0x3bbb52);break;}typeof _0x55b36b==_0x24b915(0x170)&&this[_0x24b915(0xd4)](_0xb7170e,_0x55b36b,{[_0xf1c563]:!0x0});}});}),_0x248257['prototype'][_0x58fc6e(0xd4)]=_0x3fec9a,_0x248257[_0x58fc6e(0x14a)][_0x58fc6e(0xcf)]=_0x4577e2,we=_0x248257;function _0x1b1f9c(_0x365dab,_0x4d0be3,_0x568d90,_0x2da4c6){const _0x3382fd=_0x58fc6e,_0x56b71f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4043aa[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2da4c6,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3382fd(0x24e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x365dab[_0x3382fd(0x23c)]=_0x56b71f[_0x3382fd(0x261)],!_0x4043aa[_0x3382fd(0x258)](_0x56b71f[_0x3382fd(0x1e3)]))throw new RangeError(_0x3382fd(0x220)+_0x56b71f['protocolVersion']+_0x3382fd(0x22f)+_0x4043aa['join'](',\x20')+')');let _0x3b5325;if(_0x4d0be3 instanceof _0x95018b)_0x3b5325=_0x4d0be3;else try{_0x3b5325=new _0x95018b(_0x4d0be3);}catch{throw new SyntaxError(_0x3382fd(0x23b)+_0x4d0be3);}_0x3b5325[_0x3382fd(0x120)]==='http:'?_0x3b5325[_0x3382fd(0x120)]=_0x3382fd(0x19f):_0x3b5325['protocol']===_0x3382fd(0x11f)&&(_0x3b5325[_0x3382fd(0x120)]=_0x3382fd(0x148)),_0x365dab['_url']=_0x3b5325[_0x3382fd(0x24d)];const _0x5d62c5=_0x3b5325['protocol']===_0x3382fd(0x148),_0x28a07e=_0x3b5325[_0x3382fd(0x120)]==='ws+unix:';let _0x1d4318;if(_0x3b5325[_0x3382fd(0x120)]!=='ws:'&&!_0x5d62c5&&!_0x28a07e?_0x1d4318=_0x3382fd(0x23d):_0x28a07e&&!_0x3b5325[_0x3382fd(0x152)]?_0x1d4318='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x3b5325['hash']&&(_0x1d4318=_0x3382fd(0x1da)),_0x1d4318){const _0x2a8dde=new SyntaxError(_0x1d4318);if(_0x365dab[_0x3382fd(0x236)]===0x0)throw _0x2a8dde;_0x463ae0(_0x365dab,_0x2a8dde);return;}const _0x77945f=_0x5d62c5?0x1bb:0x50,_0x9c0f4b=_0x46d8ef(0x10)['toString'](_0x3382fd(0x1cd)),_0x231204=_0x5d62c5?_0x20adb1[_0x3382fd(0x113)]:_0xc2763f[_0x3382fd(0x113)],_0xa3efb=new Set();let _0x1a6126;if(_0x56b71f[_0x3382fd(0x217)]=_0x56b71f[_0x3382fd(0x217)]||(_0x5d62c5?_0x34a3ac:_0x51bc2),_0x56b71f[_0x3382fd(0xf9)]=_0x56b71f['defaultPort']||_0x77945f,_0x56b71f[_0x3382fd(0x206)]=_0x3b5325[_0x3382fd(0x206)]||_0x77945f,_0x56b71f[_0x3382fd(0x103)]=_0x3b5325[_0x3382fd(0x121)][_0x3382fd(0x11a)]('[')?_0x3b5325[_0x3382fd(0x121)]['slice'](0x1,-0x1):_0x3b5325[_0x3382fd(0x121)],_0x56b71f[_0x3382fd(0x273)]={..._0x56b71f[_0x3382fd(0x273)],'Sec-WebSocket-Version':_0x56b71f[_0x3382fd(0x1e3)],'Sec-WebSocket-Key':_0x9c0f4b,'Connection':_0x3382fd(0x25f),'Upgrade':'websocket'},_0x56b71f[_0x3382fd(0x1be)]=_0x3b5325['pathname']+_0x3b5325[_0x3382fd(0x179)],_0x56b71f[_0x3382fd(0x127)]=_0x56b71f[_0x3382fd(0x1e9)],_0x56b71f['perMessageDeflate']&&(_0x1a6126=new _0x3b184d(_0x56b71f[_0x3382fd(0x213)]!==!0x0?_0x56b71f[_0x3382fd(0x213)]:{},!0x1,_0x56b71f[_0x3382fd(0xe4)]),_0x56b71f[_0x3382fd(0x273)][_0x3382fd(0x20d)]=_0x5a644a({[_0x3b184d[_0x3382fd(0x10e)]]:_0x1a6126['offer']()})),_0x568d90[_0x3382fd(0x14d)]){for(const _0x136e69 of _0x568d90){if(typeof _0x136e69!='string'||!_0x3c43a6[_0x3382fd(0x208)](_0x136e69)||_0xa3efb[_0x3382fd(0xd2)](_0x136e69))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xa3efb[_0x3382fd(0xfb)](_0x136e69);}_0x56b71f['headers'][_0x3382fd(0x1ef)]=_0x568d90[_0x3382fd(0xcc)](',');}if(_0x56b71f[_0x3382fd(0x1ac)]&&(_0x56b71f[_0x3382fd(0x1e3)]<0xd?_0x56b71f['headers'][_0x3382fd(0x153)]=_0x56b71f[_0x3382fd(0x1ac)]:_0x56b71f[_0x3382fd(0x273)]['Origin']=_0x56b71f[_0x3382fd(0x1ac)]),(_0x3b5325[_0x3382fd(0x26b)]||_0x3b5325[_0x3382fd(0x197)])&&(_0x56b71f[_0x3382fd(0x17c)]=_0x3b5325[_0x3382fd(0x26b)]+':'+_0x3b5325[_0x3382fd(0x197)]),_0x28a07e){const _0x502ab7=_0x56b71f[_0x3382fd(0x1be)][_0x3382fd(0xed)](':');_0x56b71f[_0x3382fd(0x12f)]=_0x502ab7[0x0],_0x56b71f[_0x3382fd(0x1be)]=_0x502ab7[0x1];}let _0x55fa72;if(_0x56b71f[_0x3382fd(0x1e6)]){if(_0x365dab[_0x3382fd(0x236)]===0x0){_0x365dab[_0x3382fd(0x1fa)]=_0x28a07e,_0x365dab[_0x3382fd(0x1d7)]=_0x5d62c5,_0x365dab[_0x3382fd(0x15d)]=_0x28a07e?_0x56b71f['socketPath']:_0x3b5325[_0x3382fd(0x103)];const _0x37c09e=_0x2da4c6&&_0x2da4c6[_0x3382fd(0x273)];if(_0x2da4c6={..._0x2da4c6,'headers':{}},_0x37c09e){for(const [_0x5c9b5a,_0x54d6a8]of Object['entries'](_0x37c09e))_0x2da4c6['headers'][_0x5c9b5a[_0x3382fd(0x1fb)]()]=_0x54d6a8;}}else{if(_0x365dab[_0x3382fd(0x1b2)](_0x3382fd(0x275))===0x0){const _0x219d75=_0x28a07e?_0x365dab[_0x3382fd(0x1fa)]?_0x56b71f['socketPath']===_0x365dab[_0x3382fd(0x15d)]:!0x1:_0x365dab[_0x3382fd(0x1fa)]?!0x1:_0x3b5325[_0x3382fd(0x103)]===_0x365dab[_0x3382fd(0x15d)];(!_0x219d75||_0x365dab['_originalSecure']&&!_0x5d62c5)&&(delete _0x56b71f['headers'][_0x3382fd(0x164)],delete _0x56b71f[_0x3382fd(0x273)][_0x3382fd(0x1ce)],_0x219d75||delete _0x56b71f[_0x3382fd(0x273)][_0x3382fd(0x103)],_0x56b71f[_0x3382fd(0x17c)]=void 0x0);}}_0x56b71f[_0x3382fd(0x17c)]&&!_0x2da4c6[_0x3382fd(0x273)][_0x3382fd(0x164)]&&(_0x2da4c6[_0x3382fd(0x273)][_0x3382fd(0x164)]='Basic\x20'+Buffer[_0x3382fd(0x26e)](_0x56b71f[_0x3382fd(0x17c)])[_0x3382fd(0x105)](_0x3382fd(0x1cd))),_0x55fa72=_0x365dab[_0x3382fd(0x1c1)]=_0x231204(_0x56b71f),_0x365dab['_redirects']&&_0x365dab[_0x3382fd(0x181)](_0x3382fd(0x275),_0x365dab[_0x3382fd(0x116)],_0x55fa72);}else _0x55fa72=_0x365dab[_0x3382fd(0x1c1)]=_0x231204(_0x56b71f);_0x56b71f[_0x3382fd(0x127)]&&_0x55fa72['on'](_0x3382fd(0x127),()=>{const _0xecaa06=_0x3382fd;_0x2adb88(_0x365dab,_0x55fa72,_0xecaa06(0x18b));}),_0x55fa72['on'](_0x3382fd(0x1f1),_0xe728cb=>{_0x55fa72===null||_0x55fa72[_0x5e7f5e]||(_0x55fa72=_0x365dab['_req']=null,_0x463ae0(_0x365dab,_0xe728cb));}),_0x55fa72['on'](_0x3382fd(0x1de),_0x4c887e=>{const _0x193cfc=_0x3382fd,_0x3ffeaa=_0x4c887e[_0x193cfc(0x273)][_0x193cfc(0x270)],_0x30db0e=_0x4c887e[_0x193cfc(0x222)];if(_0x3ffeaa&&_0x56b71f['followRedirects']&&_0x30db0e>=0x12c&&_0x30db0e<0x190){if(++_0x365dab['_redirects']>_0x56b71f['maxRedirects']){_0x2adb88(_0x365dab,_0x55fa72,_0x193cfc(0x249));return;}_0x55fa72[_0x193cfc(0x136)]();let _0x13ea60;try{_0x13ea60=new _0x95018b(_0x3ffeaa,_0x4d0be3);}catch{const _0x4abaa4=new SyntaxError(_0x193cfc(0x23b)+_0x3ffeaa);_0x463ae0(_0x365dab,_0x4abaa4);return;}_0x1b1f9c(_0x365dab,_0x13ea60,_0x568d90,_0x2da4c6);}else _0x365dab[_0x193cfc(0x181)]('unexpected-response',_0x55fa72,_0x4c887e)||_0x2adb88(_0x365dab,_0x55fa72,_0x193cfc(0x190)+_0x4c887e['statusCode']);}),_0x55fa72['on'](_0x3382fd(0x26d),(_0xd3a236,_0x5eb7a8,_0x35b939)=>{const _0x5d7284=_0x3382fd;if(_0x365dab[_0x5d7284(0x181)](_0x5d7284(0x26d),_0xd3a236),_0x365dab[_0x5d7284(0x1fc)]!==_0x248257[_0x5d7284(0x1ba)])return;_0x55fa72=_0x365dab[_0x5d7284(0x1c1)]=null;const _0x2419a5=_0xd3a236[_0x5d7284(0x273)][_0x5d7284(0x26d)];if(_0x2419a5===void 0x0||_0x2419a5['toLowerCase']()!=='websocket'){_0x2adb88(_0x365dab,_0x5eb7a8,'Invalid\x20Upgrade\x20header');return;}const _0x50cb17=_0x381c61(_0x5d7284(0x10d))[_0x5d7284(0xdd)](_0x9c0f4b+_0x16d813)['digest']('base64');if(_0xd3a236[_0x5d7284(0x273)]['sec-websocket-accept']!==_0x50cb17){_0x2adb88(_0x365dab,_0x5eb7a8,_0x5d7284(0x15e));return;}const _0x4b8061=_0xd3a236['headers'][_0x5d7284(0xc1)];let _0x41d296;if(_0x4b8061!==void 0x0?_0xa3efb[_0x5d7284(0x168)]?_0xa3efb[_0x5d7284(0xd2)](_0x4b8061)||(_0x41d296=_0x5d7284(0x1bc)):_0x41d296='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0xa3efb['size']&&(_0x41d296=_0x5d7284(0x147)),_0x41d296){_0x2adb88(_0x365dab,_0x5eb7a8,_0x41d296);return;}_0x4b8061&&(_0x365dab['_protocol']=_0x4b8061);const _0x4b2163=_0xd3a236[_0x5d7284(0x273)]['sec-websocket-extensions'];if(_0x4b2163!==void 0x0){if(!_0x1a6126){_0x2adb88(_0x365dab,_0x5eb7a8,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2bdddd;try{_0x2bdddd=_0x5ee057(_0x4b2163);}catch{_0x2adb88(_0x365dab,_0x5eb7a8,_0x5d7284(0x22b));return;}const _0x198bb1=Object[_0x5d7284(0xc5)](_0x2bdddd);if(_0x198bb1['length']!==0x1||_0x198bb1[0x0]!==_0x3b184d[_0x5d7284(0x10e)]){_0x2adb88(_0x365dab,_0x5eb7a8,_0x5d7284(0x18c));return;}try{_0x1a6126[_0x5d7284(0x266)](_0x2bdddd[_0x3b184d[_0x5d7284(0x10e)]]);}catch{_0x2adb88(_0x365dab,_0x5eb7a8,_0x5d7284(0x22b));return;}_0x365dab[_0x5d7284(0x25b)][_0x3b184d[_0x5d7284(0x10e)]]=_0x1a6126;}_0x365dab[_0x5d7284(0x229)](_0x5eb7a8,_0x35b939,{'allowSynchronousEvents':_0x56b71f[_0x5d7284(0xce)],'generateMask':_0x56b71f[_0x5d7284(0xc9)],'maxPayload':_0x56b71f[_0x5d7284(0xe4)],'skipUTF8Validation':_0x56b71f['skipUTF8Validation']});}),_0x56b71f['finishRequest']?_0x56b71f[_0x3382fd(0x260)](_0x55fa72,_0x365dab):_0x55fa72[_0x3382fd(0x267)]();}function _0x463ae0(_0x128d66,_0x36d3b6){const _0x1178df=_0x58fc6e;_0x128d66['_readyState']=_0x248257['CLOSING'],_0x128d66['_errorEmitted']=!0x0,_0x128d66['emit'](_0x1178df(0x1f1),_0x36d3b6),_0x128d66[_0x1178df(0x155)]();}function _0x51bc2(_0x36cf7e){const _0x129d8c=_0x58fc6e;return _0x36cf7e['path']=_0x36cf7e[_0x129d8c(0x12f)],_0x5623db[_0x129d8c(0x1f6)](_0x36cf7e);}function _0x34a3ac(_0x305770){const _0x4bf729=_0x58fc6e;return _0x305770[_0x4bf729(0x1be)]=void 0x0,!_0x305770['servername']&&_0x305770[_0x4bf729(0x1a1)]!==''&&(_0x305770[_0x4bf729(0x1a1)]=_0x5623db[_0x4bf729(0x244)](_0x305770['host'])?'':_0x305770['host']),_0x56ca7b['connect'](_0x305770);}function _0x2adb88(_0x5d600a,_0xb9a037,_0x35e013){const _0x47b068=_0x58fc6e;_0x5d600a['_readyState']=_0x248257[_0x47b068(0x26c)];const _0x2e8681=new Error(_0x35e013);Error[_0x47b068(0x233)](_0x2e8681,_0x2adb88),_0xb9a037[_0x47b068(0x23a)]?(_0xb9a037[_0x5e7f5e]=!0x0,_0xb9a037['abort'](),_0xb9a037[_0x47b068(0x1fe)]&&!_0xb9a037[_0x47b068(0x1fe)][_0x47b068(0x239)]&&_0xb9a037[_0x47b068(0x1fe)][_0x47b068(0x1c8)](),process['nextTick'](_0x463ae0,_0x5d600a,_0x2e8681)):(_0xb9a037['destroy'](_0x2e8681),_0xb9a037['once'](_0x47b068(0x1f1),_0x5d600a[_0x47b068(0x181)][_0x47b068(0x268)](_0x5d600a,'error')),_0xb9a037[_0x47b068(0x1ec)](_0x47b068(0xc6),_0x5d600a[_0x47b068(0x155)][_0x47b068(0x268)](_0x5d600a)));}function _0x53004b(_0x58f47b,_0x8e4e62,_0x12bd87){const _0x50da83=_0x58fc6e;if(_0x8e4e62){const _0x4c9881=_0x1b2639(_0x8e4e62)?_0x8e4e62[_0x50da83(0x168)]:_0x1ffa91(_0x8e4e62)[_0x50da83(0x14d)];_0x58f47b[_0x50da83(0x237)]?_0x58f47b[_0x50da83(0x264)][_0x50da83(0x178)]+=_0x4c9881:_0x58f47b[_0x50da83(0x1b4)]+=_0x4c9881;}if(_0x12bd87){const _0x336c25=new Error(_0x50da83(0x111)+_0x58f47b[_0x50da83(0x1fc)]+'\x20('+_0x2fc2f0[_0x58f47b[_0x50da83(0x1fc)]]+')');process[_0x50da83(0x259)](_0x12bd87,_0x336c25);}}function _0x3911fd(_0x89cb6b,_0x1a3218){const _0x43b196=_0x58fc6e,_0x3f7b9f=this[_0x335f33];_0x3f7b9f['_closeFrameReceived']=!0x0,_0x3f7b9f[_0x43b196(0xde)]=_0x1a3218,_0x3f7b9f[_0x43b196(0x210)]=_0x89cb6b,_0x3f7b9f[_0x43b196(0x237)][_0x335f33]!==void 0x0&&(_0x3f7b9f[_0x43b196(0x237)][_0x43b196(0x1c9)](_0x43b196(0x11e),_0x18a681),process['nextTick'](_0x87bce5,_0x3f7b9f[_0x43b196(0x237)]),_0x89cb6b===0x3ed?_0x3f7b9f[_0x43b196(0xc6)]():_0x3f7b9f[_0x43b196(0xc6)](_0x89cb6b,_0x1a3218));}function _0xeabbf6(){const _0x2a0497=_0x58fc6e,_0x4ebfa0=this[_0x335f33];_0x4ebfa0['isPaused']||_0x4ebfa0['_socket'][_0x2a0497(0x12b)]();}function _0x229ba1(_0x56bae1){const _0x5bbf92=_0x58fc6e,_0x55ca90=this[_0x335f33];_0x55ca90[_0x5bbf92(0x237)][_0x335f33]!==void 0x0&&(_0x55ca90[_0x5bbf92(0x237)]['removeListener'](_0x5bbf92(0x11e),_0x18a681),process[_0x5bbf92(0x259)](_0x87bce5,_0x55ca90[_0x5bbf92(0x237)]),_0x55ca90[_0x5bbf92(0xc6)](_0x56bae1[_0x40c3a2])),_0x55ca90[_0x5bbf92(0x212)]||(_0x55ca90[_0x5bbf92(0x212)]=!0x0,_0x55ca90['emit'](_0x5bbf92(0x1f1),_0x56bae1));}function _0x52e7bd(){const _0x48dd65=_0x58fc6e;this[_0x335f33][_0x48dd65(0x155)]();}function _0x286310(_0x50477c,_0x2e0fae){const _0x4aafb8=_0x58fc6e;this[_0x335f33]['emit'](_0x4aafb8(0xee),_0x50477c,_0x2e0fae);}function _0x20b5cf(_0x539a02){const _0xa8e3f7=_0x58fc6e,_0x263624=this[_0x335f33];_0x263624['_autoPong']&&_0x263624[_0xa8e3f7(0x101)](_0x539a02,!this[_0xa8e3f7(0x119)],_0x5cc65b),_0x263624[_0xa8e3f7(0x181)](_0xa8e3f7(0xd8),_0x539a02);}function _0x4240ea(_0x9809f7){const _0x5d1387=_0x58fc6e;this[_0x335f33][_0x5d1387(0x181)]('pong',_0x9809f7);}function _0x87bce5(_0x4d8f50){const _0x239947=_0x58fc6e;_0x4d8f50[_0x239947(0x12b)]();}function _0x3fa535(_0x571852){const _0x3e3f72=_0x58fc6e,_0x5a13d3=this[_0x335f33];_0x5a13d3[_0x3e3f72(0x1fc)]!==_0x248257[_0x3e3f72(0x1a4)]&&(_0x5a13d3[_0x3e3f72(0x1fc)]===_0x248257['OPEN']&&(_0x5a13d3[_0x3e3f72(0x114)]=_0x248257['CLOSING'],_0x57c5f3(_0x5a13d3)),this[_0x3e3f72(0x237)][_0x3e3f72(0x267)](),_0x5a13d3[_0x3e3f72(0x212)]||(_0x5a13d3[_0x3e3f72(0x212)]=!0x0,_0x5a13d3[_0x3e3f72(0x181)](_0x3e3f72(0x1f1),_0x571852)));}function _0x57c5f3(_0x187ef9){const _0x16cc1d=_0x58fc6e;_0x187ef9[_0x16cc1d(0x173)]=setTimeout(_0x187ef9['_socket'][_0x16cc1d(0x1c8)][_0x16cc1d(0x268)](_0x187ef9[_0x16cc1d(0x237)]),_0x4b1215);}function _0x8a9d89(){const _0x12a53e=_0x58fc6e,_0x2e0d9a=this[_0x335f33];this[_0x12a53e(0x1c9)](_0x12a53e(0xc6),_0x8a9d89),this[_0x12a53e(0x1c9)](_0x12a53e(0x11e),_0x18a681),this[_0x12a53e(0x1c9)]('end',_0x3b9adc),_0x2e0d9a[_0x12a53e(0x114)]=_0x248257['CLOSING'];let _0x23d747;!this[_0x12a53e(0x16d)][_0x12a53e(0x150)]&&!_0x2e0d9a['_closeFrameReceived']&&!_0x2e0d9a['_receiver'][_0x12a53e(0x1c2)][_0x12a53e(0x1af)]&&(_0x23d747=_0x2e0d9a[_0x12a53e(0x237)][_0x12a53e(0x174)]())!==null&&_0x2e0d9a[_0x12a53e(0xfe)][_0x12a53e(0xc3)](_0x23d747),_0x2e0d9a[_0x12a53e(0xfe)]['end'](),this[_0x335f33]=void 0x0,clearTimeout(_0x2e0d9a[_0x12a53e(0x173)]),_0x2e0d9a['_receiver']['_writableState'][_0x12a53e(0x13c)]||_0x2e0d9a[_0x12a53e(0xfe)][_0x12a53e(0x1c2)][_0x12a53e(0x1af)]?_0x2e0d9a['emitClose']():(_0x2e0d9a[_0x12a53e(0xfe)]['on'](_0x12a53e(0x1f1),_0x52e7bd),_0x2e0d9a[_0x12a53e(0xfe)]['on'](_0x12a53e(0x1e5),_0x52e7bd));}function _0x18a681(_0x5509ae){const _0x4695be=_0x58fc6e;this[_0x335f33][_0x4695be(0xfe)][_0x4695be(0xc3)](_0x5509ae)||this['pause']();}function _0x3b9adc(){const _0x2a6d15=_0x58fc6e,_0xc48a09=this[_0x335f33];_0xc48a09[_0x2a6d15(0x114)]=_0x248257[_0x2a6d15(0x26c)],_0xc48a09[_0x2a6d15(0xfe)][_0x2a6d15(0x267)](),this[_0x2a6d15(0x267)]();}function _0x204273(){const _0x1debff=_0x58fc6e,_0x308bb9=this[_0x335f33];this['removeListener'](_0x1debff(0x1f1),_0x204273),this['on']('error',_0x5cc65b),_0x308bb9&&(_0x308bb9[_0x1debff(0x114)]=_0x248257[_0x1debff(0x26c)],this[_0x1debff(0x1c8)]());}return we;}function _0x2d0d(_0x1f750a,_0x2f6069){const _0x33209e=_0x3320();return _0x2d0d=function(_0x2d0d5f,_0x4afebc){_0x2d0d5f=_0x2d0d5f-0xba;let _0x41db31=_0x33209e[_0x2d0d5f];return _0x41db31;},_0x2d0d(_0x1f750a,_0x2f6069);}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x45577d}=oe;function _0x50e6fe(_0x478b87){const _0x40aea7=_0x2d0d;_0x478b87[_0x40aea7(0x181)](_0x40aea7(0xc6));}function _0x4516dd(){const _0x7ee004=_0x2d0d;!this[_0x7ee004(0x239)]&&this[_0x7ee004(0x1c2)][_0x7ee004(0x13c)]&&this[_0x7ee004(0x1c8)]();}function _0x55ce4a(_0x22d185){const _0x26be3c=_0x2d0d;this[_0x26be3c(0x1c9)](_0x26be3c(0x1f1),_0x55ce4a),this[_0x26be3c(0x1c8)](),this[_0x26be3c(0x1b2)](_0x26be3c(0x1f1))===0x0&&this[_0x26be3c(0x181)](_0x26be3c(0x1f1),_0x22d185);}function _0x5a98bd(_0x3a836c,_0x3f9984){const _0x4cb29e=_0x2d0d;let _0x36b234=!0x0;const _0x4e20ea=new _0x45577d({..._0x3f9984,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3a836c['on'](_0x4cb29e(0xee),function(_0x4ad95b,_0xa0df3c){const _0x49a45b=_0x4cb29e,_0x4d6a25=!_0xa0df3c&&_0x4e20ea['_readableState'][_0x49a45b(0xe0)]?_0x4ad95b[_0x49a45b(0x105)]():_0x4ad95b;_0x4e20ea[_0x49a45b(0x13a)](_0x4d6a25)||_0x3a836c[_0x49a45b(0x272)]();}),_0x3a836c[_0x4cb29e(0x1ec)](_0x4cb29e(0x1f1),function(_0x288a6e){const _0x1e6764=_0x4cb29e;_0x4e20ea[_0x1e6764(0x239)]||(_0x36b234=!0x1,_0x4e20ea['destroy'](_0x288a6e));}),_0x3a836c[_0x4cb29e(0x1ec)](_0x4cb29e(0xc6),function(){const _0xde0b29=_0x4cb29e;_0x4e20ea[_0xde0b29(0x239)]||_0x4e20ea[_0xde0b29(0x13a)](null);}),_0x4e20ea[_0x4cb29e(0x15f)]=function(_0xa7e9b0,_0x245f3b){const _0x100a1d=_0x4cb29e;if(_0x3a836c[_0x100a1d(0x1fc)]===_0x3a836c[_0x100a1d(0x1a4)]){_0x245f3b(_0xa7e9b0),process['nextTick'](_0x50e6fe,_0x4e20ea);return;}let _0x1ee301=!0x1;_0x3a836c['once']('error',function(_0x1f00c8){_0x1ee301=!0x0,_0x245f3b(_0x1f00c8);}),_0x3a836c[_0x100a1d(0x1ec)](_0x100a1d(0xc6),function(){_0x1ee301||_0x245f3b(_0xa7e9b0),process['nextTick'](_0x50e6fe,_0x4e20ea);}),_0x36b234&&_0x3a836c['terminate']();},_0x4e20ea[_0x4cb29e(0x1ee)]=function(_0x463183){const _0x41487d=_0x4cb29e;if(_0x3a836c[_0x41487d(0x1fc)]===_0x3a836c[_0x41487d(0x1ba)]){_0x3a836c[_0x41487d(0x1ec)](_0x41487d(0x241),function(){const _0x3baeeb=_0x41487d;_0x4e20ea[_0x3baeeb(0x1ee)](_0x463183);});return;}_0x3a836c[_0x41487d(0x237)]!==null&&(_0x3a836c[_0x41487d(0x237)][_0x41487d(0x1c2)][_0x41487d(0x13c)]?(_0x463183(),_0x4e20ea[_0x41487d(0x16d)][_0x41487d(0x150)]&&_0x4e20ea['destroy']()):(_0x3a836c['_socket'][_0x41487d(0x1ec)](_0x41487d(0x1e5),function(){_0x463183();}),_0x3a836c[_0x41487d(0xc6)]()));},_0x4e20ea['_read']=function(){const _0x125c5f=_0x4cb29e;_0x3a836c[_0x125c5f(0x1f9)]&&_0x3a836c[_0x125c5f(0x12b)]();},_0x4e20ea[_0x4cb29e(0x131)]=function(_0x2faf07,_0x47a0ca,_0x409e39){const _0xb6778a=_0x4cb29e;if(_0x3a836c[_0xb6778a(0x1fc)]===_0x3a836c['CONNECTING']){_0x3a836c[_0xb6778a(0x1ec)](_0xb6778a(0x241),function(){_0x4e20ea['_write'](_0x2faf07,_0x47a0ca,_0x409e39);});return;}_0x3a836c[_0xb6778a(0x161)](_0x2faf07,_0x409e39);},_0x4e20ea['on'](_0x4cb29e(0x267),_0x4516dd),_0x4e20ea['on']('error',_0x55ce4a),_0x4e20ea;}return Oe=_0x5a98bd,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1f6bbe}=ae();function _0x31838e(_0xa09c43){const _0x1158d3=_0x2d0d,_0x4df393=new Set();let _0x554e9e=-0x1,_0x31815e=-0x1,_0x3c02d3=0x0;for(_0x3c02d3;_0x3c02d3<_0xa09c43[_0x1158d3(0x14d)];_0x3c02d3++){const _0x1adc94=_0xa09c43[_0x1158d3(0x146)](_0x3c02d3);if(_0x31815e===-0x1&&_0x1f6bbe[_0x1adc94]===0x1)_0x554e9e===-0x1&&(_0x554e9e=_0x3c02d3);else{if(_0x3c02d3!==0x0&&(_0x1adc94===0x20||_0x1adc94===0x9))_0x31815e===-0x1&&_0x554e9e!==-0x1&&(_0x31815e=_0x3c02d3);else{if(_0x1adc94===0x2c){if(_0x554e9e===-0x1)throw new SyntaxError(_0x1158d3(0x186)+_0x3c02d3);_0x31815e===-0x1&&(_0x31815e=_0x3c02d3);const _0x4e24f8=_0xa09c43[_0x1158d3(0x149)](_0x554e9e,_0x31815e);if(_0x4df393[_0x1158d3(0xd2)](_0x4e24f8))throw new SyntaxError(_0x1158d3(0x15b)+_0x4e24f8+_0x1158d3(0x11c));_0x4df393['add'](_0x4e24f8),_0x554e9e=_0x31815e=-0x1;}else throw new SyntaxError(_0x1158d3(0x186)+_0x3c02d3);}}}if(_0x554e9e===-0x1||_0x31815e!==-0x1)throw new SyntaxError(_0x1158d3(0x115));const _0x21d5e4=_0xa09c43[_0x1158d3(0x149)](_0x554e9e,_0x3c02d3);if(_0x4df393[_0x1158d3(0xd2)](_0x21d5e4))throw new SyntaxError('The\x20\x22'+_0x21d5e4+_0x1158d3(0x11c));return _0x4df393[_0x1158d3(0xfb)](_0x21d5e4),_0x4df393;}return Ce={'parse':_0x31838e},Ce;}var Te,rt;function Ft(){const _0xd287b3=_0x85a53;if(rt)return Te;rt=0x1;const _0x287f7d=nt,_0xa6abb6=ot,{Duplex:_0x320ebd}=oe,{createHash:_0x46792e}=Le,_0x4f70bb=ct(),_0x5b5099=he(),_0x39ca85=At(),_0x11ad83=Pe(),{GUID:_0x24451c,kWebSocket:_0x4b5902}=H(),_0x301307=/^[+/0-9A-Za-z]{22}==$/,_0x537793=0x0,_0x2634ef=0x1,_0x595cdb=0x2;class _0x4295cf extends _0x287f7d{constructor(_0x50bd5c,_0x2fc98c){const _0x1cee4a=_0x2d0d;if(super(),_0x50bd5c={'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':_0x11ad83,..._0x50bd5c},_0x50bd5c[_0x1cee4a(0x206)]==null&&!_0x50bd5c['server']&&!_0x50bd5c[_0x1cee4a(0x1ff)]||_0x50bd5c['port']!=null&&(_0x50bd5c[_0x1cee4a(0x1e8)]||_0x50bd5c[_0x1cee4a(0x1ff)])||_0x50bd5c['server']&&_0x50bd5c[_0x1cee4a(0x1ff)])throw new TypeError(_0x1cee4a(0x1bf));if(_0x50bd5c[_0x1cee4a(0x206)]!=null?(this['_server']=_0xa6abb6[_0x1cee4a(0x1c5)]((_0x13041c,_0x20e5d1)=>{const _0xd9ab45=_0x1cee4a,_0x238464=_0xa6abb6[_0xd9ab45(0x143)][0x1aa];_0x20e5d1['writeHead'](0x1aa,{'Content-Length':_0x238464['length'],'Content-Type':_0xd9ab45(0xcb)}),_0x20e5d1[_0xd9ab45(0x267)](_0x238464);}),this[_0x1cee4a(0x104)][_0x1cee4a(0x1f0)](_0x50bd5c[_0x1cee4a(0x206)],_0x50bd5c[_0x1cee4a(0x103)],_0x50bd5c[_0x1cee4a(0x26f)],_0x2fc98c)):_0x50bd5c[_0x1cee4a(0x1e8)]&&(this[_0x1cee4a(0x104)]=_0x50bd5c[_0x1cee4a(0x1e8)]),this[_0x1cee4a(0x104)]){const _0x689287=this[_0x1cee4a(0x181)][_0x1cee4a(0x268)](this,_0x1cee4a(0xd0));this[_0x1cee4a(0x256)]=_0x382ea8(this[_0x1cee4a(0x104)],{'listening':this['emit'][_0x1cee4a(0x268)](this,'listening'),'error':this[_0x1cee4a(0x181)][_0x1cee4a(0x268)](this,'error'),'upgrade':(_0x2b8026,_0x13359e,_0x105034)=>{const _0x40f6f8=_0x1cee4a;this[_0x40f6f8(0x271)](_0x2b8026,_0x13359e,_0x105034,_0x689287);}});}_0x50bd5c[_0x1cee4a(0x213)]===!0x0&&(_0x50bd5c[_0x1cee4a(0x213)]={}),_0x50bd5c['clientTracking']&&(this[_0x1cee4a(0xc2)]=new Set(),this[_0x1cee4a(0x1a3)]=!0x1),this[_0x1cee4a(0x209)]=_0x50bd5c,this[_0x1cee4a(0x124)]=_0x537793;}[_0xd287b3(0xe5)](){const _0x2ce8c9=_0xd287b3;if(this[_0x2ce8c9(0x209)][_0x2ce8c9(0x1ff)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x2ce8c9(0x104)]?this[_0x2ce8c9(0x104)][_0x2ce8c9(0xe5)]():null;}['close'](_0x32242c){const _0x19897b=_0xd287b3;if(this[_0x19897b(0x124)]===_0x595cdb){_0x32242c&&this[_0x19897b(0x1ec)]('close',()=>{const _0x3a8070=_0x19897b;_0x32242c(new Error(_0x3a8070(0xd7)));}),process['nextTick'](_0xd87a0b,this);return;}if(_0x32242c&&this[_0x19897b(0x1ec)](_0x19897b(0xc6),_0x32242c),this[_0x19897b(0x124)]!==_0x2634ef){if(this['_state']=_0x2634ef,this['options'][_0x19897b(0x1ff)]||this[_0x19897b(0x209)][_0x19897b(0x1e8)])this[_0x19897b(0x104)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x19897b(0x104)]=null),this[_0x19897b(0xc2)]?this['clients'][_0x19897b(0x168)]?this[_0x19897b(0x1a3)]=!0x0:process['nextTick'](_0xd87a0b,this):process[_0x19897b(0x259)](_0xd87a0b,this);else{const _0x55635b=this[_0x19897b(0x104)];this['_removeListeners'](),this['_removeListeners']=this['_server']=null,_0x55635b[_0x19897b(0xc6)](()=>{_0xd87a0b(this);});}}}[_0xd287b3(0x1b8)](_0x153515){const _0x12e204=_0xd287b3;if(this[_0x12e204(0x209)][_0x12e204(0x1be)]){const _0x451e90=_0x153515[_0x12e204(0x116)]['indexOf']('?');if((_0x451e90!==-0x1?_0x153515[_0x12e204(0x116)][_0x12e204(0x149)](0x0,_0x451e90):_0x153515[_0x12e204(0x116)])!==this[_0x12e204(0x209)][_0x12e204(0x1be)])return!0x1;}return!0x0;}[_0xd287b3(0x271)](_0x34bc6c,_0x4dc072,_0x38baff,_0x38428f){const _0x2b2494=_0xd287b3;_0x4dc072['on'](_0x2b2494(0x1f1),_0x4fd46f);const _0x6c08b4=_0x34bc6c[_0x2b2494(0x273)][_0x2b2494(0x246)],_0xadf694=_0x34bc6c[_0x2b2494(0x273)][_0x2b2494(0x26d)],_0x29a517=+_0x34bc6c['headers'][_0x2b2494(0x253)];if(_0x34bc6c[_0x2b2494(0xf0)]!==_0x2b2494(0x24e)){_0x1c8a56(this,_0x34bc6c,_0x4dc072,0x195,_0x2b2494(0x137));return;}if(_0xadf694===void 0x0||_0xadf694[_0x2b2494(0x1fb)]()!=='websocket'){_0x1c8a56(this,_0x34bc6c,_0x4dc072,0x190,_0x2b2494(0x205));return;}if(_0x6c08b4===void 0x0||!_0x301307[_0x2b2494(0x208)](_0x6c08b4)){_0x1c8a56(this,_0x34bc6c,_0x4dc072,0x190,_0x2b2494(0x12e));return;}if(_0x29a517!==0x8&&_0x29a517!==0xd){_0x1c8a56(this,_0x34bc6c,_0x4dc072,0x190,_0x2b2494(0xbc));return;}if(!this[_0x2b2494(0x1b8)](_0x34bc6c)){_0x44e485(_0x4dc072,0x190);return;}const _0x2de30c=_0x34bc6c[_0x2b2494(0x273)][_0x2b2494(0xc1)];let _0x946901=new Set();if(_0x2de30c!==void 0x0)try{_0x946901=_0x39ca85[_0x2b2494(0x1d6)](_0x2de30c);}catch{_0x1c8a56(this,_0x34bc6c,_0x4dc072,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2f4024=_0x34bc6c['headers'][_0x2b2494(0xf1)],_0x4958e2={};if(this[_0x2b2494(0x209)][_0x2b2494(0x213)]&&_0x2f4024!==void 0x0){const _0x12b5ac=new _0x5b5099(this['options']['perMessageDeflate'],!0x0,this[_0x2b2494(0x209)][_0x2b2494(0xe4)]);try{const _0x24c6c6=_0x4f70bb['parse'](_0x2f4024);_0x24c6c6[_0x5b5099[_0x2b2494(0x10e)]]&&(_0x12b5ac['accept'](_0x24c6c6[_0x5b5099[_0x2b2494(0x10e)]]),_0x4958e2[_0x5b5099[_0x2b2494(0x10e)]]=_0x12b5ac);}catch{_0x1c8a56(this,_0x34bc6c,_0x4dc072,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x2b2494(0x209)][_0x2b2494(0x17d)]){const _0x8a1428={'origin':_0x34bc6c[_0x2b2494(0x273)][''+(_0x29a517===0x8?'sec-websocket-origin':_0x2b2494(0x1ac))],'secure':!!(_0x34bc6c[_0x2b2494(0x1fe)]['authorized']||_0x34bc6c[_0x2b2494(0x1fe)][_0x2b2494(0x182)]),'req':_0x34bc6c};if(this[_0x2b2494(0x209)][_0x2b2494(0x17d)][_0x2b2494(0x14d)]===0x2){this[_0x2b2494(0x209)][_0x2b2494(0x17d)](_0x8a1428,(_0x1f8af2,_0xa07026,_0xd9f5a,_0x200940)=>{const _0x384b2b=_0x2b2494;if(!_0x1f8af2)return _0x44e485(_0x4dc072,_0xa07026||0x191,_0xd9f5a,_0x200940);this[_0x384b2b(0x176)](_0x4958e2,_0x6c08b4,_0x946901,_0x34bc6c,_0x4dc072,_0x38baff,_0x38428f);});return;}if(!this['options'][_0x2b2494(0x17d)](_0x8a1428))return _0x44e485(_0x4dc072,0x191);}this[_0x2b2494(0x176)](_0x4958e2,_0x6c08b4,_0x946901,_0x34bc6c,_0x4dc072,_0x38baff,_0x38428f);}[_0xd287b3(0x176)](_0x443731,_0x2edbba,_0x329a5b,_0x324fc2,_0x8ab5aa,_0x4a50ef,_0x6fee52){const _0xd8d9c8=_0xd287b3;if(!_0x8ab5aa[_0xd8d9c8(0x219)]||!_0x8ab5aa[_0xd8d9c8(0x165)])return _0x8ab5aa[_0xd8d9c8(0x1c8)]();if(_0x8ab5aa[_0x4b5902])throw new Error(_0xd8d9c8(0x177));if(this[_0xd8d9c8(0x124)]>_0x537793)return _0x44e485(_0x8ab5aa,0x1f7);const _0x440874=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0xd8d9c8(0x134),_0xd8d9c8(0x110),_0xd8d9c8(0x144)+_0x46792e(_0xd8d9c8(0x10d))[_0xd8d9c8(0xdd)](_0x2edbba+_0x24451c)['digest'](_0xd8d9c8(0x1cd))],_0x103dce=new this[(_0xd8d9c8(0x209))][(_0xd8d9c8(0xe6))](null,void 0x0,this['options']);if(_0x329a5b['size']){const _0x3ec09e=this[_0xd8d9c8(0x209)][_0xd8d9c8(0x191)]?this[_0xd8d9c8(0x209)][_0xd8d9c8(0x191)](_0x329a5b,_0x324fc2):_0x329a5b[_0xd8d9c8(0xbe)]()[_0xd8d9c8(0x196)]()[_0xd8d9c8(0x1f7)];_0x3ec09e&&(_0x440874[_0xd8d9c8(0x13a)](_0xd8d9c8(0x1b7)+_0x3ec09e),_0x103dce[_0xd8d9c8(0x13e)]=_0x3ec09e);}if(_0x443731[_0x5b5099['extensionName']]){const _0x3c09b0=_0x443731[_0x5b5099[_0xd8d9c8(0x10e)]][_0xd8d9c8(0x1cc)],_0x57f489=_0x4f70bb['format']({[_0x5b5099[_0xd8d9c8(0x10e)]]:[_0x3c09b0]});_0x440874[_0xd8d9c8(0x13a)]('Sec-WebSocket-Extensions:\x20'+_0x57f489),_0x103dce[_0xd8d9c8(0x25b)]=_0x443731;}this[_0xd8d9c8(0x181)](_0xd8d9c8(0x273),_0x440874,_0x324fc2),_0x8ab5aa[_0xd8d9c8(0xc3)](_0x440874[_0xd8d9c8(0x1d5)]('\x0d\x0a')['join']('\x0d\x0a')),_0x8ab5aa[_0xd8d9c8(0x1c9)](_0xd8d9c8(0x1f1),_0x4fd46f),_0x103dce[_0xd8d9c8(0x229)](_0x8ab5aa,_0x4a50ef,{'allowSynchronousEvents':this[_0xd8d9c8(0x209)]['allowSynchronousEvents'],'maxPayload':this['options'][_0xd8d9c8(0xe4)],'skipUTF8Validation':this[_0xd8d9c8(0x209)][_0xd8d9c8(0x1c7)]}),this[_0xd8d9c8(0xc2)]&&(this[_0xd8d9c8(0xc2)][_0xd8d9c8(0xfb)](_0x103dce),_0x103dce['on']('close',()=>{const _0x1f9da8=_0xd8d9c8;this[_0x1f9da8(0xc2)]['delete'](_0x103dce),this['_shouldEmitClose']&&!this[_0x1f9da8(0xc2)][_0x1f9da8(0x168)]&&process['nextTick'](_0xd87a0b,this);})),_0x6fee52(_0x103dce,_0x324fc2);}}Te=_0x4295cf;function _0x382ea8(_0x31d49d,_0x2996a4){const _0x35b38e=_0xd287b3;for(const _0x3896f7 of Object[_0x35b38e(0xc5)](_0x2996a4))_0x31d49d['on'](_0x3896f7,_0x2996a4[_0x3896f7]);return function(){const _0x286171=_0x35b38e;for(const _0x42cdd7 of Object[_0x286171(0xc5)](_0x2996a4))_0x31d49d[_0x286171(0x1c9)](_0x42cdd7,_0x2996a4[_0x42cdd7]);};}function _0xd87a0b(_0x5f1064){const _0x42e7b6=_0xd287b3;_0x5f1064[_0x42e7b6(0x124)]=_0x595cdb,_0x5f1064[_0x42e7b6(0x181)](_0x42e7b6(0xc6));}function _0x4fd46f(){this['destroy']();}function _0x44e485(_0x184b1d,_0x207de6,_0x1bffb1,_0x5fe984){const _0x560850=_0xd287b3;_0x1bffb1=_0x1bffb1||_0xa6abb6[_0x560850(0x143)][_0x207de6],_0x5fe984={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x1bffb1),..._0x5fe984},_0x184b1d[_0x560850(0x1ec)](_0x560850(0x1e5),_0x184b1d['destroy']),_0x184b1d[_0x560850(0x267)]('HTTP/1.1\x20'+_0x207de6+'\x20'+_0xa6abb6[_0x560850(0x143)][_0x207de6]+'\x0d\x0a'+Object[_0x560850(0xc5)](_0x5fe984)[_0x560850(0x15c)](_0x2c5f03=>_0x2c5f03+':\x20'+_0x5fe984[_0x2c5f03])['join']('\x0d\x0a')+_0x560850(0x1d4)+_0x1bffb1);}function _0x1c8a56(_0x1a8c06,_0x5d6943,_0xad1bf9,_0x57716f,_0x32e656){const _0x7473d7=_0xd287b3;if(_0x1a8c06[_0x7473d7(0x1b2)](_0x7473d7(0x1d8))){const _0x1f6481=new Error(_0x32e656);Error['captureStackTrace'](_0x1f6481,_0x1c8a56),_0x1a8c06[_0x7473d7(0x181)]('wsClientError',_0x1f6481,_0xad1bf9,_0x5d6943);}else _0x44e485(_0xad1bf9,_0x57716f,_0x32e656);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x20ff71,_0x396fd9,_0x1c9763,_0x201e12)=>{for(var _0x62d23e=_0x201e12>0x1?void 0x0:_0x201e12?jt(_0x396fd9,_0x1c9763):_0x396fd9,_0x4e3269=_0x20ff71['length']-0x1,_0xfcc158;_0x4e3269>=0x0;_0x4e3269--)(_0xfcc158=_0x20ff71[_0x4e3269])&&(_0x62d23e=_0xfcc158(_0x62d23e)||_0x62d23e);return _0x62d23e;},qt=(_0x387fb8,_0x6a996d)=>(_0x2a0175,_0x37d08e)=>_0x6a996d(_0x2a0175,_0x37d08e,_0x387fb8);let ke=class extends A[_0x85a53(0x22e)]{constructor(_0x690ec8){const _0x31bc0d=_0x85a53;super(),this[_0x31bc0d(0xfd)]=_0x690ec8;}['createSocket'](_0x152fa4){const _0x30d1e0=_0x85a53;var _0x7c88b7;const _0x2d2567=(_0x7c88b7=this['_configService'][_0x30d1e0(0x1e0)](fe))==null?void 0x0:_0x7c88b7['customHeaders'];try{const _0x5c7321=new $t(_0x152fa4,{'headers':{..._0x2d2567}}),_0x358ac0=new A['DisposableCollection']();return{'URL':_0x152fa4,'close':(_0x10fcab,_0x211c3e)=>{const _0x23df26=_0x30d1e0;_0x5c7321[_0x23df26(0xc6)](_0x10fcab,_0x211c3e),_0x358ac0['dispose']();},'send':_0xbfb4ee=>{const _0x4e573e=_0x30d1e0;_0x5c7321[_0x4e573e(0x161)](_0xbfb4ee);},'open$':new V['Observable'](_0x1f1a20=>{const _0x43e168=_0x30d1e0,_0x4a7147=_0x2beacb=>_0x1f1a20[_0x43e168(0x196)](_0x2beacb);_0x5c7321[_0x43e168(0xd4)](_0x43e168(0x241),_0x4a7147),_0x358ac0['add'](A['toDisposable'](()=>_0x5c7321[_0x43e168(0xcf)](_0x43e168(0x241),_0x4a7147)));})[_0x30d1e0(0x142)](V[_0x30d1e0(0x215)]()),'close$':new V[(_0x30d1e0(0xd5))](_0x5e0cc3=>{const _0x2dcbcb=_0x30d1e0,_0x5b08c3=_0x16f2ae=>_0x5e0cc3[_0x2dcbcb(0x196)](_0x16f2ae);_0x5c7321[_0x2dcbcb(0xd4)]('close',_0x5b08c3),_0x358ac0[_0x2dcbcb(0xfb)](A['toDisposable'](()=>_0x5c7321[_0x2dcbcb(0xcf)](_0x2dcbcb(0xc6),_0x5b08c3)));})[_0x30d1e0(0x142)](V[_0x30d1e0(0x215)]()),'error$':new V[(_0x30d1e0(0xd5))](_0x48220d=>{const _0xe63b5e=_0x30d1e0,_0xd80881=_0x31cc88=>_0x48220d['next'](_0x31cc88);_0x5c7321['addEventListener']('error',_0xd80881),_0x358ac0[_0xe63b5e(0xfb)](A[_0xe63b5e(0x14b)](()=>_0x5c7321['removeEventListener']('error',_0xd80881)));})[_0x30d1e0(0x142)](V[_0x30d1e0(0x215)]()),'message$':new V[(_0x30d1e0(0xd5))](_0x189a62=>{const _0x2e23ef=_0x30d1e0,_0x43a0ed=_0x15c705=>_0x189a62[_0x2e23ef(0x196)](_0x15c705);_0x5c7321['addEventListener']('message',_0x43a0ed),_0x358ac0[_0x2e23ef(0xfb)](A[_0x2e23ef(0x14b)](()=>_0x5c7321[_0x2e23ef(0xcf)]('message',_0x43a0ed)));})[_0x30d1e0(0x142)](V['share']())};}catch(_0x5c58b6){return console[_0x30d1e0(0x1f1)](_0x5c58b6),null;}}};ke=Wt([qt(0x0,A[_0x85a53(0x1d3)])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x876a31,_0x3e051f,_0x3f8ea7)=>_0x3e051f in _0x876a31?Gt(_0x876a31,_0x3e051f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f8ea7}):_0x876a31[_0x3e051f]=_0x3f8ea7,zt=(_0x526248,_0x4cf145,_0x335063,_0x209eb1)=>{const _0x1f60cc=_0x85a53;for(var _0x9c4341=_0x209eb1>0x1?void 0x0:_0x209eb1?Vt(_0x4cf145,_0x335063):_0x4cf145,_0x5a16da=_0x526248[_0x1f60cc(0x14d)]-0x1,_0xf2134e;_0x5a16da>=0x0;_0x5a16da--)(_0xf2134e=_0x526248[_0x5a16da])&&(_0x9c4341=_0xf2134e(_0x9c4341)||_0x9c4341);return _0x9c4341;},Ne=(_0x2f5fb0,_0x49537f)=>(_0x1dd341,_0x1d8149)=>_0x49537f(_0x1dd341,_0x1d8149,_0x2f5fb0),Yt=(_0x2f0460,_0xb9082e,_0x1a645b)=>Ht(_0x2f0460,_0xb9082e+'',_0x1a645b);exports[_0x85a53(0x274)]=class extends A[_0x85a53(0x10a)]{constructor(_0x5519cc=Ct,_0x3d01f2,_0x4d30c0,_0x4ef96c){const _0xacfb45=_0x85a53;_0x5519cc[_0xacfb45(0x1a8)]||_0x3d01f2['warn'](_0xacfb45(0x1a6)),super(),this['_configService']=_0x4d30c0,this[_0xacfb45(0x269)]=_0x4ef96c,this[_0xacfb45(0xfd)][_0xacfb45(0x248)](fe,_0x5519cc);}[_0x85a53(0x228)](){this['_registerDependencies']();}[_0x85a53(0x1a9)](){const _0x4e8cfd=_0x85a53;A[_0x4e8cfd(0x10f)](this[_0x4e8cfd(0x269)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x85a53(0x274)],_0x85a53(0x183),_0x85a53(0x16e)),exports[_0x85a53(0x274)]=zt([A['DependentOn'](st[_0x85a53(0x1dc)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x85a53(0x1d3)]),Ne(0x3,A[_0x85a53(0x17e)](A[_0x85a53(0x108)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x85a53(0x194)],Xt=(_0x1a97a0,_0x391ae9,_0x3e459f,_0x412366)=>{const _0x4a24c2=_0x85a53;for(var _0x389f8e=_0x412366>0x1?void 0x0:_0x412366?Kt(_0x391ae9,_0x3e459f):_0x391ae9,_0x3fc064=_0x1a97a0[_0x4a24c2(0x14d)]-0x1,_0x1d768a;_0x3fc064>=0x0;_0x3fc064--)(_0x1d768a=_0x1a97a0[_0x3fc064])&&(_0x389f8e=_0x1d768a(_0x389f8e)||_0x389f8e);return _0x389f8e;},ne=(_0x17d0e0,_0x4e5d1a)=>(_0x571793,_0xf7f902)=>_0x4e5d1a(_0x571793,_0xf7f902,_0x17d0e0);exports[_0x85a53(0x1dd)]=class extends st[_0x85a53(0x106)]{constructor(_0xb07a2f,_0x544b11,_0x498f8b,_0x5a2f81,_0x432835){const _0x413760=_0x85a53;super(_0xb07a2f,_0x544b11,_0x498f8b,_0x5a2f81,_0x432835);const _0x3bb4ce=this[_0x413760(0xfd)][_0x413760(0x1e0)](fe);this[_0x413760(0x18e)][_0x413760(0xda)]({'interceptor':(_0x37c55f,_0x524120)=>{const _0x4e4d2b=_0x413760;var _0xbf5da1;const _0x20754e=_0x37c55f[_0x4e4d2b(0x273)];return(_0xbf5da1=_0x3bb4ce==null?void 0x0:_0x3bb4ce['customHeaders'])!=null&&_0xbf5da1[_0x4e4d2b(0x1ce)]&&_0x20754e['set'](_0x4e4d2b(0x1f4),_0x3bb4ce['customHeaders']['cookie']),_0x524120(_0x37c55f);}});}async[_0x85a53(0x157)](_0x215c2d){const _0x1fa888=_0x85a53;return this[_0x1fa888(0x1ca)](_0x215c2d);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x85a53(0x17e)](A[_0x85a53(0x108)])),ne(0x1,A[_0x85a53(0x17e)](it[_0x85a53(0xf7)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x85a53(0x20c)]),ne(0x4,Ot[_0x85a53(0xf3)])],exports[_0x85a53(0x1dd)]),exports[_0x85a53(0xdb)]=fe;
|