@univerjs-pro/collaboration-client-node 0.6.10 → 0.7.0-beta.0
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 +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x56526c=_0x21f6;(function(_0x31bc8a,_0x279b0d){const _0x22673c=_0x21f6,_0x20390e=_0x31bc8a();while(!![]){try{const _0x1181be=parseInt(_0x22673c(0x31d))/0x1+parseInt(_0x22673c(0x38a))/0x2+-parseInt(_0x22673c(0x258))/0x3+parseInt(_0x22673c(0x27f))/0x4+-parseInt(_0x22673c(0x262))/0x5*(-parseInt(_0x22673c(0x23f))/0x6)+parseInt(_0x22673c(0x285))/0x7*(parseInt(_0x22673c(0x1e6))/0x8)+parseInt(_0x22673c(0x36c))/0x9*(-parseInt(_0x22673c(0x3a2))/0xa);if(_0x1181be===_0x279b0d)break;else _0x20390e['push'](_0x20390e['shift']());}catch(_0x57758c){_0x20390e['push'](_0x20390e['shift']());}}}(_0x1654,0xceed9));Object[_0x56526c(0x2fc)](exports,Symbol[_0x56526c(0x34a)],{'value':'Module'});const st=require(_0x56526c(0x30d)),A=require(_0x56526c(0x33d)),it=require(_0x56526c(0x2dd)),V=require('rxjs'),nt=require('events'),vt=require(_0x56526c(0x250)),ot=require(_0x56526c(0x331)),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require(_0x56526c(0x240)),xt=require(_0x56526c(0x299)),bt=require(_0x56526c(0x367)),wt=require(_0x56526c(0x2e4)),Ot=require(_0x56526c(0x2b0)),fe=_0x56526c(0x391),Ct={'customHeaders':{}};function Tt(_0xfdde64){const _0x191505=_0x56526c;return _0xfdde64&&_0xfdde64[_0x191505(0x2a9)]&&Object[_0x191505(0x324)][_0x191505(0x256)]['call'](_0xfdde64,_0x191505(0x269))?_0xfdde64[_0x191505(0x269)]:_0xfdde64;}function at(_0x24d635){const _0x2470eb=_0x56526c;if(Object[_0x2470eb(0x324)][_0x2470eb(0x256)][_0x2470eb(0x253)](_0x24d635,_0x2470eb(0x2a9)))return _0x24d635;var _0x1ae974=_0x24d635[_0x2470eb(0x269)];if(typeof _0x1ae974==_0x2470eb(0x37d)){var _0x29ef3d=function _0x5615bd(){const _0x56af84=_0x2470eb;return this instanceof _0x5615bd?Reflect['construct'](_0x1ae974,arguments,this[_0x56af84(0x355)]):_0x1ae974['apply'](this,arguments);};_0x29ef3d[_0x2470eb(0x324)]=_0x1ae974[_0x2470eb(0x324)];}else _0x29ef3d={};return Object['defineProperty'](_0x29ef3d,_0x2470eb(0x2a9),{'value':!0x0}),Object['keys'](_0x24d635)[_0x2470eb(0x21e)](function(_0x29504c){const _0xf9a597=_0x2470eb;var _0x48ada3=Object[_0xf9a597(0x306)](_0x24d635,_0x29504c);Object['defineProperty'](_0x29ef3d,_0x29504c,_0x48ada3[_0xf9a597(0x2e0)]?_0x48ada3:{'enumerable':!0x0,'get':function(){return _0x24d635[_0x29504c];}});}),_0x29ef3d;}var se={'exports':{}},ge,Ge;function H(){const _0x246baa=_0x56526c;if(Ge)return ge;Ge=0x1;const _0x22d8bf=[_0x246baa(0x2ba),_0x246baa(0x232),_0x246baa(0x2bc)],_0x53489e=typeof Blob<'u';return _0x53489e&&_0x22d8bf['push']('blob'),ge={'BINARY_TYPES':_0x22d8bf,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x246baa(0x1ff),'hasBlob':_0x53489e,'kForOnEventAttribute':Symbol(_0x246baa(0x361)),'kListener':Symbol(_0x246baa(0x396)),'kStatusCode':Symbol(_0x246baa(0x39a)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x56526c(0x2db)](Object[_0x56526c(0x2fc)]({'__proto__':null,'default':Nt},Symbol[_0x56526c(0x34a)],{'value':_0x56526c(0x209)})),Lt=at(kt);var Ve;function ce(){const _0x2e509d=_0x56526c;if(Ve)return se[_0x2e509d(0x2d7)];Ve=0x1;const {EMPTY_BUFFER:_0x33c5db}=H(),_0x58920f=Buffer[Symbol['species']];function _0x341381(_0x262189,_0x53ddb8){const _0x3d804c=_0x2e509d;if(_0x262189[_0x3d804c(0x359)]===0x0)return _0x33c5db;if(_0x262189[_0x3d804c(0x359)]===0x1)return _0x262189[0x0];const _0x511ba7=Buffer[_0x3d804c(0x227)](_0x53ddb8);let _0x361c5b=0x0;for(let _0x1f5d5a=0x0;_0x1f5d5a<_0x262189['length'];_0x1f5d5a++){const _0x3f2bb3=_0x262189[_0x1f5d5a];_0x511ba7[_0x3d804c(0x37e)](_0x3f2bb3,_0x361c5b),_0x361c5b+=_0x3f2bb3[_0x3d804c(0x359)];}return _0x361c5b<_0x53ddb8?new _0x58920f(_0x511ba7['buffer'],_0x511ba7['byteOffset'],_0x361c5b):_0x511ba7;}function _0x30091c(_0x148c74,_0x163e16,_0xc25bdd,_0x52d791,_0xd4beb6){for(let _0x17f54e=0x0;_0x17f54e<_0xd4beb6;_0x17f54e++)_0xc25bdd[_0x52d791+_0x17f54e]=_0x148c74[_0x17f54e]^_0x163e16[_0x17f54e&0x3];}function _0xb274d8(_0x5684df,_0x5dcea1){const _0x4e675a=_0x2e509d;for(let _0x4dbe35=0x0;_0x4dbe35<_0x5684df[_0x4e675a(0x359)];_0x4dbe35++)_0x5684df[_0x4dbe35]^=_0x5dcea1[_0x4dbe35&0x3];}function _0x280563(_0x136dd0){const _0x587e95=_0x2e509d;return _0x136dd0['length']===_0x136dd0['buffer']['byteLength']?_0x136dd0[_0x587e95(0x2e4)]:_0x136dd0[_0x587e95(0x2e4)]['slice'](_0x136dd0[_0x587e95(0x1f6)],_0x136dd0[_0x587e95(0x1f6)]+_0x136dd0[_0x587e95(0x359)]);}function _0x2c8111(_0x3fd23d){const _0x3d3bc8=_0x2e509d;if(_0x2c8111[_0x3d3bc8(0x312)]=!0x0,Buffer['isBuffer'](_0x3fd23d))return _0x3fd23d;let _0x49d5d3;return _0x3fd23d instanceof ArrayBuffer?_0x49d5d3=new _0x58920f(_0x3fd23d):ArrayBuffer['isView'](_0x3fd23d)?_0x49d5d3=new _0x58920f(_0x3fd23d[_0x3d3bc8(0x2e4)],_0x3fd23d[_0x3d3bc8(0x1f6)],_0x3fd23d[_0x3d3bc8(0x22d)]):(_0x49d5d3=Buffer[_0x3d3bc8(0x2ef)](_0x3fd23d),_0x2c8111['readOnly']=!0x1),_0x49d5d3;}if(se['exports']={'concat':_0x341381,'mask':_0x30091c,'toArrayBuffer':_0x280563,'toBuffer':_0x2c8111,'unmask':_0xb274d8},!process[_0x2e509d(0x2c3)][_0x2e509d(0x30e)])try{const _0x5d8a48=Lt;se['exports'][_0x2e509d(0x26e)]=function(_0x21b495,_0x363ebf,_0x1586b9,_0x54bf54,_0x30384c){_0x30384c<0x30?_0x30091c(_0x21b495,_0x363ebf,_0x1586b9,_0x54bf54,_0x30384c):_0x5d8a48['mask'](_0x21b495,_0x363ebf,_0x1586b9,_0x54bf54,_0x30384c);},se[_0x2e509d(0x2d7)][_0x2e509d(0x2a5)]=function(_0xeda96a,_0x3e3f2c){const _0x3c0f4e=_0x2e509d;_0xeda96a[_0x3c0f4e(0x359)]<0x20?_0xb274d8(_0xeda96a,_0x3e3f2c):_0x5d8a48['unmask'](_0xeda96a,_0x3e3f2c);};}catch{}return se['exports'];}var ye,He;function _0x21f6(_0x1137a9,_0x2be76c){const _0x165441=_0x1654();return _0x21f6=function(_0x21f6a0,_0x452f6e){_0x21f6a0=_0x21f6a0-0x1e3;let _0x18de7d=_0x165441[_0x21f6a0];return _0x18de7d;},_0x21f6(_0x1137a9,_0x2be76c);}function Pt(){const _0x350061=_0x56526c;if(He)return ye;He=0x1;const _0x5ccc8b=Symbol('kDone'),_0x226745=Symbol(_0x350061(0x244));class _0x355752{constructor(_0xc2c871){const _0x37d0a1=_0x350061;this[_0x5ccc8b]=()=>{const _0x14d5a4=_0x21f6;this[_0x14d5a4(0x30a)]--,this[_0x226745]();},this[_0x37d0a1(0x20c)]=_0xc2c871||0x1/0x0,this[_0x37d0a1(0x2ff)]=[],this[_0x37d0a1(0x30a)]=0x0;}[_0x350061(0x347)](_0x7b54d1){const _0x6083a5=_0x350061;this[_0x6083a5(0x2ff)][_0x6083a5(0x305)](_0x7b54d1),this[_0x226745]();}[_0x226745](){const _0x26a896=_0x350061;if(this[_0x26a896(0x30a)]!==this['concurrency']&&this[_0x26a896(0x2ff)][_0x26a896(0x359)]){const _0xaef89c=this[_0x26a896(0x2ff)][_0x26a896(0x28d)]();this[_0x26a896(0x30a)]++,_0xaef89c(this[_0x5ccc8b]);}}}return ye=_0x355752,ye;}var ve,ze;function he(){const _0xe762ba=_0x56526c;if(ze)return ve;ze=0x1;const _0x1a3d38=bt,_0x24d395=ce(),_0x6c9ed8=Pt(),{kStatusCode:_0x1a01b4}=H(),_0x199e61=Buffer[Symbol[_0xe762ba(0x1f4)]],_0x3d6a18=Buffer[_0xe762ba(0x2ef)]([0x0,0x0,0xff,0xff]),_0x113d67=Symbol(_0xe762ba(0x265)),_0x18f7d0=Symbol(_0xe762ba(0x1eb)),_0x5b4ac8=Symbol(_0xe762ba(0x2f6)),_0x47c57a=Symbol('buffers'),_0x56fbd9=Symbol('error');let _0x311bb8;class _0x10f88b{constructor(_0x479135,_0x427e29,_0x112d01){const _0x4825ad=_0xe762ba;if(this[_0x4825ad(0x28e)]=_0x112d01|0x0,this['_options']=_0x479135||{},this['_threshold']=this['_options'][_0x4825ad(0x36f)]!==void 0x0?this[_0x4825ad(0x387)]['threshold']:0x400,this[_0x4825ad(0x1e4)]=!!_0x427e29,this[_0x4825ad(0x277)]=null,this[_0x4825ad(0x35b)]=null,this['params']=null,!_0x311bb8){const _0x423618=this['_options'][_0x4825ad(0x283)]!==void 0x0?this[_0x4825ad(0x387)]['concurrencyLimit']:0xa;_0x311bb8=new _0x6c9ed8(_0x423618);}}static get['extensionName'](){const _0x37bfb7=_0xe762ba;return _0x37bfb7(0x265);}[_0xe762ba(0x22b)](){const _0x10ee4d=_0xe762ba,_0x480052={};return this[_0x10ee4d(0x387)][_0x10ee4d(0x1e9)]&&(_0x480052[_0x10ee4d(0x238)]=!0x0),this[_0x10ee4d(0x387)]['clientNoContextTakeover']&&(_0x480052[_0x10ee4d(0x272)]=!0x0),this['_options'][_0x10ee4d(0x2a6)]&&(_0x480052[_0x10ee4d(0x2ae)]=this[_0x10ee4d(0x387)][_0x10ee4d(0x2a6)]),this['_options'][_0x10ee4d(0x2e9)]?_0x480052[_0x10ee4d(0x2d4)]=this[_0x10ee4d(0x387)][_0x10ee4d(0x2e9)]:this[_0x10ee4d(0x387)]['clientMaxWindowBits']==null&&(_0x480052[_0x10ee4d(0x2d4)]=!0x0),_0x480052;}[_0xe762ba(0x25c)](_0x51278b){const _0x1c3278=_0xe762ba;return _0x51278b=this[_0x1c3278(0x276)](_0x51278b),this[_0x1c3278(0x294)]=this[_0x1c3278(0x1e4)]?this[_0x1c3278(0x207)](_0x51278b):this['acceptAsClient'](_0x51278b),this[_0x1c3278(0x294)];}['cleanup'](){const _0x1cef96=_0xe762ba;if(this[_0x1cef96(0x35b)]&&(this[_0x1cef96(0x35b)][_0x1cef96(0x235)](),this[_0x1cef96(0x35b)]=null),this[_0x1cef96(0x277)]){const _0x4a67f8=this[_0x1cef96(0x277)][_0x5b4ac8];this['_deflate'][_0x1cef96(0x235)](),this[_0x1cef96(0x277)]=null,_0x4a67f8&&_0x4a67f8(new Error(_0x1cef96(0x35e)));}}[_0xe762ba(0x207)](_0x3f3fd1){const _0x42d3f6=_0xe762ba,_0x2ddc6d=this[_0x42d3f6(0x387)],_0x47b643=_0x3f3fd1[_0x42d3f6(0x300)](_0x6507bc=>!(_0x2ddc6d[_0x42d3f6(0x1e9)]===!0x1&&_0x6507bc[_0x42d3f6(0x238)]||_0x6507bc[_0x42d3f6(0x2ae)]&&(_0x2ddc6d[_0x42d3f6(0x2a6)]===!0x1||typeof _0x2ddc6d[_0x42d3f6(0x2a6)]=='number'&&_0x2ddc6d['serverMaxWindowBits']>_0x6507bc[_0x42d3f6(0x2ae)])||typeof _0x2ddc6d[_0x42d3f6(0x2e9)]==_0x42d3f6(0x24c)&&!_0x6507bc[_0x42d3f6(0x2d4)]));if(!_0x47b643)throw new Error(_0x42d3f6(0x389));return _0x2ddc6d[_0x42d3f6(0x1e9)]&&(_0x47b643[_0x42d3f6(0x238)]=!0x0),_0x2ddc6d[_0x42d3f6(0x1f0)]&&(_0x47b643['client_no_context_takeover']=!0x0),typeof _0x2ddc6d[_0x42d3f6(0x2a6)]==_0x42d3f6(0x24c)&&(_0x47b643[_0x42d3f6(0x2ae)]=_0x2ddc6d['serverMaxWindowBits']),typeof _0x2ddc6d['clientMaxWindowBits']==_0x42d3f6(0x24c)?_0x47b643[_0x42d3f6(0x2d4)]=_0x2ddc6d[_0x42d3f6(0x2e9)]:(_0x47b643[_0x42d3f6(0x2d4)]===!0x0||_0x2ddc6d[_0x42d3f6(0x2e9)]===!0x1)&&delete _0x47b643[_0x42d3f6(0x2d4)],_0x47b643;}[_0xe762ba(0x307)](_0x1edfef){const _0x2c5a70=_0xe762ba,_0x41d8ee=_0x1edfef[0x0];if(this[_0x2c5a70(0x387)][_0x2c5a70(0x1f0)]===!0x1&&_0x41d8ee[_0x2c5a70(0x272)])throw new Error(_0x2c5a70(0x390));if(!_0x41d8ee['client_max_window_bits'])typeof this[_0x2c5a70(0x387)][_0x2c5a70(0x2e9)]==_0x2c5a70(0x24c)&&(_0x41d8ee[_0x2c5a70(0x2d4)]=this[_0x2c5a70(0x387)][_0x2c5a70(0x2e9)]);else{if(this[_0x2c5a70(0x387)][_0x2c5a70(0x2e9)]===!0x1||typeof this[_0x2c5a70(0x387)][_0x2c5a70(0x2e9)]==_0x2c5a70(0x24c)&&_0x41d8ee['client_max_window_bits']>this[_0x2c5a70(0x387)][_0x2c5a70(0x2e9)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x41d8ee;}[_0xe762ba(0x276)](_0x4f1fd4){return _0x4f1fd4['forEach'](_0x59409e=>{const _0x27711f=_0x21f6;Object[_0x27711f(0x28a)](_0x59409e)[_0x27711f(0x21e)](_0x1e1dc1=>{const _0x57203a=_0x27711f;let _0x317ca3=_0x59409e[_0x1e1dc1];if(_0x317ca3[_0x57203a(0x359)]>0x1)throw new Error('Parameter\x20\x22'+_0x1e1dc1+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x317ca3=_0x317ca3[0x0],_0x1e1dc1===_0x57203a(0x2d4)){if(_0x317ca3!==!0x0){const _0x35983b=+_0x317ca3;if(!Number[_0x57203a(0x274)](_0x35983b)||_0x35983b<0x8||_0x35983b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1e1dc1+_0x57203a(0x327)+_0x317ca3);_0x317ca3=_0x35983b;}else{if(!this['_isServer'])throw new TypeError(_0x57203a(0x3a4)+_0x1e1dc1+_0x57203a(0x327)+_0x317ca3);}}else{if(_0x1e1dc1===_0x57203a(0x2ae)){const _0x546246=+_0x317ca3;if(!Number[_0x57203a(0x274)](_0x546246)||_0x546246<0x8||_0x546246>0xf)throw new TypeError(_0x57203a(0x3a4)+_0x1e1dc1+_0x57203a(0x327)+_0x317ca3);_0x317ca3=_0x546246;}else{if(_0x1e1dc1===_0x57203a(0x272)||_0x1e1dc1===_0x57203a(0x238)){if(_0x317ca3!==!0x0)throw new TypeError(_0x57203a(0x3a4)+_0x1e1dc1+_0x57203a(0x327)+_0x317ca3);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x1e1dc1+'\x22');}}_0x59409e[_0x1e1dc1]=_0x317ca3;});}),_0x4f1fd4;}[_0xe762ba(0x212)](_0x1aeb64,_0x4bd385,_0x7426ea){const _0x57f425=_0xe762ba;_0x311bb8[_0x57f425(0x347)](_0x4246cb=>{const _0x2bf3c0=_0x57f425;this[_0x2bf3c0(0x225)](_0x1aeb64,_0x4bd385,(_0x2d1414,_0x40661c)=>{_0x4246cb(),_0x7426ea(_0x2d1414,_0x40661c);});});}[_0xe762ba(0x311)](_0x186dcf,_0x6ea190,_0x3ad632){const _0x4bdafc=_0xe762ba;_0x311bb8[_0x4bdafc(0x347)](_0x4a41b5=>{const _0x553f5c=_0x4bdafc;this[_0x553f5c(0x304)](_0x186dcf,_0x6ea190,(_0x100fe7,_0x3bcdaf)=>{_0x4a41b5(),_0x3ad632(_0x100fe7,_0x3bcdaf);});});}[_0xe762ba(0x225)](_0x4b949c,_0x5cb7b1,_0x594808){const _0x5c5beb=_0xe762ba,_0x2df324=this[_0x5c5beb(0x1e4)]?'client':_0x5c5beb(0x257);if(!this[_0x5c5beb(0x35b)]){const _0x2bcfb6=_0x2df324+_0x5c5beb(0x358),_0x2495c3=typeof this[_0x5c5beb(0x294)][_0x2bcfb6]!='number'?_0x1a3d38[_0x5c5beb(0x330)]:this[_0x5c5beb(0x294)][_0x2bcfb6];this['_inflate']=_0x1a3d38[_0x5c5beb(0x325)]({...this[_0x5c5beb(0x387)]['zlibInflateOptions'],'windowBits':_0x2495c3}),this[_0x5c5beb(0x35b)][_0x113d67]=this,this['_inflate'][_0x18f7d0]=0x0,this[_0x5c5beb(0x35b)][_0x47c57a]=[],this[_0x5c5beb(0x35b)]['on'](_0x5c5beb(0x1fa),_0x17919b),this[_0x5c5beb(0x35b)]['on'](_0x5c5beb(0x357),_0x4b37e3);}this['_inflate'][_0x5b4ac8]=_0x594808,this[_0x5c5beb(0x35b)][_0x5c5beb(0x28f)](_0x4b949c),_0x5cb7b1&&this[_0x5c5beb(0x35b)][_0x5c5beb(0x28f)](_0x3d6a18),this[_0x5c5beb(0x35b)][_0x5c5beb(0x29d)](()=>{const _0xeafead=_0x5c5beb,_0x5a0d0a=this[_0xeafead(0x35b)][_0x56fbd9];if(_0x5a0d0a){this[_0xeafead(0x35b)]['close'](),this[_0xeafead(0x35b)]=null,_0x594808(_0x5a0d0a);return;}const _0x1f69d0=_0x24d395[_0xeafead(0x370)](this[_0xeafead(0x35b)][_0x47c57a],this[_0xeafead(0x35b)][_0x18f7d0]);this[_0xeafead(0x35b)]['_readableState'][_0xeafead(0x313)]?(this[_0xeafead(0x35b)][_0xeafead(0x235)](),this[_0xeafead(0x35b)]=null):(this[_0xeafead(0x35b)][_0x18f7d0]=0x0,this['_inflate'][_0x47c57a]=[],_0x5cb7b1&&this['params'][_0x2df324+_0xeafead(0x292)]&&this[_0xeafead(0x35b)][_0xeafead(0x2eb)]()),_0x594808(null,_0x1f69d0);});}[_0xe762ba(0x304)](_0x3b7016,_0x3a5775,_0xa11a8d){const _0x3f45fb=_0xe762ba,_0x7fb8c=this['_isServer']?_0x3f45fb(0x257):_0x3f45fb(0x2b8);if(!this[_0x3f45fb(0x277)]){const _0x5f4cc4=_0x7fb8c+_0x3f45fb(0x358),_0x3a26f8=typeof this['params'][_0x5f4cc4]!=_0x3f45fb(0x24c)?_0x1a3d38[_0x3f45fb(0x330)]:this[_0x3f45fb(0x294)][_0x5f4cc4];this[_0x3f45fb(0x277)]=_0x1a3d38[_0x3f45fb(0x36a)]({...this[_0x3f45fb(0x387)][_0x3f45fb(0x2c8)],'windowBits':_0x3a26f8}),this[_0x3f45fb(0x277)][_0x18f7d0]=0x0,this[_0x3f45fb(0x277)][_0x47c57a]=[],this['_deflate']['on'](_0x3f45fb(0x357),_0xe5f042);}this[_0x3f45fb(0x277)][_0x5b4ac8]=_0xa11a8d,this[_0x3f45fb(0x277)]['write'](_0x3b7016),this[_0x3f45fb(0x277)][_0x3f45fb(0x29d)](_0x1a3d38[_0x3f45fb(0x34f)],()=>{const _0xc6ce67=_0x3f45fb;if(!this['_deflate'])return;let _0x53b1e5=_0x24d395[_0xc6ce67(0x370)](this[_0xc6ce67(0x277)][_0x47c57a],this[_0xc6ce67(0x277)][_0x18f7d0]);_0x3a5775&&(_0x53b1e5=new _0x199e61(_0x53b1e5[_0xc6ce67(0x2e4)],_0x53b1e5[_0xc6ce67(0x1f6)],_0x53b1e5[_0xc6ce67(0x359)]-0x4)),this[_0xc6ce67(0x277)][_0x5b4ac8]=null,this[_0xc6ce67(0x277)][_0x18f7d0]=0x0,this[_0xc6ce67(0x277)][_0x47c57a]=[],_0x3a5775&&this[_0xc6ce67(0x294)][_0x7fb8c+'_no_context_takeover']&&this[_0xc6ce67(0x277)][_0xc6ce67(0x2eb)](),_0xa11a8d(null,_0x53b1e5);});}}ve=_0x10f88b;function _0xe5f042(_0x52a54f){const _0x42a7ed=_0xe762ba;this[_0x47c57a][_0x42a7ed(0x305)](_0x52a54f),this[_0x18f7d0]+=_0x52a54f[_0x42a7ed(0x359)];}function _0x4b37e3(_0x418e7e){const _0x4c9ffb=_0xe762ba;if(this[_0x18f7d0]+=_0x418e7e[_0x4c9ffb(0x359)],this[_0x113d67][_0x4c9ffb(0x28e)]<0x1||this[_0x18f7d0]<=this[_0x113d67][_0x4c9ffb(0x28e)]){this[_0x47c57a][_0x4c9ffb(0x305)](_0x418e7e);return;}this[_0x56fbd9]=new RangeError(_0x4c9ffb(0x398)),this[_0x56fbd9][_0x4c9ffb(0x27a)]=_0x4c9ffb(0x363),this[_0x56fbd9][_0x1a01b4]=0x3f1,this[_0x4c9ffb(0x282)](_0x4c9ffb(0x357),_0x4b37e3),this[_0x4c9ffb(0x2eb)]();}function _0x17919b(_0x3ee409){const _0x1d3932=_0xe762ba;this[_0x113d67][_0x1d3932(0x35b)]=null,_0x3ee409[_0x1a01b4]=0x3ef,this[_0x5b4ac8](_0x3ee409);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x56526c(0x2db)](Object[_0x56526c(0x2fc)]({'__proto__':null,'default':Dt},Symbol[_0x56526c(0x34a)],{'value':_0x56526c(0x209)})),Bt=at(Rt);var Ye;function ae(){const _0x4b06b7=_0x56526c;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x452254}=wt,{hasBlob:_0x446963}=H(),_0x38e4f8=[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 _0x5d9c24(_0x52db2c){return _0x52db2c>=0x3e8&&_0x52db2c<=0x3f6&&_0x52db2c!==0x3ec&&_0x52db2c!==0x3ed&&_0x52db2c!==0x3ee||_0x52db2c>=0xbb8&&_0x52db2c<=0x1387;}function _0x5eb505(_0x33568e){const _0x2b235=_0x21f6,_0x1ff36e=_0x33568e[_0x2b235(0x359)];let _0x565f0c=0x0;for(;_0x565f0c<_0x1ff36e;)if((_0x33568e[_0x565f0c]&0x80)===0x0)_0x565f0c++;else{if((_0x33568e[_0x565f0c]&0xe0)===0xc0){if(_0x565f0c+0x1===_0x1ff36e||(_0x33568e[_0x565f0c+0x1]&0xc0)!==0x80||(_0x33568e[_0x565f0c]&0xfe)===0xc0)return!0x1;_0x565f0c+=0x2;}else{if((_0x33568e[_0x565f0c]&0xf0)===0xe0){if(_0x565f0c+0x2>=_0x1ff36e||(_0x33568e[_0x565f0c+0x1]&0xc0)!==0x80||(_0x33568e[_0x565f0c+0x2]&0xc0)!==0x80||_0x33568e[_0x565f0c]===0xe0&&(_0x33568e[_0x565f0c+0x1]&0xe0)===0x80||_0x33568e[_0x565f0c]===0xed&&(_0x33568e[_0x565f0c+0x1]&0xe0)===0xa0)return!0x1;_0x565f0c+=0x3;}else{if((_0x33568e[_0x565f0c]&0xf8)===0xf0){if(_0x565f0c+0x3>=_0x1ff36e||(_0x33568e[_0x565f0c+0x1]&0xc0)!==0x80||(_0x33568e[_0x565f0c+0x2]&0xc0)!==0x80||(_0x33568e[_0x565f0c+0x3]&0xc0)!==0x80||_0x33568e[_0x565f0c]===0xf0&&(_0x33568e[_0x565f0c+0x1]&0xf0)===0x80||_0x33568e[_0x565f0c]===0xf4&&_0x33568e[_0x565f0c+0x1]>0x8f||_0x33568e[_0x565f0c]>0xf4)return!0x1;_0x565f0c+=0x4;}else return!0x1;}}}return!0x0;}function _0xc5f3b9(_0x11c164){const _0x3e9366=_0x21f6;return _0x446963&&typeof _0x11c164==_0x3e9366(0x298)&&typeof _0x11c164[_0x3e9366(0x264)]=='function'&&typeof _0x11c164['type']==_0x3e9366(0x364)&&typeof _0x11c164['stream']=='function'&&(_0x11c164[Symbol[_0x3e9366(0x34a)]]==='Blob'||_0x11c164[Symbol[_0x3e9366(0x34a)]]==='File');}if(ie['exports']={'isBlob':_0xc5f3b9,'isValidStatusCode':_0x5d9c24,'isValidUTF8':_0x5eb505,'tokenChars':_0x38e4f8},_0x452254)ie[_0x4b06b7(0x2d7)][_0x4b06b7(0x239)]=function(_0x1ece08){const _0x3b9421=_0x4b06b7;return _0x1ece08[_0x3b9421(0x359)]<0x18?_0x5eb505(_0x1ece08):_0x452254(_0x1ece08);};else{if(!process[_0x4b06b7(0x2c3)]['WS_NO_UTF_8_VALIDATE'])try{const _0x4cc988=Bt;ie[_0x4b06b7(0x2d7)][_0x4b06b7(0x239)]=function(_0x78a159){return _0x78a159['length']<0x20?_0x5eb505(_0x78a159):_0x4cc988(_0x78a159);};}catch{}}return ie[_0x4b06b7(0x2d7)];}var Se,Ke;function lt(){const _0x2562ed=_0x56526c;if(Ke)return Se;Ke=0x1;const {Writable:_0x522290}=oe,_0xd239b1=he(),{BINARY_TYPES:_0x12271b,EMPTY_BUFFER:_0x235402,kStatusCode:_0x530947,kWebSocket:_0x3cd77d}=H(),{concat:_0x286c93,toArrayBuffer:_0x4a99e8,unmask:_0x5ed3e2}=ce(),{isValidStatusCode:_0x2b48d1,isValidUTF8:_0x22d551}=ae(),_0x32992d=Buffer[Symbol[_0x2562ed(0x1f4)]],_0x43ac77=0x0,_0x5e9432=0x1,_0x3692b5=0x2,_0x37f498=0x3,_0x1bd9e1=0x4,_0x341473=0x5,_0x3e5f05=0x6;class _0x1f529c extends _0x522290{constructor(_0x2de124={}){const _0x29f731=_0x2562ed;super(),this['_allowSynchronousEvents']=_0x2de124[_0x29f731(0x27e)]!==void 0x0?_0x2de124[_0x29f731(0x27e)]:!0x0,this[_0x29f731(0x353)]=_0x2de124[_0x29f731(0x374)]||_0x12271b[0x0],this[_0x29f731(0x23a)]=_0x2de124[_0x29f731(0x220)]||{},this[_0x29f731(0x1e4)]=!!_0x2de124[_0x29f731(0x1ed)],this[_0x29f731(0x28e)]=_0x2de124[_0x29f731(0x215)]|0x0,this[_0x29f731(0x385)]=!!_0x2de124[_0x29f731(0x1f9)],this[_0x3cd77d]=void 0x0,this[_0x29f731(0x23b)]=0x0,this[_0x29f731(0x362)]=[],this[_0x29f731(0x1f1)]=!0x1,this['_payloadLength']=0x0,this[_0x29f731(0x20a)]=void 0x0,this[_0x29f731(0x25a)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x29f731(0x22f)]=0x0,this[_0x29f731(0x2a0)]=0x0,this[_0x29f731(0x233)]=[],this['_errored']=!0x1,this[_0x29f731(0x2b3)]=!0x1,this[_0x29f731(0x379)]=_0x43ac77;}[_0x2562ed(0x29b)](_0x2f575e,_0x47a7f7,_0x274e06){const _0x11e164=_0x2562ed;if(this['_opcode']===0x8&&this['_state']==_0x43ac77)return _0x274e06();this[_0x11e164(0x23b)]+=_0x2f575e[_0x11e164(0x359)],this['_buffers']['push'](_0x2f575e),this[_0x11e164(0x295)](_0x274e06);}['consume'](_0x5de269){const _0x4b770a=_0x2562ed;if(this[_0x4b770a(0x23b)]-=_0x5de269,_0x5de269===this[_0x4b770a(0x362)][0x0][_0x4b770a(0x359)])return this[_0x4b770a(0x362)][_0x4b770a(0x28d)]();if(_0x5de269<this[_0x4b770a(0x362)][0x0][_0x4b770a(0x359)]){const _0x4ea587=this['_buffers'][0x0];return this[_0x4b770a(0x362)][0x0]=new _0x32992d(_0x4ea587['buffer'],_0x4ea587[_0x4b770a(0x1f6)]+_0x5de269,_0x4ea587[_0x4b770a(0x359)]-_0x5de269),new _0x32992d(_0x4ea587[_0x4b770a(0x2e4)],_0x4ea587[_0x4b770a(0x1f6)],_0x5de269);}const _0x22ce75=Buffer[_0x4b770a(0x227)](_0x5de269);do{const _0x1c68c8=this[_0x4b770a(0x362)][0x0],_0x4ddce1=_0x22ce75[_0x4b770a(0x359)]-_0x5de269;_0x5de269>=_0x1c68c8[_0x4b770a(0x359)]?_0x22ce75['set'](this[_0x4b770a(0x362)][_0x4b770a(0x28d)](),_0x4ddce1):(_0x22ce75['set'](new Uint8Array(_0x1c68c8['buffer'],_0x1c68c8[_0x4b770a(0x1f6)],_0x5de269),_0x4ddce1),this[_0x4b770a(0x362)][0x0]=new _0x32992d(_0x1c68c8['buffer'],_0x1c68c8[_0x4b770a(0x1f6)]+_0x5de269,_0x1c68c8[_0x4b770a(0x359)]-_0x5de269)),_0x5de269-=_0x1c68c8['length'];}while(_0x5de269>0x0);return _0x22ce75;}[_0x2562ed(0x295)](_0x615cdd){const _0x3faa56=_0x2562ed;this[_0x3faa56(0x2b3)]=!0x0;do switch(this['_state']){case _0x43ac77:this[_0x3faa56(0x2cc)](_0x615cdd);break;case _0x5e9432:this[_0x3faa56(0x202)](_0x615cdd);break;case _0x3692b5:this[_0x3faa56(0x2c6)](_0x615cdd);break;case _0x37f498:this['getMask']();break;case _0x1bd9e1:this[_0x3faa56(0x36d)](_0x615cdd);break;case _0x341473:case _0x3e5f05:this[_0x3faa56(0x2b3)]=!0x1;return;}while(this[_0x3faa56(0x2b3)]);this['_errored']||_0x615cdd();}[_0x2562ed(0x2cc)](_0x1cc83d){const _0x31ac00=_0x2562ed;if(this[_0x31ac00(0x23b)]<0x2){this[_0x31ac00(0x2b3)]=!0x1;return;}const _0x247dce=this['consume'](0x2);if((_0x247dce[0x0]&0x30)!==0x0){const _0xd800aa=this['createError'](RangeError,_0x31ac00(0x26b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x1cc83d(_0xd800aa);return;}const _0x518f98=(_0x247dce[0x0]&0x40)===0x40;if(_0x518f98&&!this['_extensions'][_0xd239b1[_0x31ac00(0x205)]]){const _0x397e1a=this[_0x31ac00(0x236)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1cc83d(_0x397e1a);return;}if(this[_0x31ac00(0x23e)]=(_0x247dce[0x0]&0x80)===0x80,this[_0x31ac00(0x2f1)]=_0x247dce[0x0]&0xf,this[_0x31ac00(0x29e)]=_0x247dce[0x1]&0x7f,this[_0x31ac00(0x2f1)]===0x0){if(_0x518f98){const _0xeaa193=this[_0x31ac00(0x236)](RangeError,_0x31ac00(0x268),!0x0,0x3ea,_0x31ac00(0x28c));_0x1cc83d(_0xeaa193);return;}if(!this[_0x31ac00(0x25a)]){const _0x549cf4=this[_0x31ac00(0x236)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x31ac00(0x20b));_0x1cc83d(_0x549cf4);return;}this[_0x31ac00(0x2f1)]=this[_0x31ac00(0x25a)];}else{if(this[_0x31ac00(0x2f1)]===0x1||this[_0x31ac00(0x2f1)]===0x2){if(this['_fragmented']){const _0x429988=this[_0x31ac00(0x236)](RangeError,_0x31ac00(0x2c1)+this[_0x31ac00(0x2f1)],!0x0,0x3ea,_0x31ac00(0x20b));_0x1cc83d(_0x429988);return;}this[_0x31ac00(0x1f1)]=_0x518f98;}else{if(this[_0x31ac00(0x2f1)]>0x7&&this['_opcode']<0xb){if(!this[_0x31ac00(0x23e)]){const _0x48943d=this[_0x31ac00(0x236)](RangeError,_0x31ac00(0x39e),!0x0,0x3ea,_0x31ac00(0x338));_0x1cc83d(_0x48943d);return;}if(_0x518f98){const _0x3d7a19=this[_0x31ac00(0x236)](RangeError,_0x31ac00(0x268),!0x0,0x3ea,_0x31ac00(0x28c));_0x1cc83d(_0x3d7a19);return;}if(this[_0x31ac00(0x29e)]>0x7d||this[_0x31ac00(0x2f1)]===0x8&&this['_payloadLength']===0x1){const _0x45e111=this[_0x31ac00(0x236)](RangeError,_0x31ac00(0x2a8)+this[_0x31ac00(0x29e)],!0x0,0x3ea,_0x31ac00(0x1fc));_0x1cc83d(_0x45e111);return;}}else{const _0x2b38fd=this[_0x31ac00(0x236)](RangeError,'invalid\x20opcode\x20'+this[_0x31ac00(0x2f1)],!0x0,0x3ea,_0x31ac00(0x20b));_0x1cc83d(_0x2b38fd);return;}}}if(!this[_0x31ac00(0x23e)]&&!this[_0x31ac00(0x25a)]&&(this['_fragmented']=this[_0x31ac00(0x2f1)]),this[_0x31ac00(0x24e)]=(_0x247dce[0x1]&0x80)===0x80,this[_0x31ac00(0x1e4)]){if(!this[_0x31ac00(0x24e)]){const _0x8e3e95=this[_0x31ac00(0x236)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1cc83d(_0x8e3e95);return;}}else{if(this[_0x31ac00(0x24e)]){const _0x33b89f=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x31ac00(0x1fb));_0x1cc83d(_0x33b89f);return;}}this[_0x31ac00(0x29e)]===0x7e?this[_0x31ac00(0x379)]=_0x5e9432:this['_payloadLength']===0x7f?this[_0x31ac00(0x379)]=_0x3692b5:this[_0x31ac00(0x371)](_0x1cc83d);}[_0x2562ed(0x202)](_0x2e2227){const _0x506d33=_0x2562ed;if(this[_0x506d33(0x23b)]<0x2){this['_loop']=!0x1;return;}this[_0x506d33(0x29e)]=this[_0x506d33(0x39c)](0x2)[_0x506d33(0x22c)](0x0),this['haveLength'](_0x2e2227);}['getPayloadLength64'](_0x2490f5){const _0x4cd1ed=_0x2562ed;if(this[_0x4cd1ed(0x23b)]<0x8){this[_0x4cd1ed(0x2b3)]=!0x1;return;}const _0x1a50f8=this[_0x4cd1ed(0x39c)](0x8),_0x37b34f=_0x1a50f8[_0x4cd1ed(0x30c)](0x0);if(_0x37b34f>Math[_0x4cd1ed(0x2e7)](0x2,0x15)-0x1){const _0x52feee=this[_0x4cd1ed(0x236)](RangeError,_0x4cd1ed(0x354),!0x1,0x3f1,_0x4cd1ed(0x25f));_0x2490f5(_0x52feee);return;}this['_payloadLength']=_0x37b34f*Math[_0x4cd1ed(0x2e7)](0x2,0x20)+_0x1a50f8[_0x4cd1ed(0x30c)](0x4),this[_0x4cd1ed(0x371)](_0x2490f5);}[_0x2562ed(0x371)](_0x4806c4){const _0x19f6ed=_0x2562ed;if(this[_0x19f6ed(0x29e)]&&this[_0x19f6ed(0x2f1)]<0x8&&(this[_0x19f6ed(0x22f)]+=this[_0x19f6ed(0x29e)],this[_0x19f6ed(0x22f)]>this[_0x19f6ed(0x28e)]&&this['_maxPayload']>0x0)){const _0x46ebb4=this['createError'](RangeError,_0x19f6ed(0x398),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4806c4(_0x46ebb4);return;}this['_masked']?this[_0x19f6ed(0x379)]=_0x37f498:this[_0x19f6ed(0x379)]=_0x1bd9e1;}[_0x2562ed(0x2d2)](){const _0x1b59e3=_0x2562ed;if(this[_0x1b59e3(0x23b)]<0x4){this[_0x1b59e3(0x2b3)]=!0x1;return;}this[_0x1b59e3(0x20a)]=this[_0x1b59e3(0x39c)](0x4),this[_0x1b59e3(0x379)]=_0x1bd9e1;}['getData'](_0x17823b){const _0x140dd1=_0x2562ed;let _0x44c390=_0x235402;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x44c390=this[_0x140dd1(0x39c)](this['_payloadLength']),this[_0x140dd1(0x24e)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x140dd1(0x20a)][0x2]|this['_mask'][0x3])!==0x0&&_0x5ed3e2(_0x44c390,this[_0x140dd1(0x20a)]);}if(this[_0x140dd1(0x2f1)]>0x7){this[_0x140dd1(0x2c4)](_0x44c390,_0x17823b);return;}if(this[_0x140dd1(0x1f1)]){this[_0x140dd1(0x379)]=_0x341473,this[_0x140dd1(0x212)](_0x44c390,_0x17823b);return;}_0x44c390[_0x140dd1(0x359)]&&(this[_0x140dd1(0x2a0)]=this[_0x140dd1(0x22f)],this[_0x140dd1(0x233)][_0x140dd1(0x305)](_0x44c390)),this[_0x140dd1(0x2ee)](_0x17823b);}['decompress'](_0x19fdfd,_0x5ebe3b){const _0x2326fe=_0x2562ed;this['_extensions'][_0xd239b1['extensionName']][_0x2326fe(0x212)](_0x19fdfd,this[_0x2326fe(0x23e)],(_0x4e8459,_0xcb3de8)=>{const _0x463891=_0x2326fe;if(_0x4e8459)return _0x5ebe3b(_0x4e8459);if(_0xcb3de8['length']){if(this[_0x463891(0x2a0)]+=_0xcb3de8[_0x463891(0x359)],this[_0x463891(0x2a0)]>this[_0x463891(0x28e)]&&this[_0x463891(0x28e)]>0x0){const _0x352abb=this[_0x463891(0x236)](RangeError,_0x463891(0x398),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5ebe3b(_0x352abb);return;}this['_fragments']['push'](_0xcb3de8);}this[_0x463891(0x2ee)](_0x5ebe3b),this['_state']===_0x43ac77&&this[_0x463891(0x295)](_0x5ebe3b);});}[_0x2562ed(0x2ee)](_0x5ccd62){const _0x21e471=_0x2562ed;if(!this[_0x21e471(0x23e)]){this[_0x21e471(0x379)]=_0x43ac77;return;}const _0xe7009b=this['_messageLength'],_0x19bf97=this[_0x21e471(0x233)];if(this[_0x21e471(0x22f)]=0x0,this[_0x21e471(0x2a0)]=0x0,this[_0x21e471(0x25a)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0xa02261;this[_0x21e471(0x353)]===_0x21e471(0x2ba)?_0xa02261=_0x286c93(_0x19bf97,_0xe7009b):this[_0x21e471(0x353)]===_0x21e471(0x232)?_0xa02261=_0x4a99e8(_0x286c93(_0x19bf97,_0xe7009b)):this[_0x21e471(0x353)]===_0x21e471(0x301)?_0xa02261=new Blob(_0x19bf97):_0xa02261=_0x19bf97,this[_0x21e471(0x3a3)]?(this[_0x21e471(0x1e5)](_0x21e471(0x29a),_0xa02261,!0x0),this[_0x21e471(0x379)]=_0x43ac77):(this['_state']=_0x3e5f05,setImmediate(()=>{const _0x13b54d=_0x21e471;this['emit'](_0x13b54d(0x29a),_0xa02261,!0x0),this[_0x13b54d(0x379)]=_0x43ac77,this['startLoop'](_0x5ccd62);}));}else{const _0x5b08df=_0x286c93(_0x19bf97,_0xe7009b);if(!this[_0x21e471(0x385)]&&!_0x22d551(_0x5b08df)){const _0x472c6e=this[_0x21e471(0x236)](Error,_0x21e471(0x27c),!0x0,0x3ef,_0x21e471(0x372));_0x5ccd62(_0x472c6e);return;}this[_0x21e471(0x379)]===_0x341473||this['_allowSynchronousEvents']?(this['emit'](_0x21e471(0x29a),_0x5b08df,!0x1),this['_state']=_0x43ac77):(this['_state']=_0x3e5f05,setImmediate(()=>{const _0x5402da=_0x21e471;this[_0x5402da(0x1e5)](_0x5402da(0x29a),_0x5b08df,!0x1),this[_0x5402da(0x379)]=_0x43ac77,this[_0x5402da(0x295)](_0x5ccd62);}));}}[_0x2562ed(0x2c4)](_0x29d805,_0xdb610){const _0x5e2d5b=_0x2562ed;if(this[_0x5e2d5b(0x2f1)]===0x8){if(_0x29d805[_0x5e2d5b(0x359)]===0x0)this[_0x5e2d5b(0x2b3)]=!0x1,this[_0x5e2d5b(0x1e5)]('conclude',0x3ed,_0x235402),this[_0x5e2d5b(0x2c9)]();else{const _0x4ff025=_0x29d805[_0x5e2d5b(0x22c)](0x0);if(!_0x2b48d1(_0x4ff025)){const _0x1cf901=this[_0x5e2d5b(0x236)](RangeError,_0x5e2d5b(0x35c)+_0x4ff025,!0x0,0x3ea,_0x5e2d5b(0x2d9));_0xdb610(_0x1cf901);return;}const _0x56fb1f=new _0x32992d(_0x29d805[_0x5e2d5b(0x2e4)],_0x29d805[_0x5e2d5b(0x1f6)]+0x2,_0x29d805[_0x5e2d5b(0x359)]-0x2);if(!this['_skipUTF8Validation']&&!_0x22d551(_0x56fb1f)){const _0x17e240=this[_0x5e2d5b(0x236)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xdb610(_0x17e240);return;}this[_0x5e2d5b(0x2b3)]=!0x1,this[_0x5e2d5b(0x1e5)]('conclude',_0x4ff025,_0x56fb1f),this['end']();}this[_0x5e2d5b(0x379)]=_0x43ac77;return;}this[_0x5e2d5b(0x3a3)]?(this[_0x5e2d5b(0x1e5)](this[_0x5e2d5b(0x2f1)]===0x9?_0x5e2d5b(0x252):_0x5e2d5b(0x2cd),_0x29d805),this['_state']=_0x43ac77):(this[_0x5e2d5b(0x379)]=_0x3e5f05,setImmediate(()=>{const _0x2ac2f1=_0x5e2d5b;this[_0x2ac2f1(0x1e5)](this[_0x2ac2f1(0x2f1)]===0x9?_0x2ac2f1(0x252):_0x2ac2f1(0x2cd),_0x29d805),this[_0x2ac2f1(0x379)]=_0x43ac77,this[_0x2ac2f1(0x295)](_0xdb610);}));}[_0x2562ed(0x236)](_0x41aadc,_0xfbcd3d,_0x1439f0,_0x172349,_0x5d36c2){const _0x3f0373=_0x2562ed;this[_0x3f0373(0x2b3)]=!0x1,this[_0x3f0373(0x2bf)]=!0x0;const _0x353d30=new _0x41aadc(_0x1439f0?_0x3f0373(0x334)+_0xfbcd3d:_0xfbcd3d);return Error[_0x3f0373(0x356)](_0x353d30,this['createError']),_0x353d30[_0x3f0373(0x27a)]=_0x5d36c2,_0x353d30[_0x530947]=_0x172349,_0x353d30;}}return Se=_0x1f529c,Se;}var Ee,Xe;function ft(){const _0x2a924b=_0x56526c;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4d5fea}=oe,{randomFillSync:_0x431660}=Le,_0x50e6ae=he(),{EMPTY_BUFFER:_0x38022e,kWebSocket:_0x2b7a59,NOOP:_0xd94b13}=H(),{isBlob:_0x1bcfef,isValidStatusCode:_0x370217}=ae(),{mask:_0x4258e0,toBuffer:_0x2eba3c}=ce(),_0x36eb8d=Symbol(_0x2a924b(0x259)),_0x509868=Buffer[_0x2a924b(0x2f8)](0x4),_0x48892e=0x8*0x400;let _0x589c35,_0x57e7c3=_0x48892e;const _0x484ce8=0x0,_0x51d1c2=0x1,_0xad1a2f=0x2;class _0xdc4120{constructor(_0x346bbd,_0x9bb397,_0x28858a){const _0x548952=_0x2a924b;this[_0x548952(0x23a)]=_0x9bb397||{},_0x28858a&&(this[_0x548952(0x219)]=_0x28858a,this['_maskBuffer']=Buffer[_0x548952(0x2f8)](0x4)),this['_socket']=_0x346bbd,this[_0x548952(0x373)]=!0x0,this[_0x548952(0x304)]=!0x1,this[_0x548952(0x23b)]=0x0,this[_0x548952(0x35d)]=[],this[_0x548952(0x379)]=_0x484ce8,this[_0x548952(0x1fe)]=_0xd94b13,this[_0x2b7a59]=void 0x0;}static['frame'](_0x125eb4,_0x4dc0b4){const _0x41a5fa=_0x2a924b;let _0x2797a5,_0x317879=!0x1,_0x2e68e8=0x2,_0xf421a=!0x1;_0x4dc0b4[_0x41a5fa(0x26e)]&&(_0x2797a5=_0x4dc0b4['maskBuffer']||_0x509868,_0x4dc0b4[_0x41a5fa(0x28b)]?_0x4dc0b4[_0x41a5fa(0x28b)](_0x2797a5):(_0x57e7c3===_0x48892e&&(_0x589c35===void 0x0&&(_0x589c35=Buffer[_0x41a5fa(0x2f8)](_0x48892e)),_0x431660(_0x589c35,0x0,_0x48892e),_0x57e7c3=0x0),_0x2797a5[0x0]=_0x589c35[_0x57e7c3++],_0x2797a5[0x1]=_0x589c35[_0x57e7c3++],_0x2797a5[0x2]=_0x589c35[_0x57e7c3++],_0x2797a5[0x3]=_0x589c35[_0x57e7c3++]),_0xf421a=(_0x2797a5[0x0]|_0x2797a5[0x1]|_0x2797a5[0x2]|_0x2797a5[0x3])===0x0,_0x2e68e8=0x6);let _0x27dfc0;typeof _0x125eb4=='string'?(!_0x4dc0b4['mask']||_0xf421a)&&_0x4dc0b4[_0x36eb8d]!==void 0x0?_0x27dfc0=_0x4dc0b4[_0x36eb8d]:(_0x125eb4=Buffer[_0x41a5fa(0x2ef)](_0x125eb4),_0x27dfc0=_0x125eb4['length']):(_0x27dfc0=_0x125eb4[_0x41a5fa(0x359)],_0x317879=_0x4dc0b4['mask']&&_0x4dc0b4[_0x41a5fa(0x312)]&&!_0xf421a);let _0x1f9027=_0x27dfc0;_0x27dfc0>=0x10000?(_0x2e68e8+=0x8,_0x1f9027=0x7f):_0x27dfc0>0x7d&&(_0x2e68e8+=0x2,_0x1f9027=0x7e);const _0x2a2ca1=Buffer['allocUnsafe'](_0x317879?_0x27dfc0+_0x2e68e8:_0x2e68e8);return _0x2a2ca1[0x0]=_0x4dc0b4['fin']?_0x4dc0b4[_0x41a5fa(0x2f5)]|0x80:_0x4dc0b4['opcode'],_0x4dc0b4[_0x41a5fa(0x21b)]&&(_0x2a2ca1[0x0]|=0x40),_0x2a2ca1[0x1]=_0x1f9027,_0x1f9027===0x7e?_0x2a2ca1['writeUInt16BE'](_0x27dfc0,0x2):_0x1f9027===0x7f&&(_0x2a2ca1[0x2]=_0x2a2ca1[0x3]=0x0,_0x2a2ca1[_0x41a5fa(0x2c2)](_0x27dfc0,0x4,0x6)),_0x4dc0b4[_0x41a5fa(0x26e)]?(_0x2a2ca1[0x1]|=0x80,_0x2a2ca1[_0x2e68e8-0x4]=_0x2797a5[0x0],_0x2a2ca1[_0x2e68e8-0x3]=_0x2797a5[0x1],_0x2a2ca1[_0x2e68e8-0x2]=_0x2797a5[0x2],_0x2a2ca1[_0x2e68e8-0x1]=_0x2797a5[0x3],_0xf421a?[_0x2a2ca1,_0x125eb4]:_0x317879?(_0x4258e0(_0x125eb4,_0x2797a5,_0x2a2ca1,_0x2e68e8,_0x27dfc0),[_0x2a2ca1]):(_0x4258e0(_0x125eb4,_0x2797a5,_0x125eb4,0x0,_0x27dfc0),[_0x2a2ca1,_0x125eb4])):[_0x2a2ca1,_0x125eb4];}[_0x2a924b(0x235)](_0x1a85d9,_0x4dd130,_0x1146ea,_0x3a5aa6){const _0x28cdc0=_0x2a924b;let _0x164c7e;if(_0x1a85d9===void 0x0)_0x164c7e=_0x38022e;else{if(typeof _0x1a85d9!='number'||!_0x370217(_0x1a85d9))throw new TypeError(_0x28cdc0(0x20d));if(_0x4dd130===void 0x0||!_0x4dd130[_0x28cdc0(0x359)])_0x164c7e=Buffer['allocUnsafe'](0x2),_0x164c7e[_0x28cdc0(0x395)](_0x1a85d9,0x0);else{const _0x5beca4=Buffer[_0x28cdc0(0x22d)](_0x4dd130);if(_0x5beca4>0x7b)throw new RangeError(_0x28cdc0(0x2b2));_0x164c7e=Buffer[_0x28cdc0(0x227)](0x2+_0x5beca4),_0x164c7e[_0x28cdc0(0x395)](_0x1a85d9,0x0),typeof _0x4dd130==_0x28cdc0(0x364)?_0x164c7e[_0x28cdc0(0x28f)](_0x4dd130,0x2):_0x164c7e[_0x28cdc0(0x37e)](_0x4dd130,0x2);}}const _0x92a0e7={[_0x36eb8d]:_0x164c7e[_0x28cdc0(0x359)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1146ea,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x484ce8?this[_0x28cdc0(0x31f)]([this[_0x28cdc0(0x366)],_0x164c7e,!0x1,_0x92a0e7,_0x3a5aa6]):this[_0x28cdc0(0x2b6)](_0xdc4120[_0x28cdc0(0x38c)](_0x164c7e,_0x92a0e7),_0x3a5aa6);}[_0x2a924b(0x252)](_0x2e3fa2,_0x27a247,_0x5377b2){const _0x4f83b7=_0x2a924b;let _0x1fcb31,_0x26f305;if(typeof _0x2e3fa2==_0x4f83b7(0x364)?(_0x1fcb31=Buffer[_0x4f83b7(0x22d)](_0x2e3fa2),_0x26f305=!0x1):_0x1bcfef(_0x2e3fa2)?(_0x1fcb31=_0x2e3fa2[_0x4f83b7(0x2bb)],_0x26f305=!0x1):(_0x2e3fa2=_0x2eba3c(_0x2e3fa2),_0x1fcb31=_0x2e3fa2[_0x4f83b7(0x359)],_0x26f305=_0x2eba3c[_0x4f83b7(0x312)]),_0x1fcb31>0x7d)throw new RangeError(_0x4f83b7(0x2da));const _0x557257={[_0x36eb8d]:_0x1fcb31,'fin':!0x0,'generateMask':this[_0x4f83b7(0x219)],'mask':_0x27a247,'maskBuffer':this[_0x4f83b7(0x2b5)],'opcode':0x9,'readOnly':_0x26f305,'rsv1':!0x1};_0x1bcfef(_0x2e3fa2)?this[_0x4f83b7(0x379)]!==_0x484ce8?this['enqueue']([this[_0x4f83b7(0x3a1)],_0x2e3fa2,!0x1,_0x557257,_0x5377b2]):this[_0x4f83b7(0x3a1)](_0x2e3fa2,!0x1,_0x557257,_0x5377b2):this[_0x4f83b7(0x379)]!==_0x484ce8?this[_0x4f83b7(0x31f)]([this[_0x4f83b7(0x366)],_0x2e3fa2,!0x1,_0x557257,_0x5377b2]):this['sendFrame'](_0xdc4120['frame'](_0x2e3fa2,_0x557257),_0x5377b2);}['pong'](_0x1bdac7,_0x2465ba,_0x4db1b0){const _0x389142=_0x2a924b;let _0x537a3f,_0x168d98;if(typeof _0x1bdac7==_0x389142(0x364)?(_0x537a3f=Buffer[_0x389142(0x22d)](_0x1bdac7),_0x168d98=!0x1):_0x1bcfef(_0x1bdac7)?(_0x537a3f=_0x1bdac7[_0x389142(0x2bb)],_0x168d98=!0x1):(_0x1bdac7=_0x2eba3c(_0x1bdac7),_0x537a3f=_0x1bdac7[_0x389142(0x359)],_0x168d98=_0x2eba3c[_0x389142(0x312)]),_0x537a3f>0x7d)throw new RangeError(_0x389142(0x2da));const _0x10833f={[_0x36eb8d]:_0x537a3f,'fin':!0x0,'generateMask':this[_0x389142(0x219)],'mask':_0x2465ba,'maskBuffer':this[_0x389142(0x2b5)],'opcode':0xa,'readOnly':_0x168d98,'rsv1':!0x1};_0x1bcfef(_0x1bdac7)?this['_state']!==_0x484ce8?this['enqueue']([this[_0x389142(0x3a1)],_0x1bdac7,!0x1,_0x10833f,_0x4db1b0]):this[_0x389142(0x3a1)](_0x1bdac7,!0x1,_0x10833f,_0x4db1b0):this['_state']!==_0x484ce8?this[_0x389142(0x31f)]([this[_0x389142(0x366)],_0x1bdac7,!0x1,_0x10833f,_0x4db1b0]):this[_0x389142(0x2b6)](_0xdc4120[_0x389142(0x38c)](_0x1bdac7,_0x10833f),_0x4db1b0);}['send'](_0x1137c3,_0x3fa3a4,_0xfb54fd){const _0x56856d=_0x2a924b,_0x9c1291=this[_0x56856d(0x23a)][_0x50e6ae['extensionName']];let _0xeb64d0=_0x3fa3a4[_0x56856d(0x216)]?0x2:0x1,_0x4574b5=_0x3fa3a4['compress'],_0x3dba90,_0x386a24;typeof _0x1137c3==_0x56856d(0x364)?(_0x3dba90=Buffer[_0x56856d(0x22d)](_0x1137c3),_0x386a24=!0x1):_0x1bcfef(_0x1137c3)?(_0x3dba90=_0x1137c3['size'],_0x386a24=!0x1):(_0x1137c3=_0x2eba3c(_0x1137c3),_0x3dba90=_0x1137c3[_0x56856d(0x359)],_0x386a24=_0x2eba3c[_0x56856d(0x312)]),this[_0x56856d(0x373)]?(this[_0x56856d(0x373)]=!0x1,_0x4574b5&&_0x9c1291&&_0x9c1291[_0x56856d(0x294)][_0x9c1291[_0x56856d(0x1e4)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x4574b5=_0x3dba90>=_0x9c1291[_0x56856d(0x26d)]),this['_compress']=_0x4574b5):(_0x4574b5=!0x1,_0xeb64d0=0x0),_0x3fa3a4[_0x56856d(0x206)]&&(this[_0x56856d(0x373)]=!0x0);const _0x173f21={[_0x36eb8d]:_0x3dba90,'fin':_0x3fa3a4[_0x56856d(0x206)],'generateMask':this['_generateMask'],'mask':_0x3fa3a4[_0x56856d(0x26e)],'maskBuffer':this[_0x56856d(0x2b5)],'opcode':_0xeb64d0,'readOnly':_0x386a24,'rsv1':_0x4574b5};_0x1bcfef(_0x1137c3)?this[_0x56856d(0x379)]!==_0x484ce8?this[_0x56856d(0x31f)]([this[_0x56856d(0x3a1)],_0x1137c3,this[_0x56856d(0x304)],_0x173f21,_0xfb54fd]):this[_0x56856d(0x3a1)](_0x1137c3,this[_0x56856d(0x304)],_0x173f21,_0xfb54fd):this[_0x56856d(0x379)]!==_0x484ce8?this[_0x56856d(0x31f)]([this['dispatch'],_0x1137c3,this[_0x56856d(0x304)],_0x173f21,_0xfb54fd]):this[_0x56856d(0x366)](_0x1137c3,this[_0x56856d(0x304)],_0x173f21,_0xfb54fd);}['getBlobData'](_0x3c6719,_0x29815b,_0x181bc0,_0x25cab5){const _0x1d1beb=_0x2a924b;this[_0x1d1beb(0x23b)]+=_0x181bc0[_0x36eb8d],this[_0x1d1beb(0x379)]=_0xad1a2f,_0x3c6719[_0x1d1beb(0x264)]()[_0x1d1beb(0x332)](_0x1fc70b=>{const _0x200217=_0x1d1beb;if(this['_socket'][_0x200217(0x2d1)]){const _0x5ecdab=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x200217(0x368)](_0x4d52e4,this,_0x5ecdab,_0x25cab5);return;}this[_0x200217(0x23b)]-=_0x181bc0[_0x36eb8d];const _0x2872bd=_0x2eba3c(_0x1fc70b);_0x29815b?this[_0x200217(0x366)](_0x2872bd,_0x29815b,_0x181bc0,_0x25cab5):(this[_0x200217(0x379)]=_0x484ce8,this[_0x200217(0x2b6)](_0xdc4120[_0x200217(0x38c)](_0x2872bd,_0x181bc0),_0x25cab5),this[_0x200217(0x263)]());})['catch'](_0x47f69f=>{const _0x2c2a7c=_0x1d1beb;process[_0x2c2a7c(0x368)](_0x3d4cf6,this,_0x47f69f,_0x25cab5);});}['dispatch'](_0x56faaf,_0x498a3b,_0x40fcc7,_0x108b03){const _0x57a0c4=_0x2a924b;if(!_0x498a3b){this[_0x57a0c4(0x2b6)](_0xdc4120['frame'](_0x56faaf,_0x40fcc7),_0x108b03);return;}const _0x3dcf91=this[_0x57a0c4(0x23a)][_0x50e6ae[_0x57a0c4(0x205)]];this[_0x57a0c4(0x23b)]+=_0x40fcc7[_0x36eb8d],this[_0x57a0c4(0x379)]=_0x51d1c2,_0x3dcf91['compress'](_0x56faaf,_0x40fcc7[_0x57a0c4(0x206)],(_0xa9e0b1,_0x3781f7)=>{const _0x1d7926=_0x57a0c4;if(this[_0x1d7926(0x200)][_0x1d7926(0x2d1)]){const _0x5590fc=new Error(_0x1d7926(0x348));_0x4d52e4(this,_0x5590fc,_0x108b03);return;}this[_0x1d7926(0x23b)]-=_0x40fcc7[_0x36eb8d],this['_state']=_0x484ce8,_0x40fcc7[_0x1d7926(0x312)]=!0x1,this[_0x1d7926(0x2b6)](_0xdc4120[_0x1d7926(0x38c)](_0x3781f7,_0x40fcc7),_0x108b03),this[_0x1d7926(0x263)]();});}[_0x2a924b(0x263)](){const _0x3a5401=_0x2a924b;for(;this[_0x3a5401(0x379)]===_0x484ce8&&this[_0x3a5401(0x35d)][_0x3a5401(0x359)];){const _0x45738f=this[_0x3a5401(0x35d)]['shift']();this[_0x3a5401(0x23b)]-=_0x45738f[0x3][_0x36eb8d],Reflect[_0x3a5401(0x1f8)](_0x45738f[0x0],this,_0x45738f['slice'](0x1));}}['enqueue'](_0x398cc5){const _0x18f678=_0x2a924b;this[_0x18f678(0x23b)]+=_0x398cc5[0x3][_0x36eb8d],this[_0x18f678(0x35d)][_0x18f678(0x305)](_0x398cc5);}['sendFrame'](_0x1c86b5,_0x2ef196){const _0x5060b3=_0x2a924b;_0x1c86b5[_0x5060b3(0x359)]===0x2?(this['_socket'][_0x5060b3(0x34b)](),this[_0x5060b3(0x200)][_0x5060b3(0x28f)](_0x1c86b5[0x0]),this[_0x5060b3(0x200)][_0x5060b3(0x28f)](_0x1c86b5[0x1],_0x2ef196),this['_socket'][_0x5060b3(0x2ad)]()):this[_0x5060b3(0x200)][_0x5060b3(0x28f)](_0x1c86b5[0x0],_0x2ef196);}}Ee=_0xdc4120;function _0x4d52e4(_0x3ecc0b,_0x46f091,_0x261ea4){const _0x3aac9c=_0x2a924b;typeof _0x261ea4==_0x3aac9c(0x37d)&&_0x261ea4(_0x46f091);for(let _0x19f65a=0x0;_0x19f65a<_0x3ecc0b[_0x3aac9c(0x35d)][_0x3aac9c(0x359)];_0x19f65a++){const _0x4963b5=_0x3ecc0b[_0x3aac9c(0x35d)][_0x19f65a],_0x1df7b4=_0x4963b5[_0x4963b5['length']-0x1];typeof _0x1df7b4==_0x3aac9c(0x37d)&&_0x1df7b4(_0x46f091);}}function _0x3d4cf6(_0x4f9c28,_0x44cf42,_0x1e4578){_0x4d52e4(_0x4f9c28,_0x44cf42,_0x1e4578),_0x4f9c28['onerror'](_0x44cf42);}return Ee;}var xe,Ze;function It(){const _0x29e6ca=_0x56526c;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x215379,kListener:_0x8abfba}=H(),_0x31f85a=Symbol('kCode'),_0x34a0a7=Symbol('kData'),_0x275310=Symbol('kError'),_0x367b64=Symbol('kMessage'),_0x5cfc75=Symbol(_0x29e6ca(0x34c)),_0xf16981=Symbol('kTarget'),_0x183d08=Symbol(_0x29e6ca(0x38d)),_0x42723d=Symbol(_0x29e6ca(0x20f));class _0x2f2d9e{constructor(_0x1df056){this[_0xf16981]=null,this[_0x183d08]=_0x1df056;}get[_0x29e6ca(0x2df)](){return this[_0xf16981];}get['type'](){return this[_0x183d08];}}Object[_0x29e6ca(0x2fc)](_0x2f2d9e[_0x29e6ca(0x324)],_0x29e6ca(0x2df),{'enumerable':!0x0}),Object[_0x29e6ca(0x2fc)](_0x2f2d9e[_0x29e6ca(0x324)],_0x29e6ca(0x267),{'enumerable':!0x0});class _0x2caf35 extends _0x2f2d9e{constructor(_0x432ef7,_0x1c3967={}){const _0x6e4575=_0x29e6ca;super(_0x432ef7),this[_0x31f85a]=_0x1c3967['code']===void 0x0?0x0:_0x1c3967[_0x6e4575(0x27a)],this[_0x5cfc75]=_0x1c3967['reason']===void 0x0?'':_0x1c3967['reason'],this[_0x42723d]=_0x1c3967[_0x6e4575(0x203)]===void 0x0?!0x1:_0x1c3967['wasClean'];}get[_0x29e6ca(0x27a)](){return this[_0x31f85a];}get[_0x29e6ca(0x392)](){return this[_0x5cfc75];}get[_0x29e6ca(0x203)](){return this[_0x42723d];}}Object[_0x29e6ca(0x2fc)](_0x2caf35[_0x29e6ca(0x324)],_0x29e6ca(0x27a),{'enumerable':!0x0}),Object[_0x29e6ca(0x2fc)](_0x2caf35[_0x29e6ca(0x324)],'reason',{'enumerable':!0x0}),Object[_0x29e6ca(0x2fc)](_0x2caf35[_0x29e6ca(0x324)],_0x29e6ca(0x203),{'enumerable':!0x0});class _0xb7c42d extends _0x2f2d9e{constructor(_0x52087a,_0x351efd={}){const _0x20cb44=_0x29e6ca;super(_0x52087a),this[_0x275310]=_0x351efd['error']===void 0x0?null:_0x351efd[_0x20cb44(0x1fa)],this[_0x367b64]=_0x351efd[_0x20cb44(0x29a)]===void 0x0?'':_0x351efd[_0x20cb44(0x29a)];}get[_0x29e6ca(0x1fa)](){return this[_0x275310];}get[_0x29e6ca(0x29a)](){return this[_0x367b64];}}Object[_0x29e6ca(0x2fc)](_0xb7c42d[_0x29e6ca(0x324)],'error',{'enumerable':!0x0}),Object[_0x29e6ca(0x2fc)](_0xb7c42d['prototype'],_0x29e6ca(0x29a),{'enumerable':!0x0});class _0x78e897 extends _0x2f2d9e{constructor(_0x3a1dde,_0x338e0a={}){const _0x647363=_0x29e6ca;super(_0x3a1dde),this[_0x34a0a7]=_0x338e0a[_0x647363(0x357)]===void 0x0?null:_0x338e0a['data'];}get['data'](){return this[_0x34a0a7];}}Object[_0x29e6ca(0x2fc)](_0x78e897[_0x29e6ca(0x324)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x2caf35,'ErrorEvent':_0xb7c42d,'Event':_0x2f2d9e,'EventTarget':{'addEventListener'(_0x157bbb,_0x1c58aa,_0x23d91c={}){const _0x3448bd=_0x29e6ca;for(const _0x433762 of this[_0x3448bd(0x211)](_0x157bbb))if(!_0x23d91c[_0x215379]&&_0x433762[_0x8abfba]===_0x1c58aa&&!_0x433762[_0x215379])return;let _0x3bf4ad;if(_0x157bbb===_0x3448bd(0x29a))_0x3bf4ad=function(_0x2c24e2,_0xdd83da){const _0x513ba9=_0x3448bd,_0x3e8d0e=new _0x78e897(_0x513ba9(0x29a),{'data':_0xdd83da?_0x2c24e2:_0x2c24e2['toString']()});_0x3e8d0e[_0xf16981]=this,_0x4e72bc(_0x1c58aa,this,_0x3e8d0e);};else{if(_0x157bbb==='close')_0x3bf4ad=function(_0x1de75d,_0x543c19){const _0x2a28f2=_0x3448bd,_0x552060=new _0x2caf35(_0x2a28f2(0x235),{'code':_0x1de75d,'reason':_0x543c19[_0x2a28f2(0x29c)](),'wasClean':this[_0x2a28f2(0x24d)]&&this[_0x2a28f2(0x23d)]});_0x552060[_0xf16981]=this,_0x4e72bc(_0x1c58aa,this,_0x552060);};else{if(_0x157bbb===_0x3448bd(0x1fa))_0x3bf4ad=function(_0x5d2c63){const _0x23206a=_0x3448bd,_0xdf65dd=new _0xb7c42d('error',{'error':_0x5d2c63,'message':_0x5d2c63[_0x23206a(0x29a)]});_0xdf65dd[_0xf16981]=this,_0x4e72bc(_0x1c58aa,this,_0xdf65dd);};else{if(_0x157bbb===_0x3448bd(0x2f4))_0x3bf4ad=function(){const _0x27c8e2=_0x3448bd,_0x5d798c=new _0x2f2d9e(_0x27c8e2(0x2f4));_0x5d798c[_0xf16981]=this,_0x4e72bc(_0x1c58aa,this,_0x5d798c);};else return;}}}_0x3bf4ad[_0x215379]=!!_0x23d91c[_0x215379],_0x3bf4ad[_0x8abfba]=_0x1c58aa,_0x23d91c[_0x3448bd(0x1f5)]?this[_0x3448bd(0x1f5)](_0x157bbb,_0x3bf4ad):this['on'](_0x157bbb,_0x3bf4ad);},'removeEventListener'(_0x592ef2,_0x266cc5){const _0x345506=_0x29e6ca;for(const _0x3e2204 of this[_0x345506(0x211)](_0x592ef2))if(_0x3e2204[_0x8abfba]===_0x266cc5&&!_0x3e2204[_0x215379]){this[_0x345506(0x282)](_0x592ef2,_0x3e2204);break;}}},'MessageEvent':_0x78e897};function _0x4e72bc(_0x110e11,_0x2ab102,_0x48b5fd){const _0x527d96=_0x29e6ca;typeof _0x110e11==_0x527d96(0x298)&&_0x110e11[_0x527d96(0x297)]?_0x110e11[_0x527d96(0x297)][_0x527d96(0x253)](_0x110e11,_0x48b5fd):_0x110e11[_0x527d96(0x253)](_0x2ab102,_0x48b5fd);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x463e1a}=ae();function _0x232102(_0x3be3f3,_0x2a3093,_0x44b330){const _0x2af9cc=_0x21f6;_0x3be3f3[_0x2a3093]===void 0x0?_0x3be3f3[_0x2a3093]=[_0x44b330]:_0x3be3f3[_0x2a3093][_0x2af9cc(0x305)](_0x44b330);}function _0x170dbc(_0x2a1da4){const _0x2af8ee=_0x21f6,_0x1914fc=Object['create'](null);let _0x1f918d=Object[_0x2af8ee(0x345)](null),_0x5ea052=!0x1,_0x5f4cfe=!0x1,_0x1ebea7=!0x1,_0x345bb9,_0x29cbe1,_0x4fafd5=-0x1,_0x41cb3a=-0x1,_0x4609b2=-0x1,_0x27b3da=0x0;for(;_0x27b3da<_0x2a1da4[_0x2af8ee(0x359)];_0x27b3da++)if(_0x41cb3a=_0x2a1da4[_0x2af8ee(0x2d0)](_0x27b3da),_0x345bb9===void 0x0){if(_0x4609b2===-0x1&&_0x463e1a[_0x41cb3a]===0x1)_0x4fafd5===-0x1&&(_0x4fafd5=_0x27b3da);else{if(_0x27b3da!==0x0&&(_0x41cb3a===0x20||_0x41cb3a===0x9))_0x4609b2===-0x1&&_0x4fafd5!==-0x1&&(_0x4609b2=_0x27b3da);else{if(_0x41cb3a===0x3b||_0x41cb3a===0x2c){if(_0x4fafd5===-0x1)throw new SyntaxError(_0x2af8ee(0x1e3)+_0x27b3da);_0x4609b2===-0x1&&(_0x4609b2=_0x27b3da);const _0x579f68=_0x2a1da4[_0x2af8ee(0x1e8)](_0x4fafd5,_0x4609b2);_0x41cb3a===0x2c?(_0x232102(_0x1914fc,_0x579f68,_0x1f918d),_0x1f918d=Object[_0x2af8ee(0x345)](null)):_0x345bb9=_0x579f68,_0x4fafd5=_0x4609b2=-0x1;}else throw new SyntaxError(_0x2af8ee(0x1e3)+_0x27b3da);}}}else{if(_0x29cbe1===void 0x0){if(_0x4609b2===-0x1&&_0x463e1a[_0x41cb3a]===0x1)_0x4fafd5===-0x1&&(_0x4fafd5=_0x27b3da);else{if(_0x41cb3a===0x20||_0x41cb3a===0x9)_0x4609b2===-0x1&&_0x4fafd5!==-0x1&&(_0x4609b2=_0x27b3da);else{if(_0x41cb3a===0x3b||_0x41cb3a===0x2c){if(_0x4fafd5===-0x1)throw new SyntaxError(_0x2af8ee(0x1e3)+_0x27b3da);_0x4609b2===-0x1&&(_0x4609b2=_0x27b3da),_0x232102(_0x1f918d,_0x2a1da4[_0x2af8ee(0x1e8)](_0x4fafd5,_0x4609b2),!0x0),_0x41cb3a===0x2c&&(_0x232102(_0x1914fc,_0x345bb9,_0x1f918d),_0x1f918d=Object['create'](null),_0x345bb9=void 0x0),_0x4fafd5=_0x4609b2=-0x1;}else{if(_0x41cb3a===0x3d&&_0x4fafd5!==-0x1&&_0x4609b2===-0x1)_0x29cbe1=_0x2a1da4[_0x2af8ee(0x1e8)](_0x4fafd5,_0x27b3da),_0x4fafd5=_0x4609b2=-0x1;else throw new SyntaxError(_0x2af8ee(0x1e3)+_0x27b3da);}}}}else{if(_0x5f4cfe){if(_0x463e1a[_0x41cb3a]!==0x1)throw new SyntaxError(_0x2af8ee(0x1e3)+_0x27b3da);_0x4fafd5===-0x1?_0x4fafd5=_0x27b3da:_0x5ea052||(_0x5ea052=!0x0),_0x5f4cfe=!0x1;}else{if(_0x1ebea7){if(_0x463e1a[_0x41cb3a]===0x1)_0x4fafd5===-0x1&&(_0x4fafd5=_0x27b3da);else{if(_0x41cb3a===0x22&&_0x4fafd5!==-0x1)_0x1ebea7=!0x1,_0x4609b2=_0x27b3da;else{if(_0x41cb3a===0x5c)_0x5f4cfe=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x27b3da);}}}else{if(_0x41cb3a===0x22&&_0x2a1da4['charCodeAt'](_0x27b3da-0x1)===0x3d)_0x1ebea7=!0x0;else{if(_0x4609b2===-0x1&&_0x463e1a[_0x41cb3a]===0x1)_0x4fafd5===-0x1&&(_0x4fafd5=_0x27b3da);else{if(_0x4fafd5!==-0x1&&(_0x41cb3a===0x20||_0x41cb3a===0x9))_0x4609b2===-0x1&&(_0x4609b2=_0x27b3da);else{if(_0x41cb3a===0x3b||_0x41cb3a===0x2c){if(_0x4fafd5===-0x1)throw new SyntaxError(_0x2af8ee(0x1e3)+_0x27b3da);_0x4609b2===-0x1&&(_0x4609b2=_0x27b3da);let _0x4b7e92=_0x2a1da4['slice'](_0x4fafd5,_0x4609b2);_0x5ea052&&(_0x4b7e92=_0x4b7e92['replace'](/\\/g,''),_0x5ea052=!0x1),_0x232102(_0x1f918d,_0x29cbe1,_0x4b7e92),_0x41cb3a===0x2c&&(_0x232102(_0x1914fc,_0x345bb9,_0x1f918d),_0x1f918d=Object[_0x2af8ee(0x345)](null),_0x345bb9=void 0x0),_0x29cbe1=void 0x0,_0x4fafd5=_0x4609b2=-0x1;}else throw new SyntaxError(_0x2af8ee(0x1e3)+_0x27b3da);}}}}}}}if(_0x4fafd5===-0x1||_0x1ebea7||_0x41cb3a===0x20||_0x41cb3a===0x9)throw new SyntaxError(_0x2af8ee(0x1f7));_0x4609b2===-0x1&&(_0x4609b2=_0x27b3da);const _0x4238d0=_0x2a1da4[_0x2af8ee(0x1e8)](_0x4fafd5,_0x4609b2);return _0x345bb9===void 0x0?_0x232102(_0x1914fc,_0x4238d0,_0x1f918d):(_0x29cbe1===void 0x0?_0x232102(_0x1f918d,_0x4238d0,!0x0):_0x5ea052?_0x232102(_0x1f918d,_0x29cbe1,_0x4238d0['replace'](/\\/g,'')):_0x232102(_0x1f918d,_0x29cbe1,_0x4238d0),_0x232102(_0x1914fc,_0x345bb9,_0x1f918d)),_0x1914fc;}function _0x57bff2(_0x306c58){const _0x2d9c39=_0x21f6;return Object[_0x2d9c39(0x28a)](_0x306c58)[_0x2d9c39(0x243)](_0x14b19b=>{const _0x296d10=_0x2d9c39;let _0x36ece7=_0x306c58[_0x14b19b];return Array[_0x296d10(0x288)](_0x36ece7)||(_0x36ece7=[_0x36ece7]),_0x36ece7[_0x296d10(0x243)](_0x191a25=>[_0x14b19b][_0x296d10(0x370)](Object['keys'](_0x191a25)['map'](_0x47e00b=>{const _0x167eb1=_0x296d10;let _0xc2062b=_0x191a25[_0x47e00b];return Array['isArray'](_0xc2062b)||(_0xc2062b=[_0xc2062b]),_0xc2062b[_0x167eb1(0x243)](_0x36088a=>_0x36088a===!0x0?_0x47e00b:_0x47e00b+'='+_0x36088a)['join'](';\x20');}))[_0x296d10(0x377)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x57bff2,'parse':_0x170dbc},be;}var we,Je;function Pe(){const _0x4f66cf=_0x56526c;if(Je)return we;Je=0x1;const _0x5aa8fd=nt,_0x4b9cf7=vt,_0x23d947=ot,_0x3768ac=St,_0x47862e=Et,{randomBytes:_0x55ed87,createHash:_0x541085}=Le,{Duplex:_0x47786f,Readable:_0x26c604}=oe,{URL:_0xaa3ef9}=xt,_0x5c530e=he(),_0x4c1e23=lt(),_0x1188bd=ft(),{isBlob:_0x374624}=ae(),{BINARY_TYPES:_0x170db4,EMPTY_BUFFER:_0x3492ed,GUID:_0x24f4c5,kForOnEventAttribute:_0x4a444e,kListener:_0x3b6814,kStatusCode:_0x18c3af,kWebSocket:_0x1062c6,NOOP:_0x5b3623}=H(),{EventTarget:{addEventListener:_0x2b2a7d,removeEventListener:_0x4925af}}=It(),{format:_0x2fc1fd,parse:_0x36d807}=ct(),{toBuffer:_0x366a18}=ce(),_0x12895b=0x1e*0x3e8,_0x36b2a3=Symbol(_0x4f66cf(0x33f)),_0x134afa=[0x8,0xd],_0x11b379=['CONNECTING',_0x4f66cf(0x228),_0x4f66cf(0x2a3),_0x4f66cf(0x234)],_0x5386e1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x55c73b extends _0x5aa8fd{constructor(_0x197a29,_0xf9d2d2,_0x3583be){const _0x5962d2=_0x4f66cf;super(),this['_binaryType']=_0x170db4[0x0],this['_closeCode']=0x3ee,this[_0x5962d2(0x24d)]=!0x1,this[_0x5962d2(0x23d)]=!0x1,this['_closeMessage']=_0x3492ed,this['_closeTimer']=null,this[_0x5962d2(0x3a0)]=!0x1,this[_0x5962d2(0x23a)]={},this['_paused']=!0x1,this[_0x5962d2(0x218)]='',this[_0x5962d2(0x24f)]=_0x55c73b['CONNECTING'],this[_0x5962d2(0x336)]=null,this[_0x5962d2(0x2fb)]=null,this[_0x5962d2(0x200)]=null,_0x197a29!==null?(this[_0x5962d2(0x241)]=0x0,this['_isServer']=!0x1,this[_0x5962d2(0x32c)]=0x0,_0xf9d2d2===void 0x0?_0xf9d2d2=[]:Array[_0x5962d2(0x288)](_0xf9d2d2)||(typeof _0xf9d2d2==_0x5962d2(0x298)&&_0xf9d2d2!==null?(_0x3583be=_0xf9d2d2,_0xf9d2d2=[]):_0xf9d2d2=[_0xf9d2d2]),_0x25e293(this,_0x197a29,_0xf9d2d2,_0x3583be)):(this['_autoPong']=_0x3583be['autoPong'],this[_0x5962d2(0x1e4)]=!0x0);}get[_0x4f66cf(0x374)](){return this['_binaryType'];}set['binaryType'](_0xb0f2b8){const _0x36cc5a=_0x4f66cf;_0x170db4['includes'](_0xb0f2b8)&&(this[_0x36cc5a(0x353)]=_0xb0f2b8,this[_0x36cc5a(0x336)]&&(this[_0x36cc5a(0x336)]['_binaryType']=_0xb0f2b8));}get['bufferedAmount'](){const _0x1eaede=_0x4f66cf;return this[_0x1eaede(0x200)]?this[_0x1eaede(0x200)][_0x1eaede(0x291)]['length']+this[_0x1eaede(0x2fb)][_0x1eaede(0x23b)]:this[_0x1eaede(0x241)];}get[_0x4f66cf(0x220)](){const _0x38e886=_0x4f66cf;return Object['keys'](this[_0x38e886(0x23a)])[_0x38e886(0x377)]();}get[_0x4f66cf(0x221)](){const _0x5de9c1=_0x4f66cf;return this[_0x5de9c1(0x278)];}get['onclose'](){return null;}get[_0x4f66cf(0x1fe)](){return null;}get['onopen'](){return null;}get[_0x4f66cf(0x32e)](){return null;}get[_0x4f66cf(0x284)](){return this['_protocol'];}get[_0x4f66cf(0x251)](){const _0x29ce97=_0x4f66cf;return this[_0x29ce97(0x24f)];}get['url'](){const _0x1f174a=_0x4f66cf;return this[_0x1f174a(0x29f)];}[_0x4f66cf(0x36b)](_0x1c6cfb,_0xfa1af,_0xdb8679){const _0x11918c=_0x4f66cf,_0x2fe896=new _0x4c1e23({'allowSynchronousEvents':_0xdb8679[_0x11918c(0x27e)],'binaryType':this['binaryType'],'extensions':this[_0x11918c(0x23a)],'isServer':this[_0x11918c(0x1e4)],'maxPayload':_0xdb8679['maxPayload'],'skipUTF8Validation':_0xdb8679[_0x11918c(0x1f9)]}),_0x3c8fc2=new _0x1188bd(_0x1c6cfb,this['_extensions'],_0xdb8679[_0x11918c(0x28b)]);this[_0x11918c(0x336)]=_0x2fe896,this[_0x11918c(0x2fb)]=_0x3c8fc2,this[_0x11918c(0x200)]=_0x1c6cfb,_0x2fe896[_0x1062c6]=this,_0x3c8fc2[_0x1062c6]=this,_0x1c6cfb[_0x1062c6]=this,_0x2fe896['on'](_0x11918c(0x2f7),_0x46c9e2),_0x2fe896['on'](_0x11918c(0x375),_0x29eae3),_0x2fe896['on'](_0x11918c(0x1fa),_0x5c1ead),_0x2fe896['on']('message',_0x5281b3),_0x2fe896['on']('ping',_0x17e91c),_0x2fe896['on']('pong',_0x38177c),_0x3c8fc2[_0x11918c(0x1fe)]=_0x184411,_0x1c6cfb[_0x11918c(0x2f0)]&&_0x1c6cfb['setTimeout'](0x0),_0x1c6cfb[_0x11918c(0x376)]&&_0x1c6cfb['setNoDelay'](),_0xfa1af['length']>0x0&&_0x1c6cfb[_0x11918c(0x328)](_0xfa1af),_0x1c6cfb['on'](_0x11918c(0x235),_0x1e8229),_0x1c6cfb['on']('data',_0x147012),_0x1c6cfb['on'](_0x11918c(0x2c9),_0x4e2d59),_0x1c6cfb['on']('error',_0x1253d0),this['_readyState']=_0x55c73b[_0x11918c(0x228)],this[_0x11918c(0x1e5)](_0x11918c(0x2f4));}[_0x4f66cf(0x369)](){const _0x462e2d=_0x4f66cf;if(!this[_0x462e2d(0x200)]){this[_0x462e2d(0x24f)]=_0x55c73b[_0x462e2d(0x234)],this[_0x462e2d(0x1e5)](_0x462e2d(0x235),this[_0x462e2d(0x247)],this[_0x462e2d(0x35a)]);return;}this[_0x462e2d(0x23a)][_0x5c530e[_0x462e2d(0x205)]]&&this[_0x462e2d(0x23a)][_0x5c530e[_0x462e2d(0x205)]]['cleanup'](),this[_0x462e2d(0x336)][_0x462e2d(0x27b)](),this[_0x462e2d(0x24f)]=_0x55c73b['CLOSED'],this[_0x462e2d(0x1e5)](_0x462e2d(0x235),this[_0x462e2d(0x247)],this[_0x462e2d(0x35a)]);}[_0x4f66cf(0x235)](_0x502af4,_0x286704){const _0x1efa12=_0x4f66cf;if(this[_0x1efa12(0x251)]!==_0x55c73b['CLOSED']){if(this['readyState']===_0x55c73b[_0x1efa12(0x303)]){_0xe82877(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1efa12(0x251)]===_0x55c73b[_0x1efa12(0x2a3)]){this['_closeFrameSent']&&(this[_0x1efa12(0x24d)]||this[_0x1efa12(0x336)][_0x1efa12(0x291)][_0x1efa12(0x309)])&&this['_socket'][_0x1efa12(0x2c9)]();return;}this[_0x1efa12(0x24f)]=_0x55c73b['CLOSING'],this[_0x1efa12(0x2fb)]['close'](_0x502af4,_0x286704,!this[_0x1efa12(0x1e4)],_0x212dd0=>{const _0x491327=_0x1efa12;_0x212dd0||(this[_0x491327(0x23d)]=!0x0,(this[_0x491327(0x24d)]||this['_receiver'][_0x491327(0x291)][_0x491327(0x309)])&&this[_0x491327(0x200)][_0x491327(0x2c9)]());}),_0x4b9ec6(this);}}[_0x4f66cf(0x2be)](){const _0x2a8815=_0x4f66cf;this[_0x2a8815(0x251)]===_0x55c73b[_0x2a8815(0x303)]||this['readyState']===_0x55c73b['CLOSED']||(this['_paused']=!0x0,this[_0x2a8815(0x200)]['pause']());}['ping'](_0x38e971,_0x46f535,_0x3bf254){const _0x4e47a0=_0x4f66cf;if(this[_0x4e47a0(0x251)]===_0x55c73b[_0x4e47a0(0x303)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x38e971==_0x4e47a0(0x37d)?(_0x3bf254=_0x38e971,_0x38e971=_0x46f535=void 0x0):typeof _0x46f535==_0x4e47a0(0x37d)&&(_0x3bf254=_0x46f535,_0x46f535=void 0x0),typeof _0x38e971=='number'&&(_0x38e971=_0x38e971[_0x4e47a0(0x29c)]()),this[_0x4e47a0(0x251)]!==_0x55c73b[_0x4e47a0(0x228)]){_0x27bcce(this,_0x38e971,_0x3bf254);return;}_0x46f535===void 0x0&&(_0x46f535=!this['_isServer']),this[_0x4e47a0(0x2fb)][_0x4e47a0(0x252)](_0x38e971||_0x3492ed,_0x46f535,_0x3bf254);}[_0x4f66cf(0x2cd)](_0x16ed20,_0x4a75d2,_0x460148){const _0x5c31b2=_0x4f66cf;if(this[_0x5c31b2(0x251)]===_0x55c73b[_0x5c31b2(0x303)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16ed20==_0x5c31b2(0x37d)?(_0x460148=_0x16ed20,_0x16ed20=_0x4a75d2=void 0x0):typeof _0x4a75d2=='function'&&(_0x460148=_0x4a75d2,_0x4a75d2=void 0x0),typeof _0x16ed20==_0x5c31b2(0x24c)&&(_0x16ed20=_0x16ed20['toString']()),this[_0x5c31b2(0x251)]!==_0x55c73b[_0x5c31b2(0x228)]){_0x27bcce(this,_0x16ed20,_0x460148);return;}_0x4a75d2===void 0x0&&(_0x4a75d2=!this['_isServer']),this[_0x5c31b2(0x2fb)][_0x5c31b2(0x2cd)](_0x16ed20||_0x3492ed,_0x4a75d2,_0x460148);}[_0x4f66cf(0x2e8)](){const _0xef396e=_0x4f66cf;this[_0xef396e(0x251)]===_0x55c73b[_0xef396e(0x303)]||this['readyState']===_0x55c73b[_0xef396e(0x234)]||(this[_0xef396e(0x278)]=!0x1,this[_0xef396e(0x336)][_0xef396e(0x291)][_0xef396e(0x2e6)]||this[_0xef396e(0x200)]['resume']());}[_0x4f66cf(0x32a)](_0x16cf9d,_0xcad757,_0x49b0f5){const _0x28c239=_0x4f66cf;if(this[_0x28c239(0x251)]===_0x55c73b[_0x28c239(0x303)])throw new Error(_0x28c239(0x281));if(typeof _0xcad757=='function'&&(_0x49b0f5=_0xcad757,_0xcad757={}),typeof _0x16cf9d==_0x28c239(0x24c)&&(_0x16cf9d=_0x16cf9d['toString']()),this[_0x28c239(0x251)]!==_0x55c73b[_0x28c239(0x228)]){_0x27bcce(this,_0x16cf9d,_0x49b0f5);return;}const _0x38e944={'binary':typeof _0x16cf9d!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0xcad757};this['_extensions'][_0x5c530e['extensionName']]||(_0x38e944[_0x28c239(0x311)]=!0x1),this[_0x28c239(0x2fb)][_0x28c239(0x32a)](_0x16cf9d||_0x3492ed,_0x38e944,_0x49b0f5);}[_0x4f66cf(0x2ab)](){const _0x5a1418=_0x4f66cf;if(this[_0x5a1418(0x251)]!==_0x55c73b['CLOSED']){if(this[_0x5a1418(0x251)]===_0x55c73b[_0x5a1418(0x303)]){_0xe82877(this,this[_0x5a1418(0x2dc)],_0x5a1418(0x1f3));return;}this[_0x5a1418(0x200)]&&(this[_0x5a1418(0x24f)]=_0x55c73b[_0x5a1418(0x2a3)],this['_socket'][_0x5a1418(0x270)]());}}}Object[_0x4f66cf(0x2fc)](_0x55c73b,_0x4f66cf(0x303),{'enumerable':!0x0,'value':_0x11b379[_0x4f66cf(0x24b)](_0x4f66cf(0x303))}),Object[_0x4f66cf(0x2fc)](_0x55c73b[_0x4f66cf(0x324)],'CONNECTING',{'enumerable':!0x0,'value':_0x11b379[_0x4f66cf(0x24b)](_0x4f66cf(0x303))}),Object['defineProperty'](_0x55c73b,'OPEN',{'enumerable':!0x0,'value':_0x11b379[_0x4f66cf(0x24b)]('OPEN')}),Object[_0x4f66cf(0x2fc)](_0x55c73b[_0x4f66cf(0x324)],'OPEN',{'enumerable':!0x0,'value':_0x11b379[_0x4f66cf(0x24b)](_0x4f66cf(0x228))}),Object[_0x4f66cf(0x2fc)](_0x55c73b,_0x4f66cf(0x2a3),{'enumerable':!0x0,'value':_0x11b379['indexOf'](_0x4f66cf(0x2a3))}),Object[_0x4f66cf(0x2fc)](_0x55c73b[_0x4f66cf(0x324)],_0x4f66cf(0x2a3),{'enumerable':!0x0,'value':_0x11b379[_0x4f66cf(0x24b)]('CLOSING')}),Object['defineProperty'](_0x55c73b,_0x4f66cf(0x234),{'enumerable':!0x0,'value':_0x11b379[_0x4f66cf(0x24b)](_0x4f66cf(0x234))}),Object[_0x4f66cf(0x2fc)](_0x55c73b[_0x4f66cf(0x324)],_0x4f66cf(0x234),{'enumerable':!0x0,'value':_0x11b379[_0x4f66cf(0x24b)](_0x4f66cf(0x234))}),['binaryType',_0x4f66cf(0x31b),_0x4f66cf(0x220),_0x4f66cf(0x221),_0x4f66cf(0x284),'readyState',_0x4f66cf(0x299)][_0x4f66cf(0x21e)](_0x1e725e=>{const _0x1d22d4=_0x4f66cf;Object[_0x1d22d4(0x2fc)](_0x55c73b[_0x1d22d4(0x324)],_0x1e725e,{'enumerable':!0x0});}),[_0x4f66cf(0x2f4),_0x4f66cf(0x1fa),_0x4f66cf(0x235),_0x4f66cf(0x29a)][_0x4f66cf(0x21e)](_0x689bb6=>{Object['defineProperty'](_0x55c73b['prototype'],'on'+_0x689bb6,{'enumerable':!0x0,'get'(){const _0x594ca7=_0x21f6;for(const _0x555d98 of this[_0x594ca7(0x211)](_0x689bb6))if(_0x555d98[_0x4a444e])return _0x555d98[_0x3b6814];return null;},'set'(_0x5c95a2){const _0x353b9a=_0x21f6;for(const _0x2951aa of this['listeners'](_0x689bb6))if(_0x2951aa[_0x4a444e]){this[_0x353b9a(0x282)](_0x689bb6,_0x2951aa);break;}typeof _0x5c95a2==_0x353b9a(0x37d)&&this[_0x353b9a(0x302)](_0x689bb6,_0x5c95a2,{[_0x4a444e]:!0x0});}});}),_0x55c73b['prototype'][_0x4f66cf(0x302)]=_0x2b2a7d,_0x55c73b['prototype']['removeEventListener']=_0x4925af,we=_0x55c73b;function _0x25e293(_0x3b193a,_0x11cb17,_0x1f7ae7,_0x3aa3ec){const _0x5be696=_0x4f66cf,_0x211906={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x134afa[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3aa3ec,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3b193a[_0x5be696(0x315)]=_0x211906[_0x5be696(0x286)],!_0x134afa[_0x5be696(0x378)](_0x211906[_0x5be696(0x2b9)]))throw new RangeError(_0x5be696(0x380)+_0x211906[_0x5be696(0x2b9)]+_0x5be696(0x25b)+_0x134afa[_0x5be696(0x377)](',\x20')+')');let _0xba33ae;if(_0x11cb17 instanceof _0xaa3ef9)_0xba33ae=_0x11cb17;else try{_0xba33ae=new _0xaa3ef9(_0x11cb17);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x11cb17);}_0xba33ae['protocol']===_0x5be696(0x2ed)?_0xba33ae[_0x5be696(0x284)]=_0x5be696(0x248):_0xba33ae[_0x5be696(0x284)]===_0x5be696(0x397)&&(_0xba33ae[_0x5be696(0x284)]='wss:'),_0x3b193a['_url']=_0xba33ae[_0x5be696(0x231)];const _0x100a7b=_0xba33ae[_0x5be696(0x284)]===_0x5be696(0x337),_0x28a647=_0xba33ae[_0x5be696(0x284)]===_0x5be696(0x2e5);let _0x2b0fc7;if(_0xba33ae['protocol']!=='ws:'&&!_0x100a7b&&!_0x28a647?_0x2b0fc7='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':_0x28a647&&!_0xba33ae[_0x5be696(0x2cf)]?_0x2b0fc7='The\x20URL\x27s\x20pathname\x20is\x20empty':_0xba33ae['hash']&&(_0x2b0fc7=_0x5be696(0x2ac)),_0x2b0fc7){const _0x2967a0=new SyntaxError(_0x2b0fc7);if(_0x3b193a['_redirects']===0x0)throw _0x2967a0;_0x305b47(_0x3b193a,_0x2967a0);return;}const _0x235a03=_0x100a7b?0x1bb:0x50,_0x2345e0=_0x55ed87(0x10)[_0x5be696(0x29c)](_0x5be696(0x31c)),_0x413ab4=_0x100a7b?_0x4b9cf7[_0x5be696(0x31a)]:_0x23d947[_0x5be696(0x31a)],_0x5da976=new Set();let _0x70a922;if(_0x211906['createConnection']=_0x211906[_0x5be696(0x2f2)]||(_0x100a7b?_0x77bb1d:_0x44d20e),_0x211906[_0x5be696(0x266)]=_0x211906[_0x5be696(0x266)]||_0x235a03,_0x211906[_0x5be696(0x210)]=_0xba33ae[_0x5be696(0x210)]||_0x235a03,_0x211906['host']=_0xba33ae[_0x5be696(0x290)]['startsWith']('[')?_0xba33ae[_0x5be696(0x290)]['slice'](0x1,-0x1):_0xba33ae['hostname'],_0x211906['headers']={..._0x211906[_0x5be696(0x21f)],'Sec-WebSocket-Version':_0x211906['protocolVersion'],'Sec-WebSocket-Key':_0x2345e0,'Connection':_0x5be696(0x346),'Upgrade':'websocket'},_0x211906['path']=_0xba33ae['pathname']+_0xba33ae['search'],_0x211906['timeout']=_0x211906['handshakeTimeout'],_0x211906['perMessageDeflate']&&(_0x70a922=new _0x5c530e(_0x211906[_0x5be696(0x352)]!==!0x0?_0x211906[_0x5be696(0x352)]:{},!0x1,_0x211906[_0x5be696(0x215)]),_0x211906[_0x5be696(0x21f)][_0x5be696(0x36e)]=_0x2fc1fd({[_0x5c530e[_0x5be696(0x205)]]:_0x70a922[_0x5be696(0x22b)]()})),_0x1f7ae7[_0x5be696(0x359)]){for(const _0x5d81e6 of _0x1f7ae7){if(typeof _0x5d81e6!=_0x5be696(0x364)||!_0x5386e1[_0x5be696(0x271)](_0x5d81e6)||_0x5da976[_0x5be696(0x2de)](_0x5d81e6))throw new SyntaxError(_0x5be696(0x289));_0x5da976[_0x5be696(0x347)](_0x5d81e6);}_0x211906[_0x5be696(0x21f)]['Sec-WebSocket-Protocol']=_0x1f7ae7[_0x5be696(0x377)](',');}if(_0x211906[_0x5be696(0x2ea)]&&(_0x211906[_0x5be696(0x2b9)]<0xd?_0x211906['headers'][_0x5be696(0x255)]=_0x211906[_0x5be696(0x2ea)]:_0x211906[_0x5be696(0x21f)]['Origin']=_0x211906[_0x5be696(0x2ea)]),(_0xba33ae[_0x5be696(0x33c)]||_0xba33ae[_0x5be696(0x383)])&&(_0x211906[_0x5be696(0x26f)]=_0xba33ae['username']+':'+_0xba33ae[_0x5be696(0x383)]),_0x28a647){const _0xdb91ea=_0x211906[_0x5be696(0x33a)][_0x5be696(0x33e)](':');_0x211906[_0x5be696(0x237)]=_0xdb91ea[0x0],_0x211906[_0x5be696(0x33a)]=_0xdb91ea[0x1];}let _0x403eb7;if(_0x211906[_0x5be696(0x320)]){if(_0x3b193a[_0x5be696(0x32c)]===0x0){_0x3b193a[_0x5be696(0x38e)]=_0x28a647,_0x3b193a[_0x5be696(0x2e3)]=_0x100a7b,_0x3b193a[_0x5be696(0x2d5)]=_0x28a647?_0x211906['socketPath']:_0xba33ae['host'];const _0x48fb82=_0x3aa3ec&&_0x3aa3ec['headers'];if(_0x3aa3ec={..._0x3aa3ec,'headers':{}},_0x48fb82){for(const [_0x2a697a,_0x37d986]of Object[_0x5be696(0x2b4)](_0x48fb82))_0x3aa3ec[_0x5be696(0x21f)][_0x2a697a[_0x5be696(0x275)]()]=_0x37d986;}}else{if(_0x3b193a[_0x5be696(0x399)]('redirect')===0x0){const _0x47c32b=_0x28a647?_0x3b193a[_0x5be696(0x38e)]?_0x211906[_0x5be696(0x237)]===_0x3b193a[_0x5be696(0x2d5)]:!0x1:_0x3b193a[_0x5be696(0x38e)]?!0x1:_0xba33ae[_0x5be696(0x21c)]===_0x3b193a[_0x5be696(0x2d5)];(!_0x47c32b||_0x3b193a[_0x5be696(0x2e3)]&&!_0x100a7b)&&(delete _0x211906[_0x5be696(0x21f)][_0x5be696(0x24a)],delete _0x211906[_0x5be696(0x21f)][_0x5be696(0x329)],_0x47c32b||delete _0x211906[_0x5be696(0x21f)]['host'],_0x211906[_0x5be696(0x26f)]=void 0x0);}}_0x211906[_0x5be696(0x26f)]&&!_0x3aa3ec['headers'][_0x5be696(0x24a)]&&(_0x3aa3ec[_0x5be696(0x21f)][_0x5be696(0x24a)]='Basic\x20'+Buffer[_0x5be696(0x2ef)](_0x211906[_0x5be696(0x26f)])['toString'](_0x5be696(0x31c))),_0x403eb7=_0x3b193a[_0x5be696(0x2dc)]=_0x413ab4(_0x211906),_0x3b193a[_0x5be696(0x32c)]&&_0x3b193a['emit'](_0x5be696(0x224),_0x3b193a[_0x5be696(0x299)],_0x403eb7);}else _0x403eb7=_0x3b193a[_0x5be696(0x2dc)]=_0x413ab4(_0x211906);_0x211906['timeout']&&_0x403eb7['on']('timeout',()=>{const _0x2b45b9=_0x5be696;_0xe82877(_0x3b193a,_0x403eb7,_0x2b45b9(0x254));}),_0x403eb7['on']('error',_0x4f8736=>{const _0x51c5be=_0x5be696;_0x403eb7===null||_0x403eb7[_0x36b2a3]||(_0x403eb7=_0x3b193a[_0x51c5be(0x2dc)]=null,_0x305b47(_0x3b193a,_0x4f8736));}),_0x403eb7['on']('response',_0x170e1a=>{const _0x4fe8ff=_0x5be696,_0xa21f6a=_0x170e1a[_0x4fe8ff(0x21f)][_0x4fe8ff(0x222)],_0xe49463=_0x170e1a[_0x4fe8ff(0x2b7)];if(_0xa21f6a&&_0x211906[_0x4fe8ff(0x320)]&&_0xe49463>=0x12c&&_0xe49463<0x190){if(++_0x3b193a[_0x4fe8ff(0x32c)]>_0x211906['maxRedirects']){_0xe82877(_0x3b193a,_0x403eb7,_0x4fe8ff(0x34e));return;}_0x403eb7[_0x4fe8ff(0x21d)]();let _0x7d4fa3;try{_0x7d4fa3=new _0xaa3ef9(_0xa21f6a,_0x11cb17);}catch{const _0x152c34=new SyntaxError('Invalid\x20URL:\x20'+_0xa21f6a);_0x305b47(_0x3b193a,_0x152c34);return;}_0x25e293(_0x3b193a,_0x7d4fa3,_0x1f7ae7,_0x3aa3ec);}else _0x3b193a['emit'](_0x4fe8ff(0x38b),_0x403eb7,_0x170e1a)||_0xe82877(_0x3b193a,_0x403eb7,_0x4fe8ff(0x340)+_0x170e1a[_0x4fe8ff(0x2b7)]);}),_0x403eb7['on'](_0x5be696(0x35f),(_0x4b3aac,_0x2c93f4,_0x309e26)=>{const _0x144eba=_0x5be696;if(_0x3b193a['emit'](_0x144eba(0x35f),_0x4b3aac),_0x3b193a[_0x144eba(0x251)]!==_0x55c73b[_0x144eba(0x303)])return;_0x403eb7=_0x3b193a[_0x144eba(0x2dc)]=null;const _0xb2616f=_0x4b3aac[_0x144eba(0x21f)][_0x144eba(0x35f)];if(_0xb2616f===void 0x0||_0xb2616f[_0x144eba(0x275)]()!==_0x144eba(0x326)){_0xe82877(_0x3b193a,_0x2c93f4,_0x144eba(0x2fd));return;}const _0x2292cf=_0x541085('sha1')[_0x144eba(0x310)](_0x2345e0+_0x24f4c5)[_0x144eba(0x308)]('base64');if(_0x4b3aac[_0x144eba(0x21f)][_0x144eba(0x314)]!==_0x2292cf){_0xe82877(_0x3b193a,_0x2c93f4,_0x144eba(0x2ce));return;}const _0x4ea658=_0x4b3aac['headers'][_0x144eba(0x33b)];let _0x3aaf42;if(_0x4ea658!==void 0x0?_0x5da976[_0x144eba(0x2bb)]?_0x5da976[_0x144eba(0x2de)](_0x4ea658)||(_0x3aaf42=_0x144eba(0x226)):_0x3aaf42='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x5da976['size']&&(_0x3aaf42='Server\x20sent\x20no\x20subprotocol'),_0x3aaf42){_0xe82877(_0x3b193a,_0x2c93f4,_0x3aaf42);return;}_0x4ea658&&(_0x3b193a[_0x144eba(0x218)]=_0x4ea658);const _0x5119bb=_0x4b3aac[_0x144eba(0x21f)][_0x144eba(0x296)];if(_0x5119bb!==void 0x0){if(!_0x70a922){_0xe82877(_0x3b193a,_0x2c93f4,_0x144eba(0x2c7));return;}let _0xd59ed2;try{_0xd59ed2=_0x36d807(_0x5119bb);}catch{_0xe82877(_0x3b193a,_0x2c93f4,_0x144eba(0x335));return;}const _0x1976b2=Object[_0x144eba(0x28a)](_0xd59ed2);if(_0x1976b2[_0x144eba(0x359)]!==0x1||_0x1976b2[0x0]!==_0x5c530e[_0x144eba(0x205)]){_0xe82877(_0x3b193a,_0x2c93f4,_0x144eba(0x37f));return;}try{_0x70a922[_0x144eba(0x25c)](_0xd59ed2[_0x5c530e['extensionName']]);}catch{_0xe82877(_0x3b193a,_0x2c93f4,_0x144eba(0x335));return;}_0x3b193a[_0x144eba(0x23a)][_0x5c530e[_0x144eba(0x205)]]=_0x70a922;}_0x3b193a['setSocket'](_0x2c93f4,_0x309e26,{'allowSynchronousEvents':_0x211906[_0x144eba(0x27e)],'generateMask':_0x211906['generateMask'],'maxPayload':_0x211906[_0x144eba(0x215)],'skipUTF8Validation':_0x211906[_0x144eba(0x1f9)]});}),_0x211906[_0x5be696(0x38f)]?_0x211906[_0x5be696(0x38f)](_0x403eb7,_0x3b193a):_0x403eb7[_0x5be696(0x2c9)]();}function _0x305b47(_0x7406d3,_0x50c74b){const _0x44afa5=_0x4f66cf;_0x7406d3['_readyState']=_0x55c73b[_0x44afa5(0x2a3)],_0x7406d3['_errorEmitted']=!0x0,_0x7406d3['emit']('error',_0x50c74b),_0x7406d3[_0x44afa5(0x369)]();}function _0x44d20e(_0x41e7f5){const _0x4bc696=_0x4f66cf;return _0x41e7f5[_0x4bc696(0x33a)]=_0x41e7f5[_0x4bc696(0x237)],_0x3768ac[_0x4bc696(0x32d)](_0x41e7f5);}function _0x77bb1d(_0x5c3032){const _0xf62ceb=_0x4f66cf;return _0x5c3032[_0xf62ceb(0x33a)]=void 0x0,!_0x5c3032[_0xf62ceb(0x242)]&&_0x5c3032[_0xf62ceb(0x242)]!==''&&(_0x5c3032['servername']=_0x3768ac['isIP'](_0x5c3032[_0xf62ceb(0x21c)])?'':_0x5c3032['host']),_0x47862e[_0xf62ceb(0x32d)](_0x5c3032);}function _0xe82877(_0x5aa032,_0x5cd7a1,_0x26d2a0){const _0x5cb62d=_0x4f66cf;_0x5aa032['_readyState']=_0x55c73b[_0x5cb62d(0x2a3)];const _0x2340f4=new Error(_0x26d2a0);Error[_0x5cb62d(0x356)](_0x2340f4,_0xe82877),_0x5cd7a1[_0x5cb62d(0x322)]?(_0x5cd7a1[_0x36b2a3]=!0x0,_0x5cd7a1['abort'](),_0x5cd7a1[_0x5cb62d(0x39f)]&&!_0x5cd7a1[_0x5cb62d(0x39f)]['destroyed']&&_0x5cd7a1[_0x5cb62d(0x39f)][_0x5cb62d(0x270)](),process[_0x5cb62d(0x368)](_0x305b47,_0x5aa032,_0x2340f4)):(_0x5cd7a1[_0x5cb62d(0x270)](_0x2340f4),_0x5cd7a1[_0x5cb62d(0x1f5)](_0x5cb62d(0x1fa),_0x5aa032[_0x5cb62d(0x1e5)]['bind'](_0x5aa032,_0x5cb62d(0x1fa))),_0x5cd7a1[_0x5cb62d(0x1f5)](_0x5cb62d(0x235),_0x5aa032[_0x5cb62d(0x369)][_0x5cb62d(0x2cb)](_0x5aa032)));}function _0x27bcce(_0x5161c3,_0x37bb28,_0x2e97df){const _0x1e2504=_0x4f66cf;if(_0x37bb28){const _0x30eec7=_0x374624(_0x37bb28)?_0x37bb28['size']:_0x366a18(_0x37bb28)[_0x1e2504(0x359)];_0x5161c3[_0x1e2504(0x200)]?_0x5161c3['_sender']['_bufferedBytes']+=_0x30eec7:_0x5161c3[_0x1e2504(0x241)]+=_0x30eec7;}if(_0x2e97df){const _0x35f0ac=new Error(_0x1e2504(0x2d8)+_0x5161c3[_0x1e2504(0x251)]+'\x20('+_0x11b379[_0x5161c3[_0x1e2504(0x251)]]+')');process[_0x1e2504(0x368)](_0x2e97df,_0x35f0ac);}}function _0x46c9e2(_0x504caa,_0x32b5d8){const _0x4b1519=_0x4f66cf,_0x2bda57=this[_0x1062c6];_0x2bda57[_0x4b1519(0x24d)]=!0x0,_0x2bda57[_0x4b1519(0x35a)]=_0x32b5d8,_0x2bda57[_0x4b1519(0x247)]=_0x504caa,_0x2bda57['_socket'][_0x1062c6]!==void 0x0&&(_0x2bda57['_socket'][_0x4b1519(0x282)](_0x4b1519(0x357),_0x147012),process[_0x4b1519(0x368)](_0x33abd7,_0x2bda57[_0x4b1519(0x200)]),_0x504caa===0x3ed?_0x2bda57[_0x4b1519(0x235)]():_0x2bda57[_0x4b1519(0x235)](_0x504caa,_0x32b5d8));}function _0x29eae3(){const _0x1290b2=_0x4f66cf,_0x5967f4=this[_0x1062c6];_0x5967f4[_0x1290b2(0x221)]||_0x5967f4[_0x1290b2(0x200)]['resume']();}function _0x5c1ead(_0x3a40a7){const _0x2cb57b=_0x4f66cf,_0x3ebfc9=this[_0x1062c6];_0x3ebfc9[_0x2cb57b(0x200)][_0x1062c6]!==void 0x0&&(_0x3ebfc9['_socket'][_0x2cb57b(0x282)]('data',_0x147012),process[_0x2cb57b(0x368)](_0x33abd7,_0x3ebfc9['_socket']),_0x3ebfc9[_0x2cb57b(0x235)](_0x3a40a7[_0x18c3af])),_0x3ebfc9[_0x2cb57b(0x3a0)]||(_0x3ebfc9[_0x2cb57b(0x3a0)]=!0x0,_0x3ebfc9[_0x2cb57b(0x1e5)]('error',_0x3a40a7));}function _0x2456c7(){const _0x4dccb8=_0x4f66cf;this[_0x1062c6][_0x4dccb8(0x369)]();}function _0x5281b3(_0x5a56d3,_0x208a10){const _0x1faf2b=_0x4f66cf;this[_0x1062c6][_0x1faf2b(0x1e5)](_0x1faf2b(0x29a),_0x5a56d3,_0x208a10);}function _0x17e91c(_0x17aa9f){const _0x24c743=_0x4f66cf,_0x371a0e=this[_0x1062c6];_0x371a0e[_0x24c743(0x315)]&&_0x371a0e[_0x24c743(0x2cd)](_0x17aa9f,!this[_0x24c743(0x1e4)],_0x5b3623),_0x371a0e[_0x24c743(0x1e5)](_0x24c743(0x252),_0x17aa9f);}function _0x38177c(_0x39c405){const _0x52bf8a=_0x4f66cf;this[_0x1062c6][_0x52bf8a(0x1e5)]('pong',_0x39c405);}function _0x33abd7(_0x484735){const _0x479789=_0x4f66cf;_0x484735[_0x479789(0x2e8)]();}function _0x184411(_0x590d7a){const _0x2b66ae=_0x4f66cf,_0x320d81=this[_0x1062c6];_0x320d81[_0x2b66ae(0x251)]!==_0x55c73b[_0x2b66ae(0x234)]&&(_0x320d81[_0x2b66ae(0x251)]===_0x55c73b[_0x2b66ae(0x228)]&&(_0x320d81['_readyState']=_0x55c73b[_0x2b66ae(0x2a3)],_0x4b9ec6(_0x320d81)),this[_0x2b66ae(0x200)][_0x2b66ae(0x2c9)](),_0x320d81[_0x2b66ae(0x3a0)]||(_0x320d81[_0x2b66ae(0x3a0)]=!0x0,_0x320d81[_0x2b66ae(0x1e5)](_0x2b66ae(0x1fa),_0x590d7a)));}function _0x4b9ec6(_0x595b97){const _0x374d31=_0x4f66cf;_0x595b97[_0x374d31(0x2c5)]=setTimeout(_0x595b97[_0x374d31(0x200)][_0x374d31(0x270)]['bind'](_0x595b97[_0x374d31(0x200)]),_0x12895b);}function _0x1e8229(){const _0x3bcf63=_0x4f66cf,_0x44b5e6=this[_0x1062c6];this[_0x3bcf63(0x282)](_0x3bcf63(0x235),_0x1e8229),this[_0x3bcf63(0x282)](_0x3bcf63(0x357),_0x147012),this[_0x3bcf63(0x282)]('end',_0x4e2d59),_0x44b5e6[_0x3bcf63(0x24f)]=_0x55c73b[_0x3bcf63(0x2a3)];let _0xef3b66;!this[_0x3bcf63(0x214)]['endEmitted']&&!_0x44b5e6[_0x3bcf63(0x24d)]&&!_0x44b5e6[_0x3bcf63(0x336)][_0x3bcf63(0x291)][_0x3bcf63(0x309)]&&(_0xef3b66=_0x44b5e6['_socket']['read']())!==null&&_0x44b5e6['_receiver']['write'](_0xef3b66),_0x44b5e6['_receiver']['end'](),this[_0x1062c6]=void 0x0,clearTimeout(_0x44b5e6[_0x3bcf63(0x2c5)]),_0x44b5e6[_0x3bcf63(0x336)]['_writableState'][_0x3bcf63(0x394)]||_0x44b5e6['_receiver'][_0x3bcf63(0x291)]['errorEmitted']?_0x44b5e6[_0x3bcf63(0x369)]():(_0x44b5e6[_0x3bcf63(0x336)]['on'](_0x3bcf63(0x1fa),_0x2456c7),_0x44b5e6[_0x3bcf63(0x336)]['on']('finish',_0x2456c7));}function _0x147012(_0x22b05f){const _0x5e7fdc=_0x4f66cf;this[_0x1062c6][_0x5e7fdc(0x336)][_0x5e7fdc(0x28f)](_0x22b05f)||this['pause']();}function _0x4e2d59(){const _0x2ed673=_0x4f66cf,_0x4f9e87=this[_0x1062c6];_0x4f9e87[_0x2ed673(0x24f)]=_0x55c73b[_0x2ed673(0x2a3)],_0x4f9e87['_receiver'][_0x2ed673(0x2c9)](),this[_0x2ed673(0x2c9)]();}function _0x1253d0(){const _0x31584e=_0x4f66cf,_0x1c264d=this[_0x1062c6];this[_0x31584e(0x282)](_0x31584e(0x1fa),_0x1253d0),this['on']('error',_0x5b3623),_0x1c264d&&(_0x1c264d[_0x31584e(0x24f)]=_0x55c73b['CLOSING'],this[_0x31584e(0x270)]());}return we;}var Oe,et;function _0x1654(){const _0x362759=['56460ixNRTM','_allowSynchronousEvents','Invalid\x20value\x20for\x20parameter\x20\x22','DisposableCollection','STATUS_CODES','Unexpected\x20character\x20at\x20index\x20','_isServer','emit','390136SdCwPR','Plugin','slice','serverNoContextTakeover','_doCreateSocket','total-length','values','isServer','Inject','onStarting','clientNoContextTakeover','_compressed','Connection:\x20Upgrade','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','species','once','byteOffset','Unexpected\x20end\x20of\x20input','apply','skipUTF8Validation','error','WS_ERR_UNEXPECTED_MASK','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Invalid\x20HTTP\x20method','onerror','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_socket','HTTP/1.1\x20','getPayloadLength16','wasClean','pipe','extensionName','fin','acceptAsServer','ISocketService','Module','_mask','WS_ERR_INVALID_OPCODE','concurrency','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','toDisposable','kWasClean','port','listeners','decompress','IConfigService','_readableState','maxPayload','binary','warn','_protocol','_generateMask','_configService','rsv1','host','abort','forEach','headers','extensions','isPaused','location','_httpService','redirect','_decompress','Server\x20sent\x20an\x20invalid\x20subprotocol','allocUnsafe','OPEN','The\x20server\x20is\x20not\x20running','\x22\x20subprotocol\x20is\x20duplicated','offer','readUInt16BE','byteLength','_removeListeners','_totalPayloadLength','Injector','href','arraybuffer','_fragments','CLOSED','close','createError','socketPath','server_no_context_takeover','isValidUTF8','_extensions','_bufferedBytes','\x0d\x0a\x0d\x0a','_closeFrameSent','_fin','6623418QqGKBn','stream','_bufferedAmount','servername','map','kRun','HTTPService','connection','_closeCode','ws:','UniverCollaborationClientPlugin','authorization','indexOf','number','_closeFrameReceived','_masked','_readyState','https','readyState','ping','call','Opening\x20handshake\x20has\x20timed\x20out','Sec-WebSocket-Origin','hasOwnProperty','server','2250420aICdTJ','kByteLength','_fragmented','\x20(supported\x20versions:\x20','accept','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','shouldHandle','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','sec-websocket-origin','completeUpgrade','5bkQGjM','dequeue','arrayBuffer','permessage-deflate','defaultPort','type','RSV1\x20must\x20be\x20clear','default','getConfig','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','backlog','_threshold','mask','auth','destroy','test','client_no_context_takeover','noServer','isInteger','toLowerCase','normalizeParams','_deflate','_paused','sha1','code','removeAllListeners','invalid\x20UTF-8\x20sequence','parse','allowSynchronousEvents','953708LqaOBf','customHeaders','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','removeListener','concurrencyLimit','protocol','91MSGciF','autoPong','removeEventListener','isArray','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','keys','generateMask','WS_ERR_UNEXPECTED_RSV_1','shift','_maxPayload','write','hostname','_writableState','_no_context_takeover','ILogService','params','startLoop','sec-websocket-extensions','handleEvent','object','url','message','_write','toString','flush','_payloadLength','_url','_messageLength','_server','encrypted','CLOSING','NodeCollaborationSocketService','unmask','serverMaxWindowBits','next','invalid\x20payload\x20length\x20','__esModule','clients','terminate','The\x20URL\x20contains\x20a\x20fragment\x20identifier','uncork','server_max_window_bits','ISnapshotServerService','@univerjs-pro/collaboration','registerDependencies','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_loop','entries','_maskBuffer','sendFrame','statusCode','client','protocolVersion','nodebuffer','size','fragments','Disposable','pause','_errored','share','invalid\x20opcode\x20','writeUIntBE','env','controlMessage','_closeTimer','getPayloadLength64','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','zlibDeflateOptions','end','authorized','bind','getInfo','pong','Invalid\x20Sec-WebSocket-Accept\x20header','pathname','charCodeAt','destroyed','getMask','The\x20\x22','client_max_window_bits','_originalHostOrSocketPath','Sec-WebSocket-Protocol:\x20','exports','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_INVALID_CLOSE_CODE','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','freeze','_req','@univerjs/network','has','target','get','objectMode','_registerDependencies','_originalSecure','buffer','ws+unix:','needDrain','pow','resume','clientMaxWindowBits','origin','reset','listening','http:','dataMessage','from','setTimeout','_opcode','createConnection','Cookie','open','opcode','callback','conclude','alloc','createServer','setConfig','_sender','defineProperty','Invalid\x20Upgrade\x20header','_injector','jobs','find','blob','addEventListener','CONNECTING','_compress','push','getOwnPropertyDescriptor','acceptAsClient','digest','errorEmitted','pending','sec-websocket-key','readUInt32BE','@univerjs-pro/collaboration-client','WS_NO_BUFFER_UTIL','UniverCollaborationClientNodePlugin','update','compress','readOnly','endEmitted','sec-websocket-accept','_autoPong','_shouldEmitClose','Sec-WebSocket-Accept:\x20','GET','address','request','bufferedAmount','base64','335281hfOgCK','Upgrade:\x20websocket','enqueue','followRedirects','_read','setHeader','text/plain','prototype','createInflateRaw','websocket','\x22:\x20','unshift','cookie','send','_final','_redirects','connect','onmessage','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Z_DEFAULT_WINDOWBITS','http','then','createSocket','Invalid\x20WebSocket\x20frame:\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','_receiver','wss:','WS_ERR_EXPECTED_FIN','value','path','sec-websocket-protocol','username','@univerjs/core','split','kAborted','Unexpected\x20server\x20response:\x20','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','verifyClient','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','wsClientError','create','Upgrade','add','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','finish','toStringTag','cork','kReason','listen','Maximum\x20redirects\x20exceeded','Z_SYNC_FLUSH','handleProtocols','clientTracking','perMessageDeflate','_binaryType','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','constructor','captureStackTrace','data','_max_window_bits','length','_closeMessage','_inflate','invalid\x20status\x20code\x20','_queue','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','upgrade','delete','kIsForOnEventAttribute','_buffers','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','string','HTTP/1.1\x20101\x20Switching\x20Protocols','dispatch','zlib','nextTick','emitClose','createDeflateRaw','setSocket','3708ehVupc','getData','Sec-WebSocket-Extensions','threshold','concat','haveLength','WS_ERR_INVALID_UTF8','_firstFragment','binaryType','drain','setNoDelay','join','includes','_state','WebSocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Observable','function','set','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Unsupported\x20protocol\x20version:\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','format','password','handleUpgrade','_skipUTF8Validation','writeHead','_options','CollaborationSocketService','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','3224574HPdxOh','unexpected-response','frame','kType','_originalIpc','finishRequest','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','collaboration-client-node.config','reason','options','finished','writeUInt16BE','kListener','https:','Max\x20payload\x20size\x20exceeded','listenerCount','status-code','sec-websocket-version','consume','writable','FIN\x20must\x20be\x20set','socket','_errorEmitted','getBlobData'];_0x1654=function(){return _0x362759;};return _0x1654();}function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x54cea9}=oe;function _0x46a3c1(_0x48f897){const _0x279aae=_0x21f6;_0x48f897[_0x279aae(0x1e5)](_0x279aae(0x235));}function _0xdff1a8(){const _0x1d9903=_0x21f6;!this['destroyed']&&this[_0x1d9903(0x291)]['finished']&&this['destroy']();}function _0x166f66(_0x4b447a){const _0x15b91f=_0x21f6;this[_0x15b91f(0x282)](_0x15b91f(0x1fa),_0x166f66),this['destroy'](),this[_0x15b91f(0x399)]('error')===0x0&&this[_0x15b91f(0x1e5)](_0x15b91f(0x1fa),_0x4b447a);}function _0x36d652(_0xb1c17d,_0x284823){const _0x1cfa38=_0x21f6;let _0x1c0484=!0x0;const _0x1d90af=new _0x54cea9({..._0x284823,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xb1c17d['on'](_0x1cfa38(0x29a),function(_0x7cb4c4,_0x1c5e23){const _0x83b07=_0x1cfa38,_0x3f492a=!_0x1c5e23&&_0x1d90af[_0x83b07(0x214)][_0x83b07(0x2e1)]?_0x7cb4c4['toString']():_0x7cb4c4;_0x1d90af[_0x83b07(0x305)](_0x3f492a)||_0xb1c17d[_0x83b07(0x2be)]();}),_0xb1c17d[_0x1cfa38(0x1f5)]('error',function(_0x1a3bf2){const _0x37c4fa=_0x1cfa38;_0x1d90af[_0x37c4fa(0x2d1)]||(_0x1c0484=!0x1,_0x1d90af[_0x37c4fa(0x270)](_0x1a3bf2));}),_0xb1c17d['once'](_0x1cfa38(0x235),function(){_0x1d90af['destroyed']||_0x1d90af['push'](null);}),_0x1d90af['_destroy']=function(_0x23fddd,_0x59d34d){const _0x3873d5=_0x1cfa38;if(_0xb1c17d['readyState']===_0xb1c17d[_0x3873d5(0x234)]){_0x59d34d(_0x23fddd),process[_0x3873d5(0x368)](_0x46a3c1,_0x1d90af);return;}let _0x539a69=!0x1;_0xb1c17d[_0x3873d5(0x1f5)](_0x3873d5(0x1fa),function(_0x6eec9f){_0x539a69=!0x0,_0x59d34d(_0x6eec9f);}),_0xb1c17d[_0x3873d5(0x1f5)](_0x3873d5(0x235),function(){const _0x1ba402=_0x3873d5;_0x539a69||_0x59d34d(_0x23fddd),process[_0x1ba402(0x368)](_0x46a3c1,_0x1d90af);}),_0x1c0484&&_0xb1c17d[_0x3873d5(0x2ab)]();},_0x1d90af[_0x1cfa38(0x32b)]=function(_0x40ff79){const _0x3ee68d=_0x1cfa38;if(_0xb1c17d[_0x3ee68d(0x251)]===_0xb1c17d['CONNECTING']){_0xb1c17d[_0x3ee68d(0x1f5)](_0x3ee68d(0x2f4),function(){const _0x52e4b8=_0x3ee68d;_0x1d90af[_0x52e4b8(0x32b)](_0x40ff79);});return;}_0xb1c17d['_socket']!==null&&(_0xb1c17d[_0x3ee68d(0x200)]['_writableState'][_0x3ee68d(0x394)]?(_0x40ff79(),_0x1d90af[_0x3ee68d(0x214)][_0x3ee68d(0x313)]&&_0x1d90af[_0x3ee68d(0x270)]()):(_0xb1c17d[_0x3ee68d(0x200)][_0x3ee68d(0x1f5)](_0x3ee68d(0x349),function(){_0x40ff79();}),_0xb1c17d['close']()));},_0x1d90af[_0x1cfa38(0x321)]=function(){const _0x57cc68=_0x1cfa38;_0xb1c17d[_0x57cc68(0x221)]&&_0xb1c17d[_0x57cc68(0x2e8)]();},_0x1d90af[_0x1cfa38(0x29b)]=function(_0x229c51,_0x15216e,_0x2fba1e){const _0x4edeb4=_0x1cfa38;if(_0xb1c17d['readyState']===_0xb1c17d[_0x4edeb4(0x303)]){_0xb1c17d['once'](_0x4edeb4(0x2f4),function(){const _0xee5299=_0x4edeb4;_0x1d90af[_0xee5299(0x29b)](_0x229c51,_0x15216e,_0x2fba1e);});return;}_0xb1c17d['send'](_0x229c51,_0x2fba1e);},_0x1d90af['on'](_0x1cfa38(0x2c9),_0xdff1a8),_0x1d90af['on'](_0x1cfa38(0x1fa),_0x166f66),_0x1d90af;}return Oe=_0x36d652,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3cbd45}=ae();function _0x201d2e(_0x541e74){const _0x201359=_0x21f6,_0x235c0f=new Set();let _0x5c03c8=-0x1,_0x377cc8=-0x1,_0x118cb6=0x0;for(_0x118cb6;_0x118cb6<_0x541e74[_0x201359(0x359)];_0x118cb6++){const _0x53e39d=_0x541e74['charCodeAt'](_0x118cb6);if(_0x377cc8===-0x1&&_0x3cbd45[_0x53e39d]===0x1)_0x5c03c8===-0x1&&(_0x5c03c8=_0x118cb6);else{if(_0x118cb6!==0x0&&(_0x53e39d===0x20||_0x53e39d===0x9))_0x377cc8===-0x1&&_0x5c03c8!==-0x1&&(_0x377cc8=_0x118cb6);else{if(_0x53e39d===0x2c){if(_0x5c03c8===-0x1)throw new SyntaxError(_0x201359(0x1e3)+_0x118cb6);_0x377cc8===-0x1&&(_0x377cc8=_0x118cb6);const _0x56f074=_0x541e74[_0x201359(0x1e8)](_0x5c03c8,_0x377cc8);if(_0x235c0f[_0x201359(0x2de)](_0x56f074))throw new SyntaxError(_0x201359(0x2d3)+_0x56f074+_0x201359(0x22a));_0x235c0f[_0x201359(0x347)](_0x56f074),_0x5c03c8=_0x377cc8=-0x1;}else throw new SyntaxError(_0x201359(0x1e3)+_0x118cb6);}}}if(_0x5c03c8===-0x1||_0x377cc8!==-0x1)throw new SyntaxError(_0x201359(0x1f7));const _0x430012=_0x541e74[_0x201359(0x1e8)](_0x5c03c8,_0x118cb6);if(_0x235c0f[_0x201359(0x2de)](_0x430012))throw new SyntaxError(_0x201359(0x2d3)+_0x430012+_0x201359(0x22a));return _0x235c0f[_0x201359(0x347)](_0x430012),_0x235c0f;}return Ce={'parse':_0x201d2e},Ce;}var Te,rt;function Ft(){const _0x1ef858=_0x56526c;if(rt)return Te;rt=0x1;const _0x193bda=nt,_0x19bcb0=ot,{Duplex:_0x5622be}=oe,{createHash:_0x5be6b3}=Le,_0x990668=ct(),_0x3e9d2d=he(),_0x176eba=At(),_0x405981=Pe(),{GUID:_0x1da0e2,kWebSocket:_0x16e5b7}=H(),_0x193883=/^[+/0-9A-Za-z]{22}==$/,_0x2e697a=0x0,_0x52cb9a=0x1,_0x1e4b1f=0x2;class _0x4d0c23 extends _0x193bda{constructor(_0x132cd0,_0x4ee2d9){const _0x4a90b7=_0x21f6;if(super(),_0x132cd0={'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':_0x405981,..._0x132cd0},_0x132cd0[_0x4a90b7(0x210)]==null&&!_0x132cd0['server']&&!_0x132cd0[_0x4a90b7(0x273)]||_0x132cd0[_0x4a90b7(0x210)]!=null&&(_0x132cd0[_0x4a90b7(0x257)]||_0x132cd0['noServer'])||_0x132cd0[_0x4a90b7(0x257)]&&_0x132cd0[_0x4a90b7(0x273)])throw new TypeError(_0x4a90b7(0x37b));if(_0x132cd0[_0x4a90b7(0x210)]!=null?(this['_server']=_0x19bcb0[_0x4a90b7(0x2f9)]((_0x2b825f,_0x2f7492)=>{const _0x1a0384=_0x4a90b7,_0x2e0683=_0x19bcb0[_0x1a0384(0x3a6)][0x1aa];_0x2f7492[_0x1a0384(0x386)](0x1aa,{'Content-Length':_0x2e0683[_0x1a0384(0x359)],'Content-Type':_0x1a0384(0x323)}),_0x2f7492[_0x1a0384(0x2c9)](_0x2e0683);}),this['_server'][_0x4a90b7(0x34d)](_0x132cd0[_0x4a90b7(0x210)],_0x132cd0['host'],_0x132cd0[_0x4a90b7(0x26c)],_0x4ee2d9)):_0x132cd0['server']&&(this['_server']=_0x132cd0['server']),this[_0x4a90b7(0x2a1)]){const _0x3c7d93=this[_0x4a90b7(0x1e5)][_0x4a90b7(0x2cb)](this,_0x4a90b7(0x246));this[_0x4a90b7(0x22e)]=_0x4212d6(this['_server'],{'listening':this[_0x4a90b7(0x1e5)]['bind'](this,_0x4a90b7(0x2ec)),'error':this['emit'][_0x4a90b7(0x2cb)](this,'error'),'upgrade':(_0x4d0802,_0x40ce91,_0x433cae)=>{const _0x2e8ba2=_0x4a90b7;this[_0x2e8ba2(0x384)](_0x4d0802,_0x40ce91,_0x433cae,_0x3c7d93);}});}_0x132cd0['perMessageDeflate']===!0x0&&(_0x132cd0[_0x4a90b7(0x352)]={}),_0x132cd0[_0x4a90b7(0x351)]&&(this[_0x4a90b7(0x2aa)]=new Set(),this[_0x4a90b7(0x316)]=!0x1),this[_0x4a90b7(0x393)]=_0x132cd0,this[_0x4a90b7(0x379)]=_0x2e697a;}[_0x1ef858(0x319)](){const _0x3ede43=_0x1ef858;if(this[_0x3ede43(0x393)]['noServer'])throw new Error(_0x3ede43(0x381));return this[_0x3ede43(0x2a1)]?this[_0x3ede43(0x2a1)]['address']():null;}['close'](_0x1d9417){const _0x277976=_0x1ef858;if(this['_state']===_0x1e4b1f){_0x1d9417&&this[_0x277976(0x1f5)](_0x277976(0x235),()=>{const _0x364d1a=_0x277976;_0x1d9417(new Error(_0x364d1a(0x229)));}),process[_0x277976(0x368)](_0x35b48c,this);return;}if(_0x1d9417&&this[_0x277976(0x1f5)](_0x277976(0x235),_0x1d9417),this['_state']!==_0x52cb9a){if(this[_0x277976(0x379)]=_0x52cb9a,this['options'][_0x277976(0x273)]||this[_0x277976(0x393)]['server'])this['_server']&&(this[_0x277976(0x22e)](),this[_0x277976(0x22e)]=this[_0x277976(0x2a1)]=null),this[_0x277976(0x2aa)]?this[_0x277976(0x2aa)][_0x277976(0x2bb)]?this[_0x277976(0x316)]=!0x0:process[_0x277976(0x368)](_0x35b48c,this):process[_0x277976(0x368)](_0x35b48c,this);else{const _0x2aaee5=this[_0x277976(0x2a1)];this['_removeListeners'](),this[_0x277976(0x22e)]=this[_0x277976(0x2a1)]=null,_0x2aaee5['close'](()=>{_0x35b48c(this);});}}}[_0x1ef858(0x25e)](_0x5028f0){const _0x3cdd6a=_0x1ef858;if(this[_0x3cdd6a(0x393)][_0x3cdd6a(0x33a)]){const _0x375e73=_0x5028f0['url'][_0x3cdd6a(0x24b)]('?');if((_0x375e73!==-0x1?_0x5028f0[_0x3cdd6a(0x299)][_0x3cdd6a(0x1e8)](0x0,_0x375e73):_0x5028f0[_0x3cdd6a(0x299)])!==this[_0x3cdd6a(0x393)]['path'])return!0x1;}return!0x0;}[_0x1ef858(0x384)](_0x2ede85,_0x1769ec,_0x5731ce,_0x586251){const _0x270703=_0x1ef858;_0x1769ec['on'](_0x270703(0x1fa),_0x58596d);const _0x492daf=_0x2ede85['headers'][_0x270703(0x30b)],_0x4886d1=_0x2ede85['headers'][_0x270703(0x35f)],_0x41fbbe=+_0x2ede85[_0x270703(0x21f)][_0x270703(0x39b)];if(_0x2ede85['method']!==_0x270703(0x318)){_0x10e9f5(this,_0x2ede85,_0x1769ec,0x195,_0x270703(0x1fd));return;}if(_0x4886d1===void 0x0||_0x4886d1['toLowerCase']()!=='websocket'){_0x10e9f5(this,_0x2ede85,_0x1769ec,0x190,_0x270703(0x2fd));return;}if(_0x492daf===void 0x0||!_0x193883[_0x270703(0x271)](_0x492daf)){_0x10e9f5(this,_0x2ede85,_0x1769ec,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x41fbbe!==0x8&&_0x41fbbe!==0xd){_0x10e9f5(this,_0x2ede85,_0x1769ec,0x190,_0x270703(0x25d));return;}if(!this['shouldHandle'](_0x2ede85)){_0xe601bf(_0x1769ec,0x190);return;}const _0x41196a=_0x2ede85['headers'][_0x270703(0x33b)];let _0x12f9a9=new Set();if(_0x41196a!==void 0x0)try{_0x12f9a9=_0x176eba[_0x270703(0x27d)](_0x41196a);}catch{_0x10e9f5(this,_0x2ede85,_0x1769ec,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x200012=_0x2ede85[_0x270703(0x21f)][_0x270703(0x296)],_0x15192f={};if(this[_0x270703(0x393)][_0x270703(0x352)]&&_0x200012!==void 0x0){const _0x18bf3c=new _0x3e9d2d(this['options']['perMessageDeflate'],!0x0,this['options'][_0x270703(0x215)]);try{const _0x51edf3=_0x990668['parse'](_0x200012);_0x51edf3[_0x3e9d2d['extensionName']]&&(_0x18bf3c[_0x270703(0x25c)](_0x51edf3[_0x3e9d2d[_0x270703(0x205)]]),_0x15192f[_0x3e9d2d[_0x270703(0x205)]]=_0x18bf3c);}catch{_0x10e9f5(this,_0x2ede85,_0x1769ec,0x190,_0x270703(0x341));return;}}if(this[_0x270703(0x393)]['verifyClient']){const _0x273e1b={'origin':_0x2ede85['headers'][''+(_0x41fbbe===0x8?_0x270703(0x260):_0x270703(0x2ea))],'secure':!!(_0x2ede85[_0x270703(0x39f)][_0x270703(0x2ca)]||_0x2ede85[_0x270703(0x39f)][_0x270703(0x2a2)]),'req':_0x2ede85};if(this[_0x270703(0x393)][_0x270703(0x342)]['length']===0x2){this[_0x270703(0x393)][_0x270703(0x342)](_0x273e1b,(_0x43d5f6,_0x587b7d,_0x4908f2,_0x4ca679)=>{if(!_0x43d5f6)return _0xe601bf(_0x1769ec,_0x587b7d||0x191,_0x4908f2,_0x4ca679);this['completeUpgrade'](_0x15192f,_0x492daf,_0x12f9a9,_0x2ede85,_0x1769ec,_0x5731ce,_0x586251);});return;}if(!this[_0x270703(0x393)][_0x270703(0x342)](_0x273e1b))return _0xe601bf(_0x1769ec,0x191);}this['completeUpgrade'](_0x15192f,_0x492daf,_0x12f9a9,_0x2ede85,_0x1769ec,_0x5731ce,_0x586251);}[_0x1ef858(0x261)](_0x51c8c9,_0x13b4e9,_0x3c753c,_0x1519d9,_0xab181d,_0x2a5364,_0x5b22f5){const _0x1c48d3=_0x1ef858;if(!_0xab181d['readable']||!_0xab181d[_0x1c48d3(0x39d)])return _0xab181d['destroy']();if(_0xab181d[_0x16e5b7])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x2e697a)return _0xe601bf(_0xab181d,0x1f7);const _0xbbdbbd=[_0x1c48d3(0x365),_0x1c48d3(0x31e),_0x1c48d3(0x1f2),_0x1c48d3(0x317)+_0x5be6b3(_0x1c48d3(0x279))[_0x1c48d3(0x310)](_0x13b4e9+_0x1da0e2)[_0x1c48d3(0x308)]('base64')],_0x1945cc=new this[(_0x1c48d3(0x393))][(_0x1c48d3(0x37a))](null,void 0x0,this['options']);if(_0x3c753c['size']){const _0x46259b=this['options'][_0x1c48d3(0x350)]?this['options'][_0x1c48d3(0x350)](_0x3c753c,_0x1519d9):_0x3c753c[_0x1c48d3(0x1ec)]()[_0x1c48d3(0x2a7)]()[_0x1c48d3(0x339)];_0x46259b&&(_0xbbdbbd[_0x1c48d3(0x305)](_0x1c48d3(0x2d6)+_0x46259b),_0x1945cc[_0x1c48d3(0x218)]=_0x46259b);}if(_0x51c8c9[_0x3e9d2d[_0x1c48d3(0x205)]]){const _0x5743c7=_0x51c8c9[_0x3e9d2d[_0x1c48d3(0x205)]][_0x1c48d3(0x294)],_0x74dd2b=_0x990668[_0x1c48d3(0x382)]({[_0x3e9d2d[_0x1c48d3(0x205)]]:[_0x5743c7]});_0xbbdbbd[_0x1c48d3(0x305)]('Sec-WebSocket-Extensions:\x20'+_0x74dd2b),_0x1945cc[_0x1c48d3(0x23a)]=_0x51c8c9;}this[_0x1c48d3(0x1e5)]('headers',_0xbbdbbd,_0x1519d9),_0xab181d[_0x1c48d3(0x28f)](_0xbbdbbd[_0x1c48d3(0x370)]('\x0d\x0a')['join']('\x0d\x0a')),_0xab181d[_0x1c48d3(0x282)]('error',_0x58596d),_0x1945cc[_0x1c48d3(0x36b)](_0xab181d,_0x2a5364,{'allowSynchronousEvents':this[_0x1c48d3(0x393)][_0x1c48d3(0x27e)],'maxPayload':this[_0x1c48d3(0x393)][_0x1c48d3(0x215)],'skipUTF8Validation':this['options'][_0x1c48d3(0x1f9)]}),this['clients']&&(this[_0x1c48d3(0x2aa)][_0x1c48d3(0x347)](_0x1945cc),_0x1945cc['on'](_0x1c48d3(0x235),()=>{const _0x1d6a35=_0x1c48d3;this[_0x1d6a35(0x2aa)][_0x1d6a35(0x360)](_0x1945cc),this[_0x1d6a35(0x316)]&&!this[_0x1d6a35(0x2aa)][_0x1d6a35(0x2bb)]&&process[_0x1d6a35(0x368)](_0x35b48c,this);})),_0x5b22f5(_0x1945cc,_0x1519d9);}}Te=_0x4d0c23;function _0x4212d6(_0x6f1c56,_0xcf7502){for(const _0x3def9c of Object['keys'](_0xcf7502))_0x6f1c56['on'](_0x3def9c,_0xcf7502[_0x3def9c]);return function(){const _0x16bfee=_0x21f6;for(const _0x3ce2ef of Object[_0x16bfee(0x28a)](_0xcf7502))_0x6f1c56['removeListener'](_0x3ce2ef,_0xcf7502[_0x3ce2ef]);};}function _0x35b48c(_0x2165e1){const _0x15a4de=_0x1ef858;_0x2165e1[_0x15a4de(0x379)]=_0x1e4b1f,_0x2165e1[_0x15a4de(0x1e5)]('close');}function _0x58596d(){const _0x4a9421=_0x1ef858;this[_0x4a9421(0x270)]();}function _0xe601bf(_0x4c421c,_0x54e069,_0x1d4450,_0x584941){const _0x49dc4c=_0x1ef858;_0x1d4450=_0x1d4450||_0x19bcb0[_0x49dc4c(0x3a6)][_0x54e069],_0x584941={'Connection':_0x49dc4c(0x235),'Content-Type':'text/html','Content-Length':Buffer[_0x49dc4c(0x22d)](_0x1d4450),..._0x584941},_0x4c421c[_0x49dc4c(0x1f5)](_0x49dc4c(0x349),_0x4c421c['destroy']),_0x4c421c[_0x49dc4c(0x2c9)](_0x49dc4c(0x201)+_0x54e069+'\x20'+_0x19bcb0[_0x49dc4c(0x3a6)][_0x54e069]+'\x0d\x0a'+Object['keys'](_0x584941)[_0x49dc4c(0x243)](_0x33622a=>_0x33622a+':\x20'+_0x584941[_0x33622a])[_0x49dc4c(0x377)]('\x0d\x0a')+_0x49dc4c(0x23c)+_0x1d4450);}function _0x10e9f5(_0x2d5bbd,_0xd2bdec,_0x1ca9d7,_0xec58ff,_0x193585){const _0x4da06f=_0x1ef858;if(_0x2d5bbd['listenerCount'](_0x4da06f(0x344))){const _0x16e6a1=new Error(_0x193585);Error[_0x4da06f(0x356)](_0x16e6a1,_0x10e9f5),_0x2d5bbd[_0x4da06f(0x1e5)](_0x4da06f(0x344),_0x16e6a1,_0x1ca9d7,_0xd2bdec);}else _0xe601bf(_0x1ca9d7,_0xec58ff,_0x193585);}return Te;}Ft();var jt=Object[_0x56526c(0x306)],Wt=(_0x1020d5,_0x2e079e,_0x15a27a,_0x16ee62)=>{const _0x420a77=_0x56526c;for(var _0x39a552=_0x16ee62>0x1?void 0x0:_0x16ee62?jt(_0x2e079e,_0x15a27a):_0x2e079e,_0x34ccbc=_0x1020d5[_0x420a77(0x359)]-0x1,_0x4f04fd;_0x34ccbc>=0x0;_0x34ccbc--)(_0x4f04fd=_0x1020d5[_0x34ccbc])&&(_0x39a552=_0x4f04fd(_0x39a552)||_0x39a552);return _0x39a552;},qt=(_0x298c5d,_0x2e8eec)=>(_0x55df5a,_0x24ec69)=>_0x2e8eec(_0x55df5a,_0x24ec69,_0x298c5d);let ke=class extends A[_0x56526c(0x2bd)]{constructor(_0x2838eb){const _0x5ce85b=_0x56526c;super(),this[_0x5ce85b(0x21a)]=_0x2838eb;}[_0x56526c(0x333)](_0x37d98e){const _0x21c13b=_0x56526c;var _0x54b620;const _0x52ef80=(_0x54b620=this[_0x21c13b(0x21a)][_0x21c13b(0x26a)](fe))==null?void 0x0:_0x54b620[_0x21c13b(0x280)];try{const _0xa290b5=new $t(_0x37d98e,{'headers':{..._0x52ef80}}),_0x5f3117=new A[(_0x21c13b(0x3a5))]();return{'URL':_0x37d98e,'close':(_0x468cb9,_0x10c06c)=>{const _0x1f60cc=_0x21c13b;_0xa290b5[_0x1f60cc(0x235)](_0x468cb9,_0x10c06c),_0x5f3117['dispose']();},'send':_0x55e267=>{const _0x8a5a86=_0x21c13b;_0xa290b5[_0x8a5a86(0x32a)](_0x55e267);},'open$':new V[(_0x21c13b(0x37c))](_0x4e8c5f=>{const _0x6e1621=_0x21c13b,_0x109c61=_0x442479=>_0x4e8c5f[_0x6e1621(0x2a7)](_0x442479);_0xa290b5[_0x6e1621(0x302)](_0x6e1621(0x2f4),_0x109c61),_0x5f3117['add'](A['toDisposable'](()=>_0xa290b5[_0x6e1621(0x287)](_0x6e1621(0x2f4),_0x109c61)));})[_0x21c13b(0x204)](V[_0x21c13b(0x2c0)]()),'close$':new V[(_0x21c13b(0x37c))](_0x2856dc=>{const _0x566484=_0x21c13b,_0x1b4042=_0x395ce6=>_0x2856dc['next'](_0x395ce6);_0xa290b5['addEventListener'](_0x566484(0x235),_0x1b4042),_0x5f3117[_0x566484(0x347)](A[_0x566484(0x20e)](()=>_0xa290b5[_0x566484(0x287)](_0x566484(0x235),_0x1b4042)));})[_0x21c13b(0x204)](V['share']()),'error$':new V['Observable'](_0x3925b2=>{const _0x50abdb=_0x21c13b,_0x283d8a=_0x316474=>_0x3925b2[_0x50abdb(0x2a7)](_0x316474);_0xa290b5[_0x50abdb(0x302)](_0x50abdb(0x1fa),_0x283d8a),_0x5f3117['add'](A['toDisposable'](()=>_0xa290b5[_0x50abdb(0x287)]('error',_0x283d8a)));})['pipe'](V[_0x21c13b(0x2c0)]()),'message$':new V[(_0x21c13b(0x37c))](_0x3af944=>{const _0x277bdc=_0x21c13b,_0x13f15a=_0x5dbaaa=>_0x3af944[_0x277bdc(0x2a7)](_0x5dbaaa);_0xa290b5[_0x277bdc(0x302)]('message',_0x13f15a),_0x5f3117[_0x277bdc(0x347)](A[_0x277bdc(0x20e)](()=>_0xa290b5[_0x277bdc(0x287)](_0x277bdc(0x29a),_0x13f15a)));})[_0x21c13b(0x204)](V['share']())};}catch(_0x14c9f0){return console[_0x21c13b(0x1fa)](_0x14c9f0),null;}}};ke=Wt([qt(0x0,A[_0x56526c(0x213)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x56526c(0x306)],Ht=(_0x3abe57,_0xfa20e2,_0x22e32e)=>_0xfa20e2 in _0x3abe57?Gt(_0x3abe57,_0xfa20e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22e32e}):_0x3abe57[_0xfa20e2]=_0x22e32e,zt=(_0x433cb9,_0x1bd483,_0x3e5c4d,_0x497f8c)=>{const _0x6e76cc=_0x56526c;for(var _0x27ed9=_0x497f8c>0x1?void 0x0:_0x497f8c?Vt(_0x1bd483,_0x3e5c4d):_0x1bd483,_0x2b7640=_0x433cb9[_0x6e76cc(0x359)]-0x1,_0x505b73;_0x2b7640>=0x0;_0x2b7640--)(_0x505b73=_0x433cb9[_0x2b7640])&&(_0x27ed9=_0x505b73(_0x27ed9)||_0x27ed9);return _0x27ed9;},Ne=(_0xb4eb0d,_0x5567)=>(_0x220e24,_0x32f60b)=>_0x5567(_0x220e24,_0x32f60b,_0xb4eb0d),Yt=(_0x4675f1,_0x53f070,_0x14119b)=>Ht(_0x4675f1,_0x53f070+'',_0x14119b);exports[_0x56526c(0x30f)]=class extends A[_0x56526c(0x1e7)]{constructor(_0x26f8e0=Ct,_0x2c94d6,_0x1a64df,_0x12e946){const _0x51ea01=_0x56526c;_0x26f8e0[_0x51ea01(0x280)]||_0x2c94d6[_0x51ea01(0x217)](_0x51ea01(0x32f)),super(),this['_configService']=_0x1a64df,this[_0x51ea01(0x2fe)]=_0x12e946,this[_0x51ea01(0x21a)][_0x51ea01(0x2fa)](fe,_0x26f8e0);}[_0x56526c(0x1ef)](){this['_registerDependencies']();}[_0x56526c(0x2e2)](){const _0x4d5e42=_0x56526c;A[_0x4d5e42(0x2b1)](this[_0x4d5e42(0x2fe)],[[it[_0x4d5e42(0x208)],{'useClass':ke}]]);}},Yt(exports[_0x56526c(0x30f)],'pluginName',_0x56526c(0x343)),exports[_0x56526c(0x30f)]=zt([A['DependentOn'](st[_0x56526c(0x249)]),Ne(0x1,A[_0x56526c(0x293)]),Ne(0x2,A[_0x56526c(0x213)]),Ne(0x3,A[_0x56526c(0x1ee)](A[_0x56526c(0x230)]))],exports[_0x56526c(0x30f)]);var Kt=Object[_0x56526c(0x306)],Xt=(_0x27206b,_0x20a281,_0x3d8060,_0x30f6aa)=>{const _0x31fb1d=_0x56526c;for(var _0x2f855c=_0x30f6aa>0x1?void 0x0:_0x30f6aa?Kt(_0x20a281,_0x3d8060):_0x20a281,_0x5a0664=_0x27206b[_0x31fb1d(0x359)]-0x1,_0xe6b6c6;_0x5a0664>=0x0;_0x5a0664--)(_0xe6b6c6=_0x27206b[_0x5a0664])&&(_0x2f855c=_0xe6b6c6(_0x2f855c)||_0x2f855c);return _0x2f855c;},ne=(_0x517089,_0xc39888)=>(_0x1c8362,_0x197ccc)=>_0xc39888(_0x1c8362,_0x197ccc,_0x517089);exports[_0x56526c(0x2a4)]=class extends st[_0x56526c(0x388)]{constructor(_0x147388,_0x2b995a,_0x534d6d,_0x10c0e1,_0x4d8a07){const _0x4d8d55=_0x56526c;super(_0x147388,_0x2b995a,_0x534d6d,_0x10c0e1,_0x4d8a07);const _0x5ba3d9=this[_0x4d8d55(0x21a)]['getConfig'](fe);this[_0x4d8d55(0x223)]['registerHTTPInterceptor']({'interceptor':(_0x46a731,_0x330652)=>{const _0x14519c=_0x4d8d55;var _0x3b8461;const _0x477253=_0x46a731[_0x14519c(0x21f)];return(_0x3b8461=_0x5ba3d9==null?void 0x0:_0x5ba3d9[_0x14519c(0x280)])!=null&&_0x3b8461['cookie']&&_0x477253[_0x14519c(0x37e)](_0x14519c(0x2f3),_0x5ba3d9['customHeaders'][_0x14519c(0x329)]),_0x330652(_0x46a731);}});}async[_0x56526c(0x333)](_0x293b66){const _0x13e5c4=_0x56526c;return this[_0x13e5c4(0x1ea)](_0x293b66);}},exports[_0x56526c(0x2a4)]=Xt([ne(0x0,A['Inject'](A[_0x56526c(0x230)])),ne(0x1,A[_0x56526c(0x1ee)](it[_0x56526c(0x245)])),ne(0x2,A[_0x56526c(0x213)]),ne(0x3,A[_0x56526c(0x293)]),ne(0x4,Ot[_0x56526c(0x2af)])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|
|
1
|
+
'use strict';const _0x4a8b65=_0x5911;(function(_0x59494e,_0x1777f2){const _0x49adaf=_0x5911,_0x189704=_0x59494e();while(!![]){try{const _0x110a60=parseInt(_0x49adaf(0x234))/0x1+-parseInt(_0x49adaf(0x11d))/0x2+parseInt(_0x49adaf(0x183))/0x3+-parseInt(_0x49adaf(0x1c5))/0x4*(-parseInt(_0x49adaf(0x1b4))/0x5)+parseInt(_0x49adaf(0x10a))/0x6*(parseInt(_0x49adaf(0x192))/0x7)+parseInt(_0x49adaf(0x190))/0x8+-parseInt(_0x49adaf(0x262))/0x9*(parseInt(_0x49adaf(0x1f2))/0xa);if(_0x110a60===_0x1777f2)break;else _0x189704['push'](_0x189704['shift']());}catch(_0x44eba5){_0x189704['push'](_0x189704['shift']());}}}(_0x391c,0x98966));Object[_0x4a8b65(0xe1)](exports,Symbol['toStringTag'],{'value':_0x4a8b65(0x18a)});function _0x391c(){const _0x22cc71=['Sec-WebSocket-Extensions:\x20','perMessageDeflate','pathname','_bufferedBytes','send','message','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','encrypted','join','addEventListener','base64','map','_queue','WebSocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','createError','toString','open','keys','Plugin','setHeader','FIN\x20must\x20be\x20set','reset','setConfig','rxjs','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','object','Invalid\x20Upgrade\x20header','url','compress','\x22:\x20','_binaryType','_opcode','_readyState','protocolVersion','_originalIpc','apply','pending','timeout','kListener','terminate','CONNECTING','events','@univerjs-pro/collaboration-client','shift','sendFrame','invalid\x20UTF-8\x20sequence','MASK\x20must\x20be\x20clear','_generateMask','The\x20URL\x27s\x20pathname\x20is\x20empty','_errored','sec-websocket-accept','extensions','flush','Unknown\x20parameter\x20\x22','extensionName','statusCode','_configService','values','maxRedirects','completeUpgrade','_max_window_bits','handleUpgrade','_sender','Sec-WebSocket-Accept:\x20','_readableState','ping','toDisposable','function','Invalid\x20URL:\x20','onmessage','WS_ERR_EXPECTED_FIN','next','zlibInflateOptions','emitClose','split','748086yeJqvZ','_protocol','WS_ERR_UNEXPECTED_RSV_1','CLOSING','getData','concurrency','_loop','Module','toStringTag','Invalid\x20HTTP\x20method','params','haveLength','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','5725856RaNofA','authorization','3285877IjnLjs','isBuffer','path','readUInt32BE','_maskBuffer','autoPong','WS_ERR_INVALID_OPCODE','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','emit','text/plain','add','endEmitted','HTTP/1.1\x20','_originalSecure','onopen','_injector','sha1','_totalPayloadLength','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_write','_registerDependencies','writeUInt16BE','_payloadLength','captureStackTrace','Invalid\x20Sec-WebSocket-Extensions\x20header','setTimeout','customHeaders','isArray','nextTick','pipe','dispatch','target','followRedirects','handshakeTimeout','470VvqnQD','text/html','method','_destroy','setSocket','client_no_context_takeover','ISnapshotServerService','\x20(supported\x20versions:\x20','search','unshift','protocol','_state','cleanup','from','size','getPayloadLength64','destroy','11836bTKYfM','Blob','headers','number','UniverCollaborationClientNodePlugin','ws+unix:','allowSynchronousEvents','Sec-WebSocket-Protocol:\x20','invalid\x20opcode\x20','isIP','Unexpected\x20server\x20response:\x20','sec-websocket-key','_decompress','string','dispose','server','jobs','species','kRun','@univerjs/network','removeListener','_compress','arrayBuffer','env','status-code','MASK\x20must\x20be\x20set','_closeCode','readable','arraybuffer','readyState','Z_DEFAULT_WINDOWBITS','digest','net','abort','tls','startLoop','pluginName','removeEventListener','exports','writeUIntBE','kIsForOnEventAttribute','buffers','_firstFragment','_doCreateSocket','concat','675230VCtonc','fin','kType','length','_fin','kDone','_isServer','getInfo','_shouldEmitClose','offer','startsWith','delete','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Upgrade:\x20websocket','enqueue','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_url','WS_ERR_UNEXPECTED_MASK','collaboration-client-node.config','destroyed','hostname','getMask','defaultPort','hasOwnProperty','wasClean','_receiver','dataMessage','CLOSED','accept','Injector','_buffers','redirect','freeze','total-length','client','opcode','wsClientError','_masked','clients','options','_errorEmitted','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','getPayloadLength16','read','type','binaryType','upgrade','auth','_fragments','invalid\x20payload\x20length\x20','Max\x20payload\x20size\x20exceeded','error','sec-websocket-extensions','maskBuffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','File','_socket','acceptAsServer','decompress','_closeMessage','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','concurrencyLimit','Sec-WebSocket-Origin','NodeCollaborationSocketService','220984PRUccN','_fragmented','generateMask','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','share','callback','_server','ILogService','address','constructor','password','onclose','allocUnsafe','_options','_final','readUInt16BE','kTarget','pause','kAborted','noServer','parse','pow','client_max_window_bits','normalizeParams','finished','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','skipUTF8Validation','wss:','Basic\x20','UniverCollaborationClientPlugin','HTTPService','_closeFrameSent','serverNoContextTakeover','STATUS_CODES','_deflate','handleProtocols','writeHead','call','setNoDelay','listenerCount','WS_NO_UTF_8_VALIDATE','_compressed','createInflateRaw','_req','servername','Sec-WebSocket-Extensions','63gqrhuQ','location','ISocketService','cookie','Observable','buffer','objectMode','_closeTimer','server_no_context_takeover','Server\x20sent\x20no\x20subprotocol','replace','readOnly','_redirects','byteOffset','https','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Z_SYNC_FLUSH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','construct','warn','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','finish','Unexpected\x20end\x20of\x20input','writable','\x0d\x0a\x0d\x0a','dequeue','verifyClient','errorEmitted','_allowSynchronousEvents','kByteLength','OPEN','blob','includes','WS_ERR_INVALID_UTF8','nodebuffer','createServer','_mask','zlibDeflateOptions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','getOwnPropertyDescriptor','sec-websocket-version','crypto','https:','Server\x20sent\x20an\x20invalid\x20subprotocol','_autoPong','consume','write','username','response','set','http:','The\x20URL\x20contains\x20a\x20fragment\x20identifier','server_max_window_bits','pong','maxPayload','end','origin','entries','sec-websocket-origin','prototype','Cookie','socket','onerror','getBlobData','listeners','charCodeAt','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','__esModule','has','bufferedAmount','Inject','reason','serverMaxWindowBits','_originalHostOrSocketPath','defineProperty','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','createSocket','\x22\x20subprotocol\x20is\x20duplicated','mask','close','create','kMessage','controlMessage','data','resume','Invalid\x20Sec-WebSocket-Protocol\x20header','kReason','alloc','@univerjs/core','_removeListeners','Origin','test','get','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Invalid\x20Sec-WebSocket-Accept\x20header','fragments','registerHTTPInterceptor','listening','isValidUTF8','connect','acceptAsClient','bind','Invalid\x20WebSocket\x20frame:\x20','format','once','isInteger','websocket','_no_context_takeover','IConfigService','isPaused','indexOf','_inflate','ws:','The\x20\x22','forEach','6jUOTlu','frame','_paused','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','unmask','default','isServer','The\x20server\x20is\x20not\x20running','socketPath','Sec-WebSocket-Protocol','connection','kCode','binary','host','GET','permessage-deflate','kError','shouldHandle','_messageLength','1671952sWbpko','_bufferedAmount','_maxPayload','Invalid\x20value\x20for\x20parameter\x20\x22','port','handleEvent','stream','toLowerCase','Unexpected\x20character\x20at\x20index\x20','conclude','push','_closeFrameReceived','_writableState','_threshold','update','Parameter\x20\x22','clientMaxWindowBits','slice','clientNoContextTakeover','DependentOn','code','byteLength','authorized','request','Connection:\x20Upgrade','_extensions'];_0x391c=function(){return _0x22cc71;};return _0x391c();}const st=require(_0x4a8b65(0x162)),A=require(_0x4a8b65(0xef)),it=require(_0x4a8b65(0x1d8)),V=require(_0x4a8b65(0x14f)),nt=require(_0x4a8b65(0x161)),vt=require(_0x4a8b65(0x270)),ot=require('http'),St=require(_0x4a8b65(0x1e5)),Et=require(_0x4a8b65(0x1e7)),Le=require(_0x4a8b65(0xc0)),oe=require('stream'),xt=require(_0x4a8b65(0x153)),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4a8b65(0x206),Ct={'customHeaders':{}};function Tt(_0x13a65b){const _0x1cbf65=_0x4a8b65;return _0x13a65b&&_0x13a65b['__esModule']&&Object['prototype'][_0x1cbf65(0x20b)]['call'](_0x13a65b,'default')?_0x13a65b[_0x1cbf65(0x10f)]:_0x13a65b;}function at(_0x240caf){const _0xa6ed87=_0x4a8b65;if(Object[_0xa6ed87(0xd2)][_0xa6ed87(0x20b)][_0xa6ed87(0x259)](_0x240caf,_0xa6ed87(0xda)))return _0x240caf;var _0x38f16e=_0x240caf['default'];if(typeof _0x38f16e==_0xa6ed87(0x17b)){var _0xdfc9f7=function _0x2d5f0f(){const _0xf84f5e=_0xa6ed87;return this instanceof _0x2d5f0f?Reflect[_0xf84f5e(0x274)](_0x38f16e,arguments,this[_0xf84f5e(0x23d)]):_0x38f16e[_0xf84f5e(0x15b)](this,arguments);};_0xdfc9f7[_0xa6ed87(0xd2)]=_0x38f16e[_0xa6ed87(0xd2)];}else _0xdfc9f7={};return Object[_0xa6ed87(0xe1)](_0xdfc9f7,'__esModule',{'value':!0x0}),Object[_0xa6ed87(0x149)](_0x240caf)[_0xa6ed87(0x109)](function(_0xa9aeaa){const _0x36e17c=_0xa6ed87;var _0x323381=Object[_0x36e17c(0xbe)](_0x240caf,_0xa9aeaa);Object['defineProperty'](_0xdfc9f7,_0xa9aeaa,_0x323381[_0x36e17c(0xf3)]?_0x323381:{'enumerable':!0x0,'get':function(){return _0x240caf[_0xa9aeaa];}});}),_0xdfc9f7;}var se={'exports':{}},ge,Ge;function H(){const _0x57c246=_0x4a8b65;if(Ge)return ge;Ge=0x1;const _0x9f6ae0=[_0x57c246(0x284),'arraybuffer',_0x57c246(0xf6)],_0x2b71b7=typeof Blob<'u';return _0x2b71b7&&_0x9f6ae0[_0x57c246(0x127)](_0x57c246(0x281)),ge={'BINARY_TYPES':_0x9f6ae0,'EMPTY_BUFFER':Buffer[_0x57c246(0xee)](0x0),'GUID':_0x57c246(0x237),'hasBlob':_0x2b71b7,'kForOnEventAttribute':Symbol(_0x57c246(0x1ed)),'kListener':Symbol(_0x57c246(0x15e)),'kStatusCode':Symbol(_0x57c246(0x1dd)),'kWebSocket':Symbol(_0x57c246(0x101)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4a8b65(0x214)](Object[_0x4a8b65(0xe1)]({'__proto__':null,'default':Nt},Symbol[_0x4a8b65(0x18b)],{'value':_0x4a8b65(0x18a)})),Lt=at(kt);var Ve;function ce(){const _0x21ef11=_0x4a8b65;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x54a8e8}=H(),_0x28397e=Buffer[Symbol['species']];function _0x37bf69(_0x7da736,_0x144fe5){const _0x1bf34f=_0x5911;if(_0x7da736[_0x1bf34f(0x1f5)]===0x0)return _0x54a8e8;if(_0x7da736[_0x1bf34f(0x1f5)]===0x1)return _0x7da736[0x0];const _0x35ee71=Buffer[_0x1bf34f(0x240)](_0x144fe5);let _0x3b6b81=0x0;for(let _0x3c4970=0x0;_0x3c4970<_0x7da736[_0x1bf34f(0x1f5)];_0x3c4970++){const _0x1f874c=_0x7da736[_0x3c4970];_0x35ee71['set'](_0x1f874c,_0x3b6b81),_0x3b6b81+=_0x1f874c[_0x1bf34f(0x1f5)];}return _0x3b6b81<_0x144fe5?new _0x28397e(_0x35ee71[_0x1bf34f(0x267)],_0x35ee71[_0x1bf34f(0x26f)],_0x3b6b81):_0x35ee71;}function _0x5d1330(_0x28b578,_0x219b61,_0x2aa091,_0x3cb9c8,_0x44bd3e){for(let _0x50e51d=0x0;_0x50e51d<_0x44bd3e;_0x50e51d++)_0x2aa091[_0x3cb9c8+_0x50e51d]=_0x28b578[_0x50e51d]^_0x219b61[_0x50e51d&0x3];}function _0x2ccde5(_0x56f82f,_0x5862fb){for(let _0x36a43f=0x0;_0x36a43f<_0x56f82f['length'];_0x36a43f++)_0x56f82f[_0x36a43f]^=_0x5862fb[_0x36a43f&0x3];}function _0x3394dc(_0x241185){const _0x161cb6=_0x5911;return _0x241185['length']===_0x241185[_0x161cb6(0x267)]['byteLength']?_0x241185[_0x161cb6(0x267)]:_0x241185[_0x161cb6(0x267)][_0x161cb6(0x12e)](_0x241185[_0x161cb6(0x26f)],_0x241185[_0x161cb6(0x26f)]+_0x241185[_0x161cb6(0x1f5)]);}function _0x56a060(_0x45fe52){const _0x3a70bc=_0x5911;if(_0x56a060[_0x3a70bc(0x26d)]=!0x0,Buffer[_0x3a70bc(0x193)](_0x45fe52))return _0x45fe52;let _0x3389f2;return _0x45fe52 instanceof ArrayBuffer?_0x3389f2=new _0x28397e(_0x45fe52):ArrayBuffer['isView'](_0x45fe52)?_0x3389f2=new _0x28397e(_0x45fe52[_0x3a70bc(0x267)],_0x45fe52[_0x3a70bc(0x26f)],_0x45fe52[_0x3a70bc(0x132)]):(_0x3389f2=Buffer['from'](_0x45fe52),_0x56a060[_0x3a70bc(0x26d)]=!0x1),_0x3389f2;}if(se['exports']={'concat':_0x37bf69,'mask':_0x5d1330,'toArrayBuffer':_0x3394dc,'toBuffer':_0x56a060,'unmask':_0x2ccde5},!process[_0x21ef11(0x1dc)]['WS_NO_BUFFER_UTIL'])try{const _0x3241b3=Lt;se[_0x21ef11(0x1eb)]['mask']=function(_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a){const _0x111ee5=_0x21ef11;_0x28b83a<0x30?_0x5d1330(_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a):_0x3241b3[_0x111ee5(0xe5)](_0x32bfc7,_0x1226fb,_0x555dc8,_0x2fa73c,_0x28b83a);},se['exports'][_0x21ef11(0x10e)]=function(_0x1043e8,_0x3b01c9){const _0x389a26=_0x21ef11;_0x1043e8[_0x389a26(0x1f5)]<0x20?_0x2ccde5(_0x1043e8,_0x3b01c9):_0x3241b3[_0x389a26(0x10e)](_0x1043e8,_0x3b01c9);};}catch{}return se[_0x21ef11(0x1eb)];}var ye,He;function Pt(){const _0x40e5d7=_0x4a8b65;if(He)return ye;He=0x1;const _0x3393d0=Symbol(_0x40e5d7(0x1f7)),_0x490a52=Symbol(_0x40e5d7(0x1d7));class _0x7e3afe{constructor(_0x1cd1bf){const _0x507eda=_0x40e5d7;this[_0x3393d0]=()=>{this['pending']--,this[_0x490a52]();},this['concurrency']=_0x1cd1bf||0x1/0x0,this[_0x507eda(0x1d5)]=[],this[_0x507eda(0x15c)]=0x0;}[_0x40e5d7(0x19c)](_0x178527){const _0x66bb17=_0x40e5d7;this[_0x66bb17(0x1d5)][_0x66bb17(0x127)](_0x178527),this[_0x490a52]();}[_0x490a52](){const _0x2c18d9=_0x40e5d7;if(this[_0x2c18d9(0x15c)]!==this[_0x2c18d9(0x188)]&&this[_0x2c18d9(0x1d5)]['length']){const _0x326ea2=this[_0x2c18d9(0x1d5)][_0x2c18d9(0x163)]();this[_0x2c18d9(0x15c)]++,_0x326ea2(this[_0x3393d0]);}}}return ye=_0x7e3afe,ye;}var ve,ze;function he(){const _0x4eccf0=_0x4a8b65;if(ze)return ve;ze=0x1;const _0x2b68e2=bt,_0x36419b=ce(),_0x5c620b=Pt(),{kStatusCode:_0x44cc8f}=H(),_0x174896=Buffer[Symbol[_0x4eccf0(0x1d6)]],_0xa2a1de=Buffer[_0x4eccf0(0x1c1)]([0x0,0x0,0xff,0xff]),_0x445dcf=Symbol(_0x4eccf0(0x119)),_0x26678b=Symbol(_0x4eccf0(0x215)),_0x4b0c19=Symbol(_0x4eccf0(0x239)),_0x23f0ce=Symbol(_0x4eccf0(0x1ee)),_0x31fb1f=Symbol(_0x4eccf0(0x227));let _0x3652e3;class _0x4e9b28{constructor(_0x52c429,_0x5bfd79,_0x393c70){const _0x822d05=_0x4eccf0;if(this[_0x822d05(0x11f)]=_0x393c70|0x0,this[_0x822d05(0x241)]=_0x52c429||{},this[_0x822d05(0x12a)]=this[_0x822d05(0x241)]['threshold']!==void 0x0?this['_options']['threshold']:0x400,this[_0x822d05(0x1f8)]=!!_0x5bfd79,this[_0x822d05(0x256)]=null,this[_0x822d05(0x106)]=null,this[_0x822d05(0x18d)]=null,!_0x3652e3){const _0x833a99=this[_0x822d05(0x241)][_0x822d05(0x231)]!==void 0x0?this[_0x822d05(0x241)]['concurrencyLimit']:0xa;_0x3652e3=new _0x5c620b(_0x833a99);}}static get[_0x4eccf0(0x16e)](){const _0x6f9350=_0x4eccf0;return _0x6f9350(0x119);}[_0x4eccf0(0x1fb)](){const _0x1cd157=_0x4eccf0,_0x59a3ff={};return this[_0x1cd157(0x241)][_0x1cd157(0x254)]&&(_0x59a3ff['server_no_context_takeover']=!0x0),this['_options'][_0x1cd157(0x12f)]&&(_0x59a3ff['client_no_context_takeover']=!0x0),this[_0x1cd157(0x241)]['serverMaxWindowBits']&&(_0x59a3ff[_0x1cd157(0xcb)]=this[_0x1cd157(0x241)][_0x1cd157(0xdf)]),this[_0x1cd157(0x241)][_0x1cd157(0x12d)]?_0x59a3ff[_0x1cd157(0x24a)]=this['_options'][_0x1cd157(0x12d)]:this[_0x1cd157(0x241)]['clientMaxWindowBits']==null&&(_0x59a3ff[_0x1cd157(0x24a)]=!0x0),_0x59a3ff;}[_0x4eccf0(0x210)](_0xaf66a4){const _0x342634=_0x4eccf0;return _0xaf66a4=this[_0x342634(0x24b)](_0xaf66a4),this['params']=this[_0x342634(0x1f8)]?this[_0x342634(0x22d)](_0xaf66a4):this[_0x342634(0xfb)](_0xaf66a4),this[_0x342634(0x18d)];}[_0x4eccf0(0x1c0)](){const _0x9f3f98=_0x4eccf0;if(this[_0x9f3f98(0x106)]&&(this[_0x9f3f98(0x106)]['close'](),this['_inflate']=null),this[_0x9f3f98(0x256)]){const _0x1a5ce5=this[_0x9f3f98(0x256)][_0x4b0c19];this[_0x9f3f98(0x256)][_0x9f3f98(0xe6)](),this[_0x9f3f98(0x256)]=null,_0x1a5ce5&&_0x1a5ce5(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x4eccf0(0x22d)](_0x2420cc){const _0x467adb=_0x4eccf0,_0x2461f4=this[_0x467adb(0x241)],_0x293981=_0x2420cc['find'](_0x5027b4=>!(_0x2461f4[_0x467adb(0x254)]===!0x1&&_0x5027b4[_0x467adb(0x26a)]||_0x5027b4[_0x467adb(0xcb)]&&(_0x2461f4[_0x467adb(0xdf)]===!0x1||typeof _0x2461f4[_0x467adb(0xdf)]==_0x467adb(0x1c8)&&_0x2461f4[_0x467adb(0xdf)]>_0x5027b4['server_max_window_bits'])||typeof _0x2461f4['clientMaxWindowBits']==_0x467adb(0x1c8)&&!_0x5027b4[_0x467adb(0x24a)]));if(!_0x293981)throw new Error(_0x467adb(0x271));return _0x2461f4[_0x467adb(0x254)]&&(_0x293981['server_no_context_takeover']=!0x0),_0x2461f4[_0x467adb(0x12f)]&&(_0x293981[_0x467adb(0x1b9)]=!0x0),typeof _0x2461f4[_0x467adb(0xdf)]==_0x467adb(0x1c8)&&(_0x293981[_0x467adb(0xcb)]=_0x2461f4['serverMaxWindowBits']),typeof _0x2461f4[_0x467adb(0x12d)]==_0x467adb(0x1c8)?_0x293981[_0x467adb(0x24a)]=_0x2461f4[_0x467adb(0x12d)]:(_0x293981[_0x467adb(0x24a)]===!0x0||_0x2461f4[_0x467adb(0x12d)]===!0x1)&&delete _0x293981[_0x467adb(0x24a)],_0x293981;}[_0x4eccf0(0xfb)](_0x3b5195){const _0x3ad2a3=_0x4eccf0,_0x56047d=_0x3b5195[0x0];if(this['_options'][_0x3ad2a3(0x12f)]===!0x1&&_0x56047d[_0x3ad2a3(0x1b9)])throw new Error(_0x3ad2a3(0x150));if(!_0x56047d[_0x3ad2a3(0x24a)])typeof this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]==_0x3ad2a3(0x1c8)&&(_0x56047d[_0x3ad2a3(0x24a)]=this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]);else{if(this[_0x3ad2a3(0x241)]['clientMaxWindowBits']===!0x1||typeof this[_0x3ad2a3(0x241)][_0x3ad2a3(0x12d)]==_0x3ad2a3(0x1c8)&&_0x56047d['client_max_window_bits']>this[_0x3ad2a3(0x241)]['clientMaxWindowBits'])throw new Error(_0x3ad2a3(0x276));}return _0x56047d;}[_0x4eccf0(0x24b)](_0x4f504d){const _0x233ac2=_0x4eccf0;return _0x4f504d[_0x233ac2(0x109)](_0x2d7607=>{const _0x21feae=_0x233ac2;Object[_0x21feae(0x149)](_0x2d7607)['forEach'](_0x35dd55=>{const _0x393188=_0x21feae;let _0x153d42=_0x2d7607[_0x35dd55];if(_0x153d42['length']>0x1)throw new Error(_0x393188(0x12c)+_0x35dd55+_0x393188(0x1fe));if(_0x153d42=_0x153d42[0x0],_0x35dd55==='client_max_window_bits'){if(_0x153d42!==!0x0){const _0x20fd1b=+_0x153d42;if(!Number[_0x393188(0x100)](_0x20fd1b)||_0x20fd1b<0x8||_0x20fd1b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x35dd55+_0x393188(0x155)+_0x153d42);_0x153d42=_0x20fd1b;}else{if(!this['_isServer'])throw new TypeError(_0x393188(0x120)+_0x35dd55+'\x22:\x20'+_0x153d42);}}else{if(_0x35dd55===_0x393188(0xcb)){const _0x1c9ad3=+_0x153d42;if(!Number[_0x393188(0x100)](_0x1c9ad3)||_0x1c9ad3<0x8||_0x1c9ad3>0xf)throw new TypeError(_0x393188(0x120)+_0x35dd55+_0x393188(0x155)+_0x153d42);_0x153d42=_0x1c9ad3;}else{if(_0x35dd55==='client_no_context_takeover'||_0x35dd55===_0x393188(0x26a)){if(_0x153d42!==!0x0)throw new TypeError(_0x393188(0x120)+_0x35dd55+'\x22:\x20'+_0x153d42);}else throw new Error(_0x393188(0x16d)+_0x35dd55+'\x22');}}_0x2d7607[_0x35dd55]=_0x153d42;});}),_0x4f504d;}[_0x4eccf0(0x22e)](_0x231ffb,_0x2eeb1e,_0x4cd62b){const _0x45a906=_0x4eccf0;_0x3652e3[_0x45a906(0x19c)](_0x17de65=>{const _0x1899fb=_0x45a906;this[_0x1899fb(0x1d1)](_0x231ffb,_0x2eeb1e,(_0x5d5c2e,_0x1a50cf)=>{_0x17de65(),_0x4cd62b(_0x5d5c2e,_0x1a50cf);});});}[_0x4eccf0(0x154)](_0x49d750,_0x26c7c3,_0x7333f){const _0x4b3222=_0x4eccf0;_0x3652e3[_0x4b3222(0x19c)](_0x7c20dc=>{const _0x5cc5a1=_0x4b3222;this[_0x5cc5a1(0x1da)](_0x49d750,_0x26c7c3,(_0x1c3287,_0x3dd40c)=>{_0x7c20dc(),_0x7333f(_0x1c3287,_0x3dd40c);});});}[_0x4eccf0(0x1d1)](_0x202c66,_0x272785,_0x49e311){const _0x202af0=_0x4eccf0,_0x3c5e1b=this[_0x202af0(0x1f8)]?_0x202af0(0x216):_0x202af0(0x1d4);if(!this[_0x202af0(0x106)]){const _0x4aeef7=_0x3c5e1b+_0x202af0(0x174),_0x3cbdd5=typeof this[_0x202af0(0x18d)][_0x4aeef7]!='number'?_0x2b68e2['Z_DEFAULT_WINDOWBITS']:this[_0x202af0(0x18d)][_0x4aeef7];this[_0x202af0(0x106)]=_0x2b68e2[_0x202af0(0x25e)]({...this['_options'][_0x202af0(0x180)],'windowBits':_0x3cbdd5}),this['_inflate'][_0x445dcf]=this,this['_inflate'][_0x26678b]=0x0,this[_0x202af0(0x106)][_0x23f0ce]=[],this[_0x202af0(0x106)]['on']('error',_0x553ae8),this[_0x202af0(0x106)]['on']('data',_0x102f13);}this[_0x202af0(0x106)][_0x4b0c19]=_0x49e311,this[_0x202af0(0x106)][_0x202af0(0xc5)](_0x202c66),_0x272785&&this[_0x202af0(0x106)]['write'](_0xa2a1de),this[_0x202af0(0x106)]['flush'](()=>{const _0x15efb=_0x202af0,_0x3acf25=this['_inflate'][_0x31fb1f];if(_0x3acf25){this[_0x15efb(0x106)][_0x15efb(0xe6)](),this['_inflate']=null,_0x49e311(_0x3acf25);return;}const _0x355dae=_0x36419b[_0x15efb(0x1f1)](this['_inflate'][_0x23f0ce],this['_inflate'][_0x26678b]);this[_0x15efb(0x106)][_0x15efb(0x178)][_0x15efb(0x19d)]?(this[_0x15efb(0x106)]['close'](),this[_0x15efb(0x106)]=null):(this['_inflate'][_0x26678b]=0x0,this[_0x15efb(0x106)][_0x23f0ce]=[],_0x272785&&this[_0x15efb(0x18d)][_0x3c5e1b+_0x15efb(0x102)]&&this['_inflate'][_0x15efb(0x14d)]()),_0x49e311(null,_0x355dae);});}['_compress'](_0x3ed1c1,_0x523562,_0x59b207){const _0x2750dd=_0x4eccf0,_0x2ea570=this[_0x2750dd(0x1f8)]?_0x2750dd(0x1d4):_0x2750dd(0x216);if(!this[_0x2750dd(0x256)]){const _0x2b6fba=_0x2ea570+_0x2750dd(0x174),_0x2840f0=typeof this['params'][_0x2b6fba]!=_0x2750dd(0x1c8)?_0x2b68e2[_0x2750dd(0x1e3)]:this['params'][_0x2b6fba];this[_0x2750dd(0x256)]=_0x2b68e2['createDeflateRaw']({...this[_0x2750dd(0x241)][_0x2750dd(0xbc)],'windowBits':_0x2840f0}),this[_0x2750dd(0x256)][_0x26678b]=0x0,this['_deflate'][_0x23f0ce]=[],this['_deflate']['on'](_0x2750dd(0xea),_0x2b9b52);}this['_deflate'][_0x4b0c19]=_0x59b207,this['_deflate']['write'](_0x3ed1c1),this['_deflate'][_0x2750dd(0x16c)](_0x2b68e2[_0x2750dd(0x272)],()=>{const _0xce07ff=_0x2750dd;if(!this[_0xce07ff(0x256)])return;let _0x55a4ab=_0x36419b[_0xce07ff(0x1f1)](this[_0xce07ff(0x256)][_0x23f0ce],this[_0xce07ff(0x256)][_0x26678b]);_0x523562&&(_0x55a4ab=new _0x174896(_0x55a4ab['buffer'],_0x55a4ab[_0xce07ff(0x26f)],_0x55a4ab['length']-0x4)),this['_deflate'][_0x4b0c19]=null,this[_0xce07ff(0x256)][_0x26678b]=0x0,this[_0xce07ff(0x256)][_0x23f0ce]=[],_0x523562&&this[_0xce07ff(0x18d)][_0x2ea570+_0xce07ff(0x102)]&&this[_0xce07ff(0x256)][_0xce07ff(0x14d)](),_0x59b207(null,_0x55a4ab);});}}ve=_0x4e9b28;function _0x2b9b52(_0x28ad78){const _0xc71c80=_0x4eccf0;this[_0x23f0ce][_0xc71c80(0x127)](_0x28ad78),this[_0x26678b]+=_0x28ad78[_0xc71c80(0x1f5)];}function _0x102f13(_0x5cd51f){const _0x29eef1=_0x4eccf0;if(this[_0x26678b]+=_0x5cd51f[_0x29eef1(0x1f5)],this[_0x445dcf]['_maxPayload']<0x1||this[_0x26678b]<=this[_0x445dcf][_0x29eef1(0x11f)]){this[_0x23f0ce]['push'](_0x5cd51f);return;}this[_0x31fb1f]=new RangeError(_0x29eef1(0x226)),this[_0x31fb1f]['code']=_0x29eef1(0x203),this[_0x31fb1f][_0x44cc8f]=0x3f1,this[_0x29eef1(0x1d9)](_0x29eef1(0xea),_0x102f13),this[_0x29eef1(0x14d)]();}function _0x553ae8(_0x388863){const _0x175fda=_0x4eccf0;this[_0x445dcf][_0x175fda(0x106)]=null,_0x388863[_0x44cc8f]=0x3ef,this[_0x4b0c19](_0x388863);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x4a8b65(0x214)](Object[_0x4a8b65(0xe1)]({'__proto__':null,'default':Dt},Symbol[_0x4a8b65(0x18b)],{'value':_0x4a8b65(0x18a)})),Bt=at(Rt);var Ye;function ae(){const _0x282656=_0x4a8b65;if(Ye)return ie[_0x282656(0x1eb)];Ye=0x1;const {isUtf8:_0x4a3a63}=wt,{hasBlob:_0x12e43a}=H(),_0x5d3760=[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 _0x2b4b26(_0x4c1f95){return _0x4c1f95>=0x3e8&&_0x4c1f95<=0x3f6&&_0x4c1f95!==0x3ec&&_0x4c1f95!==0x3ed&&_0x4c1f95!==0x3ee||_0x4c1f95>=0xbb8&&_0x4c1f95<=0x1387;}function _0x281f2c(_0x3a76c7){const _0x42e5c3=_0x282656,_0x5c633e=_0x3a76c7[_0x42e5c3(0x1f5)];let _0x5a77f1=0x0;for(;_0x5a77f1<_0x5c633e;)if((_0x3a76c7[_0x5a77f1]&0x80)===0x0)_0x5a77f1++;else{if((_0x3a76c7[_0x5a77f1]&0xe0)===0xc0){if(_0x5a77f1+0x1===_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1]&0xfe)===0xc0)return!0x1;_0x5a77f1+=0x2;}else{if((_0x3a76c7[_0x5a77f1]&0xf0)===0xe0){if(_0x5a77f1+0x2>=_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x2]&0xc0)!==0x80||_0x3a76c7[_0x5a77f1]===0xe0&&(_0x3a76c7[_0x5a77f1+0x1]&0xe0)===0x80||_0x3a76c7[_0x5a77f1]===0xed&&(_0x3a76c7[_0x5a77f1+0x1]&0xe0)===0xa0)return!0x1;_0x5a77f1+=0x3;}else{if((_0x3a76c7[_0x5a77f1]&0xf8)===0xf0){if(_0x5a77f1+0x3>=_0x5c633e||(_0x3a76c7[_0x5a77f1+0x1]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x2]&0xc0)!==0x80||(_0x3a76c7[_0x5a77f1+0x3]&0xc0)!==0x80||_0x3a76c7[_0x5a77f1]===0xf0&&(_0x3a76c7[_0x5a77f1+0x1]&0xf0)===0x80||_0x3a76c7[_0x5a77f1]===0xf4&&_0x3a76c7[_0x5a77f1+0x1]>0x8f||_0x3a76c7[_0x5a77f1]>0xf4)return!0x1;_0x5a77f1+=0x4;}else return!0x1;}}}return!0x0;}function _0x3e4758(_0x4b4fd6){const _0x124df7=_0x282656;return _0x12e43a&&typeof _0x4b4fd6==_0x124df7(0x151)&&typeof _0x4b4fd6[_0x124df7(0x1db)]=='function'&&typeof _0x4b4fd6[_0x124df7(0x220)]==_0x124df7(0x1d2)&&typeof _0x4b4fd6[_0x124df7(0x123)]==_0x124df7(0x17b)&&(_0x4b4fd6[Symbol[_0x124df7(0x18b)]]===_0x124df7(0x1c6)||_0x4b4fd6[Symbol['toStringTag']]===_0x124df7(0x22b));}if(ie[_0x282656(0x1eb)]={'isBlob':_0x3e4758,'isValidStatusCode':_0x2b4b26,'isValidUTF8':_0x281f2c,'tokenChars':_0x5d3760},_0x4a3a63)ie[_0x282656(0x1eb)][_0x282656(0xf9)]=function(_0x305832){const _0x4a7f2d=_0x282656;return _0x305832[_0x4a7f2d(0x1f5)]<0x18?_0x281f2c(_0x305832):_0x4a3a63(_0x305832);};else{if(!process[_0x282656(0x1dc)][_0x282656(0x25c)])try{const _0x5a42fb=Bt;ie[_0x282656(0x1eb)][_0x282656(0xf9)]=function(_0x4439ea){return _0x4439ea['length']<0x20?_0x281f2c(_0x4439ea):_0x5a42fb(_0x4439ea);};}catch{}}return ie[_0x282656(0x1eb)];}var Se,Ke;function lt(){const _0xf9aa6e=_0x4a8b65;if(Ke)return Se;Ke=0x1;const {Writable:_0x5bd1d0}=oe,_0x2528fb=he(),{BINARY_TYPES:_0xb15eb0,EMPTY_BUFFER:_0x39c987,kStatusCode:_0xde1a92,kWebSocket:_0x2f3320}=H(),{concat:_0xee3402,toArrayBuffer:_0x314894,unmask:_0x27169b}=ce(),{isValidStatusCode:_0xbcd8e7,isValidUTF8:_0x19eabd}=ae(),_0x48f26e=Buffer[Symbol[_0xf9aa6e(0x1d6)]],_0x9bf35=0x0,_0x1d7350=0x1,_0x29460a=0x2,_0x262a59=0x3,_0x379128=0x4,_0x1321e5=0x5,_0x1f6f51=0x6;class _0x144e14 extends _0x5bd1d0{constructor(_0x4cd376={}){const _0xc5492a=_0xf9aa6e;super(),this[_0xc5492a(0x27e)]=_0x4cd376[_0xc5492a(0x1cb)]!==void 0x0?_0x4cd376[_0xc5492a(0x1cb)]:!0x0,this[_0xc5492a(0x156)]=_0x4cd376[_0xc5492a(0x221)]||_0xb15eb0[0x0],this[_0xc5492a(0x136)]=_0x4cd376[_0xc5492a(0x16b)]||{},this[_0xc5492a(0x1f8)]=!!_0x4cd376[_0xc5492a(0x110)],this[_0xc5492a(0x11f)]=_0x4cd376[_0xc5492a(0xcd)]|0x0,this['_skipUTF8Validation']=!!_0x4cd376[_0xc5492a(0x24e)],this[_0x2f3320]=void 0x0,this[_0xc5492a(0x13a)]=0x0,this['_buffers']=[],this[_0xc5492a(0x25d)]=!0x1,this[_0xc5492a(0x1a8)]=0x0,this[_0xc5492a(0xbb)]=void 0x0,this['_fragmented']=0x0,this[_0xc5492a(0x219)]=!0x1,this[_0xc5492a(0x1f6)]=!0x1,this[_0xc5492a(0x157)]=0x0,this[_0xc5492a(0x1a3)]=0x0,this[_0xc5492a(0x11c)]=0x0,this[_0xc5492a(0x224)]=[],this[_0xc5492a(0x169)]=!0x1,this[_0xc5492a(0x189)]=!0x1,this[_0xc5492a(0x1bf)]=_0x9bf35;}[_0xf9aa6e(0x1a5)](_0x4d64f9,_0x983d5e,_0x23bd86){const _0x5ca4a9=_0xf9aa6e;if(this['_opcode']===0x8&&this[_0x5ca4a9(0x1bf)]==_0x9bf35)return _0x23bd86();this[_0x5ca4a9(0x13a)]+=_0x4d64f9[_0x5ca4a9(0x1f5)],this[_0x5ca4a9(0x212)][_0x5ca4a9(0x127)](_0x4d64f9),this[_0x5ca4a9(0x1e8)](_0x23bd86);}[_0xf9aa6e(0xc4)](_0x53e709){const _0x272b2f=_0xf9aa6e;if(this[_0x272b2f(0x13a)]-=_0x53e709,_0x53e709===this['_buffers'][0x0]['length'])return this['_buffers']['shift']();if(_0x53e709<this[_0x272b2f(0x212)][0x0][_0x272b2f(0x1f5)]){const _0x202f65=this[_0x272b2f(0x212)][0x0];return this[_0x272b2f(0x212)][0x0]=new _0x48f26e(_0x202f65[_0x272b2f(0x267)],_0x202f65['byteOffset']+_0x53e709,_0x202f65[_0x272b2f(0x1f5)]-_0x53e709),new _0x48f26e(_0x202f65['buffer'],_0x202f65[_0x272b2f(0x26f)],_0x53e709);}const _0x139b9a=Buffer[_0x272b2f(0x240)](_0x53e709);do{const _0x2c35cd=this[_0x272b2f(0x212)][0x0],_0x361146=_0x139b9a[_0x272b2f(0x1f5)]-_0x53e709;_0x53e709>=_0x2c35cd[_0x272b2f(0x1f5)]?_0x139b9a['set'](this[_0x272b2f(0x212)][_0x272b2f(0x163)](),_0x361146):(_0x139b9a[_0x272b2f(0xc8)](new Uint8Array(_0x2c35cd[_0x272b2f(0x267)],_0x2c35cd[_0x272b2f(0x26f)],_0x53e709),_0x361146),this[_0x272b2f(0x212)][0x0]=new _0x48f26e(_0x2c35cd[_0x272b2f(0x267)],_0x2c35cd[_0x272b2f(0x26f)]+_0x53e709,_0x2c35cd[_0x272b2f(0x1f5)]-_0x53e709)),_0x53e709-=_0x2c35cd[_0x272b2f(0x1f5)];}while(_0x53e709>0x0);return _0x139b9a;}[_0xf9aa6e(0x1e8)](_0x2a22ec){const _0x27e00b=_0xf9aa6e;this[_0x27e00b(0x189)]=!0x0;do switch(this[_0x27e00b(0x1bf)]){case _0x9bf35:this[_0x27e00b(0x1f9)](_0x2a22ec);break;case _0x1d7350:this[_0x27e00b(0x21e)](_0x2a22ec);break;case _0x29460a:this[_0x27e00b(0x1c3)](_0x2a22ec);break;case _0x262a59:this[_0x27e00b(0x209)]();break;case _0x379128:this[_0x27e00b(0x187)](_0x2a22ec);break;case _0x1321e5:case _0x1f6f51:this[_0x27e00b(0x189)]=!0x1;return;}while(this[_0x27e00b(0x189)]);this[_0x27e00b(0x169)]||_0x2a22ec();}[_0xf9aa6e(0x1f9)](_0x3fd261){const _0x5afc38=_0xf9aa6e;if(this[_0x5afc38(0x13a)]<0x2){this['_loop']=!0x1;return;}const _0x360dc1=this[_0x5afc38(0xc4)](0x2);if((_0x360dc1[0x0]&0x30)!==0x0){const _0x6fc228=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1a4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3fd261(_0x6fc228);return;}const _0x46b3fa=(_0x360dc1[0x0]&0x40)===0x40;if(_0x46b3fa&&!this[_0x5afc38(0x136)][_0x2528fb[_0x5afc38(0x16e)]]){const _0x166224=this[_0x5afc38(0x146)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x166224);return;}if(this['_fin']=(_0x360dc1[0x0]&0x80)===0x80,this['_opcode']=_0x360dc1[0x0]&0xf,this['_payloadLength']=_0x360dc1[0x1]&0x7f,this[_0x5afc38(0x157)]===0x0){if(_0x46b3fa){const _0x51d3e2=this[_0x5afc38(0x146)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x51d3e2);return;}if(!this['_fragmented']){const _0x3395c6=this[_0x5afc38(0x146)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3fd261(_0x3395c6);return;}this[_0x5afc38(0x157)]=this['_fragmented'];}else{if(this[_0x5afc38(0x157)]===0x1||this[_0x5afc38(0x157)]===0x2){if(this['_fragmented']){const _0x4b665c=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1cd)+this[_0x5afc38(0x157)],!0x0,0x3ea,_0x5afc38(0x198));_0x3fd261(_0x4b665c);return;}this[_0x5afc38(0x25d)]=_0x46b3fa;}else{if(this[_0x5afc38(0x157)]>0x7&&this['_opcode']<0xb){if(!this[_0x5afc38(0x1f6)]){const _0x2a94a1=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x14c),!0x0,0x3ea,_0x5afc38(0x17e));_0x3fd261(_0x2a94a1);return;}if(_0x46b3fa){const _0x30913c=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5afc38(0x185));_0x3fd261(_0x30913c);return;}if(this[_0x5afc38(0x1a8)]>0x7d||this['_opcode']===0x8&&this[_0x5afc38(0x1a8)]===0x1){const _0x5d6fa2=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x225)+this[_0x5afc38(0x1a8)],!0x0,0x3ea,_0x5afc38(0x24d));_0x3fd261(_0x5d6fa2);return;}}else{const _0x429ebd=this[_0x5afc38(0x146)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3fd261(_0x429ebd);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x5afc38(0x235)]=this[_0x5afc38(0x157)]),this[_0x5afc38(0x219)]=(_0x360dc1[0x1]&0x80)===0x80,this[_0x5afc38(0x1f8)]){if(!this['_masked']){const _0x337177=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x1de),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3fd261(_0x337177);return;}}else{if(this[_0x5afc38(0x219)]){const _0xfe3d5e=this[_0x5afc38(0x146)](RangeError,_0x5afc38(0x166),!0x0,0x3ea,_0x5afc38(0x205));_0x3fd261(_0xfe3d5e);return;}}this[_0x5afc38(0x1a8)]===0x7e?this[_0x5afc38(0x1bf)]=_0x1d7350:this[_0x5afc38(0x1a8)]===0x7f?this['_state']=_0x29460a:this[_0x5afc38(0x18e)](_0x3fd261);}['getPayloadLength16'](_0x21b1ba){const _0x5b1af9=_0xf9aa6e;if(this[_0x5b1af9(0x13a)]<0x2){this['_loop']=!0x1;return;}this[_0x5b1af9(0x1a8)]=this[_0x5b1af9(0xc4)](0x2)[_0x5b1af9(0x243)](0x0),this[_0x5b1af9(0x18e)](_0x21b1ba);}[_0xf9aa6e(0x1c3)](_0x113b24){const _0x5c7c3d=_0xf9aa6e;if(this[_0x5c7c3d(0x13a)]<0x8){this[_0x5c7c3d(0x189)]=!0x1;return;}const _0x3ba392=this[_0x5c7c3d(0xc4)](0x8),_0x57e3b9=_0x3ba392[_0x5c7c3d(0x195)](0x0);if(_0x57e3b9>Math[_0x5c7c3d(0x249)](0x2,0x15)-0x1){const _0x1c2ec4=this[_0x5c7c3d(0x146)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x5c7c3d(0x22a));_0x113b24(_0x1c2ec4);return;}this[_0x5c7c3d(0x1a8)]=_0x57e3b9*Math[_0x5c7c3d(0x249)](0x2,0x20)+_0x3ba392[_0x5c7c3d(0x195)](0x4),this[_0x5c7c3d(0x18e)](_0x113b24);}['haveLength'](_0x79b219){const _0x362e8c=_0xf9aa6e;if(this[_0x362e8c(0x1a8)]&&this[_0x362e8c(0x157)]<0x8&&(this[_0x362e8c(0x1a3)]+=this[_0x362e8c(0x1a8)],this[_0x362e8c(0x1a3)]>this['_maxPayload']&&this[_0x362e8c(0x11f)]>0x0)){const _0x18e4c6=this[_0x362e8c(0x146)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x362e8c(0x203));_0x79b219(_0x18e4c6);return;}this[_0x362e8c(0x219)]?this['_state']=_0x262a59:this['_state']=_0x379128;}[_0xf9aa6e(0x209)](){const _0x20519f=_0xf9aa6e;if(this[_0x20519f(0x13a)]<0x4){this[_0x20519f(0x189)]=!0x1;return;}this[_0x20519f(0xbb)]=this['consume'](0x4),this[_0x20519f(0x1bf)]=_0x379128;}['getData'](_0x1d73b0){const _0x2c1074=_0xf9aa6e;let _0x40973e=_0x39c987;if(this[_0x2c1074(0x1a8)]){if(this['_bufferedBytes']<this[_0x2c1074(0x1a8)]){this[_0x2c1074(0x189)]=!0x1;return;}_0x40973e=this[_0x2c1074(0xc4)](this['_payloadLength']),this[_0x2c1074(0x219)]&&(this[_0x2c1074(0xbb)][0x0]|this[_0x2c1074(0xbb)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x27169b(_0x40973e,this[_0x2c1074(0xbb)]);}if(this[_0x2c1074(0x157)]>0x7){this[_0x2c1074(0xe9)](_0x40973e,_0x1d73b0);return;}if(this[_0x2c1074(0x25d)]){this[_0x2c1074(0x1bf)]=_0x1321e5,this['decompress'](_0x40973e,_0x1d73b0);return;}_0x40973e[_0x2c1074(0x1f5)]&&(this[_0x2c1074(0x11c)]=this['_totalPayloadLength'],this[_0x2c1074(0x224)][_0x2c1074(0x127)](_0x40973e)),this[_0x2c1074(0x20e)](_0x1d73b0);}[_0xf9aa6e(0x22e)](_0x410012,_0x2f7832){const _0x55bf15=_0xf9aa6e;this[_0x55bf15(0x136)][_0x2528fb['extensionName']]['decompress'](_0x410012,this[_0x55bf15(0x1f6)],(_0xb7c366,_0x9db0da)=>{const _0x55f420=_0x55bf15;if(_0xb7c366)return _0x2f7832(_0xb7c366);if(_0x9db0da[_0x55f420(0x1f5)]){if(this[_0x55f420(0x11c)]+=_0x9db0da['length'],this['_messageLength']>this[_0x55f420(0x11f)]&&this['_maxPayload']>0x0){const _0x44ae39=this['createError'](RangeError,_0x55f420(0x226),!0x1,0x3f1,_0x55f420(0x203));_0x2f7832(_0x44ae39);return;}this[_0x55f420(0x224)][_0x55f420(0x127)](_0x9db0da);}this[_0x55f420(0x20e)](_0x2f7832),this[_0x55f420(0x1bf)]===_0x9bf35&&this[_0x55f420(0x1e8)](_0x2f7832);});}[_0xf9aa6e(0x20e)](_0x3a31f7){const _0x32f266=_0xf9aa6e;if(!this[_0x32f266(0x1f6)]){this[_0x32f266(0x1bf)]=_0x9bf35;return;}const _0x3ac6de=this[_0x32f266(0x11c)],_0x127d2b=this[_0x32f266(0x224)];if(this['_totalPayloadLength']=0x0,this[_0x32f266(0x11c)]=0x0,this[_0x32f266(0x235)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x150533;this[_0x32f266(0x156)]===_0x32f266(0x284)?_0x150533=_0xee3402(_0x127d2b,_0x3ac6de):this[_0x32f266(0x156)]===_0x32f266(0x1e1)?_0x150533=_0x314894(_0xee3402(_0x127d2b,_0x3ac6de)):this[_0x32f266(0x156)]===_0x32f266(0x281)?_0x150533=new Blob(_0x127d2b):_0x150533=_0x127d2b,this[_0x32f266(0x27e)]?(this[_0x32f266(0x19a)](_0x32f266(0x13c),_0x150533,!0x0),this[_0x32f266(0x1bf)]=_0x9bf35):(this[_0x32f266(0x1bf)]=_0x1f6f51,setImmediate(()=>{const _0x356064=_0x32f266;this[_0x356064(0x19a)](_0x356064(0x13c),_0x150533,!0x0),this[_0x356064(0x1bf)]=_0x9bf35,this[_0x356064(0x1e8)](_0x3a31f7);}));}else{const _0x54fd8c=_0xee3402(_0x127d2b,_0x3ac6de);if(!this['_skipUTF8Validation']&&!_0x19eabd(_0x54fd8c)){const _0x33129a=this['createError'](Error,_0x32f266(0x165),!0x0,0x3ef,_0x32f266(0x283));_0x3a31f7(_0x33129a);return;}this['_state']===_0x1321e5||this[_0x32f266(0x27e)]?(this[_0x32f266(0x19a)]('message',_0x54fd8c,!0x1),this[_0x32f266(0x1bf)]=_0x9bf35):(this['_state']=_0x1f6f51,setImmediate(()=>{const _0x9fbfa8=_0x32f266;this['emit']('message',_0x54fd8c,!0x1),this[_0x9fbfa8(0x1bf)]=_0x9bf35,this[_0x9fbfa8(0x1e8)](_0x3a31f7);}));}}['controlMessage'](_0x1912cb,_0x5583f7){const _0x5517d0=_0xf9aa6e;if(this['_opcode']===0x8){if(_0x1912cb[_0x5517d0(0x1f5)]===0x0)this[_0x5517d0(0x189)]=!0x1,this[_0x5517d0(0x19a)](_0x5517d0(0x126),0x3ed,_0x39c987),this[_0x5517d0(0xce)]();else{const _0x5ed50b=_0x1912cb[_0x5517d0(0x243)](0x0);if(!_0xbcd8e7(_0x5ed50b)){const _0x372139=this[_0x5517d0(0x146)](RangeError,'invalid\x20status\x20code\x20'+_0x5ed50b,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x5583f7(_0x372139);return;}const _0x57ab8c=new _0x48f26e(_0x1912cb[_0x5517d0(0x267)],_0x1912cb[_0x5517d0(0x26f)]+0x2,_0x1912cb[_0x5517d0(0x1f5)]-0x2);if(!this['_skipUTF8Validation']&&!_0x19eabd(_0x57ab8c)){const _0x365e16=this[_0x5517d0(0x146)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5517d0(0x283));_0x5583f7(_0x365e16);return;}this[_0x5517d0(0x189)]=!0x1,this[_0x5517d0(0x19a)](_0x5517d0(0x126),_0x5ed50b,_0x57ab8c),this[_0x5517d0(0xce)]();}this[_0x5517d0(0x1bf)]=_0x9bf35;return;}this[_0x5517d0(0x27e)]?(this[_0x5517d0(0x19a)](this[_0x5517d0(0x157)]===0x9?_0x5517d0(0x179):_0x5517d0(0xcc),_0x1912cb),this[_0x5517d0(0x1bf)]=_0x9bf35):(this[_0x5517d0(0x1bf)]=_0x1f6f51,setImmediate(()=>{const _0x5adfa3=_0x5517d0;this['emit'](this[_0x5adfa3(0x157)]===0x9?_0x5adfa3(0x179):_0x5adfa3(0xcc),_0x1912cb),this[_0x5adfa3(0x1bf)]=_0x9bf35,this[_0x5adfa3(0x1e8)](_0x5583f7);}));}[_0xf9aa6e(0x146)](_0x57ec2b,_0x262e02,_0x3b39ff,_0x3850d0,_0x2f8b80){const _0x323826=_0xf9aa6e;this['_loop']=!0x1,this[_0x323826(0x169)]=!0x0;const _0x1dc6bd=new _0x57ec2b(_0x3b39ff?_0x323826(0xfd)+_0x262e02:_0x262e02);return Error[_0x323826(0x1a9)](_0x1dc6bd,this['createError']),_0x1dc6bd[_0x323826(0x131)]=_0x2f8b80,_0x1dc6bd[_0xde1a92]=_0x3850d0,_0x1dc6bd;}}return Se=_0x144e14,Se;}function _0x5911(_0xf66ba2,_0x1368b1){const _0x391c22=_0x391c();return _0x5911=function(_0x591131,_0x377d73){_0x591131=_0x591131-0xba;let _0x560735=_0x391c22[_0x591131];return _0x560735;},_0x5911(_0xf66ba2,_0x1368b1);}var Ee,Xe;function ft(){const _0x56051c=_0x4a8b65;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x32e5df}=oe,{randomFillSync:_0x1bc2be}=Le,_0x4c476d=he(),{EMPTY_BUFFER:_0x1d3649,kWebSocket:_0x2827bb,NOOP:_0x13858a}=H(),{isBlob:_0x431e17,isValidStatusCode:_0x460d7a}=ae(),{mask:_0x3cce31,toBuffer:_0x1e4d43}=ce(),_0x2df1aa=Symbol(_0x56051c(0x27f)),_0x12dddd=Buffer[_0x56051c(0xee)](0x4),_0xb765e6=0x8*0x400;let _0x26103f,_0xb923c1=_0xb765e6;const _0x4d38fe=0x0,_0x4c6b74=0x1,_0x1a28f6=0x2;class _0x11da04{constructor(_0x53b24b,_0xbb6429,_0x32c265){const _0x22c14d=_0x56051c;this[_0x22c14d(0x136)]=_0xbb6429||{},_0x32c265&&(this[_0x22c14d(0x167)]=_0x32c265,this[_0x22c14d(0x196)]=Buffer[_0x22c14d(0xee)](0x4)),this['_socket']=_0x53b24b,this[_0x22c14d(0x1ef)]=!0x0,this['_compress']=!0x1,this[_0x22c14d(0x13a)]=0x0,this['_queue']=[],this[_0x22c14d(0x1bf)]=_0x4d38fe,this[_0x22c14d(0xd5)]=_0x13858a,this[_0x2827bb]=void 0x0;}static[_0x56051c(0x10b)](_0x4abcb4,_0x407474){const _0x385c7a=_0x56051c;let _0x1b8f96,_0x84e7e1=!0x1,_0x919f81=0x2,_0x46dc45=!0x1;_0x407474[_0x385c7a(0xe5)]&&(_0x1b8f96=_0x407474[_0x385c7a(0x229)]||_0x12dddd,_0x407474[_0x385c7a(0x236)]?_0x407474[_0x385c7a(0x236)](_0x1b8f96):(_0xb923c1===_0xb765e6&&(_0x26103f===void 0x0&&(_0x26103f=Buffer[_0x385c7a(0xee)](_0xb765e6)),_0x1bc2be(_0x26103f,0x0,_0xb765e6),_0xb923c1=0x0),_0x1b8f96[0x0]=_0x26103f[_0xb923c1++],_0x1b8f96[0x1]=_0x26103f[_0xb923c1++],_0x1b8f96[0x2]=_0x26103f[_0xb923c1++],_0x1b8f96[0x3]=_0x26103f[_0xb923c1++]),_0x46dc45=(_0x1b8f96[0x0]|_0x1b8f96[0x1]|_0x1b8f96[0x2]|_0x1b8f96[0x3])===0x0,_0x919f81=0x6);let _0x252ceb;typeof _0x4abcb4=='string'?(!_0x407474[_0x385c7a(0xe5)]||_0x46dc45)&&_0x407474[_0x2df1aa]!==void 0x0?_0x252ceb=_0x407474[_0x2df1aa]:(_0x4abcb4=Buffer[_0x385c7a(0x1c1)](_0x4abcb4),_0x252ceb=_0x4abcb4[_0x385c7a(0x1f5)]):(_0x252ceb=_0x4abcb4[_0x385c7a(0x1f5)],_0x84e7e1=_0x407474[_0x385c7a(0xe5)]&&_0x407474[_0x385c7a(0x26d)]&&!_0x46dc45);let _0x2f578a=_0x252ceb;_0x252ceb>=0x10000?(_0x919f81+=0x8,_0x2f578a=0x7f):_0x252ceb>0x7d&&(_0x919f81+=0x2,_0x2f578a=0x7e);const _0x526606=Buffer['allocUnsafe'](_0x84e7e1?_0x252ceb+_0x919f81:_0x919f81);return _0x526606[0x0]=_0x407474[_0x385c7a(0x1f3)]?_0x407474[_0x385c7a(0x217)]|0x80:_0x407474[_0x385c7a(0x217)],_0x407474['rsv1']&&(_0x526606[0x0]|=0x40),_0x526606[0x1]=_0x2f578a,_0x2f578a===0x7e?_0x526606[_0x385c7a(0x1a7)](_0x252ceb,0x2):_0x2f578a===0x7f&&(_0x526606[0x2]=_0x526606[0x3]=0x0,_0x526606[_0x385c7a(0x1ec)](_0x252ceb,0x4,0x6)),_0x407474['mask']?(_0x526606[0x1]|=0x80,_0x526606[_0x919f81-0x4]=_0x1b8f96[0x0],_0x526606[_0x919f81-0x3]=_0x1b8f96[0x1],_0x526606[_0x919f81-0x2]=_0x1b8f96[0x2],_0x526606[_0x919f81-0x1]=_0x1b8f96[0x3],_0x46dc45?[_0x526606,_0x4abcb4]:_0x84e7e1?(_0x3cce31(_0x4abcb4,_0x1b8f96,_0x526606,_0x919f81,_0x252ceb),[_0x526606]):(_0x3cce31(_0x4abcb4,_0x1b8f96,_0x4abcb4,0x0,_0x252ceb),[_0x526606,_0x4abcb4])):[_0x526606,_0x4abcb4];}[_0x56051c(0xe6)](_0x4f86b7,_0x27efc3,_0x145617,_0x1f09cb){const _0x5a7b24=_0x56051c;let _0x5a5fad;if(_0x4f86b7===void 0x0)_0x5a5fad=_0x1d3649;else{if(typeof _0x4f86b7!=_0x5a7b24(0x1c8)||!_0x460d7a(_0x4f86b7))throw new TypeError(_0x5a7b24(0x21d));if(_0x27efc3===void 0x0||!_0x27efc3[_0x5a7b24(0x1f5)])_0x5a5fad=Buffer[_0x5a7b24(0x240)](0x2),_0x5a5fad[_0x5a7b24(0x1a7)](_0x4f86b7,0x0);else{const _0x5580f6=Buffer['byteLength'](_0x27efc3);if(_0x5580f6>0x7b)throw new RangeError(_0x5a7b24(0x18f));_0x5a5fad=Buffer[_0x5a7b24(0x240)](0x2+_0x5580f6),_0x5a5fad[_0x5a7b24(0x1a7)](_0x4f86b7,0x0),typeof _0x27efc3=='string'?_0x5a5fad[_0x5a7b24(0xc5)](_0x27efc3,0x2):_0x5a5fad[_0x5a7b24(0xc8)](_0x27efc3,0x2);}}const _0x32825={[_0x2df1aa]:_0x5a5fad['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x145617,'maskBuffer':this[_0x5a7b24(0x196)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5a7b24(0x1bf)]!==_0x4d38fe?this[_0x5a7b24(0x201)]([this[_0x5a7b24(0x1b0)],_0x5a5fad,!0x1,_0x32825,_0x1f09cb]):this[_0x5a7b24(0x164)](_0x11da04[_0x5a7b24(0x10b)](_0x5a5fad,_0x32825),_0x1f09cb);}[_0x56051c(0x179)](_0x5a725d,_0xd7501e,_0x9ea95a){const _0x29e1db=_0x56051c;let _0xd4cdfd,_0x573799;if(typeof _0x5a725d==_0x29e1db(0x1d2)?(_0xd4cdfd=Buffer['byteLength'](_0x5a725d),_0x573799=!0x1):_0x431e17(_0x5a725d)?(_0xd4cdfd=_0x5a725d[_0x29e1db(0x1c2)],_0x573799=!0x1):(_0x5a725d=_0x1e4d43(_0x5a725d),_0xd4cdfd=_0x5a725d[_0x29e1db(0x1f5)],_0x573799=_0x1e4d43[_0x29e1db(0x26d)]),_0xd4cdfd>0x7d)throw new RangeError(_0x29e1db(0xf4));const _0x520866={[_0x2df1aa]:_0xd4cdfd,'fin':!0x0,'generateMask':this[_0x29e1db(0x167)],'mask':_0xd7501e,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x573799,'rsv1':!0x1};_0x431e17(_0x5a725d)?this[_0x29e1db(0x1bf)]!==_0x4d38fe?this[_0x29e1db(0x201)]([this[_0x29e1db(0xd6)],_0x5a725d,!0x1,_0x520866,_0x9ea95a]):this['getBlobData'](_0x5a725d,!0x1,_0x520866,_0x9ea95a):this[_0x29e1db(0x1bf)]!==_0x4d38fe?this['enqueue']([this[_0x29e1db(0x1b0)],_0x5a725d,!0x1,_0x520866,_0x9ea95a]):this[_0x29e1db(0x164)](_0x11da04[_0x29e1db(0x10b)](_0x5a725d,_0x520866),_0x9ea95a);}['pong'](_0x39c701,_0x624a3b,_0x37e49a){const _0xe3305e=_0x56051c;let _0x21354f,_0x4db2fb;if(typeof _0x39c701=='string'?(_0x21354f=Buffer['byteLength'](_0x39c701),_0x4db2fb=!0x1):_0x431e17(_0x39c701)?(_0x21354f=_0x39c701[_0xe3305e(0x1c2)],_0x4db2fb=!0x1):(_0x39c701=_0x1e4d43(_0x39c701),_0x21354f=_0x39c701[_0xe3305e(0x1f5)],_0x4db2fb=_0x1e4d43[_0xe3305e(0x26d)]),_0x21354f>0x7d)throw new RangeError(_0xe3305e(0xf4));const _0x43e5ef={[_0x2df1aa]:_0x21354f,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x624a3b,'maskBuffer':this[_0xe3305e(0x196)],'opcode':0xa,'readOnly':_0x4db2fb,'rsv1':!0x1};_0x431e17(_0x39c701)?this[_0xe3305e(0x1bf)]!==_0x4d38fe?this[_0xe3305e(0x201)]([this[_0xe3305e(0xd6)],_0x39c701,!0x1,_0x43e5ef,_0x37e49a]):this['getBlobData'](_0x39c701,!0x1,_0x43e5ef,_0x37e49a):this[_0xe3305e(0x1bf)]!==_0x4d38fe?this['enqueue']([this[_0xe3305e(0x1b0)],_0x39c701,!0x1,_0x43e5ef,_0x37e49a]):this[_0xe3305e(0x164)](_0x11da04[_0xe3305e(0x10b)](_0x39c701,_0x43e5ef),_0x37e49a);}['send'](_0x45f27a,_0x1d880d,_0x507f04){const _0x3aba96=_0x56051c,_0x4c46dc=this[_0x3aba96(0x136)][_0x4c476d['extensionName']];let _0xf6e0ed=_0x1d880d[_0x3aba96(0x116)]?0x2:0x1,_0x507dba=_0x1d880d[_0x3aba96(0x154)],_0xcbf50e,_0x14d901;typeof _0x45f27a==_0x3aba96(0x1d2)?(_0xcbf50e=Buffer[_0x3aba96(0x132)](_0x45f27a),_0x14d901=!0x1):_0x431e17(_0x45f27a)?(_0xcbf50e=_0x45f27a[_0x3aba96(0x1c2)],_0x14d901=!0x1):(_0x45f27a=_0x1e4d43(_0x45f27a),_0xcbf50e=_0x45f27a[_0x3aba96(0x1f5)],_0x14d901=_0x1e4d43[_0x3aba96(0x26d)]),this[_0x3aba96(0x1ef)]?(this['_firstFragment']=!0x1,_0x507dba&&_0x4c46dc&&_0x4c46dc[_0x3aba96(0x18d)][_0x4c46dc[_0x3aba96(0x1f8)]?'server_no_context_takeover':_0x3aba96(0x1b9)]&&(_0x507dba=_0xcbf50e>=_0x4c46dc['_threshold']),this['_compress']=_0x507dba):(_0x507dba=!0x1,_0xf6e0ed=0x0),_0x1d880d[_0x3aba96(0x1f3)]&&(this[_0x3aba96(0x1ef)]=!0x0);const _0x476b23={[_0x2df1aa]:_0xcbf50e,'fin':_0x1d880d[_0x3aba96(0x1f3)],'generateMask':this[_0x3aba96(0x167)],'mask':_0x1d880d[_0x3aba96(0xe5)],'maskBuffer':this[_0x3aba96(0x196)],'opcode':_0xf6e0ed,'readOnly':_0x14d901,'rsv1':_0x507dba};_0x431e17(_0x45f27a)?this['_state']!==_0x4d38fe?this[_0x3aba96(0x201)]([this[_0x3aba96(0xd6)],_0x45f27a,this['_compress'],_0x476b23,_0x507f04]):this[_0x3aba96(0xd6)](_0x45f27a,this[_0x3aba96(0x1da)],_0x476b23,_0x507f04):this['_state']!==_0x4d38fe?this[_0x3aba96(0x201)]([this[_0x3aba96(0x1b0)],_0x45f27a,this[_0x3aba96(0x1da)],_0x476b23,_0x507f04]):this[_0x3aba96(0x1b0)](_0x45f27a,this['_compress'],_0x476b23,_0x507f04);}['getBlobData'](_0x35005a,_0x4ae014,_0x5e1730,_0x853af9){const _0x5e3c5c=_0x56051c;this['_bufferedBytes']+=_0x5e1730[_0x2df1aa],this['_state']=_0x1a28f6,_0x35005a[_0x5e3c5c(0x1db)]()['then'](_0x285300=>{const _0x462ebb=_0x5e3c5c;if(this[_0x462ebb(0x22c)]['destroyed']){const _0x11bac2=new Error(_0x462ebb(0x230));process[_0x462ebb(0x1ae)](_0x1003f1,this,_0x11bac2,_0x853af9);return;}this[_0x462ebb(0x13a)]-=_0x5e1730[_0x2df1aa];const _0x155a5c=_0x1e4d43(_0x285300);_0x4ae014?this[_0x462ebb(0x1b0)](_0x155a5c,_0x4ae014,_0x5e1730,_0x853af9):(this[_0x462ebb(0x1bf)]=_0x4d38fe,this[_0x462ebb(0x164)](_0x11da04[_0x462ebb(0x10b)](_0x155a5c,_0x5e1730),_0x853af9),this[_0x462ebb(0x27b)]());})['catch'](_0x4b3a59=>{const _0x481b4b=_0x5e3c5c;process[_0x481b4b(0x1ae)](_0xae268f,this,_0x4b3a59,_0x853af9);});}[_0x56051c(0x1b0)](_0x1ab666,_0x1c7b4e,_0x4dff4c,_0x4e614e){const _0x3c0570=_0x56051c;if(!_0x1c7b4e){this[_0x3c0570(0x164)](_0x11da04[_0x3c0570(0x10b)](_0x1ab666,_0x4dff4c),_0x4e614e);return;}const _0x157509=this[_0x3c0570(0x136)][_0x4c476d[_0x3c0570(0x16e)]];this[_0x3c0570(0x13a)]+=_0x4dff4c[_0x2df1aa],this['_state']=_0x4c6b74,_0x157509['compress'](_0x1ab666,_0x4dff4c[_0x3c0570(0x1f3)],(_0x384cf,_0x21c094)=>{const _0x5d17ce=_0x3c0570;if(this[_0x5d17ce(0x22c)][_0x5d17ce(0x207)]){const _0x1dbc9f=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1003f1(this,_0x1dbc9f,_0x4e614e);return;}this['_bufferedBytes']-=_0x4dff4c[_0x2df1aa],this[_0x5d17ce(0x1bf)]=_0x4d38fe,_0x4dff4c[_0x5d17ce(0x26d)]=!0x1,this[_0x5d17ce(0x164)](_0x11da04[_0x5d17ce(0x10b)](_0x21c094,_0x4dff4c),_0x4e614e),this[_0x5d17ce(0x27b)]();});}[_0x56051c(0x27b)](){const _0x256a70=_0x56051c;for(;this[_0x256a70(0x1bf)]===_0x4d38fe&&this[_0x256a70(0x143)]['length'];){const _0x468292=this['_queue'][_0x256a70(0x163)]();this['_bufferedBytes']-=_0x468292[0x3][_0x2df1aa],Reflect['apply'](_0x468292[0x0],this,_0x468292[_0x256a70(0x12e)](0x1));}}[_0x56051c(0x201)](_0x3bfb73){const _0x4efbf1=_0x56051c;this[_0x4efbf1(0x13a)]+=_0x3bfb73[0x3][_0x2df1aa],this[_0x4efbf1(0x143)][_0x4efbf1(0x127)](_0x3bfb73);}['sendFrame'](_0x5a7e86,_0x4e256a){const _0x707ec1=_0x56051c;_0x5a7e86[_0x707ec1(0x1f5)]===0x2?(this[_0x707ec1(0x22c)]['cork'](),this[_0x707ec1(0x22c)][_0x707ec1(0xc5)](_0x5a7e86[0x0]),this['_socket'][_0x707ec1(0xc5)](_0x5a7e86[0x1],_0x4e256a),this[_0x707ec1(0x22c)]['uncork']()):this[_0x707ec1(0x22c)][_0x707ec1(0xc5)](_0x5a7e86[0x0],_0x4e256a);}}Ee=_0x11da04;function _0x1003f1(_0x3ba265,_0x57cd34,_0xfad9f){const _0x48e987=_0x56051c;typeof _0xfad9f==_0x48e987(0x17b)&&_0xfad9f(_0x57cd34);for(let _0x56c8a6=0x0;_0x56c8a6<_0x3ba265[_0x48e987(0x143)][_0x48e987(0x1f5)];_0x56c8a6++){const _0x2ccfca=_0x3ba265[_0x48e987(0x143)][_0x56c8a6],_0x4fc4eb=_0x2ccfca[_0x2ccfca[_0x48e987(0x1f5)]-0x1];typeof _0x4fc4eb=='function'&&_0x4fc4eb(_0x57cd34);}}function _0xae268f(_0x4ebe81,_0x440361,_0x33b868){const _0x233a9a=_0x56051c;_0x1003f1(_0x4ebe81,_0x440361,_0x33b868),_0x4ebe81[_0x233a9a(0xd5)](_0x440361);}return Ee;}var xe,Ze;function It(){const _0x2368ca=_0x4a8b65;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x130a06,kListener:_0x27623e}=H(),_0x35d5d7=Symbol(_0x2368ca(0x115)),_0x57288c=Symbol('kData'),_0x53959f=Symbol(_0x2368ca(0x11a)),_0x3c952b=Symbol(_0x2368ca(0xe8)),_0x56942e=Symbol(_0x2368ca(0xed)),_0x5c2ca8=Symbol(_0x2368ca(0x244)),_0x4f0620=Symbol(_0x2368ca(0x1f4)),_0x3b9b90=Symbol('kWasClean');class _0x453bd3{constructor(_0x1ee7e8){this[_0x5c2ca8]=null,this[_0x4f0620]=_0x1ee7e8;}get[_0x2368ca(0x1b1)](){return this[_0x5c2ca8];}get['type'](){return this[_0x4f0620];}}Object['defineProperty'](_0x453bd3[_0x2368ca(0xd2)],_0x2368ca(0x1b1),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x453bd3['prototype'],'type',{'enumerable':!0x0});class _0x11333f extends _0x453bd3{constructor(_0x3aef70,_0x3e29e4={}){const _0x42fa0b=_0x2368ca;super(_0x3aef70),this[_0x35d5d7]=_0x3e29e4[_0x42fa0b(0x131)]===void 0x0?0x0:_0x3e29e4['code'],this[_0x56942e]=_0x3e29e4[_0x42fa0b(0xde)]===void 0x0?'':_0x3e29e4[_0x42fa0b(0xde)],this[_0x3b9b90]=_0x3e29e4['wasClean']===void 0x0?!0x1:_0x3e29e4[_0x42fa0b(0x20c)];}get[_0x2368ca(0x131)](){return this[_0x35d5d7];}get[_0x2368ca(0xde)](){return this[_0x56942e];}get['wasClean'](){return this[_0x3b9b90];}}Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0x131),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0xde),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x11333f[_0x2368ca(0xd2)],_0x2368ca(0x20c),{'enumerable':!0x0});class _0x480e71 extends _0x453bd3{constructor(_0x7c271b,_0x57c067={}){const _0x5f09d2=_0x2368ca;super(_0x7c271b),this[_0x53959f]=_0x57c067[_0x5f09d2(0x227)]===void 0x0?null:_0x57c067[_0x5f09d2(0x227)],this[_0x3c952b]=_0x57c067[_0x5f09d2(0x13c)]===void 0x0?'':_0x57c067[_0x5f09d2(0x13c)];}get['error'](){return this[_0x53959f];}get[_0x2368ca(0x13c)](){return this[_0x3c952b];}}Object[_0x2368ca(0xe1)](_0x480e71[_0x2368ca(0xd2)],_0x2368ca(0x227),{'enumerable':!0x0}),Object[_0x2368ca(0xe1)](_0x480e71[_0x2368ca(0xd2)],_0x2368ca(0x13c),{'enumerable':!0x0});class _0x5eabbb extends _0x453bd3{constructor(_0x1d1b48,_0x3f9be0={}){const _0x4b6abe=_0x2368ca;super(_0x1d1b48),this[_0x57288c]=_0x3f9be0[_0x4b6abe(0xea)]===void 0x0?null:_0x3f9be0[_0x4b6abe(0xea)];}get['data'](){return this[_0x57288c];}}Object[_0x2368ca(0xe1)](_0x5eabbb[_0x2368ca(0xd2)],_0x2368ca(0xea),{'enumerable':!0x0}),xe={'CloseEvent':_0x11333f,'ErrorEvent':_0x480e71,'Event':_0x453bd3,'EventTarget':{'addEventListener'(_0x2f21d9,_0x295764,_0x4f4afb={}){const _0x1f2760=_0x2368ca;for(const _0x2b2fd2 of this['listeners'](_0x2f21d9))if(!_0x4f4afb[_0x130a06]&&_0x2b2fd2[_0x27623e]===_0x295764&&!_0x2b2fd2[_0x130a06])return;let _0x48587a;if(_0x2f21d9===_0x1f2760(0x13c))_0x48587a=function(_0x3322d5,_0x427966){const _0x377b52=_0x1f2760,_0x14b641=new _0x5eabbb(_0x377b52(0x13c),{'data':_0x427966?_0x3322d5:_0x3322d5[_0x377b52(0x147)]()});_0x14b641[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x14b641);};else{if(_0x2f21d9==='close')_0x48587a=function(_0x1d1ebf,_0x31abfa){const _0x246bd5=_0x1f2760,_0x18026f=new _0x11333f(_0x246bd5(0xe6),{'code':_0x1d1ebf,'reason':_0x31abfa[_0x246bd5(0x147)](),'wasClean':this[_0x246bd5(0x128)]&&this[_0x246bd5(0x253)]});_0x18026f[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x18026f);};else{if(_0x2f21d9===_0x1f2760(0x227))_0x48587a=function(_0x306466){const _0x453a25=_0x1f2760,_0x457295=new _0x480e71(_0x453a25(0x227),{'error':_0x306466,'message':_0x306466['message']});_0x457295[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0x457295);};else{if(_0x2f21d9===_0x1f2760(0x148))_0x48587a=function(){const _0xb1ed1b=_0x1f2760,_0xd19e08=new _0x453bd3(_0xb1ed1b(0x148));_0xd19e08[_0x5c2ca8]=this,_0x51108b(_0x295764,this,_0xd19e08);};else return;}}}_0x48587a[_0x130a06]=!!_0x4f4afb[_0x130a06],_0x48587a[_0x27623e]=_0x295764,_0x4f4afb['once']?this[_0x1f2760(0xff)](_0x2f21d9,_0x48587a):this['on'](_0x2f21d9,_0x48587a);},'removeEventListener'(_0x11ad77,_0x51f948){const _0x4d1989=_0x2368ca;for(const _0x40f547 of this['listeners'](_0x11ad77))if(_0x40f547[_0x27623e]===_0x51f948&&!_0x40f547[_0x130a06]){this[_0x4d1989(0x1d9)](_0x11ad77,_0x40f547);break;}}},'MessageEvent':_0x5eabbb};function _0x51108b(_0x59884c,_0x22811e,_0x2124d7){const _0x2bb483=_0x2368ca;typeof _0x59884c=='object'&&_0x59884c[_0x2bb483(0x122)]?_0x59884c[_0x2bb483(0x122)][_0x2bb483(0x259)](_0x59884c,_0x2124d7):_0x59884c[_0x2bb483(0x259)](_0x22811e,_0x2124d7);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x566f54}=ae();function _0x4e7c28(_0x153431,_0x218919,_0xc7d41f){_0x153431[_0x218919]===void 0x0?_0x153431[_0x218919]=[_0xc7d41f]:_0x153431[_0x218919]['push'](_0xc7d41f);}function _0x583bcb(_0xdb7f04){const _0xe3b138=_0x5911,_0xdcc11c=Object['create'](null);let _0x420606=Object[_0xe3b138(0xe7)](null),_0x10391f=!0x1,_0x2379ee=!0x1,_0x255fa5=!0x1,_0x5bac7c,_0x9d8e23,_0x47702e=-0x1,_0x21df4c=-0x1,_0x139925=-0x1,_0x2492d7=0x0;for(;_0x2492d7<_0xdb7f04['length'];_0x2492d7++)if(_0x21df4c=_0xdb7f04[_0xe3b138(0xd8)](_0x2492d7),_0x5bac7c===void 0x0){if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x2492d7!==0x0&&(_0x21df4c===0x20||_0x21df4c===0x9))_0x139925===-0x1&&_0x47702e!==-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7);const _0x36ec9e=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);_0x21df4c===0x2c?(_0x4e7c28(_0xdcc11c,_0x36ec9e,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null)):_0x5bac7c=_0x36ec9e,_0x47702e=_0x139925=-0x1;}else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}else{if(_0x9d8e23===void 0x0){if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x21df4c===0x20||_0x21df4c===0x9)_0x139925===-0x1&&_0x47702e!==-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7),_0x4e7c28(_0x420606,_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925),!0x0),_0x21df4c===0x2c&&(_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null),_0x5bac7c=void 0x0),_0x47702e=_0x139925=-0x1;}else{if(_0x21df4c===0x3d&&_0x47702e!==-0x1&&_0x139925===-0x1)_0x9d8e23=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x2492d7),_0x47702e=_0x139925=-0x1;else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}}else{if(_0x2379ee){if(_0x566f54[_0x21df4c]!==0x1)throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);_0x47702e===-0x1?_0x47702e=_0x2492d7:_0x10391f||(_0x10391f=!0x0),_0x2379ee=!0x1;}else{if(_0x255fa5){if(_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x21df4c===0x22&&_0x47702e!==-0x1)_0x255fa5=!0x1,_0x139925=_0x2492d7;else{if(_0x21df4c===0x5c)_0x2379ee=!0x0;else throw new SyntaxError(_0xe3b138(0x125)+_0x2492d7);}}}else{if(_0x21df4c===0x22&&_0xdb7f04[_0xe3b138(0xd8)](_0x2492d7-0x1)===0x3d)_0x255fa5=!0x0;else{if(_0x139925===-0x1&&_0x566f54[_0x21df4c]===0x1)_0x47702e===-0x1&&(_0x47702e=_0x2492d7);else{if(_0x47702e!==-0x1&&(_0x21df4c===0x20||_0x21df4c===0x9))_0x139925===-0x1&&(_0x139925=_0x2492d7);else{if(_0x21df4c===0x3b||_0x21df4c===0x2c){if(_0x47702e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);_0x139925===-0x1&&(_0x139925=_0x2492d7);let _0x3bfade=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);_0x10391f&&(_0x3bfade=_0x3bfade[_0xe3b138(0x26c)](/\\/g,''),_0x10391f=!0x1),_0x4e7c28(_0x420606,_0x9d8e23,_0x3bfade),_0x21df4c===0x2c&&(_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606),_0x420606=Object[_0xe3b138(0xe7)](null),_0x5bac7c=void 0x0),_0x9d8e23=void 0x0,_0x47702e=_0x139925=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2492d7);}}}}}}}if(_0x47702e===-0x1||_0x255fa5||_0x21df4c===0x20||_0x21df4c===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x139925===-0x1&&(_0x139925=_0x2492d7);const _0xa8d939=_0xdb7f04[_0xe3b138(0x12e)](_0x47702e,_0x139925);return _0x5bac7c===void 0x0?_0x4e7c28(_0xdcc11c,_0xa8d939,_0x420606):(_0x9d8e23===void 0x0?_0x4e7c28(_0x420606,_0xa8d939,!0x0):_0x10391f?_0x4e7c28(_0x420606,_0x9d8e23,_0xa8d939[_0xe3b138(0x26c)](/\\/g,'')):_0x4e7c28(_0x420606,_0x9d8e23,_0xa8d939),_0x4e7c28(_0xdcc11c,_0x5bac7c,_0x420606)),_0xdcc11c;}function _0x174a56(_0x4f7529){const _0xa975df=_0x5911;return Object[_0xa975df(0x149)](_0x4f7529)['map'](_0x2e0347=>{const _0x216771=_0xa975df;let _0x514f4b=_0x4f7529[_0x2e0347];return Array[_0x216771(0x1ad)](_0x514f4b)||(_0x514f4b=[_0x514f4b]),_0x514f4b[_0x216771(0x142)](_0xb83401=>[_0x2e0347][_0x216771(0x1f1)](Object[_0x216771(0x149)](_0xb83401)[_0x216771(0x142)](_0x2a397a=>{const _0x3f6e61=_0x216771;let _0x3ccd98=_0xb83401[_0x2a397a];return Array[_0x3f6e61(0x1ad)](_0x3ccd98)||(_0x3ccd98=[_0x3ccd98]),_0x3ccd98[_0x3f6e61(0x142)](_0x31e536=>_0x31e536===!0x0?_0x2a397a:_0x2a397a+'='+_0x31e536)[_0x3f6e61(0x13f)](';\x20');}))[_0x216771(0x13f)](';\x20'))[_0x216771(0x13f)](',\x20');})[_0xa975df(0x13f)](',\x20');}return be={'format':_0x174a56,'parse':_0x583bcb},be;}var we,Je;function Pe(){const _0x8c6faf=_0x4a8b65;if(Je)return we;Je=0x1;const _0x1aae4e=nt,_0x35f6fe=vt,_0x381751=ot,_0x4f12b8=St,_0x44e593=Et,{randomBytes:_0x45a67e,createHash:_0x23e27c}=Le,{Duplex:_0x1169ff,Readable:_0x329865}=oe,{URL:_0x17d8f8}=xt,_0xd5cd18=he(),_0x590664=lt(),_0x31dc90=ft(),{isBlob:_0x5cd20f}=ae(),{BINARY_TYPES:_0x50b73a,EMPTY_BUFFER:_0x2addc0,GUID:_0x39a44e,kForOnEventAttribute:_0x1f51ef,kListener:_0x19c60c,kStatusCode:_0x265e2c,kWebSocket:_0x558789,NOOP:_0x231cbd}=H(),{EventTarget:{addEventListener:_0x1530d0,removeEventListener:_0x23683d}}=It(),{format:_0x184ac8,parse:_0x2b252c}=ct(),{toBuffer:_0x49ed99}=ce(),_0x436869=0x1e*0x3e8,_0x1fcf8f=Symbol(_0x8c6faf(0x246)),_0x1c2a58=[0x8,0xd],_0x42dd4e=['CONNECTING',_0x8c6faf(0x280),_0x8c6faf(0x186),'CLOSED'],_0x47b6d4=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2ee91e extends _0x1aae4e{constructor(_0x19d85a,_0xc213fa,_0xc7dd92){const _0x5e9f5c=_0x8c6faf;super(),this[_0x5e9f5c(0x156)]=_0x50b73a[0x0],this[_0x5e9f5c(0x1df)]=0x3ee,this[_0x5e9f5c(0x128)]=!0x1,this[_0x5e9f5c(0x253)]=!0x1,this[_0x5e9f5c(0x22f)]=_0x2addc0,this[_0x5e9f5c(0x269)]=null,this[_0x5e9f5c(0x21c)]=!0x1,this['_extensions']={},this[_0x5e9f5c(0x10c)]=!0x1,this[_0x5e9f5c(0x184)]='',this['_readyState']=_0x2ee91e['CONNECTING'],this[_0x5e9f5c(0x20d)]=null,this[_0x5e9f5c(0x176)]=null,this[_0x5e9f5c(0x22c)]=null,_0x19d85a!==null?(this[_0x5e9f5c(0x11e)]=0x0,this[_0x5e9f5c(0x1f8)]=!0x1,this[_0x5e9f5c(0x26e)]=0x0,_0xc213fa===void 0x0?_0xc213fa=[]:Array[_0x5e9f5c(0x1ad)](_0xc213fa)||(typeof _0xc213fa==_0x5e9f5c(0x151)&&_0xc213fa!==null?(_0xc7dd92=_0xc213fa,_0xc213fa=[]):_0xc213fa=[_0xc213fa]),_0x2f446e(this,_0x19d85a,_0xc213fa,_0xc7dd92)):(this['_autoPong']=_0xc7dd92['autoPong'],this[_0x5e9f5c(0x1f8)]=!0x0);}get['binaryType'](){const _0x3fd5c2=_0x8c6faf;return this[_0x3fd5c2(0x156)];}set[_0x8c6faf(0x221)](_0x2f0f7e){const _0x269535=_0x8c6faf;_0x50b73a[_0x269535(0x282)](_0x2f0f7e)&&(this[_0x269535(0x156)]=_0x2f0f7e,this['_receiver']&&(this[_0x269535(0x20d)][_0x269535(0x156)]=_0x2f0f7e));}get[_0x8c6faf(0xdc)](){const _0x516961=_0x8c6faf;return this[_0x516961(0x22c)]?this[_0x516961(0x22c)][_0x516961(0x129)][_0x516961(0x1f5)]+this['_sender'][_0x516961(0x13a)]:this[_0x516961(0x11e)];}get[_0x8c6faf(0x16b)](){const _0x482966=_0x8c6faf;return Object[_0x482966(0x149)](this[_0x482966(0x136)])[_0x482966(0x13f)]();}get[_0x8c6faf(0x104)](){const _0x2381ca=_0x8c6faf;return this[_0x2381ca(0x10c)];}get[_0x8c6faf(0x23f)](){return null;}get[_0x8c6faf(0xd5)](){return null;}get[_0x8c6faf(0x1a0)](){return null;}get[_0x8c6faf(0x17d)](){return null;}get['protocol'](){const _0x3ea749=_0x8c6faf;return this[_0x3ea749(0x184)];}get['readyState'](){const _0xb650e1=_0x8c6faf;return this[_0xb650e1(0x158)];}get[_0x8c6faf(0x153)](){const _0xa75b43=_0x8c6faf;return this[_0xa75b43(0x204)];}[_0x8c6faf(0x1b8)](_0x449a15,_0x1b5d4c,_0x267290){const _0x16b742=_0x8c6faf,_0x103527=new _0x590664({'allowSynchronousEvents':_0x267290['allowSynchronousEvents'],'binaryType':this[_0x16b742(0x221)],'extensions':this[_0x16b742(0x136)],'isServer':this[_0x16b742(0x1f8)],'maxPayload':_0x267290[_0x16b742(0xcd)],'skipUTF8Validation':_0x267290[_0x16b742(0x24e)]}),_0x30d748=new _0x31dc90(_0x449a15,this[_0x16b742(0x136)],_0x267290[_0x16b742(0x236)]);this[_0x16b742(0x20d)]=_0x103527,this['_sender']=_0x30d748,this['_socket']=_0x449a15,_0x103527[_0x558789]=this,_0x30d748[_0x558789]=this,_0x449a15[_0x558789]=this,_0x103527['on'](_0x16b742(0x126),_0x4f53b6),_0x103527['on']('drain',_0x161874),_0x103527['on'](_0x16b742(0x227),_0x3db5fd),_0x103527['on'](_0x16b742(0x13c),_0x2a1fc8),_0x103527['on']('ping',_0x323699),_0x103527['on'](_0x16b742(0xcc),_0x48ff27),_0x30d748['onerror']=_0x261a52,_0x449a15['setTimeout']&&_0x449a15[_0x16b742(0x1ab)](0x0),_0x449a15[_0x16b742(0x25a)]&&_0x449a15[_0x16b742(0x25a)](),_0x1b5d4c[_0x16b742(0x1f5)]>0x0&&_0x449a15[_0x16b742(0x1bd)](_0x1b5d4c),_0x449a15['on'](_0x16b742(0xe6),_0x16f838),_0x449a15['on']('data',_0x13adf2),_0x449a15['on'](_0x16b742(0xce),_0x26b0ce),_0x449a15['on'](_0x16b742(0x227),_0x373281),this['_readyState']=_0x2ee91e[_0x16b742(0x280)],this[_0x16b742(0x19a)](_0x16b742(0x148));}[_0x8c6faf(0x181)](){const _0x4ff674=_0x8c6faf;if(!this[_0x4ff674(0x22c)]){this['_readyState']=_0x2ee91e[_0x4ff674(0x20f)],this[_0x4ff674(0x19a)](_0x4ff674(0xe6),this[_0x4ff674(0x1df)],this[_0x4ff674(0x22f)]);return;}this[_0x4ff674(0x136)][_0xd5cd18[_0x4ff674(0x16e)]]&&this[_0x4ff674(0x136)][_0xd5cd18['extensionName']][_0x4ff674(0x1c0)](),this[_0x4ff674(0x20d)]['removeAllListeners'](),this[_0x4ff674(0x158)]=_0x2ee91e[_0x4ff674(0x20f)],this[_0x4ff674(0x19a)](_0x4ff674(0xe6),this[_0x4ff674(0x1df)],this['_closeMessage']);}[_0x8c6faf(0xe6)](_0x5cf033,_0x1f2d48){const _0x587eb7=_0x8c6faf;if(this[_0x587eb7(0x1e2)]!==_0x2ee91e[_0x587eb7(0x20f)]){if(this[_0x587eb7(0x1e2)]===_0x2ee91e[_0x587eb7(0x160)]){_0x115bf3(this,this['_req'],_0x587eb7(0xbd));return;}if(this[_0x587eb7(0x1e2)]===_0x2ee91e[_0x587eb7(0x186)]){this[_0x587eb7(0x253)]&&(this['_closeFrameReceived']||this[_0x587eb7(0x20d)][_0x587eb7(0x129)][_0x587eb7(0x27d)])&&this[_0x587eb7(0x22c)][_0x587eb7(0xce)]();return;}this[_0x587eb7(0x158)]=_0x2ee91e['CLOSING'],this[_0x587eb7(0x176)]['close'](_0x5cf033,_0x1f2d48,!this[_0x587eb7(0x1f8)],_0x16f52c=>{const _0x52e245=_0x587eb7;_0x16f52c||(this[_0x52e245(0x253)]=!0x0,(this[_0x52e245(0x128)]||this[_0x52e245(0x20d)][_0x52e245(0x129)][_0x52e245(0x27d)])&&this[_0x52e245(0x22c)][_0x52e245(0xce)]());}),_0x1f691a(this);}}[_0x8c6faf(0x245)](){const _0x2532a0=_0x8c6faf;this[_0x2532a0(0x1e2)]===_0x2ee91e[_0x2532a0(0x160)]||this[_0x2532a0(0x1e2)]===_0x2ee91e['CLOSED']||(this['_paused']=!0x0,this[_0x2532a0(0x22c)]['pause']());}[_0x8c6faf(0x179)](_0x19122d,_0x212629,_0x476af7){const _0x4b671f=_0x8c6faf;if(this[_0x4b671f(0x1e2)]===_0x2ee91e['CONNECTING'])throw new Error(_0x4b671f(0x273));if(typeof _0x19122d==_0x4b671f(0x17b)?(_0x476af7=_0x19122d,_0x19122d=_0x212629=void 0x0):typeof _0x212629==_0x4b671f(0x17b)&&(_0x476af7=_0x212629,_0x212629=void 0x0),typeof _0x19122d==_0x4b671f(0x1c8)&&(_0x19122d=_0x19122d['toString']()),this[_0x4b671f(0x1e2)]!==_0x2ee91e[_0x4b671f(0x280)]){_0x169afc(this,_0x19122d,_0x476af7);return;}_0x212629===void 0x0&&(_0x212629=!this[_0x4b671f(0x1f8)]),this[_0x4b671f(0x176)]['ping'](_0x19122d||_0x2addc0,_0x212629,_0x476af7);}[_0x8c6faf(0xcc)](_0x50ca28,_0x548c0b,_0x10e675){const _0x144f51=_0x8c6faf;if(this[_0x144f51(0x1e2)]===_0x2ee91e[_0x144f51(0x160)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x50ca28==_0x144f51(0x17b)?(_0x10e675=_0x50ca28,_0x50ca28=_0x548c0b=void 0x0):typeof _0x548c0b==_0x144f51(0x17b)&&(_0x10e675=_0x548c0b,_0x548c0b=void 0x0),typeof _0x50ca28==_0x144f51(0x1c8)&&(_0x50ca28=_0x50ca28[_0x144f51(0x147)]()),this[_0x144f51(0x1e2)]!==_0x2ee91e[_0x144f51(0x280)]){_0x169afc(this,_0x50ca28,_0x10e675);return;}_0x548c0b===void 0x0&&(_0x548c0b=!this[_0x144f51(0x1f8)]),this['_sender']['pong'](_0x50ca28||_0x2addc0,_0x548c0b,_0x10e675);}['resume'](){const _0x237513=_0x8c6faf;this[_0x237513(0x1e2)]===_0x2ee91e[_0x237513(0x160)]||this[_0x237513(0x1e2)]===_0x2ee91e[_0x237513(0x20f)]||(this[_0x237513(0x10c)]=!0x1,this['_receiver'][_0x237513(0x129)]['needDrain']||this[_0x237513(0x22c)][_0x237513(0xeb)]());}[_0x8c6faf(0x13b)](_0x461b25,_0x4c535c,_0x5c9edb){const _0x412e6b=_0x8c6faf;if(this[_0x412e6b(0x1e2)]===_0x2ee91e['CONNECTING'])throw new Error(_0x412e6b(0x273));if(typeof _0x4c535c==_0x412e6b(0x17b)&&(_0x5c9edb=_0x4c535c,_0x4c535c={}),typeof _0x461b25==_0x412e6b(0x1c8)&&(_0x461b25=_0x461b25[_0x412e6b(0x147)]()),this['readyState']!==_0x2ee91e[_0x412e6b(0x280)]){_0x169afc(this,_0x461b25,_0x5c9edb);return;}const _0x1bf30b={'binary':typeof _0x461b25!=_0x412e6b(0x1d2),'mask':!this[_0x412e6b(0x1f8)],'compress':!0x0,'fin':!0x0,..._0x4c535c};this[_0x412e6b(0x136)][_0xd5cd18[_0x412e6b(0x16e)]]||(_0x1bf30b['compress']=!0x1),this['_sender'][_0x412e6b(0x13b)](_0x461b25||_0x2addc0,_0x1bf30b,_0x5c9edb);}[_0x8c6faf(0x15f)](){const _0x13fbc6=_0x8c6faf;if(this[_0x13fbc6(0x1e2)]!==_0x2ee91e[_0x13fbc6(0x20f)]){if(this['readyState']===_0x2ee91e['CONNECTING']){_0x115bf3(this,this['_req'],_0x13fbc6(0xbd));return;}this['_socket']&&(this[_0x13fbc6(0x158)]=_0x2ee91e[_0x13fbc6(0x186)],this[_0x13fbc6(0x22c)][_0x13fbc6(0x1c4)]());}}}Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x160),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CONNECTING')}),Object[_0x8c6faf(0xe1)](_0x2ee91e['prototype'],_0x8c6faf(0x160),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)](_0x8c6faf(0x160))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x280),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('OPEN')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x280),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)](_0x8c6faf(0x280))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,'CLOSING',{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSING')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x186),{'enumerable':!0x0,'value':_0x42dd4e['indexOf'](_0x8c6faf(0x186))}),Object[_0x8c6faf(0xe1)](_0x2ee91e,_0x8c6faf(0x20f),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSED')}),Object[_0x8c6faf(0xe1)](_0x2ee91e[_0x8c6faf(0xd2)],_0x8c6faf(0x20f),{'enumerable':!0x0,'value':_0x42dd4e[_0x8c6faf(0x105)]('CLOSED')}),[_0x8c6faf(0x221),_0x8c6faf(0xdc),_0x8c6faf(0x16b),_0x8c6faf(0x104),_0x8c6faf(0x1be),_0x8c6faf(0x1e2),'url'][_0x8c6faf(0x109)](_0x417e8d=>{const _0x3218b4=_0x8c6faf;Object[_0x3218b4(0xe1)](_0x2ee91e[_0x3218b4(0xd2)],_0x417e8d,{'enumerable':!0x0});}),[_0x8c6faf(0x148),_0x8c6faf(0x227),'close',_0x8c6faf(0x13c)]['forEach'](_0x886508=>{const _0x2abe39=_0x8c6faf;Object['defineProperty'](_0x2ee91e[_0x2abe39(0xd2)],'on'+_0x886508,{'enumerable':!0x0,'get'(){const _0x5ab0bc=_0x2abe39;for(const _0x3cabc1 of this[_0x5ab0bc(0xd7)](_0x886508))if(_0x3cabc1[_0x1f51ef])return _0x3cabc1[_0x19c60c];return null;},'set'(_0x321073){const _0x11ac65=_0x2abe39;for(const _0x431f27 of this[_0x11ac65(0xd7)](_0x886508))if(_0x431f27[_0x1f51ef]){this['removeListener'](_0x886508,_0x431f27);break;}typeof _0x321073=='function'&&this[_0x11ac65(0x140)](_0x886508,_0x321073,{[_0x1f51ef]:!0x0});}});}),_0x2ee91e[_0x8c6faf(0xd2)][_0x8c6faf(0x140)]=_0x1530d0,_0x2ee91e[_0x8c6faf(0xd2)][_0x8c6faf(0x1ea)]=_0x23683d,we=_0x2ee91e;function _0x2f446e(_0x4639ad,_0x486365,_0x49723b,_0x1ca383){const _0x10f1a6=_0x8c6faf,_0xf03b4e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1c2a58[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1ca383,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x10f1a6(0x118),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4639ad['_autoPong']=_0xf03b4e[_0x10f1a6(0x197)],!_0x1c2a58[_0x10f1a6(0x282)](_0xf03b4e[_0x10f1a6(0x159)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0xf03b4e[_0x10f1a6(0x159)]+_0x10f1a6(0x1bb)+_0x1c2a58[_0x10f1a6(0x13f)](',\x20')+')');let _0x6a5d30;if(_0x486365 instanceof _0x17d8f8)_0x6a5d30=_0x486365;else try{_0x6a5d30=new _0x17d8f8(_0x486365);}catch{throw new SyntaxError(_0x10f1a6(0x17c)+_0x486365);}_0x6a5d30[_0x10f1a6(0x1be)]===_0x10f1a6(0xc9)?_0x6a5d30[_0x10f1a6(0x1be)]=_0x10f1a6(0x107):_0x6a5d30['protocol']===_0x10f1a6(0xc1)&&(_0x6a5d30[_0x10f1a6(0x1be)]=_0x10f1a6(0x24f)),_0x4639ad[_0x10f1a6(0x204)]=_0x6a5d30['href'];const _0x3cc103=_0x6a5d30['protocol']===_0x10f1a6(0x24f),_0x3c41f9=_0x6a5d30['protocol']===_0x10f1a6(0x1ca);let _0x24032b;if(_0x6a5d30['protocol']!==_0x10f1a6(0x107)&&!_0x3cc103&&!_0x3c41f9?_0x24032b='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':_0x3c41f9&&!_0x6a5d30[_0x10f1a6(0x139)]?_0x24032b=_0x10f1a6(0x168):_0x6a5d30['hash']&&(_0x24032b=_0x10f1a6(0xca)),_0x24032b){const _0x2da802=new SyntaxError(_0x24032b);if(_0x4639ad[_0x10f1a6(0x26e)]===0x0)throw _0x2da802;_0x172d47(_0x4639ad,_0x2da802);return;}const _0x53d35f=_0x3cc103?0x1bb:0x50,_0x326347=_0x45a67e(0x10)[_0x10f1a6(0x147)](_0x10f1a6(0x141)),_0x1b23b4=_0x3cc103?_0x35f6fe[_0x10f1a6(0x134)]:_0x381751[_0x10f1a6(0x134)],_0x479e65=new Set();let _0x4352d8;if(_0xf03b4e['createConnection']=_0xf03b4e['createConnection']||(_0x3cc103?_0xd0b5e1:_0x377148),_0xf03b4e[_0x10f1a6(0x20a)]=_0xf03b4e[_0x10f1a6(0x20a)]||_0x53d35f,_0xf03b4e[_0x10f1a6(0x121)]=_0x6a5d30[_0x10f1a6(0x121)]||_0x53d35f,_0xf03b4e['host']=_0x6a5d30['hostname'][_0x10f1a6(0x1fc)]('[')?_0x6a5d30[_0x10f1a6(0x208)][_0x10f1a6(0x12e)](0x1,-0x1):_0x6a5d30[_0x10f1a6(0x208)],_0xf03b4e[_0x10f1a6(0x1c7)]={..._0xf03b4e[_0x10f1a6(0x1c7)],'Sec-WebSocket-Version':_0xf03b4e['protocolVersion'],'Sec-WebSocket-Key':_0x326347,'Connection':'Upgrade','Upgrade':_0x10f1a6(0x101)},_0xf03b4e[_0x10f1a6(0x194)]=_0x6a5d30[_0x10f1a6(0x139)]+_0x6a5d30[_0x10f1a6(0x1bc)],_0xf03b4e[_0x10f1a6(0x15d)]=_0xf03b4e[_0x10f1a6(0x1b3)],_0xf03b4e['perMessageDeflate']&&(_0x4352d8=new _0xd5cd18(_0xf03b4e[_0x10f1a6(0x138)]!==!0x0?_0xf03b4e[_0x10f1a6(0x138)]:{},!0x1,_0xf03b4e[_0x10f1a6(0xcd)]),_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x261)]=_0x184ac8({[_0xd5cd18[_0x10f1a6(0x16e)]]:_0x4352d8[_0x10f1a6(0x1fb)]()})),_0x49723b[_0x10f1a6(0x1f5)]){for(const _0x303133 of _0x49723b){if(typeof _0x303133!=_0x10f1a6(0x1d2)||!_0x47b6d4[_0x10f1a6(0xf2)](_0x303133)||_0x479e65[_0x10f1a6(0xdb)](_0x303133))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x479e65[_0x10f1a6(0x19c)](_0x303133);}_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x113)]=_0x49723b[_0x10f1a6(0x13f)](',');}if(_0xf03b4e[_0x10f1a6(0xcf)]&&(_0xf03b4e['protocolVersion']<0xd?_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x232)]=_0xf03b4e[_0x10f1a6(0xcf)]:_0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0xf1)]=_0xf03b4e[_0x10f1a6(0xcf)]),(_0x6a5d30[_0x10f1a6(0xc6)]||_0x6a5d30[_0x10f1a6(0x23e)])&&(_0xf03b4e[_0x10f1a6(0x223)]=_0x6a5d30[_0x10f1a6(0xc6)]+':'+_0x6a5d30[_0x10f1a6(0x23e)]),_0x3c41f9){const _0xb3d88f=_0xf03b4e[_0x10f1a6(0x194)][_0x10f1a6(0x182)](':');_0xf03b4e['socketPath']=_0xb3d88f[0x0],_0xf03b4e[_0x10f1a6(0x194)]=_0xb3d88f[0x1];}let _0x584dbe;if(_0xf03b4e[_0x10f1a6(0x1b2)]){if(_0x4639ad['_redirects']===0x0){_0x4639ad[_0x10f1a6(0x15a)]=_0x3c41f9,_0x4639ad[_0x10f1a6(0x19f)]=_0x3cc103,_0x4639ad[_0x10f1a6(0xe0)]=_0x3c41f9?_0xf03b4e[_0x10f1a6(0x112)]:_0x6a5d30['host'];const _0x4694b2=_0x1ca383&&_0x1ca383[_0x10f1a6(0x1c7)];if(_0x1ca383={..._0x1ca383,'headers':{}},_0x4694b2){for(const [_0x3435de,_0x55828f]of Object[_0x10f1a6(0xd0)](_0x4694b2))_0x1ca383[_0x10f1a6(0x1c7)][_0x3435de['toLowerCase']()]=_0x55828f;}}else{if(_0x4639ad[_0x10f1a6(0x25b)](_0x10f1a6(0x213))===0x0){const _0x30c3e9=_0x3c41f9?_0x4639ad[_0x10f1a6(0x15a)]?_0xf03b4e['socketPath']===_0x4639ad[_0x10f1a6(0xe0)]:!0x1:_0x4639ad['_originalIpc']?!0x1:_0x6a5d30[_0x10f1a6(0x117)]===_0x4639ad[_0x10f1a6(0xe0)];(!_0x30c3e9||_0x4639ad[_0x10f1a6(0x19f)]&&!_0x3cc103)&&(delete _0xf03b4e['headers']['authorization'],delete _0xf03b4e['headers'][_0x10f1a6(0x265)],_0x30c3e9||delete _0xf03b4e[_0x10f1a6(0x1c7)][_0x10f1a6(0x117)],_0xf03b4e['auth']=void 0x0);}}_0xf03b4e[_0x10f1a6(0x223)]&&!_0x1ca383[_0x10f1a6(0x1c7)][_0x10f1a6(0x191)]&&(_0x1ca383[_0x10f1a6(0x1c7)][_0x10f1a6(0x191)]=_0x10f1a6(0x250)+Buffer[_0x10f1a6(0x1c1)](_0xf03b4e[_0x10f1a6(0x223)])[_0x10f1a6(0x147)]('base64')),_0x584dbe=_0x4639ad['_req']=_0x1b23b4(_0xf03b4e),_0x4639ad['_redirects']&&_0x4639ad[_0x10f1a6(0x19a)](_0x10f1a6(0x213),_0x4639ad[_0x10f1a6(0x153)],_0x584dbe);}else _0x584dbe=_0x4639ad['_req']=_0x1b23b4(_0xf03b4e);_0xf03b4e[_0x10f1a6(0x15d)]&&_0x584dbe['on'](_0x10f1a6(0x15d),()=>{_0x115bf3(_0x4639ad,_0x584dbe,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x584dbe['on'](_0x10f1a6(0x227),_0x1da91d=>{const _0x97fd9b=_0x10f1a6;_0x584dbe===null||_0x584dbe[_0x1fcf8f]||(_0x584dbe=_0x4639ad[_0x97fd9b(0x25f)]=null,_0x172d47(_0x4639ad,_0x1da91d));}),_0x584dbe['on'](_0x10f1a6(0xc7),_0x31c602=>{const _0x30e48d=_0x10f1a6,_0x4bc187=_0x31c602['headers'][_0x30e48d(0x263)],_0x202cdc=_0x31c602['statusCode'];if(_0x4bc187&&_0xf03b4e[_0x30e48d(0x1b2)]&&_0x202cdc>=0x12c&&_0x202cdc<0x190){if(++_0x4639ad[_0x30e48d(0x26e)]>_0xf03b4e[_0x30e48d(0x172)]){_0x115bf3(_0x4639ad,_0x584dbe,'Maximum\x20redirects\x20exceeded');return;}_0x584dbe[_0x30e48d(0x1e6)]();let _0x58b166;try{_0x58b166=new _0x17d8f8(_0x4bc187,_0x486365);}catch{const _0x5f15f3=new SyntaxError(_0x30e48d(0x17c)+_0x4bc187);_0x172d47(_0x4639ad,_0x5f15f3);return;}_0x2f446e(_0x4639ad,_0x58b166,_0x49723b,_0x1ca383);}else _0x4639ad[_0x30e48d(0x19a)]('unexpected-response',_0x584dbe,_0x31c602)||_0x115bf3(_0x4639ad,_0x584dbe,_0x30e48d(0x1cf)+_0x31c602[_0x30e48d(0x16f)]);}),_0x584dbe['on'](_0x10f1a6(0x222),(_0x64ac42,_0x151241,_0x3a6a0a)=>{const _0x41a4ed=_0x10f1a6;if(_0x4639ad[_0x41a4ed(0x19a)]('upgrade',_0x64ac42),_0x4639ad['readyState']!==_0x2ee91e[_0x41a4ed(0x160)])return;_0x584dbe=_0x4639ad[_0x41a4ed(0x25f)]=null;const _0x9a183e=_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x222)];if(_0x9a183e===void 0x0||_0x9a183e[_0x41a4ed(0x124)]()!=='websocket'){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x152));return;}const _0x242d02=_0x23e27c(_0x41a4ed(0x1a2))['update'](_0x326347+_0x39a44e)['digest'](_0x41a4ed(0x141));if(_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x16a)]!==_0x242d02){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0xf5));return;}const _0xd277f0=_0x64ac42['headers']['sec-websocket-protocol'];let _0x80efb3;if(_0xd277f0!==void 0x0?_0x479e65[_0x41a4ed(0x1c2)]?_0x479e65[_0x41a4ed(0xdb)](_0xd277f0)||(_0x80efb3=_0x41a4ed(0xc2)):_0x80efb3='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x479e65[_0x41a4ed(0x1c2)]&&(_0x80efb3=_0x41a4ed(0x26b)),_0x80efb3){_0x115bf3(_0x4639ad,_0x151241,_0x80efb3);return;}_0xd277f0&&(_0x4639ad['_protocol']=_0xd277f0);const _0x23d398=_0x64ac42[_0x41a4ed(0x1c7)][_0x41a4ed(0x228)];if(_0x23d398!==void 0x0){if(!_0x4352d8){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0xd9));return;}let _0x536d60;try{_0x536d60=_0x2b252c(_0x23d398);}catch{_0x115bf3(_0x4639ad,_0x151241,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x527998=Object[_0x41a4ed(0x149)](_0x536d60);if(_0x527998[_0x41a4ed(0x1f5)]!==0x1||_0x527998[0x0]!==_0xd5cd18[_0x41a4ed(0x16e)]){_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x13d));return;}try{_0x4352d8['accept'](_0x536d60[_0xd5cd18[_0x41a4ed(0x16e)]]);}catch{_0x115bf3(_0x4639ad,_0x151241,_0x41a4ed(0x1aa));return;}_0x4639ad[_0x41a4ed(0x136)][_0xd5cd18[_0x41a4ed(0x16e)]]=_0x4352d8;}_0x4639ad[_0x41a4ed(0x1b8)](_0x151241,_0x3a6a0a,{'allowSynchronousEvents':_0xf03b4e[_0x41a4ed(0x1cb)],'generateMask':_0xf03b4e[_0x41a4ed(0x236)],'maxPayload':_0xf03b4e['maxPayload'],'skipUTF8Validation':_0xf03b4e[_0x41a4ed(0x24e)]});}),_0xf03b4e['finishRequest']?_0xf03b4e['finishRequest'](_0x584dbe,_0x4639ad):_0x584dbe['end']();}function _0x172d47(_0x11d396,_0xb018cc){const _0x5584e6=_0x8c6faf;_0x11d396[_0x5584e6(0x158)]=_0x2ee91e[_0x5584e6(0x186)],_0x11d396['_errorEmitted']=!0x0,_0x11d396[_0x5584e6(0x19a)](_0x5584e6(0x227),_0xb018cc),_0x11d396['emitClose']();}function _0x377148(_0x38c0d7){const _0x5060f2=_0x8c6faf;return _0x38c0d7[_0x5060f2(0x194)]=_0x38c0d7[_0x5060f2(0x112)],_0x4f12b8[_0x5060f2(0xfa)](_0x38c0d7);}function _0xd0b5e1(_0x414890){const _0x126a41=_0x8c6faf;return _0x414890['path']=void 0x0,!_0x414890[_0x126a41(0x260)]&&_0x414890['servername']!==''&&(_0x414890[_0x126a41(0x260)]=_0x4f12b8[_0x126a41(0x1ce)](_0x414890[_0x126a41(0x117)])?'':_0x414890[_0x126a41(0x117)]),_0x44e593['connect'](_0x414890);}function _0x115bf3(_0x3d6a98,_0x351751,_0x1b3424){const _0x148735=_0x8c6faf;_0x3d6a98['_readyState']=_0x2ee91e[_0x148735(0x186)];const _0x32d42a=new Error(_0x1b3424);Error[_0x148735(0x1a9)](_0x32d42a,_0x115bf3),_0x351751[_0x148735(0x14b)]?(_0x351751[_0x1fcf8f]=!0x0,_0x351751['abort'](),_0x351751[_0x148735(0xd4)]&&!_0x351751[_0x148735(0xd4)][_0x148735(0x207)]&&_0x351751['socket'][_0x148735(0x1c4)](),process[_0x148735(0x1ae)](_0x172d47,_0x3d6a98,_0x32d42a)):(_0x351751[_0x148735(0x1c4)](_0x32d42a),_0x351751[_0x148735(0xff)](_0x148735(0x227),_0x3d6a98['emit'][_0x148735(0xfc)](_0x3d6a98,_0x148735(0x227))),_0x351751['once'](_0x148735(0xe6),_0x3d6a98[_0x148735(0x181)][_0x148735(0xfc)](_0x3d6a98)));}function _0x169afc(_0x6fcefd,_0x30c0d1,_0x57ef4b){const _0x1699f2=_0x8c6faf;if(_0x30c0d1){const _0xf92ede=_0x5cd20f(_0x30c0d1)?_0x30c0d1['size']:_0x49ed99(_0x30c0d1)[_0x1699f2(0x1f5)];_0x6fcefd['_socket']?_0x6fcefd['_sender']['_bufferedBytes']+=_0xf92ede:_0x6fcefd[_0x1699f2(0x11e)]+=_0xf92ede;}if(_0x57ef4b){const _0x1a3370=new Error(_0x1699f2(0x202)+_0x6fcefd[_0x1699f2(0x1e2)]+'\x20('+_0x42dd4e[_0x6fcefd[_0x1699f2(0x1e2)]]+')');process[_0x1699f2(0x1ae)](_0x57ef4b,_0x1a3370);}}function _0x4f53b6(_0x3781f0,_0x45a7f4){const _0x436479=_0x8c6faf,_0x2400e3=this[_0x558789];_0x2400e3[_0x436479(0x128)]=!0x0,_0x2400e3[_0x436479(0x22f)]=_0x45a7f4,_0x2400e3[_0x436479(0x1df)]=_0x3781f0,_0x2400e3[_0x436479(0x22c)][_0x558789]!==void 0x0&&(_0x2400e3[_0x436479(0x22c)][_0x436479(0x1d9)](_0x436479(0xea),_0x13adf2),process['nextTick'](_0x3d368c,_0x2400e3[_0x436479(0x22c)]),_0x3781f0===0x3ed?_0x2400e3[_0x436479(0xe6)]():_0x2400e3[_0x436479(0xe6)](_0x3781f0,_0x45a7f4));}function _0x161874(){const _0x1a4e10=_0x8c6faf,_0x385434=this[_0x558789];_0x385434[_0x1a4e10(0x104)]||_0x385434['_socket'][_0x1a4e10(0xeb)]();}function _0x3db5fd(_0x39557a){const _0x524e53=_0x8c6faf,_0x283c43=this[_0x558789];_0x283c43[_0x524e53(0x22c)][_0x558789]!==void 0x0&&(_0x283c43[_0x524e53(0x22c)][_0x524e53(0x1d9)](_0x524e53(0xea),_0x13adf2),process['nextTick'](_0x3d368c,_0x283c43[_0x524e53(0x22c)]),_0x283c43[_0x524e53(0xe6)](_0x39557a[_0x265e2c])),_0x283c43[_0x524e53(0x21c)]||(_0x283c43[_0x524e53(0x21c)]=!0x0,_0x283c43[_0x524e53(0x19a)](_0x524e53(0x227),_0x39557a));}function _0x4f0ce3(){const _0x550791=_0x8c6faf;this[_0x558789][_0x550791(0x181)]();}function _0x2a1fc8(_0x15ab6b,_0x243f42){const _0x391cd9=_0x8c6faf;this[_0x558789][_0x391cd9(0x19a)](_0x391cd9(0x13c),_0x15ab6b,_0x243f42);}function _0x323699(_0x3f5e36){const _0x47aa03=_0x8c6faf,_0x37fbd3=this[_0x558789];_0x37fbd3[_0x47aa03(0xc3)]&&_0x37fbd3[_0x47aa03(0xcc)](_0x3f5e36,!this[_0x47aa03(0x1f8)],_0x231cbd),_0x37fbd3[_0x47aa03(0x19a)](_0x47aa03(0x179),_0x3f5e36);}function _0x48ff27(_0x2dedd3){const _0x3d06f1=_0x8c6faf;this[_0x558789]['emit'](_0x3d06f1(0xcc),_0x2dedd3);}function _0x3d368c(_0x1e3c5a){const _0x386c1e=_0x8c6faf;_0x1e3c5a[_0x386c1e(0xeb)]();}function _0x261a52(_0x538d6c){const _0xc2ae46=_0x8c6faf,_0x1bf1bc=this[_0x558789];_0x1bf1bc[_0xc2ae46(0x1e2)]!==_0x2ee91e[_0xc2ae46(0x20f)]&&(_0x1bf1bc['readyState']===_0x2ee91e[_0xc2ae46(0x280)]&&(_0x1bf1bc['_readyState']=_0x2ee91e[_0xc2ae46(0x186)],_0x1f691a(_0x1bf1bc)),this[_0xc2ae46(0x22c)][_0xc2ae46(0xce)](),_0x1bf1bc[_0xc2ae46(0x21c)]||(_0x1bf1bc[_0xc2ae46(0x21c)]=!0x0,_0x1bf1bc['emit']('error',_0x538d6c)));}function _0x1f691a(_0xde0141){const _0x1a0997=_0x8c6faf;_0xde0141[_0x1a0997(0x269)]=setTimeout(_0xde0141[_0x1a0997(0x22c)][_0x1a0997(0x1c4)][_0x1a0997(0xfc)](_0xde0141[_0x1a0997(0x22c)]),_0x436869);}function _0x16f838(){const _0x564074=_0x8c6faf,_0x29df8b=this[_0x558789];this['removeListener'](_0x564074(0xe6),_0x16f838),this[_0x564074(0x1d9)](_0x564074(0xea),_0x13adf2),this[_0x564074(0x1d9)](_0x564074(0xce),_0x26b0ce),_0x29df8b[_0x564074(0x158)]=_0x2ee91e[_0x564074(0x186)];let _0x34ff0d;!this[_0x564074(0x178)][_0x564074(0x19d)]&&!_0x29df8b['_closeFrameReceived']&&!_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)][_0x564074(0x27d)]&&(_0x34ff0d=_0x29df8b['_socket'][_0x564074(0x21f)]())!==null&&_0x29df8b[_0x564074(0x20d)][_0x564074(0xc5)](_0x34ff0d),_0x29df8b[_0x564074(0x20d)][_0x564074(0xce)](),this[_0x558789]=void 0x0,clearTimeout(_0x29df8b[_0x564074(0x269)]),_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)]['finished']||_0x29df8b[_0x564074(0x20d)][_0x564074(0x129)][_0x564074(0x27d)]?_0x29df8b[_0x564074(0x181)]():(_0x29df8b[_0x564074(0x20d)]['on']('error',_0x4f0ce3),_0x29df8b['_receiver']['on']('finish',_0x4f0ce3));}function _0x13adf2(_0x6cc912){const _0x2f36db=_0x8c6faf;this[_0x558789][_0x2f36db(0x20d)][_0x2f36db(0xc5)](_0x6cc912)||this[_0x2f36db(0x245)]();}function _0x26b0ce(){const _0x52375c=_0x8c6faf,_0xa741f3=this[_0x558789];_0xa741f3[_0x52375c(0x158)]=_0x2ee91e[_0x52375c(0x186)],_0xa741f3['_receiver'][_0x52375c(0xce)](),this[_0x52375c(0xce)]();}function _0x373281(){const _0x588f76=_0x8c6faf,_0x447fd7=this[_0x558789];this[_0x588f76(0x1d9)](_0x588f76(0x227),_0x373281),this['on'](_0x588f76(0x227),_0x231cbd),_0x447fd7&&(_0x447fd7[_0x588f76(0x158)]=_0x2ee91e[_0x588f76(0x186)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4c65d0}=oe;function _0x477035(_0xf7d13){const _0xb2f9b1=_0x5911;_0xf7d13[_0xb2f9b1(0x19a)](_0xb2f9b1(0xe6));}function _0x38415d(){const _0x1d73eb=_0x5911;!this[_0x1d73eb(0x207)]&&this[_0x1d73eb(0x129)][_0x1d73eb(0x24c)]&&this[_0x1d73eb(0x1c4)]();}function _0x160392(_0xafc151){const _0x5aeb32=_0x5911;this[_0x5aeb32(0x1d9)](_0x5aeb32(0x227),_0x160392),this[_0x5aeb32(0x1c4)](),this[_0x5aeb32(0x25b)]('error')===0x0&&this[_0x5aeb32(0x19a)]('error',_0xafc151);}function _0x2934a2(_0x17da27,_0x6d3558){const _0x4d08b2=_0x5911;let _0x82632e=!0x0;const _0x252bf2=new _0x4c65d0({..._0x6d3558,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x17da27['on']('message',function(_0x45b4ee,_0xd62592){const _0x54f5dc=_0x5911,_0x5417f6=!_0xd62592&&_0x252bf2[_0x54f5dc(0x178)][_0x54f5dc(0x268)]?_0x45b4ee['toString']():_0x45b4ee;_0x252bf2[_0x54f5dc(0x127)](_0x5417f6)||_0x17da27['pause']();}),_0x17da27[_0x4d08b2(0xff)](_0x4d08b2(0x227),function(_0x355726){const _0x3698c0=_0x4d08b2;_0x252bf2[_0x3698c0(0x207)]||(_0x82632e=!0x1,_0x252bf2['destroy'](_0x355726));}),_0x17da27['once']('close',function(){const _0x2c2095=_0x4d08b2;_0x252bf2[_0x2c2095(0x207)]||_0x252bf2[_0x2c2095(0x127)](null);}),_0x252bf2[_0x4d08b2(0x1b7)]=function(_0xe4c036,_0x2455f6){const _0x573518=_0x4d08b2;if(_0x17da27['readyState']===_0x17da27[_0x573518(0x20f)]){_0x2455f6(_0xe4c036),process[_0x573518(0x1ae)](_0x477035,_0x252bf2);return;}let _0x59d100=!0x1;_0x17da27[_0x573518(0xff)]('error',function(_0x2341cf){_0x59d100=!0x0,_0x2455f6(_0x2341cf);}),_0x17da27[_0x573518(0xff)]('close',function(){const _0x348d95=_0x573518;_0x59d100||_0x2455f6(_0xe4c036),process[_0x348d95(0x1ae)](_0x477035,_0x252bf2);}),_0x82632e&&_0x17da27['terminate']();},_0x252bf2['_final']=function(_0x3af567){const _0x2f3111=_0x4d08b2;if(_0x17da27[_0x2f3111(0x1e2)]===_0x17da27[_0x2f3111(0x160)]){_0x17da27[_0x2f3111(0xff)](_0x2f3111(0x148),function(){const _0x21fa7d=_0x2f3111;_0x252bf2[_0x21fa7d(0x242)](_0x3af567);});return;}_0x17da27['_socket']!==null&&(_0x17da27['_socket'][_0x2f3111(0x129)]['finished']?(_0x3af567(),_0x252bf2[_0x2f3111(0x178)][_0x2f3111(0x19d)]&&_0x252bf2[_0x2f3111(0x1c4)]()):(_0x17da27[_0x2f3111(0x22c)][_0x2f3111(0xff)](_0x2f3111(0x277),function(){_0x3af567();}),_0x17da27[_0x2f3111(0xe6)]()));},_0x252bf2['_read']=function(){const _0x10135e=_0x4d08b2;_0x17da27[_0x10135e(0x104)]&&_0x17da27['resume']();},_0x252bf2['_write']=function(_0xbe5b8,_0x246f7c,_0x76e90d){const _0x42f17d=_0x4d08b2;if(_0x17da27[_0x42f17d(0x1e2)]===_0x17da27[_0x42f17d(0x160)]){_0x17da27['once'](_0x42f17d(0x148),function(){_0x252bf2['_write'](_0xbe5b8,_0x246f7c,_0x76e90d);});return;}_0x17da27['send'](_0xbe5b8,_0x76e90d);},_0x252bf2['on'](_0x4d08b2(0xce),_0x38415d),_0x252bf2['on'](_0x4d08b2(0x227),_0x160392),_0x252bf2;}return Oe=_0x2934a2,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2186f2}=ae();function _0x373c1e(_0x1103f6){const _0x37bb4c=_0x5911,_0x41a077=new Set();let _0x585395=-0x1,_0x2b01d1=-0x1,_0x175743=0x0;for(_0x175743;_0x175743<_0x1103f6[_0x37bb4c(0x1f5)];_0x175743++){const _0x1f9880=_0x1103f6[_0x37bb4c(0xd8)](_0x175743);if(_0x2b01d1===-0x1&&_0x2186f2[_0x1f9880]===0x1)_0x585395===-0x1&&(_0x585395=_0x175743);else{if(_0x175743!==0x0&&(_0x1f9880===0x20||_0x1f9880===0x9))_0x2b01d1===-0x1&&_0x585395!==-0x1&&(_0x2b01d1=_0x175743);else{if(_0x1f9880===0x2c){if(_0x585395===-0x1)throw new SyntaxError(_0x37bb4c(0x125)+_0x175743);_0x2b01d1===-0x1&&(_0x2b01d1=_0x175743);const _0x157174=_0x1103f6[_0x37bb4c(0x12e)](_0x585395,_0x2b01d1);if(_0x41a077['has'](_0x157174))throw new SyntaxError(_0x37bb4c(0x108)+_0x157174+_0x37bb4c(0xe4));_0x41a077[_0x37bb4c(0x19c)](_0x157174),_0x585395=_0x2b01d1=-0x1;}else throw new SyntaxError(_0x37bb4c(0x125)+_0x175743);}}}if(_0x585395===-0x1||_0x2b01d1!==-0x1)throw new SyntaxError(_0x37bb4c(0x278));const _0x338d8f=_0x1103f6[_0x37bb4c(0x12e)](_0x585395,_0x175743);if(_0x41a077['has'](_0x338d8f))throw new SyntaxError('The\x20\x22'+_0x338d8f+_0x37bb4c(0xe4));return _0x41a077[_0x37bb4c(0x19c)](_0x338d8f),_0x41a077;}return Ce={'parse':_0x373c1e},Ce;}var Te,rt;function Ft(){const _0x2c9a6a=_0x4a8b65;if(rt)return Te;rt=0x1;const _0x4db31b=nt,_0x1745ee=ot,{Duplex:_0x4f0dc7}=oe,{createHash:_0x54418d}=Le,_0xac014d=ct(),_0x19cc52=he(),_0xeec3fb=At(),_0x2845a3=Pe(),{GUID:_0x57313d,kWebSocket:_0x2bd79f}=H(),_0x17c2fb=/^[+/0-9A-Za-z]{22}==$/,_0x433e91=0x0,_0x248eb1=0x1,_0x451594=0x2;class _0xe3773 extends _0x4db31b{constructor(_0x3a56f8,_0x472ecb){const _0x57ff3c=_0x5911;if(super(),_0x3a56f8={'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':_0x2845a3,..._0x3a56f8},_0x3a56f8[_0x57ff3c(0x121)]==null&&!_0x3a56f8['server']&&!_0x3a56f8['noServer']||_0x3a56f8[_0x57ff3c(0x121)]!=null&&(_0x3a56f8['server']||_0x3a56f8[_0x57ff3c(0x247)])||_0x3a56f8[_0x57ff3c(0x1d4)]&&_0x3a56f8[_0x57ff3c(0x247)])throw new TypeError(_0x57ff3c(0x145));if(_0x3a56f8[_0x57ff3c(0x121)]!=null?(this[_0x57ff3c(0x23a)]=_0x1745ee[_0x57ff3c(0xba)]((_0x3a243a,_0xe3d3cd)=>{const _0x3fc44d=_0x57ff3c,_0x4673d4=_0x1745ee[_0x3fc44d(0x255)][0x1aa];_0xe3d3cd[_0x3fc44d(0x258)](0x1aa,{'Content-Length':_0x4673d4[_0x3fc44d(0x1f5)],'Content-Type':_0x3fc44d(0x19b)}),_0xe3d3cd[_0x3fc44d(0xce)](_0x4673d4);}),this['_server']['listen'](_0x3a56f8[_0x57ff3c(0x121)],_0x3a56f8['host'],_0x3a56f8['backlog'],_0x472ecb)):_0x3a56f8[_0x57ff3c(0x1d4)]&&(this['_server']=_0x3a56f8[_0x57ff3c(0x1d4)]),this[_0x57ff3c(0x23a)]){const _0x2c9f19=this['emit'][_0x57ff3c(0xfc)](this,_0x57ff3c(0x114));this[_0x57ff3c(0xf0)]=_0xe4f537(this[_0x57ff3c(0x23a)],{'listening':this[_0x57ff3c(0x19a)]['bind'](this,_0x57ff3c(0xf8)),'error':this[_0x57ff3c(0x19a)][_0x57ff3c(0xfc)](this,_0x57ff3c(0x227)),'upgrade':(_0x3af03f,_0x5ee7b5,_0x1338b4)=>{const _0x400fd6=_0x57ff3c;this[_0x400fd6(0x175)](_0x3af03f,_0x5ee7b5,_0x1338b4,_0x2c9f19);}});}_0x3a56f8[_0x57ff3c(0x138)]===!0x0&&(_0x3a56f8[_0x57ff3c(0x138)]={}),_0x3a56f8['clientTracking']&&(this[_0x57ff3c(0x21a)]=new Set(),this[_0x57ff3c(0x1fa)]=!0x1),this['options']=_0x3a56f8,this[_0x57ff3c(0x1bf)]=_0x433e91;}[_0x2c9a6a(0x23c)](){const _0x23f2ff=_0x2c9a6a;if(this[_0x23f2ff(0x21b)][_0x23f2ff(0x247)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x23f2ff(0x23a)]?this[_0x23f2ff(0x23a)]['address']():null;}[_0x2c9a6a(0xe6)](_0x12dfcf){const _0xbf3228=_0x2c9a6a;if(this['_state']===_0x451594){_0x12dfcf&&this[_0xbf3228(0xff)](_0xbf3228(0xe6),()=>{const _0xf479b8=_0xbf3228;_0x12dfcf(new Error(_0xf479b8(0x111)));}),process[_0xbf3228(0x1ae)](_0x3307e1,this);return;}if(_0x12dfcf&&this['once'](_0xbf3228(0xe6),_0x12dfcf),this[_0xbf3228(0x1bf)]!==_0x248eb1){if(this[_0xbf3228(0x1bf)]=_0x248eb1,this['options'][_0xbf3228(0x247)]||this['options'][_0xbf3228(0x1d4)])this[_0xbf3228(0x23a)]&&(this[_0xbf3228(0xf0)](),this[_0xbf3228(0xf0)]=this[_0xbf3228(0x23a)]=null),this[_0xbf3228(0x21a)]?this['clients'][_0xbf3228(0x1c2)]?this[_0xbf3228(0x1fa)]=!0x0:process['nextTick'](_0x3307e1,this):process[_0xbf3228(0x1ae)](_0x3307e1,this);else{const _0x570b39=this[_0xbf3228(0x23a)];this[_0xbf3228(0xf0)](),this['_removeListeners']=this[_0xbf3228(0x23a)]=null,_0x570b39['close'](()=>{_0x3307e1(this);});}}}[_0x2c9a6a(0x11b)](_0x5a5556){const _0x4cf249=_0x2c9a6a;if(this[_0x4cf249(0x21b)][_0x4cf249(0x194)]){const _0x94521b=_0x5a5556[_0x4cf249(0x153)][_0x4cf249(0x105)]('?');if((_0x94521b!==-0x1?_0x5a5556[_0x4cf249(0x153)][_0x4cf249(0x12e)](0x0,_0x94521b):_0x5a5556['url'])!==this[_0x4cf249(0x21b)][_0x4cf249(0x194)])return!0x1;}return!0x0;}[_0x2c9a6a(0x175)](_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499){const _0x35244a=_0x2c9a6a;_0x2f4e6a['on']('error',_0x17a3a0);const _0x42aed5=_0x570a6b['headers'][_0x35244a(0x1d0)],_0x580b94=_0x570a6b[_0x35244a(0x1c7)][_0x35244a(0x222)],_0x551947=+_0x570a6b['headers'][_0x35244a(0xbf)];if(_0x570a6b[_0x35244a(0x1b6)]!==_0x35244a(0x118)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x195,_0x35244a(0x18c));return;}if(_0x580b94===void 0x0||_0x580b94[_0x35244a(0x124)]()!==_0x35244a(0x101)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x152));return;}if(_0x42aed5===void 0x0||!_0x17c2fb[_0x35244a(0xf2)](_0x42aed5)){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x1ff));return;}if(_0x551947!==0x8&&_0x551947!==0xd){_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x570a6b)){_0x5dbdd3(_0x2f4e6a,0x190);return;}const _0x428e79=_0x570a6b[_0x35244a(0x1c7)]['sec-websocket-protocol'];let _0x548327=new Set();if(_0x428e79!==void 0x0)try{_0x548327=_0xeec3fb['parse'](_0x428e79);}catch{_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0xec));return;}const _0x5d9840=_0x570a6b['headers'][_0x35244a(0x228)],_0x5bc4b1={};if(this[_0x35244a(0x21b)]['perMessageDeflate']&&_0x5d9840!==void 0x0){const _0x1bd0f1=new _0x19cc52(this[_0x35244a(0x21b)][_0x35244a(0x138)],!0x0,this[_0x35244a(0x21b)][_0x35244a(0xcd)]);try{const _0x50488c=_0xac014d[_0x35244a(0x248)](_0x5d9840);_0x50488c[_0x19cc52[_0x35244a(0x16e)]]&&(_0x1bd0f1[_0x35244a(0x210)](_0x50488c[_0x19cc52[_0x35244a(0x16e)]]),_0x5bc4b1[_0x19cc52[_0x35244a(0x16e)]]=_0x1bd0f1);}catch{_0x2342c5(this,_0x570a6b,_0x2f4e6a,0x190,_0x35244a(0x199));return;}}if(this[_0x35244a(0x21b)][_0x35244a(0x27c)]){const _0x2a412e={'origin':_0x570a6b[_0x35244a(0x1c7)][''+(_0x551947===0x8?_0x35244a(0xd1):_0x35244a(0xcf))],'secure':!!(_0x570a6b[_0x35244a(0xd4)][_0x35244a(0x133)]||_0x570a6b[_0x35244a(0xd4)][_0x35244a(0x13e)]),'req':_0x570a6b};if(this[_0x35244a(0x21b)][_0x35244a(0x27c)][_0x35244a(0x1f5)]===0x2){this[_0x35244a(0x21b)][_0x35244a(0x27c)](_0x2a412e,(_0xbc8b4e,_0x2e966f,_0xbd401d,_0x27b0d7)=>{const _0x4c63bf=_0x35244a;if(!_0xbc8b4e)return _0x5dbdd3(_0x2f4e6a,_0x2e966f||0x191,_0xbd401d,_0x27b0d7);this[_0x4c63bf(0x173)](_0x5bc4b1,_0x42aed5,_0x548327,_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499);});return;}if(!this[_0x35244a(0x21b)][_0x35244a(0x27c)](_0x2a412e))return _0x5dbdd3(_0x2f4e6a,0x191);}this[_0x35244a(0x173)](_0x5bc4b1,_0x42aed5,_0x548327,_0x570a6b,_0x2f4e6a,_0x2fa605,_0x220499);}['completeUpgrade'](_0x59ccbd,_0x211c2c,_0x170f05,_0xe5a376,_0x585298,_0x386d01,_0x26c81d){const _0x29c801=_0x2c9a6a;if(!_0x585298[_0x29c801(0x1e0)]||!_0x585298[_0x29c801(0x279)])return _0x585298[_0x29c801(0x1c4)]();if(_0x585298[_0x2bd79f])throw new Error(_0x29c801(0xe2));if(this['_state']>_0x433e91)return _0x5dbdd3(_0x585298,0x1f7);const _0x1e5123=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x29c801(0x200),_0x29c801(0x135),_0x29c801(0x177)+_0x54418d(_0x29c801(0x1a2))[_0x29c801(0x12b)](_0x211c2c+_0x57313d)[_0x29c801(0x1e4)](_0x29c801(0x141))],_0xb9aa06=new this[(_0x29c801(0x21b))][(_0x29c801(0x144))](null,void 0x0,this['options']);if(_0x170f05[_0x29c801(0x1c2)]){const _0x1beb3c=this[_0x29c801(0x21b)]['handleProtocols']?this['options'][_0x29c801(0x257)](_0x170f05,_0xe5a376):_0x170f05[_0x29c801(0x171)]()[_0x29c801(0x17f)]()['value'];_0x1beb3c&&(_0x1e5123['push'](_0x29c801(0x1cc)+_0x1beb3c),_0xb9aa06[_0x29c801(0x184)]=_0x1beb3c);}if(_0x59ccbd[_0x19cc52['extensionName']]){const _0x5a0600=_0x59ccbd[_0x19cc52[_0x29c801(0x16e)]][_0x29c801(0x18d)],_0x3acb9d=_0xac014d[_0x29c801(0xfe)]({[_0x19cc52[_0x29c801(0x16e)]]:[_0x5a0600]});_0x1e5123[_0x29c801(0x127)](_0x29c801(0x137)+_0x3acb9d),_0xb9aa06[_0x29c801(0x136)]=_0x59ccbd;}this[_0x29c801(0x19a)]('headers',_0x1e5123,_0xe5a376),_0x585298['write'](_0x1e5123[_0x29c801(0x1f1)]('\x0d\x0a')[_0x29c801(0x13f)]('\x0d\x0a')),_0x585298['removeListener'](_0x29c801(0x227),_0x17a3a0),_0xb9aa06[_0x29c801(0x1b8)](_0x585298,_0x386d01,{'allowSynchronousEvents':this[_0x29c801(0x21b)][_0x29c801(0x1cb)],'maxPayload':this[_0x29c801(0x21b)][_0x29c801(0xcd)],'skipUTF8Validation':this[_0x29c801(0x21b)][_0x29c801(0x24e)]}),this[_0x29c801(0x21a)]&&(this[_0x29c801(0x21a)][_0x29c801(0x19c)](_0xb9aa06),_0xb9aa06['on'](_0x29c801(0xe6),()=>{const _0x42e4a7=_0x29c801;this['clients'][_0x42e4a7(0x1fd)](_0xb9aa06),this[_0x42e4a7(0x1fa)]&&!this[_0x42e4a7(0x21a)]['size']&&process[_0x42e4a7(0x1ae)](_0x3307e1,this);})),_0x26c81d(_0xb9aa06,_0xe5a376);}}Te=_0xe3773;function _0xe4f537(_0x199893,_0x16b86a){const _0x2ee239=_0x2c9a6a;for(const _0x58dcb0 of Object[_0x2ee239(0x149)](_0x16b86a))_0x199893['on'](_0x58dcb0,_0x16b86a[_0x58dcb0]);return function(){const _0x2c1abb=_0x2ee239;for(const _0x28e241 of Object['keys'](_0x16b86a))_0x199893[_0x2c1abb(0x1d9)](_0x28e241,_0x16b86a[_0x28e241]);};}function _0x3307e1(_0x434ae3){const _0x20deda=_0x2c9a6a;_0x434ae3[_0x20deda(0x1bf)]=_0x451594,_0x434ae3[_0x20deda(0x19a)](_0x20deda(0xe6));}function _0x17a3a0(){const _0x2ceaff=_0x2c9a6a;this[_0x2ceaff(0x1c4)]();}function _0x5dbdd3(_0x12bf2b,_0x2b0a5a,_0x1fcf60,_0x260070){const _0x4f9697=_0x2c9a6a;_0x1fcf60=_0x1fcf60||_0x1745ee[_0x4f9697(0x255)][_0x2b0a5a],_0x260070={'Connection':_0x4f9697(0xe6),'Content-Type':_0x4f9697(0x1b5),'Content-Length':Buffer[_0x4f9697(0x132)](_0x1fcf60),..._0x260070},_0x12bf2b[_0x4f9697(0xff)](_0x4f9697(0x277),_0x12bf2b[_0x4f9697(0x1c4)]),_0x12bf2b[_0x4f9697(0xce)](_0x4f9697(0x19e)+_0x2b0a5a+'\x20'+_0x1745ee['STATUS_CODES'][_0x2b0a5a]+'\x0d\x0a'+Object[_0x4f9697(0x149)](_0x260070)['map'](_0x1285f9=>_0x1285f9+':\x20'+_0x260070[_0x1285f9])[_0x4f9697(0x13f)]('\x0d\x0a')+_0x4f9697(0x27a)+_0x1fcf60);}function _0x2342c5(_0x332201,_0x12d1d9,_0x460171,_0x53fbb9,_0x46bd87){const _0x4a2124=_0x2c9a6a;if(_0x332201[_0x4a2124(0x25b)](_0x4a2124(0x218))){const _0x51d1de=new Error(_0x46bd87);Error[_0x4a2124(0x1a9)](_0x51d1de,_0x2342c5),_0x332201[_0x4a2124(0x19a)](_0x4a2124(0x218),_0x51d1de,_0x460171,_0x12d1d9);}else _0x5dbdd3(_0x460171,_0x53fbb9,_0x46bd87);}return Te;}Ft();var jt=Object[_0x4a8b65(0xbe)],Wt=(_0x123411,_0x588046,_0x73e425,_0x6d323b)=>{const _0x236833=_0x4a8b65;for(var _0x4928fd=_0x6d323b>0x1?void 0x0:_0x6d323b?jt(_0x588046,_0x73e425):_0x588046,_0x60f1b7=_0x123411[_0x236833(0x1f5)]-0x1,_0x354eb6;_0x60f1b7>=0x0;_0x60f1b7--)(_0x354eb6=_0x123411[_0x60f1b7])&&(_0x4928fd=_0x354eb6(_0x4928fd)||_0x4928fd);return _0x4928fd;},qt=(_0x141b01,_0x3de12c)=>(_0x1a9fde,_0x5343d0)=>_0x3de12c(_0x1a9fde,_0x5343d0,_0x141b01);let ke=class extends A['Disposable']{constructor(_0x3aa1ed){const _0xea2713=_0x4a8b65;super(),this[_0xea2713(0x170)]=_0x3aa1ed;}[_0x4a8b65(0xe3)](_0x3505a9){const _0xec92f9=_0x4a8b65;var _0xb0718f;const _0x275eec=(_0xb0718f=this[_0xec92f9(0x170)]['getConfig'](fe))==null?void 0x0:_0xb0718f[_0xec92f9(0x1ac)];try{const _0x30ae01=new $t(_0x3505a9,{'headers':{..._0x275eec}}),_0x1f5910=new A['DisposableCollection']();return{'URL':_0x3505a9,'close':(_0x3fae31,_0x4a674e)=>{const _0x2ff3aa=_0xec92f9;_0x30ae01[_0x2ff3aa(0xe6)](_0x3fae31,_0x4a674e),_0x1f5910[_0x2ff3aa(0x1d3)]();},'send':_0x353390=>{const _0x27da32=_0xec92f9;_0x30ae01[_0x27da32(0x13b)](_0x353390);},'open$':new V[(_0xec92f9(0x266))](_0x1a2741=>{const _0x14a05b=_0xec92f9,_0x39530b=_0x34c3b4=>_0x1a2741[_0x14a05b(0x17f)](_0x34c3b4);_0x30ae01[_0x14a05b(0x140)](_0x14a05b(0x148),_0x39530b),_0x1f5910[_0x14a05b(0x19c)](A[_0x14a05b(0x17a)](()=>_0x30ae01[_0x14a05b(0x1ea)](_0x14a05b(0x148),_0x39530b)));})['pipe'](V[_0xec92f9(0x238)]()),'close$':new V[(_0xec92f9(0x266))](_0x245083=>{const _0x495def=_0xec92f9,_0x16ce1e=_0x3fa1f7=>_0x245083['next'](_0x3fa1f7);_0x30ae01[_0x495def(0x140)](_0x495def(0xe6),_0x16ce1e),_0x1f5910[_0x495def(0x19c)](A[_0x495def(0x17a)](()=>_0x30ae01['removeEventListener'](_0x495def(0xe6),_0x16ce1e)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]()),'error$':new V[(_0xec92f9(0x266))](_0x138eac=>{const _0x358fab=_0xec92f9,_0x528d6d=_0x44eb04=>_0x138eac[_0x358fab(0x17f)](_0x44eb04);_0x30ae01[_0x358fab(0x140)](_0x358fab(0x227),_0x528d6d),_0x1f5910[_0x358fab(0x19c)](A[_0x358fab(0x17a)](()=>_0x30ae01[_0x358fab(0x1ea)](_0x358fab(0x227),_0x528d6d)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]()),'message$':new V['Observable'](_0x2224a5=>{const _0x3c448d=_0xec92f9,_0x431310=_0x454ccf=>_0x2224a5[_0x3c448d(0x17f)](_0x454ccf);_0x30ae01[_0x3c448d(0x140)](_0x3c448d(0x13c),_0x431310),_0x1f5910[_0x3c448d(0x19c)](A[_0x3c448d(0x17a)](()=>_0x30ae01[_0x3c448d(0x1ea)](_0x3c448d(0x13c),_0x431310)));})[_0xec92f9(0x1af)](V[_0xec92f9(0x238)]())};}catch(_0x240c5a){return console[_0xec92f9(0x227)](_0x240c5a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x4a8b65(0xe1)],Vt=Object[_0x4a8b65(0xbe)],Ht=(_0x21bd87,_0xf77f19,_0x23c87a)=>_0xf77f19 in _0x21bd87?Gt(_0x21bd87,_0xf77f19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23c87a}):_0x21bd87[_0xf77f19]=_0x23c87a,zt=(_0x49f340,_0x4c776f,_0x899083,_0xa199a9)=>{for(var _0xe3d207=_0xa199a9>0x1?void 0x0:_0xa199a9?Vt(_0x4c776f,_0x899083):_0x4c776f,_0x526fc1=_0x49f340['length']-0x1,_0x380cfa;_0x526fc1>=0x0;_0x526fc1--)(_0x380cfa=_0x49f340[_0x526fc1])&&(_0xe3d207=_0x380cfa(_0xe3d207)||_0xe3d207);return _0xe3d207;},Ne=(_0xef31ab,_0x2dd306)=>(_0x25b458,_0x4dd493)=>_0x2dd306(_0x25b458,_0x4dd493,_0xef31ab),Yt=(_0x357ee9,_0x5dd627,_0x25a225)=>Ht(_0x357ee9,_0x5dd627+'',_0x25a225);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x4a8b65(0x14a)]{constructor(_0x514e88=Ct,_0x529e93,_0x1eac90,_0x1e7ed8){const _0x206dd9=_0x4a8b65;_0x514e88[_0x206dd9(0x1ac)]||_0x529e93[_0x206dd9(0x275)](_0x206dd9(0x10d)),super(),this[_0x206dd9(0x170)]=_0x1eac90,this['_injector']=_0x1e7ed8,this[_0x206dd9(0x170)][_0x206dd9(0x14e)](fe,_0x514e88);}['onStarting'](){this['_registerDependencies']();}[_0x4a8b65(0x1a6)](){const _0x4e79f1=_0x4a8b65;A['registerDependencies'](this[_0x4e79f1(0x1a1)],[[it[_0x4e79f1(0x264)],{'useClass':ke}]]);}},Yt(exports[_0x4a8b65(0x1c9)],_0x4a8b65(0x1e9),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x4a8b65(0x130)](st[_0x4a8b65(0x251)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x4a8b65(0x103)]),Ne(0x3,A[_0x4a8b65(0xdd)](A['Injector']))],exports[_0x4a8b65(0x1c9)]);var Kt=Object[_0x4a8b65(0xbe)],Xt=(_0x546958,_0xc89def,_0x262906,_0x104a1f)=>{const _0x3043c9=_0x4a8b65;for(var _0x2aa9c2=_0x104a1f>0x1?void 0x0:_0x104a1f?Kt(_0xc89def,_0x262906):_0xc89def,_0xc39440=_0x546958[_0x3043c9(0x1f5)]-0x1,_0x405753;_0xc39440>=0x0;_0xc39440--)(_0x405753=_0x546958[_0xc39440])&&(_0x2aa9c2=_0x405753(_0x2aa9c2)||_0x2aa9c2);return _0x2aa9c2;},ne=(_0x238ff7,_0x15ae73)=>(_0xe1b248,_0x1fff65)=>_0x15ae73(_0xe1b248,_0x1fff65,_0x238ff7);exports[_0x4a8b65(0x233)]=class extends st['CollaborationSocketService']{constructor(_0x4f7b58,_0x385746,_0x1cc9e6,_0x40b07b,_0x59ae6f){const _0x2699fb=_0x4a8b65;super(_0x4f7b58,_0x385746,_0x1cc9e6,_0x40b07b,_0x59ae6f);const _0x5de04d=this[_0x2699fb(0x170)]['getConfig'](fe);this['_httpService'][_0x2699fb(0xf7)]({'interceptor':(_0x7f1b98,_0x1d175f)=>{const _0x3b0f48=_0x2699fb;var _0x51eacb;const _0x33d7c1=_0x7f1b98[_0x3b0f48(0x1c7)];return(_0x51eacb=_0x5de04d==null?void 0x0:_0x5de04d[_0x3b0f48(0x1ac)])!=null&&_0x51eacb[_0x3b0f48(0x265)]&&_0x33d7c1[_0x3b0f48(0xc8)](_0x3b0f48(0xd3),_0x5de04d[_0x3b0f48(0x1ac)][_0x3b0f48(0x265)]),_0x1d175f(_0x7f1b98);}});}async[_0x4a8b65(0xe3)](_0x23d350){const _0x515c72=_0x4a8b65;return this[_0x515c72(0x1f0)](_0x23d350);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x4a8b65(0x211)])),ne(0x1,A[_0x4a8b65(0xdd)](it[_0x4a8b65(0x252)])),ne(0x2,A[_0x4a8b65(0x103)]),ne(0x3,A[_0x4a8b65(0x23b)]),ne(0x4,Ot[_0x4a8b65(0x1ba)])],exports[_0x4a8b65(0x233)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|