@univerjs-pro/collaboration-client-node 0.8.1-nightly.202506191607 → 0.8.2-nightly.202506201607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x670fda=_0x20a4;(function(_0x239f1b,_0x2bbe5a){const _0x2d4cb0=_0x20a4,_0x163445=_0x239f1b();while(!![]){try{const _0x2c6b9c=parseInt(_0x2d4cb0(0x1bc))/0x1+-parseInt(_0x2d4cb0(0x274))/0x2*(-parseInt(_0x2d4cb0(0x273))/0x3)+-parseInt(_0x2d4cb0(0x2a6))/0x4+parseInt(_0x2d4cb0(0x1d4))/0x5*(parseInt(_0x2d4cb0(0x243))/0x6)+-parseInt(_0x2d4cb0(0x2b0))/0x7*(parseInt(_0x2d4cb0(0x204))/0x8)+-parseInt(_0x2d4cb0(0x2b2))/0x9*(parseInt(_0x2d4cb0(0x2d2))/0xa)+parseInt(_0x2d4cb0(0x2c5))/0xb;if(_0x2c6b9c===_0x2bbe5a)break;else _0x163445['push'](_0x163445['shift']());}catch(_0x284a2){_0x163445['push'](_0x163445['shift']());}}}(_0x183a,0xf3f66));import{UniverCollaborationClientPlugin as _0xc63141,CollaborationSocketService as _0x5242f9}from'@univerjs-pro/collaboration-client';import{Disposable as _0x7c6794,DisposableCollection as _0x1815d3,toDisposable as _0x193503,IConfigService as _0x1d0f93,DependentOn as _0x5351ba,ILogService as _0x466239,Inject as _0x1122ad,Injector as _0x35c5a8,Plugin as _0x414a08,registerDependencies as _0x47452c}from'@univerjs/core';import{ISocketService as _0x5d85f3,HTTPService as _0x53d247}from'@univerjs/network';import{Observable as _0xc67d75,share as _0x33eff0}from'rxjs';import _0x158328 from'events';import _0x51f031 from'https';import _0x145872 from'http';import _0x4b38c2 from'net';import _0x4714c5 from'tls';import _0x38d98d from'crypto';import _0x531b40 from'stream';import _0x29164f from'url';import _0x2f21c5 from'zlib';import _0x4fa270 from'buffer';import{ISnapshotServerService as _0x268098}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x47544b){const _0x20ae0d=_0x20a4;return _0x47544b&&_0x47544b['__esModule']&&Object[_0x20ae0d(0x1c5)][_0x20ae0d(0x2ba)][_0x20ae0d(0x194)](_0x47544b,'default')?_0x47544b[_0x20ae0d(0x1fe)]:_0x47544b;}function ut(_0x49a885){const _0x31a841=_0x20a4;if(Object['prototype'][_0x31a841(0x2ba)][_0x31a841(0x194)](_0x49a885,_0x31a841(0x2fe)))return _0x49a885;var _0x48cf32=_0x49a885[_0x31a841(0x1fe)];if(typeof _0x48cf32=='function'){var _0x10eb47=function _0x200917(){const _0x27ab0e=_0x31a841;return this instanceof _0x200917?Reflect[_0x27ab0e(0x1db)](_0x48cf32,arguments,this[_0x27ab0e(0x275)]):_0x48cf32['apply'](this,arguments);};_0x10eb47[_0x31a841(0x1c5)]=_0x48cf32[_0x31a841(0x1c5)];}else _0x10eb47={};return Object[_0x31a841(0x193)](_0x10eb47,_0x31a841(0x2fe),{'value':!0x0}),Object[_0x31a841(0x1d1)](_0x49a885)['forEach'](function(_0x3ce8d6){const _0x3b5fd1=_0x31a841;var _0x54fa7e=Object[_0x3b5fd1(0x18b)](_0x49a885,_0x3ce8d6);Object[_0x3b5fd1(0x193)](_0x10eb47,_0x3ce8d6,_0x54fa7e[_0x3b5fd1(0x28e)]?_0x54fa7e:{'enumerable':!0x0,'get':function(){return _0x49a885[_0x3ce8d6];}});}),_0x10eb47;}var te={'exports':{}},ge,Ye;function V(){const _0x2fba45=_0x20a4;if(Ye)return ge;Ye=0x1;const _0x229500=[_0x2fba45(0x2b3),'arraybuffer',_0x2fba45(0x294)],_0x538c4c=typeof Blob<'u';return _0x538c4c&&_0x229500[_0x2fba45(0x304)](_0x2fba45(0x1ab)),ge={'BINARY_TYPES':_0x229500,'EMPTY_BUFFER':Buffer[_0x2fba45(0x1fd)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x538c4c,'kForOnEventAttribute':Symbol(_0x2fba45(0x211)),'kListener':Symbol(_0x2fba45(0x296)),'kStatusCode':Symbol(_0x2fba45(0x28f)),'kWebSocket':Symbol(_0x2fba45(0x200)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x670fda(0x166)](Object[_0x670fda(0x193)]({'__proto__':null,'default':Wt},Symbol[_0x670fda(0x2d8)],{'value':_0x670fda(0x2dd)})),Vt=ut(Gt);var Ke;function ce(){const _0x3d8a0a=_0x670fda;if(Ke)return te[_0x3d8a0a(0x1ed)];Ke=0x1;const {EMPTY_BUFFER:_0x498766}=V(),_0x514cee=Buffer[Symbol[_0x3d8a0a(0x1d6)]];function _0x26438c(_0x2cd4bf,_0x22bcc9){const _0x119752=_0x3d8a0a;if(_0x2cd4bf[_0x119752(0x30a)]===0x0)return _0x498766;if(_0x2cd4bf[_0x119752(0x30a)]===0x1)return _0x2cd4bf[0x0];const _0x5e9c03=Buffer[_0x119752(0x279)](_0x22bcc9);let _0x5b8606=0x0;for(let _0x4717ea=0x0;_0x4717ea<_0x2cd4bf['length'];_0x4717ea++){const _0x1e5f37=_0x2cd4bf[_0x4717ea];_0x5e9c03[_0x119752(0x280)](_0x1e5f37,_0x5b8606),_0x5b8606+=_0x1e5f37[_0x119752(0x30a)];}return _0x5b8606<_0x22bcc9?new _0x514cee(_0x5e9c03[_0x119752(0x28b)],_0x5e9c03[_0x119752(0x311)],_0x5b8606):_0x5e9c03;}function _0x1d8fbf(_0x154fa8,_0x5dce44,_0x126f68,_0x5a4abe,_0x3042a7){for(let _0x3b9474=0x0;_0x3b9474<_0x3042a7;_0x3b9474++)_0x126f68[_0x5a4abe+_0x3b9474]=_0x154fa8[_0x3b9474]^_0x5dce44[_0x3b9474&0x3];}function _0xceb211(_0x8395fe,_0x363220){const _0x32638c=_0x3d8a0a;for(let _0x572efa=0x0;_0x572efa<_0x8395fe[_0x32638c(0x30a)];_0x572efa++)_0x8395fe[_0x572efa]^=_0x363220[_0x572efa&0x3];}function _0x2745a0(_0x366d03){const _0x2f16ba=_0x3d8a0a;return _0x366d03[_0x2f16ba(0x30a)]===_0x366d03['buffer']['byteLength']?_0x366d03[_0x2f16ba(0x28b)]:_0x366d03[_0x2f16ba(0x28b)][_0x2f16ba(0x26b)](_0x366d03[_0x2f16ba(0x311)],_0x366d03[_0x2f16ba(0x311)]+_0x366d03['length']);}function _0x35bc10(_0x575ae9){const _0x43946a=_0x3d8a0a;if(_0x35bc10[_0x43946a(0x1d5)]=!0x0,Buffer[_0x43946a(0x165)](_0x575ae9))return _0x575ae9;let _0x53af02;return _0x575ae9 instanceof ArrayBuffer?_0x53af02=new _0x514cee(_0x575ae9):ArrayBuffer[_0x43946a(0x299)](_0x575ae9)?_0x53af02=new _0x514cee(_0x575ae9['buffer'],_0x575ae9[_0x43946a(0x311)],_0x575ae9[_0x43946a(0x168)]):(_0x53af02=Buffer[_0x43946a(0x1b1)](_0x575ae9),_0x35bc10[_0x43946a(0x1d5)]=!0x1),_0x53af02;}if(te[_0x3d8a0a(0x1ed)]={'concat':_0x26438c,'mask':_0x1d8fbf,'toArrayBuffer':_0x2745a0,'toBuffer':_0x35bc10,'unmask':_0xceb211},!process['env'][_0x3d8a0a(0x2f4)])try{const _0x1d5c70=Vt;te[_0x3d8a0a(0x1ed)]['mask']=function(_0x34b0c5,_0x15a83b,_0x1cce96,_0x4e8470,_0xb3796a){const _0xb2aeda=_0x3d8a0a;_0xb3796a<0x30?_0x1d8fbf(_0x34b0c5,_0x15a83b,_0x1cce96,_0x4e8470,_0xb3796a):_0x1d5c70[_0xb2aeda(0x28c)](_0x34b0c5,_0x15a83b,_0x1cce96,_0x4e8470,_0xb3796a);},te['exports'][_0x3d8a0a(0x2c4)]=function(_0xff714d,_0x33cfa4){const _0xfc10fe=_0x3d8a0a;_0xff714d[_0xfc10fe(0x30a)]<0x20?_0xceb211(_0xff714d,_0x33cfa4):_0x1d5c70[_0xfc10fe(0x2c4)](_0xff714d,_0x33cfa4);};}catch{}return te[_0x3d8a0a(0x1ed)];}var ye,Xe;function qt(){const _0x561ece=_0x670fda;if(Xe)return ye;Xe=0x1;const _0xf3372d=Symbol(_0x561ece(0x1c8)),_0x22fa11=Symbol(_0x561ece(0x2e1));class _0x437990{constructor(_0xeaab0b){const _0x3176b8=_0x561ece;this[_0xf3372d]=()=>{this['pending']--,this[_0x22fa11]();},this[_0x3176b8(0x234)]=_0xeaab0b||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x561ece(0x2a5)](_0x3b9b01){const _0x17d9bb=_0x561ece;this[_0x17d9bb(0x270)][_0x17d9bb(0x304)](_0x3b9b01),this[_0x22fa11]();}[_0x22fa11](){const _0x5e29dc=_0x561ece;if(this[_0x5e29dc(0x1a9)]!==this[_0x5e29dc(0x234)]&&this[_0x5e29dc(0x270)][_0x5e29dc(0x30a)]){const _0x1936c0=this[_0x5e29dc(0x270)][_0x5e29dc(0x297)]();this[_0x5e29dc(0x1a9)]++,_0x1936c0(this[_0xf3372d]);}}}return ye=_0x437990,ye;}var ve,Ze;function he(){const _0x440a85=_0x670fda;if(Ze)return ve;Ze=0x1;const _0x404d12=_0x2f21c5,_0x22eb87=ce(),_0x783c3b=qt(),{kStatusCode:_0x2f0e15}=V(),_0x522d4d=Buffer[Symbol[_0x440a85(0x1d6)]],_0x30ac0b=Buffer[_0x440a85(0x1b1)]([0x0,0x0,0xff,0xff]),_0x417206=Symbol(_0x440a85(0x2fc)),_0x593cc9=Symbol(_0x440a85(0x29b)),_0x4be0ad=Symbol('callback'),_0x2c5b80=Symbol(_0x440a85(0x222)),_0x4592dc=Symbol(_0x440a85(0x268));let _0x294afc;class _0xaf15b2{constructor(_0x414557,_0x35c23c,_0x29de40){const _0x234533=_0x440a85;if(this[_0x234533(0x314)]=_0x29de40|0x0,this[_0x234533(0x1b9)]=_0x414557||{},this[_0x234533(0x1b3)]=this[_0x234533(0x1b9)][_0x234533(0x20c)]!==void 0x0?this[_0x234533(0x1b9)][_0x234533(0x20c)]:0x400,this[_0x234533(0x186)]=!!_0x35c23c,this['_deflate']=null,this['_inflate']=null,this['params']=null,!_0x294afc){const _0x1c026f=this[_0x234533(0x1b9)]['concurrencyLimit']!==void 0x0?this[_0x234533(0x1b9)][_0x234533(0x263)]:0xa;_0x294afc=new _0x783c3b(_0x1c026f);}}static get[_0x440a85(0x2a4)](){const _0x24d145=_0x440a85;return _0x24d145(0x2fc);}[_0x440a85(0x272)](){const _0x20c046=_0x440a85,_0x562323={};return this[_0x20c046(0x1b9)][_0x20c046(0x2af)]&&(_0x562323['server_no_context_takeover']=!0x0),this[_0x20c046(0x1b9)][_0x20c046(0x162)]&&(_0x562323[_0x20c046(0x292)]=!0x0),this[_0x20c046(0x1b9)]['serverMaxWindowBits']&&(_0x562323[_0x20c046(0x1f3)]=this[_0x20c046(0x1b9)]['serverMaxWindowBits']),this['_options'][_0x20c046(0x2c7)]?_0x562323[_0x20c046(0x1e6)]=this['_options'][_0x20c046(0x2c7)]:this['_options'][_0x20c046(0x2c7)]==null&&(_0x562323['client_max_window_bits']=!0x0),_0x562323;}['accept'](_0x4391a9){const _0x308540=_0x440a85;return _0x4391a9=this[_0x308540(0x2d7)](_0x4391a9),this[_0x308540(0x1c3)]=this['_isServer']?this[_0x308540(0x23c)](_0x4391a9):this['acceptAsClient'](_0x4391a9),this[_0x308540(0x1c3)];}[_0x440a85(0x306)](){const _0x1cbbcc=_0x440a85;if(this[_0x1cbbcc(0x2f7)]&&(this[_0x1cbbcc(0x2f7)][_0x1cbbcc(0x170)](),this[_0x1cbbcc(0x2f7)]=null),this[_0x1cbbcc(0x2c6)]){const _0x453a26=this[_0x1cbbcc(0x2c6)][_0x4be0ad];this[_0x1cbbcc(0x2c6)][_0x1cbbcc(0x170)](),this[_0x1cbbcc(0x2c6)]=null,_0x453a26&&_0x453a26(new Error(_0x1cbbcc(0x1e4)));}}[_0x440a85(0x23c)](_0x175bc5){const _0x438302=_0x440a85,_0x3faa3b=this[_0x438302(0x1b9)],_0x1c7ada=_0x175bc5[_0x438302(0x214)](_0xb8a972=>!(_0x3faa3b[_0x438302(0x2af)]===!0x1&&_0xb8a972[_0x438302(0x20f)]||_0xb8a972[_0x438302(0x1f3)]&&(_0x3faa3b[_0x438302(0x2cc)]===!0x1||typeof _0x3faa3b[_0x438302(0x2cc)]==_0x438302(0x2a2)&&_0x3faa3b[_0x438302(0x2cc)]>_0xb8a972['server_max_window_bits'])||typeof _0x3faa3b[_0x438302(0x2c7)]==_0x438302(0x2a2)&&!_0xb8a972[_0x438302(0x1e6)]));if(!_0x1c7ada)throw new Error(_0x438302(0x25d));return _0x3faa3b['serverNoContextTakeover']&&(_0x1c7ada[_0x438302(0x20f)]=!0x0),_0x3faa3b['clientNoContextTakeover']&&(_0x1c7ada[_0x438302(0x292)]=!0x0),typeof _0x3faa3b['serverMaxWindowBits']==_0x438302(0x2a2)&&(_0x1c7ada[_0x438302(0x1f3)]=_0x3faa3b[_0x438302(0x2cc)]),typeof _0x3faa3b[_0x438302(0x2c7)]==_0x438302(0x2a2)?_0x1c7ada[_0x438302(0x1e6)]=_0x3faa3b[_0x438302(0x2c7)]:(_0x1c7ada[_0x438302(0x1e6)]===!0x0||_0x3faa3b['clientMaxWindowBits']===!0x1)&&delete _0x1c7ada[_0x438302(0x1e6)],_0x1c7ada;}[_0x440a85(0x22c)](_0x29f996){const _0x4759f6=_0x440a85,_0x4102ac=_0x29f996[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x4102ac[_0x4759f6(0x292)])throw new Error(_0x4759f6(0x2f6));if(!_0x4102ac['client_max_window_bits'])typeof this[_0x4759f6(0x1b9)][_0x4759f6(0x2c7)]==_0x4759f6(0x2a2)&&(_0x4102ac[_0x4759f6(0x1e6)]=this[_0x4759f6(0x1b9)][_0x4759f6(0x2c7)]);else{if(this[_0x4759f6(0x1b9)][_0x4759f6(0x2c7)]===!0x1||typeof this[_0x4759f6(0x1b9)][_0x4759f6(0x2c7)]=='number'&&_0x4102ac[_0x4759f6(0x1e6)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x4759f6(0x2df));}return _0x4102ac;}[_0x440a85(0x2d7)](_0x58bd7e){return _0x58bd7e['forEach'](_0x23c67d=>{const _0x48e1e8=_0x20a4;Object['keys'](_0x23c67d)[_0x48e1e8(0x187)](_0x3938ae=>{const _0x4f30a8=_0x48e1e8;let _0xe48a35=_0x23c67d[_0x3938ae];if(_0xe48a35['length']>0x1)throw new Error(_0x4f30a8(0x1df)+_0x3938ae+_0x4f30a8(0x277));if(_0xe48a35=_0xe48a35[0x0],_0x3938ae===_0x4f30a8(0x1e6)){if(_0xe48a35!==!0x0){const _0x41bb40=+_0xe48a35;if(!Number[_0x4f30a8(0x2d0)](_0x41bb40)||_0x41bb40<0x8||_0x41bb40>0xf)throw new TypeError(_0x4f30a8(0x1c2)+_0x3938ae+_0x4f30a8(0x2b1)+_0xe48a35);_0xe48a35=_0x41bb40;}else{if(!this[_0x4f30a8(0x186)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3938ae+_0x4f30a8(0x2b1)+_0xe48a35);}}else{if(_0x3938ae==='server_max_window_bits'){const _0x2ee8a7=+_0xe48a35;if(!Number[_0x4f30a8(0x2d0)](_0x2ee8a7)||_0x2ee8a7<0x8||_0x2ee8a7>0xf)throw new TypeError(_0x4f30a8(0x1c2)+_0x3938ae+_0x4f30a8(0x2b1)+_0xe48a35);_0xe48a35=_0x2ee8a7;}else{if(_0x3938ae===_0x4f30a8(0x292)||_0x3938ae===_0x4f30a8(0x20f)){if(_0xe48a35!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3938ae+_0x4f30a8(0x2b1)+_0xe48a35);}else throw new Error(_0x4f30a8(0x1b7)+_0x3938ae+'\x22');}}_0x23c67d[_0x3938ae]=_0xe48a35;});}),_0x58bd7e;}[_0x440a85(0x2ac)](_0x1d47c9,_0x51f0db,_0x227fe3){const _0x152f94=_0x440a85;_0x294afc[_0x152f94(0x2a5)](_0x1eaef2=>{const _0x35a175=_0x152f94;this[_0x35a175(0x2f8)](_0x1d47c9,_0x51f0db,(_0x33fe32,_0x3b4560)=>{_0x1eaef2(),_0x227fe3(_0x33fe32,_0x3b4560);});});}['compress'](_0x77da15,_0x8c7eea,_0x513e2c){const _0x377625=_0x440a85;_0x294afc[_0x377625(0x2a5)](_0x5ccc95=>{this['_compress'](_0x77da15,_0x8c7eea,(_0x2873e6,_0x4a9dc6)=>{_0x5ccc95(),_0x513e2c(_0x2873e6,_0x4a9dc6);});});}['_decompress'](_0x33998e,_0x2599ce,_0x43707e){const _0x362657=_0x440a85,_0x912c31=this[_0x362657(0x186)]?_0x362657(0x2ef):_0x362657(0x257);if(!this['_inflate']){const _0x169b36=_0x912c31+_0x362657(0x1c9),_0x251b04=typeof this['params'][_0x169b36]!=_0x362657(0x2a2)?_0x404d12[_0x362657(0x2ee)]:this[_0x362657(0x1c3)][_0x169b36];this[_0x362657(0x2f7)]=_0x404d12['createInflateRaw']({...this['_options'][_0x362657(0x1a7)],'windowBits':_0x251b04}),this[_0x362657(0x2f7)][_0x417206]=this,this[_0x362657(0x2f7)][_0x593cc9]=0x0,this[_0x362657(0x2f7)][_0x2c5b80]=[],this[_0x362657(0x2f7)]['on'](_0x362657(0x268),_0x3f0825),this[_0x362657(0x2f7)]['on']('data',_0x427a4e);}this[_0x362657(0x2f7)][_0x4be0ad]=_0x43707e,this[_0x362657(0x2f7)][_0x362657(0x1f2)](_0x33998e),_0x2599ce&&this['_inflate'][_0x362657(0x1f2)](_0x30ac0b),this[_0x362657(0x2f7)][_0x362657(0x230)](()=>{const _0xa61028=_0x362657,_0x33bbb3=this['_inflate'][_0x4592dc];if(_0x33bbb3){this[_0xa61028(0x2f7)][_0xa61028(0x170)](),this[_0xa61028(0x2f7)]=null,_0x43707e(_0x33bbb3);return;}const _0x48e825=_0x22eb87['concat'](this[_0xa61028(0x2f7)][_0x2c5b80],this[_0xa61028(0x2f7)][_0x593cc9]);this[_0xa61028(0x2f7)][_0xa61028(0x2f9)][_0xa61028(0x1f1)]?(this[_0xa61028(0x2f7)][_0xa61028(0x170)](),this[_0xa61028(0x2f7)]=null):(this[_0xa61028(0x2f7)][_0x593cc9]=0x0,this[_0xa61028(0x2f7)][_0x2c5b80]=[],_0x2599ce&&this[_0xa61028(0x1c3)][_0x912c31+_0xa61028(0x2be)]&&this[_0xa61028(0x2f7)][_0xa61028(0x2db)]()),_0x43707e(null,_0x48e825);});}[_0x440a85(0x16b)](_0x3432d9,_0x44ee26,_0x497ed0){const _0x3f677c=_0x440a85,_0x1572cc=this['_isServer']?_0x3f677c(0x257):_0x3f677c(0x2ef);if(!this[_0x3f677c(0x2c6)]){const _0xb24f96=_0x1572cc+_0x3f677c(0x1c9),_0x22eb36=typeof this[_0x3f677c(0x1c3)][_0xb24f96]!=_0x3f677c(0x2a2)?_0x404d12[_0x3f677c(0x2ee)]:this['params'][_0xb24f96];this[_0x3f677c(0x2c6)]=_0x404d12[_0x3f677c(0x29c)]({...this[_0x3f677c(0x1b9)]['zlibDeflateOptions'],'windowBits':_0x22eb36}),this[_0x3f677c(0x2c6)][_0x593cc9]=0x0,this['_deflate'][_0x2c5b80]=[],this[_0x3f677c(0x2c6)]['on'](_0x3f677c(0x191),_0x278604);}this[_0x3f677c(0x2c6)][_0x4be0ad]=_0x497ed0,this[_0x3f677c(0x2c6)][_0x3f677c(0x1f2)](_0x3432d9),this[_0x3f677c(0x2c6)][_0x3f677c(0x230)](_0x404d12[_0x3f677c(0x215)],()=>{const _0x2afaac=_0x3f677c;if(!this[_0x2afaac(0x2c6)])return;let _0x3c65c4=_0x22eb87[_0x2afaac(0x262)](this['_deflate'][_0x2c5b80],this[_0x2afaac(0x2c6)][_0x593cc9]);_0x44ee26&&(_0x3c65c4=new _0x522d4d(_0x3c65c4[_0x2afaac(0x28b)],_0x3c65c4[_0x2afaac(0x311)],_0x3c65c4[_0x2afaac(0x30a)]-0x4)),this[_0x2afaac(0x2c6)][_0x4be0ad]=null,this[_0x2afaac(0x2c6)][_0x593cc9]=0x0,this[_0x2afaac(0x2c6)][_0x2c5b80]=[],_0x44ee26&&this[_0x2afaac(0x1c3)][_0x1572cc+'_no_context_takeover']&&this['_deflate']['reset'](),_0x497ed0(null,_0x3c65c4);});}}ve=_0xaf15b2;function _0x278604(_0x520435){const _0x49f9c5=_0x440a85;this[_0x2c5b80][_0x49f9c5(0x304)](_0x520435),this[_0x593cc9]+=_0x520435[_0x49f9c5(0x30a)];}function _0x427a4e(_0x253ebe){const _0x591cc1=_0x440a85;if(this[_0x593cc9]+=_0x253ebe[_0x591cc1(0x30a)],this[_0x417206][_0x591cc1(0x314)]<0x1||this[_0x593cc9]<=this[_0x417206][_0x591cc1(0x314)]){this[_0x2c5b80][_0x591cc1(0x304)](_0x253ebe);return;}this[_0x4592dc]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x4592dc]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4592dc][_0x2f0e15]=0x3f1,this[_0x591cc1(0x184)]('data',_0x427a4e),this[_0x591cc1(0x2db)]();}function _0x3f0825(_0x2ffb12){if(this[_0x417206]['_inflate']=null,this[_0x4592dc]){this[_0x4be0ad](this[_0x4592dc]);return;}_0x2ffb12[_0x2f0e15]=0x3ef,this[_0x4be0ad](_0x2ffb12);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x670fda(0x166)](Object[_0x670fda(0x193)]({'__proto__':null,'default':Ht},Symbol[_0x670fda(0x2d8)],{'value':_0x670fda(0x2dd)})),Yt=ut(zt);function _0x183a(){const _0x3ccc97=['warn','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','read','_closeFrameReceived','next','_redirects','keys','send','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','1904215bcxgPO','readOnly','species','_binaryType','map','invalid\x20UTF-8\x20sequence','_originalHostOrSocketPath','construct','objectMode','haveLength','The\x20server\x20is\x20not\x20running','Parameter\x20\x22','sec-websocket-key','_allowSynchronousEvents','STATUS_CODES','Upgrade','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','client_max_window_bits','_totalPayloadLength','abort','finishRequest','socket','isPaused','_masked','exports','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_readyState','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','endEmitted','write','server_max_window_bits','digest','_payloadLength','WebSocket\x20is\x20not\x20open:\x20readyState\x20','http:','WS_ERR_INVALID_OPCODE','port','CONNECTING','startsWith','kError','alloc','default','Connection:\x20Upgrade','websocket','readyState','\x22\x20subprotocol\x20is\x20duplicated','statusCode','48GcNZac','entries','address','WS_ERR_EXPECTED_MASK','Max\x20payload\x20size\x20exceeded','Sec-WebSocket-Protocol:\x20','hash','string','threshold','_final','sec-websocket-accept','server_no_context_takeover','invalid\x20payload\x20length\x20','kIsForOnEventAttribute','_errorEmitted','FIN\x20must\x20be\x20set','find','Z_SYNC_FLUSH','_destroy','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','nextTick','_injector','opcode','_closeCode','_buffers','redirect','isValidUTF8','Sec-WebSocket-Origin','fin','connection','buffers','upgrade','toLowerCase','getPayloadLength16','stream','The\x20URL\x27s\x20pathname\x20is\x20empty','consume','Server\x20sent\x20an\x20invalid\x20subprotocol','end','listeners','acceptAsClient','startLoop','File','once','flush','target','Invalid\x20URL:\x20','createSocket','concurrency','_req','OPEN','WS_ERR_INVALID_CLOSE_CODE','bufferedAmount','binaryType','clientTracking','reason','acceptAsServer','unshift','kData','update','_loop','createError','host','24aDepMx','_skipUTF8Validation','backlog','dispatch','Cookie','drain','servername','destroy','generateMask','Opening\x20handshake\x20has\x20timed\x20out','terminate','handleEvent','bind','Sec-WebSocket-Accept:\x20','setHeader','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_server','open','WS_ERR_EXPECTED_FIN','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','server','CLOSED','indexOf','MASK\x20must\x20be\x20clear','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','socketPath','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','timeout','perMessageDeflate','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','concat','concurrencyLimit','needDrain','wsClientError','_originalSecure','writeUInt16BE','error','enqueue','destroyed','slice','_fragments','createConnection','Unsupported\x20protocol\x20version:\x20','text/plain','jobs','followRedirects','offer','24MpYCAh','93546GBaxTt','constructor','_removeListeners','\x22\x20must\x20have\x20only\x20a\x20single\x20value','handleUpgrade','allocUnsafe','split','unexpected-response','pipe','Invalid\x20Sec-WebSocket-Accept\x20header','Upgrade:\x20websocket','env','set','allowSynchronousEvents','invalid\x20opcode\x200','WS_NO_UTF_8_VALIDATE','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_bufferedBytes','values','skipUTF8Validation','sec-websocket-protocol','Unexpected\x20end\x20of\x20input','buffer','mask','_maskBuffer','get','status-code','Origin','_bufferedAmount','client_no_context_takeover','invalid\x20status\x20code\x20','fragments','customHeaders','kListener','shift','Unexpected\x20character\x20at\x20index\x20','isView','_closeFrameSent','total-length','createDeflateRaw','kCode','code','url','accept','href','number','wss:','extensionName','add','582716TXJpbP','shouldHandle','_firstFragment','getConfig','_protocol','_fin','decompress','base64','Invalid\x20Upgrade\x20header','serverNoContextTakeover','1931699FOBiPi','\x22:\x20','2000934ZQxcyQ','nodebuffer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','catch','pause','Invalid\x20WebSocket\x20frame:\x20','_queue','setSocket','hasOwnProperty','pong','RSV1\x20must\x20be\x20clear','CLOSING','_no_context_takeover','maxPayload','noServer','onerror','response','options','unmask','15907881yyOlXs','_deflate','clientMaxWindowBits','getBlobData','method','_extensions','kByteLength','serverMaxWindowBits','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','_opcode','_generateMask','isInteger','_read','70ceilOm','WS_ERR_UNEXPECTED_MASK','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_messageLength','sec-websocket-extensions','normalizeParams','toStringTag','frame','request','reset','hostname','Module','kAborted','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_closeMessage','kRun','finished','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_originalIpc','join','format','headers','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','wasClean','\x0d\x0a\x0d\x0a','_url','conclude','setTimeout','Z_DEFAULT_WINDOWBITS','client','arrayBuffer','onmessage','test','WS_ERR_INVALID_UTF8','WS_NO_BUFFER_UTIL','extensions','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_inflate','_decompress','_readableState','toString','_compressed','permessage-deflate','sec-websocket-origin','__esModule','authorization','resume','charCodeAt','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','handshakeTimeout','push','listenerCount','cleanup','_sender','writable','_errored','length','pluginName','_mask','Invalid\x20Sec-WebSocket-Extensions\x20header','emit','has','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','byteOffset','create','defaultPort','_maxPayload','_doCreateSocket','HTTP/1.1\x20101\x20Switching\x20Protocols','sha1','getPayloadLength64','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','clientNoContextTakeover','errorEmitted','finish','isBuffer','freeze','The\x20URL\x20contains\x20a\x20fragment\x20identifier','byteLength','kType','search','_compress','protocol','type','object','maskBuffer','close','GET','readUInt32BE','encrypted','location','isArray','controlMessage','_fragmented','captureStackTrace','autoPong','Invalid\x20Sec-WebSocket-Protocol\x20header','addEventListener','rsv1','_write','Basic\x20','_writableState','includes','apply','function','_configService','removeListener','emitClose','_isServer','forEach','writeUIntBE','isServer','pow','getOwnPropertyDescriptor','listen','isIP','completeUpgrade','getInfo','dequeue','data','Unexpected\x20server\x20response:\x20','defineProperty','call','sendFrame','Maximum\x20redirects\x20exceeded','Sec-WebSocket-Extensions','auth','replace','password','WS_ERR_UNEXPECTED_RSV_1','dataMessage','cork','then','_registerDependencies','value','setNoDelay','invalid\x20opcode\x20','Invalid\x20HTTP\x20method','_socket','dispose','_autoPong','zlibInflateOptions','_paused','pending','cookie','blob','message','protocolVersion','_shouldEmitClose','getMask','verifyClient','from','authorized','_threshold','onopen','size','clients','Unknown\x20parameter\x20\x22','removeEventListener','_options','_receiver','_closeTimer','1013246OLjwop','HTTP/1.1\x20','Blob','parse','pathname','origin','Invalid\x20value\x20for\x20parameter\x20\x22','params','compress','prototype','_state','ping','kDone','_max_window_bits','path'];_0x183a=function(){return _0x3ccc97;};return _0x183a();}var Qe;function ne(){const _0x1c4a10=_0x670fda;if(Qe)return re[_0x1c4a10(0x1ed)];Qe=0x1;const {isUtf8:_0x403bde}=_0x4fa270,{hasBlob:_0x321f2d}=V(),_0x291f01=[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 _0x4af8fe(_0x2f5b3b){return _0x2f5b3b>=0x3e8&&_0x2f5b3b<=0x3f6&&_0x2f5b3b!==0x3ec&&_0x2f5b3b!==0x3ed&&_0x2f5b3b!==0x3ee||_0x2f5b3b>=0xbb8&&_0x2f5b3b<=0x1387;}function _0x5a25e1(_0x48f946){const _0x3c4a3c=_0x1c4a10,_0x200442=_0x48f946[_0x3c4a3c(0x30a)];let _0x1ff6da=0x0;for(;_0x1ff6da<_0x200442;)if((_0x48f946[_0x1ff6da]&0x80)===0x0)_0x1ff6da++;else{if((_0x48f946[_0x1ff6da]&0xe0)===0xc0){if(_0x1ff6da+0x1===_0x200442||(_0x48f946[_0x1ff6da+0x1]&0xc0)!==0x80||(_0x48f946[_0x1ff6da]&0xfe)===0xc0)return!0x1;_0x1ff6da+=0x2;}else{if((_0x48f946[_0x1ff6da]&0xf0)===0xe0){if(_0x1ff6da+0x2>=_0x200442||(_0x48f946[_0x1ff6da+0x1]&0xc0)!==0x80||(_0x48f946[_0x1ff6da+0x2]&0xc0)!==0x80||_0x48f946[_0x1ff6da]===0xe0&&(_0x48f946[_0x1ff6da+0x1]&0xe0)===0x80||_0x48f946[_0x1ff6da]===0xed&&(_0x48f946[_0x1ff6da+0x1]&0xe0)===0xa0)return!0x1;_0x1ff6da+=0x3;}else{if((_0x48f946[_0x1ff6da]&0xf8)===0xf0){if(_0x1ff6da+0x3>=_0x200442||(_0x48f946[_0x1ff6da+0x1]&0xc0)!==0x80||(_0x48f946[_0x1ff6da+0x2]&0xc0)!==0x80||(_0x48f946[_0x1ff6da+0x3]&0xc0)!==0x80||_0x48f946[_0x1ff6da]===0xf0&&(_0x48f946[_0x1ff6da+0x1]&0xf0)===0x80||_0x48f946[_0x1ff6da]===0xf4&&_0x48f946[_0x1ff6da+0x1]>0x8f||_0x48f946[_0x1ff6da]>0xf4)return!0x1;_0x1ff6da+=0x4;}else return!0x1;}}}return!0x0;}function _0x4323fe(_0x3ef803){const _0x1f2260=_0x1c4a10;return _0x321f2d&&typeof _0x3ef803=='object'&&typeof _0x3ef803[_0x1f2260(0x2f0)]==_0x1f2260(0x182)&&typeof _0x3ef803['type']==_0x1f2260(0x20b)&&typeof _0x3ef803[_0x1f2260(0x226)]==_0x1f2260(0x182)&&(_0x3ef803[Symbol[_0x1f2260(0x2d8)]]===_0x1f2260(0x1be)||_0x3ef803[Symbol[_0x1f2260(0x2d8)]]===_0x1f2260(0x22e));}if(re[_0x1c4a10(0x1ed)]={'isBlob':_0x4323fe,'isValidStatusCode':_0x4af8fe,'isValidUTF8':_0x5a25e1,'tokenChars':_0x291f01},_0x403bde)re[_0x1c4a10(0x1ed)]['isValidUTF8']=function(_0xd33abe){const _0x53ce61=_0x1c4a10;return _0xd33abe[_0x53ce61(0x30a)]<0x18?_0x5a25e1(_0xd33abe):_0x403bde(_0xd33abe);};else{if(!process[_0x1c4a10(0x27f)][_0x1c4a10(0x283)])try{const _0x1b04df=Yt;re[_0x1c4a10(0x1ed)][_0x1c4a10(0x21e)]=function(_0x17bc97){const _0x3dde1e=_0x1c4a10;return _0x17bc97[_0x3dde1e(0x30a)]<0x20?_0x5a25e1(_0x17bc97):_0x1b04df(_0x17bc97);};}catch{}}return re[_0x1c4a10(0x1ed)];}var Se,Je;function _0x20a4(_0x1f537d,_0x9e7e6){const _0x183a1a=_0x183a();return _0x20a4=function(_0x20a434,_0x9efd9c){_0x20a434=_0x20a434-0x161;let _0x1d6bce=_0x183a1a[_0x20a434];return _0x1d6bce;},_0x20a4(_0x1f537d,_0x9e7e6);}function dt(){const _0x5e4b2a=_0x670fda;if(Je)return Se;Je=0x1;const {Writable:_0x11982c}=_0x531b40,_0x4642bf=he(),{BINARY_TYPES:_0x4ef213,EMPTY_BUFFER:_0x250846,kStatusCode:_0x3bfcc4,kWebSocket:_0x24c7bc}=V(),{concat:_0x187441,toArrayBuffer:_0x2d74e2,unmask:_0x2b6585}=ce(),{isValidStatusCode:_0x348862,isValidUTF8:_0x562c62}=ne(),_0x4f8230=Buffer[Symbol['species']],_0x173acd=0x0,_0x413921=0x1,_0xd11331=0x2,_0x272240=0x3,_0x502988=0x4,_0x3b06f8=0x5,_0x475f32=0x6;class _0x5a0468 extends _0x11982c{constructor(_0x8763d8={}){const _0x18f33a=_0x20a4;super(),this[_0x18f33a(0x1e1)]=_0x8763d8[_0x18f33a(0x281)]!==void 0x0?_0x8763d8[_0x18f33a(0x281)]:!0x0,this[_0x18f33a(0x1d7)]=_0x8763d8[_0x18f33a(0x239)]||_0x4ef213[0x0],this[_0x18f33a(0x2ca)]=_0x8763d8[_0x18f33a(0x2f5)]||{},this[_0x18f33a(0x186)]=!!_0x8763d8[_0x18f33a(0x189)],this[_0x18f33a(0x314)]=_0x8763d8[_0x18f33a(0x2bf)]|0x0,this[_0x18f33a(0x244)]=!!_0x8763d8[_0x18f33a(0x288)],this[_0x24c7bc]=void 0x0,this[_0x18f33a(0x286)]=0x0,this[_0x18f33a(0x21c)]=[],this[_0x18f33a(0x2fb)]=!0x1,this[_0x18f33a(0x1f5)]=0x0,this[_0x18f33a(0x30c)]=void 0x0,this[_0x18f33a(0x177)]=0x0,this[_0x18f33a(0x1ec)]=!0x1,this[_0x18f33a(0x2ab)]=!0x1,this['_opcode']=0x0,this[_0x18f33a(0x1e7)]=0x0,this['_messageLength']=0x0,this[_0x18f33a(0x26c)]=[],this['_errored']=!0x1,this[_0x18f33a(0x240)]=!0x1,this[_0x18f33a(0x1c6)]=_0x173acd;}[_0x5e4b2a(0x17d)](_0x42eff2,_0x179266,_0x4f45ad){const _0x2377ef=_0x5e4b2a;if(this[_0x2377ef(0x2ce)]===0x8&&this[_0x2377ef(0x1c6)]==_0x173acd)return _0x4f45ad();this[_0x2377ef(0x286)]+=_0x42eff2['length'],this[_0x2377ef(0x21c)][_0x2377ef(0x304)](_0x42eff2),this[_0x2377ef(0x22d)](_0x4f45ad);}[_0x5e4b2a(0x228)](_0x5b138f){const _0x322c0c=_0x5e4b2a;if(this[_0x322c0c(0x286)]-=_0x5b138f,_0x5b138f===this['_buffers'][0x0][_0x322c0c(0x30a)])return this[_0x322c0c(0x21c)]['shift']();if(_0x5b138f<this['_buffers'][0x0][_0x322c0c(0x30a)]){const _0x20d0f5=this[_0x322c0c(0x21c)][0x0];return this[_0x322c0c(0x21c)][0x0]=new _0x4f8230(_0x20d0f5['buffer'],_0x20d0f5[_0x322c0c(0x311)]+_0x5b138f,_0x20d0f5[_0x322c0c(0x30a)]-_0x5b138f),new _0x4f8230(_0x20d0f5[_0x322c0c(0x28b)],_0x20d0f5[_0x322c0c(0x311)],_0x5b138f);}const _0x1b1281=Buffer[_0x322c0c(0x279)](_0x5b138f);do{const _0xcfef51=this[_0x322c0c(0x21c)][0x0],_0x206e31=_0x1b1281[_0x322c0c(0x30a)]-_0x5b138f;_0x5b138f>=_0xcfef51['length']?_0x1b1281[_0x322c0c(0x280)](this[_0x322c0c(0x21c)][_0x322c0c(0x297)](),_0x206e31):(_0x1b1281[_0x322c0c(0x280)](new Uint8Array(_0xcfef51[_0x322c0c(0x28b)],_0xcfef51[_0x322c0c(0x311)],_0x5b138f),_0x206e31),this[_0x322c0c(0x21c)][0x0]=new _0x4f8230(_0xcfef51['buffer'],_0xcfef51[_0x322c0c(0x311)]+_0x5b138f,_0xcfef51['length']-_0x5b138f)),_0x5b138f-=_0xcfef51[_0x322c0c(0x30a)];}while(_0x5b138f>0x0);return _0x1b1281;}[_0x5e4b2a(0x22d)](_0x4e5fd6){const _0x5038cb=_0x5e4b2a;this[_0x5038cb(0x240)]=!0x0;do switch(this[_0x5038cb(0x1c6)]){case _0x173acd:this[_0x5038cb(0x18f)](_0x4e5fd6);break;case _0x413921:this['getPayloadLength16'](_0x4e5fd6);break;case _0xd11331:this[_0x5038cb(0x318)](_0x4e5fd6);break;case _0x272240:this[_0x5038cb(0x1af)]();break;case _0x502988:this['getData'](_0x4e5fd6);break;case _0x3b06f8:case _0x475f32:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x5038cb(0x309)]||_0x4e5fd6();}[_0x5e4b2a(0x18f)](_0x44b24e){const _0x1bc98c=_0x5e4b2a;if(this[_0x1bc98c(0x286)]<0x2){this['_loop']=!0x1;return;}const _0x2f6a06=this[_0x1bc98c(0x228)](0x2);if((_0x2f6a06[0x0]&0x30)!==0x0){const _0x3f8075=this[_0x1bc98c(0x241)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x44b24e(_0x3f8075);return;}const _0x452752=(_0x2f6a06[0x0]&0x40)===0x40;if(_0x452752&&!this[_0x1bc98c(0x2ca)][_0x4642bf['extensionName']]){const _0x2decc0=this[_0x1bc98c(0x241)](RangeError,_0x1bc98c(0x2bc),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x44b24e(_0x2decc0);return;}if(this['_fin']=(_0x2f6a06[0x0]&0x80)===0x80,this[_0x1bc98c(0x2ce)]=_0x2f6a06[0x0]&0xf,this[_0x1bc98c(0x1f5)]=_0x2f6a06[0x1]&0x7f,this[_0x1bc98c(0x2ce)]===0x0){if(_0x452752){const _0x4d1a9c=this['createError'](RangeError,_0x1bc98c(0x2bc),!0x0,0x3ea,_0x1bc98c(0x19b));_0x44b24e(_0x4d1a9c);return;}if(!this['_fragmented']){const _0x31c798=this[_0x1bc98c(0x241)](RangeError,_0x1bc98c(0x282),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x44b24e(_0x31c798);return;}this[_0x1bc98c(0x2ce)]=this[_0x1bc98c(0x177)];}else{if(this['_opcode']===0x1||this[_0x1bc98c(0x2ce)]===0x2){if(this[_0x1bc98c(0x177)]){const _0x5385e8=this[_0x1bc98c(0x241)](RangeError,_0x1bc98c(0x1a2)+this[_0x1bc98c(0x2ce)],!0x0,0x3ea,_0x1bc98c(0x1f8));_0x44b24e(_0x5385e8);return;}this[_0x1bc98c(0x2fb)]=_0x452752;}else{if(this[_0x1bc98c(0x2ce)]>0x7&&this['_opcode']<0xb){if(!this[_0x1bc98c(0x2ab)]){const _0x16a75b=this[_0x1bc98c(0x241)](RangeError,_0x1bc98c(0x213),!0x0,0x3ea,_0x1bc98c(0x255));_0x44b24e(_0x16a75b);return;}if(_0x452752){const _0x35d4a3=this['createError'](RangeError,_0x1bc98c(0x2bc),!0x0,0x3ea,_0x1bc98c(0x19b));_0x44b24e(_0x35d4a3);return;}if(this['_payloadLength']>0x7d||this[_0x1bc98c(0x2ce)]===0x8&&this['_payloadLength']===0x1){const _0x41d335=this[_0x1bc98c(0x241)](RangeError,_0x1bc98c(0x210)+this[_0x1bc98c(0x1f5)],!0x0,0x3ea,_0x1bc98c(0x284));_0x44b24e(_0x41d335);return;}}else{const _0x5d2ad4=this[_0x1bc98c(0x241)](RangeError,'invalid\x20opcode\x20'+this[_0x1bc98c(0x2ce)],!0x0,0x3ea,_0x1bc98c(0x1f8));_0x44b24e(_0x5d2ad4);return;}}}if(!this['_fin']&&!this[_0x1bc98c(0x177)]&&(this[_0x1bc98c(0x177)]=this[_0x1bc98c(0x2ce)]),this[_0x1bc98c(0x1ec)]=(_0x2f6a06[0x1]&0x80)===0x80,this[_0x1bc98c(0x186)]){if(!this[_0x1bc98c(0x1ec)]){const _0x3eb0ea=this[_0x1bc98c(0x241)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x1bc98c(0x207));_0x44b24e(_0x3eb0ea);return;}}else{if(this['_masked']){const _0x59020d=this[_0x1bc98c(0x241)](RangeError,_0x1bc98c(0x25a),!0x0,0x3ea,_0x1bc98c(0x2d3));_0x44b24e(_0x59020d);return;}}this['_payloadLength']===0x7e?this[_0x1bc98c(0x1c6)]=_0x413921:this['_payloadLength']===0x7f?this[_0x1bc98c(0x1c6)]=_0xd11331:this[_0x1bc98c(0x1dd)](_0x44b24e);}[_0x5e4b2a(0x225)](_0x163794){const _0x225181=_0x5e4b2a;if(this[_0x225181(0x286)]<0x2){this[_0x225181(0x240)]=!0x1;return;}this[_0x225181(0x1f5)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x225181(0x1dd)](_0x163794);}[_0x5e4b2a(0x318)](_0x36ad10){const _0x399c68=_0x5e4b2a;if(this[_0x399c68(0x286)]<0x8){this[_0x399c68(0x240)]=!0x1;return;}const _0x41eee6=this['consume'](0x8),_0x456bd0=_0x41eee6['readUInt32BE'](0x0);if(_0x456bd0>Math[_0x399c68(0x18a)](0x2,0x15)-0x1){const _0x53cfbe=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x399c68(0x161));_0x36ad10(_0x53cfbe);return;}this[_0x399c68(0x1f5)]=_0x456bd0*Math[_0x399c68(0x18a)](0x2,0x20)+_0x41eee6[_0x399c68(0x172)](0x4),this['haveLength'](_0x36ad10);}[_0x5e4b2a(0x1dd)](_0x39cc68){const _0x4d9301=_0x5e4b2a;if(this[_0x4d9301(0x1f5)]&&this[_0x4d9301(0x2ce)]<0x8&&(this['_totalPayloadLength']+=this[_0x4d9301(0x1f5)],this[_0x4d9301(0x1e7)]>this[_0x4d9301(0x314)]&&this[_0x4d9301(0x314)]>0x0)){const _0x4176ad=this[_0x4d9301(0x241)](RangeError,_0x4d9301(0x208),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x39cc68(_0x4176ad);return;}this['_masked']?this[_0x4d9301(0x1c6)]=_0x272240:this[_0x4d9301(0x1c6)]=_0x502988;}['getMask'](){const _0x2c0d27=_0x5e4b2a;if(this[_0x2c0d27(0x286)]<0x4){this[_0x2c0d27(0x240)]=!0x1;return;}this[_0x2c0d27(0x30c)]=this[_0x2c0d27(0x228)](0x4),this['_state']=_0x502988;}['getData'](_0x664059){const _0x4624c3=_0x5e4b2a;let _0x44a5eb=_0x250846;if(this[_0x4624c3(0x1f5)]){if(this[_0x4624c3(0x286)]<this[_0x4624c3(0x1f5)]){this[_0x4624c3(0x240)]=!0x1;return;}_0x44a5eb=this['consume'](this[_0x4624c3(0x1f5)]),this['_masked']&&(this[_0x4624c3(0x30c)][0x0]|this[_0x4624c3(0x30c)][0x1]|this['_mask'][0x2]|this[_0x4624c3(0x30c)][0x3])!==0x0&&_0x2b6585(_0x44a5eb,this[_0x4624c3(0x30c)]);}if(this[_0x4624c3(0x2ce)]>0x7){this['controlMessage'](_0x44a5eb,_0x664059);return;}if(this[_0x4624c3(0x2fb)]){this[_0x4624c3(0x1c6)]=_0x3b06f8,this[_0x4624c3(0x2ac)](_0x44a5eb,_0x664059);return;}_0x44a5eb[_0x4624c3(0x30a)]&&(this[_0x4624c3(0x2d5)]=this[_0x4624c3(0x1e7)],this['_fragments'][_0x4624c3(0x304)](_0x44a5eb)),this['dataMessage'](_0x664059);}['decompress'](_0x2b4c95,_0x56cd89){const _0x51aae9=_0x5e4b2a;this['_extensions'][_0x4642bf[_0x51aae9(0x2a4)]][_0x51aae9(0x2ac)](_0x2b4c95,this[_0x51aae9(0x2ab)],(_0xce6d10,_0x2dfba0)=>{const _0x34a39f=_0x51aae9;if(_0xce6d10)return _0x56cd89(_0xce6d10);if(_0x2dfba0[_0x34a39f(0x30a)]){if(this[_0x34a39f(0x2d5)]+=_0x2dfba0[_0x34a39f(0x30a)],this[_0x34a39f(0x2d5)]>this[_0x34a39f(0x314)]&&this[_0x34a39f(0x314)]>0x0){const _0x51ed58=this[_0x34a39f(0x241)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x34a39f(0x2b4));_0x56cd89(_0x51ed58);return;}this[_0x34a39f(0x26c)][_0x34a39f(0x304)](_0x2dfba0);}this[_0x34a39f(0x19c)](_0x56cd89),this[_0x34a39f(0x1c6)]===_0x173acd&&this[_0x34a39f(0x22d)](_0x56cd89);});}[_0x5e4b2a(0x19c)](_0xcb2ce9){const _0x2b3fee=_0x5e4b2a;if(!this[_0x2b3fee(0x2ab)]){this[_0x2b3fee(0x1c6)]=_0x173acd;return;}const _0xdea9a6=this[_0x2b3fee(0x2d5)],_0x41cbf9=this['_fragments'];if(this[_0x2b3fee(0x1e7)]=0x0,this['_messageLength']=0x0,this[_0x2b3fee(0x177)]=0x0,this['_fragments']=[],this[_0x2b3fee(0x2ce)]===0x2){let _0x716882;this[_0x2b3fee(0x1d7)]===_0x2b3fee(0x2b3)?_0x716882=_0x187441(_0x41cbf9,_0xdea9a6):this[_0x2b3fee(0x1d7)]==='arraybuffer'?_0x716882=_0x2d74e2(_0x187441(_0x41cbf9,_0xdea9a6)):this['_binaryType']===_0x2b3fee(0x1ab)?_0x716882=new Blob(_0x41cbf9):_0x716882=_0x41cbf9,this[_0x2b3fee(0x1e1)]?(this[_0x2b3fee(0x30e)]('message',_0x716882,!0x0),this[_0x2b3fee(0x1c6)]=_0x173acd):(this[_0x2b3fee(0x1c6)]=_0x475f32,setImmediate(()=>{const _0x591133=_0x2b3fee;this[_0x591133(0x30e)](_0x591133(0x1ac),_0x716882,!0x0),this[_0x591133(0x1c6)]=_0x173acd,this['startLoop'](_0xcb2ce9);}));}else{const _0x3cf26e=_0x187441(_0x41cbf9,_0xdea9a6);if(!this[_0x2b3fee(0x244)]&&!_0x562c62(_0x3cf26e)){const _0x5d6105=this[_0x2b3fee(0x241)](Error,_0x2b3fee(0x1d9),!0x0,0x3ef,_0x2b3fee(0x2f3));_0xcb2ce9(_0x5d6105);return;}this[_0x2b3fee(0x1c6)]===_0x3b06f8||this[_0x2b3fee(0x1e1)]?(this[_0x2b3fee(0x30e)](_0x2b3fee(0x1ac),_0x3cf26e,!0x1),this['_state']=_0x173acd):(this['_state']=_0x475f32,setImmediate(()=>{const _0x5e29d2=_0x2b3fee;this[_0x5e29d2(0x30e)](_0x5e29d2(0x1ac),_0x3cf26e,!0x1),this[_0x5e29d2(0x1c6)]=_0x173acd,this[_0x5e29d2(0x22d)](_0xcb2ce9);}));}}[_0x5e4b2a(0x176)](_0x518df7,_0x99dc01){const _0x4b4148=_0x5e4b2a;if(this[_0x4b4148(0x2ce)]===0x8){if(_0x518df7[_0x4b4148(0x30a)]===0x0)this[_0x4b4148(0x240)]=!0x1,this['emit'](_0x4b4148(0x2ec),0x3ed,_0x250846),this[_0x4b4148(0x22a)]();else{const _0x38316c=_0x518df7['readUInt16BE'](0x0);if(!_0x348862(_0x38316c)){const _0x4834d8=this[_0x4b4148(0x241)](RangeError,_0x4b4148(0x293)+_0x38316c,!0x0,0x3ea,_0x4b4148(0x237));_0x99dc01(_0x4834d8);return;}const _0x5d0007=new _0x4f8230(_0x518df7[_0x4b4148(0x28b)],_0x518df7[_0x4b4148(0x311)]+0x2,_0x518df7['length']-0x2);if(!this[_0x4b4148(0x244)]&&!_0x562c62(_0x5d0007)){const _0x5c9327=this[_0x4b4148(0x241)](Error,_0x4b4148(0x1d9),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x99dc01(_0x5c9327);return;}this[_0x4b4148(0x240)]=!0x1,this[_0x4b4148(0x30e)](_0x4b4148(0x2ec),_0x38316c,_0x5d0007),this[_0x4b4148(0x22a)]();}this[_0x4b4148(0x1c6)]=_0x173acd;return;}this[_0x4b4148(0x1e1)]?(this[_0x4b4148(0x30e)](this['_opcode']===0x9?_0x4b4148(0x1c7):_0x4b4148(0x2bb),_0x518df7),this[_0x4b4148(0x1c6)]=_0x173acd):(this['_state']=_0x475f32,setImmediate(()=>{const _0x558d50=_0x4b4148;this[_0x558d50(0x30e)](this['_opcode']===0x9?'ping':'pong',_0x518df7),this['_state']=_0x173acd,this[_0x558d50(0x22d)](_0x99dc01);}));}[_0x5e4b2a(0x241)](_0x574202,_0x28ff31,_0x5c4e70,_0x550c6a,_0x5b011a){const _0x1565f6=_0x5e4b2a;this['_loop']=!0x1,this[_0x1565f6(0x309)]=!0x0;const _0x283e55=new _0x574202(_0x5c4e70?_0x1565f6(0x2b7)+_0x28ff31:_0x28ff31);return Error[_0x1565f6(0x178)](_0x283e55,this[_0x1565f6(0x241)]),_0x283e55[_0x1565f6(0x29e)]=_0x5b011a,_0x283e55[_0x3bfcc4]=_0x550c6a,_0x283e55;}}return Se=_0x5a0468,Se;}var Ee,et;function _t(){const _0xda7401=_0x670fda;if(et)return Ee;et=0x1;const {Duplex:_0x1dad8c}=_0x531b40,{randomFillSync:_0x34e1ab}=_0x38d98d,_0x2c8824=he(),{EMPTY_BUFFER:_0x333d0b,kWebSocket:_0xdda461,NOOP:_0x45a9d2}=V(),{isBlob:_0x2b3436,isValidStatusCode:_0x1f82ce}=ne(),{mask:_0x49a274,toBuffer:_0x1f21e8}=ce(),_0x1fc42f=Symbol(_0xda7401(0x2cb)),_0xecff2e=Buffer[_0xda7401(0x1fd)](0x4),_0x4ae753=0x8*0x400;let _0x3f32d3,_0x45517d=_0x4ae753;const _0x29eb74=0x0,_0x2fed81=0x1,_0xa2f9ac=0x2;class _0x3a61ec{constructor(_0x1406b1,_0x57f01c,_0x535200){const _0x999657=_0xda7401;this[_0x999657(0x2ca)]=_0x57f01c||{},_0x535200&&(this[_0x999657(0x2cf)]=_0x535200,this['_maskBuffer']=Buffer[_0x999657(0x1fd)](0x4)),this[_0x999657(0x1a4)]=_0x1406b1,this[_0x999657(0x2a8)]=!0x0,this[_0x999657(0x16b)]=!0x1,this[_0x999657(0x286)]=0x0,this[_0x999657(0x2b8)]=[],this['_state']=_0x29eb74,this['onerror']=_0x45a9d2,this[_0xdda461]=void 0x0;}static['frame'](_0x1d29bc,_0x2d29af){const _0x4bff44=_0xda7401;let _0x463399,_0x169f40=!0x1,_0xb5ad0f=0x2,_0x14ba31=!0x1;_0x2d29af[_0x4bff44(0x28c)]&&(_0x463399=_0x2d29af[_0x4bff44(0x16f)]||_0xecff2e,_0x2d29af[_0x4bff44(0x24b)]?_0x2d29af[_0x4bff44(0x24b)](_0x463399):(_0x45517d===_0x4ae753&&(_0x3f32d3===void 0x0&&(_0x3f32d3=Buffer[_0x4bff44(0x1fd)](_0x4ae753)),_0x34e1ab(_0x3f32d3,0x0,_0x4ae753),_0x45517d=0x0),_0x463399[0x0]=_0x3f32d3[_0x45517d++],_0x463399[0x1]=_0x3f32d3[_0x45517d++],_0x463399[0x2]=_0x3f32d3[_0x45517d++],_0x463399[0x3]=_0x3f32d3[_0x45517d++]),_0x14ba31=(_0x463399[0x0]|_0x463399[0x1]|_0x463399[0x2]|_0x463399[0x3])===0x0,_0xb5ad0f=0x6);let _0x4c492e;typeof _0x1d29bc==_0x4bff44(0x20b)?(!_0x2d29af[_0x4bff44(0x28c)]||_0x14ba31)&&_0x2d29af[_0x1fc42f]!==void 0x0?_0x4c492e=_0x2d29af[_0x1fc42f]:(_0x1d29bc=Buffer[_0x4bff44(0x1b1)](_0x1d29bc),_0x4c492e=_0x1d29bc[_0x4bff44(0x30a)]):(_0x4c492e=_0x1d29bc[_0x4bff44(0x30a)],_0x169f40=_0x2d29af[_0x4bff44(0x28c)]&&_0x2d29af[_0x4bff44(0x1d5)]&&!_0x14ba31);let _0x15deeb=_0x4c492e;_0x4c492e>=0x10000?(_0xb5ad0f+=0x8,_0x15deeb=0x7f):_0x4c492e>0x7d&&(_0xb5ad0f+=0x2,_0x15deeb=0x7e);const _0x151ff9=Buffer['allocUnsafe'](_0x169f40?_0x4c492e+_0xb5ad0f:_0xb5ad0f);return _0x151ff9[0x0]=_0x2d29af[_0x4bff44(0x220)]?_0x2d29af[_0x4bff44(0x21a)]|0x80:_0x2d29af[_0x4bff44(0x21a)],_0x2d29af[_0x4bff44(0x17c)]&&(_0x151ff9[0x0]|=0x40),_0x151ff9[0x1]=_0x15deeb,_0x15deeb===0x7e?_0x151ff9['writeUInt16BE'](_0x4c492e,0x2):_0x15deeb===0x7f&&(_0x151ff9[0x2]=_0x151ff9[0x3]=0x0,_0x151ff9[_0x4bff44(0x188)](_0x4c492e,0x4,0x6)),_0x2d29af[_0x4bff44(0x28c)]?(_0x151ff9[0x1]|=0x80,_0x151ff9[_0xb5ad0f-0x4]=_0x463399[0x0],_0x151ff9[_0xb5ad0f-0x3]=_0x463399[0x1],_0x151ff9[_0xb5ad0f-0x2]=_0x463399[0x2],_0x151ff9[_0xb5ad0f-0x1]=_0x463399[0x3],_0x14ba31?[_0x151ff9,_0x1d29bc]:_0x169f40?(_0x49a274(_0x1d29bc,_0x463399,_0x151ff9,_0xb5ad0f,_0x4c492e),[_0x151ff9]):(_0x49a274(_0x1d29bc,_0x463399,_0x1d29bc,0x0,_0x4c492e),[_0x151ff9,_0x1d29bc])):[_0x151ff9,_0x1d29bc];}[_0xda7401(0x170)](_0x4b68ed,_0xb308c0,_0x5e5a23,_0x207e12){const _0x1c47af=_0xda7401;let _0x5e90da;if(_0x4b68ed===void 0x0)_0x5e90da=_0x333d0b;else{if(typeof _0x4b68ed!=_0x1c47af(0x2a2)||!_0x1f82ce(_0x4b68ed))throw new TypeError(_0x1c47af(0x302));if(_0xb308c0===void 0x0||!_0xb308c0[_0x1c47af(0x30a)])_0x5e90da=Buffer[_0x1c47af(0x279)](0x2),_0x5e90da[_0x1c47af(0x267)](_0x4b68ed,0x0);else{const _0x290fa3=Buffer[_0x1c47af(0x168)](_0xb308c0);if(_0x290fa3>0x7b)throw new RangeError(_0x1c47af(0x25b));_0x5e90da=Buffer[_0x1c47af(0x279)](0x2+_0x290fa3),_0x5e90da[_0x1c47af(0x267)](_0x4b68ed,0x0),typeof _0xb308c0=='string'?_0x5e90da[_0x1c47af(0x1f2)](_0xb308c0,0x2):_0x5e90da[_0x1c47af(0x280)](_0xb308c0,0x2);}}const _0x16aaad={[_0x1fc42f]:_0x5e90da['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5e5a23,'maskBuffer':this[_0x1c47af(0x28d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x29eb74?this[_0x1c47af(0x269)]([this[_0x1c47af(0x246)],_0x5e90da,!0x1,_0x16aaad,_0x207e12]):this['sendFrame'](_0x3a61ec['frame'](_0x5e90da,_0x16aaad),_0x207e12);}[_0xda7401(0x1c7)](_0x2661dd,_0x3c1f3b,_0x4cd9e1){const _0x2ab9bc=_0xda7401;let _0x476278,_0x30f4c0;if(typeof _0x2661dd==_0x2ab9bc(0x20b)?(_0x476278=Buffer[_0x2ab9bc(0x168)](_0x2661dd),_0x30f4c0=!0x1):_0x2b3436(_0x2661dd)?(_0x476278=_0x2661dd[_0x2ab9bc(0x1b5)],_0x30f4c0=!0x1):(_0x2661dd=_0x1f21e8(_0x2661dd),_0x476278=_0x2661dd[_0x2ab9bc(0x30a)],_0x30f4c0=_0x1f21e8[_0x2ab9bc(0x1d5)]),_0x476278>0x7d)throw new RangeError(_0x2ab9bc(0x25e));const _0x4be706={[_0x1fc42f]:_0x476278,'fin':!0x0,'generateMask':this[_0x2ab9bc(0x2cf)],'mask':_0x3c1f3b,'maskBuffer':this[_0x2ab9bc(0x28d)],'opcode':0x9,'readOnly':_0x30f4c0,'rsv1':!0x1};_0x2b3436(_0x2661dd)?this['_state']!==_0x29eb74?this[_0x2ab9bc(0x269)]([this['getBlobData'],_0x2661dd,!0x1,_0x4be706,_0x4cd9e1]):this[_0x2ab9bc(0x2c8)](_0x2661dd,!0x1,_0x4be706,_0x4cd9e1):this[_0x2ab9bc(0x1c6)]!==_0x29eb74?this['enqueue']([this[_0x2ab9bc(0x246)],_0x2661dd,!0x1,_0x4be706,_0x4cd9e1]):this[_0x2ab9bc(0x195)](_0x3a61ec[_0x2ab9bc(0x2d9)](_0x2661dd,_0x4be706),_0x4cd9e1);}[_0xda7401(0x2bb)](_0x523dd4,_0x2f9c20,_0x357e36){const _0x5654ba=_0xda7401;let _0x364abd,_0x4cd59b;if(typeof _0x523dd4=='string'?(_0x364abd=Buffer['byteLength'](_0x523dd4),_0x4cd59b=!0x1):_0x2b3436(_0x523dd4)?(_0x364abd=_0x523dd4[_0x5654ba(0x1b5)],_0x4cd59b=!0x1):(_0x523dd4=_0x1f21e8(_0x523dd4),_0x364abd=_0x523dd4['length'],_0x4cd59b=_0x1f21e8[_0x5654ba(0x1d5)]),_0x364abd>0x7d)throw new RangeError(_0x5654ba(0x25e));const _0x2e44d8={[_0x1fc42f]:_0x364abd,'fin':!0x0,'generateMask':this[_0x5654ba(0x2cf)],'mask':_0x2f9c20,'maskBuffer':this[_0x5654ba(0x28d)],'opcode':0xa,'readOnly':_0x4cd59b,'rsv1':!0x1};_0x2b3436(_0x523dd4)?this[_0x5654ba(0x1c6)]!==_0x29eb74?this[_0x5654ba(0x269)]([this[_0x5654ba(0x2c8)],_0x523dd4,!0x1,_0x2e44d8,_0x357e36]):this[_0x5654ba(0x2c8)](_0x523dd4,!0x1,_0x2e44d8,_0x357e36):this[_0x5654ba(0x1c6)]!==_0x29eb74?this[_0x5654ba(0x269)]([this[_0x5654ba(0x246)],_0x523dd4,!0x1,_0x2e44d8,_0x357e36]):this[_0x5654ba(0x195)](_0x3a61ec[_0x5654ba(0x2d9)](_0x523dd4,_0x2e44d8),_0x357e36);}[_0xda7401(0x1d2)](_0x1da98b,_0x1c38e9,_0x3ad4e1){const _0x3c4756=_0xda7401,_0x4568ae=this[_0x3c4756(0x2ca)][_0x2c8824['extensionName']];let _0x3cf8f5=_0x1c38e9['binary']?0x2:0x1,_0x3f8c9b=_0x1c38e9['compress'],_0x2a2c8a,_0x428158;typeof _0x1da98b=='string'?(_0x2a2c8a=Buffer[_0x3c4756(0x168)](_0x1da98b),_0x428158=!0x1):_0x2b3436(_0x1da98b)?(_0x2a2c8a=_0x1da98b[_0x3c4756(0x1b5)],_0x428158=!0x1):(_0x1da98b=_0x1f21e8(_0x1da98b),_0x2a2c8a=_0x1da98b['length'],_0x428158=_0x1f21e8[_0x3c4756(0x1d5)]),this[_0x3c4756(0x2a8)]?(this['_firstFragment']=!0x1,_0x3f8c9b&&_0x4568ae&&_0x4568ae[_0x3c4756(0x1c3)][_0x4568ae[_0x3c4756(0x186)]?_0x3c4756(0x20f):_0x3c4756(0x292)]&&(_0x3f8c9b=_0x2a2c8a>=_0x4568ae[_0x3c4756(0x1b3)]),this[_0x3c4756(0x16b)]=_0x3f8c9b):(_0x3f8c9b=!0x1,_0x3cf8f5=0x0),_0x1c38e9[_0x3c4756(0x220)]&&(this['_firstFragment']=!0x0);const _0x2a764e={[_0x1fc42f]:_0x2a2c8a,'fin':_0x1c38e9[_0x3c4756(0x220)],'generateMask':this[_0x3c4756(0x2cf)],'mask':_0x1c38e9[_0x3c4756(0x28c)],'maskBuffer':this[_0x3c4756(0x28d)],'opcode':_0x3cf8f5,'readOnly':_0x428158,'rsv1':_0x3f8c9b};_0x2b3436(_0x1da98b)?this[_0x3c4756(0x1c6)]!==_0x29eb74?this[_0x3c4756(0x269)]([this[_0x3c4756(0x2c8)],_0x1da98b,this[_0x3c4756(0x16b)],_0x2a764e,_0x3ad4e1]):this[_0x3c4756(0x2c8)](_0x1da98b,this[_0x3c4756(0x16b)],_0x2a764e,_0x3ad4e1):this['_state']!==_0x29eb74?this['enqueue']([this[_0x3c4756(0x246)],_0x1da98b,this[_0x3c4756(0x16b)],_0x2a764e,_0x3ad4e1]):this[_0x3c4756(0x246)](_0x1da98b,this[_0x3c4756(0x16b)],_0x2a764e,_0x3ad4e1);}[_0xda7401(0x2c8)](_0x1fc5e5,_0xe3e03d,_0x53ef57,_0x501a72){const _0x4f0525=_0xda7401;this[_0x4f0525(0x286)]+=_0x53ef57[_0x1fc42f],this['_state']=_0xa2f9ac,_0x1fc5e5[_0x4f0525(0x2f0)]()[_0x4f0525(0x19e)](_0x304642=>{const _0x24c067=_0x4f0525;if(this[_0x24c067(0x1a4)][_0x24c067(0x26a)]){const _0x5578c9=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x52a406,this,_0x5578c9,_0x501a72);return;}this['_bufferedBytes']-=_0x53ef57[_0x1fc42f];const _0x31e8ae=_0x1f21e8(_0x304642);_0xe3e03d?this[_0x24c067(0x246)](_0x31e8ae,_0xe3e03d,_0x53ef57,_0x501a72):(this['_state']=_0x29eb74,this['sendFrame'](_0x3a61ec[_0x24c067(0x2d9)](_0x31e8ae,_0x53ef57),_0x501a72),this[_0x24c067(0x190)]());})[_0x4f0525(0x2b5)](_0x55776a=>{const _0x3e40ba=_0x4f0525;process[_0x3e40ba(0x218)](_0xc01094,this,_0x55776a,_0x501a72);});}[_0xda7401(0x246)](_0x11f4d9,_0xb12fdf,_0x50f084,_0x576df9){const _0x3d71af=_0xda7401;if(!_0xb12fdf){this['sendFrame'](_0x3a61ec['frame'](_0x11f4d9,_0x50f084),_0x576df9);return;}const _0x140d59=this['_extensions'][_0x2c8824[_0x3d71af(0x2a4)]];this['_bufferedBytes']+=_0x50f084[_0x1fc42f],this[_0x3d71af(0x1c6)]=_0x2fed81,_0x140d59['compress'](_0x11f4d9,_0x50f084[_0x3d71af(0x220)],(_0xc47f83,_0x531c57)=>{const _0x5c1048=_0x3d71af;if(this[_0x5c1048(0x1a4)][_0x5c1048(0x26a)]){const _0x14c1f0=new Error(_0x5c1048(0x285));_0x52a406(this,_0x14c1f0,_0x576df9);return;}this[_0x5c1048(0x286)]-=_0x50f084[_0x1fc42f],this[_0x5c1048(0x1c6)]=_0x29eb74,_0x50f084[_0x5c1048(0x1d5)]=!0x1,this[_0x5c1048(0x195)](_0x3a61ec[_0x5c1048(0x2d9)](_0x531c57,_0x50f084),_0x576df9),this[_0x5c1048(0x190)]();});}[_0xda7401(0x190)](){const _0x5b5ce9=_0xda7401;for(;this[_0x5b5ce9(0x1c6)]===_0x29eb74&&this['_queue'][_0x5b5ce9(0x30a)];){const _0x18ff9b=this[_0x5b5ce9(0x2b8)]['shift']();this[_0x5b5ce9(0x286)]-=_0x18ff9b[0x3][_0x1fc42f],Reflect[_0x5b5ce9(0x181)](_0x18ff9b[0x0],this,_0x18ff9b[_0x5b5ce9(0x26b)](0x1));}}[_0xda7401(0x269)](_0x16c57e){const _0x1c0651=_0xda7401;this[_0x1c0651(0x286)]+=_0x16c57e[0x3][_0x1fc42f],this[_0x1c0651(0x2b8)]['push'](_0x16c57e);}[_0xda7401(0x195)](_0x15c868,_0x500144){const _0x22840f=_0xda7401;_0x15c868[_0x22840f(0x30a)]===0x2?(this[_0x22840f(0x1a4)][_0x22840f(0x19d)](),this['_socket']['write'](_0x15c868[0x0]),this['_socket'][_0x22840f(0x1f2)](_0x15c868[0x1],_0x500144),this[_0x22840f(0x1a4)]['uncork']()):this[_0x22840f(0x1a4)][_0x22840f(0x1f2)](_0x15c868[0x0],_0x500144);}}Ee=_0x3a61ec;function _0x52a406(_0x112050,_0x463ae8,_0x264df4){const _0x21c1a4=_0xda7401;typeof _0x264df4=='function'&&_0x264df4(_0x463ae8);for(let _0x48c77c=0x0;_0x48c77c<_0x112050[_0x21c1a4(0x2b8)]['length'];_0x48c77c++){const _0xedc757=_0x112050['_queue'][_0x48c77c],_0x27633b=_0xedc757[_0xedc757[_0x21c1a4(0x30a)]-0x1];typeof _0x27633b==_0x21c1a4(0x182)&&_0x27633b(_0x463ae8);}}function _0xc01094(_0x36ae30,_0x283767,_0x4de03d){const _0x55f9f6=_0xda7401;_0x52a406(_0x36ae30,_0x283767,_0x4de03d),_0x36ae30[_0x55f9f6(0x2c1)](_0x283767);}return Ee;}var xe,tt;function Kt(){const _0x4d2b9d=_0x670fda;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x57ce8e,kListener:_0x22c924}=V(),_0x3a780f=Symbol(_0x4d2b9d(0x29d)),_0x37813a=Symbol(_0x4d2b9d(0x23e)),_0x3effc7=Symbol(_0x4d2b9d(0x1fc)),_0x46f0ff=Symbol('kMessage'),_0x3dd4f1=Symbol('kReason'),_0x5caec4=Symbol('kTarget'),_0x57a0d0=Symbol(_0x4d2b9d(0x169)),_0x4c1f55=Symbol('kWasClean');class _0x5e353b{constructor(_0x598adf){this[_0x5caec4]=null,this[_0x57a0d0]=_0x598adf;}get[_0x4d2b9d(0x231)](){return this[_0x5caec4];}get[_0x4d2b9d(0x16d)](){return this[_0x57a0d0];}}Object[_0x4d2b9d(0x193)](_0x5e353b['prototype'],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x5e353b[_0x4d2b9d(0x1c5)],'type',{'enumerable':!0x0});class _0x40ee6a extends _0x5e353b{constructor(_0x15270b,_0x3ce519={}){const _0x46e84e=_0x4d2b9d;super(_0x15270b),this[_0x3a780f]=_0x3ce519[_0x46e84e(0x29e)]===void 0x0?0x0:_0x3ce519[_0x46e84e(0x29e)],this[_0x3dd4f1]=_0x3ce519[_0x46e84e(0x23b)]===void 0x0?'':_0x3ce519[_0x46e84e(0x23b)],this[_0x4c1f55]=_0x3ce519[_0x46e84e(0x2e9)]===void 0x0?!0x1:_0x3ce519[_0x46e84e(0x2e9)];}get[_0x4d2b9d(0x29e)](){return this[_0x3a780f];}get[_0x4d2b9d(0x23b)](){return this[_0x3dd4f1];}get[_0x4d2b9d(0x2e9)](){return this[_0x4c1f55];}}Object[_0x4d2b9d(0x193)](_0x40ee6a[_0x4d2b9d(0x1c5)],_0x4d2b9d(0x29e),{'enumerable':!0x0}),Object['defineProperty'](_0x40ee6a[_0x4d2b9d(0x1c5)],_0x4d2b9d(0x23b),{'enumerable':!0x0}),Object[_0x4d2b9d(0x193)](_0x40ee6a[_0x4d2b9d(0x1c5)],_0x4d2b9d(0x2e9),{'enumerable':!0x0});class _0x3346db extends _0x5e353b{constructor(_0x337b87,_0x1ed8dc={}){const _0x885afa=_0x4d2b9d;super(_0x337b87),this[_0x3effc7]=_0x1ed8dc[_0x885afa(0x268)]===void 0x0?null:_0x1ed8dc[_0x885afa(0x268)],this[_0x46f0ff]=_0x1ed8dc[_0x885afa(0x1ac)]===void 0x0?'':_0x1ed8dc[_0x885afa(0x1ac)];}get[_0x4d2b9d(0x268)](){return this[_0x3effc7];}get[_0x4d2b9d(0x1ac)](){return this[_0x46f0ff];}}Object[_0x4d2b9d(0x193)](_0x3346db['prototype'],_0x4d2b9d(0x268),{'enumerable':!0x0}),Object[_0x4d2b9d(0x193)](_0x3346db[_0x4d2b9d(0x1c5)],_0x4d2b9d(0x1ac),{'enumerable':!0x0});class _0x1f6073 extends _0x5e353b{constructor(_0x4bdc47,_0x5ceb7d={}){const _0x27e238=_0x4d2b9d;super(_0x4bdc47),this[_0x37813a]=_0x5ceb7d[_0x27e238(0x191)]===void 0x0?null:_0x5ceb7d[_0x27e238(0x191)];}get['data'](){return this[_0x37813a];}}Object[_0x4d2b9d(0x193)](_0x1f6073['prototype'],_0x4d2b9d(0x191),{'enumerable':!0x0}),xe={'CloseEvent':_0x40ee6a,'ErrorEvent':_0x3346db,'Event':_0x5e353b,'EventTarget':{'addEventListener'(_0x3a11a3,_0x4db0b2,_0x55f396={}){const _0x11e724=_0x4d2b9d;for(const _0x2549cb of this['listeners'](_0x3a11a3))if(!_0x55f396[_0x57ce8e]&&_0x2549cb[_0x22c924]===_0x4db0b2&&!_0x2549cb[_0x57ce8e])return;let _0x2976f8;if(_0x3a11a3===_0x11e724(0x1ac))_0x2976f8=function(_0x56f6c8,_0x1e4927){const _0x469953=_0x11e724,_0x8971c=new _0x1f6073(_0x469953(0x1ac),{'data':_0x1e4927?_0x56f6c8:_0x56f6c8[_0x469953(0x2fa)]()});_0x8971c[_0x5caec4]=this,_0x5712d2(_0x4db0b2,this,_0x8971c);};else{if(_0x3a11a3===_0x11e724(0x170))_0x2976f8=function(_0x4a9928,_0x1d675a){const _0x2f07fb=_0x11e724,_0x3b983d=new _0x40ee6a(_0x2f07fb(0x170),{'code':_0x4a9928,'reason':_0x1d675a['toString'](),'wasClean':this[_0x2f07fb(0x1ce)]&&this['_closeFrameSent']});_0x3b983d[_0x5caec4]=this,_0x5712d2(_0x4db0b2,this,_0x3b983d);};else{if(_0x3a11a3===_0x11e724(0x268))_0x2976f8=function(_0x6c97bc){const _0x5dfded=_0x11e724,_0x5da915=new _0x3346db('error',{'error':_0x6c97bc,'message':_0x6c97bc[_0x5dfded(0x1ac)]});_0x5da915[_0x5caec4]=this,_0x5712d2(_0x4db0b2,this,_0x5da915);};else{if(_0x3a11a3==='open')_0x2976f8=function(){const _0x2d1f49=_0x11e724,_0x3bc6eb=new _0x5e353b(_0x2d1f49(0x254));_0x3bc6eb[_0x5caec4]=this,_0x5712d2(_0x4db0b2,this,_0x3bc6eb);};else return;}}}_0x2976f8[_0x57ce8e]=!!_0x55f396[_0x57ce8e],_0x2976f8[_0x22c924]=_0x4db0b2,_0x55f396['once']?this['once'](_0x3a11a3,_0x2976f8):this['on'](_0x3a11a3,_0x2976f8);},'removeEventListener'(_0x12d4ed,_0x5d8663){const _0x27bc19=_0x4d2b9d;for(const _0x3cc15e of this['listeners'](_0x12d4ed))if(_0x3cc15e[_0x22c924]===_0x5d8663&&!_0x3cc15e[_0x57ce8e]){this[_0x27bc19(0x184)](_0x12d4ed,_0x3cc15e);break;}}},'MessageEvent':_0x1f6073};function _0x5712d2(_0x517ce5,_0xe2c832,_0x32de38){const _0x6f0596=_0x4d2b9d;typeof _0x517ce5==_0x6f0596(0x16e)&&_0x517ce5[_0x6f0596(0x24e)]?_0x517ce5[_0x6f0596(0x24e)][_0x6f0596(0x194)](_0x517ce5,_0x32de38):_0x517ce5[_0x6f0596(0x194)](_0xe2c832,_0x32de38);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3c0a7d}=ne();function _0x23f9a4(_0x40c633,_0x5b1dbf,_0x4453f5){const _0x363d3c=_0x20a4;_0x40c633[_0x5b1dbf]===void 0x0?_0x40c633[_0x5b1dbf]=[_0x4453f5]:_0x40c633[_0x5b1dbf][_0x363d3c(0x304)](_0x4453f5);}function _0x5bcbad(_0x54b52f){const _0x47f730=_0x20a4,_0x450893=Object[_0x47f730(0x312)](null);let _0x3a209e=Object[_0x47f730(0x312)](null),_0x123103=!0x1,_0x3827cc=!0x1,_0x11279f=!0x1,_0x5af009,_0xd45f0d,_0x5b2d3b=-0x1,_0x10b638=-0x1,_0x5cebdc=-0x1,_0x21a5eb=0x0;for(;_0x21a5eb<_0x54b52f[_0x47f730(0x30a)];_0x21a5eb++)if(_0x10b638=_0x54b52f[_0x47f730(0x301)](_0x21a5eb),_0x5af009===void 0x0){if(_0x5cebdc===-0x1&&_0x3c0a7d[_0x10b638]===0x1)_0x5b2d3b===-0x1&&(_0x5b2d3b=_0x21a5eb);else{if(_0x21a5eb!==0x0&&(_0x10b638===0x20||_0x10b638===0x9))_0x5cebdc===-0x1&&_0x5b2d3b!==-0x1&&(_0x5cebdc=_0x21a5eb);else{if(_0x10b638===0x3b||_0x10b638===0x2c){if(_0x5b2d3b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a5eb);_0x5cebdc===-0x1&&(_0x5cebdc=_0x21a5eb);const _0x1c224a=_0x54b52f[_0x47f730(0x26b)](_0x5b2d3b,_0x5cebdc);_0x10b638===0x2c?(_0x23f9a4(_0x450893,_0x1c224a,_0x3a209e),_0x3a209e=Object['create'](null)):_0x5af009=_0x1c224a,_0x5b2d3b=_0x5cebdc=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a5eb);}}}else{if(_0xd45f0d===void 0x0){if(_0x5cebdc===-0x1&&_0x3c0a7d[_0x10b638]===0x1)_0x5b2d3b===-0x1&&(_0x5b2d3b=_0x21a5eb);else{if(_0x10b638===0x20||_0x10b638===0x9)_0x5cebdc===-0x1&&_0x5b2d3b!==-0x1&&(_0x5cebdc=_0x21a5eb);else{if(_0x10b638===0x3b||_0x10b638===0x2c){if(_0x5b2d3b===-0x1)throw new SyntaxError(_0x47f730(0x298)+_0x21a5eb);_0x5cebdc===-0x1&&(_0x5cebdc=_0x21a5eb),_0x23f9a4(_0x3a209e,_0x54b52f['slice'](_0x5b2d3b,_0x5cebdc),!0x0),_0x10b638===0x2c&&(_0x23f9a4(_0x450893,_0x5af009,_0x3a209e),_0x3a209e=Object[_0x47f730(0x312)](null),_0x5af009=void 0x0),_0x5b2d3b=_0x5cebdc=-0x1;}else{if(_0x10b638===0x3d&&_0x5b2d3b!==-0x1&&_0x5cebdc===-0x1)_0xd45f0d=_0x54b52f[_0x47f730(0x26b)](_0x5b2d3b,_0x21a5eb),_0x5b2d3b=_0x5cebdc=-0x1;else throw new SyntaxError(_0x47f730(0x298)+_0x21a5eb);}}}}else{if(_0x3827cc){if(_0x3c0a7d[_0x10b638]!==0x1)throw new SyntaxError(_0x47f730(0x298)+_0x21a5eb);_0x5b2d3b===-0x1?_0x5b2d3b=_0x21a5eb:_0x123103||(_0x123103=!0x0),_0x3827cc=!0x1;}else{if(_0x11279f){if(_0x3c0a7d[_0x10b638]===0x1)_0x5b2d3b===-0x1&&(_0x5b2d3b=_0x21a5eb);else{if(_0x10b638===0x22&&_0x5b2d3b!==-0x1)_0x11279f=!0x1,_0x5cebdc=_0x21a5eb;else{if(_0x10b638===0x5c)_0x3827cc=!0x0;else throw new SyntaxError(_0x47f730(0x298)+_0x21a5eb);}}}else{if(_0x10b638===0x22&&_0x54b52f['charCodeAt'](_0x21a5eb-0x1)===0x3d)_0x11279f=!0x0;else{if(_0x5cebdc===-0x1&&_0x3c0a7d[_0x10b638]===0x1)_0x5b2d3b===-0x1&&(_0x5b2d3b=_0x21a5eb);else{if(_0x5b2d3b!==-0x1&&(_0x10b638===0x20||_0x10b638===0x9))_0x5cebdc===-0x1&&(_0x5cebdc=_0x21a5eb);else{if(_0x10b638===0x3b||_0x10b638===0x2c){if(_0x5b2d3b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x21a5eb);_0x5cebdc===-0x1&&(_0x5cebdc=_0x21a5eb);let _0x295503=_0x54b52f[_0x47f730(0x26b)](_0x5b2d3b,_0x5cebdc);_0x123103&&(_0x295503=_0x295503[_0x47f730(0x199)](/\\/g,''),_0x123103=!0x1),_0x23f9a4(_0x3a209e,_0xd45f0d,_0x295503),_0x10b638===0x2c&&(_0x23f9a4(_0x450893,_0x5af009,_0x3a209e),_0x3a209e=Object[_0x47f730(0x312)](null),_0x5af009=void 0x0),_0xd45f0d=void 0x0,_0x5b2d3b=_0x5cebdc=-0x1;}else throw new SyntaxError(_0x47f730(0x298)+_0x21a5eb);}}}}}}}if(_0x5b2d3b===-0x1||_0x11279f||_0x10b638===0x20||_0x10b638===0x9)throw new SyntaxError(_0x47f730(0x28a));_0x5cebdc===-0x1&&(_0x5cebdc=_0x21a5eb);const _0x24b2f0=_0x54b52f['slice'](_0x5b2d3b,_0x5cebdc);return _0x5af009===void 0x0?_0x23f9a4(_0x450893,_0x24b2f0,_0x3a209e):(_0xd45f0d===void 0x0?_0x23f9a4(_0x3a209e,_0x24b2f0,!0x0):_0x123103?_0x23f9a4(_0x3a209e,_0xd45f0d,_0x24b2f0[_0x47f730(0x199)](/\\/g,'')):_0x23f9a4(_0x3a209e,_0xd45f0d,_0x24b2f0),_0x23f9a4(_0x450893,_0x5af009,_0x3a209e)),_0x450893;}function _0x3040b0(_0x2537a3){const _0x159c81=_0x20a4;return Object[_0x159c81(0x1d1)](_0x2537a3)[_0x159c81(0x1d8)](_0x5c94f2=>{const _0x50eb85=_0x159c81;let _0x4dbd5f=_0x2537a3[_0x5c94f2];return Array[_0x50eb85(0x175)](_0x4dbd5f)||(_0x4dbd5f=[_0x4dbd5f]),_0x4dbd5f[_0x50eb85(0x1d8)](_0x34cf70=>[_0x5c94f2][_0x50eb85(0x262)](Object[_0x50eb85(0x1d1)](_0x34cf70)[_0x50eb85(0x1d8)](_0x14bb0c=>{const _0x2d5c5e=_0x50eb85;let _0x2c50fb=_0x34cf70[_0x14bb0c];return Array[_0x2d5c5e(0x175)](_0x2c50fb)||(_0x2c50fb=[_0x2c50fb]),_0x2c50fb[_0x2d5c5e(0x1d8)](_0x4a5867=>_0x4a5867===!0x0?_0x14bb0c:_0x14bb0c+'='+_0x4a5867)['join'](';\x20');}))[_0x50eb85(0x2e5)](';\x20'))[_0x50eb85(0x2e5)](',\x20');})[_0x159c81(0x2e5)](',\x20');}return be={'format':_0x3040b0,'parse':_0x5bcbad},be;}var we,st;function Ie(){const _0x5cf405=_0x670fda;if(st)return we;st=0x1;const _0x28a701=_0x158328,_0xd40595=_0x51f031,_0x28d8bd=_0x145872,_0x1cb7bf=_0x4b38c2,_0x583784=_0x4714c5,{randomBytes:_0x342424,createHash:_0x4e5405}=_0x38d98d,{Duplex:_0x3ed79f,Readable:_0x46b6e8}=_0x531b40,{URL:_0x39aa08}=_0x29164f,_0x302670=he(),_0xd7cdfb=dt(),_0x403c34=_t(),{isBlob:_0x5d0410}=ne(),{BINARY_TYPES:_0x14aa9f,EMPTY_BUFFER:_0x568374,GUID:_0x585d82,kForOnEventAttribute:_0x434b94,kListener:_0x35cfec,kStatusCode:_0x5be63a,kWebSocket:_0x427587,NOOP:_0x4a7bcc}=V(),{EventTarget:{addEventListener:_0x179fd9,removeEventListener:_0x130b7c}}=Kt(),{format:_0x3d428b,parse:_0x2eb960}=pt(),{toBuffer:_0x5b02aa}=ce(),_0x1accc8=0x1e*0x3e8,_0x4c436e=Symbol(_0x5cf405(0x2de)),_0x94b63d=[0x8,0xd],_0x57145e=[_0x5cf405(0x1fa),_0x5cf405(0x236),_0x5cf405(0x2bd),_0x5cf405(0x258)],_0x560797=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xefcda0 extends _0x28a701{constructor(_0x87425d,_0x4e6e31,_0x5cdbbf){const _0x479a36=_0x5cf405;super(),this['_binaryType']=_0x14aa9f[0x0],this[_0x479a36(0x21b)]=0x3ee,this[_0x479a36(0x1ce)]=!0x1,this[_0x479a36(0x29a)]=!0x1,this[_0x479a36(0x2e0)]=_0x568374,this[_0x479a36(0x1bb)]=null,this[_0x479a36(0x212)]=!0x1,this['_extensions']={},this[_0x479a36(0x1a8)]=!0x1,this[_0x479a36(0x2aa)]='',this[_0x479a36(0x1ef)]=_0xefcda0[_0x479a36(0x1fa)],this[_0x479a36(0x1ba)]=null,this['_sender']=null,this['_socket']=null,_0x87425d!==null?(this[_0x479a36(0x291)]=0x0,this['_isServer']=!0x1,this[_0x479a36(0x1d0)]=0x0,_0x4e6e31===void 0x0?_0x4e6e31=[]:Array['isArray'](_0x4e6e31)||(typeof _0x4e6e31==_0x479a36(0x16e)&&_0x4e6e31!==null?(_0x5cdbbf=_0x4e6e31,_0x4e6e31=[]):_0x4e6e31=[_0x4e6e31]),_0x4da5dd(this,_0x87425d,_0x4e6e31,_0x5cdbbf)):(this[_0x479a36(0x1a6)]=_0x5cdbbf['autoPong'],this[_0x479a36(0x186)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x5cf405(0x239)](_0x13555a){const _0x136bf9=_0x5cf405;_0x14aa9f[_0x136bf9(0x180)](_0x13555a)&&(this['_binaryType']=_0x13555a,this[_0x136bf9(0x1ba)]&&(this[_0x136bf9(0x1ba)][_0x136bf9(0x1d7)]=_0x13555a));}get[_0x5cf405(0x238)](){const _0x78d0f1=_0x5cf405;return this[_0x78d0f1(0x1a4)]?this[_0x78d0f1(0x1a4)][_0x78d0f1(0x17f)]['length']+this[_0x78d0f1(0x307)][_0x78d0f1(0x286)]:this['_bufferedAmount'];}get['extensions'](){const _0x17e671=_0x5cf405;return Object[_0x17e671(0x1d1)](this[_0x17e671(0x2ca)])['join']();}get[_0x5cf405(0x1eb)](){const _0x1477b5=_0x5cf405;return this[_0x1477b5(0x1a8)];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x5cf405(0x1b4)](){return null;}get[_0x5cf405(0x2f1)](){return null;}get[_0x5cf405(0x16c)](){const _0x120773=_0x5cf405;return this[_0x120773(0x2aa)];}get[_0x5cf405(0x201)](){const _0x42af53=_0x5cf405;return this[_0x42af53(0x1ef)];}get['url'](){const _0x24b3d0=_0x5cf405;return this[_0x24b3d0(0x2eb)];}[_0x5cf405(0x2b9)](_0x3295cb,_0x20a742,_0x5b87cc){const _0x12a778=_0x5cf405,_0x28f458=new _0xd7cdfb({'allowSynchronousEvents':_0x5b87cc[_0x12a778(0x281)],'binaryType':this[_0x12a778(0x239)],'extensions':this[_0x12a778(0x2ca)],'isServer':this[_0x12a778(0x186)],'maxPayload':_0x5b87cc[_0x12a778(0x2bf)],'skipUTF8Validation':_0x5b87cc[_0x12a778(0x288)]}),_0x2387bd=new _0x403c34(_0x3295cb,this[_0x12a778(0x2ca)],_0x5b87cc[_0x12a778(0x24b)]);this[_0x12a778(0x1ba)]=_0x28f458,this['_sender']=_0x2387bd,this['_socket']=_0x3295cb,_0x28f458[_0x427587]=this,_0x2387bd[_0x427587]=this,_0x3295cb[_0x427587]=this,_0x28f458['on'](_0x12a778(0x2ec),_0x5d1e25),_0x28f458['on'](_0x12a778(0x248),_0x2114d8),_0x28f458['on'](_0x12a778(0x268),_0x206e57),_0x28f458['on'](_0x12a778(0x1ac),_0x77b5d9),_0x28f458['on'](_0x12a778(0x1c7),_0x534357),_0x28f458['on'](_0x12a778(0x2bb),_0x44c448),_0x2387bd[_0x12a778(0x2c1)]=_0x316d25,_0x3295cb[_0x12a778(0x2ed)]&&_0x3295cb[_0x12a778(0x2ed)](0x0),_0x3295cb[_0x12a778(0x1a1)]&&_0x3295cb['setNoDelay'](),_0x20a742[_0x12a778(0x30a)]>0x0&&_0x3295cb[_0x12a778(0x23d)](_0x20a742),_0x3295cb['on'](_0x12a778(0x170),_0x2b9c3c),_0x3295cb['on'](_0x12a778(0x191),_0x5f0f6b),_0x3295cb['on'](_0x12a778(0x22a),_0x18b5aa),_0x3295cb['on'](_0x12a778(0x268),_0x394862),this['_readyState']=_0xefcda0[_0x12a778(0x236)],this['emit'](_0x12a778(0x254));}['emitClose'](){const _0x5bdeb0=_0x5cf405;if(!this[_0x5bdeb0(0x1a4)]){this[_0x5bdeb0(0x1ef)]=_0xefcda0[_0x5bdeb0(0x258)],this[_0x5bdeb0(0x30e)](_0x5bdeb0(0x170),this['_closeCode'],this['_closeMessage']);return;}this[_0x5bdeb0(0x2ca)][_0x302670['extensionName']]&&this['_extensions'][_0x302670[_0x5bdeb0(0x2a4)]]['cleanup'](),this[_0x5bdeb0(0x1ba)]['removeAllListeners'](),this[_0x5bdeb0(0x1ef)]=_0xefcda0[_0x5bdeb0(0x258)],this['emit'](_0x5bdeb0(0x170),this[_0x5bdeb0(0x21b)],this[_0x5bdeb0(0x2e0)]);}[_0x5cf405(0x170)](_0x37c3d9,_0x55cc4d){const _0x1553b5=_0x5cf405;if(this['readyState']!==_0xefcda0['CLOSED']){if(this[_0x1553b5(0x201)]===_0xefcda0[_0x1553b5(0x1fa)]){_0x42ab84(this,this[_0x1553b5(0x235)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0xefcda0[_0x1553b5(0x2bd)]){this[_0x1553b5(0x29a)]&&(this['_closeFrameReceived']||this[_0x1553b5(0x1ba)][_0x1553b5(0x17f)]['errorEmitted'])&&this['_socket'][_0x1553b5(0x22a)]();return;}this[_0x1553b5(0x1ef)]=_0xefcda0['CLOSING'],this[_0x1553b5(0x307)][_0x1553b5(0x170)](_0x37c3d9,_0x55cc4d,!this[_0x1553b5(0x186)],_0x3a895d=>{const _0x7df5d7=_0x1553b5;_0x3a895d||(this['_closeFrameSent']=!0x0,(this[_0x7df5d7(0x1ce)]||this[_0x7df5d7(0x1ba)][_0x7df5d7(0x17f)]['errorEmitted'])&&this[_0x7df5d7(0x1a4)][_0x7df5d7(0x22a)]());}),_0x165fd9(this);}}[_0x5cf405(0x2b6)](){const _0x197825=_0x5cf405;this['readyState']===_0xefcda0['CONNECTING']||this[_0x197825(0x201)]===_0xefcda0[_0x197825(0x258)]||(this[_0x197825(0x1a8)]=!0x0,this[_0x197825(0x1a4)]['pause']());}['ping'](_0x5ee1da,_0x32040e,_0x52bf37){const _0x3a0020=_0x5cf405;if(this[_0x3a0020(0x201)]===_0xefcda0[_0x3a0020(0x1fa)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5ee1da=='function'?(_0x52bf37=_0x5ee1da,_0x5ee1da=_0x32040e=void 0x0):typeof _0x32040e==_0x3a0020(0x182)&&(_0x52bf37=_0x32040e,_0x32040e=void 0x0),typeof _0x5ee1da==_0x3a0020(0x2a2)&&(_0x5ee1da=_0x5ee1da[_0x3a0020(0x2fa)]()),this[_0x3a0020(0x201)]!==_0xefcda0[_0x3a0020(0x236)]){_0x2ccbdc(this,_0x5ee1da,_0x52bf37);return;}_0x32040e===void 0x0&&(_0x32040e=!this[_0x3a0020(0x186)]),this[_0x3a0020(0x307)][_0x3a0020(0x1c7)](_0x5ee1da||_0x568374,_0x32040e,_0x52bf37);}[_0x5cf405(0x2bb)](_0x48004c,_0x9bf4cf,_0x45359d){const _0x5bf2c6=_0x5cf405;if(this[_0x5bf2c6(0x201)]===_0xefcda0['CONNECTING'])throw new Error(_0x5bf2c6(0x310));if(typeof _0x48004c=='function'?(_0x45359d=_0x48004c,_0x48004c=_0x9bf4cf=void 0x0):typeof _0x9bf4cf=='function'&&(_0x45359d=_0x9bf4cf,_0x9bf4cf=void 0x0),typeof _0x48004c=='number'&&(_0x48004c=_0x48004c[_0x5bf2c6(0x2fa)]()),this[_0x5bf2c6(0x201)]!==_0xefcda0[_0x5bf2c6(0x236)]){_0x2ccbdc(this,_0x48004c,_0x45359d);return;}_0x9bf4cf===void 0x0&&(_0x9bf4cf=!this['_isServer']),this[_0x5bf2c6(0x307)][_0x5bf2c6(0x2bb)](_0x48004c||_0x568374,_0x9bf4cf,_0x45359d);}[_0x5cf405(0x300)](){const _0x27b14b=_0x5cf405;this[_0x27b14b(0x201)]===_0xefcda0[_0x27b14b(0x1fa)]||this[_0x27b14b(0x201)]===_0xefcda0[_0x27b14b(0x258)]||(this[_0x27b14b(0x1a8)]=!0x1,this['_receiver']['_writableState'][_0x27b14b(0x264)]||this['_socket'][_0x27b14b(0x300)]());}[_0x5cf405(0x1d2)](_0x2ec7d9,_0x129ae0,_0x286f2a){const _0x18a982=_0x5cf405;if(this[_0x18a982(0x201)]===_0xefcda0['CONNECTING'])throw new Error(_0x18a982(0x310));if(typeof _0x129ae0==_0x18a982(0x182)&&(_0x286f2a=_0x129ae0,_0x129ae0={}),typeof _0x2ec7d9==_0x18a982(0x2a2)&&(_0x2ec7d9=_0x2ec7d9[_0x18a982(0x2fa)]()),this[_0x18a982(0x201)]!==_0xefcda0['OPEN']){_0x2ccbdc(this,_0x2ec7d9,_0x286f2a);return;}const _0x455521={'binary':typeof _0x2ec7d9!=_0x18a982(0x20b),'mask':!this[_0x18a982(0x186)],'compress':!0x0,'fin':!0x0,..._0x129ae0};this[_0x18a982(0x2ca)][_0x302670[_0x18a982(0x2a4)]]||(_0x455521[_0x18a982(0x1c4)]=!0x1),this[_0x18a982(0x307)]['send'](_0x2ec7d9||_0x568374,_0x455521,_0x286f2a);}['terminate'](){const _0x30c3f3=_0x5cf405;if(this[_0x30c3f3(0x201)]!==_0xefcda0[_0x30c3f3(0x258)]){if(this[_0x30c3f3(0x201)]===_0xefcda0['CONNECTING']){_0x42ab84(this,this[_0x30c3f3(0x235)],_0x30c3f3(0x1d3));return;}this[_0x30c3f3(0x1a4)]&&(this[_0x30c3f3(0x1ef)]=_0xefcda0['CLOSING'],this[_0x30c3f3(0x1a4)][_0x30c3f3(0x24a)]());}}}Object[_0x5cf405(0x193)](_0xefcda0,_0x5cf405(0x1fa),{'enumerable':!0x0,'value':_0x57145e[_0x5cf405(0x259)](_0x5cf405(0x1fa))}),Object[_0x5cf405(0x193)](_0xefcda0[_0x5cf405(0x1c5)],_0x5cf405(0x1fa),{'enumerable':!0x0,'value':_0x57145e['indexOf'](_0x5cf405(0x1fa))}),Object[_0x5cf405(0x193)](_0xefcda0,'OPEN',{'enumerable':!0x0,'value':_0x57145e[_0x5cf405(0x259)](_0x5cf405(0x236))}),Object[_0x5cf405(0x193)](_0xefcda0[_0x5cf405(0x1c5)],_0x5cf405(0x236),{'enumerable':!0x0,'value':_0x57145e[_0x5cf405(0x259)](_0x5cf405(0x236))}),Object['defineProperty'](_0xefcda0,_0x5cf405(0x2bd),{'enumerable':!0x0,'value':_0x57145e[_0x5cf405(0x259)](_0x5cf405(0x2bd))}),Object[_0x5cf405(0x193)](_0xefcda0[_0x5cf405(0x1c5)],_0x5cf405(0x2bd),{'enumerable':!0x0,'value':_0x57145e[_0x5cf405(0x259)](_0x5cf405(0x2bd))}),Object[_0x5cf405(0x193)](_0xefcda0,'CLOSED',{'enumerable':!0x0,'value':_0x57145e['indexOf']('CLOSED')}),Object[_0x5cf405(0x193)](_0xefcda0[_0x5cf405(0x1c5)],'CLOSED',{'enumerable':!0x0,'value':_0x57145e[_0x5cf405(0x259)](_0x5cf405(0x258))}),[_0x5cf405(0x239),_0x5cf405(0x238),_0x5cf405(0x2f5),_0x5cf405(0x1eb),_0x5cf405(0x16c),'readyState','url'][_0x5cf405(0x187)](_0x20b8c6=>{const _0x38c589=_0x5cf405;Object[_0x38c589(0x193)](_0xefcda0[_0x38c589(0x1c5)],_0x20b8c6,{'enumerable':!0x0});}),['open','error','close','message']['forEach'](_0x1aeb7a=>{const _0x51a6c5=_0x5cf405;Object[_0x51a6c5(0x193)](_0xefcda0[_0x51a6c5(0x1c5)],'on'+_0x1aeb7a,{'enumerable':!0x0,'get'(){const _0x420695=_0x51a6c5;for(const _0x3cea99 of this[_0x420695(0x22b)](_0x1aeb7a))if(_0x3cea99[_0x434b94])return _0x3cea99[_0x35cfec];return null;},'set'(_0x5f47ea){const _0x4cfde4=_0x51a6c5;for(const _0x5b4f8b of this['listeners'](_0x1aeb7a))if(_0x5b4f8b[_0x434b94]){this[_0x4cfde4(0x184)](_0x1aeb7a,_0x5b4f8b);break;}typeof _0x5f47ea==_0x4cfde4(0x182)&&this[_0x4cfde4(0x17b)](_0x1aeb7a,_0x5f47ea,{[_0x434b94]:!0x0});}});}),_0xefcda0['prototype'][_0x5cf405(0x17b)]=_0x179fd9,_0xefcda0[_0x5cf405(0x1c5)][_0x5cf405(0x1b8)]=_0x130b7c,we=_0xefcda0;function _0x4da5dd(_0x5d7e28,_0x142044,_0x4a6a4e,_0x288006){const _0x2f9cf1=_0x5cf405,_0x32fb46={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x94b63d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x288006,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2f9cf1(0x171),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5d7e28['_autoPong']=_0x32fb46[_0x2f9cf1(0x179)],!_0x94b63d[_0x2f9cf1(0x180)](_0x32fb46['protocolVersion']))throw new RangeError(_0x2f9cf1(0x26e)+_0x32fb46['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x94b63d['join'](',\x20')+')');let _0x220011;if(_0x142044 instanceof _0x39aa08)_0x220011=_0x142044;else try{_0x220011=new _0x39aa08(_0x142044);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x142044);}_0x220011['protocol']===_0x2f9cf1(0x1f7)?_0x220011['protocol']='ws:':_0x220011['protocol']==='https:'&&(_0x220011['protocol']='wss:'),_0x5d7e28[_0x2f9cf1(0x2eb)]=_0x220011[_0x2f9cf1(0x2a1)];const _0x4ad8b3=_0x220011[_0x2f9cf1(0x16c)]===_0x2f9cf1(0x2a3),_0x52390d=_0x220011['protocol']==='ws+unix:';let _0x3fd8c5;if(_0x220011[_0x2f9cf1(0x16c)]!=='ws:'&&!_0x4ad8b3&&!_0x52390d?_0x3fd8c5=_0x2f9cf1(0x2cd):_0x52390d&&!_0x220011[_0x2f9cf1(0x1c0)]?_0x3fd8c5=_0x2f9cf1(0x227):_0x220011[_0x2f9cf1(0x20a)]&&(_0x3fd8c5=_0x2f9cf1(0x167)),_0x3fd8c5){const _0x370086=new SyntaxError(_0x3fd8c5);if(_0x5d7e28[_0x2f9cf1(0x1d0)]===0x0)throw _0x370086;_0x1f4a36(_0x5d7e28,_0x370086);return;}const _0x3a08c0=_0x4ad8b3?0x1bb:0x50,_0x44c66a=_0x342424(0x10)[_0x2f9cf1(0x2fa)]('base64'),_0x33b225=_0x4ad8b3?_0xd40595['request']:_0x28d8bd[_0x2f9cf1(0x2da)],_0x6d2a7e=new Set();let _0x327a0b;if(_0x32fb46[_0x2f9cf1(0x26d)]=_0x32fb46[_0x2f9cf1(0x26d)]||(_0x4ad8b3?_0x4b56de:_0x56edd0),_0x32fb46['defaultPort']=_0x32fb46[_0x2f9cf1(0x313)]||_0x3a08c0,_0x32fb46[_0x2f9cf1(0x1f9)]=_0x220011[_0x2f9cf1(0x1f9)]||_0x3a08c0,_0x32fb46[_0x2f9cf1(0x242)]=_0x220011['hostname'][_0x2f9cf1(0x1fb)]('[')?_0x220011[_0x2f9cf1(0x2dc)]['slice'](0x1,-0x1):_0x220011['hostname'],_0x32fb46['headers']={..._0x32fb46[_0x2f9cf1(0x2e7)],'Sec-WebSocket-Version':_0x32fb46['protocolVersion'],'Sec-WebSocket-Key':_0x44c66a,'Connection':_0x2f9cf1(0x1e3),'Upgrade':'websocket'},_0x32fb46[_0x2f9cf1(0x1ca)]=_0x220011[_0x2f9cf1(0x1c0)]+_0x220011[_0x2f9cf1(0x16a)],_0x32fb46['timeout']=_0x32fb46[_0x2f9cf1(0x303)],_0x32fb46[_0x2f9cf1(0x260)]&&(_0x327a0b=new _0x302670(_0x32fb46[_0x2f9cf1(0x260)]!==!0x0?_0x32fb46[_0x2f9cf1(0x260)]:{},!0x1,_0x32fb46[_0x2f9cf1(0x2bf)]),_0x32fb46[_0x2f9cf1(0x2e7)][_0x2f9cf1(0x197)]=_0x3d428b({[_0x302670[_0x2f9cf1(0x2a4)]]:_0x327a0b[_0x2f9cf1(0x272)]()})),_0x4a6a4e[_0x2f9cf1(0x30a)]){for(const _0x1b7edf of _0x4a6a4e){if(typeof _0x1b7edf!='string'||!_0x560797[_0x2f9cf1(0x2f2)](_0x1b7edf)||_0x6d2a7e[_0x2f9cf1(0x30f)](_0x1b7edf))throw new SyntaxError(_0x2f9cf1(0x1cc));_0x6d2a7e[_0x2f9cf1(0x2a5)](_0x1b7edf);}_0x32fb46['headers']['Sec-WebSocket-Protocol']=_0x4a6a4e[_0x2f9cf1(0x2e5)](',');}if(_0x32fb46[_0x2f9cf1(0x1c1)]&&(_0x32fb46[_0x2f9cf1(0x1ad)]<0xd?_0x32fb46[_0x2f9cf1(0x2e7)][_0x2f9cf1(0x21f)]=_0x32fb46[_0x2f9cf1(0x1c1)]:_0x32fb46[_0x2f9cf1(0x2e7)][_0x2f9cf1(0x290)]=_0x32fb46['origin']),(_0x220011['username']||_0x220011[_0x2f9cf1(0x19a)])&&(_0x32fb46[_0x2f9cf1(0x198)]=_0x220011['username']+':'+_0x220011['password']),_0x52390d){const _0x44caf6=_0x32fb46[_0x2f9cf1(0x1ca)][_0x2f9cf1(0x27a)](':');_0x32fb46[_0x2f9cf1(0x25c)]=_0x44caf6[0x0],_0x32fb46[_0x2f9cf1(0x1ca)]=_0x44caf6[0x1];}let _0x446b19;if(_0x32fb46[_0x2f9cf1(0x271)]){if(_0x5d7e28[_0x2f9cf1(0x1d0)]===0x0){_0x5d7e28[_0x2f9cf1(0x2e4)]=_0x52390d,_0x5d7e28[_0x2f9cf1(0x266)]=_0x4ad8b3,_0x5d7e28[_0x2f9cf1(0x1da)]=_0x52390d?_0x32fb46['socketPath']:_0x220011[_0x2f9cf1(0x242)];const _0x3a1863=_0x288006&&_0x288006[_0x2f9cf1(0x2e7)];if(_0x288006={..._0x288006,'headers':{}},_0x3a1863){for(const [_0xeef75e,_0x13432f]of Object[_0x2f9cf1(0x205)](_0x3a1863))_0x288006[_0x2f9cf1(0x2e7)][_0xeef75e[_0x2f9cf1(0x224)]()]=_0x13432f;}}else{if(_0x5d7e28[_0x2f9cf1(0x305)](_0x2f9cf1(0x21d))===0x0){const _0x340d25=_0x52390d?_0x5d7e28[_0x2f9cf1(0x2e4)]?_0x32fb46['socketPath']===_0x5d7e28[_0x2f9cf1(0x1da)]:!0x1:_0x5d7e28[_0x2f9cf1(0x2e4)]?!0x1:_0x220011['host']===_0x5d7e28[_0x2f9cf1(0x1da)];(!_0x340d25||_0x5d7e28[_0x2f9cf1(0x266)]&&!_0x4ad8b3)&&(delete _0x32fb46['headers'][_0x2f9cf1(0x2ff)],delete _0x32fb46[_0x2f9cf1(0x2e7)][_0x2f9cf1(0x1aa)],_0x340d25||delete _0x32fb46[_0x2f9cf1(0x2e7)][_0x2f9cf1(0x242)],_0x32fb46[_0x2f9cf1(0x198)]=void 0x0);}}_0x32fb46['auth']&&!_0x288006['headers'][_0x2f9cf1(0x2ff)]&&(_0x288006[_0x2f9cf1(0x2e7)][_0x2f9cf1(0x2ff)]=_0x2f9cf1(0x17e)+Buffer[_0x2f9cf1(0x1b1)](_0x32fb46[_0x2f9cf1(0x198)])[_0x2f9cf1(0x2fa)](_0x2f9cf1(0x2ad))),_0x446b19=_0x5d7e28['_req']=_0x33b225(_0x32fb46),_0x5d7e28[_0x2f9cf1(0x1d0)]&&_0x5d7e28[_0x2f9cf1(0x30e)]('redirect',_0x5d7e28[_0x2f9cf1(0x29f)],_0x446b19);}else _0x446b19=_0x5d7e28['_req']=_0x33b225(_0x32fb46);_0x32fb46[_0x2f9cf1(0x25f)]&&_0x446b19['on']('timeout',()=>{const _0x28c067=_0x2f9cf1;_0x42ab84(_0x5d7e28,_0x446b19,_0x28c067(0x24c));}),_0x446b19['on'](_0x2f9cf1(0x268),_0x3db43b=>{_0x446b19===null||_0x446b19[_0x4c436e]||(_0x446b19=_0x5d7e28['_req']=null,_0x1f4a36(_0x5d7e28,_0x3db43b));}),_0x446b19['on'](_0x2f9cf1(0x2c2),_0x194823=>{const _0x18db90=_0x2f9cf1,_0x4283c6=_0x194823[_0x18db90(0x2e7)][_0x18db90(0x174)],_0x2e32e7=_0x194823[_0x18db90(0x203)];if(_0x4283c6&&_0x32fb46[_0x18db90(0x271)]&&_0x2e32e7>=0x12c&&_0x2e32e7<0x190){if(++_0x5d7e28[_0x18db90(0x1d0)]>_0x32fb46['maxRedirects']){_0x42ab84(_0x5d7e28,_0x446b19,_0x18db90(0x196));return;}_0x446b19[_0x18db90(0x1e8)]();let _0x9192af;try{_0x9192af=new _0x39aa08(_0x4283c6,_0x142044);}catch{const _0x5b9fb4=new SyntaxError(_0x18db90(0x232)+_0x4283c6);_0x1f4a36(_0x5d7e28,_0x5b9fb4);return;}_0x4da5dd(_0x5d7e28,_0x9192af,_0x4a6a4e,_0x288006);}else _0x5d7e28['emit'](_0x18db90(0x27b),_0x446b19,_0x194823)||_0x42ab84(_0x5d7e28,_0x446b19,_0x18db90(0x192)+_0x194823[_0x18db90(0x203)]);}),_0x446b19['on'](_0x2f9cf1(0x223),(_0x5a1967,_0x4629b1,_0x13935b)=>{const _0x153f76=_0x2f9cf1;if(_0x5d7e28[_0x153f76(0x30e)](_0x153f76(0x223),_0x5a1967),_0x5d7e28[_0x153f76(0x201)]!==_0xefcda0['CONNECTING'])return;_0x446b19=_0x5d7e28[_0x153f76(0x235)]=null;const _0x3fabb2=_0x5a1967[_0x153f76(0x2e7)][_0x153f76(0x223)];if(_0x3fabb2===void 0x0||_0x3fabb2[_0x153f76(0x224)]()!==_0x153f76(0x200)){_0x42ab84(_0x5d7e28,_0x4629b1,_0x153f76(0x2ae));return;}const _0x5d0df1=_0x4e5405(_0x153f76(0x317))[_0x153f76(0x23f)](_0x44c66a+_0x585d82)[_0x153f76(0x1f4)](_0x153f76(0x2ad));if(_0x5a1967[_0x153f76(0x2e7)][_0x153f76(0x20e)]!==_0x5d0df1){_0x42ab84(_0x5d7e28,_0x4629b1,_0x153f76(0x27d));return;}const _0x34c4aa=_0x5a1967[_0x153f76(0x2e7)][_0x153f76(0x289)];let _0x17fec5;if(_0x34c4aa!==void 0x0?_0x6d2a7e['size']?_0x6d2a7e['has'](_0x34c4aa)||(_0x17fec5=_0x153f76(0x229)):_0x17fec5=_0x153f76(0x261):_0x6d2a7e[_0x153f76(0x1b5)]&&(_0x17fec5='Server\x20sent\x20no\x20subprotocol'),_0x17fec5){_0x42ab84(_0x5d7e28,_0x4629b1,_0x17fec5);return;}_0x34c4aa&&(_0x5d7e28[_0x153f76(0x2aa)]=_0x34c4aa);const _0x1c8280=_0x5a1967[_0x153f76(0x2e7)][_0x153f76(0x2d6)];if(_0x1c8280!==void 0x0){if(!_0x327a0b){_0x42ab84(_0x5d7e28,_0x4629b1,_0x153f76(0x1f0));return;}let _0x36a1fc;try{_0x36a1fc=_0x2eb960(_0x1c8280);}catch{_0x42ab84(_0x5d7e28,_0x4629b1,_0x153f76(0x30d));return;}const _0x4f9abc=Object[_0x153f76(0x1d1)](_0x36a1fc);if(_0x4f9abc[_0x153f76(0x30a)]!==0x1||_0x4f9abc[0x0]!==_0x302670[_0x153f76(0x2a4)]){_0x42ab84(_0x5d7e28,_0x4629b1,_0x153f76(0x2e3));return;}try{_0x327a0b['accept'](_0x36a1fc[_0x302670['extensionName']]);}catch{_0x42ab84(_0x5d7e28,_0x4629b1,_0x153f76(0x30d));return;}_0x5d7e28[_0x153f76(0x2ca)][_0x302670[_0x153f76(0x2a4)]]=_0x327a0b;}_0x5d7e28[_0x153f76(0x2b9)](_0x4629b1,_0x13935b,{'allowSynchronousEvents':_0x32fb46[_0x153f76(0x281)],'generateMask':_0x32fb46['generateMask'],'maxPayload':_0x32fb46[_0x153f76(0x2bf)],'skipUTF8Validation':_0x32fb46[_0x153f76(0x288)]});}),_0x32fb46[_0x2f9cf1(0x1e9)]?_0x32fb46[_0x2f9cf1(0x1e9)](_0x446b19,_0x5d7e28):_0x446b19[_0x2f9cf1(0x22a)]();}function _0x1f4a36(_0x47f4e5,_0x46cf01){const _0x575cce=_0x5cf405;_0x47f4e5[_0x575cce(0x1ef)]=_0xefcda0[_0x575cce(0x2bd)],_0x47f4e5[_0x575cce(0x212)]=!0x0,_0x47f4e5[_0x575cce(0x30e)]('error',_0x46cf01),_0x47f4e5[_0x575cce(0x185)]();}function _0x56edd0(_0x397e4e){const _0x1bfd61=_0x5cf405;return _0x397e4e[_0x1bfd61(0x1ca)]=_0x397e4e[_0x1bfd61(0x25c)],_0x1cb7bf['connect'](_0x397e4e);}function _0x4b56de(_0x3a6dc3){const _0x38206a=_0x5cf405;return _0x3a6dc3[_0x38206a(0x1ca)]=void 0x0,!_0x3a6dc3[_0x38206a(0x249)]&&_0x3a6dc3[_0x38206a(0x249)]!==''&&(_0x3a6dc3[_0x38206a(0x249)]=_0x1cb7bf[_0x38206a(0x18d)](_0x3a6dc3[_0x38206a(0x242)])?'':_0x3a6dc3['host']),_0x583784['connect'](_0x3a6dc3);}function _0x42ab84(_0x48240b,_0x4a77ea,_0x430e67){const _0x1c04a9=_0x5cf405;_0x48240b['_readyState']=_0xefcda0[_0x1c04a9(0x2bd)];const _0x4a8607=new Error(_0x430e67);Error[_0x1c04a9(0x178)](_0x4a8607,_0x42ab84),_0x4a77ea[_0x1c04a9(0x251)]?(_0x4a77ea[_0x4c436e]=!0x0,_0x4a77ea[_0x1c04a9(0x1e8)](),_0x4a77ea[_0x1c04a9(0x1ea)]&&!_0x4a77ea[_0x1c04a9(0x1ea)][_0x1c04a9(0x26a)]&&_0x4a77ea['socket'][_0x1c04a9(0x24a)](),process[_0x1c04a9(0x218)](_0x1f4a36,_0x48240b,_0x4a8607)):(_0x4a77ea['destroy'](_0x4a8607),_0x4a77ea['once'](_0x1c04a9(0x268),_0x48240b['emit'][_0x1c04a9(0x24f)](_0x48240b,_0x1c04a9(0x268))),_0x4a77ea[_0x1c04a9(0x22f)]('close',_0x48240b['emitClose']['bind'](_0x48240b)));}function _0x2ccbdc(_0x2c430c,_0x4dc2ee,_0x220047){const _0x29b373=_0x5cf405;if(_0x4dc2ee){const _0x5e6801=_0x5d0410(_0x4dc2ee)?_0x4dc2ee[_0x29b373(0x1b5)]:_0x5b02aa(_0x4dc2ee)['length'];_0x2c430c[_0x29b373(0x1a4)]?_0x2c430c['_sender']['_bufferedBytes']+=_0x5e6801:_0x2c430c[_0x29b373(0x291)]+=_0x5e6801;}if(_0x220047){const _0x28baa5=new Error(_0x29b373(0x1f6)+_0x2c430c[_0x29b373(0x201)]+'\x20('+_0x57145e[_0x2c430c['readyState']]+')');process['nextTick'](_0x220047,_0x28baa5);}}function _0x5d1e25(_0x1b745e,_0x4439ce){const _0xd129e6=_0x5cf405,_0x5dec5c=this[_0x427587];_0x5dec5c[_0xd129e6(0x1ce)]=!0x0,_0x5dec5c['_closeMessage']=_0x4439ce,_0x5dec5c[_0xd129e6(0x21b)]=_0x1b745e,_0x5dec5c[_0xd129e6(0x1a4)][_0x427587]!==void 0x0&&(_0x5dec5c['_socket']['removeListener']('data',_0x5f0f6b),process[_0xd129e6(0x218)](_0x5a6d03,_0x5dec5c[_0xd129e6(0x1a4)]),_0x1b745e===0x3ed?_0x5dec5c[_0xd129e6(0x170)]():_0x5dec5c[_0xd129e6(0x170)](_0x1b745e,_0x4439ce));}function _0x2114d8(){const _0x57f55a=_0x5cf405,_0x324b50=this[_0x427587];_0x324b50[_0x57f55a(0x1eb)]||_0x324b50[_0x57f55a(0x1a4)][_0x57f55a(0x300)]();}function _0x206e57(_0x22a547){const _0x5be0e4=_0x5cf405,_0x5e54c4=this[_0x427587];_0x5e54c4[_0x5be0e4(0x1a4)][_0x427587]!==void 0x0&&(_0x5e54c4[_0x5be0e4(0x1a4)]['removeListener'](_0x5be0e4(0x191),_0x5f0f6b),process[_0x5be0e4(0x218)](_0x5a6d03,_0x5e54c4[_0x5be0e4(0x1a4)]),_0x5e54c4[_0x5be0e4(0x170)](_0x22a547[_0x5be63a])),_0x5e54c4[_0x5be0e4(0x212)]||(_0x5e54c4[_0x5be0e4(0x212)]=!0x0,_0x5e54c4[_0x5be0e4(0x30e)]('error',_0x22a547));}function _0x26fee0(){this[_0x427587]['emitClose']();}function _0x77b5d9(_0xa9a17d,_0x276f53){const _0x592499=_0x5cf405;this[_0x427587][_0x592499(0x30e)](_0x592499(0x1ac),_0xa9a17d,_0x276f53);}function _0x534357(_0xc06a8b){const _0x37b5b0=_0x5cf405,_0x54e0e9=this[_0x427587];_0x54e0e9[_0x37b5b0(0x1a6)]&&_0x54e0e9[_0x37b5b0(0x2bb)](_0xc06a8b,!this[_0x37b5b0(0x186)],_0x4a7bcc),_0x54e0e9[_0x37b5b0(0x30e)](_0x37b5b0(0x1c7),_0xc06a8b);}function _0x44c448(_0x4615b9){const _0x3351e3=_0x5cf405;this[_0x427587][_0x3351e3(0x30e)](_0x3351e3(0x2bb),_0x4615b9);}function _0x5a6d03(_0x3ffb00){const _0x2afbdb=_0x5cf405;_0x3ffb00[_0x2afbdb(0x300)]();}function _0x316d25(_0x15db5f){const _0x2b20de=_0x5cf405,_0x2c44b3=this[_0x427587];_0x2c44b3['readyState']!==_0xefcda0[_0x2b20de(0x258)]&&(_0x2c44b3[_0x2b20de(0x201)]===_0xefcda0['OPEN']&&(_0x2c44b3[_0x2b20de(0x1ef)]=_0xefcda0[_0x2b20de(0x2bd)],_0x165fd9(_0x2c44b3)),this[_0x2b20de(0x1a4)][_0x2b20de(0x22a)](),_0x2c44b3[_0x2b20de(0x212)]||(_0x2c44b3['_errorEmitted']=!0x0,_0x2c44b3[_0x2b20de(0x30e)](_0x2b20de(0x268),_0x15db5f)));}function _0x165fd9(_0x5664b1){const _0x397a96=_0x5cf405;_0x5664b1[_0x397a96(0x1bb)]=setTimeout(_0x5664b1[_0x397a96(0x1a4)][_0x397a96(0x24a)]['bind'](_0x5664b1['_socket']),_0x1accc8);}function _0x2b9c3c(){const _0x338f2a=_0x5cf405,_0x3db6d9=this[_0x427587];this['removeListener']('close',_0x2b9c3c),this['removeListener'](_0x338f2a(0x191),_0x5f0f6b),this[_0x338f2a(0x184)]('end',_0x18b5aa),_0x3db6d9[_0x338f2a(0x1ef)]=_0xefcda0[_0x338f2a(0x2bd)];let _0x351206;!this[_0x338f2a(0x2f9)][_0x338f2a(0x1f1)]&&!_0x3db6d9[_0x338f2a(0x1ce)]&&!_0x3db6d9['_receiver'][_0x338f2a(0x17f)][_0x338f2a(0x163)]&&(_0x351206=_0x3db6d9[_0x338f2a(0x1a4)][_0x338f2a(0x1cd)]())!==null&&_0x3db6d9[_0x338f2a(0x1ba)][_0x338f2a(0x1f2)](_0x351206),_0x3db6d9[_0x338f2a(0x1ba)][_0x338f2a(0x22a)](),this[_0x427587]=void 0x0,clearTimeout(_0x3db6d9[_0x338f2a(0x1bb)]),_0x3db6d9[_0x338f2a(0x1ba)][_0x338f2a(0x17f)][_0x338f2a(0x2e2)]||_0x3db6d9[_0x338f2a(0x1ba)][_0x338f2a(0x17f)][_0x338f2a(0x163)]?_0x3db6d9[_0x338f2a(0x185)]():(_0x3db6d9[_0x338f2a(0x1ba)]['on'](_0x338f2a(0x268),_0x26fee0),_0x3db6d9[_0x338f2a(0x1ba)]['on'](_0x338f2a(0x164),_0x26fee0));}function _0x5f0f6b(_0x30a0c8){const _0x4d1449=_0x5cf405;this[_0x427587][_0x4d1449(0x1ba)][_0x4d1449(0x1f2)](_0x30a0c8)||this[_0x4d1449(0x2b6)]();}function _0x18b5aa(){const _0x44baa7=_0x5cf405,_0x4d6caf=this[_0x427587];_0x4d6caf[_0x44baa7(0x1ef)]=_0xefcda0['CLOSING'],_0x4d6caf[_0x44baa7(0x1ba)]['end'](),this[_0x44baa7(0x22a)]();}function _0x394862(){const _0xb03264=_0x5cf405,_0x159e72=this[_0x427587];this[_0xb03264(0x184)](_0xb03264(0x268),_0x394862),this['on'](_0xb03264(0x268),_0x4a7bcc),_0x159e72&&(_0x159e72[_0xb03264(0x1ef)]=_0xefcda0['CLOSING'],this[_0xb03264(0x24a)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x321c0a}=_0x531b40;function _0x583ae5(_0x4c8d6f){const _0x498c5f=_0x20a4;_0x4c8d6f[_0x498c5f(0x30e)](_0x498c5f(0x170));}function _0x536611(){const _0x37eb77=_0x20a4;!this['destroyed']&&this[_0x37eb77(0x17f)][_0x37eb77(0x2e2)]&&this[_0x37eb77(0x24a)]();}function _0x3b17bc(_0x1f9b64){const _0x1ecef5=_0x20a4;this[_0x1ecef5(0x184)]('error',_0x3b17bc),this[_0x1ecef5(0x24a)](),this[_0x1ecef5(0x305)](_0x1ecef5(0x268))===0x0&&this[_0x1ecef5(0x30e)]('error',_0x1f9b64);}function _0x55256e(_0x4f9334,_0x3dd4bb){const _0x57e3ef=_0x20a4;let _0x46b69b=!0x0;const _0x425a00=new _0x321c0a({..._0x3dd4bb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4f9334['on'](_0x57e3ef(0x1ac),function(_0x4c21c4,_0x3bfdb7){const _0x2aefbd=_0x57e3ef,_0x4cc783=!_0x3bfdb7&&_0x425a00['_readableState'][_0x2aefbd(0x1dc)]?_0x4c21c4['toString']():_0x4c21c4;_0x425a00[_0x2aefbd(0x304)](_0x4cc783)||_0x4f9334[_0x2aefbd(0x2b6)]();}),_0x4f9334[_0x57e3ef(0x22f)]('error',function(_0x540b77){const _0x243319=_0x57e3ef;_0x425a00[_0x243319(0x26a)]||(_0x46b69b=!0x1,_0x425a00[_0x243319(0x24a)](_0x540b77));}),_0x4f9334[_0x57e3ef(0x22f)](_0x57e3ef(0x170),function(){const _0x502628=_0x57e3ef;_0x425a00['destroyed']||_0x425a00[_0x502628(0x304)](null);}),_0x425a00[_0x57e3ef(0x216)]=function(_0x58094f,_0x41b0ae){const _0x3fc619=_0x57e3ef;if(_0x4f9334[_0x3fc619(0x201)]===_0x4f9334['CLOSED']){_0x41b0ae(_0x58094f),process['nextTick'](_0x583ae5,_0x425a00);return;}let _0x1b9f68=!0x1;_0x4f9334[_0x3fc619(0x22f)](_0x3fc619(0x268),function(_0x549d5c){_0x1b9f68=!0x0,_0x41b0ae(_0x549d5c);}),_0x4f9334[_0x3fc619(0x22f)](_0x3fc619(0x170),function(){const _0x413017=_0x3fc619;_0x1b9f68||_0x41b0ae(_0x58094f),process[_0x413017(0x218)](_0x583ae5,_0x425a00);}),_0x46b69b&&_0x4f9334[_0x3fc619(0x24d)]();},_0x425a00[_0x57e3ef(0x20d)]=function(_0x1f4d7d){const _0x21665d=_0x57e3ef;if(_0x4f9334[_0x21665d(0x201)]===_0x4f9334['CONNECTING']){_0x4f9334[_0x21665d(0x22f)](_0x21665d(0x254),function(){_0x425a00['_final'](_0x1f4d7d);});return;}_0x4f9334[_0x21665d(0x1a4)]!==null&&(_0x4f9334[_0x21665d(0x1a4)][_0x21665d(0x17f)][_0x21665d(0x2e2)]?(_0x1f4d7d(),_0x425a00['_readableState'][_0x21665d(0x1f1)]&&_0x425a00['destroy']()):(_0x4f9334[_0x21665d(0x1a4)][_0x21665d(0x22f)]('finish',function(){_0x1f4d7d();}),_0x4f9334[_0x21665d(0x170)]()));},_0x425a00[_0x57e3ef(0x2d1)]=function(){const _0x53af19=_0x57e3ef;_0x4f9334['isPaused']&&_0x4f9334[_0x53af19(0x300)]();},_0x425a00[_0x57e3ef(0x17d)]=function(_0x3d13bc,_0x486dc5,_0x4cdd03){const _0x636e58=_0x57e3ef;if(_0x4f9334[_0x636e58(0x201)]===_0x4f9334['CONNECTING']){_0x4f9334['once']('open',function(){const _0xe6dc24=_0x636e58;_0x425a00[_0xe6dc24(0x17d)](_0x3d13bc,_0x486dc5,_0x4cdd03);});return;}_0x4f9334[_0x636e58(0x1d2)](_0x3d13bc,_0x4cdd03);},_0x425a00['on']('end',_0x536611),_0x425a00['on']('error',_0x3b17bc),_0x425a00;}return Oe=_0x55256e,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x4cf8ee}=ne();function _0x52e48e(_0x417fad){const _0x27663b=_0x20a4,_0x1ec932=new Set();let _0x3a054e=-0x1,_0x5be097=-0x1,_0x188afc=0x0;for(_0x188afc;_0x188afc<_0x417fad[_0x27663b(0x30a)];_0x188afc++){const _0x10da9b=_0x417fad[_0x27663b(0x301)](_0x188afc);if(_0x5be097===-0x1&&_0x4cf8ee[_0x10da9b]===0x1)_0x3a054e===-0x1&&(_0x3a054e=_0x188afc);else{if(_0x188afc!==0x0&&(_0x10da9b===0x20||_0x10da9b===0x9))_0x5be097===-0x1&&_0x3a054e!==-0x1&&(_0x5be097=_0x188afc);else{if(_0x10da9b===0x2c){if(_0x3a054e===-0x1)throw new SyntaxError(_0x27663b(0x298)+_0x188afc);_0x5be097===-0x1&&(_0x5be097=_0x188afc);const _0x55fcd7=_0x417fad[_0x27663b(0x26b)](_0x3a054e,_0x5be097);if(_0x1ec932['has'](_0x55fcd7))throw new SyntaxError('The\x20\x22'+_0x55fcd7+_0x27663b(0x202));_0x1ec932['add'](_0x55fcd7),_0x3a054e=_0x5be097=-0x1;}else throw new SyntaxError(_0x27663b(0x298)+_0x188afc);}}}if(_0x3a054e===-0x1||_0x5be097!==-0x1)throw new SyntaxError(_0x27663b(0x28a));const _0x2ac9ea=_0x417fad[_0x27663b(0x26b)](_0x3a054e,_0x188afc);if(_0x1ec932[_0x27663b(0x30f)](_0x2ac9ea))throw new SyntaxError('The\x20\x22'+_0x2ac9ea+'\x22\x20subprotocol\x20is\x20duplicated');return _0x1ec932[_0x27663b(0x2a5)](_0x2ac9ea),_0x1ec932;}return Ce={'parse':_0x52e48e},Ce;}var Te,ot;function er(){const _0x2b4861=_0x670fda;if(ot)return Te;ot=0x1;const _0x17b652=_0x158328,_0x502bcc=_0x145872,{Duplex:_0x32ae1b}=_0x531b40,{createHash:_0x59c3f7}=_0x38d98d,_0x5b90d8=pt(),_0x6d1e9a=he(),_0x4dbf8e=Jt(),_0x502bec=Ie(),{GUID:_0x16fc1b,kWebSocket:_0x47293c}=V(),_0x1c322c=/^[+/0-9A-Za-z]{22}==$/,_0x11bd2a=0x0,_0x572979=0x1,_0x456541=0x2;class _0x11feb2 extends _0x17b652{constructor(_0x120edc,_0x16cb24){const _0xc4fa47=_0x20a4;if(super(),_0x120edc={'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':_0x502bec,..._0x120edc},_0x120edc['port']==null&&!_0x120edc[_0xc4fa47(0x257)]&&!_0x120edc['noServer']||_0x120edc[_0xc4fa47(0x1f9)]!=null&&(_0x120edc[_0xc4fa47(0x257)]||_0x120edc[_0xc4fa47(0x2c0)])||_0x120edc[_0xc4fa47(0x257)]&&_0x120edc[_0xc4fa47(0x2c0)])throw new TypeError(_0xc4fa47(0x252));if(_0x120edc[_0xc4fa47(0x1f9)]!=null?(this[_0xc4fa47(0x253)]=_0x502bcc['createServer']((_0x325444,_0x51e13b)=>{const _0x55f21b=_0xc4fa47,_0x4d5881=_0x502bcc[_0x55f21b(0x1e2)][0x1aa];_0x51e13b['writeHead'](0x1aa,{'Content-Length':_0x4d5881['length'],'Content-Type':_0x55f21b(0x26f)}),_0x51e13b[_0x55f21b(0x22a)](_0x4d5881);}),this[_0xc4fa47(0x253)][_0xc4fa47(0x18c)](_0x120edc[_0xc4fa47(0x1f9)],_0x120edc['host'],_0x120edc[_0xc4fa47(0x245)],_0x16cb24)):_0x120edc[_0xc4fa47(0x257)]&&(this['_server']=_0x120edc[_0xc4fa47(0x257)]),this[_0xc4fa47(0x253)]){const _0x4c801b=this['emit'][_0xc4fa47(0x24f)](this,_0xc4fa47(0x221));this['_removeListeners']=_0x17a505(this['_server'],{'listening':this['emit'][_0xc4fa47(0x24f)](this,'listening'),'error':this[_0xc4fa47(0x30e)][_0xc4fa47(0x24f)](this,'error'),'upgrade':(_0x2991e7,_0x19ae00,_0x185b0b)=>{const _0x490151=_0xc4fa47;this[_0x490151(0x278)](_0x2991e7,_0x19ae00,_0x185b0b,_0x4c801b);}});}_0x120edc[_0xc4fa47(0x260)]===!0x0&&(_0x120edc['perMessageDeflate']={}),_0x120edc[_0xc4fa47(0x23a)]&&(this[_0xc4fa47(0x1b6)]=new Set(),this[_0xc4fa47(0x1ae)]=!0x1),this[_0xc4fa47(0x2c3)]=_0x120edc,this[_0xc4fa47(0x1c6)]=_0x11bd2a;}[_0x2b4861(0x206)](){const _0x2701b4=_0x2b4861;if(this[_0x2701b4(0x2c3)]['noServer'])throw new Error(_0x2701b4(0x256));return this[_0x2701b4(0x253)]?this[_0x2701b4(0x253)][_0x2701b4(0x206)]():null;}[_0x2b4861(0x170)](_0x3d739f){const _0x28f7d2=_0x2b4861;if(this[_0x28f7d2(0x1c6)]===_0x456541){_0x3d739f&&this[_0x28f7d2(0x22f)]('close',()=>{const _0xf271b2=_0x28f7d2;_0x3d739f(new Error(_0xf271b2(0x1de)));}),process['nextTick'](_0x3ce434,this);return;}if(_0x3d739f&&this['once']('close',_0x3d739f),this[_0x28f7d2(0x1c6)]!==_0x572979){if(this['_state']=_0x572979,this[_0x28f7d2(0x2c3)][_0x28f7d2(0x2c0)]||this[_0x28f7d2(0x2c3)][_0x28f7d2(0x257)])this[_0x28f7d2(0x253)]&&(this[_0x28f7d2(0x276)](),this[_0x28f7d2(0x276)]=this['_server']=null),this[_0x28f7d2(0x1b6)]?this[_0x28f7d2(0x1b6)]['size']?this[_0x28f7d2(0x1ae)]=!0x0:process[_0x28f7d2(0x218)](_0x3ce434,this):process[_0x28f7d2(0x218)](_0x3ce434,this);else{const _0x1d3daa=this['_server'];this[_0x28f7d2(0x276)](),this[_0x28f7d2(0x276)]=this[_0x28f7d2(0x253)]=null,_0x1d3daa[_0x28f7d2(0x170)](()=>{_0x3ce434(this);});}}}[_0x2b4861(0x2a7)](_0x416ab1){const _0x36cea5=_0x2b4861;if(this[_0x36cea5(0x2c3)]['path']){const _0x34602b=_0x416ab1[_0x36cea5(0x29f)][_0x36cea5(0x259)]('?');if((_0x34602b!==-0x1?_0x416ab1[_0x36cea5(0x29f)][_0x36cea5(0x26b)](0x0,_0x34602b):_0x416ab1[_0x36cea5(0x29f)])!==this[_0x36cea5(0x2c3)]['path'])return!0x1;}return!0x0;}[_0x2b4861(0x278)](_0x36875c,_0x1f32ab,_0x25cfa0,_0x356731){const _0x34b411=_0x2b4861;_0x1f32ab['on'](_0x34b411(0x268),_0x25a989);const _0x11a82b=_0x36875c['headers'][_0x34b411(0x1e0)],_0x1029a7=_0x36875c[_0x34b411(0x2e7)][_0x34b411(0x223)],_0x17b8f6=+_0x36875c[_0x34b411(0x2e7)]['sec-websocket-version'];if(_0x36875c[_0x34b411(0x2c9)]!==_0x34b411(0x171)){_0x2354ab(this,_0x36875c,_0x1f32ab,0x195,_0x34b411(0x1a3));return;}if(_0x1029a7===void 0x0||_0x1029a7[_0x34b411(0x224)]()!==_0x34b411(0x200)){_0x2354ab(this,_0x36875c,_0x1f32ab,0x190,_0x34b411(0x2ae));return;}if(_0x11a82b===void 0x0||!_0x1c322c[_0x34b411(0x2f2)](_0x11a82b)){_0x2354ab(this,_0x36875c,_0x1f32ab,0x190,_0x34b411(0x2d4));return;}if(_0x17b8f6!==0x8&&_0x17b8f6!==0xd){_0x2354ab(this,_0x36875c,_0x1f32ab,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x34b411(0x2a7)](_0x36875c)){_0xc5360e(_0x1f32ab,0x190);return;}const _0x444c39=_0x36875c[_0x34b411(0x2e7)][_0x34b411(0x289)];let _0x5a79d7=new Set();if(_0x444c39!==void 0x0)try{_0x5a79d7=_0x4dbf8e[_0x34b411(0x1bf)](_0x444c39);}catch{_0x2354ab(this,_0x36875c,_0x1f32ab,0x190,_0x34b411(0x17a));return;}const _0x5072bf=_0x36875c[_0x34b411(0x2e7)]['sec-websocket-extensions'],_0x331ec8={};if(this['options'][_0x34b411(0x260)]&&_0x5072bf!==void 0x0){const _0x1bc72a=new _0x6d1e9a(this[_0x34b411(0x2c3)][_0x34b411(0x260)],!0x0,this['options'][_0x34b411(0x2bf)]);try{const _0x165a0c=_0x5b90d8[_0x34b411(0x1bf)](_0x5072bf);_0x165a0c[_0x6d1e9a[_0x34b411(0x2a4)]]&&(_0x1bc72a[_0x34b411(0x2a0)](_0x165a0c[_0x6d1e9a[_0x34b411(0x2a4)]]),_0x331ec8[_0x6d1e9a[_0x34b411(0x2a4)]]=_0x1bc72a);}catch{_0x2354ab(this,_0x36875c,_0x1f32ab,0x190,_0x34b411(0x1ee));return;}}if(this[_0x34b411(0x2c3)][_0x34b411(0x1b0)]){const _0x1aaaae={'origin':_0x36875c[_0x34b411(0x2e7)][''+(_0x17b8f6===0x8?_0x34b411(0x2fd):_0x34b411(0x1c1))],'secure':!!(_0x36875c[_0x34b411(0x1ea)][_0x34b411(0x1b2)]||_0x36875c['socket'][_0x34b411(0x173)]),'req':_0x36875c};if(this[_0x34b411(0x2c3)]['verifyClient'][_0x34b411(0x30a)]===0x2){this[_0x34b411(0x2c3)][_0x34b411(0x1b0)](_0x1aaaae,(_0x106baa,_0x2f7787,_0x4a5855,_0x6a1001)=>{const _0x5a5e4e=_0x34b411;if(!_0x106baa)return _0xc5360e(_0x1f32ab,_0x2f7787||0x191,_0x4a5855,_0x6a1001);this[_0x5a5e4e(0x18e)](_0x331ec8,_0x11a82b,_0x5a79d7,_0x36875c,_0x1f32ab,_0x25cfa0,_0x356731);});return;}if(!this[_0x34b411(0x2c3)][_0x34b411(0x1b0)](_0x1aaaae))return _0xc5360e(_0x1f32ab,0x191);}this['completeUpgrade'](_0x331ec8,_0x11a82b,_0x5a79d7,_0x36875c,_0x1f32ab,_0x25cfa0,_0x356731);}[_0x2b4861(0x18e)](_0x2bb15a,_0x1c97eb,_0x4335a8,_0x256fec,_0xfbd147,_0x52a6b5,_0x8a890b){const _0xed6ce1=_0x2b4861;if(!_0xfbd147['readable']||!_0xfbd147[_0xed6ce1(0x308)])return _0xfbd147['destroy']();if(_0xfbd147[_0x47293c])throw new Error(_0xed6ce1(0x217));if(this[_0xed6ce1(0x1c6)]>_0x11bd2a)return _0xc5360e(_0xfbd147,0x1f7);const _0x3c13da=[_0xed6ce1(0x316),_0xed6ce1(0x27e),_0xed6ce1(0x1ff),_0xed6ce1(0x250)+_0x59c3f7(_0xed6ce1(0x317))[_0xed6ce1(0x23f)](_0x1c97eb+_0x16fc1b)['digest'](_0xed6ce1(0x2ad))],_0x254878=new this[(_0xed6ce1(0x2c3))]['WebSocket'](null,void 0x0,this[_0xed6ce1(0x2c3)]);if(_0x4335a8['size']){const _0x5eedac=this[_0xed6ce1(0x2c3)]['handleProtocols']?this['options']['handleProtocols'](_0x4335a8,_0x256fec):_0x4335a8[_0xed6ce1(0x287)]()['next']()[_0xed6ce1(0x1a0)];_0x5eedac&&(_0x3c13da[_0xed6ce1(0x304)](_0xed6ce1(0x209)+_0x5eedac),_0x254878[_0xed6ce1(0x2aa)]=_0x5eedac);}if(_0x2bb15a[_0x6d1e9a[_0xed6ce1(0x2a4)]]){const _0x23cf56=_0x2bb15a[_0x6d1e9a[_0xed6ce1(0x2a4)]][_0xed6ce1(0x1c3)],_0x555dbf=_0x5b90d8[_0xed6ce1(0x2e6)]({[_0x6d1e9a[_0xed6ce1(0x2a4)]]:[_0x23cf56]});_0x3c13da[_0xed6ce1(0x304)]('Sec-WebSocket-Extensions:\x20'+_0x555dbf),_0x254878[_0xed6ce1(0x2ca)]=_0x2bb15a;}this[_0xed6ce1(0x30e)](_0xed6ce1(0x2e7),_0x3c13da,_0x256fec),_0xfbd147['write'](_0x3c13da[_0xed6ce1(0x262)]('\x0d\x0a')[_0xed6ce1(0x2e5)]('\x0d\x0a')),_0xfbd147[_0xed6ce1(0x184)]('error',_0x25a989),_0x254878[_0xed6ce1(0x2b9)](_0xfbd147,_0x52a6b5,{'allowSynchronousEvents':this[_0xed6ce1(0x2c3)][_0xed6ce1(0x281)],'maxPayload':this[_0xed6ce1(0x2c3)][_0xed6ce1(0x2bf)],'skipUTF8Validation':this['options'][_0xed6ce1(0x288)]}),this[_0xed6ce1(0x1b6)]&&(this[_0xed6ce1(0x1b6)][_0xed6ce1(0x2a5)](_0x254878),_0x254878['on'](_0xed6ce1(0x170),()=>{const _0x1fd99e=_0xed6ce1;this[_0x1fd99e(0x1b6)]['delete'](_0x254878),this[_0x1fd99e(0x1ae)]&&!this[_0x1fd99e(0x1b6)][_0x1fd99e(0x1b5)]&&process[_0x1fd99e(0x218)](_0x3ce434,this);})),_0x8a890b(_0x254878,_0x256fec);}}Te=_0x11feb2;function _0x17a505(_0x4fd911,_0x264b7a){const _0x23b2ca=_0x2b4861;for(const _0x5158a5 of Object[_0x23b2ca(0x1d1)](_0x264b7a))_0x4fd911['on'](_0x5158a5,_0x264b7a[_0x5158a5]);return function(){const _0x4b3100=_0x23b2ca;for(const _0x33d4ca of Object['keys'](_0x264b7a))_0x4fd911[_0x4b3100(0x184)](_0x33d4ca,_0x264b7a[_0x33d4ca]);};}function _0x3ce434(_0x4b399f){const _0x461434=_0x2b4861;_0x4b399f[_0x461434(0x1c6)]=_0x456541,_0x4b399f[_0x461434(0x30e)](_0x461434(0x170));}function _0x25a989(){const _0x3c8435=_0x2b4861;this[_0x3c8435(0x24a)]();}function _0xc5360e(_0x4e32f0,_0x12d590,_0x54beb7,_0x4155ca){const _0x16e123=_0x2b4861;_0x54beb7=_0x54beb7||_0x502bcc['STATUS_CODES'][_0x12d590],_0x4155ca={'Connection':_0x16e123(0x170),'Content-Type':'text/html','Content-Length':Buffer[_0x16e123(0x168)](_0x54beb7),..._0x4155ca},_0x4e32f0[_0x16e123(0x22f)](_0x16e123(0x164),_0x4e32f0['destroy']),_0x4e32f0[_0x16e123(0x22a)](_0x16e123(0x1bd)+_0x12d590+'\x20'+_0x502bcc['STATUS_CODES'][_0x12d590]+'\x0d\x0a'+Object[_0x16e123(0x1d1)](_0x4155ca)[_0x16e123(0x1d8)](_0x55e7fd=>_0x55e7fd+':\x20'+_0x4155ca[_0x55e7fd])[_0x16e123(0x2e5)]('\x0d\x0a')+_0x16e123(0x2ea)+_0x54beb7);}function _0x2354ab(_0x55f63c,_0x2ea576,_0xca0503,_0x20a9a3,_0x1ea9ac){const _0x539cae=_0x2b4861;if(_0x55f63c['listenerCount'](_0x539cae(0x265))){const _0x4b71a2=new Error(_0x1ea9ac);Error[_0x539cae(0x178)](_0x4b71a2,_0x2354ab),_0x55f63c[_0x539cae(0x30e)]('wsClientError',_0x4b71a2,_0xca0503,_0x2ea576);}else _0xc5360e(_0xca0503,_0x20a9a3,_0x1ea9ac);}return Te;}er();var tr=Object[_0x670fda(0x18b)],rr=(_0x4bc267,_0xad84a3,_0xe50df4,_0x4c63d1)=>{const _0x57d912=_0x670fda;for(var _0x10db6f=_0x4c63d1>0x1?void 0x0:_0x4c63d1?tr(_0xad84a3,_0xe50df4):_0xad84a3,_0x4b2a7b=_0x4bc267[_0x57d912(0x30a)]-0x1,_0x52941d;_0x4b2a7b>=0x0;_0x4b2a7b--)(_0x52941d=_0x4bc267[_0x4b2a7b])&&(_0x10db6f=_0x52941d(_0x10db6f)||_0x10db6f);return _0x10db6f;},sr=(_0x4c675d,_0x5496d9)=>(_0x44d6d8,_0x48da27)=>_0x5496d9(_0x44d6d8,_0x48da27,_0x4c675d);let Ne=class extends _0x7c6794{constructor(_0x33ac9c){super(),this['_configService']=_0x33ac9c;}['createSocket'](_0x504025){const _0x34a3a9=_0x670fda;var _0x33fc3a;const _0x1848dd=(_0x33fc3a=this[_0x34a3a9(0x183)][_0x34a3a9(0x2a9)](Be))==null?void 0x0:_0x33fc3a[_0x34a3a9(0x295)];try{const _0x16dab4=new Qt(_0x504025,{'headers':{..._0x1848dd}}),_0xd7d11=new _0x1815d3();return{'URL':_0x504025,'close':(_0x34b190,_0x190df7)=>{const _0x4644f8=_0x34a3a9;_0x16dab4[_0x4644f8(0x170)](_0x34b190,_0x190df7),_0xd7d11[_0x4644f8(0x1a5)]();},'send':_0x3a9788=>{const _0x32f6bd=_0x34a3a9;_0x16dab4[_0x32f6bd(0x1d2)](_0x3a9788);},'open$':new _0xc67d75(_0x35c0c0=>{const _0x27ee6d=_0x34a3a9,_0x22c4d3=_0xc54bf4=>_0x35c0c0['next'](_0xc54bf4);_0x16dab4[_0x27ee6d(0x17b)](_0x27ee6d(0x254),_0x22c4d3),_0xd7d11['add'](_0x193503(()=>_0x16dab4['removeEventListener'](_0x27ee6d(0x254),_0x22c4d3)));})['pipe'](_0x33eff0()),'close$':new _0xc67d75(_0x1da2e9=>{const _0x45bb98=_0x34a3a9,_0xabf305=_0x2a02eb=>_0x1da2e9['next'](_0x2a02eb);_0x16dab4[_0x45bb98(0x17b)](_0x45bb98(0x170),_0xabf305),_0xd7d11[_0x45bb98(0x2a5)](_0x193503(()=>_0x16dab4[_0x45bb98(0x1b8)](_0x45bb98(0x170),_0xabf305)));})[_0x34a3a9(0x27c)](_0x33eff0()),'error$':new _0xc67d75(_0x422a6d=>{const _0x7acac1=_0x34a3a9,_0x5dd364=_0x424894=>_0x422a6d[_0x7acac1(0x1cf)](_0x424894);_0x16dab4[_0x7acac1(0x17b)](_0x7acac1(0x268),_0x5dd364),_0xd7d11[_0x7acac1(0x2a5)](_0x193503(()=>_0x16dab4[_0x7acac1(0x1b8)](_0x7acac1(0x268),_0x5dd364)));})[_0x34a3a9(0x27c)](_0x33eff0()),'message$':new _0xc67d75(_0x1c420f=>{const _0x40b778=_0x34a3a9,_0x573259=_0x322593=>_0x1c420f[_0x40b778(0x1cf)](_0x322593);_0x16dab4[_0x40b778(0x17b)]('message',_0x573259),_0xd7d11[_0x40b778(0x2a5)](_0x193503(()=>_0x16dab4['removeEventListener'](_0x40b778(0x1ac),_0x573259)));})[_0x34a3a9(0x27c)](_0x33eff0())};}catch(_0x583e5f){return console[_0x34a3a9(0x268)](_0x583e5f),null;}}};Ne=rr([sr(0x0,_0x1d0f93)],Ne);var ir=Object['defineProperty'],nr=Object[_0x670fda(0x18b)],or=(_0x7da6f2,_0x271e29,_0x18a3a3)=>_0x271e29 in _0x7da6f2?ir(_0x7da6f2,_0x271e29,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18a3a3}):_0x7da6f2[_0x271e29]=_0x18a3a3,ar=(_0x40dedf,_0x243b92,_0x3f6bc6,_0x1a2a4d)=>{const _0x329cab=_0x670fda;for(var _0x4c7664=_0x1a2a4d>0x1?void 0x0:_0x1a2a4d?nr(_0x243b92,_0x3f6bc6):_0x243b92,_0x160af3=_0x40dedf[_0x329cab(0x30a)]-0x1,_0x4ba4d0;_0x160af3>=0x0;_0x160af3--)(_0x4ba4d0=_0x40dedf[_0x160af3])&&(_0x4c7664=_0x4ba4d0(_0x4c7664)||_0x4c7664);return _0x4c7664;},ke=(_0x355580,_0x220d2f)=>(_0x3ec452,_0x1352bc)=>_0x220d2f(_0x3ec452,_0x1352bc,_0x355580),lr=(_0x1fb186,_0x547a9b,_0x47c7b3)=>or(_0x1fb186,_0x547a9b+'',_0x47c7b3);let Pe=class extends _0x414a08{constructor(_0x32b8ae=Ft,_0xf3fcce,_0x59bfe7,_0x12d137){const _0x43bc60=_0x670fda;_0x32b8ae['customHeaders']||_0xf3fcce[_0x43bc60(0x1cb)](_0x43bc60(0x1e5)),super(),this[_0x43bc60(0x183)]=_0x59bfe7,this[_0x43bc60(0x219)]=_0x12d137,this['_configService']['setConfig'](Be,_0x32b8ae);}['onStarting'](){const _0x23565d=_0x670fda;this[_0x23565d(0x19f)]();}[_0x670fda(0x19f)](){_0x47452c(this['_injector'],[[_0x5d85f3,{'useClass':Ne}]]);}};lr(Pe,_0x670fda(0x30b),_0x670fda(0x2e8)),Pe=ar([_0x5351ba(_0xc63141),ke(0x1,_0x466239),ke(0x2,_0x1d0f93),ke(0x3,_0x1122ad(_0x35c5a8))],Pe);var fr=Object[_0x670fda(0x18b)],cr=(_0x4cabf6,_0x75027,_0x251a19,_0x3de72d)=>{const _0x5a5d86=_0x670fda;for(var _0x5977f1=_0x3de72d>0x1?void 0x0:_0x3de72d?fr(_0x75027,_0x251a19):_0x75027,_0x278b89=_0x4cabf6[_0x5a5d86(0x30a)]-0x1,_0x31e008;_0x278b89>=0x0;_0x278b89--)(_0x31e008=_0x4cabf6[_0x278b89])&&(_0x5977f1=_0x31e008(_0x5977f1)||_0x5977f1);return _0x5977f1;},se=(_0x9c4ff6,_0x113c48)=>(_0x4a9f0,_0x18dc00)=>_0x113c48(_0x4a9f0,_0x18dc00,_0x9c4ff6);let at=class extends _0x5242f9{constructor(_0x4435e9,_0x47a8fe,_0x13b6c0,_0x2507d0,_0x589298){const _0x1eaa90=_0x670fda;super(_0x4435e9,_0x47a8fe,_0x13b6c0,_0x2507d0,_0x589298);const _0x22849d=this[_0x1eaa90(0x183)]['getConfig'](Be);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x565110,_0x1859cd)=>{const _0x553d7d=_0x1eaa90;var _0x5be7be;const _0x455961=_0x565110[_0x553d7d(0x2e7)];return(_0x5be7be=_0x22849d==null?void 0x0:_0x22849d[_0x553d7d(0x295)])!=null&&_0x5be7be['cookie']&&_0x455961[_0x553d7d(0x280)](_0x553d7d(0x247),_0x22849d[_0x553d7d(0x295)][_0x553d7d(0x1aa)]),_0x1859cd(_0x565110);}});}async[_0x670fda(0x233)](_0x593783){const _0x685b5a=_0x670fda;return this[_0x685b5a(0x315)](_0x593783);}};at=cr([se(0x0,_0x1122ad(_0x35c5a8)),se(0x1,_0x1122ad(_0x53d247)),se(0x2,_0x1d0f93),se(0x3,_0x466239),se(0x4,_0x268098)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x1657c7=_0x1e5a;(function(_0x11051c,_0x4c0232){const _0x59df07=_0x1e5a,_0x26b375=_0x11051c();while(!![]){try{const _0x33cec4=parseInt(_0x59df07(0xe8))/0x1*(parseInt(_0x59df07(0xea))/0x2)+-parseInt(_0x59df07(0x89))/0x3+-parseInt(_0x59df07(0x109))/0x4+-parseInt(_0x59df07(0x191))/0x5*(-parseInt(_0x59df07(0x1a7))/0x6)+-parseInt(_0x59df07(0x150))/0x7*(-parseInt(_0x59df07(0x189))/0x8)+parseInt(_0x59df07(0xb6))/0x9*(-parseInt(_0x59df07(0x91))/0xa)+parseInt(_0x59df07(0x124))/0xb*(parseInt(_0x59df07(0x20b))/0xc);if(_0x33cec4===_0x4c0232)break;else _0x26b375['push'](_0x26b375['shift']());}catch(_0xcde1a8){_0x26b375['push'](_0x26b375['shift']());}}}(_0x2214,0x2b8ba));import{UniverCollaborationClientPlugin as _0x47613f,CollaborationSocketService as _0x32276f}from'@univerjs-pro/collaboration-client';import{Disposable as _0x18ac6b,DisposableCollection as _0x5018b8,toDisposable as _0xcb19a1,IConfigService as _0x370dc8,DependentOn as _0x208c96,ILogService as _0x579498,Inject as _0x4d86be,Injector as _0x523429,Plugin as _0x3c0a9e,registerDependencies as _0x1c4bba}from'@univerjs/core';function _0x1e5a(_0x5e8468,_0xf6bdf1){const _0x2214c0=_0x2214();return _0x1e5a=function(_0x1e5a2a,_0x6eac6e){_0x1e5a2a=_0x1e5a2a-0x73;let _0x41da7f=_0x2214c0[_0x1e5a2a];return _0x41da7f;},_0x1e5a(_0x5e8468,_0xf6bdf1);}import{ISocketService as _0x65e5c7,HTTPService as _0x336767}from'@univerjs/network';import{Observable as _0x5f47f4,share as _0x1b8eb7}from'rxjs';import _0x2d07e8 from'events';import _0x17eba6 from'https';import _0x2a5600 from'http';import _0x3f95bd from'net';import _0x509915 from'tls';import _0x4d6c27 from'crypto';import _0xcbb80b from'stream';import _0x5b5883 from'url';import _0xbd24a9 from'zlib';import _0x203947 from'buffer';import{ISnapshotServerService as _0x3f8443}from'@univerjs-pro/collaboration';const Be=_0x1657c7(0x199),Ft={'customHeaders':{}};function _0x2214(){const _0x3df5d5=['startsWith','_closeMessage','dequeue','method','flush','open','stream','opcode','createError','_state','Invalid\x20Sec-WebSocket-Protocol\x20header','\x22\x20must\x20have\x20only\x20a\x20single\x20value','type','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_bufferedBytes','Invalid\x20value\x20for\x20parameter\x20\x22','sha1','_httpService','constructor','pending','writeUInt16BE','readable','_compress','_errored','get','kByteLength','finish','_protocol','_totalPayloadLength','getInfo','readUInt16BE','_originalHostOrSocketPath','length','allocUnsafe','STATUS_CODES','path','acceptAsClient','once','resume','ws:','finished','concat','7dGWval','onStarting','port','CLOSING','split','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_maxPayload','Max\x20payload\x20size\x20exceeded','WS_ERR_INVALID_UTF8','captureStackTrace','emit','_read','clientMaxWindowBits','add','_fragments','authorized','readOnly','listening','from','Sec-WebSocket-Protocol:\x20','_socket','client_max_window_bits','kAborted','HTTP/1.1\x20','params','kWasClean','byteOffset','invalid\x20opcode\x200','pong','reset','onerror','next','_fragmented','consume','total-length','concurrency','alloc','WS_ERR_INVALID_OPCODE','WebSocket','format','MASK\x20must\x20be\x20clear','_deflate','Z_SYNC_FLUSH','destroy','origin','Invalid\x20Sec-WebSocket-Extensions\x20header','_max_window_bits','_loop','_generateMask','listen','_server','_extensions','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Unexpected\x20character\x20at\x20index\x20','_threshold','WS_NO_UTF_8_VALIDATE','redirect','1621896KDVhzm','_writableState','maxPayload','includes','_configService','_buffers','error','serverNoContextTakeover','115bQnBcO','createServer','shift','Invalid\x20Upgrade\x20header','invalid\x20opcode\x20','jobs','handleEvent','invalid\x20UTF-8\x20sequence','collaboration-client-node.config','clients','call','isView','socketPath','pause','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_isServer','ws+unix:','zlibInflateOptions','_paused','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','servername','81114oPuRvv','\x20(supported\x20versions:\x20','search','construct','clientNoContextTakeover','entries','writeHead','sec-websocket-version','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','server_no_context_takeover','Maximum\x20redirects\x20exceeded','default','wss:','host','removeListener','statusCode','Server\x20sent\x20an\x20invalid\x20subprotocol','isServer','emitClose','getConfig','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','invalid\x20status\x20code\x20','freeze','createConnection','_mask','getOwnPropertyDescriptor','File','base64','pathname','object','abort','extensions','errorEmitted','push','_readableState','Z_DEFAULT_WINDOWBITS','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','https:','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Sec-WebSocket-Extensions','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','write','listeners','CLOSED','replace','_removeListeners','toLowerCase','Unexpected\x20end\x20of\x20input','url','delete','cookie','getPayloadLength64','WS_ERR_EXPECTED_FIN','_destroy','isIP','followRedirects','Cookie','socket','timeout','indexOf','_write','headers','compress','readUInt32BE','handleProtocols','WS_NO_BUFFER_UTIL','env','slice','writable','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','generateMask','create','shouldHandle','prototype','WS_ERR_UNEXPECTED_RSV_1','bufferedAmount','Sec-WebSocket-Protocol','_closeFrameSent','setTimeout','authorization','allowSynchronousEvents','WS_ERR_UNEXPECTED_MASK','FIN\x20must\x20be\x20set','keys','_closeCode','then','data','getBlobData','sec-websocket-extensions','listenerCount','binary','_allowSynchronousEvents','kRun','createSocket','mask','createDeflateRaw','__esModule','_binaryType','sec-websocket-accept','_opcode','396012jKRxIL','destroyed','password','Origin','decompress','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','join','fragments','dispatch','cleanup','endEmitted','unmask','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','end','_compressed','_fin','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_skipUTF8Validation','auth','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','buffer','has','noServer','client','server','perMessageDeflate','\x22\x20subprotocol\x20is\x20duplicated','wasClean','arraybuffer','exports','fin','_messageLength','binaryType','kIsForOnEventAttribute','_autoPong','haveLength','_queue','kDone','_shouldEmitClose','update','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Opening\x20handshake\x20has\x20timed\x20out','_no_context_takeover','response','enqueue','accept','957315YUSedG','target','_closeFrameReceived','setNoDelay','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','concurrencyLimit','find','4430GTJhTx','callback','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','toString','_decompress','getData','_injector','controlMessage','map','terminate','wsClientError','client_no_context_takeover','hash','_redirects','clientTracking','objectMode','GET','conclude','href','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','options','test','forEach','normalizeParams','_originalSecure','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Invalid\x20URL:\x20','extensionName','byteLength','defaultPort','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','handleUpgrade','charCodeAt','The\x20URL\x27s\x20pathname\x20is\x20empty','drain','_inflate','skipUTF8Validation','3429FwbhIx','_sender','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','isBuffer','apply','_req','setConfig','getMask','value','nextTick','_payloadLength','maxRedirects','MASK\x20must\x20be\x20set','Parameter\x20\x22','finishRequest','protocolVersion','server_max_window_bits','removeEventListener','size','arrayBuffer','_url','addEventListener','nodebuffer','pipe','startLoop','Unknown\x20parameter\x20\x22','threshold','send','close','function','request','Invalid\x20WebSocket\x20frame:\x20','frame','_readyState','toStringTag','readyState','protocol','isArray','address','isValidUTF8','parse','bind','autoPong','Server\x20sent\x20no\x20subprotocol','pow','kMessage','defineProperty','\x22:\x20','Sec-WebSocket-Extensions:\x20','Sec-WebSocket-Origin','53844ALfEZD','_maskBuffer','2iTpQEA','species','invalid\x20payload\x20length\x20','completeUpgrade','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','CONNECTING','number','verifyClient','Unexpected\x20server\x20response:\x20','_doCreateSocket','_bufferedAmount','hostname','_final','code','_receiver','isInteger','permessage-deflate','OPEN','cork','sec-websocket-protocol','onopen','RSV1\x20must\x20be\x20clear','Upgrade:\x20websocket','_masked','unexpected-response','dataMessage','_originalIpc','encrypted','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_ERR_INVALID_CLOSE_CODE','reason','1057116UQKiiD','customHeaders','_firstFragment','serverMaxWindowBits','kReason','upgrade','username','isPaused','message','setSocket','string','digest','Module','ping','_errorEmitted','connection','\x0d\x0a\x0d\x0a','maskBuffer','websocket','offer','set','kTarget','_closeTimer','_options','sendFrame','blob','getPayloadLength16','121WJngTc'];_0x2214=function(){return _0x3df5d5;};return _0x2214();}function jt(_0x280a2a){const _0x4857c0=_0x1657c7;return _0x280a2a&&_0x280a2a[_0x4857c0(0x207)]&&Object[_0x4857c0(0x1f0)]['hasOwnProperty']['call'](_0x280a2a,_0x4857c0(0x1b2))?_0x280a2a[_0x4857c0(0x1b2)]:_0x280a2a;}function ut(_0x42a6c8){const _0x53464a=_0x1657c7;if(Object[_0x53464a(0x1f0)]['hasOwnProperty'][_0x53464a(0x19b)](_0x42a6c8,'__esModule'))return _0x42a6c8;var _0xf99c3b=_0x42a6c8[_0x53464a(0x1b2)];if(typeof _0xf99c3b==_0x53464a(0xd3)){var _0x25eaaf=function _0x1c7a21(){const _0x29aab2=_0x53464a;return this instanceof _0x1c7a21?Reflect[_0x29aab2(0x1aa)](_0xf99c3b,arguments,this[_0x29aab2(0x138)]):_0xf99c3b[_0x29aab2(0xba)](this,arguments);};_0x25eaaf[_0x53464a(0x1f0)]=_0xf99c3b['prototype'];}else _0x25eaaf={};return Object[_0x53464a(0xe4)](_0x25eaaf,_0x53464a(0x207),{'value':!0x0}),Object[_0x53464a(0x1fa)](_0x42a6c8)[_0x53464a(0xa7)](function(_0x2bc32e){const _0x1c9e69=_0x53464a;var _0x1197a3=Object[_0x1c9e69(0x1c0)](_0x42a6c8,_0x2bc32e);Object[_0x1c9e69(0xe4)](_0x25eaaf,_0x2bc32e,_0x1197a3[_0x1c9e69(0x13e)]?_0x1197a3:{'enumerable':!0x0,'get':function(){return _0x42a6c8[_0x2bc32e];}});}),_0x25eaaf;}var te={'exports':{}},ge,Ye;function V(){const _0x26d212=_0x1657c7;if(Ye)return ge;Ye=0x1;const _0x52c2d2=[_0x26d212(0xcc),'arraybuffer',_0x26d212(0x212)],_0x59c32d=typeof Blob<'u';return _0x59c32d&&_0x52c2d2[_0x26d212(0x1c8)](_0x26d212(0x122)),ge={'BINARY_TYPES':_0x52c2d2,'EMPTY_BUFFER':Buffer[_0x26d212(0x174)](0x0),'GUID':_0x26d212(0x184),'hasBlob':_0x59c32d,'kForOnEventAttribute':Symbol(_0x26d212(0x7c)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x26d212(0x11b)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x1657c7(0xe4)]({'__proto__':null,'default':Wt},Symbol[_0x1657c7(0xd8)],{'value':_0x1657c7(0x115)})),Vt=ut(Gt);var Ke;function ce(){const _0x100d52=_0x1657c7;if(Ke)return te[_0x100d52(0x78)];Ke=0x1;const {EMPTY_BUFFER:_0x50fc1c}=V(),_0x228f61=Buffer[Symbol[_0x100d52(0xeb)]];function _0x38714d(_0x2e7152,_0xe03f0c){const _0xec6f1a=_0x100d52;if(_0x2e7152[_0xec6f1a(0x146)]===0x0)return _0x50fc1c;if(_0x2e7152[_0xec6f1a(0x146)]===0x1)return _0x2e7152[0x0];const _0x730bef=Buffer['allocUnsafe'](_0xe03f0c);let _0x2c8715=0x0;for(let _0x533313=0x0;_0x533313<_0x2e7152['length'];_0x533313++){const _0xfbdb79=_0x2e7152[_0x533313];_0x730bef[_0xec6f1a(0x11d)](_0xfbdb79,_0x2c8715),_0x2c8715+=_0xfbdb79[_0xec6f1a(0x146)];}return _0x2c8715<_0xe03f0c?new _0x228f61(_0x730bef[_0xec6f1a(0x21f)],_0x730bef[_0xec6f1a(0x16a)],_0x2c8715):_0x730bef;}function _0xce1428(_0x4ab998,_0x1d79a4,_0x4c9c81,_0x2ce33a,_0x5b76a8){for(let _0x1a305b=0x0;_0x1a305b<_0x5b76a8;_0x1a305b++)_0x4c9c81[_0x2ce33a+_0x1a305b]=_0x4ab998[_0x1a305b]^_0x1d79a4[_0x1a305b&0x3];}function _0x189a2d(_0x435635,_0x2c4805){for(let _0x3d8d02=0x0;_0x3d8d02<_0x435635['length'];_0x3d8d02++)_0x435635[_0x3d8d02]^=_0x2c4805[_0x3d8d02&0x3];}function _0x5aa465(_0x4c70ba){const _0x3041d5=_0x100d52;return _0x4c70ba[_0x3041d5(0x146)]===_0x4c70ba[_0x3041d5(0x21f)][_0x3041d5(0xad)]?_0x4c70ba[_0x3041d5(0x21f)]:_0x4c70ba[_0x3041d5(0x21f)][_0x3041d5(0x1ea)](_0x4c70ba[_0x3041d5(0x16a)],_0x4c70ba['byteOffset']+_0x4c70ba[_0x3041d5(0x146)]);}function _0x58de58(_0x263441){const _0x1584b4=_0x100d52;if(_0x58de58['readOnly']=!0x0,Buffer[_0x1584b4(0xb9)](_0x263441))return _0x263441;let _0x2d3053;return _0x263441 instanceof ArrayBuffer?_0x2d3053=new _0x228f61(_0x263441):ArrayBuffer[_0x1584b4(0x19c)](_0x263441)?_0x2d3053=new _0x228f61(_0x263441[_0x1584b4(0x21f)],_0x263441['byteOffset'],_0x263441[_0x1584b4(0xad)]):(_0x2d3053=Buffer[_0x1584b4(0x162)](_0x263441),_0x58de58[_0x1584b4(0x160)]=!0x1),_0x2d3053;}if(te[_0x100d52(0x78)]={'concat':_0x38714d,'mask':_0xce1428,'toArrayBuffer':_0x5aa465,'toBuffer':_0x58de58,'unmask':_0x189a2d},!process[_0x100d52(0x1e9)][_0x100d52(0x1e8)])try{const _0x4978ad=Vt;te['exports']['mask']=function(_0x2bb80f,_0x55dd75,_0x40e40c,_0x466dc5,_0x3b1833){const _0x1dad35=_0x100d52;_0x3b1833<0x30?_0xce1428(_0x2bb80f,_0x55dd75,_0x40e40c,_0x466dc5,_0x3b1833):_0x4978ad[_0x1dad35(0x205)](_0x2bb80f,_0x55dd75,_0x40e40c,_0x466dc5,_0x3b1833);},te[_0x100d52(0x78)]['unmask']=function(_0x353570,_0x4afe81){const _0x818640=_0x100d52;_0x353570[_0x818640(0x146)]<0x20?_0x189a2d(_0x353570,_0x4afe81):_0x4978ad[_0x818640(0x216)](_0x353570,_0x4afe81);};}catch{}return te[_0x100d52(0x78)];}var ye,Xe;function qt(){const _0x4d1eb2=_0x1657c7;if(Xe)return ye;Xe=0x1;const _0x1b6b76=Symbol(_0x4d1eb2(0x80)),_0x492969=Symbol(_0x4d1eb2(0x203));class _0x24fd21{constructor(_0x4a4e58){const _0x1a6092=_0x4d1eb2;this[_0x1b6b76]=()=>{const _0x19c465=_0x1e5a;this[_0x19c465(0x139)]--,this[_0x492969]();},this[_0x1a6092(0x173)]=_0x4a4e58||0x1/0x0,this[_0x1a6092(0x196)]=[],this[_0x1a6092(0x139)]=0x0;}[_0x4d1eb2(0x15d)](_0x35f191){const _0x54eff8=_0x4d1eb2;this[_0x54eff8(0x196)][_0x54eff8(0x1c8)](_0x35f191),this[_0x492969]();}[_0x492969](){const _0x50859d=_0x4d1eb2;if(this[_0x50859d(0x139)]!==this['concurrency']&&this['jobs'][_0x50859d(0x146)]){const _0x3d71c1=this['jobs']['shift']();this[_0x50859d(0x139)]++,_0x3d71c1(this[_0x1b6b76]);}}}return ye=_0x24fd21,ye;}var ve,Ze;function he(){const _0x40c05f=_0x1657c7;if(Ze)return ve;Ze=0x1;const _0x557873=_0xbd24a9,_0x4ed35a=ce(),_0x27e213=qt(),{kStatusCode:_0x29b61d}=V(),_0x6f22a=Buffer[Symbol[_0x40c05f(0xeb)]],_0x79a2e=Buffer[_0x40c05f(0x162)]([0x0,0x0,0xff,0xff]),_0x432f0e=Symbol(_0x40c05f(0xfa)),_0x253c37=Symbol(_0x40c05f(0x172)),_0x204db7=Symbol(_0x40c05f(0x92)),_0x5f0fb1=Symbol('buffers'),_0x212609=Symbol(_0x40c05f(0x18f));let _0x5498be;class _0x23707e{constructor(_0x3fb16f,_0x14f4f3,_0x74be7e){const _0xbce32c=_0x40c05f;if(this[_0xbce32c(0x156)]=_0x74be7e|0x0,this[_0xbce32c(0x120)]=_0x3fb16f||{},this['_threshold']=this['_options'][_0xbce32c(0xd0)]!==void 0x0?this[_0xbce32c(0x120)][_0xbce32c(0xd0)]:0x400,this[_0xbce32c(0x1a1)]=!!_0x14f4f3,this[_0xbce32c(0x179)]=null,this[_0xbce32c(0xb4)]=null,this[_0xbce32c(0x168)]=null,!_0x5498be){const _0x545cf1=this[_0xbce32c(0x120)][_0xbce32c(0x8f)]!==void 0x0?this[_0xbce32c(0x120)][_0xbce32c(0x8f)]:0xa;_0x5498be=new _0x27e213(_0x545cf1);}}static get[_0x40c05f(0xac)](){const _0x565ddd=_0x40c05f;return _0x565ddd(0xfa);}[_0x40c05f(0x11c)](){const _0x218620=_0x40c05f,_0x2b5017={};return this[_0x218620(0x120)][_0x218620(0x190)]&&(_0x2b5017[_0x218620(0x1b0)]=!0x0),this['_options'][_0x218620(0x1ab)]&&(_0x2b5017[_0x218620(0x9c)]=!0x0),this[_0x218620(0x120)]['serverMaxWindowBits']&&(_0x2b5017[_0x218620(0xc6)]=this[_0x218620(0x120)][_0x218620(0x10c)]),this[_0x218620(0x120)][_0x218620(0x15c)]?_0x2b5017[_0x218620(0x165)]=this['_options'][_0x218620(0x15c)]:this[_0x218620(0x120)][_0x218620(0x15c)]==null&&(_0x2b5017[_0x218620(0x165)]=!0x0),_0x2b5017;}[_0x40c05f(0x88)](_0x312e36){const _0x2a79fd=_0x40c05f;return _0x312e36=this['normalizeParams'](_0x312e36),this[_0x2a79fd(0x168)]=this[_0x2a79fd(0x1a1)]?this['acceptAsServer'](_0x312e36):this['acceptAsClient'](_0x312e36),this['params'];}[_0x40c05f(0x214)](){const _0x159d39=_0x40c05f;if(this[_0x159d39(0xb4)]&&(this[_0x159d39(0xb4)]['close'](),this[_0x159d39(0xb4)]=null),this['_deflate']){const _0x542195=this[_0x159d39(0x179)][_0x204db7];this[_0x159d39(0x179)][_0x159d39(0xd2)](),this['_deflate']=null,_0x542195&&_0x542195(new Error(_0x159d39(0xaf)));}}['acceptAsServer'](_0x5ac110){const _0x104b0e=_0x40c05f,_0x3e5b9d=this[_0x104b0e(0x120)],_0x189233=_0x5ac110[_0x104b0e(0x90)](_0x54a532=>!(_0x3e5b9d['serverNoContextTakeover']===!0x1&&_0x54a532[_0x104b0e(0x1b0)]||_0x54a532[_0x104b0e(0xc6)]&&(_0x3e5b9d[_0x104b0e(0x10c)]===!0x1||typeof _0x3e5b9d[_0x104b0e(0x10c)]==_0x104b0e(0xf0)&&_0x3e5b9d[_0x104b0e(0x10c)]>_0x54a532[_0x104b0e(0xc6)])||typeof _0x3e5b9d[_0x104b0e(0x15c)]==_0x104b0e(0xf0)&&!_0x54a532[_0x104b0e(0x165)]));if(!_0x189233)throw new Error(_0x104b0e(0x1cb));return _0x3e5b9d['serverNoContextTakeover']&&(_0x189233[_0x104b0e(0x1b0)]=!0x0),_0x3e5b9d['clientNoContextTakeover']&&(_0x189233[_0x104b0e(0x9c)]=!0x0),typeof _0x3e5b9d[_0x104b0e(0x10c)]=='number'&&(_0x189233[_0x104b0e(0xc6)]=_0x3e5b9d['serverMaxWindowBits']),typeof _0x3e5b9d['clientMaxWindowBits']==_0x104b0e(0xf0)?_0x189233['client_max_window_bits']=_0x3e5b9d[_0x104b0e(0x15c)]:(_0x189233[_0x104b0e(0x165)]===!0x0||_0x3e5b9d[_0x104b0e(0x15c)]===!0x1)&&delete _0x189233['client_max_window_bits'],_0x189233;}[_0x40c05f(0x14a)](_0x595dd1){const _0x94093e=_0x40c05f,_0x21ffd4=_0x595dd1[0x0];if(this['_options'][_0x94093e(0x1ab)]===!0x1&&_0x21ffd4[_0x94093e(0x9c)])throw new Error(_0x94093e(0x83));if(!_0x21ffd4[_0x94093e(0x165)])typeof this[_0x94093e(0x120)]['clientMaxWindowBits']==_0x94093e(0xf0)&&(_0x21ffd4[_0x94093e(0x165)]=this[_0x94093e(0x120)][_0x94093e(0x15c)]);else{if(this['_options'][_0x94093e(0x15c)]===!0x1||typeof this[_0x94093e(0x120)]['clientMaxWindowBits']==_0x94093e(0xf0)&&_0x21ffd4[_0x94093e(0x165)]>this[_0x94093e(0x120)]['clientMaxWindowBits'])throw new Error(_0x94093e(0x21b));}return _0x21ffd4;}[_0x40c05f(0xa8)](_0x3fc885){return _0x3fc885['forEach'](_0xcc7900=>{Object['keys'](_0xcc7900)['forEach'](_0x397b7a=>{const _0x1f1426=_0x1e5a;let _0x5b0355=_0xcc7900[_0x397b7a];if(_0x5b0355['length']>0x1)throw new Error(_0x1f1426(0xc3)+_0x397b7a+_0x1f1426(0x130));if(_0x5b0355=_0x5b0355[0x0],_0x397b7a===_0x1f1426(0x165)){if(_0x5b0355!==!0x0){const _0x3b1ad1=+_0x5b0355;if(!Number[_0x1f1426(0xf9)](_0x3b1ad1)||_0x3b1ad1<0x8||_0x3b1ad1>0xf)throw new TypeError(_0x1f1426(0x135)+_0x397b7a+'\x22:\x20'+_0x5b0355);_0x5b0355=_0x3b1ad1;}else{if(!this[_0x1f1426(0x1a1)])throw new TypeError(_0x1f1426(0x135)+_0x397b7a+_0x1f1426(0xe5)+_0x5b0355);}}else{if(_0x397b7a==='server_max_window_bits'){const _0x43cc0b=+_0x5b0355;if(!Number[_0x1f1426(0xf9)](_0x43cc0b)||_0x43cc0b<0x8||_0x43cc0b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x397b7a+'\x22:\x20'+_0x5b0355);_0x5b0355=_0x43cc0b;}else{if(_0x397b7a===_0x1f1426(0x9c)||_0x397b7a==='server_no_context_takeover'){if(_0x5b0355!==!0x0)throw new TypeError(_0x1f1426(0x135)+_0x397b7a+_0x1f1426(0xe5)+_0x5b0355);}else throw new Error(_0x1f1426(0xcf)+_0x397b7a+'\x22');}}_0xcc7900[_0x397b7a]=_0x5b0355;});}),_0x3fc885;}[_0x40c05f(0x20f)](_0x2cdadb,_0x595b95,_0x241871){const _0x3f2178=_0x40c05f;_0x5498be[_0x3f2178(0x15d)](_0x3d2907=>{this['_decompress'](_0x2cdadb,_0x595b95,(_0x4879a6,_0x5c64e9)=>{_0x3d2907(),_0x241871(_0x4879a6,_0x5c64e9);});});}[_0x40c05f(0x1e5)](_0x15949a,_0xa6e5cc,_0x27c779){_0x5498be['add'](_0x56dad9=>{const _0x57b150=_0x1e5a;this[_0x57b150(0x13c)](_0x15949a,_0xa6e5cc,(_0x1f9282,_0x5d7b90)=>{_0x56dad9(),_0x27c779(_0x1f9282,_0x5d7b90);});});}[_0x40c05f(0x95)](_0x3092cb,_0x46a04c,_0x2ad540){const _0x3e1439=_0x40c05f,_0x355d1b=this[_0x3e1439(0x1a1)]?_0x3e1439(0x222):_0x3e1439(0x73);if(!this['_inflate']){const _0x488b43=_0x355d1b+_0x3e1439(0x17e),_0x6f8d37=typeof this['params'][_0x488b43]!='number'?_0x557873[_0x3e1439(0x1ca)]:this[_0x3e1439(0x168)][_0x488b43];this[_0x3e1439(0xb4)]=_0x557873['createInflateRaw']({...this[_0x3e1439(0x120)][_0x3e1439(0x1a3)],'windowBits':_0x6f8d37}),this['_inflate'][_0x432f0e]=this,this['_inflate'][_0x253c37]=0x0,this[_0x3e1439(0xb4)][_0x5f0fb1]=[],this[_0x3e1439(0xb4)]['on'](_0x3e1439(0x18f),_0x2aff94),this[_0x3e1439(0xb4)]['on'](_0x3e1439(0x1fd),_0x230206);}this[_0x3e1439(0xb4)][_0x204db7]=_0x2ad540,this[_0x3e1439(0xb4)][_0x3e1439(0x1d0)](_0x3092cb),_0x46a04c&&this['_inflate'][_0x3e1439(0x1d0)](_0x79a2e),this[_0x3e1439(0xb4)][_0x3e1439(0x129)](()=>{const _0x5b71e5=_0x3e1439,_0x436cda=this[_0x5b71e5(0xb4)][_0x212609];if(_0x436cda){this['_inflate'][_0x5b71e5(0xd2)](),this[_0x5b71e5(0xb4)]=null,_0x2ad540(_0x436cda);return;}const _0x3005d3=_0x4ed35a[_0x5b71e5(0x14f)](this['_inflate'][_0x5f0fb1],this['_inflate'][_0x253c37]);this['_inflate'][_0x5b71e5(0x1c9)][_0x5b71e5(0x215)]?(this[_0x5b71e5(0xb4)][_0x5b71e5(0xd2)](),this[_0x5b71e5(0xb4)]=null):(this[_0x5b71e5(0xb4)][_0x253c37]=0x0,this[_0x5b71e5(0xb4)][_0x5f0fb1]=[],_0x46a04c&&this[_0x5b71e5(0x168)][_0x355d1b+_0x5b71e5(0x85)]&&this['_inflate']['reset']()),_0x2ad540(null,_0x3005d3);});}[_0x40c05f(0x13c)](_0x5e8d1b,_0x3a4bf6,_0x309105){const _0x425269=_0x40c05f,_0x6e59b2=this[_0x425269(0x1a1)]?_0x425269(0x73):_0x425269(0x222);if(!this['_deflate']){const _0x1f3f89=_0x6e59b2+_0x425269(0x17e),_0x53f584=typeof this['params'][_0x1f3f89]!='number'?_0x557873['Z_DEFAULT_WINDOWBITS']:this[_0x425269(0x168)][_0x1f3f89];this[_0x425269(0x179)]=_0x557873[_0x425269(0x206)]({...this[_0x425269(0x120)]['zlibDeflateOptions'],'windowBits':_0x53f584}),this['_deflate'][_0x253c37]=0x0,this[_0x425269(0x179)][_0x5f0fb1]=[],this[_0x425269(0x179)]['on'](_0x425269(0x1fd),_0x51ee3a);}this[_0x425269(0x179)][_0x204db7]=_0x309105,this['_deflate'][_0x425269(0x1d0)](_0x5e8d1b),this[_0x425269(0x179)]['flush'](_0x557873[_0x425269(0x17a)],()=>{const _0x2ca55b=_0x425269;if(!this[_0x2ca55b(0x179)])return;let _0x2efc74=_0x4ed35a['concat'](this[_0x2ca55b(0x179)][_0x5f0fb1],this[_0x2ca55b(0x179)][_0x253c37]);_0x3a4bf6&&(_0x2efc74=new _0x6f22a(_0x2efc74['buffer'],_0x2efc74['byteOffset'],_0x2efc74[_0x2ca55b(0x146)]-0x4)),this[_0x2ca55b(0x179)][_0x204db7]=null,this[_0x2ca55b(0x179)][_0x253c37]=0x0,this[_0x2ca55b(0x179)][_0x5f0fb1]=[],_0x3a4bf6&&this[_0x2ca55b(0x168)][_0x6e59b2+_0x2ca55b(0x85)]&&this[_0x2ca55b(0x179)][_0x2ca55b(0x16d)](),_0x309105(null,_0x2efc74);});}}ve=_0x23707e;function _0x51ee3a(_0x49a935){const _0x415d98=_0x40c05f;this[_0x5f0fb1][_0x415d98(0x1c8)](_0x49a935),this[_0x253c37]+=_0x49a935['length'];}function _0x230206(_0x48e47a){const _0x870a5c=_0x40c05f;if(this[_0x253c37]+=_0x48e47a[_0x870a5c(0x146)],this[_0x432f0e][_0x870a5c(0x156)]<0x1||this[_0x253c37]<=this[_0x432f0e][_0x870a5c(0x156)]){this[_0x5f0fb1]['push'](_0x48e47a);return;}this[_0x212609]=new RangeError(_0x870a5c(0x157)),this[_0x212609]['code']=_0x870a5c(0x93),this[_0x212609][_0x29b61d]=0x3f1,this[_0x870a5c(0x1b5)](_0x870a5c(0x1fd),_0x230206),this['reset']();}function _0x2aff94(_0x5ba28f){const _0x464e2b=_0x40c05f;if(this[_0x432f0e][_0x464e2b(0xb4)]=null,this[_0x212609]){this[_0x204db7](this[_0x212609]);return;}_0x5ba28f[_0x29b61d]=0x3ef,this[_0x204db7](_0x5ba28f);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1657c7(0x1bd)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x331768=_0x1657c7;if(Qe)return re[_0x331768(0x78)];Qe=0x1;const {isUtf8:_0x4978b4}=_0x203947,{hasBlob:_0x3897f4}=V(),_0x5d9bd1=[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 _0x590139(_0x8c0f22){return _0x8c0f22>=0x3e8&&_0x8c0f22<=0x3f6&&_0x8c0f22!==0x3ec&&_0x8c0f22!==0x3ed&&_0x8c0f22!==0x3ee||_0x8c0f22>=0xbb8&&_0x8c0f22<=0x1387;}function _0x25ea2e(_0x448902){const _0x88bd8b=_0x331768,_0x303dce=_0x448902[_0x88bd8b(0x146)];let _0x437a1c=0x0;for(;_0x437a1c<_0x303dce;)if((_0x448902[_0x437a1c]&0x80)===0x0)_0x437a1c++;else{if((_0x448902[_0x437a1c]&0xe0)===0xc0){if(_0x437a1c+0x1===_0x303dce||(_0x448902[_0x437a1c+0x1]&0xc0)!==0x80||(_0x448902[_0x437a1c]&0xfe)===0xc0)return!0x1;_0x437a1c+=0x2;}else{if((_0x448902[_0x437a1c]&0xf0)===0xe0){if(_0x437a1c+0x2>=_0x303dce||(_0x448902[_0x437a1c+0x1]&0xc0)!==0x80||(_0x448902[_0x437a1c+0x2]&0xc0)!==0x80||_0x448902[_0x437a1c]===0xe0&&(_0x448902[_0x437a1c+0x1]&0xe0)===0x80||_0x448902[_0x437a1c]===0xed&&(_0x448902[_0x437a1c+0x1]&0xe0)===0xa0)return!0x1;_0x437a1c+=0x3;}else{if((_0x448902[_0x437a1c]&0xf8)===0xf0){if(_0x437a1c+0x3>=_0x303dce||(_0x448902[_0x437a1c+0x1]&0xc0)!==0x80||(_0x448902[_0x437a1c+0x2]&0xc0)!==0x80||(_0x448902[_0x437a1c+0x3]&0xc0)!==0x80||_0x448902[_0x437a1c]===0xf0&&(_0x448902[_0x437a1c+0x1]&0xf0)===0x80||_0x448902[_0x437a1c]===0xf4&&_0x448902[_0x437a1c+0x1]>0x8f||_0x448902[_0x437a1c]>0xf4)return!0x1;_0x437a1c+=0x4;}else return!0x1;}}}return!0x0;}function _0x3ee481(_0x4368f7){const _0x1f19af=_0x331768;return _0x3897f4&&typeof _0x4368f7==_0x1f19af(0x1c4)&&typeof _0x4368f7[_0x1f19af(0xc9)]=='function'&&typeof _0x4368f7[_0x1f19af(0x131)]==_0x1f19af(0x113)&&typeof _0x4368f7[_0x1f19af(0x12b)]==_0x1f19af(0xd3)&&(_0x4368f7[Symbol['toStringTag']]==='Blob'||_0x4368f7[Symbol[_0x1f19af(0xd8)]]===_0x1f19af(0x1c1));}if(re[_0x331768(0x78)]={'isBlob':_0x3ee481,'isValidStatusCode':_0x590139,'isValidUTF8':_0x25ea2e,'tokenChars':_0x5d9bd1},_0x4978b4)re[_0x331768(0x78)][_0x331768(0xdd)]=function(_0x3bd4a6){const _0x480620=_0x331768;return _0x3bd4a6[_0x480620(0x146)]<0x18?_0x25ea2e(_0x3bd4a6):_0x4978b4(_0x3bd4a6);};else{if(!process['env'][_0x331768(0x187)])try{const _0x529aa5=Yt;re['exports'][_0x331768(0xdd)]=function(_0x374ee2){const _0xa6332b=_0x331768;return _0x374ee2[_0xa6332b(0x146)]<0x20?_0x25ea2e(_0x374ee2):_0x529aa5(_0x374ee2);};}catch{}}return re[_0x331768(0x78)];}var Se,Je;function dt(){const _0x5c02bb=_0x1657c7;if(Je)return Se;Je=0x1;const {Writable:_0x2a3e05}=_0xcbb80b,_0x2ad048=he(),{BINARY_TYPES:_0x2f261d,EMPTY_BUFFER:_0x3b2113,kStatusCode:_0x3f706b,kWebSocket:_0x27ece9}=V(),{concat:_0x3e7ed1,toArrayBuffer:_0x21e5fc,unmask:_0x3538eb}=ce(),{isValidStatusCode:_0x4c38af,isValidUTF8:_0x135cc0}=ne(),_0x3f27b=Buffer[Symbol['species']],_0x44e2f3=0x0,_0x28548b=0x1,_0x260cfe=0x2,_0x22dd02=0x3,_0x3ec3d4=0x4,_0x227e9d=0x5,_0x4270cc=0x6;class _0x924c1a extends _0x2a3e05{constructor(_0x3f4287={}){const _0x29d22e=_0x1e5a;super(),this[_0x29d22e(0x202)]=_0x3f4287[_0x29d22e(0x1f7)]!==void 0x0?_0x3f4287['allowSynchronousEvents']:!0x0,this[_0x29d22e(0x208)]=_0x3f4287[_0x29d22e(0x7b)]||_0x2f261d[0x0],this[_0x29d22e(0x183)]=_0x3f4287['extensions']||{},this[_0x29d22e(0x1a1)]=!!_0x3f4287[_0x29d22e(0x1b8)],this[_0x29d22e(0x156)]=_0x3f4287['maxPayload']|0x0,this[_0x29d22e(0x21c)]=!!_0x3f4287['skipUTF8Validation'],this[_0x27ece9]=void 0x0,this['_bufferedBytes']=0x0,this[_0x29d22e(0x18e)]=[],this[_0x29d22e(0x219)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x29d22e(0x170)]=0x0,this[_0x29d22e(0x101)]=!0x1,this[_0x29d22e(0x21a)]=!0x1,this[_0x29d22e(0x20a)]=0x0,this[_0x29d22e(0x142)]=0x0,this[_0x29d22e(0x7a)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x29d22e(0x17f)]=!0x1,this[_0x29d22e(0x12e)]=_0x44e2f3;}['_write'](_0x4ff1ab,_0x1e6009,_0x59781c){const _0x8e52b6=_0x1e5a;if(this[_0x8e52b6(0x20a)]===0x8&&this[_0x8e52b6(0x12e)]==_0x44e2f3)return _0x59781c();this['_bufferedBytes']+=_0x4ff1ab[_0x8e52b6(0x146)],this[_0x8e52b6(0x18e)][_0x8e52b6(0x1c8)](_0x4ff1ab),this[_0x8e52b6(0xce)](_0x59781c);}[_0x5c02bb(0x171)](_0x57122d){const _0xc4fcb7=_0x5c02bb;if(this[_0xc4fcb7(0x134)]-=_0x57122d,_0x57122d===this[_0xc4fcb7(0x18e)][0x0][_0xc4fcb7(0x146)])return this['_buffers']['shift']();if(_0x57122d<this[_0xc4fcb7(0x18e)][0x0][_0xc4fcb7(0x146)]){const _0x51e35a=this[_0xc4fcb7(0x18e)][0x0];return this[_0xc4fcb7(0x18e)][0x0]=new _0x3f27b(_0x51e35a[_0xc4fcb7(0x21f)],_0x51e35a[_0xc4fcb7(0x16a)]+_0x57122d,_0x51e35a[_0xc4fcb7(0x146)]-_0x57122d),new _0x3f27b(_0x51e35a[_0xc4fcb7(0x21f)],_0x51e35a['byteOffset'],_0x57122d);}const _0x1055dc=Buffer['allocUnsafe'](_0x57122d);do{const _0x208c42=this['_buffers'][0x0],_0x5ba569=_0x1055dc[_0xc4fcb7(0x146)]-_0x57122d;_0x57122d>=_0x208c42[_0xc4fcb7(0x146)]?_0x1055dc[_0xc4fcb7(0x11d)](this[_0xc4fcb7(0x18e)]['shift'](),_0x5ba569):(_0x1055dc[_0xc4fcb7(0x11d)](new Uint8Array(_0x208c42[_0xc4fcb7(0x21f)],_0x208c42[_0xc4fcb7(0x16a)],_0x57122d),_0x5ba569),this[_0xc4fcb7(0x18e)][0x0]=new _0x3f27b(_0x208c42[_0xc4fcb7(0x21f)],_0x208c42[_0xc4fcb7(0x16a)]+_0x57122d,_0x208c42[_0xc4fcb7(0x146)]-_0x57122d)),_0x57122d-=_0x208c42[_0xc4fcb7(0x146)];}while(_0x57122d>0x0);return _0x1055dc;}['startLoop'](_0x5d6a32){const _0x113cde=_0x5c02bb;this['_loop']=!0x0;do switch(this['_state']){case _0x44e2f3:this['getInfo'](_0x5d6a32);break;case _0x28548b:this['getPayloadLength16'](_0x5d6a32);break;case _0x260cfe:this[_0x113cde(0x1da)](_0x5d6a32);break;case _0x22dd02:this[_0x113cde(0xbd)]();break;case _0x3ec3d4:this[_0x113cde(0x96)](_0x5d6a32);break;case _0x227e9d:case _0x4270cc:this[_0x113cde(0x17f)]=!0x1;return;}while(this[_0x113cde(0x17f)]);this[_0x113cde(0x13d)]||_0x5d6a32();}[_0x5c02bb(0x143)](_0x578f47){const _0x33873e=_0x5c02bb;if(this['_bufferedBytes']<0x2){this[_0x33873e(0x17f)]=!0x1;return;}const _0x3ccf40=this['consume'](0x2);if((_0x3ccf40[0x0]&0x30)!==0x0){const _0x1d90ec=this[_0x33873e(0x12d)](RangeError,_0x33873e(0x210),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x578f47(_0x1d90ec);return;}const _0x1a4198=(_0x3ccf40[0x0]&0x40)===0x40;if(_0x1a4198&&!this['_extensions'][_0x2ad048[_0x33873e(0xac)]]){const _0x5b95d0=this[_0x33873e(0x12d)](RangeError,_0x33873e(0xff),!0x0,0x3ea,_0x33873e(0x1f1));_0x578f47(_0x5b95d0);return;}if(this[_0x33873e(0x21a)]=(_0x3ccf40[0x0]&0x80)===0x80,this[_0x33873e(0x20a)]=_0x3ccf40[0x0]&0xf,this[_0x33873e(0xc0)]=_0x3ccf40[0x1]&0x7f,this['_opcode']===0x0){if(_0x1a4198){const _0x5f30c0=this[_0x33873e(0x12d)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x33873e(0x1f1));_0x578f47(_0x5f30c0);return;}if(!this[_0x33873e(0x170)]){const _0x58fd89=this['createError'](RangeError,_0x33873e(0x16b),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x578f47(_0x58fd89);return;}this['_opcode']=this[_0x33873e(0x170)];}else{if(this[_0x33873e(0x20a)]===0x1||this['_opcode']===0x2){if(this[_0x33873e(0x170)]){const _0x892f48=this[_0x33873e(0x12d)](RangeError,_0x33873e(0x195)+this[_0x33873e(0x20a)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x578f47(_0x892f48);return;}this[_0x33873e(0x219)]=_0x1a4198;}else{if(this['_opcode']>0x7&&this[_0x33873e(0x20a)]<0xb){if(!this[_0x33873e(0x21a)]){const _0x3453c9=this[_0x33873e(0x12d)](RangeError,_0x33873e(0x1f9),!0x0,0x3ea,_0x33873e(0x1db));_0x578f47(_0x3453c9);return;}if(_0x1a4198){const _0x138b62=this[_0x33873e(0x12d)](RangeError,_0x33873e(0xff),!0x0,0x3ea,_0x33873e(0x1f1));_0x578f47(_0x138b62);return;}if(this['_payloadLength']>0x7d||this[_0x33873e(0x20a)]===0x8&&this[_0x33873e(0xc0)]===0x1){const _0x312400=this[_0x33873e(0x12d)](RangeError,_0x33873e(0xec)+this[_0x33873e(0xc0)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x578f47(_0x312400);return;}}else{const _0x10137c=this[_0x33873e(0x12d)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x33873e(0x175));_0x578f47(_0x10137c);return;}}}if(!this[_0x33873e(0x21a)]&&!this['_fragmented']&&(this[_0x33873e(0x170)]=this[_0x33873e(0x20a)]),this[_0x33873e(0x101)]=(_0x3ccf40[0x1]&0x80)===0x80,this[_0x33873e(0x1a1)]){if(!this[_0x33873e(0x101)]){const _0x54f603=this['createError'](RangeError,_0x33873e(0xc2),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x578f47(_0x54f603);return;}}else{if(this[_0x33873e(0x101)]){const _0xd4510e=this[_0x33873e(0x12d)](RangeError,_0x33873e(0x178),!0x0,0x3ea,_0x33873e(0x1f8));_0x578f47(_0xd4510e);return;}}this[_0x33873e(0xc0)]===0x7e?this['_state']=_0x28548b:this[_0x33873e(0xc0)]===0x7f?this[_0x33873e(0x12e)]=_0x260cfe:this[_0x33873e(0x7e)](_0x578f47);}[_0x5c02bb(0x123)](_0x33106e){const _0x4de647=_0x5c02bb;if(this[_0x4de647(0x134)]<0x2){this[_0x4de647(0x17f)]=!0x1;return;}this[_0x4de647(0xc0)]=this['consume'](0x2)[_0x4de647(0x144)](0x0),this[_0x4de647(0x7e)](_0x33106e);}[_0x5c02bb(0x1da)](_0x32c240){const _0x287e61=_0x5c02bb;if(this['_bufferedBytes']<0x8){this[_0x287e61(0x17f)]=!0x1;return;}const _0x807a2=this['consume'](0x8),_0x47f11a=_0x807a2[_0x287e61(0x1e6)](0x0);if(_0x47f11a>Math[_0x287e61(0xe2)](0x2,0x15)-0x1){const _0x234d2a=this['createError'](RangeError,_0x287e61(0xb8),!0x1,0x3f1,_0x287e61(0xa4));_0x32c240(_0x234d2a);return;}this[_0x287e61(0xc0)]=_0x47f11a*Math['pow'](0x2,0x20)+_0x807a2[_0x287e61(0x1e6)](0x4),this[_0x287e61(0x7e)](_0x32c240);}[_0x5c02bb(0x7e)](_0x55de65){const _0x567dbb=_0x5c02bb;if(this[_0x567dbb(0xc0)]&&this[_0x567dbb(0x20a)]<0x8&&(this[_0x567dbb(0x142)]+=this['_payloadLength'],this[_0x567dbb(0x142)]>this[_0x567dbb(0x156)]&&this['_maxPayload']>0x0)){const _0x2300b8=this[_0x567dbb(0x12d)](RangeError,_0x567dbb(0x157),!0x1,0x3f1,_0x567dbb(0x93));_0x55de65(_0x2300b8);return;}this[_0x567dbb(0x101)]?this[_0x567dbb(0x12e)]=_0x22dd02:this[_0x567dbb(0x12e)]=_0x3ec3d4;}['getMask'](){const _0x1fefcd=_0x5c02bb;if(this[_0x1fefcd(0x134)]<0x4){this[_0x1fefcd(0x17f)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x1fefcd(0x12e)]=_0x3ec3d4;}[_0x5c02bb(0x96)](_0x41aee8){const _0x1ff434=_0x5c02bb;let _0xb1d1aa=_0x3b2113;if(this[_0x1ff434(0xc0)]){if(this['_bufferedBytes']<this[_0x1ff434(0xc0)]){this[_0x1ff434(0x17f)]=!0x1;return;}_0xb1d1aa=this['consume'](this[_0x1ff434(0xc0)]),this['_masked']&&(this[_0x1ff434(0x1bf)][0x0]|this['_mask'][0x1]|this[_0x1ff434(0x1bf)][0x2]|this['_mask'][0x3])!==0x0&&_0x3538eb(_0xb1d1aa,this['_mask']);}if(this[_0x1ff434(0x20a)]>0x7){this[_0x1ff434(0x98)](_0xb1d1aa,_0x41aee8);return;}if(this[_0x1ff434(0x219)]){this[_0x1ff434(0x12e)]=_0x227e9d,this[_0x1ff434(0x20f)](_0xb1d1aa,_0x41aee8);return;}_0xb1d1aa['length']&&(this[_0x1ff434(0x7a)]=this[_0x1ff434(0x142)],this[_0x1ff434(0x15e)][_0x1ff434(0x1c8)](_0xb1d1aa)),this['dataMessage'](_0x41aee8);}[_0x5c02bb(0x20f)](_0x5e9659,_0x409596){const _0x1b6501=_0x5c02bb;this['_extensions'][_0x2ad048[_0x1b6501(0xac)]][_0x1b6501(0x20f)](_0x5e9659,this[_0x1b6501(0x21a)],(_0x2624f6,_0x16faed)=>{const _0x5a8e1f=_0x1b6501;if(_0x2624f6)return _0x409596(_0x2624f6);if(_0x16faed[_0x5a8e1f(0x146)]){if(this[_0x5a8e1f(0x7a)]+=_0x16faed[_0x5a8e1f(0x146)],this['_messageLength']>this['_maxPayload']&&this[_0x5a8e1f(0x156)]>0x0){const _0xe0ae=this['createError'](RangeError,_0x5a8e1f(0x157),!0x1,0x3f1,_0x5a8e1f(0x93));_0x409596(_0xe0ae);return;}this[_0x5a8e1f(0x15e)][_0x5a8e1f(0x1c8)](_0x16faed);}this[_0x5a8e1f(0x103)](_0x409596),this[_0x5a8e1f(0x12e)]===_0x44e2f3&&this[_0x5a8e1f(0xce)](_0x409596);});}[_0x5c02bb(0x103)](_0x371899){const _0x5dbc48=_0x5c02bb;if(!this[_0x5dbc48(0x21a)]){this[_0x5dbc48(0x12e)]=_0x44e2f3;return;}const _0x5d282d=this[_0x5dbc48(0x7a)],_0x203d09=this[_0x5dbc48(0x15e)];if(this[_0x5dbc48(0x142)]=0x0,this[_0x5dbc48(0x7a)]=0x0,this['_fragmented']=0x0,this[_0x5dbc48(0x15e)]=[],this[_0x5dbc48(0x20a)]===0x2){let _0x41d5a3;this[_0x5dbc48(0x208)]===_0x5dbc48(0xcc)?_0x41d5a3=_0x3e7ed1(_0x203d09,_0x5d282d):this[_0x5dbc48(0x208)]===_0x5dbc48(0x77)?_0x41d5a3=_0x21e5fc(_0x3e7ed1(_0x203d09,_0x5d282d)):this[_0x5dbc48(0x208)]===_0x5dbc48(0x122)?_0x41d5a3=new Blob(_0x203d09):_0x41d5a3=_0x203d09,this[_0x5dbc48(0x202)]?(this[_0x5dbc48(0x15a)]('message',_0x41d5a3,!0x0),this[_0x5dbc48(0x12e)]=_0x44e2f3):(this[_0x5dbc48(0x12e)]=_0x4270cc,setImmediate(()=>{const _0x3d4717=_0x5dbc48;this[_0x3d4717(0x15a)](_0x3d4717(0x111),_0x41d5a3,!0x0),this[_0x3d4717(0x12e)]=_0x44e2f3,this['startLoop'](_0x371899);}));}else{const _0x4cee38=_0x3e7ed1(_0x203d09,_0x5d282d);if(!this[_0x5dbc48(0x21c)]&&!_0x135cc0(_0x4cee38)){const _0xd5b077=this['createError'](Error,_0x5dbc48(0x198),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x371899(_0xd5b077);return;}this[_0x5dbc48(0x12e)]===_0x227e9d||this[_0x5dbc48(0x202)]?(this[_0x5dbc48(0x15a)](_0x5dbc48(0x111),_0x4cee38,!0x1),this[_0x5dbc48(0x12e)]=_0x44e2f3):(this['_state']=_0x4270cc,setImmediate(()=>{const _0x2853f6=_0x5dbc48;this[_0x2853f6(0x15a)](_0x2853f6(0x111),_0x4cee38,!0x1),this[_0x2853f6(0x12e)]=_0x44e2f3,this[_0x2853f6(0xce)](_0x371899);}));}}[_0x5c02bb(0x98)](_0x3a3b08,_0x2e0757){const _0xdaeadc=_0x5c02bb;if(this[_0xdaeadc(0x20a)]===0x8){if(_0x3a3b08[_0xdaeadc(0x146)]===0x0)this[_0xdaeadc(0x17f)]=!0x1,this[_0xdaeadc(0x15a)]('conclude',0x3ed,_0x3b2113),this[_0xdaeadc(0x218)]();else{const _0x4fb182=_0x3a3b08[_0xdaeadc(0x144)](0x0);if(!_0x4c38af(_0x4fb182)){const _0x314694=this['createError'](RangeError,_0xdaeadc(0x1bc)+_0x4fb182,!0x0,0x3ea,_0xdaeadc(0x107));_0x2e0757(_0x314694);return;}const _0x2478a3=new _0x3f27b(_0x3a3b08['buffer'],_0x3a3b08[_0xdaeadc(0x16a)]+0x2,_0x3a3b08['length']-0x2);if(!this[_0xdaeadc(0x21c)]&&!_0x135cc0(_0x2478a3)){const _0x20e655=this[_0xdaeadc(0x12d)](Error,_0xdaeadc(0x198),!0x0,0x3ef,_0xdaeadc(0x158));_0x2e0757(_0x20e655);return;}this['_loop']=!0x1,this['emit'](_0xdaeadc(0xa2),_0x4fb182,_0x2478a3),this[_0xdaeadc(0x218)]();}this[_0xdaeadc(0x12e)]=_0x44e2f3;return;}this['_allowSynchronousEvents']?(this[_0xdaeadc(0x15a)](this[_0xdaeadc(0x20a)]===0x9?_0xdaeadc(0x116):_0xdaeadc(0x16c),_0x3a3b08),this[_0xdaeadc(0x12e)]=_0x44e2f3):(this['_state']=_0x4270cc,setImmediate(()=>{const _0x3f5368=_0xdaeadc;this[_0x3f5368(0x15a)](this['_opcode']===0x9?_0x3f5368(0x116):'pong',_0x3a3b08),this[_0x3f5368(0x12e)]=_0x44e2f3,this[_0x3f5368(0xce)](_0x2e0757);}));}['createError'](_0x43aeb4,_0x2568d6,_0xd832a0,_0x221c59,_0x1ba96c){const _0x96d8b4=_0x5c02bb;this[_0x96d8b4(0x17f)]=!0x1,this[_0x96d8b4(0x13d)]=!0x0;const _0x5922f7=new _0x43aeb4(_0xd832a0?_0x96d8b4(0xd5)+_0x2568d6:_0x2568d6);return Error[_0x96d8b4(0x159)](_0x5922f7,this[_0x96d8b4(0x12d)]),_0x5922f7[_0x96d8b4(0xf7)]=_0x1ba96c,_0x5922f7[_0x3f706b]=_0x221c59,_0x5922f7;}}return Se=_0x924c1a,Se;}var Ee,et;function _t(){const _0x98f41c=_0x1657c7;if(et)return Ee;et=0x1;const {Duplex:_0x37b0fd}=_0xcbb80b,{randomFillSync:_0x32523e}=_0x4d6c27,_0x569bea=he(),{EMPTY_BUFFER:_0x44a536,kWebSocket:_0x102775,NOOP:_0xd35a02}=V(),{isBlob:_0x5613d8,isValidStatusCode:_0x4ba611}=ne(),{mask:_0x308e52,toBuffer:_0x411d71}=ce(),_0x52b7d5=Symbol(_0x98f41c(0x13f)),_0x272526=Buffer[_0x98f41c(0x174)](0x4),_0xd24572=0x8*0x400;let _0x49853a,_0x4b4292=_0xd24572;const _0x478067=0x0,_0x1351fc=0x1,_0x39814a=0x2;class _0x527fe6{constructor(_0x34e9f9,_0x1b73de,_0x327b7d){const _0x4f1713=_0x98f41c;this[_0x4f1713(0x183)]=_0x1b73de||{},_0x327b7d&&(this['_generateMask']=_0x327b7d,this['_maskBuffer']=Buffer[_0x4f1713(0x174)](0x4)),this[_0x4f1713(0x164)]=_0x34e9f9,this[_0x4f1713(0x10b)]=!0x0,this['_compress']=!0x1,this[_0x4f1713(0x134)]=0x0,this[_0x4f1713(0x7f)]=[],this[_0x4f1713(0x12e)]=_0x478067,this[_0x4f1713(0x16e)]=_0xd35a02,this[_0x102775]=void 0x0;}static['frame'](_0x37160a,_0x123e90){const _0x311b45=_0x98f41c;let _0x2c4a8b,_0x58a5ec=!0x1,_0x249869=0x2,_0x49ada7=!0x1;_0x123e90[_0x311b45(0x205)]&&(_0x2c4a8b=_0x123e90[_0x311b45(0x11a)]||_0x272526,_0x123e90[_0x311b45(0x1ed)]?_0x123e90[_0x311b45(0x1ed)](_0x2c4a8b):(_0x4b4292===_0xd24572&&(_0x49853a===void 0x0&&(_0x49853a=Buffer[_0x311b45(0x174)](_0xd24572)),_0x32523e(_0x49853a,0x0,_0xd24572),_0x4b4292=0x0),_0x2c4a8b[0x0]=_0x49853a[_0x4b4292++],_0x2c4a8b[0x1]=_0x49853a[_0x4b4292++],_0x2c4a8b[0x2]=_0x49853a[_0x4b4292++],_0x2c4a8b[0x3]=_0x49853a[_0x4b4292++]),_0x49ada7=(_0x2c4a8b[0x0]|_0x2c4a8b[0x1]|_0x2c4a8b[0x2]|_0x2c4a8b[0x3])===0x0,_0x249869=0x6);let _0x3c1012;typeof _0x37160a==_0x311b45(0x113)?(!_0x123e90['mask']||_0x49ada7)&&_0x123e90[_0x52b7d5]!==void 0x0?_0x3c1012=_0x123e90[_0x52b7d5]:(_0x37160a=Buffer[_0x311b45(0x162)](_0x37160a),_0x3c1012=_0x37160a[_0x311b45(0x146)]):(_0x3c1012=_0x37160a['length'],_0x58a5ec=_0x123e90[_0x311b45(0x205)]&&_0x123e90[_0x311b45(0x160)]&&!_0x49ada7);let _0x2009e0=_0x3c1012;_0x3c1012>=0x10000?(_0x249869+=0x8,_0x2009e0=0x7f):_0x3c1012>0x7d&&(_0x249869+=0x2,_0x2009e0=0x7e);const _0x346dec=Buffer[_0x311b45(0x147)](_0x58a5ec?_0x3c1012+_0x249869:_0x249869);return _0x346dec[0x0]=_0x123e90[_0x311b45(0x79)]?_0x123e90[_0x311b45(0x12c)]|0x80:_0x123e90[_0x311b45(0x12c)],_0x123e90['rsv1']&&(_0x346dec[0x0]|=0x40),_0x346dec[0x1]=_0x2009e0,_0x2009e0===0x7e?_0x346dec[_0x311b45(0x13a)](_0x3c1012,0x2):_0x2009e0===0x7f&&(_0x346dec[0x2]=_0x346dec[0x3]=0x0,_0x346dec['writeUIntBE'](_0x3c1012,0x4,0x6)),_0x123e90[_0x311b45(0x205)]?(_0x346dec[0x1]|=0x80,_0x346dec[_0x249869-0x4]=_0x2c4a8b[0x0],_0x346dec[_0x249869-0x3]=_0x2c4a8b[0x1],_0x346dec[_0x249869-0x2]=_0x2c4a8b[0x2],_0x346dec[_0x249869-0x1]=_0x2c4a8b[0x3],_0x49ada7?[_0x346dec,_0x37160a]:_0x58a5ec?(_0x308e52(_0x37160a,_0x2c4a8b,_0x346dec,_0x249869,_0x3c1012),[_0x346dec]):(_0x308e52(_0x37160a,_0x2c4a8b,_0x37160a,0x0,_0x3c1012),[_0x346dec,_0x37160a])):[_0x346dec,_0x37160a];}[_0x98f41c(0xd2)](_0x133bb4,_0xf481a6,_0x5c22a6,_0x42ce31){const _0x1cf1c0=_0x98f41c;let _0x436e26;if(_0x133bb4===void 0x0)_0x436e26=_0x44a536;else{if(typeof _0x133bb4!=_0x1cf1c0(0xf0)||!_0x4ba611(_0x133bb4))throw new TypeError(_0x1cf1c0(0x133));if(_0xf481a6===void 0x0||!_0xf481a6['length'])_0x436e26=Buffer[_0x1cf1c0(0x147)](0x2),_0x436e26['writeUInt16BE'](_0x133bb4,0x0);else{const _0x217c0d=Buffer[_0x1cf1c0(0xad)](_0xf481a6);if(_0x217c0d>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x436e26=Buffer[_0x1cf1c0(0x147)](0x2+_0x217c0d),_0x436e26[_0x1cf1c0(0x13a)](_0x133bb4,0x0),typeof _0xf481a6==_0x1cf1c0(0x113)?_0x436e26[_0x1cf1c0(0x1d0)](_0xf481a6,0x2):_0x436e26[_0x1cf1c0(0x11d)](_0xf481a6,0x2);}}const _0x1ce57a={[_0x52b7d5]:_0x436e26[_0x1cf1c0(0x146)],'fin':!0x0,'generateMask':this[_0x1cf1c0(0x180)],'mask':_0x5c22a6,'maskBuffer':this[_0x1cf1c0(0xe9)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1cf1c0(0x12e)]!==_0x478067?this[_0x1cf1c0(0x87)]([this[_0x1cf1c0(0x213)],_0x436e26,!0x1,_0x1ce57a,_0x42ce31]):this[_0x1cf1c0(0x121)](_0x527fe6[_0x1cf1c0(0xd6)](_0x436e26,_0x1ce57a),_0x42ce31);}[_0x98f41c(0x116)](_0x3f489b,_0x355498,_0x3a44b9){const _0x88aa49=_0x98f41c;let _0x149806,_0x1d665f;if(typeof _0x3f489b==_0x88aa49(0x113)?(_0x149806=Buffer[_0x88aa49(0xad)](_0x3f489b),_0x1d665f=!0x1):_0x5613d8(_0x3f489b)?(_0x149806=_0x3f489b[_0x88aa49(0xc8)],_0x1d665f=!0x1):(_0x3f489b=_0x411d71(_0x3f489b),_0x149806=_0x3f489b[_0x88aa49(0x146)],_0x1d665f=_0x411d71['readOnly']),_0x149806>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3d97aa={[_0x52b7d5]:_0x149806,'fin':!0x0,'generateMask':this[_0x88aa49(0x180)],'mask':_0x355498,'maskBuffer':this[_0x88aa49(0xe9)],'opcode':0x9,'readOnly':_0x1d665f,'rsv1':!0x1};_0x5613d8(_0x3f489b)?this[_0x88aa49(0x12e)]!==_0x478067?this['enqueue']([this[_0x88aa49(0x1fe)],_0x3f489b,!0x1,_0x3d97aa,_0x3a44b9]):this[_0x88aa49(0x1fe)](_0x3f489b,!0x1,_0x3d97aa,_0x3a44b9):this[_0x88aa49(0x12e)]!==_0x478067?this[_0x88aa49(0x87)]([this[_0x88aa49(0x213)],_0x3f489b,!0x1,_0x3d97aa,_0x3a44b9]):this[_0x88aa49(0x121)](_0x527fe6[_0x88aa49(0xd6)](_0x3f489b,_0x3d97aa),_0x3a44b9);}[_0x98f41c(0x16c)](_0xeebd61,_0x351e87,_0x135075){const _0x23abae=_0x98f41c;let _0x336f9b,_0x583b78;if(typeof _0xeebd61==_0x23abae(0x113)?(_0x336f9b=Buffer[_0x23abae(0xad)](_0xeebd61),_0x583b78=!0x1):_0x5613d8(_0xeebd61)?(_0x336f9b=_0xeebd61['size'],_0x583b78=!0x1):(_0xeebd61=_0x411d71(_0xeebd61),_0x336f9b=_0xeebd61[_0x23abae(0x146)],_0x583b78=_0x411d71['readOnly']),_0x336f9b>0x7d)throw new RangeError(_0x23abae(0x155));const _0x2e9e85={[_0x52b7d5]:_0x336f9b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x351e87,'maskBuffer':this[_0x23abae(0xe9)],'opcode':0xa,'readOnly':_0x583b78,'rsv1':!0x1};_0x5613d8(_0xeebd61)?this[_0x23abae(0x12e)]!==_0x478067?this[_0x23abae(0x87)]([this[_0x23abae(0x1fe)],_0xeebd61,!0x1,_0x2e9e85,_0x135075]):this['getBlobData'](_0xeebd61,!0x1,_0x2e9e85,_0x135075):this['_state']!==_0x478067?this['enqueue']([this['dispatch'],_0xeebd61,!0x1,_0x2e9e85,_0x135075]):this[_0x23abae(0x121)](_0x527fe6[_0x23abae(0xd6)](_0xeebd61,_0x2e9e85),_0x135075);}['send'](_0x16974b,_0x55eb16,_0x3a7148){const _0x497143=_0x98f41c,_0x3c29bd=this[_0x497143(0x183)][_0x569bea[_0x497143(0xac)]];let _0x4b0b24=_0x55eb16[_0x497143(0x201)]?0x2:0x1,_0x43478a=_0x55eb16['compress'],_0x222199,_0x1a52ba;typeof _0x16974b==_0x497143(0x113)?(_0x222199=Buffer[_0x497143(0xad)](_0x16974b),_0x1a52ba=!0x1):_0x5613d8(_0x16974b)?(_0x222199=_0x16974b['size'],_0x1a52ba=!0x1):(_0x16974b=_0x411d71(_0x16974b),_0x222199=_0x16974b[_0x497143(0x146)],_0x1a52ba=_0x411d71['readOnly']),this[_0x497143(0x10b)]?(this['_firstFragment']=!0x1,_0x43478a&&_0x3c29bd&&_0x3c29bd[_0x497143(0x168)][_0x3c29bd[_0x497143(0x1a1)]?_0x497143(0x1b0):_0x497143(0x9c)]&&(_0x43478a=_0x222199>=_0x3c29bd[_0x497143(0x186)]),this['_compress']=_0x43478a):(_0x43478a=!0x1,_0x4b0b24=0x0),_0x55eb16['fin']&&(this[_0x497143(0x10b)]=!0x0);const _0x46b367={[_0x52b7d5]:_0x222199,'fin':_0x55eb16[_0x497143(0x79)],'generateMask':this[_0x497143(0x180)],'mask':_0x55eb16[_0x497143(0x205)],'maskBuffer':this['_maskBuffer'],'opcode':_0x4b0b24,'readOnly':_0x1a52ba,'rsv1':_0x43478a};_0x5613d8(_0x16974b)?this[_0x497143(0x12e)]!==_0x478067?this[_0x497143(0x87)]([this[_0x497143(0x1fe)],_0x16974b,this[_0x497143(0x13c)],_0x46b367,_0x3a7148]):this['getBlobData'](_0x16974b,this[_0x497143(0x13c)],_0x46b367,_0x3a7148):this[_0x497143(0x12e)]!==_0x478067?this[_0x497143(0x87)]([this['dispatch'],_0x16974b,this['_compress'],_0x46b367,_0x3a7148]):this[_0x497143(0x213)](_0x16974b,this['_compress'],_0x46b367,_0x3a7148);}[_0x98f41c(0x1fe)](_0x5646d1,_0x54dfae,_0x37a008,_0x163139){const _0x91f00c=_0x98f41c;this[_0x91f00c(0x134)]+=_0x37a008[_0x52b7d5],this[_0x91f00c(0x12e)]=_0x39814a,_0x5646d1[_0x91f00c(0xc9)]()[_0x91f00c(0x1fc)](_0x1e9c61=>{const _0x517781=_0x91f00c;if(this['_socket'][_0x517781(0x20c)]){const _0x58a19=new Error(_0x517781(0x1cf));process['nextTick'](_0x1feb2a,this,_0x58a19,_0x163139);return;}this[_0x517781(0x134)]-=_0x37a008[_0x52b7d5];const _0x3aa385=_0x411d71(_0x1e9c61);_0x54dfae?this[_0x517781(0x213)](_0x3aa385,_0x54dfae,_0x37a008,_0x163139):(this[_0x517781(0x12e)]=_0x478067,this[_0x517781(0x121)](_0x527fe6[_0x517781(0xd6)](_0x3aa385,_0x37a008),_0x163139),this[_0x517781(0x127)]());})['catch'](_0x2da729=>{const _0xfb4d23=_0x91f00c;process[_0xfb4d23(0xbf)](_0x548031,this,_0x2da729,_0x163139);});}[_0x98f41c(0x213)](_0x3c81fe,_0xfc461f,_0x2994c9,_0x59890d){const _0x2dc0dc=_0x98f41c;if(!_0xfc461f){this[_0x2dc0dc(0x121)](_0x527fe6[_0x2dc0dc(0xd6)](_0x3c81fe,_0x2994c9),_0x59890d);return;}const _0x41fc5e=this[_0x2dc0dc(0x183)][_0x569bea[_0x2dc0dc(0xac)]];this['_bufferedBytes']+=_0x2994c9[_0x52b7d5],this[_0x2dc0dc(0x12e)]=_0x1351fc,_0x41fc5e['compress'](_0x3c81fe,_0x2994c9['fin'],(_0x1cec26,_0x1b6d98)=>{const _0x3e7e2a=_0x2dc0dc;if(this[_0x3e7e2a(0x164)][_0x3e7e2a(0x20c)]){const _0x4e32cb=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1feb2a(this,_0x4e32cb,_0x59890d);return;}this[_0x3e7e2a(0x134)]-=_0x2994c9[_0x52b7d5],this['_state']=_0x478067,_0x2994c9['readOnly']=!0x1,this[_0x3e7e2a(0x121)](_0x527fe6['frame'](_0x1b6d98,_0x2994c9),_0x59890d),this[_0x3e7e2a(0x127)]();});}[_0x98f41c(0x127)](){const _0x5dee83=_0x98f41c;for(;this[_0x5dee83(0x12e)]===_0x478067&&this[_0x5dee83(0x7f)][_0x5dee83(0x146)];){const _0x1cf494=this[_0x5dee83(0x7f)][_0x5dee83(0x193)]();this['_bufferedBytes']-=_0x1cf494[0x3][_0x52b7d5],Reflect[_0x5dee83(0xba)](_0x1cf494[0x0],this,_0x1cf494[_0x5dee83(0x1ea)](0x1));}}['enqueue'](_0x184d86){const _0x38677b=_0x98f41c;this[_0x38677b(0x134)]+=_0x184d86[0x3][_0x52b7d5],this[_0x38677b(0x7f)]['push'](_0x184d86);}[_0x98f41c(0x121)](_0x21b2b1,_0x589a97){const _0x305abe=_0x98f41c;_0x21b2b1[_0x305abe(0x146)]===0x2?(this['_socket'][_0x305abe(0xfc)](),this['_socket']['write'](_0x21b2b1[0x0]),this[_0x305abe(0x164)]['write'](_0x21b2b1[0x1],_0x589a97),this['_socket']['uncork']()):this[_0x305abe(0x164)][_0x305abe(0x1d0)](_0x21b2b1[0x0],_0x589a97);}}Ee=_0x527fe6;function _0x1feb2a(_0x308be9,_0x2f106d,_0x918b43){const _0x3769a9=_0x98f41c;typeof _0x918b43==_0x3769a9(0xd3)&&_0x918b43(_0x2f106d);for(let _0x33d321=0x0;_0x33d321<_0x308be9['_queue'][_0x3769a9(0x146)];_0x33d321++){const _0x3eeb4d=_0x308be9[_0x3769a9(0x7f)][_0x33d321],_0x1d1122=_0x3eeb4d[_0x3eeb4d['length']-0x1];typeof _0x1d1122=='function'&&_0x1d1122(_0x2f106d);}}function _0x548031(_0x36c69d,_0x3b44ad,_0x12b22b){const _0x54cf2a=_0x98f41c;_0x1feb2a(_0x36c69d,_0x3b44ad,_0x12b22b),_0x36c69d[_0x54cf2a(0x16e)](_0x3b44ad);}return Ee;}var xe,tt;function Kt(){const _0x116d59=_0x1657c7;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5ecdb6,kListener:_0x42271a}=V(),_0x2172ee=Symbol('kCode'),_0x435725=Symbol('kData'),_0x41ccb0=Symbol('kError'),_0x29fff3=Symbol(_0x116d59(0xe3)),_0x229a38=Symbol(_0x116d59(0x10d)),_0x3a5655=Symbol(_0x116d59(0x11e)),_0x4e88e3=Symbol('kType'),_0x1f3f1f=Symbol(_0x116d59(0x169));class _0x1067b5{constructor(_0x310de0){this[_0x3a5655]=null,this[_0x4e88e3]=_0x310de0;}get[_0x116d59(0x8a)](){return this[_0x3a5655];}get[_0x116d59(0x131)](){return this[_0x4e88e3];}}Object[_0x116d59(0xe4)](_0x1067b5[_0x116d59(0x1f0)],_0x116d59(0x8a),{'enumerable':!0x0}),Object[_0x116d59(0xe4)](_0x1067b5[_0x116d59(0x1f0)],_0x116d59(0x131),{'enumerable':!0x0});class _0x29785b extends _0x1067b5{constructor(_0x38abd2,_0x3b0424={}){const _0x487103=_0x116d59;super(_0x38abd2),this[_0x2172ee]=_0x3b0424[_0x487103(0xf7)]===void 0x0?0x0:_0x3b0424[_0x487103(0xf7)],this[_0x229a38]=_0x3b0424['reason']===void 0x0?'':_0x3b0424[_0x487103(0x108)],this[_0x1f3f1f]=_0x3b0424[_0x487103(0x76)]===void 0x0?!0x1:_0x3b0424[_0x487103(0x76)];}get[_0x116d59(0xf7)](){return this[_0x2172ee];}get['reason'](){return this[_0x229a38];}get[_0x116d59(0x76)](){return this[_0x1f3f1f];}}Object['defineProperty'](_0x29785b[_0x116d59(0x1f0)],'code',{'enumerable':!0x0}),Object[_0x116d59(0xe4)](_0x29785b['prototype'],'reason',{'enumerable':!0x0}),Object[_0x116d59(0xe4)](_0x29785b[_0x116d59(0x1f0)],_0x116d59(0x76),{'enumerable':!0x0});class _0x36ac70 extends _0x1067b5{constructor(_0x3630f9,_0x281312={}){const _0x4ba6d2=_0x116d59;super(_0x3630f9),this[_0x41ccb0]=_0x281312[_0x4ba6d2(0x18f)]===void 0x0?null:_0x281312['error'],this[_0x29fff3]=_0x281312['message']===void 0x0?'':_0x281312[_0x4ba6d2(0x111)];}get[_0x116d59(0x18f)](){return this[_0x41ccb0];}get[_0x116d59(0x111)](){return this[_0x29fff3];}}Object[_0x116d59(0xe4)](_0x36ac70[_0x116d59(0x1f0)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x36ac70[_0x116d59(0x1f0)],_0x116d59(0x111),{'enumerable':!0x0});class _0x4bca71 extends _0x1067b5{constructor(_0x49bf04,_0x489545={}){const _0x34a4d7=_0x116d59;super(_0x49bf04),this[_0x435725]=_0x489545[_0x34a4d7(0x1fd)]===void 0x0?null:_0x489545[_0x34a4d7(0x1fd)];}get[_0x116d59(0x1fd)](){return this[_0x435725];}}Object['defineProperty'](_0x4bca71[_0x116d59(0x1f0)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x29785b,'ErrorEvent':_0x36ac70,'Event':_0x1067b5,'EventTarget':{'addEventListener'(_0x599ec2,_0x8ac469,_0x37db63={}){const _0x573a0e=_0x116d59;for(const _0x2d7a37 of this[_0x573a0e(0x1d1)](_0x599ec2))if(!_0x37db63[_0x5ecdb6]&&_0x2d7a37[_0x42271a]===_0x8ac469&&!_0x2d7a37[_0x5ecdb6])return;let _0x4c6ba3;if(_0x599ec2===_0x573a0e(0x111))_0x4c6ba3=function(_0x3bea22,_0x5bb842){const _0x3ef4a8=_0x573a0e,_0x59d077=new _0x4bca71(_0x3ef4a8(0x111),{'data':_0x5bb842?_0x3bea22:_0x3bea22['toString']()});_0x59d077[_0x3a5655]=this,_0x4ba696(_0x8ac469,this,_0x59d077);};else{if(_0x599ec2===_0x573a0e(0xd2))_0x4c6ba3=function(_0xe50edf,_0xf2aae5){const _0x5e6e9b=_0x573a0e,_0x25ede5=new _0x29785b(_0x5e6e9b(0xd2),{'code':_0xe50edf,'reason':_0xf2aae5[_0x5e6e9b(0x94)](),'wasClean':this['_closeFrameReceived']&&this[_0x5e6e9b(0x1f4)]});_0x25ede5[_0x3a5655]=this,_0x4ba696(_0x8ac469,this,_0x25ede5);};else{if(_0x599ec2===_0x573a0e(0x18f))_0x4c6ba3=function(_0x15b8d7){const _0x2ff571=_0x573a0e,_0xa16b21=new _0x36ac70(_0x2ff571(0x18f),{'error':_0x15b8d7,'message':_0x15b8d7[_0x2ff571(0x111)]});_0xa16b21[_0x3a5655]=this,_0x4ba696(_0x8ac469,this,_0xa16b21);};else{if(_0x599ec2==='open')_0x4c6ba3=function(){const _0x4bf799=new _0x1067b5('open');_0x4bf799[_0x3a5655]=this,_0x4ba696(_0x8ac469,this,_0x4bf799);};else return;}}}_0x4c6ba3[_0x5ecdb6]=!!_0x37db63[_0x5ecdb6],_0x4c6ba3[_0x42271a]=_0x8ac469,_0x37db63['once']?this[_0x573a0e(0x14b)](_0x599ec2,_0x4c6ba3):this['on'](_0x599ec2,_0x4c6ba3);},'removeEventListener'(_0x2265f7,_0x15e929){const _0x40787a=_0x116d59;for(const _0x393c57 of this[_0x40787a(0x1d1)](_0x2265f7))if(_0x393c57[_0x42271a]===_0x15e929&&!_0x393c57[_0x5ecdb6]){this['removeListener'](_0x2265f7,_0x393c57);break;}}},'MessageEvent':_0x4bca71};function _0x4ba696(_0x2ff0d5,_0x46c05e,_0x166c86){const _0x31c3c4=_0x116d59;typeof _0x2ff0d5==_0x31c3c4(0x1c4)&&_0x2ff0d5[_0x31c3c4(0x197)]?_0x2ff0d5[_0x31c3c4(0x197)][_0x31c3c4(0x19b)](_0x2ff0d5,_0x166c86):_0x2ff0d5[_0x31c3c4(0x19b)](_0x46c05e,_0x166c86);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2a9375}=ne();function _0x2c1d46(_0x461a90,_0x7595bc,_0x3e763c){_0x461a90[_0x7595bc]===void 0x0?_0x461a90[_0x7595bc]=[_0x3e763c]:_0x461a90[_0x7595bc]['push'](_0x3e763c);}function _0x2defeb(_0x1f9ee2){const _0x5bc68d=_0x1e5a,_0x3a9a75=Object['create'](null);let _0x4fbba0=Object[_0x5bc68d(0x1ee)](null),_0x18c117=!0x1,_0x542a71=!0x1,_0x43dad3=!0x1,_0x4869ec,_0x44c34a,_0x2dce44=-0x1,_0x3ef9d6=-0x1,_0x3e59b3=-0x1,_0x46a9f3=0x0;for(;_0x46a9f3<_0x1f9ee2[_0x5bc68d(0x146)];_0x46a9f3++)if(_0x3ef9d6=_0x1f9ee2[_0x5bc68d(0xb1)](_0x46a9f3),_0x4869ec===void 0x0){if(_0x3e59b3===-0x1&&_0x2a9375[_0x3ef9d6]===0x1)_0x2dce44===-0x1&&(_0x2dce44=_0x46a9f3);else{if(_0x46a9f3!==0x0&&(_0x3ef9d6===0x20||_0x3ef9d6===0x9))_0x3e59b3===-0x1&&_0x2dce44!==-0x1&&(_0x3e59b3=_0x46a9f3);else{if(_0x3ef9d6===0x3b||_0x3ef9d6===0x2c){if(_0x2dce44===-0x1)throw new SyntaxError(_0x5bc68d(0x185)+_0x46a9f3);_0x3e59b3===-0x1&&(_0x3e59b3=_0x46a9f3);const _0x15a82c=_0x1f9ee2[_0x5bc68d(0x1ea)](_0x2dce44,_0x3e59b3);_0x3ef9d6===0x2c?(_0x2c1d46(_0x3a9a75,_0x15a82c,_0x4fbba0),_0x4fbba0=Object[_0x5bc68d(0x1ee)](null)):_0x4869ec=_0x15a82c,_0x2dce44=_0x3e59b3=-0x1;}else throw new SyntaxError(_0x5bc68d(0x185)+_0x46a9f3);}}}else{if(_0x44c34a===void 0x0){if(_0x3e59b3===-0x1&&_0x2a9375[_0x3ef9d6]===0x1)_0x2dce44===-0x1&&(_0x2dce44=_0x46a9f3);else{if(_0x3ef9d6===0x20||_0x3ef9d6===0x9)_0x3e59b3===-0x1&&_0x2dce44!==-0x1&&(_0x3e59b3=_0x46a9f3);else{if(_0x3ef9d6===0x3b||_0x3ef9d6===0x2c){if(_0x2dce44===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46a9f3);_0x3e59b3===-0x1&&(_0x3e59b3=_0x46a9f3),_0x2c1d46(_0x4fbba0,_0x1f9ee2[_0x5bc68d(0x1ea)](_0x2dce44,_0x3e59b3),!0x0),_0x3ef9d6===0x2c&&(_0x2c1d46(_0x3a9a75,_0x4869ec,_0x4fbba0),_0x4fbba0=Object[_0x5bc68d(0x1ee)](null),_0x4869ec=void 0x0),_0x2dce44=_0x3e59b3=-0x1;}else{if(_0x3ef9d6===0x3d&&_0x2dce44!==-0x1&&_0x3e59b3===-0x1)_0x44c34a=_0x1f9ee2[_0x5bc68d(0x1ea)](_0x2dce44,_0x46a9f3),_0x2dce44=_0x3e59b3=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46a9f3);}}}}else{if(_0x542a71){if(_0x2a9375[_0x3ef9d6]!==0x1)throw new SyntaxError(_0x5bc68d(0x185)+_0x46a9f3);_0x2dce44===-0x1?_0x2dce44=_0x46a9f3:_0x18c117||(_0x18c117=!0x0),_0x542a71=!0x1;}else{if(_0x43dad3){if(_0x2a9375[_0x3ef9d6]===0x1)_0x2dce44===-0x1&&(_0x2dce44=_0x46a9f3);else{if(_0x3ef9d6===0x22&&_0x2dce44!==-0x1)_0x43dad3=!0x1,_0x3e59b3=_0x46a9f3;else{if(_0x3ef9d6===0x5c)_0x542a71=!0x0;else throw new SyntaxError(_0x5bc68d(0x185)+_0x46a9f3);}}}else{if(_0x3ef9d6===0x22&&_0x1f9ee2[_0x5bc68d(0xb1)](_0x46a9f3-0x1)===0x3d)_0x43dad3=!0x0;else{if(_0x3e59b3===-0x1&&_0x2a9375[_0x3ef9d6]===0x1)_0x2dce44===-0x1&&(_0x2dce44=_0x46a9f3);else{if(_0x2dce44!==-0x1&&(_0x3ef9d6===0x20||_0x3ef9d6===0x9))_0x3e59b3===-0x1&&(_0x3e59b3=_0x46a9f3);else{if(_0x3ef9d6===0x3b||_0x3ef9d6===0x2c){if(_0x2dce44===-0x1)throw new SyntaxError(_0x5bc68d(0x185)+_0x46a9f3);_0x3e59b3===-0x1&&(_0x3e59b3=_0x46a9f3);let _0x41690a=_0x1f9ee2[_0x5bc68d(0x1ea)](_0x2dce44,_0x3e59b3);_0x18c117&&(_0x41690a=_0x41690a[_0x5bc68d(0x1d3)](/\\/g,''),_0x18c117=!0x1),_0x2c1d46(_0x4fbba0,_0x44c34a,_0x41690a),_0x3ef9d6===0x2c&&(_0x2c1d46(_0x3a9a75,_0x4869ec,_0x4fbba0),_0x4fbba0=Object[_0x5bc68d(0x1ee)](null),_0x4869ec=void 0x0),_0x44c34a=void 0x0,_0x2dce44=_0x3e59b3=-0x1;}else throw new SyntaxError(_0x5bc68d(0x185)+_0x46a9f3);}}}}}}}if(_0x2dce44===-0x1||_0x43dad3||_0x3ef9d6===0x20||_0x3ef9d6===0x9)throw new SyntaxError(_0x5bc68d(0x1d6));_0x3e59b3===-0x1&&(_0x3e59b3=_0x46a9f3);const _0x5bb52f=_0x1f9ee2[_0x5bc68d(0x1ea)](_0x2dce44,_0x3e59b3);return _0x4869ec===void 0x0?_0x2c1d46(_0x3a9a75,_0x5bb52f,_0x4fbba0):(_0x44c34a===void 0x0?_0x2c1d46(_0x4fbba0,_0x5bb52f,!0x0):_0x18c117?_0x2c1d46(_0x4fbba0,_0x44c34a,_0x5bb52f[_0x5bc68d(0x1d3)](/\\/g,'')):_0x2c1d46(_0x4fbba0,_0x44c34a,_0x5bb52f),_0x2c1d46(_0x3a9a75,_0x4869ec,_0x4fbba0)),_0x3a9a75;}function _0x1dd0e7(_0xd41253){const _0x24ba35=_0x1e5a;return Object['keys'](_0xd41253)[_0x24ba35(0x99)](_0x3ab130=>{const _0x20fadc=_0x24ba35;let _0x216014=_0xd41253[_0x3ab130];return Array[_0x20fadc(0xdb)](_0x216014)||(_0x216014=[_0x216014]),_0x216014['map'](_0x5975e9=>[_0x3ab130][_0x20fadc(0x14f)](Object[_0x20fadc(0x1fa)](_0x5975e9)[_0x20fadc(0x99)](_0x18fc88=>{const _0x1e4022=_0x20fadc;let _0x596f26=_0x5975e9[_0x18fc88];return Array[_0x1e4022(0xdb)](_0x596f26)||(_0x596f26=[_0x596f26]),_0x596f26[_0x1e4022(0x99)](_0x46c66a=>_0x46c66a===!0x0?_0x18fc88:_0x18fc88+'='+_0x46c66a)[_0x1e4022(0x211)](';\x20');}))[_0x20fadc(0x211)](';\x20'))[_0x20fadc(0x211)](',\x20');})['join'](',\x20');}return be={'format':_0x1dd0e7,'parse':_0x2defeb},be;}var we,st;function Ie(){const _0x2119d6=_0x1657c7;if(st)return we;st=0x1;const _0x13385d=_0x2d07e8,_0x1a280f=_0x17eba6,_0x4dded5=_0x2a5600,_0x3bccc2=_0x3f95bd,_0x3f8d1c=_0x509915,{randomBytes:_0x5dd7ec,createHash:_0x5bb524}=_0x4d6c27,{Duplex:_0x42cb89,Readable:_0xa85182}=_0xcbb80b,{URL:_0x4c50b4}=_0x5b5883,_0x276146=he(),_0x557758=dt(),_0x1d5581=_t(),{isBlob:_0x1dbdb5}=ne(),{BINARY_TYPES:_0x58ad3b,EMPTY_BUFFER:_0x2d082d,GUID:_0x570fa0,kForOnEventAttribute:_0x9e3915,kListener:_0x19d7bb,kStatusCode:_0x380068,kWebSocket:_0x4092cb,NOOP:_0x4162aa}=V(),{EventTarget:{addEventListener:_0x51510c,removeEventListener:_0x36d9eb}}=Kt(),{format:_0x34afd4,parse:_0x49ee30}=pt(),{toBuffer:_0x645d4d}=ce(),_0x27be32=0x1e*0x3e8,_0x1e2f5e=Symbol(_0x2119d6(0x166)),_0x537e1b=[0x8,0xd],_0xdd9403=[_0x2119d6(0xef),_0x2119d6(0xfb),_0x2119d6(0x153),_0x2119d6(0x1d2)],_0xb24e4f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5b92b1 extends _0x13385d{constructor(_0x4af305,_0x22e71f,_0x34737f){const _0x489e96=_0x2119d6;super(),this[_0x489e96(0x208)]=_0x58ad3b[0x0],this[_0x489e96(0x1fb)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x489e96(0x1f4)]=!0x1,this[_0x489e96(0x126)]=_0x2d082d,this[_0x489e96(0x11f)]=null,this[_0x489e96(0x117)]=!0x1,this[_0x489e96(0x183)]={},this[_0x489e96(0x1a4)]=!0x1,this[_0x489e96(0x141)]='',this[_0x489e96(0xd7)]=_0x5b92b1[_0x489e96(0xef)],this[_0x489e96(0xf8)]=null,this[_0x489e96(0xb7)]=null,this[_0x489e96(0x164)]=null,_0x4af305!==null?(this[_0x489e96(0xf4)]=0x0,this['_isServer']=!0x1,this[_0x489e96(0x9e)]=0x0,_0x22e71f===void 0x0?_0x22e71f=[]:Array[_0x489e96(0xdb)](_0x22e71f)||(typeof _0x22e71f==_0x489e96(0x1c4)&&_0x22e71f!==null?(_0x34737f=_0x22e71f,_0x22e71f=[]):_0x22e71f=[_0x22e71f]),_0x3e44d5(this,_0x4af305,_0x22e71f,_0x34737f)):(this[_0x489e96(0x7d)]=_0x34737f[_0x489e96(0xe0)],this[_0x489e96(0x1a1)]=!0x0);}get['binaryType'](){const _0x45f5ac=_0x2119d6;return this[_0x45f5ac(0x208)];}set[_0x2119d6(0x7b)](_0x4a0359){const _0x4d93d9=_0x2119d6;_0x58ad3b['includes'](_0x4a0359)&&(this[_0x4d93d9(0x208)]=_0x4a0359,this[_0x4d93d9(0xf8)]&&(this[_0x4d93d9(0xf8)][_0x4d93d9(0x208)]=_0x4a0359));}get['bufferedAmount'](){const _0x32a6c7=_0x2119d6;return this[_0x32a6c7(0x164)]?this[_0x32a6c7(0x164)]['_writableState'][_0x32a6c7(0x146)]+this[_0x32a6c7(0xb7)][_0x32a6c7(0x134)]:this['_bufferedAmount'];}get[_0x2119d6(0x1c6)](){const _0x5341ba=_0x2119d6;return Object[_0x5341ba(0x1fa)](this[_0x5341ba(0x183)])['join']();}get['isPaused'](){const _0x5489eb=_0x2119d6;return this[_0x5489eb(0x1a4)];}get['onclose'](){return null;}get[_0x2119d6(0x16e)](){return null;}get[_0x2119d6(0xfe)](){return null;}get['onmessage'](){return null;}get[_0x2119d6(0xda)](){const _0x173355=_0x2119d6;return this[_0x173355(0x141)];}get[_0x2119d6(0xd9)](){const _0x1937fd=_0x2119d6;return this[_0x1937fd(0xd7)];}get[_0x2119d6(0x1d7)](){const _0x3b6afe=_0x2119d6;return this[_0x3b6afe(0xca)];}['setSocket'](_0x352931,_0x2b64cb,_0x2845f7){const _0x503708=_0x2119d6,_0xcdd149=new _0x557758({'allowSynchronousEvents':_0x2845f7[_0x503708(0x1f7)],'binaryType':this[_0x503708(0x7b)],'extensions':this[_0x503708(0x183)],'isServer':this[_0x503708(0x1a1)],'maxPayload':_0x2845f7[_0x503708(0x18b)],'skipUTF8Validation':_0x2845f7[_0x503708(0xb5)]}),_0x194ca2=new _0x1d5581(_0x352931,this[_0x503708(0x183)],_0x2845f7[_0x503708(0x1ed)]);this[_0x503708(0xf8)]=_0xcdd149,this[_0x503708(0xb7)]=_0x194ca2,this[_0x503708(0x164)]=_0x352931,_0xcdd149[_0x4092cb]=this,_0x194ca2[_0x4092cb]=this,_0x352931[_0x4092cb]=this,_0xcdd149['on']('conclude',_0x121a69),_0xcdd149['on'](_0x503708(0xb3),_0x3a44d0),_0xcdd149['on'](_0x503708(0x18f),_0x11e588),_0xcdd149['on']('message',_0x5ef3a6),_0xcdd149['on'](_0x503708(0x116),_0x5eed11),_0xcdd149['on']('pong',_0x51fda1),_0x194ca2['onerror']=_0x1efc7f,_0x352931[_0x503708(0x1f5)]&&_0x352931[_0x503708(0x1f5)](0x0),_0x352931[_0x503708(0x8c)]&&_0x352931[_0x503708(0x8c)](),_0x2b64cb[_0x503708(0x146)]>0x0&&_0x352931['unshift'](_0x2b64cb),_0x352931['on'](_0x503708(0xd2),_0x32d7e7),_0x352931['on'](_0x503708(0x1fd),_0x28a88a),_0x352931['on'](_0x503708(0x218),_0x5d2d56),_0x352931['on']('error',_0x4743cd),this[_0x503708(0xd7)]=_0x5b92b1['OPEN'],this[_0x503708(0x15a)](_0x503708(0x12a));}[_0x2119d6(0x1b9)](){const _0x1e5c5a=_0x2119d6;if(!this[_0x1e5c5a(0x164)]){this['_readyState']=_0x5b92b1['CLOSED'],this[_0x1e5c5a(0x15a)](_0x1e5c5a(0xd2),this[_0x1e5c5a(0x1fb)],this['_closeMessage']);return;}this[_0x1e5c5a(0x183)][_0x276146[_0x1e5c5a(0xac)]]&&this['_extensions'][_0x276146['extensionName']]['cleanup'](),this[_0x1e5c5a(0xf8)]['removeAllListeners'](),this[_0x1e5c5a(0xd7)]=_0x5b92b1[_0x1e5c5a(0x1d2)],this[_0x1e5c5a(0x15a)](_0x1e5c5a(0xd2),this[_0x1e5c5a(0x1fb)],this[_0x1e5c5a(0x126)]);}[_0x2119d6(0xd2)](_0x2098c8,_0x352f98){const _0x36d199=_0x2119d6;if(this['readyState']!==_0x5b92b1[_0x36d199(0x1d2)]){if(this['readyState']===_0x5b92b1[_0x36d199(0xef)]){_0x26952a(this,this[_0x36d199(0xbb)],_0x36d199(0x8d));return;}if(this[_0x36d199(0xd9)]===_0x5b92b1[_0x36d199(0x153)]){this[_0x36d199(0x1f4)]&&(this['_closeFrameReceived']||this[_0x36d199(0xf8)][_0x36d199(0x18a)][_0x36d199(0x1c7)])&&this[_0x36d199(0x164)]['end']();return;}this[_0x36d199(0xd7)]=_0x5b92b1['CLOSING'],this[_0x36d199(0xb7)][_0x36d199(0xd2)](_0x2098c8,_0x352f98,!this[_0x36d199(0x1a1)],_0xac6c53=>{const _0x41de74=_0x36d199;_0xac6c53||(this[_0x41de74(0x1f4)]=!0x0,(this[_0x41de74(0x8b)]||this[_0x41de74(0xf8)]['_writableState'][_0x41de74(0x1c7)])&&this[_0x41de74(0x164)]['end']());}),_0x43dc30(this);}}[_0x2119d6(0x19e)](){const _0x55a4da=_0x2119d6;this[_0x55a4da(0xd9)]===_0x5b92b1[_0x55a4da(0xef)]||this[_0x55a4da(0xd9)]===_0x5b92b1[_0x55a4da(0x1d2)]||(this[_0x55a4da(0x1a4)]=!0x0,this['_socket'][_0x55a4da(0x19e)]());}[_0x2119d6(0x116)](_0x33394a,_0x4708c9,_0x38ebf4){const _0x3d6d2e=_0x2119d6;if(this['readyState']===_0x5b92b1[_0x3d6d2e(0xef)])throw new Error(_0x3d6d2e(0x19f));if(typeof _0x33394a==_0x3d6d2e(0xd3)?(_0x38ebf4=_0x33394a,_0x33394a=_0x4708c9=void 0x0):typeof _0x4708c9==_0x3d6d2e(0xd3)&&(_0x38ebf4=_0x4708c9,_0x4708c9=void 0x0),typeof _0x33394a=='number'&&(_0x33394a=_0x33394a[_0x3d6d2e(0x94)]()),this[_0x3d6d2e(0xd9)]!==_0x5b92b1[_0x3d6d2e(0xfb)]){_0x1dab66(this,_0x33394a,_0x38ebf4);return;}_0x4708c9===void 0x0&&(_0x4708c9=!this[_0x3d6d2e(0x1a1)]),this[_0x3d6d2e(0xb7)][_0x3d6d2e(0x116)](_0x33394a||_0x2d082d,_0x4708c9,_0x38ebf4);}[_0x2119d6(0x16c)](_0x57b738,_0x479907,_0x3b2f58){const _0x1377f3=_0x2119d6;if(this['readyState']===_0x5b92b1[_0x1377f3(0xef)])throw new Error(_0x1377f3(0x19f));if(typeof _0x57b738==_0x1377f3(0xd3)?(_0x3b2f58=_0x57b738,_0x57b738=_0x479907=void 0x0):typeof _0x479907=='function'&&(_0x3b2f58=_0x479907,_0x479907=void 0x0),typeof _0x57b738==_0x1377f3(0xf0)&&(_0x57b738=_0x57b738[_0x1377f3(0x94)]()),this[_0x1377f3(0xd9)]!==_0x5b92b1[_0x1377f3(0xfb)]){_0x1dab66(this,_0x57b738,_0x3b2f58);return;}_0x479907===void 0x0&&(_0x479907=!this['_isServer']),this['_sender'][_0x1377f3(0x16c)](_0x57b738||_0x2d082d,_0x479907,_0x3b2f58);}[_0x2119d6(0x14c)](){const _0x32a51d=_0x2119d6;this[_0x32a51d(0xd9)]===_0x5b92b1[_0x32a51d(0xef)]||this[_0x32a51d(0xd9)]===_0x5b92b1['CLOSED']||(this[_0x32a51d(0x1a4)]=!0x1,this[_0x32a51d(0xf8)][_0x32a51d(0x18a)]['needDrain']||this[_0x32a51d(0x164)][_0x32a51d(0x14c)]());}[_0x2119d6(0xd1)](_0x59a694,_0x4907a8,_0x4fe54f){const _0x3a52b9=_0x2119d6;if(this[_0x3a52b9(0xd9)]===_0x5b92b1[_0x3a52b9(0xef)])throw new Error(_0x3a52b9(0x19f));if(typeof _0x4907a8==_0x3a52b9(0xd3)&&(_0x4fe54f=_0x4907a8,_0x4907a8={}),typeof _0x59a694=='number'&&(_0x59a694=_0x59a694[_0x3a52b9(0x94)]()),this[_0x3a52b9(0xd9)]!==_0x5b92b1[_0x3a52b9(0xfb)]){_0x1dab66(this,_0x59a694,_0x4fe54f);return;}const _0x10ab7d={'binary':typeof _0x59a694!=_0x3a52b9(0x113),'mask':!this[_0x3a52b9(0x1a1)],'compress':!0x0,'fin':!0x0,..._0x4907a8};this['_extensions'][_0x276146[_0x3a52b9(0xac)]]||(_0x10ab7d[_0x3a52b9(0x1e5)]=!0x1),this[_0x3a52b9(0xb7)][_0x3a52b9(0xd1)](_0x59a694||_0x2d082d,_0x10ab7d,_0x4fe54f);}[_0x2119d6(0x9a)](){const _0x1e0f8e=_0x2119d6;if(this[_0x1e0f8e(0xd9)]!==_0x5b92b1[_0x1e0f8e(0x1d2)]){if(this[_0x1e0f8e(0xd9)]===_0x5b92b1[_0x1e0f8e(0xef)]){_0x26952a(this,this['_req'],_0x1e0f8e(0x8d));return;}this['_socket']&&(this['_readyState']=_0x5b92b1[_0x1e0f8e(0x153)],this['_socket']['destroy']());}}}Object[_0x2119d6(0xe4)](_0x5b92b1,_0x2119d6(0xef),{'enumerable':!0x0,'value':_0xdd9403[_0x2119d6(0x1e2)](_0x2119d6(0xef))}),Object['defineProperty'](_0x5b92b1[_0x2119d6(0x1f0)],'CONNECTING',{'enumerable':!0x0,'value':_0xdd9403[_0x2119d6(0x1e2)](_0x2119d6(0xef))}),Object['defineProperty'](_0x5b92b1,'OPEN',{'enumerable':!0x0,'value':_0xdd9403[_0x2119d6(0x1e2)](_0x2119d6(0xfb))}),Object[_0x2119d6(0xe4)](_0x5b92b1[_0x2119d6(0x1f0)],_0x2119d6(0xfb),{'enumerable':!0x0,'value':_0xdd9403[_0x2119d6(0x1e2)]('OPEN')}),Object[_0x2119d6(0xe4)](_0x5b92b1,_0x2119d6(0x153),{'enumerable':!0x0,'value':_0xdd9403['indexOf']('CLOSING')}),Object[_0x2119d6(0xe4)](_0x5b92b1[_0x2119d6(0x1f0)],'CLOSING',{'enumerable':!0x0,'value':_0xdd9403['indexOf'](_0x2119d6(0x153))}),Object[_0x2119d6(0xe4)](_0x5b92b1,'CLOSED',{'enumerable':!0x0,'value':_0xdd9403[_0x2119d6(0x1e2)](_0x2119d6(0x1d2))}),Object[_0x2119d6(0xe4)](_0x5b92b1[_0x2119d6(0x1f0)],_0x2119d6(0x1d2),{'enumerable':!0x0,'value':_0xdd9403[_0x2119d6(0x1e2)](_0x2119d6(0x1d2))}),[_0x2119d6(0x7b),_0x2119d6(0x1f2),_0x2119d6(0x1c6),'isPaused',_0x2119d6(0xda),_0x2119d6(0xd9),'url']['forEach'](_0x3d7fac=>{const _0x43f9ef=_0x2119d6;Object[_0x43f9ef(0xe4)](_0x5b92b1['prototype'],_0x3d7fac,{'enumerable':!0x0});}),[_0x2119d6(0x12a),_0x2119d6(0x18f),_0x2119d6(0xd2),_0x2119d6(0x111)][_0x2119d6(0xa7)](_0x88045d=>{const _0x3ca518=_0x2119d6;Object[_0x3ca518(0xe4)](_0x5b92b1[_0x3ca518(0x1f0)],'on'+_0x88045d,{'enumerable':!0x0,'get'(){for(const _0x222722 of this['listeners'](_0x88045d))if(_0x222722[_0x9e3915])return _0x222722[_0x19d7bb];return null;},'set'(_0x5182a1){const _0x220ee2=_0x3ca518;for(const _0x3b67e7 of this[_0x220ee2(0x1d1)](_0x88045d))if(_0x3b67e7[_0x9e3915]){this['removeListener'](_0x88045d,_0x3b67e7);break;}typeof _0x5182a1==_0x220ee2(0xd3)&&this['addEventListener'](_0x88045d,_0x5182a1,{[_0x9e3915]:!0x0});}});}),_0x5b92b1[_0x2119d6(0x1f0)]['addEventListener']=_0x51510c,_0x5b92b1[_0x2119d6(0x1f0)][_0x2119d6(0xc7)]=_0x36d9eb,we=_0x5b92b1;function _0x3e44d5(_0x425412,_0x2a3f0f,_0x4de382,_0x1f3509){const _0x2de6f9=_0x2119d6,_0x25b1b7={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x537e1b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1f3509,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2de6f9(0xa1),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x425412[_0x2de6f9(0x7d)]=_0x25b1b7['autoPong'],!_0x537e1b[_0x2de6f9(0x18c)](_0x25b1b7['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x25b1b7['protocolVersion']+_0x2de6f9(0x1a8)+_0x537e1b['join'](',\x20')+')');let _0x42f959;if(_0x2a3f0f instanceof _0x4c50b4)_0x42f959=_0x2a3f0f;else try{_0x42f959=new _0x4c50b4(_0x2a3f0f);}catch{throw new SyntaxError(_0x2de6f9(0xab)+_0x2a3f0f);}_0x42f959[_0x2de6f9(0xda)]==='http:'?_0x42f959[_0x2de6f9(0xda)]=_0x2de6f9(0x14d):_0x42f959['protocol']===_0x2de6f9(0x1cc)&&(_0x42f959['protocol']=_0x2de6f9(0x1b3)),_0x425412[_0x2de6f9(0xca)]=_0x42f959[_0x2de6f9(0xa3)];const _0x5f5d29=_0x42f959['protocol']===_0x2de6f9(0x1b3),_0x55ad03=_0x42f959[_0x2de6f9(0xda)]===_0x2de6f9(0x1a2);let _0x24e9b1;if(_0x42f959['protocol']!==_0x2de6f9(0x14d)&&!_0x5f5d29&&!_0x55ad03?_0x24e9b1=_0x2de6f9(0x1a5):_0x55ad03&&!_0x42f959['pathname']?_0x24e9b1=_0x2de6f9(0xb2):_0x42f959[_0x2de6f9(0x9d)]&&(_0x24e9b1=_0x2de6f9(0xaa)),_0x24e9b1){const _0x2c00e2=new SyntaxError(_0x24e9b1);if(_0x425412['_redirects']===0x0)throw _0x2c00e2;_0x166b51(_0x425412,_0x2c00e2);return;}const _0x384d4c=_0x5f5d29?0x1bb:0x50,_0x58c4f2=_0x5dd7ec(0x10)[_0x2de6f9(0x94)](_0x2de6f9(0x1c2)),_0x2767e8=_0x5f5d29?_0x1a280f['request']:_0x4dded5[_0x2de6f9(0xd4)],_0x237a5d=new Set();let _0x4b8fd6;if(_0x25b1b7[_0x2de6f9(0x1be)]=_0x25b1b7[_0x2de6f9(0x1be)]||(_0x5f5d29?_0x36e51a:_0x38d4d6),_0x25b1b7['defaultPort']=_0x25b1b7[_0x2de6f9(0xae)]||_0x384d4c,_0x25b1b7['port']=_0x42f959[_0x2de6f9(0x152)]||_0x384d4c,_0x25b1b7[_0x2de6f9(0x1b4)]=_0x42f959[_0x2de6f9(0xf5)][_0x2de6f9(0x125)]('[')?_0x42f959[_0x2de6f9(0xf5)]['slice'](0x1,-0x1):_0x42f959[_0x2de6f9(0xf5)],_0x25b1b7['headers']={..._0x25b1b7[_0x2de6f9(0x1e4)],'Sec-WebSocket-Version':_0x25b1b7[_0x2de6f9(0xc5)],'Sec-WebSocket-Key':_0x58c4f2,'Connection':'Upgrade','Upgrade':'websocket'},_0x25b1b7['path']=_0x42f959[_0x2de6f9(0x1c3)]+_0x42f959[_0x2de6f9(0x1a9)],_0x25b1b7[_0x2de6f9(0x1e1)]=_0x25b1b7['handshakeTimeout'],_0x25b1b7[_0x2de6f9(0x74)]&&(_0x4b8fd6=new _0x276146(_0x25b1b7[_0x2de6f9(0x74)]!==!0x0?_0x25b1b7[_0x2de6f9(0x74)]:{},!0x1,_0x25b1b7[_0x2de6f9(0x18b)]),_0x25b1b7['headers'][_0x2de6f9(0x1ce)]=_0x34afd4({[_0x276146[_0x2de6f9(0xac)]]:_0x4b8fd6[_0x2de6f9(0x11c)]()})),_0x4de382[_0x2de6f9(0x146)]){for(const _0x1c221c of _0x4de382){if(typeof _0x1c221c!=_0x2de6f9(0x113)||!_0xb24e4f[_0x2de6f9(0xa6)](_0x1c221c)||_0x237a5d[_0x2de6f9(0x220)](_0x1c221c))throw new SyntaxError(_0x2de6f9(0x1bb));_0x237a5d[_0x2de6f9(0x15d)](_0x1c221c);}_0x25b1b7[_0x2de6f9(0x1e4)][_0x2de6f9(0x1f3)]=_0x4de382[_0x2de6f9(0x211)](',');}if(_0x25b1b7['origin']&&(_0x25b1b7[_0x2de6f9(0xc5)]<0xd?_0x25b1b7['headers'][_0x2de6f9(0xe7)]=_0x25b1b7[_0x2de6f9(0x17c)]:_0x25b1b7[_0x2de6f9(0x1e4)][_0x2de6f9(0x20e)]=_0x25b1b7['origin']),(_0x42f959[_0x2de6f9(0x10f)]||_0x42f959[_0x2de6f9(0x20d)])&&(_0x25b1b7[_0x2de6f9(0x21d)]=_0x42f959[_0x2de6f9(0x10f)]+':'+_0x42f959['password']),_0x55ad03){const _0x4690a7=_0x25b1b7[_0x2de6f9(0x149)][_0x2de6f9(0x154)](':');_0x25b1b7[_0x2de6f9(0x19d)]=_0x4690a7[0x0],_0x25b1b7[_0x2de6f9(0x149)]=_0x4690a7[0x1];}let _0x6d2bd1;if(_0x25b1b7[_0x2de6f9(0x1de)]){if(_0x425412[_0x2de6f9(0x9e)]===0x0){_0x425412['_originalIpc']=_0x55ad03,_0x425412[_0x2de6f9(0xa9)]=_0x5f5d29,_0x425412[_0x2de6f9(0x145)]=_0x55ad03?_0x25b1b7[_0x2de6f9(0x19d)]:_0x42f959[_0x2de6f9(0x1b4)];const _0x4aa68b=_0x1f3509&&_0x1f3509[_0x2de6f9(0x1e4)];if(_0x1f3509={..._0x1f3509,'headers':{}},_0x4aa68b){for(const [_0x3171fd,_0xe621b5]of Object[_0x2de6f9(0x1ac)](_0x4aa68b))_0x1f3509[_0x2de6f9(0x1e4)][_0x3171fd['toLowerCase']()]=_0xe621b5;}}else{if(_0x425412[_0x2de6f9(0x200)](_0x2de6f9(0x188))===0x0){const _0x5bfb44=_0x55ad03?_0x425412[_0x2de6f9(0x104)]?_0x25b1b7[_0x2de6f9(0x19d)]===_0x425412[_0x2de6f9(0x145)]:!0x1:_0x425412[_0x2de6f9(0x104)]?!0x1:_0x42f959['host']===_0x425412[_0x2de6f9(0x145)];(!_0x5bfb44||_0x425412['_originalSecure']&&!_0x5f5d29)&&(delete _0x25b1b7[_0x2de6f9(0x1e4)][_0x2de6f9(0x1f6)],delete _0x25b1b7[_0x2de6f9(0x1e4)][_0x2de6f9(0x1d9)],_0x5bfb44||delete _0x25b1b7[_0x2de6f9(0x1e4)][_0x2de6f9(0x1b4)],_0x25b1b7[_0x2de6f9(0x21d)]=void 0x0);}}_0x25b1b7[_0x2de6f9(0x21d)]&&!_0x1f3509[_0x2de6f9(0x1e4)]['authorization']&&(_0x1f3509[_0x2de6f9(0x1e4)][_0x2de6f9(0x1f6)]='Basic\x20'+Buffer[_0x2de6f9(0x162)](_0x25b1b7[_0x2de6f9(0x21d)])[_0x2de6f9(0x94)](_0x2de6f9(0x1c2))),_0x6d2bd1=_0x425412[_0x2de6f9(0xbb)]=_0x2767e8(_0x25b1b7),_0x425412[_0x2de6f9(0x9e)]&&_0x425412[_0x2de6f9(0x15a)](_0x2de6f9(0x188),_0x425412[_0x2de6f9(0x1d7)],_0x6d2bd1);}else _0x6d2bd1=_0x425412[_0x2de6f9(0xbb)]=_0x2767e8(_0x25b1b7);_0x25b1b7[_0x2de6f9(0x1e1)]&&_0x6d2bd1['on']('timeout',()=>{const _0x295710=_0x2de6f9;_0x26952a(_0x425412,_0x6d2bd1,_0x295710(0x84));}),_0x6d2bd1['on'](_0x2de6f9(0x18f),_0x39346d=>{const _0x18aeb6=_0x2de6f9;_0x6d2bd1===null||_0x6d2bd1[_0x1e2f5e]||(_0x6d2bd1=_0x425412[_0x18aeb6(0xbb)]=null,_0x166b51(_0x425412,_0x39346d));}),_0x6d2bd1['on'](_0x2de6f9(0x86),_0x1831db=>{const _0x10c7e6=_0x2de6f9,_0x42dc79=_0x1831db['headers']['location'],_0x4cbf81=_0x1831db[_0x10c7e6(0x1b6)];if(_0x42dc79&&_0x25b1b7[_0x10c7e6(0x1de)]&&_0x4cbf81>=0x12c&&_0x4cbf81<0x190){if(++_0x425412[_0x10c7e6(0x9e)]>_0x25b1b7[_0x10c7e6(0xc1)]){_0x26952a(_0x425412,_0x6d2bd1,_0x10c7e6(0x1b1));return;}_0x6d2bd1[_0x10c7e6(0x1c5)]();let _0x248d42;try{_0x248d42=new _0x4c50b4(_0x42dc79,_0x2a3f0f);}catch{const _0x4cea83=new SyntaxError('Invalid\x20URL:\x20'+_0x42dc79);_0x166b51(_0x425412,_0x4cea83);return;}_0x3e44d5(_0x425412,_0x248d42,_0x4de382,_0x1f3509);}else _0x425412[_0x10c7e6(0x15a)](_0x10c7e6(0x102),_0x6d2bd1,_0x1831db)||_0x26952a(_0x425412,_0x6d2bd1,_0x10c7e6(0xf2)+_0x1831db[_0x10c7e6(0x1b6)]);}),_0x6d2bd1['on'](_0x2de6f9(0x10e),(_0x75ecb2,_0x7cba00,_0x857e58)=>{const _0x452e6e=_0x2de6f9;if(_0x425412['emit'](_0x452e6e(0x10e),_0x75ecb2),_0x425412[_0x452e6e(0xd9)]!==_0x5b92b1['CONNECTING'])return;_0x6d2bd1=_0x425412[_0x452e6e(0xbb)]=null;const _0x502e3e=_0x75ecb2[_0x452e6e(0x1e4)][_0x452e6e(0x10e)];if(_0x502e3e===void 0x0||_0x502e3e[_0x452e6e(0x1d5)]()!==_0x452e6e(0x11b)){_0x26952a(_0x425412,_0x7cba00,_0x452e6e(0x194));return;}const _0x1f2434=_0x5bb524('sha1')[_0x452e6e(0x82)](_0x58c4f2+_0x570fa0)[_0x452e6e(0x114)](_0x452e6e(0x1c2));if(_0x75ecb2[_0x452e6e(0x1e4)][_0x452e6e(0x209)]!==_0x1f2434){_0x26952a(_0x425412,_0x7cba00,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x180d65=_0x75ecb2['headers'][_0x452e6e(0xfd)];let _0xb98834;if(_0x180d65!==void 0x0?_0x237a5d[_0x452e6e(0xc8)]?_0x237a5d[_0x452e6e(0x220)](_0x180d65)||(_0xb98834=_0x452e6e(0x1b7)):_0xb98834=_0x452e6e(0x1cd):_0x237a5d[_0x452e6e(0xc8)]&&(_0xb98834=_0x452e6e(0xe1)),_0xb98834){_0x26952a(_0x425412,_0x7cba00,_0xb98834);return;}_0x180d65&&(_0x425412[_0x452e6e(0x141)]=_0x180d65);const _0x243777=_0x75ecb2['headers']['sec-websocket-extensions'];if(_0x243777!==void 0x0){if(!_0x4b8fd6){_0x26952a(_0x425412,_0x7cba00,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x47d3a5;try{_0x47d3a5=_0x49ee30(_0x243777);}catch{_0x26952a(_0x425412,_0x7cba00,_0x452e6e(0x17d));return;}const _0x4700e3=Object[_0x452e6e(0x1fa)](_0x47d3a5);if(_0x4700e3[_0x452e6e(0x146)]!==0x1||_0x4700e3[0x0]!==_0x276146[_0x452e6e(0xac)]){_0x26952a(_0x425412,_0x7cba00,_0x452e6e(0x1a0));return;}try{_0x4b8fd6[_0x452e6e(0x88)](_0x47d3a5[_0x276146[_0x452e6e(0xac)]]);}catch{_0x26952a(_0x425412,_0x7cba00,_0x452e6e(0x17d));return;}_0x425412[_0x452e6e(0x183)][_0x276146[_0x452e6e(0xac)]]=_0x4b8fd6;}_0x425412['setSocket'](_0x7cba00,_0x857e58,{'allowSynchronousEvents':_0x25b1b7['allowSynchronousEvents'],'generateMask':_0x25b1b7[_0x452e6e(0x1ed)],'maxPayload':_0x25b1b7[_0x452e6e(0x18b)],'skipUTF8Validation':_0x25b1b7[_0x452e6e(0xb5)]});}),_0x25b1b7[_0x2de6f9(0xc4)]?_0x25b1b7[_0x2de6f9(0xc4)](_0x6d2bd1,_0x425412):_0x6d2bd1['end']();}function _0x166b51(_0x1db2a2,_0xfb8f1d){const _0x5c8afd=_0x2119d6;_0x1db2a2[_0x5c8afd(0xd7)]=_0x5b92b1[_0x5c8afd(0x153)],_0x1db2a2[_0x5c8afd(0x117)]=!0x0,_0x1db2a2[_0x5c8afd(0x15a)](_0x5c8afd(0x18f),_0xfb8f1d),_0x1db2a2[_0x5c8afd(0x1b9)]();}function _0x38d4d6(_0x32cf9c){const _0x1313bc=_0x2119d6;return _0x32cf9c[_0x1313bc(0x149)]=_0x32cf9c[_0x1313bc(0x19d)],_0x3bccc2['connect'](_0x32cf9c);}function _0x36e51a(_0x2578bd){const _0x2ef1b0=_0x2119d6;return _0x2578bd['path']=void 0x0,!_0x2578bd[_0x2ef1b0(0x1a6)]&&_0x2578bd[_0x2ef1b0(0x1a6)]!==''&&(_0x2578bd[_0x2ef1b0(0x1a6)]=_0x3bccc2[_0x2ef1b0(0x1dd)](_0x2578bd['host'])?'':_0x2578bd[_0x2ef1b0(0x1b4)]),_0x3f8d1c['connect'](_0x2578bd);}function _0x26952a(_0x3d7f33,_0x80923b,_0x5b3207){const _0x379e46=_0x2119d6;_0x3d7f33[_0x379e46(0xd7)]=_0x5b92b1[_0x379e46(0x153)];const _0x1cdb1f=new Error(_0x5b3207);Error[_0x379e46(0x159)](_0x1cdb1f,_0x26952a),_0x80923b['setHeader']?(_0x80923b[_0x1e2f5e]=!0x0,_0x80923b['abort'](),_0x80923b['socket']&&!_0x80923b[_0x379e46(0x1e0)][_0x379e46(0x20c)]&&_0x80923b[_0x379e46(0x1e0)][_0x379e46(0x17b)](),process[_0x379e46(0xbf)](_0x166b51,_0x3d7f33,_0x1cdb1f)):(_0x80923b[_0x379e46(0x17b)](_0x1cdb1f),_0x80923b[_0x379e46(0x14b)](_0x379e46(0x18f),_0x3d7f33[_0x379e46(0x15a)][_0x379e46(0xdf)](_0x3d7f33,_0x379e46(0x18f))),_0x80923b[_0x379e46(0x14b)]('close',_0x3d7f33[_0x379e46(0x1b9)]['bind'](_0x3d7f33)));}function _0x1dab66(_0x59fbc1,_0x2be73b,_0x1ee366){const _0xf270d9=_0x2119d6;if(_0x2be73b){const _0x17c43a=_0x1dbdb5(_0x2be73b)?_0x2be73b[_0xf270d9(0xc8)]:_0x645d4d(_0x2be73b)[_0xf270d9(0x146)];_0x59fbc1['_socket']?_0x59fbc1[_0xf270d9(0xb7)][_0xf270d9(0x134)]+=_0x17c43a:_0x59fbc1[_0xf270d9(0xf4)]+=_0x17c43a;}if(_0x1ee366){const _0x1bb000=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x59fbc1[_0xf270d9(0xd9)]+'\x20('+_0xdd9403[_0x59fbc1['readyState']]+')');process[_0xf270d9(0xbf)](_0x1ee366,_0x1bb000);}}function _0x121a69(_0xb06a,_0x1f2880){const _0xff16d2=_0x2119d6,_0x947090=this[_0x4092cb];_0x947090[_0xff16d2(0x8b)]=!0x0,_0x947090[_0xff16d2(0x126)]=_0x1f2880,_0x947090[_0xff16d2(0x1fb)]=_0xb06a,_0x947090['_socket'][_0x4092cb]!==void 0x0&&(_0x947090[_0xff16d2(0x164)]['removeListener']('data',_0x28a88a),process['nextTick'](_0x451228,_0x947090['_socket']),_0xb06a===0x3ed?_0x947090[_0xff16d2(0xd2)]():_0x947090[_0xff16d2(0xd2)](_0xb06a,_0x1f2880));}function _0x3a44d0(){const _0x49437d=_0x2119d6,_0x5abce3=this[_0x4092cb];_0x5abce3[_0x49437d(0x110)]||_0x5abce3[_0x49437d(0x164)]['resume']();}function _0x11e588(_0x300a78){const _0x6c39a=_0x2119d6,_0x500b26=this[_0x4092cb];_0x500b26[_0x6c39a(0x164)][_0x4092cb]!==void 0x0&&(_0x500b26[_0x6c39a(0x164)][_0x6c39a(0x1b5)](_0x6c39a(0x1fd),_0x28a88a),process['nextTick'](_0x451228,_0x500b26[_0x6c39a(0x164)]),_0x500b26[_0x6c39a(0xd2)](_0x300a78[_0x380068])),_0x500b26[_0x6c39a(0x117)]||(_0x500b26[_0x6c39a(0x117)]=!0x0,_0x500b26[_0x6c39a(0x15a)](_0x6c39a(0x18f),_0x300a78));}function _0x5c61d9(){const _0x31ae39=_0x2119d6;this[_0x4092cb][_0x31ae39(0x1b9)]();}function _0x5ef3a6(_0x3cdae8,_0x3c8307){const _0xb586bc=_0x2119d6;this[_0x4092cb]['emit'](_0xb586bc(0x111),_0x3cdae8,_0x3c8307);}function _0x5eed11(_0x1466a9){const _0x16cea1=_0x2119d6,_0x577044=this[_0x4092cb];_0x577044[_0x16cea1(0x7d)]&&_0x577044[_0x16cea1(0x16c)](_0x1466a9,!this[_0x16cea1(0x1a1)],_0x4162aa),_0x577044['emit'](_0x16cea1(0x116),_0x1466a9);}function _0x51fda1(_0x40005a){const _0x5e49ea=_0x2119d6;this[_0x4092cb][_0x5e49ea(0x15a)](_0x5e49ea(0x16c),_0x40005a);}function _0x451228(_0x1ee617){const _0x273c0b=_0x2119d6;_0x1ee617[_0x273c0b(0x14c)]();}function _0x1efc7f(_0x2e3006){const _0x5c8f67=_0x2119d6,_0x823599=this[_0x4092cb];_0x823599[_0x5c8f67(0xd9)]!==_0x5b92b1[_0x5c8f67(0x1d2)]&&(_0x823599['readyState']===_0x5b92b1[_0x5c8f67(0xfb)]&&(_0x823599[_0x5c8f67(0xd7)]=_0x5b92b1[_0x5c8f67(0x153)],_0x43dc30(_0x823599)),this[_0x5c8f67(0x164)]['end'](),_0x823599[_0x5c8f67(0x117)]||(_0x823599['_errorEmitted']=!0x0,_0x823599[_0x5c8f67(0x15a)]('error',_0x2e3006)));}function _0x43dc30(_0x557df9){const _0x39b5ed=_0x2119d6;_0x557df9[_0x39b5ed(0x11f)]=setTimeout(_0x557df9[_0x39b5ed(0x164)]['destroy'][_0x39b5ed(0xdf)](_0x557df9[_0x39b5ed(0x164)]),_0x27be32);}function _0x32d7e7(){const _0x3fdfcb=_0x2119d6,_0x2b25f1=this[_0x4092cb];this[_0x3fdfcb(0x1b5)](_0x3fdfcb(0xd2),_0x32d7e7),this['removeListener'](_0x3fdfcb(0x1fd),_0x28a88a),this['removeListener'](_0x3fdfcb(0x218),_0x5d2d56),_0x2b25f1[_0x3fdfcb(0xd7)]=_0x5b92b1[_0x3fdfcb(0x153)];let _0x476803;!this[_0x3fdfcb(0x1c9)]['endEmitted']&&!_0x2b25f1[_0x3fdfcb(0x8b)]&&!_0x2b25f1[_0x3fdfcb(0xf8)][_0x3fdfcb(0x18a)][_0x3fdfcb(0x1c7)]&&(_0x476803=_0x2b25f1[_0x3fdfcb(0x164)]['read']())!==null&&_0x2b25f1[_0x3fdfcb(0xf8)][_0x3fdfcb(0x1d0)](_0x476803),_0x2b25f1[_0x3fdfcb(0xf8)][_0x3fdfcb(0x218)](),this[_0x4092cb]=void 0x0,clearTimeout(_0x2b25f1[_0x3fdfcb(0x11f)]),_0x2b25f1[_0x3fdfcb(0xf8)][_0x3fdfcb(0x18a)][_0x3fdfcb(0x14e)]||_0x2b25f1[_0x3fdfcb(0xf8)][_0x3fdfcb(0x18a)][_0x3fdfcb(0x1c7)]?_0x2b25f1[_0x3fdfcb(0x1b9)]():(_0x2b25f1['_receiver']['on'](_0x3fdfcb(0x18f),_0x5c61d9),_0x2b25f1[_0x3fdfcb(0xf8)]['on'](_0x3fdfcb(0x140),_0x5c61d9));}function _0x28a88a(_0x43ccc7){const _0x5afe4c=_0x2119d6;this[_0x4092cb]['_receiver']['write'](_0x43ccc7)||this[_0x5afe4c(0x19e)]();}function _0x5d2d56(){const _0x1a60ef=_0x2119d6,_0xb26b91=this[_0x4092cb];_0xb26b91[_0x1a60ef(0xd7)]=_0x5b92b1[_0x1a60ef(0x153)],_0xb26b91[_0x1a60ef(0xf8)][_0x1a60ef(0x218)](),this[_0x1a60ef(0x218)]();}function _0x4743cd(){const _0xc6becd=_0x2119d6,_0x2a032d=this[_0x4092cb];this[_0xc6becd(0x1b5)]('error',_0x4743cd),this['on'](_0xc6becd(0x18f),_0x4162aa),_0x2a032d&&(_0x2a032d[_0xc6becd(0xd7)]=_0x5b92b1[_0xc6becd(0x153)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x48ce29}=_0xcbb80b;function _0x19cc22(_0x58ea76){const _0x2f83c8=_0x1e5a;_0x58ea76[_0x2f83c8(0x15a)](_0x2f83c8(0xd2));}function _0x2d812a(){const _0x2ec105=_0x1e5a;!this[_0x2ec105(0x20c)]&&this[_0x2ec105(0x18a)]['finished']&&this['destroy']();}function _0x24fc0a(_0x26433b){const _0x2059a6=_0x1e5a;this[_0x2059a6(0x1b5)](_0x2059a6(0x18f),_0x24fc0a),this[_0x2059a6(0x17b)](),this['listenerCount'](_0x2059a6(0x18f))===0x0&&this[_0x2059a6(0x15a)](_0x2059a6(0x18f),_0x26433b);}function _0x59eb56(_0x434f26,_0x476863){const _0x3afdef=_0x1e5a;let _0x3cd6b1=!0x0;const _0x103acd=new _0x48ce29({..._0x476863,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x434f26['on'](_0x3afdef(0x111),function(_0x564844,_0x2c3d2f){const _0x485d3f=_0x3afdef,_0x41c4fa=!_0x2c3d2f&&_0x103acd[_0x485d3f(0x1c9)][_0x485d3f(0xa0)]?_0x564844['toString']():_0x564844;_0x103acd[_0x485d3f(0x1c8)](_0x41c4fa)||_0x434f26['pause']();}),_0x434f26[_0x3afdef(0x14b)]('error',function(_0x22fcd9){const _0x1bdcc7=_0x3afdef;_0x103acd[_0x1bdcc7(0x20c)]||(_0x3cd6b1=!0x1,_0x103acd[_0x1bdcc7(0x17b)](_0x22fcd9));}),_0x434f26[_0x3afdef(0x14b)]('close',function(){const _0x243464=_0x3afdef;_0x103acd[_0x243464(0x20c)]||_0x103acd[_0x243464(0x1c8)](null);}),_0x103acd[_0x3afdef(0x1dc)]=function(_0x4dd283,_0x23cfc5){const _0x1ac315=_0x3afdef;if(_0x434f26[_0x1ac315(0xd9)]===_0x434f26[_0x1ac315(0x1d2)]){_0x23cfc5(_0x4dd283),process[_0x1ac315(0xbf)](_0x19cc22,_0x103acd);return;}let _0x5b36f2=!0x1;_0x434f26['once'](_0x1ac315(0x18f),function(_0x590707){_0x5b36f2=!0x0,_0x23cfc5(_0x590707);}),_0x434f26[_0x1ac315(0x14b)](_0x1ac315(0xd2),function(){_0x5b36f2||_0x23cfc5(_0x4dd283),process['nextTick'](_0x19cc22,_0x103acd);}),_0x3cd6b1&&_0x434f26[_0x1ac315(0x9a)]();},_0x103acd[_0x3afdef(0xf6)]=function(_0x39ddad){const _0x2288ae=_0x3afdef;if(_0x434f26[_0x2288ae(0xd9)]===_0x434f26[_0x2288ae(0xef)]){_0x434f26[_0x2288ae(0x14b)](_0x2288ae(0x12a),function(){_0x103acd['_final'](_0x39ddad);});return;}_0x434f26[_0x2288ae(0x164)]!==null&&(_0x434f26[_0x2288ae(0x164)][_0x2288ae(0x18a)]['finished']?(_0x39ddad(),_0x103acd[_0x2288ae(0x1c9)][_0x2288ae(0x215)]&&_0x103acd['destroy']()):(_0x434f26['_socket'][_0x2288ae(0x14b)]('finish',function(){_0x39ddad();}),_0x434f26[_0x2288ae(0xd2)]()));},_0x103acd[_0x3afdef(0x15b)]=function(){const _0xf29a25=_0x3afdef;_0x434f26['isPaused']&&_0x434f26[_0xf29a25(0x14c)]();},_0x103acd[_0x3afdef(0x1e3)]=function(_0x253d58,_0x1328b3,_0x1604c2){const _0x8de7c8=_0x3afdef;if(_0x434f26['readyState']===_0x434f26[_0x8de7c8(0xef)]){_0x434f26[_0x8de7c8(0x14b)]('open',function(){const _0x535d13=_0x8de7c8;_0x103acd[_0x535d13(0x1e3)](_0x253d58,_0x1328b3,_0x1604c2);});return;}_0x434f26[_0x8de7c8(0xd1)](_0x253d58,_0x1604c2);},_0x103acd['on'](_0x3afdef(0x218),_0x2d812a),_0x103acd['on']('error',_0x24fc0a),_0x103acd;}return Oe=_0x59eb56,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x4b01ea}=ne();function _0x397def(_0x37432b){const _0x17b0de=_0x1e5a,_0x515647=new Set();let _0x184faf=-0x1,_0x350b76=-0x1,_0x53ef37=0x0;for(_0x53ef37;_0x53ef37<_0x37432b['length'];_0x53ef37++){const _0x599f63=_0x37432b[_0x17b0de(0xb1)](_0x53ef37);if(_0x350b76===-0x1&&_0x4b01ea[_0x599f63]===0x1)_0x184faf===-0x1&&(_0x184faf=_0x53ef37);else{if(_0x53ef37!==0x0&&(_0x599f63===0x20||_0x599f63===0x9))_0x350b76===-0x1&&_0x184faf!==-0x1&&(_0x350b76=_0x53ef37);else{if(_0x599f63===0x2c){if(_0x184faf===-0x1)throw new SyntaxError(_0x17b0de(0x185)+_0x53ef37);_0x350b76===-0x1&&(_0x350b76=_0x53ef37);const _0x2f4f32=_0x37432b[_0x17b0de(0x1ea)](_0x184faf,_0x350b76);if(_0x515647['has'](_0x2f4f32))throw new SyntaxError('The\x20\x22'+_0x2f4f32+_0x17b0de(0x75));_0x515647[_0x17b0de(0x15d)](_0x2f4f32),_0x184faf=_0x350b76=-0x1;}else throw new SyntaxError(_0x17b0de(0x185)+_0x53ef37);}}}if(_0x184faf===-0x1||_0x350b76!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x5bc72e=_0x37432b[_0x17b0de(0x1ea)](_0x184faf,_0x53ef37);if(_0x515647[_0x17b0de(0x220)](_0x5bc72e))throw new SyntaxError('The\x20\x22'+_0x5bc72e+_0x17b0de(0x75));return _0x515647[_0x17b0de(0x15d)](_0x5bc72e),_0x515647;}return Ce={'parse':_0x397def},Ce;}var Te,ot;function er(){const _0x1a50aa=_0x1657c7;if(ot)return Te;ot=0x1;const _0x3cced1=_0x2d07e8,_0x418489=_0x2a5600,{Duplex:_0x233b06}=_0xcbb80b,{createHash:_0x57126b}=_0x4d6c27,_0x480961=pt(),_0x341a7a=he(),_0x519a25=Jt(),_0x8ad3f1=Ie(),{GUID:_0x2dd275,kWebSocket:_0x8fe435}=V(),_0x423a43=/^[+/0-9A-Za-z]{22}==$/,_0x981d1a=0x0,_0x4c6a91=0x1,_0x1d5504=0x2;class _0x497801 extends _0x3cced1{constructor(_0x13416c,_0x3d7971){const _0xc471d5=_0x1e5a;if(super(),_0x13416c={'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':_0x8ad3f1,..._0x13416c},_0x13416c[_0xc471d5(0x152)]==null&&!_0x13416c[_0xc471d5(0x73)]&&!_0x13416c[_0xc471d5(0x221)]||_0x13416c[_0xc471d5(0x152)]!=null&&(_0x13416c[_0xc471d5(0x73)]||_0x13416c[_0xc471d5(0x221)])||_0x13416c[_0xc471d5(0x73)]&&_0x13416c[_0xc471d5(0x221)])throw new TypeError(_0xc471d5(0x1ec));if(_0x13416c['port']!=null?(this[_0xc471d5(0x182)]=_0x418489[_0xc471d5(0x192)]((_0x9e2619,_0x3926c9)=>{const _0x153aef=_0xc471d5,_0xce83e3=_0x418489[_0x153aef(0x148)][0x1aa];_0x3926c9[_0x153aef(0x1ad)](0x1aa,{'Content-Length':_0xce83e3[_0x153aef(0x146)],'Content-Type':'text/plain'}),_0x3926c9[_0x153aef(0x218)](_0xce83e3);}),this[_0xc471d5(0x182)][_0xc471d5(0x181)](_0x13416c[_0xc471d5(0x152)],_0x13416c['host'],_0x13416c['backlog'],_0x3d7971)):_0x13416c['server']&&(this['_server']=_0x13416c[_0xc471d5(0x73)]),this[_0xc471d5(0x182)]){const _0x4e8339=this[_0xc471d5(0x15a)][_0xc471d5(0xdf)](this,_0xc471d5(0x118));this[_0xc471d5(0x1d4)]=_0x1385c3(this['_server'],{'listening':this[_0xc471d5(0x15a)]['bind'](this,_0xc471d5(0x161)),'error':this[_0xc471d5(0x15a)]['bind'](this,_0xc471d5(0x18f)),'upgrade':(_0x2acea5,_0x2c5d4b,_0xcf4df9)=>{const _0x34069a=_0xc471d5;this[_0x34069a(0xb0)](_0x2acea5,_0x2c5d4b,_0xcf4df9,_0x4e8339);}});}_0x13416c['perMessageDeflate']===!0x0&&(_0x13416c[_0xc471d5(0x74)]={}),_0x13416c[_0xc471d5(0x9f)]&&(this[_0xc471d5(0x19a)]=new Set(),this[_0xc471d5(0x81)]=!0x1),this[_0xc471d5(0xa5)]=_0x13416c,this[_0xc471d5(0x12e)]=_0x981d1a;}['address'](){const _0x236268=_0x1e5a;if(this['options'][_0x236268(0x221)])throw new Error(_0x236268(0xee));return this[_0x236268(0x182)]?this['_server'][_0x236268(0xdc)]():null;}['close'](_0xe788cb){const _0x529926=_0x1e5a;if(this['_state']===_0x1d5504){_0xe788cb&&this['once'](_0x529926(0xd2),()=>{_0xe788cb(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x529926(0xbf)](_0x106992,this);return;}if(_0xe788cb&&this[_0x529926(0x14b)]('close',_0xe788cb),this[_0x529926(0x12e)]!==_0x4c6a91){if(this[_0x529926(0x12e)]=_0x4c6a91,this[_0x529926(0xa5)]['noServer']||this[_0x529926(0xa5)]['server'])this[_0x529926(0x182)]&&(this['_removeListeners'](),this['_removeListeners']=this['_server']=null),this['clients']?this[_0x529926(0x19a)][_0x529926(0xc8)]?this[_0x529926(0x81)]=!0x0:process['nextTick'](_0x106992,this):process[_0x529926(0xbf)](_0x106992,this);else{const _0x593703=this[_0x529926(0x182)];this['_removeListeners'](),this[_0x529926(0x1d4)]=this['_server']=null,_0x593703[_0x529926(0xd2)](()=>{_0x106992(this);});}}}[_0x1a50aa(0x1ef)](_0x15bf9b){const _0x464c46=_0x1a50aa;if(this['options'][_0x464c46(0x149)]){const _0x2684b9=_0x15bf9b[_0x464c46(0x1d7)]['indexOf']('?');if((_0x2684b9!==-0x1?_0x15bf9b[_0x464c46(0x1d7)][_0x464c46(0x1ea)](0x0,_0x2684b9):_0x15bf9b['url'])!==this[_0x464c46(0xa5)][_0x464c46(0x149)])return!0x1;}return!0x0;}['handleUpgrade'](_0x542ebd,_0x57d106,_0x46c87b,_0xe815e){const _0x14ac66=_0x1a50aa;_0x57d106['on'](_0x14ac66(0x18f),_0x290c20);const _0x2dc769=_0x542ebd[_0x14ac66(0x1e4)]['sec-websocket-key'],_0x27183d=_0x542ebd[_0x14ac66(0x1e4)][_0x14ac66(0x10e)],_0xc22173=+_0x542ebd[_0x14ac66(0x1e4)][_0x14ac66(0x1ae)];if(_0x542ebd[_0x14ac66(0x128)]!==_0x14ac66(0xa1)){_0x1192a6(this,_0x542ebd,_0x57d106,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x27183d===void 0x0||_0x27183d[_0x14ac66(0x1d5)]()!==_0x14ac66(0x11b)){_0x1192a6(this,_0x542ebd,_0x57d106,0x190,_0x14ac66(0x194));return;}if(_0x2dc769===void 0x0||!_0x423a43[_0x14ac66(0xa6)](_0x2dc769)){_0x1192a6(this,_0x542ebd,_0x57d106,0x190,_0x14ac66(0x21e));return;}if(_0xc22173!==0x8&&_0xc22173!==0xd){_0x1192a6(this,_0x542ebd,_0x57d106,0x190,_0x14ac66(0x132));return;}if(!this[_0x14ac66(0x1ef)](_0x542ebd)){_0xbdd787(_0x57d106,0x190);return;}const _0x3d8dcd=_0x542ebd['headers'][_0x14ac66(0xfd)];let _0x4abc16=new Set();if(_0x3d8dcd!==void 0x0)try{_0x4abc16=_0x519a25[_0x14ac66(0xde)](_0x3d8dcd);}catch{_0x1192a6(this,_0x542ebd,_0x57d106,0x190,_0x14ac66(0x12f));return;}const _0x1b1c1e=_0x542ebd[_0x14ac66(0x1e4)][_0x14ac66(0x1ff)],_0x12bcea={};if(this['options'][_0x14ac66(0x74)]&&_0x1b1c1e!==void 0x0){const _0x44db74=new _0x341a7a(this[_0x14ac66(0xa5)][_0x14ac66(0x74)],!0x0,this[_0x14ac66(0xa5)][_0x14ac66(0x18b)]);try{const _0x5d419d=_0x480961[_0x14ac66(0xde)](_0x1b1c1e);_0x5d419d[_0x341a7a[_0x14ac66(0xac)]]&&(_0x44db74[_0x14ac66(0x88)](_0x5d419d[_0x341a7a[_0x14ac66(0xac)]]),_0x12bcea[_0x341a7a[_0x14ac66(0xac)]]=_0x44db74);}catch{_0x1192a6(this,_0x542ebd,_0x57d106,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x14ac66(0xa5)][_0x14ac66(0xf1)]){const _0x551a0b={'origin':_0x542ebd[_0x14ac66(0x1e4)][''+(_0xc22173===0x8?'sec-websocket-origin':_0x14ac66(0x17c))],'secure':!!(_0x542ebd['socket'][_0x14ac66(0x15f)]||_0x542ebd[_0x14ac66(0x1e0)][_0x14ac66(0x105)]),'req':_0x542ebd};if(this[_0x14ac66(0xa5)]['verifyClient']['length']===0x2){this[_0x14ac66(0xa5)][_0x14ac66(0xf1)](_0x551a0b,(_0x1a11be,_0x378b96,_0x2e593f,_0x5efc30)=>{if(!_0x1a11be)return _0xbdd787(_0x57d106,_0x378b96||0x191,_0x2e593f,_0x5efc30);this['completeUpgrade'](_0x12bcea,_0x2dc769,_0x4abc16,_0x542ebd,_0x57d106,_0x46c87b,_0xe815e);});return;}if(!this[_0x14ac66(0xa5)][_0x14ac66(0xf1)](_0x551a0b))return _0xbdd787(_0x57d106,0x191);}this['completeUpgrade'](_0x12bcea,_0x2dc769,_0x4abc16,_0x542ebd,_0x57d106,_0x46c87b,_0xe815e);}[_0x1a50aa(0xed)](_0x3f03ed,_0x4ad376,_0x3c6d19,_0xd7203b,_0x304025,_0x30fdac,_0x49e18d){const _0x2a671d=_0x1a50aa;if(!_0x304025[_0x2a671d(0x13b)]||!_0x304025[_0x2a671d(0x1eb)])return _0x304025[_0x2a671d(0x17b)]();if(_0x304025[_0x8fe435])throw new Error(_0x2a671d(0x8e));if(this[_0x2a671d(0x12e)]>_0x981d1a)return _0xbdd787(_0x304025,0x1f7);const _0x52d9d8=[_0x2a671d(0x106),_0x2a671d(0x100),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x57126b(_0x2a671d(0x136))[_0x2a671d(0x82)](_0x4ad376+_0x2dd275)[_0x2a671d(0x114)](_0x2a671d(0x1c2))],_0x10db86=new this[(_0x2a671d(0xa5))][(_0x2a671d(0x176))](null,void 0x0,this[_0x2a671d(0xa5)]);if(_0x3c6d19[_0x2a671d(0xc8)]){const _0x4b0898=this[_0x2a671d(0xa5)][_0x2a671d(0x1e7)]?this[_0x2a671d(0xa5)]['handleProtocols'](_0x3c6d19,_0xd7203b):_0x3c6d19['values']()[_0x2a671d(0x16f)]()[_0x2a671d(0xbe)];_0x4b0898&&(_0x52d9d8[_0x2a671d(0x1c8)](_0x2a671d(0x163)+_0x4b0898),_0x10db86['_protocol']=_0x4b0898);}if(_0x3f03ed[_0x341a7a[_0x2a671d(0xac)]]){const _0x328f0b=_0x3f03ed[_0x341a7a['extensionName']]['params'],_0x12dce5=_0x480961[_0x2a671d(0x177)]({[_0x341a7a[_0x2a671d(0xac)]]:[_0x328f0b]});_0x52d9d8['push'](_0x2a671d(0xe6)+_0x12dce5),_0x10db86[_0x2a671d(0x183)]=_0x3f03ed;}this[_0x2a671d(0x15a)]('headers',_0x52d9d8,_0xd7203b),_0x304025[_0x2a671d(0x1d0)](_0x52d9d8[_0x2a671d(0x14f)]('\x0d\x0a')['join']('\x0d\x0a')),_0x304025[_0x2a671d(0x1b5)](_0x2a671d(0x18f),_0x290c20),_0x10db86[_0x2a671d(0x112)](_0x304025,_0x30fdac,{'allowSynchronousEvents':this[_0x2a671d(0xa5)][_0x2a671d(0x1f7)],'maxPayload':this[_0x2a671d(0xa5)][_0x2a671d(0x18b)],'skipUTF8Validation':this['options'][_0x2a671d(0xb5)]}),this['clients']&&(this[_0x2a671d(0x19a)][_0x2a671d(0x15d)](_0x10db86),_0x10db86['on'](_0x2a671d(0xd2),()=>{const _0x1662ee=_0x2a671d;this['clients'][_0x1662ee(0x1d8)](_0x10db86),this[_0x1662ee(0x81)]&&!this[_0x1662ee(0x19a)][_0x1662ee(0xc8)]&&process[_0x1662ee(0xbf)](_0x106992,this);})),_0x49e18d(_0x10db86,_0xd7203b);}}Te=_0x497801;function _0x1385c3(_0x482c46,_0x499056){const _0x56b3fb=_0x1a50aa;for(const _0x29a8c9 of Object[_0x56b3fb(0x1fa)](_0x499056))_0x482c46['on'](_0x29a8c9,_0x499056[_0x29a8c9]);return function(){const _0x38e102=_0x56b3fb;for(const _0x112e7f of Object[_0x38e102(0x1fa)](_0x499056))_0x482c46[_0x38e102(0x1b5)](_0x112e7f,_0x499056[_0x112e7f]);};}function _0x106992(_0x5051c2){const _0x36733c=_0x1a50aa;_0x5051c2[_0x36733c(0x12e)]=_0x1d5504,_0x5051c2[_0x36733c(0x15a)](_0x36733c(0xd2));}function _0x290c20(){const _0x770cc7=_0x1a50aa;this[_0x770cc7(0x17b)]();}function _0xbdd787(_0x461834,_0x308c6c,_0x3d6dc6,_0x274b0b){const _0x1e4927=_0x1a50aa;_0x3d6dc6=_0x3d6dc6||_0x418489[_0x1e4927(0x148)][_0x308c6c],_0x274b0b={'Connection':_0x1e4927(0xd2),'Content-Type':'text/html','Content-Length':Buffer[_0x1e4927(0xad)](_0x3d6dc6),..._0x274b0b},_0x461834[_0x1e4927(0x14b)](_0x1e4927(0x140),_0x461834['destroy']),_0x461834['end'](_0x1e4927(0x167)+_0x308c6c+'\x20'+_0x418489[_0x1e4927(0x148)][_0x308c6c]+'\x0d\x0a'+Object[_0x1e4927(0x1fa)](_0x274b0b)[_0x1e4927(0x99)](_0x2f96f5=>_0x2f96f5+':\x20'+_0x274b0b[_0x2f96f5])['join']('\x0d\x0a')+_0x1e4927(0x119)+_0x3d6dc6);}function _0x1192a6(_0x1d7eb8,_0x39dfca,_0x50446c,_0x2d1d49,_0x292572){const _0x463d5c=_0x1a50aa;if(_0x1d7eb8['listenerCount'](_0x463d5c(0x9b))){const _0x11a544=new Error(_0x292572);Error[_0x463d5c(0x159)](_0x11a544,_0x1192a6),_0x1d7eb8[_0x463d5c(0x15a)](_0x463d5c(0x9b),_0x11a544,_0x50446c,_0x39dfca);}else _0xbdd787(_0x50446c,_0x2d1d49,_0x292572);}return Te;}er();var tr=Object[_0x1657c7(0x1c0)],rr=(_0x58aeae,_0x4fde3d,_0x1fbca1,_0x4c18f9)=>{const _0x890aed=_0x1657c7;for(var _0x32449c=_0x4c18f9>0x1?void 0x0:_0x4c18f9?tr(_0x4fde3d,_0x1fbca1):_0x4fde3d,_0x362bfb=_0x58aeae[_0x890aed(0x146)]-0x1,_0x5497d3;_0x362bfb>=0x0;_0x362bfb--)(_0x5497d3=_0x58aeae[_0x362bfb])&&(_0x32449c=_0x5497d3(_0x32449c)||_0x32449c);return _0x32449c;},sr=(_0x3a2986,_0x3e8d44)=>(_0x35b2ad,_0x307c44)=>_0x3e8d44(_0x35b2ad,_0x307c44,_0x3a2986);let Ne=class extends _0x18ac6b{constructor(_0x34dbca){const _0x7685a6=_0x1657c7;super(),this[_0x7685a6(0x18d)]=_0x34dbca;}[_0x1657c7(0x204)](_0x168d5a){const _0x3532fb=_0x1657c7;var _0x4068c8;const _0x303c3f=(_0x4068c8=this[_0x3532fb(0x18d)][_0x3532fb(0x1ba)](Be))==null?void 0x0:_0x4068c8[_0x3532fb(0x10a)];try{const _0x32d61a=new Qt(_0x168d5a,{'headers':{..._0x303c3f}}),_0x126142=new _0x5018b8();return{'URL':_0x168d5a,'close':(_0x1bab98,_0x34af48)=>{const _0x53dd19=_0x3532fb;_0x32d61a[_0x53dd19(0xd2)](_0x1bab98,_0x34af48),_0x126142['dispose']();},'send':_0x10f958=>{_0x32d61a['send'](_0x10f958);},'open$':new _0x5f47f4(_0x554ac7=>{const _0x1577c6=_0x3532fb,_0x59f8f1=_0x588b37=>_0x554ac7['next'](_0x588b37);_0x32d61a[_0x1577c6(0xcb)](_0x1577c6(0x12a),_0x59f8f1),_0x126142[_0x1577c6(0x15d)](_0xcb19a1(()=>_0x32d61a[_0x1577c6(0xc7)](_0x1577c6(0x12a),_0x59f8f1)));})['pipe'](_0x1b8eb7()),'close$':new _0x5f47f4(_0x2238f5=>{const _0x4e7923=_0x3532fb,_0x279fe5=_0xe5537b=>_0x2238f5['next'](_0xe5537b);_0x32d61a[_0x4e7923(0xcb)]('close',_0x279fe5),_0x126142[_0x4e7923(0x15d)](_0xcb19a1(()=>_0x32d61a[_0x4e7923(0xc7)](_0x4e7923(0xd2),_0x279fe5)));})[_0x3532fb(0xcd)](_0x1b8eb7()),'error$':new _0x5f47f4(_0x57a117=>{const _0x1d954c=_0x3532fb,_0x13f5e5=_0x1c8578=>_0x57a117[_0x1d954c(0x16f)](_0x1c8578);_0x32d61a['addEventListener'](_0x1d954c(0x18f),_0x13f5e5),_0x126142[_0x1d954c(0x15d)](_0xcb19a1(()=>_0x32d61a[_0x1d954c(0xc7)](_0x1d954c(0x18f),_0x13f5e5)));})['pipe'](_0x1b8eb7()),'message$':new _0x5f47f4(_0xadf716=>{const _0x1154b0=_0x3532fb,_0x10c9db=_0xb6d6c9=>_0xadf716[_0x1154b0(0x16f)](_0xb6d6c9);_0x32d61a['addEventListener'](_0x1154b0(0x111),_0x10c9db),_0x126142[_0x1154b0(0x15d)](_0xcb19a1(()=>_0x32d61a['removeEventListener'](_0x1154b0(0x111),_0x10c9db)));})['pipe'](_0x1b8eb7())};}catch(_0x9cab37){return console['error'](_0x9cab37),null;}}};Ne=rr([sr(0x0,_0x370dc8)],Ne);var ir=Object[_0x1657c7(0xe4)],nr=Object[_0x1657c7(0x1c0)],or=(_0x7e97e2,_0x505863,_0x2a50fa)=>_0x505863 in _0x7e97e2?ir(_0x7e97e2,_0x505863,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a50fa}):_0x7e97e2[_0x505863]=_0x2a50fa,ar=(_0x3e5128,_0x1f7257,_0x44112a,_0x15a5c1)=>{const _0x153447=_0x1657c7;for(var _0x45201d=_0x15a5c1>0x1?void 0x0:_0x15a5c1?nr(_0x1f7257,_0x44112a):_0x1f7257,_0x57b7d2=_0x3e5128[_0x153447(0x146)]-0x1,_0x4fc2bf;_0x57b7d2>=0x0;_0x57b7d2--)(_0x4fc2bf=_0x3e5128[_0x57b7d2])&&(_0x45201d=_0x4fc2bf(_0x45201d)||_0x45201d);return _0x45201d;},ke=(_0x28043d,_0xc5d9)=>(_0x3a2229,_0x52aad0)=>_0xc5d9(_0x3a2229,_0x52aad0,_0x28043d),lr=(_0x3c1876,_0x38051f,_0x36f129)=>or(_0x3c1876,_0x38051f+'',_0x36f129);let Pe=class extends _0x3c0a9e{constructor(_0x375009=Ft,_0x3b57fb,_0x133591,_0x3813ba){const _0x3c941e=_0x1657c7;_0x375009[_0x3c941e(0x10a)]||_0x3b57fb['warn'](_0x3c941e(0x1af)),super(),this[_0x3c941e(0x18d)]=_0x133591,this[_0x3c941e(0x97)]=_0x3813ba,this[_0x3c941e(0x18d)][_0x3c941e(0xbc)](Be,_0x375009);}[_0x1657c7(0x151)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x4528d8=_0x1657c7;_0x1c4bba(this[_0x4528d8(0x97)],[[_0x65e5c7,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x1657c7(0x217)),Pe=ar([_0x208c96(_0x47613f),ke(0x1,_0x579498),ke(0x2,_0x370dc8),ke(0x3,_0x4d86be(_0x523429))],Pe);var fr=Object[_0x1657c7(0x1c0)],cr=(_0x4b9e23,_0x391778,_0x465373,_0x5f1cd9)=>{const _0x255d6c=_0x1657c7;for(var _0x3194b6=_0x5f1cd9>0x1?void 0x0:_0x5f1cd9?fr(_0x391778,_0x465373):_0x391778,_0x1dae58=_0x4b9e23[_0x255d6c(0x146)]-0x1,_0x5c2958;_0x1dae58>=0x0;_0x1dae58--)(_0x5c2958=_0x4b9e23[_0x1dae58])&&(_0x3194b6=_0x5c2958(_0x3194b6)||_0x3194b6);return _0x3194b6;},se=(_0x247dcf,_0x38687b)=>(_0x4acf5d,_0x2ab4ab)=>_0x38687b(_0x4acf5d,_0x2ab4ab,_0x247dcf);let at=class extends _0x32276f{constructor(_0x2e3f16,_0xd4069,_0x4ddfbe,_0x17237f,_0x218c7b){const _0x394ad5=_0x1657c7;super(_0x2e3f16,_0xd4069,_0x4ddfbe,_0x17237f,_0x218c7b);const _0x59403a=this[_0x394ad5(0x18d)][_0x394ad5(0x1ba)](Be);this[_0x394ad5(0x137)]['registerHTTPInterceptor']({'interceptor':(_0x38817e,_0x5d8e95)=>{const _0x75bc3e=_0x394ad5;var _0x319092;const _0x50be29=_0x38817e[_0x75bc3e(0x1e4)];return(_0x319092=_0x59403a==null?void 0x0:_0x59403a[_0x75bc3e(0x10a)])!=null&&_0x319092[_0x75bc3e(0x1d9)]&&_0x50be29[_0x75bc3e(0x11d)](_0x75bc3e(0x1df),_0x59403a['customHeaders'][_0x75bc3e(0x1d9)]),_0x5d8e95(_0x38817e);}});}async['createSocket'](_0x34b51a){const _0xfbe521=_0x1657c7;return this[_0xfbe521(0xf3)](_0x34b51a);}};at=cr([se(0x0,_0x4d86be(_0x523429)),se(0x1,_0x4d86be(_0x336767)),se(0x2,_0x370dc8),se(0x3,_0x579498),se(0x4,_0x3f8443)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};