@univerjs-pro/collaboration-client-node 0.11.0-nightly.202511151013 → 0.12.0-nightly.202511220628

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 _0x3f9da1=_0x5d9d;(function(_0x43d3b5,_0x2f73db){const _0x1ee399=_0x5d9d,_0x1ff139=_0x43d3b5();while(!![]){try{const _0x21edf=parseInt(_0x1ee399(0x17f))/0x1+-parseInt(_0x1ee399(0x20a))/0x2+parseInt(_0x1ee399(0x212))/0x3*(-parseInt(_0x1ee399(0xe6))/0x4)+-parseInt(_0x1ee399(0x1ac))/0x5*(-parseInt(_0x1ee399(0x1f5))/0x6)+-parseInt(_0x1ee399(0x228))/0x7*(-parseInt(_0x1ee399(0x1e0))/0x8)+-parseInt(_0x1ee399(0x11d))/0x9+parseInt(_0x1ee399(0x10d))/0xa;if(_0x21edf===_0x2f73db)break;else _0x1ff139['push'](_0x1ff139['shift']());}catch(_0x265c10){_0x1ff139['push'](_0x1ff139['shift']());}}}(_0x4e69,0x69b69));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x3f9da1(0x1c4)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x57ebd8){const _0x49118a=_0x3f9da1;return _0x57ebd8&&_0x57ebd8[_0x49118a(0x1a7)]&&Object[_0x49118a(0x1ff)][_0x49118a(0x19a)][_0x49118a(0xdb)](_0x57ebd8,_0x49118a(0x113))?_0x57ebd8[_0x49118a(0x113)]:_0x57ebd8;}function at(_0x1b201f){const _0x5f272e=_0x3f9da1;if(Object[_0x5f272e(0x1ff)][_0x5f272e(0x19a)]['call'](_0x1b201f,_0x5f272e(0x1a7)))return _0x1b201f;var _0x1060b9=_0x1b201f[_0x5f272e(0x113)];if(typeof _0x1060b9==_0x5f272e(0xdc)){var _0xfa8265=function _0x1bde0d(){const _0x310d36=_0x5f272e;var _0x309fb0=!0x1;try{_0x309fb0=this instanceof _0x1bde0d;}catch{}return _0x309fb0?Reflect[_0x310d36(0x1cf)](_0x1060b9,arguments,this[_0x310d36(0x18f)]):_0x1060b9[_0x310d36(0x135)](this,arguments);};_0xfa8265[_0x5f272e(0x1ff)]=_0x1060b9[_0x5f272e(0x1ff)];}else _0xfa8265={};return Object[_0x5f272e(0x9a)](_0xfa8265,_0x5f272e(0x1a7),{'value':!0x0}),Object['keys'](_0x1b201f)['forEach'](function(_0x1ccbcb){const _0x1ace79=_0x5f272e;var _0x332b37=Object[_0x1ace79(0x1ca)](_0x1b201f,_0x1ccbcb);Object['defineProperty'](_0xfa8265,_0x1ccbcb,_0x332b37[_0x1ace79(0x117)]?_0x332b37:{'enumerable':!0x0,'get':function(){return _0x1b201f[_0x1ccbcb];}});}),_0xfa8265;}var se={'exports':{}},ge,Ge;function H(){const _0x2fc0cf=_0x3f9da1;if(Ge)return ge;Ge=0x1;const _0xe0556=['nodebuffer',_0x2fc0cf(0xb9),_0x2fc0cf(0xa2)],_0x2c37a7=typeof Blob<'u';return _0x2c37a7&&_0xe0556[_0x2fc0cf(0x91)]('blob'),ge={'BINARY_TYPES':_0xe0556,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x2fc0cf(0x175),'hasBlob':_0x2c37a7,'kForOnEventAttribute':Symbol(_0x2fc0cf(0x206)),'kListener':Symbol(_0x2fc0cf(0x101)),'kStatusCode':Symbol(_0x2fc0cf(0xae)),'kWebSocket':Symbol(_0x2fc0cf(0x1d5)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x3f9da1(0x1c9)](Object[_0x3f9da1(0x9a)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x3f9da1(0x1c4)})),Lt=at(kt);var Ve;function ce(){const _0x358766=_0x3f9da1;if(Ve)return se[_0x358766(0x115)];Ve=0x1;const {EMPTY_BUFFER:_0x371311}=H(),_0x382142=Buffer[Symbol['species']];function _0x820538(_0x6134a2,_0x500fe9){const _0x538f0d=_0x358766;if(_0x6134a2[_0x538f0d(0x11f)]===0x0)return _0x371311;if(_0x6134a2[_0x538f0d(0x11f)]===0x1)return _0x6134a2[0x0];const _0x404585=Buffer[_0x538f0d(0x1e9)](_0x500fe9);let _0x4ded9e=0x0;for(let _0x2ac3b7=0x0;_0x2ac3b7<_0x6134a2[_0x538f0d(0x11f)];_0x2ac3b7++){const _0x5ddc47=_0x6134a2[_0x2ac3b7];_0x404585['set'](_0x5ddc47,_0x4ded9e),_0x4ded9e+=_0x5ddc47[_0x538f0d(0x11f)];}return _0x4ded9e<_0x500fe9?new _0x382142(_0x404585[_0x538f0d(0x247)],_0x404585[_0x538f0d(0x123)],_0x4ded9e):_0x404585;}function _0x460f98(_0x1f2c4e,_0x2f4db5,_0x4a55eb,_0x257541,_0x16db52){for(let _0x5aa56a=0x0;_0x5aa56a<_0x16db52;_0x5aa56a++)_0x4a55eb[_0x257541+_0x5aa56a]=_0x1f2c4e[_0x5aa56a]^_0x2f4db5[_0x5aa56a&0x3];}function _0x34bc4d(_0x54bac7,_0x1393cd){const _0x419652=_0x358766;for(let _0x196a14=0x0;_0x196a14<_0x54bac7[_0x419652(0x11f)];_0x196a14++)_0x54bac7[_0x196a14]^=_0x1393cd[_0x196a14&0x3];}function _0x2dea49(_0x37ef58){const _0x4043ad=_0x358766;return _0x37ef58[_0x4043ad(0x11f)]===_0x37ef58[_0x4043ad(0x247)][_0x4043ad(0x15e)]?_0x37ef58[_0x4043ad(0x247)]:_0x37ef58[_0x4043ad(0x247)][_0x4043ad(0x156)](_0x37ef58['byteOffset'],_0x37ef58[_0x4043ad(0x123)]+_0x37ef58['length']);}function _0x829f8b(_0x33d222){const _0x93ae12=_0x358766;if(_0x829f8b[_0x93ae12(0xea)]=!0x0,Buffer[_0x93ae12(0x148)](_0x33d222))return _0x33d222;let _0x18abd6;return _0x33d222 instanceof ArrayBuffer?_0x18abd6=new _0x382142(_0x33d222):ArrayBuffer[_0x93ae12(0x230)](_0x33d222)?_0x18abd6=new _0x382142(_0x33d222['buffer'],_0x33d222[_0x93ae12(0x123)],_0x33d222['byteLength']):(_0x18abd6=Buffer['from'](_0x33d222),_0x829f8b[_0x93ae12(0xea)]=!0x1),_0x18abd6;}if(se[_0x358766(0x115)]={'concat':_0x820538,'mask':_0x460f98,'toArrayBuffer':_0x2dea49,'toBuffer':_0x829f8b,'unmask':_0x34bc4d},!process['env'][_0x358766(0x1d6)])try{const _0x2a35e5=Lt;se[_0x358766(0x115)]['mask']=function(_0x4ae3c8,_0x36c55f,_0x3144aa,_0x5b66be,_0x236e5e){const _0x18f251=_0x358766;_0x236e5e<0x30?_0x460f98(_0x4ae3c8,_0x36c55f,_0x3144aa,_0x5b66be,_0x236e5e):_0x2a35e5[_0x18f251(0x82)](_0x4ae3c8,_0x36c55f,_0x3144aa,_0x5b66be,_0x236e5e);},se['exports'][_0x358766(0xa6)]=function(_0x441b76,_0x4b7429){const _0x4f16a5=_0x358766;_0x441b76[_0x4f16a5(0x11f)]<0x20?_0x34bc4d(_0x441b76,_0x4b7429):_0x2a35e5[_0x4f16a5(0xa6)](_0x441b76,_0x4b7429);};}catch{}return se[_0x358766(0x115)];}var ye,He;function Pt(){const _0x388057=_0x3f9da1;if(He)return ye;He=0x1;const _0x2daf36=Symbol(_0x388057(0x16e)),_0x512f21=Symbol(_0x388057(0x201));class _0x458418{constructor(_0x3f5f83){const _0x2c29ce=_0x388057;this[_0x2daf36]=()=>{const _0x589bbd=_0x5d9d;this[_0x589bbd(0x210)]--,this[_0x512f21]();},this[_0x2c29ce(0x111)]=_0x3f5f83||0x1/0x0,this[_0x2c29ce(0xb4)]=[],this[_0x2c29ce(0x210)]=0x0;}[_0x388057(0x1a5)](_0x5879e2){const _0x31254a=_0x388057;this[_0x31254a(0xb4)][_0x31254a(0x91)](_0x5879e2),this[_0x512f21]();}[_0x512f21](){const _0x662901=_0x388057;if(this[_0x662901(0x210)]!==this[_0x662901(0x111)]&&this[_0x662901(0xb4)][_0x662901(0x11f)]){const _0x32ae01=this['jobs'][_0x662901(0x248)]();this[_0x662901(0x210)]++,_0x32ae01(this[_0x2daf36]);}}}return ye=_0x458418,ye;}var ve,ze;function he(){const _0x52b2fc=_0x3f9da1;if(ze)return ve;ze=0x1;const _0x149b35=bt,_0x32ce60=ce(),_0x5ae8d2=Pt(),{kStatusCode:_0x2dc96b}=H(),_0x16ab80=Buffer[Symbol[_0x52b2fc(0x227)]],_0x2d5538=Buffer['from']([0x0,0x0,0xff,0xff]),_0x33d721=Symbol(_0x52b2fc(0x16c)),_0x43fceb=Symbol(_0x52b2fc(0xe4)),_0x371072=Symbol(_0x52b2fc(0xd9)),_0x291ae2=Symbol('buffers'),_0x2253dd=Symbol(_0x52b2fc(0x129));let _0x284d78;class _0x48a229{constructor(_0x5e803b,_0x1a1b84,_0x1ce051){const _0x136338=_0x52b2fc;if(this['_maxPayload']=_0x1ce051|0x0,this[_0x136338(0x23b)]=_0x5e803b||{},this[_0x136338(0x183)]=this[_0x136338(0x23b)][_0x136338(0x174)]!==void 0x0?this['_options'][_0x136338(0x174)]:0x400,this[_0x136338(0x202)]=!!_0x1a1b84,this[_0x136338(0x184)]=null,this[_0x136338(0x235)]=null,this[_0x136338(0x9c)]=null,!_0x284d78){const _0x419e90=this[_0x136338(0x23b)][_0x136338(0x1d0)]!==void 0x0?this[_0x136338(0x23b)]['concurrencyLimit']:0xa;_0x284d78=new _0x5ae8d2(_0x419e90);}}static get[_0x52b2fc(0xef)](){return'permessage-deflate';}[_0x52b2fc(0x233)](){const _0xc100a6=_0x52b2fc,_0x387be6={};return this[_0xc100a6(0x23b)][_0xc100a6(0x193)]&&(_0x387be6[_0xc100a6(0x8f)]=!0x0),this[_0xc100a6(0x23b)]['clientNoContextTakeover']&&(_0x387be6['client_no_context_takeover']=!0x0),this[_0xc100a6(0x23b)][_0xc100a6(0x105)]&&(_0x387be6[_0xc100a6(0x19d)]=this[_0xc100a6(0x23b)][_0xc100a6(0x105)]),this[_0xc100a6(0x23b)][_0xc100a6(0x83)]?_0x387be6['client_max_window_bits']=this[_0xc100a6(0x23b)][_0xc100a6(0x83)]:this[_0xc100a6(0x23b)][_0xc100a6(0x83)]==null&&(_0x387be6[_0xc100a6(0x1e2)]=!0x0),_0x387be6;}[_0x52b2fc(0x213)](_0x43a8b3){const _0x41a3ec=_0x52b2fc;return _0x43a8b3=this[_0x41a3ec(0xa0)](_0x43a8b3),this[_0x41a3ec(0x9c)]=this[_0x41a3ec(0x202)]?this[_0x41a3ec(0x192)](_0x43a8b3):this['acceptAsClient'](_0x43a8b3),this['params'];}['cleanup'](){const _0x493c42=_0x52b2fc;if(this['_inflate']&&(this['_inflate']['close'](),this[_0x493c42(0x235)]=null),this[_0x493c42(0x184)]){const _0x128af1=this['_deflate'][_0x371072];this[_0x493c42(0x184)]['close'](),this[_0x493c42(0x184)]=null,_0x128af1&&_0x128af1(new Error(_0x493c42(0xb7)));}}[_0x52b2fc(0x192)](_0xd09016){const _0x4ad807=_0x52b2fc,_0x53c340=this['_options'],_0x5b4dfa=_0xd09016[_0x4ad807(0x1b9)](_0x30e63a=>!(_0x53c340['serverNoContextTakeover']===!0x1&&_0x30e63a[_0x4ad807(0x8f)]||_0x30e63a['server_max_window_bits']&&(_0x53c340[_0x4ad807(0x105)]===!0x1||typeof _0x53c340['serverMaxWindowBits']=='number'&&_0x53c340[_0x4ad807(0x105)]>_0x30e63a[_0x4ad807(0x19d)])||typeof _0x53c340['clientMaxWindowBits']==_0x4ad807(0x1ef)&&!_0x30e63a[_0x4ad807(0x1e2)]));if(!_0x5b4dfa)throw new Error(_0x4ad807(0x1e8));return _0x53c340[_0x4ad807(0x193)]&&(_0x5b4dfa[_0x4ad807(0x8f)]=!0x0),_0x53c340[_0x4ad807(0xab)]&&(_0x5b4dfa[_0x4ad807(0x23e)]=!0x0),typeof _0x53c340['serverMaxWindowBits']==_0x4ad807(0x1ef)&&(_0x5b4dfa[_0x4ad807(0x19d)]=_0x53c340[_0x4ad807(0x105)]),typeof _0x53c340['clientMaxWindowBits']==_0x4ad807(0x1ef)?_0x5b4dfa['client_max_window_bits']=_0x53c340[_0x4ad807(0x83)]:(_0x5b4dfa['client_max_window_bits']===!0x0||_0x53c340[_0x4ad807(0x83)]===!0x1)&&delete _0x5b4dfa[_0x4ad807(0x1e2)],_0x5b4dfa;}['acceptAsClient'](_0x149d19){const _0x3e48c2=_0x52b2fc,_0x2b818a=_0x149d19[0x0];if(this[_0x3e48c2(0x23b)][_0x3e48c2(0xab)]===!0x1&&_0x2b818a[_0x3e48c2(0x23e)])throw new Error(_0x3e48c2(0xed));if(!_0x2b818a[_0x3e48c2(0x1e2)])typeof this[_0x3e48c2(0x23b)][_0x3e48c2(0x83)]==_0x3e48c2(0x1ef)&&(_0x2b818a[_0x3e48c2(0x1e2)]=this[_0x3e48c2(0x23b)][_0x3e48c2(0x83)]);else{if(this['_options'][_0x3e48c2(0x83)]===!0x1||typeof this[_0x3e48c2(0x23b)]['clientMaxWindowBits']=='number'&&_0x2b818a[_0x3e48c2(0x1e2)]>this[_0x3e48c2(0x23b)][_0x3e48c2(0x83)])throw new Error(_0x3e48c2(0xb0));}return _0x2b818a;}[_0x52b2fc(0xa0)](_0x3bb2bd){const _0x2ff093=_0x52b2fc;return _0x3bb2bd[_0x2ff093(0x165)](_0x2735a3=>{const _0x58f82b=_0x2ff093;Object[_0x58f82b(0x186)](_0x2735a3)[_0x58f82b(0x165)](_0x19ab04=>{const _0x31affd=_0x58f82b;let _0x180424=_0x2735a3[_0x19ab04];if(_0x180424[_0x31affd(0x11f)]>0x1)throw new Error(_0x31affd(0x160)+_0x19ab04+_0x31affd(0x10c));if(_0x180424=_0x180424[0x0],_0x19ab04==='client_max_window_bits'){if(_0x180424!==!0x0){const _0x2d138a=+_0x180424;if(!Number[_0x31affd(0x1b2)](_0x2d138a)||_0x2d138a<0x8||_0x2d138a>0xf)throw new TypeError(_0x31affd(0x209)+_0x19ab04+_0x31affd(0x20f)+_0x180424);_0x180424=_0x2d138a;}else{if(!this['_isServer'])throw new TypeError(_0x31affd(0x209)+_0x19ab04+_0x31affd(0x20f)+_0x180424);}}else{if(_0x19ab04==='server_max_window_bits'){const _0x1031ef=+_0x180424;if(!Number[_0x31affd(0x1b2)](_0x1031ef)||_0x1031ef<0x8||_0x1031ef>0xf)throw new TypeError(_0x31affd(0x209)+_0x19ab04+_0x31affd(0x20f)+_0x180424);_0x180424=_0x1031ef;}else{if(_0x19ab04===_0x31affd(0x23e)||_0x19ab04===_0x31affd(0x8f)){if(_0x180424!==!0x0)throw new TypeError(_0x31affd(0x209)+_0x19ab04+_0x31affd(0x20f)+_0x180424);}else throw new Error(_0x31affd(0x85)+_0x19ab04+'\x22');}}_0x2735a3[_0x19ab04]=_0x180424;});}),_0x3bb2bd;}[_0x52b2fc(0x109)](_0x51099c,_0x28552c,_0x1b5b10){const _0x5250e1=_0x52b2fc;_0x284d78[_0x5250e1(0x1a5)](_0x2f5337=>{const _0x31437a=_0x5250e1;this[_0x31437a(0xca)](_0x51099c,_0x28552c,(_0x1db728,_0x2322ba)=>{_0x2f5337(),_0x1b5b10(_0x1db728,_0x2322ba);});});}['compress'](_0x5434c9,_0xa5662,_0x57dff1){const _0x489d12=_0x52b2fc;_0x284d78[_0x489d12(0x1a5)](_0x53b5be=>{const _0x2ad957=_0x489d12;this[_0x2ad957(0x1b7)](_0x5434c9,_0xa5662,(_0x100d18,_0x51e8ce)=>{_0x53b5be(),_0x57dff1(_0x100d18,_0x51e8ce);});});}[_0x52b2fc(0xca)](_0x475fe2,_0x236a82,_0x58456c){const _0x21d645=_0x52b2fc,_0x2a4688=this[_0x21d645(0x202)]?_0x21d645(0xb8):_0x21d645(0x108);if(!this[_0x21d645(0x235)]){const _0x1ea50a=_0x2a4688+_0x21d645(0xb6),_0x35496d=typeof this[_0x21d645(0x9c)][_0x1ea50a]!=_0x21d645(0x1ef)?_0x149b35[_0x21d645(0x243)]:this[_0x21d645(0x9c)][_0x1ea50a];this[_0x21d645(0x235)]=_0x149b35['createInflateRaw']({...this[_0x21d645(0x23b)][_0x21d645(0x8d)],'windowBits':_0x35496d}),this[_0x21d645(0x235)][_0x33d721]=this,this[_0x21d645(0x235)][_0x43fceb]=0x0,this[_0x21d645(0x235)][_0x291ae2]=[],this[_0x21d645(0x235)]['on'](_0x21d645(0x129),_0x54d7bd),this[_0x21d645(0x235)]['on'](_0x21d645(0xa8),_0x2e7c91);}this[_0x21d645(0x235)][_0x371072]=_0x58456c,this[_0x21d645(0x235)][_0x21d645(0x106)](_0x475fe2),_0x236a82&&this[_0x21d645(0x235)][_0x21d645(0x106)](_0x2d5538),this[_0x21d645(0x235)][_0x21d645(0x125)](()=>{const _0x3687f2=_0x21d645,_0x32e837=this[_0x3687f2(0x235)][_0x2253dd];if(_0x32e837){this[_0x3687f2(0x235)][_0x3687f2(0x1f2)](),this[_0x3687f2(0x235)]=null,_0x58456c(_0x32e837);return;}const _0x95e2ef=_0x32ce60[_0x3687f2(0xfe)](this[_0x3687f2(0x235)][_0x291ae2],this['_inflate'][_0x43fceb]);this[_0x3687f2(0x235)][_0x3687f2(0x10f)]['endEmitted']?(this[_0x3687f2(0x235)][_0x3687f2(0x1f2)](),this[_0x3687f2(0x235)]=null):(this[_0x3687f2(0x235)][_0x43fceb]=0x0,this['_inflate'][_0x291ae2]=[],_0x236a82&&this[_0x3687f2(0x9c)][_0x2a4688+_0x3687f2(0x139)]&&this[_0x3687f2(0x235)][_0x3687f2(0x152)]()),_0x58456c(null,_0x95e2ef);});}[_0x52b2fc(0x1b7)](_0x2cf0de,_0x34e530,_0x1de672){const _0x165214=_0x52b2fc,_0x4718fc=this[_0x165214(0x202)]?_0x165214(0x108):_0x165214(0xb8);if(!this[_0x165214(0x184)]){const _0x4c6566=_0x4718fc+_0x165214(0xb6),_0x4a47d8=typeof this[_0x165214(0x9c)][_0x4c6566]!=_0x165214(0x1ef)?_0x149b35[_0x165214(0x243)]:this['params'][_0x4c6566];this[_0x165214(0x184)]=_0x149b35[_0x165214(0xdf)]({...this[_0x165214(0x23b)][_0x165214(0x157)],'windowBits':_0x4a47d8}),this['_deflate'][_0x43fceb]=0x0,this[_0x165214(0x184)][_0x291ae2]=[],this['_deflate']['on']('data',_0x3aba92);}this[_0x165214(0x184)][_0x371072]=_0x1de672,this[_0x165214(0x184)]['write'](_0x2cf0de),this[_0x165214(0x184)]['flush'](_0x149b35['Z_SYNC_FLUSH'],()=>{const _0x300778=_0x165214;if(!this[_0x300778(0x184)])return;let _0x6fdf6a=_0x32ce60[_0x300778(0xfe)](this['_deflate'][_0x291ae2],this[_0x300778(0x184)][_0x43fceb]);_0x34e530&&(_0x6fdf6a=new _0x16ab80(_0x6fdf6a['buffer'],_0x6fdf6a[_0x300778(0x123)],_0x6fdf6a['length']-0x4)),this['_deflate'][_0x371072]=null,this[_0x300778(0x184)][_0x43fceb]=0x0,this[_0x300778(0x184)][_0x291ae2]=[],_0x34e530&&this[_0x300778(0x9c)][_0x4718fc+_0x300778(0x139)]&&this[_0x300778(0x184)][_0x300778(0x152)](),_0x1de672(null,_0x6fdf6a);});}}ve=_0x48a229;function _0x3aba92(_0x2c9e93){const _0x2e02a6=_0x52b2fc;this[_0x291ae2][_0x2e02a6(0x91)](_0x2c9e93),this[_0x43fceb]+=_0x2c9e93[_0x2e02a6(0x11f)];}function _0x2e7c91(_0x2d1a77){const _0x35f2e1=_0x52b2fc;if(this[_0x43fceb]+=_0x2d1a77[_0x35f2e1(0x11f)],this[_0x33d721][_0x35f2e1(0x17e)]<0x1||this[_0x43fceb]<=this[_0x33d721]['_maxPayload']){this[_0x291ae2][_0x35f2e1(0x91)](_0x2d1a77);return;}this[_0x2253dd]=new RangeError(_0x35f2e1(0x120)),this[_0x2253dd]['code']=_0x35f2e1(0x13a),this[_0x2253dd][_0x2dc96b]=0x3f1,this[_0x35f2e1(0x145)](_0x35f2e1(0xa8),_0x2e7c91),this[_0x35f2e1(0x152)]();}function _0x54d7bd(_0x2e8c12){const _0x52678d=_0x52b2fc;if(this[_0x33d721][_0x52678d(0x235)]=null,this[_0x2253dd]){this[_0x371072](this[_0x2253dd]);return;}_0x2e8c12[_0x2dc96b]=0x3ef,this[_0x371072](_0x2e8c12);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x3f9da1(0x9a)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x3f9da1(0x1c4)})),Bt=at(Rt);var Ye;function ae(){const _0xf6a7c0=_0x3f9da1;if(Ye)return ie[_0xf6a7c0(0x115)];Ye=0x1;const {isUtf8:_0xef47ce}=wt,{hasBlob:_0x2e787c}=H(),_0x3e7b75=[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 _0x26e679(_0x4b6739){return _0x4b6739>=0x3e8&&_0x4b6739<=0x3f6&&_0x4b6739!==0x3ec&&_0x4b6739!==0x3ed&&_0x4b6739!==0x3ee||_0x4b6739>=0xbb8&&_0x4b6739<=0x1387;}function _0x508891(_0x5a8cb2){const _0x58174b=_0xf6a7c0,_0x3a1ca3=_0x5a8cb2[_0x58174b(0x11f)];let _0x361a31=0x0;for(;_0x361a31<_0x3a1ca3;)if((_0x5a8cb2[_0x361a31]&0x80)===0x0)_0x361a31++;else{if((_0x5a8cb2[_0x361a31]&0xe0)===0xc0){if(_0x361a31+0x1===_0x3a1ca3||(_0x5a8cb2[_0x361a31+0x1]&0xc0)!==0x80||(_0x5a8cb2[_0x361a31]&0xfe)===0xc0)return!0x1;_0x361a31+=0x2;}else{if((_0x5a8cb2[_0x361a31]&0xf0)===0xe0){if(_0x361a31+0x2>=_0x3a1ca3||(_0x5a8cb2[_0x361a31+0x1]&0xc0)!==0x80||(_0x5a8cb2[_0x361a31+0x2]&0xc0)!==0x80||_0x5a8cb2[_0x361a31]===0xe0&&(_0x5a8cb2[_0x361a31+0x1]&0xe0)===0x80||_0x5a8cb2[_0x361a31]===0xed&&(_0x5a8cb2[_0x361a31+0x1]&0xe0)===0xa0)return!0x1;_0x361a31+=0x3;}else{if((_0x5a8cb2[_0x361a31]&0xf8)===0xf0){if(_0x361a31+0x3>=_0x3a1ca3||(_0x5a8cb2[_0x361a31+0x1]&0xc0)!==0x80||(_0x5a8cb2[_0x361a31+0x2]&0xc0)!==0x80||(_0x5a8cb2[_0x361a31+0x3]&0xc0)!==0x80||_0x5a8cb2[_0x361a31]===0xf0&&(_0x5a8cb2[_0x361a31+0x1]&0xf0)===0x80||_0x5a8cb2[_0x361a31]===0xf4&&_0x5a8cb2[_0x361a31+0x1]>0x8f||_0x5a8cb2[_0x361a31]>0xf4)return!0x1;_0x361a31+=0x4;}else return!0x1;}}}return!0x0;}function _0x549dd1(_0x2867bb){const _0x3b618f=_0xf6a7c0;return _0x2e787c&&typeof _0x2867bb==_0x3b618f(0x164)&&typeof _0x2867bb[_0x3b618f(0x112)]==_0x3b618f(0xdc)&&typeof _0x2867bb[_0x3b618f(0x151)]=='string'&&typeof _0x2867bb['stream']==_0x3b618f(0xdc)&&(_0x2867bb[Symbol[_0x3b618f(0x1a9)]]==='Blob'||_0x2867bb[Symbol[_0x3b618f(0x1a9)]]===_0x3b618f(0x150));}if(ie[_0xf6a7c0(0x115)]={'isBlob':_0x549dd1,'isValidStatusCode':_0x26e679,'isValidUTF8':_0x508891,'tokenChars':_0x3e7b75},_0xef47ce)ie[_0xf6a7c0(0x115)]['isValidUTF8']=function(_0xa0d9db){const _0x491202=_0xf6a7c0;return _0xa0d9db[_0x491202(0x11f)]<0x18?_0x508891(_0xa0d9db):_0xef47ce(_0xa0d9db);};else{if(!process[_0xf6a7c0(0x92)][_0xf6a7c0(0x1be)])try{const _0x2bcbd7=Bt;ie['exports'][_0xf6a7c0(0xac)]=function(_0x378908){const _0x4bd237=_0xf6a7c0;return _0x378908[_0x4bd237(0x11f)]<0x20?_0x508891(_0x378908):_0x2bcbd7(_0x378908);};}catch{}}return ie[_0xf6a7c0(0x115)];}var Se,Ke;function lt(){const _0x1cb458=_0x3f9da1;if(Ke)return Se;Ke=0x1;const {Writable:_0x23ccf8}=oe,_0x409e03=he(),{BINARY_TYPES:_0x1b7752,EMPTY_BUFFER:_0x232828,kStatusCode:_0x118774,kWebSocket:_0x37333d}=H(),{concat:_0x5f4e5e,toArrayBuffer:_0xe11481,unmask:_0x120d59}=ce(),{isValidStatusCode:_0x5ad42c,isValidUTF8:_0x1bb67a}=ae(),_0x1e2b5e=Buffer[Symbol[_0x1cb458(0x227)]],_0x5bea38=0x0,_0x2b7139=0x1,_0x2c0823=0x2,_0x30e504=0x3,_0x3b5ade=0x4,_0x1854c2=0x5,_0x4a3e77=0x6;class _0x398e39 extends _0x23ccf8{constructor(_0x528bbf={}){const _0x5afcb5=_0x1cb458;super(),this[_0x5afcb5(0xe5)]=_0x528bbf[_0x5afcb5(0x94)]!==void 0x0?_0x528bbf[_0x5afcb5(0x94)]:!0x0,this[_0x5afcb5(0x220)]=_0x528bbf['binaryType']||_0x1b7752[0x0],this[_0x5afcb5(0x13e)]=_0x528bbf['extensions']||{},this[_0x5afcb5(0x202)]=!!_0x528bbf['isServer'],this[_0x5afcb5(0x17e)]=_0x528bbf['maxPayload']|0x0,this[_0x5afcb5(0x104)]=!!_0x528bbf['skipUTF8Validation'],this[_0x37333d]=void 0x0,this[_0x5afcb5(0x1b0)]=0x0,this[_0x5afcb5(0xf9)]=[],this[_0x5afcb5(0x1f7)]=!0x1,this['_payloadLength']=0x0,this[_0x5afcb5(0x180)]=void 0x0,this[_0x5afcb5(0x1d8)]=0x0,this[_0x5afcb5(0x16d)]=!0x1,this[_0x5afcb5(0x21c)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x5afcb5(0x166)]=0x0,this['_fragments']=[],this[_0x5afcb5(0x14e)]=!0x1,this[_0x5afcb5(0xf1)]=!0x1,this[_0x5afcb5(0x240)]=_0x5bea38;}[_0x1cb458(0x8e)](_0x214952,_0x58df28,_0xccc385){const _0x330e1f=_0x1cb458;if(this['_opcode']===0x8&&this['_state']==_0x5bea38)return _0xccc385();this[_0x330e1f(0x1b0)]+=_0x214952[_0x330e1f(0x11f)],this[_0x330e1f(0xf9)][_0x330e1f(0x91)](_0x214952),this[_0x330e1f(0x96)](_0xccc385);}[_0x1cb458(0xa1)](_0x321c68){const _0x2a9413=_0x1cb458;if(this[_0x2a9413(0x1b0)]-=_0x321c68,_0x321c68===this[_0x2a9413(0xf9)][0x0][_0x2a9413(0x11f)])return this[_0x2a9413(0xf9)]['shift']();if(_0x321c68<this[_0x2a9413(0xf9)][0x0][_0x2a9413(0x11f)]){const _0x46a7d9=this['_buffers'][0x0];return this[_0x2a9413(0xf9)][0x0]=new _0x1e2b5e(_0x46a7d9['buffer'],_0x46a7d9[_0x2a9413(0x123)]+_0x321c68,_0x46a7d9[_0x2a9413(0x11f)]-_0x321c68),new _0x1e2b5e(_0x46a7d9[_0x2a9413(0x247)],_0x46a7d9[_0x2a9413(0x123)],_0x321c68);}const _0x48fc27=Buffer[_0x2a9413(0x1e9)](_0x321c68);do{const _0x4497f2=this[_0x2a9413(0xf9)][0x0],_0x58ab65=_0x48fc27[_0x2a9413(0x11f)]-_0x321c68;_0x321c68>=_0x4497f2[_0x2a9413(0x11f)]?_0x48fc27[_0x2a9413(0x176)](this[_0x2a9413(0xf9)][_0x2a9413(0x248)](),_0x58ab65):(_0x48fc27['set'](new Uint8Array(_0x4497f2['buffer'],_0x4497f2[_0x2a9413(0x123)],_0x321c68),_0x58ab65),this[_0x2a9413(0xf9)][0x0]=new _0x1e2b5e(_0x4497f2['buffer'],_0x4497f2[_0x2a9413(0x123)]+_0x321c68,_0x4497f2[_0x2a9413(0x11f)]-_0x321c68)),_0x321c68-=_0x4497f2[_0x2a9413(0x11f)];}while(_0x321c68>0x0);return _0x48fc27;}[_0x1cb458(0x96)](_0x207b75){const _0x2f6fb1=_0x1cb458;this[_0x2f6fb1(0xf1)]=!0x0;do switch(this['_state']){case _0x5bea38:this[_0x2f6fb1(0xff)](_0x207b75);break;case _0x2b7139:this[_0x2f6fb1(0x146)](_0x207b75);break;case _0x2c0823:this[_0x2f6fb1(0x21e)](_0x207b75);break;case _0x30e504:this[_0x2f6fb1(0xeb)]();break;case _0x3b5ade:this['getData'](_0x207b75);break;case _0x1854c2:case _0x4a3e77:this[_0x2f6fb1(0xf1)]=!0x1;return;}while(this[_0x2f6fb1(0xf1)]);this[_0x2f6fb1(0x14e)]||_0x207b75();}[_0x1cb458(0xff)](_0x30a42c){const _0x331daf=_0x1cb458;if(this[_0x331daf(0x1b0)]<0x2){this[_0x331daf(0xf1)]=!0x1;return;}const _0x4cbc8c=this[_0x331daf(0xa1)](0x2);if((_0x4cbc8c[0x0]&0x30)!==0x0){const _0x445166=this[_0x331daf(0x140)](RangeError,_0x331daf(0xc2),!0x0,0x3ea,_0x331daf(0xce));_0x30a42c(_0x445166);return;}const _0x3e559a=(_0x4cbc8c[0x0]&0x40)===0x40;if(_0x3e559a&&!this['_extensions'][_0x409e03[_0x331daf(0xef)]]){const _0x2bf01d=this[_0x331daf(0x140)](RangeError,_0x331daf(0xb5),!0x0,0x3ea,_0x331daf(0x182));_0x30a42c(_0x2bf01d);return;}if(this['_fin']=(_0x4cbc8c[0x0]&0x80)===0x80,this['_opcode']=_0x4cbc8c[0x0]&0xf,this['_payloadLength']=_0x4cbc8c[0x1]&0x7f,this[_0x331daf(0x131)]===0x0){if(_0x3e559a){const _0xddb40e=this[_0x331daf(0x140)](RangeError,_0x331daf(0xb5),!0x0,0x3ea,_0x331daf(0x182));_0x30a42c(_0xddb40e);return;}if(!this[_0x331daf(0x1d8)]){const _0x17c424=this[_0x331daf(0x140)](RangeError,_0x331daf(0x1fe),!0x0,0x3ea,_0x331daf(0xf0));_0x30a42c(_0x17c424);return;}this['_opcode']=this[_0x331daf(0x1d8)];}else{if(this[_0x331daf(0x131)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x28e672=this[_0x331daf(0x140)](RangeError,'invalid\x20opcode\x20'+this[_0x331daf(0x131)],!0x0,0x3ea,_0x331daf(0xf0));_0x30a42c(_0x28e672);return;}this[_0x331daf(0x1f7)]=_0x3e559a;}else{if(this[_0x331daf(0x131)]>0x7&&this[_0x331daf(0x131)]<0xb){if(!this[_0x331daf(0x21c)]){const _0x389717=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x30a42c(_0x389717);return;}if(_0x3e559a){const _0x5965f8=this[_0x331daf(0x140)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x331daf(0x182));_0x30a42c(_0x5965f8);return;}if(this[_0x331daf(0x102)]>0x7d||this[_0x331daf(0x131)]===0x8&&this[_0x331daf(0x102)]===0x1){const _0x383237=this['createError'](RangeError,_0x331daf(0x119)+this[_0x331daf(0x102)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x30a42c(_0x383237);return;}}else{const _0xc5c20f=this[_0x331daf(0x140)](RangeError,'invalid\x20opcode\x20'+this[_0x331daf(0x131)],!0x0,0x3ea,_0x331daf(0xf0));_0x30a42c(_0xc5c20f);return;}}}if(!this[_0x331daf(0x21c)]&&!this[_0x331daf(0x1d8)]&&(this[_0x331daf(0x1d8)]=this['_opcode']),this[_0x331daf(0x16d)]=(_0x4cbc8c[0x1]&0x80)===0x80,this[_0x331daf(0x202)]){if(!this[_0x331daf(0x16d)]){const _0x3bca3b=this[_0x331daf(0x140)](RangeError,_0x331daf(0x10e),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x30a42c(_0x3bca3b);return;}}else{if(this[_0x331daf(0x16d)]){const _0xc5bf6f=this[_0x331daf(0x140)](RangeError,_0x331daf(0xd0),!0x0,0x3ea,_0x331daf(0x1ad));_0x30a42c(_0xc5bf6f);return;}}this[_0x331daf(0x102)]===0x7e?this[_0x331daf(0x240)]=_0x2b7139:this['_payloadLength']===0x7f?this[_0x331daf(0x240)]=_0x2c0823:this['haveLength'](_0x30a42c);}['getPayloadLength16'](_0x548198){const _0x482952=_0x1cb458;if(this[_0x482952(0x1b0)]<0x2){this['_loop']=!0x1;return;}this[_0x482952(0x102)]=this[_0x482952(0xa1)](0x2)[_0x482952(0x20c)](0x0),this['haveLength'](_0x548198);}['getPayloadLength64'](_0x54b972){const _0xc42b2b=_0x1cb458;if(this[_0xc42b2b(0x1b0)]<0x8){this[_0xc42b2b(0xf1)]=!0x1;return;}const _0x282397=this[_0xc42b2b(0xa1)](0x8),_0x2bcda9=_0x282397[_0xc42b2b(0x1cd)](0x0);if(_0x2bcda9>Math[_0xc42b2b(0xe8)](0x2,0x15)-0x1){const _0x1d6c1a=this[_0xc42b2b(0x140)](RangeError,_0xc42b2b(0x8b),!0x1,0x3f1,_0xc42b2b(0xd6));_0x54b972(_0x1d6c1a);return;}this[_0xc42b2b(0x102)]=_0x2bcda9*Math[_0xc42b2b(0xe8)](0x2,0x20)+_0x282397['readUInt32BE'](0x4),this[_0xc42b2b(0x22a)](_0x54b972);}['haveLength'](_0x5976d4){const _0x57d71c=_0x1cb458;if(this[_0x57d71c(0x102)]&&this[_0x57d71c(0x131)]<0x8&&(this[_0x57d71c(0x1c3)]+=this[_0x57d71c(0x102)],this[_0x57d71c(0x1c3)]>this[_0x57d71c(0x17e)]&&this[_0x57d71c(0x17e)]>0x0)){const _0x45f7b5=this[_0x57d71c(0x140)](RangeError,_0x57d71c(0x120),!0x1,0x3f1,_0x57d71c(0x13a));_0x5976d4(_0x45f7b5);return;}this[_0x57d71c(0x16d)]?this[_0x57d71c(0x240)]=_0x30e504:this['_state']=_0x3b5ade;}[_0x1cb458(0xeb)](){const _0x20f617=_0x1cb458;if(this['_bufferedBytes']<0x4){this[_0x20f617(0xf1)]=!0x1;return;}this[_0x20f617(0x180)]=this[_0x20f617(0xa1)](0x4),this['_state']=_0x3b5ade;}[_0x1cb458(0x127)](_0x314729){const _0x7e64fd=_0x1cb458;let _0x9092ba=_0x232828;if(this[_0x7e64fd(0x102)]){if(this[_0x7e64fd(0x1b0)]<this[_0x7e64fd(0x102)]){this[_0x7e64fd(0xf1)]=!0x1;return;}_0x9092ba=this[_0x7e64fd(0xa1)](this[_0x7e64fd(0x102)]),this[_0x7e64fd(0x16d)]&&(this[_0x7e64fd(0x180)][0x0]|this[_0x7e64fd(0x180)][0x1]|this[_0x7e64fd(0x180)][0x2]|this[_0x7e64fd(0x180)][0x3])!==0x0&&_0x120d59(_0x9092ba,this['_mask']);}if(this[_0x7e64fd(0x131)]>0x7){this[_0x7e64fd(0xd1)](_0x9092ba,_0x314729);return;}if(this[_0x7e64fd(0x1f7)]){this[_0x7e64fd(0x240)]=_0x1854c2,this[_0x7e64fd(0x109)](_0x9092ba,_0x314729);return;}_0x9092ba[_0x7e64fd(0x11f)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x7e64fd(0xe0)][_0x7e64fd(0x91)](_0x9092ba)),this[_0x7e64fd(0xf4)](_0x314729);}['decompress'](_0x432e36,_0x1ce240){const _0x237cc6=_0x1cb458;this[_0x237cc6(0x13e)][_0x409e03['extensionName']][_0x237cc6(0x109)](_0x432e36,this[_0x237cc6(0x21c)],(_0x280f51,_0x16e835)=>{const _0xce6a9a=_0x237cc6;if(_0x280f51)return _0x1ce240(_0x280f51);if(_0x16e835[_0xce6a9a(0x11f)]){if(this[_0xce6a9a(0x166)]+=_0x16e835['length'],this[_0xce6a9a(0x166)]>this[_0xce6a9a(0x17e)]&&this[_0xce6a9a(0x17e)]>0x0){const _0xca8031=this[_0xce6a9a(0x140)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x1ce240(_0xca8031);return;}this[_0xce6a9a(0xe0)]['push'](_0x16e835);}this['dataMessage'](_0x1ce240),this[_0xce6a9a(0x240)]===_0x5bea38&&this[_0xce6a9a(0x96)](_0x1ce240);});}['dataMessage'](_0x259982){const _0x1b399d=_0x1cb458;if(!this[_0x1b399d(0x21c)]){this[_0x1b399d(0x240)]=_0x5bea38;return;}const _0x560673=this['_messageLength'],_0x3d3209=this['_fragments'];if(this[_0x1b399d(0x1c3)]=0x0,this['_messageLength']=0x0,this[_0x1b399d(0x1d8)]=0x0,this[_0x1b399d(0xe0)]=[],this['_opcode']===0x2){let _0x441fa8;this[_0x1b399d(0x220)]==='nodebuffer'?_0x441fa8=_0x5f4e5e(_0x3d3209,_0x560673):this[_0x1b399d(0x220)]===_0x1b399d(0xb9)?_0x441fa8=_0xe11481(_0x5f4e5e(_0x3d3209,_0x560673)):this[_0x1b399d(0x220)]===_0x1b399d(0x1ee)?_0x441fa8=new Blob(_0x3d3209):_0x441fa8=_0x3d3209,this[_0x1b399d(0xe5)]?(this['emit'](_0x1b399d(0x215),_0x441fa8,!0x0),this[_0x1b399d(0x240)]=_0x5bea38):(this['_state']=_0x4a3e77,setImmediate(()=>{const _0x4afc10=_0x1b399d;this[_0x4afc10(0x103)]('message',_0x441fa8,!0x0),this['_state']=_0x5bea38,this[_0x4afc10(0x96)](_0x259982);}));}else{const _0x130148=_0x5f4e5e(_0x3d3209,_0x560673);if(!this['_skipUTF8Validation']&&!_0x1bb67a(_0x130148)){const _0xf8d152=this[_0x1b399d(0x140)](Error,_0x1b399d(0x19b),!0x0,0x3ef,_0x1b399d(0xe1));_0x259982(_0xf8d152);return;}this[_0x1b399d(0x240)]===_0x1854c2||this[_0x1b399d(0xe5)]?(this[_0x1b399d(0x103)](_0x1b399d(0x215),_0x130148,!0x1),this[_0x1b399d(0x240)]=_0x5bea38):(this[_0x1b399d(0x240)]=_0x4a3e77,setImmediate(()=>{const _0x239a61=_0x1b399d;this['emit'](_0x239a61(0x215),_0x130148,!0x1),this[_0x239a61(0x240)]=_0x5bea38,this[_0x239a61(0x96)](_0x259982);}));}}[_0x1cb458(0xd1)](_0x17fcae,_0x52c06a){const _0x6f3d25=_0x1cb458;if(this[_0x6f3d25(0x131)]===0x8){if(_0x17fcae[_0x6f3d25(0x11f)]===0x0)this[_0x6f3d25(0xf1)]=!0x1,this[_0x6f3d25(0x103)](_0x6f3d25(0x161),0x3ed,_0x232828),this[_0x6f3d25(0xa9)]();else{const _0x5ee465=_0x17fcae[_0x6f3d25(0x20c)](0x0);if(!_0x5ad42c(_0x5ee465)){const _0x6e1d1b=this[_0x6f3d25(0x140)](RangeError,'invalid\x20status\x20code\x20'+_0x5ee465,!0x0,0x3ea,_0x6f3d25(0x211));_0x52c06a(_0x6e1d1b);return;}const _0x4753d1=new _0x1e2b5e(_0x17fcae[_0x6f3d25(0x247)],_0x17fcae[_0x6f3d25(0x123)]+0x2,_0x17fcae[_0x6f3d25(0x11f)]-0x2);if(!this[_0x6f3d25(0x104)]&&!_0x1bb67a(_0x4753d1)){const _0x392537=this[_0x6f3d25(0x140)](Error,_0x6f3d25(0x19b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x52c06a(_0x392537);return;}this['_loop']=!0x1,this['emit']('conclude',_0x5ee465,_0x4753d1),this['end']();}this['_state']=_0x5bea38;return;}this[_0x6f3d25(0xe5)]?(this[_0x6f3d25(0x103)](this['_opcode']===0x9?_0x6f3d25(0x17d):_0x6f3d25(0x1c5),_0x17fcae),this[_0x6f3d25(0x240)]=_0x5bea38):(this[_0x6f3d25(0x240)]=_0x4a3e77,setImmediate(()=>{const _0x5bcc58=_0x6f3d25;this[_0x5bcc58(0x103)](this[_0x5bcc58(0x131)]===0x9?'ping':_0x5bcc58(0x1c5),_0x17fcae),this['_state']=_0x5bea38,this[_0x5bcc58(0x96)](_0x52c06a);}));}[_0x1cb458(0x140)](_0x449041,_0x37e635,_0x93661d,_0x56d21f,_0x5eb7d9){const _0x38713f=_0x1cb458;this[_0x38713f(0xf1)]=!0x1,this[_0x38713f(0x14e)]=!0x0;const _0xb21995=new _0x449041(_0x93661d?'Invalid\x20WebSocket\x20frame:\x20'+_0x37e635:_0x37e635);return Error[_0x38713f(0xe3)](_0xb21995,this[_0x38713f(0x140)]),_0xb21995[_0x38713f(0x16f)]=_0x5eb7d9,_0xb21995[_0x118774]=_0x56d21f,_0xb21995;}}return Se=_0x398e39,Se;}var Ee,Xe;function ft(){const _0x5b197d=_0x3f9da1;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x30afcb}=oe,{randomFillSync:_0x20a5db}=Le,_0x469712=he(),{EMPTY_BUFFER:_0x18f841,kWebSocket:_0x342b0a,NOOP:_0x34c803}=H(),{isBlob:_0x10d9f7,isValidStatusCode:_0x2c017e}=ae(),{mask:_0xdb2939,toBuffer:_0x5df71e}=ce(),_0x56707e=Symbol(_0x5b197d(0xbe)),_0x11087a=Buffer[_0x5b197d(0x1ae)](0x4),_0x299b50=0x8*0x400;let _0x31948b,_0x305620=_0x299b50;const _0x87303c=0x0,_0x301802=0x1,_0x273849=0x2;class _0x530b95{constructor(_0x1b1efd,_0x4c487c,_0x214287){const _0x136779=_0x5b197d;this[_0x136779(0x13e)]=_0x4c487c||{},_0x214287&&(this[_0x136779(0x1fd)]=_0x214287,this[_0x136779(0xfd)]=Buffer[_0x136779(0x1ae)](0x4)),this['_socket']=_0x1b1efd,this[_0x136779(0x1c7)]=!0x0,this[_0x136779(0x1b7)]=!0x1,this[_0x136779(0x1b0)]=0x0,this[_0x136779(0x1fb)]=[],this[_0x136779(0x240)]=_0x87303c,this[_0x136779(0xb2)]=_0x34c803,this[_0x342b0a]=void 0x0;}static[_0x5b197d(0xc8)](_0x37a606,_0x22ed92){const _0xb62077=_0x5b197d;let _0x4333e8,_0x25feeb=!0x1,_0x3d8a05=0x2,_0x53a66f=!0x1;_0x22ed92[_0xb62077(0x82)]&&(_0x4333e8=_0x22ed92[_0xb62077(0x18a)]||_0x11087a,_0x22ed92[_0xb62077(0x1b4)]?_0x22ed92[_0xb62077(0x1b4)](_0x4333e8):(_0x305620===_0x299b50&&(_0x31948b===void 0x0&&(_0x31948b=Buffer[_0xb62077(0x1ae)](_0x299b50)),_0x20a5db(_0x31948b,0x0,_0x299b50),_0x305620=0x0),_0x4333e8[0x0]=_0x31948b[_0x305620++],_0x4333e8[0x1]=_0x31948b[_0x305620++],_0x4333e8[0x2]=_0x31948b[_0x305620++],_0x4333e8[0x3]=_0x31948b[_0x305620++]),_0x53a66f=(_0x4333e8[0x0]|_0x4333e8[0x1]|_0x4333e8[0x2]|_0x4333e8[0x3])===0x0,_0x3d8a05=0x6);let _0x36cc81;typeof _0x37a606==_0xb62077(0xfc)?(!_0x22ed92[_0xb62077(0x82)]||_0x53a66f)&&_0x22ed92[_0x56707e]!==void 0x0?_0x36cc81=_0x22ed92[_0x56707e]:(_0x37a606=Buffer[_0xb62077(0x154)](_0x37a606),_0x36cc81=_0x37a606[_0xb62077(0x11f)]):(_0x36cc81=_0x37a606[_0xb62077(0x11f)],_0x25feeb=_0x22ed92['mask']&&_0x22ed92['readOnly']&&!_0x53a66f);let _0x2ca58b=_0x36cc81;_0x36cc81>=0x10000?(_0x3d8a05+=0x8,_0x2ca58b=0x7f):_0x36cc81>0x7d&&(_0x3d8a05+=0x2,_0x2ca58b=0x7e);const _0x1ab818=Buffer[_0xb62077(0x1e9)](_0x25feeb?_0x36cc81+_0x3d8a05:_0x3d8a05);return _0x1ab818[0x0]=_0x22ed92[_0xb62077(0x12e)]?_0x22ed92[_0xb62077(0x133)]|0x80:_0x22ed92[_0xb62077(0x133)],_0x22ed92[_0xb62077(0x1ab)]&&(_0x1ab818[0x0]|=0x40),_0x1ab818[0x1]=_0x2ca58b,_0x2ca58b===0x7e?_0x1ab818[_0xb62077(0x181)](_0x36cc81,0x2):_0x2ca58b===0x7f&&(_0x1ab818[0x2]=_0x1ab818[0x3]=0x0,_0x1ab818[_0xb62077(0x214)](_0x36cc81,0x4,0x6)),_0x22ed92[_0xb62077(0x82)]?(_0x1ab818[0x1]|=0x80,_0x1ab818[_0x3d8a05-0x4]=_0x4333e8[0x0],_0x1ab818[_0x3d8a05-0x3]=_0x4333e8[0x1],_0x1ab818[_0x3d8a05-0x2]=_0x4333e8[0x2],_0x1ab818[_0x3d8a05-0x1]=_0x4333e8[0x3],_0x53a66f?[_0x1ab818,_0x37a606]:_0x25feeb?(_0xdb2939(_0x37a606,_0x4333e8,_0x1ab818,_0x3d8a05,_0x36cc81),[_0x1ab818]):(_0xdb2939(_0x37a606,_0x4333e8,_0x37a606,0x0,_0x36cc81),[_0x1ab818,_0x37a606])):[_0x1ab818,_0x37a606];}[_0x5b197d(0x1f2)](_0x21402c,_0x3d3b5b,_0x561c45,_0x34a649){const _0x2a223d=_0x5b197d;let _0x3b0db7;if(_0x21402c===void 0x0)_0x3b0db7=_0x18f841;else{if(typeof _0x21402c!='number'||!_0x2c017e(_0x21402c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x3d3b5b===void 0x0||!_0x3d3b5b['length'])_0x3b0db7=Buffer[_0x2a223d(0x1e9)](0x2),_0x3b0db7[_0x2a223d(0x181)](_0x21402c,0x0);else{const _0x40516f=Buffer[_0x2a223d(0x15e)](_0x3d3b5b);if(_0x40516f>0x7b)throw new RangeError(_0x2a223d(0x224));_0x3b0db7=Buffer[_0x2a223d(0x1e9)](0x2+_0x40516f),_0x3b0db7[_0x2a223d(0x181)](_0x21402c,0x0),typeof _0x3d3b5b==_0x2a223d(0xfc)?_0x3b0db7[_0x2a223d(0x106)](_0x3d3b5b,0x2):_0x3b0db7[_0x2a223d(0x176)](_0x3d3b5b,0x2);}}const _0x5c3705={[_0x56707e]:_0x3b0db7[_0x2a223d(0x11f)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x561c45,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2a223d(0x240)]!==_0x87303c?this[_0x2a223d(0x12b)]([this[_0x2a223d(0x203)],_0x3b0db7,!0x1,_0x5c3705,_0x34a649]):this[_0x2a223d(0x1de)](_0x530b95['frame'](_0x3b0db7,_0x5c3705),_0x34a649);}[_0x5b197d(0x17d)](_0x514ba2,_0x38f1cf,_0x4e5080){const _0x223556=_0x5b197d;let _0x5c7ea1,_0x1ea69f;if(typeof _0x514ba2==_0x223556(0xfc)?(_0x5c7ea1=Buffer[_0x223556(0x15e)](_0x514ba2),_0x1ea69f=!0x1):_0x10d9f7(_0x514ba2)?(_0x5c7ea1=_0x514ba2['size'],_0x1ea69f=!0x1):(_0x514ba2=_0x5df71e(_0x514ba2),_0x5c7ea1=_0x514ba2[_0x223556(0x11f)],_0x1ea69f=_0x5df71e[_0x223556(0xea)]),_0x5c7ea1>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x33bdc8={[_0x56707e]:_0x5c7ea1,'fin':!0x0,'generateMask':this[_0x223556(0x1fd)],'mask':_0x38f1cf,'maskBuffer':this[_0x223556(0xfd)],'opcode':0x9,'readOnly':_0x1ea69f,'rsv1':!0x1};_0x10d9f7(_0x514ba2)?this[_0x223556(0x240)]!==_0x87303c?this[_0x223556(0x12b)]([this[_0x223556(0x229)],_0x514ba2,!0x1,_0x33bdc8,_0x4e5080]):this[_0x223556(0x229)](_0x514ba2,!0x1,_0x33bdc8,_0x4e5080):this[_0x223556(0x240)]!==_0x87303c?this[_0x223556(0x12b)]([this[_0x223556(0x203)],_0x514ba2,!0x1,_0x33bdc8,_0x4e5080]):this[_0x223556(0x1de)](_0x530b95[_0x223556(0xc8)](_0x514ba2,_0x33bdc8),_0x4e5080);}[_0x5b197d(0x1c5)](_0x575408,_0x1860ea,_0x3c5b52){const _0x1ef678=_0x5b197d;let _0x498613,_0x354bf3;if(typeof _0x575408==_0x1ef678(0xfc)?(_0x498613=Buffer['byteLength'](_0x575408),_0x354bf3=!0x1):_0x10d9f7(_0x575408)?(_0x498613=_0x575408[_0x1ef678(0x134)],_0x354bf3=!0x1):(_0x575408=_0x5df71e(_0x575408),_0x498613=_0x575408[_0x1ef678(0x11f)],_0x354bf3=_0x5df71e['readOnly']),_0x498613>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1de531={[_0x56707e]:_0x498613,'fin':!0x0,'generateMask':this[_0x1ef678(0x1fd)],'mask':_0x1860ea,'maskBuffer':this[_0x1ef678(0xfd)],'opcode':0xa,'readOnly':_0x354bf3,'rsv1':!0x1};_0x10d9f7(_0x575408)?this[_0x1ef678(0x240)]!==_0x87303c?this[_0x1ef678(0x12b)]([this[_0x1ef678(0x229)],_0x575408,!0x1,_0x1de531,_0x3c5b52]):this['getBlobData'](_0x575408,!0x1,_0x1de531,_0x3c5b52):this['_state']!==_0x87303c?this[_0x1ef678(0x12b)]([this['dispatch'],_0x575408,!0x1,_0x1de531,_0x3c5b52]):this[_0x1ef678(0x1de)](_0x530b95[_0x1ef678(0xc8)](_0x575408,_0x1de531),_0x3c5b52);}[_0x5b197d(0x9b)](_0x32e379,_0x513ae3,_0xac1c0d){const _0x1645e4=_0x5b197d,_0xa010fa=this[_0x1645e4(0x13e)][_0x469712['extensionName']];let _0x17c93e=_0x513ae3['binary']?0x2:0x1,_0x171193=_0x513ae3[_0x1645e4(0x234)],_0x58a169,_0x560f7d;typeof _0x32e379==_0x1645e4(0xfc)?(_0x58a169=Buffer[_0x1645e4(0x15e)](_0x32e379),_0x560f7d=!0x1):_0x10d9f7(_0x32e379)?(_0x58a169=_0x32e379['size'],_0x560f7d=!0x1):(_0x32e379=_0x5df71e(_0x32e379),_0x58a169=_0x32e379[_0x1645e4(0x11f)],_0x560f7d=_0x5df71e[_0x1645e4(0xea)]),this['_firstFragment']?(this[_0x1645e4(0x1c7)]=!0x1,_0x171193&&_0xa010fa&&_0xa010fa[_0x1645e4(0x9c)][_0xa010fa[_0x1645e4(0x202)]?_0x1645e4(0x8f):_0x1645e4(0x23e)]&&(_0x171193=_0x58a169>=_0xa010fa[_0x1645e4(0x183)]),this['_compress']=_0x171193):(_0x171193=!0x1,_0x17c93e=0x0),_0x513ae3[_0x1645e4(0x12e)]&&(this['_firstFragment']=!0x0);const _0x5a5578={[_0x56707e]:_0x58a169,'fin':_0x513ae3[_0x1645e4(0x12e)],'generateMask':this['_generateMask'],'mask':_0x513ae3['mask'],'maskBuffer':this[_0x1645e4(0xfd)],'opcode':_0x17c93e,'readOnly':_0x560f7d,'rsv1':_0x171193};_0x10d9f7(_0x32e379)?this[_0x1645e4(0x240)]!==_0x87303c?this['enqueue']([this[_0x1645e4(0x229)],_0x32e379,this[_0x1645e4(0x1b7)],_0x5a5578,_0xac1c0d]):this['getBlobData'](_0x32e379,this[_0x1645e4(0x1b7)],_0x5a5578,_0xac1c0d):this['_state']!==_0x87303c?this[_0x1645e4(0x12b)]([this['dispatch'],_0x32e379,this[_0x1645e4(0x1b7)],_0x5a5578,_0xac1c0d]):this[_0x1645e4(0x203)](_0x32e379,this[_0x1645e4(0x1b7)],_0x5a5578,_0xac1c0d);}[_0x5b197d(0x229)](_0x1db724,_0x5d7026,_0x335b11,_0x1d3403){const _0x285a71=_0x5b197d;this[_0x285a71(0x1b0)]+=_0x335b11[_0x56707e],this['_state']=_0x273849,_0x1db724[_0x285a71(0x112)]()[_0x285a71(0xf2)](_0xa24994=>{const _0x317e19=_0x285a71;if(this[_0x317e19(0x197)][_0x317e19(0x1c1)]){const _0x1c4ec9=new Error(_0x317e19(0xcc));process[_0x317e19(0x84)](_0x2b0b3b,this,_0x1c4ec9,_0x1d3403);return;}this[_0x317e19(0x1b0)]-=_0x335b11[_0x56707e];const _0x5af09e=_0x5df71e(_0xa24994);_0x5d7026?this[_0x317e19(0x203)](_0x5af09e,_0x5d7026,_0x335b11,_0x1d3403):(this[_0x317e19(0x240)]=_0x87303c,this[_0x317e19(0x1de)](_0x530b95[_0x317e19(0xc8)](_0x5af09e,_0x335b11),_0x1d3403),this[_0x317e19(0x242)]());})[_0x285a71(0x22d)](_0x273888=>{const _0x556b0f=_0x285a71;process[_0x556b0f(0x84)](_0xed890,this,_0x273888,_0x1d3403);});}['dispatch'](_0x4ebd3d,_0x2b3490,_0x3f8881,_0x27cb61){const _0x4f9414=_0x5b197d;if(!_0x2b3490){this[_0x4f9414(0x1de)](_0x530b95['frame'](_0x4ebd3d,_0x3f8881),_0x27cb61);return;}const _0x170b47=this[_0x4f9414(0x13e)][_0x469712[_0x4f9414(0xef)]];this['_bufferedBytes']+=_0x3f8881[_0x56707e],this[_0x4f9414(0x240)]=_0x301802,_0x170b47[_0x4f9414(0x234)](_0x4ebd3d,_0x3f8881['fin'],(_0x2da223,_0x23ccfd)=>{const _0x49bc93=_0x4f9414;if(this[_0x49bc93(0x197)]['destroyed']){const _0x387c4a=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2b0b3b(this,_0x387c4a,_0x27cb61);return;}this['_bufferedBytes']-=_0x3f8881[_0x56707e],this[_0x49bc93(0x240)]=_0x87303c,_0x3f8881[_0x49bc93(0xea)]=!0x1,this[_0x49bc93(0x1de)](_0x530b95['frame'](_0x23ccfd,_0x3f8881),_0x27cb61),this[_0x49bc93(0x242)]();});}[_0x5b197d(0x242)](){const _0x4a604b=_0x5b197d;for(;this[_0x4a604b(0x240)]===_0x87303c&&this['_queue'][_0x4a604b(0x11f)];){const _0x37db41=this[_0x4a604b(0x1fb)][_0x4a604b(0x248)]();this[_0x4a604b(0x1b0)]-=_0x37db41[0x3][_0x56707e],Reflect[_0x4a604b(0x135)](_0x37db41[0x0],this,_0x37db41[_0x4a604b(0x156)](0x1));}}[_0x5b197d(0x12b)](_0x377c2b){const _0x327cde=_0x5b197d;this[_0x327cde(0x1b0)]+=_0x377c2b[0x3][_0x56707e],this[_0x327cde(0x1fb)][_0x327cde(0x91)](_0x377c2b);}['sendFrame'](_0x7104f0,_0xaf6f38){const _0x3579a8=_0x5b197d;_0x7104f0[_0x3579a8(0x11f)]===0x2?(this[_0x3579a8(0x197)][_0x3579a8(0x14f)](),this['_socket'][_0x3579a8(0x106)](_0x7104f0[0x0]),this['_socket'][_0x3579a8(0x106)](_0x7104f0[0x1],_0xaf6f38),this[_0x3579a8(0x197)][_0x3579a8(0x1f8)]()):this[_0x3579a8(0x197)][_0x3579a8(0x106)](_0x7104f0[0x0],_0xaf6f38);}}Ee=_0x530b95;function _0x2b0b3b(_0x4fa3d8,_0x1037b1,_0x3a71e7){const _0x5688=_0x5b197d;typeof _0x3a71e7==_0x5688(0xdc)&&_0x3a71e7(_0x1037b1);for(let _0xdf9a37=0x0;_0xdf9a37<_0x4fa3d8[_0x5688(0x1fb)][_0x5688(0x11f)];_0xdf9a37++){const _0x154bdf=_0x4fa3d8[_0x5688(0x1fb)][_0xdf9a37],_0x37d232=_0x154bdf[_0x154bdf[_0x5688(0x11f)]-0x1];typeof _0x37d232=='function'&&_0x37d232(_0x1037b1);}}function _0xed890(_0x2fc1df,_0x1c95c8,_0x24548b){const _0x59ebe6=_0x5b197d;_0x2b0b3b(_0x2fc1df,_0x1c95c8,_0x24548b),_0x2fc1df[_0x59ebe6(0xb2)](_0x1c95c8);}return Ee;}var xe,Ze;function It(){const _0x154100=_0x3f9da1;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2f947c,kListener:_0x5b5698}=H(),_0x48f08d=Symbol(_0x154100(0x1f1)),_0x3e0d18=Symbol(_0x154100(0x218)),_0x3c51ff=Symbol('kError'),_0xf5555b=Symbol(_0x154100(0x1e6)),_0x37f982=Symbol(_0x154100(0x23c)),_0x31cb4c=Symbol(_0x154100(0xe9)),_0x374f2a=Symbol(_0x154100(0x21d)),_0x521dd0=Symbol('kWasClean');class _0x20eb6b{constructor(_0x1471c5){this[_0x31cb4c]=null,this[_0x374f2a]=_0x1471c5;}get[_0x154100(0x12a)](){return this[_0x31cb4c];}get[_0x154100(0x151)](){return this[_0x374f2a];}}Object[_0x154100(0x9a)](_0x20eb6b[_0x154100(0x1ff)],'target',{'enumerable':!0x0}),Object[_0x154100(0x9a)](_0x20eb6b[_0x154100(0x1ff)],_0x154100(0x151),{'enumerable':!0x0});class _0x264c33 extends _0x20eb6b{constructor(_0x299ba1,_0x537d60={}){const _0x4503e1=_0x154100;super(_0x299ba1),this[_0x48f08d]=_0x537d60[_0x4503e1(0x16f)]===void 0x0?0x0:_0x537d60[_0x4503e1(0x16f)],this[_0x37f982]=_0x537d60[_0x4503e1(0xd3)]===void 0x0?'':_0x537d60[_0x4503e1(0xd3)],this[_0x521dd0]=_0x537d60[_0x4503e1(0xf8)]===void 0x0?!0x1:_0x537d60[_0x4503e1(0xf8)];}get[_0x154100(0x16f)](){return this[_0x48f08d];}get[_0x154100(0xd3)](){return this[_0x37f982];}get['wasClean'](){return this[_0x521dd0];}}Object['defineProperty'](_0x264c33['prototype'],_0x154100(0x16f),{'enumerable':!0x0}),Object[_0x154100(0x9a)](_0x264c33['prototype'],_0x154100(0xd3),{'enumerable':!0x0}),Object[_0x154100(0x9a)](_0x264c33[_0x154100(0x1ff)],_0x154100(0xf8),{'enumerable':!0x0});class _0x3d4de8 extends _0x20eb6b{constructor(_0x53e9a0,_0x32af78={}){const _0x3c58e0=_0x154100;super(_0x53e9a0),this[_0x3c51ff]=_0x32af78[_0x3c58e0(0x129)]===void 0x0?null:_0x32af78[_0x3c58e0(0x129)],this[_0xf5555b]=_0x32af78[_0x3c58e0(0x215)]===void 0x0?'':_0x32af78[_0x3c58e0(0x215)];}get[_0x154100(0x129)](){return this[_0x3c51ff];}get[_0x154100(0x215)](){return this[_0xf5555b];}}Object[_0x154100(0x9a)](_0x3d4de8[_0x154100(0x1ff)],_0x154100(0x129),{'enumerable':!0x0}),Object[_0x154100(0x9a)](_0x3d4de8[_0x154100(0x1ff)],_0x154100(0x215),{'enumerable':!0x0});class _0x709b49 extends _0x20eb6b{constructor(_0x4c2f5b,_0x467ccc={}){const _0x25a8b7=_0x154100;super(_0x4c2f5b),this[_0x3e0d18]=_0x467ccc[_0x25a8b7(0xa8)]===void 0x0?null:_0x467ccc[_0x25a8b7(0xa8)];}get[_0x154100(0xa8)](){return this[_0x3e0d18];}}Object[_0x154100(0x9a)](_0x709b49[_0x154100(0x1ff)],_0x154100(0xa8),{'enumerable':!0x0}),xe={'CloseEvent':_0x264c33,'ErrorEvent':_0x3d4de8,'Event':_0x20eb6b,'EventTarget':{'addEventListener'(_0x132d57,_0x5a00e9,_0x4cccff={}){const _0x3e9fba=_0x154100;for(const _0x30a719 of this['listeners'](_0x132d57))if(!_0x4cccff[_0x2f947c]&&_0x30a719[_0x5b5698]===_0x5a00e9&&!_0x30a719[_0x2f947c])return;let _0x485447;if(_0x132d57===_0x3e9fba(0x215))_0x485447=function(_0x47422c,_0x34a64d){const _0x1eeeda=_0x3e9fba,_0x6b198=new _0x709b49(_0x1eeeda(0x215),{'data':_0x34a64d?_0x47422c:_0x47422c[_0x1eeeda(0x172)]()});_0x6b198[_0x31cb4c]=this,_0x21d151(_0x5a00e9,this,_0x6b198);};else{if(_0x132d57===_0x3e9fba(0x1f2))_0x485447=function(_0x50ccc3,_0x493317){const _0x23b0d7=_0x3e9fba,_0x3b8d57=new _0x264c33('close',{'code':_0x50ccc3,'reason':_0x493317[_0x23b0d7(0x172)](),'wasClean':this[_0x23b0d7(0x177)]&&this[_0x23b0d7(0x238)]});_0x3b8d57[_0x31cb4c]=this,_0x21d151(_0x5a00e9,this,_0x3b8d57);};else{if(_0x132d57===_0x3e9fba(0x129))_0x485447=function(_0x444737){const _0x43bc60=_0x3e9fba,_0x1203bb=new _0x3d4de8(_0x43bc60(0x129),{'error':_0x444737,'message':_0x444737[_0x43bc60(0x215)]});_0x1203bb[_0x31cb4c]=this,_0x21d151(_0x5a00e9,this,_0x1203bb);};else{if(_0x132d57==='open')_0x485447=function(){const _0x3ae16f=_0x3e9fba,_0x5f049b=new _0x20eb6b(_0x3ae16f(0x1b3));_0x5f049b[_0x31cb4c]=this,_0x21d151(_0x5a00e9,this,_0x5f049b);};else return;}}}_0x485447[_0x2f947c]=!!_0x4cccff[_0x2f947c],_0x485447[_0x5b5698]=_0x5a00e9,_0x4cccff['once']?this[_0x3e9fba(0x86)](_0x132d57,_0x485447):this['on'](_0x132d57,_0x485447);},'removeEventListener'(_0x3a1630,_0x94f8f5){const _0x5330c4=_0x154100;for(const _0x272b61 of this[_0x5330c4(0x162)](_0x3a1630))if(_0x272b61[_0x5b5698]===_0x94f8f5&&!_0x272b61[_0x2f947c]){this['removeListener'](_0x3a1630,_0x272b61);break;}}},'MessageEvent':_0x709b49};function _0x21d151(_0x43918f,_0x194e2a,_0x392333){const _0x3439da=_0x154100;typeof _0x43918f==_0x3439da(0x164)&&_0x43918f[_0x3439da(0x97)]?_0x43918f['handleEvent']['call'](_0x43918f,_0x392333):_0x43918f[_0x3439da(0xdb)](_0x194e2a,_0x392333);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x4428c3}=ae();function _0x420f25(_0x27bb6f,_0x557384,_0x1614b9){_0x27bb6f[_0x557384]===void 0x0?_0x27bb6f[_0x557384]=[_0x1614b9]:_0x27bb6f[_0x557384]['push'](_0x1614b9);}function _0x33fb11(_0xf0a98d){const _0x402594=_0x5d9d,_0x574a3a=Object[_0x402594(0x8a)](null);let _0x3483b2=Object[_0x402594(0x8a)](null),_0x25f13b=!0x1,_0x10d1a9=!0x1,_0x15f638=!0x1,_0x2065cc,_0xd2737,_0x3e11fb=-0x1,_0x189986=-0x1,_0x4c7205=-0x1,_0x5e1ff8=0x0;for(;_0x5e1ff8<_0xf0a98d[_0x402594(0x11f)];_0x5e1ff8++)if(_0x189986=_0xf0a98d[_0x402594(0x12d)](_0x5e1ff8),_0x2065cc===void 0x0){if(_0x4c7205===-0x1&&_0x4428c3[_0x189986]===0x1)_0x3e11fb===-0x1&&(_0x3e11fb=_0x5e1ff8);else{if(_0x5e1ff8!==0x0&&(_0x189986===0x20||_0x189986===0x9))_0x4c7205===-0x1&&_0x3e11fb!==-0x1&&(_0x4c7205=_0x5e1ff8);else{if(_0x189986===0x3b||_0x189986===0x2c){if(_0x3e11fb===-0x1)throw new SyntaxError(_0x402594(0x179)+_0x5e1ff8);_0x4c7205===-0x1&&(_0x4c7205=_0x5e1ff8);const _0x45d387=_0xf0a98d[_0x402594(0x156)](_0x3e11fb,_0x4c7205);_0x189986===0x2c?(_0x420f25(_0x574a3a,_0x45d387,_0x3483b2),_0x3483b2=Object['create'](null)):_0x2065cc=_0x45d387,_0x3e11fb=_0x4c7205=-0x1;}else throw new SyntaxError(_0x402594(0x179)+_0x5e1ff8);}}}else{if(_0xd2737===void 0x0){if(_0x4c7205===-0x1&&_0x4428c3[_0x189986]===0x1)_0x3e11fb===-0x1&&(_0x3e11fb=_0x5e1ff8);else{if(_0x189986===0x20||_0x189986===0x9)_0x4c7205===-0x1&&_0x3e11fb!==-0x1&&(_0x4c7205=_0x5e1ff8);else{if(_0x189986===0x3b||_0x189986===0x2c){if(_0x3e11fb===-0x1)throw new SyntaxError(_0x402594(0x179)+_0x5e1ff8);_0x4c7205===-0x1&&(_0x4c7205=_0x5e1ff8),_0x420f25(_0x3483b2,_0xf0a98d[_0x402594(0x156)](_0x3e11fb,_0x4c7205),!0x0),_0x189986===0x2c&&(_0x420f25(_0x574a3a,_0x2065cc,_0x3483b2),_0x3483b2=Object['create'](null),_0x2065cc=void 0x0),_0x3e11fb=_0x4c7205=-0x1;}else{if(_0x189986===0x3d&&_0x3e11fb!==-0x1&&_0x4c7205===-0x1)_0xd2737=_0xf0a98d[_0x402594(0x156)](_0x3e11fb,_0x5e1ff8),_0x3e11fb=_0x4c7205=-0x1;else throw new SyntaxError(_0x402594(0x179)+_0x5e1ff8);}}}}else{if(_0x10d1a9){if(_0x4428c3[_0x189986]!==0x1)throw new SyntaxError(_0x402594(0x179)+_0x5e1ff8);_0x3e11fb===-0x1?_0x3e11fb=_0x5e1ff8:_0x25f13b||(_0x25f13b=!0x0),_0x10d1a9=!0x1;}else{if(_0x15f638){if(_0x4428c3[_0x189986]===0x1)_0x3e11fb===-0x1&&(_0x3e11fb=_0x5e1ff8);else{if(_0x189986===0x22&&_0x3e11fb!==-0x1)_0x15f638=!0x1,_0x4c7205=_0x5e1ff8;else{if(_0x189986===0x5c)_0x10d1a9=!0x0;else throw new SyntaxError(_0x402594(0x179)+_0x5e1ff8);}}}else{if(_0x189986===0x22&&_0xf0a98d[_0x402594(0x12d)](_0x5e1ff8-0x1)===0x3d)_0x15f638=!0x0;else{if(_0x4c7205===-0x1&&_0x4428c3[_0x189986]===0x1)_0x3e11fb===-0x1&&(_0x3e11fb=_0x5e1ff8);else{if(_0x3e11fb!==-0x1&&(_0x189986===0x20||_0x189986===0x9))_0x4c7205===-0x1&&(_0x4c7205=_0x5e1ff8);else{if(_0x189986===0x3b||_0x189986===0x2c){if(_0x3e11fb===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5e1ff8);_0x4c7205===-0x1&&(_0x4c7205=_0x5e1ff8);let _0xcecfc9=_0xf0a98d['slice'](_0x3e11fb,_0x4c7205);_0x25f13b&&(_0xcecfc9=_0xcecfc9['replace'](/\\/g,''),_0x25f13b=!0x1),_0x420f25(_0x3483b2,_0xd2737,_0xcecfc9),_0x189986===0x2c&&(_0x420f25(_0x574a3a,_0x2065cc,_0x3483b2),_0x3483b2=Object['create'](null),_0x2065cc=void 0x0),_0xd2737=void 0x0,_0x3e11fb=_0x4c7205=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5e1ff8);}}}}}}}if(_0x3e11fb===-0x1||_0x15f638||_0x189986===0x20||_0x189986===0x9)throw new SyntaxError(_0x402594(0x144));_0x4c7205===-0x1&&(_0x4c7205=_0x5e1ff8);const _0x3063fd=_0xf0a98d[_0x402594(0x156)](_0x3e11fb,_0x4c7205);return _0x2065cc===void 0x0?_0x420f25(_0x574a3a,_0x3063fd,_0x3483b2):(_0xd2737===void 0x0?_0x420f25(_0x3483b2,_0x3063fd,!0x0):_0x25f13b?_0x420f25(_0x3483b2,_0xd2737,_0x3063fd[_0x402594(0x237)](/\\/g,'')):_0x420f25(_0x3483b2,_0xd2737,_0x3063fd),_0x420f25(_0x574a3a,_0x2065cc,_0x3483b2)),_0x574a3a;}function _0x26f471(_0x333cb0){const _0xdfcdf8=_0x5d9d;return Object[_0xdfcdf8(0x186)](_0x333cb0)[_0xdfcdf8(0x12f)](_0x46bfc7=>{const _0x59855f=_0xdfcdf8;let _0x1d2094=_0x333cb0[_0x46bfc7];return Array['isArray'](_0x1d2094)||(_0x1d2094=[_0x1d2094]),_0x1d2094['map'](_0x27db1a=>[_0x46bfc7]['concat'](Object[_0x59855f(0x186)](_0x27db1a)[_0x59855f(0x12f)](_0x391142=>{const _0x2b0347=_0x59855f;let _0x36cb5e=_0x27db1a[_0x391142];return Array[_0x2b0347(0x231)](_0x36cb5e)||(_0x36cb5e=[_0x36cb5e]),_0x36cb5e[_0x2b0347(0x12f)](_0x52d20f=>_0x52d20f===!0x0?_0x391142:_0x391142+'='+_0x52d20f)['join'](';\x20');}))['join'](';\x20'))[_0x59855f(0x199)](',\x20');})[_0xdfcdf8(0x199)](',\x20');}return be={'format':_0x26f471,'parse':_0x33fb11},be;}function _0x4e69(){const _0xa9d4f=['createError','removeAllListeners','Origin','next','Unexpected\x20end\x20of\x20input','removeListener','getPayloadLength16','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','isBuffer','origin','onmessage','shouldHandle','values','handshakeTimeout','_errored','cork','File','type','reset','clients','from','abort','slice','zlibDeflateOptions','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','sec-websocket-extensions','toLowerCase','connect','COLLABORATION_CLIENT_NODE_CONFIG_KEY','NodeCollaborationSocketService','byteLength','includes','Parameter\x20\x22','conclude','listeners','test','object','forEach','_messageLength','13,\x208','Injector','listening','wss:','Disposable','permessage-deflate','_masked','kDone','code','text/plain','servername','toString','handleUpgrade','threshold','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','set','_closeFrameReceived','maxPayload','Unexpected\x20character\x20at\x20index\x20','_originalIpc','_writableState','encrypted','ping','_maxPayload','401910eUstyp','_mask','writeUInt16BE','WS_ERR_UNEXPECTED_RSV_1','_threshold','_deflate','authorization','keys','Server\x20sent\x20an\x20invalid\x20subprotocol','destroy','upgrade','maskBuffer','bind','http:','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','The\x20server\x20is\x20not\x20running','constructor','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','Sec-WebSocket-Origin','acceptAsServer','serverNoContextTakeover','customHeaders','Unsupported\x20protocol\x20version:\x20','CONNECTING','_socket','toDisposable','join','hasOwnProperty','invalid\x20UTF-8\x20sequence','Connection:\x20Upgrade','server_max_window_bits','sha1','_injector','setConfig','options','protocolVersion','createSocket','share','add','finish','__esModule','Upgrade:\x20websocket','toStringTag','url','rsv1','10MoeufM','WS_ERR_UNEXPECTED_MASK','alloc','extensions','_bufferedBytes','wsClientError','isInteger','open','generateMask','Invalid\x20Sec-WebSocket-Accept\x20header','noServer','_compress','host','find','followRedirects','redirect','setNoDelay','parse','WS_NO_UTF_8_VALIDATE','sec-websocket-version','The\x20\x22','destroyed','_configService','_totalPayloadLength','Module','pong','OPEN','_firstFragment','Upgrade','freeze','getOwnPropertyDescriptor','isPaused','href','readUInt32BE','_originalHostOrSocketPath','construct','concurrencyLimit','indexOf','Maximum\x20redirects\x20exceeded','pause','setTimeout','websocket','WS_NO_BUFFER_UTIL','registerHTTPInterceptor','_fragmented','_receiver','headers','_errorEmitted','Opening\x20handshake\x20has\x20timed\x20out','STATUS_CODES','sendFrame','removeEventListener','556200WKLXQt','verifyClient','client_max_window_bits','onStarting','socket','isIP','kMessage','_destroy','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','allocUnsafe','finished','https:','protocol','address','blob','number','startsWith','kCode','close','unexpected-response','UniverCollaborationClientPlugin','846096OnlSSd','objectMode','_compressed','uncork','perMessageDeflate','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_queue','_shouldEmitClose','_generateMask','invalid\x20opcode\x200','prototype','clientTracking','kRun','_isServer','dispatch','pipe','endEmitted','kIsForOnEventAttribute','hostname','authorized','Invalid\x20value\x20for\x20parameter\x20\x22','816808gfgTEW','text/html','readUInt16BE','DependentOn','addEventListener','\x22:\x20','pending','WS_ERR_INVALID_CLOSE_CODE','3669OgOysG','accept','writeUIntBE','message','location','CollaborationSocketService','kData','sec-websocket-key','read','request','_fin','kType','getPayloadLength64','completeUpgrade','_binaryType','defaultPort','Unexpected\x20server\x20response:\x20','update','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_originalSecure','search','species','7derNBU','getBlobData','haveLength','port','Invalid\x20Upgrade\x20header','catch','pluginName','HTTP/1.1\x20101\x20Switching\x20Protocols','isView','isArray','HTTP/1.1\x20','offer','compress','_inflate','terminate','replace','_closeFrameSent','has','_readyState','_options','kReason','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','client_no_context_takeover','_registerDependencies','_state','binaryType','dequeue','Z_DEFAULT_WINDOWBITS','path','finishRequest','setHeader','buffer','shift','errorEmitted','response','_bufferedAmount','mask','clientMaxWindowBits','nextTick','Unknown\x20parameter\x20\x22','once','delete','resume','Invalid\x20URL:\x20','create','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Sec-WebSocket-Protocol:\x20','zlibInflateOptions','_write','server_no_context_takeover','auth','push','env','cookie','allowSynchronousEvents','readyState','startLoop','handleEvent','_protocol','bufferedAmount','defineProperty','send','params','ws:','_closeMessage','Invalid\x20Sec-WebSocket-Extensions\x20header','normalizeParams','consume','fragments','Sec-WebSocket-Accept:\x20','\x0d\x0a\x0d\x0a','pathname','unmask','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','data','end','GET','clientNoContextTakeover','isValidUTF8','kAborted','status-code','Basic\x20','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','DisposableCollection','onerror','_url','jobs','RSV1\x20must\x20be\x20clear','_max_window_bits','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','client','arraybuffer','CLOSING','connection','format','Plugin','kByteLength','Sec-WebSocket-Protocol','socketPath','emitClose','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','listen','statusCode','entries','_doCreateSocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','frame','Invalid\x20Sec-WebSocket-Protocol\x20header','_decompress','skipUTF8Validation','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Sec-WebSocket-Extensions','WS_ERR_UNEXPECTED_RSV_2_3','backlog','MASK\x20must\x20be\x20clear','controlMessage','username','reason','_closeCode','CLOSED','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_server','ISnapshotServerService','callback','drain','call','function','dispose','listenerCount','createDeflateRaw','_fragments','WS_ERR_INVALID_UTF8','registerDependencies','captureStackTrace','total-length','_allowSynchronousEvents','1276rQaxRM','HTTPService','pow','kTarget','readOnly','getMask','ILogService','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','base64','extensionName','WS_ERR_INVALID_OPCODE','_loop','then','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','dataMessage','_closeTimer','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','unshift','wasClean','_buffers','autoPong','sec-websocket-protocol','string','_maskBuffer','concat','getInfo','_autoPong','kListener','_payloadLength','emit','_skipUTF8Validation','serverMaxWindowBits','write','split','server','decompress','digest','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','\x22\x20must\x20have\x20only\x20a\x20single\x20value','7477810iAcMSJ','MASK\x20must\x20be\x20set','_readableState','_paused','concurrency','arrayBuffer','default','Server\x20sent\x20no\x20subprotocol','exports','setSocket','get','_req','invalid\x20payload\x20length\x20','Sec-WebSocket-Extensions:\x20','_final','ws+unix:','2427354RqgYXt','_sender','length','Max\x20payload\x20size\x20exceeded','timeout','The\x20URL\x20contains\x20a\x20fragment\x20identifier','byteOffset','UniverCollaborationClientNodePlugin','flush','onclose','getData','WebSocket','error','target','enqueue','_redirects','charCodeAt','fin','map','Inject','_opcode','getConfig','opcode','size','apply','sec-websocket-origin','_removeListeners','IConfigService','_no_context_takeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20URL\x27s\x20pathname\x20is\x20empty','Observable','handleProtocols','_extensions','createServer'];_0x4e69=function(){return _0xa9d4f;};return _0x4e69();}var we,Je;function Pe(){const _0x377704=_0x3f9da1;if(Je)return we;Je=0x1;const _0x2c83ed=nt,_0xf5cad3=vt,_0x14c56e=ot,_0x38daea=St,_0x59a193=Et,{randomBytes:_0x245d6d,createHash:_0x90dc1}=Le,{Duplex:_0x44ca39,Readable:_0x2113c3}=oe,{URL:_0x468c4f}=xt,_0x3499bd=he(),_0xe283fa=lt(),_0x1613f4=ft(),{isBlob:_0x5ca6a2}=ae(),{BINARY_TYPES:_0x23cde5,EMPTY_BUFFER:_0x8796f6,GUID:_0x5df427,kForOnEventAttribute:_0x198289,kListener:_0x3588fb,kStatusCode:_0x32f849,kWebSocket:_0x313145,NOOP:_0x53d306}=H(),{EventTarget:{addEventListener:_0x569f74,removeEventListener:_0x5f1a30}}=It(),{format:_0x483c7b,parse:_0x48634b}=ct(),{toBuffer:_0x90848b}=ce(),_0x1a54d0=0x1e*0x3e8,_0x1af293=Symbol(_0x377704(0xad)),_0x114465=[0x8,0xd],_0x217d69=[_0x377704(0x196),'OPEN','CLOSING',_0x377704(0xd5)],_0x47056f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x560f44 extends _0x2c83ed{constructor(_0x320948,_0x62948e,_0x35bf10){const _0x58524d=_0x377704;super(),this[_0x58524d(0x220)]=_0x23cde5[0x0],this['_closeCode']=0x3ee,this[_0x58524d(0x177)]=!0x1,this[_0x58524d(0x238)]=!0x1,this[_0x58524d(0x9e)]=_0x8796f6,this[_0x58524d(0xf5)]=null,this[_0x58524d(0x1db)]=!0x1,this[_0x58524d(0x13e)]={},this[_0x58524d(0x110)]=!0x1,this[_0x58524d(0x98)]='',this[_0x58524d(0x23a)]=_0x560f44[_0x58524d(0x196)],this['_receiver']=null,this['_sender']=null,this[_0x58524d(0x197)]=null,_0x320948!==null?(this[_0x58524d(0x81)]=0x0,this[_0x58524d(0x202)]=!0x1,this[_0x58524d(0x12c)]=0x0,_0x62948e===void 0x0?_0x62948e=[]:Array['isArray'](_0x62948e)||(typeof _0x62948e==_0x58524d(0x164)&&_0x62948e!==null?(_0x35bf10=_0x62948e,_0x62948e=[]):_0x62948e=[_0x62948e]),_0x41166c(this,_0x320948,_0x62948e,_0x35bf10)):(this[_0x58524d(0x100)]=_0x35bf10[_0x58524d(0xfa)],this['_isServer']=!0x0);}get[_0x377704(0x241)](){const _0x1176ae=_0x377704;return this[_0x1176ae(0x220)];}set[_0x377704(0x241)](_0x11fbb2){const _0x32ea16=_0x377704;_0x23cde5[_0x32ea16(0x15f)](_0x11fbb2)&&(this['_binaryType']=_0x11fbb2,this[_0x32ea16(0x1d9)]&&(this['_receiver'][_0x32ea16(0x220)]=_0x11fbb2));}get[_0x377704(0x99)](){const _0xe19e4=_0x377704;return this[_0xe19e4(0x197)]?this[_0xe19e4(0x197)][_0xe19e4(0x17b)][_0xe19e4(0x11f)]+this[_0xe19e4(0x11e)]['_bufferedBytes']:this[_0xe19e4(0x81)];}get['extensions'](){const _0x41bcd5=_0x377704;return Object[_0x41bcd5(0x186)](this[_0x41bcd5(0x13e)])['join']();}get[_0x377704(0x1cb)](){const _0x39640c=_0x377704;return this[_0x39640c(0x110)];}get[_0x377704(0x126)](){return null;}get[_0x377704(0xb2)](){return null;}get['onopen'](){return null;}get[_0x377704(0x14a)](){return null;}get[_0x377704(0x1ec)](){const _0x2d52d9=_0x377704;return this[_0x2d52d9(0x98)];}get[_0x377704(0x95)](){const _0x3ac170=_0x377704;return this[_0x3ac170(0x23a)];}get[_0x377704(0x1aa)](){const _0xee6c7b=_0x377704;return this[_0xee6c7b(0xb3)];}[_0x377704(0x116)](_0x2ef8e4,_0x12420d,_0x3e893c){const _0x412111=_0x377704,_0x5a6832=new _0xe283fa({'allowSynchronousEvents':_0x3e893c['allowSynchronousEvents'],'binaryType':this[_0x412111(0x241)],'extensions':this[_0x412111(0x13e)],'isServer':this['_isServer'],'maxPayload':_0x3e893c['maxPayload'],'skipUTF8Validation':_0x3e893c[_0x412111(0xcb)]}),_0x245662=new _0x1613f4(_0x2ef8e4,this[_0x412111(0x13e)],_0x3e893c[_0x412111(0x1b4)]);this['_receiver']=_0x5a6832,this[_0x412111(0x11e)]=_0x245662,this[_0x412111(0x197)]=_0x2ef8e4,_0x5a6832[_0x313145]=this,_0x245662[_0x313145]=this,_0x2ef8e4[_0x313145]=this,_0x5a6832['on'](_0x412111(0x161),_0x1c5ae7),_0x5a6832['on'](_0x412111(0xda),_0x48f518),_0x5a6832['on'](_0x412111(0x129),_0x519797),_0x5a6832['on']('message',_0x33e817),_0x5a6832['on'](_0x412111(0x17d),_0x35538e),_0x5a6832['on']('pong',_0x5bae53),_0x245662[_0x412111(0xb2)]=_0x46dad1,_0x2ef8e4[_0x412111(0x1d4)]&&_0x2ef8e4[_0x412111(0x1d4)](0x0),_0x2ef8e4[_0x412111(0x1bc)]&&_0x2ef8e4['setNoDelay'](),_0x12420d[_0x412111(0x11f)]>0x0&&_0x2ef8e4[_0x412111(0xf7)](_0x12420d),_0x2ef8e4['on'](_0x412111(0x1f2),_0x8bba8b),_0x2ef8e4['on'](_0x412111(0xa8),_0x3e120c),_0x2ef8e4['on'](_0x412111(0xa9),_0x5300b3),_0x2ef8e4['on'](_0x412111(0x129),_0x18a865),this['_readyState']=_0x560f44[_0x412111(0x1c6)],this[_0x412111(0x103)](_0x412111(0x1b3));}[_0x377704(0xc1)](){const _0x527de3=_0x377704;if(!this['_socket']){this[_0x527de3(0x23a)]=_0x560f44[_0x527de3(0xd5)],this[_0x527de3(0x103)](_0x527de3(0x1f2),this[_0x527de3(0xd4)],this[_0x527de3(0x9e)]);return;}this[_0x527de3(0x13e)][_0x3499bd[_0x527de3(0xef)]]&&this[_0x527de3(0x13e)][_0x3499bd['extensionName']]['cleanup'](),this[_0x527de3(0x1d9)][_0x527de3(0x141)](),this[_0x527de3(0x23a)]=_0x560f44['CLOSED'],this[_0x527de3(0x103)]('close',this[_0x527de3(0xd4)],this[_0x527de3(0x9e)]);}[_0x377704(0x1f2)](_0x2c57bc,_0x15ef9f){const _0x17dd9f=_0x377704;if(this[_0x17dd9f(0x95)]!==_0x560f44['CLOSED']){if(this['readyState']===_0x560f44[_0x17dd9f(0x196)]){_0x47af0c(this,this[_0x17dd9f(0x118)],_0x17dd9f(0xc7));return;}if(this[_0x17dd9f(0x95)]===_0x560f44[_0x17dd9f(0xba)]){this[_0x17dd9f(0x238)]&&(this[_0x17dd9f(0x177)]||this['_receiver'][_0x17dd9f(0x17b)][_0x17dd9f(0x249)])&&this['_socket'][_0x17dd9f(0xa9)]();return;}this[_0x17dd9f(0x23a)]=_0x560f44[_0x17dd9f(0xba)],this[_0x17dd9f(0x11e)][_0x17dd9f(0x1f2)](_0x2c57bc,_0x15ef9f,!this[_0x17dd9f(0x202)],_0x22d224=>{const _0x476110=_0x17dd9f;_0x22d224||(this[_0x476110(0x238)]=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x476110(0x197)]['end']());}),_0xfeb3cd(this);}}[_0x377704(0x1d3)](){const _0x2ec72e=_0x377704;this[_0x2ec72e(0x95)]===_0x560f44['CONNECTING']||this[_0x2ec72e(0x95)]===_0x560f44['CLOSED']||(this['_paused']=!0x0,this['_socket'][_0x2ec72e(0x1d3)]());}[_0x377704(0x17d)](_0xad7eb5,_0x4498df,_0x50f933){const _0x302805=_0x377704;if(this[_0x302805(0x95)]===_0x560f44[_0x302805(0x196)])throw new Error(_0x302805(0xf3));if(typeof _0xad7eb5=='function'?(_0x50f933=_0xad7eb5,_0xad7eb5=_0x4498df=void 0x0):typeof _0x4498df==_0x302805(0xdc)&&(_0x50f933=_0x4498df,_0x4498df=void 0x0),typeof _0xad7eb5==_0x302805(0x1ef)&&(_0xad7eb5=_0xad7eb5[_0x302805(0x172)]()),this[_0x302805(0x95)]!==_0x560f44[_0x302805(0x1c6)]){_0x11864a(this,_0xad7eb5,_0x50f933);return;}_0x4498df===void 0x0&&(_0x4498df=!this['_isServer']),this[_0x302805(0x11e)][_0x302805(0x17d)](_0xad7eb5||_0x8796f6,_0x4498df,_0x50f933);}[_0x377704(0x1c5)](_0xab5cf0,_0x4c08b9,_0x25adb2){const _0x1760e6=_0x377704;if(this[_0x1760e6(0x95)]===_0x560f44[_0x1760e6(0x196)])throw new Error(_0x1760e6(0xf3));if(typeof _0xab5cf0==_0x1760e6(0xdc)?(_0x25adb2=_0xab5cf0,_0xab5cf0=_0x4c08b9=void 0x0):typeof _0x4c08b9==_0x1760e6(0xdc)&&(_0x25adb2=_0x4c08b9,_0x4c08b9=void 0x0),typeof _0xab5cf0==_0x1760e6(0x1ef)&&(_0xab5cf0=_0xab5cf0[_0x1760e6(0x172)]()),this[_0x1760e6(0x95)]!==_0x560f44[_0x1760e6(0x1c6)]){_0x11864a(this,_0xab5cf0,_0x25adb2);return;}_0x4c08b9===void 0x0&&(_0x4c08b9=!this[_0x1760e6(0x202)]),this[_0x1760e6(0x11e)][_0x1760e6(0x1c5)](_0xab5cf0||_0x8796f6,_0x4c08b9,_0x25adb2);}[_0x377704(0x88)](){const _0x358687=_0x377704;this['readyState']===_0x560f44[_0x358687(0x196)]||this[_0x358687(0x95)]===_0x560f44['CLOSED']||(this[_0x358687(0x110)]=!0x1,this['_receiver'][_0x358687(0x17b)]['needDrain']||this[_0x358687(0x197)][_0x358687(0x88)]());}['send'](_0x35b599,_0x990d37,_0x176233){const _0x4d5cd4=_0x377704;if(this[_0x4d5cd4(0x95)]===_0x560f44[_0x4d5cd4(0x196)])throw new Error(_0x4d5cd4(0xf3));if(typeof _0x990d37==_0x4d5cd4(0xdc)&&(_0x176233=_0x990d37,_0x990d37={}),typeof _0x35b599=='number'&&(_0x35b599=_0x35b599[_0x4d5cd4(0x172)]()),this['readyState']!==_0x560f44[_0x4d5cd4(0x1c6)]){_0x11864a(this,_0x35b599,_0x176233);return;}const _0x15f642={'binary':typeof _0x35b599!=_0x4d5cd4(0xfc),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x990d37};this['_extensions'][_0x3499bd[_0x4d5cd4(0xef)]]||(_0x15f642[_0x4d5cd4(0x234)]=!0x1),this[_0x4d5cd4(0x11e)][_0x4d5cd4(0x9b)](_0x35b599||_0x8796f6,_0x15f642,_0x176233);}['terminate'](){const _0x4153bc=_0x377704;if(this[_0x4153bc(0x95)]!==_0x560f44[_0x4153bc(0xd5)]){if(this[_0x4153bc(0x95)]===_0x560f44[_0x4153bc(0x196)]){_0x47af0c(this,this['_req'],_0x4153bc(0xc7));return;}this[_0x4153bc(0x197)]&&(this[_0x4153bc(0x23a)]=_0x560f44[_0x4153bc(0xba)],this[_0x4153bc(0x197)][_0x4153bc(0x188)]());}}}Object[_0x377704(0x9a)](_0x560f44,'CONNECTING',{'enumerable':!0x0,'value':_0x217d69[_0x377704(0x1d1)](_0x377704(0x196))}),Object[_0x377704(0x9a)](_0x560f44['prototype'],_0x377704(0x196),{'enumerable':!0x0,'value':_0x217d69[_0x377704(0x1d1)]('CONNECTING')}),Object[_0x377704(0x9a)](_0x560f44,_0x377704(0x1c6),{'enumerable':!0x0,'value':_0x217d69[_0x377704(0x1d1)](_0x377704(0x1c6))}),Object[_0x377704(0x9a)](_0x560f44[_0x377704(0x1ff)],_0x377704(0x1c6),{'enumerable':!0x0,'value':_0x217d69[_0x377704(0x1d1)]('OPEN')}),Object[_0x377704(0x9a)](_0x560f44,_0x377704(0xba),{'enumerable':!0x0,'value':_0x217d69[_0x377704(0x1d1)]('CLOSING')}),Object['defineProperty'](_0x560f44[_0x377704(0x1ff)],_0x377704(0xba),{'enumerable':!0x0,'value':_0x217d69['indexOf']('CLOSING')}),Object[_0x377704(0x9a)](_0x560f44,_0x377704(0xd5),{'enumerable':!0x0,'value':_0x217d69[_0x377704(0x1d1)](_0x377704(0xd5))}),Object[_0x377704(0x9a)](_0x560f44[_0x377704(0x1ff)],_0x377704(0xd5),{'enumerable':!0x0,'value':_0x217d69[_0x377704(0x1d1)](_0x377704(0xd5))}),[_0x377704(0x241),'bufferedAmount',_0x377704(0x1af),'isPaused','protocol',_0x377704(0x95),_0x377704(0x1aa)][_0x377704(0x165)](_0x59a946=>{const _0x45535d=_0x377704;Object[_0x45535d(0x9a)](_0x560f44[_0x45535d(0x1ff)],_0x59a946,{'enumerable':!0x0});}),[_0x377704(0x1b3),'error',_0x377704(0x1f2),_0x377704(0x215)][_0x377704(0x165)](_0x3b1da0=>{const _0x169fad=_0x377704;Object[_0x169fad(0x9a)](_0x560f44[_0x169fad(0x1ff)],'on'+_0x3b1da0,{'enumerable':!0x0,'get'(){const _0x37eae0=_0x169fad;for(const _0xfb6f25 of this[_0x37eae0(0x162)](_0x3b1da0))if(_0xfb6f25[_0x198289])return _0xfb6f25[_0x3588fb];return null;},'set'(_0xf6af11){const _0x57101a=_0x169fad;for(const _0xaba6c3 of this[_0x57101a(0x162)](_0x3b1da0))if(_0xaba6c3[_0x198289]){this[_0x57101a(0x145)](_0x3b1da0,_0xaba6c3);break;}typeof _0xf6af11=='function'&&this[_0x57101a(0x20e)](_0x3b1da0,_0xf6af11,{[_0x198289]:!0x0});}});}),_0x560f44[_0x377704(0x1ff)]['addEventListener']=_0x569f74,_0x560f44['prototype'][_0x377704(0x1df)]=_0x5f1a30,we=_0x560f44;function _0x41166c(_0x384ee2,_0x3b7e46,_0x22f436,_0x36ca01){const _0x18dd45=_0x377704,_0x366737={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x114465[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x36ca01,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x18dd45(0xaa),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x384ee2[_0x18dd45(0x100)]=_0x366737[_0x18dd45(0xfa)],!_0x114465[_0x18dd45(0x15f)](_0x366737[_0x18dd45(0x1a2)]))throw new RangeError(_0x18dd45(0x195)+_0x366737[_0x18dd45(0x1a2)]+'\x20(supported\x20versions:\x20'+_0x114465[_0x18dd45(0x199)](',\x20')+')');let _0x181f26;if(_0x3b7e46 instanceof _0x468c4f)_0x181f26=_0x3b7e46;else try{_0x181f26=new _0x468c4f(_0x3b7e46);}catch{throw new SyntaxError(_0x18dd45(0x89)+_0x3b7e46);}_0x181f26[_0x18dd45(0x1ec)]===_0x18dd45(0x18c)?_0x181f26[_0x18dd45(0x1ec)]=_0x18dd45(0x9d):_0x181f26[_0x18dd45(0x1ec)]===_0x18dd45(0x1eb)&&(_0x181f26[_0x18dd45(0x1ec)]=_0x18dd45(0x16a)),_0x384ee2[_0x18dd45(0xb3)]=_0x181f26[_0x18dd45(0x1cc)];const _0x5f17d8=_0x181f26[_0x18dd45(0x1ec)]==='wss:',_0x42b046=_0x181f26[_0x18dd45(0x1ec)]===_0x18dd45(0x11c);let _0x22911d;if(_0x181f26['protocol']!==_0x18dd45(0x9d)&&!_0x5f17d8&&!_0x42b046?_0x22911d=_0x18dd45(0x190):_0x42b046&&!_0x181f26[_0x18dd45(0xa5)]?_0x22911d=_0x18dd45(0x13b):_0x181f26['hash']&&(_0x22911d=_0x18dd45(0x122)),_0x22911d){const _0x20ce37=new SyntaxError(_0x22911d);if(_0x384ee2[_0x18dd45(0x12c)]===0x0)throw _0x20ce37;_0x346799(_0x384ee2,_0x20ce37);return;}const _0x343fd9=_0x5f17d8?0x1bb:0x50,_0x1ecd98=_0x245d6d(0x10)['toString'](_0x18dd45(0xee)),_0x259c7e=_0x5f17d8?_0xf5cad3[_0x18dd45(0x21b)]:_0x14c56e[_0x18dd45(0x21b)],_0x4704f1=new Set();let _0x5254dd;if(_0x366737['createConnection']=_0x366737['createConnection']||(_0x5f17d8?_0x1c9bf9:_0x2aa0bd),_0x366737[_0x18dd45(0x221)]=_0x366737[_0x18dd45(0x221)]||_0x343fd9,_0x366737[_0x18dd45(0x22b)]=_0x181f26['port']||_0x343fd9,_0x366737['host']=_0x181f26[_0x18dd45(0x207)][_0x18dd45(0x1f0)]('[')?_0x181f26[_0x18dd45(0x207)][_0x18dd45(0x156)](0x1,-0x1):_0x181f26['hostname'],_0x366737[_0x18dd45(0x1da)]={..._0x366737[_0x18dd45(0x1da)],'Sec-WebSocket-Version':_0x366737[_0x18dd45(0x1a2)],'Sec-WebSocket-Key':_0x1ecd98,'Connection':_0x18dd45(0x1c8),'Upgrade':'websocket'},_0x366737[_0x18dd45(0x244)]=_0x181f26['pathname']+_0x181f26[_0x18dd45(0x226)],_0x366737[_0x18dd45(0x121)]=_0x366737[_0x18dd45(0x14d)],_0x366737[_0x18dd45(0x1f9)]&&(_0x5254dd=new _0x3499bd(_0x366737[_0x18dd45(0x1f9)]!==!0x0?_0x366737[_0x18dd45(0x1f9)]:{},!0x1,_0x366737[_0x18dd45(0x178)]),_0x366737['headers'][_0x18dd45(0xcd)]=_0x483c7b({[_0x3499bd['extensionName']]:_0x5254dd[_0x18dd45(0x233)]()})),_0x22f436['length']){for(const _0xf7bb11 of _0x22f436){if(typeof _0xf7bb11!=_0x18dd45(0xfc)||!_0x47056f['test'](_0xf7bb11)||_0x4704f1[_0x18dd45(0x239)](_0xf7bb11))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4704f1[_0x18dd45(0x1a5)](_0xf7bb11);}_0x366737[_0x18dd45(0x1da)][_0x18dd45(0xbf)]=_0x22f436[_0x18dd45(0x199)](',');}if(_0x366737['origin']&&(_0x366737[_0x18dd45(0x1a2)]<0xd?_0x366737[_0x18dd45(0x1da)][_0x18dd45(0x191)]=_0x366737[_0x18dd45(0x149)]:_0x366737[_0x18dd45(0x1da)][_0x18dd45(0x142)]=_0x366737[_0x18dd45(0x149)]),(_0x181f26[_0x18dd45(0xd2)]||_0x181f26['password'])&&(_0x366737[_0x18dd45(0x90)]=_0x181f26['username']+':'+_0x181f26['password']),_0x42b046){const _0x377bb4=_0x366737[_0x18dd45(0x244)][_0x18dd45(0x107)](':');_0x366737['socketPath']=_0x377bb4[0x0],_0x366737['path']=_0x377bb4[0x1];}let _0x3c918e;if(_0x366737[_0x18dd45(0x1ba)]){if(_0x384ee2['_redirects']===0x0){_0x384ee2['_originalIpc']=_0x42b046,_0x384ee2[_0x18dd45(0x225)]=_0x5f17d8,_0x384ee2[_0x18dd45(0x1ce)]=_0x42b046?_0x366737[_0x18dd45(0xc0)]:_0x181f26[_0x18dd45(0x1b8)];const _0x1c5f7e=_0x36ca01&&_0x36ca01[_0x18dd45(0x1da)];if(_0x36ca01={..._0x36ca01,'headers':{}},_0x1c5f7e){for(const [_0x4b4bc9,_0x377b58]of Object[_0x18dd45(0xc5)](_0x1c5f7e))_0x36ca01[_0x18dd45(0x1da)][_0x4b4bc9[_0x18dd45(0x15a)]()]=_0x377b58;}}else{if(_0x384ee2[_0x18dd45(0xde)]('redirect')===0x0){const _0x2a23b3=_0x42b046?_0x384ee2[_0x18dd45(0x17a)]?_0x366737[_0x18dd45(0xc0)]===_0x384ee2['_originalHostOrSocketPath']:!0x1:_0x384ee2[_0x18dd45(0x17a)]?!0x1:_0x181f26['host']===_0x384ee2[_0x18dd45(0x1ce)];(!_0x2a23b3||_0x384ee2[_0x18dd45(0x225)]&&!_0x5f17d8)&&(delete _0x366737[_0x18dd45(0x1da)][_0x18dd45(0x185)],delete _0x366737[_0x18dd45(0x1da)][_0x18dd45(0x93)],_0x2a23b3||delete _0x366737[_0x18dd45(0x1da)][_0x18dd45(0x1b8)],_0x366737[_0x18dd45(0x90)]=void 0x0);}}_0x366737[_0x18dd45(0x90)]&&!_0x36ca01[_0x18dd45(0x1da)]['authorization']&&(_0x36ca01['headers'][_0x18dd45(0x185)]=_0x18dd45(0xaf)+Buffer[_0x18dd45(0x154)](_0x366737[_0x18dd45(0x90)])[_0x18dd45(0x172)](_0x18dd45(0xee))),_0x3c918e=_0x384ee2['_req']=_0x259c7e(_0x366737),_0x384ee2[_0x18dd45(0x12c)]&&_0x384ee2[_0x18dd45(0x103)](_0x18dd45(0x1bb),_0x384ee2['url'],_0x3c918e);}else _0x3c918e=_0x384ee2['_req']=_0x259c7e(_0x366737);_0x366737['timeout']&&_0x3c918e['on'](_0x18dd45(0x121),()=>{const _0x52b4bc=_0x18dd45;_0x47af0c(_0x384ee2,_0x3c918e,_0x52b4bc(0x1dc));}),_0x3c918e['on'](_0x18dd45(0x129),_0x50571d=>{const _0x4df14b=_0x18dd45;_0x3c918e===null||_0x3c918e[_0x1af293]||(_0x3c918e=_0x384ee2[_0x4df14b(0x118)]=null,_0x346799(_0x384ee2,_0x50571d));}),_0x3c918e['on'](_0x18dd45(0x24a),_0x5c9003=>{const _0x344abd=_0x18dd45,_0x6637ba=_0x5c9003[_0x344abd(0x1da)][_0x344abd(0x216)],_0x50dba8=_0x5c9003['statusCode'];if(_0x6637ba&&_0x366737[_0x344abd(0x1ba)]&&_0x50dba8>=0x12c&&_0x50dba8<0x190){if(++_0x384ee2[_0x344abd(0x12c)]>_0x366737['maxRedirects']){_0x47af0c(_0x384ee2,_0x3c918e,_0x344abd(0x1d2));return;}_0x3c918e[_0x344abd(0x155)]();let _0x2b6df8;try{_0x2b6df8=new _0x468c4f(_0x6637ba,_0x3b7e46);}catch{const _0xb33c70=new SyntaxError(_0x344abd(0x89)+_0x6637ba);_0x346799(_0x384ee2,_0xb33c70);return;}_0x41166c(_0x384ee2,_0x2b6df8,_0x22f436,_0x36ca01);}else _0x384ee2[_0x344abd(0x103)](_0x344abd(0x1f3),_0x3c918e,_0x5c9003)||_0x47af0c(_0x384ee2,_0x3c918e,_0x344abd(0x222)+_0x5c9003[_0x344abd(0xc4)]);}),_0x3c918e['on'](_0x18dd45(0x189),(_0x4b2aaf,_0x372e35,_0x4e01fa)=>{const _0x25b221=_0x18dd45;if(_0x384ee2[_0x25b221(0x103)](_0x25b221(0x189),_0x4b2aaf),_0x384ee2['readyState']!==_0x560f44[_0x25b221(0x196)])return;_0x3c918e=_0x384ee2['_req']=null;const _0x111393=_0x4b2aaf[_0x25b221(0x1da)][_0x25b221(0x189)];if(_0x111393===void 0x0||_0x111393[_0x25b221(0x15a)]()!==_0x25b221(0x1d5)){_0x47af0c(_0x384ee2,_0x372e35,_0x25b221(0x22c));return;}const _0x35beb5=_0x90dc1(_0x25b221(0x19e))['update'](_0x1ecd98+_0x5df427)['digest'](_0x25b221(0xee));if(_0x4b2aaf[_0x25b221(0x1da)]['sec-websocket-accept']!==_0x35beb5){_0x47af0c(_0x384ee2,_0x372e35,_0x25b221(0x1b5));return;}const _0x27c350=_0x4b2aaf['headers']['sec-websocket-protocol'];let _0x5d69bc;if(_0x27c350!==void 0x0?_0x4704f1[_0x25b221(0x134)]?_0x4704f1[_0x25b221(0x239)](_0x27c350)||(_0x5d69bc=_0x25b221(0x187)):_0x5d69bc='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4704f1['size']&&(_0x5d69bc=_0x25b221(0x114)),_0x5d69bc){_0x47af0c(_0x384ee2,_0x372e35,_0x5d69bc);return;}_0x27c350&&(_0x384ee2[_0x25b221(0x98)]=_0x27c350);const _0x402457=_0x4b2aaf[_0x25b221(0x1da)][_0x25b221(0x159)];if(_0x402457!==void 0x0){if(!_0x5254dd){_0x47af0c(_0x384ee2,_0x372e35,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x3e5951;try{_0x3e5951=_0x48634b(_0x402457);}catch{_0x47af0c(_0x384ee2,_0x372e35,_0x25b221(0x9f));return;}const _0x54750f=Object[_0x25b221(0x186)](_0x3e5951);if(_0x54750f[_0x25b221(0x11f)]!==0x1||_0x54750f[0x0]!==_0x3499bd[_0x25b221(0xef)]){_0x47af0c(_0x384ee2,_0x372e35,_0x25b221(0x18d));return;}try{_0x5254dd['accept'](_0x3e5951[_0x3499bd[_0x25b221(0xef)]]);}catch{_0x47af0c(_0x384ee2,_0x372e35,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x384ee2[_0x25b221(0x13e)][_0x3499bd[_0x25b221(0xef)]]=_0x5254dd;}_0x384ee2[_0x25b221(0x116)](_0x372e35,_0x4e01fa,{'allowSynchronousEvents':_0x366737['allowSynchronousEvents'],'generateMask':_0x366737[_0x25b221(0x1b4)],'maxPayload':_0x366737[_0x25b221(0x178)],'skipUTF8Validation':_0x366737[_0x25b221(0xcb)]});}),_0x366737[_0x18dd45(0x245)]?_0x366737[_0x18dd45(0x245)](_0x3c918e,_0x384ee2):_0x3c918e['end']();}function _0x346799(_0x42b023,_0xa5f521){const _0x5af4e6=_0x377704;_0x42b023['_readyState']=_0x560f44[_0x5af4e6(0xba)],_0x42b023[_0x5af4e6(0x1db)]=!0x0,_0x42b023[_0x5af4e6(0x103)](_0x5af4e6(0x129),_0xa5f521),_0x42b023[_0x5af4e6(0xc1)]();}function _0x2aa0bd(_0x49f428){const _0x8ed11b=_0x377704;return _0x49f428[_0x8ed11b(0x244)]=_0x49f428[_0x8ed11b(0xc0)],_0x38daea[_0x8ed11b(0x15b)](_0x49f428);}function _0x1c9bf9(_0x8254d7){const _0x3d2b04=_0x377704;return _0x8254d7['path']=void 0x0,!_0x8254d7[_0x3d2b04(0x171)]&&_0x8254d7['servername']!==''&&(_0x8254d7[_0x3d2b04(0x171)]=_0x38daea[_0x3d2b04(0x1e5)](_0x8254d7[_0x3d2b04(0x1b8)])?'':_0x8254d7[_0x3d2b04(0x1b8)]),_0x59a193[_0x3d2b04(0x15b)](_0x8254d7);}function _0x47af0c(_0x5bc7f3,_0x2db7ee,_0x30a993){const _0x314554=_0x377704;_0x5bc7f3[_0x314554(0x23a)]=_0x560f44[_0x314554(0xba)];const _0x41cdc9=new Error(_0x30a993);Error['captureStackTrace'](_0x41cdc9,_0x47af0c),_0x2db7ee[_0x314554(0x246)]?(_0x2db7ee[_0x1af293]=!0x0,_0x2db7ee['abort'](),_0x2db7ee[_0x314554(0x1e4)]&&!_0x2db7ee[_0x314554(0x1e4)]['destroyed']&&_0x2db7ee['socket'][_0x314554(0x188)](),process[_0x314554(0x84)](_0x346799,_0x5bc7f3,_0x41cdc9)):(_0x2db7ee[_0x314554(0x188)](_0x41cdc9),_0x2db7ee[_0x314554(0x86)](_0x314554(0x129),_0x5bc7f3['emit'][_0x314554(0x18b)](_0x5bc7f3,'error')),_0x2db7ee[_0x314554(0x86)](_0x314554(0x1f2),_0x5bc7f3[_0x314554(0xc1)][_0x314554(0x18b)](_0x5bc7f3)));}function _0x11864a(_0x5bbb67,_0xcdd551,_0x194012){const _0x3d980a=_0x377704;if(_0xcdd551){const _0x515c9a=_0x5ca6a2(_0xcdd551)?_0xcdd551['size']:_0x90848b(_0xcdd551)[_0x3d980a(0x11f)];_0x5bbb67[_0x3d980a(0x197)]?_0x5bbb67[_0x3d980a(0x11e)][_0x3d980a(0x1b0)]+=_0x515c9a:_0x5bbb67['_bufferedAmount']+=_0x515c9a;}if(_0x194012){const _0x32df66=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x5bbb67[_0x3d980a(0x95)]+'\x20('+_0x217d69[_0x5bbb67[_0x3d980a(0x95)]]+')');process['nextTick'](_0x194012,_0x32df66);}}function _0x1c5ae7(_0x3d9737,_0x4d913d){const _0x34f324=_0x377704,_0x3762fe=this[_0x313145];_0x3762fe[_0x34f324(0x177)]=!0x0,_0x3762fe['_closeMessage']=_0x4d913d,_0x3762fe['_closeCode']=_0x3d9737,_0x3762fe['_socket'][_0x313145]!==void 0x0&&(_0x3762fe[_0x34f324(0x197)]['removeListener'](_0x34f324(0xa8),_0x3e120c),process['nextTick'](_0x2e0c19,_0x3762fe[_0x34f324(0x197)]),_0x3d9737===0x3ed?_0x3762fe['close']():_0x3762fe[_0x34f324(0x1f2)](_0x3d9737,_0x4d913d));}function _0x48f518(){const _0x48b72b=_0x377704,_0x3bba6a=this[_0x313145];_0x3bba6a[_0x48b72b(0x1cb)]||_0x3bba6a[_0x48b72b(0x197)]['resume']();}function _0x519797(_0x48e1e4){const _0x370a5e=_0x377704,_0x4e11bb=this[_0x313145];_0x4e11bb[_0x370a5e(0x197)][_0x313145]!==void 0x0&&(_0x4e11bb['_socket'][_0x370a5e(0x145)](_0x370a5e(0xa8),_0x3e120c),process[_0x370a5e(0x84)](_0x2e0c19,_0x4e11bb['_socket']),_0x4e11bb[_0x370a5e(0x1f2)](_0x48e1e4[_0x32f849])),_0x4e11bb['_errorEmitted']||(_0x4e11bb[_0x370a5e(0x1db)]=!0x0,_0x4e11bb[_0x370a5e(0x103)](_0x370a5e(0x129),_0x48e1e4));}function _0x34252f(){const _0x2c0c81=_0x377704;this[_0x313145][_0x2c0c81(0xc1)]();}function _0x33e817(_0x59f4f2,_0x4376ab){const _0x2db75c=_0x377704;this[_0x313145][_0x2db75c(0x103)](_0x2db75c(0x215),_0x59f4f2,_0x4376ab);}function _0x35538e(_0x144fa2){const _0x29f9a4=_0x377704,_0x2372e1=this[_0x313145];_0x2372e1['_autoPong']&&_0x2372e1[_0x29f9a4(0x1c5)](_0x144fa2,!this['_isServer'],_0x53d306),_0x2372e1[_0x29f9a4(0x103)](_0x29f9a4(0x17d),_0x144fa2);}function _0x5bae53(_0x19f4e1){const _0x3f9725=_0x377704;this[_0x313145][_0x3f9725(0x103)](_0x3f9725(0x1c5),_0x19f4e1);}function _0x2e0c19(_0x2cbd3d){const _0x297751=_0x377704;_0x2cbd3d[_0x297751(0x88)]();}function _0x46dad1(_0x4821be){const _0x36b9eb=_0x377704,_0x4116c3=this[_0x313145];_0x4116c3[_0x36b9eb(0x95)]!==_0x560f44[_0x36b9eb(0xd5)]&&(_0x4116c3[_0x36b9eb(0x95)]===_0x560f44['OPEN']&&(_0x4116c3[_0x36b9eb(0x23a)]=_0x560f44[_0x36b9eb(0xba)],_0xfeb3cd(_0x4116c3)),this['_socket'][_0x36b9eb(0xa9)](),_0x4116c3[_0x36b9eb(0x1db)]||(_0x4116c3[_0x36b9eb(0x1db)]=!0x0,_0x4116c3['emit']('error',_0x4821be)));}function _0xfeb3cd(_0x348912){const _0x4ae950=_0x377704;_0x348912[_0x4ae950(0xf5)]=setTimeout(_0x348912[_0x4ae950(0x197)][_0x4ae950(0x188)][_0x4ae950(0x18b)](_0x348912[_0x4ae950(0x197)]),_0x1a54d0);}function _0x8bba8b(){const _0x572079=_0x377704,_0x45b1df=this[_0x313145];this[_0x572079(0x145)](_0x572079(0x1f2),_0x8bba8b),this[_0x572079(0x145)](_0x572079(0xa8),_0x3e120c),this[_0x572079(0x145)]('end',_0x5300b3),_0x45b1df[_0x572079(0x23a)]=_0x560f44[_0x572079(0xba)];let _0x574cf6;!this[_0x572079(0x10f)][_0x572079(0x205)]&&!_0x45b1df[_0x572079(0x177)]&&!_0x45b1df['_receiver'][_0x572079(0x17b)][_0x572079(0x249)]&&(_0x574cf6=_0x45b1df[_0x572079(0x197)][_0x572079(0x21a)]())!==null&&_0x45b1df[_0x572079(0x1d9)][_0x572079(0x106)](_0x574cf6),_0x45b1df['_receiver'][_0x572079(0xa9)](),this[_0x313145]=void 0x0,clearTimeout(_0x45b1df[_0x572079(0xf5)]),_0x45b1df[_0x572079(0x1d9)]['_writableState'][_0x572079(0x1ea)]||_0x45b1df['_receiver'][_0x572079(0x17b)][_0x572079(0x249)]?_0x45b1df[_0x572079(0xc1)]():(_0x45b1df['_receiver']['on'](_0x572079(0x129),_0x34252f),_0x45b1df[_0x572079(0x1d9)]['on']('finish',_0x34252f));}function _0x3e120c(_0x238f85){const _0x3eee6d=_0x377704;this[_0x313145][_0x3eee6d(0x1d9)][_0x3eee6d(0x106)](_0x238f85)||this[_0x3eee6d(0x1d3)]();}function _0x5300b3(){const _0x40c60d=_0x377704,_0x20c46a=this[_0x313145];_0x20c46a['_readyState']=_0x560f44[_0x40c60d(0xba)],_0x20c46a[_0x40c60d(0x1d9)][_0x40c60d(0xa9)](),this[_0x40c60d(0xa9)]();}function _0x18a865(){const _0x5bd50d=_0x377704,_0x38748d=this[_0x313145];this['removeListener'](_0x5bd50d(0x129),_0x18a865),this['on'](_0x5bd50d(0x129),_0x53d306),_0x38748d&&(_0x38748d[_0x5bd50d(0x23a)]=_0x560f44[_0x5bd50d(0xba)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2286f1}=oe;function _0x273220(_0x15c835){const _0x2d0404=_0x5d9d;_0x15c835[_0x2d0404(0x103)](_0x2d0404(0x1f2));}function _0x4b0803(){const _0x1566d4=_0x5d9d;!this[_0x1566d4(0x1c1)]&&this[_0x1566d4(0x17b)]['finished']&&this['destroy']();}function _0x240f17(_0x24f69f){const _0x1896a5=_0x5d9d;this[_0x1896a5(0x145)](_0x1896a5(0x129),_0x240f17),this['destroy'](),this['listenerCount']('error')===0x0&&this[_0x1896a5(0x103)](_0x1896a5(0x129),_0x24f69f);}function _0x4506e9(_0x343147,_0x2da7ad){const _0x5e6f3e=_0x5d9d;let _0x44b6fc=!0x0;const _0x4abff4=new _0x2286f1({..._0x2da7ad,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x343147['on'](_0x5e6f3e(0x215),function(_0x974e3,_0x35e3fc){const _0x5d9414=_0x5e6f3e,_0x52d233=!_0x35e3fc&&_0x4abff4['_readableState'][_0x5d9414(0x1f6)]?_0x974e3[_0x5d9414(0x172)]():_0x974e3;_0x4abff4[_0x5d9414(0x91)](_0x52d233)||_0x343147['pause']();}),_0x343147['once'](_0x5e6f3e(0x129),function(_0xbef97d){const _0x4f5a4e=_0x5e6f3e;_0x4abff4[_0x4f5a4e(0x1c1)]||(_0x44b6fc=!0x1,_0x4abff4['destroy'](_0xbef97d));}),_0x343147[_0x5e6f3e(0x86)](_0x5e6f3e(0x1f2),function(){_0x4abff4['destroyed']||_0x4abff4['push'](null);}),_0x4abff4[_0x5e6f3e(0x1e7)]=function(_0x5ddcbc,_0x487289){const _0x10c92b=_0x5e6f3e;if(_0x343147[_0x10c92b(0x95)]===_0x343147[_0x10c92b(0xd5)]){_0x487289(_0x5ddcbc),process['nextTick'](_0x273220,_0x4abff4);return;}let _0x11ac81=!0x1;_0x343147['once'](_0x10c92b(0x129),function(_0xd271a1){_0x11ac81=!0x0,_0x487289(_0xd271a1);}),_0x343147['once'](_0x10c92b(0x1f2),function(){_0x11ac81||_0x487289(_0x5ddcbc),process['nextTick'](_0x273220,_0x4abff4);}),_0x44b6fc&&_0x343147[_0x10c92b(0x236)]();},_0x4abff4[_0x5e6f3e(0x11b)]=function(_0x35a236){const _0x1b5d5f=_0x5e6f3e;if(_0x343147['readyState']===_0x343147[_0x1b5d5f(0x196)]){_0x343147[_0x1b5d5f(0x86)](_0x1b5d5f(0x1b3),function(){const _0x1da37b=_0x1b5d5f;_0x4abff4[_0x1da37b(0x11b)](_0x35a236);});return;}_0x343147[_0x1b5d5f(0x197)]!==null&&(_0x343147['_socket']['_writableState']['finished']?(_0x35a236(),_0x4abff4['_readableState'][_0x1b5d5f(0x205)]&&_0x4abff4['destroy']()):(_0x343147['_socket'][_0x1b5d5f(0x86)](_0x1b5d5f(0x1a6),function(){_0x35a236();}),_0x343147[_0x1b5d5f(0x1f2)]()));},_0x4abff4['_read']=function(){const _0x5e7bc7=_0x5e6f3e;_0x343147['isPaused']&&_0x343147[_0x5e7bc7(0x88)]();},_0x4abff4[_0x5e6f3e(0x8e)]=function(_0xb5683f,_0x52a141,_0x41fc09){const _0x42600e=_0x5e6f3e;if(_0x343147[_0x42600e(0x95)]===_0x343147[_0x42600e(0x196)]){_0x343147[_0x42600e(0x86)]('open',function(){const _0x4fdc7e=_0x42600e;_0x4abff4[_0x4fdc7e(0x8e)](_0xb5683f,_0x52a141,_0x41fc09);});return;}_0x343147[_0x42600e(0x9b)](_0xb5683f,_0x41fc09);},_0x4abff4['on'](_0x5e6f3e(0xa9),_0x4b0803),_0x4abff4['on'](_0x5e6f3e(0x129),_0x240f17),_0x4abff4;}return Oe=_0x4506e9,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x25c58e}=ae();function _0x41d1a9(_0x58ecec){const _0x245dcd=_0x5d9d,_0x130a22=new Set();let _0x3305d1=-0x1,_0x4848b2=-0x1,_0x2dab88=0x0;for(_0x2dab88;_0x2dab88<_0x58ecec['length'];_0x2dab88++){const _0x232e1a=_0x58ecec[_0x245dcd(0x12d)](_0x2dab88);if(_0x4848b2===-0x1&&_0x25c58e[_0x232e1a]===0x1)_0x3305d1===-0x1&&(_0x3305d1=_0x2dab88);else{if(_0x2dab88!==0x0&&(_0x232e1a===0x20||_0x232e1a===0x9))_0x4848b2===-0x1&&_0x3305d1!==-0x1&&(_0x4848b2=_0x2dab88);else{if(_0x232e1a===0x2c){if(_0x3305d1===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2dab88);_0x4848b2===-0x1&&(_0x4848b2=_0x2dab88);const _0x3f1cc9=_0x58ecec[_0x245dcd(0x156)](_0x3305d1,_0x4848b2);if(_0x130a22[_0x245dcd(0x239)](_0x3f1cc9))throw new SyntaxError(_0x245dcd(0x1c0)+_0x3f1cc9+'\x22\x20subprotocol\x20is\x20duplicated');_0x130a22['add'](_0x3f1cc9),_0x3305d1=_0x4848b2=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2dab88);}}}if(_0x3305d1===-0x1||_0x4848b2!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x378ded=_0x58ecec[_0x245dcd(0x156)](_0x3305d1,_0x2dab88);if(_0x130a22['has'](_0x378ded))throw new SyntaxError('The\x20\x22'+_0x378ded+'\x22\x20subprotocol\x20is\x20duplicated');return _0x130a22['add'](_0x378ded),_0x130a22;}return Ce={'parse':_0x41d1a9},Ce;}var Te,rt;function Ft(){const _0x2f69e9=_0x3f9da1;if(rt)return Te;rt=0x1;const _0x5eb1e3=nt,_0x2c21ec=ot,{Duplex:_0x1f5dbf}=oe,{createHash:_0x5f5268}=Le,_0xe6a3dc=ct(),_0x2d1a7f=he(),_0x43b000=At(),_0x1a1806=Pe(),{GUID:_0x485cef,kWebSocket:_0x4dabbb}=H(),_0x5ee273=/^[+/0-9A-Za-z]{22}==$/,_0x3bc21e=0x0,_0x2523f6=0x1,_0x12a3c0=0x2;class _0x3855ea extends _0x5eb1e3{constructor(_0x111887,_0xc815ff){const _0x264449=_0x5d9d;if(super(),_0x111887={'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':_0x1a1806,..._0x111887},_0x111887[_0x264449(0x22b)]==null&&!_0x111887[_0x264449(0x108)]&&!_0x111887[_0x264449(0x1b6)]||_0x111887[_0x264449(0x22b)]!=null&&(_0x111887[_0x264449(0x108)]||_0x111887[_0x264449(0x1b6)])||_0x111887[_0x264449(0x108)]&&_0x111887['noServer'])throw new TypeError(_0x264449(0x10b));if(_0x111887[_0x264449(0x22b)]!=null?(this[_0x264449(0xd7)]=_0x2c21ec[_0x264449(0x13f)]((_0x5b0584,_0x43767a)=>{const _0x2bf4cb=_0x264449,_0x33113d=_0x2c21ec[_0x2bf4cb(0x1dd)][0x1aa];_0x43767a['writeHead'](0x1aa,{'Content-Length':_0x33113d[_0x2bf4cb(0x11f)],'Content-Type':_0x2bf4cb(0x170)}),_0x43767a[_0x2bf4cb(0xa9)](_0x33113d);}),this[_0x264449(0xd7)][_0x264449(0xc3)](_0x111887[_0x264449(0x22b)],_0x111887[_0x264449(0x1b8)],_0x111887[_0x264449(0xcf)],_0xc815ff)):_0x111887[_0x264449(0x108)]&&(this[_0x264449(0xd7)]=_0x111887[_0x264449(0x108)]),this['_server']){const _0xdc8370=this[_0x264449(0x103)][_0x264449(0x18b)](this,_0x264449(0xbb));this['_removeListeners']=_0x455d28(this[_0x264449(0xd7)],{'listening':this[_0x264449(0x103)][_0x264449(0x18b)](this,_0x264449(0x169)),'error':this[_0x264449(0x103)][_0x264449(0x18b)](this,'error'),'upgrade':(_0x3d7c9e,_0x3c6929,_0x5b8724)=>{const _0x195d80=_0x264449;this[_0x195d80(0x173)](_0x3d7c9e,_0x3c6929,_0x5b8724,_0xdc8370);}});}_0x111887['perMessageDeflate']===!0x0&&(_0x111887['perMessageDeflate']={}),_0x111887[_0x264449(0x200)]&&(this['clients']=new Set(),this[_0x264449(0x1fc)]=!0x1),this[_0x264449(0x1a1)]=_0x111887,this[_0x264449(0x240)]=_0x3bc21e;}[_0x2f69e9(0x1ed)](){const _0x2a44b3=_0x2f69e9;if(this[_0x2a44b3(0x1a1)][_0x2a44b3(0x1b6)])throw new Error(_0x2a44b3(0xa7));return this[_0x2a44b3(0xd7)]?this[_0x2a44b3(0xd7)][_0x2a44b3(0x1ed)]():null;}[_0x2f69e9(0x1f2)](_0x2f0f38){const _0x3bd51f=_0x2f69e9;if(this[_0x3bd51f(0x240)]===_0x12a3c0){_0x2f0f38&&this[_0x3bd51f(0x86)](_0x3bd51f(0x1f2),()=>{const _0x1a5c55=_0x3bd51f;_0x2f0f38(new Error(_0x1a5c55(0x18e)));}),process['nextTick'](_0x135c48,this);return;}if(_0x2f0f38&&this['once'](_0x3bd51f(0x1f2),_0x2f0f38),this[_0x3bd51f(0x240)]!==_0x2523f6){if(this[_0x3bd51f(0x240)]=_0x2523f6,this[_0x3bd51f(0x1a1)]['noServer']||this['options'][_0x3bd51f(0x108)])this[_0x3bd51f(0xd7)]&&(this['_removeListeners'](),this[_0x3bd51f(0x137)]=this[_0x3bd51f(0xd7)]=null),this[_0x3bd51f(0x153)]?this[_0x3bd51f(0x153)]['size']?this[_0x3bd51f(0x1fc)]=!0x0:process[_0x3bd51f(0x84)](_0x135c48,this):process[_0x3bd51f(0x84)](_0x135c48,this);else{const _0x55bf73=this[_0x3bd51f(0xd7)];this[_0x3bd51f(0x137)](),this[_0x3bd51f(0x137)]=this[_0x3bd51f(0xd7)]=null,_0x55bf73[_0x3bd51f(0x1f2)](()=>{_0x135c48(this);});}}}[_0x2f69e9(0x14b)](_0x1938cd){const _0x43c0a9=_0x2f69e9;if(this[_0x43c0a9(0x1a1)]['path']){const _0x5a295f=_0x1938cd[_0x43c0a9(0x1aa)][_0x43c0a9(0x1d1)]('?');if((_0x5a295f!==-0x1?_0x1938cd[_0x43c0a9(0x1aa)][_0x43c0a9(0x156)](0x0,_0x5a295f):_0x1938cd[_0x43c0a9(0x1aa)])!==this['options'][_0x43c0a9(0x244)])return!0x1;}return!0x0;}[_0x2f69e9(0x173)](_0x2cccfb,_0x3b6707,_0x33d9de,_0xbf6237){const _0x4542d0=_0x2f69e9;_0x3b6707['on']('error',_0x495d54);const _0x17324f=_0x2cccfb[_0x4542d0(0x1da)][_0x4542d0(0x219)],_0xbb9bb0=_0x2cccfb[_0x4542d0(0x1da)][_0x4542d0(0x189)],_0x58e9ab=+_0x2cccfb[_0x4542d0(0x1da)][_0x4542d0(0x1bf)];if(_0x2cccfb['method']!==_0x4542d0(0xaa)){_0x45b8c6(this,_0x2cccfb,_0x3b6707,0x195,'Invalid\x20HTTP\x20method');return;}if(_0xbb9bb0===void 0x0||_0xbb9bb0['toLowerCase']()!=='websocket'){_0x45b8c6(this,_0x2cccfb,_0x3b6707,0x190,_0x4542d0(0x22c));return;}if(_0x17324f===void 0x0||!_0x5ee273[_0x4542d0(0x163)](_0x17324f)){_0x45b8c6(this,_0x2cccfb,_0x3b6707,0x190,_0x4542d0(0xf6));return;}if(_0x58e9ab!==0xd&&_0x58e9ab!==0x8){_0x45b8c6(this,_0x2cccfb,_0x3b6707,0x190,_0x4542d0(0x147),{'Sec-WebSocket-Version':_0x4542d0(0x167)});return;}if(!this[_0x4542d0(0x14b)](_0x2cccfb)){_0x483829(_0x3b6707,0x190);return;}const _0x3aeb7e=_0x2cccfb[_0x4542d0(0x1da)][_0x4542d0(0xfb)];let _0xdb9c74=new Set();if(_0x3aeb7e!==void 0x0)try{_0xdb9c74=_0x43b000[_0x4542d0(0x1bd)](_0x3aeb7e);}catch{_0x45b8c6(this,_0x2cccfb,_0x3b6707,0x190,_0x4542d0(0xc9));return;}const _0x34a096=_0x2cccfb[_0x4542d0(0x1da)]['sec-websocket-extensions'],_0x54210b={};if(this[_0x4542d0(0x1a1)]['perMessageDeflate']&&_0x34a096!==void 0x0){const _0x29883f=new _0x2d1a7f(this[_0x4542d0(0x1a1)][_0x4542d0(0x1f9)],!0x0,this[_0x4542d0(0x1a1)][_0x4542d0(0x178)]);try{const _0x978d12=_0xe6a3dc['parse'](_0x34a096);_0x978d12[_0x2d1a7f[_0x4542d0(0xef)]]&&(_0x29883f['accept'](_0x978d12[_0x2d1a7f[_0x4542d0(0xef)]]),_0x54210b[_0x2d1a7f['extensionName']]=_0x29883f);}catch{_0x45b8c6(this,_0x2cccfb,_0x3b6707,0x190,_0x4542d0(0x1fa));return;}}if(this[_0x4542d0(0x1a1)][_0x4542d0(0x1e1)]){const _0x125129={'origin':_0x2cccfb[_0x4542d0(0x1da)][''+(_0x58e9ab===0x8?_0x4542d0(0x136):_0x4542d0(0x149))],'secure':!!(_0x2cccfb[_0x4542d0(0x1e4)][_0x4542d0(0x208)]||_0x2cccfb[_0x4542d0(0x1e4)][_0x4542d0(0x17c)]),'req':_0x2cccfb};if(this[_0x4542d0(0x1a1)][_0x4542d0(0x1e1)][_0x4542d0(0x11f)]===0x2){this[_0x4542d0(0x1a1)][_0x4542d0(0x1e1)](_0x125129,(_0x5a4862,_0x222c09,_0x5f251a,_0x3d3b19)=>{const _0x38adc7=_0x4542d0;if(!_0x5a4862)return _0x483829(_0x3b6707,_0x222c09||0x191,_0x5f251a,_0x3d3b19);this[_0x38adc7(0x21f)](_0x54210b,_0x17324f,_0xdb9c74,_0x2cccfb,_0x3b6707,_0x33d9de,_0xbf6237);});return;}if(!this[_0x4542d0(0x1a1)][_0x4542d0(0x1e1)](_0x125129))return _0x483829(_0x3b6707,0x191);}this['completeUpgrade'](_0x54210b,_0x17324f,_0xdb9c74,_0x2cccfb,_0x3b6707,_0x33d9de,_0xbf6237);}[_0x2f69e9(0x21f)](_0x1780c6,_0x48b1ed,_0x1fb150,_0xd37f9a,_0x379c10,_0x28f407,_0x5057aa){const _0x4d1796=_0x2f69e9;if(!_0x379c10['readable']||!_0x379c10['writable'])return _0x379c10[_0x4d1796(0x188)]();if(_0x379c10[_0x4dabbb])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x4d1796(0x240)]>_0x3bc21e)return _0x483829(_0x379c10,0x1f7);const _0x21b23b=[_0x4d1796(0x22f),_0x4d1796(0x1a8),_0x4d1796(0x19c),_0x4d1796(0xa3)+_0x5f5268(_0x4d1796(0x19e))[_0x4d1796(0x223)](_0x48b1ed+_0x485cef)[_0x4d1796(0x10a)](_0x4d1796(0xee))],_0x2f6ae4=new this[(_0x4d1796(0x1a1))][(_0x4d1796(0x128))](null,void 0x0,this[_0x4d1796(0x1a1)]);if(_0x1fb150[_0x4d1796(0x134)]){const _0x10bf92=this[_0x4d1796(0x1a1)][_0x4d1796(0x13d)]?this['options']['handleProtocols'](_0x1fb150,_0xd37f9a):_0x1fb150[_0x4d1796(0x14c)]()['next']()['value'];_0x10bf92&&(_0x21b23b[_0x4d1796(0x91)](_0x4d1796(0x8c)+_0x10bf92),_0x2f6ae4[_0x4d1796(0x98)]=_0x10bf92);}if(_0x1780c6[_0x2d1a7f['extensionName']]){const _0x5cd550=_0x1780c6[_0x2d1a7f[_0x4d1796(0xef)]][_0x4d1796(0x9c)],_0x522505=_0xe6a3dc[_0x4d1796(0xbc)]({[_0x2d1a7f[_0x4d1796(0xef)]]:[_0x5cd550]});_0x21b23b[_0x4d1796(0x91)](_0x4d1796(0x11a)+_0x522505),_0x2f6ae4[_0x4d1796(0x13e)]=_0x1780c6;}this[_0x4d1796(0x103)]('headers',_0x21b23b,_0xd37f9a),_0x379c10[_0x4d1796(0x106)](_0x21b23b[_0x4d1796(0xfe)]('\x0d\x0a')['join']('\x0d\x0a')),_0x379c10[_0x4d1796(0x145)](_0x4d1796(0x129),_0x495d54),_0x2f6ae4['setSocket'](_0x379c10,_0x28f407,{'allowSynchronousEvents':this[_0x4d1796(0x1a1)]['allowSynchronousEvents'],'maxPayload':this[_0x4d1796(0x1a1)]['maxPayload'],'skipUTF8Validation':this['options'][_0x4d1796(0xcb)]}),this[_0x4d1796(0x153)]&&(this['clients'][_0x4d1796(0x1a5)](_0x2f6ae4),_0x2f6ae4['on']('close',()=>{const _0x4fce2b=_0x4d1796;this['clients'][_0x4fce2b(0x87)](_0x2f6ae4),this[_0x4fce2b(0x1fc)]&&!this[_0x4fce2b(0x153)][_0x4fce2b(0x134)]&&process[_0x4fce2b(0x84)](_0x135c48,this);})),_0x5057aa(_0x2f6ae4,_0xd37f9a);}}Te=_0x3855ea;function _0x455d28(_0x222edf,_0x43de3b){const _0x24ce71=_0x2f69e9;for(const _0x5e46ae of Object[_0x24ce71(0x186)](_0x43de3b))_0x222edf['on'](_0x5e46ae,_0x43de3b[_0x5e46ae]);return function(){for(const _0x1aed76 of Object['keys'](_0x43de3b))_0x222edf['removeListener'](_0x1aed76,_0x43de3b[_0x1aed76]);};}function _0x135c48(_0x15816f){const _0x50406f=_0x2f69e9;_0x15816f[_0x50406f(0x240)]=_0x12a3c0,_0x15816f[_0x50406f(0x103)](_0x50406f(0x1f2));}function _0x495d54(){this['destroy']();}function _0x483829(_0x547166,_0x3c052f,_0x34f8b5,_0x5bb373){const _0x4f66a0=_0x2f69e9;_0x34f8b5=_0x34f8b5||_0x2c21ec[_0x4f66a0(0x1dd)][_0x3c052f],_0x5bb373={'Connection':'close','Content-Type':_0x4f66a0(0x20b),'Content-Length':Buffer['byteLength'](_0x34f8b5),..._0x5bb373},_0x547166[_0x4f66a0(0x86)]('finish',_0x547166[_0x4f66a0(0x188)]),_0x547166[_0x4f66a0(0xa9)](_0x4f66a0(0x232)+_0x3c052f+'\x20'+_0x2c21ec[_0x4f66a0(0x1dd)][_0x3c052f]+'\x0d\x0a'+Object[_0x4f66a0(0x186)](_0x5bb373)[_0x4f66a0(0x12f)](_0x4b569c=>_0x4b569c+':\x20'+_0x5bb373[_0x4b569c])[_0x4f66a0(0x199)]('\x0d\x0a')+_0x4f66a0(0xa4)+_0x34f8b5);}function _0x45b8c6(_0x2877c5,_0x4cc46d,_0x5c6b68,_0x35eb1d,_0x87773,_0x1c667c){const _0x1eab8a=_0x2f69e9;if(_0x2877c5['listenerCount'](_0x1eab8a(0x1b1))){const _0x372fa8=new Error(_0x87773);Error[_0x1eab8a(0xe3)](_0x372fa8,_0x45b8c6),_0x2877c5[_0x1eab8a(0x103)]('wsClientError',_0x372fa8,_0x5c6b68,_0x4cc46d);}else _0x483829(_0x5c6b68,_0x35eb1d,_0x87773,_0x1c667c);}return Te;}Ft();var jt=Object[_0x3f9da1(0x1ca)],Wt=(_0x3ccdcd,_0x25e033,_0x126828,_0x5aac97)=>{const _0x79c1fb=_0x3f9da1;for(var _0x406e64=_0x5aac97>0x1?void 0x0:_0x5aac97?jt(_0x25e033,_0x126828):_0x25e033,_0x7e6025=_0x3ccdcd[_0x79c1fb(0x11f)]-0x1,_0x228af7;_0x7e6025>=0x0;_0x7e6025--)(_0x228af7=_0x3ccdcd[_0x7e6025])&&(_0x406e64=_0x228af7(_0x406e64)||_0x406e64);return _0x406e64;},qt=(_0x41f161,_0x291fc9)=>(_0x50cbf8,_0x1dd064)=>_0x291fc9(_0x50cbf8,_0x1dd064,_0x41f161);let ke=class extends A[_0x3f9da1(0x16b)]{constructor(_0xe2d71b){const _0x2a2070=_0x3f9da1;super(),this[_0x2a2070(0x1c2)]=_0xe2d71b;}[_0x3f9da1(0x1a3)](_0x5bd366){const _0x3015e3=_0x3f9da1;var _0x9a33c9;const _0x49b180=(_0x9a33c9=this[_0x3015e3(0x1c2)][_0x3015e3(0x132)](fe))==null?void 0x0:_0x9a33c9[_0x3015e3(0x194)];try{const _0x507743=new $t(_0x5bd366,{'headers':{..._0x49b180}}),_0x11cd75=new A[(_0x3015e3(0xb1))]();return{'URL':_0x5bd366,'close':(_0x451150,_0x4dea10)=>{const _0x296d5b=_0x3015e3;_0x507743['close'](_0x451150,_0x4dea10),_0x11cd75[_0x296d5b(0xdd)]();},'send':_0x40abad=>{const _0x2a83af=_0x3015e3;_0x507743[_0x2a83af(0x9b)](_0x40abad);},'open$':new V[(_0x3015e3(0x13c))](_0x310a0f=>{const _0xd2c751=_0x3015e3,_0x1785ec=_0x33c257=>_0x310a0f['next'](_0x33c257);_0x507743['addEventListener']('open',_0x1785ec),_0x11cd75[_0xd2c751(0x1a5)](A[_0xd2c751(0x198)](()=>_0x507743[_0xd2c751(0x1df)](_0xd2c751(0x1b3),_0x1785ec)));})[_0x3015e3(0x204)](V[_0x3015e3(0x1a4)]()),'close$':new V[(_0x3015e3(0x13c))](_0xc1c1f4=>{const _0x159a9f=_0x3015e3,_0x4d654e=_0x411037=>_0xc1c1f4[_0x159a9f(0x143)](_0x411037);_0x507743[_0x159a9f(0x20e)]('close',_0x4d654e),_0x11cd75[_0x159a9f(0x1a5)](A[_0x159a9f(0x198)](()=>_0x507743[_0x159a9f(0x1df)]('close',_0x4d654e)));})[_0x3015e3(0x204)](V[_0x3015e3(0x1a4)]()),'error$':new V[(_0x3015e3(0x13c))](_0xea53e5=>{const _0x4c5036=_0x3015e3,_0xb296f1=_0x2002f5=>_0xea53e5[_0x4c5036(0x143)](_0x2002f5);_0x507743['addEventListener'](_0x4c5036(0x129),_0xb296f1),_0x11cd75[_0x4c5036(0x1a5)](A[_0x4c5036(0x198)](()=>_0x507743[_0x4c5036(0x1df)]('error',_0xb296f1)));})[_0x3015e3(0x204)](V[_0x3015e3(0x1a4)]()),'message$':new V[(_0x3015e3(0x13c))](_0xb4ae9d=>{const _0x31a4cb=_0x3015e3,_0x58a2ed=_0x3931b8=>_0xb4ae9d[_0x31a4cb(0x143)](_0x3931b8);_0x507743[_0x31a4cb(0x20e)](_0x31a4cb(0x215),_0x58a2ed),_0x11cd75[_0x31a4cb(0x1a5)](A[_0x31a4cb(0x198)](()=>_0x507743[_0x31a4cb(0x1df)](_0x31a4cb(0x215),_0x58a2ed)));})['pipe'](V['share']())};}catch(_0x501c31){return console[_0x3015e3(0x129)](_0x501c31),null;}}};ke=Wt([qt(0x0,A[_0x3f9da1(0x138)])],ke);var Gt=Object[_0x3f9da1(0x9a)],Vt=Object[_0x3f9da1(0x1ca)],Ht=(_0x43e15c,_0x5006db,_0x2c3fc6)=>_0x5006db in _0x43e15c?Gt(_0x43e15c,_0x5006db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c3fc6}):_0x43e15c[_0x5006db]=_0x2c3fc6,zt=(_0x25da8c,_0x5ed05a,_0x531040,_0x3a17fa)=>{const _0x5e33f3=_0x3f9da1;for(var _0x5c6f56=_0x3a17fa>0x1?void 0x0:_0x3a17fa?Vt(_0x5ed05a,_0x531040):_0x5ed05a,_0x46241c=_0x25da8c[_0x5e33f3(0x11f)]-0x1,_0x52d152;_0x46241c>=0x0;_0x46241c--)(_0x52d152=_0x25da8c[_0x46241c])&&(_0x5c6f56=_0x52d152(_0x5c6f56)||_0x5c6f56);return _0x5c6f56;},Ne=(_0x115c81,_0xd217ba)=>(_0x5834b3,_0xe82faa)=>_0xd217ba(_0x5834b3,_0xe82faa,_0x115c81),Yt=(_0x987af9,_0xa3f24c,_0x305ff4)=>Ht(_0x987af9,_0xa3f24c+'',_0x305ff4);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x3f9da1(0xbd)]{constructor(_0x563f8d=Ct,_0x2b36bd,_0xa3ff50,_0x1707e9){const _0xbc2310=_0x3f9da1;_0x563f8d['customHeaders']||_0x2b36bd['warn'](_0xbc2310(0x158)),super(),this[_0xbc2310(0x1c2)]=_0xa3ff50,this[_0xbc2310(0x19f)]=_0x1707e9,this[_0xbc2310(0x1c2)][_0xbc2310(0x1a0)](fe,_0x563f8d);}[_0x3f9da1(0x1e3)](){const _0x1ba32f=_0x3f9da1;this[_0x1ba32f(0x23f)]();}[_0x3f9da1(0x23f)](){const _0x7cf0ef=_0x3f9da1;A[_0x7cf0ef(0xe2)](this[_0x7cf0ef(0x19f)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x3f9da1(0x22e),_0x3f9da1(0x23d)),exports[_0x3f9da1(0x124)]=zt([A[_0x3f9da1(0x20d)](st[_0x3f9da1(0x1f4)]),Ne(0x1,A[_0x3f9da1(0xec)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x3f9da1(0x130)](A[_0x3f9da1(0x168)]))],exports[_0x3f9da1(0x124)]);function _0x5d9d(_0x2ecb37,_0x162286){const _0x4e699=_0x4e69();return _0x5d9d=function(_0x5d9dad,_0x35d5aa){_0x5d9dad=_0x5d9dad-0x81;let _0x22c25a=_0x4e699[_0x5d9dad];return _0x22c25a;},_0x5d9d(_0x2ecb37,_0x162286);}var Kt=Object[_0x3f9da1(0x1ca)],Xt=(_0x257f1f,_0x1e21d0,_0x1024aa,_0x583f35)=>{const _0x36d1a3=_0x3f9da1;for(var _0x3a1193=_0x583f35>0x1?void 0x0:_0x583f35?Kt(_0x1e21d0,_0x1024aa):_0x1e21d0,_0x1564f8=_0x257f1f[_0x36d1a3(0x11f)]-0x1,_0x1463f1;_0x1564f8>=0x0;_0x1564f8--)(_0x1463f1=_0x257f1f[_0x1564f8])&&(_0x3a1193=_0x1463f1(_0x3a1193)||_0x3a1193);return _0x3a1193;},ne=(_0x2d37a2,_0x547159)=>(_0x55352f,_0x2f52e2)=>_0x547159(_0x55352f,_0x2f52e2,_0x2d37a2);exports[_0x3f9da1(0x15d)]=class extends st[_0x3f9da1(0x217)]{constructor(_0x4f181a,_0x579f11,_0x9da744,_0x49bca0,_0x1f5352){const _0x326b25=_0x3f9da1;super(_0x4f181a,_0x579f11,_0x9da744,_0x49bca0,_0x1f5352);const _0x28481b=this[_0x326b25(0x1c2)]['getConfig'](fe);this['_httpService'][_0x326b25(0x1d7)]({'interceptor':(_0x4fd77e,_0x4c6884)=>{const _0x2d7203=_0x326b25;var _0x13d9a3;const _0xcf91=_0x4fd77e[_0x2d7203(0x1da)];return(_0x13d9a3=_0x28481b==null?void 0x0:_0x28481b[_0x2d7203(0x194)])!=null&&_0x13d9a3[_0x2d7203(0x93)]&&_0xcf91[_0x2d7203(0x176)]('Cookie',_0x28481b[_0x2d7203(0x194)][_0x2d7203(0x93)]),_0x4c6884(_0x4fd77e);}});}async['createSocket'](_0xe6ddba){const _0x48f436=_0x3f9da1;return this[_0x48f436(0xc6)](_0xe6ddba);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x3f9da1(0x168)])),ne(0x1,A[_0x3f9da1(0x130)](it[_0x3f9da1(0xe7)])),ne(0x2,A['IConfigService']),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x3f9da1(0xd8)])],exports['NodeCollaborationSocketService']),exports[_0x3f9da1(0x15c)]=fe;
1
+ 'use strict';const _0x1715bb=_0x254c;(function(_0x1005a3,_0x2ff4a0){const _0xd08319=_0x254c,_0x399a1b=_0x1005a3();while(!![]){try{const _0x2aedc0=-parseInt(_0xd08319(0xc8))/0x1*(parseInt(_0xd08319(0x106))/0x2)+parseInt(_0xd08319(0x1b5))/0x3+parseInt(_0xd08319(0xe1))/0x4*(-parseInt(_0xd08319(0xc6))/0x5)+parseInt(_0xd08319(0x239))/0x6*(parseInt(_0xd08319(0x1ee))/0x7)+parseInt(_0xd08319(0xb1))/0x8+-parseInt(_0xd08319(0x9c))/0x9*(-parseInt(_0xd08319(0x1bf))/0xa)+parseInt(_0xd08319(0xa4))/0xb*(-parseInt(_0xd08319(0x15b))/0xc);if(_0x2aedc0===_0x2ff4a0)break;else _0x399a1b['push'](_0x399a1b['shift']());}catch(_0x5bc915){_0x399a1b['push'](_0x399a1b['shift']());}}}(_0xbf3f,0x49cfe));Object[_0x1715bb(0xc3)](exports,Symbol[_0x1715bb(0x1e3)],{'value':_0x1715bb(0x220)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x187e9f){const _0x3ff309=_0x1715bb;return _0x187e9f&&_0x187e9f[_0x3ff309(0x87)]&&Object[_0x3ff309(0x91)][_0x3ff309(0x223)][_0x3ff309(0x189)](_0x187e9f,'default')?_0x187e9f[_0x3ff309(0xcb)]:_0x187e9f;}function at(_0x5e7810){const _0x2578d6=_0x1715bb;if(Object['prototype']['hasOwnProperty'][_0x2578d6(0x189)](_0x5e7810,_0x2578d6(0x87)))return _0x5e7810;var _0x307966=_0x5e7810['default'];if(typeof _0x307966=='function'){var _0x2ff2ec=function _0x4fcc47(){const _0x1afe9a=_0x2578d6;var _0xdcb3cb=!0x1;try{_0xdcb3cb=this instanceof _0x4fcc47;}catch{}return _0xdcb3cb?Reflect[_0x1afe9a(0x1b2)](_0x307966,arguments,this[_0x1afe9a(0x22c)]):_0x307966['apply'](this,arguments);};_0x2ff2ec[_0x2578d6(0x91)]=_0x307966['prototype'];}else _0x2ff2ec={};return Object[_0x2578d6(0xc3)](_0x2ff2ec,'__esModule',{'value':!0x0}),Object[_0x2578d6(0x20c)](_0x5e7810)['forEach'](function(_0x320645){const _0x187077=_0x2578d6;var _0x19e41c=Object[_0x187077(0x1ca)](_0x5e7810,_0x320645);Object['defineProperty'](_0x2ff2ec,_0x320645,_0x19e41c[_0x187077(0x14d)]?_0x19e41c:{'enumerable':!0x0,'get':function(){return _0x5e7810[_0x320645];}});}),_0x2ff2ec;}var se={'exports':{}},ge,Ge;function H(){const _0x985df9=_0x1715bb;if(Ge)return ge;Ge=0x1;const _0x4e5f63=[_0x985df9(0xcc),_0x985df9(0x225),_0x985df9(0x1fe)],_0x3e35b2=typeof Blob<'u';return _0x3e35b2&&_0x4e5f63[_0x985df9(0x1eb)]('blob'),ge={'BINARY_TYPES':_0x4e5f63,'EMPTY_BUFFER':Buffer[_0x985df9(0x19c)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3e35b2,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x985df9(0x1e4)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x985df9(0x172)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1715bb(0x1d0)](Object[_0x1715bb(0xc3)]({'__proto__':null,'default':Nt},Symbol[_0x1715bb(0x1e3)],{'value':_0x1715bb(0x220)})),Lt=at(kt);var Ve;function ce(){const _0x55fab7=_0x1715bb;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x6161a6}=H(),_0x18b9a6=Buffer[Symbol[_0x55fab7(0x22d)]];function _0x3bebe7(_0x4f4bc4,_0x553cf2){const _0x17976e=_0x55fab7;if(_0x4f4bc4[_0x17976e(0x8f)]===0x0)return _0x6161a6;if(_0x4f4bc4['length']===0x1)return _0x4f4bc4[0x0];const _0x3edd66=Buffer['allocUnsafe'](_0x553cf2);let _0x36612b=0x0;for(let _0x490171=0x0;_0x490171<_0x4f4bc4[_0x17976e(0x8f)];_0x490171++){const _0x345bea=_0x4f4bc4[_0x490171];_0x3edd66[_0x17976e(0x155)](_0x345bea,_0x36612b),_0x36612b+=_0x345bea[_0x17976e(0x8f)];}return _0x36612b<_0x553cf2?new _0x18b9a6(_0x3edd66[_0x17976e(0x141)],_0x3edd66['byteOffset'],_0x36612b):_0x3edd66;}function _0xa70eac(_0x196866,_0x64434a,_0x2df2da,_0xfe3677,_0x34a1c9){for(let _0x51f4b3=0x0;_0x51f4b3<_0x34a1c9;_0x51f4b3++)_0x2df2da[_0xfe3677+_0x51f4b3]=_0x196866[_0x51f4b3]^_0x64434a[_0x51f4b3&0x3];}function _0x265104(_0x1cbe38,_0x2f8311){for(let _0x270c41=0x0;_0x270c41<_0x1cbe38['length'];_0x270c41++)_0x1cbe38[_0x270c41]^=_0x2f8311[_0x270c41&0x3];}function _0x47e515(_0x2a5585){const _0x109bfc=_0x55fab7;return _0x2a5585[_0x109bfc(0x8f)]===_0x2a5585[_0x109bfc(0x141)][_0x109bfc(0x177)]?_0x2a5585[_0x109bfc(0x141)]:_0x2a5585['buffer']['slice'](_0x2a5585[_0x109bfc(0x123)],_0x2a5585['byteOffset']+_0x2a5585[_0x109bfc(0x8f)]);}function _0x4a5702(_0x2a6232){const _0x434e10=_0x55fab7;if(_0x4a5702[_0x434e10(0x1a9)]=!0x0,Buffer[_0x434e10(0x21d)](_0x2a6232))return _0x2a6232;let _0x3caf1f;return _0x2a6232 instanceof ArrayBuffer?_0x3caf1f=new _0x18b9a6(_0x2a6232):ArrayBuffer[_0x434e10(0x8d)](_0x2a6232)?_0x3caf1f=new _0x18b9a6(_0x2a6232[_0x434e10(0x141)],_0x2a6232[_0x434e10(0x123)],_0x2a6232[_0x434e10(0x177)]):(_0x3caf1f=Buffer['from'](_0x2a6232),_0x4a5702[_0x434e10(0x1a9)]=!0x1),_0x3caf1f;}if(se['exports']={'concat':_0x3bebe7,'mask':_0xa70eac,'toArrayBuffer':_0x47e515,'toBuffer':_0x4a5702,'unmask':_0x265104},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x58edae=Lt;se[_0x55fab7(0x8e)][_0x55fab7(0xe2)]=function(_0x371041,_0x4c5aec,_0x2d50ea,_0x315067,_0x17f697){const _0x2ea5e3=_0x55fab7;_0x17f697<0x30?_0xa70eac(_0x371041,_0x4c5aec,_0x2d50ea,_0x315067,_0x17f697):_0x58edae[_0x2ea5e3(0xe2)](_0x371041,_0x4c5aec,_0x2d50ea,_0x315067,_0x17f697);},se[_0x55fab7(0x8e)][_0x55fab7(0xe8)]=function(_0x4ccb58,_0x387957){_0x4ccb58['length']<0x20?_0x265104(_0x4ccb58,_0x387957):_0x58edae['unmask'](_0x4ccb58,_0x387957);};}catch{}return se[_0x55fab7(0x8e)];}var ye,He;function Pt(){const _0x161f20=_0x1715bb;if(He)return ye;He=0x1;const _0x57cdf1=Symbol('kDone'),_0x4f456c=Symbol('kRun');class _0x52f08c{constructor(_0x501e77){const _0x47dc69=_0x254c;this[_0x57cdf1]=()=>{const _0x255b53=_0x254c;this[_0x255b53(0x120)]--,this[_0x4f456c]();},this[_0x47dc69(0x12d)]=_0x501e77||0x1/0x0,this['jobs']=[],this[_0x47dc69(0x120)]=0x0;}[_0x161f20(0x174)](_0x251044){this['jobs']['push'](_0x251044),this[_0x4f456c]();}[_0x4f456c](){const _0xf1bed3=_0x161f20;if(this[_0xf1bed3(0x120)]!==this[_0xf1bed3(0x12d)]&&this[_0xf1bed3(0x127)]['length']){const _0x87527f=this['jobs'][_0xf1bed3(0x1d8)]();this[_0xf1bed3(0x120)]++,_0x87527f(this[_0x57cdf1]);}}}return ye=_0x52f08c,ye;}var ve,ze;function he(){const _0x52b310=_0x1715bb;if(ze)return ve;ze=0x1;const _0x34d30=bt,_0x4aed44=ce(),_0x3c5779=Pt(),{kStatusCode:_0x25431d}=H(),_0x4253fd=Buffer[Symbol['species']],_0x4b557f=Buffer[_0x52b310(0x191)]([0x0,0x0,0xff,0xff]),_0x122e7e=Symbol('permessage-deflate'),_0x376f32=Symbol(_0x52b310(0x1aa)),_0x70f1d8=Symbol(_0x52b310(0xdf)),_0x4d0be3=Symbol(_0x52b310(0xc7)),_0x2ad34d=Symbol(_0x52b310(0x107));let _0x30f383;class _0x3abb45{constructor(_0x3b78f0,_0x516478,_0x2b6eaa){const _0x464d5f=_0x52b310;if(this[_0x464d5f(0x1cf)]=_0x2b6eaa|0x0,this[_0x464d5f(0x129)]=_0x3b78f0||{},this[_0x464d5f(0x1b0)]=this['_options'][_0x464d5f(0x9a)]!==void 0x0?this[_0x464d5f(0x129)][_0x464d5f(0x9a)]:0x400,this[_0x464d5f(0x103)]=!!_0x516478,this[_0x464d5f(0x10d)]=null,this[_0x464d5f(0xdd)]=null,this[_0x464d5f(0x1b8)]=null,!_0x30f383){const _0x35474e=this[_0x464d5f(0x129)][_0x464d5f(0x22f)]!==void 0x0?this[_0x464d5f(0x129)][_0x464d5f(0x22f)]:0xa;_0x30f383=new _0x3c5779(_0x35474e);}}static get['extensionName'](){const _0x393f8e=_0x52b310;return _0x393f8e(0x86);}[_0x52b310(0x149)](){const _0x1b4f9e=_0x52b310,_0x427901={};return this[_0x1b4f9e(0x129)][_0x1b4f9e(0x21c)]&&(_0x427901['server_no_context_takeover']=!0x0),this[_0x1b4f9e(0x129)]['clientNoContextTakeover']&&(_0x427901['client_no_context_takeover']=!0x0),this[_0x1b4f9e(0x129)]['serverMaxWindowBits']&&(_0x427901[_0x1b4f9e(0x1dc)]=this[_0x1b4f9e(0x129)][_0x1b4f9e(0x137)]),this[_0x1b4f9e(0x129)][_0x1b4f9e(0xa3)]?_0x427901[_0x1b4f9e(0x20e)]=this[_0x1b4f9e(0x129)]['clientMaxWindowBits']:this[_0x1b4f9e(0x129)]['clientMaxWindowBits']==null&&(_0x427901[_0x1b4f9e(0x20e)]=!0x0),_0x427901;}['accept'](_0x45a80e){const _0x1bb6d4=_0x52b310;return _0x45a80e=this[_0x1bb6d4(0x1ed)](_0x45a80e),this[_0x1bb6d4(0x1b8)]=this['_isServer']?this[_0x1bb6d4(0x115)](_0x45a80e):this[_0x1bb6d4(0xa6)](_0x45a80e),this[_0x1bb6d4(0x1b8)];}['cleanup'](){const _0x3ee0cd=_0x52b310;if(this[_0x3ee0cd(0xdd)]&&(this[_0x3ee0cd(0xdd)][_0x3ee0cd(0x187)](),this[_0x3ee0cd(0xdd)]=null),this[_0x3ee0cd(0x10d)]){const _0x2362fa=this[_0x3ee0cd(0x10d)][_0x70f1d8];this[_0x3ee0cd(0x10d)][_0x3ee0cd(0x187)](),this['_deflate']=null,_0x2362fa&&_0x2362fa(new Error(_0x3ee0cd(0x17a)));}}[_0x52b310(0x115)](_0x49c675){const _0x2062a1=_0x52b310,_0x50fed3=this[_0x2062a1(0x129)],_0x48bc95=_0x49c675[_0x2062a1(0x1e9)](_0x4f8c36=>!(_0x50fed3[_0x2062a1(0x21c)]===!0x1&&_0x4f8c36['server_no_context_takeover']||_0x4f8c36[_0x2062a1(0x1dc)]&&(_0x50fed3[_0x2062a1(0x137)]===!0x1||typeof _0x50fed3[_0x2062a1(0x137)]==_0x2062a1(0xed)&&_0x50fed3[_0x2062a1(0x137)]>_0x4f8c36[_0x2062a1(0x1dc)])||typeof _0x50fed3[_0x2062a1(0xa3)]=='number'&&!_0x4f8c36[_0x2062a1(0x20e)]));if(!_0x48bc95)throw new Error(_0x2062a1(0x1c7));return _0x50fed3[_0x2062a1(0x21c)]&&(_0x48bc95[_0x2062a1(0x122)]=!0x0),_0x50fed3[_0x2062a1(0x9d)]&&(_0x48bc95[_0x2062a1(0x217)]=!0x0),typeof _0x50fed3[_0x2062a1(0x137)]=='number'&&(_0x48bc95[_0x2062a1(0x1dc)]=_0x50fed3[_0x2062a1(0x137)]),typeof _0x50fed3[_0x2062a1(0xa3)]=='number'?_0x48bc95[_0x2062a1(0x20e)]=_0x50fed3[_0x2062a1(0xa3)]:(_0x48bc95[_0x2062a1(0x20e)]===!0x0||_0x50fed3[_0x2062a1(0xa3)]===!0x1)&&delete _0x48bc95[_0x2062a1(0x20e)],_0x48bc95;}[_0x52b310(0xa6)](_0xa2d5d4){const _0x46596c=_0x52b310,_0x84c07d=_0xa2d5d4[0x0];if(this[_0x46596c(0x129)]['clientNoContextTakeover']===!0x1&&_0x84c07d[_0x46596c(0x217)])throw new Error(_0x46596c(0x140));if(!_0x84c07d[_0x46596c(0x20e)])typeof this[_0x46596c(0x129)][_0x46596c(0xa3)]==_0x46596c(0xed)&&(_0x84c07d[_0x46596c(0x20e)]=this[_0x46596c(0x129)][_0x46596c(0xa3)]);else{if(this['_options'][_0x46596c(0xa3)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x46596c(0xed)&&_0x84c07d[_0x46596c(0x20e)]>this['_options'][_0x46596c(0xa3)])throw new Error(_0x46596c(0x134));}return _0x84c07d;}[_0x52b310(0x1ed)](_0x39816e){const _0x5af8a0=_0x52b310;return _0x39816e[_0x5af8a0(0x216)](_0x26ff6c=>{const _0x256edf=_0x5af8a0;Object[_0x256edf(0x20c)](_0x26ff6c)[_0x256edf(0x216)](_0x4e7f4a=>{const _0x3b4023=_0x256edf;let _0x59e370=_0x26ff6c[_0x4e7f4a];if(_0x59e370[_0x3b4023(0x8f)]>0x1)throw new Error(_0x3b4023(0x20f)+_0x4e7f4a+_0x3b4023(0x1bb));if(_0x59e370=_0x59e370[0x0],_0x4e7f4a===_0x3b4023(0x20e)){if(_0x59e370!==!0x0){const _0x3d83c8=+_0x59e370;if(!Number['isInteger'](_0x3d83c8)||_0x3d83c8<0x8||_0x3d83c8>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4e7f4a+_0x3b4023(0x1e5)+_0x59e370);_0x59e370=_0x3d83c8;}else{if(!this[_0x3b4023(0x103)])throw new TypeError(_0x3b4023(0x1a8)+_0x4e7f4a+_0x3b4023(0x1e5)+_0x59e370);}}else{if(_0x4e7f4a===_0x3b4023(0x1dc)){const _0x2dce25=+_0x59e370;if(!Number[_0x3b4023(0x222)](_0x2dce25)||_0x2dce25<0x8||_0x2dce25>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4e7f4a+_0x3b4023(0x1e5)+_0x59e370);_0x59e370=_0x2dce25;}else{if(_0x4e7f4a==='client_no_context_takeover'||_0x4e7f4a===_0x3b4023(0x122)){if(_0x59e370!==!0x0)throw new TypeError(_0x3b4023(0x1a8)+_0x4e7f4a+_0x3b4023(0x1e5)+_0x59e370);}else throw new Error(_0x3b4023(0x1ba)+_0x4e7f4a+'\x22');}}_0x26ff6c[_0x4e7f4a]=_0x59e370;});}),_0x39816e;}[_0x52b310(0x208)](_0x576274,_0xbbb5a6,_0x1ae8b0){const _0x3bf988=_0x52b310;_0x30f383[_0x3bf988(0x174)](_0x473723=>{const _0x2f490a=_0x3bf988;this[_0x2f490a(0x228)](_0x576274,_0xbbb5a6,(_0x385215,_0x4f0417)=>{_0x473723(),_0x1ae8b0(_0x385215,_0x4f0417);});});}[_0x52b310(0x234)](_0x46b012,_0x262ed0,_0x5e6635){const _0x47ff61=_0x52b310;_0x30f383[_0x47ff61(0x174)](_0x4a274c=>{const _0x2a06a4=_0x47ff61;this[_0x2a06a4(0x1b3)](_0x46b012,_0x262ed0,(_0x4e1bef,_0x1eb71c)=>{_0x4a274c(),_0x5e6635(_0x4e1bef,_0x1eb71c);});});}['_decompress'](_0x267ee0,_0x978547,_0x35700d){const _0x272448=_0x52b310,_0x35bc1c=this[_0x272448(0x103)]?_0x272448(0x90):'server';if(!this[_0x272448(0xdd)]){const _0x3894e3=_0x35bc1c+_0x272448(0x224),_0x597455=typeof this[_0x272448(0x1b8)][_0x3894e3]!='number'?_0x34d30[_0x272448(0xa8)]:this['params'][_0x3894e3];this['_inflate']=_0x34d30[_0x272448(0xba)]({...this['_options'][_0x272448(0x18e)],'windowBits':_0x597455}),this[_0x272448(0xdd)][_0x122e7e]=this,this[_0x272448(0xdd)][_0x376f32]=0x0,this[_0x272448(0xdd)][_0x4d0be3]=[],this[_0x272448(0xdd)]['on'](_0x272448(0x107),_0x15edf),this['_inflate']['on'](_0x272448(0x21e),_0xaac08e);}this[_0x272448(0xdd)][_0x70f1d8]=_0x35700d,this[_0x272448(0xdd)][_0x272448(0x1a2)](_0x267ee0),_0x978547&&this[_0x272448(0xdd)][_0x272448(0x1a2)](_0x4b557f),this[_0x272448(0xdd)]['flush'](()=>{const _0x166c1c=_0x272448,_0x281354=this['_inflate'][_0x2ad34d];if(_0x281354){this[_0x166c1c(0xdd)][_0x166c1c(0x187)](),this['_inflate']=null,_0x35700d(_0x281354);return;}const _0x429b35=_0x4aed44[_0x166c1c(0xd5)](this[_0x166c1c(0xdd)][_0x4d0be3],this[_0x166c1c(0xdd)][_0x376f32]);this['_inflate'][_0x166c1c(0x151)]['endEmitted']?(this[_0x166c1c(0xdd)]['close'](),this[_0x166c1c(0xdd)]=null):(this[_0x166c1c(0xdd)][_0x376f32]=0x0,this[_0x166c1c(0xdd)][_0x4d0be3]=[],_0x978547&&this[_0x166c1c(0x1b8)][_0x35bc1c+_0x166c1c(0x19d)]&&this['_inflate'][_0x166c1c(0x1d1)]()),_0x35700d(null,_0x429b35);});}['_compress'](_0x5d6c1b,_0x247bf0,_0x103076){const _0x484dc3=_0x52b310,_0x23a56c=this['_isServer']?_0x484dc3(0x109):_0x484dc3(0x90);if(!this['_deflate']){const _0x598fd8=_0x23a56c+_0x484dc3(0x224),_0x4809fe=typeof this[_0x484dc3(0x1b8)][_0x598fd8]!=_0x484dc3(0xed)?_0x34d30[_0x484dc3(0xa8)]:this['params'][_0x598fd8];this[_0x484dc3(0x10d)]=_0x34d30['createDeflateRaw']({...this[_0x484dc3(0x129)][_0x484dc3(0xef)],'windowBits':_0x4809fe}),this['_deflate'][_0x376f32]=0x0,this[_0x484dc3(0x10d)][_0x4d0be3]=[],this['_deflate']['on'](_0x484dc3(0x21e),_0x6b9fa9);}this['_deflate'][_0x70f1d8]=_0x103076,this[_0x484dc3(0x10d)]['write'](_0x5d6c1b),this[_0x484dc3(0x10d)][_0x484dc3(0x1af)](_0x34d30['Z_SYNC_FLUSH'],()=>{const _0x2a32d9=_0x484dc3;if(!this[_0x2a32d9(0x10d)])return;let _0x168590=_0x4aed44['concat'](this[_0x2a32d9(0x10d)][_0x4d0be3],this[_0x2a32d9(0x10d)][_0x376f32]);_0x247bf0&&(_0x168590=new _0x4253fd(_0x168590[_0x2a32d9(0x141)],_0x168590['byteOffset'],_0x168590[_0x2a32d9(0x8f)]-0x4)),this[_0x2a32d9(0x10d)][_0x70f1d8]=null,this[_0x2a32d9(0x10d)][_0x376f32]=0x0,this['_deflate'][_0x4d0be3]=[],_0x247bf0&&this['params'][_0x23a56c+_0x2a32d9(0x19d)]&&this['_deflate']['reset'](),_0x103076(null,_0x168590);});}}ve=_0x3abb45;function _0x6b9fa9(_0x1b180a){const _0x7dd4d6=_0x52b310;this[_0x4d0be3][_0x7dd4d6(0x1eb)](_0x1b180a),this[_0x376f32]+=_0x1b180a[_0x7dd4d6(0x8f)];}function _0xaac08e(_0x56acb1){const _0x4e7f45=_0x52b310;if(this[_0x376f32]+=_0x56acb1[_0x4e7f45(0x8f)],this[_0x122e7e]['_maxPayload']<0x1||this[_0x376f32]<=this[_0x122e7e][_0x4e7f45(0x1cf)]){this[_0x4d0be3][_0x4e7f45(0x1eb)](_0x56acb1);return;}this[_0x2ad34d]=new RangeError(_0x4e7f45(0x1c8)),this[_0x2ad34d][_0x4e7f45(0xa5)]=_0x4e7f45(0x244),this[_0x2ad34d][_0x25431d]=0x3f1,this['removeListener'](_0x4e7f45(0x21e),_0xaac08e),this[_0x4e7f45(0x1d1)]();}function _0x15edf(_0x4b4740){const _0x53f227=_0x52b310;if(this[_0x122e7e][_0x53f227(0xdd)]=null,this[_0x2ad34d]){this[_0x70f1d8](this[_0x2ad34d]);return;}_0x4b4740[_0x25431d]=0x3ef,this[_0x70f1d8](_0x4b4740);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1715bb(0x1d0)](Object[_0x1715bb(0xc3)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x1715bb(0x220)})),Bt=at(Rt);var Ye;function ae(){const _0x3332d9=_0x1715bb;if(Ye)return ie[_0x3332d9(0x8e)];Ye=0x1;const {isUtf8:_0x4479eb}=wt,{hasBlob:_0x5e6c47}=H(),_0x2e0d01=[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 _0x598e09(_0x2b6822){return _0x2b6822>=0x3e8&&_0x2b6822<=0x3f6&&_0x2b6822!==0x3ec&&_0x2b6822!==0x3ed&&_0x2b6822!==0x3ee||_0x2b6822>=0xbb8&&_0x2b6822<=0x1387;}function _0xcb158d(_0x2bc90d){const _0x5a2fa3=_0x3332d9,_0x274e8d=_0x2bc90d[_0x5a2fa3(0x8f)];let _0x40347d=0x0;for(;_0x40347d<_0x274e8d;)if((_0x2bc90d[_0x40347d]&0x80)===0x0)_0x40347d++;else{if((_0x2bc90d[_0x40347d]&0xe0)===0xc0){if(_0x40347d+0x1===_0x274e8d||(_0x2bc90d[_0x40347d+0x1]&0xc0)!==0x80||(_0x2bc90d[_0x40347d]&0xfe)===0xc0)return!0x1;_0x40347d+=0x2;}else{if((_0x2bc90d[_0x40347d]&0xf0)===0xe0){if(_0x40347d+0x2>=_0x274e8d||(_0x2bc90d[_0x40347d+0x1]&0xc0)!==0x80||(_0x2bc90d[_0x40347d+0x2]&0xc0)!==0x80||_0x2bc90d[_0x40347d]===0xe0&&(_0x2bc90d[_0x40347d+0x1]&0xe0)===0x80||_0x2bc90d[_0x40347d]===0xed&&(_0x2bc90d[_0x40347d+0x1]&0xe0)===0xa0)return!0x1;_0x40347d+=0x3;}else{if((_0x2bc90d[_0x40347d]&0xf8)===0xf0){if(_0x40347d+0x3>=_0x274e8d||(_0x2bc90d[_0x40347d+0x1]&0xc0)!==0x80||(_0x2bc90d[_0x40347d+0x2]&0xc0)!==0x80||(_0x2bc90d[_0x40347d+0x3]&0xc0)!==0x80||_0x2bc90d[_0x40347d]===0xf0&&(_0x2bc90d[_0x40347d+0x1]&0xf0)===0x80||_0x2bc90d[_0x40347d]===0xf4&&_0x2bc90d[_0x40347d+0x1]>0x8f||_0x2bc90d[_0x40347d]>0xf4)return!0x1;_0x40347d+=0x4;}else return!0x1;}}}return!0x0;}function _0x59dfbc(_0x32f6d5){const _0x40a8f2=_0x3332d9;return _0x5e6c47&&typeof _0x32f6d5==_0x40a8f2(0x11e)&&typeof _0x32f6d5[_0x40a8f2(0x10c)]==_0x40a8f2(0x212)&&typeof _0x32f6d5[_0x40a8f2(0x196)]==_0x40a8f2(0x1ab)&&typeof _0x32f6d5[_0x40a8f2(0x194)]==_0x40a8f2(0x212)&&(_0x32f6d5[Symbol[_0x40a8f2(0x1e3)]]===_0x40a8f2(0x23d)||_0x32f6d5[Symbol[_0x40a8f2(0x1e3)]]==='File');}if(ie[_0x3332d9(0x8e)]={'isBlob':_0x59dfbc,'isValidStatusCode':_0x598e09,'isValidUTF8':_0xcb158d,'tokenChars':_0x2e0d01},_0x4479eb)ie[_0x3332d9(0x8e)][_0x3332d9(0x1a3)]=function(_0x22c6d1){const _0x1bb9ac=_0x3332d9;return _0x22c6d1[_0x1bb9ac(0x8f)]<0x18?_0xcb158d(_0x22c6d1):_0x4479eb(_0x22c6d1);};else{if(!process['env'][_0x3332d9(0x135)])try{const _0x258317=Bt;ie[_0x3332d9(0x8e)][_0x3332d9(0x1a3)]=function(_0x40dc50){const _0x50119d=_0x3332d9;return _0x40dc50[_0x50119d(0x8f)]<0x20?_0xcb158d(_0x40dc50):_0x258317(_0x40dc50);};}catch{}}return ie[_0x3332d9(0x8e)];}var Se,Ke;function lt(){const _0x516de7=_0x1715bb;if(Ke)return Se;Ke=0x1;const {Writable:_0x2136ce}=oe,_0x4ce01f=he(),{BINARY_TYPES:_0x2b07d8,EMPTY_BUFFER:_0x20f9d8,kStatusCode:_0x2c1f41,kWebSocket:_0x299a6a}=H(),{concat:_0x20da0e,toArrayBuffer:_0x72961c,unmask:_0x49cca6}=ce(),{isValidStatusCode:_0x408857,isValidUTF8:_0x440e4e}=ae(),_0x1498aa=Buffer[Symbol[_0x516de7(0x22d)]],_0x54583c=0x0,_0x3969c1=0x1,_0x1ab6ea=0x2,_0x4bac9d=0x3,_0x13108b=0x4,_0x23bee3=0x5,_0x2b6aad=0x6;class _0x43659d extends _0x2136ce{constructor(_0x2200cb={}){const _0x32fd73=_0x516de7;super(),this[_0x32fd73(0xdc)]=_0x2200cb[_0x32fd73(0x1ea)]!==void 0x0?_0x2200cb[_0x32fd73(0x1ea)]:!0x0,this['_binaryType']=_0x2200cb[_0x32fd73(0x175)]||_0x2b07d8[0x0],this[_0x32fd73(0x17f)]=_0x2200cb[_0x32fd73(0xaf)]||{},this[_0x32fd73(0x103)]=!!_0x2200cb[_0x32fd73(0x1f2)],this[_0x32fd73(0x1cf)]=_0x2200cb[_0x32fd73(0xbf)]|0x0,this[_0x32fd73(0x1e0)]=!!_0x2200cb[_0x32fd73(0x197)],this[_0x299a6a]=void 0x0,this['_bufferedBytes']=0x0,this[_0x32fd73(0x12c)]=[],this['_compressed']=!0x1,this[_0x32fd73(0x23a)]=0x0,this[_0x32fd73(0x1bd)]=void 0x0,this[_0x32fd73(0x242)]=0x0,this[_0x32fd73(0x233)]=!0x1,this[_0x32fd73(0x219)]=!0x1,this[_0x32fd73(0xf3)]=0x0,this['_totalPayloadLength']=0x0,this[_0x32fd73(0x226)]=0x0,this[_0x32fd73(0xee)]=[],this[_0x32fd73(0x1e6)]=!0x1,this[_0x32fd73(0x1a7)]=!0x1,this[_0x32fd73(0x22a)]=_0x54583c;}[_0x516de7(0x11d)](_0x495371,_0x41bea3,_0x17cd88){const _0x1a450b=_0x516de7;if(this[_0x1a450b(0xf3)]===0x8&&this[_0x1a450b(0x22a)]==_0x54583c)return _0x17cd88();this[_0x1a450b(0x159)]+=_0x495371[_0x1a450b(0x8f)],this[_0x1a450b(0x12c)][_0x1a450b(0x1eb)](_0x495371),this[_0x1a450b(0x113)](_0x17cd88);}['consume'](_0x4a6be7){const _0x3b0c30=_0x516de7;if(this['_bufferedBytes']-=_0x4a6be7,_0x4a6be7===this[_0x3b0c30(0x12c)][0x0][_0x3b0c30(0x8f)])return this[_0x3b0c30(0x12c)][_0x3b0c30(0x1d8)]();if(_0x4a6be7<this[_0x3b0c30(0x12c)][0x0][_0x3b0c30(0x8f)]){const _0x2fddc=this[_0x3b0c30(0x12c)][0x0];return this[_0x3b0c30(0x12c)][0x0]=new _0x1498aa(_0x2fddc[_0x3b0c30(0x141)],_0x2fddc[_0x3b0c30(0x123)]+_0x4a6be7,_0x2fddc[_0x3b0c30(0x8f)]-_0x4a6be7),new _0x1498aa(_0x2fddc['buffer'],_0x2fddc[_0x3b0c30(0x123)],_0x4a6be7);}const _0x8cef63=Buffer[_0x3b0c30(0xbe)](_0x4a6be7);do{const _0x1b6a17=this[_0x3b0c30(0x12c)][0x0],_0x42d9c0=_0x8cef63[_0x3b0c30(0x8f)]-_0x4a6be7;_0x4a6be7>=_0x1b6a17[_0x3b0c30(0x8f)]?_0x8cef63[_0x3b0c30(0x155)](this[_0x3b0c30(0x12c)][_0x3b0c30(0x1d8)](),_0x42d9c0):(_0x8cef63['set'](new Uint8Array(_0x1b6a17[_0x3b0c30(0x141)],_0x1b6a17[_0x3b0c30(0x123)],_0x4a6be7),_0x42d9c0),this[_0x3b0c30(0x12c)][0x0]=new _0x1498aa(_0x1b6a17[_0x3b0c30(0x141)],_0x1b6a17[_0x3b0c30(0x123)]+_0x4a6be7,_0x1b6a17[_0x3b0c30(0x8f)]-_0x4a6be7)),_0x4a6be7-=_0x1b6a17['length'];}while(_0x4a6be7>0x0);return _0x8cef63;}[_0x516de7(0x113)](_0x23c693){const _0x5854d6=_0x516de7;this['_loop']=!0x0;do switch(this[_0x5854d6(0x22a)]){case _0x54583c:this[_0x5854d6(0x210)](_0x23c693);break;case _0x3969c1:this[_0x5854d6(0xb2)](_0x23c693);break;case _0x1ab6ea:this[_0x5854d6(0x169)](_0x23c693);break;case _0x4bac9d:this[_0x5854d6(0x1cc)]();break;case _0x13108b:this[_0x5854d6(0x1d3)](_0x23c693);break;case _0x23bee3:case _0x2b6aad:this['_loop']=!0x1;return;}while(this[_0x5854d6(0x1a7)]);this['_errored']||_0x23c693();}[_0x516de7(0x210)](_0x592f48){const _0x3955e7=_0x516de7;if(this[_0x3955e7(0x159)]<0x2){this[_0x3955e7(0x1a7)]=!0x1;return;}const _0x5ebfc9=this[_0x3955e7(0x144)](0x2);if((_0x5ebfc9[0x0]&0x30)!==0x0){const _0x529ed3=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x100),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x592f48(_0x529ed3);return;}const _0xd3f3f8=(_0x5ebfc9[0x0]&0x40)===0x40;if(_0xd3f3f8&&!this[_0x3955e7(0x17f)][_0x4ce01f['extensionName']]){const _0x4a9d3f=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x112),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x592f48(_0x4a9d3f);return;}if(this[_0x3955e7(0x219)]=(_0x5ebfc9[0x0]&0x80)===0x80,this[_0x3955e7(0xf3)]=_0x5ebfc9[0x0]&0xf,this[_0x3955e7(0x23a)]=_0x5ebfc9[0x1]&0x7f,this[_0x3955e7(0xf3)]===0x0){if(_0xd3f3f8){const _0x4dd10c=this[_0x3955e7(0x14b)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3955e7(0x1c2));_0x592f48(_0x4dd10c);return;}if(!this['_fragmented']){const _0x2a01a9=this[_0x3955e7(0x14b)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3955e7(0xeb));_0x592f48(_0x2a01a9);return;}this[_0x3955e7(0xf3)]=this[_0x3955e7(0x242)];}else{if(this[_0x3955e7(0xf3)]===0x1||this[_0x3955e7(0xf3)]===0x2){if(this[_0x3955e7(0x242)]){const _0x2ba0a3=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x3955e7(0xf3)],!0x0,0x3ea,_0x3955e7(0xeb));_0x592f48(_0x2ba0a3);return;}this[_0x3955e7(0xa7)]=_0xd3f3f8;}else{if(this[_0x3955e7(0xf3)]>0x7&&this[_0x3955e7(0xf3)]<0xb){if(!this['_fin']){const _0x3c304e=this[_0x3955e7(0x14b)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x592f48(_0x3c304e);return;}if(_0xd3f3f8){const _0x592239=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x112),!0x0,0x3ea,_0x3955e7(0x1c2));_0x592f48(_0x592239);return;}if(this['_payloadLength']>0x7d||this[_0x3955e7(0xf3)]===0x8&&this[_0x3955e7(0x23a)]===0x1){const _0x3d2f0a=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0xb4)+this['_payloadLength'],!0x0,0x3ea,_0x3955e7(0x227));_0x592f48(_0x3d2f0a);return;}}else{const _0x2ce340=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x13f)+this['_opcode'],!0x0,0x3ea,_0x3955e7(0xeb));_0x592f48(_0x2ce340);return;}}}if(!this['_fin']&&!this[_0x3955e7(0x242)]&&(this['_fragmented']=this[_0x3955e7(0xf3)]),this[_0x3955e7(0x233)]=(_0x5ebfc9[0x1]&0x80)===0x80,this[_0x3955e7(0x103)]){if(!this[_0x3955e7(0x233)]){const _0x2e5ae1=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x231),!0x0,0x3ea,_0x3955e7(0x1fc));_0x592f48(_0x2e5ae1);return;}}else{if(this['_masked']){const _0x3dea1c=this[_0x3955e7(0x14b)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x3955e7(0x7f));_0x592f48(_0x3dea1c);return;}}this[_0x3955e7(0x23a)]===0x7e?this[_0x3955e7(0x22a)]=_0x3969c1:this[_0x3955e7(0x23a)]===0x7f?this['_state']=_0x1ab6ea:this[_0x3955e7(0x111)](_0x592f48);}[_0x516de7(0xb2)](_0x2fa522){const _0x234c25=_0x516de7;if(this[_0x234c25(0x159)]<0x2){this[_0x234c25(0x1a7)]=!0x1;return;}this[_0x234c25(0x23a)]=this[_0x234c25(0x144)](0x2)['readUInt16BE'](0x0),this[_0x234c25(0x111)](_0x2fa522);}[_0x516de7(0x169)](_0x16566b){const _0x2fc40d=_0x516de7;if(this[_0x2fc40d(0x159)]<0x8){this[_0x2fc40d(0x1a7)]=!0x1;return;}const _0x102b31=this[_0x2fc40d(0x144)](0x8),_0x10db3e=_0x102b31[_0x2fc40d(0xf8)](0x0);if(_0x10db3e>Math[_0x2fc40d(0xd6)](0x2,0x15)-0x1){const _0x367d20=this[_0x2fc40d(0x14b)](RangeError,_0x2fc40d(0xac),!0x1,0x3f1,_0x2fc40d(0xf9));_0x16566b(_0x367d20);return;}this[_0x2fc40d(0x23a)]=_0x10db3e*Math[_0x2fc40d(0xd6)](0x2,0x20)+_0x102b31[_0x2fc40d(0xf8)](0x4),this[_0x2fc40d(0x111)](_0x16566b);}[_0x516de7(0x111)](_0x15504a){const _0x881380=_0x516de7;if(this['_payloadLength']&&this[_0x881380(0xf3)]<0x8&&(this['_totalPayloadLength']+=this[_0x881380(0x23a)],this[_0x881380(0x14f)]>this[_0x881380(0x1cf)]&&this['_maxPayload']>0x0)){const _0x206b72=this[_0x881380(0x14b)](RangeError,_0x881380(0x1c8),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x15504a(_0x206b72);return;}this[_0x881380(0x233)]?this[_0x881380(0x22a)]=_0x4bac9d:this[_0x881380(0x22a)]=_0x13108b;}['getMask'](){const _0x1bb635=_0x516de7;if(this[_0x1bb635(0x159)]<0x4){this[_0x1bb635(0x1a7)]=!0x1;return;}this['_mask']=this[_0x1bb635(0x144)](0x4),this['_state']=_0x13108b;}['getData'](_0x3fdb3c){const _0x33a720=_0x516de7;let _0x495f9e=_0x20f9d8;if(this[_0x33a720(0x23a)]){if(this[_0x33a720(0x159)]<this[_0x33a720(0x23a)]){this[_0x33a720(0x1a7)]=!0x1;return;}_0x495f9e=this['consume'](this['_payloadLength']),this['_masked']&&(this['_mask'][0x0]|this[_0x33a720(0x1bd)][0x1]|this[_0x33a720(0x1bd)][0x2]|this[_0x33a720(0x1bd)][0x3])!==0x0&&_0x49cca6(_0x495f9e,this[_0x33a720(0x1bd)]);}if(this['_opcode']>0x7){this[_0x33a720(0x1b6)](_0x495f9e,_0x3fdb3c);return;}if(this[_0x33a720(0xa7)]){this[_0x33a720(0x22a)]=_0x23bee3,this['decompress'](_0x495f9e,_0x3fdb3c);return;}_0x495f9e[_0x33a720(0x8f)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x33a720(0xee)][_0x33a720(0x1eb)](_0x495f9e)),this[_0x33a720(0x1dd)](_0x3fdb3c);}[_0x516de7(0x208)](_0x505b5d,_0x2cd593){const _0x11af35=_0x516de7;this[_0x11af35(0x17f)][_0x4ce01f[_0x11af35(0xd1)]]['decompress'](_0x505b5d,this['_fin'],(_0x14d418,_0x4be694)=>{const _0x1967fa=_0x11af35;if(_0x14d418)return _0x2cd593(_0x14d418);if(_0x4be694[_0x1967fa(0x8f)]){if(this['_messageLength']+=_0x4be694[_0x1967fa(0x8f)],this['_messageLength']>this[_0x1967fa(0x1cf)]&&this['_maxPayload']>0x0){const _0xca7742=this[_0x1967fa(0x14b)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1967fa(0x244));_0x2cd593(_0xca7742);return;}this[_0x1967fa(0xee)][_0x1967fa(0x1eb)](_0x4be694);}this[_0x1967fa(0x1dd)](_0x2cd593),this[_0x1967fa(0x22a)]===_0x54583c&&this[_0x1967fa(0x113)](_0x2cd593);});}[_0x516de7(0x1dd)](_0x8ce2ba){const _0x2048bd=_0x516de7;if(!this[_0x2048bd(0x219)]){this[_0x2048bd(0x22a)]=_0x54583c;return;}const _0x43b8b9=this[_0x2048bd(0x226)],_0x439d6f=this['_fragments'];if(this[_0x2048bd(0x14f)]=0x0,this[_0x2048bd(0x226)]=0x0,this['_fragmented']=0x0,this[_0x2048bd(0xee)]=[],this[_0x2048bd(0xf3)]===0x2){let _0x308ad2;this[_0x2048bd(0x19b)]===_0x2048bd(0xcc)?_0x308ad2=_0x20da0e(_0x439d6f,_0x43b8b9):this[_0x2048bd(0x19b)]==='arraybuffer'?_0x308ad2=_0x72961c(_0x20da0e(_0x439d6f,_0x43b8b9)):this[_0x2048bd(0x19b)]===_0x2048bd(0x18b)?_0x308ad2=new Blob(_0x439d6f):_0x308ad2=_0x439d6f,this['_allowSynchronousEvents']?(this['emit'](_0x2048bd(0xd9),_0x308ad2,!0x0),this[_0x2048bd(0x22a)]=_0x54583c):(this['_state']=_0x2b6aad,setImmediate(()=>{const _0x52bc0d=_0x2048bd;this[_0x52bc0d(0x94)]('message',_0x308ad2,!0x0),this['_state']=_0x54583c,this[_0x52bc0d(0x113)](_0x8ce2ba);}));}else{const _0xd0622f=_0x20da0e(_0x439d6f,_0x43b8b9);if(!this[_0x2048bd(0x1e0)]&&!_0x440e4e(_0xd0622f)){const _0x584666=this['createError'](Error,_0x2048bd(0x9e),!0x0,0x3ef,_0x2048bd(0xde));_0x8ce2ba(_0x584666);return;}this[_0x2048bd(0x22a)]===_0x23bee3||this[_0x2048bd(0xdc)]?(this['emit'](_0x2048bd(0xd9),_0xd0622f,!0x1),this[_0x2048bd(0x22a)]=_0x54583c):(this[_0x2048bd(0x22a)]=_0x2b6aad,setImmediate(()=>{const _0x1c20e7=_0x2048bd;this[_0x1c20e7(0x94)](_0x1c20e7(0xd9),_0xd0622f,!0x1),this[_0x1c20e7(0x22a)]=_0x54583c,this[_0x1c20e7(0x113)](_0x8ce2ba);}));}}['controlMessage'](_0x30ea2f,_0x4632b1){const _0x526cf6=_0x516de7;if(this[_0x526cf6(0xf3)]===0x8){if(_0x30ea2f[_0x526cf6(0x8f)]===0x0)this[_0x526cf6(0x1a7)]=!0x1,this['emit'](_0x526cf6(0x116),0x3ed,_0x20f9d8),this[_0x526cf6(0x182)]();else{const _0x5022b0=_0x30ea2f[_0x526cf6(0x211)](0x0);if(!_0x408857(_0x5022b0)){const _0x50772e=this[_0x526cf6(0x14b)](RangeError,_0x526cf6(0x1db)+_0x5022b0,!0x0,0x3ea,_0x526cf6(0x128));_0x4632b1(_0x50772e);return;}const _0x574fca=new _0x1498aa(_0x30ea2f['buffer'],_0x30ea2f[_0x526cf6(0x123)]+0x2,_0x30ea2f['length']-0x2);if(!this[_0x526cf6(0x1e0)]&&!_0x440e4e(_0x574fca)){const _0xd0727c=this[_0x526cf6(0x14b)](Error,_0x526cf6(0x9e),!0x0,0x3ef,_0x526cf6(0xde));_0x4632b1(_0xd0727c);return;}this['_loop']=!0x1,this[_0x526cf6(0x94)](_0x526cf6(0x116),_0x5022b0,_0x574fca),this[_0x526cf6(0x182)]();}this[_0x526cf6(0x22a)]=_0x54583c;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x526cf6(0xf3)]===0x9?_0x526cf6(0x110):_0x526cf6(0xdb),_0x30ea2f),this[_0x526cf6(0x22a)]=_0x54583c):(this[_0x526cf6(0x22a)]=_0x2b6aad,setImmediate(()=>{const _0x48bab1=_0x526cf6;this[_0x48bab1(0x94)](this[_0x48bab1(0xf3)]===0x9?_0x48bab1(0x110):_0x48bab1(0xdb),_0x30ea2f),this[_0x48bab1(0x22a)]=_0x54583c,this[_0x48bab1(0x113)](_0x4632b1);}));}['createError'](_0x230b49,_0x281ca6,_0x3af18d,_0x291153,_0xacea9){const _0x2a174f=_0x516de7;this['_loop']=!0x1,this['_errored']=!0x0;const _0x3390f6=new _0x230b49(_0x3af18d?_0x2a174f(0xe3)+_0x281ca6:_0x281ca6);return Error[_0x2a174f(0x19e)](_0x3390f6,this[_0x2a174f(0x14b)]),_0x3390f6['code']=_0xacea9,_0x3390f6[_0x2c1f41]=_0x291153,_0x3390f6;}}return Se=_0x43659d,Se;}var Ee,Xe;function ft(){const _0x2d0ace=_0x1715bb;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5286b8}=oe,{randomFillSync:_0x20af70}=Le,_0xa2924e=he(),{EMPTY_BUFFER:_0x3175c3,kWebSocket:_0x2746e1,NOOP:_0x203248}=H(),{isBlob:_0x715296,isValidStatusCode:_0x4244dc}=ae(),{mask:_0xbe9238,toBuffer:_0x14d57f}=ce(),_0x5102a0=Symbol(_0x2d0ace(0x1fd)),_0x4ce3b6=Buffer[_0x2d0ace(0x19c)](0x4),_0x358b11=0x8*0x400;let _0x1af3c7,_0x25389a=_0x358b11;const _0xb1651b=0x0,_0x3f9420=0x1,_0x25b766=0x2;class _0x5174c5{constructor(_0x5b82cd,_0x24f854,_0x51f3ce){const _0x2e7117=_0x2d0ace;this['_extensions']=_0x24f854||{},_0x51f3ce&&(this[_0x2e7117(0x21a)]=_0x51f3ce,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x2e7117(0xc1)]=_0x5b82cd,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x2e7117(0x159)]=0x0,this[_0x2e7117(0x206)]=[],this['_state']=_0xb1651b,this['onerror']=_0x203248,this[_0x2746e1]=void 0x0;}static[_0x2d0ace(0x85)](_0x4e7677,_0x2c1feb){const _0xceaa9f=_0x2d0ace;let _0x365bd9,_0x5e8cdf=!0x1,_0x5ada01=0x2,_0x451eed=!0x1;_0x2c1feb['mask']&&(_0x365bd9=_0x2c1feb[_0xceaa9f(0x12f)]||_0x4ce3b6,_0x2c1feb[_0xceaa9f(0x104)]?_0x2c1feb[_0xceaa9f(0x104)](_0x365bd9):(_0x25389a===_0x358b11&&(_0x1af3c7===void 0x0&&(_0x1af3c7=Buffer[_0xceaa9f(0x19c)](_0x358b11)),_0x20af70(_0x1af3c7,0x0,_0x358b11),_0x25389a=0x0),_0x365bd9[0x0]=_0x1af3c7[_0x25389a++],_0x365bd9[0x1]=_0x1af3c7[_0x25389a++],_0x365bd9[0x2]=_0x1af3c7[_0x25389a++],_0x365bd9[0x3]=_0x1af3c7[_0x25389a++]),_0x451eed=(_0x365bd9[0x0]|_0x365bd9[0x1]|_0x365bd9[0x2]|_0x365bd9[0x3])===0x0,_0x5ada01=0x6);let _0x584e21;typeof _0x4e7677==_0xceaa9f(0x1ab)?(!_0x2c1feb[_0xceaa9f(0xe2)]||_0x451eed)&&_0x2c1feb[_0x5102a0]!==void 0x0?_0x584e21=_0x2c1feb[_0x5102a0]:(_0x4e7677=Buffer['from'](_0x4e7677),_0x584e21=_0x4e7677[_0xceaa9f(0x8f)]):(_0x584e21=_0x4e7677['length'],_0x5e8cdf=_0x2c1feb[_0xceaa9f(0xe2)]&&_0x2c1feb[_0xceaa9f(0x1a9)]&&!_0x451eed);let _0x561b45=_0x584e21;_0x584e21>=0x10000?(_0x5ada01+=0x8,_0x561b45=0x7f):_0x584e21>0x7d&&(_0x5ada01+=0x2,_0x561b45=0x7e);const _0x5c30d2=Buffer[_0xceaa9f(0xbe)](_0x5e8cdf?_0x584e21+_0x5ada01:_0x5ada01);return _0x5c30d2[0x0]=_0x2c1feb[_0xceaa9f(0x15e)]?_0x2c1feb[_0xceaa9f(0x150)]|0x80:_0x2c1feb[_0xceaa9f(0x150)],_0x2c1feb[_0xceaa9f(0x16a)]&&(_0x5c30d2[0x0]|=0x40),_0x5c30d2[0x1]=_0x561b45,_0x561b45===0x7e?_0x5c30d2[_0xceaa9f(0x11b)](_0x584e21,0x2):_0x561b45===0x7f&&(_0x5c30d2[0x2]=_0x5c30d2[0x3]=0x0,_0x5c30d2[_0xceaa9f(0xe0)](_0x584e21,0x4,0x6)),_0x2c1feb['mask']?(_0x5c30d2[0x1]|=0x80,_0x5c30d2[_0x5ada01-0x4]=_0x365bd9[0x0],_0x5c30d2[_0x5ada01-0x3]=_0x365bd9[0x1],_0x5c30d2[_0x5ada01-0x2]=_0x365bd9[0x2],_0x5c30d2[_0x5ada01-0x1]=_0x365bd9[0x3],_0x451eed?[_0x5c30d2,_0x4e7677]:_0x5e8cdf?(_0xbe9238(_0x4e7677,_0x365bd9,_0x5c30d2,_0x5ada01,_0x584e21),[_0x5c30d2]):(_0xbe9238(_0x4e7677,_0x365bd9,_0x4e7677,0x0,_0x584e21),[_0x5c30d2,_0x4e7677])):[_0x5c30d2,_0x4e7677];}[_0x2d0ace(0x187)](_0x242dbc,_0x4a7861,_0x393645,_0x5642b3){const _0x151851=_0x2d0ace;let _0x3c2924;if(_0x242dbc===void 0x0)_0x3c2924=_0x3175c3;else{if(typeof _0x242dbc!=_0x151851(0xed)||!_0x4244dc(_0x242dbc))throw new TypeError(_0x151851(0xfe));if(_0x4a7861===void 0x0||!_0x4a7861[_0x151851(0x8f)])_0x3c2924=Buffer[_0x151851(0xbe)](0x2),_0x3c2924[_0x151851(0x11b)](_0x242dbc,0x0);else{const _0x48e3bc=Buffer[_0x151851(0x177)](_0x4a7861);if(_0x48e3bc>0x7b)throw new RangeError(_0x151851(0xec));_0x3c2924=Buffer[_0x151851(0xbe)](0x2+_0x48e3bc),_0x3c2924[_0x151851(0x11b)](_0x242dbc,0x0),typeof _0x4a7861==_0x151851(0x1ab)?_0x3c2924['write'](_0x4a7861,0x2):_0x3c2924['set'](_0x4a7861,0x2);}}const _0x53cc7c={[_0x5102a0]:_0x3c2924[_0x151851(0x8f)],'fin':!0x0,'generateMask':this[_0x151851(0x21a)],'mask':_0x393645,'maskBuffer':this[_0x151851(0x14c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x151851(0x22a)]!==_0xb1651b?this[_0x151851(0x158)]([this[_0x151851(0x243)],_0x3c2924,!0x1,_0x53cc7c,_0x5642b3]):this[_0x151851(0x95)](_0x5174c5[_0x151851(0x85)](_0x3c2924,_0x53cc7c),_0x5642b3);}['ping'](_0x450462,_0x3eac5d,_0x23205b){const _0x571339=_0x2d0ace;let _0xa08446,_0x4cdcbf;if(typeof _0x450462==_0x571339(0x1ab)?(_0xa08446=Buffer['byteLength'](_0x450462),_0x4cdcbf=!0x1):_0x715296(_0x450462)?(_0xa08446=_0x450462[_0x571339(0x108)],_0x4cdcbf=!0x1):(_0x450462=_0x14d57f(_0x450462),_0xa08446=_0x450462[_0x571339(0x8f)],_0x4cdcbf=_0x14d57f[_0x571339(0x1a9)]),_0xa08446>0x7d)throw new RangeError(_0x571339(0x166));const _0x2ade71={[_0x5102a0]:_0xa08446,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3eac5d,'maskBuffer':this[_0x571339(0x14c)],'opcode':0x9,'readOnly':_0x4cdcbf,'rsv1':!0x1};_0x715296(_0x450462)?this['_state']!==_0xb1651b?this[_0x571339(0x158)]([this[_0x571339(0xd8)],_0x450462,!0x1,_0x2ade71,_0x23205b]):this[_0x571339(0xd8)](_0x450462,!0x1,_0x2ade71,_0x23205b):this['_state']!==_0xb1651b?this[_0x571339(0x158)]([this[_0x571339(0x243)],_0x450462,!0x1,_0x2ade71,_0x23205b]):this[_0x571339(0x95)](_0x5174c5[_0x571339(0x85)](_0x450462,_0x2ade71),_0x23205b);}['pong'](_0x1f1e3e,_0x5707a8,_0x20af84){const _0x494a0b=_0x2d0ace;let _0x5affd8,_0x345cf7;if(typeof _0x1f1e3e==_0x494a0b(0x1ab)?(_0x5affd8=Buffer[_0x494a0b(0x177)](_0x1f1e3e),_0x345cf7=!0x1):_0x715296(_0x1f1e3e)?(_0x5affd8=_0x1f1e3e['size'],_0x345cf7=!0x1):(_0x1f1e3e=_0x14d57f(_0x1f1e3e),_0x5affd8=_0x1f1e3e['length'],_0x345cf7=_0x14d57f['readOnly']),_0x5affd8>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3504e0={[_0x5102a0]:_0x5affd8,'fin':!0x0,'generateMask':this[_0x494a0b(0x21a)],'mask':_0x5707a8,'maskBuffer':this[_0x494a0b(0x14c)],'opcode':0xa,'readOnly':_0x345cf7,'rsv1':!0x1};_0x715296(_0x1f1e3e)?this[_0x494a0b(0x22a)]!==_0xb1651b?this[_0x494a0b(0x158)]([this[_0x494a0b(0xd8)],_0x1f1e3e,!0x1,_0x3504e0,_0x20af84]):this['getBlobData'](_0x1f1e3e,!0x1,_0x3504e0,_0x20af84):this[_0x494a0b(0x22a)]!==_0xb1651b?this[_0x494a0b(0x158)]([this[_0x494a0b(0x243)],_0x1f1e3e,!0x1,_0x3504e0,_0x20af84]):this[_0x494a0b(0x95)](_0x5174c5[_0x494a0b(0x85)](_0x1f1e3e,_0x3504e0),_0x20af84);}[_0x2d0ace(0x1df)](_0x297b93,_0x403026,_0x34245c){const _0x255739=_0x2d0ace,_0x3cf972=this[_0x255739(0x17f)][_0xa2924e[_0x255739(0xd1)]];let _0x4626cf=_0x403026[_0x255739(0xf5)]?0x2:0x1,_0x2a892e=_0x403026['compress'],_0x3f39dc,_0x4d831e;typeof _0x297b93==_0x255739(0x1ab)?(_0x3f39dc=Buffer[_0x255739(0x177)](_0x297b93),_0x4d831e=!0x1):_0x715296(_0x297b93)?(_0x3f39dc=_0x297b93[_0x255739(0x108)],_0x4d831e=!0x1):(_0x297b93=_0x14d57f(_0x297b93),_0x3f39dc=_0x297b93[_0x255739(0x8f)],_0x4d831e=_0x14d57f['readOnly']),this[_0x255739(0xd0)]?(this[_0x255739(0xd0)]=!0x1,_0x2a892e&&_0x3cf972&&_0x3cf972[_0x255739(0x1b8)][_0x3cf972[_0x255739(0x103)]?_0x255739(0x122):_0x255739(0x217)]&&(_0x2a892e=_0x3f39dc>=_0x3cf972[_0x255739(0x1b0)]),this[_0x255739(0x1b3)]=_0x2a892e):(_0x2a892e=!0x1,_0x4626cf=0x0),_0x403026[_0x255739(0x15e)]&&(this[_0x255739(0xd0)]=!0x0);const _0x73c725={[_0x5102a0]:_0x3f39dc,'fin':_0x403026[_0x255739(0x15e)],'generateMask':this[_0x255739(0x21a)],'mask':_0x403026[_0x255739(0xe2)],'maskBuffer':this[_0x255739(0x14c)],'opcode':_0x4626cf,'readOnly':_0x4d831e,'rsv1':_0x2a892e};_0x715296(_0x297b93)?this[_0x255739(0x22a)]!==_0xb1651b?this[_0x255739(0x158)]([this['getBlobData'],_0x297b93,this['_compress'],_0x73c725,_0x34245c]):this[_0x255739(0xd8)](_0x297b93,this[_0x255739(0x1b3)],_0x73c725,_0x34245c):this[_0x255739(0x22a)]!==_0xb1651b?this[_0x255739(0x158)]([this['dispatch'],_0x297b93,this[_0x255739(0x1b3)],_0x73c725,_0x34245c]):this[_0x255739(0x243)](_0x297b93,this[_0x255739(0x1b3)],_0x73c725,_0x34245c);}['getBlobData'](_0x34121e,_0x5b52b5,_0x59977d,_0x307473){const _0x53ba84=_0x2d0ace;this['_bufferedBytes']+=_0x59977d[_0x5102a0],this[_0x53ba84(0x22a)]=_0x25b766,_0x34121e[_0x53ba84(0x10c)]()[_0x53ba84(0x240)](_0x182ece=>{const _0x119e3c=_0x53ba84;if(this[_0x119e3c(0xc1)][_0x119e3c(0x114)]){const _0x54d2e9=new Error(_0x119e3c(0x15f));process[_0x119e3c(0x163)](_0x1efcf9,this,_0x54d2e9,_0x307473);return;}this[_0x119e3c(0x159)]-=_0x59977d[_0x5102a0];const _0x28c4b3=_0x14d57f(_0x182ece);_0x5b52b5?this['dispatch'](_0x28c4b3,_0x5b52b5,_0x59977d,_0x307473):(this['_state']=_0xb1651b,this[_0x119e3c(0x95)](_0x5174c5[_0x119e3c(0x85)](_0x28c4b3,_0x59977d),_0x307473),this[_0x119e3c(0x93)]());})[_0x53ba84(0xb8)](_0x458d1f=>{const _0x157d4d=_0x53ba84;process[_0x157d4d(0x163)](_0x3a93e9,this,_0x458d1f,_0x307473);});}['dispatch'](_0x27834f,_0x2a9d1f,_0x4794f2,_0x2550c6){const _0x47e093=_0x2d0ace;if(!_0x2a9d1f){this['sendFrame'](_0x5174c5[_0x47e093(0x85)](_0x27834f,_0x4794f2),_0x2550c6);return;}const _0x4b0063=this[_0x47e093(0x17f)][_0xa2924e['extensionName']];this['_bufferedBytes']+=_0x4794f2[_0x5102a0],this['_state']=_0x3f9420,_0x4b0063['compress'](_0x27834f,_0x4794f2[_0x47e093(0x15e)],(_0x338403,_0x5d3961)=>{const _0x484e32=_0x47e093;if(this[_0x484e32(0xc1)][_0x484e32(0x114)]){const _0x3e168f=new Error(_0x484e32(0xd2));_0x1efcf9(this,_0x3e168f,_0x2550c6);return;}this[_0x484e32(0x159)]-=_0x4794f2[_0x5102a0],this[_0x484e32(0x22a)]=_0xb1651b,_0x4794f2[_0x484e32(0x1a9)]=!0x1,this['sendFrame'](_0x5174c5[_0x484e32(0x85)](_0x5d3961,_0x4794f2),_0x2550c6),this[_0x484e32(0x93)]();});}[_0x2d0ace(0x93)](){const _0xbc8f34=_0x2d0ace;for(;this[_0xbc8f34(0x22a)]===_0xb1651b&&this[_0xbc8f34(0x206)][_0xbc8f34(0x8f)];){const _0x1900f7=this[_0xbc8f34(0x206)]['shift']();this[_0xbc8f34(0x159)]-=_0x1900f7[0x3][_0x5102a0],Reflect['apply'](_0x1900f7[0x0],this,_0x1900f7[_0xbc8f34(0xd4)](0x1));}}[_0x2d0ace(0x158)](_0x23263e){const _0x14bd8a=_0x2d0ace;this[_0x14bd8a(0x159)]+=_0x23263e[0x3][_0x5102a0],this[_0x14bd8a(0x206)][_0x14bd8a(0x1eb)](_0x23263e);}[_0x2d0ace(0x95)](_0x11859f,_0x2411cd){const _0x168583=_0x2d0ace;_0x11859f['length']===0x2?(this['_socket'][_0x168583(0x236)](),this[_0x168583(0xc1)][_0x168583(0x1a2)](_0x11859f[0x0]),this[_0x168583(0xc1)][_0x168583(0x1a2)](_0x11859f[0x1],_0x2411cd),this['_socket'][_0x168583(0x167)]()):this[_0x168583(0xc1)][_0x168583(0x1a2)](_0x11859f[0x0],_0x2411cd);}}Ee=_0x5174c5;function _0x1efcf9(_0x2577d1,_0x21c670,_0xaa7ec9){const _0x42e40a=_0x2d0ace;typeof _0xaa7ec9=='function'&&_0xaa7ec9(_0x21c670);for(let _0xa4f92b=0x0;_0xa4f92b<_0x2577d1[_0x42e40a(0x206)][_0x42e40a(0x8f)];_0xa4f92b++){const _0x1ca892=_0x2577d1[_0x42e40a(0x206)][_0xa4f92b],_0x4ead70=_0x1ca892[_0x1ca892[_0x42e40a(0x8f)]-0x1];typeof _0x4ead70==_0x42e40a(0x212)&&_0x4ead70(_0x21c670);}}function _0x3a93e9(_0x1af162,_0x461c2c,_0x5e0a74){const _0x31f229=_0x2d0ace;_0x1efcf9(_0x1af162,_0x461c2c,_0x5e0a74),_0x1af162[_0x31f229(0xbd)](_0x461c2c);}return Ee;}var xe,Ze;function It(){const _0x229687=_0x1715bb;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1116bd,kListener:_0x472ed7}=H(),_0x5bf420=Symbol(_0x229687(0x1f7)),_0x5de265=Symbol(_0x229687(0x152)),_0x539aa1=Symbol(_0x229687(0xcf)),_0x3271f9=Symbol('kMessage'),_0x4835e2=Symbol('kReason'),_0x2dfc0d=Symbol(_0x229687(0x1fb)),_0x164515=Symbol(_0x229687(0x1b4)),_0x47561d=Symbol('kWasClean');class _0x5351d2{constructor(_0x505b9d){this[_0x2dfc0d]=null,this[_0x164515]=_0x505b9d;}get[_0x229687(0xa1)](){return this[_0x2dfc0d];}get[_0x229687(0x196)](){return this[_0x164515];}}Object['defineProperty'](_0x5351d2[_0x229687(0x91)],'target',{'enumerable':!0x0}),Object[_0x229687(0xc3)](_0x5351d2[_0x229687(0x91)],_0x229687(0x196),{'enumerable':!0x0});class _0x477351 extends _0x5351d2{constructor(_0x4faa92,_0x2e52b4={}){const _0x52c850=_0x229687;super(_0x4faa92),this[_0x5bf420]=_0x2e52b4[_0x52c850(0xa5)]===void 0x0?0x0:_0x2e52b4[_0x52c850(0xa5)],this[_0x4835e2]=_0x2e52b4[_0x52c850(0xb7)]===void 0x0?'':_0x2e52b4[_0x52c850(0xb7)],this[_0x47561d]=_0x2e52b4['wasClean']===void 0x0?!0x1:_0x2e52b4[_0x52c850(0x156)];}get[_0x229687(0xa5)](){return this[_0x5bf420];}get[_0x229687(0xb7)](){return this[_0x4835e2];}get[_0x229687(0x156)](){return this[_0x47561d];}}Object[_0x229687(0xc3)](_0x477351[_0x229687(0x91)],_0x229687(0xa5),{'enumerable':!0x0}),Object[_0x229687(0xc3)](_0x477351[_0x229687(0x91)],_0x229687(0xb7),{'enumerable':!0x0}),Object[_0x229687(0xc3)](_0x477351[_0x229687(0x91)],'wasClean',{'enumerable':!0x0});class _0x2edc22 extends _0x5351d2{constructor(_0x5d61c0,_0x249db1={}){const _0x2c99d0=_0x229687;super(_0x5d61c0),this[_0x539aa1]=_0x249db1[_0x2c99d0(0x107)]===void 0x0?null:_0x249db1[_0x2c99d0(0x107)],this[_0x3271f9]=_0x249db1['message']===void 0x0?'':_0x249db1[_0x2c99d0(0xd9)];}get[_0x229687(0x107)](){return this[_0x539aa1];}get[_0x229687(0xd9)](){return this[_0x3271f9];}}Object[_0x229687(0xc3)](_0x2edc22[_0x229687(0x91)],_0x229687(0x107),{'enumerable':!0x0}),Object[_0x229687(0xc3)](_0x2edc22[_0x229687(0x91)],'message',{'enumerable':!0x0});class _0x5a31ce extends _0x5351d2{constructor(_0xa54bb6,_0xf62717={}){const _0x482a50=_0x229687;super(_0xa54bb6),this[_0x5de265]=_0xf62717[_0x482a50(0x21e)]===void 0x0?null:_0xf62717[_0x482a50(0x21e)];}get[_0x229687(0x21e)](){return this[_0x5de265];}}Object['defineProperty'](_0x5a31ce[_0x229687(0x91)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x477351,'ErrorEvent':_0x2edc22,'Event':_0x5351d2,'EventTarget':{'addEventListener'(_0x52544d,_0x4022bd,_0x537e28={}){const _0x53fbbf=_0x229687;for(const _0x4b9e39 of this['listeners'](_0x52544d))if(!_0x537e28[_0x1116bd]&&_0x4b9e39[_0x472ed7]===_0x4022bd&&!_0x4b9e39[_0x1116bd])return;let _0x52ac7d;if(_0x52544d===_0x53fbbf(0xd9))_0x52ac7d=function(_0x16d258,_0x408a1f){const _0x3e856f=_0x53fbbf,_0x5ed6ec=new _0x5a31ce(_0x3e856f(0xd9),{'data':_0x408a1f?_0x16d258:_0x16d258['toString']()});_0x5ed6ec[_0x2dfc0d]=this,_0x2e47ba(_0x4022bd,this,_0x5ed6ec);};else{if(_0x52544d===_0x53fbbf(0x187))_0x52ac7d=function(_0x28646e,_0x38c4b8){const _0x4d2e3d=_0x53fbbf,_0x6c55ed=new _0x477351(_0x4d2e3d(0x187),{'code':_0x28646e,'reason':_0x38c4b8[_0x4d2e3d(0x132)](),'wasClean':this[_0x4d2e3d(0x16b)]&&this[_0x4d2e3d(0x1d2)]});_0x6c55ed[_0x2dfc0d]=this,_0x2e47ba(_0x4022bd,this,_0x6c55ed);};else{if(_0x52544d==='error')_0x52ac7d=function(_0x3f9f06){const _0x231da7=_0x53fbbf,_0x24d97c=new _0x2edc22(_0x231da7(0x107),{'error':_0x3f9f06,'message':_0x3f9f06[_0x231da7(0xd9)]});_0x24d97c[_0x2dfc0d]=this,_0x2e47ba(_0x4022bd,this,_0x24d97c);};else{if(_0x52544d===_0x53fbbf(0x21f))_0x52ac7d=function(){const _0x444461=_0x53fbbf,_0x5c47c3=new _0x5351d2(_0x444461(0x21f));_0x5c47c3[_0x2dfc0d]=this,_0x2e47ba(_0x4022bd,this,_0x5c47c3);};else return;}}}_0x52ac7d[_0x1116bd]=!!_0x537e28[_0x1116bd],_0x52ac7d[_0x472ed7]=_0x4022bd,_0x537e28[_0x53fbbf(0x18f)]?this[_0x53fbbf(0x18f)](_0x52544d,_0x52ac7d):this['on'](_0x52544d,_0x52ac7d);},'removeEventListener'(_0x526caf,_0x4e075b){for(const _0x334f37 of this['listeners'](_0x526caf))if(_0x334f37[_0x472ed7]===_0x4e075b&&!_0x334f37[_0x1116bd]){this['removeListener'](_0x526caf,_0x334f37);break;}}},'MessageEvent':_0x5a31ce};function _0x2e47ba(_0x2f810a,_0x25b6d8,_0x1a28eb){const _0x5d8570=_0x229687;typeof _0x2f810a==_0x5d8570(0x11e)&&_0x2f810a[_0x5d8570(0x1a6)]?_0x2f810a['handleEvent']['call'](_0x2f810a,_0x1a28eb):_0x2f810a[_0x5d8570(0x189)](_0x25b6d8,_0x1a28eb);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x103f42}=ae();function _0x151bb7(_0x5b565c,_0x124faf,_0xa55d79){const _0x3d297d=_0x254c;_0x5b565c[_0x124faf]===void 0x0?_0x5b565c[_0x124faf]=[_0xa55d79]:_0x5b565c[_0x124faf][_0x3d297d(0x1eb)](_0xa55d79);}function _0x6eac16(_0xa2d9ef){const _0x50febf=_0x254c,_0x5a617f=Object[_0x50febf(0x1be)](null);let _0x3d7ff9=Object[_0x50febf(0x1be)](null),_0x48b36f=!0x1,_0x1388b7=!0x1,_0x31b10b=!0x1,_0x55e687,_0xe42e9f,_0x53e67a=-0x1,_0x289dd7=-0x1,_0x3769f4=-0x1,_0x3a7837=0x0;for(;_0x3a7837<_0xa2d9ef['length'];_0x3a7837++)if(_0x289dd7=_0xa2d9ef[_0x50febf(0x96)](_0x3a7837),_0x55e687===void 0x0){if(_0x3769f4===-0x1&&_0x103f42[_0x289dd7]===0x1)_0x53e67a===-0x1&&(_0x53e67a=_0x3a7837);else{if(_0x3a7837!==0x0&&(_0x289dd7===0x20||_0x289dd7===0x9))_0x3769f4===-0x1&&_0x53e67a!==-0x1&&(_0x3769f4=_0x3a7837);else{if(_0x289dd7===0x3b||_0x289dd7===0x2c){if(_0x53e67a===-0x1)throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837);const _0x34f33a=_0xa2d9ef[_0x50febf(0xd4)](_0x53e67a,_0x3769f4);_0x289dd7===0x2c?(_0x151bb7(_0x5a617f,_0x34f33a,_0x3d7ff9),_0x3d7ff9=Object[_0x50febf(0x1be)](null)):_0x55e687=_0x34f33a,_0x53e67a=_0x3769f4=-0x1;}else throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);}}}else{if(_0xe42e9f===void 0x0){if(_0x3769f4===-0x1&&_0x103f42[_0x289dd7]===0x1)_0x53e67a===-0x1&&(_0x53e67a=_0x3a7837);else{if(_0x289dd7===0x20||_0x289dd7===0x9)_0x3769f4===-0x1&&_0x53e67a!==-0x1&&(_0x3769f4=_0x3a7837);else{if(_0x289dd7===0x3b||_0x289dd7===0x2c){if(_0x53e67a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a7837);_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837),_0x151bb7(_0x3d7ff9,_0xa2d9ef[_0x50febf(0xd4)](_0x53e67a,_0x3769f4),!0x0),_0x289dd7===0x2c&&(_0x151bb7(_0x5a617f,_0x55e687,_0x3d7ff9),_0x3d7ff9=Object['create'](null),_0x55e687=void 0x0),_0x53e67a=_0x3769f4=-0x1;}else{if(_0x289dd7===0x3d&&_0x53e67a!==-0x1&&_0x3769f4===-0x1)_0xe42e9f=_0xa2d9ef[_0x50febf(0xd4)](_0x53e67a,_0x3a7837),_0x53e67a=_0x3769f4=-0x1;else throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);}}}}else{if(_0x1388b7){if(_0x103f42[_0x289dd7]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a7837);_0x53e67a===-0x1?_0x53e67a=_0x3a7837:_0x48b36f||(_0x48b36f=!0x0),_0x1388b7=!0x1;}else{if(_0x31b10b){if(_0x103f42[_0x289dd7]===0x1)_0x53e67a===-0x1&&(_0x53e67a=_0x3a7837);else{if(_0x289dd7===0x22&&_0x53e67a!==-0x1)_0x31b10b=!0x1,_0x3769f4=_0x3a7837;else{if(_0x289dd7===0x5c)_0x1388b7=!0x0;else throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);}}}else{if(_0x289dd7===0x22&&_0xa2d9ef['charCodeAt'](_0x3a7837-0x1)===0x3d)_0x31b10b=!0x0;else{if(_0x3769f4===-0x1&&_0x103f42[_0x289dd7]===0x1)_0x53e67a===-0x1&&(_0x53e67a=_0x3a7837);else{if(_0x53e67a!==-0x1&&(_0x289dd7===0x20||_0x289dd7===0x9))_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837);else{if(_0x289dd7===0x3b||_0x289dd7===0x2c){if(_0x53e67a===-0x1)throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837);let _0x2abf7a=_0xa2d9ef['slice'](_0x53e67a,_0x3769f4);_0x48b36f&&(_0x2abf7a=_0x2abf7a[_0x50febf(0xfa)](/\\/g,''),_0x48b36f=!0x1),_0x151bb7(_0x3d7ff9,_0xe42e9f,_0x2abf7a),_0x289dd7===0x2c&&(_0x151bb7(_0x5a617f,_0x55e687,_0x3d7ff9),_0x3d7ff9=Object[_0x50febf(0x1be)](null),_0x55e687=void 0x0),_0xe42e9f=void 0x0,_0x53e67a=_0x3769f4=-0x1;}else throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);}}}}}}}if(_0x53e67a===-0x1||_0x31b10b||_0x289dd7===0x20||_0x289dd7===0x9)throw new SyntaxError(_0x50febf(0x15d));_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837);const _0x5001ec=_0xa2d9ef[_0x50febf(0xd4)](_0x53e67a,_0x3769f4);return _0x55e687===void 0x0?_0x151bb7(_0x5a617f,_0x5001ec,_0x3d7ff9):(_0xe42e9f===void 0x0?_0x151bb7(_0x3d7ff9,_0x5001ec,!0x0):_0x48b36f?_0x151bb7(_0x3d7ff9,_0xe42e9f,_0x5001ec[_0x50febf(0xfa)](/\\/g,'')):_0x151bb7(_0x3d7ff9,_0xe42e9f,_0x5001ec),_0x151bb7(_0x5a617f,_0x55e687,_0x3d7ff9)),_0x5a617f;}function _0xf203fd(_0x9b897c){const _0x14c5d9=_0x254c;return Object[_0x14c5d9(0x20c)](_0x9b897c)['map'](_0x1e9116=>{const _0x2ed705=_0x14c5d9;let _0x1eb76=_0x9b897c[_0x1e9116];return Array[_0x2ed705(0x161)](_0x1eb76)||(_0x1eb76=[_0x1eb76]),_0x1eb76[_0x2ed705(0xae)](_0x2dab33=>[_0x1e9116][_0x2ed705(0xd5)](Object['keys'](_0x2dab33)['map'](_0x505a85=>{const _0x5930f9=_0x2ed705;let _0x44f3a7=_0x2dab33[_0x505a85];return Array[_0x5930f9(0x161)](_0x44f3a7)||(_0x44f3a7=[_0x44f3a7]),_0x44f3a7[_0x5930f9(0xae)](_0x2ad6b0=>_0x2ad6b0===!0x0?_0x505a85:_0x505a85+'='+_0x2ad6b0)[_0x5930f9(0x14a)](';\x20');}))[_0x2ed705(0x14a)](';\x20'))[_0x2ed705(0x14a)](',\x20');})['join'](',\x20');}return be={'format':_0xf203fd,'parse':_0x6eac16},be;}var we,Je;function Pe(){const _0x55e7f0=_0x1715bb;if(Je)return we;Je=0x1;const _0x3d72c8=nt,_0x53547d=vt,_0x5cba17=ot,_0x5afa95=St,_0x596c15=Et,{randomBytes:_0x36ac2c,createHash:_0x5cfc14}=Le,{Duplex:_0x253b90,Readable:_0x65f355}=oe,{URL:_0x4ec24c}=xt,_0x4b85c7=he(),_0x47b24a=lt(),_0x5b248a=ft(),{isBlob:_0x2ebb33}=ae(),{BINARY_TYPES:_0x34772e,EMPTY_BUFFER:_0x5491de,GUID:_0x5cb665,kForOnEventAttribute:_0xd92d5c,kListener:_0x31fcd7,kStatusCode:_0x133454,kWebSocket:_0x899bc7,NOOP:_0xe504ea}=H(),{EventTarget:{addEventListener:_0x1d29de,removeEventListener:_0x32e786}}=It(),{format:_0x5e6ea1,parse:_0x921d39}=ct(),{toBuffer:_0x383228}=ce(),_0x141e9f=0x1e*0x3e8,_0x1bfc65=Symbol(_0x55e7f0(0x209)),_0x26cff8=[0x8,0xd],_0x19355c=['CONNECTING',_0x55e7f0(0x7e),_0x55e7f0(0xf2),_0x55e7f0(0xe7)],_0x427097=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x109843 extends _0x3d72c8{constructor(_0x1bbc91,_0x32ef36,_0x39d54e){const _0x236cd7=_0x55e7f0;super(),this[_0x236cd7(0x19b)]=_0x34772e[0x0],this['_closeCode']=0x3ee,this[_0x236cd7(0x16b)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x236cd7(0x170)]=_0x5491de,this[_0x236cd7(0x16d)]=null,this[_0x236cd7(0xea)]=!0x1,this[_0x236cd7(0x17f)]={},this[_0x236cd7(0x214)]=!0x1,this[_0x236cd7(0x133)]='',this[_0x236cd7(0x201)]=_0x109843[_0x236cd7(0x198)],this['_receiver']=null,this[_0x236cd7(0x1bc)]=null,this['_socket']=null,_0x1bbc91!==null?(this[_0x236cd7(0x9b)]=0x0,this[_0x236cd7(0x103)]=!0x1,this[_0x236cd7(0x13b)]=0x0,_0x32ef36===void 0x0?_0x32ef36=[]:Array[_0x236cd7(0x161)](_0x32ef36)||(typeof _0x32ef36==_0x236cd7(0x11e)&&_0x32ef36!==null?(_0x39d54e=_0x32ef36,_0x32ef36=[]):_0x32ef36=[_0x32ef36]),_0x4d483a(this,_0x1bbc91,_0x32ef36,_0x39d54e)):(this[_0x236cd7(0x20b)]=_0x39d54e[_0x236cd7(0x1ce)],this[_0x236cd7(0x103)]=!0x0);}get[_0x55e7f0(0x175)](){return this['_binaryType'];}set[_0x55e7f0(0x175)](_0x479ce9){const _0x3bbbba=_0x55e7f0;_0x34772e[_0x3bbbba(0xf6)](_0x479ce9)&&(this['_binaryType']=_0x479ce9,this[_0x3bbbba(0x1c1)]&&(this[_0x3bbbba(0x1c1)][_0x3bbbba(0x19b)]=_0x479ce9));}get[_0x55e7f0(0xd7)](){const _0x2f6c58=_0x55e7f0;return this[_0x2f6c58(0xc1)]?this[_0x2f6c58(0xc1)][_0x2f6c58(0x188)][_0x2f6c58(0x8f)]+this[_0x2f6c58(0x1bc)][_0x2f6c58(0x159)]:this[_0x2f6c58(0x9b)];}get[_0x55e7f0(0xaf)](){const _0x4ffa72=_0x55e7f0;return Object[_0x4ffa72(0x20c)](this[_0x4ffa72(0x17f)])['join']();}get[_0x55e7f0(0x1e2)](){const _0x1d4019=_0x55e7f0;return this[_0x1d4019(0x214)];}get[_0x55e7f0(0x97)](){return null;}get[_0x55e7f0(0xbd)](){return null;}get[_0x55e7f0(0xc4)](){return null;}get['onmessage'](){return null;}get[_0x55e7f0(0x105)](){const _0x3b1d4c=_0x55e7f0;return this[_0x3b1d4c(0x133)];}get['readyState'](){return this['_readyState'];}get[_0x55e7f0(0x23c)](){const _0x7a10c=_0x55e7f0;return this[_0x7a10c(0x18d)];}[_0x55e7f0(0x117)](_0x250f4f,_0x15d9ce,_0xbd4a1){const _0x150620=_0x55e7f0,_0x2e262c=new _0x47b24a({'allowSynchronousEvents':_0xbd4a1[_0x150620(0x1ea)],'binaryType':this[_0x150620(0x175)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0xbd4a1[_0x150620(0xbf)],'skipUTF8Validation':_0xbd4a1['skipUTF8Validation']}),_0x3fb6b1=new _0x5b248a(_0x250f4f,this['_extensions'],_0xbd4a1[_0x150620(0x104)]);this[_0x150620(0x1c1)]=_0x2e262c,this[_0x150620(0x1bc)]=_0x3fb6b1,this[_0x150620(0xc1)]=_0x250f4f,_0x2e262c[_0x899bc7]=this,_0x3fb6b1[_0x899bc7]=this,_0x250f4f[_0x899bc7]=this,_0x2e262c['on']('conclude',_0xe15dfa),_0x2e262c['on'](_0x150620(0xda),_0x312963),_0x2e262c['on'](_0x150620(0x107),_0x12c7e6),_0x2e262c['on'](_0x150620(0xd9),_0x2cd977),_0x2e262c['on']('ping',_0x36e5fd),_0x2e262c['on']('pong',_0xe15457),_0x3fb6b1[_0x150620(0xbd)]=_0x389229,_0x250f4f[_0x150620(0x1f6)]&&_0x250f4f[_0x150620(0x1f6)](0x0),_0x250f4f[_0x150620(0x82)]&&_0x250f4f[_0x150620(0x82)](),_0x15d9ce['length']>0x0&&_0x250f4f[_0x150620(0x92)](_0x15d9ce),_0x250f4f['on'](_0x150620(0x187),_0x3396c4),_0x250f4f['on'](_0x150620(0x21e),_0x5e6974),_0x250f4f['on'](_0x150620(0x182),_0x2da46b),_0x250f4f['on']('error',_0x5caf1e),this[_0x150620(0x201)]=_0x109843['OPEN'],this[_0x150620(0x94)]('open');}[_0x55e7f0(0x1c5)](){const _0x26a14d=_0x55e7f0;if(!this[_0x26a14d(0xc1)]){this[_0x26a14d(0x201)]=_0x109843[_0x26a14d(0xe7)],this[_0x26a14d(0x94)](_0x26a14d(0x187),this[_0x26a14d(0xb0)],this[_0x26a14d(0x170)]);return;}this['_extensions'][_0x4b85c7[_0x26a14d(0xd1)]]&&this[_0x26a14d(0x17f)][_0x4b85c7[_0x26a14d(0xd1)]][_0x26a14d(0x154)](),this[_0x26a14d(0x1c1)]['removeAllListeners'](),this[_0x26a14d(0x201)]=_0x109843['CLOSED'],this['emit'](_0x26a14d(0x187),this[_0x26a14d(0xb0)],this[_0x26a14d(0x170)]);}[_0x55e7f0(0x187)](_0x23cba9,_0x293865){const _0x3e42ba=_0x55e7f0;if(this[_0x3e42ba(0x185)]!==_0x109843[_0x3e42ba(0xe7)]){if(this['readyState']===_0x109843[_0x3e42ba(0x198)]){_0x43af87(this,this[_0x3e42ba(0xb6)],_0x3e42ba(0xf0));return;}if(this['readyState']===_0x109843[_0x3e42ba(0xf2)]){this[_0x3e42ba(0x1d2)]&&(this[_0x3e42ba(0x16b)]||this['_receiver'][_0x3e42ba(0x188)][_0x3e42ba(0x229)])&&this[_0x3e42ba(0xc1)][_0x3e42ba(0x182)]();return;}this[_0x3e42ba(0x201)]=_0x109843[_0x3e42ba(0xf2)],this[_0x3e42ba(0x1bc)][_0x3e42ba(0x187)](_0x23cba9,_0x293865,!this[_0x3e42ba(0x103)],_0xe16157=>{const _0x292ad9=_0x3e42ba;_0xe16157||(this[_0x292ad9(0x1d2)]=!0x0,(this[_0x292ad9(0x16b)]||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x292ad9(0xc1)]['end']());}),_0x2ecd9e(this);}}[_0x55e7f0(0x1ef)](){const _0x424e63=_0x55e7f0;this[_0x424e63(0x185)]===_0x109843[_0x424e63(0x198)]||this['readyState']===_0x109843[_0x424e63(0xe7)]||(this[_0x424e63(0x214)]=!0x0,this[_0x424e63(0xc1)][_0x424e63(0x1ef)]());}[_0x55e7f0(0x110)](_0x456462,_0x9d2d54,_0x1f4ee5){const _0x2c145a=_0x55e7f0;if(this[_0x2c145a(0x185)]===_0x109843[_0x2c145a(0x198)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x456462==_0x2c145a(0x212)?(_0x1f4ee5=_0x456462,_0x456462=_0x9d2d54=void 0x0):typeof _0x9d2d54==_0x2c145a(0x212)&&(_0x1f4ee5=_0x9d2d54,_0x9d2d54=void 0x0),typeof _0x456462=='number'&&(_0x456462=_0x456462[_0x2c145a(0x132)]()),this[_0x2c145a(0x185)]!==_0x109843[_0x2c145a(0x7e)]){_0x1a04e5(this,_0x456462,_0x1f4ee5);return;}_0x9d2d54===void 0x0&&(_0x9d2d54=!this[_0x2c145a(0x103)]),this[_0x2c145a(0x1bc)][_0x2c145a(0x110)](_0x456462||_0x5491de,_0x9d2d54,_0x1f4ee5);}[_0x55e7f0(0xdb)](_0x1b6203,_0xb9f21c,_0x33a5bd){const _0x244146=_0x55e7f0;if(this[_0x244146(0x185)]===_0x109843[_0x244146(0x198)])throw new Error(_0x244146(0x15c));if(typeof _0x1b6203==_0x244146(0x212)?(_0x33a5bd=_0x1b6203,_0x1b6203=_0xb9f21c=void 0x0):typeof _0xb9f21c==_0x244146(0x212)&&(_0x33a5bd=_0xb9f21c,_0xb9f21c=void 0x0),typeof _0x1b6203==_0x244146(0xed)&&(_0x1b6203=_0x1b6203[_0x244146(0x132)]()),this[_0x244146(0x185)]!==_0x109843[_0x244146(0x7e)]){_0x1a04e5(this,_0x1b6203,_0x33a5bd);return;}_0xb9f21c===void 0x0&&(_0xb9f21c=!this[_0x244146(0x103)]),this[_0x244146(0x1bc)][_0x244146(0xdb)](_0x1b6203||_0x5491de,_0xb9f21c,_0x33a5bd);}[_0x55e7f0(0x23e)](){const _0x522dd3=_0x55e7f0;this[_0x522dd3(0x185)]===_0x109843[_0x522dd3(0x198)]||this[_0x522dd3(0x185)]===_0x109843[_0x522dd3(0xe7)]||(this['_paused']=!0x1,this[_0x522dd3(0x1c1)][_0x522dd3(0x188)][_0x522dd3(0x13a)]||this[_0x522dd3(0xc1)][_0x522dd3(0x23e)]());}[_0x55e7f0(0x1df)](_0x144a10,_0x3e49fe,_0x298059){const _0x4eecb6=_0x55e7f0;if(this[_0x4eecb6(0x185)]===_0x109843[_0x4eecb6(0x198)])throw new Error(_0x4eecb6(0x15c));if(typeof _0x3e49fe==_0x4eecb6(0x212)&&(_0x298059=_0x3e49fe,_0x3e49fe={}),typeof _0x144a10==_0x4eecb6(0xed)&&(_0x144a10=_0x144a10[_0x4eecb6(0x132)]()),this[_0x4eecb6(0x185)]!==_0x109843[_0x4eecb6(0x7e)]){_0x1a04e5(this,_0x144a10,_0x298059);return;}const _0x2d2e1d={'binary':typeof _0x144a10!=_0x4eecb6(0x1ab),'mask':!this[_0x4eecb6(0x103)],'compress':!0x0,'fin':!0x0,..._0x3e49fe};this[_0x4eecb6(0x17f)][_0x4b85c7[_0x4eecb6(0xd1)]]||(_0x2d2e1d['compress']=!0x1),this[_0x4eecb6(0x1bc)][_0x4eecb6(0x1df)](_0x144a10||_0x5491de,_0x2d2e1d,_0x298059);}['terminate'](){const _0x128534=_0x55e7f0;if(this['readyState']!==_0x109843[_0x128534(0xe7)]){if(this['readyState']===_0x109843['CONNECTING']){_0x43af87(this,this[_0x128534(0xb6)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x128534(0xc1)]&&(this[_0x128534(0x201)]=_0x109843[_0x128534(0xf2)],this[_0x128534(0xc1)][_0x128534(0x176)]());}}}Object[_0x55e7f0(0xc3)](_0x109843,_0x55e7f0(0x198),{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0x198))}),Object[_0x55e7f0(0xc3)](_0x109843[_0x55e7f0(0x91)],_0x55e7f0(0x198),{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0x198))}),Object[_0x55e7f0(0xc3)](_0x109843,'OPEN',{'enumerable':!0x0,'value':_0x19355c['indexOf']('OPEN')}),Object[_0x55e7f0(0xc3)](_0x109843[_0x55e7f0(0x91)],_0x55e7f0(0x7e),{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0x7e))}),Object[_0x55e7f0(0xc3)](_0x109843,_0x55e7f0(0xf2),{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)]('CLOSING')}),Object[_0x55e7f0(0xc3)](_0x109843['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x19355c['indexOf'](_0x55e7f0(0xf2))}),Object[_0x55e7f0(0xc3)](_0x109843,'CLOSED',{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0xe7))}),Object[_0x55e7f0(0xc3)](_0x109843[_0x55e7f0(0x91)],'CLOSED',{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0xe7))}),[_0x55e7f0(0x175),_0x55e7f0(0xd7),_0x55e7f0(0xaf),_0x55e7f0(0x1e2),_0x55e7f0(0x105),_0x55e7f0(0x185),_0x55e7f0(0x23c)][_0x55e7f0(0x216)](_0x4cb5a3=>{Object['defineProperty'](_0x109843['prototype'],_0x4cb5a3,{'enumerable':!0x0});}),[_0x55e7f0(0x21f),'error',_0x55e7f0(0x187),_0x55e7f0(0xd9)][_0x55e7f0(0x216)](_0x39870e=>{const _0x6b71c9=_0x55e7f0;Object['defineProperty'](_0x109843[_0x6b71c9(0x91)],'on'+_0x39870e,{'enumerable':!0x0,'get'(){for(const _0x362bb2 of this['listeners'](_0x39870e))if(_0x362bb2[_0xd92d5c])return _0x362bb2[_0x31fcd7];return null;},'set'(_0x5debb2){const _0x169337=_0x6b71c9;for(const _0xb4e09c of this[_0x169337(0x164)](_0x39870e))if(_0xb4e09c[_0xd92d5c]){this[_0x169337(0xcd)](_0x39870e,_0xb4e09c);break;}typeof _0x5debb2==_0x169337(0x212)&&this[_0x169337(0x1f4)](_0x39870e,_0x5debb2,{[_0xd92d5c]:!0x0});}});}),_0x109843['prototype'][_0x55e7f0(0x1f4)]=_0x1d29de,_0x109843['prototype'][_0x55e7f0(0x245)]=_0x32e786,we=_0x109843;function _0x4d483a(_0xb2cc93,_0x430868,_0x4a0ae7,_0x2959c1){const _0x25f432=_0x55e7f0,_0x47723a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x26cff8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2959c1,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xb2cc93[_0x25f432(0x20b)]=_0x47723a[_0x25f432(0x1ce)],!_0x26cff8[_0x25f432(0xf6)](_0x47723a[_0x25f432(0x126)]))throw new RangeError(_0x25f432(0x146)+_0x47723a['protocolVersion']+_0x25f432(0x237)+_0x26cff8[_0x25f432(0x14a)](',\x20')+')');let _0x3afc2a;if(_0x430868 instanceof _0x4ec24c)_0x3afc2a=_0x430868;else try{_0x3afc2a=new _0x4ec24c(_0x430868);}catch{throw new SyntaxError(_0x25f432(0x138)+_0x430868);}_0x3afc2a['protocol']===_0x25f432(0x200)?_0x3afc2a['protocol']=_0x25f432(0x8b):_0x3afc2a[_0x25f432(0x105)]===_0x25f432(0xa9)&&(_0x3afc2a[_0x25f432(0x105)]=_0x25f432(0x1a5)),_0xb2cc93[_0x25f432(0x18d)]=_0x3afc2a[_0x25f432(0x143)];const _0x449327=_0x3afc2a['protocol']===_0x25f432(0x1a5),_0x103dfb=_0x3afc2a['protocol']===_0x25f432(0x12e);let _0x3975fe;if(_0x3afc2a[_0x25f432(0x105)]!==_0x25f432(0x8b)&&!_0x449327&&!_0x103dfb?_0x3975fe=_0x25f432(0xf7):_0x103dfb&&!_0x3afc2a['pathname']?_0x3975fe=_0x25f432(0x215):_0x3afc2a[_0x25f432(0x153)]&&(_0x3975fe=_0x25f432(0xff)),_0x3975fe){const _0x13fba8=new SyntaxError(_0x3975fe);if(_0xb2cc93[_0x25f432(0x13b)]===0x0)throw _0x13fba8;_0x1a7fd2(_0xb2cc93,_0x13fba8);return;}const _0x3fa1cb=_0x449327?0x1bb:0x50,_0x2a3842=_0x36ac2c(0x10)[_0x25f432(0x132)](_0x25f432(0x238)),_0x1e3972=_0x449327?_0x53547d[_0x25f432(0xca)]:_0x5cba17[_0x25f432(0xca)],_0x4d4d92=new Set();let _0xc1780f;if(_0x47723a[_0x25f432(0x12a)]=_0x47723a[_0x25f432(0x12a)]||(_0x449327?_0x27e4d8:_0x480fb9),_0x47723a[_0x25f432(0x147)]=_0x47723a[_0x25f432(0x147)]||_0x3fa1cb,_0x47723a[_0x25f432(0x1d4)]=_0x3afc2a[_0x25f432(0x1d4)]||_0x3fa1cb,_0x47723a[_0x25f432(0x1f0)]=_0x3afc2a[_0x25f432(0x18c)][_0x25f432(0x1c4)]('[')?_0x3afc2a[_0x25f432(0x18c)][_0x25f432(0xd4)](0x1,-0x1):_0x3afc2a[_0x25f432(0x18c)],_0x47723a[_0x25f432(0x20a)]={..._0x47723a['headers'],'Sec-WebSocket-Version':_0x47723a[_0x25f432(0x126)],'Sec-WebSocket-Key':_0x2a3842,'Connection':_0x25f432(0xbc),'Upgrade':_0x25f432(0x172)},_0x47723a['path']=_0x3afc2a[_0x25f432(0x13d)]+_0x3afc2a['search'],_0x47723a[_0x25f432(0xaa)]=_0x47723a[_0x25f432(0x10b)],_0x47723a['perMessageDeflate']&&(_0xc1780f=new _0x4b85c7(_0x47723a[_0x25f432(0x8c)]!==!0x0?_0x47723a[_0x25f432(0x8c)]:{},!0x1,_0x47723a['maxPayload']),_0x47723a[_0x25f432(0x20a)][_0x25f432(0x1d5)]=_0x5e6ea1({[_0x4b85c7[_0x25f432(0xd1)]]:_0xc1780f[_0x25f432(0x149)]()})),_0x4a0ae7[_0x25f432(0x8f)]){for(const _0x108d50 of _0x4a0ae7){if(typeof _0x108d50!=_0x25f432(0x1ab)||!_0x427097[_0x25f432(0x131)](_0x108d50)||_0x4d4d92[_0x25f432(0x88)](_0x108d50))throw new SyntaxError(_0x25f432(0x186));_0x4d4d92['add'](_0x108d50);}_0x47723a[_0x25f432(0x20a)][_0x25f432(0x22e)]=_0x4a0ae7['join'](',');}if(_0x47723a[_0x25f432(0x192)]&&(_0x47723a[_0x25f432(0x126)]<0xd?_0x47723a[_0x25f432(0x20a)][_0x25f432(0xf4)]=_0x47723a['origin']:_0x47723a[_0x25f432(0x20a)][_0x25f432(0xb5)]=_0x47723a[_0x25f432(0x192)]),(_0x3afc2a[_0x25f432(0x124)]||_0x3afc2a['password'])&&(_0x47723a[_0x25f432(0x1f5)]=_0x3afc2a[_0x25f432(0x124)]+':'+_0x3afc2a[_0x25f432(0x1e8)]),_0x103dfb){const _0x323e91=_0x47723a[_0x25f432(0x168)][_0x25f432(0x165)](':');_0x47723a['socketPath']=_0x323e91[0x0],_0x47723a['path']=_0x323e91[0x1];}let _0x4d85ec;if(_0x47723a['followRedirects']){if(_0xb2cc93[_0x25f432(0x13b)]===0x0){_0xb2cc93['_originalIpc']=_0x103dfb,_0xb2cc93[_0x25f432(0xce)]=_0x449327,_0xb2cc93[_0x25f432(0x1ec)]=_0x103dfb?_0x47723a[_0x25f432(0x1fa)]:_0x3afc2a[_0x25f432(0x1f0)];const _0x53c0f8=_0x2959c1&&_0x2959c1[_0x25f432(0x20a)];if(_0x2959c1={..._0x2959c1,'headers':{}},_0x53c0f8){for(const [_0x4aad5b,_0x43e0f3]of Object[_0x25f432(0xfb)](_0x53c0f8))_0x2959c1['headers'][_0x4aad5b['toLowerCase']()]=_0x43e0f3;}}else{if(_0xb2cc93[_0x25f432(0x1c3)](_0x25f432(0x125))===0x0){const _0x41166d=_0x103dfb?_0xb2cc93[_0x25f432(0x98)]?_0x47723a[_0x25f432(0x1fa)]===_0xb2cc93[_0x25f432(0x1ec)]:!0x1:_0xb2cc93['_originalIpc']?!0x1:_0x3afc2a[_0x25f432(0x1f0)]===_0xb2cc93['_originalHostOrSocketPath'];(!_0x41166d||_0xb2cc93[_0x25f432(0xce)]&&!_0x449327)&&(delete _0x47723a[_0x25f432(0x20a)][_0x25f432(0xa2)],delete _0x47723a[_0x25f432(0x20a)][_0x25f432(0x232)],_0x41166d||delete _0x47723a[_0x25f432(0x20a)][_0x25f432(0x1f0)],_0x47723a[_0x25f432(0x1f5)]=void 0x0);}}_0x47723a[_0x25f432(0x1f5)]&&!_0x2959c1[_0x25f432(0x20a)]['authorization']&&(_0x2959c1[_0x25f432(0x20a)][_0x25f432(0xa2)]=_0x25f432(0x213)+Buffer[_0x25f432(0x191)](_0x47723a['auth'])[_0x25f432(0x132)](_0x25f432(0x238))),_0x4d85ec=_0xb2cc93[_0x25f432(0xb6)]=_0x1e3972(_0x47723a),_0xb2cc93[_0x25f432(0x13b)]&&_0xb2cc93[_0x25f432(0x94)]('redirect',_0xb2cc93[_0x25f432(0x23c)],_0x4d85ec);}else _0x4d85ec=_0xb2cc93['_req']=_0x1e3972(_0x47723a);_0x47723a[_0x25f432(0xaa)]&&_0x4d85ec['on'](_0x25f432(0xaa),()=>{_0x43af87(_0xb2cc93,_0x4d85ec,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4d85ec['on'](_0x25f432(0x107),_0x400b5=>{const _0x4be5f1=_0x25f432;_0x4d85ec===null||_0x4d85ec[_0x1bfc65]||(_0x4d85ec=_0xb2cc93[_0x4be5f1(0xb6)]=null,_0x1a7fd2(_0xb2cc93,_0x400b5));}),_0x4d85ec['on'](_0x25f432(0x16e),_0xd46300=>{const _0x24481c=_0x25f432,_0x1e8a99=_0xd46300[_0x24481c(0x20a)]['location'],_0x3569c9=_0xd46300[_0x24481c(0x118)];if(_0x1e8a99&&_0x47723a[_0x24481c(0x13e)]&&_0x3569c9>=0x12c&&_0x3569c9<0x190){if(++_0xb2cc93[_0x24481c(0x13b)]>_0x47723a[_0x24481c(0x203)]){_0x43af87(_0xb2cc93,_0x4d85ec,'Maximum\x20redirects\x20exceeded');return;}_0x4d85ec['abort']();let _0x16de03;try{_0x16de03=new _0x4ec24c(_0x1e8a99,_0x430868);}catch{const _0x29dabd=new SyntaxError('Invalid\x20URL:\x20'+_0x1e8a99);_0x1a7fd2(_0xb2cc93,_0x29dabd);return;}_0x4d483a(_0xb2cc93,_0x16de03,_0x4a0ae7,_0x2959c1);}else _0xb2cc93[_0x24481c(0x94)](_0x24481c(0x179),_0x4d85ec,_0xd46300)||_0x43af87(_0xb2cc93,_0x4d85ec,_0x24481c(0x230)+_0xd46300[_0x24481c(0x118)]);}),_0x4d85ec['on'](_0x25f432(0x162),(_0x4b689b,_0x30b417,_0x1c365c)=>{const _0x31acd7=_0x25f432;if(_0xb2cc93[_0x31acd7(0x94)]('upgrade',_0x4b689b),_0xb2cc93[_0x31acd7(0x185)]!==_0x109843[_0x31acd7(0x198)])return;_0x4d85ec=_0xb2cc93[_0x31acd7(0xb6)]=null;const _0x41c99b=_0x4b689b[_0x31acd7(0x20a)][_0x31acd7(0x162)];if(_0x41c99b===void 0x0||_0x41c99b[_0x31acd7(0x23b)]()!==_0x31acd7(0x172)){_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x19f));return;}const _0x5255c3=_0x5cfc14(_0x31acd7(0x17d))[_0x31acd7(0x241)](_0x2a3842+_0x5cb665)[_0x31acd7(0x7d)](_0x31acd7(0x238));if(_0x4b689b[_0x31acd7(0x20a)][_0x31acd7(0x17c)]!==_0x5255c3){_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x8a));return;}const _0x2a0739=_0x4b689b[_0x31acd7(0x20a)][_0x31acd7(0x21b)];let _0x2317d2;if(_0x2a0739!==void 0x0?_0x4d4d92['size']?_0x4d4d92[_0x31acd7(0x88)](_0x2a0739)||(_0x2317d2=_0x31acd7(0x1a4)):_0x2317d2=_0x31acd7(0x16f):_0x4d4d92[_0x31acd7(0x108)]&&(_0x2317d2=_0x31acd7(0x14e)),_0x2317d2){_0x43af87(_0xb2cc93,_0x30b417,_0x2317d2);return;}_0x2a0739&&(_0xb2cc93[_0x31acd7(0x133)]=_0x2a0739);const _0x49f818=_0x4b689b[_0x31acd7(0x20a)]['sec-websocket-extensions'];if(_0x49f818!==void 0x0){if(!_0xc1780f){_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x173));return;}let _0x5c5c15;try{_0x5c5c15=_0x921d39(_0x49f818);}catch{_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x81));return;}const _0xdff7d5=Object[_0x31acd7(0x20c)](_0x5c5c15);if(_0xdff7d5[_0x31acd7(0x8f)]!==0x1||_0xdff7d5[0x0]!==_0x4b85c7[_0x31acd7(0xd1)]){_0x43af87(_0xb2cc93,_0x30b417,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0xc1780f[_0x31acd7(0xbb)](_0x5c5c15[_0x4b85c7['extensionName']]);}catch{_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x81));return;}_0xb2cc93[_0x31acd7(0x17f)][_0x4b85c7[_0x31acd7(0xd1)]]=_0xc1780f;}_0xb2cc93['setSocket'](_0x30b417,_0x1c365c,{'allowSynchronousEvents':_0x47723a[_0x31acd7(0x1ea)],'generateMask':_0x47723a[_0x31acd7(0x104)],'maxPayload':_0x47723a[_0x31acd7(0xbf)],'skipUTF8Validation':_0x47723a[_0x31acd7(0x197)]});}),_0x47723a[_0x25f432(0x1ff)]?_0x47723a[_0x25f432(0x1ff)](_0x4d85ec,_0xb2cc93):_0x4d85ec['end']();}function _0x1a7fd2(_0x32460a,_0x2a90b3){const _0x30f777=_0x55e7f0;_0x32460a['_readyState']=_0x109843[_0x30f777(0xf2)],_0x32460a[_0x30f777(0xea)]=!0x0,_0x32460a[_0x30f777(0x94)](_0x30f777(0x107),_0x2a90b3),_0x32460a[_0x30f777(0x1c5)]();}function _0x480fb9(_0x2c3327){const _0xaba591=_0x55e7f0;return _0x2c3327[_0xaba591(0x168)]=_0x2c3327['socketPath'],_0x5afa95['connect'](_0x2c3327);}function _0x27e4d8(_0x21994b){const _0x1eb0a8=_0x55e7f0;return _0x21994b[_0x1eb0a8(0x168)]=void 0x0,!_0x21994b[_0x1eb0a8(0x20d)]&&_0x21994b[_0x1eb0a8(0x20d)]!==''&&(_0x21994b[_0x1eb0a8(0x20d)]=_0x5afa95['isIP'](_0x21994b[_0x1eb0a8(0x1f0)])?'':_0x21994b[_0x1eb0a8(0x1f0)]),_0x596c15[_0x1eb0a8(0x1e7)](_0x21994b);}function _0x43af87(_0x5319ec,_0x1f5cc0,_0x1302a5){const _0x5f0d16=_0x55e7f0;_0x5319ec['_readyState']=_0x109843[_0x5f0d16(0xf2)];const _0x78bac8=new Error(_0x1302a5);Error[_0x5f0d16(0x19e)](_0x78bac8,_0x43af87),_0x1f5cc0[_0x5f0d16(0x15a)]?(_0x1f5cc0[_0x1bfc65]=!0x0,_0x1f5cc0[_0x5f0d16(0x142)](),_0x1f5cc0['socket']&&!_0x1f5cc0[_0x5f0d16(0x1ad)][_0x5f0d16(0x114)]&&_0x1f5cc0['socket']['destroy'](),process[_0x5f0d16(0x163)](_0x1a7fd2,_0x5319ec,_0x78bac8)):(_0x1f5cc0[_0x5f0d16(0x176)](_0x78bac8),_0x1f5cc0[_0x5f0d16(0x18f)]('error',_0x5319ec[_0x5f0d16(0x94)][_0x5f0d16(0x130)](_0x5319ec,_0x5f0d16(0x107))),_0x1f5cc0[_0x5f0d16(0x18f)](_0x5f0d16(0x187),_0x5319ec['emitClose']['bind'](_0x5319ec)));}function _0x1a04e5(_0x1448e2,_0x38a343,_0x3775dd){const _0x36ab27=_0x55e7f0;if(_0x38a343){const _0xb3c4e0=_0x2ebb33(_0x38a343)?_0x38a343[_0x36ab27(0x108)]:_0x383228(_0x38a343)['length'];_0x1448e2[_0x36ab27(0xc1)]?_0x1448e2[_0x36ab27(0x1bc)][_0x36ab27(0x159)]+=_0xb3c4e0:_0x1448e2['_bufferedAmount']+=_0xb3c4e0;}if(_0x3775dd){const _0x53fb1b=new Error(_0x36ab27(0x10a)+_0x1448e2[_0x36ab27(0x185)]+'\x20('+_0x19355c[_0x1448e2[_0x36ab27(0x185)]]+')');process[_0x36ab27(0x163)](_0x3775dd,_0x53fb1b);}}function _0xe15dfa(_0x4a8857,_0x45fc57){const _0x5d9b66=_0x55e7f0,_0x583083=this[_0x899bc7];_0x583083[_0x5d9b66(0x16b)]=!0x0,_0x583083[_0x5d9b66(0x170)]=_0x45fc57,_0x583083[_0x5d9b66(0xb0)]=_0x4a8857,_0x583083['_socket'][_0x899bc7]!==void 0x0&&(_0x583083[_0x5d9b66(0xc1)][_0x5d9b66(0xcd)]('data',_0x5e6974),process['nextTick'](_0x4f7e04,_0x583083['_socket']),_0x4a8857===0x3ed?_0x583083[_0x5d9b66(0x187)]():_0x583083['close'](_0x4a8857,_0x45fc57));}function _0x312963(){const _0x198e51=_0x55e7f0,_0x35f405=this[_0x899bc7];_0x35f405[_0x198e51(0x1e2)]||_0x35f405[_0x198e51(0xc1)]['resume']();}function _0x12c7e6(_0x23e340){const _0x3b23d5=_0x55e7f0,_0x5b89c9=this[_0x899bc7];_0x5b89c9[_0x3b23d5(0xc1)][_0x899bc7]!==void 0x0&&(_0x5b89c9[_0x3b23d5(0xc1)][_0x3b23d5(0xcd)](_0x3b23d5(0x21e),_0x5e6974),process['nextTick'](_0x4f7e04,_0x5b89c9[_0x3b23d5(0xc1)]),_0x5b89c9['close'](_0x23e340[_0x133454])),_0x5b89c9['_errorEmitted']||(_0x5b89c9[_0x3b23d5(0xea)]=!0x0,_0x5b89c9['emit']('error',_0x23e340));}function _0x1d9a30(){const _0x45ca57=_0x55e7f0;this[_0x899bc7][_0x45ca57(0x1c5)]();}function _0x2cd977(_0x5be08b,_0x2e9777){const _0x15b0d4=_0x55e7f0;this[_0x899bc7][_0x15b0d4(0x94)](_0x15b0d4(0xd9),_0x5be08b,_0x2e9777);}function _0x36e5fd(_0x1d2a79){const _0x156992=_0x55e7f0,_0x277ccf=this[_0x899bc7];_0x277ccf[_0x156992(0x20b)]&&_0x277ccf['pong'](_0x1d2a79,!this[_0x156992(0x103)],_0xe504ea),_0x277ccf['emit'](_0x156992(0x110),_0x1d2a79);}function _0xe15457(_0x46886f){const _0x626f24=_0x55e7f0;this[_0x899bc7][_0x626f24(0x94)](_0x626f24(0xdb),_0x46886f);}function _0x4f7e04(_0xc2511b){_0xc2511b['resume']();}function _0x389229(_0x340452){const _0x304e93=_0x55e7f0,_0x56948b=this[_0x899bc7];_0x56948b['readyState']!==_0x109843['CLOSED']&&(_0x56948b[_0x304e93(0x185)]===_0x109843[_0x304e93(0x7e)]&&(_0x56948b[_0x304e93(0x201)]=_0x109843[_0x304e93(0xf2)],_0x2ecd9e(_0x56948b)),this[_0x304e93(0xc1)]['end'](),_0x56948b[_0x304e93(0xea)]||(_0x56948b[_0x304e93(0xea)]=!0x0,_0x56948b[_0x304e93(0x94)](_0x304e93(0x107),_0x340452)));}function _0x2ecd9e(_0x3c67fb){const _0x3213c8=_0x55e7f0;_0x3c67fb[_0x3213c8(0x16d)]=setTimeout(_0x3c67fb['_socket'][_0x3213c8(0x176)][_0x3213c8(0x130)](_0x3c67fb[_0x3213c8(0xc1)]),_0x141e9f);}function _0x3396c4(){const _0x4035bb=_0x55e7f0,_0x3fbe80=this[_0x899bc7];this[_0x4035bb(0xcd)](_0x4035bb(0x187),_0x3396c4),this[_0x4035bb(0xcd)](_0x4035bb(0x21e),_0x5e6974),this['removeListener'](_0x4035bb(0x182),_0x2da46b),_0x3fbe80[_0x4035bb(0x201)]=_0x109843[_0x4035bb(0xf2)];let _0x16b12b;!this[_0x4035bb(0x151)]['endEmitted']&&!_0x3fbe80[_0x4035bb(0x16b)]&&!_0x3fbe80[_0x4035bb(0x1c1)][_0x4035bb(0x188)][_0x4035bb(0x229)]&&(_0x16b12b=_0x3fbe80[_0x4035bb(0xc1)][_0x4035bb(0x218)]())!==null&&_0x3fbe80['_receiver']['write'](_0x16b12b),_0x3fbe80['_receiver'][_0x4035bb(0x182)](),this[_0x899bc7]=void 0x0,clearTimeout(_0x3fbe80[_0x4035bb(0x16d)]),_0x3fbe80[_0x4035bb(0x1c1)][_0x4035bb(0x188)][_0x4035bb(0x139)]||_0x3fbe80['_receiver'][_0x4035bb(0x188)]['errorEmitted']?_0x3fbe80[_0x4035bb(0x1c5)]():(_0x3fbe80[_0x4035bb(0x1c1)]['on'](_0x4035bb(0x107),_0x1d9a30),_0x3fbe80[_0x4035bb(0x1c1)]['on'](_0x4035bb(0x102),_0x1d9a30));}function _0x5e6974(_0x1eb9e6){const _0x40e443=_0x55e7f0;this[_0x899bc7][_0x40e443(0x1c1)][_0x40e443(0x1a2)](_0x1eb9e6)||this['pause']();}function _0x2da46b(){const _0x9c4fdc=_0x55e7f0,_0x18d69d=this[_0x899bc7];_0x18d69d[_0x9c4fdc(0x201)]=_0x109843[_0x9c4fdc(0xf2)],_0x18d69d[_0x9c4fdc(0x1c1)][_0x9c4fdc(0x182)](),this['end']();}function _0x5caf1e(){const _0xb3d1f8=_0x55e7f0,_0x51447f=this[_0x899bc7];this[_0xb3d1f8(0xcd)](_0xb3d1f8(0x107),_0x5caf1e),this['on'](_0xb3d1f8(0x107),_0xe504ea),_0x51447f&&(_0x51447f[_0xb3d1f8(0x201)]=_0x109843[_0xb3d1f8(0xf2)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x49a2a8}=oe;function _0x60e884(_0x1ea9b2){const _0x4c9fb3=_0x254c;_0x1ea9b2[_0x4c9fb3(0x94)]('close');}function _0x26e6d2(){const _0x5cf4a4=_0x254c;!this['destroyed']&&this[_0x5cf4a4(0x188)][_0x5cf4a4(0x139)]&&this[_0x5cf4a4(0x176)]();}function _0x31f6ee(_0x299da3){const _0xcfac3e=_0x254c;this['removeListener'](_0xcfac3e(0x107),_0x31f6ee),this['destroy'](),this[_0xcfac3e(0x1c3)](_0xcfac3e(0x107))===0x0&&this[_0xcfac3e(0x94)](_0xcfac3e(0x107),_0x299da3);}function _0x3fa723(_0x2c83c0,_0x4df16f){const _0x35da6d=_0x254c;let _0x106859=!0x0;const _0x353cb2=new _0x49a2a8({..._0x4df16f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2c83c0['on'](_0x35da6d(0xd9),function(_0xf3b238,_0x2aa434){const _0x1c6d7f=_0x35da6d,_0x517286=!_0x2aa434&&_0x353cb2[_0x1c6d7f(0x151)][_0x1c6d7f(0xc9)]?_0xf3b238[_0x1c6d7f(0x132)]():_0xf3b238;_0x353cb2[_0x1c6d7f(0x1eb)](_0x517286)||_0x2c83c0[_0x1c6d7f(0x1ef)]();}),_0x2c83c0['once']('error',function(_0x3cc0b0){const _0x51bce7=_0x35da6d;_0x353cb2[_0x51bce7(0x114)]||(_0x106859=!0x1,_0x353cb2[_0x51bce7(0x176)](_0x3cc0b0));}),_0x2c83c0[_0x35da6d(0x18f)](_0x35da6d(0x187),function(){const _0x36690b=_0x35da6d;_0x353cb2[_0x36690b(0x114)]||_0x353cb2['push'](null);}),_0x353cb2['_destroy']=function(_0xb32992,_0x1b29f9){const _0x4f2915=_0x35da6d;if(_0x2c83c0[_0x4f2915(0x185)]===_0x2c83c0['CLOSED']){_0x1b29f9(_0xb32992),process[_0x4f2915(0x163)](_0x60e884,_0x353cb2);return;}let _0xf0ebd2=!0x1;_0x2c83c0[_0x4f2915(0x18f)](_0x4f2915(0x107),function(_0x1b2d3e){_0xf0ebd2=!0x0,_0x1b29f9(_0x1b2d3e);}),_0x2c83c0['once']('close',function(){const _0x5c9d89=_0x4f2915;_0xf0ebd2||_0x1b29f9(_0xb32992),process[_0x5c9d89(0x163)](_0x60e884,_0x353cb2);}),_0x106859&&_0x2c83c0[_0x4f2915(0x1de)]();},_0x353cb2[_0x35da6d(0x1d6)]=function(_0x36aec5){const _0x4dad61=_0x35da6d;if(_0x2c83c0[_0x4dad61(0x185)]===_0x2c83c0[_0x4dad61(0x198)]){_0x2c83c0[_0x4dad61(0x18f)](_0x4dad61(0x21f),function(){const _0x295803=_0x4dad61;_0x353cb2[_0x295803(0x1d6)](_0x36aec5);});return;}_0x2c83c0['_socket']!==null&&(_0x2c83c0['_socket'][_0x4dad61(0x188)]['finished']?(_0x36aec5(),_0x353cb2[_0x4dad61(0x151)][_0x4dad61(0x11f)]&&_0x353cb2[_0x4dad61(0x176)]()):(_0x2c83c0[_0x4dad61(0xc1)]['once'](_0x4dad61(0x102),function(){_0x36aec5();}),_0x2c83c0['close']()));},_0x353cb2[_0x35da6d(0x205)]=function(){const _0x2fe7b0=_0x35da6d;_0x2c83c0[_0x2fe7b0(0x1e2)]&&_0x2c83c0[_0x2fe7b0(0x23e)]();},_0x353cb2[_0x35da6d(0x11d)]=function(_0x2a3b73,_0x5171c3,_0x12fbf4){const _0x192677=_0x35da6d;if(_0x2c83c0[_0x192677(0x185)]===_0x2c83c0[_0x192677(0x198)]){_0x2c83c0['once'](_0x192677(0x21f),function(){const _0x2e325b=_0x192677;_0x353cb2[_0x2e325b(0x11d)](_0x2a3b73,_0x5171c3,_0x12fbf4);});return;}_0x2c83c0[_0x192677(0x1df)](_0x2a3b73,_0x12fbf4);},_0x353cb2['on']('end',_0x26e6d2),_0x353cb2['on'](_0x35da6d(0x107),_0x31f6ee),_0x353cb2;}return Oe=_0x3fa723,Oe;}Ut(),lt(),ft();function _0xbf3f(){const _0x3e2a6a=['Blob','resume','ISocketService','then','update','_fragmented','dispatch','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','removeEventListener','digest','OPEN','WS_ERR_UNEXPECTED_MASK','Connection:\x20Upgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','setNoDelay','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','connection','frame','permessage-deflate','__esModule','has','backlog','Invalid\x20Sec-WebSocket-Accept\x20header','ws:','perMessageDeflate','isView','exports','length','client','prototype','unshift','dequeue','emit','sendFrame','charCodeAt','onclose','_originalIpc','ISnapshotServerService','threshold','_bufferedAmount','962289kzEDuA','clientNoContextTakeover','invalid\x20UTF-8\x20sequence','completeUpgrade','writable','target','authorization','clientMaxWindowBits','649ZdATls','code','acceptAsClient','_compressed','Z_DEFAULT_WINDOWBITS','https:','timeout','readable','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','handleUpgrade','map','extensions','_closeCode','2410968JKvPRS','getPayloadLength16','text/html','invalid\x20payload\x20length\x20','Origin','_req','reason','catch','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','createInflateRaw','accept','Upgrade','onerror','allocUnsafe','maxPayload','clientTracking','_socket','sec-websocket-origin','defineProperty','onopen','pipe','171260wIedIh','buffers','547VIJkMQ','objectMode','request','default','nodebuffer','removeListener','_originalSecure','kError','_firstFragment','extensionName','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','verifyClient','slice','concat','pow','bufferedAmount','getBlobData','message','drain','pong','_allowSynchronousEvents','_inflate','WS_ERR_INVALID_UTF8','callback','writeUIntBE','20YLXoaQ','mask','Invalid\x20WebSocket\x20frame:\x20','HTTP/1.1\x20101\x20Switching\x20Protocols','authorized','Sec-WebSocket-Protocol:\x20','CLOSED','unmask','DependentOn','_errorEmitted','WS_ERR_INVALID_OPCODE','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','number','_fragments','zlibDeflateOptions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','method','CLOSING','_opcode','Sec-WebSocket-Origin','binary','includes','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','readUInt32BE','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','replace','entries','registerDependencies','sec-websocket-extensions','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','The\x20URL\x20contains\x20a\x20fragment\x20identifier','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','GET','finish','_isServer','generateMask','protocol','1910yzHfIu','error','size','server','WebSocket\x20is\x20not\x20open:\x20readyState\x20','handshakeTimeout','arrayBuffer','_deflate','Cookie','_shouldEmitClose','ping','haveLength','RSV1\x20must\x20be\x20clear','startLoop','destroyed','acceptAsServer','conclude','setSocket','statusCode','pluginName','_removeListeners','writeUInt16BE','_httpService','_write','object','endEmitted','pending','Sec-WebSocket-Accept:\x20','server_no_context_takeover','byteOffset','username','redirect','protocolVersion','jobs','WS_ERR_INVALID_CLOSE_CODE','_options','createConnection','Observable','_buffers','concurrency','ws+unix:','maskBuffer','bind','test','toString','_protocol','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','WS_NO_UTF_8_VALIDATE','sec-websocket-key','serverMaxWindowBits','Invalid\x20URL:\x20','finished','needDrain','_redirects','noServer','pathname','followRedirects','invalid\x20opcode\x20','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','buffer','abort','href','consume','WebSocket','Unsupported\x20protocol\x20version:\x20','defaultPort','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','offer','join','createError','_maskBuffer','get','Server\x20sent\x20no\x20subprotocol','_totalPayloadLength','opcode','_readableState','kData','hash','cleanup','set','wasClean','Invalid\x20HTTP\x20method','enqueue','_bufferedBytes','setHeader','147300JDFFoH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20end\x20of\x20input','fin','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','encrypted','isArray','upgrade','nextTick','listeners','split','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','uncork','path','getPayloadLength64','rsv1','_closeFrameReceived','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_closeTimer','response','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_closeMessage','share','websocket','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','add','binaryType','destroy','byteLength','customHeaders','unexpected-response','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','values','sec-websocket-accept','sha1','_configService','_extensions','_server','next','end','options','DisposableCollection','readyState','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','close','_writableState','call','Plugin','blob','hostname','_url','zlibInflateOptions','once','parse','from','origin','listen','stream','COLLABORATION_CLIENT_NODE_CONFIG_KEY','type','skipUTF8Validation','CONNECTING','clients','_injector','_binaryType','alloc','_no_context_takeover','captureStackTrace','Invalid\x20Upgrade\x20header','ILogService','STATUS_CODES','write','isValidUTF8','Server\x20sent\x20an\x20invalid\x20subprotocol','wss:','handleEvent','_loop','Invalid\x20value\x20for\x20parameter\x20\x22','readOnly','total-length','string','toDisposable','socket','Inject','flush','_threshold','The\x20server\x20is\x20not\x20running','construct','_compress','kType','1561554ddLnnX','controlMessage','indexOf','params','CollaborationSocketService','Unknown\x20parameter\x20\x22','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_sender','_mask','create','50TWzqyX','wsClientError','_receiver','WS_ERR_UNEXPECTED_RSV_1','listenerCount','startsWith','emitClose','address','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Max\x20payload\x20size\x20exceeded','The\x20\x22','getOwnPropertyDescriptor','format','getMask','UniverCollaborationClientNodePlugin','autoPong','_maxPayload','freeze','reset','_closeFrameSent','getData','port','Sec-WebSocket-Extensions','_final','IConfigService','shift','NodeCollaborationSocketService','listening','invalid\x20status\x20code\x20','server_max_window_bits','dataMessage','terminate','send','_skipUTF8Validation','writeHead','isPaused','toStringTag','kListener','\x22:\x20','_errored','connect','password','find','allowSynchronousEvents','push','_originalHostOrSocketPath','normalizeParams','509194qqOaSV','pause','host','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','isServer','Unexpected\x20character\x20at\x20index\x20','addEventListener','auth','setTimeout','kCode','_registerDependencies','getConfig','socketPath','kTarget','WS_ERR_EXPECTED_MASK','kByteLength','fragments','finishRequest','http:','_readyState','Injector','maxRedirects','setConfig','_read','_queue','createSocket','decompress','kAborted','headers','_autoPong','keys','servername','client_max_window_bits','Parameter\x20\x22','getInfo','readUInt16BE','function','Basic\x20','_paused','The\x20URL\x27s\x20pathname\x20is\x20empty','forEach','client_no_context_takeover','read','_fin','_generateMask','sec-websocket-protocol','serverNoContextTakeover','isBuffer','data','open','Module','shouldHandle','isInteger','hasOwnProperty','_max_window_bits','arraybuffer','_messageLength','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_decompress','errorEmitted','_state','\x22\x20subprotocol\x20is\x20duplicated','constructor','species','Sec-WebSocket-Protocol','concurrencyLimit','Unexpected\x20server\x20response:\x20','MASK\x20must\x20be\x20set','cookie','_masked','compress','UniverCollaborationClientPlugin','cork','\x20(supported\x20versions:\x20','base64','30IAMgmq','_payloadLength','toLowerCase','url'];_0xbf3f=function(){return _0x3e2a6a;};return _0xbf3f();}var Mt=Pe();function _0x254c(_0x149ec4,_0x5afc55){const _0xbf3f8f=_0xbf3f();return _0x254c=function(_0x254cef,_0x3da01d){_0x254cef=_0x254cef-0x7d;let _0x321955=_0xbf3f8f[_0x254cef];return _0x321955;},_0x254c(_0x149ec4,_0x5afc55);}const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x284798}=ae();function _0x58da1d(_0x32dc9c){const _0x14e0a7=_0x254c,_0x5eeadd=new Set();let _0x3e349d=-0x1,_0x15bb03=-0x1,_0x346c4a=0x0;for(_0x346c4a;_0x346c4a<_0x32dc9c[_0x14e0a7(0x8f)];_0x346c4a++){const _0x512876=_0x32dc9c[_0x14e0a7(0x96)](_0x346c4a);if(_0x15bb03===-0x1&&_0x284798[_0x512876]===0x1)_0x3e349d===-0x1&&(_0x3e349d=_0x346c4a);else{if(_0x346c4a!==0x0&&(_0x512876===0x20||_0x512876===0x9))_0x15bb03===-0x1&&_0x3e349d!==-0x1&&(_0x15bb03=_0x346c4a);else{if(_0x512876===0x2c){if(_0x3e349d===-0x1)throw new SyntaxError(_0x14e0a7(0x1f3)+_0x346c4a);_0x15bb03===-0x1&&(_0x15bb03=_0x346c4a);const _0x4574e3=_0x32dc9c['slice'](_0x3e349d,_0x15bb03);if(_0x5eeadd['has'](_0x4574e3))throw new SyntaxError(_0x14e0a7(0x1c9)+_0x4574e3+_0x14e0a7(0x22b));_0x5eeadd[_0x14e0a7(0x174)](_0x4574e3),_0x3e349d=_0x15bb03=-0x1;}else throw new SyntaxError(_0x14e0a7(0x1f3)+_0x346c4a);}}}if(_0x3e349d===-0x1||_0x15bb03!==-0x1)throw new SyntaxError(_0x14e0a7(0x15d));const _0x2d709d=_0x32dc9c['slice'](_0x3e349d,_0x346c4a);if(_0x5eeadd[_0x14e0a7(0x88)](_0x2d709d))throw new SyntaxError(_0x14e0a7(0x1c9)+_0x2d709d+_0x14e0a7(0x22b));return _0x5eeadd[_0x14e0a7(0x174)](_0x2d709d),_0x5eeadd;}return Ce={'parse':_0x58da1d},Ce;}var Te,rt;function Ft(){const _0x3dc0a3=_0x1715bb;if(rt)return Te;rt=0x1;const _0x5e434a=nt,_0x3fc2bd=ot,{Duplex:_0x152fa6}=oe,{createHash:_0x5a0cb1}=Le,_0x242a63=ct(),_0x31f15f=he(),_0x1dfac2=At(),_0x4dd11b=Pe(),{GUID:_0x43d0ec,kWebSocket:_0x4176f2}=H(),_0x5969c0=/^[+/0-9A-Za-z]{22}==$/,_0x33e62e=0x0,_0x5303bb=0x1,_0x16d1b7=0x2;class _0x142fc9 extends _0x5e434a{constructor(_0x37ac7c,_0x3f4877){const _0x1db3ea=_0x254c;if(super(),_0x37ac7c={'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':_0x4dd11b,..._0x37ac7c},_0x37ac7c[_0x1db3ea(0x1d4)]==null&&!_0x37ac7c[_0x1db3ea(0x109)]&&!_0x37ac7c[_0x1db3ea(0x13c)]||_0x37ac7c[_0x1db3ea(0x1d4)]!=null&&(_0x37ac7c[_0x1db3ea(0x109)]||_0x37ac7c[_0x1db3ea(0x13c)])||_0x37ac7c['server']&&_0x37ac7c['noServer'])throw new TypeError(_0x1db3ea(0x148));if(_0x37ac7c[_0x1db3ea(0x1d4)]!=null?(this[_0x1db3ea(0x180)]=_0x3fc2bd['createServer']((_0x54d08e,_0xbefed)=>{const _0x9e3104=_0x1db3ea,_0xce594=_0x3fc2bd[_0x9e3104(0x1a1)][0x1aa];_0xbefed[_0x9e3104(0x1e1)](0x1aa,{'Content-Length':_0xce594['length'],'Content-Type':'text/plain'}),_0xbefed[_0x9e3104(0x182)](_0xce594);}),this[_0x1db3ea(0x180)][_0x1db3ea(0x193)](_0x37ac7c['port'],_0x37ac7c['host'],_0x37ac7c[_0x1db3ea(0x89)],_0x3f4877)):_0x37ac7c[_0x1db3ea(0x109)]&&(this[_0x1db3ea(0x180)]=_0x37ac7c[_0x1db3ea(0x109)]),this[_0x1db3ea(0x180)]){const _0x42050e=this['emit'][_0x1db3ea(0x130)](this,_0x1db3ea(0x84));this['_removeListeners']=_0x28bc4e(this[_0x1db3ea(0x180)],{'listening':this[_0x1db3ea(0x94)]['bind'](this,_0x1db3ea(0x1da)),'error':this[_0x1db3ea(0x94)][_0x1db3ea(0x130)](this,_0x1db3ea(0x107)),'upgrade':(_0x41db31,_0x5bb6e0,_0x1c0b75)=>{this['handleUpgrade'](_0x41db31,_0x5bb6e0,_0x1c0b75,_0x42050e);}});}_0x37ac7c['perMessageDeflate']===!0x0&&(_0x37ac7c[_0x1db3ea(0x8c)]={}),_0x37ac7c[_0x1db3ea(0xc0)]&&(this['clients']=new Set(),this[_0x1db3ea(0x10f)]=!0x1),this[_0x1db3ea(0x183)]=_0x37ac7c,this['_state']=_0x33e62e;}[_0x3dc0a3(0x1c6)](){const _0x4d4533=_0x3dc0a3;if(this['options'][_0x4d4533(0x13c)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4d4533(0x180)]?this[_0x4d4533(0x180)]['address']():null;}[_0x3dc0a3(0x187)](_0x48b273){const _0x4c783f=_0x3dc0a3;if(this[_0x4c783f(0x22a)]===_0x16d1b7){_0x48b273&&this['once'](_0x4c783f(0x187),()=>{const _0x2afa82=_0x4c783f;_0x48b273(new Error(_0x2afa82(0x1b1)));}),process[_0x4c783f(0x163)](_0x265ba8,this);return;}if(_0x48b273&&this[_0x4c783f(0x18f)]('close',_0x48b273),this[_0x4c783f(0x22a)]!==_0x5303bb){if(this[_0x4c783f(0x22a)]=_0x5303bb,this[_0x4c783f(0x183)][_0x4c783f(0x13c)]||this[_0x4c783f(0x183)][_0x4c783f(0x109)])this['_server']&&(this[_0x4c783f(0x11a)](),this[_0x4c783f(0x11a)]=this[_0x4c783f(0x180)]=null),this[_0x4c783f(0x199)]?this[_0x4c783f(0x199)][_0x4c783f(0x108)]?this['_shouldEmitClose']=!0x0:process[_0x4c783f(0x163)](_0x265ba8,this):process[_0x4c783f(0x163)](_0x265ba8,this);else{const _0x2be223=this[_0x4c783f(0x180)];this[_0x4c783f(0x11a)](),this['_removeListeners']=this[_0x4c783f(0x180)]=null,_0x2be223['close'](()=>{_0x265ba8(this);});}}}[_0x3dc0a3(0x221)](_0x2c580e){const _0x185ff3=_0x3dc0a3;if(this[_0x185ff3(0x183)]['path']){const _0x43cb0c=_0x2c580e['url']['indexOf']('?');if((_0x43cb0c!==-0x1?_0x2c580e[_0x185ff3(0x23c)][_0x185ff3(0xd4)](0x0,_0x43cb0c):_0x2c580e['url'])!==this[_0x185ff3(0x183)][_0x185ff3(0x168)])return!0x1;}return!0x0;}[_0x3dc0a3(0xad)](_0x13cde3,_0x29d2ab,_0x5e6d62,_0x3a33ba){const _0x2e11e6=_0x3dc0a3;_0x29d2ab['on'](_0x2e11e6(0x107),_0x158657);const _0x1dedfc=_0x13cde3[_0x2e11e6(0x20a)][_0x2e11e6(0x136)],_0x27cdff=_0x13cde3[_0x2e11e6(0x20a)][_0x2e11e6(0x162)],_0x4c6342=+_0x13cde3[_0x2e11e6(0x20a)]['sec-websocket-version'];if(_0x13cde3[_0x2e11e6(0xf1)]!==_0x2e11e6(0x101)){_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x195,_0x2e11e6(0x157));return;}if(_0x27cdff===void 0x0||_0x27cdff[_0x2e11e6(0x23b)]()!==_0x2e11e6(0x172)){_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,_0x2e11e6(0x19f));return;}if(_0x1dedfc===void 0x0||!_0x5969c0['test'](_0x1dedfc)){_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,_0x2e11e6(0x1f1));return;}if(_0x4c6342!==0xd&&_0x4c6342!==0x8){_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x2e11e6(0x221)](_0x13cde3)){_0xc6fca8(_0x29d2ab,0x190);return;}const _0x19776f=_0x13cde3['headers'][_0x2e11e6(0x21b)];let _0x3cfad5=new Set();if(_0x19776f!==void 0x0)try{_0x3cfad5=_0x1dfac2[_0x2e11e6(0x190)](_0x19776f);}catch{_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x44be97=_0x13cde3[_0x2e11e6(0x20a)][_0x2e11e6(0xfd)],_0x782cbd={};if(this[_0x2e11e6(0x183)][_0x2e11e6(0x8c)]&&_0x44be97!==void 0x0){const _0x47c24c=new _0x31f15f(this[_0x2e11e6(0x183)][_0x2e11e6(0x8c)],!0x0,this[_0x2e11e6(0x183)]['maxPayload']);try{const _0x3377b8=_0x242a63[_0x2e11e6(0x190)](_0x44be97);_0x3377b8[_0x31f15f[_0x2e11e6(0xd1)]]&&(_0x47c24c[_0x2e11e6(0xbb)](_0x3377b8[_0x31f15f[_0x2e11e6(0xd1)]]),_0x782cbd[_0x31f15f[_0x2e11e6(0xd1)]]=_0x47c24c);}catch{_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,_0x2e11e6(0xb9));return;}}if(this[_0x2e11e6(0x183)][_0x2e11e6(0xd3)]){const _0xc343a5={'origin':_0x13cde3[_0x2e11e6(0x20a)][''+(_0x4c6342===0x8?_0x2e11e6(0xc2):_0x2e11e6(0x192))],'secure':!!(_0x13cde3[_0x2e11e6(0x1ad)][_0x2e11e6(0xe5)]||_0x13cde3[_0x2e11e6(0x1ad)][_0x2e11e6(0x160)]),'req':_0x13cde3};if(this[_0x2e11e6(0x183)]['verifyClient'][_0x2e11e6(0x8f)]===0x2){this['options'][_0x2e11e6(0xd3)](_0xc343a5,(_0x48cef3,_0x54cdbe,_0x41e338,_0x5d0550)=>{const _0xc91c5e=_0x2e11e6;if(!_0x48cef3)return _0xc6fca8(_0x29d2ab,_0x54cdbe||0x191,_0x41e338,_0x5d0550);this[_0xc91c5e(0x9f)](_0x782cbd,_0x1dedfc,_0x3cfad5,_0x13cde3,_0x29d2ab,_0x5e6d62,_0x3a33ba);});return;}if(!this[_0x2e11e6(0x183)][_0x2e11e6(0xd3)](_0xc343a5))return _0xc6fca8(_0x29d2ab,0x191);}this[_0x2e11e6(0x9f)](_0x782cbd,_0x1dedfc,_0x3cfad5,_0x13cde3,_0x29d2ab,_0x5e6d62,_0x3a33ba);}['completeUpgrade'](_0x4e71ea,_0x4ca39d,_0x3ffc3b,_0x11dc53,_0x4ad83b,_0x2e89fe,_0x337d18){const _0x4153c4=_0x3dc0a3;if(!_0x4ad83b[_0x4153c4(0xab)]||!_0x4ad83b[_0x4153c4(0xa0)])return _0x4ad83b[_0x4153c4(0x176)]();if(_0x4ad83b[_0x4176f2])throw new Error(_0x4153c4(0x16c));if(this[_0x4153c4(0x22a)]>_0x33e62e)return _0xc6fca8(_0x4ad83b,0x1f7);const _0x3f9550=[_0x4153c4(0xe4),'Upgrade:\x20websocket',_0x4153c4(0x80),_0x4153c4(0x121)+_0x5a0cb1('sha1')[_0x4153c4(0x241)](_0x4ca39d+_0x43d0ec)['digest'](_0x4153c4(0x238))],_0x1e0690=new this['options'][(_0x4153c4(0x145))](null,void 0x0,this['options']);if(_0x3ffc3b[_0x4153c4(0x108)]){const _0x328e12=this[_0x4153c4(0x183)]['handleProtocols']?this['options']['handleProtocols'](_0x3ffc3b,_0x11dc53):_0x3ffc3b[_0x4153c4(0x17b)]()[_0x4153c4(0x181)]()['value'];_0x328e12&&(_0x3f9550['push'](_0x4153c4(0xe6)+_0x328e12),_0x1e0690[_0x4153c4(0x133)]=_0x328e12);}if(_0x4e71ea[_0x31f15f[_0x4153c4(0xd1)]]){const _0x2244cc=_0x4e71ea[_0x31f15f[_0x4153c4(0xd1)]][_0x4153c4(0x1b8)],_0x179945=_0x242a63[_0x4153c4(0x1cb)]({[_0x31f15f[_0x4153c4(0xd1)]]:[_0x2244cc]});_0x3f9550[_0x4153c4(0x1eb)]('Sec-WebSocket-Extensions:\x20'+_0x179945),_0x1e0690['_extensions']=_0x4e71ea;}this[_0x4153c4(0x94)](_0x4153c4(0x20a),_0x3f9550,_0x11dc53),_0x4ad83b[_0x4153c4(0x1a2)](_0x3f9550[_0x4153c4(0xd5)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4ad83b[_0x4153c4(0xcd)](_0x4153c4(0x107),_0x158657),_0x1e0690[_0x4153c4(0x117)](_0x4ad83b,_0x2e89fe,{'allowSynchronousEvents':this[_0x4153c4(0x183)][_0x4153c4(0x1ea)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x4153c4(0x199)]&&(this[_0x4153c4(0x199)]['add'](_0x1e0690),_0x1e0690['on'](_0x4153c4(0x187),()=>{const _0xed206d=_0x4153c4;this[_0xed206d(0x199)]['delete'](_0x1e0690),this[_0xed206d(0x10f)]&&!this[_0xed206d(0x199)][_0xed206d(0x108)]&&process[_0xed206d(0x163)](_0x265ba8,this);})),_0x337d18(_0x1e0690,_0x11dc53);}}Te=_0x142fc9;function _0x28bc4e(_0x12af00,_0x595966){const _0x3d585b=_0x3dc0a3;for(const _0x23b107 of Object[_0x3d585b(0x20c)](_0x595966))_0x12af00['on'](_0x23b107,_0x595966[_0x23b107]);return function(){const _0x2e449e=_0x3d585b;for(const _0x457dd3 of Object['keys'](_0x595966))_0x12af00[_0x2e449e(0xcd)](_0x457dd3,_0x595966[_0x457dd3]);};}function _0x265ba8(_0x3a19a0){const _0x28b515=_0x3dc0a3;_0x3a19a0['_state']=_0x16d1b7,_0x3a19a0[_0x28b515(0x94)]('close');}function _0x158657(){const _0x413f4f=_0x3dc0a3;this[_0x413f4f(0x176)]();}function _0xc6fca8(_0x2ec438,_0x1eaea2,_0x58a732,_0x5b216a){const _0x488ce1=_0x3dc0a3;_0x58a732=_0x58a732||_0x3fc2bd['STATUS_CODES'][_0x1eaea2],_0x5b216a={'Connection':'close','Content-Type':_0x488ce1(0xb3),'Content-Length':Buffer[_0x488ce1(0x177)](_0x58a732),..._0x5b216a},_0x2ec438[_0x488ce1(0x18f)](_0x488ce1(0x102),_0x2ec438[_0x488ce1(0x176)]),_0x2ec438['end']('HTTP/1.1\x20'+_0x1eaea2+'\x20'+_0x3fc2bd[_0x488ce1(0x1a1)][_0x1eaea2]+'\x0d\x0a'+Object['keys'](_0x5b216a)[_0x488ce1(0xae)](_0x33f944=>_0x33f944+':\x20'+_0x5b216a[_0x33f944])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x58a732);}function _0x24f9d4(_0x4b0cb6,_0x37b2fc,_0x4a3410,_0x5836e8,_0x4af0e3,_0xe7395c){const _0x54e51e=_0x3dc0a3;if(_0x4b0cb6['listenerCount'](_0x54e51e(0x1c0))){const _0x256a79=new Error(_0x4af0e3);Error[_0x54e51e(0x19e)](_0x256a79,_0x24f9d4),_0x4b0cb6[_0x54e51e(0x94)](_0x54e51e(0x1c0),_0x256a79,_0x4a3410,_0x37b2fc);}else _0xc6fca8(_0x4a3410,_0x5836e8,_0x4af0e3,_0xe7395c);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x5241c0,_0x46ffec,_0x206fe9,_0x8ff864)=>{const _0x58439b=_0x1715bb;for(var _0x2872d3=_0x8ff864>0x1?void 0x0:_0x8ff864?jt(_0x46ffec,_0x206fe9):_0x46ffec,_0x1c12a8=_0x5241c0[_0x58439b(0x8f)]-0x1,_0x14f885;_0x1c12a8>=0x0;_0x1c12a8--)(_0x14f885=_0x5241c0[_0x1c12a8])&&(_0x2872d3=_0x14f885(_0x2872d3)||_0x2872d3);return _0x2872d3;},qt=(_0x3e0681,_0x433196)=>(_0x5b5799,_0x2f9407)=>_0x433196(_0x5b5799,_0x2f9407,_0x3e0681);let ke=class extends A['Disposable']{constructor(_0x2bc089){const _0x2ca9f7=_0x1715bb;super(),this[_0x2ca9f7(0x17e)]=_0x2bc089;}[_0x1715bb(0x207)](_0x275dde){const _0xd5b61c=_0x1715bb;var _0x56f66c;const _0x277762=(_0x56f66c=this[_0xd5b61c(0x17e)]['getConfig'](fe))==null?void 0x0:_0x56f66c[_0xd5b61c(0x178)];try{const _0x53fde4=new $t(_0x275dde,{'headers':{..._0x277762}}),_0x51f53a=new A[(_0xd5b61c(0x184))]();return{'URL':_0x275dde,'close':(_0x1d2a7b,_0x5a5bda)=>{const _0x158e03=_0xd5b61c;_0x53fde4[_0x158e03(0x187)](_0x1d2a7b,_0x5a5bda),_0x51f53a['dispose']();},'send':_0xabbc88=>{const _0x404387=_0xd5b61c;_0x53fde4[_0x404387(0x1df)](_0xabbc88);},'open$':new V['Observable'](_0x474bd2=>{const _0x51fbb2=_0xd5b61c,_0x460873=_0x536f74=>_0x474bd2['next'](_0x536f74);_0x53fde4[_0x51fbb2(0x1f4)]('open',_0x460873),_0x51f53a[_0x51fbb2(0x174)](A[_0x51fbb2(0x1ac)](()=>_0x53fde4[_0x51fbb2(0x245)]('open',_0x460873)));})[_0xd5b61c(0xc5)](V[_0xd5b61c(0x171)]()),'close$':new V[(_0xd5b61c(0x12b))](_0x5c658b=>{const _0x3360f7=_0xd5b61c,_0xbbb8f3=_0x6c3683=>_0x5c658b['next'](_0x6c3683);_0x53fde4['addEventListener'](_0x3360f7(0x187),_0xbbb8f3),_0x51f53a['add'](A['toDisposable'](()=>_0x53fde4[_0x3360f7(0x245)](_0x3360f7(0x187),_0xbbb8f3)));})[_0xd5b61c(0xc5)](V[_0xd5b61c(0x171)]()),'error$':new V[(_0xd5b61c(0x12b))](_0x2e1651=>{const _0x53cd7f=_0xd5b61c,_0x2ba48d=_0x4a5f5e=>_0x2e1651['next'](_0x4a5f5e);_0x53fde4['addEventListener'](_0x53cd7f(0x107),_0x2ba48d),_0x51f53a[_0x53cd7f(0x174)](A['toDisposable'](()=>_0x53fde4[_0x53cd7f(0x245)](_0x53cd7f(0x107),_0x2ba48d)));})[_0xd5b61c(0xc5)](V[_0xd5b61c(0x171)]()),'message$':new V[(_0xd5b61c(0x12b))](_0x5f2e11=>{const _0x48f6ff=_0xd5b61c,_0x15fa13=_0x3114f0=>_0x5f2e11[_0x48f6ff(0x181)](_0x3114f0);_0x53fde4['addEventListener']('message',_0x15fa13),_0x51f53a[_0x48f6ff(0x174)](A[_0x48f6ff(0x1ac)](()=>_0x53fde4['removeEventListener'](_0x48f6ff(0xd9),_0x15fa13)));})[_0xd5b61c(0xc5)](V[_0xd5b61c(0x171)]())};}catch(_0x5b5db2){return console[_0xd5b61c(0x107)](_0x5b5db2),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x1715bb(0xc3)],Vt=Object[_0x1715bb(0x1ca)],Ht=(_0x338852,_0x209d3b,_0x31c88f)=>_0x209d3b in _0x338852?Gt(_0x338852,_0x209d3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31c88f}):_0x338852[_0x209d3b]=_0x31c88f,zt=(_0x2a4491,_0x354ffb,_0x2ff10a,_0x1d43c5)=>{for(var _0x2784d2=_0x1d43c5>0x1?void 0x0:_0x1d43c5?Vt(_0x354ffb,_0x2ff10a):_0x354ffb,_0x328073=_0x2a4491['length']-0x1,_0x2b9acb;_0x328073>=0x0;_0x328073--)(_0x2b9acb=_0x2a4491[_0x328073])&&(_0x2784d2=_0x2b9acb(_0x2784d2)||_0x2784d2);return _0x2784d2;},Ne=(_0x157b9d,_0x3edeec)=>(_0x36692b,_0x21ece0)=>_0x3edeec(_0x36692b,_0x21ece0,_0x157b9d),Yt=(_0x4ca903,_0xf9192,_0x57ed2f)=>Ht(_0x4ca903,_0xf9192+'',_0x57ed2f);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x1715bb(0x18a)]{constructor(_0x507600=Ct,_0x6816ce,_0x331641,_0x31f80a){const _0x32ab0d=_0x1715bb;_0x507600[_0x32ab0d(0x178)]||_0x6816ce['warn'](_0x32ab0d(0x83)),super(),this['_configService']=_0x331641,this[_0x32ab0d(0x19a)]=_0x31f80a,this[_0x32ab0d(0x17e)][_0x32ab0d(0x204)](fe,_0x507600);}['onStarting'](){const _0x58975a=_0x1715bb;this[_0x58975a(0x1f8)]();}['_registerDependencies'](){const _0x1fdec1=_0x1715bb;A[_0x1fdec1(0xfc)](this[_0x1fdec1(0x19a)],[[it[_0x1fdec1(0x23f)],{'useClass':ke}]]);}},Yt(exports[_0x1715bb(0x1cd)],_0x1715bb(0x119),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x1715bb(0x1cd)]=zt([A[_0x1715bb(0xe9)](st[_0x1715bb(0x235)]),Ne(0x1,A[_0x1715bb(0x1a0)]),Ne(0x2,A[_0x1715bb(0x1d7)]),Ne(0x3,A[_0x1715bb(0x1ae)](A[_0x1715bb(0x202)]))],exports[_0x1715bb(0x1cd)]);var Kt=Object[_0x1715bb(0x1ca)],Xt=(_0x1b662e,_0x2f3417,_0x2d46aa,_0xccd1dc)=>{for(var _0x298aa9=_0xccd1dc>0x1?void 0x0:_0xccd1dc?Kt(_0x2f3417,_0x2d46aa):_0x2f3417,_0x590764=_0x1b662e['length']-0x1,_0x5b2cdc;_0x590764>=0x0;_0x590764--)(_0x5b2cdc=_0x1b662e[_0x590764])&&(_0x298aa9=_0x5b2cdc(_0x298aa9)||_0x298aa9);return _0x298aa9;},ne=(_0x1f2fa4,_0x1cc731)=>(_0x1e02dd,_0x53a2b2)=>_0x1cc731(_0x1e02dd,_0x53a2b2,_0x1f2fa4);exports[_0x1715bb(0x1d9)]=class extends st[_0x1715bb(0x1b9)]{constructor(_0x3e4cfb,_0x5713ab,_0x335049,_0x5adca5,_0x416e9a){const _0x2be697=_0x1715bb;super(_0x3e4cfb,_0x5713ab,_0x335049,_0x5adca5,_0x416e9a);const _0xe5aed7=this[_0x2be697(0x17e)][_0x2be697(0x1f9)](fe);this[_0x2be697(0x11c)]['registerHTTPInterceptor']({'interceptor':(_0x540481,_0x4434f4)=>{const _0x11337d=_0x2be697;var _0x41a13c;const _0x109519=_0x540481[_0x11337d(0x20a)];return(_0x41a13c=_0xe5aed7==null?void 0x0:_0xe5aed7[_0x11337d(0x178)])!=null&&_0x41a13c[_0x11337d(0x232)]&&_0x109519['set'](_0x11337d(0x10e),_0xe5aed7[_0x11337d(0x178)][_0x11337d(0x232)]),_0x4434f4(_0x540481);}});}async[_0x1715bb(0x207)](_0x20ce1e){return this['_doCreateSocket'](_0x20ce1e);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x1715bb(0x202)])),ne(0x1,A[_0x1715bb(0x1ae)](it['HTTPService'])),ne(0x2,A[_0x1715bb(0x1d7)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x1715bb(0x99)])],exports[_0x1715bb(0x1d9)]),exports[_0x1715bb(0x195)]=fe;