@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505201607 → 0.7.0-nightly.202505221607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x35552f=_0x4e7a;(function(_0x5816b2,_0x344831){const _0x2f9b16=_0x4e7a,_0x5efb6a=_0x5816b2();while(!![]){try{const _0x599c88=-parseInt(_0x2f9b16(0x2fc))/0x1*(-parseInt(_0x2f9b16(0x20d))/0x2)+parseInt(_0x2f9b16(0x279))/0x3*(parseInt(_0x2f9b16(0x211))/0x4)+parseInt(_0x2f9b16(0x31b))/0x5*(parseInt(_0x2f9b16(0x25a))/0x6)+-parseInt(_0x2f9b16(0x32f))/0x7+parseInt(_0x2f9b16(0x323))/0x8*(-parseInt(_0x2f9b16(0x1e5))/0x9)+-parseInt(_0x2f9b16(0x34f))/0xa*(parseInt(_0x2f9b16(0x21f))/0xb)+parseInt(_0x2f9b16(0x3a2))/0xc;if(_0x599c88===_0x344831)break;else _0x5efb6a['push'](_0x5efb6a['shift']());}catch(_0x3f7bfe){_0x5efb6a['push'](_0x5efb6a['shift']());}}}(_0x5e9d,0x9cb46));Object[_0x35552f(0x21a)](exports,Symbol[_0x35552f(0x205)],{'value':'Module'});const st=require(_0x35552f(0x275)),A=require(_0x35552f(0x287)),it=require(_0x35552f(0x2fd)),V=require(_0x35552f(0x276)),nt=require(_0x35552f(0x356)),vt=require(_0x35552f(0x322)),ot=require(_0x35552f(0x2a0)),St=require(_0x35552f(0x310)),Et=require(_0x35552f(0x2a9)),Le=require('crypto'),oe=require(_0x35552f(0x341)),xt=require(_0x35552f(0x384)),bt=require(_0x35552f(0x391)),wt=require(_0x35552f(0x219)),Ot=require('@univerjs-pro/collaboration'),fe=_0x35552f(0x264),Ct={'customHeaders':{}};function Tt(_0x32362d){const _0x16bc72=_0x35552f;return _0x32362d&&_0x32362d['__esModule']&&Object[_0x16bc72(0x386)]['hasOwnProperty'][_0x16bc72(0x2f2)](_0x32362d,_0x16bc72(0x36c))?_0x32362d[_0x16bc72(0x36c)]:_0x32362d;}function at(_0x4c061c){const _0x2e609b=_0x35552f;if(Object[_0x2e609b(0x386)]['hasOwnProperty']['call'](_0x4c061c,'__esModule'))return _0x4c061c;var _0x4a8f07=_0x4c061c[_0x2e609b(0x36c)];if(typeof _0x4a8f07=='function'){var _0x30bd23=function _0x2209da(){const _0x39fe57=_0x2e609b;return this instanceof _0x2209da?Reflect['construct'](_0x4a8f07,arguments,this[_0x39fe57(0x267)]):_0x4a8f07[_0x39fe57(0x239)](this,arguments);};_0x30bd23[_0x2e609b(0x386)]=_0x4a8f07['prototype'];}else _0x30bd23={};return Object[_0x2e609b(0x21a)](_0x30bd23,'__esModule',{'value':!0x0}),Object[_0x2e609b(0x23a)](_0x4c061c)['forEach'](function(_0x2dbc8a){const _0x48fad3=_0x2e609b;var _0x332d44=Object[_0x48fad3(0x32a)](_0x4c061c,_0x2dbc8a);Object[_0x48fad3(0x21a)](_0x30bd23,_0x2dbc8a,_0x332d44[_0x48fad3(0x2a5)]?_0x332d44:{'enumerable':!0x0,'get':function(){return _0x4c061c[_0x2dbc8a];}});}),_0x30bd23;}var se={'exports':{}},ge,Ge;function H(){const _0x49f772=_0x35552f;if(Ge)return ge;Ge=0x1;const _0x386bfd=[_0x49f772(0x26f),_0x49f772(0x397),_0x49f772(0x35c)],_0x2dbba5=typeof Blob<'u';return _0x2dbba5&&_0x386bfd[_0x49f772(0x306)](_0x49f772(0x2bb)),ge={'BINARY_TYPES':_0x386bfd,'EMPTY_BUFFER':Buffer[_0x49f772(0x227)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2dbba5,'kForOnEventAttribute':Symbol(_0x49f772(0x29c)),'kListener':Symbol(_0x49f772(0x33a)),'kStatusCode':Symbol(_0x49f772(0x30d)),'kWebSocket':Symbol(_0x49f772(0x23e)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x35552f(0x21a)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x475872=_0x35552f;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x383595}=H(),_0x568582=Buffer[Symbol['species']];function _0xe86481(_0x16a860,_0xaf85d6){const _0x81962c=_0x4e7a;if(_0x16a860[_0x81962c(0x351)]===0x0)return _0x383595;if(_0x16a860['length']===0x1)return _0x16a860[0x0];const _0x1067ca=Buffer['allocUnsafe'](_0xaf85d6);let _0x190d59=0x0;for(let _0x10efe4=0x0;_0x10efe4<_0x16a860['length'];_0x10efe4++){const _0x3d8d05=_0x16a860[_0x10efe4];_0x1067ca[_0x81962c(0x30c)](_0x3d8d05,_0x190d59),_0x190d59+=_0x3d8d05[_0x81962c(0x351)];}return _0x190d59<_0xaf85d6?new _0x568582(_0x1067ca[_0x81962c(0x219)],_0x1067ca[_0x81962c(0x24a)],_0x190d59):_0x1067ca;}function _0x17c881(_0x3d1316,_0x5be0e0,_0x2c9862,_0x47232d,_0xcf7464){for(let _0x1e9905=0x0;_0x1e9905<_0xcf7464;_0x1e9905++)_0x2c9862[_0x47232d+_0x1e9905]=_0x3d1316[_0x1e9905]^_0x5be0e0[_0x1e9905&0x3];}function _0x4deeb6(_0x3867aa,_0x5c4dbd){for(let _0x29d93a=0x0;_0x29d93a<_0x3867aa['length'];_0x29d93a++)_0x3867aa[_0x29d93a]^=_0x5c4dbd[_0x29d93a&0x3];}function _0x6b1f87(_0x4d02a7){const _0x905499=_0x4e7a;return _0x4d02a7[_0x905499(0x351)]===_0x4d02a7[_0x905499(0x219)][_0x905499(0x261)]?_0x4d02a7[_0x905499(0x219)]:_0x4d02a7[_0x905499(0x219)]['slice'](_0x4d02a7[_0x905499(0x24a)],_0x4d02a7[_0x905499(0x24a)]+_0x4d02a7[_0x905499(0x351)]);}function _0x190700(_0x6cf25b){const _0x3b9877=_0x4e7a;if(_0x190700[_0x3b9877(0x243)]=!0x0,Buffer[_0x3b9877(0x233)](_0x6cf25b))return _0x6cf25b;let _0x50ce9a;return _0x6cf25b instanceof ArrayBuffer?_0x50ce9a=new _0x568582(_0x6cf25b):ArrayBuffer[_0x3b9877(0x382)](_0x6cf25b)?_0x50ce9a=new _0x568582(_0x6cf25b[_0x3b9877(0x219)],_0x6cf25b[_0x3b9877(0x24a)],_0x6cf25b[_0x3b9877(0x261)]):(_0x50ce9a=Buffer[_0x3b9877(0x20a)](_0x6cf25b),_0x190700[_0x3b9877(0x243)]=!0x1),_0x50ce9a;}if(se[_0x475872(0x21c)]={'concat':_0xe86481,'mask':_0x17c881,'toArrayBuffer':_0x6b1f87,'toBuffer':_0x190700,'unmask':_0x4deeb6},!process[_0x475872(0x35e)]['WS_NO_BUFFER_UTIL'])try{const _0x157284=Lt;se['exports']['mask']=function(_0xbc4e7a,_0x3b853b,_0x3496c8,_0x5b7fac,_0x53a9fb){const _0x460704=_0x475872;_0x53a9fb<0x30?_0x17c881(_0xbc4e7a,_0x3b853b,_0x3496c8,_0x5b7fac,_0x53a9fb):_0x157284[_0x460704(0x35d)](_0xbc4e7a,_0x3b853b,_0x3496c8,_0x5b7fac,_0x53a9fb);},se[_0x475872(0x21c)]['unmask']=function(_0x2b33f1,_0x5da24){const _0x6bfc0d=_0x475872;_0x2b33f1[_0x6bfc0d(0x351)]<0x20?_0x4deeb6(_0x2b33f1,_0x5da24):_0x157284[_0x6bfc0d(0x380)](_0x2b33f1,_0x5da24);};}catch{}return se[_0x475872(0x21c)];}var ye,He;function Pt(){const _0x33a7ee=_0x35552f;if(He)return ye;He=0x1;const _0xf27db4=Symbol(_0x33a7ee(0x2dd)),_0x4d54a8=Symbol(_0x33a7ee(0x34b));class _0x3f75e2{constructor(_0x16b80c){const _0x5123c8=_0x33a7ee;this[_0xf27db4]=()=>{const _0x28d515=_0x4e7a;this[_0x28d515(0x37a)]--,this[_0x4d54a8]();},this[_0x5123c8(0x396)]=_0x16b80c||0x1/0x0,this[_0x5123c8(0x36e)]=[],this[_0x5123c8(0x37a)]=0x0;}[_0x33a7ee(0x2af)](_0xe6823b){const _0x17e681=_0x33a7ee;this[_0x17e681(0x36e)][_0x17e681(0x306)](_0xe6823b),this[_0x4d54a8]();}[_0x4d54a8](){const _0xadf99f=_0x33a7ee;if(this[_0xadf99f(0x37a)]!==this[_0xadf99f(0x396)]&&this[_0xadf99f(0x36e)][_0xadf99f(0x351)]){const _0x2d66f6=this[_0xadf99f(0x36e)]['shift']();this['pending']++,_0x2d66f6(this[_0xf27db4]);}}}return ye=_0x3f75e2,ye;}var ve,ze;function he(){const _0x3efd21=_0x35552f;if(ze)return ve;ze=0x1;const _0x2bb2bb=bt,_0x5e3e83=ce(),_0xcfbe4d=Pt(),{kStatusCode:_0x4c09e0}=H(),_0x3a8eda=Buffer[Symbol[_0x3efd21(0x234)]],_0x1bd36e=Buffer[_0x3efd21(0x20a)]([0x0,0x0,0xff,0xff]),_0x1e5013=Symbol(_0x3efd21(0x24f)),_0x3503ad=Symbol(_0x3efd21(0x393)),_0x3c6d9f=Symbol(_0x3efd21(0x22e)),_0x2e28bb=Symbol(_0x3efd21(0x20f)),_0x5a31ee=Symbol('error');let _0x432705;class _0xf55373{constructor(_0x3e579e,_0xd1f534,_0xb848b6){const _0x279017=_0x3efd21;if(this['_maxPayload']=_0xb848b6|0x0,this[_0x279017(0x2a2)]=_0x3e579e||{},this[_0x279017(0x23f)]=this[_0x279017(0x2a2)][_0x279017(0x255)]!==void 0x0?this['_options'][_0x279017(0x255)]:0x400,this['_isServer']=!!_0xd1f534,this[_0x279017(0x3ab)]=null,this[_0x279017(0x28c)]=null,this['params']=null,!_0x432705){const _0x4c32b4=this[_0x279017(0x2a2)]['concurrencyLimit']!==void 0x0?this[_0x279017(0x2a2)][_0x279017(0x357)]:0xa;_0x432705=new _0xcfbe4d(_0x4c32b4);}}static get[_0x3efd21(0x217)](){const _0x2856b1=_0x3efd21;return _0x2856b1(0x24f);}['offer'](){const _0x499266=_0x3efd21,_0x34c614={};return this['_options']['serverNoContextTakeover']&&(_0x34c614['server_no_context_takeover']=!0x0),this[_0x499266(0x2a2)][_0x499266(0x354)]&&(_0x34c614[_0x499266(0x2d2)]=!0x0),this[_0x499266(0x2a2)][_0x499266(0x347)]&&(_0x34c614[_0x499266(0x345)]=this[_0x499266(0x2a2)][_0x499266(0x347)]),this['_options'][_0x499266(0x270)]?_0x34c614[_0x499266(0x2fa)]=this['_options'][_0x499266(0x270)]:this[_0x499266(0x2a2)][_0x499266(0x270)]==null&&(_0x34c614[_0x499266(0x2fa)]=!0x0),_0x34c614;}[_0x3efd21(0x25d)](_0x2a4692){const _0xe7a9a1=_0x3efd21;return _0x2a4692=this[_0xe7a9a1(0x320)](_0x2a4692),this['params']=this[_0xe7a9a1(0x3ad)]?this[_0xe7a9a1(0x352)](_0x2a4692):this[_0xe7a9a1(0x355)](_0x2a4692),this['params'];}[_0x3efd21(0x318)](){const _0x131f66=_0x3efd21;if(this[_0x131f66(0x28c)]&&(this[_0x131f66(0x28c)][_0x131f66(0x281)](),this[_0x131f66(0x28c)]=null),this[_0x131f66(0x3ab)]){const _0x819641=this[_0x131f66(0x3ab)][_0x3c6d9f];this[_0x131f66(0x3ab)]['close'](),this[_0x131f66(0x3ab)]=null,_0x819641&&_0x819641(new Error(_0x131f66(0x22a)));}}[_0x3efd21(0x352)](_0x488314){const _0x415443=_0x3efd21,_0x6f494f=this['_options'],_0x3e3fe0=_0x488314['find'](_0x2fbc7b=>!(_0x6f494f[_0x415443(0x33e)]===!0x1&&_0x2fbc7b['server_no_context_takeover']||_0x2fbc7b['server_max_window_bits']&&(_0x6f494f[_0x415443(0x347)]===!0x1||typeof _0x6f494f[_0x415443(0x347)]==_0x415443(0x29e)&&_0x6f494f['serverMaxWindowBits']>_0x2fbc7b[_0x415443(0x345)])||typeof _0x6f494f['clientMaxWindowBits']==_0x415443(0x29e)&&!_0x2fbc7b[_0x415443(0x2fa)]));if(!_0x3e3fe0)throw new Error(_0x415443(0x2f7));return _0x6f494f[_0x415443(0x33e)]&&(_0x3e3fe0[_0x415443(0x36a)]=!0x0),_0x6f494f[_0x415443(0x354)]&&(_0x3e3fe0[_0x415443(0x2d2)]=!0x0),typeof _0x6f494f[_0x415443(0x347)]=='number'&&(_0x3e3fe0[_0x415443(0x345)]=_0x6f494f[_0x415443(0x347)]),typeof _0x6f494f[_0x415443(0x270)]=='number'?_0x3e3fe0[_0x415443(0x2fa)]=_0x6f494f[_0x415443(0x270)]:(_0x3e3fe0['client_max_window_bits']===!0x0||_0x6f494f[_0x415443(0x270)]===!0x1)&&delete _0x3e3fe0[_0x415443(0x2fa)],_0x3e3fe0;}[_0x3efd21(0x355)](_0x547e7d){const _0x11be96=_0x3efd21,_0x42f150=_0x547e7d[0x0];if(this[_0x11be96(0x2a2)][_0x11be96(0x354)]===!0x1&&_0x42f150[_0x11be96(0x2d2)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x42f150[_0x11be96(0x2fa)])typeof this['_options'][_0x11be96(0x270)]==_0x11be96(0x29e)&&(_0x42f150[_0x11be96(0x2fa)]=this['_options'][_0x11be96(0x270)]);else{if(this[_0x11be96(0x2a2)][_0x11be96(0x270)]===!0x1||typeof this[_0x11be96(0x2a2)][_0x11be96(0x270)]=='number'&&_0x42f150['client_max_window_bits']>this[_0x11be96(0x2a2)][_0x11be96(0x270)])throw new Error(_0x11be96(0x2b0));}return _0x42f150;}[_0x3efd21(0x320)](_0x502127){const _0x15cb4b=_0x3efd21;return _0x502127[_0x15cb4b(0x344)](_0x16f2ef=>{const _0x348786=_0x15cb4b;Object['keys'](_0x16f2ef)[_0x348786(0x344)](_0x3feb00=>{const _0x540ae3=_0x348786;let _0x380bb2=_0x16f2ef[_0x3feb00];if(_0x380bb2['length']>0x1)throw new Error(_0x540ae3(0x28b)+_0x3feb00+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x380bb2=_0x380bb2[0x0],_0x3feb00==='client_max_window_bits'){if(_0x380bb2!==!0x0){const _0x564c8b=+_0x380bb2;if(!Number['isInteger'](_0x564c8b)||_0x564c8b<0x8||_0x564c8b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3feb00+_0x540ae3(0x237)+_0x380bb2);_0x380bb2=_0x564c8b;}else{if(!this[_0x540ae3(0x3ad)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3feb00+_0x540ae3(0x237)+_0x380bb2);}}else{if(_0x3feb00==='server_max_window_bits'){const _0xe76489=+_0x380bb2;if(!Number[_0x540ae3(0x1ea)](_0xe76489)||_0xe76489<0x8||_0xe76489>0xf)throw new TypeError(_0x540ae3(0x210)+_0x3feb00+_0x540ae3(0x237)+_0x380bb2);_0x380bb2=_0xe76489;}else{if(_0x3feb00===_0x540ae3(0x2d2)||_0x3feb00===_0x540ae3(0x36a)){if(_0x380bb2!==!0x0)throw new TypeError(_0x540ae3(0x210)+_0x3feb00+_0x540ae3(0x237)+_0x380bb2);}else throw new Error(_0x540ae3(0x2c0)+_0x3feb00+'\x22');}}_0x16f2ef[_0x3feb00]=_0x380bb2;});}),_0x502127;}[_0x3efd21(0x319)](_0x154a2d,_0x4f6b09,_0x21aa87){_0x432705['add'](_0x4fef5f=>{const _0x1db077=_0x4e7a;this[_0x1db077(0x2cd)](_0x154a2d,_0x4f6b09,(_0x25ec20,_0x1d5621)=>{_0x4fef5f(),_0x21aa87(_0x25ec20,_0x1d5621);});});}[_0x3efd21(0x2b8)](_0x5ef284,_0x57ba49,_0x1a13fb){const _0x11ff38=_0x3efd21;_0x432705[_0x11ff38(0x2af)](_0x32f348=>{const _0x119d61=_0x11ff38;this[_0x119d61(0x292)](_0x5ef284,_0x57ba49,(_0x62ff97,_0x439718)=>{_0x32f348(),_0x1a13fb(_0x62ff97,_0x439718);});});}[_0x3efd21(0x2cd)](_0x16c691,_0x4937fa,_0x6ef1a8){const _0x2ed050=_0x3efd21,_0x3d20b3=this[_0x2ed050(0x3ad)]?_0x2ed050(0x313):_0x2ed050(0x336);if(!this['_inflate']){const _0x206d76=_0x3d20b3+'_max_window_bits',_0xd347e4=typeof this[_0x2ed050(0x223)][_0x206d76]!=_0x2ed050(0x29e)?_0x2bb2bb[_0x2ed050(0x2bd)]:this['params'][_0x206d76];this['_inflate']=_0x2bb2bb[_0x2ed050(0x284)]({...this[_0x2ed050(0x2a2)]['zlibInflateOptions'],'windowBits':_0xd347e4}),this[_0x2ed050(0x28c)][_0x1e5013]=this,this[_0x2ed050(0x28c)][_0x3503ad]=0x0,this[_0x2ed050(0x28c)][_0x2e28bb]=[],this[_0x2ed050(0x28c)]['on'](_0x2ed050(0x1fd),_0x4cabaa),this[_0x2ed050(0x28c)]['on'](_0x2ed050(0x1f8),_0x5a88af);}this[_0x2ed050(0x28c)][_0x3c6d9f]=_0x6ef1a8,this[_0x2ed050(0x28c)][_0x2ed050(0x327)](_0x16c691),_0x4937fa&&this[_0x2ed050(0x28c)]['write'](_0x1bd36e),this[_0x2ed050(0x28c)]['flush'](()=>{const _0x4301af=_0x2ed050,_0x55c81c=this['_inflate'][_0x5a31ee];if(_0x55c81c){this['_inflate']['close'](),this[_0x4301af(0x28c)]=null,_0x6ef1a8(_0x55c81c);return;}const _0x2ed50b=_0x5e3e83[_0x4301af(0x248)](this[_0x4301af(0x28c)][_0x2e28bb],this[_0x4301af(0x28c)][_0x3503ad]);this[_0x4301af(0x28c)][_0x4301af(0x289)][_0x4301af(0x37e)]?(this[_0x4301af(0x28c)][_0x4301af(0x281)](),this[_0x4301af(0x28c)]=null):(this['_inflate'][_0x3503ad]=0x0,this[_0x4301af(0x28c)][_0x2e28bb]=[],_0x4937fa&&this[_0x4301af(0x223)][_0x3d20b3+_0x4301af(0x2b6)]&&this[_0x4301af(0x28c)][_0x4301af(0x1e2)]()),_0x6ef1a8(null,_0x2ed50b);});}[_0x3efd21(0x292)](_0x22677b,_0x2d126a,_0x1eb4b2){const _0x11e34b=_0x3efd21,_0x10f1a8=this[_0x11e34b(0x3ad)]?_0x11e34b(0x336):_0x11e34b(0x313);if(!this[_0x11e34b(0x3ab)]){const _0x57c78b=_0x10f1a8+'_max_window_bits',_0x3f4e6a=typeof this[_0x11e34b(0x223)][_0x57c78b]!=_0x11e34b(0x29e)?_0x2bb2bb['Z_DEFAULT_WINDOWBITS']:this['params'][_0x57c78b];this[_0x11e34b(0x3ab)]=_0x2bb2bb[_0x11e34b(0x333)]({...this[_0x11e34b(0x2a2)][_0x11e34b(0x27b)],'windowBits':_0x3f4e6a}),this[_0x11e34b(0x3ab)][_0x3503ad]=0x0,this[_0x11e34b(0x3ab)][_0x2e28bb]=[],this['_deflate']['on'](_0x11e34b(0x1f8),_0x25a5c);}this[_0x11e34b(0x3ab)][_0x3c6d9f]=_0x1eb4b2,this[_0x11e34b(0x3ab)][_0x11e34b(0x327)](_0x22677b),this['_deflate'][_0x11e34b(0x2ea)](_0x2bb2bb[_0x11e34b(0x2d4)],()=>{const _0x1b17f1=_0x11e34b;if(!this[_0x1b17f1(0x3ab)])return;let _0x3b89c3=_0x5e3e83[_0x1b17f1(0x248)](this[_0x1b17f1(0x3ab)][_0x2e28bb],this[_0x1b17f1(0x3ab)][_0x3503ad]);_0x2d126a&&(_0x3b89c3=new _0x3a8eda(_0x3b89c3[_0x1b17f1(0x219)],_0x3b89c3['byteOffset'],_0x3b89c3[_0x1b17f1(0x351)]-0x4)),this[_0x1b17f1(0x3ab)][_0x3c6d9f]=null,this[_0x1b17f1(0x3ab)][_0x3503ad]=0x0,this['_deflate'][_0x2e28bb]=[],_0x2d126a&&this[_0x1b17f1(0x223)][_0x10f1a8+_0x1b17f1(0x2b6)]&&this[_0x1b17f1(0x3ab)][_0x1b17f1(0x1e2)](),_0x1eb4b2(null,_0x3b89c3);});}}ve=_0xf55373;function _0x25a5c(_0x15bb4c){const _0x2098e8=_0x3efd21;this[_0x2e28bb][_0x2098e8(0x306)](_0x15bb4c),this[_0x3503ad]+=_0x15bb4c[_0x2098e8(0x351)];}function _0x5a88af(_0x287b65){const _0x6604a0=_0x3efd21;if(this[_0x3503ad]+=_0x287b65['length'],this[_0x1e5013][_0x6604a0(0x232)]<0x1||this[_0x3503ad]<=this[_0x1e5013]['_maxPayload']){this[_0x2e28bb][_0x6604a0(0x306)](_0x287b65);return;}this[_0x5a31ee]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x5a31ee][_0x6604a0(0x225)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x5a31ee][_0x4c09e0]=0x3f1,this[_0x6604a0(0x246)]('data',_0x5a88af),this[_0x6604a0(0x1e2)]();}function _0x4cabaa(_0x323f67){const _0xe00990=_0x3efd21;if(this[_0x1e5013][_0xe00990(0x28c)]=null,this[_0x5a31ee]){this[_0x3c6d9f](this[_0x5a31ee]);return;}_0x323f67[_0x4c09e0]=0x3ef,this[_0x3c6d9f](_0x323f67);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x35552f(0x33d)](Object[_0x35552f(0x21a)]({'__proto__':null,'default':Dt},Symbol[_0x35552f(0x205)],{'value':'Module'})),Bt=at(Rt);var Ye;function _0x5e9d(){const _0x5d2ecd=['skipUTF8Validation','customHeaders','pong','Invalid\x20Upgrade\x20header','WS_ERR_UNEXPECTED_RSV_2_3','writeUInt16BE','resume','setTimeout','_deflate','format','_isServer','reset','next','kTarget','10042983ltdosO','invalid\x20opcode\x200','reason','sendFrame','onStarting','isInteger','protocol','allocUnsafe','_destroy','map','finish','_server','handleProtocols','_closeFrameReceived','WS_ERR_EXPECTED_MASK','invalid\x20opcode\x20','_receiver','location','sec-websocket-origin','data','destroyed','Max\x20payload\x20size\x20exceeded','cookie','object','error','defaultPort','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Unexpected\x20character\x20at\x20index\x20','WS_NO_UTF_8_VALIDATE','port','_firstFragment','update','toStringTag','handshakeTimeout','type','wsClientError','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','from','listeners','getPayloadLength64','4NKyAcO','handleEvent','buffers','Invalid\x20value\x20for\x20parameter\x20\x22','4ukAIle','Server\x20sent\x20no\x20subprotocol','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','function','origin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','extensionName','noServer','buffer','defineProperty','consume','exports','_fragmented','_skipUTF8Validation','11396803tcDSyi','_opcode','\x22\x20subprotocol\x20is\x20duplicated','connect','params','redirect','code','isValidUTF8','alloc','kError','string','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pluginName','invalid\x20status\x20code\x20','getInfo','callback','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_paused','slice','_maxPayload','isBuffer','species','headers','binaryType','\x22:\x20','pathname','apply','keys','sec-websocket-protocol','pow','getPayloadLength16','websocket','_threshold','maxRedirects','hostname','kType','readOnly','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Invalid\x20URL:\x20','removeListener','kAborted','concat','socket','byteOffset','search','socketPath','createConnection','completeUpgrade','permessage-deflate','_closeCode','NodeCollaborationSocketService','startLoop','emitClose','_read','threshold','WS_ERR_INVALID_CLOSE_CODE','ILogService','registerDependencies','Unexpected\x20server\x20response:\x20','4062okgfNv','_fragments','replace','accept','abort','UniverCollaborationClientNodePlugin','text/html','byteLength','_bufferedBytes','HTTPService','collaboration-client-node.config','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_state','constructor','invalid\x20payload\x20length\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','autoPong','wss:','_registerDependencies','timeout','nodebuffer','clientMaxWindowBits','Observable','CONNECTING','getBlobData','ping','@univerjs-pro/collaboration-client','rxjs','WS_ERR_INVALID_UTF8','onerror','1599867GXGxiK','once','zlibDeflateOptions','toDisposable','includes','_payloadLength','frame','destroy','close','removeAllListeners','has','createInflateRaw','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_originalSecure','@univerjs/core','Server\x20sent\x20an\x20invalid\x20subprotocol','_readableState','ws+unix:','Parameter\x20\x22','_inflate','wasClean','startsWith','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','STATUS_CODES','target','_compress','readUInt32BE','sec-websocket-version','pipe','_bufferedAmount','The\x20server\x20is\x20not\x20running','options','\x20(supported\x20versions:\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_injector','kIsForOnEventAttribute','CollaborationSocketService','number','Connection:\x20Upgrade','http','DisposableCollection','_options','allowSynchronousEvents','_closeFrameSent','get','_generateMask','statusCode','OPEN','tls','share','sec-websocket-accept','COLLABORATION_CLIENT_NODE_CONFIG_KEY','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_errored','add','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','kMessage','_masked','dequeue','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Plugin','_no_context_takeover','_totalPayloadLength','compress','kReason','_writableState','blob','unshift','Z_DEFAULT_WINDOWBITS','getConfig','Cookie','Unknown\x20parameter\x20\x22','followRedirects','protocolVersion','password','perMessageDeflate','ws:','fin','ISnapshotServerService','send','message','delete','_allowSynchronousEvents','connection','_decompress','nextTick','File','HTTP/1.1\x20101\x20Switching\x20Protocols','_req','client_no_context_takeover','values','Z_SYNC_FLUSH','authorization','Invalid\x20HTTP\x20method','request','kData','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Sec-WebSocket-Extensions:\x20','_fin','catch','kDone','_originalIpc','WS_ERR_UNEXPECTED_RSV_1','upgrade','Sec-WebSocket-Extensions','split','writeHead','_mask','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','onmessage','_originalHostOrSocketPath','_errorEmitted','size','flush','read','listening','IConfigService','FIN\x20must\x20be\x20set','_messageLength','errorEmitted','hash','call','sec-websocket-extensions','removeEventListener','_removeListeners','isArray','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','conclude','captureStackTrace','client_max_window_bits','Disposable','120506YVMipm','@univerjs/network','servername','method','_maskBuffer','listen','test','The\x20\x22','needDrain','username','push','setConfig','_queue','addEventListener','Injector','GET','set','status-code','isIP','isServer','net','_redirects','base64','client','Opening\x20handshake\x20has\x20timed\x20out','_configService','Origin','_closeTimer','cleanup','decompress','Sec-WebSocket-Origin','1315MMFVvP','join','_readyState','Invalid\x20Sec-WebSocket-Accept\x20header','pause','normalizeParams','readyState','https','8lVIQxH','isPaused','terminate','clients','write','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','controlMessage','getOwnPropertyDescriptor','getMask','host','Blob','createServer','6750142Tunyiv','WS_ERR_UNEXPECTED_MASK','Upgrade:\x20websocket','opcode','createDeflateRaw','createError','_sender','server','end','toString','haveLength','kListener','The\x20URL\x27s\x20pathname\x20is\x20empty','create','freeze','serverNoContextTakeover','Sec-WebSocket-Accept:\x20','backlog','stream','WS_ERR_INVALID_OPCODE','clientTracking','forEach','server_max_window_bits','_shouldEmitClose','serverMaxWindowBits','dataMessage','_autoPong','maskBuffer','kRun','_loop','registerHTTPInterceptor','_closeMessage','10WCyZdB','CLOSED','length','acceptAsServer','_buffers','clientNoContextTakeover','acceptAsClient','events','concurrencyLimit','address','maxPayload','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','invalid\x20UTF-8\x20sequence','fragments','mask','env','createSocket','enqueue','finished','binary','extensions','getData','then','charCodeAt','Sec-WebSocket-Protocol:\x20','bind','listenerCount','server_no_context_takeover','cork','default','_binaryType','jobs','dispatch','MASK\x20must\x20be\x20set','indexOf','writeUIntBE','_doCreateSocket','_compressed','auth','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','_write','_extensions','verifyClient','pending','_final','parse','writable','endEmitted','RSV1\x20must\x20be\x20clear','unmask','shift','isView','toLowerCase','url','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','prototype','readUInt16BE','Upgrade','HTTP/1.1\x20','_protocol','setNoDelay','generateMask','emit','CLOSING','entries','_socket','zlib','onopen','total-length','http:','digest','concurrency','arraybuffer','open','path','WS_ERR_EXPECTED_FIN','shouldHandle','authorized','finishRequest','response','offer','Inject','Basic\x20','33669312qiIiIM'];_0x5e9d=function(){return _0x5d2ecd;};return _0x5e9d();}function ae(){const _0x48d721=_0x35552f;if(Ye)return ie[_0x48d721(0x21c)];Ye=0x1;const {isUtf8:_0x13c3a2}=wt,{hasBlob:_0x2c8d76}=H(),_0x47660c=[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 _0x31f75d(_0xd12e8d){return _0xd12e8d>=0x3e8&&_0xd12e8d<=0x3f6&&_0xd12e8d!==0x3ec&&_0xd12e8d!==0x3ed&&_0xd12e8d!==0x3ee||_0xd12e8d>=0xbb8&&_0xd12e8d<=0x1387;}function _0x2267e9(_0x173477){const _0x5799f3=_0x48d721,_0x2a47c8=_0x173477[_0x5799f3(0x351)];let _0x140a41=0x0;for(;_0x140a41<_0x2a47c8;)if((_0x173477[_0x140a41]&0x80)===0x0)_0x140a41++;else{if((_0x173477[_0x140a41]&0xe0)===0xc0){if(_0x140a41+0x1===_0x2a47c8||(_0x173477[_0x140a41+0x1]&0xc0)!==0x80||(_0x173477[_0x140a41]&0xfe)===0xc0)return!0x1;_0x140a41+=0x2;}else{if((_0x173477[_0x140a41]&0xf0)===0xe0){if(_0x140a41+0x2>=_0x2a47c8||(_0x173477[_0x140a41+0x1]&0xc0)!==0x80||(_0x173477[_0x140a41+0x2]&0xc0)!==0x80||_0x173477[_0x140a41]===0xe0&&(_0x173477[_0x140a41+0x1]&0xe0)===0x80||_0x173477[_0x140a41]===0xed&&(_0x173477[_0x140a41+0x1]&0xe0)===0xa0)return!0x1;_0x140a41+=0x3;}else{if((_0x173477[_0x140a41]&0xf8)===0xf0){if(_0x140a41+0x3>=_0x2a47c8||(_0x173477[_0x140a41+0x1]&0xc0)!==0x80||(_0x173477[_0x140a41+0x2]&0xc0)!==0x80||(_0x173477[_0x140a41+0x3]&0xc0)!==0x80||_0x173477[_0x140a41]===0xf0&&(_0x173477[_0x140a41+0x1]&0xf0)===0x80||_0x173477[_0x140a41]===0xf4&&_0x173477[_0x140a41+0x1]>0x8f||_0x173477[_0x140a41]>0xf4)return!0x1;_0x140a41+=0x4;}else return!0x1;}}}return!0x0;}function _0x58cbc2(_0x4be1f6){const _0x13e7d8=_0x48d721;return _0x2c8d76&&typeof _0x4be1f6=='object'&&typeof _0x4be1f6['arrayBuffer']=='function'&&typeof _0x4be1f6[_0x13e7d8(0x207)]=='string'&&typeof _0x4be1f6[_0x13e7d8(0x341)]=='function'&&(_0x4be1f6[Symbol[_0x13e7d8(0x205)]]===_0x13e7d8(0x32d)||_0x4be1f6[Symbol[_0x13e7d8(0x205)]]===_0x13e7d8(0x2cf));}if(ie[_0x48d721(0x21c)]={'isBlob':_0x58cbc2,'isValidStatusCode':_0x31f75d,'isValidUTF8':_0x2267e9,'tokenChars':_0x47660c},_0x13c3a2)ie[_0x48d721(0x21c)][_0x48d721(0x226)]=function(_0x265682){const _0x143c13=_0x48d721;return _0x265682[_0x143c13(0x351)]<0x18?_0x2267e9(_0x265682):_0x13c3a2(_0x265682);};else{if(!process[_0x48d721(0x35e)][_0x48d721(0x201)])try{const _0x1b9433=Bt;ie[_0x48d721(0x21c)]['isValidUTF8']=function(_0x2b2fda){const _0x313e65=_0x48d721;return _0x2b2fda[_0x313e65(0x351)]<0x20?_0x2267e9(_0x2b2fda):_0x1b9433(_0x2b2fda);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x1fdf5e=_0x35552f;if(Ke)return Se;Ke=0x1;const {Writable:_0x411db8}=oe,_0x5ea262=he(),{BINARY_TYPES:_0x9654d1,EMPTY_BUFFER:_0x45f32a,kStatusCode:_0x9c0bd,kWebSocket:_0x42b7d6}=H(),{concat:_0x4881d7,toArrayBuffer:_0x2b8da1,unmask:_0x4100d1}=ce(),{isValidStatusCode:_0x47146d,isValidUTF8:_0x18712a}=ae(),_0x1f9005=Buffer[Symbol[_0x1fdf5e(0x234)]],_0x5115d5=0x0,_0x5a925b=0x1,_0x5deb79=0x2,_0x519360=0x3,_0x2a59e4=0x4,_0x30a968=0x5,_0x4306ff=0x6;class _0x17bafb extends _0x411db8{constructor(_0x57397a={}){const _0x4c7bc3=_0x1fdf5e;super(),this[_0x4c7bc3(0x2cb)]=_0x57397a[_0x4c7bc3(0x2a3)]!==void 0x0?_0x57397a[_0x4c7bc3(0x2a3)]:!0x0,this[_0x4c7bc3(0x36d)]=_0x57397a[_0x4c7bc3(0x236)]||_0x9654d1[0x0],this['_extensions']=_0x57397a['extensions']||{},this[_0x4c7bc3(0x3ad)]=!!_0x57397a[_0x4c7bc3(0x30f)],this[_0x4c7bc3(0x232)]=_0x57397a['maxPayload']|0x0,this[_0x4c7bc3(0x21e)]=!!_0x57397a['skipUTF8Validation'],this[_0x42b7d6]=void 0x0,this[_0x4c7bc3(0x262)]=0x0,this[_0x4c7bc3(0x353)]=[],this[_0x4c7bc3(0x374)]=!0x1,this['_payloadLength']=0x0,this[_0x4c7bc3(0x2e4)]=void 0x0,this[_0x4c7bc3(0x21d)]=0x0,this[_0x4c7bc3(0x2b2)]=!0x1,this['_fin']=!0x1,this[_0x4c7bc3(0x220)]=0x0,this[_0x4c7bc3(0x2b7)]=0x0,this[_0x4c7bc3(0x2ef)]=0x0,this[_0x4c7bc3(0x25b)]=[],this[_0x4c7bc3(0x2ae)]=!0x1,this[_0x4c7bc3(0x34c)]=!0x1,this['_state']=_0x5115d5;}[_0x1fdf5e(0x377)](_0x531d8c,_0x58c3bd,_0x129b1e){const _0x58c878=_0x1fdf5e;if(this['_opcode']===0x8&&this[_0x58c878(0x266)]==_0x5115d5)return _0x129b1e();this['_bufferedBytes']+=_0x531d8c[_0x58c878(0x351)],this[_0x58c878(0x353)][_0x58c878(0x306)](_0x531d8c),this[_0x58c878(0x252)](_0x129b1e);}['consume'](_0x8ba36b){const _0x258bfd=_0x1fdf5e;if(this[_0x258bfd(0x262)]-=_0x8ba36b,_0x8ba36b===this['_buffers'][0x0][_0x258bfd(0x351)])return this['_buffers'][_0x258bfd(0x381)]();if(_0x8ba36b<this[_0x258bfd(0x353)][0x0][_0x258bfd(0x351)]){const _0x18f9ee=this['_buffers'][0x0];return this[_0x258bfd(0x353)][0x0]=new _0x1f9005(_0x18f9ee['buffer'],_0x18f9ee[_0x258bfd(0x24a)]+_0x8ba36b,_0x18f9ee[_0x258bfd(0x351)]-_0x8ba36b),new _0x1f9005(_0x18f9ee[_0x258bfd(0x219)],_0x18f9ee[_0x258bfd(0x24a)],_0x8ba36b);}const _0x5d0458=Buffer[_0x258bfd(0x1ec)](_0x8ba36b);do{const _0x1e3b35=this[_0x258bfd(0x353)][0x0],_0xea6eb1=_0x5d0458[_0x258bfd(0x351)]-_0x8ba36b;_0x8ba36b>=_0x1e3b35[_0x258bfd(0x351)]?_0x5d0458['set'](this[_0x258bfd(0x353)][_0x258bfd(0x381)](),_0xea6eb1):(_0x5d0458[_0x258bfd(0x30c)](new Uint8Array(_0x1e3b35['buffer'],_0x1e3b35[_0x258bfd(0x24a)],_0x8ba36b),_0xea6eb1),this[_0x258bfd(0x353)][0x0]=new _0x1f9005(_0x1e3b35['buffer'],_0x1e3b35[_0x258bfd(0x24a)]+_0x8ba36b,_0x1e3b35[_0x258bfd(0x351)]-_0x8ba36b)),_0x8ba36b-=_0x1e3b35[_0x258bfd(0x351)];}while(_0x8ba36b>0x0);return _0x5d0458;}['startLoop'](_0x4f2e06){const _0xffa444=_0x1fdf5e;this['_loop']=!0x0;do switch(this[_0xffa444(0x266)]){case _0x5115d5:this[_0xffa444(0x22d)](_0x4f2e06);break;case _0x5a925b:this[_0xffa444(0x23d)](_0x4f2e06);break;case _0x5deb79:this[_0xffa444(0x20c)](_0x4f2e06);break;case _0x519360:this[_0xffa444(0x32b)]();break;case _0x2a59e4:this[_0xffa444(0x364)](_0x4f2e06);break;case _0x30a968:case _0x4306ff:this[_0xffa444(0x34c)]=!0x1;return;}while(this[_0xffa444(0x34c)]);this[_0xffa444(0x2ae)]||_0x4f2e06();}['getInfo'](_0x5f41ec){const _0x5e6bc8=_0x1fdf5e;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x3d2bc7=this['consume'](0x2);if((_0x3d2bc7[0x0]&0x30)!==0x0){const _0x276170=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x5e6bc8(0x3a7));_0x5f41ec(_0x276170);return;}const _0x486216=(_0x3d2bc7[0x0]&0x40)===0x40;if(_0x486216&&!this[_0x5e6bc8(0x378)][_0x5ea262[_0x5e6bc8(0x217)]]){const _0x20a08f=this[_0x5e6bc8(0x334)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5e6bc8(0x2df));_0x5f41ec(_0x20a08f);return;}if(this[_0x5e6bc8(0x2db)]=(_0x3d2bc7[0x0]&0x80)===0x80,this['_opcode']=_0x3d2bc7[0x0]&0xf,this['_payloadLength']=_0x3d2bc7[0x1]&0x7f,this['_opcode']===0x0){if(_0x486216){const _0x180f22=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5e6bc8(0x2df));_0x5f41ec(_0x180f22);return;}if(!this[_0x5e6bc8(0x21d)]){const _0x3caa00=this[_0x5e6bc8(0x334)](RangeError,_0x5e6bc8(0x1e6),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5f41ec(_0x3caa00);return;}this['_opcode']=this[_0x5e6bc8(0x21d)];}else{if(this[_0x5e6bc8(0x220)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x49f830=this['createError'](RangeError,_0x5e6bc8(0x1f4)+this[_0x5e6bc8(0x220)],!0x0,0x3ea,_0x5e6bc8(0x342));_0x5f41ec(_0x49f830);return;}this[_0x5e6bc8(0x374)]=_0x486216;}else{if(this['_opcode']>0x7&&this[_0x5e6bc8(0x220)]<0xb){if(!this[_0x5e6bc8(0x2db)]){const _0xe4b6ab=this[_0x5e6bc8(0x334)](RangeError,_0x5e6bc8(0x2ee),!0x0,0x3ea,_0x5e6bc8(0x39a));_0x5f41ec(_0xe4b6ab);return;}if(_0x486216){const _0x4389ca=this['createError'](RangeError,_0x5e6bc8(0x37f),!0x0,0x3ea,_0x5e6bc8(0x2df));_0x5f41ec(_0x4389ca);return;}if(this['_payloadLength']>0x7d||this[_0x5e6bc8(0x220)]===0x8&&this[_0x5e6bc8(0x27e)]===0x1){const _0x2d88d5=this[_0x5e6bc8(0x334)](RangeError,_0x5e6bc8(0x268)+this[_0x5e6bc8(0x27e)],!0x0,0x3ea,_0x5e6bc8(0x28f));_0x5f41ec(_0x2d88d5);return;}}else{const _0x4898a0=this[_0x5e6bc8(0x334)](RangeError,_0x5e6bc8(0x1f4)+this[_0x5e6bc8(0x220)],!0x0,0x3ea,_0x5e6bc8(0x342));_0x5f41ec(_0x4898a0);return;}}}if(!this[_0x5e6bc8(0x2db)]&&!this['_fragmented']&&(this[_0x5e6bc8(0x21d)]=this[_0x5e6bc8(0x220)]),this[_0x5e6bc8(0x2b2)]=(_0x3d2bc7[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5e6bc8(0x2b2)]){const _0x4b918a=this[_0x5e6bc8(0x334)](RangeError,_0x5e6bc8(0x370),!0x0,0x3ea,_0x5e6bc8(0x1f3));_0x5f41ec(_0x4b918a);return;}}else{if(this[_0x5e6bc8(0x2b2)]){const _0x1c35cf=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x5e6bc8(0x330));_0x5f41ec(_0x1c35cf);return;}}this[_0x5e6bc8(0x27e)]===0x7e?this[_0x5e6bc8(0x266)]=_0x5a925b:this[_0x5e6bc8(0x27e)]===0x7f?this['_state']=_0x5deb79:this[_0x5e6bc8(0x339)](_0x5f41ec);}[_0x1fdf5e(0x23d)](_0x19e35e){const _0x4a6c25=_0x1fdf5e;if(this[_0x4a6c25(0x262)]<0x2){this[_0x4a6c25(0x34c)]=!0x1;return;}this[_0x4a6c25(0x27e)]=this['consume'](0x2)[_0x4a6c25(0x387)](0x0),this[_0x4a6c25(0x339)](_0x19e35e);}['getPayloadLength64'](_0x292d08){const _0x19b56f=_0x1fdf5e;if(this[_0x19b56f(0x262)]<0x8){this['_loop']=!0x1;return;}const _0x211243=this[_0x19b56f(0x21b)](0x8),_0x342a90=_0x211243['readUInt32BE'](0x0);if(_0x342a90>Math['pow'](0x2,0x15)-0x1){const _0x5aa6b9=this[_0x19b56f(0x334)](RangeError,_0x19b56f(0x26a),!0x1,0x3f1,_0x19b56f(0x2e5));_0x292d08(_0x5aa6b9);return;}this[_0x19b56f(0x27e)]=_0x342a90*Math[_0x19b56f(0x23c)](0x2,0x20)+_0x211243[_0x19b56f(0x293)](0x4),this['haveLength'](_0x292d08);}['haveLength'](_0x2566b5){const _0x23fb2f=_0x1fdf5e;if(this[_0x23fb2f(0x27e)]&&this[_0x23fb2f(0x220)]<0x8&&(this[_0x23fb2f(0x2b7)]+=this['_payloadLength'],this[_0x23fb2f(0x2b7)]>this[_0x23fb2f(0x232)]&&this['_maxPayload']>0x0)){const _0x1c360a=this[_0x23fb2f(0x334)](RangeError,_0x23fb2f(0x1fa),!0x1,0x3f1,_0x23fb2f(0x2ad));_0x2566b5(_0x1c360a);return;}this['_masked']?this[_0x23fb2f(0x266)]=_0x519360:this[_0x23fb2f(0x266)]=_0x2a59e4;}[_0x1fdf5e(0x32b)](){const _0x278692=_0x1fdf5e;if(this[_0x278692(0x262)]<0x4){this['_loop']=!0x1;return;}this[_0x278692(0x2e4)]=this['consume'](0x4),this[_0x278692(0x266)]=_0x2a59e4;}[_0x1fdf5e(0x364)](_0xba0951){const _0x1973b3=_0x1fdf5e;let _0x4e8346=_0x45f32a;if(this[_0x1973b3(0x27e)]){if(this[_0x1973b3(0x262)]<this[_0x1973b3(0x27e)]){this['_loop']=!0x1;return;}_0x4e8346=this[_0x1973b3(0x21b)](this[_0x1973b3(0x27e)]),this['_masked']&&(this['_mask'][0x0]|this[_0x1973b3(0x2e4)][0x1]|this[_0x1973b3(0x2e4)][0x2]|this[_0x1973b3(0x2e4)][0x3])!==0x0&&_0x4100d1(_0x4e8346,this[_0x1973b3(0x2e4)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x4e8346,_0xba0951);return;}if(this[_0x1973b3(0x374)]){this['_state']=_0x30a968,this[_0x1973b3(0x319)](_0x4e8346,_0xba0951);return;}_0x4e8346[_0x1973b3(0x351)]&&(this['_messageLength']=this[_0x1973b3(0x2b7)],this[_0x1973b3(0x25b)][_0x1973b3(0x306)](_0x4e8346)),this[_0x1973b3(0x348)](_0xba0951);}[_0x1fdf5e(0x319)](_0x555b42,_0x4363d4){const _0x433dd2=_0x1fdf5e;this['_extensions'][_0x5ea262[_0x433dd2(0x217)]][_0x433dd2(0x319)](_0x555b42,this[_0x433dd2(0x2db)],(_0x18a048,_0x2fea4d)=>{const _0x19128c=_0x433dd2;if(_0x18a048)return _0x4363d4(_0x18a048);if(_0x2fea4d[_0x19128c(0x351)]){if(this[_0x19128c(0x2ef)]+=_0x2fea4d[_0x19128c(0x351)],this['_messageLength']>this[_0x19128c(0x232)]&&this[_0x19128c(0x232)]>0x0){const _0x5f11ac=this[_0x19128c(0x334)](RangeError,_0x19128c(0x1fa),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4363d4(_0x5f11ac);return;}this['_fragments'][_0x19128c(0x306)](_0x2fea4d);}this['dataMessage'](_0x4363d4),this['_state']===_0x5115d5&&this[_0x19128c(0x252)](_0x4363d4);});}[_0x1fdf5e(0x348)](_0xb338ae){const _0x5678f0=_0x1fdf5e;if(!this['_fin']){this[_0x5678f0(0x266)]=_0x5115d5;return;}const _0x12d4d5=this[_0x5678f0(0x2ef)],_0x6ca93f=this[_0x5678f0(0x25b)];if(this[_0x5678f0(0x2b7)]=0x0,this[_0x5678f0(0x2ef)]=0x0,this['_fragmented']=0x0,this[_0x5678f0(0x25b)]=[],this['_opcode']===0x2){let _0x336e36;this[_0x5678f0(0x36d)]===_0x5678f0(0x26f)?_0x336e36=_0x4881d7(_0x6ca93f,_0x12d4d5):this[_0x5678f0(0x36d)]==='arraybuffer'?_0x336e36=_0x2b8da1(_0x4881d7(_0x6ca93f,_0x12d4d5)):this[_0x5678f0(0x36d)]===_0x5678f0(0x2bb)?_0x336e36=new Blob(_0x6ca93f):_0x336e36=_0x6ca93f,this[_0x5678f0(0x2cb)]?(this['emit'](_0x5678f0(0x2c9),_0x336e36,!0x0),this['_state']=_0x5115d5):(this[_0x5678f0(0x266)]=_0x4306ff,setImmediate(()=>{const _0xa61112=_0x5678f0;this[_0xa61112(0x38d)](_0xa61112(0x2c9),_0x336e36,!0x0),this[_0xa61112(0x266)]=_0x5115d5,this[_0xa61112(0x252)](_0xb338ae);}));}else{const _0x46cd9e=_0x4881d7(_0x6ca93f,_0x12d4d5);if(!this['_skipUTF8Validation']&&!_0x18712a(_0x46cd9e)){const _0x1252a8=this[_0x5678f0(0x334)](Error,_0x5678f0(0x35b),!0x0,0x3ef,_0x5678f0(0x277));_0xb338ae(_0x1252a8);return;}this[_0x5678f0(0x266)]===_0x30a968||this['_allowSynchronousEvents']?(this[_0x5678f0(0x38d)](_0x5678f0(0x2c9),_0x46cd9e,!0x1),this['_state']=_0x5115d5):(this[_0x5678f0(0x266)]=_0x4306ff,setImmediate(()=>{const _0x5552fc=_0x5678f0;this['emit'](_0x5552fc(0x2c9),_0x46cd9e,!0x1),this[_0x5552fc(0x266)]=_0x5115d5,this['startLoop'](_0xb338ae);}));}}[_0x1fdf5e(0x329)](_0x4155f0,_0x52dba1){const _0x2ffbcf=_0x1fdf5e;if(this[_0x2ffbcf(0x220)]===0x8){if(_0x4155f0[_0x2ffbcf(0x351)]===0x0)this[_0x2ffbcf(0x34c)]=!0x1,this[_0x2ffbcf(0x38d)](_0x2ffbcf(0x2f8),0x3ed,_0x45f32a),this[_0x2ffbcf(0x337)]();else{const _0x58df12=_0x4155f0[_0x2ffbcf(0x387)](0x0);if(!_0x47146d(_0x58df12)){const _0x5ab019=this[_0x2ffbcf(0x334)](RangeError,_0x2ffbcf(0x22c)+_0x58df12,!0x0,0x3ea,_0x2ffbcf(0x256));_0x52dba1(_0x5ab019);return;}const _0x5188e2=new _0x1f9005(_0x4155f0[_0x2ffbcf(0x219)],_0x4155f0[_0x2ffbcf(0x24a)]+0x2,_0x4155f0['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x18712a(_0x5188e2)){const _0x47a723=this[_0x2ffbcf(0x334)](Error,_0x2ffbcf(0x35b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x52dba1(_0x47a723);return;}this[_0x2ffbcf(0x34c)]=!0x1,this[_0x2ffbcf(0x38d)](_0x2ffbcf(0x2f8),_0x58df12,_0x5188e2),this['end']();}this['_state']=_0x5115d5;return;}this[_0x2ffbcf(0x2cb)]?(this[_0x2ffbcf(0x38d)](this[_0x2ffbcf(0x220)]===0x9?_0x2ffbcf(0x274):'pong',_0x4155f0),this['_state']=_0x5115d5):(this[_0x2ffbcf(0x266)]=_0x4306ff,setImmediate(()=>{const _0x14cf0b=_0x2ffbcf;this[_0x14cf0b(0x38d)](this[_0x14cf0b(0x220)]===0x9?_0x14cf0b(0x274):_0x14cf0b(0x3a5),_0x4155f0),this[_0x14cf0b(0x266)]=_0x5115d5,this['startLoop'](_0x52dba1);}));}['createError'](_0x49e961,_0x3d0a20,_0x7a9d1f,_0x4116f5,_0x1b0a6a){const _0x241f8e=_0x1fdf5e;this['_loop']=!0x1,this['_errored']=!0x0;const _0x3380b4=new _0x49e961(_0x7a9d1f?'Invalid\x20WebSocket\x20frame:\x20'+_0x3d0a20:_0x3d0a20);return Error[_0x241f8e(0x2f9)](_0x3380b4,this['createError']),_0x3380b4[_0x241f8e(0x225)]=_0x1b0a6a,_0x3380b4[_0x9c0bd]=_0x4116f5,_0x3380b4;}}return Se=_0x17bafb,Se;}var Ee,Xe;function ft(){const _0x3b8e51=_0x35552f;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4ffc9e}=oe,{randomFillSync:_0x20d339}=Le,_0x18900c=he(),{EMPTY_BUFFER:_0x277b2c,kWebSocket:_0x361b55,NOOP:_0x11c22d}=H(),{isBlob:_0x29d187,isValidStatusCode:_0x7ccb44}=ae(),{mask:_0x254ff2,toBuffer:_0xe4e651}=ce(),_0x7ec2f5=Symbol('kByteLength'),_0x5f2325=Buffer[_0x3b8e51(0x227)](0x4),_0x2bff60=0x8*0x400;let _0x274b20,_0x1741ff=_0x2bff60;const _0x4600e1=0x0,_0x4f8418=0x1,_0x3e7285=0x2;class _0x3099a4{constructor(_0x1e75b1,_0xf46460,_0x5ceed3){const _0xd29d51=_0x3b8e51;this[_0xd29d51(0x378)]=_0xf46460||{},_0x5ceed3&&(this[_0xd29d51(0x2a6)]=_0x5ceed3,this['_maskBuffer']=Buffer[_0xd29d51(0x227)](0x4)),this[_0xd29d51(0x390)]=_0x1e75b1,this[_0xd29d51(0x203)]=!0x0,this['_compress']=!0x1,this[_0xd29d51(0x262)]=0x0,this[_0xd29d51(0x308)]=[],this[_0xd29d51(0x266)]=_0x4600e1,this['onerror']=_0x11c22d,this[_0x361b55]=void 0x0;}static[_0x3b8e51(0x27f)](_0xca47ee,_0x2ee22d){const _0x1ae2a8=_0x3b8e51;let _0x16245a,_0x4a6187=!0x1,_0x546eef=0x2,_0x641775=!0x1;_0x2ee22d[_0x1ae2a8(0x35d)]&&(_0x16245a=_0x2ee22d[_0x1ae2a8(0x34a)]||_0x5f2325,_0x2ee22d['generateMask']?_0x2ee22d[_0x1ae2a8(0x38c)](_0x16245a):(_0x1741ff===_0x2bff60&&(_0x274b20===void 0x0&&(_0x274b20=Buffer[_0x1ae2a8(0x227)](_0x2bff60)),_0x20d339(_0x274b20,0x0,_0x2bff60),_0x1741ff=0x0),_0x16245a[0x0]=_0x274b20[_0x1741ff++],_0x16245a[0x1]=_0x274b20[_0x1741ff++],_0x16245a[0x2]=_0x274b20[_0x1741ff++],_0x16245a[0x3]=_0x274b20[_0x1741ff++]),_0x641775=(_0x16245a[0x0]|_0x16245a[0x1]|_0x16245a[0x2]|_0x16245a[0x3])===0x0,_0x546eef=0x6);let _0x11572d;typeof _0xca47ee=='string'?(!_0x2ee22d[_0x1ae2a8(0x35d)]||_0x641775)&&_0x2ee22d[_0x7ec2f5]!==void 0x0?_0x11572d=_0x2ee22d[_0x7ec2f5]:(_0xca47ee=Buffer[_0x1ae2a8(0x20a)](_0xca47ee),_0x11572d=_0xca47ee['length']):(_0x11572d=_0xca47ee[_0x1ae2a8(0x351)],_0x4a6187=_0x2ee22d['mask']&&_0x2ee22d[_0x1ae2a8(0x243)]&&!_0x641775);let _0x30f4b8=_0x11572d;_0x11572d>=0x10000?(_0x546eef+=0x8,_0x30f4b8=0x7f):_0x11572d>0x7d&&(_0x546eef+=0x2,_0x30f4b8=0x7e);const _0x5d3fd6=Buffer[_0x1ae2a8(0x1ec)](_0x4a6187?_0x11572d+_0x546eef:_0x546eef);return _0x5d3fd6[0x0]=_0x2ee22d['fin']?_0x2ee22d[_0x1ae2a8(0x332)]|0x80:_0x2ee22d[_0x1ae2a8(0x332)],_0x2ee22d['rsv1']&&(_0x5d3fd6[0x0]|=0x40),_0x5d3fd6[0x1]=_0x30f4b8,_0x30f4b8===0x7e?_0x5d3fd6[_0x1ae2a8(0x3a8)](_0x11572d,0x2):_0x30f4b8===0x7f&&(_0x5d3fd6[0x2]=_0x5d3fd6[0x3]=0x0,_0x5d3fd6[_0x1ae2a8(0x372)](_0x11572d,0x4,0x6)),_0x2ee22d[_0x1ae2a8(0x35d)]?(_0x5d3fd6[0x1]|=0x80,_0x5d3fd6[_0x546eef-0x4]=_0x16245a[0x0],_0x5d3fd6[_0x546eef-0x3]=_0x16245a[0x1],_0x5d3fd6[_0x546eef-0x2]=_0x16245a[0x2],_0x5d3fd6[_0x546eef-0x1]=_0x16245a[0x3],_0x641775?[_0x5d3fd6,_0xca47ee]:_0x4a6187?(_0x254ff2(_0xca47ee,_0x16245a,_0x5d3fd6,_0x546eef,_0x11572d),[_0x5d3fd6]):(_0x254ff2(_0xca47ee,_0x16245a,_0xca47ee,0x0,_0x11572d),[_0x5d3fd6,_0xca47ee])):[_0x5d3fd6,_0xca47ee];}['close'](_0x9394ea,_0xe86c55,_0x687c06,_0x51ab2c){const _0x2b41e9=_0x3b8e51;let _0x49aff0;if(_0x9394ea===void 0x0)_0x49aff0=_0x277b2c;else{if(typeof _0x9394ea!=_0x2b41e9(0x29e)||!_0x7ccb44(_0x9394ea))throw new TypeError(_0x2b41e9(0x213));if(_0xe86c55===void 0x0||!_0xe86c55['length'])_0x49aff0=Buffer[_0x2b41e9(0x1ec)](0x2),_0x49aff0['writeUInt16BE'](_0x9394ea,0x0);else{const _0x3fb855=Buffer[_0x2b41e9(0x261)](_0xe86c55);if(_0x3fb855>0x7b)throw new RangeError(_0x2b41e9(0x216));_0x49aff0=Buffer[_0x2b41e9(0x1ec)](0x2+_0x3fb855),_0x49aff0['writeUInt16BE'](_0x9394ea,0x0),typeof _0xe86c55==_0x2b41e9(0x229)?_0x49aff0[_0x2b41e9(0x327)](_0xe86c55,0x2):_0x49aff0[_0x2b41e9(0x30c)](_0xe86c55,0x2);}}const _0x30fa88={[_0x7ec2f5]:_0x49aff0['length'],'fin':!0x0,'generateMask':this[_0x2b41e9(0x2a6)],'mask':_0x687c06,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2b41e9(0x266)]!==_0x4600e1?this['enqueue']([this[_0x2b41e9(0x36f)],_0x49aff0,!0x1,_0x30fa88,_0x51ab2c]):this[_0x2b41e9(0x1e8)](_0x3099a4[_0x2b41e9(0x27f)](_0x49aff0,_0x30fa88),_0x51ab2c);}[_0x3b8e51(0x274)](_0x29c65b,_0x4e4a18,_0x278bc4){const _0x391abf=_0x3b8e51;let _0x227adc,_0x13b789;if(typeof _0x29c65b==_0x391abf(0x229)?(_0x227adc=Buffer[_0x391abf(0x261)](_0x29c65b),_0x13b789=!0x1):_0x29d187(_0x29c65b)?(_0x227adc=_0x29c65b[_0x391abf(0x2e9)],_0x13b789=!0x1):(_0x29c65b=_0xe4e651(_0x29c65b),_0x227adc=_0x29c65b[_0x391abf(0x351)],_0x13b789=_0xe4e651[_0x391abf(0x243)]),_0x227adc>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1b5e14={[_0x7ec2f5]:_0x227adc,'fin':!0x0,'generateMask':this[_0x391abf(0x2a6)],'mask':_0x4e4a18,'maskBuffer':this[_0x391abf(0x300)],'opcode':0x9,'readOnly':_0x13b789,'rsv1':!0x1};_0x29d187(_0x29c65b)?this[_0x391abf(0x266)]!==_0x4600e1?this[_0x391abf(0x360)]([this[_0x391abf(0x273)],_0x29c65b,!0x1,_0x1b5e14,_0x278bc4]):this['getBlobData'](_0x29c65b,!0x1,_0x1b5e14,_0x278bc4):this[_0x391abf(0x266)]!==_0x4600e1?this[_0x391abf(0x360)]([this['dispatch'],_0x29c65b,!0x1,_0x1b5e14,_0x278bc4]):this[_0x391abf(0x1e8)](_0x3099a4[_0x391abf(0x27f)](_0x29c65b,_0x1b5e14),_0x278bc4);}['pong'](_0x422c20,_0x3e48bb,_0x41840a){const _0x5f2c74=_0x3b8e51;let _0x3416c4,_0x39228f;if(typeof _0x422c20==_0x5f2c74(0x229)?(_0x3416c4=Buffer[_0x5f2c74(0x261)](_0x422c20),_0x39228f=!0x1):_0x29d187(_0x422c20)?(_0x3416c4=_0x422c20[_0x5f2c74(0x2e9)],_0x39228f=!0x1):(_0x422c20=_0xe4e651(_0x422c20),_0x3416c4=_0x422c20[_0x5f2c74(0x351)],_0x39228f=_0xe4e651['readOnly']),_0x3416c4>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1764f2={[_0x7ec2f5]:_0x3416c4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3e48bb,'maskBuffer':this[_0x5f2c74(0x300)],'opcode':0xa,'readOnly':_0x39228f,'rsv1':!0x1};_0x29d187(_0x422c20)?this[_0x5f2c74(0x266)]!==_0x4600e1?this[_0x5f2c74(0x360)]([this[_0x5f2c74(0x273)],_0x422c20,!0x1,_0x1764f2,_0x41840a]):this[_0x5f2c74(0x273)](_0x422c20,!0x1,_0x1764f2,_0x41840a):this[_0x5f2c74(0x266)]!==_0x4600e1?this['enqueue']([this['dispatch'],_0x422c20,!0x1,_0x1764f2,_0x41840a]):this['sendFrame'](_0x3099a4[_0x5f2c74(0x27f)](_0x422c20,_0x1764f2),_0x41840a);}['send'](_0x59dada,_0x38ecab,_0x2bdcc9){const _0xddcba2=_0x3b8e51,_0x155c68=this[_0xddcba2(0x378)][_0x18900c[_0xddcba2(0x217)]];let _0xce7a00=_0x38ecab[_0xddcba2(0x362)]?0x2:0x1,_0x5187ac=_0x38ecab[_0xddcba2(0x2b8)],_0x3bba2a,_0xd42142;typeof _0x59dada==_0xddcba2(0x229)?(_0x3bba2a=Buffer[_0xddcba2(0x261)](_0x59dada),_0xd42142=!0x1):_0x29d187(_0x59dada)?(_0x3bba2a=_0x59dada['size'],_0xd42142=!0x1):(_0x59dada=_0xe4e651(_0x59dada),_0x3bba2a=_0x59dada[_0xddcba2(0x351)],_0xd42142=_0xe4e651[_0xddcba2(0x243)]),this[_0xddcba2(0x203)]?(this[_0xddcba2(0x203)]=!0x1,_0x5187ac&&_0x155c68&&_0x155c68[_0xddcba2(0x223)][_0x155c68['_isServer']?'server_no_context_takeover':_0xddcba2(0x2d2)]&&(_0x5187ac=_0x3bba2a>=_0x155c68[_0xddcba2(0x23f)]),this[_0xddcba2(0x292)]=_0x5187ac):(_0x5187ac=!0x1,_0xce7a00=0x0),_0x38ecab['fin']&&(this[_0xddcba2(0x203)]=!0x0);const _0x36c96d={[_0x7ec2f5]:_0x3bba2a,'fin':_0x38ecab[_0xddcba2(0x2c6)],'generateMask':this[_0xddcba2(0x2a6)],'mask':_0x38ecab[_0xddcba2(0x35d)],'maskBuffer':this[_0xddcba2(0x300)],'opcode':_0xce7a00,'readOnly':_0xd42142,'rsv1':_0x5187ac};_0x29d187(_0x59dada)?this[_0xddcba2(0x266)]!==_0x4600e1?this[_0xddcba2(0x360)]([this[_0xddcba2(0x273)],_0x59dada,this['_compress'],_0x36c96d,_0x2bdcc9]):this[_0xddcba2(0x273)](_0x59dada,this[_0xddcba2(0x292)],_0x36c96d,_0x2bdcc9):this[_0xddcba2(0x266)]!==_0x4600e1?this[_0xddcba2(0x360)]([this['dispatch'],_0x59dada,this[_0xddcba2(0x292)],_0x36c96d,_0x2bdcc9]):this[_0xddcba2(0x36f)](_0x59dada,this['_compress'],_0x36c96d,_0x2bdcc9);}[_0x3b8e51(0x273)](_0x189dfd,_0x201191,_0x3145be,_0xe20b82){const _0x1a5b86=_0x3b8e51;this[_0x1a5b86(0x262)]+=_0x3145be[_0x7ec2f5],this[_0x1a5b86(0x266)]=_0x3e7285,_0x189dfd['arrayBuffer']()[_0x1a5b86(0x365)](_0x4bf24e=>{const _0x264f09=_0x1a5b86;if(this[_0x264f09(0x390)][_0x264f09(0x1f9)]){const _0x26634d=new Error(_0x264f09(0x265));process[_0x264f09(0x2ce)](_0x4da2bb,this,_0x26634d,_0xe20b82);return;}this['_bufferedBytes']-=_0x3145be[_0x7ec2f5];const _0x2ac083=_0xe4e651(_0x4bf24e);_0x201191?this[_0x264f09(0x36f)](_0x2ac083,_0x201191,_0x3145be,_0xe20b82):(this[_0x264f09(0x266)]=_0x4600e1,this[_0x264f09(0x1e8)](_0x3099a4['frame'](_0x2ac083,_0x3145be),_0xe20b82),this[_0x264f09(0x2b3)]());})[_0x1a5b86(0x2dc)](_0x28b9ef=>{const _0x584441=_0x1a5b86;process[_0x584441(0x2ce)](_0x49c472,this,_0x28b9ef,_0xe20b82);});}[_0x3b8e51(0x36f)](_0x12885f,_0x37b521,_0x5b6625,_0x1f5c55){const _0x1f14ed=_0x3b8e51;if(!_0x37b521){this[_0x1f14ed(0x1e8)](_0x3099a4['frame'](_0x12885f,_0x5b6625),_0x1f5c55);return;}const _0x11222d=this[_0x1f14ed(0x378)][_0x18900c[_0x1f14ed(0x217)]];this[_0x1f14ed(0x262)]+=_0x5b6625[_0x7ec2f5],this[_0x1f14ed(0x266)]=_0x4f8418,_0x11222d[_0x1f14ed(0x2b8)](_0x12885f,_0x5b6625['fin'],(_0x14a9d9,_0x67742f)=>{const _0x16111b=_0x1f14ed;if(this[_0x16111b(0x390)][_0x16111b(0x1f9)]){const _0x5f5f4e=new Error(_0x16111b(0x35a));_0x4da2bb(this,_0x5f5f4e,_0x1f5c55);return;}this[_0x16111b(0x262)]-=_0x5b6625[_0x7ec2f5],this['_state']=_0x4600e1,_0x5b6625[_0x16111b(0x243)]=!0x1,this[_0x16111b(0x1e8)](_0x3099a4[_0x16111b(0x27f)](_0x67742f,_0x5b6625),_0x1f5c55),this[_0x16111b(0x2b3)]();});}[_0x3b8e51(0x2b3)](){const _0x131ad7=_0x3b8e51;for(;this[_0x131ad7(0x266)]===_0x4600e1&&this[_0x131ad7(0x308)][_0x131ad7(0x351)];){const _0x5505b5=this[_0x131ad7(0x308)]['shift']();this[_0x131ad7(0x262)]-=_0x5505b5[0x3][_0x7ec2f5],Reflect[_0x131ad7(0x239)](_0x5505b5[0x0],this,_0x5505b5[_0x131ad7(0x231)](0x1));}}['enqueue'](_0x355eb5){const _0x41a18f=_0x3b8e51;this[_0x41a18f(0x262)]+=_0x355eb5[0x3][_0x7ec2f5],this[_0x41a18f(0x308)][_0x41a18f(0x306)](_0x355eb5);}['sendFrame'](_0x4d3ee7,_0x228ffc){const _0x149a1d=_0x3b8e51;_0x4d3ee7['length']===0x2?(this[_0x149a1d(0x390)][_0x149a1d(0x36b)](),this['_socket'][_0x149a1d(0x327)](_0x4d3ee7[0x0]),this[_0x149a1d(0x390)][_0x149a1d(0x327)](_0x4d3ee7[0x1],_0x228ffc),this[_0x149a1d(0x390)]['uncork']()):this[_0x149a1d(0x390)][_0x149a1d(0x327)](_0x4d3ee7[0x0],_0x228ffc);}}Ee=_0x3099a4;function _0x4da2bb(_0x475988,_0x432fe9,_0x404c0a){const _0x3bde66=_0x3b8e51;typeof _0x404c0a==_0x3bde66(0x214)&&_0x404c0a(_0x432fe9);for(let _0x12f9af=0x0;_0x12f9af<_0x475988[_0x3bde66(0x308)][_0x3bde66(0x351)];_0x12f9af++){const _0xe680b8=_0x475988[_0x3bde66(0x308)][_0x12f9af],_0x4ec598=_0xe680b8[_0xe680b8['length']-0x1];typeof _0x4ec598==_0x3bde66(0x214)&&_0x4ec598(_0x432fe9);}}function _0x49c472(_0x13712a,_0x55c172,_0x36ced0){const _0x25703a=_0x3b8e51;_0x4da2bb(_0x13712a,_0x55c172,_0x36ced0),_0x13712a[_0x25703a(0x278)](_0x55c172);}return Ee;}var xe,Ze;function It(){const _0x49884a=_0x35552f;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x255b86,kListener:_0x43c965}=H(),_0xde8c8e=Symbol('kCode'),_0x31e43d=Symbol(_0x49884a(0x2d8)),_0x610e0a=Symbol(_0x49884a(0x228)),_0x197be9=Symbol(_0x49884a(0x2b1)),_0x3e9551=Symbol(_0x49884a(0x2b9)),_0x454c8c=Symbol(_0x49884a(0x1e4)),_0x1d19ec=Symbol(_0x49884a(0x242)),_0x1bbc09=Symbol('kWasClean');class _0x3acd16{constructor(_0x1ece41){this[_0x454c8c]=null,this[_0x1d19ec]=_0x1ece41;}get['target'](){return this[_0x454c8c];}get['type'](){return this[_0x1d19ec];}}Object[_0x49884a(0x21a)](_0x3acd16[_0x49884a(0x386)],_0x49884a(0x291),{'enumerable':!0x0}),Object[_0x49884a(0x21a)](_0x3acd16[_0x49884a(0x386)],_0x49884a(0x207),{'enumerable':!0x0});class _0x149223 extends _0x3acd16{constructor(_0x590448,_0x3b7a32={}){const _0x4692b0=_0x49884a;super(_0x590448),this[_0xde8c8e]=_0x3b7a32[_0x4692b0(0x225)]===void 0x0?0x0:_0x3b7a32[_0x4692b0(0x225)],this[_0x3e9551]=_0x3b7a32[_0x4692b0(0x1e7)]===void 0x0?'':_0x3b7a32[_0x4692b0(0x1e7)],this[_0x1bbc09]=_0x3b7a32[_0x4692b0(0x28d)]===void 0x0?!0x1:_0x3b7a32['wasClean'];}get['code'](){return this[_0xde8c8e];}get[_0x49884a(0x1e7)](){return this[_0x3e9551];}get[_0x49884a(0x28d)](){return this[_0x1bbc09];}}Object[_0x49884a(0x21a)](_0x149223['prototype'],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x149223[_0x49884a(0x386)],_0x49884a(0x1e7),{'enumerable':!0x0}),Object[_0x49884a(0x21a)](_0x149223[_0x49884a(0x386)],'wasClean',{'enumerable':!0x0});class _0x58d4ed extends _0x3acd16{constructor(_0x3ee065,_0x23768c={}){const _0x10b19d=_0x49884a;super(_0x3ee065),this[_0x610e0a]=_0x23768c[_0x10b19d(0x1fd)]===void 0x0?null:_0x23768c['error'],this[_0x197be9]=_0x23768c['message']===void 0x0?'':_0x23768c['message'];}get[_0x49884a(0x1fd)](){return this[_0x610e0a];}get[_0x49884a(0x2c9)](){return this[_0x197be9];}}Object[_0x49884a(0x21a)](_0x58d4ed[_0x49884a(0x386)],_0x49884a(0x1fd),{'enumerable':!0x0}),Object[_0x49884a(0x21a)](_0x58d4ed['prototype'],_0x49884a(0x2c9),{'enumerable':!0x0});class _0x4e8967 extends _0x3acd16{constructor(_0x238447,_0x1e786e={}){const _0x1727fb=_0x49884a;super(_0x238447),this[_0x31e43d]=_0x1e786e[_0x1727fb(0x1f8)]===void 0x0?null:_0x1e786e[_0x1727fb(0x1f8)];}get[_0x49884a(0x1f8)](){return this[_0x31e43d];}}Object[_0x49884a(0x21a)](_0x4e8967[_0x49884a(0x386)],_0x49884a(0x1f8),{'enumerable':!0x0}),xe={'CloseEvent':_0x149223,'ErrorEvent':_0x58d4ed,'Event':_0x3acd16,'EventTarget':{'addEventListener'(_0x26b03d,_0x11502d,_0x475816={}){const _0x30844c=_0x49884a;for(const _0x3a4f83 of this['listeners'](_0x26b03d))if(!_0x475816[_0x255b86]&&_0x3a4f83[_0x43c965]===_0x11502d&&!_0x3a4f83[_0x255b86])return;let _0x58b692;if(_0x26b03d===_0x30844c(0x2c9))_0x58b692=function(_0x395c5e,_0x306d54){const _0x129755=_0x30844c,_0x4b06b2=new _0x4e8967(_0x129755(0x2c9),{'data':_0x306d54?_0x395c5e:_0x395c5e[_0x129755(0x338)]()});_0x4b06b2[_0x454c8c]=this,_0x330636(_0x11502d,this,_0x4b06b2);};else{if(_0x26b03d===_0x30844c(0x281))_0x58b692=function(_0x5dd06b,_0x2a27b3){const _0x5bb689=_0x30844c,_0x533da1=new _0x149223(_0x5bb689(0x281),{'code':_0x5dd06b,'reason':_0x2a27b3[_0x5bb689(0x338)](),'wasClean':this[_0x5bb689(0x1f2)]&&this[_0x5bb689(0x2a4)]});_0x533da1[_0x454c8c]=this,_0x330636(_0x11502d,this,_0x533da1);};else{if(_0x26b03d==='error')_0x58b692=function(_0x2cbcc9){const _0x3fdc31=_0x30844c,_0x1d159c=new _0x58d4ed(_0x3fdc31(0x1fd),{'error':_0x2cbcc9,'message':_0x2cbcc9[_0x3fdc31(0x2c9)]});_0x1d159c[_0x454c8c]=this,_0x330636(_0x11502d,this,_0x1d159c);};else{if(_0x26b03d==='open')_0x58b692=function(){const _0xc16961=new _0x3acd16('open');_0xc16961[_0x454c8c]=this,_0x330636(_0x11502d,this,_0xc16961);};else return;}}}_0x58b692[_0x255b86]=!!_0x475816[_0x255b86],_0x58b692[_0x43c965]=_0x11502d,_0x475816[_0x30844c(0x27a)]?this[_0x30844c(0x27a)](_0x26b03d,_0x58b692):this['on'](_0x26b03d,_0x58b692);},'removeEventListener'(_0x500fb1,_0x4b9cfc){const _0x21022d=_0x49884a;for(const _0x3eccd6 of this[_0x21022d(0x20b)](_0x500fb1))if(_0x3eccd6[_0x43c965]===_0x4b9cfc&&!_0x3eccd6[_0x255b86]){this[_0x21022d(0x246)](_0x500fb1,_0x3eccd6);break;}}},'MessageEvent':_0x4e8967};function _0x330636(_0x538823,_0x819d78,_0x50d032){const _0x43a815=_0x49884a;typeof _0x538823==_0x43a815(0x1fc)&&_0x538823[_0x43a815(0x20e)]?_0x538823[_0x43a815(0x20e)][_0x43a815(0x2f2)](_0x538823,_0x50d032):_0x538823['call'](_0x819d78,_0x50d032);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x26488e}=ae();function _0x4eb623(_0x10368e,_0x3e109b,_0x4f05d3){const _0x2af2b9=_0x4e7a;_0x10368e[_0x3e109b]===void 0x0?_0x10368e[_0x3e109b]=[_0x4f05d3]:_0x10368e[_0x3e109b][_0x2af2b9(0x306)](_0x4f05d3);}function _0x57bbe5(_0x1d48ad){const _0x596344=_0x4e7a,_0x375e86=Object[_0x596344(0x33c)](null);let _0x20b632=Object['create'](null),_0x1a1103=!0x1,_0x41fa64=!0x1,_0x151060=!0x1,_0x25ba88,_0x1912db,_0xb246e4=-0x1,_0xafb83c=-0x1,_0x2cfa2a=-0x1,_0xd31a98=0x0;for(;_0xd31a98<_0x1d48ad[_0x596344(0x351)];_0xd31a98++)if(_0xafb83c=_0x1d48ad[_0x596344(0x366)](_0xd31a98),_0x25ba88===void 0x0){if(_0x2cfa2a===-0x1&&_0x26488e[_0xafb83c]===0x1)_0xb246e4===-0x1&&(_0xb246e4=_0xd31a98);else{if(_0xd31a98!==0x0&&(_0xafb83c===0x20||_0xafb83c===0x9))_0x2cfa2a===-0x1&&_0xb246e4!==-0x1&&(_0x2cfa2a=_0xd31a98);else{if(_0xafb83c===0x3b||_0xafb83c===0x2c){if(_0xb246e4===-0x1)throw new SyntaxError(_0x596344(0x200)+_0xd31a98);_0x2cfa2a===-0x1&&(_0x2cfa2a=_0xd31a98);const _0x5b401f=_0x1d48ad[_0x596344(0x231)](_0xb246e4,_0x2cfa2a);_0xafb83c===0x2c?(_0x4eb623(_0x375e86,_0x5b401f,_0x20b632),_0x20b632=Object[_0x596344(0x33c)](null)):_0x25ba88=_0x5b401f,_0xb246e4=_0x2cfa2a=-0x1;}else throw new SyntaxError(_0x596344(0x200)+_0xd31a98);}}}else{if(_0x1912db===void 0x0){if(_0x2cfa2a===-0x1&&_0x26488e[_0xafb83c]===0x1)_0xb246e4===-0x1&&(_0xb246e4=_0xd31a98);else{if(_0xafb83c===0x20||_0xafb83c===0x9)_0x2cfa2a===-0x1&&_0xb246e4!==-0x1&&(_0x2cfa2a=_0xd31a98);else{if(_0xafb83c===0x3b||_0xafb83c===0x2c){if(_0xb246e4===-0x1)throw new SyntaxError(_0x596344(0x200)+_0xd31a98);_0x2cfa2a===-0x1&&(_0x2cfa2a=_0xd31a98),_0x4eb623(_0x20b632,_0x1d48ad[_0x596344(0x231)](_0xb246e4,_0x2cfa2a),!0x0),_0xafb83c===0x2c&&(_0x4eb623(_0x375e86,_0x25ba88,_0x20b632),_0x20b632=Object[_0x596344(0x33c)](null),_0x25ba88=void 0x0),_0xb246e4=_0x2cfa2a=-0x1;}else{if(_0xafb83c===0x3d&&_0xb246e4!==-0x1&&_0x2cfa2a===-0x1)_0x1912db=_0x1d48ad[_0x596344(0x231)](_0xb246e4,_0xd31a98),_0xb246e4=_0x2cfa2a=-0x1;else throw new SyntaxError(_0x596344(0x200)+_0xd31a98);}}}}else{if(_0x41fa64){if(_0x26488e[_0xafb83c]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xd31a98);_0xb246e4===-0x1?_0xb246e4=_0xd31a98:_0x1a1103||(_0x1a1103=!0x0),_0x41fa64=!0x1;}else{if(_0x151060){if(_0x26488e[_0xafb83c]===0x1)_0xb246e4===-0x1&&(_0xb246e4=_0xd31a98);else{if(_0xafb83c===0x22&&_0xb246e4!==-0x1)_0x151060=!0x1,_0x2cfa2a=_0xd31a98;else{if(_0xafb83c===0x5c)_0x41fa64=!0x0;else throw new SyntaxError(_0x596344(0x200)+_0xd31a98);}}}else{if(_0xafb83c===0x22&&_0x1d48ad['charCodeAt'](_0xd31a98-0x1)===0x3d)_0x151060=!0x0;else{if(_0x2cfa2a===-0x1&&_0x26488e[_0xafb83c]===0x1)_0xb246e4===-0x1&&(_0xb246e4=_0xd31a98);else{if(_0xb246e4!==-0x1&&(_0xafb83c===0x20||_0xafb83c===0x9))_0x2cfa2a===-0x1&&(_0x2cfa2a=_0xd31a98);else{if(_0xafb83c===0x3b||_0xafb83c===0x2c){if(_0xb246e4===-0x1)throw new SyntaxError(_0x596344(0x200)+_0xd31a98);_0x2cfa2a===-0x1&&(_0x2cfa2a=_0xd31a98);let _0x414ad3=_0x1d48ad[_0x596344(0x231)](_0xb246e4,_0x2cfa2a);_0x1a1103&&(_0x414ad3=_0x414ad3[_0x596344(0x25c)](/\\/g,''),_0x1a1103=!0x1),_0x4eb623(_0x20b632,_0x1912db,_0x414ad3),_0xafb83c===0x2c&&(_0x4eb623(_0x375e86,_0x25ba88,_0x20b632),_0x20b632=Object['create'](null),_0x25ba88=void 0x0),_0x1912db=void 0x0,_0xb246e4=_0x2cfa2a=-0x1;}else throw new SyntaxError(_0x596344(0x200)+_0xd31a98);}}}}}}}if(_0xb246e4===-0x1||_0x151060||_0xafb83c===0x20||_0xafb83c===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x2cfa2a===-0x1&&(_0x2cfa2a=_0xd31a98);const _0x58ffc6=_0x1d48ad[_0x596344(0x231)](_0xb246e4,_0x2cfa2a);return _0x25ba88===void 0x0?_0x4eb623(_0x375e86,_0x58ffc6,_0x20b632):(_0x1912db===void 0x0?_0x4eb623(_0x20b632,_0x58ffc6,!0x0):_0x1a1103?_0x4eb623(_0x20b632,_0x1912db,_0x58ffc6[_0x596344(0x25c)](/\\/g,'')):_0x4eb623(_0x20b632,_0x1912db,_0x58ffc6),_0x4eb623(_0x375e86,_0x25ba88,_0x20b632)),_0x375e86;}function _0x1138dd(_0x194145){const _0xca19a1=_0x4e7a;return Object[_0xca19a1(0x23a)](_0x194145)[_0xca19a1(0x1ee)](_0x448a57=>{const _0x24087b=_0xca19a1;let _0x4f7731=_0x194145[_0x448a57];return Array[_0x24087b(0x2f6)](_0x4f7731)||(_0x4f7731=[_0x4f7731]),_0x4f7731[_0x24087b(0x1ee)](_0x11b589=>[_0x448a57][_0x24087b(0x248)](Object[_0x24087b(0x23a)](_0x11b589)[_0x24087b(0x1ee)](_0x1d78e1=>{const _0x52482c=_0x24087b;let _0x9bce41=_0x11b589[_0x1d78e1];return Array[_0x52482c(0x2f6)](_0x9bce41)||(_0x9bce41=[_0x9bce41]),_0x9bce41[_0x52482c(0x1ee)](_0x45f59f=>_0x45f59f===!0x0?_0x1d78e1:_0x1d78e1+'='+_0x45f59f)[_0x52482c(0x31c)](';\x20');}))[_0x24087b(0x31c)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x1138dd,'parse':_0x57bbe5},be;}var we,Je;function Pe(){const _0x4e302d=_0x35552f;if(Je)return we;Je=0x1;const _0xade389=nt,_0x19fa6c=vt,_0x432012=ot,_0xe611a6=St,_0x130b1b=Et,{randomBytes:_0x45bea6,createHash:_0x56392b}=Le,{Duplex:_0x1a9495,Readable:_0x5dfc9a}=oe,{URL:_0x32fc4b}=xt,_0x20cc22=he(),_0x3f8773=lt(),_0x3d171f=ft(),{isBlob:_0x561d84}=ae(),{BINARY_TYPES:_0x4af725,EMPTY_BUFFER:_0x5e4d09,GUID:_0x5978c0,kForOnEventAttribute:_0xf182fa,kListener:_0x2f99f8,kStatusCode:_0x386035,kWebSocket:_0x2cc229,NOOP:_0x186015}=H(),{EventTarget:{addEventListener:_0x18bdba,removeEventListener:_0x57a746}}=It(),{format:_0xf32a8c,parse:_0x10929f}=ct(),{toBuffer:_0x2534b8}=ce(),_0x406e9b=0x1e*0x3e8,_0x4d95c9=Symbol(_0x4e302d(0x247)),_0x56e412=[0x8,0xd],_0x30aedc=['CONNECTING',_0x4e302d(0x2a8),_0x4e302d(0x38e),_0x4e302d(0x350)],_0x45624e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x39d407 extends _0xade389{constructor(_0x468066,_0xa10dce,_0xdf7483){const _0x29799a=_0x4e302d;super(),this[_0x29799a(0x36d)]=_0x4af725[0x0],this['_closeCode']=0x3ee,this[_0x29799a(0x1f2)]=!0x1,this[_0x29799a(0x2a4)]=!0x1,this[_0x29799a(0x34e)]=_0x5e4d09,this[_0x29799a(0x317)]=null,this['_errorEmitted']=!0x1,this[_0x29799a(0x378)]={},this[_0x29799a(0x230)]=!0x1,this[_0x29799a(0x38a)]='',this[_0x29799a(0x31d)]=_0x39d407[_0x29799a(0x272)],this['_receiver']=null,this['_sender']=null,this[_0x29799a(0x390)]=null,_0x468066!==null?(this[_0x29799a(0x296)]=0x0,this[_0x29799a(0x3ad)]=!0x1,this[_0x29799a(0x311)]=0x0,_0xa10dce===void 0x0?_0xa10dce=[]:Array[_0x29799a(0x2f6)](_0xa10dce)||(typeof _0xa10dce==_0x29799a(0x1fc)&&_0xa10dce!==null?(_0xdf7483=_0xa10dce,_0xa10dce=[]):_0xa10dce=[_0xa10dce]),_0x83b75f(this,_0x468066,_0xa10dce,_0xdf7483)):(this[_0x29799a(0x349)]=_0xdf7483[_0x29799a(0x26b)],this[_0x29799a(0x3ad)]=!0x0);}get[_0x4e302d(0x236)](){return this['_binaryType'];}set[_0x4e302d(0x236)](_0x300661){const _0x3d8988=_0x4e302d;_0x4af725['includes'](_0x300661)&&(this[_0x3d8988(0x36d)]=_0x300661,this['_receiver']&&(this[_0x3d8988(0x1f5)][_0x3d8988(0x36d)]=_0x300661));}get['bufferedAmount'](){const _0x34807b=_0x4e302d;return this[_0x34807b(0x390)]?this[_0x34807b(0x390)][_0x34807b(0x2ba)][_0x34807b(0x351)]+this[_0x34807b(0x335)]['_bufferedBytes']:this[_0x34807b(0x296)];}get['extensions'](){const _0x5bd0d4=_0x4e302d;return Object[_0x5bd0d4(0x23a)](this[_0x5bd0d4(0x378)])['join']();}get['isPaused'](){const _0x1848f2=_0x4e302d;return this[_0x1848f2(0x230)];}get['onclose'](){return null;}get[_0x4e302d(0x278)](){return null;}get[_0x4e302d(0x392)](){return null;}get[_0x4e302d(0x2e6)](){return null;}get[_0x4e302d(0x1eb)](){const _0x1ed720=_0x4e302d;return this[_0x1ed720(0x38a)];}get[_0x4e302d(0x321)](){const _0x374176=_0x4e302d;return this[_0x374176(0x31d)];}get[_0x4e302d(0x384)](){return this['_url'];}['setSocket'](_0x40fcc7,_0x5542ed,_0x17e1af){const _0x50979b=_0x4e302d,_0x4ad0f8=new _0x3f8773({'allowSynchronousEvents':_0x17e1af[_0x50979b(0x2a3)],'binaryType':this[_0x50979b(0x236)],'extensions':this['_extensions'],'isServer':this[_0x50979b(0x3ad)],'maxPayload':_0x17e1af[_0x50979b(0x359)],'skipUTF8Validation':_0x17e1af['skipUTF8Validation']}),_0x472ebc=new _0x3d171f(_0x40fcc7,this[_0x50979b(0x378)],_0x17e1af[_0x50979b(0x38c)]);this[_0x50979b(0x1f5)]=_0x4ad0f8,this[_0x50979b(0x335)]=_0x472ebc,this['_socket']=_0x40fcc7,_0x4ad0f8[_0x2cc229]=this,_0x472ebc[_0x2cc229]=this,_0x40fcc7[_0x2cc229]=this,_0x4ad0f8['on']('conclude',_0x364fe4),_0x4ad0f8['on']('drain',_0x5b26f7),_0x4ad0f8['on'](_0x50979b(0x1fd),_0x313633),_0x4ad0f8['on'](_0x50979b(0x2c9),_0xd2c089),_0x4ad0f8['on'](_0x50979b(0x274),_0x433b4a),_0x4ad0f8['on'](_0x50979b(0x3a5),_0x445e30),_0x472ebc[_0x50979b(0x278)]=_0x49118d,_0x40fcc7[_0x50979b(0x3aa)]&&_0x40fcc7[_0x50979b(0x3aa)](0x0),_0x40fcc7[_0x50979b(0x38b)]&&_0x40fcc7[_0x50979b(0x38b)](),_0x5542ed[_0x50979b(0x351)]>0x0&&_0x40fcc7[_0x50979b(0x2bc)](_0x5542ed),_0x40fcc7['on']('close',_0x56ea0f),_0x40fcc7['on'](_0x50979b(0x1f8),_0x526c8f),_0x40fcc7['on'](_0x50979b(0x337),_0x37205e),_0x40fcc7['on']('error',_0xc4a7a3),this[_0x50979b(0x31d)]=_0x39d407['OPEN'],this[_0x50979b(0x38d)](_0x50979b(0x398));}[_0x4e302d(0x253)](){const _0x40ece2=_0x4e302d;if(!this[_0x40ece2(0x390)]){this[_0x40ece2(0x31d)]=_0x39d407[_0x40ece2(0x350)],this[_0x40ece2(0x38d)](_0x40ece2(0x281),this[_0x40ece2(0x250)],this[_0x40ece2(0x34e)]);return;}this[_0x40ece2(0x378)][_0x20cc22['extensionName']]&&this[_0x40ece2(0x378)][_0x20cc22[_0x40ece2(0x217)]][_0x40ece2(0x318)](),this[_0x40ece2(0x1f5)][_0x40ece2(0x282)](),this[_0x40ece2(0x31d)]=_0x39d407[_0x40ece2(0x350)],this[_0x40ece2(0x38d)](_0x40ece2(0x281),this['_closeCode'],this['_closeMessage']);}[_0x4e302d(0x281)](_0x3a21ee,_0x4f94d9){const _0x2f30e0=_0x4e302d;if(this[_0x2f30e0(0x321)]!==_0x39d407[_0x2f30e0(0x350)]){if(this[_0x2f30e0(0x321)]===_0x39d407[_0x2f30e0(0x272)]){_0x5b54d2(this,this[_0x2f30e0(0x2d1)],_0x2f30e0(0x2d9));return;}if(this['readyState']===_0x39d407[_0x2f30e0(0x38e)]){this[_0x2f30e0(0x2a4)]&&(this['_closeFrameReceived']||this[_0x2f30e0(0x1f5)][_0x2f30e0(0x2ba)][_0x2f30e0(0x2f0)])&&this[_0x2f30e0(0x390)][_0x2f30e0(0x337)]();return;}this[_0x2f30e0(0x31d)]=_0x39d407['CLOSING'],this['_sender'][_0x2f30e0(0x281)](_0x3a21ee,_0x4f94d9,!this[_0x2f30e0(0x3ad)],_0x3f2ec0=>{const _0x595733=_0x2f30e0;_0x3f2ec0||(this[_0x595733(0x2a4)]=!0x0,(this[_0x595733(0x1f2)]||this['_receiver'][_0x595733(0x2ba)]['errorEmitted'])&&this['_socket'][_0x595733(0x337)]());}),_0x46cd6b(this);}}['pause'](){const _0xa78fb=_0x4e302d;this[_0xa78fb(0x321)]===_0x39d407[_0xa78fb(0x272)]||this[_0xa78fb(0x321)]===_0x39d407[_0xa78fb(0x350)]||(this[_0xa78fb(0x230)]=!0x0,this[_0xa78fb(0x390)][_0xa78fb(0x31f)]());}[_0x4e302d(0x274)](_0x5aa3eb,_0x38688c,_0x36110f){const _0x4b4fb0=_0x4e302d;if(this[_0x4b4fb0(0x321)]===_0x39d407['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5aa3eb==_0x4b4fb0(0x214)?(_0x36110f=_0x5aa3eb,_0x5aa3eb=_0x38688c=void 0x0):typeof _0x38688c==_0x4b4fb0(0x214)&&(_0x36110f=_0x38688c,_0x38688c=void 0x0),typeof _0x5aa3eb==_0x4b4fb0(0x29e)&&(_0x5aa3eb=_0x5aa3eb[_0x4b4fb0(0x338)]()),this[_0x4b4fb0(0x321)]!==_0x39d407[_0x4b4fb0(0x2a8)]){_0x1cab31(this,_0x5aa3eb,_0x36110f);return;}_0x38688c===void 0x0&&(_0x38688c=!this['_isServer']),this['_sender']['ping'](_0x5aa3eb||_0x5e4d09,_0x38688c,_0x36110f);}[_0x4e302d(0x3a5)](_0x5cc9f0,_0x56339e,_0x143ee8){const _0x28724=_0x4e302d;if(this[_0x28724(0x321)]===_0x39d407[_0x28724(0x272)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5cc9f0==_0x28724(0x214)?(_0x143ee8=_0x5cc9f0,_0x5cc9f0=_0x56339e=void 0x0):typeof _0x56339e==_0x28724(0x214)&&(_0x143ee8=_0x56339e,_0x56339e=void 0x0),typeof _0x5cc9f0==_0x28724(0x29e)&&(_0x5cc9f0=_0x5cc9f0[_0x28724(0x338)]()),this[_0x28724(0x321)]!==_0x39d407[_0x28724(0x2a8)]){_0x1cab31(this,_0x5cc9f0,_0x143ee8);return;}_0x56339e===void 0x0&&(_0x56339e=!this['_isServer']),this[_0x28724(0x335)]['pong'](_0x5cc9f0||_0x5e4d09,_0x56339e,_0x143ee8);}[_0x4e302d(0x3a9)](){const _0x21ea8a=_0x4e302d;this['readyState']===_0x39d407[_0x21ea8a(0x272)]||this['readyState']===_0x39d407['CLOSED']||(this['_paused']=!0x1,this[_0x21ea8a(0x1f5)][_0x21ea8a(0x2ba)][_0x21ea8a(0x304)]||this['_socket'][_0x21ea8a(0x3a9)]());}['send'](_0x55ad5e,_0x42f246,_0x469cd5){const _0x4528ce=_0x4e302d;if(this['readyState']===_0x39d407[_0x4528ce(0x272)])throw new Error(_0x4528ce(0x2b4));if(typeof _0x42f246==_0x4528ce(0x214)&&(_0x469cd5=_0x42f246,_0x42f246={}),typeof _0x55ad5e==_0x4528ce(0x29e)&&(_0x55ad5e=_0x55ad5e[_0x4528ce(0x338)]()),this[_0x4528ce(0x321)]!==_0x39d407[_0x4528ce(0x2a8)]){_0x1cab31(this,_0x55ad5e,_0x469cd5);return;}const _0x3837ca={'binary':typeof _0x55ad5e!='string','mask':!this[_0x4528ce(0x3ad)],'compress':!0x0,'fin':!0x0,..._0x42f246};this[_0x4528ce(0x378)][_0x20cc22['extensionName']]||(_0x3837ca[_0x4528ce(0x2b8)]=!0x1),this[_0x4528ce(0x335)]['send'](_0x55ad5e||_0x5e4d09,_0x3837ca,_0x469cd5);}[_0x4e302d(0x325)](){const _0x39a329=_0x4e302d;if(this[_0x39a329(0x321)]!==_0x39d407[_0x39a329(0x350)]){if(this[_0x39a329(0x321)]===_0x39d407[_0x39a329(0x272)]){_0x5b54d2(this,this[_0x39a329(0x2d1)],_0x39a329(0x2d9));return;}this['_socket']&&(this[_0x39a329(0x31d)]=_0x39d407[_0x39a329(0x38e)],this['_socket']['destroy']());}}}Object[_0x4e302d(0x21a)](_0x39d407,_0x4e302d(0x272),{'enumerable':!0x0,'value':_0x30aedc[_0x4e302d(0x371)]('CONNECTING')}),Object[_0x4e302d(0x21a)](_0x39d407[_0x4e302d(0x386)],_0x4e302d(0x272),{'enumerable':!0x0,'value':_0x30aedc[_0x4e302d(0x371)](_0x4e302d(0x272))}),Object[_0x4e302d(0x21a)](_0x39d407,_0x4e302d(0x2a8),{'enumerable':!0x0,'value':_0x30aedc[_0x4e302d(0x371)]('OPEN')}),Object[_0x4e302d(0x21a)](_0x39d407[_0x4e302d(0x386)],'OPEN',{'enumerable':!0x0,'value':_0x30aedc[_0x4e302d(0x371)](_0x4e302d(0x2a8))}),Object[_0x4e302d(0x21a)](_0x39d407,_0x4e302d(0x38e),{'enumerable':!0x0,'value':_0x30aedc['indexOf']('CLOSING')}),Object['defineProperty'](_0x39d407[_0x4e302d(0x386)],_0x4e302d(0x38e),{'enumerable':!0x0,'value':_0x30aedc[_0x4e302d(0x371)](_0x4e302d(0x38e))}),Object[_0x4e302d(0x21a)](_0x39d407,_0x4e302d(0x350),{'enumerable':!0x0,'value':_0x30aedc[_0x4e302d(0x371)]('CLOSED')}),Object[_0x4e302d(0x21a)](_0x39d407[_0x4e302d(0x386)],_0x4e302d(0x350),{'enumerable':!0x0,'value':_0x30aedc['indexOf'](_0x4e302d(0x350))}),[_0x4e302d(0x236),'bufferedAmount',_0x4e302d(0x363),_0x4e302d(0x324),'protocol',_0x4e302d(0x321),_0x4e302d(0x384)][_0x4e302d(0x344)](_0x23da66=>{const _0x447499=_0x4e302d;Object[_0x447499(0x21a)](_0x39d407['prototype'],_0x23da66,{'enumerable':!0x0});}),['open',_0x4e302d(0x1fd),_0x4e302d(0x281),_0x4e302d(0x2c9)][_0x4e302d(0x344)](_0xf0242b=>{const _0x339984=_0x4e302d;Object[_0x339984(0x21a)](_0x39d407['prototype'],'on'+_0xf0242b,{'enumerable':!0x0,'get'(){for(const _0x2b2155 of this['listeners'](_0xf0242b))if(_0x2b2155[_0xf182fa])return _0x2b2155[_0x2f99f8];return null;},'set'(_0x161c0c){const _0x442d36=_0x339984;for(const _0x57bfe7 of this[_0x442d36(0x20b)](_0xf0242b))if(_0x57bfe7[_0xf182fa]){this[_0x442d36(0x246)](_0xf0242b,_0x57bfe7);break;}typeof _0x161c0c==_0x442d36(0x214)&&this['addEventListener'](_0xf0242b,_0x161c0c,{[_0xf182fa]:!0x0});}});}),_0x39d407['prototype']['addEventListener']=_0x18bdba,_0x39d407[_0x4e302d(0x386)][_0x4e302d(0x2f4)]=_0x57a746,we=_0x39d407;function _0x83b75f(_0x33da7b,_0x4a6145,_0xeda76b,_0x220ed1){const _0x1ee666=_0x4e302d,_0x243e5d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x56e412[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x220ed1,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x33da7b[_0x1ee666(0x349)]=_0x243e5d['autoPong'],!_0x56e412[_0x1ee666(0x27d)](_0x243e5d[_0x1ee666(0x2c2)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x243e5d[_0x1ee666(0x2c2)]+_0x1ee666(0x299)+_0x56e412['join'](',\x20')+')');let _0x204226;if(_0x4a6145 instanceof _0x32fc4b)_0x204226=_0x4a6145;else try{_0x204226=new _0x32fc4b(_0x4a6145);}catch{throw new SyntaxError(_0x1ee666(0x245)+_0x4a6145);}_0x204226[_0x1ee666(0x1eb)]===_0x1ee666(0x394)?_0x204226['protocol']=_0x1ee666(0x2c5):_0x204226[_0x1ee666(0x1eb)]==='https:'&&(_0x204226[_0x1ee666(0x1eb)]=_0x1ee666(0x26c)),_0x33da7b['_url']=_0x204226['href'];const _0x31da54=_0x204226[_0x1ee666(0x1eb)]===_0x1ee666(0x26c),_0x3b107c=_0x204226[_0x1ee666(0x1eb)]===_0x1ee666(0x28a);let _0x530915;if(_0x204226[_0x1ee666(0x1eb)]!==_0x1ee666(0x2c5)&&!_0x31da54&&!_0x3b107c?_0x530915=_0x1ee666(0x376):_0x3b107c&&!_0x204226[_0x1ee666(0x238)]?_0x530915=_0x1ee666(0x33b):_0x204226[_0x1ee666(0x2f1)]&&(_0x530915=_0x1ee666(0x244)),_0x530915){const _0x1e1c4a=new SyntaxError(_0x530915);if(_0x33da7b[_0x1ee666(0x311)]===0x0)throw _0x1e1c4a;_0x91b498(_0x33da7b,_0x1e1c4a);return;}const _0x5ba789=_0x31da54?0x1bb:0x50,_0x39a675=_0x45bea6(0x10)[_0x1ee666(0x338)](_0x1ee666(0x312)),_0x676e51=_0x31da54?_0x19fa6c['request']:_0x432012[_0x1ee666(0x2d7)],_0x2cfeda=new Set();let _0x5c6456;if(_0x243e5d[_0x1ee666(0x24d)]=_0x243e5d[_0x1ee666(0x24d)]||(_0x31da54?_0x2de7df:_0x3fc667),_0x243e5d[_0x1ee666(0x1fe)]=_0x243e5d['defaultPort']||_0x5ba789,_0x243e5d[_0x1ee666(0x202)]=_0x204226[_0x1ee666(0x202)]||_0x5ba789,_0x243e5d[_0x1ee666(0x32c)]=_0x204226['hostname'][_0x1ee666(0x28e)]('[')?_0x204226[_0x1ee666(0x241)]['slice'](0x1,-0x1):_0x204226[_0x1ee666(0x241)],_0x243e5d['headers']={..._0x243e5d[_0x1ee666(0x235)],'Sec-WebSocket-Version':_0x243e5d[_0x1ee666(0x2c2)],'Sec-WebSocket-Key':_0x39a675,'Connection':_0x1ee666(0x388),'Upgrade':_0x1ee666(0x23e)},_0x243e5d['path']=_0x204226[_0x1ee666(0x238)]+_0x204226[_0x1ee666(0x24b)],_0x243e5d[_0x1ee666(0x26e)]=_0x243e5d[_0x1ee666(0x206)],_0x243e5d['perMessageDeflate']&&(_0x5c6456=new _0x20cc22(_0x243e5d[_0x1ee666(0x2c4)]!==!0x0?_0x243e5d['perMessageDeflate']:{},!0x1,_0x243e5d[_0x1ee666(0x359)]),_0x243e5d[_0x1ee666(0x235)][_0x1ee666(0x2e1)]=_0xf32a8c({[_0x20cc22['extensionName']]:_0x5c6456[_0x1ee666(0x39f)]()})),_0xeda76b[_0x1ee666(0x351)]){for(const _0x87154c of _0xeda76b){if(typeof _0x87154c!=_0x1ee666(0x229)||!_0x45624e['test'](_0x87154c)||_0x2cfeda[_0x1ee666(0x283)](_0x87154c))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x2cfeda['add'](_0x87154c);}_0x243e5d[_0x1ee666(0x235)]['Sec-WebSocket-Protocol']=_0xeda76b[_0x1ee666(0x31c)](',');}if(_0x243e5d[_0x1ee666(0x215)]&&(_0x243e5d[_0x1ee666(0x2c2)]<0xd?_0x243e5d[_0x1ee666(0x235)][_0x1ee666(0x31a)]=_0x243e5d[_0x1ee666(0x215)]:_0x243e5d['headers'][_0x1ee666(0x316)]=_0x243e5d[_0x1ee666(0x215)]),(_0x204226[_0x1ee666(0x305)]||_0x204226[_0x1ee666(0x2c3)])&&(_0x243e5d[_0x1ee666(0x375)]=_0x204226[_0x1ee666(0x305)]+':'+_0x204226['password']),_0x3b107c){const _0x3470c7=_0x243e5d[_0x1ee666(0x399)][_0x1ee666(0x2e2)](':');_0x243e5d[_0x1ee666(0x24c)]=_0x3470c7[0x0],_0x243e5d[_0x1ee666(0x399)]=_0x3470c7[0x1];}let _0x2dcfeb;if(_0x243e5d['followRedirects']){if(_0x33da7b[_0x1ee666(0x311)]===0x0){_0x33da7b[_0x1ee666(0x2de)]=_0x3b107c,_0x33da7b[_0x1ee666(0x286)]=_0x31da54,_0x33da7b[_0x1ee666(0x2e7)]=_0x3b107c?_0x243e5d[_0x1ee666(0x24c)]:_0x204226[_0x1ee666(0x32c)];const _0xf996a7=_0x220ed1&&_0x220ed1[_0x1ee666(0x235)];if(_0x220ed1={..._0x220ed1,'headers':{}},_0xf996a7){for(const [_0x888915,_0x24aa6b]of Object[_0x1ee666(0x38f)](_0xf996a7))_0x220ed1['headers'][_0x888915[_0x1ee666(0x383)]()]=_0x24aa6b;}}else{if(_0x33da7b[_0x1ee666(0x369)](_0x1ee666(0x224))===0x0){const _0x6973c1=_0x3b107c?_0x33da7b[_0x1ee666(0x2de)]?_0x243e5d[_0x1ee666(0x24c)]===_0x33da7b['_originalHostOrSocketPath']:!0x1:_0x33da7b[_0x1ee666(0x2de)]?!0x1:_0x204226[_0x1ee666(0x32c)]===_0x33da7b[_0x1ee666(0x2e7)];(!_0x6973c1||_0x33da7b[_0x1ee666(0x286)]&&!_0x31da54)&&(delete _0x243e5d[_0x1ee666(0x235)][_0x1ee666(0x2d5)],delete _0x243e5d[_0x1ee666(0x235)][_0x1ee666(0x1fb)],_0x6973c1||delete _0x243e5d[_0x1ee666(0x235)][_0x1ee666(0x32c)],_0x243e5d['auth']=void 0x0);}}_0x243e5d[_0x1ee666(0x375)]&&!_0x220ed1[_0x1ee666(0x235)][_0x1ee666(0x2d5)]&&(_0x220ed1[_0x1ee666(0x235)]['authorization']=_0x1ee666(0x3a1)+Buffer['from'](_0x243e5d[_0x1ee666(0x375)])['toString']('base64')),_0x2dcfeb=_0x33da7b[_0x1ee666(0x2d1)]=_0x676e51(_0x243e5d),_0x33da7b[_0x1ee666(0x311)]&&_0x33da7b[_0x1ee666(0x38d)](_0x1ee666(0x224),_0x33da7b[_0x1ee666(0x384)],_0x2dcfeb);}else _0x2dcfeb=_0x33da7b['_req']=_0x676e51(_0x243e5d);_0x243e5d[_0x1ee666(0x26e)]&&_0x2dcfeb['on'](_0x1ee666(0x26e),()=>{const _0x3a80dd=_0x1ee666;_0x5b54d2(_0x33da7b,_0x2dcfeb,_0x3a80dd(0x314));}),_0x2dcfeb['on'](_0x1ee666(0x1fd),_0x559fc6=>{const _0x1cbd05=_0x1ee666;_0x2dcfeb===null||_0x2dcfeb[_0x4d95c9]||(_0x2dcfeb=_0x33da7b[_0x1cbd05(0x2d1)]=null,_0x91b498(_0x33da7b,_0x559fc6));}),_0x2dcfeb['on'](_0x1ee666(0x39e),_0x5ecd23=>{const _0x2ad4da=_0x1ee666,_0x420ffa=_0x5ecd23[_0x2ad4da(0x235)][_0x2ad4da(0x1f6)],_0x403c24=_0x5ecd23[_0x2ad4da(0x2a7)];if(_0x420ffa&&_0x243e5d[_0x2ad4da(0x2c1)]&&_0x403c24>=0x12c&&_0x403c24<0x190){if(++_0x33da7b[_0x2ad4da(0x311)]>_0x243e5d[_0x2ad4da(0x240)]){_0x5b54d2(_0x33da7b,_0x2dcfeb,'Maximum\x20redirects\x20exceeded');return;}_0x2dcfeb[_0x2ad4da(0x25e)]();let _0xecaccb;try{_0xecaccb=new _0x32fc4b(_0x420ffa,_0x4a6145);}catch{const _0xba249e=new SyntaxError(_0x2ad4da(0x245)+_0x420ffa);_0x91b498(_0x33da7b,_0xba249e);return;}_0x83b75f(_0x33da7b,_0xecaccb,_0xeda76b,_0x220ed1);}else _0x33da7b[_0x2ad4da(0x38d)]('unexpected-response',_0x2dcfeb,_0x5ecd23)||_0x5b54d2(_0x33da7b,_0x2dcfeb,_0x2ad4da(0x259)+_0x5ecd23[_0x2ad4da(0x2a7)]);}),_0x2dcfeb['on'](_0x1ee666(0x2e0),(_0x55b464,_0x9e52eb,_0x482046)=>{const _0xf5262a=_0x1ee666;if(_0x33da7b[_0xf5262a(0x38d)](_0xf5262a(0x2e0),_0x55b464),_0x33da7b[_0xf5262a(0x321)]!==_0x39d407[_0xf5262a(0x272)])return;_0x2dcfeb=_0x33da7b[_0xf5262a(0x2d1)]=null;const _0x83cf05=_0x55b464['headers']['upgrade'];if(_0x83cf05===void 0x0||_0x83cf05[_0xf5262a(0x383)]()!=='websocket'){_0x5b54d2(_0x33da7b,_0x9e52eb,_0xf5262a(0x3a6));return;}const _0x47812d=_0x56392b('sha1')[_0xf5262a(0x204)](_0x39a675+_0x5978c0)[_0xf5262a(0x395)](_0xf5262a(0x312));if(_0x55b464['headers'][_0xf5262a(0x2ab)]!==_0x47812d){_0x5b54d2(_0x33da7b,_0x9e52eb,_0xf5262a(0x31e));return;}const _0x5c4a64=_0x55b464[_0xf5262a(0x235)][_0xf5262a(0x23b)];let _0x5cf853;if(_0x5c4a64!==void 0x0?_0x2cfeda[_0xf5262a(0x2e9)]?_0x2cfeda[_0xf5262a(0x283)](_0x5c4a64)||(_0x5cf853=_0xf5262a(0x288)):_0x5cf853=_0xf5262a(0x1ff):_0x2cfeda['size']&&(_0x5cf853=_0xf5262a(0x212)),_0x5cf853){_0x5b54d2(_0x33da7b,_0x9e52eb,_0x5cf853);return;}_0x5c4a64&&(_0x33da7b[_0xf5262a(0x38a)]=_0x5c4a64);const _0x4aff59=_0x55b464[_0xf5262a(0x235)]['sec-websocket-extensions'];if(_0x4aff59!==void 0x0){if(!_0x5c6456){_0x5b54d2(_0x33da7b,_0x9e52eb,_0xf5262a(0x22f));return;}let _0x1f0f69;try{_0x1f0f69=_0x10929f(_0x4aff59);}catch{_0x5b54d2(_0x33da7b,_0x9e52eb,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x44c117=Object['keys'](_0x1f0f69);if(_0x44c117[_0xf5262a(0x351)]!==0x1||_0x44c117[0x0]!==_0x20cc22['extensionName']){_0x5b54d2(_0x33da7b,_0x9e52eb,_0xf5262a(0x385));return;}try{_0x5c6456[_0xf5262a(0x25d)](_0x1f0f69[_0x20cc22[_0xf5262a(0x217)]]);}catch{_0x5b54d2(_0x33da7b,_0x9e52eb,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x33da7b['_extensions'][_0x20cc22['extensionName']]=_0x5c6456;}_0x33da7b['setSocket'](_0x9e52eb,_0x482046,{'allowSynchronousEvents':_0x243e5d[_0xf5262a(0x2a3)],'generateMask':_0x243e5d['generateMask'],'maxPayload':_0x243e5d[_0xf5262a(0x359)],'skipUTF8Validation':_0x243e5d[_0xf5262a(0x3a3)]});}),_0x243e5d['finishRequest']?_0x243e5d[_0x1ee666(0x39d)](_0x2dcfeb,_0x33da7b):_0x2dcfeb['end']();}function _0x91b498(_0x56ffc3,_0x2d2cd3){const _0x20d0f1=_0x4e302d;_0x56ffc3['_readyState']=_0x39d407[_0x20d0f1(0x38e)],_0x56ffc3['_errorEmitted']=!0x0,_0x56ffc3[_0x20d0f1(0x38d)](_0x20d0f1(0x1fd),_0x2d2cd3),_0x56ffc3[_0x20d0f1(0x253)]();}function _0x3fc667(_0x10a1dc){const _0x1ed040=_0x4e302d;return _0x10a1dc[_0x1ed040(0x399)]=_0x10a1dc['socketPath'],_0xe611a6[_0x1ed040(0x222)](_0x10a1dc);}function _0x2de7df(_0x10664c){const _0x451cf1=_0x4e302d;return _0x10664c[_0x451cf1(0x399)]=void 0x0,!_0x10664c[_0x451cf1(0x2fe)]&&_0x10664c[_0x451cf1(0x2fe)]!==''&&(_0x10664c[_0x451cf1(0x2fe)]=_0xe611a6[_0x451cf1(0x30e)](_0x10664c['host'])?'':_0x10664c['host']),_0x130b1b['connect'](_0x10664c);}function _0x5b54d2(_0x4d0aa5,_0x25c942,_0x44f01c){const _0x18d4b3=_0x4e302d;_0x4d0aa5['_readyState']=_0x39d407[_0x18d4b3(0x38e)];const _0x3d3859=new Error(_0x44f01c);Error['captureStackTrace'](_0x3d3859,_0x5b54d2),_0x25c942['setHeader']?(_0x25c942[_0x4d95c9]=!0x0,_0x25c942['abort'](),_0x25c942['socket']&&!_0x25c942[_0x18d4b3(0x249)][_0x18d4b3(0x1f9)]&&_0x25c942[_0x18d4b3(0x249)][_0x18d4b3(0x280)](),process[_0x18d4b3(0x2ce)](_0x91b498,_0x4d0aa5,_0x3d3859)):(_0x25c942[_0x18d4b3(0x280)](_0x3d3859),_0x25c942[_0x18d4b3(0x27a)](_0x18d4b3(0x1fd),_0x4d0aa5['emit'][_0x18d4b3(0x368)](_0x4d0aa5,'error')),_0x25c942[_0x18d4b3(0x27a)](_0x18d4b3(0x281),_0x4d0aa5[_0x18d4b3(0x253)][_0x18d4b3(0x368)](_0x4d0aa5)));}function _0x1cab31(_0x4814f2,_0x3bc430,_0x51d2dd){const _0x5d830e=_0x4e302d;if(_0x3bc430){const _0x2d34f3=_0x561d84(_0x3bc430)?_0x3bc430[_0x5d830e(0x2e9)]:_0x2534b8(_0x3bc430)['length'];_0x4814f2[_0x5d830e(0x390)]?_0x4814f2[_0x5d830e(0x335)]['_bufferedBytes']+=_0x2d34f3:_0x4814f2['_bufferedAmount']+=_0x2d34f3;}if(_0x51d2dd){const _0x25303a=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x4814f2[_0x5d830e(0x321)]+'\x20('+_0x30aedc[_0x4814f2[_0x5d830e(0x321)]]+')');process[_0x5d830e(0x2ce)](_0x51d2dd,_0x25303a);}}function _0x364fe4(_0x4dde91,_0x3e3c6b){const _0x42d4fd=_0x4e302d,_0x2442b8=this[_0x2cc229];_0x2442b8[_0x42d4fd(0x1f2)]=!0x0,_0x2442b8['_closeMessage']=_0x3e3c6b,_0x2442b8[_0x42d4fd(0x250)]=_0x4dde91,_0x2442b8['_socket'][_0x2cc229]!==void 0x0&&(_0x2442b8[_0x42d4fd(0x390)][_0x42d4fd(0x246)]('data',_0x526c8f),process[_0x42d4fd(0x2ce)](_0x1eb6e1,_0x2442b8[_0x42d4fd(0x390)]),_0x4dde91===0x3ed?_0x2442b8[_0x42d4fd(0x281)]():_0x2442b8['close'](_0x4dde91,_0x3e3c6b));}function _0x5b26f7(){const _0x5c3f20=_0x4e302d,_0x42d90c=this[_0x2cc229];_0x42d90c[_0x5c3f20(0x324)]||_0x42d90c['_socket']['resume']();}function _0x313633(_0x4f159f){const _0x1ff605=_0x4e302d,_0x4a15bd=this[_0x2cc229];_0x4a15bd[_0x1ff605(0x390)][_0x2cc229]!==void 0x0&&(_0x4a15bd['_socket'][_0x1ff605(0x246)](_0x1ff605(0x1f8),_0x526c8f),process[_0x1ff605(0x2ce)](_0x1eb6e1,_0x4a15bd[_0x1ff605(0x390)]),_0x4a15bd[_0x1ff605(0x281)](_0x4f159f[_0x386035])),_0x4a15bd[_0x1ff605(0x2e8)]||(_0x4a15bd['_errorEmitted']=!0x0,_0x4a15bd['emit'](_0x1ff605(0x1fd),_0x4f159f));}function _0x3d8e37(){this[_0x2cc229]['emitClose']();}function _0xd2c089(_0x489f8f,_0x34b850){const _0x4d6bd1=_0x4e302d;this[_0x2cc229]['emit'](_0x4d6bd1(0x2c9),_0x489f8f,_0x34b850);}function _0x433b4a(_0x111ead){const _0x289d22=_0x4e302d,_0x1e69f2=this[_0x2cc229];_0x1e69f2[_0x289d22(0x349)]&&_0x1e69f2['pong'](_0x111ead,!this[_0x289d22(0x3ad)],_0x186015),_0x1e69f2[_0x289d22(0x38d)]('ping',_0x111ead);}function _0x445e30(_0x2090f0){const _0x334e82=_0x4e302d;this[_0x2cc229][_0x334e82(0x38d)](_0x334e82(0x3a5),_0x2090f0);}function _0x1eb6e1(_0x368756){_0x368756['resume']();}function _0x49118d(_0x4e2251){const _0x220924=_0x4e302d,_0xbfcfdf=this[_0x2cc229];_0xbfcfdf['readyState']!==_0x39d407['CLOSED']&&(_0xbfcfdf[_0x220924(0x321)]===_0x39d407[_0x220924(0x2a8)]&&(_0xbfcfdf[_0x220924(0x31d)]=_0x39d407['CLOSING'],_0x46cd6b(_0xbfcfdf)),this[_0x220924(0x390)][_0x220924(0x337)](),_0xbfcfdf[_0x220924(0x2e8)]||(_0xbfcfdf[_0x220924(0x2e8)]=!0x0,_0xbfcfdf[_0x220924(0x38d)](_0x220924(0x1fd),_0x4e2251)));}function _0x46cd6b(_0x1eb394){const _0x4b6a2a=_0x4e302d;_0x1eb394[_0x4b6a2a(0x317)]=setTimeout(_0x1eb394[_0x4b6a2a(0x390)]['destroy'][_0x4b6a2a(0x368)](_0x1eb394[_0x4b6a2a(0x390)]),_0x406e9b);}function _0x56ea0f(){const _0x498151=_0x4e302d,_0x439319=this[_0x2cc229];this['removeListener'](_0x498151(0x281),_0x56ea0f),this[_0x498151(0x246)]('data',_0x526c8f),this[_0x498151(0x246)](_0x498151(0x337),_0x37205e),_0x439319[_0x498151(0x31d)]=_0x39d407[_0x498151(0x38e)];let _0x838d4f;!this[_0x498151(0x289)][_0x498151(0x37e)]&&!_0x439319[_0x498151(0x1f2)]&&!_0x439319['_receiver'][_0x498151(0x2ba)][_0x498151(0x2f0)]&&(_0x838d4f=_0x439319[_0x498151(0x390)][_0x498151(0x2eb)]())!==null&&_0x439319[_0x498151(0x1f5)][_0x498151(0x327)](_0x838d4f),_0x439319['_receiver']['end'](),this[_0x2cc229]=void 0x0,clearTimeout(_0x439319[_0x498151(0x317)]),_0x439319[_0x498151(0x1f5)][_0x498151(0x2ba)][_0x498151(0x361)]||_0x439319[_0x498151(0x1f5)][_0x498151(0x2ba)][_0x498151(0x2f0)]?_0x439319[_0x498151(0x253)]():(_0x439319[_0x498151(0x1f5)]['on'](_0x498151(0x1fd),_0x3d8e37),_0x439319[_0x498151(0x1f5)]['on'](_0x498151(0x1ef),_0x3d8e37));}function _0x526c8f(_0x366970){const _0x190edd=_0x4e302d;this[_0x2cc229][_0x190edd(0x1f5)][_0x190edd(0x327)](_0x366970)||this['pause']();}function _0x37205e(){const _0x23c7a1=_0x4e302d,_0x2cd2b1=this[_0x2cc229];_0x2cd2b1[_0x23c7a1(0x31d)]=_0x39d407[_0x23c7a1(0x38e)],_0x2cd2b1[_0x23c7a1(0x1f5)][_0x23c7a1(0x337)](),this[_0x23c7a1(0x337)]();}function _0xc4a7a3(){const _0x29d633=_0x4e302d,_0x2c1075=this[_0x2cc229];this[_0x29d633(0x246)](_0x29d633(0x1fd),_0xc4a7a3),this['on'](_0x29d633(0x1fd),_0x186015),_0x2c1075&&(_0x2c1075[_0x29d633(0x31d)]=_0x39d407['CLOSING'],this[_0x29d633(0x280)]());}return we;}var Oe,et;function _0x4e7a(_0x4fd772,_0x3c0b17){const _0x5e9d91=_0x5e9d();return _0x4e7a=function(_0x4e7abd,_0x50702c){_0x4e7abd=_0x4e7abd-0x1e2;let _0x1cd916=_0x5e9d91[_0x4e7abd];return _0x1cd916;},_0x4e7a(_0x4fd772,_0x3c0b17);}function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x20f004}=oe;function _0x1df334(_0x5001d0){const _0x486325=_0x4e7a;_0x5001d0[_0x486325(0x38d)](_0x486325(0x281));}function _0x531d6c(){const _0x784a4a=_0x4e7a;!this[_0x784a4a(0x1f9)]&&this[_0x784a4a(0x2ba)][_0x784a4a(0x361)]&&this[_0x784a4a(0x280)]();}function _0x4d8a7a(_0x263a48){const _0x141acb=_0x4e7a;this[_0x141acb(0x246)]('error',_0x4d8a7a),this[_0x141acb(0x280)](),this['listenerCount'](_0x141acb(0x1fd))===0x0&&this[_0x141acb(0x38d)](_0x141acb(0x1fd),_0x263a48);}function _0x3aafa0(_0x582116,_0x4d98e7){const _0x1c969a=_0x4e7a;let _0x48e383=!0x0;const _0x545417=new _0x20f004({..._0x4d98e7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x582116['on'](_0x1c969a(0x2c9),function(_0x47fe57,_0x3a4b79){const _0x59e439=_0x1c969a,_0x42efb6=!_0x3a4b79&&_0x545417[_0x59e439(0x289)]['objectMode']?_0x47fe57['toString']():_0x47fe57;_0x545417[_0x59e439(0x306)](_0x42efb6)||_0x582116[_0x59e439(0x31f)]();}),_0x582116[_0x1c969a(0x27a)]('error',function(_0x49521a){const _0x319b3a=_0x1c969a;_0x545417[_0x319b3a(0x1f9)]||(_0x48e383=!0x1,_0x545417[_0x319b3a(0x280)](_0x49521a));}),_0x582116['once'](_0x1c969a(0x281),function(){const _0x2c6506=_0x1c969a;_0x545417[_0x2c6506(0x1f9)]||_0x545417[_0x2c6506(0x306)](null);}),_0x545417[_0x1c969a(0x1ed)]=function(_0xfb1f42,_0x2b2e94){const _0x4decf6=_0x1c969a;if(_0x582116[_0x4decf6(0x321)]===_0x582116[_0x4decf6(0x350)]){_0x2b2e94(_0xfb1f42),process['nextTick'](_0x1df334,_0x545417);return;}let _0x4c34d9=!0x1;_0x582116[_0x4decf6(0x27a)](_0x4decf6(0x1fd),function(_0x51c057){_0x4c34d9=!0x0,_0x2b2e94(_0x51c057);}),_0x582116[_0x4decf6(0x27a)](_0x4decf6(0x281),function(){const _0x5414bc=_0x4decf6;_0x4c34d9||_0x2b2e94(_0xfb1f42),process[_0x5414bc(0x2ce)](_0x1df334,_0x545417);}),_0x48e383&&_0x582116[_0x4decf6(0x325)]();},_0x545417[_0x1c969a(0x37b)]=function(_0x2fdc7f){const _0x1dfbe0=_0x1c969a;if(_0x582116[_0x1dfbe0(0x321)]===_0x582116[_0x1dfbe0(0x272)]){_0x582116['once'](_0x1dfbe0(0x398),function(){const _0xa0c639=_0x1dfbe0;_0x545417[_0xa0c639(0x37b)](_0x2fdc7f);});return;}_0x582116[_0x1dfbe0(0x390)]!==null&&(_0x582116['_socket'][_0x1dfbe0(0x2ba)]['finished']?(_0x2fdc7f(),_0x545417[_0x1dfbe0(0x289)][_0x1dfbe0(0x37e)]&&_0x545417[_0x1dfbe0(0x280)]()):(_0x582116[_0x1dfbe0(0x390)][_0x1dfbe0(0x27a)](_0x1dfbe0(0x1ef),function(){_0x2fdc7f();}),_0x582116[_0x1dfbe0(0x281)]()));},_0x545417[_0x1c969a(0x254)]=function(){const _0xbde429=_0x1c969a;_0x582116[_0xbde429(0x324)]&&_0x582116['resume']();},_0x545417['_write']=function(_0x14570d,_0x199697,_0x3086fd){const _0x1fd8ed=_0x1c969a;if(_0x582116[_0x1fd8ed(0x321)]===_0x582116[_0x1fd8ed(0x272)]){_0x582116['once'](_0x1fd8ed(0x398),function(){const _0x133ce2=_0x1fd8ed;_0x545417[_0x133ce2(0x377)](_0x14570d,_0x199697,_0x3086fd);});return;}_0x582116[_0x1fd8ed(0x2c8)](_0x14570d,_0x3086fd);},_0x545417['on'](_0x1c969a(0x337),_0x531d6c),_0x545417['on'](_0x1c969a(0x1fd),_0x4d8a7a),_0x545417;}return Oe=_0x3aafa0,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2fc847}=ae();function _0x43b8b0(_0x2f9862){const _0x377aa0=_0x4e7a,_0x4d5bdd=new Set();let _0xe699a2=-0x1,_0x1833eb=-0x1,_0x136642=0x0;for(_0x136642;_0x136642<_0x2f9862[_0x377aa0(0x351)];_0x136642++){const _0x21e73b=_0x2f9862[_0x377aa0(0x366)](_0x136642);if(_0x1833eb===-0x1&&_0x2fc847[_0x21e73b]===0x1)_0xe699a2===-0x1&&(_0xe699a2=_0x136642);else{if(_0x136642!==0x0&&(_0x21e73b===0x20||_0x21e73b===0x9))_0x1833eb===-0x1&&_0xe699a2!==-0x1&&(_0x1833eb=_0x136642);else{if(_0x21e73b===0x2c){if(_0xe699a2===-0x1)throw new SyntaxError(_0x377aa0(0x200)+_0x136642);_0x1833eb===-0x1&&(_0x1833eb=_0x136642);const _0x1e8cb6=_0x2f9862[_0x377aa0(0x231)](_0xe699a2,_0x1833eb);if(_0x4d5bdd['has'](_0x1e8cb6))throw new SyntaxError('The\x20\x22'+_0x1e8cb6+_0x377aa0(0x221));_0x4d5bdd[_0x377aa0(0x2af)](_0x1e8cb6),_0xe699a2=_0x1833eb=-0x1;}else throw new SyntaxError(_0x377aa0(0x200)+_0x136642);}}}if(_0xe699a2===-0x1||_0x1833eb!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x2593a6=_0x2f9862[_0x377aa0(0x231)](_0xe699a2,_0x136642);if(_0x4d5bdd[_0x377aa0(0x283)](_0x2593a6))throw new SyntaxError(_0x377aa0(0x303)+_0x2593a6+_0x377aa0(0x221));return _0x4d5bdd[_0x377aa0(0x2af)](_0x2593a6),_0x4d5bdd;}return Ce={'parse':_0x43b8b0},Ce;}var Te,rt;function Ft(){const _0x420f57=_0x35552f;if(rt)return Te;rt=0x1;const _0x1da978=nt,_0x43ec55=ot,{Duplex:_0x118ff0}=oe,{createHash:_0xabd814}=Le,_0x434118=ct(),_0x2c7f29=he(),_0x5f50bc=At(),_0x1ba373=Pe(),{GUID:_0x5b000f,kWebSocket:_0x5988b0}=H(),_0xb55a7c=/^[+/0-9A-Za-z]{22}==$/,_0x57bf8c=0x0,_0x3a62fa=0x1,_0x57d186=0x2;class _0x48736a extends _0x1da978{constructor(_0xfcef14,_0x4fcb57){const _0x3bb18b=_0x4e7a;if(super(),_0xfcef14={'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':_0x1ba373,..._0xfcef14},_0xfcef14[_0x3bb18b(0x202)]==null&&!_0xfcef14[_0x3bb18b(0x336)]&&!_0xfcef14[_0x3bb18b(0x218)]||_0xfcef14[_0x3bb18b(0x202)]!=null&&(_0xfcef14['server']||_0xfcef14[_0x3bb18b(0x218)])||_0xfcef14[_0x3bb18b(0x336)]&&_0xfcef14[_0x3bb18b(0x218)])throw new TypeError(_0x3bb18b(0x328));if(_0xfcef14[_0x3bb18b(0x202)]!=null?(this['_server']=_0x43ec55[_0x3bb18b(0x32e)]((_0x47b72e,_0x33d07d)=>{const _0x41b70d=_0x3bb18b,_0x75db7c=_0x43ec55[_0x41b70d(0x290)][0x1aa];_0x33d07d[_0x41b70d(0x2e3)](0x1aa,{'Content-Length':_0x75db7c[_0x41b70d(0x351)],'Content-Type':'text/plain'}),_0x33d07d[_0x41b70d(0x337)](_0x75db7c);}),this[_0x3bb18b(0x1f0)][_0x3bb18b(0x301)](_0xfcef14[_0x3bb18b(0x202)],_0xfcef14[_0x3bb18b(0x32c)],_0xfcef14[_0x3bb18b(0x340)],_0x4fcb57)):_0xfcef14[_0x3bb18b(0x336)]&&(this[_0x3bb18b(0x1f0)]=_0xfcef14[_0x3bb18b(0x336)]),this[_0x3bb18b(0x1f0)]){const _0x563972=this[_0x3bb18b(0x38d)][_0x3bb18b(0x368)](this,_0x3bb18b(0x2cc));this[_0x3bb18b(0x2f5)]=_0x396b6a(this[_0x3bb18b(0x1f0)],{'listening':this['emit'][_0x3bb18b(0x368)](this,_0x3bb18b(0x2ec)),'error':this['emit']['bind'](this,_0x3bb18b(0x1fd)),'upgrade':(_0x1ca172,_0x49f81a,_0x447140)=>{this['handleUpgrade'](_0x1ca172,_0x49f81a,_0x447140,_0x563972);}});}_0xfcef14[_0x3bb18b(0x2c4)]===!0x0&&(_0xfcef14['perMessageDeflate']={}),_0xfcef14[_0x3bb18b(0x343)]&&(this[_0x3bb18b(0x326)]=new Set(),this[_0x3bb18b(0x346)]=!0x1),this[_0x3bb18b(0x298)]=_0xfcef14,this[_0x3bb18b(0x266)]=_0x57bf8c;}[_0x420f57(0x358)](){const _0x1a7060=_0x420f57;if(this[_0x1a7060(0x298)][_0x1a7060(0x218)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x1a7060(0x1f0)]?this[_0x1a7060(0x1f0)][_0x1a7060(0x358)]():null;}['close'](_0x196927){const _0x1ab756=_0x420f57;if(this['_state']===_0x57d186){_0x196927&&this['once']('close',()=>{const _0x56cac4=_0x4e7a;_0x196927(new Error(_0x56cac4(0x297)));}),process[_0x1ab756(0x2ce)](_0x24691f,this);return;}if(_0x196927&&this[_0x1ab756(0x27a)](_0x1ab756(0x281),_0x196927),this[_0x1ab756(0x266)]!==_0x3a62fa){if(this[_0x1ab756(0x266)]=_0x3a62fa,this[_0x1ab756(0x298)][_0x1ab756(0x218)]||this[_0x1ab756(0x298)]['server'])this['_server']&&(this[_0x1ab756(0x2f5)](),this[_0x1ab756(0x2f5)]=this[_0x1ab756(0x1f0)]=null),this[_0x1ab756(0x326)]?this[_0x1ab756(0x326)][_0x1ab756(0x2e9)]?this['_shouldEmitClose']=!0x0:process[_0x1ab756(0x2ce)](_0x24691f,this):process[_0x1ab756(0x2ce)](_0x24691f,this);else{const _0x2d700f=this['_server'];this['_removeListeners'](),this[_0x1ab756(0x2f5)]=this[_0x1ab756(0x1f0)]=null,_0x2d700f[_0x1ab756(0x281)](()=>{_0x24691f(this);});}}}[_0x420f57(0x39b)](_0x13632d){const _0x304447=_0x420f57;if(this[_0x304447(0x298)][_0x304447(0x399)]){const _0x43c761=_0x13632d[_0x304447(0x384)][_0x304447(0x371)]('?');if((_0x43c761!==-0x1?_0x13632d['url'][_0x304447(0x231)](0x0,_0x43c761):_0x13632d[_0x304447(0x384)])!==this[_0x304447(0x298)][_0x304447(0x399)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3b3958,_0x3c29b5,_0x3f55f5,_0x57ae7d){const _0x5c5644=_0x420f57;_0x3c29b5['on'](_0x5c5644(0x1fd),_0x8b27d1);const _0x594c02=_0x3b3958[_0x5c5644(0x235)]['sec-websocket-key'],_0x475105=_0x3b3958[_0x5c5644(0x235)][_0x5c5644(0x2e0)],_0x582c7e=+_0x3b3958[_0x5c5644(0x235)][_0x5c5644(0x294)];if(_0x3b3958[_0x5c5644(0x2ff)]!==_0x5c5644(0x30b)){_0x4b3425(this,_0x3b3958,_0x3c29b5,0x195,_0x5c5644(0x2d6));return;}if(_0x475105===void 0x0||_0x475105[_0x5c5644(0x383)]()!==_0x5c5644(0x23e)){_0x4b3425(this,_0x3b3958,_0x3c29b5,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x594c02===void 0x0||!_0xb55a7c[_0x5c5644(0x302)](_0x594c02)){_0x4b3425(this,_0x3b3958,_0x3c29b5,0x190,_0x5c5644(0x209));return;}if(_0x582c7e!==0x8&&_0x582c7e!==0xd){_0x4b3425(this,_0x3b3958,_0x3c29b5,0x190,_0x5c5644(0x29a));return;}if(!this[_0x5c5644(0x39b)](_0x3b3958)){_0x303afc(_0x3c29b5,0x190);return;}const _0x264ee0=_0x3b3958[_0x5c5644(0x235)][_0x5c5644(0x23b)];let _0x26d62d=new Set();if(_0x264ee0!==void 0x0)try{_0x26d62d=_0x5f50bc['parse'](_0x264ee0);}catch{_0x4b3425(this,_0x3b3958,_0x3c29b5,0x190,_0x5c5644(0x269));return;}const _0x52491c=_0x3b3958['headers'][_0x5c5644(0x2f3)],_0x4fed13={};if(this[_0x5c5644(0x298)][_0x5c5644(0x2c4)]&&_0x52491c!==void 0x0){const _0xb09e2e=new _0x2c7f29(this['options'][_0x5c5644(0x2c4)],!0x0,this['options'][_0x5c5644(0x359)]);try{const _0x58e1f0=_0x434118[_0x5c5644(0x37c)](_0x52491c);_0x58e1f0[_0x2c7f29['extensionName']]&&(_0xb09e2e[_0x5c5644(0x25d)](_0x58e1f0[_0x2c7f29['extensionName']]),_0x4fed13[_0x2c7f29[_0x5c5644(0x217)]]=_0xb09e2e);}catch{_0x4b3425(this,_0x3b3958,_0x3c29b5,0x190,_0x5c5644(0x285));return;}}if(this['options'][_0x5c5644(0x379)]){const _0x13ab64={'origin':_0x3b3958[_0x5c5644(0x235)][''+(_0x582c7e===0x8?_0x5c5644(0x1f7):_0x5c5644(0x215))],'secure':!!(_0x3b3958['socket'][_0x5c5644(0x39c)]||_0x3b3958[_0x5c5644(0x249)]['encrypted']),'req':_0x3b3958};if(this['options']['verifyClient'][_0x5c5644(0x351)]===0x2){this['options']['verifyClient'](_0x13ab64,(_0x100b0f,_0x4fd0ed,_0x25fec6,_0x161c91)=>{if(!_0x100b0f)return _0x303afc(_0x3c29b5,_0x4fd0ed||0x191,_0x25fec6,_0x161c91);this['completeUpgrade'](_0x4fed13,_0x594c02,_0x26d62d,_0x3b3958,_0x3c29b5,_0x3f55f5,_0x57ae7d);});return;}if(!this['options']['verifyClient'](_0x13ab64))return _0x303afc(_0x3c29b5,0x191);}this[_0x5c5644(0x24e)](_0x4fed13,_0x594c02,_0x26d62d,_0x3b3958,_0x3c29b5,_0x3f55f5,_0x57ae7d);}[_0x420f57(0x24e)](_0x1bf8fb,_0x173c7c,_0x4dae4f,_0x33f466,_0x4c172c,_0xf1f41c,_0x37dc93){const _0x5b3af1=_0x420f57;if(!_0x4c172c['readable']||!_0x4c172c[_0x5b3af1(0x37d)])return _0x4c172c[_0x5b3af1(0x280)]();if(_0x4c172c[_0x5988b0])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x5b3af1(0x266)]>_0x57bf8c)return _0x303afc(_0x4c172c,0x1f7);const _0x3526b9=[_0x5b3af1(0x2d0),_0x5b3af1(0x331),_0x5b3af1(0x29f),_0x5b3af1(0x33f)+_0xabd814('sha1')[_0x5b3af1(0x204)](_0x173c7c+_0x5b000f)['digest'](_0x5b3af1(0x312))],_0x212f8a=new this['options']['WebSocket'](null,void 0x0,this[_0x5b3af1(0x298)]);if(_0x4dae4f['size']){const _0x1cbd98=this['options'][_0x5b3af1(0x1f1)]?this[_0x5b3af1(0x298)][_0x5b3af1(0x1f1)](_0x4dae4f,_0x33f466):_0x4dae4f[_0x5b3af1(0x2d3)]()[_0x5b3af1(0x1e3)]()['value'];_0x1cbd98&&(_0x3526b9['push'](_0x5b3af1(0x367)+_0x1cbd98),_0x212f8a[_0x5b3af1(0x38a)]=_0x1cbd98);}if(_0x1bf8fb[_0x2c7f29[_0x5b3af1(0x217)]]){const _0x23589f=_0x1bf8fb[_0x2c7f29[_0x5b3af1(0x217)]][_0x5b3af1(0x223)],_0x38855a=_0x434118[_0x5b3af1(0x3ac)]({[_0x2c7f29[_0x5b3af1(0x217)]]:[_0x23589f]});_0x3526b9[_0x5b3af1(0x306)](_0x5b3af1(0x2da)+_0x38855a),_0x212f8a['_extensions']=_0x1bf8fb;}this['emit'](_0x5b3af1(0x235),_0x3526b9,_0x33f466),_0x4c172c[_0x5b3af1(0x327)](_0x3526b9[_0x5b3af1(0x248)]('\x0d\x0a')[_0x5b3af1(0x31c)]('\x0d\x0a')),_0x4c172c[_0x5b3af1(0x246)](_0x5b3af1(0x1fd),_0x8b27d1),_0x212f8a['setSocket'](_0x4c172c,_0xf1f41c,{'allowSynchronousEvents':this[_0x5b3af1(0x298)][_0x5b3af1(0x2a3)],'maxPayload':this[_0x5b3af1(0x298)]['maxPayload'],'skipUTF8Validation':this[_0x5b3af1(0x298)][_0x5b3af1(0x3a3)]}),this[_0x5b3af1(0x326)]&&(this[_0x5b3af1(0x326)][_0x5b3af1(0x2af)](_0x212f8a),_0x212f8a['on'](_0x5b3af1(0x281),()=>{const _0x437e0e=_0x5b3af1;this[_0x437e0e(0x326)][_0x437e0e(0x2ca)](_0x212f8a),this[_0x437e0e(0x346)]&&!this[_0x437e0e(0x326)][_0x437e0e(0x2e9)]&&process['nextTick'](_0x24691f,this);})),_0x37dc93(_0x212f8a,_0x33f466);}}Te=_0x48736a;function _0x396b6a(_0x45a6c6,_0x9285db){const _0x372f6b=_0x420f57;for(const _0x3cd842 of Object[_0x372f6b(0x23a)](_0x9285db))_0x45a6c6['on'](_0x3cd842,_0x9285db[_0x3cd842]);return function(){const _0x5835fd=_0x372f6b;for(const _0x279629 of Object[_0x5835fd(0x23a)](_0x9285db))_0x45a6c6['removeListener'](_0x279629,_0x9285db[_0x279629]);};}function _0x24691f(_0x2ff54b){const _0x219a7b=_0x420f57;_0x2ff54b['_state']=_0x57d186,_0x2ff54b[_0x219a7b(0x38d)](_0x219a7b(0x281));}function _0x8b27d1(){this['destroy']();}function _0x303afc(_0x240271,_0x4f6b25,_0x53d1f0,_0x355718){const _0x10f7fb=_0x420f57;_0x53d1f0=_0x53d1f0||_0x43ec55[_0x10f7fb(0x290)][_0x4f6b25],_0x355718={'Connection':_0x10f7fb(0x281),'Content-Type':_0x10f7fb(0x260),'Content-Length':Buffer[_0x10f7fb(0x261)](_0x53d1f0),..._0x355718},_0x240271[_0x10f7fb(0x27a)](_0x10f7fb(0x1ef),_0x240271['destroy']),_0x240271[_0x10f7fb(0x337)](_0x10f7fb(0x389)+_0x4f6b25+'\x20'+_0x43ec55[_0x10f7fb(0x290)][_0x4f6b25]+'\x0d\x0a'+Object[_0x10f7fb(0x23a)](_0x355718)['map'](_0x175c3d=>_0x175c3d+':\x20'+_0x355718[_0x175c3d])[_0x10f7fb(0x31c)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x53d1f0);}function _0x4b3425(_0xf4430d,_0x2ae29b,_0x7363a,_0x20e318,_0x32c033){const _0x589253=_0x420f57;if(_0xf4430d[_0x589253(0x369)](_0x589253(0x208))){const _0x2fd9fc=new Error(_0x32c033);Error[_0x589253(0x2f9)](_0x2fd9fc,_0x4b3425),_0xf4430d['emit'](_0x589253(0x208),_0x2fd9fc,_0x7363a,_0x2ae29b);}else _0x303afc(_0x7363a,_0x20e318,_0x32c033);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x497ef6,_0x53ad3a,_0x5af6cd,_0x4c28e5)=>{const _0x2c27e7=_0x35552f;for(var _0x24b02f=_0x4c28e5>0x1?void 0x0:_0x4c28e5?jt(_0x53ad3a,_0x5af6cd):_0x53ad3a,_0x2a9ec1=_0x497ef6[_0x2c27e7(0x351)]-0x1,_0x2cf7ff;_0x2a9ec1>=0x0;_0x2a9ec1--)(_0x2cf7ff=_0x497ef6[_0x2a9ec1])&&(_0x24b02f=_0x2cf7ff(_0x24b02f)||_0x24b02f);return _0x24b02f;},qt=(_0x501430,_0xa54744)=>(_0xac2361,_0x528a14)=>_0xa54744(_0xac2361,_0x528a14,_0x501430);let ke=class extends A[_0x35552f(0x2fb)]{constructor(_0x5d4f92){const _0x1b1be1=_0x35552f;super(),this[_0x1b1be1(0x315)]=_0x5d4f92;}[_0x35552f(0x35f)](_0x5082cf){const _0x51c026=_0x35552f;var _0x3fc42f;const _0x2b3ebb=(_0x3fc42f=this['_configService'][_0x51c026(0x2be)](fe))==null?void 0x0:_0x3fc42f[_0x51c026(0x3a4)];try{const _0x42f02d=new $t(_0x5082cf,{'headers':{..._0x2b3ebb}}),_0x446f94=new A[(_0x51c026(0x2a1))]();return{'URL':_0x5082cf,'close':(_0x3ea402,_0x3e5824)=>{const _0x2e92b8=_0x51c026;_0x42f02d[_0x2e92b8(0x281)](_0x3ea402,_0x3e5824),_0x446f94['dispose']();},'send':_0x396ac2=>{_0x42f02d['send'](_0x396ac2);},'open$':new V[(_0x51c026(0x271))](_0x35414=>{const _0x16ce3f=_0x51c026,_0x4128d9=_0x52b526=>_0x35414['next'](_0x52b526);_0x42f02d[_0x16ce3f(0x309)](_0x16ce3f(0x398),_0x4128d9),_0x446f94[_0x16ce3f(0x2af)](A[_0x16ce3f(0x27c)](()=>_0x42f02d[_0x16ce3f(0x2f4)](_0x16ce3f(0x398),_0x4128d9)));})[_0x51c026(0x295)](V['share']()),'close$':new V['Observable'](_0x4481a5=>{const _0x14c669=_0x51c026,_0xe0f8e3=_0x3dad22=>_0x4481a5[_0x14c669(0x1e3)](_0x3dad22);_0x42f02d['addEventListener'](_0x14c669(0x281),_0xe0f8e3),_0x446f94[_0x14c669(0x2af)](A['toDisposable'](()=>_0x42f02d[_0x14c669(0x2f4)](_0x14c669(0x281),_0xe0f8e3)));})[_0x51c026(0x295)](V[_0x51c026(0x2aa)]()),'error$':new V[(_0x51c026(0x271))](_0x562738=>{const _0x49181c=_0x51c026,_0x552801=_0x212254=>_0x562738[_0x49181c(0x1e3)](_0x212254);_0x42f02d[_0x49181c(0x309)](_0x49181c(0x1fd),_0x552801),_0x446f94[_0x49181c(0x2af)](A[_0x49181c(0x27c)](()=>_0x42f02d[_0x49181c(0x2f4)](_0x49181c(0x1fd),_0x552801)));})[_0x51c026(0x295)](V['share']()),'message$':new V[(_0x51c026(0x271))](_0x45eea4=>{const _0x3bc8a3=_0x51c026,_0x154878=_0x51b8ac=>_0x45eea4[_0x3bc8a3(0x1e3)](_0x51b8ac);_0x42f02d[_0x3bc8a3(0x309)](_0x3bc8a3(0x2c9),_0x154878),_0x446f94[_0x3bc8a3(0x2af)](A[_0x3bc8a3(0x27c)](()=>_0x42f02d[_0x3bc8a3(0x2f4)](_0x3bc8a3(0x2c9),_0x154878)));})['pipe'](V[_0x51c026(0x2aa)]())};}catch(_0x5bce9b){return console[_0x51c026(0x1fd)](_0x5bce9b),null;}}};ke=Wt([qt(0x0,A[_0x35552f(0x2ed)])],ke);var Gt=Object[_0x35552f(0x21a)],Vt=Object[_0x35552f(0x32a)],Ht=(_0x51257f,_0x244f5b,_0x680c76)=>_0x244f5b in _0x51257f?Gt(_0x51257f,_0x244f5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x680c76}):_0x51257f[_0x244f5b]=_0x680c76,zt=(_0x3882a4,_0x235441,_0xe7a290,_0x3c02f2)=>{const _0x321606=_0x35552f;for(var _0x30a24c=_0x3c02f2>0x1?void 0x0:_0x3c02f2?Vt(_0x235441,_0xe7a290):_0x235441,_0x3e558e=_0x3882a4[_0x321606(0x351)]-0x1,_0x39741b;_0x3e558e>=0x0;_0x3e558e--)(_0x39741b=_0x3882a4[_0x3e558e])&&(_0x30a24c=_0x39741b(_0x30a24c)||_0x30a24c);return _0x30a24c;},Ne=(_0x3e34a2,_0x3091c1)=>(_0x18ca14,_0x18949c)=>_0x3091c1(_0x18ca14,_0x18949c,_0x3e34a2),Yt=(_0x676c00,_0x277810,_0xd6b3f7)=>Ht(_0x676c00,_0x277810+'',_0xd6b3f7);exports[_0x35552f(0x25f)]=class extends A[_0x35552f(0x2b5)]{constructor(_0x423dab=Ct,_0x3aa091,_0x426475,_0x3e8583){const _0x457e90=_0x35552f;_0x423dab[_0x457e90(0x3a4)]||_0x3aa091['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x457e90(0x315)]=_0x426475,this[_0x457e90(0x29b)]=_0x3e8583,this[_0x457e90(0x315)][_0x457e90(0x307)](fe,_0x423dab);}[_0x35552f(0x1e9)](){const _0x42a0a4=_0x35552f;this[_0x42a0a4(0x26d)]();}[_0x35552f(0x26d)](){const _0x440c43=_0x35552f;A[_0x440c43(0x258)](this[_0x440c43(0x29b)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x35552f(0x22b),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x35552f(0x25f)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x35552f(0x257)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x35552f(0x3a0)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x35552f(0x32a)],Xt=(_0x429aa3,_0x38daed,_0x3e0266,_0x1137e3)=>{for(var _0x25c235=_0x1137e3>0x1?void 0x0:_0x1137e3?Kt(_0x38daed,_0x3e0266):_0x38daed,_0xe9ae4c=_0x429aa3['length']-0x1,_0x1af0d8;_0xe9ae4c>=0x0;_0xe9ae4c--)(_0x1af0d8=_0x429aa3[_0xe9ae4c])&&(_0x25c235=_0x1af0d8(_0x25c235)||_0x25c235);return _0x25c235;},ne=(_0x26a2b7,_0x589458)=>(_0x5c550b,_0x2efc04)=>_0x589458(_0x5c550b,_0x2efc04,_0x26a2b7);exports['NodeCollaborationSocketService']=class extends st[_0x35552f(0x29d)]{constructor(_0x221ddb,_0x144b99,_0x187232,_0x183a3b,_0x4141d0){const _0x5ec7ea=_0x35552f;super(_0x221ddb,_0x144b99,_0x187232,_0x183a3b,_0x4141d0);const _0x542b49=this[_0x5ec7ea(0x315)][_0x5ec7ea(0x2be)](fe);this['_httpService'][_0x5ec7ea(0x34d)]({'interceptor':(_0x22da7d,_0x3d6bfb)=>{const _0x345d0d=_0x5ec7ea;var _0xd99a2a;const _0x48b5a3=_0x22da7d[_0x345d0d(0x235)];return(_0xd99a2a=_0x542b49==null?void 0x0:_0x542b49[_0x345d0d(0x3a4)])!=null&&_0xd99a2a[_0x345d0d(0x1fb)]&&_0x48b5a3['set'](_0x345d0d(0x2bf),_0x542b49['customHeaders'][_0x345d0d(0x1fb)]),_0x3d6bfb(_0x22da7d);}});}async[_0x35552f(0x35f)](_0x1e2570){const _0x4a72fb=_0x35552f;return this[_0x4a72fb(0x373)](_0x1e2570);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x35552f(0x3a0)](A[_0x35552f(0x30a)])),ne(0x1,A[_0x35552f(0x3a0)](it[_0x35552f(0x263)])),ne(0x2,A[_0x35552f(0x2ed)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x35552f(0x2c7)])],exports[_0x35552f(0x251)]),exports[_0x35552f(0x2ac)]=fe;
1
+ 'use strict';const _0x3b8394=_0x401c;(function(_0x48a073,_0x18f12e){const _0x46644e=_0x401c,_0x494b09=_0x48a073();while(!![]){try{const _0xa096b2=parseInt(_0x46644e(0x16a))/0x1*(parseInt(_0x46644e(0x24b))/0x2)+-parseInt(_0x46644e(0x152))/0x3+-parseInt(_0x46644e(0xee))/0x4*(parseInt(_0x46644e(0x1f6))/0x5)+parseInt(_0x46644e(0x13d))/0x6*(parseInt(_0x46644e(0x19a))/0x7)+-parseInt(_0x46644e(0x17d))/0x8+parseInt(_0x46644e(0x223))/0x9+parseInt(_0x46644e(0x205))/0xa;if(_0xa096b2===_0x18f12e)break;else _0x494b09['push'](_0x494b09['shift']());}catch(_0x59a50b){_0x494b09['push'](_0x494b09['shift']());}}}(_0x5cb4,0x9dc86));Object[_0x3b8394(0x1e4)](exports,Symbol[_0x3b8394(0x1d1)],{'value':'Module'});const st=require(_0x3b8394(0x229)),A=require(_0x3b8394(0x1a3)),it=require(_0x3b8394(0x240)),V=require(_0x3b8394(0x283)),nt=require(_0x3b8394(0x188)),vt=require(_0x3b8394(0x208)),ot=require('http'),St=require(_0x3b8394(0x17f)),Et=require(_0x3b8394(0x235)),Le=require(_0x3b8394(0x21b)),oe=require(_0x3b8394(0xd5)),xt=require('url'),bt=require(_0x3b8394(0x110)),wt=require(_0x3b8394(0x1ac)),Ot=require(_0x3b8394(0x250)),fe=_0x3b8394(0x22a),Ct={'customHeaders':{}};function Tt(_0x697298){const _0x4e3d06=_0x3b8394;return _0x697298&&_0x697298['__esModule']&&Object['prototype']['hasOwnProperty'][_0x4e3d06(0xce)](_0x697298,'default')?_0x697298[_0x4e3d06(0x216)]:_0x697298;}function at(_0x266b72){const _0x54f292=_0x3b8394;if(Object[_0x54f292(0x22d)][_0x54f292(0x1cf)][_0x54f292(0xce)](_0x266b72,_0x54f292(0x1fc)))return _0x266b72;var _0x564b0c=_0x266b72[_0x54f292(0x216)];if(typeof _0x564b0c=='function'){var _0x6637b8=function _0xf9af70(){const _0x3932c1=_0x54f292;return this instanceof _0xf9af70?Reflect[_0x3932c1(0xc9)](_0x564b0c,arguments,this[_0x3932c1(0x267)]):_0x564b0c[_0x3932c1(0x28c)](this,arguments);};_0x6637b8['prototype']=_0x564b0c['prototype'];}else _0x6637b8={};return Object[_0x54f292(0x1e4)](_0x6637b8,_0x54f292(0x1fc),{'value':!0x0}),Object[_0x54f292(0x1f1)](_0x266b72)[_0x54f292(0x197)](function(_0x4c2d4f){const _0x33e60e=_0x54f292;var _0xdb6391=Object[_0x33e60e(0xf3)](_0x266b72,_0x4c2d4f);Object[_0x33e60e(0x1e4)](_0x6637b8,_0x4c2d4f,_0xdb6391['get']?_0xdb6391:{'enumerable':!0x0,'get':function(){return _0x266b72[_0x4c2d4f];}});}),_0x6637b8;}var se={'exports':{}},ge,Ge;function H(){const _0x5161df=_0x3b8394;if(Ge)return ge;Ge=0x1;const _0xf18caf=[_0x5161df(0x211),_0x5161df(0x202),_0x5161df(0x1c3)],_0xe34a5d=typeof Blob<'u';return _0xe34a5d&&_0xf18caf['push']('blob'),ge={'BINARY_TYPES':_0xf18caf,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x5161df(0x263),'hasBlob':_0xe34a5d,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x5161df(0x1d7)),'kStatusCode':Symbol(_0x5161df(0x219)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x3b8394(0x1b3)](Object[_0x3b8394(0x1e4)]({'__proto__':null,'default':Nt},Symbol[_0x3b8394(0x1d1)],{'value':_0x3b8394(0x206)})),Lt=at(kt);var Ve;function _0x401c(_0x14632e,_0x2beee1){const _0x5cb450=_0x5cb4();return _0x401c=function(_0x401c03,_0x572552){_0x401c03=_0x401c03-0xc5;let _0x4d549d=_0x5cb450[_0x401c03];return _0x4d549d;},_0x401c(_0x14632e,_0x2beee1);}function ce(){const _0x287583=_0x3b8394;if(Ve)return se[_0x287583(0x1df)];Ve=0x1;const {EMPTY_BUFFER:_0x4e780d}=H(),_0xe56b8b=Buffer[Symbol[_0x287583(0x1c8)]];function _0x446678(_0x1d8ba6,_0x5e378e){const _0x1b4280=_0x287583;if(_0x1d8ba6[_0x1b4280(0xcb)]===0x0)return _0x4e780d;if(_0x1d8ba6[_0x1b4280(0xcb)]===0x1)return _0x1d8ba6[0x0];const _0x315544=Buffer[_0x1b4280(0x1d5)](_0x5e378e);let _0x11da17=0x0;for(let _0x17d6ba=0x0;_0x17d6ba<_0x1d8ba6[_0x1b4280(0xcb)];_0x17d6ba++){const _0x5dac97=_0x1d8ba6[_0x17d6ba];_0x315544[_0x1b4280(0x252)](_0x5dac97,_0x11da17),_0x11da17+=_0x5dac97['length'];}return _0x11da17<_0x5e378e?new _0xe56b8b(_0x315544[_0x1b4280(0x1ac)],_0x315544[_0x1b4280(0xdd)],_0x11da17):_0x315544;}function _0x4b9127(_0x242494,_0x17cb1e,_0x118841,_0x211e87,_0x415320){for(let _0x393e02=0x0;_0x393e02<_0x415320;_0x393e02++)_0x118841[_0x211e87+_0x393e02]=_0x242494[_0x393e02]^_0x17cb1e[_0x393e02&0x3];}function _0x439583(_0x545519,_0x33529a){const _0x3aae38=_0x287583;for(let _0x2e03a3=0x0;_0x2e03a3<_0x545519[_0x3aae38(0xcb)];_0x2e03a3++)_0x545519[_0x2e03a3]^=_0x33529a[_0x2e03a3&0x3];}function _0x3bd8f8(_0x4e1e14){const _0x5d328b=_0x287583;return _0x4e1e14[_0x5d328b(0xcb)]===_0x4e1e14[_0x5d328b(0x1ac)][_0x5d328b(0x1a5)]?_0x4e1e14['buffer']:_0x4e1e14['buffer'][_0x5d328b(0x271)](_0x4e1e14[_0x5d328b(0xdd)],_0x4e1e14[_0x5d328b(0xdd)]+_0x4e1e14['length']);}function _0x2a9a61(_0x5c4299){const _0x370452=_0x287583;if(_0x2a9a61[_0x370452(0x26a)]=!0x0,Buffer[_0x370452(0x26c)](_0x5c4299))return _0x5c4299;let _0x4cc453;return _0x5c4299 instanceof ArrayBuffer?_0x4cc453=new _0xe56b8b(_0x5c4299):ArrayBuffer[_0x370452(0x292)](_0x5c4299)?_0x4cc453=new _0xe56b8b(_0x5c4299[_0x370452(0x1ac)],_0x5c4299[_0x370452(0xdd)],_0x5c4299[_0x370452(0x1a5)]):(_0x4cc453=Buffer[_0x370452(0x1b5)](_0x5c4299),_0x2a9a61[_0x370452(0x26a)]=!0x1),_0x4cc453;}if(se[_0x287583(0x1df)]={'concat':_0x446678,'mask':_0x4b9127,'toArrayBuffer':_0x3bd8f8,'toBuffer':_0x2a9a61,'unmask':_0x439583},!process['env'][_0x287583(0x112)])try{const _0x4bb33e=Lt;se[_0x287583(0x1df)]['mask']=function(_0xea8dd1,_0x372785,_0x22a072,_0x4b1d66,_0x1771d2){const _0x7dbcaf=_0x287583;_0x1771d2<0x30?_0x4b9127(_0xea8dd1,_0x372785,_0x22a072,_0x4b1d66,_0x1771d2):_0x4bb33e[_0x7dbcaf(0x282)](_0xea8dd1,_0x372785,_0x22a072,_0x4b1d66,_0x1771d2);},se['exports'][_0x287583(0x1db)]=function(_0x46df5a,_0x42906f){const _0x28fce9=_0x287583;_0x46df5a['length']<0x20?_0x439583(_0x46df5a,_0x42906f):_0x4bb33e[_0x28fce9(0x1db)](_0x46df5a,_0x42906f);};}catch{}return se[_0x287583(0x1df)];}var ye,He;function Pt(){const _0x53512f=_0x3b8394;if(He)return ye;He=0x1;const _0xf74e17=Symbol(_0x53512f(0x10e)),_0x1aef7f=Symbol(_0x53512f(0x291));class _0x1b1f61{constructor(_0x242317){const _0x4ab2c4=_0x53512f;this[_0xf74e17]=()=>{const _0xbdfd0e=_0x401c;this[_0xbdfd0e(0x147)]--,this[_0x1aef7f]();},this[_0x4ab2c4(0x15c)]=_0x242317||0x1/0x0,this[_0x4ab2c4(0x1bf)]=[],this[_0x4ab2c4(0x147)]=0x0;}['add'](_0x2655e1){const _0x271cf4=_0x53512f;this[_0x271cf4(0x1bf)][_0x271cf4(0x12f)](_0x2655e1),this[_0x1aef7f]();}[_0x1aef7f](){const _0xcacd83=_0x53512f;if(this[_0xcacd83(0x147)]!==this[_0xcacd83(0x15c)]&&this[_0xcacd83(0x1bf)][_0xcacd83(0xcb)]){const _0x26370e=this[_0xcacd83(0x1bf)]['shift']();this[_0xcacd83(0x147)]++,_0x26370e(this[_0xf74e17]);}}}return ye=_0x1b1f61,ye;}var ve,ze;function he(){const _0x28d558=_0x3b8394;if(ze)return ve;ze=0x1;const _0x3e4b7a=bt,_0x3deefa=ce(),_0x222483=Pt(),{kStatusCode:_0x1f3597}=H(),_0x5b4f2f=Buffer[Symbol[_0x28d558(0x1c8)]],_0x1591c4=Buffer[_0x28d558(0x1b5)]([0x0,0x0,0xff,0xff]),_0x4d122f=Symbol(_0x28d558(0x135)),_0x4e9d89=Symbol(_0x28d558(0x17a)),_0xd33647=Symbol('callback'),_0x2aeb46=Symbol(_0x28d558(0x1d3)),_0x18b67b=Symbol('error');let _0x10f313;class _0x57db21{constructor(_0x5bb295,_0x4cddb2,_0x3ecb41){const _0x4a6a08=_0x28d558;if(this[_0x4a6a08(0xef)]=_0x3ecb41|0x0,this[_0x4a6a08(0x1c1)]=_0x5bb295||{},this[_0x4a6a08(0x23c)]=this['_options'][_0x4a6a08(0x1fb)]!==void 0x0?this[_0x4a6a08(0x1c1)][_0x4a6a08(0x1fb)]:0x400,this[_0x4a6a08(0xfd)]=!!_0x4cddb2,this[_0x4a6a08(0x11a)]=null,this[_0x4a6a08(0x19d)]=null,this[_0x4a6a08(0x107)]=null,!_0x10f313){const _0x2941c9=this[_0x4a6a08(0x1c1)][_0x4a6a08(0x1a1)]!==void 0x0?this[_0x4a6a08(0x1c1)][_0x4a6a08(0x1a1)]:0xa;_0x10f313=new _0x222483(_0x2941c9);}}static get[_0x28d558(0x270)](){const _0x53496f=_0x28d558;return _0x53496f(0x135);}[_0x28d558(0x177)](){const _0xb5a2e2=_0x28d558,_0x48ecb2={};return this[_0xb5a2e2(0x1c1)][_0xb5a2e2(0x21a)]&&(_0x48ecb2[_0xb5a2e2(0x230)]=!0x0),this[_0xb5a2e2(0x1c1)][_0xb5a2e2(0xe9)]&&(_0x48ecb2[_0xb5a2e2(0x21f)]=!0x0),this['_options'][_0xb5a2e2(0x13a)]&&(_0x48ecb2[_0xb5a2e2(0x265)]=this['_options'][_0xb5a2e2(0x13a)]),this[_0xb5a2e2(0x1c1)][_0xb5a2e2(0x269)]?_0x48ecb2[_0xb5a2e2(0x16d)]=this[_0xb5a2e2(0x1c1)][_0xb5a2e2(0x269)]:this['_options']['clientMaxWindowBits']==null&&(_0x48ecb2[_0xb5a2e2(0x16d)]=!0x0),_0x48ecb2;}[_0x28d558(0x27c)](_0x359d3b){const _0x2ff52c=_0x28d558;return _0x359d3b=this[_0x2ff52c(0x119)](_0x359d3b),this['params']=this['_isServer']?this[_0x2ff52c(0x10b)](_0x359d3b):this[_0x2ff52c(0x25a)](_0x359d3b),this[_0x2ff52c(0x107)];}[_0x28d558(0xca)](){const _0x410dce=_0x28d558;if(this[_0x410dce(0x19d)]&&(this[_0x410dce(0x19d)]['close'](),this['_inflate']=null),this[_0x410dce(0x11a)]){const _0x12c69b=this[_0x410dce(0x11a)][_0xd33647];this[_0x410dce(0x11a)][_0x410dce(0x1dd)](),this['_deflate']=null,_0x12c69b&&_0x12c69b(new Error(_0x410dce(0x15b)));}}[_0x28d558(0x10b)](_0x326da1){const _0x5e5bd3=_0x28d558,_0x825960=this[_0x5e5bd3(0x1c1)],_0x813b5e=_0x326da1[_0x5e5bd3(0x1de)](_0x24aae1=>!(_0x825960[_0x5e5bd3(0x21a)]===!0x1&&_0x24aae1['server_no_context_takeover']||_0x24aae1[_0x5e5bd3(0x265)]&&(_0x825960[_0x5e5bd3(0x13a)]===!0x1||typeof _0x825960['serverMaxWindowBits']=='number'&&_0x825960[_0x5e5bd3(0x13a)]>_0x24aae1['server_max_window_bits'])||typeof _0x825960['clientMaxWindowBits']=='number'&&!_0x24aae1[_0x5e5bd3(0x16d)]));if(!_0x813b5e)throw new Error(_0x5e5bd3(0x198));return _0x825960[_0x5e5bd3(0x21a)]&&(_0x813b5e[_0x5e5bd3(0x230)]=!0x0),_0x825960[_0x5e5bd3(0xe9)]&&(_0x813b5e['client_no_context_takeover']=!0x0),typeof _0x825960[_0x5e5bd3(0x13a)]==_0x5e5bd3(0x1b6)&&(_0x813b5e[_0x5e5bd3(0x265)]=_0x825960[_0x5e5bd3(0x13a)]),typeof _0x825960[_0x5e5bd3(0x269)]==_0x5e5bd3(0x1b6)?_0x813b5e[_0x5e5bd3(0x16d)]=_0x825960[_0x5e5bd3(0x269)]:(_0x813b5e[_0x5e5bd3(0x16d)]===!0x0||_0x825960[_0x5e5bd3(0x269)]===!0x1)&&delete _0x813b5e[_0x5e5bd3(0x16d)],_0x813b5e;}[_0x28d558(0x25a)](_0xc36f1c){const _0xdafd1d=_0x28d558,_0x3ce465=_0xc36f1c[0x0];if(this[_0xdafd1d(0x1c1)]['clientNoContextTakeover']===!0x1&&_0x3ce465['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x3ce465[_0xdafd1d(0x16d)])typeof this['_options'][_0xdafd1d(0x269)]==_0xdafd1d(0x1b6)&&(_0x3ce465['client_max_window_bits']=this[_0xdafd1d(0x1c1)][_0xdafd1d(0x269)]);else{if(this[_0xdafd1d(0x1c1)][_0xdafd1d(0x269)]===!0x1||typeof this[_0xdafd1d(0x1c1)][_0xdafd1d(0x269)]==_0xdafd1d(0x1b6)&&_0x3ce465['client_max_window_bits']>this[_0xdafd1d(0x1c1)][_0xdafd1d(0x269)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3ce465;}['normalizeParams'](_0x14648a){return _0x14648a['forEach'](_0x1f961a=>{const _0x5f3e48=_0x401c;Object['keys'](_0x1f961a)[_0x5f3e48(0x197)](_0x104825=>{const _0x341f64=_0x5f3e48;let _0xa3c110=_0x1f961a[_0x104825];if(_0xa3c110[_0x341f64(0xcb)]>0x1)throw new Error(_0x341f64(0xff)+_0x104825+_0x341f64(0x24a));if(_0xa3c110=_0xa3c110[0x0],_0x104825===_0x341f64(0x16d)){if(_0xa3c110!==!0x0){const _0x158b0d=+_0xa3c110;if(!Number[_0x341f64(0x12c)](_0x158b0d)||_0x158b0d<0x8||_0x158b0d>0xf)throw new TypeError(_0x341f64(0x294)+_0x104825+_0x341f64(0xe4)+_0xa3c110);_0xa3c110=_0x158b0d;}else{if(!this[_0x341f64(0xfd)])throw new TypeError(_0x341f64(0x294)+_0x104825+'\x22:\x20'+_0xa3c110);}}else{if(_0x104825===_0x341f64(0x265)){const _0xead294=+_0xa3c110;if(!Number[_0x341f64(0x12c)](_0xead294)||_0xead294<0x8||_0xead294>0xf)throw new TypeError(_0x341f64(0x294)+_0x104825+_0x341f64(0xe4)+_0xa3c110);_0xa3c110=_0xead294;}else{if(_0x104825===_0x341f64(0x21f)||_0x104825===_0x341f64(0x230)){if(_0xa3c110!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x104825+'\x22:\x20'+_0xa3c110);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x104825+'\x22');}}_0x1f961a[_0x104825]=_0xa3c110;});}),_0x14648a;}[_0x28d558(0x275)](_0x110c2f,_0x4cc0b3,_0x29634f){_0x10f313['add'](_0x4b131d=>{const _0x5297a9=_0x401c;this[_0x5297a9(0x237)](_0x110c2f,_0x4cc0b3,(_0x32e66a,_0x17993e)=>{_0x4b131d(),_0x29634f(_0x32e66a,_0x17993e);});});}[_0x28d558(0x106)](_0x398edf,_0x2005c3,_0x426e1c){_0x10f313['add'](_0x4f1cba=>{const _0x3091f2=_0x401c;this[_0x3091f2(0x1f7)](_0x398edf,_0x2005c3,(_0x45da0d,_0xc07659)=>{_0x4f1cba(),_0x426e1c(_0x45da0d,_0xc07659);});});}['_decompress'](_0x528393,_0x2286d2,_0x598d1b){const _0x175282=_0x28d558,_0x29e919=this[_0x175282(0xfd)]?_0x175282(0x13b):_0x175282(0xd9);if(!this[_0x175282(0x19d)]){const _0x1c67ff=_0x29e919+'_max_window_bits',_0x41c37a=typeof this[_0x175282(0x107)][_0x1c67ff]!=_0x175282(0x1b6)?_0x3e4b7a[_0x175282(0xfc)]:this['params'][_0x1c67ff];this[_0x175282(0x19d)]=_0x3e4b7a[_0x175282(0xe5)]({...this[_0x175282(0x1c1)][_0x175282(0x1ee)],'windowBits':_0x41c37a}),this['_inflate'][_0x4d122f]=this,this[_0x175282(0x19d)][_0x4e9d89]=0x0,this['_inflate'][_0x2aeb46]=[],this[_0x175282(0x19d)]['on'](_0x175282(0x180),_0x1d03aa),this[_0x175282(0x19d)]['on']('data',_0x3dcb56);}this['_inflate'][_0xd33647]=_0x598d1b,this[_0x175282(0x19d)][_0x175282(0x1e7)](_0x528393),_0x2286d2&&this[_0x175282(0x19d)]['write'](_0x1591c4),this[_0x175282(0x19d)][_0x175282(0xf7)](()=>{const _0x154981=_0x175282,_0xf6b801=this['_inflate'][_0x18b67b];if(_0xf6b801){this[_0x154981(0x19d)]['close'](),this[_0x154981(0x19d)]=null,_0x598d1b(_0xf6b801);return;}const _0x12226a=_0x3deefa[_0x154981(0x1f5)](this[_0x154981(0x19d)][_0x2aeb46],this[_0x154981(0x19d)][_0x4e9d89]);this[_0x154981(0x19d)]['_readableState'][_0x154981(0x146)]?(this[_0x154981(0x19d)][_0x154981(0x1dd)](),this['_inflate']=null):(this[_0x154981(0x19d)][_0x4e9d89]=0x0,this['_inflate'][_0x2aeb46]=[],_0x2286d2&&this[_0x154981(0x107)][_0x29e919+_0x154981(0x104)]&&this[_0x154981(0x19d)][_0x154981(0x25b)]()),_0x598d1b(null,_0x12226a);});}[_0x28d558(0x1f7)](_0x22e7b4,_0x1ae226,_0x487d61){const _0x3d4bcb=_0x28d558,_0x23b989=this[_0x3d4bcb(0xfd)]?_0x3d4bcb(0xd9):_0x3d4bcb(0x13b);if(!this[_0x3d4bcb(0x11a)]){const _0x4971e3=_0x23b989+_0x3d4bcb(0x257),_0x188657=typeof this[_0x3d4bcb(0x107)][_0x4971e3]!=_0x3d4bcb(0x1b6)?_0x3e4b7a['Z_DEFAULT_WINDOWBITS']:this['params'][_0x4971e3];this['_deflate']=_0x3e4b7a[_0x3d4bcb(0x1c7)]({...this[_0x3d4bcb(0x1c1)][_0x3d4bcb(0x109)],'windowBits':_0x188657}),this[_0x3d4bcb(0x11a)][_0x4e9d89]=0x0,this[_0x3d4bcb(0x11a)][_0x2aeb46]=[],this[_0x3d4bcb(0x11a)]['on'](_0x3d4bcb(0x1ab),_0x127bc2);}this['_deflate'][_0xd33647]=_0x487d61,this[_0x3d4bcb(0x11a)][_0x3d4bcb(0x1e7)](_0x22e7b4),this[_0x3d4bcb(0x11a)][_0x3d4bcb(0xf7)](_0x3e4b7a[_0x3d4bcb(0x176)],()=>{const _0x2dfb22=_0x3d4bcb;if(!this[_0x2dfb22(0x11a)])return;let _0x565510=_0x3deefa['concat'](this[_0x2dfb22(0x11a)][_0x2aeb46],this['_deflate'][_0x4e9d89]);_0x1ae226&&(_0x565510=new _0x5b4f2f(_0x565510['buffer'],_0x565510['byteOffset'],_0x565510[_0x2dfb22(0xcb)]-0x4)),this['_deflate'][_0xd33647]=null,this['_deflate'][_0x4e9d89]=0x0,this[_0x2dfb22(0x11a)][_0x2aeb46]=[],_0x1ae226&&this[_0x2dfb22(0x107)][_0x23b989+_0x2dfb22(0x104)]&&this[_0x2dfb22(0x11a)][_0x2dfb22(0x25b)](),_0x487d61(null,_0x565510);});}}ve=_0x57db21;function _0x127bc2(_0x3db131){const _0x1f6b32=_0x28d558;this[_0x2aeb46][_0x1f6b32(0x12f)](_0x3db131),this[_0x4e9d89]+=_0x3db131[_0x1f6b32(0xcb)];}function _0x3dcb56(_0x40a0ad){const _0x183827=_0x28d558;if(this[_0x4e9d89]+=_0x40a0ad[_0x183827(0xcb)],this[_0x4d122f][_0x183827(0xef)]<0x1||this[_0x4e9d89]<=this[_0x4d122f][_0x183827(0xef)]){this[_0x2aeb46][_0x183827(0x12f)](_0x40a0ad);return;}this[_0x18b67b]=new RangeError(_0x183827(0x281)),this[_0x18b67b][_0x183827(0xd7)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x18b67b][_0x1f3597]=0x3f1,this[_0x183827(0x1bb)](_0x183827(0x1ab),_0x3dcb56),this['reset']();}function _0x1d03aa(_0x71372e){const _0x4b2955=_0x28d558;if(this[_0x4d122f][_0x4b2955(0x19d)]=null,this[_0x18b67b]){this[_0xd33647](this[_0x18b67b]);return;}_0x71372e[_0x1f3597]=0x3ef,this[_0xd33647](_0x71372e);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x3b8394(0x1e4)]({'__proto__':null,'default':Dt},Symbol[_0x3b8394(0x1d1)],{'value':_0x3b8394(0x206)})),Bt=at(Rt);var Ye;function ae(){const _0x359ae5=_0x3b8394;if(Ye)return ie[_0x359ae5(0x1df)];Ye=0x1;const {isUtf8:_0x285d71}=wt,{hasBlob:_0x3619ff}=H(),_0x2294c0=[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 _0x254b7c(_0x541767){return _0x541767>=0x3e8&&_0x541767<=0x3f6&&_0x541767!==0x3ec&&_0x541767!==0x3ed&&_0x541767!==0x3ee||_0x541767>=0xbb8&&_0x541767<=0x1387;}function _0x190b52(_0x526ccd){const _0x3317db=_0x359ae5,_0x36671c=_0x526ccd[_0x3317db(0xcb)];let _0x27dad8=0x0;for(;_0x27dad8<_0x36671c;)if((_0x526ccd[_0x27dad8]&0x80)===0x0)_0x27dad8++;else{if((_0x526ccd[_0x27dad8]&0xe0)===0xc0){if(_0x27dad8+0x1===_0x36671c||(_0x526ccd[_0x27dad8+0x1]&0xc0)!==0x80||(_0x526ccd[_0x27dad8]&0xfe)===0xc0)return!0x1;_0x27dad8+=0x2;}else{if((_0x526ccd[_0x27dad8]&0xf0)===0xe0){if(_0x27dad8+0x2>=_0x36671c||(_0x526ccd[_0x27dad8+0x1]&0xc0)!==0x80||(_0x526ccd[_0x27dad8+0x2]&0xc0)!==0x80||_0x526ccd[_0x27dad8]===0xe0&&(_0x526ccd[_0x27dad8+0x1]&0xe0)===0x80||_0x526ccd[_0x27dad8]===0xed&&(_0x526ccd[_0x27dad8+0x1]&0xe0)===0xa0)return!0x1;_0x27dad8+=0x3;}else{if((_0x526ccd[_0x27dad8]&0xf8)===0xf0){if(_0x27dad8+0x3>=_0x36671c||(_0x526ccd[_0x27dad8+0x1]&0xc0)!==0x80||(_0x526ccd[_0x27dad8+0x2]&0xc0)!==0x80||(_0x526ccd[_0x27dad8+0x3]&0xc0)!==0x80||_0x526ccd[_0x27dad8]===0xf0&&(_0x526ccd[_0x27dad8+0x1]&0xf0)===0x80||_0x526ccd[_0x27dad8]===0xf4&&_0x526ccd[_0x27dad8+0x1]>0x8f||_0x526ccd[_0x27dad8]>0xf4)return!0x1;_0x27dad8+=0x4;}else return!0x1;}}}return!0x0;}function _0x31e3e6(_0x1bc4a6){const _0x3d53ef=_0x359ae5;return _0x3619ff&&typeof _0x1bc4a6==_0x3d53ef(0x24f)&&typeof _0x1bc4a6[_0x3d53ef(0x1d4)]==_0x3d53ef(0x214)&&typeof _0x1bc4a6['type']==_0x3d53ef(0x21d)&&typeof _0x1bc4a6['stream']==_0x3d53ef(0x214)&&(_0x1bc4a6[Symbol[_0x3d53ef(0x1d1)]]===_0x3d53ef(0x175)||_0x1bc4a6[Symbol[_0x3d53ef(0x1d1)]]===_0x3d53ef(0x23b));}if(ie[_0x359ae5(0x1df)]={'isBlob':_0x31e3e6,'isValidStatusCode':_0x254b7c,'isValidUTF8':_0x190b52,'tokenChars':_0x2294c0},_0x285d71)ie[_0x359ae5(0x1df)][_0x359ae5(0x23e)]=function(_0x16a8e9){const _0x242db2=_0x359ae5;return _0x16a8e9[_0x242db2(0xcb)]<0x18?_0x190b52(_0x16a8e9):_0x285d71(_0x16a8e9);};else{if(!process[_0x359ae5(0x190)][_0x359ae5(0x18a)])try{const _0x53ddd0=Bt;ie[_0x359ae5(0x1df)]['isValidUTF8']=function(_0x349602){return _0x349602['length']<0x20?_0x190b52(_0x349602):_0x53ddd0(_0x349602);};}catch{}}return ie[_0x359ae5(0x1df)];}var Se,Ke;function lt(){const _0x39aa92=_0x3b8394;if(Ke)return Se;Ke=0x1;const {Writable:_0x73f9a9}=oe,_0xee4682=he(),{BINARY_TYPES:_0x539015,EMPTY_BUFFER:_0x5253e9,kStatusCode:_0xf5c2a8,kWebSocket:_0x12eab7}=H(),{concat:_0x3e80a9,toArrayBuffer:_0x3f8726,unmask:_0x292c33}=ce(),{isValidStatusCode:_0x2c93f1,isValidUTF8:_0x5e845b}=ae(),_0x1ff808=Buffer[Symbol[_0x39aa92(0x1c8)]],_0x139504=0x0,_0x3001f5=0x1,_0x58365b=0x2,_0x844d08=0x3,_0x33350d=0x4,_0xe0ee88=0x5,_0x2768bc=0x6;class _0x2ede5f extends _0x73f9a9{constructor(_0xdaf42e={}){const _0x52d35b=_0x39aa92;super(),this[_0x52d35b(0x179)]=_0xdaf42e[_0x52d35b(0x1b9)]!==void 0x0?_0xdaf42e[_0x52d35b(0x1b9)]:!0x0,this[_0x52d35b(0x207)]=_0xdaf42e[_0x52d35b(0x1ed)]||_0x539015[0x0],this[_0x52d35b(0x133)]=_0xdaf42e['extensions']||{},this[_0x52d35b(0xfd)]=!!_0xdaf42e[_0x52d35b(0x295)],this[_0x52d35b(0xef)]=_0xdaf42e[_0x52d35b(0x15e)]|0x0,this[_0x52d35b(0x1bd)]=!!_0xdaf42e[_0x52d35b(0x1ef)],this[_0x12eab7]=void 0x0,this[_0x52d35b(0x280)]=0x0,this[_0x52d35b(0x226)]=[],this[_0x52d35b(0x163)]=!0x1,this[_0x52d35b(0x251)]=0x0,this[_0x52d35b(0x1e8)]=void 0x0,this[_0x52d35b(0x28d)]=0x0,this['_masked']=!0x1,this[_0x52d35b(0x150)]=!0x1,this['_opcode']=0x0,this[_0x52d35b(0x186)]=0x0,this['_messageLength']=0x0,this[_0x52d35b(0x11e)]=[],this['_errored']=!0x1,this[_0x52d35b(0x1b1)]=!0x1,this['_state']=_0x139504;}['_write'](_0x53c9da,_0x6412cf,_0x57ea64){const _0x157625=_0x39aa92;if(this[_0x157625(0x144)]===0x8&&this[_0x157625(0x151)]==_0x139504)return _0x57ea64();this['_bufferedBytes']+=_0x53c9da['length'],this[_0x157625(0x226)][_0x157625(0x12f)](_0x53c9da),this[_0x157625(0x14e)](_0x57ea64);}[_0x39aa92(0x1eb)](_0x3cfb49){const _0x3177e9=_0x39aa92;if(this[_0x3177e9(0x280)]-=_0x3cfb49,_0x3cfb49===this[_0x3177e9(0x226)][0x0][_0x3177e9(0xcb)])return this[_0x3177e9(0x226)][_0x3177e9(0x1ba)]();if(_0x3cfb49<this[_0x3177e9(0x226)][0x0][_0x3177e9(0xcb)]){const _0x8a21b=this['_buffers'][0x0];return this[_0x3177e9(0x226)][0x0]=new _0x1ff808(_0x8a21b[_0x3177e9(0x1ac)],_0x8a21b[_0x3177e9(0xdd)]+_0x3cfb49,_0x8a21b[_0x3177e9(0xcb)]-_0x3cfb49),new _0x1ff808(_0x8a21b[_0x3177e9(0x1ac)],_0x8a21b[_0x3177e9(0xdd)],_0x3cfb49);}const _0x40e2a5=Buffer[_0x3177e9(0x1d5)](_0x3cfb49);do{const _0x313d47=this[_0x3177e9(0x226)][0x0],_0x449786=_0x40e2a5['length']-_0x3cfb49;_0x3cfb49>=_0x313d47[_0x3177e9(0xcb)]?_0x40e2a5[_0x3177e9(0x252)](this[_0x3177e9(0x226)][_0x3177e9(0x1ba)](),_0x449786):(_0x40e2a5['set'](new Uint8Array(_0x313d47[_0x3177e9(0x1ac)],_0x313d47[_0x3177e9(0xdd)],_0x3cfb49),_0x449786),this[_0x3177e9(0x226)][0x0]=new _0x1ff808(_0x313d47[_0x3177e9(0x1ac)],_0x313d47['byteOffset']+_0x3cfb49,_0x313d47[_0x3177e9(0xcb)]-_0x3cfb49)),_0x3cfb49-=_0x313d47[_0x3177e9(0xcb)];}while(_0x3cfb49>0x0);return _0x40e2a5;}['startLoop'](_0x428a2c){const _0x2b09a3=_0x39aa92;this['_loop']=!0x0;do switch(this[_0x2b09a3(0x151)]){case _0x139504:this[_0x2b09a3(0x1cb)](_0x428a2c);break;case _0x3001f5:this['getPayloadLength16'](_0x428a2c);break;case _0x58365b:this[_0x2b09a3(0x105)](_0x428a2c);break;case _0x844d08:this['getMask']();break;case _0x33350d:this[_0x2b09a3(0xdf)](_0x428a2c);break;case _0xe0ee88:case _0x2768bc:this[_0x2b09a3(0x1b1)]=!0x1;return;}while(this[_0x2b09a3(0x1b1)]);this[_0x2b09a3(0x140)]||_0x428a2c();}[_0x39aa92(0x1cb)](_0x22b8a0){const _0x1333bb=_0x39aa92;if(this[_0x1333bb(0x280)]<0x2){this[_0x1333bb(0x1b1)]=!0x1;return;}const _0x433e27=this[_0x1333bb(0x1eb)](0x2);if((_0x433e27[0x0]&0x30)!==0x0){const _0xa95353=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0xe8),!0x0,0x3ea,_0x1333bb(0x1e6));_0x22b8a0(_0xa95353);return;}const _0x3c6269=(_0x433e27[0x0]&0x40)===0x40;if(_0x3c6269&&!this[_0x1333bb(0x133)][_0xee4682[_0x1333bb(0x270)]]){const _0x2c999b=this[_0x1333bb(0x286)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22b8a0(_0x2c999b);return;}if(this[_0x1333bb(0x150)]=(_0x433e27[0x0]&0x80)===0x80,this[_0x1333bb(0x144)]=_0x433e27[0x0]&0xf,this[_0x1333bb(0x251)]=_0x433e27[0x1]&0x7f,this[_0x1333bb(0x144)]===0x0){if(_0x3c6269){const _0x52aced=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0x22c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22b8a0(_0x52aced);return;}if(!this[_0x1333bb(0x28d)]){const _0x3e28cc=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0x1f4),!0x0,0x3ea,_0x1333bb(0x279));_0x22b8a0(_0x3e28cc);return;}this[_0x1333bb(0x144)]=this[_0x1333bb(0x28d)];}else{if(this[_0x1333bb(0x144)]===0x1||this[_0x1333bb(0x144)]===0x2){if(this[_0x1333bb(0x28d)]){const _0x2b0ba6=this['createError'](RangeError,_0x1333bb(0x187)+this[_0x1333bb(0x144)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x22b8a0(_0x2b0ba6);return;}this['_compressed']=_0x3c6269;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x1333bb(0x150)]){const _0xca451b=this[_0x1333bb(0x286)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1333bb(0x28f));_0x22b8a0(_0xca451b);return;}if(_0x3c6269){const _0x1d1c9f=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0x22c),!0x0,0x3ea,_0x1333bb(0x10a));_0x22b8a0(_0x1d1c9f);return;}if(this[_0x1333bb(0x251)]>0x7d||this['_opcode']===0x8&&this[_0x1333bb(0x251)]===0x1){const _0xb1063b=this[_0x1333bb(0x286)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x1333bb(0x251)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x22b8a0(_0xb1063b);return;}}else{const _0x3eae5d=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0x187)+this['_opcode'],!0x0,0x3ea,_0x1333bb(0x279));_0x22b8a0(_0x3eae5d);return;}}}if(!this[_0x1333bb(0x150)]&&!this[_0x1333bb(0x28d)]&&(this[_0x1333bb(0x28d)]=this[_0x1333bb(0x144)]),this[_0x1333bb(0x24d)]=(_0x433e27[0x1]&0x80)===0x80,this[_0x1333bb(0xfd)]){if(!this[_0x1333bb(0x24d)]){const _0x8b3168=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0xd8),!0x0,0x3ea,_0x1333bb(0x285));_0x22b8a0(_0x8b3168);return;}}else{if(this[_0x1333bb(0x24d)]){const _0x584128=this['createError'](RangeError,_0x1333bb(0x168),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x22b8a0(_0x584128);return;}}this[_0x1333bb(0x251)]===0x7e?this[_0x1333bb(0x151)]=_0x3001f5:this[_0x1333bb(0x251)]===0x7f?this['_state']=_0x58365b:this[_0x1333bb(0x23f)](_0x22b8a0);}[_0x39aa92(0x185)](_0x4fe436){const _0x60e44b=_0x39aa92;if(this['_bufferedBytes']<0x2){this[_0x60e44b(0x1b1)]=!0x1;return;}this[_0x60e44b(0x251)]=this['consume'](0x2)[_0x60e44b(0xdb)](0x0),this[_0x60e44b(0x23f)](_0x4fe436);}[_0x39aa92(0x105)](_0x4381ab){const _0x359374=_0x39aa92;if(this['_bufferedBytes']<0x8){this[_0x359374(0x1b1)]=!0x1;return;}const _0x53daf3=this[_0x359374(0x1eb)](0x8),_0x4cdd59=_0x53daf3[_0x359374(0x217)](0x0);if(_0x4cdd59>Math[_0x359374(0x1ec)](0x2,0x15)-0x1){const _0x16f6f8=this['createError'](RangeError,_0x359374(0x249),!0x1,0x3f1,_0x359374(0x1ff));_0x4381ab(_0x16f6f8);return;}this[_0x359374(0x251)]=_0x4cdd59*Math[_0x359374(0x1ec)](0x2,0x20)+_0x53daf3[_0x359374(0x217)](0x4),this[_0x359374(0x23f)](_0x4381ab);}[_0x39aa92(0x23f)](_0x46a9c8){const _0x30d26d=_0x39aa92;if(this['_payloadLength']&&this[_0x30d26d(0x144)]<0x8&&(this[_0x30d26d(0x186)]+=this[_0x30d26d(0x251)],this[_0x30d26d(0x186)]>this['_maxPayload']&&this[_0x30d26d(0xef)]>0x0)){const _0x520d1a=this['createError'](RangeError,_0x30d26d(0x281),!0x1,0x3f1,_0x30d26d(0x1f9));_0x46a9c8(_0x520d1a);return;}this[_0x30d26d(0x24d)]?this[_0x30d26d(0x151)]=_0x844d08:this[_0x30d26d(0x151)]=_0x33350d;}[_0x39aa92(0x194)](){const _0x43bb8a=_0x39aa92;if(this[_0x43bb8a(0x280)]<0x4){this[_0x43bb8a(0x1b1)]=!0x1;return;}this[_0x43bb8a(0x1e8)]=this[_0x43bb8a(0x1eb)](0x4),this[_0x43bb8a(0x151)]=_0x33350d;}[_0x39aa92(0xdf)](_0x51c5d9){const _0x385b83=_0x39aa92;let _0x1941db=_0x5253e9;if(this[_0x385b83(0x251)]){if(this['_bufferedBytes']<this[_0x385b83(0x251)]){this[_0x385b83(0x1b1)]=!0x1;return;}_0x1941db=this[_0x385b83(0x1eb)](this['_payloadLength']),this[_0x385b83(0x24d)]&&(this[_0x385b83(0x1e8)][0x0]|this[_0x385b83(0x1e8)][0x1]|this[_0x385b83(0x1e8)][0x2]|this[_0x385b83(0x1e8)][0x3])!==0x0&&_0x292c33(_0x1941db,this['_mask']);}if(this['_opcode']>0x7){this[_0x385b83(0x1a6)](_0x1941db,_0x51c5d9);return;}if(this['_compressed']){this[_0x385b83(0x151)]=_0xe0ee88,this[_0x385b83(0x275)](_0x1941db,_0x51c5d9);return;}_0x1941db[_0x385b83(0xcb)]&&(this[_0x385b83(0x1d8)]=this[_0x385b83(0x186)],this[_0x385b83(0x11e)]['push'](_0x1941db)),this['dataMessage'](_0x51c5d9);}[_0x39aa92(0x275)](_0x29dc08,_0xfbeb30){const _0x2c35c3=_0x39aa92;this[_0x2c35c3(0x133)][_0xee4682['extensionName']][_0x2c35c3(0x275)](_0x29dc08,this[_0x2c35c3(0x150)],(_0x5d1736,_0x15f860)=>{const _0x1ff335=_0x2c35c3;if(_0x5d1736)return _0xfbeb30(_0x5d1736);if(_0x15f860['length']){if(this[_0x1ff335(0x1d8)]+=_0x15f860[_0x1ff335(0xcb)],this[_0x1ff335(0x1d8)]>this[_0x1ff335(0xef)]&&this[_0x1ff335(0xef)]>0x0){const _0x2c4343=this[_0x1ff335(0x286)](RangeError,_0x1ff335(0x281),!0x1,0x3f1,_0x1ff335(0x1f9));_0xfbeb30(_0x2c4343);return;}this[_0x1ff335(0x11e)][_0x1ff335(0x12f)](_0x15f860);}this[_0x1ff335(0x27b)](_0xfbeb30),this[_0x1ff335(0x151)]===_0x139504&&this[_0x1ff335(0x14e)](_0xfbeb30);});}['dataMessage'](_0x204770){const _0x3256ef=_0x39aa92;if(!this['_fin']){this[_0x3256ef(0x151)]=_0x139504;return;}const _0x29118e=this['_messageLength'],_0x3beaed=this[_0x3256ef(0x11e)];if(this[_0x3256ef(0x186)]=0x0,this[_0x3256ef(0x1d8)]=0x0,this[_0x3256ef(0x28d)]=0x0,this[_0x3256ef(0x11e)]=[],this[_0x3256ef(0x144)]===0x2){let _0x5673a7;this[_0x3256ef(0x207)]==='nodebuffer'?_0x5673a7=_0x3e80a9(_0x3beaed,_0x29118e):this[_0x3256ef(0x207)]==='arraybuffer'?_0x5673a7=_0x3f8726(_0x3e80a9(_0x3beaed,_0x29118e)):this[_0x3256ef(0x207)]==='blob'?_0x5673a7=new Blob(_0x3beaed):_0x5673a7=_0x3beaed,this[_0x3256ef(0x179)]?(this[_0x3256ef(0x121)]('message',_0x5673a7,!0x0),this[_0x3256ef(0x151)]=_0x139504):(this['_state']=_0x2768bc,setImmediate(()=>{const _0x50cd3d=_0x3256ef;this['emit'](_0x50cd3d(0x248),_0x5673a7,!0x0),this['_state']=_0x139504,this['startLoop'](_0x204770);}));}else{const _0x3ffd2d=_0x3e80a9(_0x3beaed,_0x29118e);if(!this[_0x3256ef(0x1bd)]&&!_0x5e845b(_0x3ffd2d)){const _0x26522e=this[_0x3256ef(0x286)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3256ef(0x181));_0x204770(_0x26522e);return;}this[_0x3256ef(0x151)]===_0xe0ee88||this['_allowSynchronousEvents']?(this[_0x3256ef(0x121)](_0x3256ef(0x248),_0x3ffd2d,!0x1),this['_state']=_0x139504):(this[_0x3256ef(0x151)]=_0x2768bc,setImmediate(()=>{const _0x19ef23=_0x3256ef;this[_0x19ef23(0x121)](_0x19ef23(0x248),_0x3ffd2d,!0x1),this[_0x19ef23(0x151)]=_0x139504,this['startLoop'](_0x204770);}));}}[_0x39aa92(0x1a6)](_0x9d57b6,_0x168c21){const _0x27a29a=_0x39aa92;if(this[_0x27a29a(0x144)]===0x8){if(_0x9d57b6[_0x27a29a(0xcb)]===0x0)this[_0x27a29a(0x1b1)]=!0x1,this[_0x27a29a(0x121)](_0x27a29a(0x26f),0x3ed,_0x5253e9),this[_0x27a29a(0x1fd)]();else{const _0x434ffb=_0x9d57b6[_0x27a29a(0xdb)](0x0);if(!_0x2c93f1(_0x434ffb)){const _0x31ca7f=this[_0x27a29a(0x286)](RangeError,_0x27a29a(0x14d)+_0x434ffb,!0x0,0x3ea,_0x27a29a(0x164));_0x168c21(_0x31ca7f);return;}const _0x1fb2b8=new _0x1ff808(_0x9d57b6[_0x27a29a(0x1ac)],_0x9d57b6[_0x27a29a(0xdd)]+0x2,_0x9d57b6[_0x27a29a(0xcb)]-0x2);if(!this[_0x27a29a(0x1bd)]&&!_0x5e845b(_0x1fb2b8)){const _0x103f6c=this[_0x27a29a(0x286)](Error,_0x27a29a(0x1ce),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x168c21(_0x103f6c);return;}this['_loop']=!0x1,this[_0x27a29a(0x121)]('conclude',_0x434ffb,_0x1fb2b8),this['end']();}this['_state']=_0x139504;return;}this[_0x27a29a(0x179)]?(this[_0x27a29a(0x121)](this[_0x27a29a(0x144)]===0x9?_0x27a29a(0x1d2):_0x27a29a(0x1e9),_0x9d57b6),this[_0x27a29a(0x151)]=_0x139504):(this[_0x27a29a(0x151)]=_0x2768bc,setImmediate(()=>{const _0x2d69fc=_0x27a29a;this[_0x2d69fc(0x121)](this[_0x2d69fc(0x144)]===0x9?_0x2d69fc(0x1d2):_0x2d69fc(0x1e9),_0x9d57b6),this[_0x2d69fc(0x151)]=_0x139504,this[_0x2d69fc(0x14e)](_0x168c21);}));}[_0x39aa92(0x286)](_0x32802c,_0x4ff033,_0x25a4d1,_0x1a057d,_0x5c05c0){const _0x5686d0=_0x39aa92;this['_loop']=!0x1,this[_0x5686d0(0x140)]=!0x0;const _0x185738=new _0x32802c(_0x25a4d1?_0x5686d0(0x101)+_0x4ff033:_0x4ff033);return Error[_0x5686d0(0x246)](_0x185738,this[_0x5686d0(0x286)]),_0x185738[_0x5686d0(0xd7)]=_0x5c05c0,_0x185738[_0xf5c2a8]=_0x1a057d,_0x185738;}}return Se=_0x2ede5f,Se;}var Ee,Xe;function ft(){const _0x30f73c=_0x3b8394;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x38ffdb}=oe,{randomFillSync:_0xf71cdd}=Le,_0x52ec2a=he(),{EMPTY_BUFFER:_0x22c76c,kWebSocket:_0x1cd22e,NOOP:_0x867f5}=H(),{isBlob:_0x2c743b,isValidStatusCode:_0x492877}=ae(),{mask:_0x42ebca,toBuffer:_0x5f0694}=ce(),_0x41fb1c=Symbol(_0x30f73c(0x161)),_0x3c0752=Buffer[_0x30f73c(0x232)](0x4),_0xec855f=0x8*0x400;let _0x5ef365,_0x57865d=_0xec855f;const _0x21b87b=0x0,_0x546e4b=0x1,_0xc146dd=0x2;class _0x42a020{constructor(_0x43c1a4,_0x467c03,_0x16d605){const _0x6bdee=_0x30f73c;this[_0x6bdee(0x133)]=_0x467c03||{},_0x16d605&&(this[_0x6bdee(0x227)]=_0x16d605,this[_0x6bdee(0x16c)]=Buffer['alloc'](0x4)),this['_socket']=_0x43c1a4,this['_firstFragment']=!0x0,this[_0x6bdee(0x1f7)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x6bdee(0x151)]=_0x21b87b,this[_0x6bdee(0x287)]=_0x867f5,this[_0x1cd22e]=void 0x0;}static[_0x30f73c(0x20d)](_0x26216e,_0x3788dc){const _0x117fa1=_0x30f73c;let _0x1987dd,_0x582f0a=!0x1,_0x37e4d1=0x2,_0x56e8d3=!0x1;_0x3788dc[_0x117fa1(0x282)]&&(_0x1987dd=_0x3788dc['maskBuffer']||_0x3c0752,_0x3788dc['generateMask']?_0x3788dc[_0x117fa1(0x125)](_0x1987dd):(_0x57865d===_0xec855f&&(_0x5ef365===void 0x0&&(_0x5ef365=Buffer[_0x117fa1(0x232)](_0xec855f)),_0xf71cdd(_0x5ef365,0x0,_0xec855f),_0x57865d=0x0),_0x1987dd[0x0]=_0x5ef365[_0x57865d++],_0x1987dd[0x1]=_0x5ef365[_0x57865d++],_0x1987dd[0x2]=_0x5ef365[_0x57865d++],_0x1987dd[0x3]=_0x5ef365[_0x57865d++]),_0x56e8d3=(_0x1987dd[0x0]|_0x1987dd[0x1]|_0x1987dd[0x2]|_0x1987dd[0x3])===0x0,_0x37e4d1=0x6);let _0x30031c;typeof _0x26216e==_0x117fa1(0x21d)?(!_0x3788dc[_0x117fa1(0x282)]||_0x56e8d3)&&_0x3788dc[_0x41fb1c]!==void 0x0?_0x30031c=_0x3788dc[_0x41fb1c]:(_0x26216e=Buffer[_0x117fa1(0x1b5)](_0x26216e),_0x30031c=_0x26216e[_0x117fa1(0xcb)]):(_0x30031c=_0x26216e['length'],_0x582f0a=_0x3788dc[_0x117fa1(0x282)]&&_0x3788dc[_0x117fa1(0x26a)]&&!_0x56e8d3);let _0x127f0b=_0x30031c;_0x30031c>=0x10000?(_0x37e4d1+=0x8,_0x127f0b=0x7f):_0x30031c>0x7d&&(_0x37e4d1+=0x2,_0x127f0b=0x7e);const _0x3b4309=Buffer[_0x117fa1(0x1d5)](_0x582f0a?_0x30031c+_0x37e4d1:_0x37e4d1);return _0x3b4309[0x0]=_0x3788dc[_0x117fa1(0xf0)]?_0x3788dc[_0x117fa1(0x293)]|0x80:_0x3788dc[_0x117fa1(0x293)],_0x3788dc['rsv1']&&(_0x3b4309[0x0]|=0x40),_0x3b4309[0x1]=_0x127f0b,_0x127f0b===0x7e?_0x3b4309[_0x117fa1(0x255)](_0x30031c,0x2):_0x127f0b===0x7f&&(_0x3b4309[0x2]=_0x3b4309[0x3]=0x0,_0x3b4309['writeUIntBE'](_0x30031c,0x4,0x6)),_0x3788dc[_0x117fa1(0x282)]?(_0x3b4309[0x1]|=0x80,_0x3b4309[_0x37e4d1-0x4]=_0x1987dd[0x0],_0x3b4309[_0x37e4d1-0x3]=_0x1987dd[0x1],_0x3b4309[_0x37e4d1-0x2]=_0x1987dd[0x2],_0x3b4309[_0x37e4d1-0x1]=_0x1987dd[0x3],_0x56e8d3?[_0x3b4309,_0x26216e]:_0x582f0a?(_0x42ebca(_0x26216e,_0x1987dd,_0x3b4309,_0x37e4d1,_0x30031c),[_0x3b4309]):(_0x42ebca(_0x26216e,_0x1987dd,_0x26216e,0x0,_0x30031c),[_0x3b4309,_0x26216e])):[_0x3b4309,_0x26216e];}['close'](_0x1719f4,_0x1e6285,_0x4f58a6,_0x2e834b){const _0x577c3e=_0x30f73c;let _0x29da72;if(_0x1719f4===void 0x0)_0x29da72=_0x22c76c;else{if(typeof _0x1719f4!=_0x577c3e(0x1b6)||!_0x492877(_0x1719f4))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1e6285===void 0x0||!_0x1e6285[_0x577c3e(0xcb)])_0x29da72=Buffer[_0x577c3e(0x1d5)](0x2),_0x29da72[_0x577c3e(0x255)](_0x1719f4,0x0);else{const _0x29488f=Buffer[_0x577c3e(0x1a5)](_0x1e6285);if(_0x29488f>0x7b)throw new RangeError(_0x577c3e(0x111));_0x29da72=Buffer[_0x577c3e(0x1d5)](0x2+_0x29488f),_0x29da72['writeUInt16BE'](_0x1719f4,0x0),typeof _0x1e6285==_0x577c3e(0x21d)?_0x29da72['write'](_0x1e6285,0x2):_0x29da72[_0x577c3e(0x252)](_0x1e6285,0x2);}}const _0x1cae8d={[_0x41fb1c]:_0x29da72[_0x577c3e(0xcb)],'fin':!0x0,'generateMask':this[_0x577c3e(0x227)],'mask':_0x4f58a6,'maskBuffer':this[_0x577c3e(0x16c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x577c3e(0x151)]!==_0x21b87b?this[_0x577c3e(0x253)]([this[_0x577c3e(0x139)],_0x29da72,!0x1,_0x1cae8d,_0x2e834b]):this['sendFrame'](_0x42a020[_0x577c3e(0x20d)](_0x29da72,_0x1cae8d),_0x2e834b);}[_0x30f73c(0x1d2)](_0x1e8622,_0x1d4213,_0x198e0e){const _0xaa4124=_0x30f73c;let _0x234c2b,_0x2c1c9f;if(typeof _0x1e8622==_0xaa4124(0x21d)?(_0x234c2b=Buffer['byteLength'](_0x1e8622),_0x2c1c9f=!0x1):_0x2c743b(_0x1e8622)?(_0x234c2b=_0x1e8622[_0xaa4124(0x184)],_0x2c1c9f=!0x1):(_0x1e8622=_0x5f0694(_0x1e8622),_0x234c2b=_0x1e8622[_0xaa4124(0xcb)],_0x2c1c9f=_0x5f0694[_0xaa4124(0x26a)]),_0x234c2b>0x7d)throw new RangeError(_0xaa4124(0x123));const _0x2810e9={[_0x41fb1c]:_0x234c2b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1d4213,'maskBuffer':this[_0xaa4124(0x16c)],'opcode':0x9,'readOnly':_0x2c1c9f,'rsv1':!0x1};_0x2c743b(_0x1e8622)?this[_0xaa4124(0x151)]!==_0x21b87b?this[_0xaa4124(0x253)]([this[_0xaa4124(0xcd)],_0x1e8622,!0x1,_0x2810e9,_0x198e0e]):this[_0xaa4124(0xcd)](_0x1e8622,!0x1,_0x2810e9,_0x198e0e):this[_0xaa4124(0x151)]!==_0x21b87b?this[_0xaa4124(0x253)]([this['dispatch'],_0x1e8622,!0x1,_0x2810e9,_0x198e0e]):this[_0xaa4124(0x272)](_0x42a020[_0xaa4124(0x20d)](_0x1e8622,_0x2810e9),_0x198e0e);}[_0x30f73c(0x1e9)](_0x48c794,_0x320817,_0x2fecd2){const _0x503cfe=_0x30f73c;let _0x1d467b,_0x1a07dc;if(typeof _0x48c794==_0x503cfe(0x21d)?(_0x1d467b=Buffer[_0x503cfe(0x1a5)](_0x48c794),_0x1a07dc=!0x1):_0x2c743b(_0x48c794)?(_0x1d467b=_0x48c794[_0x503cfe(0x184)],_0x1a07dc=!0x1):(_0x48c794=_0x5f0694(_0x48c794),_0x1d467b=_0x48c794[_0x503cfe(0xcb)],_0x1a07dc=_0x5f0694['readOnly']),_0x1d467b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x82b038={[_0x41fb1c]:_0x1d467b,'fin':!0x0,'generateMask':this[_0x503cfe(0x227)],'mask':_0x320817,'maskBuffer':this[_0x503cfe(0x16c)],'opcode':0xa,'readOnly':_0x1a07dc,'rsv1':!0x1};_0x2c743b(_0x48c794)?this[_0x503cfe(0x151)]!==_0x21b87b?this[_0x503cfe(0x253)]([this[_0x503cfe(0xcd)],_0x48c794,!0x1,_0x82b038,_0x2fecd2]):this['getBlobData'](_0x48c794,!0x1,_0x82b038,_0x2fecd2):this[_0x503cfe(0x151)]!==_0x21b87b?this[_0x503cfe(0x253)]([this[_0x503cfe(0x139)],_0x48c794,!0x1,_0x82b038,_0x2fecd2]):this[_0x503cfe(0x272)](_0x42a020['frame'](_0x48c794,_0x82b038),_0x2fecd2);}['send'](_0x18d4ba,_0x54582f,_0x521243){const _0x1d3ac4=_0x30f73c,_0x3a6ced=this[_0x1d3ac4(0x133)][_0x52ec2a[_0x1d3ac4(0x270)]];let _0x584bd0=_0x54582f['binary']?0x2:0x1,_0x475ea7=_0x54582f[_0x1d3ac4(0x106)],_0x10da4a,_0x17d382;typeof _0x18d4ba=='string'?(_0x10da4a=Buffer[_0x1d3ac4(0x1a5)](_0x18d4ba),_0x17d382=!0x1):_0x2c743b(_0x18d4ba)?(_0x10da4a=_0x18d4ba[_0x1d3ac4(0x184)],_0x17d382=!0x1):(_0x18d4ba=_0x5f0694(_0x18d4ba),_0x10da4a=_0x18d4ba[_0x1d3ac4(0xcb)],_0x17d382=_0x5f0694[_0x1d3ac4(0x26a)]),this[_0x1d3ac4(0xc8)]?(this[_0x1d3ac4(0xc8)]=!0x1,_0x475ea7&&_0x3a6ced&&_0x3a6ced[_0x1d3ac4(0x107)][_0x3a6ced[_0x1d3ac4(0xfd)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x475ea7=_0x10da4a>=_0x3a6ced[_0x1d3ac4(0x23c)]),this[_0x1d3ac4(0x1f7)]=_0x475ea7):(_0x475ea7=!0x1,_0x584bd0=0x0),_0x54582f[_0x1d3ac4(0xf0)]&&(this[_0x1d3ac4(0xc8)]=!0x0);const _0x31d554={[_0x41fb1c]:_0x10da4a,'fin':_0x54582f[_0x1d3ac4(0xf0)],'generateMask':this[_0x1d3ac4(0x227)],'mask':_0x54582f['mask'],'maskBuffer':this[_0x1d3ac4(0x16c)],'opcode':_0x584bd0,'readOnly':_0x17d382,'rsv1':_0x475ea7};_0x2c743b(_0x18d4ba)?this[_0x1d3ac4(0x151)]!==_0x21b87b?this['enqueue']([this[_0x1d3ac4(0xcd)],_0x18d4ba,this['_compress'],_0x31d554,_0x521243]):this[_0x1d3ac4(0xcd)](_0x18d4ba,this[_0x1d3ac4(0x1f7)],_0x31d554,_0x521243):this[_0x1d3ac4(0x151)]!==_0x21b87b?this[_0x1d3ac4(0x253)]([this[_0x1d3ac4(0x139)],_0x18d4ba,this[_0x1d3ac4(0x1f7)],_0x31d554,_0x521243]):this[_0x1d3ac4(0x139)](_0x18d4ba,this[_0x1d3ac4(0x1f7)],_0x31d554,_0x521243);}[_0x30f73c(0xcd)](_0x46a9fe,_0x27b1e0,_0x57c1c7,_0x5e9cab){const _0x221fb6=_0x30f73c;this[_0x221fb6(0x280)]+=_0x57c1c7[_0x41fb1c],this['_state']=_0xc146dd,_0x46a9fe[_0x221fb6(0x1d4)]()[_0x221fb6(0x100)](_0x442f22=>{const _0x45ae2a=_0x221fb6;if(this['_socket']['destroyed']){const _0xe55963=new Error(_0x45ae2a(0x183));process[_0x45ae2a(0x215)](_0x212567,this,_0xe55963,_0x5e9cab);return;}this[_0x45ae2a(0x280)]-=_0x57c1c7[_0x41fb1c];const _0x25aa4d=_0x5f0694(_0x442f22);_0x27b1e0?this[_0x45ae2a(0x139)](_0x25aa4d,_0x27b1e0,_0x57c1c7,_0x5e9cab):(this[_0x45ae2a(0x151)]=_0x21b87b,this[_0x45ae2a(0x272)](_0x42a020[_0x45ae2a(0x20d)](_0x25aa4d,_0x57c1c7),_0x5e9cab),this[_0x45ae2a(0x103)]());})[_0x221fb6(0x1c0)](_0x550964=>{const _0x3134ad=_0x221fb6;process[_0x3134ad(0x215)](_0x97feb0,this,_0x550964,_0x5e9cab);});}['dispatch'](_0x541335,_0x29cf8d,_0x322acc,_0x16ce12){const _0x2f0e36=_0x30f73c;if(!_0x29cf8d){this[_0x2f0e36(0x272)](_0x42a020[_0x2f0e36(0x20d)](_0x541335,_0x322acc),_0x16ce12);return;}const _0x27f489=this[_0x2f0e36(0x133)][_0x52ec2a[_0x2f0e36(0x270)]];this['_bufferedBytes']+=_0x322acc[_0x41fb1c],this[_0x2f0e36(0x151)]=_0x546e4b,_0x27f489[_0x2f0e36(0x106)](_0x541335,_0x322acc['fin'],(_0x519dbb,_0x5ff048)=>{const _0x13cc70=_0x2f0e36;if(this[_0x13cc70(0x172)][_0x13cc70(0x210)]){const _0x476bf7=new Error(_0x13cc70(0x26d));_0x212567(this,_0x476bf7,_0x16ce12);return;}this['_bufferedBytes']-=_0x322acc[_0x41fb1c],this[_0x13cc70(0x151)]=_0x21b87b,_0x322acc[_0x13cc70(0x26a)]=!0x1,this[_0x13cc70(0x272)](_0x42a020[_0x13cc70(0x20d)](_0x5ff048,_0x322acc),_0x16ce12),this[_0x13cc70(0x103)]();});}[_0x30f73c(0x103)](){const _0x8e560d=_0x30f73c;for(;this[_0x8e560d(0x151)]===_0x21b87b&&this[_0x8e560d(0x28e)][_0x8e560d(0xcb)];){const _0x25f47f=this[_0x8e560d(0x28e)][_0x8e560d(0x1ba)]();this[_0x8e560d(0x280)]-=_0x25f47f[0x3][_0x41fb1c],Reflect['apply'](_0x25f47f[0x0],this,_0x25f47f[_0x8e560d(0x271)](0x1));}}[_0x30f73c(0x253)](_0x1b5dca){const _0x590051=_0x30f73c;this[_0x590051(0x280)]+=_0x1b5dca[0x3][_0x41fb1c],this[_0x590051(0x28e)]['push'](_0x1b5dca);}['sendFrame'](_0x1f128a,_0x1f393c){const _0x14788c=_0x30f73c;_0x1f128a[_0x14788c(0xcb)]===0x2?(this[_0x14788c(0x172)][_0x14788c(0x225)](),this[_0x14788c(0x172)]['write'](_0x1f128a[0x0]),this[_0x14788c(0x172)][_0x14788c(0x1e7)](_0x1f128a[0x1],_0x1f393c),this[_0x14788c(0x172)][_0x14788c(0xd1)]()):this[_0x14788c(0x172)][_0x14788c(0x1e7)](_0x1f128a[0x0],_0x1f393c);}}Ee=_0x42a020;function _0x212567(_0x2176dc,_0x1719a7,_0x5ad5e5){const _0x303c44=_0x30f73c;typeof _0x5ad5e5==_0x303c44(0x214)&&_0x5ad5e5(_0x1719a7);for(let _0x16682f=0x0;_0x16682f<_0x2176dc['_queue'][_0x303c44(0xcb)];_0x16682f++){const _0x13caf5=_0x2176dc['_queue'][_0x16682f],_0x80e3c=_0x13caf5[_0x13caf5[_0x303c44(0xcb)]-0x1];typeof _0x80e3c=='function'&&_0x80e3c(_0x1719a7);}}function _0x97feb0(_0x580fea,_0x38d9f3,_0x29d122){const _0x241a3e=_0x30f73c;_0x212567(_0x580fea,_0x38d9f3,_0x29d122),_0x580fea[_0x241a3e(0x287)](_0x38d9f3);}return Ee;}var xe,Ze;function It(){const _0x55c3a3=_0x3b8394;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x415f9f,kListener:_0x110d78}=H(),_0x269b0b=Symbol(_0x55c3a3(0x18d)),_0x26b85b=Symbol('kData'),_0x16ca01=Symbol(_0x55c3a3(0x222)),_0xd88f1d=Symbol(_0x55c3a3(0x22b)),_0x3a83fa=Symbol('kReason'),_0xbe7df3=Symbol(_0x55c3a3(0x153)),_0x44390e=Symbol(_0x55c3a3(0x1a8)),_0x5bf8fd=Symbol(_0x55c3a3(0x108));class _0x2f925a{constructor(_0x59f338){this[_0xbe7df3]=null,this[_0x44390e]=_0x59f338;}get[_0x55c3a3(0x1c4)](){return this[_0xbe7df3];}get[_0x55c3a3(0xc6)](){return this[_0x44390e];}}Object[_0x55c3a3(0x1e4)](_0x2f925a[_0x55c3a3(0x22d)],_0x55c3a3(0x1c4),{'enumerable':!0x0}),Object[_0x55c3a3(0x1e4)](_0x2f925a[_0x55c3a3(0x22d)],'type',{'enumerable':!0x0});class _0x1a5c62 extends _0x2f925a{constructor(_0x162c85,_0x4323fb={}){const _0x20bd94=_0x55c3a3;super(_0x162c85),this[_0x269b0b]=_0x4323fb[_0x20bd94(0xd7)]===void 0x0?0x0:_0x4323fb[_0x20bd94(0xd7)],this[_0x3a83fa]=_0x4323fb[_0x20bd94(0x141)]===void 0x0?'':_0x4323fb[_0x20bd94(0x141)],this[_0x5bf8fd]=_0x4323fb[_0x20bd94(0x1be)]===void 0x0?!0x1:_0x4323fb[_0x20bd94(0x1be)];}get[_0x55c3a3(0xd7)](){return this[_0x269b0b];}get[_0x55c3a3(0x141)](){return this[_0x3a83fa];}get[_0x55c3a3(0x1be)](){return this[_0x5bf8fd];}}Object[_0x55c3a3(0x1e4)](_0x1a5c62[_0x55c3a3(0x22d)],_0x55c3a3(0xd7),{'enumerable':!0x0}),Object[_0x55c3a3(0x1e4)](_0x1a5c62['prototype'],_0x55c3a3(0x141),{'enumerable':!0x0}),Object[_0x55c3a3(0x1e4)](_0x1a5c62['prototype'],'wasClean',{'enumerable':!0x0});class _0x33179b extends _0x2f925a{constructor(_0x2ed450,_0x738bab={}){const _0x2a06a6=_0x55c3a3;super(_0x2ed450),this[_0x16ca01]=_0x738bab[_0x2a06a6(0x180)]===void 0x0?null:_0x738bab[_0x2a06a6(0x180)],this[_0xd88f1d]=_0x738bab[_0x2a06a6(0x248)]===void 0x0?'':_0x738bab[_0x2a06a6(0x248)];}get['error'](){return this[_0x16ca01];}get[_0x55c3a3(0x248)](){return this[_0xd88f1d];}}Object['defineProperty'](_0x33179b[_0x55c3a3(0x22d)],_0x55c3a3(0x180),{'enumerable':!0x0}),Object[_0x55c3a3(0x1e4)](_0x33179b[_0x55c3a3(0x22d)],_0x55c3a3(0x248),{'enumerable':!0x0});class _0x3b817f extends _0x2f925a{constructor(_0x10bafa,_0x422b36={}){const _0x27daa0=_0x55c3a3;super(_0x10bafa),this[_0x26b85b]=_0x422b36['data']===void 0x0?null:_0x422b36[_0x27daa0(0x1ab)];}get[_0x55c3a3(0x1ab)](){return this[_0x26b85b];}}Object[_0x55c3a3(0x1e4)](_0x3b817f[_0x55c3a3(0x22d)],_0x55c3a3(0x1ab),{'enumerable':!0x0}),xe={'CloseEvent':_0x1a5c62,'ErrorEvent':_0x33179b,'Event':_0x2f925a,'EventTarget':{'addEventListener'(_0x4f83bd,_0x23e729,_0x148a1b={}){const _0x5d6ff9=_0x55c3a3;for(const _0x194857 of this['listeners'](_0x4f83bd))if(!_0x148a1b[_0x415f9f]&&_0x194857[_0x110d78]===_0x23e729&&!_0x194857[_0x415f9f])return;let _0x30a592;if(_0x4f83bd===_0x5d6ff9(0x248))_0x30a592=function(_0x2edec7,_0x12f8c1){const _0x7622fc=_0x5d6ff9,_0x52f799=new _0x3b817f(_0x7622fc(0x248),{'data':_0x12f8c1?_0x2edec7:_0x2edec7['toString']()});_0x52f799[_0xbe7df3]=this,_0xaf1538(_0x23e729,this,_0x52f799);};else{if(_0x4f83bd===_0x5d6ff9(0x1dd))_0x30a592=function(_0x3a88f5,_0x57bc25){const _0x5af6a2=_0x5d6ff9,_0x2203ed=new _0x1a5c62(_0x5af6a2(0x1dd),{'code':_0x3a88f5,'reason':_0x57bc25[_0x5af6a2(0x244)](),'wasClean':this['_closeFrameReceived']&&this[_0x5af6a2(0x254)]});_0x2203ed[_0xbe7df3]=this,_0xaf1538(_0x23e729,this,_0x2203ed);};else{if(_0x4f83bd===_0x5d6ff9(0x180))_0x30a592=function(_0x3e0903){const _0x45edfc=_0x5d6ff9,_0x48541c=new _0x33179b(_0x45edfc(0x180),{'error':_0x3e0903,'message':_0x3e0903['message']});_0x48541c[_0xbe7df3]=this,_0xaf1538(_0x23e729,this,_0x48541c);};else{if(_0x4f83bd===_0x5d6ff9(0x1e5))_0x30a592=function(){const _0x6f54b8=_0x5d6ff9,_0x414f1f=new _0x2f925a(_0x6f54b8(0x1e5));_0x414f1f[_0xbe7df3]=this,_0xaf1538(_0x23e729,this,_0x414f1f);};else return;}}}_0x30a592[_0x415f9f]=!!_0x148a1b[_0x415f9f],_0x30a592[_0x110d78]=_0x23e729,_0x148a1b[_0x5d6ff9(0x1ae)]?this[_0x5d6ff9(0x1ae)](_0x4f83bd,_0x30a592):this['on'](_0x4f83bd,_0x30a592);},'removeEventListener'(_0x414c88,_0x264f34){const _0x1aa05a=_0x55c3a3;for(const _0x8ccb2c of this[_0x1aa05a(0xe1)](_0x414c88))if(_0x8ccb2c[_0x110d78]===_0x264f34&&!_0x8ccb2c[_0x415f9f]){this[_0x1aa05a(0x1bb)](_0x414c88,_0x8ccb2c);break;}}},'MessageEvent':_0x3b817f};function _0xaf1538(_0x102446,_0x591083,_0x199c61){const _0x52d903=_0x55c3a3;typeof _0x102446==_0x52d903(0x24f)&&_0x102446[_0x52d903(0x11f)]?_0x102446[_0x52d903(0x11f)]['call'](_0x102446,_0x199c61):_0x102446[_0x52d903(0xce)](_0x591083,_0x199c61);}return xe;}var be,Qe;function _0x5cb4(){const _0x44ecfd=['createDeflateRaw','species','NodeCollaborationSocketService','_paused','getInfo','\x20(supported\x20versions:\x20','_read','invalid\x20UTF-8\x20sequence','hasOwnProperty','WebSocket','toStringTag','ping','buffers','arrayBuffer','allocUnsafe','digest','kListener','_messageLength','sec-websocket-key','needDrain','unmask','setSocket','close','find','exports','listening','isPaused','DisposableCollection','host','defineProperty','open','WS_ERR_UNEXPECTED_RSV_2_3','write','_mask','pong','createSocket','consume','pow','binaryType','zlibInflateOptions','skipUTF8Validation','value','keys','upgrade','next','invalid\x20opcode\x200','concat','15VkKJYe','_compress','Disposable','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','pause','threshold','__esModule','end','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Sec-WebSocket-Extensions','servername','arraybuffer','warn','Basic\x20','7500470kIFNIm','Module','_binaryType','https','wss:','Unexpected\x20end\x20of\x20input','addEventListener','options','frame','clientTracking','Connection:\x20Upgrade','destroyed','nodebuffer','username','readyState','function','nextTick','default','readUInt32BE','_final','status-code','serverNoContextTakeover','crypto','_shouldEmitClose','string','isIP','client_no_context_takeover','handshakeTimeout','CLOSED','kError','5436018rObASK','values','cork','_buffers','_generateMask','charCodeAt','@univerjs-pro/collaboration-client','collaboration-client-node.config','kMessage','RSV1\x20must\x20be\x20clear','prototype','listenerCount','protocolVersion','server_no_context_takeover','_url','alloc','connection','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','tls','password','_decompress','followRedirects','The\x20\x22','hash','File','_threshold','socketPath','isValidUTF8','haveLength','@univerjs/network','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_doCreateSocket','create','toString','ws:','captureStackTrace','startsWith','message','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','\x22\x20must\x20have\x20only\x20a\x20single\x20value','94LogXYg','HTTP/1.1\x20','_masked','url','object','@univerjs-pro/collaboration','_payloadLength','set','enqueue','_closeFrameSent','writeUInt16BE','update','_max_window_bits','sha1','HTTPService','acceptAsClient','reset','port','_req','includes','ISnapshotServerService','Invalid\x20Sec-WebSocket-Protocol\x20header','join','test','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_autoPong','server_max_window_bits','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','constructor','Sec-WebSocket-Accept:\x20','clientMaxWindowBits','readOnly','_sender','isBuffer','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','indexOf','conclude','extensionName','slice','sendFrame','Unsupported\x20protocol\x20version:\x20','Inject','decompress','toLowerCase','Sec-WebSocket-Extensions:\x20','pluginName','WS_ERR_INVALID_OPCODE','Maximum\x20redirects\x20exceeded','dataMessage','accept','resume','sec-websocket-extensions','bufferedAmount','_bufferedBytes','Max\x20payload\x20size\x20exceeded','mask','rxjs','pipe','WS_ERR_EXPECTED_MASK','createError','onerror','errorEmitted','parse','wsClientError','response','apply','_fragmented','_queue','WS_ERR_EXPECTED_FIN','split','kRun','isView','opcode','Invalid\x20value\x20for\x20parameter\x20\x22','isServer','_closeTimer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','type','kAborted','_firstFragment','construct','cleanup','length','_errorEmitted','getBlobData','call','onopen','bind','uncork','read','hostname','defaultPort','stream','UniverCollaborationClientNodePlugin','code','MASK\x20must\x20be\x20set','server','Cookie','readUInt16BE','text/html','byteOffset','_httpService','getData','_configService','listeners','headers','_bufferedAmount','\x22:\x20','createInflateRaw','finished','handleProtocols','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','clientNoContextTakeover','perMessageDeflate','Origin','toDisposable','Server\x20sent\x20no\x20subprotocol','77724WUdVyM','_maxPayload','fin','method','The\x20URL\x20contains\x20a\x20fragment\x20identifier','getOwnPropertyDescriptor','Invalid\x20HTTP\x20method','_redirects','protocol','flush','delete','completeUpgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','socket','Z_DEFAULT_WINDOWBITS','_isServer','_closeFrameReceived','Parameter\x20\x22','then','Invalid\x20WebSocket\x20frame:\x20','Unexpected\x20character\x20at\x20index\x20','dequeue','_no_context_takeover','getPayloadLength64','compress','params','kWasClean','zlibDeflateOptions','WS_ERR_UNEXPECTED_RSV_1','acceptAsServer','maxRedirects','removeEventListener','kDone','replace','zlib','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','WS_NO_BUFFER_UTIL','HTTP/1.1\x20101\x20Switching\x20Protocols','Invalid\x20Upgrade\x20header','_server','_readableState','timeout','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','normalizeParams','_deflate','autoPong','_removeListeners','_writableState','_fragments','handleEvent','search','emit','address','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','destroy','generateMask','add','unexpected-response','The\x20URL\x27s\x20pathname\x20is\x20empty','_receiver','noServer','connect','isInteger','cookie','dispose','push','GET','verifyClient','encrypted','_extensions','https:','permessage-deflate','handleUpgrade','clients','CONNECTING','dispatch','serverMaxWindowBits','client','Server\x20sent\x20an\x20invalid\x20subprotocol','1602YfgzNJ','websocket','Plugin','_errored','reason','_originalHostOrSocketPath','redirect','_opcode','setTimeout','endEmitted','pending','_closeMessage','CLOSING','Sec-WebSocket-Protocol:\x20','OPEN','createConnection','invalid\x20status\x20code\x20','startLoop','onclose','_fin','_state','3389238VkFbtz','kTarget','sec-websocket-accept','_closeCode','_readyState','authorized','share','onmessage','WebSocket\x20is\x20not\x20open:\x20readyState\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','concurrency','removeAllListeners','maxPayload','DependentOn','Sec-WebSocket-Protocol','kByteLength','registerHTTPInterceptor','_compressed','WS_ERR_INVALID_CLOSE_CODE','abort','finishRequest','entries','MASK\x20must\x20be\x20clear','origin','11801OFTbEe','readable','_maskBuffer','client_max_window_bits','has','extensions','IConfigService','finish','_socket','STATUS_CODES','authorization','Blob','Z_SYNC_FLUSH','offer','_injector','_allowSynchronousEvents','total-length','request','CollaborationSocketService','7530624lipxTN','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','net','error','WS_ERR_INVALID_UTF8','auth','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','size','getPayloadLength16','_totalPayloadLength','invalid\x20opcode\x20','events','Injector','WS_NO_UTF_8_VALIDATE','Unexpected\x20server\x20response:\x20','onStarting','kCode','isArray','map','env','writeHead','getConfig','customHeaders','getMask','path','Observable','forEach','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','22729SvtGpK','Upgrade','emitClose','_inflate','statusCode','setNoDelay','_protocol','concurrencyLimit','base64','@univerjs/core','_write','byteLength','controlMessage','listen','kType','backlog','\x22\x20subprotocol\x20is\x20duplicated','data','buffer','setHeader','once','The\x20server\x20is\x20not\x20running','UniverCollaborationClientPlugin','_loop','ILogService','freeze','shouldHandle','from','number','send','Invalid\x20URL:\x20','allowSynchronousEvents','shift','removeListener','sec-websocket-protocol','_skipUTF8Validation','wasClean','jobs','catch','_options','_originalIpc','fragments','target','_originalSecure','unshift'];_0x5cb4=function(){return _0x44ecfd;};return _0x5cb4();}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5918e0}=ae();function _0x1af440(_0x422323,_0x2b91c3,_0x4b0c13){const _0x338a4d=_0x401c;_0x422323[_0x2b91c3]===void 0x0?_0x422323[_0x2b91c3]=[_0x4b0c13]:_0x422323[_0x2b91c3][_0x338a4d(0x12f)](_0x4b0c13);}function _0x457bc7(_0x3c06f0){const _0x569f72=_0x401c,_0x36f277=Object[_0x569f72(0x243)](null);let _0x20e69a=Object['create'](null),_0x339743=!0x1,_0x54778e=!0x1,_0x65a4a8=!0x1,_0x29c12b,_0x1ddd8e,_0x515dbc=-0x1,_0x521b0d=-0x1,_0x227f9f=-0x1,_0x33a777=0x0;for(;_0x33a777<_0x3c06f0[_0x569f72(0xcb)];_0x33a777++)if(_0x521b0d=_0x3c06f0['charCodeAt'](_0x33a777),_0x29c12b===void 0x0){if(_0x227f9f===-0x1&&_0x5918e0[_0x521b0d]===0x1)_0x515dbc===-0x1&&(_0x515dbc=_0x33a777);else{if(_0x33a777!==0x0&&(_0x521b0d===0x20||_0x521b0d===0x9))_0x227f9f===-0x1&&_0x515dbc!==-0x1&&(_0x227f9f=_0x33a777);else{if(_0x521b0d===0x3b||_0x521b0d===0x2c){if(_0x515dbc===-0x1)throw new SyntaxError(_0x569f72(0x102)+_0x33a777);_0x227f9f===-0x1&&(_0x227f9f=_0x33a777);const _0x55b785=_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x227f9f);_0x521b0d===0x2c?(_0x1af440(_0x36f277,_0x55b785,_0x20e69a),_0x20e69a=Object[_0x569f72(0x243)](null)):_0x29c12b=_0x55b785,_0x515dbc=_0x227f9f=-0x1;}else throw new SyntaxError(_0x569f72(0x102)+_0x33a777);}}}else{if(_0x1ddd8e===void 0x0){if(_0x227f9f===-0x1&&_0x5918e0[_0x521b0d]===0x1)_0x515dbc===-0x1&&(_0x515dbc=_0x33a777);else{if(_0x521b0d===0x20||_0x521b0d===0x9)_0x227f9f===-0x1&&_0x515dbc!==-0x1&&(_0x227f9f=_0x33a777);else{if(_0x521b0d===0x3b||_0x521b0d===0x2c){if(_0x515dbc===-0x1)throw new SyntaxError(_0x569f72(0x102)+_0x33a777);_0x227f9f===-0x1&&(_0x227f9f=_0x33a777),_0x1af440(_0x20e69a,_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x227f9f),!0x0),_0x521b0d===0x2c&&(_0x1af440(_0x36f277,_0x29c12b,_0x20e69a),_0x20e69a=Object[_0x569f72(0x243)](null),_0x29c12b=void 0x0),_0x515dbc=_0x227f9f=-0x1;}else{if(_0x521b0d===0x3d&&_0x515dbc!==-0x1&&_0x227f9f===-0x1)_0x1ddd8e=_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x33a777),_0x515dbc=_0x227f9f=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x33a777);}}}}else{if(_0x54778e){if(_0x5918e0[_0x521b0d]!==0x1)throw new SyntaxError(_0x569f72(0x102)+_0x33a777);_0x515dbc===-0x1?_0x515dbc=_0x33a777:_0x339743||(_0x339743=!0x0),_0x54778e=!0x1;}else{if(_0x65a4a8){if(_0x5918e0[_0x521b0d]===0x1)_0x515dbc===-0x1&&(_0x515dbc=_0x33a777);else{if(_0x521b0d===0x22&&_0x515dbc!==-0x1)_0x65a4a8=!0x1,_0x227f9f=_0x33a777;else{if(_0x521b0d===0x5c)_0x54778e=!0x0;else throw new SyntaxError(_0x569f72(0x102)+_0x33a777);}}}else{if(_0x521b0d===0x22&&_0x3c06f0[_0x569f72(0x228)](_0x33a777-0x1)===0x3d)_0x65a4a8=!0x0;else{if(_0x227f9f===-0x1&&_0x5918e0[_0x521b0d]===0x1)_0x515dbc===-0x1&&(_0x515dbc=_0x33a777);else{if(_0x515dbc!==-0x1&&(_0x521b0d===0x20||_0x521b0d===0x9))_0x227f9f===-0x1&&(_0x227f9f=_0x33a777);else{if(_0x521b0d===0x3b||_0x521b0d===0x2c){if(_0x515dbc===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x33a777);_0x227f9f===-0x1&&(_0x227f9f=_0x33a777);let _0x264151=_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x227f9f);_0x339743&&(_0x264151=_0x264151['replace'](/\\/g,''),_0x339743=!0x1),_0x1af440(_0x20e69a,_0x1ddd8e,_0x264151),_0x521b0d===0x2c&&(_0x1af440(_0x36f277,_0x29c12b,_0x20e69a),_0x20e69a=Object[_0x569f72(0x243)](null),_0x29c12b=void 0x0),_0x1ddd8e=void 0x0,_0x515dbc=_0x227f9f=-0x1;}else throw new SyntaxError(_0x569f72(0x102)+_0x33a777);}}}}}}}if(_0x515dbc===-0x1||_0x65a4a8||_0x521b0d===0x20||_0x521b0d===0x9)throw new SyntaxError(_0x569f72(0x20a));_0x227f9f===-0x1&&(_0x227f9f=_0x33a777);const _0x771e62=_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x227f9f);return _0x29c12b===void 0x0?_0x1af440(_0x36f277,_0x771e62,_0x20e69a):(_0x1ddd8e===void 0x0?_0x1af440(_0x20e69a,_0x771e62,!0x0):_0x339743?_0x1af440(_0x20e69a,_0x1ddd8e,_0x771e62[_0x569f72(0x10f)](/\\/g,'')):_0x1af440(_0x20e69a,_0x1ddd8e,_0x771e62),_0x1af440(_0x36f277,_0x29c12b,_0x20e69a)),_0x36f277;}function _0x16daf9(_0x9eea02){const _0x119f78=_0x401c;return Object[_0x119f78(0x1f1)](_0x9eea02)['map'](_0x440840=>{const _0x3159b8=_0x119f78;let _0x3cf629=_0x9eea02[_0x440840];return Array[_0x3159b8(0x18e)](_0x3cf629)||(_0x3cf629=[_0x3cf629]),_0x3cf629[_0x3159b8(0x18f)](_0x2eccd6=>[_0x440840]['concat'](Object[_0x3159b8(0x1f1)](_0x2eccd6)[_0x3159b8(0x18f)](_0xfdccb=>{const _0x45e82f=_0x3159b8;let _0x3f34b9=_0x2eccd6[_0xfdccb];return Array[_0x45e82f(0x18e)](_0x3f34b9)||(_0x3f34b9=[_0x3f34b9]),_0x3f34b9['map'](_0x5e7cfb=>_0x5e7cfb===!0x0?_0xfdccb:_0xfdccb+'='+_0x5e7cfb)[_0x45e82f(0x261)](';\x20');}))[_0x3159b8(0x261)](';\x20'))[_0x3159b8(0x261)](',\x20');})[_0x119f78(0x261)](',\x20');}return be={'format':_0x16daf9,'parse':_0x457bc7},be;}var we,Je;function Pe(){const _0x3a5a4f=_0x3b8394;if(Je)return we;Je=0x1;const _0x3aa189=nt,_0x4ce484=vt,_0x5c22df=ot,_0x8654d1=St,_0x3eca69=Et,{randomBytes:_0xf8b604,createHash:_0x34ceee}=Le,{Duplex:_0x472438,Readable:_0x3cc1b7}=oe,{URL:_0x120540}=xt,_0x1db2f8=he(),_0x1fed54=lt(),_0x39ba7d=ft(),{isBlob:_0xd3ca34}=ae(),{BINARY_TYPES:_0xf7c16,EMPTY_BUFFER:_0x56cfd2,GUID:_0x331a2a,kForOnEventAttribute:_0x403ec2,kListener:_0x138b5a,kStatusCode:_0x204c08,kWebSocket:_0xb628c1,NOOP:_0x14fd1c}=H(),{EventTarget:{addEventListener:_0x3b88b4,removeEventListener:_0x3be22a}}=It(),{format:_0x1646a8,parse:_0x1865de}=ct(),{toBuffer:_0x5ce18c}=ce(),_0xb64bc2=0x1e*0x3e8,_0x3d14cc=Symbol(_0x3a5a4f(0xc7)),_0x1b3098=[0x8,0xd],_0xa9d916=['CONNECTING',_0x3a5a4f(0x14b),_0x3a5a4f(0x149),_0x3a5a4f(0x221)],_0x1e3e90=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x24170e extends _0x3aa189{constructor(_0x554ac2,_0x28fcf0,_0x213211){const _0x23e8dd=_0x3a5a4f;super(),this[_0x23e8dd(0x207)]=_0xf7c16[0x0],this[_0x23e8dd(0x155)]=0x3ee,this[_0x23e8dd(0xfe)]=!0x1,this[_0x23e8dd(0x254)]=!0x1,this[_0x23e8dd(0x148)]=_0x56cfd2,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x23e8dd(0x133)]={},this['_paused']=!0x1,this[_0x23e8dd(0x1a0)]='',this[_0x23e8dd(0x156)]=_0x24170e[_0x23e8dd(0x138)],this[_0x23e8dd(0x129)]=null,this[_0x23e8dd(0x26b)]=null,this[_0x23e8dd(0x172)]=null,_0x554ac2!==null?(this['_bufferedAmount']=0x0,this[_0x23e8dd(0xfd)]=!0x1,this[_0x23e8dd(0xf5)]=0x0,_0x28fcf0===void 0x0?_0x28fcf0=[]:Array['isArray'](_0x28fcf0)||(typeof _0x28fcf0==_0x23e8dd(0x24f)&&_0x28fcf0!==null?(_0x213211=_0x28fcf0,_0x28fcf0=[]):_0x28fcf0=[_0x28fcf0]),_0x2f8cf7(this,_0x554ac2,_0x28fcf0,_0x213211)):(this['_autoPong']=_0x213211[_0x23e8dd(0x11b)],this[_0x23e8dd(0xfd)]=!0x0);}get[_0x3a5a4f(0x1ed)](){const _0x394f84=_0x3a5a4f;return this[_0x394f84(0x207)];}set[_0x3a5a4f(0x1ed)](_0x146321){const _0x5713f0=_0x3a5a4f;_0xf7c16[_0x5713f0(0x25e)](_0x146321)&&(this[_0x5713f0(0x207)]=_0x146321,this[_0x5713f0(0x129)]&&(this[_0x5713f0(0x129)][_0x5713f0(0x207)]=_0x146321));}get[_0x3a5a4f(0x27f)](){const _0x3c1c8f=_0x3a5a4f;return this[_0x3c1c8f(0x172)]?this[_0x3c1c8f(0x172)][_0x3c1c8f(0x11d)][_0x3c1c8f(0xcb)]+this[_0x3c1c8f(0x26b)][_0x3c1c8f(0x280)]:this[_0x3c1c8f(0xe3)];}get[_0x3a5a4f(0x16f)](){const _0x15e753=_0x3a5a4f;return Object[_0x15e753(0x1f1)](this[_0x15e753(0x133)])[_0x15e753(0x261)]();}get['isPaused'](){return this['_paused'];}get[_0x3a5a4f(0x14f)](){return null;}get[_0x3a5a4f(0x287)](){return null;}get[_0x3a5a4f(0xcf)](){return null;}get[_0x3a5a4f(0x159)](){return null;}get['protocol'](){const _0x4be2ce=_0x3a5a4f;return this[_0x4be2ce(0x1a0)];}get[_0x3a5a4f(0x213)](){const _0x57fd2f=_0x3a5a4f;return this[_0x57fd2f(0x156)];}get['url'](){const _0x5ab1c3=_0x3a5a4f;return this[_0x5ab1c3(0x231)];}[_0x3a5a4f(0x1dc)](_0x4b1136,_0x341ef7,_0x50dc8e){const _0x267fb4=_0x3a5a4f,_0x39f260=new _0x1fed54({'allowSynchronousEvents':_0x50dc8e['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x267fb4(0x133)],'isServer':this[_0x267fb4(0xfd)],'maxPayload':_0x50dc8e[_0x267fb4(0x15e)],'skipUTF8Validation':_0x50dc8e[_0x267fb4(0x1ef)]}),_0x4a653f=new _0x39ba7d(_0x4b1136,this[_0x267fb4(0x133)],_0x50dc8e[_0x267fb4(0x125)]);this[_0x267fb4(0x129)]=_0x39f260,this[_0x267fb4(0x26b)]=_0x4a653f,this['_socket']=_0x4b1136,_0x39f260[_0xb628c1]=this,_0x4a653f[_0xb628c1]=this,_0x4b1136[_0xb628c1]=this,_0x39f260['on'](_0x267fb4(0x26f),_0x24d5ac),_0x39f260['on']('drain',_0x31e3d1),_0x39f260['on'](_0x267fb4(0x180),_0x127ae4),_0x39f260['on'](_0x267fb4(0x248),_0x1d13d5),_0x39f260['on'](_0x267fb4(0x1d2),_0x2df53e),_0x39f260['on'](_0x267fb4(0x1e9),_0x459377),_0x4a653f[_0x267fb4(0x287)]=_0x2172f7,_0x4b1136[_0x267fb4(0x145)]&&_0x4b1136[_0x267fb4(0x145)](0x0),_0x4b1136[_0x267fb4(0x19f)]&&_0x4b1136[_0x267fb4(0x19f)](),_0x341ef7[_0x267fb4(0xcb)]>0x0&&_0x4b1136[_0x267fb4(0x1c6)](_0x341ef7),_0x4b1136['on'](_0x267fb4(0x1dd),_0x1f62d5),_0x4b1136['on'](_0x267fb4(0x1ab),_0x3243d5),_0x4b1136['on'](_0x267fb4(0x1fd),_0x2e805e),_0x4b1136['on'](_0x267fb4(0x180),_0x5924d2),this['_readyState']=_0x24170e[_0x267fb4(0x14b)],this[_0x267fb4(0x121)]('open');}[_0x3a5a4f(0x19c)](){const _0x201f3c=_0x3a5a4f;if(!this['_socket']){this[_0x201f3c(0x156)]=_0x24170e[_0x201f3c(0x221)],this[_0x201f3c(0x121)](_0x201f3c(0x1dd),this[_0x201f3c(0x155)],this[_0x201f3c(0x148)]);return;}this[_0x201f3c(0x133)][_0x1db2f8[_0x201f3c(0x270)]]&&this[_0x201f3c(0x133)][_0x1db2f8[_0x201f3c(0x270)]][_0x201f3c(0xca)](),this[_0x201f3c(0x129)][_0x201f3c(0x15d)](),this[_0x201f3c(0x156)]=_0x24170e[_0x201f3c(0x221)],this[_0x201f3c(0x121)](_0x201f3c(0x1dd),this[_0x201f3c(0x155)],this[_0x201f3c(0x148)]);}['close'](_0x26508b,_0x3d0721){const _0x4c58eb=_0x3a5a4f;if(this[_0x4c58eb(0x213)]!==_0x24170e[_0x4c58eb(0x221)]){if(this[_0x4c58eb(0x213)]===_0x24170e[_0x4c58eb(0x138)]){_0x21e46f(this,this[_0x4c58eb(0x25d)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4c58eb(0x213)]===_0x24170e[_0x4c58eb(0x149)]){this['_closeFrameSent']&&(this[_0x4c58eb(0xfe)]||this[_0x4c58eb(0x129)][_0x4c58eb(0x11d)][_0x4c58eb(0x288)])&&this[_0x4c58eb(0x172)][_0x4c58eb(0x1fd)]();return;}this[_0x4c58eb(0x156)]=_0x24170e[_0x4c58eb(0x149)],this[_0x4c58eb(0x26b)][_0x4c58eb(0x1dd)](_0x26508b,_0x3d0721,!this[_0x4c58eb(0xfd)],_0x4e9a4f=>{const _0x5ef6ac=_0x4c58eb;_0x4e9a4f||(this[_0x5ef6ac(0x254)]=!0x0,(this[_0x5ef6ac(0xfe)]||this[_0x5ef6ac(0x129)][_0x5ef6ac(0x11d)][_0x5ef6ac(0x288)])&&this['_socket'][_0x5ef6ac(0x1fd)]());}),_0x3f164b(this);}}[_0x3a5a4f(0x1fa)](){const _0x5a63be=_0x3a5a4f;this['readyState']===_0x24170e[_0x5a63be(0x138)]||this[_0x5a63be(0x213)]===_0x24170e[_0x5a63be(0x221)]||(this[_0x5a63be(0x1ca)]=!0x0,this['_socket'][_0x5a63be(0x1fa)]());}[_0x3a5a4f(0x1d2)](_0x171d77,_0xc92228,_0x2b2da6){const _0x3a3fbf=_0x3a5a4f;if(this['readyState']===_0x24170e[_0x3a3fbf(0x138)])throw new Error(_0x3a3fbf(0x234));if(typeof _0x171d77==_0x3a3fbf(0x214)?(_0x2b2da6=_0x171d77,_0x171d77=_0xc92228=void 0x0):typeof _0xc92228==_0x3a3fbf(0x214)&&(_0x2b2da6=_0xc92228,_0xc92228=void 0x0),typeof _0x171d77=='number'&&(_0x171d77=_0x171d77[_0x3a3fbf(0x244)]()),this[_0x3a3fbf(0x213)]!==_0x24170e[_0x3a3fbf(0x14b)]){_0x1d9b5a(this,_0x171d77,_0x2b2da6);return;}_0xc92228===void 0x0&&(_0xc92228=!this['_isServer']),this[_0x3a3fbf(0x26b)][_0x3a3fbf(0x1d2)](_0x171d77||_0x56cfd2,_0xc92228,_0x2b2da6);}['pong'](_0xf5232c,_0x2f8ac4,_0x28f999){const _0x141e6f=_0x3a5a4f;if(this['readyState']===_0x24170e[_0x141e6f(0x138)])throw new Error(_0x141e6f(0x234));if(typeof _0xf5232c==_0x141e6f(0x214)?(_0x28f999=_0xf5232c,_0xf5232c=_0x2f8ac4=void 0x0):typeof _0x2f8ac4==_0x141e6f(0x214)&&(_0x28f999=_0x2f8ac4,_0x2f8ac4=void 0x0),typeof _0xf5232c=='number'&&(_0xf5232c=_0xf5232c[_0x141e6f(0x244)]()),this[_0x141e6f(0x213)]!==_0x24170e[_0x141e6f(0x14b)]){_0x1d9b5a(this,_0xf5232c,_0x28f999);return;}_0x2f8ac4===void 0x0&&(_0x2f8ac4=!this[_0x141e6f(0xfd)]),this[_0x141e6f(0x26b)][_0x141e6f(0x1e9)](_0xf5232c||_0x56cfd2,_0x2f8ac4,_0x28f999);}[_0x3a5a4f(0x27d)](){const _0x266c3a=_0x3a5a4f;this[_0x266c3a(0x213)]===_0x24170e[_0x266c3a(0x138)]||this['readyState']===_0x24170e[_0x266c3a(0x221)]||(this[_0x266c3a(0x1ca)]=!0x1,this[_0x266c3a(0x129)][_0x266c3a(0x11d)][_0x266c3a(0x1da)]||this['_socket']['resume']());}[_0x3a5a4f(0x1b7)](_0x1da2ab,_0xf2d375,_0x6904b1){const _0x19c72f=_0x3a5a4f;if(this['readyState']===_0x24170e[_0x19c72f(0x138)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xf2d375==_0x19c72f(0x214)&&(_0x6904b1=_0xf2d375,_0xf2d375={}),typeof _0x1da2ab==_0x19c72f(0x1b6)&&(_0x1da2ab=_0x1da2ab['toString']()),this[_0x19c72f(0x213)]!==_0x24170e[_0x19c72f(0x14b)]){_0x1d9b5a(this,_0x1da2ab,_0x6904b1);return;}const _0xc06488={'binary':typeof _0x1da2ab!='string','mask':!this[_0x19c72f(0xfd)],'compress':!0x0,'fin':!0x0,..._0xf2d375};this[_0x19c72f(0x133)][_0x1db2f8[_0x19c72f(0x270)]]||(_0xc06488[_0x19c72f(0x106)]=!0x1),this['_sender'][_0x19c72f(0x1b7)](_0x1da2ab||_0x56cfd2,_0xc06488,_0x6904b1);}['terminate'](){const _0x5d5d37=_0x3a5a4f;if(this['readyState']!==_0x24170e['CLOSED']){if(this[_0x5d5d37(0x213)]===_0x24170e[_0x5d5d37(0x138)]){_0x21e46f(this,this[_0x5d5d37(0x25d)],_0x5d5d37(0x266));return;}this['_socket']&&(this[_0x5d5d37(0x156)]=_0x24170e['CLOSING'],this[_0x5d5d37(0x172)][_0x5d5d37(0x124)]());}}}Object[_0x3a5a4f(0x1e4)](_0x24170e,_0x3a5a4f(0x138),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x138))}),Object[_0x3a5a4f(0x1e4)](_0x24170e[_0x3a5a4f(0x22d)],_0x3a5a4f(0x138),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x138))}),Object[_0x3a5a4f(0x1e4)](_0x24170e,_0x3a5a4f(0x14b),{'enumerable':!0x0,'value':_0xa9d916['indexOf'](_0x3a5a4f(0x14b))}),Object[_0x3a5a4f(0x1e4)](_0x24170e[_0x3a5a4f(0x22d)],'OPEN',{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x14b))}),Object[_0x3a5a4f(0x1e4)](_0x24170e,_0x3a5a4f(0x149),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x149))}),Object[_0x3a5a4f(0x1e4)](_0x24170e[_0x3a5a4f(0x22d)],_0x3a5a4f(0x149),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x149))}),Object[_0x3a5a4f(0x1e4)](_0x24170e,'CLOSED',{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x221))}),Object[_0x3a5a4f(0x1e4)](_0x24170e['prototype'],_0x3a5a4f(0x221),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)]('CLOSED')}),[_0x3a5a4f(0x1ed),_0x3a5a4f(0x27f),_0x3a5a4f(0x16f),_0x3a5a4f(0x1e1),_0x3a5a4f(0xf6),_0x3a5a4f(0x213),'url'][_0x3a5a4f(0x197)](_0x5ea6df=>{const _0x1d5955=_0x3a5a4f;Object[_0x1d5955(0x1e4)](_0x24170e[_0x1d5955(0x22d)],_0x5ea6df,{'enumerable':!0x0});}),[_0x3a5a4f(0x1e5),'error',_0x3a5a4f(0x1dd),_0x3a5a4f(0x248)][_0x3a5a4f(0x197)](_0x43c22e=>{const _0x451b15=_0x3a5a4f;Object[_0x451b15(0x1e4)](_0x24170e[_0x451b15(0x22d)],'on'+_0x43c22e,{'enumerable':!0x0,'get'(){const _0x3930df=_0x451b15;for(const _0x4a3ba9 of this[_0x3930df(0xe1)](_0x43c22e))if(_0x4a3ba9[_0x403ec2])return _0x4a3ba9[_0x138b5a];return null;},'set'(_0x695e1){const _0x485173=_0x451b15;for(const _0x236d77 of this[_0x485173(0xe1)](_0x43c22e))if(_0x236d77[_0x403ec2]){this[_0x485173(0x1bb)](_0x43c22e,_0x236d77);break;}typeof _0x695e1=='function'&&this['addEventListener'](_0x43c22e,_0x695e1,{[_0x403ec2]:!0x0});}});}),_0x24170e[_0x3a5a4f(0x22d)][_0x3a5a4f(0x20b)]=_0x3b88b4,_0x24170e['prototype'][_0x3a5a4f(0x10d)]=_0x3be22a,we=_0x24170e;function _0x2f8cf7(_0x4f2e18,_0x18993d,_0x2b7e53,_0x560915){const _0x2b285d=_0x3a5a4f,_0x22c063={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1b3098[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x560915,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2b285d(0x130),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4f2e18[_0x2b285d(0x264)]=_0x22c063[_0x2b285d(0x11b)],!_0x1b3098[_0x2b285d(0x25e)](_0x22c063['protocolVersion']))throw new RangeError(_0x2b285d(0x273)+_0x22c063['protocolVersion']+_0x2b285d(0x1cc)+_0x1b3098[_0x2b285d(0x261)](',\x20')+')');let _0x3ce652;if(_0x18993d instanceof _0x120540)_0x3ce652=_0x18993d;else try{_0x3ce652=new _0x120540(_0x18993d);}catch{throw new SyntaxError(_0x2b285d(0x1b8)+_0x18993d);}_0x3ce652[_0x2b285d(0xf6)]==='http:'?_0x3ce652[_0x2b285d(0xf6)]=_0x2b285d(0x245):_0x3ce652[_0x2b285d(0xf6)]===_0x2b285d(0x134)&&(_0x3ce652[_0x2b285d(0xf6)]=_0x2b285d(0x209)),_0x4f2e18[_0x2b285d(0x231)]=_0x3ce652['href'];const _0x4b5c4c=_0x3ce652[_0x2b285d(0xf6)]===_0x2b285d(0x209),_0x30f439=_0x3ce652['protocol']==='ws+unix:';let _0x389bcf;if(_0x3ce652[_0x2b285d(0xf6)]!=='ws:'&&!_0x4b5c4c&&!_0x30f439?_0x389bcf=_0x2b285d(0x17e):_0x30f439&&!_0x3ce652['pathname']?_0x389bcf=_0x2b285d(0x128):_0x3ce652[_0x2b285d(0x23a)]&&(_0x389bcf=_0x2b285d(0xf2)),_0x389bcf){const _0x5bcb38=new SyntaxError(_0x389bcf);if(_0x4f2e18[_0x2b285d(0xf5)]===0x0)throw _0x5bcb38;_0x5f30e2(_0x4f2e18,_0x5bcb38);return;}const _0x441f53=_0x4b5c4c?0x1bb:0x50,_0x4292e8=_0xf8b604(0x10)[_0x2b285d(0x244)]('base64'),_0x179868=_0x4b5c4c?_0x4ce484[_0x2b285d(0x17b)]:_0x5c22df[_0x2b285d(0x17b)],_0xd67912=new Set();let _0x406edc;if(_0x22c063[_0x2b285d(0x14c)]=_0x22c063['createConnection']||(_0x4b5c4c?_0x4109c3:_0x1e42cb),_0x22c063[_0x2b285d(0xd4)]=_0x22c063['defaultPort']||_0x441f53,_0x22c063[_0x2b285d(0x25c)]=_0x3ce652[_0x2b285d(0x25c)]||_0x441f53,_0x22c063['host']=_0x3ce652['hostname'][_0x2b285d(0x247)]('[')?_0x3ce652[_0x2b285d(0xd3)][_0x2b285d(0x271)](0x1,-0x1):_0x3ce652[_0x2b285d(0xd3)],_0x22c063[_0x2b285d(0xe2)]={..._0x22c063[_0x2b285d(0xe2)],'Sec-WebSocket-Version':_0x22c063['protocolVersion'],'Sec-WebSocket-Key':_0x4292e8,'Connection':_0x2b285d(0x19b),'Upgrade':'websocket'},_0x22c063[_0x2b285d(0x195)]=_0x3ce652['pathname']+_0x3ce652[_0x2b285d(0x120)],_0x22c063[_0x2b285d(0x117)]=_0x22c063[_0x2b285d(0x220)],_0x22c063[_0x2b285d(0xea)]&&(_0x406edc=new _0x1db2f8(_0x22c063[_0x2b285d(0xea)]!==!0x0?_0x22c063[_0x2b285d(0xea)]:{},!0x1,_0x22c063[_0x2b285d(0x15e)]),_0x22c063['headers'][_0x2b285d(0x200)]=_0x1646a8({[_0x1db2f8[_0x2b285d(0x270)]]:_0x406edc[_0x2b285d(0x177)]()})),_0x2b7e53[_0x2b285d(0xcb)]){for(const _0x3db7f9 of _0x2b7e53){if(typeof _0x3db7f9!=_0x2b285d(0x21d)||!_0x1e3e90[_0x2b285d(0x262)](_0x3db7f9)||_0xd67912[_0x2b285d(0x16e)](_0x3db7f9))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xd67912[_0x2b285d(0x126)](_0x3db7f9);}_0x22c063['headers'][_0x2b285d(0x160)]=_0x2b7e53[_0x2b285d(0x261)](',');}if(_0x22c063[_0x2b285d(0x169)]&&(_0x22c063[_0x2b285d(0x22f)]<0xd?_0x22c063[_0x2b285d(0xe2)]['Sec-WebSocket-Origin']=_0x22c063['origin']:_0x22c063[_0x2b285d(0xe2)][_0x2b285d(0xeb)]=_0x22c063[_0x2b285d(0x169)]),(_0x3ce652['username']||_0x3ce652[_0x2b285d(0x236)])&&(_0x22c063[_0x2b285d(0x182)]=_0x3ce652[_0x2b285d(0x212)]+':'+_0x3ce652['password']),_0x30f439){const _0x2cb55b=_0x22c063[_0x2b285d(0x195)][_0x2b285d(0x290)](':');_0x22c063['socketPath']=_0x2cb55b[0x0],_0x22c063['path']=_0x2cb55b[0x1];}let _0x41d02a;if(_0x22c063[_0x2b285d(0x238)]){if(_0x4f2e18[_0x2b285d(0xf5)]===0x0){_0x4f2e18[_0x2b285d(0x1c2)]=_0x30f439,_0x4f2e18[_0x2b285d(0x1c5)]=_0x4b5c4c,_0x4f2e18[_0x2b285d(0x142)]=_0x30f439?_0x22c063['socketPath']:_0x3ce652[_0x2b285d(0x1e3)];const _0x16150b=_0x560915&&_0x560915['headers'];if(_0x560915={..._0x560915,'headers':{}},_0x16150b){for(const [_0x422ff6,_0x333dfc]of Object[_0x2b285d(0x167)](_0x16150b))_0x560915[_0x2b285d(0xe2)][_0x422ff6[_0x2b285d(0x276)]()]=_0x333dfc;}}else{if(_0x4f2e18[_0x2b285d(0x22e)]('redirect')===0x0){const _0x1e8b04=_0x30f439?_0x4f2e18[_0x2b285d(0x1c2)]?_0x22c063['socketPath']===_0x4f2e18[_0x2b285d(0x142)]:!0x1:_0x4f2e18[_0x2b285d(0x1c2)]?!0x1:_0x3ce652[_0x2b285d(0x1e3)]===_0x4f2e18[_0x2b285d(0x142)];(!_0x1e8b04||_0x4f2e18[_0x2b285d(0x1c5)]&&!_0x4b5c4c)&&(delete _0x22c063['headers'][_0x2b285d(0x174)],delete _0x22c063[_0x2b285d(0xe2)][_0x2b285d(0x12d)],_0x1e8b04||delete _0x22c063[_0x2b285d(0xe2)][_0x2b285d(0x1e3)],_0x22c063[_0x2b285d(0x182)]=void 0x0);}}_0x22c063[_0x2b285d(0x182)]&&!_0x560915[_0x2b285d(0xe2)]['authorization']&&(_0x560915[_0x2b285d(0xe2)][_0x2b285d(0x174)]=_0x2b285d(0x204)+Buffer[_0x2b285d(0x1b5)](_0x22c063[_0x2b285d(0x182)])[_0x2b285d(0x244)](_0x2b285d(0x1a2))),_0x41d02a=_0x4f2e18[_0x2b285d(0x25d)]=_0x179868(_0x22c063),_0x4f2e18[_0x2b285d(0xf5)]&&_0x4f2e18[_0x2b285d(0x121)](_0x2b285d(0x143),_0x4f2e18[_0x2b285d(0x24e)],_0x41d02a);}else _0x41d02a=_0x4f2e18[_0x2b285d(0x25d)]=_0x179868(_0x22c063);_0x22c063[_0x2b285d(0x117)]&&_0x41d02a['on'](_0x2b285d(0x117),()=>{_0x21e46f(_0x4f2e18,_0x41d02a,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x41d02a['on'](_0x2b285d(0x180),_0x17b5d7=>{const _0x10346f=_0x2b285d;_0x41d02a===null||_0x41d02a[_0x3d14cc]||(_0x41d02a=_0x4f2e18[_0x10346f(0x25d)]=null,_0x5f30e2(_0x4f2e18,_0x17b5d7));}),_0x41d02a['on'](_0x2b285d(0x28b),_0x2324ec=>{const _0x384133=_0x2b285d,_0xc02e23=_0x2324ec[_0x384133(0xe2)]['location'],_0x1ae054=_0x2324ec['statusCode'];if(_0xc02e23&&_0x22c063['followRedirects']&&_0x1ae054>=0x12c&&_0x1ae054<0x190){if(++_0x4f2e18[_0x384133(0xf5)]>_0x22c063[_0x384133(0x10c)]){_0x21e46f(_0x4f2e18,_0x41d02a,_0x384133(0x27a));return;}_0x41d02a[_0x384133(0x165)]();let _0x177987;try{_0x177987=new _0x120540(_0xc02e23,_0x18993d);}catch{const _0x1dd1f9=new SyntaxError(_0x384133(0x1b8)+_0xc02e23);_0x5f30e2(_0x4f2e18,_0x1dd1f9);return;}_0x2f8cf7(_0x4f2e18,_0x177987,_0x2b7e53,_0x560915);}else _0x4f2e18[_0x384133(0x121)](_0x384133(0x127),_0x41d02a,_0x2324ec)||_0x21e46f(_0x4f2e18,_0x41d02a,_0x384133(0x18b)+_0x2324ec[_0x384133(0x19e)]);}),_0x41d02a['on'](_0x2b285d(0x1f2),(_0x2fbad3,_0x47f2e6,_0x5238eb)=>{const _0x5a97bd=_0x2b285d;if(_0x4f2e18['emit'](_0x5a97bd(0x1f2),_0x2fbad3),_0x4f2e18['readyState']!==_0x24170e[_0x5a97bd(0x138)])return;_0x41d02a=_0x4f2e18['_req']=null;const _0x20dc1f=_0x2fbad3[_0x5a97bd(0xe2)]['upgrade'];if(_0x20dc1f===void 0x0||_0x20dc1f[_0x5a97bd(0x276)]()!==_0x5a97bd(0x13e)){_0x21e46f(_0x4f2e18,_0x47f2e6,_0x5a97bd(0x114));return;}const _0x1bc083=_0x34ceee(_0x5a97bd(0x258))[_0x5a97bd(0x256)](_0x4292e8+_0x331a2a)[_0x5a97bd(0x1d6)](_0x5a97bd(0x1a2));if(_0x2fbad3[_0x5a97bd(0xe2)][_0x5a97bd(0x154)]!==_0x1bc083){_0x21e46f(_0x4f2e18,_0x47f2e6,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2bec1e=_0x2fbad3[_0x5a97bd(0xe2)]['sec-websocket-protocol'];let _0x40821f;if(_0x2bec1e!==void 0x0?_0xd67912[_0x5a97bd(0x184)]?_0xd67912[_0x5a97bd(0x16e)](_0x2bec1e)||(_0x40821f=_0x5a97bd(0x13c)):_0x40821f='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0xd67912[_0x5a97bd(0x184)]&&(_0x40821f=_0x5a97bd(0xed)),_0x40821f){_0x21e46f(_0x4f2e18,_0x47f2e6,_0x40821f);return;}_0x2bec1e&&(_0x4f2e18[_0x5a97bd(0x1a0)]=_0x2bec1e);const _0x364848=_0x2fbad3[_0x5a97bd(0xe2)][_0x5a97bd(0x27e)];if(_0x364848!==void 0x0){if(!_0x406edc){_0x21e46f(_0x4f2e18,_0x47f2e6,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2faddd;try{_0x2faddd=_0x1865de(_0x364848);}catch{_0x21e46f(_0x4f2e18,_0x47f2e6,_0x5a97bd(0xfa));return;}const _0x500b8=Object[_0x5a97bd(0x1f1)](_0x2faddd);if(_0x500b8[_0x5a97bd(0xcb)]!==0x1||_0x500b8[0x0]!==_0x1db2f8[_0x5a97bd(0x270)]){_0x21e46f(_0x4f2e18,_0x47f2e6,_0x5a97bd(0x1fe));return;}try{_0x406edc['accept'](_0x2faddd[_0x1db2f8['extensionName']]);}catch{_0x21e46f(_0x4f2e18,_0x47f2e6,_0x5a97bd(0xfa));return;}_0x4f2e18[_0x5a97bd(0x133)][_0x1db2f8[_0x5a97bd(0x270)]]=_0x406edc;}_0x4f2e18[_0x5a97bd(0x1dc)](_0x47f2e6,_0x5238eb,{'allowSynchronousEvents':_0x22c063[_0x5a97bd(0x1b9)],'generateMask':_0x22c063['generateMask'],'maxPayload':_0x22c063[_0x5a97bd(0x15e)],'skipUTF8Validation':_0x22c063[_0x5a97bd(0x1ef)]});}),_0x22c063['finishRequest']?_0x22c063[_0x2b285d(0x166)](_0x41d02a,_0x4f2e18):_0x41d02a[_0x2b285d(0x1fd)]();}function _0x5f30e2(_0x6f1277,_0x251886){const _0x469adb=_0x3a5a4f;_0x6f1277[_0x469adb(0x156)]=_0x24170e[_0x469adb(0x149)],_0x6f1277[_0x469adb(0xcc)]=!0x0,_0x6f1277['emit']('error',_0x251886),_0x6f1277['emitClose']();}function _0x1e42cb(_0x169b28){const _0x2d00bf=_0x3a5a4f;return _0x169b28[_0x2d00bf(0x195)]=_0x169b28[_0x2d00bf(0x23d)],_0x8654d1[_0x2d00bf(0x12b)](_0x169b28);}function _0x4109c3(_0x4c5757){const _0x376fc0=_0x3a5a4f;return _0x4c5757[_0x376fc0(0x195)]=void 0x0,!_0x4c5757[_0x376fc0(0x201)]&&_0x4c5757[_0x376fc0(0x201)]!==''&&(_0x4c5757[_0x376fc0(0x201)]=_0x8654d1[_0x376fc0(0x21e)](_0x4c5757[_0x376fc0(0x1e3)])?'':_0x4c5757[_0x376fc0(0x1e3)]),_0x3eca69[_0x376fc0(0x12b)](_0x4c5757);}function _0x21e46f(_0x55204d,_0x122f59,_0x5b7397){const _0x4d44fc=_0x3a5a4f;_0x55204d['_readyState']=_0x24170e[_0x4d44fc(0x149)];const _0x8adbef=new Error(_0x5b7397);Error[_0x4d44fc(0x246)](_0x8adbef,_0x21e46f),_0x122f59[_0x4d44fc(0x1ad)]?(_0x122f59[_0x3d14cc]=!0x0,_0x122f59[_0x4d44fc(0x165)](),_0x122f59[_0x4d44fc(0xfb)]&&!_0x122f59[_0x4d44fc(0xfb)][_0x4d44fc(0x210)]&&_0x122f59[_0x4d44fc(0xfb)]['destroy'](),process[_0x4d44fc(0x215)](_0x5f30e2,_0x55204d,_0x8adbef)):(_0x122f59['destroy'](_0x8adbef),_0x122f59[_0x4d44fc(0x1ae)]('error',_0x55204d[_0x4d44fc(0x121)][_0x4d44fc(0xd0)](_0x55204d,_0x4d44fc(0x180))),_0x122f59['once'](_0x4d44fc(0x1dd),_0x55204d['emitClose'][_0x4d44fc(0xd0)](_0x55204d)));}function _0x1d9b5a(_0x5ce001,_0x310dc3,_0x4b4acf){const _0x53912f=_0x3a5a4f;if(_0x310dc3){const _0x4a4837=_0xd3ca34(_0x310dc3)?_0x310dc3[_0x53912f(0x184)]:_0x5ce18c(_0x310dc3)[_0x53912f(0xcb)];_0x5ce001[_0x53912f(0x172)]?_0x5ce001[_0x53912f(0x26b)][_0x53912f(0x280)]+=_0x4a4837:_0x5ce001[_0x53912f(0xe3)]+=_0x4a4837;}if(_0x4b4acf){const _0x150251=new Error(_0x53912f(0x15a)+_0x5ce001['readyState']+'\x20('+_0xa9d916[_0x5ce001['readyState']]+')');process[_0x53912f(0x215)](_0x4b4acf,_0x150251);}}function _0x24d5ac(_0xfb972,_0x299545){const _0x46348c=_0x3a5a4f,_0x28eb5e=this[_0xb628c1];_0x28eb5e['_closeFrameReceived']=!0x0,_0x28eb5e[_0x46348c(0x148)]=_0x299545,_0x28eb5e[_0x46348c(0x155)]=_0xfb972,_0x28eb5e['_socket'][_0xb628c1]!==void 0x0&&(_0x28eb5e[_0x46348c(0x172)][_0x46348c(0x1bb)](_0x46348c(0x1ab),_0x3243d5),process[_0x46348c(0x215)](_0x43a83e,_0x28eb5e[_0x46348c(0x172)]),_0xfb972===0x3ed?_0x28eb5e[_0x46348c(0x1dd)]():_0x28eb5e[_0x46348c(0x1dd)](_0xfb972,_0x299545));}function _0x31e3d1(){const _0x16617b=_0x3a5a4f,_0x1ac784=this[_0xb628c1];_0x1ac784[_0x16617b(0x1e1)]||_0x1ac784['_socket'][_0x16617b(0x27d)]();}function _0x127ae4(_0xf860e3){const _0x5218d0=_0x3a5a4f,_0x9fe9b3=this[_0xb628c1];_0x9fe9b3['_socket'][_0xb628c1]!==void 0x0&&(_0x9fe9b3[_0x5218d0(0x172)][_0x5218d0(0x1bb)](_0x5218d0(0x1ab),_0x3243d5),process[_0x5218d0(0x215)](_0x43a83e,_0x9fe9b3[_0x5218d0(0x172)]),_0x9fe9b3[_0x5218d0(0x1dd)](_0xf860e3[_0x204c08])),_0x9fe9b3[_0x5218d0(0xcc)]||(_0x9fe9b3['_errorEmitted']=!0x0,_0x9fe9b3[_0x5218d0(0x121)](_0x5218d0(0x180),_0xf860e3));}function _0x1ff8c4(){this[_0xb628c1]['emitClose']();}function _0x1d13d5(_0x1a80f9,_0x1540a6){this[_0xb628c1]['emit']('message',_0x1a80f9,_0x1540a6);}function _0x2df53e(_0x462682){const _0x34b1c2=_0x3a5a4f,_0x74eed=this[_0xb628c1];_0x74eed[_0x34b1c2(0x264)]&&_0x74eed['pong'](_0x462682,!this['_isServer'],_0x14fd1c),_0x74eed['emit'](_0x34b1c2(0x1d2),_0x462682);}function _0x459377(_0x2a0e62){const _0x5bf782=_0x3a5a4f;this[_0xb628c1]['emit'](_0x5bf782(0x1e9),_0x2a0e62);}function _0x43a83e(_0xf26974){const _0x3dd657=_0x3a5a4f;_0xf26974[_0x3dd657(0x27d)]();}function _0x2172f7(_0x319824){const _0x2f30c1=_0x3a5a4f,_0x26d753=this[_0xb628c1];_0x26d753[_0x2f30c1(0x213)]!==_0x24170e[_0x2f30c1(0x221)]&&(_0x26d753[_0x2f30c1(0x213)]===_0x24170e[_0x2f30c1(0x14b)]&&(_0x26d753[_0x2f30c1(0x156)]=_0x24170e[_0x2f30c1(0x149)],_0x3f164b(_0x26d753)),this['_socket'][_0x2f30c1(0x1fd)](),_0x26d753[_0x2f30c1(0xcc)]||(_0x26d753[_0x2f30c1(0xcc)]=!0x0,_0x26d753[_0x2f30c1(0x121)](_0x2f30c1(0x180),_0x319824)));}function _0x3f164b(_0xabd4bb){const _0x14b07d=_0x3a5a4f;_0xabd4bb[_0x14b07d(0x296)]=setTimeout(_0xabd4bb[_0x14b07d(0x172)]['destroy']['bind'](_0xabd4bb[_0x14b07d(0x172)]),_0xb64bc2);}function _0x1f62d5(){const _0x2813db=_0x3a5a4f,_0x1693b5=this[_0xb628c1];this[_0x2813db(0x1bb)](_0x2813db(0x1dd),_0x1f62d5),this[_0x2813db(0x1bb)](_0x2813db(0x1ab),_0x3243d5),this[_0x2813db(0x1bb)](_0x2813db(0x1fd),_0x2e805e),_0x1693b5[_0x2813db(0x156)]=_0x24170e[_0x2813db(0x149)];let _0x12dbf5;!this['_readableState'][_0x2813db(0x146)]&&!_0x1693b5[_0x2813db(0xfe)]&&!_0x1693b5[_0x2813db(0x129)]['_writableState'][_0x2813db(0x288)]&&(_0x12dbf5=_0x1693b5[_0x2813db(0x172)][_0x2813db(0xd2)]())!==null&&_0x1693b5[_0x2813db(0x129)][_0x2813db(0x1e7)](_0x12dbf5),_0x1693b5[_0x2813db(0x129)][_0x2813db(0x1fd)](),this[_0xb628c1]=void 0x0,clearTimeout(_0x1693b5[_0x2813db(0x296)]),_0x1693b5[_0x2813db(0x129)]['_writableState'][_0x2813db(0xe6)]||_0x1693b5[_0x2813db(0x129)][_0x2813db(0x11d)][_0x2813db(0x288)]?_0x1693b5[_0x2813db(0x19c)]():(_0x1693b5[_0x2813db(0x129)]['on'](_0x2813db(0x180),_0x1ff8c4),_0x1693b5[_0x2813db(0x129)]['on'](_0x2813db(0x171),_0x1ff8c4));}function _0x3243d5(_0x41d672){const _0xc3a617=_0x3a5a4f;this[_0xb628c1][_0xc3a617(0x129)][_0xc3a617(0x1e7)](_0x41d672)||this[_0xc3a617(0x1fa)]();}function _0x2e805e(){const _0x15dd31=_0x3a5a4f,_0xd4125=this[_0xb628c1];_0xd4125[_0x15dd31(0x156)]=_0x24170e[_0x15dd31(0x149)],_0xd4125['_receiver']['end'](),this[_0x15dd31(0x1fd)]();}function _0x5924d2(){const _0x32b6e3=_0x3a5a4f,_0x29e4dd=this[_0xb628c1];this[_0x32b6e3(0x1bb)]('error',_0x5924d2),this['on'](_0x32b6e3(0x180),_0x14fd1c),_0x29e4dd&&(_0x29e4dd[_0x32b6e3(0x156)]=_0x24170e[_0x32b6e3(0x149)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x21c21e}=oe;function _0x12bbbe(_0x5be559){const _0x413330=_0x401c;_0x5be559[_0x413330(0x121)]('close');}function _0xe51410(){const _0x109424=_0x401c;!this[_0x109424(0x210)]&&this['_writableState']['finished']&&this[_0x109424(0x124)]();}function _0x5f38c2(_0x28391c){const _0xd085d5=_0x401c;this[_0xd085d5(0x1bb)](_0xd085d5(0x180),_0x5f38c2),this['destroy'](),this[_0xd085d5(0x22e)]('error')===0x0&&this[_0xd085d5(0x121)]('error',_0x28391c);}function _0x44d15c(_0x42fd0b,_0x5713bb){const _0x4d0c4c=_0x401c;let _0x34eb57=!0x0;const _0x15bcb4=new _0x21c21e({..._0x5713bb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x42fd0b['on'](_0x4d0c4c(0x248),function(_0x4d44a4,_0x4844c4){const _0x33cb0c=_0x4d0c4c,_0x2eaeb8=!_0x4844c4&&_0x15bcb4[_0x33cb0c(0x116)]['objectMode']?_0x4d44a4[_0x33cb0c(0x244)]():_0x4d44a4;_0x15bcb4['push'](_0x2eaeb8)||_0x42fd0b[_0x33cb0c(0x1fa)]();}),_0x42fd0b[_0x4d0c4c(0x1ae)](_0x4d0c4c(0x180),function(_0x3d62a0){const _0x562f11=_0x4d0c4c;_0x15bcb4[_0x562f11(0x210)]||(_0x34eb57=!0x1,_0x15bcb4[_0x562f11(0x124)](_0x3d62a0));}),_0x42fd0b[_0x4d0c4c(0x1ae)]('close',function(){const _0x3b8464=_0x4d0c4c;_0x15bcb4['destroyed']||_0x15bcb4[_0x3b8464(0x12f)](null);}),_0x15bcb4['_destroy']=function(_0x544bce,_0x305d04){const _0x1f16af=_0x4d0c4c;if(_0x42fd0b[_0x1f16af(0x213)]===_0x42fd0b[_0x1f16af(0x221)]){_0x305d04(_0x544bce),process[_0x1f16af(0x215)](_0x12bbbe,_0x15bcb4);return;}let _0x4d422f=!0x1;_0x42fd0b[_0x1f16af(0x1ae)]('error',function(_0x411f96){_0x4d422f=!0x0,_0x305d04(_0x411f96);}),_0x42fd0b[_0x1f16af(0x1ae)](_0x1f16af(0x1dd),function(){const _0x14cfb4=_0x1f16af;_0x4d422f||_0x305d04(_0x544bce),process[_0x14cfb4(0x215)](_0x12bbbe,_0x15bcb4);}),_0x34eb57&&_0x42fd0b['terminate']();},_0x15bcb4[_0x4d0c4c(0x218)]=function(_0x1a1f9c){const _0x14b735=_0x4d0c4c;if(_0x42fd0b['readyState']===_0x42fd0b[_0x14b735(0x138)]){_0x42fd0b[_0x14b735(0x1ae)](_0x14b735(0x1e5),function(){const _0xcad68e=_0x14b735;_0x15bcb4[_0xcad68e(0x218)](_0x1a1f9c);});return;}_0x42fd0b[_0x14b735(0x172)]!==null&&(_0x42fd0b[_0x14b735(0x172)]['_writableState'][_0x14b735(0xe6)]?(_0x1a1f9c(),_0x15bcb4[_0x14b735(0x116)][_0x14b735(0x146)]&&_0x15bcb4['destroy']()):(_0x42fd0b['_socket'][_0x14b735(0x1ae)]('finish',function(){_0x1a1f9c();}),_0x42fd0b[_0x14b735(0x1dd)]()));},_0x15bcb4[_0x4d0c4c(0x1cd)]=function(){const _0x267f23=_0x4d0c4c;_0x42fd0b[_0x267f23(0x1e1)]&&_0x42fd0b[_0x267f23(0x27d)]();},_0x15bcb4[_0x4d0c4c(0x1a4)]=function(_0x822d7,_0x176b1e,_0x10039d){const _0x54c4b3=_0x4d0c4c;if(_0x42fd0b['readyState']===_0x42fd0b[_0x54c4b3(0x138)]){_0x42fd0b[_0x54c4b3(0x1ae)](_0x54c4b3(0x1e5),function(){const _0x52238b=_0x54c4b3;_0x15bcb4[_0x52238b(0x1a4)](_0x822d7,_0x176b1e,_0x10039d);});return;}_0x42fd0b[_0x54c4b3(0x1b7)](_0x822d7,_0x10039d);},_0x15bcb4['on'](_0x4d0c4c(0x1fd),_0xe51410),_0x15bcb4['on'](_0x4d0c4c(0x180),_0x5f38c2),_0x15bcb4;}return Oe=_0x44d15c,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x586b02}=ae();function _0x3c470d(_0x18c9d3){const _0x308b6d=_0x401c,_0x5b6ae5=new Set();let _0x2278a8=-0x1,_0x539548=-0x1,_0x1a1caa=0x0;for(_0x1a1caa;_0x1a1caa<_0x18c9d3[_0x308b6d(0xcb)];_0x1a1caa++){const _0x37d608=_0x18c9d3[_0x308b6d(0x228)](_0x1a1caa);if(_0x539548===-0x1&&_0x586b02[_0x37d608]===0x1)_0x2278a8===-0x1&&(_0x2278a8=_0x1a1caa);else{if(_0x1a1caa!==0x0&&(_0x37d608===0x20||_0x37d608===0x9))_0x539548===-0x1&&_0x2278a8!==-0x1&&(_0x539548=_0x1a1caa);else{if(_0x37d608===0x2c){if(_0x2278a8===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1a1caa);_0x539548===-0x1&&(_0x539548=_0x1a1caa);const _0x57f1be=_0x18c9d3[_0x308b6d(0x271)](_0x2278a8,_0x539548);if(_0x5b6ae5[_0x308b6d(0x16e)](_0x57f1be))throw new SyntaxError('The\x20\x22'+_0x57f1be+'\x22\x20subprotocol\x20is\x20duplicated');_0x5b6ae5[_0x308b6d(0x126)](_0x57f1be),_0x2278a8=_0x539548=-0x1;}else throw new SyntaxError(_0x308b6d(0x102)+_0x1a1caa);}}}if(_0x2278a8===-0x1||_0x539548!==-0x1)throw new SyntaxError(_0x308b6d(0x20a));const _0x258232=_0x18c9d3['slice'](_0x2278a8,_0x1a1caa);if(_0x5b6ae5[_0x308b6d(0x16e)](_0x258232))throw new SyntaxError(_0x308b6d(0x239)+_0x258232+_0x308b6d(0x1aa));return _0x5b6ae5['add'](_0x258232),_0x5b6ae5;}return Ce={'parse':_0x3c470d},Ce;}var Te,rt;function Ft(){const _0x956ad6=_0x3b8394;if(rt)return Te;rt=0x1;const _0x5e4455=nt,_0x41f223=ot,{Duplex:_0x1e3df4}=oe,{createHash:_0x56629a}=Le,_0x6f57a5=ct(),_0x10af67=he(),_0x34646d=At(),_0x4460b0=Pe(),{GUID:_0x372433,kWebSocket:_0x130f8e}=H(),_0x70f6c7=/^[+/0-9A-Za-z]{22}==$/,_0x40c609=0x0,_0x200163=0x1,_0x50fec0=0x2;class _0x5bc56e extends _0x5e4455{constructor(_0x2b10a6,_0x428a8b){const _0x3293d6=_0x401c;if(super(),_0x2b10a6={'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':_0x4460b0,..._0x2b10a6},_0x2b10a6[_0x3293d6(0x25c)]==null&&!_0x2b10a6[_0x3293d6(0xd9)]&&!_0x2b10a6[_0x3293d6(0x12a)]||_0x2b10a6[_0x3293d6(0x25c)]!=null&&(_0x2b10a6['server']||_0x2b10a6['noServer'])||_0x2b10a6[_0x3293d6(0xd9)]&&_0x2b10a6[_0x3293d6(0x12a)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2b10a6['port']!=null?(this[_0x3293d6(0x115)]=_0x41f223['createServer']((_0x2ca03f,_0x74a9d1)=>{const _0x5c423d=_0x3293d6,_0x26503c=_0x41f223['STATUS_CODES'][0x1aa];_0x74a9d1[_0x5c423d(0x191)](0x1aa,{'Content-Length':_0x26503c[_0x5c423d(0xcb)],'Content-Type':'text/plain'}),_0x74a9d1['end'](_0x26503c);}),this[_0x3293d6(0x115)][_0x3293d6(0x1a7)](_0x2b10a6[_0x3293d6(0x25c)],_0x2b10a6[_0x3293d6(0x1e3)],_0x2b10a6[_0x3293d6(0x1a9)],_0x428a8b)):_0x2b10a6[_0x3293d6(0xd9)]&&(this[_0x3293d6(0x115)]=_0x2b10a6['server']),this[_0x3293d6(0x115)]){const _0x441909=this[_0x3293d6(0x121)][_0x3293d6(0xd0)](this,_0x3293d6(0x233));this[_0x3293d6(0x11c)]=_0x4a0c0c(this[_0x3293d6(0x115)],{'listening':this['emit'][_0x3293d6(0xd0)](this,_0x3293d6(0x1e0)),'error':this['emit']['bind'](this,'error'),'upgrade':(_0x2e098f,_0x35d428,_0x4f6d76)=>{const _0x28b4d2=_0x3293d6;this[_0x28b4d2(0x136)](_0x2e098f,_0x35d428,_0x4f6d76,_0x441909);}});}_0x2b10a6[_0x3293d6(0xea)]===!0x0&&(_0x2b10a6['perMessageDeflate']={}),_0x2b10a6[_0x3293d6(0x20e)]&&(this[_0x3293d6(0x137)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x2b10a6,this['_state']=_0x40c609;}[_0x956ad6(0x122)](){const _0x540662=_0x956ad6;if(this[_0x540662(0x20c)][_0x540662(0x12a)])throw new Error(_0x540662(0xc5));return this['_server']?this[_0x540662(0x115)][_0x540662(0x122)]():null;}[_0x956ad6(0x1dd)](_0x1c0993){const _0xa6d256=_0x956ad6;if(this['_state']===_0x50fec0){_0x1c0993&&this['once'](_0xa6d256(0x1dd),()=>{const _0x24f480=_0xa6d256;_0x1c0993(new Error(_0x24f480(0x1af)));}),process[_0xa6d256(0x215)](_0x27332a,this);return;}if(_0x1c0993&&this[_0xa6d256(0x1ae)]('close',_0x1c0993),this[_0xa6d256(0x151)]!==_0x200163){if(this[_0xa6d256(0x151)]=_0x200163,this['options'][_0xa6d256(0x12a)]||this[_0xa6d256(0x20c)][_0xa6d256(0xd9)])this[_0xa6d256(0x115)]&&(this[_0xa6d256(0x11c)](),this[_0xa6d256(0x11c)]=this['_server']=null),this['clients']?this[_0xa6d256(0x137)][_0xa6d256(0x184)]?this[_0xa6d256(0x21c)]=!0x0:process[_0xa6d256(0x215)](_0x27332a,this):process[_0xa6d256(0x215)](_0x27332a,this);else{const _0x2bd409=this[_0xa6d256(0x115)];this[_0xa6d256(0x11c)](),this[_0xa6d256(0x11c)]=this['_server']=null,_0x2bd409[_0xa6d256(0x1dd)](()=>{_0x27332a(this);});}}}[_0x956ad6(0x1b4)](_0xe5f3d5){const _0x138bc9=_0x956ad6;if(this[_0x138bc9(0x20c)][_0x138bc9(0x195)]){const _0x20bb18=_0xe5f3d5[_0x138bc9(0x24e)][_0x138bc9(0x26e)]('?');if((_0x20bb18!==-0x1?_0xe5f3d5[_0x138bc9(0x24e)]['slice'](0x0,_0x20bb18):_0xe5f3d5[_0x138bc9(0x24e)])!==this[_0x138bc9(0x20c)][_0x138bc9(0x195)])return!0x1;}return!0x0;}[_0x956ad6(0x136)](_0xc7e4,_0xb72b2d,_0xe54279,_0x503661){const _0x567fbf=_0x956ad6;_0xb72b2d['on'](_0x567fbf(0x180),_0x5753d0);const _0x5e3e9e=_0xc7e4[_0x567fbf(0xe2)][_0x567fbf(0x1d9)],_0x145ebc=_0xc7e4[_0x567fbf(0xe2)][_0x567fbf(0x1f2)],_0x55d375=+_0xc7e4[_0x567fbf(0xe2)]['sec-websocket-version'];if(_0xc7e4[_0x567fbf(0xf1)]!==_0x567fbf(0x130)){_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x195,_0x567fbf(0xf4));return;}if(_0x145ebc===void 0x0||_0x145ebc[_0x567fbf(0x276)]()!==_0x567fbf(0x13e)){_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5e3e9e===void 0x0||!_0x70f6c7['test'](_0x5e3e9e)){_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x55d375!==0x8&&_0x55d375!==0xd){_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x567fbf(0x1b4)](_0xc7e4)){_0x1f9450(_0xb72b2d,0x190);return;}const _0x118434=_0xc7e4[_0x567fbf(0xe2)][_0x567fbf(0x1bc)];let _0x9fed9c=new Set();if(_0x118434!==void 0x0)try{_0x9fed9c=_0x34646d[_0x567fbf(0x289)](_0x118434);}catch{_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,_0x567fbf(0x260));return;}const _0x124999=_0xc7e4[_0x567fbf(0xe2)][_0x567fbf(0x27e)],_0x4160d1={};if(this[_0x567fbf(0x20c)][_0x567fbf(0xea)]&&_0x124999!==void 0x0){const _0xb13e7=new _0x10af67(this[_0x567fbf(0x20c)]['perMessageDeflate'],!0x0,this[_0x567fbf(0x20c)]['maxPayload']);try{const _0xa55408=_0x6f57a5[_0x567fbf(0x289)](_0x124999);_0xa55408[_0x10af67['extensionName']]&&(_0xb13e7[_0x567fbf(0x27c)](_0xa55408[_0x10af67[_0x567fbf(0x270)]]),_0x4160d1[_0x10af67['extensionName']]=_0xb13e7);}catch{_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,_0x567fbf(0x118));return;}}if(this[_0x567fbf(0x20c)][_0x567fbf(0x131)]){const _0x4516dd={'origin':_0xc7e4['headers'][''+(_0x55d375===0x8?'sec-websocket-origin':_0x567fbf(0x169))],'secure':!!(_0xc7e4[_0x567fbf(0xfb)][_0x567fbf(0x157)]||_0xc7e4[_0x567fbf(0xfb)][_0x567fbf(0x132)]),'req':_0xc7e4};if(this['options'][_0x567fbf(0x131)]['length']===0x2){this['options']['verifyClient'](_0x4516dd,(_0xa46677,_0x46cd9f,_0x13e6d,_0x636ab1)=>{if(!_0xa46677)return _0x1f9450(_0xb72b2d,_0x46cd9f||0x191,_0x13e6d,_0x636ab1);this['completeUpgrade'](_0x4160d1,_0x5e3e9e,_0x9fed9c,_0xc7e4,_0xb72b2d,_0xe54279,_0x503661);});return;}if(!this[_0x567fbf(0x20c)][_0x567fbf(0x131)](_0x4516dd))return _0x1f9450(_0xb72b2d,0x191);}this[_0x567fbf(0xf9)](_0x4160d1,_0x5e3e9e,_0x9fed9c,_0xc7e4,_0xb72b2d,_0xe54279,_0x503661);}[_0x956ad6(0xf9)](_0x33391e,_0x48b338,_0x4b8e01,_0x14759f,_0x181d6b,_0x2952bb,_0xabb1ad){const _0x3d51be=_0x956ad6;if(!_0x181d6b[_0x3d51be(0x16b)]||!_0x181d6b['writable'])return _0x181d6b[_0x3d51be(0x124)]();if(_0x181d6b[_0x130f8e])throw new Error(_0x3d51be(0x199));if(this[_0x3d51be(0x151)]>_0x40c609)return _0x1f9450(_0x181d6b,0x1f7);const _0x2289c9=[_0x3d51be(0x113),'Upgrade:\x20websocket',_0x3d51be(0x20f),_0x3d51be(0x268)+_0x56629a('sha1')[_0x3d51be(0x256)](_0x48b338+_0x372433)[_0x3d51be(0x1d6)](_0x3d51be(0x1a2))],_0x86b435=new this[(_0x3d51be(0x20c))][(_0x3d51be(0x1d0))](null,void 0x0,this[_0x3d51be(0x20c)]);if(_0x4b8e01[_0x3d51be(0x184)]){const _0x2d92d8=this[_0x3d51be(0x20c)]['handleProtocols']?this[_0x3d51be(0x20c)][_0x3d51be(0xe7)](_0x4b8e01,_0x14759f):_0x4b8e01[_0x3d51be(0x224)]()[_0x3d51be(0x1f3)]()[_0x3d51be(0x1f0)];_0x2d92d8&&(_0x2289c9[_0x3d51be(0x12f)](_0x3d51be(0x14a)+_0x2d92d8),_0x86b435[_0x3d51be(0x1a0)]=_0x2d92d8);}if(_0x33391e[_0x10af67[_0x3d51be(0x270)]]){const _0x30cfac=_0x33391e[_0x10af67[_0x3d51be(0x270)]][_0x3d51be(0x107)],_0x502467=_0x6f57a5['format']({[_0x10af67[_0x3d51be(0x270)]]:[_0x30cfac]});_0x2289c9[_0x3d51be(0x12f)](_0x3d51be(0x277)+_0x502467),_0x86b435[_0x3d51be(0x133)]=_0x33391e;}this[_0x3d51be(0x121)](_0x3d51be(0xe2),_0x2289c9,_0x14759f),_0x181d6b['write'](_0x2289c9[_0x3d51be(0x1f5)]('\x0d\x0a')[_0x3d51be(0x261)]('\x0d\x0a')),_0x181d6b[_0x3d51be(0x1bb)](_0x3d51be(0x180),_0x5753d0),_0x86b435['setSocket'](_0x181d6b,_0x2952bb,{'allowSynchronousEvents':this[_0x3d51be(0x20c)]['allowSynchronousEvents'],'maxPayload':this[_0x3d51be(0x20c)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x3d51be(0x137)]&&(this[_0x3d51be(0x137)][_0x3d51be(0x126)](_0x86b435),_0x86b435['on']('close',()=>{const _0x238649=_0x3d51be;this['clients'][_0x238649(0xf8)](_0x86b435),this[_0x238649(0x21c)]&&!this[_0x238649(0x137)][_0x238649(0x184)]&&process[_0x238649(0x215)](_0x27332a,this);})),_0xabb1ad(_0x86b435,_0x14759f);}}Te=_0x5bc56e;function _0x4a0c0c(_0x1ffa0f,_0x1a6a30){for(const _0x46ca17 of Object['keys'](_0x1a6a30))_0x1ffa0f['on'](_0x46ca17,_0x1a6a30[_0x46ca17]);return function(){const _0xd6055a=_0x401c;for(const _0x2013f4 of Object[_0xd6055a(0x1f1)](_0x1a6a30))_0x1ffa0f[_0xd6055a(0x1bb)](_0x2013f4,_0x1a6a30[_0x2013f4]);};}function _0x27332a(_0x4d6b72){const _0x56f15e=_0x956ad6;_0x4d6b72[_0x56f15e(0x151)]=_0x50fec0,_0x4d6b72[_0x56f15e(0x121)](_0x56f15e(0x1dd));}function _0x5753d0(){const _0x37bb83=_0x956ad6;this[_0x37bb83(0x124)]();}function _0x1f9450(_0x54f4de,_0x29a05b,_0x44c2ae,_0x54dcae){const _0x399156=_0x956ad6;_0x44c2ae=_0x44c2ae||_0x41f223[_0x399156(0x173)][_0x29a05b],_0x54dcae={'Connection':_0x399156(0x1dd),'Content-Type':_0x399156(0xdc),'Content-Length':Buffer[_0x399156(0x1a5)](_0x44c2ae),..._0x54dcae},_0x54f4de[_0x399156(0x1ae)]('finish',_0x54f4de['destroy']),_0x54f4de[_0x399156(0x1fd)](_0x399156(0x24c)+_0x29a05b+'\x20'+_0x41f223[_0x399156(0x173)][_0x29a05b]+'\x0d\x0a'+Object[_0x399156(0x1f1)](_0x54dcae)[_0x399156(0x18f)](_0x2e957a=>_0x2e957a+':\x20'+_0x54dcae[_0x2e957a])[_0x399156(0x261)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x44c2ae);}function _0x4e90ae(_0x5df500,_0x21cfb1,_0x4f9be4,_0x224fce,_0x3209d0){const _0x25276e=_0x956ad6;if(_0x5df500[_0x25276e(0x22e)](_0x25276e(0x28a))){const _0x51597c=new Error(_0x3209d0);Error[_0x25276e(0x246)](_0x51597c,_0x4e90ae),_0x5df500[_0x25276e(0x121)](_0x25276e(0x28a),_0x51597c,_0x4f9be4,_0x21cfb1);}else _0x1f9450(_0x4f9be4,_0x224fce,_0x3209d0);}return Te;}Ft();var jt=Object[_0x3b8394(0xf3)],Wt=(_0x2a8309,_0x3302be,_0x524432,_0x4ac908)=>{for(var _0x1ffbe8=_0x4ac908>0x1?void 0x0:_0x4ac908?jt(_0x3302be,_0x524432):_0x3302be,_0x5889de=_0x2a8309['length']-0x1,_0x2521fd;_0x5889de>=0x0;_0x5889de--)(_0x2521fd=_0x2a8309[_0x5889de])&&(_0x1ffbe8=_0x2521fd(_0x1ffbe8)||_0x1ffbe8);return _0x1ffbe8;},qt=(_0x76290f,_0x3af057)=>(_0x493d94,_0x502b6b)=>_0x3af057(_0x493d94,_0x502b6b,_0x76290f);let ke=class extends A[_0x3b8394(0x1f8)]{constructor(_0x12a060){super(),this['_configService']=_0x12a060;}['createSocket'](_0x30aea4){const _0x31f38f=_0x3b8394;var _0x520656;const _0x72df03=(_0x520656=this['_configService'][_0x31f38f(0x192)](fe))==null?void 0x0:_0x520656[_0x31f38f(0x193)];try{const _0x56cef4=new $t(_0x30aea4,{'headers':{..._0x72df03}}),_0x1a2956=new A[(_0x31f38f(0x1e2))]();return{'URL':_0x30aea4,'close':(_0x19df03,_0x3a5334)=>{const _0x4d8287=_0x31f38f;_0x56cef4[_0x4d8287(0x1dd)](_0x19df03,_0x3a5334),_0x1a2956[_0x4d8287(0x12e)]();},'send':_0x32c0a4=>{const _0x2300bc=_0x31f38f;_0x56cef4[_0x2300bc(0x1b7)](_0x32c0a4);},'open$':new V['Observable'](_0x333338=>{const _0x650c3d=_0x31f38f,_0x393ab0=_0x4c9920=>_0x333338[_0x650c3d(0x1f3)](_0x4c9920);_0x56cef4[_0x650c3d(0x20b)](_0x650c3d(0x1e5),_0x393ab0),_0x1a2956[_0x650c3d(0x126)](A['toDisposable'](()=>_0x56cef4['removeEventListener']('open',_0x393ab0)));})[_0x31f38f(0x284)](V[_0x31f38f(0x158)]()),'close$':new V[(_0x31f38f(0x196))](_0x1af2c0=>{const _0x37795d=_0x31f38f,_0x49f437=_0xc29d88=>_0x1af2c0['next'](_0xc29d88);_0x56cef4[_0x37795d(0x20b)]('close',_0x49f437),_0x1a2956['add'](A[_0x37795d(0xec)](()=>_0x56cef4[_0x37795d(0x10d)]('close',_0x49f437)));})[_0x31f38f(0x284)](V[_0x31f38f(0x158)]()),'error$':new V[(_0x31f38f(0x196))](_0x5e0d17=>{const _0x3cff7e=_0x31f38f,_0x137653=_0x45e528=>_0x5e0d17['next'](_0x45e528);_0x56cef4[_0x3cff7e(0x20b)](_0x3cff7e(0x180),_0x137653),_0x1a2956[_0x3cff7e(0x126)](A[_0x3cff7e(0xec)](()=>_0x56cef4[_0x3cff7e(0x10d)](_0x3cff7e(0x180),_0x137653)));})[_0x31f38f(0x284)](V[_0x31f38f(0x158)]()),'message$':new V[(_0x31f38f(0x196))](_0x508a4d=>{const _0x2a7928=_0x31f38f,_0x31612e=_0x52dcec=>_0x508a4d[_0x2a7928(0x1f3)](_0x52dcec);_0x56cef4['addEventListener'](_0x2a7928(0x248),_0x31612e),_0x1a2956[_0x2a7928(0x126)](A[_0x2a7928(0xec)](()=>_0x56cef4[_0x2a7928(0x10d)](_0x2a7928(0x248),_0x31612e)));})[_0x31f38f(0x284)](V[_0x31f38f(0x158)]())};}catch(_0x5b4949){return console[_0x31f38f(0x180)](_0x5b4949),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x3b8394(0x1e4)],Vt=Object[_0x3b8394(0xf3)],Ht=(_0x119846,_0x2a589c,_0x196cad)=>_0x2a589c in _0x119846?Gt(_0x119846,_0x2a589c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x196cad}):_0x119846[_0x2a589c]=_0x196cad,zt=(_0x3916eb,_0x2c2e48,_0x3bb4fc,_0x5dafcf)=>{const _0x1d4b84=_0x3b8394;for(var _0x3f8229=_0x5dafcf>0x1?void 0x0:_0x5dafcf?Vt(_0x2c2e48,_0x3bb4fc):_0x2c2e48,_0x41d36c=_0x3916eb[_0x1d4b84(0xcb)]-0x1,_0x29bd9f;_0x41d36c>=0x0;_0x41d36c--)(_0x29bd9f=_0x3916eb[_0x41d36c])&&(_0x3f8229=_0x29bd9f(_0x3f8229)||_0x3f8229);return _0x3f8229;},Ne=(_0x3a4056,_0x3c5b7d)=>(_0x1c46dc,_0x56032b)=>_0x3c5b7d(_0x1c46dc,_0x56032b,_0x3a4056),Yt=(_0x2e6e7f,_0x3b2da6,_0x3f70bf)=>Ht(_0x2e6e7f,_0x3b2da6+'',_0x3f70bf);exports[_0x3b8394(0xd6)]=class extends A[_0x3b8394(0x13f)]{constructor(_0x5131b4=Ct,_0x405f5e,_0x5e6290,_0x1dc22d){const _0x3570ea=_0x3b8394;_0x5131b4['customHeaders']||_0x405f5e[_0x3570ea(0x203)](_0x3570ea(0x241)),super(),this[_0x3570ea(0xe0)]=_0x5e6290,this['_injector']=_0x1dc22d,this['_configService']['setConfig'](fe,_0x5131b4);}[_0x3b8394(0x18c)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x52989e=_0x3b8394;A['registerDependencies'](this[_0x52989e(0x178)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x3b8394(0xd6)],_0x3b8394(0x278),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x3b8394(0xd6)]=zt([A[_0x3b8394(0x15f)](st[_0x3b8394(0x1b0)]),Ne(0x1,A[_0x3b8394(0x1b2)]),Ne(0x2,A[_0x3b8394(0x170)]),Ne(0x3,A[_0x3b8394(0x274)](A[_0x3b8394(0x189)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x3b8394(0xf3)],Xt=(_0x4bff0c,_0x511216,_0x1f6059,_0xbec1d2)=>{for(var _0x1117ac=_0xbec1d2>0x1?void 0x0:_0xbec1d2?Kt(_0x511216,_0x1f6059):_0x511216,_0x77c229=_0x4bff0c['length']-0x1,_0x200d7e;_0x77c229>=0x0;_0x77c229--)(_0x200d7e=_0x4bff0c[_0x77c229])&&(_0x1117ac=_0x200d7e(_0x1117ac)||_0x1117ac);return _0x1117ac;},ne=(_0x4f8c95,_0x2b1886)=>(_0x21eb1c,_0x2bb87a)=>_0x2b1886(_0x21eb1c,_0x2bb87a,_0x4f8c95);exports[_0x3b8394(0x1c9)]=class extends st[_0x3b8394(0x17c)]{constructor(_0x5a23c0,_0x3dca76,_0x268cf0,_0x26b0e5,_0x1c66f2){const _0x8be875=_0x3b8394;super(_0x5a23c0,_0x3dca76,_0x268cf0,_0x26b0e5,_0x1c66f2);const _0x1925d0=this['_configService'][_0x8be875(0x192)](fe);this[_0x8be875(0xde)][_0x8be875(0x162)]({'interceptor':(_0x4aa07f,_0x4f2ce9)=>{const _0x53c5a7=_0x8be875;var _0x1f69b7;const _0x663ca7=_0x4aa07f[_0x53c5a7(0xe2)];return(_0x1f69b7=_0x1925d0==null?void 0x0:_0x1925d0[_0x53c5a7(0x193)])!=null&&_0x1f69b7[_0x53c5a7(0x12d)]&&_0x663ca7[_0x53c5a7(0x252)](_0x53c5a7(0xda),_0x1925d0[_0x53c5a7(0x193)][_0x53c5a7(0x12d)]),_0x4f2ce9(_0x4aa07f);}});}async[_0x3b8394(0x1ea)](_0x22bcdd){const _0x35d427=_0x3b8394;return this[_0x35d427(0x242)](_0x22bcdd);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x3b8394(0x274)](A[_0x3b8394(0x189)])),ne(0x1,A[_0x3b8394(0x274)](it[_0x3b8394(0x259)])),ne(0x2,A[_0x3b8394(0x170)]),ne(0x3,A[_0x3b8394(0x1b2)]),ne(0x4,Ot[_0x3b8394(0x25f)])],exports[_0x3b8394(0x1c9)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;