@univerjs-pro/collaboration-client-node 0.9.2-nightly.202507161608 → 0.9.2-nightly.202507171607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x19dea5,_0x5f2638){const _0x2b939e=_0xb06b,_0x129494=_0x19dea5();while(!![]){try{const _0x5f21e0=parseInt(_0x2b939e(0x215))/0x1*(parseInt(_0x2b939e(0x23e))/0x2)+parseInt(_0x2b939e(0x273))/0x3+-parseInt(_0x2b939e(0x26f))/0x4*(parseInt(_0x2b939e(0x111))/0x5)+-parseInt(_0x2b939e(0x1a6))/0x6*(-parseInt(_0x2b939e(0x280))/0x7)+parseInt(_0x2b939e(0x196))/0x8+-parseInt(_0x2b939e(0x138))/0x9+parseInt(_0x2b939e(0x221))/0xa*(-parseInt(_0x2b939e(0x176))/0xb);if(_0x5f21e0===_0x5f2638)break;else _0x129494['push'](_0x129494['shift']());}catch(_0x5324cd){_0x129494['push'](_0x129494['shift']());}}}(_0x1e2b,0x8f0a3),function(_0x3a3169,_0x518844){const _0x5176b5=_0xb06b;typeof exports=='object'&&typeof module<'u'?_0x518844(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs'),require('events'),require('https'),require('http'),require('net'),require('tls'),require('crypto'),require('stream'),require('url'),require('zlib'),require('buffer'),require('@univerjs-pro/collaboration')):typeof define==_0x5176b5(0x22a)&&define[_0x5176b5(0x272)]?define([_0x5176b5(0xe5),'@univerjs-pro/collaboration-client',_0x5176b5(0x1f2),'@univerjs/network',_0x5176b5(0x145),_0x5176b5(0x1e6),_0x5176b5(0x14b),'http',_0x5176b5(0x1de),_0x5176b5(0x12b),_0x5176b5(0xfe),_0x5176b5(0x1a0),_0x5176b5(0x261),_0x5176b5(0x1f0),_0x5176b5(0x234),_0x5176b5(0x283)],_0x518844):(_0x3a3169=typeof globalThis<'u'?globalThis:_0x3a3169||self,_0x518844(_0x3a3169['UniverProCollaborationClientNode']={},_0x3a3169[_0x5176b5(0x159)],_0x3a3169['UniverCore'],_0x3a3169[_0x5176b5(0x1db)],_0x3a3169[_0x5176b5(0x145)],_0x3a3169[_0x5176b5(0x28f)],_0x3a3169['require$$1$2'],_0x3a3169[_0x5176b5(0x1c8)],_0x3a3169[_0x5176b5(0x26b)],_0x3a3169[_0x5176b5(0x2ac)],_0x3a3169[_0x5176b5(0x1c3)],_0x3a3169[_0x5176b5(0x217)],_0x3a3169['require$$7'],_0x3a3169[_0x5176b5(0x282)],_0x3a3169[_0x5176b5(0x24c)],_0x3a3169[_0x5176b5(0x11f)]));}(this,function(_0x37d3dc,_0x187974,_0x3c1dc5,_0x330cce,_0xb7c316,_0x34ff39,_0xfa792e,_0x426f21,_0x50d01f,_0x11b64b,_0x3c4d65,_0xf09357,_0x2c7d60,_0x21ab82,_0x1b19f0,_0xc968ef){'use strict';const _0x47617f=_0xb06b;const _0x3ace37=_0x47617f(0x131),_0x10db50={'customHeaders':{}};function _0x5d8feb(_0x22ec3e){const _0x1c1a97=_0x47617f;return _0x22ec3e&&_0x22ec3e[_0x1c1a97(0xfd)]&&Object[_0x1c1a97(0x1fa)][_0x1c1a97(0x121)][_0x1c1a97(0x143)](_0x22ec3e,_0x1c1a97(0x1b7))?_0x22ec3e['default']:_0x22ec3e;}function _0x11093a(_0x4ad0ab){const _0x5a924e=_0x47617f;if(Object[_0x5a924e(0x1fa)][_0x5a924e(0x121)][_0x5a924e(0x143)](_0x4ad0ab,_0x5a924e(0xfd)))return _0x4ad0ab;var _0x47a504=_0x4ad0ab['default'];if(typeof _0x47a504=='function'){var _0x4ce2b1=function _0x3c0ade(){const _0x2c74aa=_0x5a924e;return this instanceof _0x3c0ade?Reflect['construct'](_0x47a504,arguments,this[_0x2c74aa(0x192)]):_0x47a504[_0x2c74aa(0x235)](this,arguments);};_0x4ce2b1['prototype']=_0x47a504['prototype'];}else _0x4ce2b1={};return Object[_0x5a924e(0x18d)](_0x4ce2b1,_0x5a924e(0xfd),{'value':!0x0}),Object[_0x5a924e(0x13e)](_0x4ad0ab)['forEach'](function(_0x5b31f3){const _0x14cff4=_0x5a924e;var _0x5bd115=Object['getOwnPropertyDescriptor'](_0x4ad0ab,_0x5b31f3);Object[_0x14cff4(0x18d)](_0x4ce2b1,_0x5b31f3,_0x5bd115[_0x14cff4(0x1cf)]?_0x5bd115:{'enumerable':!0x0,'get':function(){return _0x4ad0ab[_0x5b31f3];}});}),_0x4ce2b1;}var _0x1138c9={'exports':{}},_0x3b61ba,_0x290602;function _0x1510a1(){const _0x3bae6c=_0x47617f;if(_0x290602)return _0x3b61ba;_0x290602=0x1;const _0x113f8a=[_0x3bae6c(0x1b3),_0x3bae6c(0x24b),'fragments'],_0x37f07b=typeof Blob<'u';return _0x37f07b&&_0x113f8a[_0x3bae6c(0x19d)](_0x3bae6c(0x21b)),_0x3b61ba={'BINARY_TYPES':_0x113f8a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3bae6c(0x2b4),'hasBlob':_0x37f07b,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3bae6c(0x1ba)),'kStatusCode':Symbol(_0x3bae6c(0x2b0)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},_0x3b61ba;}const _0x18cb0d=_0x11093a(Object[_0x47617f(0x257)](Object[_0x47617f(0x18d)]({'__proto__':null,'default':{}},Symbol[_0x47617f(0x27f)],{'value':_0x47617f(0x12f)})));var _0x343d11;function _0xc07583(){const _0xa6de1c=_0x47617f;if(_0x343d11)return _0x1138c9['exports'];_0x343d11=0x1;const {EMPTY_BUFFER:_0x227543}=_0x1510a1(),_0x303d33=Buffer[Symbol[_0xa6de1c(0x130)]];function _0x57e3b9(_0x3cb653,_0x568eb){const _0x44bf14=_0xa6de1c;if(_0x3cb653['length']===0x0)return _0x227543;if(_0x3cb653[_0x44bf14(0x278)]===0x1)return _0x3cb653[0x0];const _0x4d3a40=Buffer['allocUnsafe'](_0x568eb);let _0x1f0262=0x0;for(let _0x411e1a=0x0;_0x411e1a<_0x3cb653[_0x44bf14(0x278)];_0x411e1a++){const _0x5bb002=_0x3cb653[_0x411e1a];_0x4d3a40[_0x44bf14(0x1ed)](_0x5bb002,_0x1f0262),_0x1f0262+=_0x5bb002[_0x44bf14(0x278)];}return _0x1f0262<_0x568eb?new _0x303d33(_0x4d3a40['buffer'],_0x4d3a40[_0x44bf14(0x1ce)],_0x1f0262):_0x4d3a40;}function _0xc45d9b(_0x852dca,_0x39736e,_0x59307e,_0x4fd9b9,_0xf48aa2){for(let _0xc6d504=0x0;_0xc6d504<_0xf48aa2;_0xc6d504++)_0x59307e[_0x4fd9b9+_0xc6d504]=_0x852dca[_0xc6d504]^_0x39736e[_0xc6d504&0x3];}function _0x33445e(_0x48e141,_0x124f22){for(let _0x44e1a6=0x0;_0x44e1a6<_0x48e141['length'];_0x44e1a6++)_0x48e141[_0x44e1a6]^=_0x124f22[_0x44e1a6&0x3];}function _0x539e46(_0x599b7c){const _0xeb5613=_0xa6de1c;return _0x599b7c[_0xeb5613(0x278)]===_0x599b7c['buffer'][_0xeb5613(0x16f)]?_0x599b7c[_0xeb5613(0x234)]:_0x599b7c[_0xeb5613(0x234)][_0xeb5613(0x194)](_0x599b7c[_0xeb5613(0x1ce)],_0x599b7c['byteOffset']+_0x599b7c['length']);}function _0x1d8f53(_0x318781){const _0x4ea604=_0xa6de1c;if(_0x1d8f53['readOnly']=!0x0,Buffer[_0x4ea604(0xe3)](_0x318781))return _0x318781;let _0x520e96;return _0x318781 instanceof ArrayBuffer?_0x520e96=new _0x303d33(_0x318781):ArrayBuffer[_0x4ea604(0x17c)](_0x318781)?_0x520e96=new _0x303d33(_0x318781[_0x4ea604(0x234)],_0x318781[_0x4ea604(0x1ce)],_0x318781[_0x4ea604(0x16f)]):(_0x520e96=Buffer['from'](_0x318781),_0x1d8f53[_0x4ea604(0x201)]=!0x1),_0x520e96;}if(_0x1138c9['exports']={'concat':_0x57e3b9,'mask':_0xc45d9b,'toArrayBuffer':_0x539e46,'toBuffer':_0x1d8f53,'unmask':_0x33445e},!process[_0xa6de1c(0x274)][_0xa6de1c(0x1e5)])try{const _0x1defec=_0x18cb0d;_0x1138c9[_0xa6de1c(0xe5)][_0xa6de1c(0x189)]=function(_0x28891a,_0x3b0f80,_0x5775fb,_0x172870,_0x4d404){const _0xca85e4=_0xa6de1c;_0x4d404<0x30?_0xc45d9b(_0x28891a,_0x3b0f80,_0x5775fb,_0x172870,_0x4d404):_0x1defec[_0xca85e4(0x189)](_0x28891a,_0x3b0f80,_0x5775fb,_0x172870,_0x4d404);},_0x1138c9[_0xa6de1c(0xe5)][_0xa6de1c(0x2b2)]=function(_0x55c914,_0x387007){const _0x51cc2b=_0xa6de1c;_0x55c914[_0x51cc2b(0x278)]<0x20?_0x33445e(_0x55c914,_0x387007):_0x1defec[_0x51cc2b(0x2b2)](_0x55c914,_0x387007);};}catch{}return _0x1138c9[_0xa6de1c(0xe5)];}var _0x341afc,_0x1a810e;function _0x1d14c1(){const _0x1b093e=_0x47617f;if(_0x1a810e)return _0x341afc;_0x1a810e=0x1;const _0x1f9621=Symbol(_0x1b093e(0x142)),_0x1aa810=Symbol('kRun');class _0x490d48{constructor(_0x58a731){const _0x5414f6=_0x1b093e;this[_0x1f9621]=()=>{this['pending']--,this[_0x1aa810]();},this[_0x5414f6(0x285)]=_0x58a731||0x1/0x0,this[_0x5414f6(0x15f)]=[],this[_0x5414f6(0x1a7)]=0x0;}[_0x1b093e(0x205)](_0xe443b1){const _0x580c60=_0x1b093e;this[_0x580c60(0x15f)][_0x580c60(0x19d)](_0xe443b1),this[_0x1aa810]();}[_0x1aa810](){const _0x3e19fe=_0x1b093e;if(this[_0x3e19fe(0x1a7)]!==this[_0x3e19fe(0x285)]&&this['jobs'][_0x3e19fe(0x278)]){const _0x2bb6e5=this[_0x3e19fe(0x15f)][_0x3e19fe(0x15b)]();this['pending']++,_0x2bb6e5(this[_0x1f9621]);}}}return _0x341afc=_0x490d48,_0x341afc;}var _0x3bbbf8,_0x119558;function _0x2a73b6(){const _0x31de92=_0x47617f;if(_0x119558)return _0x3bbbf8;_0x119558=0x1;const _0x2cc7db=_0x21ab82,_0x376d6c=_0xc07583(),_0x3d6f07=_0x1d14c1(),{kStatusCode:_0x1afaa9}=_0x1510a1(),_0x4a6d5d=Buffer[Symbol[_0x31de92(0x130)]],_0x3f0a61=Buffer[_0x31de92(0x23c)]([0x0,0x0,0xff,0xff]),_0x5bd2d8=Symbol('permessage-deflate'),_0x98f9f3=Symbol(_0x31de92(0x104)),_0xbe6e3f=Symbol(_0x31de92(0x1c2)),_0x5ac745=Symbol(_0x31de92(0x1ae)),_0x4c0547=Symbol('error');let _0x59fb2e;class _0x3a78f1{constructor(_0x175a26,_0x5365ce,_0x2beab7){const _0x4274e8=_0x31de92;if(this[_0x4274e8(0x296)]=_0x2beab7|0x0,this[_0x4274e8(0x165)]=_0x175a26||{},this['_threshold']=this['_options'][_0x4274e8(0x1d9)]!==void 0x0?this[_0x4274e8(0x165)][_0x4274e8(0x1d9)]:0x400,this['_isServer']=!!_0x5365ce,this[_0x4274e8(0x102)]=null,this[_0x4274e8(0x1d1)]=null,this['params']=null,!_0x59fb2e){const _0x53bffb=this[_0x4274e8(0x165)][_0x4274e8(0x269)]!==void 0x0?this[_0x4274e8(0x165)][_0x4274e8(0x269)]:0xa;_0x59fb2e=new _0x3d6f07(_0x53bffb);}}static get[_0x31de92(0x2a4)](){const _0x41cc05=_0x31de92;return _0x41cc05(0x149);}[_0x31de92(0xe6)](){const _0x22cfb7=_0x31de92,_0x471f99={};return this['_options'][_0x22cfb7(0x267)]&&(_0x471f99['server_no_context_takeover']=!0x0),this[_0x22cfb7(0x165)][_0x22cfb7(0x24e)]&&(_0x471f99['client_no_context_takeover']=!0x0),this[_0x22cfb7(0x165)][_0x22cfb7(0xee)]&&(_0x471f99[_0x22cfb7(0x2b1)]=this[_0x22cfb7(0x165)][_0x22cfb7(0xee)]),this[_0x22cfb7(0x165)][_0x22cfb7(0xea)]?_0x471f99[_0x22cfb7(0x213)]=this[_0x22cfb7(0x165)][_0x22cfb7(0xea)]:this['_options'][_0x22cfb7(0xea)]==null&&(_0x471f99['client_max_window_bits']=!0x0),_0x471f99;}[_0x31de92(0x125)](_0x5eeee8){const _0x5e4741=_0x31de92;return _0x5eeee8=this[_0x5e4741(0x164)](_0x5eeee8),this['params']=this['_isServer']?this['acceptAsServer'](_0x5eeee8):this[_0x5e4741(0x236)](_0x5eeee8),this[_0x5e4741(0x1a3)];}[_0x31de92(0x2a3)](){const _0x18d119=_0x31de92;if(this[_0x18d119(0x1d1)]&&(this[_0x18d119(0x1d1)][_0x18d119(0x230)](),this['_inflate']=null),this[_0x18d119(0x102)]){const _0x5c9a92=this['_deflate'][_0xbe6e3f];this[_0x18d119(0x102)][_0x18d119(0x230)](),this[_0x18d119(0x102)]=null,_0x5c9a92&&_0x5c9a92(new Error(_0x18d119(0x2b7)));}}[_0x31de92(0x26c)](_0x4a2fe6){const _0x3a1af3=_0x31de92,_0x7ea3c2=this[_0x3a1af3(0x165)],_0x3603b8=_0x4a2fe6[_0x3a1af3(0x1d7)](_0x57a07d=>!(_0x7ea3c2[_0x3a1af3(0x267)]===!0x1&&_0x57a07d[_0x3a1af3(0x101)]||_0x57a07d[_0x3a1af3(0x2b1)]&&(_0x7ea3c2['serverMaxWindowBits']===!0x1||typeof _0x7ea3c2[_0x3a1af3(0xee)]==_0x3a1af3(0x246)&&_0x7ea3c2[_0x3a1af3(0xee)]>_0x57a07d['server_max_window_bits'])||typeof _0x7ea3c2[_0x3a1af3(0xea)]=='number'&&!_0x57a07d[_0x3a1af3(0x213)]));if(!_0x3603b8)throw new Error(_0x3a1af3(0x1bf));return _0x7ea3c2['serverNoContextTakeover']&&(_0x3603b8[_0x3a1af3(0x101)]=!0x0),_0x7ea3c2[_0x3a1af3(0x24e)]&&(_0x3603b8[_0x3a1af3(0xf9)]=!0x0),typeof _0x7ea3c2[_0x3a1af3(0xee)]==_0x3a1af3(0x246)&&(_0x3603b8[_0x3a1af3(0x2b1)]=_0x7ea3c2[_0x3a1af3(0xee)]),typeof _0x7ea3c2[_0x3a1af3(0xea)]==_0x3a1af3(0x246)?_0x3603b8['client_max_window_bits']=_0x7ea3c2[_0x3a1af3(0xea)]:(_0x3603b8['client_max_window_bits']===!0x0||_0x7ea3c2[_0x3a1af3(0xea)]===!0x1)&&delete _0x3603b8['client_max_window_bits'],_0x3603b8;}[_0x31de92(0x236)](_0x5946b7){const _0x17d87b=_0x31de92,_0x1527a1=_0x5946b7[0x0];if(this[_0x17d87b(0x165)][_0x17d87b(0x24e)]===!0x1&&_0x1527a1[_0x17d87b(0xf9)])throw new Error(_0x17d87b(0x18e));if(!_0x1527a1['client_max_window_bits'])typeof this[_0x17d87b(0x165)]['clientMaxWindowBits']==_0x17d87b(0x246)&&(_0x1527a1[_0x17d87b(0x213)]=this[_0x17d87b(0x165)][_0x17d87b(0xea)]);else{if(this[_0x17d87b(0x165)]['clientMaxWindowBits']===!0x1||typeof this[_0x17d87b(0x165)][_0x17d87b(0xea)]=='number'&&_0x1527a1['client_max_window_bits']>this[_0x17d87b(0x165)][_0x17d87b(0xea)])throw new Error(_0x17d87b(0xe0));}return _0x1527a1;}[_0x31de92(0x164)](_0xcb17f0){const _0x5a2f70=_0x31de92;return _0xcb17f0[_0x5a2f70(0x158)](_0x414ac7=>{const _0x22acdf=_0x5a2f70;Object[_0x22acdf(0x13e)](_0x414ac7)[_0x22acdf(0x158)](_0x24f802=>{const _0x1eaa28=_0x22acdf;let _0x10b90f=_0x414ac7[_0x24f802];if(_0x10b90f['length']>0x1)throw new Error(_0x1eaa28(0x1cd)+_0x24f802+_0x1eaa28(0x193));if(_0x10b90f=_0x10b90f[0x0],_0x24f802==='client_max_window_bits'){if(_0x10b90f!==!0x0){const _0x30779f=+_0x10b90f;if(!Number[_0x1eaa28(0x186)](_0x30779f)||_0x30779f<0x8||_0x30779f>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x24f802+'\x22:\x20'+_0x10b90f);_0x10b90f=_0x30779f;}else{if(!this[_0x1eaa28(0x184)])throw new TypeError(_0x1eaa28(0x153)+_0x24f802+_0x1eaa28(0x113)+_0x10b90f);}}else{if(_0x24f802===_0x1eaa28(0x2b1)){const _0x5d303a=+_0x10b90f;if(!Number[_0x1eaa28(0x186)](_0x5d303a)||_0x5d303a<0x8||_0x5d303a>0xf)throw new TypeError(_0x1eaa28(0x153)+_0x24f802+_0x1eaa28(0x113)+_0x10b90f);_0x10b90f=_0x5d303a;}else{if(_0x24f802===_0x1eaa28(0xf9)||_0x24f802===_0x1eaa28(0x101)){if(_0x10b90f!==!0x0)throw new TypeError(_0x1eaa28(0x153)+_0x24f802+_0x1eaa28(0x113)+_0x10b90f);}else throw new Error(_0x1eaa28(0x151)+_0x24f802+'\x22');}}_0x414ac7[_0x24f802]=_0x10b90f;});}),_0xcb17f0;}['decompress'](_0x2dc101,_0x2adbdb,_0x54a437){const _0x336587=_0x31de92;_0x59fb2e[_0x336587(0x205)](_0xf1a446=>{this['_decompress'](_0x2dc101,_0x2adbdb,(_0x9970da,_0x3badb)=>{_0xf1a446(),_0x54a437(_0x9970da,_0x3badb);});});}[_0x31de92(0x13a)](_0x16dccf,_0x25e7b3,_0x5d9db6){const _0x3d6cd3=_0x31de92;_0x59fb2e[_0x3d6cd3(0x205)](_0x55013f=>{const _0x215171=_0x3d6cd3;this[_0x215171(0x258)](_0x16dccf,_0x25e7b3,(_0x3f6e83,_0x5d108f)=>{_0x55013f(),_0x5d9db6(_0x3f6e83,_0x5d108f);});});}[_0x31de92(0x252)](_0x39f28c,_0x3c5ff5,_0x1b7965){const _0x369eae=_0x31de92,_0x842e5b=this[_0x369eae(0x184)]?_0x369eae(0x1b0):'server';if(!this['_inflate']){const _0x96f6fd=_0x842e5b+_0x369eae(0xfa),_0x4796f9=typeof this['params'][_0x96f6fd]!=_0x369eae(0x246)?_0x2cc7db[_0x369eae(0x25e)]:this[_0x369eae(0x1a3)][_0x96f6fd];this[_0x369eae(0x1d1)]=_0x2cc7db['createInflateRaw']({...this[_0x369eae(0x165)][_0x369eae(0x20b)],'windowBits':_0x4796f9}),this[_0x369eae(0x1d1)][_0x5bd2d8]=this,this['_inflate'][_0x98f9f3]=0x0,this[_0x369eae(0x1d1)][_0x5ac745]=[],this[_0x369eae(0x1d1)]['on']('error',_0x28ba3e),this['_inflate']['on']('data',_0x2a6301);}this['_inflate'][_0xbe6e3f]=_0x1b7965,this[_0x369eae(0x1d1)][_0x369eae(0xf4)](_0x39f28c),_0x3c5ff5&&this['_inflate'][_0x369eae(0xf4)](_0x3f0a61),this[_0x369eae(0x1d1)][_0x369eae(0x298)](()=>{const _0x2bde32=_0x369eae,_0x281e52=this[_0x2bde32(0x1d1)][_0x4c0547];if(_0x281e52){this[_0x2bde32(0x1d1)][_0x2bde32(0x230)](),this[_0x2bde32(0x1d1)]=null,_0x1b7965(_0x281e52);return;}const _0x57088c=_0x376d6c[_0x2bde32(0x1ca)](this[_0x2bde32(0x1d1)][_0x5ac745],this['_inflate'][_0x98f9f3]);this[_0x2bde32(0x1d1)]['_readableState'][_0x2bde32(0xf3)]?(this['_inflate'][_0x2bde32(0x230)](),this[_0x2bde32(0x1d1)]=null):(this[_0x2bde32(0x1d1)][_0x98f9f3]=0x0,this['_inflate'][_0x5ac745]=[],_0x3c5ff5&&this[_0x2bde32(0x1a3)][_0x842e5b+'_no_context_takeover']&&this['_inflate'][_0x2bde32(0x1b5)]()),_0x1b7965(null,_0x57088c);});}[_0x31de92(0x258)](_0x25af9b,_0x198ce7,_0x3b6100){const _0x6f7308=_0x31de92,_0x2c861b=this['_isServer']?_0x6f7308(0x279):'client';if(!this[_0x6f7308(0x102)]){const _0x6b6261=_0x2c861b+'_max_window_bits',_0x4437ab=typeof this[_0x6f7308(0x1a3)][_0x6b6261]!=_0x6f7308(0x246)?_0x2cc7db[_0x6f7308(0x25e)]:this[_0x6f7308(0x1a3)][_0x6b6261];this['_deflate']=_0x2cc7db[_0x6f7308(0x23a)]({...this[_0x6f7308(0x165)]['zlibDeflateOptions'],'windowBits':_0x4437ab}),this[_0x6f7308(0x102)][_0x98f9f3]=0x0,this[_0x6f7308(0x102)][_0x5ac745]=[],this[_0x6f7308(0x102)]['on'](_0x6f7308(0x166),_0x40b9d9);}this[_0x6f7308(0x102)][_0xbe6e3f]=_0x3b6100,this[_0x6f7308(0x102)][_0x6f7308(0xf4)](_0x25af9b),this[_0x6f7308(0x102)][_0x6f7308(0x298)](_0x2cc7db['Z_SYNC_FLUSH'],()=>{const _0x55d5a1=_0x6f7308;if(!this[_0x55d5a1(0x102)])return;let _0x29800f=_0x376d6c[_0x55d5a1(0x1ca)](this['_deflate'][_0x5ac745],this[_0x55d5a1(0x102)][_0x98f9f3]);_0x198ce7&&(_0x29800f=new _0x4a6d5d(_0x29800f[_0x55d5a1(0x234)],_0x29800f[_0x55d5a1(0x1ce)],_0x29800f[_0x55d5a1(0x278)]-0x4)),this['_deflate'][_0xbe6e3f]=null,this[_0x55d5a1(0x102)][_0x98f9f3]=0x0,this[_0x55d5a1(0x102)][_0x5ac745]=[],_0x198ce7&&this['params'][_0x2c861b+_0x55d5a1(0x1ef)]&&this['_deflate'][_0x55d5a1(0x1b5)](),_0x3b6100(null,_0x29800f);});}}_0x3bbbf8=_0x3a78f1;function _0x40b9d9(_0xbdae86){const _0xb7bf6a=_0x31de92;this[_0x5ac745][_0xb7bf6a(0x19d)](_0xbdae86),this[_0x98f9f3]+=_0xbdae86[_0xb7bf6a(0x278)];}function _0x2a6301(_0x19d821){const _0x4377e4=_0x31de92;if(this[_0x98f9f3]+=_0x19d821[_0x4377e4(0x278)],this[_0x5bd2d8][_0x4377e4(0x296)]<0x1||this[_0x98f9f3]<=this[_0x5bd2d8]['_maxPayload']){this[_0x5ac745]['push'](_0x19d821);return;}this[_0x4c0547]=new RangeError(_0x4377e4(0x1b8)),this[_0x4c0547][_0x4377e4(0x134)]=_0x4377e4(0x233),this[_0x4c0547][_0x1afaa9]=0x3f1,this[_0x4377e4(0x1c9)](_0x4377e4(0x166),_0x2a6301),this['reset']();}function _0x28ba3e(_0x55aac6){const _0x214a8f=_0x31de92;if(this[_0x5bd2d8][_0x214a8f(0x1d1)]=null,this[_0x4c0547]){this[_0xbe6e3f](this[_0x4c0547]);return;}_0x55aac6[_0x1afaa9]=0x3ef,this[_0xbe6e3f](_0x55aac6);}return _0x3bbbf8;}var _0x2dc93={'exports':{}};const _0x58063d=_0x11093a(Object[_0x47617f(0x257)](Object[_0x47617f(0x18d)]({'__proto__':null,'default':{}},Symbol[_0x47617f(0x27f)],{'value':_0x47617f(0x12f)})));var _0x2da6bd;function _0x5a998e(){const _0x133bc3=_0x47617f;if(_0x2da6bd)return _0x2dc93['exports'];_0x2da6bd=0x1;const {isUtf8:_0x97f3a9}=_0x1b19f0,{hasBlob:_0x48e379}=_0x1510a1(),_0x51a6cb=[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 _0x2664b1(_0x2c68e9){return _0x2c68e9>=0x3e8&&_0x2c68e9<=0x3f6&&_0x2c68e9!==0x3ec&&_0x2c68e9!==0x3ed&&_0x2c68e9!==0x3ee||_0x2c68e9>=0xbb8&&_0x2c68e9<=0x1387;}function _0x2f4aa7(_0x577283){const _0x230e6c=_0xb06b,_0x2e91b2=_0x577283[_0x230e6c(0x278)];let _0x298eda=0x0;for(;_0x298eda<_0x2e91b2;)if((_0x577283[_0x298eda]&0x80)===0x0)_0x298eda++;else{if((_0x577283[_0x298eda]&0xe0)===0xc0){if(_0x298eda+0x1===_0x2e91b2||(_0x577283[_0x298eda+0x1]&0xc0)!==0x80||(_0x577283[_0x298eda]&0xfe)===0xc0)return!0x1;_0x298eda+=0x2;}else{if((_0x577283[_0x298eda]&0xf0)===0xe0){if(_0x298eda+0x2>=_0x2e91b2||(_0x577283[_0x298eda+0x1]&0xc0)!==0x80||(_0x577283[_0x298eda+0x2]&0xc0)!==0x80||_0x577283[_0x298eda]===0xe0&&(_0x577283[_0x298eda+0x1]&0xe0)===0x80||_0x577283[_0x298eda]===0xed&&(_0x577283[_0x298eda+0x1]&0xe0)===0xa0)return!0x1;_0x298eda+=0x3;}else{if((_0x577283[_0x298eda]&0xf8)===0xf0){if(_0x298eda+0x3>=_0x2e91b2||(_0x577283[_0x298eda+0x1]&0xc0)!==0x80||(_0x577283[_0x298eda+0x2]&0xc0)!==0x80||(_0x577283[_0x298eda+0x3]&0xc0)!==0x80||_0x577283[_0x298eda]===0xf0&&(_0x577283[_0x298eda+0x1]&0xf0)===0x80||_0x577283[_0x298eda]===0xf4&&_0x577283[_0x298eda+0x1]>0x8f||_0x577283[_0x298eda]>0xf4)return!0x1;_0x298eda+=0x4;}else return!0x1;}}}return!0x0;}function _0x2b95ba(_0x362d33){const _0x47bbe4=_0xb06b;return _0x48e379&&typeof _0x362d33==_0x47bbe4(0x18f)&&typeof _0x362d33[_0x47bbe4(0x1e2)]==_0x47bbe4(0x22a)&&typeof _0x362d33[_0x47bbe4(0x28c)]==_0x47bbe4(0x124)&&typeof _0x362d33['stream']==_0x47bbe4(0x22a)&&(_0x362d33[Symbol['toStringTag']]===_0x47bbe4(0x23f)||_0x362d33[Symbol[_0x47bbe4(0x27f)]]==='File');}if(_0x2dc93['exports']={'isBlob':_0x2b95ba,'isValidStatusCode':_0x2664b1,'isValidUTF8':_0x2f4aa7,'tokenChars':_0x51a6cb},_0x97f3a9)_0x2dc93[_0x133bc3(0xe5)]['isValidUTF8']=function(_0x3ead52){const _0x4f906f=_0x133bc3;return _0x3ead52[_0x4f906f(0x278)]<0x18?_0x2f4aa7(_0x3ead52):_0x97f3a9(_0x3ead52);};else{if(!process['env'][_0x133bc3(0x286)])try{const _0x564972=_0x58063d;_0x2dc93[_0x133bc3(0xe5)][_0x133bc3(0xe8)]=function(_0xcee486){return _0xcee486['length']<0x20?_0x2f4aa7(_0xcee486):_0x564972(_0xcee486);};}catch{}}return _0x2dc93[_0x133bc3(0xe5)];}var _0x28e62f,_0x54ffd9;function _0x35c54d(){const _0x3b3cb1=_0x47617f;if(_0x54ffd9)return _0x28e62f;_0x54ffd9=0x1;const {Writable:_0x4354aa}=_0xf09357,_0x203037=_0x2a73b6(),{BINARY_TYPES:_0xc494a4,EMPTY_BUFFER:_0x57b4d1,kStatusCode:_0x81c4a5,kWebSocket:_0x15e79c}=_0x1510a1(),{concat:_0x170232,toArrayBuffer:_0xd770bd,unmask:_0x5215fa}=_0xc07583(),{isValidStatusCode:_0xe37edd,isValidUTF8:_0x3e56b2}=_0x5a998e(),_0x2052a6=Buffer[Symbol['species']],_0x3c3399=0x0,_0x2c6779=0x1,_0x1d8a58=0x2,_0x38154e=0x3,_0x1c7948=0x4,_0x3889ce=0x5,_0x295970=0x6;class _0x51ddb6 extends _0x4354aa{constructor(_0x274f48={}){const _0x471eb8=_0xb06b;super(),this[_0x471eb8(0x107)]=_0x274f48['allowSynchronousEvents']!==void 0x0?_0x274f48['allowSynchronousEvents']:!0x0,this[_0x471eb8(0x29b)]=_0x274f48[_0x471eb8(0x172)]||_0xc494a4[0x0],this[_0x471eb8(0x2ab)]=_0x274f48[_0x471eb8(0x175)]||{},this['_isServer']=!!_0x274f48['isServer'],this[_0x471eb8(0x296)]=_0x274f48[_0x471eb8(0x173)]|0x0,this[_0x471eb8(0x157)]=!!_0x274f48[_0x471eb8(0x19a)],this[_0x15e79c]=void 0x0,this[_0x471eb8(0x188)]=0x0,this[_0x471eb8(0x224)]=[],this[_0x471eb8(0x17b)]=!0x1,this[_0x471eb8(0x1a4)]=0x0,this[_0x471eb8(0x198)]=void 0x0,this[_0x471eb8(0x1df)]=0x0,this[_0x471eb8(0x1a5)]=!0x1,this[_0x471eb8(0x144)]=!0x1,this['_opcode']=0x0,this[_0x471eb8(0x179)]=0x0,this[_0x471eb8(0x2ad)]=0x0,this['_fragments']=[],this[_0x471eb8(0x2b3)]=!0x1,this[_0x471eb8(0x232)]=!0x1,this['_state']=_0x3c3399;}[_0x3b3cb1(0x180)](_0x137d65,_0x4dfaa1,_0x31be6b){const _0x2b4b2a=_0x3b3cb1;if(this[_0x2b4b2a(0x2a1)]===0x8&&this[_0x2b4b2a(0x212)]==_0x3c3399)return _0x31be6b();this[_0x2b4b2a(0x188)]+=_0x137d65[_0x2b4b2a(0x278)],this[_0x2b4b2a(0x224)][_0x2b4b2a(0x19d)](_0x137d65),this[_0x2b4b2a(0x210)](_0x31be6b);}[_0x3b3cb1(0x293)](_0x144065){const _0x312a46=_0x3b3cb1;if(this[_0x312a46(0x188)]-=_0x144065,_0x144065===this[_0x312a46(0x224)][0x0][_0x312a46(0x278)])return this[_0x312a46(0x224)][_0x312a46(0x15b)]();if(_0x144065<this[_0x312a46(0x224)][0x0][_0x312a46(0x278)]){const _0x4de468=this[_0x312a46(0x224)][0x0];return this['_buffers'][0x0]=new _0x2052a6(_0x4de468[_0x312a46(0x234)],_0x4de468[_0x312a46(0x1ce)]+_0x144065,_0x4de468[_0x312a46(0x278)]-_0x144065),new _0x2052a6(_0x4de468[_0x312a46(0x234)],_0x4de468[_0x312a46(0x1ce)],_0x144065);}const _0x19ea0a=Buffer[_0x312a46(0x112)](_0x144065);do{const _0x3ee1e5=this[_0x312a46(0x224)][0x0],_0x2bdabe=_0x19ea0a[_0x312a46(0x278)]-_0x144065;_0x144065>=_0x3ee1e5[_0x312a46(0x278)]?_0x19ea0a[_0x312a46(0x1ed)](this[_0x312a46(0x224)][_0x312a46(0x15b)](),_0x2bdabe):(_0x19ea0a[_0x312a46(0x1ed)](new Uint8Array(_0x3ee1e5[_0x312a46(0x234)],_0x3ee1e5[_0x312a46(0x1ce)],_0x144065),_0x2bdabe),this[_0x312a46(0x224)][0x0]=new _0x2052a6(_0x3ee1e5[_0x312a46(0x234)],_0x3ee1e5[_0x312a46(0x1ce)]+_0x144065,_0x3ee1e5['length']-_0x144065)),_0x144065-=_0x3ee1e5[_0x312a46(0x278)];}while(_0x144065>0x0);return _0x19ea0a;}['startLoop'](_0x43f7b2){const _0x8fad58=_0x3b3cb1;this['_loop']=!0x0;do switch(this[_0x8fad58(0x212)]){case _0x3c3399:this[_0x8fad58(0x118)](_0x43f7b2);break;case _0x2c6779:this[_0x8fad58(0x256)](_0x43f7b2);break;case _0x1d8a58:this[_0x8fad58(0x1e0)](_0x43f7b2);break;case _0x38154e:this[_0x8fad58(0x29c)]();break;case _0x1c7948:this[_0x8fad58(0x116)](_0x43f7b2);break;case _0x3889ce:case _0x295970:this[_0x8fad58(0x232)]=!0x1;return;}while(this[_0x8fad58(0x232)]);this[_0x8fad58(0x2b3)]||_0x43f7b2();}[_0x3b3cb1(0x118)](_0x547c58){const _0x2cdb4f=_0x3b3cb1;if(this[_0x2cdb4f(0x188)]<0x2){this[_0x2cdb4f(0x232)]=!0x1;return;}const _0x4957ac=this[_0x2cdb4f(0x293)](0x2);if((_0x4957ac[0x0]&0x30)!==0x0){const _0x5674f9=this[_0x2cdb4f(0x27b)](RangeError,_0x2cdb4f(0x16e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x547c58(_0x5674f9);return;}const _0x3b2cdc=(_0x4957ac[0x0]&0x40)===0x40;if(_0x3b2cdc&&!this[_0x2cdb4f(0x2ab)][_0x203037[_0x2cdb4f(0x2a4)]]){const _0x52ece6=this[_0x2cdb4f(0x27b)](RangeError,_0x2cdb4f(0x263),!0x0,0x3ea,_0x2cdb4f(0x25b));_0x547c58(_0x52ece6);return;}if(this[_0x2cdb4f(0x144)]=(_0x4957ac[0x0]&0x80)===0x80,this['_opcode']=_0x4957ac[0x0]&0xf,this['_payloadLength']=_0x4957ac[0x1]&0x7f,this[_0x2cdb4f(0x2a1)]===0x0){if(_0x3b2cdc){const _0x1eca93=this['createError'](RangeError,_0x2cdb4f(0x263),!0x0,0x3ea,_0x2cdb4f(0x25b));_0x547c58(_0x1eca93);return;}if(!this[_0x2cdb4f(0x1df)]){const _0x12a7f6=this[_0x2cdb4f(0x27b)](RangeError,_0x2cdb4f(0x20a),!0x0,0x3ea,_0x2cdb4f(0x28e));_0x547c58(_0x12a7f6);return;}this[_0x2cdb4f(0x2a1)]=this[_0x2cdb4f(0x1df)];}else{if(this['_opcode']===0x1||this[_0x2cdb4f(0x2a1)]===0x2){if(this[_0x2cdb4f(0x1df)]){const _0xd17b22=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x547c58(_0xd17b22);return;}this[_0x2cdb4f(0x17b)]=_0x3b2cdc;}else{if(this[_0x2cdb4f(0x2a1)]>0x7&&this['_opcode']<0xb){if(!this[_0x2cdb4f(0x144)]){const _0x532fb9=this[_0x2cdb4f(0x27b)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x2cdb4f(0xe7));_0x547c58(_0x532fb9);return;}if(_0x3b2cdc){const _0x50a41f=this[_0x2cdb4f(0x27b)](RangeError,_0x2cdb4f(0x263),!0x0,0x3ea,_0x2cdb4f(0x25b));_0x547c58(_0x50a41f);return;}if(this[_0x2cdb4f(0x1a4)]>0x7d||this['_opcode']===0x8&&this[_0x2cdb4f(0x1a4)]===0x1){const _0x45e96e=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x547c58(_0x45e96e);return;}}else{const _0x4c1aa0=this[_0x2cdb4f(0x27b)](RangeError,_0x2cdb4f(0x16d)+this[_0x2cdb4f(0x2a1)],!0x0,0x3ea,_0x2cdb4f(0x28e));_0x547c58(_0x4c1aa0);return;}}}if(!this['_fin']&&!this[_0x2cdb4f(0x1df)]&&(this[_0x2cdb4f(0x1df)]=this[_0x2cdb4f(0x2a1)]),this[_0x2cdb4f(0x1a5)]=(_0x4957ac[0x1]&0x80)===0x80,this[_0x2cdb4f(0x184)]){if(!this[_0x2cdb4f(0x1a5)]){const _0x22d950=this[_0x2cdb4f(0x27b)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x2cdb4f(0x1e3));_0x547c58(_0x22d950);return;}}else{if(this[_0x2cdb4f(0x1a5)]){const _0x1a32d7=this['createError'](RangeError,_0x2cdb4f(0x15e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x547c58(_0x1a32d7);return;}}this['_payloadLength']===0x7e?this['_state']=_0x2c6779:this['_payloadLength']===0x7f?this[_0x2cdb4f(0x212)]=_0x1d8a58:this[_0x2cdb4f(0x1f8)](_0x547c58);}[_0x3b3cb1(0x256)](_0x20e8b8){const _0xfac3f=_0x3b3cb1;if(this[_0xfac3f(0x188)]<0x2){this[_0xfac3f(0x232)]=!0x1;return;}this[_0xfac3f(0x1a4)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0xfac3f(0x1f8)](_0x20e8b8);}[_0x3b3cb1(0x1e0)](_0x320412){const _0xd88089=_0x3b3cb1;if(this[_0xd88089(0x188)]<0x8){this['_loop']=!0x1;return;}const _0x595df9=this[_0xd88089(0x293)](0x8),_0x23ea51=_0x595df9[_0xd88089(0x129)](0x0);if(_0x23ea51>Math[_0xd88089(0x141)](0x2,0x15)-0x1){const _0x314c4a=this['createError'](RangeError,_0xd88089(0x299),!0x1,0x3f1,_0xd88089(0x24d));_0x320412(_0x314c4a);return;}this[_0xd88089(0x1a4)]=_0x23ea51*Math[_0xd88089(0x141)](0x2,0x20)+_0x595df9['readUInt32BE'](0x4),this['haveLength'](_0x320412);}[_0x3b3cb1(0x1f8)](_0x3f99e6){const _0x390dff=_0x3b3cb1;if(this[_0x390dff(0x1a4)]&&this[_0x390dff(0x2a1)]<0x8&&(this[_0x390dff(0x179)]+=this['_payloadLength'],this[_0x390dff(0x179)]>this[_0x390dff(0x296)]&&this[_0x390dff(0x296)]>0x0)){const _0x304481=this[_0x390dff(0x27b)](RangeError,_0x390dff(0x1b8),!0x1,0x3f1,_0x390dff(0x233));_0x3f99e6(_0x304481);return;}this[_0x390dff(0x1a5)]?this[_0x390dff(0x212)]=_0x38154e:this['_state']=_0x1c7948;}['getMask'](){const _0x286042=_0x3b3cb1;if(this[_0x286042(0x188)]<0x4){this[_0x286042(0x232)]=!0x1;return;}this[_0x286042(0x198)]=this[_0x286042(0x293)](0x4),this[_0x286042(0x212)]=_0x1c7948;}[_0x3b3cb1(0x116)](_0x18a492){const _0x475b8d=_0x3b3cb1;let _0x2ae28b=_0x57b4d1;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x475b8d(0x1a4)]){this['_loop']=!0x1;return;}_0x2ae28b=this[_0x475b8d(0x293)](this[_0x475b8d(0x1a4)]),this[_0x475b8d(0x1a5)]&&(this[_0x475b8d(0x198)][0x0]|this[_0x475b8d(0x198)][0x1]|this[_0x475b8d(0x198)][0x2]|this[_0x475b8d(0x198)][0x3])!==0x0&&_0x5215fa(_0x2ae28b,this[_0x475b8d(0x198)]);}if(this[_0x475b8d(0x2a1)]>0x7){this[_0x475b8d(0xe9)](_0x2ae28b,_0x18a492);return;}if(this[_0x475b8d(0x17b)]){this[_0x475b8d(0x212)]=_0x3889ce,this[_0x475b8d(0x14a)](_0x2ae28b,_0x18a492);return;}_0x2ae28b[_0x475b8d(0x278)]&&(this[_0x475b8d(0x2ad)]=this[_0x475b8d(0x179)],this['_fragments'][_0x475b8d(0x19d)](_0x2ae28b)),this[_0x475b8d(0x187)](_0x18a492);}[_0x3b3cb1(0x14a)](_0x5a7fdc,_0x8dd342){const _0x3c5774=_0x3b3cb1;this[_0x3c5774(0x2ab)][_0x203037[_0x3c5774(0x2a4)]]['decompress'](_0x5a7fdc,this[_0x3c5774(0x144)],(_0x2aa2c8,_0x5562de)=>{const _0x53c794=_0x3c5774;if(_0x2aa2c8)return _0x8dd342(_0x2aa2c8);if(_0x5562de[_0x53c794(0x278)]){if(this[_0x53c794(0x2ad)]+=_0x5562de[_0x53c794(0x278)],this[_0x53c794(0x2ad)]>this['_maxPayload']&&this[_0x53c794(0x296)]>0x0){const _0x5a6728=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x53c794(0x233));_0x8dd342(_0x5a6728);return;}this[_0x53c794(0x26d)][_0x53c794(0x19d)](_0x5562de);}this['dataMessage'](_0x8dd342),this['_state']===_0x3c3399&&this[_0x53c794(0x210)](_0x8dd342);});}[_0x3b3cb1(0x187)](_0x59fe02){const _0x188e86=_0x3b3cb1;if(!this[_0x188e86(0x144)]){this['_state']=_0x3c3399;return;}const _0x1222c0=this['_messageLength'],_0x39897f=this[_0x188e86(0x26d)];if(this[_0x188e86(0x179)]=0x0,this[_0x188e86(0x2ad)]=0x0,this[_0x188e86(0x1df)]=0x0,this[_0x188e86(0x26d)]=[],this[_0x188e86(0x2a1)]===0x2){let _0x27e3b3;this[_0x188e86(0x29b)]==='nodebuffer'?_0x27e3b3=_0x170232(_0x39897f,_0x1222c0):this[_0x188e86(0x29b)]==='arraybuffer'?_0x27e3b3=_0xd770bd(_0x170232(_0x39897f,_0x1222c0)):this['_binaryType']===_0x188e86(0x21b)?_0x27e3b3=new Blob(_0x39897f):_0x27e3b3=_0x39897f,this[_0x188e86(0x107)]?(this[_0x188e86(0x2b8)](_0x188e86(0x15a),_0x27e3b3,!0x0),this[_0x188e86(0x212)]=_0x3c3399):(this[_0x188e86(0x212)]=_0x295970,setImmediate(()=>{const _0x247b69=_0x188e86;this[_0x247b69(0x2b8)](_0x247b69(0x15a),_0x27e3b3,!0x0),this[_0x247b69(0x212)]=_0x3c3399,this[_0x247b69(0x210)](_0x59fe02);}));}else{const _0x46f53a=_0x170232(_0x39897f,_0x1222c0);if(!this[_0x188e86(0x157)]&&!_0x3e56b2(_0x46f53a)){const _0xad2ae=this[_0x188e86(0x27b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x59fe02(_0xad2ae);return;}this['_state']===_0x3889ce||this[_0x188e86(0x107)]?(this[_0x188e86(0x2b8)](_0x188e86(0x15a),_0x46f53a,!0x1),this[_0x188e86(0x212)]=_0x3c3399):(this[_0x188e86(0x212)]=_0x295970,setImmediate(()=>{const _0x22b2a0=_0x188e86;this['emit'](_0x22b2a0(0x15a),_0x46f53a,!0x1),this[_0x22b2a0(0x212)]=_0x3c3399,this['startLoop'](_0x59fe02);}));}}[_0x3b3cb1(0xe9)](_0x2395aa,_0x153dcb){const _0x5e5320=_0x3b3cb1;if(this[_0x5e5320(0x2a1)]===0x8){if(_0x2395aa[_0x5e5320(0x278)]===0x0)this[_0x5e5320(0x232)]=!0x1,this['emit']('conclude',0x3ed,_0x57b4d1),this['end']();else{const _0x1bbcdf=_0x2395aa[_0x5e5320(0x248)](0x0);if(!_0xe37edd(_0x1bbcdf)){const _0xf1bc13=this['createError'](RangeError,_0x5e5320(0x288)+_0x1bbcdf,!0x0,0x3ea,_0x5e5320(0x2a5));_0x153dcb(_0xf1bc13);return;}const _0x593858=new _0x2052a6(_0x2395aa[_0x5e5320(0x234)],_0x2395aa['byteOffset']+0x2,_0x2395aa[_0x5e5320(0x278)]-0x2);if(!this[_0x5e5320(0x157)]&&!_0x3e56b2(_0x593858)){const _0x1b9a01=this[_0x5e5320(0x27b)](Error,_0x5e5320(0x287),!0x0,0x3ef,_0x5e5320(0x29a));_0x153dcb(_0x1b9a01);return;}this[_0x5e5320(0x232)]=!0x1,this[_0x5e5320(0x2b8)](_0x5e5320(0x2ba),_0x1bbcdf,_0x593858),this[_0x5e5320(0x16a)]();}this[_0x5e5320(0x212)]=_0x3c3399;return;}this[_0x5e5320(0x107)]?(this[_0x5e5320(0x2b8)](this['_opcode']===0x9?'ping':'pong',_0x2395aa),this[_0x5e5320(0x212)]=_0x3c3399):(this['_state']=_0x295970,setImmediate(()=>{const _0x290a5e=_0x5e5320;this[_0x290a5e(0x2b8)](this['_opcode']===0x9?_0x290a5e(0x2bb):_0x290a5e(0x2a7),_0x2395aa),this['_state']=_0x3c3399,this[_0x290a5e(0x210)](_0x153dcb);}));}[_0x3b3cb1(0x27b)](_0x216cf6,_0x5ae9f3,_0x470944,_0x13d03d,_0x4762bc){const _0x154bae=_0x3b3cb1;this[_0x154bae(0x232)]=!0x1,this[_0x154bae(0x2b3)]=!0x0;const _0x57fbbe=new _0x216cf6(_0x470944?_0x154bae(0x1ea)+_0x5ae9f3:_0x5ae9f3);return Error['captureStackTrace'](_0x57fbbe,this[_0x154bae(0x27b)]),_0x57fbbe[_0x154bae(0x134)]=_0x4762bc,_0x57fbbe[_0x81c4a5]=_0x13d03d,_0x57fbbe;}}return _0x28e62f=_0x51ddb6,_0x28e62f;}var _0x302ce2,_0x21ffb3;function _0x225503(){const _0x556725=_0x47617f;if(_0x21ffb3)return _0x302ce2;_0x21ffb3=0x1;const {Duplex:_0xaf427c}=_0xf09357,{randomFillSync:_0x3bc1ea}=_0x3c4d65,_0x1dcaf5=_0x2a73b6(),{EMPTY_BUFFER:_0x4888e7,kWebSocket:_0x499600,NOOP:_0x1c1cf6}=_0x1510a1(),{isBlob:_0x2e5771,isValidStatusCode:_0x1778b5}=_0x5a998e(),{mask:_0x57e363,toBuffer:_0x54f25e}=_0xc07583(),_0x1f8992=Symbol(_0x556725(0x1b9)),_0x3b452e=Buffer[_0x556725(0x1ec)](0x4),_0x368a46=0x8*0x400;let _0x253023,_0xcbd21e=_0x368a46;const _0x585f63=0x0,_0x4c5e09=0x1,_0x4c5be1=0x2;class _0x266af8{constructor(_0x39ec63,_0x5e49f4,_0x436447){const _0x423706=_0x556725;this[_0x423706(0x2ab)]=_0x5e49f4||{},_0x436447&&(this[_0x423706(0x108)]=_0x436447,this[_0x423706(0x1dd)]=Buffer[_0x423706(0x1ec)](0x4)),this[_0x423706(0x260)]=_0x39ec63,this[_0x423706(0x147)]=!0x0,this[_0x423706(0x258)]=!0x1,this[_0x423706(0x188)]=0x0,this['_queue']=[],this['_state']=_0x585f63,this[_0x423706(0x265)]=_0x1c1cf6,this[_0x499600]=void 0x0;}static[_0x556725(0x289)](_0x3c49e0,_0x46b595){const _0x77ee8=_0x556725;let _0x4d24c8,_0x2e351=!0x1,_0x4ad918=0x2,_0x4e1086=!0x1;_0x46b595['mask']&&(_0x4d24c8=_0x46b595[_0x77ee8(0x1e1)]||_0x3b452e,_0x46b595[_0x77ee8(0x15c)]?_0x46b595['generateMask'](_0x4d24c8):(_0xcbd21e===_0x368a46&&(_0x253023===void 0x0&&(_0x253023=Buffer[_0x77ee8(0x1ec)](_0x368a46)),_0x3bc1ea(_0x253023,0x0,_0x368a46),_0xcbd21e=0x0),_0x4d24c8[0x0]=_0x253023[_0xcbd21e++],_0x4d24c8[0x1]=_0x253023[_0xcbd21e++],_0x4d24c8[0x2]=_0x253023[_0xcbd21e++],_0x4d24c8[0x3]=_0x253023[_0xcbd21e++]),_0x4e1086=(_0x4d24c8[0x0]|_0x4d24c8[0x1]|_0x4d24c8[0x2]|_0x4d24c8[0x3])===0x0,_0x4ad918=0x6);let _0x30abe1;typeof _0x3c49e0==_0x77ee8(0x124)?(!_0x46b595[_0x77ee8(0x189)]||_0x4e1086)&&_0x46b595[_0x1f8992]!==void 0x0?_0x30abe1=_0x46b595[_0x1f8992]:(_0x3c49e0=Buffer[_0x77ee8(0x23c)](_0x3c49e0),_0x30abe1=_0x3c49e0['length']):(_0x30abe1=_0x3c49e0[_0x77ee8(0x278)],_0x2e351=_0x46b595[_0x77ee8(0x189)]&&_0x46b595['readOnly']&&!_0x4e1086);let _0x2b4a40=_0x30abe1;_0x30abe1>=0x10000?(_0x4ad918+=0x8,_0x2b4a40=0x7f):_0x30abe1>0x7d&&(_0x4ad918+=0x2,_0x2b4a40=0x7e);const _0x4741b7=Buffer[_0x77ee8(0x112)](_0x2e351?_0x30abe1+_0x4ad918:_0x4ad918);return _0x4741b7[0x0]=_0x46b595['fin']?_0x46b595[_0x77ee8(0x171)]|0x80:_0x46b595[_0x77ee8(0x171)],_0x46b595[_0x77ee8(0x1fc)]&&(_0x4741b7[0x0]|=0x40),_0x4741b7[0x1]=_0x2b4a40,_0x2b4a40===0x7e?_0x4741b7[_0x77ee8(0x181)](_0x30abe1,0x2):_0x2b4a40===0x7f&&(_0x4741b7[0x2]=_0x4741b7[0x3]=0x0,_0x4741b7[_0x77ee8(0x199)](_0x30abe1,0x4,0x6)),_0x46b595[_0x77ee8(0x189)]?(_0x4741b7[0x1]|=0x80,_0x4741b7[_0x4ad918-0x4]=_0x4d24c8[0x0],_0x4741b7[_0x4ad918-0x3]=_0x4d24c8[0x1],_0x4741b7[_0x4ad918-0x2]=_0x4d24c8[0x2],_0x4741b7[_0x4ad918-0x1]=_0x4d24c8[0x3],_0x4e1086?[_0x4741b7,_0x3c49e0]:_0x2e351?(_0x57e363(_0x3c49e0,_0x4d24c8,_0x4741b7,_0x4ad918,_0x30abe1),[_0x4741b7]):(_0x57e363(_0x3c49e0,_0x4d24c8,_0x3c49e0,0x0,_0x30abe1),[_0x4741b7,_0x3c49e0])):[_0x4741b7,_0x3c49e0];}[_0x556725(0x230)](_0x1c2776,_0x301273,_0x483d21,_0x1bba4f){const _0xb1541b=_0x556725;let _0x52b64f;if(_0x1c2776===void 0x0)_0x52b64f=_0x4888e7;else{if(typeof _0x1c2776!=_0xb1541b(0x246)||!_0x1778b5(_0x1c2776))throw new TypeError(_0xb1541b(0xec));if(_0x301273===void 0x0||!_0x301273[_0xb1541b(0x278)])_0x52b64f=Buffer[_0xb1541b(0x112)](0x2),_0x52b64f[_0xb1541b(0x181)](_0x1c2776,0x0);else{const _0x264006=Buffer['byteLength'](_0x301273);if(_0x264006>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x52b64f=Buffer['allocUnsafe'](0x2+_0x264006),_0x52b64f[_0xb1541b(0x181)](_0x1c2776,0x0),typeof _0x301273==_0xb1541b(0x124)?_0x52b64f['write'](_0x301273,0x2):_0x52b64f[_0xb1541b(0x1ed)](_0x301273,0x2);}}const _0x2d096d={[_0x1f8992]:_0x52b64f['length'],'fin':!0x0,'generateMask':this[_0xb1541b(0x108)],'mask':_0x483d21,'maskBuffer':this[_0xb1541b(0x1dd)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x585f63?this['enqueue']([this[_0xb1541b(0x185)],_0x52b64f,!0x1,_0x2d096d,_0x1bba4f]):this['sendFrame'](_0x266af8[_0xb1541b(0x289)](_0x52b64f,_0x2d096d),_0x1bba4f);}[_0x556725(0x2bb)](_0x10d4a1,_0x1c7365,_0x25f093){const _0x389c04=_0x556725;let _0x308320,_0x4d91d4;if(typeof _0x10d4a1=='string'?(_0x308320=Buffer[_0x389c04(0x16f)](_0x10d4a1),_0x4d91d4=!0x1):_0x2e5771(_0x10d4a1)?(_0x308320=_0x10d4a1['size'],_0x4d91d4=!0x1):(_0x10d4a1=_0x54f25e(_0x10d4a1),_0x308320=_0x10d4a1[_0x389c04(0x278)],_0x4d91d4=_0x54f25e['readOnly']),_0x308320>0x7d)throw new RangeError(_0x389c04(0x14f));const _0x26c461={[_0x1f8992]:_0x308320,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1c7365,'maskBuffer':this[_0x389c04(0x1dd)],'opcode':0x9,'readOnly':_0x4d91d4,'rsv1':!0x1};_0x2e5771(_0x10d4a1)?this['_state']!==_0x585f63?this[_0x389c04(0x238)]([this[_0x389c04(0x225)],_0x10d4a1,!0x1,_0x26c461,_0x25f093]):this[_0x389c04(0x225)](_0x10d4a1,!0x1,_0x26c461,_0x25f093):this[_0x389c04(0x212)]!==_0x585f63?this[_0x389c04(0x238)]([this[_0x389c04(0x185)],_0x10d4a1,!0x1,_0x26c461,_0x25f093]):this[_0x389c04(0x243)](_0x266af8[_0x389c04(0x289)](_0x10d4a1,_0x26c461),_0x25f093);}['pong'](_0x2571fe,_0x407172,_0x2075f5){const _0x59e8f5=_0x556725;let _0x3cdb5f,_0x361a24;if(typeof _0x2571fe==_0x59e8f5(0x124)?(_0x3cdb5f=Buffer[_0x59e8f5(0x16f)](_0x2571fe),_0x361a24=!0x1):_0x2e5771(_0x2571fe)?(_0x3cdb5f=_0x2571fe[_0x59e8f5(0x115)],_0x361a24=!0x1):(_0x2571fe=_0x54f25e(_0x2571fe),_0x3cdb5f=_0x2571fe[_0x59e8f5(0x278)],_0x361a24=_0x54f25e[_0x59e8f5(0x201)]),_0x3cdb5f>0x7d)throw new RangeError(_0x59e8f5(0x14f));const _0x93105b={[_0x1f8992]:_0x3cdb5f,'fin':!0x0,'generateMask':this[_0x59e8f5(0x108)],'mask':_0x407172,'maskBuffer':this[_0x59e8f5(0x1dd)],'opcode':0xa,'readOnly':_0x361a24,'rsv1':!0x1};_0x2e5771(_0x2571fe)?this['_state']!==_0x585f63?this['enqueue']([this[_0x59e8f5(0x225)],_0x2571fe,!0x1,_0x93105b,_0x2075f5]):this['getBlobData'](_0x2571fe,!0x1,_0x93105b,_0x2075f5):this[_0x59e8f5(0x212)]!==_0x585f63?this[_0x59e8f5(0x238)]([this[_0x59e8f5(0x185)],_0x2571fe,!0x1,_0x93105b,_0x2075f5]):this[_0x59e8f5(0x243)](_0x266af8[_0x59e8f5(0x289)](_0x2571fe,_0x93105b),_0x2075f5);}[_0x556725(0x17f)](_0xbc120,_0x18d106,_0x182632){const _0x238fa3=_0x556725,_0x55feb5=this[_0x238fa3(0x2ab)][_0x1dcaf5[_0x238fa3(0x2a4)]];let _0x5974de=_0x18d106[_0x238fa3(0x1bc)]?0x2:0x1,_0x36b980=_0x18d106['compress'],_0x597a5f,_0x59ca3a;typeof _0xbc120==_0x238fa3(0x124)?(_0x597a5f=Buffer['byteLength'](_0xbc120),_0x59ca3a=!0x1):_0x2e5771(_0xbc120)?(_0x597a5f=_0xbc120[_0x238fa3(0x115)],_0x59ca3a=!0x1):(_0xbc120=_0x54f25e(_0xbc120),_0x597a5f=_0xbc120['length'],_0x59ca3a=_0x54f25e[_0x238fa3(0x201)]),this[_0x238fa3(0x147)]?(this[_0x238fa3(0x147)]=!0x1,_0x36b980&&_0x55feb5&&_0x55feb5[_0x238fa3(0x1a3)][_0x55feb5[_0x238fa3(0x184)]?_0x238fa3(0x101):'client_no_context_takeover']&&(_0x36b980=_0x597a5f>=_0x55feb5['_threshold']),this['_compress']=_0x36b980):(_0x36b980=!0x1,_0x5974de=0x0),_0x18d106[_0x238fa3(0xfc)]&&(this[_0x238fa3(0x147)]=!0x0);const _0x2f2d60={[_0x1f8992]:_0x597a5f,'fin':_0x18d106['fin'],'generateMask':this[_0x238fa3(0x108)],'mask':_0x18d106[_0x238fa3(0x189)],'maskBuffer':this[_0x238fa3(0x1dd)],'opcode':_0x5974de,'readOnly':_0x59ca3a,'rsv1':_0x36b980};_0x2e5771(_0xbc120)?this[_0x238fa3(0x212)]!==_0x585f63?this[_0x238fa3(0x238)]([this[_0x238fa3(0x225)],_0xbc120,this[_0x238fa3(0x258)],_0x2f2d60,_0x182632]):this[_0x238fa3(0x225)](_0xbc120,this['_compress'],_0x2f2d60,_0x182632):this[_0x238fa3(0x212)]!==_0x585f63?this[_0x238fa3(0x238)]([this[_0x238fa3(0x185)],_0xbc120,this[_0x238fa3(0x258)],_0x2f2d60,_0x182632]):this[_0x238fa3(0x185)](_0xbc120,this[_0x238fa3(0x258)],_0x2f2d60,_0x182632);}[_0x556725(0x225)](_0x39f7c6,_0x3e613c,_0x38a765,_0x34cee9){const _0x57a594=_0x556725;this[_0x57a594(0x188)]+=_0x38a765[_0x1f8992],this[_0x57a594(0x212)]=_0x4c5be1,_0x39f7c6[_0x57a594(0x1e2)]()[_0x57a594(0x26e)](_0x22656a=>{const _0x1f762f=_0x57a594;if(this[_0x1f762f(0x260)][_0x1f762f(0x222)]){const _0x4155f2=new Error(_0x1f762f(0x25d));process[_0x1f762f(0x13d)](_0x4c278e,this,_0x4155f2,_0x34cee9);return;}this['_bufferedBytes']-=_0x38a765[_0x1f8992];const _0x15e9d6=_0x54f25e(_0x22656a);_0x3e613c?this[_0x1f762f(0x185)](_0x15e9d6,_0x3e613c,_0x38a765,_0x34cee9):(this[_0x1f762f(0x212)]=_0x585f63,this[_0x1f762f(0x243)](_0x266af8[_0x1f762f(0x289)](_0x15e9d6,_0x38a765),_0x34cee9),this[_0x1f762f(0x10a)]());})[_0x57a594(0xe2)](_0x8dc0d2=>{process['nextTick'](_0x156d0d,this,_0x8dc0d2,_0x34cee9);});}['dispatch'](_0x4a7ed6,_0x2b6be2,_0x2c8c6d,_0x5e007c){const _0x30eaf1=_0x556725;if(!_0x2b6be2){this[_0x30eaf1(0x243)](_0x266af8[_0x30eaf1(0x289)](_0x4a7ed6,_0x2c8c6d),_0x5e007c);return;}const _0x1dfa4a=this[_0x30eaf1(0x2ab)][_0x1dcaf5['extensionName']];this[_0x30eaf1(0x188)]+=_0x2c8c6d[_0x1f8992],this[_0x30eaf1(0x212)]=_0x4c5e09,_0x1dfa4a[_0x30eaf1(0x13a)](_0x4a7ed6,_0x2c8c6d[_0x30eaf1(0xfc)],(_0xfc830f,_0x5be7bc)=>{const _0x4bff96=_0x30eaf1;if(this[_0x4bff96(0x260)][_0x4bff96(0x222)]){const _0x24205b=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4c278e(this,_0x24205b,_0x5e007c);return;}this['_bufferedBytes']-=_0x2c8c6d[_0x1f8992],this[_0x4bff96(0x212)]=_0x585f63,_0x2c8c6d['readOnly']=!0x1,this[_0x4bff96(0x243)](_0x266af8[_0x4bff96(0x289)](_0x5be7bc,_0x2c8c6d),_0x5e007c),this[_0x4bff96(0x10a)]();});}[_0x556725(0x10a)](){const _0x196261=_0x556725;for(;this['_state']===_0x585f63&&this[_0x196261(0x120)]['length'];){const _0x58a419=this[_0x196261(0x120)][_0x196261(0x15b)]();this[_0x196261(0x188)]-=_0x58a419[0x3][_0x1f8992],Reflect[_0x196261(0x235)](_0x58a419[0x0],this,_0x58a419['slice'](0x1));}}[_0x556725(0x238)](_0xa421d7){const _0x582a0c=_0x556725;this['_bufferedBytes']+=_0xa421d7[0x3][_0x1f8992],this[_0x582a0c(0x120)][_0x582a0c(0x19d)](_0xa421d7);}['sendFrame'](_0x269efe,_0x1e8346){const _0x11ae90=_0x556725;_0x269efe[_0x11ae90(0x278)]===0x2?(this[_0x11ae90(0x260)]['cork'](),this['_socket']['write'](_0x269efe[0x0]),this[_0x11ae90(0x260)]['write'](_0x269efe[0x1],_0x1e8346),this[_0x11ae90(0x260)][_0x11ae90(0x268)]()):this[_0x11ae90(0x260)][_0x11ae90(0xf4)](_0x269efe[0x0],_0x1e8346);}}_0x302ce2=_0x266af8;function _0x4c278e(_0x1f41d4,_0x4736f2,_0x51cf7a){const _0x2c9c98=_0x556725;typeof _0x51cf7a==_0x2c9c98(0x22a)&&_0x51cf7a(_0x4736f2);for(let _0xcce743=0x0;_0xcce743<_0x1f41d4[_0x2c9c98(0x120)][_0x2c9c98(0x278)];_0xcce743++){const _0x388ad1=_0x1f41d4[_0x2c9c98(0x120)][_0xcce743],_0x8645ef=_0x388ad1[_0x388ad1['length']-0x1];typeof _0x8645ef==_0x2c9c98(0x22a)&&_0x8645ef(_0x4736f2);}}function _0x156d0d(_0x4f3fdd,_0x3c0217,_0x529dee){const _0x4cfc51=_0x556725;_0x4c278e(_0x4f3fdd,_0x3c0217,_0x529dee),_0x4f3fdd[_0x4cfc51(0x265)](_0x3c0217);}return _0x302ce2;}var _0x3fc52d,_0x25818;function _0x59919f(){const _0x10c32d=_0x47617f;if(_0x25818)return _0x3fc52d;_0x25818=0x1;const {kForOnEventAttribute:_0x4f850d,kListener:_0x7834dc}=_0x1510a1(),_0x3fd5ad=Symbol('kCode'),_0x35b915=Symbol(_0x10c32d(0xef)),_0x31b7c8=Symbol(_0x10c32d(0x161)),_0x207650=Symbol(_0x10c32d(0x1b4)),_0x1e76de=Symbol(_0x10c32d(0x132)),_0x11ebe9=Symbol(_0x10c32d(0x148)),_0x34ce92=Symbol(_0x10c32d(0x17e)),_0x34dbf8=Symbol('kWasClean');class _0x4c1e5c{constructor(_0xfb1171){this[_0x11ebe9]=null,this[_0x34ce92]=_0xfb1171;}get['target'](){return this[_0x11ebe9];}get[_0x10c32d(0x28c)](){return this[_0x34ce92];}}Object[_0x10c32d(0x18d)](_0x4c1e5c['prototype'],_0x10c32d(0x16b),{'enumerable':!0x0}),Object[_0x10c32d(0x18d)](_0x4c1e5c[_0x10c32d(0x1fa)],_0x10c32d(0x28c),{'enumerable':!0x0});class _0x109103 extends _0x4c1e5c{constructor(_0x513e15,_0x18393e={}){const _0x3b46f9=_0x10c32d;super(_0x513e15),this[_0x3fd5ad]=_0x18393e[_0x3b46f9(0x134)]===void 0x0?0x0:_0x18393e[_0x3b46f9(0x134)],this[_0x1e76de]=_0x18393e[_0x3b46f9(0x2b6)]===void 0x0?'':_0x18393e[_0x3b46f9(0x2b6)],this[_0x34dbf8]=_0x18393e['wasClean']===void 0x0?!0x1:_0x18393e[_0x3b46f9(0x21f)];}get[_0x10c32d(0x134)](){return this[_0x3fd5ad];}get[_0x10c32d(0x2b6)](){return this[_0x1e76de];}get[_0x10c32d(0x21f)](){return this[_0x34dbf8];}}Object[_0x10c32d(0x18d)](_0x109103[_0x10c32d(0x1fa)],'code',{'enumerable':!0x0}),Object[_0x10c32d(0x18d)](_0x109103['prototype'],_0x10c32d(0x2b6),{'enumerable':!0x0}),Object['defineProperty'](_0x109103[_0x10c32d(0x1fa)],'wasClean',{'enumerable':!0x0});class _0x29cdba extends _0x4c1e5c{constructor(_0x41dabe,_0x41b76b={}){const _0x8108f8=_0x10c32d;super(_0x41dabe),this[_0x31b7c8]=_0x41b76b[_0x8108f8(0x264)]===void 0x0?null:_0x41b76b['error'],this[_0x207650]=_0x41b76b[_0x8108f8(0x15a)]===void 0x0?'':_0x41b76b[_0x8108f8(0x15a)];}get[_0x10c32d(0x264)](){return this[_0x31b7c8];}get['message'](){return this[_0x207650];}}Object['defineProperty'](_0x29cdba[_0x10c32d(0x1fa)],_0x10c32d(0x264),{'enumerable':!0x0}),Object[_0x10c32d(0x18d)](_0x29cdba['prototype'],'message',{'enumerable':!0x0});class _0x2bf3a7 extends _0x4c1e5c{constructor(_0x10c5c3,_0x400d62={}){super(_0x10c5c3),this[_0x35b915]=_0x400d62['data']===void 0x0?null:_0x400d62['data'];}get['data'](){return this[_0x35b915];}}Object[_0x10c32d(0x18d)](_0x2bf3a7[_0x10c32d(0x1fa)],'data',{'enumerable':!0x0}),_0x3fc52d={'CloseEvent':_0x109103,'ErrorEvent':_0x29cdba,'Event':_0x4c1e5c,'EventTarget':{'addEventListener'(_0x51b261,_0x2a5378,_0x1168db={}){const _0x2abbe2=_0x10c32d;for(const _0x227fcc of this[_0x2abbe2(0x284)](_0x51b261))if(!_0x1168db[_0x4f850d]&&_0x227fcc[_0x7834dc]===_0x2a5378&&!_0x227fcc[_0x4f850d])return;let _0x14c606;if(_0x51b261===_0x2abbe2(0x15a))_0x14c606=function(_0x5c2919,_0x41de27){const _0x379609=_0x2abbe2,_0x10d128=new _0x2bf3a7('message',{'data':_0x41de27?_0x5c2919:_0x5c2919[_0x379609(0x170)]()});_0x10d128[_0x11ebe9]=this,_0x1f8bab(_0x2a5378,this,_0x10d128);};else{if(_0x51b261===_0x2abbe2(0x230))_0x14c606=function(_0x1e42c3,_0x4edba8){const _0x16fad1=_0x2abbe2,_0x1abba6=new _0x109103('close',{'code':_0x1e42c3,'reason':_0x4edba8[_0x16fad1(0x170)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x1abba6[_0x11ebe9]=this,_0x1f8bab(_0x2a5378,this,_0x1abba6);};else{if(_0x51b261===_0x2abbe2(0x264))_0x14c606=function(_0x57ba7c){const _0x1a0c03=_0x2abbe2,_0x9fb4df=new _0x29cdba(_0x1a0c03(0x264),{'error':_0x57ba7c,'message':_0x57ba7c[_0x1a0c03(0x15a)]});_0x9fb4df[_0x11ebe9]=this,_0x1f8bab(_0x2a5378,this,_0x9fb4df);};else{if(_0x51b261==='open')_0x14c606=function(){const _0x2b0134=_0x2abbe2,_0x4b3842=new _0x4c1e5c(_0x2b0134(0x220));_0x4b3842[_0x11ebe9]=this,_0x1f8bab(_0x2a5378,this,_0x4b3842);};else return;}}}_0x14c606[_0x4f850d]=!!_0x1168db[_0x4f850d],_0x14c606[_0x7834dc]=_0x2a5378,_0x1168db[_0x2abbe2(0x11e)]?this['once'](_0x51b261,_0x14c606):this['on'](_0x51b261,_0x14c606);},'removeEventListener'(_0x4bc8f1,_0x23ff23){for(const _0x3c6217 of this['listeners'](_0x4bc8f1))if(_0x3c6217[_0x7834dc]===_0x23ff23&&!_0x3c6217[_0x4f850d]){this['removeListener'](_0x4bc8f1,_0x3c6217);break;}}},'MessageEvent':_0x2bf3a7};function _0x1f8bab(_0xde58ca,_0x25bcff,_0x208672){const _0x5bccbc=_0x10c32d;typeof _0xde58ca==_0x5bccbc(0x18f)&&_0xde58ca[_0x5bccbc(0x26a)]?_0xde58ca[_0x5bccbc(0x26a)]['call'](_0xde58ca,_0x208672):_0xde58ca[_0x5bccbc(0x143)](_0x25bcff,_0x208672);}return _0x3fc52d;}var _0x5b4889,_0x336f51;function _0x396ccb(){if(_0x336f51)return _0x5b4889;_0x336f51=0x1;const {tokenChars:_0xb14588}=_0x5a998e();function _0x122c66(_0x301f42,_0x51f22f,_0x518abb){const _0x32be73=_0xb06b;_0x301f42[_0x51f22f]===void 0x0?_0x301f42[_0x51f22f]=[_0x518abb]:_0x301f42[_0x51f22f][_0x32be73(0x19d)](_0x518abb);}function _0x3af23a(_0xdd4b7f){const _0x15a8a5=_0xb06b,_0x599588=Object['create'](null);let _0x592088=Object[_0x15a8a5(0x22f)](null),_0x279dd0=!0x1,_0x3e1b48=!0x1,_0xc732d2=!0x1,_0x182ee5,_0x57486c,_0x1d90f1=-0x1,_0x194472=-0x1,_0x229a69=-0x1,_0x48810b=0x0;for(;_0x48810b<_0xdd4b7f[_0x15a8a5(0x278)];_0x48810b++)if(_0x194472=_0xdd4b7f[_0x15a8a5(0x277)](_0x48810b),_0x182ee5===void 0x0){if(_0x229a69===-0x1&&_0xb14588[_0x194472]===0x1)_0x1d90f1===-0x1&&(_0x1d90f1=_0x48810b);else{if(_0x48810b!==0x0&&(_0x194472===0x20||_0x194472===0x9))_0x229a69===-0x1&&_0x1d90f1!==-0x1&&(_0x229a69=_0x48810b);else{if(_0x194472===0x3b||_0x194472===0x2c){if(_0x1d90f1===-0x1)throw new SyntaxError(_0x15a8a5(0x219)+_0x48810b);_0x229a69===-0x1&&(_0x229a69=_0x48810b);const _0xedbe2d=_0xdd4b7f[_0x15a8a5(0x194)](_0x1d90f1,_0x229a69);_0x194472===0x2c?(_0x122c66(_0x599588,_0xedbe2d,_0x592088),_0x592088=Object[_0x15a8a5(0x22f)](null)):_0x182ee5=_0xedbe2d,_0x1d90f1=_0x229a69=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x48810b);}}}else{if(_0x57486c===void 0x0){if(_0x229a69===-0x1&&_0xb14588[_0x194472]===0x1)_0x1d90f1===-0x1&&(_0x1d90f1=_0x48810b);else{if(_0x194472===0x20||_0x194472===0x9)_0x229a69===-0x1&&_0x1d90f1!==-0x1&&(_0x229a69=_0x48810b);else{if(_0x194472===0x3b||_0x194472===0x2c){if(_0x1d90f1===-0x1)throw new SyntaxError(_0x15a8a5(0x219)+_0x48810b);_0x229a69===-0x1&&(_0x229a69=_0x48810b),_0x122c66(_0x592088,_0xdd4b7f[_0x15a8a5(0x194)](_0x1d90f1,_0x229a69),!0x0),_0x194472===0x2c&&(_0x122c66(_0x599588,_0x182ee5,_0x592088),_0x592088=Object[_0x15a8a5(0x22f)](null),_0x182ee5=void 0x0),_0x1d90f1=_0x229a69=-0x1;}else{if(_0x194472===0x3d&&_0x1d90f1!==-0x1&&_0x229a69===-0x1)_0x57486c=_0xdd4b7f[_0x15a8a5(0x194)](_0x1d90f1,_0x48810b),_0x1d90f1=_0x229a69=-0x1;else throw new SyntaxError(_0x15a8a5(0x219)+_0x48810b);}}}}else{if(_0x3e1b48){if(_0xb14588[_0x194472]!==0x1)throw new SyntaxError(_0x15a8a5(0x219)+_0x48810b);_0x1d90f1===-0x1?_0x1d90f1=_0x48810b:_0x279dd0||(_0x279dd0=!0x0),_0x3e1b48=!0x1;}else{if(_0xc732d2){if(_0xb14588[_0x194472]===0x1)_0x1d90f1===-0x1&&(_0x1d90f1=_0x48810b);else{if(_0x194472===0x22&&_0x1d90f1!==-0x1)_0xc732d2=!0x1,_0x229a69=_0x48810b;else{if(_0x194472===0x5c)_0x3e1b48=!0x0;else throw new SyntaxError(_0x15a8a5(0x219)+_0x48810b);}}}else{if(_0x194472===0x22&&_0xdd4b7f['charCodeAt'](_0x48810b-0x1)===0x3d)_0xc732d2=!0x0;else{if(_0x229a69===-0x1&&_0xb14588[_0x194472]===0x1)_0x1d90f1===-0x1&&(_0x1d90f1=_0x48810b);else{if(_0x1d90f1!==-0x1&&(_0x194472===0x20||_0x194472===0x9))_0x229a69===-0x1&&(_0x229a69=_0x48810b);else{if(_0x194472===0x3b||_0x194472===0x2c){if(_0x1d90f1===-0x1)throw new SyntaxError(_0x15a8a5(0x219)+_0x48810b);_0x229a69===-0x1&&(_0x229a69=_0x48810b);let _0x4d1cb5=_0xdd4b7f[_0x15a8a5(0x194)](_0x1d90f1,_0x229a69);_0x279dd0&&(_0x4d1cb5=_0x4d1cb5[_0x15a8a5(0x169)](/\\/g,''),_0x279dd0=!0x1),_0x122c66(_0x592088,_0x57486c,_0x4d1cb5),_0x194472===0x2c&&(_0x122c66(_0x599588,_0x182ee5,_0x592088),_0x592088=Object[_0x15a8a5(0x22f)](null),_0x182ee5=void 0x0),_0x57486c=void 0x0,_0x1d90f1=_0x229a69=-0x1;}else throw new SyntaxError(_0x15a8a5(0x219)+_0x48810b);}}}}}}}if(_0x1d90f1===-0x1||_0xc732d2||_0x194472===0x20||_0x194472===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x229a69===-0x1&&(_0x229a69=_0x48810b);const _0xd4b3da=_0xdd4b7f[_0x15a8a5(0x194)](_0x1d90f1,_0x229a69);return _0x182ee5===void 0x0?_0x122c66(_0x599588,_0xd4b3da,_0x592088):(_0x57486c===void 0x0?_0x122c66(_0x592088,_0xd4b3da,!0x0):_0x279dd0?_0x122c66(_0x592088,_0x57486c,_0xd4b3da['replace'](/\\/g,'')):_0x122c66(_0x592088,_0x57486c,_0xd4b3da),_0x122c66(_0x599588,_0x182ee5,_0x592088)),_0x599588;}function _0xf8a9d7(_0x1874b3){const _0x3ed2c2=_0xb06b;return Object[_0x3ed2c2(0x13e)](_0x1874b3)['map'](_0x33d8b9=>{const _0x1781fa=_0x3ed2c2;let _0x6ff440=_0x1874b3[_0x33d8b9];return Array[_0x1781fa(0x1cc)](_0x6ff440)||(_0x6ff440=[_0x6ff440]),_0x6ff440['map'](_0x531fa0=>[_0x33d8b9][_0x1781fa(0x1ca)](Object[_0x1781fa(0x13e)](_0x531fa0)['map'](_0x1a3bfb=>{const _0x58c5df=_0x1781fa;let _0x11fa97=_0x531fa0[_0x1a3bfb];return Array[_0x58c5df(0x1cc)](_0x11fa97)||(_0x11fa97=[_0x11fa97]),_0x11fa97[_0x58c5df(0x13f)](_0x338b3d=>_0x338b3d===!0x0?_0x1a3bfb:_0x1a3bfb+'='+_0x338b3d)['join'](';\x20');}))[_0x1781fa(0x295)](';\x20'))[_0x1781fa(0x295)](',\x20');})[_0x3ed2c2(0x295)](',\x20');}return _0x5b4889={'format':_0xf8a9d7,'parse':_0x3af23a},_0x5b4889;}var _0x405e85,_0x34d560;function _0x4f0110(){const _0x406707=_0x47617f;if(_0x34d560)return _0x405e85;_0x34d560=0x1;const _0x55a4d8=_0x34ff39,_0x4f9d73=_0xfa792e,_0x24bf0d=_0x426f21,_0x261496=_0x50d01f,_0x316eee=_0x11b64b,{randomBytes:_0x5ce3d0,createHash:_0x4f2ded}=_0x3c4d65,{Duplex:_0x345fb9,Readable:_0x37e44a}=_0xf09357,{URL:_0x54038a}=_0x2c7d60,_0x332d1f=_0x2a73b6(),_0xe67dd4=_0x35c54d(),_0x12d283=_0x225503(),{isBlob:_0x861b88}=_0x5a998e(),{BINARY_TYPES:_0x2d46e9,EMPTY_BUFFER:_0x565351,GUID:_0x27c013,kForOnEventAttribute:_0x514fef,kListener:_0x159abd,kStatusCode:_0x4a3b6f,kWebSocket:_0x5b8c60,NOOP:_0xa4abe2}=_0x1510a1(),{EventTarget:{addEventListener:_0x7567e0,removeEventListener:_0x3c9281}}=_0x59919f(),{format:_0x31ef31,parse:_0x1d802d}=_0x396ccb(),{toBuffer:_0x367431}=_0xc07583(),_0x5b4a1e=0x1e*0x3e8,_0x32e938=Symbol(_0x406707(0x290)),_0x4a17b3=[0x8,0xd],_0x221841=[_0x406707(0x1d5),'OPEN',_0x406707(0x27a),'CLOSED'],_0x4e834a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2611e1 extends _0x55a4d8{constructor(_0x3c4d4c,_0x134941,_0x4911bd){const _0x11f9c5=_0x406707;super(),this[_0x11f9c5(0x29b)]=_0x2d46e9[0x0],this['_closeCode']=0x3ee,this[_0x11f9c5(0x276)]=!0x1,this[_0x11f9c5(0x119)]=!0x1,this[_0x11f9c5(0x1dc)]=_0x565351,this[_0x11f9c5(0x135)]=null,this['_errorEmitted']=!0x1,this[_0x11f9c5(0x2ab)]={},this[_0x11f9c5(0x297)]=!0x1,this[_0x11f9c5(0xff)]='',this['_readyState']=_0x2611e1[_0x11f9c5(0x1d5)],this[_0x11f9c5(0x12c)]=null,this['_sender']=null,this[_0x11f9c5(0x260)]=null,_0x3c4d4c!==null?(this[_0x11f9c5(0x1ab)]=0x0,this[_0x11f9c5(0x184)]=!0x1,this['_redirects']=0x0,_0x134941===void 0x0?_0x134941=[]:Array['isArray'](_0x134941)||(typeof _0x134941==_0x11f9c5(0x18f)&&_0x134941!==null?(_0x4911bd=_0x134941,_0x134941=[]):_0x134941=[_0x134941]),_0xa713ad(this,_0x3c4d4c,_0x134941,_0x4911bd)):(this['_autoPong']=_0x4911bd[_0x11f9c5(0x1ff)],this[_0x11f9c5(0x184)]=!0x0);}get[_0x406707(0x172)](){const _0x1bc70d=_0x406707;return this[_0x1bc70d(0x29b)];}set[_0x406707(0x172)](_0x135a19){const _0x1c3fbe=_0x406707;_0x2d46e9[_0x1c3fbe(0xf5)](_0x135a19)&&(this['_binaryType']=_0x135a19,this[_0x1c3fbe(0x12c)]&&(this[_0x1c3fbe(0x12c)][_0x1c3fbe(0x29b)]=_0x135a19));}get[_0x406707(0x1f6)](){const _0x4a9060=_0x406707;return this['_socket']?this['_socket'][_0x4a9060(0x114)]['length']+this[_0x4a9060(0x1f3)][_0x4a9060(0x188)]:this[_0x4a9060(0x1ab)];}get[_0x406707(0x175)](){const _0x49fc67=_0x406707;return Object[_0x49fc67(0x13e)](this[_0x49fc67(0x2ab)])[_0x49fc67(0x295)]();}get[_0x406707(0xf8)](){const _0x2106dd=_0x406707;return this[_0x2106dd(0x297)];}get[_0x406707(0x14e)](){return null;}get[_0x406707(0x265)](){return null;}get[_0x406707(0x1a2)](){return null;}get[_0x406707(0x18b)](){return null;}get['protocol'](){const _0xe1053c=_0x406707;return this[_0xe1053c(0xff)];}get[_0x406707(0x1d0)](){const _0x1611c8=_0x406707;return this[_0x1611c8(0x202)];}get[_0x406707(0x261)](){const _0x6e8932=_0x406707;return this[_0x6e8932(0x1d2)];}[_0x406707(0x250)](_0x4c071d,_0x92f4d0,_0x4f873c){const _0x41b7b0=_0x406707,_0x5d4560=new _0xe67dd4({'allowSynchronousEvents':_0x4f873c[_0x41b7b0(0x146)],'binaryType':this[_0x41b7b0(0x172)],'extensions':this[_0x41b7b0(0x2ab)],'isServer':this[_0x41b7b0(0x184)],'maxPayload':_0x4f873c[_0x41b7b0(0x173)],'skipUTF8Validation':_0x4f873c[_0x41b7b0(0x19a)]}),_0x576514=new _0x12d283(_0x4c071d,this['_extensions'],_0x4f873c['generateMask']);this[_0x41b7b0(0x12c)]=_0x5d4560,this[_0x41b7b0(0x1f3)]=_0x576514,this[_0x41b7b0(0x260)]=_0x4c071d,_0x5d4560[_0x5b8c60]=this,_0x576514[_0x5b8c60]=this,_0x4c071d[_0x5b8c60]=this,_0x5d4560['on'](_0x41b7b0(0x2ba),_0x1b0174),_0x5d4560['on'](_0x41b7b0(0x168),_0x567dcc),_0x5d4560['on'](_0x41b7b0(0x264),_0x430d04),_0x5d4560['on'](_0x41b7b0(0x15a),_0x1a05af),_0x5d4560['on'](_0x41b7b0(0x2bb),_0x4c765f),_0x5d4560['on'](_0x41b7b0(0x2a7),_0x4c2480),_0x576514['onerror']=_0x164902,_0x4c071d['setTimeout']&&_0x4c071d[_0x41b7b0(0x11b)](0x0),_0x4c071d[_0x41b7b0(0x21a)]&&_0x4c071d['setNoDelay'](),_0x92f4d0[_0x41b7b0(0x278)]>0x0&&_0x4c071d[_0x41b7b0(0x10b)](_0x92f4d0),_0x4c071d['on']('close',_0x308197),_0x4c071d['on'](_0x41b7b0(0x166),_0x17547f),_0x4c071d['on'](_0x41b7b0(0x16a),_0x2df493),_0x4c071d['on'](_0x41b7b0(0x264),_0x562aef),this[_0x41b7b0(0x202)]=_0x2611e1['OPEN'],this['emit'](_0x41b7b0(0x220));}[_0x406707(0x13c)](){const _0x324189=_0x406707;if(!this['_socket']){this['_readyState']=_0x2611e1['CLOSED'],this[_0x324189(0x2b8)](_0x324189(0x230),this[_0x324189(0x20f)],this['_closeMessage']);return;}this[_0x324189(0x2ab)][_0x332d1f[_0x324189(0x2a4)]]&&this['_extensions'][_0x332d1f[_0x324189(0x2a4)]][_0x324189(0x2a3)](),this[_0x324189(0x12c)][_0x324189(0x150)](),this['_readyState']=_0x2611e1['CLOSED'],this[_0x324189(0x2b8)]('close',this['_closeCode'],this[_0x324189(0x1dc)]);}[_0x406707(0x230)](_0x38189f,_0x44324e){const _0x194060=_0x406707;if(this[_0x194060(0x1d0)]!==_0x2611e1['CLOSED']){if(this['readyState']===_0x2611e1[_0x194060(0x1d5)]){_0x120341(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x194060(0x1d0)]===_0x2611e1[_0x194060(0x27a)]){this['_closeFrameSent']&&(this[_0x194060(0x276)]||this['_receiver'][_0x194060(0x114)]['errorEmitted'])&&this[_0x194060(0x260)][_0x194060(0x16a)]();return;}this[_0x194060(0x202)]=_0x2611e1[_0x194060(0x27a)],this['_sender'][_0x194060(0x230)](_0x38189f,_0x44324e,!this[_0x194060(0x184)],_0x51de3e=>{const _0x3d1862=_0x194060;_0x51de3e||(this[_0x3d1862(0x119)]=!0x0,(this[_0x3d1862(0x276)]||this[_0x3d1862(0x12c)]['_writableState']['errorEmitted'])&&this[_0x3d1862(0x260)][_0x3d1862(0x16a)]());}),_0x5c401b(this);}}[_0x406707(0x19b)](){const _0xf41d3f=_0x406707;this[_0xf41d3f(0x1d0)]===_0x2611e1[_0xf41d3f(0x1d5)]||this[_0xf41d3f(0x1d0)]===_0x2611e1[_0xf41d3f(0x29f)]||(this[_0xf41d3f(0x297)]=!0x0,this['_socket'][_0xf41d3f(0x19b)]());}[_0x406707(0x2bb)](_0x480ba3,_0x1a3020,_0x1187c1){const _0x113041=_0x406707;if(this['readyState']===_0x2611e1[_0x113041(0x1d5)])throw new Error(_0x113041(0x1d8));if(typeof _0x480ba3=='function'?(_0x1187c1=_0x480ba3,_0x480ba3=_0x1a3020=void 0x0):typeof _0x1a3020==_0x113041(0x22a)&&(_0x1187c1=_0x1a3020,_0x1a3020=void 0x0),typeof _0x480ba3==_0x113041(0x246)&&(_0x480ba3=_0x480ba3[_0x113041(0x170)]()),this['readyState']!==_0x2611e1[_0x113041(0x17d)]){_0x2ebab0(this,_0x480ba3,_0x1187c1);return;}_0x1a3020===void 0x0&&(_0x1a3020=!this['_isServer']),this[_0x113041(0x1f3)][_0x113041(0x2bb)](_0x480ba3||_0x565351,_0x1a3020,_0x1187c1);}[_0x406707(0x2a7)](_0x552427,_0xb517af,_0x406600){const _0x283e1b=_0x406707;if(this[_0x283e1b(0x1d0)]===_0x2611e1[_0x283e1b(0x1d5)])throw new Error(_0x283e1b(0x1d8));if(typeof _0x552427=='function'?(_0x406600=_0x552427,_0x552427=_0xb517af=void 0x0):typeof _0xb517af=='function'&&(_0x406600=_0xb517af,_0xb517af=void 0x0),typeof _0x552427==_0x283e1b(0x246)&&(_0x552427=_0x552427['toString']()),this['readyState']!==_0x2611e1[_0x283e1b(0x17d)]){_0x2ebab0(this,_0x552427,_0x406600);return;}_0xb517af===void 0x0&&(_0xb517af=!this[_0x283e1b(0x184)]),this[_0x283e1b(0x1f3)][_0x283e1b(0x2a7)](_0x552427||_0x565351,_0xb517af,_0x406600);}[_0x406707(0x271)](){const _0x11c293=_0x406707;this[_0x11c293(0x1d0)]===_0x2611e1['CONNECTING']||this[_0x11c293(0x1d0)]===_0x2611e1[_0x11c293(0x29f)]||(this[_0x11c293(0x297)]=!0x1,this[_0x11c293(0x12c)][_0x11c293(0x114)]['needDrain']||this[_0x11c293(0x260)][_0x11c293(0x271)]());}['send'](_0x585f4e,_0x52b0b7,_0xdff04d){const _0x233080=_0x406707;if(this[_0x233080(0x1d0)]===_0x2611e1[_0x233080(0x1d5)])throw new Error(_0x233080(0x1d8));if(typeof _0x52b0b7==_0x233080(0x22a)&&(_0xdff04d=_0x52b0b7,_0x52b0b7={}),typeof _0x585f4e=='number'&&(_0x585f4e=_0x585f4e[_0x233080(0x170)]()),this[_0x233080(0x1d0)]!==_0x2611e1[_0x233080(0x17d)]){_0x2ebab0(this,_0x585f4e,_0xdff04d);return;}const _0x10bca6={'binary':typeof _0x585f4e!=_0x233080(0x124),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x52b0b7};this[_0x233080(0x2ab)][_0x332d1f[_0x233080(0x2a4)]]||(_0x10bca6['compress']=!0x1),this[_0x233080(0x1f3)][_0x233080(0x17f)](_0x585f4e||_0x565351,_0x10bca6,_0xdff04d);}[_0x406707(0x253)](){const _0x409f0a=_0x406707;if(this[_0x409f0a(0x1d0)]!==_0x2611e1[_0x409f0a(0x29f)]){if(this[_0x409f0a(0x1d0)]===_0x2611e1[_0x409f0a(0x1d5)]){_0x120341(this,this['_req'],_0x409f0a(0x237));return;}this[_0x409f0a(0x260)]&&(this[_0x409f0a(0x202)]=_0x2611e1[_0x409f0a(0x27a)],this[_0x409f0a(0x260)]['destroy']());}}}Object['defineProperty'](_0x2611e1,_0x406707(0x1d5),{'enumerable':!0x0,'value':_0x221841[_0x406707(0x123)](_0x406707(0x1d5))}),Object[_0x406707(0x18d)](_0x2611e1[_0x406707(0x1fa)],_0x406707(0x1d5),{'enumerable':!0x0,'value':_0x221841[_0x406707(0x123)](_0x406707(0x1d5))}),Object[_0x406707(0x18d)](_0x2611e1,_0x406707(0x17d),{'enumerable':!0x0,'value':_0x221841[_0x406707(0x123)]('OPEN')}),Object[_0x406707(0x18d)](_0x2611e1[_0x406707(0x1fa)],_0x406707(0x17d),{'enumerable':!0x0,'value':_0x221841[_0x406707(0x123)](_0x406707(0x17d))}),Object[_0x406707(0x18d)](_0x2611e1,_0x406707(0x27a),{'enumerable':!0x0,'value':_0x221841[_0x406707(0x123)](_0x406707(0x27a))}),Object['defineProperty'](_0x2611e1[_0x406707(0x1fa)],'CLOSING',{'enumerable':!0x0,'value':_0x221841[_0x406707(0x123)]('CLOSING')}),Object['defineProperty'](_0x2611e1,_0x406707(0x29f),{'enumerable':!0x0,'value':_0x221841[_0x406707(0x123)](_0x406707(0x29f))}),Object[_0x406707(0x18d)](_0x2611e1[_0x406707(0x1fa)],_0x406707(0x29f),{'enumerable':!0x0,'value':_0x221841[_0x406707(0x123)](_0x406707(0x29f))}),[_0x406707(0x172),_0x406707(0x1f6),_0x406707(0x175),_0x406707(0xf8),_0x406707(0x1c5),_0x406707(0x1d0),_0x406707(0x261)][_0x406707(0x158)](_0x582455=>{const _0x5e8882=_0x406707;Object['defineProperty'](_0x2611e1[_0x5e8882(0x1fa)],_0x582455,{'enumerable':!0x0});}),[_0x406707(0x220),_0x406707(0x264),'close',_0x406707(0x15a)][_0x406707(0x158)](_0x39c01e=>{Object['defineProperty'](_0x2611e1['prototype'],'on'+_0x39c01e,{'enumerable':!0x0,'get'(){for(const _0x42fdae of this['listeners'](_0x39c01e))if(_0x42fdae[_0x514fef])return _0x42fdae[_0x159abd];return null;},'set'(_0x23fba9){const _0x3b52be=_0xb06b;for(const _0x273704 of this['listeners'](_0x39c01e))if(_0x273704[_0x514fef]){this[_0x3b52be(0x1c9)](_0x39c01e,_0x273704);break;}typeof _0x23fba9=='function'&&this['addEventListener'](_0x39c01e,_0x23fba9,{[_0x514fef]:!0x0});}});}),_0x2611e1[_0x406707(0x1fa)][_0x406707(0x17a)]=_0x7567e0,_0x2611e1['prototype'][_0x406707(0x19c)]=_0x3c9281,_0x405e85=_0x2611e1;function _0xa713ad(_0x2d0aa2,_0x1f9d48,_0x516d11,_0x235f0a){const _0x3a7c5d=_0x406707,_0x48da07={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4a17b3[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x235f0a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3a7c5d(0x216),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2d0aa2['_autoPong']=_0x48da07[_0x3a7c5d(0x1ff)],!_0x4a17b3[_0x3a7c5d(0xf5)](_0x48da07[_0x3a7c5d(0x23b)]))throw new RangeError(_0x3a7c5d(0x28d)+_0x48da07['protocolVersion']+_0x3a7c5d(0xf7)+_0x4a17b3[_0x3a7c5d(0x295)](',\x20')+')');let _0x3911ba;if(_0x1f9d48 instanceof _0x54038a)_0x3911ba=_0x1f9d48;else try{_0x3911ba=new _0x54038a(_0x1f9d48);}catch{throw new SyntaxError(_0x3a7c5d(0x12e)+_0x1f9d48);}_0x3911ba['protocol']===_0x3a7c5d(0x270)?_0x3911ba[_0x3a7c5d(0x1c5)]='ws:':_0x3911ba['protocol']==='https:'&&(_0x3911ba[_0x3a7c5d(0x1c5)]=_0x3a7c5d(0x1e7)),_0x2d0aa2[_0x3a7c5d(0x1d2)]=_0x3911ba[_0x3a7c5d(0x1bd)];const _0x148144=_0x3911ba['protocol']===_0x3a7c5d(0x1e7),_0x1327ca=_0x3911ba['protocol']===_0x3a7c5d(0x218);let _0x5a0f6f;if(_0x3911ba[_0x3a7c5d(0x1c5)]!==_0x3a7c5d(0x10c)&&!_0x148144&&!_0x1327ca?_0x5a0f6f=_0x3a7c5d(0x22e):_0x1327ca&&!_0x3911ba[_0x3a7c5d(0x266)]?_0x5a0f6f=_0x3a7c5d(0x275):_0x3911ba[_0x3a7c5d(0x206)]&&(_0x5a0f6f=_0x3a7c5d(0x2a8)),_0x5a0f6f){const _0x44e6d9=new SyntaxError(_0x5a0f6f);if(_0x2d0aa2[_0x3a7c5d(0xf0)]===0x0)throw _0x44e6d9;_0x782c36(_0x2d0aa2,_0x44e6d9);return;}const _0xfbdcdb=_0x148144?0x1bb:0x50,_0x5f1eeb=_0x5ce3d0(0x10)[_0x3a7c5d(0x170)](_0x3a7c5d(0x262)),_0x469685=_0x148144?_0x4f9d73['request']:_0x24bf0d['request'],_0x53cac0=new Set();let _0x3e7f6f;if(_0x48da07[_0x3a7c5d(0x103)]=_0x48da07[_0x3a7c5d(0x103)]||(_0x148144?_0x48bdf7:_0x560d95),_0x48da07[_0x3a7c5d(0x21e)]=_0x48da07[_0x3a7c5d(0x21e)]||_0xfbdcdb,_0x48da07['port']=_0x3911ba[_0x3a7c5d(0x208)]||_0xfbdcdb,_0x48da07['host']=_0x3911ba['hostname'][_0x3a7c5d(0x1da)]('[')?_0x3911ba[_0x3a7c5d(0x14d)]['slice'](0x1,-0x1):_0x3911ba['hostname'],_0x48da07[_0x3a7c5d(0x1e4)]={..._0x48da07[_0x3a7c5d(0x1e4)],'Sec-WebSocket-Version':_0x48da07['protocolVersion'],'Sec-WebSocket-Key':_0x5f1eeb,'Connection':_0x3a7c5d(0xf1),'Upgrade':_0x3a7c5d(0x11d)},_0x48da07[_0x3a7c5d(0x27d)]=_0x3911ba[_0x3a7c5d(0x266)]+_0x3911ba[_0x3a7c5d(0x204)],_0x48da07[_0x3a7c5d(0x229)]=_0x48da07[_0x3a7c5d(0x126)],_0x48da07['perMessageDeflate']&&(_0x3e7f6f=new _0x332d1f(_0x48da07[_0x3a7c5d(0x10e)]!==!0x0?_0x48da07['perMessageDeflate']:{},!0x1,_0x48da07[_0x3a7c5d(0x173)]),_0x48da07[_0x3a7c5d(0x1e4)]['Sec-WebSocket-Extensions']=_0x31ef31({[_0x332d1f[_0x3a7c5d(0x2a4)]]:_0x3e7f6f[_0x3a7c5d(0xe6)]()})),_0x516d11[_0x3a7c5d(0x278)]){for(const _0xa8b878 of _0x516d11){if(typeof _0xa8b878!='string'||!_0x4e834a['test'](_0xa8b878)||_0x53cac0[_0x3a7c5d(0x156)](_0xa8b878))throw new SyntaxError(_0x3a7c5d(0x10d));_0x53cac0['add'](_0xa8b878);}_0x48da07[_0x3a7c5d(0x1e4)][_0x3a7c5d(0x127)]=_0x516d11[_0x3a7c5d(0x295)](',');}if(_0x48da07[_0x3a7c5d(0x249)]&&(_0x48da07[_0x3a7c5d(0x23b)]<0xd?_0x48da07[_0x3a7c5d(0x1e4)][_0x3a7c5d(0x20e)]=_0x48da07[_0x3a7c5d(0x249)]:_0x48da07[_0x3a7c5d(0x1e4)]['Origin']=_0x48da07[_0x3a7c5d(0x249)]),(_0x3911ba['username']||_0x3911ba[_0x3a7c5d(0x195)])&&(_0x48da07[_0x3a7c5d(0x109)]=_0x3911ba[_0x3a7c5d(0x240)]+':'+_0x3911ba[_0x3a7c5d(0x195)]),_0x1327ca){const _0x25ed78=_0x48da07[_0x3a7c5d(0x27d)][_0x3a7c5d(0x1d4)](':');_0x48da07[_0x3a7c5d(0x11c)]=_0x25ed78[0x0],_0x48da07['path']=_0x25ed78[0x1];}let _0x3f3c81;if(_0x48da07[_0x3a7c5d(0x244)]){if(_0x2d0aa2[_0x3a7c5d(0xf0)]===0x0){_0x2d0aa2[_0x3a7c5d(0x20c)]=_0x1327ca,_0x2d0aa2[_0x3a7c5d(0x1d6)]=_0x148144,_0x2d0aa2['_originalHostOrSocketPath']=_0x1327ca?_0x48da07[_0x3a7c5d(0x11c)]:_0x3911ba[_0x3a7c5d(0x2af)];const _0x2a3ea6=_0x235f0a&&_0x235f0a[_0x3a7c5d(0x1e4)];if(_0x235f0a={..._0x235f0a,'headers':{}},_0x2a3ea6){for(const [_0x41b08b,_0x24c21a]of Object[_0x3a7c5d(0x228)](_0x2a3ea6))_0x235f0a[_0x3a7c5d(0x1e4)][_0x41b08b['toLowerCase']()]=_0x24c21a;}}else{if(_0x2d0aa2[_0x3a7c5d(0x10f)](_0x3a7c5d(0x154))===0x0){const _0x38fdd1=_0x1327ca?_0x2d0aa2[_0x3a7c5d(0x20c)]?_0x48da07['socketPath']===_0x2d0aa2['_originalHostOrSocketPath']:!0x1:_0x2d0aa2[_0x3a7c5d(0x20c)]?!0x1:_0x3911ba[_0x3a7c5d(0x2af)]===_0x2d0aa2['_originalHostOrSocketPath'];(!_0x38fdd1||_0x2d0aa2['_originalSecure']&&!_0x148144)&&(delete _0x48da07[_0x3a7c5d(0x1e4)]['authorization'],delete _0x48da07[_0x3a7c5d(0x1e4)][_0x3a7c5d(0x1a9)],_0x38fdd1||delete _0x48da07[_0x3a7c5d(0x1e4)][_0x3a7c5d(0x2af)],_0x48da07[_0x3a7c5d(0x109)]=void 0x0);}}_0x48da07[_0x3a7c5d(0x109)]&&!_0x235f0a[_0x3a7c5d(0x1e4)][_0x3a7c5d(0x155)]&&(_0x235f0a[_0x3a7c5d(0x1e4)][_0x3a7c5d(0x155)]=_0x3a7c5d(0x110)+Buffer[_0x3a7c5d(0x23c)](_0x48da07[_0x3a7c5d(0x109)])[_0x3a7c5d(0x170)](_0x3a7c5d(0x262))),_0x3f3c81=_0x2d0aa2['_req']=_0x469685(_0x48da07),_0x2d0aa2[_0x3a7c5d(0xf0)]&&_0x2d0aa2[_0x3a7c5d(0x2b8)](_0x3a7c5d(0x154),_0x2d0aa2['url'],_0x3f3c81);}else _0x3f3c81=_0x2d0aa2[_0x3a7c5d(0x152)]=_0x469685(_0x48da07);_0x48da07[_0x3a7c5d(0x229)]&&_0x3f3c81['on'](_0x3a7c5d(0x229),()=>{_0x120341(_0x2d0aa2,_0x3f3c81,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x3f3c81['on'](_0x3a7c5d(0x264),_0x5ac90e=>{_0x3f3c81===null||_0x3f3c81[_0x32e938]||(_0x3f3c81=_0x2d0aa2['_req']=null,_0x782c36(_0x2d0aa2,_0x5ac90e));}),_0x3f3c81['on']('response',_0x3b7cb9=>{const _0xebd946=_0x3a7c5d,_0x633d17=_0x3b7cb9['headers'][_0xebd946(0x128)],_0x183660=_0x3b7cb9[_0xebd946(0x105)];if(_0x633d17&&_0x48da07[_0xebd946(0x244)]&&_0x183660>=0x12c&&_0x183660<0x190){if(++_0x2d0aa2[_0xebd946(0xf0)]>_0x48da07[_0xebd946(0x19e)]){_0x120341(_0x2d0aa2,_0x3f3c81,_0xebd946(0x1f7));return;}_0x3f3c81[_0xebd946(0x1b2)]();let _0xf06cec;try{_0xf06cec=new _0x54038a(_0x633d17,_0x1f9d48);}catch{const _0x3fb912=new SyntaxError(_0xebd946(0x12e)+_0x633d17);_0x782c36(_0x2d0aa2,_0x3fb912);return;}_0xa713ad(_0x2d0aa2,_0xf06cec,_0x516d11,_0x235f0a);}else _0x2d0aa2[_0xebd946(0x2b8)](_0xebd946(0x21c),_0x3f3c81,_0x3b7cb9)||_0x120341(_0x2d0aa2,_0x3f3c81,'Unexpected\x20server\x20response:\x20'+_0x3b7cb9[_0xebd946(0x105)]);}),_0x3f3c81['on'](_0x3a7c5d(0x254),(_0x237f22,_0x51702f,_0x8f1cb6)=>{const _0x9ccbc6=_0x3a7c5d;if(_0x2d0aa2['emit'](_0x9ccbc6(0x254),_0x237f22),_0x2d0aa2[_0x9ccbc6(0x1d0)]!==_0x2611e1['CONNECTING'])return;_0x3f3c81=_0x2d0aa2['_req']=null;const _0x755244=_0x237f22[_0x9ccbc6(0x1e4)]['upgrade'];if(_0x755244===void 0x0||_0x755244[_0x9ccbc6(0x24a)]()!==_0x9ccbc6(0x11d)){_0x120341(_0x2d0aa2,_0x51702f,_0x9ccbc6(0x226));return;}const _0xf8dba4=_0x4f2ded(_0x9ccbc6(0x100))[_0x9ccbc6(0x207)](_0x5f1eeb+_0x27c013)[_0x9ccbc6(0x1f9)]('base64');if(_0x237f22[_0x9ccbc6(0x1e4)][_0x9ccbc6(0x28b)]!==_0xf8dba4){_0x120341(_0x2d0aa2,_0x51702f,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4cb97b=_0x237f22[_0x9ccbc6(0x1e4)][_0x9ccbc6(0x247)];let _0x4984ea;if(_0x4cb97b!==void 0x0?_0x53cac0[_0x9ccbc6(0x115)]?_0x53cac0[_0x9ccbc6(0x156)](_0x4cb97b)||(_0x4984ea=_0x9ccbc6(0x242)):_0x4984ea='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x53cac0[_0x9ccbc6(0x115)]&&(_0x4984ea=_0x9ccbc6(0xe1)),_0x4984ea){_0x120341(_0x2d0aa2,_0x51702f,_0x4984ea);return;}_0x4cb97b&&(_0x2d0aa2['_protocol']=_0x4cb97b);const _0x1f59b4=_0x237f22[_0x9ccbc6(0x1e4)][_0x9ccbc6(0x1af)];if(_0x1f59b4!==void 0x0){if(!_0x3e7f6f){_0x120341(_0x2d0aa2,_0x51702f,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x5022ef;try{_0x5022ef=_0x1d802d(_0x1f59b4);}catch{_0x120341(_0x2d0aa2,_0x51702f,_0x9ccbc6(0x22d));return;}const _0x11a228=Object[_0x9ccbc6(0x13e)](_0x5022ef);if(_0x11a228[_0x9ccbc6(0x278)]!==0x1||_0x11a228[0x0]!==_0x332d1f[_0x9ccbc6(0x2a4)]){_0x120341(_0x2d0aa2,_0x51702f,_0x9ccbc6(0x1f5));return;}try{_0x3e7f6f[_0x9ccbc6(0x125)](_0x5022ef[_0x332d1f[_0x9ccbc6(0x2a4)]]);}catch{_0x120341(_0x2d0aa2,_0x51702f,_0x9ccbc6(0x22d));return;}_0x2d0aa2[_0x9ccbc6(0x2ab)][_0x332d1f[_0x9ccbc6(0x2a4)]]=_0x3e7f6f;}_0x2d0aa2['setSocket'](_0x51702f,_0x8f1cb6,{'allowSynchronousEvents':_0x48da07[_0x9ccbc6(0x146)],'generateMask':_0x48da07[_0x9ccbc6(0x15c)],'maxPayload':_0x48da07[_0x9ccbc6(0x173)],'skipUTF8Validation':_0x48da07['skipUTF8Validation']});}),_0x48da07[_0x3a7c5d(0x1f4)]?_0x48da07[_0x3a7c5d(0x1f4)](_0x3f3c81,_0x2d0aa2):_0x3f3c81[_0x3a7c5d(0x16a)]();}function _0x782c36(_0x47587e,_0x93139c){const _0x15cbd5=_0x406707;_0x47587e[_0x15cbd5(0x202)]=_0x2611e1[_0x15cbd5(0x27a)],_0x47587e[_0x15cbd5(0x139)]=!0x0,_0x47587e[_0x15cbd5(0x2b8)](_0x15cbd5(0x264),_0x93139c),_0x47587e['emitClose']();}function _0x560d95(_0x5beca5){const _0x1e12ae=_0x406707;return _0x5beca5['path']=_0x5beca5['socketPath'],_0x261496[_0x1e12ae(0x1bb)](_0x5beca5);}function _0x48bdf7(_0x38d996){const _0xe79229=_0x406707;return _0x38d996[_0xe79229(0x27d)]=void 0x0,!_0x38d996[_0xe79229(0x1c6)]&&_0x38d996['servername']!==''&&(_0x38d996[_0xe79229(0x1c6)]=_0x261496[_0xe79229(0x1c4)](_0x38d996['host'])?'':_0x38d996[_0xe79229(0x2af)]),_0x316eee['connect'](_0x38d996);}function _0x120341(_0x3fd7b3,_0x445f7b,_0x5a1461){const _0xd9b078=_0x406707;_0x3fd7b3[_0xd9b078(0x202)]=_0x2611e1['CLOSING'];const _0x10eee6=new Error(_0x5a1461);Error[_0xd9b078(0x140)](_0x10eee6,_0x120341),_0x445f7b[_0xd9b078(0x191)]?(_0x445f7b[_0x32e938]=!0x0,_0x445f7b['abort'](),_0x445f7b[_0xd9b078(0x18c)]&&!_0x445f7b[_0xd9b078(0x18c)][_0xd9b078(0x222)]&&_0x445f7b[_0xd9b078(0x18c)][_0xd9b078(0x178)](),process[_0xd9b078(0x13d)](_0x782c36,_0x3fd7b3,_0x10eee6)):(_0x445f7b['destroy'](_0x10eee6),_0x445f7b[_0xd9b078(0x11e)](_0xd9b078(0x264),_0x3fd7b3[_0xd9b078(0x2b8)][_0xd9b078(0x1f1)](_0x3fd7b3,_0xd9b078(0x264))),_0x445f7b['once'](_0xd9b078(0x230),_0x3fd7b3[_0xd9b078(0x13c)][_0xd9b078(0x1f1)](_0x3fd7b3)));}function _0x2ebab0(_0xb336fc,_0x28035b,_0x37ba09){const _0x592685=_0x406707;if(_0x28035b){const _0x5bdef2=_0x861b88(_0x28035b)?_0x28035b[_0x592685(0x115)]:_0x367431(_0x28035b)['length'];_0xb336fc[_0x592685(0x260)]?_0xb336fc['_sender'][_0x592685(0x188)]+=_0x5bdef2:_0xb336fc[_0x592685(0x1ab)]+=_0x5bdef2;}if(_0x37ba09){const _0x29ed41=new Error(_0x592685(0x2a9)+_0xb336fc[_0x592685(0x1d0)]+'\x20('+_0x221841[_0xb336fc[_0x592685(0x1d0)]]+')');process[_0x592685(0x13d)](_0x37ba09,_0x29ed41);}}function _0x1b0174(_0x2bcdf3,_0x272233){const _0x11042e=_0x406707,_0xaa8acc=this[_0x5b8c60];_0xaa8acc[_0x11042e(0x276)]=!0x0,_0xaa8acc[_0x11042e(0x1dc)]=_0x272233,_0xaa8acc['_closeCode']=_0x2bcdf3,_0xaa8acc[_0x11042e(0x260)][_0x5b8c60]!==void 0x0&&(_0xaa8acc[_0x11042e(0x260)][_0x11042e(0x1c9)]('data',_0x17547f),process[_0x11042e(0x13d)](_0x1a7c2e,_0xaa8acc[_0x11042e(0x260)]),_0x2bcdf3===0x3ed?_0xaa8acc[_0x11042e(0x230)]():_0xaa8acc[_0x11042e(0x230)](_0x2bcdf3,_0x272233));}function _0x567dcc(){const _0x216fb8=_0x406707,_0x2c9ff8=this[_0x5b8c60];_0x2c9ff8[_0x216fb8(0xf8)]||_0x2c9ff8['_socket'][_0x216fb8(0x271)]();}function _0x430d04(_0x48f787){const _0x493a09=_0x406707,_0x28ce75=this[_0x5b8c60];_0x28ce75[_0x493a09(0x260)][_0x5b8c60]!==void 0x0&&(_0x28ce75[_0x493a09(0x260)][_0x493a09(0x1c9)](_0x493a09(0x166),_0x17547f),process['nextTick'](_0x1a7c2e,_0x28ce75[_0x493a09(0x260)]),_0x28ce75[_0x493a09(0x230)](_0x48f787[_0x4a3b6f])),_0x28ce75[_0x493a09(0x139)]||(_0x28ce75[_0x493a09(0x139)]=!0x0,_0x28ce75[_0x493a09(0x2b8)]('error',_0x48f787));}function _0x10d34d(){const _0x33a4d9=_0x406707;this[_0x5b8c60][_0x33a4d9(0x13c)]();}function _0x1a05af(_0x51c2a4,_0x72db61){const _0x41cfab=_0x406707;this[_0x5b8c60][_0x41cfab(0x2b8)](_0x41cfab(0x15a),_0x51c2a4,_0x72db61);}function _0x4c765f(_0x1a4a27){const _0x4a1a0e=_0x406707,_0x4142c8=this[_0x5b8c60];_0x4142c8[_0x4a1a0e(0x2ae)]&&_0x4142c8[_0x4a1a0e(0x2a7)](_0x1a4a27,!this[_0x4a1a0e(0x184)],_0xa4abe2),_0x4142c8[_0x4a1a0e(0x2b8)](_0x4a1a0e(0x2bb),_0x1a4a27);}function _0x4c2480(_0x281202){const _0x29ca9b=_0x406707;this[_0x5b8c60][_0x29ca9b(0x2b8)](_0x29ca9b(0x2a7),_0x281202);}function _0x1a7c2e(_0xfde8ea){_0xfde8ea['resume']();}function _0x164902(_0x588f39){const _0x21d350=_0x406707,_0x46fc58=this[_0x5b8c60];_0x46fc58['readyState']!==_0x2611e1[_0x21d350(0x29f)]&&(_0x46fc58[_0x21d350(0x1d0)]===_0x2611e1['OPEN']&&(_0x46fc58[_0x21d350(0x202)]=_0x2611e1[_0x21d350(0x27a)],_0x5c401b(_0x46fc58)),this[_0x21d350(0x260)][_0x21d350(0x16a)](),_0x46fc58['_errorEmitted']||(_0x46fc58[_0x21d350(0x139)]=!0x0,_0x46fc58['emit'](_0x21d350(0x264),_0x588f39)));}function _0x5c401b(_0x144ca0){const _0x2944d8=_0x406707;_0x144ca0['_closeTimer']=setTimeout(_0x144ca0[_0x2944d8(0x260)][_0x2944d8(0x178)]['bind'](_0x144ca0[_0x2944d8(0x260)]),_0x5b4a1e);}function _0x308197(){const _0x453404=_0x406707,_0x53969b=this[_0x5b8c60];this[_0x453404(0x1c9)](_0x453404(0x230),_0x308197),this[_0x453404(0x1c9)]('data',_0x17547f),this[_0x453404(0x1c9)](_0x453404(0x16a),_0x2df493),_0x53969b['_readyState']=_0x2611e1[_0x453404(0x27a)];let _0x52eba4;!this['_readableState'][_0x453404(0xf3)]&&!_0x53969b['_closeFrameReceived']&&!_0x53969b[_0x453404(0x12c)][_0x453404(0x114)]['errorEmitted']&&(_0x52eba4=_0x53969b[_0x453404(0x260)][_0x453404(0x2b9)]())!==null&&_0x53969b[_0x453404(0x12c)][_0x453404(0xf4)](_0x52eba4),_0x53969b['_receiver'][_0x453404(0x16a)](),this[_0x5b8c60]=void 0x0,clearTimeout(_0x53969b[_0x453404(0x135)]),_0x53969b['_receiver'][_0x453404(0x114)]['finished']||_0x53969b['_receiver'][_0x453404(0x114)][_0x453404(0x174)]?_0x53969b['emitClose']():(_0x53969b[_0x453404(0x12c)]['on']('error',_0x10d34d),_0x53969b[_0x453404(0x12c)]['on']('finish',_0x10d34d));}function _0x17547f(_0x14ea60){const _0x57e44c=_0x406707;this[_0x5b8c60][_0x57e44c(0x12c)][_0x57e44c(0xf4)](_0x14ea60)||this['pause']();}function _0x2df493(){const _0x2bfa67=_0x406707,_0x4dc7f0=this[_0x5b8c60];_0x4dc7f0['_readyState']=_0x2611e1[_0x2bfa67(0x27a)],_0x4dc7f0[_0x2bfa67(0x12c)][_0x2bfa67(0x16a)](),this[_0x2bfa67(0x16a)]();}function _0x562aef(){const _0x13ab3d=_0x406707,_0x2a4a63=this[_0x5b8c60];this['removeListener']('error',_0x562aef),this['on'](_0x13ab3d(0x264),_0xa4abe2),_0x2a4a63&&(_0x2a4a63[_0x13ab3d(0x202)]=_0x2611e1[_0x13ab3d(0x27a)],this[_0x13ab3d(0x178)]());}return _0x405e85;}var _0x2edcb0,_0x197137;function _0x4ea83c(){if(_0x197137)return _0x2edcb0;_0x197137=0x1,_0x4f0110();const {Duplex:_0x47daee}=_0xf09357;function _0x5a72ee(_0x44a836){const _0x3b0765=_0xb06b;_0x44a836[_0x3b0765(0x2b8)](_0x3b0765(0x230));}function _0x419d55(){const _0x323a91=_0xb06b;!this[_0x323a91(0x222)]&&this[_0x323a91(0x114)][_0x323a91(0x1c0)]&&this[_0x323a91(0x178)]();}function _0x24efba(_0x19adf3){const _0x44790d=_0xb06b;this[_0x44790d(0x1c9)]('error',_0x24efba),this[_0x44790d(0x178)](),this[_0x44790d(0x10f)]('error')===0x0&&this[_0x44790d(0x2b8)]('error',_0x19adf3);}function _0x5e5bcb(_0x1bc5d6,_0x5e8132){const _0x22fba7=_0xb06b;let _0x496ef5=!0x0;const _0x53f2bf=new _0x47daee({..._0x5e8132,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1bc5d6['on'](_0x22fba7(0x15a),function(_0x1df275,_0x3f682c){const _0x5d0a20=_0x22fba7,_0x2dfb74=!_0x3f682c&&_0x53f2bf['_readableState'][_0x5d0a20(0xf2)]?_0x1df275[_0x5d0a20(0x170)]():_0x1df275;_0x53f2bf[_0x5d0a20(0x19d)](_0x2dfb74)||_0x1bc5d6[_0x5d0a20(0x19b)]();}),_0x1bc5d6['once'](_0x22fba7(0x264),function(_0x2afb15){const _0x571106=_0x22fba7;_0x53f2bf[_0x571106(0x222)]||(_0x496ef5=!0x1,_0x53f2bf[_0x571106(0x178)](_0x2afb15));}),_0x1bc5d6['once'](_0x22fba7(0x230),function(){const _0x5e000b=_0x22fba7;_0x53f2bf[_0x5e000b(0x222)]||_0x53f2bf['push'](null);}),_0x53f2bf[_0x22fba7(0x1b1)]=function(_0x379bf5,_0x203052){const _0x5c3ceb=_0x22fba7;if(_0x1bc5d6[_0x5c3ceb(0x1d0)]===_0x1bc5d6[_0x5c3ceb(0x29f)]){_0x203052(_0x379bf5),process[_0x5c3ceb(0x13d)](_0x5a72ee,_0x53f2bf);return;}let _0x3b7680=!0x1;_0x1bc5d6['once'](_0x5c3ceb(0x264),function(_0x227b5f){_0x3b7680=!0x0,_0x203052(_0x227b5f);}),_0x1bc5d6[_0x5c3ceb(0x11e)](_0x5c3ceb(0x230),function(){const _0xc6952=_0x5c3ceb;_0x3b7680||_0x203052(_0x379bf5),process[_0xc6952(0x13d)](_0x5a72ee,_0x53f2bf);}),_0x496ef5&&_0x1bc5d6[_0x5c3ceb(0x253)]();},_0x53f2bf[_0x22fba7(0x1eb)]=function(_0x21c98d){const _0x6f19d1=_0x22fba7;if(_0x1bc5d6[_0x6f19d1(0x1d0)]===_0x1bc5d6['CONNECTING']){_0x1bc5d6[_0x6f19d1(0x11e)]('open',function(){const _0x4cb5e1=_0x6f19d1;_0x53f2bf[_0x4cb5e1(0x1eb)](_0x21c98d);});return;}_0x1bc5d6[_0x6f19d1(0x260)]!==null&&(_0x1bc5d6[_0x6f19d1(0x260)][_0x6f19d1(0x114)][_0x6f19d1(0x1c0)]?(_0x21c98d(),_0x53f2bf[_0x6f19d1(0x200)][_0x6f19d1(0xf3)]&&_0x53f2bf[_0x6f19d1(0x178)]()):(_0x1bc5d6[_0x6f19d1(0x260)][_0x6f19d1(0x11e)](_0x6f19d1(0xfb),function(){_0x21c98d();}),_0x1bc5d6['close']()));},_0x53f2bf[_0x22fba7(0x227)]=function(){const _0x5474a5=_0x22fba7;_0x1bc5d6[_0x5474a5(0xf8)]&&_0x1bc5d6[_0x5474a5(0x271)]();},_0x53f2bf[_0x22fba7(0x180)]=function(_0x55d4e5,_0x461c3e,_0x431c4d){const _0x3d54ef=_0x22fba7;if(_0x1bc5d6[_0x3d54ef(0x1d0)]===_0x1bc5d6[_0x3d54ef(0x1d5)]){_0x1bc5d6[_0x3d54ef(0x11e)](_0x3d54ef(0x220),function(){const _0x5265f4=_0x3d54ef;_0x53f2bf[_0x5265f4(0x180)](_0x55d4e5,_0x461c3e,_0x431c4d);});return;}_0x1bc5d6[_0x3d54ef(0x17f)](_0x55d4e5,_0x431c4d);},_0x53f2bf['on']('end',_0x419d55),_0x53f2bf['on'](_0x22fba7(0x264),_0x24efba),_0x53f2bf;}return _0x2edcb0=_0x5e5bcb,_0x2edcb0;}_0x4ea83c(),_0x35c54d(),_0x225503();var _0x5e45cf=_0x4f0110();const _0x19de55=_0x5d8feb(_0x5e45cf);var _0x3e69ec,_0x6bca4;function _0x49f8f0(){if(_0x6bca4)return _0x3e69ec;_0x6bca4=0x1;const {tokenChars:_0x32dd6d}=_0x5a998e();function _0x6248d4(_0x327ebb){const _0x3bb80d=_0xb06b,_0x1b2c16=new Set();let _0x32f54d=-0x1,_0x2d144b=-0x1,_0x311767=0x0;for(_0x311767;_0x311767<_0x327ebb['length'];_0x311767++){const _0x4dd021=_0x327ebb[_0x3bb80d(0x277)](_0x311767);if(_0x2d144b===-0x1&&_0x32dd6d[_0x4dd021]===0x1)_0x32f54d===-0x1&&(_0x32f54d=_0x311767);else{if(_0x311767!==0x0&&(_0x4dd021===0x20||_0x4dd021===0x9))_0x2d144b===-0x1&&_0x32f54d!==-0x1&&(_0x2d144b=_0x311767);else{if(_0x4dd021===0x2c){if(_0x32f54d===-0x1)throw new SyntaxError(_0x3bb80d(0x219)+_0x311767);_0x2d144b===-0x1&&(_0x2d144b=_0x311767);const _0x427013=_0x327ebb[_0x3bb80d(0x194)](_0x32f54d,_0x2d144b);if(_0x1b2c16['has'](_0x427013))throw new SyntaxError(_0x3bb80d(0x1ac)+_0x427013+_0x3bb80d(0xe4));_0x1b2c16[_0x3bb80d(0x205)](_0x427013),_0x32f54d=_0x2d144b=-0x1;}else throw new SyntaxError(_0x3bb80d(0x219)+_0x311767);}}}if(_0x32f54d===-0x1||_0x2d144b!==-0x1)throw new SyntaxError(_0x3bb80d(0x22c));const _0x4d31d3=_0x327ebb[_0x3bb80d(0x194)](_0x32f54d,_0x311767);if(_0x1b2c16[_0x3bb80d(0x156)](_0x4d31d3))throw new SyntaxError(_0x3bb80d(0x1ac)+_0x4d31d3+_0x3bb80d(0xe4));return _0x1b2c16['add'](_0x4d31d3),_0x1b2c16;}return _0x3e69ec={'parse':_0x6248d4},_0x3e69ec;}var _0x40ff93,_0x269876;function _0x19cd4c(){const _0x13c00b=_0x47617f;if(_0x269876)return _0x40ff93;_0x269876=0x1;const _0x10157f=_0x34ff39,_0x494260=_0x426f21,{Duplex:_0xbe2beb}=_0xf09357,{createHash:_0x3d3766}=_0x3c4d65,_0x12a1b5=_0x396ccb(),_0x1fcd32=_0x2a73b6(),_0x54f69c=_0x49f8f0(),_0x4d58b9=_0x4f0110(),{GUID:_0x28aa85,kWebSocket:_0x532c4e}=_0x1510a1(),_0x1f1e1=/^[+/0-9A-Za-z]{22}==$/,_0x281453=0x0,_0x39c796=0x1,_0x5bb887=0x2;class _0x2191d3 extends _0x10157f{constructor(_0x5835ba,_0x219308){const _0x15a853=_0xb06b;if(super(),_0x5835ba={'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':_0x4d58b9,..._0x5835ba},_0x5835ba[_0x15a853(0x208)]==null&&!_0x5835ba[_0x15a853(0x279)]&&!_0x5835ba[_0x15a853(0x20d)]||_0x5835ba[_0x15a853(0x208)]!=null&&(_0x5835ba[_0x15a853(0x279)]||_0x5835ba['noServer'])||_0x5835ba['server']&&_0x5835ba[_0x15a853(0x20d)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x5835ba['port']!=null?(this['_server']=_0x494260[_0x15a853(0x136)]((_0xe73727,_0xa733a8)=>{const _0x2cfee0=_0x15a853,_0x39181e=_0x494260[_0x2cfee0(0x1aa)][0x1aa];_0xa733a8['writeHead'](0x1aa,{'Content-Length':_0x39181e[_0x2cfee0(0x278)],'Content-Type':_0x2cfee0(0x1c1)}),_0xa733a8['end'](_0x39181e);}),this[_0x15a853(0x1a8)][_0x15a853(0x182)](_0x5835ba['port'],_0x5835ba[_0x15a853(0x2af)],_0x5835ba['backlog'],_0x219308)):_0x5835ba[_0x15a853(0x279)]&&(this[_0x15a853(0x1a8)]=_0x5835ba[_0x15a853(0x279)]),this[_0x15a853(0x1a8)]){const _0x534371=this[_0x15a853(0x2b8)][_0x15a853(0x1f1)](this,_0x15a853(0x177));this['_removeListeners']=_0x27dbd9(this['_server'],{'listening':this[_0x15a853(0x2b8)]['bind'](this,_0x15a853(0x1fb)),'error':this[_0x15a853(0x2b8)][_0x15a853(0x1f1)](this,_0x15a853(0x264)),'upgrade':(_0xa3b5b2,_0x2d6df5,_0x26a62b)=>{const _0x157e82=_0x15a853;this[_0x157e82(0x1e9)](_0xa3b5b2,_0x2d6df5,_0x26a62b,_0x534371);}});}_0x5835ba[_0x15a853(0x10e)]===!0x0&&(_0x5835ba[_0x15a853(0x10e)]={}),_0x5835ba[_0x15a853(0x29e)]&&(this[_0x15a853(0x241)]=new Set(),this[_0x15a853(0x1d3)]=!0x1),this['options']=_0x5835ba,this[_0x15a853(0x212)]=_0x281453;}[_0x13c00b(0x22b)](){const _0x28cac9=_0x13c00b;if(this[_0x28cac9(0x294)][_0x28cac9(0x20d)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x28cac9(0x1a8)][_0x28cac9(0x22b)]():null;}[_0x13c00b(0x230)](_0x3b9a54){const _0x5aab2b=_0x13c00b;if(this[_0x5aab2b(0x212)]===_0x5bb887){_0x3b9a54&&this[_0x5aab2b(0x11e)](_0x5aab2b(0x230),()=>{const _0x1fd547=_0x5aab2b;_0x3b9a54(new Error(_0x1fd547(0x231)));}),process[_0x5aab2b(0x13d)](_0x2cc6b0,this);return;}if(_0x3b9a54&&this['once']('close',_0x3b9a54),this[_0x5aab2b(0x212)]!==_0x39c796){if(this[_0x5aab2b(0x212)]=_0x39c796,this[_0x5aab2b(0x294)][_0x5aab2b(0x20d)]||this[_0x5aab2b(0x294)][_0x5aab2b(0x279)])this[_0x5aab2b(0x1a8)]&&(this['_removeListeners'](),this[_0x5aab2b(0x1fd)]=this[_0x5aab2b(0x1a8)]=null),this['clients']?this[_0x5aab2b(0x241)][_0x5aab2b(0x115)]?this[_0x5aab2b(0x1d3)]=!0x0:process[_0x5aab2b(0x13d)](_0x2cc6b0,this):process[_0x5aab2b(0x13d)](_0x2cc6b0,this);else{const _0x57bcb1=this[_0x5aab2b(0x1a8)];this['_removeListeners'](),this[_0x5aab2b(0x1fd)]=this[_0x5aab2b(0x1a8)]=null,_0x57bcb1['close'](()=>{_0x2cc6b0(this);});}}}[_0x13c00b(0x1be)](_0x1e56bd){const _0xdeb5ba=_0x13c00b;if(this[_0xdeb5ba(0x294)][_0xdeb5ba(0x27d)]){const _0xc92b8c=_0x1e56bd[_0xdeb5ba(0x261)][_0xdeb5ba(0x123)]('?');if((_0xc92b8c!==-0x1?_0x1e56bd['url'][_0xdeb5ba(0x194)](0x0,_0xc92b8c):_0x1e56bd[_0xdeb5ba(0x261)])!==this['options'][_0xdeb5ba(0x27d)])return!0x1;}return!0x0;}[_0x13c00b(0x1e9)](_0x16d0b5,_0x4ba532,_0x17afbd,_0x59bb36){const _0x213633=_0x13c00b;_0x4ba532['on'](_0x213633(0x264),_0x51a24e);const _0xe297ce=_0x16d0b5['headers']['sec-websocket-key'],_0x3c99ce=_0x16d0b5[_0x213633(0x1e4)][_0x213633(0x254)],_0x96ecf7=+_0x16d0b5['headers']['sec-websocket-version'];if(_0x16d0b5[_0x213633(0x163)]!=='GET'){_0x2a2249(this,_0x16d0b5,_0x4ba532,0x195,_0x213633(0x27e));return;}if(_0x3c99ce===void 0x0||_0x3c99ce[_0x213633(0x24a)]()!==_0x213633(0x11d)){_0x2a2249(this,_0x16d0b5,_0x4ba532,0x190,_0x213633(0x226));return;}if(_0xe297ce===void 0x0||!_0x1f1e1['test'](_0xe297ce)){_0x2a2249(this,_0x16d0b5,_0x4ba532,0x190,_0x213633(0x255));return;}if(_0x96ecf7!==0x8&&_0x96ecf7!==0xd){_0x2a2249(this,_0x16d0b5,_0x4ba532,0x190,_0x213633(0x162));return;}if(!this['shouldHandle'](_0x16d0b5)){_0x5ad24b(_0x4ba532,0x190);return;}const _0x509e10=_0x16d0b5[_0x213633(0x1e4)]['sec-websocket-protocol'];let _0x4baf86=new Set();if(_0x509e10!==void 0x0)try{_0x4baf86=_0x54f69c[_0x213633(0x223)](_0x509e10);}catch{_0x2a2249(this,_0x16d0b5,_0x4ba532,0x190,_0x213633(0x21d));return;}const _0x49ecb1=_0x16d0b5[_0x213633(0x1e4)]['sec-websocket-extensions'],_0x323812={};if(this[_0x213633(0x294)][_0x213633(0x10e)]&&_0x49ecb1!==void 0x0){const _0x2732a8=new _0x1fcd32(this['options']['perMessageDeflate'],!0x0,this[_0x213633(0x294)]['maxPayload']);try{const _0x3be9c9=_0x12a1b5[_0x213633(0x223)](_0x49ecb1);_0x3be9c9[_0x1fcd32[_0x213633(0x2a4)]]&&(_0x2732a8[_0x213633(0x125)](_0x3be9c9[_0x1fcd32[_0x213633(0x2a4)]]),_0x323812[_0x1fcd32[_0x213633(0x2a4)]]=_0x2732a8);}catch{_0x2a2249(this,_0x16d0b5,_0x4ba532,0x190,_0x213633(0x1c7));return;}}if(this[_0x213633(0x294)]['verifyClient']){const _0x1da171={'origin':_0x16d0b5['headers'][''+(_0x96ecf7===0x8?_0x213633(0x197):_0x213633(0x249))],'secure':!!(_0x16d0b5[_0x213633(0x18c)][_0x213633(0x12d)]||_0x16d0b5['socket'][_0x213633(0x15d)]),'req':_0x16d0b5};if(this[_0x213633(0x294)][_0x213633(0x203)]['length']===0x2){this['options'][_0x213633(0x203)](_0x1da171,(_0x4b8af1,_0x538a9c,_0x543985,_0x4f2d54)=>{const _0x2673d2=_0x213633;if(!_0x4b8af1)return _0x5ad24b(_0x4ba532,_0x538a9c||0x191,_0x543985,_0x4f2d54);this[_0x2673d2(0x117)](_0x323812,_0xe297ce,_0x4baf86,_0x16d0b5,_0x4ba532,_0x17afbd,_0x59bb36);});return;}if(!this[_0x213633(0x294)]['verifyClient'](_0x1da171))return _0x5ad24b(_0x4ba532,0x191);}this[_0x213633(0x117)](_0x323812,_0xe297ce,_0x4baf86,_0x16d0b5,_0x4ba532,_0x17afbd,_0x59bb36);}[_0x13c00b(0x117)](_0x270cbf,_0x48b035,_0x22a759,_0x44decc,_0x194f30,_0x2663bb,_0x669775){const _0x48f68d=_0x13c00b;if(!_0x194f30[_0x48f68d(0x259)]||!_0x194f30[_0x48f68d(0x28a)])return _0x194f30[_0x48f68d(0x178)]();if(_0x194f30[_0x532c4e])throw new Error(_0x48f68d(0x190));if(this[_0x48f68d(0x212)]>_0x281453)return _0x5ad24b(_0x194f30,0x1f7);const _0x14db14=[_0x48f68d(0x292),'Upgrade:\x20websocket',_0x48f68d(0x29d),_0x48f68d(0x23d)+_0x3d3766(_0x48f68d(0x100))[_0x48f68d(0x207)](_0x48b035+_0x28aa85)[_0x48f68d(0x1f9)](_0x48f68d(0x262))],_0x1ac85e=new this[(_0x48f68d(0x294))][(_0x48f68d(0x18a))](null,void 0x0,this['options']);if(_0x22a759[_0x48f68d(0x115)]){const _0x3d45c3=this[_0x48f68d(0x294)][_0x48f68d(0x13b)]?this['options'][_0x48f68d(0x13b)](_0x22a759,_0x44decc):_0x22a759[_0x48f68d(0x106)]()[_0x48f68d(0x245)]()['value'];_0x3d45c3&&(_0x14db14[_0x48f68d(0x19d)](_0x48f68d(0x25f)+_0x3d45c3),_0x1ac85e['_protocol']=_0x3d45c3);}if(_0x270cbf[_0x1fcd32['extensionName']]){const _0x5a8f2d=_0x270cbf[_0x1fcd32[_0x48f68d(0x2a4)]][_0x48f68d(0x1a3)],_0x4b2cb5=_0x12a1b5[_0x48f68d(0x27c)]({[_0x1fcd32[_0x48f68d(0x2a4)]]:[_0x5a8f2d]});_0x14db14[_0x48f68d(0x19d)](_0x48f68d(0x291)+_0x4b2cb5),_0x1ac85e[_0x48f68d(0x2ab)]=_0x270cbf;}this[_0x48f68d(0x2b8)]('headers',_0x14db14,_0x44decc),_0x194f30[_0x48f68d(0xf4)](_0x14db14[_0x48f68d(0x1ca)]('\x0d\x0a')[_0x48f68d(0x295)]('\x0d\x0a')),_0x194f30['removeListener'](_0x48f68d(0x264),_0x51a24e),_0x1ac85e[_0x48f68d(0x250)](_0x194f30,_0x2663bb,{'allowSynchronousEvents':this[_0x48f68d(0x294)][_0x48f68d(0x146)],'maxPayload':this[_0x48f68d(0x294)][_0x48f68d(0x173)],'skipUTF8Validation':this[_0x48f68d(0x294)][_0x48f68d(0x19a)]}),this[_0x48f68d(0x241)]&&(this[_0x48f68d(0x241)][_0x48f68d(0x205)](_0x1ac85e),_0x1ac85e['on'](_0x48f68d(0x230),()=>{const _0x1ca642=_0x48f68d;this[_0x1ca642(0x241)][_0x1ca642(0x16c)](_0x1ac85e),this[_0x1ca642(0x1d3)]&&!this[_0x1ca642(0x241)]['size']&&process[_0x1ca642(0x13d)](_0x2cc6b0,this);})),_0x669775(_0x1ac85e,_0x44decc);}}_0x40ff93=_0x2191d3;function _0x27dbd9(_0x246f3f,_0x58712c){const _0x522d92=_0x13c00b;for(const _0x1756fa of Object[_0x522d92(0x13e)](_0x58712c))_0x246f3f['on'](_0x1756fa,_0x58712c[_0x1756fa]);return function(){const _0x169480=_0x522d92;for(const _0x45e088 of Object[_0x169480(0x13e)](_0x58712c))_0x246f3f[_0x169480(0x1c9)](_0x45e088,_0x58712c[_0x45e088]);};}function _0x2cc6b0(_0x5737ae){const _0x1a2536=_0x13c00b;_0x5737ae[_0x1a2536(0x212)]=_0x5bb887,_0x5737ae[_0x1a2536(0x2b8)]('close');}function _0x51a24e(){const _0x398d9f=_0x13c00b;this[_0x398d9f(0x178)]();}function _0x5ad24b(_0x2e6c52,_0x21d665,_0x5d232d,_0x43954c){const _0x33a5a0=_0x13c00b;_0x5d232d=_0x5d232d||_0x494260[_0x33a5a0(0x1aa)][_0x21d665],_0x43954c={'Connection':_0x33a5a0(0x230),'Content-Type':_0x33a5a0(0x1b6),'Content-Length':Buffer[_0x33a5a0(0x16f)](_0x5d232d),..._0x43954c},_0x2e6c52[_0x33a5a0(0x11e)](_0x33a5a0(0xfb),_0x2e6c52[_0x33a5a0(0x178)]),_0x2e6c52[_0x33a5a0(0x16a)](_0x33a5a0(0x2b5)+_0x21d665+'\x20'+_0x494260[_0x33a5a0(0x1aa)][_0x21d665]+'\x0d\x0a'+Object[_0x33a5a0(0x13e)](_0x43954c)[_0x33a5a0(0x13f)](_0x4a6c00=>_0x4a6c00+':\x20'+_0x43954c[_0x4a6c00])[_0x33a5a0(0x295)]('\x0d\x0a')+_0x33a5a0(0x2aa)+_0x5d232d);}function _0x2a2249(_0x1d38b1,_0x257edb,_0x369eb4,_0xdf736,_0x4bff87){const _0x14759b=_0x13c00b;if(_0x1d38b1[_0x14759b(0x10f)](_0x14759b(0x1ad))){const _0x574d16=new Error(_0x4bff87);Error['captureStackTrace'](_0x574d16,_0x2a2249),_0x1d38b1['emit'](_0x14759b(0x1ad),_0x574d16,_0x369eb4,_0x257edb);}else _0x5ad24b(_0x369eb4,_0xdf736,_0x4bff87);}return _0x40ff93;}_0x19cd4c();var _0x17355e=Object['getOwnPropertyDescriptor'],_0x310b51=(_0x542603,_0x1e957a,_0x327db6,_0x51aa64)=>{for(var _0x200fdd=_0x51aa64>0x1?void 0x0:_0x51aa64?_0x17355e(_0x1e957a,_0x327db6):_0x1e957a,_0x3c7937=_0x542603['length']-0x1,_0x2f87e9;_0x3c7937>=0x0;_0x3c7937--)(_0x2f87e9=_0x542603[_0x3c7937])&&(_0x200fdd=_0x2f87e9(_0x200fdd)||_0x200fdd);return _0x200fdd;},_0x5e07b6=(_0x5ecbfe,_0x804ee4)=>(_0x1312af,_0x4d7086)=>_0x804ee4(_0x1312af,_0x4d7086,_0x5ecbfe);let _0x3158e4=class extends _0x3c1dc5['Disposable']{constructor(_0x3ae7f7){const _0x2afda3=_0x47617f;super(),this[_0x2afda3(0x137)]=_0x3ae7f7;}[_0x47617f(0xf6)](_0x18304c){const _0x400463=_0x47617f;var _0x45c4a7;const _0x1871de=(_0x45c4a7=this['_configService'][_0x400463(0x2a0)](_0x3ace37))==null?void 0x0:_0x45c4a7[_0x400463(0x1e8)];try{const _0xf28e06=new _0x19de55(_0x18304c,{'headers':{..._0x1871de}}),_0x2d3458=new _0x3c1dc5[(_0x400463(0x14c))]();return{'URL':_0x18304c,'close':(_0x2f3754,_0x6fc776)=>{const _0x231007=_0x400463;_0xf28e06[_0x231007(0x230)](_0x2f3754,_0x6fc776),_0x2d3458[_0x231007(0x251)]();},'send':_0x30b28c=>{const _0x313d9a=_0x400463;_0xf28e06[_0x313d9a(0x17f)](_0x30b28c);},'open$':new _0xb7c316[(_0x400463(0xed))](_0x9c456c=>{const _0x26c3d8=_0x400463,_0xcbec6d=_0x1ec654=>_0x9c456c[_0x26c3d8(0x245)](_0x1ec654);_0xf28e06[_0x26c3d8(0x17a)](_0x26c3d8(0x220),_0xcbec6d),_0x2d3458['add'](_0x3c1dc5['toDisposable'](()=>_0xf28e06['removeEventListener'](_0x26c3d8(0x220),_0xcbec6d)));})['pipe'](_0xb7c316[_0x400463(0x211)]()),'close$':new _0xb7c316['Observable'](_0x18ae37=>{const _0x3287a4=_0x400463,_0x32acfb=_0x1754dc=>_0x18ae37[_0x3287a4(0x245)](_0x1754dc);_0xf28e06['addEventListener']('close',_0x32acfb),_0x2d3458[_0x3287a4(0x205)](_0x3c1dc5['toDisposable'](()=>_0xf28e06['removeEventListener'](_0x3287a4(0x230),_0x32acfb)));})[_0x400463(0x25c)](_0xb7c316[_0x400463(0x211)]()),'error$':new _0xb7c316['Observable'](_0x5034d8=>{const _0x180dfa=_0x400463,_0x3c8cbf=_0x21968a=>_0x5034d8[_0x180dfa(0x245)](_0x21968a);_0xf28e06[_0x180dfa(0x17a)](_0x180dfa(0x264),_0x3c8cbf),_0x2d3458[_0x180dfa(0x205)](_0x3c1dc5[_0x180dfa(0x183)](()=>_0xf28e06[_0x180dfa(0x19c)](_0x180dfa(0x264),_0x3c8cbf)));})[_0x400463(0x25c)](_0xb7c316[_0x400463(0x211)]()),'message$':new _0xb7c316[(_0x400463(0xed))](_0x577f52=>{const _0x5f54d1=_0x400463,_0x254dac=_0x18c41f=>_0x577f52[_0x5f54d1(0x245)](_0x18c41f);_0xf28e06['addEventListener'](_0x5f54d1(0x15a),_0x254dac),_0x2d3458[_0x5f54d1(0x205)](_0x3c1dc5[_0x5f54d1(0x183)](()=>_0xf28e06['removeEventListener']('message',_0x254dac)));})['pipe'](_0xb7c316['share']())};}catch(_0x31a140){return console['error'](_0x31a140),null;}}};_0x3158e4=_0x310b51([_0x5e07b6(0x0,_0x3c1dc5[_0x47617f(0x12a)])],_0x3158e4);var _0xf9457f=Object[_0x47617f(0x18d)],_0x1e3aa1=Object['getOwnPropertyDescriptor'],_0x569e21=(_0x40bf04,_0x574acd,_0x28c634)=>_0x574acd in _0x40bf04?_0xf9457f(_0x40bf04,_0x574acd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28c634}):_0x40bf04[_0x574acd]=_0x28c634,_0x1fa944=(_0x3aa06b,_0x1458f0,_0x4ec688,_0x40485f)=>{const _0x35362e=_0x47617f;for(var _0x530d92=_0x40485f>0x1?void 0x0:_0x40485f?_0x1e3aa1(_0x1458f0,_0x4ec688):_0x1458f0,_0x270d8a=_0x3aa06b[_0x35362e(0x278)]-0x1,_0x21da7e;_0x270d8a>=0x0;_0x270d8a--)(_0x21da7e=_0x3aa06b[_0x270d8a])&&(_0x530d92=_0x21da7e(_0x530d92)||_0x530d92);return _0x530d92;},_0x3671d4=(_0x45d173,_0x175a81)=>(_0x1efd6b,_0xb35fcd)=>_0x175a81(_0x1efd6b,_0xb35fcd,_0x45d173),_0x11af50=(_0x40248b,_0x4545b9,_0x4db887)=>_0x569e21(_0x40248b,_0x4545b9+'',_0x4db887);_0x37d3dc[_0x47617f(0xeb)]=class extends _0x3c1dc5[_0x47617f(0x11a)]{constructor(_0x3af870=_0x10db50,_0x2de0d1,_0x14147c,_0xdee4a3){const _0x1e9a14=_0x47617f;_0x3af870[_0x1e9a14(0x1e8)]||_0x2de0d1['warn'](_0x1e9a14(0x239)),super(),this[_0x1e9a14(0x137)]=_0x14147c,this['_injector']=_0xdee4a3,this[_0x1e9a14(0x137)][_0x1e9a14(0x160)](_0x3ace37,_0x3af870);}[_0x47617f(0x24f)](){const _0x57e458=_0x47617f;this[_0x57e458(0x25a)]();}[_0x47617f(0x25a)](){const _0x3d5f42=_0x47617f;_0x3c1dc5[_0x3d5f42(0x19f)](this['_injector'],[[_0x330cce[_0x3d5f42(0x1a1)],{'useClass':_0x3158e4}]]);}},_0x11af50(_0x37d3dc['UniverCollaborationClientNodePlugin'],_0x47617f(0x2a2),_0x47617f(0x133)),_0x37d3dc[_0x47617f(0xeb)]=_0x1fa944([_0x3c1dc5[_0x47617f(0x1ee)](_0x187974['UniverCollaborationClientPlugin']),_0x3671d4(0x1,_0x3c1dc5[_0x47617f(0x281)]),_0x3671d4(0x2,_0x3c1dc5[_0x47617f(0x12a)]),_0x3671d4(0x3,_0x3c1dc5[_0x47617f(0x209)](_0x3c1dc5[_0x47617f(0x1fe)]))],_0x37d3dc['UniverCollaborationClientNodePlugin']);var _0x4fa098=Object['getOwnPropertyDescriptor'],_0x278120=(_0x5200c0,_0x244e74,_0x2edcdf,_0x2a5daa)=>{for(var _0x1fba3e=_0x2a5daa>0x1?void 0x0:_0x2a5daa?_0x4fa098(_0x244e74,_0x2edcdf):_0x244e74,_0x1b1795=_0x5200c0['length']-0x1,_0x46750a;_0x1b1795>=0x0;_0x1b1795--)(_0x46750a=_0x5200c0[_0x1b1795])&&(_0x1fba3e=_0x46750a(_0x1fba3e)||_0x1fba3e);return _0x1fba3e;},_0x4ec955=(_0x571cc3,_0x3f81ab)=>(_0x37ca39,_0xdbd923)=>_0x3f81ab(_0x37ca39,_0xdbd923,_0x571cc3);_0x37d3dc[_0x47617f(0x122)]=class extends _0x187974['CollaborationSocketService']{constructor(_0x212120,_0x3c28f9,_0xde4420,_0x52c42a,_0x4cfd51){const _0x5a9c3d=_0x47617f;super(_0x212120,_0x3c28f9,_0xde4420,_0x52c42a,_0x4cfd51);const _0x1c3181=this[_0x5a9c3d(0x137)][_0x5a9c3d(0x2a0)](_0x3ace37);this[_0x5a9c3d(0x167)][_0x5a9c3d(0x2a6)]({'interceptor':(_0x3166c3,_0xb37523)=>{const _0x326c8f=_0x5a9c3d;var _0x55045b;const _0x27b097=_0x3166c3[_0x326c8f(0x1e4)];return(_0x55045b=_0x1c3181==null?void 0x0:_0x1c3181[_0x326c8f(0x1e8)])!=null&&_0x55045b[_0x326c8f(0x1a9)]&&_0x27b097[_0x326c8f(0x1ed)]('Cookie',_0x1c3181[_0x326c8f(0x1e8)]['cookie']),_0xb37523(_0x3166c3);}});}async[_0x47617f(0xf6)](_0x215351){return this['_doCreateSocket'](_0x215351);}},_0x37d3dc['NodeCollaborationSocketService']=_0x278120([_0x4ec955(0x0,_0x3c1dc5[_0x47617f(0x209)](_0x3c1dc5['Injector'])),_0x4ec955(0x1,_0x3c1dc5[_0x47617f(0x209)](_0x330cce[_0x47617f(0x1cb)])),_0x4ec955(0x2,_0x3c1dc5[_0x47617f(0x12a)]),_0x4ec955(0x3,_0x3c1dc5[_0x47617f(0x281)]),_0x4ec955(0x4,_0xc968ef[_0x47617f(0x214)])],_0x37d3dc['NodeCollaborationSocketService']),_0x37d3dc['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=_0x3ace37,Object['defineProperty'](_0x37d3dc,Symbol[_0x47617f(0x27f)],{'value':_0x47617f(0x12f)});}));function _0xb06b(_0x5c43d1,_0x597719){const _0x1e2b51=_0x1e2b();return _0xb06b=function(_0xb06bb2,_0x3615d5){_0xb06bb2=_0xb06bb2-0xe0;let _0x2b465e=_0x1e2b51[_0xb06bb2];return _0x2b465e;},_0xb06b(_0x5c43d1,_0x597719);}function _0x1e2b(){const _0xf02398=['NodeCollaborationSocketService','indexOf','string','accept','handshakeTimeout','Sec-WebSocket-Protocol','location','readUInt32BE','IConfigService','tls','_receiver','authorized','Invalid\x20URL:\x20','Module','species','collaboration-client-node.config','kReason','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','code','_closeTimer','createServer','_configService','4840767BeZhrU','_errorEmitted','compress','handleProtocols','emitClose','nextTick','keys','map','captureStackTrace','pow','kDone','call','_fin','rxjs','allowSynchronousEvents','_firstFragment','kTarget','permessage-deflate','decompress','https','DisposableCollection','hostname','onclose','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','removeAllListeners','Unknown\x20parameter\x20\x22','_req','Invalid\x20value\x20for\x20parameter\x20\x22','redirect','authorization','has','_skipUTF8Validation','forEach','UniverProCollaborationClient','message','shift','generateMask','encrypted','MASK\x20must\x20be\x20clear','jobs','setConfig','kError','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','method','normalizeParams','_options','data','_httpService','drain','replace','end','target','delete','invalid\x20opcode\x20','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','byteLength','toString','opcode','binaryType','maxPayload','errorEmitted','extensions','22OrXFUT','connection','destroy','_totalPayloadLength','addEventListener','_compressed','isView','OPEN','kType','send','_write','writeUInt16BE','listen','toDisposable','_isServer','dispatch','isInteger','dataMessage','_bufferedBytes','mask','WebSocket','onmessage','socket','defineProperty','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','object','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','setHeader','constructor','\x22\x20must\x20have\x20only\x20a\x20single\x20value','slice','password','9206928eIdLNJ','sec-websocket-origin','_mask','writeUIntBE','skipUTF8Validation','pause','removeEventListener','push','maxRedirects','registerDependencies','stream','ISocketService','onopen','params','_payloadLength','_masked','4548JtNMGM','pending','_server','cookie','STATUS_CODES','_bufferedAmount','The\x20\x22','wsClientError','buffers','sec-websocket-extensions','client','_destroy','abort','nodebuffer','kMessage','reset','text/html','default','Max\x20payload\x20size\x20exceeded','kByteLength','kListener','connect','binary','href','shouldHandle','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','finished','text/plain','callback','require$$1$1','isIP','protocol','servername','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','require$$2$1','removeListener','concat','HTTPService','isArray','Parameter\x20\x22','byteOffset','get','readyState','_inflate','_url','_shouldEmitClose','split','CONNECTING','_originalSecure','find','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','threshold','startsWith','UniverNetwork','_closeMessage','_maskBuffer','net','_fragmented','getPayloadLength64','maskBuffer','arrayBuffer','WS_ERR_EXPECTED_MASK','headers','WS_NO_BUFFER_UTIL','events','wss:','customHeaders','handleUpgrade','Invalid\x20WebSocket\x20frame:\x20','_final','alloc','set','DependentOn','_no_context_takeover','zlib','bind','@univerjs/core','_sender','finishRequest','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','bufferedAmount','Maximum\x20redirects\x20exceeded','haveLength','digest','prototype','listening','rsv1','_removeListeners','Injector','autoPong','_readableState','readOnly','_readyState','verifyClient','search','add','hash','update','port','Inject','invalid\x20opcode\x200','zlibInflateOptions','_originalIpc','noServer','Sec-WebSocket-Origin','_closeCode','startLoop','share','_state','client_max_window_bits','ISnapshotServerService','2311npHsKY','GET','require$$0$2','ws+unix:','Unexpected\x20character\x20at\x20index\x20','setNoDelay','blob','unexpected-response','Invalid\x20Sec-WebSocket-Protocol\x20header','defaultPort','wasClean','open','1024340mbOOiF','destroyed','parse','_buffers','getBlobData','Invalid\x20Upgrade\x20header','_read','entries','timeout','function','address','Unexpected\x20end\x20of\x20input','Invalid\x20Sec-WebSocket-Extensions\x20header','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','create','close','The\x20server\x20is\x20not\x20running','_loop','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','buffer','apply','acceptAsClient','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','enqueue','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','createDeflateRaw','protocolVersion','from','Sec-WebSocket-Accept:\x20','142mlQcQp','Blob','username','clients','Server\x20sent\x20an\x20invalid\x20subprotocol','sendFrame','followRedirects','next','number','sec-websocket-protocol','readUInt16BE','origin','toLowerCase','arraybuffer','require$$0$1','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','clientNoContextTakeover','onStarting','setSocket','dispose','_decompress','terminate','upgrade','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','getPayloadLength16','freeze','_compress','readable','_registerDependencies','WS_ERR_UNEXPECTED_RSV_1','pipe','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Z_DEFAULT_WINDOWBITS','Sec-WebSocket-Protocol:\x20','_socket','url','base64','RSV1\x20must\x20be\x20clear','error','onerror','pathname','serverNoContextTakeover','uncork','concurrencyLimit','handleEvent','require$$3','acceptAsServer','_fragments','then','4ZtUwyy','http:','resume','amd','660801GDSuJb','env','The\x20URL\x27s\x20pathname\x20is\x20empty','_closeFrameReceived','charCodeAt','length','server','CLOSING','createError','format','path','Invalid\x20HTTP\x20method','toStringTag','2954TVoElY','ILogService','require$$0','@univerjs-pro/collaboration','listeners','concurrency','WS_NO_UTF_8_VALIDATE','invalid\x20UTF-8\x20sequence','invalid\x20status\x20code\x20','frame','writable','sec-websocket-accept','type','Unsupported\x20protocol\x20version:\x20','WS_ERR_INVALID_OPCODE','require$$0$3','kAborted','Sec-WebSocket-Extensions:\x20','HTTP/1.1\x20101\x20Switching\x20Protocols','consume','options','join','_maxPayload','_paused','flush','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','WS_ERR_INVALID_UTF8','_binaryType','getMask','Connection:\x20Upgrade','clientTracking','CLOSED','getConfig','_opcode','pluginName','cleanup','extensionName','WS_ERR_INVALID_CLOSE_CODE','registerHTTPInterceptor','pong','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WebSocket\x20is\x20not\x20open:\x20readyState\x20','\x0d\x0a\x0d\x0a','_extensions','require$$4','_messageLength','_autoPong','host','status-code','server_max_window_bits','unmask','_errored','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','HTTP/1.1\x20','reason','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','emit','read','conclude','ping','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Server\x20sent\x20no\x20subprotocol','catch','isBuffer','\x22\x20subprotocol\x20is\x20duplicated','exports','offer','WS_ERR_EXPECTED_FIN','isValidUTF8','controlMessage','clientMaxWindowBits','UniverCollaborationClientNodePlugin','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Observable','serverMaxWindowBits','kData','_redirects','Upgrade','objectMode','endEmitted','write','includes','createSocket','\x20(supported\x20versions:\x20','isPaused','client_no_context_takeover','_max_window_bits','finish','fin','__esModule','crypto','_protocol','sha1','server_no_context_takeover','_deflate','createConnection','total-length','statusCode','values','_allowSynchronousEvents','_generateMask','auth','dequeue','unshift','ws:','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','perMessageDeflate','listenerCount','Basic\x20','2632340RpdWcI','allocUnsafe','\x22:\x20','_writableState','size','getData','completeUpgrade','getInfo','_closeFrameSent','Plugin','setTimeout','socketPath','websocket','once','UniverProCollaboration','_queue','hasOwnProperty'];_0x1e2b=function(){return _0xf02398;};return _0x1e2b();}
1
+ function _0x204d(){const _0x5755e9=['Blob','https','websocket','startsWith','socketPath','buffers','setTimeout','captureStackTrace','shift','writable','apply','_extensions','_options','address','dequeue','format','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','sha1','kType','_binaryType','drain','byteLength','unexpected-response','_autoPong','readable','Unsupported\x20protocol\x20version:\x20','isArray','File','WebSocket\x20is\x20not\x20open:\x20readyState\x20','kData','write','endEmitted','function','events','_state','isValidUTF8','_inflate','serverMaxWindowBits','split','has','normalizeParams','Connection:\x20Upgrade','sec-websocket-accept','defineProperty','href','reason','headers','constructor','noServer','clientMaxWindowBits','isServer','toDisposable','9wqfEcr','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_writableState','call','maskBuffer','rsv1','freeze','buffer','nodebuffer','handleProtocols','getConfig','WS_ERR_INVALID_CLOSE_CODE','_decompress','sendFrame','_receiver','_maskBuffer','_req','_allowSynchronousEvents','then','_readyState','require$$7','server','pluginName','getMask','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','data','setSocket','nextTick','_fin','binary','flush','acceptAsServer','_queue','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','username','replace','readOnly','slice','_closeTimer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_readableState','WS_NO_UTF_8_VALIDATE','concurrencyLimit','Inject','kByteLength','CONNECTING','_server','\x22\x20subprotocol\x20is\x20duplicated','species','GET','alloc','method','readUInt16BE','onopen','onStarting','_closeFrameReceived','maxPayload','kIsForOnEventAttribute','compress','Invalid\x20Upgrade\x20header','ISocketService','send','UniverProCollaboration','size','uncork','fin','setConfig','ping','http','getData','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','test','object','rxjs','response','_removeListeners','values','charCodeAt','search','clients','add','mask','_closeFrameSent','upgrade','pipe','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','opcode','protocolVersion','arrayBuffer','_read','extensions','\x20(supported\x20versions:\x20','WS_ERR_INVALID_OPCODE','includes','statusCode','removeAllListeners','catch','bufferedAmount','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','password','_doCreateSocket','message','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','emitClose','removeListener','2YWzkZs','keys','_url','Invalid\x20Sec-WebSocket-Accept\x20header','HTTP/1.1\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','exports','finished','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','DisposableCollection','_fragments','WS_ERR_UNEXPECTED_MASK','CLOSED','_shouldEmitClose','registerHTTPInterceptor','_maxPayload','text/html','collaboration-client-node.config','WS_ERR_UNEXPECTED_RSV_1','wasClean','Maximum\x20redirects\x20exceeded','client','dispatch','find','UniverNetwork','open','wsClientError','haveLength','frame','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_mask','6960340btCghi','_originalSecure','MASK\x20must\x20be\x20set','Upgrade','Basic\x20','isInteger','UniverProCollaborationClientNode','handleEvent','Upgrade:\x20websocket','writeHead','map','completeUpgrade','getBlobData','_generateMask','Invalid\x20value\x20for\x20parameter\x20\x22','abort','_socket','text/plain','dataMessage','require$$0','_no_context_takeover','dispose','string','join','verifyClient','auth','url','_destroy','kDone','_compress','CollaborationSocketService','conclude','length','sec-websocket-protocol','_final','readUInt32BE','WS_ERR_INVALID_UTF8','listenerCount','Module','handleUpgrade','246UQZlId','8786600gmAlkQ','stream','setHeader','destroyed','_buffers','cookie','wss:','location','The\x20URL\x27s\x20pathname\x20is\x20empty','pathname','56073uWmchS','bind','authorization','controlMessage','code','createConnection','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','registerDependencies','COLLABORATION_CLIENT_NODE_CONFIG_KEY','tls','toString','sec-websocket-version','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_registerDependencies','_originalHostOrSocketPath','default','protocol','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_loop','digest','reset','_isServer','getPayloadLength16','end','concat','_closeMessage','_originalIpc','removeEventListener','startLoop','require$$3','generateMask','enqueue','createError','clientNoContextTakeover','read','maxRedirects','pause','emit','error','invalid\x20status\x20code\x20','consume','allocUnsafe','path','request','zlibInflateOptions','_redirects','amd','authorized','env','backlog','Sec-WebSocket-Extensions','createServer','Unexpected\x20character\x20at\x20index\x20','decompress','UniverCollaborationClientNodePlugin','Disposable','cork','followRedirects','status-code','ws:','RSV1\x20must\x20be\x20clear','writeUInt16BE','toStringTag','WS_NO_BUFFER_UTIL','errorEmitted','_masked','construct','_errored','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','update','pong','52tlwZnT','ISnapshotServerService','IConfigService','_compressed','kReason','NodeCollaborationSocketService','onclose','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','server_no_context_takeover','\x22:\x20','Observable','objectMode','parse','_messageLength','pow','jobs','listeners','ILogService','defaultPort','kAborted','client_no_context_takeover','permessage-deflate','Injector','set','Z_SYNC_FLUSH','_fragmented','servername','require$$0$2','finish','require$$2$1','@univerjs/network','perMessageDeflate','client_max_window_bits','prototype','getOwnPropertyDescriptor','pending','WS_ERR_EXPECTED_FIN','_write','Invalid\x20Sec-WebSocket-Protocol\x20header','destroy','_totalPayloadLength','invalid\x20UTF-8\x20sequence','timeout','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','createInflateRaw','Sec-WebSocket-Protocol:\x20','unmask','isPaused','createDeflateRaw','resume','extensionName','forEach','Unexpected\x20server\x20response:\x20','encrypted','customHeaders','Z_DEFAULT_WINDOWBITS','Origin','_payloadLength','Sec-WebSocket-Extensions:\x20','@univerjs-pro/collaboration-client','type','kMessage','delete','kCode','Invalid\x20URL:\x20','serverNoContextTakeover','_bufferedAmount','kRun','403447vksbum','_max_window_bits','hostname','shouldHandle','Parameter\x20\x22','socket','UniverCollaborationClientPlugin','Server\x20sent\x20no\x20subprotocol','toLowerCase','6363075ChrqMC','_opcode','byteOffset','threshold','STATUS_CODES','HTTP/1.1\x20101\x20Switching\x20Protocols','FIN\x20must\x20be\x20set','isBuffer','blob','__esModule','connect','createSocket','origin','The\x20server\x20is\x20not\x20running','invalid\x20opcode\x20','redirect','_skipUTF8Validation','Cookie','accept','_configService','from','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','CLOSING','kError','_deflate','number','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','offer','push','base64','_paused','finishRequest','onerror','port','Sec-WebSocket-Origin','binaryType','host','readyState','\x0d\x0a\x0d\x0a','indexOf','setNoDelay','_sender','concurrency','params','hasOwnProperty','net','_errorEmitted','MASK\x20must\x20be\x20clear','skipUTF8Validation','connection','Unexpected\x20end\x20of\x20input','_protocol','create','zlib','_bufferedBytes','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','arraybuffer','174958CicRMN','next','zlibDeflateOptions','_firstFragment','close','once','options','require$$0$3','Invalid\x20Sec-WebSocket-Extensions\x20header','addEventListener','allowSynchronousEvents','_closeCode','autoPong','Max\x20payload\x20size\x20exceeded','42919hBAXak','OPEN','crypto','share','getInfo','server_max_window_bits','listen','getPayloadLength64'];_0x204d=function(){return _0x5755e9;};return _0x204d();}function _0xe28f(_0x3166fb,_0x3e77a2){const _0x204daf=_0x204d();return _0xe28f=function(_0xe28f3a,_0x295139){_0xe28f3a=_0xe28f3a-0x99;let _0x14ec64=_0x204daf[_0xe28f3a];return _0x14ec64;},_0xe28f(_0x3166fb,_0x3e77a2);}(function(_0x3d1823,_0x52fb4e){const _0x3ab9a5=_0xe28f,_0x5359aa=_0x3d1823();while(!![]){try{const _0x5127a4=-parseInt(_0x3ab9a5(0x26b))/0x1*(parseInt(_0x3ab9a5(0x13d))/0x2)+parseInt(_0x3ab9a5(0x18f))/0x3*(parseInt(_0x3ab9a5(0x1d6))/0x4)+parseInt(_0x3ab9a5(0x223))/0x5+-parseInt(_0x3ab9a5(0x184))/0x6*(-parseInt(_0x3ab9a5(0x25d))/0x7)+-parseInt(_0x3ab9a5(0x185))/0x8+-parseInt(_0x3ab9a5(0xd4))/0x9*(parseInt(_0x3ab9a5(0x15c))/0xa)+parseInt(_0x3ab9a5(0x21a))/0xb;if(_0x5127a4===_0x52fb4e)break;else _0x5359aa['push'](_0x5359aa['shift']());}catch(_0x590fb7){_0x5359aa['push'](_0x5359aa['shift']());}}}(_0x204d,0xb49a7),function(_0x199e0f,_0x539ce2){const _0x248481=_0xe28f;typeof exports==_0x248481(0x11c)&&typeof module<'u'?_0x539ce2(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs'),require('events'),require('https'),require('http'),require('net'),require('tls'),require('crypto'),require('stream'),require('url'),require('zlib'),require('buffer'),require('@univerjs-pro/collaboration')):typeof define==_0x248481(0xc0)&&define[_0x248481(0x1bd)]?define([_0x248481(0x143),_0x248481(0x211),'@univerjs/core',_0x248481(0x1f4),_0x248481(0x11d),_0x248481(0xc1),_0x248481(0xa1),_0x248481(0x118),_0x248481(0x250),_0x248481(0x198),_0x248481(0x9a),'stream','url',_0x248481(0x258),'buffer','@univerjs-pro/collaboration'],_0x539ce2):(_0x199e0f=typeof globalThis<'u'?globalThis:_0x199e0f||self,_0x539ce2(_0x199e0f[_0x248481(0x162)]={},_0x199e0f['UniverProCollaborationClient'],_0x199e0f['UniverCore'],_0x199e0f[_0x248481(0x155)],_0x199e0f[_0x248481(0x11d)],_0x199e0f[_0x248481(0x264)],_0x199e0f['require$$1$2'],_0x199e0f[_0x248481(0x1f3)],_0x199e0f[_0x248481(0x1ac)],_0x199e0f['require$$4'],_0x199e0f['require$$1$1'],_0x199e0f[_0x248481(0x1f1)],_0x199e0f[_0x248481(0xe8)],_0x199e0f[_0x248481(0x16f)],_0x199e0f['require$$0$1'],_0x199e0f[_0x248481(0x112)]));}(this,function(_0x57102f,_0x52463a,_0x381c49,_0x57f6dd,_0x531f28,_0x5bc942,_0x3de7b7,_0x368d6a,_0x10bcf0,_0x13497c,_0x4108bd,_0x2a6280,_0x396d78,_0x3ed4f8,_0x3b9867,_0x14fc8d){'use strict';const _0xa5b7c6=_0xe28f;const _0x2ecade=_0xa5b7c6(0x14e),_0x381e80={'customHeaders':{}};function _0x4e0bb0(_0x43acdb){const _0x33b169=_0xa5b7c6;return _0x43acdb&&_0x43acdb[_0x33b169(0x22c)]&&Object[_0x33b169(0x1f7)][_0x33b169(0x24f)]['call'](_0x43acdb,_0x33b169(0x19e))?_0x43acdb[_0x33b169(0x19e)]:_0x43acdb;}function _0x4f7633(_0x3a9c9c){const _0x9aafee=_0xa5b7c6;if(Object[_0x9aafee(0x1f7)][_0x9aafee(0x24f)][_0x9aafee(0xd7)](_0x3a9c9c,_0x9aafee(0x22c)))return _0x3a9c9c;var _0xf38662=_0x3a9c9c[_0x9aafee(0x19e)];if(typeof _0xf38662==_0x9aafee(0xc0)){var _0x1f9462=function _0x33222a(){const _0x2ba26a=_0x9aafee;var _0x4786f6=!0x1;try{_0x4786f6=this instanceof _0x33222a;}catch{}return _0x4786f6?Reflect[_0x2ba26a(0x1d1)](_0xf38662,arguments,this[_0x2ba26a(0xcf)]):_0xf38662[_0x2ba26a(0xaa)](this,arguments);};_0x1f9462['prototype']=_0xf38662[_0x9aafee(0x1f7)];}else _0x1f9462={};return Object[_0x9aafee(0xcb)](_0x1f9462,_0x9aafee(0x22c),{'value':!0x0}),Object['keys'](_0x3a9c9c)[_0x9aafee(0x209)](function(_0x121349){const _0x2a3f7c=_0x9aafee;var _0x188100=Object[_0x2a3f7c(0x1f8)](_0x3a9c9c,_0x121349);Object['defineProperty'](_0x1f9462,_0x121349,_0x188100['get']?_0x188100:{'enumerable':!0x0,'get':function(){return _0x3a9c9c[_0x121349];}});}),_0x1f9462;}var _0x24382e={'exports':{}},_0x3f1e83,_0x166420;function _0x429b85(){const _0x3f54ad=_0xa5b7c6;if(_0x166420)return _0x3f1e83;_0x166420=0x1;const _0x20b7e9=[_0x3f54ad(0xdc),_0x3f54ad(0x25c),'fragments'],_0x573787=typeof Blob<'u';return _0x573787&&_0x20b7e9['push'](_0x3f54ad(0x22b)),_0x3f1e83={'BINARY_TYPES':_0x20b7e9,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3f54ad(0xec),'hasBlob':_0x573787,'kForOnEventAttribute':Symbol(_0x3f54ad(0x10d)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x3f54ad(0x1c9)),'kWebSocket':Symbol(_0x3f54ad(0xa2)),'NOOP':()=>{}},_0x3f1e83;}const _0x2a9d9b=_0x4f7633(Object[_0xa5b7c6(0xda)](Object[_0xa5b7c6(0xcb)]({'__proto__':null,'default':{}},Symbol['toStringTag'],{'value':_0xa5b7c6(0x182)})));var _0x55f596;function _0x1e910d(){const _0x5f13ce=_0xa5b7c6;if(_0x55f596)return _0x24382e[_0x5f13ce(0x143)];_0x55f596=0x1;const {EMPTY_BUFFER:_0xfc9663}=_0x429b85(),_0x328c65=Buffer[Symbol[_0x5f13ce(0x104)]];function _0x3415a2(_0x31b255,_0x32cf1c){const _0x2cfe0a=_0x5f13ce;if(_0x31b255[_0x2cfe0a(0x17c)]===0x0)return _0xfc9663;if(_0x31b255['length']===0x1)return _0x31b255[0x0];const _0x2a9a9c=Buffer[_0x2cfe0a(0x1b8)](_0x32cf1c);let _0x5712fc=0x0;for(let _0xcd6749=0x0;_0xcd6749<_0x31b255[_0x2cfe0a(0x17c)];_0xcd6749++){const _0x1a8f7d=_0x31b255[_0xcd6749];_0x2a9a9c[_0x2cfe0a(0x1ed)](_0x1a8f7d,_0x5712fc),_0x5712fc+=_0x1a8f7d['length'];}return _0x5712fc<_0x32cf1c?new _0x328c65(_0x2a9a9c['buffer'],_0x2a9a9c['byteOffset'],_0x5712fc):_0x2a9a9c;}function _0x3c809a(_0x2068cc,_0x476f16,_0x51e99d,_0x44cea9,_0xc883f2){for(let _0x51fa6f=0x0;_0x51fa6f<_0xc883f2;_0x51fa6f++)_0x51e99d[_0x44cea9+_0x51fa6f]=_0x2068cc[_0x51fa6f]^_0x476f16[_0x51fa6f&0x3];}function _0x333855(_0x242131,_0x25d8da){const _0x1431c7=_0x5f13ce;for(let _0x40ba22=0x0;_0x40ba22<_0x242131[_0x1431c7(0x17c)];_0x40ba22++)_0x242131[_0x40ba22]^=_0x25d8da[_0x40ba22&0x3];}function _0x150216(_0x5171e7){const _0x58df36=_0x5f13ce;return _0x5171e7[_0x58df36(0x17c)]===_0x5171e7[_0x58df36(0xdb)][_0x58df36(0xb5)]?_0x5171e7[_0x58df36(0xdb)]:_0x5171e7[_0x58df36(0xdb)]['slice'](_0x5171e7[_0x58df36(0x225)],_0x5171e7[_0x58df36(0x225)]+_0x5171e7[_0x58df36(0x17c)]);}function _0x280e59(_0x8b3917){const _0x18e253=_0x5f13ce;if(_0x280e59[_0x18e253(0xf8)]=!0x0,Buffer[_0x18e253(0x22a)](_0x8b3917))return _0x8b3917;let _0x3810af;return _0x8b3917 instanceof ArrayBuffer?_0x3810af=new _0x328c65(_0x8b3917):ArrayBuffer['isView'](_0x8b3917)?_0x3810af=new _0x328c65(_0x8b3917[_0x18e253(0xdb)],_0x8b3917[_0x18e253(0x225)],_0x8b3917[_0x18e253(0xb5)]):(_0x3810af=Buffer[_0x18e253(0x237)](_0x8b3917),_0x280e59['readOnly']=!0x1),_0x3810af;}if(_0x24382e[_0x5f13ce(0x143)]={'concat':_0x3415a2,'mask':_0x3c809a,'toArrayBuffer':_0x150216,'toBuffer':_0x280e59,'unmask':_0x333855},!process[_0x5f13ce(0x1bf)][_0x5f13ce(0x1ce)])try{const _0x538dad=_0x2a9d9b;_0x24382e[_0x5f13ce(0x143)][_0x5f13ce(0x125)]=function(_0x22927f,_0x1a970a,_0x30cf8e,_0x4222bd,_0x2853fd){const _0xb9e00d=_0x5f13ce;_0x2853fd<0x30?_0x3c809a(_0x22927f,_0x1a970a,_0x30cf8e,_0x4222bd,_0x2853fd):_0x538dad[_0xb9e00d(0x125)](_0x22927f,_0x1a970a,_0x30cf8e,_0x4222bd,_0x2853fd);},_0x24382e['exports'][_0x5f13ce(0x204)]=function(_0x13543a,_0x39ec96){const _0x1dc8d6=_0x5f13ce;_0x13543a[_0x1dc8d6(0x17c)]<0x20?_0x333855(_0x13543a,_0x39ec96):_0x538dad[_0x1dc8d6(0x204)](_0x13543a,_0x39ec96);};}catch{}return _0x24382e['exports'];}var _0x54a7c7,_0x20c0d6;function _0x3b2fcf(){const _0x488909=_0xa5b7c6;if(_0x20c0d6)return _0x54a7c7;_0x20c0d6=0x1;const _0x3b11af=Symbol(_0x488909(0x178)),_0x468179=Symbol(_0x488909(0x219));class _0x1b3ef2{constructor(_0x38251f){this[_0x3b11af]=()=>{this['pending']--,this[_0x468179]();},this['concurrency']=_0x38251f||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x488909(0x124)](_0x417ea7){const _0x1cef40=_0x488909;this['jobs'][_0x1cef40(0x23f)](_0x417ea7),this[_0x468179]();}[_0x468179](){const _0x181686=_0x488909;if(this[_0x181686(0x1f9)]!==this[_0x181686(0x24d)]&&this['jobs'][_0x181686(0x17c)]){const _0x476026=this[_0x181686(0x1e5)][_0x181686(0xa8)]();this[_0x181686(0x1f9)]++,_0x476026(this[_0x3b11af]);}}}return _0x54a7c7=_0x1b3ef2,_0x54a7c7;}var _0x440f5c,_0x59106a;function _0x583217(){const _0xf09197=_0xa5b7c6;if(_0x59106a)return _0x440f5c;_0x59106a=0x1;const _0x2b22b6=_0x3ed4f8,_0x2d9fd7=_0x1e910d(),_0x25c999=_0x3b2fcf(),{kStatusCode:_0x4f931}=_0x429b85(),_0xcda68a=Buffer[Symbol[_0xf09197(0x104)]],_0x556f80=Buffer[_0xf09197(0x237)]([0x0,0x0,0xff,0xff]),_0x1ad7f0=Symbol(_0xf09197(0x1eb)),_0x1bc28=Symbol('total-length'),_0x57f2f7=Symbol('callback'),_0x4efde9=Symbol(_0xf09197(0xa5)),_0x46890a=Symbol('error');let _0x309895;class _0x560e7a{constructor(_0xecd49f,_0xd63fe1,_0x38ad84){const _0x7638c7=_0xf09197;if(this['_maxPayload']=_0x38ad84|0x0,this[_0x7638c7(0xac)]=_0xecd49f||{},this['_threshold']=this['_options'][_0x7638c7(0x226)]!==void 0x0?this[_0x7638c7(0xac)][_0x7638c7(0x226)]:0x400,this[_0x7638c7(0x1a4)]=!!_0xd63fe1,this[_0x7638c7(0x23b)]=null,this[_0x7638c7(0xc4)]=null,this[_0x7638c7(0x24e)]=null,!_0x309895){const _0x307426=this[_0x7638c7(0xac)]['concurrencyLimit']!==void 0x0?this[_0x7638c7(0xac)][_0x7638c7(0xfe)]:0xa;_0x309895=new _0x25c999(_0x307426);}}static get[_0xf09197(0x208)](){const _0x12eee2=_0xf09197;return _0x12eee2(0x1eb);}[_0xf09197(0x23e)](){const _0x4e4432=_0xf09197,_0x4c948f={};return this[_0x4e4432(0xac)]['serverNoContextTakeover']&&(_0x4c948f['server_no_context_takeover']=!0x0),this[_0x4e4432(0xac)][_0x4e4432(0x1b0)]&&(_0x4c948f[_0x4e4432(0x1ea)]=!0x0),this[_0x4e4432(0xac)][_0x4e4432(0xc5)]&&(_0x4c948f[_0x4e4432(0x9d)]=this[_0x4e4432(0xac)][_0x4e4432(0xc5)]),this[_0x4e4432(0xac)][_0x4e4432(0xd1)]?_0x4c948f['client_max_window_bits']=this[_0x4e4432(0xac)][_0x4e4432(0xd1)]:this['_options'][_0x4e4432(0xd1)]==null&&(_0x4c948f[_0x4e4432(0x1f6)]=!0x0),_0x4c948f;}[_0xf09197(0x235)](_0xeb4ea3){const _0x4f5946=_0xf09197;return _0xeb4ea3=this[_0x4f5946(0xc8)](_0xeb4ea3),this['params']=this['_isServer']?this[_0x4f5946(0xf3)](_0xeb4ea3):this['acceptAsClient'](_0xeb4ea3),this[_0x4f5946(0x24e)];}['cleanup'](){const _0x1b0a51=_0xf09197;if(this[_0x1b0a51(0xc4)]&&(this[_0x1b0a51(0xc4)]['close'](),this['_inflate']=null),this[_0x1b0a51(0x23b)]){const _0x3d5bdc=this[_0x1b0a51(0x23b)][_0x57f2f7];this['_deflate'][_0x1b0a51(0x261)](),this[_0x1b0a51(0x23b)]=null,_0x3d5bdc&&_0x3d5bdc(new Error(_0x1b0a51(0x1d3)));}}[_0xf09197(0xf3)](_0x1cf76d){const _0x29cd1a=_0xf09197,_0x162dd2=this[_0x29cd1a(0xac)],_0x48b63f=_0x1cf76d[_0x29cd1a(0x154)](_0xd2b7ec=>!(_0x162dd2[_0x29cd1a(0x217)]===!0x1&&_0xd2b7ec[_0x29cd1a(0x1de)]||_0xd2b7ec[_0x29cd1a(0x9d)]&&(_0x162dd2[_0x29cd1a(0xc5)]===!0x1||typeof _0x162dd2[_0x29cd1a(0xc5)]=='number'&&_0x162dd2['serverMaxWindowBits']>_0xd2b7ec[_0x29cd1a(0x9d)])||typeof _0x162dd2[_0x29cd1a(0xd1)]==_0x29cd1a(0x23c)&&!_0xd2b7ec[_0x29cd1a(0x1f6)]));if(!_0x48b63f)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x162dd2[_0x29cd1a(0x217)]&&(_0x48b63f[_0x29cd1a(0x1de)]=!0x0),_0x162dd2[_0x29cd1a(0x1b0)]&&(_0x48b63f[_0x29cd1a(0x1ea)]=!0x0),typeof _0x162dd2[_0x29cd1a(0xc5)]==_0x29cd1a(0x23c)&&(_0x48b63f[_0x29cd1a(0x9d)]=_0x162dd2[_0x29cd1a(0xc5)]),typeof _0x162dd2[_0x29cd1a(0xd1)]=='number'?_0x48b63f[_0x29cd1a(0x1f6)]=_0x162dd2[_0x29cd1a(0xd1)]:(_0x48b63f[_0x29cd1a(0x1f6)]===!0x0||_0x162dd2['clientMaxWindowBits']===!0x1)&&delete _0x48b63f['client_max_window_bits'],_0x48b63f;}['acceptAsClient'](_0x17fb4e){const _0x1c3e2c=_0xf09197,_0x189a69=_0x17fb4e[0x0];if(this[_0x1c3e2c(0xac)][_0x1c3e2c(0x1b0)]===!0x1&&_0x189a69[_0x1c3e2c(0x1ea)])throw new Error(_0x1c3e2c(0xfb));if(!_0x189a69['client_max_window_bits'])typeof this[_0x1c3e2c(0xac)]['clientMaxWindowBits']==_0x1c3e2c(0x23c)&&(_0x189a69[_0x1c3e2c(0x1f6)]=this[_0x1c3e2c(0xac)][_0x1c3e2c(0xd1)]);else{if(this[_0x1c3e2c(0xac)][_0x1c3e2c(0xd1)]===!0x1||typeof this[_0x1c3e2c(0xac)][_0x1c3e2c(0xd1)]==_0x1c3e2c(0x23c)&&_0x189a69[_0x1c3e2c(0x1f6)]>this[_0x1c3e2c(0xac)][_0x1c3e2c(0xd1)])throw new Error(_0x1c3e2c(0x19b));}return _0x189a69;}['normalizeParams'](_0x32e913){const _0x220665=_0xf09197;return _0x32e913[_0x220665(0x209)](_0x3e6767=>{Object['keys'](_0x3e6767)['forEach'](_0xb4eed4=>{const _0x161a22=_0xe28f;let _0xaafe8d=_0x3e6767[_0xb4eed4];if(_0xaafe8d[_0x161a22(0x17c)]>0x1)throw new Error(_0x161a22(0x21e)+_0xb4eed4+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0xaafe8d=_0xaafe8d[0x0],_0xb4eed4===_0x161a22(0x1f6)){if(_0xaafe8d!==!0x0){const _0x27559a=+_0xaafe8d;if(!Number[_0x161a22(0x161)](_0x27559a)||_0x27559a<0x8||_0x27559a>0xf)throw new TypeError(_0x161a22(0x16a)+_0xb4eed4+_0x161a22(0x1df)+_0xaafe8d);_0xaafe8d=_0x27559a;}else{if(!this['_isServer'])throw new TypeError(_0x161a22(0x16a)+_0xb4eed4+_0x161a22(0x1df)+_0xaafe8d);}}else{if(_0xb4eed4==='server_max_window_bits'){const _0x3f81f3=+_0xaafe8d;if(!Number[_0x161a22(0x161)](_0x3f81f3)||_0x3f81f3<0x8||_0x3f81f3>0xf)throw new TypeError(_0x161a22(0x16a)+_0xb4eed4+'\x22:\x20'+_0xaafe8d);_0xaafe8d=_0x3f81f3;}else{if(_0xb4eed4===_0x161a22(0x1ea)||_0xb4eed4===_0x161a22(0x1de)){if(_0xaafe8d!==!0x0)throw new TypeError(_0x161a22(0x16a)+_0xb4eed4+_0x161a22(0x1df)+_0xaafe8d);}else throw new Error('Unknown\x20parameter\x20\x22'+_0xb4eed4+'\x22');}}_0x3e6767[_0xb4eed4]=_0xaafe8d;});}),_0x32e913;}[_0xf09197(0x1c4)](_0x17481c,_0x7e1e56,_0x52130f){const _0x5dc3cc=_0xf09197;_0x309895[_0x5dc3cc(0x124)](_0x2b0bdf=>{const _0x3d9824=_0x5dc3cc;this[_0x3d9824(0xe0)](_0x17481c,_0x7e1e56,(_0x49f7bd,_0x16df07)=>{_0x2b0bdf(),_0x52130f(_0x49f7bd,_0x16df07);});});}[_0xf09197(0x10e)](_0x1069ae,_0x166a9e,_0x34d0c7){const _0x225bbc=_0xf09197;_0x309895[_0x225bbc(0x124)](_0x4eb7c7=>{const _0x59e49e=_0x225bbc;this[_0x59e49e(0x179)](_0x1069ae,_0x166a9e,(_0x57c461,_0x3fa8c4)=>{_0x4eb7c7(),_0x34d0c7(_0x57c461,_0x3fa8c4);});});}[_0xf09197(0xe0)](_0x313dcb,_0x2f0b62,_0x537f70){const _0x350005=_0xf09197,_0x35654=this['_isServer']?'client':_0x350005(0xe9);if(!this[_0x350005(0xc4)]){const _0xfe41e=_0x35654+_0x350005(0x21b),_0x409d30=typeof this[_0x350005(0x24e)][_0xfe41e]!=_0x350005(0x23c)?_0x2b22b6[_0x350005(0x20d)]:this[_0x350005(0x24e)][_0xfe41e];this[_0x350005(0xc4)]=_0x2b22b6[_0x350005(0x202)]({...this['_options'][_0x350005(0x1bb)],'windowBits':_0x409d30}),this['_inflate'][_0x1ad7f0]=this,this['_inflate'][_0x1bc28]=0x0,this[_0x350005(0xc4)][_0x4efde9]=[],this[_0x350005(0xc4)]['on']('error',_0x29611d),this[_0x350005(0xc4)]['on'](_0x350005(0xed),_0x2af6ed);}this['_inflate'][_0x57f2f7]=_0x537f70,this[_0x350005(0xc4)][_0x350005(0xbe)](_0x313dcb),_0x2f0b62&&this[_0x350005(0xc4)][_0x350005(0xbe)](_0x556f80),this[_0x350005(0xc4)][_0x350005(0xf2)](()=>{const _0x5d3ca6=_0x350005,_0x1c07d7=this[_0x5d3ca6(0xc4)][_0x46890a];if(_0x1c07d7){this[_0x5d3ca6(0xc4)][_0x5d3ca6(0x261)](),this['_inflate']=null,_0x537f70(_0x1c07d7);return;}const _0x3ab82b=_0x2d9fd7[_0x5d3ca6(0x1a7)](this[_0x5d3ca6(0xc4)][_0x4efde9],this[_0x5d3ca6(0xc4)][_0x1bc28]);this[_0x5d3ca6(0xc4)]['_readableState'][_0x5d3ca6(0xbf)]?(this[_0x5d3ca6(0xc4)][_0x5d3ca6(0x261)](),this['_inflate']=null):(this[_0x5d3ca6(0xc4)][_0x1bc28]=0x0,this[_0x5d3ca6(0xc4)][_0x4efde9]=[],_0x2f0b62&&this['params'][_0x35654+_0x5d3ca6(0x170)]&&this['_inflate'][_0x5d3ca6(0x1a3)]()),_0x537f70(null,_0x3ab82b);});}[_0xf09197(0x179)](_0x2066ff,_0x4ad91e,_0x38afab){const _0x4370cf=_0xf09197,_0x32216f=this['_isServer']?_0x4370cf(0xe9):_0x4370cf(0x152);if(!this[_0x4370cf(0x23b)]){const _0xba629=_0x32216f+'_max_window_bits',_0x3e118e=typeof this[_0x4370cf(0x24e)][_0xba629]!='number'?_0x2b22b6['Z_DEFAULT_WINDOWBITS']:this[_0x4370cf(0x24e)][_0xba629];this['_deflate']=_0x2b22b6[_0x4370cf(0x206)]({...this[_0x4370cf(0xac)][_0x4370cf(0x25f)],'windowBits':_0x3e118e}),this[_0x4370cf(0x23b)][_0x1bc28]=0x0,this[_0x4370cf(0x23b)][_0x4efde9]=[],this[_0x4370cf(0x23b)]['on'](_0x4370cf(0xed),_0x4994bc);}this[_0x4370cf(0x23b)][_0x57f2f7]=_0x38afab,this['_deflate'][_0x4370cf(0xbe)](_0x2066ff),this[_0x4370cf(0x23b)][_0x4370cf(0xf2)](_0x2b22b6[_0x4370cf(0x1ee)],()=>{const _0x27feae=_0x4370cf;if(!this[_0x27feae(0x23b)])return;let _0x3b58ad=_0x2d9fd7['concat'](this[_0x27feae(0x23b)][_0x4efde9],this[_0x27feae(0x23b)][_0x1bc28]);_0x4ad91e&&(_0x3b58ad=new _0xcda68a(_0x3b58ad[_0x27feae(0xdb)],_0x3b58ad[_0x27feae(0x225)],_0x3b58ad[_0x27feae(0x17c)]-0x4)),this[_0x27feae(0x23b)][_0x57f2f7]=null,this['_deflate'][_0x1bc28]=0x0,this[_0x27feae(0x23b)][_0x4efde9]=[],_0x4ad91e&&this[_0x27feae(0x24e)][_0x32216f+_0x27feae(0x170)]&&this[_0x27feae(0x23b)][_0x27feae(0x1a3)](),_0x38afab(null,_0x3b58ad);});}}_0x440f5c=_0x560e7a;function _0x4994bc(_0x4718ca){const _0x414297=_0xf09197;this[_0x4efde9][_0x414297(0x23f)](_0x4718ca),this[_0x1bc28]+=_0x4718ca[_0x414297(0x17c)];}function _0x2af6ed(_0x5cf97c){const _0xf2317e=_0xf09197;if(this[_0x1bc28]+=_0x5cf97c['length'],this[_0x1ad7f0]['_maxPayload']<0x1||this[_0x1bc28]<=this[_0x1ad7f0][_0xf2317e(0x14c)]){this[_0x4efde9]['push'](_0x5cf97c);return;}this[_0x46890a]=new RangeError(_0xf2317e(0x26a)),this[_0x46890a][_0xf2317e(0x193)]=_0xf2317e(0x145),this[_0x46890a][_0x4f931]=0x3f1,this[_0xf2317e(0x13c)](_0xf2317e(0xed),_0x2af6ed),this[_0xf2317e(0x1a3)]();}function _0x29611d(_0x4f15cf){const _0x2d6ce8=_0xf09197;if(this[_0x1ad7f0][_0x2d6ce8(0xc4)]=null,this[_0x46890a]){this[_0x57f2f7](this[_0x46890a]);return;}_0x4f15cf[_0x4f931]=0x3ef,this[_0x57f2f7](_0x4f15cf);}return _0x440f5c;}var _0x2c280b={'exports':{}};const _0x4ee993=_0x4f7633(Object[_0xa5b7c6(0xda)](Object[_0xa5b7c6(0xcb)]({'__proto__':null,'default':{}},Symbol[_0xa5b7c6(0x1cd)],{'value':'Module'})));var _0x599f9a;function _0x35aa88(){const _0x2a4f82=_0xa5b7c6;if(_0x599f9a)return _0x2c280b[_0x2a4f82(0x143)];_0x599f9a=0x1;const {isUtf8:_0xf6ddba}=_0x3b9867,{hasBlob:_0x1db737}=_0x429b85(),_0x4048e9=[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 _0x37c46b(_0x5ff7da){return _0x5ff7da>=0x3e8&&_0x5ff7da<=0x3f6&&_0x5ff7da!==0x3ec&&_0x5ff7da!==0x3ed&&_0x5ff7da!==0x3ee||_0x5ff7da>=0xbb8&&_0x5ff7da<=0x1387;}function _0x4af06c(_0x6be990){const _0xd702b0=_0x2a4f82,_0x2e878a=_0x6be990[_0xd702b0(0x17c)];let _0x986508=0x0;for(;_0x986508<_0x2e878a;)if((_0x6be990[_0x986508]&0x80)===0x0)_0x986508++;else{if((_0x6be990[_0x986508]&0xe0)===0xc0){if(_0x986508+0x1===_0x2e878a||(_0x6be990[_0x986508+0x1]&0xc0)!==0x80||(_0x6be990[_0x986508]&0xfe)===0xc0)return!0x1;_0x986508+=0x2;}else{if((_0x6be990[_0x986508]&0xf0)===0xe0){if(_0x986508+0x2>=_0x2e878a||(_0x6be990[_0x986508+0x1]&0xc0)!==0x80||(_0x6be990[_0x986508+0x2]&0xc0)!==0x80||_0x6be990[_0x986508]===0xe0&&(_0x6be990[_0x986508+0x1]&0xe0)===0x80||_0x6be990[_0x986508]===0xed&&(_0x6be990[_0x986508+0x1]&0xe0)===0xa0)return!0x1;_0x986508+=0x3;}else{if((_0x6be990[_0x986508]&0xf8)===0xf0){if(_0x986508+0x3>=_0x2e878a||(_0x6be990[_0x986508+0x1]&0xc0)!==0x80||(_0x6be990[_0x986508+0x2]&0xc0)!==0x80||(_0x6be990[_0x986508+0x3]&0xc0)!==0x80||_0x6be990[_0x986508]===0xf0&&(_0x6be990[_0x986508+0x1]&0xf0)===0x80||_0x6be990[_0x986508]===0xf4&&_0x6be990[_0x986508+0x1]>0x8f||_0x6be990[_0x986508]>0xf4)return!0x1;_0x986508+=0x4;}else return!0x1;}}}return!0x0;}function _0x72a3c7(_0x56eb8f){const _0x3fffa5=_0x2a4f82;return _0x1db737&&typeof _0x56eb8f==_0x3fffa5(0x11c)&&typeof _0x56eb8f[_0x3fffa5(0x12c)]==_0x3fffa5(0xc0)&&typeof _0x56eb8f[_0x3fffa5(0x212)]==_0x3fffa5(0x172)&&typeof _0x56eb8f[_0x3fffa5(0x186)]==_0x3fffa5(0xc0)&&(_0x56eb8f[Symbol[_0x3fffa5(0x1cd)]]===_0x3fffa5(0xa0)||_0x56eb8f[Symbol[_0x3fffa5(0x1cd)]]===_0x3fffa5(0xbb));}if(_0x2c280b['exports']={'isBlob':_0x72a3c7,'isValidStatusCode':_0x37c46b,'isValidUTF8':_0x4af06c,'tokenChars':_0x4048e9},_0xf6ddba)_0x2c280b[_0x2a4f82(0x143)][_0x2a4f82(0xc3)]=function(_0x389674){const _0x882469=_0x2a4f82;return _0x389674[_0x882469(0x17c)]<0x18?_0x4af06c(_0x389674):_0xf6ddba(_0x389674);};else{if(!process[_0x2a4f82(0x1bf)][_0x2a4f82(0xfd)])try{const _0x589d45=_0x4ee993;_0x2c280b[_0x2a4f82(0x143)][_0x2a4f82(0xc3)]=function(_0x23033d){const _0x4f76d1=_0x2a4f82;return _0x23033d[_0x4f76d1(0x17c)]<0x20?_0x4af06c(_0x23033d):_0x589d45(_0x23033d);};}catch{}}return _0x2c280b['exports'];}var _0x4ffd28,_0x337f5f;function _0x38952c(){const _0x535b75=_0xa5b7c6;if(_0x337f5f)return _0x4ffd28;_0x337f5f=0x1;const {Writable:_0x2cce53}=_0x2a6280,_0x53070f=_0x583217(),{BINARY_TYPES:_0x21f1e8,EMPTY_BUFFER:_0x3eb0ea,kStatusCode:_0x2864e0,kWebSocket:_0xbcf62c}=_0x429b85(),{concat:_0x2cf89d,toArrayBuffer:_0x2ad258,unmask:_0x35278e}=_0x1e910d(),{isValidStatusCode:_0x436246,isValidUTF8:_0x4690a2}=_0x35aa88(),_0x4be397=Buffer[Symbol[_0x535b75(0x104)]],_0x23adbe=0x0,_0x54f1df=0x1,_0x45c600=0x2,_0x360b1f=0x3,_0x150d25=0x4,_0x211b43=0x5,_0x330493=0x6;class _0xae95a8 extends _0x2cce53{constructor(_0x35871e={}){const _0x462b11=_0x535b75;super(),this[_0x462b11(0xe5)]=_0x35871e[_0x462b11(0x267)]!==void 0x0?_0x35871e[_0x462b11(0x267)]:!0x0,this['_binaryType']=_0x35871e[_0x462b11(0x246)]||_0x21f1e8[0x0],this[_0x462b11(0xab)]=_0x35871e['extensions']||{},this['_isServer']=!!_0x35871e[_0x462b11(0xd2)],this[_0x462b11(0x14c)]=_0x35871e[_0x462b11(0x10c)]|0x0,this['_skipUTF8Validation']=!!_0x35871e[_0x462b11(0x253)],this[_0xbcf62c]=void 0x0,this[_0x462b11(0x259)]=0x0,this['_buffers']=[],this[_0x462b11(0x1d9)]=!0x1,this[_0x462b11(0x20f)]=0x0,this['_mask']=void 0x0,this[_0x462b11(0x1ef)]=0x0,this[_0x462b11(0x1d0)]=!0x1,this[_0x462b11(0xf0)]=!0x1,this[_0x462b11(0x224)]=0x0,this[_0x462b11(0x1fe)]=0x0,this[_0x462b11(0x1e3)]=0x0,this[_0x462b11(0x147)]=[],this[_0x462b11(0x1d2)]=!0x1,this[_0x462b11(0x1a1)]=!0x1,this[_0x462b11(0xc2)]=_0x23adbe;}[_0x535b75(0x1fb)](_0x3f845b,_0x4d94c9,_0x2f8556){const _0x3cf2fb=_0x535b75;if(this[_0x3cf2fb(0x224)]===0x8&&this['_state']==_0x23adbe)return _0x2f8556();this['_bufferedBytes']+=_0x3f845b[_0x3cf2fb(0x17c)],this[_0x3cf2fb(0x189)][_0x3cf2fb(0x23f)](_0x3f845b),this[_0x3cf2fb(0x1ab)](_0x2f8556);}[_0x535b75(0x1b7)](_0x593b7b){const _0x3313f8=_0x535b75;if(this[_0x3313f8(0x259)]-=_0x593b7b,_0x593b7b===this[_0x3313f8(0x189)][0x0]['length'])return this[_0x3313f8(0x189)]['shift']();if(_0x593b7b<this[_0x3313f8(0x189)][0x0][_0x3313f8(0x17c)]){const _0x23cefd=this[_0x3313f8(0x189)][0x0];return this[_0x3313f8(0x189)][0x0]=new _0x4be397(_0x23cefd[_0x3313f8(0xdb)],_0x23cefd[_0x3313f8(0x225)]+_0x593b7b,_0x23cefd[_0x3313f8(0x17c)]-_0x593b7b),new _0x4be397(_0x23cefd[_0x3313f8(0xdb)],_0x23cefd[_0x3313f8(0x225)],_0x593b7b);}const _0x11c2be=Buffer[_0x3313f8(0x1b8)](_0x593b7b);do{const _0x5cc707=this[_0x3313f8(0x189)][0x0],_0x5a0c1a=_0x11c2be['length']-_0x593b7b;_0x593b7b>=_0x5cc707[_0x3313f8(0x17c)]?_0x11c2be[_0x3313f8(0x1ed)](this[_0x3313f8(0x189)][_0x3313f8(0xa8)](),_0x5a0c1a):(_0x11c2be[_0x3313f8(0x1ed)](new Uint8Array(_0x5cc707[_0x3313f8(0xdb)],_0x5cc707['byteOffset'],_0x593b7b),_0x5a0c1a),this[_0x3313f8(0x189)][0x0]=new _0x4be397(_0x5cc707['buffer'],_0x5cc707['byteOffset']+_0x593b7b,_0x5cc707[_0x3313f8(0x17c)]-_0x593b7b)),_0x593b7b-=_0x5cc707['length'];}while(_0x593b7b>0x0);return _0x11c2be;}[_0x535b75(0x1ab)](_0x1fded0){const _0x24cfda=_0x535b75;this[_0x24cfda(0x1a1)]=!0x0;do switch(this[_0x24cfda(0xc2)]){case _0x23adbe:this[_0x24cfda(0x9c)](_0x1fded0);break;case _0x54f1df:this[_0x24cfda(0x1a5)](_0x1fded0);break;case _0x45c600:this[_0x24cfda(0x9f)](_0x1fded0);break;case _0x360b1f:this[_0x24cfda(0xeb)]();break;case _0x150d25:this['getData'](_0x1fded0);break;case _0x211b43:case _0x330493:this[_0x24cfda(0x1a1)]=!0x1;return;}while(this[_0x24cfda(0x1a1)]);this[_0x24cfda(0x1d2)]||_0x1fded0();}[_0x535b75(0x9c)](_0x21141c){const _0x3dcc23=_0x535b75;if(this['_bufferedBytes']<0x2){this[_0x3dcc23(0x1a1)]=!0x1;return;}const _0x3bd699=this[_0x3dcc23(0x1b7)](0x2);if((_0x3bd699[0x0]&0x30)!==0x0){const _0x531aff=this[_0x3dcc23(0x1af)](RangeError,_0x3dcc23(0x195),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x21141c(_0x531aff);return;}const _0x56024c=(_0x3bd699[0x0]&0x40)===0x40;if(_0x56024c&&!this[_0x3dcc23(0xab)][_0x53070f[_0x3dcc23(0x208)]]){const _0x51177c=this[_0x3dcc23(0x1af)](RangeError,_0x3dcc23(0x1cb),!0x0,0x3ea,_0x3dcc23(0x14f));_0x21141c(_0x51177c);return;}if(this[_0x3dcc23(0xf0)]=(_0x3bd699[0x0]&0x80)===0x80,this[_0x3dcc23(0x224)]=_0x3bd699[0x0]&0xf,this['_payloadLength']=_0x3bd699[0x1]&0x7f,this[_0x3dcc23(0x224)]===0x0){if(_0x56024c){const _0x5ca295=this[_0x3dcc23(0x1af)](RangeError,_0x3dcc23(0x1cb),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x21141c(_0x5ca295);return;}if(!this[_0x3dcc23(0x1ef)]){const _0x136788=this[_0x3dcc23(0x1af)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3dcc23(0x130));_0x21141c(_0x136788);return;}this[_0x3dcc23(0x224)]=this[_0x3dcc23(0x1ef)];}else{if(this[_0x3dcc23(0x224)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x3da1d8=this[_0x3dcc23(0x1af)](RangeError,_0x3dcc23(0x231)+this[_0x3dcc23(0x224)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x21141c(_0x3da1d8);return;}this[_0x3dcc23(0x1d9)]=_0x56024c;}else{if(this[_0x3dcc23(0x224)]>0x7&&this[_0x3dcc23(0x224)]<0xb){if(!this['_fin']){const _0x28b568=this[_0x3dcc23(0x1af)](RangeError,_0x3dcc23(0x229),!0x0,0x3ea,_0x3dcc23(0x1fa));_0x21141c(_0x28b568);return;}if(_0x56024c){const _0x21278c=this[_0x3dcc23(0x1af)](RangeError,_0x3dcc23(0x1cb),!0x0,0x3ea,_0x3dcc23(0x14f));_0x21141c(_0x21278c);return;}if(this[_0x3dcc23(0x20f)]>0x7d||this['_opcode']===0x8&&this[_0x3dcc23(0x20f)]===0x1){const _0x1003f=this[_0x3dcc23(0x1af)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x3dcc23(0x20f)],!0x0,0x3ea,_0x3dcc23(0xd5));_0x21141c(_0x1003f);return;}}else{const _0x2cc4f9=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x3dcc23(0x130));_0x21141c(_0x2cc4f9);return;}}}if(!this[_0x3dcc23(0xf0)]&&!this['_fragmented']&&(this[_0x3dcc23(0x1ef)]=this[_0x3dcc23(0x224)]),this[_0x3dcc23(0x1d0)]=(_0x3bd699[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x3dcc23(0x1d0)]){const _0x531a18=this['createError'](RangeError,_0x3dcc23(0x15e),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x21141c(_0x531a18);return;}}else{if(this[_0x3dcc23(0x1d0)]){const _0x53b189=this[_0x3dcc23(0x1af)](RangeError,_0x3dcc23(0x252),!0x0,0x3ea,_0x3dcc23(0x148));_0x21141c(_0x53b189);return;}}this[_0x3dcc23(0x20f)]===0x7e?this[_0x3dcc23(0xc2)]=_0x54f1df:this[_0x3dcc23(0x20f)]===0x7f?this[_0x3dcc23(0xc2)]=_0x45c600:this[_0x3dcc23(0x158)](_0x21141c);}[_0x535b75(0x1a5)](_0x5c314e){const _0x2ed4dc=_0x535b75;if(this[_0x2ed4dc(0x259)]<0x2){this['_loop']=!0x1;return;}this[_0x2ed4dc(0x20f)]=this['consume'](0x2)[_0x2ed4dc(0x108)](0x0),this[_0x2ed4dc(0x158)](_0x5c314e);}[_0x535b75(0x9f)](_0x5c5f17){const _0x560d2b=_0x535b75;if(this[_0x560d2b(0x259)]<0x8){this[_0x560d2b(0x1a1)]=!0x1;return;}const _0x975f8c=this['consume'](0x8),_0xc51748=_0x975f8c['readUInt32BE'](0x0);if(_0xc51748>Math[_0x560d2b(0x1e4)](0x2,0x15)-0x1){const _0x515a16=this[_0x560d2b(0x1af)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5c5f17(_0x515a16);return;}this[_0x560d2b(0x20f)]=_0xc51748*Math['pow'](0x2,0x20)+_0x975f8c[_0x560d2b(0x17f)](0x4),this[_0x560d2b(0x158)](_0x5c5f17);}[_0x535b75(0x158)](_0x2bf017){const _0x8a460c=_0x535b75;if(this[_0x8a460c(0x20f)]&&this['_opcode']<0x8&&(this[_0x8a460c(0x1fe)]+=this[_0x8a460c(0x20f)],this[_0x8a460c(0x1fe)]>this[_0x8a460c(0x14c)]&&this['_maxPayload']>0x0)){const _0x203cb7=this[_0x8a460c(0x1af)](RangeError,_0x8a460c(0x26a),!0x1,0x3f1,_0x8a460c(0x145));_0x2bf017(_0x203cb7);return;}this[_0x8a460c(0x1d0)]?this[_0x8a460c(0xc2)]=_0x360b1f:this[_0x8a460c(0xc2)]=_0x150d25;}['getMask'](){const _0x55c835=_0x535b75;if(this[_0x55c835(0x259)]<0x4){this[_0x55c835(0x1a1)]=!0x1;return;}this[_0x55c835(0x15b)]=this[_0x55c835(0x1b7)](0x4),this['_state']=_0x150d25;}[_0x535b75(0x119)](_0x42f674){const _0x51ac61=_0x535b75;let _0x2e888d=_0x3eb0ea;if(this[_0x51ac61(0x20f)]){if(this[_0x51ac61(0x259)]<this[_0x51ac61(0x20f)]){this['_loop']=!0x1;return;}_0x2e888d=this[_0x51ac61(0x1b7)](this[_0x51ac61(0x20f)]),this[_0x51ac61(0x1d0)]&&(this[_0x51ac61(0x15b)][0x0]|this[_0x51ac61(0x15b)][0x1]|this[_0x51ac61(0x15b)][0x2]|this['_mask'][0x3])!==0x0&&_0x35278e(_0x2e888d,this[_0x51ac61(0x15b)]);}if(this['_opcode']>0x7){this[_0x51ac61(0x192)](_0x2e888d,_0x42f674);return;}if(this[_0x51ac61(0x1d9)]){this['_state']=_0x211b43,this[_0x51ac61(0x1c4)](_0x2e888d,_0x42f674);return;}_0x2e888d['length']&&(this[_0x51ac61(0x1e3)]=this[_0x51ac61(0x1fe)],this[_0x51ac61(0x147)][_0x51ac61(0x23f)](_0x2e888d)),this[_0x51ac61(0x16e)](_0x42f674);}[_0x535b75(0x1c4)](_0x4c67e3,_0xfc0b91){const _0x5eb4c9=_0x535b75;this[_0x5eb4c9(0xab)][_0x53070f[_0x5eb4c9(0x208)]]['decompress'](_0x4c67e3,this[_0x5eb4c9(0xf0)],(_0x278fe0,_0x4b0fb7)=>{const _0x4a585b=_0x5eb4c9;if(_0x278fe0)return _0xfc0b91(_0x278fe0);if(_0x4b0fb7[_0x4a585b(0x17c)]){if(this[_0x4a585b(0x1e3)]+=_0x4b0fb7[_0x4a585b(0x17c)],this['_messageLength']>this['_maxPayload']&&this[_0x4a585b(0x14c)]>0x0){const _0x4e4fef=this[_0x4a585b(0x1af)](RangeError,_0x4a585b(0x26a),!0x1,0x3f1,_0x4a585b(0x145));_0xfc0b91(_0x4e4fef);return;}this[_0x4a585b(0x147)]['push'](_0x4b0fb7);}this[_0x4a585b(0x16e)](_0xfc0b91),this[_0x4a585b(0xc2)]===_0x23adbe&&this[_0x4a585b(0x1ab)](_0xfc0b91);});}[_0x535b75(0x16e)](_0x364d5f){const _0x42df44=_0x535b75;if(!this[_0x42df44(0xf0)]){this['_state']=_0x23adbe;return;}const _0x21c279=this[_0x42df44(0x1e3)],_0x49ef3c=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x42df44(0x1ef)]=0x0,this[_0x42df44(0x147)]=[],this['_opcode']===0x2){let _0x47e838;this[_0x42df44(0xb3)]===_0x42df44(0xdc)?_0x47e838=_0x2cf89d(_0x49ef3c,_0x21c279):this[_0x42df44(0xb3)]===_0x42df44(0x25c)?_0x47e838=_0x2ad258(_0x2cf89d(_0x49ef3c,_0x21c279)):this[_0x42df44(0xb3)]===_0x42df44(0x22b)?_0x47e838=new Blob(_0x49ef3c):_0x47e838=_0x49ef3c,this['_allowSynchronousEvents']?(this[_0x42df44(0x1b4)](_0x42df44(0x139),_0x47e838,!0x0),this[_0x42df44(0xc2)]=_0x23adbe):(this[_0x42df44(0xc2)]=_0x330493,setImmediate(()=>{const _0x14b28c=_0x42df44;this[_0x14b28c(0x1b4)]('message',_0x47e838,!0x0),this['_state']=_0x23adbe,this[_0x14b28c(0x1ab)](_0x364d5f);}));}else{const _0x230711=_0x2cf89d(_0x49ef3c,_0x21c279);if(!this[_0x42df44(0x233)]&&!_0x4690a2(_0x230711)){const _0x5858c1=this[_0x42df44(0x1af)](Error,_0x42df44(0x1ff),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x364d5f(_0x5858c1);return;}this[_0x42df44(0xc2)]===_0x211b43||this[_0x42df44(0xe5)]?(this[_0x42df44(0x1b4)](_0x42df44(0x139),_0x230711,!0x1),this['_state']=_0x23adbe):(this[_0x42df44(0xc2)]=_0x330493,setImmediate(()=>{const _0x572a24=_0x42df44;this[_0x572a24(0x1b4)](_0x572a24(0x139),_0x230711,!0x1),this[_0x572a24(0xc2)]=_0x23adbe,this[_0x572a24(0x1ab)](_0x364d5f);}));}}['controlMessage'](_0x288fa7,_0x22bb22){const _0x1af64b=_0x535b75;if(this[_0x1af64b(0x224)]===0x8){if(_0x288fa7['length']===0x0)this[_0x1af64b(0x1a1)]=!0x1,this[_0x1af64b(0x1b4)](_0x1af64b(0x17b),0x3ed,_0x3eb0ea),this[_0x1af64b(0x1a6)]();else{const _0x473a7c=_0x288fa7[_0x1af64b(0x108)](0x0);if(!_0x436246(_0x473a7c)){const _0x11948e=this['createError'](RangeError,_0x1af64b(0x1b6)+_0x473a7c,!0x0,0x3ea,_0x1af64b(0xdf));_0x22bb22(_0x11948e);return;}const _0x2986cb=new _0x4be397(_0x288fa7[_0x1af64b(0xdb)],_0x288fa7[_0x1af64b(0x225)]+0x2,_0x288fa7[_0x1af64b(0x17c)]-0x2);if(!this['_skipUTF8Validation']&&!_0x4690a2(_0x2986cb)){const _0x29f571=this[_0x1af64b(0x1af)](Error,_0x1af64b(0x1ff),!0x0,0x3ef,_0x1af64b(0x180));_0x22bb22(_0x29f571);return;}this[_0x1af64b(0x1a1)]=!0x1,this[_0x1af64b(0x1b4)]('conclude',_0x473a7c,_0x2986cb),this[_0x1af64b(0x1a6)]();}this[_0x1af64b(0xc2)]=_0x23adbe;return;}this[_0x1af64b(0xe5)]?(this[_0x1af64b(0x1b4)](this['_opcode']===0x9?'ping':_0x1af64b(0x1d5),_0x288fa7),this[_0x1af64b(0xc2)]=_0x23adbe):(this[_0x1af64b(0xc2)]=_0x330493,setImmediate(()=>{const _0x2638aa=_0x1af64b;this[_0x2638aa(0x1b4)](this[_0x2638aa(0x224)]===0x9?_0x2638aa(0x117):_0x2638aa(0x1d5),_0x288fa7),this['_state']=_0x23adbe,this[_0x2638aa(0x1ab)](_0x22bb22);}));}['createError'](_0xf158ca,_0x134642,_0xf1f663,_0x3e2b65,_0x5bc18f){const _0x20cfff=_0x535b75;this[_0x20cfff(0x1a1)]=!0x1,this[_0x20cfff(0x1d2)]=!0x0;const _0x1e097a=new _0xf158ca(_0xf1f663?'Invalid\x20WebSocket\x20frame:\x20'+_0x134642:_0x134642);return Error['captureStackTrace'](_0x1e097a,this['createError']),_0x1e097a[_0x20cfff(0x193)]=_0x5bc18f,_0x1e097a[_0x2864e0]=_0x3e2b65,_0x1e097a;}}return _0x4ffd28=_0xae95a8,_0x4ffd28;}var _0x58063f,_0x462d2a;function _0x5958bc(){const _0x158ff1=_0xa5b7c6;if(_0x462d2a)return _0x58063f;_0x462d2a=0x1;const {Duplex:_0x56ef93}=_0x2a6280,{randomFillSync:_0xf600c1}=_0x4108bd,_0x242557=_0x583217(),{EMPTY_BUFFER:_0x1b2904,kWebSocket:_0x17309a,NOOP:_0xf4267}=_0x429b85(),{isBlob:_0x1e8434,isValidStatusCode:_0x469d56}=_0x35aa88(),{mask:_0x172600,toBuffer:_0x44003a}=_0x1e910d(),_0x343b6f=Symbol(_0x158ff1(0x100)),_0xd19832=Buffer[_0x158ff1(0x106)](0x4),_0x231029=0x8*0x400;let _0xccd9b6,_0x41e59a=_0x231029;const _0x42ff68=0x0,_0x2fff8b=0x1,_0x53d831=0x2;class _0x26cbd5{constructor(_0x2d850d,_0x3c8abd,_0x3b130e){const _0x369f85=_0x158ff1;this['_extensions']=_0x3c8abd||{},_0x3b130e&&(this[_0x369f85(0x169)]=_0x3b130e,this['_maskBuffer']=Buffer['alloc'](0x4)),this['_socket']=_0x2d850d,this['_firstFragment']=!0x0,this[_0x369f85(0x179)]=!0x1,this[_0x369f85(0x259)]=0x0,this[_0x369f85(0xf4)]=[],this[_0x369f85(0xc2)]=_0x42ff68,this[_0x369f85(0x243)]=_0xf4267,this[_0x17309a]=void 0x0;}static['frame'](_0x59d83e,_0x3a0a24){const _0x4f39d5=_0x158ff1;let _0x1fdf57,_0x4abcd9=!0x1,_0x47ad88=0x2,_0x10a5fd=!0x1;_0x3a0a24['mask']&&(_0x1fdf57=_0x3a0a24[_0x4f39d5(0xd8)]||_0xd19832,_0x3a0a24[_0x4f39d5(0x1ad)]?_0x3a0a24['generateMask'](_0x1fdf57):(_0x41e59a===_0x231029&&(_0xccd9b6===void 0x0&&(_0xccd9b6=Buffer[_0x4f39d5(0x106)](_0x231029)),_0xf600c1(_0xccd9b6,0x0,_0x231029),_0x41e59a=0x0),_0x1fdf57[0x0]=_0xccd9b6[_0x41e59a++],_0x1fdf57[0x1]=_0xccd9b6[_0x41e59a++],_0x1fdf57[0x2]=_0xccd9b6[_0x41e59a++],_0x1fdf57[0x3]=_0xccd9b6[_0x41e59a++]),_0x10a5fd=(_0x1fdf57[0x0]|_0x1fdf57[0x1]|_0x1fdf57[0x2]|_0x1fdf57[0x3])===0x0,_0x47ad88=0x6);let _0x4cd4a1;typeof _0x59d83e==_0x4f39d5(0x172)?(!_0x3a0a24[_0x4f39d5(0x125)]||_0x10a5fd)&&_0x3a0a24[_0x343b6f]!==void 0x0?_0x4cd4a1=_0x3a0a24[_0x343b6f]:(_0x59d83e=Buffer['from'](_0x59d83e),_0x4cd4a1=_0x59d83e[_0x4f39d5(0x17c)]):(_0x4cd4a1=_0x59d83e[_0x4f39d5(0x17c)],_0x4abcd9=_0x3a0a24['mask']&&_0x3a0a24['readOnly']&&!_0x10a5fd);let _0x746ec5=_0x4cd4a1;_0x4cd4a1>=0x10000?(_0x47ad88+=0x8,_0x746ec5=0x7f):_0x4cd4a1>0x7d&&(_0x47ad88+=0x2,_0x746ec5=0x7e);const _0x2adbc4=Buffer[_0x4f39d5(0x1b8)](_0x4abcd9?_0x4cd4a1+_0x47ad88:_0x47ad88);return _0x2adbc4[0x0]=_0x3a0a24['fin']?_0x3a0a24[_0x4f39d5(0x12a)]|0x80:_0x3a0a24[_0x4f39d5(0x12a)],_0x3a0a24[_0x4f39d5(0xd9)]&&(_0x2adbc4[0x0]|=0x40),_0x2adbc4[0x1]=_0x746ec5,_0x746ec5===0x7e?_0x2adbc4[_0x4f39d5(0x1cc)](_0x4cd4a1,0x2):_0x746ec5===0x7f&&(_0x2adbc4[0x2]=_0x2adbc4[0x3]=0x0,_0x2adbc4['writeUIntBE'](_0x4cd4a1,0x4,0x6)),_0x3a0a24[_0x4f39d5(0x125)]?(_0x2adbc4[0x1]|=0x80,_0x2adbc4[_0x47ad88-0x4]=_0x1fdf57[0x0],_0x2adbc4[_0x47ad88-0x3]=_0x1fdf57[0x1],_0x2adbc4[_0x47ad88-0x2]=_0x1fdf57[0x2],_0x2adbc4[_0x47ad88-0x1]=_0x1fdf57[0x3],_0x10a5fd?[_0x2adbc4,_0x59d83e]:_0x4abcd9?(_0x172600(_0x59d83e,_0x1fdf57,_0x2adbc4,_0x47ad88,_0x4cd4a1),[_0x2adbc4]):(_0x172600(_0x59d83e,_0x1fdf57,_0x59d83e,0x0,_0x4cd4a1),[_0x2adbc4,_0x59d83e])):[_0x2adbc4,_0x59d83e];}[_0x158ff1(0x261)](_0x1c7dc2,_0x4d5642,_0x4cf61f,_0x43c3be){const _0x32ac79=_0x158ff1;let _0x558dd6;if(_0x1c7dc2===void 0x0)_0x558dd6=_0x1b2904;else{if(typeof _0x1c7dc2!=_0x32ac79(0x23c)||!_0x469d56(_0x1c7dc2))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x4d5642===void 0x0||!_0x4d5642[_0x32ac79(0x17c)])_0x558dd6=Buffer[_0x32ac79(0x1b8)](0x2),_0x558dd6['writeUInt16BE'](_0x1c7dc2,0x0);else{const _0x5d250d=Buffer[_0x32ac79(0xb5)](_0x4d5642);if(_0x5d250d>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x558dd6=Buffer[_0x32ac79(0x1b8)](0x2+_0x5d250d),_0x558dd6[_0x32ac79(0x1cc)](_0x1c7dc2,0x0),typeof _0x4d5642==_0x32ac79(0x172)?_0x558dd6[_0x32ac79(0xbe)](_0x4d5642,0x2):_0x558dd6['set'](_0x4d5642,0x2);}}const _0x54c369={[_0x343b6f]:_0x558dd6[_0x32ac79(0x17c)],'fin':!0x0,'generateMask':this[_0x32ac79(0x169)],'mask':_0x4cf61f,'maskBuffer':this[_0x32ac79(0xe3)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x32ac79(0xc2)]!==_0x42ff68?this['enqueue']([this[_0x32ac79(0x153)],_0x558dd6,!0x1,_0x54c369,_0x43c3be]):this[_0x32ac79(0xe1)](_0x26cbd5['frame'](_0x558dd6,_0x54c369),_0x43c3be);}['ping'](_0x2e066e,_0x5da5e3,_0x39a491){const _0x29917c=_0x158ff1;let _0x5f2490,_0x15640b;if(typeof _0x2e066e=='string'?(_0x5f2490=Buffer[_0x29917c(0xb5)](_0x2e066e),_0x15640b=!0x1):_0x1e8434(_0x2e066e)?(_0x5f2490=_0x2e066e[_0x29917c(0x113)],_0x15640b=!0x1):(_0x2e066e=_0x44003a(_0x2e066e),_0x5f2490=_0x2e066e[_0x29917c(0x17c)],_0x15640b=_0x44003a[_0x29917c(0xf8)]),_0x5f2490>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3a3bf8={[_0x343b6f]:_0x5f2490,'fin':!0x0,'generateMask':this[_0x29917c(0x169)],'mask':_0x5da5e3,'maskBuffer':this[_0x29917c(0xe3)],'opcode':0x9,'readOnly':_0x15640b,'rsv1':!0x1};_0x1e8434(_0x2e066e)?this[_0x29917c(0xc2)]!==_0x42ff68?this[_0x29917c(0x1ae)]([this['getBlobData'],_0x2e066e,!0x1,_0x3a3bf8,_0x39a491]):this['getBlobData'](_0x2e066e,!0x1,_0x3a3bf8,_0x39a491):this[_0x29917c(0xc2)]!==_0x42ff68?this[_0x29917c(0x1ae)]([this[_0x29917c(0x153)],_0x2e066e,!0x1,_0x3a3bf8,_0x39a491]):this[_0x29917c(0xe1)](_0x26cbd5[_0x29917c(0x159)](_0x2e066e,_0x3a3bf8),_0x39a491);}[_0x158ff1(0x1d5)](_0x4a4246,_0x4affc1,_0x24ccb1){const _0x136bc0=_0x158ff1;let _0x459143,_0x181218;if(typeof _0x4a4246==_0x136bc0(0x172)?(_0x459143=Buffer['byteLength'](_0x4a4246),_0x181218=!0x1):_0x1e8434(_0x4a4246)?(_0x459143=_0x4a4246['size'],_0x181218=!0x1):(_0x4a4246=_0x44003a(_0x4a4246),_0x459143=_0x4a4246[_0x136bc0(0x17c)],_0x181218=_0x44003a[_0x136bc0(0xf8)]),_0x459143>0x7d)throw new RangeError(_0x136bc0(0x1dd));const _0x4279d9={[_0x343b6f]:_0x459143,'fin':!0x0,'generateMask':this[_0x136bc0(0x169)],'mask':_0x4affc1,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x181218,'rsv1':!0x1};_0x1e8434(_0x4a4246)?this['_state']!==_0x42ff68?this[_0x136bc0(0x1ae)]([this[_0x136bc0(0x168)],_0x4a4246,!0x1,_0x4279d9,_0x24ccb1]):this[_0x136bc0(0x168)](_0x4a4246,!0x1,_0x4279d9,_0x24ccb1):this['_state']!==_0x42ff68?this[_0x136bc0(0x1ae)]([this['dispatch'],_0x4a4246,!0x1,_0x4279d9,_0x24ccb1]):this[_0x136bc0(0xe1)](_0x26cbd5['frame'](_0x4a4246,_0x4279d9),_0x24ccb1);}['send'](_0x5bb7cb,_0x83b41a,_0x5cd28e){const _0x3d5ed5=_0x158ff1,_0x3f3cfa=this[_0x3d5ed5(0xab)][_0x242557[_0x3d5ed5(0x208)]];let _0x532778=_0x83b41a[_0x3d5ed5(0xf1)]?0x2:0x1,_0x763ef4=_0x83b41a[_0x3d5ed5(0x10e)],_0xc75336,_0x316b86;typeof _0x5bb7cb=='string'?(_0xc75336=Buffer[_0x3d5ed5(0xb5)](_0x5bb7cb),_0x316b86=!0x1):_0x1e8434(_0x5bb7cb)?(_0xc75336=_0x5bb7cb[_0x3d5ed5(0x113)],_0x316b86=!0x1):(_0x5bb7cb=_0x44003a(_0x5bb7cb),_0xc75336=_0x5bb7cb[_0x3d5ed5(0x17c)],_0x316b86=_0x44003a[_0x3d5ed5(0xf8)]),this[_0x3d5ed5(0x260)]?(this['_firstFragment']=!0x1,_0x763ef4&&_0x3f3cfa&&_0x3f3cfa['params'][_0x3f3cfa[_0x3d5ed5(0x1a4)]?_0x3d5ed5(0x1de):_0x3d5ed5(0x1ea)]&&(_0x763ef4=_0xc75336>=_0x3f3cfa['_threshold']),this['_compress']=_0x763ef4):(_0x763ef4=!0x1,_0x532778=0x0),_0x83b41a[_0x3d5ed5(0x115)]&&(this[_0x3d5ed5(0x260)]=!0x0);const _0x353cb6={[_0x343b6f]:_0xc75336,'fin':_0x83b41a[_0x3d5ed5(0x115)],'generateMask':this[_0x3d5ed5(0x169)],'mask':_0x83b41a[_0x3d5ed5(0x125)],'maskBuffer':this[_0x3d5ed5(0xe3)],'opcode':_0x532778,'readOnly':_0x316b86,'rsv1':_0x763ef4};_0x1e8434(_0x5bb7cb)?this[_0x3d5ed5(0xc2)]!==_0x42ff68?this['enqueue']([this[_0x3d5ed5(0x168)],_0x5bb7cb,this[_0x3d5ed5(0x179)],_0x353cb6,_0x5cd28e]):this['getBlobData'](_0x5bb7cb,this[_0x3d5ed5(0x179)],_0x353cb6,_0x5cd28e):this[_0x3d5ed5(0xc2)]!==_0x42ff68?this['enqueue']([this[_0x3d5ed5(0x153)],_0x5bb7cb,this[_0x3d5ed5(0x179)],_0x353cb6,_0x5cd28e]):this[_0x3d5ed5(0x153)](_0x5bb7cb,this['_compress'],_0x353cb6,_0x5cd28e);}[_0x158ff1(0x168)](_0x54dc87,_0x55c46f,_0x39eecd,_0x332dbe){const _0x419660=_0x158ff1;this[_0x419660(0x259)]+=_0x39eecd[_0x343b6f],this[_0x419660(0xc2)]=_0x53d831,_0x54dc87['arrayBuffer']()[_0x419660(0xe6)](_0x102899=>{const _0x28fda3=_0x419660;if(this[_0x28fda3(0x16c)][_0x28fda3(0x188)]){const _0x35484e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x28fda3(0xef)](_0xd4b79b,this,_0x35484e,_0x332dbe);return;}this[_0x28fda3(0x259)]-=_0x39eecd[_0x343b6f];const _0x68037f=_0x44003a(_0x102899);_0x55c46f?this[_0x28fda3(0x153)](_0x68037f,_0x55c46f,_0x39eecd,_0x332dbe):(this[_0x28fda3(0xc2)]=_0x42ff68,this[_0x28fda3(0xe1)](_0x26cbd5[_0x28fda3(0x159)](_0x68037f,_0x39eecd),_0x332dbe),this[_0x28fda3(0xae)]());})[_0x419660(0x134)](_0x14ebbe=>{process['nextTick'](_0x1c175b,this,_0x14ebbe,_0x332dbe);});}['dispatch'](_0x39ba06,_0x45f806,_0x12aa15,_0x221113){const _0xf0c7c1=_0x158ff1;if(!_0x45f806){this['sendFrame'](_0x26cbd5[_0xf0c7c1(0x159)](_0x39ba06,_0x12aa15),_0x221113);return;}const _0x36a643=this['_extensions'][_0x242557['extensionName']];this['_bufferedBytes']+=_0x12aa15[_0x343b6f],this['_state']=_0x2fff8b,_0x36a643[_0xf0c7c1(0x10e)](_0x39ba06,_0x12aa15[_0xf0c7c1(0x115)],(_0x379b63,_0x349f14)=>{const _0x20a174=_0xf0c7c1;if(this['_socket'][_0x20a174(0x188)]){const _0x517761=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0xd4b79b(this,_0x517761,_0x221113);return;}this[_0x20a174(0x259)]-=_0x12aa15[_0x343b6f],this[_0x20a174(0xc2)]=_0x42ff68,_0x12aa15[_0x20a174(0xf8)]=!0x1,this[_0x20a174(0xe1)](_0x26cbd5[_0x20a174(0x159)](_0x349f14,_0x12aa15),_0x221113),this[_0x20a174(0xae)]();});}[_0x158ff1(0xae)](){const _0x13f662=_0x158ff1;for(;this[_0x13f662(0xc2)]===_0x42ff68&&this[_0x13f662(0xf4)][_0x13f662(0x17c)];){const _0x2e5a55=this[_0x13f662(0xf4)][_0x13f662(0xa8)]();this[_0x13f662(0x259)]-=_0x2e5a55[0x3][_0x343b6f],Reflect[_0x13f662(0xaa)](_0x2e5a55[0x0],this,_0x2e5a55[_0x13f662(0xf9)](0x1));}}[_0x158ff1(0x1ae)](_0x634937){const _0x22294d=_0x158ff1;this[_0x22294d(0x259)]+=_0x634937[0x3][_0x343b6f],this[_0x22294d(0xf4)]['push'](_0x634937);}['sendFrame'](_0x3ae268,_0x4ec263){const _0xb8a14=_0x158ff1;_0x3ae268['length']===0x2?(this[_0xb8a14(0x16c)][_0xb8a14(0x1c7)](),this[_0xb8a14(0x16c)][_0xb8a14(0xbe)](_0x3ae268[0x0]),this[_0xb8a14(0x16c)][_0xb8a14(0xbe)](_0x3ae268[0x1],_0x4ec263),this['_socket'][_0xb8a14(0x114)]()):this[_0xb8a14(0x16c)][_0xb8a14(0xbe)](_0x3ae268[0x0],_0x4ec263);}}_0x58063f=_0x26cbd5;function _0xd4b79b(_0x4420cd,_0x38f995,_0x592dd3){const _0x5d28e6=_0x158ff1;typeof _0x592dd3==_0x5d28e6(0xc0)&&_0x592dd3(_0x38f995);for(let _0x1fc6d9=0x0;_0x1fc6d9<_0x4420cd['_queue'][_0x5d28e6(0x17c)];_0x1fc6d9++){const _0x44c785=_0x4420cd[_0x5d28e6(0xf4)][_0x1fc6d9],_0x170408=_0x44c785[_0x44c785[_0x5d28e6(0x17c)]-0x1];typeof _0x170408==_0x5d28e6(0xc0)&&_0x170408(_0x38f995);}}function _0x1c175b(_0x454b6a,_0x165f64,_0x4c1659){const _0x266d83=_0x158ff1;_0xd4b79b(_0x454b6a,_0x165f64,_0x4c1659),_0x454b6a[_0x266d83(0x243)](_0x165f64);}return _0x58063f;}var _0x4c6312,_0x3baaa2;function _0x46c208(){const _0x3d81af=_0xa5b7c6;if(_0x3baaa2)return _0x4c6312;_0x3baaa2=0x1;const {kForOnEventAttribute:_0x161150,kListener:_0x4249a0}=_0x429b85(),_0x343730=Symbol(_0x3d81af(0x215)),_0x4c40e3=Symbol(_0x3d81af(0xbd)),_0x562d22=Symbol(_0x3d81af(0x23a)),_0x511601=Symbol(_0x3d81af(0x213)),_0x373fda=Symbol(_0x3d81af(0x1da)),_0x2fce68=Symbol('kTarget'),_0x18792a=Symbol(_0x3d81af(0xb2)),_0x8b5e35=Symbol('kWasClean');class _0x3557cd{constructor(_0xf3a80){this[_0x2fce68]=null,this[_0x18792a]=_0xf3a80;}get['target'](){return this[_0x2fce68];}get[_0x3d81af(0x212)](){return this[_0x18792a];}}Object[_0x3d81af(0xcb)](_0x3557cd[_0x3d81af(0x1f7)],'target',{'enumerable':!0x0}),Object[_0x3d81af(0xcb)](_0x3557cd[_0x3d81af(0x1f7)],_0x3d81af(0x212),{'enumerable':!0x0});class _0x581df9 extends _0x3557cd{constructor(_0xb379e9,_0x365ba5={}){const _0x26760b=_0x3d81af;super(_0xb379e9),this[_0x343730]=_0x365ba5[_0x26760b(0x193)]===void 0x0?0x0:_0x365ba5['code'],this[_0x373fda]=_0x365ba5[_0x26760b(0xcd)]===void 0x0?'':_0x365ba5[_0x26760b(0xcd)],this[_0x8b5e35]=_0x365ba5['wasClean']===void 0x0?!0x1:_0x365ba5[_0x26760b(0x150)];}get['code'](){return this[_0x343730];}get[_0x3d81af(0xcd)](){return this[_0x373fda];}get[_0x3d81af(0x150)](){return this[_0x8b5e35];}}Object[_0x3d81af(0xcb)](_0x581df9['prototype'],_0x3d81af(0x193),{'enumerable':!0x0}),Object['defineProperty'](_0x581df9[_0x3d81af(0x1f7)],'reason',{'enumerable':!0x0}),Object[_0x3d81af(0xcb)](_0x581df9['prototype'],_0x3d81af(0x150),{'enumerable':!0x0});class _0x1a2009 extends _0x3557cd{constructor(_0x38e826,_0x46417b={}){const _0x446946=_0x3d81af;super(_0x38e826),this[_0x562d22]=_0x46417b[_0x446946(0x1b5)]===void 0x0?null:_0x46417b['error'],this[_0x511601]=_0x46417b[_0x446946(0x139)]===void 0x0?'':_0x46417b[_0x446946(0x139)];}get[_0x3d81af(0x1b5)](){return this[_0x562d22];}get[_0x3d81af(0x139)](){return this[_0x511601];}}Object['defineProperty'](_0x1a2009['prototype'],_0x3d81af(0x1b5),{'enumerable':!0x0}),Object['defineProperty'](_0x1a2009['prototype'],'message',{'enumerable':!0x0});class _0x5d4648 extends _0x3557cd{constructor(_0x16863d,_0x1b9cbc={}){const _0x56528f=_0x3d81af;super(_0x16863d),this[_0x4c40e3]=_0x1b9cbc['data']===void 0x0?null:_0x1b9cbc[_0x56528f(0xed)];}get[_0x3d81af(0xed)](){return this[_0x4c40e3];}}Object[_0x3d81af(0xcb)](_0x5d4648[_0x3d81af(0x1f7)],_0x3d81af(0xed),{'enumerable':!0x0}),_0x4c6312={'CloseEvent':_0x581df9,'ErrorEvent':_0x1a2009,'Event':_0x3557cd,'EventTarget':{'addEventListener'(_0x53212e,_0x287643,_0x404151={}){const _0x15bfac=_0x3d81af;for(const _0x39134e of this[_0x15bfac(0x1e6)](_0x53212e))if(!_0x404151[_0x161150]&&_0x39134e[_0x4249a0]===_0x287643&&!_0x39134e[_0x161150])return;let _0x306a62;if(_0x53212e===_0x15bfac(0x139))_0x306a62=function(_0x122dbc,_0x569582){const _0x145402=_0x15bfac,_0x255fd6=new _0x5d4648(_0x145402(0x139),{'data':_0x569582?_0x122dbc:_0x122dbc['toString']()});_0x255fd6[_0x2fce68]=this,_0x4786cf(_0x287643,this,_0x255fd6);};else{if(_0x53212e===_0x15bfac(0x261))_0x306a62=function(_0x2b7c74,_0x359e0f){const _0x567df6=_0x15bfac,_0x51fdf9=new _0x581df9('close',{'code':_0x2b7c74,'reason':_0x359e0f['toString'](),'wasClean':this[_0x567df6(0x10b)]&&this[_0x567df6(0x126)]});_0x51fdf9[_0x2fce68]=this,_0x4786cf(_0x287643,this,_0x51fdf9);};else{if(_0x53212e===_0x15bfac(0x1b5))_0x306a62=function(_0x352f94){const _0x5c8fd9=_0x15bfac,_0x4eabaa=new _0x1a2009(_0x5c8fd9(0x1b5),{'error':_0x352f94,'message':_0x352f94[_0x5c8fd9(0x139)]});_0x4eabaa[_0x2fce68]=this,_0x4786cf(_0x287643,this,_0x4eabaa);};else{if(_0x53212e==='open')_0x306a62=function(){const _0x678cac=_0x15bfac,_0x1775fe=new _0x3557cd(_0x678cac(0x156));_0x1775fe[_0x2fce68]=this,_0x4786cf(_0x287643,this,_0x1775fe);};else return;}}}_0x306a62[_0x161150]=!!_0x404151[_0x161150],_0x306a62[_0x4249a0]=_0x287643,_0x404151['once']?this['once'](_0x53212e,_0x306a62):this['on'](_0x53212e,_0x306a62);},'removeEventListener'(_0x2cfb7e,_0x4ec98e){for(const _0x537ec3 of this['listeners'](_0x2cfb7e))if(_0x537ec3[_0x4249a0]===_0x4ec98e&&!_0x537ec3[_0x161150]){this['removeListener'](_0x2cfb7e,_0x537ec3);break;}}},'MessageEvent':_0x5d4648};function _0x4786cf(_0x55f9fc,_0x18f84b,_0x21dec8){const _0x5442f8=_0x3d81af;typeof _0x55f9fc==_0x5442f8(0x11c)&&_0x55f9fc[_0x5442f8(0x163)]?_0x55f9fc[_0x5442f8(0x163)]['call'](_0x55f9fc,_0x21dec8):_0x55f9fc[_0x5442f8(0xd7)](_0x18f84b,_0x21dec8);}return _0x4c6312;}var _0x21c3a7,_0x31cc22;function _0x20e1ea(){if(_0x31cc22)return _0x21c3a7;_0x31cc22=0x1;const {tokenChars:_0x4d32c7}=_0x35aa88();function _0x380702(_0x42c276,_0x31477b,_0x3ca613){const _0x20dabf=_0xe28f;_0x42c276[_0x31477b]===void 0x0?_0x42c276[_0x31477b]=[_0x3ca613]:_0x42c276[_0x31477b][_0x20dabf(0x23f)](_0x3ca613);}function _0x5a51fd(_0x2e9173){const _0x443714=_0xe28f,_0x4bca3e=Object[_0x443714(0x257)](null);let _0x23b610=Object[_0x443714(0x257)](null),_0x5b6f2f=!0x1,_0x3cc816=!0x1,_0x1218b2=!0x1,_0x147c2e,_0x1d38fd,_0x56b855=-0x1,_0x4e7228=-0x1,_0x3fdd1f=-0x1,_0x46efe3=0x0;for(;_0x46efe3<_0x2e9173['length'];_0x46efe3++)if(_0x4e7228=_0x2e9173[_0x443714(0x121)](_0x46efe3),_0x147c2e===void 0x0){if(_0x3fdd1f===-0x1&&_0x4d32c7[_0x4e7228]===0x1)_0x56b855===-0x1&&(_0x56b855=_0x46efe3);else{if(_0x46efe3!==0x0&&(_0x4e7228===0x20||_0x4e7228===0x9))_0x3fdd1f===-0x1&&_0x56b855!==-0x1&&(_0x3fdd1f=_0x46efe3);else{if(_0x4e7228===0x3b||_0x4e7228===0x2c){if(_0x56b855===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46efe3);_0x3fdd1f===-0x1&&(_0x3fdd1f=_0x46efe3);const _0x4034e6=_0x2e9173[_0x443714(0xf9)](_0x56b855,_0x3fdd1f);_0x4e7228===0x2c?(_0x380702(_0x4bca3e,_0x4034e6,_0x23b610),_0x23b610=Object[_0x443714(0x257)](null)):_0x147c2e=_0x4034e6,_0x56b855=_0x3fdd1f=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46efe3);}}}else{if(_0x1d38fd===void 0x0){if(_0x3fdd1f===-0x1&&_0x4d32c7[_0x4e7228]===0x1)_0x56b855===-0x1&&(_0x56b855=_0x46efe3);else{if(_0x4e7228===0x20||_0x4e7228===0x9)_0x3fdd1f===-0x1&&_0x56b855!==-0x1&&(_0x3fdd1f=_0x46efe3);else{if(_0x4e7228===0x3b||_0x4e7228===0x2c){if(_0x56b855===-0x1)throw new SyntaxError(_0x443714(0x1c3)+_0x46efe3);_0x3fdd1f===-0x1&&(_0x3fdd1f=_0x46efe3),_0x380702(_0x23b610,_0x2e9173['slice'](_0x56b855,_0x3fdd1f),!0x0),_0x4e7228===0x2c&&(_0x380702(_0x4bca3e,_0x147c2e,_0x23b610),_0x23b610=Object[_0x443714(0x257)](null),_0x147c2e=void 0x0),_0x56b855=_0x3fdd1f=-0x1;}else{if(_0x4e7228===0x3d&&_0x56b855!==-0x1&&_0x3fdd1f===-0x1)_0x1d38fd=_0x2e9173[_0x443714(0xf9)](_0x56b855,_0x46efe3),_0x56b855=_0x3fdd1f=-0x1;else throw new SyntaxError(_0x443714(0x1c3)+_0x46efe3);}}}}else{if(_0x3cc816){if(_0x4d32c7[_0x4e7228]!==0x1)throw new SyntaxError(_0x443714(0x1c3)+_0x46efe3);_0x56b855===-0x1?_0x56b855=_0x46efe3:_0x5b6f2f||(_0x5b6f2f=!0x0),_0x3cc816=!0x1;}else{if(_0x1218b2){if(_0x4d32c7[_0x4e7228]===0x1)_0x56b855===-0x1&&(_0x56b855=_0x46efe3);else{if(_0x4e7228===0x22&&_0x56b855!==-0x1)_0x1218b2=!0x1,_0x3fdd1f=_0x46efe3;else{if(_0x4e7228===0x5c)_0x3cc816=!0x0;else throw new SyntaxError(_0x443714(0x1c3)+_0x46efe3);}}}else{if(_0x4e7228===0x22&&_0x2e9173[_0x443714(0x121)](_0x46efe3-0x1)===0x3d)_0x1218b2=!0x0;else{if(_0x3fdd1f===-0x1&&_0x4d32c7[_0x4e7228]===0x1)_0x56b855===-0x1&&(_0x56b855=_0x46efe3);else{if(_0x56b855!==-0x1&&(_0x4e7228===0x20||_0x4e7228===0x9))_0x3fdd1f===-0x1&&(_0x3fdd1f=_0x46efe3);else{if(_0x4e7228===0x3b||_0x4e7228===0x2c){if(_0x56b855===-0x1)throw new SyntaxError(_0x443714(0x1c3)+_0x46efe3);_0x3fdd1f===-0x1&&(_0x3fdd1f=_0x46efe3);let _0x25ced3=_0x2e9173[_0x443714(0xf9)](_0x56b855,_0x3fdd1f);_0x5b6f2f&&(_0x25ced3=_0x25ced3[_0x443714(0xf7)](/\\/g,''),_0x5b6f2f=!0x1),_0x380702(_0x23b610,_0x1d38fd,_0x25ced3),_0x4e7228===0x2c&&(_0x380702(_0x4bca3e,_0x147c2e,_0x23b610),_0x23b610=Object[_0x443714(0x257)](null),_0x147c2e=void 0x0),_0x1d38fd=void 0x0,_0x56b855=_0x3fdd1f=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46efe3);}}}}}}}if(_0x56b855===-0x1||_0x1218b2||_0x4e7228===0x20||_0x4e7228===0x9)throw new SyntaxError(_0x443714(0x255));_0x3fdd1f===-0x1&&(_0x3fdd1f=_0x46efe3);const _0x1e2117=_0x2e9173['slice'](_0x56b855,_0x3fdd1f);return _0x147c2e===void 0x0?_0x380702(_0x4bca3e,_0x1e2117,_0x23b610):(_0x1d38fd===void 0x0?_0x380702(_0x23b610,_0x1e2117,!0x0):_0x5b6f2f?_0x380702(_0x23b610,_0x1d38fd,_0x1e2117[_0x443714(0xf7)](/\\/g,'')):_0x380702(_0x23b610,_0x1d38fd,_0x1e2117),_0x380702(_0x4bca3e,_0x147c2e,_0x23b610)),_0x4bca3e;}function _0x2c7d7e(_0x437b02){const _0x3231bf=_0xe28f;return Object[_0x3231bf(0x13e)](_0x437b02)[_0x3231bf(0x166)](_0x41c92c=>{const _0x900a05=_0x3231bf;let _0x3daebb=_0x437b02[_0x41c92c];return Array[_0x900a05(0xba)](_0x3daebb)||(_0x3daebb=[_0x3daebb]),_0x3daebb['map'](_0x29c904=>[_0x41c92c][_0x900a05(0x1a7)](Object[_0x900a05(0x13e)](_0x29c904)[_0x900a05(0x166)](_0x5e9fed=>{const _0x4ed46c=_0x900a05;let _0x1909db=_0x29c904[_0x5e9fed];return Array['isArray'](_0x1909db)||(_0x1909db=[_0x1909db]),_0x1909db['map'](_0x3763eb=>_0x3763eb===!0x0?_0x5e9fed:_0x5e9fed+'='+_0x3763eb)[_0x4ed46c(0x173)](';\x20');}))[_0x900a05(0x173)](';\x20'))[_0x900a05(0x173)](',\x20');})['join'](',\x20');}return _0x21c3a7={'format':_0x2c7d7e,'parse':_0x5a51fd},_0x21c3a7;}var _0x156f79,_0x3df875;function _0x28627c(){const _0x244817=_0xa5b7c6;if(_0x3df875)return _0x156f79;_0x3df875=0x1;const _0x1fd37a=_0x5bc942,_0x3c9c16=_0x3de7b7,_0x11b212=_0x368d6a,_0x58f5d1=_0x10bcf0,_0x10ce7d=_0x13497c,{randomBytes:_0x205216,createHash:_0x2f290b}=_0x4108bd,{Duplex:_0x3bf443,Readable:_0x13db2d}=_0x2a6280,{URL:_0x379c3b}=_0x396d78,_0x661b96=_0x583217(),_0x47381b=_0x38952c(),_0x285319=_0x5958bc(),{isBlob:_0x371ecd}=_0x35aa88(),{BINARY_TYPES:_0x578969,EMPTY_BUFFER:_0x57af82,GUID:_0x22b95d,kForOnEventAttribute:_0x3c05eb,kListener:_0x291ff2,kStatusCode:_0x4ef09a,kWebSocket:_0x31a417,NOOP:_0x1c5af5}=_0x429b85(),{EventTarget:{addEventListener:_0x2fa4e7,removeEventListener:_0x932943}}=_0x46c208(),{format:_0x54c002,parse:_0x39e141}=_0x20e1ea(),{toBuffer:_0x4bdaa1}=_0x1e910d(),_0x285843=0x1e*0x3e8,_0x266175=Symbol(_0x244817(0x1e9)),_0x4343ff=[0x8,0xd],_0x1c9b2c=[_0x244817(0x101),_0x244817(0x99),_0x244817(0x239),_0x244817(0x149)],_0xa4e257=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x10cd26 extends _0x1fd37a{constructor(_0x3fa3d6,_0x11f2b2,_0x3da23a){const _0x475e3f=_0x244817;super(),this[_0x475e3f(0xb3)]=_0x578969[0x0],this['_closeCode']=0x3ee,this[_0x475e3f(0x10b)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x475e3f(0x1a8)]=_0x57af82,this[_0x475e3f(0xfa)]=null,this[_0x475e3f(0x251)]=!0x1,this[_0x475e3f(0xab)]={},this['_paused']=!0x1,this[_0x475e3f(0x256)]='',this[_0x475e3f(0xe7)]=_0x10cd26[_0x475e3f(0x101)],this[_0x475e3f(0xe2)]=null,this[_0x475e3f(0x24c)]=null,this[_0x475e3f(0x16c)]=null,_0x3fa3d6!==null?(this[_0x475e3f(0x218)]=0x0,this[_0x475e3f(0x1a4)]=!0x1,this['_redirects']=0x0,_0x11f2b2===void 0x0?_0x11f2b2=[]:Array[_0x475e3f(0xba)](_0x11f2b2)||(typeof _0x11f2b2==_0x475e3f(0x11c)&&_0x11f2b2!==null?(_0x3da23a=_0x11f2b2,_0x11f2b2=[]):_0x11f2b2=[_0x11f2b2]),_0x36d3ad(this,_0x3fa3d6,_0x11f2b2,_0x3da23a)):(this[_0x475e3f(0xb7)]=_0x3da23a[_0x475e3f(0x269)],this['_isServer']=!0x0);}get[_0x244817(0x246)](){const _0x1dc1d0=_0x244817;return this[_0x1dc1d0(0xb3)];}set['binaryType'](_0xec9a86){const _0x4a2041=_0x244817;_0x578969[_0x4a2041(0x131)](_0xec9a86)&&(this['_binaryType']=_0xec9a86,this['_receiver']&&(this[_0x4a2041(0xe2)]['_binaryType']=_0xec9a86));}get['bufferedAmount'](){const _0x50bb86=_0x244817;return this['_socket']?this[_0x50bb86(0x16c)][_0x50bb86(0xd6)]['length']+this[_0x50bb86(0x24c)]['_bufferedBytes']:this[_0x50bb86(0x218)];}get['extensions'](){const _0x426673=_0x244817;return Object[_0x426673(0x13e)](this[_0x426673(0xab)])[_0x426673(0x173)]();}get[_0x244817(0x205)](){const _0x2e6486=_0x244817;return this[_0x2e6486(0x241)];}get[_0x244817(0x1dc)](){return null;}get[_0x244817(0x243)](){return null;}get[_0x244817(0x109)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x244817(0x248)](){return this['_readyState'];}get[_0x244817(0x176)](){const _0x26db29=_0x244817;return this[_0x26db29(0x13f)];}[_0x244817(0xee)](_0x45b24d,_0xf3d70,_0x2b0a0d){const _0x2d4566=_0x244817,_0x4313c1=new _0x47381b({'allowSynchronousEvents':_0x2b0a0d['allowSynchronousEvents'],'binaryType':this[_0x2d4566(0x246)],'extensions':this[_0x2d4566(0xab)],'isServer':this['_isServer'],'maxPayload':_0x2b0a0d['maxPayload'],'skipUTF8Validation':_0x2b0a0d[_0x2d4566(0x253)]}),_0xeb9f4b=new _0x285319(_0x45b24d,this[_0x2d4566(0xab)],_0x2b0a0d[_0x2d4566(0x1ad)]);this[_0x2d4566(0xe2)]=_0x4313c1,this['_sender']=_0xeb9f4b,this['_socket']=_0x45b24d,_0x4313c1[_0x31a417]=this,_0xeb9f4b[_0x31a417]=this,_0x45b24d[_0x31a417]=this,_0x4313c1['on'](_0x2d4566(0x17b),_0x5aaf66),_0x4313c1['on'](_0x2d4566(0xb4),_0x1d52a2),_0x4313c1['on'](_0x2d4566(0x1b5),_0x3aae0b),_0x4313c1['on'](_0x2d4566(0x139),_0x487b83),_0x4313c1['on'](_0x2d4566(0x117),_0xcb7e98),_0x4313c1['on'](_0x2d4566(0x1d5),_0x569311),_0xeb9f4b['onerror']=_0x2b264f,_0x45b24d[_0x2d4566(0xa6)]&&_0x45b24d['setTimeout'](0x0),_0x45b24d[_0x2d4566(0x24b)]&&_0x45b24d[_0x2d4566(0x24b)](),_0xf3d70['length']>0x0&&_0x45b24d['unshift'](_0xf3d70),_0x45b24d['on'](_0x2d4566(0x261),_0x2180c4),_0x45b24d['on'](_0x2d4566(0xed),_0x52f245),_0x45b24d['on']('end',_0x375656),_0x45b24d['on'](_0x2d4566(0x1b5),_0x4aef23),this[_0x2d4566(0xe7)]=_0x10cd26[_0x2d4566(0x99)],this[_0x2d4566(0x1b4)](_0x2d4566(0x156));}[_0x244817(0x13b)](){const _0x2a5635=_0x244817;if(!this[_0x2a5635(0x16c)]){this[_0x2a5635(0xe7)]=_0x10cd26[_0x2a5635(0x149)],this[_0x2a5635(0x1b4)](_0x2a5635(0x261),this[_0x2a5635(0x268)],this['_closeMessage']);return;}this[_0x2a5635(0xab)][_0x661b96[_0x2a5635(0x208)]]&&this[_0x2a5635(0xab)][_0x661b96['extensionName']]['cleanup'](),this[_0x2a5635(0xe2)][_0x2a5635(0x133)](),this[_0x2a5635(0xe7)]=_0x10cd26['CLOSED'],this['emit'](_0x2a5635(0x261),this[_0x2a5635(0x268)],this[_0x2a5635(0x1a8)]);}['close'](_0x3a6528,_0x50d9cc){const _0x53edf3=_0x244817;if(this[_0x53edf3(0x248)]!==_0x10cd26[_0x53edf3(0x149)]){if(this[_0x53edf3(0x248)]===_0x10cd26[_0x53edf3(0x101)]){_0x2dd549(this,this[_0x53edf3(0xe4)],_0x53edf3(0xf5));return;}if(this[_0x53edf3(0x248)]===_0x10cd26[_0x53edf3(0x239)]){this[_0x53edf3(0x126)]&&(this['_closeFrameReceived']||this[_0x53edf3(0xe2)][_0x53edf3(0xd6)][_0x53edf3(0x1cf)])&&this['_socket'][_0x53edf3(0x1a6)]();return;}this['_readyState']=_0x10cd26[_0x53edf3(0x239)],this[_0x53edf3(0x24c)][_0x53edf3(0x261)](_0x3a6528,_0x50d9cc,!this[_0x53edf3(0x1a4)],_0x300687=>{const _0x1dd3b6=_0x53edf3;_0x300687||(this['_closeFrameSent']=!0x0,(this[_0x1dd3b6(0x10b)]||this['_receiver'][_0x1dd3b6(0xd6)]['errorEmitted'])&&this[_0x1dd3b6(0x16c)][_0x1dd3b6(0x1a6)]());}),_0x186c39(this);}}['pause'](){const _0x276e8f=_0x244817;this['readyState']===_0x10cd26[_0x276e8f(0x101)]||this[_0x276e8f(0x248)]===_0x10cd26[_0x276e8f(0x149)]||(this[_0x276e8f(0x241)]=!0x0,this[_0x276e8f(0x16c)][_0x276e8f(0x1b3)]());}['ping'](_0x59c94e,_0x5d081d,_0x4fa552){const _0x14180f=_0x244817;if(this['readyState']===_0x10cd26[_0x14180f(0x101)])throw new Error(_0x14180f(0x25b));if(typeof _0x59c94e=='function'?(_0x4fa552=_0x59c94e,_0x59c94e=_0x5d081d=void 0x0):typeof _0x5d081d==_0x14180f(0xc0)&&(_0x4fa552=_0x5d081d,_0x5d081d=void 0x0),typeof _0x59c94e==_0x14180f(0x23c)&&(_0x59c94e=_0x59c94e[_0x14180f(0x199)]()),this[_0x14180f(0x248)]!==_0x10cd26[_0x14180f(0x99)]){_0x4110dd(this,_0x59c94e,_0x4fa552);return;}_0x5d081d===void 0x0&&(_0x5d081d=!this[_0x14180f(0x1a4)]),this[_0x14180f(0x24c)]['ping'](_0x59c94e||_0x57af82,_0x5d081d,_0x4fa552);}[_0x244817(0x1d5)](_0xff8dc,_0x4c2b7b,_0x16e1b1){const _0x399b64=_0x244817;if(this[_0x399b64(0x248)]===_0x10cd26[_0x399b64(0x101)])throw new Error(_0x399b64(0x25b));if(typeof _0xff8dc==_0x399b64(0xc0)?(_0x16e1b1=_0xff8dc,_0xff8dc=_0x4c2b7b=void 0x0):typeof _0x4c2b7b==_0x399b64(0xc0)&&(_0x16e1b1=_0x4c2b7b,_0x4c2b7b=void 0x0),typeof _0xff8dc==_0x399b64(0x23c)&&(_0xff8dc=_0xff8dc[_0x399b64(0x199)]()),this[_0x399b64(0x248)]!==_0x10cd26[_0x399b64(0x99)]){_0x4110dd(this,_0xff8dc,_0x16e1b1);return;}_0x4c2b7b===void 0x0&&(_0x4c2b7b=!this[_0x399b64(0x1a4)]),this['_sender']['pong'](_0xff8dc||_0x57af82,_0x4c2b7b,_0x16e1b1);}[_0x244817(0x207)](){const _0x53200b=_0x244817;this[_0x53200b(0x248)]===_0x10cd26[_0x53200b(0x101)]||this[_0x53200b(0x248)]===_0x10cd26['CLOSED']||(this[_0x53200b(0x241)]=!0x1,this[_0x53200b(0xe2)][_0x53200b(0xd6)]['needDrain']||this[_0x53200b(0x16c)][_0x53200b(0x207)]());}['send'](_0x4f6a28,_0x244bd1,_0x588b32){const _0x361a63=_0x244817;if(this['readyState']===_0x10cd26[_0x361a63(0x101)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x244bd1==_0x361a63(0xc0)&&(_0x588b32=_0x244bd1,_0x244bd1={}),typeof _0x4f6a28==_0x361a63(0x23c)&&(_0x4f6a28=_0x4f6a28[_0x361a63(0x199)]()),this[_0x361a63(0x248)]!==_0x10cd26[_0x361a63(0x99)]){_0x4110dd(this,_0x4f6a28,_0x588b32);return;}const _0x3f9758={'binary':typeof _0x4f6a28!=_0x361a63(0x172),'mask':!this[_0x361a63(0x1a4)],'compress':!0x0,'fin':!0x0,..._0x244bd1};this[_0x361a63(0xab)][_0x661b96[_0x361a63(0x208)]]||(_0x3f9758[_0x361a63(0x10e)]=!0x1),this[_0x361a63(0x24c)]['send'](_0x4f6a28||_0x57af82,_0x3f9758,_0x588b32);}['terminate'](){const _0x300b8d=_0x244817;if(this['readyState']!==_0x10cd26[_0x300b8d(0x149)]){if(this[_0x300b8d(0x248)]===_0x10cd26['CONNECTING']){_0x2dd549(this,this[_0x300b8d(0xe4)],_0x300b8d(0xf5));return;}this['_socket']&&(this[_0x300b8d(0xe7)]=_0x10cd26[_0x300b8d(0x239)],this['_socket'][_0x300b8d(0x1fd)]());}}}Object[_0x244817(0xcb)](_0x10cd26,_0x244817(0x101),{'enumerable':!0x0,'value':_0x1c9b2c['indexOf']('CONNECTING')}),Object['defineProperty'](_0x10cd26[_0x244817(0x1f7)],_0x244817(0x101),{'enumerable':!0x0,'value':_0x1c9b2c[_0x244817(0x24a)]('CONNECTING')}),Object[_0x244817(0xcb)](_0x10cd26,_0x244817(0x99),{'enumerable':!0x0,'value':_0x1c9b2c[_0x244817(0x24a)](_0x244817(0x99))}),Object[_0x244817(0xcb)](_0x10cd26[_0x244817(0x1f7)],_0x244817(0x99),{'enumerable':!0x0,'value':_0x1c9b2c[_0x244817(0x24a)](_0x244817(0x99))}),Object[_0x244817(0xcb)](_0x10cd26,_0x244817(0x239),{'enumerable':!0x0,'value':_0x1c9b2c[_0x244817(0x24a)]('CLOSING')}),Object[_0x244817(0xcb)](_0x10cd26[_0x244817(0x1f7)],_0x244817(0x239),{'enumerable':!0x0,'value':_0x1c9b2c['indexOf']('CLOSING')}),Object['defineProperty'](_0x10cd26,_0x244817(0x149),{'enumerable':!0x0,'value':_0x1c9b2c['indexOf'](_0x244817(0x149))}),Object['defineProperty'](_0x10cd26[_0x244817(0x1f7)],_0x244817(0x149),{'enumerable':!0x0,'value':_0x1c9b2c[_0x244817(0x24a)](_0x244817(0x149))}),['binaryType',_0x244817(0x135),_0x244817(0x12e),_0x244817(0x205),_0x244817(0x19f),_0x244817(0x248),_0x244817(0x176)][_0x244817(0x209)](_0x37210a=>{const _0x4be09e=_0x244817;Object[_0x4be09e(0xcb)](_0x10cd26[_0x4be09e(0x1f7)],_0x37210a,{'enumerable':!0x0});}),[_0x244817(0x156),'error',_0x244817(0x261),_0x244817(0x139)][_0x244817(0x209)](_0x1c80f2=>{const _0x352114=_0x244817;Object[_0x352114(0xcb)](_0x10cd26['prototype'],'on'+_0x1c80f2,{'enumerable':!0x0,'get'(){const _0x133387=_0x352114;for(const _0x2e0dd1 of this[_0x133387(0x1e6)](_0x1c80f2))if(_0x2e0dd1[_0x3c05eb])return _0x2e0dd1[_0x291ff2];return null;},'set'(_0x14f4eb){const _0x179340=_0x352114;for(const _0x5cbd6e of this[_0x179340(0x1e6)](_0x1c80f2))if(_0x5cbd6e[_0x3c05eb]){this[_0x179340(0x13c)](_0x1c80f2,_0x5cbd6e);break;}typeof _0x14f4eb==_0x179340(0xc0)&&this[_0x179340(0x266)](_0x1c80f2,_0x14f4eb,{[_0x3c05eb]:!0x0});}});}),_0x10cd26[_0x244817(0x1f7)]['addEventListener']=_0x2fa4e7,_0x10cd26[_0x244817(0x1f7)][_0x244817(0x1aa)]=_0x932943,_0x156f79=_0x10cd26;function _0x36d3ad(_0x33a476,_0xfd89e0,_0x3652f1,_0x742719){const _0x4e7417=_0x244817,_0xb1461={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4343ff[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x742719,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4e7417(0x105),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x33a476[_0x4e7417(0xb7)]=_0xb1461['autoPong'],!_0x4343ff[_0x4e7417(0x131)](_0xb1461[_0x4e7417(0x12b)]))throw new RangeError(_0x4e7417(0xb9)+_0xb1461[_0x4e7417(0x12b)]+_0x4e7417(0x12f)+_0x4343ff[_0x4e7417(0x173)](',\x20')+')');let _0x314343;if(_0xfd89e0 instanceof _0x379c3b)_0x314343=_0xfd89e0;else try{_0x314343=new _0x379c3b(_0xfd89e0);}catch{throw new SyntaxError(_0x4e7417(0x216)+_0xfd89e0);}_0x314343[_0x4e7417(0x19f)]==='http:'?_0x314343[_0x4e7417(0x19f)]=_0x4e7417(0x1ca):_0x314343[_0x4e7417(0x19f)]==='https:'&&(_0x314343[_0x4e7417(0x19f)]=_0x4e7417(0x18b)),_0x33a476[_0x4e7417(0x13f)]=_0x314343[_0x4e7417(0xcc)];const _0x3083f3=_0x314343[_0x4e7417(0x19f)]===_0x4e7417(0x18b),_0x4f281e=_0x314343['protocol']==='ws+unix:';let _0x2879ef;if(_0x314343['protocol']!==_0x4e7417(0x1ca)&&!_0x3083f3&&!_0x4f281e?_0x2879ef=_0x4e7417(0x238):_0x4f281e&&!_0x314343[_0x4e7417(0x18e)]?_0x2879ef=_0x4e7417(0x18d):_0x314343['hash']&&(_0x2879ef=_0x4e7417(0x15a)),_0x2879ef){const _0x47d857=new SyntaxError(_0x2879ef);if(_0x33a476[_0x4e7417(0x1bc)]===0x0)throw _0x47d857;_0x5646ba(_0x33a476,_0x47d857);return;}const _0x35aa57=_0x3083f3?0x1bb:0x50,_0x4dd2ab=_0x205216(0x10)[_0x4e7417(0x199)](_0x4e7417(0x240)),_0x78f1d8=_0x3083f3?_0x3c9c16[_0x4e7417(0x1ba)]:_0x11b212['request'],_0x1ad33e=new Set();let _0x2720af;if(_0xb1461[_0x4e7417(0x194)]=_0xb1461[_0x4e7417(0x194)]||(_0x3083f3?_0x4d35e0:_0x388cb7),_0xb1461[_0x4e7417(0x1e8)]=_0xb1461['defaultPort']||_0x35aa57,_0xb1461[_0x4e7417(0x244)]=_0x314343[_0x4e7417(0x244)]||_0x35aa57,_0xb1461['host']=_0x314343[_0x4e7417(0x21c)][_0x4e7417(0xa3)]('[')?_0x314343[_0x4e7417(0x21c)][_0x4e7417(0xf9)](0x1,-0x1):_0x314343[_0x4e7417(0x21c)],_0xb1461[_0x4e7417(0xce)]={..._0xb1461[_0x4e7417(0xce)],'Sec-WebSocket-Version':_0xb1461[_0x4e7417(0x12b)],'Sec-WebSocket-Key':_0x4dd2ab,'Connection':_0x4e7417(0x15f),'Upgrade':_0x4e7417(0xa2)},_0xb1461[_0x4e7417(0x1b9)]=_0x314343[_0x4e7417(0x18e)]+_0x314343[_0x4e7417(0x122)],_0xb1461[_0x4e7417(0x200)]=_0xb1461['handshakeTimeout'],_0xb1461[_0x4e7417(0x1f5)]&&(_0x2720af=new _0x661b96(_0xb1461[_0x4e7417(0x1f5)]!==!0x0?_0xb1461[_0x4e7417(0x1f5)]:{},!0x1,_0xb1461[_0x4e7417(0x10c)]),_0xb1461[_0x4e7417(0xce)][_0x4e7417(0x1c1)]=_0x54c002({[_0x661b96[_0x4e7417(0x208)]]:_0x2720af['offer']()})),_0x3652f1[_0x4e7417(0x17c)]){for(const _0x44cda3 of _0x3652f1){if(typeof _0x44cda3!='string'||!_0xa4e257[_0x4e7417(0x11b)](_0x44cda3)||_0x1ad33e['has'](_0x44cda3))throw new SyntaxError(_0x4e7417(0xb0));_0x1ad33e[_0x4e7417(0x124)](_0x44cda3);}_0xb1461[_0x4e7417(0xce)]['Sec-WebSocket-Protocol']=_0x3652f1[_0x4e7417(0x173)](',');}if(_0xb1461[_0x4e7417(0x22f)]&&(_0xb1461[_0x4e7417(0x12b)]<0xd?_0xb1461[_0x4e7417(0xce)][_0x4e7417(0x245)]=_0xb1461['origin']:_0xb1461[_0x4e7417(0xce)][_0x4e7417(0x20e)]=_0xb1461[_0x4e7417(0x22f)]),(_0x314343[_0x4e7417(0xf6)]||_0x314343['password'])&&(_0xb1461[_0x4e7417(0x175)]=_0x314343[_0x4e7417(0xf6)]+':'+_0x314343[_0x4e7417(0x137)]),_0x4f281e){const _0x156388=_0xb1461['path'][_0x4e7417(0xc6)](':');_0xb1461[_0x4e7417(0xa4)]=_0x156388[0x0],_0xb1461['path']=_0x156388[0x1];}let _0x42e3a1;if(_0xb1461[_0x4e7417(0x1c8)]){if(_0x33a476[_0x4e7417(0x1bc)]===0x0){_0x33a476[_0x4e7417(0x1a9)]=_0x4f281e,_0x33a476[_0x4e7417(0x15d)]=_0x3083f3,_0x33a476[_0x4e7417(0x19d)]=_0x4f281e?_0xb1461[_0x4e7417(0xa4)]:_0x314343[_0x4e7417(0x247)];const _0xdd708d=_0x742719&&_0x742719[_0x4e7417(0xce)];if(_0x742719={..._0x742719,'headers':{}},_0xdd708d){for(const [_0x5725f4,_0x58378a]of Object['entries'](_0xdd708d))_0x742719[_0x4e7417(0xce)][_0x5725f4[_0x4e7417(0x222)]()]=_0x58378a;}}else{if(_0x33a476[_0x4e7417(0x181)]('redirect')===0x0){const _0x2d1128=_0x4f281e?_0x33a476[_0x4e7417(0x1a9)]?_0xb1461[_0x4e7417(0xa4)]===_0x33a476[_0x4e7417(0x19d)]:!0x1:_0x33a476['_originalIpc']?!0x1:_0x314343[_0x4e7417(0x247)]===_0x33a476[_0x4e7417(0x19d)];(!_0x2d1128||_0x33a476[_0x4e7417(0x15d)]&&!_0x3083f3)&&(delete _0xb1461[_0x4e7417(0xce)][_0x4e7417(0x191)],delete _0xb1461['headers'][_0x4e7417(0x18a)],_0x2d1128||delete _0xb1461['headers'][_0x4e7417(0x247)],_0xb1461[_0x4e7417(0x175)]=void 0x0);}}_0xb1461[_0x4e7417(0x175)]&&!_0x742719['headers'][_0x4e7417(0x191)]&&(_0x742719[_0x4e7417(0xce)][_0x4e7417(0x191)]=_0x4e7417(0x160)+Buffer[_0x4e7417(0x237)](_0xb1461[_0x4e7417(0x175)])[_0x4e7417(0x199)](_0x4e7417(0x240))),_0x42e3a1=_0x33a476['_req']=_0x78f1d8(_0xb1461),_0x33a476['_redirects']&&_0x33a476[_0x4e7417(0x1b4)](_0x4e7417(0x232),_0x33a476[_0x4e7417(0x176)],_0x42e3a1);}else _0x42e3a1=_0x33a476[_0x4e7417(0xe4)]=_0x78f1d8(_0xb1461);_0xb1461[_0x4e7417(0x200)]&&_0x42e3a1['on'](_0x4e7417(0x200),()=>{_0x2dd549(_0x33a476,_0x42e3a1,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x42e3a1['on']('error',_0x57043e=>{const _0x242d64=_0x4e7417;_0x42e3a1===null||_0x42e3a1[_0x266175]||(_0x42e3a1=_0x33a476[_0x242d64(0xe4)]=null,_0x5646ba(_0x33a476,_0x57043e));}),_0x42e3a1['on'](_0x4e7417(0x11e),_0x1b4308=>{const _0x763aa7=_0x4e7417,_0x246b31=_0x1b4308[_0x763aa7(0xce)][_0x763aa7(0x18c)],_0x37261b=_0x1b4308[_0x763aa7(0x132)];if(_0x246b31&&_0xb1461[_0x763aa7(0x1c8)]&&_0x37261b>=0x12c&&_0x37261b<0x190){if(++_0x33a476[_0x763aa7(0x1bc)]>_0xb1461[_0x763aa7(0x1b2)]){_0x2dd549(_0x33a476,_0x42e3a1,_0x763aa7(0x151));return;}_0x42e3a1[_0x763aa7(0x16b)]();let _0x347fa2;try{_0x347fa2=new _0x379c3b(_0x246b31,_0xfd89e0);}catch{const _0x47378d=new SyntaxError(_0x763aa7(0x216)+_0x246b31);_0x5646ba(_0x33a476,_0x47378d);return;}_0x36d3ad(_0x33a476,_0x347fa2,_0x3652f1,_0x742719);}else _0x33a476['emit'](_0x763aa7(0xb6),_0x42e3a1,_0x1b4308)||_0x2dd549(_0x33a476,_0x42e3a1,_0x763aa7(0x20a)+_0x1b4308[_0x763aa7(0x132)]);}),_0x42e3a1['on'](_0x4e7417(0x127),(_0x1c4b86,_0x551d30,_0x169ca0)=>{const _0x4c5d9b=_0x4e7417;if(_0x33a476[_0x4c5d9b(0x1b4)]('upgrade',_0x1c4b86),_0x33a476[_0x4c5d9b(0x248)]!==_0x10cd26[_0x4c5d9b(0x101)])return;_0x42e3a1=_0x33a476['_req']=null;const _0x30bdb1=_0x1c4b86['headers'][_0x4c5d9b(0x127)];if(_0x30bdb1===void 0x0||_0x30bdb1[_0x4c5d9b(0x222)]()!=='websocket'){_0x2dd549(_0x33a476,_0x551d30,_0x4c5d9b(0x10f));return;}const _0x58e517=_0x2f290b('sha1')[_0x4c5d9b(0x1d4)](_0x4dd2ab+_0x22b95d)[_0x4c5d9b(0x1a2)]('base64');if(_0x1c4b86['headers'][_0x4c5d9b(0xca)]!==_0x58e517){_0x2dd549(_0x33a476,_0x551d30,_0x4c5d9b(0x140));return;}const _0x196323=_0x1c4b86['headers'][_0x4c5d9b(0x17d)];let _0x35c59f;if(_0x196323!==void 0x0?_0x1ad33e[_0x4c5d9b(0x113)]?_0x1ad33e[_0x4c5d9b(0xc7)](_0x196323)||(_0x35c59f='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x35c59f=_0x4c5d9b(0x13a):_0x1ad33e[_0x4c5d9b(0x113)]&&(_0x35c59f=_0x4c5d9b(0x221)),_0x35c59f){_0x2dd549(_0x33a476,_0x551d30,_0x35c59f);return;}_0x196323&&(_0x33a476[_0x4c5d9b(0x256)]=_0x196323);const _0x4f8785=_0x1c4b86[_0x4c5d9b(0xce)]['sec-websocket-extensions'];if(_0x4f8785!==void 0x0){if(!_0x2720af){_0x2dd549(_0x33a476,_0x551d30,_0x4c5d9b(0x1a0));return;}let _0x3aeac0;try{_0x3aeac0=_0x39e141(_0x4f8785);}catch{_0x2dd549(_0x33a476,_0x551d30,_0x4c5d9b(0x265));return;}const _0x64a9a9=Object[_0x4c5d9b(0x13e)](_0x3aeac0);if(_0x64a9a9['length']!==0x1||_0x64a9a9[0x0]!==_0x661b96[_0x4c5d9b(0x208)]){_0x2dd549(_0x33a476,_0x551d30,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x2720af['accept'](_0x3aeac0[_0x661b96[_0x4c5d9b(0x208)]]);}catch{_0x2dd549(_0x33a476,_0x551d30,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x33a476[_0x4c5d9b(0xab)][_0x661b96[_0x4c5d9b(0x208)]]=_0x2720af;}_0x33a476[_0x4c5d9b(0xee)](_0x551d30,_0x169ca0,{'allowSynchronousEvents':_0xb1461[_0x4c5d9b(0x267)],'generateMask':_0xb1461['generateMask'],'maxPayload':_0xb1461[_0x4c5d9b(0x10c)],'skipUTF8Validation':_0xb1461[_0x4c5d9b(0x253)]});}),_0xb1461[_0x4e7417(0x242)]?_0xb1461[_0x4e7417(0x242)](_0x42e3a1,_0x33a476):_0x42e3a1[_0x4e7417(0x1a6)]();}function _0x5646ba(_0xece538,_0x1ab322){const _0x90bcbd=_0x244817;_0xece538[_0x90bcbd(0xe7)]=_0x10cd26[_0x90bcbd(0x239)],_0xece538[_0x90bcbd(0x251)]=!0x0,_0xece538[_0x90bcbd(0x1b4)]('error',_0x1ab322),_0xece538[_0x90bcbd(0x13b)]();}function _0x388cb7(_0x8d413e){const _0x1ad014=_0x244817;return _0x8d413e[_0x1ad014(0x1b9)]=_0x8d413e[_0x1ad014(0xa4)],_0x58f5d1[_0x1ad014(0x22d)](_0x8d413e);}function _0x4d35e0(_0x3ada7d){const _0x2f6659=_0x244817;return _0x3ada7d[_0x2f6659(0x1b9)]=void 0x0,!_0x3ada7d[_0x2f6659(0x1f0)]&&_0x3ada7d[_0x2f6659(0x1f0)]!==''&&(_0x3ada7d[_0x2f6659(0x1f0)]=_0x58f5d1['isIP'](_0x3ada7d[_0x2f6659(0x247)])?'':_0x3ada7d['host']),_0x10ce7d['connect'](_0x3ada7d);}function _0x2dd549(_0x5aae7d,_0x2de033,_0x1d1101){const _0x190e53=_0x244817;_0x5aae7d[_0x190e53(0xe7)]=_0x10cd26[_0x190e53(0x239)];const _0x2df02f=new Error(_0x1d1101);Error['captureStackTrace'](_0x2df02f,_0x2dd549),_0x2de033[_0x190e53(0x187)]?(_0x2de033[_0x266175]=!0x0,_0x2de033[_0x190e53(0x16b)](),_0x2de033[_0x190e53(0x21f)]&&!_0x2de033[_0x190e53(0x21f)][_0x190e53(0x188)]&&_0x2de033[_0x190e53(0x21f)][_0x190e53(0x1fd)](),process[_0x190e53(0xef)](_0x5646ba,_0x5aae7d,_0x2df02f)):(_0x2de033[_0x190e53(0x1fd)](_0x2df02f),_0x2de033[_0x190e53(0x262)]('error',_0x5aae7d[_0x190e53(0x1b4)][_0x190e53(0x190)](_0x5aae7d,'error')),_0x2de033['once'](_0x190e53(0x261),_0x5aae7d[_0x190e53(0x13b)]['bind'](_0x5aae7d)));}function _0x4110dd(_0x64bef5,_0x16e7c8,_0x27fbf2){const _0xc60d3d=_0x244817;if(_0x16e7c8){const _0x35a6ac=_0x371ecd(_0x16e7c8)?_0x16e7c8[_0xc60d3d(0x113)]:_0x4bdaa1(_0x16e7c8)[_0xc60d3d(0x17c)];_0x64bef5[_0xc60d3d(0x16c)]?_0x64bef5[_0xc60d3d(0x24c)][_0xc60d3d(0x259)]+=_0x35a6ac:_0x64bef5[_0xc60d3d(0x218)]+=_0x35a6ac;}if(_0x27fbf2){const _0x1e0f62=new Error(_0xc60d3d(0xbc)+_0x64bef5[_0xc60d3d(0x248)]+'\x20('+_0x1c9b2c[_0x64bef5[_0xc60d3d(0x248)]]+')');process['nextTick'](_0x27fbf2,_0x1e0f62);}}function _0x5aaf66(_0x2768fb,_0xd59a9c){const _0x189496=_0x244817,_0x1f3c96=this[_0x31a417];_0x1f3c96[_0x189496(0x10b)]=!0x0,_0x1f3c96['_closeMessage']=_0xd59a9c,_0x1f3c96['_closeCode']=_0x2768fb,_0x1f3c96['_socket'][_0x31a417]!==void 0x0&&(_0x1f3c96[_0x189496(0x16c)]['removeListener']('data',_0x52f245),process[_0x189496(0xef)](_0x5a317b,_0x1f3c96['_socket']),_0x2768fb===0x3ed?_0x1f3c96[_0x189496(0x261)]():_0x1f3c96['close'](_0x2768fb,_0xd59a9c));}function _0x1d52a2(){const _0x8b0f49=_0x244817,_0x2d3156=this[_0x31a417];_0x2d3156[_0x8b0f49(0x205)]||_0x2d3156[_0x8b0f49(0x16c)]['resume']();}function _0x3aae0b(_0x3cd03e){const _0x4cb167=_0x244817,_0xb0fa5=this[_0x31a417];_0xb0fa5[_0x4cb167(0x16c)][_0x31a417]!==void 0x0&&(_0xb0fa5[_0x4cb167(0x16c)][_0x4cb167(0x13c)]('data',_0x52f245),process[_0x4cb167(0xef)](_0x5a317b,_0xb0fa5[_0x4cb167(0x16c)]),_0xb0fa5[_0x4cb167(0x261)](_0x3cd03e[_0x4ef09a])),_0xb0fa5['_errorEmitted']||(_0xb0fa5[_0x4cb167(0x251)]=!0x0,_0xb0fa5[_0x4cb167(0x1b4)](_0x4cb167(0x1b5),_0x3cd03e));}function _0x33fa22(){const _0x2cd532=_0x244817;this[_0x31a417][_0x2cd532(0x13b)]();}function _0x487b83(_0x53e202,_0x3969b0){const _0x496240=_0x244817;this[_0x31a417][_0x496240(0x1b4)](_0x496240(0x139),_0x53e202,_0x3969b0);}function _0xcb7e98(_0x4558b6){const _0x13bee7=_0x244817,_0x37aa55=this[_0x31a417];_0x37aa55[_0x13bee7(0xb7)]&&_0x37aa55[_0x13bee7(0x1d5)](_0x4558b6,!this['_isServer'],_0x1c5af5),_0x37aa55[_0x13bee7(0x1b4)](_0x13bee7(0x117),_0x4558b6);}function _0x569311(_0x2567aa){const _0x395667=_0x244817;this[_0x31a417]['emit'](_0x395667(0x1d5),_0x2567aa);}function _0x5a317b(_0x54c09f){const _0x3855ce=_0x244817;_0x54c09f[_0x3855ce(0x207)]();}function _0x2b264f(_0x4f4d3d){const _0x30785c=_0x244817,_0x38381b=this[_0x31a417];_0x38381b[_0x30785c(0x248)]!==_0x10cd26[_0x30785c(0x149)]&&(_0x38381b['readyState']===_0x10cd26[_0x30785c(0x99)]&&(_0x38381b[_0x30785c(0xe7)]=_0x10cd26['CLOSING'],_0x186c39(_0x38381b)),this[_0x30785c(0x16c)][_0x30785c(0x1a6)](),_0x38381b[_0x30785c(0x251)]||(_0x38381b[_0x30785c(0x251)]=!0x0,_0x38381b['emit']('error',_0x4f4d3d)));}function _0x186c39(_0x2e8721){const _0x46a1f8=_0x244817;_0x2e8721[_0x46a1f8(0xfa)]=setTimeout(_0x2e8721['_socket'][_0x46a1f8(0x1fd)][_0x46a1f8(0x190)](_0x2e8721[_0x46a1f8(0x16c)]),_0x285843);}function _0x2180c4(){const _0x2ee305=_0x244817,_0x2cdd35=this[_0x31a417];this['removeListener'](_0x2ee305(0x261),_0x2180c4),this[_0x2ee305(0x13c)](_0x2ee305(0xed),_0x52f245),this[_0x2ee305(0x13c)]('end',_0x375656),_0x2cdd35[_0x2ee305(0xe7)]=_0x10cd26[_0x2ee305(0x239)];let _0x2723ca;!this['_readableState'][_0x2ee305(0xbf)]&&!_0x2cdd35[_0x2ee305(0x10b)]&&!_0x2cdd35['_receiver']['_writableState']['errorEmitted']&&(_0x2723ca=_0x2cdd35[_0x2ee305(0x16c)][_0x2ee305(0x1b1)]())!==null&&_0x2cdd35[_0x2ee305(0xe2)][_0x2ee305(0xbe)](_0x2723ca),_0x2cdd35['_receiver']['end'](),this[_0x31a417]=void 0x0,clearTimeout(_0x2cdd35['_closeTimer']),_0x2cdd35[_0x2ee305(0xe2)][_0x2ee305(0xd6)]['finished']||_0x2cdd35[_0x2ee305(0xe2)][_0x2ee305(0xd6)][_0x2ee305(0x1cf)]?_0x2cdd35[_0x2ee305(0x13b)]():(_0x2cdd35['_receiver']['on'](_0x2ee305(0x1b5),_0x33fa22),_0x2cdd35[_0x2ee305(0xe2)]['on'](_0x2ee305(0x1f2),_0x33fa22));}function _0x52f245(_0x14f712){const _0x2dc427=_0x244817;this[_0x31a417][_0x2dc427(0xe2)][_0x2dc427(0xbe)](_0x14f712)||this[_0x2dc427(0x1b3)]();}function _0x375656(){const _0x441d4a=_0x244817,_0x4b4f9d=this[_0x31a417];_0x4b4f9d[_0x441d4a(0xe7)]=_0x10cd26[_0x441d4a(0x239)],_0x4b4f9d[_0x441d4a(0xe2)]['end'](),this[_0x441d4a(0x1a6)]();}function _0x4aef23(){const _0x59ac03=_0x244817,_0x3009b4=this[_0x31a417];this[_0x59ac03(0x13c)](_0x59ac03(0x1b5),_0x4aef23),this['on'](_0x59ac03(0x1b5),_0x1c5af5),_0x3009b4&&(_0x3009b4['_readyState']=_0x10cd26['CLOSING'],this[_0x59ac03(0x1fd)]());}return _0x156f79;}var _0x102444,_0x4c940b;function _0x336fe5(){if(_0x4c940b)return _0x102444;_0x4c940b=0x1,_0x28627c();const {Duplex:_0xcdd0c6}=_0x2a6280;function _0x224073(_0x5b6a75){_0x5b6a75['emit']('close');}function _0x34debe(){const _0x8893c0=_0xe28f;!this[_0x8893c0(0x188)]&&this[_0x8893c0(0xd6)][_0x8893c0(0x144)]&&this[_0x8893c0(0x1fd)]();}function _0x46666b(_0x38e2fc){const _0x2ce9c8=_0xe28f;this[_0x2ce9c8(0x13c)]('error',_0x46666b),this['destroy'](),this[_0x2ce9c8(0x181)](_0x2ce9c8(0x1b5))===0x0&&this[_0x2ce9c8(0x1b4)](_0x2ce9c8(0x1b5),_0x38e2fc);}function _0x1c12de(_0x411a33,_0x1334ac){const _0x5161f8=_0xe28f;let _0x49305e=!0x0;const _0x589a45=new _0xcdd0c6({..._0x1334ac,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x411a33['on'](_0x5161f8(0x139),function(_0x2e1d16,_0x2c14aa){const _0x19a215=_0x5161f8,_0x2d7807=!_0x2c14aa&&_0x589a45[_0x19a215(0xfc)][_0x19a215(0x1e1)]?_0x2e1d16[_0x19a215(0x199)]():_0x2e1d16;_0x589a45[_0x19a215(0x23f)](_0x2d7807)||_0x411a33[_0x19a215(0x1b3)]();}),_0x411a33['once']('error',function(_0x51540d){const _0x333988=_0x5161f8;_0x589a45[_0x333988(0x188)]||(_0x49305e=!0x1,_0x589a45[_0x333988(0x1fd)](_0x51540d));}),_0x411a33['once']('close',function(){const _0x1ec4fe=_0x5161f8;_0x589a45[_0x1ec4fe(0x188)]||_0x589a45[_0x1ec4fe(0x23f)](null);}),_0x589a45[_0x5161f8(0x177)]=function(_0x215a9e,_0x279a4a){const _0x29b421=_0x5161f8;if(_0x411a33[_0x29b421(0x248)]===_0x411a33[_0x29b421(0x149)]){_0x279a4a(_0x215a9e),process[_0x29b421(0xef)](_0x224073,_0x589a45);return;}let _0x550912=!0x1;_0x411a33['once'](_0x29b421(0x1b5),function(_0x2b8f54){_0x550912=!0x0,_0x279a4a(_0x2b8f54);}),_0x411a33['once'](_0x29b421(0x261),function(){const _0x2a3870=_0x29b421;_0x550912||_0x279a4a(_0x215a9e),process[_0x2a3870(0xef)](_0x224073,_0x589a45);}),_0x49305e&&_0x411a33['terminate']();},_0x589a45[_0x5161f8(0x17e)]=function(_0x296a36){const _0x47604f=_0x5161f8;if(_0x411a33[_0x47604f(0x248)]===_0x411a33[_0x47604f(0x101)]){_0x411a33[_0x47604f(0x262)]('open',function(){const _0x56cdaa=_0x47604f;_0x589a45[_0x56cdaa(0x17e)](_0x296a36);});return;}_0x411a33[_0x47604f(0x16c)]!==null&&(_0x411a33[_0x47604f(0x16c)][_0x47604f(0xd6)][_0x47604f(0x144)]?(_0x296a36(),_0x589a45[_0x47604f(0xfc)][_0x47604f(0xbf)]&&_0x589a45['destroy']()):(_0x411a33[_0x47604f(0x16c)][_0x47604f(0x262)]('finish',function(){_0x296a36();}),_0x411a33[_0x47604f(0x261)]()));},_0x589a45[_0x5161f8(0x12d)]=function(){const _0x2b3b43=_0x5161f8;_0x411a33['isPaused']&&_0x411a33[_0x2b3b43(0x207)]();},_0x589a45[_0x5161f8(0x1fb)]=function(_0x30bc91,_0x5d17ad,_0x26b119){const _0x382b49=_0x5161f8;if(_0x411a33[_0x382b49(0x248)]===_0x411a33[_0x382b49(0x101)]){_0x411a33[_0x382b49(0x262)](_0x382b49(0x156),function(){const _0xc1796=_0x382b49;_0x589a45[_0xc1796(0x1fb)](_0x30bc91,_0x5d17ad,_0x26b119);});return;}_0x411a33[_0x382b49(0x111)](_0x30bc91,_0x26b119);},_0x589a45['on'](_0x5161f8(0x1a6),_0x34debe),_0x589a45['on'](_0x5161f8(0x1b5),_0x46666b),_0x589a45;}return _0x102444=_0x1c12de,_0x102444;}_0x336fe5(),_0x38952c(),_0x5958bc();var _0x43bf9d=_0x28627c();const _0x22aa73=_0x4e0bb0(_0x43bf9d);var _0xf46e92,_0xa3deb;function _0x508c67(){if(_0xa3deb)return _0xf46e92;_0xa3deb=0x1;const {tokenChars:_0x16b41e}=_0x35aa88();function _0x152a83(_0x371e73){const _0x33c444=_0xe28f,_0x2eb027=new Set();let _0x396e17=-0x1,_0x5f0e8c=-0x1,_0x374566=0x0;for(_0x374566;_0x374566<_0x371e73[_0x33c444(0x17c)];_0x374566++){const _0x11644a=_0x371e73[_0x33c444(0x121)](_0x374566);if(_0x5f0e8c===-0x1&&_0x16b41e[_0x11644a]===0x1)_0x396e17===-0x1&&(_0x396e17=_0x374566);else{if(_0x374566!==0x0&&(_0x11644a===0x20||_0x11644a===0x9))_0x5f0e8c===-0x1&&_0x396e17!==-0x1&&(_0x5f0e8c=_0x374566);else{if(_0x11644a===0x2c){if(_0x396e17===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x374566);_0x5f0e8c===-0x1&&(_0x5f0e8c=_0x374566);const _0x1ef4dc=_0x371e73['slice'](_0x396e17,_0x5f0e8c);if(_0x2eb027[_0x33c444(0xc7)](_0x1ef4dc))throw new SyntaxError('The\x20\x22'+_0x1ef4dc+'\x22\x20subprotocol\x20is\x20duplicated');_0x2eb027[_0x33c444(0x124)](_0x1ef4dc),_0x396e17=_0x5f0e8c=-0x1;}else throw new SyntaxError(_0x33c444(0x1c3)+_0x374566);}}}if(_0x396e17===-0x1||_0x5f0e8c!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x3eec4b=_0x371e73[_0x33c444(0xf9)](_0x396e17,_0x374566);if(_0x2eb027[_0x33c444(0xc7)](_0x3eec4b))throw new SyntaxError('The\x20\x22'+_0x3eec4b+_0x33c444(0x103));return _0x2eb027[_0x33c444(0x124)](_0x3eec4b),_0x2eb027;}return _0xf46e92={'parse':_0x152a83},_0xf46e92;}var _0x2b564e,_0xf9a52b;function _0x33f7ae(){const _0x596ba2=_0xa5b7c6;if(_0xf9a52b)return _0x2b564e;_0xf9a52b=0x1;const _0x3d41e5=_0x5bc942,_0x513f1f=_0x368d6a,{Duplex:_0x220255}=_0x2a6280,{createHash:_0x38ddfc}=_0x4108bd,_0x9633ef=_0x20e1ea(),_0x59baa6=_0x583217(),_0x3f2917=_0x508c67(),_0x146cb1=_0x28627c(),{GUID:_0x1c9569,kWebSocket:_0x31166f}=_0x429b85(),_0x2d502f=/^[+/0-9A-Za-z]{22}==$/,_0x183794=0x0,_0x57ec9f=0x1,_0x98ced8=0x2;class _0x4bd0b0 extends _0x3d41e5{constructor(_0x2f4a63,_0x53cc91){const _0x5be78f=_0xe28f;if(super(),_0x2f4a63={'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':_0x146cb1,..._0x2f4a63},_0x2f4a63[_0x5be78f(0x244)]==null&&!_0x2f4a63['server']&&!_0x2f4a63['noServer']||_0x2f4a63[_0x5be78f(0x244)]!=null&&(_0x2f4a63[_0x5be78f(0xe9)]||_0x2f4a63[_0x5be78f(0xd0)])||_0x2f4a63[_0x5be78f(0xe9)]&&_0x2f4a63['noServer'])throw new TypeError(_0x5be78f(0x11a));if(_0x2f4a63[_0x5be78f(0x244)]!=null?(this[_0x5be78f(0x102)]=_0x513f1f[_0x5be78f(0x1c2)]((_0x14bf5c,_0x34a1ff)=>{const _0x2270d7=_0x5be78f,_0x2e1c33=_0x513f1f[_0x2270d7(0x227)][0x1aa];_0x34a1ff[_0x2270d7(0x165)](0x1aa,{'Content-Length':_0x2e1c33[_0x2270d7(0x17c)],'Content-Type':_0x2270d7(0x16d)}),_0x34a1ff[_0x2270d7(0x1a6)](_0x2e1c33);}),this[_0x5be78f(0x102)][_0x5be78f(0x9e)](_0x2f4a63['port'],_0x2f4a63['host'],_0x2f4a63[_0x5be78f(0x1c0)],_0x53cc91)):_0x2f4a63[_0x5be78f(0xe9)]&&(this[_0x5be78f(0x102)]=_0x2f4a63[_0x5be78f(0xe9)]),this[_0x5be78f(0x102)]){const _0x63ff86=this['emit'][_0x5be78f(0x190)](this,_0x5be78f(0x254));this['_removeListeners']=_0x3d2e5b(this[_0x5be78f(0x102)],{'listening':this['emit']['bind'](this,'listening'),'error':this['emit'][_0x5be78f(0x190)](this,_0x5be78f(0x1b5)),'upgrade':(_0x5a41a2,_0x4191d1,_0x12c200)=>{const _0x14e5fb=_0x5be78f;this[_0x14e5fb(0x183)](_0x5a41a2,_0x4191d1,_0x12c200,_0x63ff86);}});}_0x2f4a63[_0x5be78f(0x1f5)]===!0x0&&(_0x2f4a63[_0x5be78f(0x1f5)]={}),_0x2f4a63['clientTracking']&&(this[_0x5be78f(0x123)]=new Set(),this[_0x5be78f(0x14a)]=!0x1),this['options']=_0x2f4a63,this[_0x5be78f(0xc2)]=_0x183794;}[_0x596ba2(0xad)](){const _0x2dea09=_0x596ba2;if(this[_0x2dea09(0x263)][_0x2dea09(0xd0)])throw new Error(_0x2dea09(0x23d));return this[_0x2dea09(0x102)]?this['_server'][_0x2dea09(0xad)]():null;}[_0x596ba2(0x261)](_0xbd72d8){const _0xfdae29=_0x596ba2;if(this['_state']===_0x98ced8){_0xbd72d8&&this[_0xfdae29(0x262)](_0xfdae29(0x261),()=>{const _0x1f10a5=_0xfdae29;_0xbd72d8(new Error(_0x1f10a5(0x230)));}),process[_0xfdae29(0xef)](_0x34bb7b,this);return;}if(_0xbd72d8&&this[_0xfdae29(0x262)](_0xfdae29(0x261),_0xbd72d8),this['_state']!==_0x57ec9f){if(this[_0xfdae29(0xc2)]=_0x57ec9f,this[_0xfdae29(0x263)][_0xfdae29(0xd0)]||this['options']['server'])this[_0xfdae29(0x102)]&&(this[_0xfdae29(0x11f)](),this[_0xfdae29(0x11f)]=this[_0xfdae29(0x102)]=null),this[_0xfdae29(0x123)]?this[_0xfdae29(0x123)][_0xfdae29(0x113)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x34bb7b,this):process[_0xfdae29(0xef)](_0x34bb7b,this);else{const _0x17a108=this[_0xfdae29(0x102)];this[_0xfdae29(0x11f)](),this[_0xfdae29(0x11f)]=this['_server']=null,_0x17a108[_0xfdae29(0x261)](()=>{_0x34bb7b(this);});}}}[_0x596ba2(0x21d)](_0x433a38){const _0x4b4197=_0x596ba2;if(this[_0x4b4197(0x263)][_0x4b4197(0x1b9)]){const _0x572797=_0x433a38['url'][_0x4b4197(0x24a)]('?');if((_0x572797!==-0x1?_0x433a38[_0x4b4197(0x176)]['slice'](0x0,_0x572797):_0x433a38[_0x4b4197(0x176)])!==this['options'][_0x4b4197(0x1b9)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5bdea0,_0x140c01,_0x107f6a,_0x21add6){const _0x59533f=_0x596ba2;_0x140c01['on'](_0x59533f(0x1b5),_0x4a28a0);const _0x407769=_0x5bdea0[_0x59533f(0xce)]['sec-websocket-key'],_0x598370=_0x5bdea0[_0x59533f(0xce)][_0x59533f(0x127)],_0x1853bb=+_0x5bdea0[_0x59533f(0xce)][_0x59533f(0x19a)];if(_0x5bdea0[_0x59533f(0x107)]!=='GET'){_0x5c897e(this,_0x5bdea0,_0x140c01,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x598370===void 0x0||_0x598370[_0x59533f(0x222)]()!==_0x59533f(0xa2)){_0x5c897e(this,_0x5bdea0,_0x140c01,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x407769===void 0x0||!_0x2d502f[_0x59533f(0x11b)](_0x407769)){_0x5c897e(this,_0x5bdea0,_0x140c01,0x190,_0x59533f(0x142));return;}if(_0x1853bb!==0x8&&_0x1853bb!==0xd){_0x5c897e(this,_0x5bdea0,_0x140c01,0x190,_0x59533f(0x129));return;}if(!this[_0x59533f(0x21d)](_0x5bdea0)){_0x5da6d2(_0x140c01,0x190);return;}const _0x47a653=_0x5bdea0[_0x59533f(0xce)][_0x59533f(0x17d)];let _0x21d452=new Set();if(_0x47a653!==void 0x0)try{_0x21d452=_0x3f2917['parse'](_0x47a653);}catch{_0x5c897e(this,_0x5bdea0,_0x140c01,0x190,_0x59533f(0x1fc));return;}const _0x1c8e6a=_0x5bdea0[_0x59533f(0xce)]['sec-websocket-extensions'],_0x277271={};if(this['options'][_0x59533f(0x1f5)]&&_0x1c8e6a!==void 0x0){const _0x45b777=new _0x59baa6(this['options'][_0x59533f(0x1f5)],!0x0,this[_0x59533f(0x263)]['maxPayload']);try{const _0x14290a=_0x9633ef[_0x59533f(0x1e2)](_0x1c8e6a);_0x14290a[_0x59baa6[_0x59533f(0x208)]]&&(_0x45b777[_0x59533f(0x235)](_0x14290a[_0x59baa6[_0x59533f(0x208)]]),_0x277271[_0x59baa6[_0x59533f(0x208)]]=_0x45b777);}catch{_0x5c897e(this,_0x5bdea0,_0x140c01,0x190,_0x59533f(0x25a));return;}}if(this[_0x59533f(0x263)][_0x59533f(0x174)]){const _0x5d1418={'origin':_0x5bdea0[_0x59533f(0xce)][''+(_0x1853bb===0x8?'sec-websocket-origin':_0x59533f(0x22f))],'secure':!!(_0x5bdea0[_0x59533f(0x21f)][_0x59533f(0x1be)]||_0x5bdea0[_0x59533f(0x21f)][_0x59533f(0x20b)]),'req':_0x5bdea0};if(this[_0x59533f(0x263)]['verifyClient'][_0x59533f(0x17c)]===0x2){this[_0x59533f(0x263)][_0x59533f(0x174)](_0x5d1418,(_0x59a256,_0x158694,_0x85f5be,_0xb85b2e)=>{const _0x5e6778=_0x59533f;if(!_0x59a256)return _0x5da6d2(_0x140c01,_0x158694||0x191,_0x85f5be,_0xb85b2e);this[_0x5e6778(0x167)](_0x277271,_0x407769,_0x21d452,_0x5bdea0,_0x140c01,_0x107f6a,_0x21add6);});return;}if(!this[_0x59533f(0x263)]['verifyClient'](_0x5d1418))return _0x5da6d2(_0x140c01,0x191);}this[_0x59533f(0x167)](_0x277271,_0x407769,_0x21d452,_0x5bdea0,_0x140c01,_0x107f6a,_0x21add6);}[_0x596ba2(0x167)](_0x44e44e,_0x3d3697,_0x8f1612,_0x35e670,_0x5ecec5,_0x209c36,_0x12d92a){const _0x3d9079=_0x596ba2;if(!_0x5ecec5[_0x3d9079(0xb8)]||!_0x5ecec5[_0x3d9079(0xa9)])return _0x5ecec5[_0x3d9079(0x1fd)]();if(_0x5ecec5[_0x31166f])throw new Error(_0x3d9079(0x201));if(this[_0x3d9079(0xc2)]>_0x183794)return _0x5da6d2(_0x5ecec5,0x1f7);const _0x5ba4f5=[_0x3d9079(0x228),_0x3d9079(0x164),_0x3d9079(0xc9),'Sec-WebSocket-Accept:\x20'+_0x38ddfc(_0x3d9079(0xb1))[_0x3d9079(0x1d4)](_0x3d3697+_0x1c9569)[_0x3d9079(0x1a2)](_0x3d9079(0x240))],_0x2ba084=new this[(_0x3d9079(0x263))]['WebSocket'](null,void 0x0,this[_0x3d9079(0x263)]);if(_0x8f1612[_0x3d9079(0x113)]){const _0x2df545=this[_0x3d9079(0x263)][_0x3d9079(0xdd)]?this['options'][_0x3d9079(0xdd)](_0x8f1612,_0x35e670):_0x8f1612[_0x3d9079(0x120)]()[_0x3d9079(0x25e)]()['value'];_0x2df545&&(_0x5ba4f5[_0x3d9079(0x23f)](_0x3d9079(0x203)+_0x2df545),_0x2ba084[_0x3d9079(0x256)]=_0x2df545);}if(_0x44e44e[_0x59baa6[_0x3d9079(0x208)]]){const _0x5e0663=_0x44e44e[_0x59baa6['extensionName']][_0x3d9079(0x24e)],_0x14a41c=_0x9633ef[_0x3d9079(0xaf)]({[_0x59baa6['extensionName']]:[_0x5e0663]});_0x5ba4f5[_0x3d9079(0x23f)](_0x3d9079(0x210)+_0x14a41c),_0x2ba084[_0x3d9079(0xab)]=_0x44e44e;}this[_0x3d9079(0x1b4)](_0x3d9079(0xce),_0x5ba4f5,_0x35e670),_0x5ecec5[_0x3d9079(0xbe)](_0x5ba4f5[_0x3d9079(0x1a7)]('\x0d\x0a')['join']('\x0d\x0a')),_0x5ecec5['removeListener'](_0x3d9079(0x1b5),_0x4a28a0),_0x2ba084['setSocket'](_0x5ecec5,_0x209c36,{'allowSynchronousEvents':this['options'][_0x3d9079(0x267)],'maxPayload':this[_0x3d9079(0x263)][_0x3d9079(0x10c)],'skipUTF8Validation':this[_0x3d9079(0x263)][_0x3d9079(0x253)]}),this[_0x3d9079(0x123)]&&(this[_0x3d9079(0x123)]['add'](_0x2ba084),_0x2ba084['on'](_0x3d9079(0x261),()=>{const _0xf1ecd6=_0x3d9079;this[_0xf1ecd6(0x123)][_0xf1ecd6(0x214)](_0x2ba084),this[_0xf1ecd6(0x14a)]&&!this['clients']['size']&&process['nextTick'](_0x34bb7b,this);})),_0x12d92a(_0x2ba084,_0x35e670);}}_0x2b564e=_0x4bd0b0;function _0x3d2e5b(_0xbddec3,_0x18710d){const _0xf4b4f7=_0x596ba2;for(const _0x4730bd of Object[_0xf4b4f7(0x13e)](_0x18710d))_0xbddec3['on'](_0x4730bd,_0x18710d[_0x4730bd]);return function(){const _0x507c87=_0xf4b4f7;for(const _0x3b5205 of Object[_0x507c87(0x13e)](_0x18710d))_0xbddec3[_0x507c87(0x13c)](_0x3b5205,_0x18710d[_0x3b5205]);};}function _0x34bb7b(_0x3595a6){const _0x3b0c61=_0x596ba2;_0x3595a6[_0x3b0c61(0xc2)]=_0x98ced8,_0x3595a6[_0x3b0c61(0x1b4)]('close');}function _0x4a28a0(){const _0x2b5e7a=_0x596ba2;this[_0x2b5e7a(0x1fd)]();}function _0x5da6d2(_0x4b2f5f,_0x1e26f0,_0x3ef840,_0xfccda2){const _0x34bc9e=_0x596ba2;_0x3ef840=_0x3ef840||_0x513f1f[_0x34bc9e(0x227)][_0x1e26f0],_0xfccda2={'Connection':'close','Content-Type':_0x34bc9e(0x14d),'Content-Length':Buffer[_0x34bc9e(0xb5)](_0x3ef840),..._0xfccda2},_0x4b2f5f[_0x34bc9e(0x262)](_0x34bc9e(0x1f2),_0x4b2f5f[_0x34bc9e(0x1fd)]),_0x4b2f5f['end'](_0x34bc9e(0x141)+_0x1e26f0+'\x20'+_0x513f1f['STATUS_CODES'][_0x1e26f0]+'\x0d\x0a'+Object[_0x34bc9e(0x13e)](_0xfccda2)[_0x34bc9e(0x166)](_0x37068b=>_0x37068b+':\x20'+_0xfccda2[_0x37068b])['join']('\x0d\x0a')+_0x34bc9e(0x249)+_0x3ef840);}function _0x5c897e(_0x103f60,_0x59c517,_0x22dfba,_0x54036d,_0x2676cd){const _0x364a3f=_0x596ba2;if(_0x103f60[_0x364a3f(0x181)](_0x364a3f(0x157))){const _0x3579ac=new Error(_0x2676cd);Error[_0x364a3f(0xa7)](_0x3579ac,_0x5c897e),_0x103f60[_0x364a3f(0x1b4)](_0x364a3f(0x157),_0x3579ac,_0x22dfba,_0x59c517);}else _0x5da6d2(_0x22dfba,_0x54036d,_0x2676cd);}return _0x2b564e;}_0x33f7ae();var _0x377a16=Object['getOwnPropertyDescriptor'],_0x5a4adb=(_0xd65620,_0x1aa3b5,_0x19fd39,_0x16bf41)=>{const _0x2ab682=_0xa5b7c6;for(var _0x4931e0=_0x16bf41>0x1?void 0x0:_0x16bf41?_0x377a16(_0x1aa3b5,_0x19fd39):_0x1aa3b5,_0x496839=_0xd65620[_0x2ab682(0x17c)]-0x1,_0x497aec;_0x496839>=0x0;_0x496839--)(_0x497aec=_0xd65620[_0x496839])&&(_0x4931e0=_0x497aec(_0x4931e0)||_0x4931e0);return _0x4931e0;},_0x299f3d=(_0xf09dde,_0x4372ec)=>(_0xa3427b,_0x2c3181)=>_0x4372ec(_0xa3427b,_0x2c3181,_0xf09dde);let _0x141116=class extends _0x381c49[_0xa5b7c6(0x1c6)]{constructor(_0x5ad35c){const _0x2e2db1=_0xa5b7c6;super(),this[_0x2e2db1(0x236)]=_0x5ad35c;}['createSocket'](_0x1f27ff){const _0x19adae=_0xa5b7c6;var _0x356060;const _0x5bddad=(_0x356060=this[_0x19adae(0x236)][_0x19adae(0xde)](_0x2ecade))==null?void 0x0:_0x356060[_0x19adae(0x20c)];try{const _0x3a2365=new _0x22aa73(_0x1f27ff,{'headers':{..._0x5bddad}}),_0x3f8801=new _0x381c49[(_0x19adae(0x146))]();return{'URL':_0x1f27ff,'close':(_0x2182f2,_0x343f6e)=>{const _0x4008c4=_0x19adae;_0x3a2365[_0x4008c4(0x261)](_0x2182f2,_0x343f6e),_0x3f8801[_0x4008c4(0x171)]();},'send':_0x1f680b=>{_0x3a2365['send'](_0x1f680b);},'open$':new _0x531f28[(_0x19adae(0x1e0))](_0x51cd5e=>{const _0x481d85=_0x19adae,_0xf6e69a=_0xbca251=>_0x51cd5e[_0x481d85(0x25e)](_0xbca251);_0x3a2365[_0x481d85(0x266)]('open',_0xf6e69a),_0x3f8801[_0x481d85(0x124)](_0x381c49[_0x481d85(0xd3)](()=>_0x3a2365[_0x481d85(0x1aa)](_0x481d85(0x156),_0xf6e69a)));})[_0x19adae(0x128)](_0x531f28[_0x19adae(0x9b)]()),'close$':new _0x531f28['Observable'](_0x2936ae=>{const _0x2718b1=_0x19adae,_0x255eb5=_0x5a014f=>_0x2936ae[_0x2718b1(0x25e)](_0x5a014f);_0x3a2365[_0x2718b1(0x266)](_0x2718b1(0x261),_0x255eb5),_0x3f8801[_0x2718b1(0x124)](_0x381c49[_0x2718b1(0xd3)](()=>_0x3a2365['removeEventListener'](_0x2718b1(0x261),_0x255eb5)));})[_0x19adae(0x128)](_0x531f28[_0x19adae(0x9b)]()),'error$':new _0x531f28[(_0x19adae(0x1e0))](_0x1c7329=>{const _0x36393e=_0x19adae,_0x596c31=_0x50b046=>_0x1c7329[_0x36393e(0x25e)](_0x50b046);_0x3a2365['addEventListener']('error',_0x596c31),_0x3f8801[_0x36393e(0x124)](_0x381c49['toDisposable'](()=>_0x3a2365[_0x36393e(0x1aa)]('error',_0x596c31)));})[_0x19adae(0x128)](_0x531f28['share']()),'message$':new _0x531f28[(_0x19adae(0x1e0))](_0x4503ea=>{const _0x177122=_0x19adae,_0x35c0f6=_0x292251=>_0x4503ea['next'](_0x292251);_0x3a2365['addEventListener']('message',_0x35c0f6),_0x3f8801[_0x177122(0x124)](_0x381c49[_0x177122(0xd3)](()=>_0x3a2365[_0x177122(0x1aa)](_0x177122(0x139),_0x35c0f6)));})[_0x19adae(0x128)](_0x531f28['share']())};}catch(_0x38f1b5){return console[_0x19adae(0x1b5)](_0x38f1b5),null;}}};_0x141116=_0x5a4adb([_0x299f3d(0x0,_0x381c49[_0xa5b7c6(0x1d8)])],_0x141116);var _0x4596b0=Object['defineProperty'],_0x37e58c=Object[_0xa5b7c6(0x1f8)],_0x34fa27=(_0x5af1dc,_0x21dd21,_0x18b5ae)=>_0x21dd21 in _0x5af1dc?_0x4596b0(_0x5af1dc,_0x21dd21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18b5ae}):_0x5af1dc[_0x21dd21]=_0x18b5ae,_0x32c865=(_0x2be034,_0x429690,_0x39706d,_0x53f2e6)=>{const _0x2ad315=_0xa5b7c6;for(var _0x5320a9=_0x53f2e6>0x1?void 0x0:_0x53f2e6?_0x37e58c(_0x429690,_0x39706d):_0x429690,_0x3f1de2=_0x2be034[_0x2ad315(0x17c)]-0x1,_0x420818;_0x3f1de2>=0x0;_0x3f1de2--)(_0x420818=_0x2be034[_0x3f1de2])&&(_0x5320a9=_0x420818(_0x5320a9)||_0x5320a9);return _0x5320a9;},_0x422e29=(_0x3f6207,_0x552be6)=>(_0x424bb3,_0x510029)=>_0x552be6(_0x424bb3,_0x510029,_0x3f6207),_0x3df9b1=(_0xa09b21,_0x13e09e,_0x125355)=>_0x34fa27(_0xa09b21,_0x13e09e+'',_0x125355);_0x57102f[_0xa5b7c6(0x1c5)]=class extends _0x381c49['Plugin']{constructor(_0x331ed3=_0x381e80,_0x37c159,_0xef34a4,_0x3a71b9){const _0x4de864=_0xa5b7c6;_0x331ed3[_0x4de864(0x20c)]||_0x37c159['warn'](_0x4de864(0x136)),super(),this[_0x4de864(0x236)]=_0xef34a4,this['_injector']=_0x3a71b9,this[_0x4de864(0x236)][_0x4de864(0x116)](_0x2ecade,_0x331ed3);}[_0xa5b7c6(0x10a)](){const _0x42d667=_0xa5b7c6;this[_0x42d667(0x19c)]();}['_registerDependencies'](){const _0x1975d2=_0xa5b7c6;_0x381c49[_0x1975d2(0x196)](this['_injector'],[[_0x57f6dd[_0x1975d2(0x110)],{'useClass':_0x141116}]]);}},_0x3df9b1(_0x57102f[_0xa5b7c6(0x1c5)],_0xa5b7c6(0xea),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),_0x57102f[_0xa5b7c6(0x1c5)]=_0x32c865([_0x381c49['DependentOn'](_0x52463a[_0xa5b7c6(0x220)]),_0x422e29(0x1,_0x381c49['ILogService']),_0x422e29(0x2,_0x381c49[_0xa5b7c6(0x1d8)]),_0x422e29(0x3,_0x381c49[_0xa5b7c6(0xff)](_0x381c49[_0xa5b7c6(0x1ec)]))],_0x57102f[_0xa5b7c6(0x1c5)]);var _0x3d7f89=Object[_0xa5b7c6(0x1f8)],_0x1a889a=(_0x3d7d09,_0x5efa49,_0x195b5b,_0x2dfb20)=>{const _0x163482=_0xa5b7c6;for(var _0x2a12b3=_0x2dfb20>0x1?void 0x0:_0x2dfb20?_0x3d7f89(_0x5efa49,_0x195b5b):_0x5efa49,_0x1b8d13=_0x3d7d09[_0x163482(0x17c)]-0x1,_0x468ba2;_0x1b8d13>=0x0;_0x1b8d13--)(_0x468ba2=_0x3d7d09[_0x1b8d13])&&(_0x2a12b3=_0x468ba2(_0x2a12b3)||_0x2a12b3);return _0x2a12b3;},_0x2ef387=(_0x43c514,_0x8b7cc2)=>(_0x4d1f29,_0x5cba1e)=>_0x8b7cc2(_0x4d1f29,_0x5cba1e,_0x43c514);_0x57102f[_0xa5b7c6(0x1db)]=class extends _0x52463a[_0xa5b7c6(0x17a)]{constructor(_0x19604a,_0x50f8b2,_0x25e745,_0x876029,_0x5018d2){const _0x55125a=_0xa5b7c6;super(_0x19604a,_0x50f8b2,_0x25e745,_0x876029,_0x5018d2);const _0x561ecb=this[_0x55125a(0x236)][_0x55125a(0xde)](_0x2ecade);this['_httpService'][_0x55125a(0x14b)]({'interceptor':(_0x15dc66,_0x17a38b)=>{const _0x18e018=_0x55125a;var _0xf21160;const _0x3efb8a=_0x15dc66['headers'];return(_0xf21160=_0x561ecb==null?void 0x0:_0x561ecb[_0x18e018(0x20c)])!=null&&_0xf21160['cookie']&&_0x3efb8a[_0x18e018(0x1ed)](_0x18e018(0x234),_0x561ecb['customHeaders'][_0x18e018(0x18a)]),_0x17a38b(_0x15dc66);}});}async[_0xa5b7c6(0x22e)](_0x569a99){const _0x6ff55f=_0xa5b7c6;return this[_0x6ff55f(0x138)](_0x569a99);}},_0x57102f['NodeCollaborationSocketService']=_0x1a889a([_0x2ef387(0x0,_0x381c49[_0xa5b7c6(0xff)](_0x381c49[_0xa5b7c6(0x1ec)])),_0x2ef387(0x1,_0x381c49[_0xa5b7c6(0xff)](_0x57f6dd['HTTPService'])),_0x2ef387(0x2,_0x381c49[_0xa5b7c6(0x1d8)]),_0x2ef387(0x3,_0x381c49[_0xa5b7c6(0x1e7)]),_0x2ef387(0x4,_0x14fc8d[_0xa5b7c6(0x1d7)])],_0x57102f[_0xa5b7c6(0x1db)]),_0x57102f[_0xa5b7c6(0x197)]=_0x2ecade,Object[_0xa5b7c6(0xcb)](_0x57102f,Symbol[_0xa5b7c6(0x1cd)],{'value':_0xa5b7c6(0x182)});}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-client-node",
3
- "version": "0.9.2-nightly.202507161608",
3
+ "version": "0.9.2-nightly.202507171607",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -48,19 +48,19 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "ws": "8.18.2",
51
- "@univerjs-pro/collaboration": "0.9.2-nightly.202507161608",
52
- "@univerjs-pro/collaboration-client": "0.9.2-nightly.202507161608",
53
- "@univerjs/core": "0.9.2-nightly.202507161608",
54
- "@univerjs/network": "0.9.2-nightly.202507161608"
51
+ "@univerjs-pro/collaboration": "0.9.2-nightly.202507171607",
52
+ "@univerjs-pro/collaboration-client": "0.9.2-nightly.202507171607",
53
+ "@univerjs/core": "0.9.2-nightly.202507171607",
54
+ "@univerjs/network": "0.9.2-nightly.202507171607"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/ws": "8.18.1",
58
58
  "rxjs": "7.8.2",
59
59
  "typescript": "^5.8.3",
60
- "vite": "^6.3.5",
60
+ "vite": "^7.0.5",
61
61
  "vitest": "^3.2.4",
62
62
  "@univerjs-infra/shared": "0.9.2",
63
- "@univerjs/core": "0.9.2-nightly.202507161608"
63
+ "@univerjs/core": "0.9.2-nightly.202507171607"
64
64
  },
65
65
  "scripts": {
66
66
  "test": "vitest run",