@univerjs-pro/collaboration-client-node 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251216-1519cb7

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x52913d=_0x49ee;(function(_0x33862c,_0x2a26fb){const _0x199fc4=_0x49ee,_0x2fce24=_0x33862c();while(!![]){try{const _0x4b904f=-parseInt(_0x199fc4(0x176))/0x1*(-parseInt(_0x199fc4(0x161))/0x2)+parseInt(_0x199fc4(0x1bb))/0x3+parseInt(_0x199fc4(0x221))/0x4+parseInt(_0x199fc4(0x2d0))/0x5*(parseInt(_0x199fc4(0x290))/0x6)+parseInt(_0x199fc4(0x2c2))/0x7+-parseInt(_0x199fc4(0x203))/0x8*(-parseInt(_0x199fc4(0x298))/0x9)+-parseInt(_0x199fc4(0x1bc))/0xa;if(_0x4b904f===_0x2a26fb)break;else _0x2fce24['push'](_0x2fce24['shift']());}catch(_0x7ddddd){_0x2fce24['push'](_0x2fce24['shift']());}}}(_0x5c46,0xcac7b));import{UniverCollaborationClientPlugin as _0x3ded99,CollaborationSocketService as _0x1f3945}from'@univerjs-pro/collaboration-client';import{Disposable as _0x27429c,DisposableCollection as _0xa239aa,toDisposable as _0x4cc490,IConfigService as _0x5304af,DependentOn as _0x2434af,ILogService as _0x81bc5a,Inject as _0x5e4e9c,Injector as _0x1bb984,Plugin as _0x51e44b,registerDependencies as _0xaf8f19}from'@univerjs/core';import{ISocketService as _0xbe44da,HTTPService as _0x5d0807}from'@univerjs/network';import{Observable as _0x4aeb22,share as _0x1e2c40}from'rxjs';import _0x428a51 from'events';import _0x377efe from'https';import _0x3eb3d0 from'http';import _0x110ac8 from'net';import _0x26f228 from'tls';import _0x355f4b from'crypto';import _0x20bb13 from'stream';import _0x13fdf1 from'url';import _0x174873 from'zlib';import _0x399842 from'buffer';import{ISnapshotServerService as _0x407c88}from'@univerjs-pro/collaboration';const Be=_0x52913d(0x171),Ft={'customHeaders':{}};function Wt(_0x58e6a8){const _0x32decb=_0x52913d;return _0x58e6a8&&_0x58e6a8[_0x32decb(0x1ac)]&&Object['prototype'][_0x32decb(0x1f5)][_0x32decb(0x2ad)](_0x58e6a8,'default')?_0x58e6a8['default']:_0x58e6a8;}function ut(_0x360941){const _0x333add=_0x52913d;if(Object['prototype'][_0x333add(0x1f5)]['call'](_0x360941,_0x333add(0x1ac)))return _0x360941;var _0x358352=_0x360941[_0x333add(0x151)];if(typeof _0x358352==_0x333add(0x2b3)){var _0x5eb851=function _0x3db3ba(){const _0x25a099=_0x333add;var _0x51782a=!0x1;try{_0x51782a=this instanceof _0x3db3ba;}catch{}return _0x51782a?Reflect[_0x25a099(0x1df)](_0x358352,arguments,this[_0x25a099(0x278)]):_0x358352[_0x25a099(0x169)](this,arguments);};_0x5eb851[_0x333add(0x27d)]=_0x358352['prototype'];}else _0x5eb851={};return Object['defineProperty'](_0x5eb851,_0x333add(0x1ac),{'value':!0x0}),Object[_0x333add(0x164)](_0x360941)[_0x333add(0x145)](function(_0x2b38b5){const _0x2c1d4f=_0x333add;var _0x15c32e=Object[_0x2c1d4f(0x185)](_0x360941,_0x2b38b5);Object[_0x2c1d4f(0x23b)](_0x5eb851,_0x2b38b5,_0x15c32e['get']?_0x15c32e:{'enumerable':!0x0,'get':function(){return _0x360941[_0x2b38b5];}});}),_0x5eb851;}var te={'exports':{}},ge,Ye;function V(){const _0x4049de=_0x52913d;if(Ye)return ge;Ye=0x1;const _0x109685=[_0x4049de(0x277),_0x4049de(0x1f7),'fragments'],_0x51355f=typeof Blob<'u';return _0x51355f&&_0x109685[_0x4049de(0x15e)](_0x4049de(0x1b9)),ge={'BINARY_TYPES':_0x109685,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x4049de(0x16a),'hasBlob':_0x51355f,'kForOnEventAttribute':Symbol(_0x4049de(0x19c)),'kListener':Symbol(_0x4049de(0x1c0)),'kStatusCode':Symbol(_0x4049de(0x1c1)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x52913d(0x1a5)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x52913d(0x251)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0xe71050=_0x52913d;if(Ke)return te[_0xe71050(0x21f)];Ke=0x1;const {EMPTY_BUFFER:_0x1b3e3d}=V(),_0x17542a=Buffer[Symbol[_0xe71050(0x229)]];function _0x31c15b(_0x3afc8c,_0x39cb03){const _0x154825=_0xe71050;if(_0x3afc8c[_0x154825(0x16d)]===0x0)return _0x1b3e3d;if(_0x3afc8c[_0x154825(0x16d)]===0x1)return _0x3afc8c[0x0];const _0x8347a7=Buffer[_0x154825(0x1c7)](_0x39cb03);let _0x43703f=0x0;for(let _0x27953c=0x0;_0x27953c<_0x3afc8c['length'];_0x27953c++){const _0x1d1d8b=_0x3afc8c[_0x27953c];_0x8347a7[_0x154825(0x13f)](_0x1d1d8b,_0x43703f),_0x43703f+=_0x1d1d8b['length'];}return _0x43703f<_0x39cb03?new _0x17542a(_0x8347a7[_0x154825(0x28a)],_0x8347a7[_0x154825(0x1ca)],_0x43703f):_0x8347a7;}function _0x3923fc(_0x385eb3,_0x3a2549,_0x3151be,_0x241b75,_0x359b60){for(let _0x7ffe41=0x0;_0x7ffe41<_0x359b60;_0x7ffe41++)_0x3151be[_0x241b75+_0x7ffe41]=_0x385eb3[_0x7ffe41]^_0x3a2549[_0x7ffe41&0x3];}function _0xded1b6(_0x13c632,_0x3c1996){const _0x48f0cc=_0xe71050;for(let _0x3061e3=0x0;_0x3061e3<_0x13c632[_0x48f0cc(0x16d)];_0x3061e3++)_0x13c632[_0x3061e3]^=_0x3c1996[_0x3061e3&0x3];}function _0x15af86(_0x2bd03e){const _0x1cd992=_0xe71050;return _0x2bd03e[_0x1cd992(0x16d)]===_0x2bd03e['buffer'][_0x1cd992(0x1cf)]?_0x2bd03e[_0x1cd992(0x28a)]:_0x2bd03e[_0x1cd992(0x28a)][_0x1cd992(0x152)](_0x2bd03e[_0x1cd992(0x1ca)],_0x2bd03e['byteOffset']+_0x2bd03e['length']);}function _0x4a4d72(_0x3172fb){const _0x5a5b4f=_0xe71050;if(_0x4a4d72['readOnly']=!0x0,Buffer['isBuffer'](_0x3172fb))return _0x3172fb;let _0x1e9e78;return _0x3172fb instanceof ArrayBuffer?_0x1e9e78=new _0x17542a(_0x3172fb):ArrayBuffer[_0x5a5b4f(0x226)](_0x3172fb)?_0x1e9e78=new _0x17542a(_0x3172fb[_0x5a5b4f(0x28a)],_0x3172fb[_0x5a5b4f(0x1ca)],_0x3172fb[_0x5a5b4f(0x1cf)]):(_0x1e9e78=Buffer[_0x5a5b4f(0x1c5)](_0x3172fb),_0x4a4d72[_0x5a5b4f(0x28b)]=!0x1),_0x1e9e78;}if(te[_0xe71050(0x21f)]={'concat':_0x31c15b,'mask':_0x3923fc,'toArrayBuffer':_0x15af86,'toBuffer':_0x4a4d72,'unmask':_0xded1b6},!process[_0xe71050(0x220)]['WS_NO_BUFFER_UTIL'])try{const _0x5cabd9=Vt;te[_0xe71050(0x21f)][_0xe71050(0x26b)]=function(_0xe8dc08,_0x49bd5a,_0x4247b5,_0x2bdf76,_0x3c45eb){_0x3c45eb<0x30?_0x3923fc(_0xe8dc08,_0x49bd5a,_0x4247b5,_0x2bdf76,_0x3c45eb):_0x5cabd9['mask'](_0xe8dc08,_0x49bd5a,_0x4247b5,_0x2bdf76,_0x3c45eb);},te[_0xe71050(0x21f)][_0xe71050(0x179)]=function(_0x5858b9,_0x4b6185){const _0x2d0302=_0xe71050;_0x5858b9[_0x2d0302(0x16d)]<0x20?_0xded1b6(_0x5858b9,_0x4b6185):_0x5cabd9['unmask'](_0x5858b9,_0x4b6185);};}catch{}return te[_0xe71050(0x21f)];}var ye,Xe;function qt(){const _0x354831=_0x52913d;if(Xe)return ye;Xe=0x1;const _0x548c67=Symbol('kDone'),_0x5a49de=Symbol(_0x354831(0x1e6));class _0x332f9d{constructor(_0x133ead){const _0xf77295=_0x354831;this[_0x548c67]=()=>{const _0x37d5ae=_0x49ee;this[_0x37d5ae(0x2da)]--,this[_0x5a49de]();},this['concurrency']=_0x133ead||0x1/0x0,this[_0xf77295(0x1d4)]=[],this[_0xf77295(0x2da)]=0x0;}['add'](_0x450c6e){const _0x524dcb=_0x354831;this[_0x524dcb(0x1d4)][_0x524dcb(0x15e)](_0x450c6e),this[_0x5a49de]();}[_0x5a49de](){const _0x22fbac=_0x354831;if(this[_0x22fbac(0x2da)]!==this[_0x22fbac(0x182)]&&this[_0x22fbac(0x1d4)][_0x22fbac(0x16d)]){const _0x1fe689=this['jobs'][_0x22fbac(0x144)]();this['pending']++,_0x1fe689(this[_0x548c67]);}}}return ye=_0x332f9d,ye;}var ve,Ze;function _0x49ee(_0x4682f0,_0x25bce5){_0x4682f0=_0x4682f0-0x139;const _0x5c4692=_0x5c46();let _0x49ee16=_0x5c4692[_0x4682f0];return _0x49ee16;}function he(){const _0x578e3f=_0x52913d;if(Ze)return ve;Ze=0x1;const _0xb63216=_0x174873,_0x48ecfe=ce(),_0x334ade=qt(),{kStatusCode:_0x56ecda}=V(),_0x5002a2=Buffer[Symbol[_0x578e3f(0x229)]],_0x53eba8=Buffer[_0x578e3f(0x1c5)]([0x0,0x0,0xff,0xff]),_0x5469a4=Symbol(_0x578e3f(0x1b4)),_0x233d08=Symbol(_0x578e3f(0x19d)),_0xb44259=Symbol(_0x578e3f(0x215)),_0x17108c=Symbol('buffers'),_0x5c02de=Symbol(_0x578e3f(0x1ea));let _0x29cddd;class _0x18ccdf{constructor(_0xe361d1,_0x5b7dd9,_0xc17e95){const _0x5bd42f=_0x578e3f;if(this[_0x5bd42f(0x244)]=_0xc17e95|0x0,this[_0x5bd42f(0x14e)]=_0xe361d1||{},this[_0x5bd42f(0x1cb)]=this['_options']['threshold']!==void 0x0?this['_options'][_0x5bd42f(0x1d3)]:0x400,this[_0x5bd42f(0x1f6)]=!!_0x5b7dd9,this[_0x5bd42f(0x201)]=null,this[_0x5bd42f(0x247)]=null,this[_0x5bd42f(0x25a)]=null,!_0x29cddd){const _0xbb8db3=this[_0x5bd42f(0x14e)]['concurrencyLimit']!==void 0x0?this[_0x5bd42f(0x14e)][_0x5bd42f(0x217)]:0xa;_0x29cddd=new _0x334ade(_0xbb8db3);}}static get[_0x578e3f(0x17a)](){const _0x5cb31a=_0x578e3f;return _0x5cb31a(0x1b4);}['offer'](){const _0x505e88=_0x578e3f,_0x466d8a={};return this[_0x505e88(0x14e)][_0x505e88(0x29b)]&&(_0x466d8a['server_no_context_takeover']=!0x0),this[_0x505e88(0x14e)][_0x505e88(0x18c)]&&(_0x466d8a[_0x505e88(0x2be)]=!0x0),this[_0x505e88(0x14e)]['serverMaxWindowBits']&&(_0x466d8a[_0x505e88(0x274)]=this[_0x505e88(0x14e)][_0x505e88(0x2c4)]),this['_options'][_0x505e88(0x242)]?_0x466d8a['client_max_window_bits']=this['_options']['clientMaxWindowBits']:this[_0x505e88(0x14e)][_0x505e88(0x242)]==null&&(_0x466d8a[_0x505e88(0x1a0)]=!0x0),_0x466d8a;}[_0x578e3f(0x18b)](_0x3bc789){const _0x2146d1=_0x578e3f;return _0x3bc789=this['normalizeParams'](_0x3bc789),this['params']=this[_0x2146d1(0x1f6)]?this[_0x2146d1(0x20d)](_0x3bc789):this['acceptAsClient'](_0x3bc789),this[_0x2146d1(0x25a)];}['cleanup'](){const _0x13daa0=_0x578e3f;if(this[_0x13daa0(0x247)]&&(this[_0x13daa0(0x247)][_0x13daa0(0x20f)](),this['_inflate']=null),this[_0x13daa0(0x201)]){const _0x8754b1=this[_0x13daa0(0x201)][_0xb44259];this[_0x13daa0(0x201)][_0x13daa0(0x20f)](),this[_0x13daa0(0x201)]=null,_0x8754b1&&_0x8754b1(new Error(_0x13daa0(0x240)));}}['acceptAsServer'](_0x3b3182){const _0x16d490=_0x578e3f,_0x1d8fa0=this[_0x16d490(0x14e)],_0x467e47=_0x3b3182[_0x16d490(0x17b)](_0xe25c03=>!(_0x1d8fa0['serverNoContextTakeover']===!0x1&&_0xe25c03[_0x16d490(0x18d)]||_0xe25c03['server_max_window_bits']&&(_0x1d8fa0[_0x16d490(0x2c4)]===!0x1||typeof _0x1d8fa0[_0x16d490(0x2c4)]==_0x16d490(0x236)&&_0x1d8fa0[_0x16d490(0x2c4)]>_0xe25c03[_0x16d490(0x274)])||typeof _0x1d8fa0[_0x16d490(0x242)]==_0x16d490(0x236)&&!_0xe25c03['client_max_window_bits']));if(!_0x467e47)throw new Error(_0x16d490(0x222));return _0x1d8fa0[_0x16d490(0x29b)]&&(_0x467e47[_0x16d490(0x18d)]=!0x0),_0x1d8fa0['clientNoContextTakeover']&&(_0x467e47[_0x16d490(0x2be)]=!0x0),typeof _0x1d8fa0[_0x16d490(0x2c4)]==_0x16d490(0x236)&&(_0x467e47[_0x16d490(0x274)]=_0x1d8fa0[_0x16d490(0x2c4)]),typeof _0x1d8fa0[_0x16d490(0x242)]==_0x16d490(0x236)?_0x467e47[_0x16d490(0x1a0)]=_0x1d8fa0[_0x16d490(0x242)]:(_0x467e47['client_max_window_bits']===!0x0||_0x1d8fa0['clientMaxWindowBits']===!0x1)&&delete _0x467e47['client_max_window_bits'],_0x467e47;}[_0x578e3f(0x1f3)](_0x4ade26){const _0x5e43d0=_0x578e3f,_0x4c0406=_0x4ade26[0x0];if(this[_0x5e43d0(0x14e)][_0x5e43d0(0x18c)]===!0x1&&_0x4c0406[_0x5e43d0(0x2be)])throw new Error(_0x5e43d0(0x248));if(!_0x4c0406[_0x5e43d0(0x1a0)])typeof this[_0x5e43d0(0x14e)]['clientMaxWindowBits']==_0x5e43d0(0x236)&&(_0x4c0406[_0x5e43d0(0x1a0)]=this[_0x5e43d0(0x14e)][_0x5e43d0(0x242)]);else{if(this[_0x5e43d0(0x14e)]['clientMaxWindowBits']===!0x1||typeof this[_0x5e43d0(0x14e)]['clientMaxWindowBits']==_0x5e43d0(0x236)&&_0x4c0406[_0x5e43d0(0x1a0)]>this[_0x5e43d0(0x14e)][_0x5e43d0(0x242)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x4c0406;}[_0x578e3f(0x271)](_0x426812){return _0x426812['forEach'](_0x47bd06=>{const _0x15c26d=_0x49ee;Object[_0x15c26d(0x164)](_0x47bd06)[_0x15c26d(0x145)](_0x27b02f=>{const _0x37a0fa=_0x15c26d;let _0x304f93=_0x47bd06[_0x27b02f];if(_0x304f93[_0x37a0fa(0x16d)]>0x1)throw new Error(_0x37a0fa(0x1fc)+_0x27b02f+_0x37a0fa(0x177));if(_0x304f93=_0x304f93[0x0],_0x27b02f===_0x37a0fa(0x1a0)){if(_0x304f93!==!0x0){const _0x5ae27e=+_0x304f93;if(!Number[_0x37a0fa(0x2ae)](_0x5ae27e)||_0x5ae27e<0x8||_0x5ae27e>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x27b02f+_0x37a0fa(0x2c3)+_0x304f93);_0x304f93=_0x5ae27e;}else{if(!this['_isServer'])throw new TypeError(_0x37a0fa(0x194)+_0x27b02f+'\x22:\x20'+_0x304f93);}}else{if(_0x27b02f===_0x37a0fa(0x274)){const _0x119d90=+_0x304f93;if(!Number[_0x37a0fa(0x2ae)](_0x119d90)||_0x119d90<0x8||_0x119d90>0xf)throw new TypeError(_0x37a0fa(0x194)+_0x27b02f+_0x37a0fa(0x2c3)+_0x304f93);_0x304f93=_0x119d90;}else{if(_0x27b02f===_0x37a0fa(0x2be)||_0x27b02f===_0x37a0fa(0x18d)){if(_0x304f93!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x27b02f+_0x37a0fa(0x2c3)+_0x304f93);}else throw new Error(_0x37a0fa(0x1fd)+_0x27b02f+'\x22');}}_0x47bd06[_0x27b02f]=_0x304f93;});}),_0x426812;}['decompress'](_0x3171d6,_0x2f0f00,_0xefc830){const _0x19c072=_0x578e3f;_0x29cddd[_0x19c072(0x202)](_0x5560c0=>{const _0x59fe7d=_0x19c072;this[_0x59fe7d(0x2bb)](_0x3171d6,_0x2f0f00,(_0x475e6e,_0x318fd)=>{_0x5560c0(),_0xefc830(_0x475e6e,_0x318fd);});});}[_0x578e3f(0x23d)](_0x2f5a18,_0x47b472,_0x390536){_0x29cddd['add'](_0x5b92d9=>{const _0xf77d7f=_0x49ee;this[_0xf77d7f(0x13c)](_0x2f5a18,_0x47b472,(_0x17a227,_0xbfba1b)=>{_0x5b92d9(),_0x390536(_0x17a227,_0xbfba1b);});});}[_0x578e3f(0x2bb)](_0x438117,_0x5b06f1,_0x35884c){const _0x1535cf=_0x578e3f,_0x5bda00=this[_0x1535cf(0x1f6)]?_0x1535cf(0x19b):_0x1535cf(0x2c5);if(!this[_0x1535cf(0x247)]){const _0x54f855=_0x5bda00+'_max_window_bits',_0x17247e=typeof this['params'][_0x54f855]!=_0x1535cf(0x236)?_0xb63216[_0x1535cf(0x2b2)]:this[_0x1535cf(0x25a)][_0x54f855];this[_0x1535cf(0x247)]=_0xb63216[_0x1535cf(0x1af)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x17247e}),this[_0x1535cf(0x247)][_0x5469a4]=this,this[_0x1535cf(0x247)][_0x233d08]=0x0,this[_0x1535cf(0x247)][_0x17108c]=[],this[_0x1535cf(0x247)]['on']('error',_0x212b8a),this[_0x1535cf(0x247)]['on']('data',_0x4ad2c1);}this[_0x1535cf(0x247)][_0xb44259]=_0x35884c,this[_0x1535cf(0x247)][_0x1535cf(0x23c)](_0x438117),_0x5b06f1&&this['_inflate'][_0x1535cf(0x23c)](_0x53eba8),this[_0x1535cf(0x247)][_0x1535cf(0x216)](()=>{const _0x5e0f11=_0x1535cf,_0x1ebab8=this[_0x5e0f11(0x247)][_0x5c02de];if(_0x1ebab8){this[_0x5e0f11(0x247)]['close'](),this['_inflate']=null,_0x35884c(_0x1ebab8);return;}const _0x2464bd=_0x48ecfe[_0x5e0f11(0x2e2)](this[_0x5e0f11(0x247)][_0x17108c],this[_0x5e0f11(0x247)][_0x233d08]);this[_0x5e0f11(0x247)][_0x5e0f11(0x25e)][_0x5e0f11(0x1f1)]?(this[_0x5e0f11(0x247)][_0x5e0f11(0x20f)](),this[_0x5e0f11(0x247)]=null):(this[_0x5e0f11(0x247)][_0x233d08]=0x0,this[_0x5e0f11(0x247)][_0x17108c]=[],_0x5b06f1&&this[_0x5e0f11(0x25a)][_0x5bda00+_0x5e0f11(0x2cd)]&&this['_inflate'][_0x5e0f11(0x15f)]()),_0x35884c(null,_0x2464bd);});}[_0x578e3f(0x13c)](_0x271333,_0x1a2098,_0x1f2321){const _0x2ced5a=_0x578e3f,_0x21665d=this[_0x2ced5a(0x1f6)]?'server':_0x2ced5a(0x19b);if(!this[_0x2ced5a(0x201)]){const _0x433174=_0x21665d+_0x2ced5a(0x262),_0x44c596=typeof this[_0x2ced5a(0x25a)][_0x433174]!='number'?_0xb63216[_0x2ced5a(0x2b2)]:this[_0x2ced5a(0x25a)][_0x433174];this[_0x2ced5a(0x201)]=_0xb63216[_0x2ced5a(0x20a)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x44c596}),this['_deflate'][_0x233d08]=0x0,this['_deflate'][_0x17108c]=[],this[_0x2ced5a(0x201)]['on'](_0x2ced5a(0x14b),_0x508bff);}this[_0x2ced5a(0x201)][_0xb44259]=_0x1f2321,this[_0x2ced5a(0x201)][_0x2ced5a(0x23c)](_0x271333),this[_0x2ced5a(0x201)][_0x2ced5a(0x216)](_0xb63216['Z_SYNC_FLUSH'],()=>{const _0x53a28b=_0x2ced5a;if(!this[_0x53a28b(0x201)])return;let _0x76589a=_0x48ecfe[_0x53a28b(0x2e2)](this[_0x53a28b(0x201)][_0x17108c],this['_deflate'][_0x233d08]);_0x1a2098&&(_0x76589a=new _0x5002a2(_0x76589a[_0x53a28b(0x28a)],_0x76589a[_0x53a28b(0x1ca)],_0x76589a['length']-0x4)),this['_deflate'][_0xb44259]=null,this[_0x53a28b(0x201)][_0x233d08]=0x0,this[_0x53a28b(0x201)][_0x17108c]=[],_0x1a2098&&this[_0x53a28b(0x25a)][_0x21665d+_0x53a28b(0x2cd)]&&this[_0x53a28b(0x201)][_0x53a28b(0x15f)](),_0x1f2321(null,_0x76589a);});}}ve=_0x18ccdf;function _0x508bff(_0xcaf704){this[_0x17108c]['push'](_0xcaf704),this[_0x233d08]+=_0xcaf704['length'];}function _0x4ad2c1(_0x9d0292){const _0x4c6a7a=_0x578e3f;if(this[_0x233d08]+=_0x9d0292[_0x4c6a7a(0x16d)],this[_0x5469a4]['_maxPayload']<0x1||this[_0x233d08]<=this[_0x5469a4]['_maxPayload']){this[_0x17108c][_0x4c6a7a(0x15e)](_0x9d0292);return;}this[_0x5c02de]=new RangeError(_0x4c6a7a(0x23e)),this[_0x5c02de][_0x4c6a7a(0x2d5)]=_0x4c6a7a(0x266),this[_0x5c02de][_0x56ecda]=0x3f1,this['removeListener'](_0x4c6a7a(0x14b),_0x4ad2c1),this[_0x4c6a7a(0x15f)]();}function _0x212b8a(_0x146263){const _0x28c8f6=_0x578e3f;if(this[_0x5469a4][_0x28c8f6(0x247)]=null,this[_0x5c02de]){this[_0xb44259](this[_0x5c02de]);return;}_0x146263[_0x56ecda]=0x3ef,this[_0xb44259](_0x146263);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x52913d(0x1a5)](Object[_0x52913d(0x23b)]({'__proto__':null,'default':Ht},Symbol[_0x52913d(0x251)],{'value':_0x52913d(0x24d)})),Yt=ut(zt);var Qe;function ne(){const _0x556321=_0x52913d;if(Qe)return re[_0x556321(0x21f)];Qe=0x1;const {isUtf8:_0x1c08ab}=_0x399842,{hasBlob:_0x2c109c}=V(),_0x287c4c=[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 _0x584f57(_0x7dd449){return _0x7dd449>=0x3e8&&_0x7dd449<=0x3f6&&_0x7dd449!==0x3ec&&_0x7dd449!==0x3ed&&_0x7dd449!==0x3ee||_0x7dd449>=0xbb8&&_0x7dd449<=0x1387;}function _0x174e77(_0x4a7c66){const _0x338e28=_0x556321,_0xd01191=_0x4a7c66[_0x338e28(0x16d)];let _0x30e413=0x0;for(;_0x30e413<_0xd01191;)if((_0x4a7c66[_0x30e413]&0x80)===0x0)_0x30e413++;else{if((_0x4a7c66[_0x30e413]&0xe0)===0xc0){if(_0x30e413+0x1===_0xd01191||(_0x4a7c66[_0x30e413+0x1]&0xc0)!==0x80||(_0x4a7c66[_0x30e413]&0xfe)===0xc0)return!0x1;_0x30e413+=0x2;}else{if((_0x4a7c66[_0x30e413]&0xf0)===0xe0){if(_0x30e413+0x2>=_0xd01191||(_0x4a7c66[_0x30e413+0x1]&0xc0)!==0x80||(_0x4a7c66[_0x30e413+0x2]&0xc0)!==0x80||_0x4a7c66[_0x30e413]===0xe0&&(_0x4a7c66[_0x30e413+0x1]&0xe0)===0x80||_0x4a7c66[_0x30e413]===0xed&&(_0x4a7c66[_0x30e413+0x1]&0xe0)===0xa0)return!0x1;_0x30e413+=0x3;}else{if((_0x4a7c66[_0x30e413]&0xf8)===0xf0){if(_0x30e413+0x3>=_0xd01191||(_0x4a7c66[_0x30e413+0x1]&0xc0)!==0x80||(_0x4a7c66[_0x30e413+0x2]&0xc0)!==0x80||(_0x4a7c66[_0x30e413+0x3]&0xc0)!==0x80||_0x4a7c66[_0x30e413]===0xf0&&(_0x4a7c66[_0x30e413+0x1]&0xf0)===0x80||_0x4a7c66[_0x30e413]===0xf4&&_0x4a7c66[_0x30e413+0x1]>0x8f||_0x4a7c66[_0x30e413]>0xf4)return!0x1;_0x30e413+=0x4;}else return!0x1;}}}return!0x0;}function _0x932217(_0x2bfe2d){const _0x4b8c3c=_0x556321;return _0x2c109c&&typeof _0x2bfe2d==_0x4b8c3c(0x1f8)&&typeof _0x2bfe2d[_0x4b8c3c(0x239)]==_0x4b8c3c(0x2b3)&&typeof _0x2bfe2d[_0x4b8c3c(0x2a7)]=='string'&&typeof _0x2bfe2d[_0x4b8c3c(0x188)]==_0x4b8c3c(0x2b3)&&(_0x2bfe2d[Symbol['toStringTag']]===_0x4b8c3c(0x1a6)||_0x2bfe2d[Symbol[_0x4b8c3c(0x251)]]===_0x4b8c3c(0x190));}if(re[_0x556321(0x21f)]={'isBlob':_0x932217,'isValidStatusCode':_0x584f57,'isValidUTF8':_0x174e77,'tokenChars':_0x287c4c},_0x1c08ab)re[_0x556321(0x21f)][_0x556321(0x208)]=function(_0x51a110){const _0x52b9b8=_0x556321;return _0x51a110[_0x52b9b8(0x16d)]<0x18?_0x174e77(_0x51a110):_0x1c08ab(_0x51a110);};else{if(!process['env'][_0x556321(0x218)])try{const _0x3daaad=Yt;re[_0x556321(0x21f)][_0x556321(0x208)]=function(_0x9d1786){const _0x484f4b=_0x556321;return _0x9d1786[_0x484f4b(0x16d)]<0x20?_0x174e77(_0x9d1786):_0x3daaad(_0x9d1786);};}catch{}}return re[_0x556321(0x21f)];}var Se,Je;function dt(){const _0x16132c=_0x52913d;if(Je)return Se;Je=0x1;const {Writable:_0x402661}=_0x20bb13,_0x510656=he(),{BINARY_TYPES:_0x239572,EMPTY_BUFFER:_0x2d8c33,kStatusCode:_0x248ffd,kWebSocket:_0x26ff5a}=V(),{concat:_0x5df46a,toArrayBuffer:_0x4c5aa0,unmask:_0x548f7d}=ce(),{isValidStatusCode:_0x40bb85,isValidUTF8:_0x3f6ae3}=ne(),_0x583da6=Buffer[Symbol['species']],_0x230f91=0x0,_0x56d031=0x1,_0x5482da=0x2,_0xdcd700=0x3,_0x5ebb72=0x4,_0x9ad61e=0x5,_0x581aa4=0x6;class _0x3bab91 extends _0x402661{constructor(_0x54ddc8={}){const _0xae793d=_0x49ee;super(),this[_0xae793d(0x299)]=_0x54ddc8[_0xae793d(0x22c)]!==void 0x0?_0x54ddc8[_0xae793d(0x22c)]:!0x0,this[_0xae793d(0x1e5)]=_0x54ddc8[_0xae793d(0x1db)]||_0x239572[0x0],this[_0xae793d(0x2a5)]=_0x54ddc8[_0xae793d(0x1bf)]||{},this[_0xae793d(0x1f6)]=!!_0x54ddc8[_0xae793d(0x1b5)],this[_0xae793d(0x244)]=_0x54ddc8[_0xae793d(0x1c4)]|0x0,this['_skipUTF8Validation']=!!_0x54ddc8[_0xae793d(0x25c)],this[_0x26ff5a]=void 0x0,this[_0xae793d(0x1ff)]=0x0,this[_0xae793d(0x22a)]=[],this['_compressed']=!0x1,this[_0xae793d(0x1dc)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0xae793d(0x1f4)]=!0x1,this[_0xae793d(0x170)]=!0x1,this[_0xae793d(0x1fa)]=0x0,this[_0xae793d(0x1a1)]=0x0,this[_0xae793d(0x1a2)]=0x0,this[_0xae793d(0x2de)]=[],this[_0xae793d(0x2c7)]=!0x1,this[_0xae793d(0x2d7)]=!0x1,this[_0xae793d(0x159)]=_0x230f91;}[_0x16132c(0x189)](_0x8aff66,_0x363b6b,_0x2784f4){const _0x2bda48=_0x16132c;if(this[_0x2bda48(0x1fa)]===0x8&&this[_0x2bda48(0x159)]==_0x230f91)return _0x2784f4();this[_0x2bda48(0x1ff)]+=_0x8aff66['length'],this['_buffers']['push'](_0x8aff66),this[_0x2bda48(0x292)](_0x2784f4);}[_0x16132c(0x2d4)](_0x5b617d){const _0x3e5ba3=_0x16132c;if(this[_0x3e5ba3(0x1ff)]-=_0x5b617d,_0x5b617d===this[_0x3e5ba3(0x22a)][0x0][_0x3e5ba3(0x16d)])return this[_0x3e5ba3(0x22a)][_0x3e5ba3(0x144)]();if(_0x5b617d<this[_0x3e5ba3(0x22a)][0x0]['length']){const _0x7df8ce=this[_0x3e5ba3(0x22a)][0x0];return this[_0x3e5ba3(0x22a)][0x0]=new _0x583da6(_0x7df8ce[_0x3e5ba3(0x28a)],_0x7df8ce[_0x3e5ba3(0x1ca)]+_0x5b617d,_0x7df8ce[_0x3e5ba3(0x16d)]-_0x5b617d),new _0x583da6(_0x7df8ce[_0x3e5ba3(0x28a)],_0x7df8ce[_0x3e5ba3(0x1ca)],_0x5b617d);}const _0x2c6d1b=Buffer['allocUnsafe'](_0x5b617d);do{const _0x1685e6=this[_0x3e5ba3(0x22a)][0x0],_0x336e43=_0x2c6d1b[_0x3e5ba3(0x16d)]-_0x5b617d;_0x5b617d>=_0x1685e6[_0x3e5ba3(0x16d)]?_0x2c6d1b[_0x3e5ba3(0x13f)](this[_0x3e5ba3(0x22a)][_0x3e5ba3(0x144)](),_0x336e43):(_0x2c6d1b['set'](new Uint8Array(_0x1685e6['buffer'],_0x1685e6[_0x3e5ba3(0x1ca)],_0x5b617d),_0x336e43),this[_0x3e5ba3(0x22a)][0x0]=new _0x583da6(_0x1685e6[_0x3e5ba3(0x28a)],_0x1685e6[_0x3e5ba3(0x1ca)]+_0x5b617d,_0x1685e6[_0x3e5ba3(0x16d)]-_0x5b617d)),_0x5b617d-=_0x1685e6['length'];}while(_0x5b617d>0x0);return _0x2c6d1b;}['startLoop'](_0x54494a){const _0x972e2f=_0x16132c;this['_loop']=!0x0;do switch(this[_0x972e2f(0x159)]){case _0x230f91:this['getInfo'](_0x54494a);break;case _0x56d031:this[_0x972e2f(0x1b6)](_0x54494a);break;case _0x5482da:this[_0x972e2f(0x1f2)](_0x54494a);break;case _0xdcd700:this['getMask']();break;case _0x5ebb72:this[_0x972e2f(0x1cd)](_0x54494a);break;case _0x9ad61e:case _0x581aa4:this[_0x972e2f(0x2d7)]=!0x1;return;}while(this['_loop']);this[_0x972e2f(0x2c7)]||_0x54494a();}[_0x16132c(0x146)](_0xbc3a2){const _0x543ef7=_0x16132c;if(this[_0x543ef7(0x1ff)]<0x2){this[_0x543ef7(0x2d7)]=!0x1;return;}const _0x2319f7=this['consume'](0x2);if((_0x2319f7[0x0]&0x30)!==0x0){const _0x17b912=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x22d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xbc3a2(_0x17b912);return;}const _0x10270c=(_0x2319f7[0x0]&0x40)===0x40;if(_0x10270c&&!this[_0x543ef7(0x2a5)][_0x510656['extensionName']]){const _0x46b678=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x18f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xbc3a2(_0x46b678);return;}if(this[_0x543ef7(0x170)]=(_0x2319f7[0x0]&0x80)===0x80,this['_opcode']=_0x2319f7[0x0]&0xf,this[_0x543ef7(0x1dc)]=_0x2319f7[0x1]&0x7f,this['_opcode']===0x0){if(_0x10270c){const _0x229667=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x18f),!0x0,0x3ea,_0x543ef7(0x291));_0xbc3a2(_0x229667);return;}if(!this[_0x543ef7(0x2dd)]){const _0x105f3a=this[_0x543ef7(0x2d2)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x543ef7(0x24a));_0xbc3a2(_0x105f3a);return;}this[_0x543ef7(0x1fa)]=this[_0x543ef7(0x2dd)];}else{if(this[_0x543ef7(0x1fa)]===0x1||this[_0x543ef7(0x1fa)]===0x2){if(this[_0x543ef7(0x2dd)]){const _0x5da6cf=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x289)+this[_0x543ef7(0x1fa)],!0x0,0x3ea,_0x543ef7(0x24a));_0xbc3a2(_0x5da6cf);return;}this[_0x543ef7(0x29c)]=_0x10270c;}else{if(this['_opcode']>0x7&&this[_0x543ef7(0x1fa)]<0xb){if(!this['_fin']){const _0x428d05=this[_0x543ef7(0x2d2)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0xbc3a2(_0x428d05);return;}if(_0x10270c){const _0xb25d24=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x18f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xbc3a2(_0xb25d24);return;}if(this[_0x543ef7(0x1dc)]>0x7d||this[_0x543ef7(0x1fa)]===0x8&&this[_0x543ef7(0x1dc)]===0x1){const _0x271e69=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x172)+this['_payloadLength'],!0x0,0x3ea,_0x543ef7(0x1ee));_0xbc3a2(_0x271e69);return;}}else{const _0x316344=this[_0x543ef7(0x2d2)](RangeError,_0x543ef7(0x289)+this[_0x543ef7(0x1fa)],!0x0,0x3ea,_0x543ef7(0x24a));_0xbc3a2(_0x316344);return;}}}if(!this[_0x543ef7(0x170)]&&!this[_0x543ef7(0x2dd)]&&(this[_0x543ef7(0x2dd)]=this['_opcode']),this[_0x543ef7(0x1f4)]=(_0x2319f7[0x1]&0x80)===0x80,this[_0x543ef7(0x1f6)]){if(!this[_0x543ef7(0x1f4)]){const _0x7f3e3=this[_0x543ef7(0x2d2)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0xbc3a2(_0x7f3e3);return;}}else{if(this[_0x543ef7(0x1f4)]){const _0x3db4a4=this[_0x543ef7(0x2d2)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x543ef7(0x23f));_0xbc3a2(_0x3db4a4);return;}}this[_0x543ef7(0x1dc)]===0x7e?this[_0x543ef7(0x159)]=_0x56d031:this[_0x543ef7(0x1dc)]===0x7f?this[_0x543ef7(0x159)]=_0x5482da:this['haveLength'](_0xbc3a2);}[_0x16132c(0x1b6)](_0x491676){const _0x329e8f=_0x16132c;if(this[_0x329e8f(0x1ff)]<0x2){this[_0x329e8f(0x2d7)]=!0x1;return;}this[_0x329e8f(0x1dc)]=this[_0x329e8f(0x2d4)](0x2)[_0x329e8f(0x23a)](0x0),this[_0x329e8f(0x25f)](_0x491676);}[_0x16132c(0x1f2)](_0x29b538){const _0x10acf7=_0x16132c;if(this[_0x10acf7(0x1ff)]<0x8){this[_0x10acf7(0x2d7)]=!0x1;return;}const _0x43ed47=this[_0x10acf7(0x2d4)](0x8),_0x1a574a=_0x43ed47['readUInt32BE'](0x0);if(_0x1a574a>Math[_0x10acf7(0x18a)](0x2,0x15)-0x1){const _0x2c4176=this[_0x10acf7(0x2d2)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x10acf7(0x2b0));_0x29b538(_0x2c4176);return;}this[_0x10acf7(0x1dc)]=_0x1a574a*Math[_0x10acf7(0x18a)](0x2,0x20)+_0x43ed47[_0x10acf7(0x178)](0x4),this[_0x10acf7(0x25f)](_0x29b538);}['haveLength'](_0x29a3e3){const _0x47185a=_0x16132c;if(this[_0x47185a(0x1dc)]&&this[_0x47185a(0x1fa)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x47185a(0x1a1)]>this['_maxPayload']&&this[_0x47185a(0x244)]>0x0)){const _0x3396bd=this[_0x47185a(0x2d2)](RangeError,_0x47185a(0x23e),!0x1,0x3f1,_0x47185a(0x266));_0x29a3e3(_0x3396bd);return;}this[_0x47185a(0x1f4)]?this[_0x47185a(0x159)]=_0xdcd700:this[_0x47185a(0x159)]=_0x5ebb72;}[_0x16132c(0x230)](){const _0x847c7e=_0x16132c;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x847c7e(0x1fb)]=this['consume'](0x4),this[_0x847c7e(0x159)]=_0x5ebb72;}[_0x16132c(0x1cd)](_0x5ef15b){const _0x2dcb72=_0x16132c;let _0x557d9f=_0x2d8c33;if(this['_payloadLength']){if(this[_0x2dcb72(0x1ff)]<this['_payloadLength']){this[_0x2dcb72(0x2d7)]=!0x1;return;}_0x557d9f=this['consume'](this[_0x2dcb72(0x1dc)]),this[_0x2dcb72(0x1f4)]&&(this[_0x2dcb72(0x1fb)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x2dcb72(0x1fb)][0x3])!==0x0&&_0x548f7d(_0x557d9f,this[_0x2dcb72(0x1fb)]);}if(this[_0x2dcb72(0x1fa)]>0x7){this['controlMessage'](_0x557d9f,_0x5ef15b);return;}if(this[_0x2dcb72(0x29c)]){this['_state']=_0x9ad61e,this[_0x2dcb72(0x280)](_0x557d9f,_0x5ef15b);return;}_0x557d9f[_0x2dcb72(0x16d)]&&(this[_0x2dcb72(0x1a2)]=this['_totalPayloadLength'],this[_0x2dcb72(0x2de)]['push'](_0x557d9f)),this[_0x2dcb72(0x157)](_0x5ef15b);}[_0x16132c(0x280)](_0x42e64e,_0x6700e8){const _0x5e3e66=_0x16132c;this[_0x5e3e66(0x2a5)][_0x510656[_0x5e3e66(0x17a)]][_0x5e3e66(0x280)](_0x42e64e,this[_0x5e3e66(0x170)],(_0x21bba7,_0x5db34f)=>{const _0x4cb312=_0x5e3e66;if(_0x21bba7)return _0x6700e8(_0x21bba7);if(_0x5db34f[_0x4cb312(0x16d)]){if(this[_0x4cb312(0x1a2)]+=_0x5db34f['length'],this[_0x4cb312(0x1a2)]>this[_0x4cb312(0x244)]&&this[_0x4cb312(0x244)]>0x0){const _0x2b4939=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4cb312(0x266));_0x6700e8(_0x2b4939);return;}this[_0x4cb312(0x2de)][_0x4cb312(0x15e)](_0x5db34f);}this['dataMessage'](_0x6700e8),this['_state']===_0x230f91&&this['startLoop'](_0x6700e8);});}[_0x16132c(0x157)](_0x244525){const _0x36d13e=_0x16132c;if(!this[_0x36d13e(0x170)]){this[_0x36d13e(0x159)]=_0x230f91;return;}const _0x219bc9=this['_messageLength'],_0xead7d1=this['_fragments'];if(this[_0x36d13e(0x1a1)]=0x0,this[_0x36d13e(0x1a2)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x36d13e(0x1fa)]===0x2){let _0x14c0da;this['_binaryType']===_0x36d13e(0x277)?_0x14c0da=_0x5df46a(_0xead7d1,_0x219bc9):this['_binaryType']===_0x36d13e(0x1f7)?_0x14c0da=_0x4c5aa0(_0x5df46a(_0xead7d1,_0x219bc9)):this[_0x36d13e(0x1e5)]==='blob'?_0x14c0da=new Blob(_0xead7d1):_0x14c0da=_0xead7d1,this[_0x36d13e(0x299)]?(this[_0x36d13e(0x1e1)]('message',_0x14c0da,!0x0),this[_0x36d13e(0x159)]=_0x230f91):(this['_state']=_0x581aa4,setImmediate(()=>{const _0x21a35e=_0x36d13e;this[_0x21a35e(0x1e1)]('message',_0x14c0da,!0x0),this[_0x21a35e(0x159)]=_0x230f91,this[_0x21a35e(0x292)](_0x244525);}));}else{const _0x528cbf=_0x5df46a(_0xead7d1,_0x219bc9);if(!this[_0x36d13e(0x2db)]&&!_0x3f6ae3(_0x528cbf)){const _0x541691=this[_0x36d13e(0x2d2)](Error,_0x36d13e(0x227),!0x0,0x3ef,_0x36d13e(0x249));_0x244525(_0x541691);return;}this['_state']===_0x9ad61e||this[_0x36d13e(0x299)]?(this['emit'](_0x36d13e(0x1d0),_0x528cbf,!0x1),this[_0x36d13e(0x159)]=_0x230f91):(this[_0x36d13e(0x159)]=_0x581aa4,setImmediate(()=>{const _0x2f90c7=_0x36d13e;this[_0x2f90c7(0x1e1)](_0x2f90c7(0x1d0),_0x528cbf,!0x1),this['_state']=_0x230f91,this[_0x2f90c7(0x292)](_0x244525);}));}}[_0x16132c(0x237)](_0x3efe78,_0x36f388){const _0x2bd32d=_0x16132c;if(this[_0x2bd32d(0x1fa)]===0x8){if(_0x3efe78[_0x2bd32d(0x16d)]===0x0)this[_0x2bd32d(0x2d7)]=!0x1,this[_0x2bd32d(0x1e1)](_0x2bd32d(0x2a0),0x3ed,_0x2d8c33),this['end']();else{const _0x1f511b=_0x3efe78['readUInt16BE'](0x0);if(!_0x40bb85(_0x1f511b)){const _0x38139d=this[_0x2bd32d(0x2d2)](RangeError,'invalid\x20status\x20code\x20'+_0x1f511b,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x36f388(_0x38139d);return;}const _0x40ca39=new _0x583da6(_0x3efe78[_0x2bd32d(0x28a)],_0x3efe78[_0x2bd32d(0x1ca)]+0x2,_0x3efe78[_0x2bd32d(0x16d)]-0x2);if(!this[_0x2bd32d(0x2db)]&&!_0x3f6ae3(_0x40ca39)){const _0x45ffc8=this['createError'](Error,_0x2bd32d(0x227),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x36f388(_0x45ffc8);return;}this[_0x2bd32d(0x2d7)]=!0x1,this[_0x2bd32d(0x1e1)](_0x2bd32d(0x2a0),_0x1f511b,_0x40ca39),this[_0x2bd32d(0x204)]();}this['_state']=_0x230f91;return;}this['_allowSynchronousEvents']?(this[_0x2bd32d(0x1e1)](this[_0x2bd32d(0x1fa)]===0x9?'ping':'pong',_0x3efe78),this[_0x2bd32d(0x159)]=_0x230f91):(this[_0x2bd32d(0x159)]=_0x581aa4,setImmediate(()=>{const _0x285c18=_0x2bd32d;this[_0x285c18(0x1e1)](this[_0x285c18(0x1fa)]===0x9?_0x285c18(0x2c0):_0x285c18(0x29f),_0x3efe78),this[_0x285c18(0x159)]=_0x230f91,this[_0x285c18(0x292)](_0x36f388);}));}[_0x16132c(0x2d2)](_0x311aa6,_0x34b96e,_0x5245b6,_0x28470b,_0x570a1d){const _0x50458d=_0x16132c;this['_loop']=!0x1,this[_0x50458d(0x2c7)]=!0x0;const _0x2cc84e=new _0x311aa6(_0x5245b6?_0x50458d(0x153)+_0x34b96e:_0x34b96e);return Error[_0x50458d(0x1ec)](_0x2cc84e,this['createError']),_0x2cc84e[_0x50458d(0x2d5)]=_0x570a1d,_0x2cc84e[_0x248ffd]=_0x28470b,_0x2cc84e;}}return Se=_0x3bab91,Se;}var Ee,et;function _t(){const _0x3ac94a=_0x52913d;if(et)return Ee;et=0x1;const {Duplex:_0x5a8edf}=_0x20bb13,{randomFillSync:_0x493873}=_0x355f4b,_0x2205ca=he(),{EMPTY_BUFFER:_0xc27012,kWebSocket:_0x332e68,NOOP:_0x8276f7}=V(),{isBlob:_0x4e3e2a,isValidStatusCode:_0x5cea05}=ne(),{mask:_0x3c825f,toBuffer:_0x5af0e0}=ce(),_0x57e1fa=Symbol(_0x3ac94a(0x1a9)),_0x514322=Buffer[_0x3ac94a(0x149)](0x4),_0x712dea=0x8*0x400;let _0x4eece8,_0x300a45=_0x712dea;const _0x15f9f5=0x0,_0xf324d2=0x1,_0x3918d1=0x2;class _0x245e2c{constructor(_0x2fa999,_0x507f91,_0x26292a){const _0x48a278=_0x3ac94a;this[_0x48a278(0x2a5)]=_0x507f91||{},_0x26292a&&(this[_0x48a278(0x286)]=_0x26292a,this[_0x48a278(0x213)]=Buffer[_0x48a278(0x149)](0x4)),this[_0x48a278(0x232)]=_0x2fa999,this[_0x48a278(0x26f)]=!0x0,this[_0x48a278(0x13c)]=!0x1,this[_0x48a278(0x1ff)]=0x0,this[_0x48a278(0x26a)]=[],this['_state']=_0x15f9f5,this[_0x48a278(0x2d8)]=_0x8276f7,this[_0x332e68]=void 0x0;}static[_0x3ac94a(0x2d3)](_0x32a013,_0x4cb803){const _0x415483=_0x3ac94a;let _0x21eeb5,_0x1f533a=!0x1,_0x47acf7=0x2,_0x243168=!0x1;_0x4cb803[_0x415483(0x26b)]&&(_0x21eeb5=_0x4cb803[_0x415483(0x1d1)]||_0x514322,_0x4cb803[_0x415483(0x148)]?_0x4cb803[_0x415483(0x148)](_0x21eeb5):(_0x300a45===_0x712dea&&(_0x4eece8===void 0x0&&(_0x4eece8=Buffer['alloc'](_0x712dea)),_0x493873(_0x4eece8,0x0,_0x712dea),_0x300a45=0x0),_0x21eeb5[0x0]=_0x4eece8[_0x300a45++],_0x21eeb5[0x1]=_0x4eece8[_0x300a45++],_0x21eeb5[0x2]=_0x4eece8[_0x300a45++],_0x21eeb5[0x3]=_0x4eece8[_0x300a45++]),_0x243168=(_0x21eeb5[0x0]|_0x21eeb5[0x1]|_0x21eeb5[0x2]|_0x21eeb5[0x3])===0x0,_0x47acf7=0x6);let _0x270728;typeof _0x32a013==_0x415483(0x21e)?(!_0x4cb803[_0x415483(0x26b)]||_0x243168)&&_0x4cb803[_0x57e1fa]!==void 0x0?_0x270728=_0x4cb803[_0x57e1fa]:(_0x32a013=Buffer[_0x415483(0x1c5)](_0x32a013),_0x270728=_0x32a013[_0x415483(0x16d)]):(_0x270728=_0x32a013[_0x415483(0x16d)],_0x1f533a=_0x4cb803[_0x415483(0x26b)]&&_0x4cb803['readOnly']&&!_0x243168);let _0x20054b=_0x270728;_0x270728>=0x10000?(_0x47acf7+=0x8,_0x20054b=0x7f):_0x270728>0x7d&&(_0x47acf7+=0x2,_0x20054b=0x7e);const _0x1deaa5=Buffer[_0x415483(0x1c7)](_0x1f533a?_0x270728+_0x47acf7:_0x47acf7);return _0x1deaa5[0x0]=_0x4cb803[_0x415483(0x1e2)]?_0x4cb803[_0x415483(0x162)]|0x80:_0x4cb803[_0x415483(0x162)],_0x4cb803[_0x415483(0x297)]&&(_0x1deaa5[0x0]|=0x40),_0x1deaa5[0x1]=_0x20054b,_0x20054b===0x7e?_0x1deaa5[_0x415483(0x24e)](_0x270728,0x2):_0x20054b===0x7f&&(_0x1deaa5[0x2]=_0x1deaa5[0x3]=0x0,_0x1deaa5['writeUIntBE'](_0x270728,0x4,0x6)),_0x4cb803['mask']?(_0x1deaa5[0x1]|=0x80,_0x1deaa5[_0x47acf7-0x4]=_0x21eeb5[0x0],_0x1deaa5[_0x47acf7-0x3]=_0x21eeb5[0x1],_0x1deaa5[_0x47acf7-0x2]=_0x21eeb5[0x2],_0x1deaa5[_0x47acf7-0x1]=_0x21eeb5[0x3],_0x243168?[_0x1deaa5,_0x32a013]:_0x1f533a?(_0x3c825f(_0x32a013,_0x21eeb5,_0x1deaa5,_0x47acf7,_0x270728),[_0x1deaa5]):(_0x3c825f(_0x32a013,_0x21eeb5,_0x32a013,0x0,_0x270728),[_0x1deaa5,_0x32a013])):[_0x1deaa5,_0x32a013];}[_0x3ac94a(0x20f)](_0x19f6df,_0x37e699,_0x447b0d,_0x58db03){const _0x3f0f84=_0x3ac94a;let _0x498887;if(_0x19f6df===void 0x0)_0x498887=_0xc27012;else{if(typeof _0x19f6df!='number'||!_0x5cea05(_0x19f6df))throw new TypeError(_0x3f0f84(0x15c));if(_0x37e699===void 0x0||!_0x37e699[_0x3f0f84(0x16d)])_0x498887=Buffer[_0x3f0f84(0x1c7)](0x2),_0x498887[_0x3f0f84(0x24e)](_0x19f6df,0x0);else{const _0x1b3c60=Buffer['byteLength'](_0x37e699);if(_0x1b3c60>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x498887=Buffer['allocUnsafe'](0x2+_0x1b3c60),_0x498887[_0x3f0f84(0x24e)](_0x19f6df,0x0),typeof _0x37e699==_0x3f0f84(0x21e)?_0x498887[_0x3f0f84(0x23c)](_0x37e699,0x2):_0x498887[_0x3f0f84(0x13f)](_0x37e699,0x2);}}const _0x1830e4={[_0x57e1fa]:_0x498887['length'],'fin':!0x0,'generateMask':this[_0x3f0f84(0x286)],'mask':_0x447b0d,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3f0f84(0x159)]!==_0x15f9f5?this[_0x3f0f84(0x156)]([this['dispatch'],_0x498887,!0x1,_0x1830e4,_0x58db03]):this[_0x3f0f84(0x2c9)](_0x245e2c['frame'](_0x498887,_0x1830e4),_0x58db03);}[_0x3ac94a(0x2c0)](_0x9afa47,_0x224714,_0x534edb){const _0x5e5125=_0x3ac94a;let _0x4a2252,_0x27c249;if(typeof _0x9afa47==_0x5e5125(0x21e)?(_0x4a2252=Buffer[_0x5e5125(0x1cf)](_0x9afa47),_0x27c249=!0x1):_0x4e3e2a(_0x9afa47)?(_0x4a2252=_0x9afa47[_0x5e5125(0x1e3)],_0x27c249=!0x1):(_0x9afa47=_0x5af0e0(_0x9afa47),_0x4a2252=_0x9afa47[_0x5e5125(0x16d)],_0x27c249=_0x5af0e0[_0x5e5125(0x28b)]),_0x4a2252>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2ad42d={[_0x57e1fa]:_0x4a2252,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x224714,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x27c249,'rsv1':!0x1};_0x4e3e2a(_0x9afa47)?this[_0x5e5125(0x159)]!==_0x15f9f5?this['enqueue']([this[_0x5e5125(0x2d6)],_0x9afa47,!0x1,_0x2ad42d,_0x534edb]):this[_0x5e5125(0x2d6)](_0x9afa47,!0x1,_0x2ad42d,_0x534edb):this[_0x5e5125(0x159)]!==_0x15f9f5?this['enqueue']([this[_0x5e5125(0x17d)],_0x9afa47,!0x1,_0x2ad42d,_0x534edb]):this['sendFrame'](_0x245e2c[_0x5e5125(0x2d3)](_0x9afa47,_0x2ad42d),_0x534edb);}[_0x3ac94a(0x29f)](_0x2ec0b2,_0x347957,_0x5b1b3e){const _0x484577=_0x3ac94a;let _0x3943be,_0x22d86a;if(typeof _0x2ec0b2==_0x484577(0x21e)?(_0x3943be=Buffer[_0x484577(0x1cf)](_0x2ec0b2),_0x22d86a=!0x1):_0x4e3e2a(_0x2ec0b2)?(_0x3943be=_0x2ec0b2['size'],_0x22d86a=!0x1):(_0x2ec0b2=_0x5af0e0(_0x2ec0b2),_0x3943be=_0x2ec0b2[_0x484577(0x16d)],_0x22d86a=_0x5af0e0['readOnly']),_0x3943be>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3ee239={[_0x57e1fa]:_0x3943be,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x347957,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x22d86a,'rsv1':!0x1};_0x4e3e2a(_0x2ec0b2)?this['_state']!==_0x15f9f5?this['enqueue']([this[_0x484577(0x2d6)],_0x2ec0b2,!0x1,_0x3ee239,_0x5b1b3e]):this[_0x484577(0x2d6)](_0x2ec0b2,!0x1,_0x3ee239,_0x5b1b3e):this[_0x484577(0x159)]!==_0x15f9f5?this[_0x484577(0x156)]([this['dispatch'],_0x2ec0b2,!0x1,_0x3ee239,_0x5b1b3e]):this[_0x484577(0x2c9)](_0x245e2c[_0x484577(0x2d3)](_0x2ec0b2,_0x3ee239),_0x5b1b3e);}[_0x3ac94a(0x14d)](_0x2b8727,_0x343a6d,_0x456013){const _0x4aca17=_0x3ac94a,_0x2afe9e=this[_0x4aca17(0x2a5)][_0x2205ca[_0x4aca17(0x17a)]];let _0x26397f=_0x343a6d[_0x4aca17(0x1b3)]?0x2:0x1,_0x261588=_0x343a6d['compress'],_0x50ca05,_0x4541f9;typeof _0x2b8727==_0x4aca17(0x21e)?(_0x50ca05=Buffer['byteLength'](_0x2b8727),_0x4541f9=!0x1):_0x4e3e2a(_0x2b8727)?(_0x50ca05=_0x2b8727['size'],_0x4541f9=!0x1):(_0x2b8727=_0x5af0e0(_0x2b8727),_0x50ca05=_0x2b8727['length'],_0x4541f9=_0x5af0e0[_0x4aca17(0x28b)]),this[_0x4aca17(0x26f)]?(this[_0x4aca17(0x26f)]=!0x1,_0x261588&&_0x2afe9e&&_0x2afe9e['params'][_0x2afe9e[_0x4aca17(0x1f6)]?_0x4aca17(0x18d):_0x4aca17(0x2be)]&&(_0x261588=_0x50ca05>=_0x2afe9e[_0x4aca17(0x1cb)]),this[_0x4aca17(0x13c)]=_0x261588):(_0x261588=!0x1,_0x26397f=0x0),_0x343a6d[_0x4aca17(0x1e2)]&&(this[_0x4aca17(0x26f)]=!0x0);const _0x252030={[_0x57e1fa]:_0x50ca05,'fin':_0x343a6d[_0x4aca17(0x1e2)],'generateMask':this[_0x4aca17(0x286)],'mask':_0x343a6d[_0x4aca17(0x26b)],'maskBuffer':this['_maskBuffer'],'opcode':_0x26397f,'readOnly':_0x4541f9,'rsv1':_0x261588};_0x4e3e2a(_0x2b8727)?this[_0x4aca17(0x159)]!==_0x15f9f5?this[_0x4aca17(0x156)]([this['getBlobData'],_0x2b8727,this[_0x4aca17(0x13c)],_0x252030,_0x456013]):this[_0x4aca17(0x2d6)](_0x2b8727,this[_0x4aca17(0x13c)],_0x252030,_0x456013):this[_0x4aca17(0x159)]!==_0x15f9f5?this['enqueue']([this[_0x4aca17(0x17d)],_0x2b8727,this[_0x4aca17(0x13c)],_0x252030,_0x456013]):this['dispatch'](_0x2b8727,this['_compress'],_0x252030,_0x456013);}[_0x3ac94a(0x2d6)](_0x33248a,_0xad22c4,_0x176cdf,_0x1c7643){const _0x1be470=_0x3ac94a;this[_0x1be470(0x1ff)]+=_0x176cdf[_0x57e1fa],this['_state']=_0x3918d1,_0x33248a[_0x1be470(0x239)]()[_0x1be470(0x29d)](_0x4dcafa=>{const _0x2a2175=_0x1be470;if(this[_0x2a2175(0x232)][_0x2a2175(0x192)]){const _0x1146be=new Error(_0x2a2175(0x228));process[_0x2a2175(0x181)](_0x3ac708,this,_0x1146be,_0x1c7643);return;}this[_0x2a2175(0x1ff)]-=_0x176cdf[_0x57e1fa];const _0x12864e=_0x5af0e0(_0x4dcafa);_0xad22c4?this['dispatch'](_0x12864e,_0xad22c4,_0x176cdf,_0x1c7643):(this['_state']=_0x15f9f5,this[_0x2a2175(0x2c9)](_0x245e2c[_0x2a2175(0x2d3)](_0x12864e,_0x176cdf),_0x1c7643),this[_0x2a2175(0x1b8)]());})[_0x1be470(0x141)](_0x3a3523=>{const _0x45f912=_0x1be470;process[_0x45f912(0x181)](_0x2446ad,this,_0x3a3523,_0x1c7643);});}['dispatch'](_0x5edd9c,_0x43fc72,_0x196bce,_0x5216a6){const _0x15ed78=_0x3ac94a;if(!_0x43fc72){this['sendFrame'](_0x245e2c[_0x15ed78(0x2d3)](_0x5edd9c,_0x196bce),_0x5216a6);return;}const _0x5eb7a6=this[_0x15ed78(0x2a5)][_0x2205ca[_0x15ed78(0x17a)]];this[_0x15ed78(0x1ff)]+=_0x196bce[_0x57e1fa],this['_state']=_0xf324d2,_0x5eb7a6[_0x15ed78(0x23d)](_0x5edd9c,_0x196bce['fin'],(_0x3e7907,_0x5d9fbf)=>{const _0x25e5ac=_0x15ed78;if(this[_0x25e5ac(0x232)][_0x25e5ac(0x192)]){const _0x3d44de=new Error(_0x25e5ac(0x1b0));_0x3ac708(this,_0x3d44de,_0x5216a6);return;}this['_bufferedBytes']-=_0x196bce[_0x57e1fa],this[_0x25e5ac(0x159)]=_0x15f9f5,_0x196bce[_0x25e5ac(0x28b)]=!0x1,this['sendFrame'](_0x245e2c['frame'](_0x5d9fbf,_0x196bce),_0x5216a6),this[_0x25e5ac(0x1b8)]();});}[_0x3ac94a(0x1b8)](){const _0x2ca363=_0x3ac94a;for(;this[_0x2ca363(0x159)]===_0x15f9f5&&this[_0x2ca363(0x26a)]['length'];){const _0x3a7f4f=this[_0x2ca363(0x26a)][_0x2ca363(0x144)]();this['_bufferedBytes']-=_0x3a7f4f[0x3][_0x57e1fa],Reflect[_0x2ca363(0x169)](_0x3a7f4f[0x0],this,_0x3a7f4f[_0x2ca363(0x152)](0x1));}}[_0x3ac94a(0x156)](_0x2fe541){const _0x1a32f8=_0x3ac94a;this[_0x1a32f8(0x1ff)]+=_0x2fe541[0x3][_0x57e1fa],this[_0x1a32f8(0x26a)][_0x1a32f8(0x15e)](_0x2fe541);}[_0x3ac94a(0x2c9)](_0x5196f7,_0x28bfc4){const _0x1d1c1f=_0x3ac94a;_0x5196f7[_0x1d1c1f(0x16d)]===0x2?(this['_socket'][_0x1d1c1f(0x1de)](),this[_0x1d1c1f(0x232)]['write'](_0x5196f7[0x0]),this['_socket'][_0x1d1c1f(0x23c)](_0x5196f7[0x1],_0x28bfc4),this['_socket']['uncork']()):this['_socket'][_0x1d1c1f(0x23c)](_0x5196f7[0x0],_0x28bfc4);}}Ee=_0x245e2c;function _0x3ac708(_0x466040,_0x38cf12,_0x5d7476){const _0x173b0a=_0x3ac94a;typeof _0x5d7476=='function'&&_0x5d7476(_0x38cf12);for(let _0x25793e=0x0;_0x25793e<_0x466040['_queue'][_0x173b0a(0x16d)];_0x25793e++){const _0xe27609=_0x466040[_0x173b0a(0x26a)][_0x25793e],_0x16b0af=_0xe27609[_0xe27609[_0x173b0a(0x16d)]-0x1];typeof _0x16b0af=='function'&&_0x16b0af(_0x38cf12);}}function _0x2446ad(_0x3d8758,_0x4c4194,_0x5a6def){_0x3ac708(_0x3d8758,_0x4c4194,_0x5a6def),_0x3d8758['onerror'](_0x4c4194);}return Ee;}var xe,tt;function Kt(){const _0x1888f6=_0x52913d;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5e7d5c,kListener:_0x34adc8}=V(),_0x1a8528=Symbol('kCode'),_0x303b40=Symbol(_0x1888f6(0x2bc)),_0x476487=Symbol(_0x1888f6(0x1e9)),_0x8f44c6=Symbol(_0x1888f6(0x24f)),_0x364576=Symbol('kReason'),_0x5c8dbc=Symbol(_0x1888f6(0x223)),_0x88d8e6=Symbol(_0x1888f6(0x21d)),_0x51b4d5=Symbol(_0x1888f6(0x155));class _0x291a64{constructor(_0x1ac8ea){this[_0x5c8dbc]=null,this[_0x88d8e6]=_0x1ac8ea;}get[_0x1888f6(0x147)](){return this[_0x5c8dbc];}get['type'](){return this[_0x88d8e6];}}Object[_0x1888f6(0x23b)](_0x291a64[_0x1888f6(0x27d)],_0x1888f6(0x147),{'enumerable':!0x0}),Object['defineProperty'](_0x291a64[_0x1888f6(0x27d)],_0x1888f6(0x2a7),{'enumerable':!0x0});class _0x266193 extends _0x291a64{constructor(_0x134eb7,_0x46f59c={}){const _0x4f279=_0x1888f6;super(_0x134eb7),this[_0x1a8528]=_0x46f59c[_0x4f279(0x2d5)]===void 0x0?0x0:_0x46f59c[_0x4f279(0x2d5)],this[_0x364576]=_0x46f59c[_0x4f279(0x160)]===void 0x0?'':_0x46f59c[_0x4f279(0x160)],this[_0x51b4d5]=_0x46f59c[_0x4f279(0x1d6)]===void 0x0?!0x1:_0x46f59c[_0x4f279(0x1d6)];}get['code'](){return this[_0x1a8528];}get['reason'](){return this[_0x364576];}get['wasClean'](){return this[_0x51b4d5];}}Object[_0x1888f6(0x23b)](_0x266193[_0x1888f6(0x27d)],_0x1888f6(0x2d5),{'enumerable':!0x0}),Object[_0x1888f6(0x23b)](_0x266193['prototype'],_0x1888f6(0x160),{'enumerable':!0x0}),Object[_0x1888f6(0x23b)](_0x266193['prototype'],'wasClean',{'enumerable':!0x0});class _0x3b50ae extends _0x291a64{constructor(_0x12155c,_0x456e00={}){const _0x373156=_0x1888f6;super(_0x12155c),this[_0x476487]=_0x456e00['error']===void 0x0?null:_0x456e00['error'],this[_0x8f44c6]=_0x456e00['message']===void 0x0?'':_0x456e00[_0x373156(0x1d0)];}get[_0x1888f6(0x1ea)](){return this[_0x476487];}get[_0x1888f6(0x1d0)](){return this[_0x8f44c6];}}Object[_0x1888f6(0x23b)](_0x3b50ae[_0x1888f6(0x27d)],_0x1888f6(0x1ea),{'enumerable':!0x0}),Object[_0x1888f6(0x23b)](_0x3b50ae['prototype'],_0x1888f6(0x1d0),{'enumerable':!0x0});class _0x3858bc extends _0x291a64{constructor(_0x3fafa4,_0x10cd36={}){const _0x10da96=_0x1888f6;super(_0x3fafa4),this[_0x303b40]=_0x10cd36[_0x10da96(0x14b)]===void 0x0?null:_0x10cd36[_0x10da96(0x14b)];}get[_0x1888f6(0x14b)](){return this[_0x303b40];}}Object[_0x1888f6(0x23b)](_0x3858bc[_0x1888f6(0x27d)],_0x1888f6(0x14b),{'enumerable':!0x0}),xe={'CloseEvent':_0x266193,'ErrorEvent':_0x3b50ae,'Event':_0x291a64,'EventTarget':{'addEventListener'(_0x1bb408,_0x4bb4ff,_0x96429={}){const _0x55ddf1=_0x1888f6;for(const _0x489287 of this['listeners'](_0x1bb408))if(!_0x96429[_0x5e7d5c]&&_0x489287[_0x34adc8]===_0x4bb4ff&&!_0x489287[_0x5e7d5c])return;let _0x213c93;if(_0x1bb408===_0x55ddf1(0x1d0))_0x213c93=function(_0x248530,_0x2c051a){const _0x8a810d=_0x55ddf1,_0x1914bb=new _0x3858bc(_0x8a810d(0x1d0),{'data':_0x2c051a?_0x248530:_0x248530[_0x8a810d(0x270)]()});_0x1914bb[_0x5c8dbc]=this,_0x38aed1(_0x4bb4ff,this,_0x1914bb);};else{if(_0x1bb408==='close')_0x213c93=function(_0x55bf28,_0x44e2b5){const _0x239979=_0x55ddf1,_0x8f2d0c=new _0x266193(_0x239979(0x20f),{'code':_0x55bf28,'reason':_0x44e2b5[_0x239979(0x270)](),'wasClean':this[_0x239979(0x234)]&&this['_closeFrameSent']});_0x8f2d0c[_0x5c8dbc]=this,_0x38aed1(_0x4bb4ff,this,_0x8f2d0c);};else{if(_0x1bb408==='error')_0x213c93=function(_0x37395f){const _0x2b1481=_0x55ddf1,_0x5618bc=new _0x3b50ae(_0x2b1481(0x1ea),{'error':_0x37395f,'message':_0x37395f['message']});_0x5618bc[_0x5c8dbc]=this,_0x38aed1(_0x4bb4ff,this,_0x5618bc);};else{if(_0x1bb408===_0x55ddf1(0x267))_0x213c93=function(){const _0x46de0c=_0x55ddf1,_0x57e362=new _0x291a64(_0x46de0c(0x267));_0x57e362[_0x5c8dbc]=this,_0x38aed1(_0x4bb4ff,this,_0x57e362);};else return;}}}_0x213c93[_0x5e7d5c]=!!_0x96429[_0x5e7d5c],_0x213c93[_0x34adc8]=_0x4bb4ff,_0x96429[_0x55ddf1(0x1e7)]?this[_0x55ddf1(0x1e7)](_0x1bb408,_0x213c93):this['on'](_0x1bb408,_0x213c93);},'removeEventListener'(_0x24e5ce,_0x1e8a24){const _0x159c7b=_0x1888f6;for(const _0x4f69c6 of this[_0x159c7b(0x19e)](_0x24e5ce))if(_0x4f69c6[_0x34adc8]===_0x1e8a24&&!_0x4f69c6[_0x5e7d5c]){this[_0x159c7b(0x1e0)](_0x24e5ce,_0x4f69c6);break;}}},'MessageEvent':_0x3858bc};function _0x38aed1(_0x5f2f86,_0x2d6a82,_0x47f6ab){const _0x7b7a21=_0x1888f6;typeof _0x5f2f86==_0x7b7a21(0x1f8)&&_0x5f2f86[_0x7b7a21(0x2a1)]?_0x5f2f86[_0x7b7a21(0x2a1)]['call'](_0x5f2f86,_0x47f6ab):_0x5f2f86[_0x7b7a21(0x2ad)](_0x2d6a82,_0x47f6ab);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x285fc5}=ne();function _0x15126f(_0x131590,_0x2c7ec0,_0x28b185){_0x131590[_0x2c7ec0]===void 0x0?_0x131590[_0x2c7ec0]=[_0x28b185]:_0x131590[_0x2c7ec0]['push'](_0x28b185);}function _0x3c19c2(_0x21db30){const _0x334aab=_0x49ee,_0x1e0325=Object[_0x334aab(0x225)](null);let _0x1eeb28=Object[_0x334aab(0x225)](null),_0x90702c=!0x1,_0xfc4e8f=!0x1,_0x2adcb4=!0x1,_0xa756fe,_0x1a4b4c,_0x25f6cc=-0x1,_0x16a061=-0x1,_0x4ec70f=-0x1,_0x2876ec=0x0;for(;_0x2876ec<_0x21db30['length'];_0x2876ec++)if(_0x16a061=_0x21db30[_0x334aab(0x261)](_0x2876ec),_0xa756fe===void 0x0){if(_0x4ec70f===-0x1&&_0x285fc5[_0x16a061]===0x1)_0x25f6cc===-0x1&&(_0x25f6cc=_0x2876ec);else{if(_0x2876ec!==0x0&&(_0x16a061===0x20||_0x16a061===0x9))_0x4ec70f===-0x1&&_0x25f6cc!==-0x1&&(_0x4ec70f=_0x2876ec);else{if(_0x16a061===0x3b||_0x16a061===0x2c){if(_0x25f6cc===-0x1)throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec);const _0x1fea49=_0x21db30[_0x334aab(0x152)](_0x25f6cc,_0x4ec70f);_0x16a061===0x2c?(_0x15126f(_0x1e0325,_0x1fea49,_0x1eeb28),_0x1eeb28=Object[_0x334aab(0x225)](null)):_0xa756fe=_0x1fea49,_0x25f6cc=_0x4ec70f=-0x1;}else throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);}}}else{if(_0x1a4b4c===void 0x0){if(_0x4ec70f===-0x1&&_0x285fc5[_0x16a061]===0x1)_0x25f6cc===-0x1&&(_0x25f6cc=_0x2876ec);else{if(_0x16a061===0x20||_0x16a061===0x9)_0x4ec70f===-0x1&&_0x25f6cc!==-0x1&&(_0x4ec70f=_0x2876ec);else{if(_0x16a061===0x3b||_0x16a061===0x2c){if(_0x25f6cc===-0x1)throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec),_0x15126f(_0x1eeb28,_0x21db30['slice'](_0x25f6cc,_0x4ec70f),!0x0),_0x16a061===0x2c&&(_0x15126f(_0x1e0325,_0xa756fe,_0x1eeb28),_0x1eeb28=Object[_0x334aab(0x225)](null),_0xa756fe=void 0x0),_0x25f6cc=_0x4ec70f=-0x1;}else{if(_0x16a061===0x3d&&_0x25f6cc!==-0x1&&_0x4ec70f===-0x1)_0x1a4b4c=_0x21db30['slice'](_0x25f6cc,_0x2876ec),_0x25f6cc=_0x4ec70f=-0x1;else throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);}}}}else{if(_0xfc4e8f){if(_0x285fc5[_0x16a061]!==0x1)throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);_0x25f6cc===-0x1?_0x25f6cc=_0x2876ec:_0x90702c||(_0x90702c=!0x0),_0xfc4e8f=!0x1;}else{if(_0x2adcb4){if(_0x285fc5[_0x16a061]===0x1)_0x25f6cc===-0x1&&(_0x25f6cc=_0x2876ec);else{if(_0x16a061===0x22&&_0x25f6cc!==-0x1)_0x2adcb4=!0x1,_0x4ec70f=_0x2876ec;else{if(_0x16a061===0x5c)_0xfc4e8f=!0x0;else throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);}}}else{if(_0x16a061===0x22&&_0x21db30[_0x334aab(0x261)](_0x2876ec-0x1)===0x3d)_0x2adcb4=!0x0;else{if(_0x4ec70f===-0x1&&_0x285fc5[_0x16a061]===0x1)_0x25f6cc===-0x1&&(_0x25f6cc=_0x2876ec);else{if(_0x25f6cc!==-0x1&&(_0x16a061===0x20||_0x16a061===0x9))_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec);else{if(_0x16a061===0x3b||_0x16a061===0x2c){if(_0x25f6cc===-0x1)throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec);let _0x113968=_0x21db30[_0x334aab(0x152)](_0x25f6cc,_0x4ec70f);_0x90702c&&(_0x113968=_0x113968[_0x334aab(0x193)](/\\/g,''),_0x90702c=!0x1),_0x15126f(_0x1eeb28,_0x1a4b4c,_0x113968),_0x16a061===0x2c&&(_0x15126f(_0x1e0325,_0xa756fe,_0x1eeb28),_0x1eeb28=Object['create'](null),_0xa756fe=void 0x0),_0x1a4b4c=void 0x0,_0x25f6cc=_0x4ec70f=-0x1;}else throw new SyntaxError(_0x334aab(0x143)+_0x2876ec);}}}}}}}if(_0x25f6cc===-0x1||_0x2adcb4||_0x16a061===0x20||_0x16a061===0x9)throw new SyntaxError(_0x334aab(0x2bf));_0x4ec70f===-0x1&&(_0x4ec70f=_0x2876ec);const _0x184caa=_0x21db30['slice'](_0x25f6cc,_0x4ec70f);return _0xa756fe===void 0x0?_0x15126f(_0x1e0325,_0x184caa,_0x1eeb28):(_0x1a4b4c===void 0x0?_0x15126f(_0x1eeb28,_0x184caa,!0x0):_0x90702c?_0x15126f(_0x1eeb28,_0x1a4b4c,_0x184caa['replace'](/\\/g,'')):_0x15126f(_0x1eeb28,_0x1a4b4c,_0x184caa),_0x15126f(_0x1e0325,_0xa756fe,_0x1eeb28)),_0x1e0325;}function _0x37565a(_0x2bf2b9){const _0x5cfbec=_0x49ee;return Object[_0x5cfbec(0x164)](_0x2bf2b9)[_0x5cfbec(0x2aa)](_0x5c469a=>{const _0x216616=_0x5cfbec;let _0x346bb7=_0x2bf2b9[_0x5c469a];return Array[_0x216616(0x15d)](_0x346bb7)||(_0x346bb7=[_0x346bb7]),_0x346bb7['map'](_0x599c96=>[_0x5c469a][_0x216616(0x2e2)](Object[_0x216616(0x164)](_0x599c96)[_0x216616(0x2aa)](_0x2e59a6=>{const _0x716a54=_0x216616;let _0x5b3cd5=_0x599c96[_0x2e59a6];return Array[_0x716a54(0x15d)](_0x5b3cd5)||(_0x5b3cd5=[_0x5b3cd5]),_0x5b3cd5[_0x716a54(0x2aa)](_0x5de1c2=>_0x5de1c2===!0x0?_0x2e59a6:_0x2e59a6+'='+_0x5de1c2)[_0x716a54(0x139)](';\x20');}))[_0x216616(0x139)](';\x20'))[_0x216616(0x139)](',\x20');})['join'](',\x20');}return be={'format':_0x37565a,'parse':_0x3c19c2},be;}var we,st;function _0x5c46(){const _0x3c2672=['RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_destroy','createSocket','getMask','_originalHostOrSocketPath','_socket','setSocket','_closeFrameReceived','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','number','controlMessage','CONNECTING','arrayBuffer','readUInt16BE','defineProperty','write','compress','Max\x20payload\x20size\x20exceeded','WS_ERR_UNEXPECTED_MASK','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','isPaused','clientMaxWindowBits','statusCode','_maxPayload','startsWith','finished','_inflate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','WS_ERR_INVALID_UTF8','WS_ERR_INVALID_OPCODE','_url','Server\x20sent\x20no\x20subprotocol','Module','writeUInt16BE','kMessage','cleanup','toStringTag','redirect','pluginName','upgrade','next','readable','onStarting','ws+unix:','autoPong','params','toLowerCase','skipUTF8Validation','password','_readableState','haveLength','perMessageDeflate','charCodeAt','_max_window_bits','defaultPort','Sec-WebSocket-Extensions','_errorEmitted','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','open','customHeaders','_closeCode','_queue','mask','bind','hostname','Origin','_firstFragment','toString','normalizeParams','Server\x20sent\x20an\x20invalid\x20subprotocol','_shouldEmitClose','server_max_window_bits','Invalid\x20URL:\x20','handshakeTimeout','nodebuffer','constructor','\x22\x20subprotocol\x20is\x20duplicated','Cookie','split','pipe','prototype','finish','encrypted','decompress','errorEmitted','listening','verifyClient','authorization','websocket','_generateMask','onclose','socket','invalid\x20opcode\x20','buffer','readOnly','_originalSecure','sec-websocket-protocol','servername','_paused','1804746oZPRJQ','WS_ERR_UNEXPECTED_RSV_1','startLoop','protocol','_closeMessage','Invalid\x20Upgrade\x20header','sha1','rsv1','8939169YgVejt','_allowSynchronousEvents','options','serverNoContextTakeover','_compressed','then','13,\x208','pong','conclude','handleEvent','WebSocket\x20is\x20not\x20open:\x20readyState\x20','OPEN','pathname','_extensions','Connection:\x20Upgrade','type','STATUS_CODES','The\x20\x22','map','_protocol','CLOSED','call','isInteger','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Z_DEFAULT_WINDOWBITS','function','HTTP/1.1\x20101\x20Switching\x20Protocols','has','Invalid\x20Sec-WebSocket-Extensions\x20header','_writableState','ws:','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_closeFrameSent','_decompress','kData','host','client_no_context_takeover','Unexpected\x20end\x20of\x20input','ping','listen','7668150hutivd','\x22:\x20','serverMaxWindowBits','server','unexpected-response','_errored','clientTracking','sendFrame','address','value','sec-websocket-accept','_no_context_takeover','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','setTimeout','5vBlEyT','_redirects','createError','frame','consume','code','getBlobData','_loop','onerror','setHeader','pending','_skipUTF8Validation','search','_fragmented','_fragments','_bufferedAmount','href','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','concat','join','_injector','pause','_compress','parse','finishRequest','set','hash','catch','https:','Unexpected\x20character\x20at\x20index\x20','shift','forEach','getInfo','target','generateMask','alloc','The\x20URL\x27s\x20pathname\x20is\x20empty','data','registerHTTPInterceptor','send','_options','warn','protocolVersion','default','slice','Invalid\x20WebSocket\x20frame:\x20','sec-websocket-version','kWasClean','enqueue','dataMessage','\x0d\x0a\x0d\x0a','_state','Sec-WebSocket-Protocol:\x20','headers','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isArray','push','reset','reason','382MEkuzq','opcode','_registerDependencies','keys','CLOSING','format','onopen','values','apply','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','wss:','indexOf','length','handleProtocols','origin','_fin','collaboration-client-node.config','invalid\x20payload\x20length\x20','Sec-WebSocket-Protocol','drain','removeAllListeners','6719KNIYoR','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt32BE','unmask','extensionName','find','auth','dispatch','The\x20URL\x20contains\x20a\x20fragment\x20identifier','sec-websocket-key','text/html','nextTick','concurrency','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','The\x20server\x20is\x20not\x20running','getOwnPropertyDescriptor','cookie','objectMode','stream','_write','pow','accept','clientNoContextTakeover','server_no_context_takeover','isIP','RSV1\x20must\x20be\x20clear','File','_autoPong','destroyed','replace','Invalid\x20value\x20for\x20parameter\x20\x22','socketPath','Opening\x20handshake\x20has\x20timed\x20out','Sec-WebSocket-Accept:\x20','followRedirects','_removeListeners','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','client','kIsForOnEventAttribute','total-length','listeners','WebSocket','client_max_window_bits','_totalPayloadLength','_messageLength','request','_readyState','freeze','Blob','response','clients','kByteLength','needDrain','authorized','__esModule','sec-websocket-extensions','Basic\x20','createInflateRaw','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','url','shouldHandle','binary','permessage-deflate','isServer','getPayloadLength16','_req','dequeue','blob','location','91113bxLzCO','36332860vSxmqt','_closeTimer','_server','extensions','kListener','status-code','update','path','maxPayload','from','base64','allocUnsafe','destroy','createConnection','byteOffset','_threshold','_receiver','getData','abort','byteLength','message','maskBuffer','handleUpgrade','threshold','jobs','GET','wasClean','includes','bufferedAmount','test','emitClose','binaryType','_payloadLength','digest','cork','construct','removeListener','emit','fin','size','_configService','_binaryType','kRun','once','getConfig','kError','error','Upgrade','captureStackTrace','dispose','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','completeUpgrade','noServer','endEmitted','getPayloadLength64','acceptAsClient','_masked','hasOwnProperty','_isServer','arraybuffer','object','Sec-WebSocket-Extensions:\x20','_opcode','_mask','Parameter\x20\x22','Unknown\x20parameter\x20\x22','backlog','_bufferedBytes','_final','_deflate','add','8LcYmav','end','Invalid\x20HTTP\x20method','setNoDelay','maxRedirects','isValidUTF8','_httpService','createDeflateRaw','listenerCount','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','acceptAsServer','addEventListener','close','readyState','http:','connect','_maskBuffer','resume','callback','flush','concurrencyLimit','WS_NO_UTF_8_VALIDATE','removeEventListener','_originalIpc','port','timeout','kType','string','exports','env','3042764OfxqnJ','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','kTarget','_sender','create','isView','invalid\x20UTF-8\x20sequence','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','species','_buffers','createServer','allowSynchronousEvents'];_0x5c46=function(){return _0x3c2672;};return _0x5c46();}function Ie(){const _0x3f1a38=_0x52913d;if(st)return we;st=0x1;const _0x23edd5=_0x428a51,_0x165169=_0x377efe,_0xe08c74=_0x3eb3d0,_0x30abad=_0x110ac8,_0x18b284=_0x26f228,{randomBytes:_0x298efa,createHash:_0x3f8598}=_0x355f4b,{Duplex:_0x27bf9d,Readable:_0x2daf32}=_0x20bb13,{URL:_0x207493}=_0x13fdf1,_0x1710d7=he(),_0xc1328b=dt(),_0x456b7e=_t(),{isBlob:_0x54a037}=ne(),{BINARY_TYPES:_0x3b81bd,EMPTY_BUFFER:_0x5e548f,GUID:_0x530a28,kForOnEventAttribute:_0x973eb0,kListener:_0x2f4725,kStatusCode:_0x223c44,kWebSocket:_0x914b94,NOOP:_0x12199f}=V(),{EventTarget:{addEventListener:_0x5e5ce4,removeEventListener:_0x14f8d1}}=Kt(),{format:_0x3e366a,parse:_0xa311db}=pt(),{toBuffer:_0xf407e5}=ce(),_0x2ebd9=0x1e*0x3e8,_0x171dad=Symbol('kAborted'),_0x26d1c6=[0x8,0xd],_0x20bf35=[_0x3f1a38(0x238),_0x3f1a38(0x2a3),_0x3f1a38(0x165),_0x3f1a38(0x2ac)],_0x19b024=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x7a03a2 extends _0x23edd5{constructor(_0x359f69,_0x28b820,_0xe99d34){const _0x3e0948=_0x3f1a38;super(),this['_binaryType']=_0x3b81bd[0x0],this[_0x3e0948(0x269)]=0x3ee,this[_0x3e0948(0x234)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x3e0948(0x294)]=_0x5e548f,this[_0x3e0948(0x1bd)]=null,this[_0x3e0948(0x265)]=!0x1,this[_0x3e0948(0x2a5)]={},this[_0x3e0948(0x28f)]=!0x1,this['_protocol']='',this[_0x3e0948(0x1a4)]=_0x7a03a2[_0x3e0948(0x238)],this['_receiver']=null,this[_0x3e0948(0x224)]=null,this[_0x3e0948(0x232)]=null,_0x359f69!==null?(this[_0x3e0948(0x2df)]=0x0,this['_isServer']=!0x1,this[_0x3e0948(0x2d1)]=0x0,_0x28b820===void 0x0?_0x28b820=[]:Array[_0x3e0948(0x15d)](_0x28b820)||(typeof _0x28b820==_0x3e0948(0x1f8)&&_0x28b820!==null?(_0xe99d34=_0x28b820,_0x28b820=[]):_0x28b820=[_0x28b820]),_0x5dab06(this,_0x359f69,_0x28b820,_0xe99d34)):(this['_autoPong']=_0xe99d34[_0x3e0948(0x259)],this[_0x3e0948(0x1f6)]=!0x0);}get[_0x3f1a38(0x1db)](){const _0x60b94=_0x3f1a38;return this[_0x60b94(0x1e5)];}set[_0x3f1a38(0x1db)](_0x23d536){const _0xce0474=_0x3f1a38;_0x3b81bd[_0xce0474(0x1d7)](_0x23d536)&&(this[_0xce0474(0x1e5)]=_0x23d536,this[_0xce0474(0x1cc)]&&(this[_0xce0474(0x1cc)][_0xce0474(0x1e5)]=_0x23d536));}get[_0x3f1a38(0x1d8)](){const _0x51dbc5=_0x3f1a38;return this[_0x51dbc5(0x232)]?this[_0x51dbc5(0x232)][_0x51dbc5(0x2b7)][_0x51dbc5(0x16d)]+this['_sender'][_0x51dbc5(0x1ff)]:this['_bufferedAmount'];}get[_0x3f1a38(0x1bf)](){const _0xd6e4dc=_0x3f1a38;return Object['keys'](this[_0xd6e4dc(0x2a5)])['join']();}get[_0x3f1a38(0x241)](){const _0x5e5ec6=_0x3f1a38;return this[_0x5e5ec6(0x28f)];}get[_0x3f1a38(0x287)](){return null;}get[_0x3f1a38(0x2d8)](){return null;}get[_0x3f1a38(0x167)](){return null;}get['onmessage'](){return null;}get[_0x3f1a38(0x293)](){const _0x1540b7=_0x3f1a38;return this[_0x1540b7(0x2ab)];}get[_0x3f1a38(0x210)](){const _0x3bdf5c=_0x3f1a38;return this[_0x3bdf5c(0x1a4)];}get[_0x3f1a38(0x1b1)](){const _0x5dc950=_0x3f1a38;return this[_0x5dc950(0x24b)];}[_0x3f1a38(0x233)](_0x4bf7ad,_0x10c098,_0x10734e){const _0x32bfbe=_0x3f1a38,_0x2c5a83=new _0xc1328b({'allowSynchronousEvents':_0x10734e['allowSynchronousEvents'],'binaryType':this[_0x32bfbe(0x1db)],'extensions':this[_0x32bfbe(0x2a5)],'isServer':this[_0x32bfbe(0x1f6)],'maxPayload':_0x10734e[_0x32bfbe(0x1c4)],'skipUTF8Validation':_0x10734e[_0x32bfbe(0x25c)]}),_0x5e8d34=new _0x456b7e(_0x4bf7ad,this[_0x32bfbe(0x2a5)],_0x10734e[_0x32bfbe(0x148)]);this[_0x32bfbe(0x1cc)]=_0x2c5a83,this[_0x32bfbe(0x224)]=_0x5e8d34,this[_0x32bfbe(0x232)]=_0x4bf7ad,_0x2c5a83[_0x914b94]=this,_0x5e8d34[_0x914b94]=this,_0x4bf7ad[_0x914b94]=this,_0x2c5a83['on'](_0x32bfbe(0x2a0),_0x73d753),_0x2c5a83['on'](_0x32bfbe(0x174),_0x5bf990),_0x2c5a83['on'](_0x32bfbe(0x1ea),_0x2f2138),_0x2c5a83['on'](_0x32bfbe(0x1d0),_0x1a3fb5),_0x2c5a83['on'](_0x32bfbe(0x2c0),_0x1a5f4b),_0x2c5a83['on'](_0x32bfbe(0x29f),_0xdda882),_0x5e8d34['onerror']=_0x4bed18,_0x4bf7ad[_0x32bfbe(0x2cf)]&&_0x4bf7ad[_0x32bfbe(0x2cf)](0x0),_0x4bf7ad[_0x32bfbe(0x206)]&&_0x4bf7ad[_0x32bfbe(0x206)](),_0x10c098[_0x32bfbe(0x16d)]>0x0&&_0x4bf7ad['unshift'](_0x10c098),_0x4bf7ad['on'](_0x32bfbe(0x20f),_0x23528e),_0x4bf7ad['on'](_0x32bfbe(0x14b),_0x3b03e5),_0x4bf7ad['on'](_0x32bfbe(0x204),_0x1b88ba),_0x4bf7ad['on'](_0x32bfbe(0x1ea),_0x419bc9),this[_0x32bfbe(0x1a4)]=_0x7a03a2['OPEN'],this[_0x32bfbe(0x1e1)]('open');}[_0x3f1a38(0x1da)](){const _0x4f9dd9=_0x3f1a38;if(!this[_0x4f9dd9(0x232)]){this[_0x4f9dd9(0x1a4)]=_0x7a03a2[_0x4f9dd9(0x2ac)],this['emit']('close',this[_0x4f9dd9(0x269)],this[_0x4f9dd9(0x294)]);return;}this[_0x4f9dd9(0x2a5)][_0x1710d7['extensionName']]&&this['_extensions'][_0x1710d7[_0x4f9dd9(0x17a)]][_0x4f9dd9(0x250)](),this[_0x4f9dd9(0x1cc)][_0x4f9dd9(0x175)](),this[_0x4f9dd9(0x1a4)]=_0x7a03a2[_0x4f9dd9(0x2ac)],this[_0x4f9dd9(0x1e1)]('close',this[_0x4f9dd9(0x269)],this['_closeMessage']);}['close'](_0x17c341,_0x5a39bb){const _0x490061=_0x3f1a38;if(this[_0x490061(0x210)]!==_0x7a03a2[_0x490061(0x2ac)]){if(this[_0x490061(0x210)]===_0x7a03a2[_0x490061(0x238)]){_0x1cc35e(this,this[_0x490061(0x1b7)],_0x490061(0x235));return;}if(this[_0x490061(0x210)]===_0x7a03a2['CLOSING']){this[_0x490061(0x2ba)]&&(this[_0x490061(0x234)]||this[_0x490061(0x1cc)][_0x490061(0x2b7)]['errorEmitted'])&&this[_0x490061(0x232)][_0x490061(0x204)]();return;}this[_0x490061(0x1a4)]=_0x7a03a2['CLOSING'],this[_0x490061(0x224)][_0x490061(0x20f)](_0x17c341,_0x5a39bb,!this[_0x490061(0x1f6)],_0x1453c7=>{const _0x5b1406=_0x490061;_0x1453c7||(this[_0x5b1406(0x2ba)]=!0x0,(this[_0x5b1406(0x234)]||this[_0x5b1406(0x1cc)]['_writableState'][_0x5b1406(0x281)])&&this[_0x5b1406(0x232)]['end']());}),_0x36ab80(this);}}[_0x3f1a38(0x13b)](){const _0x49c5fb=_0x3f1a38;this[_0x49c5fb(0x210)]===_0x7a03a2[_0x49c5fb(0x238)]||this[_0x49c5fb(0x210)]===_0x7a03a2[_0x49c5fb(0x2ac)]||(this[_0x49c5fb(0x28f)]=!0x0,this[_0x49c5fb(0x232)][_0x49c5fb(0x13b)]());}[_0x3f1a38(0x2c0)](_0xede328,_0x38f2c6,_0x107214){const _0x30474f=_0x3f1a38;if(this[_0x30474f(0x210)]===_0x7a03a2['CONNECTING'])throw new Error(_0x30474f(0x2b1));if(typeof _0xede328==_0x30474f(0x2b3)?(_0x107214=_0xede328,_0xede328=_0x38f2c6=void 0x0):typeof _0x38f2c6=='function'&&(_0x107214=_0x38f2c6,_0x38f2c6=void 0x0),typeof _0xede328==_0x30474f(0x236)&&(_0xede328=_0xede328['toString']()),this['readyState']!==_0x7a03a2['OPEN']){_0x3c9b9a(this,_0xede328,_0x107214);return;}_0x38f2c6===void 0x0&&(_0x38f2c6=!this['_isServer']),this[_0x30474f(0x224)][_0x30474f(0x2c0)](_0xede328||_0x5e548f,_0x38f2c6,_0x107214);}['pong'](_0x44fc34,_0x3aac3f,_0x202f3d){const _0x221f2e=_0x3f1a38;if(this[_0x221f2e(0x210)]===_0x7a03a2[_0x221f2e(0x238)])throw new Error(_0x221f2e(0x2b1));if(typeof _0x44fc34==_0x221f2e(0x2b3)?(_0x202f3d=_0x44fc34,_0x44fc34=_0x3aac3f=void 0x0):typeof _0x3aac3f=='function'&&(_0x202f3d=_0x3aac3f,_0x3aac3f=void 0x0),typeof _0x44fc34==_0x221f2e(0x236)&&(_0x44fc34=_0x44fc34[_0x221f2e(0x270)]()),this['readyState']!==_0x7a03a2[_0x221f2e(0x2a3)]){_0x3c9b9a(this,_0x44fc34,_0x202f3d);return;}_0x3aac3f===void 0x0&&(_0x3aac3f=!this[_0x221f2e(0x1f6)]),this['_sender'][_0x221f2e(0x29f)](_0x44fc34||_0x5e548f,_0x3aac3f,_0x202f3d);}['resume'](){const _0x5a27af=_0x3f1a38;this['readyState']===_0x7a03a2[_0x5a27af(0x238)]||this[_0x5a27af(0x210)]===_0x7a03a2[_0x5a27af(0x2ac)]||(this[_0x5a27af(0x28f)]=!0x1,this[_0x5a27af(0x1cc)][_0x5a27af(0x2b7)][_0x5a27af(0x1aa)]||this[_0x5a27af(0x232)][_0x5a27af(0x214)]());}[_0x3f1a38(0x14d)](_0x4b84b9,_0x518385,_0x37cd81){const _0x461e6a=_0x3f1a38;if(this[_0x461e6a(0x210)]===_0x7a03a2[_0x461e6a(0x238)])throw new Error(_0x461e6a(0x2b1));if(typeof _0x518385==_0x461e6a(0x2b3)&&(_0x37cd81=_0x518385,_0x518385={}),typeof _0x4b84b9==_0x461e6a(0x236)&&(_0x4b84b9=_0x4b84b9[_0x461e6a(0x270)]()),this[_0x461e6a(0x210)]!==_0x7a03a2['OPEN']){_0x3c9b9a(this,_0x4b84b9,_0x37cd81);return;}const _0x5d3fd9={'binary':typeof _0x4b84b9!=_0x461e6a(0x21e),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x518385};this[_0x461e6a(0x2a5)][_0x1710d7[_0x461e6a(0x17a)]]||(_0x5d3fd9[_0x461e6a(0x23d)]=!0x1),this[_0x461e6a(0x224)][_0x461e6a(0x14d)](_0x4b84b9||_0x5e548f,_0x5d3fd9,_0x37cd81);}['terminate'](){const _0x3c90ea=_0x3f1a38;if(this['readyState']!==_0x7a03a2['CLOSED']){if(this['readyState']===_0x7a03a2[_0x3c90ea(0x238)]){_0x1cc35e(this,this['_req'],_0x3c90ea(0x235));return;}this[_0x3c90ea(0x232)]&&(this['_readyState']=_0x7a03a2[_0x3c90ea(0x165)],this[_0x3c90ea(0x232)][_0x3c90ea(0x1c8)]());}}}Object[_0x3f1a38(0x23b)](_0x7a03a2,_0x3f1a38(0x238),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)](_0x3f1a38(0x238))}),Object[_0x3f1a38(0x23b)](_0x7a03a2[_0x3f1a38(0x27d)],_0x3f1a38(0x238),{'enumerable':!0x0,'value':_0x20bf35['indexOf'](_0x3f1a38(0x238))}),Object[_0x3f1a38(0x23b)](_0x7a03a2,_0x3f1a38(0x2a3),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)](_0x3f1a38(0x2a3))}),Object['defineProperty'](_0x7a03a2[_0x3f1a38(0x27d)],_0x3f1a38(0x2a3),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)](_0x3f1a38(0x2a3))}),Object[_0x3f1a38(0x23b)](_0x7a03a2,'CLOSING',{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)]('CLOSING')}),Object[_0x3f1a38(0x23b)](_0x7a03a2['prototype'],_0x3f1a38(0x165),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)](_0x3f1a38(0x165))}),Object[_0x3f1a38(0x23b)](_0x7a03a2,_0x3f1a38(0x2ac),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)]('CLOSED')}),Object[_0x3f1a38(0x23b)](_0x7a03a2[_0x3f1a38(0x27d)],_0x3f1a38(0x2ac),{'enumerable':!0x0,'value':_0x20bf35[_0x3f1a38(0x16c)]('CLOSED')}),[_0x3f1a38(0x1db),_0x3f1a38(0x1d8),'extensions',_0x3f1a38(0x241),_0x3f1a38(0x293),'readyState',_0x3f1a38(0x1b1)][_0x3f1a38(0x145)](_0x225424=>{const _0x5d11a7=_0x3f1a38;Object['defineProperty'](_0x7a03a2[_0x5d11a7(0x27d)],_0x225424,{'enumerable':!0x0});}),['open',_0x3f1a38(0x1ea),_0x3f1a38(0x20f),'message'][_0x3f1a38(0x145)](_0x2ef920=>{const _0x2bdfa0=_0x3f1a38;Object[_0x2bdfa0(0x23b)](_0x7a03a2[_0x2bdfa0(0x27d)],'on'+_0x2ef920,{'enumerable':!0x0,'get'(){for(const _0x1cc8c6 of this['listeners'](_0x2ef920))if(_0x1cc8c6[_0x973eb0])return _0x1cc8c6[_0x2f4725];return null;},'set'(_0x10a111){const _0x308b76=_0x2bdfa0;for(const _0xdf0fe1 of this[_0x308b76(0x19e)](_0x2ef920))if(_0xdf0fe1[_0x973eb0]){this[_0x308b76(0x1e0)](_0x2ef920,_0xdf0fe1);break;}typeof _0x10a111==_0x308b76(0x2b3)&&this['addEventListener'](_0x2ef920,_0x10a111,{[_0x973eb0]:!0x0});}});}),_0x7a03a2['prototype'][_0x3f1a38(0x20e)]=_0x5e5ce4,_0x7a03a2[_0x3f1a38(0x27d)]['removeEventListener']=_0x14f8d1,we=_0x7a03a2;function _0x5dab06(_0x283959,_0x2cd6fb,_0x592b69,_0x1dcfd5){const _0x83e017=_0x3f1a38,_0x297258={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x26d1c6[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1dcfd5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x83e017(0x1d5),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x283959[_0x83e017(0x191)]=_0x297258[_0x83e017(0x259)],!_0x26d1c6[_0x83e017(0x1d7)](_0x297258[_0x83e017(0x150)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x297258[_0x83e017(0x150)]+'\x20(supported\x20versions:\x20'+_0x26d1c6[_0x83e017(0x139)](',\x20')+')');let _0x3cc669;if(_0x2cd6fb instanceof _0x207493)_0x3cc669=_0x2cd6fb;else try{_0x3cc669=new _0x207493(_0x2cd6fb);}catch{throw new SyntaxError(_0x83e017(0x275)+_0x2cd6fb);}_0x3cc669['protocol']===_0x83e017(0x211)?_0x3cc669[_0x83e017(0x293)]=_0x83e017(0x2b8):_0x3cc669[_0x83e017(0x293)]===_0x83e017(0x142)&&(_0x3cc669['protocol']=_0x83e017(0x16b)),_0x283959[_0x83e017(0x24b)]=_0x3cc669[_0x83e017(0x2e0)];const _0x508545=_0x3cc669['protocol']===_0x83e017(0x16b),_0x3e4fb1=_0x3cc669[_0x83e017(0x293)]===_0x83e017(0x258);let _0x461ae6;if(_0x3cc669['protocol']!==_0x83e017(0x2b8)&&!_0x508545&&!_0x3e4fb1?_0x461ae6='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':_0x3e4fb1&&!_0x3cc669[_0x83e017(0x2a4)]?_0x461ae6=_0x83e017(0x14a):_0x3cc669[_0x83e017(0x140)]&&(_0x461ae6=_0x83e017(0x17e)),_0x461ae6){const _0x45fee1=new SyntaxError(_0x461ae6);if(_0x283959[_0x83e017(0x2d1)]===0x0)throw _0x45fee1;_0x42c001(_0x283959,_0x45fee1);return;}const _0x40f092=_0x508545?0x1bb:0x50,_0x1ac2d0=_0x298efa(0x10)['toString'](_0x83e017(0x1c6)),_0x535738=_0x508545?_0x165169['request']:_0xe08c74[_0x83e017(0x1a3)],_0x5840c9=new Set();let _0x1b50bc;if(_0x297258['createConnection']=_0x297258[_0x83e017(0x1c9)]||(_0x508545?_0x24a0cd:_0x55fd3f),_0x297258[_0x83e017(0x263)]=_0x297258['defaultPort']||_0x40f092,_0x297258[_0x83e017(0x21b)]=_0x3cc669['port']||_0x40f092,_0x297258[_0x83e017(0x2bd)]=_0x3cc669['hostname'][_0x83e017(0x245)]('[')?_0x3cc669[_0x83e017(0x26d)][_0x83e017(0x152)](0x1,-0x1):_0x3cc669['hostname'],_0x297258['headers']={..._0x297258[_0x83e017(0x15b)],'Sec-WebSocket-Version':_0x297258[_0x83e017(0x150)],'Sec-WebSocket-Key':_0x1ac2d0,'Connection':_0x83e017(0x1eb),'Upgrade':'websocket'},_0x297258['path']=_0x3cc669[_0x83e017(0x2a4)]+_0x3cc669[_0x83e017(0x2dc)],_0x297258['timeout']=_0x297258[_0x83e017(0x276)],_0x297258[_0x83e017(0x260)]&&(_0x1b50bc=new _0x1710d7(_0x297258[_0x83e017(0x260)]!==!0x0?_0x297258[_0x83e017(0x260)]:{},!0x1,_0x297258[_0x83e017(0x1c4)]),_0x297258['headers'][_0x83e017(0x264)]=_0x3e366a({[_0x1710d7[_0x83e017(0x17a)]]:_0x1b50bc['offer']()})),_0x592b69[_0x83e017(0x16d)]){for(const _0x32c87e of _0x592b69){if(typeof _0x32c87e!=_0x83e017(0x21e)||!_0x19b024[_0x83e017(0x1d9)](_0x32c87e)||_0x5840c9[_0x83e017(0x2b5)](_0x32c87e))throw new SyntaxError(_0x83e017(0x2e1));_0x5840c9[_0x83e017(0x202)](_0x32c87e);}_0x297258[_0x83e017(0x15b)][_0x83e017(0x173)]=_0x592b69['join'](',');}if(_0x297258['origin']&&(_0x297258['protocolVersion']<0xd?_0x297258[_0x83e017(0x15b)]['Sec-WebSocket-Origin']=_0x297258[_0x83e017(0x16f)]:_0x297258[_0x83e017(0x15b)][_0x83e017(0x26e)]=_0x297258['origin']),(_0x3cc669['username']||_0x3cc669[_0x83e017(0x25d)])&&(_0x297258['auth']=_0x3cc669['username']+':'+_0x3cc669[_0x83e017(0x25d)]),_0x3e4fb1){const _0x354abe=_0x297258['path'][_0x83e017(0x27b)](':');_0x297258[_0x83e017(0x195)]=_0x354abe[0x0],_0x297258[_0x83e017(0x1c3)]=_0x354abe[0x1];}let _0x64e05a;if(_0x297258[_0x83e017(0x198)]){if(_0x283959['_redirects']===0x0){_0x283959[_0x83e017(0x21a)]=_0x3e4fb1,_0x283959[_0x83e017(0x28c)]=_0x508545,_0x283959['_originalHostOrSocketPath']=_0x3e4fb1?_0x297258[_0x83e017(0x195)]:_0x3cc669['host'];const _0x28415d=_0x1dcfd5&&_0x1dcfd5[_0x83e017(0x15b)];if(_0x1dcfd5={..._0x1dcfd5,'headers':{}},_0x28415d){for(const [_0x5bdfb3,_0x274001]of Object['entries'](_0x28415d))_0x1dcfd5[_0x83e017(0x15b)][_0x5bdfb3[_0x83e017(0x25b)]()]=_0x274001;}}else{if(_0x283959[_0x83e017(0x20b)]('redirect')===0x0){const _0x485a50=_0x3e4fb1?_0x283959[_0x83e017(0x21a)]?_0x297258[_0x83e017(0x195)]===_0x283959[_0x83e017(0x231)]:!0x1:_0x283959['_originalIpc']?!0x1:_0x3cc669[_0x83e017(0x2bd)]===_0x283959[_0x83e017(0x231)];(!_0x485a50||_0x283959[_0x83e017(0x28c)]&&!_0x508545)&&(delete _0x297258[_0x83e017(0x15b)]['authorization'],delete _0x297258[_0x83e017(0x15b)][_0x83e017(0x186)],_0x485a50||delete _0x297258[_0x83e017(0x15b)]['host'],_0x297258[_0x83e017(0x17c)]=void 0x0);}}_0x297258[_0x83e017(0x17c)]&&!_0x1dcfd5[_0x83e017(0x15b)][_0x83e017(0x284)]&&(_0x1dcfd5['headers'][_0x83e017(0x284)]=_0x83e017(0x1ae)+Buffer['from'](_0x297258['auth'])[_0x83e017(0x270)]('base64')),_0x64e05a=_0x283959[_0x83e017(0x1b7)]=_0x535738(_0x297258),_0x283959[_0x83e017(0x2d1)]&&_0x283959[_0x83e017(0x1e1)](_0x83e017(0x252),_0x283959[_0x83e017(0x1b1)],_0x64e05a);}else _0x64e05a=_0x283959[_0x83e017(0x1b7)]=_0x535738(_0x297258);_0x297258[_0x83e017(0x21c)]&&_0x64e05a['on']('timeout',()=>{const _0x4bccdd=_0x83e017;_0x1cc35e(_0x283959,_0x64e05a,_0x4bccdd(0x196));}),_0x64e05a['on'](_0x83e017(0x1ea),_0x1c8d9c=>{_0x64e05a===null||_0x64e05a[_0x171dad]||(_0x64e05a=_0x283959['_req']=null,_0x42c001(_0x283959,_0x1c8d9c));}),_0x64e05a['on'](_0x83e017(0x1a7),_0x5341b7=>{const _0x396216=_0x83e017,_0x841f82=_0x5341b7['headers'][_0x396216(0x1ba)],_0x137d90=_0x5341b7[_0x396216(0x243)];if(_0x841f82&&_0x297258[_0x396216(0x198)]&&_0x137d90>=0x12c&&_0x137d90<0x190){if(++_0x283959[_0x396216(0x2d1)]>_0x297258[_0x396216(0x207)]){_0x1cc35e(_0x283959,_0x64e05a,'Maximum\x20redirects\x20exceeded');return;}_0x64e05a[_0x396216(0x1ce)]();let _0x3cbea3;try{_0x3cbea3=new _0x207493(_0x841f82,_0x2cd6fb);}catch{const _0x5a3b18=new SyntaxError('Invalid\x20URL:\x20'+_0x841f82);_0x42c001(_0x283959,_0x5a3b18);return;}_0x5dab06(_0x283959,_0x3cbea3,_0x592b69,_0x1dcfd5);}else _0x283959[_0x396216(0x1e1)](_0x396216(0x2c6),_0x64e05a,_0x5341b7)||_0x1cc35e(_0x283959,_0x64e05a,'Unexpected\x20server\x20response:\x20'+_0x5341b7[_0x396216(0x243)]);}),_0x64e05a['on'](_0x83e017(0x254),(_0x61eae8,_0x5befb4,_0x3c0659)=>{const _0x1049b1=_0x83e017;if(_0x283959[_0x1049b1(0x1e1)](_0x1049b1(0x254),_0x61eae8),_0x283959['readyState']!==_0x7a03a2[_0x1049b1(0x238)])return;_0x64e05a=_0x283959[_0x1049b1(0x1b7)]=null;const _0x29597c=_0x61eae8[_0x1049b1(0x15b)]['upgrade'];if(_0x29597c===void 0x0||_0x29597c[_0x1049b1(0x25b)]()!=='websocket'){_0x1cc35e(_0x283959,_0x5befb4,_0x1049b1(0x295));return;}const _0x4d1a7d=_0x3f8598(_0x1049b1(0x296))[_0x1049b1(0x1c2)](_0x1ac2d0+_0x530a28)[_0x1049b1(0x1dd)](_0x1049b1(0x1c6));if(_0x61eae8['headers'][_0x1049b1(0x2cc)]!==_0x4d1a7d){_0x1cc35e(_0x283959,_0x5befb4,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3797f2=_0x61eae8[_0x1049b1(0x15b)][_0x1049b1(0x28d)];let _0x2d3046;if(_0x3797f2!==void 0x0?_0x5840c9[_0x1049b1(0x1e3)]?_0x5840c9[_0x1049b1(0x2b5)](_0x3797f2)||(_0x2d3046=_0x1049b1(0x272)):_0x2d3046=_0x1049b1(0x20c):_0x5840c9[_0x1049b1(0x1e3)]&&(_0x2d3046=_0x1049b1(0x24c)),_0x2d3046){_0x1cc35e(_0x283959,_0x5befb4,_0x2d3046);return;}_0x3797f2&&(_0x283959[_0x1049b1(0x2ab)]=_0x3797f2);const _0x272b2a=_0x61eae8[_0x1049b1(0x15b)][_0x1049b1(0x1ad)];if(_0x272b2a!==void 0x0){if(!_0x1b50bc){_0x1cc35e(_0x283959,_0x5befb4,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1e040a;try{_0x1e040a=_0xa311db(_0x272b2a);}catch{_0x1cc35e(_0x283959,_0x5befb4,_0x1049b1(0x2b6));return;}const _0xfdd20c=Object[_0x1049b1(0x164)](_0x1e040a);if(_0xfdd20c[_0x1049b1(0x16d)]!==0x1||_0xfdd20c[0x0]!==_0x1710d7['extensionName']){_0x1cc35e(_0x283959,_0x5befb4,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1b50bc[_0x1049b1(0x18b)](_0x1e040a[_0x1710d7[_0x1049b1(0x17a)]]);}catch{_0x1cc35e(_0x283959,_0x5befb4,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x283959[_0x1049b1(0x2a5)][_0x1710d7[_0x1049b1(0x17a)]]=_0x1b50bc;}_0x283959[_0x1049b1(0x233)](_0x5befb4,_0x3c0659,{'allowSynchronousEvents':_0x297258[_0x1049b1(0x22c)],'generateMask':_0x297258[_0x1049b1(0x148)],'maxPayload':_0x297258['maxPayload'],'skipUTF8Validation':_0x297258[_0x1049b1(0x25c)]});}),_0x297258[_0x83e017(0x13e)]?_0x297258[_0x83e017(0x13e)](_0x64e05a,_0x283959):_0x64e05a[_0x83e017(0x204)]();}function _0x42c001(_0xee0b35,_0x561f92){const _0x11ed9d=_0x3f1a38;_0xee0b35['_readyState']=_0x7a03a2[_0x11ed9d(0x165)],_0xee0b35[_0x11ed9d(0x265)]=!0x0,_0xee0b35['emit'](_0x11ed9d(0x1ea),_0x561f92),_0xee0b35[_0x11ed9d(0x1da)]();}function _0x55fd3f(_0x392381){const _0x449bb2=_0x3f1a38;return _0x392381[_0x449bb2(0x1c3)]=_0x392381[_0x449bb2(0x195)],_0x30abad[_0x449bb2(0x212)](_0x392381);}function _0x24a0cd(_0x27f380){const _0x1e1ec6=_0x3f1a38;return _0x27f380['path']=void 0x0,!_0x27f380['servername']&&_0x27f380[_0x1e1ec6(0x28e)]!==''&&(_0x27f380[_0x1e1ec6(0x28e)]=_0x30abad[_0x1e1ec6(0x18e)](_0x27f380['host'])?'':_0x27f380['host']),_0x18b284['connect'](_0x27f380);}function _0x1cc35e(_0x16c72e,_0x1d2e59,_0x27e83d){const _0x3a7f11=_0x3f1a38;_0x16c72e[_0x3a7f11(0x1a4)]=_0x7a03a2[_0x3a7f11(0x165)];const _0x2c4c23=new Error(_0x27e83d);Error['captureStackTrace'](_0x2c4c23,_0x1cc35e),_0x1d2e59[_0x3a7f11(0x2d9)]?(_0x1d2e59[_0x171dad]=!0x0,_0x1d2e59[_0x3a7f11(0x1ce)](),_0x1d2e59[_0x3a7f11(0x288)]&&!_0x1d2e59['socket'][_0x3a7f11(0x192)]&&_0x1d2e59['socket'][_0x3a7f11(0x1c8)](),process['nextTick'](_0x42c001,_0x16c72e,_0x2c4c23)):(_0x1d2e59[_0x3a7f11(0x1c8)](_0x2c4c23),_0x1d2e59[_0x3a7f11(0x1e7)](_0x3a7f11(0x1ea),_0x16c72e[_0x3a7f11(0x1e1)]['bind'](_0x16c72e,'error')),_0x1d2e59[_0x3a7f11(0x1e7)]('close',_0x16c72e[_0x3a7f11(0x1da)][_0x3a7f11(0x26c)](_0x16c72e)));}function _0x3c9b9a(_0x56f47a,_0x50d897,_0x36c8e9){const _0x507f28=_0x3f1a38;if(_0x50d897){const _0x342e2b=_0x54a037(_0x50d897)?_0x50d897[_0x507f28(0x1e3)]:_0xf407e5(_0x50d897)['length'];_0x56f47a[_0x507f28(0x232)]?_0x56f47a[_0x507f28(0x224)][_0x507f28(0x1ff)]+=_0x342e2b:_0x56f47a[_0x507f28(0x2df)]+=_0x342e2b;}if(_0x36c8e9){const _0x2b3bef=new Error(_0x507f28(0x2a2)+_0x56f47a[_0x507f28(0x210)]+'\x20('+_0x20bf35[_0x56f47a[_0x507f28(0x210)]]+')');process[_0x507f28(0x181)](_0x36c8e9,_0x2b3bef);}}function _0x73d753(_0x3c2704,_0xc5782){const _0x216562=_0x3f1a38,_0x4c9297=this[_0x914b94];_0x4c9297[_0x216562(0x234)]=!0x0,_0x4c9297[_0x216562(0x294)]=_0xc5782,_0x4c9297[_0x216562(0x269)]=_0x3c2704,_0x4c9297['_socket'][_0x914b94]!==void 0x0&&(_0x4c9297[_0x216562(0x232)][_0x216562(0x1e0)](_0x216562(0x14b),_0x3b03e5),process['nextTick'](_0x550226,_0x4c9297[_0x216562(0x232)]),_0x3c2704===0x3ed?_0x4c9297[_0x216562(0x20f)]():_0x4c9297['close'](_0x3c2704,_0xc5782));}function _0x5bf990(){const _0x561b83=_0x3f1a38,_0x3c1f2c=this[_0x914b94];_0x3c1f2c[_0x561b83(0x241)]||_0x3c1f2c[_0x561b83(0x232)]['resume']();}function _0x2f2138(_0xf0a05e){const _0x37fa99=_0x3f1a38,_0x163929=this[_0x914b94];_0x163929[_0x37fa99(0x232)][_0x914b94]!==void 0x0&&(_0x163929['_socket']['removeListener']('data',_0x3b03e5),process[_0x37fa99(0x181)](_0x550226,_0x163929[_0x37fa99(0x232)]),_0x163929[_0x37fa99(0x20f)](_0xf0a05e[_0x223c44])),_0x163929[_0x37fa99(0x265)]||(_0x163929[_0x37fa99(0x265)]=!0x0,_0x163929[_0x37fa99(0x1e1)](_0x37fa99(0x1ea),_0xf0a05e));}function _0x3e5535(){this[_0x914b94]['emitClose']();}function _0x1a3fb5(_0x478093,_0x1fa0bc){const _0x2b812b=_0x3f1a38;this[_0x914b94]['emit'](_0x2b812b(0x1d0),_0x478093,_0x1fa0bc);}function _0x1a5f4b(_0x290454){const _0xd1ee9e=_0x3f1a38,_0x2b3957=this[_0x914b94];_0x2b3957[_0xd1ee9e(0x191)]&&_0x2b3957[_0xd1ee9e(0x29f)](_0x290454,!this[_0xd1ee9e(0x1f6)],_0x12199f),_0x2b3957['emit'](_0xd1ee9e(0x2c0),_0x290454);}function _0xdda882(_0x2db74c){const _0x289c86=_0x3f1a38;this[_0x914b94][_0x289c86(0x1e1)](_0x289c86(0x29f),_0x2db74c);}function _0x550226(_0x30c58f){const _0x271f9e=_0x3f1a38;_0x30c58f[_0x271f9e(0x214)]();}function _0x4bed18(_0x564f4a){const _0x4fcd61=_0x3f1a38,_0x15ad8a=this[_0x914b94];_0x15ad8a[_0x4fcd61(0x210)]!==_0x7a03a2[_0x4fcd61(0x2ac)]&&(_0x15ad8a[_0x4fcd61(0x210)]===_0x7a03a2['OPEN']&&(_0x15ad8a[_0x4fcd61(0x1a4)]=_0x7a03a2[_0x4fcd61(0x165)],_0x36ab80(_0x15ad8a)),this[_0x4fcd61(0x232)][_0x4fcd61(0x204)](),_0x15ad8a['_errorEmitted']||(_0x15ad8a[_0x4fcd61(0x265)]=!0x0,_0x15ad8a[_0x4fcd61(0x1e1)](_0x4fcd61(0x1ea),_0x564f4a)));}function _0x36ab80(_0xc37b79){const _0xdd158e=_0x3f1a38;_0xc37b79['_closeTimer']=setTimeout(_0xc37b79[_0xdd158e(0x232)][_0xdd158e(0x1c8)]['bind'](_0xc37b79[_0xdd158e(0x232)]),_0x2ebd9);}function _0x23528e(){const _0x49cf85=_0x3f1a38,_0x13f34d=this[_0x914b94];this[_0x49cf85(0x1e0)](_0x49cf85(0x20f),_0x23528e),this[_0x49cf85(0x1e0)](_0x49cf85(0x14b),_0x3b03e5),this[_0x49cf85(0x1e0)]('end',_0x1b88ba),_0x13f34d[_0x49cf85(0x1a4)]=_0x7a03a2[_0x49cf85(0x165)];let _0x19b9f3;!this[_0x49cf85(0x25e)][_0x49cf85(0x1f1)]&&!_0x13f34d[_0x49cf85(0x234)]&&!_0x13f34d['_receiver'][_0x49cf85(0x2b7)]['errorEmitted']&&(_0x19b9f3=_0x13f34d[_0x49cf85(0x232)]['read']())!==null&&_0x13f34d[_0x49cf85(0x1cc)][_0x49cf85(0x23c)](_0x19b9f3),_0x13f34d[_0x49cf85(0x1cc)][_0x49cf85(0x204)](),this[_0x914b94]=void 0x0,clearTimeout(_0x13f34d['_closeTimer']),_0x13f34d['_receiver']['_writableState'][_0x49cf85(0x246)]||_0x13f34d[_0x49cf85(0x1cc)]['_writableState'][_0x49cf85(0x281)]?_0x13f34d[_0x49cf85(0x1da)]():(_0x13f34d[_0x49cf85(0x1cc)]['on'](_0x49cf85(0x1ea),_0x3e5535),_0x13f34d[_0x49cf85(0x1cc)]['on'](_0x49cf85(0x27e),_0x3e5535));}function _0x3b03e5(_0x28e492){const _0x5e71d6=_0x3f1a38;this[_0x914b94][_0x5e71d6(0x1cc)]['write'](_0x28e492)||this[_0x5e71d6(0x13b)]();}function _0x1b88ba(){const _0x4d40cf=_0x3f1a38,_0xc6fca0=this[_0x914b94];_0xc6fca0[_0x4d40cf(0x1a4)]=_0x7a03a2['CLOSING'],_0xc6fca0[_0x4d40cf(0x1cc)][_0x4d40cf(0x204)](),this[_0x4d40cf(0x204)]();}function _0x419bc9(){const _0x32d582=_0x3f1a38,_0x379a27=this[_0x914b94];this[_0x32d582(0x1e0)]('error',_0x419bc9),this['on'](_0x32d582(0x1ea),_0x12199f),_0x379a27&&(_0x379a27['_readyState']=_0x7a03a2[_0x32d582(0x165)],this[_0x32d582(0x1c8)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x288e1d}=_0x20bb13;function _0x338fe9(_0x2ccabd){const _0x39da84=_0x49ee;_0x2ccabd[_0x39da84(0x1e1)](_0x39da84(0x20f));}function _0x256ee6(){const _0x1308a2=_0x49ee;!this[_0x1308a2(0x192)]&&this['_writableState'][_0x1308a2(0x246)]&&this[_0x1308a2(0x1c8)]();}function _0x5be648(_0x5c6456){const _0x518aae=_0x49ee;this[_0x518aae(0x1e0)](_0x518aae(0x1ea),_0x5be648),this[_0x518aae(0x1c8)](),this[_0x518aae(0x20b)](_0x518aae(0x1ea))===0x0&&this[_0x518aae(0x1e1)]('error',_0x5c6456);}function _0x2d60ac(_0x3435e1,_0x2ecfdf){const _0x5cb8df=_0x49ee;let _0x448b04=!0x0;const _0x177c6d=new _0x288e1d({..._0x2ecfdf,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3435e1['on'](_0x5cb8df(0x1d0),function(_0x4b3fbb,_0x19743e){const _0x32f914=_0x5cb8df,_0x3e6446=!_0x19743e&&_0x177c6d[_0x32f914(0x25e)][_0x32f914(0x187)]?_0x4b3fbb[_0x32f914(0x270)]():_0x4b3fbb;_0x177c6d[_0x32f914(0x15e)](_0x3e6446)||_0x3435e1[_0x32f914(0x13b)]();}),_0x3435e1[_0x5cb8df(0x1e7)]('error',function(_0x2a65e1){const _0x41b631=_0x5cb8df;_0x177c6d[_0x41b631(0x192)]||(_0x448b04=!0x1,_0x177c6d[_0x41b631(0x1c8)](_0x2a65e1));}),_0x3435e1['once']('close',function(){const _0x2882a1=_0x5cb8df;_0x177c6d[_0x2882a1(0x192)]||_0x177c6d[_0x2882a1(0x15e)](null);}),_0x177c6d[_0x5cb8df(0x22e)]=function(_0x30e3de,_0x3d2b8e){const _0x162b89=_0x5cb8df;if(_0x3435e1[_0x162b89(0x210)]===_0x3435e1[_0x162b89(0x2ac)]){_0x3d2b8e(_0x30e3de),process[_0x162b89(0x181)](_0x338fe9,_0x177c6d);return;}let _0x1a31de=!0x1;_0x3435e1['once'](_0x162b89(0x1ea),function(_0x33e454){_0x1a31de=!0x0,_0x3d2b8e(_0x33e454);}),_0x3435e1[_0x162b89(0x1e7)](_0x162b89(0x20f),function(){_0x1a31de||_0x3d2b8e(_0x30e3de),process['nextTick'](_0x338fe9,_0x177c6d);}),_0x448b04&&_0x3435e1['terminate']();},_0x177c6d[_0x5cb8df(0x200)]=function(_0x26fcfb){const _0x5cf2e7=_0x5cb8df;if(_0x3435e1[_0x5cf2e7(0x210)]===_0x3435e1[_0x5cf2e7(0x238)]){_0x3435e1[_0x5cf2e7(0x1e7)](_0x5cf2e7(0x267),function(){const _0x4153c8=_0x5cf2e7;_0x177c6d[_0x4153c8(0x200)](_0x26fcfb);});return;}_0x3435e1[_0x5cf2e7(0x232)]!==null&&(_0x3435e1[_0x5cf2e7(0x232)][_0x5cf2e7(0x2b7)]['finished']?(_0x26fcfb(),_0x177c6d[_0x5cf2e7(0x25e)]['endEmitted']&&_0x177c6d[_0x5cf2e7(0x1c8)]()):(_0x3435e1[_0x5cf2e7(0x232)][_0x5cf2e7(0x1e7)](_0x5cf2e7(0x27e),function(){_0x26fcfb();}),_0x3435e1['close']()));},_0x177c6d['_read']=function(){const _0x3ba175=_0x5cb8df;_0x3435e1[_0x3ba175(0x241)]&&_0x3435e1[_0x3ba175(0x214)]();},_0x177c6d[_0x5cb8df(0x189)]=function(_0x7c643a,_0x2abdff,_0x54b4b0){const _0x552aaa=_0x5cb8df;if(_0x3435e1['readyState']===_0x3435e1[_0x552aaa(0x238)]){_0x3435e1[_0x552aaa(0x1e7)](_0x552aaa(0x267),function(){_0x177c6d['_write'](_0x7c643a,_0x2abdff,_0x54b4b0);});return;}_0x3435e1[_0x552aaa(0x14d)](_0x7c643a,_0x54b4b0);},_0x177c6d['on'](_0x5cb8df(0x204),_0x256ee6),_0x177c6d['on'](_0x5cb8df(0x1ea),_0x5be648),_0x177c6d;}return Oe=_0x2d60ac,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2ceaf4}=ne();function _0x214783(_0x56a6f8){const _0x1a5ed6=_0x49ee,_0x300053=new Set();let _0x3aac4f=-0x1,_0x5eaf5b=-0x1,_0x3b7caa=0x0;for(_0x3b7caa;_0x3b7caa<_0x56a6f8[_0x1a5ed6(0x16d)];_0x3b7caa++){const _0x2ab71f=_0x56a6f8[_0x1a5ed6(0x261)](_0x3b7caa);if(_0x5eaf5b===-0x1&&_0x2ceaf4[_0x2ab71f]===0x1)_0x3aac4f===-0x1&&(_0x3aac4f=_0x3b7caa);else{if(_0x3b7caa!==0x0&&(_0x2ab71f===0x20||_0x2ab71f===0x9))_0x5eaf5b===-0x1&&_0x3aac4f!==-0x1&&(_0x5eaf5b=_0x3b7caa);else{if(_0x2ab71f===0x2c){if(_0x3aac4f===-0x1)throw new SyntaxError(_0x1a5ed6(0x143)+_0x3b7caa);_0x5eaf5b===-0x1&&(_0x5eaf5b=_0x3b7caa);const _0x5cdb4c=_0x56a6f8[_0x1a5ed6(0x152)](_0x3aac4f,_0x5eaf5b);if(_0x300053['has'](_0x5cdb4c))throw new SyntaxError('The\x20\x22'+_0x5cdb4c+_0x1a5ed6(0x279));_0x300053[_0x1a5ed6(0x202)](_0x5cdb4c),_0x3aac4f=_0x5eaf5b=-0x1;}else throw new SyntaxError(_0x1a5ed6(0x143)+_0x3b7caa);}}}if(_0x3aac4f===-0x1||_0x5eaf5b!==-0x1)throw new SyntaxError(_0x1a5ed6(0x2bf));const _0x49b65d=_0x56a6f8['slice'](_0x3aac4f,_0x3b7caa);if(_0x300053[_0x1a5ed6(0x2b5)](_0x49b65d))throw new SyntaxError(_0x1a5ed6(0x2a9)+_0x49b65d+_0x1a5ed6(0x279));return _0x300053[_0x1a5ed6(0x202)](_0x49b65d),_0x300053;}return Ce={'parse':_0x214783},Ce;}var Te,ot;function er(){const _0x156627=_0x52913d;if(ot)return Te;ot=0x1;const _0x5989df=_0x428a51,_0x7f017b=_0x3eb3d0,{Duplex:_0x4a9631}=_0x20bb13,{createHash:_0x424970}=_0x355f4b,_0x3a46c3=pt(),_0x212389=he(),_0x52d14f=Jt(),_0x14caf3=Ie(),{GUID:_0x5e00cf,kWebSocket:_0x38add0}=V(),_0x34b706=/^[+/0-9A-Za-z]{22}==$/,_0x5e96fb=0x0,_0x203e18=0x1,_0x4a6894=0x2;class _0x331f4a extends _0x5989df{constructor(_0x4f8ce0,_0x466777){const _0x303428=_0x49ee;if(super(),_0x4f8ce0={'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':_0x14caf3,..._0x4f8ce0},_0x4f8ce0[_0x303428(0x21b)]==null&&!_0x4f8ce0[_0x303428(0x2c5)]&&!_0x4f8ce0[_0x303428(0x1f0)]||_0x4f8ce0[_0x303428(0x21b)]!=null&&(_0x4f8ce0[_0x303428(0x2c5)]||_0x4f8ce0[_0x303428(0x1f0)])||_0x4f8ce0[_0x303428(0x2c5)]&&_0x4f8ce0[_0x303428(0x1f0)])throw new TypeError(_0x303428(0x2b9));if(_0x4f8ce0[_0x303428(0x21b)]!=null?(this['_server']=_0x7f017b[_0x303428(0x22b)]((_0x10a57f,_0x4ad831)=>{const _0x1dcff0=_0x303428,_0x1b819e=_0x7f017b[_0x1dcff0(0x2a8)][0x1aa];_0x4ad831['writeHead'](0x1aa,{'Content-Length':_0x1b819e['length'],'Content-Type':'text/plain'}),_0x4ad831['end'](_0x1b819e);}),this['_server'][_0x303428(0x2c1)](_0x4f8ce0[_0x303428(0x21b)],_0x4f8ce0[_0x303428(0x2bd)],_0x4f8ce0[_0x303428(0x1fe)],_0x466777)):_0x4f8ce0[_0x303428(0x2c5)]&&(this[_0x303428(0x1be)]=_0x4f8ce0[_0x303428(0x2c5)]),this[_0x303428(0x1be)]){const _0x538473=this[_0x303428(0x1e1)][_0x303428(0x26c)](this,'connection');this[_0x303428(0x199)]=_0x2b70d7(this[_0x303428(0x1be)],{'listening':this[_0x303428(0x1e1)][_0x303428(0x26c)](this,_0x303428(0x282)),'error':this['emit'][_0x303428(0x26c)](this,_0x303428(0x1ea)),'upgrade':(_0x32f675,_0x1f596c,_0x2beb99)=>{const _0x1e5f7b=_0x303428;this[_0x1e5f7b(0x1d2)](_0x32f675,_0x1f596c,_0x2beb99,_0x538473);}});}_0x4f8ce0[_0x303428(0x260)]===!0x0&&(_0x4f8ce0['perMessageDeflate']={}),_0x4f8ce0[_0x303428(0x2c8)]&&(this[_0x303428(0x1a8)]=new Set(),this[_0x303428(0x273)]=!0x1),this[_0x303428(0x29a)]=_0x4f8ce0,this[_0x303428(0x159)]=_0x5e96fb;}[_0x156627(0x2ca)](){const _0x5b9bf0=_0x156627;if(this[_0x5b9bf0(0x29a)][_0x5b9bf0(0x1f0)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x5b9bf0(0x1be)]?this[_0x5b9bf0(0x1be)][_0x5b9bf0(0x2ca)]():null;}[_0x156627(0x20f)](_0x10ae3a){const _0x186b91=_0x156627;if(this['_state']===_0x4a6894){_0x10ae3a&&this[_0x186b91(0x1e7)](_0x186b91(0x20f),()=>{const _0x17ba96=_0x186b91;_0x10ae3a(new Error(_0x17ba96(0x184)));}),process['nextTick'](_0x34861b,this);return;}if(_0x10ae3a&&this[_0x186b91(0x1e7)](_0x186b91(0x20f),_0x10ae3a),this['_state']!==_0x203e18){if(this[_0x186b91(0x159)]=_0x203e18,this[_0x186b91(0x29a)]['noServer']||this[_0x186b91(0x29a)][_0x186b91(0x2c5)])this[_0x186b91(0x1be)]&&(this[_0x186b91(0x199)](),this[_0x186b91(0x199)]=this['_server']=null),this[_0x186b91(0x1a8)]?this[_0x186b91(0x1a8)][_0x186b91(0x1e3)]?this[_0x186b91(0x273)]=!0x0:process['nextTick'](_0x34861b,this):process[_0x186b91(0x181)](_0x34861b,this);else{const _0x36584d=this[_0x186b91(0x1be)];this['_removeListeners'](),this[_0x186b91(0x199)]=this['_server']=null,_0x36584d['close'](()=>{_0x34861b(this);});}}}['shouldHandle'](_0x57fffd){const _0x4eabdc=_0x156627;if(this[_0x4eabdc(0x29a)][_0x4eabdc(0x1c3)]){const _0x527e57=_0x57fffd[_0x4eabdc(0x1b1)]['indexOf']('?');if((_0x527e57!==-0x1?_0x57fffd[_0x4eabdc(0x1b1)]['slice'](0x0,_0x527e57):_0x57fffd[_0x4eabdc(0x1b1)])!==this[_0x4eabdc(0x29a)][_0x4eabdc(0x1c3)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3992fc,_0x1b4c3d,_0x15e07a,_0x209ff6){const _0x2b6bcf=_0x156627;_0x1b4c3d['on'](_0x2b6bcf(0x1ea),_0x11f369);const _0x4f6edc=_0x3992fc['headers'][_0x2b6bcf(0x17f)],_0x214bcf=_0x3992fc[_0x2b6bcf(0x15b)][_0x2b6bcf(0x254)],_0x161777=+_0x3992fc[_0x2b6bcf(0x15b)][_0x2b6bcf(0x154)];if(_0x3992fc['method']!==_0x2b6bcf(0x1d5)){_0x147a61(this,_0x3992fc,_0x1b4c3d,0x195,_0x2b6bcf(0x205));return;}if(_0x214bcf===void 0x0||_0x214bcf['toLowerCase']()!==_0x2b6bcf(0x285)){_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,_0x2b6bcf(0x295));return;}if(_0x4f6edc===void 0x0||!_0x34b706[_0x2b6bcf(0x1d9)](_0x4f6edc)){_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,_0x2b6bcf(0x2ce));return;}if(_0x161777!==0xd&&_0x161777!==0x8){_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x2b6bcf(0x29e)});return;}if(!this[_0x2b6bcf(0x1b2)](_0x3992fc)){_0x26e322(_0x1b4c3d,0x190);return;}const _0x1f29f5=_0x3992fc[_0x2b6bcf(0x15b)][_0x2b6bcf(0x28d)];let _0x25aaf4=new Set();if(_0x1f29f5!==void 0x0)try{_0x25aaf4=_0x52d14f[_0x2b6bcf(0x13d)](_0x1f29f5);}catch{_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x21c0e5=_0x3992fc['headers'][_0x2b6bcf(0x1ad)],_0x4889af={};if(this[_0x2b6bcf(0x29a)]['perMessageDeflate']&&_0x21c0e5!==void 0x0){const _0x13447d=new _0x212389(this['options'][_0x2b6bcf(0x260)],!0x0,this[_0x2b6bcf(0x29a)][_0x2b6bcf(0x1c4)]);try{const _0x5d3430=_0x3a46c3[_0x2b6bcf(0x13d)](_0x21c0e5);_0x5d3430[_0x212389[_0x2b6bcf(0x17a)]]&&(_0x13447d[_0x2b6bcf(0x18b)](_0x5d3430[_0x212389[_0x2b6bcf(0x17a)]]),_0x4889af[_0x212389[_0x2b6bcf(0x17a)]]=_0x13447d);}catch{_0x147a61(this,_0x3992fc,_0x1b4c3d,0x190,_0x2b6bcf(0x183));return;}}if(this['options'][_0x2b6bcf(0x283)]){const _0x144814={'origin':_0x3992fc[_0x2b6bcf(0x15b)][''+(_0x161777===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x3992fc[_0x2b6bcf(0x288)][_0x2b6bcf(0x1ab)]||_0x3992fc['socket'][_0x2b6bcf(0x27f)]),'req':_0x3992fc};if(this[_0x2b6bcf(0x29a)]['verifyClient']['length']===0x2){this['options'][_0x2b6bcf(0x283)](_0x144814,(_0x10f057,_0x21cd64,_0x135f3d,_0x2a874e)=>{const _0x261d61=_0x2b6bcf;if(!_0x10f057)return _0x26e322(_0x1b4c3d,_0x21cd64||0x191,_0x135f3d,_0x2a874e);this[_0x261d61(0x1ef)](_0x4889af,_0x4f6edc,_0x25aaf4,_0x3992fc,_0x1b4c3d,_0x15e07a,_0x209ff6);});return;}if(!this[_0x2b6bcf(0x29a)]['verifyClient'](_0x144814))return _0x26e322(_0x1b4c3d,0x191);}this['completeUpgrade'](_0x4889af,_0x4f6edc,_0x25aaf4,_0x3992fc,_0x1b4c3d,_0x15e07a,_0x209ff6);}[_0x156627(0x1ef)](_0x59919e,_0x38ac41,_0x349110,_0x32d3d2,_0x218d69,_0xd20b3e,_0x2b6306){const _0x3a1c0e=_0x156627;if(!_0x218d69[_0x3a1c0e(0x256)]||!_0x218d69['writable'])return _0x218d69['destroy']();if(_0x218d69[_0x38add0])throw new Error(_0x3a1c0e(0x2af));if(this[_0x3a1c0e(0x159)]>_0x5e96fb)return _0x26e322(_0x218d69,0x1f7);const _0x46021d=[_0x3a1c0e(0x2b4),'Upgrade:\x20websocket',_0x3a1c0e(0x2a6),_0x3a1c0e(0x197)+_0x424970('sha1')[_0x3a1c0e(0x1c2)](_0x38ac41+_0x5e00cf)[_0x3a1c0e(0x1dd)](_0x3a1c0e(0x1c6))],_0x2fa1b1=new this[(_0x3a1c0e(0x29a))][(_0x3a1c0e(0x19f))](null,void 0x0,this[_0x3a1c0e(0x29a)]);if(_0x349110['size']){const _0x5dff33=this[_0x3a1c0e(0x29a)]['handleProtocols']?this[_0x3a1c0e(0x29a)][_0x3a1c0e(0x16e)](_0x349110,_0x32d3d2):_0x349110[_0x3a1c0e(0x168)]()[_0x3a1c0e(0x255)]()[_0x3a1c0e(0x2cb)];_0x5dff33&&(_0x46021d['push'](_0x3a1c0e(0x15a)+_0x5dff33),_0x2fa1b1[_0x3a1c0e(0x2ab)]=_0x5dff33);}if(_0x59919e[_0x212389['extensionName']]){const _0x1fb1ed=_0x59919e[_0x212389[_0x3a1c0e(0x17a)]][_0x3a1c0e(0x25a)],_0x359db7=_0x3a46c3[_0x3a1c0e(0x166)]({[_0x212389[_0x3a1c0e(0x17a)]]:[_0x1fb1ed]});_0x46021d['push'](_0x3a1c0e(0x1f9)+_0x359db7),_0x2fa1b1[_0x3a1c0e(0x2a5)]=_0x59919e;}this[_0x3a1c0e(0x1e1)](_0x3a1c0e(0x15b),_0x46021d,_0x32d3d2),_0x218d69['write'](_0x46021d['concat']('\x0d\x0a')[_0x3a1c0e(0x139)]('\x0d\x0a')),_0x218d69[_0x3a1c0e(0x1e0)](_0x3a1c0e(0x1ea),_0x11f369),_0x2fa1b1[_0x3a1c0e(0x233)](_0x218d69,_0xd20b3e,{'allowSynchronousEvents':this[_0x3a1c0e(0x29a)]['allowSynchronousEvents'],'maxPayload':this[_0x3a1c0e(0x29a)][_0x3a1c0e(0x1c4)],'skipUTF8Validation':this[_0x3a1c0e(0x29a)][_0x3a1c0e(0x25c)]}),this['clients']&&(this[_0x3a1c0e(0x1a8)][_0x3a1c0e(0x202)](_0x2fa1b1),_0x2fa1b1['on'](_0x3a1c0e(0x20f),()=>{const _0x1ed129=_0x3a1c0e;this[_0x1ed129(0x1a8)]['delete'](_0x2fa1b1),this[_0x1ed129(0x273)]&&!this[_0x1ed129(0x1a8)][_0x1ed129(0x1e3)]&&process[_0x1ed129(0x181)](_0x34861b,this);})),_0x2b6306(_0x2fa1b1,_0x32d3d2);}}Te=_0x331f4a;function _0x2b70d7(_0x2a8e28,_0x18dcb8){const _0x29db55=_0x156627;for(const _0x283fd1 of Object[_0x29db55(0x164)](_0x18dcb8))_0x2a8e28['on'](_0x283fd1,_0x18dcb8[_0x283fd1]);return function(){const _0x4eadd1=_0x29db55;for(const _0x326a75 of Object['keys'](_0x18dcb8))_0x2a8e28[_0x4eadd1(0x1e0)](_0x326a75,_0x18dcb8[_0x326a75]);};}function _0x34861b(_0x130bed){const _0x3b0708=_0x156627;_0x130bed[_0x3b0708(0x159)]=_0x4a6894,_0x130bed[_0x3b0708(0x1e1)]('close');}function _0x11f369(){const _0x5c3440=_0x156627;this[_0x5c3440(0x1c8)]();}function _0x26e322(_0x26edb8,_0x42cc24,_0x2386f1,_0x2ec824){const _0x135599=_0x156627;_0x2386f1=_0x2386f1||_0x7f017b[_0x135599(0x2a8)][_0x42cc24],_0x2ec824={'Connection':_0x135599(0x20f),'Content-Type':_0x135599(0x180),'Content-Length':Buffer[_0x135599(0x1cf)](_0x2386f1),..._0x2ec824},_0x26edb8[_0x135599(0x1e7)]('finish',_0x26edb8['destroy']),_0x26edb8['end']('HTTP/1.1\x20'+_0x42cc24+'\x20'+_0x7f017b['STATUS_CODES'][_0x42cc24]+'\x0d\x0a'+Object[_0x135599(0x164)](_0x2ec824)['map'](_0x425174=>_0x425174+':\x20'+_0x2ec824[_0x425174])[_0x135599(0x139)]('\x0d\x0a')+_0x135599(0x158)+_0x2386f1);}function _0x147a61(_0x490ab8,_0x54ac50,_0x31000e,_0x221a9b,_0x5a74c7,_0x2df8e8){const _0x4f5af6=_0x156627;if(_0x490ab8[_0x4f5af6(0x20b)]('wsClientError')){const _0xf0e47=new Error(_0x5a74c7);Error[_0x4f5af6(0x1ec)](_0xf0e47,_0x147a61),_0x490ab8[_0x4f5af6(0x1e1)]('wsClientError',_0xf0e47,_0x31000e,_0x54ac50);}else _0x26e322(_0x31000e,_0x221a9b,_0x5a74c7,_0x2df8e8);}return Te;}er();var tr=Object[_0x52913d(0x185)],rr=(_0x5251f0,_0x5a0473,_0x41057f,_0x27b9fb)=>{const _0x979a5f=_0x52913d;for(var _0xd52f30=_0x27b9fb>0x1?void 0x0:_0x27b9fb?tr(_0x5a0473,_0x41057f):_0x5a0473,_0x856b3b=_0x5251f0[_0x979a5f(0x16d)]-0x1,_0x442eab;_0x856b3b>=0x0;_0x856b3b--)(_0x442eab=_0x5251f0[_0x856b3b])&&(_0xd52f30=_0x442eab(_0xd52f30)||_0xd52f30);return _0xd52f30;},sr=(_0x26660a,_0x57a780)=>(_0x4f91ad,_0x2a6da6)=>_0x57a780(_0x4f91ad,_0x2a6da6,_0x26660a);let Ne=class extends _0x27429c{constructor(_0x90a12c){const _0x4345d9=_0x52913d;super(),this[_0x4345d9(0x1e4)]=_0x90a12c;}[_0x52913d(0x22f)](_0x54919a){const _0x2290d9=_0x52913d;var _0x1a4e06;const _0x39db3a=(_0x1a4e06=this[_0x2290d9(0x1e4)][_0x2290d9(0x1e8)](Be))==null?void 0x0:_0x1a4e06[_0x2290d9(0x268)];try{const _0x47312f=new Qt(_0x54919a,{'headers':{..._0x39db3a}}),_0x36f3c0=new _0xa239aa();return{'URL':_0x54919a,'close':(_0x16581a,_0x20a1cb)=>{const _0x44fbcd=_0x2290d9;_0x47312f[_0x44fbcd(0x20f)](_0x16581a,_0x20a1cb),_0x36f3c0[_0x44fbcd(0x1ed)]();},'send':_0x1925a5=>{_0x47312f['send'](_0x1925a5);},'open$':new _0x4aeb22(_0x480843=>{const _0x2433ee=_0x2290d9,_0x58d964=_0x379a8e=>_0x480843['next'](_0x379a8e);_0x47312f[_0x2433ee(0x20e)](_0x2433ee(0x267),_0x58d964),_0x36f3c0[_0x2433ee(0x202)](_0x4cc490(()=>_0x47312f['removeEventListener'](_0x2433ee(0x267),_0x58d964)));})[_0x2290d9(0x27c)](_0x1e2c40()),'close$':new _0x4aeb22(_0x3c8d31=>{const _0x8411a8=_0x2290d9,_0x48adad=_0x49f48e=>_0x3c8d31[_0x8411a8(0x255)](_0x49f48e);_0x47312f['addEventListener'](_0x8411a8(0x20f),_0x48adad),_0x36f3c0[_0x8411a8(0x202)](_0x4cc490(()=>_0x47312f[_0x8411a8(0x219)]('close',_0x48adad)));})[_0x2290d9(0x27c)](_0x1e2c40()),'error$':new _0x4aeb22(_0x8e31f1=>{const _0x25b3c9=_0x2290d9,_0xbab89e=_0x7c48b5=>_0x8e31f1[_0x25b3c9(0x255)](_0x7c48b5);_0x47312f[_0x25b3c9(0x20e)](_0x25b3c9(0x1ea),_0xbab89e),_0x36f3c0[_0x25b3c9(0x202)](_0x4cc490(()=>_0x47312f['removeEventListener'](_0x25b3c9(0x1ea),_0xbab89e)));})['pipe'](_0x1e2c40()),'message$':new _0x4aeb22(_0x26c0f4=>{const _0x1c2c6c=_0x2290d9,_0x543809=_0x333aa8=>_0x26c0f4[_0x1c2c6c(0x255)](_0x333aa8);_0x47312f[_0x1c2c6c(0x20e)](_0x1c2c6c(0x1d0),_0x543809),_0x36f3c0['add'](_0x4cc490(()=>_0x47312f[_0x1c2c6c(0x219)](_0x1c2c6c(0x1d0),_0x543809)));})[_0x2290d9(0x27c)](_0x1e2c40())};}catch(_0x1ced0d){return console[_0x2290d9(0x1ea)](_0x1ced0d),null;}}};Ne=rr([sr(0x0,_0x5304af)],Ne);var ir=Object[_0x52913d(0x23b)],nr=Object['getOwnPropertyDescriptor'],or=(_0xaa820,_0x1f20bc,_0x4bd847)=>_0x1f20bc in _0xaa820?ir(_0xaa820,_0x1f20bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bd847}):_0xaa820[_0x1f20bc]=_0x4bd847,ar=(_0x4806bb,_0x1dba32,_0x2e0410,_0x1279c9)=>{const _0x1cbedd=_0x52913d;for(var _0x3d0bb1=_0x1279c9>0x1?void 0x0:_0x1279c9?nr(_0x1dba32,_0x2e0410):_0x1dba32,_0x3e492a=_0x4806bb[_0x1cbedd(0x16d)]-0x1,_0x5858b4;_0x3e492a>=0x0;_0x3e492a--)(_0x5858b4=_0x4806bb[_0x3e492a])&&(_0x3d0bb1=_0x5858b4(_0x3d0bb1)||_0x3d0bb1);return _0x3d0bb1;},ke=(_0x374f62,_0x27a970)=>(_0x4b773c,_0x425165)=>_0x27a970(_0x4b773c,_0x425165,_0x374f62),lr=(_0x13bbd3,_0x53866,_0x2e0ae2)=>or(_0x13bbd3,_0x53866+'',_0x2e0ae2);let Pe=class extends _0x51e44b{constructor(_0x1bd1fb=Ft,_0x4489a7,_0x27d780,_0xf73132){const _0x5379fe=_0x52913d;_0x1bd1fb[_0x5379fe(0x268)]||_0x4489a7[_0x5379fe(0x14f)](_0x5379fe(0x19a)),super(),this['_configService']=_0x27d780,this[_0x5379fe(0x13a)]=_0xf73132,this[_0x5379fe(0x1e4)]['setConfig'](Be,_0x1bd1fb);}[_0x52913d(0x257)](){this['_registerDependencies']();}[_0x52913d(0x163)](){const _0x41f2bd=_0x52913d;_0xaf8f19(this[_0x41f2bd(0x13a)],[[_0xbe44da,{'useClass':Ne}]]);}};lr(Pe,_0x52913d(0x253),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2434af(_0x3ded99),ke(0x1,_0x81bc5a),ke(0x2,_0x5304af),ke(0x3,_0x5e4e9c(_0x1bb984))],Pe);var fr=Object[_0x52913d(0x185)],cr=(_0x9714dd,_0x2c811b,_0x33e90a,_0x15ad67)=>{const _0x5b2568=_0x52913d;for(var _0x489713=_0x15ad67>0x1?void 0x0:_0x15ad67?fr(_0x2c811b,_0x33e90a):_0x2c811b,_0x29786b=_0x9714dd[_0x5b2568(0x16d)]-0x1,_0x5c6dd8;_0x29786b>=0x0;_0x29786b--)(_0x5c6dd8=_0x9714dd[_0x29786b])&&(_0x489713=_0x5c6dd8(_0x489713)||_0x489713);return _0x489713;},se=(_0x20d3cb,_0x4bbe11)=>(_0x4ffca9,_0x2f0da5)=>_0x4bbe11(_0x4ffca9,_0x2f0da5,_0x20d3cb);let at=class extends _0x1f3945{constructor(_0x5bede7,_0x46cb17,_0x580434,_0x58a747,_0x14c2f7){const _0x4ee4e6=_0x52913d;super(_0x5bede7,_0x46cb17,_0x580434,_0x58a747,_0x14c2f7);const _0x132903=this['_configService'][_0x4ee4e6(0x1e8)](Be);this[_0x4ee4e6(0x209)][_0x4ee4e6(0x14c)]({'interceptor':(_0x546b5e,_0xfd20a3)=>{const _0x1638cc=_0x4ee4e6;var _0x17fd26;const _0x57a67f=_0x546b5e[_0x1638cc(0x15b)];return(_0x17fd26=_0x132903==null?void 0x0:_0x132903[_0x1638cc(0x268)])!=null&&_0x17fd26['cookie']&&_0x57a67f[_0x1638cc(0x13f)](_0x1638cc(0x27a),_0x132903[_0x1638cc(0x268)][_0x1638cc(0x186)]),_0xfd20a3(_0x546b5e);}});}async[_0x52913d(0x22f)](_0x595703){return this['_doCreateSocket'](_0x595703);}};at=cr([se(0x0,_0x5e4e9c(_0x1bb984)),se(0x1,_0x5e4e9c(_0x5d0807)),se(0x2,_0x5304af),se(0x3,_0x81bc5a),se(0x4,_0x407c88)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x54769d=_0x6e0b;(function(_0x120db3,_0x515ec0){const _0xb51d40=_0x6e0b,_0xfaac1b=_0x120db3();while(!![]){try{const _0x14d8a4=parseInt(_0xb51d40(0x247))/0x1+-parseInt(_0xb51d40(0x139))/0x2*(-parseInt(_0xb51d40(0x28c))/0x3)+-parseInt(_0xb51d40(0x101))/0x4+-parseInt(_0xb51d40(0x1d1))/0x5+parseInt(_0xb51d40(0x230))/0x6*(parseInt(_0xb51d40(0x228))/0x7)+parseInt(_0xb51d40(0x12d))/0x8*(-parseInt(_0xb51d40(0x1ea))/0x9)+parseInt(_0xb51d40(0x22f))/0xa;if(_0x14d8a4===_0x515ec0)break;else _0xfaac1b['push'](_0xfaac1b['shift']());}catch(_0x4bd5c9){_0xfaac1b['push'](_0xfaac1b['shift']());}}}(_0x4f84,0xec3fd));import{UniverCollaborationClientPlugin as _0xee1f3b,CollaborationSocketService as _0x46668e}from'@univerjs-pro/collaboration-client';import{Disposable as _0xfb199b,DisposableCollection as _0x3461ea,toDisposable as _0x4d3f02,IConfigService as _0x4387c6,DependentOn as _0xc846e7,ILogService as _0x56ee81,Inject as _0x4c23ec,Injector as _0x58624a,Plugin as _0x3feef2,registerDependencies as _0x5b0c6c}from'@univerjs/core';import{ISocketService as _0x2f7b56,HTTPService as _0x238f51}from'@univerjs/network';function _0x6e0b(_0x5205df,_0x400e3f){_0x5205df=_0x5205df-0xde;const _0x4f847c=_0x4f84();let _0x6e0b92=_0x4f847c[_0x5205df];return _0x6e0b92;}import{Observable as _0x432d76,share as _0x1e4028}from'rxjs';import _0x5aed27 from'events';import _0x15964e from'https';import _0x134520 from'http';import _0x90f3d6 from'net';import _0x5aa6a5 from'tls';import _0x20495c from'crypto';import _0x4c1cb0 from'stream';import _0x350ea2 from'url';import _0x59b8c4 from'zlib';import _0x3a2e87 from'buffer';import{ISnapshotServerService as _0xb3640e}from'@univerjs-pro/collaboration';const Be=_0x54769d(0x10e),Ft={'customHeaders':{}};function Wt(_0x524b06){const _0x104fed=_0x54769d;return _0x524b06&&_0x524b06['__esModule']&&Object[_0x104fed(0xeb)][_0x104fed(0x286)][_0x104fed(0x204)](_0x524b06,_0x104fed(0x190))?_0x524b06['default']:_0x524b06;}function ut(_0xed9526){const _0x241b87=_0x54769d;if(Object[_0x241b87(0xeb)][_0x241b87(0x286)]['call'](_0xed9526,_0x241b87(0x288)))return _0xed9526;var _0x308b1e=_0xed9526[_0x241b87(0x190)];if(typeof _0x308b1e=='function'){var _0x6f425a=function _0x5dc5e(){const _0x22d51a=_0x241b87;var _0x26d307=!0x1;try{_0x26d307=this instanceof _0x5dc5e;}catch{}return _0x26d307?Reflect['construct'](_0x308b1e,arguments,this[_0x22d51a(0x107)]):_0x308b1e[_0x22d51a(0x1f4)](this,arguments);};_0x6f425a[_0x241b87(0xeb)]=_0x308b1e[_0x241b87(0xeb)];}else _0x6f425a={};return Object[_0x241b87(0x168)](_0x6f425a,_0x241b87(0x288),{'value':!0x0}),Object[_0x241b87(0x110)](_0xed9526)[_0x241b87(0x222)](function(_0x5f15d5){const _0x1269f0=_0x241b87;var _0x405398=Object['getOwnPropertyDescriptor'](_0xed9526,_0x5f15d5);Object['defineProperty'](_0x6f425a,_0x5f15d5,_0x405398[_0x1269f0(0x241)]?_0x405398:{'enumerable':!0x0,'get':function(){return _0xed9526[_0x5f15d5];}});}),_0x6f425a;}var te={'exports':{}},ge,Ye;function V(){const _0x3e5300=_0x54769d;if(Ye)return ge;Ye=0x1;const _0x5db0d3=[_0x3e5300(0x160),_0x3e5300(0x155),_0x3e5300(0x123)],_0x423709=typeof Blob<'u';return _0x423709&&_0x5db0d3[_0x3e5300(0x214)](_0x3e5300(0x281)),ge={'BINARY_TYPES':_0x5db0d3,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3e5300(0x23c),'hasBlob':_0x423709,'kForOnEventAttribute':Symbol(_0x3e5300(0x219)),'kListener':Symbol(_0x3e5300(0x186)),'kStatusCode':Symbol(_0x3e5300(0x258)),'kWebSocket':Symbol(_0x3e5300(0x22e)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x54769d(0x148)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x54769d(0x109)})),Vt=ut(Gt);var Ke;function ce(){const _0x5e0516=_0x54769d;if(Ke)return te[_0x5e0516(0x28f)];Ke=0x1;const {EMPTY_BUFFER:_0x1e2b10}=V(),_0xcd533=Buffer[Symbol[_0x5e0516(0x1f0)]];function _0x340024(_0x51f0d5,_0x33ee43){const _0x27d2c2=_0x5e0516;if(_0x51f0d5[_0x27d2c2(0x13c)]===0x0)return _0x1e2b10;if(_0x51f0d5[_0x27d2c2(0x13c)]===0x1)return _0x51f0d5[0x0];const _0x5b69fe=Buffer[_0x27d2c2(0x162)](_0x33ee43);let _0x424a66=0x0;for(let _0x4afe00=0x0;_0x4afe00<_0x51f0d5[_0x27d2c2(0x13c)];_0x4afe00++){const _0x1b1361=_0x51f0d5[_0x4afe00];_0x5b69fe['set'](_0x1b1361,_0x424a66),_0x424a66+=_0x1b1361['length'];}return _0x424a66<_0x33ee43?new _0xcd533(_0x5b69fe[_0x27d2c2(0x275)],_0x5b69fe[_0x27d2c2(0x28b)],_0x424a66):_0x5b69fe;}function _0x23f638(_0x3c8961,_0x5688ef,_0x2467f5,_0x153310,_0x460821){for(let _0x308927=0x0;_0x308927<_0x460821;_0x308927++)_0x2467f5[_0x153310+_0x308927]=_0x3c8961[_0x308927]^_0x5688ef[_0x308927&0x3];}function _0x3813a2(_0x36ecb1,_0x4348ce){for(let _0x291a5f=0x0;_0x291a5f<_0x36ecb1['length'];_0x291a5f++)_0x36ecb1[_0x291a5f]^=_0x4348ce[_0x291a5f&0x3];}function _0x14edc7(_0x1e7669){const _0x5a906e=_0x5e0516;return _0x1e7669['length']===_0x1e7669[_0x5a906e(0x275)]['byteLength']?_0x1e7669[_0x5a906e(0x275)]:_0x1e7669[_0x5a906e(0x275)]['slice'](_0x1e7669[_0x5a906e(0x28b)],_0x1e7669[_0x5a906e(0x28b)]+_0x1e7669['length']);}function _0x50c4f7(_0x46cf61){const _0x3e75f1=_0x5e0516;if(_0x50c4f7[_0x3e75f1(0x14f)]=!0x0,Buffer[_0x3e75f1(0xf5)](_0x46cf61))return _0x46cf61;let _0x108f3e;return _0x46cf61 instanceof ArrayBuffer?_0x108f3e=new _0xcd533(_0x46cf61):ArrayBuffer[_0x3e75f1(0x167)](_0x46cf61)?_0x108f3e=new _0xcd533(_0x46cf61[_0x3e75f1(0x275)],_0x46cf61[_0x3e75f1(0x28b)],_0x46cf61[_0x3e75f1(0x26b)]):(_0x108f3e=Buffer[_0x3e75f1(0x236)](_0x46cf61),_0x50c4f7[_0x3e75f1(0x14f)]=!0x1),_0x108f3e;}if(te['exports']={'concat':_0x340024,'mask':_0x23f638,'toArrayBuffer':_0x14edc7,'toBuffer':_0x50c4f7,'unmask':_0x3813a2},!process[_0x5e0516(0xf1)][_0x5e0516(0x17b)])try{const _0x49c14d=Vt;te[_0x5e0516(0x28f)][_0x5e0516(0x13a)]=function(_0xf28409,_0x153b5a,_0xdf809a,_0x527527,_0x6b732d){const _0x1adec2=_0x5e0516;_0x6b732d<0x30?_0x23f638(_0xf28409,_0x153b5a,_0xdf809a,_0x527527,_0x6b732d):_0x49c14d[_0x1adec2(0x13a)](_0xf28409,_0x153b5a,_0xdf809a,_0x527527,_0x6b732d);},te[_0x5e0516(0x28f)][_0x5e0516(0x1a3)]=function(_0x2621ba,_0x4551b9){const _0x3f3f3a=_0x5e0516;_0x2621ba['length']<0x20?_0x3813a2(_0x2621ba,_0x4551b9):_0x49c14d[_0x3f3f3a(0x1a3)](_0x2621ba,_0x4551b9);};}catch{}return te[_0x5e0516(0x28f)];}var ye,Xe;function qt(){const _0x49b530=_0x54769d;if(Xe)return ye;Xe=0x1;const _0x27691f=Symbol(_0x49b530(0x13b)),_0x38814d=Symbol(_0x49b530(0x216));class _0x4880df{constructor(_0x5d7fc9){const _0x16043d=_0x49b530;this[_0x27691f]=()=>{const _0x7e59ed=_0x6e0b;this[_0x7e59ed(0x100)]--,this[_0x38814d]();},this[_0x16043d(0x1d0)]=_0x5d7fc9||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x49b530(0xfd)](_0x130c09){const _0x2bdc1a=_0x49b530;this['jobs'][_0x2bdc1a(0x214)](_0x130c09),this[_0x38814d]();}[_0x38814d](){const _0x1f79fe=_0x49b530;if(this[_0x1f79fe(0x100)]!==this[_0x1f79fe(0x1d0)]&&this[_0x1f79fe(0x137)][_0x1f79fe(0x13c)]){const _0x3693c9=this[_0x1f79fe(0x137)]['shift']();this[_0x1f79fe(0x100)]++,_0x3693c9(this[_0x27691f]);}}}return ye=_0x4880df,ye;}var ve,Ze;function he(){const _0x13d460=_0x54769d;if(Ze)return ve;Ze=0x1;const _0x209981=_0x59b8c4,_0x23a4d3=ce(),_0x47187f=qt(),{kStatusCode:_0x2f2180}=V(),_0x484fe8=Buffer[Symbol[_0x13d460(0x1f0)]],_0x410b50=Buffer[_0x13d460(0x236)]([0x0,0x0,0xff,0xff]),_0x302221=Symbol('permessage-deflate'),_0x5720ac=Symbol(_0x13d460(0x18f)),_0x21b277=Symbol(_0x13d460(0x20d)),_0x7b8b1b=Symbol(_0x13d460(0xe3)),_0x53f4f8=Symbol(_0x13d460(0x23a));let _0x3a1607;class _0x542442{constructor(_0x2b9dc6,_0x899e9f,_0x39e91b){const _0x278fab=_0x13d460;if(this[_0x278fab(0x14a)]=_0x39e91b|0x0,this['_options']=_0x2b9dc6||{},this[_0x278fab(0x19d)]=this['_options'][_0x278fab(0x10b)]!==void 0x0?this[_0x278fab(0x1fe)]['threshold']:0x400,this[_0x278fab(0xef)]=!!_0x899e9f,this[_0x278fab(0x122)]=null,this[_0x278fab(0x106)]=null,this[_0x278fab(0x129)]=null,!_0x3a1607){const _0x216f15=this[_0x278fab(0x1fe)][_0x278fab(0x19e)]!==void 0x0?this[_0x278fab(0x1fe)][_0x278fab(0x19e)]:0xa;_0x3a1607=new _0x47187f(_0x216f15);}}static get[_0x13d460(0x1c0)](){const _0x4cf299=_0x13d460;return _0x4cf299(0xe9);}[_0x13d460(0x249)](){const _0x4849cf=_0x13d460,_0x169701={};return this[_0x4849cf(0x1fe)][_0x4849cf(0x267)]&&(_0x169701[_0x4849cf(0x1a7)]=!0x0),this[_0x4849cf(0x1fe)][_0x4849cf(0x280)]&&(_0x169701[_0x4849cf(0xfb)]=!0x0),this['_options'][_0x4849cf(0x253)]&&(_0x169701['server_max_window_bits']=this[_0x4849cf(0x1fe)][_0x4849cf(0x253)]),this[_0x4849cf(0x1fe)]['clientMaxWindowBits']?_0x169701[_0x4849cf(0x1e7)]=this[_0x4849cf(0x1fe)][_0x4849cf(0x1ab)]:this['_options'][_0x4849cf(0x1ab)]==null&&(_0x169701['client_max_window_bits']=!0x0),_0x169701;}[_0x13d460(0x1d4)](_0xd8cad){const _0x259a2b=_0x13d460;return _0xd8cad=this[_0x259a2b(0x248)](_0xd8cad),this[_0x259a2b(0x129)]=this[_0x259a2b(0xef)]?this[_0x259a2b(0x113)](_0xd8cad):this[_0x259a2b(0x1dc)](_0xd8cad),this[_0x259a2b(0x129)];}['cleanup'](){const _0xb86f88=_0x13d460;if(this[_0xb86f88(0x106)]&&(this[_0xb86f88(0x106)]['close'](),this[_0xb86f88(0x106)]=null),this['_deflate']){const _0x4fa610=this['_deflate'][_0x21b277];this[_0xb86f88(0x122)][_0xb86f88(0x1e1)](),this[_0xb86f88(0x122)]=null,_0x4fa610&&_0x4fa610(new Error(_0xb86f88(0x1a0)));}}[_0x13d460(0x113)](_0x19c093){const _0x653b4b=_0x13d460,_0x24063d=this[_0x653b4b(0x1fe)],_0x5ea534=_0x19c093['find'](_0x2fcdda=>!(_0x24063d[_0x653b4b(0x267)]===!0x1&&_0x2fcdda['server_no_context_takeover']||_0x2fcdda[_0x653b4b(0x1f5)]&&(_0x24063d[_0x653b4b(0x253)]===!0x1||typeof _0x24063d[_0x653b4b(0x253)]==_0x653b4b(0x142)&&_0x24063d[_0x653b4b(0x253)]>_0x2fcdda[_0x653b4b(0x1f5)])||typeof _0x24063d[_0x653b4b(0x1ab)]=='number'&&!_0x2fcdda[_0x653b4b(0x1e7)]));if(!_0x5ea534)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x24063d[_0x653b4b(0x267)]&&(_0x5ea534[_0x653b4b(0x1a7)]=!0x0),_0x24063d[_0x653b4b(0x280)]&&(_0x5ea534[_0x653b4b(0xfb)]=!0x0),typeof _0x24063d[_0x653b4b(0x253)]==_0x653b4b(0x142)&&(_0x5ea534[_0x653b4b(0x1f5)]=_0x24063d[_0x653b4b(0x253)]),typeof _0x24063d['clientMaxWindowBits']==_0x653b4b(0x142)?_0x5ea534[_0x653b4b(0x1e7)]=_0x24063d[_0x653b4b(0x1ab)]:(_0x5ea534[_0x653b4b(0x1e7)]===!0x0||_0x24063d[_0x653b4b(0x1ab)]===!0x1)&&delete _0x5ea534[_0x653b4b(0x1e7)],_0x5ea534;}[_0x13d460(0x1dc)](_0x3ea459){const _0x1d7fb0=_0x13d460,_0x8d333e=_0x3ea459[0x0];if(this[_0x1d7fb0(0x1fe)][_0x1d7fb0(0x280)]===!0x1&&_0x8d333e[_0x1d7fb0(0xfb)])throw new Error(_0x1d7fb0(0x1be));if(!_0x8d333e['client_max_window_bits'])typeof this[_0x1d7fb0(0x1fe)][_0x1d7fb0(0x1ab)]=='number'&&(_0x8d333e[_0x1d7fb0(0x1e7)]=this[_0x1d7fb0(0x1fe)]['clientMaxWindowBits']);else{if(this[_0x1d7fb0(0x1fe)][_0x1d7fb0(0x1ab)]===!0x1||typeof this[_0x1d7fb0(0x1fe)]['clientMaxWindowBits']==_0x1d7fb0(0x142)&&_0x8d333e['client_max_window_bits']>this[_0x1d7fb0(0x1fe)][_0x1d7fb0(0x1ab)])throw new Error(_0x1d7fb0(0xe5));}return _0x8d333e;}[_0x13d460(0x248)](_0x34f500){const _0x4cb22e=_0x13d460;return _0x34f500[_0x4cb22e(0x222)](_0x46f589=>{const _0x38d3fa=_0x4cb22e;Object['keys'](_0x46f589)[_0x38d3fa(0x222)](_0x51226f=>{const _0x2aaad7=_0x38d3fa;let _0x5ba7b2=_0x46f589[_0x51226f];if(_0x5ba7b2['length']>0x1)throw new Error(_0x2aaad7(0x28d)+_0x51226f+_0x2aaad7(0x181));if(_0x5ba7b2=_0x5ba7b2[0x0],_0x51226f===_0x2aaad7(0x1e7)){if(_0x5ba7b2!==!0x0){const _0x26b93a=+_0x5ba7b2;if(!Number[_0x2aaad7(0x1ba)](_0x26b93a)||_0x26b93a<0x8||_0x26b93a>0xf)throw new TypeError(_0x2aaad7(0x220)+_0x51226f+_0x2aaad7(0x23f)+_0x5ba7b2);_0x5ba7b2=_0x26b93a;}else{if(!this[_0x2aaad7(0xef)])throw new TypeError(_0x2aaad7(0x220)+_0x51226f+_0x2aaad7(0x23f)+_0x5ba7b2);}}else{if(_0x51226f===_0x2aaad7(0x1f5)){const _0x47035c=+_0x5ba7b2;if(!Number['isInteger'](_0x47035c)||_0x47035c<0x8||_0x47035c>0xf)throw new TypeError(_0x2aaad7(0x220)+_0x51226f+_0x2aaad7(0x23f)+_0x5ba7b2);_0x5ba7b2=_0x47035c;}else{if(_0x51226f===_0x2aaad7(0xfb)||_0x51226f==='server_no_context_takeover'){if(_0x5ba7b2!==!0x0)throw new TypeError(_0x2aaad7(0x220)+_0x51226f+_0x2aaad7(0x23f)+_0x5ba7b2);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x51226f+'\x22');}}_0x46f589[_0x51226f]=_0x5ba7b2;});}),_0x34f500;}[_0x13d460(0x221)](_0x39b68a,_0x46e464,_0x467ca0){const _0x599d66=_0x13d460;_0x3a1607[_0x599d66(0xfd)](_0x12d43e=>{this['_decompress'](_0x39b68a,_0x46e464,(_0x1167c2,_0x1be46f)=>{_0x12d43e(),_0x467ca0(_0x1167c2,_0x1be46f);});});}['compress'](_0x4bc31b,_0x207f01,_0x2cfca2){const _0x565ea5=_0x13d460;_0x3a1607[_0x565ea5(0xfd)](_0x5e5fd7=>{const _0x6431f8=_0x565ea5;this[_0x6431f8(0x23b)](_0x4bc31b,_0x207f01,(_0x20830f,_0x3e8194)=>{_0x5e5fd7(),_0x2cfca2(_0x20830f,_0x3e8194);});});}[_0x13d460(0x1fa)](_0x3214ef,_0x2d61a8,_0x4c1baa){const _0xd16b46=_0x13d460,_0x413a52=this[_0xd16b46(0xef)]?_0xd16b46(0x203):'server';if(!this[_0xd16b46(0x106)]){const _0x13ac74=_0x413a52+'_max_window_bits',_0x160c42=typeof this['params'][_0x13ac74]!=_0xd16b46(0x142)?_0x209981['Z_DEFAULT_WINDOWBITS']:this['params'][_0x13ac74];this[_0xd16b46(0x106)]=_0x209981['createInflateRaw']({...this[_0xd16b46(0x1fe)][_0xd16b46(0x1c6)],'windowBits':_0x160c42}),this[_0xd16b46(0x106)][_0x302221]=this,this[_0xd16b46(0x106)][_0x5720ac]=0x0,this['_inflate'][_0x7b8b1b]=[],this[_0xd16b46(0x106)]['on'](_0xd16b46(0x23a),_0xf5582e),this[_0xd16b46(0x106)]['on'](_0xd16b46(0x11a),_0x16983a);}this['_inflate'][_0x21b277]=_0x4c1baa,this[_0xd16b46(0x106)][_0xd16b46(0x1b6)](_0x3214ef),_0x2d61a8&&this[_0xd16b46(0x106)][_0xd16b46(0x1b6)](_0x410b50),this['_inflate'][_0xd16b46(0x1e9)](()=>{const _0x4f62d3=_0xd16b46,_0x908c11=this[_0x4f62d3(0x106)][_0x53f4f8];if(_0x908c11){this[_0x4f62d3(0x106)][_0x4f62d3(0x1e1)](),this['_inflate']=null,_0x4c1baa(_0x908c11);return;}const _0x51477b=_0x23a4d3[_0x4f62d3(0x226)](this[_0x4f62d3(0x106)][_0x7b8b1b],this['_inflate'][_0x5720ac]);this['_inflate'][_0x4f62d3(0x268)][_0x4f62d3(0x1ca)]?(this[_0x4f62d3(0x106)][_0x4f62d3(0x1e1)](),this[_0x4f62d3(0x106)]=null):(this[_0x4f62d3(0x106)][_0x5720ac]=0x0,this[_0x4f62d3(0x106)][_0x7b8b1b]=[],_0x2d61a8&&this[_0x4f62d3(0x129)][_0x413a52+_0x4f62d3(0x10a)]&&this[_0x4f62d3(0x106)]['reset']()),_0x4c1baa(null,_0x51477b);});}['_compress'](_0x3f761a,_0x38845b,_0x1ef3d7){const _0x34d393=_0x13d460,_0x5b0220=this[_0x34d393(0xef)]?_0x34d393(0x124):_0x34d393(0x203);if(!this[_0x34d393(0x122)]){const _0x16a774=_0x5b0220+_0x34d393(0xfe),_0x2f0ff2=typeof this[_0x34d393(0x129)][_0x16a774]!='number'?_0x209981['Z_DEFAULT_WINDOWBITS']:this[_0x34d393(0x129)][_0x16a774];this[_0x34d393(0x122)]=_0x209981[_0x34d393(0x1bb)]({...this[_0x34d393(0x1fe)][_0x34d393(0x262)],'windowBits':_0x2f0ff2}),this[_0x34d393(0x122)][_0x5720ac]=0x0,this['_deflate'][_0x7b8b1b]=[],this[_0x34d393(0x122)]['on'](_0x34d393(0x11a),_0xe20209);}this['_deflate'][_0x21b277]=_0x1ef3d7,this['_deflate'][_0x34d393(0x1b6)](_0x3f761a),this[_0x34d393(0x122)][_0x34d393(0x1e9)](_0x209981[_0x34d393(0x15e)],()=>{const _0x3969b4=_0x34d393;if(!this[_0x3969b4(0x122)])return;let _0x2bd2fd=_0x23a4d3['concat'](this[_0x3969b4(0x122)][_0x7b8b1b],this[_0x3969b4(0x122)][_0x5720ac]);_0x38845b&&(_0x2bd2fd=new _0x484fe8(_0x2bd2fd[_0x3969b4(0x275)],_0x2bd2fd[_0x3969b4(0x28b)],_0x2bd2fd[_0x3969b4(0x13c)]-0x4)),this['_deflate'][_0x21b277]=null,this[_0x3969b4(0x122)][_0x5720ac]=0x0,this[_0x3969b4(0x122)][_0x7b8b1b]=[],_0x38845b&&this[_0x3969b4(0x129)][_0x5b0220+_0x3969b4(0x10a)]&&this[_0x3969b4(0x122)][_0x3969b4(0x206)](),_0x1ef3d7(null,_0x2bd2fd);});}}ve=_0x542442;function _0xe20209(_0x50740e){const _0x3bbf55=_0x13d460;this[_0x7b8b1b]['push'](_0x50740e),this[_0x5720ac]+=_0x50740e[_0x3bbf55(0x13c)];}function _0x16983a(_0x61b7b2){const _0x4ddc8d=_0x13d460;if(this[_0x5720ac]+=_0x61b7b2[_0x4ddc8d(0x13c)],this[_0x302221][_0x4ddc8d(0x14a)]<0x1||this[_0x5720ac]<=this[_0x302221][_0x4ddc8d(0x14a)]){this[_0x7b8b1b]['push'](_0x61b7b2);return;}this[_0x53f4f8]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x53f4f8][_0x4ddc8d(0x138)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x53f4f8][_0x2f2180]=0x3f1,this[_0x4ddc8d(0x1e2)](_0x4ddc8d(0x11a),_0x16983a),this['reset']();}function _0xf5582e(_0x2c62e1){if(this[_0x302221]['_inflate']=null,this[_0x53f4f8]){this[_0x21b277](this[_0x53f4f8]);return;}_0x2c62e1[_0x2f2180]=0x3ef,this[_0x21b277](_0x2c62e1);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x54769d(0x148)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x54769d(0x109)})),Yt=ut(zt);var Qe;function ne(){const _0x458498=_0x54769d;if(Qe)return re[_0x458498(0x28f)];Qe=0x1;const {isUtf8:_0x18d3c9}=_0x3a2e87,{hasBlob:_0x3a09d9}=V(),_0x19d856=[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 _0xb5a202(_0x2ebc7b){return _0x2ebc7b>=0x3e8&&_0x2ebc7b<=0x3f6&&_0x2ebc7b!==0x3ec&&_0x2ebc7b!==0x3ed&&_0x2ebc7b!==0x3ee||_0x2ebc7b>=0xbb8&&_0x2ebc7b<=0x1387;}function _0x3a7e45(_0x18a1b1){const _0x536201=_0x18a1b1['length'];let _0x58e7e8=0x0;for(;_0x58e7e8<_0x536201;)if((_0x18a1b1[_0x58e7e8]&0x80)===0x0)_0x58e7e8++;else{if((_0x18a1b1[_0x58e7e8]&0xe0)===0xc0){if(_0x58e7e8+0x1===_0x536201||(_0x18a1b1[_0x58e7e8+0x1]&0xc0)!==0x80||(_0x18a1b1[_0x58e7e8]&0xfe)===0xc0)return!0x1;_0x58e7e8+=0x2;}else{if((_0x18a1b1[_0x58e7e8]&0xf0)===0xe0){if(_0x58e7e8+0x2>=_0x536201||(_0x18a1b1[_0x58e7e8+0x1]&0xc0)!==0x80||(_0x18a1b1[_0x58e7e8+0x2]&0xc0)!==0x80||_0x18a1b1[_0x58e7e8]===0xe0&&(_0x18a1b1[_0x58e7e8+0x1]&0xe0)===0x80||_0x18a1b1[_0x58e7e8]===0xed&&(_0x18a1b1[_0x58e7e8+0x1]&0xe0)===0xa0)return!0x1;_0x58e7e8+=0x3;}else{if((_0x18a1b1[_0x58e7e8]&0xf8)===0xf0){if(_0x58e7e8+0x3>=_0x536201||(_0x18a1b1[_0x58e7e8+0x1]&0xc0)!==0x80||(_0x18a1b1[_0x58e7e8+0x2]&0xc0)!==0x80||(_0x18a1b1[_0x58e7e8+0x3]&0xc0)!==0x80||_0x18a1b1[_0x58e7e8]===0xf0&&(_0x18a1b1[_0x58e7e8+0x1]&0xf0)===0x80||_0x18a1b1[_0x58e7e8]===0xf4&&_0x18a1b1[_0x58e7e8+0x1]>0x8f||_0x18a1b1[_0x58e7e8]>0xf4)return!0x1;_0x58e7e8+=0x4;}else return!0x1;}}}return!0x0;}function _0x255930(_0x23492b){const _0x1f9f2c=_0x458498;return _0x3a09d9&&typeof _0x23492b==_0x1f9f2c(0x1ec)&&typeof _0x23492b[_0x1f9f2c(0x238)]==_0x1f9f2c(0x140)&&typeof _0x23492b[_0x1f9f2c(0x1e5)]=='string'&&typeof _0x23492b[_0x1f9f2c(0x21e)]=='function'&&(_0x23492b[Symbol['toStringTag']]==='Blob'||_0x23492b[Symbol['toStringTag']]===_0x1f9f2c(0x10c));}if(re[_0x458498(0x28f)]={'isBlob':_0x255930,'isValidStatusCode':_0xb5a202,'isValidUTF8':_0x3a7e45,'tokenChars':_0x19d856},_0x18d3c9)re[_0x458498(0x28f)][_0x458498(0x266)]=function(_0x3edbc0){const _0x1764be=_0x458498;return _0x3edbc0[_0x1764be(0x13c)]<0x18?_0x3a7e45(_0x3edbc0):_0x18d3c9(_0x3edbc0);};else{if(!process[_0x458498(0xf1)][_0x458498(0xdf)])try{const _0x284c42=Yt;re[_0x458498(0x28f)]['isValidUTF8']=function(_0x12ec75){const _0x80a78f=_0x458498;return _0x12ec75[_0x80a78f(0x13c)]<0x20?_0x3a7e45(_0x12ec75):_0x284c42(_0x12ec75);};}catch{}}return re[_0x458498(0x28f)];}var Se,Je;function dt(){const _0x4ba9ce=_0x54769d;if(Je)return Se;Je=0x1;const {Writable:_0x3a5dc7}=_0x4c1cb0,_0xf75770=he(),{BINARY_TYPES:_0x4b7a6f,EMPTY_BUFFER:_0xb0ccaa,kStatusCode:_0x18e5b6,kWebSocket:_0x5e109e}=V(),{concat:_0x559946,toArrayBuffer:_0x383436,unmask:_0x58a8ab}=ce(),{isValidStatusCode:_0x5c2b75,isValidUTF8:_0x188b59}=ne(),_0x20c0bc=Buffer[Symbol[_0x4ba9ce(0x1f0)]],_0x5dfb1b=0x0,_0x3e0b1c=0x1,_0x5e53f9=0x2,_0x5e0a0a=0x3,_0x54583b=0x4,_0x548c6c=0x5,_0x2c0c30=0x6;class _0x2cb870 extends _0x3a5dc7{constructor(_0x512410={}){const _0x2199bb=_0x4ba9ce;super(),this[_0x2199bb(0x254)]=_0x512410[_0x2199bb(0x12f)]!==void 0x0?_0x512410[_0x2199bb(0x12f)]:!0x0,this[_0x2199bb(0x23e)]=_0x512410['binaryType']||_0x4b7a6f[0x0],this[_0x2199bb(0x14e)]=_0x512410['extensions']||{},this[_0x2199bb(0xef)]=!!_0x512410[_0x2199bb(0x1a8)],this[_0x2199bb(0x14a)]=_0x512410[_0x2199bb(0x18a)]|0x0,this[_0x2199bb(0x17c)]=!!_0x512410[_0x2199bb(0x1ac)],this[_0x5e109e]=void 0x0,this[_0x2199bb(0x1da)]=0x0,this['_buffers']=[],this[_0x2199bb(0x1ae)]=!0x1,this[_0x2199bb(0x1cc)]=0x0,this[_0x2199bb(0x12c)]=void 0x0,this['_fragmented']=0x0,this[_0x2199bb(0x1b3)]=!0x1,this[_0x2199bb(0x17f)]=!0x1,this[_0x2199bb(0x141)]=0x0,this[_0x2199bb(0x197)]=0x0,this[_0x2199bb(0x213)]=0x0,this[_0x2199bb(0x11e)]=[],this[_0x2199bb(0xf8)]=!0x1,this['_loop']=!0x1,this[_0x2199bb(0x165)]=_0x5dfb1b;}[_0x4ba9ce(0x1a6)](_0x1d6f6,_0x50dabd,_0x3aa2cd){const _0x46cab4=_0x4ba9ce;if(this[_0x46cab4(0x141)]===0x8&&this[_0x46cab4(0x165)]==_0x5dfb1b)return _0x3aa2cd();this[_0x46cab4(0x1da)]+=_0x1d6f6[_0x46cab4(0x13c)],this['_buffers'][_0x46cab4(0x214)](_0x1d6f6),this[_0x46cab4(0xe0)](_0x3aa2cd);}[_0x4ba9ce(0x27e)](_0x2ef0f1){const _0x5775cc=_0x4ba9ce;if(this[_0x5775cc(0x1da)]-=_0x2ef0f1,_0x2ef0f1===this['_buffers'][0x0][_0x5775cc(0x13c)])return this['_buffers'][_0x5775cc(0x14c)]();if(_0x2ef0f1<this[_0x5775cc(0xe4)][0x0][_0x5775cc(0x13c)]){const _0x4e665d=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x20c0bc(_0x4e665d[_0x5775cc(0x275)],_0x4e665d[_0x5775cc(0x28b)]+_0x2ef0f1,_0x4e665d['length']-_0x2ef0f1),new _0x20c0bc(_0x4e665d[_0x5775cc(0x275)],_0x4e665d[_0x5775cc(0x28b)],_0x2ef0f1);}const _0x31ea39=Buffer['allocUnsafe'](_0x2ef0f1);do{const _0x76320=this['_buffers'][0x0],_0x15fe2e=_0x31ea39[_0x5775cc(0x13c)]-_0x2ef0f1;_0x2ef0f1>=_0x76320['length']?_0x31ea39['set'](this[_0x5775cc(0xe4)][_0x5775cc(0x14c)](),_0x15fe2e):(_0x31ea39['set'](new Uint8Array(_0x76320[_0x5775cc(0x275)],_0x76320['byteOffset'],_0x2ef0f1),_0x15fe2e),this[_0x5775cc(0xe4)][0x0]=new _0x20c0bc(_0x76320[_0x5775cc(0x275)],_0x76320[_0x5775cc(0x28b)]+_0x2ef0f1,_0x76320[_0x5775cc(0x13c)]-_0x2ef0f1)),_0x2ef0f1-=_0x76320[_0x5775cc(0x13c)];}while(_0x2ef0f1>0x0);return _0x31ea39;}['startLoop'](_0x1db2ca){const _0x39470c=_0x4ba9ce;this['_loop']=!0x0;do switch(this[_0x39470c(0x165)]){case _0x5dfb1b:this['getInfo'](_0x1db2ca);break;case _0x3e0b1c:this['getPayloadLength16'](_0x1db2ca);break;case _0x5e53f9:this[_0x39470c(0x25c)](_0x1db2ca);break;case _0x5e0a0a:this[_0x39470c(0x118)]();break;case _0x54583b:this['getData'](_0x1db2ca);break;case _0x548c6c:case _0x2c0c30:this[_0x39470c(0x1f1)]=!0x1;return;}while(this[_0x39470c(0x1f1)]);this[_0x39470c(0xf8)]||_0x1db2ca();}[_0x4ba9ce(0x1b5)](_0x31cf80){const _0x2c833d=_0x4ba9ce;if(this[_0x2c833d(0x1da)]<0x2){this['_loop']=!0x1;return;}const _0x1dc0de=this['consume'](0x2);if((_0x1dc0de[0x0]&0x30)!==0x0){const _0x232e92=this[_0x2c833d(0x22b)](RangeError,_0x2c833d(0x1dd),!0x0,0x3ea,_0x2c833d(0x16e));_0x31cf80(_0x232e92);return;}const _0x1c32d4=(_0x1dc0de[0x0]&0x40)===0x40;if(_0x1c32d4&&!this[_0x2c833d(0x14e)][_0xf75770[_0x2c833d(0x1c0)]]){const _0x39b14a=this[_0x2c833d(0x22b)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2c833d(0x1fc));_0x31cf80(_0x39b14a);return;}if(this[_0x2c833d(0x17f)]=(_0x1dc0de[0x0]&0x80)===0x80,this['_opcode']=_0x1dc0de[0x0]&0xf,this['_payloadLength']=_0x1dc0de[0x1]&0x7f,this[_0x2c833d(0x141)]===0x0){if(_0x1c32d4){const _0x240b03=this['createError'](RangeError,_0x2c833d(0x24e),!0x0,0x3ea,_0x2c833d(0x1fc));_0x31cf80(_0x240b03);return;}if(!this[_0x2c833d(0x15d)]){const _0x3bd622=this['createError'](RangeError,_0x2c833d(0x15c),!0x0,0x3ea,_0x2c833d(0x116));_0x31cf80(_0x3bd622);return;}this[_0x2c833d(0x141)]=this[_0x2c833d(0x15d)];}else{if(this[_0x2c833d(0x141)]===0x1||this[_0x2c833d(0x141)]===0x2){if(this[_0x2c833d(0x15d)]){const _0x87ef3b=this[_0x2c833d(0x22b)](RangeError,_0x2c833d(0x1c4)+this[_0x2c833d(0x141)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x31cf80(_0x87ef3b);return;}this[_0x2c833d(0x1ae)]=_0x1c32d4;}else{if(this[_0x2c833d(0x141)]>0x7&&this[_0x2c833d(0x141)]<0xb){if(!this[_0x2c833d(0x17f)]){const _0x12e10=this[_0x2c833d(0x22b)](RangeError,_0x2c833d(0x145),!0x0,0x3ea,_0x2c833d(0x12b));_0x31cf80(_0x12e10);return;}if(_0x1c32d4){const _0x4ed104=this[_0x2c833d(0x22b)](RangeError,_0x2c833d(0x24e),!0x0,0x3ea,_0x2c833d(0x1fc));_0x31cf80(_0x4ed104);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x2c833d(0x1cc)]===0x1){const _0x42921c=this[_0x2c833d(0x22b)](RangeError,_0x2c833d(0x211)+this[_0x2c833d(0x1cc)],!0x0,0x3ea,_0x2c833d(0x1ed));_0x31cf80(_0x42921c);return;}}else{const _0x14d179=this[_0x2c833d(0x22b)](RangeError,'invalid\x20opcode\x20'+this[_0x2c833d(0x141)],!0x0,0x3ea,_0x2c833d(0x116));_0x31cf80(_0x14d179);return;}}}if(!this[_0x2c833d(0x17f)]&&!this[_0x2c833d(0x15d)]&&(this[_0x2c833d(0x15d)]=this['_opcode']),this['_masked']=(_0x1dc0de[0x1]&0x80)===0x80,this[_0x2c833d(0xef)]){if(!this[_0x2c833d(0x1b3)]){const _0x4c4d38=this[_0x2c833d(0x22b)](RangeError,_0x2c833d(0x270),!0x0,0x3ea,_0x2c833d(0x16c));_0x31cf80(_0x4c4d38);return;}}else{if(this['_masked']){const _0x544b=this['createError'](RangeError,_0x2c833d(0x17a),!0x0,0x3ea,_0x2c833d(0x28a));_0x31cf80(_0x544b);return;}}this[_0x2c833d(0x1cc)]===0x7e?this[_0x2c833d(0x165)]=_0x3e0b1c:this['_payloadLength']===0x7f?this[_0x2c833d(0x165)]=_0x5e53f9:this[_0x2c833d(0x14d)](_0x31cf80);}[_0x4ba9ce(0x163)](_0x4cd550){const _0x514182=_0x4ba9ce;if(this[_0x514182(0x1da)]<0x2){this[_0x514182(0x1f1)]=!0x1;return;}this[_0x514182(0x1cc)]=this['consume'](0x2)[_0x514182(0x144)](0x0),this['haveLength'](_0x4cd550);}[_0x4ba9ce(0x25c)](_0xb3f320){const _0x3c0eae=_0x4ba9ce;if(this[_0x3c0eae(0x1da)]<0x8){this['_loop']=!0x1;return;}const _0x200acd=this[_0x3c0eae(0x27e)](0x8),_0x198439=_0x200acd['readUInt32BE'](0x0);if(_0x198439>Math[_0x3c0eae(0x18b)](0x2,0x15)-0x1){const _0x5c2eac=this[_0x3c0eae(0x22b)](RangeError,_0x3c0eae(0x276),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0xb3f320(_0x5c2eac);return;}this['_payloadLength']=_0x198439*Math[_0x3c0eae(0x18b)](0x2,0x20)+_0x200acd[_0x3c0eae(0x1d3)](0x4),this[_0x3c0eae(0x14d)](_0xb3f320);}['haveLength'](_0x5c165c){const _0x1f9d17=_0x4ba9ce;if(this['_payloadLength']&&this[_0x1f9d17(0x141)]<0x8&&(this[_0x1f9d17(0x197)]+=this[_0x1f9d17(0x1cc)],this[_0x1f9d17(0x197)]>this[_0x1f9d17(0x14a)]&&this[_0x1f9d17(0x14a)]>0x0)){const _0x54c21d=this['createError'](RangeError,_0x1f9d17(0x1e8),!0x1,0x3f1,_0x1f9d17(0x11f));_0x5c165c(_0x54c21d);return;}this[_0x1f9d17(0x1b3)]?this[_0x1f9d17(0x165)]=_0x5e0a0a:this[_0x1f9d17(0x165)]=_0x54583b;}[_0x4ba9ce(0x118)](){const _0x11a1f1=_0x4ba9ce;if(this[_0x11a1f1(0x1da)]<0x4){this['_loop']=!0x1;return;}this[_0x11a1f1(0x12c)]=this[_0x11a1f1(0x27e)](0x4),this[_0x11a1f1(0x165)]=_0x54583b;}[_0x4ba9ce(0x147)](_0x2057ea){const _0x4880bf=_0x4ba9ce;let _0x32cad7=_0xb0ccaa;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x4880bf(0x1cc)]){this[_0x4880bf(0x1f1)]=!0x1;return;}_0x32cad7=this[_0x4880bf(0x27e)](this['_payloadLength']),this[_0x4880bf(0x1b3)]&&(this['_mask'][0x0]|this[_0x4880bf(0x12c)][0x1]|this[_0x4880bf(0x12c)][0x2]|this['_mask'][0x3])!==0x0&&_0x58a8ab(_0x32cad7,this['_mask']);}if(this[_0x4880bf(0x141)]>0x7){this['controlMessage'](_0x32cad7,_0x2057ea);return;}if(this['_compressed']){this[_0x4880bf(0x165)]=_0x548c6c,this[_0x4880bf(0x221)](_0x32cad7,_0x2057ea);return;}_0x32cad7['length']&&(this[_0x4880bf(0x213)]=this[_0x4880bf(0x197)],this[_0x4880bf(0x11e)]['push'](_0x32cad7)),this[_0x4880bf(0x27f)](_0x2057ea);}[_0x4ba9ce(0x221)](_0x9138,_0x4680a9){const _0x34e9dc=_0x4ba9ce;this[_0x34e9dc(0x14e)][_0xf75770[_0x34e9dc(0x1c0)]][_0x34e9dc(0x221)](_0x9138,this[_0x34e9dc(0x17f)],(_0x45f9af,_0x5cf105)=>{const _0x5086b4=_0x34e9dc;if(_0x45f9af)return _0x4680a9(_0x45f9af);if(_0x5cf105[_0x5086b4(0x13c)]){if(this[_0x5086b4(0x213)]+=_0x5cf105[_0x5086b4(0x13c)],this['_messageLength']>this[_0x5086b4(0x14a)]&&this[_0x5086b4(0x14a)]>0x0){const _0x107520=this[_0x5086b4(0x22b)](RangeError,_0x5086b4(0x1e8),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4680a9(_0x107520);return;}this[_0x5086b4(0x11e)][_0x5086b4(0x214)](_0x5cf105);}this[_0x5086b4(0x27f)](_0x4680a9),this['_state']===_0x5dfb1b&&this[_0x5086b4(0xe0)](_0x4680a9);});}['dataMessage'](_0x7f1185){const _0x4e59ca=_0x4ba9ce;if(!this[_0x4e59ca(0x17f)]){this[_0x4e59ca(0x165)]=_0x5dfb1b;return;}const _0x14e6d9=this[_0x4e59ca(0x213)],_0x3ca768=this[_0x4e59ca(0x11e)];if(this[_0x4e59ca(0x197)]=0x0,this[_0x4e59ca(0x213)]=0x0,this[_0x4e59ca(0x15d)]=0x0,this['_fragments']=[],this[_0x4e59ca(0x141)]===0x2){let _0x4f5d15;this[_0x4e59ca(0x23e)]==='nodebuffer'?_0x4f5d15=_0x559946(_0x3ca768,_0x14e6d9):this[_0x4e59ca(0x23e)]===_0x4e59ca(0x155)?_0x4f5d15=_0x383436(_0x559946(_0x3ca768,_0x14e6d9)):this[_0x4e59ca(0x23e)]===_0x4e59ca(0x281)?_0x4f5d15=new Blob(_0x3ca768):_0x4f5d15=_0x3ca768,this[_0x4e59ca(0x254)]?(this[_0x4e59ca(0x175)](_0x4e59ca(0xff),_0x4f5d15,!0x0),this['_state']=_0x5dfb1b):(this[_0x4e59ca(0x165)]=_0x2c0c30,setImmediate(()=>{const _0x142691=_0x4e59ca;this['emit'](_0x142691(0xff),_0x4f5d15,!0x0),this[_0x142691(0x165)]=_0x5dfb1b,this[_0x142691(0xe0)](_0x7f1185);}));}else{const _0x3e098b=_0x559946(_0x3ca768,_0x14e6d9);if(!this[_0x4e59ca(0x17c)]&&!_0x188b59(_0x3e098b)){const _0x188282=this[_0x4e59ca(0x22b)](Error,_0x4e59ca(0x13e),!0x0,0x3ef,_0x4e59ca(0x218));_0x7f1185(_0x188282);return;}this[_0x4e59ca(0x165)]===_0x548c6c||this[_0x4e59ca(0x254)]?(this['emit'](_0x4e59ca(0xff),_0x3e098b,!0x1),this[_0x4e59ca(0x165)]=_0x5dfb1b):(this['_state']=_0x2c0c30,setImmediate(()=>{const _0x4fd5e3=_0x4e59ca;this['emit'](_0x4fd5e3(0xff),_0x3e098b,!0x1),this[_0x4fd5e3(0x165)]=_0x5dfb1b,this[_0x4fd5e3(0xe0)](_0x7f1185);}));}}[_0x4ba9ce(0x24d)](_0x2fc003,_0x112145){const _0x33e2ad=_0x4ba9ce;if(this[_0x33e2ad(0x141)]===0x8){if(_0x2fc003['length']===0x0)this[_0x33e2ad(0x1f1)]=!0x1,this['emit'](_0x33e2ad(0xe2),0x3ed,_0xb0ccaa),this[_0x33e2ad(0x285)]();else{const _0x32a29b=_0x2fc003[_0x33e2ad(0x144)](0x0);if(!_0x5c2b75(_0x32a29b)){const _0x1ee8bb=this[_0x33e2ad(0x22b)](RangeError,_0x33e2ad(0x10d)+_0x32a29b,!0x0,0x3ea,_0x33e2ad(0x256));_0x112145(_0x1ee8bb);return;}const _0x1935b7=new _0x20c0bc(_0x2fc003[_0x33e2ad(0x275)],_0x2fc003[_0x33e2ad(0x28b)]+0x2,_0x2fc003[_0x33e2ad(0x13c)]-0x2);if(!this[_0x33e2ad(0x17c)]&&!_0x188b59(_0x1935b7)){const _0xc1b727=this[_0x33e2ad(0x22b)](Error,_0x33e2ad(0x13e),!0x0,0x3ef,_0x33e2ad(0x218));_0x112145(_0xc1b727);return;}this[_0x33e2ad(0x1f1)]=!0x1,this[_0x33e2ad(0x175)](_0x33e2ad(0xe2),_0x32a29b,_0x1935b7),this['end']();}this[_0x33e2ad(0x165)]=_0x5dfb1b;return;}this[_0x33e2ad(0x254)]?(this[_0x33e2ad(0x175)](this[_0x33e2ad(0x141)]===0x9?_0x33e2ad(0x134):_0x33e2ad(0x195),_0x2fc003),this[_0x33e2ad(0x165)]=_0x5dfb1b):(this[_0x33e2ad(0x165)]=_0x2c0c30,setImmediate(()=>{const _0x3518f=_0x33e2ad;this[_0x3518f(0x175)](this[_0x3518f(0x141)]===0x9?_0x3518f(0x134):'pong',_0x2fc003),this[_0x3518f(0x165)]=_0x5dfb1b,this[_0x3518f(0xe0)](_0x112145);}));}[_0x4ba9ce(0x22b)](_0x2f2083,_0x25718d,_0x2268a8,_0x4f93e3,_0x5a032e){const _0x109e9d=_0x4ba9ce;this[_0x109e9d(0x1f1)]=!0x1,this[_0x109e9d(0xf8)]=!0x0;const _0x55bd39=new _0x2f2083(_0x2268a8?_0x109e9d(0x261)+_0x25718d:_0x25718d);return Error[_0x109e9d(0x120)](_0x55bd39,this[_0x109e9d(0x22b)]),_0x55bd39[_0x109e9d(0x138)]=_0x5a032e,_0x55bd39[_0x18e5b6]=_0x4f93e3,_0x55bd39;}}return Se=_0x2cb870,Se;}var Ee,et;function _t(){const _0x5a1377=_0x54769d;if(et)return Ee;et=0x1;const {Duplex:_0x56a9a8}=_0x4c1cb0,{randomFillSync:_0xf646ff}=_0x20495c,_0x541cf2=he(),{EMPTY_BUFFER:_0x278fe3,kWebSocket:_0x2e321a,NOOP:_0xb07b94}=V(),{isBlob:_0x4233f3,isValidStatusCode:_0x38e43e}=ne(),{mask:_0xf1b218,toBuffer:_0xdbe938}=ce(),_0x4ebd61=Symbol('kByteLength'),_0xabdcd8=Buffer[_0x5a1377(0x24b)](0x4),_0x1c6f01=0x8*0x400;let _0x39fb14,_0x12bbc4=_0x1c6f01;const _0x3f15c2=0x0,_0x16c5b1=0x1,_0x557e21=0x2;class _0x18108c{constructor(_0x2186a2,_0x2bffab,_0x3ae546){const _0x1deb5f=_0x5a1377;this[_0x1deb5f(0x14e)]=_0x2bffab||{},_0x3ae546&&(this[_0x1deb5f(0xf4)]=_0x3ae546,this['_maskBuffer']=Buffer[_0x1deb5f(0x24b)](0x4)),this['_socket']=_0x2186a2,this[_0x1deb5f(0x158)]=!0x0,this[_0x1deb5f(0x23b)]=!0x1,this[_0x1deb5f(0x1da)]=0x0,this[_0x1deb5f(0x1c3)]=[],this[_0x1deb5f(0x165)]=_0x3f15c2,this['onerror']=_0xb07b94,this[_0x2e321a]=void 0x0;}static[_0x5a1377(0x260)](_0x5d8a11,_0x2ac55e){const _0x5467a1=_0x5a1377;let _0x24c829,_0x197b4c=!0x1,_0x355901=0x2,_0x5a6722=!0x1;_0x2ac55e['mask']&&(_0x24c829=_0x2ac55e['maskBuffer']||_0xabdcd8,_0x2ac55e[_0x5467a1(0x22d)]?_0x2ac55e[_0x5467a1(0x22d)](_0x24c829):(_0x12bbc4===_0x1c6f01&&(_0x39fb14===void 0x0&&(_0x39fb14=Buffer['alloc'](_0x1c6f01)),_0xf646ff(_0x39fb14,0x0,_0x1c6f01),_0x12bbc4=0x0),_0x24c829[0x0]=_0x39fb14[_0x12bbc4++],_0x24c829[0x1]=_0x39fb14[_0x12bbc4++],_0x24c829[0x2]=_0x39fb14[_0x12bbc4++],_0x24c829[0x3]=_0x39fb14[_0x12bbc4++]),_0x5a6722=(_0x24c829[0x0]|_0x24c829[0x1]|_0x24c829[0x2]|_0x24c829[0x3])===0x0,_0x355901=0x6);let _0x3854ad;typeof _0x5d8a11==_0x5467a1(0x1e4)?(!_0x2ac55e[_0x5467a1(0x13a)]||_0x5a6722)&&_0x2ac55e[_0x4ebd61]!==void 0x0?_0x3854ad=_0x2ac55e[_0x4ebd61]:(_0x5d8a11=Buffer[_0x5467a1(0x236)](_0x5d8a11),_0x3854ad=_0x5d8a11['length']):(_0x3854ad=_0x5d8a11['length'],_0x197b4c=_0x2ac55e[_0x5467a1(0x13a)]&&_0x2ac55e['readOnly']&&!_0x5a6722);let _0x42def7=_0x3854ad;_0x3854ad>=0x10000?(_0x355901+=0x8,_0x42def7=0x7f):_0x3854ad>0x7d&&(_0x355901+=0x2,_0x42def7=0x7e);const _0x79734d=Buffer[_0x5467a1(0x162)](_0x197b4c?_0x3854ad+_0x355901:_0x355901);return _0x79734d[0x0]=_0x2ac55e[_0x5467a1(0x19f)]?_0x2ac55e[_0x5467a1(0x102)]|0x80:_0x2ac55e[_0x5467a1(0x102)],_0x2ac55e[_0x5467a1(0x1de)]&&(_0x79734d[0x0]|=0x40),_0x79734d[0x1]=_0x42def7,_0x42def7===0x7e?_0x79734d[_0x5467a1(0x170)](_0x3854ad,0x2):_0x42def7===0x7f&&(_0x79734d[0x2]=_0x79734d[0x3]=0x0,_0x79734d['writeUIntBE'](_0x3854ad,0x4,0x6)),_0x2ac55e[_0x5467a1(0x13a)]?(_0x79734d[0x1]|=0x80,_0x79734d[_0x355901-0x4]=_0x24c829[0x0],_0x79734d[_0x355901-0x3]=_0x24c829[0x1],_0x79734d[_0x355901-0x2]=_0x24c829[0x2],_0x79734d[_0x355901-0x1]=_0x24c829[0x3],_0x5a6722?[_0x79734d,_0x5d8a11]:_0x197b4c?(_0xf1b218(_0x5d8a11,_0x24c829,_0x79734d,_0x355901,_0x3854ad),[_0x79734d]):(_0xf1b218(_0x5d8a11,_0x24c829,_0x5d8a11,0x0,_0x3854ad),[_0x79734d,_0x5d8a11])):[_0x79734d,_0x5d8a11];}[_0x5a1377(0x1e1)](_0x51b66d,_0x1f1493,_0x6a3e27,_0x5def69){const _0x258211=_0x5a1377;let _0x26b802;if(_0x51b66d===void 0x0)_0x26b802=_0x278fe3;else{if(typeof _0x51b66d!='number'||!_0x38e43e(_0x51b66d))throw new TypeError(_0x258211(0x22c));if(_0x1f1493===void 0x0||!_0x1f1493[_0x258211(0x13c)])_0x26b802=Buffer[_0x258211(0x162)](0x2),_0x26b802[_0x258211(0x170)](_0x51b66d,0x0);else{const _0x21de8e=Buffer['byteLength'](_0x1f1493);if(_0x21de8e>0x7b)throw new RangeError(_0x258211(0x151));_0x26b802=Buffer[_0x258211(0x162)](0x2+_0x21de8e),_0x26b802[_0x258211(0x170)](_0x51b66d,0x0),typeof _0x1f1493==_0x258211(0x1e4)?_0x26b802[_0x258211(0x1b6)](_0x1f1493,0x2):_0x26b802[_0x258211(0x274)](_0x1f1493,0x2);}}const _0x41a548={[_0x4ebd61]:_0x26b802[_0x258211(0x13c)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x6a3e27,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x258211(0x165)]!==_0x3f15c2?this[_0x258211(0x135)]([this[_0x258211(0x146)],_0x26b802,!0x1,_0x41a548,_0x5def69]):this[_0x258211(0x184)](_0x18108c[_0x258211(0x260)](_0x26b802,_0x41a548),_0x5def69);}[_0x5a1377(0x134)](_0x585ccf,_0x3e9ff3,_0x671585){const _0x2d1b4d=_0x5a1377;let _0x19e672,_0x37b48a;if(typeof _0x585ccf==_0x2d1b4d(0x1e4)?(_0x19e672=Buffer[_0x2d1b4d(0x26b)](_0x585ccf),_0x37b48a=!0x1):_0x4233f3(_0x585ccf)?(_0x19e672=_0x585ccf[_0x2d1b4d(0x180)],_0x37b48a=!0x1):(_0x585ccf=_0xdbe938(_0x585ccf),_0x19e672=_0x585ccf[_0x2d1b4d(0x13c)],_0x37b48a=_0xdbe938[_0x2d1b4d(0x14f)]),_0x19e672>0x7d)throw new RangeError(_0x2d1b4d(0x194));const _0x3de0ac={[_0x4ebd61]:_0x19e672,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3e9ff3,'maskBuffer':this[_0x2d1b4d(0x244)],'opcode':0x9,'readOnly':_0x37b48a,'rsv1':!0x1};_0x4233f3(_0x585ccf)?this['_state']!==_0x3f15c2?this[_0x2d1b4d(0x135)]([this[_0x2d1b4d(0x28e)],_0x585ccf,!0x1,_0x3de0ac,_0x671585]):this[_0x2d1b4d(0x28e)](_0x585ccf,!0x1,_0x3de0ac,_0x671585):this[_0x2d1b4d(0x165)]!==_0x3f15c2?this[_0x2d1b4d(0x135)]([this[_0x2d1b4d(0x146)],_0x585ccf,!0x1,_0x3de0ac,_0x671585]):this[_0x2d1b4d(0x184)](_0x18108c[_0x2d1b4d(0x260)](_0x585ccf,_0x3de0ac),_0x671585);}['pong'](_0x492f2e,_0x22c4f8,_0x5d93d8){const _0x3e5f7e=_0x5a1377;let _0x50d6e5,_0x50e965;if(typeof _0x492f2e=='string'?(_0x50d6e5=Buffer[_0x3e5f7e(0x26b)](_0x492f2e),_0x50e965=!0x1):_0x4233f3(_0x492f2e)?(_0x50d6e5=_0x492f2e['size'],_0x50e965=!0x1):(_0x492f2e=_0xdbe938(_0x492f2e),_0x50d6e5=_0x492f2e['length'],_0x50e965=_0xdbe938['readOnly']),_0x50d6e5>0x7d)throw new RangeError(_0x3e5f7e(0x194));const _0x2fcd8a={[_0x4ebd61]:_0x50d6e5,'fin':!0x0,'generateMask':this[_0x3e5f7e(0xf4)],'mask':_0x22c4f8,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x50e965,'rsv1':!0x1};_0x4233f3(_0x492f2e)?this[_0x3e5f7e(0x165)]!==_0x3f15c2?this['enqueue']([this[_0x3e5f7e(0x28e)],_0x492f2e,!0x1,_0x2fcd8a,_0x5d93d8]):this[_0x3e5f7e(0x28e)](_0x492f2e,!0x1,_0x2fcd8a,_0x5d93d8):this[_0x3e5f7e(0x165)]!==_0x3f15c2?this['enqueue']([this[_0x3e5f7e(0x146)],_0x492f2e,!0x1,_0x2fcd8a,_0x5d93d8]):this[_0x3e5f7e(0x184)](_0x18108c[_0x3e5f7e(0x260)](_0x492f2e,_0x2fcd8a),_0x5d93d8);}[_0x5a1377(0x227)](_0x21c338,_0x1a016c,_0x10f20d){const _0x25ec75=_0x5a1377,_0x22d3f1=this[_0x25ec75(0x14e)][_0x541cf2['extensionName']];let _0x174010=_0x1a016c[_0x25ec75(0x231)]?0x2:0x1,_0x3c38f1=_0x1a016c['compress'],_0x5b34ad,_0x2de539;typeof _0x21c338==_0x25ec75(0x1e4)?(_0x5b34ad=Buffer[_0x25ec75(0x26b)](_0x21c338),_0x2de539=!0x1):_0x4233f3(_0x21c338)?(_0x5b34ad=_0x21c338[_0x25ec75(0x180)],_0x2de539=!0x1):(_0x21c338=_0xdbe938(_0x21c338),_0x5b34ad=_0x21c338[_0x25ec75(0x13c)],_0x2de539=_0xdbe938[_0x25ec75(0x14f)]),this[_0x25ec75(0x158)]?(this[_0x25ec75(0x158)]=!0x1,_0x3c38f1&&_0x22d3f1&&_0x22d3f1['params'][_0x22d3f1[_0x25ec75(0xef)]?_0x25ec75(0x1a7):'client_no_context_takeover']&&(_0x3c38f1=_0x5b34ad>=_0x22d3f1[_0x25ec75(0x19d)]),this['_compress']=_0x3c38f1):(_0x3c38f1=!0x1,_0x174010=0x0),_0x1a016c[_0x25ec75(0x19f)]&&(this[_0x25ec75(0x158)]=!0x0);const _0x38e206={[_0x4ebd61]:_0x5b34ad,'fin':_0x1a016c[_0x25ec75(0x19f)],'generateMask':this[_0x25ec75(0xf4)],'mask':_0x1a016c[_0x25ec75(0x13a)],'maskBuffer':this['_maskBuffer'],'opcode':_0x174010,'readOnly':_0x2de539,'rsv1':_0x3c38f1};_0x4233f3(_0x21c338)?this[_0x25ec75(0x165)]!==_0x3f15c2?this['enqueue']([this[_0x25ec75(0x28e)],_0x21c338,this[_0x25ec75(0x23b)],_0x38e206,_0x10f20d]):this[_0x25ec75(0x28e)](_0x21c338,this['_compress'],_0x38e206,_0x10f20d):this[_0x25ec75(0x165)]!==_0x3f15c2?this[_0x25ec75(0x135)]([this['dispatch'],_0x21c338,this[_0x25ec75(0x23b)],_0x38e206,_0x10f20d]):this[_0x25ec75(0x146)](_0x21c338,this[_0x25ec75(0x23b)],_0x38e206,_0x10f20d);}['getBlobData'](_0x1ed9ec,_0xacf2af,_0x10b5cc,_0x326fff){const _0x1ac907=_0x5a1377;this[_0x1ac907(0x1da)]+=_0x10b5cc[_0x4ebd61],this[_0x1ac907(0x165)]=_0x557e21,_0x1ed9ec[_0x1ac907(0x238)]()[_0x1ac907(0x136)](_0x15ce9e=>{const _0x260643=_0x1ac907;if(this['_socket'][_0x260643(0x1ad)]){const _0x1479a6=new Error(_0x260643(0xe1));process[_0x260643(0x1cb)](_0x3bb903,this,_0x1479a6,_0x326fff);return;}this['_bufferedBytes']-=_0x10b5cc[_0x4ebd61];const _0x552d8e=_0xdbe938(_0x15ce9e);_0xacf2af?this[_0x260643(0x146)](_0x552d8e,_0xacf2af,_0x10b5cc,_0x326fff):(this[_0x260643(0x165)]=_0x3f15c2,this[_0x260643(0x184)](_0x18108c[_0x260643(0x260)](_0x552d8e,_0x10b5cc),_0x326fff),this[_0x260643(0x251)]());})['catch'](_0x9f716c=>{const _0x58ea9e=_0x1ac907;process[_0x58ea9e(0x1cb)](_0x454d53,this,_0x9f716c,_0x326fff);});}[_0x5a1377(0x146)](_0xff5c51,_0x4a9403,_0x9c221f,_0x5a694f){const _0x2199f0=_0x5a1377;if(!_0x4a9403){this['sendFrame'](_0x18108c[_0x2199f0(0x260)](_0xff5c51,_0x9c221f),_0x5a694f);return;}const _0x3b9b4a=this['_extensions'][_0x541cf2['extensionName']];this['_bufferedBytes']+=_0x9c221f[_0x4ebd61],this['_state']=_0x16c5b1,_0x3b9b4a[_0x2199f0(0x112)](_0xff5c51,_0x9c221f['fin'],(_0x46fae2,_0x425806)=>{const _0x460c2b=_0x2199f0;if(this['_socket'][_0x460c2b(0x1ad)]){const _0x159021=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3bb903(this,_0x159021,_0x5a694f);return;}this['_bufferedBytes']-=_0x9c221f[_0x4ebd61],this[_0x460c2b(0x165)]=_0x3f15c2,_0x9c221f['readOnly']=!0x1,this[_0x460c2b(0x184)](_0x18108c[_0x460c2b(0x260)](_0x425806,_0x9c221f),_0x5a694f),this[_0x460c2b(0x251)]();});}['dequeue'](){const _0x58d470=_0x5a1377;for(;this[_0x58d470(0x165)]===_0x3f15c2&&this[_0x58d470(0x1c3)][_0x58d470(0x13c)];){const _0x561219=this['_queue'][_0x58d470(0x14c)]();this['_bufferedBytes']-=_0x561219[0x3][_0x4ebd61],Reflect[_0x58d470(0x1f4)](_0x561219[0x0],this,_0x561219['slice'](0x1));}}['enqueue'](_0xef63ed){this['_bufferedBytes']+=_0xef63ed[0x3][_0x4ebd61],this['_queue']['push'](_0xef63ed);}[_0x5a1377(0x184)](_0x1a7742,_0x4e5261){const _0x33904b=_0x5a1377;_0x1a7742[_0x33904b(0x13c)]===0x2?(this[_0x33904b(0x131)][_0x33904b(0x201)](),this[_0x33904b(0x131)][_0x33904b(0x1b6)](_0x1a7742[0x0]),this[_0x33904b(0x131)]['write'](_0x1a7742[0x1],_0x4e5261),this['_socket'][_0x33904b(0x1ef)]()):this['_socket']['write'](_0x1a7742[0x0],_0x4e5261);}}Ee=_0x18108c;function _0x3bb903(_0x3da5c3,_0x1f4e1b,_0x439e79){const _0x45807e=_0x5a1377;typeof _0x439e79==_0x45807e(0x140)&&_0x439e79(_0x1f4e1b);for(let _0x58a630=0x0;_0x58a630<_0x3da5c3[_0x45807e(0x1c3)][_0x45807e(0x13c)];_0x58a630++){const _0xa207ac=_0x3da5c3[_0x45807e(0x1c3)][_0x58a630],_0x2c2ab9=_0xa207ac[_0xa207ac[_0x45807e(0x13c)]-0x1];typeof _0x2c2ab9==_0x45807e(0x140)&&_0x2c2ab9(_0x1f4e1b);}}function _0x454d53(_0x387154,_0x1a3fcf,_0x3b5702){const _0x46e90d=_0x5a1377;_0x3bb903(_0x387154,_0x1a3fcf,_0x3b5702),_0x387154[_0x46e90d(0x25a)](_0x1a3fcf);}return Ee;}function _0x4f84(){const _0x1cc0f6=['WS_NO_BUFFER_UTIL','_skipUTF8Validation','socketPath','isArray','_fin','size','\x22\x20must\x20have\x20only\x20a\x20single\x20value','onopen','Invalid\x20Upgrade\x20header','sendFrame','username','kListener','port','HTTP/1.1\x20','_configService','maxPayload','pow','createConnection','followRedirects','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','total-length','default','_shouldEmitClose','entries','path','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','pong','_closeMessage','_totalPayloadLength','split','_injector','_url','Sec-WebSocket-Accept:\x20','getOwnPropertyDescriptor','_threshold','concurrencyLimit','fin','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','sec-websocket-version','OPEN','unmask','clientTracking','cookie','_write','server_no_context_takeover','isServer','Opening\x20handshake\x20has\x20timed\x20out','_bufferedAmount','clientMaxWindowBits','skipUTF8Validation','destroyed','_compressed','_writableState','kCode','Maximum\x20redirects\x20exceeded','kMessage','_masked','isPaused','getInfo','write','CLOSED','createSocket','_paused','isInteger','createDeflateRaw','password','next','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','search','extensionName','kType','kReason','_queue','invalid\x20opcode\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','zlibInflateOptions','authorization','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','removeEventListener','endEmitted','nextTick','_payloadLength','Unsupported\x20protocol\x20version:\x20','setHeader','hostname','concurrency','2577530GuwyZG','clients','readUInt32BE','accept','listening','pause','sec-websocket-protocol','Upgrade:\x20websocket','text/plain','_bufferedBytes','Sec-WebSocket-Protocol','acceptAsClient','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','rsv1','request','kTarget','close','removeListener','binaryType','string','type','sec-websocket-origin','client_max_window_bits','Max\x20payload\x20size\x20exceeded','flush','261MQzAYM','socket','object','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','getConfig','uncork','species','_loop','_sender','Sec-WebSocket-Origin','apply','server_max_window_bits','writeHead','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','toString','_protocol','_decompress','_closeCode','WS_ERR_UNEXPECTED_RSV_1','_closeFrameReceived','_options','_readyState','The\x20server\x20is\x20not\x20running','cork','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','client','call','_originalSecure','reset','resume','ws:','verifyClient','digest','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','errorEmitted','callback','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','create','dispose','invalid\x20payload\x20length\x20','redirect','_messageLength','push','_originalIpc','kRun','Invalid\x20URL:\x20','WS_ERR_INVALID_UTF8','kIsForOnEventAttribute','_req','_closeTimer','setConfig','wss:','stream','Invalid\x20Sec-WebSocket-Extensions\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','decompress','forEach','objectMode','_server','Upgrade','concat','send','4941587bjykXz','sha1','abort','createError','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','generateMask','websocket','2818800iduGot','6ZsiQsx','binary','origin','host','readable','The\x20URL\x27s\x20pathname\x20is\x20empty','from','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','arrayBuffer','Sec-WebSocket-Extensions:\x20','error','_compress','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','replace','_binaryType','\x22:\x20','read','get','cleanup','_destroy','_maskBuffer','charCodeAt','CONNECTING','1179408iSDcce','normalizeParams','offer','noServer','alloc','customHeaders','controlMessage','RSV1\x20must\x20be\x20clear','handleEvent','pathname','dequeue','unexpected-response','serverMaxWindowBits','_allowSynchronousEvents','auth','WS_ERR_INVALID_CLOSE_CODE','Invalid\x20Sec-WebSocket-Accept\x20header','status-code','Unexpected\x20character\x20at\x20index\x20','onerror','_registerDependencies','getPayloadLength64','The\x20\x22','protocolVersion','backlog','frame','Invalid\x20WebSocket\x20frame:\x20','zlibDeflateOptions','setTimeout','Unexpected\x20server\x20response:\x20','text/html','isValidUTF8','serverNoContextTakeover','_readableState','listen','address','byteLength','addEventListener','url','_removeListeners','format','MASK\x20must\x20be\x20set','hash','finishRequest','perMessageDeflate','set','buffer','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_closeFrameSent','http:','base64','13,\x208','WebSocket','destroy','protocol','consume','dataMessage','clientNoContextTakeover','blob','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','\x20(supported\x20versions:\x20','bind','end','hasOwnProperty','finish','__esModule','indexOf','WS_ERR_UNEXPECTED_MASK','byteOffset','294915sbMpXC','Parameter\x20\x22','getBlobData','exports','CLOSING','connect','finished','WS_NO_UTF_8_VALIDATE','startLoop','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','conclude','buffers','_buffers','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','isIP','onclose','permessage-deflate','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','prototype','once','drain','Connection:\x20Upgrade','_isServer','setNoDelay','env','authorized','_errorEmitted','_generateMask','isBuffer','map','href','_errored','pipe','options','client_no_context_takeover','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','add','_max_window_bits','message','pending','3196256ZfhIbh','opcode','includes','kData','Basic\x20','_inflate','constructor','open','Module','_no_context_takeover','threshold','File','invalid\x20status\x20code\x20','collaboration-client-node.config','pluginName','keys','test','compress','acceptAsServer','https:','GET','WS_ERR_INVALID_OPCODE','wsClientError','getMask','wasClean','data','completeUpgrade','handleUpgrade','sec-websocket-extensions','_fragments','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','captureStackTrace','reason','_deflate','fragments','server','update','delete','Unexpected\x20end\x20of\x20input','upgrade','params','extensions','WS_ERR_EXPECTED_FIN','_mask','103864khlvCh','\x0d\x0a\x0d\x0a','allowSynchronousEvents','listeners','_socket','response','STATUS_CODES','ping','enqueue','then','jobs','code','10TXBqJL','mask','kDone','length','emitClose','invalid\x20UTF-8\x20sequence','listenerCount','function','_opcode','number','target','readUInt16BE','FIN\x20must\x20be\x20set','dispatch','getData','freeze','bufferedAmount','_maxPayload','\x22\x20subprotocol\x20is\x20duplicated','shift','haveLength','_extensions','readOnly','join','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','ws+unix:','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','timeout','arraybuffer','toLowerCase','createServer','_firstFragment','setSocket','_final','sec-websocket-key','invalid\x20opcode\x200','_fragmented','Z_SYNC_FLUSH','_originalHostOrSocketPath','nodebuffer','_redirects','allocUnsafe','getPayloadLength16','autoPong','_state','_receiver','isView','defineProperty','statusCode','readyState','headers','WS_ERR_EXPECTED_MASK','_autoPong','WS_ERR_UNEXPECTED_RSV_2_3','servername','writeUInt16BE','_httpService','defaultPort','startsWith','needDrain','emit','has','encrypted','slice','terminate','MASK\x20must\x20be\x20clear'];_0x4f84=function(){return _0x1cc0f6;};return _0x4f84();}var xe,tt;function Kt(){const _0x137d96=_0x54769d;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x634f26,kListener:_0x20a780}=V(),_0x8127ba=Symbol(_0x137d96(0x1b0)),_0x4bd3a3=Symbol(_0x137d96(0x104)),_0x416c71=Symbol('kError'),_0x522be0=Symbol(_0x137d96(0x1b2)),_0x3d0105=Symbol(_0x137d96(0x1c2)),_0x424914=Symbol(_0x137d96(0x1e0)),_0xb045db=Symbol(_0x137d96(0x1c1)),_0xd4812b=Symbol('kWasClean');class _0xb68538{constructor(_0x1d084c){this[_0x424914]=null,this[_0xb045db]=_0x1d084c;}get[_0x137d96(0x143)](){return this[_0x424914];}get['type'](){return this[_0xb045db];}}Object['defineProperty'](_0xb68538[_0x137d96(0xeb)],_0x137d96(0x143),{'enumerable':!0x0}),Object[_0x137d96(0x168)](_0xb68538['prototype'],_0x137d96(0x1e5),{'enumerable':!0x0});class _0x2d66da extends _0xb68538{constructor(_0x40ea58,_0x5a8392={}){const _0x39582b=_0x137d96;super(_0x40ea58),this[_0x8127ba]=_0x5a8392['code']===void 0x0?0x0:_0x5a8392[_0x39582b(0x138)],this[_0x3d0105]=_0x5a8392[_0x39582b(0x121)]===void 0x0?'':_0x5a8392[_0x39582b(0x121)],this[_0xd4812b]=_0x5a8392[_0x39582b(0x119)]===void 0x0?!0x1:_0x5a8392['wasClean'];}get['code'](){return this[_0x8127ba];}get['reason'](){return this[_0x3d0105];}get[_0x137d96(0x119)](){return this[_0xd4812b];}}Object[_0x137d96(0x168)](_0x2d66da[_0x137d96(0xeb)],'code',{'enumerable':!0x0}),Object[_0x137d96(0x168)](_0x2d66da[_0x137d96(0xeb)],'reason',{'enumerable':!0x0}),Object[_0x137d96(0x168)](_0x2d66da['prototype'],_0x137d96(0x119),{'enumerable':!0x0});class _0x3d6191 extends _0xb68538{constructor(_0x4c39de,_0x58417a={}){const _0x30511c=_0x137d96;super(_0x4c39de),this[_0x416c71]=_0x58417a[_0x30511c(0x23a)]===void 0x0?null:_0x58417a[_0x30511c(0x23a)],this[_0x522be0]=_0x58417a['message']===void 0x0?'':_0x58417a['message'];}get['error'](){return this[_0x416c71];}get[_0x137d96(0xff)](){return this[_0x522be0];}}Object['defineProperty'](_0x3d6191[_0x137d96(0xeb)],_0x137d96(0x23a),{'enumerable':!0x0}),Object[_0x137d96(0x168)](_0x3d6191['prototype'],'message',{'enumerable':!0x0});class _0x5b3e1e extends _0xb68538{constructor(_0x564f2d,_0x12b1c7={}){const _0x290060=_0x137d96;super(_0x564f2d),this[_0x4bd3a3]=_0x12b1c7['data']===void 0x0?null:_0x12b1c7[_0x290060(0x11a)];}get[_0x137d96(0x11a)](){return this[_0x4bd3a3];}}Object[_0x137d96(0x168)](_0x5b3e1e[_0x137d96(0xeb)],_0x137d96(0x11a),{'enumerable':!0x0}),xe={'CloseEvent':_0x2d66da,'ErrorEvent':_0x3d6191,'Event':_0xb68538,'EventTarget':{'addEventListener'(_0x416b4d,_0x1e7d8d,_0x12b56e={}){const _0x2a0b29=_0x137d96;for(const _0x4eb1b2 of this[_0x2a0b29(0x130)](_0x416b4d))if(!_0x12b56e[_0x634f26]&&_0x4eb1b2[_0x20a780]===_0x1e7d8d&&!_0x4eb1b2[_0x634f26])return;let _0x34cb8a;if(_0x416b4d===_0x2a0b29(0xff))_0x34cb8a=function(_0x1b448e,_0x593211){const _0x15d285=_0x2a0b29,_0x475dc0=new _0x5b3e1e(_0x15d285(0xff),{'data':_0x593211?_0x1b448e:_0x1b448e[_0x15d285(0x1f8)]()});_0x475dc0[_0x424914]=this,_0x2cde4c(_0x1e7d8d,this,_0x475dc0);};else{if(_0x416b4d===_0x2a0b29(0x1e1))_0x34cb8a=function(_0x4a3749,_0x654f58){const _0x32fe6d=_0x2a0b29,_0x4771af=new _0x2d66da(_0x32fe6d(0x1e1),{'code':_0x4a3749,'reason':_0x654f58['toString'](),'wasClean':this['_closeFrameReceived']&&this[_0x32fe6d(0x277)]});_0x4771af[_0x424914]=this,_0x2cde4c(_0x1e7d8d,this,_0x4771af);};else{if(_0x416b4d===_0x2a0b29(0x23a))_0x34cb8a=function(_0x5e9306){const _0x2331ee=_0x2a0b29,_0x12925f=new _0x3d6191('error',{'error':_0x5e9306,'message':_0x5e9306[_0x2331ee(0xff)]});_0x12925f[_0x424914]=this,_0x2cde4c(_0x1e7d8d,this,_0x12925f);};else{if(_0x416b4d===_0x2a0b29(0x108))_0x34cb8a=function(){const _0x3d17ba=_0x2a0b29,_0x435a4f=new _0xb68538(_0x3d17ba(0x108));_0x435a4f[_0x424914]=this,_0x2cde4c(_0x1e7d8d,this,_0x435a4f);};else return;}}}_0x34cb8a[_0x634f26]=!!_0x12b56e[_0x634f26],_0x34cb8a[_0x20a780]=_0x1e7d8d,_0x12b56e[_0x2a0b29(0xec)]?this[_0x2a0b29(0xec)](_0x416b4d,_0x34cb8a):this['on'](_0x416b4d,_0x34cb8a);},'removeEventListener'(_0x9bc8b9,_0x228534){const _0x34d1c6=_0x137d96;for(const _0x5a8ca1 of this[_0x34d1c6(0x130)](_0x9bc8b9))if(_0x5a8ca1[_0x20a780]===_0x228534&&!_0x5a8ca1[_0x634f26]){this[_0x34d1c6(0x1e2)](_0x9bc8b9,_0x5a8ca1);break;}}},'MessageEvent':_0x5b3e1e};function _0x2cde4c(_0xe0dcc8,_0x418929,_0x3eee5b){const _0x483e8c=_0x137d96;typeof _0xe0dcc8==_0x483e8c(0x1ec)&&_0xe0dcc8['handleEvent']?_0xe0dcc8[_0x483e8c(0x24f)][_0x483e8c(0x204)](_0xe0dcc8,_0x3eee5b):_0xe0dcc8[_0x483e8c(0x204)](_0x418929,_0x3eee5b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x342981}=ne();function _0x135dfb(_0x151111,_0x30c64b,_0x3acf1b){_0x151111[_0x30c64b]===void 0x0?_0x151111[_0x30c64b]=[_0x3acf1b]:_0x151111[_0x30c64b]['push'](_0x3acf1b);}function _0x11f184(_0x379c30){const _0x5ce0ec=_0x6e0b,_0x1ca049=Object[_0x5ce0ec(0x20f)](null);let _0x4daedf=Object[_0x5ce0ec(0x20f)](null),_0x3e0067=!0x1,_0x3f1626=!0x1,_0x5a92e2=!0x1,_0x366130,_0x4e6703,_0x4ffd16=-0x1,_0x5632ab=-0x1,_0xeebfd=-0x1,_0x5a1528=0x0;for(;_0x5a1528<_0x379c30[_0x5ce0ec(0x13c)];_0x5a1528++)if(_0x5632ab=_0x379c30['charCodeAt'](_0x5a1528),_0x366130===void 0x0){if(_0xeebfd===-0x1&&_0x342981[_0x5632ab]===0x1)_0x4ffd16===-0x1&&(_0x4ffd16=_0x5a1528);else{if(_0x5a1528!==0x0&&(_0x5632ab===0x20||_0x5632ab===0x9))_0xeebfd===-0x1&&_0x4ffd16!==-0x1&&(_0xeebfd=_0x5a1528);else{if(_0x5632ab===0x3b||_0x5632ab===0x2c){if(_0x4ffd16===-0x1)throw new SyntaxError(_0x5ce0ec(0x259)+_0x5a1528);_0xeebfd===-0x1&&(_0xeebfd=_0x5a1528);const _0x45f92f=_0x379c30[_0x5ce0ec(0x178)](_0x4ffd16,_0xeebfd);_0x5632ab===0x2c?(_0x135dfb(_0x1ca049,_0x45f92f,_0x4daedf),_0x4daedf=Object[_0x5ce0ec(0x20f)](null)):_0x366130=_0x45f92f,_0x4ffd16=_0xeebfd=-0x1;}else throw new SyntaxError(_0x5ce0ec(0x259)+_0x5a1528);}}}else{if(_0x4e6703===void 0x0){if(_0xeebfd===-0x1&&_0x342981[_0x5632ab]===0x1)_0x4ffd16===-0x1&&(_0x4ffd16=_0x5a1528);else{if(_0x5632ab===0x20||_0x5632ab===0x9)_0xeebfd===-0x1&&_0x4ffd16!==-0x1&&(_0xeebfd=_0x5a1528);else{if(_0x5632ab===0x3b||_0x5632ab===0x2c){if(_0x4ffd16===-0x1)throw new SyntaxError(_0x5ce0ec(0x259)+_0x5a1528);_0xeebfd===-0x1&&(_0xeebfd=_0x5a1528),_0x135dfb(_0x4daedf,_0x379c30[_0x5ce0ec(0x178)](_0x4ffd16,_0xeebfd),!0x0),_0x5632ab===0x2c&&(_0x135dfb(_0x1ca049,_0x366130,_0x4daedf),_0x4daedf=Object[_0x5ce0ec(0x20f)](null),_0x366130=void 0x0),_0x4ffd16=_0xeebfd=-0x1;}else{if(_0x5632ab===0x3d&&_0x4ffd16!==-0x1&&_0xeebfd===-0x1)_0x4e6703=_0x379c30['slice'](_0x4ffd16,_0x5a1528),_0x4ffd16=_0xeebfd=-0x1;else throw new SyntaxError(_0x5ce0ec(0x259)+_0x5a1528);}}}}else{if(_0x3f1626){if(_0x342981[_0x5632ab]!==0x1)throw new SyntaxError(_0x5ce0ec(0x259)+_0x5a1528);_0x4ffd16===-0x1?_0x4ffd16=_0x5a1528:_0x3e0067||(_0x3e0067=!0x0),_0x3f1626=!0x1;}else{if(_0x5a92e2){if(_0x342981[_0x5632ab]===0x1)_0x4ffd16===-0x1&&(_0x4ffd16=_0x5a1528);else{if(_0x5632ab===0x22&&_0x4ffd16!==-0x1)_0x5a92e2=!0x1,_0xeebfd=_0x5a1528;else{if(_0x5632ab===0x5c)_0x3f1626=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5a1528);}}}else{if(_0x5632ab===0x22&&_0x379c30[_0x5ce0ec(0x245)](_0x5a1528-0x1)===0x3d)_0x5a92e2=!0x0;else{if(_0xeebfd===-0x1&&_0x342981[_0x5632ab]===0x1)_0x4ffd16===-0x1&&(_0x4ffd16=_0x5a1528);else{if(_0x4ffd16!==-0x1&&(_0x5632ab===0x20||_0x5632ab===0x9))_0xeebfd===-0x1&&(_0xeebfd=_0x5a1528);else{if(_0x5632ab===0x3b||_0x5632ab===0x2c){if(_0x4ffd16===-0x1)throw new SyntaxError(_0x5ce0ec(0x259)+_0x5a1528);_0xeebfd===-0x1&&(_0xeebfd=_0x5a1528);let _0xec3990=_0x379c30[_0x5ce0ec(0x178)](_0x4ffd16,_0xeebfd);_0x3e0067&&(_0xec3990=_0xec3990[_0x5ce0ec(0x23d)](/\\/g,''),_0x3e0067=!0x1),_0x135dfb(_0x4daedf,_0x4e6703,_0xec3990),_0x5632ab===0x2c&&(_0x135dfb(_0x1ca049,_0x366130,_0x4daedf),_0x4daedf=Object[_0x5ce0ec(0x20f)](null),_0x366130=void 0x0),_0x4e6703=void 0x0,_0x4ffd16=_0xeebfd=-0x1;}else throw new SyntaxError(_0x5ce0ec(0x259)+_0x5a1528);}}}}}}}if(_0x4ffd16===-0x1||_0x5a92e2||_0x5632ab===0x20||_0x5632ab===0x9)throw new SyntaxError(_0x5ce0ec(0x127));_0xeebfd===-0x1&&(_0xeebfd=_0x5a1528);const _0x59a087=_0x379c30['slice'](_0x4ffd16,_0xeebfd);return _0x366130===void 0x0?_0x135dfb(_0x1ca049,_0x59a087,_0x4daedf):(_0x4e6703===void 0x0?_0x135dfb(_0x4daedf,_0x59a087,!0x0):_0x3e0067?_0x135dfb(_0x4daedf,_0x4e6703,_0x59a087['replace'](/\\/g,'')):_0x135dfb(_0x4daedf,_0x4e6703,_0x59a087),_0x135dfb(_0x1ca049,_0x366130,_0x4daedf)),_0x1ca049;}function _0x3110af(_0x4638ee){const _0x8dd70f=_0x6e0b;return Object['keys'](_0x4638ee)[_0x8dd70f(0xf6)](_0x183e7f=>{const _0x56e336=_0x8dd70f;let _0x151079=_0x4638ee[_0x183e7f];return Array['isArray'](_0x151079)||(_0x151079=[_0x151079]),_0x151079[_0x56e336(0xf6)](_0x4048e2=>[_0x183e7f][_0x56e336(0x226)](Object[_0x56e336(0x110)](_0x4048e2)[_0x56e336(0xf6)](_0x3c6457=>{const _0xd38ee=_0x56e336;let _0x4a943d=_0x4048e2[_0x3c6457];return Array[_0xd38ee(0x17e)](_0x4a943d)||(_0x4a943d=[_0x4a943d]),_0x4a943d[_0xd38ee(0xf6)](_0x3f4d49=>_0x3f4d49===!0x0?_0x3c6457:_0x3c6457+'='+_0x3f4d49)[_0xd38ee(0x150)](';\x20');}))[_0x56e336(0x150)](';\x20'))[_0x56e336(0x150)](',\x20');})[_0x8dd70f(0x150)](',\x20');}return be={'format':_0x3110af,'parse':_0x11f184},be;}var we,st;function Ie(){const _0x50cec1=_0x54769d;if(st)return we;st=0x1;const _0x850c8c=_0x5aed27,_0xbeb349=_0x15964e,_0x5d70ea=_0x134520,_0x41ba17=_0x90f3d6,_0x2c6b10=_0x5aa6a5,{randomBytes:_0x1b07b3,createHash:_0x1b1c2f}=_0x20495c,{Duplex:_0x3d41fe,Readable:_0x16c2a8}=_0x4c1cb0,{URL:_0x5e50a0}=_0x350ea2,_0x27d9ba=he(),_0x149f58=dt(),_0x4b0a8d=_t(),{isBlob:_0x2b3504}=ne(),{BINARY_TYPES:_0x356be3,EMPTY_BUFFER:_0x75c907,GUID:_0x111bab,kForOnEventAttribute:_0x3256db,kListener:_0x2af342,kStatusCode:_0x41f0ea,kWebSocket:_0x3789f9,NOOP:_0x13f08b}=V(),{EventTarget:{addEventListener:_0x48a247,removeEventListener:_0x4aaed4}}=Kt(),{format:_0x156bcc,parse:_0x42c157}=pt(),{toBuffer:_0x4c476a}=ce(),_0x54c377=0x1e*0x3e8,_0x374f29=Symbol('kAborted'),_0x2f1b5d=[0x8,0xd],_0x3beef5=[_0x50cec1(0x246),_0x50cec1(0x1a2),_0x50cec1(0x290),_0x50cec1(0x1b7)],_0xe3a6be=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1b9303 extends _0x850c8c{constructor(_0x30f46d,_0x2a2e5c,_0x3d1bc8){const _0x2bff18=_0x50cec1;super(),this[_0x2bff18(0x23e)]=_0x356be3[0x0],this[_0x2bff18(0x1fb)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2bff18(0x277)]=!0x1,this[_0x2bff18(0x196)]=_0x75c907,this[_0x2bff18(0x21b)]=null,this[_0x2bff18(0xf3)]=!0x1,this['_extensions']={},this[_0x2bff18(0x1b9)]=!0x1,this[_0x2bff18(0x1f9)]='',this[_0x2bff18(0x1ff)]=_0x1b9303['CONNECTING'],this['_receiver']=null,this[_0x2bff18(0x1f2)]=null,this['_socket']=null,_0x30f46d!==null?(this['_bufferedAmount']=0x0,this[_0x2bff18(0xef)]=!0x1,this[_0x2bff18(0x161)]=0x0,_0x2a2e5c===void 0x0?_0x2a2e5c=[]:Array['isArray'](_0x2a2e5c)||(typeof _0x2a2e5c==_0x2bff18(0x1ec)&&_0x2a2e5c!==null?(_0x3d1bc8=_0x2a2e5c,_0x2a2e5c=[]):_0x2a2e5c=[_0x2a2e5c]),_0x2a40e0(this,_0x30f46d,_0x2a2e5c,_0x3d1bc8)):(this[_0x2bff18(0x16d)]=_0x3d1bc8['autoPong'],this['_isServer']=!0x0);}get[_0x50cec1(0x1e3)](){return this['_binaryType'];}set[_0x50cec1(0x1e3)](_0x361741){const _0x142222=_0x50cec1;_0x356be3[_0x142222(0x103)](_0x361741)&&(this[_0x142222(0x23e)]=_0x361741,this[_0x142222(0x166)]&&(this[_0x142222(0x166)][_0x142222(0x23e)]=_0x361741));}get['bufferedAmount'](){const _0x139a4b=_0x50cec1;return this[_0x139a4b(0x131)]?this[_0x139a4b(0x131)][_0x139a4b(0x1af)]['length']+this[_0x139a4b(0x1f2)][_0x139a4b(0x1da)]:this['_bufferedAmount'];}get[_0x50cec1(0x12a)](){const _0x407531=_0x50cec1;return Object[_0x407531(0x110)](this['_extensions'])[_0x407531(0x150)]();}get[_0x50cec1(0x1b4)](){const _0xf242b4=_0x50cec1;return this[_0xf242b4(0x1b9)];}get[_0x50cec1(0xe8)](){return null;}get[_0x50cec1(0x25a)](){return null;}get[_0x50cec1(0x182)](){return null;}get['onmessage'](){return null;}get[_0x50cec1(0x27d)](){const _0x715567=_0x50cec1;return this[_0x715567(0x1f9)];}get['readyState'](){const _0x466103=_0x50cec1;return this[_0x466103(0x1ff)];}get[_0x50cec1(0x26d)](){const _0x50041f=_0x50cec1;return this[_0x50041f(0x19a)];}[_0x50cec1(0x159)](_0x3b1455,_0x426545,_0x3c3e25){const _0x5de8bc=_0x50cec1,_0x56fada=new _0x149f58({'allowSynchronousEvents':_0x3c3e25[_0x5de8bc(0x12f)],'binaryType':this[_0x5de8bc(0x1e3)],'extensions':this[_0x5de8bc(0x14e)],'isServer':this[_0x5de8bc(0xef)],'maxPayload':_0x3c3e25[_0x5de8bc(0x18a)],'skipUTF8Validation':_0x3c3e25['skipUTF8Validation']}),_0x5a0af6=new _0x4b0a8d(_0x3b1455,this['_extensions'],_0x3c3e25['generateMask']);this['_receiver']=_0x56fada,this[_0x5de8bc(0x1f2)]=_0x5a0af6,this[_0x5de8bc(0x131)]=_0x3b1455,_0x56fada[_0x3789f9]=this,_0x5a0af6[_0x3789f9]=this,_0x3b1455[_0x3789f9]=this,_0x56fada['on']('conclude',_0x3225e5),_0x56fada['on'](_0x5de8bc(0xed),_0x5bb35c),_0x56fada['on']('error',_0x4d8e47),_0x56fada['on'](_0x5de8bc(0xff),_0x50f085),_0x56fada['on']('ping',_0x14f379),_0x56fada['on'](_0x5de8bc(0x195),_0x185319),_0x5a0af6[_0x5de8bc(0x25a)]=_0x9b90e9,_0x3b1455[_0x5de8bc(0x263)]&&_0x3b1455[_0x5de8bc(0x263)](0x0),_0x3b1455[_0x5de8bc(0xf0)]&&_0x3b1455['setNoDelay'](),_0x426545['length']>0x0&&_0x3b1455['unshift'](_0x426545),_0x3b1455['on']('close',_0x2902ae),_0x3b1455['on'](_0x5de8bc(0x11a),_0x3f8307),_0x3b1455['on']('end',_0x1d0b26),_0x3b1455['on']('error',_0x51e8a6),this['_readyState']=_0x1b9303[_0x5de8bc(0x1a2)],this['emit'](_0x5de8bc(0x108));}[_0x50cec1(0x13d)](){const _0x24c355=_0x50cec1;if(!this[_0x24c355(0x131)]){this[_0x24c355(0x1ff)]=_0x1b9303[_0x24c355(0x1b7)],this[_0x24c355(0x175)]('close',this['_closeCode'],this[_0x24c355(0x196)]);return;}this[_0x24c355(0x14e)][_0x27d9ba[_0x24c355(0x1c0)]]&&this['_extensions'][_0x27d9ba[_0x24c355(0x1c0)]][_0x24c355(0x242)](),this[_0x24c355(0x166)]['removeAllListeners'](),this[_0x24c355(0x1ff)]=_0x1b9303[_0x24c355(0x1b7)],this['emit'](_0x24c355(0x1e1),this[_0x24c355(0x1fb)],this['_closeMessage']);}[_0x50cec1(0x1e1)](_0x1b13b0,_0x316297){const _0x2238a3=_0x50cec1;if(this[_0x2238a3(0x16a)]!==_0x1b9303['CLOSED']){if(this['readyState']===_0x1b9303[_0x2238a3(0x246)]){_0x16cdc7(this,this[_0x2238a3(0x21a)],_0x2238a3(0x20b));return;}if(this[_0x2238a3(0x16a)]===_0x1b9303[_0x2238a3(0x290)]){this['_closeFrameSent']&&(this[_0x2238a3(0x1fd)]||this[_0x2238a3(0x166)]['_writableState']['errorEmitted'])&&this['_socket'][_0x2238a3(0x285)]();return;}this[_0x2238a3(0x1ff)]=_0x1b9303[_0x2238a3(0x290)],this[_0x2238a3(0x1f2)][_0x2238a3(0x1e1)](_0x1b13b0,_0x316297,!this[_0x2238a3(0xef)],_0x314265=>{const _0x5d783b=_0x2238a3;_0x314265||(this[_0x5d783b(0x277)]=!0x0,(this[_0x5d783b(0x1fd)]||this['_receiver'][_0x5d783b(0x1af)][_0x5d783b(0x20c)])&&this['_socket'][_0x5d783b(0x285)]());}),_0x23f97a(this);}}[_0x50cec1(0x1d6)](){const _0x1dbb72=_0x50cec1;this[_0x1dbb72(0x16a)]===_0x1b9303[_0x1dbb72(0x246)]||this[_0x1dbb72(0x16a)]===_0x1b9303[_0x1dbb72(0x1b7)]||(this['_paused']=!0x0,this[_0x1dbb72(0x131)][_0x1dbb72(0x1d6)]());}[_0x50cec1(0x134)](_0x1d69c4,_0x5f062f,_0x2b649a){const _0x2e2640=_0x50cec1;if(this[_0x2e2640(0x16a)]===_0x1b9303[_0x2e2640(0x246)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1d69c4==_0x2e2640(0x140)?(_0x2b649a=_0x1d69c4,_0x1d69c4=_0x5f062f=void 0x0):typeof _0x5f062f==_0x2e2640(0x140)&&(_0x2b649a=_0x5f062f,_0x5f062f=void 0x0),typeof _0x1d69c4==_0x2e2640(0x142)&&(_0x1d69c4=_0x1d69c4['toString']()),this[_0x2e2640(0x16a)]!==_0x1b9303[_0x2e2640(0x1a2)]){_0x562fc5(this,_0x1d69c4,_0x2b649a);return;}_0x5f062f===void 0x0&&(_0x5f062f=!this[_0x2e2640(0xef)]),this['_sender'][_0x2e2640(0x134)](_0x1d69c4||_0x75c907,_0x5f062f,_0x2b649a);}[_0x50cec1(0x195)](_0x285479,_0x13e5e1,_0x15bb53){const _0xab1d77=_0x50cec1;if(this[_0xab1d77(0x16a)]===_0x1b9303[_0xab1d77(0x246)])throw new Error(_0xab1d77(0x237));if(typeof _0x285479==_0xab1d77(0x140)?(_0x15bb53=_0x285479,_0x285479=_0x13e5e1=void 0x0):typeof _0x13e5e1==_0xab1d77(0x140)&&(_0x15bb53=_0x13e5e1,_0x13e5e1=void 0x0),typeof _0x285479==_0xab1d77(0x142)&&(_0x285479=_0x285479[_0xab1d77(0x1f8)]()),this[_0xab1d77(0x16a)]!==_0x1b9303[_0xab1d77(0x1a2)]){_0x562fc5(this,_0x285479,_0x15bb53);return;}_0x13e5e1===void 0x0&&(_0x13e5e1=!this[_0xab1d77(0xef)]),this['_sender'][_0xab1d77(0x195)](_0x285479||_0x75c907,_0x13e5e1,_0x15bb53);}[_0x50cec1(0x207)](){const _0xa2f687=_0x50cec1;this[_0xa2f687(0x16a)]===_0x1b9303[_0xa2f687(0x246)]||this[_0xa2f687(0x16a)]===_0x1b9303[_0xa2f687(0x1b7)]||(this['_paused']=!0x1,this[_0xa2f687(0x166)][_0xa2f687(0x1af)][_0xa2f687(0x174)]||this[_0xa2f687(0x131)]['resume']());}[_0x50cec1(0x227)](_0x2a0902,_0x2b0f1c,_0x111547){const _0x365571=_0x50cec1;if(this[_0x365571(0x16a)]===_0x1b9303['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2b0f1c==_0x365571(0x140)&&(_0x111547=_0x2b0f1c,_0x2b0f1c={}),typeof _0x2a0902==_0x365571(0x142)&&(_0x2a0902=_0x2a0902['toString']()),this['readyState']!==_0x1b9303['OPEN']){_0x562fc5(this,_0x2a0902,_0x111547);return;}const _0x5a30f5={'binary':typeof _0x2a0902!=_0x365571(0x1e4),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x2b0f1c};this[_0x365571(0x14e)][_0x27d9ba[_0x365571(0x1c0)]]||(_0x5a30f5[_0x365571(0x112)]=!0x1),this[_0x365571(0x1f2)]['send'](_0x2a0902||_0x75c907,_0x5a30f5,_0x111547);}[_0x50cec1(0x179)](){const _0x24e121=_0x50cec1;if(this[_0x24e121(0x16a)]!==_0x1b9303[_0x24e121(0x1b7)]){if(this[_0x24e121(0x16a)]===_0x1b9303[_0x24e121(0x246)]){_0x16cdc7(this,this[_0x24e121(0x21a)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x24e121(0x131)]&&(this['_readyState']=_0x1b9303[_0x24e121(0x290)],this[_0x24e121(0x131)][_0x24e121(0x27c)]());}}}Object[_0x50cec1(0x168)](_0x1b9303,_0x50cec1(0x246),{'enumerable':!0x0,'value':_0x3beef5['indexOf'](_0x50cec1(0x246))}),Object[_0x50cec1(0x168)](_0x1b9303[_0x50cec1(0xeb)],_0x50cec1(0x246),{'enumerable':!0x0,'value':_0x3beef5[_0x50cec1(0x289)](_0x50cec1(0x246))}),Object[_0x50cec1(0x168)](_0x1b9303,'OPEN',{'enumerable':!0x0,'value':_0x3beef5[_0x50cec1(0x289)]('OPEN')}),Object[_0x50cec1(0x168)](_0x1b9303[_0x50cec1(0xeb)],_0x50cec1(0x1a2),{'enumerable':!0x0,'value':_0x3beef5[_0x50cec1(0x289)](_0x50cec1(0x1a2))}),Object[_0x50cec1(0x168)](_0x1b9303,_0x50cec1(0x290),{'enumerable':!0x0,'value':_0x3beef5[_0x50cec1(0x289)](_0x50cec1(0x290))}),Object[_0x50cec1(0x168)](_0x1b9303[_0x50cec1(0xeb)],_0x50cec1(0x290),{'enumerable':!0x0,'value':_0x3beef5['indexOf']('CLOSING')}),Object['defineProperty'](_0x1b9303,'CLOSED',{'enumerable':!0x0,'value':_0x3beef5[_0x50cec1(0x289)]('CLOSED')}),Object[_0x50cec1(0x168)](_0x1b9303['prototype'],_0x50cec1(0x1b7),{'enumerable':!0x0,'value':_0x3beef5[_0x50cec1(0x289)](_0x50cec1(0x1b7))}),[_0x50cec1(0x1e3),_0x50cec1(0x149),_0x50cec1(0x12a),_0x50cec1(0x1b4),_0x50cec1(0x27d),_0x50cec1(0x16a),_0x50cec1(0x26d)]['forEach'](_0x2bfd4e=>{const _0x2d722=_0x50cec1;Object[_0x2d722(0x168)](_0x1b9303[_0x2d722(0xeb)],_0x2bfd4e,{'enumerable':!0x0});}),['open',_0x50cec1(0x23a),_0x50cec1(0x1e1),'message'][_0x50cec1(0x222)](_0x43ac9c=>{const _0x2e2059=_0x50cec1;Object[_0x2e2059(0x168)](_0x1b9303['prototype'],'on'+_0x43ac9c,{'enumerable':!0x0,'get'(){const _0x3914c0=_0x2e2059;for(const _0xec0f89 of this[_0x3914c0(0x130)](_0x43ac9c))if(_0xec0f89[_0x3256db])return _0xec0f89[_0x2af342];return null;},'set'(_0x41b020){const _0x138e4b=_0x2e2059;for(const _0xcf8234 of this[_0x138e4b(0x130)](_0x43ac9c))if(_0xcf8234[_0x3256db]){this[_0x138e4b(0x1e2)](_0x43ac9c,_0xcf8234);break;}typeof _0x41b020==_0x138e4b(0x140)&&this[_0x138e4b(0x26c)](_0x43ac9c,_0x41b020,{[_0x3256db]:!0x0});}});}),_0x1b9303['prototype'][_0x50cec1(0x26c)]=_0x48a247,_0x1b9303[_0x50cec1(0xeb)][_0x50cec1(0x1c9)]=_0x4aaed4,we=_0x1b9303;function _0x2a40e0(_0x2ae77e,_0x1dfedf,_0x3fda82,_0x499f0d){const _0x3b3b99=_0x50cec1,_0x24d3ab={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2f1b5d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x499f0d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2ae77e['_autoPong']=_0x24d3ab[_0x3b3b99(0x164)],!_0x2f1b5d['includes'](_0x24d3ab[_0x3b3b99(0x25e)]))throw new RangeError(_0x3b3b99(0x1cd)+_0x24d3ab[_0x3b3b99(0x25e)]+_0x3b3b99(0x283)+_0x2f1b5d[_0x3b3b99(0x150)](',\x20')+')');let _0x4919ea;if(_0x1dfedf instanceof _0x5e50a0)_0x4919ea=_0x1dfedf;else try{_0x4919ea=new _0x5e50a0(_0x1dfedf);}catch{throw new SyntaxError(_0x3b3b99(0x217)+_0x1dfedf);}_0x4919ea[_0x3b3b99(0x27d)]===_0x3b3b99(0x278)?_0x4919ea['protocol']=_0x3b3b99(0x208):_0x4919ea[_0x3b3b99(0x27d)]===_0x3b3b99(0x114)&&(_0x4919ea[_0x3b3b99(0x27d)]=_0x3b3b99(0x21d)),_0x2ae77e[_0x3b3b99(0x19a)]=_0x4919ea[_0x3b3b99(0xf7)];const _0x41d36b=_0x4919ea[_0x3b3b99(0x27d)]==='wss:',_0x2d79fb=_0x4919ea[_0x3b3b99(0x27d)]===_0x3b3b99(0x152);let _0x58871a;if(_0x4919ea[_0x3b3b99(0x27d)]!==_0x3b3b99(0x208)&&!_0x41d36b&&!_0x2d79fb?_0x58871a=_0x3b3b99(0x20e):_0x2d79fb&&!_0x4919ea['pathname']?_0x58871a=_0x3b3b99(0x235):_0x4919ea[_0x3b3b99(0x271)]&&(_0x58871a='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x58871a){const _0x761b90=new SyntaxError(_0x58871a);if(_0x2ae77e[_0x3b3b99(0x161)]===0x0)throw _0x761b90;_0x354406(_0x2ae77e,_0x761b90);return;}const _0x2b4350=_0x41d36b?0x1bb:0x50,_0x1694e9=_0x1b07b3(0x10)[_0x3b3b99(0x1f8)](_0x3b3b99(0x279)),_0x2f6275=_0x41d36b?_0xbeb349['request']:_0x5d70ea[_0x3b3b99(0x1df)],_0x73d423=new Set();let _0x77e3bd;if(_0x24d3ab['createConnection']=_0x24d3ab[_0x3b3b99(0x18c)]||(_0x41d36b?_0x1614d9:_0xd14d1d),_0x24d3ab[_0x3b3b99(0x172)]=_0x24d3ab[_0x3b3b99(0x172)]||_0x2b4350,_0x24d3ab[_0x3b3b99(0x187)]=_0x4919ea['port']||_0x2b4350,_0x24d3ab[_0x3b3b99(0x233)]=_0x4919ea[_0x3b3b99(0x1cf)][_0x3b3b99(0x173)]('[')?_0x4919ea[_0x3b3b99(0x1cf)][_0x3b3b99(0x178)](0x1,-0x1):_0x4919ea['hostname'],_0x24d3ab[_0x3b3b99(0x16b)]={..._0x24d3ab[_0x3b3b99(0x16b)],'Sec-WebSocket-Version':_0x24d3ab[_0x3b3b99(0x25e)],'Sec-WebSocket-Key':_0x1694e9,'Connection':_0x3b3b99(0x225),'Upgrade':'websocket'},_0x24d3ab[_0x3b3b99(0x193)]=_0x4919ea[_0x3b3b99(0x250)]+_0x4919ea[_0x3b3b99(0x1bf)],_0x24d3ab[_0x3b3b99(0x154)]=_0x24d3ab['handshakeTimeout'],_0x24d3ab[_0x3b3b99(0x273)]&&(_0x77e3bd=new _0x27d9ba(_0x24d3ab['perMessageDeflate']!==!0x0?_0x24d3ab[_0x3b3b99(0x273)]:{},!0x1,_0x24d3ab[_0x3b3b99(0x18a)]),_0x24d3ab[_0x3b3b99(0x16b)]['Sec-WebSocket-Extensions']=_0x156bcc({[_0x27d9ba[_0x3b3b99(0x1c0)]]:_0x77e3bd['offer']()})),_0x3fda82[_0x3b3b99(0x13c)]){for(const _0x4a343a of _0x3fda82){if(typeof _0x4a343a!=_0x3b3b99(0x1e4)||!_0xe3a6be['test'](_0x4a343a)||_0x73d423[_0x3b3b99(0x176)](_0x4a343a))throw new SyntaxError(_0x3b3b99(0xe6));_0x73d423[_0x3b3b99(0xfd)](_0x4a343a);}_0x24d3ab['headers'][_0x3b3b99(0x1db)]=_0x3fda82[_0x3b3b99(0x150)](',');}if(_0x24d3ab[_0x3b3b99(0x232)]&&(_0x24d3ab[_0x3b3b99(0x25e)]<0xd?_0x24d3ab[_0x3b3b99(0x16b)][_0x3b3b99(0x1f3)]=_0x24d3ab[_0x3b3b99(0x232)]:_0x24d3ab[_0x3b3b99(0x16b)]['Origin']=_0x24d3ab[_0x3b3b99(0x232)]),(_0x4919ea[_0x3b3b99(0x185)]||_0x4919ea[_0x3b3b99(0x1bc)])&&(_0x24d3ab[_0x3b3b99(0x255)]=_0x4919ea['username']+':'+_0x4919ea[_0x3b3b99(0x1bc)]),_0x2d79fb){const _0x57b554=_0x24d3ab['path'][_0x3b3b99(0x198)](':');_0x24d3ab[_0x3b3b99(0x17d)]=_0x57b554[0x0],_0x24d3ab[_0x3b3b99(0x193)]=_0x57b554[0x1];}let _0x4014fd;if(_0x24d3ab[_0x3b3b99(0x18d)]){if(_0x2ae77e[_0x3b3b99(0x161)]===0x0){_0x2ae77e[_0x3b3b99(0x215)]=_0x2d79fb,_0x2ae77e[_0x3b3b99(0x205)]=_0x41d36b,_0x2ae77e[_0x3b3b99(0x15f)]=_0x2d79fb?_0x24d3ab[_0x3b3b99(0x17d)]:_0x4919ea[_0x3b3b99(0x233)];const _0x1b6d42=_0x499f0d&&_0x499f0d['headers'];if(_0x499f0d={..._0x499f0d,'headers':{}},_0x1b6d42){for(const [_0x1cf540,_0x56da02]of Object[_0x3b3b99(0x192)](_0x1b6d42))_0x499f0d[_0x3b3b99(0x16b)][_0x1cf540['toLowerCase']()]=_0x56da02;}}else{if(_0x2ae77e['listenerCount'](_0x3b3b99(0x212))===0x0){const _0x2e38f2=_0x2d79fb?_0x2ae77e[_0x3b3b99(0x215)]?_0x24d3ab['socketPath']===_0x2ae77e[_0x3b3b99(0x15f)]:!0x1:_0x2ae77e[_0x3b3b99(0x215)]?!0x1:_0x4919ea[_0x3b3b99(0x233)]===_0x2ae77e[_0x3b3b99(0x15f)];(!_0x2e38f2||_0x2ae77e[_0x3b3b99(0x205)]&&!_0x41d36b)&&(delete _0x24d3ab[_0x3b3b99(0x16b)][_0x3b3b99(0x1c7)],delete _0x24d3ab[_0x3b3b99(0x16b)]['cookie'],_0x2e38f2||delete _0x24d3ab[_0x3b3b99(0x16b)]['host'],_0x24d3ab['auth']=void 0x0);}}_0x24d3ab[_0x3b3b99(0x255)]&&!_0x499f0d[_0x3b3b99(0x16b)]['authorization']&&(_0x499f0d[_0x3b3b99(0x16b)][_0x3b3b99(0x1c7)]=_0x3b3b99(0x105)+Buffer[_0x3b3b99(0x236)](_0x24d3ab['auth'])[_0x3b3b99(0x1f8)](_0x3b3b99(0x279))),_0x4014fd=_0x2ae77e[_0x3b3b99(0x21a)]=_0x2f6275(_0x24d3ab),_0x2ae77e[_0x3b3b99(0x161)]&&_0x2ae77e[_0x3b3b99(0x175)](_0x3b3b99(0x212),_0x2ae77e[_0x3b3b99(0x26d)],_0x4014fd);}else _0x4014fd=_0x2ae77e[_0x3b3b99(0x21a)]=_0x2f6275(_0x24d3ab);_0x24d3ab['timeout']&&_0x4014fd['on'](_0x3b3b99(0x154),()=>{const _0x46e34e=_0x3b3b99;_0x16cdc7(_0x2ae77e,_0x4014fd,_0x46e34e(0x1a9));}),_0x4014fd['on'](_0x3b3b99(0x23a),_0x2e710f=>{const _0x463c89=_0x3b3b99;_0x4014fd===null||_0x4014fd[_0x374f29]||(_0x4014fd=_0x2ae77e[_0x463c89(0x21a)]=null,_0x354406(_0x2ae77e,_0x2e710f));}),_0x4014fd['on'](_0x3b3b99(0x132),_0x3b075d=>{const _0x28d721=_0x3b3b99,_0x14a46f=_0x3b075d[_0x28d721(0x16b)]['location'],_0x51c99a=_0x3b075d[_0x28d721(0x169)];if(_0x14a46f&&_0x24d3ab['followRedirects']&&_0x51c99a>=0x12c&&_0x51c99a<0x190){if(++_0x2ae77e['_redirects']>_0x24d3ab['maxRedirects']){_0x16cdc7(_0x2ae77e,_0x4014fd,_0x28d721(0x1b1));return;}_0x4014fd[_0x28d721(0x22a)]();let _0x2607d9;try{_0x2607d9=new _0x5e50a0(_0x14a46f,_0x1dfedf);}catch{const _0x1c0d32=new SyntaxError('Invalid\x20URL:\x20'+_0x14a46f);_0x354406(_0x2ae77e,_0x1c0d32);return;}_0x2a40e0(_0x2ae77e,_0x2607d9,_0x3fda82,_0x499f0d);}else _0x2ae77e[_0x28d721(0x175)](_0x28d721(0x252),_0x4014fd,_0x3b075d)||_0x16cdc7(_0x2ae77e,_0x4014fd,_0x28d721(0x264)+_0x3b075d[_0x28d721(0x169)]);}),_0x4014fd['on'](_0x3b3b99(0x128),(_0x46b52b,_0x4be06b,_0xd46d1)=>{const _0xc8bb57=_0x3b3b99;if(_0x2ae77e[_0xc8bb57(0x175)]('upgrade',_0x46b52b),_0x2ae77e[_0xc8bb57(0x16a)]!==_0x1b9303[_0xc8bb57(0x246)])return;_0x4014fd=_0x2ae77e[_0xc8bb57(0x21a)]=null;const _0x1f29bd=_0x46b52b['headers']['upgrade'];if(_0x1f29bd===void 0x0||_0x1f29bd[_0xc8bb57(0x156)]()!==_0xc8bb57(0x22e)){_0x16cdc7(_0x2ae77e,_0x4be06b,_0xc8bb57(0x183));return;}const _0x9423eb=_0x1b1c2f(_0xc8bb57(0x229))[_0xc8bb57(0x125)](_0x1694e9+_0x111bab)['digest'](_0xc8bb57(0x279));if(_0x46b52b[_0xc8bb57(0x16b)]['sec-websocket-accept']!==_0x9423eb){_0x16cdc7(_0x2ae77e,_0x4be06b,_0xc8bb57(0x257));return;}const _0x4e2f0a=_0x46b52b[_0xc8bb57(0x16b)][_0xc8bb57(0x1d7)];let _0x22cda1;if(_0x4e2f0a!==void 0x0?_0x73d423[_0xc8bb57(0x180)]?_0x73d423[_0xc8bb57(0x176)](_0x4e2f0a)||(_0x22cda1='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x22cda1=_0xc8bb57(0x282):_0x73d423['size']&&(_0x22cda1='Server\x20sent\x20no\x20subprotocol'),_0x22cda1){_0x16cdc7(_0x2ae77e,_0x4be06b,_0x22cda1);return;}_0x4e2f0a&&(_0x2ae77e[_0xc8bb57(0x1f9)]=_0x4e2f0a);const _0x1601af=_0x46b52b[_0xc8bb57(0x16b)][_0xc8bb57(0x11d)];if(_0x1601af!==void 0x0){if(!_0x77e3bd){_0x16cdc7(_0x2ae77e,_0x4be06b,_0xc8bb57(0x18e));return;}let _0x2cc6dc;try{_0x2cc6dc=_0x42c157(_0x1601af);}catch{_0x16cdc7(_0x2ae77e,_0x4be06b,_0xc8bb57(0x21f));return;}const _0x40d7c8=Object[_0xc8bb57(0x110)](_0x2cc6dc);if(_0x40d7c8[_0xc8bb57(0x13c)]!==0x1||_0x40d7c8[0x0]!==_0x27d9ba[_0xc8bb57(0x1c0)]){_0x16cdc7(_0x2ae77e,_0x4be06b,_0xc8bb57(0x1c8));return;}try{_0x77e3bd[_0xc8bb57(0x1d4)](_0x2cc6dc[_0x27d9ba[_0xc8bb57(0x1c0)]]);}catch{_0x16cdc7(_0x2ae77e,_0x4be06b,_0xc8bb57(0x21f));return;}_0x2ae77e[_0xc8bb57(0x14e)][_0x27d9ba[_0xc8bb57(0x1c0)]]=_0x77e3bd;}_0x2ae77e['setSocket'](_0x4be06b,_0xd46d1,{'allowSynchronousEvents':_0x24d3ab[_0xc8bb57(0x12f)],'generateMask':_0x24d3ab[_0xc8bb57(0x22d)],'maxPayload':_0x24d3ab[_0xc8bb57(0x18a)],'skipUTF8Validation':_0x24d3ab[_0xc8bb57(0x1ac)]});}),_0x24d3ab[_0x3b3b99(0x272)]?_0x24d3ab['finishRequest'](_0x4014fd,_0x2ae77e):_0x4014fd[_0x3b3b99(0x285)]();}function _0x354406(_0x492d57,_0x3bc837){const _0x31843c=_0x50cec1;_0x492d57[_0x31843c(0x1ff)]=_0x1b9303[_0x31843c(0x290)],_0x492d57[_0x31843c(0xf3)]=!0x0,_0x492d57[_0x31843c(0x175)]('error',_0x3bc837),_0x492d57[_0x31843c(0x13d)]();}function _0xd14d1d(_0x2e07ef){const _0x5f4545=_0x50cec1;return _0x2e07ef[_0x5f4545(0x193)]=_0x2e07ef['socketPath'],_0x41ba17[_0x5f4545(0x291)](_0x2e07ef);}function _0x1614d9(_0x461ce7){const _0x546017=_0x50cec1;return _0x461ce7[_0x546017(0x193)]=void 0x0,!_0x461ce7[_0x546017(0x16f)]&&_0x461ce7[_0x546017(0x16f)]!==''&&(_0x461ce7[_0x546017(0x16f)]=_0x41ba17[_0x546017(0xe7)](_0x461ce7['host'])?'':_0x461ce7[_0x546017(0x233)]),_0x2c6b10[_0x546017(0x291)](_0x461ce7);}function _0x16cdc7(_0x302613,_0x4953a1,_0x95a3b9){const _0x389983=_0x50cec1;_0x302613[_0x389983(0x1ff)]=_0x1b9303['CLOSING'];const _0x38b037=new Error(_0x95a3b9);Error[_0x389983(0x120)](_0x38b037,_0x16cdc7),_0x4953a1[_0x389983(0x1ce)]?(_0x4953a1[_0x374f29]=!0x0,_0x4953a1['abort'](),_0x4953a1[_0x389983(0x1eb)]&&!_0x4953a1['socket']['destroyed']&&_0x4953a1[_0x389983(0x1eb)][_0x389983(0x27c)](),process['nextTick'](_0x354406,_0x302613,_0x38b037)):(_0x4953a1[_0x389983(0x27c)](_0x38b037),_0x4953a1['once'](_0x389983(0x23a),_0x302613[_0x389983(0x175)][_0x389983(0x284)](_0x302613,_0x389983(0x23a))),_0x4953a1['once'](_0x389983(0x1e1),_0x302613[_0x389983(0x13d)][_0x389983(0x284)](_0x302613)));}function _0x562fc5(_0xad9839,_0x602edc,_0x478dcd){const _0x3ed250=_0x50cec1;if(_0x602edc){const _0x427714=_0x2b3504(_0x602edc)?_0x602edc[_0x3ed250(0x180)]:_0x4c476a(_0x602edc)[_0x3ed250(0x13c)];_0xad9839[_0x3ed250(0x131)]?_0xad9839[_0x3ed250(0x1f2)][_0x3ed250(0x1da)]+=_0x427714:_0xad9839[_0x3ed250(0x1aa)]+=_0x427714;}if(_0x478dcd){const _0x12075d=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xad9839[_0x3ed250(0x16a)]+'\x20('+_0x3beef5[_0xad9839[_0x3ed250(0x16a)]]+')');process[_0x3ed250(0x1cb)](_0x478dcd,_0x12075d);}}function _0x3225e5(_0x4c9cdd,_0x4ae9e3){const _0x437293=_0x50cec1,_0x54df45=this[_0x3789f9];_0x54df45['_closeFrameReceived']=!0x0,_0x54df45[_0x437293(0x196)]=_0x4ae9e3,_0x54df45['_closeCode']=_0x4c9cdd,_0x54df45[_0x437293(0x131)][_0x3789f9]!==void 0x0&&(_0x54df45[_0x437293(0x131)]['removeListener'](_0x437293(0x11a),_0x3f8307),process['nextTick'](_0x34fe20,_0x54df45[_0x437293(0x131)]),_0x4c9cdd===0x3ed?_0x54df45[_0x437293(0x1e1)]():_0x54df45[_0x437293(0x1e1)](_0x4c9cdd,_0x4ae9e3));}function _0x5bb35c(){const _0xfca4e5=_0x50cec1,_0x5b9e89=this[_0x3789f9];_0x5b9e89[_0xfca4e5(0x1b4)]||_0x5b9e89['_socket'][_0xfca4e5(0x207)]();}function _0x4d8e47(_0x54f454){const _0xc6511c=_0x50cec1,_0x320697=this[_0x3789f9];_0x320697['_socket'][_0x3789f9]!==void 0x0&&(_0x320697[_0xc6511c(0x131)][_0xc6511c(0x1e2)](_0xc6511c(0x11a),_0x3f8307),process[_0xc6511c(0x1cb)](_0x34fe20,_0x320697[_0xc6511c(0x131)]),_0x320697[_0xc6511c(0x1e1)](_0x54f454[_0x41f0ea])),_0x320697[_0xc6511c(0xf3)]||(_0x320697['_errorEmitted']=!0x0,_0x320697[_0xc6511c(0x175)](_0xc6511c(0x23a),_0x54f454));}function _0xc61016(){const _0xcb262b=_0x50cec1;this[_0x3789f9][_0xcb262b(0x13d)]();}function _0x50f085(_0x4df81f,_0x30e99){const _0x4ae4ec=_0x50cec1;this[_0x3789f9]['emit'](_0x4ae4ec(0xff),_0x4df81f,_0x30e99);}function _0x14f379(_0x5a4d09){const _0x46232d=_0x50cec1,_0x3b9e3e=this[_0x3789f9];_0x3b9e3e[_0x46232d(0x16d)]&&_0x3b9e3e[_0x46232d(0x195)](_0x5a4d09,!this[_0x46232d(0xef)],_0x13f08b),_0x3b9e3e[_0x46232d(0x175)]('ping',_0x5a4d09);}function _0x185319(_0x31d09e){const _0x3a3841=_0x50cec1;this[_0x3789f9][_0x3a3841(0x175)](_0x3a3841(0x195),_0x31d09e);}function _0x34fe20(_0x33666c){_0x33666c['resume']();}function _0x9b90e9(_0x343957){const _0x40aa91=_0x50cec1,_0x1a01ba=this[_0x3789f9];_0x1a01ba[_0x40aa91(0x16a)]!==_0x1b9303['CLOSED']&&(_0x1a01ba[_0x40aa91(0x16a)]===_0x1b9303[_0x40aa91(0x1a2)]&&(_0x1a01ba[_0x40aa91(0x1ff)]=_0x1b9303[_0x40aa91(0x290)],_0x23f97a(_0x1a01ba)),this['_socket'][_0x40aa91(0x285)](),_0x1a01ba[_0x40aa91(0xf3)]||(_0x1a01ba[_0x40aa91(0xf3)]=!0x0,_0x1a01ba['emit'](_0x40aa91(0x23a),_0x343957)));}function _0x23f97a(_0x920dd3){const _0x3203ac=_0x50cec1;_0x920dd3[_0x3203ac(0x21b)]=setTimeout(_0x920dd3[_0x3203ac(0x131)]['destroy'][_0x3203ac(0x284)](_0x920dd3[_0x3203ac(0x131)]),_0x54c377);}function _0x2902ae(){const _0xe02c34=_0x50cec1,_0x478a4c=this[_0x3789f9];this[_0xe02c34(0x1e2)](_0xe02c34(0x1e1),_0x2902ae),this[_0xe02c34(0x1e2)](_0xe02c34(0x11a),_0x3f8307),this[_0xe02c34(0x1e2)](_0xe02c34(0x285),_0x1d0b26),_0x478a4c[_0xe02c34(0x1ff)]=_0x1b9303[_0xe02c34(0x290)];let _0x3e1041;!this[_0xe02c34(0x268)]['endEmitted']&&!_0x478a4c['_closeFrameReceived']&&!_0x478a4c[_0xe02c34(0x166)][_0xe02c34(0x1af)][_0xe02c34(0x20c)]&&(_0x3e1041=_0x478a4c[_0xe02c34(0x131)][_0xe02c34(0x240)]())!==null&&_0x478a4c[_0xe02c34(0x166)][_0xe02c34(0x1b6)](_0x3e1041),_0x478a4c[_0xe02c34(0x166)][_0xe02c34(0x285)](),this[_0x3789f9]=void 0x0,clearTimeout(_0x478a4c[_0xe02c34(0x21b)]),_0x478a4c[_0xe02c34(0x166)][_0xe02c34(0x1af)][_0xe02c34(0xde)]||_0x478a4c['_receiver'][_0xe02c34(0x1af)][_0xe02c34(0x20c)]?_0x478a4c[_0xe02c34(0x13d)]():(_0x478a4c['_receiver']['on'](_0xe02c34(0x23a),_0xc61016),_0x478a4c[_0xe02c34(0x166)]['on'](_0xe02c34(0x287),_0xc61016));}function _0x3f8307(_0x313e9d){const _0x10a825=_0x50cec1;this[_0x3789f9][_0x10a825(0x166)][_0x10a825(0x1b6)](_0x313e9d)||this[_0x10a825(0x1d6)]();}function _0x1d0b26(){const _0x9ca5ce=_0x50cec1,_0x4b3483=this[_0x3789f9];_0x4b3483[_0x9ca5ce(0x1ff)]=_0x1b9303[_0x9ca5ce(0x290)],_0x4b3483['_receiver'][_0x9ca5ce(0x285)](),this[_0x9ca5ce(0x285)]();}function _0x51e8a6(){const _0xed2535=_0x50cec1,_0x5a86e9=this[_0x3789f9];this[_0xed2535(0x1e2)](_0xed2535(0x23a),_0x51e8a6),this['on']('error',_0x13f08b),_0x5a86e9&&(_0x5a86e9['_readyState']=_0x1b9303[_0xed2535(0x290)],this[_0xed2535(0x27c)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3fe29b}=_0x4c1cb0;function _0x2a0da4(_0x1f83d6){const _0x653174=_0x6e0b;_0x1f83d6[_0x653174(0x175)](_0x653174(0x1e1));}function _0xe34d12(){const _0x1874d5=_0x6e0b;!this[_0x1874d5(0x1ad)]&&this[_0x1874d5(0x1af)][_0x1874d5(0xde)]&&this[_0x1874d5(0x27c)]();}function _0x31a6c8(_0x1a8e88){const _0x172b0b=_0x6e0b;this['removeListener']('error',_0x31a6c8),this['destroy'](),this[_0x172b0b(0x13f)](_0x172b0b(0x23a))===0x0&&this[_0x172b0b(0x175)](_0x172b0b(0x23a),_0x1a8e88);}function _0x4fb75e(_0x46821f,_0x3ad990){const _0xfddd62=_0x6e0b;let _0x37731b=!0x0;const _0x51ad0e=new _0x3fe29b({..._0x3ad990,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x46821f['on'](_0xfddd62(0xff),function(_0x10d0df,_0x49aed2){const _0xb9c2cd=_0xfddd62,_0x5bccf9=!_0x49aed2&&_0x51ad0e['_readableState'][_0xb9c2cd(0x223)]?_0x10d0df['toString']():_0x10d0df;_0x51ad0e['push'](_0x5bccf9)||_0x46821f[_0xb9c2cd(0x1d6)]();}),_0x46821f[_0xfddd62(0xec)](_0xfddd62(0x23a),function(_0x3d7e9d){const _0x16a11b=_0xfddd62;_0x51ad0e['destroyed']||(_0x37731b=!0x1,_0x51ad0e[_0x16a11b(0x27c)](_0x3d7e9d));}),_0x46821f[_0xfddd62(0xec)](_0xfddd62(0x1e1),function(){const _0x5c87d0=_0xfddd62;_0x51ad0e[_0x5c87d0(0x1ad)]||_0x51ad0e[_0x5c87d0(0x214)](null);}),_0x51ad0e[_0xfddd62(0x243)]=function(_0x36f249,_0x31db2a){const _0xb5d362=_0xfddd62;if(_0x46821f[_0xb5d362(0x16a)]===_0x46821f[_0xb5d362(0x1b7)]){_0x31db2a(_0x36f249),process['nextTick'](_0x2a0da4,_0x51ad0e);return;}let _0x443a4f=!0x1;_0x46821f[_0xb5d362(0xec)](_0xb5d362(0x23a),function(_0x55932f){_0x443a4f=!0x0,_0x31db2a(_0x55932f);}),_0x46821f[_0xb5d362(0xec)](_0xb5d362(0x1e1),function(){const _0x39b6cb=_0xb5d362;_0x443a4f||_0x31db2a(_0x36f249),process[_0x39b6cb(0x1cb)](_0x2a0da4,_0x51ad0e);}),_0x37731b&&_0x46821f[_0xb5d362(0x179)]();},_0x51ad0e['_final']=function(_0x1855b7){const _0x289d70=_0xfddd62;if(_0x46821f[_0x289d70(0x16a)]===_0x46821f[_0x289d70(0x246)]){_0x46821f[_0x289d70(0xec)](_0x289d70(0x108),function(){const _0x17280b=_0x289d70;_0x51ad0e[_0x17280b(0x15a)](_0x1855b7);});return;}_0x46821f['_socket']!==null&&(_0x46821f[_0x289d70(0x131)][_0x289d70(0x1af)][_0x289d70(0xde)]?(_0x1855b7(),_0x51ad0e[_0x289d70(0x268)]['endEmitted']&&_0x51ad0e[_0x289d70(0x27c)]()):(_0x46821f['_socket']['once'](_0x289d70(0x287),function(){_0x1855b7();}),_0x46821f[_0x289d70(0x1e1)]()));},_0x51ad0e['_read']=function(){const _0x5ec43a=_0xfddd62;_0x46821f[_0x5ec43a(0x1b4)]&&_0x46821f[_0x5ec43a(0x207)]();},_0x51ad0e['_write']=function(_0x2937ca,_0x535064,_0x5a80e7){const _0x359037=_0xfddd62;if(_0x46821f['readyState']===_0x46821f[_0x359037(0x246)]){_0x46821f['once']('open',function(){const _0x18038d=_0x359037;_0x51ad0e[_0x18038d(0x1a6)](_0x2937ca,_0x535064,_0x5a80e7);});return;}_0x46821f['send'](_0x2937ca,_0x5a80e7);},_0x51ad0e['on'](_0xfddd62(0x285),_0xe34d12),_0x51ad0e['on'](_0xfddd62(0x23a),_0x31a6c8),_0x51ad0e;}return Oe=_0x4fb75e,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x391c9c}=ne();function _0x475604(_0x1892b7){const _0xb9bc05=_0x6e0b,_0x5891f4=new Set();let _0x39c207=-0x1,_0x1ce228=-0x1,_0x344c50=0x0;for(_0x344c50;_0x344c50<_0x1892b7[_0xb9bc05(0x13c)];_0x344c50++){const _0x5085b2=_0x1892b7[_0xb9bc05(0x245)](_0x344c50);if(_0x1ce228===-0x1&&_0x391c9c[_0x5085b2]===0x1)_0x39c207===-0x1&&(_0x39c207=_0x344c50);else{if(_0x344c50!==0x0&&(_0x5085b2===0x20||_0x5085b2===0x9))_0x1ce228===-0x1&&_0x39c207!==-0x1&&(_0x1ce228=_0x344c50);else{if(_0x5085b2===0x2c){if(_0x39c207===-0x1)throw new SyntaxError(_0xb9bc05(0x259)+_0x344c50);_0x1ce228===-0x1&&(_0x1ce228=_0x344c50);const _0xcf4c15=_0x1892b7['slice'](_0x39c207,_0x1ce228);if(_0x5891f4[_0xb9bc05(0x176)](_0xcf4c15))throw new SyntaxError('The\x20\x22'+_0xcf4c15+_0xb9bc05(0x14b));_0x5891f4['add'](_0xcf4c15),_0x39c207=_0x1ce228=-0x1;}else throw new SyntaxError(_0xb9bc05(0x259)+_0x344c50);}}}if(_0x39c207===-0x1||_0x1ce228!==-0x1)throw new SyntaxError(_0xb9bc05(0x127));const _0x566c34=_0x1892b7[_0xb9bc05(0x178)](_0x39c207,_0x344c50);if(_0x5891f4['has'](_0x566c34))throw new SyntaxError(_0xb9bc05(0x25d)+_0x566c34+_0xb9bc05(0x14b));return _0x5891f4['add'](_0x566c34),_0x5891f4;}return Ce={'parse':_0x475604},Ce;}var Te,ot;function er(){const _0x2591a2=_0x54769d;if(ot)return Te;ot=0x1;const _0x5c139a=_0x5aed27,_0xb0c699=_0x134520,{Duplex:_0x1c3b32}=_0x4c1cb0,{createHash:_0x172b1f}=_0x20495c,_0x239934=pt(),_0xa4782=he(),_0xced4e=Jt(),_0x1b739c=Ie(),{GUID:_0x3b3556,kWebSocket:_0x19370b}=V(),_0x129eab=/^[+/0-9A-Za-z]{22}==$/,_0x44bad7=0x0,_0x1625c1=0x1,_0x2822c0=0x2;class _0xacf122 extends _0x5c139a{constructor(_0x3ea3a4,_0x2ecf33){const _0x336bbc=_0x6e0b;if(super(),_0x3ea3a4={'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':_0x1b739c,..._0x3ea3a4},_0x3ea3a4[_0x336bbc(0x187)]==null&&!_0x3ea3a4[_0x336bbc(0x124)]&&!_0x3ea3a4['noServer']||_0x3ea3a4['port']!=null&&(_0x3ea3a4[_0x336bbc(0x124)]||_0x3ea3a4[_0x336bbc(0x24a)])||_0x3ea3a4[_0x336bbc(0x124)]&&_0x3ea3a4[_0x336bbc(0x24a)])throw new TypeError(_0x336bbc(0x1f7));if(_0x3ea3a4[_0x336bbc(0x187)]!=null?(this[_0x336bbc(0x224)]=_0xb0c699[_0x336bbc(0x157)]((_0x3efebe,_0x17a8ad)=>{const _0x46367f=_0x336bbc,_0x431226=_0xb0c699[_0x46367f(0x133)][0x1aa];_0x17a8ad[_0x46367f(0x1f6)](0x1aa,{'Content-Length':_0x431226[_0x46367f(0x13c)],'Content-Type':_0x46367f(0x1d9)}),_0x17a8ad['end'](_0x431226);}),this[_0x336bbc(0x224)][_0x336bbc(0x269)](_0x3ea3a4['port'],_0x3ea3a4[_0x336bbc(0x233)],_0x3ea3a4[_0x336bbc(0x25f)],_0x2ecf33)):_0x3ea3a4[_0x336bbc(0x124)]&&(this[_0x336bbc(0x224)]=_0x3ea3a4[_0x336bbc(0x124)]),this[_0x336bbc(0x224)]){const _0x25082e=this[_0x336bbc(0x175)][_0x336bbc(0x284)](this,'connection');this['_removeListeners']=_0x35a4d9(this[_0x336bbc(0x224)],{'listening':this[_0x336bbc(0x175)][_0x336bbc(0x284)](this,_0x336bbc(0x1d5)),'error':this[_0x336bbc(0x175)]['bind'](this,_0x336bbc(0x23a)),'upgrade':(_0x1760ec,_0x4a4221,_0x42064f)=>{const _0x4278ae=_0x336bbc;this[_0x4278ae(0x11c)](_0x1760ec,_0x4a4221,_0x42064f,_0x25082e);}});}_0x3ea3a4[_0x336bbc(0x273)]===!0x0&&(_0x3ea3a4[_0x336bbc(0x273)]={}),_0x3ea3a4[_0x336bbc(0x1a4)]&&(this[_0x336bbc(0x1d2)]=new Set(),this[_0x336bbc(0x191)]=!0x1),this[_0x336bbc(0xfa)]=_0x3ea3a4,this[_0x336bbc(0x165)]=_0x44bad7;}[_0x2591a2(0x26a)](){const _0x1be3c8=_0x2591a2;if(this[_0x1be3c8(0xfa)][_0x1be3c8(0x24a)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x1be3c8(0x224)][_0x1be3c8(0x26a)]():null;}['close'](_0x9ba19a){const _0x5b8cb3=_0x2591a2;if(this[_0x5b8cb3(0x165)]===_0x2822c0){_0x9ba19a&&this[_0x5b8cb3(0xec)](_0x5b8cb3(0x1e1),()=>{const _0x3bbd68=_0x5b8cb3;_0x9ba19a(new Error(_0x3bbd68(0x200)));}),process[_0x5b8cb3(0x1cb)](_0xcbfe1a,this);return;}if(_0x9ba19a&&this[_0x5b8cb3(0xec)]('close',_0x9ba19a),this[_0x5b8cb3(0x165)]!==_0x1625c1){if(this[_0x5b8cb3(0x165)]=_0x1625c1,this[_0x5b8cb3(0xfa)][_0x5b8cb3(0x24a)]||this['options'][_0x5b8cb3(0x124)])this[_0x5b8cb3(0x224)]&&(this[_0x5b8cb3(0x26e)](),this[_0x5b8cb3(0x26e)]=this['_server']=null),this[_0x5b8cb3(0x1d2)]?this[_0x5b8cb3(0x1d2)][_0x5b8cb3(0x180)]?this[_0x5b8cb3(0x191)]=!0x0:process[_0x5b8cb3(0x1cb)](_0xcbfe1a,this):process[_0x5b8cb3(0x1cb)](_0xcbfe1a,this);else{const _0x1ee628=this[_0x5b8cb3(0x224)];this[_0x5b8cb3(0x26e)](),this[_0x5b8cb3(0x26e)]=this[_0x5b8cb3(0x224)]=null,_0x1ee628[_0x5b8cb3(0x1e1)](()=>{_0xcbfe1a(this);});}}}['shouldHandle'](_0x231e44){const _0x1a1aa8=_0x2591a2;if(this[_0x1a1aa8(0xfa)][_0x1a1aa8(0x193)]){const _0x1324da=_0x231e44[_0x1a1aa8(0x26d)]['indexOf']('?');if((_0x1324da!==-0x1?_0x231e44[_0x1a1aa8(0x26d)][_0x1a1aa8(0x178)](0x0,_0x1324da):_0x231e44[_0x1a1aa8(0x26d)])!==this[_0x1a1aa8(0xfa)][_0x1a1aa8(0x193)])return!0x1;}return!0x0;}[_0x2591a2(0x11c)](_0x474737,_0x51783b,_0x4fe03b,_0x141263){const _0x1964a0=_0x2591a2;_0x51783b['on'](_0x1964a0(0x23a),_0x4d4e61);const _0x3e52b4=_0x474737[_0x1964a0(0x16b)][_0x1964a0(0x15b)],_0x397b94=_0x474737[_0x1964a0(0x16b)][_0x1964a0(0x128)],_0x54096c=+_0x474737[_0x1964a0(0x16b)][_0x1964a0(0x1a1)];if(_0x474737['method']!==_0x1964a0(0x115)){_0x4b86f2(this,_0x474737,_0x51783b,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x397b94===void 0x0||_0x397b94[_0x1964a0(0x156)]()!==_0x1964a0(0x22e)){_0x4b86f2(this,_0x474737,_0x51783b,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x3e52b4===void 0x0||!_0x129eab[_0x1964a0(0x111)](_0x3e52b4)){_0x4b86f2(this,_0x474737,_0x51783b,0x190,_0x1964a0(0xfc));return;}if(_0x54096c!==0xd&&_0x54096c!==0x8){_0x4b86f2(this,_0x474737,_0x51783b,0x190,_0x1964a0(0xea),{'Sec-WebSocket-Version':_0x1964a0(0x27a)});return;}if(!this['shouldHandle'](_0x474737)){_0x2241f8(_0x51783b,0x190);return;}const _0x4481f6=_0x474737[_0x1964a0(0x16b)][_0x1964a0(0x1d7)];let _0x3c2c12=new Set();if(_0x4481f6!==void 0x0)try{_0x3c2c12=_0xced4e['parse'](_0x4481f6);}catch{_0x4b86f2(this,_0x474737,_0x51783b,0x190,_0x1964a0(0x1c5));return;}const _0x25b749=_0x474737['headers']['sec-websocket-extensions'],_0x53d076={};if(this[_0x1964a0(0xfa)]['perMessageDeflate']&&_0x25b749!==void 0x0){const _0x2d2e04=new _0xa4782(this[_0x1964a0(0xfa)][_0x1964a0(0x273)],!0x0,this[_0x1964a0(0xfa)][_0x1964a0(0x18a)]);try{const _0x3c7b8c=_0x239934['parse'](_0x25b749);_0x3c7b8c[_0xa4782[_0x1964a0(0x1c0)]]&&(_0x2d2e04['accept'](_0x3c7b8c[_0xa4782[_0x1964a0(0x1c0)]]),_0x53d076[_0xa4782[_0x1964a0(0x1c0)]]=_0x2d2e04);}catch{_0x4b86f2(this,_0x474737,_0x51783b,0x190,_0x1964a0(0x153));return;}}if(this[_0x1964a0(0xfa)][_0x1964a0(0x209)]){const _0x39477a={'origin':_0x474737['headers'][''+(_0x54096c===0x8?_0x1964a0(0x1e6):_0x1964a0(0x232))],'secure':!!(_0x474737[_0x1964a0(0x1eb)][_0x1964a0(0xf2)]||_0x474737['socket'][_0x1964a0(0x177)]),'req':_0x474737};if(this[_0x1964a0(0xfa)]['verifyClient'][_0x1964a0(0x13c)]===0x2){this[_0x1964a0(0xfa)][_0x1964a0(0x209)](_0x39477a,(_0x54e0a8,_0x3d82b4,_0x2f941b,_0x289ec6)=>{const _0x43ea6d=_0x1964a0;if(!_0x54e0a8)return _0x2241f8(_0x51783b,_0x3d82b4||0x191,_0x2f941b,_0x289ec6);this[_0x43ea6d(0x11b)](_0x53d076,_0x3e52b4,_0x3c2c12,_0x474737,_0x51783b,_0x4fe03b,_0x141263);});return;}if(!this[_0x1964a0(0xfa)][_0x1964a0(0x209)](_0x39477a))return _0x2241f8(_0x51783b,0x191);}this[_0x1964a0(0x11b)](_0x53d076,_0x3e52b4,_0x3c2c12,_0x474737,_0x51783b,_0x4fe03b,_0x141263);}[_0x2591a2(0x11b)](_0x354477,_0x4cd1fc,_0x516baa,_0x5231d4,_0x1df025,_0x10ac7a,_0x314c8b){const _0x1c97dd=_0x2591a2;if(!_0x1df025[_0x1c97dd(0x234)]||!_0x1df025['writable'])return _0x1df025[_0x1c97dd(0x27c)]();if(_0x1df025[_0x19370b])throw new Error(_0x1c97dd(0x202));if(this[_0x1c97dd(0x165)]>_0x44bad7)return _0x2241f8(_0x1df025,0x1f7);const _0x378c33=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1c97dd(0x1d8),_0x1c97dd(0xee),_0x1c97dd(0x19b)+_0x172b1f(_0x1c97dd(0x229))[_0x1c97dd(0x125)](_0x4cd1fc+_0x3b3556)[_0x1c97dd(0x20a)](_0x1c97dd(0x279))],_0x3f961a=new this[(_0x1c97dd(0xfa))][(_0x1c97dd(0x27b))](null,void 0x0,this['options']);if(_0x516baa['size']){const _0x42ccf4=this['options']['handleProtocols']?this[_0x1c97dd(0xfa)]['handleProtocols'](_0x516baa,_0x5231d4):_0x516baa['values']()[_0x1c97dd(0x1bd)]()['value'];_0x42ccf4&&(_0x378c33[_0x1c97dd(0x214)]('Sec-WebSocket-Protocol:\x20'+_0x42ccf4),_0x3f961a[_0x1c97dd(0x1f9)]=_0x42ccf4);}if(_0x354477[_0xa4782[_0x1c97dd(0x1c0)]]){const _0xfdab2b=_0x354477[_0xa4782[_0x1c97dd(0x1c0)]][_0x1c97dd(0x129)],_0x263ef3=_0x239934[_0x1c97dd(0x26f)]({[_0xa4782[_0x1c97dd(0x1c0)]]:[_0xfdab2b]});_0x378c33[_0x1c97dd(0x214)](_0x1c97dd(0x239)+_0x263ef3),_0x3f961a[_0x1c97dd(0x14e)]=_0x354477;}this[_0x1c97dd(0x175)](_0x1c97dd(0x16b),_0x378c33,_0x5231d4),_0x1df025[_0x1c97dd(0x1b6)](_0x378c33[_0x1c97dd(0x226)]('\x0d\x0a')[_0x1c97dd(0x150)]('\x0d\x0a')),_0x1df025[_0x1c97dd(0x1e2)]('error',_0x4d4e61),_0x3f961a['setSocket'](_0x1df025,_0x10ac7a,{'allowSynchronousEvents':this[_0x1c97dd(0xfa)][_0x1c97dd(0x12f)],'maxPayload':this[_0x1c97dd(0xfa)]['maxPayload'],'skipUTF8Validation':this[_0x1c97dd(0xfa)][_0x1c97dd(0x1ac)]}),this[_0x1c97dd(0x1d2)]&&(this[_0x1c97dd(0x1d2)][_0x1c97dd(0xfd)](_0x3f961a),_0x3f961a['on']('close',()=>{const _0x59ec08=_0x1c97dd;this[_0x59ec08(0x1d2)][_0x59ec08(0x126)](_0x3f961a),this[_0x59ec08(0x191)]&&!this[_0x59ec08(0x1d2)]['size']&&process['nextTick'](_0xcbfe1a,this);})),_0x314c8b(_0x3f961a,_0x5231d4);}}Te=_0xacf122;function _0x35a4d9(_0x262e6a,_0x10134f){const _0x5e13ab=_0x2591a2;for(const _0xbc9743 of Object[_0x5e13ab(0x110)](_0x10134f))_0x262e6a['on'](_0xbc9743,_0x10134f[_0xbc9743]);return function(){const _0x1b6748=_0x5e13ab;for(const _0x5c6cad of Object[_0x1b6748(0x110)](_0x10134f))_0x262e6a['removeListener'](_0x5c6cad,_0x10134f[_0x5c6cad]);};}function _0xcbfe1a(_0x3a0be1){const _0x3ab3ad=_0x2591a2;_0x3a0be1[_0x3ab3ad(0x165)]=_0x2822c0,_0x3a0be1[_0x3ab3ad(0x175)](_0x3ab3ad(0x1e1));}function _0x4d4e61(){this['destroy']();}function _0x2241f8(_0x15fd67,_0x1d4851,_0x3d6d2e,_0x598622){const _0x33c5f7=_0x2591a2;_0x3d6d2e=_0x3d6d2e||_0xb0c699['STATUS_CODES'][_0x1d4851],_0x598622={'Connection':_0x33c5f7(0x1e1),'Content-Type':_0x33c5f7(0x265),'Content-Length':Buffer['byteLength'](_0x3d6d2e),..._0x598622},_0x15fd67[_0x33c5f7(0xec)](_0x33c5f7(0x287),_0x15fd67[_0x33c5f7(0x27c)]),_0x15fd67['end'](_0x33c5f7(0x188)+_0x1d4851+'\x20'+_0xb0c699[_0x33c5f7(0x133)][_0x1d4851]+'\x0d\x0a'+Object['keys'](_0x598622)[_0x33c5f7(0xf6)](_0x4c5698=>_0x4c5698+':\x20'+_0x598622[_0x4c5698])[_0x33c5f7(0x150)]('\x0d\x0a')+_0x33c5f7(0x12e)+_0x3d6d2e);}function _0x4b86f2(_0x3618eb,_0x28722c,_0x46cb90,_0x4f0ea2,_0x44f99e,_0xbf5df7){const _0x4f1277=_0x2591a2;if(_0x3618eb[_0x4f1277(0x13f)](_0x4f1277(0x117))){const _0x13ff32=new Error(_0x44f99e);Error[_0x4f1277(0x120)](_0x13ff32,_0x4b86f2),_0x3618eb['emit'](_0x4f1277(0x117),_0x13ff32,_0x46cb90,_0x28722c);}else _0x2241f8(_0x46cb90,_0x4f0ea2,_0x44f99e,_0xbf5df7);}return Te;}er();var tr=Object[_0x54769d(0x19c)],rr=(_0x2d0fae,_0x149909,_0x243a39,_0x4b8ca8)=>{for(var _0x3bd62e=_0x4b8ca8>0x1?void 0x0:_0x4b8ca8?tr(_0x149909,_0x243a39):_0x149909,_0x371226=_0x2d0fae['length']-0x1,_0x1502d0;_0x371226>=0x0;_0x371226--)(_0x1502d0=_0x2d0fae[_0x371226])&&(_0x3bd62e=_0x1502d0(_0x3bd62e)||_0x3bd62e);return _0x3bd62e;},sr=(_0x5b95e7,_0x1ac9d8)=>(_0x4ad6ab,_0x450535)=>_0x1ac9d8(_0x4ad6ab,_0x450535,_0x5b95e7);let Ne=class extends _0xfb199b{constructor(_0x4d585a){const _0xa098c6=_0x54769d;super(),this[_0xa098c6(0x189)]=_0x4d585a;}[_0x54769d(0x1b8)](_0x2bb2c1){const _0x152486=_0x54769d;var _0x864069;const _0x171488=(_0x864069=this[_0x152486(0x189)][_0x152486(0x1ee)](Be))==null?void 0x0:_0x864069['customHeaders'];try{const _0x517c79=new Qt(_0x2bb2c1,{'headers':{..._0x171488}}),_0x268219=new _0x3461ea();return{'URL':_0x2bb2c1,'close':(_0x2bd178,_0x26ef61)=>{const _0x50b04d=_0x152486;_0x517c79[_0x50b04d(0x1e1)](_0x2bd178,_0x26ef61),_0x268219[_0x50b04d(0x210)]();},'send':_0x517971=>{const _0xfe73c0=_0x152486;_0x517c79[_0xfe73c0(0x227)](_0x517971);},'open$':new _0x432d76(_0x2717e2=>{const _0x5868f0=_0x152486,_0x52c278=_0x1d4eee=>_0x2717e2['next'](_0x1d4eee);_0x517c79['addEventListener'](_0x5868f0(0x108),_0x52c278),_0x268219['add'](_0x4d3f02(()=>_0x517c79[_0x5868f0(0x1c9)](_0x5868f0(0x108),_0x52c278)));})['pipe'](_0x1e4028()),'close$':new _0x432d76(_0x4bf93d=>{const _0x15fb83=_0x152486,_0x41a7e9=_0x4755c8=>_0x4bf93d[_0x15fb83(0x1bd)](_0x4755c8);_0x517c79[_0x15fb83(0x26c)](_0x15fb83(0x1e1),_0x41a7e9),_0x268219['add'](_0x4d3f02(()=>_0x517c79['removeEventListener'](_0x15fb83(0x1e1),_0x41a7e9)));})[_0x152486(0xf9)](_0x1e4028()),'error$':new _0x432d76(_0x1cb4b3=>{const _0x25a016=_0x152486,_0x552352=_0x4050a6=>_0x1cb4b3[_0x25a016(0x1bd)](_0x4050a6);_0x517c79[_0x25a016(0x26c)](_0x25a016(0x23a),_0x552352),_0x268219[_0x25a016(0xfd)](_0x4d3f02(()=>_0x517c79[_0x25a016(0x1c9)]('error',_0x552352)));})[_0x152486(0xf9)](_0x1e4028()),'message$':new _0x432d76(_0x2835de=>{const _0x14c940=_0x152486,_0x472d82=_0x4f9c37=>_0x2835de[_0x14c940(0x1bd)](_0x4f9c37);_0x517c79[_0x14c940(0x26c)](_0x14c940(0xff),_0x472d82),_0x268219[_0x14c940(0xfd)](_0x4d3f02(()=>_0x517c79[_0x14c940(0x1c9)](_0x14c940(0xff),_0x472d82)));})[_0x152486(0xf9)](_0x1e4028())};}catch(_0x494449){return console[_0x152486(0x23a)](_0x494449),null;}}};Ne=rr([sr(0x0,_0x4387c6)],Ne);var ir=Object[_0x54769d(0x168)],nr=Object[_0x54769d(0x19c)],or=(_0x5687b3,_0x386c65,_0x32d8df)=>_0x386c65 in _0x5687b3?ir(_0x5687b3,_0x386c65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32d8df}):_0x5687b3[_0x386c65]=_0x32d8df,ar=(_0x105da,_0x162cad,_0x420442,_0x5082aa)=>{for(var _0x19c044=_0x5082aa>0x1?void 0x0:_0x5082aa?nr(_0x162cad,_0x420442):_0x162cad,_0x1b3cd2=_0x105da['length']-0x1,_0x298fd2;_0x1b3cd2>=0x0;_0x1b3cd2--)(_0x298fd2=_0x105da[_0x1b3cd2])&&(_0x19c044=_0x298fd2(_0x19c044)||_0x19c044);return _0x19c044;},ke=(_0x65c426,_0x4f2e1b)=>(_0x1d342b,_0x586948)=>_0x4f2e1b(_0x1d342b,_0x586948,_0x65c426),lr=(_0x105c01,_0x326170,_0x41d67c)=>or(_0x105c01,_0x326170+'',_0x41d67c);let Pe=class extends _0x3feef2{constructor(_0x4fdcbc=Ft,_0x4f18d9,_0xa6ac0c,_0x42e829){const _0x2f40be=_0x54769d;_0x4fdcbc[_0x2f40be(0x24c)]||_0x4f18d9['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0xa6ac0c,this['_injector']=_0x42e829,this[_0x2f40be(0x189)][_0x2f40be(0x21c)](Be,_0x4fdcbc);}['onStarting'](){this['_registerDependencies']();}[_0x54769d(0x25b)](){const _0x22fa5b=_0x54769d;_0x5b0c6c(this[_0x22fa5b(0x199)],[[_0x2f7b56,{'useClass':Ne}]]);}};lr(Pe,_0x54769d(0x10f),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0xc846e7(_0xee1f3b),ke(0x1,_0x56ee81),ke(0x2,_0x4387c6),ke(0x3,_0x4c23ec(_0x58624a))],Pe);var fr=Object[_0x54769d(0x19c)],cr=(_0x14e3d6,_0x526504,_0x207e68,_0x43aa86)=>{const _0x12c137=_0x54769d;for(var _0x34036f=_0x43aa86>0x1?void 0x0:_0x43aa86?fr(_0x526504,_0x207e68):_0x526504,_0x267bf0=_0x14e3d6[_0x12c137(0x13c)]-0x1,_0x418898;_0x267bf0>=0x0;_0x267bf0--)(_0x418898=_0x14e3d6[_0x267bf0])&&(_0x34036f=_0x418898(_0x34036f)||_0x34036f);return _0x34036f;},se=(_0x3f9d09,_0x176eb3)=>(_0x5b5bb5,_0x329a3d)=>_0x176eb3(_0x5b5bb5,_0x329a3d,_0x3f9d09);let at=class extends _0x46668e{constructor(_0x397501,_0x25c7bb,_0x3aae4b,_0x1c8693,_0x13f0e9){const _0xd28c0a=_0x54769d;super(_0x397501,_0x25c7bb,_0x3aae4b,_0x1c8693,_0x13f0e9);const _0x2def6c=this[_0xd28c0a(0x189)]['getConfig'](Be);this[_0xd28c0a(0x171)]['registerHTTPInterceptor']({'interceptor':(_0x157a35,_0x2eb8f1)=>{const _0x204ac3=_0xd28c0a;var _0x319008;const _0x3ae142=_0x157a35[_0x204ac3(0x16b)];return(_0x319008=_0x2def6c==null?void 0x0:_0x2def6c[_0x204ac3(0x24c)])!=null&&_0x319008[_0x204ac3(0x1a5)]&&_0x3ae142[_0x204ac3(0x274)]('Cookie',_0x2def6c[_0x204ac3(0x24c)]['cookie']),_0x2eb8f1(_0x157a35);}});}async[_0x54769d(0x1b8)](_0x9de1db){return this['_doCreateSocket'](_0x9de1db);}};at=cr([se(0x0,_0x4c23ec(_0x58624a)),se(0x1,_0x4c23ec(_0x238f51)),se(0x2,_0x4387c6),se(0x3,_0x56ee81),se(0x4,_0xb3640e)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};