@univerjs-pro/collaboration-client-node 0.10.13-nightly.202510290902 → 0.10.14-nightly.202511031023

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4c1ef6=_0x2aeb;function _0x2aeb(_0x34f605,_0x452610){const _0x556ad9=_0x556a();return _0x2aeb=function(_0x2aebc8,_0xaa037c){_0x2aebc8=_0x2aebc8-0x172;let _0xae8d52=_0x556ad9[_0x2aebc8];return _0xae8d52;},_0x2aeb(_0x34f605,_0x452610);}(function(_0x2d03bc,_0x30927a){const _0x1539c7=_0x2aeb,_0x947bf6=_0x2d03bc();while(!![]){try{const _0x93fb22=-parseInt(_0x1539c7(0x2fd))/0x1+-parseInt(_0x1539c7(0x2c8))/0x2+parseInt(_0x1539c7(0x293))/0x3*(parseInt(_0x1539c7(0x2a7))/0x4)+parseInt(_0x1539c7(0x1d2))/0x5+parseInt(_0x1539c7(0x2e3))/0x6+-parseInt(_0x1539c7(0x1f0))/0x7+parseInt(_0x1539c7(0x22d))/0x8;if(_0x93fb22===_0x30927a)break;else _0x947bf6['push'](_0x947bf6['shift']());}catch(_0xf02d29){_0x947bf6['push'](_0x947bf6['shift']());}}}(_0x556a,0x90eee));Object['defineProperty'](exports,Symbol[_0x4c1ef6(0x177)],{'value':_0x4c1ef6(0x1b4)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4c1ef6(0x28d),Ct={'customHeaders':{}};function Tt(_0x379422){const _0x38530e=_0x4c1ef6;return _0x379422&&_0x379422[_0x38530e(0x203)]&&Object[_0x38530e(0x17f)][_0x38530e(0x193)][_0x38530e(0x217)](_0x379422,_0x38530e(0x19e))?_0x379422[_0x38530e(0x19e)]:_0x379422;}function at(_0x2ada3b){const _0x317487=_0x4c1ef6;if(Object[_0x317487(0x17f)][_0x317487(0x193)][_0x317487(0x217)](_0x2ada3b,_0x317487(0x203)))return _0x2ada3b;var _0xa9732f=_0x2ada3b[_0x317487(0x19e)];if(typeof _0xa9732f==_0x317487(0x1f7)){var _0x4f77af=function _0x2915f7(){const _0x3b1188=_0x317487;var _0x5d4e12=!0x1;try{_0x5d4e12=this instanceof _0x2915f7;}catch{}return _0x5d4e12?Reflect['construct'](_0xa9732f,arguments,this[_0x3b1188(0x276)]):_0xa9732f[_0x3b1188(0x302)](this,arguments);};_0x4f77af[_0x317487(0x17f)]=_0xa9732f[_0x317487(0x17f)];}else _0x4f77af={};return Object[_0x317487(0x231)](_0x4f77af,_0x317487(0x203),{'value':!0x0}),Object[_0x317487(0x253)](_0x2ada3b)[_0x317487(0x2a9)](function(_0x2c7e14){const _0x4ae630=_0x317487;var _0x1d33b6=Object[_0x4ae630(0x29c)](_0x2ada3b,_0x2c7e14);Object[_0x4ae630(0x231)](_0x4f77af,_0x2c7e14,_0x1d33b6['get']?_0x1d33b6:{'enumerable':!0x0,'get':function(){return _0x2ada3b[_0x2c7e14];}});}),_0x4f77af;}var se={'exports':{}},ge,Ge;function H(){const _0x559834=_0x4c1ef6;if(Ge)return ge;Ge=0x1;const _0x2d592c=[_0x559834(0x2f4),_0x559834(0x258),'fragments'],_0x3f1bca=typeof Blob<'u';return _0x3f1bca&&_0x2d592c['push'](_0x559834(0x2d1)),ge={'BINARY_TYPES':_0x2d592c,'EMPTY_BUFFER':Buffer[_0x559834(0x2ef)](0x0),'GUID':_0x559834(0x192),'hasBlob':_0x3f1bca,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x559834(0x20b)),'kStatusCode':Symbol(_0x559834(0x1d1)),'kWebSocket':Symbol(_0x559834(0x2e5)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x4c1ef6(0x177)],{'value':_0x4c1ef6(0x1b4)})),Lt=at(kt);var Ve;function ce(){const _0x4e1e61=_0x4c1ef6;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x53ec36}=H(),_0x387144=Buffer[Symbol[_0x4e1e61(0x2d2)]];function _0x1eacbd(_0x1f9643,_0x1ac8c4){const _0x5cbe32=_0x4e1e61;if(_0x1f9643['length']===0x0)return _0x53ec36;if(_0x1f9643[_0x5cbe32(0x173)]===0x1)return _0x1f9643[0x0];const _0x56a794=Buffer['allocUnsafe'](_0x1ac8c4);let _0x22e128=0x0;for(let _0x3bb333=0x0;_0x3bb333<_0x1f9643['length'];_0x3bb333++){const _0x10c909=_0x1f9643[_0x3bb333];_0x56a794[_0x5cbe32(0x31c)](_0x10c909,_0x22e128),_0x22e128+=_0x10c909['length'];}return _0x22e128<_0x1ac8c4?new _0x387144(_0x56a794[_0x5cbe32(0x295)],_0x56a794[_0x5cbe32(0x266)],_0x22e128):_0x56a794;}function _0x26ec1f(_0x4e87de,_0x3ad63d,_0x5e78e3,_0x284dda,_0x1c1fcf){for(let _0x41a708=0x0;_0x41a708<_0x1c1fcf;_0x41a708++)_0x5e78e3[_0x284dda+_0x41a708]=_0x4e87de[_0x41a708]^_0x3ad63d[_0x41a708&0x3];}function _0x37697b(_0x23de10,_0x348919){const _0x11afa8=_0x4e1e61;for(let _0x328645=0x0;_0x328645<_0x23de10[_0x11afa8(0x173)];_0x328645++)_0x23de10[_0x328645]^=_0x348919[_0x328645&0x3];}function _0x3962bf(_0x313222){const _0x55e7fe=_0x4e1e61;return _0x313222[_0x55e7fe(0x173)]===_0x313222[_0x55e7fe(0x295)][_0x55e7fe(0x205)]?_0x313222[_0x55e7fe(0x295)]:_0x313222[_0x55e7fe(0x295)]['slice'](_0x313222[_0x55e7fe(0x266)],_0x313222[_0x55e7fe(0x266)]+_0x313222[_0x55e7fe(0x173)]);}function _0x342742(_0x1b7e86){const _0x567278=_0x4e1e61;if(_0x342742['readOnly']=!0x0,Buffer[_0x567278(0x1d0)](_0x1b7e86))return _0x1b7e86;let _0x2f19f4;return _0x1b7e86 instanceof ArrayBuffer?_0x2f19f4=new _0x387144(_0x1b7e86):ArrayBuffer['isView'](_0x1b7e86)?_0x2f19f4=new _0x387144(_0x1b7e86['buffer'],_0x1b7e86['byteOffset'],_0x1b7e86[_0x567278(0x205)]):(_0x2f19f4=Buffer[_0x567278(0x294)](_0x1b7e86),_0x342742[_0x567278(0x1e7)]=!0x1),_0x2f19f4;}if(se[_0x4e1e61(0x212)]={'concat':_0x1eacbd,'mask':_0x26ec1f,'toArrayBuffer':_0x3962bf,'toBuffer':_0x342742,'unmask':_0x37697b},!process[_0x4e1e61(0x2cd)][_0x4e1e61(0x17e)])try{const _0x35b0ab=Lt;se['exports'][_0x4e1e61(0x21d)]=function(_0x1f54e6,_0x33f9c1,_0x470f84,_0x4b64e1,_0x46b021){const _0x50c5c1=_0x4e1e61;_0x46b021<0x30?_0x26ec1f(_0x1f54e6,_0x33f9c1,_0x470f84,_0x4b64e1,_0x46b021):_0x35b0ab[_0x50c5c1(0x21d)](_0x1f54e6,_0x33f9c1,_0x470f84,_0x4b64e1,_0x46b021);},se[_0x4e1e61(0x212)][_0x4e1e61(0x1d5)]=function(_0x3a80b9,_0x1ebdd0){const _0x4aa625=_0x4e1e61;_0x3a80b9[_0x4aa625(0x173)]<0x20?_0x37697b(_0x3a80b9,_0x1ebdd0):_0x35b0ab[_0x4aa625(0x1d5)](_0x3a80b9,_0x1ebdd0);};}catch{}return se[_0x4e1e61(0x212)];}var ye,He;function Pt(){const _0x49965a=_0x4c1ef6;if(He)return ye;He=0x1;const _0xef73b9=Symbol(_0x49965a(0x1f3)),_0x18d154=Symbol(_0x49965a(0x26f));class _0x2cb37c{constructor(_0x57c03a){const _0x8359be=_0x49965a;this[_0xef73b9]=()=>{this['pending']--,this[_0x18d154]();},this[_0x8359be(0x1ab)]=_0x57c03a||0x1/0x0,this['jobs']=[],this[_0x8359be(0x222)]=0x0;}[_0x49965a(0x172)](_0x23844e){const _0x586687=_0x49965a;this[_0x586687(0x2da)][_0x586687(0x2d6)](_0x23844e),this[_0x18d154]();}[_0x18d154](){const _0x531035=_0x49965a;if(this[_0x531035(0x222)]!==this[_0x531035(0x1ab)]&&this['jobs'][_0x531035(0x173)]){const _0x34880d=this[_0x531035(0x2da)][_0x531035(0x269)]();this[_0x531035(0x222)]++,_0x34880d(this[_0xef73b9]);}}}return ye=_0x2cb37c,ye;}var ve,ze;function he(){const _0x1dbc1d=_0x4c1ef6;if(ze)return ve;ze=0x1;const _0x1f3db1=bt,_0x263ef7=ce(),_0x56c709=Pt(),{kStatusCode:_0x591b8a}=H(),_0x9b2be=Buffer[Symbol[_0x1dbc1d(0x2d2)]],_0x5f4bbf=Buffer['from']([0x0,0x0,0xff,0xff]),_0x5ed33a=Symbol(_0x1dbc1d(0x1fc)),_0x1007c3=Symbol(_0x1dbc1d(0x2ce)),_0x50b429=Symbol(_0x1dbc1d(0x1c8)),_0x373e1d=Symbol(_0x1dbc1d(0x1b9)),_0x5116ab=Symbol('error');let _0x2742cc;class _0x4f4206{constructor(_0x56abec,_0x31fc44,_0x30956c){const _0x43e022=_0x1dbc1d;if(this[_0x43e022(0x1bf)]=_0x30956c|0x0,this[_0x43e022(0x327)]=_0x56abec||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x43e022(0x327)][_0x43e022(0x1e3)]:0x400,this[_0x43e022(0x2a3)]=!!_0x31fc44,this[_0x43e022(0x246)]=null,this[_0x43e022(0x262)]=null,this[_0x43e022(0x207)]=null,!_0x2742cc){const _0x130410=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x43e022(0x23a)]:0xa;_0x2742cc=new _0x56c709(_0x130410);}}static get[_0x1dbc1d(0x2a2)](){return'permessage-deflate';}[_0x1dbc1d(0x18d)](){const _0x305538=_0x1dbc1d,_0x4621f5={};return this[_0x305538(0x327)][_0x305538(0x255)]&&(_0x4621f5[_0x305538(0x306)]=!0x0),this[_0x305538(0x327)][_0x305538(0x194)]&&(_0x4621f5[_0x305538(0x2c3)]=!0x0),this['_options'][_0x305538(0x28f)]&&(_0x4621f5['server_max_window_bits']=this[_0x305538(0x327)][_0x305538(0x28f)]),this['_options'][_0x305538(0x2fc)]?_0x4621f5[_0x305538(0x2ff)]=this[_0x305538(0x327)][_0x305538(0x2fc)]:this['_options'][_0x305538(0x2fc)]==null&&(_0x4621f5['client_max_window_bits']=!0x0),_0x4621f5;}[_0x1dbc1d(0x312)](_0x112832){const _0x6b5f85=_0x1dbc1d;return _0x112832=this[_0x6b5f85(0x1a0)](_0x112832),this[_0x6b5f85(0x207)]=this[_0x6b5f85(0x2a3)]?this[_0x6b5f85(0x22f)](_0x112832):this[_0x6b5f85(0x229)](_0x112832),this[_0x6b5f85(0x207)];}['cleanup'](){const _0xe6ba51=_0x1dbc1d;if(this['_inflate']&&(this[_0xe6ba51(0x262)][_0xe6ba51(0x291)](),this[_0xe6ba51(0x262)]=null),this[_0xe6ba51(0x246)]){const _0x421997=this[_0xe6ba51(0x246)][_0x50b429];this[_0xe6ba51(0x246)]['close'](),this['_deflate']=null,_0x421997&&_0x421997(new Error(_0xe6ba51(0x304)));}}[_0x1dbc1d(0x22f)](_0x518dc4){const _0x52db08=_0x1dbc1d,_0x130b8b=this[_0x52db08(0x327)],_0x2251fa=_0x518dc4['find'](_0x3c3a6e=>!(_0x130b8b[_0x52db08(0x255)]===!0x1&&_0x3c3a6e['server_no_context_takeover']||_0x3c3a6e['server_max_window_bits']&&(_0x130b8b[_0x52db08(0x28f)]===!0x1||typeof _0x130b8b[_0x52db08(0x28f)]==_0x52db08(0x329)&&_0x130b8b['serverMaxWindowBits']>_0x3c3a6e[_0x52db08(0x2eb)])||typeof _0x130b8b['clientMaxWindowBits']==_0x52db08(0x329)&&!_0x3c3a6e[_0x52db08(0x2ff)]));if(!_0x2251fa)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x130b8b['serverNoContextTakeover']&&(_0x2251fa[_0x52db08(0x306)]=!0x0),_0x130b8b[_0x52db08(0x194)]&&(_0x2251fa[_0x52db08(0x2c3)]=!0x0),typeof _0x130b8b[_0x52db08(0x28f)]=='number'&&(_0x2251fa[_0x52db08(0x2eb)]=_0x130b8b[_0x52db08(0x28f)]),typeof _0x130b8b[_0x52db08(0x2fc)]==_0x52db08(0x329)?_0x2251fa[_0x52db08(0x2ff)]=_0x130b8b[_0x52db08(0x2fc)]:(_0x2251fa[_0x52db08(0x2ff)]===!0x0||_0x130b8b[_0x52db08(0x2fc)]===!0x1)&&delete _0x2251fa['client_max_window_bits'],_0x2251fa;}['acceptAsClient'](_0x258fd8){const _0x26f3d7=_0x1dbc1d,_0xe0bad8=_0x258fd8[0x0];if(this['_options'][_0x26f3d7(0x194)]===!0x1&&_0xe0bad8[_0x26f3d7(0x2c3)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xe0bad8[_0x26f3d7(0x2ff)])typeof this[_0x26f3d7(0x327)][_0x26f3d7(0x2fc)]==_0x26f3d7(0x329)&&(_0xe0bad8['client_max_window_bits']=this['_options'][_0x26f3d7(0x2fc)]);else{if(this[_0x26f3d7(0x327)][_0x26f3d7(0x2fc)]===!0x1||typeof this['_options'][_0x26f3d7(0x2fc)]==_0x26f3d7(0x329)&&_0xe0bad8[_0x26f3d7(0x2ff)]>this[_0x26f3d7(0x327)][_0x26f3d7(0x2fc)])throw new Error(_0x26f3d7(0x27b));}return _0xe0bad8;}[_0x1dbc1d(0x1a0)](_0x40acc5){const _0x3408cf=_0x1dbc1d;return _0x40acc5[_0x3408cf(0x2a9)](_0x330f50=>{const _0x2da972=_0x3408cf;Object['keys'](_0x330f50)[_0x2da972(0x2a9)](_0x183962=>{const _0x4eed9e=_0x2da972;let _0x40a7b4=_0x330f50[_0x183962];if(_0x40a7b4[_0x4eed9e(0x173)]>0x1)throw new Error('Parameter\x20\x22'+_0x183962+_0x4eed9e(0x1ba));if(_0x40a7b4=_0x40a7b4[0x0],_0x183962===_0x4eed9e(0x2ff)){if(_0x40a7b4!==!0x0){const _0x467cb4=+_0x40a7b4;if(!Number[_0x4eed9e(0x2db)](_0x467cb4)||_0x467cb4<0x8||_0x467cb4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x183962+_0x4eed9e(0x1fe)+_0x40a7b4);_0x40a7b4=_0x467cb4;}else{if(!this[_0x4eed9e(0x2a3)])throw new TypeError(_0x4eed9e(0x250)+_0x183962+_0x4eed9e(0x1fe)+_0x40a7b4);}}else{if(_0x183962==='server_max_window_bits'){const _0x419519=+_0x40a7b4;if(!Number[_0x4eed9e(0x2db)](_0x419519)||_0x419519<0x8||_0x419519>0xf)throw new TypeError(_0x4eed9e(0x250)+_0x183962+_0x4eed9e(0x1fe)+_0x40a7b4);_0x40a7b4=_0x419519;}else{if(_0x183962===_0x4eed9e(0x2c3)||_0x183962===_0x4eed9e(0x306)){if(_0x40a7b4!==!0x0)throw new TypeError(_0x4eed9e(0x250)+_0x183962+'\x22:\x20'+_0x40a7b4);}else throw new Error(_0x4eed9e(0x281)+_0x183962+'\x22');}}_0x330f50[_0x183962]=_0x40a7b4;});}),_0x40acc5;}[_0x1dbc1d(0x21a)](_0x230e43,_0x2cd083,_0x44724a){const _0x37e0db=_0x1dbc1d;_0x2742cc[_0x37e0db(0x172)](_0x4c4da2=>{const _0x3930ae=_0x37e0db;this[_0x3930ae(0x318)](_0x230e43,_0x2cd083,(_0x50689b,_0x46d947)=>{_0x4c4da2(),_0x44724a(_0x50689b,_0x46d947);});});}[_0x1dbc1d(0x176)](_0x1298c3,_0x4f6a9a,_0x3a6552){const _0x3fa58a=_0x1dbc1d;_0x2742cc[_0x3fa58a(0x172)](_0xe1f106=>{const _0x5a9b76=_0x3fa58a;this[_0x5a9b76(0x286)](_0x1298c3,_0x4f6a9a,(_0x58882a,_0x155f82)=>{_0xe1f106(),_0x3a6552(_0x58882a,_0x155f82);});});}[_0x1dbc1d(0x318)](_0x5535ff,_0x42f51c,_0x4d1afd){const _0x5ad7f5=_0x1dbc1d,_0x3dcc4f=this['_isServer']?_0x5ad7f5(0x27f):_0x5ad7f5(0x209);if(!this[_0x5ad7f5(0x262)]){const _0x1d6e5c=_0x3dcc4f+_0x5ad7f5(0x1c9),_0x31ef03=typeof this[_0x5ad7f5(0x207)][_0x1d6e5c]!='number'?_0x1f3db1['Z_DEFAULT_WINDOWBITS']:this[_0x5ad7f5(0x207)][_0x1d6e5c];this['_inflate']=_0x1f3db1[_0x5ad7f5(0x29d)]({...this[_0x5ad7f5(0x327)][_0x5ad7f5(0x259)],'windowBits':_0x31ef03}),this[_0x5ad7f5(0x262)][_0x5ed33a]=this,this[_0x5ad7f5(0x262)][_0x1007c3]=0x0,this[_0x5ad7f5(0x262)][_0x373e1d]=[],this[_0x5ad7f5(0x262)]['on']('error',_0x280dd2),this[_0x5ad7f5(0x262)]['on'](_0x5ad7f5(0x2d9),_0x3a2cc7);}this['_inflate'][_0x50b429]=_0x4d1afd,this[_0x5ad7f5(0x262)][_0x5ad7f5(0x244)](_0x5535ff),_0x42f51c&&this[_0x5ad7f5(0x262)][_0x5ad7f5(0x244)](_0x5f4bbf),this[_0x5ad7f5(0x262)][_0x5ad7f5(0x211)](()=>{const _0x4ebabc=_0x5ad7f5,_0x443569=this[_0x4ebabc(0x262)][_0x5116ab];if(_0x443569){this[_0x4ebabc(0x262)][_0x4ebabc(0x291)](),this[_0x4ebabc(0x262)]=null,_0x4d1afd(_0x443569);return;}const _0x2da6bf=_0x263ef7['concat'](this['_inflate'][_0x373e1d],this['_inflate'][_0x1007c3]);this[_0x4ebabc(0x262)]['_readableState']['endEmitted']?(this[_0x4ebabc(0x262)][_0x4ebabc(0x291)](),this[_0x4ebabc(0x262)]=null):(this[_0x4ebabc(0x262)][_0x1007c3]=0x0,this['_inflate'][_0x373e1d]=[],_0x42f51c&&this['params'][_0x3dcc4f+_0x4ebabc(0x2fb)]&&this[_0x4ebabc(0x262)][_0x4ebabc(0x265)]()),_0x4d1afd(null,_0x2da6bf);});}[_0x1dbc1d(0x286)](_0x3de15f,_0x14ab67,_0x4c1fe4){const _0x467ca8=_0x1dbc1d,_0x43e44a=this[_0x467ca8(0x2a3)]?_0x467ca8(0x209):'client';if(!this[_0x467ca8(0x246)]){const _0x1eb01a=_0x43e44a+_0x467ca8(0x1c9),_0x6d529b=typeof this[_0x467ca8(0x207)][_0x1eb01a]!=_0x467ca8(0x329)?_0x1f3db1[_0x467ca8(0x2bf)]:this['params'][_0x1eb01a];this[_0x467ca8(0x246)]=_0x1f3db1[_0x467ca8(0x214)]({...this[_0x467ca8(0x327)]['zlibDeflateOptions'],'windowBits':_0x6d529b}),this[_0x467ca8(0x246)][_0x1007c3]=0x0,this['_deflate'][_0x373e1d]=[],this[_0x467ca8(0x246)]['on'](_0x467ca8(0x2d9),_0x163f65);}this[_0x467ca8(0x246)][_0x50b429]=_0x4c1fe4,this['_deflate']['write'](_0x3de15f),this[_0x467ca8(0x246)]['flush'](_0x1f3db1[_0x467ca8(0x228)],()=>{const _0x43cdef=_0x467ca8;if(!this[_0x43cdef(0x246)])return;let _0x6a155e=_0x263ef7['concat'](this[_0x43cdef(0x246)][_0x373e1d],this[_0x43cdef(0x246)][_0x1007c3]);_0x14ab67&&(_0x6a155e=new _0x9b2be(_0x6a155e[_0x43cdef(0x295)],_0x6a155e['byteOffset'],_0x6a155e[_0x43cdef(0x173)]-0x4)),this[_0x43cdef(0x246)][_0x50b429]=null,this[_0x43cdef(0x246)][_0x1007c3]=0x0,this[_0x43cdef(0x246)][_0x373e1d]=[],_0x14ab67&&this[_0x43cdef(0x207)][_0x43e44a+_0x43cdef(0x2fb)]&&this[_0x43cdef(0x246)][_0x43cdef(0x265)](),_0x4c1fe4(null,_0x6a155e);});}}ve=_0x4f4206;function _0x163f65(_0x3f8c52){const _0x5a02b1=_0x1dbc1d;this[_0x373e1d][_0x5a02b1(0x2d6)](_0x3f8c52),this[_0x1007c3]+=_0x3f8c52['length'];}function _0x3a2cc7(_0x3d57d0){const _0x7cbc3=_0x1dbc1d;if(this[_0x1007c3]+=_0x3d57d0[_0x7cbc3(0x173)],this[_0x5ed33a][_0x7cbc3(0x1bf)]<0x1||this[_0x1007c3]<=this[_0x5ed33a]['_maxPayload']){this[_0x373e1d][_0x7cbc3(0x2d6)](_0x3d57d0);return;}this[_0x5116ab]=new RangeError(_0x7cbc3(0x243)),this[_0x5116ab][_0x7cbc3(0x1ca)]=_0x7cbc3(0x32a),this[_0x5116ab][_0x591b8a]=0x3f1,this[_0x7cbc3(0x18b)](_0x7cbc3(0x2d9),_0x3a2cc7),this[_0x7cbc3(0x265)]();}function _0x280dd2(_0x49978a){if(this[_0x5ed33a]['_inflate']=null,this[_0x5116ab]){this[_0x50b429](this[_0x5116ab]);return;}_0x49978a[_0x591b8a]=0x3ef,this[_0x50b429](_0x49978a);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4c1ef6(0x268)](Object[_0x4c1ef6(0x231)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':'Module'})),Bt=at(Rt);var Ye;function _0x556a(){const _0x53bab=['_readyState','listen','send','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','allowSynchronousEvents','target','getOwnPropertyDescriptor','createInflateRaw','pathname','_registerDependencies','MASK\x20must\x20be\x20set','_closeMessage','extensionName','_isServer','readUInt16BE','path','Unexpected\x20server\x20response:\x20','4ZOEXKM','Plugin','forEach','STATUS_CODES','_closeFrameSent','Invalid\x20Sec-WebSocket-Accept\x20header','Opening\x20handshake\x20has\x20timed\x20out','opcode','bind','handleEvent','setSocket','UniverCollaborationClientNodePlugin','sendFrame','resume','statusCode','DisposableCollection','uncork','auth','digest','_allowSynchronousEvents','_opcode','RSV1\x20must\x20be\x20clear','_skipUTF8Validation','_readableState','Z_DEFAULT_WINDOWBITS','_payloadLength','_fin','method','client_no_context_takeover','Server\x20sent\x20an\x20invalid\x20subprotocol','IConfigService','frame','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','511862PJzQQP','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','customHeaders','pluginName','maxRedirects','env','total-length','_maskBuffer','WS_ERR_UNEXPECTED_RSV_1','blob','species','setTimeout','_url','createError','push','then','kAborted','data','jobs','isInteger','enqueue','protocolVersion','_destroy','sec-websocket-origin','href','WS_ERR_EXPECTED_FIN','WS_ERR_INVALID_OPCODE','5725734giSzFV','_redirects','websocket','slice','Invalid\x20Sec-WebSocket-Extensions\x20header','reason','startLoop','MASK\x20must\x20be\x20clear','server_max_window_bits','_closeFrameReceived','authorization','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','alloc','_fragments','listenerCount','WS_ERR_INVALID_UTF8','completeUpgrade','nodebuffer','connect','verifyClient','terminate','Inject','timeout','_originalSecure','_no_context_takeover','clientMaxWindowBits','615955jjKtlM','consume','client_max_window_bits','endEmitted','Unsupported\x20protocol\x20version:\x20','apply','Sec-WebSocket-Accept:\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_bufferedAmount','server_no_context_takeover','WS_ERR_UNEXPECTED_RSV_2_3','addEventListener','The\x20URL\x27s\x20pathname\x20is\x20empty','encrypted','catch','warn','ping','noServer','createServer','WebSocket','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','accept','sec-websocket-version','Invalid\x20Sec-WebSocket-Protocol\x20header','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','search','_decompress','startsWith','Origin','Sec-WebSocket-Origin','set','wasClean','base64','_compressed','Connection:\x20Upgrade','onStarting','pause','address','WebSocket\x20is\x20not\x20open:\x20readyState\x20','extensions','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_options','_mask','number','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','cookie','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','_generateMask','_loop','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','add','length','type','_writableState','compress','toStringTag','kMessage','CLOSING','redirect','finish','_sender','update','WS_NO_BUFFER_UTIL','prototype','Unexpected\x20character\x20at\x20index\x20','cleanup','writeUInt16BE','_autoPong','autoPong','Invalid\x20WebSocket\x20frame:\x20','pipe','_shouldEmitClose','isValidUTF8','_errored','size','removeListener','toDisposable','offer','isServer','maskBuffer','Upgrade','skipUTF8Validation','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasOwnProperty','clientNoContextTakeover','end','_binaryType','handleProtocols','stream','username','_read','socketPath','HTTP/1.1\x20','fin','default','\x20(supported\x20versions:\x20','normalizeParams','delete','_bufferedBytes','sec-websocket-key','protocol','pow','OPEN','_configService','rsv1','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','HTTP/1.1\x20101\x20Switching\x20Protocols','concurrency','_closeCode','bufferedAmount','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_UNEXPECTED_MASK','next','_masked','pong','join','Module','string','captureStackTrace','url','finishRequest','buffers','\x22\x20must\x20have\x20only\x20a\x20single\x20value','invalid\x20UTF-8\x20sequence','_queue','drain','wss:','_maxPayload','followRedirects','error','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_injector','_state','backlog','object','indexOf','callback','_max_window_bits','code','servername','headers','password','Invalid\x20Upgrade\x20header','unshift','isBuffer','status-code','1105965HPAipg','_protocol','getData','unmask','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','onclose','Invalid\x20URL:\x20','createConnection','emitClose','Basic\x20','_totalPayloadLength','nextTick','invalid\x20opcode\x200','Cookie','readyState','readable','response','threshold','clients','kError','_originalIpc','readOnly','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','invalid\x20opcode\x20','unexpected-response','GET','binary','generateMask','isIP','writable','5502791bGbKoA','dequeue','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','kDone','getBlobData','_buffers','concat','function','ILogService','WS_ERR_INVALID_CLOSE_CODE','hostname','CONNECTING','permessage-deflate','Blob','\x22:\x20','listeners','removeEventListener','isPaused','share','__esModule','toString','byteLength','http:','params','registerDependencies','server','_extensions','kListener','_fragmented','ISocketService','The\x20server\x20is\x20not\x20running','isArray','destroy','flush','exports','errorEmitted','createDeflateRaw','finished','Sec-WebSocket-Protocol:\x20','call','Observable','kData','decompress','_req','getInfo','mask','upgrade','test','listening','sec-websocket-protocol','pending','_paused','kTarget','DependentOn','CollaborationSocketService','_threshold','Z_SYNC_FLUSH','acceptAsClient','CLOSED','getMask','_firstFragment','4654232csgyfC','parse','acceptAsServer','binaryType','defineProperty','origin','replace','conclude','map','shouldHandle','maxPayload','_closeTimer','once','concurrencyLimit','HTTPService','Maximum\x20redirects\x20exceeded','FIN\x20must\x20be\x20set','getConfig','text/html','Unexpected\x20end\x20of\x20input','The\x20\x22','handshakeTimeout','Max\x20payload\x20size\x20exceeded','write','haveLength','_deflate','Injector','_errorEmitted','_receiver','onerror','dispatch','value','emit','perMessageDeflate','NodeCollaborationSocketService','Invalid\x20value\x20for\x20parameter\x20\x22','WS_NO_UTF_8_VALIDATE','request','keys','message','serverNoContextTakeover','_server','destroyed','arraybuffer','zlibInflateOptions','defaultPort','charCodeAt','kWasClean','ISnapshotServerService','sec-websocket-extensions','_socket','getPayloadLength16','UniverCollaborationClientPlugin','_inflate','_final','_originalHostOrSocketPath','reset','byteOffset','dataMessage','freeze','shift','includes','createSocket','open','setNoDelay','kReason','kRun','13,\x208','_write','port','writeUIntBE','host','_messageLength','constructor','cork','setHeader','has','values','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','handleUpgrade','options','writeHead','client','create','Unknown\x20parameter\x20\x22','Upgrade:\x20websocket','toLowerCase','Sec-WebSocket-Extensions:\x20','ws+unix:','_compress','authorized','entries','File','allocUnsafe','_removeListeners','\x22\x20subprotocol\x20is\x20duplicated','collaboration-client-node.config','socket','serverMaxWindowBits','setConfig','close','sha1','1483152gXyHlK','from','buffer'];_0x556a=function(){return _0x53bab;};return _0x556a();}function ae(){const _0x55b36b=_0x4c1ef6;if(Ye)return ie[_0x55b36b(0x212)];Ye=0x1;const {isUtf8:_0x4c007d}=wt,{hasBlob:_0x36c224}=H(),_0x3883ca=[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 _0x1e429d(_0x1b0c23){return _0x1b0c23>=0x3e8&&_0x1b0c23<=0x3f6&&_0x1b0c23!==0x3ec&&_0x1b0c23!==0x3ed&&_0x1b0c23!==0x3ee||_0x1b0c23>=0xbb8&&_0x1b0c23<=0x1387;}function _0x3dd387(_0x43f2e2){const _0x10a8c4=_0x43f2e2['length'];let _0x480bb1=0x0;for(;_0x480bb1<_0x10a8c4;)if((_0x43f2e2[_0x480bb1]&0x80)===0x0)_0x480bb1++;else{if((_0x43f2e2[_0x480bb1]&0xe0)===0xc0){if(_0x480bb1+0x1===_0x10a8c4||(_0x43f2e2[_0x480bb1+0x1]&0xc0)!==0x80||(_0x43f2e2[_0x480bb1]&0xfe)===0xc0)return!0x1;_0x480bb1+=0x2;}else{if((_0x43f2e2[_0x480bb1]&0xf0)===0xe0){if(_0x480bb1+0x2>=_0x10a8c4||(_0x43f2e2[_0x480bb1+0x1]&0xc0)!==0x80||(_0x43f2e2[_0x480bb1+0x2]&0xc0)!==0x80||_0x43f2e2[_0x480bb1]===0xe0&&(_0x43f2e2[_0x480bb1+0x1]&0xe0)===0x80||_0x43f2e2[_0x480bb1]===0xed&&(_0x43f2e2[_0x480bb1+0x1]&0xe0)===0xa0)return!0x1;_0x480bb1+=0x3;}else{if((_0x43f2e2[_0x480bb1]&0xf8)===0xf0){if(_0x480bb1+0x3>=_0x10a8c4||(_0x43f2e2[_0x480bb1+0x1]&0xc0)!==0x80||(_0x43f2e2[_0x480bb1+0x2]&0xc0)!==0x80||(_0x43f2e2[_0x480bb1+0x3]&0xc0)!==0x80||_0x43f2e2[_0x480bb1]===0xf0&&(_0x43f2e2[_0x480bb1+0x1]&0xf0)===0x80||_0x43f2e2[_0x480bb1]===0xf4&&_0x43f2e2[_0x480bb1+0x1]>0x8f||_0x43f2e2[_0x480bb1]>0xf4)return!0x1;_0x480bb1+=0x4;}else return!0x1;}}}return!0x0;}function _0x19f5d6(_0x16cb00){const _0x5a7081=_0x55b36b;return _0x36c224&&typeof _0x16cb00==_0x5a7081(0x1c6)&&typeof _0x16cb00['arrayBuffer']==_0x5a7081(0x1f7)&&typeof _0x16cb00[_0x5a7081(0x174)]=='string'&&typeof _0x16cb00[_0x5a7081(0x198)]==_0x5a7081(0x1f7)&&(_0x16cb00[Symbol['toStringTag']]===_0x5a7081(0x1fd)||_0x16cb00[Symbol[_0x5a7081(0x177)]]===_0x5a7081(0x289));}if(ie['exports']={'isBlob':_0x19f5d6,'isValidStatusCode':_0x1e429d,'isValidUTF8':_0x3dd387,'tokenChars':_0x3883ca},_0x4c007d)ie['exports'][_0x55b36b(0x188)]=function(_0x4c1e55){return _0x4c1e55['length']<0x18?_0x3dd387(_0x4c1e55):_0x4c007d(_0x4c1e55);};else{if(!process[_0x55b36b(0x2cd)][_0x55b36b(0x251)])try{const _0x3575d0=Bt;ie[_0x55b36b(0x212)][_0x55b36b(0x188)]=function(_0x49149c){const _0x3b019f=_0x55b36b;return _0x49149c[_0x3b019f(0x173)]<0x20?_0x3dd387(_0x49149c):_0x3575d0(_0x49149c);};}catch{}}return ie[_0x55b36b(0x212)];}var Se,Ke;function lt(){const _0x468764=_0x4c1ef6;if(Ke)return Se;Ke=0x1;const {Writable:_0x3a4be7}=oe,_0x58a86c=he(),{BINARY_TYPES:_0x52b779,EMPTY_BUFFER:_0x3d82f1,kStatusCode:_0x4d1829,kWebSocket:_0x294e6e}=H(),{concat:_0x269221,toArrayBuffer:_0x1f8610,unmask:_0x4993df}=ce(),{isValidStatusCode:_0x35b2ea,isValidUTF8:_0x2014c8}=ae(),_0x505326=Buffer[Symbol['species']],_0x37e424=0x0,_0x8b5891=0x1,_0x20948b=0x2,_0x5826e2=0x3,_0x3b688c=0x4,_0x334e34=0x5,_0x2beb35=0x6;class _0x31b4bf extends _0x3a4be7{constructor(_0x46a367={}){const _0x28c73a=_0x2aeb;super(),this['_allowSynchronousEvents']=_0x46a367[_0x28c73a(0x29a)]!==void 0x0?_0x46a367[_0x28c73a(0x29a)]:!0x0,this[_0x28c73a(0x196)]=_0x46a367['binaryType']||_0x52b779[0x0],this['_extensions']=_0x46a367['extensions']||{},this['_isServer']=!!_0x46a367[_0x28c73a(0x18e)],this[_0x28c73a(0x1bf)]=_0x46a367[_0x28c73a(0x237)]|0x0,this[_0x28c73a(0x2bd)]=!!_0x46a367[_0x28c73a(0x191)],this[_0x294e6e]=void 0x0,this[_0x28c73a(0x1a2)]=0x0,this[_0x28c73a(0x1f5)]=[],this[_0x28c73a(0x31f)]=!0x1,this['_payloadLength']=0x0,this[_0x28c73a(0x328)]=void 0x0,this[_0x28c73a(0x20c)]=0x0,this[_0x28c73a(0x1b1)]=!0x1,this[_0x28c73a(0x2c1)]=!0x1,this[_0x28c73a(0x2bb)]=0x0,this[_0x28c73a(0x1dc)]=0x0,this[_0x28c73a(0x275)]=0x0,this[_0x28c73a(0x2f0)]=[],this['_errored']=!0x1,this[_0x28c73a(0x32e)]=!0x1,this[_0x28c73a(0x1c4)]=_0x37e424;}[_0x468764(0x271)](_0xbec6e4,_0x19406b,_0x43ce05){const _0xc55770=_0x468764;if(this['_opcode']===0x8&&this[_0xc55770(0x1c4)]==_0x37e424)return _0x43ce05();this[_0xc55770(0x1a2)]+=_0xbec6e4[_0xc55770(0x173)],this[_0xc55770(0x1f5)][_0xc55770(0x2d6)](_0xbec6e4),this[_0xc55770(0x2e9)](_0x43ce05);}[_0x468764(0x2fe)](_0x3631b4){const _0x54502b=_0x468764;if(this['_bufferedBytes']-=_0x3631b4,_0x3631b4===this[_0x54502b(0x1f5)][0x0][_0x54502b(0x173)])return this[_0x54502b(0x1f5)][_0x54502b(0x269)]();if(_0x3631b4<this[_0x54502b(0x1f5)][0x0]['length']){const _0x53c746=this['_buffers'][0x0];return this[_0x54502b(0x1f5)][0x0]=new _0x505326(_0x53c746[_0x54502b(0x295)],_0x53c746[_0x54502b(0x266)]+_0x3631b4,_0x53c746[_0x54502b(0x173)]-_0x3631b4),new _0x505326(_0x53c746[_0x54502b(0x295)],_0x53c746[_0x54502b(0x266)],_0x3631b4);}const _0x1e4c36=Buffer['allocUnsafe'](_0x3631b4);do{const _0x17112e=this[_0x54502b(0x1f5)][0x0],_0x30c4ca=_0x1e4c36[_0x54502b(0x173)]-_0x3631b4;_0x3631b4>=_0x17112e['length']?_0x1e4c36[_0x54502b(0x31c)](this[_0x54502b(0x1f5)]['shift'](),_0x30c4ca):(_0x1e4c36[_0x54502b(0x31c)](new Uint8Array(_0x17112e[_0x54502b(0x295)],_0x17112e[_0x54502b(0x266)],_0x3631b4),_0x30c4ca),this[_0x54502b(0x1f5)][0x0]=new _0x505326(_0x17112e[_0x54502b(0x295)],_0x17112e[_0x54502b(0x266)]+_0x3631b4,_0x17112e[_0x54502b(0x173)]-_0x3631b4)),_0x3631b4-=_0x17112e[_0x54502b(0x173)];}while(_0x3631b4>0x0);return _0x1e4c36;}[_0x468764(0x2e9)](_0x31b5cd){const _0x5a6153=_0x468764;this[_0x5a6153(0x32e)]=!0x0;do switch(this['_state']){case _0x37e424:this[_0x5a6153(0x21c)](_0x31b5cd);break;case _0x8b5891:this[_0x5a6153(0x260)](_0x31b5cd);break;case _0x20948b:this['getPayloadLength64'](_0x31b5cd);break;case _0x5826e2:this[_0x5a6153(0x22b)]();break;case _0x3b688c:this['getData'](_0x31b5cd);break;case _0x334e34:case _0x2beb35:this[_0x5a6153(0x32e)]=!0x1;return;}while(this[_0x5a6153(0x32e)]);this['_errored']||_0x31b5cd();}[_0x468764(0x21c)](_0x3f7d8a){const _0x5913e0=_0x468764;if(this[_0x5913e0(0x1a2)]<0x2){this[_0x5913e0(0x32e)]=!0x1;return;}const _0x516fda=this[_0x5913e0(0x2fe)](0x2);if((_0x516fda[0x0]&0x30)!==0x0){const _0x4bb321=this[_0x5913e0(0x2d5)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x5913e0(0x307));_0x3f7d8a(_0x4bb321);return;}const _0x5a7964=(_0x516fda[0x0]&0x40)===0x40;if(_0x5a7964&&!this[_0x5913e0(0x20a)][_0x58a86c['extensionName']]){const _0x3b391b=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x2bc),!0x0,0x3ea,_0x5913e0(0x2d0));_0x3f7d8a(_0x3b391b);return;}if(this['_fin']=(_0x516fda[0x0]&0x80)===0x80,this[_0x5913e0(0x2bb)]=_0x516fda[0x0]&0xf,this['_payloadLength']=_0x516fda[0x1]&0x7f,this[_0x5913e0(0x2bb)]===0x0){if(_0x5a7964){const _0x191592=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x2bc),!0x0,0x3ea,_0x5913e0(0x2d0));_0x3f7d8a(_0x191592);return;}if(!this[_0x5913e0(0x20c)]){const _0x5fbf69=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x1de),!0x0,0x3ea,_0x5913e0(0x2e2));_0x3f7d8a(_0x5fbf69);return;}this[_0x5913e0(0x2bb)]=this[_0x5913e0(0x20c)];}else{if(this['_opcode']===0x1||this[_0x5913e0(0x2bb)]===0x2){if(this['_fragmented']){const _0x556a84=this[_0x5913e0(0x2d5)](RangeError,'invalid\x20opcode\x20'+this[_0x5913e0(0x2bb)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3f7d8a(_0x556a84);return;}this[_0x5913e0(0x31f)]=_0x5a7964;}else{if(this[_0x5913e0(0x2bb)]>0x7&&this[_0x5913e0(0x2bb)]<0xb){if(!this[_0x5913e0(0x2c1)]){const _0x239ad8=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x23d),!0x0,0x3ea,_0x5913e0(0x2e1));_0x3f7d8a(_0x239ad8);return;}if(_0x5a7964){const _0xcd94de=this['createError'](RangeError,_0x5913e0(0x2bc),!0x0,0x3ea,_0x5913e0(0x2d0));_0x3f7d8a(_0xcd94de);return;}if(this[_0x5913e0(0x2c0)]>0x7d||this[_0x5913e0(0x2bb)]===0x8&&this['_payloadLength']===0x1){const _0x3d37eb=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x5913e0(0x1e8));_0x3f7d8a(_0x3d37eb);return;}}else{const _0x5a6ddb=this['createError'](RangeError,_0x5913e0(0x1e9)+this[_0x5913e0(0x2bb)],!0x0,0x3ea,_0x5913e0(0x2e2));_0x3f7d8a(_0x5a6ddb);return;}}}if(!this['_fin']&&!this[_0x5913e0(0x20c)]&&(this[_0x5913e0(0x20c)]=this[_0x5913e0(0x2bb)]),this[_0x5913e0(0x1b1)]=(_0x516fda[0x1]&0x80)===0x80,this[_0x5913e0(0x2a3)]){if(!this[_0x5913e0(0x1b1)]){const _0x1b18f4=this[_0x5913e0(0x2d5)](RangeError,_0x5913e0(0x2a0),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3f7d8a(_0x1b18f4);return;}}else{if(this[_0x5913e0(0x1b1)]){const _0x41363e=this['createError'](RangeError,_0x5913e0(0x2ea),!0x0,0x3ea,_0x5913e0(0x1af));_0x3f7d8a(_0x41363e);return;}}this['_payloadLength']===0x7e?this[_0x5913e0(0x1c4)]=_0x8b5891:this[_0x5913e0(0x2c0)]===0x7f?this[_0x5913e0(0x1c4)]=_0x20948b:this[_0x5913e0(0x245)](_0x3f7d8a);}[_0x468764(0x260)](_0x7d3a2){const _0x435ded=_0x468764;if(this[_0x435ded(0x1a2)]<0x2){this['_loop']=!0x1;return;}this[_0x435ded(0x2c0)]=this[_0x435ded(0x2fe)](0x2)[_0x435ded(0x2a4)](0x0),this['haveLength'](_0x7d3a2);}['getPayloadLength64'](_0x47474c){const _0x39abc6=_0x468764;if(this[_0x39abc6(0x1a2)]<0x8){this['_loop']=!0x1;return;}const _0x2c3847=this[_0x39abc6(0x2fe)](0x8),_0x2d445c=_0x2c3847['readUInt32BE'](0x0);if(_0x2d445c>Math['pow'](0x2,0x15)-0x1){const _0x2ac9e9=this[_0x39abc6(0x2d5)](RangeError,_0x39abc6(0x1f2),!0x1,0x3f1,_0x39abc6(0x311));_0x47474c(_0x2ac9e9);return;}this['_payloadLength']=_0x2d445c*Math[_0x39abc6(0x1a5)](0x2,0x20)+_0x2c3847['readUInt32BE'](0x4),this[_0x39abc6(0x245)](_0x47474c);}[_0x468764(0x245)](_0x18be13){const _0x342775=_0x468764;if(this['_payloadLength']&&this[_0x342775(0x2bb)]<0x8&&(this[_0x342775(0x1dc)]+=this[_0x342775(0x2c0)],this[_0x342775(0x1dc)]>this[_0x342775(0x1bf)]&&this[_0x342775(0x1bf)]>0x0)){const _0x12cf84=this[_0x342775(0x2d5)](RangeError,_0x342775(0x243),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x18be13(_0x12cf84);return;}this[_0x342775(0x1b1)]?this[_0x342775(0x1c4)]=_0x5826e2:this[_0x342775(0x1c4)]=_0x3b688c;}[_0x468764(0x22b)](){const _0x135e15=_0x468764;if(this[_0x135e15(0x1a2)]<0x4){this['_loop']=!0x1;return;}this[_0x135e15(0x328)]=this[_0x135e15(0x2fe)](0x4),this[_0x135e15(0x1c4)]=_0x3b688c;}[_0x468764(0x1d4)](_0x3ae747){const _0x1a7735=_0x468764;let _0x2bbfb4=_0x3d82f1;if(this[_0x1a7735(0x2c0)]){if(this[_0x1a7735(0x1a2)]<this[_0x1a7735(0x2c0)]){this[_0x1a7735(0x32e)]=!0x1;return;}_0x2bbfb4=this[_0x1a7735(0x2fe)](this[_0x1a7735(0x2c0)]),this[_0x1a7735(0x1b1)]&&(this[_0x1a7735(0x328)][0x0]|this['_mask'][0x1]|this[_0x1a7735(0x328)][0x2]|this[_0x1a7735(0x328)][0x3])!==0x0&&_0x4993df(_0x2bbfb4,this['_mask']);}if(this['_opcode']>0x7){this['controlMessage'](_0x2bbfb4,_0x3ae747);return;}if(this[_0x1a7735(0x31f)]){this['_state']=_0x334e34,this['decompress'](_0x2bbfb4,_0x3ae747);return;}_0x2bbfb4[_0x1a7735(0x173)]&&(this[_0x1a7735(0x275)]=this[_0x1a7735(0x1dc)],this[_0x1a7735(0x2f0)][_0x1a7735(0x2d6)](_0x2bbfb4)),this[_0x1a7735(0x267)](_0x3ae747);}[_0x468764(0x21a)](_0x4a23d2,_0x50790b){const _0x21bfa8=_0x468764;this[_0x21bfa8(0x20a)][_0x58a86c[_0x21bfa8(0x2a2)]]['decompress'](_0x4a23d2,this[_0x21bfa8(0x2c1)],(_0x4d58ae,_0x211104)=>{const _0x24ee70=_0x21bfa8;if(_0x4d58ae)return _0x50790b(_0x4d58ae);if(_0x211104['length']){if(this[_0x24ee70(0x275)]+=_0x211104[_0x24ee70(0x173)],this['_messageLength']>this[_0x24ee70(0x1bf)]&&this['_maxPayload']>0x0){const _0x32a370=this[_0x24ee70(0x2d5)](RangeError,_0x24ee70(0x243),!0x1,0x3f1,_0x24ee70(0x32a));_0x50790b(_0x32a370);return;}this['_fragments'][_0x24ee70(0x2d6)](_0x211104);}this[_0x24ee70(0x267)](_0x50790b),this[_0x24ee70(0x1c4)]===_0x37e424&&this['startLoop'](_0x50790b);});}[_0x468764(0x267)](_0x23cca2){const _0x11e5c1=_0x468764;if(!this[_0x11e5c1(0x2c1)]){this[_0x11e5c1(0x1c4)]=_0x37e424;return;}const _0x3ea205=this[_0x11e5c1(0x275)],_0x14ad3f=this[_0x11e5c1(0x2f0)];if(this[_0x11e5c1(0x1dc)]=0x0,this[_0x11e5c1(0x275)]=0x0,this[_0x11e5c1(0x20c)]=0x0,this['_fragments']=[],this[_0x11e5c1(0x2bb)]===0x2){let _0x45d72a;this[_0x11e5c1(0x196)]===_0x11e5c1(0x2f4)?_0x45d72a=_0x269221(_0x14ad3f,_0x3ea205):this[_0x11e5c1(0x196)]==='arraybuffer'?_0x45d72a=_0x1f8610(_0x269221(_0x14ad3f,_0x3ea205)):this[_0x11e5c1(0x196)]===_0x11e5c1(0x2d1)?_0x45d72a=new Blob(_0x14ad3f):_0x45d72a=_0x14ad3f,this[_0x11e5c1(0x2ba)]?(this[_0x11e5c1(0x24d)](_0x11e5c1(0x254),_0x45d72a,!0x0),this[_0x11e5c1(0x1c4)]=_0x37e424):(this[_0x11e5c1(0x1c4)]=_0x2beb35,setImmediate(()=>{const _0x1dd73e=_0x11e5c1;this['emit'](_0x1dd73e(0x254),_0x45d72a,!0x0),this['_state']=_0x37e424,this['startLoop'](_0x23cca2);}));}else{const _0x161790=_0x269221(_0x14ad3f,_0x3ea205);if(!this[_0x11e5c1(0x2bd)]&&!_0x2014c8(_0x161790)){const _0x46bebb=this[_0x11e5c1(0x2d5)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x11e5c1(0x2f2));_0x23cca2(_0x46bebb);return;}this[_0x11e5c1(0x1c4)]===_0x334e34||this[_0x11e5c1(0x2ba)]?(this['emit'](_0x11e5c1(0x254),_0x161790,!0x1),this[_0x11e5c1(0x1c4)]=_0x37e424):(this[_0x11e5c1(0x1c4)]=_0x2beb35,setImmediate(()=>{const _0x3c9c57=_0x11e5c1;this[_0x3c9c57(0x24d)]('message',_0x161790,!0x1),this['_state']=_0x37e424,this[_0x3c9c57(0x2e9)](_0x23cca2);}));}}['controlMessage'](_0x4b8761,_0x497909){const _0x17a07c=_0x468764;if(this[_0x17a07c(0x2bb)]===0x8){if(_0x4b8761[_0x17a07c(0x173)]===0x0)this['_loop']=!0x1,this[_0x17a07c(0x24d)](_0x17a07c(0x234),0x3ed,_0x3d82f1),this[_0x17a07c(0x195)]();else{const _0x22436f=_0x4b8761[_0x17a07c(0x2a4)](0x0);if(!_0x35b2ea(_0x22436f)){const _0x12e8ff=this[_0x17a07c(0x2d5)](RangeError,'invalid\x20status\x20code\x20'+_0x22436f,!0x0,0x3ea,_0x17a07c(0x1f9));_0x497909(_0x12e8ff);return;}const _0x3358d6=new _0x505326(_0x4b8761[_0x17a07c(0x295)],_0x4b8761[_0x17a07c(0x266)]+0x2,_0x4b8761['length']-0x2);if(!this[_0x17a07c(0x2bd)]&&!_0x2014c8(_0x3358d6)){const _0x440f95=this[_0x17a07c(0x2d5)](Error,_0x17a07c(0x1bb),!0x0,0x3ef,_0x17a07c(0x2f2));_0x497909(_0x440f95);return;}this['_loop']=!0x1,this[_0x17a07c(0x24d)](_0x17a07c(0x234),_0x22436f,_0x3358d6),this[_0x17a07c(0x195)]();}this['_state']=_0x37e424;return;}this[_0x17a07c(0x2ba)]?(this['emit'](this[_0x17a07c(0x2bb)]===0x9?_0x17a07c(0x30d):_0x17a07c(0x1b2),_0x4b8761),this[_0x17a07c(0x1c4)]=_0x37e424):(this[_0x17a07c(0x1c4)]=_0x2beb35,setImmediate(()=>{const _0x48e11c=_0x17a07c;this[_0x48e11c(0x24d)](this[_0x48e11c(0x2bb)]===0x9?_0x48e11c(0x30d):'pong',_0x4b8761),this[_0x48e11c(0x1c4)]=_0x37e424,this[_0x48e11c(0x2e9)](_0x497909);}));}[_0x468764(0x2d5)](_0x11b38f,_0x330cc2,_0x3351a7,_0x3cac68,_0x49bddc){const _0x1e7d15=_0x468764;this[_0x1e7d15(0x32e)]=!0x1,this[_0x1e7d15(0x189)]=!0x0;const _0x4b59b5=new _0x11b38f(_0x3351a7?_0x1e7d15(0x185)+_0x330cc2:_0x330cc2);return Error[_0x1e7d15(0x1b6)](_0x4b59b5,this[_0x1e7d15(0x2d5)]),_0x4b59b5['code']=_0x49bddc,_0x4b59b5[_0x4d1829]=_0x3cac68,_0x4b59b5;}}return Se=_0x31b4bf,Se;}var Ee,Xe;function ft(){const _0x32250c=_0x4c1ef6;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4b2a7b}=oe,{randomFillSync:_0x44de11}=Le,_0x3f41e6=he(),{EMPTY_BUFFER:_0x1c2a59,kWebSocket:_0xacae41,NOOP:_0x39a64e}=H(),{isBlob:_0x141446,isValidStatusCode:_0x13d738}=ae(),{mask:_0x3a4211,toBuffer:_0x21c178}=ce(),_0x3cdcf7=Symbol('kByteLength'),_0x34a73c=Buffer[_0x32250c(0x2ef)](0x4),_0xdba582=0x8*0x400;let _0x302540,_0x1f0508=_0xdba582;const _0x2aaba8=0x0,_0x3d72c8=0x1,_0x37cc55=0x2;class _0x552400{constructor(_0x5d6339,_0x12b00c,_0x284a89){const _0x57b54f=_0x32250c;this[_0x57b54f(0x20a)]=_0x12b00c||{},_0x284a89&&(this[_0x57b54f(0x32d)]=_0x284a89,this['_maskBuffer']=Buffer[_0x57b54f(0x2ef)](0x4)),this[_0x57b54f(0x25f)]=_0x5d6339,this['_firstFragment']=!0x0,this[_0x57b54f(0x286)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this['_state']=_0x2aaba8,this[_0x57b54f(0x24a)]=_0x39a64e,this[_0xacae41]=void 0x0;}static['frame'](_0x55d81e,_0x55dfd6){const _0x15929f=_0x32250c;let _0x1e5004,_0x20fd78=!0x1,_0x34ae5d=0x2,_0x19e3be=!0x1;_0x55dfd6[_0x15929f(0x21d)]&&(_0x1e5004=_0x55dfd6[_0x15929f(0x18f)]||_0x34a73c,_0x55dfd6[_0x15929f(0x1ed)]?_0x55dfd6[_0x15929f(0x1ed)](_0x1e5004):(_0x1f0508===_0xdba582&&(_0x302540===void 0x0&&(_0x302540=Buffer[_0x15929f(0x2ef)](_0xdba582)),_0x44de11(_0x302540,0x0,_0xdba582),_0x1f0508=0x0),_0x1e5004[0x0]=_0x302540[_0x1f0508++],_0x1e5004[0x1]=_0x302540[_0x1f0508++],_0x1e5004[0x2]=_0x302540[_0x1f0508++],_0x1e5004[0x3]=_0x302540[_0x1f0508++]),_0x19e3be=(_0x1e5004[0x0]|_0x1e5004[0x1]|_0x1e5004[0x2]|_0x1e5004[0x3])===0x0,_0x34ae5d=0x6);let _0x473b3;typeof _0x55d81e==_0x15929f(0x1b5)?(!_0x55dfd6[_0x15929f(0x21d)]||_0x19e3be)&&_0x55dfd6[_0x3cdcf7]!==void 0x0?_0x473b3=_0x55dfd6[_0x3cdcf7]:(_0x55d81e=Buffer['from'](_0x55d81e),_0x473b3=_0x55d81e[_0x15929f(0x173)]):(_0x473b3=_0x55d81e[_0x15929f(0x173)],_0x20fd78=_0x55dfd6[_0x15929f(0x21d)]&&_0x55dfd6['readOnly']&&!_0x19e3be);let _0x47beb0=_0x473b3;_0x473b3>=0x10000?(_0x34ae5d+=0x8,_0x47beb0=0x7f):_0x473b3>0x7d&&(_0x34ae5d+=0x2,_0x47beb0=0x7e);const _0x417850=Buffer[_0x15929f(0x28a)](_0x20fd78?_0x473b3+_0x34ae5d:_0x34ae5d);return _0x417850[0x0]=_0x55dfd6[_0x15929f(0x19d)]?_0x55dfd6[_0x15929f(0x2ae)]|0x80:_0x55dfd6[_0x15929f(0x2ae)],_0x55dfd6[_0x15929f(0x1a8)]&&(_0x417850[0x0]|=0x40),_0x417850[0x1]=_0x47beb0,_0x47beb0===0x7e?_0x417850[_0x15929f(0x182)](_0x473b3,0x2):_0x47beb0===0x7f&&(_0x417850[0x2]=_0x417850[0x3]=0x0,_0x417850[_0x15929f(0x273)](_0x473b3,0x4,0x6)),_0x55dfd6[_0x15929f(0x21d)]?(_0x417850[0x1]|=0x80,_0x417850[_0x34ae5d-0x4]=_0x1e5004[0x0],_0x417850[_0x34ae5d-0x3]=_0x1e5004[0x1],_0x417850[_0x34ae5d-0x2]=_0x1e5004[0x2],_0x417850[_0x34ae5d-0x1]=_0x1e5004[0x3],_0x19e3be?[_0x417850,_0x55d81e]:_0x20fd78?(_0x3a4211(_0x55d81e,_0x1e5004,_0x417850,_0x34ae5d,_0x473b3),[_0x417850]):(_0x3a4211(_0x55d81e,_0x1e5004,_0x55d81e,0x0,_0x473b3),[_0x417850,_0x55d81e])):[_0x417850,_0x55d81e];}['close'](_0x37dd3c,_0x52b3f5,_0x557be7,_0x2ea9be){const _0x548652=_0x32250c;let _0x528bc5;if(_0x37dd3c===void 0x0)_0x528bc5=_0x1c2a59;else{if(typeof _0x37dd3c!=_0x548652(0x329)||!_0x13d738(_0x37dd3c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x52b3f5===void 0x0||!_0x52b3f5[_0x548652(0x173)])_0x528bc5=Buffer[_0x548652(0x28a)](0x2),_0x528bc5[_0x548652(0x182)](_0x37dd3c,0x0);else{const _0x4b1f0a=Buffer[_0x548652(0x205)](_0x52b3f5);if(_0x4b1f0a>0x7b)throw new RangeError(_0x548652(0x32f));_0x528bc5=Buffer['allocUnsafe'](0x2+_0x4b1f0a),_0x528bc5['writeUInt16BE'](_0x37dd3c,0x0),typeof _0x52b3f5=='string'?_0x528bc5[_0x548652(0x244)](_0x52b3f5,0x2):_0x528bc5[_0x548652(0x31c)](_0x52b3f5,0x2);}}const _0x59bc70={[_0x3cdcf7]:_0x528bc5['length'],'fin':!0x0,'generateMask':this[_0x548652(0x32d)],'mask':_0x557be7,'maskBuffer':this[_0x548652(0x2cf)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x548652(0x1c4)]!==_0x2aaba8?this[_0x548652(0x2dc)]([this[_0x548652(0x24b)],_0x528bc5,!0x1,_0x59bc70,_0x2ea9be]):this['sendFrame'](_0x552400[_0x548652(0x2c6)](_0x528bc5,_0x59bc70),_0x2ea9be);}['ping'](_0x3f6b09,_0x369528,_0x3c35e6){const _0x48bdf5=_0x32250c;let _0x43ef90,_0x1eb8a6;if(typeof _0x3f6b09==_0x48bdf5(0x1b5)?(_0x43ef90=Buffer[_0x48bdf5(0x205)](_0x3f6b09),_0x1eb8a6=!0x1):_0x141446(_0x3f6b09)?(_0x43ef90=_0x3f6b09['size'],_0x1eb8a6=!0x1):(_0x3f6b09=_0x21c178(_0x3f6b09),_0x43ef90=_0x3f6b09[_0x48bdf5(0x173)],_0x1eb8a6=_0x21c178[_0x48bdf5(0x1e7)]),_0x43ef90>0x7d)throw new RangeError(_0x48bdf5(0x2ee));const _0x18eb9b={[_0x3cdcf7]:_0x43ef90,'fin':!0x0,'generateMask':this[_0x48bdf5(0x32d)],'mask':_0x369528,'maskBuffer':this[_0x48bdf5(0x2cf)],'opcode':0x9,'readOnly':_0x1eb8a6,'rsv1':!0x1};_0x141446(_0x3f6b09)?this[_0x48bdf5(0x1c4)]!==_0x2aaba8?this[_0x48bdf5(0x2dc)]([this['getBlobData'],_0x3f6b09,!0x1,_0x18eb9b,_0x3c35e6]):this[_0x48bdf5(0x1f4)](_0x3f6b09,!0x1,_0x18eb9b,_0x3c35e6):this[_0x48bdf5(0x1c4)]!==_0x2aaba8?this[_0x48bdf5(0x2dc)]([this['dispatch'],_0x3f6b09,!0x1,_0x18eb9b,_0x3c35e6]):this[_0x48bdf5(0x2b3)](_0x552400[_0x48bdf5(0x2c6)](_0x3f6b09,_0x18eb9b),_0x3c35e6);}[_0x32250c(0x1b2)](_0x1f35c7,_0x5f4ea2,_0x42c0b1){const _0x53b3aa=_0x32250c;let _0x452b7a,_0x3bd709;if(typeof _0x1f35c7==_0x53b3aa(0x1b5)?(_0x452b7a=Buffer[_0x53b3aa(0x205)](_0x1f35c7),_0x3bd709=!0x1):_0x141446(_0x1f35c7)?(_0x452b7a=_0x1f35c7[_0x53b3aa(0x18a)],_0x3bd709=!0x1):(_0x1f35c7=_0x21c178(_0x1f35c7),_0x452b7a=_0x1f35c7[_0x53b3aa(0x173)],_0x3bd709=_0x21c178[_0x53b3aa(0x1e7)]),_0x452b7a>0x7d)throw new RangeError(_0x53b3aa(0x2ee));const _0x4b04b4={[_0x3cdcf7]:_0x452b7a,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5f4ea2,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3bd709,'rsv1':!0x1};_0x141446(_0x1f35c7)?this[_0x53b3aa(0x1c4)]!==_0x2aaba8?this[_0x53b3aa(0x2dc)]([this[_0x53b3aa(0x1f4)],_0x1f35c7,!0x1,_0x4b04b4,_0x42c0b1]):this['getBlobData'](_0x1f35c7,!0x1,_0x4b04b4,_0x42c0b1):this[_0x53b3aa(0x1c4)]!==_0x2aaba8?this[_0x53b3aa(0x2dc)]([this[_0x53b3aa(0x24b)],_0x1f35c7,!0x1,_0x4b04b4,_0x42c0b1]):this[_0x53b3aa(0x2b3)](_0x552400['frame'](_0x1f35c7,_0x4b04b4),_0x42c0b1);}[_0x32250c(0x298)](_0xa9b4c1,_0x58006a,_0x20f479){const _0x26a18f=_0x32250c,_0x1a189d=this['_extensions'][_0x3f41e6[_0x26a18f(0x2a2)]];let _0x4033f5=_0x58006a[_0x26a18f(0x1ec)]?0x2:0x1,_0x3c71f7=_0x58006a['compress'],_0x565c0d,_0x1c117e;typeof _0xa9b4c1==_0x26a18f(0x1b5)?(_0x565c0d=Buffer[_0x26a18f(0x205)](_0xa9b4c1),_0x1c117e=!0x1):_0x141446(_0xa9b4c1)?(_0x565c0d=_0xa9b4c1['size'],_0x1c117e=!0x1):(_0xa9b4c1=_0x21c178(_0xa9b4c1),_0x565c0d=_0xa9b4c1['length'],_0x1c117e=_0x21c178[_0x26a18f(0x1e7)]),this[_0x26a18f(0x22c)]?(this['_firstFragment']=!0x1,_0x3c71f7&&_0x1a189d&&_0x1a189d[_0x26a18f(0x207)][_0x1a189d['_isServer']?_0x26a18f(0x306):'client_no_context_takeover']&&(_0x3c71f7=_0x565c0d>=_0x1a189d[_0x26a18f(0x227)]),this['_compress']=_0x3c71f7):(_0x3c71f7=!0x1,_0x4033f5=0x0),_0x58006a['fin']&&(this[_0x26a18f(0x22c)]=!0x0);const _0x3793de={[_0x3cdcf7]:_0x565c0d,'fin':_0x58006a[_0x26a18f(0x19d)],'generateMask':this[_0x26a18f(0x32d)],'mask':_0x58006a['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x4033f5,'readOnly':_0x1c117e,'rsv1':_0x3c71f7};_0x141446(_0xa9b4c1)?this[_0x26a18f(0x1c4)]!==_0x2aaba8?this[_0x26a18f(0x2dc)]([this[_0x26a18f(0x1f4)],_0xa9b4c1,this['_compress'],_0x3793de,_0x20f479]):this[_0x26a18f(0x1f4)](_0xa9b4c1,this[_0x26a18f(0x286)],_0x3793de,_0x20f479):this[_0x26a18f(0x1c4)]!==_0x2aaba8?this[_0x26a18f(0x2dc)]([this[_0x26a18f(0x24b)],_0xa9b4c1,this['_compress'],_0x3793de,_0x20f479]):this[_0x26a18f(0x24b)](_0xa9b4c1,this['_compress'],_0x3793de,_0x20f479);}[_0x32250c(0x1f4)](_0x188b84,_0x1e0496,_0x3aa4b7,_0x4251ff){const _0x59af9d=_0x32250c;this[_0x59af9d(0x1a2)]+=_0x3aa4b7[_0x3cdcf7],this[_0x59af9d(0x1c4)]=_0x37cc55,_0x188b84['arrayBuffer']()[_0x59af9d(0x2d7)](_0x4c17d5=>{const _0x556a09=_0x59af9d;if(this[_0x556a09(0x25f)]['destroyed']){const _0x2c5fab=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x556a09(0x1dd)](_0x430a48,this,_0x2c5fab,_0x4251ff);return;}this[_0x556a09(0x1a2)]-=_0x3aa4b7[_0x3cdcf7];const _0x290354=_0x21c178(_0x4c17d5);_0x1e0496?this[_0x556a09(0x24b)](_0x290354,_0x1e0496,_0x3aa4b7,_0x4251ff):(this['_state']=_0x2aaba8,this[_0x556a09(0x2b3)](_0x552400[_0x556a09(0x2c6)](_0x290354,_0x3aa4b7),_0x4251ff),this[_0x556a09(0x1f1)]());})[_0x59af9d(0x30b)](_0x3e1db8=>{const _0x5a770e=_0x59af9d;process[_0x5a770e(0x1dd)](_0x42e813,this,_0x3e1db8,_0x4251ff);});}['dispatch'](_0x3bb625,_0x22fc55,_0x1d4de7,_0x23d39c){const _0x51a1de=_0x32250c;if(!_0x22fc55){this[_0x51a1de(0x2b3)](_0x552400[_0x51a1de(0x2c6)](_0x3bb625,_0x1d4de7),_0x23d39c);return;}const _0xbc422e=this['_extensions'][_0x3f41e6[_0x51a1de(0x2a2)]];this[_0x51a1de(0x1a2)]+=_0x1d4de7[_0x3cdcf7],this[_0x51a1de(0x1c4)]=_0x3d72c8,_0xbc422e['compress'](_0x3bb625,_0x1d4de7['fin'],(_0x294b25,_0x481d26)=>{const _0x27e60c=_0x51a1de;if(this[_0x27e60c(0x25f)][_0x27e60c(0x257)]){const _0xf60743=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x430a48(this,_0xf60743,_0x23d39c);return;}this[_0x27e60c(0x1a2)]-=_0x1d4de7[_0x3cdcf7],this[_0x27e60c(0x1c4)]=_0x2aaba8,_0x1d4de7[_0x27e60c(0x1e7)]=!0x1,this[_0x27e60c(0x2b3)](_0x552400[_0x27e60c(0x2c6)](_0x481d26,_0x1d4de7),_0x23d39c),this[_0x27e60c(0x1f1)]();});}[_0x32250c(0x1f1)](){const _0x5bc0cd=_0x32250c;for(;this[_0x5bc0cd(0x1c4)]===_0x2aaba8&&this[_0x5bc0cd(0x1bc)][_0x5bc0cd(0x173)];){const _0x1f3711=this[_0x5bc0cd(0x1bc)][_0x5bc0cd(0x269)]();this['_bufferedBytes']-=_0x1f3711[0x3][_0x3cdcf7],Reflect[_0x5bc0cd(0x302)](_0x1f3711[0x0],this,_0x1f3711[_0x5bc0cd(0x2e6)](0x1));}}[_0x32250c(0x2dc)](_0x17799a){const _0x5ed314=_0x32250c;this[_0x5ed314(0x1a2)]+=_0x17799a[0x3][_0x3cdcf7],this[_0x5ed314(0x1bc)][_0x5ed314(0x2d6)](_0x17799a);}[_0x32250c(0x2b3)](_0x351668,_0x284dbe){const _0x166666=_0x32250c;_0x351668['length']===0x2?(this[_0x166666(0x25f)][_0x166666(0x277)](),this[_0x166666(0x25f)][_0x166666(0x244)](_0x351668[0x0]),this['_socket'][_0x166666(0x244)](_0x351668[0x1],_0x284dbe),this['_socket'][_0x166666(0x2b7)]()):this[_0x166666(0x25f)][_0x166666(0x244)](_0x351668[0x0],_0x284dbe);}}Ee=_0x552400;function _0x430a48(_0x567862,_0x2d8d32,_0x3daa95){const _0x2c3295=_0x32250c;typeof _0x3daa95==_0x2c3295(0x1f7)&&_0x3daa95(_0x2d8d32);for(let _0x45e88a=0x0;_0x45e88a<_0x567862['_queue'][_0x2c3295(0x173)];_0x45e88a++){const _0x3975cb=_0x567862[_0x2c3295(0x1bc)][_0x45e88a],_0x50e85a=_0x3975cb[_0x3975cb[_0x2c3295(0x173)]-0x1];typeof _0x50e85a=='function'&&_0x50e85a(_0x2d8d32);}}function _0x42e813(_0x5d52b2,_0x5cd00a,_0x8cb18d){const _0x27cab9=_0x32250c;_0x430a48(_0x5d52b2,_0x5cd00a,_0x8cb18d),_0x5d52b2[_0x27cab9(0x24a)](_0x5cd00a);}return Ee;}var xe,Ze;function It(){const _0xc12a9e=_0x4c1ef6;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x105fcd,kListener:_0x13f701}=H(),_0x317c72=Symbol('kCode'),_0x12589e=Symbol(_0xc12a9e(0x219)),_0xdd8846=Symbol(_0xc12a9e(0x1e5)),_0x3580cf=Symbol(_0xc12a9e(0x178)),_0x1dbf11=Symbol(_0xc12a9e(0x26e)),_0x1c7f9b=Symbol(_0xc12a9e(0x224)),_0x50771f=Symbol('kType'),_0x3c4c7e=Symbol(_0xc12a9e(0x25c));class _0x347723{constructor(_0xcd2911){this[_0x1c7f9b]=null,this[_0x50771f]=_0xcd2911;}get[_0xc12a9e(0x29b)](){return this[_0x1c7f9b];}get[_0xc12a9e(0x174)](){return this[_0x50771f];}}Object['defineProperty'](_0x347723[_0xc12a9e(0x17f)],_0xc12a9e(0x29b),{'enumerable':!0x0}),Object['defineProperty'](_0x347723[_0xc12a9e(0x17f)],_0xc12a9e(0x174),{'enumerable':!0x0});class _0x75b94a extends _0x347723{constructor(_0x46ff2f,_0x1f99cb={}){const _0x639fb9=_0xc12a9e;super(_0x46ff2f),this[_0x317c72]=_0x1f99cb[_0x639fb9(0x1ca)]===void 0x0?0x0:_0x1f99cb[_0x639fb9(0x1ca)],this[_0x1dbf11]=_0x1f99cb[_0x639fb9(0x2e8)]===void 0x0?'':_0x1f99cb[_0x639fb9(0x2e8)],this[_0x3c4c7e]=_0x1f99cb[_0x639fb9(0x31d)]===void 0x0?!0x1:_0x1f99cb['wasClean'];}get[_0xc12a9e(0x1ca)](){return this[_0x317c72];}get[_0xc12a9e(0x2e8)](){return this[_0x1dbf11];}get[_0xc12a9e(0x31d)](){return this[_0x3c4c7e];}}Object[_0xc12a9e(0x231)](_0x75b94a[_0xc12a9e(0x17f)],'code',{'enumerable':!0x0}),Object[_0xc12a9e(0x231)](_0x75b94a[_0xc12a9e(0x17f)],_0xc12a9e(0x2e8),{'enumerable':!0x0}),Object[_0xc12a9e(0x231)](_0x75b94a['prototype'],_0xc12a9e(0x31d),{'enumerable':!0x0});class _0x533a17 extends _0x347723{constructor(_0x582738,_0x484750={}){const _0x489921=_0xc12a9e;super(_0x582738),this[_0xdd8846]=_0x484750[_0x489921(0x1c1)]===void 0x0?null:_0x484750[_0x489921(0x1c1)],this[_0x3580cf]=_0x484750[_0x489921(0x254)]===void 0x0?'':_0x484750[_0x489921(0x254)];}get[_0xc12a9e(0x1c1)](){return this[_0xdd8846];}get[_0xc12a9e(0x254)](){return this[_0x3580cf];}}Object[_0xc12a9e(0x231)](_0x533a17[_0xc12a9e(0x17f)],_0xc12a9e(0x1c1),{'enumerable':!0x0}),Object[_0xc12a9e(0x231)](_0x533a17['prototype'],'message',{'enumerable':!0x0});class _0x2d8c7e extends _0x347723{constructor(_0x9b01c6,_0xd2afbb={}){const _0xb17fe8=_0xc12a9e;super(_0x9b01c6),this[_0x12589e]=_0xd2afbb[_0xb17fe8(0x2d9)]===void 0x0?null:_0xd2afbb['data'];}get[_0xc12a9e(0x2d9)](){return this[_0x12589e];}}Object[_0xc12a9e(0x231)](_0x2d8c7e['prototype'],_0xc12a9e(0x2d9),{'enumerable':!0x0}),xe={'CloseEvent':_0x75b94a,'ErrorEvent':_0x533a17,'Event':_0x347723,'EventTarget':{'addEventListener'(_0x1f9aee,_0x9e294e,_0xc63830={}){const _0x4703cc=_0xc12a9e;for(const _0x5acb51 of this[_0x4703cc(0x1ff)](_0x1f9aee))if(!_0xc63830[_0x105fcd]&&_0x5acb51[_0x13f701]===_0x9e294e&&!_0x5acb51[_0x105fcd])return;let _0x71cee3;if(_0x1f9aee==='message')_0x71cee3=function(_0x256097,_0xf70a8){const _0x1a04e9=new _0x2d8c7e('message',{'data':_0xf70a8?_0x256097:_0x256097['toString']()});_0x1a04e9[_0x1c7f9b]=this,_0x2014a4(_0x9e294e,this,_0x1a04e9);};else{if(_0x1f9aee===_0x4703cc(0x291))_0x71cee3=function(_0x40ef31,_0x1076f3){const _0x3f8bec=_0x4703cc,_0x1127f0=new _0x75b94a(_0x3f8bec(0x291),{'code':_0x40ef31,'reason':_0x1076f3[_0x3f8bec(0x204)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x1127f0[_0x1c7f9b]=this,_0x2014a4(_0x9e294e,this,_0x1127f0);};else{if(_0x1f9aee===_0x4703cc(0x1c1))_0x71cee3=function(_0x549184){const _0x358d3b=_0x4703cc,_0x2ee218=new _0x533a17(_0x358d3b(0x1c1),{'error':_0x549184,'message':_0x549184[_0x358d3b(0x254)]});_0x2ee218[_0x1c7f9b]=this,_0x2014a4(_0x9e294e,this,_0x2ee218);};else{if(_0x1f9aee===_0x4703cc(0x26c))_0x71cee3=function(){const _0x1ff565=new _0x347723('open');_0x1ff565[_0x1c7f9b]=this,_0x2014a4(_0x9e294e,this,_0x1ff565);};else return;}}}_0x71cee3[_0x105fcd]=!!_0xc63830[_0x105fcd],_0x71cee3[_0x13f701]=_0x9e294e,_0xc63830['once']?this['once'](_0x1f9aee,_0x71cee3):this['on'](_0x1f9aee,_0x71cee3);},'removeEventListener'(_0x1cf11b,_0x167be1){const _0x396e6d=_0xc12a9e;for(const _0x108fcf of this[_0x396e6d(0x1ff)](_0x1cf11b))if(_0x108fcf[_0x13f701]===_0x167be1&&!_0x108fcf[_0x105fcd]){this['removeListener'](_0x1cf11b,_0x108fcf);break;}}},'MessageEvent':_0x2d8c7e};function _0x2014a4(_0x3d3731,_0x15caa0,_0x260a31){const _0x21fd7d=_0xc12a9e;typeof _0x3d3731==_0x21fd7d(0x1c6)&&_0x3d3731[_0x21fd7d(0x2b0)]?_0x3d3731['handleEvent'][_0x21fd7d(0x217)](_0x3d3731,_0x260a31):_0x3d3731[_0x21fd7d(0x217)](_0x15caa0,_0x260a31);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2b75b9}=ae();function _0x1a5d6c(_0x66fedd,_0x4a7c33,_0x57b101){const _0x3914a4=_0x2aeb;_0x66fedd[_0x4a7c33]===void 0x0?_0x66fedd[_0x4a7c33]=[_0x57b101]:_0x66fedd[_0x4a7c33][_0x3914a4(0x2d6)](_0x57b101);}function _0x3bdec2(_0xf6ab27){const _0x5ccae7=_0x2aeb,_0x5b1892=Object['create'](null);let _0x3f6783=Object[_0x5ccae7(0x280)](null),_0x23c613=!0x1,_0x1feb42=!0x1,_0x474ff4=!0x1,_0x1ab12d,_0x311e1f,_0x1012b3=-0x1,_0x251634=-0x1,_0x1268ba=-0x1,_0x12dffd=0x0;for(;_0x12dffd<_0xf6ab27[_0x5ccae7(0x173)];_0x12dffd++)if(_0x251634=_0xf6ab27[_0x5ccae7(0x25b)](_0x12dffd),_0x1ab12d===void 0x0){if(_0x1268ba===-0x1&&_0x2b75b9[_0x251634]===0x1)_0x1012b3===-0x1&&(_0x1012b3=_0x12dffd);else{if(_0x12dffd!==0x0&&(_0x251634===0x20||_0x251634===0x9))_0x1268ba===-0x1&&_0x1012b3!==-0x1&&(_0x1268ba=_0x12dffd);else{if(_0x251634===0x3b||_0x251634===0x2c){if(_0x1012b3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x12dffd);_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd);const _0x5f347d=_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x1268ba);_0x251634===0x2c?(_0x1a5d6c(_0x5b1892,_0x5f347d,_0x3f6783),_0x3f6783=Object[_0x5ccae7(0x280)](null)):_0x1ab12d=_0x5f347d,_0x1012b3=_0x1268ba=-0x1;}else throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);}}}else{if(_0x311e1f===void 0x0){if(_0x1268ba===-0x1&&_0x2b75b9[_0x251634]===0x1)_0x1012b3===-0x1&&(_0x1012b3=_0x12dffd);else{if(_0x251634===0x20||_0x251634===0x9)_0x1268ba===-0x1&&_0x1012b3!==-0x1&&(_0x1268ba=_0x12dffd);else{if(_0x251634===0x3b||_0x251634===0x2c){if(_0x1012b3===-0x1)throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd),_0x1a5d6c(_0x3f6783,_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x1268ba),!0x0),_0x251634===0x2c&&(_0x1a5d6c(_0x5b1892,_0x1ab12d,_0x3f6783),_0x3f6783=Object[_0x5ccae7(0x280)](null),_0x1ab12d=void 0x0),_0x1012b3=_0x1268ba=-0x1;}else{if(_0x251634===0x3d&&_0x1012b3!==-0x1&&_0x1268ba===-0x1)_0x311e1f=_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x12dffd),_0x1012b3=_0x1268ba=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x12dffd);}}}}else{if(_0x1feb42){if(_0x2b75b9[_0x251634]!==0x1)throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);_0x1012b3===-0x1?_0x1012b3=_0x12dffd:_0x23c613||(_0x23c613=!0x0),_0x1feb42=!0x1;}else{if(_0x474ff4){if(_0x2b75b9[_0x251634]===0x1)_0x1012b3===-0x1&&(_0x1012b3=_0x12dffd);else{if(_0x251634===0x22&&_0x1012b3!==-0x1)_0x474ff4=!0x1,_0x1268ba=_0x12dffd;else{if(_0x251634===0x5c)_0x1feb42=!0x0;else throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);}}}else{if(_0x251634===0x22&&_0xf6ab27[_0x5ccae7(0x25b)](_0x12dffd-0x1)===0x3d)_0x474ff4=!0x0;else{if(_0x1268ba===-0x1&&_0x2b75b9[_0x251634]===0x1)_0x1012b3===-0x1&&(_0x1012b3=_0x12dffd);else{if(_0x1012b3!==-0x1&&(_0x251634===0x20||_0x251634===0x9))_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd);else{if(_0x251634===0x3b||_0x251634===0x2c){if(_0x1012b3===-0x1)throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd);let _0x16662c=_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x1268ba);_0x23c613&&(_0x16662c=_0x16662c[_0x5ccae7(0x233)](/\\/g,''),_0x23c613=!0x1),_0x1a5d6c(_0x3f6783,_0x311e1f,_0x16662c),_0x251634===0x2c&&(_0x1a5d6c(_0x5b1892,_0x1ab12d,_0x3f6783),_0x3f6783=Object[_0x5ccae7(0x280)](null),_0x1ab12d=void 0x0),_0x311e1f=void 0x0,_0x1012b3=_0x1268ba=-0x1;}else throw new SyntaxError(_0x5ccae7(0x180)+_0x12dffd);}}}}}}}if(_0x1012b3===-0x1||_0x474ff4||_0x251634===0x20||_0x251634===0x9)throw new SyntaxError(_0x5ccae7(0x240));_0x1268ba===-0x1&&(_0x1268ba=_0x12dffd);const _0x4de368=_0xf6ab27[_0x5ccae7(0x2e6)](_0x1012b3,_0x1268ba);return _0x1ab12d===void 0x0?_0x1a5d6c(_0x5b1892,_0x4de368,_0x3f6783):(_0x311e1f===void 0x0?_0x1a5d6c(_0x3f6783,_0x4de368,!0x0):_0x23c613?_0x1a5d6c(_0x3f6783,_0x311e1f,_0x4de368[_0x5ccae7(0x233)](/\\/g,'')):_0x1a5d6c(_0x3f6783,_0x311e1f,_0x4de368),_0x1a5d6c(_0x5b1892,_0x1ab12d,_0x3f6783)),_0x5b1892;}function _0x2439b4(_0x47e7fd){const _0x521296=_0x2aeb;return Object[_0x521296(0x253)](_0x47e7fd)[_0x521296(0x235)](_0x203eee=>{const _0x54800b=_0x521296;let _0x1f8d51=_0x47e7fd[_0x203eee];return Array[_0x54800b(0x20f)](_0x1f8d51)||(_0x1f8d51=[_0x1f8d51]),_0x1f8d51[_0x54800b(0x235)](_0x5af3e1=>[_0x203eee]['concat'](Object[_0x54800b(0x253)](_0x5af3e1)[_0x54800b(0x235)](_0x5809ae=>{const _0x2c91b0=_0x54800b;let _0x2b9936=_0x5af3e1[_0x5809ae];return Array[_0x2c91b0(0x20f)](_0x2b9936)||(_0x2b9936=[_0x2b9936]),_0x2b9936[_0x2c91b0(0x235)](_0x3b053c=>_0x3b053c===!0x0?_0x5809ae:_0x5809ae+'='+_0x3b053c)[_0x2c91b0(0x1b3)](';\x20');}))[_0x54800b(0x1b3)](';\x20'))[_0x54800b(0x1b3)](',\x20');})['join'](',\x20');}return be={'format':_0x2439b4,'parse':_0x3bdec2},be;}var we,Je;function Pe(){const _0x4f7401=_0x4c1ef6;if(Je)return we;Je=0x1;const _0x424d00=nt,_0x56b432=vt,_0x372f9=ot,_0x161cc2=St,_0x9768da=Et,{randomBytes:_0x523e01,createHash:_0x498066}=Le,{Duplex:_0x5bfb49,Readable:_0x84bb49}=oe,{URL:_0x181bbb}=xt,_0x2d8bc7=he(),_0x5bb55f=lt(),_0x41f127=ft(),{isBlob:_0x20dd10}=ae(),{BINARY_TYPES:_0x5016c7,EMPTY_BUFFER:_0x25c9da,GUID:_0x4a7552,kForOnEventAttribute:_0x3a0536,kListener:_0x38c287,kStatusCode:_0x3724b2,kWebSocket:_0x1bb08c,NOOP:_0x2697a8}=H(),{EventTarget:{addEventListener:_0x35a196,removeEventListener:_0x397a38}}=It(),{format:_0x4a556b,parse:_0x14108d}=ct(),{toBuffer:_0x17b048}=ce(),_0x4f26e6=0x1e*0x3e8,_0x150663=Symbol(_0x4f7401(0x2d8)),_0x271f9b=[0x8,0xd],_0x249eca=['CONNECTING',_0x4f7401(0x1a6),_0x4f7401(0x179),'CLOSED'],_0x1fc66c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3acdb2 extends _0x424d00{constructor(_0x49836d,_0x13fb44,_0x2695a8){const _0x59e8e9=_0x4f7401;super(),this[_0x59e8e9(0x196)]=_0x5016c7[0x0],this[_0x59e8e9(0x1ac)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x59e8e9(0x2ab)]=!0x1,this[_0x59e8e9(0x2a1)]=_0x25c9da,this[_0x59e8e9(0x238)]=null,this['_errorEmitted']=!0x1,this[_0x59e8e9(0x20a)]={},this['_paused']=!0x1,this[_0x59e8e9(0x1d3)]='',this[_0x59e8e9(0x296)]=_0x3acdb2['CONNECTING'],this['_receiver']=null,this[_0x59e8e9(0x17c)]=null,this[_0x59e8e9(0x25f)]=null,_0x49836d!==null?(this[_0x59e8e9(0x305)]=0x0,this[_0x59e8e9(0x2a3)]=!0x1,this[_0x59e8e9(0x2e4)]=0x0,_0x13fb44===void 0x0?_0x13fb44=[]:Array[_0x59e8e9(0x20f)](_0x13fb44)||(typeof _0x13fb44=='object'&&_0x13fb44!==null?(_0x2695a8=_0x13fb44,_0x13fb44=[]):_0x13fb44=[_0x13fb44]),_0x4cf3ea(this,_0x49836d,_0x13fb44,_0x2695a8)):(this[_0x59e8e9(0x183)]=_0x2695a8[_0x59e8e9(0x184)],this['_isServer']=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x4f7401(0x230)](_0x21bb2a){const _0xdc3897=_0x4f7401;_0x5016c7[_0xdc3897(0x26a)](_0x21bb2a)&&(this[_0xdc3897(0x196)]=_0x21bb2a,this[_0xdc3897(0x249)]&&(this[_0xdc3897(0x249)][_0xdc3897(0x196)]=_0x21bb2a));}get[_0x4f7401(0x1ad)](){const _0x2ad4b7=_0x4f7401;return this[_0x2ad4b7(0x25f)]?this['_socket'][_0x2ad4b7(0x175)][_0x2ad4b7(0x173)]+this[_0x2ad4b7(0x17c)][_0x2ad4b7(0x1a2)]:this['_bufferedAmount'];}get[_0x4f7401(0x325)](){const _0x52ac19=_0x4f7401;return Object[_0x52ac19(0x253)](this['_extensions'])['join']();}get[_0x4f7401(0x201)](){const _0x4829cd=_0x4f7401;return this[_0x4829cd(0x223)];}get[_0x4f7401(0x1d7)](){return null;}get[_0x4f7401(0x24a)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x4f7401(0x1a4)](){const _0x2d7b06=_0x4f7401;return this[_0x2d7b06(0x1d3)];}get[_0x4f7401(0x1e0)](){const _0x61bfd1=_0x4f7401;return this[_0x61bfd1(0x296)];}get[_0x4f7401(0x1b7)](){const _0x436a6e=_0x4f7401;return this[_0x436a6e(0x2d4)];}[_0x4f7401(0x2b1)](_0x4ec6c5,_0x5d2c19,_0x23350b){const _0x103e23=_0x4f7401,_0x3f91e0=new _0x5bb55f({'allowSynchronousEvents':_0x23350b['allowSynchronousEvents'],'binaryType':this[_0x103e23(0x230)],'extensions':this[_0x103e23(0x20a)],'isServer':this['_isServer'],'maxPayload':_0x23350b[_0x103e23(0x237)],'skipUTF8Validation':_0x23350b[_0x103e23(0x191)]}),_0x1d221c=new _0x41f127(_0x4ec6c5,this[_0x103e23(0x20a)],_0x23350b['generateMask']);this[_0x103e23(0x249)]=_0x3f91e0,this[_0x103e23(0x17c)]=_0x1d221c,this['_socket']=_0x4ec6c5,_0x3f91e0[_0x1bb08c]=this,_0x1d221c[_0x1bb08c]=this,_0x4ec6c5[_0x1bb08c]=this,_0x3f91e0['on'](_0x103e23(0x234),_0x11e242),_0x3f91e0['on'](_0x103e23(0x1bd),_0x36450b),_0x3f91e0['on'](_0x103e23(0x1c1),_0xb56bee),_0x3f91e0['on']('message',_0x97c9ef),_0x3f91e0['on'](_0x103e23(0x30d),_0x439ca4),_0x3f91e0['on'](_0x103e23(0x1b2),_0x4870ff),_0x1d221c[_0x103e23(0x24a)]=_0x35f759,_0x4ec6c5['setTimeout']&&_0x4ec6c5[_0x103e23(0x2d3)](0x0),_0x4ec6c5[_0x103e23(0x26d)]&&_0x4ec6c5[_0x103e23(0x26d)](),_0x5d2c19['length']>0x0&&_0x4ec6c5[_0x103e23(0x1cf)](_0x5d2c19),_0x4ec6c5['on'](_0x103e23(0x291),_0x1e19a1),_0x4ec6c5['on']('data',_0x232e0b),_0x4ec6c5['on']('end',_0x131fd1),_0x4ec6c5['on'](_0x103e23(0x1c1),_0x1f19e2),this[_0x103e23(0x296)]=_0x3acdb2['OPEN'],this[_0x103e23(0x24d)]('open');}['emitClose'](){const _0x513a65=_0x4f7401;if(!this[_0x513a65(0x25f)]){this[_0x513a65(0x296)]=_0x3acdb2['CLOSED'],this['emit'](_0x513a65(0x291),this['_closeCode'],this[_0x513a65(0x2a1)]);return;}this[_0x513a65(0x20a)][_0x2d8bc7[_0x513a65(0x2a2)]]&&this[_0x513a65(0x20a)][_0x2d8bc7[_0x513a65(0x2a2)]][_0x513a65(0x181)](),this['_receiver']['removeAllListeners'](),this['_readyState']=_0x3acdb2[_0x513a65(0x22a)],this[_0x513a65(0x24d)](_0x513a65(0x291),this[_0x513a65(0x1ac)],this[_0x513a65(0x2a1)]);}[_0x4f7401(0x291)](_0x434b8e,_0x4af6c6){const _0x1435d7=_0x4f7401;if(this['readyState']!==_0x3acdb2['CLOSED']){if(this['readyState']===_0x3acdb2[_0x1435d7(0x1fb)]){_0x177716(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1435d7(0x1e0)]===_0x3acdb2['CLOSING']){this[_0x1435d7(0x2ab)]&&(this['_closeFrameReceived']||this['_receiver'][_0x1435d7(0x175)][_0x1435d7(0x213)])&&this[_0x1435d7(0x25f)][_0x1435d7(0x195)]();return;}this['_readyState']=_0x3acdb2[_0x1435d7(0x179)],this[_0x1435d7(0x17c)][_0x1435d7(0x291)](_0x434b8e,_0x4af6c6,!this['_isServer'],_0x3171d9=>{const _0x23e69e=_0x1435d7;_0x3171d9||(this[_0x23e69e(0x2ab)]=!0x0,(this[_0x23e69e(0x2ec)]||this[_0x23e69e(0x249)]['_writableState'][_0x23e69e(0x213)])&&this['_socket'][_0x23e69e(0x195)]());}),_0x10f059(this);}}[_0x4f7401(0x322)](){const _0x2f0f59=_0x4f7401;this[_0x2f0f59(0x1e0)]===_0x3acdb2[_0x2f0f59(0x1fb)]||this['readyState']===_0x3acdb2[_0x2f0f59(0x22a)]||(this[_0x2f0f59(0x223)]=!0x0,this[_0x2f0f59(0x25f)][_0x2f0f59(0x322)]());}['ping'](_0x372766,_0x237590,_0x764cc0){const _0x2ce543=_0x4f7401;if(this[_0x2ce543(0x1e0)]===_0x3acdb2[_0x2ce543(0x1fb)])throw new Error(_0x2ce543(0x315));if(typeof _0x372766==_0x2ce543(0x1f7)?(_0x764cc0=_0x372766,_0x372766=_0x237590=void 0x0):typeof _0x237590=='function'&&(_0x764cc0=_0x237590,_0x237590=void 0x0),typeof _0x372766=='number'&&(_0x372766=_0x372766[_0x2ce543(0x204)]()),this[_0x2ce543(0x1e0)]!==_0x3acdb2[_0x2ce543(0x1a6)]){_0x5aa1fc(this,_0x372766,_0x764cc0);return;}_0x237590===void 0x0&&(_0x237590=!this[_0x2ce543(0x2a3)]),this[_0x2ce543(0x17c)][_0x2ce543(0x30d)](_0x372766||_0x25c9da,_0x237590,_0x764cc0);}['pong'](_0x154050,_0x4a48bb,_0x57c7c7){const _0x55bbfc=_0x4f7401;if(this[_0x55bbfc(0x1e0)]===_0x3acdb2[_0x55bbfc(0x1fb)])throw new Error(_0x55bbfc(0x315));if(typeof _0x154050==_0x55bbfc(0x1f7)?(_0x57c7c7=_0x154050,_0x154050=_0x4a48bb=void 0x0):typeof _0x4a48bb==_0x55bbfc(0x1f7)&&(_0x57c7c7=_0x4a48bb,_0x4a48bb=void 0x0),typeof _0x154050==_0x55bbfc(0x329)&&(_0x154050=_0x154050[_0x55bbfc(0x204)]()),this[_0x55bbfc(0x1e0)]!==_0x3acdb2[_0x55bbfc(0x1a6)]){_0x5aa1fc(this,_0x154050,_0x57c7c7);return;}_0x4a48bb===void 0x0&&(_0x4a48bb=!this['_isServer']),this[_0x55bbfc(0x17c)][_0x55bbfc(0x1b2)](_0x154050||_0x25c9da,_0x4a48bb,_0x57c7c7);}[_0x4f7401(0x2b4)](){const _0x1b18d3=_0x4f7401;this[_0x1b18d3(0x1e0)]===_0x3acdb2[_0x1b18d3(0x1fb)]||this[_0x1b18d3(0x1e0)]===_0x3acdb2[_0x1b18d3(0x22a)]||(this[_0x1b18d3(0x223)]=!0x1,this[_0x1b18d3(0x249)]['_writableState']['needDrain']||this['_socket'][_0x1b18d3(0x2b4)]());}[_0x4f7401(0x298)](_0x536f0d,_0x1b6dca,_0x16c6c0){const _0x2a5d06=_0x4f7401;if(this[_0x2a5d06(0x1e0)]===_0x3acdb2[_0x2a5d06(0x1fb)])throw new Error(_0x2a5d06(0x315));if(typeof _0x1b6dca==_0x2a5d06(0x1f7)&&(_0x16c6c0=_0x1b6dca,_0x1b6dca={}),typeof _0x536f0d=='number'&&(_0x536f0d=_0x536f0d[_0x2a5d06(0x204)]()),this[_0x2a5d06(0x1e0)]!==_0x3acdb2[_0x2a5d06(0x1a6)]){_0x5aa1fc(this,_0x536f0d,_0x16c6c0);return;}const _0x27332b={'binary':typeof _0x536f0d!=_0x2a5d06(0x1b5),'mask':!this[_0x2a5d06(0x2a3)],'compress':!0x0,'fin':!0x0,..._0x1b6dca};this[_0x2a5d06(0x20a)][_0x2d8bc7[_0x2a5d06(0x2a2)]]||(_0x27332b[_0x2a5d06(0x176)]=!0x1),this[_0x2a5d06(0x17c)][_0x2a5d06(0x298)](_0x536f0d||_0x25c9da,_0x27332b,_0x16c6c0);}[_0x4f7401(0x2f7)](){const _0x823718=_0x4f7401;if(this['readyState']!==_0x3acdb2[_0x823718(0x22a)]){if(this['readyState']===_0x3acdb2['CONNECTING']){_0x177716(this,this[_0x823718(0x21b)],_0x823718(0x1c2));return;}this[_0x823718(0x25f)]&&(this[_0x823718(0x296)]=_0x3acdb2['CLOSING'],this[_0x823718(0x25f)][_0x823718(0x210)]());}}}Object[_0x4f7401(0x231)](_0x3acdb2,_0x4f7401(0x1fb),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)](_0x4f7401(0x1fb))}),Object[_0x4f7401(0x231)](_0x3acdb2[_0x4f7401(0x17f)],_0x4f7401(0x1fb),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)]('CONNECTING')}),Object[_0x4f7401(0x231)](_0x3acdb2,_0x4f7401(0x1a6),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)]('OPEN')}),Object[_0x4f7401(0x231)](_0x3acdb2[_0x4f7401(0x17f)],_0x4f7401(0x1a6),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)]('OPEN')}),Object[_0x4f7401(0x231)](_0x3acdb2,_0x4f7401(0x179),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)](_0x4f7401(0x179))}),Object['defineProperty'](_0x3acdb2['prototype'],_0x4f7401(0x179),{'enumerable':!0x0,'value':_0x249eca['indexOf']('CLOSING')}),Object['defineProperty'](_0x3acdb2,_0x4f7401(0x22a),{'enumerable':!0x0,'value':_0x249eca['indexOf'](_0x4f7401(0x22a))}),Object[_0x4f7401(0x231)](_0x3acdb2['prototype'],_0x4f7401(0x22a),{'enumerable':!0x0,'value':_0x249eca[_0x4f7401(0x1c7)](_0x4f7401(0x22a))}),[_0x4f7401(0x230),_0x4f7401(0x1ad),_0x4f7401(0x325),_0x4f7401(0x201),'protocol','readyState',_0x4f7401(0x1b7)][_0x4f7401(0x2a9)](_0x58cd97=>{const _0x4404d5=_0x4f7401;Object[_0x4404d5(0x231)](_0x3acdb2[_0x4404d5(0x17f)],_0x58cd97,{'enumerable':!0x0});}),[_0x4f7401(0x26c),_0x4f7401(0x1c1),_0x4f7401(0x291),_0x4f7401(0x254)][_0x4f7401(0x2a9)](_0xa66cb=>{const _0x5d6804=_0x4f7401;Object[_0x5d6804(0x231)](_0x3acdb2[_0x5d6804(0x17f)],'on'+_0xa66cb,{'enumerable':!0x0,'get'(){const _0x515eab=_0x5d6804;for(const _0x2e5030 of this[_0x515eab(0x1ff)](_0xa66cb))if(_0x2e5030[_0x3a0536])return _0x2e5030[_0x38c287];return null;},'set'(_0x1222cf){const _0x38d8ad=_0x5d6804;for(const _0x1524d7 of this[_0x38d8ad(0x1ff)](_0xa66cb))if(_0x1524d7[_0x3a0536]){this['removeListener'](_0xa66cb,_0x1524d7);break;}typeof _0x1222cf==_0x38d8ad(0x1f7)&&this[_0x38d8ad(0x308)](_0xa66cb,_0x1222cf,{[_0x3a0536]:!0x0});}});}),_0x3acdb2[_0x4f7401(0x17f)]['addEventListener']=_0x35a196,_0x3acdb2[_0x4f7401(0x17f)][_0x4f7401(0x200)]=_0x397a38,we=_0x3acdb2;function _0x4cf3ea(_0x4e8311,_0x16959b,_0x5ad80b,_0x33628f){const _0x38b134=_0x4f7401,_0xb49882={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x271f9b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x33628f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4e8311[_0x38b134(0x183)]=_0xb49882[_0x38b134(0x184)],!_0x271f9b[_0x38b134(0x26a)](_0xb49882['protocolVersion']))throw new RangeError(_0x38b134(0x301)+_0xb49882['protocolVersion']+_0x38b134(0x19f)+_0x271f9b['join'](',\x20')+')');let _0x28dd3b;if(_0x16959b instanceof _0x181bbb)_0x28dd3b=_0x16959b;else try{_0x28dd3b=new _0x181bbb(_0x16959b);}catch{throw new SyntaxError(_0x38b134(0x1d8)+_0x16959b);}_0x28dd3b[_0x38b134(0x1a4)]===_0x38b134(0x206)?_0x28dd3b['protocol']='ws:':_0x28dd3b[_0x38b134(0x1a4)]==='https:'&&(_0x28dd3b[_0x38b134(0x1a4)]=_0x38b134(0x1be)),_0x4e8311[_0x38b134(0x2d4)]=_0x28dd3b[_0x38b134(0x2e0)];const _0x4bc409=_0x28dd3b[_0x38b134(0x1a4)]==='wss:',_0x2b648a=_0x28dd3b['protocol']===_0x38b134(0x285);let _0x4cf243;if(_0x28dd3b['protocol']!=='ws:'&&!_0x4bc409&&!_0x2b648a?_0x4cf243=_0x38b134(0x32c):_0x2b648a&&!_0x28dd3b['pathname']?_0x4cf243=_0x38b134(0x309):_0x28dd3b['hash']&&(_0x4cf243=_0x38b134(0x326)),_0x4cf243){const _0x4ad7e6=new SyntaxError(_0x4cf243);if(_0x4e8311[_0x38b134(0x2e4)]===0x0)throw _0x4ad7e6;_0x3f3860(_0x4e8311,_0x4ad7e6);return;}const _0x1ce5ac=_0x4bc409?0x1bb:0x50,_0x382688=_0x523e01(0x10)[_0x38b134(0x204)](_0x38b134(0x31e)),_0x3e5227=_0x4bc409?_0x56b432[_0x38b134(0x252)]:_0x372f9[_0x38b134(0x252)],_0xfdea40=new Set();let _0x4007bf;if(_0xb49882['createConnection']=_0xb49882[_0x38b134(0x1d9)]||(_0x4bc409?_0xa0b91a:_0xc5df98),_0xb49882[_0x38b134(0x25a)]=_0xb49882['defaultPort']||_0x1ce5ac,_0xb49882['port']=_0x28dd3b['port']||_0x1ce5ac,_0xb49882['host']=_0x28dd3b['hostname'][_0x38b134(0x319)]('[')?_0x28dd3b['hostname']['slice'](0x1,-0x1):_0x28dd3b[_0x38b134(0x1fa)],_0xb49882[_0x38b134(0x1cc)]={..._0xb49882[_0x38b134(0x1cc)],'Sec-WebSocket-Version':_0xb49882[_0x38b134(0x2dd)],'Sec-WebSocket-Key':_0x382688,'Connection':_0x38b134(0x190),'Upgrade':_0x38b134(0x2e5)},_0xb49882[_0x38b134(0x2a5)]=_0x28dd3b[_0x38b134(0x29e)]+_0x28dd3b[_0x38b134(0x317)],_0xb49882[_0x38b134(0x2f9)]=_0xb49882[_0x38b134(0x242)],_0xb49882[_0x38b134(0x24e)]&&(_0x4007bf=new _0x2d8bc7(_0xb49882[_0x38b134(0x24e)]!==!0x0?_0xb49882[_0x38b134(0x24e)]:{},!0x1,_0xb49882[_0x38b134(0x237)]),_0xb49882[_0x38b134(0x1cc)]['Sec-WebSocket-Extensions']=_0x4a556b({[_0x2d8bc7[_0x38b134(0x2a2)]]:_0x4007bf[_0x38b134(0x18d)]()})),_0x5ad80b[_0x38b134(0x173)]){for(const _0x44b52f of _0x5ad80b){if(typeof _0x44b52f!=_0x38b134(0x1b5)||!_0x1fc66c[_0x38b134(0x21f)](_0x44b52f)||_0xfdea40['has'](_0x44b52f))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xfdea40[_0x38b134(0x172)](_0x44b52f);}_0xb49882[_0x38b134(0x1cc)]['Sec-WebSocket-Protocol']=_0x5ad80b[_0x38b134(0x1b3)](',');}if(_0xb49882[_0x38b134(0x232)]&&(_0xb49882[_0x38b134(0x2dd)]<0xd?_0xb49882['headers'][_0x38b134(0x31b)]=_0xb49882[_0x38b134(0x232)]:_0xb49882[_0x38b134(0x1cc)][_0x38b134(0x31a)]=_0xb49882['origin']),(_0x28dd3b[_0x38b134(0x199)]||_0x28dd3b[_0x38b134(0x1cd)])&&(_0xb49882['auth']=_0x28dd3b[_0x38b134(0x199)]+':'+_0x28dd3b[_0x38b134(0x1cd)]),_0x2b648a){const _0x89a17b=_0xb49882[_0x38b134(0x2a5)]['split'](':');_0xb49882['socketPath']=_0x89a17b[0x0],_0xb49882[_0x38b134(0x2a5)]=_0x89a17b[0x1];}let _0x59e00f;if(_0xb49882[_0x38b134(0x1c0)]){if(_0x4e8311[_0x38b134(0x2e4)]===0x0){_0x4e8311['_originalIpc']=_0x2b648a,_0x4e8311[_0x38b134(0x2fa)]=_0x4bc409,_0x4e8311[_0x38b134(0x264)]=_0x2b648a?_0xb49882[_0x38b134(0x19b)]:_0x28dd3b[_0x38b134(0x274)];const _0x5392bd=_0x33628f&&_0x33628f['headers'];if(_0x33628f={..._0x33628f,'headers':{}},_0x5392bd){for(const [_0x341a33,_0x4931c8]of Object[_0x38b134(0x288)](_0x5392bd))_0x33628f[_0x38b134(0x1cc)][_0x341a33['toLowerCase']()]=_0x4931c8;}}else{if(_0x4e8311[_0x38b134(0x2f1)](_0x38b134(0x17a))===0x0){const _0x291dc0=_0x2b648a?_0x4e8311[_0x38b134(0x1e6)]?_0xb49882[_0x38b134(0x19b)]===_0x4e8311['_originalHostOrSocketPath']:!0x1:_0x4e8311['_originalIpc']?!0x1:_0x28dd3b[_0x38b134(0x274)]===_0x4e8311[_0x38b134(0x264)];(!_0x291dc0||_0x4e8311[_0x38b134(0x2fa)]&&!_0x4bc409)&&(delete _0xb49882[_0x38b134(0x1cc)]['authorization'],delete _0xb49882['headers'][_0x38b134(0x32b)],_0x291dc0||delete _0xb49882[_0x38b134(0x1cc)][_0x38b134(0x274)],_0xb49882[_0x38b134(0x2b8)]=void 0x0);}}_0xb49882[_0x38b134(0x2b8)]&&!_0x33628f[_0x38b134(0x1cc)][_0x38b134(0x2ed)]&&(_0x33628f[_0x38b134(0x1cc)]['authorization']=_0x38b134(0x1db)+Buffer[_0x38b134(0x294)](_0xb49882[_0x38b134(0x2b8)])['toString'](_0x38b134(0x31e))),_0x59e00f=_0x4e8311['_req']=_0x3e5227(_0xb49882),_0x4e8311[_0x38b134(0x2e4)]&&_0x4e8311[_0x38b134(0x24d)](_0x38b134(0x17a),_0x4e8311[_0x38b134(0x1b7)],_0x59e00f);}else _0x59e00f=_0x4e8311[_0x38b134(0x21b)]=_0x3e5227(_0xb49882);_0xb49882[_0x38b134(0x2f9)]&&_0x59e00f['on']('timeout',()=>{const _0x583bee=_0x38b134;_0x177716(_0x4e8311,_0x59e00f,_0x583bee(0x2ad));}),_0x59e00f['on']('error',_0x225764=>{const _0x2602c3=_0x38b134;_0x59e00f===null||_0x59e00f[_0x150663]||(_0x59e00f=_0x4e8311[_0x2602c3(0x21b)]=null,_0x3f3860(_0x4e8311,_0x225764));}),_0x59e00f['on'](_0x38b134(0x1e2),_0x275b7c=>{const _0x146c5b=_0x38b134,_0x11510a=_0x275b7c['headers']['location'],_0x4e3be1=_0x275b7c['statusCode'];if(_0x11510a&&_0xb49882[_0x146c5b(0x1c0)]&&_0x4e3be1>=0x12c&&_0x4e3be1<0x190){if(++_0x4e8311['_redirects']>_0xb49882[_0x146c5b(0x2cc)]){_0x177716(_0x4e8311,_0x59e00f,_0x146c5b(0x23c));return;}_0x59e00f['abort']();let _0xb9ab6;try{_0xb9ab6=new _0x181bbb(_0x11510a,_0x16959b);}catch{const _0xdd9531=new SyntaxError(_0x146c5b(0x1d8)+_0x11510a);_0x3f3860(_0x4e8311,_0xdd9531);return;}_0x4cf3ea(_0x4e8311,_0xb9ab6,_0x5ad80b,_0x33628f);}else _0x4e8311[_0x146c5b(0x24d)](_0x146c5b(0x1ea),_0x59e00f,_0x275b7c)||_0x177716(_0x4e8311,_0x59e00f,_0x146c5b(0x2a6)+_0x275b7c[_0x146c5b(0x2b5)]);}),_0x59e00f['on'](_0x38b134(0x21e),(_0x3f8f99,_0x193c1c,_0x54432c)=>{const _0x10dd73=_0x38b134;if(_0x4e8311[_0x10dd73(0x24d)]('upgrade',_0x3f8f99),_0x4e8311['readyState']!==_0x3acdb2[_0x10dd73(0x1fb)])return;_0x59e00f=_0x4e8311['_req']=null;const _0x46151b=_0x3f8f99['headers'][_0x10dd73(0x21e)];if(_0x46151b===void 0x0||_0x46151b[_0x10dd73(0x283)]()!==_0x10dd73(0x2e5)){_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x1ce));return;}const _0x2d7e51=_0x498066(_0x10dd73(0x292))[_0x10dd73(0x17d)](_0x382688+_0x4a7552)[_0x10dd73(0x2b9)](_0x10dd73(0x31e));if(_0x3f8f99['headers']['sec-websocket-accept']!==_0x2d7e51){_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x2ac));return;}const _0x242197=_0x3f8f99[_0x10dd73(0x1cc)][_0x10dd73(0x221)];let _0x5a07fa;if(_0x242197!==void 0x0?_0xfdea40[_0x10dd73(0x18a)]?_0xfdea40[_0x10dd73(0x279)](_0x242197)||(_0x5a07fa=_0x10dd73(0x2c4)):_0x5a07fa=_0x10dd73(0x2c7):_0xfdea40[_0x10dd73(0x18a)]&&(_0x5a07fa='Server\x20sent\x20no\x20subprotocol'),_0x5a07fa){_0x177716(_0x4e8311,_0x193c1c,_0x5a07fa);return;}_0x242197&&(_0x4e8311['_protocol']=_0x242197);const _0x3f2537=_0x3f8f99['headers'][_0x10dd73(0x25e)];if(_0x3f2537!==void 0x0){if(!_0x4007bf){_0x177716(_0x4e8311,_0x193c1c,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2aaf30;try{_0x2aaf30=_0x14108d(_0x3f2537);}catch{_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x2e7));return;}const _0x8b4dbb=Object[_0x10dd73(0x253)](_0x2aaf30);if(_0x8b4dbb[_0x10dd73(0x173)]!==0x1||_0x8b4dbb[0x0]!==_0x2d8bc7['extensionName']){_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x1d6));return;}try{_0x4007bf[_0x10dd73(0x312)](_0x2aaf30[_0x2d8bc7[_0x10dd73(0x2a2)]]);}catch{_0x177716(_0x4e8311,_0x193c1c,_0x10dd73(0x2e7));return;}_0x4e8311[_0x10dd73(0x20a)][_0x2d8bc7[_0x10dd73(0x2a2)]]=_0x4007bf;}_0x4e8311[_0x10dd73(0x2b1)](_0x193c1c,_0x54432c,{'allowSynchronousEvents':_0xb49882['allowSynchronousEvents'],'generateMask':_0xb49882[_0x10dd73(0x1ed)],'maxPayload':_0xb49882['maxPayload'],'skipUTF8Validation':_0xb49882[_0x10dd73(0x191)]});}),_0xb49882[_0x38b134(0x1b8)]?_0xb49882['finishRequest'](_0x59e00f,_0x4e8311):_0x59e00f[_0x38b134(0x195)]();}function _0x3f3860(_0x463cb1,_0x13489d){const _0x494c90=_0x4f7401;_0x463cb1[_0x494c90(0x296)]=_0x3acdb2[_0x494c90(0x179)],_0x463cb1[_0x494c90(0x248)]=!0x0,_0x463cb1[_0x494c90(0x24d)]('error',_0x13489d),_0x463cb1[_0x494c90(0x1da)]();}function _0xc5df98(_0x5acea1){const _0x19d10a=_0x4f7401;return _0x5acea1['path']=_0x5acea1[_0x19d10a(0x19b)],_0x161cc2[_0x19d10a(0x2f5)](_0x5acea1);}function _0xa0b91a(_0x7fbc01){const _0x5bccc1=_0x4f7401;return _0x7fbc01[_0x5bccc1(0x2a5)]=void 0x0,!_0x7fbc01[_0x5bccc1(0x1cb)]&&_0x7fbc01[_0x5bccc1(0x1cb)]!==''&&(_0x7fbc01['servername']=_0x161cc2[_0x5bccc1(0x1ee)](_0x7fbc01['host'])?'':_0x7fbc01[_0x5bccc1(0x274)]),_0x9768da[_0x5bccc1(0x2f5)](_0x7fbc01);}function _0x177716(_0x35e267,_0x709450,_0x423def){const _0x2c8add=_0x4f7401;_0x35e267[_0x2c8add(0x296)]=_0x3acdb2[_0x2c8add(0x179)];const _0x3f6c3d=new Error(_0x423def);Error[_0x2c8add(0x1b6)](_0x3f6c3d,_0x177716),_0x709450[_0x2c8add(0x278)]?(_0x709450[_0x150663]=!0x0,_0x709450['abort'](),_0x709450[_0x2c8add(0x28e)]&&!_0x709450[_0x2c8add(0x28e)]['destroyed']&&_0x709450[_0x2c8add(0x28e)][_0x2c8add(0x210)](),process['nextTick'](_0x3f3860,_0x35e267,_0x3f6c3d)):(_0x709450['destroy'](_0x3f6c3d),_0x709450['once'](_0x2c8add(0x1c1),_0x35e267[_0x2c8add(0x24d)][_0x2c8add(0x2af)](_0x35e267,_0x2c8add(0x1c1))),_0x709450['once'](_0x2c8add(0x291),_0x35e267[_0x2c8add(0x1da)][_0x2c8add(0x2af)](_0x35e267)));}function _0x5aa1fc(_0x12706c,_0x33e494,_0xda5029){const _0xc2150b=_0x4f7401;if(_0x33e494){const _0x1aaf87=_0x20dd10(_0x33e494)?_0x33e494[_0xc2150b(0x18a)]:_0x17b048(_0x33e494)[_0xc2150b(0x173)];_0x12706c[_0xc2150b(0x25f)]?_0x12706c[_0xc2150b(0x17c)]['_bufferedBytes']+=_0x1aaf87:_0x12706c[_0xc2150b(0x305)]+=_0x1aaf87;}if(_0xda5029){const _0x5df867=new Error(_0xc2150b(0x324)+_0x12706c[_0xc2150b(0x1e0)]+'\x20('+_0x249eca[_0x12706c[_0xc2150b(0x1e0)]]+')');process[_0xc2150b(0x1dd)](_0xda5029,_0x5df867);}}function _0x11e242(_0xce5163,_0x5b666a){const _0xe39850=_0x4f7401,_0x176e4c=this[_0x1bb08c];_0x176e4c['_closeFrameReceived']=!0x0,_0x176e4c[_0xe39850(0x2a1)]=_0x5b666a,_0x176e4c[_0xe39850(0x1ac)]=_0xce5163,_0x176e4c[_0xe39850(0x25f)][_0x1bb08c]!==void 0x0&&(_0x176e4c['_socket'][_0xe39850(0x18b)]('data',_0x232e0b),process[_0xe39850(0x1dd)](_0x574dde,_0x176e4c['_socket']),_0xce5163===0x3ed?_0x176e4c[_0xe39850(0x291)]():_0x176e4c[_0xe39850(0x291)](_0xce5163,_0x5b666a));}function _0x36450b(){const _0xd53532=_0x4f7401,_0x535158=this[_0x1bb08c];_0x535158['isPaused']||_0x535158[_0xd53532(0x25f)]['resume']();}function _0xb56bee(_0x35d0ed){const _0x212329=_0x4f7401,_0x84aa81=this[_0x1bb08c];_0x84aa81['_socket'][_0x1bb08c]!==void 0x0&&(_0x84aa81[_0x212329(0x25f)][_0x212329(0x18b)](_0x212329(0x2d9),_0x232e0b),process['nextTick'](_0x574dde,_0x84aa81[_0x212329(0x25f)]),_0x84aa81[_0x212329(0x291)](_0x35d0ed[_0x3724b2])),_0x84aa81[_0x212329(0x248)]||(_0x84aa81[_0x212329(0x248)]=!0x0,_0x84aa81[_0x212329(0x24d)](_0x212329(0x1c1),_0x35d0ed));}function _0x29bd4a(){const _0x299165=_0x4f7401;this[_0x1bb08c][_0x299165(0x1da)]();}function _0x97c9ef(_0x44f7cb,_0x54ed9a){const _0x27426e=_0x4f7401;this[_0x1bb08c][_0x27426e(0x24d)](_0x27426e(0x254),_0x44f7cb,_0x54ed9a);}function _0x439ca4(_0x4279eb){const _0x2d98c5=_0x4f7401,_0x163961=this[_0x1bb08c];_0x163961['_autoPong']&&_0x163961['pong'](_0x4279eb,!this[_0x2d98c5(0x2a3)],_0x2697a8),_0x163961['emit'](_0x2d98c5(0x30d),_0x4279eb);}function _0x4870ff(_0x2c2dd5){const _0x2e1653=_0x4f7401;this[_0x1bb08c][_0x2e1653(0x24d)](_0x2e1653(0x1b2),_0x2c2dd5);}function _0x574dde(_0x2de6f5){_0x2de6f5['resume']();}function _0x35f759(_0x1fcae7){const _0x239919=_0x4f7401,_0x3dd308=this[_0x1bb08c];_0x3dd308[_0x239919(0x1e0)]!==_0x3acdb2['CLOSED']&&(_0x3dd308[_0x239919(0x1e0)]===_0x3acdb2['OPEN']&&(_0x3dd308['_readyState']=_0x3acdb2[_0x239919(0x179)],_0x10f059(_0x3dd308)),this['_socket'][_0x239919(0x195)](),_0x3dd308['_errorEmitted']||(_0x3dd308[_0x239919(0x248)]=!0x0,_0x3dd308['emit']('error',_0x1fcae7)));}function _0x10f059(_0x596f74){const _0x3770c6=_0x4f7401;_0x596f74['_closeTimer']=setTimeout(_0x596f74['_socket']['destroy']['bind'](_0x596f74[_0x3770c6(0x25f)]),_0x4f26e6);}function _0x1e19a1(){const _0x15b361=_0x4f7401,_0x185a03=this[_0x1bb08c];this[_0x15b361(0x18b)](_0x15b361(0x291),_0x1e19a1),this[_0x15b361(0x18b)]('data',_0x232e0b),this[_0x15b361(0x18b)]('end',_0x131fd1),_0x185a03['_readyState']=_0x3acdb2[_0x15b361(0x179)];let _0x5461b6;!this[_0x15b361(0x2be)][_0x15b361(0x300)]&&!_0x185a03[_0x15b361(0x2ec)]&&!_0x185a03[_0x15b361(0x249)][_0x15b361(0x175)][_0x15b361(0x213)]&&(_0x5461b6=_0x185a03['_socket']['read']())!==null&&_0x185a03[_0x15b361(0x249)][_0x15b361(0x244)](_0x5461b6),_0x185a03['_receiver'][_0x15b361(0x195)](),this[_0x1bb08c]=void 0x0,clearTimeout(_0x185a03[_0x15b361(0x238)]),_0x185a03['_receiver'][_0x15b361(0x175)][_0x15b361(0x215)]||_0x185a03[_0x15b361(0x249)][_0x15b361(0x175)][_0x15b361(0x213)]?_0x185a03[_0x15b361(0x1da)]():(_0x185a03[_0x15b361(0x249)]['on'](_0x15b361(0x1c1),_0x29bd4a),_0x185a03['_receiver']['on'](_0x15b361(0x17b),_0x29bd4a));}function _0x232e0b(_0x5c0895){const _0xef5ebd=_0x4f7401;this[_0x1bb08c]['_receiver'][_0xef5ebd(0x244)](_0x5c0895)||this[_0xef5ebd(0x322)]();}function _0x131fd1(){const _0x19edaa=_0x4f7401,_0x6b7207=this[_0x1bb08c];_0x6b7207[_0x19edaa(0x296)]=_0x3acdb2[_0x19edaa(0x179)],_0x6b7207['_receiver']['end'](),this[_0x19edaa(0x195)]();}function _0x1f19e2(){const _0x3d5c4a=_0x4f7401,_0x52ba72=this[_0x1bb08c];this[_0x3d5c4a(0x18b)]('error',_0x1f19e2),this['on'](_0x3d5c4a(0x1c1),_0x2697a8),_0x52ba72&&(_0x52ba72[_0x3d5c4a(0x296)]=_0x3acdb2[_0x3d5c4a(0x179)],this[_0x3d5c4a(0x210)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x42bc1e}=oe;function _0x33c2d0(_0x37305e){const _0x5ef0c4=_0x2aeb;_0x37305e[_0x5ef0c4(0x24d)](_0x5ef0c4(0x291));}function _0x58b5a0(){const _0x460070=_0x2aeb;!this['destroyed']&&this[_0x460070(0x175)][_0x460070(0x215)]&&this[_0x460070(0x210)]();}function _0x119224(_0x3fe542){const _0x361131=_0x2aeb;this[_0x361131(0x18b)](_0x361131(0x1c1),_0x119224),this[_0x361131(0x210)](),this[_0x361131(0x2f1)](_0x361131(0x1c1))===0x0&&this[_0x361131(0x24d)](_0x361131(0x1c1),_0x3fe542);}function _0x11497(_0x5317c1,_0x287121){const _0x33d702=_0x2aeb;let _0x5be969=!0x0;const _0x59ee63=new _0x42bc1e({..._0x287121,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5317c1['on']('message',function(_0xa8527a,_0x406f26){const _0x326085=_0x2aeb,_0x5a4b9d=!_0x406f26&&_0x59ee63['_readableState']['objectMode']?_0xa8527a['toString']():_0xa8527a;_0x59ee63[_0x326085(0x2d6)](_0x5a4b9d)||_0x5317c1[_0x326085(0x322)]();}),_0x5317c1[_0x33d702(0x239)](_0x33d702(0x1c1),function(_0x56b9d5){const _0x3a1263=_0x33d702;_0x59ee63[_0x3a1263(0x257)]||(_0x5be969=!0x1,_0x59ee63[_0x3a1263(0x210)](_0x56b9d5));}),_0x5317c1[_0x33d702(0x239)](_0x33d702(0x291),function(){const _0x170f38=_0x33d702;_0x59ee63[_0x170f38(0x257)]||_0x59ee63[_0x170f38(0x2d6)](null);}),_0x59ee63[_0x33d702(0x2de)]=function(_0x25fd97,_0x125810){const _0x5c4168=_0x33d702;if(_0x5317c1[_0x5c4168(0x1e0)]===_0x5317c1['CLOSED']){_0x125810(_0x25fd97),process[_0x5c4168(0x1dd)](_0x33c2d0,_0x59ee63);return;}let _0x58a95c=!0x1;_0x5317c1['once'](_0x5c4168(0x1c1),function(_0x2a4b6d){_0x58a95c=!0x0,_0x125810(_0x2a4b6d);}),_0x5317c1[_0x5c4168(0x239)](_0x5c4168(0x291),function(){const _0x18e7bc=_0x5c4168;_0x58a95c||_0x125810(_0x25fd97),process[_0x18e7bc(0x1dd)](_0x33c2d0,_0x59ee63);}),_0x5be969&&_0x5317c1[_0x5c4168(0x2f7)]();},_0x59ee63['_final']=function(_0x414712){const _0x4b2712=_0x33d702;if(_0x5317c1[_0x4b2712(0x1e0)]===_0x5317c1[_0x4b2712(0x1fb)]){_0x5317c1[_0x4b2712(0x239)]('open',function(){const _0x42c74d=_0x4b2712;_0x59ee63[_0x42c74d(0x263)](_0x414712);});return;}_0x5317c1[_0x4b2712(0x25f)]!==null&&(_0x5317c1[_0x4b2712(0x25f)][_0x4b2712(0x175)][_0x4b2712(0x215)]?(_0x414712(),_0x59ee63[_0x4b2712(0x2be)][_0x4b2712(0x300)]&&_0x59ee63[_0x4b2712(0x210)]()):(_0x5317c1[_0x4b2712(0x25f)][_0x4b2712(0x239)]('finish',function(){_0x414712();}),_0x5317c1[_0x4b2712(0x291)]()));},_0x59ee63[_0x33d702(0x19a)]=function(){const _0x3e622c=_0x33d702;_0x5317c1['isPaused']&&_0x5317c1[_0x3e622c(0x2b4)]();},_0x59ee63[_0x33d702(0x271)]=function(_0x25d768,_0x44286a,_0x4da669){const _0x161bf7=_0x33d702;if(_0x5317c1[_0x161bf7(0x1e0)]===_0x5317c1[_0x161bf7(0x1fb)]){_0x5317c1[_0x161bf7(0x239)](_0x161bf7(0x26c),function(){_0x59ee63['_write'](_0x25d768,_0x44286a,_0x4da669);});return;}_0x5317c1[_0x161bf7(0x298)](_0x25d768,_0x4da669);},_0x59ee63['on'](_0x33d702(0x195),_0x58b5a0),_0x59ee63['on'](_0x33d702(0x1c1),_0x119224),_0x59ee63;}return Oe=_0x11497,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3d67cf}=ae();function _0x1650c7(_0x3d1956){const _0x25faf5=_0x2aeb,_0x324849=new Set();let _0x3f5dd3=-0x1,_0x55ea24=-0x1,_0x5d9abb=0x0;for(_0x5d9abb;_0x5d9abb<_0x3d1956['length'];_0x5d9abb++){const _0x304b94=_0x3d1956[_0x25faf5(0x25b)](_0x5d9abb);if(_0x55ea24===-0x1&&_0x3d67cf[_0x304b94]===0x1)_0x3f5dd3===-0x1&&(_0x3f5dd3=_0x5d9abb);else{if(_0x5d9abb!==0x0&&(_0x304b94===0x20||_0x304b94===0x9))_0x55ea24===-0x1&&_0x3f5dd3!==-0x1&&(_0x55ea24=_0x5d9abb);else{if(_0x304b94===0x2c){if(_0x3f5dd3===-0x1)throw new SyntaxError(_0x25faf5(0x180)+_0x5d9abb);_0x55ea24===-0x1&&(_0x55ea24=_0x5d9abb);const _0x4b6f7c=_0x3d1956[_0x25faf5(0x2e6)](_0x3f5dd3,_0x55ea24);if(_0x324849[_0x25faf5(0x279)](_0x4b6f7c))throw new SyntaxError(_0x25faf5(0x241)+_0x4b6f7c+_0x25faf5(0x28c));_0x324849['add'](_0x4b6f7c),_0x3f5dd3=_0x55ea24=-0x1;}else throw new SyntaxError(_0x25faf5(0x180)+_0x5d9abb);}}}if(_0x3f5dd3===-0x1||_0x55ea24!==-0x1)throw new SyntaxError(_0x25faf5(0x240));const _0x1a8bce=_0x3d1956[_0x25faf5(0x2e6)](_0x3f5dd3,_0x5d9abb);if(_0x324849[_0x25faf5(0x279)](_0x1a8bce))throw new SyntaxError(_0x25faf5(0x241)+_0x1a8bce+_0x25faf5(0x28c));return _0x324849[_0x25faf5(0x172)](_0x1a8bce),_0x324849;}return Ce={'parse':_0x1650c7},Ce;}var Te,rt;function Ft(){const _0x598717=_0x4c1ef6;if(rt)return Te;rt=0x1;const _0x7ec03b=nt,_0x32da52=ot,{Duplex:_0x284ddb}=oe,{createHash:_0x1b3951}=Le,_0x13cd8d=ct(),_0x2a59ac=he(),_0x2f5a91=At(),_0x45f2c4=Pe(),{GUID:_0x9f0154,kWebSocket:_0x1e81be}=H(),_0x3d681c=/^[+/0-9A-Za-z]{22}==$/,_0x443575=0x0,_0x100951=0x1,_0x182826=0x2;class _0x3a8474 extends _0x7ec03b{constructor(_0x339574,_0x16e7b4){const _0x33e6b0=_0x2aeb;if(super(),_0x339574={'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':_0x45f2c4,..._0x339574},_0x339574[_0x33e6b0(0x272)]==null&&!_0x339574[_0x33e6b0(0x209)]&&!_0x339574[_0x33e6b0(0x30e)]||_0x339574[_0x33e6b0(0x272)]!=null&&(_0x339574[_0x33e6b0(0x209)]||_0x339574[_0x33e6b0(0x30e)])||_0x339574['server']&&_0x339574[_0x33e6b0(0x30e)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x339574[_0x33e6b0(0x272)]!=null?(this[_0x33e6b0(0x256)]=_0x32da52[_0x33e6b0(0x30f)]((_0xa399fe,_0x5441d6)=>{const _0x43cfc7=_0x33e6b0,_0x71963c=_0x32da52[_0x43cfc7(0x2aa)][0x1aa];_0x5441d6[_0x43cfc7(0x27e)](0x1aa,{'Content-Length':_0x71963c[_0x43cfc7(0x173)],'Content-Type':'text/plain'}),_0x5441d6[_0x43cfc7(0x195)](_0x71963c);}),this[_0x33e6b0(0x256)][_0x33e6b0(0x297)](_0x339574[_0x33e6b0(0x272)],_0x339574[_0x33e6b0(0x274)],_0x339574[_0x33e6b0(0x1c5)],_0x16e7b4)):_0x339574[_0x33e6b0(0x209)]&&(this[_0x33e6b0(0x256)]=_0x339574[_0x33e6b0(0x209)]),this[_0x33e6b0(0x256)]){const _0x28986f=this['emit']['bind'](this,'connection');this[_0x33e6b0(0x28b)]=_0x185938(this['_server'],{'listening':this[_0x33e6b0(0x24d)][_0x33e6b0(0x2af)](this,_0x33e6b0(0x220)),'error':this['emit'][_0x33e6b0(0x2af)](this,_0x33e6b0(0x1c1)),'upgrade':(_0x6cdeb1,_0x300424,_0x21fcf9)=>{const _0x22008b=_0x33e6b0;this[_0x22008b(0x27c)](_0x6cdeb1,_0x300424,_0x21fcf9,_0x28986f);}});}_0x339574[_0x33e6b0(0x24e)]===!0x0&&(_0x339574[_0x33e6b0(0x24e)]={}),_0x339574['clientTracking']&&(this[_0x33e6b0(0x1e4)]=new Set(),this[_0x33e6b0(0x187)]=!0x1),this['options']=_0x339574,this[_0x33e6b0(0x1c4)]=_0x443575;}[_0x598717(0x323)](){const _0x2723bc=_0x598717;if(this[_0x2723bc(0x27d)][_0x2723bc(0x30e)])throw new Error(_0x2723bc(0x2c9));return this[_0x2723bc(0x256)]?this['_server']['address']():null;}[_0x598717(0x291)](_0x52bf1c){const _0x317138=_0x598717;if(this[_0x317138(0x1c4)]===_0x182826){_0x52bf1c&&this[_0x317138(0x239)](_0x317138(0x291),()=>{const _0x26f973=_0x317138;_0x52bf1c(new Error(_0x26f973(0x20e)));}),process[_0x317138(0x1dd)](_0x3925a4,this);return;}if(_0x52bf1c&&this[_0x317138(0x239)](_0x317138(0x291),_0x52bf1c),this[_0x317138(0x1c4)]!==_0x100951){if(this[_0x317138(0x1c4)]=_0x100951,this[_0x317138(0x27d)]['noServer']||this[_0x317138(0x27d)]['server'])this[_0x317138(0x256)]&&(this[_0x317138(0x28b)](),this[_0x317138(0x28b)]=this[_0x317138(0x256)]=null),this['clients']?this[_0x317138(0x1e4)][_0x317138(0x18a)]?this[_0x317138(0x187)]=!0x0:process[_0x317138(0x1dd)](_0x3925a4,this):process[_0x317138(0x1dd)](_0x3925a4,this);else{const _0x47a940=this[_0x317138(0x256)];this['_removeListeners'](),this[_0x317138(0x28b)]=this[_0x317138(0x256)]=null,_0x47a940['close'](()=>{_0x3925a4(this);});}}}[_0x598717(0x236)](_0x48858a){const _0x27b6df=_0x598717;if(this['options']['path']){const _0x2793d6=_0x48858a[_0x27b6df(0x1b7)][_0x27b6df(0x1c7)]('?');if((_0x2793d6!==-0x1?_0x48858a[_0x27b6df(0x1b7)][_0x27b6df(0x2e6)](0x0,_0x2793d6):_0x48858a[_0x27b6df(0x1b7)])!==this[_0x27b6df(0x27d)][_0x27b6df(0x2a5)])return!0x1;}return!0x0;}['handleUpgrade'](_0x50007f,_0x2dec10,_0x1b47d0,_0x4f872e){const _0x459f8d=_0x598717;_0x2dec10['on'](_0x459f8d(0x1c1),_0x789227);const _0x1e3bb8=_0x50007f[_0x459f8d(0x1cc)][_0x459f8d(0x1a3)],_0x429958=_0x50007f[_0x459f8d(0x1cc)]['upgrade'],_0x726961=+_0x50007f[_0x459f8d(0x1cc)][_0x459f8d(0x313)];if(_0x50007f[_0x459f8d(0x2c2)]!==_0x459f8d(0x1eb)){_0x313fc4(this,_0x50007f,_0x2dec10,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x429958===void 0x0||_0x429958['toLowerCase']()!==_0x459f8d(0x2e5)){_0x313fc4(this,_0x50007f,_0x2dec10,0x190,_0x459f8d(0x1ce));return;}if(_0x1e3bb8===void 0x0||!_0x3d681c[_0x459f8d(0x21f)](_0x1e3bb8)){_0x313fc4(this,_0x50007f,_0x2dec10,0x190,_0x459f8d(0x1ae));return;}if(_0x726961!==0xd&&_0x726961!==0x8){_0x313fc4(this,_0x50007f,_0x2dec10,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x459f8d(0x270)});return;}if(!this[_0x459f8d(0x236)](_0x50007f)){_0x366da8(_0x2dec10,0x190);return;}const _0x5bdcea=_0x50007f[_0x459f8d(0x1cc)]['sec-websocket-protocol'];let _0x72b8ad=new Set();if(_0x5bdcea!==void 0x0)try{_0x72b8ad=_0x2f5a91['parse'](_0x5bdcea);}catch{_0x313fc4(this,_0x50007f,_0x2dec10,0x190,_0x459f8d(0x314));return;}const _0x537764=_0x50007f[_0x459f8d(0x1cc)][_0x459f8d(0x25e)],_0x5c6f32={};if(this['options'][_0x459f8d(0x24e)]&&_0x537764!==void 0x0){const _0x34d293=new _0x2a59ac(this[_0x459f8d(0x27d)][_0x459f8d(0x24e)],!0x0,this['options']['maxPayload']);try{const _0x134dc5=_0x13cd8d[_0x459f8d(0x22e)](_0x537764);_0x134dc5[_0x2a59ac['extensionName']]&&(_0x34d293['accept'](_0x134dc5[_0x2a59ac['extensionName']]),_0x5c6f32[_0x2a59ac[_0x459f8d(0x2a2)]]=_0x34d293);}catch{_0x313fc4(this,_0x50007f,_0x2dec10,0x190,_0x459f8d(0x1a9));return;}}if(this[_0x459f8d(0x27d)][_0x459f8d(0x2f6)]){const _0xf117ff={'origin':_0x50007f[_0x459f8d(0x1cc)][''+(_0x726961===0x8?_0x459f8d(0x2df):_0x459f8d(0x232))],'secure':!!(_0x50007f[_0x459f8d(0x28e)][_0x459f8d(0x287)]||_0x50007f[_0x459f8d(0x28e)][_0x459f8d(0x30a)]),'req':_0x50007f};if(this['options'][_0x459f8d(0x2f6)]['length']===0x2){this[_0x459f8d(0x27d)][_0x459f8d(0x2f6)](_0xf117ff,(_0x322b7f,_0x521a03,_0x10face,_0x1d08f7)=>{const _0x203e1d=_0x459f8d;if(!_0x322b7f)return _0x366da8(_0x2dec10,_0x521a03||0x191,_0x10face,_0x1d08f7);this[_0x203e1d(0x2f3)](_0x5c6f32,_0x1e3bb8,_0x72b8ad,_0x50007f,_0x2dec10,_0x1b47d0,_0x4f872e);});return;}if(!this['options'][_0x459f8d(0x2f6)](_0xf117ff))return _0x366da8(_0x2dec10,0x191);}this[_0x459f8d(0x2f3)](_0x5c6f32,_0x1e3bb8,_0x72b8ad,_0x50007f,_0x2dec10,_0x1b47d0,_0x4f872e);}[_0x598717(0x2f3)](_0x348c2f,_0x3a263e,_0x42035b,_0x11c9ac,_0x1ebf61,_0x230780,_0x8edfd){const _0x1d2846=_0x598717;if(!_0x1ebf61[_0x1d2846(0x1e1)]||!_0x1ebf61[_0x1d2846(0x1ef)])return _0x1ebf61[_0x1d2846(0x210)]();if(_0x1ebf61[_0x1e81be])throw new Error(_0x1d2846(0x299));if(this['_state']>_0x443575)return _0x366da8(_0x1ebf61,0x1f7);const _0x46542e=[_0x1d2846(0x1aa),_0x1d2846(0x282),_0x1d2846(0x320),_0x1d2846(0x303)+_0x1b3951(_0x1d2846(0x292))[_0x1d2846(0x17d)](_0x3a263e+_0x9f0154)[_0x1d2846(0x2b9)](_0x1d2846(0x31e))],_0x573420=new this['options'][(_0x1d2846(0x310))](null,void 0x0,this['options']);if(_0x42035b['size']){const _0x1e3ae0=this[_0x1d2846(0x27d)][_0x1d2846(0x197)]?this[_0x1d2846(0x27d)]['handleProtocols'](_0x42035b,_0x11c9ac):_0x42035b[_0x1d2846(0x27a)]()[_0x1d2846(0x1b0)]()[_0x1d2846(0x24c)];_0x1e3ae0&&(_0x46542e[_0x1d2846(0x2d6)](_0x1d2846(0x216)+_0x1e3ae0),_0x573420[_0x1d2846(0x1d3)]=_0x1e3ae0);}if(_0x348c2f[_0x2a59ac[_0x1d2846(0x2a2)]]){const _0x1f6a27=_0x348c2f[_0x2a59ac['extensionName']][_0x1d2846(0x207)],_0x3ad05d=_0x13cd8d['format']({[_0x2a59ac['extensionName']]:[_0x1f6a27]});_0x46542e[_0x1d2846(0x2d6)](_0x1d2846(0x284)+_0x3ad05d),_0x573420['_extensions']=_0x348c2f;}this['emit'](_0x1d2846(0x1cc),_0x46542e,_0x11c9ac),_0x1ebf61['write'](_0x46542e[_0x1d2846(0x1f6)]('\x0d\x0a')[_0x1d2846(0x1b3)]('\x0d\x0a')),_0x1ebf61[_0x1d2846(0x18b)](_0x1d2846(0x1c1),_0x789227),_0x573420[_0x1d2846(0x2b1)](_0x1ebf61,_0x230780,{'allowSynchronousEvents':this[_0x1d2846(0x27d)]['allowSynchronousEvents'],'maxPayload':this['options'][_0x1d2846(0x237)],'skipUTF8Validation':this[_0x1d2846(0x27d)][_0x1d2846(0x191)]}),this[_0x1d2846(0x1e4)]&&(this[_0x1d2846(0x1e4)][_0x1d2846(0x172)](_0x573420),_0x573420['on'](_0x1d2846(0x291),()=>{const _0x24ca42=_0x1d2846;this['clients'][_0x24ca42(0x1a1)](_0x573420),this[_0x24ca42(0x187)]&&!this[_0x24ca42(0x1e4)][_0x24ca42(0x18a)]&&process[_0x24ca42(0x1dd)](_0x3925a4,this);})),_0x8edfd(_0x573420,_0x11c9ac);}}Te=_0x3a8474;function _0x185938(_0x3e1298,_0x3fdedd){const _0x1de6b1=_0x598717;for(const _0x477696 of Object[_0x1de6b1(0x253)](_0x3fdedd))_0x3e1298['on'](_0x477696,_0x3fdedd[_0x477696]);return function(){const _0x34ab5a=_0x1de6b1;for(const _0x15114e of Object[_0x34ab5a(0x253)](_0x3fdedd))_0x3e1298['removeListener'](_0x15114e,_0x3fdedd[_0x15114e]);};}function _0x3925a4(_0xb6c7d0){const _0x45046c=_0x598717;_0xb6c7d0[_0x45046c(0x1c4)]=_0x182826,_0xb6c7d0[_0x45046c(0x24d)]('close');}function _0x789227(){const _0x13eb8b=_0x598717;this[_0x13eb8b(0x210)]();}function _0x366da8(_0x188001,_0x2331bf,_0x244ef2,_0x1d9c0d){const _0x4dbb0e=_0x598717;_0x244ef2=_0x244ef2||_0x32da52[_0x4dbb0e(0x2aa)][_0x2331bf],_0x1d9c0d={'Connection':'close','Content-Type':_0x4dbb0e(0x23f),'Content-Length':Buffer[_0x4dbb0e(0x205)](_0x244ef2),..._0x1d9c0d},_0x188001['once'](_0x4dbb0e(0x17b),_0x188001['destroy']),_0x188001[_0x4dbb0e(0x195)](_0x4dbb0e(0x19c)+_0x2331bf+'\x20'+_0x32da52[_0x4dbb0e(0x2aa)][_0x2331bf]+'\x0d\x0a'+Object[_0x4dbb0e(0x253)](_0x1d9c0d)[_0x4dbb0e(0x235)](_0x3b507e=>_0x3b507e+':\x20'+_0x1d9c0d[_0x3b507e])[_0x4dbb0e(0x1b3)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x244ef2);}function _0x313fc4(_0x3bb1fa,_0x5cacbf,_0x334c06,_0x53647b,_0x2aa571,_0x159f76){const _0x542614=_0x598717;if(_0x3bb1fa[_0x542614(0x2f1)]('wsClientError')){const _0x11cb03=new Error(_0x2aa571);Error[_0x542614(0x1b6)](_0x11cb03,_0x313fc4),_0x3bb1fa[_0x542614(0x24d)]('wsClientError',_0x11cb03,_0x334c06,_0x5cacbf);}else _0x366da8(_0x334c06,_0x53647b,_0x2aa571,_0x159f76);}return Te;}Ft();var jt=Object[_0x4c1ef6(0x29c)],Wt=(_0x3d3e79,_0x17b1e2,_0x1fe1be,_0x275ce8)=>{const _0x279ef7=_0x4c1ef6;for(var _0x1746ff=_0x275ce8>0x1?void 0x0:_0x275ce8?jt(_0x17b1e2,_0x1fe1be):_0x17b1e2,_0x4d2a6f=_0x3d3e79[_0x279ef7(0x173)]-0x1,_0x5e27b0;_0x4d2a6f>=0x0;_0x4d2a6f--)(_0x5e27b0=_0x3d3e79[_0x4d2a6f])&&(_0x1746ff=_0x5e27b0(_0x1746ff)||_0x1746ff);return _0x1746ff;},qt=(_0x1247c7,_0x5012ee)=>(_0x410039,_0x15c4c7)=>_0x5012ee(_0x410039,_0x15c4c7,_0x1247c7);let ke=class extends A['Disposable']{constructor(_0x2960cf){super(),this['_configService']=_0x2960cf;}[_0x4c1ef6(0x26b)](_0xa5abda){const _0x27b959=_0x4c1ef6;var _0x13746b;const _0x162730=(_0x13746b=this[_0x27b959(0x1a7)][_0x27b959(0x23e)](fe))==null?void 0x0:_0x13746b['customHeaders'];try{const _0xcee80f=new $t(_0xa5abda,{'headers':{..._0x162730}}),_0x38a6a1=new A[(_0x27b959(0x2b6))]();return{'URL':_0xa5abda,'close':(_0x4db7d3,_0x2408b3)=>{_0xcee80f['close'](_0x4db7d3,_0x2408b3),_0x38a6a1['dispose']();},'send':_0x1f36fa=>{_0xcee80f['send'](_0x1f36fa);},'open$':new V['Observable'](_0x14e75b=>{const _0x43305c=_0x27b959,_0x1ba3dd=_0x10f1c2=>_0x14e75b['next'](_0x10f1c2);_0xcee80f[_0x43305c(0x308)](_0x43305c(0x26c),_0x1ba3dd),_0x38a6a1[_0x43305c(0x172)](A['toDisposable'](()=>_0xcee80f['removeEventListener']('open',_0x1ba3dd)));})[_0x27b959(0x186)](V[_0x27b959(0x202)]()),'close$':new V[(_0x27b959(0x218))](_0x2ccab2=>{const _0x255e70=_0x27b959,_0x17e911=_0x558d86=>_0x2ccab2[_0x255e70(0x1b0)](_0x558d86);_0xcee80f['addEventListener'](_0x255e70(0x291),_0x17e911),_0x38a6a1[_0x255e70(0x172)](A[_0x255e70(0x18c)](()=>_0xcee80f['removeEventListener'](_0x255e70(0x291),_0x17e911)));})[_0x27b959(0x186)](V[_0x27b959(0x202)]()),'error$':new V[(_0x27b959(0x218))](_0x59faa2=>{const _0x3052fa=_0x27b959,_0x482070=_0x278e52=>_0x59faa2['next'](_0x278e52);_0xcee80f['addEventListener'](_0x3052fa(0x1c1),_0x482070),_0x38a6a1[_0x3052fa(0x172)](A[_0x3052fa(0x18c)](()=>_0xcee80f[_0x3052fa(0x200)](_0x3052fa(0x1c1),_0x482070)));})[_0x27b959(0x186)](V[_0x27b959(0x202)]()),'message$':new V[(_0x27b959(0x218))](_0xe553f=>{const _0x509f8a=_0x27b959,_0x3fa8ba=_0x59fed2=>_0xe553f['next'](_0x59fed2);_0xcee80f[_0x509f8a(0x308)]('message',_0x3fa8ba),_0x38a6a1[_0x509f8a(0x172)](A[_0x509f8a(0x18c)](()=>_0xcee80f['removeEventListener'](_0x509f8a(0x254),_0x3fa8ba)));})['pipe'](V[_0x27b959(0x202)]())};}catch(_0x39db2f){return console[_0x27b959(0x1c1)](_0x39db2f),null;}}};ke=Wt([qt(0x0,A[_0x4c1ef6(0x2c5)])],ke);var Gt=Object[_0x4c1ef6(0x231)],Vt=Object[_0x4c1ef6(0x29c)],Ht=(_0x53dfe8,_0x4f5c1f,_0x105789)=>_0x4f5c1f in _0x53dfe8?Gt(_0x53dfe8,_0x4f5c1f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x105789}):_0x53dfe8[_0x4f5c1f]=_0x105789,zt=(_0x5aa907,_0x2e8cc2,_0x59a129,_0x42cf16)=>{const _0x1adfd7=_0x4c1ef6;for(var _0x441e70=_0x42cf16>0x1?void 0x0:_0x42cf16?Vt(_0x2e8cc2,_0x59a129):_0x2e8cc2,_0x3504b0=_0x5aa907[_0x1adfd7(0x173)]-0x1,_0x3ca748;_0x3504b0>=0x0;_0x3504b0--)(_0x3ca748=_0x5aa907[_0x3504b0])&&(_0x441e70=_0x3ca748(_0x441e70)||_0x441e70);return _0x441e70;},Ne=(_0x6b639,_0x21a840)=>(_0x86e81d,_0x520aa2)=>_0x21a840(_0x86e81d,_0x520aa2,_0x6b639),Yt=(_0xf71d42,_0x24d442,_0x398538)=>Ht(_0xf71d42,_0x24d442+'',_0x398538);exports[_0x4c1ef6(0x2b2)]=class extends A[_0x4c1ef6(0x2a8)]{constructor(_0x310e0b=Ct,_0xcfe90,_0x396d2a,_0x26e0d8){const _0x4af128=_0x4c1ef6;_0x310e0b[_0x4af128(0x2ca)]||_0xcfe90[_0x4af128(0x30c)](_0x4af128(0x316)),super(),this['_configService']=_0x396d2a,this[_0x4af128(0x1c3)]=_0x26e0d8,this['_configService'][_0x4af128(0x290)](fe,_0x310e0b);}[_0x4c1ef6(0x321)](){const _0x20f64e=_0x4c1ef6;this[_0x20f64e(0x29f)]();}[_0x4c1ef6(0x29f)](){const _0x359b05=_0x4c1ef6;A[_0x359b05(0x208)](this['_injector'],[[it[_0x359b05(0x20d)],{'useClass':ke}]]);}},Yt(exports[_0x4c1ef6(0x2b2)],_0x4c1ef6(0x2cb),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x4c1ef6(0x225)](st[_0x4c1ef6(0x261)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x4c1ef6(0x2c5)]),Ne(0x3,A[_0x4c1ef6(0x2f8)](A[_0x4c1ef6(0x247)]))],exports[_0x4c1ef6(0x2b2)]);var Kt=Object[_0x4c1ef6(0x29c)],Xt=(_0x5e6811,_0x459761,_0x593abe,_0x53d23c)=>{const _0x35fc3f=_0x4c1ef6;for(var _0x183f2a=_0x53d23c>0x1?void 0x0:_0x53d23c?Kt(_0x459761,_0x593abe):_0x459761,_0x1415d4=_0x5e6811[_0x35fc3f(0x173)]-0x1,_0x4429a7;_0x1415d4>=0x0;_0x1415d4--)(_0x4429a7=_0x5e6811[_0x1415d4])&&(_0x183f2a=_0x4429a7(_0x183f2a)||_0x183f2a);return _0x183f2a;},ne=(_0x40813d,_0xef5405)=>(_0x5840fe,_0x1344b9)=>_0xef5405(_0x5840fe,_0x1344b9,_0x40813d);exports[_0x4c1ef6(0x24f)]=class extends st[_0x4c1ef6(0x226)]{constructor(_0x48f1df,_0x490d52,_0x1e8bbf,_0x45579c,_0x11e942){const _0x30f508=_0x4c1ef6;super(_0x48f1df,_0x490d52,_0x1e8bbf,_0x45579c,_0x11e942);const _0x23e957=this[_0x30f508(0x1a7)][_0x30f508(0x23e)](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2bb529,_0x3e31a5)=>{const _0x3aa445=_0x30f508;var _0x59b35d;const _0x4a1981=_0x2bb529['headers'];return(_0x59b35d=_0x23e957==null?void 0x0:_0x23e957['customHeaders'])!=null&&_0x59b35d[_0x3aa445(0x32b)]&&_0x4a1981[_0x3aa445(0x31c)](_0x3aa445(0x1df),_0x23e957['customHeaders']['cookie']),_0x3e31a5(_0x2bb529);}});}async[_0x4c1ef6(0x26b)](_0x4c675a){return this['_doCreateSocket'](_0x4c675a);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x4c1ef6(0x2f8)](A[_0x4c1ef6(0x247)])),ne(0x1,A[_0x4c1ef6(0x2f8)](it[_0x4c1ef6(0x23b)])),ne(0x2,A[_0x4c1ef6(0x2c5)]),ne(0x3,A[_0x4c1ef6(0x1f8)]),ne(0x4,Ot[_0x4c1ef6(0x25d)])],exports[_0x4c1ef6(0x24f)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x44f354=_0x248f;(function(_0x1f93d5,_0x2944a7){const _0x18ba45=_0x248f,_0x3c4486=_0x1f93d5();while(!![]){try{const _0x58d3ac=-parseInt(_0x18ba45(0x178))/0x1+-parseInt(_0x18ba45(0x1cf))/0x2*(-parseInt(_0x18ba45(0x106))/0x3)+parseInt(_0x18ba45(0x1a2))/0x4*(parseInt(_0x18ba45(0x18d))/0x5)+parseInt(_0x18ba45(0x177))/0x6+parseInt(_0x18ba45(0x286))/0x7*(parseInt(_0x18ba45(0x17b))/0x8)+parseInt(_0x18ba45(0x1f8))/0x9*(parseInt(_0x18ba45(0x23d))/0xa)+-parseInt(_0x18ba45(0x105))/0xb;if(_0x58d3ac===_0x2944a7)break;else _0x3c4486['push'](_0x3c4486['shift']());}catch(_0x2ef140){_0x3c4486['push'](_0x3c4486['shift']());}}}(_0x3a56,0xeb4d3));Object[_0x44f354(0x1ce)](exports,Symbol[_0x44f354(0x289)],{'value':_0x44f354(0x1aa)});function _0x248f(_0x29fe86,_0xc9e6bd){const _0x3a5607=_0x3a56();return _0x248f=function(_0x248f7d,_0x24c8b9){_0x248f7d=_0x248f7d-0xf4;let _0x33b18d=_0x3a5607[_0x248f7d];return _0x33b18d;},_0x248f(_0x29fe86,_0xc9e6bd);}const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x44f354(0x1bb),Ct={'customHeaders':{}};function Tt(_0x2f6d21){const _0x2d2a0e=_0x44f354;return _0x2f6d21&&_0x2f6d21[_0x2d2a0e(0x14f)]&&Object['prototype']['hasOwnProperty']['call'](_0x2f6d21,_0x2d2a0e(0x279))?_0x2f6d21['default']:_0x2f6d21;}function _0x3a56(){const _0x52f58c=['accept','HTTP/1.1\x20101\x20Switching\x20Protocols','finish','_write','_autoPong','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20URL:\x20','object','WebSocket\x20is\x20not\x20open:\x20readyState\x20','isServer','startLoop','connect','exports','arrayBuffer','encrypted','createDeflateRaw','__esModule','defaultPort','_generateMask','nextTick','kListener','concurrencyLimit','RSV1\x20must\x20be\x20clear','isInteger','text/plain','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Injector','readable','_closeTimer','push','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_configService','fin','authorization','kMessage','NodeCollaborationSocketService','WS_ERR_INVALID_OPCODE','dispose','ws+unix:','map','skipUTF8Validation','_totalPayloadLength','websocket','kCode','_originalIpc','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','callback','alloc','handleEvent','_messageLength','_req','_readyState','keys','_no_context_takeover','pow','binary','8970366TovfYo','559472PkKYjY','construct','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','6792afjAct','warn','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','getPayloadLength16','File','compress','_server','offer','serverNoContextTakeover','jobs','_allowSynchronousEvents','WS_ERR_UNEXPECTED_RSV_1','location','Unexpected\x20character\x20at\x20index\x20','captureStackTrace','client','slice','registerDependencies','1550SoEzOA','server','Sec-WebSocket-Extensions:\x20','\x22:\x20','create','ISnapshotServerService','writeUInt16BE','onerror','server_no_context_takeover','has','_closeFrameReceived','_read','_firstFragment','replace','address','Z_SYNC_FLUSH','clientNoContextTakeover','autoPong','listeners','Invalid\x20Sec-WebSocket-Extensions\x20header','close','21668aLJOVH','wss:','flush','haveLength','Blob','sec-websocket-protocol','unshift','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Module','drain','completeUpgrade','arraybuffer','_errorEmitted','socket','getMask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','readUInt32BE','parse','setNoDelay','_readableState','finishRequest','value','perMessageDeflate','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','params','collaboration-client-node.config','noServer','auth','onStarting','buffer','_maskBuffer','setSocket','Parameter\x20\x22','write','maxPayload','Invalid\x20WebSocket\x20frame:\x20','_shouldEmitClose','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','rsv1','\x22\x20subprotocol\x20is\x20duplicated','normalizeParams','pending','WS_ERR_EXPECTED_MASK','kDone','defineProperty','4ZOYGuk','blob','shouldHandle','_payloadLength','_isServer','destroyed','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_destroy','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kWasClean','error','Z_DEFAULT_WINDOWBITS','_socket','values','dequeue','authorized','verifyClient','Max\x20payload\x20size\x20exceeded','Connection:\x20Upgrade','WS_ERR_INVALID_UTF8','mask','invalid\x20payload\x20length\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','redirect','_closeFrameSent','handleUpgrade','_skipUTF8Validation','isBuffer','concat','destroy','invalid\x20opcode\x20','server_max_window_bits','dataMessage','headers','total-length','Plugin','Unexpected\x20server\x20response:\x20','enqueue','getBlobData','size','CLOSED','27ZPTEzF','cookie','readyState','_fragments','MASK\x20must\x20be\x20set','readOnly','writeHead','handleProtocols','digest','clients','username','format','_fragmented','call','open','COLLABORATION_CLIENT_NODE_CONFIG_KEY','isView','errorEmitted','needDrain','socketPath','emitClose','constructor','removeAllListeners','prototype','createConnection','pong','removeEventListener','WS_ERR_EXPECTED_FIN','options','conclude','message','_opcode','kData','_injector','cork','Upgrade:\x20websocket','byteOffset','setTimeout','pipe','read','_bufferedAmount','HTTPService','port','origin','update','byteLength','_doCreateSocket','extensions','split','_paused','listen','The\x20server\x20is\x20not\x20running','apply','13,\x208','dispatch','Server\x20sent\x20an\x20invalid\x20subprotocol','UniverCollaborationClientPlugin','host','Cookie','string','share','_mask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','opcode','WS_ERR_UNEXPECTED_RSV_2_3','\x0d\x0a\x0d\x0a','_closeMessage','isPaused','method','5827970uYLiWf','finished','sec-websocket-accept','backlog','CONNECTING','indexOf','reset','_options','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','toDisposable','send','_originalHostOrSocketPath','from','reason','function','addEventListener','sha1','http:','bind','acceptAsClient','shift','fragments','protocolVersion','_writableState','data','_url','maxRedirects','WebSocket','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','serverMaxWindowBits','ILogService','_sender','kByteLength','zlibDeflateOptions','uncork','resume','setHeader','HTTP/1.1\x20','isArray','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','DisposableCollection','_redirects','_compress','listenerCount','startsWith','Unexpected\x20end\x20of\x20input','_threshold','sendFrame','FIN\x20must\x20be\x20set','invalid\x20opcode\x200','sec-websocket-key','decompress','next','readUInt16BE','_protocol','getConfig','wasClean','extensionName','_compressed','pathname','default','Inject','freeze','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','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Sec-WebSocket-Protocol:\x20','_buffers','The\x20\x22','_final','timeout','kAborted','createError','allocUnsafe','1855RDgfer','wsClientError','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','toStringTag','consume','_inflate','_state','text/html','unexpected-response','Maximum\x20redirects\x20exceeded','followRedirects','_registerDependencies','stream','servername','STATUS_CODES','https:','clientMaxWindowBits','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','clientTracking','nodebuffer','GET','set','client_max_window_bits','binaryType','_bufferedBytes','Invalid\x20Upgrade\x20header','client_no_context_takeover','_binaryType','env','frame','WS_NO_UTF_8_VALIDATE','_queue','_masked','terminate','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','UniverCollaborationClientNodePlugin','zlibInflateOptions','setConfig','type','toString','CLOSING','createSocket','_removeListeners','length','onclose','hash','OPEN','includes','join','href','_loop','IConfigService','_originalSecure','createServer','charCodeAt','permessage-deflate','_httpService','_maxPayload','getOwnPropertyDescriptor','ws:','Unknown\x20parameter\x20\x22','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','customHeaders','forEach','kReason','species','handshakeTimeout','53055772dbpIbk','1798218zFjXpx','_errored','getInfo','test','getPayloadLength64','WS_ERR_UNEXPECTED_MASK','code','once','Disposable','Sec-WebSocket-Origin','toLowerCase','url','hostname','_max_window_bits','catch','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','unmask','Observable','_fin','threshold','then','add','concurrency','sec-websocket-extensions','protocol','acceptAsServer','abort','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_deflate','search','emit','MASK\x20must\x20be\x20clear','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','ping','_closeCode','pause','end','Invalid\x20HTTP\x20method','isValidUTF8','generateMask','registerHTTPInterceptor','base64','upgrade','controlMessage','cleanup','allowSynchronousEvents','_receiver','_extensions','statusCode','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','number','removeListener','path','_decompress','sec-websocket-version','password','onopen'];_0x3a56=function(){return _0x52f58c;};return _0x3a56();}function at(_0x4f05b0){const _0x1f6d96=_0x44f354;if(Object[_0x1f6d96(0x20f)]['hasOwnProperty'][_0x1f6d96(0x205)](_0x4f05b0,_0x1f6d96(0x14f)))return _0x4f05b0;var _0x8f2b4c=_0x4f05b0[_0x1f6d96(0x279)];if(typeof _0x8f2b4c==_0x1f6d96(0x24b)){var _0x30ee0b=function _0x2f91b1(){const _0x2c582b=_0x1f6d96;var _0x3aa129=!0x1;try{_0x3aa129=this instanceof _0x2f91b1;}catch{}return _0x3aa129?Reflect[_0x2c582b(0x179)](_0x8f2b4c,arguments,this[_0x2c582b(0x20d)]):_0x8f2b4c[_0x2c582b(0x22c)](this,arguments);};_0x30ee0b['prototype']=_0x8f2b4c['prototype'];}else _0x30ee0b={};return Object[_0x1f6d96(0x1ce)](_0x30ee0b,_0x1f6d96(0x14f),{'value':!0x0}),Object[_0x1f6d96(0x173)](_0x4f05b0)[_0x1f6d96(0x101)](function(_0x516b79){const _0x32b65b=_0x1f6d96;var _0x2ad7d1=Object[_0x32b65b(0xfc)](_0x4f05b0,_0x516b79);Object['defineProperty'](_0x30ee0b,_0x516b79,_0x2ad7d1['get']?_0x2ad7d1:{'enumerable':!0x0,'get':function(){return _0x4f05b0[_0x516b79];}});}),_0x30ee0b;}var se={'exports':{}},ge,Ge;function H(){const _0x26a4bc=_0x44f354;if(Ge)return ge;Ge=0x1;const _0xea5dcd=['nodebuffer',_0x26a4bc(0x1ad),_0x26a4bc(0x252)],_0x98acd1=typeof Blob<'u';return _0x98acd1&&_0xea5dcd[_0x26a4bc(0x15c)](_0x26a4bc(0x1d0)),ge={'BINARY_TYPES':_0xea5dcd,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x26a4bc(0x1b9),'hasBlob':_0x98acd1,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x26a4bc(0x153)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x44f354(0x27b)](Object[_0x44f354(0x1ce)]({'__proto__':null,'default':Nt},Symbol[_0x44f354(0x289)],{'value':_0x44f354(0x1aa)})),Lt=at(kt);var Ve;function ce(){const _0x401bcb=_0x44f354;if(Ve)return se[_0x401bcb(0x14b)];Ve=0x1;const {EMPTY_BUFFER:_0xac7552}=H(),_0x490169=Buffer[Symbol['species']];function _0xb6edbd(_0x3a89af,_0x331e79){const _0x957cf9=_0x401bcb;if(_0x3a89af[_0x957cf9(0x2b1)]===0x0)return _0xac7552;if(_0x3a89af[_0x957cf9(0x2b1)]===0x1)return _0x3a89af[0x0];const _0x2ae5e0=Buffer[_0x957cf9(0x285)](_0x331e79);let _0x5c4dc1=0x0;for(let _0x527e6c=0x0;_0x527e6c<_0x3a89af['length'];_0x527e6c++){const _0x3b3239=_0x3a89af[_0x527e6c];_0x2ae5e0[_0x957cf9(0x29b)](_0x3b3239,_0x5c4dc1),_0x5c4dc1+=_0x3b3239[_0x957cf9(0x2b1)];}return _0x5c4dc1<_0x331e79?new _0x490169(_0x2ae5e0['buffer'],_0x2ae5e0[_0x957cf9(0x21c)],_0x5c4dc1):_0x2ae5e0;}function _0x5c383f(_0x3839f4,_0x36440e,_0x2f8fad,_0x19967c,_0x1f50ef){for(let _0x57f6ae=0x0;_0x57f6ae<_0x1f50ef;_0x57f6ae++)_0x2f8fad[_0x19967c+_0x57f6ae]=_0x3839f4[_0x57f6ae]^_0x36440e[_0x57f6ae&0x3];}function _0x228def(_0x57990b,_0x1d7492){for(let _0xfbdcce=0x0;_0xfbdcce<_0x57990b['length'];_0xfbdcce++)_0x57990b[_0xfbdcce]^=_0x1d7492[_0xfbdcce&0x3];}function _0x23aa29(_0x4c034a){const _0x56472c=_0x401bcb;return _0x4c034a[_0x56472c(0x2b1)]===_0x4c034a[_0x56472c(0x1bf)][_0x56472c(0x225)]?_0x4c034a[_0x56472c(0x1bf)]:_0x4c034a[_0x56472c(0x1bf)]['slice'](_0x4c034a[_0x56472c(0x21c)],_0x4c034a[_0x56472c(0x21c)]+_0x4c034a[_0x56472c(0x2b1)]);}function _0x51e14a(_0x458bd4){const _0x55a2ec=_0x401bcb;if(_0x51e14a[_0x55a2ec(0x1fd)]=!0x0,Buffer[_0x55a2ec(0x1ea)](_0x458bd4))return _0x458bd4;let _0x9174f7;return _0x458bd4 instanceof ArrayBuffer?_0x9174f7=new _0x490169(_0x458bd4):ArrayBuffer[_0x55a2ec(0x208)](_0x458bd4)?_0x9174f7=new _0x490169(_0x458bd4[_0x55a2ec(0x1bf)],_0x458bd4[_0x55a2ec(0x21c)],_0x458bd4['byteLength']):(_0x9174f7=Buffer[_0x55a2ec(0x249)](_0x458bd4),_0x51e14a[_0x55a2ec(0x1fd)]=!0x1),_0x9174f7;}if(se[_0x401bcb(0x14b)]={'concat':_0xb6edbd,'mask':_0x5c383f,'toArrayBuffer':_0x23aa29,'toBuffer':_0x51e14a,'unmask':_0x228def},!process[_0x401bcb(0x2a2)]['WS_NO_BUFFER_UTIL'])try{const _0x421086=Lt;se['exports'][_0x401bcb(0x1e3)]=function(_0x20c854,_0x178be7,_0x560068,_0x476240,_0x4607c8){const _0x2febbf=_0x401bcb;_0x4607c8<0x30?_0x5c383f(_0x20c854,_0x178be7,_0x560068,_0x476240,_0x4607c8):_0x421086[_0x2febbf(0x1e3)](_0x20c854,_0x178be7,_0x560068,_0x476240,_0x4607c8);},se[_0x401bcb(0x14b)]['unmask']=function(_0x36e0ad,_0x47b73a){const _0x42496d=_0x401bcb;_0x36e0ad[_0x42496d(0x2b1)]<0x20?_0x228def(_0x36e0ad,_0x47b73a):_0x421086[_0x42496d(0x116)](_0x36e0ad,_0x47b73a);};}catch{}return se[_0x401bcb(0x14b)];}var ye,He;function Pt(){const _0x443cca=_0x44f354;if(He)return ye;He=0x1;const _0x2ed998=Symbol(_0x443cca(0x1cd)),_0x5efa87=Symbol('kRun');class _0x4049a6{constructor(_0x674824){const _0x3d4149=_0x443cca;this[_0x2ed998]=()=>{const _0x119453=_0x248f;this[_0x119453(0x1cb)]--,this[_0x5efa87]();},this[_0x3d4149(0x11c)]=_0x674824||0x1/0x0,this[_0x3d4149(0x184)]=[],this[_0x3d4149(0x1cb)]=0x0;}[_0x443cca(0x11b)](_0x2d11f9){this['jobs']['push'](_0x2d11f9),this[_0x5efa87]();}[_0x5efa87](){const _0x2eaf11=_0x443cca;if(this['pending']!==this[_0x2eaf11(0x11c)]&&this['jobs']['length']){const _0x837af1=this[_0x2eaf11(0x184)]['shift']();this['pending']++,_0x837af1(this[_0x2ed998]);}}}return ye=_0x4049a6,ye;}var ve,ze;function he(){const _0x24b984=_0x44f354;if(ze)return ve;ze=0x1;const _0x533a87=bt,_0x4edb98=ce(),_0x567de9=Pt(),{kStatusCode:_0x25f077}=H(),_0x4901ae=Buffer[Symbol[_0x24b984(0x103)]],_0x3a1291=Buffer[_0x24b984(0x249)]([0x0,0x0,0xff,0xff]),_0x14418d=Symbol(_0x24b984(0xf9)),_0x2ad627=Symbol(_0x24b984(0x1f1)),_0x5eb7b2=Symbol(_0x24b984(0x16d)),_0xe7edd=Symbol('buffers'),_0x2bc6f5=Symbol(_0x24b984(0x1d9));let _0x2df10e;class _0x2e511f{constructor(_0x4a18e1,_0x46ce13,_0x1a1c52){const _0xdb8b18=_0x24b984;if(this['_maxPayload']=_0x1a1c52|0x0,this[_0xdb8b18(0x244)]=_0x4a18e1||{},this['_threshold']=this['_options'][_0xdb8b18(0x119)]!==void 0x0?this[_0xdb8b18(0x244)][_0xdb8b18(0x119)]:0x400,this['_isServer']=!!_0x46ce13,this[_0xdb8b18(0x122)]=null,this['_inflate']=null,this['params']=null,!_0x2df10e){const _0x24e5b3=this[_0xdb8b18(0x244)][_0xdb8b18(0x154)]!==void 0x0?this[_0xdb8b18(0x244)]['concurrencyLimit']:0xa;_0x2df10e=new _0x567de9(_0x24e5b3);}}static get['extensionName'](){return'permessage-deflate';}[_0x24b984(0x182)](){const _0x1fd81d=_0x24b984,_0x4fd7e1={};return this[_0x1fd81d(0x244)][_0x1fd81d(0x183)]&&(_0x4fd7e1[_0x1fd81d(0x195)]=!0x0),this[_0x1fd81d(0x244)]['clientNoContextTakeover']&&(_0x4fd7e1[_0x1fd81d(0x2a0)]=!0x0),this[_0x1fd81d(0x244)][_0x1fd81d(0x25a)]&&(_0x4fd7e1['server_max_window_bits']=this[_0x1fd81d(0x244)][_0x1fd81d(0x25a)]),this[_0x1fd81d(0x244)]['clientMaxWindowBits']?_0x4fd7e1['client_max_window_bits']=this[_0x1fd81d(0x244)][_0x1fd81d(0x296)]:this[_0x1fd81d(0x244)][_0x1fd81d(0x296)]==null&&(_0x4fd7e1['client_max_window_bits']=!0x0),_0x4fd7e1;}['accept'](_0x52ccf5){const _0x102297=_0x24b984;return _0x52ccf5=this['normalizeParams'](_0x52ccf5),this[_0x102297(0x1ba)]=this['_isServer']?this[_0x102297(0x11f)](_0x52ccf5):this[_0x102297(0x250)](_0x52ccf5),this[_0x102297(0x1ba)];}[_0x24b984(0x132)](){const _0x138a3c=_0x24b984;if(this[_0x138a3c(0x28b)]&&(this[_0x138a3c(0x28b)][_0x138a3c(0x1a1)](),this[_0x138a3c(0x28b)]=null),this[_0x138a3c(0x122)]){const _0x5b46ee=this['_deflate'][_0x5eb7b2];this[_0x138a3c(0x122)][_0x138a3c(0x1a1)](),this[_0x138a3c(0x122)]=null,_0x5b46ee&&_0x5b46ee(new Error(_0x138a3c(0xff)));}}[_0x24b984(0x11f)](_0x2c2432){const _0x8b070a=_0x24b984,_0x80af2b=this['_options'],_0x2afc95=_0x2c2432['find'](_0x3ef936=>!(_0x80af2b[_0x8b070a(0x183)]===!0x1&&_0x3ef936[_0x8b070a(0x195)]||_0x3ef936['server_max_window_bits']&&(_0x80af2b['serverMaxWindowBits']===!0x1||typeof _0x80af2b[_0x8b070a(0x25a)]==_0x8b070a(0x138)&&_0x80af2b[_0x8b070a(0x25a)]>_0x3ef936[_0x8b070a(0x1ee)])||typeof _0x80af2b['clientMaxWindowBits']==_0x8b070a(0x138)&&!_0x3ef936['client_max_window_bits']));if(!_0x2afc95)throw new Error(_0x8b070a(0x121));return _0x80af2b[_0x8b070a(0x183)]&&(_0x2afc95[_0x8b070a(0x195)]=!0x0),_0x80af2b[_0x8b070a(0x19d)]&&(_0x2afc95[_0x8b070a(0x2a0)]=!0x0),typeof _0x80af2b[_0x8b070a(0x25a)]==_0x8b070a(0x138)&&(_0x2afc95[_0x8b070a(0x1ee)]=_0x80af2b['serverMaxWindowBits']),typeof _0x80af2b[_0x8b070a(0x296)]==_0x8b070a(0x138)?_0x2afc95[_0x8b070a(0x29c)]=_0x80af2b[_0x8b070a(0x296)]:(_0x2afc95['client_max_window_bits']===!0x0||_0x80af2b[_0x8b070a(0x296)]===!0x1)&&delete _0x2afc95[_0x8b070a(0x29c)],_0x2afc95;}[_0x24b984(0x250)](_0x592648){const _0xa098c8=_0x24b984,_0x57727d=_0x592648[0x0];if(this[_0xa098c8(0x244)][_0xa098c8(0x19d)]===!0x1&&_0x57727d['client_no_context_takeover'])throw new Error(_0xa098c8(0x245));if(!_0x57727d[_0xa098c8(0x29c)])typeof this[_0xa098c8(0x244)][_0xa098c8(0x296)]==_0xa098c8(0x138)&&(_0x57727d[_0xa098c8(0x29c)]=this['_options'][_0xa098c8(0x296)]);else{if(this['_options'][_0xa098c8(0x296)]===!0x1||typeof this[_0xa098c8(0x244)][_0xa098c8(0x296)]==_0xa098c8(0x138)&&_0x57727d[_0xa098c8(0x29c)]>this[_0xa098c8(0x244)][_0xa098c8(0x296)])throw new Error(_0xa098c8(0x126));}return _0x57727d;}[_0x24b984(0x1ca)](_0x4a53eb){const _0x2d15a6=_0x24b984;return _0x4a53eb[_0x2d15a6(0x101)](_0x1d9327=>{const _0x267f7a=_0x2d15a6;Object[_0x267f7a(0x173)](_0x1d9327)[_0x267f7a(0x101)](_0x32a034=>{const _0x7a6427=_0x267f7a;let _0x2bf6e7=_0x1d9327[_0x32a034];if(_0x2bf6e7[_0x7a6427(0x2b1)]>0x1)throw new Error(_0x7a6427(0x1c2)+_0x32a034+_0x7a6427(0x236));if(_0x2bf6e7=_0x2bf6e7[0x0],_0x32a034===_0x7a6427(0x29c)){if(_0x2bf6e7!==!0x0){const _0x128e14=+_0x2bf6e7;if(!Number[_0x7a6427(0x156)](_0x128e14)||_0x128e14<0x8||_0x128e14>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x32a034+_0x7a6427(0x190)+_0x2bf6e7);_0x2bf6e7=_0x128e14;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x32a034+_0x7a6427(0x190)+_0x2bf6e7);}}else{if(_0x32a034===_0x7a6427(0x1ee)){const _0x1c25e4=+_0x2bf6e7;if(!Number[_0x7a6427(0x156)](_0x1c25e4)||_0x1c25e4<0x8||_0x1c25e4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x32a034+_0x7a6427(0x190)+_0x2bf6e7);_0x2bf6e7=_0x1c25e4;}else{if(_0x32a034===_0x7a6427(0x2a0)||_0x32a034===_0x7a6427(0x195)){if(_0x2bf6e7!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x32a034+'\x22:\x20'+_0x2bf6e7);}else throw new Error(_0x7a6427(0xfe)+_0x32a034+'\x22');}}_0x1d9327[_0x32a034]=_0x2bf6e7;});}),_0x4a53eb;}[_0x24b984(0x270)](_0x369d55,_0x4090b8,_0x31a3b6){const _0x54dab7=_0x24b984;_0x2df10e[_0x54dab7(0x11b)](_0x1d133f=>{this['_decompress'](_0x369d55,_0x4090b8,(_0x95b9b0,_0xf61b0a)=>{_0x1d133f(),_0x31a3b6(_0x95b9b0,_0xf61b0a);});});}['compress'](_0x538396,_0x3c973c,_0x4bc1a6){_0x2df10e['add'](_0x38a917=>{const _0x34b42d=_0x248f;this[_0x34b42d(0x267)](_0x538396,_0x3c973c,(_0x568cff,_0x3ecc1c)=>{_0x38a917(),_0x4bc1a6(_0x568cff,_0x3ecc1c);});});}[_0x24b984(0x13b)](_0xc7d35b,_0x7ca9da,_0x184446){const _0x4d3ff9=_0x24b984,_0x21ed63=this['_isServer']?_0x4d3ff9(0x18a):'server';if(!this[_0x4d3ff9(0x28b)]){const _0x52e917=_0x21ed63+_0x4d3ff9(0x113),_0x2a9fcb=typeof this[_0x4d3ff9(0x1ba)][_0x52e917]!='number'?_0x533a87[_0x4d3ff9(0x1da)]:this[_0x4d3ff9(0x1ba)][_0x52e917];this[_0x4d3ff9(0x28b)]=_0x533a87['createInflateRaw']({...this[_0x4d3ff9(0x244)][_0x4d3ff9(0x2aa)],'windowBits':_0x2a9fcb}),this[_0x4d3ff9(0x28b)][_0x14418d]=this,this[_0x4d3ff9(0x28b)][_0x2ad627]=0x0,this['_inflate'][_0xe7edd]=[],this[_0x4d3ff9(0x28b)]['on'](_0x4d3ff9(0x1d9),_0x52cd9e),this[_0x4d3ff9(0x28b)]['on'](_0x4d3ff9(0x255),_0x166414);}this[_0x4d3ff9(0x28b)][_0x5eb7b2]=_0x184446,this[_0x4d3ff9(0x28b)][_0x4d3ff9(0x1c3)](_0xc7d35b),_0x7ca9da&&this[_0x4d3ff9(0x28b)][_0x4d3ff9(0x1c3)](_0x3a1291),this[_0x4d3ff9(0x28b)][_0x4d3ff9(0x1a4)](()=>{const _0x5679b1=_0x4d3ff9,_0x2184e4=this[_0x5679b1(0x28b)][_0x2bc6f5];if(_0x2184e4){this['_inflate']['close'](),this[_0x5679b1(0x28b)]=null,_0x184446(_0x2184e4);return;}const _0x330643=_0x4edb98[_0x5679b1(0x1eb)](this['_inflate'][_0xe7edd],this[_0x5679b1(0x28b)][_0x2ad627]);this[_0x5679b1(0x28b)][_0x5679b1(0x1b5)]['endEmitted']?(this['_inflate']['close'](),this['_inflate']=null):(this[_0x5679b1(0x28b)][_0x2ad627]=0x0,this[_0x5679b1(0x28b)][_0xe7edd]=[],_0x7ca9da&&this[_0x5679b1(0x1ba)][_0x21ed63+_0x5679b1(0x174)]&&this['_inflate'][_0x5679b1(0x243)]()),_0x184446(null,_0x330643);});}['_compress'](_0x53d2b1,_0x3618f9,_0x2d0b0c){const _0x4cb745=_0x24b984,_0x233ddc=this[_0x4cb745(0x1d3)]?_0x4cb745(0x18e):'client';if(!this['_deflate']){const _0x349cf8=_0x233ddc+_0x4cb745(0x113),_0x1da6b8=typeof this[_0x4cb745(0x1ba)][_0x349cf8]!=_0x4cb745(0x138)?_0x533a87['Z_DEFAULT_WINDOWBITS']:this[_0x4cb745(0x1ba)][_0x349cf8];this['_deflate']=_0x533a87[_0x4cb745(0x14e)]({...this['_options'][_0x4cb745(0x25e)],'windowBits':_0x1da6b8}),this['_deflate'][_0x2ad627]=0x0,this['_deflate'][_0xe7edd]=[],this[_0x4cb745(0x122)]['on'](_0x4cb745(0x255),_0x30885d);}this[_0x4cb745(0x122)][_0x5eb7b2]=_0x2d0b0c,this[_0x4cb745(0x122)][_0x4cb745(0x1c3)](_0x53d2b1),this[_0x4cb745(0x122)][_0x4cb745(0x1a4)](_0x533a87[_0x4cb745(0x19c)],()=>{const _0x309a18=_0x4cb745;if(!this[_0x309a18(0x122)])return;let _0x2a2f8d=_0x4edb98[_0x309a18(0x1eb)](this[_0x309a18(0x122)][_0xe7edd],this['_deflate'][_0x2ad627]);_0x3618f9&&(_0x2a2f8d=new _0x4901ae(_0x2a2f8d[_0x309a18(0x1bf)],_0x2a2f8d[_0x309a18(0x21c)],_0x2a2f8d[_0x309a18(0x2b1)]-0x4)),this[_0x309a18(0x122)][_0x5eb7b2]=null,this[_0x309a18(0x122)][_0x2ad627]=0x0,this[_0x309a18(0x122)][_0xe7edd]=[],_0x3618f9&&this[_0x309a18(0x1ba)][_0x233ddc+_0x309a18(0x174)]&&this[_0x309a18(0x122)][_0x309a18(0x243)](),_0x2d0b0c(null,_0x2a2f8d);});}}ve=_0x2e511f;function _0x30885d(_0x9cbba){const _0xff854b=_0x24b984;this[_0xe7edd][_0xff854b(0x15c)](_0x9cbba),this[_0x2ad627]+=_0x9cbba[_0xff854b(0x2b1)];}function _0x166414(_0x56697d){const _0x2de583=_0x24b984;if(this[_0x2ad627]+=_0x56697d[_0x2de583(0x2b1)],this[_0x14418d][_0x2de583(0xfb)]<0x1||this[_0x2ad627]<=this[_0x14418d][_0x2de583(0xfb)]){this[_0xe7edd]['push'](_0x56697d);return;}this[_0x2bc6f5]=new RangeError(_0x2de583(0x1e0)),this[_0x2bc6f5][_0x2de583(0x10c)]=_0x2de583(0x144),this[_0x2bc6f5][_0x25f077]=0x3f1,this[_0x2de583(0x139)](_0x2de583(0x255),_0x166414),this[_0x2de583(0x243)]();}function _0x52cd9e(_0x12e1dc){const _0x1d5478=_0x24b984;if(this[_0x14418d][_0x1d5478(0x28b)]=null,this[_0x2bc6f5]){this[_0x5eb7b2](this[_0x2bc6f5]);return;}_0x12e1dc[_0x25f077]=0x3ef,this[_0x5eb7b2](_0x12e1dc);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x44f354(0x27b)](Object[_0x44f354(0x1ce)]({'__proto__':null,'default':Dt},Symbol[_0x44f354(0x289)],{'value':_0x44f354(0x1aa)})),Bt=at(Rt);var Ye;function ae(){const _0x3e3a72=_0x44f354;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x5cf230}=wt,{hasBlob:_0x27d7a7}=H(),_0x1abefe=[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 _0x2fddfc(_0xf6dfb9){return _0xf6dfb9>=0x3e8&&_0xf6dfb9<=0x3f6&&_0xf6dfb9!==0x3ec&&_0xf6dfb9!==0x3ed&&_0xf6dfb9!==0x3ee||_0xf6dfb9>=0xbb8&&_0xf6dfb9<=0x1387;}function _0x229807(_0x2ef535){const _0xbef075=_0x2ef535['length'];let _0xcb4640=0x0;for(;_0xcb4640<_0xbef075;)if((_0x2ef535[_0xcb4640]&0x80)===0x0)_0xcb4640++;else{if((_0x2ef535[_0xcb4640]&0xe0)===0xc0){if(_0xcb4640+0x1===_0xbef075||(_0x2ef535[_0xcb4640+0x1]&0xc0)!==0x80||(_0x2ef535[_0xcb4640]&0xfe)===0xc0)return!0x1;_0xcb4640+=0x2;}else{if((_0x2ef535[_0xcb4640]&0xf0)===0xe0){if(_0xcb4640+0x2>=_0xbef075||(_0x2ef535[_0xcb4640+0x1]&0xc0)!==0x80||(_0x2ef535[_0xcb4640+0x2]&0xc0)!==0x80||_0x2ef535[_0xcb4640]===0xe0&&(_0x2ef535[_0xcb4640+0x1]&0xe0)===0x80||_0x2ef535[_0xcb4640]===0xed&&(_0x2ef535[_0xcb4640+0x1]&0xe0)===0xa0)return!0x1;_0xcb4640+=0x3;}else{if((_0x2ef535[_0xcb4640]&0xf8)===0xf0){if(_0xcb4640+0x3>=_0xbef075||(_0x2ef535[_0xcb4640+0x1]&0xc0)!==0x80||(_0x2ef535[_0xcb4640+0x2]&0xc0)!==0x80||(_0x2ef535[_0xcb4640+0x3]&0xc0)!==0x80||_0x2ef535[_0xcb4640]===0xf0&&(_0x2ef535[_0xcb4640+0x1]&0xf0)===0x80||_0x2ef535[_0xcb4640]===0xf4&&_0x2ef535[_0xcb4640+0x1]>0x8f||_0x2ef535[_0xcb4640]>0xf4)return!0x1;_0xcb4640+=0x4;}else return!0x1;}}}return!0x0;}function _0xe49a3c(_0x5d2182){const _0x262873=_0x248f;return _0x27d7a7&&typeof _0x5d2182==_0x262873(0x146)&&typeof _0x5d2182[_0x262873(0x14c)]==_0x262873(0x24b)&&typeof _0x5d2182[_0x262873(0x2ac)]=='string'&&typeof _0x5d2182[_0x262873(0x292)]==_0x262873(0x24b)&&(_0x5d2182[Symbol[_0x262873(0x289)]]===_0x262873(0x1a6)||_0x5d2182[Symbol[_0x262873(0x289)]]===_0x262873(0x17f));}if(ie[_0x3e3a72(0x14b)]={'isBlob':_0xe49a3c,'isValidStatusCode':_0x2fddfc,'isValidUTF8':_0x229807,'tokenChars':_0x1abefe},_0x5cf230)ie[_0x3e3a72(0x14b)]['isValidUTF8']=function(_0x4e49d0){const _0x52fc39=_0x3e3a72;return _0x4e49d0[_0x52fc39(0x2b1)]<0x18?_0x229807(_0x4e49d0):_0x5cf230(_0x4e49d0);};else{if(!process[_0x3e3a72(0x2a2)][_0x3e3a72(0x2a4)])try{const _0x2ca56a=Bt;ie[_0x3e3a72(0x14b)][_0x3e3a72(0x12c)]=function(_0xc1785a){const _0x38937c=_0x3e3a72;return _0xc1785a[_0x38937c(0x2b1)]<0x20?_0x229807(_0xc1785a):_0x2ca56a(_0xc1785a);};}catch{}}return ie[_0x3e3a72(0x14b)];}var Se,Ke;function lt(){const _0x44c39c=_0x44f354;if(Ke)return Se;Ke=0x1;const {Writable:_0x24ca30}=oe,_0x175973=he(),{BINARY_TYPES:_0x324f3e,EMPTY_BUFFER:_0x51eb7d,kStatusCode:_0x1dea9b,kWebSocket:_0x392355}=H(),{concat:_0x21f90f,toArrayBuffer:_0x3bcc11,unmask:_0x558784}=ce(),{isValidStatusCode:_0x1a611f,isValidUTF8:_0x3fa362}=ae(),_0x470d69=Buffer[Symbol[_0x44c39c(0x103)]],_0x2fd35a=0x0,_0x3d651e=0x1,_0x2f28ad=0x2,_0xf46ce3=0x3,_0x139f4a=0x4,_0x294f23=0x5,_0x309239=0x6;class _0x3721fa extends _0x24ca30{constructor(_0x58fdb1={}){const _0xc84959=_0x44c39c;super(),this[_0xc84959(0x185)]=_0x58fdb1['allowSynchronousEvents']!==void 0x0?_0x58fdb1[_0xc84959(0x133)]:!0x0,this[_0xc84959(0x2a1)]=_0x58fdb1['binaryType']||_0x324f3e[0x0],this[_0xc84959(0x135)]=_0x58fdb1['extensions']||{},this[_0xc84959(0x1d3)]=!!_0x58fdb1[_0xc84959(0x148)],this['_maxPayload']=_0x58fdb1[_0xc84959(0x1c4)]|0x0,this[_0xc84959(0x1e9)]=!!_0x58fdb1[_0xc84959(0x167)],this[_0x392355]=void 0x0,this[_0xc84959(0x29e)]=0x0,this[_0xc84959(0x27f)]=[],this[_0xc84959(0x277)]=!0x1,this['_payloadLength']=0x0,this[_0xc84959(0x235)]=void 0x0,this[_0xc84959(0x204)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0xc84959(0x168)]=0x0,this['_messageLength']=0x0,this[_0xc84959(0x1fb)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0xc84959(0x28c)]=_0x2fd35a;}['_write'](_0x564a48,_0x5983e6,_0x4e1c7a){const _0x25776c=_0x44c39c;if(this[_0x25776c(0x217)]===0x8&&this[_0x25776c(0x28c)]==_0x2fd35a)return _0x4e1c7a();this[_0x25776c(0x29e)]+=_0x564a48[_0x25776c(0x2b1)],this[_0x25776c(0x27f)][_0x25776c(0x15c)](_0x564a48),this[_0x25776c(0x149)](_0x4e1c7a);}['consume'](_0x305446){const _0x209abd=_0x44c39c;if(this['_bufferedBytes']-=_0x305446,_0x305446===this['_buffers'][0x0]['length'])return this[_0x209abd(0x27f)]['shift']();if(_0x305446<this[_0x209abd(0x27f)][0x0]['length']){const _0x2b723a=this[_0x209abd(0x27f)][0x0];return this[_0x209abd(0x27f)][0x0]=new _0x470d69(_0x2b723a[_0x209abd(0x1bf)],_0x2b723a[_0x209abd(0x21c)]+_0x305446,_0x2b723a[_0x209abd(0x2b1)]-_0x305446),new _0x470d69(_0x2b723a[_0x209abd(0x1bf)],_0x2b723a[_0x209abd(0x21c)],_0x305446);}const _0x4018b2=Buffer['allocUnsafe'](_0x305446);do{const _0x31f642=this[_0x209abd(0x27f)][0x0],_0x30c3d2=_0x4018b2[_0x209abd(0x2b1)]-_0x305446;_0x305446>=_0x31f642[_0x209abd(0x2b1)]?_0x4018b2[_0x209abd(0x29b)](this[_0x209abd(0x27f)][_0x209abd(0x251)](),_0x30c3d2):(_0x4018b2['set'](new Uint8Array(_0x31f642[_0x209abd(0x1bf)],_0x31f642[_0x209abd(0x21c)],_0x305446),_0x30c3d2),this[_0x209abd(0x27f)][0x0]=new _0x470d69(_0x31f642[_0x209abd(0x1bf)],_0x31f642[_0x209abd(0x21c)]+_0x305446,_0x31f642[_0x209abd(0x2b1)]-_0x305446)),_0x305446-=_0x31f642[_0x209abd(0x2b1)];}while(_0x305446>0x0);return _0x4018b2;}[_0x44c39c(0x149)](_0x5c0f75){const _0x14ec09=_0x44c39c;this[_0x14ec09(0xf4)]=!0x0;do switch(this[_0x14ec09(0x28c)]){case _0x2fd35a:this[_0x14ec09(0x108)](_0x5c0f75);break;case _0x3d651e:this[_0x14ec09(0x17e)](_0x5c0f75);break;case _0x2f28ad:this[_0x14ec09(0x10a)](_0x5c0f75);break;case _0xf46ce3:this[_0x14ec09(0x1b0)]();break;case _0x139f4a:this['getData'](_0x5c0f75);break;case _0x294f23:case _0x309239:this[_0x14ec09(0xf4)]=!0x1;return;}while(this[_0x14ec09(0xf4)]);this[_0x14ec09(0x107)]||_0x5c0f75();}[_0x44c39c(0x108)](_0x2d0d18){const _0x4cebc9=_0x44c39c;if(this[_0x4cebc9(0x29e)]<0x2){this[_0x4cebc9(0xf4)]=!0x1;return;}const _0x5f317e=this[_0x4cebc9(0x28a)](0x2);if((_0x5f317e[0x0]&0x30)!==0x0){const _0x4de8fd=this[_0x4cebc9(0x284)](RangeError,_0x4cebc9(0x158),!0x0,0x3ea,_0x4cebc9(0x238));_0x2d0d18(_0x4de8fd);return;}const _0x22cb23=(_0x5f317e[0x0]&0x40)===0x40;if(_0x22cb23&&!this['_extensions'][_0x175973['extensionName']]){const _0x48c2e7=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4cebc9(0x186));_0x2d0d18(_0x48c2e7);return;}if(this[_0x4cebc9(0x118)]=(_0x5f317e[0x0]&0x80)===0x80,this[_0x4cebc9(0x217)]=_0x5f317e[0x0]&0xf,this[_0x4cebc9(0x1d2)]=_0x5f317e[0x1]&0x7f,this[_0x4cebc9(0x217)]===0x0){if(_0x22cb23){const _0x5b21d7=this[_0x4cebc9(0x284)](RangeError,_0x4cebc9(0x155),!0x0,0x3ea,_0x4cebc9(0x186));_0x2d0d18(_0x5b21d7);return;}if(!this['_fragmented']){const _0x501ca9=this[_0x4cebc9(0x284)](RangeError,_0x4cebc9(0x26e),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2d0d18(_0x501ca9);return;}this[_0x4cebc9(0x217)]=this[_0x4cebc9(0x204)];}else{if(this[_0x4cebc9(0x217)]===0x1||this[_0x4cebc9(0x217)]===0x2){if(this[_0x4cebc9(0x204)]){const _0xb46f2b=this[_0x4cebc9(0x284)](RangeError,_0x4cebc9(0x1ed)+this['_opcode'],!0x0,0x3ea,_0x4cebc9(0x163));_0x2d0d18(_0xb46f2b);return;}this[_0x4cebc9(0x277)]=_0x22cb23;}else{if(this[_0x4cebc9(0x217)]>0x7&&this['_opcode']<0xb){if(!this[_0x4cebc9(0x118)]){const _0x2b5203=this[_0x4cebc9(0x284)](RangeError,_0x4cebc9(0x26d),!0x0,0x3ea,_0x4cebc9(0x213));_0x2d0d18(_0x2b5203);return;}if(_0x22cb23){const _0x121c57=this[_0x4cebc9(0x284)](RangeError,_0x4cebc9(0x155),!0x0,0x3ea,_0x4cebc9(0x186));_0x2d0d18(_0x121c57);return;}if(this[_0x4cebc9(0x1d2)]>0x7d||this[_0x4cebc9(0x217)]===0x8&&this[_0x4cebc9(0x1d2)]===0x1){const _0xa00929=this['createError'](RangeError,_0x4cebc9(0x1e4)+this[_0x4cebc9(0x1d2)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x2d0d18(_0xa00929);return;}}else{const _0x4a8347=this[_0x4cebc9(0x284)](RangeError,_0x4cebc9(0x1ed)+this['_opcode'],!0x0,0x3ea,_0x4cebc9(0x163));_0x2d0d18(_0x4a8347);return;}}}if(!this[_0x4cebc9(0x118)]&&!this[_0x4cebc9(0x204)]&&(this[_0x4cebc9(0x204)]=this[_0x4cebc9(0x217)]),this[_0x4cebc9(0x2a6)]=(_0x5f317e[0x1]&0x80)===0x80,this[_0x4cebc9(0x1d3)]){if(!this['_masked']){const _0x4dc140=this['createError'](RangeError,_0x4cebc9(0x1fc),!0x0,0x3ea,_0x4cebc9(0x1cc));_0x2d0d18(_0x4dc140);return;}}else{if(this[_0x4cebc9(0x2a6)]){const _0x21a260=this['createError'](RangeError,_0x4cebc9(0x125),!0x0,0x3ea,_0x4cebc9(0x10b));_0x2d0d18(_0x21a260);return;}}this[_0x4cebc9(0x1d2)]===0x7e?this[_0x4cebc9(0x28c)]=_0x3d651e:this['_payloadLength']===0x7f?this[_0x4cebc9(0x28c)]=_0x2f28ad:this[_0x4cebc9(0x1a5)](_0x2d0d18);}[_0x44c39c(0x17e)](_0x427276){const _0xd8948d=_0x44c39c;if(this[_0xd8948d(0x29e)]<0x2){this['_loop']=!0x1;return;}this[_0xd8948d(0x1d2)]=this[_0xd8948d(0x28a)](0x2)['readUInt16BE'](0x0),this[_0xd8948d(0x1a5)](_0x427276);}[_0x44c39c(0x10a)](_0x5eaa28){const _0xefde0e=_0x44c39c;if(this['_bufferedBytes']<0x8){this[_0xefde0e(0xf4)]=!0x1;return;}const _0x40ccab=this[_0xefde0e(0x28a)](0x8),_0x8d6f92=_0x40ccab[_0xefde0e(0x1b2)](0x0);if(_0x8d6f92>Math[_0xefde0e(0x175)](0x2,0x15)-0x1){const _0x4d577b=this['createError'](RangeError,_0xefde0e(0x27d),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5eaa28(_0x4d577b);return;}this[_0xefde0e(0x1d2)]=_0x8d6f92*Math['pow'](0x2,0x20)+_0x40ccab[_0xefde0e(0x1b2)](0x4),this[_0xefde0e(0x1a5)](_0x5eaa28);}[_0x44c39c(0x1a5)](_0x359fe5){const _0x4e3212=_0x44c39c;if(this[_0x4e3212(0x1d2)]&&this[_0x4e3212(0x217)]<0x8&&(this['_totalPayloadLength']+=this[_0x4e3212(0x1d2)],this[_0x4e3212(0x168)]>this[_0x4e3212(0xfb)]&&this['_maxPayload']>0x0)){const _0x6dc7f1=this[_0x4e3212(0x284)](RangeError,_0x4e3212(0x1e0),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x359fe5(_0x6dc7f1);return;}this['_masked']?this[_0x4e3212(0x28c)]=_0xf46ce3:this['_state']=_0x139f4a;}[_0x44c39c(0x1b0)](){const _0xe76de3=_0x44c39c;if(this[_0xe76de3(0x29e)]<0x4){this['_loop']=!0x1;return;}this[_0xe76de3(0x235)]=this['consume'](0x4),this[_0xe76de3(0x28c)]=_0x139f4a;}['getData'](_0x36bad9){const _0x5b0360=_0x44c39c;let _0x7551ca=_0x51eb7d;if(this[_0x5b0360(0x1d2)]){if(this['_bufferedBytes']<this[_0x5b0360(0x1d2)]){this[_0x5b0360(0xf4)]=!0x1;return;}_0x7551ca=this[_0x5b0360(0x28a)](this['_payloadLength']),this['_masked']&&(this[_0x5b0360(0x235)][0x0]|this[_0x5b0360(0x235)][0x1]|this[_0x5b0360(0x235)][0x2]|this[_0x5b0360(0x235)][0x3])!==0x0&&_0x558784(_0x7551ca,this['_mask']);}if(this[_0x5b0360(0x217)]>0x7){this['controlMessage'](_0x7551ca,_0x36bad9);return;}if(this['_compressed']){this[_0x5b0360(0x28c)]=_0x294f23,this[_0x5b0360(0x270)](_0x7551ca,_0x36bad9);return;}_0x7551ca[_0x5b0360(0x2b1)]&&(this['_messageLength']=this[_0x5b0360(0x168)],this[_0x5b0360(0x1fb)][_0x5b0360(0x15c)](_0x7551ca)),this['dataMessage'](_0x36bad9);}[_0x44c39c(0x270)](_0x460e8c,_0x447491){const _0x2f2a32=_0x44c39c;this['_extensions'][_0x175973[_0x2f2a32(0x276)]][_0x2f2a32(0x270)](_0x460e8c,this[_0x2f2a32(0x118)],(_0x2e8df9,_0x591c52)=>{const _0xc172f4=_0x2f2a32;if(_0x2e8df9)return _0x447491(_0x2e8df9);if(_0x591c52['length']){if(this[_0xc172f4(0x170)]+=_0x591c52[_0xc172f4(0x2b1)],this[_0xc172f4(0x170)]>this[_0xc172f4(0xfb)]&&this[_0xc172f4(0xfb)]>0x0){const _0x2a4c5c=this[_0xc172f4(0x284)](RangeError,_0xc172f4(0x1e0),!0x1,0x3f1,_0xc172f4(0x144));_0x447491(_0x2a4c5c);return;}this[_0xc172f4(0x1fb)][_0xc172f4(0x15c)](_0x591c52);}this[_0xc172f4(0x1ef)](_0x447491),this[_0xc172f4(0x28c)]===_0x2fd35a&&this[_0xc172f4(0x149)](_0x447491);});}['dataMessage'](_0x4254db){const _0x46fc91=_0x44c39c;if(!this[_0x46fc91(0x118)]){this[_0x46fc91(0x28c)]=_0x2fd35a;return;}const _0x3b2490=this[_0x46fc91(0x170)],_0x23d34a=this[_0x46fc91(0x1fb)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x46fc91(0x1fb)]=[],this['_opcode']===0x2){let _0x42fd6f;this[_0x46fc91(0x2a1)]===_0x46fc91(0x299)?_0x42fd6f=_0x21f90f(_0x23d34a,_0x3b2490):this[_0x46fc91(0x2a1)]===_0x46fc91(0x1ad)?_0x42fd6f=_0x3bcc11(_0x21f90f(_0x23d34a,_0x3b2490)):this[_0x46fc91(0x2a1)]===_0x46fc91(0x1d0)?_0x42fd6f=new Blob(_0x23d34a):_0x42fd6f=_0x23d34a,this['_allowSynchronousEvents']?(this['emit'](_0x46fc91(0x216),_0x42fd6f,!0x0),this[_0x46fc91(0x28c)]=_0x2fd35a):(this['_state']=_0x309239,setImmediate(()=>{const _0x488419=_0x46fc91;this['emit'](_0x488419(0x216),_0x42fd6f,!0x0),this[_0x488419(0x28c)]=_0x2fd35a,this[_0x488419(0x149)](_0x4254db);}));}else{const _0x374a10=_0x21f90f(_0x23d34a,_0x3b2490);if(!this['_skipUTF8Validation']&&!_0x3fa362(_0x374a10)){const _0x4b3aa5=this[_0x46fc91(0x284)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4254db(_0x4b3aa5);return;}this[_0x46fc91(0x28c)]===_0x294f23||this[_0x46fc91(0x185)]?(this[_0x46fc91(0x124)](_0x46fc91(0x216),_0x374a10,!0x1),this[_0x46fc91(0x28c)]=_0x2fd35a):(this[_0x46fc91(0x28c)]=_0x309239,setImmediate(()=>{const _0x492da2=_0x46fc91;this['emit']('message',_0x374a10,!0x1),this[_0x492da2(0x28c)]=_0x2fd35a,this[_0x492da2(0x149)](_0x4254db);}));}}[_0x44c39c(0x131)](_0x58f399,_0xaa6177){const _0x4e96e2=_0x44c39c;if(this[_0x4e96e2(0x217)]===0x8){if(_0x58f399[_0x4e96e2(0x2b1)]===0x0)this[_0x4e96e2(0xf4)]=!0x1,this[_0x4e96e2(0x124)](_0x4e96e2(0x215),0x3ed,_0x51eb7d),this['end']();else{const _0x357a00=_0x58f399[_0x4e96e2(0x272)](0x0);if(!_0x1a611f(_0x357a00)){const _0x3c63c4=this[_0x4e96e2(0x284)](RangeError,'invalid\x20status\x20code\x20'+_0x357a00,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0xaa6177(_0x3c63c4);return;}const _0x211307=new _0x470d69(_0x58f399[_0x4e96e2(0x1bf)],_0x58f399[_0x4e96e2(0x21c)]+0x2,_0x58f399[_0x4e96e2(0x2b1)]-0x2);if(!this[_0x4e96e2(0x1e9)]&&!_0x3fa362(_0x211307)){const _0x25410a=this[_0x4e96e2(0x284)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4e96e2(0x1e2));_0xaa6177(_0x25410a);return;}this[_0x4e96e2(0xf4)]=!0x1,this[_0x4e96e2(0x124)](_0x4e96e2(0x215),_0x357a00,_0x211307),this[_0x4e96e2(0x12a)]();}this[_0x4e96e2(0x28c)]=_0x2fd35a;return;}this[_0x4e96e2(0x185)]?(this[_0x4e96e2(0x124)](this['_opcode']===0x9?_0x4e96e2(0x127):_0x4e96e2(0x211),_0x58f399),this['_state']=_0x2fd35a):(this[_0x4e96e2(0x28c)]=_0x309239,setImmediate(()=>{const _0x30983d=_0x4e96e2;this['emit'](this[_0x30983d(0x217)]===0x9?_0x30983d(0x127):_0x30983d(0x211),_0x58f399),this['_state']=_0x2fd35a,this[_0x30983d(0x149)](_0xaa6177);}));}[_0x44c39c(0x284)](_0x106f8c,_0x59abec,_0x143109,_0x5405e0,_0x1dd264){const _0x2d36c6=_0x44c39c;this[_0x2d36c6(0xf4)]=!0x1,this[_0x2d36c6(0x107)]=!0x0;const _0x4a3c25=new _0x106f8c(_0x143109?_0x2d36c6(0x1c5)+_0x59abec:_0x59abec);return Error['captureStackTrace'](_0x4a3c25,this['createError']),_0x4a3c25[_0x2d36c6(0x10c)]=_0x1dd264,_0x4a3c25[_0x1dea9b]=_0x5405e0,_0x4a3c25;}}return Se=_0x3721fa,Se;}var Ee,Xe;function ft(){const _0x474c45=_0x44f354;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x24f422}=oe,{randomFillSync:_0x24f97c}=Le,_0x3f7abe=he(),{EMPTY_BUFFER:_0x1b6a05,kWebSocket:_0x2a8f25,NOOP:_0x4c3909}=H(),{isBlob:_0x294890,isValidStatusCode:_0x555df5}=ae(),{mask:_0x4f48a5,toBuffer:_0x5ee83a}=ce(),_0x3ea5c0=Symbol(_0x474c45(0x25d)),_0x1b122e=Buffer[_0x474c45(0x16e)](0x4),_0x5e762f=0x8*0x400;let _0x5526d4,_0x3edd59=_0x5e762f;const _0x3bdbf1=0x0,_0x4ff578=0x1,_0x3b02c9=0x2;class _0x3e7fdc{constructor(_0x30d26f,_0x313c6b,_0x1a6d78){const _0x15e396=_0x474c45;this[_0x15e396(0x135)]=_0x313c6b||{},_0x1a6d78&&(this['_generateMask']=_0x1a6d78,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x15e396(0x1db)]=_0x30d26f,this[_0x15e396(0x199)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x15e396(0x2a5)]=[],this[_0x15e396(0x28c)]=_0x3bdbf1,this[_0x15e396(0x194)]=_0x4c3909,this[_0x2a8f25]=void 0x0;}static[_0x474c45(0x2a3)](_0x448062,_0x3a759d){const _0x594981=_0x474c45;let _0x287a46,_0x26974f=!0x1,_0x199d92=0x2,_0x241e37=!0x1;_0x3a759d[_0x594981(0x1e3)]&&(_0x287a46=_0x3a759d['maskBuffer']||_0x1b122e,_0x3a759d[_0x594981(0x12d)]?_0x3a759d[_0x594981(0x12d)](_0x287a46):(_0x3edd59===_0x5e762f&&(_0x5526d4===void 0x0&&(_0x5526d4=Buffer['alloc'](_0x5e762f)),_0x24f97c(_0x5526d4,0x0,_0x5e762f),_0x3edd59=0x0),_0x287a46[0x0]=_0x5526d4[_0x3edd59++],_0x287a46[0x1]=_0x5526d4[_0x3edd59++],_0x287a46[0x2]=_0x5526d4[_0x3edd59++],_0x287a46[0x3]=_0x5526d4[_0x3edd59++]),_0x241e37=(_0x287a46[0x0]|_0x287a46[0x1]|_0x287a46[0x2]|_0x287a46[0x3])===0x0,_0x199d92=0x6);let _0xb32aa7;typeof _0x448062==_0x594981(0x233)?(!_0x3a759d[_0x594981(0x1e3)]||_0x241e37)&&_0x3a759d[_0x3ea5c0]!==void 0x0?_0xb32aa7=_0x3a759d[_0x3ea5c0]:(_0x448062=Buffer['from'](_0x448062),_0xb32aa7=_0x448062[_0x594981(0x2b1)]):(_0xb32aa7=_0x448062[_0x594981(0x2b1)],_0x26974f=_0x3a759d[_0x594981(0x1e3)]&&_0x3a759d[_0x594981(0x1fd)]&&!_0x241e37);let _0x5cd8fc=_0xb32aa7;_0xb32aa7>=0x10000?(_0x199d92+=0x8,_0x5cd8fc=0x7f):_0xb32aa7>0x7d&&(_0x199d92+=0x2,_0x5cd8fc=0x7e);const _0x14ce34=Buffer['allocUnsafe'](_0x26974f?_0xb32aa7+_0x199d92:_0x199d92);return _0x14ce34[0x0]=_0x3a759d[_0x594981(0x15f)]?_0x3a759d[_0x594981(0x237)]|0x80:_0x3a759d[_0x594981(0x237)],_0x3a759d[_0x594981(0x1c8)]&&(_0x14ce34[0x0]|=0x40),_0x14ce34[0x1]=_0x5cd8fc,_0x5cd8fc===0x7e?_0x14ce34[_0x594981(0x193)](_0xb32aa7,0x2):_0x5cd8fc===0x7f&&(_0x14ce34[0x2]=_0x14ce34[0x3]=0x0,_0x14ce34['writeUIntBE'](_0xb32aa7,0x4,0x6)),_0x3a759d[_0x594981(0x1e3)]?(_0x14ce34[0x1]|=0x80,_0x14ce34[_0x199d92-0x4]=_0x287a46[0x0],_0x14ce34[_0x199d92-0x3]=_0x287a46[0x1],_0x14ce34[_0x199d92-0x2]=_0x287a46[0x2],_0x14ce34[_0x199d92-0x1]=_0x287a46[0x3],_0x241e37?[_0x14ce34,_0x448062]:_0x26974f?(_0x4f48a5(_0x448062,_0x287a46,_0x14ce34,_0x199d92,_0xb32aa7),[_0x14ce34]):(_0x4f48a5(_0x448062,_0x287a46,_0x448062,0x0,_0xb32aa7),[_0x14ce34,_0x448062])):[_0x14ce34,_0x448062];}['close'](_0x14cd4b,_0x3f7dc5,_0x55a227,_0x444c69){const _0x1e3eaa=_0x474c45;let _0x15cc91;if(_0x14cd4b===void 0x0)_0x15cc91=_0x1b6a05;else{if(typeof _0x14cd4b!=_0x1e3eaa(0x138)||!_0x555df5(_0x14cd4b))throw new TypeError(_0x1e3eaa(0x2a8));if(_0x3f7dc5===void 0x0||!_0x3f7dc5[_0x1e3eaa(0x2b1)])_0x15cc91=Buffer[_0x1e3eaa(0x285)](0x2),_0x15cc91['writeUInt16BE'](_0x14cd4b,0x0);else{const _0x5cfc57=Buffer[_0x1e3eaa(0x225)](_0x3f7dc5);if(_0x5cfc57>0x7b)throw new RangeError(_0x1e3eaa(0x1d5));_0x15cc91=Buffer[_0x1e3eaa(0x285)](0x2+_0x5cfc57),_0x15cc91[_0x1e3eaa(0x193)](_0x14cd4b,0x0),typeof _0x3f7dc5==_0x1e3eaa(0x233)?_0x15cc91[_0x1e3eaa(0x1c3)](_0x3f7dc5,0x2):_0x15cc91[_0x1e3eaa(0x29b)](_0x3f7dc5,0x2);}}const _0x13a036={[_0x3ea5c0]:_0x15cc91[_0x1e3eaa(0x2b1)],'fin':!0x0,'generateMask':this[_0x1e3eaa(0x151)],'mask':_0x55a227,'maskBuffer':this[_0x1e3eaa(0x1c0)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x3bdbf1?this[_0x1e3eaa(0x1f4)]([this[_0x1e3eaa(0x22e)],_0x15cc91,!0x1,_0x13a036,_0x444c69]):this[_0x1e3eaa(0x26c)](_0x3e7fdc['frame'](_0x15cc91,_0x13a036),_0x444c69);}[_0x474c45(0x127)](_0x26bc66,_0x2919a0,_0x2efaee){const _0xa07383=_0x474c45;let _0x3cf660,_0x1f3b1e;if(typeof _0x26bc66==_0xa07383(0x233)?(_0x3cf660=Buffer[_0xa07383(0x225)](_0x26bc66),_0x1f3b1e=!0x1):_0x294890(_0x26bc66)?(_0x3cf660=_0x26bc66[_0xa07383(0x1f6)],_0x1f3b1e=!0x1):(_0x26bc66=_0x5ee83a(_0x26bc66),_0x3cf660=_0x26bc66[_0xa07383(0x2b1)],_0x1f3b1e=_0x5ee83a[_0xa07383(0x1fd)]),_0x3cf660>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x17075f={[_0x3ea5c0]:_0x3cf660,'fin':!0x0,'generateMask':this[_0xa07383(0x151)],'mask':_0x2919a0,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1f3b1e,'rsv1':!0x1};_0x294890(_0x26bc66)?this[_0xa07383(0x28c)]!==_0x3bdbf1?this[_0xa07383(0x1f4)]([this[_0xa07383(0x1f5)],_0x26bc66,!0x1,_0x17075f,_0x2efaee]):this[_0xa07383(0x1f5)](_0x26bc66,!0x1,_0x17075f,_0x2efaee):this[_0xa07383(0x28c)]!==_0x3bdbf1?this[_0xa07383(0x1f4)]([this[_0xa07383(0x22e)],_0x26bc66,!0x1,_0x17075f,_0x2efaee]):this[_0xa07383(0x26c)](_0x3e7fdc['frame'](_0x26bc66,_0x17075f),_0x2efaee);}[_0x474c45(0x211)](_0x203c33,_0x358fdf,_0x53e53){const _0xba0fbc=_0x474c45;let _0x58aa3f,_0x3ec902;if(typeof _0x203c33==_0xba0fbc(0x233)?(_0x58aa3f=Buffer['byteLength'](_0x203c33),_0x3ec902=!0x1):_0x294890(_0x203c33)?(_0x58aa3f=_0x203c33[_0xba0fbc(0x1f6)],_0x3ec902=!0x1):(_0x203c33=_0x5ee83a(_0x203c33),_0x58aa3f=_0x203c33[_0xba0fbc(0x2b1)],_0x3ec902=_0x5ee83a['readOnly']),_0x58aa3f>0x7d)throw new RangeError(_0xba0fbc(0x17a));const _0x2bfce3={[_0x3ea5c0]:_0x58aa3f,'fin':!0x0,'generateMask':this[_0xba0fbc(0x151)],'mask':_0x358fdf,'maskBuffer':this[_0xba0fbc(0x1c0)],'opcode':0xa,'readOnly':_0x3ec902,'rsv1':!0x1};_0x294890(_0x203c33)?this[_0xba0fbc(0x28c)]!==_0x3bdbf1?this[_0xba0fbc(0x1f4)]([this[_0xba0fbc(0x1f5)],_0x203c33,!0x1,_0x2bfce3,_0x53e53]):this[_0xba0fbc(0x1f5)](_0x203c33,!0x1,_0x2bfce3,_0x53e53):this[_0xba0fbc(0x28c)]!==_0x3bdbf1?this[_0xba0fbc(0x1f4)]([this['dispatch'],_0x203c33,!0x1,_0x2bfce3,_0x53e53]):this[_0xba0fbc(0x26c)](_0x3e7fdc[_0xba0fbc(0x2a3)](_0x203c33,_0x2bfce3),_0x53e53);}[_0x474c45(0x247)](_0x401604,_0x560576,_0x35f03a){const _0x235bab=_0x474c45,_0x143789=this[_0x235bab(0x135)][_0x3f7abe[_0x235bab(0x276)]];let _0x16d60b=_0x560576[_0x235bab(0x176)]?0x2:0x1,_0x18b023=_0x560576['compress'],_0x20f320,_0x5636cf;typeof _0x401604==_0x235bab(0x233)?(_0x20f320=Buffer[_0x235bab(0x225)](_0x401604),_0x5636cf=!0x1):_0x294890(_0x401604)?(_0x20f320=_0x401604[_0x235bab(0x1f6)],_0x5636cf=!0x1):(_0x401604=_0x5ee83a(_0x401604),_0x20f320=_0x401604[_0x235bab(0x2b1)],_0x5636cf=_0x5ee83a['readOnly']),this['_firstFragment']?(this[_0x235bab(0x199)]=!0x1,_0x18b023&&_0x143789&&_0x143789[_0x235bab(0x1ba)][_0x143789[_0x235bab(0x1d3)]?_0x235bab(0x195):_0x235bab(0x2a0)]&&(_0x18b023=_0x20f320>=_0x143789[_0x235bab(0x26b)]),this['_compress']=_0x18b023):(_0x18b023=!0x1,_0x16d60b=0x0),_0x560576[_0x235bab(0x15f)]&&(this[_0x235bab(0x199)]=!0x0);const _0x5aad8a={[_0x3ea5c0]:_0x20f320,'fin':_0x560576[_0x235bab(0x15f)],'generateMask':this[_0x235bab(0x151)],'mask':_0x560576[_0x235bab(0x1e3)],'maskBuffer':this[_0x235bab(0x1c0)],'opcode':_0x16d60b,'readOnly':_0x5636cf,'rsv1':_0x18b023};_0x294890(_0x401604)?this[_0x235bab(0x28c)]!==_0x3bdbf1?this[_0x235bab(0x1f4)]([this[_0x235bab(0x1f5)],_0x401604,this[_0x235bab(0x267)],_0x5aad8a,_0x35f03a]):this[_0x235bab(0x1f5)](_0x401604,this[_0x235bab(0x267)],_0x5aad8a,_0x35f03a):this[_0x235bab(0x28c)]!==_0x3bdbf1?this[_0x235bab(0x1f4)]([this[_0x235bab(0x22e)],_0x401604,this[_0x235bab(0x267)],_0x5aad8a,_0x35f03a]):this['dispatch'](_0x401604,this[_0x235bab(0x267)],_0x5aad8a,_0x35f03a);}['getBlobData'](_0x2e832e,_0x55763a,_0x38c74a,_0x3299ba){const _0x4106bd=_0x474c45;this[_0x4106bd(0x29e)]+=_0x38c74a[_0x3ea5c0],this[_0x4106bd(0x28c)]=_0x3b02c9,_0x2e832e[_0x4106bd(0x14c)]()[_0x4106bd(0x11a)](_0x115260=>{const _0x2b1116=_0x4106bd;if(this['_socket'][_0x2b1116(0x1d4)]){const _0x4d7c9d=new Error(_0x2b1116(0x137));process[_0x2b1116(0x152)](_0x17bb48,this,_0x4d7c9d,_0x3299ba);return;}this[_0x2b1116(0x29e)]-=_0x38c74a[_0x3ea5c0];const _0x1ee659=_0x5ee83a(_0x115260);_0x55763a?this[_0x2b1116(0x22e)](_0x1ee659,_0x55763a,_0x38c74a,_0x3299ba):(this[_0x2b1116(0x28c)]=_0x3bdbf1,this[_0x2b1116(0x26c)](_0x3e7fdc[_0x2b1116(0x2a3)](_0x1ee659,_0x38c74a),_0x3299ba),this[_0x2b1116(0x1dd)]());})[_0x4106bd(0x114)](_0x55122f=>{const _0x5850a3=_0x4106bd;process[_0x5850a3(0x152)](_0x58202a,this,_0x55122f,_0x3299ba);});}[_0x474c45(0x22e)](_0x19c8a4,_0x102f08,_0x3d7922,_0x459e8b){const _0x432aed=_0x474c45;if(!_0x102f08){this['sendFrame'](_0x3e7fdc['frame'](_0x19c8a4,_0x3d7922),_0x459e8b);return;}const _0x2f9e2f=this[_0x432aed(0x135)][_0x3f7abe[_0x432aed(0x276)]];this[_0x432aed(0x29e)]+=_0x3d7922[_0x3ea5c0],this['_state']=_0x4ff578,_0x2f9e2f[_0x432aed(0x180)](_0x19c8a4,_0x3d7922[_0x432aed(0x15f)],(_0x5299c8,_0x19c47a)=>{const _0x38cd81=_0x432aed;if(this['_socket']['destroyed']){const _0x5955f3=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x17bb48(this,_0x5955f3,_0x459e8b);return;}this['_bufferedBytes']-=_0x3d7922[_0x3ea5c0],this['_state']=_0x3bdbf1,_0x3d7922['readOnly']=!0x1,this[_0x38cd81(0x26c)](_0x3e7fdc[_0x38cd81(0x2a3)](_0x19c47a,_0x3d7922),_0x459e8b),this[_0x38cd81(0x1dd)]();});}[_0x474c45(0x1dd)](){const _0x1ab7ce=_0x474c45;for(;this[_0x1ab7ce(0x28c)]===_0x3bdbf1&&this[_0x1ab7ce(0x2a5)][_0x1ab7ce(0x2b1)];){const _0x258cbc=this['_queue']['shift']();this[_0x1ab7ce(0x29e)]-=_0x258cbc[0x3][_0x3ea5c0],Reflect[_0x1ab7ce(0x22c)](_0x258cbc[0x0],this,_0x258cbc[_0x1ab7ce(0x18b)](0x1));}}['enqueue'](_0xdb5a54){const _0x216c8c=_0x474c45;this[_0x216c8c(0x29e)]+=_0xdb5a54[0x3][_0x3ea5c0],this[_0x216c8c(0x2a5)][_0x216c8c(0x15c)](_0xdb5a54);}[_0x474c45(0x26c)](_0x3d4674,_0xabc6ea){const _0xbf95b0=_0x474c45;_0x3d4674[_0xbf95b0(0x2b1)]===0x2?(this[_0xbf95b0(0x1db)][_0xbf95b0(0x21a)](),this['_socket'][_0xbf95b0(0x1c3)](_0x3d4674[0x0]),this[_0xbf95b0(0x1db)]['write'](_0x3d4674[0x1],_0xabc6ea),this[_0xbf95b0(0x1db)][_0xbf95b0(0x25f)]()):this[_0xbf95b0(0x1db)][_0xbf95b0(0x1c3)](_0x3d4674[0x0],_0xabc6ea);}}Ee=_0x3e7fdc;function _0x17bb48(_0x2ed713,_0x2b1776,_0x5272a4){const _0xa6e35c=_0x474c45;typeof _0x5272a4=='function'&&_0x5272a4(_0x2b1776);for(let _0x205427=0x0;_0x205427<_0x2ed713[_0xa6e35c(0x2a5)][_0xa6e35c(0x2b1)];_0x205427++){const _0x368326=_0x2ed713['_queue'][_0x205427],_0x5c8ce0=_0x368326[_0x368326[_0xa6e35c(0x2b1)]-0x1];typeof _0x5c8ce0==_0xa6e35c(0x24b)&&_0x5c8ce0(_0x2b1776);}}function _0x58202a(_0x5934a0,_0x28357b,_0x26d146){const _0x35b514=_0x474c45;_0x17bb48(_0x5934a0,_0x28357b,_0x26d146),_0x5934a0[_0x35b514(0x194)](_0x28357b);}return Ee;}var xe,Ze;function It(){const _0x1637bc=_0x44f354;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xfa0db0,kListener:_0x28a254}=H(),_0x347d6e=Symbol(_0x1637bc(0x16a)),_0x38ac31=Symbol(_0x1637bc(0x218)),_0x14e3e3=Symbol('kError'),_0x5679f8=Symbol(_0x1637bc(0x161)),_0x60c277=Symbol(_0x1637bc(0x102)),_0x188ea3=Symbol('kTarget'),_0x43030e=Symbol('kType'),_0x5975b7=Symbol(_0x1637bc(0x1d8));class _0x2a6614{constructor(_0x1c6c16){this[_0x188ea3]=null,this[_0x43030e]=_0x1c6c16;}get['target'](){return this[_0x188ea3];}get[_0x1637bc(0x2ac)](){return this[_0x43030e];}}Object[_0x1637bc(0x1ce)](_0x2a6614[_0x1637bc(0x20f)],'target',{'enumerable':!0x0}),Object[_0x1637bc(0x1ce)](_0x2a6614[_0x1637bc(0x20f)],_0x1637bc(0x2ac),{'enumerable':!0x0});class _0x121bc1 extends _0x2a6614{constructor(_0x3744c3,_0x3b002d={}){const _0x478c9a=_0x1637bc;super(_0x3744c3),this[_0x347d6e]=_0x3b002d['code']===void 0x0?0x0:_0x3b002d[_0x478c9a(0x10c)],this[_0x60c277]=_0x3b002d[_0x478c9a(0x24a)]===void 0x0?'':_0x3b002d[_0x478c9a(0x24a)],this[_0x5975b7]=_0x3b002d[_0x478c9a(0x275)]===void 0x0?!0x1:_0x3b002d[_0x478c9a(0x275)];}get['code'](){return this[_0x347d6e];}get[_0x1637bc(0x24a)](){return this[_0x60c277];}get[_0x1637bc(0x275)](){return this[_0x5975b7];}}Object[_0x1637bc(0x1ce)](_0x121bc1[_0x1637bc(0x20f)],_0x1637bc(0x10c),{'enumerable':!0x0}),Object[_0x1637bc(0x1ce)](_0x121bc1[_0x1637bc(0x20f)],_0x1637bc(0x24a),{'enumerable':!0x0}),Object[_0x1637bc(0x1ce)](_0x121bc1[_0x1637bc(0x20f)],'wasClean',{'enumerable':!0x0});class _0x21cd2e extends _0x2a6614{constructor(_0x2ef98f,_0x5686b7={}){const _0x53911e=_0x1637bc;super(_0x2ef98f),this[_0x14e3e3]=_0x5686b7[_0x53911e(0x1d9)]===void 0x0?null:_0x5686b7[_0x53911e(0x1d9)],this[_0x5679f8]=_0x5686b7[_0x53911e(0x216)]===void 0x0?'':_0x5686b7['message'];}get[_0x1637bc(0x1d9)](){return this[_0x14e3e3];}get[_0x1637bc(0x216)](){return this[_0x5679f8];}}Object[_0x1637bc(0x1ce)](_0x21cd2e[_0x1637bc(0x20f)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x21cd2e[_0x1637bc(0x20f)],_0x1637bc(0x216),{'enumerable':!0x0});class _0x3eaad8 extends _0x2a6614{constructor(_0x51283b,_0x18dcc4={}){const _0x20ff06=_0x1637bc;super(_0x51283b),this[_0x38ac31]=_0x18dcc4[_0x20ff06(0x255)]===void 0x0?null:_0x18dcc4[_0x20ff06(0x255)];}get[_0x1637bc(0x255)](){return this[_0x38ac31];}}Object[_0x1637bc(0x1ce)](_0x3eaad8[_0x1637bc(0x20f)],_0x1637bc(0x255),{'enumerable':!0x0}),xe={'CloseEvent':_0x121bc1,'ErrorEvent':_0x21cd2e,'Event':_0x2a6614,'EventTarget':{'addEventListener'(_0x3980cd,_0x16a573,_0x510f31={}){const _0x5e0619=_0x1637bc;for(const _0x3d56f7 of this[_0x5e0619(0x19f)](_0x3980cd))if(!_0x510f31[_0xfa0db0]&&_0x3d56f7[_0x28a254]===_0x16a573&&!_0x3d56f7[_0xfa0db0])return;let _0x45864e;if(_0x3980cd==='message')_0x45864e=function(_0x5bd466,_0x58a44a){const _0x25b798=_0x5e0619,_0xc6869e=new _0x3eaad8('message',{'data':_0x58a44a?_0x5bd466:_0x5bd466[_0x25b798(0x2ad)]()});_0xc6869e[_0x188ea3]=this,_0x42b4d3(_0x16a573,this,_0xc6869e);};else{if(_0x3980cd===_0x5e0619(0x1a1))_0x45864e=function(_0x1ac044,_0x5b2e17){const _0x4a8069=_0x5e0619,_0x5b5854=new _0x121bc1(_0x4a8069(0x1a1),{'code':_0x1ac044,'reason':_0x5b2e17['toString'](),'wasClean':this[_0x4a8069(0x197)]&&this[_0x4a8069(0x1e7)]});_0x5b5854[_0x188ea3]=this,_0x42b4d3(_0x16a573,this,_0x5b5854);};else{if(_0x3980cd==='error')_0x45864e=function(_0x432683){const _0x5a0f63=_0x5e0619,_0x25e43f=new _0x21cd2e(_0x5a0f63(0x1d9),{'error':_0x432683,'message':_0x432683[_0x5a0f63(0x216)]});_0x25e43f[_0x188ea3]=this,_0x42b4d3(_0x16a573,this,_0x25e43f);};else{if(_0x3980cd===_0x5e0619(0x206))_0x45864e=function(){const _0x585d3b=_0x5e0619,_0x557917=new _0x2a6614(_0x585d3b(0x206));_0x557917[_0x188ea3]=this,_0x42b4d3(_0x16a573,this,_0x557917);};else return;}}}_0x45864e[_0xfa0db0]=!!_0x510f31[_0xfa0db0],_0x45864e[_0x28a254]=_0x16a573,_0x510f31[_0x5e0619(0x10d)]?this['once'](_0x3980cd,_0x45864e):this['on'](_0x3980cd,_0x45864e);},'removeEventListener'(_0x3642f4,_0xe8b575){const _0x7e2ec5=_0x1637bc;for(const _0x3cb789 of this['listeners'](_0x3642f4))if(_0x3cb789[_0x28a254]===_0xe8b575&&!_0x3cb789[_0xfa0db0]){this[_0x7e2ec5(0x139)](_0x3642f4,_0x3cb789);break;}}},'MessageEvent':_0x3eaad8};function _0x42b4d3(_0x22413c,_0x45121f,_0x28d622){const _0x217a4f=_0x1637bc;typeof _0x22413c==_0x217a4f(0x146)&&_0x22413c['handleEvent']?_0x22413c[_0x217a4f(0x16f)][_0x217a4f(0x205)](_0x22413c,_0x28d622):_0x22413c['call'](_0x45121f,_0x28d622);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x49894c}=ae();function _0x2fe469(_0x41af3e,_0x3c9590,_0x284f0){const _0x65c7c2=_0x248f;_0x41af3e[_0x3c9590]===void 0x0?_0x41af3e[_0x3c9590]=[_0x284f0]:_0x41af3e[_0x3c9590][_0x65c7c2(0x15c)](_0x284f0);}function _0xac8950(_0x53bd41){const _0x6624ff=_0x248f,_0x389d32=Object[_0x6624ff(0x191)](null);let _0x4635e1=Object[_0x6624ff(0x191)](null),_0x2799d3=!0x1,_0x1b2c91=!0x1,_0x1381c4=!0x1,_0x22a836,_0x3157d7,_0x759b1b=-0x1,_0x5b77b4=-0x1,_0x50bb2b=-0x1,_0x20baf0=0x0;for(;_0x20baf0<_0x53bd41[_0x6624ff(0x2b1)];_0x20baf0++)if(_0x5b77b4=_0x53bd41[_0x6624ff(0xf8)](_0x20baf0),_0x22a836===void 0x0){if(_0x50bb2b===-0x1&&_0x49894c[_0x5b77b4]===0x1)_0x759b1b===-0x1&&(_0x759b1b=_0x20baf0);else{if(_0x20baf0!==0x0&&(_0x5b77b4===0x20||_0x5b77b4===0x9))_0x50bb2b===-0x1&&_0x759b1b!==-0x1&&(_0x50bb2b=_0x20baf0);else{if(_0x5b77b4===0x3b||_0x5b77b4===0x2c){if(_0x759b1b===-0x1)throw new SyntaxError(_0x6624ff(0x188)+_0x20baf0);_0x50bb2b===-0x1&&(_0x50bb2b=_0x20baf0);const _0x7ba4b6=_0x53bd41[_0x6624ff(0x18b)](_0x759b1b,_0x50bb2b);_0x5b77b4===0x2c?(_0x2fe469(_0x389d32,_0x7ba4b6,_0x4635e1),_0x4635e1=Object[_0x6624ff(0x191)](null)):_0x22a836=_0x7ba4b6,_0x759b1b=_0x50bb2b=-0x1;}else throw new SyntaxError(_0x6624ff(0x188)+_0x20baf0);}}}else{if(_0x3157d7===void 0x0){if(_0x50bb2b===-0x1&&_0x49894c[_0x5b77b4]===0x1)_0x759b1b===-0x1&&(_0x759b1b=_0x20baf0);else{if(_0x5b77b4===0x20||_0x5b77b4===0x9)_0x50bb2b===-0x1&&_0x759b1b!==-0x1&&(_0x50bb2b=_0x20baf0);else{if(_0x5b77b4===0x3b||_0x5b77b4===0x2c){if(_0x759b1b===-0x1)throw new SyntaxError(_0x6624ff(0x188)+_0x20baf0);_0x50bb2b===-0x1&&(_0x50bb2b=_0x20baf0),_0x2fe469(_0x4635e1,_0x53bd41[_0x6624ff(0x18b)](_0x759b1b,_0x50bb2b),!0x0),_0x5b77b4===0x2c&&(_0x2fe469(_0x389d32,_0x22a836,_0x4635e1),_0x4635e1=Object[_0x6624ff(0x191)](null),_0x22a836=void 0x0),_0x759b1b=_0x50bb2b=-0x1;}else{if(_0x5b77b4===0x3d&&_0x759b1b!==-0x1&&_0x50bb2b===-0x1)_0x3157d7=_0x53bd41[_0x6624ff(0x18b)](_0x759b1b,_0x20baf0),_0x759b1b=_0x50bb2b=-0x1;else throw new SyntaxError(_0x6624ff(0x188)+_0x20baf0);}}}}else{if(_0x1b2c91){if(_0x49894c[_0x5b77b4]!==0x1)throw new SyntaxError(_0x6624ff(0x188)+_0x20baf0);_0x759b1b===-0x1?_0x759b1b=_0x20baf0:_0x2799d3||(_0x2799d3=!0x0),_0x1b2c91=!0x1;}else{if(_0x1381c4){if(_0x49894c[_0x5b77b4]===0x1)_0x759b1b===-0x1&&(_0x759b1b=_0x20baf0);else{if(_0x5b77b4===0x22&&_0x759b1b!==-0x1)_0x1381c4=!0x1,_0x50bb2b=_0x20baf0;else{if(_0x5b77b4===0x5c)_0x1b2c91=!0x0;else throw new SyntaxError(_0x6624ff(0x188)+_0x20baf0);}}}else{if(_0x5b77b4===0x22&&_0x53bd41[_0x6624ff(0xf8)](_0x20baf0-0x1)===0x3d)_0x1381c4=!0x0;else{if(_0x50bb2b===-0x1&&_0x49894c[_0x5b77b4]===0x1)_0x759b1b===-0x1&&(_0x759b1b=_0x20baf0);else{if(_0x759b1b!==-0x1&&(_0x5b77b4===0x20||_0x5b77b4===0x9))_0x50bb2b===-0x1&&(_0x50bb2b=_0x20baf0);else{if(_0x5b77b4===0x3b||_0x5b77b4===0x2c){if(_0x759b1b===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x20baf0);_0x50bb2b===-0x1&&(_0x50bb2b=_0x20baf0);let _0x346898=_0x53bd41[_0x6624ff(0x18b)](_0x759b1b,_0x50bb2b);_0x2799d3&&(_0x346898=_0x346898[_0x6624ff(0x19a)](/\\/g,''),_0x2799d3=!0x1),_0x2fe469(_0x4635e1,_0x3157d7,_0x346898),_0x5b77b4===0x2c&&(_0x2fe469(_0x389d32,_0x22a836,_0x4635e1),_0x4635e1=Object['create'](null),_0x22a836=void 0x0),_0x3157d7=void 0x0,_0x759b1b=_0x50bb2b=-0x1;}else throw new SyntaxError(_0x6624ff(0x188)+_0x20baf0);}}}}}}}if(_0x759b1b===-0x1||_0x1381c4||_0x5b77b4===0x20||_0x5b77b4===0x9)throw new SyntaxError(_0x6624ff(0x26a));_0x50bb2b===-0x1&&(_0x50bb2b=_0x20baf0);const _0x3193f=_0x53bd41[_0x6624ff(0x18b)](_0x759b1b,_0x50bb2b);return _0x22a836===void 0x0?_0x2fe469(_0x389d32,_0x3193f,_0x4635e1):(_0x3157d7===void 0x0?_0x2fe469(_0x4635e1,_0x3193f,!0x0):_0x2799d3?_0x2fe469(_0x4635e1,_0x3157d7,_0x3193f[_0x6624ff(0x19a)](/\\/g,'')):_0x2fe469(_0x4635e1,_0x3157d7,_0x3193f),_0x2fe469(_0x389d32,_0x22a836,_0x4635e1)),_0x389d32;}function _0xbf5199(_0x24640f){const _0x1fcc44=_0x248f;return Object[_0x1fcc44(0x173)](_0x24640f)[_0x1fcc44(0x166)](_0x3ca6b0=>{const _0x3b3be3=_0x1fcc44;let _0x3921bd=_0x24640f[_0x3ca6b0];return Array[_0x3b3be3(0x263)](_0x3921bd)||(_0x3921bd=[_0x3921bd]),_0x3921bd['map'](_0x5df4c=>[_0x3ca6b0]['concat'](Object[_0x3b3be3(0x173)](_0x5df4c)[_0x3b3be3(0x166)](_0x5cf01d=>{const _0x485d9b=_0x3b3be3;let _0x40e166=_0x5df4c[_0x5cf01d];return Array[_0x485d9b(0x263)](_0x40e166)||(_0x40e166=[_0x40e166]),_0x40e166[_0x485d9b(0x166)](_0x42fd91=>_0x42fd91===!0x0?_0x5cf01d:_0x5cf01d+'='+_0x42fd91)[_0x485d9b(0x2b6)](';\x20');}))[_0x3b3be3(0x2b6)](';\x20'))[_0x3b3be3(0x2b6)](',\x20');})['join'](',\x20');}return be={'format':_0xbf5199,'parse':_0xac8950},be;}var we,Je;function Pe(){const _0x8856c4=_0x44f354;if(Je)return we;Je=0x1;const _0x4d93b1=nt,_0x33c1c2=vt,_0x1fe6fd=ot,_0x113c40=St,_0x3ec840=Et,{randomBytes:_0x236626,createHash:_0x4f6d16}=Le,{Duplex:_0xd44a,Readable:_0x2d2f10}=oe,{URL:_0x310856}=xt,_0x22a363=he(),_0x406573=lt(),_0x415c37=ft(),{isBlob:_0x1a255f}=ae(),{BINARY_TYPES:_0x2b277c,EMPTY_BUFFER:_0x138700,GUID:_0x3d58ca,kForOnEventAttribute:_0x288f3c,kListener:_0x25f2dd,kStatusCode:_0x412b90,kWebSocket:_0x2172fd,NOOP:_0x3320ba}=H(),{EventTarget:{addEventListener:_0xb3e19c,removeEventListener:_0x27587c}}=It(),{format:_0x5afae9,parse:_0x5ae3f3}=ct(),{toBuffer:_0x59dd5b}=ce(),_0x42fd15=0x1e*0x3e8,_0x44309d=Symbol(_0x8856c4(0x283)),_0x452ff5=[0x8,0xd],_0x42b547=['CONNECTING',_0x8856c4(0x2b4),_0x8856c4(0x2ae),_0x8856c4(0x1f7)],_0x4434db=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x38f7f2 extends _0x4d93b1{constructor(_0x36fe51,_0x1a8199,_0xe36c47){const _0xc0de61=_0x8856c4;super(),this[_0xc0de61(0x2a1)]=_0x2b277c[0x0],this[_0xc0de61(0x128)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x138700,this['_closeTimer']=null,this[_0xc0de61(0x1ae)]=!0x1,this['_extensions']={},this[_0xc0de61(0x229)]=!0x1,this['_protocol']='',this[_0xc0de61(0x172)]=_0x38f7f2['CONNECTING'],this[_0xc0de61(0x134)]=null,this[_0xc0de61(0x25c)]=null,this[_0xc0de61(0x1db)]=null,_0x36fe51!==null?(this[_0xc0de61(0x220)]=0x0,this[_0xc0de61(0x1d3)]=!0x1,this[_0xc0de61(0x266)]=0x0,_0x1a8199===void 0x0?_0x1a8199=[]:Array[_0xc0de61(0x263)](_0x1a8199)||(typeof _0x1a8199==_0xc0de61(0x146)&&_0x1a8199!==null?(_0xe36c47=_0x1a8199,_0x1a8199=[]):_0x1a8199=[_0x1a8199]),_0x503820(this,_0x36fe51,_0x1a8199,_0xe36c47)):(this[_0xc0de61(0x143)]=_0xe36c47[_0xc0de61(0x19e)],this[_0xc0de61(0x1d3)]=!0x0);}get[_0x8856c4(0x29d)](){return this['_binaryType'];}set[_0x8856c4(0x29d)](_0x19e7bd){const _0x5edb36=_0x8856c4;_0x2b277c['includes'](_0x19e7bd)&&(this[_0x5edb36(0x2a1)]=_0x19e7bd,this[_0x5edb36(0x134)]&&(this['_receiver'][_0x5edb36(0x2a1)]=_0x19e7bd));}get['bufferedAmount'](){const _0x519603=_0x8856c4;return this[_0x519603(0x1db)]?this[_0x519603(0x1db)]['_writableState'][_0x519603(0x2b1)]+this[_0x519603(0x25c)][_0x519603(0x29e)]:this['_bufferedAmount'];}get['extensions'](){const _0x1eaa08=_0x8856c4;return Object[_0x1eaa08(0x173)](this['_extensions'])[_0x1eaa08(0x2b6)]();}get[_0x8856c4(0x23b)](){return this['_paused'];}get[_0x8856c4(0x2b2)](){return null;}get[_0x8856c4(0x194)](){return null;}get[_0x8856c4(0x13e)](){return null;}get['onmessage'](){return null;}get[_0x8856c4(0x11e)](){const _0x67714=_0x8856c4;return this[_0x67714(0x273)];}get[_0x8856c4(0x1fa)](){const _0x59aff5=_0x8856c4;return this[_0x59aff5(0x172)];}get[_0x8856c4(0x111)](){const _0x45c0ea=_0x8856c4;return this[_0x45c0ea(0x256)];}['setSocket'](_0x347f19,_0x10f487,_0x231f16){const _0x113a1f=_0x8856c4,_0x1dc944=new _0x406573({'allowSynchronousEvents':_0x231f16[_0x113a1f(0x133)],'binaryType':this['binaryType'],'extensions':this[_0x113a1f(0x135)],'isServer':this[_0x113a1f(0x1d3)],'maxPayload':_0x231f16['maxPayload'],'skipUTF8Validation':_0x231f16[_0x113a1f(0x167)]}),_0x187080=new _0x415c37(_0x347f19,this['_extensions'],_0x231f16[_0x113a1f(0x12d)]);this['_receiver']=_0x1dc944,this['_sender']=_0x187080,this[_0x113a1f(0x1db)]=_0x347f19,_0x1dc944[_0x2172fd]=this,_0x187080[_0x2172fd]=this,_0x347f19[_0x2172fd]=this,_0x1dc944['on'](_0x113a1f(0x215),_0x28b66c),_0x1dc944['on'](_0x113a1f(0x1ab),_0x5d251e),_0x1dc944['on'](_0x113a1f(0x1d9),_0x49ecd9),_0x1dc944['on'](_0x113a1f(0x216),_0x49c3ce),_0x1dc944['on'](_0x113a1f(0x127),_0x5f18f9),_0x1dc944['on'](_0x113a1f(0x211),_0xff1106),_0x187080['onerror']=_0x2251a4,_0x347f19[_0x113a1f(0x21d)]&&_0x347f19['setTimeout'](0x0),_0x347f19['setNoDelay']&&_0x347f19[_0x113a1f(0x1b4)](),_0x10f487[_0x113a1f(0x2b1)]>0x0&&_0x347f19[_0x113a1f(0x1a8)](_0x10f487),_0x347f19['on'](_0x113a1f(0x1a1),_0x2f651b),_0x347f19['on'](_0x113a1f(0x255),_0x278679),_0x347f19['on'](_0x113a1f(0x12a),_0x332d38),_0x347f19['on'](_0x113a1f(0x1d9),_0xb9b3c0),this[_0x113a1f(0x172)]=_0x38f7f2[_0x113a1f(0x2b4)],this[_0x113a1f(0x124)](_0x113a1f(0x206));}['emitClose'](){const _0x461e0a=_0x8856c4;if(!this[_0x461e0a(0x1db)]){this['_readyState']=_0x38f7f2[_0x461e0a(0x1f7)],this[_0x461e0a(0x124)](_0x461e0a(0x1a1),this['_closeCode'],this[_0x461e0a(0x23a)]);return;}this[_0x461e0a(0x135)][_0x22a363[_0x461e0a(0x276)]]&&this[_0x461e0a(0x135)][_0x22a363[_0x461e0a(0x276)]][_0x461e0a(0x132)](),this['_receiver'][_0x461e0a(0x20e)](),this[_0x461e0a(0x172)]=_0x38f7f2[_0x461e0a(0x1f7)],this[_0x461e0a(0x124)](_0x461e0a(0x1a1),this[_0x461e0a(0x128)],this[_0x461e0a(0x23a)]);}[_0x8856c4(0x1a1)](_0x357c8a,_0x4aa52f){const _0x477028=_0x8856c4;if(this[_0x477028(0x1fa)]!==_0x38f7f2['CLOSED']){if(this[_0x477028(0x1fa)]===_0x38f7f2[_0x477028(0x241)]){_0x265e9d(this,this[_0x477028(0x171)],_0x477028(0x1d7));return;}if(this['readyState']===_0x38f7f2['CLOSING']){this[_0x477028(0x1e7)]&&(this[_0x477028(0x197)]||this[_0x477028(0x134)][_0x477028(0x254)][_0x477028(0x209)])&&this[_0x477028(0x1db)]['end']();return;}this['_readyState']=_0x38f7f2[_0x477028(0x2ae)],this[_0x477028(0x25c)][_0x477028(0x1a1)](_0x357c8a,_0x4aa52f,!this[_0x477028(0x1d3)],_0x59ba96=>{const _0x541d1e=_0x477028;_0x59ba96||(this[_0x541d1e(0x1e7)]=!0x0,(this[_0x541d1e(0x197)]||this[_0x541d1e(0x134)][_0x541d1e(0x254)][_0x541d1e(0x209)])&&this[_0x541d1e(0x1db)][_0x541d1e(0x12a)]());}),_0x4da861(this);}}[_0x8856c4(0x129)](){const _0x463760=_0x8856c4;this[_0x463760(0x1fa)]===_0x38f7f2[_0x463760(0x241)]||this['readyState']===_0x38f7f2[_0x463760(0x1f7)]||(this[_0x463760(0x229)]=!0x0,this[_0x463760(0x1db)][_0x463760(0x129)]());}['ping'](_0x52db4c,_0x5649d5,_0x380e95){const _0xdbb2c8=_0x8856c4;if(this[_0xdbb2c8(0x1fa)]===_0x38f7f2['CONNECTING'])throw new Error(_0xdbb2c8(0x1a9));if(typeof _0x52db4c=='function'?(_0x380e95=_0x52db4c,_0x52db4c=_0x5649d5=void 0x0):typeof _0x5649d5==_0xdbb2c8(0x24b)&&(_0x380e95=_0x5649d5,_0x5649d5=void 0x0),typeof _0x52db4c==_0xdbb2c8(0x138)&&(_0x52db4c=_0x52db4c[_0xdbb2c8(0x2ad)]()),this['readyState']!==_0x38f7f2['OPEN']){_0x5eb49f(this,_0x52db4c,_0x380e95);return;}_0x5649d5===void 0x0&&(_0x5649d5=!this[_0xdbb2c8(0x1d3)]),this['_sender'][_0xdbb2c8(0x127)](_0x52db4c||_0x138700,_0x5649d5,_0x380e95);}[_0x8856c4(0x211)](_0x3d4c3f,_0x23b4dc,_0x2a766a){const _0x564289=_0x8856c4;if(this[_0x564289(0x1fa)]===_0x38f7f2[_0x564289(0x241)])throw new Error(_0x564289(0x1a9));if(typeof _0x3d4c3f==_0x564289(0x24b)?(_0x2a766a=_0x3d4c3f,_0x3d4c3f=_0x23b4dc=void 0x0):typeof _0x23b4dc==_0x564289(0x24b)&&(_0x2a766a=_0x23b4dc,_0x23b4dc=void 0x0),typeof _0x3d4c3f=='number'&&(_0x3d4c3f=_0x3d4c3f[_0x564289(0x2ad)]()),this['readyState']!==_0x38f7f2['OPEN']){_0x5eb49f(this,_0x3d4c3f,_0x2a766a);return;}_0x23b4dc===void 0x0&&(_0x23b4dc=!this[_0x564289(0x1d3)]),this['_sender'][_0x564289(0x211)](_0x3d4c3f||_0x138700,_0x23b4dc,_0x2a766a);}[_0x8856c4(0x260)](){const _0x32b064=_0x8856c4;this[_0x32b064(0x1fa)]===_0x38f7f2[_0x32b064(0x241)]||this[_0x32b064(0x1fa)]===_0x38f7f2['CLOSED']||(this[_0x32b064(0x229)]=!0x1,this[_0x32b064(0x134)]['_writableState'][_0x32b064(0x20a)]||this['_socket']['resume']());}[_0x8856c4(0x247)](_0x10a3fd,_0x570c18,_0x57d43d){const _0x2432f5=_0x8856c4;if(this[_0x2432f5(0x1fa)]===_0x38f7f2[_0x2432f5(0x241)])throw new Error(_0x2432f5(0x1a9));if(typeof _0x570c18==_0x2432f5(0x24b)&&(_0x57d43d=_0x570c18,_0x570c18={}),typeof _0x10a3fd==_0x2432f5(0x138)&&(_0x10a3fd=_0x10a3fd[_0x2432f5(0x2ad)]()),this['readyState']!==_0x38f7f2['OPEN']){_0x5eb49f(this,_0x10a3fd,_0x57d43d);return;}const _0x24fa70={'binary':typeof _0x10a3fd!=_0x2432f5(0x233),'mask':!this[_0x2432f5(0x1d3)],'compress':!0x0,'fin':!0x0,..._0x570c18};this[_0x2432f5(0x135)][_0x22a363[_0x2432f5(0x276)]]||(_0x24fa70[_0x2432f5(0x180)]=!0x1),this['_sender']['send'](_0x10a3fd||_0x138700,_0x24fa70,_0x57d43d);}[_0x8856c4(0x2a7)](){const _0x2f97fb=_0x8856c4;if(this['readyState']!==_0x38f7f2[_0x2f97fb(0x1f7)]){if(this['readyState']===_0x38f7f2[_0x2f97fb(0x241)]){_0x265e9d(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x2f97fb(0x1db)]&&(this[_0x2f97fb(0x172)]=_0x38f7f2[_0x2f97fb(0x2ae)],this['_socket'][_0x2f97fb(0x1ec)]());}}}Object[_0x8856c4(0x1ce)](_0x38f7f2,_0x8856c4(0x241),{'enumerable':!0x0,'value':_0x42b547[_0x8856c4(0x242)]('CONNECTING')}),Object[_0x8856c4(0x1ce)](_0x38f7f2[_0x8856c4(0x20f)],_0x8856c4(0x241),{'enumerable':!0x0,'value':_0x42b547['indexOf'](_0x8856c4(0x241))}),Object['defineProperty'](_0x38f7f2,_0x8856c4(0x2b4),{'enumerable':!0x0,'value':_0x42b547[_0x8856c4(0x242)](_0x8856c4(0x2b4))}),Object[_0x8856c4(0x1ce)](_0x38f7f2[_0x8856c4(0x20f)],'OPEN',{'enumerable':!0x0,'value':_0x42b547['indexOf'](_0x8856c4(0x2b4))}),Object[_0x8856c4(0x1ce)](_0x38f7f2,_0x8856c4(0x2ae),{'enumerable':!0x0,'value':_0x42b547['indexOf'](_0x8856c4(0x2ae))}),Object['defineProperty'](_0x38f7f2[_0x8856c4(0x20f)],_0x8856c4(0x2ae),{'enumerable':!0x0,'value':_0x42b547[_0x8856c4(0x242)](_0x8856c4(0x2ae))}),Object[_0x8856c4(0x1ce)](_0x38f7f2,_0x8856c4(0x1f7),{'enumerable':!0x0,'value':_0x42b547['indexOf']('CLOSED')}),Object['defineProperty'](_0x38f7f2['prototype'],_0x8856c4(0x1f7),{'enumerable':!0x0,'value':_0x42b547[_0x8856c4(0x242)](_0x8856c4(0x1f7))}),[_0x8856c4(0x29d),'bufferedAmount',_0x8856c4(0x227),'isPaused',_0x8856c4(0x11e),'readyState',_0x8856c4(0x111)][_0x8856c4(0x101)](_0xb05210=>{const _0x32485d=_0x8856c4;Object[_0x32485d(0x1ce)](_0x38f7f2['prototype'],_0xb05210,{'enumerable':!0x0});}),[_0x8856c4(0x206),_0x8856c4(0x1d9),_0x8856c4(0x1a1),_0x8856c4(0x216)][_0x8856c4(0x101)](_0x420d40=>{const _0x2be94c=_0x8856c4;Object[_0x2be94c(0x1ce)](_0x38f7f2['prototype'],'on'+_0x420d40,{'enumerable':!0x0,'get'(){const _0x58cd25=_0x2be94c;for(const _0x281da5 of this[_0x58cd25(0x19f)](_0x420d40))if(_0x281da5[_0x288f3c])return _0x281da5[_0x25f2dd];return null;},'set'(_0x1266d3){const _0x49fe94=_0x2be94c;for(const _0x30e138 of this[_0x49fe94(0x19f)](_0x420d40))if(_0x30e138[_0x288f3c]){this[_0x49fe94(0x139)](_0x420d40,_0x30e138);break;}typeof _0x1266d3==_0x49fe94(0x24b)&&this['addEventListener'](_0x420d40,_0x1266d3,{[_0x288f3c]:!0x0});}});}),_0x38f7f2['prototype'][_0x8856c4(0x24c)]=_0xb3e19c,_0x38f7f2['prototype']['removeEventListener']=_0x27587c,we=_0x38f7f2;function _0x503820(_0x3a3e5f,_0x47cd44,_0x30e184,_0x482505){const _0x121fb4=_0x8856c4,_0x5db1b5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x452ff5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x482505,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x121fb4(0x29a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3a3e5f['_autoPong']=_0x5db1b5[_0x121fb4(0x19e)],!_0x452ff5[_0x121fb4(0x2b5)](_0x5db1b5[_0x121fb4(0x253)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x5db1b5[_0x121fb4(0x253)]+'\x20(supported\x20versions:\x20'+_0x452ff5[_0x121fb4(0x2b6)](',\x20')+')');let _0x21f24b;if(_0x47cd44 instanceof _0x310856)_0x21f24b=_0x47cd44;else try{_0x21f24b=new _0x310856(_0x47cd44);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x47cd44);}_0x21f24b[_0x121fb4(0x11e)]===_0x121fb4(0x24e)?_0x21f24b[_0x121fb4(0x11e)]=_0x121fb4(0xfd):_0x21f24b[_0x121fb4(0x11e)]===_0x121fb4(0x295)&&(_0x21f24b[_0x121fb4(0x11e)]=_0x121fb4(0x1a3)),_0x3a3e5f[_0x121fb4(0x256)]=_0x21f24b[_0x121fb4(0x2b7)];const _0x513ff0=_0x21f24b[_0x121fb4(0x11e)]==='wss:',_0x3c3d15=_0x21f24b[_0x121fb4(0x11e)]===_0x121fb4(0x165);let _0x324389;if(_0x21f24b['protocol']!==_0x121fb4(0xfd)&&!_0x513ff0&&!_0x3c3d15?_0x324389=_0x121fb4(0x27c):_0x3c3d15&&!_0x21f24b[_0x121fb4(0x278)]?_0x324389='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x21f24b[_0x121fb4(0x2b3)]&&(_0x324389=_0x121fb4(0x1b1)),_0x324389){const _0x32d93a=new SyntaxError(_0x324389);if(_0x3a3e5f[_0x121fb4(0x266)]===0x0)throw _0x32d93a;_0x57b135(_0x3a3e5f,_0x32d93a);return;}const _0x793deb=_0x513ff0?0x1bb:0x50,_0x2382e6=_0x236626(0x10)[_0x121fb4(0x2ad)]('base64'),_0x3d1fef=_0x513ff0?_0x33c1c2['request']:_0x1fe6fd['request'],_0x1de38a=new Set();let _0x3eed19;if(_0x5db1b5[_0x121fb4(0x210)]=_0x5db1b5['createConnection']||(_0x513ff0?_0x34c8e2:_0x3ef7e2),_0x5db1b5[_0x121fb4(0x150)]=_0x5db1b5[_0x121fb4(0x150)]||_0x793deb,_0x5db1b5[_0x121fb4(0x222)]=_0x21f24b[_0x121fb4(0x222)]||_0x793deb,_0x5db1b5[_0x121fb4(0x231)]=_0x21f24b['hostname'][_0x121fb4(0x269)]('[')?_0x21f24b[_0x121fb4(0x112)][_0x121fb4(0x18b)](0x1,-0x1):_0x21f24b['hostname'],_0x5db1b5[_0x121fb4(0x1f0)]={..._0x5db1b5[_0x121fb4(0x1f0)],'Sec-WebSocket-Version':_0x5db1b5[_0x121fb4(0x253)],'Sec-WebSocket-Key':_0x2382e6,'Connection':'Upgrade','Upgrade':'websocket'},_0x5db1b5['path']=_0x21f24b[_0x121fb4(0x278)]+_0x21f24b[_0x121fb4(0x123)],_0x5db1b5['timeout']=_0x5db1b5[_0x121fb4(0x104)],_0x5db1b5['perMessageDeflate']&&(_0x3eed19=new _0x22a363(_0x5db1b5[_0x121fb4(0x1b8)]!==!0x0?_0x5db1b5[_0x121fb4(0x1b8)]:{},!0x1,_0x5db1b5['maxPayload']),_0x5db1b5[_0x121fb4(0x1f0)]['Sec-WebSocket-Extensions']=_0x5afae9({[_0x22a363[_0x121fb4(0x276)]]:_0x3eed19[_0x121fb4(0x182)]()})),_0x30e184[_0x121fb4(0x2b1)]){for(const _0x51b491 of _0x30e184){if(typeof _0x51b491!=_0x121fb4(0x233)||!_0x4434db[_0x121fb4(0x109)](_0x51b491)||_0x1de38a[_0x121fb4(0x196)](_0x51b491))throw new SyntaxError(_0x121fb4(0x259));_0x1de38a['add'](_0x51b491);}_0x5db1b5[_0x121fb4(0x1f0)]['Sec-WebSocket-Protocol']=_0x30e184['join'](',');}if(_0x5db1b5[_0x121fb4(0x223)]&&(_0x5db1b5[_0x121fb4(0x253)]<0xd?_0x5db1b5['headers'][_0x121fb4(0x10f)]=_0x5db1b5[_0x121fb4(0x223)]:_0x5db1b5[_0x121fb4(0x1f0)]['Origin']=_0x5db1b5[_0x121fb4(0x223)]),(_0x21f24b[_0x121fb4(0x202)]||_0x21f24b[_0x121fb4(0x13d)])&&(_0x5db1b5['auth']=_0x21f24b[_0x121fb4(0x202)]+':'+_0x21f24b[_0x121fb4(0x13d)]),_0x3c3d15){const _0x419e7f=_0x5db1b5['path'][_0x121fb4(0x228)](':');_0x5db1b5[_0x121fb4(0x20b)]=_0x419e7f[0x0],_0x5db1b5[_0x121fb4(0x13a)]=_0x419e7f[0x1];}let _0x4ef8a0;if(_0x5db1b5[_0x121fb4(0x290)]){if(_0x3a3e5f[_0x121fb4(0x266)]===0x0){_0x3a3e5f['_originalIpc']=_0x3c3d15,_0x3a3e5f[_0x121fb4(0xf6)]=_0x513ff0,_0x3a3e5f[_0x121fb4(0x248)]=_0x3c3d15?_0x5db1b5[_0x121fb4(0x20b)]:_0x21f24b[_0x121fb4(0x231)];const _0x332098=_0x482505&&_0x482505[_0x121fb4(0x1f0)];if(_0x482505={..._0x482505,'headers':{}},_0x332098){for(const [_0x3ff456,_0x25c1b2]of Object['entries'](_0x332098))_0x482505[_0x121fb4(0x1f0)][_0x3ff456[_0x121fb4(0x110)]()]=_0x25c1b2;}}else{if(_0x3a3e5f['listenerCount'](_0x121fb4(0x1e6))===0x0){const _0x31a2cf=_0x3c3d15?_0x3a3e5f['_originalIpc']?_0x5db1b5[_0x121fb4(0x20b)]===_0x3a3e5f['_originalHostOrSocketPath']:!0x1:_0x3a3e5f[_0x121fb4(0x16b)]?!0x1:_0x21f24b[_0x121fb4(0x231)]===_0x3a3e5f[_0x121fb4(0x248)];(!_0x31a2cf||_0x3a3e5f[_0x121fb4(0xf6)]&&!_0x513ff0)&&(delete _0x5db1b5[_0x121fb4(0x1f0)]['authorization'],delete _0x5db1b5['headers']['cookie'],_0x31a2cf||delete _0x5db1b5[_0x121fb4(0x1f0)][_0x121fb4(0x231)],_0x5db1b5[_0x121fb4(0x1bd)]=void 0x0);}}_0x5db1b5[_0x121fb4(0x1bd)]&&!_0x482505['headers']['authorization']&&(_0x482505['headers'][_0x121fb4(0x160)]='Basic\x20'+Buffer[_0x121fb4(0x249)](_0x5db1b5[_0x121fb4(0x1bd)])['toString']('base64')),_0x4ef8a0=_0x3a3e5f[_0x121fb4(0x171)]=_0x3d1fef(_0x5db1b5),_0x3a3e5f['_redirects']&&_0x3a3e5f[_0x121fb4(0x124)]('redirect',_0x3a3e5f[_0x121fb4(0x111)],_0x4ef8a0);}else _0x4ef8a0=_0x3a3e5f[_0x121fb4(0x171)]=_0x3d1fef(_0x5db1b5);_0x5db1b5[_0x121fb4(0x282)]&&_0x4ef8a0['on']('timeout',()=>{_0x265e9d(_0x3a3e5f,_0x4ef8a0,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4ef8a0['on']('error',_0x5c35c4=>{const _0x259ba5=_0x121fb4;_0x4ef8a0===null||_0x4ef8a0[_0x44309d]||(_0x4ef8a0=_0x3a3e5f[_0x259ba5(0x171)]=null,_0x57b135(_0x3a3e5f,_0x5c35c4));}),_0x4ef8a0['on']('response',_0x13e607=>{const _0xa49059=_0x121fb4,_0x4e608a=_0x13e607[_0xa49059(0x1f0)][_0xa49059(0x187)],_0x786fcc=_0x13e607['statusCode'];if(_0x4e608a&&_0x5db1b5[_0xa49059(0x290)]&&_0x786fcc>=0x12c&&_0x786fcc<0x190){if(++_0x3a3e5f[_0xa49059(0x266)]>_0x5db1b5[_0xa49059(0x257)]){_0x265e9d(_0x3a3e5f,_0x4ef8a0,_0xa49059(0x28f));return;}_0x4ef8a0[_0xa49059(0x120)]();let _0x14d624;try{_0x14d624=new _0x310856(_0x4e608a,_0x47cd44);}catch{const _0x98681a=new SyntaxError(_0xa49059(0x145)+_0x4e608a);_0x57b135(_0x3a3e5f,_0x98681a);return;}_0x503820(_0x3a3e5f,_0x14d624,_0x30e184,_0x482505);}else _0x3a3e5f[_0xa49059(0x124)](_0xa49059(0x28e),_0x4ef8a0,_0x13e607)||_0x265e9d(_0x3a3e5f,_0x4ef8a0,_0xa49059(0x1f3)+_0x13e607[_0xa49059(0x136)]);}),_0x4ef8a0['on'](_0x121fb4(0x130),(_0x5b6376,_0x1e4b1f,_0x4aa24e)=>{const _0x212e9c=_0x121fb4;if(_0x3a3e5f[_0x212e9c(0x124)]('upgrade',_0x5b6376),_0x3a3e5f[_0x212e9c(0x1fa)]!==_0x38f7f2[_0x212e9c(0x241)])return;_0x4ef8a0=_0x3a3e5f['_req']=null;const _0x318b8e=_0x5b6376['headers'][_0x212e9c(0x130)];if(_0x318b8e===void 0x0||_0x318b8e[_0x212e9c(0x110)]()!==_0x212e9c(0x169)){_0x265e9d(_0x3a3e5f,_0x1e4b1f,_0x212e9c(0x29f));return;}const _0x1608e0=_0x4f6d16(_0x212e9c(0x24d))[_0x212e9c(0x224)](_0x2382e6+_0x3d58ca)[_0x212e9c(0x200)](_0x212e9c(0x12f));if(_0x5b6376[_0x212e9c(0x1f0)][_0x212e9c(0x23f)]!==_0x1608e0){_0x265e9d(_0x3a3e5f,_0x1e4b1f,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x5abb37=_0x5b6376['headers'][_0x212e9c(0x1a7)];let _0x388266;if(_0x5abb37!==void 0x0?_0x1de38a[_0x212e9c(0x1f6)]?_0x1de38a[_0x212e9c(0x196)](_0x5abb37)||(_0x388266=_0x212e9c(0x22f)):_0x388266=_0x212e9c(0x264):_0x1de38a[_0x212e9c(0x1f6)]&&(_0x388266='Server\x20sent\x20no\x20subprotocol'),_0x388266){_0x265e9d(_0x3a3e5f,_0x1e4b1f,_0x388266);return;}_0x5abb37&&(_0x3a3e5f['_protocol']=_0x5abb37);const _0x32ee5a=_0x5b6376['headers']['sec-websocket-extensions'];if(_0x32ee5a!==void 0x0){if(!_0x3eed19){_0x265e9d(_0x3a3e5f,_0x1e4b1f,_0x212e9c(0x288));return;}let _0x500c51;try{_0x500c51=_0x5ae3f3(_0x32ee5a);}catch{_0x265e9d(_0x3a3e5f,_0x1e4b1f,_0x212e9c(0x1a0));return;}const _0x491b82=Object['keys'](_0x500c51);if(_0x491b82[_0x212e9c(0x2b1)]!==0x1||_0x491b82[0x0]!==_0x22a363['extensionName']){_0x265e9d(_0x3a3e5f,_0x1e4b1f,_0x212e9c(0x297));return;}try{_0x3eed19['accept'](_0x500c51[_0x22a363['extensionName']]);}catch{_0x265e9d(_0x3a3e5f,_0x1e4b1f,_0x212e9c(0x1a0));return;}_0x3a3e5f[_0x212e9c(0x135)][_0x22a363[_0x212e9c(0x276)]]=_0x3eed19;}_0x3a3e5f['setSocket'](_0x1e4b1f,_0x4aa24e,{'allowSynchronousEvents':_0x5db1b5[_0x212e9c(0x133)],'generateMask':_0x5db1b5[_0x212e9c(0x12d)],'maxPayload':_0x5db1b5['maxPayload'],'skipUTF8Validation':_0x5db1b5[_0x212e9c(0x167)]});}),_0x5db1b5[_0x121fb4(0x1b6)]?_0x5db1b5[_0x121fb4(0x1b6)](_0x4ef8a0,_0x3a3e5f):_0x4ef8a0[_0x121fb4(0x12a)]();}function _0x57b135(_0x264a9e,_0x4aef3d){const _0x4ed360=_0x8856c4;_0x264a9e[_0x4ed360(0x172)]=_0x38f7f2['CLOSING'],_0x264a9e['_errorEmitted']=!0x0,_0x264a9e[_0x4ed360(0x124)]('error',_0x4aef3d),_0x264a9e[_0x4ed360(0x20c)]();}function _0x3ef7e2(_0x22fca3){const _0x553b08=_0x8856c4;return _0x22fca3['path']=_0x22fca3[_0x553b08(0x20b)],_0x113c40['connect'](_0x22fca3);}function _0x34c8e2(_0x216499){const _0x1e73b0=_0x8856c4;return _0x216499['path']=void 0x0,!_0x216499[_0x1e73b0(0x293)]&&_0x216499[_0x1e73b0(0x293)]!==''&&(_0x216499['servername']=_0x113c40['isIP'](_0x216499[_0x1e73b0(0x231)])?'':_0x216499[_0x1e73b0(0x231)]),_0x3ec840[_0x1e73b0(0x14a)](_0x216499);}function _0x265e9d(_0x4f8634,_0x4ef0d7,_0x1dea54){const _0x2a697e=_0x8856c4;_0x4f8634[_0x2a697e(0x172)]=_0x38f7f2[_0x2a697e(0x2ae)];const _0x405ea5=new Error(_0x1dea54);Error[_0x2a697e(0x189)](_0x405ea5,_0x265e9d),_0x4ef0d7[_0x2a697e(0x261)]?(_0x4ef0d7[_0x44309d]=!0x0,_0x4ef0d7['abort'](),_0x4ef0d7[_0x2a697e(0x1af)]&&!_0x4ef0d7['socket'][_0x2a697e(0x1d4)]&&_0x4ef0d7['socket'][_0x2a697e(0x1ec)](),process[_0x2a697e(0x152)](_0x57b135,_0x4f8634,_0x405ea5)):(_0x4ef0d7['destroy'](_0x405ea5),_0x4ef0d7[_0x2a697e(0x10d)](_0x2a697e(0x1d9),_0x4f8634[_0x2a697e(0x124)][_0x2a697e(0x24f)](_0x4f8634,_0x2a697e(0x1d9))),_0x4ef0d7[_0x2a697e(0x10d)](_0x2a697e(0x1a1),_0x4f8634[_0x2a697e(0x20c)]['bind'](_0x4f8634)));}function _0x5eb49f(_0xe4da8c,_0x583fb2,_0x4bbadd){const _0x16c77a=_0x8856c4;if(_0x583fb2){const _0x299e28=_0x1a255f(_0x583fb2)?_0x583fb2['size']:_0x59dd5b(_0x583fb2)[_0x16c77a(0x2b1)];_0xe4da8c[_0x16c77a(0x1db)]?_0xe4da8c[_0x16c77a(0x25c)]['_bufferedBytes']+=_0x299e28:_0xe4da8c[_0x16c77a(0x220)]+=_0x299e28;}if(_0x4bbadd){const _0x3e44d8=new Error(_0x16c77a(0x147)+_0xe4da8c['readyState']+'\x20('+_0x42b547[_0xe4da8c[_0x16c77a(0x1fa)]]+')');process[_0x16c77a(0x152)](_0x4bbadd,_0x3e44d8);}}function _0x28b66c(_0xedd869,_0x114160){const _0x5e834a=_0x8856c4,_0x5d8649=this[_0x2172fd];_0x5d8649[_0x5e834a(0x197)]=!0x0,_0x5d8649[_0x5e834a(0x23a)]=_0x114160,_0x5d8649[_0x5e834a(0x128)]=_0xedd869,_0x5d8649[_0x5e834a(0x1db)][_0x2172fd]!==void 0x0&&(_0x5d8649[_0x5e834a(0x1db)]['removeListener'](_0x5e834a(0x255),_0x278679),process['nextTick'](_0x2d7513,_0x5d8649[_0x5e834a(0x1db)]),_0xedd869===0x3ed?_0x5d8649[_0x5e834a(0x1a1)]():_0x5d8649[_0x5e834a(0x1a1)](_0xedd869,_0x114160));}function _0x5d251e(){const _0x337619=_0x8856c4,_0x1aadc4=this[_0x2172fd];_0x1aadc4[_0x337619(0x23b)]||_0x1aadc4[_0x337619(0x1db)][_0x337619(0x260)]();}function _0x49ecd9(_0x14204d){const _0x590288=_0x8856c4,_0x58ac62=this[_0x2172fd];_0x58ac62['_socket'][_0x2172fd]!==void 0x0&&(_0x58ac62[_0x590288(0x1db)]['removeListener'](_0x590288(0x255),_0x278679),process[_0x590288(0x152)](_0x2d7513,_0x58ac62[_0x590288(0x1db)]),_0x58ac62[_0x590288(0x1a1)](_0x14204d[_0x412b90])),_0x58ac62[_0x590288(0x1ae)]||(_0x58ac62['_errorEmitted']=!0x0,_0x58ac62['emit'](_0x590288(0x1d9),_0x14204d));}function _0x52b366(){const _0x324ebd=_0x8856c4;this[_0x2172fd][_0x324ebd(0x20c)]();}function _0x49c3ce(_0x3342a9,_0x5972c2){const _0x3a5c8e=_0x8856c4;this[_0x2172fd][_0x3a5c8e(0x124)](_0x3a5c8e(0x216),_0x3342a9,_0x5972c2);}function _0x5f18f9(_0x4ce32d){const _0x378336=_0x8856c4,_0x5b3cd0=this[_0x2172fd];_0x5b3cd0[_0x378336(0x143)]&&_0x5b3cd0[_0x378336(0x211)](_0x4ce32d,!this[_0x378336(0x1d3)],_0x3320ba),_0x5b3cd0[_0x378336(0x124)](_0x378336(0x127),_0x4ce32d);}function _0xff1106(_0x190819){const _0x3c39eb=_0x8856c4;this[_0x2172fd]['emit'](_0x3c39eb(0x211),_0x190819);}function _0x2d7513(_0x283a09){const _0x38abc0=_0x8856c4;_0x283a09[_0x38abc0(0x260)]();}function _0x2251a4(_0x291d3e){const _0x4cbbde=_0x8856c4,_0x22fb7d=this[_0x2172fd];_0x22fb7d[_0x4cbbde(0x1fa)]!==_0x38f7f2[_0x4cbbde(0x1f7)]&&(_0x22fb7d[_0x4cbbde(0x1fa)]===_0x38f7f2[_0x4cbbde(0x2b4)]&&(_0x22fb7d['_readyState']=_0x38f7f2[_0x4cbbde(0x2ae)],_0x4da861(_0x22fb7d)),this[_0x4cbbde(0x1db)]['end'](),_0x22fb7d['_errorEmitted']||(_0x22fb7d[_0x4cbbde(0x1ae)]=!0x0,_0x22fb7d['emit'](_0x4cbbde(0x1d9),_0x291d3e)));}function _0x4da861(_0x5e4fd0){const _0x3bf146=_0x8856c4;_0x5e4fd0[_0x3bf146(0x15b)]=setTimeout(_0x5e4fd0[_0x3bf146(0x1db)][_0x3bf146(0x1ec)][_0x3bf146(0x24f)](_0x5e4fd0[_0x3bf146(0x1db)]),_0x42fd15);}function _0x2f651b(){const _0x5b73e3=_0x8856c4,_0x226e5e=this[_0x2172fd];this[_0x5b73e3(0x139)](_0x5b73e3(0x1a1),_0x2f651b),this[_0x5b73e3(0x139)](_0x5b73e3(0x255),_0x278679),this['removeListener'](_0x5b73e3(0x12a),_0x332d38),_0x226e5e[_0x5b73e3(0x172)]=_0x38f7f2[_0x5b73e3(0x2ae)];let _0x5304d8;!this[_0x5b73e3(0x1b5)]['endEmitted']&&!_0x226e5e[_0x5b73e3(0x197)]&&!_0x226e5e[_0x5b73e3(0x134)][_0x5b73e3(0x254)][_0x5b73e3(0x209)]&&(_0x5304d8=_0x226e5e[_0x5b73e3(0x1db)][_0x5b73e3(0x21f)]())!==null&&_0x226e5e[_0x5b73e3(0x134)][_0x5b73e3(0x1c3)](_0x5304d8),_0x226e5e[_0x5b73e3(0x134)][_0x5b73e3(0x12a)](),this[_0x2172fd]=void 0x0,clearTimeout(_0x226e5e[_0x5b73e3(0x15b)]),_0x226e5e[_0x5b73e3(0x134)]['_writableState'][_0x5b73e3(0x23e)]||_0x226e5e[_0x5b73e3(0x134)][_0x5b73e3(0x254)]['errorEmitted']?_0x226e5e[_0x5b73e3(0x20c)]():(_0x226e5e[_0x5b73e3(0x134)]['on']('error',_0x52b366),_0x226e5e[_0x5b73e3(0x134)]['on'](_0x5b73e3(0x141),_0x52b366));}function _0x278679(_0x25b613){const _0x437377=_0x8856c4;this[_0x2172fd][_0x437377(0x134)][_0x437377(0x1c3)](_0x25b613)||this['pause']();}function _0x332d38(){const _0x37ad67=_0x8856c4,_0x4f1f34=this[_0x2172fd];_0x4f1f34['_readyState']=_0x38f7f2[_0x37ad67(0x2ae)],_0x4f1f34[_0x37ad67(0x134)][_0x37ad67(0x12a)](),this['end']();}function _0xb9b3c0(){const _0x59bdcd=_0x8856c4,_0x35b7ab=this[_0x2172fd];this[_0x59bdcd(0x139)](_0x59bdcd(0x1d9),_0xb9b3c0),this['on']('error',_0x3320ba),_0x35b7ab&&(_0x35b7ab[_0x59bdcd(0x172)]=_0x38f7f2[_0x59bdcd(0x2ae)],this[_0x59bdcd(0x1ec)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x12186b}=oe;function _0x27e8f5(_0x3fb043){const _0x9e9d48=_0x248f;_0x3fb043[_0x9e9d48(0x124)](_0x9e9d48(0x1a1));}function _0x5c4082(){const _0x2375c4=_0x248f;!this[_0x2375c4(0x1d4)]&&this['_writableState']['finished']&&this[_0x2375c4(0x1ec)]();}function _0x437134(_0x3304fd){const _0x33a136=_0x248f;this[_0x33a136(0x139)](_0x33a136(0x1d9),_0x437134),this[_0x33a136(0x1ec)](),this[_0x33a136(0x268)]('error')===0x0&&this[_0x33a136(0x124)]('error',_0x3304fd);}function _0x102926(_0xe22745,_0x220fcc){const _0x1c21d4=_0x248f;let _0xe05a6=!0x0;const _0x2fcbd6=new _0x12186b({..._0x220fcc,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xe22745['on'](_0x1c21d4(0x216),function(_0x33a0a4,_0x25ff23){const _0x21ea42=_0x1c21d4,_0x1fb0c1=!_0x25ff23&&_0x2fcbd6[_0x21ea42(0x1b5)]['objectMode']?_0x33a0a4[_0x21ea42(0x2ad)]():_0x33a0a4;_0x2fcbd6[_0x21ea42(0x15c)](_0x1fb0c1)||_0xe22745[_0x21ea42(0x129)]();}),_0xe22745[_0x1c21d4(0x10d)](_0x1c21d4(0x1d9),function(_0x5aa311){const _0x54a60f=_0x1c21d4;_0x2fcbd6[_0x54a60f(0x1d4)]||(_0xe05a6=!0x1,_0x2fcbd6[_0x54a60f(0x1ec)](_0x5aa311));}),_0xe22745['once'](_0x1c21d4(0x1a1),function(){const _0x374bb8=_0x1c21d4;_0x2fcbd6['destroyed']||_0x2fcbd6[_0x374bb8(0x15c)](null);}),_0x2fcbd6[_0x1c21d4(0x1d6)]=function(_0x30a7db,_0x36ebf3){const _0x5b0771=_0x1c21d4;if(_0xe22745[_0x5b0771(0x1fa)]===_0xe22745['CLOSED']){_0x36ebf3(_0x30a7db),process[_0x5b0771(0x152)](_0x27e8f5,_0x2fcbd6);return;}let _0x239610=!0x1;_0xe22745[_0x5b0771(0x10d)](_0x5b0771(0x1d9),function(_0x10fe4d){_0x239610=!0x0,_0x36ebf3(_0x10fe4d);}),_0xe22745[_0x5b0771(0x10d)](_0x5b0771(0x1a1),function(){_0x239610||_0x36ebf3(_0x30a7db),process['nextTick'](_0x27e8f5,_0x2fcbd6);}),_0xe05a6&&_0xe22745[_0x5b0771(0x2a7)]();},_0x2fcbd6[_0x1c21d4(0x281)]=function(_0x44d952){const _0xf870e3=_0x1c21d4;if(_0xe22745[_0xf870e3(0x1fa)]===_0xe22745['CONNECTING']){_0xe22745['once']('open',function(){_0x2fcbd6['_final'](_0x44d952);});return;}_0xe22745[_0xf870e3(0x1db)]!==null&&(_0xe22745[_0xf870e3(0x1db)]['_writableState'][_0xf870e3(0x23e)]?(_0x44d952(),_0x2fcbd6[_0xf870e3(0x1b5)]['endEmitted']&&_0x2fcbd6[_0xf870e3(0x1ec)]()):(_0xe22745['_socket'][_0xf870e3(0x10d)]('finish',function(){_0x44d952();}),_0xe22745[_0xf870e3(0x1a1)]()));},_0x2fcbd6[_0x1c21d4(0x198)]=function(){const _0x333fc0=_0x1c21d4;_0xe22745[_0x333fc0(0x23b)]&&_0xe22745[_0x333fc0(0x260)]();},_0x2fcbd6[_0x1c21d4(0x142)]=function(_0x2fb2d0,_0x370ec9,_0x197c70){const _0xb5f228=_0x1c21d4;if(_0xe22745['readyState']===_0xe22745[_0xb5f228(0x241)]){_0xe22745['once']('open',function(){const _0x509c78=_0xb5f228;_0x2fcbd6[_0x509c78(0x142)](_0x2fb2d0,_0x370ec9,_0x197c70);});return;}_0xe22745[_0xb5f228(0x247)](_0x2fb2d0,_0x197c70);},_0x2fcbd6['on'](_0x1c21d4(0x12a),_0x5c4082),_0x2fcbd6['on'](_0x1c21d4(0x1d9),_0x437134),_0x2fcbd6;}return Oe=_0x102926,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1a2819}=ae();function _0x294e11(_0x4d1ae5){const _0x340869=_0x248f,_0x29ecaf=new Set();let _0x5ab2e3=-0x1,_0x372e83=-0x1,_0x598173=0x0;for(_0x598173;_0x598173<_0x4d1ae5['length'];_0x598173++){const _0x17d5a8=_0x4d1ae5[_0x340869(0xf8)](_0x598173);if(_0x372e83===-0x1&&_0x1a2819[_0x17d5a8]===0x1)_0x5ab2e3===-0x1&&(_0x5ab2e3=_0x598173);else{if(_0x598173!==0x0&&(_0x17d5a8===0x20||_0x17d5a8===0x9))_0x372e83===-0x1&&_0x5ab2e3!==-0x1&&(_0x372e83=_0x598173);else{if(_0x17d5a8===0x2c){if(_0x5ab2e3===-0x1)throw new SyntaxError(_0x340869(0x188)+_0x598173);_0x372e83===-0x1&&(_0x372e83=_0x598173);const _0x7ff708=_0x4d1ae5[_0x340869(0x18b)](_0x5ab2e3,_0x372e83);if(_0x29ecaf[_0x340869(0x196)](_0x7ff708))throw new SyntaxError(_0x340869(0x280)+_0x7ff708+_0x340869(0x1c9));_0x29ecaf['add'](_0x7ff708),_0x5ab2e3=_0x372e83=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x598173);}}}if(_0x5ab2e3===-0x1||_0x372e83!==-0x1)throw new SyntaxError(_0x340869(0x26a));const _0x194298=_0x4d1ae5['slice'](_0x5ab2e3,_0x598173);if(_0x29ecaf[_0x340869(0x196)](_0x194298))throw new SyntaxError(_0x340869(0x280)+_0x194298+'\x22\x20subprotocol\x20is\x20duplicated');return _0x29ecaf[_0x340869(0x11b)](_0x194298),_0x29ecaf;}return Ce={'parse':_0x294e11},Ce;}var Te,rt;function Ft(){const _0x14adcc=_0x44f354;if(rt)return Te;rt=0x1;const _0x29083e=nt,_0x4f2332=ot,{Duplex:_0x5f17b4}=oe,{createHash:_0x5c2ba7}=Le,_0x3a8055=ct(),_0x237a89=he(),_0x45cbce=At(),_0x2d63dc=Pe(),{GUID:_0x205c10,kWebSocket:_0x5ed613}=H(),_0x5e8bdf=/^[+/0-9A-Za-z]{22}==$/,_0x3122b5=0x0,_0x39130c=0x1,_0x31fec2=0x2;class _0x5c24fe extends _0x29083e{constructor(_0x5df77c,_0x522a03){const _0x253dd9=_0x248f;if(super(),_0x5df77c={'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':_0x2d63dc,..._0x5df77c},_0x5df77c[_0x253dd9(0x222)]==null&&!_0x5df77c['server']&&!_0x5df77c[_0x253dd9(0x1bc)]||_0x5df77c[_0x253dd9(0x222)]!=null&&(_0x5df77c[_0x253dd9(0x18e)]||_0x5df77c['noServer'])||_0x5df77c[_0x253dd9(0x18e)]&&_0x5df77c[_0x253dd9(0x1bc)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x5df77c[_0x253dd9(0x222)]!=null?(this['_server']=_0x4f2332[_0x253dd9(0xf7)]((_0x2c1049,_0x422f46)=>{const _0x1dadf0=_0x253dd9,_0xe919fc=_0x4f2332[_0x1dadf0(0x294)][0x1aa];_0x422f46[_0x1dadf0(0x1fe)](0x1aa,{'Content-Length':_0xe919fc[_0x1dadf0(0x2b1)],'Content-Type':_0x1dadf0(0x157)}),_0x422f46[_0x1dadf0(0x12a)](_0xe919fc);}),this[_0x253dd9(0x181)][_0x253dd9(0x22a)](_0x5df77c[_0x253dd9(0x222)],_0x5df77c[_0x253dd9(0x231)],_0x5df77c[_0x253dd9(0x240)],_0x522a03)):_0x5df77c[_0x253dd9(0x18e)]&&(this[_0x253dd9(0x181)]=_0x5df77c[_0x253dd9(0x18e)]),this[_0x253dd9(0x181)]){const _0x2478bf=this[_0x253dd9(0x124)][_0x253dd9(0x24f)](this,'connection');this[_0x253dd9(0x2b0)]=_0x5696cb(this[_0x253dd9(0x181)],{'listening':this[_0x253dd9(0x124)]['bind'](this,'listening'),'error':this[_0x253dd9(0x124)][_0x253dd9(0x24f)](this,'error'),'upgrade':(_0x12e5d8,_0x5b36c9,_0x4e7a3d)=>{const _0x56cb94=_0x253dd9;this[_0x56cb94(0x1e8)](_0x12e5d8,_0x5b36c9,_0x4e7a3d,_0x2478bf);}});}_0x5df77c[_0x253dd9(0x1b8)]===!0x0&&(_0x5df77c[_0x253dd9(0x1b8)]={}),_0x5df77c[_0x253dd9(0x298)]&&(this['clients']=new Set(),this[_0x253dd9(0x1c6)]=!0x1),this[_0x253dd9(0x214)]=_0x5df77c,this[_0x253dd9(0x28c)]=_0x3122b5;}[_0x14adcc(0x19b)](){const _0x396010=_0x14adcc;if(this['options'][_0x396010(0x1bc)])throw new Error(_0x396010(0x1c7));return this['_server']?this[_0x396010(0x181)]['address']():null;}[_0x14adcc(0x1a1)](_0x1f87d3){const _0x2b52a4=_0x14adcc;if(this[_0x2b52a4(0x28c)]===_0x31fec2){_0x1f87d3&&this[_0x2b52a4(0x10d)]('close',()=>{const _0x27ed3b=_0x2b52a4;_0x1f87d3(new Error(_0x27ed3b(0x22b)));}),process['nextTick'](_0x411ebe,this);return;}if(_0x1f87d3&&this[_0x2b52a4(0x10d)](_0x2b52a4(0x1a1),_0x1f87d3),this[_0x2b52a4(0x28c)]!==_0x39130c){if(this[_0x2b52a4(0x28c)]=_0x39130c,this['options'][_0x2b52a4(0x1bc)]||this[_0x2b52a4(0x214)][_0x2b52a4(0x18e)])this[_0x2b52a4(0x181)]&&(this[_0x2b52a4(0x2b0)](),this[_0x2b52a4(0x2b0)]=this['_server']=null),this[_0x2b52a4(0x201)]?this[_0x2b52a4(0x201)][_0x2b52a4(0x1f6)]?this[_0x2b52a4(0x1c6)]=!0x0:process[_0x2b52a4(0x152)](_0x411ebe,this):process['nextTick'](_0x411ebe,this);else{const _0x59ad51=this[_0x2b52a4(0x181)];this[_0x2b52a4(0x2b0)](),this['_removeListeners']=this[_0x2b52a4(0x181)]=null,_0x59ad51[_0x2b52a4(0x1a1)](()=>{_0x411ebe(this);});}}}[_0x14adcc(0x1d1)](_0x1e9cda){const _0x31a88d=_0x14adcc;if(this[_0x31a88d(0x214)]['path']){const _0x18013e=_0x1e9cda[_0x31a88d(0x111)][_0x31a88d(0x242)]('?');if((_0x18013e!==-0x1?_0x1e9cda['url']['slice'](0x0,_0x18013e):_0x1e9cda[_0x31a88d(0x111)])!==this[_0x31a88d(0x214)][_0x31a88d(0x13a)])return!0x1;}return!0x0;}[_0x14adcc(0x1e8)](_0x32fcdd,_0x49e840,_0x267f0b,_0x1c863a){const _0x31dbd2=_0x14adcc;_0x49e840['on'](_0x31dbd2(0x1d9),_0x29d948);const _0x5712b9=_0x32fcdd[_0x31dbd2(0x1f0)][_0x31dbd2(0x26f)],_0x1fb9ce=_0x32fcdd['headers'][_0x31dbd2(0x130)],_0x4367c6=+_0x32fcdd['headers'][_0x31dbd2(0x13c)];if(_0x32fcdd[_0x31dbd2(0x23c)]!==_0x31dbd2(0x29a)){_0x427a82(this,_0x32fcdd,_0x49e840,0x195,_0x31dbd2(0x12b));return;}if(_0x1fb9ce===void 0x0||_0x1fb9ce[_0x31dbd2(0x110)]()!=='websocket'){_0x427a82(this,_0x32fcdd,_0x49e840,0x190,_0x31dbd2(0x29f));return;}if(_0x5712b9===void 0x0||!_0x5e8bdf['test'](_0x5712b9)){_0x427a82(this,_0x32fcdd,_0x49e840,0x190,_0x31dbd2(0x17d));return;}if(_0x4367c6!==0xd&&_0x4367c6!==0x8){_0x427a82(this,_0x32fcdd,_0x49e840,0x190,_0x31dbd2(0x115),{'Sec-WebSocket-Version':_0x31dbd2(0x22d)});return;}if(!this[_0x31dbd2(0x1d1)](_0x32fcdd)){_0xdee48b(_0x49e840,0x190);return;}const _0x160bb5=_0x32fcdd[_0x31dbd2(0x1f0)][_0x31dbd2(0x1a7)];let _0x585748=new Set();if(_0x160bb5!==void 0x0)try{_0x585748=_0x45cbce['parse'](_0x160bb5);}catch{_0x427a82(this,_0x32fcdd,_0x49e840,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x90fa7a=_0x32fcdd[_0x31dbd2(0x1f0)][_0x31dbd2(0x11d)],_0x106087={};if(this[_0x31dbd2(0x214)][_0x31dbd2(0x1b8)]&&_0x90fa7a!==void 0x0){const _0x328552=new _0x237a89(this[_0x31dbd2(0x214)]['perMessageDeflate'],!0x0,this[_0x31dbd2(0x214)][_0x31dbd2(0x1c4)]);try{const _0x1e29e4=_0x3a8055[_0x31dbd2(0x1b3)](_0x90fa7a);_0x1e29e4[_0x237a89['extensionName']]&&(_0x328552[_0x31dbd2(0x13f)](_0x1e29e4[_0x237a89[_0x31dbd2(0x276)]]),_0x106087[_0x237a89[_0x31dbd2(0x276)]]=_0x328552);}catch{_0x427a82(this,_0x32fcdd,_0x49e840,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x31dbd2(0x214)][_0x31dbd2(0x1df)]){const _0x35c667={'origin':_0x32fcdd[_0x31dbd2(0x1f0)][''+(_0x4367c6===0x8?'sec-websocket-origin':_0x31dbd2(0x223))],'secure':!!(_0x32fcdd[_0x31dbd2(0x1af)][_0x31dbd2(0x1de)]||_0x32fcdd[_0x31dbd2(0x1af)][_0x31dbd2(0x14d)]),'req':_0x32fcdd};if(this[_0x31dbd2(0x214)][_0x31dbd2(0x1df)][_0x31dbd2(0x2b1)]===0x2){this[_0x31dbd2(0x214)]['verifyClient'](_0x35c667,(_0x331348,_0x2cc331,_0x170e0d,_0x1cbd21)=>{const _0x54acaa=_0x31dbd2;if(!_0x331348)return _0xdee48b(_0x49e840,_0x2cc331||0x191,_0x170e0d,_0x1cbd21);this[_0x54acaa(0x1ac)](_0x106087,_0x5712b9,_0x585748,_0x32fcdd,_0x49e840,_0x267f0b,_0x1c863a);});return;}if(!this[_0x31dbd2(0x214)][_0x31dbd2(0x1df)](_0x35c667))return _0xdee48b(_0x49e840,0x191);}this['completeUpgrade'](_0x106087,_0x5712b9,_0x585748,_0x32fcdd,_0x49e840,_0x267f0b,_0x1c863a);}[_0x14adcc(0x1ac)](_0xcf3dcb,_0x28f71c,_0x2a033c,_0x3c3ecd,_0x514b56,_0x4d30a8,_0x296015){const _0x26a6ab=_0x14adcc;if(!_0x514b56[_0x26a6ab(0x15a)]||!_0x514b56['writable'])return _0x514b56[_0x26a6ab(0x1ec)]();if(_0x514b56[_0x5ed613])throw new Error(_0x26a6ab(0x1e5));if(this['_state']>_0x3122b5)return _0xdee48b(_0x514b56,0x1f7);const _0x5d209d=[_0x26a6ab(0x140),_0x26a6ab(0x21b),_0x26a6ab(0x1e1),'Sec-WebSocket-Accept:\x20'+_0x5c2ba7(_0x26a6ab(0x24d))[_0x26a6ab(0x224)](_0x28f71c+_0x205c10)[_0x26a6ab(0x200)]('base64')],_0x3999c5=new this['options'][(_0x26a6ab(0x258))](null,void 0x0,this['options']);if(_0x2a033c[_0x26a6ab(0x1f6)]){const _0xa2c5ec=this[_0x26a6ab(0x214)][_0x26a6ab(0x1ff)]?this[_0x26a6ab(0x214)][_0x26a6ab(0x1ff)](_0x2a033c,_0x3c3ecd):_0x2a033c[_0x26a6ab(0x1dc)]()[_0x26a6ab(0x271)]()[_0x26a6ab(0x1b7)];_0xa2c5ec&&(_0x5d209d[_0x26a6ab(0x15c)](_0x26a6ab(0x27e)+_0xa2c5ec),_0x3999c5[_0x26a6ab(0x273)]=_0xa2c5ec);}if(_0xcf3dcb[_0x237a89[_0x26a6ab(0x276)]]){const _0x41fdc3=_0xcf3dcb[_0x237a89[_0x26a6ab(0x276)]]['params'],_0x56352b=_0x3a8055[_0x26a6ab(0x203)]({[_0x237a89['extensionName']]:[_0x41fdc3]});_0x5d209d[_0x26a6ab(0x15c)](_0x26a6ab(0x18f)+_0x56352b),_0x3999c5[_0x26a6ab(0x135)]=_0xcf3dcb;}this[_0x26a6ab(0x124)](_0x26a6ab(0x1f0),_0x5d209d,_0x3c3ecd),_0x514b56['write'](_0x5d209d['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x514b56[_0x26a6ab(0x139)](_0x26a6ab(0x1d9),_0x29d948),_0x3999c5[_0x26a6ab(0x1c1)](_0x514b56,_0x4d30a8,{'allowSynchronousEvents':this[_0x26a6ab(0x214)][_0x26a6ab(0x133)],'maxPayload':this[_0x26a6ab(0x214)]['maxPayload'],'skipUTF8Validation':this[_0x26a6ab(0x214)][_0x26a6ab(0x167)]}),this[_0x26a6ab(0x201)]&&(this[_0x26a6ab(0x201)][_0x26a6ab(0x11b)](_0x3999c5),_0x3999c5['on'](_0x26a6ab(0x1a1),()=>{const _0x18d181=_0x26a6ab;this[_0x18d181(0x201)]['delete'](_0x3999c5),this[_0x18d181(0x1c6)]&&!this[_0x18d181(0x201)][_0x18d181(0x1f6)]&&process[_0x18d181(0x152)](_0x411ebe,this);})),_0x296015(_0x3999c5,_0x3c3ecd);}}Te=_0x5c24fe;function _0x5696cb(_0x1d8b40,_0x3e3876){const _0x5d1a03=_0x14adcc;for(const _0x9e1b85 of Object[_0x5d1a03(0x173)](_0x3e3876))_0x1d8b40['on'](_0x9e1b85,_0x3e3876[_0x9e1b85]);return function(){const _0x257327=_0x5d1a03;for(const _0x41dec0 of Object[_0x257327(0x173)](_0x3e3876))_0x1d8b40[_0x257327(0x139)](_0x41dec0,_0x3e3876[_0x41dec0]);};}function _0x411ebe(_0x14ea3c){const _0x5cbfff=_0x14adcc;_0x14ea3c[_0x5cbfff(0x28c)]=_0x31fec2,_0x14ea3c['emit'](_0x5cbfff(0x1a1));}function _0x29d948(){this['destroy']();}function _0xdee48b(_0x6ef0e6,_0x334584,_0x16dd67,_0x390589){const _0x529853=_0x14adcc;_0x16dd67=_0x16dd67||_0x4f2332[_0x529853(0x294)][_0x334584],_0x390589={'Connection':_0x529853(0x1a1),'Content-Type':_0x529853(0x28d),'Content-Length':Buffer[_0x529853(0x225)](_0x16dd67),..._0x390589},_0x6ef0e6[_0x529853(0x10d)]('finish',_0x6ef0e6[_0x529853(0x1ec)]),_0x6ef0e6[_0x529853(0x12a)](_0x529853(0x262)+_0x334584+'\x20'+_0x4f2332[_0x529853(0x294)][_0x334584]+'\x0d\x0a'+Object['keys'](_0x390589)[_0x529853(0x166)](_0x5777b0=>_0x5777b0+':\x20'+_0x390589[_0x5777b0])[_0x529853(0x2b6)]('\x0d\x0a')+_0x529853(0x239)+_0x16dd67);}function _0x427a82(_0x361c71,_0x4aff64,_0x167ee,_0x3a6044,_0x5cb38c,_0x588d9b){const _0x2d490e=_0x14adcc;if(_0x361c71[_0x2d490e(0x268)]('wsClientError')){const _0x533ebd=new Error(_0x5cb38c);Error['captureStackTrace'](_0x533ebd,_0x427a82),_0x361c71[_0x2d490e(0x124)](_0x2d490e(0x287),_0x533ebd,_0x167ee,_0x4aff64);}else _0xdee48b(_0x167ee,_0x3a6044,_0x5cb38c,_0x588d9b);}return Te;}Ft();var jt=Object[_0x44f354(0xfc)],Wt=(_0x2bbb77,_0x1a9611,_0x43ae26,_0x3b8c02)=>{const _0x1dd1a7=_0x44f354;for(var _0x5368be=_0x3b8c02>0x1?void 0x0:_0x3b8c02?jt(_0x1a9611,_0x43ae26):_0x1a9611,_0xc34b97=_0x2bbb77[_0x1dd1a7(0x2b1)]-0x1,_0x5cd58f;_0xc34b97>=0x0;_0xc34b97--)(_0x5cd58f=_0x2bbb77[_0xc34b97])&&(_0x5368be=_0x5cd58f(_0x5368be)||_0x5368be);return _0x5368be;},qt=(_0x4eacf2,_0x517ff4)=>(_0x1d7d9e,_0x58b465)=>_0x517ff4(_0x1d7d9e,_0x58b465,_0x4eacf2);let ke=class extends A[_0x44f354(0x10e)]{constructor(_0x145b4c){const _0x989d92=_0x44f354;super(),this[_0x989d92(0x15e)]=_0x145b4c;}[_0x44f354(0x2af)](_0x20f9ea){const _0x12b3a9=_0x44f354;var _0x1e080c;const _0x25d904=(_0x1e080c=this[_0x12b3a9(0x15e)][_0x12b3a9(0x274)](fe))==null?void 0x0:_0x1e080c['customHeaders'];try{const _0x20bbe4=new $t(_0x20f9ea,{'headers':{..._0x25d904}}),_0x3ba07b=new A[(_0x12b3a9(0x265))]();return{'URL':_0x20f9ea,'close':(_0x57777c,_0x59a937)=>{const _0x3a8594=_0x12b3a9;_0x20bbe4[_0x3a8594(0x1a1)](_0x57777c,_0x59a937),_0x3ba07b[_0x3a8594(0x164)]();},'send':_0x549725=>{const _0x589ac8=_0x12b3a9;_0x20bbe4[_0x589ac8(0x247)](_0x549725);},'open$':new V[(_0x12b3a9(0x117))](_0x4f14aa=>{const _0x519734=_0x12b3a9,_0x3b9bd8=_0x207a43=>_0x4f14aa[_0x519734(0x271)](_0x207a43);_0x20bbe4[_0x519734(0x24c)](_0x519734(0x206),_0x3b9bd8),_0x3ba07b[_0x519734(0x11b)](A['toDisposable'](()=>_0x20bbe4[_0x519734(0x212)](_0x519734(0x206),_0x3b9bd8)));})[_0x12b3a9(0x21e)](V[_0x12b3a9(0x234)]()),'close$':new V['Observable'](_0x3868fc=>{const _0x4794da=_0x12b3a9,_0x5c9755=_0x2accfb=>_0x3868fc['next'](_0x2accfb);_0x20bbe4[_0x4794da(0x24c)](_0x4794da(0x1a1),_0x5c9755),_0x3ba07b[_0x4794da(0x11b)](A[_0x4794da(0x246)](()=>_0x20bbe4[_0x4794da(0x212)](_0x4794da(0x1a1),_0x5c9755)));})[_0x12b3a9(0x21e)](V[_0x12b3a9(0x234)]()),'error$':new V['Observable'](_0x49105e=>{const _0x44d005=_0x12b3a9,_0x29ccb4=_0x4e3b93=>_0x49105e[_0x44d005(0x271)](_0x4e3b93);_0x20bbe4[_0x44d005(0x24c)](_0x44d005(0x1d9),_0x29ccb4),_0x3ba07b[_0x44d005(0x11b)](A[_0x44d005(0x246)](()=>_0x20bbe4['removeEventListener'](_0x44d005(0x1d9),_0x29ccb4)));})[_0x12b3a9(0x21e)](V[_0x12b3a9(0x234)]()),'message$':new V[(_0x12b3a9(0x117))](_0x49c856=>{const _0x31a0bb=_0x12b3a9,_0x58804b=_0x56843e=>_0x49c856[_0x31a0bb(0x271)](_0x56843e);_0x20bbe4['addEventListener'](_0x31a0bb(0x216),_0x58804b),_0x3ba07b[_0x31a0bb(0x11b)](A[_0x31a0bb(0x246)](()=>_0x20bbe4['removeEventListener'](_0x31a0bb(0x216),_0x58804b)));})[_0x12b3a9(0x21e)](V[_0x12b3a9(0x234)]())};}catch(_0x380ec5){return console[_0x12b3a9(0x1d9)](_0x380ec5),null;}}};ke=Wt([qt(0x0,A[_0x44f354(0xf5)])],ke);var Gt=Object[_0x44f354(0x1ce)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0xb34e4e,_0x17b2b1,_0xd1e0e0)=>_0x17b2b1 in _0xb34e4e?Gt(_0xb34e4e,_0x17b2b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd1e0e0}):_0xb34e4e[_0x17b2b1]=_0xd1e0e0,zt=(_0x5c48b1,_0x56f2c7,_0x323e6d,_0x5002fe)=>{const _0x34c3ad=_0x44f354;for(var _0x424d82=_0x5002fe>0x1?void 0x0:_0x5002fe?Vt(_0x56f2c7,_0x323e6d):_0x56f2c7,_0x22d334=_0x5c48b1[_0x34c3ad(0x2b1)]-0x1,_0x1f67c9;_0x22d334>=0x0;_0x22d334--)(_0x1f67c9=_0x5c48b1[_0x22d334])&&(_0x424d82=_0x1f67c9(_0x424d82)||_0x424d82);return _0x424d82;},Ne=(_0x12385e,_0x1cb253)=>(_0x5cb58a,_0x32190b)=>_0x1cb253(_0x5cb58a,_0x32190b,_0x12385e),Yt=(_0x3b7b83,_0x331ce4,_0x1dce55)=>Ht(_0x3b7b83,_0x331ce4+'',_0x1dce55);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x44f354(0x1f2)]{constructor(_0x318f4c=Ct,_0x3206b2,_0xbb1581,_0x1bfb69){const _0x263c32=_0x44f354;_0x318f4c['customHeaders']||_0x3206b2[_0x263c32(0x17c)](_0x263c32(0x16c)),super(),this[_0x263c32(0x15e)]=_0xbb1581,this[_0x263c32(0x219)]=_0x1bfb69,this[_0x263c32(0x15e)][_0x263c32(0x2ab)](fe,_0x318f4c);}[_0x44f354(0x1be)](){const _0x2f33c8=_0x44f354;this[_0x2f33c8(0x291)]();}['_registerDependencies'](){const _0x59146f=_0x44f354;A[_0x59146f(0x18c)](this[_0x59146f(0x219)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x44f354(0x2a9)],'pluginName',_0x44f354(0x15d)),exports['UniverCollaborationClientNodePlugin']=zt([A['DependentOn'](st[_0x44f354(0x230)]),Ne(0x1,A[_0x44f354(0x25b)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x44f354(0x27a)](A[_0x44f354(0x159)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x44f354(0xfc)],Xt=(_0x166dc8,_0x158ef8,_0x3efb79,_0x5c489c)=>{const _0x4f85c1=_0x44f354;for(var _0x30dbcb=_0x5c489c>0x1?void 0x0:_0x5c489c?Kt(_0x158ef8,_0x3efb79):_0x158ef8,_0x2337d3=_0x166dc8[_0x4f85c1(0x2b1)]-0x1,_0x53074b;_0x2337d3>=0x0;_0x2337d3--)(_0x53074b=_0x166dc8[_0x2337d3])&&(_0x30dbcb=_0x53074b(_0x30dbcb)||_0x30dbcb);return _0x30dbcb;},ne=(_0x171f64,_0x3c2241)=>(_0x2ba070,_0xbfc878)=>_0x3c2241(_0x2ba070,_0xbfc878,_0x171f64);exports[_0x44f354(0x162)]=class extends st['CollaborationSocketService']{constructor(_0x2e5118,_0x1e3fbd,_0x4fc3d4,_0x3dc120,_0x308476){const _0x245445=_0x44f354;super(_0x2e5118,_0x1e3fbd,_0x4fc3d4,_0x3dc120,_0x308476);const _0x20f7eb=this[_0x245445(0x15e)][_0x245445(0x274)](fe);this[_0x245445(0xfa)][_0x245445(0x12e)]({'interceptor':(_0x6b00a3,_0x5eeeb9)=>{const _0x1b47ba=_0x245445;var _0x531f44;const _0x41b02f=_0x6b00a3[_0x1b47ba(0x1f0)];return(_0x531f44=_0x20f7eb==null?void 0x0:_0x20f7eb[_0x1b47ba(0x100)])!=null&&_0x531f44[_0x1b47ba(0x1f9)]&&_0x41b02f[_0x1b47ba(0x29b)](_0x1b47ba(0x232),_0x20f7eb[_0x1b47ba(0x100)][_0x1b47ba(0x1f9)]),_0x5eeeb9(_0x6b00a3);}});}async[_0x44f354(0x2af)](_0x3fd946){const _0x1dc294=_0x44f354;return this[_0x1dc294(0x226)](_0x3fd946);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x44f354(0x27a)](A[_0x44f354(0x159)])),ne(0x1,A[_0x44f354(0x27a)](it[_0x44f354(0x221)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x44f354(0x25b)]),ne(0x4,Ot[_0x44f354(0x192)])],exports[_0x44f354(0x162)]),exports[_0x44f354(0x207)]=fe;