@univerjs-pro/collaboration-client-node 0.6.6-nightly.202503251606 → 0.6.7

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 _0x1a2937=_0x15ac;(function(_0x1a68e2,_0x1a60a3){const _0x9880bb=_0x15ac,_0x1a4bb2=_0x1a68e2();while(!![]){try{const _0x26b68f=parseInt(_0x9880bb(0x11e))/0x1*(-parseInt(_0x9880bb(0xcf))/0x2)+parseInt(_0x9880bb(0x187))/0x3+parseInt(_0x9880bb(0x203))/0x4+-parseInt(_0x9880bb(0x170))/0x5*(-parseInt(_0x9880bb(0x175))/0x6)+-parseInt(_0x9880bb(0x15e))/0x7+parseInt(_0x9880bb(0x217))/0x8*(parseInt(_0x9880bb(0xab))/0x9)+-parseInt(_0x9880bb(0x14e))/0xa;if(_0x26b68f===_0x1a60a3)break;else _0x1a4bb2['push'](_0x1a4bb2['shift']());}catch(_0x45553a){_0x1a4bb2['push'](_0x1a4bb2['shift']());}}}(_0x237a,0x5ceef));Object[_0x1a2937(0x1cf)](exports,Symbol[_0x1a2937(0x122)],{'value':'Module'});const st=require(_0x1a2937(0x1b6)),A=require(_0x1a2937(0x23f)),it=require(_0x1a2937(0xad)),V=require(_0x1a2937(0x1bf)),nt=require('events'),vt=require(_0x1a2937(0x86)),ot=require('http'),St=require(_0x1a2937(0x16b)),Et=require(_0x1a2937(0x1da)),Le=require(_0x1a2937(0x22d)),oe=require('stream'),xt=require(_0x1a2937(0x191)),bt=require('zlib'),wt=require(_0x1a2937(0x7e)),Ot=require(_0x1a2937(0x206)),fe=_0x1a2937(0xd0),Ct={'customHeaders':{}};function Tt(_0x311a8e){const _0x12c72f=_0x1a2937;return _0x311a8e&&_0x311a8e['__esModule']&&Object[_0x12c72f(0x124)][_0x12c72f(0x186)][_0x12c72f(0x19f)](_0x311a8e,_0x12c72f(0x102))?_0x311a8e[_0x12c72f(0x102)]:_0x311a8e;}function at(_0x388cb9){const _0x428766=_0x1a2937;if(Object['prototype'][_0x428766(0x186)]['call'](_0x388cb9,_0x428766(0x96)))return _0x388cb9;var _0x5c9914=_0x388cb9[_0x428766(0x102)];if(typeof _0x5c9914==_0x428766(0x129)){var _0x38f7ee=function _0x38ccfb(){const _0x1d5d5e=_0x428766;return this instanceof _0x38ccfb?Reflect[_0x1d5d5e(0x13e)](_0x5c9914,arguments,this[_0x1d5d5e(0x15a)]):_0x5c9914[_0x1d5d5e(0xec)](this,arguments);};_0x38f7ee[_0x428766(0x124)]=_0x5c9914[_0x428766(0x124)];}else _0x38f7ee={};return Object[_0x428766(0x1cf)](_0x38f7ee,_0x428766(0x96),{'value':!0x0}),Object[_0x428766(0x105)](_0x388cb9)[_0x428766(0x172)](function(_0x4bcd){const _0x27af67=_0x428766;var _0x5992e6=Object[_0x27af67(0x16d)](_0x388cb9,_0x4bcd);Object[_0x27af67(0x1cf)](_0x38f7ee,_0x4bcd,_0x5992e6[_0x27af67(0x1c0)]?_0x5992e6:{'enumerable':!0x0,'get':function(){return _0x388cb9[_0x4bcd];}});}),_0x38f7ee;}function _0x15ac(_0x5cc832,_0xc24850){const _0x237a43=_0x237a();return _0x15ac=function(_0x15accb,_0x582896){_0x15accb=_0x15accb-0x79;let _0x19d433=_0x237a43[_0x15accb];return _0x19d433;},_0x15ac(_0x5cc832,_0xc24850);}var se={'exports':{}},ge,Ge;function H(){const _0xa0430b=_0x1a2937;if(Ge)return ge;Ge=0x1;const _0x5687c8=['nodebuffer',_0xa0430b(0x1e1),_0xa0430b(0xca)],_0x5990e6=typeof Blob<'u';return _0x5990e6&&_0x5687c8['push']('blob'),ge={'BINARY_TYPES':_0x5687c8,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x5990e6,'kForOnEventAttribute':Symbol(_0xa0430b(0x8d)),'kListener':Symbol(_0xa0430b(0x11c)),'kStatusCode':Symbol(_0xa0430b(0xce)),'kWebSocket':Symbol(_0xa0430b(0x116)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1a2937(0x19e)](Object[_0x1a2937(0x1cf)]({'__proto__':null,'default':Nt},Symbol[_0x1a2937(0x122)],{'value':_0x1a2937(0x109)})),Lt=at(kt);var Ve;function ce(){const _0x7852d3=_0x1a2937;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x3df066}=H(),_0x52b926=Buffer[Symbol['species']];function _0xc3aef8(_0x3d86bf,_0x5b6b4b){const _0x22cb3b=_0x15ac;if(_0x3d86bf['length']===0x0)return _0x3df066;if(_0x3d86bf[_0x22cb3b(0x168)]===0x1)return _0x3d86bf[0x0];const _0x45789c=Buffer[_0x22cb3b(0xb1)](_0x5b6b4b);let _0x127770=0x0;for(let _0x25042a=0x0;_0x25042a<_0x3d86bf[_0x22cb3b(0x168)];_0x25042a++){const _0x325181=_0x3d86bf[_0x25042a];_0x45789c[_0x22cb3b(0x17d)](_0x325181,_0x127770),_0x127770+=_0x325181[_0x22cb3b(0x168)];}return _0x127770<_0x5b6b4b?new _0x52b926(_0x45789c['buffer'],_0x45789c[_0x22cb3b(0x1a7)],_0x127770):_0x45789c;}function _0x2e0085(_0x3c09da,_0x3a0689,_0x411d44,_0x33e089,_0x49add8){for(let _0x10fb67=0x0;_0x10fb67<_0x49add8;_0x10fb67++)_0x411d44[_0x33e089+_0x10fb67]=_0x3c09da[_0x10fb67]^_0x3a0689[_0x10fb67&0x3];}function _0xf335b0(_0xa64077,_0xf6dc8){const _0x3ac44b=_0x15ac;for(let _0x3b53b2=0x0;_0x3b53b2<_0xa64077[_0x3ac44b(0x168)];_0x3b53b2++)_0xa64077[_0x3b53b2]^=_0xf6dc8[_0x3b53b2&0x3];}function _0x269594(_0x46bdee){const _0x346f50=_0x15ac;return _0x46bdee[_0x346f50(0x168)]===_0x46bdee['buffer'][_0x346f50(0x108)]?_0x46bdee[_0x346f50(0x7e)]:_0x46bdee[_0x346f50(0x7e)][_0x346f50(0x183)](_0x46bdee[_0x346f50(0x1a7)],_0x46bdee[_0x346f50(0x1a7)]+_0x46bdee[_0x346f50(0x168)]);}function _0x1bc912(_0x299c72){const _0xb42c4a=_0x15ac;if(_0x1bc912[_0xb42c4a(0x1c2)]=!0x0,Buffer[_0xb42c4a(0xc9)](_0x299c72))return _0x299c72;let _0x49d15d;return _0x299c72 instanceof ArrayBuffer?_0x49d15d=new _0x52b926(_0x299c72):ArrayBuffer[_0xb42c4a(0x1ef)](_0x299c72)?_0x49d15d=new _0x52b926(_0x299c72[_0xb42c4a(0x7e)],_0x299c72[_0xb42c4a(0x1a7)],_0x299c72[_0xb42c4a(0x108)]):(_0x49d15d=Buffer[_0xb42c4a(0xb0)](_0x299c72),_0x1bc912[_0xb42c4a(0x1c2)]=!0x1),_0x49d15d;}if(se['exports']={'concat':_0xc3aef8,'mask':_0x2e0085,'toArrayBuffer':_0x269594,'toBuffer':_0x1bc912,'unmask':_0xf335b0},!process[_0x7852d3(0x23d)][_0x7852d3(0xc1)])try{const _0x443b24=Lt;se[_0x7852d3(0xdb)][_0x7852d3(0x7c)]=function(_0x2e1ecc,_0x2c404d,_0x4fa361,_0x388189,_0x214238){const _0x478723=_0x7852d3;_0x214238<0x30?_0x2e0085(_0x2e1ecc,_0x2c404d,_0x4fa361,_0x388189,_0x214238):_0x443b24[_0x478723(0x7c)](_0x2e1ecc,_0x2c404d,_0x4fa361,_0x388189,_0x214238);},se[_0x7852d3(0xdb)][_0x7852d3(0x10d)]=function(_0x5712c2,_0x54c8d0){const _0x59025a=_0x7852d3;_0x5712c2[_0x59025a(0x168)]<0x20?_0xf335b0(_0x5712c2,_0x54c8d0):_0x443b24['unmask'](_0x5712c2,_0x54c8d0);};}catch{}return se[_0x7852d3(0xdb)];}var ye,He;function Pt(){const _0x4e65d0=_0x1a2937;if(He)return ye;He=0x1;const _0x4dc8a3=Symbol(_0x4e65d0(0x194)),_0x7193b4=Symbol('kRun');class _0x2537f0{constructor(_0x4e0319){const _0x1a4995=_0x4e65d0;this[_0x4dc8a3]=()=>{const _0x2acae3=_0x15ac;this[_0x2acae3(0x125)]--,this[_0x7193b4]();},this['concurrency']=_0x4e0319||0x1/0x0,this['jobs']=[],this[_0x1a4995(0x125)]=0x0;}[_0x4e65d0(0x7a)](_0x4f202a){const _0x1a392e=_0x4e65d0;this[_0x1a392e(0xc4)][_0x1a392e(0x1bb)](_0x4f202a),this[_0x7193b4]();}[_0x7193b4](){const _0x4d810c=_0x4e65d0;if(this[_0x4d810c(0x125)]!==this[_0x4d810c(0xc5)]&&this[_0x4d810c(0xc4)][_0x4d810c(0x168)]){const _0x23b87f=this['jobs'][_0x4d810c(0x12b)]();this[_0x4d810c(0x125)]++,_0x23b87f(this[_0x4dc8a3]);}}}return ye=_0x2537f0,ye;}var ve,ze;function he(){const _0x498521=_0x1a2937;if(ze)return ve;ze=0x1;const _0x79e1ba=bt,_0x108cb0=ce(),_0x4b6e0a=Pt(),{kStatusCode:_0x48d3cd}=H(),_0x272e19=Buffer[Symbol['species']],_0x48d33f=Buffer[_0x498521(0xb0)]([0x0,0x0,0xff,0xff]),_0x47fc8a=Symbol(_0x498521(0x165)),_0x3a716a=Symbol(_0x498521(0x9c)),_0x31f245=Symbol(_0x498521(0x16e)),_0x83ab51=Symbol(_0x498521(0xd7)),_0x1b46fd=Symbol(_0x498521(0xef));let _0x18d3b9;class _0x4c5ddd{constructor(_0x45dcf5,_0x207ec0,_0x3e84c0){const _0x506301=_0x498521;if(this[_0x506301(0xd4)]=_0x3e84c0|0x0,this[_0x506301(0x184)]=_0x45dcf5||{},this[_0x506301(0xa1)]=this[_0x506301(0x184)][_0x506301(0x9b)]!==void 0x0?this[_0x506301(0x184)][_0x506301(0x9b)]:0x400,this[_0x506301(0x1a1)]=!!_0x207ec0,this[_0x506301(0x211)]=null,this[_0x506301(0x136)]=null,this['params']=null,!_0x18d3b9){const _0x2b17d3=this[_0x506301(0x184)]['concurrencyLimit']!==void 0x0?this[_0x506301(0x184)][_0x506301(0x115)]:0xa;_0x18d3b9=new _0x4b6e0a(_0x2b17d3);}}static get[_0x498521(0x192)](){return'permessage-deflate';}[_0x498521(0xc0)](){const _0x4a7276=_0x498521,_0x67b658={};return this[_0x4a7276(0x184)][_0x4a7276(0x110)]&&(_0x67b658[_0x4a7276(0x200)]=!0x0),this[_0x4a7276(0x184)]['clientNoContextTakeover']&&(_0x67b658[_0x4a7276(0x22c)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x67b658[_0x4a7276(0xf1)]=this[_0x4a7276(0x184)][_0x4a7276(0x10c)]),this[_0x4a7276(0x184)][_0x4a7276(0x10b)]?_0x67b658[_0x4a7276(0x1bc)]=this['_options'][_0x4a7276(0x10b)]:this[_0x4a7276(0x184)]['clientMaxWindowBits']==null&&(_0x67b658[_0x4a7276(0x1bc)]=!0x0),_0x67b658;}['accept'](_0x55e014){const _0x872310=_0x498521;return _0x55e014=this[_0x872310(0x1a9)](_0x55e014),this[_0x872310(0x1fa)]=this['_isServer']?this[_0x872310(0x22b)](_0x55e014):this[_0x872310(0x1ea)](_0x55e014),this[_0x872310(0x1fa)];}['cleanup'](){const _0x4204cf=_0x498521;if(this[_0x4204cf(0x136)]&&(this['_inflate'][_0x4204cf(0xe4)](),this[_0x4204cf(0x136)]=null),this[_0x4204cf(0x211)]){const _0x489cd4=this[_0x4204cf(0x211)][_0x31f245];this['_deflate'][_0x4204cf(0xe4)](),this['_deflate']=null,_0x489cd4&&_0x489cd4(new Error(_0x4204cf(0xd8)));}}[_0x498521(0x22b)](_0x54ba1f){const _0x68f6d0=_0x498521,_0x28d306=this[_0x68f6d0(0x184)],_0x44c346=_0x54ba1f[_0x68f6d0(0x14b)](_0x168779=>!(_0x28d306[_0x68f6d0(0x110)]===!0x1&&_0x168779[_0x68f6d0(0x200)]||_0x168779[_0x68f6d0(0xf1)]&&(_0x28d306[_0x68f6d0(0x10c)]===!0x1||typeof _0x28d306[_0x68f6d0(0x10c)]=='number'&&_0x28d306[_0x68f6d0(0x10c)]>_0x168779[_0x68f6d0(0xf1)])||typeof _0x28d306[_0x68f6d0(0x10b)]==_0x68f6d0(0x1fe)&&!_0x168779[_0x68f6d0(0x1bc)]));if(!_0x44c346)throw new Error(_0x68f6d0(0x1cb));return _0x28d306['serverNoContextTakeover']&&(_0x44c346[_0x68f6d0(0x200)]=!0x0),_0x28d306[_0x68f6d0(0x188)]&&(_0x44c346[_0x68f6d0(0x22c)]=!0x0),typeof _0x28d306[_0x68f6d0(0x10c)]==_0x68f6d0(0x1fe)&&(_0x44c346['server_max_window_bits']=_0x28d306[_0x68f6d0(0x10c)]),typeof _0x28d306[_0x68f6d0(0x10b)]=='number'?_0x44c346['client_max_window_bits']=_0x28d306['clientMaxWindowBits']:(_0x44c346['client_max_window_bits']===!0x0||_0x28d306[_0x68f6d0(0x10b)]===!0x1)&&delete _0x44c346[_0x68f6d0(0x1bc)],_0x44c346;}[_0x498521(0x1ea)](_0x14ca6e){const _0xf0305=_0x498521,_0x388296=_0x14ca6e[0x0];if(this['_options'][_0xf0305(0x188)]===!0x1&&_0x388296['client_no_context_takeover'])throw new Error(_0xf0305(0x1aa));if(!_0x388296['client_max_window_bits'])typeof this[_0xf0305(0x184)][_0xf0305(0x10b)]==_0xf0305(0x1fe)&&(_0x388296[_0xf0305(0x1bc)]=this['_options'][_0xf0305(0x10b)]);else{if(this[_0xf0305(0x184)][_0xf0305(0x10b)]===!0x1||typeof this[_0xf0305(0x184)][_0xf0305(0x10b)]==_0xf0305(0x1fe)&&_0x388296['client_max_window_bits']>this[_0xf0305(0x184)]['clientMaxWindowBits'])throw new Error(_0xf0305(0x130));}return _0x388296;}[_0x498521(0x1a9)](_0x5d1748){const _0x2f6e88=_0x498521;return _0x5d1748[_0x2f6e88(0x172)](_0x3c5d6d=>{const _0x17986a=_0x2f6e88;Object['keys'](_0x3c5d6d)[_0x17986a(0x172)](_0x126aef=>{const _0x3f6927=_0x17986a;let _0x16185b=_0x3c5d6d[_0x126aef];if(_0x16185b[_0x3f6927(0x168)]>0x1)throw new Error(_0x3f6927(0x107)+_0x126aef+_0x3f6927(0xb6));if(_0x16185b=_0x16185b[0x0],_0x126aef===_0x3f6927(0x1bc)){if(_0x16185b!==!0x0){const _0x2d3bf4=+_0x16185b;if(!Number[_0x3f6927(0x143)](_0x2d3bf4)||_0x2d3bf4<0x8||_0x2d3bf4>0xf)throw new TypeError(_0x3f6927(0x8b)+_0x126aef+_0x3f6927(0x237)+_0x16185b);_0x16185b=_0x2d3bf4;}else{if(!this['_isServer'])throw new TypeError(_0x3f6927(0x8b)+_0x126aef+_0x3f6927(0x237)+_0x16185b);}}else{if(_0x126aef===_0x3f6927(0xf1)){const _0x4f2fea=+_0x16185b;if(!Number['isInteger'](_0x4f2fea)||_0x4f2fea<0x8||_0x4f2fea>0xf)throw new TypeError(_0x3f6927(0x8b)+_0x126aef+_0x3f6927(0x237)+_0x16185b);_0x16185b=_0x4f2fea;}else{if(_0x126aef===_0x3f6927(0x22c)||_0x126aef===_0x3f6927(0x200)){if(_0x16185b!==!0x0)throw new TypeError(_0x3f6927(0x8b)+_0x126aef+'\x22:\x20'+_0x16185b);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x126aef+'\x22');}}_0x3c5d6d[_0x126aef]=_0x16185b;});}),_0x5d1748;}['decompress'](_0xc2b361,_0x5bfb95,_0x3de468){const _0x3f8e5b=_0x498521;_0x18d3b9[_0x3f8e5b(0x7a)](_0x3cb1f7=>{const _0x4355b9=_0x3f8e5b;this[_0x4355b9(0x91)](_0xc2b361,_0x5bfb95,(_0x2d2dbc,_0x1dda42)=>{_0x3cb1f7(),_0x3de468(_0x2d2dbc,_0x1dda42);});});}[_0x498521(0x231)](_0xa22773,_0x3a3f96,_0xa2d00b){_0x18d3b9['add'](_0x2e24c8=>{const _0x3c7695=_0x15ac;this[_0x3c7695(0x1f0)](_0xa22773,_0x3a3f96,(_0x5a8d1c,_0x4c3b9c)=>{_0x2e24c8(),_0xa2d00b(_0x5a8d1c,_0x4c3b9c);});});}[_0x498521(0x91)](_0x3df945,_0x18b371,_0x408837){const _0x2d2789=_0x498521,_0x37cc8e=this[_0x2d2789(0x1a1)]?_0x2d2789(0xba):_0x2d2789(0x1e8);if(!this[_0x2d2789(0x136)]){const _0x3d235d=_0x37cc8e+_0x2d2789(0x189),_0x36167d=typeof this[_0x2d2789(0x1fa)][_0x3d235d]!=_0x2d2789(0x1fe)?_0x79e1ba['Z_DEFAULT_WINDOWBITS']:this[_0x2d2789(0x1fa)][_0x3d235d];this['_inflate']=_0x79e1ba[_0x2d2789(0x21c)]({...this[_0x2d2789(0x184)][_0x2d2789(0xf5)],'windowBits':_0x36167d}),this[_0x2d2789(0x136)][_0x47fc8a]=this,this[_0x2d2789(0x136)][_0x3a716a]=0x0,this[_0x2d2789(0x136)][_0x83ab51]=[],this['_inflate']['on']('error',_0x3920df),this[_0x2d2789(0x136)]['on'](_0x2d2789(0x1e9),_0x3c92ae);}this['_inflate'][_0x31f245]=_0x408837,this['_inflate'][_0x2d2789(0x1ce)](_0x3df945),_0x18b371&&this[_0x2d2789(0x136)][_0x2d2789(0x1ce)](_0x48d33f),this[_0x2d2789(0x136)][_0x2d2789(0xf6)](()=>{const _0x295024=_0x2d2789,_0x5e25f8=this['_inflate'][_0x1b46fd];if(_0x5e25f8){this['_inflate'][_0x295024(0xe4)](),this[_0x295024(0x136)]=null,_0x408837(_0x5e25f8);return;}const _0x5690fc=_0x108cb0[_0x295024(0x114)](this['_inflate'][_0x83ab51],this['_inflate'][_0x3a716a]);this[_0x295024(0x136)]['_readableState'][_0x295024(0x181)]?(this['_inflate'][_0x295024(0xe4)](),this[_0x295024(0x136)]=null):(this[_0x295024(0x136)][_0x3a716a]=0x0,this[_0x295024(0x136)][_0x83ab51]=[],_0x18b371&&this[_0x295024(0x1fa)][_0x37cc8e+'_no_context_takeover']&&this[_0x295024(0x136)][_0x295024(0x128)]()),_0x408837(null,_0x5690fc);});}['_compress'](_0x405347,_0x1c62cb,_0x27d881){const _0x5c28d0=_0x498521,_0x3d9611=this['_isServer']?'server':'client';if(!this[_0x5c28d0(0x211)]){const _0x33b80b=_0x3d9611+_0x5c28d0(0x189),_0x35a3a0=typeof this['params'][_0x33b80b]!=_0x5c28d0(0x1fe)?_0x79e1ba['Z_DEFAULT_WINDOWBITS']:this[_0x5c28d0(0x1fa)][_0x33b80b];this['_deflate']=_0x79e1ba[_0x5c28d0(0x13c)]({...this[_0x5c28d0(0x184)][_0x5c28d0(0xb3)],'windowBits':_0x35a3a0}),this[_0x5c28d0(0x211)][_0x3a716a]=0x0,this[_0x5c28d0(0x211)][_0x83ab51]=[],this[_0x5c28d0(0x211)]['on']('data',_0x4b22c1);}this[_0x5c28d0(0x211)][_0x31f245]=_0x27d881,this[_0x5c28d0(0x211)][_0x5c28d0(0x1ce)](_0x405347),this[_0x5c28d0(0x211)][_0x5c28d0(0xf6)](_0x79e1ba[_0x5c28d0(0x23a)],()=>{const _0x114f88=_0x5c28d0;if(!this['_deflate'])return;let _0x20efe9=_0x108cb0['concat'](this[_0x114f88(0x211)][_0x83ab51],this[_0x114f88(0x211)][_0x3a716a]);_0x1c62cb&&(_0x20efe9=new _0x272e19(_0x20efe9['buffer'],_0x20efe9[_0x114f88(0x1a7)],_0x20efe9[_0x114f88(0x168)]-0x4)),this[_0x114f88(0x211)][_0x31f245]=null,this[_0x114f88(0x211)][_0x3a716a]=0x0,this[_0x114f88(0x211)][_0x83ab51]=[],_0x1c62cb&&this['params'][_0x3d9611+'_no_context_takeover']&&this[_0x114f88(0x211)][_0x114f88(0x128)](),_0x27d881(null,_0x20efe9);});}}ve=_0x4c5ddd;function _0x4b22c1(_0x2449ea){const _0x3774d0=_0x498521;this[_0x83ab51][_0x3774d0(0x1bb)](_0x2449ea),this[_0x3a716a]+=_0x2449ea[_0x3774d0(0x168)];}function _0x3c92ae(_0x415c9b){const _0x53714f=_0x498521;if(this[_0x3a716a]+=_0x415c9b['length'],this[_0x47fc8a]['_maxPayload']<0x1||this[_0x3a716a]<=this[_0x47fc8a][_0x53714f(0xd4)]){this[_0x83ab51][_0x53714f(0x1bb)](_0x415c9b);return;}this[_0x1b46fd]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x1b46fd][_0x53714f(0x1e4)]=_0x53714f(0x156),this[_0x1b46fd][_0x48d3cd]=0x3f1,this['removeListener'](_0x53714f(0x1e9),_0x3c92ae),this[_0x53714f(0x128)]();}function _0x3920df(_0x5873e2){const _0x3140d8=_0x498521;this[_0x47fc8a][_0x3140d8(0x136)]=null,_0x5873e2[_0x48d3cd]=0x3ef,this[_0x31f245](_0x5873e2);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1a2937(0x19e)](Object[_0x1a2937(0x1cf)]({'__proto__':null,'default':Dt},Symbol[_0x1a2937(0x122)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x27fb8e=_0x1a2937;if(Ye)return ie[_0x27fb8e(0xdb)];Ye=0x1;const {isUtf8:_0x5bd60e}=wt,{hasBlob:_0x574f27}=H(),_0xa0d068=[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 _0x418632(_0x3177a1){return _0x3177a1>=0x3e8&&_0x3177a1<=0x3f6&&_0x3177a1!==0x3ec&&_0x3177a1!==0x3ed&&_0x3177a1!==0x3ee||_0x3177a1>=0xbb8&&_0x3177a1<=0x1387;}function _0x451fdf(_0x28f76a){const _0x11638c=_0x27fb8e,_0x175a2e=_0x28f76a[_0x11638c(0x168)];let _0x1ac0dc=0x0;for(;_0x1ac0dc<_0x175a2e;)if((_0x28f76a[_0x1ac0dc]&0x80)===0x0)_0x1ac0dc++;else{if((_0x28f76a[_0x1ac0dc]&0xe0)===0xc0){if(_0x1ac0dc+0x1===_0x175a2e||(_0x28f76a[_0x1ac0dc+0x1]&0xc0)!==0x80||(_0x28f76a[_0x1ac0dc]&0xfe)===0xc0)return!0x1;_0x1ac0dc+=0x2;}else{if((_0x28f76a[_0x1ac0dc]&0xf0)===0xe0){if(_0x1ac0dc+0x2>=_0x175a2e||(_0x28f76a[_0x1ac0dc+0x1]&0xc0)!==0x80||(_0x28f76a[_0x1ac0dc+0x2]&0xc0)!==0x80||_0x28f76a[_0x1ac0dc]===0xe0&&(_0x28f76a[_0x1ac0dc+0x1]&0xe0)===0x80||_0x28f76a[_0x1ac0dc]===0xed&&(_0x28f76a[_0x1ac0dc+0x1]&0xe0)===0xa0)return!0x1;_0x1ac0dc+=0x3;}else{if((_0x28f76a[_0x1ac0dc]&0xf8)===0xf0){if(_0x1ac0dc+0x3>=_0x175a2e||(_0x28f76a[_0x1ac0dc+0x1]&0xc0)!==0x80||(_0x28f76a[_0x1ac0dc+0x2]&0xc0)!==0x80||(_0x28f76a[_0x1ac0dc+0x3]&0xc0)!==0x80||_0x28f76a[_0x1ac0dc]===0xf0&&(_0x28f76a[_0x1ac0dc+0x1]&0xf0)===0x80||_0x28f76a[_0x1ac0dc]===0xf4&&_0x28f76a[_0x1ac0dc+0x1]>0x8f||_0x28f76a[_0x1ac0dc]>0xf4)return!0x1;_0x1ac0dc+=0x4;}else return!0x1;}}}return!0x0;}function _0x2687bd(_0x3b8b20){const _0x54f445=_0x27fb8e;return _0x574f27&&typeof _0x3b8b20==_0x54f445(0x248)&&typeof _0x3b8b20[_0x54f445(0xbf)]==_0x54f445(0x129)&&typeof _0x3b8b20[_0x54f445(0x1b0)]==_0x54f445(0x220)&&typeof _0x3b8b20[_0x54f445(0x1a6)]==_0x54f445(0x129)&&(_0x3b8b20[Symbol['toStringTag']]===_0x54f445(0x185)||_0x3b8b20[Symbol[_0x54f445(0x122)]]===_0x54f445(0x20b));}if(ie['exports']={'isBlob':_0x2687bd,'isValidStatusCode':_0x418632,'isValidUTF8':_0x451fdf,'tokenChars':_0xa0d068},_0x5bd60e)ie[_0x27fb8e(0xdb)][_0x27fb8e(0x1a3)]=function(_0x41a21c){return _0x41a21c['length']<0x18?_0x451fdf(_0x41a21c):_0x5bd60e(_0x41a21c);};else{if(!process[_0x27fb8e(0x23d)][_0x27fb8e(0x1d8)])try{const _0x3a6b3a=Bt;ie[_0x27fb8e(0xdb)]['isValidUTF8']=function(_0x5bdf26){const _0x13a906=_0x27fb8e;return _0x5bdf26[_0x13a906(0x168)]<0x20?_0x451fdf(_0x5bdf26):_0x3a6b3a(_0x5bdf26);};}catch{}}return ie[_0x27fb8e(0xdb)];}var Se,Ke;function lt(){const _0x2c5888=_0x1a2937;if(Ke)return Se;Ke=0x1;const {Writable:_0x5e7804}=oe,_0x18fb85=he(),{BINARY_TYPES:_0xa010c4,EMPTY_BUFFER:_0x2dc2f8,kStatusCode:_0x24d518,kWebSocket:_0x583c88}=H(),{concat:_0x228d5b,toArrayBuffer:_0x155434,unmask:_0xccec04}=ce(),{isValidStatusCode:_0x45a2a9,isValidUTF8:_0x2df6fb}=ae(),_0x4febef=Buffer[Symbol[_0x2c5888(0x142)]],_0x432dc4=0x0,_0x2154c2=0x1,_0x2b2375=0x2,_0x5524ef=0x3,_0x168936=0x4,_0x548549=0x5,_0x2ca456=0x6;class _0x5ca918 extends _0x5e7804{constructor(_0x5d8932={}){const _0x52f6f8=_0x2c5888;super(),this[_0x52f6f8(0xa3)]=_0x5d8932['allowSynchronousEvents']!==void 0x0?_0x5d8932[_0x52f6f8(0x1ad)]:!0x0,this[_0x52f6f8(0x7d)]=_0x5d8932[_0x52f6f8(0xcb)]||_0xa010c4[0x0],this[_0x52f6f8(0x144)]=_0x5d8932['extensions']||{},this[_0x52f6f8(0x1a1)]=!!_0x5d8932[_0x52f6f8(0x161)],this['_maxPayload']=_0x5d8932[_0x52f6f8(0x1d5)]|0x0,this[_0x52f6f8(0x1b9)]=!!_0x5d8932[_0x52f6f8(0x1c7)],this[_0x583c88]=void 0x0,this[_0x52f6f8(0xb8)]=0x0,this[_0x52f6f8(0x14d)]=[],this['_compressed']=!0x1,this[_0x52f6f8(0x23c)]=0x0,this[_0x52f6f8(0x1d3)]=void 0x0,this[_0x52f6f8(0x1c8)]=0x0,this['_masked']=!0x1,this[_0x52f6f8(0xae)]=!0x1,this[_0x52f6f8(0x20e)]=0x0,this[_0x52f6f8(0x164)]=0x0,this[_0x52f6f8(0x1b8)]=0x0,this[_0x52f6f8(0x9a)]=[],this[_0x52f6f8(0x24b)]=!0x1,this[_0x52f6f8(0x1f1)]=!0x1,this[_0x52f6f8(0x22a)]=_0x432dc4;}['_write'](_0x355c2b,_0x5dbcaf,_0x2b4b80){const _0xa0b7c3=_0x2c5888;if(this[_0xa0b7c3(0x20e)]===0x8&&this[_0xa0b7c3(0x22a)]==_0x432dc4)return _0x2b4b80();this[_0xa0b7c3(0xb8)]+=_0x355c2b[_0xa0b7c3(0x168)],this[_0xa0b7c3(0x14d)]['push'](_0x355c2b),this[_0xa0b7c3(0x182)](_0x2b4b80);}[_0x2c5888(0x249)](_0x46eba1){const _0x402c30=_0x2c5888;if(this[_0x402c30(0xb8)]-=_0x46eba1,_0x46eba1===this[_0x402c30(0x14d)][0x0][_0x402c30(0x168)])return this[_0x402c30(0x14d)][_0x402c30(0x12b)]();if(_0x46eba1<this[_0x402c30(0x14d)][0x0][_0x402c30(0x168)]){const _0x49976a=this[_0x402c30(0x14d)][0x0];return this['_buffers'][0x0]=new _0x4febef(_0x49976a['buffer'],_0x49976a[_0x402c30(0x1a7)]+_0x46eba1,_0x49976a[_0x402c30(0x168)]-_0x46eba1),new _0x4febef(_0x49976a[_0x402c30(0x7e)],_0x49976a[_0x402c30(0x1a7)],_0x46eba1);}const _0x4bc781=Buffer['allocUnsafe'](_0x46eba1);do{const _0xb1c7ff=this[_0x402c30(0x14d)][0x0],_0x554ff8=_0x4bc781['length']-_0x46eba1;_0x46eba1>=_0xb1c7ff[_0x402c30(0x168)]?_0x4bc781[_0x402c30(0x17d)](this[_0x402c30(0x14d)][_0x402c30(0x12b)](),_0x554ff8):(_0x4bc781[_0x402c30(0x17d)](new Uint8Array(_0xb1c7ff['buffer'],_0xb1c7ff[_0x402c30(0x1a7)],_0x46eba1),_0x554ff8),this[_0x402c30(0x14d)][0x0]=new _0x4febef(_0xb1c7ff[_0x402c30(0x7e)],_0xb1c7ff['byteOffset']+_0x46eba1,_0xb1c7ff[_0x402c30(0x168)]-_0x46eba1)),_0x46eba1-=_0xb1c7ff[_0x402c30(0x168)];}while(_0x46eba1>0x0);return _0x4bc781;}[_0x2c5888(0x182)](_0x27cead){const _0x1a2eaa=_0x2c5888;this[_0x1a2eaa(0x1f1)]=!0x0;do switch(this['_state']){case _0x432dc4:this['getInfo'](_0x27cead);break;case _0x2154c2:this[_0x1a2eaa(0x80)](_0x27cead);break;case _0x2b2375:this[_0x1a2eaa(0x159)](_0x27cead);break;case _0x5524ef:this['getMask']();break;case _0x168936:this[_0x1a2eaa(0xc8)](_0x27cead);break;case _0x548549:case _0x2ca456:this[_0x1a2eaa(0x1f1)]=!0x1;return;}while(this[_0x1a2eaa(0x1f1)]);this[_0x1a2eaa(0x24b)]||_0x27cead();}[_0x2c5888(0x1d6)](_0x4acc13){const _0x974b56=_0x2c5888;if(this['_bufferedBytes']<0x2){this[_0x974b56(0x1f1)]=!0x1;return;}const _0x313818=this[_0x974b56(0x249)](0x2);if((_0x313818[0x0]&0x30)!==0x0){const _0x251bbb=this[_0x974b56(0x135)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x974b56(0xf2));_0x4acc13(_0x251bbb);return;}const _0x3d5630=(_0x313818[0x0]&0x40)===0x40;if(_0x3d5630&&!this[_0x974b56(0x144)][_0x18fb85[_0x974b56(0x192)]]){const _0x190e9f=this[_0x974b56(0x135)](RangeError,_0x974b56(0xfc),!0x0,0x3ea,_0x974b56(0xea));_0x4acc13(_0x190e9f);return;}if(this[_0x974b56(0xae)]=(_0x313818[0x0]&0x80)===0x80,this[_0x974b56(0x20e)]=_0x313818[0x0]&0xf,this[_0x974b56(0x23c)]=_0x313818[0x1]&0x7f,this[_0x974b56(0x20e)]===0x0){if(_0x3d5630){const _0x2f7cce=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x974b56(0xea));_0x4acc13(_0x2f7cce);return;}if(!this[_0x974b56(0x1c8)]){const _0x4fac50=this[_0x974b56(0x135)](RangeError,_0x974b56(0x11f),!0x0,0x3ea,_0x974b56(0x190));_0x4acc13(_0x4fac50);return;}this[_0x974b56(0x20e)]=this[_0x974b56(0x1c8)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x1e2bda=this['createError'](RangeError,_0x974b56(0x215)+this[_0x974b56(0x20e)],!0x0,0x3ea,_0x974b56(0x190));_0x4acc13(_0x1e2bda);return;}this[_0x974b56(0x92)]=_0x3d5630;}else{if(this[_0x974b56(0x20e)]>0x7&&this['_opcode']<0xb){if(!this[_0x974b56(0xae)]){const _0x3a739e=this[_0x974b56(0x135)](RangeError,_0x974b56(0x1a2),!0x0,0x3ea,_0x974b56(0x7f));_0x4acc13(_0x3a739e);return;}if(_0x3d5630){const _0x4b6555=this[_0x974b56(0x135)](RangeError,_0x974b56(0xfc),!0x0,0x3ea,_0x974b56(0xea));_0x4acc13(_0x4b6555);return;}if(this[_0x974b56(0x23c)]>0x7d||this[_0x974b56(0x20e)]===0x8&&this[_0x974b56(0x23c)]===0x1){const _0x17bba8=this[_0x974b56(0x135)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x974b56(0x23c)],!0x0,0x3ea,_0x974b56(0x141));_0x4acc13(_0x17bba8);return;}}else{const _0x21fc96=this['createError'](RangeError,_0x974b56(0x215)+this[_0x974b56(0x20e)],!0x0,0x3ea,_0x974b56(0x190));_0x4acc13(_0x21fc96);return;}}}if(!this[_0x974b56(0xae)]&&!this[_0x974b56(0x1c8)]&&(this[_0x974b56(0x1c8)]=this[_0x974b56(0x20e)]),this[_0x974b56(0x243)]=(_0x313818[0x1]&0x80)===0x80,this[_0x974b56(0x1a1)]){if(!this[_0x974b56(0x243)]){const _0x5ea55c=this[_0x974b56(0x135)](RangeError,_0x974b56(0x85),!0x0,0x3ea,_0x974b56(0x225));_0x4acc13(_0x5ea55c);return;}}else{if(this[_0x974b56(0x243)]){const _0x499d7e=this[_0x974b56(0x135)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x974b56(0xdf));_0x4acc13(_0x499d7e);return;}}this[_0x974b56(0x23c)]===0x7e?this[_0x974b56(0x22a)]=_0x2154c2:this[_0x974b56(0x23c)]===0x7f?this[_0x974b56(0x22a)]=_0x2b2375:this[_0x974b56(0x160)](_0x4acc13);}['getPayloadLength16'](_0x3dd39b){const _0x327f5a=_0x2c5888;if(this[_0x327f5a(0xb8)]<0x2){this[_0x327f5a(0x1f1)]=!0x1;return;}this[_0x327f5a(0x23c)]=this[_0x327f5a(0x249)](0x2)[_0x327f5a(0xfb)](0x0),this[_0x327f5a(0x160)](_0x3dd39b);}[_0x2c5888(0x159)](_0x1bab15){const _0x49ef60=_0x2c5888;if(this[_0x49ef60(0xb8)]<0x8){this['_loop']=!0x1;return;}const _0x57ce05=this[_0x49ef60(0x249)](0x8),_0x2a1422=_0x57ce05[_0x49ef60(0x97)](0x0);if(_0x2a1422>Math[_0x49ef60(0x15c)](0x2,0x15)-0x1){const _0x106a47=this[_0x49ef60(0x135)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x1bab15(_0x106a47);return;}this['_payloadLength']=_0x2a1422*Math[_0x49ef60(0x15c)](0x2,0x20)+_0x57ce05[_0x49ef60(0x97)](0x4),this[_0x49ef60(0x160)](_0x1bab15);}[_0x2c5888(0x160)](_0x3c79c8){const _0x5a35e7=_0x2c5888;if(this[_0x5a35e7(0x23c)]&&this[_0x5a35e7(0x20e)]<0x8&&(this[_0x5a35e7(0x164)]+=this['_payloadLength'],this[_0x5a35e7(0x164)]>this[_0x5a35e7(0xd4)]&&this[_0x5a35e7(0xd4)]>0x0)){const _0x5d831c=this[_0x5a35e7(0x135)](RangeError,_0x5a35e7(0x176),!0x1,0x3f1,_0x5a35e7(0x156));_0x3c79c8(_0x5d831c);return;}this[_0x5a35e7(0x243)]?this[_0x5a35e7(0x22a)]=_0x5524ef:this['_state']=_0x168936;}[_0x2c5888(0x13f)](){const _0x4acedc=_0x2c5888;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x4acedc(0x249)](0x4),this['_state']=_0x168936;}['getData'](_0x270593){const _0x3e4501=_0x2c5888;let _0x54a383=_0x2dc2f8;if(this['_payloadLength']){if(this[_0x3e4501(0xb8)]<this[_0x3e4501(0x23c)]){this['_loop']=!0x1;return;}_0x54a383=this[_0x3e4501(0x249)](this[_0x3e4501(0x23c)]),this[_0x3e4501(0x243)]&&(this[_0x3e4501(0x1d3)][0x0]|this[_0x3e4501(0x1d3)][0x1]|this['_mask'][0x2]|this[_0x3e4501(0x1d3)][0x3])!==0x0&&_0xccec04(_0x54a383,this[_0x3e4501(0x1d3)]);}if(this[_0x3e4501(0x20e)]>0x7){this[_0x3e4501(0x153)](_0x54a383,_0x270593);return;}if(this[_0x3e4501(0x92)]){this[_0x3e4501(0x22a)]=_0x548549,this[_0x3e4501(0x12a)](_0x54a383,_0x270593);return;}_0x54a383[_0x3e4501(0x168)]&&(this['_messageLength']=this[_0x3e4501(0x164)],this['_fragments'][_0x3e4501(0x1bb)](_0x54a383)),this[_0x3e4501(0x20a)](_0x270593);}[_0x2c5888(0x12a)](_0x5037c5,_0x109ac3){const _0xb08cb0=_0x2c5888;this[_0xb08cb0(0x144)][_0x18fb85[_0xb08cb0(0x192)]][_0xb08cb0(0x12a)](_0x5037c5,this[_0xb08cb0(0xae)],(_0x39a81e,_0x58ca54)=>{const _0x141828=_0xb08cb0;if(_0x39a81e)return _0x109ac3(_0x39a81e);if(_0x58ca54[_0x141828(0x168)]){if(this[_0x141828(0x1b8)]+=_0x58ca54[_0x141828(0x168)],this['_messageLength']>this[_0x141828(0xd4)]&&this[_0x141828(0xd4)]>0x0){const _0x3e0fa0=this[_0x141828(0x135)](RangeError,_0x141828(0x176),!0x1,0x3f1,_0x141828(0x156));_0x109ac3(_0x3e0fa0);return;}this[_0x141828(0x9a)][_0x141828(0x1bb)](_0x58ca54);}this[_0x141828(0x20a)](_0x109ac3),this['_state']===_0x432dc4&&this[_0x141828(0x182)](_0x109ac3);});}['dataMessage'](_0x4bb8ca){const _0xfea20a=_0x2c5888;if(!this[_0xfea20a(0xae)]){this[_0xfea20a(0x22a)]=_0x432dc4;return;}const _0x5115ca=this[_0xfea20a(0x1b8)],_0x19f080=this[_0xfea20a(0x9a)];if(this[_0xfea20a(0x164)]=0x0,this[_0xfea20a(0x1b8)]=0x0,this[_0xfea20a(0x1c8)]=0x0,this[_0xfea20a(0x9a)]=[],this[_0xfea20a(0x20e)]===0x2){let _0x536eea;this[_0xfea20a(0x7d)]===_0xfea20a(0x1a4)?_0x536eea=_0x228d5b(_0x19f080,_0x5115ca):this[_0xfea20a(0x7d)]===_0xfea20a(0x1e1)?_0x536eea=_0x155434(_0x228d5b(_0x19f080,_0x5115ca)):this[_0xfea20a(0x7d)]===_0xfea20a(0xe2)?_0x536eea=new Blob(_0x19f080):_0x536eea=_0x19f080,this['_allowSynchronousEvents']?(this[_0xfea20a(0x113)](_0xfea20a(0x174),_0x536eea,!0x0),this['_state']=_0x432dc4):(this['_state']=_0x2ca456,setImmediate(()=>{const _0x206445=_0xfea20a;this[_0x206445(0x113)]('message',_0x536eea,!0x0),this['_state']=_0x432dc4,this[_0x206445(0x182)](_0x4bb8ca);}));}else{const _0x18a634=_0x228d5b(_0x19f080,_0x5115ca);if(!this[_0xfea20a(0x1b9)]&&!_0x2df6fb(_0x18a634)){const _0x566167=this[_0xfea20a(0x135)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xfea20a(0x1dc));_0x4bb8ca(_0x566167);return;}this[_0xfea20a(0x22a)]===_0x548549||this[_0xfea20a(0xa3)]?(this['emit'](_0xfea20a(0x174),_0x18a634,!0x1),this[_0xfea20a(0x22a)]=_0x432dc4):(this['_state']=_0x2ca456,setImmediate(()=>{const _0x79a21c=_0xfea20a;this[_0x79a21c(0x113)](_0x79a21c(0x174),_0x18a634,!0x1),this['_state']=_0x432dc4,this[_0x79a21c(0x182)](_0x4bb8ca);}));}}[_0x2c5888(0x153)](_0xf806d4,_0x10fd09){const _0x2829b2=_0x2c5888;if(this[_0x2829b2(0x20e)]===0x8){if(_0xf806d4['length']===0x0)this[_0x2829b2(0x1f1)]=!0x1,this[_0x2829b2(0x113)](_0x2829b2(0x1f6),0x3ed,_0x2dc2f8),this['end']();else{const _0x5b04ac=_0xf806d4[_0x2829b2(0xfb)](0x0);if(!_0x45a2a9(_0x5b04ac)){const _0xf76bde=this[_0x2829b2(0x135)](RangeError,_0x2829b2(0x16f)+_0x5b04ac,!0x0,0x3ea,_0x2829b2(0x169));_0x10fd09(_0xf76bde);return;}const _0xf51dac=new _0x4febef(_0xf806d4['buffer'],_0xf806d4[_0x2829b2(0x1a7)]+0x2,_0xf806d4[_0x2829b2(0x168)]-0x2);if(!this[_0x2829b2(0x1b9)]&&!_0x2df6fb(_0xf51dac)){const _0xdb4a7c=this[_0x2829b2(0x135)](Error,_0x2829b2(0x147),!0x0,0x3ef,_0x2829b2(0x1dc));_0x10fd09(_0xdb4a7c);return;}this[_0x2829b2(0x1f1)]=!0x1,this[_0x2829b2(0x113)](_0x2829b2(0x1f6),_0x5b04ac,_0xf51dac),this['end']();}this[_0x2829b2(0x22a)]=_0x432dc4;return;}this[_0x2829b2(0xa3)]?(this['emit'](this[_0x2829b2(0x20e)]===0x9?_0x2829b2(0x120):_0x2829b2(0x1ec),_0xf806d4),this[_0x2829b2(0x22a)]=_0x432dc4):(this['_state']=_0x2ca456,setImmediate(()=>{const _0xd2db95=_0x2829b2;this[_0xd2db95(0x113)](this[_0xd2db95(0x20e)]===0x9?_0xd2db95(0x120):_0xd2db95(0x1ec),_0xf806d4),this[_0xd2db95(0x22a)]=_0x432dc4,this[_0xd2db95(0x182)](_0x10fd09);}));}[_0x2c5888(0x135)](_0x5c35a2,_0x19a176,_0x30c9d4,_0x497774,_0xb5529){const _0x1df741=_0x2c5888;this[_0x1df741(0x1f1)]=!0x1,this[_0x1df741(0x24b)]=!0x0;const _0x547bc9=new _0x5c35a2(_0x30c9d4?_0x1df741(0x21f)+_0x19a176:_0x19a176);return Error[_0x1df741(0x213)](_0x547bc9,this['createError']),_0x547bc9[_0x1df741(0x1e4)]=_0xb5529,_0x547bc9[_0x24d518]=_0x497774,_0x547bc9;}}return Se=_0x5ca918,Se;}var Ee,Xe;function ft(){const _0x29e7fc=_0x1a2937;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x26fb41}=oe,{randomFillSync:_0x1bb404}=Le,_0x5050e5=he(),{EMPTY_BUFFER:_0x212d3c,kWebSocket:_0xcfafa9,NOOP:_0x5c0fa6}=H(),{isBlob:_0x25a84b,isValidStatusCode:_0x1e6477}=ae(),{mask:_0x3f5c72,toBuffer:_0x38e5e7}=ce(),_0xea46a2=Symbol(_0x29e7fc(0x1e5)),_0x54ffca=Buffer[_0x29e7fc(0x199)](0x4),_0x48581d=0x8*0x400;let _0x5ed6d7,_0x2e590d=_0x48581d;const _0x386d06=0x0,_0x2106a4=0x1,_0x172c3a=0x2;class _0x32936c{constructor(_0x1d6ed6,_0x108678,_0x1733f1){const _0x2bb24a=_0x29e7fc;this[_0x2bb24a(0x144)]=_0x108678||{},_0x1733f1&&(this[_0x2bb24a(0x1c3)]=_0x1733f1,this[_0x2bb24a(0x140)]=Buffer['alloc'](0x4)),this[_0x2bb24a(0x9d)]=_0x1d6ed6,this[_0x2bb24a(0x8f)]=!0x0,this[_0x2bb24a(0x1f0)]=!0x1,this['_bufferedBytes']=0x0,this[_0x2bb24a(0x14f)]=[],this[_0x2bb24a(0x22a)]=_0x386d06,this[_0x2bb24a(0xe0)]=_0x5c0fa6,this[_0xcfafa9]=void 0x0;}static[_0x29e7fc(0xf4)](_0x185832,_0x4b003a){const _0x3355ca=_0x29e7fc;let _0x31face,_0xbcd051=!0x1,_0x3d0ced=0x2,_0x3737f2=!0x1;_0x4b003a[_0x3355ca(0x7c)]&&(_0x31face=_0x4b003a[_0x3355ca(0x1b5)]||_0x54ffca,_0x4b003a[_0x3355ca(0x1fd)]?_0x4b003a[_0x3355ca(0x1fd)](_0x31face):(_0x2e590d===_0x48581d&&(_0x5ed6d7===void 0x0&&(_0x5ed6d7=Buffer[_0x3355ca(0x199)](_0x48581d)),_0x1bb404(_0x5ed6d7,0x0,_0x48581d),_0x2e590d=0x0),_0x31face[0x0]=_0x5ed6d7[_0x2e590d++],_0x31face[0x1]=_0x5ed6d7[_0x2e590d++],_0x31face[0x2]=_0x5ed6d7[_0x2e590d++],_0x31face[0x3]=_0x5ed6d7[_0x2e590d++]),_0x3737f2=(_0x31face[0x0]|_0x31face[0x1]|_0x31face[0x2]|_0x31face[0x3])===0x0,_0x3d0ced=0x6);let _0x4a7f0d;typeof _0x185832=='string'?(!_0x4b003a[_0x3355ca(0x7c)]||_0x3737f2)&&_0x4b003a[_0xea46a2]!==void 0x0?_0x4a7f0d=_0x4b003a[_0xea46a2]:(_0x185832=Buffer['from'](_0x185832),_0x4a7f0d=_0x185832[_0x3355ca(0x168)]):(_0x4a7f0d=_0x185832[_0x3355ca(0x168)],_0xbcd051=_0x4b003a[_0x3355ca(0x7c)]&&_0x4b003a[_0x3355ca(0x1c2)]&&!_0x3737f2);let _0x55b08b=_0x4a7f0d;_0x4a7f0d>=0x10000?(_0x3d0ced+=0x8,_0x55b08b=0x7f):_0x4a7f0d>0x7d&&(_0x3d0ced+=0x2,_0x55b08b=0x7e);const _0x533e8e=Buffer[_0x3355ca(0xb1)](_0xbcd051?_0x4a7f0d+_0x3d0ced:_0x3d0ced);return _0x533e8e[0x0]=_0x4b003a[_0x3355ca(0x106)]?_0x4b003a[_0x3355ca(0x1ff)]|0x80:_0x4b003a[_0x3355ca(0x1ff)],_0x4b003a[_0x3355ca(0x1fb)]&&(_0x533e8e[0x0]|=0x40),_0x533e8e[0x1]=_0x55b08b,_0x55b08b===0x7e?_0x533e8e[_0x3355ca(0x1fc)](_0x4a7f0d,0x2):_0x55b08b===0x7f&&(_0x533e8e[0x2]=_0x533e8e[0x3]=0x0,_0x533e8e[_0x3355ca(0x19b)](_0x4a7f0d,0x4,0x6)),_0x4b003a[_0x3355ca(0x7c)]?(_0x533e8e[0x1]|=0x80,_0x533e8e[_0x3d0ced-0x4]=_0x31face[0x0],_0x533e8e[_0x3d0ced-0x3]=_0x31face[0x1],_0x533e8e[_0x3d0ced-0x2]=_0x31face[0x2],_0x533e8e[_0x3d0ced-0x1]=_0x31face[0x3],_0x3737f2?[_0x533e8e,_0x185832]:_0xbcd051?(_0x3f5c72(_0x185832,_0x31face,_0x533e8e,_0x3d0ced,_0x4a7f0d),[_0x533e8e]):(_0x3f5c72(_0x185832,_0x31face,_0x185832,0x0,_0x4a7f0d),[_0x533e8e,_0x185832])):[_0x533e8e,_0x185832];}[_0x29e7fc(0xe4)](_0x13dd82,_0x18190e,_0x103c6a,_0x40d1ff){const _0x5c0da8=_0x29e7fc;let _0x25de66;if(_0x13dd82===void 0x0)_0x25de66=_0x212d3c;else{if(typeof _0x13dd82!=_0x5c0da8(0x1fe)||!_0x1e6477(_0x13dd82))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x18190e===void 0x0||!_0x18190e[_0x5c0da8(0x168)])_0x25de66=Buffer[_0x5c0da8(0xb1)](0x2),_0x25de66['writeUInt16BE'](_0x13dd82,0x0);else{const _0x1a177f=Buffer[_0x5c0da8(0x108)](_0x18190e);if(_0x1a177f>0x7b)throw new RangeError(_0x5c0da8(0x1e7));_0x25de66=Buffer[_0x5c0da8(0xb1)](0x2+_0x1a177f),_0x25de66[_0x5c0da8(0x1fc)](_0x13dd82,0x0),typeof _0x18190e==_0x5c0da8(0x220)?_0x25de66[_0x5c0da8(0x1ce)](_0x18190e,0x2):_0x25de66[_0x5c0da8(0x17d)](_0x18190e,0x2);}}const _0x3720b6={[_0xea46a2]:_0x25de66[_0x5c0da8(0x168)],'fin':!0x0,'generateMask':this[_0x5c0da8(0x1c3)],'mask':_0x103c6a,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x386d06?this['enqueue']([this[_0x5c0da8(0x236)],_0x25de66,!0x1,_0x3720b6,_0x40d1ff]):this['sendFrame'](_0x32936c[_0x5c0da8(0xf4)](_0x25de66,_0x3720b6),_0x40d1ff);}[_0x29e7fc(0x120)](_0x2f3714,_0x2b3695,_0x289343){const _0x217a75=_0x29e7fc;let _0x3ecd89,_0x4d24d3;if(typeof _0x2f3714=='string'?(_0x3ecd89=Buffer[_0x217a75(0x108)](_0x2f3714),_0x4d24d3=!0x1):_0x25a84b(_0x2f3714)?(_0x3ecd89=_0x2f3714[_0x217a75(0x19a)],_0x4d24d3=!0x1):(_0x2f3714=_0x38e5e7(_0x2f3714),_0x3ecd89=_0x2f3714[_0x217a75(0x168)],_0x4d24d3=_0x38e5e7[_0x217a75(0x1c2)]),_0x3ecd89>0x7d)throw new RangeError(_0x217a75(0x11b));const _0x43af09={[_0xea46a2]:_0x3ecd89,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2b3695,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x4d24d3,'rsv1':!0x1};_0x25a84b(_0x2f3714)?this[_0x217a75(0x22a)]!==_0x386d06?this[_0x217a75(0x137)]([this[_0x217a75(0x1c9)],_0x2f3714,!0x1,_0x43af09,_0x289343]):this[_0x217a75(0x1c9)](_0x2f3714,!0x1,_0x43af09,_0x289343):this[_0x217a75(0x22a)]!==_0x386d06?this[_0x217a75(0x137)]([this[_0x217a75(0x236)],_0x2f3714,!0x1,_0x43af09,_0x289343]):this[_0x217a75(0x224)](_0x32936c[_0x217a75(0xf4)](_0x2f3714,_0x43af09),_0x289343);}[_0x29e7fc(0x1ec)](_0x55384c,_0x52c3eb,_0x23cb84){const _0x88e64a=_0x29e7fc;let _0x18d3ae,_0xa5edb7;if(typeof _0x55384c==_0x88e64a(0x220)?(_0x18d3ae=Buffer['byteLength'](_0x55384c),_0xa5edb7=!0x1):_0x25a84b(_0x55384c)?(_0x18d3ae=_0x55384c[_0x88e64a(0x19a)],_0xa5edb7=!0x1):(_0x55384c=_0x38e5e7(_0x55384c),_0x18d3ae=_0x55384c['length'],_0xa5edb7=_0x38e5e7[_0x88e64a(0x1c2)]),_0x18d3ae>0x7d)throw new RangeError(_0x88e64a(0x11b));const _0x275e69={[_0xea46a2]:_0x18d3ae,'fin':!0x0,'generateMask':this[_0x88e64a(0x1c3)],'mask':_0x52c3eb,'maskBuffer':this[_0x88e64a(0x140)],'opcode':0xa,'readOnly':_0xa5edb7,'rsv1':!0x1};_0x25a84b(_0x55384c)?this[_0x88e64a(0x22a)]!==_0x386d06?this[_0x88e64a(0x137)]([this[_0x88e64a(0x1c9)],_0x55384c,!0x1,_0x275e69,_0x23cb84]):this['getBlobData'](_0x55384c,!0x1,_0x275e69,_0x23cb84):this[_0x88e64a(0x22a)]!==_0x386d06?this[_0x88e64a(0x137)]([this['dispatch'],_0x55384c,!0x1,_0x275e69,_0x23cb84]):this[_0x88e64a(0x224)](_0x32936c[_0x88e64a(0xf4)](_0x55384c,_0x275e69),_0x23cb84);}[_0x29e7fc(0x230)](_0x4d975b,_0x5d2941,_0x496594){const _0x58f484=_0x29e7fc,_0x22bad8=this[_0x58f484(0x144)][_0x5050e5[_0x58f484(0x192)]];let _0x3d317e=_0x5d2941[_0x58f484(0x16c)]?0x2:0x1,_0x1f92d4=_0x5d2941['compress'],_0xb6eaab,_0x34a279;typeof _0x4d975b=='string'?(_0xb6eaab=Buffer[_0x58f484(0x108)](_0x4d975b),_0x34a279=!0x1):_0x25a84b(_0x4d975b)?(_0xb6eaab=_0x4d975b[_0x58f484(0x19a)],_0x34a279=!0x1):(_0x4d975b=_0x38e5e7(_0x4d975b),_0xb6eaab=_0x4d975b[_0x58f484(0x168)],_0x34a279=_0x38e5e7[_0x58f484(0x1c2)]),this[_0x58f484(0x8f)]?(this['_firstFragment']=!0x1,_0x1f92d4&&_0x22bad8&&_0x22bad8[_0x58f484(0x1fa)][_0x22bad8[_0x58f484(0x1a1)]?_0x58f484(0x200):_0x58f484(0x22c)]&&(_0x1f92d4=_0xb6eaab>=_0x22bad8[_0x58f484(0xa1)]),this[_0x58f484(0x1f0)]=_0x1f92d4):(_0x1f92d4=!0x1,_0x3d317e=0x0),_0x5d2941['fin']&&(this[_0x58f484(0x8f)]=!0x0);const _0x25f2cc={[_0xea46a2]:_0xb6eaab,'fin':_0x5d2941['fin'],'generateMask':this['_generateMask'],'mask':_0x5d2941['mask'],'maskBuffer':this[_0x58f484(0x140)],'opcode':_0x3d317e,'readOnly':_0x34a279,'rsv1':_0x1f92d4};_0x25a84b(_0x4d975b)?this[_0x58f484(0x22a)]!==_0x386d06?this[_0x58f484(0x137)]([this['getBlobData'],_0x4d975b,this[_0x58f484(0x1f0)],_0x25f2cc,_0x496594]):this[_0x58f484(0x1c9)](_0x4d975b,this[_0x58f484(0x1f0)],_0x25f2cc,_0x496594):this['_state']!==_0x386d06?this[_0x58f484(0x137)]([this[_0x58f484(0x236)],_0x4d975b,this[_0x58f484(0x1f0)],_0x25f2cc,_0x496594]):this[_0x58f484(0x236)](_0x4d975b,this[_0x58f484(0x1f0)],_0x25f2cc,_0x496594);}[_0x29e7fc(0x1c9)](_0x2f231b,_0x128f90,_0x3fca2f,_0x49033c){const _0x4924ee=_0x29e7fc;this[_0x4924ee(0xb8)]+=_0x3fca2f[_0xea46a2],this['_state']=_0x172c3a,_0x2f231b[_0x4924ee(0xbf)]()[_0x4924ee(0xd1)](_0x78d813=>{const _0x39c265=_0x4924ee;if(this['_socket'][_0x39c265(0xda)]){const _0x17e49a=new Error(_0x39c265(0x219));process[_0x39c265(0x151)](_0x1982e1,this,_0x17e49a,_0x49033c);return;}this['_bufferedBytes']-=_0x3fca2f[_0xea46a2];const _0x4ba7bf=_0x38e5e7(_0x78d813);_0x128f90?this[_0x39c265(0x236)](_0x4ba7bf,_0x128f90,_0x3fca2f,_0x49033c):(this[_0x39c265(0x22a)]=_0x386d06,this[_0x39c265(0x224)](_0x32936c['frame'](_0x4ba7bf,_0x3fca2f),_0x49033c),this['dequeue']());})[_0x4924ee(0x241)](_0x47f59c=>{process['nextTick'](_0x8f2c7c,this,_0x47f59c,_0x49033c);});}[_0x29e7fc(0x236)](_0x2fc5e9,_0x3f53ac,_0x3a722d,_0x22435e){const _0x1562e3=_0x29e7fc;if(!_0x3f53ac){this[_0x1562e3(0x224)](_0x32936c[_0x1562e3(0xf4)](_0x2fc5e9,_0x3a722d),_0x22435e);return;}const _0x3dac1d=this[_0x1562e3(0x144)][_0x5050e5[_0x1562e3(0x192)]];this[_0x1562e3(0xb8)]+=_0x3a722d[_0xea46a2],this[_0x1562e3(0x22a)]=_0x2106a4,_0x3dac1d[_0x1562e3(0x231)](_0x2fc5e9,_0x3a722d[_0x1562e3(0x106)],(_0x328910,_0xb81ba6)=>{const _0x525ecf=_0x1562e3;if(this['_socket']['destroyed']){const _0x598ab3=new Error(_0x525ecf(0x208));_0x1982e1(this,_0x598ab3,_0x22435e);return;}this['_bufferedBytes']-=_0x3a722d[_0xea46a2],this[_0x525ecf(0x22a)]=_0x386d06,_0x3a722d[_0x525ecf(0x1c2)]=!0x1,this[_0x525ecf(0x224)](_0x32936c['frame'](_0xb81ba6,_0x3a722d),_0x22435e),this['dequeue']();});}[_0x29e7fc(0xb5)](){const _0x44ac78=_0x29e7fc;for(;this[_0x44ac78(0x22a)]===_0x386d06&&this[_0x44ac78(0x14f)]['length'];){const _0x4aa149=this[_0x44ac78(0x14f)][_0x44ac78(0x12b)]();this[_0x44ac78(0xb8)]-=_0x4aa149[0x3][_0xea46a2],Reflect['apply'](_0x4aa149[0x0],this,_0x4aa149[_0x44ac78(0x183)](0x1));}}['enqueue'](_0x2fc1c1){const _0x4e82f1=_0x29e7fc;this[_0x4e82f1(0xb8)]+=_0x2fc1c1[0x3][_0xea46a2],this['_queue'][_0x4e82f1(0x1bb)](_0x2fc1c1);}['sendFrame'](_0x9d3b7c,_0x41efe6){const _0x21bb84=_0x29e7fc;_0x9d3b7c[_0x21bb84(0x168)]===0x2?(this[_0x21bb84(0x9d)]['cork'](),this['_socket'][_0x21bb84(0x1ce)](_0x9d3b7c[0x0]),this[_0x21bb84(0x9d)][_0x21bb84(0x1ce)](_0x9d3b7c[0x1],_0x41efe6),this[_0x21bb84(0x9d)][_0x21bb84(0x173)]()):this['_socket'][_0x21bb84(0x1ce)](_0x9d3b7c[0x0],_0x41efe6);}}Ee=_0x32936c;function _0x1982e1(_0x851d47,_0x2681ab,_0x10a1d6){const _0x12ea2b=_0x29e7fc;typeof _0x10a1d6==_0x12ea2b(0x129)&&_0x10a1d6(_0x2681ab);for(let _0x5730e8=0x0;_0x5730e8<_0x851d47['_queue']['length'];_0x5730e8++){const _0x45af24=_0x851d47[_0x12ea2b(0x14f)][_0x5730e8],_0x4f4de8=_0x45af24[_0x45af24[_0x12ea2b(0x168)]-0x1];typeof _0x4f4de8==_0x12ea2b(0x129)&&_0x4f4de8(_0x2681ab);}}function _0x8f2c7c(_0x2aed04,_0x218579,_0x1901d9){_0x1982e1(_0x2aed04,_0x218579,_0x1901d9),_0x2aed04['onerror'](_0x218579);}return Ee;}var xe,Ze;function It(){const _0x44cd99=_0x1a2937;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x38c5c3,kListener:_0x46d08b}=H(),_0x401c3d=Symbol('kCode'),_0x1eb611=Symbol('kData'),_0x1de0ac=Symbol(_0x44cd99(0x94)),_0x4f61e1=Symbol('kMessage'),_0x315b47=Symbol('kReason'),_0x26e90d=Symbol(_0x44cd99(0xac)),_0x220ab6=Symbol(_0x44cd99(0xed)),_0x23e4b4=Symbol('kWasClean');class _0x1c73d3{constructor(_0x4c4131){this[_0x26e90d]=null,this[_0x220ab6]=_0x4c4131;}get[_0x44cd99(0x1ae)](){return this[_0x26e90d];}get[_0x44cd99(0x1b0)](){return this[_0x220ab6];}}Object['defineProperty'](_0x1c73d3[_0x44cd99(0x124)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x1c73d3[_0x44cd99(0x124)],_0x44cd99(0x1b0),{'enumerable':!0x0});class _0x4fcfe9 extends _0x1c73d3{constructor(_0xdd75,_0x51c5fa={}){const _0x59c237=_0x44cd99;super(_0xdd75),this[_0x401c3d]=_0x51c5fa['code']===void 0x0?0x0:_0x51c5fa[_0x59c237(0x1e4)],this[_0x315b47]=_0x51c5fa[_0x59c237(0x138)]===void 0x0?'':_0x51c5fa[_0x59c237(0x138)],this[_0x23e4b4]=_0x51c5fa[_0x59c237(0xa0)]===void 0x0?!0x1:_0x51c5fa[_0x59c237(0xa0)];}get[_0x44cd99(0x1e4)](){return this[_0x401c3d];}get[_0x44cd99(0x138)](){return this[_0x315b47];}get[_0x44cd99(0xa0)](){return this[_0x23e4b4];}}Object[_0x44cd99(0x1cf)](_0x4fcfe9[_0x44cd99(0x124)],_0x44cd99(0x1e4),{'enumerable':!0x0}),Object[_0x44cd99(0x1cf)](_0x4fcfe9[_0x44cd99(0x124)],'reason',{'enumerable':!0x0}),Object[_0x44cd99(0x1cf)](_0x4fcfe9['prototype'],'wasClean',{'enumerable':!0x0});class _0x15166d extends _0x1c73d3{constructor(_0x16a39b,_0x4551d3={}){const _0x4b82d9=_0x44cd99;super(_0x16a39b),this[_0x1de0ac]=_0x4551d3[_0x4b82d9(0xef)]===void 0x0?null:_0x4551d3[_0x4b82d9(0xef)],this[_0x4f61e1]=_0x4551d3[_0x4b82d9(0x174)]===void 0x0?'':_0x4551d3[_0x4b82d9(0x174)];}get['error'](){return this[_0x1de0ac];}get[_0x44cd99(0x174)](){return this[_0x4f61e1];}}Object['defineProperty'](_0x15166d[_0x44cd99(0x124)],'error',{'enumerable':!0x0}),Object[_0x44cd99(0x1cf)](_0x15166d['prototype'],_0x44cd99(0x174),{'enumerable':!0x0});class _0x4e2bff extends _0x1c73d3{constructor(_0x4cffd8,_0x584bf2={}){const _0x426945=_0x44cd99;super(_0x4cffd8),this[_0x1eb611]=_0x584bf2[_0x426945(0x1e9)]===void 0x0?null:_0x584bf2[_0x426945(0x1e9)];}get[_0x44cd99(0x1e9)](){return this[_0x1eb611];}}Object[_0x44cd99(0x1cf)](_0x4e2bff[_0x44cd99(0x124)],_0x44cd99(0x1e9),{'enumerable':!0x0}),xe={'CloseEvent':_0x4fcfe9,'ErrorEvent':_0x15166d,'Event':_0x1c73d3,'EventTarget':{'addEventListener'(_0x47be6c,_0x2c7981,_0x25f648={}){const _0x4e4f17=_0x44cd99;for(const _0x271aeb of this[_0x4e4f17(0xfa)](_0x47be6c))if(!_0x25f648[_0x38c5c3]&&_0x271aeb[_0x46d08b]===_0x2c7981&&!_0x271aeb[_0x38c5c3])return;let _0x359c82;if(_0x47be6c==='message')_0x359c82=function(_0x396dd4,_0x5bb949){const _0x1f1346=_0x4e4f17,_0x228071=new _0x4e2bff(_0x1f1346(0x174),{'data':_0x5bb949?_0x396dd4:_0x396dd4[_0x1f1346(0x23b)]()});_0x228071[_0x26e90d]=this,_0x5e1b68(_0x2c7981,this,_0x228071);};else{if(_0x47be6c==='close')_0x359c82=function(_0x5a8c73,_0xb582fe){const _0x57b3a5=_0x4e4f17,_0x5202a6=new _0x4fcfe9(_0x57b3a5(0xe4),{'code':_0x5a8c73,'reason':_0xb582fe[_0x57b3a5(0x23b)](),'wasClean':this[_0x57b3a5(0x149)]&&this[_0x57b3a5(0xd5)]});_0x5202a6[_0x26e90d]=this,_0x5e1b68(_0x2c7981,this,_0x5202a6);};else{if(_0x47be6c===_0x4e4f17(0xef))_0x359c82=function(_0x49f76f){const _0x2e35a2=_0x4e4f17,_0x12c70c=new _0x15166d(_0x2e35a2(0xef),{'error':_0x49f76f,'message':_0x49f76f[_0x2e35a2(0x174)]});_0x12c70c[_0x26e90d]=this,_0x5e1b68(_0x2c7981,this,_0x12c70c);};else{if(_0x47be6c==='open')_0x359c82=function(){const _0x59f762=_0x4e4f17,_0x430f32=new _0x1c73d3(_0x59f762(0x1f9));_0x430f32[_0x26e90d]=this,_0x5e1b68(_0x2c7981,this,_0x430f32);};else return;}}}_0x359c82[_0x38c5c3]=!!_0x25f648[_0x38c5c3],_0x359c82[_0x46d08b]=_0x2c7981,_0x25f648[_0x4e4f17(0x9e)]?this['once'](_0x47be6c,_0x359c82):this['on'](_0x47be6c,_0x359c82);},'removeEventListener'(_0x4ceddf,_0x57f738){const _0x56fc75=_0x44cd99;for(const _0x4fc17e of this[_0x56fc75(0xfa)](_0x4ceddf))if(_0x4fc17e[_0x46d08b]===_0x57f738&&!_0x4fc17e[_0x38c5c3]){this[_0x56fc75(0x240)](_0x4ceddf,_0x4fc17e);break;}}},'MessageEvent':_0x4e2bff};function _0x5e1b68(_0x4fe714,_0x497561,_0x34605a){const _0x28d93c=_0x44cd99;typeof _0x4fe714==_0x28d93c(0x248)&&_0x4fe714[_0x28d93c(0x152)]?_0x4fe714[_0x28d93c(0x152)]['call'](_0x4fe714,_0x34605a):_0x4fe714['call'](_0x497561,_0x34605a);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xdcba48}=ae();function _0x19b797(_0x49020c,_0x158fa3,_0x4f762b){const _0x5d1b15=_0x15ac;_0x49020c[_0x158fa3]===void 0x0?_0x49020c[_0x158fa3]=[_0x4f762b]:_0x49020c[_0x158fa3][_0x5d1b15(0x1bb)](_0x4f762b);}function _0x24d8f0(_0x6fe487){const _0x2daf8f=_0x15ac,_0x1b5590=Object['create'](null);let _0x70c1a4=Object[_0x2daf8f(0xa6)](null),_0x57571a=!0x1,_0x54ca57=!0x1,_0x1bf16e=!0x1,_0x17fb8e,_0x2d71aa,_0x1bace5=-0x1,_0x4991f5=-0x1,_0x395676=-0x1,_0x183c4b=0x0;for(;_0x183c4b<_0x6fe487[_0x2daf8f(0x168)];_0x183c4b++)if(_0x4991f5=_0x6fe487[_0x2daf8f(0x133)](_0x183c4b),_0x17fb8e===void 0x0){if(_0x395676===-0x1&&_0xdcba48[_0x4991f5]===0x1)_0x1bace5===-0x1&&(_0x1bace5=_0x183c4b);else{if(_0x183c4b!==0x0&&(_0x4991f5===0x20||_0x4991f5===0x9))_0x395676===-0x1&&_0x1bace5!==-0x1&&(_0x395676=_0x183c4b);else{if(_0x4991f5===0x3b||_0x4991f5===0x2c){if(_0x1bace5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x183c4b);_0x395676===-0x1&&(_0x395676=_0x183c4b);const _0x1143e1=_0x6fe487['slice'](_0x1bace5,_0x395676);_0x4991f5===0x2c?(_0x19b797(_0x1b5590,_0x1143e1,_0x70c1a4),_0x70c1a4=Object[_0x2daf8f(0xa6)](null)):_0x17fb8e=_0x1143e1,_0x1bace5=_0x395676=-0x1;}else throw new SyntaxError(_0x2daf8f(0x1c5)+_0x183c4b);}}}else{if(_0x2d71aa===void 0x0){if(_0x395676===-0x1&&_0xdcba48[_0x4991f5]===0x1)_0x1bace5===-0x1&&(_0x1bace5=_0x183c4b);else{if(_0x4991f5===0x20||_0x4991f5===0x9)_0x395676===-0x1&&_0x1bace5!==-0x1&&(_0x395676=_0x183c4b);else{if(_0x4991f5===0x3b||_0x4991f5===0x2c){if(_0x1bace5===-0x1)throw new SyntaxError(_0x2daf8f(0x1c5)+_0x183c4b);_0x395676===-0x1&&(_0x395676=_0x183c4b),_0x19b797(_0x70c1a4,_0x6fe487[_0x2daf8f(0x183)](_0x1bace5,_0x395676),!0x0),_0x4991f5===0x2c&&(_0x19b797(_0x1b5590,_0x17fb8e,_0x70c1a4),_0x70c1a4=Object['create'](null),_0x17fb8e=void 0x0),_0x1bace5=_0x395676=-0x1;}else{if(_0x4991f5===0x3d&&_0x1bace5!==-0x1&&_0x395676===-0x1)_0x2d71aa=_0x6fe487[_0x2daf8f(0x183)](_0x1bace5,_0x183c4b),_0x1bace5=_0x395676=-0x1;else throw new SyntaxError(_0x2daf8f(0x1c5)+_0x183c4b);}}}}else{if(_0x54ca57){if(_0xdcba48[_0x4991f5]!==0x1)throw new SyntaxError(_0x2daf8f(0x1c5)+_0x183c4b);_0x1bace5===-0x1?_0x1bace5=_0x183c4b:_0x57571a||(_0x57571a=!0x0),_0x54ca57=!0x1;}else{if(_0x1bf16e){if(_0xdcba48[_0x4991f5]===0x1)_0x1bace5===-0x1&&(_0x1bace5=_0x183c4b);else{if(_0x4991f5===0x22&&_0x1bace5!==-0x1)_0x1bf16e=!0x1,_0x395676=_0x183c4b;else{if(_0x4991f5===0x5c)_0x54ca57=!0x0;else throw new SyntaxError(_0x2daf8f(0x1c5)+_0x183c4b);}}}else{if(_0x4991f5===0x22&&_0x6fe487[_0x2daf8f(0x133)](_0x183c4b-0x1)===0x3d)_0x1bf16e=!0x0;else{if(_0x395676===-0x1&&_0xdcba48[_0x4991f5]===0x1)_0x1bace5===-0x1&&(_0x1bace5=_0x183c4b);else{if(_0x1bace5!==-0x1&&(_0x4991f5===0x20||_0x4991f5===0x9))_0x395676===-0x1&&(_0x395676=_0x183c4b);else{if(_0x4991f5===0x3b||_0x4991f5===0x2c){if(_0x1bace5===-0x1)throw new SyntaxError(_0x2daf8f(0x1c5)+_0x183c4b);_0x395676===-0x1&&(_0x395676=_0x183c4b);let _0x33a417=_0x6fe487[_0x2daf8f(0x183)](_0x1bace5,_0x395676);_0x57571a&&(_0x33a417=_0x33a417[_0x2daf8f(0x8e)](/\\/g,''),_0x57571a=!0x1),_0x19b797(_0x70c1a4,_0x2d71aa,_0x33a417),_0x4991f5===0x2c&&(_0x19b797(_0x1b5590,_0x17fb8e,_0x70c1a4),_0x70c1a4=Object[_0x2daf8f(0xa6)](null),_0x17fb8e=void 0x0),_0x2d71aa=void 0x0,_0x1bace5=_0x395676=-0x1;}else throw new SyntaxError(_0x2daf8f(0x1c5)+_0x183c4b);}}}}}}}if(_0x1bace5===-0x1||_0x1bf16e||_0x4991f5===0x20||_0x4991f5===0x9)throw new SyntaxError(_0x2daf8f(0x179));_0x395676===-0x1&&(_0x395676=_0x183c4b);const _0x1f7285=_0x6fe487[_0x2daf8f(0x183)](_0x1bace5,_0x395676);return _0x17fb8e===void 0x0?_0x19b797(_0x1b5590,_0x1f7285,_0x70c1a4):(_0x2d71aa===void 0x0?_0x19b797(_0x70c1a4,_0x1f7285,!0x0):_0x57571a?_0x19b797(_0x70c1a4,_0x2d71aa,_0x1f7285[_0x2daf8f(0x8e)](/\\/g,'')):_0x19b797(_0x70c1a4,_0x2d71aa,_0x1f7285),_0x19b797(_0x1b5590,_0x17fb8e,_0x70c1a4)),_0x1b5590;}function _0x28e5c0(_0x5962aa){const _0x3e740e=_0x15ac;return Object[_0x3e740e(0x105)](_0x5962aa)[_0x3e740e(0x1db)](_0x177642=>{const _0x32ace4=_0x3e740e;let _0x2a65f7=_0x5962aa[_0x177642];return Array[_0x32ace4(0xbe)](_0x2a65f7)||(_0x2a65f7=[_0x2a65f7]),_0x2a65f7[_0x32ace4(0x1db)](_0x2c01bf=>[_0x177642]['concat'](Object[_0x32ace4(0x105)](_0x2c01bf)[_0x32ace4(0x1db)](_0x2f2c35=>{const _0x117559=_0x32ace4;let _0x3fdc44=_0x2c01bf[_0x2f2c35];return Array[_0x117559(0xbe)](_0x3fdc44)||(_0x3fdc44=[_0x3fdc44]),_0x3fdc44[_0x117559(0x1db)](_0x49ba51=>_0x49ba51===!0x0?_0x2f2c35:_0x2f2c35+'='+_0x49ba51)[_0x117559(0xd9)](';\x20');}))['join'](';\x20'))[_0x32ace4(0xd9)](',\x20');})[_0x3e740e(0xd9)](',\x20');}return be={'format':_0x28e5c0,'parse':_0x24d8f0},be;}var we,Je;function Pe(){const _0x56615d=_0x1a2937;if(Je)return we;Je=0x1;const _0x24ffe=nt,_0x74dd8d=vt,_0x3b563c=ot,_0x2d2743=St,_0x3796c2=Et,{randomBytes:_0x1ad648,createHash:_0x15fca5}=Le,{Duplex:_0xf46eda,Readable:_0x84e9e6}=oe,{URL:_0x236ad6}=xt,_0x56fcd1=he(),_0x197050=lt(),_0x657a64=ft(),{isBlob:_0x390bc5}=ae(),{BINARY_TYPES:_0x9b072a,EMPTY_BUFFER:_0x51eba9,GUID:_0x5be84b,kForOnEventAttribute:_0x5b6a7f,kListener:_0x58f7ea,kStatusCode:_0x526cbc,kWebSocket:_0x42cd87,NOOP:_0x34f44c}=H(),{EventTarget:{addEventListener:_0x553993,removeEventListener:_0x27fc35}}=It(),{format:_0x13b2c9,parse:_0x3ec2f9}=ct(),{toBuffer:_0x1bfb4e}=ce(),_0x2f509b=0x1e*0x3e8,_0x33db42=Symbol(_0x56615d(0xe7)),_0x319de1=[0x8,0xd],_0x1e8d9a=['CONNECTING',_0x56615d(0x1c4),_0x56615d(0xf8),_0x56615d(0x88)],_0x1a1b5e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3858e8 extends _0x24ffe{constructor(_0xd0ca29,_0x5a29e6,_0x119b06){const _0x17faf8=_0x56615d;super(),this[_0x17faf8(0x7d)]=_0x9b072a[0x0],this['_closeCode']=0x3ee,this[_0x17faf8(0x149)]=!0x1,this[_0x17faf8(0xd5)]=!0x1,this['_closeMessage']=_0x51eba9,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x17faf8(0x144)]={},this['_paused']=!0x1,this[_0x17faf8(0x131)]='',this[_0x17faf8(0x1cd)]=_0x3858e8[_0x17faf8(0x126)],this[_0x17faf8(0xff)]=null,this[_0x17faf8(0x1e3)]=null,this[_0x17faf8(0x9d)]=null,_0xd0ca29!==null?(this[_0x17faf8(0x245)]=0x0,this[_0x17faf8(0x1a1)]=!0x1,this[_0x17faf8(0x209)]=0x0,_0x5a29e6===void 0x0?_0x5a29e6=[]:Array[_0x17faf8(0xbe)](_0x5a29e6)||(typeof _0x5a29e6==_0x17faf8(0x248)&&_0x5a29e6!==null?(_0x119b06=_0x5a29e6,_0x5a29e6=[]):_0x5a29e6=[_0x5a29e6]),_0x5825e0(this,_0xd0ca29,_0x5a29e6,_0x119b06)):(this[_0x17faf8(0xaa)]=_0x119b06[_0x17faf8(0xa7)],this[_0x17faf8(0x1a1)]=!0x0);}get[_0x56615d(0xcb)](){const _0x4cc093=_0x56615d;return this[_0x4cc093(0x7d)];}set[_0x56615d(0xcb)](_0x10859f){const _0x39cff6=_0x56615d;_0x9b072a['includes'](_0x10859f)&&(this[_0x39cff6(0x7d)]=_0x10859f,this[_0x39cff6(0xff)]&&(this[_0x39cff6(0xff)][_0x39cff6(0x7d)]=_0x10859f));}get[_0x56615d(0x155)](){const _0x5c223f=_0x56615d;return this[_0x5c223f(0x9d)]?this[_0x5c223f(0x9d)]['_writableState'][_0x5c223f(0x168)]+this[_0x5c223f(0x1e3)][_0x5c223f(0xb8)]:this['_bufferedAmount'];}get[_0x56615d(0x1df)](){const _0xe89256=_0x56615d;return Object[_0xe89256(0x105)](this[_0xe89256(0x144)])[_0xe89256(0xd9)]();}get['isPaused'](){const _0x6eb6ff=_0x56615d;return this[_0x6eb6ff(0x222)];}get[_0x56615d(0x235)](){return null;}get['onerror'](){return null;}get[_0x56615d(0xf3)](){return null;}get[_0x56615d(0x207)](){return null;}get['protocol'](){const _0x1b54d2=_0x56615d;return this[_0x1b54d2(0x131)];}get[_0x56615d(0x93)](){const _0x26327d=_0x56615d;return this[_0x26327d(0x1cd)];}get[_0x56615d(0x191)](){return this['_url'];}['setSocket'](_0x3bd8d9,_0x2b5bda,_0x3217bc){const _0x1e2694=_0x56615d,_0x3fc6d=new _0x197050({'allowSynchronousEvents':_0x3217bc[_0x1e2694(0x1ad)],'binaryType':this[_0x1e2694(0xcb)],'extensions':this[_0x1e2694(0x144)],'isServer':this[_0x1e2694(0x1a1)],'maxPayload':_0x3217bc[_0x1e2694(0x1d5)],'skipUTF8Validation':_0x3217bc[_0x1e2694(0x1c7)]}),_0x4e6072=new _0x657a64(_0x3bd8d9,this[_0x1e2694(0x144)],_0x3217bc[_0x1e2694(0x1fd)]);this[_0x1e2694(0xff)]=_0x3fc6d,this['_sender']=_0x4e6072,this[_0x1e2694(0x9d)]=_0x3bd8d9,_0x3fc6d[_0x42cd87]=this,_0x4e6072[_0x42cd87]=this,_0x3bd8d9[_0x42cd87]=this,_0x3fc6d['on'](_0x1e2694(0x1f6),_0x4248f8),_0x3fc6d['on']('drain',_0x3a7bb7),_0x3fc6d['on']('error',_0x5b74a5),_0x3fc6d['on'](_0x1e2694(0x174),_0x2c3657),_0x3fc6d['on'](_0x1e2694(0x120),_0x11ed0b),_0x3fc6d['on'](_0x1e2694(0x1ec),_0x39894a),_0x4e6072[_0x1e2694(0xe0)]=_0xf27aff,_0x3bd8d9[_0x1e2694(0x12c)]&&_0x3bd8d9['setTimeout'](0x0),_0x3bd8d9[_0x1e2694(0xdc)]&&_0x3bd8d9['setNoDelay'](),_0x2b5bda[_0x1e2694(0x168)]>0x0&&_0x3bd8d9['unshift'](_0x2b5bda),_0x3bd8d9['on'](_0x1e2694(0xe4),_0x479417),_0x3bd8d9['on']('data',_0x11f616),_0x3bd8d9['on'](_0x1e2694(0x13b),_0x2f4764),_0x3bd8d9['on']('error',_0x4f1b7b),this[_0x1e2694(0x1cd)]=_0x3858e8[_0x1e2694(0x1c4)],this[_0x1e2694(0x113)](_0x1e2694(0x1f9));}[_0x56615d(0x111)](){const _0x1946a7=_0x56615d;if(!this[_0x1946a7(0x9d)]){this['_readyState']=_0x3858e8[_0x1946a7(0x88)],this[_0x1946a7(0x113)](_0x1946a7(0xe4),this['_closeCode'],this[_0x1946a7(0x95)]);return;}this[_0x1946a7(0x144)][_0x56fcd1[_0x1946a7(0x192)]]&&this[_0x1946a7(0x144)][_0x56fcd1['extensionName']][_0x1946a7(0x21e)](),this[_0x1946a7(0xff)]['removeAllListeners'](),this[_0x1946a7(0x1cd)]=_0x3858e8[_0x1946a7(0x88)],this[_0x1946a7(0x113)](_0x1946a7(0xe4),this[_0x1946a7(0x1d2)],this[_0x1946a7(0x95)]);}[_0x56615d(0xe4)](_0x51e383,_0x47b80a){const _0x67b544=_0x56615d;if(this[_0x67b544(0x93)]!==_0x3858e8[_0x67b544(0x88)]){if(this['readyState']===_0x3858e8[_0x67b544(0x126)]){_0x3a830a(this,this[_0x67b544(0x81)],_0x67b544(0x103));return;}if(this[_0x67b544(0x93)]===_0x3858e8[_0x67b544(0xf8)]){this[_0x67b544(0xd5)]&&(this[_0x67b544(0x149)]||this['_receiver'][_0x67b544(0x167)][_0x67b544(0x1a8)])&&this[_0x67b544(0x9d)][_0x67b544(0x13b)]();return;}this[_0x67b544(0x1cd)]=_0x3858e8['CLOSING'],this[_0x67b544(0x1e3)][_0x67b544(0xe4)](_0x51e383,_0x47b80a,!this['_isServer'],_0x5c320f=>{const _0x33cdfc=_0x67b544;_0x5c320f||(this[_0x33cdfc(0xd5)]=!0x0,(this[_0x33cdfc(0x149)]||this[_0x33cdfc(0xff)][_0x33cdfc(0x167)][_0x33cdfc(0x1a8)])&&this[_0x33cdfc(0x9d)][_0x33cdfc(0x13b)]());}),_0x3184f1(this);}}[_0x56615d(0x13a)](){const _0x997023=_0x56615d;this['readyState']===_0x3858e8[_0x997023(0x126)]||this[_0x997023(0x93)]===_0x3858e8[_0x997023(0x88)]||(this['_paused']=!0x0,this[_0x997023(0x9d)][_0x997023(0x13a)]());}[_0x56615d(0x120)](_0x43afa8,_0x14230e,_0x59e741){const _0x225b5a=_0x56615d;if(this[_0x225b5a(0x93)]===_0x3858e8[_0x225b5a(0x126)])throw new Error(_0x225b5a(0x20d));if(typeof _0x43afa8=='function'?(_0x59e741=_0x43afa8,_0x43afa8=_0x14230e=void 0x0):typeof _0x14230e==_0x225b5a(0x129)&&(_0x59e741=_0x14230e,_0x14230e=void 0x0),typeof _0x43afa8=='number'&&(_0x43afa8=_0x43afa8[_0x225b5a(0x23b)]()),this[_0x225b5a(0x93)]!==_0x3858e8[_0x225b5a(0x1c4)]){_0x348773(this,_0x43afa8,_0x59e741);return;}_0x14230e===void 0x0&&(_0x14230e=!this[_0x225b5a(0x1a1)]),this[_0x225b5a(0x1e3)][_0x225b5a(0x120)](_0x43afa8||_0x51eba9,_0x14230e,_0x59e741);}[_0x56615d(0x1ec)](_0x48fe50,_0x1e211a,_0x16b02c){const _0x465c5a=_0x56615d;if(this[_0x465c5a(0x93)]===_0x3858e8[_0x465c5a(0x126)])throw new Error(_0x465c5a(0x20d));if(typeof _0x48fe50==_0x465c5a(0x129)?(_0x16b02c=_0x48fe50,_0x48fe50=_0x1e211a=void 0x0):typeof _0x1e211a==_0x465c5a(0x129)&&(_0x16b02c=_0x1e211a,_0x1e211a=void 0x0),typeof _0x48fe50==_0x465c5a(0x1fe)&&(_0x48fe50=_0x48fe50[_0x465c5a(0x23b)]()),this['readyState']!==_0x3858e8['OPEN']){_0x348773(this,_0x48fe50,_0x16b02c);return;}_0x1e211a===void 0x0&&(_0x1e211a=!this[_0x465c5a(0x1a1)]),this[_0x465c5a(0x1e3)][_0x465c5a(0x1ec)](_0x48fe50||_0x51eba9,_0x1e211a,_0x16b02c);}[_0x56615d(0x232)](){const _0x510ce4=_0x56615d;this[_0x510ce4(0x93)]===_0x3858e8[_0x510ce4(0x126)]||this[_0x510ce4(0x93)]===_0x3858e8[_0x510ce4(0x88)]||(this['_paused']=!0x1,this[_0x510ce4(0xff)][_0x510ce4(0x167)][_0x510ce4(0x123)]||this[_0x510ce4(0x9d)][_0x510ce4(0x232)]());}['send'](_0x30118c,_0x4cf7ce,_0x287e09){const _0x508707=_0x56615d;if(this[_0x508707(0x93)]===_0x3858e8[_0x508707(0x126)])throw new Error(_0x508707(0x20d));if(typeof _0x4cf7ce==_0x508707(0x129)&&(_0x287e09=_0x4cf7ce,_0x4cf7ce={}),typeof _0x30118c==_0x508707(0x1fe)&&(_0x30118c=_0x30118c['toString']()),this['readyState']!==_0x3858e8[_0x508707(0x1c4)]){_0x348773(this,_0x30118c,_0x287e09);return;}const _0x40d437={'binary':typeof _0x30118c!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x4cf7ce};this[_0x508707(0x144)][_0x56fcd1[_0x508707(0x192)]]||(_0x40d437['compress']=!0x1),this[_0x508707(0x1e3)]['send'](_0x30118c||_0x51eba9,_0x40d437,_0x287e09);}['terminate'](){const _0x20fcee=_0x56615d;if(this[_0x20fcee(0x93)]!==_0x3858e8[_0x20fcee(0x88)]){if(this['readyState']===_0x3858e8[_0x20fcee(0x126)]){_0x3a830a(this,this[_0x20fcee(0x81)],_0x20fcee(0x103));return;}this[_0x20fcee(0x9d)]&&(this[_0x20fcee(0x1cd)]=_0x3858e8[_0x20fcee(0xf8)],this[_0x20fcee(0x9d)][_0x20fcee(0x10a)]());}}}Object[_0x56615d(0x1cf)](_0x3858e8,'CONNECTING',{'enumerable':!0x0,'value':_0x1e8d9a[_0x56615d(0x196)]('CONNECTING')}),Object[_0x56615d(0x1cf)](_0x3858e8['prototype'],_0x56615d(0x126),{'enumerable':!0x0,'value':_0x1e8d9a['indexOf'](_0x56615d(0x126))}),Object[_0x56615d(0x1cf)](_0x3858e8,'OPEN',{'enumerable':!0x0,'value':_0x1e8d9a['indexOf']('OPEN')}),Object['defineProperty'](_0x3858e8[_0x56615d(0x124)],_0x56615d(0x1c4),{'enumerable':!0x0,'value':_0x1e8d9a['indexOf']('OPEN')}),Object[_0x56615d(0x1cf)](_0x3858e8,'CLOSING',{'enumerable':!0x0,'value':_0x1e8d9a[_0x56615d(0x196)](_0x56615d(0xf8))}),Object[_0x56615d(0x1cf)](_0x3858e8[_0x56615d(0x124)],_0x56615d(0xf8),{'enumerable':!0x0,'value':_0x1e8d9a['indexOf'](_0x56615d(0xf8))}),Object[_0x56615d(0x1cf)](_0x3858e8,_0x56615d(0x88),{'enumerable':!0x0,'value':_0x1e8d9a[_0x56615d(0x196)]('CLOSED')}),Object[_0x56615d(0x1cf)](_0x3858e8[_0x56615d(0x124)],_0x56615d(0x88),{'enumerable':!0x0,'value':_0x1e8d9a[_0x56615d(0x196)](_0x56615d(0x88))}),[_0x56615d(0xcb),_0x56615d(0x155),_0x56615d(0x1df),_0x56615d(0x212),_0x56615d(0x13d),_0x56615d(0x93),_0x56615d(0x191)]['forEach'](_0x4d40e4=>{const _0x135352=_0x56615d;Object[_0x135352(0x1cf)](_0x3858e8[_0x135352(0x124)],_0x4d40e4,{'enumerable':!0x0});}),['open',_0x56615d(0xef),_0x56615d(0xe4),'message'][_0x56615d(0x172)](_0x30c323=>{const _0x3c8803=_0x56615d;Object[_0x3c8803(0x1cf)](_0x3858e8['prototype'],'on'+_0x30c323,{'enumerable':!0x0,'get'(){const _0x458e83=_0x3c8803;for(const _0x1fcf39 of this[_0x458e83(0xfa)](_0x30c323))if(_0x1fcf39[_0x5b6a7f])return _0x1fcf39[_0x58f7ea];return null;},'set'(_0x20e38e){const _0x24a43d=_0x3c8803;for(const _0x419250 of this['listeners'](_0x30c323))if(_0x419250[_0x5b6a7f]){this[_0x24a43d(0x240)](_0x30c323,_0x419250);break;}typeof _0x20e38e==_0x24a43d(0x129)&&this[_0x24a43d(0x12e)](_0x30c323,_0x20e38e,{[_0x5b6a7f]:!0x0});}});}),_0x3858e8[_0x56615d(0x124)][_0x56615d(0x12e)]=_0x553993,_0x3858e8[_0x56615d(0x124)][_0x56615d(0x1ee)]=_0x27fc35,we=_0x3858e8;function _0x5825e0(_0x115cfc,_0x440401,_0x1d922c,_0x361b54){const _0x3855fa=_0x56615d,_0x3d5650={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x319de1[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x361b54,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3855fa(0x180),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x115cfc['_autoPong']=_0x3d5650['autoPong'],!_0x319de1[_0x3855fa(0x197)](_0x3d5650[_0x3855fa(0xf0)]))throw new RangeError(_0x3855fa(0x24c)+_0x3d5650[_0x3855fa(0xf0)]+'\x20(supported\x20versions:\x20'+_0x319de1[_0x3855fa(0xd9)](',\x20')+')');let _0x2c73f4;if(_0x440401 instanceof _0x236ad6)_0x2c73f4=_0x440401;else try{_0x2c73f4=new _0x236ad6(_0x440401);}catch{throw new SyntaxError(_0x3855fa(0x18a)+_0x440401);}_0x2c73f4[_0x3855fa(0x13d)]===_0x3855fa(0x17f)?_0x2c73f4[_0x3855fa(0x13d)]=_0x3855fa(0x12f):_0x2c73f4[_0x3855fa(0x13d)]===_0x3855fa(0xd2)&&(_0x2c73f4['protocol']=_0x3855fa(0x112)),_0x115cfc[_0x3855fa(0x17c)]=_0x2c73f4['href'];const _0x3c907d=_0x2c73f4[_0x3855fa(0x13d)]===_0x3855fa(0x112),_0x38ec92=_0x2c73f4[_0x3855fa(0x13d)]==='ws+unix:';let _0x3a2564;if(_0x2c73f4[_0x3855fa(0x13d)]!==_0x3855fa(0x12f)&&!_0x3c907d&&!_0x38ec92?_0x3a2564=_0x3855fa(0x214):_0x38ec92&&!_0x2c73f4[_0x3855fa(0x14c)]?_0x3a2564=_0x3855fa(0x242):_0x2c73f4[_0x3855fa(0x178)]&&(_0x3a2564=_0x3855fa(0xdd)),_0x3a2564){const _0xfa9cfe=new SyntaxError(_0x3a2564);if(_0x115cfc[_0x3855fa(0x209)]===0x0)throw _0xfa9cfe;_0x56fbb8(_0x115cfc,_0xfa9cfe);return;}const _0x33576d=_0x3c907d?0x1bb:0x50,_0x2e1b70=_0x1ad648(0x10)[_0x3855fa(0x23b)](_0x3855fa(0x17a)),_0x4f8aa=_0x3c907d?_0x74dd8d['request']:_0x3b563c[_0x3855fa(0x239)],_0x4c757c=new Set();let _0x33db84;if(_0x3d5650[_0x3855fa(0xc3)]=_0x3d5650[_0x3855fa(0xc3)]||(_0x3c907d?_0x44e6c6:_0x598f54),_0x3d5650[_0x3855fa(0x17e)]=_0x3d5650[_0x3855fa(0x17e)]||_0x33576d,_0x3d5650[_0x3855fa(0xde)]=_0x2c73f4[_0x3855fa(0xde)]||_0x33576d,_0x3d5650[_0x3855fa(0x11a)]=_0x2c73f4['hostname']['startsWith']('[')?_0x2c73f4[_0x3855fa(0x1b2)][_0x3855fa(0x183)](0x1,-0x1):_0x2c73f4[_0x3855fa(0x1b2)],_0x3d5650[_0x3855fa(0x20c)]={..._0x3d5650[_0x3855fa(0x20c)],'Sec-WebSocket-Version':_0x3d5650[_0x3855fa(0xf0)],'Sec-WebSocket-Key':_0x2e1b70,'Connection':'Upgrade','Upgrade':_0x3855fa(0x116)},_0x3d5650[_0x3855fa(0xa5)]=_0x2c73f4[_0x3855fa(0x14c)]+_0x2c73f4[_0x3855fa(0x79)],_0x3d5650[_0x3855fa(0x162)]=_0x3d5650[_0x3855fa(0xa4)],_0x3d5650[_0x3855fa(0x166)]&&(_0x33db84=new _0x56fcd1(_0x3d5650[_0x3855fa(0x166)]!==!0x0?_0x3d5650[_0x3855fa(0x166)]:{},!0x1,_0x3d5650[_0x3855fa(0x1d5)]),_0x3d5650[_0x3855fa(0x20c)]['Sec-WebSocket-Extensions']=_0x13b2c9({[_0x56fcd1[_0x3855fa(0x192)]]:_0x33db84['offer']()})),_0x1d922c['length']){for(const _0x25603e of _0x1d922c){if(typeof _0x25603e!=_0x3855fa(0x220)||!_0x1a1b5e[_0x3855fa(0x101)](_0x25603e)||_0x4c757c[_0x3855fa(0x244)](_0x25603e))throw new SyntaxError(_0x3855fa(0xb4));_0x4c757c['add'](_0x25603e);}_0x3d5650[_0x3855fa(0x20c)][_0x3855fa(0x1e6)]=_0x1d922c['join'](',');}if(_0x3d5650[_0x3855fa(0xb2)]&&(_0x3d5650[_0x3855fa(0xf0)]<0xd?_0x3d5650[_0x3855fa(0x20c)][_0x3855fa(0x1d4)]=_0x3d5650[_0x3855fa(0xb2)]:_0x3d5650[_0x3855fa(0x20c)][_0x3855fa(0x21d)]=_0x3d5650[_0x3855fa(0xb2)]),(_0x2c73f4[_0x3855fa(0x246)]||_0x2c73f4[_0x3855fa(0x146)])&&(_0x3d5650[_0x3855fa(0x22e)]=_0x2c73f4['username']+':'+_0x2c73f4[_0x3855fa(0x146)]),_0x38ec92){const _0x35b169=_0x3d5650[_0x3855fa(0xa5)][_0x3855fa(0x119)](':');_0x3d5650[_0x3855fa(0x1de)]=_0x35b169[0x0],_0x3d5650[_0x3855fa(0xa5)]=_0x35b169[0x1];}let _0x39bfa0;if(_0x3d5650[_0x3855fa(0x1b4)]){if(_0x115cfc[_0x3855fa(0x209)]===0x0){_0x115cfc[_0x3855fa(0x238)]=_0x38ec92,_0x115cfc['_originalSecure']=_0x3c907d,_0x115cfc[_0x3855fa(0x15d)]=_0x38ec92?_0x3d5650[_0x3855fa(0x1de)]:_0x2c73f4[_0x3855fa(0x11a)];const _0x420c04=_0x361b54&&_0x361b54[_0x3855fa(0x20c)];if(_0x361b54={..._0x361b54,'headers':{}},_0x420c04){for(const [_0x1f2d2e,_0x320e38]of Object[_0x3855fa(0x82)](_0x420c04))_0x361b54[_0x3855fa(0x20c)][_0x1f2d2e['toLowerCase']()]=_0x320e38;}}else{if(_0x115cfc[_0x3855fa(0xa9)](_0x3855fa(0x1cc))===0x0){const _0x4e564c=_0x38ec92?_0x115cfc[_0x3855fa(0x238)]?_0x3d5650[_0x3855fa(0x1de)]===_0x115cfc[_0x3855fa(0x15d)]:!0x1:_0x115cfc[_0x3855fa(0x238)]?!0x1:_0x2c73f4['host']===_0x115cfc[_0x3855fa(0x15d)];(!_0x4e564c||_0x115cfc['_originalSecure']&&!_0x3c907d)&&(delete _0x3d5650[_0x3855fa(0x20c)][_0x3855fa(0xcd)],delete _0x3d5650['headers'][_0x3855fa(0x228)],_0x4e564c||delete _0x3d5650[_0x3855fa(0x20c)][_0x3855fa(0x11a)],_0x3d5650[_0x3855fa(0x22e)]=void 0x0);}}_0x3d5650[_0x3855fa(0x22e)]&&!_0x361b54['headers'][_0x3855fa(0xcd)]&&(_0x361b54[_0x3855fa(0x20c)]['authorization']=_0x3855fa(0x216)+Buffer['from'](_0x3d5650[_0x3855fa(0x22e)])['toString'](_0x3855fa(0x17a))),_0x39bfa0=_0x115cfc[_0x3855fa(0x81)]=_0x4f8aa(_0x3d5650),_0x115cfc['_redirects']&&_0x115cfc[_0x3855fa(0x113)](_0x3855fa(0x1cc),_0x115cfc['url'],_0x39bfa0);}else _0x39bfa0=_0x115cfc['_req']=_0x4f8aa(_0x3d5650);_0x3d5650[_0x3855fa(0x162)]&&_0x39bfa0['on'](_0x3855fa(0x162),()=>{_0x3a830a(_0x115cfc,_0x39bfa0,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x39bfa0['on']('error',_0x4ea547=>{const _0xdc7b90=_0x3855fa;_0x39bfa0===null||_0x39bfa0[_0x33db42]||(_0x39bfa0=_0x115cfc[_0xdc7b90(0x81)]=null,_0x56fbb8(_0x115cfc,_0x4ea547));}),_0x39bfa0['on'](_0x3855fa(0x1f8),_0x5ec617=>{const _0x5915b9=_0x3855fa,_0x37fc62=_0x5ec617['headers'][_0x5915b9(0x202)],_0xa4adc8=_0x5ec617['statusCode'];if(_0x37fc62&&_0x3d5650['followRedirects']&&_0xa4adc8>=0x12c&&_0xa4adc8<0x190){if(++_0x115cfc[_0x5915b9(0x209)]>_0x3d5650['maxRedirects']){_0x3a830a(_0x115cfc,_0x39bfa0,_0x5915b9(0x1b3));return;}_0x39bfa0[_0x5915b9(0x1ac)]();let _0x149283;try{_0x149283=new _0x236ad6(_0x37fc62,_0x440401);}catch{const _0x11da95=new SyntaxError(_0x5915b9(0x18a)+_0x37fc62);_0x56fbb8(_0x115cfc,_0x11da95);return;}_0x5825e0(_0x115cfc,_0x149283,_0x1d922c,_0x361b54);}else _0x115cfc[_0x5915b9(0x113)]('unexpected-response',_0x39bfa0,_0x5ec617)||_0x3a830a(_0x115cfc,_0x39bfa0,_0x5915b9(0x12d)+_0x5ec617[_0x5915b9(0x1eb)]);}),_0x39bfa0['on'](_0x3855fa(0x171),(_0x28a64b,_0x5c0e7e,_0x4df03c)=>{const _0x51ef05=_0x3855fa;if(_0x115cfc[_0x51ef05(0x113)](_0x51ef05(0x171),_0x28a64b),_0x115cfc['readyState']!==_0x3858e8['CONNECTING'])return;_0x39bfa0=_0x115cfc[_0x51ef05(0x81)]=null;const _0x2409b9=_0x28a64b[_0x51ef05(0x20c)][_0x51ef05(0x171)];if(_0x2409b9===void 0x0||_0x2409b9['toLowerCase']()!==_0x51ef05(0x116)){_0x3a830a(_0x115cfc,_0x5c0e7e,_0x51ef05(0x15f));return;}const _0x39e035=_0x15fca5(_0x51ef05(0x218))[_0x51ef05(0xa8)](_0x2e1b70+_0x5be84b)[_0x51ef05(0xe6)]('base64');if(_0x28a64b['headers'][_0x51ef05(0xee)]!==_0x39e035){_0x3a830a(_0x115cfc,_0x5c0e7e,_0x51ef05(0x1b1));return;}const _0x1d1b3e=_0x28a64b[_0x51ef05(0x20c)][_0x51ef05(0x193)];let _0x5e7560;if(_0x1d1b3e!==void 0x0?_0x4c757c[_0x51ef05(0x19a)]?_0x4c757c[_0x51ef05(0x244)](_0x1d1b3e)||(_0x5e7560=_0x51ef05(0x1d9)):_0x5e7560=_0x51ef05(0x223):_0x4c757c[_0x51ef05(0x19a)]&&(_0x5e7560=_0x51ef05(0x121)),_0x5e7560){_0x3a830a(_0x115cfc,_0x5c0e7e,_0x5e7560);return;}_0x1d1b3e&&(_0x115cfc[_0x51ef05(0x131)]=_0x1d1b3e);const _0x26661f=_0x28a64b['headers'][_0x51ef05(0x157)];if(_0x26661f!==void 0x0){if(!_0x33db84){_0x3a830a(_0x115cfc,_0x5c0e7e,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0xc03df3;try{_0xc03df3=_0x3ec2f9(_0x26661f);}catch{_0x3a830a(_0x115cfc,_0x5c0e7e,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3d9c2c=Object[_0x51ef05(0x105)](_0xc03df3);if(_0x3d9c2c[_0x51ef05(0x168)]!==0x1||_0x3d9c2c[0x0]!==_0x56fcd1[_0x51ef05(0x192)]){_0x3a830a(_0x115cfc,_0x5c0e7e,_0x51ef05(0x21a));return;}try{_0x33db84[_0x51ef05(0x1ed)](_0xc03df3[_0x56fcd1[_0x51ef05(0x192)]]);}catch{_0x3a830a(_0x115cfc,_0x5c0e7e,_0x51ef05(0xfe));return;}_0x115cfc['_extensions'][_0x56fcd1[_0x51ef05(0x192)]]=_0x33db84;}_0x115cfc[_0x51ef05(0x118)](_0x5c0e7e,_0x4df03c,{'allowSynchronousEvents':_0x3d5650[_0x51ef05(0x1ad)],'generateMask':_0x3d5650[_0x51ef05(0x1fd)],'maxPayload':_0x3d5650[_0x51ef05(0x1d5)],'skipUTF8Validation':_0x3d5650['skipUTF8Validation']});}),_0x3d5650[_0x3855fa(0x1f5)]?_0x3d5650[_0x3855fa(0x1f5)](_0x39bfa0,_0x115cfc):_0x39bfa0[_0x3855fa(0x13b)]();}function _0x56fbb8(_0x3a5469,_0x2de273){const _0x3954ce=_0x56615d;_0x3a5469[_0x3954ce(0x1cd)]=_0x3858e8[_0x3954ce(0xf8)],_0x3a5469[_0x3954ce(0x221)]=!0x0,_0x3a5469[_0x3954ce(0x113)](_0x3954ce(0xef),_0x2de273),_0x3a5469['emitClose']();}function _0x598f54(_0x2dd34f){const _0x13ccc4=_0x56615d;return _0x2dd34f[_0x13ccc4(0xa5)]=_0x2dd34f['socketPath'],_0x2d2743[_0x13ccc4(0x1ca)](_0x2dd34f);}function _0x44e6c6(_0x7d1cfa){const _0x3484b6=_0x56615d;return _0x7d1cfa[_0x3484b6(0xa5)]=void 0x0,!_0x7d1cfa['servername']&&_0x7d1cfa['servername']!==''&&(_0x7d1cfa[_0x3484b6(0xe9)]=_0x2d2743[_0x3484b6(0x117)](_0x7d1cfa[_0x3484b6(0x11a)])?'':_0x7d1cfa[_0x3484b6(0x11a)]),_0x3796c2[_0x3484b6(0x1ca)](_0x7d1cfa);}function _0x3a830a(_0x44df91,_0x12583e,_0x4f65cb){const _0x1e50f3=_0x56615d;_0x44df91[_0x1e50f3(0x1cd)]=_0x3858e8[_0x1e50f3(0xf8)];const _0x5e8f6a=new Error(_0x4f65cb);Error[_0x1e50f3(0x213)](_0x5e8f6a,_0x3a830a),_0x12583e[_0x1e50f3(0xe8)]?(_0x12583e[_0x33db42]=!0x0,_0x12583e['abort'](),_0x12583e[_0x1e50f3(0x127)]&&!_0x12583e[_0x1e50f3(0x127)][_0x1e50f3(0xda)]&&_0x12583e[_0x1e50f3(0x127)][_0x1e50f3(0x10a)](),process[_0x1e50f3(0x151)](_0x56fbb8,_0x44df91,_0x5e8f6a)):(_0x12583e[_0x1e50f3(0x10a)](_0x5e8f6a),_0x12583e[_0x1e50f3(0x9e)](_0x1e50f3(0xef),_0x44df91['emit'][_0x1e50f3(0x8a)](_0x44df91,_0x1e50f3(0xef))),_0x12583e[_0x1e50f3(0x9e)](_0x1e50f3(0xe4),_0x44df91[_0x1e50f3(0x111)]['bind'](_0x44df91)));}function _0x348773(_0x2dcb78,_0x5da186,_0x51978c){const _0x434ce0=_0x56615d;if(_0x5da186){const _0x37afa7=_0x390bc5(_0x5da186)?_0x5da186[_0x434ce0(0x19a)]:_0x1bfb4e(_0x5da186)['length'];_0x2dcb78[_0x434ce0(0x9d)]?_0x2dcb78[_0x434ce0(0x1e3)][_0x434ce0(0xb8)]+=_0x37afa7:_0x2dcb78[_0x434ce0(0x245)]+=_0x37afa7;}if(_0x51978c){const _0x33781c=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x2dcb78[_0x434ce0(0x93)]+'\x20('+_0x1e8d9a[_0x2dcb78['readyState']]+')');process[_0x434ce0(0x151)](_0x51978c,_0x33781c);}}function _0x4248f8(_0x1b8689,_0x424d86){const _0x3b8fad=_0x56615d,_0x25d610=this[_0x42cd87];_0x25d610[_0x3b8fad(0x149)]=!0x0,_0x25d610[_0x3b8fad(0x95)]=_0x424d86,_0x25d610['_closeCode']=_0x1b8689,_0x25d610[_0x3b8fad(0x9d)][_0x42cd87]!==void 0x0&&(_0x25d610[_0x3b8fad(0x9d)]['removeListener'](_0x3b8fad(0x1e9),_0x11f616),process[_0x3b8fad(0x151)](_0x3c1411,_0x25d610[_0x3b8fad(0x9d)]),_0x1b8689===0x3ed?_0x25d610[_0x3b8fad(0xe4)]():_0x25d610[_0x3b8fad(0xe4)](_0x1b8689,_0x424d86));}function _0x3a7bb7(){const _0x1261e5=_0x56615d,_0x1ec5cb=this[_0x42cd87];_0x1ec5cb[_0x1261e5(0x212)]||_0x1ec5cb[_0x1261e5(0x9d)]['resume']();}function _0x5b74a5(_0x13900f){const _0x1ff4d1=_0x56615d,_0x35c85e=this[_0x42cd87];_0x35c85e[_0x1ff4d1(0x9d)][_0x42cd87]!==void 0x0&&(_0x35c85e[_0x1ff4d1(0x9d)][_0x1ff4d1(0x240)](_0x1ff4d1(0x1e9),_0x11f616),process['nextTick'](_0x3c1411,_0x35c85e[_0x1ff4d1(0x9d)]),_0x35c85e['close'](_0x13900f[_0x526cbc])),_0x35c85e['_errorEmitted']||(_0x35c85e[_0x1ff4d1(0x221)]=!0x0,_0x35c85e[_0x1ff4d1(0x113)]('error',_0x13900f));}function _0x36c478(){this[_0x42cd87]['emitClose']();}function _0x2c3657(_0x524d57,_0x167245){const _0x500d11=_0x56615d;this[_0x42cd87][_0x500d11(0x113)](_0x500d11(0x174),_0x524d57,_0x167245);}function _0x11ed0b(_0x4839bd){const _0x302036=_0x56615d,_0x359fad=this[_0x42cd87];_0x359fad[_0x302036(0xaa)]&&_0x359fad['pong'](_0x4839bd,!this[_0x302036(0x1a1)],_0x34f44c),_0x359fad['emit'](_0x302036(0x120),_0x4839bd);}function _0x39894a(_0x3917ce){const _0x238c20=_0x56615d;this[_0x42cd87][_0x238c20(0x113)](_0x238c20(0x1ec),_0x3917ce);}function _0x3c1411(_0x32fe73){_0x32fe73['resume']();}function _0xf27aff(_0x385652){const _0x319cbb=_0x56615d,_0x4eaf81=this[_0x42cd87];_0x4eaf81['readyState']!==_0x3858e8[_0x319cbb(0x88)]&&(_0x4eaf81[_0x319cbb(0x93)]===_0x3858e8[_0x319cbb(0x1c4)]&&(_0x4eaf81[_0x319cbb(0x1cd)]=_0x3858e8[_0x319cbb(0xf8)],_0x3184f1(_0x4eaf81)),this[_0x319cbb(0x9d)]['end'](),_0x4eaf81['_errorEmitted']||(_0x4eaf81[_0x319cbb(0x221)]=!0x0,_0x4eaf81[_0x319cbb(0x113)](_0x319cbb(0xef),_0x385652)));}function _0x3184f1(_0x4dfa2b){const _0x4f4e86=_0x56615d;_0x4dfa2b[_0x4f4e86(0x11d)]=setTimeout(_0x4dfa2b[_0x4f4e86(0x9d)][_0x4f4e86(0x10a)]['bind'](_0x4dfa2b[_0x4f4e86(0x9d)]),_0x2f509b);}function _0x479417(){const _0x52f169=_0x56615d,_0x5056eb=this[_0x42cd87];this[_0x52f169(0x240)]('close',_0x479417),this[_0x52f169(0x240)](_0x52f169(0x1e9),_0x11f616),this['removeListener']('end',_0x2f4764),_0x5056eb[_0x52f169(0x1cd)]=_0x3858e8[_0x52f169(0xf8)];let _0x4f2e9b;!this[_0x52f169(0x229)][_0x52f169(0x181)]&&!_0x5056eb[_0x52f169(0x149)]&&!_0x5056eb['_receiver']['_writableState'][_0x52f169(0x1a8)]&&(_0x4f2e9b=_0x5056eb[_0x52f169(0x9d)][_0x52f169(0x18f)]())!==null&&_0x5056eb[_0x52f169(0xff)][_0x52f169(0x1ce)](_0x4f2e9b),_0x5056eb[_0x52f169(0xff)]['end'](),this[_0x42cd87]=void 0x0,clearTimeout(_0x5056eb[_0x52f169(0x11d)]),_0x5056eb[_0x52f169(0xff)][_0x52f169(0x167)][_0x52f169(0x1f7)]||_0x5056eb['_receiver'][_0x52f169(0x167)][_0x52f169(0x1a8)]?_0x5056eb[_0x52f169(0x111)]():(_0x5056eb['_receiver']['on']('error',_0x36c478),_0x5056eb['_receiver']['on'](_0x52f169(0x1d7),_0x36c478));}function _0x11f616(_0x2f221b){const _0x553a88=_0x56615d;this[_0x42cd87]['_receiver']['write'](_0x2f221b)||this[_0x553a88(0x13a)]();}function _0x2f4764(){const _0x1fe3b4=_0x56615d,_0x4debb1=this[_0x42cd87];_0x4debb1[_0x1fe3b4(0x1cd)]=_0x3858e8[_0x1fe3b4(0xf8)],_0x4debb1['_receiver'][_0x1fe3b4(0x13b)](),this[_0x1fe3b4(0x13b)]();}function _0x4f1b7b(){const _0x15934c=_0x56615d,_0x432e96=this[_0x42cd87];this[_0x15934c(0x240)](_0x15934c(0xef),_0x4f1b7b),this['on']('error',_0x34f44c),_0x432e96&&(_0x432e96['_readyState']=_0x3858e8['CLOSING'],this[_0x15934c(0x10a)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x6ed5d0}=oe;function _0x4ec836(_0x6bc344){const _0x29b592=_0x15ac;_0x6bc344['emit'](_0x29b592(0xe4));}function _0x2d5fc8(){const _0x1d34a3=_0x15ac;!this[_0x1d34a3(0xda)]&&this[_0x1d34a3(0x167)][_0x1d34a3(0x1f7)]&&this[_0x1d34a3(0x10a)]();}function _0x3752dd(_0x2f1380){const _0x29df3b=_0x15ac;this[_0x29df3b(0x240)](_0x29df3b(0xef),_0x3752dd),this[_0x29df3b(0x10a)](),this[_0x29df3b(0xa9)](_0x29df3b(0xef))===0x0&&this[_0x29df3b(0x113)]('error',_0x2f1380);}function _0x1fbf6f(_0x3b59da,_0x19e3c0){const _0x4ad911=_0x15ac;let _0x48717e=!0x0;const _0x540b79=new _0x6ed5d0({..._0x19e3c0,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3b59da['on'](_0x4ad911(0x174),function(_0x17122c,_0x464927){const _0x141818=_0x4ad911,_0x3e6d57=!_0x464927&&_0x540b79['_readableState'][_0x141818(0xbd)]?_0x17122c[_0x141818(0x23b)]():_0x17122c;_0x540b79['push'](_0x3e6d57)||_0x3b59da[_0x141818(0x13a)]();}),_0x3b59da[_0x4ad911(0x9e)](_0x4ad911(0xef),function(_0x4c6b38){const _0x304d8b=_0x4ad911;_0x540b79[_0x304d8b(0xda)]||(_0x48717e=!0x1,_0x540b79[_0x304d8b(0x10a)](_0x4c6b38));}),_0x3b59da[_0x4ad911(0x9e)](_0x4ad911(0xe4),function(){const _0x317bb3=_0x4ad911;_0x540b79[_0x317bb3(0xda)]||_0x540b79[_0x317bb3(0x1bb)](null);}),_0x540b79['_destroy']=function(_0x12f5dd,_0x75ff12){const _0x2e8616=_0x4ad911;if(_0x3b59da[_0x2e8616(0x93)]===_0x3b59da[_0x2e8616(0x88)]){_0x75ff12(_0x12f5dd),process[_0x2e8616(0x151)](_0x4ec836,_0x540b79);return;}let _0x587170=!0x1;_0x3b59da[_0x2e8616(0x9e)]('error',function(_0x3b49a2){_0x587170=!0x0,_0x75ff12(_0x3b49a2);}),_0x3b59da[_0x2e8616(0x9e)](_0x2e8616(0xe4),function(){const _0x362b98=_0x2e8616;_0x587170||_0x75ff12(_0x12f5dd),process[_0x362b98(0x151)](_0x4ec836,_0x540b79);}),_0x48717e&&_0x3b59da[_0x2e8616(0xbb)]();},_0x540b79[_0x4ad911(0xf9)]=function(_0x27a57a){const _0x473c50=_0x4ad911;if(_0x3b59da[_0x473c50(0x93)]===_0x3b59da['CONNECTING']){_0x3b59da[_0x473c50(0x9e)]('open',function(){const _0x3556a8=_0x473c50;_0x540b79[_0x3556a8(0xf9)](_0x27a57a);});return;}_0x3b59da[_0x473c50(0x9d)]!==null&&(_0x3b59da['_socket'][_0x473c50(0x167)][_0x473c50(0x1f7)]?(_0x27a57a(),_0x540b79[_0x473c50(0x229)][_0x473c50(0x181)]&&_0x540b79['destroy']()):(_0x3b59da[_0x473c50(0x9d)][_0x473c50(0x9e)](_0x473c50(0x1d7),function(){_0x27a57a();}),_0x3b59da[_0x473c50(0xe4)]()));},_0x540b79[_0x4ad911(0xb7)]=function(){const _0x173653=_0x4ad911;_0x3b59da[_0x173653(0x212)]&&_0x3b59da['resume']();},_0x540b79['_write']=function(_0x924cae,_0x405700,_0x42bf1c){const _0x4dee41=_0x4ad911;if(_0x3b59da['readyState']===_0x3b59da['CONNECTING']){_0x3b59da[_0x4dee41(0x9e)](_0x4dee41(0x1f9),function(){_0x540b79['_write'](_0x924cae,_0x405700,_0x42bf1c);});return;}_0x3b59da[_0x4dee41(0x230)](_0x924cae,_0x42bf1c);},_0x540b79['on']('end',_0x2d5fc8),_0x540b79['on'](_0x4ad911(0xef),_0x3752dd),_0x540b79;}return Oe=_0x1fbf6f,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function _0x237a(){const _0x4b4bb0=['Sec-WebSocket-Origin','maxPayload','getInfo','finish','WS_NO_UTF_8_VALIDATE','Server\x20sent\x20an\x20invalid\x20subprotocol','tls','map','WS_ERR_INVALID_UTF8','CollaborationSocketService','socketPath','extensions','share','arraybuffer','ISocketService','_sender','code','kByteLength','Sec-WebSocket-Protocol','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','server','data','acceptAsClient','statusCode','pong','accept','removeEventListener','isView','_compress','_loop','DisposableCollection','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','delete','finishRequest','conclude','finished','response','open','params','rsv1','writeUInt16BE','generateMask','number','opcode','server_no_context_takeover','format','location','1938380KlccAd','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_injector','@univerjs-pro/collaboration','onmessage','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_redirects','dataMessage','File','headers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_opcode','sec-websocket-key','HTTP/1.1\x20','_deflate','isPaused','captureStackTrace','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','invalid\x20opcode\x20','Basic\x20','224aVRjob','sha1','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','\x0d\x0a\x0d\x0a','createInflateRaw','Origin','cleanup','Invalid\x20WebSocket\x20frame:\x20','string','_errorEmitted','_paused','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','sendFrame','WS_ERR_EXPECTED_MASK','NodeCollaborationSocketService','next','cookie','_readableState','_state','acceptAsServer','client_no_context_takeover','crypto','auth','sec-websocket-version','send','compress','resume','clientTracking','\x22\x20subprotocol\x20is\x20duplicated','onclose','dispatch','\x22:\x20','_originalIpc','request','Z_SYNC_FLUSH','toString','_payloadLength','env','wsClientError','@univerjs/core','removeListener','catch','The\x20URL\x27s\x20pathname\x20is\x20empty','_masked','has','_bufferedAmount','username','readable','object','consume','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_errored','Unsupported\x20protocol\x20version:\x20','search','add','UniverCollaborationClientPlugin','mask','_binaryType','buffer','WS_ERR_EXPECTED_FIN','getPayloadLength16','_req','entries','Observable','toDisposable','MASK\x20must\x20be\x20set','https','onStarting','CLOSED','address','bind','Invalid\x20value\x20for\x20parameter\x20\x22','value','kIsForOnEventAttribute','replace','_firstFragment','customHeaders','_decompress','_compressed','readyState','kError','_closeMessage','__esModule','readUInt32BE','Invalid\x20HTTP\x20method','DependentOn','_fragments','threshold','total-length','_socket','once','getConfig','wasClean','_threshold','createSocket','_allowSynchronousEvents','handshakeTimeout','path','create','autoPong','update','listenerCount','_autoPong','113598cdFadJ','kTarget','@univerjs/network','_fin','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','from','allocUnsafe','origin','zlibDeflateOptions','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','dequeue','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_read','_bufferedBytes','Sec-WebSocket-Accept:\x20','client','terminate','registerDependencies','objectMode','isArray','arrayBuffer','offer','WS_NO_BUFFER_UTIL','_httpService','createConnection','jobs','concurrency','shouldHandle','_registerDependencies','getData','isBuffer','fragments','binaryType','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','authorization','status-code','98258AwMbMe','collaboration-client-node.config','then','https:','verifyClient','_maxPayload','_closeFrameSent','pipe','buffers','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','join','destroyed','exports','setNoDelay','The\x20URL\x20contains\x20a\x20fragment\x20identifier','port','WS_ERR_UNEXPECTED_MASK','onerror','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','blob','writable','close','pluginName','digest','kAborted','setHeader','servername','WS_ERR_UNEXPECTED_RSV_1','clients','apply','kType','sec-websocket-accept','error','protocolVersion','server_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','onopen','frame','zlibInflateOptions','flush','setConfig','CLOSING','_final','listeners','readUInt16BE','RSV1\x20must\x20be\x20clear','warn','Invalid\x20Sec-WebSocket-Extensions\x20header','_receiver','text/html','test','default','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','method','keys','fin','Parameter\x20\x22','byteLength','Module','destroy','clientMaxWindowBits','serverMaxWindowBits','unmask','_shouldEmitClose','Sec-WebSocket-Extensions:\x20','serverNoContextTakeover','emitClose','wss:','emit','concat','concurrencyLimit','websocket','isIP','setSocket','split','host','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','kListener','_closeTimer','3CRpLvu','invalid\x20opcode\x200','ping','Server\x20sent\x20no\x20subprotocol','toStringTag','needDrain','prototype','pending','CONNECTING','socket','reset','function','decompress','shift','setTimeout','Unexpected\x20server\x20response:\x20','addEventListener','ws:','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_protocol','Sec-WebSocket-Protocol:\x20','charCodeAt','COLLABORATION_CLIENT_NODE_CONFIG_KEY','createError','_inflate','enqueue','reason','completeUpgrade','pause','end','createDeflateRaw','protocol','construct','getMask','_maskBuffer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','species','isInteger','_extensions','Cookie','password','invalid\x20UTF-8\x20sequence','handleUpgrade','_closeFrameReceived','options','find','pathname','_buffers','5029260WRiyYu','_queue','Connection:\x20Upgrade','nextTick','handleEvent','controlMessage','UniverCollaborationClientNodePlugin','bufferedAmount','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','sec-websocket-extensions','authorized','getPayloadLength64','constructor','Injector','pow','_originalHostOrSocketPath','3154438KaLCnm','Invalid\x20Upgrade\x20header','haveLength','isServer','timeout','encrypted','_totalPayloadLength','permessage-deflate','perMessageDeflate','_writableState','length','WS_ERR_INVALID_CLOSE_CODE','HTTP/1.1\x20101\x20Switching\x20Protocols','net','binary','getOwnPropertyDescriptor','callback','invalid\x20status\x20code\x20','10970vhSLnQ','upgrade','forEach','uncork','message','876ifiVLM','Max\x20payload\x20size\x20exceeded','dispose','hash','Unexpected\x20end\x20of\x20input','base64','noServer','_url','set','defaultPort','http:','GET','endEmitted','startLoop','slice','_options','Blob','hasOwnProperty','969801YEbpIv','clientNoContextTakeover','_max_window_bits','Invalid\x20URL:\x20','listening','listen','handleProtocols','IConfigService','read','WS_ERR_INVALID_OPCODE','url','extensionName','sec-websocket-protocol','kDone','_doCreateSocket','indexOf','includes','_removeListeners','alloc','size','writeUIntBE','The\x20\x22','_configService','freeze','call','text/plain','_isServer','FIN\x20must\x20be\x20set','isValidUTF8','nodebuffer','_server','stream','byteOffset','errorEmitted','normalizeParams','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Upgrade:\x20websocket','abort','allowSynchronousEvents','target','parse','type','Invalid\x20Sec-WebSocket-Accept\x20header','hostname','Maximum\x20redirects\x20exceeded','followRedirects','maskBuffer','@univerjs-pro/collaboration-client','values','_messageLength','_skipUTF8Validation','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','push','client_max_window_bits','STATUS_CODES','sec-websocket-origin','rxjs','get','toLowerCase','readOnly','_generateMask','OPEN','Unexpected\x20character\x20at\x20index\x20','ILogService','skipUTF8Validation','_fragmented','getBlobData','connect','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','redirect','_readyState','write','defineProperty','registerHTTPInterceptor','Invalid\x20Sec-WebSocket-Protocol\x20header','_closeCode','_mask'];_0x237a=function(){return _0x4b4bb0;};return _0x237a();}function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x47bab5}=ae();function _0x5bc7d1(_0x3eb056){const _0x79ac7c=_0x15ac,_0x3c5a4f=new Set();let _0x272345=-0x1,_0x4c9f30=-0x1,_0x2b7a2c=0x0;for(_0x2b7a2c;_0x2b7a2c<_0x3eb056[_0x79ac7c(0x168)];_0x2b7a2c++){const _0x24f4cf=_0x3eb056[_0x79ac7c(0x133)](_0x2b7a2c);if(_0x4c9f30===-0x1&&_0x47bab5[_0x24f4cf]===0x1)_0x272345===-0x1&&(_0x272345=_0x2b7a2c);else{if(_0x2b7a2c!==0x0&&(_0x24f4cf===0x20||_0x24f4cf===0x9))_0x4c9f30===-0x1&&_0x272345!==-0x1&&(_0x4c9f30=_0x2b7a2c);else{if(_0x24f4cf===0x2c){if(_0x272345===-0x1)throw new SyntaxError(_0x79ac7c(0x1c5)+_0x2b7a2c);_0x4c9f30===-0x1&&(_0x4c9f30=_0x2b7a2c);const _0x37b89d=_0x3eb056['slice'](_0x272345,_0x4c9f30);if(_0x3c5a4f[_0x79ac7c(0x244)](_0x37b89d))throw new SyntaxError('The\x20\x22'+_0x37b89d+_0x79ac7c(0x234));_0x3c5a4f[_0x79ac7c(0x7a)](_0x37b89d),_0x272345=_0x4c9f30=-0x1;}else throw new SyntaxError(_0x79ac7c(0x1c5)+_0x2b7a2c);}}}if(_0x272345===-0x1||_0x4c9f30!==-0x1)throw new SyntaxError(_0x79ac7c(0x179));const _0x14f40f=_0x3eb056[_0x79ac7c(0x183)](_0x272345,_0x2b7a2c);if(_0x3c5a4f['has'](_0x14f40f))throw new SyntaxError(_0x79ac7c(0x19c)+_0x14f40f+_0x79ac7c(0x234));return _0x3c5a4f[_0x79ac7c(0x7a)](_0x14f40f),_0x3c5a4f;}return Ce={'parse':_0x5bc7d1},Ce;}var Te,rt;function Ft(){const _0x5d7325=_0x1a2937;if(rt)return Te;rt=0x1;const _0x4e9b6e=nt,_0x5759e5=ot,{Duplex:_0x452fb6}=oe,{createHash:_0x27a14c}=Le,_0x59f058=ct(),_0x46f880=he(),_0x1ad0db=At(),_0x28e73a=Pe(),{GUID:_0xb62863,kWebSocket:_0x5d4a84}=H(),_0x26b3c6=/^[+/0-9A-Za-z]{22}==$/,_0x38b2d8=0x0,_0x5627ba=0x1,_0x47374d=0x2;class _0x2354a4 extends _0x4e9b6e{constructor(_0x2b8471,_0x1f531e){const _0x14275d=_0x15ac;if(super(),_0x2b8471={'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':_0x28e73a,..._0x2b8471},_0x2b8471[_0x14275d(0xde)]==null&&!_0x2b8471[_0x14275d(0x1e8)]&&!_0x2b8471[_0x14275d(0x17b)]||_0x2b8471['port']!=null&&(_0x2b8471[_0x14275d(0x1e8)]||_0x2b8471[_0x14275d(0x17b)])||_0x2b8471['server']&&_0x2b8471[_0x14275d(0x17b)])throw new TypeError(_0x14275d(0x1ba));if(_0x2b8471['port']!=null?(this['_server']=_0x5759e5['createServer']((_0x298fc3,_0x217390)=>{const _0x38448e=_0x14275d,_0x2e875c=_0x5759e5[_0x38448e(0x1bd)][0x1aa];_0x217390['writeHead'](0x1aa,{'Content-Length':_0x2e875c[_0x38448e(0x168)],'Content-Type':_0x38448e(0x1a0)}),_0x217390['end'](_0x2e875c);}),this[_0x14275d(0x1a5)][_0x14275d(0x18c)](_0x2b8471[_0x14275d(0xde)],_0x2b8471[_0x14275d(0x11a)],_0x2b8471['backlog'],_0x1f531e)):_0x2b8471[_0x14275d(0x1e8)]&&(this[_0x14275d(0x1a5)]=_0x2b8471[_0x14275d(0x1e8)]),this[_0x14275d(0x1a5)]){const _0x1b5c24=this[_0x14275d(0x113)]['bind'](this,'connection');this[_0x14275d(0x198)]=_0x4712e6(this[_0x14275d(0x1a5)],{'listening':this[_0x14275d(0x113)]['bind'](this,_0x14275d(0x18b)),'error':this[_0x14275d(0x113)][_0x14275d(0x8a)](this,'error'),'upgrade':(_0x17eb35,_0x522b24,_0x508b2a)=>{const _0xb64371=_0x14275d;this[_0xb64371(0x148)](_0x17eb35,_0x522b24,_0x508b2a,_0x1b5c24);}});}_0x2b8471['perMessageDeflate']===!0x0&&(_0x2b8471['perMessageDeflate']={}),_0x2b8471[_0x14275d(0x233)]&&(this[_0x14275d(0xeb)]=new Set(),this[_0x14275d(0x10e)]=!0x1),this['options']=_0x2b8471,this[_0x14275d(0x22a)]=_0x38b2d8;}['address'](){const _0x53c509=_0x15ac;if(this[_0x53c509(0x14a)][_0x53c509(0x17b)])throw new Error(_0x53c509(0x24a));return this['_server']?this['_server'][_0x53c509(0x89)]():null;}[_0x5d7325(0xe4)](_0x583028){const _0x879971=_0x5d7325;if(this['_state']===_0x47374d){_0x583028&&this['once'](_0x879971(0xe4),()=>{_0x583028(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x879971(0x151)](_0x145c81,this);return;}if(_0x583028&&this[_0x879971(0x9e)]('close',_0x583028),this[_0x879971(0x22a)]!==_0x5627ba){if(this['_state']=_0x5627ba,this['options'][_0x879971(0x17b)]||this[_0x879971(0x14a)][_0x879971(0x1e8)])this[_0x879971(0x1a5)]&&(this[_0x879971(0x198)](),this[_0x879971(0x198)]=this['_server']=null),this[_0x879971(0xeb)]?this[_0x879971(0xeb)][_0x879971(0x19a)]?this[_0x879971(0x10e)]=!0x0:process[_0x879971(0x151)](_0x145c81,this):process['nextTick'](_0x145c81,this);else{const _0x19935f=this[_0x879971(0x1a5)];this['_removeListeners'](),this[_0x879971(0x198)]=this['_server']=null,_0x19935f[_0x879971(0xe4)](()=>{_0x145c81(this);});}}}['shouldHandle'](_0x145a7c){const _0x153db8=_0x5d7325;if(this[_0x153db8(0x14a)]['path']){const _0xd372c3=_0x145a7c[_0x153db8(0x191)][_0x153db8(0x196)]('?');if((_0xd372c3!==-0x1?_0x145a7c[_0x153db8(0x191)][_0x153db8(0x183)](0x0,_0xd372c3):_0x145a7c[_0x153db8(0x191)])!==this[_0x153db8(0x14a)][_0x153db8(0xa5)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5d599d,_0x1e6215,_0x4ace18,_0x266199){const _0x31c2d4=_0x5d7325;_0x1e6215['on'](_0x31c2d4(0xef),_0x51be6d);const _0xe671ec=_0x5d599d[_0x31c2d4(0x20c)][_0x31c2d4(0x20f)],_0x390597=_0x5d599d[_0x31c2d4(0x20c)][_0x31c2d4(0x171)],_0x4cfe5a=+_0x5d599d['headers'][_0x31c2d4(0x22f)];if(_0x5d599d[_0x31c2d4(0x104)]!==_0x31c2d4(0x180)){_0x3cb8ba(this,_0x5d599d,_0x1e6215,0x195,_0x31c2d4(0x98));return;}if(_0x390597===void 0x0||_0x390597[_0x31c2d4(0x1c1)]()!=='websocket'){_0x3cb8ba(this,_0x5d599d,_0x1e6215,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0xe671ec===void 0x0||!_0x26b3c6[_0x31c2d4(0x101)](_0xe671ec)){_0x3cb8ba(this,_0x5d599d,_0x1e6215,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x4cfe5a!==0x8&&_0x4cfe5a!==0xd){_0x3cb8ba(this,_0x5d599d,_0x1e6215,0x190,_0x31c2d4(0xe1));return;}if(!this[_0x31c2d4(0xc6)](_0x5d599d)){_0x30b572(_0x1e6215,0x190);return;}const _0x3d0b23=_0x5d599d[_0x31c2d4(0x20c)][_0x31c2d4(0x193)];let _0x55c6c7=new Set();if(_0x3d0b23!==void 0x0)try{_0x55c6c7=_0x1ad0db[_0x31c2d4(0x1af)](_0x3d0b23);}catch{_0x3cb8ba(this,_0x5d599d,_0x1e6215,0x190,_0x31c2d4(0x1d1));return;}const _0x364fcb=_0x5d599d[_0x31c2d4(0x20c)][_0x31c2d4(0x157)],_0x4ba184={};if(this[_0x31c2d4(0x14a)][_0x31c2d4(0x166)]&&_0x364fcb!==void 0x0){const _0x1d1a96=new _0x46f880(this['options'][_0x31c2d4(0x166)],!0x0,this[_0x31c2d4(0x14a)][_0x31c2d4(0x1d5)]);try{const _0xc8806d=_0x59f058[_0x31c2d4(0x1af)](_0x364fcb);_0xc8806d[_0x46f880[_0x31c2d4(0x192)]]&&(_0x1d1a96[_0x31c2d4(0x1ed)](_0xc8806d[_0x46f880[_0x31c2d4(0x192)]]),_0x4ba184[_0x46f880['extensionName']]=_0x1d1a96);}catch{_0x3cb8ba(this,_0x5d599d,_0x1e6215,0x190,_0x31c2d4(0xaf));return;}}if(this['options'][_0x31c2d4(0xd3)]){const _0x1c18a0={'origin':_0x5d599d[_0x31c2d4(0x20c)][''+(_0x4cfe5a===0x8?_0x31c2d4(0x1be):_0x31c2d4(0xb2))],'secure':!!(_0x5d599d[_0x31c2d4(0x127)][_0x31c2d4(0x158)]||_0x5d599d[_0x31c2d4(0x127)][_0x31c2d4(0x163)]),'req':_0x5d599d};if(this[_0x31c2d4(0x14a)][_0x31c2d4(0xd3)]['length']===0x2){this[_0x31c2d4(0x14a)][_0x31c2d4(0xd3)](_0x1c18a0,(_0x253c01,_0xc44534,_0x2b0b24,_0x2c5183)=>{const _0x12351c=_0x31c2d4;if(!_0x253c01)return _0x30b572(_0x1e6215,_0xc44534||0x191,_0x2b0b24,_0x2c5183);this[_0x12351c(0x139)](_0x4ba184,_0xe671ec,_0x55c6c7,_0x5d599d,_0x1e6215,_0x4ace18,_0x266199);});return;}if(!this['options']['verifyClient'](_0x1c18a0))return _0x30b572(_0x1e6215,0x191);}this[_0x31c2d4(0x139)](_0x4ba184,_0xe671ec,_0x55c6c7,_0x5d599d,_0x1e6215,_0x4ace18,_0x266199);}[_0x5d7325(0x139)](_0x598dd5,_0x350f0f,_0x4feb6b,_0xc9f59e,_0x3fc3e8,_0x47d092,_0x21e9bf){const _0x5c51c3=_0x5d7325;if(!_0x3fc3e8[_0x5c51c3(0x247)]||!_0x3fc3e8[_0x5c51c3(0xe3)])return _0x3fc3e8[_0x5c51c3(0x10a)]();if(_0x3fc3e8[_0x5d4a84])throw new Error(_0x5c51c3(0x204));if(this['_state']>_0x38b2d8)return _0x30b572(_0x3fc3e8,0x1f7);const _0x34b180=[_0x5c51c3(0x16a),_0x5c51c3(0x1ab),_0x5c51c3(0x150),_0x5c51c3(0xb9)+_0x27a14c(_0x5c51c3(0x218))[_0x5c51c3(0xa8)](_0x350f0f+_0xb62863)[_0x5c51c3(0xe6)](_0x5c51c3(0x17a))],_0x4b2529=new this[(_0x5c51c3(0x14a))]['WebSocket'](null,void 0x0,this[_0x5c51c3(0x14a)]);if(_0x4feb6b[_0x5c51c3(0x19a)]){const _0x3413df=this[_0x5c51c3(0x14a)]['handleProtocols']?this[_0x5c51c3(0x14a)][_0x5c51c3(0x18d)](_0x4feb6b,_0xc9f59e):_0x4feb6b[_0x5c51c3(0x1b7)]()[_0x5c51c3(0x227)]()[_0x5c51c3(0x8c)];_0x3413df&&(_0x34b180[_0x5c51c3(0x1bb)](_0x5c51c3(0x132)+_0x3413df),_0x4b2529[_0x5c51c3(0x131)]=_0x3413df);}if(_0x598dd5[_0x46f880[_0x5c51c3(0x192)]]){const _0x1f57a1=_0x598dd5[_0x46f880[_0x5c51c3(0x192)]][_0x5c51c3(0x1fa)],_0x3c1e30=_0x59f058[_0x5c51c3(0x201)]({[_0x46f880['extensionName']]:[_0x1f57a1]});_0x34b180[_0x5c51c3(0x1bb)](_0x5c51c3(0x10f)+_0x3c1e30),_0x4b2529[_0x5c51c3(0x144)]=_0x598dd5;}this['emit']('headers',_0x34b180,_0xc9f59e),_0x3fc3e8[_0x5c51c3(0x1ce)](_0x34b180[_0x5c51c3(0x114)]('\x0d\x0a')[_0x5c51c3(0xd9)]('\x0d\x0a')),_0x3fc3e8[_0x5c51c3(0x240)](_0x5c51c3(0xef),_0x51be6d),_0x4b2529[_0x5c51c3(0x118)](_0x3fc3e8,_0x47d092,{'allowSynchronousEvents':this[_0x5c51c3(0x14a)][_0x5c51c3(0x1ad)],'maxPayload':this[_0x5c51c3(0x14a)][_0x5c51c3(0x1d5)],'skipUTF8Validation':this[_0x5c51c3(0x14a)]['skipUTF8Validation']}),this['clients']&&(this[_0x5c51c3(0xeb)][_0x5c51c3(0x7a)](_0x4b2529),_0x4b2529['on'](_0x5c51c3(0xe4),()=>{const _0x185181=_0x5c51c3;this['clients'][_0x185181(0x1f4)](_0x4b2529),this['_shouldEmitClose']&&!this[_0x185181(0xeb)][_0x185181(0x19a)]&&process[_0x185181(0x151)](_0x145c81,this);})),_0x21e9bf(_0x4b2529,_0xc9f59e);}}Te=_0x2354a4;function _0x4712e6(_0x1a3f1d,_0x37f800){const _0x1785dd=_0x5d7325;for(const _0x1c4c1b of Object[_0x1785dd(0x105)](_0x37f800))_0x1a3f1d['on'](_0x1c4c1b,_0x37f800[_0x1c4c1b]);return function(){const _0x4cfe87=_0x1785dd;for(const _0x1d1c60 of Object[_0x4cfe87(0x105)](_0x37f800))_0x1a3f1d[_0x4cfe87(0x240)](_0x1d1c60,_0x37f800[_0x1d1c60]);};}function _0x145c81(_0x26de5f){const _0x2504cc=_0x5d7325;_0x26de5f[_0x2504cc(0x22a)]=_0x47374d,_0x26de5f[_0x2504cc(0x113)](_0x2504cc(0xe4));}function _0x51be6d(){const _0x3e920a=_0x5d7325;this[_0x3e920a(0x10a)]();}function _0x30b572(_0x1eb8de,_0x4ece0b,_0x367dd2,_0x3e4184){const _0xb0ac52=_0x5d7325;_0x367dd2=_0x367dd2||_0x5759e5[_0xb0ac52(0x1bd)][_0x4ece0b],_0x3e4184={'Connection':_0xb0ac52(0xe4),'Content-Type':_0xb0ac52(0x100),'Content-Length':Buffer[_0xb0ac52(0x108)](_0x367dd2),..._0x3e4184},_0x1eb8de['once'](_0xb0ac52(0x1d7),_0x1eb8de[_0xb0ac52(0x10a)]),_0x1eb8de['end'](_0xb0ac52(0x210)+_0x4ece0b+'\x20'+_0x5759e5[_0xb0ac52(0x1bd)][_0x4ece0b]+'\x0d\x0a'+Object[_0xb0ac52(0x105)](_0x3e4184)[_0xb0ac52(0x1db)](_0x56721d=>_0x56721d+':\x20'+_0x3e4184[_0x56721d])[_0xb0ac52(0xd9)]('\x0d\x0a')+_0xb0ac52(0x21b)+_0x367dd2);}function _0x3cb8ba(_0x265261,_0x6c5655,_0x56c5a9,_0xb01e74,_0x2d2f2c){const _0x4526f0=_0x5d7325;if(_0x265261[_0x4526f0(0xa9)](_0x4526f0(0x23e))){const _0x3e98e9=new Error(_0x2d2f2c);Error[_0x4526f0(0x213)](_0x3e98e9,_0x3cb8ba),_0x265261[_0x4526f0(0x113)]('wsClientError',_0x3e98e9,_0x56c5a9,_0x6c5655);}else _0x30b572(_0x56c5a9,_0xb01e74,_0x2d2f2c);}return Te;}Ft();var jt=Object[_0x1a2937(0x16d)],Wt=(_0x523981,_0x285feb,_0x5d64df,_0x2a8482)=>{const _0x28f3fa=_0x1a2937;for(var _0x484d70=_0x2a8482>0x1?void 0x0:_0x2a8482?jt(_0x285feb,_0x5d64df):_0x285feb,_0x51b759=_0x523981[_0x28f3fa(0x168)]-0x1,_0x34efc7;_0x51b759>=0x0;_0x51b759--)(_0x34efc7=_0x523981[_0x51b759])&&(_0x484d70=_0x34efc7(_0x484d70)||_0x484d70);return _0x484d70;},qt=(_0xd46270,_0x404c59)=>(_0x411078,_0x95dd56)=>_0x404c59(_0x411078,_0x95dd56,_0xd46270);let ke=class extends A['Disposable']{constructor(_0xa8b99d){super(),this['_configService']=_0xa8b99d;}[_0x1a2937(0xa2)](_0x25fec9){const _0x5e4e5c=_0x1a2937;var _0x3b781a;const _0xa075da=(_0x3b781a=this['_configService']['getConfig'](fe))==null?void 0x0:_0x3b781a['customHeaders'];try{const _0x26f286=new $t(_0x25fec9,{'headers':{..._0xa075da}}),_0x134f04=new A[(_0x5e4e5c(0x1f2))]();return{'URL':_0x25fec9,'close':(_0x3ec8cb,_0x2886cc)=>{const _0x1ed80b=_0x5e4e5c;_0x26f286[_0x1ed80b(0xe4)](_0x3ec8cb,_0x2886cc),_0x134f04[_0x1ed80b(0x177)]();},'send':_0x29c474=>{const _0x5376b6=_0x5e4e5c;_0x26f286[_0x5376b6(0x230)](_0x29c474);},'open$':new V['Observable'](_0x196c73=>{const _0x278c40=_0x5e4e5c,_0x3b31f1=_0x270c47=>_0x196c73['next'](_0x270c47);_0x26f286[_0x278c40(0x12e)](_0x278c40(0x1f9),_0x3b31f1),_0x134f04[_0x278c40(0x7a)](A['toDisposable'](()=>_0x26f286[_0x278c40(0x1ee)](_0x278c40(0x1f9),_0x3b31f1)));})[_0x5e4e5c(0xd6)](V[_0x5e4e5c(0x1e0)]()),'close$':new V[(_0x5e4e5c(0x83))](_0x5865c5=>{const _0x2a80b5=_0x5e4e5c,_0x3d0302=_0x4e739f=>_0x5865c5['next'](_0x4e739f);_0x26f286[_0x2a80b5(0x12e)](_0x2a80b5(0xe4),_0x3d0302),_0x134f04['add'](A[_0x2a80b5(0x84)](()=>_0x26f286[_0x2a80b5(0x1ee)]('close',_0x3d0302)));})[_0x5e4e5c(0xd6)](V[_0x5e4e5c(0x1e0)]()),'error$':new V[(_0x5e4e5c(0x83))](_0x23da7d=>{const _0x2cca34=_0x5e4e5c,_0x5ef0ce=_0x99aade=>_0x23da7d[_0x2cca34(0x227)](_0x99aade);_0x26f286[_0x2cca34(0x12e)](_0x2cca34(0xef),_0x5ef0ce),_0x134f04['add'](A[_0x2cca34(0x84)](()=>_0x26f286[_0x2cca34(0x1ee)](_0x2cca34(0xef),_0x5ef0ce)));})[_0x5e4e5c(0xd6)](V['share']()),'message$':new V['Observable'](_0x48fb67=>{const _0x4fb360=_0x5e4e5c,_0x238e4c=_0x2a4f39=>_0x48fb67[_0x4fb360(0x227)](_0x2a4f39);_0x26f286[_0x4fb360(0x12e)]('message',_0x238e4c),_0x134f04[_0x4fb360(0x7a)](A['toDisposable'](()=>_0x26f286[_0x4fb360(0x1ee)]('message',_0x238e4c)));})[_0x5e4e5c(0xd6)](V[_0x5e4e5c(0x1e0)]())};}catch(_0x145a34){return console[_0x5e4e5c(0xef)](_0x145a34),null;}}};ke=Wt([qt(0x0,A[_0x1a2937(0x18e)])],ke);var Gt=Object[_0x1a2937(0x1cf)],Vt=Object[_0x1a2937(0x16d)],Ht=(_0x278d94,_0x298dc5,_0x55aa40)=>_0x298dc5 in _0x278d94?Gt(_0x278d94,_0x298dc5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55aa40}):_0x278d94[_0x298dc5]=_0x55aa40,zt=(_0x46aa69,_0x15ed6c,_0x5731f0,_0x1873e2)=>{const _0x4d4774=_0x1a2937;for(var _0x1f3042=_0x1873e2>0x1?void 0x0:_0x1873e2?Vt(_0x15ed6c,_0x5731f0):_0x15ed6c,_0xd8f8ff=_0x46aa69[_0x4d4774(0x168)]-0x1,_0x6cd59e;_0xd8f8ff>=0x0;_0xd8f8ff--)(_0x6cd59e=_0x46aa69[_0xd8f8ff])&&(_0x1f3042=_0x6cd59e(_0x1f3042)||_0x1f3042);return _0x1f3042;},Ne=(_0x5c608a,_0x1809a0)=>(_0x378373,_0x4d48be)=>_0x1809a0(_0x378373,_0x4d48be,_0x5c608a),Yt=(_0x58d774,_0xd59616,_0x5d4de4)=>Ht(_0x58d774,_0xd59616+'',_0x5d4de4);exports[_0x1a2937(0x154)]=class extends A['Plugin']{constructor(_0x381fd6=Ct,_0x2df173,_0x5b6080,_0x40a119){const _0x26ab55=_0x1a2937;_0x381fd6[_0x26ab55(0x90)]||_0x2df173[_0x26ab55(0xfd)](_0x26ab55(0x1f3)),super(),this[_0x26ab55(0x19d)]=_0x5b6080,this[_0x26ab55(0x205)]=_0x40a119,this[_0x26ab55(0x19d)][_0x26ab55(0xf7)](fe,_0x381fd6);}[_0x1a2937(0x87)](){const _0x3fc146=_0x1a2937;this[_0x3fc146(0xc7)]();}[_0x1a2937(0xc7)](){const _0x1a1216=_0x1a2937;A[_0x1a1216(0xbc)](this['_injector'],[[it[_0x1a1216(0x1e2)],{'useClass':ke}]]);}},Yt(exports[_0x1a2937(0x154)],_0x1a2937(0xe5),_0x1a2937(0xcc)),exports[_0x1a2937(0x154)]=zt([A[_0x1a2937(0x99)](st[_0x1a2937(0x7b)]),Ne(0x1,A[_0x1a2937(0x1c6)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x1a2937(0x15b)]))],exports[_0x1a2937(0x154)]);var Kt=Object[_0x1a2937(0x16d)],Xt=(_0x47fb01,_0x458632,_0x59b205,_0x2093c7)=>{for(var _0x15feab=_0x2093c7>0x1?void 0x0:_0x2093c7?Kt(_0x458632,_0x59b205):_0x458632,_0x3835a8=_0x47fb01['length']-0x1,_0x2e9b3d;_0x3835a8>=0x0;_0x3835a8--)(_0x2e9b3d=_0x47fb01[_0x3835a8])&&(_0x15feab=_0x2e9b3d(_0x15feab)||_0x15feab);return _0x15feab;},ne=(_0x165ad6,_0x2b1a8a)=>(_0x53412e,_0x690d2c)=>_0x2b1a8a(_0x53412e,_0x690d2c,_0x165ad6);exports[_0x1a2937(0x226)]=class extends st[_0x1a2937(0x1dd)]{constructor(_0x3beb7d,_0x557021,_0x4d4d39,_0x38ffca,_0x31ad2){const _0x50fb3d=_0x1a2937;super(_0x3beb7d,_0x557021,_0x4d4d39,_0x38ffca,_0x31ad2);const _0x15246d=this[_0x50fb3d(0x19d)][_0x50fb3d(0x9f)](fe);this[_0x50fb3d(0xc2)][_0x50fb3d(0x1d0)]({'interceptor':(_0x278a29,_0xfeedc3)=>{const _0x5416f7=_0x50fb3d;var _0x4eb98f;const _0x32f72a=_0x278a29[_0x5416f7(0x20c)];return(_0x4eb98f=_0x15246d==null?void 0x0:_0x15246d[_0x5416f7(0x90)])!=null&&_0x4eb98f['cookie']&&_0x32f72a[_0x5416f7(0x17d)](_0x5416f7(0x145),_0x15246d[_0x5416f7(0x90)][_0x5416f7(0x228)]),_0xfeedc3(_0x278a29);}});}async[_0x1a2937(0xa2)](_0x2334bd){const _0x8e65d6=_0x1a2937;return this[_0x8e65d6(0x195)](_0x2334bd);}},exports[_0x1a2937(0x226)]=Xt([ne(0x0,A['Inject'](A[_0x1a2937(0x15b)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A[_0x1a2937(0x18e)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x1a2937(0x226)]),exports[_0x1a2937(0x134)]=fe;
1
+ 'use strict';const _0x99fc6b=_0x5a3e;(function(_0x8e3f45,_0x22feac){const _0x37e75d=_0x5a3e,_0x549027=_0x8e3f45();while(!![]){try{const _0x458f9c=-parseInt(_0x37e75d(0x34c))/0x1+-parseInt(_0x37e75d(0x2e2))/0x2+-parseInt(_0x37e75d(0x1e0))/0x3*(-parseInt(_0x37e75d(0x351))/0x4)+-parseInt(_0x37e75d(0x2f2))/0x5+parseInt(_0x37e75d(0x294))/0x6+-parseInt(_0x37e75d(0x378))/0x7+parseInt(_0x37e75d(0x208))/0x8*(parseInt(_0x37e75d(0x39b))/0x9);if(_0x458f9c===_0x22feac)break;else _0x549027['push'](_0x549027['shift']());}catch(_0x44e0cf){_0x549027['push'](_0x549027['shift']());}}}(_0x4c78,0xe495d));Object[_0x99fc6b(0x2fb)](exports,Symbol[_0x99fc6b(0x209)],{'value':_0x99fc6b(0x263)});const st=require(_0x99fc6b(0x34f)),A=require(_0x99fc6b(0x373)),it=require(_0x99fc6b(0x2a2)),V=require(_0x99fc6b(0x24c)),nt=require(_0x99fc6b(0x2f0)),vt=require(_0x99fc6b(0x25b)),ot=require('http'),St=require(_0x99fc6b(0x2d9)),Et=require(_0x99fc6b(0x2da)),Le=require(_0x99fc6b(0x243)),oe=require(_0x99fc6b(0x2c6)),xt=require(_0x99fc6b(0x345)),bt=require(_0x99fc6b(0x2d6)),wt=require(_0x99fc6b(0x247)),Ot=require(_0x99fc6b(0x26c)),fe=_0x99fc6b(0x2a4),Ct={'customHeaders':{}};function _0x4c78(){const _0x38d7eb=['https','servername','error','_firstFragment','WebSocket\x20is\x20not\x20open:\x20readyState\x20','perMessageDeflate','WS_ERR_UNEXPECTED_MASK','Sec-WebSocket-Accept:\x20','Module','value','resume','sec-websocket-protocol','client_no_context_takeover','kReason','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_final','kListener','@univerjs-pro/collaboration','ws:','listening','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','default','prototype','terminate','type','_httpService','extensions','_threshold','_closeCode','_protocol','from','Unknown\x20parameter\x20\x22','_state','CONNECTING','origin','Invalid\x20Upgrade\x20header','_req','getOwnPropertyDescriptor','WS_ERR_EXPECTED_FIN','_removeListeners','registerDependencies','maskBuffer','_closeMessage','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','maxPayload','pathname','toDisposable','dataMessage','invalid\x20UTF-8\x20sequence','_messageLength','reason','getConfig','Unsupported\x20protocol\x20version:\x20','read','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_errored','consume','1605540eACRvn','customHeaders','ping','_masked','isView','captureStackTrace','slice','test','onerror','flush','shouldHandle','Invalid\x20Sec-WebSocket-Extensions\x20header','options','dispatch','@univerjs/network','Opening\x20handshake\x20has\x20timed\x20out','collaboration-client-node.config','emitClose','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_compressed','has','_shouldEmitClose','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','_closeFrameSent','_buffers','_generateMask','_mask','_receiver','binaryType','total-length','_readableState','add','createConnection','Cookie','Invalid\x20HTTP\x20method','_allowSynchronousEvents','The\x20URL\x20contains\x20a\x20fragment\x20identifier','handleUpgrade','controlMessage','kRun','upgrade','_binaryType','then','WS_NO_BUFFER_UTIL','ISnapshotServerService','isValidUTF8','Origin','websocket','apply','Blob','stream','find','number','Server\x20sent\x20no\x20subprotocol','socketPath','connection','protocolVersion','invalid\x20payload\x20length\x20','_maskBuffer','finished','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','pipe','__esModule','blob','length','verifyClient','zlib','sec-websocket-origin','readOnly','net','tls','_redirects','set','registerHTTPInterceptor','sendFrame','autoPong','Upgrade','readUInt16BE','3491406LGKPMF','destroyed','object','compress','Sec-WebSocket-Protocol','_doCreateSocket','isIP','Sec-WebSocket-Extensions','_autoPong','kWasClean','byteOffset','server_max_window_bits','zlibDeflateOptions','clients','events','_opcode','6470895DyiqgC','send','Sec-WebSocket-Extensions:\x20','kDone','address','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','text/plain','_originalSecure','concurrency','defineProperty','server','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kError','HTTP/1.1\x20','clientNoContextTakeover','_bufferedBytes','ILogService','_configService','env','headers','indexOf','defaultPort','writeUInt16BE','extensionName','_totalPayloadLength','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kAborted','emit','_closeTimer','port','cookie','end','invalid\x20opcode\x20','decompress','WS_ERR_EXPECTED_MASK','nextTick','sec-websocket-extensions','concurrencyLimit','_extensions','buffers','_fin','reset','_fragments','acceptAsClient','_decompress','handshakeTimeout','Max\x20payload\x20size\x20exceeded','_sender','enqueue','needDrain','wsClientError','zlibInflateOptions','data','readUInt32BE','createDeflateRaw','host','wss:','setHeader','setTimeout','listeners','update','_server','_writableState','objectMode','kByteLength','clientMaxWindowBits','setNoDelay','createServer','function','create','CLOSING','push','isArray','WS_NO_UTF_8_VALIDATE','exports','finish','CollaborationSocketService','_closeFrameReceived','protocol','delete','threshold','ws+unix:','Unexpected\x20end\x20of\x20input','url','digest','Unexpected\x20character\x20at\x20index\x20','clientTracking','getPayloadLength16','_bufferedAmount','freeze','787669aqqVlR','WS_ERR_INVALID_OPCODE','includes','@univerjs-pro/collaboration-client','pending','870676YFWkxn','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','rsv1','unshift','createError','authorization','onmessage','connect','Connection:\x20Upgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','response','path','_skipUTF8Validation','client','unexpected-response','byteLength','_loop','_socket','sec-websocket-accept','handleProtocols','size','statusCode','toLowerCase','_inflate','string','removeListener','parse','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','frame','once','serverNoContextTakeover','status-code','write','species','@univerjs/core','bufferedAmount','share','map','UniverCollaborationClientPlugin','8944586HkgLOD','target','server_no_context_takeover','join','encrypted','listenerCount','message','timeout','readyState','Plugin','_queue','concat','OPEN','authorized','_originalHostOrSocketPath','generateMask','constructor','jobs','HTTPService','_readyState','WS_ERR_INVALID_UTF8','toString','alloc','Injector','_compress','unmask','sec-websocket-key','kIsForOnEventAttribute','removeAllListeners','kTarget','pow','fin','_fragmented','followRedirects','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','46089333DUzObq','RSV1\x20must\x20be\x20clear','close','cleanup','MASK\x20must\x20be\x20set','File','Unexpected\x20server\x20response:\x20','fragments','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','MASK\x20must\x20be\x20clear','isInteger','getBlobData','9AFVNfo','isPaused','charCodeAt','params','addEventListener','errorEmitted','kCode','keys','onclose','_isServer','shift','Z_SYNC_FLUSH','HTTP/1.1\x20101\x20Switching\x20Protocols','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Inject','WS_ERR_UNEXPECTED_RSV_1','_errorEmitted','_deflate','startLoop','STATUS_CODES','client_max_window_bits','CLOSED','pong','getPayloadLength64','bind','call','\x22:\x20','FIN\x20must\x20be\x20set','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','arraybuffer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Z_DEFAULT_WINDOWBITS','hasOwnProperty','skipUTF8Validation','invalid\x20status\x20code\x20','password','UniverCollaborationClientNodePlugin','writeHead','search','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','8UXgrmI','toStringTag','next','completeUpgrade','conclude','_write','Maximum\x20redirects\x20exceeded','DependentOn','The\x20\x22','wasClean','_maxPayload','_payloadLength','split','WS_ERR_UNEXPECTED_RSV_2_3','NodeCollaborationSocketService','_destroy','handleEvent','kMessage','writeUIntBE','readable','haveLength','_originalIpc','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','removeEventListener','abort','base64','_paused','destroy','_options','auth','permessage-deflate','nodebuffer','Server\x20sent\x20an\x20invalid\x20subprotocol','maxRedirects','serverMaxWindowBits','setSocket','_max_window_bits','finishRequest','format','Observable','endEmitted','GET','socket','sha1','backlog','code','WS_ERR_INVALID_CLOSE_CODE','dequeue','getInfo','Invalid\x20URL:\x20','Invalid\x20value\x20for\x20parameter\x20\x22','_registerDependencies','isBuffer','allowSynchronousEvents','values','noServer','hash','allocUnsafe','crypto','request','open','pause','buffer','hostname','opcode','accept','forEach','rxjs','replace','acceptAsServer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','listen','warn','_url','\x22\x20subprotocol\x20is\x20duplicated','Upgrade:\x20websocket','redirect','IConfigService','location','binary','Invalid\x20WebSocket\x20frame:\x20','mask'];_0x4c78=function(){return _0x38d7eb;};return _0x4c78();}function Tt(_0x100cd4){const _0x48618f=_0x99fc6b;return _0x100cd4&&_0x100cd4[_0x48618f(0x2d2)]&&Object[_0x48618f(0x271)][_0x48618f(0x200)][_0x48618f(0x1f9)](_0x100cd4,_0x48618f(0x270))?_0x100cd4[_0x48618f(0x270)]:_0x100cd4;}function at(_0x1af553){const _0x43578e=_0x99fc6b;if(Object[_0x43578e(0x271)][_0x43578e(0x200)][_0x43578e(0x1f9)](_0x1af553,_0x43578e(0x2d2)))return _0x1af553;var _0x4206ea=_0x1af553['default'];if(typeof _0x4206ea==_0x43578e(0x336)){var _0x2d57c8=function _0x586512(){const _0x47bd03=_0x43578e;return this instanceof _0x586512?Reflect['construct'](_0x4206ea,arguments,this[_0x47bd03(0x388)]):_0x4206ea[_0x47bd03(0x2c4)](this,arguments);};_0x2d57c8['prototype']=_0x4206ea[_0x43578e(0x271)];}else _0x2d57c8={};return Object[_0x43578e(0x2fb)](_0x2d57c8,_0x43578e(0x2d2),{'value':!0x0}),Object[_0x43578e(0x1e7)](_0x1af553)['forEach'](function(_0x19783a){const _0x260481=_0x43578e;var _0x5eae86=Object[_0x260481(0x280)](_0x1af553,_0x19783a);Object[_0x260481(0x2fb)](_0x2d57c8,_0x19783a,_0x5eae86['get']?_0x5eae86:{'enumerable':!0x0,'get':function(){return _0x1af553[_0x19783a];}});}),_0x2d57c8;}var se={'exports':{}},ge,Ge;function H(){const _0x5c7ddb=_0x99fc6b;if(Ge)return ge;Ge=0x1;const _0x1a3415=[_0x5c7ddb(0x228),_0x5c7ddb(0x1fd),_0x5c7ddb(0x1db)],_0x500cc4=typeof Blob<'u';return _0x500cc4&&_0x1a3415['push']('blob'),ge={'BINARY_TYPES':_0x1a3415,'EMPTY_BUFFER':Buffer[_0x5c7ddb(0x38e)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x500cc4,'kForOnEventAttribute':Symbol(_0x5c7ddb(0x393)),'kListener':Symbol(_0x5c7ddb(0x26b)),'kStatusCode':Symbol(_0x5c7ddb(0x370)),'kWebSocket':Symbol(_0x5c7ddb(0x2c3)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x99fc6b(0x34b)](Object[_0x99fc6b(0x2fb)]({'__proto__':null,'default':Nt},Symbol[_0x99fc6b(0x209)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x5a083a=_0x99fc6b;if(Ve)return se[_0x5a083a(0x33c)];Ve=0x1;const {EMPTY_BUFFER:_0x4e1dee}=H(),_0x1238c7=Buffer[Symbol[_0x5a083a(0x372)]];function _0x2f3ede(_0x4d7f78,_0x1def78){const _0x35053e=_0x5a083a;if(_0x4d7f78[_0x35053e(0x2d4)]===0x0)return _0x4e1dee;if(_0x4d7f78[_0x35053e(0x2d4)]===0x1)return _0x4d7f78[0x0];const _0x330680=Buffer[_0x35053e(0x242)](_0x1def78);let _0x1a2584=0x0;for(let _0x465c14=0x0;_0x465c14<_0x4d7f78[_0x35053e(0x2d4)];_0x465c14++){const _0x402f4f=_0x4d7f78[_0x465c14];_0x330680['set'](_0x402f4f,_0x1a2584),_0x1a2584+=_0x402f4f[_0x35053e(0x2d4)];}return _0x1a2584<_0x1def78?new _0x1238c7(_0x330680['buffer'],_0x330680[_0x35053e(0x2ec)],_0x1a2584):_0x330680;}function _0x24bb5e(_0x2231f2,_0x46f8f1,_0x31abf8,_0x348730,_0x5a8d84){for(let _0x3fcf1d=0x0;_0x3fcf1d<_0x5a8d84;_0x3fcf1d++)_0x31abf8[_0x348730+_0x3fcf1d]=_0x2231f2[_0x3fcf1d]^_0x46f8f1[_0x3fcf1d&0x3];}function _0x431a03(_0x8d306d,_0x1fd5cb){const _0x45a173=_0x5a083a;for(let _0x5e10a6=0x0;_0x5e10a6<_0x8d306d[_0x45a173(0x2d4)];_0x5e10a6++)_0x8d306d[_0x5e10a6]^=_0x1fd5cb[_0x5e10a6&0x3];}function _0x185f87(_0x19df71){const _0x250278=_0x5a083a;return _0x19df71['length']===_0x19df71[_0x250278(0x247)]['byteLength']?_0x19df71[_0x250278(0x247)]:_0x19df71[_0x250278(0x247)][_0x250278(0x29a)](_0x19df71[_0x250278(0x2ec)],_0x19df71[_0x250278(0x2ec)]+_0x19df71[_0x250278(0x2d4)]);}function _0x418351(_0x15417e){const _0x1a69a=_0x5a083a;if(_0x418351[_0x1a69a(0x2d8)]=!0x0,Buffer[_0x1a69a(0x23d)](_0x15417e))return _0x15417e;let _0x3b59a6;return _0x15417e instanceof ArrayBuffer?_0x3b59a6=new _0x1238c7(_0x15417e):ArrayBuffer[_0x1a69a(0x298)](_0x15417e)?_0x3b59a6=new _0x1238c7(_0x15417e[_0x1a69a(0x247)],_0x15417e['byteOffset'],_0x15417e['byteLength']):(_0x3b59a6=Buffer[_0x1a69a(0x279)](_0x15417e),_0x418351['readOnly']=!0x1),_0x3b59a6;}if(se[_0x5a083a(0x33c)]={'concat':_0x2f3ede,'mask':_0x24bb5e,'toArrayBuffer':_0x185f87,'toBuffer':_0x418351,'unmask':_0x431a03},!process[_0x5a083a(0x304)][_0x5a083a(0x2bf)])try{const _0x971a=Lt;se['exports']['mask']=function(_0x4c5577,_0x139cf1,_0x273fa8,_0xc49fe9,_0x21363a){const _0x42f5c2=_0x5a083a;_0x21363a<0x30?_0x24bb5e(_0x4c5577,_0x139cf1,_0x273fa8,_0xc49fe9,_0x21363a):_0x971a[_0x42f5c2(0x25a)](_0x4c5577,_0x139cf1,_0x273fa8,_0xc49fe9,_0x21363a);},se['exports']['unmask']=function(_0x3ad4be,_0x3ca364){const _0x3d1c7a=_0x5a083a;_0x3ad4be['length']<0x20?_0x431a03(_0x3ad4be,_0x3ca364):_0x971a[_0x3d1c7a(0x391)](_0x3ad4be,_0x3ca364);};}catch{}return se[_0x5a083a(0x33c)];}var ye,He;function Pt(){const _0x175faf=_0x99fc6b;if(He)return ye;He=0x1;const _0x2571e7=Symbol(_0x175faf(0x2f5)),_0x2640b3=Symbol(_0x175faf(0x2bb));class _0x140d8e{constructor(_0x2743ce){this[_0x2571e7]=()=>{this['pending']--,this[_0x2640b3]();},this['concurrency']=_0x2743ce||0x1/0x0,this['jobs']=[],this['pending']=0x0;}['add'](_0x2e81ff){const _0x23451a=_0x175faf;this[_0x23451a(0x389)][_0x23451a(0x339)](_0x2e81ff),this[_0x2640b3]();}[_0x2640b3](){const _0x589f98=_0x175faf;if(this[_0x589f98(0x350)]!==this[_0x589f98(0x2fa)]&&this[_0x589f98(0x389)][_0x589f98(0x2d4)]){const _0x187693=this[_0x589f98(0x389)][_0x589f98(0x1ea)]();this[_0x589f98(0x350)]++,_0x187693(this[_0x2571e7]);}}}return ye=_0x140d8e,ye;}var ve,ze;function he(){const _0x1d25f6=_0x99fc6b;if(ze)return ve;ze=0x1;const _0x558cbd=bt,_0x12c2fb=ce(),_0x2e8304=Pt(),{kStatusCode:_0x50db7f}=H(),_0x1f687e=Buffer[Symbol[_0x1d25f6(0x372)]],_0x11781d=Buffer[_0x1d25f6(0x279)]([0x0,0x0,0xff,0xff]),_0x2ee5b8=Symbol(_0x1d25f6(0x227)),_0x10b045=Symbol(_0x1d25f6(0x2b1)),_0x480123=Symbol('callback'),_0x1dce76=Symbol(_0x1d25f6(0x319)),_0x50f076=Symbol('error');let _0x5ec01a;class _0x243b27{constructor(_0xbe42cc,_0x49198b,_0x4380fb){const _0xc9ace3=_0x1d25f6;if(this[_0xc9ace3(0x212)]=_0x4380fb|0x0,this[_0xc9ace3(0x225)]=_0xbe42cc||{},this[_0xc9ace3(0x276)]=this['_options'][_0xc9ace3(0x342)]!==void 0x0?this[_0xc9ace3(0x225)][_0xc9ace3(0x342)]:0x400,this[_0xc9ace3(0x1e9)]=!!_0x49198b,this[_0xc9ace3(0x1f1)]=null,this[_0xc9ace3(0x368)]=null,this[_0xc9ace3(0x1e3)]=null,!_0x5ec01a){const _0x3fb47e=this['_options'][_0xc9ace3(0x317)]!==void 0x0?this[_0xc9ace3(0x225)][_0xc9ace3(0x317)]:0xa;_0x5ec01a=new _0x2e8304(_0x3fb47e);}}static get[_0x1d25f6(0x309)](){return'permessage-deflate';}['offer'](){const _0x139ead=_0x1d25f6,_0x46ccc6={};return this[_0x139ead(0x225)][_0x139ead(0x36f)]&&(_0x46ccc6[_0x139ead(0x37a)]=!0x0),this[_0x139ead(0x225)][_0x139ead(0x300)]&&(_0x46ccc6['client_no_context_takeover']=!0x0),this[_0x139ead(0x225)][_0x139ead(0x22b)]&&(_0x46ccc6['server_max_window_bits']=this['_options'][_0x139ead(0x22b)]),this['_options']['clientMaxWindowBits']?_0x46ccc6[_0x139ead(0x1f4)]=this[_0x139ead(0x225)][_0x139ead(0x333)]:this['_options'][_0x139ead(0x333)]==null&&(_0x46ccc6[_0x139ead(0x1f4)]=!0x0),_0x46ccc6;}['accept'](_0x55a15d){const _0x3c8c6a=_0x1d25f6;return _0x55a15d=this['normalizeParams'](_0x55a15d),this['params']=this[_0x3c8c6a(0x1e9)]?this['acceptAsServer'](_0x55a15d):this[_0x3c8c6a(0x31d)](_0x55a15d),this[_0x3c8c6a(0x1e3)];}['cleanup'](){const _0x1b0be8=_0x1d25f6;if(this[_0x1b0be8(0x368)]&&(this[_0x1b0be8(0x368)][_0x1b0be8(0x39d)](),this[_0x1b0be8(0x368)]=null),this[_0x1b0be8(0x1f1)]){const _0x3251ef=this[_0x1b0be8(0x1f1)][_0x480123];this[_0x1b0be8(0x1f1)][_0x1b0be8(0x39d)](),this['_deflate']=null,_0x3251ef&&_0x3251ef(new Error(_0x1b0be8(0x21e)));}}[_0x1d25f6(0x24e)](_0x34ba57){const _0x24f283=_0x1d25f6,_0x5466a2=this[_0x24f283(0x225)],_0x3d5432=_0x34ba57[_0x24f283(0x2c7)](_0x83b29a=>!(_0x5466a2[_0x24f283(0x36f)]===!0x1&&_0x83b29a[_0x24f283(0x37a)]||_0x83b29a[_0x24f283(0x2ed)]&&(_0x5466a2[_0x24f283(0x22b)]===!0x1||typeof _0x5466a2[_0x24f283(0x22b)]==_0x24f283(0x2c8)&&_0x5466a2['serverMaxWindowBits']>_0x83b29a[_0x24f283(0x2ed)])||typeof _0x5466a2[_0x24f283(0x333)]==_0x24f283(0x2c8)&&!_0x83b29a[_0x24f283(0x1f4)]));if(!_0x3d5432)throw new Error(_0x24f283(0x21f));return _0x5466a2[_0x24f283(0x36f)]&&(_0x3d5432[_0x24f283(0x37a)]=!0x0),_0x5466a2['clientNoContextTakeover']&&(_0x3d5432[_0x24f283(0x267)]=!0x0),typeof _0x5466a2['serverMaxWindowBits']=='number'&&(_0x3d5432[_0x24f283(0x2ed)]=_0x5466a2['serverMaxWindowBits']),typeof _0x5466a2['clientMaxWindowBits']==_0x24f283(0x2c8)?_0x3d5432[_0x24f283(0x1f4)]=_0x5466a2[_0x24f283(0x333)]:(_0x3d5432[_0x24f283(0x1f4)]===!0x0||_0x5466a2['clientMaxWindowBits']===!0x1)&&delete _0x3d5432[_0x24f283(0x1f4)],_0x3d5432;}['acceptAsClient'](_0x200b8d){const _0x127f38=_0x1d25f6,_0x19ba09=_0x200b8d[0x0];if(this[_0x127f38(0x225)][_0x127f38(0x300)]===!0x1&&_0x19ba09[_0x127f38(0x267)])throw new Error(_0x127f38(0x207));if(!_0x19ba09[_0x127f38(0x1f4)])typeof this[_0x127f38(0x225)][_0x127f38(0x333)]==_0x127f38(0x2c8)&&(_0x19ba09[_0x127f38(0x1f4)]=this[_0x127f38(0x225)][_0x127f38(0x333)]);else{if(this[_0x127f38(0x225)][_0x127f38(0x333)]===!0x1||typeof this[_0x127f38(0x225)][_0x127f38(0x333)]==_0x127f38(0x2c8)&&_0x19ba09[_0x127f38(0x1f4)]>this[_0x127f38(0x225)][_0x127f38(0x333)])throw new Error(_0x127f38(0x2d0));}return _0x19ba09;}['normalizeParams'](_0x3b00de){const _0x505cdb=_0x1d25f6;return _0x3b00de[_0x505cdb(0x24b)](_0x4b3756=>{const _0x4e32ff=_0x505cdb;Object[_0x4e32ff(0x1e7)](_0x4b3756)[_0x4e32ff(0x24b)](_0x1fcefd=>{const _0x51e3a1=_0x4e32ff;let _0xdffaba=_0x4b3756[_0x1fcefd];if(_0xdffaba[_0x51e3a1(0x2d4)]>0x1)throw new Error('Parameter\x20\x22'+_0x1fcefd+_0x51e3a1(0x1ed));if(_0xdffaba=_0xdffaba[0x0],_0x1fcefd==='client_max_window_bits'){if(_0xdffaba!==!0x0){const _0x45816c=+_0xdffaba;if(!Number[_0x51e3a1(0x1de)](_0x45816c)||_0x45816c<0x8||_0x45816c>0xf)throw new TypeError(_0x51e3a1(0x23b)+_0x1fcefd+_0x51e3a1(0x1fa)+_0xdffaba);_0xdffaba=_0x45816c;}else{if(!this[_0x51e3a1(0x1e9)])throw new TypeError(_0x51e3a1(0x23b)+_0x1fcefd+_0x51e3a1(0x1fa)+_0xdffaba);}}else{if(_0x1fcefd===_0x51e3a1(0x2ed)){const _0x4ecd8f=+_0xdffaba;if(!Number[_0x51e3a1(0x1de)](_0x4ecd8f)||_0x4ecd8f<0x8||_0x4ecd8f>0xf)throw new TypeError(_0x51e3a1(0x23b)+_0x1fcefd+_0x51e3a1(0x1fa)+_0xdffaba);_0xdffaba=_0x4ecd8f;}else{if(_0x1fcefd===_0x51e3a1(0x267)||_0x1fcefd===_0x51e3a1(0x37a)){if(_0xdffaba!==!0x0)throw new TypeError(_0x51e3a1(0x23b)+_0x1fcefd+_0x51e3a1(0x1fa)+_0xdffaba);}else throw new Error(_0x51e3a1(0x27a)+_0x1fcefd+'\x22');}}_0x4b3756[_0x1fcefd]=_0xdffaba;});}),_0x3b00de;}[_0x1d25f6(0x313)](_0x5734da,_0x2732fc,_0xa38eb1){const _0x2607b2=_0x1d25f6;_0x5ec01a[_0x2607b2(0x2b3)](_0xccda7b=>{const _0x173b6c=_0x2607b2;this[_0x173b6c(0x31e)](_0x5734da,_0x2732fc,(_0x4bd852,_0x59032f)=>{_0xccda7b(),_0xa38eb1(_0x4bd852,_0x59032f);});});}[_0x1d25f6(0x2e5)](_0x26b4f9,_0x575b77,_0x1db2b8){const _0x5dc091=_0x1d25f6;_0x5ec01a[_0x5dc091(0x2b3)](_0x2d58b5=>{const _0x2be589=_0x5dc091;this[_0x2be589(0x390)](_0x26b4f9,_0x575b77,(_0x268aa2,_0x2e6e84)=>{_0x2d58b5(),_0x1db2b8(_0x268aa2,_0x2e6e84);});});}[_0x1d25f6(0x31e)](_0x4213b6,_0xc24e78,_0x921a05){const _0x3fa47c=_0x1d25f6,_0x2b8329=this['_isServer']?_0x3fa47c(0x35e):_0x3fa47c(0x2fc);if(!this[_0x3fa47c(0x368)]){const _0x27b5eb=_0x2b8329+_0x3fa47c(0x22d),_0x102349=typeof this['params'][_0x27b5eb]!=_0x3fa47c(0x2c8)?_0x558cbd[_0x3fa47c(0x1ff)]:this['params'][_0x27b5eb];this[_0x3fa47c(0x368)]=_0x558cbd['createInflateRaw']({...this[_0x3fa47c(0x225)][_0x3fa47c(0x325)],'windowBits':_0x102349}),this[_0x3fa47c(0x368)][_0x2ee5b8]=this,this[_0x3fa47c(0x368)][_0x10b045]=0x0,this['_inflate'][_0x1dce76]=[],this[_0x3fa47c(0x368)]['on'](_0x3fa47c(0x25d),_0x51c566),this[_0x3fa47c(0x368)]['on'](_0x3fa47c(0x326),_0x3d5254);}this['_inflate'][_0x480123]=_0x921a05,this[_0x3fa47c(0x368)][_0x3fa47c(0x371)](_0x4213b6),_0xc24e78&&this[_0x3fa47c(0x368)][_0x3fa47c(0x371)](_0x11781d),this[_0x3fa47c(0x368)][_0x3fa47c(0x29d)](()=>{const _0x10ccb0=_0x3fa47c,_0x3d7c12=this[_0x10ccb0(0x368)][_0x50f076];if(_0x3d7c12){this['_inflate']['close'](),this[_0x10ccb0(0x368)]=null,_0x921a05(_0x3d7c12);return;}const _0x376a8a=_0x12c2fb['concat'](this[_0x10ccb0(0x368)][_0x1dce76],this[_0x10ccb0(0x368)][_0x10b045]);this['_inflate'][_0x10ccb0(0x2b2)]['endEmitted']?(this['_inflate'][_0x10ccb0(0x39d)](),this['_inflate']=null):(this[_0x10ccb0(0x368)][_0x10b045]=0x0,this[_0x10ccb0(0x368)][_0x1dce76]=[],_0xc24e78&&this[_0x10ccb0(0x1e3)][_0x2b8329+'_no_context_takeover']&&this[_0x10ccb0(0x368)][_0x10ccb0(0x31b)]()),_0x921a05(null,_0x376a8a);});}[_0x1d25f6(0x390)](_0x4e1e93,_0x355b13,_0x5c7a54){const _0x2eda08=_0x1d25f6,_0x335753=this[_0x2eda08(0x1e9)]?_0x2eda08(0x2fc):'client';if(!this['_deflate']){const _0x19abfa=_0x335753+_0x2eda08(0x22d),_0x10ea63=typeof this[_0x2eda08(0x1e3)][_0x19abfa]!=_0x2eda08(0x2c8)?_0x558cbd['Z_DEFAULT_WINDOWBITS']:this[_0x2eda08(0x1e3)][_0x19abfa];this[_0x2eda08(0x1f1)]=_0x558cbd[_0x2eda08(0x328)]({...this[_0x2eda08(0x225)][_0x2eda08(0x2ee)],'windowBits':_0x10ea63}),this[_0x2eda08(0x1f1)][_0x10b045]=0x0,this[_0x2eda08(0x1f1)][_0x1dce76]=[],this[_0x2eda08(0x1f1)]['on'](_0x2eda08(0x326),_0x28b212);}this['_deflate'][_0x480123]=_0x5c7a54,this['_deflate']['write'](_0x4e1e93),this['_deflate']['flush'](_0x558cbd[_0x2eda08(0x1eb)],()=>{const _0x142101=_0x2eda08;if(!this[_0x142101(0x1f1)])return;let _0x2f6a9a=_0x12c2fb['concat'](this[_0x142101(0x1f1)][_0x1dce76],this[_0x142101(0x1f1)][_0x10b045]);_0x355b13&&(_0x2f6a9a=new _0x1f687e(_0x2f6a9a['buffer'],_0x2f6a9a[_0x142101(0x2ec)],_0x2f6a9a[_0x142101(0x2d4)]-0x4)),this[_0x142101(0x1f1)][_0x480123]=null,this[_0x142101(0x1f1)][_0x10b045]=0x0,this[_0x142101(0x1f1)][_0x1dce76]=[],_0x355b13&&this['params'][_0x335753+'_no_context_takeover']&&this[_0x142101(0x1f1)]['reset'](),_0x5c7a54(null,_0x2f6a9a);});}}ve=_0x243b27;function _0x28b212(_0x2b69dc){const _0x447a07=_0x1d25f6;this[_0x1dce76][_0x447a07(0x339)](_0x2b69dc),this[_0x10b045]+=_0x2b69dc[_0x447a07(0x2d4)];}function _0x3d5254(_0x154b3e){const _0xfc69ec=_0x1d25f6;if(this[_0x10b045]+=_0x154b3e['length'],this[_0x2ee5b8][_0xfc69ec(0x212)]<0x1||this[_0x10b045]<=this[_0x2ee5b8][_0xfc69ec(0x212)]){this[_0x1dce76][_0xfc69ec(0x339)](_0x154b3e);return;}this[_0x50f076]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x50f076]['code']=_0xfc69ec(0x352),this[_0x50f076][_0x50db7f]=0x3f1,this[_0xfc69ec(0x36a)](_0xfc69ec(0x326),_0x3d5254),this[_0xfc69ec(0x31b)]();}function _0x51c566(_0xc0e826){const _0x4c74cf=_0x1d25f6;this[_0x2ee5b8][_0x4c74cf(0x368)]=null,_0xc0e826[_0x50db7f]=0x3ef,this[_0x480123](_0xc0e826);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x99fc6b(0x34b)](Object[_0x99fc6b(0x2fb)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x13033a=_0x99fc6b;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x43a251}=wt,{hasBlob:_0x4f7274}=H(),_0x2727db=[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 _0x2844dd(_0x4f3868){return _0x4f3868>=0x3e8&&_0x4f3868<=0x3f6&&_0x4f3868!==0x3ec&&_0x4f3868!==0x3ed&&_0x4f3868!==0x3ee||_0x4f3868>=0xbb8&&_0x4f3868<=0x1387;}function _0x5393ff(_0x3df57f){const _0x5f3ea1=_0x5a3e,_0x523f09=_0x3df57f[_0x5f3ea1(0x2d4)];let _0x257fbf=0x0;for(;_0x257fbf<_0x523f09;)if((_0x3df57f[_0x257fbf]&0x80)===0x0)_0x257fbf++;else{if((_0x3df57f[_0x257fbf]&0xe0)===0xc0){if(_0x257fbf+0x1===_0x523f09||(_0x3df57f[_0x257fbf+0x1]&0xc0)!==0x80||(_0x3df57f[_0x257fbf]&0xfe)===0xc0)return!0x1;_0x257fbf+=0x2;}else{if((_0x3df57f[_0x257fbf]&0xf0)===0xe0){if(_0x257fbf+0x2>=_0x523f09||(_0x3df57f[_0x257fbf+0x1]&0xc0)!==0x80||(_0x3df57f[_0x257fbf+0x2]&0xc0)!==0x80||_0x3df57f[_0x257fbf]===0xe0&&(_0x3df57f[_0x257fbf+0x1]&0xe0)===0x80||_0x3df57f[_0x257fbf]===0xed&&(_0x3df57f[_0x257fbf+0x1]&0xe0)===0xa0)return!0x1;_0x257fbf+=0x3;}else{if((_0x3df57f[_0x257fbf]&0xf8)===0xf0){if(_0x257fbf+0x3>=_0x523f09||(_0x3df57f[_0x257fbf+0x1]&0xc0)!==0x80||(_0x3df57f[_0x257fbf+0x2]&0xc0)!==0x80||(_0x3df57f[_0x257fbf+0x3]&0xc0)!==0x80||_0x3df57f[_0x257fbf]===0xf0&&(_0x3df57f[_0x257fbf+0x1]&0xf0)===0x80||_0x3df57f[_0x257fbf]===0xf4&&_0x3df57f[_0x257fbf+0x1]>0x8f||_0x3df57f[_0x257fbf]>0xf4)return!0x1;_0x257fbf+=0x4;}else return!0x1;}}}return!0x0;}function _0x17e9df(_0x5ade7d){const _0x1a8600=_0x5a3e;return _0x4f7274&&typeof _0x5ade7d==_0x1a8600(0x2e4)&&typeof _0x5ade7d['arrayBuffer']==_0x1a8600(0x336)&&typeof _0x5ade7d[_0x1a8600(0x273)]=='string'&&typeof _0x5ade7d[_0x1a8600(0x2c6)]==_0x1a8600(0x336)&&(_0x5ade7d[Symbol[_0x1a8600(0x209)]]===_0x1a8600(0x2c5)||_0x5ade7d[Symbol[_0x1a8600(0x209)]]===_0x1a8600(0x3a0));}if(ie[_0x13033a(0x33c)]={'isBlob':_0x17e9df,'isValidStatusCode':_0x2844dd,'isValidUTF8':_0x5393ff,'tokenChars':_0x2727db},_0x43a251)ie[_0x13033a(0x33c)][_0x13033a(0x2c1)]=function(_0x36a5b0){const _0xe77604=_0x13033a;return _0x36a5b0[_0xe77604(0x2d4)]<0x18?_0x5393ff(_0x36a5b0):_0x43a251(_0x36a5b0);};else{if(!process[_0x13033a(0x304)][_0x13033a(0x33b)])try{const _0x1aa425=Bt;ie['exports'][_0x13033a(0x2c1)]=function(_0x176478){const _0x1283f5=_0x13033a;return _0x176478[_0x1283f5(0x2d4)]<0x20?_0x5393ff(_0x176478):_0x1aa425(_0x176478);};}catch{}}return ie[_0x13033a(0x33c)];}var Se,Ke;function _0x5a3e(_0x39c5e6,_0x42f4eb){const _0x4c7810=_0x4c78();return _0x5a3e=function(_0x5a3e94,_0x337fa9){_0x5a3e94=_0x5a3e94-0x1da;let _0x2e4a4e=_0x4c7810[_0x5a3e94];return _0x2e4a4e;},_0x5a3e(_0x39c5e6,_0x42f4eb);}function lt(){const _0x7d920=_0x99fc6b;if(Ke)return Se;Ke=0x1;const {Writable:_0x446901}=oe,_0x1ec36d=he(),{BINARY_TYPES:_0x171eba,EMPTY_BUFFER:_0x4095a1,kStatusCode:_0x2e54f2,kWebSocket:_0x7a3ff3}=H(),{concat:_0x58257b,toArrayBuffer:_0x255be9,unmask:_0x531d73}=ce(),{isValidStatusCode:_0x5712ee,isValidUTF8:_0x523593}=ae(),_0x2e3635=Buffer[Symbol[_0x7d920(0x372)]],_0x44c23d=0x0,_0xc459cc=0x1,_0x4fe81b=0x2,_0xfba372=0x3,_0x30e75b=0x4,_0x3047d1=0x5,_0x276b1d=0x6;class _0x3a1a1a extends _0x446901{constructor(_0x55c8ad={}){const _0x52eca4=_0x7d920;super(),this[_0x52eca4(0x2b7)]=_0x55c8ad[_0x52eca4(0x23e)]!==void 0x0?_0x55c8ad[_0x52eca4(0x23e)]:!0x0,this['_binaryType']=_0x55c8ad[_0x52eca4(0x2b0)]||_0x171eba[0x0],this[_0x52eca4(0x318)]=_0x55c8ad[_0x52eca4(0x275)]||{},this[_0x52eca4(0x1e9)]=!!_0x55c8ad['isServer'],this[_0x52eca4(0x212)]=_0x55c8ad[_0x52eca4(0x287)]|0x0,this[_0x52eca4(0x35d)]=!!_0x55c8ad[_0x52eca4(0x201)],this[_0x7a3ff3]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x52eca4(0x2a7)]=!0x1,this['_payloadLength']=0x0,this[_0x52eca4(0x2ae)]=void 0x0,this['_fragmented']=0x0,this[_0x52eca4(0x297)]=!0x1,this['_fin']=!0x1,this[_0x52eca4(0x2f1)]=0x0,this[_0x52eca4(0x30a)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x52eca4(0x292)]=!0x1,this[_0x52eca4(0x361)]=!0x1,this[_0x52eca4(0x27b)]=_0x44c23d;}['_write'](_0x22cd63,_0x112753,_0x17d029){const _0x432978=_0x7d920;if(this['_opcode']===0x8&&this['_state']==_0x44c23d)return _0x17d029();this[_0x432978(0x301)]+=_0x22cd63['length'],this['_buffers'][_0x432978(0x339)](_0x22cd63),this[_0x432978(0x1f2)](_0x17d029);}[_0x7d920(0x293)](_0x25e0c1){const _0x583f73=_0x7d920;if(this[_0x583f73(0x301)]-=_0x25e0c1,_0x25e0c1===this[_0x583f73(0x2ac)][0x0][_0x583f73(0x2d4)])return this[_0x583f73(0x2ac)]['shift']();if(_0x25e0c1<this[_0x583f73(0x2ac)][0x0]['length']){const _0x1807c6=this[_0x583f73(0x2ac)][0x0];return this[_0x583f73(0x2ac)][0x0]=new _0x2e3635(_0x1807c6[_0x583f73(0x247)],_0x1807c6[_0x583f73(0x2ec)]+_0x25e0c1,_0x1807c6[_0x583f73(0x2d4)]-_0x25e0c1),new _0x2e3635(_0x1807c6[_0x583f73(0x247)],_0x1807c6[_0x583f73(0x2ec)],_0x25e0c1);}const _0x39b9a0=Buffer[_0x583f73(0x242)](_0x25e0c1);do{const _0x14193f=this[_0x583f73(0x2ac)][0x0],_0x18aba8=_0x39b9a0[_0x583f73(0x2d4)]-_0x25e0c1;_0x25e0c1>=_0x14193f[_0x583f73(0x2d4)]?_0x39b9a0['set'](this[_0x583f73(0x2ac)][_0x583f73(0x1ea)](),_0x18aba8):(_0x39b9a0[_0x583f73(0x2dc)](new Uint8Array(_0x14193f[_0x583f73(0x247)],_0x14193f['byteOffset'],_0x25e0c1),_0x18aba8),this[_0x583f73(0x2ac)][0x0]=new _0x2e3635(_0x14193f['buffer'],_0x14193f['byteOffset']+_0x25e0c1,_0x14193f[_0x583f73(0x2d4)]-_0x25e0c1)),_0x25e0c1-=_0x14193f[_0x583f73(0x2d4)];}while(_0x25e0c1>0x0);return _0x39b9a0;}[_0x7d920(0x1f2)](_0x33055b){const _0x4320dd=_0x7d920;this['_loop']=!0x0;do switch(this[_0x4320dd(0x27b)]){case _0x44c23d:this[_0x4320dd(0x239)](_0x33055b);break;case _0xc459cc:this[_0x4320dd(0x349)](_0x33055b);break;case _0x4fe81b:this['getPayloadLength64'](_0x33055b);break;case _0xfba372:this['getMask']();break;case _0x30e75b:this['getData'](_0x33055b);break;case _0x3047d1:case _0x276b1d:this[_0x4320dd(0x361)]=!0x1;return;}while(this[_0x4320dd(0x361)]);this['_errored']||_0x33055b();}[_0x7d920(0x239)](_0x133048){const _0x5396f3=_0x7d920;if(this[_0x5396f3(0x301)]<0x2){this[_0x5396f3(0x361)]=!0x1;return;}const _0x107161=this['consume'](0x2);if((_0x107161[0x0]&0x30)!==0x0){const _0x578b32=this['createError'](RangeError,_0x5396f3(0x286),!0x0,0x3ea,_0x5396f3(0x215));_0x133048(_0x578b32);return;}const _0x49e64b=(_0x107161[0x0]&0x40)===0x40;if(_0x49e64b&&!this[_0x5396f3(0x318)][_0x1ec36d[_0x5396f3(0x309)]]){const _0x38c4f2=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x133048(_0x38c4f2);return;}if(this[_0x5396f3(0x31a)]=(_0x107161[0x0]&0x80)===0x80,this[_0x5396f3(0x2f1)]=_0x107161[0x0]&0xf,this[_0x5396f3(0x213)]=_0x107161[0x1]&0x7f,this[_0x5396f3(0x2f1)]===0x0){if(_0x49e64b){const _0x39570b=this[_0x5396f3(0x355)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5396f3(0x1ef));_0x133048(_0x39570b);return;}if(!this['_fragmented']){const _0x18dda4=this[_0x5396f3(0x355)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x5396f3(0x34d));_0x133048(_0x18dda4);return;}this[_0x5396f3(0x2f1)]=this[_0x5396f3(0x398)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x5396f3(0x398)]){const _0x2af542=this[_0x5396f3(0x355)](RangeError,'invalid\x20opcode\x20'+this[_0x5396f3(0x2f1)],!0x0,0x3ea,_0x5396f3(0x34d));_0x133048(_0x2af542);return;}this[_0x5396f3(0x2a7)]=_0x49e64b;}else{if(this[_0x5396f3(0x2f1)]>0x7&&this[_0x5396f3(0x2f1)]<0xb){if(!this[_0x5396f3(0x31a)]){const _0x5521a6=this[_0x5396f3(0x355)](RangeError,_0x5396f3(0x1fb),!0x0,0x3ea,_0x5396f3(0x281));_0x133048(_0x5521a6);return;}if(_0x49e64b){const _0x10f63e=this['createError'](RangeError,_0x5396f3(0x39c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x133048(_0x10f63e);return;}if(this['_payloadLength']>0x7d||this[_0x5396f3(0x2f1)]===0x8&&this['_payloadLength']===0x1){const _0x1b176d=this[_0x5396f3(0x355)](RangeError,_0x5396f3(0x2cd)+this['_payloadLength'],!0x0,0x3ea,_0x5396f3(0x24f));_0x133048(_0x1b176d);return;}}else{const _0x413083=this['createError'](RangeError,_0x5396f3(0x312)+this['_opcode'],!0x0,0x3ea,_0x5396f3(0x34d));_0x133048(_0x413083);return;}}}if(!this['_fin']&&!this[_0x5396f3(0x398)]&&(this['_fragmented']=this[_0x5396f3(0x2f1)]),this[_0x5396f3(0x297)]=(_0x107161[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5396f3(0x297)]){const _0x2406a3=this[_0x5396f3(0x355)](RangeError,_0x5396f3(0x39f),!0x0,0x3ea,_0x5396f3(0x314));_0x133048(_0x2406a3);return;}}else{if(this[_0x5396f3(0x297)]){const _0x22b4d4=this[_0x5396f3(0x355)](RangeError,_0x5396f3(0x1dd),!0x0,0x3ea,_0x5396f3(0x261));_0x133048(_0x22b4d4);return;}}this[_0x5396f3(0x213)]===0x7e?this[_0x5396f3(0x27b)]=_0xc459cc:this['_payloadLength']===0x7f?this['_state']=_0x4fe81b:this[_0x5396f3(0x21c)](_0x133048);}[_0x7d920(0x349)](_0x4f54df){const _0x20684a=_0x7d920;if(this[_0x20684a(0x301)]<0x2){this['_loop']=!0x1;return;}this[_0x20684a(0x213)]=this[_0x20684a(0x293)](0x2)[_0x20684a(0x2e1)](0x0),this[_0x20684a(0x21c)](_0x4f54df);}[_0x7d920(0x1f7)](_0x2b253c){const _0xb61715=_0x7d920;if(this['_bufferedBytes']<0x8){this[_0xb61715(0x361)]=!0x1;return;}const _0xb3c46b=this[_0xb61715(0x293)](0x8),_0x404096=_0xb3c46b[_0xb61715(0x327)](0x0);if(_0x404096>Math[_0xb61715(0x396)](0x2,0x15)-0x1){const _0x3b9fa4=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0xb61715(0x36c));_0x2b253c(_0x3b9fa4);return;}this[_0xb61715(0x213)]=_0x404096*Math['pow'](0x2,0x20)+_0xb3c46b[_0xb61715(0x327)](0x4),this[_0xb61715(0x21c)](_0x2b253c);}[_0x7d920(0x21c)](_0x5084ee){const _0x45678e=_0x7d920;if(this[_0x45678e(0x213)]&&this[_0x45678e(0x2f1)]<0x8&&(this['_totalPayloadLength']+=this[_0x45678e(0x213)],this[_0x45678e(0x30a)]>this[_0x45678e(0x212)]&&this[_0x45678e(0x212)]>0x0)){const _0x345d9b=this[_0x45678e(0x355)](RangeError,_0x45678e(0x320),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5084ee(_0x345d9b);return;}this[_0x45678e(0x297)]?this[_0x45678e(0x27b)]=_0xfba372:this['_state']=_0x30e75b;}['getMask'](){const _0xd192d=_0x7d920;if(this[_0xd192d(0x301)]<0x4){this[_0xd192d(0x361)]=!0x1;return;}this['_mask']=this[_0xd192d(0x293)](0x4),this[_0xd192d(0x27b)]=_0x30e75b;}['getData'](_0x3bb13d){const _0x41639d=_0x7d920;let _0x4911e3=_0x4095a1;if(this['_payloadLength']){if(this[_0x41639d(0x301)]<this['_payloadLength']){this[_0x41639d(0x361)]=!0x1;return;}_0x4911e3=this[_0x41639d(0x293)](this[_0x41639d(0x213)]),this['_masked']&&(this[_0x41639d(0x2ae)][0x0]|this[_0x41639d(0x2ae)][0x1]|this['_mask'][0x2]|this[_0x41639d(0x2ae)][0x3])!==0x0&&_0x531d73(_0x4911e3,this['_mask']);}if(this[_0x41639d(0x2f1)]>0x7){this[_0x41639d(0x2ba)](_0x4911e3,_0x3bb13d);return;}if(this[_0x41639d(0x2a7)]){this[_0x41639d(0x27b)]=_0x3047d1,this[_0x41639d(0x313)](_0x4911e3,_0x3bb13d);return;}_0x4911e3[_0x41639d(0x2d4)]&&(this[_0x41639d(0x28c)]=this[_0x41639d(0x30a)],this['_fragments'][_0x41639d(0x339)](_0x4911e3)),this[_0x41639d(0x28a)](_0x3bb13d);}[_0x7d920(0x313)](_0x29ec4b,_0x3dbe6b){const _0x1b2e72=_0x7d920;this['_extensions'][_0x1ec36d[_0x1b2e72(0x309)]][_0x1b2e72(0x313)](_0x29ec4b,this[_0x1b2e72(0x31a)],(_0x544e37,_0x28b219)=>{const _0x4de44e=_0x1b2e72;if(_0x544e37)return _0x3dbe6b(_0x544e37);if(_0x28b219[_0x4de44e(0x2d4)]){if(this[_0x4de44e(0x28c)]+=_0x28b219[_0x4de44e(0x2d4)],this[_0x4de44e(0x28c)]>this[_0x4de44e(0x212)]&&this[_0x4de44e(0x212)]>0x0){const _0x283451=this['createError'](RangeError,_0x4de44e(0x320),!0x1,0x3f1,_0x4de44e(0x352));_0x3dbe6b(_0x283451);return;}this[_0x4de44e(0x31c)][_0x4de44e(0x339)](_0x28b219);}this['dataMessage'](_0x3dbe6b),this[_0x4de44e(0x27b)]===_0x44c23d&&this[_0x4de44e(0x1f2)](_0x3dbe6b);});}[_0x7d920(0x28a)](_0x5b96c0){const _0x3f3e5d=_0x7d920;if(!this[_0x3f3e5d(0x31a)]){this[_0x3f3e5d(0x27b)]=_0x44c23d;return;}const _0x5b6c6e=this['_messageLength'],_0x1d4316=this[_0x3f3e5d(0x31c)];if(this['_totalPayloadLength']=0x0,this[_0x3f3e5d(0x28c)]=0x0,this[_0x3f3e5d(0x398)]=0x0,this[_0x3f3e5d(0x31c)]=[],this[_0x3f3e5d(0x2f1)]===0x2){let _0x2d2304;this[_0x3f3e5d(0x2bd)]===_0x3f3e5d(0x228)?_0x2d2304=_0x58257b(_0x1d4316,_0x5b6c6e):this[_0x3f3e5d(0x2bd)]===_0x3f3e5d(0x1fd)?_0x2d2304=_0x255be9(_0x58257b(_0x1d4316,_0x5b6c6e)):this[_0x3f3e5d(0x2bd)]===_0x3f3e5d(0x2d3)?_0x2d2304=new Blob(_0x1d4316):_0x2d2304=_0x1d4316,this[_0x3f3e5d(0x2b7)]?(this['emit']('message',_0x2d2304,!0x0),this[_0x3f3e5d(0x27b)]=_0x44c23d):(this[_0x3f3e5d(0x27b)]=_0x276b1d,setImmediate(()=>{const _0x17ea2e=_0x3f3e5d;this[_0x17ea2e(0x30d)](_0x17ea2e(0x37e),_0x2d2304,!0x0),this[_0x17ea2e(0x27b)]=_0x44c23d,this['startLoop'](_0x5b96c0);}));}else{const _0x32e52c=_0x58257b(_0x1d4316,_0x5b6c6e);if(!this[_0x3f3e5d(0x35d)]&&!_0x523593(_0x32e52c)){const _0x3e016a=this[_0x3f3e5d(0x355)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3f3e5d(0x38c));_0x5b96c0(_0x3e016a);return;}this[_0x3f3e5d(0x27b)]===_0x3047d1||this[_0x3f3e5d(0x2b7)]?(this['emit']('message',_0x32e52c,!0x1),this[_0x3f3e5d(0x27b)]=_0x44c23d):(this[_0x3f3e5d(0x27b)]=_0x276b1d,setImmediate(()=>{const _0x221b87=_0x3f3e5d;this[_0x221b87(0x30d)](_0x221b87(0x37e),_0x32e52c,!0x1),this[_0x221b87(0x27b)]=_0x44c23d,this[_0x221b87(0x1f2)](_0x5b96c0);}));}}[_0x7d920(0x2ba)](_0x4d5f2a,_0x2c9664){const _0xfa73b=_0x7d920;if(this[_0xfa73b(0x2f1)]===0x8){if(_0x4d5f2a[_0xfa73b(0x2d4)]===0x0)this[_0xfa73b(0x361)]=!0x1,this['emit'](_0xfa73b(0x20c),0x3ed,_0x4095a1),this['end']();else{const _0x4f55ca=_0x4d5f2a[_0xfa73b(0x2e1)](0x0);if(!_0x5712ee(_0x4f55ca)){const _0x1528ce=this[_0xfa73b(0x355)](RangeError,_0xfa73b(0x202)+_0x4f55ca,!0x0,0x3ea,_0xfa73b(0x237));_0x2c9664(_0x1528ce);return;}const _0x50330d=new _0x2e3635(_0x4d5f2a['buffer'],_0x4d5f2a['byteOffset']+0x2,_0x4d5f2a[_0xfa73b(0x2d4)]-0x2);if(!this[_0xfa73b(0x35d)]&&!_0x523593(_0x50330d)){const _0x4fd1c7=this[_0xfa73b(0x355)](Error,_0xfa73b(0x28b),!0x0,0x3ef,_0xfa73b(0x38c));_0x2c9664(_0x4fd1c7);return;}this[_0xfa73b(0x361)]=!0x1,this[_0xfa73b(0x30d)](_0xfa73b(0x20c),_0x4f55ca,_0x50330d),this[_0xfa73b(0x311)]();}this[_0xfa73b(0x27b)]=_0x44c23d;return;}this[_0xfa73b(0x2b7)]?(this['emit'](this[_0xfa73b(0x2f1)]===0x9?'ping':'pong',_0x4d5f2a),this[_0xfa73b(0x27b)]=_0x44c23d):(this[_0xfa73b(0x27b)]=_0x276b1d,setImmediate(()=>{const _0x4ee307=_0xfa73b;this[_0x4ee307(0x30d)](this[_0x4ee307(0x2f1)]===0x9?_0x4ee307(0x296):_0x4ee307(0x1f6),_0x4d5f2a),this[_0x4ee307(0x27b)]=_0x44c23d,this[_0x4ee307(0x1f2)](_0x2c9664);}));}[_0x7d920(0x355)](_0x6affb3,_0x5bd3c0,_0x440b4e,_0x3c2e4a,_0x2d27ba){const _0x62d01c=_0x7d920;this[_0x62d01c(0x361)]=!0x1,this[_0x62d01c(0x292)]=!0x0;const _0x2e2b17=new _0x6affb3(_0x440b4e?_0x62d01c(0x259)+_0x5bd3c0:_0x5bd3c0);return Error[_0x62d01c(0x299)](_0x2e2b17,this[_0x62d01c(0x355)]),_0x2e2b17[_0x62d01c(0x236)]=_0x2d27ba,_0x2e2b17[_0x2e54f2]=_0x3c2e4a,_0x2e2b17;}}return Se=_0x3a1a1a,Se;}var Ee,Xe;function ft(){const _0x578e58=_0x99fc6b;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x27867c}=oe,{randomFillSync:_0x43844b}=Le,_0x4863a4=he(),{EMPTY_BUFFER:_0x5df93f,kWebSocket:_0x2545ef,NOOP:_0x29cc2a}=H(),{isBlob:_0x42db82,isValidStatusCode:_0x57e1c6}=ae(),{mask:_0xd80b5f,toBuffer:_0x5734c7}=ce(),_0xf3a229=Symbol(_0x578e58(0x332)),_0x3e718a=Buffer['alloc'](0x4),_0x2a0886=0x8*0x400;let _0x42ca70,_0x4e1074=_0x2a0886;const _0x2eaa0e=0x0,_0x413e23=0x1,_0xace500=0x2;class _0x441303{constructor(_0x66e321,_0x305997,_0x1e5215){const _0x58396f=_0x578e58;this['_extensions']=_0x305997||{},_0x1e5215&&(this['_generateMask']=_0x1e5215,this[_0x58396f(0x2ce)]=Buffer[_0x58396f(0x38e)](0x4)),this[_0x58396f(0x362)]=_0x66e321,this[_0x58396f(0x25e)]=!0x0,this[_0x58396f(0x390)]=!0x1,this[_0x58396f(0x301)]=0x0,this[_0x58396f(0x382)]=[],this['_state']=_0x2eaa0e,this[_0x58396f(0x29c)]=_0x29cc2a,this[_0x2545ef]=void 0x0;}static['frame'](_0x17afd1,_0x5a19de){const _0x36bf05=_0x578e58;let _0x20ef29,_0x683b70=!0x1,_0x7f3e25=0x2,_0x1073d7=!0x1;_0x5a19de[_0x36bf05(0x25a)]&&(_0x20ef29=_0x5a19de[_0x36bf05(0x284)]||_0x3e718a,_0x5a19de[_0x36bf05(0x387)]?_0x5a19de[_0x36bf05(0x387)](_0x20ef29):(_0x4e1074===_0x2a0886&&(_0x42ca70===void 0x0&&(_0x42ca70=Buffer[_0x36bf05(0x38e)](_0x2a0886)),_0x43844b(_0x42ca70,0x0,_0x2a0886),_0x4e1074=0x0),_0x20ef29[0x0]=_0x42ca70[_0x4e1074++],_0x20ef29[0x1]=_0x42ca70[_0x4e1074++],_0x20ef29[0x2]=_0x42ca70[_0x4e1074++],_0x20ef29[0x3]=_0x42ca70[_0x4e1074++]),_0x1073d7=(_0x20ef29[0x0]|_0x20ef29[0x1]|_0x20ef29[0x2]|_0x20ef29[0x3])===0x0,_0x7f3e25=0x6);let _0x1bf050;typeof _0x17afd1==_0x36bf05(0x369)?(!_0x5a19de[_0x36bf05(0x25a)]||_0x1073d7)&&_0x5a19de[_0xf3a229]!==void 0x0?_0x1bf050=_0x5a19de[_0xf3a229]:(_0x17afd1=Buffer[_0x36bf05(0x279)](_0x17afd1),_0x1bf050=_0x17afd1[_0x36bf05(0x2d4)]):(_0x1bf050=_0x17afd1[_0x36bf05(0x2d4)],_0x683b70=_0x5a19de[_0x36bf05(0x25a)]&&_0x5a19de[_0x36bf05(0x2d8)]&&!_0x1073d7);let _0x130cad=_0x1bf050;_0x1bf050>=0x10000?(_0x7f3e25+=0x8,_0x130cad=0x7f):_0x1bf050>0x7d&&(_0x7f3e25+=0x2,_0x130cad=0x7e);const _0x3bfab9=Buffer[_0x36bf05(0x242)](_0x683b70?_0x1bf050+_0x7f3e25:_0x7f3e25);return _0x3bfab9[0x0]=_0x5a19de[_0x36bf05(0x397)]?_0x5a19de['opcode']|0x80:_0x5a19de[_0x36bf05(0x249)],_0x5a19de[_0x36bf05(0x353)]&&(_0x3bfab9[0x0]|=0x40),_0x3bfab9[0x1]=_0x130cad,_0x130cad===0x7e?_0x3bfab9[_0x36bf05(0x308)](_0x1bf050,0x2):_0x130cad===0x7f&&(_0x3bfab9[0x2]=_0x3bfab9[0x3]=0x0,_0x3bfab9[_0x36bf05(0x21a)](_0x1bf050,0x4,0x6)),_0x5a19de[_0x36bf05(0x25a)]?(_0x3bfab9[0x1]|=0x80,_0x3bfab9[_0x7f3e25-0x4]=_0x20ef29[0x0],_0x3bfab9[_0x7f3e25-0x3]=_0x20ef29[0x1],_0x3bfab9[_0x7f3e25-0x2]=_0x20ef29[0x2],_0x3bfab9[_0x7f3e25-0x1]=_0x20ef29[0x3],_0x1073d7?[_0x3bfab9,_0x17afd1]:_0x683b70?(_0xd80b5f(_0x17afd1,_0x20ef29,_0x3bfab9,_0x7f3e25,_0x1bf050),[_0x3bfab9]):(_0xd80b5f(_0x17afd1,_0x20ef29,_0x17afd1,0x0,_0x1bf050),[_0x3bfab9,_0x17afd1])):[_0x3bfab9,_0x17afd1];}[_0x578e58(0x39d)](_0x3de911,_0x2e445a,_0x1448cc,_0x31b9bf){const _0x1c5c23=_0x578e58;let _0x16bbc7;if(_0x3de911===void 0x0)_0x16bbc7=_0x5df93f;else{if(typeof _0x3de911!=_0x1c5c23(0x2c8)||!_0x57e1c6(_0x3de911))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2e445a===void 0x0||!_0x2e445a[_0x1c5c23(0x2d4)])_0x16bbc7=Buffer[_0x1c5c23(0x242)](0x2),_0x16bbc7[_0x1c5c23(0x308)](_0x3de911,0x0);else{const _0x5f2cd0=Buffer['byteLength'](_0x2e445a);if(_0x5f2cd0>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x16bbc7=Buffer[_0x1c5c23(0x242)](0x2+_0x5f2cd0),_0x16bbc7[_0x1c5c23(0x308)](_0x3de911,0x0),typeof _0x2e445a==_0x1c5c23(0x369)?_0x16bbc7[_0x1c5c23(0x371)](_0x2e445a,0x2):_0x16bbc7['set'](_0x2e445a,0x2);}}const _0x2de6ee={[_0xf3a229]:_0x16bbc7[_0x1c5c23(0x2d4)],'fin':!0x0,'generateMask':this[_0x1c5c23(0x2ad)],'mask':_0x1448cc,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1c5c23(0x27b)]!==_0x2eaa0e?this[_0x1c5c23(0x322)]([this[_0x1c5c23(0x2a1)],_0x16bbc7,!0x1,_0x2de6ee,_0x31b9bf]):this['sendFrame'](_0x441303['frame'](_0x16bbc7,_0x2de6ee),_0x31b9bf);}[_0x578e58(0x296)](_0x1f2f7b,_0x3e45e1,_0x118cf5){const _0x148bb5=_0x578e58;let _0x309c3f,_0x5e8d76;if(typeof _0x1f2f7b=='string'?(_0x309c3f=Buffer[_0x148bb5(0x360)](_0x1f2f7b),_0x5e8d76=!0x1):_0x42db82(_0x1f2f7b)?(_0x309c3f=_0x1f2f7b['size'],_0x5e8d76=!0x1):(_0x1f2f7b=_0x5734c7(_0x1f2f7b),_0x309c3f=_0x1f2f7b[_0x148bb5(0x2d4)],_0x5e8d76=_0x5734c7['readOnly']),_0x309c3f>0x7d)throw new RangeError(_0x148bb5(0x39a));const _0x30bb03={[_0xf3a229]:_0x309c3f,'fin':!0x0,'generateMask':this[_0x148bb5(0x2ad)],'mask':_0x3e45e1,'maskBuffer':this[_0x148bb5(0x2ce)],'opcode':0x9,'readOnly':_0x5e8d76,'rsv1':!0x1};_0x42db82(_0x1f2f7b)?this[_0x148bb5(0x27b)]!==_0x2eaa0e?this[_0x148bb5(0x322)]([this[_0x148bb5(0x1df)],_0x1f2f7b,!0x1,_0x30bb03,_0x118cf5]):this['getBlobData'](_0x1f2f7b,!0x1,_0x30bb03,_0x118cf5):this[_0x148bb5(0x27b)]!==_0x2eaa0e?this['enqueue']([this['dispatch'],_0x1f2f7b,!0x1,_0x30bb03,_0x118cf5]):this['sendFrame'](_0x441303[_0x148bb5(0x36d)](_0x1f2f7b,_0x30bb03),_0x118cf5);}['pong'](_0x461843,_0x4944c9,_0x40bf8c){const _0x18588e=_0x578e58;let _0x318497,_0x2f36e5;if(typeof _0x461843=='string'?(_0x318497=Buffer[_0x18588e(0x360)](_0x461843),_0x2f36e5=!0x1):_0x42db82(_0x461843)?(_0x318497=_0x461843[_0x18588e(0x365)],_0x2f36e5=!0x1):(_0x461843=_0x5734c7(_0x461843),_0x318497=_0x461843[_0x18588e(0x2d4)],_0x2f36e5=_0x5734c7[_0x18588e(0x2d8)]),_0x318497>0x7d)throw new RangeError(_0x18588e(0x39a));const _0x3ca5c5={[_0xf3a229]:_0x318497,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4944c9,'maskBuffer':this[_0x18588e(0x2ce)],'opcode':0xa,'readOnly':_0x2f36e5,'rsv1':!0x1};_0x42db82(_0x461843)?this['_state']!==_0x2eaa0e?this[_0x18588e(0x322)]([this[_0x18588e(0x1df)],_0x461843,!0x1,_0x3ca5c5,_0x40bf8c]):this['getBlobData'](_0x461843,!0x1,_0x3ca5c5,_0x40bf8c):this[_0x18588e(0x27b)]!==_0x2eaa0e?this[_0x18588e(0x322)]([this[_0x18588e(0x2a1)],_0x461843,!0x1,_0x3ca5c5,_0x40bf8c]):this[_0x18588e(0x2de)](_0x441303[_0x18588e(0x36d)](_0x461843,_0x3ca5c5),_0x40bf8c);}['send'](_0x535b4a,_0x6aff17,_0x35c513){const _0x5f4f94=_0x578e58,_0x49175d=this['_extensions'][_0x4863a4[_0x5f4f94(0x309)]];let _0x218ec1=_0x6aff17[_0x5f4f94(0x258)]?0x2:0x1,_0x355341=_0x6aff17[_0x5f4f94(0x2e5)],_0x259f0a,_0x5c5ad0;typeof _0x535b4a=='string'?(_0x259f0a=Buffer[_0x5f4f94(0x360)](_0x535b4a),_0x5c5ad0=!0x1):_0x42db82(_0x535b4a)?(_0x259f0a=_0x535b4a[_0x5f4f94(0x365)],_0x5c5ad0=!0x1):(_0x535b4a=_0x5734c7(_0x535b4a),_0x259f0a=_0x535b4a[_0x5f4f94(0x2d4)],_0x5c5ad0=_0x5734c7['readOnly']),this[_0x5f4f94(0x25e)]?(this[_0x5f4f94(0x25e)]=!0x1,_0x355341&&_0x49175d&&_0x49175d[_0x5f4f94(0x1e3)][_0x49175d['_isServer']?_0x5f4f94(0x37a):_0x5f4f94(0x267)]&&(_0x355341=_0x259f0a>=_0x49175d[_0x5f4f94(0x276)]),this[_0x5f4f94(0x390)]=_0x355341):(_0x355341=!0x1,_0x218ec1=0x0),_0x6aff17['fin']&&(this[_0x5f4f94(0x25e)]=!0x0);const _0x1b5be5={[_0xf3a229]:_0x259f0a,'fin':_0x6aff17[_0x5f4f94(0x397)],'generateMask':this[_0x5f4f94(0x2ad)],'mask':_0x6aff17[_0x5f4f94(0x25a)],'maskBuffer':this[_0x5f4f94(0x2ce)],'opcode':_0x218ec1,'readOnly':_0x5c5ad0,'rsv1':_0x355341};_0x42db82(_0x535b4a)?this[_0x5f4f94(0x27b)]!==_0x2eaa0e?this[_0x5f4f94(0x322)]([this[_0x5f4f94(0x1df)],_0x535b4a,this[_0x5f4f94(0x390)],_0x1b5be5,_0x35c513]):this['getBlobData'](_0x535b4a,this['_compress'],_0x1b5be5,_0x35c513):this[_0x5f4f94(0x27b)]!==_0x2eaa0e?this['enqueue']([this[_0x5f4f94(0x2a1)],_0x535b4a,this[_0x5f4f94(0x390)],_0x1b5be5,_0x35c513]):this['dispatch'](_0x535b4a,this[_0x5f4f94(0x390)],_0x1b5be5,_0x35c513);}['getBlobData'](_0x79d13c,_0x40e5bf,_0x233ba3,_0x2878d7){const _0x3d2e2a=_0x578e58;this['_bufferedBytes']+=_0x233ba3[_0xf3a229],this[_0x3d2e2a(0x27b)]=_0xace500,_0x79d13c['arrayBuffer']()[_0x3d2e2a(0x2be)](_0x1611be=>{const _0x556af0=_0x3d2e2a;if(this['_socket'][_0x556af0(0x2e3)]){const _0x354b78=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x2a1edc,this,_0x354b78,_0x2878d7);return;}this[_0x556af0(0x301)]-=_0x233ba3[_0xf3a229];const _0x1720d1=_0x5734c7(_0x1611be);_0x40e5bf?this[_0x556af0(0x2a1)](_0x1720d1,_0x40e5bf,_0x233ba3,_0x2878d7):(this['_state']=_0x2eaa0e,this[_0x556af0(0x2de)](_0x441303[_0x556af0(0x36d)](_0x1720d1,_0x233ba3),_0x2878d7),this[_0x556af0(0x238)]());})['catch'](_0x2a3b98=>{const _0x58c729=_0x3d2e2a;process[_0x58c729(0x315)](_0x2ac79d,this,_0x2a3b98,_0x2878d7);});}[_0x578e58(0x2a1)](_0x8eeafd,_0x167889,_0x31eac7,_0x5f311d){const _0x2a114b=_0x578e58;if(!_0x167889){this['sendFrame'](_0x441303[_0x2a114b(0x36d)](_0x8eeafd,_0x31eac7),_0x5f311d);return;}const _0x59324e=this['_extensions'][_0x4863a4[_0x2a114b(0x309)]];this[_0x2a114b(0x301)]+=_0x31eac7[_0xf3a229],this[_0x2a114b(0x27b)]=_0x413e23,_0x59324e[_0x2a114b(0x2e5)](_0x8eeafd,_0x31eac7[_0x2a114b(0x397)],(_0x204733,_0x105ad3)=>{const _0x2c7002=_0x2a114b;if(this[_0x2c7002(0x362)]['destroyed']){const _0x1fa5a4=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2a1edc(this,_0x1fa5a4,_0x5f311d);return;}this[_0x2c7002(0x301)]-=_0x31eac7[_0xf3a229],this[_0x2c7002(0x27b)]=_0x2eaa0e,_0x31eac7['readOnly']=!0x1,this[_0x2c7002(0x2de)](_0x441303[_0x2c7002(0x36d)](_0x105ad3,_0x31eac7),_0x5f311d),this[_0x2c7002(0x238)]();});}['dequeue'](){const _0x670868=_0x578e58;for(;this[_0x670868(0x27b)]===_0x2eaa0e&&this['_queue']['length'];){const _0x216473=this[_0x670868(0x382)]['shift']();this[_0x670868(0x301)]-=_0x216473[0x3][_0xf3a229],Reflect[_0x670868(0x2c4)](_0x216473[0x0],this,_0x216473['slice'](0x1));}}[_0x578e58(0x322)](_0x503620){const _0x10edb1=_0x578e58;this[_0x10edb1(0x301)]+=_0x503620[0x3][_0xf3a229],this[_0x10edb1(0x382)][_0x10edb1(0x339)](_0x503620);}[_0x578e58(0x2de)](_0x5800e5,_0x572708){const _0x4d6b6f=_0x578e58;_0x5800e5[_0x4d6b6f(0x2d4)]===0x2?(this[_0x4d6b6f(0x362)]['cork'](),this[_0x4d6b6f(0x362)][_0x4d6b6f(0x371)](_0x5800e5[0x0]),this[_0x4d6b6f(0x362)]['write'](_0x5800e5[0x1],_0x572708),this[_0x4d6b6f(0x362)]['uncork']()):this[_0x4d6b6f(0x362)][_0x4d6b6f(0x371)](_0x5800e5[0x0],_0x572708);}}Ee=_0x441303;function _0x2a1edc(_0x5c5382,_0x2c8dcb,_0x31541d){const _0x5834a8=_0x578e58;typeof _0x31541d==_0x5834a8(0x336)&&_0x31541d(_0x2c8dcb);for(let _0x2b908d=0x0;_0x2b908d<_0x5c5382[_0x5834a8(0x382)][_0x5834a8(0x2d4)];_0x2b908d++){const _0x3acfc0=_0x5c5382[_0x5834a8(0x382)][_0x2b908d],_0x581ee1=_0x3acfc0[_0x3acfc0[_0x5834a8(0x2d4)]-0x1];typeof _0x581ee1==_0x5834a8(0x336)&&_0x581ee1(_0x2c8dcb);}}function _0x2ac79d(_0x36c88d,_0x511f75,_0x40df81){_0x2a1edc(_0x36c88d,_0x511f75,_0x40df81),_0x36c88d['onerror'](_0x511f75);}return Ee;}var xe,Ze;function It(){const _0x22a6b8=_0x99fc6b;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x24e761,kListener:_0x1d4932}=H(),_0x532ecc=Symbol(_0x22a6b8(0x1e6)),_0x44a0b5=Symbol('kData'),_0x19a039=Symbol(_0x22a6b8(0x2fe)),_0x2669d3=Symbol(_0x22a6b8(0x219)),_0x213039=Symbol(_0x22a6b8(0x268)),_0x431fda=Symbol(_0x22a6b8(0x395)),_0x13fab9=Symbol('kType'),_0x241fe7=Symbol(_0x22a6b8(0x2eb));class _0x365b25{constructor(_0x5290ab){this[_0x431fda]=null,this[_0x13fab9]=_0x5290ab;}get[_0x22a6b8(0x379)](){return this[_0x431fda];}get[_0x22a6b8(0x273)](){return this[_0x13fab9];}}Object['defineProperty'](_0x365b25[_0x22a6b8(0x271)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x365b25[_0x22a6b8(0x271)],'type',{'enumerable':!0x0});class _0x543179 extends _0x365b25{constructor(_0x6e613b,_0x4d8e92={}){const _0x3c7748=_0x22a6b8;super(_0x6e613b),this[_0x532ecc]=_0x4d8e92['code']===void 0x0?0x0:_0x4d8e92['code'],this[_0x213039]=_0x4d8e92[_0x3c7748(0x28d)]===void 0x0?'':_0x4d8e92[_0x3c7748(0x28d)],this[_0x241fe7]=_0x4d8e92[_0x3c7748(0x211)]===void 0x0?!0x1:_0x4d8e92[_0x3c7748(0x211)];}get[_0x22a6b8(0x236)](){return this[_0x532ecc];}get['reason'](){return this[_0x213039];}get[_0x22a6b8(0x211)](){return this[_0x241fe7];}}Object[_0x22a6b8(0x2fb)](_0x543179[_0x22a6b8(0x271)],_0x22a6b8(0x236),{'enumerable':!0x0}),Object['defineProperty'](_0x543179[_0x22a6b8(0x271)],_0x22a6b8(0x28d),{'enumerable':!0x0}),Object['defineProperty'](_0x543179[_0x22a6b8(0x271)],'wasClean',{'enumerable':!0x0});class _0x575ce9 extends _0x365b25{constructor(_0x59d492,_0xda64ba={}){const _0x5a9d92=_0x22a6b8;super(_0x59d492),this[_0x19a039]=_0xda64ba[_0x5a9d92(0x25d)]===void 0x0?null:_0xda64ba[_0x5a9d92(0x25d)],this[_0x2669d3]=_0xda64ba[_0x5a9d92(0x37e)]===void 0x0?'':_0xda64ba[_0x5a9d92(0x37e)];}get[_0x22a6b8(0x25d)](){return this[_0x19a039];}get[_0x22a6b8(0x37e)](){return this[_0x2669d3];}}Object['defineProperty'](_0x575ce9[_0x22a6b8(0x271)],_0x22a6b8(0x25d),{'enumerable':!0x0}),Object['defineProperty'](_0x575ce9[_0x22a6b8(0x271)],_0x22a6b8(0x37e),{'enumerable':!0x0});class _0x2a0c99 extends _0x365b25{constructor(_0x4c2b8f,_0x3d9d36={}){const _0x43bc48=_0x22a6b8;super(_0x4c2b8f),this[_0x44a0b5]=_0x3d9d36[_0x43bc48(0x326)]===void 0x0?null:_0x3d9d36['data'];}get[_0x22a6b8(0x326)](){return this[_0x44a0b5];}}Object[_0x22a6b8(0x2fb)](_0x2a0c99[_0x22a6b8(0x271)],_0x22a6b8(0x326),{'enumerable':!0x0}),xe={'CloseEvent':_0x543179,'ErrorEvent':_0x575ce9,'Event':_0x365b25,'EventTarget':{'addEventListener'(_0x50904a,_0x3f4d0b,_0x42cb8a={}){const _0x52b7cf=_0x22a6b8;for(const _0xf9dee of this[_0x52b7cf(0x32d)](_0x50904a))if(!_0x42cb8a[_0x24e761]&&_0xf9dee[_0x1d4932]===_0x3f4d0b&&!_0xf9dee[_0x24e761])return;let _0x4ccf53;if(_0x50904a===_0x52b7cf(0x37e))_0x4ccf53=function(_0x35e588,_0x3ee72f){const _0x308233=_0x52b7cf,_0x1aaf4d=new _0x2a0c99(_0x308233(0x37e),{'data':_0x3ee72f?_0x35e588:_0x35e588[_0x308233(0x38d)]()});_0x1aaf4d[_0x431fda]=this,_0x2b505c(_0x3f4d0b,this,_0x1aaf4d);};else{if(_0x50904a===_0x52b7cf(0x39d))_0x4ccf53=function(_0x43a9b8,_0x585163){const _0x5bc04d=_0x52b7cf,_0x2cccdd=new _0x543179(_0x5bc04d(0x39d),{'code':_0x43a9b8,'reason':_0x585163[_0x5bc04d(0x38d)](),'wasClean':this[_0x5bc04d(0x33f)]&&this[_0x5bc04d(0x2ab)]});_0x2cccdd[_0x431fda]=this,_0x2b505c(_0x3f4d0b,this,_0x2cccdd);};else{if(_0x50904a===_0x52b7cf(0x25d))_0x4ccf53=function(_0x3f69b7){const _0xa2c47d=_0x52b7cf,_0x143854=new _0x575ce9(_0xa2c47d(0x25d),{'error':_0x3f69b7,'message':_0x3f69b7['message']});_0x143854[_0x431fda]=this,_0x2b505c(_0x3f4d0b,this,_0x143854);};else{if(_0x50904a==='open')_0x4ccf53=function(){const _0xcd4eb7=_0x52b7cf,_0x5a3502=new _0x365b25(_0xcd4eb7(0x245));_0x5a3502[_0x431fda]=this,_0x2b505c(_0x3f4d0b,this,_0x5a3502);};else return;}}}_0x4ccf53[_0x24e761]=!!_0x42cb8a[_0x24e761],_0x4ccf53[_0x1d4932]=_0x3f4d0b,_0x42cb8a['once']?this[_0x52b7cf(0x36e)](_0x50904a,_0x4ccf53):this['on'](_0x50904a,_0x4ccf53);},'removeEventListener'(_0x1c669d,_0x24e380){const _0x572308=_0x22a6b8;for(const _0x30848c of this[_0x572308(0x32d)](_0x1c669d))if(_0x30848c[_0x1d4932]===_0x24e380&&!_0x30848c[_0x24e761]){this[_0x572308(0x36a)](_0x1c669d,_0x30848c);break;}}},'MessageEvent':_0x2a0c99};function _0x2b505c(_0x17fc15,_0x35f352,_0x47383d){const _0x1e7344=_0x22a6b8;typeof _0x17fc15=='object'&&_0x17fc15[_0x1e7344(0x218)]?_0x17fc15[_0x1e7344(0x218)]['call'](_0x17fc15,_0x47383d):_0x17fc15['call'](_0x35f352,_0x47383d);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x4e034c}=ae();function _0x53a67a(_0x5f46ed,_0x458d74,_0x379a18){const _0x320ca3=_0x5a3e;_0x5f46ed[_0x458d74]===void 0x0?_0x5f46ed[_0x458d74]=[_0x379a18]:_0x5f46ed[_0x458d74][_0x320ca3(0x339)](_0x379a18);}function _0x2bb8d2(_0x4f2487){const _0xbce13c=_0x5a3e,_0x4c19b1=Object[_0xbce13c(0x337)](null);let _0x3f0d41=Object[_0xbce13c(0x337)](null),_0x239d9e=!0x1,_0x3eb2f2=!0x1,_0x128972=!0x1,_0xa7acf3,_0x2eb5e5,_0x22df8d=-0x1,_0x365e3c=-0x1,_0xe9d917=-0x1,_0x36dc65=0x0;for(;_0x36dc65<_0x4f2487[_0xbce13c(0x2d4)];_0x36dc65++)if(_0x365e3c=_0x4f2487[_0xbce13c(0x1e2)](_0x36dc65),_0xa7acf3===void 0x0){if(_0xe9d917===-0x1&&_0x4e034c[_0x365e3c]===0x1)_0x22df8d===-0x1&&(_0x22df8d=_0x36dc65);else{if(_0x36dc65!==0x0&&(_0x365e3c===0x20||_0x365e3c===0x9))_0xe9d917===-0x1&&_0x22df8d!==-0x1&&(_0xe9d917=_0x36dc65);else{if(_0x365e3c===0x3b||_0x365e3c===0x2c){if(_0x22df8d===-0x1)throw new SyntaxError(_0xbce13c(0x347)+_0x36dc65);_0xe9d917===-0x1&&(_0xe9d917=_0x36dc65);const _0x54b602=_0x4f2487[_0xbce13c(0x29a)](_0x22df8d,_0xe9d917);_0x365e3c===0x2c?(_0x53a67a(_0x4c19b1,_0x54b602,_0x3f0d41),_0x3f0d41=Object[_0xbce13c(0x337)](null)):_0xa7acf3=_0x54b602,_0x22df8d=_0xe9d917=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x36dc65);}}}else{if(_0x2eb5e5===void 0x0){if(_0xe9d917===-0x1&&_0x4e034c[_0x365e3c]===0x1)_0x22df8d===-0x1&&(_0x22df8d=_0x36dc65);else{if(_0x365e3c===0x20||_0x365e3c===0x9)_0xe9d917===-0x1&&_0x22df8d!==-0x1&&(_0xe9d917=_0x36dc65);else{if(_0x365e3c===0x3b||_0x365e3c===0x2c){if(_0x22df8d===-0x1)throw new SyntaxError(_0xbce13c(0x347)+_0x36dc65);_0xe9d917===-0x1&&(_0xe9d917=_0x36dc65),_0x53a67a(_0x3f0d41,_0x4f2487['slice'](_0x22df8d,_0xe9d917),!0x0),_0x365e3c===0x2c&&(_0x53a67a(_0x4c19b1,_0xa7acf3,_0x3f0d41),_0x3f0d41=Object['create'](null),_0xa7acf3=void 0x0),_0x22df8d=_0xe9d917=-0x1;}else{if(_0x365e3c===0x3d&&_0x22df8d!==-0x1&&_0xe9d917===-0x1)_0x2eb5e5=_0x4f2487[_0xbce13c(0x29a)](_0x22df8d,_0x36dc65),_0x22df8d=_0xe9d917=-0x1;else throw new SyntaxError(_0xbce13c(0x347)+_0x36dc65);}}}}else{if(_0x3eb2f2){if(_0x4e034c[_0x365e3c]!==0x1)throw new SyntaxError(_0xbce13c(0x347)+_0x36dc65);_0x22df8d===-0x1?_0x22df8d=_0x36dc65:_0x239d9e||(_0x239d9e=!0x0),_0x3eb2f2=!0x1;}else{if(_0x128972){if(_0x4e034c[_0x365e3c]===0x1)_0x22df8d===-0x1&&(_0x22df8d=_0x36dc65);else{if(_0x365e3c===0x22&&_0x22df8d!==-0x1)_0x128972=!0x1,_0xe9d917=_0x36dc65;else{if(_0x365e3c===0x5c)_0x3eb2f2=!0x0;else throw new SyntaxError(_0xbce13c(0x347)+_0x36dc65);}}}else{if(_0x365e3c===0x22&&_0x4f2487[_0xbce13c(0x1e2)](_0x36dc65-0x1)===0x3d)_0x128972=!0x0;else{if(_0xe9d917===-0x1&&_0x4e034c[_0x365e3c]===0x1)_0x22df8d===-0x1&&(_0x22df8d=_0x36dc65);else{if(_0x22df8d!==-0x1&&(_0x365e3c===0x20||_0x365e3c===0x9))_0xe9d917===-0x1&&(_0xe9d917=_0x36dc65);else{if(_0x365e3c===0x3b||_0x365e3c===0x2c){if(_0x22df8d===-0x1)throw new SyntaxError(_0xbce13c(0x347)+_0x36dc65);_0xe9d917===-0x1&&(_0xe9d917=_0x36dc65);let _0x7b7757=_0x4f2487['slice'](_0x22df8d,_0xe9d917);_0x239d9e&&(_0x7b7757=_0x7b7757[_0xbce13c(0x24d)](/\\/g,''),_0x239d9e=!0x1),_0x53a67a(_0x3f0d41,_0x2eb5e5,_0x7b7757),_0x365e3c===0x2c&&(_0x53a67a(_0x4c19b1,_0xa7acf3,_0x3f0d41),_0x3f0d41=Object[_0xbce13c(0x337)](null),_0xa7acf3=void 0x0),_0x2eb5e5=void 0x0,_0x22df8d=_0xe9d917=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x36dc65);}}}}}}}if(_0x22df8d===-0x1||_0x128972||_0x365e3c===0x20||_0x365e3c===0x9)throw new SyntaxError(_0xbce13c(0x344));_0xe9d917===-0x1&&(_0xe9d917=_0x36dc65);const _0x12a9e7=_0x4f2487['slice'](_0x22df8d,_0xe9d917);return _0xa7acf3===void 0x0?_0x53a67a(_0x4c19b1,_0x12a9e7,_0x3f0d41):(_0x2eb5e5===void 0x0?_0x53a67a(_0x3f0d41,_0x12a9e7,!0x0):_0x239d9e?_0x53a67a(_0x3f0d41,_0x2eb5e5,_0x12a9e7[_0xbce13c(0x24d)](/\\/g,'')):_0x53a67a(_0x3f0d41,_0x2eb5e5,_0x12a9e7),_0x53a67a(_0x4c19b1,_0xa7acf3,_0x3f0d41)),_0x4c19b1;}function _0x2ae3ce(_0x25e580){const _0x45b95b=_0x5a3e;return Object[_0x45b95b(0x1e7)](_0x25e580)[_0x45b95b(0x376)](_0x431c9b=>{const _0x445aae=_0x45b95b;let _0x127d9c=_0x25e580[_0x431c9b];return Array['isArray'](_0x127d9c)||(_0x127d9c=[_0x127d9c]),_0x127d9c[_0x445aae(0x376)](_0x419137=>[_0x431c9b][_0x445aae(0x383)](Object[_0x445aae(0x1e7)](_0x419137)[_0x445aae(0x376)](_0x56a249=>{const _0x148fba=_0x445aae;let _0x2fa2ab=_0x419137[_0x56a249];return Array[_0x148fba(0x33a)](_0x2fa2ab)||(_0x2fa2ab=[_0x2fa2ab]),_0x2fa2ab[_0x148fba(0x376)](_0x18e7dd=>_0x18e7dd===!0x0?_0x56a249:_0x56a249+'='+_0x18e7dd)[_0x148fba(0x37b)](';\x20');}))[_0x445aae(0x37b)](';\x20'))[_0x445aae(0x37b)](',\x20');})['join'](',\x20');}return be={'format':_0x2ae3ce,'parse':_0x2bb8d2},be;}var we,Je;function Pe(){const _0xbed094=_0x99fc6b;if(Je)return we;Je=0x1;const _0x5d82b1=nt,_0x5b0337=vt,_0x1b24b9=ot,_0x4a1682=St,_0x283813=Et,{randomBytes:_0x21ce5b,createHash:_0x3e58b2}=Le,{Duplex:_0x4f7ad3,Readable:_0x88d0f2}=oe,{URL:_0xe0f331}=xt,_0x461438=he(),_0x1afc53=lt(),_0x1615e5=ft(),{isBlob:_0x23b22a}=ae(),{BINARY_TYPES:_0x5c8370,EMPTY_BUFFER:_0x434062,GUID:_0x4cbba1,kForOnEventAttribute:_0x4e7f63,kListener:_0x171b55,kStatusCode:_0x4305b5,kWebSocket:_0x14ed56,NOOP:_0x48fc27}=H(),{EventTarget:{addEventListener:_0x17db13,removeEventListener:_0x59f9b6}}=It(),{format:_0x36967a,parse:_0x113383}=ct(),{toBuffer:_0x4952e2}=ce(),_0x4a31a5=0x1e*0x3e8,_0x1e42f8=Symbol(_0xbed094(0x30c)),_0x33c933=[0x8,0xd],_0x13b8a9=[_0xbed094(0x27c),_0xbed094(0x384),'CLOSING',_0xbed094(0x1f5)],_0x329246=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1083aa extends _0x5d82b1{constructor(_0x1d3aa7,_0x37b051,_0x4adfcc){const _0x40330e=_0xbed094;super(),this[_0x40330e(0x2bd)]=_0x5c8370[0x0],this[_0x40330e(0x277)]=0x3ee,this[_0x40330e(0x33f)]=!0x1,this[_0x40330e(0x2ab)]=!0x1,this[_0x40330e(0x285)]=_0x434062,this[_0x40330e(0x30e)]=null,this[_0x40330e(0x1f0)]=!0x1,this[_0x40330e(0x318)]={},this[_0x40330e(0x223)]=!0x1,this[_0x40330e(0x278)]='',this[_0x40330e(0x38b)]=_0x1083aa[_0x40330e(0x27c)],this[_0x40330e(0x2af)]=null,this[_0x40330e(0x321)]=null,this[_0x40330e(0x362)]=null,_0x1d3aa7!==null?(this[_0x40330e(0x34a)]=0x0,this[_0x40330e(0x1e9)]=!0x1,this[_0x40330e(0x2db)]=0x0,_0x37b051===void 0x0?_0x37b051=[]:Array[_0x40330e(0x33a)](_0x37b051)||(typeof _0x37b051==_0x40330e(0x2e4)&&_0x37b051!==null?(_0x4adfcc=_0x37b051,_0x37b051=[]):_0x37b051=[_0x37b051]),_0xdad153(this,_0x1d3aa7,_0x37b051,_0x4adfcc)):(this[_0x40330e(0x2ea)]=_0x4adfcc[_0x40330e(0x2df)],this[_0x40330e(0x1e9)]=!0x0);}get[_0xbed094(0x2b0)](){return this['_binaryType'];}set[_0xbed094(0x2b0)](_0x1f8779){const _0x105001=_0xbed094;_0x5c8370[_0x105001(0x34e)](_0x1f8779)&&(this[_0x105001(0x2bd)]=_0x1f8779,this[_0x105001(0x2af)]&&(this[_0x105001(0x2af)][_0x105001(0x2bd)]=_0x1f8779));}get[_0xbed094(0x374)](){const _0x47191c=_0xbed094;return this['_socket']?this['_socket'][_0x47191c(0x330)][_0x47191c(0x2d4)]+this[_0x47191c(0x321)][_0x47191c(0x301)]:this['_bufferedAmount'];}get[_0xbed094(0x275)](){const _0x588634=_0xbed094;return Object[_0x588634(0x1e7)](this['_extensions'])['join']();}get[_0xbed094(0x1e1)](){const _0x318339=_0xbed094;return this[_0x318339(0x223)];}get[_0xbed094(0x1e8)](){return null;}get[_0xbed094(0x29c)](){return null;}get['onopen'](){return null;}get[_0xbed094(0x357)](){return null;}get['protocol'](){const _0x1c311a=_0xbed094;return this[_0x1c311a(0x278)];}get[_0xbed094(0x380)](){const _0x48f5b0=_0xbed094;return this[_0x48f5b0(0x38b)];}get[_0xbed094(0x345)](){const _0x3e288a=_0xbed094;return this[_0x3e288a(0x252)];}[_0xbed094(0x22c)](_0x14bb0a,_0x55f3f0,_0x5ec9f5){const _0x44c416=_0xbed094,_0x4616ea=new _0x1afc53({'allowSynchronousEvents':_0x5ec9f5[_0x44c416(0x23e)],'binaryType':this[_0x44c416(0x2b0)],'extensions':this[_0x44c416(0x318)],'isServer':this['_isServer'],'maxPayload':_0x5ec9f5['maxPayload'],'skipUTF8Validation':_0x5ec9f5[_0x44c416(0x201)]}),_0x2125b1=new _0x1615e5(_0x14bb0a,this[_0x44c416(0x318)],_0x5ec9f5[_0x44c416(0x387)]);this['_receiver']=_0x4616ea,this[_0x44c416(0x321)]=_0x2125b1,this[_0x44c416(0x362)]=_0x14bb0a,_0x4616ea[_0x14ed56]=this,_0x2125b1[_0x14ed56]=this,_0x14bb0a[_0x14ed56]=this,_0x4616ea['on'](_0x44c416(0x20c),_0x4c4942),_0x4616ea['on']('drain',_0x486edb),_0x4616ea['on']('error',_0x48dd05),_0x4616ea['on'](_0x44c416(0x37e),_0x56456e),_0x4616ea['on'](_0x44c416(0x296),_0x11ea4f),_0x4616ea['on'](_0x44c416(0x1f6),_0xa97286),_0x2125b1[_0x44c416(0x29c)]=_0x12447a,_0x14bb0a[_0x44c416(0x32c)]&&_0x14bb0a[_0x44c416(0x32c)](0x0),_0x14bb0a[_0x44c416(0x334)]&&_0x14bb0a[_0x44c416(0x334)](),_0x55f3f0[_0x44c416(0x2d4)]>0x0&&_0x14bb0a[_0x44c416(0x354)](_0x55f3f0),_0x14bb0a['on']('close',_0x434648),_0x14bb0a['on'](_0x44c416(0x326),_0xc1e22c),_0x14bb0a['on'](_0x44c416(0x311),_0x13a76b),_0x14bb0a['on'](_0x44c416(0x25d),_0x41e204),this[_0x44c416(0x38b)]=_0x1083aa['OPEN'],this[_0x44c416(0x30d)](_0x44c416(0x245));}[_0xbed094(0x2a5)](){const _0x4a5eeb=_0xbed094;if(!this[_0x4a5eeb(0x362)]){this['_readyState']=_0x1083aa[_0x4a5eeb(0x1f5)],this[_0x4a5eeb(0x30d)](_0x4a5eeb(0x39d),this[_0x4a5eeb(0x277)],this[_0x4a5eeb(0x285)]);return;}this[_0x4a5eeb(0x318)][_0x461438[_0x4a5eeb(0x309)]]&&this[_0x4a5eeb(0x318)][_0x461438[_0x4a5eeb(0x309)]][_0x4a5eeb(0x39e)](),this[_0x4a5eeb(0x2af)][_0x4a5eeb(0x394)](),this[_0x4a5eeb(0x38b)]=_0x1083aa['CLOSED'],this[_0x4a5eeb(0x30d)](_0x4a5eeb(0x39d),this[_0x4a5eeb(0x277)],this[_0x4a5eeb(0x285)]);}[_0xbed094(0x39d)](_0x19e66c,_0x81086c){const _0x4d1ffc=_0xbed094;if(this[_0x4d1ffc(0x380)]!==_0x1083aa[_0x4d1ffc(0x1f5)]){if(this[_0x4d1ffc(0x380)]===_0x1083aa[_0x4d1ffc(0x27c)]){_0x15d712(this,this[_0x4d1ffc(0x27f)],_0x4d1ffc(0x2fd));return;}if(this[_0x4d1ffc(0x380)]===_0x1083aa[_0x4d1ffc(0x338)]){this[_0x4d1ffc(0x2ab)]&&(this['_closeFrameReceived']||this[_0x4d1ffc(0x2af)][_0x4d1ffc(0x330)][_0x4d1ffc(0x1e5)])&&this[_0x4d1ffc(0x362)][_0x4d1ffc(0x311)]();return;}this[_0x4d1ffc(0x38b)]=_0x1083aa[_0x4d1ffc(0x338)],this[_0x4d1ffc(0x321)]['close'](_0x19e66c,_0x81086c,!this[_0x4d1ffc(0x1e9)],_0x5f0303=>{const _0x3f2257=_0x4d1ffc;_0x5f0303||(this[_0x3f2257(0x2ab)]=!0x0,(this[_0x3f2257(0x33f)]||this['_receiver'][_0x3f2257(0x330)][_0x3f2257(0x1e5)])&&this[_0x3f2257(0x362)][_0x3f2257(0x311)]());}),_0x17e5c1(this);}}[_0xbed094(0x246)](){const _0x1c7a4d=_0xbed094;this[_0x1c7a4d(0x380)]===_0x1083aa[_0x1c7a4d(0x27c)]||this[_0x1c7a4d(0x380)]===_0x1083aa[_0x1c7a4d(0x1f5)]||(this[_0x1c7a4d(0x223)]=!0x0,this[_0x1c7a4d(0x362)][_0x1c7a4d(0x246)]());}[_0xbed094(0x296)](_0x9f8e6b,_0xf63927,_0xa6af6a){const _0x5c9a10=_0xbed094;if(this[_0x5c9a10(0x380)]===_0x1083aa['CONNECTING'])throw new Error(_0x5c9a10(0x35a));if(typeof _0x9f8e6b==_0x5c9a10(0x336)?(_0xa6af6a=_0x9f8e6b,_0x9f8e6b=_0xf63927=void 0x0):typeof _0xf63927=='function'&&(_0xa6af6a=_0xf63927,_0xf63927=void 0x0),typeof _0x9f8e6b=='number'&&(_0x9f8e6b=_0x9f8e6b[_0x5c9a10(0x38d)]()),this[_0x5c9a10(0x380)]!==_0x1083aa[_0x5c9a10(0x384)]){_0x1d3f42(this,_0x9f8e6b,_0xa6af6a);return;}_0xf63927===void 0x0&&(_0xf63927=!this[_0x5c9a10(0x1e9)]),this['_sender']['ping'](_0x9f8e6b||_0x434062,_0xf63927,_0xa6af6a);}['pong'](_0x42fe7b,_0x86bc5f,_0x28644f){const _0x31b9cf=_0xbed094;if(this[_0x31b9cf(0x380)]===_0x1083aa[_0x31b9cf(0x27c)])throw new Error(_0x31b9cf(0x35a));if(typeof _0x42fe7b==_0x31b9cf(0x336)?(_0x28644f=_0x42fe7b,_0x42fe7b=_0x86bc5f=void 0x0):typeof _0x86bc5f==_0x31b9cf(0x336)&&(_0x28644f=_0x86bc5f,_0x86bc5f=void 0x0),typeof _0x42fe7b==_0x31b9cf(0x2c8)&&(_0x42fe7b=_0x42fe7b[_0x31b9cf(0x38d)]()),this[_0x31b9cf(0x380)]!==_0x1083aa[_0x31b9cf(0x384)]){_0x1d3f42(this,_0x42fe7b,_0x28644f);return;}_0x86bc5f===void 0x0&&(_0x86bc5f=!this[_0x31b9cf(0x1e9)]),this[_0x31b9cf(0x321)][_0x31b9cf(0x1f6)](_0x42fe7b||_0x434062,_0x86bc5f,_0x28644f);}[_0xbed094(0x265)](){const _0x339f5a=_0xbed094;this[_0x339f5a(0x380)]===_0x1083aa['CONNECTING']||this[_0x339f5a(0x380)]===_0x1083aa[_0x339f5a(0x1f5)]||(this[_0x339f5a(0x223)]=!0x1,this[_0x339f5a(0x2af)][_0x339f5a(0x330)][_0x339f5a(0x323)]||this['_socket'][_0x339f5a(0x265)]());}[_0xbed094(0x2f3)](_0x271d98,_0x50b1da,_0x16b3b3){const _0x5014f0=_0xbed094;if(this['readyState']===_0x1083aa[_0x5014f0(0x27c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x50b1da==_0x5014f0(0x336)&&(_0x16b3b3=_0x50b1da,_0x50b1da={}),typeof _0x271d98==_0x5014f0(0x2c8)&&(_0x271d98=_0x271d98[_0x5014f0(0x38d)]()),this['readyState']!==_0x1083aa[_0x5014f0(0x384)]){_0x1d3f42(this,_0x271d98,_0x16b3b3);return;}const _0x25eedc={'binary':typeof _0x271d98!=_0x5014f0(0x369),'mask':!this[_0x5014f0(0x1e9)],'compress':!0x0,'fin':!0x0,..._0x50b1da};this[_0x5014f0(0x318)][_0x461438[_0x5014f0(0x309)]]||(_0x25eedc[_0x5014f0(0x2e5)]=!0x1),this[_0x5014f0(0x321)][_0x5014f0(0x2f3)](_0x271d98||_0x434062,_0x25eedc,_0x16b3b3);}['terminate'](){const _0x5b1a33=_0xbed094;if(this['readyState']!==_0x1083aa[_0x5b1a33(0x1f5)]){if(this['readyState']===_0x1083aa[_0x5b1a33(0x27c)]){_0x15d712(this,this[_0x5b1a33(0x27f)],_0x5b1a33(0x2fd));return;}this[_0x5b1a33(0x362)]&&(this[_0x5b1a33(0x38b)]=_0x1083aa['CLOSING'],this['_socket']['destroy']());}}}Object[_0xbed094(0x2fb)](_0x1083aa,_0xbed094(0x27c),{'enumerable':!0x0,'value':_0x13b8a9['indexOf']('CONNECTING')}),Object['defineProperty'](_0x1083aa['prototype'],_0xbed094(0x27c),{'enumerable':!0x0,'value':_0x13b8a9[_0xbed094(0x306)](_0xbed094(0x27c))}),Object[_0xbed094(0x2fb)](_0x1083aa,_0xbed094(0x384),{'enumerable':!0x0,'value':_0x13b8a9[_0xbed094(0x306)](_0xbed094(0x384))}),Object[_0xbed094(0x2fb)](_0x1083aa[_0xbed094(0x271)],'OPEN',{'enumerable':!0x0,'value':_0x13b8a9[_0xbed094(0x306)](_0xbed094(0x384))}),Object['defineProperty'](_0x1083aa,_0xbed094(0x338),{'enumerable':!0x0,'value':_0x13b8a9['indexOf'](_0xbed094(0x338))}),Object['defineProperty'](_0x1083aa[_0xbed094(0x271)],_0xbed094(0x338),{'enumerable':!0x0,'value':_0x13b8a9[_0xbed094(0x306)](_0xbed094(0x338))}),Object['defineProperty'](_0x1083aa,_0xbed094(0x1f5),{'enumerable':!0x0,'value':_0x13b8a9[_0xbed094(0x306)](_0xbed094(0x1f5))}),Object[_0xbed094(0x2fb)](_0x1083aa['prototype'],_0xbed094(0x1f5),{'enumerable':!0x0,'value':_0x13b8a9[_0xbed094(0x306)](_0xbed094(0x1f5))}),[_0xbed094(0x2b0),'bufferedAmount','extensions',_0xbed094(0x1e1),'protocol',_0xbed094(0x380),'url']['forEach'](_0x58a36f=>{const _0x1a0c43=_0xbed094;Object['defineProperty'](_0x1083aa[_0x1a0c43(0x271)],_0x58a36f,{'enumerable':!0x0});}),[_0xbed094(0x245),_0xbed094(0x25d),_0xbed094(0x39d),_0xbed094(0x37e)][_0xbed094(0x24b)](_0x4d5e0b=>{Object['defineProperty'](_0x1083aa['prototype'],'on'+_0x4d5e0b,{'enumerable':!0x0,'get'(){const _0x4de45e=_0x5a3e;for(const _0x249f77 of this[_0x4de45e(0x32d)](_0x4d5e0b))if(_0x249f77[_0x4e7f63])return _0x249f77[_0x171b55];return null;},'set'(_0x123726){const _0x80988a=_0x5a3e;for(const _0x1bcbb0 of this[_0x80988a(0x32d)](_0x4d5e0b))if(_0x1bcbb0[_0x4e7f63]){this['removeListener'](_0x4d5e0b,_0x1bcbb0);break;}typeof _0x123726==_0x80988a(0x336)&&this['addEventListener'](_0x4d5e0b,_0x123726,{[_0x4e7f63]:!0x0});}});}),_0x1083aa[_0xbed094(0x271)][_0xbed094(0x1e4)]=_0x17db13,_0x1083aa[_0xbed094(0x271)]['removeEventListener']=_0x59f9b6,we=_0x1083aa;function _0xdad153(_0x264dea,_0x3e192c,_0x1ddc7c,_0x3a669c){const _0x4d63ca=_0xbed094,_0x4cba39={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x33c933[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3a669c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4d63ca(0x232),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x264dea[_0x4d63ca(0x2ea)]=_0x4cba39['autoPong'],!_0x33c933[_0x4d63ca(0x34e)](_0x4cba39[_0x4d63ca(0x2cc)]))throw new RangeError(_0x4d63ca(0x28f)+_0x4cba39[_0x4d63ca(0x2cc)]+'\x20(supported\x20versions:\x20'+_0x33c933[_0x4d63ca(0x37b)](',\x20')+')');let _0x3ed834;if(_0x3e192c instanceof _0xe0f331)_0x3ed834=_0x3e192c;else try{_0x3ed834=new _0xe0f331(_0x3e192c);}catch{throw new SyntaxError(_0x4d63ca(0x23a)+_0x3e192c);}_0x3ed834[_0x4d63ca(0x340)]==='http:'?_0x3ed834[_0x4d63ca(0x340)]=_0x4d63ca(0x26d):_0x3ed834[_0x4d63ca(0x340)]==='https:'&&(_0x3ed834[_0x4d63ca(0x340)]=_0x4d63ca(0x32a)),_0x264dea[_0x4d63ca(0x252)]=_0x3ed834['href'];const _0x4ada64=_0x3ed834[_0x4d63ca(0x340)]==='wss:',_0x3ff5f7=_0x3ed834['protocol']===_0x4d63ca(0x343);let _0xf9a3df;if(_0x3ed834[_0x4d63ca(0x340)]!==_0x4d63ca(0x26d)&&!_0x4ada64&&!_0x3ff5f7?_0xf9a3df=_0x4d63ca(0x2aa):_0x3ff5f7&&!_0x3ed834[_0x4d63ca(0x288)]?_0xf9a3df='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x3ed834[_0x4d63ca(0x241)]&&(_0xf9a3df=_0x4d63ca(0x2b8)),_0xf9a3df){const _0x2ed180=new SyntaxError(_0xf9a3df);if(_0x264dea[_0x4d63ca(0x2db)]===0x0)throw _0x2ed180;_0x171bcf(_0x264dea,_0x2ed180);return;}const _0x112d50=_0x4ada64?0x1bb:0x50,_0x1b6759=_0x21ce5b(0x10)[_0x4d63ca(0x38d)](_0x4d63ca(0x222)),_0x11fa48=_0x4ada64?_0x5b0337['request']:_0x1b24b9[_0x4d63ca(0x244)],_0x526258=new Set();let _0x10da66;if(_0x4cba39[_0x4d63ca(0x2b4)]=_0x4cba39[_0x4d63ca(0x2b4)]||(_0x4ada64?_0x3c3f08:_0x1eb0a6),_0x4cba39['defaultPort']=_0x4cba39[_0x4d63ca(0x307)]||_0x112d50,_0x4cba39[_0x4d63ca(0x30f)]=_0x3ed834['port']||_0x112d50,_0x4cba39[_0x4d63ca(0x329)]=_0x3ed834[_0x4d63ca(0x248)]['startsWith']('[')?_0x3ed834['hostname'][_0x4d63ca(0x29a)](0x1,-0x1):_0x3ed834[_0x4d63ca(0x248)],_0x4cba39[_0x4d63ca(0x305)]={..._0x4cba39[_0x4d63ca(0x305)],'Sec-WebSocket-Version':_0x4cba39[_0x4d63ca(0x2cc)],'Sec-WebSocket-Key':_0x1b6759,'Connection':_0x4d63ca(0x2e0),'Upgrade':_0x4d63ca(0x2c3)},_0x4cba39[_0x4d63ca(0x35c)]=_0x3ed834[_0x4d63ca(0x288)]+_0x3ed834[_0x4d63ca(0x206)],_0x4cba39[_0x4d63ca(0x37f)]=_0x4cba39[_0x4d63ca(0x31f)],_0x4cba39[_0x4d63ca(0x260)]&&(_0x10da66=new _0x461438(_0x4cba39['perMessageDeflate']!==!0x0?_0x4cba39['perMessageDeflate']:{},!0x1,_0x4cba39[_0x4d63ca(0x287)]),_0x4cba39[_0x4d63ca(0x305)][_0x4d63ca(0x2e9)]=_0x36967a({[_0x461438[_0x4d63ca(0x309)]]:_0x10da66['offer']()})),_0x1ddc7c['length']){for(const _0x5c4609 of _0x1ddc7c){if(typeof _0x5c4609!=_0x4d63ca(0x369)||!_0x329246['test'](_0x5c4609)||_0x526258[_0x4d63ca(0x2a8)](_0x5c4609))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x526258[_0x4d63ca(0x2b3)](_0x5c4609);}_0x4cba39[_0x4d63ca(0x305)][_0x4d63ca(0x2e6)]=_0x1ddc7c[_0x4d63ca(0x37b)](',');}if(_0x4cba39[_0x4d63ca(0x27d)]&&(_0x4cba39[_0x4d63ca(0x2cc)]<0xd?_0x4cba39[_0x4d63ca(0x305)]['Sec-WebSocket-Origin']=_0x4cba39['origin']:_0x4cba39[_0x4d63ca(0x305)][_0x4d63ca(0x2c2)]=_0x4cba39[_0x4d63ca(0x27d)]),(_0x3ed834['username']||_0x3ed834['password'])&&(_0x4cba39[_0x4d63ca(0x226)]=_0x3ed834['username']+':'+_0x3ed834[_0x4d63ca(0x203)]),_0x3ff5f7){const _0x456f50=_0x4cba39['path'][_0x4d63ca(0x214)](':');_0x4cba39['socketPath']=_0x456f50[0x0],_0x4cba39[_0x4d63ca(0x35c)]=_0x456f50[0x1];}let _0x2f8af1;if(_0x4cba39['followRedirects']){if(_0x264dea[_0x4d63ca(0x2db)]===0x0){_0x264dea[_0x4d63ca(0x21d)]=_0x3ff5f7,_0x264dea[_0x4d63ca(0x2f9)]=_0x4ada64,_0x264dea[_0x4d63ca(0x386)]=_0x3ff5f7?_0x4cba39['socketPath']:_0x3ed834[_0x4d63ca(0x329)];const _0x5cc749=_0x3a669c&&_0x3a669c[_0x4d63ca(0x305)];if(_0x3a669c={..._0x3a669c,'headers':{}},_0x5cc749){for(const [_0x9d3c57,_0x307890]of Object['entries'](_0x5cc749))_0x3a669c['headers'][_0x9d3c57[_0x4d63ca(0x367)]()]=_0x307890;}}else{if(_0x264dea['listenerCount'](_0x4d63ca(0x255))===0x0){const _0x2f7b1c=_0x3ff5f7?_0x264dea['_originalIpc']?_0x4cba39[_0x4d63ca(0x2ca)]===_0x264dea['_originalHostOrSocketPath']:!0x1:_0x264dea[_0x4d63ca(0x21d)]?!0x1:_0x3ed834[_0x4d63ca(0x329)]===_0x264dea[_0x4d63ca(0x386)];(!_0x2f7b1c||_0x264dea[_0x4d63ca(0x2f9)]&&!_0x4ada64)&&(delete _0x4cba39['headers'][_0x4d63ca(0x356)],delete _0x4cba39['headers'][_0x4d63ca(0x310)],_0x2f7b1c||delete _0x4cba39['headers'][_0x4d63ca(0x329)],_0x4cba39[_0x4d63ca(0x226)]=void 0x0);}}_0x4cba39[_0x4d63ca(0x226)]&&!_0x3a669c[_0x4d63ca(0x305)][_0x4d63ca(0x356)]&&(_0x3a669c[_0x4d63ca(0x305)][_0x4d63ca(0x356)]='Basic\x20'+Buffer['from'](_0x4cba39[_0x4d63ca(0x226)])[_0x4d63ca(0x38d)](_0x4d63ca(0x222))),_0x2f8af1=_0x264dea[_0x4d63ca(0x27f)]=_0x11fa48(_0x4cba39),_0x264dea[_0x4d63ca(0x2db)]&&_0x264dea[_0x4d63ca(0x30d)](_0x4d63ca(0x255),_0x264dea[_0x4d63ca(0x345)],_0x2f8af1);}else _0x2f8af1=_0x264dea[_0x4d63ca(0x27f)]=_0x11fa48(_0x4cba39);_0x4cba39[_0x4d63ca(0x37f)]&&_0x2f8af1['on'](_0x4d63ca(0x37f),()=>{const _0xac4ef5=_0x4d63ca;_0x15d712(_0x264dea,_0x2f8af1,_0xac4ef5(0x2a3));}),_0x2f8af1['on'](_0x4d63ca(0x25d),_0x25b34d=>{_0x2f8af1===null||_0x2f8af1[_0x1e42f8]||(_0x2f8af1=_0x264dea['_req']=null,_0x171bcf(_0x264dea,_0x25b34d));}),_0x2f8af1['on'](_0x4d63ca(0x35b),_0x59f2e2=>{const _0x85857b=_0x4d63ca,_0x5d6353=_0x59f2e2[_0x85857b(0x305)][_0x85857b(0x257)],_0x5792f4=_0x59f2e2[_0x85857b(0x366)];if(_0x5d6353&&_0x4cba39[_0x85857b(0x399)]&&_0x5792f4>=0x12c&&_0x5792f4<0x190){if(++_0x264dea[_0x85857b(0x2db)]>_0x4cba39[_0x85857b(0x22a)]){_0x15d712(_0x264dea,_0x2f8af1,_0x85857b(0x20e));return;}_0x2f8af1[_0x85857b(0x221)]();let _0x16bd84;try{_0x16bd84=new _0xe0f331(_0x5d6353,_0x3e192c);}catch{const _0x599ee4=new SyntaxError('Invalid\x20URL:\x20'+_0x5d6353);_0x171bcf(_0x264dea,_0x599ee4);return;}_0xdad153(_0x264dea,_0x16bd84,_0x1ddc7c,_0x3a669c);}else _0x264dea['emit'](_0x85857b(0x35f),_0x2f8af1,_0x59f2e2)||_0x15d712(_0x264dea,_0x2f8af1,_0x85857b(0x1da)+_0x59f2e2[_0x85857b(0x366)]);}),_0x2f8af1['on']('upgrade',(_0x35620e,_0x4e4039,_0x2fcfb3)=>{const _0x15514e=_0x4d63ca;if(_0x264dea[_0x15514e(0x30d)]('upgrade',_0x35620e),_0x264dea['readyState']!==_0x1083aa[_0x15514e(0x27c)])return;_0x2f8af1=_0x264dea['_req']=null;const _0xe31253=_0x35620e[_0x15514e(0x305)][_0x15514e(0x2bc)];if(_0xe31253===void 0x0||_0xe31253[_0x15514e(0x367)]()!==_0x15514e(0x2c3)){_0x15d712(_0x264dea,_0x4e4039,_0x15514e(0x27e));return;}const _0x53154e=_0x3e58b2(_0x15514e(0x234))[_0x15514e(0x32e)](_0x1b6759+_0x4cbba1)[_0x15514e(0x346)](_0x15514e(0x222));if(_0x35620e[_0x15514e(0x305)][_0x15514e(0x363)]!==_0x53154e){_0x15d712(_0x264dea,_0x4e4039,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x35ad76=_0x35620e['headers'][_0x15514e(0x266)];let _0x2f622e;if(_0x35ad76!==void 0x0?_0x526258[_0x15514e(0x365)]?_0x526258['has'](_0x35ad76)||(_0x2f622e=_0x15514e(0x229)):_0x2f622e='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x526258[_0x15514e(0x365)]&&(_0x2f622e=_0x15514e(0x2c9)),_0x2f622e){_0x15d712(_0x264dea,_0x4e4039,_0x2f622e);return;}_0x35ad76&&(_0x264dea[_0x15514e(0x278)]=_0x35ad76);const _0x1477f2=_0x35620e[_0x15514e(0x305)][_0x15514e(0x316)];if(_0x1477f2!==void 0x0){if(!_0x10da66){_0x15d712(_0x264dea,_0x4e4039,_0x15514e(0x291));return;}let _0x2c4489;try{_0x2c4489=_0x113383(_0x1477f2);}catch{_0x15d712(_0x264dea,_0x4e4039,_0x15514e(0x29f));return;}const _0x3c949d=Object[_0x15514e(0x1e7)](_0x2c4489);if(_0x3c949d[_0x15514e(0x2d4)]!==0x1||_0x3c949d[0x0]!==_0x461438['extensionName']){_0x15d712(_0x264dea,_0x4e4039,_0x15514e(0x2a6));return;}try{_0x10da66['accept'](_0x2c4489[_0x461438['extensionName']]);}catch{_0x15d712(_0x264dea,_0x4e4039,_0x15514e(0x29f));return;}_0x264dea[_0x15514e(0x318)][_0x461438[_0x15514e(0x309)]]=_0x10da66;}_0x264dea['setSocket'](_0x4e4039,_0x2fcfb3,{'allowSynchronousEvents':_0x4cba39[_0x15514e(0x23e)],'generateMask':_0x4cba39[_0x15514e(0x387)],'maxPayload':_0x4cba39[_0x15514e(0x287)],'skipUTF8Validation':_0x4cba39[_0x15514e(0x201)]});}),_0x4cba39[_0x4d63ca(0x22e)]?_0x4cba39[_0x4d63ca(0x22e)](_0x2f8af1,_0x264dea):_0x2f8af1[_0x4d63ca(0x311)]();}function _0x171bcf(_0x3f4992,_0x19d310){const _0x364568=_0xbed094;_0x3f4992['_readyState']=_0x1083aa[_0x364568(0x338)],_0x3f4992[_0x364568(0x1f0)]=!0x0,_0x3f4992[_0x364568(0x30d)](_0x364568(0x25d),_0x19d310),_0x3f4992['emitClose']();}function _0x1eb0a6(_0x58bd5c){const _0x42d825=_0xbed094;return _0x58bd5c[_0x42d825(0x35c)]=_0x58bd5c['socketPath'],_0x4a1682[_0x42d825(0x358)](_0x58bd5c);}function _0x3c3f08(_0x1e0694){const _0x5d5763=_0xbed094;return _0x1e0694[_0x5d5763(0x35c)]=void 0x0,!_0x1e0694[_0x5d5763(0x25c)]&&_0x1e0694[_0x5d5763(0x25c)]!==''&&(_0x1e0694[_0x5d5763(0x25c)]=_0x4a1682[_0x5d5763(0x2e8)](_0x1e0694[_0x5d5763(0x329)])?'':_0x1e0694[_0x5d5763(0x329)]),_0x283813[_0x5d5763(0x358)](_0x1e0694);}function _0x15d712(_0x1c3bba,_0x2362be,_0x16a2e1){const _0x42e0c9=_0xbed094;_0x1c3bba['_readyState']=_0x1083aa[_0x42e0c9(0x338)];const _0x15d68d=new Error(_0x16a2e1);Error[_0x42e0c9(0x299)](_0x15d68d,_0x15d712),_0x2362be[_0x42e0c9(0x32b)]?(_0x2362be[_0x1e42f8]=!0x0,_0x2362be[_0x42e0c9(0x221)](),_0x2362be[_0x42e0c9(0x233)]&&!_0x2362be[_0x42e0c9(0x233)][_0x42e0c9(0x2e3)]&&_0x2362be[_0x42e0c9(0x233)][_0x42e0c9(0x224)](),process[_0x42e0c9(0x315)](_0x171bcf,_0x1c3bba,_0x15d68d)):(_0x2362be[_0x42e0c9(0x224)](_0x15d68d),_0x2362be[_0x42e0c9(0x36e)]('error',_0x1c3bba[_0x42e0c9(0x30d)][_0x42e0c9(0x1f8)](_0x1c3bba,_0x42e0c9(0x25d))),_0x2362be[_0x42e0c9(0x36e)](_0x42e0c9(0x39d),_0x1c3bba['emitClose'][_0x42e0c9(0x1f8)](_0x1c3bba)));}function _0x1d3f42(_0x4a745c,_0x199c35,_0x5a4edc){const _0x4fb70b=_0xbed094;if(_0x199c35){const _0x5f38e1=_0x23b22a(_0x199c35)?_0x199c35[_0x4fb70b(0x365)]:_0x4952e2(_0x199c35)[_0x4fb70b(0x2d4)];_0x4a745c[_0x4fb70b(0x362)]?_0x4a745c[_0x4fb70b(0x321)]['_bufferedBytes']+=_0x5f38e1:_0x4a745c['_bufferedAmount']+=_0x5f38e1;}if(_0x5a4edc){const _0x2b4210=new Error(_0x4fb70b(0x25f)+_0x4a745c[_0x4fb70b(0x380)]+'\x20('+_0x13b8a9[_0x4a745c[_0x4fb70b(0x380)]]+')');process[_0x4fb70b(0x315)](_0x5a4edc,_0x2b4210);}}function _0x4c4942(_0x481788,_0x44fe45){const _0x4f631f=_0xbed094,_0x40466d=this[_0x14ed56];_0x40466d[_0x4f631f(0x33f)]=!0x0,_0x40466d['_closeMessage']=_0x44fe45,_0x40466d[_0x4f631f(0x277)]=_0x481788,_0x40466d[_0x4f631f(0x362)][_0x14ed56]!==void 0x0&&(_0x40466d['_socket']['removeListener'](_0x4f631f(0x326),_0xc1e22c),process[_0x4f631f(0x315)](_0x11aec3,_0x40466d['_socket']),_0x481788===0x3ed?_0x40466d[_0x4f631f(0x39d)]():_0x40466d[_0x4f631f(0x39d)](_0x481788,_0x44fe45));}function _0x486edb(){const _0xef494=_0xbed094,_0x4d93c3=this[_0x14ed56];_0x4d93c3['isPaused']||_0x4d93c3[_0xef494(0x362)][_0xef494(0x265)]();}function _0x48dd05(_0x1e492b){const _0x29ce4f=_0xbed094,_0x5d7895=this[_0x14ed56];_0x5d7895[_0x29ce4f(0x362)][_0x14ed56]!==void 0x0&&(_0x5d7895[_0x29ce4f(0x362)][_0x29ce4f(0x36a)](_0x29ce4f(0x326),_0xc1e22c),process[_0x29ce4f(0x315)](_0x11aec3,_0x5d7895[_0x29ce4f(0x362)]),_0x5d7895['close'](_0x1e492b[_0x4305b5])),_0x5d7895[_0x29ce4f(0x1f0)]||(_0x5d7895[_0x29ce4f(0x1f0)]=!0x0,_0x5d7895[_0x29ce4f(0x30d)]('error',_0x1e492b));}function _0x3ae20c(){const _0x166988=_0xbed094;this[_0x14ed56][_0x166988(0x2a5)]();}function _0x56456e(_0x465cf1,_0xbf59d4){const _0x248716=_0xbed094;this[_0x14ed56][_0x248716(0x30d)](_0x248716(0x37e),_0x465cf1,_0xbf59d4);}function _0x11ea4f(_0x3fbe79){const _0x5df0de=_0xbed094,_0x2a9317=this[_0x14ed56];_0x2a9317['_autoPong']&&_0x2a9317[_0x5df0de(0x1f6)](_0x3fbe79,!this[_0x5df0de(0x1e9)],_0x48fc27),_0x2a9317['emit'](_0x5df0de(0x296),_0x3fbe79);}function _0xa97286(_0x479914){const _0x7d50b=_0xbed094;this[_0x14ed56]['emit'](_0x7d50b(0x1f6),_0x479914);}function _0x11aec3(_0x4eb376){const _0x39b5aa=_0xbed094;_0x4eb376[_0x39b5aa(0x265)]();}function _0x12447a(_0x5315c){const _0x752f8b=_0xbed094,_0x2c029f=this[_0x14ed56];_0x2c029f[_0x752f8b(0x380)]!==_0x1083aa[_0x752f8b(0x1f5)]&&(_0x2c029f[_0x752f8b(0x380)]===_0x1083aa[_0x752f8b(0x384)]&&(_0x2c029f[_0x752f8b(0x38b)]=_0x1083aa[_0x752f8b(0x338)],_0x17e5c1(_0x2c029f)),this[_0x752f8b(0x362)]['end'](),_0x2c029f['_errorEmitted']||(_0x2c029f[_0x752f8b(0x1f0)]=!0x0,_0x2c029f['emit'](_0x752f8b(0x25d),_0x5315c)));}function _0x17e5c1(_0x1c3c8d){const _0x392003=_0xbed094;_0x1c3c8d[_0x392003(0x30e)]=setTimeout(_0x1c3c8d[_0x392003(0x362)][_0x392003(0x224)][_0x392003(0x1f8)](_0x1c3c8d[_0x392003(0x362)]),_0x4a31a5);}function _0x434648(){const _0x5c28c7=_0xbed094,_0x555ac8=this[_0x14ed56];this['removeListener'](_0x5c28c7(0x39d),_0x434648),this[_0x5c28c7(0x36a)](_0x5c28c7(0x326),_0xc1e22c),this[_0x5c28c7(0x36a)]('end',_0x13a76b),_0x555ac8[_0x5c28c7(0x38b)]=_0x1083aa[_0x5c28c7(0x338)];let _0x316bea;!this[_0x5c28c7(0x2b2)]['endEmitted']&&!_0x555ac8[_0x5c28c7(0x33f)]&&!_0x555ac8[_0x5c28c7(0x2af)][_0x5c28c7(0x330)][_0x5c28c7(0x1e5)]&&(_0x316bea=_0x555ac8[_0x5c28c7(0x362)][_0x5c28c7(0x290)]())!==null&&_0x555ac8['_receiver'][_0x5c28c7(0x371)](_0x316bea),_0x555ac8[_0x5c28c7(0x2af)][_0x5c28c7(0x311)](),this[_0x14ed56]=void 0x0,clearTimeout(_0x555ac8[_0x5c28c7(0x30e)]),_0x555ac8['_receiver']['_writableState'][_0x5c28c7(0x2cf)]||_0x555ac8[_0x5c28c7(0x2af)][_0x5c28c7(0x330)][_0x5c28c7(0x1e5)]?_0x555ac8[_0x5c28c7(0x2a5)]():(_0x555ac8['_receiver']['on'](_0x5c28c7(0x25d),_0x3ae20c),_0x555ac8[_0x5c28c7(0x2af)]['on'](_0x5c28c7(0x33d),_0x3ae20c));}function _0xc1e22c(_0x1eb009){const _0x1e7f91=_0xbed094;this[_0x14ed56][_0x1e7f91(0x2af)][_0x1e7f91(0x371)](_0x1eb009)||this[_0x1e7f91(0x246)]();}function _0x13a76b(){const _0x6f7184=_0xbed094,_0x234af2=this[_0x14ed56];_0x234af2[_0x6f7184(0x38b)]=_0x1083aa['CLOSING'],_0x234af2[_0x6f7184(0x2af)][_0x6f7184(0x311)](),this[_0x6f7184(0x311)]();}function _0x41e204(){const _0x360c50=_0xbed094,_0x3d53f5=this[_0x14ed56];this[_0x360c50(0x36a)](_0x360c50(0x25d),_0x41e204),this['on'](_0x360c50(0x25d),_0x48fc27),_0x3d53f5&&(_0x3d53f5[_0x360c50(0x38b)]=_0x1083aa['CLOSING'],this[_0x360c50(0x224)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4a8864}=oe;function _0x349e23(_0x51f095){const _0x3009f2=_0x5a3e;_0x51f095[_0x3009f2(0x30d)]('close');}function _0x521c2d(){const _0x29fe16=_0x5a3e;!this[_0x29fe16(0x2e3)]&&this[_0x29fe16(0x330)]['finished']&&this[_0x29fe16(0x224)]();}function _0x402672(_0x4bdcb3){const _0x155470=_0x5a3e;this['removeListener'](_0x155470(0x25d),_0x402672),this['destroy'](),this[_0x155470(0x37d)](_0x155470(0x25d))===0x0&&this[_0x155470(0x30d)](_0x155470(0x25d),_0x4bdcb3);}function _0x2e8f6a(_0x1b88c7,_0x21728b){const _0x2f2b1d=_0x5a3e;let _0x6a8ccf=!0x0;const _0x2153a2=new _0x4a8864({..._0x21728b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1b88c7['on'](_0x2f2b1d(0x37e),function(_0x479095,_0x233a2c){const _0x3918c8=_0x2f2b1d,_0x3da604=!_0x233a2c&&_0x2153a2[_0x3918c8(0x2b2)][_0x3918c8(0x331)]?_0x479095[_0x3918c8(0x38d)]():_0x479095;_0x2153a2['push'](_0x3da604)||_0x1b88c7['pause']();}),_0x1b88c7[_0x2f2b1d(0x36e)]('error',function(_0x33d7f7){const _0x418449=_0x2f2b1d;_0x2153a2[_0x418449(0x2e3)]||(_0x6a8ccf=!0x1,_0x2153a2[_0x418449(0x224)](_0x33d7f7));}),_0x1b88c7[_0x2f2b1d(0x36e)](_0x2f2b1d(0x39d),function(){const _0x501402=_0x2f2b1d;_0x2153a2[_0x501402(0x2e3)]||_0x2153a2[_0x501402(0x339)](null);}),_0x2153a2[_0x2f2b1d(0x217)]=function(_0x1f3ea8,_0x1ee4e2){const _0x4cee6c=_0x2f2b1d;if(_0x1b88c7[_0x4cee6c(0x380)]===_0x1b88c7[_0x4cee6c(0x1f5)]){_0x1ee4e2(_0x1f3ea8),process[_0x4cee6c(0x315)](_0x349e23,_0x2153a2);return;}let _0x3f9ce3=!0x1;_0x1b88c7[_0x4cee6c(0x36e)]('error',function(_0x302236){_0x3f9ce3=!0x0,_0x1ee4e2(_0x302236);}),_0x1b88c7[_0x4cee6c(0x36e)](_0x4cee6c(0x39d),function(){const _0x349be3=_0x4cee6c;_0x3f9ce3||_0x1ee4e2(_0x1f3ea8),process[_0x349be3(0x315)](_0x349e23,_0x2153a2);}),_0x6a8ccf&&_0x1b88c7[_0x4cee6c(0x272)]();},_0x2153a2[_0x2f2b1d(0x26a)]=function(_0x4c53a7){const _0x4b8877=_0x2f2b1d;if(_0x1b88c7[_0x4b8877(0x380)]===_0x1b88c7['CONNECTING']){_0x1b88c7[_0x4b8877(0x36e)](_0x4b8877(0x245),function(){_0x2153a2['_final'](_0x4c53a7);});return;}_0x1b88c7[_0x4b8877(0x362)]!==null&&(_0x1b88c7['_socket'][_0x4b8877(0x330)][_0x4b8877(0x2cf)]?(_0x4c53a7(),_0x2153a2[_0x4b8877(0x2b2)][_0x4b8877(0x231)]&&_0x2153a2[_0x4b8877(0x224)]()):(_0x1b88c7[_0x4b8877(0x362)][_0x4b8877(0x36e)](_0x4b8877(0x33d),function(){_0x4c53a7();}),_0x1b88c7[_0x4b8877(0x39d)]()));},_0x2153a2['_read']=function(){const _0xdaa834=_0x2f2b1d;_0x1b88c7['isPaused']&&_0x1b88c7[_0xdaa834(0x265)]();},_0x2153a2[_0x2f2b1d(0x20d)]=function(_0x2556de,_0x39771b,_0x501cad){const _0x5d0566=_0x2f2b1d;if(_0x1b88c7[_0x5d0566(0x380)]===_0x1b88c7[_0x5d0566(0x27c)]){_0x1b88c7['once']('open',function(){const _0x50c486=_0x5d0566;_0x2153a2[_0x50c486(0x20d)](_0x2556de,_0x39771b,_0x501cad);});return;}_0x1b88c7['send'](_0x2556de,_0x501cad);},_0x2153a2['on'](_0x2f2b1d(0x311),_0x521c2d),_0x2153a2['on'](_0x2f2b1d(0x25d),_0x402672),_0x2153a2;}return Oe=_0x2e8f6a,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x29c7e3}=ae();function _0x386b18(_0x2c2f1d){const _0x25aef2=_0x5a3e,_0x3df56e=new Set();let _0x7dd2cd=-0x1,_0x2f817d=-0x1,_0x54d0da=0x0;for(_0x54d0da;_0x54d0da<_0x2c2f1d[_0x25aef2(0x2d4)];_0x54d0da++){const _0x540db6=_0x2c2f1d[_0x25aef2(0x1e2)](_0x54d0da);if(_0x2f817d===-0x1&&_0x29c7e3[_0x540db6]===0x1)_0x7dd2cd===-0x1&&(_0x7dd2cd=_0x54d0da);else{if(_0x54d0da!==0x0&&(_0x540db6===0x20||_0x540db6===0x9))_0x2f817d===-0x1&&_0x7dd2cd!==-0x1&&(_0x2f817d=_0x54d0da);else{if(_0x540db6===0x2c){if(_0x7dd2cd===-0x1)throw new SyntaxError(_0x25aef2(0x347)+_0x54d0da);_0x2f817d===-0x1&&(_0x2f817d=_0x54d0da);const _0x2f3c8a=_0x2c2f1d['slice'](_0x7dd2cd,_0x2f817d);if(_0x3df56e[_0x25aef2(0x2a8)](_0x2f3c8a))throw new SyntaxError(_0x25aef2(0x210)+_0x2f3c8a+_0x25aef2(0x253));_0x3df56e[_0x25aef2(0x2b3)](_0x2f3c8a),_0x7dd2cd=_0x2f817d=-0x1;}else throw new SyntaxError(_0x25aef2(0x347)+_0x54d0da);}}}if(_0x7dd2cd===-0x1||_0x2f817d!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x2d5f52=_0x2c2f1d[_0x25aef2(0x29a)](_0x7dd2cd,_0x54d0da);if(_0x3df56e[_0x25aef2(0x2a8)](_0x2d5f52))throw new SyntaxError(_0x25aef2(0x210)+_0x2d5f52+_0x25aef2(0x253));return _0x3df56e[_0x25aef2(0x2b3)](_0x2d5f52),_0x3df56e;}return Ce={'parse':_0x386b18},Ce;}var Te,rt;function Ft(){const _0x16fd88=_0x99fc6b;if(rt)return Te;rt=0x1;const _0x4c0b36=nt,_0x2c08c2=ot,{Duplex:_0x1664a7}=oe,{createHash:_0x530977}=Le,_0x28eb82=ct(),_0x123e2d=he(),_0x5d51de=At(),_0x29ffc1=Pe(),{GUID:_0x516f9e,kWebSocket:_0x3e22a9}=H(),_0x19fae8=/^[+/0-9A-Za-z]{22}==$/,_0x5774c9=0x0,_0x29c0e7=0x1,_0x2c51f8=0x2;class _0x4baa5e extends _0x4c0b36{constructor(_0x4a91a9,_0x463285){const _0x50a740=_0x5a3e;if(super(),_0x4a91a9={'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':_0x29ffc1,..._0x4a91a9},_0x4a91a9['port']==null&&!_0x4a91a9[_0x50a740(0x2fc)]&&!_0x4a91a9['noServer']||_0x4a91a9['port']!=null&&(_0x4a91a9[_0x50a740(0x2fc)]||_0x4a91a9[_0x50a740(0x240)])||_0x4a91a9[_0x50a740(0x2fc)]&&_0x4a91a9['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4a91a9['port']!=null?(this[_0x50a740(0x32f)]=_0x2c08c2[_0x50a740(0x335)]((_0x56b06c,_0x30ecb0)=>{const _0xceb0d9=_0x50a740,_0x96a5d1=_0x2c08c2[_0xceb0d9(0x1f3)][0x1aa];_0x30ecb0[_0xceb0d9(0x205)](0x1aa,{'Content-Length':_0x96a5d1[_0xceb0d9(0x2d4)],'Content-Type':_0xceb0d9(0x2f8)}),_0x30ecb0[_0xceb0d9(0x311)](_0x96a5d1);}),this[_0x50a740(0x32f)][_0x50a740(0x250)](_0x4a91a9[_0x50a740(0x30f)],_0x4a91a9['host'],_0x4a91a9[_0x50a740(0x235)],_0x463285)):_0x4a91a9[_0x50a740(0x2fc)]&&(this['_server']=_0x4a91a9['server']),this['_server']){const _0x596868=this[_0x50a740(0x30d)][_0x50a740(0x1f8)](this,_0x50a740(0x2cb));this[_0x50a740(0x282)]=_0x24a533(this[_0x50a740(0x32f)],{'listening':this['emit'][_0x50a740(0x1f8)](this,_0x50a740(0x26e)),'error':this[_0x50a740(0x30d)][_0x50a740(0x1f8)](this,_0x50a740(0x25d)),'upgrade':(_0x45ceef,_0x2484aa,_0x1e7241)=>{const _0x14adb0=_0x50a740;this[_0x14adb0(0x2b9)](_0x45ceef,_0x2484aa,_0x1e7241,_0x596868);}});}_0x4a91a9[_0x50a740(0x260)]===!0x0&&(_0x4a91a9[_0x50a740(0x260)]={}),_0x4a91a9[_0x50a740(0x348)]&&(this[_0x50a740(0x2ef)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x50a740(0x2a0)]=_0x4a91a9,this[_0x50a740(0x27b)]=_0x5774c9;}[_0x16fd88(0x2f6)](){const _0x4ebd8c=_0x16fd88;if(this[_0x4ebd8c(0x2a0)][_0x4ebd8c(0x240)])throw new Error(_0x4ebd8c(0x2f7));return this[_0x4ebd8c(0x32f)]?this[_0x4ebd8c(0x32f)]['address']():null;}['close'](_0x4f1aba){const _0x2f0691=_0x16fd88;if(this[_0x2f0691(0x27b)]===_0x2c51f8){_0x4f1aba&&this[_0x2f0691(0x36e)](_0x2f0691(0x39d),()=>{_0x4f1aba(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2f0691(0x315)](_0x22453f,this);return;}if(_0x4f1aba&&this[_0x2f0691(0x36e)](_0x2f0691(0x39d),_0x4f1aba),this[_0x2f0691(0x27b)]!==_0x29c0e7){if(this[_0x2f0691(0x27b)]=_0x29c0e7,this[_0x2f0691(0x2a0)][_0x2f0691(0x240)]||this[_0x2f0691(0x2a0)]['server'])this['_server']&&(this[_0x2f0691(0x282)](),this[_0x2f0691(0x282)]=this[_0x2f0691(0x32f)]=null),this[_0x2f0691(0x2ef)]?this[_0x2f0691(0x2ef)][_0x2f0691(0x365)]?this[_0x2f0691(0x2a9)]=!0x0:process[_0x2f0691(0x315)](_0x22453f,this):process[_0x2f0691(0x315)](_0x22453f,this);else{const _0x53b5ee=this[_0x2f0691(0x32f)];this[_0x2f0691(0x282)](),this['_removeListeners']=this[_0x2f0691(0x32f)]=null,_0x53b5ee[_0x2f0691(0x39d)](()=>{_0x22453f(this);});}}}[_0x16fd88(0x29e)](_0x2a523f){const _0x1ba60b=_0x16fd88;if(this[_0x1ba60b(0x2a0)][_0x1ba60b(0x35c)]){const _0x11b969=_0x2a523f[_0x1ba60b(0x345)][_0x1ba60b(0x306)]('?');if((_0x11b969!==-0x1?_0x2a523f[_0x1ba60b(0x345)][_0x1ba60b(0x29a)](0x0,_0x11b969):_0x2a523f[_0x1ba60b(0x345)])!==this[_0x1ba60b(0x2a0)][_0x1ba60b(0x35c)])return!0x1;}return!0x0;}[_0x16fd88(0x2b9)](_0x237473,_0x1cc2fb,_0x2acb75,_0x9b9b6){const _0x119402=_0x16fd88;_0x1cc2fb['on'](_0x119402(0x25d),_0x53da6b);const _0x11c9dd=_0x237473[_0x119402(0x305)][_0x119402(0x392)],_0x3f0d47=_0x237473[_0x119402(0x305)][_0x119402(0x2bc)],_0x52c2cd=+_0x237473[_0x119402(0x305)]['sec-websocket-version'];if(_0x237473['method']!=='GET'){_0x3a4754(this,_0x237473,_0x1cc2fb,0x195,_0x119402(0x2b6));return;}if(_0x3f0d47===void 0x0||_0x3f0d47[_0x119402(0x367)]()!==_0x119402(0x2c3)){_0x3a4754(this,_0x237473,_0x1cc2fb,0x190,_0x119402(0x27e));return;}if(_0x11c9dd===void 0x0||!_0x19fae8[_0x119402(0x29b)](_0x11c9dd)){_0x3a4754(this,_0x237473,_0x1cc2fb,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x52c2cd!==0x8&&_0x52c2cd!==0xd){_0x3a4754(this,_0x237473,_0x1cc2fb,0x190,_0x119402(0x30b));return;}if(!this[_0x119402(0x29e)](_0x237473)){_0x371f3f(_0x1cc2fb,0x190);return;}const _0x27380f=_0x237473[_0x119402(0x305)][_0x119402(0x266)];let _0x2167ff=new Set();if(_0x27380f!==void 0x0)try{_0x2167ff=_0x5d51de['parse'](_0x27380f);}catch{_0x3a4754(this,_0x237473,_0x1cc2fb,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x50a931=_0x237473[_0x119402(0x305)]['sec-websocket-extensions'],_0x4d5c9b={};if(this['options']['perMessageDeflate']&&_0x50a931!==void 0x0){const _0x2628a7=new _0x123e2d(this['options'][_0x119402(0x260)],!0x0,this[_0x119402(0x2a0)]['maxPayload']);try{const _0x423be6=_0x28eb82[_0x119402(0x36b)](_0x50a931);_0x423be6[_0x123e2d[_0x119402(0x309)]]&&(_0x2628a7[_0x119402(0x24a)](_0x423be6[_0x123e2d[_0x119402(0x309)]]),_0x4d5c9b[_0x123e2d[_0x119402(0x309)]]=_0x2628a7);}catch{_0x3a4754(this,_0x237473,_0x1cc2fb,0x190,_0x119402(0x1fe));return;}}if(this['options'][_0x119402(0x2d5)]){const _0x4829c0={'origin':_0x237473[_0x119402(0x305)][''+(_0x52c2cd===0x8?_0x119402(0x2d7):_0x119402(0x27d))],'secure':!!(_0x237473[_0x119402(0x233)][_0x119402(0x385)]||_0x237473[_0x119402(0x233)][_0x119402(0x37c)]),'req':_0x237473};if(this['options'][_0x119402(0x2d5)][_0x119402(0x2d4)]===0x2){this[_0x119402(0x2a0)]['verifyClient'](_0x4829c0,(_0x5f0dd6,_0x407474,_0x5bc619,_0x54b686)=>{const _0x155395=_0x119402;if(!_0x5f0dd6)return _0x371f3f(_0x1cc2fb,_0x407474||0x191,_0x5bc619,_0x54b686);this[_0x155395(0x20b)](_0x4d5c9b,_0x11c9dd,_0x2167ff,_0x237473,_0x1cc2fb,_0x2acb75,_0x9b9b6);});return;}if(!this[_0x119402(0x2a0)]['verifyClient'](_0x4829c0))return _0x371f3f(_0x1cc2fb,0x191);}this[_0x119402(0x20b)](_0x4d5c9b,_0x11c9dd,_0x2167ff,_0x237473,_0x1cc2fb,_0x2acb75,_0x9b9b6);}[_0x16fd88(0x20b)](_0x1720f4,_0x133673,_0xd07657,_0x4cd56d,_0x3618e0,_0xa75764,_0x316282){const _0x2f6d10=_0x16fd88;if(!_0x3618e0[_0x2f6d10(0x21b)]||!_0x3618e0['writable'])return _0x3618e0[_0x2f6d10(0x224)]();if(_0x3618e0[_0x3e22a9])throw new Error(_0x2f6d10(0x1dc));if(this[_0x2f6d10(0x27b)]>_0x5774c9)return _0x371f3f(_0x3618e0,0x1f7);const _0x47ccfa=[_0x2f6d10(0x1ec),_0x2f6d10(0x254),_0x2f6d10(0x359),_0x2f6d10(0x262)+_0x530977(_0x2f6d10(0x234))[_0x2f6d10(0x32e)](_0x133673+_0x516f9e)[_0x2f6d10(0x346)]('base64')],_0x47e829=new this[(_0x2f6d10(0x2a0))]['WebSocket'](null,void 0x0,this[_0x2f6d10(0x2a0)]);if(_0xd07657[_0x2f6d10(0x365)]){const _0x5b0f03=this[_0x2f6d10(0x2a0)][_0x2f6d10(0x364)]?this[_0x2f6d10(0x2a0)][_0x2f6d10(0x364)](_0xd07657,_0x4cd56d):_0xd07657[_0x2f6d10(0x23f)]()[_0x2f6d10(0x20a)]()[_0x2f6d10(0x264)];_0x5b0f03&&(_0x47ccfa[_0x2f6d10(0x339)]('Sec-WebSocket-Protocol:\x20'+_0x5b0f03),_0x47e829[_0x2f6d10(0x278)]=_0x5b0f03);}if(_0x1720f4[_0x123e2d[_0x2f6d10(0x309)]]){const _0x427d9e=_0x1720f4[_0x123e2d[_0x2f6d10(0x309)]][_0x2f6d10(0x1e3)],_0x173c69=_0x28eb82[_0x2f6d10(0x22f)]({[_0x123e2d[_0x2f6d10(0x309)]]:[_0x427d9e]});_0x47ccfa[_0x2f6d10(0x339)](_0x2f6d10(0x2f4)+_0x173c69),_0x47e829[_0x2f6d10(0x318)]=_0x1720f4;}this[_0x2f6d10(0x30d)](_0x2f6d10(0x305),_0x47ccfa,_0x4cd56d),_0x3618e0[_0x2f6d10(0x371)](_0x47ccfa[_0x2f6d10(0x383)]('\x0d\x0a')['join']('\x0d\x0a')),_0x3618e0[_0x2f6d10(0x36a)](_0x2f6d10(0x25d),_0x53da6b),_0x47e829['setSocket'](_0x3618e0,_0xa75764,{'allowSynchronousEvents':this['options'][_0x2f6d10(0x23e)],'maxPayload':this[_0x2f6d10(0x2a0)][_0x2f6d10(0x287)],'skipUTF8Validation':this[_0x2f6d10(0x2a0)]['skipUTF8Validation']}),this[_0x2f6d10(0x2ef)]&&(this[_0x2f6d10(0x2ef)][_0x2f6d10(0x2b3)](_0x47e829),_0x47e829['on'](_0x2f6d10(0x39d),()=>{const _0x301c89=_0x2f6d10;this['clients'][_0x301c89(0x341)](_0x47e829),this[_0x301c89(0x2a9)]&&!this[_0x301c89(0x2ef)][_0x301c89(0x365)]&&process[_0x301c89(0x315)](_0x22453f,this);})),_0x316282(_0x47e829,_0x4cd56d);}}Te=_0x4baa5e;function _0x24a533(_0x46970b,_0x113553){const _0x35fe3e=_0x16fd88;for(const _0x38fbdb of Object[_0x35fe3e(0x1e7)](_0x113553))_0x46970b['on'](_0x38fbdb,_0x113553[_0x38fbdb]);return function(){const _0x477b03=_0x35fe3e;for(const _0x572c78 of Object[_0x477b03(0x1e7)](_0x113553))_0x46970b[_0x477b03(0x36a)](_0x572c78,_0x113553[_0x572c78]);};}function _0x22453f(_0x1de42a){const _0xa2c744=_0x16fd88;_0x1de42a['_state']=_0x2c51f8,_0x1de42a[_0xa2c744(0x30d)]('close');}function _0x53da6b(){const _0x4f49d6=_0x16fd88;this[_0x4f49d6(0x224)]();}function _0x371f3f(_0x376531,_0x4c7129,_0x2a9a73,_0x1ce43a){const _0x31db76=_0x16fd88;_0x2a9a73=_0x2a9a73||_0x2c08c2[_0x31db76(0x1f3)][_0x4c7129],_0x1ce43a={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x2a9a73),..._0x1ce43a},_0x376531['once'](_0x31db76(0x33d),_0x376531['destroy']),_0x376531['end'](_0x31db76(0x2ff)+_0x4c7129+'\x20'+_0x2c08c2[_0x31db76(0x1f3)][_0x4c7129]+'\x0d\x0a'+Object[_0x31db76(0x1e7)](_0x1ce43a)[_0x31db76(0x376)](_0x4e4eb5=>_0x4e4eb5+':\x20'+_0x1ce43a[_0x4e4eb5])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2a9a73);}function _0x3a4754(_0x541963,_0x5ee597,_0x20ff03,_0x376c54,_0x652ca2){const _0x417ca7=_0x16fd88;if(_0x541963[_0x417ca7(0x37d)](_0x417ca7(0x324))){const _0x9e6808=new Error(_0x652ca2);Error[_0x417ca7(0x299)](_0x9e6808,_0x3a4754),_0x541963[_0x417ca7(0x30d)](_0x417ca7(0x324),_0x9e6808,_0x20ff03,_0x5ee597);}else _0x371f3f(_0x20ff03,_0x376c54,_0x652ca2);}return Te;}Ft();var jt=Object[_0x99fc6b(0x280)],Wt=(_0x4d34a5,_0x20b3d8,_0x4b05d1,_0xaf5942)=>{const _0x27f82f=_0x99fc6b;for(var _0x4f5d1c=_0xaf5942>0x1?void 0x0:_0xaf5942?jt(_0x20b3d8,_0x4b05d1):_0x20b3d8,_0xa13fab=_0x4d34a5[_0x27f82f(0x2d4)]-0x1,_0x7cc2e4;_0xa13fab>=0x0;_0xa13fab--)(_0x7cc2e4=_0x4d34a5[_0xa13fab])&&(_0x4f5d1c=_0x7cc2e4(_0x4f5d1c)||_0x4f5d1c);return _0x4f5d1c;},qt=(_0x422521,_0xfea142)=>(_0x404ab4,_0xd6f61c)=>_0xfea142(_0x404ab4,_0xd6f61c,_0x422521);let ke=class extends A['Disposable']{constructor(_0x4fe7b8){const _0x3650cf=_0x99fc6b;super(),this[_0x3650cf(0x303)]=_0x4fe7b8;}['createSocket'](_0x167274){const _0x5d7228=_0x99fc6b;var _0xa6555b;const _0x1b54b0=(_0xa6555b=this[_0x5d7228(0x303)]['getConfig'](fe))==null?void 0x0:_0xa6555b[_0x5d7228(0x295)];try{const _0x441673=new $t(_0x167274,{'headers':{..._0x1b54b0}}),_0x1659ac=new A['DisposableCollection']();return{'URL':_0x167274,'close':(_0x2272ed,_0x2a58cb)=>{_0x441673['close'](_0x2272ed,_0x2a58cb),_0x1659ac['dispose']();},'send':_0x3732ab=>{_0x441673['send'](_0x3732ab);},'open$':new V['Observable'](_0x31b088=>{const _0x37da15=_0x5d7228,_0x235acb=_0x1d392e=>_0x31b088[_0x37da15(0x20a)](_0x1d392e);_0x441673[_0x37da15(0x1e4)](_0x37da15(0x245),_0x235acb),_0x1659ac['add'](A[_0x37da15(0x289)](()=>_0x441673[_0x37da15(0x220)](_0x37da15(0x245),_0x235acb)));})[_0x5d7228(0x2d1)](V[_0x5d7228(0x375)]()),'close$':new V[(_0x5d7228(0x230))](_0x2d1367=>{const _0x5e30db=_0x5d7228,_0x9090c8=_0x25326f=>_0x2d1367['next'](_0x25326f);_0x441673[_0x5e30db(0x1e4)]('close',_0x9090c8),_0x1659ac[_0x5e30db(0x2b3)](A[_0x5e30db(0x289)](()=>_0x441673[_0x5e30db(0x220)](_0x5e30db(0x39d),_0x9090c8)));})['pipe'](V[_0x5d7228(0x375)]()),'error$':new V[(_0x5d7228(0x230))](_0x23b796=>{const _0x2e77dc=_0x5d7228,_0x281c91=_0x5971f8=>_0x23b796[_0x2e77dc(0x20a)](_0x5971f8);_0x441673[_0x2e77dc(0x1e4)](_0x2e77dc(0x25d),_0x281c91),_0x1659ac['add'](A[_0x2e77dc(0x289)](()=>_0x441673['removeEventListener'](_0x2e77dc(0x25d),_0x281c91)));})[_0x5d7228(0x2d1)](V['share']()),'message$':new V['Observable'](_0x9a418a=>{const _0xb1caac=_0x5d7228,_0x1171fe=_0x4ba916=>_0x9a418a['next'](_0x4ba916);_0x441673[_0xb1caac(0x1e4)](_0xb1caac(0x37e),_0x1171fe),_0x1659ac['add'](A[_0xb1caac(0x289)](()=>_0x441673[_0xb1caac(0x220)]('message',_0x1171fe)));})['pipe'](V['share']())};}catch(_0x54461a){return console[_0x5d7228(0x25d)](_0x54461a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x99fc6b(0x2fb)],Vt=Object[_0x99fc6b(0x280)],Ht=(_0x1acb05,_0x4febea,_0x25f32b)=>_0x4febea in _0x1acb05?Gt(_0x1acb05,_0x4febea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25f32b}):_0x1acb05[_0x4febea]=_0x25f32b,zt=(_0x57fd43,_0xc7c471,_0x15b630,_0x2f1c92)=>{for(var _0x2bf529=_0x2f1c92>0x1?void 0x0:_0x2f1c92?Vt(_0xc7c471,_0x15b630):_0xc7c471,_0x4a0d66=_0x57fd43['length']-0x1,_0x5ab977;_0x4a0d66>=0x0;_0x4a0d66--)(_0x5ab977=_0x57fd43[_0x4a0d66])&&(_0x2bf529=_0x5ab977(_0x2bf529)||_0x2bf529);return _0x2bf529;},Ne=(_0x4a15b5,_0x465802)=>(_0x332f4a,_0x30423d)=>_0x465802(_0x332f4a,_0x30423d,_0x4a15b5),Yt=(_0x62c8a0,_0x5399a1,_0x4c483c)=>Ht(_0x62c8a0,_0x5399a1+'',_0x4c483c);exports[_0x99fc6b(0x204)]=class extends A[_0x99fc6b(0x381)]{constructor(_0x37e651=Ct,_0x3f9772,_0x54ae23,_0x4cedab){const _0x3f2aef=_0x99fc6b;_0x37e651[_0x3f2aef(0x295)]||_0x3f9772[_0x3f2aef(0x251)](_0x3f2aef(0x1fc)),super(),this[_0x3f2aef(0x303)]=_0x54ae23,this['_injector']=_0x4cedab,this['_configService']['setConfig'](fe,_0x37e651);}['onStarting'](){const _0x2dcf20=_0x99fc6b;this[_0x2dcf20(0x23c)]();}[_0x99fc6b(0x23c)](){const _0x4b3783=_0x99fc6b;A[_0x4b3783(0x283)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x99fc6b(0x26f)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x99fc6b(0x20f)](st[_0x99fc6b(0x377)]),Ne(0x1,A[_0x99fc6b(0x302)]),Ne(0x2,A[_0x99fc6b(0x256)]),Ne(0x3,A[_0x99fc6b(0x1ee)](A[_0x99fc6b(0x38f)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x99fc6b(0x280)],Xt=(_0x4adc84,_0x28a797,_0x57b5d0,_0x6dd93b)=>{for(var _0x5ecdc1=_0x6dd93b>0x1?void 0x0:_0x6dd93b?Kt(_0x28a797,_0x57b5d0):_0x28a797,_0x41c871=_0x4adc84['length']-0x1,_0x31340e;_0x41c871>=0x0;_0x41c871--)(_0x31340e=_0x4adc84[_0x41c871])&&(_0x5ecdc1=_0x31340e(_0x5ecdc1)||_0x5ecdc1);return _0x5ecdc1;},ne=(_0x3aaa5f,_0x24b8d0)=>(_0x346c2e,_0x3ea4b7)=>_0x24b8d0(_0x346c2e,_0x3ea4b7,_0x3aaa5f);exports[_0x99fc6b(0x216)]=class extends st[_0x99fc6b(0x33e)]{constructor(_0x17289c,_0x4edc01,_0x396832,_0x298ee2,_0x446ebe){const _0x1ce608=_0x99fc6b;super(_0x17289c,_0x4edc01,_0x396832,_0x298ee2,_0x446ebe);const _0x3dea5b=this[_0x1ce608(0x303)][_0x1ce608(0x28e)](fe);this[_0x1ce608(0x274)][_0x1ce608(0x2dd)]({'interceptor':(_0x5f2331,_0x1674b3)=>{const _0x54f45e=_0x1ce608;var _0x40b75e;const _0xd6f114=_0x5f2331['headers'];return(_0x40b75e=_0x3dea5b==null?void 0x0:_0x3dea5b[_0x54f45e(0x295)])!=null&&_0x40b75e[_0x54f45e(0x310)]&&_0xd6f114[_0x54f45e(0x2dc)](_0x54f45e(0x2b5),_0x3dea5b[_0x54f45e(0x295)][_0x54f45e(0x310)]),_0x1674b3(_0x5f2331);}});}async['createSocket'](_0x20be9b){const _0x4d8557=_0x99fc6b;return this[_0x4d8557(0x2e7)](_0x20be9b);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x99fc6b(0x1ee)](A[_0x99fc6b(0x38f)])),ne(0x1,A['Inject'](it[_0x99fc6b(0x38a)])),ne(0x2,A[_0x99fc6b(0x256)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x99fc6b(0x2c0)])],exports['NodeCollaborationSocketService']),exports[_0x99fc6b(0x269)]=fe;