@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504231607 → 0.6.10-nightly.202504241607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x506706=_0x9e56;(function(_0x57f378,_0x13f3c1){const _0x5ee13e=_0x9e56,_0x516a7d=_0x57f378();while(!![]){try{const _0x1e708e=-parseInt(_0x5ee13e(0x270))/0x1*(parseInt(_0x5ee13e(0x24c))/0x2)+-parseInt(_0x5ee13e(0x1eb))/0x3+parseInt(_0x5ee13e(0x2e5))/0x4+-parseInt(_0x5ee13e(0x1e4))/0x5*(-parseInt(_0x5ee13e(0x1d4))/0x6)+parseInt(_0x5ee13e(0x216))/0x7+-parseInt(_0x5ee13e(0x316))/0x8*(parseInt(_0x5ee13e(0x292))/0x9)+-parseInt(_0x5ee13e(0x2ec))/0xa*(parseInt(_0x5ee13e(0x2d9))/0xb);if(_0x1e708e===_0x13f3c1)break;else _0x516a7d['push'](_0x516a7d['shift']());}catch(_0x1f7d81){_0x516a7d['push'](_0x516a7d['shift']());}}}(_0x9929,0x2fdd7));Object[_0x506706(0x2ce)](exports,Symbol[_0x506706(0x2a5)],{'value':_0x506706(0x20f)});const st=require(_0x506706(0x258)),A=require(_0x506706(0x253)),it=require(_0x506706(0x369)),V=require('rxjs'),nt=require(_0x506706(0x23d)),vt=require(_0x506706(0x36a)),ot=require(_0x506706(0x2f6)),St=require(_0x506706(0x1bc)),Et=require(_0x506706(0x30d)),Le=require(_0x506706(0x306)),oe=require('stream'),xt=require('url'),bt=require(_0x506706(0x2e2)),wt=require(_0x506706(0x327)),Ot=require(_0x506706(0x239)),fe=_0x506706(0x1f0),Ct={'customHeaders':{}};function Tt(_0x4fe53e){const _0x4372c5=_0x506706;return _0x4fe53e&&_0x4fe53e[_0x4372c5(0x263)]&&Object[_0x4372c5(0x1b8)][_0x4372c5(0x289)][_0x4372c5(0x224)](_0x4fe53e,_0x4372c5(0x222))?_0x4fe53e[_0x4372c5(0x222)]:_0x4fe53e;}function at(_0x14a65b){const _0xdd6bc8=_0x506706;if(Object[_0xdd6bc8(0x1b8)]['hasOwnProperty']['call'](_0x14a65b,_0xdd6bc8(0x263)))return _0x14a65b;var _0x2ad3de=_0x14a65b[_0xdd6bc8(0x222)];if(typeof _0x2ad3de==_0xdd6bc8(0x314)){var _0x10db7b=function _0x2d918e(){const _0x1d4ef1=_0xdd6bc8;return this instanceof _0x2d918e?Reflect[_0x1d4ef1(0x331)](_0x2ad3de,arguments,this['constructor']):_0x2ad3de[_0x1d4ef1(0x245)](this,arguments);};_0x10db7b['prototype']=_0x2ad3de[_0xdd6bc8(0x1b8)];}else _0x10db7b={};return Object[_0xdd6bc8(0x2ce)](_0x10db7b,_0xdd6bc8(0x263),{'value':!0x0}),Object['keys'](_0x14a65b)['forEach'](function(_0x1fe720){const _0x5e4edc=_0xdd6bc8;var _0xa83b50=Object['getOwnPropertyDescriptor'](_0x14a65b,_0x1fe720);Object['defineProperty'](_0x10db7b,_0x1fe720,_0xa83b50[_0x5e4edc(0x23b)]?_0xa83b50:{'enumerable':!0x0,'get':function(){return _0x14a65b[_0x1fe720];}});}),_0x10db7b;}var se={'exports':{}},ge,Ge;function H(){const _0x2a97ff=_0x506706;if(Ge)return ge;Ge=0x1;const _0x4548ff=[_0x2a97ff(0x1ec),_0x2a97ff(0x2e8),_0x2a97ff(0x34f)],_0x543486=typeof Blob<'u';return _0x543486&&_0x4548ff['push'](_0x2a97ff(0x1ba)),ge={'BINARY_TYPES':_0x4548ff,'EMPTY_BUFFER':Buffer[_0x2a97ff(0x28c)](0x0),'GUID':_0x2a97ff(0x285),'hasBlob':_0x543486,'kForOnEventAttribute':Symbol(_0x2a97ff(0x2aa)),'kListener':Symbol(_0x2a97ff(0x2f9)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x2a97ff(0x1db)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x506706(0x2ed)](Object[_0x506706(0x2ce)]({'__proto__':null,'default':Nt},Symbol[_0x506706(0x2a5)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x558ed9=_0x506706;if(Ve)return se[_0x558ed9(0x2e9)];Ve=0x1;const {EMPTY_BUFFER:_0x45c848}=H(),_0x54811c=Buffer[Symbol[_0x558ed9(0x2e0)]];function _0x73043f(_0x4879b6,_0x48d135){const _0x5a234f=_0x558ed9;if(_0x4879b6[_0x5a234f(0x2bd)]===0x0)return _0x45c848;if(_0x4879b6[_0x5a234f(0x2bd)]===0x1)return _0x4879b6[0x0];const _0x5108a7=Buffer['allocUnsafe'](_0x48d135);let _0x4976c7=0x0;for(let _0x53eea2=0x0;_0x53eea2<_0x4879b6[_0x5a234f(0x2bd)];_0x53eea2++){const _0x129e6f=_0x4879b6[_0x53eea2];_0x5108a7[_0x5a234f(0x1cd)](_0x129e6f,_0x4976c7),_0x4976c7+=_0x129e6f[_0x5a234f(0x2bd)];}return _0x4976c7<_0x48d135?new _0x54811c(_0x5108a7[_0x5a234f(0x327)],_0x5108a7[_0x5a234f(0x284)],_0x4976c7):_0x5108a7;}function _0x378f17(_0x593485,_0x1d1952,_0x2e4371,_0x21b791,_0x387c07){for(let _0x24f016=0x0;_0x24f016<_0x387c07;_0x24f016++)_0x2e4371[_0x21b791+_0x24f016]=_0x593485[_0x24f016]^_0x1d1952[_0x24f016&0x3];}function _0x48b7ef(_0x406d92,_0x1aa5d8){const _0x20d53e=_0x558ed9;for(let _0x1ce966=0x0;_0x1ce966<_0x406d92[_0x20d53e(0x2bd)];_0x1ce966++)_0x406d92[_0x1ce966]^=_0x1aa5d8[_0x1ce966&0x3];}function _0x53d879(_0x1d34d9){const _0xa73fae=_0x558ed9;return _0x1d34d9[_0xa73fae(0x2bd)]===_0x1d34d9[_0xa73fae(0x327)]['byteLength']?_0x1d34d9[_0xa73fae(0x327)]:_0x1d34d9[_0xa73fae(0x327)][_0xa73fae(0x343)](_0x1d34d9[_0xa73fae(0x284)],_0x1d34d9['byteOffset']+_0x1d34d9[_0xa73fae(0x2bd)]);}function _0x2f422f(_0x4387e5){const _0x215338=_0x558ed9;if(_0x2f422f[_0x215338(0x299)]=!0x0,Buffer[_0x215338(0x252)](_0x4387e5))return _0x4387e5;let _0x63ab7c;return _0x4387e5 instanceof ArrayBuffer?_0x63ab7c=new _0x54811c(_0x4387e5):ArrayBuffer[_0x215338(0x2e1)](_0x4387e5)?_0x63ab7c=new _0x54811c(_0x4387e5['buffer'],_0x4387e5[_0x215338(0x284)],_0x4387e5[_0x215338(0x23f)]):(_0x63ab7c=Buffer[_0x215338(0x2a8)](_0x4387e5),_0x2f422f[_0x215338(0x299)]=!0x1),_0x63ab7c;}if(se['exports']={'concat':_0x73043f,'mask':_0x378f17,'toArrayBuffer':_0x53d879,'toBuffer':_0x2f422f,'unmask':_0x48b7ef},!process[_0x558ed9(0x333)][_0x558ed9(0x358)])try{const _0xfa108c=Lt;se[_0x558ed9(0x2e9)][_0x558ed9(0x287)]=function(_0x3f4344,_0x25032e,_0x38647b,_0x51ce46,_0x170e31){_0x170e31<0x30?_0x378f17(_0x3f4344,_0x25032e,_0x38647b,_0x51ce46,_0x170e31):_0xfa108c['mask'](_0x3f4344,_0x25032e,_0x38647b,_0x51ce46,_0x170e31);},se['exports'][_0x558ed9(0x230)]=function(_0x5965a3,_0x509f56){const _0x3acc20=_0x558ed9;_0x5965a3[_0x3acc20(0x2bd)]<0x20?_0x48b7ef(_0x5965a3,_0x509f56):_0xfa108c[_0x3acc20(0x230)](_0x5965a3,_0x509f56);};}catch{}return se[_0x558ed9(0x2e9)];}var ye,He;function Pt(){const _0x5c9a28=_0x506706;if(He)return ye;He=0x1;const _0x3afa32=Symbol(_0x5c9a28(0x2f2)),_0xdda438=Symbol(_0x5c9a28(0x27b));class _0x5798fd{constructor(_0x355d97){const _0x51e36a=_0x5c9a28;this[_0x3afa32]=()=>{const _0x575d40=_0x9e56;this[_0x575d40(0x1ff)]--,this[_0xdda438]();},this[_0x51e36a(0x321)]=_0x355d97||0x1/0x0,this[_0x51e36a(0x1d8)]=[],this[_0x51e36a(0x1ff)]=0x0;}[_0x5c9a28(0x290)](_0x16bf59){const _0x3c268c=_0x5c9a28;this['jobs'][_0x3c268c(0x226)](_0x16bf59),this[_0xdda438]();}[_0xdda438](){const _0x1763f7=_0x5c9a28;if(this[_0x1763f7(0x1ff)]!==this['concurrency']&&this['jobs'][_0x1763f7(0x2bd)]){const _0x2467b2=this[_0x1763f7(0x1d8)][_0x1763f7(0x2cd)]();this[_0x1763f7(0x1ff)]++,_0x2467b2(this[_0x3afa32]);}}}return ye=_0x5798fd,ye;}var ve,ze;function he(){const _0x3c85e3=_0x506706;if(ze)return ve;ze=0x1;const _0x5a567a=bt,_0x4c88b6=ce(),_0x37cf95=Pt(),{kStatusCode:_0x517fc4}=H(),_0x4df2bc=Buffer[Symbol[_0x3c85e3(0x2e0)]],_0x38db92=Buffer[_0x3c85e3(0x2a8)]([0x0,0x0,0xff,0xff]),_0x1b64c4=Symbol(_0x3c85e3(0x2be)),_0x43d777=Symbol('total-length'),_0xcdd973=Symbol(_0x3c85e3(0x236)),_0x6fd814=Symbol(_0x3c85e3(0x317)),_0x469002=Symbol('error');let _0x3f6760;class _0x4902a6{constructor(_0x2d7cc2,_0x5c4637,_0x499127){const _0xb26f09=_0x3c85e3;if(this['_maxPayload']=_0x499127|0x0,this[_0xb26f09(0x1bb)]=_0x2d7cc2||{},this[_0xb26f09(0x335)]=this[_0xb26f09(0x1bb)][_0xb26f09(0x2b6)]!==void 0x0?this[_0xb26f09(0x1bb)][_0xb26f09(0x2b6)]:0x400,this['_isServer']=!!_0x5c4637,this[_0xb26f09(0x1d6)]=null,this[_0xb26f09(0x1fc)]=null,this['params']=null,!_0x3f6760){const _0x309985=this[_0xb26f09(0x1bb)]['concurrencyLimit']!==void 0x0?this['_options'][_0xb26f09(0x354)]:0xa;_0x3f6760=new _0x37cf95(_0x309985);}}static get['extensionName'](){const _0x194a98=_0x3c85e3;return _0x194a98(0x2be);}[_0x3c85e3(0x209)](){const _0x3dece3=_0x3c85e3,_0x181444={};return this['_options'][_0x3dece3(0x2b0)]&&(_0x181444['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x181444['client_no_context_takeover']=!0x0),this[_0x3dece3(0x1bb)][_0x3dece3(0x1f5)]&&(_0x181444[_0x3dece3(0x320)]=this[_0x3dece3(0x1bb)][_0x3dece3(0x1f5)]),this[_0x3dece3(0x1bb)][_0x3dece3(0x2f0)]?_0x181444['client_max_window_bits']=this[_0x3dece3(0x1bb)][_0x3dece3(0x2f0)]:this[_0x3dece3(0x1bb)][_0x3dece3(0x2f0)]==null&&(_0x181444[_0x3dece3(0x20b)]=!0x0),_0x181444;}['accept'](_0x2286f8){const _0x1d9254=_0x3c85e3;return _0x2286f8=this[_0x1d9254(0x27f)](_0x2286f8),this[_0x1d9254(0x280)]=this[_0x1d9254(0x1c1)]?this[_0x1d9254(0x353)](_0x2286f8):this[_0x1d9254(0x24d)](_0x2286f8),this[_0x1d9254(0x280)];}[_0x3c85e3(0x34a)](){const _0x3cd613=_0x3c85e3;if(this[_0x3cd613(0x1fc)]&&(this[_0x3cd613(0x1fc)][_0x3cd613(0x2dd)](),this['_inflate']=null),this[_0x3cd613(0x1d6)]){const _0x599c78=this['_deflate'][_0xcdd973];this[_0x3cd613(0x1d6)][_0x3cd613(0x2dd)](),this[_0x3cd613(0x1d6)]=null,_0x599c78&&_0x599c78(new Error(_0x3cd613(0x277)));}}[_0x3c85e3(0x353)](_0x50a07d){const _0x3bfef1=_0x3c85e3,_0xf237af=this[_0x3bfef1(0x1bb)],_0x40a5a9=_0x50a07d[_0x3bfef1(0x311)](_0x33152f=>!(_0xf237af[_0x3bfef1(0x2b0)]===!0x1&&_0x33152f[_0x3bfef1(0x1d2)]||_0x33152f[_0x3bfef1(0x320)]&&(_0xf237af['serverMaxWindowBits']===!0x1||typeof _0xf237af['serverMaxWindowBits']=='number'&&_0xf237af[_0x3bfef1(0x1f5)]>_0x33152f[_0x3bfef1(0x320)])||typeof _0xf237af['clientMaxWindowBits']==_0x3bfef1(0x2b4)&&!_0x33152f['client_max_window_bits']));if(!_0x40a5a9)throw new Error(_0x3bfef1(0x32c));return _0xf237af[_0x3bfef1(0x2b0)]&&(_0x40a5a9[_0x3bfef1(0x1d2)]=!0x0),_0xf237af[_0x3bfef1(0x268)]&&(_0x40a5a9[_0x3bfef1(0x2a1)]=!0x0),typeof _0xf237af[_0x3bfef1(0x1f5)]==_0x3bfef1(0x2b4)&&(_0x40a5a9[_0x3bfef1(0x320)]=_0xf237af[_0x3bfef1(0x1f5)]),typeof _0xf237af[_0x3bfef1(0x2f0)]==_0x3bfef1(0x2b4)?_0x40a5a9[_0x3bfef1(0x20b)]=_0xf237af[_0x3bfef1(0x2f0)]:(_0x40a5a9[_0x3bfef1(0x20b)]===!0x0||_0xf237af[_0x3bfef1(0x2f0)]===!0x1)&&delete _0x40a5a9[_0x3bfef1(0x20b)],_0x40a5a9;}[_0x3c85e3(0x24d)](_0x58a4b0){const _0x13f626=_0x3c85e3,_0x3da98b=_0x58a4b0[0x0];if(this[_0x13f626(0x1bb)][_0x13f626(0x268)]===!0x1&&_0x3da98b[_0x13f626(0x2a1)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x3da98b['client_max_window_bits'])typeof this[_0x13f626(0x1bb)][_0x13f626(0x2f0)]==_0x13f626(0x2b4)&&(_0x3da98b[_0x13f626(0x20b)]=this[_0x13f626(0x1bb)][_0x13f626(0x2f0)]);else{if(this[_0x13f626(0x1bb)][_0x13f626(0x2f0)]===!0x1||typeof this[_0x13f626(0x1bb)][_0x13f626(0x2f0)]==_0x13f626(0x2b4)&&_0x3da98b['client_max_window_bits']>this['_options'][_0x13f626(0x2f0)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3da98b;}[_0x3c85e3(0x27f)](_0xb2c28){const _0x4cbd9a=_0x3c85e3;return _0xb2c28[_0x4cbd9a(0x2db)](_0x4024af=>{const _0x693a5c=_0x4cbd9a;Object[_0x693a5c(0x34e)](_0x4024af)[_0x693a5c(0x2db)](_0x2a5e61=>{const _0x5dd881=_0x693a5c;let _0x5aa7ad=_0x4024af[_0x2a5e61];if(_0x5aa7ad[_0x5dd881(0x2bd)]>0x1)throw new Error(_0x5dd881(0x1e1)+_0x2a5e61+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x5aa7ad=_0x5aa7ad[0x0],_0x2a5e61===_0x5dd881(0x20b)){if(_0x5aa7ad!==!0x0){const _0x480588=+_0x5aa7ad;if(!Number[_0x5dd881(0x31f)](_0x480588)||_0x480588<0x8||_0x480588>0xf)throw new TypeError(_0x5dd881(0x33d)+_0x2a5e61+_0x5dd881(0x283)+_0x5aa7ad);_0x5aa7ad=_0x480588;}else{if(!this[_0x5dd881(0x1c1)])throw new TypeError(_0x5dd881(0x33d)+_0x2a5e61+_0x5dd881(0x283)+_0x5aa7ad);}}else{if(_0x2a5e61===_0x5dd881(0x320)){const _0x9af141=+_0x5aa7ad;if(!Number['isInteger'](_0x9af141)||_0x9af141<0x8||_0x9af141>0xf)throw new TypeError(_0x5dd881(0x33d)+_0x2a5e61+_0x5dd881(0x283)+_0x5aa7ad);_0x5aa7ad=_0x9af141;}else{if(_0x2a5e61===_0x5dd881(0x2a1)||_0x2a5e61===_0x5dd881(0x1d2)){if(_0x5aa7ad!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2a5e61+_0x5dd881(0x283)+_0x5aa7ad);}else throw new Error(_0x5dd881(0x2b3)+_0x2a5e61+'\x22');}}_0x4024af[_0x2a5e61]=_0x5aa7ad;});}),_0xb2c28;}['decompress'](_0x567df3,_0x1652b8,_0x3a99d4){const _0x225988=_0x3c85e3;_0x3f6760[_0x225988(0x290)](_0x405bc8=>{this['_decompress'](_0x567df3,_0x1652b8,(_0x3aac4f,_0x44a148)=>{_0x405bc8(),_0x3a99d4(_0x3aac4f,_0x44a148);});});}['compress'](_0x1bd2d6,_0x499439,_0x124b89){const _0x141920=_0x3c85e3;_0x3f6760[_0x141920(0x290)](_0x4d3a4a=>{const _0x4aa4fd=_0x141920;this[_0x4aa4fd(0x25a)](_0x1bd2d6,_0x499439,(_0x304f29,_0x66212e)=>{_0x4d3a4a(),_0x124b89(_0x304f29,_0x66212e);});});}[_0x3c85e3(0x264)](_0x1726b4,_0x2c87b2,_0x1e35ab){const _0x284c47=_0x3c85e3,_0x456647=this[_0x284c47(0x1c1)]?_0x284c47(0x22c):_0x284c47(0x218);if(!this['_inflate']){const _0x579e5d=_0x456647+'_max_window_bits',_0x214caa=typeof this[_0x284c47(0x280)][_0x579e5d]!=_0x284c47(0x2b4)?_0x5a567a[_0x284c47(0x372)]:this[_0x284c47(0x280)][_0x579e5d];this[_0x284c47(0x1fc)]=_0x5a567a['createInflateRaw']({...this[_0x284c47(0x1bb)][_0x284c47(0x1e2)],'windowBits':_0x214caa}),this[_0x284c47(0x1fc)][_0x1b64c4]=this,this[_0x284c47(0x1fc)][_0x43d777]=0x0,this[_0x284c47(0x1fc)][_0x6fd814]=[],this['_inflate']['on'](_0x284c47(0x2cb),_0x53c7f2),this[_0x284c47(0x1fc)]['on']('data',_0x3fd559);}this['_inflate'][_0xcdd973]=_0x1e35ab,this['_inflate']['write'](_0x1726b4),_0x2c87b2&&this['_inflate'][_0x284c47(0x1b3)](_0x38db92),this[_0x284c47(0x1fc)][_0x284c47(0x27e)](()=>{const _0xe33518=_0x284c47,_0xf6c3e0=this[_0xe33518(0x1fc)][_0x469002];if(_0xf6c3e0){this[_0xe33518(0x1fc)][_0xe33518(0x2dd)](),this[_0xe33518(0x1fc)]=null,_0x1e35ab(_0xf6c3e0);return;}const _0x1c75cf=_0x4c88b6[_0xe33518(0x1b9)](this[_0xe33518(0x1fc)][_0x6fd814],this[_0xe33518(0x1fc)][_0x43d777]);this[_0xe33518(0x1fc)][_0xe33518(0x26d)][_0xe33518(0x250)]?(this[_0xe33518(0x1fc)][_0xe33518(0x2dd)](),this['_inflate']=null):(this[_0xe33518(0x1fc)][_0x43d777]=0x0,this[_0xe33518(0x1fc)][_0x6fd814]=[],_0x2c87b2&&this[_0xe33518(0x280)][_0x456647+_0xe33518(0x22d)]&&this[_0xe33518(0x1fc)][_0xe33518(0x213)]()),_0x1e35ab(null,_0x1c75cf);});}[_0x3c85e3(0x25a)](_0x3def63,_0x41709d,_0x2dc935){const _0x151a60=_0x3c85e3,_0x103494=this['_isServer']?_0x151a60(0x218):'client';if(!this[_0x151a60(0x1d6)]){const _0x4a2944=_0x103494+'_max_window_bits',_0x5144d8=typeof this[_0x151a60(0x280)][_0x4a2944]!=_0x151a60(0x2b4)?_0x5a567a[_0x151a60(0x372)]:this[_0x151a60(0x280)][_0x4a2944];this[_0x151a60(0x1d6)]=_0x5a567a['createDeflateRaw']({...this[_0x151a60(0x1bb)][_0x151a60(0x214)],'windowBits':_0x5144d8}),this[_0x151a60(0x1d6)][_0x43d777]=0x0,this['_deflate'][_0x6fd814]=[],this[_0x151a60(0x1d6)]['on'](_0x151a60(0x254),_0x5bd876);}this[_0x151a60(0x1d6)][_0xcdd973]=_0x2dc935,this[_0x151a60(0x1d6)][_0x151a60(0x1b3)](_0x3def63),this[_0x151a60(0x1d6)][_0x151a60(0x27e)](_0x5a567a['Z_SYNC_FLUSH'],()=>{const _0x3d712f=_0x151a60;if(!this[_0x3d712f(0x1d6)])return;let _0x26b2e8=_0x4c88b6['concat'](this['_deflate'][_0x6fd814],this['_deflate'][_0x43d777]);_0x41709d&&(_0x26b2e8=new _0x4df2bc(_0x26b2e8[_0x3d712f(0x327)],_0x26b2e8['byteOffset'],_0x26b2e8[_0x3d712f(0x2bd)]-0x4)),this[_0x3d712f(0x1d6)][_0xcdd973]=null,this['_deflate'][_0x43d777]=0x0,this[_0x3d712f(0x1d6)][_0x6fd814]=[],_0x41709d&&this[_0x3d712f(0x280)][_0x103494+'_no_context_takeover']&&this['_deflate']['reset'](),_0x2dc935(null,_0x26b2e8);});}}ve=_0x4902a6;function _0x5bd876(_0xb4254d){const _0x749afc=_0x3c85e3;this[_0x6fd814][_0x749afc(0x226)](_0xb4254d),this[_0x43d777]+=_0xb4254d[_0x749afc(0x2bd)];}function _0x3fd559(_0x3b2e0b){const _0x3d1529=_0x3c85e3;if(this[_0x43d777]+=_0x3b2e0b[_0x3d1529(0x2bd)],this[_0x1b64c4]['_maxPayload']<0x1||this[_0x43d777]<=this[_0x1b64c4][_0x3d1529(0x300)]){this[_0x6fd814][_0x3d1529(0x226)](_0x3b2e0b);return;}this[_0x469002]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x469002][_0x3d1529(0x1df)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x469002][_0x517fc4]=0x3f1,this['removeListener'](_0x3d1529(0x254),_0x3fd559),this[_0x3d1529(0x213)]();}function _0x53c7f2(_0x1e8da9){this[_0x1b64c4]['_inflate']=null,_0x1e8da9[_0x517fc4]=0x3ef,this[_0xcdd973](_0x1e8da9);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x506706(0x2ed)](Object[_0x506706(0x2ce)]({'__proto__':null,'default':Dt},Symbol[_0x506706(0x2a5)],{'value':_0x506706(0x20f)})),Bt=at(Rt);var Ye;function ae(){const _0x3650e8=_0x506706;if(Ye)return ie[_0x3650e8(0x2e9)];Ye=0x1;const {isUtf8:_0x43ede4}=wt,{hasBlob:_0x3bd797}=H(),_0x28830c=[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 _0x203eaa(_0x1f7399){return _0x1f7399>=0x3e8&&_0x1f7399<=0x3f6&&_0x1f7399!==0x3ec&&_0x1f7399!==0x3ed&&_0x1f7399!==0x3ee||_0x1f7399>=0xbb8&&_0x1f7399<=0x1387;}function _0x161aca(_0x1509cc){const _0x3e688a=_0x1509cc['length'];let _0x474936=0x0;for(;_0x474936<_0x3e688a;)if((_0x1509cc[_0x474936]&0x80)===0x0)_0x474936++;else{if((_0x1509cc[_0x474936]&0xe0)===0xc0){if(_0x474936+0x1===_0x3e688a||(_0x1509cc[_0x474936+0x1]&0xc0)!==0x80||(_0x1509cc[_0x474936]&0xfe)===0xc0)return!0x1;_0x474936+=0x2;}else{if((_0x1509cc[_0x474936]&0xf0)===0xe0){if(_0x474936+0x2>=_0x3e688a||(_0x1509cc[_0x474936+0x1]&0xc0)!==0x80||(_0x1509cc[_0x474936+0x2]&0xc0)!==0x80||_0x1509cc[_0x474936]===0xe0&&(_0x1509cc[_0x474936+0x1]&0xe0)===0x80||_0x1509cc[_0x474936]===0xed&&(_0x1509cc[_0x474936+0x1]&0xe0)===0xa0)return!0x1;_0x474936+=0x3;}else{if((_0x1509cc[_0x474936]&0xf8)===0xf0){if(_0x474936+0x3>=_0x3e688a||(_0x1509cc[_0x474936+0x1]&0xc0)!==0x80||(_0x1509cc[_0x474936+0x2]&0xc0)!==0x80||(_0x1509cc[_0x474936+0x3]&0xc0)!==0x80||_0x1509cc[_0x474936]===0xf0&&(_0x1509cc[_0x474936+0x1]&0xf0)===0x80||_0x1509cc[_0x474936]===0xf4&&_0x1509cc[_0x474936+0x1]>0x8f||_0x1509cc[_0x474936]>0xf4)return!0x1;_0x474936+=0x4;}else return!0x1;}}}return!0x0;}function _0x501e84(_0x23d5cf){const _0x4bce5a=_0x3650e8;return _0x3bd797&&typeof _0x23d5cf==_0x4bce5a(0x286)&&typeof _0x23d5cf[_0x4bce5a(0x356)]==_0x4bce5a(0x314)&&typeof _0x23d5cf[_0x4bce5a(0x25e)]=='string'&&typeof _0x23d5cf['stream']==_0x4bce5a(0x314)&&(_0x23d5cf[Symbol[_0x4bce5a(0x2a5)]]===_0x4bce5a(0x23e)||_0x23d5cf[Symbol[_0x4bce5a(0x2a5)]]===_0x4bce5a(0x260));}if(ie['exports']={'isBlob':_0x501e84,'isValidStatusCode':_0x203eaa,'isValidUTF8':_0x161aca,'tokenChars':_0x28830c},_0x43ede4)ie[_0x3650e8(0x2e9)][_0x3650e8(0x35c)]=function(_0x4808ae){const _0x404fc7=_0x3650e8;return _0x4808ae[_0x404fc7(0x2bd)]<0x18?_0x161aca(_0x4808ae):_0x43ede4(_0x4808ae);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0xeb3008=Bt;ie[_0x3650e8(0x2e9)][_0x3650e8(0x35c)]=function(_0x48d2ac){const _0x77e34e=_0x3650e8;return _0x48d2ac[_0x77e34e(0x2bd)]<0x20?_0x161aca(_0x48d2ac):_0xeb3008(_0x48d2ac);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x23576c=_0x506706;if(Ke)return Se;Ke=0x1;const {Writable:_0x2b6be6}=oe,_0x361796=he(),{BINARY_TYPES:_0xbaaa39,EMPTY_BUFFER:_0x5d0ca8,kStatusCode:_0x35aa8b,kWebSocket:_0x3eaafd}=H(),{concat:_0x49a986,toArrayBuffer:_0x417abb,unmask:_0x831bf2}=ce(),{isValidStatusCode:_0xc380a4,isValidUTF8:_0x4d51bf}=ae(),_0x5718ad=Buffer[Symbol['species']],_0x446cc2=0x0,_0x15c34f=0x1,_0x4673e2=0x2,_0x27c69e=0x3,_0x54e1d5=0x4,_0x34b5bb=0x5,_0xadb9c3=0x6;class _0x542e61 extends _0x2b6be6{constructor(_0x52e7fb={}){const _0x326a6f=_0x9e56;super(),this[_0x326a6f(0x341)]=_0x52e7fb[_0x326a6f(0x276)]!==void 0x0?_0x52e7fb[_0x326a6f(0x276)]:!0x0,this[_0x326a6f(0x319)]=_0x52e7fb[_0x326a6f(0x2de)]||_0xbaaa39[0x0],this[_0x326a6f(0x373)]=_0x52e7fb[_0x326a6f(0x347)]||{},this['_isServer']=!!_0x52e7fb[_0x326a6f(0x329)],this[_0x326a6f(0x300)]=_0x52e7fb['maxPayload']|0x0,this[_0x326a6f(0x345)]=!!_0x52e7fb[_0x326a6f(0x1d3)],this[_0x3eaafd]=void 0x0,this[_0x326a6f(0x2bc)]=0x0,this['_buffers']=[],this[_0x326a6f(0x351)]=!0x1,this['_payloadLength']=0x0,this[_0x326a6f(0x308)]=void 0x0,this[_0x326a6f(0x352)]=0x0,this[_0x326a6f(0x31e)]=!0x1,this['_fin']=!0x1,this[_0x326a6f(0x2dc)]=0x0,this[_0x326a6f(0x2ba)]=0x0,this[_0x326a6f(0x1c4)]=0x0,this[_0x326a6f(0x371)]=[],this['_errored']=!0x1,this[_0x326a6f(0x1ee)]=!0x1,this[_0x326a6f(0x2a6)]=_0x446cc2;}[_0x23576c(0x273)](_0x52b425,_0x1cb34c,_0x5e7317){const _0x368e6b=_0x23576c;if(this['_opcode']===0x8&&this['_state']==_0x446cc2)return _0x5e7317();this['_bufferedBytes']+=_0x52b425[_0x368e6b(0x2bd)],this[_0x368e6b(0x1bd)][_0x368e6b(0x226)](_0x52b425),this[_0x368e6b(0x33c)](_0x5e7317);}[_0x23576c(0x244)](_0x2cd1a4){const _0x41cac6=_0x23576c;if(this[_0x41cac6(0x2bc)]-=_0x2cd1a4,_0x2cd1a4===this[_0x41cac6(0x1bd)][0x0][_0x41cac6(0x2bd)])return this[_0x41cac6(0x1bd)][_0x41cac6(0x2cd)]();if(_0x2cd1a4<this[_0x41cac6(0x1bd)][0x0][_0x41cac6(0x2bd)]){const _0x276af2=this[_0x41cac6(0x1bd)][0x0];return this[_0x41cac6(0x1bd)][0x0]=new _0x5718ad(_0x276af2[_0x41cac6(0x327)],_0x276af2['byteOffset']+_0x2cd1a4,_0x276af2[_0x41cac6(0x2bd)]-_0x2cd1a4),new _0x5718ad(_0x276af2[_0x41cac6(0x327)],_0x276af2[_0x41cac6(0x284)],_0x2cd1a4);}const _0x526a74=Buffer[_0x41cac6(0x259)](_0x2cd1a4);do{const _0x5ab996=this[_0x41cac6(0x1bd)][0x0],_0x1ee506=_0x526a74['length']-_0x2cd1a4;_0x2cd1a4>=_0x5ab996[_0x41cac6(0x2bd)]?_0x526a74[_0x41cac6(0x1cd)](this[_0x41cac6(0x1bd)]['shift'](),_0x1ee506):(_0x526a74[_0x41cac6(0x1cd)](new Uint8Array(_0x5ab996[_0x41cac6(0x327)],_0x5ab996[_0x41cac6(0x284)],_0x2cd1a4),_0x1ee506),this['_buffers'][0x0]=new _0x5718ad(_0x5ab996[_0x41cac6(0x327)],_0x5ab996[_0x41cac6(0x284)]+_0x2cd1a4,_0x5ab996[_0x41cac6(0x2bd)]-_0x2cd1a4)),_0x2cd1a4-=_0x5ab996[_0x41cac6(0x2bd)];}while(_0x2cd1a4>0x0);return _0x526a74;}['startLoop'](_0x10ef05){const _0x36d48a=_0x23576c;this[_0x36d48a(0x1ee)]=!0x0;do switch(this[_0x36d48a(0x2a6)]){case _0x446cc2:this[_0x36d48a(0x1be)](_0x10ef05);break;case _0x15c34f:this[_0x36d48a(0x2f3)](_0x10ef05);break;case _0x4673e2:this[_0x36d48a(0x210)](_0x10ef05);break;case _0x27c69e:this[_0x36d48a(0x357)]();break;case _0x54e1d5:this['getData'](_0x10ef05);break;case _0x34b5bb:case _0xadb9c3:this[_0x36d48a(0x1ee)]=!0x1;return;}while(this[_0x36d48a(0x1ee)]);this[_0x36d48a(0x1f1)]||_0x10ef05();}[_0x23576c(0x1be)](_0x47737e){const _0x10c20e=_0x23576c;if(this[_0x10c20e(0x2bc)]<0x2){this[_0x10c20e(0x1ee)]=!0x1;return;}const _0x5bf617=this[_0x10c20e(0x244)](0x2);if((_0x5bf617[0x0]&0x30)!==0x0){const _0x365eba=this['createError'](RangeError,_0x10c20e(0x2ef),!0x0,0x3ea,_0x10c20e(0x28f));_0x47737e(_0x365eba);return;}const _0x40ba26=(_0x5bf617[0x0]&0x40)===0x40;if(_0x40ba26&&!this[_0x10c20e(0x373)][_0x361796[_0x10c20e(0x1d5)]]){const _0x20adaa=this[_0x10c20e(0x2d5)](RangeError,_0x10c20e(0x1ad),!0x0,0x3ea,_0x10c20e(0x322));_0x47737e(_0x20adaa);return;}if(this[_0x10c20e(0x242)]=(_0x5bf617[0x0]&0x80)===0x80,this[_0x10c20e(0x2dc)]=_0x5bf617[0x0]&0xf,this['_payloadLength']=_0x5bf617[0x1]&0x7f,this[_0x10c20e(0x2dc)]===0x0){if(_0x40ba26){const _0x16892f=this[_0x10c20e(0x2d5)](RangeError,_0x10c20e(0x1ad),!0x0,0x3ea,_0x10c20e(0x322));_0x47737e(_0x16892f);return;}if(!this[_0x10c20e(0x352)]){const _0x3afc51=this[_0x10c20e(0x2d5)](RangeError,_0x10c20e(0x251),!0x0,0x3ea,_0x10c20e(0x204));_0x47737e(_0x3afc51);return;}this[_0x10c20e(0x2dc)]=this[_0x10c20e(0x352)];}else{if(this[_0x10c20e(0x2dc)]===0x1||this[_0x10c20e(0x2dc)]===0x2){if(this[_0x10c20e(0x352)]){const _0x3bd92e=this[_0x10c20e(0x2d5)](RangeError,_0x10c20e(0x2ae)+this[_0x10c20e(0x2dc)],!0x0,0x3ea,_0x10c20e(0x204));_0x47737e(_0x3bd92e);return;}this['_compressed']=_0x40ba26;}else{if(this[_0x10c20e(0x2dc)]>0x7&&this[_0x10c20e(0x2dc)]<0xb){if(!this[_0x10c20e(0x242)]){const _0x4b93b5=this[_0x10c20e(0x2d5)](RangeError,_0x10c20e(0x32b),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x47737e(_0x4b93b5);return;}if(_0x40ba26){const _0x422fec=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x47737e(_0x422fec);return;}if(this[_0x10c20e(0x367)]>0x7d||this[_0x10c20e(0x2dc)]===0x8&&this['_payloadLength']===0x1){const _0x11f440=this[_0x10c20e(0x2d5)](RangeError,_0x10c20e(0x36f)+this[_0x10c20e(0x367)],!0x0,0x3ea,_0x10c20e(0x271));_0x47737e(_0x11f440);return;}}else{const _0x15554d=this[_0x10c20e(0x2d5)](RangeError,_0x10c20e(0x2ae)+this['_opcode'],!0x0,0x3ea,_0x10c20e(0x204));_0x47737e(_0x15554d);return;}}}if(!this[_0x10c20e(0x242)]&&!this[_0x10c20e(0x352)]&&(this[_0x10c20e(0x352)]=this[_0x10c20e(0x2dc)]),this['_masked']=(_0x5bf617[0x1]&0x80)===0x80,this[_0x10c20e(0x1c1)]){if(!this[_0x10c20e(0x31e)]){const _0x59f5ad=this['createError'](RangeError,_0x10c20e(0x36d),!0x0,0x3ea,_0x10c20e(0x29e));_0x47737e(_0x59f5ad);return;}}else{if(this[_0x10c20e(0x31e)]){const _0x5f5db3=this[_0x10c20e(0x2d5)](RangeError,_0x10c20e(0x2ee),!0x0,0x3ea,_0x10c20e(0x247));_0x47737e(_0x5f5db3);return;}}this['_payloadLength']===0x7e?this[_0x10c20e(0x2a6)]=_0x15c34f:this[_0x10c20e(0x367)]===0x7f?this[_0x10c20e(0x2a6)]=_0x4673e2:this['haveLength'](_0x47737e);}[_0x23576c(0x2f3)](_0x108579){const _0x393ae1=_0x23576c;if(this[_0x393ae1(0x2bc)]<0x2){this[_0x393ae1(0x1ee)]=!0x1;return;}this[_0x393ae1(0x367)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x393ae1(0x1c7)](_0x108579);}[_0x23576c(0x210)](_0x5dc7dd){const _0x485f62=_0x23576c;if(this[_0x485f62(0x2bc)]<0x8){this[_0x485f62(0x1ee)]=!0x1;return;}const _0x319d28=this[_0x485f62(0x244)](0x8),_0x22d4e7=_0x319d28[_0x485f62(0x2f8)](0x0);if(_0x22d4e7>Math['pow'](0x2,0x15)-0x1){const _0x165c5f=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x485f62(0x21d));_0x5dc7dd(_0x165c5f);return;}this['_payloadLength']=_0x22d4e7*Math[_0x485f62(0x1dd)](0x2,0x20)+_0x319d28['readUInt32BE'](0x4),this[_0x485f62(0x1c7)](_0x5dc7dd);}[_0x23576c(0x1c7)](_0xcd0543){const _0xdf77a2=_0x23576c;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0xdf77a2(0x2ba)]+=this[_0xdf77a2(0x367)],this[_0xdf77a2(0x2ba)]>this[_0xdf77a2(0x300)]&&this[_0xdf77a2(0x300)]>0x0)){const _0x404421=this['createError'](RangeError,_0xdf77a2(0x2da),!0x1,0x3f1,_0xdf77a2(0x2ad));_0xcd0543(_0x404421);return;}this['_masked']?this['_state']=_0x27c69e:this[_0xdf77a2(0x2a6)]=_0x54e1d5;}[_0x23576c(0x357)](){const _0x4baf8d=_0x23576c;if(this[_0x4baf8d(0x2bc)]<0x4){this[_0x4baf8d(0x1ee)]=!0x1;return;}this[_0x4baf8d(0x308)]=this[_0x4baf8d(0x244)](0x4),this[_0x4baf8d(0x2a6)]=_0x54e1d5;}[_0x23576c(0x2eb)](_0x5cc6e0){const _0x429c8c=_0x23576c;let _0x5be874=_0x5d0ca8;if(this[_0x429c8c(0x367)]){if(this[_0x429c8c(0x2bc)]<this[_0x429c8c(0x367)]){this[_0x429c8c(0x1ee)]=!0x1;return;}_0x5be874=this[_0x429c8c(0x244)](this[_0x429c8c(0x367)]),this[_0x429c8c(0x31e)]&&(this[_0x429c8c(0x308)][0x0]|this[_0x429c8c(0x308)][0x1]|this[_0x429c8c(0x308)][0x2]|this[_0x429c8c(0x308)][0x3])!==0x0&&_0x831bf2(_0x5be874,this[_0x429c8c(0x308)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x5be874,_0x5cc6e0);return;}if(this[_0x429c8c(0x351)]){this[_0x429c8c(0x2a6)]=_0x34b5bb,this[_0x429c8c(0x1fb)](_0x5be874,_0x5cc6e0);return;}_0x5be874['length']&&(this['_messageLength']=this[_0x429c8c(0x2ba)],this[_0x429c8c(0x371)][_0x429c8c(0x226)](_0x5be874)),this[_0x429c8c(0x202)](_0x5cc6e0);}['decompress'](_0x284d32,_0x316b0d){const _0x3b7f91=_0x23576c;this[_0x3b7f91(0x373)][_0x361796[_0x3b7f91(0x1d5)]][_0x3b7f91(0x1fb)](_0x284d32,this[_0x3b7f91(0x242)],(_0x1608fa,_0x3fd904)=>{const _0x47a888=_0x3b7f91;if(_0x1608fa)return _0x316b0d(_0x1608fa);if(_0x3fd904['length']){if(this[_0x47a888(0x1c4)]+=_0x3fd904[_0x47a888(0x2bd)],this[_0x47a888(0x1c4)]>this[_0x47a888(0x300)]&&this['_maxPayload']>0x0){const _0x5d302c=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x47a888(0x2ad));_0x316b0d(_0x5d302c);return;}this[_0x47a888(0x371)][_0x47a888(0x226)](_0x3fd904);}this[_0x47a888(0x202)](_0x316b0d),this[_0x47a888(0x2a6)]===_0x446cc2&&this[_0x47a888(0x33c)](_0x316b0d);});}[_0x23576c(0x202)](_0x461ae7){const _0x413029=_0x23576c;if(!this[_0x413029(0x242)]){this[_0x413029(0x2a6)]=_0x446cc2;return;}const _0x308424=this[_0x413029(0x1c4)],_0x525db2=this[_0x413029(0x371)];if(this[_0x413029(0x2ba)]=0x0,this[_0x413029(0x1c4)]=0x0,this[_0x413029(0x352)]=0x0,this[_0x413029(0x371)]=[],this[_0x413029(0x2dc)]===0x2){let _0x15c05b;this[_0x413029(0x319)]==='nodebuffer'?_0x15c05b=_0x49a986(_0x525db2,_0x308424):this[_0x413029(0x319)]===_0x413029(0x2e8)?_0x15c05b=_0x417abb(_0x49a986(_0x525db2,_0x308424)):this[_0x413029(0x319)]===_0x413029(0x1ba)?_0x15c05b=new Blob(_0x525db2):_0x15c05b=_0x525db2,this[_0x413029(0x341)]?(this[_0x413029(0x275)](_0x413029(0x2d6),_0x15c05b,!0x0),this[_0x413029(0x2a6)]=_0x446cc2):(this[_0x413029(0x2a6)]=_0xadb9c3,setImmediate(()=>{const _0x4dd552=_0x413029;this[_0x4dd552(0x275)]('message',_0x15c05b,!0x0),this[_0x4dd552(0x2a6)]=_0x446cc2,this[_0x4dd552(0x33c)](_0x461ae7);}));}else{const _0x1568e6=_0x49a986(_0x525db2,_0x308424);if(!this[_0x413029(0x345)]&&!_0x4d51bf(_0x1568e6)){const _0x10a180=this[_0x413029(0x2d5)](Error,_0x413029(0x1f9),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x461ae7(_0x10a180);return;}this['_state']===_0x34b5bb||this['_allowSynchronousEvents']?(this[_0x413029(0x275)](_0x413029(0x2d6),_0x1568e6,!0x1),this['_state']=_0x446cc2):(this[_0x413029(0x2a6)]=_0xadb9c3,setImmediate(()=>{const _0x287199=_0x413029;this[_0x287199(0x275)](_0x287199(0x2d6),_0x1568e6,!0x1),this[_0x287199(0x2a6)]=_0x446cc2,this[_0x287199(0x33c)](_0x461ae7);}));}}[_0x23576c(0x225)](_0x38303b,_0x280ff9){const _0x34b985=_0x23576c;if(this[_0x34b985(0x2dc)]===0x8){if(_0x38303b['length']===0x0)this[_0x34b985(0x1ee)]=!0x1,this[_0x34b985(0x275)](_0x34b985(0x237),0x3ed,_0x5d0ca8),this[_0x34b985(0x20c)]();else{const _0x34e47d=_0x38303b[_0x34b985(0x2c9)](0x0);if(!_0xc380a4(_0x34e47d)){const _0x50b176=this['createError'](RangeError,_0x34b985(0x232)+_0x34e47d,!0x0,0x3ea,_0x34b985(0x24e));_0x280ff9(_0x50b176);return;}const _0x19d8be=new _0x5718ad(_0x38303b['buffer'],_0x38303b['byteOffset']+0x2,_0x38303b[_0x34b985(0x2bd)]-0x2);if(!this['_skipUTF8Validation']&&!_0x4d51bf(_0x19d8be)){const _0x1e8161=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x34b985(0x2c4));_0x280ff9(_0x1e8161);return;}this[_0x34b985(0x1ee)]=!0x1,this['emit']('conclude',_0x34e47d,_0x19d8be),this[_0x34b985(0x20c)]();}this[_0x34b985(0x2a6)]=_0x446cc2;return;}this[_0x34b985(0x341)]?(this[_0x34b985(0x275)](this['_opcode']===0x9?_0x34b985(0x297):_0x34b985(0x2a7),_0x38303b),this[_0x34b985(0x2a6)]=_0x446cc2):(this['_state']=_0xadb9c3,setImmediate(()=>{const _0x4f3641=_0x34b985;this['emit'](this['_opcode']===0x9?_0x4f3641(0x297):_0x4f3641(0x2a7),_0x38303b),this[_0x4f3641(0x2a6)]=_0x446cc2,this[_0x4f3641(0x33c)](_0x280ff9);}));}[_0x23576c(0x2d5)](_0x394912,_0x5768bf,_0x53fc19,_0x1d3175,_0x5504bb){const _0x2eed79=_0x23576c;this[_0x2eed79(0x1ee)]=!0x1,this[_0x2eed79(0x1f1)]=!0x0;const _0x2b1919=new _0x394912(_0x53fc19?'Invalid\x20WebSocket\x20frame:\x20'+_0x5768bf:_0x5768bf);return Error[_0x2eed79(0x366)](_0x2b1919,this['createError']),_0x2b1919[_0x2eed79(0x1df)]=_0x5504bb,_0x2b1919[_0x35aa8b]=_0x1d3175,_0x2b1919;}}return Se=_0x542e61,Se;}var Ee,Xe;function ft(){const _0x57f0dd=_0x506706;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1db555}=oe,{randomFillSync:_0x5652d8}=Le,_0x50779f=he(),{EMPTY_BUFFER:_0x3cbae3,kWebSocket:_0x10b69e,NOOP:_0x9d5b49}=H(),{isBlob:_0x287ff3,isValidStatusCode:_0x3bc2e1}=ae(),{mask:_0x16dcce,toBuffer:_0x23a351}=ce(),_0x313a60=Symbol(_0x57f0dd(0x363)),_0x39b0b2=Buffer['alloc'](0x4),_0x496028=0x8*0x400;let _0x10bd07,_0x551f59=_0x496028;const _0x2f83f8=0x0,_0x2ddbeb=0x1,_0x1332f4=0x2;class _0x292146{constructor(_0x51f41f,_0x3d6d73,_0x37ac22){const _0x3cfaab=_0x57f0dd;this[_0x3cfaab(0x373)]=_0x3d6d73||{},_0x37ac22&&(this[_0x3cfaab(0x249)]=_0x37ac22,this['_maskBuffer']=Buffer[_0x3cfaab(0x28c)](0x4)),this['_socket']=_0x51f41f,this[_0x3cfaab(0x201)]=!0x0,this['_compress']=!0x1,this[_0x3cfaab(0x2bc)]=0x0,this['_queue']=[],this[_0x3cfaab(0x2a6)]=_0x2f83f8,this[_0x3cfaab(0x219)]=_0x9d5b49,this[_0x10b69e]=void 0x0;}static['frame'](_0x37ce28,_0x4c47dd){const _0x495743=_0x57f0dd;let _0x504704,_0x354b7b=!0x1,_0x2c2814=0x2,_0xa78a0b=!0x1;_0x4c47dd[_0x495743(0x287)]&&(_0x504704=_0x4c47dd[_0x495743(0x24f)]||_0x39b0b2,_0x4c47dd[_0x495743(0x29a)]?_0x4c47dd[_0x495743(0x29a)](_0x504704):(_0x551f59===_0x496028&&(_0x10bd07===void 0x0&&(_0x10bd07=Buffer[_0x495743(0x28c)](_0x496028)),_0x5652d8(_0x10bd07,0x0,_0x496028),_0x551f59=0x0),_0x504704[0x0]=_0x10bd07[_0x551f59++],_0x504704[0x1]=_0x10bd07[_0x551f59++],_0x504704[0x2]=_0x10bd07[_0x551f59++],_0x504704[0x3]=_0x10bd07[_0x551f59++]),_0xa78a0b=(_0x504704[0x0]|_0x504704[0x1]|_0x504704[0x2]|_0x504704[0x3])===0x0,_0x2c2814=0x6);let _0x5280a5;typeof _0x37ce28==_0x495743(0x29c)?(!_0x4c47dd[_0x495743(0x287)]||_0xa78a0b)&&_0x4c47dd[_0x313a60]!==void 0x0?_0x5280a5=_0x4c47dd[_0x313a60]:(_0x37ce28=Buffer[_0x495743(0x2a8)](_0x37ce28),_0x5280a5=_0x37ce28[_0x495743(0x2bd)]):(_0x5280a5=_0x37ce28[_0x495743(0x2bd)],_0x354b7b=_0x4c47dd[_0x495743(0x287)]&&_0x4c47dd[_0x495743(0x299)]&&!_0xa78a0b);let _0x2aa2a7=_0x5280a5;_0x5280a5>=0x10000?(_0x2c2814+=0x8,_0x2aa2a7=0x7f):_0x5280a5>0x7d&&(_0x2c2814+=0x2,_0x2aa2a7=0x7e);const _0x2bd92b=Buffer[_0x495743(0x259)](_0x354b7b?_0x5280a5+_0x2c2814:_0x2c2814);return _0x2bd92b[0x0]=_0x4c47dd[_0x495743(0x2f4)]?_0x4c47dd['opcode']|0x80:_0x4c47dd[_0x495743(0x2e4)],_0x4c47dd[_0x495743(0x267)]&&(_0x2bd92b[0x0]|=0x40),_0x2bd92b[0x1]=_0x2aa2a7,_0x2aa2a7===0x7e?_0x2bd92b[_0x495743(0x215)](_0x5280a5,0x2):_0x2aa2a7===0x7f&&(_0x2bd92b[0x2]=_0x2bd92b[0x3]=0x0,_0x2bd92b[_0x495743(0x1f6)](_0x5280a5,0x4,0x6)),_0x4c47dd['mask']?(_0x2bd92b[0x1]|=0x80,_0x2bd92b[_0x2c2814-0x4]=_0x504704[0x0],_0x2bd92b[_0x2c2814-0x3]=_0x504704[0x1],_0x2bd92b[_0x2c2814-0x2]=_0x504704[0x2],_0x2bd92b[_0x2c2814-0x1]=_0x504704[0x3],_0xa78a0b?[_0x2bd92b,_0x37ce28]:_0x354b7b?(_0x16dcce(_0x37ce28,_0x504704,_0x2bd92b,_0x2c2814,_0x5280a5),[_0x2bd92b]):(_0x16dcce(_0x37ce28,_0x504704,_0x37ce28,0x0,_0x5280a5),[_0x2bd92b,_0x37ce28])):[_0x2bd92b,_0x37ce28];}['close'](_0x25b60e,_0x20d7ec,_0x4bba7c,_0x43fdea){const _0x27ab79=_0x57f0dd;let _0x37c32d;if(_0x25b60e===void 0x0)_0x37c32d=_0x3cbae3;else{if(typeof _0x25b60e!=_0x27ab79(0x2b4)||!_0x3bc2e1(_0x25b60e))throw new TypeError(_0x27ab79(0x296));if(_0x20d7ec===void 0x0||!_0x20d7ec[_0x27ab79(0x2bd)])_0x37c32d=Buffer[_0x27ab79(0x259)](0x2),_0x37c32d['writeUInt16BE'](_0x25b60e,0x0);else{const _0x18cfe8=Buffer[_0x27ab79(0x23f)](_0x20d7ec);if(_0x18cfe8>0x7b)throw new RangeError(_0x27ab79(0x2c6));_0x37c32d=Buffer[_0x27ab79(0x259)](0x2+_0x18cfe8),_0x37c32d['writeUInt16BE'](_0x25b60e,0x0),typeof _0x20d7ec==_0x27ab79(0x29c)?_0x37c32d[_0x27ab79(0x1b3)](_0x20d7ec,0x2):_0x37c32d[_0x27ab79(0x1cd)](_0x20d7ec,0x2);}}const _0x231fff={[_0x313a60]:_0x37c32d[_0x27ab79(0x2bd)],'fin':!0x0,'generateMask':this[_0x27ab79(0x249)],'mask':_0x4bba7c,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x2f83f8?this[_0x27ab79(0x34b)]([this[_0x27ab79(0x1b7)],_0x37c32d,!0x1,_0x231fff,_0x43fdea]):this[_0x27ab79(0x24b)](_0x292146[_0x27ab79(0x1d1)](_0x37c32d,_0x231fff),_0x43fdea);}[_0x57f0dd(0x297)](_0x5b5b91,_0x1f2d4c,_0x4322b1){const _0x214ef5=_0x57f0dd;let _0x37810d,_0x4280c5;if(typeof _0x5b5b91==_0x214ef5(0x29c)?(_0x37810d=Buffer[_0x214ef5(0x23f)](_0x5b5b91),_0x4280c5=!0x1):_0x287ff3(_0x5b5b91)?(_0x37810d=_0x5b5b91[_0x214ef5(0x2a4)],_0x4280c5=!0x1):(_0x5b5b91=_0x23a351(_0x5b5b91),_0x37810d=_0x5b5b91[_0x214ef5(0x2bd)],_0x4280c5=_0x23a351['readOnly']),_0x37810d>0x7d)throw new RangeError(_0x214ef5(0x2c0));const _0x44165b={[_0x313a60]:_0x37810d,'fin':!0x0,'generateMask':this[_0x214ef5(0x249)],'mask':_0x1f2d4c,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x4280c5,'rsv1':!0x1};_0x287ff3(_0x5b5b91)?this[_0x214ef5(0x2a6)]!==_0x2f83f8?this['enqueue']([this[_0x214ef5(0x211)],_0x5b5b91,!0x1,_0x44165b,_0x4322b1]):this['getBlobData'](_0x5b5b91,!0x1,_0x44165b,_0x4322b1):this['_state']!==_0x2f83f8?this[_0x214ef5(0x34b)]([this[_0x214ef5(0x1b7)],_0x5b5b91,!0x1,_0x44165b,_0x4322b1]):this[_0x214ef5(0x24b)](_0x292146['frame'](_0x5b5b91,_0x44165b),_0x4322b1);}[_0x57f0dd(0x2a7)](_0x210ec7,_0xc9ea0c,_0x276f78){const _0x352668=_0x57f0dd;let _0x11518b,_0x3925d3;if(typeof _0x210ec7==_0x352668(0x29c)?(_0x11518b=Buffer[_0x352668(0x23f)](_0x210ec7),_0x3925d3=!0x1):_0x287ff3(_0x210ec7)?(_0x11518b=_0x210ec7[_0x352668(0x2a4)],_0x3925d3=!0x1):(_0x210ec7=_0x23a351(_0x210ec7),_0x11518b=_0x210ec7[_0x352668(0x2bd)],_0x3925d3=_0x23a351[_0x352668(0x299)]),_0x11518b>0x7d)throw new RangeError(_0x352668(0x2c0));const _0x1cee9b={[_0x313a60]:_0x11518b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xc9ea0c,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3925d3,'rsv1':!0x1};_0x287ff3(_0x210ec7)?this[_0x352668(0x2a6)]!==_0x2f83f8?this[_0x352668(0x34b)]([this['getBlobData'],_0x210ec7,!0x1,_0x1cee9b,_0x276f78]):this['getBlobData'](_0x210ec7,!0x1,_0x1cee9b,_0x276f78):this[_0x352668(0x2a6)]!==_0x2f83f8?this[_0x352668(0x34b)]([this[_0x352668(0x1b7)],_0x210ec7,!0x1,_0x1cee9b,_0x276f78]):this[_0x352668(0x24b)](_0x292146[_0x352668(0x1d1)](_0x210ec7,_0x1cee9b),_0x276f78);}[_0x57f0dd(0x1e7)](_0x426413,_0x2cc7d2,_0x3e86db){const _0x56b32c=_0x57f0dd,_0x536a54=this[_0x56b32c(0x373)][_0x50779f['extensionName']];let _0x189271=_0x2cc7d2[_0x56b32c(0x1e3)]?0x2:0x1,_0x5d44f2=_0x2cc7d2[_0x56b32c(0x1da)],_0x562963,_0xcd4393;typeof _0x426413==_0x56b32c(0x29c)?(_0x562963=Buffer['byteLength'](_0x426413),_0xcd4393=!0x1):_0x287ff3(_0x426413)?(_0x562963=_0x426413[_0x56b32c(0x2a4)],_0xcd4393=!0x1):(_0x426413=_0x23a351(_0x426413),_0x562963=_0x426413[_0x56b32c(0x2bd)],_0xcd4393=_0x23a351['readOnly']),this[_0x56b32c(0x201)]?(this[_0x56b32c(0x201)]=!0x1,_0x5d44f2&&_0x536a54&&_0x536a54[_0x56b32c(0x280)][_0x536a54['_isServer']?_0x56b32c(0x1d2):_0x56b32c(0x2a1)]&&(_0x5d44f2=_0x562963>=_0x536a54[_0x56b32c(0x335)]),this[_0x56b32c(0x25a)]=_0x5d44f2):(_0x5d44f2=!0x1,_0x189271=0x0),_0x2cc7d2[_0x56b32c(0x2f4)]&&(this[_0x56b32c(0x201)]=!0x0);const _0x3418a1={[_0x313a60]:_0x562963,'fin':_0x2cc7d2[_0x56b32c(0x2f4)],'generateMask':this[_0x56b32c(0x249)],'mask':_0x2cc7d2[_0x56b32c(0x287)],'maskBuffer':this['_maskBuffer'],'opcode':_0x189271,'readOnly':_0xcd4393,'rsv1':_0x5d44f2};_0x287ff3(_0x426413)?this[_0x56b32c(0x2a6)]!==_0x2f83f8?this[_0x56b32c(0x34b)]([this[_0x56b32c(0x211)],_0x426413,this[_0x56b32c(0x25a)],_0x3418a1,_0x3e86db]):this[_0x56b32c(0x211)](_0x426413,this['_compress'],_0x3418a1,_0x3e86db):this[_0x56b32c(0x2a6)]!==_0x2f83f8?this[_0x56b32c(0x34b)]([this[_0x56b32c(0x1b7)],_0x426413,this[_0x56b32c(0x25a)],_0x3418a1,_0x3e86db]):this[_0x56b32c(0x1b7)](_0x426413,this[_0x56b32c(0x25a)],_0x3418a1,_0x3e86db);}['getBlobData'](_0x23e69e,_0x1d44bc,_0x3b9d76,_0x409979){const _0x4a841c=_0x57f0dd;this[_0x4a841c(0x2bc)]+=_0x3b9d76[_0x313a60],this[_0x4a841c(0x2a6)]=_0x1332f4,_0x23e69e[_0x4a841c(0x356)]()['then'](_0x1b1938=>{const _0x1a6190=_0x4a841c;if(this[_0x1a6190(0x348)][_0x1a6190(0x342)]){const _0x3ec53d=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x1a6190(0x346)](_0x512f0f,this,_0x3ec53d,_0x409979);return;}this['_bufferedBytes']-=_0x3b9d76[_0x313a60];const _0xc524e6=_0x23a351(_0x1b1938);_0x1d44bc?this[_0x1a6190(0x1b7)](_0xc524e6,_0x1d44bc,_0x3b9d76,_0x409979):(this['_state']=_0x2f83f8,this[_0x1a6190(0x24b)](_0x292146['frame'](_0xc524e6,_0x3b9d76),_0x409979),this['dequeue']());})[_0x4a841c(0x22a)](_0x200329=>{process['nextTick'](_0x26f5e2,this,_0x200329,_0x409979);});}[_0x57f0dd(0x1b7)](_0x1ec4a4,_0x2d173c,_0x5bbce3,_0x336980){const _0xa0baba=_0x57f0dd;if(!_0x2d173c){this[_0xa0baba(0x24b)](_0x292146['frame'](_0x1ec4a4,_0x5bbce3),_0x336980);return;}const _0x988717=this[_0xa0baba(0x373)][_0x50779f[_0xa0baba(0x1d5)]];this[_0xa0baba(0x2bc)]+=_0x5bbce3[_0x313a60],this['_state']=_0x2ddbeb,_0x988717[_0xa0baba(0x1da)](_0x1ec4a4,_0x5bbce3[_0xa0baba(0x2f4)],(_0x55e109,_0x36110b)=>{const _0x2031f9=_0xa0baba;if(this[_0x2031f9(0x348)][_0x2031f9(0x342)]){const _0x2ba495=new Error(_0x2031f9(0x2af));_0x512f0f(this,_0x2ba495,_0x336980);return;}this[_0x2031f9(0x2bc)]-=_0x5bbce3[_0x313a60],this[_0x2031f9(0x2a6)]=_0x2f83f8,_0x5bbce3[_0x2031f9(0x299)]=!0x1,this[_0x2031f9(0x24b)](_0x292146['frame'](_0x36110b,_0x5bbce3),_0x336980),this[_0x2031f9(0x298)]();});}['dequeue'](){const _0x2f91e6=_0x57f0dd;for(;this[_0x2f91e6(0x2a6)]===_0x2f83f8&&this['_queue'][_0x2f91e6(0x2bd)];){const _0x350eb0=this[_0x2f91e6(0x33a)][_0x2f91e6(0x2cd)]();this[_0x2f91e6(0x2bc)]-=_0x350eb0[0x3][_0x313a60],Reflect['apply'](_0x350eb0[0x0],this,_0x350eb0['slice'](0x1));}}[_0x57f0dd(0x34b)](_0x132e92){const _0x4df198=_0x57f0dd;this[_0x4df198(0x2bc)]+=_0x132e92[0x3][_0x313a60],this['_queue'][_0x4df198(0x226)](_0x132e92);}[_0x57f0dd(0x24b)](_0x5259a0,_0x3fbdbf){const _0xabe589=_0x57f0dd;_0x5259a0[_0xabe589(0x2bd)]===0x2?(this[_0xabe589(0x348)][_0xabe589(0x21b)](),this[_0xabe589(0x348)][_0xabe589(0x1b3)](_0x5259a0[0x0]),this[_0xabe589(0x348)][_0xabe589(0x1b3)](_0x5259a0[0x1],_0x3fbdbf),this[_0xabe589(0x348)][_0xabe589(0x1de)]()):this['_socket']['write'](_0x5259a0[0x0],_0x3fbdbf);}}Ee=_0x292146;function _0x512f0f(_0x1ccf63,_0x1881be,_0x95db0a){const _0x35ae80=_0x57f0dd;typeof _0x95db0a==_0x35ae80(0x314)&&_0x95db0a(_0x1881be);for(let _0x4287cf=0x0;_0x4287cf<_0x1ccf63[_0x35ae80(0x33a)][_0x35ae80(0x2bd)];_0x4287cf++){const _0x4b5dfd=_0x1ccf63[_0x35ae80(0x33a)][_0x4287cf],_0x33e608=_0x4b5dfd[_0x4b5dfd[_0x35ae80(0x2bd)]-0x1];typeof _0x33e608==_0x35ae80(0x314)&&_0x33e608(_0x1881be);}}function _0x26f5e2(_0x216ac8,_0x482e45,_0x223179){_0x512f0f(_0x216ac8,_0x482e45,_0x223179),_0x216ac8['onerror'](_0x482e45);}return Ee;}var xe,Ze;function It(){const _0x5e9ecc=_0x506706;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xe1dddd,kListener:_0x2f4300}=H(),_0x5d26e3=Symbol(_0x5e9ecc(0x304)),_0x4178b0=Symbol(_0x5e9ecc(0x261)),_0x56f8db=Symbol(_0x5e9ecc(0x2b1)),_0x165d28=Symbol(_0x5e9ecc(0x2ab)),_0x562e45=Symbol(_0x5e9ecc(0x337)),_0x370620=Symbol(_0x5e9ecc(0x35b)),_0x3cc6c3=Symbol(_0x5e9ecc(0x25b)),_0x68b60=Symbol(_0x5e9ecc(0x310));class _0x2e3b3c{constructor(_0x597fac){this[_0x370620]=null,this[_0x3cc6c3]=_0x597fac;}get[_0x5e9ecc(0x1e0)](){return this[_0x370620];}get[_0x5e9ecc(0x25e)](){return this[_0x3cc6c3];}}Object['defineProperty'](_0x2e3b3c[_0x5e9ecc(0x1b8)],_0x5e9ecc(0x1e0),{'enumerable':!0x0}),Object[_0x5e9ecc(0x2ce)](_0x2e3b3c[_0x5e9ecc(0x1b8)],'type',{'enumerable':!0x0});class _0xe19eb6 extends _0x2e3b3c{constructor(_0x171d81,_0x345695={}){const _0x347a5e=_0x5e9ecc;super(_0x171d81),this[_0x5d26e3]=_0x345695[_0x347a5e(0x1df)]===void 0x0?0x0:_0x345695[_0x347a5e(0x1df)],this[_0x562e45]=_0x345695[_0x347a5e(0x1b5)]===void 0x0?'':_0x345695[_0x347a5e(0x1b5)],this[_0x68b60]=_0x345695['wasClean']===void 0x0?!0x1:_0x345695[_0x347a5e(0x328)];}get[_0x5e9ecc(0x1df)](){return this[_0x5d26e3];}get[_0x5e9ecc(0x1b5)](){return this[_0x562e45];}get[_0x5e9ecc(0x328)](){return this[_0x68b60];}}Object[_0x5e9ecc(0x2ce)](_0xe19eb6[_0x5e9ecc(0x1b8)],'code',{'enumerable':!0x0}),Object[_0x5e9ecc(0x2ce)](_0xe19eb6['prototype'],_0x5e9ecc(0x1b5),{'enumerable':!0x0}),Object[_0x5e9ecc(0x2ce)](_0xe19eb6[_0x5e9ecc(0x1b8)],_0x5e9ecc(0x328),{'enumerable':!0x0});class _0x4efaef extends _0x2e3b3c{constructor(_0x25f4aa,_0xe62e1a={}){const _0x2e1c18=_0x5e9ecc;super(_0x25f4aa),this[_0x56f8db]=_0xe62e1a['error']===void 0x0?null:_0xe62e1a['error'],this[_0x165d28]=_0xe62e1a[_0x2e1c18(0x2d6)]===void 0x0?'':_0xe62e1a[_0x2e1c18(0x2d6)];}get[_0x5e9ecc(0x2cb)](){return this[_0x56f8db];}get[_0x5e9ecc(0x2d6)](){return this[_0x165d28];}}Object[_0x5e9ecc(0x2ce)](_0x4efaef['prototype'],_0x5e9ecc(0x2cb),{'enumerable':!0x0}),Object[_0x5e9ecc(0x2ce)](_0x4efaef[_0x5e9ecc(0x1b8)],_0x5e9ecc(0x2d6),{'enumerable':!0x0});class _0x417d1a extends _0x2e3b3c{constructor(_0xc31f58,_0x36e3c6={}){const _0x45a1d6=_0x5e9ecc;super(_0xc31f58),this[_0x4178b0]=_0x36e3c6[_0x45a1d6(0x254)]===void 0x0?null:_0x36e3c6[_0x45a1d6(0x254)];}get[_0x5e9ecc(0x254)](){return this[_0x4178b0];}}Object['defineProperty'](_0x417d1a[_0x5e9ecc(0x1b8)],_0x5e9ecc(0x254),{'enumerable':!0x0}),xe={'CloseEvent':_0xe19eb6,'ErrorEvent':_0x4efaef,'Event':_0x2e3b3c,'EventTarget':{'addEventListener'(_0x1552ba,_0x15efba,_0x5a8e96={}){const _0x4ae40c=_0x5e9ecc;for(const _0x290158 of this[_0x4ae40c(0x29d)](_0x1552ba))if(!_0x5a8e96[_0xe1dddd]&&_0x290158[_0x2f4300]===_0x15efba&&!_0x290158[_0xe1dddd])return;let _0x3f2f7b;if(_0x1552ba===_0x4ae40c(0x2d6))_0x3f2f7b=function(_0x1bb311,_0x4cc15b){const _0x590d1e=new _0x417d1a('message',{'data':_0x4cc15b?_0x1bb311:_0x1bb311['toString']()});_0x590d1e[_0x370620]=this,_0x5f4137(_0x15efba,this,_0x590d1e);};else{if(_0x1552ba===_0x4ae40c(0x2dd))_0x3f2f7b=function(_0x29f4e5,_0x33c7af){const _0x3fbb1d=_0x4ae40c,_0x3c556a=new _0xe19eb6('close',{'code':_0x29f4e5,'reason':_0x33c7af['toString'](),'wasClean':this[_0x3fbb1d(0x248)]&&this[_0x3fbb1d(0x1d9)]});_0x3c556a[_0x370620]=this,_0x5f4137(_0x15efba,this,_0x3c556a);};else{if(_0x1552ba===_0x4ae40c(0x2cb))_0x3f2f7b=function(_0x41b673){const _0x4ab523=_0x4ae40c,_0xa3d3eb=new _0x4efaef(_0x4ab523(0x2cb),{'error':_0x41b673,'message':_0x41b673[_0x4ab523(0x2d6)]});_0xa3d3eb[_0x370620]=this,_0x5f4137(_0x15efba,this,_0xa3d3eb);};else{if(_0x1552ba===_0x4ae40c(0x223))_0x3f2f7b=function(){const _0x77830e=_0x4ae40c,_0x31947c=new _0x2e3b3c(_0x77830e(0x223));_0x31947c[_0x370620]=this,_0x5f4137(_0x15efba,this,_0x31947c);};else return;}}}_0x3f2f7b[_0xe1dddd]=!!_0x5a8e96[_0xe1dddd],_0x3f2f7b[_0x2f4300]=_0x15efba,_0x5a8e96[_0x4ae40c(0x2b5)]?this['once'](_0x1552ba,_0x3f2f7b):this['on'](_0x1552ba,_0x3f2f7b);},'removeEventListener'(_0x3d3828,_0x4de32e){const _0x1ffe24=_0x5e9ecc;for(const _0x552520 of this[_0x1ffe24(0x29d)](_0x3d3828))if(_0x552520[_0x2f4300]===_0x4de32e&&!_0x552520[_0xe1dddd]){this[_0x1ffe24(0x27c)](_0x3d3828,_0x552520);break;}}},'MessageEvent':_0x417d1a};function _0x5f4137(_0x24a22c,_0x38207e,_0x17abbc){const _0x398bd9=_0x5e9ecc;typeof _0x24a22c==_0x398bd9(0x286)&&_0x24a22c[_0x398bd9(0x238)]?_0x24a22c[_0x398bd9(0x238)]['call'](_0x24a22c,_0x17abbc):_0x24a22c['call'](_0x38207e,_0x17abbc);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x29f4d1}=ae();function _0x1a9b31(_0x2b7e23,_0x3e0f97,_0x5be787){const _0x21dc20=_0x9e56;_0x2b7e23[_0x3e0f97]===void 0x0?_0x2b7e23[_0x3e0f97]=[_0x5be787]:_0x2b7e23[_0x3e0f97][_0x21dc20(0x226)](_0x5be787);}function _0x215e3a(_0x3b0040){const _0xeeeb9a=_0x9e56,_0x128bfb=Object[_0xeeeb9a(0x2f1)](null);let _0x12adef=Object[_0xeeeb9a(0x2f1)](null),_0x202551=!0x1,_0x5ec2b2=!0x1,_0x49302=!0x1,_0x16a46e,_0x4488a7,_0x4770b5=-0x1,_0x1241c9=-0x1,_0x11f184=-0x1,_0x2bb8f4=0x0;for(;_0x2bb8f4<_0x3b0040[_0xeeeb9a(0x2bd)];_0x2bb8f4++)if(_0x1241c9=_0x3b0040['charCodeAt'](_0x2bb8f4),_0x16a46e===void 0x0){if(_0x11f184===-0x1&&_0x29f4d1[_0x1241c9]===0x1)_0x4770b5===-0x1&&(_0x4770b5=_0x2bb8f4);else{if(_0x2bb8f4!==0x0&&(_0x1241c9===0x20||_0x1241c9===0x9))_0x11f184===-0x1&&_0x4770b5!==-0x1&&(_0x11f184=_0x2bb8f4);else{if(_0x1241c9===0x3b||_0x1241c9===0x2c){if(_0x4770b5===-0x1)throw new SyntaxError(_0xeeeb9a(0x2c2)+_0x2bb8f4);_0x11f184===-0x1&&(_0x11f184=_0x2bb8f4);const _0x24b249=_0x3b0040[_0xeeeb9a(0x343)](_0x4770b5,_0x11f184);_0x1241c9===0x2c?(_0x1a9b31(_0x128bfb,_0x24b249,_0x12adef),_0x12adef=Object[_0xeeeb9a(0x2f1)](null)):_0x16a46e=_0x24b249,_0x4770b5=_0x11f184=-0x1;}else throw new SyntaxError(_0xeeeb9a(0x2c2)+_0x2bb8f4);}}}else{if(_0x4488a7===void 0x0){if(_0x11f184===-0x1&&_0x29f4d1[_0x1241c9]===0x1)_0x4770b5===-0x1&&(_0x4770b5=_0x2bb8f4);else{if(_0x1241c9===0x20||_0x1241c9===0x9)_0x11f184===-0x1&&_0x4770b5!==-0x1&&(_0x11f184=_0x2bb8f4);else{if(_0x1241c9===0x3b||_0x1241c9===0x2c){if(_0x4770b5===-0x1)throw new SyntaxError(_0xeeeb9a(0x2c2)+_0x2bb8f4);_0x11f184===-0x1&&(_0x11f184=_0x2bb8f4),_0x1a9b31(_0x12adef,_0x3b0040['slice'](_0x4770b5,_0x11f184),!0x0),_0x1241c9===0x2c&&(_0x1a9b31(_0x128bfb,_0x16a46e,_0x12adef),_0x12adef=Object[_0xeeeb9a(0x2f1)](null),_0x16a46e=void 0x0),_0x4770b5=_0x11f184=-0x1;}else{if(_0x1241c9===0x3d&&_0x4770b5!==-0x1&&_0x11f184===-0x1)_0x4488a7=_0x3b0040[_0xeeeb9a(0x343)](_0x4770b5,_0x2bb8f4),_0x4770b5=_0x11f184=-0x1;else throw new SyntaxError(_0xeeeb9a(0x2c2)+_0x2bb8f4);}}}}else{if(_0x5ec2b2){if(_0x29f4d1[_0x1241c9]!==0x1)throw new SyntaxError(_0xeeeb9a(0x2c2)+_0x2bb8f4);_0x4770b5===-0x1?_0x4770b5=_0x2bb8f4:_0x202551||(_0x202551=!0x0),_0x5ec2b2=!0x1;}else{if(_0x49302){if(_0x29f4d1[_0x1241c9]===0x1)_0x4770b5===-0x1&&(_0x4770b5=_0x2bb8f4);else{if(_0x1241c9===0x22&&_0x4770b5!==-0x1)_0x49302=!0x1,_0x11f184=_0x2bb8f4;else{if(_0x1241c9===0x5c)_0x5ec2b2=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2bb8f4);}}}else{if(_0x1241c9===0x22&&_0x3b0040[_0xeeeb9a(0x1c0)](_0x2bb8f4-0x1)===0x3d)_0x49302=!0x0;else{if(_0x11f184===-0x1&&_0x29f4d1[_0x1241c9]===0x1)_0x4770b5===-0x1&&(_0x4770b5=_0x2bb8f4);else{if(_0x4770b5!==-0x1&&(_0x1241c9===0x20||_0x1241c9===0x9))_0x11f184===-0x1&&(_0x11f184=_0x2bb8f4);else{if(_0x1241c9===0x3b||_0x1241c9===0x2c){if(_0x4770b5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2bb8f4);_0x11f184===-0x1&&(_0x11f184=_0x2bb8f4);let _0x41a1de=_0x3b0040[_0xeeeb9a(0x343)](_0x4770b5,_0x11f184);_0x202551&&(_0x41a1de=_0x41a1de[_0xeeeb9a(0x1d7)](/\\/g,''),_0x202551=!0x1),_0x1a9b31(_0x12adef,_0x4488a7,_0x41a1de),_0x1241c9===0x2c&&(_0x1a9b31(_0x128bfb,_0x16a46e,_0x12adef),_0x12adef=Object[_0xeeeb9a(0x2f1)](null),_0x16a46e=void 0x0),_0x4488a7=void 0x0,_0x4770b5=_0x11f184=-0x1;}else throw new SyntaxError(_0xeeeb9a(0x2c2)+_0x2bb8f4);}}}}}}}if(_0x4770b5===-0x1||_0x49302||_0x1241c9===0x20||_0x1241c9===0x9)throw new SyntaxError(_0xeeeb9a(0x25d));_0x11f184===-0x1&&(_0x11f184=_0x2bb8f4);const _0x4856f8=_0x3b0040[_0xeeeb9a(0x343)](_0x4770b5,_0x11f184);return _0x16a46e===void 0x0?_0x1a9b31(_0x128bfb,_0x4856f8,_0x12adef):(_0x4488a7===void 0x0?_0x1a9b31(_0x12adef,_0x4856f8,!0x0):_0x202551?_0x1a9b31(_0x12adef,_0x4488a7,_0x4856f8['replace'](/\\/g,'')):_0x1a9b31(_0x12adef,_0x4488a7,_0x4856f8),_0x1a9b31(_0x128bfb,_0x16a46e,_0x12adef)),_0x128bfb;}function _0x42940f(_0xacc96c){const _0xe77ea5=_0x9e56;return Object[_0xe77ea5(0x34e)](_0xacc96c)[_0xe77ea5(0x2cc)](_0x401647=>{const _0x4c64e6=_0xe77ea5;let _0x2c8805=_0xacc96c[_0x401647];return Array[_0x4c64e6(0x1f3)](_0x2c8805)||(_0x2c8805=[_0x2c8805]),_0x2c8805['map'](_0x50d11d=>[_0x401647][_0x4c64e6(0x1b9)](Object[_0x4c64e6(0x34e)](_0x50d11d)['map'](_0x367062=>{const _0xe540e8=_0x4c64e6;let _0x6980e5=_0x50d11d[_0x367062];return Array[_0xe540e8(0x1f3)](_0x6980e5)||(_0x6980e5=[_0x6980e5]),_0x6980e5[_0xe540e8(0x2cc)](_0x1ec491=>_0x1ec491===!0x0?_0x367062:_0x367062+'='+_0x1ec491)[_0xe540e8(0x1b4)](';\x20');}))[_0x4c64e6(0x1b4)](';\x20'))[_0x4c64e6(0x1b4)](',\x20');})[_0xe77ea5(0x1b4)](',\x20');}return be={'format':_0x42940f,'parse':_0x215e3a},be;}var we,Je;function Pe(){const _0x1b2363=_0x506706;if(Je)return we;Je=0x1;const _0x4b6b29=nt,_0x5babf3=vt,_0x24b8ae=ot,_0x2dc95e=St,_0x205ca9=Et,{randomBytes:_0x1b87c4,createHash:_0x267795}=Le,{Duplex:_0xfb1b62,Readable:_0x2f7a28}=oe,{URL:_0x451153}=xt,_0x360ff8=he(),_0xe504a2=lt(),_0x363544=ft(),{isBlob:_0x41d6d1}=ae(),{BINARY_TYPES:_0x25223a,EMPTY_BUFFER:_0xd3bfdc,GUID:_0x166430,kForOnEventAttribute:_0x20955c,kListener:_0xdb7287,kStatusCode:_0x517bb4,kWebSocket:_0x1798fb,NOOP:_0x25651f}=H(),{EventTarget:{addEventListener:_0x1f5c62,removeEventListener:_0x22e728}}=It(),{format:_0x432961,parse:_0x569837}=ct(),{toBuffer:_0x2a6e86}=ce(),_0x36c62d=0x1e*0x3e8,_0x1b4946=Symbol(_0x1b2363(0x332)),_0x3269ed=[0x8,0xd],_0x2aa59d=[_0x1b2363(0x1f2),_0x1b2363(0x1f4),_0x1b2363(0x22e),_0x1b2363(0x370)],_0x24ccad=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3300a7 extends _0x4b6b29{constructor(_0x2049a5,_0x439855,_0x2bcd87){const _0x1474a7=_0x1b2363;super(),this[_0x1474a7(0x319)]=_0x25223a[0x0],this['_closeCode']=0x3ee,this[_0x1474a7(0x248)]=!0x1,this[_0x1474a7(0x1d9)]=!0x1,this[_0x1474a7(0x1bf)]=_0xd3bfdc,this[_0x1474a7(0x28b)]=null,this[_0x1474a7(0x362)]=!0x1,this[_0x1474a7(0x373)]={},this[_0x1474a7(0x243)]=!0x1,this['_protocol']='',this['_readyState']=_0x3300a7['CONNECTING'],this[_0x1474a7(0x1d0)]=null,this[_0x1474a7(0x256)]=null,this[_0x1474a7(0x348)]=null,_0x2049a5!==null?(this[_0x1474a7(0x2ea)]=0x0,this[_0x1474a7(0x1c1)]=!0x1,this[_0x1474a7(0x25f)]=0x0,_0x439855===void 0x0?_0x439855=[]:Array[_0x1474a7(0x1f3)](_0x439855)||(typeof _0x439855==_0x1474a7(0x286)&&_0x439855!==null?(_0x2bcd87=_0x439855,_0x439855=[]):_0x439855=[_0x439855]),_0x1a5822(this,_0x2049a5,_0x439855,_0x2bcd87)):(this[_0x1474a7(0x269)]=_0x2bcd87['autoPong'],this[_0x1474a7(0x1c1)]=!0x0);}get[_0x1b2363(0x2de)](){const _0x5f0edd=_0x1b2363;return this[_0x5f0edd(0x319)];}set[_0x1b2363(0x2de)](_0x5e6523){const _0x435e40=_0x1b2363;_0x25223a[_0x435e40(0x246)](_0x5e6523)&&(this[_0x435e40(0x319)]=_0x5e6523,this[_0x435e40(0x1d0)]&&(this[_0x435e40(0x1d0)]['_binaryType']=_0x5e6523));}get[_0x1b2363(0x26b)](){const _0x3ac844=_0x1b2363;return this[_0x3ac844(0x348)]?this[_0x3ac844(0x348)][_0x3ac844(0x1e6)][_0x3ac844(0x2bd)]+this[_0x3ac844(0x256)][_0x3ac844(0x2bc)]:this['_bufferedAmount'];}get[_0x1b2363(0x347)](){const _0x3858c3=_0x1b2363;return Object[_0x3858c3(0x34e)](this[_0x3858c3(0x373)])[_0x3858c3(0x1b4)]();}get[_0x1b2363(0x220)](){const _0x268e80=_0x1b2363;return this[_0x268e80(0x243)];}get['onclose'](){return null;}get[_0x1b2363(0x219)](){return null;}get['onopen'](){return null;}get[_0x1b2363(0x315)](){return null;}get['protocol'](){const _0x11e7ff=_0x1b2363;return this[_0x11e7ff(0x2bb)];}get[_0x1b2363(0x2cf)](){const _0x36518e=_0x1b2363;return this[_0x36518e(0x2d0)];}get[_0x1b2363(0x281)](){const _0x57794a=_0x1b2363;return this[_0x57794a(0x323)];}[_0x1b2363(0x35a)](_0x9af246,_0x41b828,_0x15b603){const _0x5e8cba=_0x1b2363,_0x389783=new _0xe504a2({'allowSynchronousEvents':_0x15b603['allowSynchronousEvents'],'binaryType':this[_0x5e8cba(0x2de)],'extensions':this[_0x5e8cba(0x373)],'isServer':this[_0x5e8cba(0x1c1)],'maxPayload':_0x15b603['maxPayload'],'skipUTF8Validation':_0x15b603[_0x5e8cba(0x1d3)]}),_0x5ab606=new _0x363544(_0x9af246,this['_extensions'],_0x15b603['generateMask']);this[_0x5e8cba(0x1d0)]=_0x389783,this[_0x5e8cba(0x256)]=_0x5ab606,this[_0x5e8cba(0x348)]=_0x9af246,_0x389783[_0x1798fb]=this,_0x5ab606[_0x1798fb]=this,_0x9af246[_0x1798fb]=this,_0x389783['on']('conclude',_0x2ff1cb),_0x389783['on']('drain',_0x230adc),_0x389783['on'](_0x5e8cba(0x2cb),_0x26ca76),_0x389783['on']('message',_0x99e7d8),_0x389783['on'](_0x5e8cba(0x297),_0x2210c5),_0x389783['on']('pong',_0x28954b),_0x5ab606[_0x5e8cba(0x219)]=_0x4530c8,_0x9af246[_0x5e8cba(0x33f)]&&_0x9af246[_0x5e8cba(0x33f)](0x0),_0x9af246['setNoDelay']&&_0x9af246[_0x5e8cba(0x2d2)](),_0x41b828['length']>0x0&&_0x9af246[_0x5e8cba(0x31c)](_0x41b828),_0x9af246['on']('close',_0x27dca3),_0x9af246['on'](_0x5e8cba(0x254),_0x415108),_0x9af246['on'](_0x5e8cba(0x20c),_0x32059e),_0x9af246['on'](_0x5e8cba(0x2cb),_0x18a701),this[_0x5e8cba(0x2d0)]=_0x3300a7[_0x5e8cba(0x1f4)],this[_0x5e8cba(0x275)](_0x5e8cba(0x223));}[_0x1b2363(0x355)](){const _0x53976a=_0x1b2363;if(!this[_0x53976a(0x348)]){this[_0x53976a(0x2d0)]=_0x3300a7['CLOSED'],this[_0x53976a(0x275)](_0x53976a(0x2dd),this[_0x53976a(0x265)],this['_closeMessage']);return;}this[_0x53976a(0x373)][_0x360ff8['extensionName']]&&this[_0x53976a(0x373)][_0x360ff8['extensionName']][_0x53976a(0x34a)](),this[_0x53976a(0x1d0)][_0x53976a(0x303)](),this['_readyState']=_0x3300a7[_0x53976a(0x370)],this[_0x53976a(0x275)](_0x53976a(0x2dd),this[_0x53976a(0x265)],this[_0x53976a(0x1bf)]);}['close'](_0x244b6f,_0x4e52d9){const _0x41643f=_0x1b2363;if(this[_0x41643f(0x2cf)]!==_0x3300a7[_0x41643f(0x370)]){if(this[_0x41643f(0x2cf)]===_0x3300a7['CONNECTING']){_0x1da033(this,this['_req'],_0x41643f(0x29b));return;}if(this['readyState']===_0x3300a7['CLOSING']){this[_0x41643f(0x1d9)]&&(this['_closeFrameReceived']||this[_0x41643f(0x1d0)][_0x41643f(0x1e6)][_0x41643f(0x2b9)])&&this[_0x41643f(0x348)][_0x41643f(0x20c)]();return;}this[_0x41643f(0x2d0)]=_0x3300a7[_0x41643f(0x22e)],this['_sender'][_0x41643f(0x2dd)](_0x244b6f,_0x4e52d9,!this[_0x41643f(0x1c1)],_0x58de17=>{const _0x2fde1a=_0x41643f;_0x58de17||(this[_0x2fde1a(0x1d9)]=!0x0,(this[_0x2fde1a(0x248)]||this[_0x2fde1a(0x1d0)][_0x2fde1a(0x1e6)][_0x2fde1a(0x2b9)])&&this[_0x2fde1a(0x348)][_0x2fde1a(0x20c)]());}),_0x777449(this);}}[_0x1b2363(0x235)](){const _0x12a54c=_0x1b2363;this[_0x12a54c(0x2cf)]===_0x3300a7['CONNECTING']||this[_0x12a54c(0x2cf)]===_0x3300a7[_0x12a54c(0x370)]||(this['_paused']=!0x0,this[_0x12a54c(0x348)][_0x12a54c(0x235)]());}[_0x1b2363(0x297)](_0x5b4d2d,_0x57b7e1,_0x37daca){const _0x590183=_0x1b2363;if(this[_0x590183(0x2cf)]===_0x3300a7[_0x590183(0x1f2)])throw new Error(_0x590183(0x30c));if(typeof _0x5b4d2d=='function'?(_0x37daca=_0x5b4d2d,_0x5b4d2d=_0x57b7e1=void 0x0):typeof _0x57b7e1=='function'&&(_0x37daca=_0x57b7e1,_0x57b7e1=void 0x0),typeof _0x5b4d2d==_0x590183(0x2b4)&&(_0x5b4d2d=_0x5b4d2d['toString']()),this[_0x590183(0x2cf)]!==_0x3300a7[_0x590183(0x1f4)]){_0x42d5b6(this,_0x5b4d2d,_0x37daca);return;}_0x57b7e1===void 0x0&&(_0x57b7e1=!this[_0x590183(0x1c1)]),this[_0x590183(0x256)][_0x590183(0x297)](_0x5b4d2d||_0xd3bfdc,_0x57b7e1,_0x37daca);}[_0x1b2363(0x2a7)](_0x2c5e62,_0x30bf79,_0x2450bd){const _0x14f257=_0x1b2363;if(this[_0x14f257(0x2cf)]===_0x3300a7[_0x14f257(0x1f2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2c5e62==_0x14f257(0x314)?(_0x2450bd=_0x2c5e62,_0x2c5e62=_0x30bf79=void 0x0):typeof _0x30bf79=='function'&&(_0x2450bd=_0x30bf79,_0x30bf79=void 0x0),typeof _0x2c5e62==_0x14f257(0x2b4)&&(_0x2c5e62=_0x2c5e62[_0x14f257(0x2ca)]()),this[_0x14f257(0x2cf)]!==_0x3300a7[_0x14f257(0x1f4)]){_0x42d5b6(this,_0x2c5e62,_0x2450bd);return;}_0x30bf79===void 0x0&&(_0x30bf79=!this[_0x14f257(0x1c1)]),this[_0x14f257(0x256)][_0x14f257(0x2a7)](_0x2c5e62||_0xd3bfdc,_0x30bf79,_0x2450bd);}[_0x1b2363(0x207)](){const _0x5ab59a=_0x1b2363;this[_0x5ab59a(0x2cf)]===_0x3300a7[_0x5ab59a(0x1f2)]||this[_0x5ab59a(0x2cf)]===_0x3300a7[_0x5ab59a(0x370)]||(this[_0x5ab59a(0x243)]=!0x1,this[_0x5ab59a(0x1d0)][_0x5ab59a(0x1e6)]['needDrain']||this['_socket']['resume']());}['send'](_0x464c68,_0x2ca0eb,_0xaea666){const _0x4e2ede=_0x1b2363;if(this['readyState']===_0x3300a7[_0x4e2ede(0x1f2)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2ca0eb==_0x4e2ede(0x314)&&(_0xaea666=_0x2ca0eb,_0x2ca0eb={}),typeof _0x464c68==_0x4e2ede(0x2b4)&&(_0x464c68=_0x464c68[_0x4e2ede(0x2ca)]()),this[_0x4e2ede(0x2cf)]!==_0x3300a7['OPEN']){_0x42d5b6(this,_0x464c68,_0xaea666);return;}const _0x1e28b2={'binary':typeof _0x464c68!='string','mask':!this[_0x4e2ede(0x1c1)],'compress':!0x0,'fin':!0x0,..._0x2ca0eb};this[_0x4e2ede(0x373)][_0x360ff8[_0x4e2ede(0x1d5)]]||(_0x1e28b2['compress']=!0x1),this[_0x4e2ede(0x256)]['send'](_0x464c68||_0xd3bfdc,_0x1e28b2,_0xaea666);}[_0x1b2363(0x1af)](){const _0x376d29=_0x1b2363;if(this['readyState']!==_0x3300a7[_0x376d29(0x370)]){if(this[_0x376d29(0x2cf)]===_0x3300a7[_0x376d29(0x1f2)]){_0x1da033(this,this[_0x376d29(0x1c3)],_0x376d29(0x29b));return;}this[_0x376d29(0x348)]&&(this['_readyState']=_0x3300a7[_0x376d29(0x22e)],this[_0x376d29(0x348)][_0x376d29(0x28d)]());}}}Object[_0x1b2363(0x2ce)](_0x3300a7,_0x1b2363(0x1f2),{'enumerable':!0x0,'value':_0x2aa59d[_0x1b2363(0x294)](_0x1b2363(0x1f2))}),Object[_0x1b2363(0x2ce)](_0x3300a7[_0x1b2363(0x1b8)],_0x1b2363(0x1f2),{'enumerable':!0x0,'value':_0x2aa59d[_0x1b2363(0x294)](_0x1b2363(0x1f2))}),Object[_0x1b2363(0x2ce)](_0x3300a7,_0x1b2363(0x1f4),{'enumerable':!0x0,'value':_0x2aa59d['indexOf']('OPEN')}),Object['defineProperty'](_0x3300a7[_0x1b2363(0x1b8)],'OPEN',{'enumerable':!0x0,'value':_0x2aa59d[_0x1b2363(0x294)](_0x1b2363(0x1f4))}),Object['defineProperty'](_0x3300a7,_0x1b2363(0x22e),{'enumerable':!0x0,'value':_0x2aa59d['indexOf']('CLOSING')}),Object[_0x1b2363(0x2ce)](_0x3300a7[_0x1b2363(0x1b8)],'CLOSING',{'enumerable':!0x0,'value':_0x2aa59d[_0x1b2363(0x294)](_0x1b2363(0x22e))}),Object[_0x1b2363(0x2ce)](_0x3300a7,_0x1b2363(0x370),{'enumerable':!0x0,'value':_0x2aa59d[_0x1b2363(0x294)](_0x1b2363(0x370))}),Object['defineProperty'](_0x3300a7[_0x1b2363(0x1b8)],_0x1b2363(0x370),{'enumerable':!0x0,'value':_0x2aa59d[_0x1b2363(0x294)]('CLOSED')}),[_0x1b2363(0x2de),'bufferedAmount',_0x1b2363(0x347),_0x1b2363(0x220),_0x1b2363(0x274),_0x1b2363(0x2cf),_0x1b2363(0x281)][_0x1b2363(0x2db)](_0x5c3b5d=>{const _0x1e97a2=_0x1b2363;Object['defineProperty'](_0x3300a7[_0x1e97a2(0x1b8)],_0x5c3b5d,{'enumerable':!0x0});}),['open',_0x1b2363(0x2cb),_0x1b2363(0x2dd),_0x1b2363(0x2d6)]['forEach'](_0x5338de=>{const _0x3c2abf=_0x1b2363;Object[_0x3c2abf(0x2ce)](_0x3300a7['prototype'],'on'+_0x5338de,{'enumerable':!0x0,'get'(){const _0x313f17=_0x3c2abf;for(const _0x2ad138 of this[_0x313f17(0x29d)](_0x5338de))if(_0x2ad138[_0x20955c])return _0x2ad138[_0xdb7287];return null;},'set'(_0x48a47c){const _0x5ad973=_0x3c2abf;for(const _0x3fab64 of this[_0x5ad973(0x29d)](_0x5338de))if(_0x3fab64[_0x20955c]){this['removeListener'](_0x5338de,_0x3fab64);break;}typeof _0x48a47c==_0x5ad973(0x314)&&this[_0x5ad973(0x1fe)](_0x5338de,_0x48a47c,{[_0x20955c]:!0x0});}});}),_0x3300a7[_0x1b2363(0x1b8)][_0x1b2363(0x1fe)]=_0x1f5c62,_0x3300a7['prototype']['removeEventListener']=_0x22e728,we=_0x3300a7;function _0x1a5822(_0x4eb5a1,_0x214509,_0x172b88,_0x567f46){const _0x18765f=_0x1b2363,_0x4e4f90={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3269ed[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x567f46,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x18765f(0x338),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4eb5a1[_0x18765f(0x269)]=_0x4e4f90[_0x18765f(0x1cf)],!_0x3269ed['includes'](_0x4e4f90[_0x18765f(0x2e6)]))throw new RangeError(_0x18765f(0x2d1)+_0x4e4f90['protocolVersion']+_0x18765f(0x1e8)+_0x3269ed['join'](',\x20')+')');let _0x35419d;if(_0x214509 instanceof _0x451153)_0x35419d=_0x214509;else try{_0x35419d=new _0x451153(_0x214509);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x214509);}_0x35419d[_0x18765f(0x274)]===_0x18765f(0x2c8)?_0x35419d[_0x18765f(0x274)]=_0x18765f(0x2c3):_0x35419d[_0x18765f(0x274)]==='https:'&&(_0x35419d['protocol']=_0x18765f(0x2fa)),_0x4eb5a1[_0x18765f(0x323)]=_0x35419d['href'];const _0x3023e1=_0x35419d[_0x18765f(0x274)]==='wss:',_0x46dd60=_0x35419d['protocol']==='ws+unix:';let _0x1bc8fd;if(_0x35419d[_0x18765f(0x274)]!=='ws:'&&!_0x3023e1&&!_0x46dd60?_0x1bc8fd='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':_0x46dd60&&!_0x35419d[_0x18765f(0x291)]?_0x1bc8fd=_0x18765f(0x1cb):_0x35419d[_0x18765f(0x1ef)]&&(_0x1bc8fd='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x1bc8fd){const _0x16b73f=new SyntaxError(_0x1bc8fd);if(_0x4eb5a1[_0x18765f(0x25f)]===0x0)throw _0x16b73f;_0x4ddb79(_0x4eb5a1,_0x16b73f);return;}const _0x546ac3=_0x3023e1?0x1bb:0x50,_0x10ec5a=_0x1b87c4(0x10)['toString']('base64'),_0x4d8e53=_0x3023e1?_0x5babf3[_0x18765f(0x2c5)]:_0x24b8ae[_0x18765f(0x2c5)],_0x37a76b=new Set();let _0x5030f6;if(_0x4e4f90['createConnection']=_0x4e4f90[_0x18765f(0x340)]||(_0x3023e1?_0x287603:_0x2055bd),_0x4e4f90[_0x18765f(0x339)]=_0x4e4f90['defaultPort']||_0x546ac3,_0x4e4f90['port']=_0x35419d[_0x18765f(0x266)]||_0x546ac3,_0x4e4f90[_0x18765f(0x313)]=_0x35419d[_0x18765f(0x29f)][_0x18765f(0x272)]('[')?_0x35419d[_0x18765f(0x29f)][_0x18765f(0x343)](0x1,-0x1):_0x35419d['hostname'],_0x4e4f90[_0x18765f(0x2b8)]={..._0x4e4f90[_0x18765f(0x2b8)],'Sec-WebSocket-Version':_0x4e4f90[_0x18765f(0x2e6)],'Sec-WebSocket-Key':_0x10ec5a,'Connection':_0x18765f(0x35d),'Upgrade':'websocket'},_0x4e4f90[_0x18765f(0x282)]=_0x35419d['pathname']+_0x35419d['search'],_0x4e4f90[_0x18765f(0x368)]=_0x4e4f90[_0x18765f(0x233)],_0x4e4f90[_0x18765f(0x349)]&&(_0x5030f6=new _0x360ff8(_0x4e4f90[_0x18765f(0x349)]!==!0x0?_0x4e4f90['perMessageDeflate']:{},!0x1,_0x4e4f90['maxPayload']),_0x4e4f90[_0x18765f(0x2b8)][_0x18765f(0x22b)]=_0x432961({[_0x360ff8[_0x18765f(0x1d5)]]:_0x5030f6[_0x18765f(0x209)]()})),_0x172b88[_0x18765f(0x2bd)]){for(const _0x4b09fd of _0x172b88){if(typeof _0x4b09fd!=_0x18765f(0x29c)||!_0x24ccad[_0x18765f(0x208)](_0x4b09fd)||_0x37a76b['has'](_0x4b09fd))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x37a76b['add'](_0x4b09fd);}_0x4e4f90['headers'][_0x18765f(0x31d)]=_0x172b88[_0x18765f(0x1b4)](',');}if(_0x4e4f90[_0x18765f(0x278)]&&(_0x4e4f90['protocolVersion']<0xd?_0x4e4f90[_0x18765f(0x2b8)]['Sec-WebSocket-Origin']=_0x4e4f90[_0x18765f(0x278)]:_0x4e4f90[_0x18765f(0x2b8)][_0x18765f(0x1ce)]=_0x4e4f90[_0x18765f(0x278)]),(_0x35419d[_0x18765f(0x2a2)]||_0x35419d['password'])&&(_0x4e4f90[_0x18765f(0x359)]=_0x35419d[_0x18765f(0x2a2)]+':'+_0x35419d[_0x18765f(0x32d)]),_0x46dd60){const _0x13ea63=_0x4e4f90[_0x18765f(0x282)][_0x18765f(0x2a3)](':');_0x4e4f90[_0x18765f(0x26a)]=_0x13ea63[0x0],_0x4e4f90[_0x18765f(0x282)]=_0x13ea63[0x1];}let _0x28bf8c;if(_0x4e4f90[_0x18765f(0x2f5)]){if(_0x4eb5a1[_0x18765f(0x25f)]===0x0){_0x4eb5a1[_0x18765f(0x32a)]=_0x46dd60,_0x4eb5a1[_0x18765f(0x23c)]=_0x3023e1,_0x4eb5a1['_originalHostOrSocketPath']=_0x46dd60?_0x4e4f90[_0x18765f(0x26a)]:_0x35419d[_0x18765f(0x313)];const _0xaaea19=_0x567f46&&_0x567f46[_0x18765f(0x2b8)];if(_0x567f46={..._0x567f46,'headers':{}},_0xaaea19){for(const [_0x39a432,_0x585509]of Object[_0x18765f(0x21f)](_0xaaea19))_0x567f46['headers'][_0x39a432[_0x18765f(0x26f)]()]=_0x585509;}}else{if(_0x4eb5a1[_0x18765f(0x34d)]('redirect')===0x0){const _0x8a7342=_0x46dd60?_0x4eb5a1[_0x18765f(0x32a)]?_0x4e4f90[_0x18765f(0x26a)]===_0x4eb5a1['_originalHostOrSocketPath']:!0x1:_0x4eb5a1['_originalIpc']?!0x1:_0x35419d[_0x18765f(0x313)]===_0x4eb5a1[_0x18765f(0x28a)];(!_0x8a7342||_0x4eb5a1['_originalSecure']&&!_0x3023e1)&&(delete _0x4e4f90[_0x18765f(0x2b8)]['authorization'],delete _0x4e4f90[_0x18765f(0x2b8)]['cookie'],_0x8a7342||delete _0x4e4f90[_0x18765f(0x2b8)][_0x18765f(0x313)],_0x4e4f90['auth']=void 0x0);}}_0x4e4f90[_0x18765f(0x359)]&&!_0x567f46[_0x18765f(0x2b8)][_0x18765f(0x25c)]&&(_0x567f46[_0x18765f(0x2b8)]['authorization']='Basic\x20'+Buffer['from'](_0x4e4f90[_0x18765f(0x359)])[_0x18765f(0x2ca)]('base64')),_0x28bf8c=_0x4eb5a1[_0x18765f(0x1c3)]=_0x4d8e53(_0x4e4f90),_0x4eb5a1[_0x18765f(0x25f)]&&_0x4eb5a1['emit'](_0x18765f(0x1ca),_0x4eb5a1[_0x18765f(0x281)],_0x28bf8c);}else _0x28bf8c=_0x4eb5a1[_0x18765f(0x1c3)]=_0x4d8e53(_0x4e4f90);_0x4e4f90['timeout']&&_0x28bf8c['on'](_0x18765f(0x368),()=>{const _0x2194d9=_0x18765f;_0x1da033(_0x4eb5a1,_0x28bf8c,_0x2194d9(0x36c));}),_0x28bf8c['on']('error',_0x1c3be7=>{_0x28bf8c===null||_0x28bf8c[_0x1b4946]||(_0x28bf8c=_0x4eb5a1['_req']=null,_0x4ddb79(_0x4eb5a1,_0x1c3be7));}),_0x28bf8c['on'](_0x18765f(0x1b0),_0x19bfb5=>{const _0x41b964=_0x18765f,_0x4a5df5=_0x19bfb5['headers'][_0x41b964(0x2fe)],_0x18653b=_0x19bfb5[_0x41b964(0x1ae)];if(_0x4a5df5&&_0x4e4f90[_0x41b964(0x2f5)]&&_0x18653b>=0x12c&&_0x18653b<0x190){if(++_0x4eb5a1[_0x41b964(0x25f)]>_0x4e4f90[_0x41b964(0x21c)]){_0x1da033(_0x4eb5a1,_0x28bf8c,_0x41b964(0x228));return;}_0x28bf8c[_0x41b964(0x1b1)]();let _0x6cc50c;try{_0x6cc50c=new _0x451153(_0x4a5df5,_0x214509);}catch{const _0xf0d371=new SyntaxError(_0x41b964(0x20a)+_0x4a5df5);_0x4ddb79(_0x4eb5a1,_0xf0d371);return;}_0x1a5822(_0x4eb5a1,_0x6cc50c,_0x172b88,_0x567f46);}else _0x4eb5a1[_0x41b964(0x275)](_0x41b964(0x206),_0x28bf8c,_0x19bfb5)||_0x1da033(_0x4eb5a1,_0x28bf8c,_0x41b964(0x31a)+_0x19bfb5[_0x41b964(0x1ae)]);}),_0x28bf8c['on'](_0x18765f(0x1ed),(_0x3eae40,_0x4264cd,_0x93fd24)=>{const _0x5e61aa=_0x18765f;if(_0x4eb5a1['emit'](_0x5e61aa(0x1ed),_0x3eae40),_0x4eb5a1['readyState']!==_0x3300a7[_0x5e61aa(0x1f2)])return;_0x28bf8c=_0x4eb5a1[_0x5e61aa(0x1c3)]=null;const _0x5c264f=_0x3eae40[_0x5e61aa(0x2b8)]['upgrade'];if(_0x5c264f===void 0x0||_0x5c264f[_0x5e61aa(0x26f)]()!==_0x5e61aa(0x1db)){_0x1da033(_0x4eb5a1,_0x4264cd,_0x5e61aa(0x2df));return;}const _0x375809=_0x267795(_0x5e61aa(0x2b2))[_0x5e61aa(0x2e3)](_0x10ec5a+_0x166430)[_0x5e61aa(0x2d8)](_0x5e61aa(0x325));if(_0x3eae40[_0x5e61aa(0x2b8)][_0x5e61aa(0x227)]!==_0x375809){_0x1da033(_0x4eb5a1,_0x4264cd,_0x5e61aa(0x24a));return;}const _0x22df09=_0x3eae40[_0x5e61aa(0x2b8)][_0x5e61aa(0x200)];let _0x1faae3;if(_0x22df09!==void 0x0?_0x37a76b[_0x5e61aa(0x2a4)]?_0x37a76b[_0x5e61aa(0x33e)](_0x22df09)||(_0x1faae3=_0x5e61aa(0x21e)):_0x1faae3=_0x5e61aa(0x212):_0x37a76b[_0x5e61aa(0x2a4)]&&(_0x1faae3=_0x5e61aa(0x1dc)),_0x1faae3){_0x1da033(_0x4eb5a1,_0x4264cd,_0x1faae3);return;}_0x22df09&&(_0x4eb5a1[_0x5e61aa(0x2bb)]=_0x22df09);const _0x2d98a3=_0x3eae40[_0x5e61aa(0x2b8)][_0x5e61aa(0x2e7)];if(_0x2d98a3!==void 0x0){if(!_0x5030f6){_0x1da033(_0x4eb5a1,_0x4264cd,_0x5e61aa(0x1fd));return;}let _0x353936;try{_0x353936=_0x569837(_0x2d98a3);}catch{_0x1da033(_0x4eb5a1,_0x4264cd,_0x5e61aa(0x35e));return;}const _0x3b51d1=Object['keys'](_0x353936);if(_0x3b51d1['length']!==0x1||_0x3b51d1[0x0]!==_0x360ff8[_0x5e61aa(0x1d5)]){_0x1da033(_0x4eb5a1,_0x4264cd,_0x5e61aa(0x361));return;}try{_0x5030f6[_0x5e61aa(0x344)](_0x353936[_0x360ff8[_0x5e61aa(0x1d5)]]);}catch{_0x1da033(_0x4eb5a1,_0x4264cd,_0x5e61aa(0x35e));return;}_0x4eb5a1[_0x5e61aa(0x373)][_0x360ff8[_0x5e61aa(0x1d5)]]=_0x5030f6;}_0x4eb5a1[_0x5e61aa(0x35a)](_0x4264cd,_0x93fd24,{'allowSynchronousEvents':_0x4e4f90[_0x5e61aa(0x276)],'generateMask':_0x4e4f90['generateMask'],'maxPayload':_0x4e4f90[_0x5e61aa(0x28e)],'skipUTF8Validation':_0x4e4f90[_0x5e61aa(0x1d3)]});}),_0x4e4f90['finishRequest']?_0x4e4f90[_0x18765f(0x1ea)](_0x28bf8c,_0x4eb5a1):_0x28bf8c[_0x18765f(0x20c)]();}function _0x4ddb79(_0xa74cd1,_0x17de70){const _0x5ae192=_0x1b2363;_0xa74cd1[_0x5ae192(0x2d0)]=_0x3300a7[_0x5ae192(0x22e)],_0xa74cd1[_0x5ae192(0x362)]=!0x0,_0xa74cd1[_0x5ae192(0x275)](_0x5ae192(0x2cb),_0x17de70),_0xa74cd1[_0x5ae192(0x355)]();}function _0x2055bd(_0x9825f){const _0x1bf6aa=_0x1b2363;return _0x9825f['path']=_0x9825f[_0x1bf6aa(0x26a)],_0x2dc95e[_0x1bf6aa(0x1c6)](_0x9825f);}function _0x287603(_0x138c97){const _0x1c6789=_0x1b2363;return _0x138c97['path']=void 0x0,!_0x138c97[_0x1c6789(0x33b)]&&_0x138c97[_0x1c6789(0x33b)]!==''&&(_0x138c97[_0x1c6789(0x33b)]=_0x2dc95e['isIP'](_0x138c97['host'])?'':_0x138c97[_0x1c6789(0x313)]),_0x205ca9[_0x1c6789(0x1c6)](_0x138c97);}function _0x1da033(_0x34ff22,_0x5f8493,_0x61b30e){const _0x16b2e1=_0x1b2363;_0x34ff22[_0x16b2e1(0x2d0)]=_0x3300a7[_0x16b2e1(0x22e)];const _0x323327=new Error(_0x61b30e);Error[_0x16b2e1(0x366)](_0x323327,_0x1da033),_0x5f8493[_0x16b2e1(0x288)]?(_0x5f8493[_0x1b4946]=!0x0,_0x5f8493['abort'](),_0x5f8493['socket']&&!_0x5f8493[_0x16b2e1(0x360)][_0x16b2e1(0x342)]&&_0x5f8493[_0x16b2e1(0x360)][_0x16b2e1(0x28d)](),process[_0x16b2e1(0x346)](_0x4ddb79,_0x34ff22,_0x323327)):(_0x5f8493[_0x16b2e1(0x28d)](_0x323327),_0x5f8493['once'](_0x16b2e1(0x2cb),_0x34ff22['emit'][_0x16b2e1(0x364)](_0x34ff22,_0x16b2e1(0x2cb))),_0x5f8493[_0x16b2e1(0x2b5)]('close',_0x34ff22[_0x16b2e1(0x355)][_0x16b2e1(0x364)](_0x34ff22)));}function _0x42d5b6(_0x1f1c29,_0x3ee52c,_0xf6efd6){const _0x238a29=_0x1b2363;if(_0x3ee52c){const _0x18b276=_0x41d6d1(_0x3ee52c)?_0x3ee52c['size']:_0x2a6e86(_0x3ee52c)['length'];_0x1f1c29[_0x238a29(0x348)]?_0x1f1c29[_0x238a29(0x256)][_0x238a29(0x2bc)]+=_0x18b276:_0x1f1c29[_0x238a29(0x2ea)]+=_0x18b276;}if(_0xf6efd6){const _0x1b854c=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1f1c29[_0x238a29(0x2cf)]+'\x20('+_0x2aa59d[_0x1f1c29['readyState']]+')');process[_0x238a29(0x346)](_0xf6efd6,_0x1b854c);}}function _0x2ff1cb(_0x4b0632,_0x46ffbd){const _0x3a483d=_0x1b2363,_0x2826f1=this[_0x1798fb];_0x2826f1[_0x3a483d(0x248)]=!0x0,_0x2826f1[_0x3a483d(0x1bf)]=_0x46ffbd,_0x2826f1['_closeCode']=_0x4b0632,_0x2826f1[_0x3a483d(0x348)][_0x1798fb]!==void 0x0&&(_0x2826f1['_socket'][_0x3a483d(0x27c)](_0x3a483d(0x254),_0x415108),process['nextTick'](_0x2443ea,_0x2826f1['_socket']),_0x4b0632===0x3ed?_0x2826f1[_0x3a483d(0x2dd)]():_0x2826f1[_0x3a483d(0x2dd)](_0x4b0632,_0x46ffbd));}function _0x230adc(){const _0x30796a=_0x1b2363,_0x23a7c0=this[_0x1798fb];_0x23a7c0[_0x30796a(0x220)]||_0x23a7c0[_0x30796a(0x348)]['resume']();}function _0x26ca76(_0x1c4dcd){const _0x4155e4=_0x1b2363,_0x4f3d9a=this[_0x1798fb];_0x4f3d9a[_0x4155e4(0x348)][_0x1798fb]!==void 0x0&&(_0x4f3d9a[_0x4155e4(0x348)][_0x4155e4(0x27c)](_0x4155e4(0x254),_0x415108),process[_0x4155e4(0x346)](_0x2443ea,_0x4f3d9a[_0x4155e4(0x348)]),_0x4f3d9a[_0x4155e4(0x2dd)](_0x1c4dcd[_0x517bb4])),_0x4f3d9a[_0x4155e4(0x362)]||(_0x4f3d9a[_0x4155e4(0x362)]=!0x0,_0x4f3d9a[_0x4155e4(0x275)]('error',_0x1c4dcd));}function _0x313414(){const _0x5d6619=_0x1b2363;this[_0x1798fb][_0x5d6619(0x355)]();}function _0x99e7d8(_0x982784,_0x45ccc4){const _0x56dcf1=_0x1b2363;this[_0x1798fb][_0x56dcf1(0x275)]('message',_0x982784,_0x45ccc4);}function _0x2210c5(_0x2dac14){const _0x5a3157=_0x1b2363,_0x40bdcf=this[_0x1798fb];_0x40bdcf['_autoPong']&&_0x40bdcf[_0x5a3157(0x2a7)](_0x2dac14,!this[_0x5a3157(0x1c1)],_0x25651f),_0x40bdcf[_0x5a3157(0x275)]('ping',_0x2dac14);}function _0x28954b(_0x275e3b){const _0x2bc7eb=_0x1b2363;this[_0x1798fb]['emit'](_0x2bc7eb(0x2a7),_0x275e3b);}function _0x2443ea(_0x164842){_0x164842['resume']();}function _0x4530c8(_0x45a28b){const _0x2248ee=_0x1b2363,_0x59e3e6=this[_0x1798fb];_0x59e3e6[_0x2248ee(0x2cf)]!==_0x3300a7[_0x2248ee(0x370)]&&(_0x59e3e6[_0x2248ee(0x2cf)]===_0x3300a7[_0x2248ee(0x1f4)]&&(_0x59e3e6[_0x2248ee(0x2d0)]=_0x3300a7['CLOSING'],_0x777449(_0x59e3e6)),this[_0x2248ee(0x348)][_0x2248ee(0x20c)](),_0x59e3e6['_errorEmitted']||(_0x59e3e6[_0x2248ee(0x362)]=!0x0,_0x59e3e6['emit'](_0x2248ee(0x2cb),_0x45a28b)));}function _0x777449(_0x5d8803){const _0x152334=_0x1b2363;_0x5d8803[_0x152334(0x28b)]=setTimeout(_0x5d8803[_0x152334(0x348)]['destroy']['bind'](_0x5d8803[_0x152334(0x348)]),_0x36c62d);}function _0x27dca3(){const _0xa9c665=_0x1b2363,_0x314fea=this[_0x1798fb];this['removeListener'](_0xa9c665(0x2dd),_0x27dca3),this[_0xa9c665(0x27c)](_0xa9c665(0x254),_0x415108),this[_0xa9c665(0x27c)](_0xa9c665(0x20c),_0x32059e),_0x314fea['_readyState']=_0x3300a7[_0xa9c665(0x22e)];let _0x3fd332;!this[_0xa9c665(0x26d)][_0xa9c665(0x250)]&&!_0x314fea['_closeFrameReceived']&&!_0x314fea[_0xa9c665(0x1d0)][_0xa9c665(0x1e6)][_0xa9c665(0x2b9)]&&(_0x3fd332=_0x314fea[_0xa9c665(0x348)][_0xa9c665(0x318)]())!==null&&_0x314fea[_0xa9c665(0x1d0)][_0xa9c665(0x1b3)](_0x3fd332),_0x314fea[_0xa9c665(0x1d0)][_0xa9c665(0x20c)](),this[_0x1798fb]=void 0x0,clearTimeout(_0x314fea['_closeTimer']),_0x314fea[_0xa9c665(0x1d0)][_0xa9c665(0x1e6)]['finished']||_0x314fea[_0xa9c665(0x1d0)]['_writableState'][_0xa9c665(0x2b9)]?_0x314fea[_0xa9c665(0x355)]():(_0x314fea['_receiver']['on']('error',_0x313414),_0x314fea['_receiver']['on']('finish',_0x313414));}function _0x415108(_0x45a8f4){const _0x599cf4=_0x1b2363;this[_0x1798fb][_0x599cf4(0x1d0)][_0x599cf4(0x1b3)](_0x45a8f4)||this[_0x599cf4(0x235)]();}function _0x32059e(){const _0x5e528b=_0x1b2363,_0x542c39=this[_0x1798fb];_0x542c39[_0x5e528b(0x2d0)]=_0x3300a7[_0x5e528b(0x22e)],_0x542c39[_0x5e528b(0x1d0)][_0x5e528b(0x20c)](),this[_0x5e528b(0x20c)]();}function _0x18a701(){const _0x1298e5=_0x1b2363,_0xd09091=this[_0x1798fb];this['removeListener'](_0x1298e5(0x2cb),_0x18a701),this['on'](_0x1298e5(0x2cb),_0x25651f),_0xd09091&&(_0xd09091[_0x1298e5(0x2d0)]=_0x3300a7['CLOSING'],this[_0x1298e5(0x28d)]());}return we;}var Oe,et;function _0x9e56(_0x7b9350,_0x429335){const _0x9929b8=_0x9929();return _0x9e56=function(_0x9e562d,_0x188f7a){_0x9e562d=_0x9e562d-0x1ad;let _0x28fc48=_0x9929b8[_0x9e562d];return _0x28fc48;},_0x9e56(_0x7b9350,_0x429335);}function _0x9929(){const _0x5c0db7=['length','permessage-deflate','cookie','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','writeHead','Unexpected\x20character\x20at\x20index\x20','ws:','WS_ERR_INVALID_UTF8','request','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','share','http:','readUInt16BE','toString','error','map','shift','defineProperty','readyState','_readyState','Unsupported\x20protocol\x20version:\x20','setNoDelay','COLLABORATION_CLIENT_NODE_CONFIG_KEY','sec-websocket-origin','createError','message','Invalid\x20Sec-WebSocket-Protocol\x20header','digest','79684ZqtvSC','Max\x20payload\x20size\x20exceeded','forEach','_opcode','close','binaryType','Invalid\x20Upgrade\x20header','species','isView','zlib','update','opcode','1396212WBzwCp','protocolVersion','sec-websocket-extensions','arraybuffer','exports','_bufferedAmount','getData','270HJWsmM','freeze','MASK\x20must\x20be\x20clear','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','clientMaxWindowBits','create','kDone','getPayloadLength16','fin','followRedirects','http','toDisposable','readUInt32BE','kListener','wss:','values','completeUpgrade','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','location','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_maxPayload','_registerDependencies','verifyClient','removeAllListeners','kCode','clientTracking','crypto','noServer','_mask','Inject','clients','readable','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','tls','registerDependencies','The\x20server\x20is\x20not\x20running','kWasClean','find','createSocket','host','function','onmessage','973288AsIZYQ','buffers','read','_binaryType','Unexpected\x20server\x20response:\x20','Disposable','unshift','Sec-WebSocket-Protocol','_masked','isInteger','server_max_window_bits','concurrency','WS_ERR_UNEXPECTED_RSV_1','_url','The\x20\x22','base64','writable','buffer','wasClean','isServer','_originalIpc','FIN\x20must\x20be\x20set','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','password','_doCreateSocket','Observable','finished','construct','kAborted','env','Injector','_threshold','onStarting','kReason','GET','defaultPort','_queue','servername','startLoop','Invalid\x20value\x20for\x20parameter\x20\x22','has','setTimeout','createConnection','_allowSynchronousEvents','destroyed','slice','accept','_skipUTF8Validation','nextTick','extensions','_socket','perMessageDeflate','cleanup','enqueue','next','listenerCount','keys','fragments','finish','_compressed','_fragmented','acceptAsServer','concurrencyLimit','emitClose','arrayBuffer','getMask','WS_NO_BUFFER_UTIL','auth','setSocket','kTarget','isValidUTF8','Upgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','getOwnPropertyDescriptor','socket','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_errorEmitted','kByteLength','bind','customHeaders','captureStackTrace','_payloadLength','timeout','@univerjs/network','https','wsClientError','Opening\x20handshake\x20has\x20timed\x20out','MASK\x20must\x20be\x20set','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','invalid\x20payload\x20length\x20','CLOSED','_fragments','Z_DEFAULT_WINDOWBITS','_extensions','RSV1\x20must\x20be\x20clear','statusCode','terminate','response','abort','connection','write','join','reason','UniverCollaborationClientNodePlugin','dispatch','prototype','concat','blob','_options','net','_buffers','getInfo','_closeMessage','charCodeAt','_isServer','_removeListeners','_req','_messageLength','shouldHandle','connect','haveLength','getConfig','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','redirect','The\x20URL\x27s\x20pathname\x20is\x20empty','text/plain','set','Origin','autoPong','_receiver','frame','server_no_context_takeover','skipUTF8Validation','12DPjWbS','extensionName','_deflate','replace','jobs','_closeFrameSent','compress','websocket','Server\x20sent\x20no\x20subprotocol','pow','uncork','code','target','Parameter\x20\x22','zlibInflateOptions','binary','416135iSmwBK','text/html','_writableState','send','\x20(supported\x20versions:\x20','Connection:\x20Upgrade','finishRequest','908484PxMVls','nodebuffer','upgrade','_loop','hash','collaboration-client-node.config','_errored','CONNECTING','isArray','OPEN','serverMaxWindowBits','writeUIntBE','removeEventListener','objectMode','invalid\x20UTF-8\x20sequence','_read','decompress','_inflate','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','addEventListener','pending','sec-websocket-protocol','_firstFragment','dataMessage','listening','WS_ERR_INVALID_OPCODE','CollaborationSocketService','unexpected-response','resume','test','offer','Invalid\x20URL:\x20','client_max_window_bits','end','HTTP/1.1\x20101\x20Switching\x20Protocols','handleProtocols','Module','getPayloadLength64','getBlobData','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','reset','zlibDeflateOptions','writeUInt16BE','2716182KmFnnN','_destroy','server','onerror','authorized','cork','maxRedirects','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Server\x20sent\x20an\x20invalid\x20subprotocol','entries','isPaused','options','default','open','call','controlMessage','push','sec-websocket-accept','Maximum\x20redirects\x20exceeded','HTTPService','catch','Sec-WebSocket-Extensions','client','_no_context_takeover','CLOSING','_configService','unmask','parse','invalid\x20status\x20code\x20','handshakeTimeout','DependentOn','pause','callback','conclude','handleEvent','@univerjs-pro/collaboration','_final','get','_originalSecure','events','Blob','byteLength','encrypted','registerHTTPInterceptor','_fin','_paused','consume','apply','includes','WS_ERR_UNEXPECTED_MASK','_closeFrameReceived','_generateMask','Invalid\x20Sec-WebSocket-Accept\x20header','sendFrame','2tuHIgU','acceptAsClient','WS_ERR_INVALID_CLOSE_CODE','maskBuffer','endEmitted','invalid\x20opcode\x200','isBuffer','@univerjs/core','data','handleUpgrade','_sender','ILogService','@univerjs-pro/collaboration-client','allocUnsafe','_compress','kType','authorization','Unexpected\x20end\x20of\x20input','type','_redirects','File','kData','_server','__esModule','_decompress','_closeCode','port','rsv1','clientNoContextTakeover','_autoPong','socketPath','bufferedAmount','_shouldEmitClose','_readableState','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','toLowerCase','87401HeHGWC','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','startsWith','_write','protocol','emit','allowSynchronousEvents','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','origin','delete','pipe','kRun','removeListener','Upgrade:\x20websocket','flush','normalizeParams','params','url','path','\x22:\x20','byteOffset','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','object','mask','setHeader','hasOwnProperty','_originalHostOrSocketPath','_closeTimer','alloc','destroy','maxPayload','WS_ERR_UNEXPECTED_RSV_2_3','add','pathname','9iTMLEf','address','indexOf','\x22\x20subprotocol\x20is\x20duplicated','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','ping','dequeue','readOnly','generateMask','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','string','listeners','WS_ERR_EXPECTED_MASK','hostname','backlog','client_no_context_takeover','username','split','size','toStringTag','_state','pong','from','dispose','kIsForOnEventAttribute','kMessage','NodeCollaborationSocketService','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','invalid\x20opcode\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','serverNoContextTakeover','kError','sha1','Unknown\x20parameter\x20\x22','number','once','threshold','IConfigService','headers','errorEmitted','_totalPayloadLength','_protocol','_bufferedBytes'];_0x9929=function(){return _0x5c0db7;};return _0x9929();}function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x30f905}=oe;function _0x11b1c6(_0x13e4e8){const _0x43be38=_0x9e56;_0x13e4e8[_0x43be38(0x275)](_0x43be38(0x2dd));}function _0x207964(){const _0x9b5725=_0x9e56;!this['destroyed']&&this[_0x9b5725(0x1e6)][_0x9b5725(0x330)]&&this[_0x9b5725(0x28d)]();}function _0x4bed13(_0x5123ce){const _0x25ef3a=_0x9e56;this[_0x25ef3a(0x27c)]('error',_0x4bed13),this[_0x25ef3a(0x28d)](),this[_0x25ef3a(0x34d)](_0x25ef3a(0x2cb))===0x0&&this[_0x25ef3a(0x275)](_0x25ef3a(0x2cb),_0x5123ce);}function _0xd8190d(_0x54140a,_0x56a393){const _0x1d83d5=_0x9e56;let _0x44acb3=!0x0;const _0x57e22b=new _0x30f905({..._0x56a393,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x54140a['on'](_0x1d83d5(0x2d6),function(_0x392bfe,_0x17c285){const _0x2897d4=_0x1d83d5,_0x272fe0=!_0x17c285&&_0x57e22b['_readableState'][_0x2897d4(0x1f8)]?_0x392bfe['toString']():_0x392bfe;_0x57e22b[_0x2897d4(0x226)](_0x272fe0)||_0x54140a[_0x2897d4(0x235)]();}),_0x54140a['once'](_0x1d83d5(0x2cb),function(_0xb6876c){const _0x2af525=_0x1d83d5;_0x57e22b[_0x2af525(0x342)]||(_0x44acb3=!0x1,_0x57e22b[_0x2af525(0x28d)](_0xb6876c));}),_0x54140a['once']('close',function(){const _0x279ab1=_0x1d83d5;_0x57e22b[_0x279ab1(0x342)]||_0x57e22b[_0x279ab1(0x226)](null);}),_0x57e22b[_0x1d83d5(0x217)]=function(_0x33d085,_0x36b62a){const _0x46768d=_0x1d83d5;if(_0x54140a[_0x46768d(0x2cf)]===_0x54140a[_0x46768d(0x370)]){_0x36b62a(_0x33d085),process[_0x46768d(0x346)](_0x11b1c6,_0x57e22b);return;}let _0xd61193=!0x1;_0x54140a[_0x46768d(0x2b5)](_0x46768d(0x2cb),function(_0x3f9461){_0xd61193=!0x0,_0x36b62a(_0x3f9461);}),_0x54140a['once'](_0x46768d(0x2dd),function(){const _0xc89f47=_0x46768d;_0xd61193||_0x36b62a(_0x33d085),process[_0xc89f47(0x346)](_0x11b1c6,_0x57e22b);}),_0x44acb3&&_0x54140a['terminate']();},_0x57e22b['_final']=function(_0xd22606){const _0x536a93=_0x1d83d5;if(_0x54140a['readyState']===_0x54140a['CONNECTING']){_0x54140a[_0x536a93(0x2b5)](_0x536a93(0x223),function(){const _0x573399=_0x536a93;_0x57e22b[_0x573399(0x23a)](_0xd22606);});return;}_0x54140a[_0x536a93(0x348)]!==null&&(_0x54140a[_0x536a93(0x348)][_0x536a93(0x1e6)][_0x536a93(0x330)]?(_0xd22606(),_0x57e22b[_0x536a93(0x26d)][_0x536a93(0x250)]&&_0x57e22b[_0x536a93(0x28d)]()):(_0x54140a[_0x536a93(0x348)]['once'](_0x536a93(0x350),function(){_0xd22606();}),_0x54140a[_0x536a93(0x2dd)]()));},_0x57e22b[_0x1d83d5(0x1fa)]=function(){_0x54140a['isPaused']&&_0x54140a['resume']();},_0x57e22b['_write']=function(_0x521e3e,_0x17c1c2,_0x5b135b){const _0x585a36=_0x1d83d5;if(_0x54140a[_0x585a36(0x2cf)]===_0x54140a['CONNECTING']){_0x54140a[_0x585a36(0x2b5)](_0x585a36(0x223),function(){const _0x42b242=_0x585a36;_0x57e22b[_0x42b242(0x273)](_0x521e3e,_0x17c1c2,_0x5b135b);});return;}_0x54140a[_0x585a36(0x1e7)](_0x521e3e,_0x5b135b);},_0x57e22b['on'](_0x1d83d5(0x20c),_0x207964),_0x57e22b['on']('error',_0x4bed13),_0x57e22b;}return Oe=_0xd8190d,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x5c521d}=ae();function _0x19d3de(_0x5672e5){const _0x451e82=_0x9e56,_0x5914c7=new Set();let _0xf54cd3=-0x1,_0x578b4e=-0x1,_0x3715a1=0x0;for(_0x3715a1;_0x3715a1<_0x5672e5[_0x451e82(0x2bd)];_0x3715a1++){const _0x36e07f=_0x5672e5['charCodeAt'](_0x3715a1);if(_0x578b4e===-0x1&&_0x5c521d[_0x36e07f]===0x1)_0xf54cd3===-0x1&&(_0xf54cd3=_0x3715a1);else{if(_0x3715a1!==0x0&&(_0x36e07f===0x20||_0x36e07f===0x9))_0x578b4e===-0x1&&_0xf54cd3!==-0x1&&(_0x578b4e=_0x3715a1);else{if(_0x36e07f===0x2c){if(_0xf54cd3===-0x1)throw new SyntaxError(_0x451e82(0x2c2)+_0x3715a1);_0x578b4e===-0x1&&(_0x578b4e=_0x3715a1);const _0x5e4458=_0x5672e5[_0x451e82(0x343)](_0xf54cd3,_0x578b4e);if(_0x5914c7[_0x451e82(0x33e)](_0x5e4458))throw new SyntaxError(_0x451e82(0x324)+_0x5e4458+_0x451e82(0x295));_0x5914c7['add'](_0x5e4458),_0xf54cd3=_0x578b4e=-0x1;}else throw new SyntaxError(_0x451e82(0x2c2)+_0x3715a1);}}}if(_0xf54cd3===-0x1||_0x578b4e!==-0x1)throw new SyntaxError(_0x451e82(0x25d));const _0x33215a=_0x5672e5[_0x451e82(0x343)](_0xf54cd3,_0x3715a1);if(_0x5914c7['has'](_0x33215a))throw new SyntaxError(_0x451e82(0x324)+_0x33215a+_0x451e82(0x295));return _0x5914c7[_0x451e82(0x290)](_0x33215a),_0x5914c7;}return Ce={'parse':_0x19d3de},Ce;}var Te,rt;function Ft(){const _0x44e3d3=_0x506706;if(rt)return Te;rt=0x1;const _0x45a0a5=nt,_0x4a5650=ot,{Duplex:_0x11cb61}=oe,{createHash:_0x893d18}=Le,_0x215f27=ct(),_0x30f1a3=he(),_0x45f165=At(),_0x589679=Pe(),{GUID:_0x248866,kWebSocket:_0x7759ee}=H(),_0x338cb1=/^[+/0-9A-Za-z]{22}==$/,_0x293b83=0x0,_0xc5ca47=0x1,_0x33b113=0x2;class _0x1a934b extends _0x45a0a5{constructor(_0x2fbe59,_0x4a3300){const _0x4f4c58=_0x9e56;if(super(),_0x2fbe59={'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':_0x589679,..._0x2fbe59},_0x2fbe59[_0x4f4c58(0x266)]==null&&!_0x2fbe59[_0x4f4c58(0x218)]&&!_0x2fbe59[_0x4f4c58(0x307)]||_0x2fbe59[_0x4f4c58(0x266)]!=null&&(_0x2fbe59[_0x4f4c58(0x218)]||_0x2fbe59[_0x4f4c58(0x307)])||_0x2fbe59[_0x4f4c58(0x218)]&&_0x2fbe59['noServer'])throw new TypeError(_0x4f4c58(0x36e));if(_0x2fbe59[_0x4f4c58(0x266)]!=null?(this[_0x4f4c58(0x262)]=_0x4a5650['createServer']((_0xe02229,_0x5a0ab4)=>{const _0xca8008=_0x4f4c58,_0x926fbe=_0x4a5650['STATUS_CODES'][0x1aa];_0x5a0ab4[_0xca8008(0x2c1)](0x1aa,{'Content-Length':_0x926fbe[_0xca8008(0x2bd)],'Content-Type':_0xca8008(0x1cc)}),_0x5a0ab4[_0xca8008(0x20c)](_0x926fbe);}),this[_0x4f4c58(0x262)]['listen'](_0x2fbe59[_0x4f4c58(0x266)],_0x2fbe59[_0x4f4c58(0x313)],_0x2fbe59[_0x4f4c58(0x2a0)],_0x4a3300)):_0x2fbe59[_0x4f4c58(0x218)]&&(this[_0x4f4c58(0x262)]=_0x2fbe59['server']),this['_server']){const _0x5f4a5c=this[_0x4f4c58(0x275)][_0x4f4c58(0x364)](this,_0x4f4c58(0x1b2));this[_0x4f4c58(0x1c2)]=_0x5023b9(this[_0x4f4c58(0x262)],{'listening':this[_0x4f4c58(0x275)]['bind'](this,_0x4f4c58(0x203)),'error':this[_0x4f4c58(0x275)][_0x4f4c58(0x364)](this,'error'),'upgrade':(_0x43cc41,_0x467a4a,_0x2f6b66)=>{const _0x4fad12=_0x4f4c58;this[_0x4fad12(0x255)](_0x43cc41,_0x467a4a,_0x2f6b66,_0x5f4a5c);}});}_0x2fbe59['perMessageDeflate']===!0x0&&(_0x2fbe59['perMessageDeflate']={}),_0x2fbe59[_0x4f4c58(0x305)]&&(this['clients']=new Set(),this[_0x4f4c58(0x26c)]=!0x1),this['options']=_0x2fbe59,this[_0x4f4c58(0x2a6)]=_0x293b83;}[_0x44e3d3(0x293)](){const _0x41ca4e=_0x44e3d3;if(this[_0x41ca4e(0x221)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x41ca4e(0x262)]?this[_0x41ca4e(0x262)][_0x41ca4e(0x293)]():null;}[_0x44e3d3(0x2dd)](_0x2122f6){const _0x1dae79=_0x44e3d3;if(this[_0x1dae79(0x2a6)]===_0x33b113){_0x2122f6&&this[_0x1dae79(0x2b5)]('close',()=>{const _0x40a35f=_0x1dae79;_0x2122f6(new Error(_0x40a35f(0x30f)));}),process[_0x1dae79(0x346)](_0x519a0f,this);return;}if(_0x2122f6&&this['once']('close',_0x2122f6),this['_state']!==_0xc5ca47){if(this['_state']=_0xc5ca47,this['options'][_0x1dae79(0x307)]||this[_0x1dae79(0x221)][_0x1dae79(0x218)])this[_0x1dae79(0x262)]&&(this[_0x1dae79(0x1c2)](),this[_0x1dae79(0x1c2)]=this[_0x1dae79(0x262)]=null),this[_0x1dae79(0x30a)]?this[_0x1dae79(0x30a)]['size']?this[_0x1dae79(0x26c)]=!0x0:process[_0x1dae79(0x346)](_0x519a0f,this):process[_0x1dae79(0x346)](_0x519a0f,this);else{const _0x42c668=this[_0x1dae79(0x262)];this['_removeListeners'](),this[_0x1dae79(0x1c2)]=this['_server']=null,_0x42c668[_0x1dae79(0x2dd)](()=>{_0x519a0f(this);});}}}[_0x44e3d3(0x1c5)](_0x48a299){const _0x2d808f=_0x44e3d3;if(this[_0x2d808f(0x221)][_0x2d808f(0x282)]){const _0x47e53f=_0x48a299[_0x2d808f(0x281)]['indexOf']('?');if((_0x47e53f!==-0x1?_0x48a299['url']['slice'](0x0,_0x47e53f):_0x48a299[_0x2d808f(0x281)])!==this[_0x2d808f(0x221)][_0x2d808f(0x282)])return!0x1;}return!0x0;}['handleUpgrade'](_0x544bb7,_0x1b48ee,_0x4b8423,_0x2221f8){const _0x3db1c7=_0x44e3d3;_0x1b48ee['on'](_0x3db1c7(0x2cb),_0x4b993b);const _0x52fcc9=_0x544bb7['headers']['sec-websocket-key'],_0x196c94=_0x544bb7[_0x3db1c7(0x2b8)]['upgrade'],_0x34364b=+_0x544bb7[_0x3db1c7(0x2b8)]['sec-websocket-version'];if(_0x544bb7['method']!==_0x3db1c7(0x338)){_0x21950b(this,_0x544bb7,_0x1b48ee,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x196c94===void 0x0||_0x196c94[_0x3db1c7(0x26f)]()!==_0x3db1c7(0x1db)){_0x21950b(this,_0x544bb7,_0x1b48ee,0x190,_0x3db1c7(0x2df));return;}if(_0x52fcc9===void 0x0||!_0x338cb1[_0x3db1c7(0x208)](_0x52fcc9)){_0x21950b(this,_0x544bb7,_0x1b48ee,0x190,_0x3db1c7(0x1c9));return;}if(_0x34364b!==0x8&&_0x34364b!==0xd){_0x21950b(this,_0x544bb7,_0x1b48ee,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x544bb7)){_0x36622b(_0x1b48ee,0x190);return;}const _0x54b763=_0x544bb7['headers'][_0x3db1c7(0x200)];let _0x225583=new Set();if(_0x54b763!==void 0x0)try{_0x225583=_0x45f165[_0x3db1c7(0x231)](_0x54b763);}catch{_0x21950b(this,_0x544bb7,_0x1b48ee,0x190,_0x3db1c7(0x2d7));return;}const _0x2e69cc=_0x544bb7[_0x3db1c7(0x2b8)]['sec-websocket-extensions'],_0x4d6847={};if(this[_0x3db1c7(0x221)][_0x3db1c7(0x349)]&&_0x2e69cc!==void 0x0){const _0xf855a1=new _0x30f1a3(this[_0x3db1c7(0x221)][_0x3db1c7(0x349)],!0x0,this[_0x3db1c7(0x221)][_0x3db1c7(0x28e)]);try{const _0x216d8a=_0x215f27[_0x3db1c7(0x231)](_0x2e69cc);_0x216d8a[_0x30f1a3[_0x3db1c7(0x1d5)]]&&(_0xf855a1['accept'](_0x216d8a[_0x30f1a3['extensionName']]),_0x4d6847[_0x30f1a3[_0x3db1c7(0x1d5)]]=_0xf855a1);}catch{_0x21950b(this,_0x544bb7,_0x1b48ee,0x190,_0x3db1c7(0x26e));return;}}if(this[_0x3db1c7(0x221)][_0x3db1c7(0x302)]){const _0x4fdaa7={'origin':_0x544bb7[_0x3db1c7(0x2b8)][''+(_0x34364b===0x8?_0x3db1c7(0x2d4):_0x3db1c7(0x278))],'secure':!!(_0x544bb7[_0x3db1c7(0x360)][_0x3db1c7(0x21a)]||_0x544bb7[_0x3db1c7(0x360)][_0x3db1c7(0x240)]),'req':_0x544bb7};if(this[_0x3db1c7(0x221)][_0x3db1c7(0x302)][_0x3db1c7(0x2bd)]===0x2){this[_0x3db1c7(0x221)][_0x3db1c7(0x302)](_0x4fdaa7,(_0x11a097,_0x2efa42,_0x2652f3,_0x1fcf48)=>{const _0x26dfe6=_0x3db1c7;if(!_0x11a097)return _0x36622b(_0x1b48ee,_0x2efa42||0x191,_0x2652f3,_0x1fcf48);this[_0x26dfe6(0x2fc)](_0x4d6847,_0x52fcc9,_0x225583,_0x544bb7,_0x1b48ee,_0x4b8423,_0x2221f8);});return;}if(!this['options'][_0x3db1c7(0x302)](_0x4fdaa7))return _0x36622b(_0x1b48ee,0x191);}this[_0x3db1c7(0x2fc)](_0x4d6847,_0x52fcc9,_0x225583,_0x544bb7,_0x1b48ee,_0x4b8423,_0x2221f8);}[_0x44e3d3(0x2fc)](_0x4207e4,_0x33b057,_0x4581d2,_0x229f7b,_0x8750ca,_0x22bb08,_0x1e8c62){const _0x1d4c91=_0x44e3d3;if(!_0x8750ca[_0x1d4c91(0x30b)]||!_0x8750ca[_0x1d4c91(0x326)])return _0x8750ca[_0x1d4c91(0x28d)]();if(_0x8750ca[_0x7759ee])throw new Error(_0x1d4c91(0x2fd));if(this[_0x1d4c91(0x2a6)]>_0x293b83)return _0x36622b(_0x8750ca,0x1f7);const _0x1824a4=[_0x1d4c91(0x20d),_0x1d4c91(0x27d),_0x1d4c91(0x1e9),'Sec-WebSocket-Accept:\x20'+_0x893d18('sha1')[_0x1d4c91(0x2e3)](_0x33b057+_0x248866)[_0x1d4c91(0x2d8)](_0x1d4c91(0x325))],_0x4536cf=new this[(_0x1d4c91(0x221))]['WebSocket'](null,void 0x0,this[_0x1d4c91(0x221)]);if(_0x4581d2[_0x1d4c91(0x2a4)]){const _0x4554a3=this[_0x1d4c91(0x221)]['handleProtocols']?this[_0x1d4c91(0x221)][_0x1d4c91(0x20e)](_0x4581d2,_0x229f7b):_0x4581d2[_0x1d4c91(0x2fb)]()[_0x1d4c91(0x34c)]()['value'];_0x4554a3&&(_0x1824a4[_0x1d4c91(0x226)]('Sec-WebSocket-Protocol:\x20'+_0x4554a3),_0x4536cf[_0x1d4c91(0x2bb)]=_0x4554a3);}if(_0x4207e4[_0x30f1a3[_0x1d4c91(0x1d5)]]){const _0x50560e=_0x4207e4[_0x30f1a3[_0x1d4c91(0x1d5)]][_0x1d4c91(0x280)],_0x36f9e9=_0x215f27['format']({[_0x30f1a3[_0x1d4c91(0x1d5)]]:[_0x50560e]});_0x1824a4[_0x1d4c91(0x226)]('Sec-WebSocket-Extensions:\x20'+_0x36f9e9),_0x4536cf[_0x1d4c91(0x373)]=_0x4207e4;}this[_0x1d4c91(0x275)](_0x1d4c91(0x2b8),_0x1824a4,_0x229f7b),_0x8750ca[_0x1d4c91(0x1b3)](_0x1824a4[_0x1d4c91(0x1b9)]('\x0d\x0a')['join']('\x0d\x0a')),_0x8750ca['removeListener'](_0x1d4c91(0x2cb),_0x4b993b),_0x4536cf[_0x1d4c91(0x35a)](_0x8750ca,_0x22bb08,{'allowSynchronousEvents':this[_0x1d4c91(0x221)][_0x1d4c91(0x276)],'maxPayload':this['options'][_0x1d4c91(0x28e)],'skipUTF8Validation':this[_0x1d4c91(0x221)][_0x1d4c91(0x1d3)]}),this[_0x1d4c91(0x30a)]&&(this[_0x1d4c91(0x30a)][_0x1d4c91(0x290)](_0x4536cf),_0x4536cf['on'](_0x1d4c91(0x2dd),()=>{const _0x507f1b=_0x1d4c91;this[_0x507f1b(0x30a)][_0x507f1b(0x279)](_0x4536cf),this[_0x507f1b(0x26c)]&&!this[_0x507f1b(0x30a)][_0x507f1b(0x2a4)]&&process['nextTick'](_0x519a0f,this);})),_0x1e8c62(_0x4536cf,_0x229f7b);}}Te=_0x1a934b;function _0x5023b9(_0x54f19b,_0x1da31b){for(const _0x4ad20f of Object['keys'](_0x1da31b))_0x54f19b['on'](_0x4ad20f,_0x1da31b[_0x4ad20f]);return function(){const _0x42a37e=_0x9e56;for(const _0x3a50c4 of Object[_0x42a37e(0x34e)](_0x1da31b))_0x54f19b['removeListener'](_0x3a50c4,_0x1da31b[_0x3a50c4]);};}function _0x519a0f(_0x2f5355){const _0x16e1c7=_0x44e3d3;_0x2f5355['_state']=_0x33b113,_0x2f5355[_0x16e1c7(0x275)](_0x16e1c7(0x2dd));}function _0x4b993b(){const _0x4079b6=_0x44e3d3;this[_0x4079b6(0x28d)]();}function _0x36622b(_0x111702,_0x38db4f,_0x527006,_0x5093c3){const _0x10b623=_0x44e3d3;_0x527006=_0x527006||_0x4a5650['STATUS_CODES'][_0x38db4f],_0x5093c3={'Connection':_0x10b623(0x2dd),'Content-Type':_0x10b623(0x1e5),'Content-Length':Buffer['byteLength'](_0x527006),..._0x5093c3},_0x111702[_0x10b623(0x2b5)](_0x10b623(0x350),_0x111702[_0x10b623(0x28d)]),_0x111702[_0x10b623(0x20c)]('HTTP/1.1\x20'+_0x38db4f+'\x20'+_0x4a5650['STATUS_CODES'][_0x38db4f]+'\x0d\x0a'+Object['keys'](_0x5093c3)['map'](_0x244bdb=>_0x244bdb+':\x20'+_0x5093c3[_0x244bdb])[_0x10b623(0x1b4)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x527006);}function _0x21950b(_0x17deab,_0x5befb6,_0x57c92b,_0x180330,_0x1a753a){const _0x27a02d=_0x44e3d3;if(_0x17deab[_0x27a02d(0x34d)](_0x27a02d(0x36b))){const _0x538989=new Error(_0x1a753a);Error[_0x27a02d(0x366)](_0x538989,_0x21950b),_0x17deab['emit'](_0x27a02d(0x36b),_0x538989,_0x57c92b,_0x5befb6);}else _0x36622b(_0x57c92b,_0x180330,_0x1a753a);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x3ac218,_0x123d94,_0x63fb05,_0x27be6b)=>{for(var _0x7f8562=_0x27be6b>0x1?void 0x0:_0x27be6b?jt(_0x123d94,_0x63fb05):_0x123d94,_0x3dcd20=_0x3ac218['length']-0x1,_0x102605;_0x3dcd20>=0x0;_0x3dcd20--)(_0x102605=_0x3ac218[_0x3dcd20])&&(_0x7f8562=_0x102605(_0x7f8562)||_0x7f8562);return _0x7f8562;},qt=(_0x243842,_0x46107d)=>(_0x152c2d,_0x3eabd0)=>_0x46107d(_0x152c2d,_0x3eabd0,_0x243842);let ke=class extends A[_0x506706(0x31b)]{constructor(_0x14d58b){const _0x57990f=_0x506706;super(),this[_0x57990f(0x22f)]=_0x14d58b;}[_0x506706(0x312)](_0x84b1cc){const _0xb9bcc1=_0x506706;var _0x3cfc8d;const _0x3fe11c=(_0x3cfc8d=this[_0xb9bcc1(0x22f)][_0xb9bcc1(0x1c8)](fe))==null?void 0x0:_0x3cfc8d['customHeaders'];try{const _0x2d8fa7=new $t(_0x84b1cc,{'headers':{..._0x3fe11c}}),_0x264ef7=new A['DisposableCollection']();return{'URL':_0x84b1cc,'close':(_0x592c15,_0x283727)=>{const _0x15a4e8=_0xb9bcc1;_0x2d8fa7[_0x15a4e8(0x2dd)](_0x592c15,_0x283727),_0x264ef7[_0x15a4e8(0x2a9)]();},'send':_0x594834=>{const _0xd78229=_0xb9bcc1;_0x2d8fa7[_0xd78229(0x1e7)](_0x594834);},'open$':new V['Observable'](_0x38d0b4=>{const _0x14c16a=_0xb9bcc1,_0x40a600=_0x39deda=>_0x38d0b4[_0x14c16a(0x34c)](_0x39deda);_0x2d8fa7['addEventListener']('open',_0x40a600),_0x264ef7[_0x14c16a(0x290)](A[_0x14c16a(0x2f7)](()=>_0x2d8fa7[_0x14c16a(0x1f7)](_0x14c16a(0x223),_0x40a600)));})[_0xb9bcc1(0x27a)](V[_0xb9bcc1(0x2c7)]()),'close$':new V[(_0xb9bcc1(0x32f))](_0x5332e0=>{const _0x4fafe8=_0xb9bcc1,_0x1b6696=_0x392351=>_0x5332e0['next'](_0x392351);_0x2d8fa7['addEventListener'](_0x4fafe8(0x2dd),_0x1b6696),_0x264ef7['add'](A[_0x4fafe8(0x2f7)](()=>_0x2d8fa7[_0x4fafe8(0x1f7)](_0x4fafe8(0x2dd),_0x1b6696)));})[_0xb9bcc1(0x27a)](V[_0xb9bcc1(0x2c7)]()),'error$':new V[(_0xb9bcc1(0x32f))](_0x3848b6=>{const _0x5a96cd=_0xb9bcc1,_0x50689f=_0x2cd015=>_0x3848b6[_0x5a96cd(0x34c)](_0x2cd015);_0x2d8fa7[_0x5a96cd(0x1fe)](_0x5a96cd(0x2cb),_0x50689f),_0x264ef7['add'](A[_0x5a96cd(0x2f7)](()=>_0x2d8fa7[_0x5a96cd(0x1f7)](_0x5a96cd(0x2cb),_0x50689f)));})[_0xb9bcc1(0x27a)](V[_0xb9bcc1(0x2c7)]()),'message$':new V[(_0xb9bcc1(0x32f))](_0x2f70b8=>{const _0x7b5633=_0xb9bcc1,_0x4b2d9c=_0x5dc7cf=>_0x2f70b8[_0x7b5633(0x34c)](_0x5dc7cf);_0x2d8fa7[_0x7b5633(0x1fe)](_0x7b5633(0x2d6),_0x4b2d9c),_0x264ef7[_0x7b5633(0x290)](A[_0x7b5633(0x2f7)](()=>_0x2d8fa7[_0x7b5633(0x1f7)]('message',_0x4b2d9c)));})[_0xb9bcc1(0x27a)](V[_0xb9bcc1(0x2c7)]())};}catch(_0x39c3cf){return console[_0xb9bcc1(0x2cb)](_0x39c3cf),null;}}};ke=Wt([qt(0x0,A[_0x506706(0x2b7)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x506706(0x35f)],Ht=(_0x2b07bd,_0x1f61eb,_0x4d2ac4)=>_0x1f61eb in _0x2b07bd?Gt(_0x2b07bd,_0x1f61eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d2ac4}):_0x2b07bd[_0x1f61eb]=_0x4d2ac4,zt=(_0x41b658,_0xfd74b2,_0x173749,_0xe8bfcf)=>{for(var _0x51ca31=_0xe8bfcf>0x1?void 0x0:_0xe8bfcf?Vt(_0xfd74b2,_0x173749):_0xfd74b2,_0x558054=_0x41b658['length']-0x1,_0x4c51de;_0x558054>=0x0;_0x558054--)(_0x4c51de=_0x41b658[_0x558054])&&(_0x51ca31=_0x4c51de(_0x51ca31)||_0x51ca31);return _0x51ca31;},Ne=(_0x4ae2fc,_0x3d1167)=>(_0x305bb0,_0xda86a)=>_0x3d1167(_0x305bb0,_0xda86a,_0x4ae2fc),Yt=(_0x29d477,_0x114766,_0x596a6b)=>Ht(_0x29d477,_0x114766+'',_0x596a6b);exports['UniverCollaborationClientNodePlugin']=class extends A['Plugin']{constructor(_0xb64dad=Ct,_0x43cb23,_0x5e8b54,_0x26073b){const _0x1db0df=_0x506706;_0xb64dad[_0x1db0df(0x365)]||_0x43cb23['warn'](_0x1db0df(0x2ff)),super(),this[_0x1db0df(0x22f)]=_0x5e8b54,this['_injector']=_0x26073b,this[_0x1db0df(0x22f)]['setConfig'](fe,_0xb64dad);}[_0x506706(0x336)](){const _0x5049f6=_0x506706;this[_0x5049f6(0x301)]();}[_0x506706(0x301)](){const _0xf610e=_0x506706;A[_0xf610e(0x30e)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x506706(0x1b6)],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x506706(0x1b6)]=zt([A[_0x506706(0x234)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x506706(0x257)]),Ne(0x2,A[_0x506706(0x2b7)]),Ne(0x3,A[_0x506706(0x309)](A[_0x506706(0x334)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x506706(0x35f)],Xt=(_0x24cad3,_0x3c3f2b,_0x868645,_0x556b26)=>{const _0x464ac0=_0x506706;for(var _0x17804a=_0x556b26>0x1?void 0x0:_0x556b26?Kt(_0x3c3f2b,_0x868645):_0x3c3f2b,_0x11e096=_0x24cad3[_0x464ac0(0x2bd)]-0x1,_0x3f1a24;_0x11e096>=0x0;_0x11e096--)(_0x3f1a24=_0x24cad3[_0x11e096])&&(_0x17804a=_0x3f1a24(_0x17804a)||_0x17804a);return _0x17804a;},ne=(_0x303c30,_0x338da8)=>(_0x4e632d,_0x4eb58f)=>_0x338da8(_0x4e632d,_0x4eb58f,_0x303c30);exports[_0x506706(0x2ac)]=class extends st[_0x506706(0x205)]{constructor(_0x21fa40,_0x5dfad2,_0x5d9bc3,_0x5914fb,_0x12d975){const _0x2efa6d=_0x506706;super(_0x21fa40,_0x5dfad2,_0x5d9bc3,_0x5914fb,_0x12d975);const _0x5dfb84=this[_0x2efa6d(0x22f)][_0x2efa6d(0x1c8)](fe);this['_httpService'][_0x2efa6d(0x241)]({'interceptor':(_0x1e6305,_0x52f5b2)=>{const _0x9a2aa1=_0x2efa6d;var _0x5064f3;const _0x197d7e=_0x1e6305[_0x9a2aa1(0x2b8)];return(_0x5064f3=_0x5dfb84==null?void 0x0:_0x5dfb84['customHeaders'])!=null&&_0x5064f3[_0x9a2aa1(0x2bf)]&&_0x197d7e[_0x9a2aa1(0x1cd)]('Cookie',_0x5dfb84[_0x9a2aa1(0x365)]['cookie']),_0x52f5b2(_0x1e6305);}});}async[_0x506706(0x312)](_0x500207){const _0x5f17cf=_0x506706;return this[_0x5f17cf(0x32e)](_0x500207);}},exports[_0x506706(0x2ac)]=Xt([ne(0x0,A[_0x506706(0x309)](A[_0x506706(0x334)])),ne(0x1,A['Inject'](it[_0x506706(0x229)])),ne(0x2,A[_0x506706(0x2b7)]),ne(0x3,A[_0x506706(0x257)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x506706(0x2ac)]),exports[_0x506706(0x2d3)]=fe;
1
+ 'use strict';const _0x54d721=_0x59da;(function(_0x3dc43f,_0x3c845){const _0x257de3=_0x59da,_0x157d7f=_0x3dc43f();while(!![]){try{const _0x6e0003=-parseInt(_0x257de3(0x1ea))/0x1+parseInt(_0x257de3(0xe8))/0x2+-parseInt(_0x257de3(0x12c))/0x3+-parseInt(_0x257de3(0xb7))/0x4+parseInt(_0x257de3(0xf3))/0x5*(-parseInt(_0x257de3(0xf7))/0x6)+-parseInt(_0x257de3(0xcc))/0x7+-parseInt(_0x257de3(0xd0))/0x8*(-parseInt(_0x257de3(0xc6))/0x9);if(_0x6e0003===_0x3c845)break;else _0x157d7f['push'](_0x157d7f['shift']());}catch(_0x2cace8){_0x157d7f['push'](_0x157d7f['shift']());}}}(_0x3d5e,0xed296));Object[_0x54d721(0x15b)](exports,Symbol['toStringTag'],{'value':_0x54d721(0xd8)});const st=require(_0x54d721(0x18a)),A=require(_0x54d721(0x1fa)),it=require(_0x54d721(0xed)),V=require(_0x54d721(0x1b1)),nt=require(_0x54d721(0x146)),vt=require('https'),ot=require(_0x54d721(0xdd)),St=require(_0x54d721(0xfa)),Et=require('tls'),Le=require(_0x54d721(0x141)),oe=require(_0x54d721(0x1c4)),xt=require(_0x54d721(0xa2)),bt=require(_0x54d721(0x122)),wt=require(_0x54d721(0x11d)),Ot=require(_0x54d721(0x1a7)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function _0x59da(_0x521520,_0x28e606){const _0x3d5e1b=_0x3d5e();return _0x59da=function(_0x59da71,_0x2106e7){_0x59da71=_0x59da71-0x78;let _0x77f662=_0x3d5e1b[_0x59da71];return _0x77f662;},_0x59da(_0x521520,_0x28e606);}function Tt(_0x1a3393){const _0x1e8bca=_0x54d721;return _0x1a3393&&_0x1a3393['__esModule']&&Object[_0x1e8bca(0xb9)][_0x1e8bca(0x101)][_0x1e8bca(0x1c1)](_0x1a3393,_0x1e8bca(0x1d8))?_0x1a3393['default']:_0x1a3393;}function at(_0x753b81){const _0x272627=_0x54d721;if(Object['prototype'][_0x272627(0x101)]['call'](_0x753b81,_0x272627(0xa7)))return _0x753b81;var _0x27fe47=_0x753b81[_0x272627(0x1d8)];if(typeof _0x27fe47==_0x272627(0xb6)){var _0x12f4d9=function _0xfb13e2(){const _0x434308=_0x272627;return this instanceof _0xfb13e2?Reflect[_0x434308(0x11a)](_0x27fe47,arguments,this[_0x434308(0x237)]):_0x27fe47['apply'](this,arguments);};_0x12f4d9[_0x272627(0xb9)]=_0x27fe47[_0x272627(0xb9)];}else _0x12f4d9={};return Object[_0x272627(0x15b)](_0x12f4d9,_0x272627(0xa7),{'value':!0x0}),Object['keys'](_0x753b81)['forEach'](function(_0x5db9dc){const _0xfa2b81=_0x272627;var _0x2a0d02=Object['getOwnPropertyDescriptor'](_0x753b81,_0x5db9dc);Object[_0xfa2b81(0x15b)](_0x12f4d9,_0x5db9dc,_0x2a0d02[_0xfa2b81(0x10c)]?_0x2a0d02:{'enumerable':!0x0,'get':function(){return _0x753b81[_0x5db9dc];}});}),_0x12f4d9;}var se={'exports':{}},ge,Ge;function _0x3d5e(){const _0x1ed1ac=['kListener','target','_bufferedAmount','connect','onmessage','text/html','object','frame','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_readableState','verifyClient','readyState','from','createError','Server\x20sent\x20no\x20subprotocol','_httpService','bind','DisposableCollection','removeListener','_destroy','maskBuffer','shouldHandle','origin','once','response','destroy','clients','_options','end','type','GET','pathname','_decompress','ISnapshotServerService','blob','host','compress','forEach','permessage-deflate','kDone','needDrain','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Z_SYNC_FLUSH','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','flush','byteOffset','address','_autoPong','indexOf','invalid\x20opcode\x20','nodebuffer','enqueue','open','species','url','writeHead','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','client_max_window_bits','NodeCollaborationSocketService','__esModule','join','kByteLength','setTimeout','createDeflateRaw','method','createSocket','noServer','emitClose','HTTP/1.1\x20','getOwnPropertyDescriptor','values','kError','toString','invalid\x20status\x20code\x20','function','790900NgfQVz','UniverCollaborationClientNodePlugin','prototype','readUInt32BE','invalid\x20UTF-8\x20sequence','push','extensions','fin','completeUpgrade','timeout','customHeaders','getMask','length','Plugin','kAborted','24067566ZKbzuJ','Disposable','Server\x20sent\x20an\x20invalid\x20subprotocol','Basic\x20','ws:','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','6668823qCkaIm','removeAllListeners','_fragments','servername','16xLgJzL','isPaused','_queue','apply','isArray','Max\x20payload\x20size\x20exceeded','request','kType','Module','size','The\x20URL\x27s\x20pathname\x20is\x20empty','sha1','autoPong','http','CLOSED','arrayBuffer','reason','ws+unix:','pause','ILogService','listenerCount','threshold','perMessageDeflate','_removeListeners','1112052UQpuZa','listen','password','pluginName','_shouldEmitClose','@univerjs/network','_closeFrameReceived','Unknown\x20parameter\x20\x22','kRun','warn','handleEvent','4135KnADBz','\x20(supported\x20versions:\x20','keys','MASK\x20must\x20be\x20set','8142txyhTa','WS_NO_BUFFER_UTIL','_fin','net','\x22\x20subprotocol\x20is\x20duplicated','options','invalid\x20opcode\x200','Upgrade','_maskBuffer','skipUTF8Validation','hasOwnProperty','createServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','nextTick','DependentOn','cleanup','setHeader','Invalid\x20HTTP\x20method','_receiver','authorized','isView','get','_originalSecure','Unexpected\x20end\x20of\x20input','set','wsClientError','slice','emit','consume','_originalHostOrSocketPath','WS_ERR_EXPECTED_FIN','sendFrame','Opening\x20handshake\x20has\x20timed\x20out','objectMode','OPEN','construct','kCode','Invalid\x20Upgrade\x20header','buffer','dataMessage','read','_opcode','bufferedAmount','zlib','Unexpected\x20character\x20at\x20index\x20','The\x20\x22','wasClean','readOnly','maxPayload','binaryType','WS_ERR_UNEXPECTED_RSV_2_3','zlibDeflateOptions','_writableState','3192351bmHXSU','dispose','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','catch','followRedirects','reset','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','then','ping','isInteger','pipe','WS_ERR_INVALID_OPCODE','_firstFragment','IConfigService','Origin','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','shift','offer','_isServer','_url','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','crypto','binary','setNoDelay','split','_skipUTF8Validation','events','accept','port','protocolVersion','headers','data','captureStackTrace','server_no_context_takeover','_server','toStringTag','client_no_context_takeover','_loop','controlMessage','params','_deflate','has','wss:','startsWith','jobs','WebSocket','RSV1\x20must\x20be\x20clear','defineProperty','_compress','parse','create','serverMaxWindowBits','normalizeParams','generateMask','HTTPService','_configService','value','clientMaxWindowBits','_no_context_takeover','websocket','setSocket','addEventListener','decompress','kMessage','File','clientNoContextTakeover','hash','_maxPayload','STATUS_CODES','sec-websocket-origin','authorization','next','allowSynchronousEvents','backlog','_extensions','listeners','_binaryType','startLoop','socket','_closeTimer','WS_NO_UTF_8_VALIDATE','createInflateRaw','https:','onopen','createConnection','path','WS_ERR_INVALID_CLOSE_CODE','delete','getConfig','_fragmented','getBlobData','Unsupported\x20protocol\x20version:\x20','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','@univerjs-pro/collaboration-client','search','map','cork','Sec-WebSocket-Accept:\x20','update','defaultPort','CONNECTING','_state','_closeMessage','add','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','MASK\x20must\x20be\x20clear','destroyed','alloc','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','errorEmitted','serverNoContextTakeover','kReason','dispatch','concurrencyLimit','abort','Maximum\x20redirects\x20exceeded','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_write','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','statusCode','Z_DEFAULT_WINDOWBITS','getInfo','@univerjs-pro/collaboration','send','Invalid\x20value\x20for\x20parameter\x20\x22','protocol','CollaborationSocketService','Blob','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Observable','charCodeAt','concat','rxjs','getPayloadLength16','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','format','acceptAsServer','Sec-WebSocket-Protocol','rsv1','cookie','Invalid\x20URL:\x20','_inflate','haveLength','readUInt16BE','total-length','connection','_buffers','writeUInt16BE','call','toLowerCase','client','stream','Sec-WebSocket-Protocol:\x20','opcode','onerror','_mask','_protocol','resume','setConfig','acceptAsClient','WS_ERR_INVALID_UTF8','dequeue','_errored','test','hostname','_totalPayloadLength','http:','CLOSING','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_readyState','Sec-WebSocket-Extensions','default','_final','pow','error','Sec-WebSocket-Origin','_sender','\x0d\x0a\x0d\x0a','_doCreateSocket','server','finishRequest','server_max_window_bits','_socket','_payloadLength','Unexpected\x20server\x20response:\x20','writable','sec-websocket-key','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','auth','1596190icYjeT','share','href','ISocketService','_registerDependencies','_max_window_bits','unshift','buffers','terminate','_bufferedBytes','getPayloadLength64','digest','string','_generateMask','redirect','message','@univerjs/core','readable','finish','unexpected-response','arraybuffer','handleUpgrade','_messageLength','_errorEmitted','WebSocket\x20is\x20not\x20open:\x20readyState\x20','concurrency','write','removeEventListener','endEmitted','onclose','pending','Invalid\x20WebSocket\x20frame:\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20Sec-WebSocket-Extensions\x20header','WS_ERR_UNEXPECTED_MASK','replace','\x22:\x20','_masked','mask','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','conclude','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_req','drain','allocUnsafe','unmask','exports','pong','_closeFrameSent','Injector','code','number','username','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','close','base64','_threshold','sec-websocket-extensions','toDisposable','_injector','_redirects','_closeCode','_compressed','isServer','socketPath','byteLength','upgrade','isBuffer','_originalIpc','Inject','isValidUTF8','getData','freeze','WS_ERR_UNEXPECTED_RSV_1','_allowSynchronousEvents','fragments','_paused','constructor','sec-websocket-accept','includes','extensionName','finished'];_0x3d5e=function(){return _0x1ed1ac;};return _0x3d5e();}function H(){const _0xe5a315=_0x54d721;if(Ge)return ge;Ge=0x1;const _0x47a789=[_0xe5a315(0x9e),_0xe5a315(0x1fe),_0xe5a315(0x235)],_0x17afee=typeof Blob<'u';return _0x17afee&&_0x47a789[_0xe5a315(0xbc)](_0xe5a315(0x8e)),ge={'BINARY_TYPES':_0x47a789,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0xe5a315(0x13b),'hasBlob':_0x17afee,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xe5a315(0x23c)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0xe5a315(0x167)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x54d721(0x232)](Object[_0x54d721(0x15b)]({'__proto__':null,'default':Nt},Symbol[_0x54d721(0x14f)],{'value':_0x54d721(0xd8)})),Lt=at(kt);var Ve;function ce(){const _0x42e041=_0x54d721;if(Ve)return se[_0x42e041(0x218)];Ve=0x1;const {EMPTY_BUFFER:_0x200f0a}=H(),_0x4d4ba4=Buffer[Symbol[_0x42e041(0xa1)]];function _0x43f9a2(_0x4aa8e5,_0xe529ff){const _0x6c01fe=_0x42e041;if(_0x4aa8e5[_0x6c01fe(0xc3)]===0x0)return _0x200f0a;if(_0x4aa8e5['length']===0x1)return _0x4aa8e5[0x0];const _0x320da5=Buffer['allocUnsafe'](_0xe529ff);let _0x506126=0x0;for(let _0x2033c3=0x0;_0x2033c3<_0x4aa8e5[_0x6c01fe(0xc3)];_0x2033c3++){const _0x53dc82=_0x4aa8e5[_0x2033c3];_0x320da5[_0x6c01fe(0x10f)](_0x53dc82,_0x506126),_0x506126+=_0x53dc82['length'];}return _0x506126<_0xe529ff?new _0x4d4ba4(_0x320da5[_0x6c01fe(0x11d)],_0x320da5[_0x6c01fe(0x99)],_0x506126):_0x320da5;}function _0x205488(_0x54fdc7,_0x2d00a2,_0x317def,_0x53b3d8,_0x16b5ff){for(let _0x1ec576=0x0;_0x1ec576<_0x16b5ff;_0x1ec576++)_0x317def[_0x53b3d8+_0x1ec576]=_0x54fdc7[_0x1ec576]^_0x2d00a2[_0x1ec576&0x3];}function _0x310f03(_0x49ebe0,_0x51e407){const _0x194ac6=_0x42e041;for(let _0x49b14d=0x0;_0x49b14d<_0x49ebe0[_0x194ac6(0xc3)];_0x49b14d++)_0x49ebe0[_0x49b14d]^=_0x51e407[_0x49b14d&0x3];}function _0x28dc5d(_0x485334){const _0xd8c473=_0x42e041;return _0x485334[_0xd8c473(0xc3)]===_0x485334['buffer'][_0xd8c473(0x22b)]?_0x485334[_0xd8c473(0x11d)]:_0x485334[_0xd8c473(0x11d)][_0xd8c473(0x111)](_0x485334[_0xd8c473(0x99)],_0x485334[_0xd8c473(0x99)]+_0x485334['length']);}function _0x160121(_0x360720){const _0x1adc24=_0x42e041;if(_0x160121[_0x1adc24(0x126)]=!0x0,Buffer[_0x1adc24(0x22d)](_0x360720))return _0x360720;let _0x4fa787;return _0x360720 instanceof ArrayBuffer?_0x4fa787=new _0x4d4ba4(_0x360720):ArrayBuffer[_0x1adc24(0x10b)](_0x360720)?_0x4fa787=new _0x4d4ba4(_0x360720[_0x1adc24(0x11d)],_0x360720['byteOffset'],_0x360720[_0x1adc24(0x22b)]):(_0x4fa787=Buffer[_0x1adc24(0x78)](_0x360720),_0x160121['readOnly']=!0x1),_0x4fa787;}if(se[_0x42e041(0x218)]={'concat':_0x43f9a2,'mask':_0x205488,'toArrayBuffer':_0x28dc5d,'toBuffer':_0x160121,'unmask':_0x310f03},!process['env'][_0x42e041(0xf8)])try{const _0x21b980=Lt;se['exports'][_0x42e041(0x210)]=function(_0x226b3d,_0x37f55c,_0x41529c,_0x17998d,_0x53c14e){const _0x26851d=_0x42e041;_0x53c14e<0x30?_0x205488(_0x226b3d,_0x37f55c,_0x41529c,_0x17998d,_0x53c14e):_0x21b980[_0x26851d(0x210)](_0x226b3d,_0x37f55c,_0x41529c,_0x17998d,_0x53c14e);},se[_0x42e041(0x218)]['unmask']=function(_0x3b3826,_0x10774d){const _0x1735d5=_0x42e041;_0x3b3826['length']<0x20?_0x310f03(_0x3b3826,_0x10774d):_0x21b980[_0x1735d5(0x217)](_0x3b3826,_0x10774d);};}catch{}return se[_0x42e041(0x218)];}var ye,He;function Pt(){const _0x4f8c2e=_0x54d721;if(He)return ye;He=0x1;const _0x4c36dc=Symbol(_0x4f8c2e(0x93)),_0x2d3910=Symbol(_0x4f8c2e(0xf0));class _0x44de7d{constructor(_0x368d54){const _0x4db1a4=_0x4f8c2e;this[_0x4c36dc]=()=>{const _0x4c0501=_0x59da;this[_0x4c0501(0x208)]--,this[_0x2d3910]();},this[_0x4db1a4(0x203)]=_0x368d54||0x1/0x0,this[_0x4db1a4(0x158)]=[],this[_0x4db1a4(0x208)]=0x0;}[_0x4f8c2e(0x194)](_0x2c31d5){const _0x2f61ba=_0x4f8c2e;this[_0x2f61ba(0x158)][_0x2f61ba(0xbc)](_0x2c31d5),this[_0x2d3910]();}[_0x2d3910](){const _0x18f6b6=_0x4f8c2e;if(this[_0x18f6b6(0x208)]!==this[_0x18f6b6(0x203)]&&this[_0x18f6b6(0x158)][_0x18f6b6(0xc3)]){const _0x23c0d2=this[_0x18f6b6(0x158)][_0x18f6b6(0x13c)]();this[_0x18f6b6(0x208)]++,_0x23c0d2(this[_0x4c36dc]);}}}return ye=_0x44de7d,ye;}var ve,ze;function he(){const _0x4be0bb=_0x54d721;if(ze)return ve;ze=0x1;const _0x4cd170=bt,_0xf820ba=ce(),_0x1257bf=Pt(),{kStatusCode:_0x4ae73e}=H(),_0xd140b=Buffer[Symbol['species']],_0x15ffdc=Buffer[_0x4be0bb(0x78)]([0x0,0x0,0xff,0xff]),_0x506342=Symbol(_0x4be0bb(0x92)),_0x176e8b=Symbol(_0x4be0bb(0x1bd)),_0x42fca3=Symbol('callback'),_0x569de3=Symbol(_0x4be0bb(0x1f1)),_0x4242aa=Symbol(_0x4be0bb(0x1db));let _0x2167af;class _0x229c8c{constructor(_0x1d7423,_0x2a4949,_0x2951e3){const _0x513821=_0x4be0bb;if(this['_maxPayload']=_0x2951e3|0x0,this[_0x513821(0x87)]=_0x1d7423||{},this['_threshold']=this[_0x513821(0x87)][_0x513821(0xe5)]!==void 0x0?this[_0x513821(0x87)][_0x513821(0xe5)]:0x400,this[_0x513821(0x13e)]=!!_0x2a4949,this['_deflate']=null,this['_inflate']=null,this['params']=null,!_0x2167af){const _0x5d961a=this[_0x513821(0x87)]['concurrencyLimit']!==void 0x0?this['_options'][_0x513821(0x19e)]:0xa;_0x2167af=new _0x1257bf(_0x5d961a);}}static get[_0x4be0bb(0x23a)](){const _0x5410e1=_0x4be0bb;return _0x5410e1(0x92);}[_0x4be0bb(0x13d)](){const _0x3d87b0=_0x4be0bb,_0x293d5d={};return this[_0x3d87b0(0x87)][_0x3d87b0(0x19b)]&&(_0x293d5d['server_no_context_takeover']=!0x0),this[_0x3d87b0(0x87)][_0x3d87b0(0x16d)]&&(_0x293d5d['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x293d5d['server_max_window_bits']=this[_0x3d87b0(0x87)][_0x3d87b0(0x15f)]),this[_0x3d87b0(0x87)][_0x3d87b0(0x165)]?_0x293d5d['client_max_window_bits']=this['_options'][_0x3d87b0(0x165)]:this['_options'][_0x3d87b0(0x165)]==null&&(_0x293d5d['client_max_window_bits']=!0x0),_0x293d5d;}[_0x4be0bb(0x147)](_0x247ccc){const _0x2f0d10=_0x4be0bb;return _0x247ccc=this[_0x2f0d10(0x160)](_0x247ccc),this[_0x2f0d10(0x153)]=this[_0x2f0d10(0x13e)]?this['acceptAsServer'](_0x247ccc):this[_0x2f0d10(0x1cc)](_0x247ccc),this[_0x2f0d10(0x153)];}['cleanup'](){const _0x1c8d15=_0x4be0bb;if(this[_0x1c8d15(0x1ba)]&&(this['_inflate'][_0x1c8d15(0x220)](),this[_0x1c8d15(0x1ba)]=null),this['_deflate']){const _0x1a5c88=this['_deflate'][_0x42fca3];this[_0x1c8d15(0x154)][_0x1c8d15(0x220)](),this[_0x1c8d15(0x154)]=null,_0x1a5c88&&_0x1a5c88(new Error(_0x1c8d15(0x1e8)));}}[_0x4be0bb(0x1b5)](_0x253fa2){const _0x248f12=_0x4be0bb,_0x5b6c8f=this[_0x248f12(0x87)],_0x4d744b=_0x253fa2['find'](_0x1e903b=>!(_0x5b6c8f[_0x248f12(0x19b)]===!0x1&&_0x1e903b['server_no_context_takeover']||_0x1e903b[_0x248f12(0x1e2)]&&(_0x5b6c8f[_0x248f12(0x15f)]===!0x1||typeof _0x5b6c8f[_0x248f12(0x15f)]=='number'&&_0x5b6c8f['serverMaxWindowBits']>_0x1e903b['server_max_window_bits'])||typeof _0x5b6c8f['clientMaxWindowBits']==_0x248f12(0x21d)&&!_0x1e903b[_0x248f12(0xa5)]));if(!_0x4d744b)throw new Error(_0x248f12(0x244));return _0x5b6c8f[_0x248f12(0x19b)]&&(_0x4d744b[_0x248f12(0x14d)]=!0x0),_0x5b6c8f['clientNoContextTakeover']&&(_0x4d744b[_0x248f12(0x150)]=!0x0),typeof _0x5b6c8f[_0x248f12(0x15f)]==_0x248f12(0x21d)&&(_0x4d744b[_0x248f12(0x1e2)]=_0x5b6c8f['serverMaxWindowBits']),typeof _0x5b6c8f[_0x248f12(0x165)]=='number'?_0x4d744b['client_max_window_bits']=_0x5b6c8f['clientMaxWindowBits']:(_0x4d744b[_0x248f12(0xa5)]===!0x0||_0x5b6c8f[_0x248f12(0x165)]===!0x1)&&delete _0x4d744b[_0x248f12(0xa5)],_0x4d744b;}[_0x4be0bb(0x1cc)](_0x2dd422){const _0x414c71=_0x4be0bb,_0x294df3=_0x2dd422[0x0];if(this[_0x414c71(0x87)][_0x414c71(0x16d)]===!0x1&&_0x294df3[_0x414c71(0x150)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x294df3[_0x414c71(0xa5)])typeof this[_0x414c71(0x87)][_0x414c71(0x165)]=='number'&&(_0x294df3[_0x414c71(0xa5)]=this['_options'][_0x414c71(0x165)]);else{if(this[_0x414c71(0x87)][_0x414c71(0x165)]===!0x1||typeof this[_0x414c71(0x87)][_0x414c71(0x165)]==_0x414c71(0x21d)&&_0x294df3[_0x414c71(0xa5)]>this[_0x414c71(0x87)][_0x414c71(0x165)])throw new Error(_0x414c71(0x188));}return _0x294df3;}[_0x4be0bb(0x160)](_0x478c98){const _0xdd56b3=_0x4be0bb;return _0x478c98[_0xdd56b3(0x91)](_0x4df251=>{const _0x1afe2d=_0xdd56b3;Object[_0x1afe2d(0xf5)](_0x4df251)[_0x1afe2d(0x91)](_0x3dc1e9=>{const _0x526db3=_0x1afe2d;let _0x332cbe=_0x4df251[_0x3dc1e9];if(_0x332cbe[_0x526db3(0xc3)]>0x1)throw new Error('Parameter\x20\x22'+_0x3dc1e9+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x332cbe=_0x332cbe[0x0],_0x3dc1e9==='client_max_window_bits'){if(_0x332cbe!==!0x0){const _0x45780d=+_0x332cbe;if(!Number[_0x526db3(0x135)](_0x45780d)||_0x45780d<0x8||_0x45780d>0xf)throw new TypeError(_0x526db3(0x1a9)+_0x3dc1e9+_0x526db3(0x20e)+_0x332cbe);_0x332cbe=_0x45780d;}else{if(!this[_0x526db3(0x13e)])throw new TypeError(_0x526db3(0x1a9)+_0x3dc1e9+'\x22:\x20'+_0x332cbe);}}else{if(_0x3dc1e9===_0x526db3(0x1e2)){const _0x16b990=+_0x332cbe;if(!Number[_0x526db3(0x135)](_0x16b990)||_0x16b990<0x8||_0x16b990>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3dc1e9+_0x526db3(0x20e)+_0x332cbe);_0x332cbe=_0x16b990;}else{if(_0x3dc1e9===_0x526db3(0x150)||_0x3dc1e9===_0x526db3(0x14d)){if(_0x332cbe!==!0x0)throw new TypeError(_0x526db3(0x1a9)+_0x3dc1e9+_0x526db3(0x20e)+_0x332cbe);}else throw new Error(_0x526db3(0xef)+_0x3dc1e9+'\x22');}}_0x4df251[_0x3dc1e9]=_0x332cbe;});}),_0x478c98;}[_0x4be0bb(0x16a)](_0x59cba6,_0x39aaba,_0x548350){const _0x7502a8=_0x4be0bb;_0x2167af[_0x7502a8(0x194)](_0x2e9d52=>{const _0x4e38f3=_0x7502a8;this[_0x4e38f3(0x8c)](_0x59cba6,_0x39aaba,(_0x5b1b2f,_0x3aa1ca)=>{_0x2e9d52(),_0x548350(_0x5b1b2f,_0x3aa1ca);});});}[_0x4be0bb(0x90)](_0x3e0e41,_0x428bde,_0xa70b81){const _0xb459c5=_0x4be0bb;_0x2167af[_0xb459c5(0x194)](_0x42294e=>{const _0x6659a5=_0xb459c5;this[_0x6659a5(0x15c)](_0x3e0e41,_0x428bde,(_0x982ed2,_0x59d72b)=>{_0x42294e(),_0xa70b81(_0x982ed2,_0x59d72b);});});}[_0x4be0bb(0x8c)](_0x3e39bb,_0xab6c21,_0x3d294e){const _0x26d7fd=_0x4be0bb,_0x56ea64=this[_0x26d7fd(0x13e)]?_0x26d7fd(0x1c3):_0x26d7fd(0x1e0);if(!this['_inflate']){const _0x1c2602=_0x56ea64+_0x26d7fd(0x1ef),_0x357982=typeof this[_0x26d7fd(0x153)][_0x1c2602]!=_0x26d7fd(0x21d)?_0x4cd170[_0x26d7fd(0x1a5)]:this['params'][_0x1c2602];this[_0x26d7fd(0x1ba)]=_0x4cd170[_0x26d7fd(0x17d)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x357982}),this[_0x26d7fd(0x1ba)][_0x506342]=this,this[_0x26d7fd(0x1ba)][_0x176e8b]=0x0,this[_0x26d7fd(0x1ba)][_0x569de3]=[],this[_0x26d7fd(0x1ba)]['on']('error',_0x25865c),this[_0x26d7fd(0x1ba)]['on'](_0x26d7fd(0x14b),_0x162d4a);}this['_inflate'][_0x42fca3]=_0x3d294e,this['_inflate'][_0x26d7fd(0x204)](_0x3e39bb),_0xab6c21&&this['_inflate'][_0x26d7fd(0x204)](_0x15ffdc),this[_0x26d7fd(0x1ba)][_0x26d7fd(0x98)](()=>{const _0x101a36=_0x26d7fd,_0x3a19d4=this['_inflate'][_0x4242aa];if(_0x3a19d4){this[_0x101a36(0x1ba)][_0x101a36(0x220)](),this[_0x101a36(0x1ba)]=null,_0x3d294e(_0x3a19d4);return;}const _0x4af9a9=_0xf820ba[_0x101a36(0x1b0)](this[_0x101a36(0x1ba)][_0x569de3],this[_0x101a36(0x1ba)][_0x176e8b]);this[_0x101a36(0x1ba)][_0x101a36(0x245)][_0x101a36(0x206)]?(this['_inflate']['close'](),this[_0x101a36(0x1ba)]=null):(this[_0x101a36(0x1ba)][_0x176e8b]=0x0,this['_inflate'][_0x569de3]=[],_0xab6c21&&this[_0x101a36(0x153)][_0x56ea64+_0x101a36(0x166)]&&this[_0x101a36(0x1ba)][_0x101a36(0x131)]()),_0x3d294e(null,_0x4af9a9);});}[_0x4be0bb(0x15c)](_0xae191e,_0x4d0b13,_0x207820){const _0x57848e=_0x4be0bb,_0x168125=this[_0x57848e(0x13e)]?_0x57848e(0x1e0):_0x57848e(0x1c3);if(!this['_deflate']){const _0x59784b=_0x168125+_0x57848e(0x1ef),_0x9032d1=typeof this[_0x57848e(0x153)][_0x59784b]!=_0x57848e(0x21d)?_0x4cd170[_0x57848e(0x1a5)]:this[_0x57848e(0x153)][_0x59784b];this[_0x57848e(0x154)]=_0x4cd170[_0x57848e(0xab)]({...this[_0x57848e(0x87)][_0x57848e(0x12a)],'windowBits':_0x9032d1}),this[_0x57848e(0x154)][_0x176e8b]=0x0,this[_0x57848e(0x154)][_0x569de3]=[],this['_deflate']['on'](_0x57848e(0x14b),_0x4c794a);}this[_0x57848e(0x154)][_0x42fca3]=_0x207820,this[_0x57848e(0x154)][_0x57848e(0x204)](_0xae191e),this[_0x57848e(0x154)][_0x57848e(0x98)](_0x4cd170[_0x57848e(0x96)],()=>{const _0x515f8a=_0x57848e;if(!this[_0x515f8a(0x154)])return;let _0x1a28b4=_0xf820ba['concat'](this[_0x515f8a(0x154)][_0x569de3],this[_0x515f8a(0x154)][_0x176e8b]);_0x4d0b13&&(_0x1a28b4=new _0xd140b(_0x1a28b4[_0x515f8a(0x11d)],_0x1a28b4[_0x515f8a(0x99)],_0x1a28b4[_0x515f8a(0xc3)]-0x4)),this[_0x515f8a(0x154)][_0x42fca3]=null,this[_0x515f8a(0x154)][_0x176e8b]=0x0,this[_0x515f8a(0x154)][_0x569de3]=[],_0x4d0b13&&this[_0x515f8a(0x153)][_0x168125+_0x515f8a(0x166)]&&this[_0x515f8a(0x154)][_0x515f8a(0x131)](),_0x207820(null,_0x1a28b4);});}}ve=_0x229c8c;function _0x4c794a(_0x4487d3){const _0x2f91b7=_0x4be0bb;this[_0x569de3][_0x2f91b7(0xbc)](_0x4487d3),this[_0x176e8b]+=_0x4487d3[_0x2f91b7(0xc3)];}function _0x162d4a(_0x3c077c){const _0x43afe0=_0x4be0bb;if(this[_0x176e8b]+=_0x3c077c[_0x43afe0(0xc3)],this[_0x506342]['_maxPayload']<0x1||this[_0x176e8b]<=this[_0x506342][_0x43afe0(0x16f)]){this[_0x569de3][_0x43afe0(0xbc)](_0x3c077c);return;}this[_0x4242aa]=new RangeError(_0x43afe0(0xd5)),this[_0x4242aa][_0x43afe0(0x21c)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4242aa][_0x4ae73e]=0x3f1,this[_0x43afe0(0x7e)](_0x43afe0(0x14b),_0x162d4a),this[_0x43afe0(0x131)]();}function _0x25865c(_0x120e0c){this[_0x506342]['_inflate']=null,_0x120e0c[_0x4ae73e]=0x3ef,this[_0x42fca3](_0x120e0c);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x54d721(0x232)](Object[_0x54d721(0x15b)]({'__proto__':null,'default':Dt},Symbol[_0x54d721(0x14f)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x3a1821=_0x54d721;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x57449d}=wt,{hasBlob:_0x4c634b}=H(),_0x5a765c=[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 _0x2e3a71(_0x3c7aae){return _0x3c7aae>=0x3e8&&_0x3c7aae<=0x3f6&&_0x3c7aae!==0x3ec&&_0x3c7aae!==0x3ed&&_0x3c7aae!==0x3ee||_0x3c7aae>=0xbb8&&_0x3c7aae<=0x1387;}function _0x42ba72(_0x4dd181){const _0x56f2d0=_0x59da,_0x57aba9=_0x4dd181[_0x56f2d0(0xc3)];let _0x58453f=0x0;for(;_0x58453f<_0x57aba9;)if((_0x4dd181[_0x58453f]&0x80)===0x0)_0x58453f++;else{if((_0x4dd181[_0x58453f]&0xe0)===0xc0){if(_0x58453f+0x1===_0x57aba9||(_0x4dd181[_0x58453f+0x1]&0xc0)!==0x80||(_0x4dd181[_0x58453f]&0xfe)===0xc0)return!0x1;_0x58453f+=0x2;}else{if((_0x4dd181[_0x58453f]&0xf0)===0xe0){if(_0x58453f+0x2>=_0x57aba9||(_0x4dd181[_0x58453f+0x1]&0xc0)!==0x80||(_0x4dd181[_0x58453f+0x2]&0xc0)!==0x80||_0x4dd181[_0x58453f]===0xe0&&(_0x4dd181[_0x58453f+0x1]&0xe0)===0x80||_0x4dd181[_0x58453f]===0xed&&(_0x4dd181[_0x58453f+0x1]&0xe0)===0xa0)return!0x1;_0x58453f+=0x3;}else{if((_0x4dd181[_0x58453f]&0xf8)===0xf0){if(_0x58453f+0x3>=_0x57aba9||(_0x4dd181[_0x58453f+0x1]&0xc0)!==0x80||(_0x4dd181[_0x58453f+0x2]&0xc0)!==0x80||(_0x4dd181[_0x58453f+0x3]&0xc0)!==0x80||_0x4dd181[_0x58453f]===0xf0&&(_0x4dd181[_0x58453f+0x1]&0xf0)===0x80||_0x4dd181[_0x58453f]===0xf4&&_0x4dd181[_0x58453f+0x1]>0x8f||_0x4dd181[_0x58453f]>0xf4)return!0x1;_0x58453f+=0x4;}else return!0x1;}}}return!0x0;}function _0x5dfb03(_0x55cac8){const _0xd9f303=_0x59da;return _0x4c634b&&typeof _0x55cac8=='object'&&typeof _0x55cac8[_0xd9f303(0xdf)]=='function'&&typeof _0x55cac8[_0xd9f303(0x89)]=='string'&&typeof _0x55cac8[_0xd9f303(0x1c4)]=='function'&&(_0x55cac8[Symbol[_0xd9f303(0x14f)]]===_0xd9f303(0x1ac)||_0x55cac8[Symbol[_0xd9f303(0x14f)]]===_0xd9f303(0x16c));}if(ie['exports']={'isBlob':_0x5dfb03,'isValidStatusCode':_0x2e3a71,'isValidUTF8':_0x42ba72,'tokenChars':_0x5a765c},_0x57449d)ie[_0x3a1821(0x218)][_0x3a1821(0x230)]=function(_0x392158){return _0x392158['length']<0x18?_0x42ba72(_0x392158):_0x57449d(_0x392158);};else{if(!process['env'][_0x3a1821(0x17c)])try{const _0xc893bc=Bt;ie[_0x3a1821(0x218)][_0x3a1821(0x230)]=function(_0x1bd728){return _0x1bd728['length']<0x20?_0x42ba72(_0x1bd728):_0xc893bc(_0x1bd728);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x3edd39=_0x54d721;if(Ke)return Se;Ke=0x1;const {Writable:_0x15b4be}=oe,_0x9a30e4=he(),{BINARY_TYPES:_0x41fc34,EMPTY_BUFFER:_0x47816c,kStatusCode:_0x37f609,kWebSocket:_0x4ffd55}=H(),{concat:_0x44be2b,toArrayBuffer:_0x40f9d5,unmask:_0x330320}=ce(),{isValidStatusCode:_0x398f19,isValidUTF8:_0x2acb45}=ae(),_0x58f920=Buffer[Symbol['species']],_0x31a7eb=0x0,_0x30b696=0x1,_0x414730=0x2,_0x46a8de=0x3,_0x16fcb8=0x4,_0x261af5=0x5,_0x28e6b0=0x6;class _0x52c052 extends _0x15b4be{constructor(_0x5bd114={}){const _0x196cad=_0x59da;super(),this[_0x196cad(0x234)]=_0x5bd114[_0x196cad(0x174)]!==void 0x0?_0x5bd114['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x5bd114[_0x196cad(0x128)]||_0x41fc34[0x0],this[_0x196cad(0x176)]=_0x5bd114[_0x196cad(0xbd)]||{},this['_isServer']=!!_0x5bd114[_0x196cad(0x229)],this[_0x196cad(0x16f)]=_0x5bd114[_0x196cad(0x127)]|0x0,this['_skipUTF8Validation']=!!_0x5bd114[_0x196cad(0x100)],this[_0x4ffd55]=void 0x0,this[_0x196cad(0x1f3)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x196cad(0x1c8)]=void 0x0,this[_0x196cad(0x185)]=0x0,this[_0x196cad(0x20f)]=!0x1,this[_0x196cad(0xf9)]=!0x1,this[_0x196cad(0x120)]=0x0,this['_totalPayloadLength']=0x0,this[_0x196cad(0x200)]=0x0,this['_fragments']=[],this[_0x196cad(0x1cf)]=!0x1,this['_loop']=!0x1,this[_0x196cad(0x192)]=_0x31a7eb;}['_write'](_0x1ac5b3,_0x5cd128,_0x46ca9e){const _0x180341=_0x59da;if(this[_0x180341(0x120)]===0x8&&this[_0x180341(0x192)]==_0x31a7eb)return _0x46ca9e();this[_0x180341(0x1f3)]+=_0x1ac5b3[_0x180341(0xc3)],this['_buffers'][_0x180341(0xbc)](_0x1ac5b3),this[_0x180341(0x179)](_0x46ca9e);}[_0x3edd39(0x113)](_0x4040c1){const _0x2019dc=_0x3edd39;if(this[_0x2019dc(0x1f3)]-=_0x4040c1,_0x4040c1===this[_0x2019dc(0x1bf)][0x0][_0x2019dc(0xc3)])return this['_buffers'][_0x2019dc(0x13c)]();if(_0x4040c1<this[_0x2019dc(0x1bf)][0x0][_0x2019dc(0xc3)]){const _0x2d542b=this[_0x2019dc(0x1bf)][0x0];return this[_0x2019dc(0x1bf)][0x0]=new _0x58f920(_0x2d542b['buffer'],_0x2d542b[_0x2019dc(0x99)]+_0x4040c1,_0x2d542b['length']-_0x4040c1),new _0x58f920(_0x2d542b[_0x2019dc(0x11d)],_0x2d542b['byteOffset'],_0x4040c1);}const _0x5912c0=Buffer['allocUnsafe'](_0x4040c1);do{const _0xcf2474=this['_buffers'][0x0],_0x1f1a36=_0x5912c0[_0x2019dc(0xc3)]-_0x4040c1;_0x4040c1>=_0xcf2474['length']?_0x5912c0[_0x2019dc(0x10f)](this[_0x2019dc(0x1bf)][_0x2019dc(0x13c)](),_0x1f1a36):(_0x5912c0[_0x2019dc(0x10f)](new Uint8Array(_0xcf2474[_0x2019dc(0x11d)],_0xcf2474['byteOffset'],_0x4040c1),_0x1f1a36),this['_buffers'][0x0]=new _0x58f920(_0xcf2474['buffer'],_0xcf2474[_0x2019dc(0x99)]+_0x4040c1,_0xcf2474['length']-_0x4040c1)),_0x4040c1-=_0xcf2474[_0x2019dc(0xc3)];}while(_0x4040c1>0x0);return _0x5912c0;}[_0x3edd39(0x179)](_0x454900){const _0x45d5eb=_0x3edd39;this[_0x45d5eb(0x151)]=!0x0;do switch(this[_0x45d5eb(0x192)]){case _0x31a7eb:this[_0x45d5eb(0x1a6)](_0x454900);break;case _0x30b696:this['getPayloadLength16'](_0x454900);break;case _0x414730:this[_0x45d5eb(0x1f4)](_0x454900);break;case _0x46a8de:this['getMask']();break;case _0x16fcb8:this[_0x45d5eb(0x231)](_0x454900);break;case _0x261af5:case _0x28e6b0:this[_0x45d5eb(0x151)]=!0x1;return;}while(this[_0x45d5eb(0x151)]);this[_0x45d5eb(0x1cf)]||_0x454900();}['getInfo'](_0x112a66){const _0x3549af=_0x3edd39;if(this[_0x3549af(0x1f3)]<0x2){this[_0x3549af(0x151)]=!0x1;return;}const _0x10135b=this[_0x3549af(0x113)](0x2);if((_0x10135b[0x0]&0x30)!==0x0){const _0x561066=this[_0x3549af(0x79)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3549af(0x129));_0x112a66(_0x561066);return;}const _0x39b345=(_0x10135b[0x0]&0x40)===0x40;if(_0x39b345&&!this[_0x3549af(0x176)][_0x9a30e4['extensionName']]){const _0x5411ca=this[_0x3549af(0x79)](RangeError,_0x3549af(0x15a),!0x0,0x3ea,_0x3549af(0x233));_0x112a66(_0x5411ca);return;}if(this[_0x3549af(0xf9)]=(_0x10135b[0x0]&0x80)===0x80,this[_0x3549af(0x120)]=_0x10135b[0x0]&0xf,this[_0x3549af(0x1e4)]=_0x10135b[0x1]&0x7f,this['_opcode']===0x0){if(_0x39b345){const _0x450b1c=this[_0x3549af(0x79)](RangeError,_0x3549af(0x15a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x112a66(_0x450b1c);return;}if(!this[_0x3549af(0x185)]){const _0x45c76e=this['createError'](RangeError,_0x3549af(0xfd),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x112a66(_0x45c76e);return;}this[_0x3549af(0x120)]=this[_0x3549af(0x185)];}else{if(this[_0x3549af(0x120)]===0x1||this[_0x3549af(0x120)]===0x2){if(this['_fragmented']){const _0x222252=this[_0x3549af(0x79)](RangeError,_0x3549af(0x9d)+this[_0x3549af(0x120)],!0x0,0x3ea,_0x3549af(0x137));_0x112a66(_0x222252);return;}this[_0x3549af(0x228)]=_0x39b345;}else{if(this[_0x3549af(0x120)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x48597a=this[_0x3549af(0x79)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x3549af(0x115));_0x112a66(_0x48597a);return;}if(_0x39b345){const _0x2a0ddf=this[_0x3549af(0x79)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3549af(0x233));_0x112a66(_0x2a0ddf);return;}if(this[_0x3549af(0x1e4)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x2ff08f=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x3549af(0x132));_0x112a66(_0x2ff08f);return;}}else{const _0x24e041=this['createError'](RangeError,_0x3549af(0x9d)+this[_0x3549af(0x120)],!0x0,0x3ea,_0x3549af(0x137));_0x112a66(_0x24e041);return;}}}if(!this[_0x3549af(0xf9)]&&!this[_0x3549af(0x185)]&&(this[_0x3549af(0x185)]=this[_0x3549af(0x120)]),this['_masked']=(_0x10135b[0x1]&0x80)===0x80,this[_0x3549af(0x13e)]){if(!this[_0x3549af(0x20f)]){const _0xc835c9=this[_0x3549af(0x79)](RangeError,_0x3549af(0xf6),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x112a66(_0xc835c9);return;}}else{if(this[_0x3549af(0x20f)]){const _0x37945a=this[_0x3549af(0x79)](RangeError,_0x3549af(0x196),!0x0,0x3ea,_0x3549af(0x20c));_0x112a66(_0x37945a);return;}}this['_payloadLength']===0x7e?this[_0x3549af(0x192)]=_0x30b696:this[_0x3549af(0x1e4)]===0x7f?this[_0x3549af(0x192)]=_0x414730:this[_0x3549af(0x1bb)](_0x112a66);}[_0x3edd39(0x1b2)](_0x2d21c5){const _0x543e61=_0x3edd39;if(this[_0x543e61(0x1f3)]<0x2){this['_loop']=!0x1;return;}this[_0x543e61(0x1e4)]=this[_0x543e61(0x113)](0x2)[_0x543e61(0x1bc)](0x0),this[_0x543e61(0x1bb)](_0x2d21c5);}['getPayloadLength64'](_0x5cc0ef){const _0x4ca68b=_0x3edd39;if(this[_0x4ca68b(0x1f3)]<0x8){this[_0x4ca68b(0x151)]=!0x1;return;}const _0x344eaa=this['consume'](0x8),_0xc0ff16=_0x344eaa[_0x4ca68b(0xba)](0x0);if(_0xc0ff16>Math[_0x4ca68b(0x1da)](0x2,0x15)-0x1){const _0x21b684=this[_0x4ca68b(0x79)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5cc0ef(_0x21b684);return;}this[_0x4ca68b(0x1e4)]=_0xc0ff16*Math[_0x4ca68b(0x1da)](0x2,0x20)+_0x344eaa['readUInt32BE'](0x4),this[_0x4ca68b(0x1bb)](_0x5cc0ef);}[_0x3edd39(0x1bb)](_0x424f80){const _0x101dd2=_0x3edd39;if(this['_payloadLength']&&this[_0x101dd2(0x120)]<0x8&&(this[_0x101dd2(0x1d2)]+=this[_0x101dd2(0x1e4)],this[_0x101dd2(0x1d2)]>this['_maxPayload']&&this[_0x101dd2(0x16f)]>0x0)){const _0x356780=this[_0x101dd2(0x79)](RangeError,_0x101dd2(0xd5),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x424f80(_0x356780);return;}this[_0x101dd2(0x20f)]?this[_0x101dd2(0x192)]=_0x46a8de:this[_0x101dd2(0x192)]=_0x16fcb8;}[_0x3edd39(0xc2)](){const _0x50434b=_0x3edd39;if(this[_0x50434b(0x1f3)]<0x4){this['_loop']=!0x1;return;}this[_0x50434b(0x1c8)]=this['consume'](0x4),this[_0x50434b(0x192)]=_0x16fcb8;}[_0x3edd39(0x231)](_0x463b44){const _0x35fc1a=_0x3edd39;let _0x14cc81=_0x47816c;if(this[_0x35fc1a(0x1e4)]){if(this[_0x35fc1a(0x1f3)]<this[_0x35fc1a(0x1e4)]){this[_0x35fc1a(0x151)]=!0x1;return;}_0x14cc81=this[_0x35fc1a(0x113)](this[_0x35fc1a(0x1e4)]),this['_masked']&&(this[_0x35fc1a(0x1c8)][0x0]|this[_0x35fc1a(0x1c8)][0x1]|this[_0x35fc1a(0x1c8)][0x2]|this['_mask'][0x3])!==0x0&&_0x330320(_0x14cc81,this[_0x35fc1a(0x1c8)]);}if(this[_0x35fc1a(0x120)]>0x7){this[_0x35fc1a(0x152)](_0x14cc81,_0x463b44);return;}if(this[_0x35fc1a(0x228)]){this[_0x35fc1a(0x192)]=_0x261af5,this['decompress'](_0x14cc81,_0x463b44);return;}_0x14cc81[_0x35fc1a(0xc3)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x35fc1a(0xce)]['push'](_0x14cc81)),this[_0x35fc1a(0x11e)](_0x463b44);}['decompress'](_0x515293,_0x3c0b89){const _0x2e4188=_0x3edd39;this[_0x2e4188(0x176)][_0x9a30e4[_0x2e4188(0x23a)]][_0x2e4188(0x16a)](_0x515293,this['_fin'],(_0x419ae6,_0x30bfb9)=>{const _0x5a6d35=_0x2e4188;if(_0x419ae6)return _0x3c0b89(_0x419ae6);if(_0x30bfb9[_0x5a6d35(0xc3)]){if(this[_0x5a6d35(0x200)]+=_0x30bfb9['length'],this[_0x5a6d35(0x200)]>this['_maxPayload']&&this[_0x5a6d35(0x16f)]>0x0){const _0x26ddf4=this[_0x5a6d35(0x79)](RangeError,_0x5a6d35(0xd5),!0x1,0x3f1,_0x5a6d35(0x95));_0x3c0b89(_0x26ddf4);return;}this[_0x5a6d35(0xce)][_0x5a6d35(0xbc)](_0x30bfb9);}this[_0x5a6d35(0x11e)](_0x3c0b89),this[_0x5a6d35(0x192)]===_0x31a7eb&&this[_0x5a6d35(0x179)](_0x3c0b89);});}[_0x3edd39(0x11e)](_0x390de9){const _0x23c7b5=_0x3edd39;if(!this[_0x23c7b5(0xf9)]){this[_0x23c7b5(0x192)]=_0x31a7eb;return;}const _0x5c55ef=this[_0x23c7b5(0x200)],_0x21a6c1=this[_0x23c7b5(0xce)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x23c7b5(0x185)]=0x0,this[_0x23c7b5(0xce)]=[],this[_0x23c7b5(0x120)]===0x2){let _0x4c9a4b;this[_0x23c7b5(0x178)]===_0x23c7b5(0x9e)?_0x4c9a4b=_0x44be2b(_0x21a6c1,_0x5c55ef):this[_0x23c7b5(0x178)]===_0x23c7b5(0x1fe)?_0x4c9a4b=_0x40f9d5(_0x44be2b(_0x21a6c1,_0x5c55ef)):this[_0x23c7b5(0x178)]===_0x23c7b5(0x8e)?_0x4c9a4b=new Blob(_0x21a6c1):_0x4c9a4b=_0x21a6c1,this[_0x23c7b5(0x234)]?(this['emit'](_0x23c7b5(0x1f9),_0x4c9a4b,!0x0),this[_0x23c7b5(0x192)]=_0x31a7eb):(this[_0x23c7b5(0x192)]=_0x28e6b0,setImmediate(()=>{const _0x590287=_0x23c7b5;this[_0x590287(0x112)](_0x590287(0x1f9),_0x4c9a4b,!0x0),this['_state']=_0x31a7eb,this[_0x590287(0x179)](_0x390de9);}));}else{const _0x4efdf3=_0x44be2b(_0x21a6c1,_0x5c55ef);if(!this[_0x23c7b5(0x145)]&&!_0x2acb45(_0x4efdf3)){const _0x5576d9=this[_0x23c7b5(0x79)](Error,_0x23c7b5(0xbb),!0x0,0x3ef,_0x23c7b5(0x1cd));_0x390de9(_0x5576d9);return;}this[_0x23c7b5(0x192)]===_0x261af5||this['_allowSynchronousEvents']?(this['emit'](_0x23c7b5(0x1f9),_0x4efdf3,!0x1),this[_0x23c7b5(0x192)]=_0x31a7eb):(this[_0x23c7b5(0x192)]=_0x28e6b0,setImmediate(()=>{const _0x5419d1=_0x23c7b5;this[_0x5419d1(0x112)]('message',_0x4efdf3,!0x1),this[_0x5419d1(0x192)]=_0x31a7eb,this[_0x5419d1(0x179)](_0x390de9);}));}}['controlMessage'](_0x3ca8a7,_0x405880){const _0x20c6da=_0x3edd39;if(this[_0x20c6da(0x120)]===0x8){if(_0x3ca8a7['length']===0x0)this[_0x20c6da(0x151)]=!0x1,this[_0x20c6da(0x112)](_0x20c6da(0x212),0x3ed,_0x47816c),this[_0x20c6da(0x88)]();else{const _0x557e2b=_0x3ca8a7['readUInt16BE'](0x0);if(!_0x398f19(_0x557e2b)){const _0x17a829=this[_0x20c6da(0x79)](RangeError,_0x20c6da(0xb5)+_0x557e2b,!0x0,0x3ea,_0x20c6da(0x182));_0x405880(_0x17a829);return;}const _0x31c20f=new _0x58f920(_0x3ca8a7[_0x20c6da(0x11d)],_0x3ca8a7['byteOffset']+0x2,_0x3ca8a7[_0x20c6da(0xc3)]-0x2);if(!this[_0x20c6da(0x145)]&&!_0x2acb45(_0x31c20f)){const _0x442400=this['createError'](Error,_0x20c6da(0xbb),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x405880(_0x442400);return;}this[_0x20c6da(0x151)]=!0x1,this['emit'](_0x20c6da(0x212),_0x557e2b,_0x31c20f),this[_0x20c6da(0x88)]();}this['_state']=_0x31a7eb;return;}this[_0x20c6da(0x234)]?(this[_0x20c6da(0x112)](this[_0x20c6da(0x120)]===0x9?_0x20c6da(0x134):_0x20c6da(0x219),_0x3ca8a7),this['_state']=_0x31a7eb):(this[_0x20c6da(0x192)]=_0x28e6b0,setImmediate(()=>{const _0x1191d4=_0x20c6da;this[_0x1191d4(0x112)](this[_0x1191d4(0x120)]===0x9?_0x1191d4(0x134):_0x1191d4(0x219),_0x3ca8a7),this[_0x1191d4(0x192)]=_0x31a7eb,this[_0x1191d4(0x179)](_0x405880);}));}[_0x3edd39(0x79)](_0x172193,_0x1bd7b1,_0x1cc602,_0x8b909c,_0x721c74){const _0xc143e=_0x3edd39;this[_0xc143e(0x151)]=!0x1,this[_0xc143e(0x1cf)]=!0x0;const _0x5e0000=new _0x172193(_0x1cc602?_0xc143e(0x209)+_0x1bd7b1:_0x1bd7b1);return Error[_0xc143e(0x14c)](_0x5e0000,this['createError']),_0x5e0000[_0xc143e(0x21c)]=_0x721c74,_0x5e0000[_0x37f609]=_0x8b909c,_0x5e0000;}}return Se=_0x52c052,Se;}var Ee,Xe;function ft(){const _0xcc8ff7=_0x54d721;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x551e23}=oe,{randomFillSync:_0x20899e}=Le,_0x485c85=he(),{EMPTY_BUFFER:_0x1413b1,kWebSocket:_0x3959bd,NOOP:_0x5767ce}=H(),{isBlob:_0xcb6c62,isValidStatusCode:_0x55f467}=ae(),{mask:_0x1c7b9c,toBuffer:_0x400397}=ce(),_0x2a1b3b=Symbol(_0xcc8ff7(0xa9)),_0x2aff2b=Buffer[_0xcc8ff7(0x198)](0x4),_0x1b2929=0x8*0x400;let _0x3ea9a7,_0x40ba10=_0x1b2929;const _0x229d54=0x0,_0x581c77=0x1,_0x4c91b4=0x2;class _0x2dfadb{constructor(_0x59d55c,_0x2586da,_0x37d9ff){const _0x59b6b1=_0xcc8ff7;this['_extensions']=_0x2586da||{},_0x37d9ff&&(this[_0x59b6b1(0x1f7)]=_0x37d9ff,this['_maskBuffer']=Buffer[_0x59b6b1(0x198)](0x4)),this['_socket']=_0x59d55c,this[_0x59b6b1(0x138)]=!0x0,this['_compress']=!0x1,this[_0x59b6b1(0x1f3)]=0x0,this['_queue']=[],this[_0x59b6b1(0x192)]=_0x229d54,this['onerror']=_0x5767ce,this[_0x3959bd]=void 0x0;}static['frame'](_0x2e9121,_0x394c2c){const _0x1c053d=_0xcc8ff7;let _0x15b5ed,_0x2bc929=!0x1,_0x564472=0x2,_0x2e2996=!0x1;_0x394c2c['mask']&&(_0x15b5ed=_0x394c2c[_0x1c053d(0x80)]||_0x2aff2b,_0x394c2c[_0x1c053d(0x161)]?_0x394c2c[_0x1c053d(0x161)](_0x15b5ed):(_0x40ba10===_0x1b2929&&(_0x3ea9a7===void 0x0&&(_0x3ea9a7=Buffer['alloc'](_0x1b2929)),_0x20899e(_0x3ea9a7,0x0,_0x1b2929),_0x40ba10=0x0),_0x15b5ed[0x0]=_0x3ea9a7[_0x40ba10++],_0x15b5ed[0x1]=_0x3ea9a7[_0x40ba10++],_0x15b5ed[0x2]=_0x3ea9a7[_0x40ba10++],_0x15b5ed[0x3]=_0x3ea9a7[_0x40ba10++]),_0x2e2996=(_0x15b5ed[0x0]|_0x15b5ed[0x1]|_0x15b5ed[0x2]|_0x15b5ed[0x3])===0x0,_0x564472=0x6);let _0x27eaca;typeof _0x2e9121=='string'?(!_0x394c2c[_0x1c053d(0x210)]||_0x2e2996)&&_0x394c2c[_0x2a1b3b]!==void 0x0?_0x27eaca=_0x394c2c[_0x2a1b3b]:(_0x2e9121=Buffer[_0x1c053d(0x78)](_0x2e9121),_0x27eaca=_0x2e9121[_0x1c053d(0xc3)]):(_0x27eaca=_0x2e9121[_0x1c053d(0xc3)],_0x2bc929=_0x394c2c[_0x1c053d(0x210)]&&_0x394c2c[_0x1c053d(0x126)]&&!_0x2e2996);let _0x550acf=_0x27eaca;_0x27eaca>=0x10000?(_0x564472+=0x8,_0x550acf=0x7f):_0x27eaca>0x7d&&(_0x564472+=0x2,_0x550acf=0x7e);const _0x5da6ff=Buffer[_0x1c053d(0x216)](_0x2bc929?_0x27eaca+_0x564472:_0x564472);return _0x5da6ff[0x0]=_0x394c2c[_0x1c053d(0xbe)]?_0x394c2c[_0x1c053d(0x1c6)]|0x80:_0x394c2c['opcode'],_0x394c2c[_0x1c053d(0x1b7)]&&(_0x5da6ff[0x0]|=0x40),_0x5da6ff[0x1]=_0x550acf,_0x550acf===0x7e?_0x5da6ff[_0x1c053d(0x1c0)](_0x27eaca,0x2):_0x550acf===0x7f&&(_0x5da6ff[0x2]=_0x5da6ff[0x3]=0x0,_0x5da6ff['writeUIntBE'](_0x27eaca,0x4,0x6)),_0x394c2c[_0x1c053d(0x210)]?(_0x5da6ff[0x1]|=0x80,_0x5da6ff[_0x564472-0x4]=_0x15b5ed[0x0],_0x5da6ff[_0x564472-0x3]=_0x15b5ed[0x1],_0x5da6ff[_0x564472-0x2]=_0x15b5ed[0x2],_0x5da6ff[_0x564472-0x1]=_0x15b5ed[0x3],_0x2e2996?[_0x5da6ff,_0x2e9121]:_0x2bc929?(_0x1c7b9c(_0x2e9121,_0x15b5ed,_0x5da6ff,_0x564472,_0x27eaca),[_0x5da6ff]):(_0x1c7b9c(_0x2e9121,_0x15b5ed,_0x2e9121,0x0,_0x27eaca),[_0x5da6ff,_0x2e9121])):[_0x5da6ff,_0x2e9121];}[_0xcc8ff7(0x220)](_0x5c57db,_0x187956,_0xbeef94,_0x4faf58){const _0x5b8e65=_0xcc8ff7;let _0x3074e2;if(_0x5c57db===void 0x0)_0x3074e2=_0x1413b1;else{if(typeof _0x5c57db!='number'||!_0x55f467(_0x5c57db))throw new TypeError(_0x5b8e65(0x21f));if(_0x187956===void 0x0||!_0x187956[_0x5b8e65(0xc3)])_0x3074e2=Buffer[_0x5b8e65(0x216)](0x2),_0x3074e2[_0x5b8e65(0x1c0)](_0x5c57db,0x0);else{const _0x2317b0=Buffer['byteLength'](_0x187956);if(_0x2317b0>0x7b)throw new RangeError(_0x5b8e65(0x97));_0x3074e2=Buffer[_0x5b8e65(0x216)](0x2+_0x2317b0),_0x3074e2[_0x5b8e65(0x1c0)](_0x5c57db,0x0),typeof _0x187956==_0x5b8e65(0x1f6)?_0x3074e2[_0x5b8e65(0x204)](_0x187956,0x2):_0x3074e2[_0x5b8e65(0x10f)](_0x187956,0x2);}}const _0x28f095={[_0x2a1b3b]:_0x3074e2[_0x5b8e65(0xc3)],'fin':!0x0,'generateMask':this[_0x5b8e65(0x1f7)],'mask':_0xbeef94,'maskBuffer':this[_0x5b8e65(0xff)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5b8e65(0x192)]!==_0x229d54?this[_0x5b8e65(0x9f)]([this[_0x5b8e65(0x19d)],_0x3074e2,!0x1,_0x28f095,_0x4faf58]):this[_0x5b8e65(0x116)](_0x2dfadb[_0x5b8e65(0x243)](_0x3074e2,_0x28f095),_0x4faf58);}[_0xcc8ff7(0x134)](_0x1de385,_0x3cd75e,_0x1624e8){const _0x426961=_0xcc8ff7;let _0x415d46,_0xeb0159;if(typeof _0x1de385==_0x426961(0x1f6)?(_0x415d46=Buffer[_0x426961(0x22b)](_0x1de385),_0xeb0159=!0x1):_0xcb6c62(_0x1de385)?(_0x415d46=_0x1de385[_0x426961(0xd9)],_0xeb0159=!0x1):(_0x1de385=_0x400397(_0x1de385),_0x415d46=_0x1de385[_0x426961(0xc3)],_0xeb0159=_0x400397[_0x426961(0x126)]),_0x415d46>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5dcba6={[_0x2a1b3b]:_0x415d46,'fin':!0x0,'generateMask':this[_0x426961(0x1f7)],'mask':_0x3cd75e,'maskBuffer':this[_0x426961(0xff)],'opcode':0x9,'readOnly':_0xeb0159,'rsv1':!0x1};_0xcb6c62(_0x1de385)?this['_state']!==_0x229d54?this[_0x426961(0x9f)]([this['getBlobData'],_0x1de385,!0x1,_0x5dcba6,_0x1624e8]):this[_0x426961(0x186)](_0x1de385,!0x1,_0x5dcba6,_0x1624e8):this['_state']!==_0x229d54?this[_0x426961(0x9f)]([this[_0x426961(0x19d)],_0x1de385,!0x1,_0x5dcba6,_0x1624e8]):this['sendFrame'](_0x2dfadb[_0x426961(0x243)](_0x1de385,_0x5dcba6),_0x1624e8);}[_0xcc8ff7(0x219)](_0x1bc117,_0x1fa754,_0x2ee407){const _0x55abc1=_0xcc8ff7;let _0x7b8988,_0x4e3f1c;if(typeof _0x1bc117=='string'?(_0x7b8988=Buffer['byteLength'](_0x1bc117),_0x4e3f1c=!0x1):_0xcb6c62(_0x1bc117)?(_0x7b8988=_0x1bc117['size'],_0x4e3f1c=!0x1):(_0x1bc117=_0x400397(_0x1bc117),_0x7b8988=_0x1bc117[_0x55abc1(0xc3)],_0x4e3f1c=_0x400397[_0x55abc1(0x126)]),_0x7b8988>0x7d)throw new RangeError(_0x55abc1(0x195));const _0x309c92={[_0x2a1b3b]:_0x7b8988,'fin':!0x0,'generateMask':this[_0x55abc1(0x1f7)],'mask':_0x1fa754,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4e3f1c,'rsv1':!0x1};_0xcb6c62(_0x1bc117)?this[_0x55abc1(0x192)]!==_0x229d54?this[_0x55abc1(0x9f)]([this['getBlobData'],_0x1bc117,!0x1,_0x309c92,_0x2ee407]):this[_0x55abc1(0x186)](_0x1bc117,!0x1,_0x309c92,_0x2ee407):this[_0x55abc1(0x192)]!==_0x229d54?this[_0x55abc1(0x9f)]([this['dispatch'],_0x1bc117,!0x1,_0x309c92,_0x2ee407]):this['sendFrame'](_0x2dfadb[_0x55abc1(0x243)](_0x1bc117,_0x309c92),_0x2ee407);}[_0xcc8ff7(0x1a8)](_0x44d745,_0x325653,_0x1ec722){const _0x4d7416=_0xcc8ff7,_0x1d0594=this['_extensions'][_0x485c85[_0x4d7416(0x23a)]];let _0x26b8aa=_0x325653[_0x4d7416(0x142)]?0x2:0x1,_0x47414=_0x325653[_0x4d7416(0x90)],_0x29bc5,_0xebc793;typeof _0x44d745=='string'?(_0x29bc5=Buffer[_0x4d7416(0x22b)](_0x44d745),_0xebc793=!0x1):_0xcb6c62(_0x44d745)?(_0x29bc5=_0x44d745[_0x4d7416(0xd9)],_0xebc793=!0x1):(_0x44d745=_0x400397(_0x44d745),_0x29bc5=_0x44d745['length'],_0xebc793=_0x400397[_0x4d7416(0x126)]),this[_0x4d7416(0x138)]?(this[_0x4d7416(0x138)]=!0x1,_0x47414&&_0x1d0594&&_0x1d0594['params'][_0x1d0594[_0x4d7416(0x13e)]?_0x4d7416(0x14d):_0x4d7416(0x150)]&&(_0x47414=_0x29bc5>=_0x1d0594[_0x4d7416(0x222)]),this['_compress']=_0x47414):(_0x47414=!0x1,_0x26b8aa=0x0),_0x325653[_0x4d7416(0xbe)]&&(this['_firstFragment']=!0x0);const _0xd880cb={[_0x2a1b3b]:_0x29bc5,'fin':_0x325653['fin'],'generateMask':this[_0x4d7416(0x1f7)],'mask':_0x325653[_0x4d7416(0x210)],'maskBuffer':this['_maskBuffer'],'opcode':_0x26b8aa,'readOnly':_0xebc793,'rsv1':_0x47414};_0xcb6c62(_0x44d745)?this[_0x4d7416(0x192)]!==_0x229d54?this['enqueue']([this[_0x4d7416(0x186)],_0x44d745,this[_0x4d7416(0x15c)],_0xd880cb,_0x1ec722]):this[_0x4d7416(0x186)](_0x44d745,this['_compress'],_0xd880cb,_0x1ec722):this[_0x4d7416(0x192)]!==_0x229d54?this[_0x4d7416(0x9f)]([this[_0x4d7416(0x19d)],_0x44d745,this[_0x4d7416(0x15c)],_0xd880cb,_0x1ec722]):this[_0x4d7416(0x19d)](_0x44d745,this[_0x4d7416(0x15c)],_0xd880cb,_0x1ec722);}['getBlobData'](_0x205ff9,_0x1f7ed6,_0x8ba74e,_0x23f0d2){const _0x16b40a=_0xcc8ff7;this[_0x16b40a(0x1f3)]+=_0x8ba74e[_0x2a1b3b],this[_0x16b40a(0x192)]=_0x4c91b4,_0x205ff9[_0x16b40a(0xdf)]()[_0x16b40a(0x133)](_0x2881f5=>{const _0x2e7d3e=_0x16b40a;if(this[_0x2e7d3e(0x1e3)][_0x2e7d3e(0x197)]){const _0x4d2ccc=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x2e7d3e(0x104)](_0x4c672e,this,_0x4d2ccc,_0x23f0d2);return;}this['_bufferedBytes']-=_0x8ba74e[_0x2a1b3b];const _0xe98d19=_0x400397(_0x2881f5);_0x1f7ed6?this['dispatch'](_0xe98d19,_0x1f7ed6,_0x8ba74e,_0x23f0d2):(this[_0x2e7d3e(0x192)]=_0x229d54,this['sendFrame'](_0x2dfadb[_0x2e7d3e(0x243)](_0xe98d19,_0x8ba74e),_0x23f0d2),this[_0x2e7d3e(0x1ce)]());})[_0x16b40a(0x12f)](_0x46d7be=>{const _0x59c80f=_0x16b40a;process[_0x59c80f(0x104)](_0x32e094,this,_0x46d7be,_0x23f0d2);});}[_0xcc8ff7(0x19d)](_0x19b0a5,_0x3c7b71,_0x248faf,_0x919d5a){const _0x1e0dc1=_0xcc8ff7;if(!_0x3c7b71){this[_0x1e0dc1(0x116)](_0x2dfadb[_0x1e0dc1(0x243)](_0x19b0a5,_0x248faf),_0x919d5a);return;}const _0xc69839=this[_0x1e0dc1(0x176)][_0x485c85['extensionName']];this['_bufferedBytes']+=_0x248faf[_0x2a1b3b],this[_0x1e0dc1(0x192)]=_0x581c77,_0xc69839['compress'](_0x19b0a5,_0x248faf['fin'],(_0x4b1f36,_0x275abe)=>{const _0x26473a=_0x1e0dc1;if(this[_0x26473a(0x1e3)][_0x26473a(0x197)]){const _0x33e2ea=new Error(_0x26473a(0x20a));_0x4c672e(this,_0x33e2ea,_0x919d5a);return;}this[_0x26473a(0x1f3)]-=_0x248faf[_0x2a1b3b],this[_0x26473a(0x192)]=_0x229d54,_0x248faf[_0x26473a(0x126)]=!0x1,this[_0x26473a(0x116)](_0x2dfadb[_0x26473a(0x243)](_0x275abe,_0x248faf),_0x919d5a),this[_0x26473a(0x1ce)]();});}[_0xcc8ff7(0x1ce)](){const _0x2b13ae=_0xcc8ff7;for(;this[_0x2b13ae(0x192)]===_0x229d54&&this[_0x2b13ae(0xd2)][_0x2b13ae(0xc3)];){const _0x3213a5=this['_queue']['shift']();this[_0x2b13ae(0x1f3)]-=_0x3213a5[0x3][_0x2a1b3b],Reflect[_0x2b13ae(0xd3)](_0x3213a5[0x0],this,_0x3213a5[_0x2b13ae(0x111)](0x1));}}[_0xcc8ff7(0x9f)](_0x15d049){const _0x181e4f=_0xcc8ff7;this['_bufferedBytes']+=_0x15d049[0x3][_0x2a1b3b],this[_0x181e4f(0xd2)][_0x181e4f(0xbc)](_0x15d049);}[_0xcc8ff7(0x116)](_0x307b59,_0x155bb7){const _0xd09dbe=_0xcc8ff7;_0x307b59[_0xd09dbe(0xc3)]===0x2?(this[_0xd09dbe(0x1e3)][_0xd09dbe(0x18d)](),this['_socket'][_0xd09dbe(0x204)](_0x307b59[0x0]),this[_0xd09dbe(0x1e3)][_0xd09dbe(0x204)](_0x307b59[0x1],_0x155bb7),this[_0xd09dbe(0x1e3)]['uncork']()):this['_socket'][_0xd09dbe(0x204)](_0x307b59[0x0],_0x155bb7);}}Ee=_0x2dfadb;function _0x4c672e(_0x4d742d,_0x58d5a2,_0x5f033f){const _0xa3219f=_0xcc8ff7;typeof _0x5f033f==_0xa3219f(0xb6)&&_0x5f033f(_0x58d5a2);for(let _0x4e78e6=0x0;_0x4e78e6<_0x4d742d[_0xa3219f(0xd2)][_0xa3219f(0xc3)];_0x4e78e6++){const _0x1b4c9a=_0x4d742d[_0xa3219f(0xd2)][_0x4e78e6],_0x19e90d=_0x1b4c9a[_0x1b4c9a['length']-0x1];typeof _0x19e90d=='function'&&_0x19e90d(_0x58d5a2);}}function _0x32e094(_0x5e007d,_0x40023a,_0xf04f0a){const _0x5a65b6=_0xcc8ff7;_0x4c672e(_0x5e007d,_0x40023a,_0xf04f0a),_0x5e007d[_0x5a65b6(0x1c7)](_0x40023a);}return Ee;}var xe,Ze;function It(){const _0x105d8a=_0x54d721;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x463560,kListener:_0x432e89}=H(),_0x1dce56=Symbol(_0x105d8a(0x11b)),_0x1909d0=Symbol('kData'),_0x5f1558=Symbol(_0x105d8a(0xb3)),_0x4e04a2=Symbol(_0x105d8a(0x16b)),_0x42e234=Symbol(_0x105d8a(0x19c)),_0x54c902=Symbol('kTarget'),_0x297167=Symbol(_0x105d8a(0xd7)),_0x4bef97=Symbol('kWasClean');class _0x551817{constructor(_0x37cf6e){this[_0x54c902]=null,this[_0x297167]=_0x37cf6e;}get[_0x105d8a(0x23d)](){return this[_0x54c902];}get[_0x105d8a(0x89)](){return this[_0x297167];}}Object[_0x105d8a(0x15b)](_0x551817[_0x105d8a(0xb9)],_0x105d8a(0x23d),{'enumerable':!0x0}),Object['defineProperty'](_0x551817['prototype'],'type',{'enumerable':!0x0});class _0x1e8276 extends _0x551817{constructor(_0x373dab,_0x11e8bf={}){const _0xe863de=_0x105d8a;super(_0x373dab),this[_0x1dce56]=_0x11e8bf[_0xe863de(0x21c)]===void 0x0?0x0:_0x11e8bf[_0xe863de(0x21c)],this[_0x42e234]=_0x11e8bf[_0xe863de(0xe0)]===void 0x0?'':_0x11e8bf[_0xe863de(0xe0)],this[_0x4bef97]=_0x11e8bf[_0xe863de(0x125)]===void 0x0?!0x1:_0x11e8bf['wasClean'];}get['code'](){return this[_0x1dce56];}get[_0x105d8a(0xe0)](){return this[_0x42e234];}get[_0x105d8a(0x125)](){return this[_0x4bef97];}}Object['defineProperty'](_0x1e8276[_0x105d8a(0xb9)],_0x105d8a(0x21c),{'enumerable':!0x0}),Object[_0x105d8a(0x15b)](_0x1e8276[_0x105d8a(0xb9)],'reason',{'enumerable':!0x0}),Object[_0x105d8a(0x15b)](_0x1e8276[_0x105d8a(0xb9)],'wasClean',{'enumerable':!0x0});class _0x26d12b extends _0x551817{constructor(_0x44dcd3,_0x435c73={}){const _0x335749=_0x105d8a;super(_0x44dcd3),this[_0x5f1558]=_0x435c73['error']===void 0x0?null:_0x435c73[_0x335749(0x1db)],this[_0x4e04a2]=_0x435c73[_0x335749(0x1f9)]===void 0x0?'':_0x435c73['message'];}get[_0x105d8a(0x1db)](){return this[_0x5f1558];}get[_0x105d8a(0x1f9)](){return this[_0x4e04a2];}}Object[_0x105d8a(0x15b)](_0x26d12b['prototype'],_0x105d8a(0x1db),{'enumerable':!0x0}),Object[_0x105d8a(0x15b)](_0x26d12b[_0x105d8a(0xb9)],_0x105d8a(0x1f9),{'enumerable':!0x0});class _0x49fae7 extends _0x551817{constructor(_0x388797,_0x133d7f={}){const _0x11ff11=_0x105d8a;super(_0x388797),this[_0x1909d0]=_0x133d7f[_0x11ff11(0x14b)]===void 0x0?null:_0x133d7f[_0x11ff11(0x14b)];}get['data'](){return this[_0x1909d0];}}Object['defineProperty'](_0x49fae7[_0x105d8a(0xb9)],_0x105d8a(0x14b),{'enumerable':!0x0}),xe={'CloseEvent':_0x1e8276,'ErrorEvent':_0x26d12b,'Event':_0x551817,'EventTarget':{'addEventListener'(_0x5cee50,_0x7dcb92,_0x578c83={}){const _0x4e9e6d=_0x105d8a;for(const _0x405de9 of this[_0x4e9e6d(0x177)](_0x5cee50))if(!_0x578c83[_0x463560]&&_0x405de9[_0x432e89]===_0x7dcb92&&!_0x405de9[_0x463560])return;let _0x493d0f;if(_0x5cee50===_0x4e9e6d(0x1f9))_0x493d0f=function(_0x5d00a4,_0x5600e9){const _0x279e86=_0x4e9e6d,_0x2714e3=new _0x49fae7(_0x279e86(0x1f9),{'data':_0x5600e9?_0x5d00a4:_0x5d00a4['toString']()});_0x2714e3[_0x54c902]=this,_0x2e8b5a(_0x7dcb92,this,_0x2714e3);};else{if(_0x5cee50===_0x4e9e6d(0x220))_0x493d0f=function(_0xdf4c53,_0x314d6e){const _0x40e0bb=_0x4e9e6d,_0x30dbbd=new _0x1e8276('close',{'code':_0xdf4c53,'reason':_0x314d6e[_0x40e0bb(0xb4)](),'wasClean':this[_0x40e0bb(0xee)]&&this[_0x40e0bb(0x21a)]});_0x30dbbd[_0x54c902]=this,_0x2e8b5a(_0x7dcb92,this,_0x30dbbd);};else{if(_0x5cee50===_0x4e9e6d(0x1db))_0x493d0f=function(_0x51a022){const _0x3c9a95=_0x4e9e6d,_0x70ad25=new _0x26d12b(_0x3c9a95(0x1db),{'error':_0x51a022,'message':_0x51a022[_0x3c9a95(0x1f9)]});_0x70ad25[_0x54c902]=this,_0x2e8b5a(_0x7dcb92,this,_0x70ad25);};else{if(_0x5cee50===_0x4e9e6d(0xa0))_0x493d0f=function(){const _0x1377c2=new _0x551817('open');_0x1377c2[_0x54c902]=this,_0x2e8b5a(_0x7dcb92,this,_0x1377c2);};else return;}}}_0x493d0f[_0x463560]=!!_0x578c83[_0x463560],_0x493d0f[_0x432e89]=_0x7dcb92,_0x578c83['once']?this[_0x4e9e6d(0x83)](_0x5cee50,_0x493d0f):this['on'](_0x5cee50,_0x493d0f);},'removeEventListener'(_0x1b75ab,_0x3d7398){const _0x4e0c7b=_0x105d8a;for(const _0x1ec5d5 of this['listeners'](_0x1b75ab))if(_0x1ec5d5[_0x432e89]===_0x3d7398&&!_0x1ec5d5[_0x463560]){this[_0x4e0c7b(0x7e)](_0x1b75ab,_0x1ec5d5);break;}}},'MessageEvent':_0x49fae7};function _0x2e8b5a(_0x547c14,_0x9f359f,_0x3e6f53){const _0x39e1f7=_0x105d8a;typeof _0x547c14==_0x39e1f7(0x242)&&_0x547c14[_0x39e1f7(0xf2)]?_0x547c14[_0x39e1f7(0xf2)]['call'](_0x547c14,_0x3e6f53):_0x547c14[_0x39e1f7(0x1c1)](_0x9f359f,_0x3e6f53);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5e70da}=ae();function _0x57a163(_0x4b2744,_0x322bd9,_0x4afb2d){const _0x259770=_0x59da;_0x4b2744[_0x322bd9]===void 0x0?_0x4b2744[_0x322bd9]=[_0x4afb2d]:_0x4b2744[_0x322bd9][_0x259770(0xbc)](_0x4afb2d);}function _0xe225ab(_0x53810f){const _0x2b6d67=_0x59da,_0x195460=Object[_0x2b6d67(0x15e)](null);let _0x13e6b5=Object[_0x2b6d67(0x15e)](null),_0x2f4252=!0x1,_0x3ee5a1=!0x1,_0x1bf752=!0x1,_0x6da76c,_0x3e39f9,_0x59197e=-0x1,_0x26249a=-0x1,_0x43fe38=-0x1,_0x4e5e0d=0x0;for(;_0x4e5e0d<_0x53810f[_0x2b6d67(0xc3)];_0x4e5e0d++)if(_0x26249a=_0x53810f[_0x2b6d67(0x1af)](_0x4e5e0d),_0x6da76c===void 0x0){if(_0x43fe38===-0x1&&_0x5e70da[_0x26249a]===0x1)_0x59197e===-0x1&&(_0x59197e=_0x4e5e0d);else{if(_0x4e5e0d!==0x0&&(_0x26249a===0x20||_0x26249a===0x9))_0x43fe38===-0x1&&_0x59197e!==-0x1&&(_0x43fe38=_0x4e5e0d);else{if(_0x26249a===0x3b||_0x26249a===0x2c){if(_0x59197e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e5e0d);_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d);const _0x2f2b54=_0x53810f[_0x2b6d67(0x111)](_0x59197e,_0x43fe38);_0x26249a===0x2c?(_0x57a163(_0x195460,_0x2f2b54,_0x13e6b5),_0x13e6b5=Object[_0x2b6d67(0x15e)](null)):_0x6da76c=_0x2f2b54,_0x59197e=_0x43fe38=-0x1;}else throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);}}}else{if(_0x3e39f9===void 0x0){if(_0x43fe38===-0x1&&_0x5e70da[_0x26249a]===0x1)_0x59197e===-0x1&&(_0x59197e=_0x4e5e0d);else{if(_0x26249a===0x20||_0x26249a===0x9)_0x43fe38===-0x1&&_0x59197e!==-0x1&&(_0x43fe38=_0x4e5e0d);else{if(_0x26249a===0x3b||_0x26249a===0x2c){if(_0x59197e===-0x1)throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d),_0x57a163(_0x13e6b5,_0x53810f[_0x2b6d67(0x111)](_0x59197e,_0x43fe38),!0x0),_0x26249a===0x2c&&(_0x57a163(_0x195460,_0x6da76c,_0x13e6b5),_0x13e6b5=Object['create'](null),_0x6da76c=void 0x0),_0x59197e=_0x43fe38=-0x1;}else{if(_0x26249a===0x3d&&_0x59197e!==-0x1&&_0x43fe38===-0x1)_0x3e39f9=_0x53810f[_0x2b6d67(0x111)](_0x59197e,_0x4e5e0d),_0x59197e=_0x43fe38=-0x1;else throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);}}}}else{if(_0x3ee5a1){if(_0x5e70da[_0x26249a]!==0x1)throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);_0x59197e===-0x1?_0x59197e=_0x4e5e0d:_0x2f4252||(_0x2f4252=!0x0),_0x3ee5a1=!0x1;}else{if(_0x1bf752){if(_0x5e70da[_0x26249a]===0x1)_0x59197e===-0x1&&(_0x59197e=_0x4e5e0d);else{if(_0x26249a===0x22&&_0x59197e!==-0x1)_0x1bf752=!0x1,_0x43fe38=_0x4e5e0d;else{if(_0x26249a===0x5c)_0x3ee5a1=!0x0;else throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);}}}else{if(_0x26249a===0x22&&_0x53810f[_0x2b6d67(0x1af)](_0x4e5e0d-0x1)===0x3d)_0x1bf752=!0x0;else{if(_0x43fe38===-0x1&&_0x5e70da[_0x26249a]===0x1)_0x59197e===-0x1&&(_0x59197e=_0x4e5e0d);else{if(_0x59197e!==-0x1&&(_0x26249a===0x20||_0x26249a===0x9))_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d);else{if(_0x26249a===0x3b||_0x26249a===0x2c){if(_0x59197e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4e5e0d);_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d);let _0x5ef154=_0x53810f['slice'](_0x59197e,_0x43fe38);_0x2f4252&&(_0x5ef154=_0x5ef154['replace'](/\\/g,''),_0x2f4252=!0x1),_0x57a163(_0x13e6b5,_0x3e39f9,_0x5ef154),_0x26249a===0x2c&&(_0x57a163(_0x195460,_0x6da76c,_0x13e6b5),_0x13e6b5=Object[_0x2b6d67(0x15e)](null),_0x6da76c=void 0x0),_0x3e39f9=void 0x0,_0x59197e=_0x43fe38=-0x1;}else throw new SyntaxError(_0x2b6d67(0x123)+_0x4e5e0d);}}}}}}}if(_0x59197e===-0x1||_0x1bf752||_0x26249a===0x20||_0x26249a===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x43fe38===-0x1&&(_0x43fe38=_0x4e5e0d);const _0x3444d5=_0x53810f[_0x2b6d67(0x111)](_0x59197e,_0x43fe38);return _0x6da76c===void 0x0?_0x57a163(_0x195460,_0x3444d5,_0x13e6b5):(_0x3e39f9===void 0x0?_0x57a163(_0x13e6b5,_0x3444d5,!0x0):_0x2f4252?_0x57a163(_0x13e6b5,_0x3e39f9,_0x3444d5[_0x2b6d67(0x20d)](/\\/g,'')):_0x57a163(_0x13e6b5,_0x3e39f9,_0x3444d5),_0x57a163(_0x195460,_0x6da76c,_0x13e6b5)),_0x195460;}function _0x50f9c1(_0x65de1){const _0x3efa08=_0x59da;return Object[_0x3efa08(0xf5)](_0x65de1)[_0x3efa08(0x18c)](_0x215d3a=>{const _0x41c8a8=_0x3efa08;let _0x439884=_0x65de1[_0x215d3a];return Array['isArray'](_0x439884)||(_0x439884=[_0x439884]),_0x439884[_0x41c8a8(0x18c)](_0x27f0e1=>[_0x215d3a][_0x41c8a8(0x1b0)](Object[_0x41c8a8(0xf5)](_0x27f0e1)[_0x41c8a8(0x18c)](_0x200c05=>{const _0x2a2639=_0x41c8a8;let _0x25cfa5=_0x27f0e1[_0x200c05];return Array['isArray'](_0x25cfa5)||(_0x25cfa5=[_0x25cfa5]),_0x25cfa5[_0x2a2639(0x18c)](_0x33e678=>_0x33e678===!0x0?_0x200c05:_0x200c05+'='+_0x33e678)[_0x2a2639(0xa8)](';\x20');}))[_0x41c8a8(0xa8)](';\x20'))[_0x41c8a8(0xa8)](',\x20');})[_0x3efa08(0xa8)](',\x20');}return be={'format':_0x50f9c1,'parse':_0xe225ab},be;}var we,Je;function Pe(){const _0x26bc00=_0x54d721;if(Je)return we;Je=0x1;const _0x46556f=nt,_0x1cf155=vt,_0x241b21=ot,_0x503ec7=St,_0x244aa1=Et,{randomBytes:_0x1785ea,createHash:_0x1fda34}=Le,{Duplex:_0x54aa64,Readable:_0x5b963}=oe,{URL:_0x34be8e}=xt,_0x4adc00=he(),_0x5d3450=lt(),_0xfcb1d2=ft(),{isBlob:_0x31fb54}=ae(),{BINARY_TYPES:_0x42ea45,EMPTY_BUFFER:_0x232726,GUID:_0x2a91d2,kForOnEventAttribute:_0x43f7d0,kListener:_0x4c5639,kStatusCode:_0x2d053f,kWebSocket:_0x2b0b7c,NOOP:_0x4c3ddc}=H(),{EventTarget:{addEventListener:_0x354cda,removeEventListener:_0x3b19f2}}=It(),{format:_0x1be172,parse:_0x379d89}=ct(),{toBuffer:_0x373b05}=ce(),_0x4ffb32=0x1e*0x3e8,_0x155edd=Symbol(_0x26bc00(0xc5)),_0x210fce=[0x8,0xd],_0x25339e=[_0x26bc00(0x191),_0x26bc00(0x119),_0x26bc00(0x1d4),_0x26bc00(0xde)],_0x10fc7b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x55d697 extends _0x46556f{constructor(_0x4dfcbc,_0x165692,_0x594f51){const _0x4e93ee=_0x26bc00;super(),this[_0x4e93ee(0x178)]=_0x42ea45[0x0],this[_0x4e93ee(0x227)]=0x3ee,this[_0x4e93ee(0xee)]=!0x1,this[_0x4e93ee(0x21a)]=!0x1,this[_0x4e93ee(0x193)]=_0x232726,this[_0x4e93ee(0x17b)]=null,this[_0x4e93ee(0x201)]=!0x1,this['_extensions']={},this[_0x4e93ee(0x236)]=!0x1,this[_0x4e93ee(0x1c9)]='',this[_0x4e93ee(0x1d6)]=_0x55d697['CONNECTING'],this['_receiver']=null,this[_0x4e93ee(0x1dd)]=null,this['_socket']=null,_0x4dfcbc!==null?(this[_0x4e93ee(0x23e)]=0x0,this[_0x4e93ee(0x13e)]=!0x1,this[_0x4e93ee(0x226)]=0x0,_0x165692===void 0x0?_0x165692=[]:Array[_0x4e93ee(0xd4)](_0x165692)||(typeof _0x165692==_0x4e93ee(0x242)&&_0x165692!==null?(_0x594f51=_0x165692,_0x165692=[]):_0x165692=[_0x165692]),_0x64a53c(this,_0x4dfcbc,_0x165692,_0x594f51)):(this[_0x4e93ee(0x9b)]=_0x594f51[_0x4e93ee(0xdc)],this[_0x4e93ee(0x13e)]=!0x0);}get[_0x26bc00(0x128)](){return this['_binaryType'];}set[_0x26bc00(0x128)](_0x3ee18f){const _0x47f685=_0x26bc00;_0x42ea45[_0x47f685(0x239)](_0x3ee18f)&&(this[_0x47f685(0x178)]=_0x3ee18f,this['_receiver']&&(this['_receiver'][_0x47f685(0x178)]=_0x3ee18f));}get[_0x26bc00(0x121)](){const _0x18ffdf=_0x26bc00;return this[_0x18ffdf(0x1e3)]?this[_0x18ffdf(0x1e3)]['_writableState'][_0x18ffdf(0xc3)]+this[_0x18ffdf(0x1dd)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x26bc00(0xbd)](){const _0x214940=_0x26bc00;return Object[_0x214940(0xf5)](this[_0x214940(0x176)])[_0x214940(0xa8)]();}get[_0x26bc00(0xd1)](){const _0x28ba92=_0x26bc00;return this[_0x28ba92(0x236)];}get[_0x26bc00(0x207)](){return null;}get[_0x26bc00(0x1c7)](){return null;}get[_0x26bc00(0x17f)](){return null;}get[_0x26bc00(0x240)](){return null;}get[_0x26bc00(0x1aa)](){return this['_protocol'];}get[_0x26bc00(0x247)](){const _0x4b703a=_0x26bc00;return this[_0x4b703a(0x1d6)];}get[_0x26bc00(0xa2)](){const _0x5f183e=_0x26bc00;return this[_0x5f183e(0x13f)];}[_0x26bc00(0x168)](_0x28f64e,_0x5bf702,_0x4e60cd){const _0x210f2f=_0x26bc00,_0x30785b=new _0x5d3450({'allowSynchronousEvents':_0x4e60cd[_0x210f2f(0x174)],'binaryType':this['binaryType'],'extensions':this[_0x210f2f(0x176)],'isServer':this[_0x210f2f(0x13e)],'maxPayload':_0x4e60cd[_0x210f2f(0x127)],'skipUTF8Validation':_0x4e60cd['skipUTF8Validation']}),_0x5f40f1=new _0xfcb1d2(_0x28f64e,this[_0x210f2f(0x176)],_0x4e60cd[_0x210f2f(0x161)]);this[_0x210f2f(0x109)]=_0x30785b,this['_sender']=_0x5f40f1,this[_0x210f2f(0x1e3)]=_0x28f64e,_0x30785b[_0x2b0b7c]=this,_0x5f40f1[_0x2b0b7c]=this,_0x28f64e[_0x2b0b7c]=this,_0x30785b['on'](_0x210f2f(0x212),_0x4894ea),_0x30785b['on'](_0x210f2f(0x215),_0x3b66a2),_0x30785b['on'](_0x210f2f(0x1db),_0x2fbb25),_0x30785b['on'](_0x210f2f(0x1f9),_0x52fbde),_0x30785b['on'](_0x210f2f(0x134),_0xa74dff),_0x30785b['on'](_0x210f2f(0x219),_0x2469d7),_0x5f40f1[_0x210f2f(0x1c7)]=_0xfa2de4,_0x28f64e[_0x210f2f(0xaa)]&&_0x28f64e[_0x210f2f(0xaa)](0x0),_0x28f64e[_0x210f2f(0x143)]&&_0x28f64e[_0x210f2f(0x143)](),_0x5bf702[_0x210f2f(0xc3)]>0x0&&_0x28f64e[_0x210f2f(0x1f0)](_0x5bf702),_0x28f64e['on'](_0x210f2f(0x220),_0x334075),_0x28f64e['on'](_0x210f2f(0x14b),_0x4efd82),_0x28f64e['on'](_0x210f2f(0x88),_0x4e8ae1),_0x28f64e['on'](_0x210f2f(0x1db),_0x28e2ed),this['_readyState']=_0x55d697['OPEN'],this[_0x210f2f(0x112)](_0x210f2f(0xa0));}[_0x26bc00(0xaf)](){const _0x4c4434=_0x26bc00;if(!this[_0x4c4434(0x1e3)]){this[_0x4c4434(0x1d6)]=_0x55d697[_0x4c4434(0xde)],this['emit']('close',this[_0x4c4434(0x227)],this[_0x4c4434(0x193)]);return;}this[_0x4c4434(0x176)][_0x4adc00[_0x4c4434(0x23a)]]&&this['_extensions'][_0x4adc00[_0x4c4434(0x23a)]][_0x4c4434(0x106)](),this[_0x4c4434(0x109)][_0x4c4434(0xcd)](),this[_0x4c4434(0x1d6)]=_0x55d697[_0x4c4434(0xde)],this[_0x4c4434(0x112)](_0x4c4434(0x220),this[_0x4c4434(0x227)],this[_0x4c4434(0x193)]);}['close'](_0x15dd3f,_0x252222){const _0x4e0c17=_0x26bc00;if(this['readyState']!==_0x55d697[_0x4e0c17(0xde)]){if(this[_0x4e0c17(0x247)]===_0x55d697['CONNECTING']){_0x1496d4(this,this[_0x4e0c17(0x214)],_0x4e0c17(0x1d5));return;}if(this['readyState']===_0x55d697[_0x4e0c17(0x1d4)]){this[_0x4e0c17(0x21a)]&&(this[_0x4e0c17(0xee)]||this[_0x4e0c17(0x109)][_0x4e0c17(0x12b)][_0x4e0c17(0x19a)])&&this[_0x4e0c17(0x1e3)][_0x4e0c17(0x88)]();return;}this[_0x4e0c17(0x1d6)]=_0x55d697[_0x4e0c17(0x1d4)],this[_0x4e0c17(0x1dd)]['close'](_0x15dd3f,_0x252222,!this['_isServer'],_0x2ab9a6=>{const _0xf2bdb4=_0x4e0c17;_0x2ab9a6||(this[_0xf2bdb4(0x21a)]=!0x0,(this[_0xf2bdb4(0xee)]||this[_0xf2bdb4(0x109)][_0xf2bdb4(0x12b)]['errorEmitted'])&&this['_socket'][_0xf2bdb4(0x88)]());}),_0x4499ea(this);}}['pause'](){const _0x26bf8=_0x26bc00;this['readyState']===_0x55d697[_0x26bf8(0x191)]||this[_0x26bf8(0x247)]===_0x55d697[_0x26bf8(0xde)]||(this[_0x26bf8(0x236)]=!0x0,this[_0x26bf8(0x1e3)][_0x26bf8(0xe2)]());}['ping'](_0x316e4c,_0x2f6ec5,_0x5d8fe7){const _0x3c67fe=_0x26bc00;if(this['readyState']===_0x55d697[_0x3c67fe(0x191)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x316e4c==_0x3c67fe(0xb6)?(_0x5d8fe7=_0x316e4c,_0x316e4c=_0x2f6ec5=void 0x0):typeof _0x2f6ec5=='function'&&(_0x5d8fe7=_0x2f6ec5,_0x2f6ec5=void 0x0),typeof _0x316e4c=='number'&&(_0x316e4c=_0x316e4c[_0x3c67fe(0xb4)]()),this[_0x3c67fe(0x247)]!==_0x55d697['OPEN']){_0x45b8a9(this,_0x316e4c,_0x5d8fe7);return;}_0x2f6ec5===void 0x0&&(_0x2f6ec5=!this['_isServer']),this[_0x3c67fe(0x1dd)][_0x3c67fe(0x134)](_0x316e4c||_0x232726,_0x2f6ec5,_0x5d8fe7);}['pong'](_0x43857e,_0x220879,_0x2f614d){const _0x5e3bac=_0x26bc00;if(this[_0x5e3bac(0x247)]===_0x55d697[_0x5e3bac(0x191)])throw new Error(_0x5e3bac(0x199));if(typeof _0x43857e==_0x5e3bac(0xb6)?(_0x2f614d=_0x43857e,_0x43857e=_0x220879=void 0x0):typeof _0x220879==_0x5e3bac(0xb6)&&(_0x2f614d=_0x220879,_0x220879=void 0x0),typeof _0x43857e==_0x5e3bac(0x21d)&&(_0x43857e=_0x43857e[_0x5e3bac(0xb4)]()),this[_0x5e3bac(0x247)]!==_0x55d697[_0x5e3bac(0x119)]){_0x45b8a9(this,_0x43857e,_0x2f614d);return;}_0x220879===void 0x0&&(_0x220879=!this[_0x5e3bac(0x13e)]),this['_sender'][_0x5e3bac(0x219)](_0x43857e||_0x232726,_0x220879,_0x2f614d);}['resume'](){const _0x5c6b17=_0x26bc00;this[_0x5c6b17(0x247)]===_0x55d697['CONNECTING']||this[_0x5c6b17(0x247)]===_0x55d697[_0x5c6b17(0xde)]||(this[_0x5c6b17(0x236)]=!0x1,this[_0x5c6b17(0x109)][_0x5c6b17(0x12b)][_0x5c6b17(0x94)]||this[_0x5c6b17(0x1e3)][_0x5c6b17(0x1ca)]());}[_0x26bc00(0x1a8)](_0xe79b04,_0x5f11e6,_0x1f5882){const _0x491aa8=_0x26bc00;if(this['readyState']===_0x55d697[_0x491aa8(0x191)])throw new Error(_0x491aa8(0x199));if(typeof _0x5f11e6=='function'&&(_0x1f5882=_0x5f11e6,_0x5f11e6={}),typeof _0xe79b04==_0x491aa8(0x21d)&&(_0xe79b04=_0xe79b04[_0x491aa8(0xb4)]()),this[_0x491aa8(0x247)]!==_0x55d697['OPEN']){_0x45b8a9(this,_0xe79b04,_0x1f5882);return;}const _0x228a4e={'binary':typeof _0xe79b04!=_0x491aa8(0x1f6),'mask':!this[_0x491aa8(0x13e)],'compress':!0x0,'fin':!0x0,..._0x5f11e6};this[_0x491aa8(0x176)][_0x4adc00['extensionName']]||(_0x228a4e['compress']=!0x1),this[_0x491aa8(0x1dd)][_0x491aa8(0x1a8)](_0xe79b04||_0x232726,_0x228a4e,_0x1f5882);}[_0x26bc00(0x1f2)](){const _0x14eec6=_0x26bc00;if(this[_0x14eec6(0x247)]!==_0x55d697['CLOSED']){if(this[_0x14eec6(0x247)]===_0x55d697[_0x14eec6(0x191)]){_0x1496d4(this,this['_req'],_0x14eec6(0x1d5));return;}this['_socket']&&(this[_0x14eec6(0x1d6)]=_0x55d697[_0x14eec6(0x1d4)],this[_0x14eec6(0x1e3)][_0x14eec6(0x85)]());}}}Object['defineProperty'](_0x55d697,_0x26bc00(0x191),{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)]('CONNECTING')}),Object[_0x26bc00(0x15b)](_0x55d697[_0x26bc00(0xb9)],'CONNECTING',{'enumerable':!0x0,'value':_0x25339e['indexOf'](_0x26bc00(0x191))}),Object[_0x26bc00(0x15b)](_0x55d697,_0x26bc00(0x119),{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)](_0x26bc00(0x119))}),Object['defineProperty'](_0x55d697[_0x26bc00(0xb9)],_0x26bc00(0x119),{'enumerable':!0x0,'value':_0x25339e['indexOf'](_0x26bc00(0x119))}),Object[_0x26bc00(0x15b)](_0x55d697,_0x26bc00(0x1d4),{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)](_0x26bc00(0x1d4))}),Object[_0x26bc00(0x15b)](_0x55d697[_0x26bc00(0xb9)],_0x26bc00(0x1d4),{'enumerable':!0x0,'value':_0x25339e['indexOf'](_0x26bc00(0x1d4))}),Object['defineProperty'](_0x55d697,_0x26bc00(0xde),{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)](_0x26bc00(0xde))}),Object[_0x26bc00(0x15b)](_0x55d697[_0x26bc00(0xb9)],'CLOSED',{'enumerable':!0x0,'value':_0x25339e[_0x26bc00(0x9c)]('CLOSED')}),[_0x26bc00(0x128),'bufferedAmount',_0x26bc00(0xbd),_0x26bc00(0xd1),_0x26bc00(0x1aa),_0x26bc00(0x247),_0x26bc00(0xa2)][_0x26bc00(0x91)](_0x1b8617=>{const _0x588211=_0x26bc00;Object[_0x588211(0x15b)](_0x55d697['prototype'],_0x1b8617,{'enumerable':!0x0});}),[_0x26bc00(0xa0),_0x26bc00(0x1db),_0x26bc00(0x220),'message'][_0x26bc00(0x91)](_0x2f8247=>{const _0x4cf7fc=_0x26bc00;Object[_0x4cf7fc(0x15b)](_0x55d697[_0x4cf7fc(0xb9)],'on'+_0x2f8247,{'enumerable':!0x0,'get'(){const _0x11cdc9=_0x4cf7fc;for(const _0x14a479 of this[_0x11cdc9(0x177)](_0x2f8247))if(_0x14a479[_0x43f7d0])return _0x14a479[_0x4c5639];return null;},'set'(_0x42196d){const _0x30d09c=_0x4cf7fc;for(const _0x22cfc8 of this[_0x30d09c(0x177)](_0x2f8247))if(_0x22cfc8[_0x43f7d0]){this[_0x30d09c(0x7e)](_0x2f8247,_0x22cfc8);break;}typeof _0x42196d==_0x30d09c(0xb6)&&this['addEventListener'](_0x2f8247,_0x42196d,{[_0x43f7d0]:!0x0});}});}),_0x55d697['prototype']['addEventListener']=_0x354cda,_0x55d697[_0x26bc00(0xb9)][_0x26bc00(0x205)]=_0x3b19f2,we=_0x55d697;function _0x64a53c(_0x7916d7,_0x2ad0c5,_0x3d64f7,_0x5ed9f2){const _0x277ba9=_0x26bc00,_0x4ed0c5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x210fce[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5ed9f2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x277ba9(0x8a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x7916d7[_0x277ba9(0x9b)]=_0x4ed0c5[_0x277ba9(0xdc)],!_0x210fce[_0x277ba9(0x239)](_0x4ed0c5[_0x277ba9(0x149)]))throw new RangeError(_0x277ba9(0x187)+_0x4ed0c5[_0x277ba9(0x149)]+_0x277ba9(0xf4)+_0x210fce[_0x277ba9(0xa8)](',\x20')+')');let _0x169fef;if(_0x2ad0c5 instanceof _0x34be8e)_0x169fef=_0x2ad0c5;else try{_0x169fef=new _0x34be8e(_0x2ad0c5);}catch{throw new SyntaxError(_0x277ba9(0x1b9)+_0x2ad0c5);}_0x169fef['protocol']===_0x277ba9(0x1d3)?_0x169fef[_0x277ba9(0x1aa)]=_0x277ba9(0xca):_0x169fef[_0x277ba9(0x1aa)]===_0x277ba9(0x17e)&&(_0x169fef['protocol']=_0x277ba9(0x156)),_0x7916d7[_0x277ba9(0x13f)]=_0x169fef[_0x277ba9(0x1ec)];const _0xacb46=_0x169fef[_0x277ba9(0x1aa)]==='wss:',_0x3b9fb9=_0x169fef['protocol']===_0x277ba9(0xe1);let _0x5309fb;if(_0x169fef[_0x277ba9(0x1aa)]!==_0x277ba9(0xca)&&!_0xacb46&&!_0x3b9fb9?_0x5309fb=_0x277ba9(0x12e):_0x3b9fb9&&!_0x169fef['pathname']?_0x5309fb=_0x277ba9(0xda):_0x169fef[_0x277ba9(0x16e)]&&(_0x5309fb=_0x277ba9(0x1ad)),_0x5309fb){const _0x59db06=new SyntaxError(_0x5309fb);if(_0x7916d7[_0x277ba9(0x226)]===0x0)throw _0x59db06;_0x4d7b20(_0x7916d7,_0x59db06);return;}const _0x2b12f4=_0xacb46?0x1bb:0x50,_0x2610f3=_0x1785ea(0x10)['toString'](_0x277ba9(0x221)),_0x3ac120=_0xacb46?_0x1cf155[_0x277ba9(0xd6)]:_0x241b21[_0x277ba9(0xd6)],_0x3723b9=new Set();let _0x25f303;if(_0x4ed0c5['createConnection']=_0x4ed0c5[_0x277ba9(0x180)]||(_0xacb46?_0x457f2f:_0x5bf1d2),_0x4ed0c5[_0x277ba9(0x190)]=_0x4ed0c5[_0x277ba9(0x190)]||_0x2b12f4,_0x4ed0c5[_0x277ba9(0x148)]=_0x169fef[_0x277ba9(0x148)]||_0x2b12f4,_0x4ed0c5[_0x277ba9(0x8f)]=_0x169fef[_0x277ba9(0x1d1)][_0x277ba9(0x157)]('[')?_0x169fef[_0x277ba9(0x1d1)][_0x277ba9(0x111)](0x1,-0x1):_0x169fef[_0x277ba9(0x1d1)],_0x4ed0c5['headers']={..._0x4ed0c5[_0x277ba9(0x14a)],'Sec-WebSocket-Version':_0x4ed0c5['protocolVersion'],'Sec-WebSocket-Key':_0x2610f3,'Connection':_0x277ba9(0xfe),'Upgrade':_0x277ba9(0x167)},_0x4ed0c5[_0x277ba9(0x181)]=_0x169fef[_0x277ba9(0x8b)]+_0x169fef[_0x277ba9(0x18b)],_0x4ed0c5[_0x277ba9(0xc0)]=_0x4ed0c5['handshakeTimeout'],_0x4ed0c5[_0x277ba9(0xe6)]&&(_0x25f303=new _0x4adc00(_0x4ed0c5[_0x277ba9(0xe6)]!==!0x0?_0x4ed0c5[_0x277ba9(0xe6)]:{},!0x1,_0x4ed0c5[_0x277ba9(0x127)]),_0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x1d7)]=_0x1be172({[_0x4adc00[_0x277ba9(0x23a)]]:_0x25f303[_0x277ba9(0x13d)]()})),_0x3d64f7[_0x277ba9(0xc3)]){for(const _0x5345e1 of _0x3d64f7){if(typeof _0x5345e1!=_0x277ba9(0x1f6)||!_0x10fc7b[_0x277ba9(0x1d0)](_0x5345e1)||_0x3723b9['has'](_0x5345e1))throw new SyntaxError(_0x277ba9(0x103));_0x3723b9[_0x277ba9(0x194)](_0x5345e1);}_0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x1b6)]=_0x3d64f7[_0x277ba9(0xa8)](',');}if(_0x4ed0c5[_0x277ba9(0x82)]&&(_0x4ed0c5[_0x277ba9(0x149)]<0xd?_0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x1dc)]=_0x4ed0c5['origin']:_0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x13a)]=_0x4ed0c5[_0x277ba9(0x82)]),(_0x169fef[_0x277ba9(0x21e)]||_0x169fef[_0x277ba9(0xea)])&&(_0x4ed0c5[_0x277ba9(0x1e9)]=_0x169fef[_0x277ba9(0x21e)]+':'+_0x169fef[_0x277ba9(0xea)]),_0x3b9fb9){const _0x1ef38f=_0x4ed0c5[_0x277ba9(0x181)][_0x277ba9(0x144)](':');_0x4ed0c5[_0x277ba9(0x22a)]=_0x1ef38f[0x0],_0x4ed0c5['path']=_0x1ef38f[0x1];}let _0x4ef381;if(_0x4ed0c5[_0x277ba9(0x130)]){if(_0x7916d7['_redirects']===0x0){_0x7916d7['_originalIpc']=_0x3b9fb9,_0x7916d7['_originalSecure']=_0xacb46,_0x7916d7['_originalHostOrSocketPath']=_0x3b9fb9?_0x4ed0c5[_0x277ba9(0x22a)]:_0x169fef[_0x277ba9(0x8f)];const _0x5e2dba=_0x5ed9f2&&_0x5ed9f2[_0x277ba9(0x14a)];if(_0x5ed9f2={..._0x5ed9f2,'headers':{}},_0x5e2dba){for(const [_0x19e91e,_0x2e875f]of Object['entries'](_0x5e2dba))_0x5ed9f2[_0x277ba9(0x14a)][_0x19e91e[_0x277ba9(0x1c2)]()]=_0x2e875f;}}else{if(_0x7916d7[_0x277ba9(0xe4)](_0x277ba9(0x1f8))===0x0){const _0x43e9d5=_0x3b9fb9?_0x7916d7[_0x277ba9(0x22e)]?_0x4ed0c5[_0x277ba9(0x22a)]===_0x7916d7[_0x277ba9(0x114)]:!0x1:_0x7916d7[_0x277ba9(0x22e)]?!0x1:_0x169fef[_0x277ba9(0x8f)]===_0x7916d7[_0x277ba9(0x114)];(!_0x43e9d5||_0x7916d7[_0x277ba9(0x10d)]&&!_0xacb46)&&(delete _0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x172)],delete _0x4ed0c5['headers']['cookie'],_0x43e9d5||delete _0x4ed0c5[_0x277ba9(0x14a)][_0x277ba9(0x8f)],_0x4ed0c5['auth']=void 0x0);}}_0x4ed0c5[_0x277ba9(0x1e9)]&&!_0x5ed9f2['headers'][_0x277ba9(0x172)]&&(_0x5ed9f2[_0x277ba9(0x14a)][_0x277ba9(0x172)]=_0x277ba9(0xc9)+Buffer[_0x277ba9(0x78)](_0x4ed0c5[_0x277ba9(0x1e9)])[_0x277ba9(0xb4)](_0x277ba9(0x221))),_0x4ef381=_0x7916d7[_0x277ba9(0x214)]=_0x3ac120(_0x4ed0c5),_0x7916d7[_0x277ba9(0x226)]&&_0x7916d7[_0x277ba9(0x112)](_0x277ba9(0x1f8),_0x7916d7[_0x277ba9(0xa2)],_0x4ef381);}else _0x4ef381=_0x7916d7[_0x277ba9(0x214)]=_0x3ac120(_0x4ed0c5);_0x4ed0c5[_0x277ba9(0xc0)]&&_0x4ef381['on'](_0x277ba9(0xc0),()=>{const _0xedaec8=_0x277ba9;_0x1496d4(_0x7916d7,_0x4ef381,_0xedaec8(0x117));}),_0x4ef381['on'](_0x277ba9(0x1db),_0x255d35=>{_0x4ef381===null||_0x4ef381[_0x155edd]||(_0x4ef381=_0x7916d7['_req']=null,_0x4d7b20(_0x7916d7,_0x255d35));}),_0x4ef381['on'](_0x277ba9(0x84),_0x48684e=>{const _0x116aea=_0x277ba9,_0x11d5a0=_0x48684e[_0x116aea(0x14a)]['location'],_0x31699d=_0x48684e['statusCode'];if(_0x11d5a0&&_0x4ed0c5[_0x116aea(0x130)]&&_0x31699d>=0x12c&&_0x31699d<0x190){if(++_0x7916d7[_0x116aea(0x226)]>_0x4ed0c5['maxRedirects']){_0x1496d4(_0x7916d7,_0x4ef381,_0x116aea(0x1a0));return;}_0x4ef381[_0x116aea(0x19f)]();let _0x1169ec;try{_0x1169ec=new _0x34be8e(_0x11d5a0,_0x2ad0c5);}catch{const _0x3a8f95=new SyntaxError('Invalid\x20URL:\x20'+_0x11d5a0);_0x4d7b20(_0x7916d7,_0x3a8f95);return;}_0x64a53c(_0x7916d7,_0x1169ec,_0x3d64f7,_0x5ed9f2);}else _0x7916d7[_0x116aea(0x112)](_0x116aea(0x1fd),_0x4ef381,_0x48684e)||_0x1496d4(_0x7916d7,_0x4ef381,_0x116aea(0x1e5)+_0x48684e[_0x116aea(0x1a4)]);}),_0x4ef381['on'](_0x277ba9(0x22c),(_0x3062dd,_0x17469f,_0x1be5fa)=>{const _0x53c7b1=_0x277ba9;if(_0x7916d7[_0x53c7b1(0x112)](_0x53c7b1(0x22c),_0x3062dd),_0x7916d7[_0x53c7b1(0x247)]!==_0x55d697[_0x53c7b1(0x191)])return;_0x4ef381=_0x7916d7[_0x53c7b1(0x214)]=null;const _0x32a956=_0x3062dd[_0x53c7b1(0x14a)][_0x53c7b1(0x22c)];if(_0x32a956===void 0x0||_0x32a956[_0x53c7b1(0x1c2)]()!=='websocket'){_0x1496d4(_0x7916d7,_0x17469f,_0x53c7b1(0x11c));return;}const _0x223e44=_0x1fda34(_0x53c7b1(0xdb))['update'](_0x2610f3+_0x2a91d2)[_0x53c7b1(0x1f5)](_0x53c7b1(0x221));if(_0x3062dd[_0x53c7b1(0x14a)][_0x53c7b1(0x238)]!==_0x223e44){_0x1496d4(_0x7916d7,_0x17469f,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3b8939=_0x3062dd['headers']['sec-websocket-protocol'];let _0x4b0e05;if(_0x3b8939!==void 0x0?_0x3723b9[_0x53c7b1(0xd9)]?_0x3723b9[_0x53c7b1(0x155)](_0x3b8939)||(_0x4b0e05=_0x53c7b1(0xc8)):_0x4b0e05=_0x53c7b1(0x189):_0x3723b9['size']&&(_0x4b0e05=_0x53c7b1(0x7a)),_0x4b0e05){_0x1496d4(_0x7916d7,_0x17469f,_0x4b0e05);return;}_0x3b8939&&(_0x7916d7[_0x53c7b1(0x1c9)]=_0x3b8939);const _0x2ffca8=_0x3062dd[_0x53c7b1(0x14a)]['sec-websocket-extensions'];if(_0x2ffca8!==void 0x0){if(!_0x25f303){_0x1496d4(_0x7916d7,_0x17469f,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1417df;try{_0x1417df=_0x379d89(_0x2ffca8);}catch{_0x1496d4(_0x7916d7,_0x17469f,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x25a455=Object[_0x53c7b1(0xf5)](_0x1417df);if(_0x25a455['length']!==0x1||_0x25a455[0x0]!==_0x4adc00[_0x53c7b1(0x23a)]){_0x1496d4(_0x7916d7,_0x17469f,_0x53c7b1(0x211));return;}try{_0x25f303[_0x53c7b1(0x147)](_0x1417df[_0x4adc00[_0x53c7b1(0x23a)]]);}catch{_0x1496d4(_0x7916d7,_0x17469f,_0x53c7b1(0x20b));return;}_0x7916d7[_0x53c7b1(0x176)][_0x4adc00[_0x53c7b1(0x23a)]]=_0x25f303;}_0x7916d7['setSocket'](_0x17469f,_0x1be5fa,{'allowSynchronousEvents':_0x4ed0c5['allowSynchronousEvents'],'generateMask':_0x4ed0c5['generateMask'],'maxPayload':_0x4ed0c5[_0x53c7b1(0x127)],'skipUTF8Validation':_0x4ed0c5['skipUTF8Validation']});}),_0x4ed0c5[_0x277ba9(0x1e1)]?_0x4ed0c5[_0x277ba9(0x1e1)](_0x4ef381,_0x7916d7):_0x4ef381['end']();}function _0x4d7b20(_0x319ee6,_0x44dd5a){const _0x3ffb2e=_0x26bc00;_0x319ee6['_readyState']=_0x55d697[_0x3ffb2e(0x1d4)],_0x319ee6[_0x3ffb2e(0x201)]=!0x0,_0x319ee6['emit'](_0x3ffb2e(0x1db),_0x44dd5a),_0x319ee6[_0x3ffb2e(0xaf)]();}function _0x5bf1d2(_0x43d2e4){const _0x2a8333=_0x26bc00;return _0x43d2e4[_0x2a8333(0x181)]=_0x43d2e4[_0x2a8333(0x22a)],_0x503ec7['connect'](_0x43d2e4);}function _0x457f2f(_0x47f4a1){const _0x25466d=_0x26bc00;return _0x47f4a1['path']=void 0x0,!_0x47f4a1[_0x25466d(0xcf)]&&_0x47f4a1[_0x25466d(0xcf)]!==''&&(_0x47f4a1[_0x25466d(0xcf)]=_0x503ec7['isIP'](_0x47f4a1[_0x25466d(0x8f)])?'':_0x47f4a1[_0x25466d(0x8f)]),_0x244aa1[_0x25466d(0x23f)](_0x47f4a1);}function _0x1496d4(_0x496ddf,_0xd64af0,_0x13e173){const _0x7119e8=_0x26bc00;_0x496ddf[_0x7119e8(0x1d6)]=_0x55d697[_0x7119e8(0x1d4)];const _0x359ca4=new Error(_0x13e173);Error['captureStackTrace'](_0x359ca4,_0x1496d4),_0xd64af0[_0x7119e8(0x107)]?(_0xd64af0[_0x155edd]=!0x0,_0xd64af0[_0x7119e8(0x19f)](),_0xd64af0['socket']&&!_0xd64af0[_0x7119e8(0x17a)]['destroyed']&&_0xd64af0[_0x7119e8(0x17a)][_0x7119e8(0x85)](),process[_0x7119e8(0x104)](_0x4d7b20,_0x496ddf,_0x359ca4)):(_0xd64af0[_0x7119e8(0x85)](_0x359ca4),_0xd64af0[_0x7119e8(0x83)](_0x7119e8(0x1db),_0x496ddf[_0x7119e8(0x112)][_0x7119e8(0x7c)](_0x496ddf,_0x7119e8(0x1db))),_0xd64af0[_0x7119e8(0x83)](_0x7119e8(0x220),_0x496ddf[_0x7119e8(0xaf)][_0x7119e8(0x7c)](_0x496ddf)));}function _0x45b8a9(_0x3a4c9a,_0x8658fc,_0x3f6976){const _0x3f53ea=_0x26bc00;if(_0x8658fc){const _0x519857=_0x31fb54(_0x8658fc)?_0x8658fc[_0x3f53ea(0xd9)]:_0x373b05(_0x8658fc)['length'];_0x3a4c9a[_0x3f53ea(0x1e3)]?_0x3a4c9a[_0x3f53ea(0x1dd)][_0x3f53ea(0x1f3)]+=_0x519857:_0x3a4c9a['_bufferedAmount']+=_0x519857;}if(_0x3f6976){const _0x3baae4=new Error(_0x3f53ea(0x202)+_0x3a4c9a[_0x3f53ea(0x247)]+'\x20('+_0x25339e[_0x3a4c9a[_0x3f53ea(0x247)]]+')');process[_0x3f53ea(0x104)](_0x3f6976,_0x3baae4);}}function _0x4894ea(_0x5e8303,_0x158eb7){const _0x3f0f99=_0x26bc00,_0x32115e=this[_0x2b0b7c];_0x32115e[_0x3f0f99(0xee)]=!0x0,_0x32115e[_0x3f0f99(0x193)]=_0x158eb7,_0x32115e[_0x3f0f99(0x227)]=_0x5e8303,_0x32115e[_0x3f0f99(0x1e3)][_0x2b0b7c]!==void 0x0&&(_0x32115e[_0x3f0f99(0x1e3)][_0x3f0f99(0x7e)](_0x3f0f99(0x14b),_0x4efd82),process[_0x3f0f99(0x104)](_0x498787,_0x32115e[_0x3f0f99(0x1e3)]),_0x5e8303===0x3ed?_0x32115e['close']():_0x32115e[_0x3f0f99(0x220)](_0x5e8303,_0x158eb7));}function _0x3b66a2(){const _0x3c1eca=_0x26bc00,_0x12980a=this[_0x2b0b7c];_0x12980a[_0x3c1eca(0xd1)]||_0x12980a[_0x3c1eca(0x1e3)][_0x3c1eca(0x1ca)]();}function _0x2fbb25(_0x27372b){const _0x4d0aac=_0x26bc00,_0x1fbaf2=this[_0x2b0b7c];_0x1fbaf2['_socket'][_0x2b0b7c]!==void 0x0&&(_0x1fbaf2[_0x4d0aac(0x1e3)][_0x4d0aac(0x7e)]('data',_0x4efd82),process['nextTick'](_0x498787,_0x1fbaf2[_0x4d0aac(0x1e3)]),_0x1fbaf2[_0x4d0aac(0x220)](_0x27372b[_0x2d053f])),_0x1fbaf2['_errorEmitted']||(_0x1fbaf2[_0x4d0aac(0x201)]=!0x0,_0x1fbaf2[_0x4d0aac(0x112)](_0x4d0aac(0x1db),_0x27372b));}function _0x236cc2(){const _0x181d6c=_0x26bc00;this[_0x2b0b7c][_0x181d6c(0xaf)]();}function _0x52fbde(_0x283194,_0xf4a3a4){const _0x4d7681=_0x26bc00;this[_0x2b0b7c][_0x4d7681(0x112)]('message',_0x283194,_0xf4a3a4);}function _0xa74dff(_0x163b67){const _0x38c58f=_0x26bc00,_0x2256f6=this[_0x2b0b7c];_0x2256f6[_0x38c58f(0x9b)]&&_0x2256f6['pong'](_0x163b67,!this[_0x38c58f(0x13e)],_0x4c3ddc),_0x2256f6[_0x38c58f(0x112)](_0x38c58f(0x134),_0x163b67);}function _0x2469d7(_0x4aa784){const _0x2f9302=_0x26bc00;this[_0x2b0b7c][_0x2f9302(0x112)]('pong',_0x4aa784);}function _0x498787(_0x3a0191){const _0x42724c=_0x26bc00;_0x3a0191[_0x42724c(0x1ca)]();}function _0xfa2de4(_0x411d80){const _0x457eb5=_0x26bc00,_0x340456=this[_0x2b0b7c];_0x340456[_0x457eb5(0x247)]!==_0x55d697['CLOSED']&&(_0x340456[_0x457eb5(0x247)]===_0x55d697['OPEN']&&(_0x340456[_0x457eb5(0x1d6)]=_0x55d697[_0x457eb5(0x1d4)],_0x4499ea(_0x340456)),this[_0x457eb5(0x1e3)][_0x457eb5(0x88)](),_0x340456[_0x457eb5(0x201)]||(_0x340456[_0x457eb5(0x201)]=!0x0,_0x340456['emit']('error',_0x411d80)));}function _0x4499ea(_0x4416a3){const _0x400692=_0x26bc00;_0x4416a3['_closeTimer']=setTimeout(_0x4416a3[_0x400692(0x1e3)][_0x400692(0x85)][_0x400692(0x7c)](_0x4416a3[_0x400692(0x1e3)]),_0x4ffb32);}function _0x334075(){const _0x275cf6=_0x26bc00,_0x1a5336=this[_0x2b0b7c];this[_0x275cf6(0x7e)]('close',_0x334075),this[_0x275cf6(0x7e)](_0x275cf6(0x14b),_0x4efd82),this[_0x275cf6(0x7e)](_0x275cf6(0x88),_0x4e8ae1),_0x1a5336[_0x275cf6(0x1d6)]=_0x55d697['CLOSING'];let _0xd09737;!this['_readableState'][_0x275cf6(0x206)]&&!_0x1a5336['_closeFrameReceived']&&!_0x1a5336[_0x275cf6(0x109)][_0x275cf6(0x12b)][_0x275cf6(0x19a)]&&(_0xd09737=_0x1a5336['_socket'][_0x275cf6(0x11f)]())!==null&&_0x1a5336[_0x275cf6(0x109)]['write'](_0xd09737),_0x1a5336[_0x275cf6(0x109)][_0x275cf6(0x88)](),this[_0x2b0b7c]=void 0x0,clearTimeout(_0x1a5336[_0x275cf6(0x17b)]),_0x1a5336[_0x275cf6(0x109)][_0x275cf6(0x12b)]['finished']||_0x1a5336['_receiver'][_0x275cf6(0x12b)][_0x275cf6(0x19a)]?_0x1a5336[_0x275cf6(0xaf)]():(_0x1a5336[_0x275cf6(0x109)]['on'](_0x275cf6(0x1db),_0x236cc2),_0x1a5336['_receiver']['on'](_0x275cf6(0x1fc),_0x236cc2));}function _0x4efd82(_0x1d6600){const _0x3346ba=_0x26bc00;this[_0x2b0b7c][_0x3346ba(0x109)][_0x3346ba(0x204)](_0x1d6600)||this['pause']();}function _0x4e8ae1(){const _0x68d89e=_0x26bc00,_0x6c41d5=this[_0x2b0b7c];_0x6c41d5[_0x68d89e(0x1d6)]=_0x55d697[_0x68d89e(0x1d4)],_0x6c41d5[_0x68d89e(0x109)][_0x68d89e(0x88)](),this[_0x68d89e(0x88)]();}function _0x28e2ed(){const _0x20b6e4=_0x26bc00,_0x2baf42=this[_0x2b0b7c];this[_0x20b6e4(0x7e)]('error',_0x28e2ed),this['on'](_0x20b6e4(0x1db),_0x4c3ddc),_0x2baf42&&(_0x2baf42[_0x20b6e4(0x1d6)]=_0x55d697[_0x20b6e4(0x1d4)],this[_0x20b6e4(0x85)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4d69d0}=oe;function _0x2002e5(_0x2cf44a){const _0x2f9a01=_0x59da;_0x2cf44a[_0x2f9a01(0x112)](_0x2f9a01(0x220));}function _0x3bfa10(){const _0x970bf7=_0x59da;!this[_0x970bf7(0x197)]&&this[_0x970bf7(0x12b)][_0x970bf7(0x23b)]&&this[_0x970bf7(0x85)]();}function _0x2374b2(_0x2e4f4b){const _0x238ff0=_0x59da;this[_0x238ff0(0x7e)](_0x238ff0(0x1db),_0x2374b2),this['destroy'](),this[_0x238ff0(0xe4)](_0x238ff0(0x1db))===0x0&&this[_0x238ff0(0x112)](_0x238ff0(0x1db),_0x2e4f4b);}function _0x11bf54(_0x4b340c,_0x142a98){const _0x17c975=_0x59da;let _0x2e8d6f=!0x0;const _0x29c537=new _0x4d69d0({..._0x142a98,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4b340c['on'](_0x17c975(0x1f9),function(_0x171ef0,_0x3967ac){const _0x1c8a57=_0x17c975,_0x43b2a4=!_0x3967ac&&_0x29c537['_readableState'][_0x1c8a57(0x118)]?_0x171ef0[_0x1c8a57(0xb4)]():_0x171ef0;_0x29c537[_0x1c8a57(0xbc)](_0x43b2a4)||_0x4b340c['pause']();}),_0x4b340c[_0x17c975(0x83)]('error',function(_0x326874){const _0x4d1da1=_0x17c975;_0x29c537[_0x4d1da1(0x197)]||(_0x2e8d6f=!0x1,_0x29c537['destroy'](_0x326874));}),_0x4b340c['once']('close',function(){const _0x1c3548=_0x17c975;_0x29c537[_0x1c3548(0x197)]||_0x29c537[_0x1c3548(0xbc)](null);}),_0x29c537[_0x17c975(0x7f)]=function(_0x4edc37,_0x59abb7){const _0x17c8f6=_0x17c975;if(_0x4b340c[_0x17c8f6(0x247)]===_0x4b340c[_0x17c8f6(0xde)]){_0x59abb7(_0x4edc37),process[_0x17c8f6(0x104)](_0x2002e5,_0x29c537);return;}let _0x13c5bf=!0x1;_0x4b340c['once']('error',function(_0x3e5552){_0x13c5bf=!0x0,_0x59abb7(_0x3e5552);}),_0x4b340c[_0x17c8f6(0x83)]('close',function(){const _0x87b3e2=_0x17c8f6;_0x13c5bf||_0x59abb7(_0x4edc37),process[_0x87b3e2(0x104)](_0x2002e5,_0x29c537);}),_0x2e8d6f&&_0x4b340c[_0x17c8f6(0x1f2)]();},_0x29c537[_0x17c975(0x1d9)]=function(_0x57ccee){const _0x273509=_0x17c975;if(_0x4b340c[_0x273509(0x247)]===_0x4b340c['CONNECTING']){_0x4b340c[_0x273509(0x83)](_0x273509(0xa0),function(){const _0x1acbf8=_0x273509;_0x29c537[_0x1acbf8(0x1d9)](_0x57ccee);});return;}_0x4b340c[_0x273509(0x1e3)]!==null&&(_0x4b340c[_0x273509(0x1e3)][_0x273509(0x12b)]['finished']?(_0x57ccee(),_0x29c537[_0x273509(0x245)]['endEmitted']&&_0x29c537['destroy']()):(_0x4b340c[_0x273509(0x1e3)]['once']('finish',function(){_0x57ccee();}),_0x4b340c['close']()));},_0x29c537['_read']=function(){const _0x30f9a2=_0x17c975;_0x4b340c[_0x30f9a2(0xd1)]&&_0x4b340c[_0x30f9a2(0x1ca)]();},_0x29c537[_0x17c975(0x1a2)]=function(_0x390e84,_0x189be8,_0x102ae5){const _0x582b77=_0x17c975;if(_0x4b340c['readyState']===_0x4b340c[_0x582b77(0x191)]){_0x4b340c[_0x582b77(0x83)](_0x582b77(0xa0),function(){const _0x59cdad=_0x582b77;_0x29c537[_0x59cdad(0x1a2)](_0x390e84,_0x189be8,_0x102ae5);});return;}_0x4b340c[_0x582b77(0x1a8)](_0x390e84,_0x102ae5);},_0x29c537['on'](_0x17c975(0x88),_0x3bfa10),_0x29c537['on'](_0x17c975(0x1db),_0x2374b2),_0x29c537;}return Oe=_0x11bf54,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xb355a1}=ae();function _0x84cd55(_0x377238){const _0x522f8c=_0x59da,_0x109cf8=new Set();let _0x576896=-0x1,_0x2aa47d=-0x1,_0x44e096=0x0;for(_0x44e096;_0x44e096<_0x377238['length'];_0x44e096++){const _0x46b8b3=_0x377238[_0x522f8c(0x1af)](_0x44e096);if(_0x2aa47d===-0x1&&_0xb355a1[_0x46b8b3]===0x1)_0x576896===-0x1&&(_0x576896=_0x44e096);else{if(_0x44e096!==0x0&&(_0x46b8b3===0x20||_0x46b8b3===0x9))_0x2aa47d===-0x1&&_0x576896!==-0x1&&(_0x2aa47d=_0x44e096);else{if(_0x46b8b3===0x2c){if(_0x576896===-0x1)throw new SyntaxError(_0x522f8c(0x123)+_0x44e096);_0x2aa47d===-0x1&&(_0x2aa47d=_0x44e096);const _0x3054e3=_0x377238[_0x522f8c(0x111)](_0x576896,_0x2aa47d);if(_0x109cf8['has'](_0x3054e3))throw new SyntaxError(_0x522f8c(0x124)+_0x3054e3+'\x22\x20subprotocol\x20is\x20duplicated');_0x109cf8[_0x522f8c(0x194)](_0x3054e3),_0x576896=_0x2aa47d=-0x1;}else throw new SyntaxError(_0x522f8c(0x123)+_0x44e096);}}}if(_0x576896===-0x1||_0x2aa47d!==-0x1)throw new SyntaxError(_0x522f8c(0x10e));const _0x2aa0ee=_0x377238[_0x522f8c(0x111)](_0x576896,_0x44e096);if(_0x109cf8['has'](_0x2aa0ee))throw new SyntaxError(_0x522f8c(0x124)+_0x2aa0ee+_0x522f8c(0xfb));return _0x109cf8[_0x522f8c(0x194)](_0x2aa0ee),_0x109cf8;}return Ce={'parse':_0x84cd55},Ce;}var Te,rt;function Ft(){const _0x1887b0=_0x54d721;if(rt)return Te;rt=0x1;const _0x5bf3b8=nt,_0xf51352=ot,{Duplex:_0xdde4ed}=oe,{createHash:_0x456c01}=Le,_0x16652a=ct(),_0x29875d=he(),_0x401519=At(),_0x28423a=Pe(),{GUID:_0x4acc71,kWebSocket:_0x190bdc}=H(),_0x10c89c=/^[+/0-9A-Za-z]{22}==$/,_0x36924c=0x0,_0x148e64=0x1,_0x58c7d4=0x2;class _0x39a311 extends _0x5bf3b8{constructor(_0xe74820,_0x9f05fa){const _0x3ce30f=_0x59da;if(super(),_0xe74820={'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':_0x28423a,..._0xe74820},_0xe74820[_0x3ce30f(0x148)]==null&&!_0xe74820[_0x3ce30f(0x1e0)]&&!_0xe74820[_0x3ce30f(0xae)]||_0xe74820['port']!=null&&(_0xe74820['server']||_0xe74820[_0x3ce30f(0xae)])||_0xe74820[_0x3ce30f(0x1e0)]&&_0xe74820[_0x3ce30f(0xae)])throw new TypeError(_0x3ce30f(0x1a3));if(_0xe74820[_0x3ce30f(0x148)]!=null?(this[_0x3ce30f(0x14e)]=_0xf51352[_0x3ce30f(0x102)]((_0x1af0db,_0x1db983)=>{const _0x57c6e7=_0x3ce30f,_0x444b51=_0xf51352[_0x57c6e7(0x170)][0x1aa];_0x1db983[_0x57c6e7(0xa3)](0x1aa,{'Content-Length':_0x444b51[_0x57c6e7(0xc3)],'Content-Type':'text/plain'}),_0x1db983[_0x57c6e7(0x88)](_0x444b51);}),this[_0x3ce30f(0x14e)][_0x3ce30f(0xe9)](_0xe74820[_0x3ce30f(0x148)],_0xe74820['host'],_0xe74820[_0x3ce30f(0x175)],_0x9f05fa)):_0xe74820['server']&&(this['_server']=_0xe74820[_0x3ce30f(0x1e0)]),this[_0x3ce30f(0x14e)]){const _0x3e8b71=this[_0x3ce30f(0x112)]['bind'](this,_0x3ce30f(0x1be));this[_0x3ce30f(0xe7)]=_0x3db27e(this[_0x3ce30f(0x14e)],{'listening':this[_0x3ce30f(0x112)][_0x3ce30f(0x7c)](this,'listening'),'error':this[_0x3ce30f(0x112)][_0x3ce30f(0x7c)](this,'error'),'upgrade':(_0x50c86b,_0x61cc5a,_0x41966c)=>{const _0x23ebf2=_0x3ce30f;this[_0x23ebf2(0x1ff)](_0x50c86b,_0x61cc5a,_0x41966c,_0x3e8b71);}});}_0xe74820[_0x3ce30f(0xe6)]===!0x0&&(_0xe74820['perMessageDeflate']={}),_0xe74820['clientTracking']&&(this[_0x3ce30f(0x86)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x3ce30f(0xfc)]=_0xe74820,this[_0x3ce30f(0x192)]=_0x36924c;}[_0x1887b0(0x9a)](){const _0x3862de=_0x1887b0;if(this[_0x3862de(0xfc)][_0x3862de(0xae)])throw new Error(_0x3862de(0x1a1));return this['_server']?this[_0x3862de(0x14e)]['address']():null;}[_0x1887b0(0x220)](_0x2a89b0){const _0xe0f46a=_0x1887b0;if(this[_0xe0f46a(0x192)]===_0x58c7d4){_0x2a89b0&&this[_0xe0f46a(0x83)](_0xe0f46a(0x220),()=>{_0x2a89b0(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0xe0f46a(0x104)](_0x47ea4c,this);return;}if(_0x2a89b0&&this[_0xe0f46a(0x83)]('close',_0x2a89b0),this[_0xe0f46a(0x192)]!==_0x148e64){if(this[_0xe0f46a(0x192)]=_0x148e64,this[_0xe0f46a(0xfc)][_0xe0f46a(0xae)]||this[_0xe0f46a(0xfc)][_0xe0f46a(0x1e0)])this['_server']&&(this['_removeListeners'](),this[_0xe0f46a(0xe7)]=this['_server']=null),this[_0xe0f46a(0x86)]?this[_0xe0f46a(0x86)][_0xe0f46a(0xd9)]?this[_0xe0f46a(0xec)]=!0x0:process['nextTick'](_0x47ea4c,this):process[_0xe0f46a(0x104)](_0x47ea4c,this);else{const _0x633fbc=this[_0xe0f46a(0x14e)];this[_0xe0f46a(0xe7)](),this[_0xe0f46a(0xe7)]=this[_0xe0f46a(0x14e)]=null,_0x633fbc['close'](()=>{_0x47ea4c(this);});}}}[_0x1887b0(0x81)](_0x2e7b23){const _0x254632=_0x1887b0;if(this[_0x254632(0xfc)]['path']){const _0x507cd5=_0x2e7b23[_0x254632(0xa2)]['indexOf']('?');if((_0x507cd5!==-0x1?_0x2e7b23[_0x254632(0xa2)]['slice'](0x0,_0x507cd5):_0x2e7b23['url'])!==this['options'][_0x254632(0x181)])return!0x1;}return!0x0;}[_0x1887b0(0x1ff)](_0xe39aeb,_0x382834,_0x23174e,_0x21f81b){const _0x4a79a7=_0x1887b0;_0x382834['on']('error',_0x490a47);const _0x5ae9a8=_0xe39aeb['headers'][_0x4a79a7(0x1e7)],_0x35e64b=_0xe39aeb['headers'][_0x4a79a7(0x22c)],_0x30c623=+_0xe39aeb[_0x4a79a7(0x14a)]['sec-websocket-version'];if(_0xe39aeb[_0x4a79a7(0xac)]!==_0x4a79a7(0x8a)){_0x4bc837(this,_0xe39aeb,_0x382834,0x195,_0x4a79a7(0x108));return;}if(_0x35e64b===void 0x0||_0x35e64b[_0x4a79a7(0x1c2)]()!==_0x4a79a7(0x167)){_0x4bc837(this,_0xe39aeb,_0x382834,0x190,_0x4a79a7(0x11c));return;}if(_0x5ae9a8===void 0x0||!_0x10c89c[_0x4a79a7(0x1d0)](_0x5ae9a8)){_0x4bc837(this,_0xe39aeb,_0x382834,0x190,_0x4a79a7(0x140));return;}if(_0x30c623!==0x8&&_0x30c623!==0xd){_0x4bc837(this,_0xe39aeb,_0x382834,0x190,_0x4a79a7(0x1b3));return;}if(!this[_0x4a79a7(0x81)](_0xe39aeb)){_0x223f5b(_0x382834,0x190);return;}const _0x43e68c=_0xe39aeb['headers']['sec-websocket-protocol'];let _0x19f696=new Set();if(_0x43e68c!==void 0x0)try{_0x19f696=_0x401519[_0x4a79a7(0x15d)](_0x43e68c);}catch{_0x4bc837(this,_0xe39aeb,_0x382834,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x39271d=_0xe39aeb[_0x4a79a7(0x14a)][_0x4a79a7(0x223)],_0x2c0513={};if(this[_0x4a79a7(0xfc)][_0x4a79a7(0xe6)]&&_0x39271d!==void 0x0){const _0x3f6466=new _0x29875d(this[_0x4a79a7(0xfc)][_0x4a79a7(0xe6)],!0x0,this['options']['maxPayload']);try{const _0x43dc9b=_0x16652a[_0x4a79a7(0x15d)](_0x39271d);_0x43dc9b[_0x29875d[_0x4a79a7(0x23a)]]&&(_0x3f6466['accept'](_0x43dc9b[_0x29875d[_0x4a79a7(0x23a)]]),_0x2c0513[_0x29875d[_0x4a79a7(0x23a)]]=_0x3f6466);}catch{_0x4bc837(this,_0xe39aeb,_0x382834,0x190,_0x4a79a7(0x213));return;}}if(this[_0x4a79a7(0xfc)]['verifyClient']){const _0x1969d1={'origin':_0xe39aeb[_0x4a79a7(0x14a)][''+(_0x30c623===0x8?_0x4a79a7(0x171):_0x4a79a7(0x82))],'secure':!!(_0xe39aeb[_0x4a79a7(0x17a)][_0x4a79a7(0x10a)]||_0xe39aeb[_0x4a79a7(0x17a)]['encrypted']),'req':_0xe39aeb};if(this[_0x4a79a7(0xfc)]['verifyClient'][_0x4a79a7(0xc3)]===0x2){this[_0x4a79a7(0xfc)]['verifyClient'](_0x1969d1,(_0x452427,_0x259e3b,_0x3c869f,_0x4a4246)=>{const _0x4120ee=_0x4a79a7;if(!_0x452427)return _0x223f5b(_0x382834,_0x259e3b||0x191,_0x3c869f,_0x4a4246);this[_0x4120ee(0xbf)](_0x2c0513,_0x5ae9a8,_0x19f696,_0xe39aeb,_0x382834,_0x23174e,_0x21f81b);});return;}if(!this[_0x4a79a7(0xfc)][_0x4a79a7(0x246)](_0x1969d1))return _0x223f5b(_0x382834,0x191);}this[_0x4a79a7(0xbf)](_0x2c0513,_0x5ae9a8,_0x19f696,_0xe39aeb,_0x382834,_0x23174e,_0x21f81b);}[_0x1887b0(0xbf)](_0x4e2994,_0x3f130a,_0x5d8e6d,_0x38e397,_0x21250e,_0x2456e3,_0x37ea45){const _0xe2b431=_0x1887b0;if(!_0x21250e[_0xe2b431(0x1fb)]||!_0x21250e[_0xe2b431(0x1e6)])return _0x21250e['destroy']();if(_0x21250e[_0x190bdc])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xe2b431(0x192)]>_0x36924c)return _0x223f5b(_0x21250e,0x1f7);const _0x42bdb9=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket','Connection:\x20Upgrade',_0xe2b431(0x18e)+_0x456c01('sha1')[_0xe2b431(0x18f)](_0x3f130a+_0x4acc71)[_0xe2b431(0x1f5)](_0xe2b431(0x221))],_0x5b078f=new this[(_0xe2b431(0xfc))][(_0xe2b431(0x159))](null,void 0x0,this[_0xe2b431(0xfc)]);if(_0x5d8e6d[_0xe2b431(0xd9)]){const _0x3da886=this['options']['handleProtocols']?this[_0xe2b431(0xfc)]['handleProtocols'](_0x5d8e6d,_0x38e397):_0x5d8e6d[_0xe2b431(0xb2)]()['next']()[_0xe2b431(0x164)];_0x3da886&&(_0x42bdb9[_0xe2b431(0xbc)](_0xe2b431(0x1c5)+_0x3da886),_0x5b078f[_0xe2b431(0x1c9)]=_0x3da886);}if(_0x4e2994[_0x29875d[_0xe2b431(0x23a)]]){const _0x378d03=_0x4e2994[_0x29875d[_0xe2b431(0x23a)]][_0xe2b431(0x153)],_0x6dcbd7=_0x16652a[_0xe2b431(0x1b4)]({[_0x29875d[_0xe2b431(0x23a)]]:[_0x378d03]});_0x42bdb9['push']('Sec-WebSocket-Extensions:\x20'+_0x6dcbd7),_0x5b078f[_0xe2b431(0x176)]=_0x4e2994;}this[_0xe2b431(0x112)]('headers',_0x42bdb9,_0x38e397),_0x21250e[_0xe2b431(0x204)](_0x42bdb9[_0xe2b431(0x1b0)]('\x0d\x0a')[_0xe2b431(0xa8)]('\x0d\x0a')),_0x21250e[_0xe2b431(0x7e)]('error',_0x490a47),_0x5b078f[_0xe2b431(0x168)](_0x21250e,_0x2456e3,{'allowSynchronousEvents':this[_0xe2b431(0xfc)][_0xe2b431(0x174)],'maxPayload':this[_0xe2b431(0xfc)][_0xe2b431(0x127)],'skipUTF8Validation':this[_0xe2b431(0xfc)][_0xe2b431(0x100)]}),this['clients']&&(this['clients'][_0xe2b431(0x194)](_0x5b078f),_0x5b078f['on'](_0xe2b431(0x220),()=>{const _0x35bc55=_0xe2b431;this[_0x35bc55(0x86)][_0x35bc55(0x183)](_0x5b078f),this[_0x35bc55(0xec)]&&!this[_0x35bc55(0x86)][_0x35bc55(0xd9)]&&process['nextTick'](_0x47ea4c,this);})),_0x37ea45(_0x5b078f,_0x38e397);}}Te=_0x39a311;function _0x3db27e(_0x4b1dfe,_0x317885){const _0x35fb20=_0x1887b0;for(const _0x2c0ae2 of Object[_0x35fb20(0xf5)](_0x317885))_0x4b1dfe['on'](_0x2c0ae2,_0x317885[_0x2c0ae2]);return function(){const _0x51edbb=_0x35fb20;for(const _0x2c65c5 of Object[_0x51edbb(0xf5)](_0x317885))_0x4b1dfe['removeListener'](_0x2c65c5,_0x317885[_0x2c65c5]);};}function _0x47ea4c(_0x1b1224){const _0x4e2877=_0x1887b0;_0x1b1224['_state']=_0x58c7d4,_0x1b1224[_0x4e2877(0x112)](_0x4e2877(0x220));}function _0x490a47(){const _0x3f9ce8=_0x1887b0;this[_0x3f9ce8(0x85)]();}function _0x223f5b(_0x449767,_0x46b8a1,_0x5b872f,_0x4611bc){const _0x18a9f0=_0x1887b0;_0x5b872f=_0x5b872f||_0xf51352[_0x18a9f0(0x170)][_0x46b8a1],_0x4611bc={'Connection':'close','Content-Type':_0x18a9f0(0x241),'Content-Length':Buffer[_0x18a9f0(0x22b)](_0x5b872f),..._0x4611bc},_0x449767['once']('finish',_0x449767[_0x18a9f0(0x85)]),_0x449767['end'](_0x18a9f0(0xb0)+_0x46b8a1+'\x20'+_0xf51352['STATUS_CODES'][_0x46b8a1]+'\x0d\x0a'+Object['keys'](_0x4611bc)[_0x18a9f0(0x18c)](_0x49d564=>_0x49d564+':\x20'+_0x4611bc[_0x49d564])['join']('\x0d\x0a')+_0x18a9f0(0x1de)+_0x5b872f);}function _0x4bc837(_0x1d8200,_0x430c0a,_0x367ccb,_0x4f5990,_0x5dbc0a){const _0x167c61=_0x1887b0;if(_0x1d8200[_0x167c61(0xe4)](_0x167c61(0x110))){const _0x304d7b=new Error(_0x5dbc0a);Error[_0x167c61(0x14c)](_0x304d7b,_0x4bc837),_0x1d8200[_0x167c61(0x112)]('wsClientError',_0x304d7b,_0x367ccb,_0x430c0a);}else _0x223f5b(_0x367ccb,_0x4f5990,_0x5dbc0a);}return Te;}Ft();var jt=Object[_0x54d721(0xb1)],Wt=(_0x44b1f5,_0x3844a1,_0x17e4e0,_0xe2a2e9)=>{const _0x156a4a=_0x54d721;for(var _0x62a004=_0xe2a2e9>0x1?void 0x0:_0xe2a2e9?jt(_0x3844a1,_0x17e4e0):_0x3844a1,_0x57e0da=_0x44b1f5[_0x156a4a(0xc3)]-0x1,_0x54e231;_0x57e0da>=0x0;_0x57e0da--)(_0x54e231=_0x44b1f5[_0x57e0da])&&(_0x62a004=_0x54e231(_0x62a004)||_0x62a004);return _0x62a004;},qt=(_0x3d8482,_0x22bf3e)=>(_0x3f6123,_0x3b691d)=>_0x22bf3e(_0x3f6123,_0x3b691d,_0x3d8482);let ke=class extends A[_0x54d721(0xc7)]{constructor(_0x4b2f62){const _0xf30f1a=_0x54d721;super(),this[_0xf30f1a(0x163)]=_0x4b2f62;}[_0x54d721(0xad)](_0x3bc267){const _0x2395f6=_0x54d721;var _0x4e76b0;const _0x3f4ad5=(_0x4e76b0=this[_0x2395f6(0x163)][_0x2395f6(0x184)](fe))==null?void 0x0:_0x4e76b0['customHeaders'];try{const _0x2f713c=new $t(_0x3bc267,{'headers':{..._0x3f4ad5}}),_0x291df5=new A[(_0x2395f6(0x7d))]();return{'URL':_0x3bc267,'close':(_0x1d2b17,_0x2a0424)=>{const _0x27c202=_0x2395f6;_0x2f713c[_0x27c202(0x220)](_0x1d2b17,_0x2a0424),_0x291df5[_0x27c202(0x12d)]();},'send':_0xa2710d=>{_0x2f713c['send'](_0xa2710d);},'open$':new V['Observable'](_0x4d079b=>{const _0x1836fc=_0x2395f6,_0x5996da=_0x20d320=>_0x4d079b[_0x1836fc(0x173)](_0x20d320);_0x2f713c[_0x1836fc(0x169)]('open',_0x5996da),_0x291df5['add'](A['toDisposable'](()=>_0x2f713c['removeEventListener'](_0x1836fc(0xa0),_0x5996da)));})['pipe'](V[_0x2395f6(0x1eb)]()),'close$':new V[(_0x2395f6(0x1ae))](_0x219386=>{const _0x2a5c28=_0x2395f6,_0x1147b3=_0x150d38=>_0x219386[_0x2a5c28(0x173)](_0x150d38);_0x2f713c['addEventListener'](_0x2a5c28(0x220),_0x1147b3),_0x291df5['add'](A[_0x2a5c28(0x224)](()=>_0x2f713c[_0x2a5c28(0x205)](_0x2a5c28(0x220),_0x1147b3)));})[_0x2395f6(0x136)](V['share']()),'error$':new V[(_0x2395f6(0x1ae))](_0x52fc29=>{const _0x2dbaed=_0x2395f6,_0x53e524=_0x3b05e6=>_0x52fc29[_0x2dbaed(0x173)](_0x3b05e6);_0x2f713c['addEventListener']('error',_0x53e524),_0x291df5[_0x2dbaed(0x194)](A[_0x2dbaed(0x224)](()=>_0x2f713c[_0x2dbaed(0x205)](_0x2dbaed(0x1db),_0x53e524)));})[_0x2395f6(0x136)](V[_0x2395f6(0x1eb)]()),'message$':new V[(_0x2395f6(0x1ae))](_0x4d494f=>{const _0x22da48=_0x2395f6,_0x128b83=_0x1e4959=>_0x4d494f[_0x22da48(0x173)](_0x1e4959);_0x2f713c[_0x22da48(0x169)]('message',_0x128b83),_0x291df5[_0x22da48(0x194)](A[_0x22da48(0x224)](()=>_0x2f713c['removeEventListener'](_0x22da48(0x1f9),_0x128b83)));})[_0x2395f6(0x136)](V['share']())};}catch(_0x3238fb){return console[_0x2395f6(0x1db)](_0x3238fb),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x54d721(0x15b)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x339424,_0x3d44b5,_0x396e31)=>_0x3d44b5 in _0x339424?Gt(_0x339424,_0x3d44b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x396e31}):_0x339424[_0x3d44b5]=_0x396e31,zt=(_0x4684ee,_0x347a4b,_0x5b02ef,_0x4ccaca)=>{const _0x11a953=_0x54d721;for(var _0x216346=_0x4ccaca>0x1?void 0x0:_0x4ccaca?Vt(_0x347a4b,_0x5b02ef):_0x347a4b,_0x4b5988=_0x4684ee[_0x11a953(0xc3)]-0x1,_0xf6267b;_0x4b5988>=0x0;_0x4b5988--)(_0xf6267b=_0x4684ee[_0x4b5988])&&(_0x216346=_0xf6267b(_0x216346)||_0x216346);return _0x216346;},Ne=(_0x183792,_0x188339)=>(_0x462cf6,_0x455ebb)=>_0x188339(_0x462cf6,_0x455ebb,_0x183792),Yt=(_0x1802bf,_0x419328,_0x1a9e73)=>Ht(_0x1802bf,_0x419328+'',_0x1a9e73);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x54d721(0xc4)]{constructor(_0x297e0d=Ct,_0x59ba9f,_0x4dc6db,_0x16517f){const _0x2bd1f7=_0x54d721;_0x297e0d[_0x2bd1f7(0xc1)]||_0x59ba9f[_0x2bd1f7(0xf1)](_0x2bd1f7(0xcb)),super(),this['_configService']=_0x4dc6db,this[_0x2bd1f7(0x225)]=_0x16517f,this[_0x2bd1f7(0x163)][_0x2bd1f7(0x1cb)](fe,_0x297e0d);}['onStarting'](){const _0x35bace=_0x54d721;this[_0x35bace(0x1ee)]();}[_0x54d721(0x1ee)](){const _0x2337d4=_0x54d721;A['registerDependencies'](this[_0x2337d4(0x225)],[[it[_0x2337d4(0x1ed)],{'useClass':ke}]]);}},Yt(exports[_0x54d721(0xb8)],_0x54d721(0xeb),_0x54d721(0xa4)),exports[_0x54d721(0xb8)]=zt([A[_0x54d721(0x105)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x54d721(0xe3)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x54d721(0x22f)](A[_0x54d721(0x21b)]))],exports[_0x54d721(0xb8)]);var Kt=Object[_0x54d721(0xb1)],Xt=(_0x2b5c86,_0x4e86cc,_0x2b8993,_0x116e76)=>{const _0x2d1632=_0x54d721;for(var _0x3aed78=_0x116e76>0x1?void 0x0:_0x116e76?Kt(_0x4e86cc,_0x2b8993):_0x4e86cc,_0x5ad082=_0x2b5c86[_0x2d1632(0xc3)]-0x1,_0x17da72;_0x5ad082>=0x0;_0x5ad082--)(_0x17da72=_0x2b5c86[_0x5ad082])&&(_0x3aed78=_0x17da72(_0x3aed78)||_0x3aed78);return _0x3aed78;},ne=(_0x1546fb,_0x195302)=>(_0x2e0444,_0x40bc47)=>_0x195302(_0x2e0444,_0x40bc47,_0x1546fb);exports[_0x54d721(0xa6)]=class extends st[_0x54d721(0x1ab)]{constructor(_0x241203,_0x586a4b,_0x139709,_0x3f8701,_0x57dd23){const _0x2f4703=_0x54d721;super(_0x241203,_0x586a4b,_0x139709,_0x3f8701,_0x57dd23);const _0x382c81=this['_configService'][_0x2f4703(0x184)](fe);this[_0x2f4703(0x7b)]['registerHTTPInterceptor']({'interceptor':(_0xd85844,_0x4d4bdb)=>{const _0x404e43=_0x2f4703;var _0x1b87e4;const _0x2dea87=_0xd85844[_0x404e43(0x14a)];return(_0x1b87e4=_0x382c81==null?void 0x0:_0x382c81['customHeaders'])!=null&&_0x1b87e4[_0x404e43(0x1b8)]&&_0x2dea87[_0x404e43(0x10f)]('Cookie',_0x382c81[_0x404e43(0xc1)][_0x404e43(0x1b8)]),_0x4d4bdb(_0xd85844);}});}async[_0x54d721(0xad)](_0x23fc41){const _0xb4f654=_0x54d721;return this[_0xb4f654(0x1df)](_0x23fc41);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A[_0x54d721(0x22f)](it[_0x54d721(0x162)])),ne(0x2,A[_0x54d721(0x139)]),ne(0x3,A[_0x54d721(0xe3)]),ne(0x4,Ot[_0x54d721(0x8d)])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;