@univerjs-pro/collaboration-client-node 0.15.0-insiders.20251227-c108ce3 → 0.15.0-insiders.20260107-3441c7a

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2ab932,_0x1f8219){const _0x809bed=_0x2281,_0x4c9cc4=_0x2ab932();while(!![]){try{const _0x575eac=parseInt(_0x809bed(0x2c7))/0x1+parseInt(_0x809bed(0x1ba))/0x2+parseInt(_0x809bed(0x30e))/0x3+-parseInt(_0x809bed(0x370))/0x4*(parseInt(_0x809bed(0x32f))/0x5)+-parseInt(_0x809bed(0x24a))/0x6*(-parseInt(_0x809bed(0x269))/0x7)+-parseInt(_0x809bed(0x277))/0x8*(-parseInt(_0x809bed(0x27c))/0x9)+-parseInt(_0x809bed(0x339))/0xa;if(_0x575eac===_0x1f8219)break;else _0x4c9cc4['push'](_0x4c9cc4['shift']());}catch(_0x218e01){_0x4c9cc4['push'](_0x4c9cc4['shift']());}}}(_0x2db3,0x85adc),function(_0x44c567,_0x169922){const _0xf975fd=_0x2281;typeof exports==_0xf975fd(0x32c)&&typeof module<'u'?_0x169922(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs'),require('events'),require('https'),require('http'),require('net'),require('tls'),require('crypto'),require('stream'),require('url'),require('zlib'),require('buffer'),require('@univerjs-pro/collaboration')):typeof define==_0xf975fd(0x24b)&&define[_0xf975fd(0x1ee)]?define([_0xf975fd(0x2bd),_0xf975fd(0x27a),_0xf975fd(0x26c),_0xf975fd(0x2f5),'rxjs','events',_0xf975fd(0x234),_0xf975fd(0x36d),_0xf975fd(0x302),_0xf975fd(0x2b5),_0xf975fd(0x33e),_0xf975fd(0x25c),_0xf975fd(0x308),'zlib','buffer','@univerjs-pro/collaboration'],_0x169922):(_0x44c567=typeof globalThis<'u'?globalThis:_0x44c567||self,_0x169922(_0x44c567[_0xf975fd(0x1c9)]={},_0x44c567[_0xf975fd(0x340)],_0x44c567[_0xf975fd(0x344)],_0x44c567[_0xf975fd(0x358)],_0x44c567[_0xf975fd(0x261)],_0x44c567[_0xf975fd(0x1b4)],_0x44c567[_0xf975fd(0x2f8)],_0x44c567[_0xf975fd(0x2ea)],_0x44c567[_0xf975fd(0x27e)],_0x44c567[_0xf975fd(0x1cc)],_0x44c567[_0xf975fd(0x1df)],_0x44c567[_0xf975fd(0x2fa)],_0x44c567[_0xf975fd(0x2fc)],_0x44c567[_0xf975fd(0x2c1)],_0x44c567[_0xf975fd(0x232)],_0x44c567[_0xf975fd(0x281)]));}(this,function(_0x20a95c,_0x4c7100,_0x466ed1,_0x3f2491,_0x5ca517,_0x51ae7e,_0x59aa40,_0x41b66e,_0x19b4a5,_0x23e6e9,_0x2bdc4f,_0x178ce2,_0x359156,_0x4f1291,_0x503860,_0x47e232){'use strict';const _0x51c6a1=_0x2281;const _0x3cff07='collaboration-client-node.config',_0x37a710={};function _0x1e8228(_0x1f6ce9){const _0x57f782=_0x2281;return _0x1f6ce9&&_0x1f6ce9[_0x57f782(0x1f3)]&&Object[_0x57f782(0x378)][_0x57f782(0x284)]['call'](_0x1f6ce9,_0x57f782(0x2de))?_0x1f6ce9['default']:_0x1f6ce9;}function _0x3f8d7e(_0x512fba){const _0x3c3ba5=_0x2281;if(Object[_0x3c3ba5(0x378)][_0x3c3ba5(0x284)][_0x3c3ba5(0x2f4)](_0x512fba,_0x3c3ba5(0x1f3)))return _0x512fba;var _0x2f443b=_0x512fba[_0x3c3ba5(0x2de)];if(typeof _0x2f443b==_0x3c3ba5(0x24b)){var _0x452dec=function _0x705115(){const _0x5dac7a=_0x3c3ba5;var _0x177a1c=!0x1;try{_0x177a1c=this instanceof _0x705115;}catch{}return _0x177a1c?Reflect[_0x5dac7a(0x374)](_0x2f443b,arguments,this[_0x5dac7a(0x202)]):_0x2f443b[_0x5dac7a(0x2bf)](this,arguments);};_0x452dec[_0x3c3ba5(0x378)]=_0x2f443b[_0x3c3ba5(0x378)];}else _0x452dec={};return Object[_0x3c3ba5(0x317)](_0x452dec,'__esModule',{'value':!0x0}),Object[_0x3c3ba5(0x23b)](_0x512fba)[_0x3c3ba5(0x341)](function(_0x4938b0){const _0x250e92=_0x3c3ba5;var _0x555373=Object[_0x250e92(0x2b8)](_0x512fba,_0x4938b0);Object[_0x250e92(0x317)](_0x452dec,_0x4938b0,_0x555373[_0x250e92(0x363)]?_0x555373:{'enumerable':!0x0,'get':function(){return _0x512fba[_0x4938b0];}});}),_0x452dec;}var _0x4f98c7,_0x478703;function _0x3456f8(){const _0x58fae9=_0x2281;if(_0x478703)return _0x4f98c7;_0x478703=0x1;const _0x62868a=[_0x58fae9(0x2ba),_0x58fae9(0x383),'fragments'],_0x4a53b8=typeof Blob<'u';return _0x4a53b8&&_0x62868a[_0x58fae9(0x238)](_0x58fae9(0x1fe)),_0x4f98c7={'BINARY_TYPES':_0x62868a,'EMPTY_BUFFER':Buffer[_0x58fae9(0x22b)](0x0),'GUID':_0x58fae9(0x36a),'hasBlob':_0x4a53b8,'kForOnEventAttribute':Symbol(_0x58fae9(0x216)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x58fae9(0x356)),'kWebSocket':Symbol(_0x58fae9(0x31b)),'NOOP':()=>{}},_0x4f98c7;}var _0x24f0f4,_0x4530ed;function _0x1bc1f1(){const _0x12d11f=_0x2281;if(_0x4530ed)return _0x24f0f4;_0x4530ed=0x1;const {EMPTY_BUFFER:_0x27bb8d}=_0x3456f8(),_0x577b7b=Buffer[Symbol[_0x12d11f(0x2c6)]];function _0x48da66(_0x5f2cae,_0x2041ac){const _0x2b4ce1=_0x12d11f;if(_0x5f2cae[_0x2b4ce1(0x279)]===0x0)return _0x27bb8d;if(_0x5f2cae[_0x2b4ce1(0x279)]===0x1)return _0x5f2cae[0x0];const _0x563669=Buffer[_0x2b4ce1(0x230)](_0x2041ac);let _0x53a292=0x0;for(let _0x29f33a=0x0;_0x29f33a<_0x5f2cae['length'];_0x29f33a++){const _0x2cf869=_0x5f2cae[_0x29f33a];_0x563669['set'](_0x2cf869,_0x53a292),_0x53a292+=_0x2cf869[_0x2b4ce1(0x279)];}return _0x53a292<_0x2041ac?new _0x577b7b(_0x563669['buffer'],_0x563669['byteOffset'],_0x53a292):_0x563669;}function _0xafe118(_0x5f9e85,_0x443610,_0x2ff098,_0x173055,_0xe08fc5){for(let _0x16a36c=0x0;_0x16a36c<_0xe08fc5;_0x16a36c++)_0x2ff098[_0x173055+_0x16a36c]=_0x5f9e85[_0x16a36c]^_0x443610[_0x16a36c&0x3];}function _0x25ce96(_0x5e7262,_0x14536d){const _0x44ac77=_0x12d11f;for(let _0x235490=0x0;_0x235490<_0x5e7262[_0x44ac77(0x279)];_0x235490++)_0x5e7262[_0x235490]^=_0x14536d[_0x235490&0x3];}function _0x233201(_0x534a87){const _0x1cecc3=_0x12d11f;return _0x534a87['length']===_0x534a87['buffer'][_0x1cecc3(0x1f1)]?_0x534a87[_0x1cecc3(0x365)]:_0x534a87[_0x1cecc3(0x365)][_0x1cecc3(0x207)](_0x534a87[_0x1cecc3(0x22f)],_0x534a87['byteOffset']+_0x534a87['length']);}function _0x2d3bfd(_0x414eae){const _0x38b5c0=_0x12d11f;if(_0x2d3bfd['readOnly']=!0x0,Buffer[_0x38b5c0(0x25f)](_0x414eae))return _0x414eae;let _0x12859b;return _0x414eae instanceof ArrayBuffer?_0x12859b=new _0x577b7b(_0x414eae):ArrayBuffer[_0x38b5c0(0x242)](_0x414eae)?_0x12859b=new _0x577b7b(_0x414eae[_0x38b5c0(0x365)],_0x414eae['byteOffset'],_0x414eae[_0x38b5c0(0x1f1)]):(_0x12859b=Buffer[_0x38b5c0(0x1b2)](_0x414eae),_0x2d3bfd[_0x38b5c0(0x1ce)]=!0x1),_0x12859b;}return _0x24f0f4={'concat':_0x48da66,'mask':_0xafe118,'toArrayBuffer':_0x233201,'toBuffer':_0x2d3bfd,'unmask':_0x25ce96},_0x24f0f4;}var _0x313bc2,_0xfd310c;function _0x4fb98e(){const _0x178a52=_0x2281;if(_0xfd310c)return _0x313bc2;_0xfd310c=0x1;const _0x41dd8d=Symbol(_0x178a52(0x347)),_0x95c091=Symbol('kRun');class _0x55d45b{constructor(_0x20fd9a){const _0x447b4a=_0x178a52;this[_0x41dd8d]=()=>{const _0x1b486b=_0x2281;this[_0x1b486b(0x31a)]--,this[_0x95c091]();},this['concurrency']=_0x20fd9a||0x1/0x0,this[_0x447b4a(0x2cb)]=[],this[_0x447b4a(0x31a)]=0x0;}['add'](_0x4a5048){const _0x27b78a=_0x178a52;this[_0x27b78a(0x2cb)][_0x27b78a(0x238)](_0x4a5048),this[_0x95c091]();}[_0x95c091](){const _0x3a8d79=_0x178a52;if(this['pending']!==this[_0x3a8d79(0x20c)]&&this['jobs']['length']){const _0x49a781=this[_0x3a8d79(0x2cb)][_0x3a8d79(0x26e)]();this[_0x3a8d79(0x31a)]++,_0x49a781(this[_0x41dd8d]);}}}return _0x313bc2=_0x55d45b,_0x313bc2;}var _0x29b5e2,_0x8fc63b;function _0x5391fb(){const _0x5bb15d=_0x2281;if(_0x8fc63b)return _0x29b5e2;_0x8fc63b=0x1;const _0x581425=_0x4f1291,_0x318eea=_0x1bc1f1(),_0x2b6596=_0x4fb98e(),{kStatusCode:_0x167db6}=_0x3456f8(),_0x29ee03=Buffer[Symbol['species']],_0x4c4f87=Buffer[_0x5bb15d(0x1b2)]([0x0,0x0,0xff,0xff]),_0xa2a5e3=Symbol(_0x5bb15d(0x2f9)),_0x3195bb=Symbol('total-length'),_0x2fdb6e=Symbol(_0x5bb15d(0x36f)),_0x37904f=Symbol(_0x5bb15d(0x1cb)),_0x34b053=Symbol(_0x5bb15d(0x243));let _0xff50f;class _0x2fa810{constructor(_0x5deccd,_0x559462,_0x3e4659){const _0x2a980b=_0x5bb15d;if(this['_maxPayload']=_0x3e4659|0x0,this[_0x2a980b(0x1f7)]=_0x5deccd||{},this[_0x2a980b(0x2d6)]=this[_0x2a980b(0x1f7)][_0x2a980b(0x1b6)]!==void 0x0?this[_0x2a980b(0x1f7)]['threshold']:0x400,this[_0x2a980b(0x1b9)]=!!_0x559462,this[_0x2a980b(0x35d)]=null,this[_0x2a980b(0x2e0)]=null,this[_0x2a980b(0x31c)]=null,!_0xff50f){const _0x599649=this[_0x2a980b(0x1f7)]['concurrencyLimit']!==void 0x0?this[_0x2a980b(0x1f7)][_0x2a980b(0x268)]:0xa;_0xff50f=new _0x2b6596(_0x599649);}}static get['extensionName'](){const _0x1ad7a2=_0x5bb15d;return _0x1ad7a2(0x2f9);}[_0x5bb15d(0x2d7)](){const _0x1eab49=_0x5bb15d,_0x12825f={};return this[_0x1eab49(0x1f7)][_0x1eab49(0x2a1)]&&(_0x12825f[_0x1eab49(0x327)]=!0x0),this[_0x1eab49(0x1f7)]['clientNoContextTakeover']&&(_0x12825f['client_no_context_takeover']=!0x0),this[_0x1eab49(0x1f7)][_0x1eab49(0x336)]&&(_0x12825f[_0x1eab49(0x220)]=this[_0x1eab49(0x1f7)][_0x1eab49(0x336)]),this[_0x1eab49(0x1f7)][_0x1eab49(0x266)]?_0x12825f[_0x1eab49(0x30a)]=this[_0x1eab49(0x1f7)][_0x1eab49(0x266)]:this[_0x1eab49(0x1f7)][_0x1eab49(0x266)]==null&&(_0x12825f[_0x1eab49(0x30a)]=!0x0),_0x12825f;}['accept'](_0x5bb951){const _0x20bcf3=_0x5bb15d;return _0x5bb951=this[_0x20bcf3(0x25d)](_0x5bb951),this[_0x20bcf3(0x31c)]=this['_isServer']?this[_0x20bcf3(0x2a9)](_0x5bb951):this['acceptAsClient'](_0x5bb951),this[_0x20bcf3(0x31c)];}[_0x5bb15d(0x31d)](){const _0x4486cd=_0x5bb15d;if(this[_0x4486cd(0x2e0)]&&(this[_0x4486cd(0x2e0)][_0x4486cd(0x264)](),this[_0x4486cd(0x2e0)]=null),this['_deflate']){const _0x38882e=this[_0x4486cd(0x35d)][_0x2fdb6e];this[_0x4486cd(0x35d)][_0x4486cd(0x264)](),this[_0x4486cd(0x35d)]=null,_0x38882e&&_0x38882e(new Error(_0x4486cd(0x37a)));}}['acceptAsServer'](_0x4ae0ff){const _0x53e6e2=_0x5bb15d,_0x4d39e8=this[_0x53e6e2(0x1f7)],_0x3ad798=_0x4ae0ff['find'](_0x557424=>!(_0x4d39e8[_0x53e6e2(0x2a1)]===!0x1&&_0x557424[_0x53e6e2(0x327)]||_0x557424[_0x53e6e2(0x220)]&&(_0x4d39e8[_0x53e6e2(0x336)]===!0x1||typeof _0x4d39e8[_0x53e6e2(0x336)]==_0x53e6e2(0x2bc)&&_0x4d39e8['serverMaxWindowBits']>_0x557424[_0x53e6e2(0x220)])||typeof _0x4d39e8[_0x53e6e2(0x266)]==_0x53e6e2(0x2bc)&&!_0x557424['client_max_window_bits']));if(!_0x3ad798)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4d39e8[_0x53e6e2(0x2a1)]&&(_0x3ad798[_0x53e6e2(0x327)]=!0x0),_0x4d39e8['clientNoContextTakeover']&&(_0x3ad798[_0x53e6e2(0x311)]=!0x0),typeof _0x4d39e8['serverMaxWindowBits']==_0x53e6e2(0x2bc)&&(_0x3ad798['server_max_window_bits']=_0x4d39e8[_0x53e6e2(0x336)]),typeof _0x4d39e8[_0x53e6e2(0x266)]==_0x53e6e2(0x2bc)?_0x3ad798[_0x53e6e2(0x30a)]=_0x4d39e8[_0x53e6e2(0x266)]:(_0x3ad798['client_max_window_bits']===!0x0||_0x4d39e8[_0x53e6e2(0x266)]===!0x1)&&delete _0x3ad798[_0x53e6e2(0x30a)],_0x3ad798;}[_0x5bb15d(0x338)](_0x2feee6){const _0x57b533=_0x5bb15d,_0x4ff083=_0x2feee6[0x0];if(this[_0x57b533(0x1f7)]['clientNoContextTakeover']===!0x1&&_0x4ff083['client_no_context_takeover'])throw new Error(_0x57b533(0x369));if(!_0x4ff083[_0x57b533(0x30a)])typeof this[_0x57b533(0x1f7)][_0x57b533(0x266)]=='number'&&(_0x4ff083[_0x57b533(0x30a)]=this[_0x57b533(0x1f7)]['clientMaxWindowBits']);else{if(this[_0x57b533(0x1f7)][_0x57b533(0x266)]===!0x1||typeof this[_0x57b533(0x1f7)][_0x57b533(0x266)]==_0x57b533(0x2bc)&&_0x4ff083[_0x57b533(0x30a)]>this[_0x57b533(0x1f7)][_0x57b533(0x266)])throw new Error(_0x57b533(0x32e));}return _0x4ff083;}[_0x5bb15d(0x25d)](_0x445aec){return _0x445aec['forEach'](_0x5cc6d6=>{const _0x8bf892=_0x2281;Object[_0x8bf892(0x23b)](_0x5cc6d6)[_0x8bf892(0x341)](_0x385501=>{const _0x550bb5=_0x8bf892;let _0x5b6f10=_0x5cc6d6[_0x385501];if(_0x5b6f10[_0x550bb5(0x279)]>0x1)throw new Error('Parameter\x20\x22'+_0x385501+_0x550bb5(0x293));if(_0x5b6f10=_0x5b6f10[0x0],_0x385501===_0x550bb5(0x30a)){if(_0x5b6f10!==!0x0){const _0x3c41f1=+_0x5b6f10;if(!Number[_0x550bb5(0x241)](_0x3c41f1)||_0x3c41f1<0x8||_0x3c41f1>0xf)throw new TypeError(_0x550bb5(0x283)+_0x385501+_0x550bb5(0x237)+_0x5b6f10);_0x5b6f10=_0x3c41f1;}else{if(!this['_isServer'])throw new TypeError(_0x550bb5(0x283)+_0x385501+_0x550bb5(0x237)+_0x5b6f10);}}else{if(_0x385501===_0x550bb5(0x220)){const _0x2e8793=+_0x5b6f10;if(!Number[_0x550bb5(0x241)](_0x2e8793)||_0x2e8793<0x8||_0x2e8793>0xf)throw new TypeError(_0x550bb5(0x283)+_0x385501+_0x550bb5(0x237)+_0x5b6f10);_0x5b6f10=_0x2e8793;}else{if(_0x385501===_0x550bb5(0x311)||_0x385501===_0x550bb5(0x327)){if(_0x5b6f10!==!0x0)throw new TypeError(_0x550bb5(0x283)+_0x385501+_0x550bb5(0x237)+_0x5b6f10);}else throw new Error(_0x550bb5(0x1c8)+_0x385501+'\x22');}}_0x5cc6d6[_0x385501]=_0x5b6f10;});}),_0x445aec;}[_0x5bb15d(0x2f1)](_0x9bde2f,_0x17e03c,_0x27277a){const _0xa47cbb=_0x5bb15d;_0xff50f[_0xa47cbb(0x33b)](_0xbd2e25=>{const _0x2fa4f9=_0xa47cbb;this[_0x2fa4f9(0x303)](_0x9bde2f,_0x17e03c,(_0x406e51,_0x12d872)=>{_0xbd2e25(),_0x27277a(_0x406e51,_0x12d872);});});}[_0x5bb15d(0x37f)](_0x1d6429,_0xea5b90,_0x563f4e){_0xff50f['add'](_0x9e91da=>{const _0x5ac753=_0x2281;this[_0x5ac753(0x314)](_0x1d6429,_0xea5b90,(_0x4e6b90,_0x5c86bf)=>{_0x9e91da(),_0x563f4e(_0x4e6b90,_0x5c86bf);});});}[_0x5bb15d(0x303)](_0x4abce2,_0x2cb685,_0x396b5f){const _0x5c9e65=_0x5bb15d,_0x586bb4=this[_0x5c9e65(0x1b9)]?_0x5c9e65(0x29f):_0x5c9e65(0x2f6);if(!this[_0x5c9e65(0x2e0)]){const _0x6338f0=_0x586bb4+_0x5c9e65(0x257),_0x17c387=typeof this['params'][_0x6338f0]!='number'?_0x581425[_0x5c9e65(0x1ab)]:this[_0x5c9e65(0x31c)][_0x6338f0];this['_inflate']=_0x581425[_0x5c9e65(0x32d)]({...this[_0x5c9e65(0x1f7)][_0x5c9e65(0x1d9)],'windowBits':_0x17c387}),this['_inflate'][_0xa2a5e3]=this,this['_inflate'][_0x3195bb]=0x0,this['_inflate'][_0x37904f]=[],this['_inflate']['on']('error',_0xe2fb13),this[_0x5c9e65(0x2e0)]['on'](_0x5c9e65(0x1f6),_0x388b43);}this[_0x5c9e65(0x2e0)][_0x2fdb6e]=_0x396b5f,this['_inflate'][_0x5c9e65(0x227)](_0x4abce2),_0x2cb685&&this[_0x5c9e65(0x2e0)]['write'](_0x4c4f87),this['_inflate'][_0x5c9e65(0x270)](()=>{const _0x326b92=_0x5c9e65,_0x7c1775=this['_inflate'][_0x34b053];if(_0x7c1775){this[_0x326b92(0x2e0)][_0x326b92(0x264)](),this['_inflate']=null,_0x396b5f(_0x7c1775);return;}const _0x59cb86=_0x318eea[_0x326b92(0x2e1)](this[_0x326b92(0x2e0)][_0x37904f],this[_0x326b92(0x2e0)][_0x3195bb]);this['_inflate']['_readableState']['endEmitted']?(this[_0x326b92(0x2e0)][_0x326b92(0x264)](),this['_inflate']=null):(this['_inflate'][_0x3195bb]=0x0,this['_inflate'][_0x37904f]=[],_0x2cb685&&this['params'][_0x586bb4+_0x326b92(0x316)]&&this[_0x326b92(0x2e0)]['reset']()),_0x396b5f(null,_0x59cb86);});}['_compress'](_0x5b9edb,_0x5efe8c,_0x4c5639){const _0x30b936=_0x5bb15d,_0x26d7b9=this[_0x30b936(0x1b9)]?_0x30b936(0x2f6):'client';if(!this[_0x30b936(0x35d)]){const _0x122d25=_0x26d7b9+_0x30b936(0x257),_0x153ef8=typeof this[_0x30b936(0x31c)][_0x122d25]!=_0x30b936(0x2bc)?_0x581425['Z_DEFAULT_WINDOWBITS']:this['params'][_0x122d25];this[_0x30b936(0x35d)]=_0x581425[_0x30b936(0x28e)]({...this[_0x30b936(0x1f7)][_0x30b936(0x2b4)],'windowBits':_0x153ef8}),this[_0x30b936(0x35d)][_0x3195bb]=0x0,this['_deflate'][_0x37904f]=[],this['_deflate']['on'](_0x30b936(0x1f6),_0x4cfcaf);}this['_deflate'][_0x2fdb6e]=_0x4c5639,this[_0x30b936(0x35d)]['write'](_0x5b9edb),this[_0x30b936(0x35d)][_0x30b936(0x270)](_0x581425[_0x30b936(0x2c0)],()=>{const _0x2c8bd3=_0x30b936;if(!this['_deflate'])return;let _0x44fb5f=_0x318eea[_0x2c8bd3(0x2e1)](this[_0x2c8bd3(0x35d)][_0x37904f],this['_deflate'][_0x3195bb]);_0x5efe8c&&(_0x44fb5f=new _0x29ee03(_0x44fb5f[_0x2c8bd3(0x365)],_0x44fb5f[_0x2c8bd3(0x22f)],_0x44fb5f['length']-0x4)),this[_0x2c8bd3(0x35d)][_0x2fdb6e]=null,this[_0x2c8bd3(0x35d)][_0x3195bb]=0x0,this['_deflate'][_0x37904f]=[],_0x5efe8c&&this[_0x2c8bd3(0x31c)][_0x26d7b9+_0x2c8bd3(0x316)]&&this[_0x2c8bd3(0x35d)][_0x2c8bd3(0x228)](),_0x4c5639(null,_0x44fb5f);});}}_0x29b5e2=_0x2fa810;function _0x4cfcaf(_0x46e3eb){const _0x115ebf=_0x5bb15d;this[_0x37904f][_0x115ebf(0x238)](_0x46e3eb),this[_0x3195bb]+=_0x46e3eb[_0x115ebf(0x279)];}function _0x388b43(_0x359c4e){const _0x1b51ea=_0x5bb15d;if(this[_0x3195bb]+=_0x359c4e['length'],this[_0xa2a5e3][_0x1b51ea(0x24d)]<0x1||this[_0x3195bb]<=this[_0xa2a5e3][_0x1b51ea(0x24d)]){this[_0x37904f]['push'](_0x359c4e);return;}this[_0x34b053]=new RangeError(_0x1b51ea(0x299)),this[_0x34b053][_0x1b51ea(0x248)]=_0x1b51ea(0x1ca),this[_0x34b053][_0x167db6]=0x3f1,this[_0x1b51ea(0x2e6)](_0x1b51ea(0x1f6),_0x388b43),this[_0x1b51ea(0x228)]();}function _0xe2fb13(_0xce40e0){const _0x536529=_0x5bb15d;if(this[_0xa2a5e3][_0x536529(0x2e0)]=null,this[_0x34b053]){this[_0x2fdb6e](this[_0x34b053]);return;}_0xce40e0[_0x167db6]=0x3ef,this[_0x2fdb6e](_0xce40e0);}return _0x29b5e2;}var _0x548dd6={'exports':{}};const _0x186b9b=_0x3f8d7e(Object['freeze'](Object[_0x51c6a1(0x317)]({'__proto__':null,'default':{}},Symbol[_0x51c6a1(0x2ec)],{'value':_0x51c6a1(0x1f9)})));var _0x5f0d54;function _0x11f1b1(){const _0x4a7b6f=_0x51c6a1;if(_0x5f0d54)return _0x548dd6[_0x4a7b6f(0x2bd)];_0x5f0d54=0x1;const {isUtf8:_0x38229b}=_0x503860,{hasBlob:_0xb0e47a}=_0x3456f8(),_0x58e557=[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 _0x53db17(_0x1ccfe1){return _0x1ccfe1>=0x3e8&&_0x1ccfe1<=0x3f6&&_0x1ccfe1!==0x3ec&&_0x1ccfe1!==0x3ed&&_0x1ccfe1!==0x3ee||_0x1ccfe1>=0xbb8&&_0x1ccfe1<=0x1387;}function _0x20b183(_0x3ba1a0){const _0x5aa8e3=_0x4a7b6f,_0x31e154=_0x3ba1a0[_0x5aa8e3(0x279)];let _0x5ef7c4=0x0;for(;_0x5ef7c4<_0x31e154;)if((_0x3ba1a0[_0x5ef7c4]&0x80)===0x0)_0x5ef7c4++;else{if((_0x3ba1a0[_0x5ef7c4]&0xe0)===0xc0){if(_0x5ef7c4+0x1===_0x31e154||(_0x3ba1a0[_0x5ef7c4+0x1]&0xc0)!==0x80||(_0x3ba1a0[_0x5ef7c4]&0xfe)===0xc0)return!0x1;_0x5ef7c4+=0x2;}else{if((_0x3ba1a0[_0x5ef7c4]&0xf0)===0xe0){if(_0x5ef7c4+0x2>=_0x31e154||(_0x3ba1a0[_0x5ef7c4+0x1]&0xc0)!==0x80||(_0x3ba1a0[_0x5ef7c4+0x2]&0xc0)!==0x80||_0x3ba1a0[_0x5ef7c4]===0xe0&&(_0x3ba1a0[_0x5ef7c4+0x1]&0xe0)===0x80||_0x3ba1a0[_0x5ef7c4]===0xed&&(_0x3ba1a0[_0x5ef7c4+0x1]&0xe0)===0xa0)return!0x1;_0x5ef7c4+=0x3;}else{if((_0x3ba1a0[_0x5ef7c4]&0xf8)===0xf0){if(_0x5ef7c4+0x3>=_0x31e154||(_0x3ba1a0[_0x5ef7c4+0x1]&0xc0)!==0x80||(_0x3ba1a0[_0x5ef7c4+0x2]&0xc0)!==0x80||(_0x3ba1a0[_0x5ef7c4+0x3]&0xc0)!==0x80||_0x3ba1a0[_0x5ef7c4]===0xf0&&(_0x3ba1a0[_0x5ef7c4+0x1]&0xf0)===0x80||_0x3ba1a0[_0x5ef7c4]===0xf4&&_0x3ba1a0[_0x5ef7c4+0x1]>0x8f||_0x3ba1a0[_0x5ef7c4]>0xf4)return!0x1;_0x5ef7c4+=0x4;}else return!0x1;}}}return!0x0;}function _0x3ac499(_0x5804ac){const _0x1d495b=_0x4a7b6f;return _0xb0e47a&&typeof _0x5804ac==_0x1d495b(0x32c)&&typeof _0x5804ac[_0x1d495b(0x2c3)]==_0x1d495b(0x24b)&&typeof _0x5804ac['type']==_0x1d495b(0x313)&&typeof _0x5804ac[_0x1d495b(0x25c)]==_0x1d495b(0x24b)&&(_0x5804ac[Symbol['toStringTag']]==='Blob'||_0x5804ac[Symbol['toStringTag']]===_0x1d495b(0x1e8));}if(_0x548dd6[_0x4a7b6f(0x2bd)]={'isBlob':_0x3ac499,'isValidStatusCode':_0x53db17,'isValidUTF8':_0x20b183,'tokenChars':_0x58e557},_0x38229b)_0x548dd6[_0x4a7b6f(0x2bd)]['isValidUTF8']=function(_0x2c4d90){return _0x2c4d90['length']<0x18?_0x20b183(_0x2c4d90):_0x38229b(_0x2c4d90);};else{if(!process['env'][_0x4a7b6f(0x22d)])try{const _0x2ebd38=_0x186b9b;_0x548dd6['exports']['isValidUTF8']=function(_0x494d54){return _0x494d54['length']<0x20?_0x20b183(_0x494d54):_0x2ebd38(_0x494d54);};}catch{}}return _0x548dd6[_0x4a7b6f(0x2bd)];}var _0x41292d,_0x13537a;function _0x1d4259(){const _0x2e664f=_0x51c6a1;if(_0x13537a)return _0x41292d;_0x13537a=0x1;const {Writable:_0x4bbdba}=_0x178ce2,_0x50a908=_0x5391fb(),{BINARY_TYPES:_0x42b151,EMPTY_BUFFER:_0x23acb1,kStatusCode:_0x1343ca,kWebSocket:_0x5ba253}=_0x3456f8(),{concat:_0x3790bc,toArrayBuffer:_0x5cb1eb,unmask:_0x5095c6}=_0x1bc1f1(),{isValidStatusCode:_0x1bfeff,isValidUTF8:_0x5b8380}=_0x11f1b1(),_0x3ef5ab=Buffer[Symbol[_0x2e664f(0x2c6)]],_0x122df3=0x0,_0x287bf5=0x1,_0x520a89=0x2,_0x359092=0x3,_0x5b9329=0x4,_0x1119a2=0x5,_0x52c94a=0x6;class _0x29bd1c extends _0x4bbdba{constructor(_0x1c77d3={}){const _0x430396=_0x2e664f;super(),this[_0x430396(0x35c)]=_0x1c77d3['allowSynchronousEvents']!==void 0x0?_0x1c77d3[_0x430396(0x2b6)]:!0x0,this['_binaryType']=_0x1c77d3[_0x430396(0x1f8)]||_0x42b151[0x0],this[_0x430396(0x233)]=_0x1c77d3['extensions']||{},this[_0x430396(0x1b9)]=!!_0x1c77d3['isServer'],this[_0x430396(0x24d)]=_0x1c77d3[_0x430396(0x357)]|0x0,this[_0x430396(0x37e)]=!!_0x1c77d3[_0x430396(0x1dc)],this[_0x5ba253]=void 0x0,this['_bufferedBytes']=0x0,this[_0x430396(0x2ce)]=[],this['_compressed']=!0x1,this[_0x430396(0x1c2)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x430396(0x2c2)]=!0x1,this[_0x430396(0x247)]=!0x1,this[_0x430396(0x29c)]=0x0,this[_0x430396(0x300)]=0x0,this['_messageLength']=0x0,this[_0x430396(0x2a3)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x430396(0x26b)]=_0x122df3;}['_write'](_0x520f70,_0x523ba6,_0x5297cf){const _0x24395f=_0x2e664f;if(this[_0x24395f(0x29c)]===0x8&&this[_0x24395f(0x26b)]==_0x122df3)return _0x5297cf();this[_0x24395f(0x2ff)]+=_0x520f70['length'],this[_0x24395f(0x2ce)][_0x24395f(0x238)](_0x520f70),this['startLoop'](_0x5297cf);}[_0x2e664f(0x2ad)](_0x1746be){const _0x3832ce=_0x2e664f;if(this[_0x3832ce(0x2ff)]-=_0x1746be,_0x1746be===this[_0x3832ce(0x2ce)][0x0][_0x3832ce(0x279)])return this[_0x3832ce(0x2ce)][_0x3832ce(0x26e)]();if(_0x1746be<this[_0x3832ce(0x2ce)][0x0][_0x3832ce(0x279)]){const _0xb09493=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x3ef5ab(_0xb09493[_0x3832ce(0x365)],_0xb09493[_0x3832ce(0x22f)]+_0x1746be,_0xb09493['length']-_0x1746be),new _0x3ef5ab(_0xb09493[_0x3832ce(0x365)],_0xb09493[_0x3832ce(0x22f)],_0x1746be);}const _0x576fbc=Buffer[_0x3832ce(0x230)](_0x1746be);do{const _0x516247=this[_0x3832ce(0x2ce)][0x0],_0x467e7e=_0x576fbc['length']-_0x1746be;_0x1746be>=_0x516247[_0x3832ce(0x279)]?_0x576fbc[_0x3832ce(0x2fe)](this[_0x3832ce(0x2ce)]['shift'](),_0x467e7e):(_0x576fbc['set'](new Uint8Array(_0x516247[_0x3832ce(0x365)],_0x516247[_0x3832ce(0x22f)],_0x1746be),_0x467e7e),this[_0x3832ce(0x2ce)][0x0]=new _0x3ef5ab(_0x516247[_0x3832ce(0x365)],_0x516247['byteOffset']+_0x1746be,_0x516247[_0x3832ce(0x279)]-_0x1746be)),_0x1746be-=_0x516247[_0x3832ce(0x279)];}while(_0x1746be>0x0);return _0x576fbc;}['startLoop'](_0x2cd3f6){const _0x4006c3=_0x2e664f;this[_0x4006c3(0x209)]=!0x0;do switch(this['_state']){case _0x122df3:this[_0x4006c3(0x2b1)](_0x2cd3f6);break;case _0x287bf5:this[_0x4006c3(0x21a)](_0x2cd3f6);break;case _0x520a89:this['getPayloadLength64'](_0x2cd3f6);break;case _0x359092:this[_0x4006c3(0x325)]();break;case _0x5b9329:this['getData'](_0x2cd3f6);break;case _0x1119a2:case _0x52c94a:this[_0x4006c3(0x209)]=!0x1;return;}while(this[_0x4006c3(0x209)]);this[_0x4006c3(0x32a)]||_0x2cd3f6();}['getInfo'](_0x3b9e96){const _0x4bc9eb=_0x2e664f;if(this[_0x4bc9eb(0x2ff)]<0x2){this[_0x4bc9eb(0x209)]=!0x1;return;}const _0x539770=this[_0x4bc9eb(0x2ad)](0x2);if((_0x539770[0x0]&0x30)!==0x0){const _0x4bd46e=this[_0x4bc9eb(0x2dc)](RangeError,_0x4bc9eb(0x2c9),!0x0,0x3ea,_0x4bc9eb(0x273));_0x3b9e96(_0x4bd46e);return;}const _0x2439b4=(_0x539770[0x0]&0x40)===0x40;if(_0x2439b4&&!this[_0x4bc9eb(0x233)][_0x50a908[_0x4bc9eb(0x1b8)]]){const _0x44e5a5=this[_0x4bc9eb(0x2dc)](RangeError,_0x4bc9eb(0x350),!0x0,0x3ea,_0x4bc9eb(0x2bb));_0x3b9e96(_0x44e5a5);return;}if(this[_0x4bc9eb(0x247)]=(_0x539770[0x0]&0x80)===0x80,this[_0x4bc9eb(0x29c)]=_0x539770[0x0]&0xf,this['_payloadLength']=_0x539770[0x1]&0x7f,this[_0x4bc9eb(0x29c)]===0x0){if(_0x2439b4){const _0x2496eb=this[_0x4bc9eb(0x2dc)](RangeError,_0x4bc9eb(0x350),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3b9e96(_0x2496eb);return;}if(!this[_0x4bc9eb(0x1ef)]){const _0x571153=this['createError'](RangeError,_0x4bc9eb(0x259),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3b9e96(_0x571153);return;}this[_0x4bc9eb(0x29c)]=this[_0x4bc9eb(0x1ef)];}else{if(this[_0x4bc9eb(0x29c)]===0x1||this[_0x4bc9eb(0x29c)]===0x2){if(this[_0x4bc9eb(0x1ef)]){const _0x2d7cc5=this[_0x4bc9eb(0x2dc)](RangeError,_0x4bc9eb(0x328)+this[_0x4bc9eb(0x29c)],!0x0,0x3ea,_0x4bc9eb(0x2d4));_0x3b9e96(_0x2d7cc5);return;}this[_0x4bc9eb(0x32b)]=_0x2439b4;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x4bc9eb(0x247)]){const _0x3ba897=this[_0x4bc9eb(0x2dc)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3b9e96(_0x3ba897);return;}if(_0x2439b4){const _0x1fcfb1=this['createError'](RangeError,_0x4bc9eb(0x350),!0x0,0x3ea,_0x4bc9eb(0x2bb));_0x3b9e96(_0x1fcfb1);return;}if(this[_0x4bc9eb(0x1c2)]>0x7d||this['_opcode']===0x8&&this[_0x4bc9eb(0x1c2)]===0x1){const _0x4489d2=this[_0x4bc9eb(0x2dc)](RangeError,_0x4bc9eb(0x31f)+this[_0x4bc9eb(0x1c2)],!0x0,0x3ea,_0x4bc9eb(0x267));_0x3b9e96(_0x4489d2);return;}}else{const _0x189c25=this[_0x4bc9eb(0x2dc)](RangeError,_0x4bc9eb(0x328)+this['_opcode'],!0x0,0x3ea,_0x4bc9eb(0x2d4));_0x3b9e96(_0x189c25);return;}}}if(!this[_0x4bc9eb(0x247)]&&!this[_0x4bc9eb(0x1ef)]&&(this[_0x4bc9eb(0x1ef)]=this['_opcode']),this[_0x4bc9eb(0x2c2)]=(_0x539770[0x1]&0x80)===0x80,this[_0x4bc9eb(0x1b9)]){if(!this[_0x4bc9eb(0x2c2)]){const _0x4a4a6b=this[_0x4bc9eb(0x2dc)](RangeError,_0x4bc9eb(0x1aa),!0x0,0x3ea,_0x4bc9eb(0x2da));_0x3b9e96(_0x4a4a6b);return;}}else{if(this[_0x4bc9eb(0x2c2)]){const _0x3bd26a=this[_0x4bc9eb(0x2dc)](RangeError,_0x4bc9eb(0x21e),!0x0,0x3ea,_0x4bc9eb(0x1fa));_0x3b9e96(_0x3bd26a);return;}}this[_0x4bc9eb(0x1c2)]===0x7e?this[_0x4bc9eb(0x26b)]=_0x287bf5:this['_payloadLength']===0x7f?this[_0x4bc9eb(0x26b)]=_0x520a89:this[_0x4bc9eb(0x1e6)](_0x3b9e96);}['getPayloadLength16'](_0x2ccd8a){const _0x17ce70=_0x2e664f;if(this[_0x17ce70(0x2ff)]<0x2){this[_0x17ce70(0x209)]=!0x1;return;}this[_0x17ce70(0x1c2)]=this['consume'](0x2)[_0x17ce70(0x28b)](0x0),this[_0x17ce70(0x1e6)](_0x2ccd8a);}['getPayloadLength64'](_0x1f44b8){const _0x2e2144=_0x2e664f;if(this['_bufferedBytes']<0x8){this[_0x2e2144(0x209)]=!0x1;return;}const _0xe781af=this[_0x2e2144(0x2ad)](0x8),_0xf0910b=_0xe781af[_0x2e2144(0x2a6)](0x0);if(_0xf0910b>Math['pow'](0x2,0x15)-0x1){const _0x6c30e3=this[_0x2e2144(0x2dc)](RangeError,_0x2e2144(0x211),!0x1,0x3f1,_0x2e2144(0x253));_0x1f44b8(_0x6c30e3);return;}this[_0x2e2144(0x1c2)]=_0xf0910b*Math['pow'](0x2,0x20)+_0xe781af[_0x2e2144(0x2a6)](0x4),this[_0x2e2144(0x1e6)](_0x1f44b8);}[_0x2e664f(0x1e6)](_0x49dea5){const _0x3ae1d5=_0x2e664f;if(this[_0x3ae1d5(0x1c2)]&&this[_0x3ae1d5(0x29c)]<0x8&&(this[_0x3ae1d5(0x300)]+=this[_0x3ae1d5(0x1c2)],this['_totalPayloadLength']>this[_0x3ae1d5(0x24d)]&&this[_0x3ae1d5(0x24d)]>0x0)){const _0x57780c=this[_0x3ae1d5(0x2dc)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3ae1d5(0x1ca));_0x49dea5(_0x57780c);return;}this[_0x3ae1d5(0x2c2)]?this[_0x3ae1d5(0x26b)]=_0x359092:this['_state']=_0x5b9329;}['getMask'](){const _0x468807=_0x2e664f;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x468807(0x287)]=this[_0x468807(0x2ad)](0x4),this['_state']=_0x5b9329;}['getData'](_0x22e581){const _0x38b8a4=_0x2e664f;let _0x2c4c93=_0x23acb1;if(this['_payloadLength']){if(this[_0x38b8a4(0x2ff)]<this[_0x38b8a4(0x1c2)]){this[_0x38b8a4(0x209)]=!0x1;return;}_0x2c4c93=this[_0x38b8a4(0x2ad)](this[_0x38b8a4(0x1c2)]),this[_0x38b8a4(0x2c2)]&&(this[_0x38b8a4(0x287)][0x0]|this['_mask'][0x1]|this[_0x38b8a4(0x287)][0x2]|this[_0x38b8a4(0x287)][0x3])!==0x0&&_0x5095c6(_0x2c4c93,this[_0x38b8a4(0x287)]);}if(this[_0x38b8a4(0x29c)]>0x7){this['controlMessage'](_0x2c4c93,_0x22e581);return;}if(this['_compressed']){this['_state']=_0x1119a2,this[_0x38b8a4(0x2f1)](_0x2c4c93,_0x22e581);return;}_0x2c4c93[_0x38b8a4(0x279)]&&(this[_0x38b8a4(0x35f)]=this['_totalPayloadLength'],this['_fragments'][_0x38b8a4(0x238)](_0x2c4c93)),this[_0x38b8a4(0x379)](_0x22e581);}[_0x2e664f(0x2f1)](_0x41b1c8,_0x25eea6){const _0x3c36b8=_0x2e664f;this[_0x3c36b8(0x233)][_0x50a908[_0x3c36b8(0x1b8)]]['decompress'](_0x41b1c8,this[_0x3c36b8(0x247)],(_0x2d07a4,_0x4f134d)=>{const _0x15ff75=_0x3c36b8;if(_0x2d07a4)return _0x25eea6(_0x2d07a4);if(_0x4f134d[_0x15ff75(0x279)]){if(this[_0x15ff75(0x35f)]+=_0x4f134d['length'],this[_0x15ff75(0x35f)]>this[_0x15ff75(0x24d)]&&this[_0x15ff75(0x24d)]>0x0){const _0x43ff24=this['createError'](RangeError,_0x15ff75(0x299),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x25eea6(_0x43ff24);return;}this[_0x15ff75(0x2a3)]['push'](_0x4f134d);}this[_0x15ff75(0x379)](_0x25eea6),this['_state']===_0x122df3&&this[_0x15ff75(0x23e)](_0x25eea6);});}[_0x2e664f(0x379)](_0x5b04a0){const _0x494ea6=_0x2e664f;if(!this[_0x494ea6(0x247)]){this['_state']=_0x122df3;return;}const _0x5e251a=this[_0x494ea6(0x35f)],_0x181723=this[_0x494ea6(0x2a3)];if(this[_0x494ea6(0x300)]=0x0,this[_0x494ea6(0x35f)]=0x0,this[_0x494ea6(0x1ef)]=0x0,this['_fragments']=[],this[_0x494ea6(0x29c)]===0x2){let _0x229ad3;this[_0x494ea6(0x1bd)]===_0x494ea6(0x2ba)?_0x229ad3=_0x3790bc(_0x181723,_0x5e251a):this[_0x494ea6(0x1bd)]===_0x494ea6(0x383)?_0x229ad3=_0x5cb1eb(_0x3790bc(_0x181723,_0x5e251a)):this[_0x494ea6(0x1bd)]===_0x494ea6(0x1fe)?_0x229ad3=new Blob(_0x181723):_0x229ad3=_0x181723,this[_0x494ea6(0x35c)]?(this[_0x494ea6(0x2aa)](_0x494ea6(0x218),_0x229ad3,!0x0),this[_0x494ea6(0x26b)]=_0x122df3):(this['_state']=_0x52c94a,setImmediate(()=>{const _0x243d3f=_0x494ea6;this[_0x243d3f(0x2aa)]('message',_0x229ad3,!0x0),this[_0x243d3f(0x26b)]=_0x122df3,this[_0x243d3f(0x23e)](_0x5b04a0);}));}else{const _0x575bbf=_0x3790bc(_0x181723,_0x5e251a);if(!this['_skipUTF8Validation']&&!_0x5b8380(_0x575bbf)){const _0x3f48db=this[_0x494ea6(0x2dc)](Error,_0x494ea6(0x34d),!0x0,0x3ef,_0x494ea6(0x215));_0x5b04a0(_0x3f48db);return;}this[_0x494ea6(0x26b)]===_0x1119a2||this[_0x494ea6(0x35c)]?(this['emit'](_0x494ea6(0x218),_0x575bbf,!0x1),this['_state']=_0x122df3):(this[_0x494ea6(0x26b)]=_0x52c94a,setImmediate(()=>{const _0x109dfa=_0x494ea6;this[_0x109dfa(0x2aa)](_0x109dfa(0x218),_0x575bbf,!0x1),this[_0x109dfa(0x26b)]=_0x122df3,this['startLoop'](_0x5b04a0);}));}}['controlMessage'](_0x123380,_0x39aea2){const _0x42e14e=_0x2e664f;if(this[_0x42e14e(0x29c)]===0x8){if(_0x123380['length']===0x0)this[_0x42e14e(0x209)]=!0x1,this[_0x42e14e(0x2aa)](_0x42e14e(0x28f),0x3ed,_0x23acb1),this['end']();else{const _0x13f53b=_0x123380[_0x42e14e(0x28b)](0x0);if(!_0x1bfeff(_0x13f53b)){const _0x3db168=this[_0x42e14e(0x2dc)](RangeError,'invalid\x20status\x20code\x20'+_0x13f53b,!0x0,0x3ea,_0x42e14e(0x2e7));_0x39aea2(_0x3db168);return;}const _0x593f6d=new _0x3ef5ab(_0x123380[_0x42e14e(0x365)],_0x123380['byteOffset']+0x2,_0x123380[_0x42e14e(0x279)]-0x2);if(!this[_0x42e14e(0x37e)]&&!_0x5b8380(_0x593f6d)){const _0xd08021=this['createError'](Error,_0x42e14e(0x34d),!0x0,0x3ef,_0x42e14e(0x215));_0x39aea2(_0xd08021);return;}this['_loop']=!0x1,this[_0x42e14e(0x2aa)](_0x42e14e(0x28f),_0x13f53b,_0x593f6d),this[_0x42e14e(0x1ff)]();}this[_0x42e14e(0x26b)]=_0x122df3;return;}this[_0x42e14e(0x35c)]?(this['emit'](this[_0x42e14e(0x29c)]===0x9?'ping':_0x42e14e(0x1ae),_0x123380),this[_0x42e14e(0x26b)]=_0x122df3):(this[_0x42e14e(0x26b)]=_0x52c94a,setImmediate(()=>{const _0x2d0436=_0x42e14e;this['emit'](this[_0x2d0436(0x29c)]===0x9?_0x2d0436(0x2f0):'pong',_0x123380),this[_0x2d0436(0x26b)]=_0x122df3,this['startLoop'](_0x39aea2);}));}['createError'](_0x48e210,_0x3a50e8,_0x57a664,_0x5c74a3,_0x3bab67){const _0x195d6a=_0x2e664f;this[_0x195d6a(0x209)]=!0x1,this['_errored']=!0x0;const _0x1c6503=new _0x48e210(_0x57a664?_0x195d6a(0x377)+_0x3a50e8:_0x3a50e8);return Error[_0x195d6a(0x312)](_0x1c6503,this['createError']),_0x1c6503[_0x195d6a(0x248)]=_0x3bab67,_0x1c6503[_0x1343ca]=_0x5c74a3,_0x1c6503;}}return _0x41292d=_0x29bd1c,_0x41292d;}var _0x378a7e,_0x3d5cdb;function _0x3f08a4(){const _0x114d3a=_0x51c6a1;if(_0x3d5cdb)return _0x378a7e;_0x3d5cdb=0x1;const {Duplex:_0x1fa070}=_0x178ce2,{randomFillSync:_0x993c04}=_0x2bdc4f,_0x40ed38=_0x5391fb(),{EMPTY_BUFFER:_0x129542,kWebSocket:_0x508c68,NOOP:_0x22a504}=_0x3456f8(),{isBlob:_0x4fced9,isValidStatusCode:_0x5ef816}=_0x11f1b1(),{mask:_0x1cd3cb,toBuffer:_0x349b62}=_0x1bc1f1(),_0x467fab=Symbol('kByteLength'),_0x3f661a=Buffer[_0x114d3a(0x22b)](0x4),_0x4f50aa=0x8*0x400;let _0x1a5ff4,_0xd29013=_0x4f50aa;const _0xa07edd=0x0,_0x42e4d0=0x1,_0x4e8677=0x2;class _0x72a1db{constructor(_0x263b17,_0x5a32fd,_0x16caa5){const _0x6af02b=_0x114d3a;this[_0x6af02b(0x233)]=_0x5a32fd||{},_0x16caa5&&(this[_0x6af02b(0x206)]=_0x16caa5,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x6af02b(0x2a2)]=_0x263b17,this[_0x6af02b(0x1c3)]=!0x0,this[_0x6af02b(0x314)]=!0x1,this[_0x6af02b(0x2ff)]=0x0,this['_queue']=[],this[_0x6af02b(0x26b)]=_0xa07edd,this[_0x6af02b(0x305)]=_0x22a504,this[_0x508c68]=void 0x0;}static[_0x114d3a(0x2ab)](_0x12f89f,_0xedd363){const _0xefa43c=_0x114d3a;let _0x307794,_0x332b6b=!0x1,_0x4a9bbb=0x2,_0x2f60e4=!0x1;_0xedd363[_0xefa43c(0x2c5)]&&(_0x307794=_0xedd363[_0xefa43c(0x235)]||_0x3f661a,_0xedd363['generateMask']?_0xedd363[_0xefa43c(0x1b0)](_0x307794):(_0xd29013===_0x4f50aa&&(_0x1a5ff4===void 0x0&&(_0x1a5ff4=Buffer[_0xefa43c(0x22b)](_0x4f50aa)),_0x993c04(_0x1a5ff4,0x0,_0x4f50aa),_0xd29013=0x0),_0x307794[0x0]=_0x1a5ff4[_0xd29013++],_0x307794[0x1]=_0x1a5ff4[_0xd29013++],_0x307794[0x2]=_0x1a5ff4[_0xd29013++],_0x307794[0x3]=_0x1a5ff4[_0xd29013++]),_0x2f60e4=(_0x307794[0x0]|_0x307794[0x1]|_0x307794[0x2]|_0x307794[0x3])===0x0,_0x4a9bbb=0x6);let _0x499280;typeof _0x12f89f==_0xefa43c(0x313)?(!_0xedd363[_0xefa43c(0x2c5)]||_0x2f60e4)&&_0xedd363[_0x467fab]!==void 0x0?_0x499280=_0xedd363[_0x467fab]:(_0x12f89f=Buffer['from'](_0x12f89f),_0x499280=_0x12f89f[_0xefa43c(0x279)]):(_0x499280=_0x12f89f[_0xefa43c(0x279)],_0x332b6b=_0xedd363[_0xefa43c(0x2c5)]&&_0xedd363[_0xefa43c(0x1ce)]&&!_0x2f60e4);let _0x3901bd=_0x499280;_0x499280>=0x10000?(_0x4a9bbb+=0x8,_0x3901bd=0x7f):_0x499280>0x7d&&(_0x4a9bbb+=0x2,_0x3901bd=0x7e);const _0x2bd19a=Buffer[_0xefa43c(0x230)](_0x332b6b?_0x499280+_0x4a9bbb:_0x4a9bbb);return _0x2bd19a[0x0]=_0xedd363[_0xefa43c(0x326)]?_0xedd363[_0xefa43c(0x2f7)]|0x80:_0xedd363[_0xefa43c(0x2f7)],_0xedd363[_0xefa43c(0x33f)]&&(_0x2bd19a[0x0]|=0x40),_0x2bd19a[0x1]=_0x3901bd,_0x3901bd===0x7e?_0x2bd19a['writeUInt16BE'](_0x499280,0x2):_0x3901bd===0x7f&&(_0x2bd19a[0x2]=_0x2bd19a[0x3]=0x0,_0x2bd19a[_0xefa43c(0x1fc)](_0x499280,0x4,0x6)),_0xedd363[_0xefa43c(0x2c5)]?(_0x2bd19a[0x1]|=0x80,_0x2bd19a[_0x4a9bbb-0x4]=_0x307794[0x0],_0x2bd19a[_0x4a9bbb-0x3]=_0x307794[0x1],_0x2bd19a[_0x4a9bbb-0x2]=_0x307794[0x2],_0x2bd19a[_0x4a9bbb-0x1]=_0x307794[0x3],_0x2f60e4?[_0x2bd19a,_0x12f89f]:_0x332b6b?(_0x1cd3cb(_0x12f89f,_0x307794,_0x2bd19a,_0x4a9bbb,_0x499280),[_0x2bd19a]):(_0x1cd3cb(_0x12f89f,_0x307794,_0x12f89f,0x0,_0x499280),[_0x2bd19a,_0x12f89f])):[_0x2bd19a,_0x12f89f];}[_0x114d3a(0x264)](_0x43dcd4,_0x36d701,_0x788016,_0x42556b){const _0x21aced=_0x114d3a;let _0x599267;if(_0x43dcd4===void 0x0)_0x599267=_0x129542;else{if(typeof _0x43dcd4!=_0x21aced(0x2bc)||!_0x5ef816(_0x43dcd4))throw new TypeError(_0x21aced(0x1ad));if(_0x36d701===void 0x0||!_0x36d701[_0x21aced(0x279)])_0x599267=Buffer[_0x21aced(0x230)](0x2),_0x599267['writeUInt16BE'](_0x43dcd4,0x0);else{const _0x33c3c1=Buffer[_0x21aced(0x1f1)](_0x36d701);if(_0x33c3c1>0x7b)throw new RangeError(_0x21aced(0x2be));_0x599267=Buffer[_0x21aced(0x230)](0x2+_0x33c3c1),_0x599267[_0x21aced(0x1eb)](_0x43dcd4,0x0),typeof _0x36d701=='string'?_0x599267[_0x21aced(0x227)](_0x36d701,0x2):_0x599267[_0x21aced(0x2fe)](_0x36d701,0x2);}}const _0x3d76fb={[_0x467fab]:_0x599267['length'],'fin':!0x0,'generateMask':this[_0x21aced(0x206)],'mask':_0x788016,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x21aced(0x26b)]!==_0xa07edd?this['enqueue']([this['dispatch'],_0x599267,!0x1,_0x3d76fb,_0x42556b]):this[_0x21aced(0x231)](_0x72a1db[_0x21aced(0x2ab)](_0x599267,_0x3d76fb),_0x42556b);}[_0x114d3a(0x2f0)](_0x294806,_0x35121a,_0x2a5f0e){const _0x193120=_0x114d3a;let _0xdad9ae,_0x46e660;if(typeof _0x294806==_0x193120(0x313)?(_0xdad9ae=Buffer[_0x193120(0x1f1)](_0x294806),_0x46e660=!0x1):_0x4fced9(_0x294806)?(_0xdad9ae=_0x294806[_0x193120(0x37d)],_0x46e660=!0x1):(_0x294806=_0x349b62(_0x294806),_0xdad9ae=_0x294806[_0x193120(0x279)],_0x46e660=_0x349b62[_0x193120(0x1ce)]),_0xdad9ae>0x7d)throw new RangeError(_0x193120(0x1c6));const _0x26848f={[_0x467fab]:_0xdad9ae,'fin':!0x0,'generateMask':this[_0x193120(0x206)],'mask':_0x35121a,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x46e660,'rsv1':!0x1};_0x4fced9(_0x294806)?this[_0x193120(0x26b)]!==_0xa07edd?this[_0x193120(0x2d2)]([this[_0x193120(0x295)],_0x294806,!0x1,_0x26848f,_0x2a5f0e]):this[_0x193120(0x295)](_0x294806,!0x1,_0x26848f,_0x2a5f0e):this[_0x193120(0x26b)]!==_0xa07edd?this['enqueue']([this[_0x193120(0x1f5)],_0x294806,!0x1,_0x26848f,_0x2a5f0e]):this[_0x193120(0x231)](_0x72a1db[_0x193120(0x2ab)](_0x294806,_0x26848f),_0x2a5f0e);}[_0x114d3a(0x1ae)](_0x4d3e8a,_0x21eeb4,_0x3f0ef0){const _0x3182ff=_0x114d3a;let _0x4bfa3f,_0x462b34;if(typeof _0x4d3e8a==_0x3182ff(0x313)?(_0x4bfa3f=Buffer[_0x3182ff(0x1f1)](_0x4d3e8a),_0x462b34=!0x1):_0x4fced9(_0x4d3e8a)?(_0x4bfa3f=_0x4d3e8a[_0x3182ff(0x37d)],_0x462b34=!0x1):(_0x4d3e8a=_0x349b62(_0x4d3e8a),_0x4bfa3f=_0x4d3e8a['length'],_0x462b34=_0x349b62[_0x3182ff(0x1ce)]),_0x4bfa3f>0x7d)throw new RangeError(_0x3182ff(0x1c6));const _0x55d099={[_0x467fab]:_0x4bfa3f,'fin':!0x0,'generateMask':this[_0x3182ff(0x206)],'mask':_0x21eeb4,'maskBuffer':this[_0x3182ff(0x2a7)],'opcode':0xa,'readOnly':_0x462b34,'rsv1':!0x1};_0x4fced9(_0x4d3e8a)?this['_state']!==_0xa07edd?this[_0x3182ff(0x2d2)]([this[_0x3182ff(0x295)],_0x4d3e8a,!0x1,_0x55d099,_0x3f0ef0]):this[_0x3182ff(0x295)](_0x4d3e8a,!0x1,_0x55d099,_0x3f0ef0):this[_0x3182ff(0x26b)]!==_0xa07edd?this['enqueue']([this['dispatch'],_0x4d3e8a,!0x1,_0x55d099,_0x3f0ef0]):this[_0x3182ff(0x231)](_0x72a1db[_0x3182ff(0x2ab)](_0x4d3e8a,_0x55d099),_0x3f0ef0);}[_0x114d3a(0x1de)](_0x5df78a,_0x5dac34,_0x406485){const _0x2dc586=_0x114d3a,_0x58d1b5=this[_0x2dc586(0x233)][_0x40ed38[_0x2dc586(0x1b8)]];let _0x53b70b=_0x5dac34[_0x2dc586(0x271)]?0x2:0x1,_0x11daa9=_0x5dac34[_0x2dc586(0x37f)],_0x130229,_0x4ab1f1;typeof _0x5df78a==_0x2dc586(0x313)?(_0x130229=Buffer[_0x2dc586(0x1f1)](_0x5df78a),_0x4ab1f1=!0x1):_0x4fced9(_0x5df78a)?(_0x130229=_0x5df78a[_0x2dc586(0x37d)],_0x4ab1f1=!0x1):(_0x5df78a=_0x349b62(_0x5df78a),_0x130229=_0x5df78a['length'],_0x4ab1f1=_0x349b62[_0x2dc586(0x1ce)]),this[_0x2dc586(0x1c3)]?(this['_firstFragment']=!0x1,_0x11daa9&&_0x58d1b5&&_0x58d1b5['params'][_0x58d1b5[_0x2dc586(0x1b9)]?_0x2dc586(0x327):_0x2dc586(0x311)]&&(_0x11daa9=_0x130229>=_0x58d1b5[_0x2dc586(0x2d6)]),this[_0x2dc586(0x314)]=_0x11daa9):(_0x11daa9=!0x1,_0x53b70b=0x0),_0x5dac34[_0x2dc586(0x326)]&&(this['_firstFragment']=!0x0);const _0x25ecd1={[_0x467fab]:_0x130229,'fin':_0x5dac34[_0x2dc586(0x326)],'generateMask':this['_generateMask'],'mask':_0x5dac34['mask'],'maskBuffer':this[_0x2dc586(0x2a7)],'opcode':_0x53b70b,'readOnly':_0x4ab1f1,'rsv1':_0x11daa9};_0x4fced9(_0x5df78a)?this[_0x2dc586(0x26b)]!==_0xa07edd?this[_0x2dc586(0x2d2)]([this['getBlobData'],_0x5df78a,this['_compress'],_0x25ecd1,_0x406485]):this[_0x2dc586(0x295)](_0x5df78a,this[_0x2dc586(0x314)],_0x25ecd1,_0x406485):this[_0x2dc586(0x26b)]!==_0xa07edd?this[_0x2dc586(0x2d2)]([this['dispatch'],_0x5df78a,this['_compress'],_0x25ecd1,_0x406485]):this[_0x2dc586(0x1f5)](_0x5df78a,this[_0x2dc586(0x314)],_0x25ecd1,_0x406485);}['getBlobData'](_0x2d1527,_0x2e1f8a,_0x156ff0,_0x59c9d5){const _0x20a0da=_0x114d3a;this[_0x20a0da(0x2ff)]+=_0x156ff0[_0x467fab],this['_state']=_0x4e8677,_0x2d1527[_0x20a0da(0x2c3)]()['then'](_0x28631c=>{const _0x20b232=_0x20a0da;if(this[_0x20b232(0x2a2)][_0x20b232(0x352)]){const _0x551646=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x20b232(0x246)](_0x4ace6c,this,_0x551646,_0x59c9d5);return;}this[_0x20b232(0x2ff)]-=_0x156ff0[_0x467fab];const _0x217a6e=_0x349b62(_0x28631c);_0x2e1f8a?this[_0x20b232(0x1f5)](_0x217a6e,_0x2e1f8a,_0x156ff0,_0x59c9d5):(this[_0x20b232(0x26b)]=_0xa07edd,this['sendFrame'](_0x72a1db[_0x20b232(0x2ab)](_0x217a6e,_0x156ff0),_0x59c9d5),this[_0x20b232(0x223)]());})[_0x20a0da(0x2d0)](_0x2c2eb7=>{const _0x36b1b8=_0x20a0da;process[_0x36b1b8(0x246)](_0x10e9d6,this,_0x2c2eb7,_0x59c9d5);});}[_0x114d3a(0x1f5)](_0x160d3f,_0x1c6893,_0x117466,_0xda8b8a){const _0x5073d1=_0x114d3a;if(!_0x1c6893){this[_0x5073d1(0x231)](_0x72a1db[_0x5073d1(0x2ab)](_0x160d3f,_0x117466),_0xda8b8a);return;}const _0x1d6aa6=this[_0x5073d1(0x233)][_0x40ed38[_0x5073d1(0x1b8)]];this[_0x5073d1(0x2ff)]+=_0x117466[_0x467fab],this[_0x5073d1(0x26b)]=_0x42e4d0,_0x1d6aa6[_0x5073d1(0x37f)](_0x160d3f,_0x117466[_0x5073d1(0x326)],(_0xe0cb13,_0x2257d4)=>{const _0x6594a1=_0x5073d1;if(this[_0x6594a1(0x2a2)][_0x6594a1(0x352)]){const _0x47c8f9=new Error(_0x6594a1(0x2d3));_0x4ace6c(this,_0x47c8f9,_0xda8b8a);return;}this[_0x6594a1(0x2ff)]-=_0x117466[_0x467fab],this['_state']=_0xa07edd,_0x117466[_0x6594a1(0x1ce)]=!0x1,this[_0x6594a1(0x231)](_0x72a1db['frame'](_0x2257d4,_0x117466),_0xda8b8a),this['dequeue']();});}[_0x114d3a(0x223)](){const _0x249b4d=_0x114d3a;for(;this['_state']===_0xa07edd&&this[_0x249b4d(0x34c)][_0x249b4d(0x279)];){const _0x5c0286=this[_0x249b4d(0x34c)][_0x249b4d(0x26e)]();this['_bufferedBytes']-=_0x5c0286[0x3][_0x467fab],Reflect[_0x249b4d(0x2bf)](_0x5c0286[0x0],this,_0x5c0286[_0x249b4d(0x207)](0x1));}}[_0x114d3a(0x2d2)](_0x3ff1f0){const _0xcb1809=_0x114d3a;this['_bufferedBytes']+=_0x3ff1f0[0x3][_0x467fab],this[_0xcb1809(0x34c)]['push'](_0x3ff1f0);}['sendFrame'](_0x2e4ebb,_0x1c177a){const _0x162f29=_0x114d3a;_0x2e4ebb[_0x162f29(0x279)]===0x2?(this[_0x162f29(0x2a2)][_0x162f29(0x28a)](),this[_0x162f29(0x2a2)][_0x162f29(0x227)](_0x2e4ebb[0x0]),this[_0x162f29(0x2a2)][_0x162f29(0x227)](_0x2e4ebb[0x1],_0x1c177a),this[_0x162f29(0x2a2)][_0x162f29(0x2c4)]()):this[_0x162f29(0x2a2)][_0x162f29(0x227)](_0x2e4ebb[0x0],_0x1c177a);}}_0x378a7e=_0x72a1db;function _0x4ace6c(_0x43b04d,_0x120b1a,_0x5b8c75){const _0x422f74=_0x114d3a;typeof _0x5b8c75==_0x422f74(0x24b)&&_0x5b8c75(_0x120b1a);for(let _0x2f9ca0=0x0;_0x2f9ca0<_0x43b04d[_0x422f74(0x34c)][_0x422f74(0x279)];_0x2f9ca0++){const _0x99b86f=_0x43b04d[_0x422f74(0x34c)][_0x2f9ca0],_0x113e5e=_0x99b86f[_0x99b86f['length']-0x1];typeof _0x113e5e==_0x422f74(0x24b)&&_0x113e5e(_0x120b1a);}}function _0x10e9d6(_0x5e4931,_0x2ddaf0,_0x626e4e){const _0x53893c=_0x114d3a;_0x4ace6c(_0x5e4931,_0x2ddaf0,_0x626e4e),_0x5e4931[_0x53893c(0x305)](_0x2ddaf0);}return _0x378a7e;}var _0x246d6a,_0x1f8674;function _0x1b8a35(){const _0x34be9e=_0x51c6a1;if(_0x1f8674)return _0x246d6a;_0x1f8674=0x1;const {kForOnEventAttribute:_0x5da2e3,kListener:_0x4831ba}=_0x3456f8(),_0x24a936=Symbol('kCode'),_0x4d2edc=Symbol(_0x34be9e(0x1e3)),_0x59da10=Symbol(_0x34be9e(0x345)),_0x442843=Symbol(_0x34be9e(0x33a)),_0x1338f7=Symbol('kReason'),_0x4243db=Symbol(_0x34be9e(0x2cf)),_0x21fbf9=Symbol(_0x34be9e(0x1d1)),_0x1c574a=Symbol(_0x34be9e(0x2e3));class _0x34a8e2{constructor(_0x381227){this[_0x4243db]=null,this[_0x21fbf9]=_0x381227;}get[_0x34be9e(0x329)](){return this[_0x4243db];}get[_0x34be9e(0x1d6)](){return this[_0x21fbf9];}}Object[_0x34be9e(0x317)](_0x34a8e2[_0x34be9e(0x378)],_0x34be9e(0x329),{'enumerable':!0x0}),Object[_0x34be9e(0x317)](_0x34a8e2[_0x34be9e(0x378)],_0x34be9e(0x1d6),{'enumerable':!0x0});class _0x173941 extends _0x34a8e2{constructor(_0x1856ff,_0x23b724={}){const _0x5e6b4b=_0x34be9e;super(_0x1856ff),this[_0x24a936]=_0x23b724['code']===void 0x0?0x0:_0x23b724[_0x5e6b4b(0x248)],this[_0x1338f7]=_0x23b724['reason']===void 0x0?'':_0x23b724[_0x5e6b4b(0x254)],this[_0x1c574a]=_0x23b724[_0x5e6b4b(0x1e7)]===void 0x0?!0x1:_0x23b724['wasClean'];}get[_0x34be9e(0x248)](){return this[_0x24a936];}get[_0x34be9e(0x254)](){return this[_0x1338f7];}get[_0x34be9e(0x1e7)](){return this[_0x1c574a];}}Object[_0x34be9e(0x317)](_0x173941['prototype'],'code',{'enumerable':!0x0}),Object[_0x34be9e(0x317)](_0x173941[_0x34be9e(0x378)],_0x34be9e(0x254),{'enumerable':!0x0}),Object['defineProperty'](_0x173941[_0x34be9e(0x378)],_0x34be9e(0x1e7),{'enumerable':!0x0});class _0xb4b06d extends _0x34a8e2{constructor(_0x668ea8,_0x876ca5={}){const _0x7f9973=_0x34be9e;super(_0x668ea8),this[_0x59da10]=_0x876ca5[_0x7f9973(0x243)]===void 0x0?null:_0x876ca5[_0x7f9973(0x243)],this[_0x442843]=_0x876ca5[_0x7f9973(0x218)]===void 0x0?'':_0x876ca5[_0x7f9973(0x218)];}get['error'](){return this[_0x59da10];}get[_0x34be9e(0x218)](){return this[_0x442843];}}Object['defineProperty'](_0xb4b06d['prototype'],_0x34be9e(0x243),{'enumerable':!0x0}),Object[_0x34be9e(0x317)](_0xb4b06d[_0x34be9e(0x378)],_0x34be9e(0x218),{'enumerable':!0x0});class _0x5edb91 extends _0x34a8e2{constructor(_0x3a75bb,_0x2ac31a={}){const _0x30533d=_0x34be9e;super(_0x3a75bb),this[_0x4d2edc]=_0x2ac31a['data']===void 0x0?null:_0x2ac31a[_0x30533d(0x1f6)];}get[_0x34be9e(0x1f6)](){return this[_0x4d2edc];}}Object[_0x34be9e(0x317)](_0x5edb91[_0x34be9e(0x378)],'data',{'enumerable':!0x0}),_0x246d6a={'CloseEvent':_0x173941,'ErrorEvent':_0xb4b06d,'Event':_0x34a8e2,'EventTarget':{'addEventListener'(_0x19eb65,_0x71d19e,_0xd64303={}){const _0x33ec2f=_0x34be9e;for(const _0x1bc1b8 of this[_0x33ec2f(0x245)](_0x19eb65))if(!_0xd64303[_0x5da2e3]&&_0x1bc1b8[_0x4831ba]===_0x71d19e&&!_0x1bc1b8[_0x5da2e3])return;let _0x793e08;if(_0x19eb65===_0x33ec2f(0x218))_0x793e08=function(_0x457632,_0x56bd06){const _0x3e1ce8=_0x33ec2f,_0x23813d=new _0x5edb91(_0x3e1ce8(0x218),{'data':_0x56bd06?_0x457632:_0x457632[_0x3e1ce8(0x320)]()});_0x23813d[_0x4243db]=this,_0x24f801(_0x71d19e,this,_0x23813d);};else{if(_0x19eb65===_0x33ec2f(0x264))_0x793e08=function(_0x2220c9,_0x2054be){const _0x8d2b8b=_0x33ec2f,_0x454ed8=new _0x173941(_0x8d2b8b(0x264),{'code':_0x2220c9,'reason':_0x2054be[_0x8d2b8b(0x320)](),'wasClean':this[_0x8d2b8b(0x251)]&&this[_0x8d2b8b(0x1c4)]});_0x454ed8[_0x4243db]=this,_0x24f801(_0x71d19e,this,_0x454ed8);};else{if(_0x19eb65==='error')_0x793e08=function(_0x12ed53){const _0x3c055=_0x33ec2f,_0x5a1a9e=new _0xb4b06d('error',{'error':_0x12ed53,'message':_0x12ed53[_0x3c055(0x218)]});_0x5a1a9e[_0x4243db]=this,_0x24f801(_0x71d19e,this,_0x5a1a9e);};else{if(_0x19eb65===_0x33ec2f(0x307))_0x793e08=function(){const _0x4b48bf=_0x33ec2f,_0x2c0838=new _0x34a8e2(_0x4b48bf(0x307));_0x2c0838[_0x4243db]=this,_0x24f801(_0x71d19e,this,_0x2c0838);};else return;}}}_0x793e08[_0x5da2e3]=!!_0xd64303[_0x5da2e3],_0x793e08[_0x4831ba]=_0x71d19e,_0xd64303[_0x33ec2f(0x2fb)]?this[_0x33ec2f(0x2fb)](_0x19eb65,_0x793e08):this['on'](_0x19eb65,_0x793e08);},'removeEventListener'(_0xa7ecc7,_0x1f4d11){const _0x3a1933=_0x34be9e;for(const _0x2a52a1 of this[_0x3a1933(0x245)](_0xa7ecc7))if(_0x2a52a1[_0x4831ba]===_0x1f4d11&&!_0x2a52a1[_0x5da2e3]){this[_0x3a1933(0x2e6)](_0xa7ecc7,_0x2a52a1);break;}}},'MessageEvent':_0x5edb91};function _0x24f801(_0x13d1aa,_0x268a5f,_0x416281){const _0x793198=_0x34be9e;typeof _0x13d1aa==_0x793198(0x32c)&&_0x13d1aa[_0x793198(0x1b1)]?_0x13d1aa['handleEvent'][_0x793198(0x2f4)](_0x13d1aa,_0x416281):_0x13d1aa[_0x793198(0x2f4)](_0x268a5f,_0x416281);}return _0x246d6a;}var _0x45209,_0x10374f;function _0x329d95(){if(_0x10374f)return _0x45209;_0x10374f=0x1;const {tokenChars:_0x21c562}=_0x11f1b1();function _0x4b67ec(_0x32c3ef,_0x1d3193,_0x4c168d){const _0x4dfc26=_0x2281;_0x32c3ef[_0x1d3193]===void 0x0?_0x32c3ef[_0x1d3193]=[_0x4c168d]:_0x32c3ef[_0x1d3193][_0x4dfc26(0x238)](_0x4c168d);}function _0xb700df(_0x429d86){const _0x304135=_0x2281,_0x252f37=Object[_0x304135(0x260)](null);let _0x149d05=Object[_0x304135(0x260)](null),_0x1a4415=!0x1,_0xd4d806=!0x1,_0x2d7055=!0x1,_0x473fb2,_0x306235,_0xa584b0=-0x1,_0x4af411=-0x1,_0x1afe56=-0x1,_0x40f9dc=0x0;for(;_0x40f9dc<_0x429d86['length'];_0x40f9dc++)if(_0x4af411=_0x429d86[_0x304135(0x1d7)](_0x40f9dc),_0x473fb2===void 0x0){if(_0x1afe56===-0x1&&_0x21c562[_0x4af411]===0x1)_0xa584b0===-0x1&&(_0xa584b0=_0x40f9dc);else{if(_0x40f9dc!==0x0&&(_0x4af411===0x20||_0x4af411===0x9))_0x1afe56===-0x1&&_0xa584b0!==-0x1&&(_0x1afe56=_0x40f9dc);else{if(_0x4af411===0x3b||_0x4af411===0x2c){if(_0xa584b0===-0x1)throw new SyntaxError(_0x304135(0x1d0)+_0x40f9dc);_0x1afe56===-0x1&&(_0x1afe56=_0x40f9dc);const _0x6b89b6=_0x429d86[_0x304135(0x207)](_0xa584b0,_0x1afe56);_0x4af411===0x2c?(_0x4b67ec(_0x252f37,_0x6b89b6,_0x149d05),_0x149d05=Object[_0x304135(0x260)](null)):_0x473fb2=_0x6b89b6,_0xa584b0=_0x1afe56=-0x1;}else throw new SyntaxError(_0x304135(0x1d0)+_0x40f9dc);}}}else{if(_0x306235===void 0x0){if(_0x1afe56===-0x1&&_0x21c562[_0x4af411]===0x1)_0xa584b0===-0x1&&(_0xa584b0=_0x40f9dc);else{if(_0x4af411===0x20||_0x4af411===0x9)_0x1afe56===-0x1&&_0xa584b0!==-0x1&&(_0x1afe56=_0x40f9dc);else{if(_0x4af411===0x3b||_0x4af411===0x2c){if(_0xa584b0===-0x1)throw new SyntaxError(_0x304135(0x1d0)+_0x40f9dc);_0x1afe56===-0x1&&(_0x1afe56=_0x40f9dc),_0x4b67ec(_0x149d05,_0x429d86['slice'](_0xa584b0,_0x1afe56),!0x0),_0x4af411===0x2c&&(_0x4b67ec(_0x252f37,_0x473fb2,_0x149d05),_0x149d05=Object[_0x304135(0x260)](null),_0x473fb2=void 0x0),_0xa584b0=_0x1afe56=-0x1;}else{if(_0x4af411===0x3d&&_0xa584b0!==-0x1&&_0x1afe56===-0x1)_0x306235=_0x429d86[_0x304135(0x207)](_0xa584b0,_0x40f9dc),_0xa584b0=_0x1afe56=-0x1;else throw new SyntaxError(_0x304135(0x1d0)+_0x40f9dc);}}}}else{if(_0xd4d806){if(_0x21c562[_0x4af411]!==0x1)throw new SyntaxError(_0x304135(0x1d0)+_0x40f9dc);_0xa584b0===-0x1?_0xa584b0=_0x40f9dc:_0x1a4415||(_0x1a4415=!0x0),_0xd4d806=!0x1;}else{if(_0x2d7055){if(_0x21c562[_0x4af411]===0x1)_0xa584b0===-0x1&&(_0xa584b0=_0x40f9dc);else{if(_0x4af411===0x22&&_0xa584b0!==-0x1)_0x2d7055=!0x1,_0x1afe56=_0x40f9dc;else{if(_0x4af411===0x5c)_0xd4d806=!0x0;else throw new SyntaxError(_0x304135(0x1d0)+_0x40f9dc);}}}else{if(_0x4af411===0x22&&_0x429d86[_0x304135(0x1d7)](_0x40f9dc-0x1)===0x3d)_0x2d7055=!0x0;else{if(_0x1afe56===-0x1&&_0x21c562[_0x4af411]===0x1)_0xa584b0===-0x1&&(_0xa584b0=_0x40f9dc);else{if(_0xa584b0!==-0x1&&(_0x4af411===0x20||_0x4af411===0x9))_0x1afe56===-0x1&&(_0x1afe56=_0x40f9dc);else{if(_0x4af411===0x3b||_0x4af411===0x2c){if(_0xa584b0===-0x1)throw new SyntaxError(_0x304135(0x1d0)+_0x40f9dc);_0x1afe56===-0x1&&(_0x1afe56=_0x40f9dc);let _0x42a175=_0x429d86[_0x304135(0x207)](_0xa584b0,_0x1afe56);_0x1a4415&&(_0x42a175=_0x42a175['replace'](/\\/g,''),_0x1a4415=!0x1),_0x4b67ec(_0x149d05,_0x306235,_0x42a175),_0x4af411===0x2c&&(_0x4b67ec(_0x252f37,_0x473fb2,_0x149d05),_0x149d05=Object[_0x304135(0x260)](null),_0x473fb2=void 0x0),_0x306235=void 0x0,_0xa584b0=_0x1afe56=-0x1;}else throw new SyntaxError(_0x304135(0x1d0)+_0x40f9dc);}}}}}}}if(_0xa584b0===-0x1||_0x2d7055||_0x4af411===0x20||_0x4af411===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x1afe56===-0x1&&(_0x1afe56=_0x40f9dc);const _0x3dbbaf=_0x429d86[_0x304135(0x207)](_0xa584b0,_0x1afe56);return _0x473fb2===void 0x0?_0x4b67ec(_0x252f37,_0x3dbbaf,_0x149d05):(_0x306235===void 0x0?_0x4b67ec(_0x149d05,_0x3dbbaf,!0x0):_0x1a4415?_0x4b67ec(_0x149d05,_0x306235,_0x3dbbaf[_0x304135(0x1da)](/\\/g,'')):_0x4b67ec(_0x149d05,_0x306235,_0x3dbbaf),_0x4b67ec(_0x252f37,_0x473fb2,_0x149d05)),_0x252f37;}function _0xb74b10(_0x186e5a){const _0x3498b5=_0x2281;return Object[_0x3498b5(0x23b)](_0x186e5a)[_0x3498b5(0x1c1)](_0x3f9dc3=>{const _0x59536c=_0x3498b5;let _0x25f479=_0x186e5a[_0x3f9dc3];return Array[_0x59536c(0x280)](_0x25f479)||(_0x25f479=[_0x25f479]),_0x25f479['map'](_0x38b9a1=>[_0x3f9dc3]['concat'](Object['keys'](_0x38b9a1)[_0x59536c(0x1c1)](_0x4c19ce=>{const _0xe1ca1e=_0x59536c;let _0x472676=_0x38b9a1[_0x4c19ce];return Array['isArray'](_0x472676)||(_0x472676=[_0x472676]),_0x472676[_0xe1ca1e(0x1c1)](_0x15af4c=>_0x15af4c===!0x0?_0x4c19ce:_0x4c19ce+'='+_0x15af4c)[_0xe1ca1e(0x1f2)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x3498b5(0x1f2)](',\x20');}return _0x45209={'format':_0xb74b10,'parse':_0xb700df},_0x45209;}var _0x55d35c,_0x365b05;function _0x20d4a5(){const _0x45f7c3=_0x51c6a1;if(_0x365b05)return _0x55d35c;_0x365b05=0x1;const _0x2ec141=_0x51ae7e,_0x50a576=_0x59aa40,_0x546891=_0x41b66e,_0x4826d7=_0x19b4a5,_0xbf7b33=_0x23e6e9,{randomBytes:_0x3a2f20,createHash:_0x345ce7}=_0x2bdc4f,{Duplex:_0x2e9921,Readable:_0x21e506}=_0x178ce2,{URL:_0x9f7994}=_0x359156,_0x4f384a=_0x5391fb(),_0x32bea1=_0x1d4259(),_0x4c37a6=_0x3f08a4(),{isBlob:_0x4169ae}=_0x11f1b1(),{BINARY_TYPES:_0x520cb6,EMPTY_BUFFER:_0x48ff0c,GUID:_0x5ed7f9,kForOnEventAttribute:_0x4d0db7,kListener:_0x4c8c68,kStatusCode:_0x4a7fd0,kWebSocket:_0x4872b4,NOOP:_0x3d8298}=_0x3456f8(),{EventTarget:{addEventListener:_0x24c624,removeEventListener:_0x2cc73a}}=_0x1b8a35(),{format:_0x145c42,parse:_0x3512b4}=_0x329d95(),{toBuffer:_0x1e0d29}=_0x1bc1f1(),_0x212988=0x1e*0x3e8,_0x5e32fe=Symbol('kAborted'),_0x289d1f=[0x8,0xd],_0x3712e7=[_0x45f7c3(0x372),_0x45f7c3(0x315),'CLOSING',_0x45f7c3(0x331)],_0x3775cf=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x136821 extends _0x2ec141{constructor(_0x402c6b,_0x2bfb1,_0x56892f){const _0x77acb1=_0x45f7c3;super(),this['_binaryType']=_0x520cb6[0x0],this[_0x77acb1(0x258)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x77acb1(0x1c4)]=!0x1,this[_0x77acb1(0x21c)]=_0x48ff0c,this[_0x77acb1(0x200)]=null,this[_0x77acb1(0x255)]=!0x1,this[_0x77acb1(0x233)]={},this[_0x77acb1(0x309)]=!0x1,this[_0x77acb1(0x1ec)]='',this[_0x77acb1(0x208)]=_0x136821[_0x77acb1(0x372)],this[_0x77acb1(0x2e8)]=null,this[_0x77acb1(0x35b)]=null,this[_0x77acb1(0x2a2)]=null,_0x402c6b!==null?(this[_0x77acb1(0x24e)]=0x0,this[_0x77acb1(0x1b9)]=!0x1,this[_0x77acb1(0x1d2)]=0x0,_0x2bfb1===void 0x0?_0x2bfb1=[]:Array[_0x77acb1(0x280)](_0x2bfb1)||(typeof _0x2bfb1==_0x77acb1(0x32c)&&_0x2bfb1!==null?(_0x56892f=_0x2bfb1,_0x2bfb1=[]):_0x2bfb1=[_0x2bfb1]),_0x1a5c71(this,_0x402c6b,_0x2bfb1,_0x56892f)):(this[_0x77acb1(0x226)]=_0x56892f['autoPong'],this[_0x77acb1(0x1b9)]=!0x0);}get['binaryType'](){const _0x54c71d=_0x45f7c3;return this[_0x54c71d(0x1bd)];}set[_0x45f7c3(0x1f8)](_0x4dda16){const _0xf31957=_0x45f7c3;_0x520cb6[_0xf31957(0x286)](_0x4dda16)&&(this[_0xf31957(0x1bd)]=_0x4dda16,this[_0xf31957(0x2e8)]&&(this[_0xf31957(0x2e8)][_0xf31957(0x1bd)]=_0x4dda16));}get[_0x45f7c3(0x30b)](){const _0x566dc4=_0x45f7c3;return this['_socket']?this[_0x566dc4(0x2a2)][_0x566dc4(0x34e)][_0x566dc4(0x279)]+this[_0x566dc4(0x35b)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x45f7c3(0x346)](){const _0x5f50d9=_0x45f7c3;return Object['keys'](this['_extensions'])[_0x5f50d9(0x1f2)]();}get[_0x45f7c3(0x27f)](){const _0x137cb6=_0x45f7c3;return this[_0x137cb6(0x309)];}get[_0x45f7c3(0x1bf)](){return null;}get[_0x45f7c3(0x305)](){return null;}get[_0x45f7c3(0x2b0)](){return null;}get[_0x45f7c3(0x34b)](){return null;}get[_0x45f7c3(0x2f3)](){const _0x26dce8=_0x45f7c3;return this[_0x26dce8(0x1ec)];}get[_0x45f7c3(0x354)](){const _0x2c9f8a=_0x45f7c3;return this[_0x2c9f8a(0x208)];}get[_0x45f7c3(0x308)](){const _0x2e2070=_0x45f7c3;return this[_0x2e2070(0x210)];}[_0x45f7c3(0x2b3)](_0x3c2be4,_0x11e480,_0x1b9a63){const _0x27f05b=_0x45f7c3,_0x402e93=new _0x32bea1({'allowSynchronousEvents':_0x1b9a63[_0x27f05b(0x2b6)],'binaryType':this[_0x27f05b(0x1f8)],'extensions':this[_0x27f05b(0x233)],'isServer':this[_0x27f05b(0x1b9)],'maxPayload':_0x1b9a63[_0x27f05b(0x357)],'skipUTF8Validation':_0x1b9a63[_0x27f05b(0x1dc)]}),_0x508e4b=new _0x4c37a6(_0x3c2be4,this[_0x27f05b(0x233)],_0x1b9a63['generateMask']);this[_0x27f05b(0x2e8)]=_0x402e93,this['_sender']=_0x508e4b,this[_0x27f05b(0x2a2)]=_0x3c2be4,_0x402e93[_0x4872b4]=this,_0x508e4b[_0x4872b4]=this,_0x3c2be4[_0x4872b4]=this,_0x402e93['on'](_0x27f05b(0x28f),_0x350a19),_0x402e93['on'](_0x27f05b(0x1ac),_0x2bd63a),_0x402e93['on']('error',_0x2a8c18),_0x402e93['on']('message',_0x1be4f3),_0x402e93['on']('ping',_0x272ce2),_0x402e93['on'](_0x27f05b(0x1ae),_0x4a75a1),_0x508e4b[_0x27f05b(0x305)]=_0x4d6133,_0x3c2be4[_0x27f05b(0x33c)]&&_0x3c2be4['setTimeout'](0x0),_0x3c2be4['setNoDelay']&&_0x3c2be4[_0x27f05b(0x2ae)](),_0x11e480['length']>0x0&&_0x3c2be4[_0x27f05b(0x332)](_0x11e480),_0x3c2be4['on'](_0x27f05b(0x264),_0x13fcfa),_0x3c2be4['on']('data',_0x1f1202),_0x3c2be4['on']('end',_0x55d4aa),_0x3c2be4['on'](_0x27f05b(0x243),_0x4ef554),this[_0x27f05b(0x208)]=_0x136821[_0x27f05b(0x315)],this['emit'](_0x27f05b(0x307));}[_0x45f7c3(0x321)](){const _0x5c5cc4=_0x45f7c3;if(!this[_0x5c5cc4(0x2a2)]){this['_readyState']=_0x136821['CLOSED'],this['emit'](_0x5c5cc4(0x264),this['_closeCode'],this['_closeMessage']);return;}this['_extensions'][_0x4f384a['extensionName']]&&this['_extensions'][_0x4f384a[_0x5c5cc4(0x1b8)]][_0x5c5cc4(0x31d)](),this[_0x5c5cc4(0x2e8)]['removeAllListeners'](),this['_readyState']=_0x136821['CLOSED'],this[_0x5c5cc4(0x2aa)](_0x5c5cc4(0x264),this[_0x5c5cc4(0x258)],this['_closeMessage']);}[_0x45f7c3(0x264)](_0x2877dc,_0x24ca2d){const _0x47809a=_0x45f7c3;if(this[_0x47809a(0x354)]!==_0x136821[_0x47809a(0x331)]){if(this[_0x47809a(0x354)]===_0x136821[_0x47809a(0x372)]){_0x1654ea(this,this['_req'],_0x47809a(0x35e));return;}if(this['readyState']===_0x136821['CLOSING']){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x47809a(0x2e8)]['_writableState'][_0x47809a(0x2e2)])&&this[_0x47809a(0x2a2)][_0x47809a(0x1ff)]();return;}this['_readyState']=_0x136821[_0x47809a(0x2af)],this[_0x47809a(0x35b)][_0x47809a(0x264)](_0x2877dc,_0x24ca2d,!this[_0x47809a(0x1b9)],_0x39498e=>{const _0x2a1af6=_0x47809a;_0x39498e||(this[_0x2a1af6(0x1c4)]=!0x0,(this['_closeFrameReceived']||this[_0x2a1af6(0x2e8)][_0x2a1af6(0x34e)][_0x2a1af6(0x2e2)])&&this['_socket'][_0x2a1af6(0x1ff)]());}),_0x508d37(this);}}[_0x45f7c3(0x2a0)](){const _0x2c2574=_0x45f7c3;this[_0x2c2574(0x354)]===_0x136821[_0x2c2574(0x372)]||this[_0x2c2574(0x354)]===_0x136821[_0x2c2574(0x331)]||(this[_0x2c2574(0x309)]=!0x0,this['_socket'][_0x2c2574(0x2a0)]());}[_0x45f7c3(0x2f0)](_0x1ab85e,_0x119c68,_0x5782cc){const _0x18f084=_0x45f7c3;if(this['readyState']===_0x136821[_0x18f084(0x372)])throw new Error(_0x18f084(0x229));if(typeof _0x1ab85e=='function'?(_0x5782cc=_0x1ab85e,_0x1ab85e=_0x119c68=void 0x0):typeof _0x119c68==_0x18f084(0x24b)&&(_0x5782cc=_0x119c68,_0x119c68=void 0x0),typeof _0x1ab85e==_0x18f084(0x2bc)&&(_0x1ab85e=_0x1ab85e['toString']()),this[_0x18f084(0x354)]!==_0x136821[_0x18f084(0x315)]){_0x162a5f(this,_0x1ab85e,_0x5782cc);return;}_0x119c68===void 0x0&&(_0x119c68=!this['_isServer']),this[_0x18f084(0x35b)][_0x18f084(0x2f0)](_0x1ab85e||_0x48ff0c,_0x119c68,_0x5782cc);}[_0x45f7c3(0x1ae)](_0x2b1e2b,_0x50243f,_0x5b4b4b){const _0x34a878=_0x45f7c3;if(this['readyState']===_0x136821[_0x34a878(0x372)])throw new Error(_0x34a878(0x229));if(typeof _0x2b1e2b==_0x34a878(0x24b)?(_0x5b4b4b=_0x2b1e2b,_0x2b1e2b=_0x50243f=void 0x0):typeof _0x50243f==_0x34a878(0x24b)&&(_0x5b4b4b=_0x50243f,_0x50243f=void 0x0),typeof _0x2b1e2b==_0x34a878(0x2bc)&&(_0x2b1e2b=_0x2b1e2b[_0x34a878(0x320)]()),this[_0x34a878(0x354)]!==_0x136821['OPEN']){_0x162a5f(this,_0x2b1e2b,_0x5b4b4b);return;}_0x50243f===void 0x0&&(_0x50243f=!this[_0x34a878(0x1b9)]),this[_0x34a878(0x35b)]['pong'](_0x2b1e2b||_0x48ff0c,_0x50243f,_0x5b4b4b);}[_0x45f7c3(0x1c0)](){const _0x58b126=_0x45f7c3;this[_0x58b126(0x354)]===_0x136821[_0x58b126(0x372)]||this['readyState']===_0x136821[_0x58b126(0x331)]||(this[_0x58b126(0x309)]=!0x1,this['_receiver'][_0x58b126(0x34e)][_0x58b126(0x221)]||this['_socket'][_0x58b126(0x1c0)]());}['send'](_0xb7b8db,_0x4a90e1,_0x574cd6){const _0x21a6d0=_0x45f7c3;if(this[_0x21a6d0(0x354)]===_0x136821[_0x21a6d0(0x372)])throw new Error(_0x21a6d0(0x229));if(typeof _0x4a90e1==_0x21a6d0(0x24b)&&(_0x574cd6=_0x4a90e1,_0x4a90e1={}),typeof _0xb7b8db==_0x21a6d0(0x2bc)&&(_0xb7b8db=_0xb7b8db[_0x21a6d0(0x320)]()),this['readyState']!==_0x136821['OPEN']){_0x162a5f(this,_0xb7b8db,_0x574cd6);return;}const _0x4d4abb={'binary':typeof _0xb7b8db!=_0x21a6d0(0x313),'mask':!this[_0x21a6d0(0x1b9)],'compress':!0x0,'fin':!0x0,..._0x4a90e1};this['_extensions'][_0x4f384a['extensionName']]||(_0x4d4abb[_0x21a6d0(0x37f)]=!0x1),this[_0x21a6d0(0x35b)][_0x21a6d0(0x1de)](_0xb7b8db||_0x48ff0c,_0x4d4abb,_0x574cd6);}[_0x45f7c3(0x289)](){const _0x5027d7=_0x45f7c3;if(this[_0x5027d7(0x354)]!==_0x136821[_0x5027d7(0x331)]){if(this[_0x5027d7(0x354)]===_0x136821[_0x5027d7(0x372)]){_0x1654ea(this,this[_0x5027d7(0x222)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x5027d7(0x2a2)]&&(this[_0x5027d7(0x208)]=_0x136821[_0x5027d7(0x2af)],this[_0x5027d7(0x2a2)][_0x5027d7(0x301)]());}}}Object[_0x45f7c3(0x317)](_0x136821,_0x45f7c3(0x372),{'enumerable':!0x0,'value':_0x3712e7[_0x45f7c3(0x2cc)]('CONNECTING')}),Object['defineProperty'](_0x136821[_0x45f7c3(0x378)],_0x45f7c3(0x372),{'enumerable':!0x0,'value':_0x3712e7[_0x45f7c3(0x2cc)](_0x45f7c3(0x372))}),Object[_0x45f7c3(0x317)](_0x136821,'OPEN',{'enumerable':!0x0,'value':_0x3712e7[_0x45f7c3(0x2cc)](_0x45f7c3(0x315))}),Object['defineProperty'](_0x136821['prototype'],_0x45f7c3(0x315),{'enumerable':!0x0,'value':_0x3712e7[_0x45f7c3(0x2cc)]('OPEN')}),Object[_0x45f7c3(0x317)](_0x136821,_0x45f7c3(0x2af),{'enumerable':!0x0,'value':_0x3712e7['indexOf']('CLOSING')}),Object['defineProperty'](_0x136821['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x3712e7[_0x45f7c3(0x2cc)]('CLOSING')}),Object[_0x45f7c3(0x317)](_0x136821,_0x45f7c3(0x331),{'enumerable':!0x0,'value':_0x3712e7[_0x45f7c3(0x2cc)](_0x45f7c3(0x331))}),Object[_0x45f7c3(0x317)](_0x136821[_0x45f7c3(0x378)],_0x45f7c3(0x331),{'enumerable':!0x0,'value':_0x3712e7['indexOf'](_0x45f7c3(0x331))}),['binaryType','bufferedAmount',_0x45f7c3(0x346),'isPaused','protocol','readyState',_0x45f7c3(0x308)][_0x45f7c3(0x341)](_0x56da91=>{const _0x374fe0=_0x45f7c3;Object[_0x374fe0(0x317)](_0x136821[_0x374fe0(0x378)],_0x56da91,{'enumerable':!0x0});}),[_0x45f7c3(0x307),'error',_0x45f7c3(0x264),_0x45f7c3(0x218)][_0x45f7c3(0x341)](_0x3c2ab8=>{const _0x2d1e31=_0x45f7c3;Object[_0x2d1e31(0x317)](_0x136821[_0x2d1e31(0x378)],'on'+_0x3c2ab8,{'enumerable':!0x0,'get'(){const _0x9c7873=_0x2d1e31;for(const _0x3833d4 of this[_0x9c7873(0x245)](_0x3c2ab8))if(_0x3833d4[_0x4d0db7])return _0x3833d4[_0x4c8c68];return null;},'set'(_0x50b511){const _0x16c4e6=_0x2d1e31;for(const _0xaf9d07 of this[_0x16c4e6(0x245)](_0x3c2ab8))if(_0xaf9d07[_0x4d0db7]){this[_0x16c4e6(0x2e6)](_0x3c2ab8,_0xaf9d07);break;}typeof _0x50b511==_0x16c4e6(0x24b)&&this['addEventListener'](_0x3c2ab8,_0x50b511,{[_0x4d0db7]:!0x0});}});}),_0x136821[_0x45f7c3(0x378)][_0x45f7c3(0x2f2)]=_0x24c624,_0x136821[_0x45f7c3(0x378)][_0x45f7c3(0x35a)]=_0x2cc73a,_0x55d35c=_0x136821;function _0x1a5c71(_0x54e44e,_0x4bd8e5,_0x189560,_0x24deaa){const _0xff563=_0x45f7c3,_0x3debd4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x289d1f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x24deaa,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xff563(0x1f0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x54e44e[_0xff563(0x226)]=_0x3debd4[_0xff563(0x2b2)],!_0x289d1f[_0xff563(0x286)](_0x3debd4[_0xff563(0x217)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x3debd4[_0xff563(0x217)]+_0xff563(0x25b)+_0x289d1f[_0xff563(0x1f2)](',\x20')+')');let _0x12ddd1;if(_0x4bd8e5 instanceof _0x9f7994)_0x12ddd1=_0x4bd8e5;else try{_0x12ddd1=new _0x9f7994(_0x4bd8e5);}catch{throw new SyntaxError(_0xff563(0x355)+_0x4bd8e5);}_0x12ddd1[_0xff563(0x2f3)]===_0xff563(0x2ef)?_0x12ddd1['protocol']=_0xff563(0x351):_0x12ddd1[_0xff563(0x2f3)]===_0xff563(0x1b5)&&(_0x12ddd1[_0xff563(0x2f3)]=_0xff563(0x2ac)),_0x54e44e[_0xff563(0x210)]=_0x12ddd1[_0xff563(0x288)];const _0x4764b2=_0x12ddd1[_0xff563(0x2f3)]===_0xff563(0x2ac),_0x54083d=_0x12ddd1[_0xff563(0x2f3)]===_0xff563(0x272);let _0x203581;if(_0x12ddd1[_0xff563(0x2f3)]!=='ws:'&&!_0x4764b2&&!_0x54083d?_0x203581=_0xff563(0x1c5):_0x54083d&&!_0x12ddd1[_0xff563(0x318)]?_0x203581=_0xff563(0x201):_0x12ddd1['hash']&&(_0x203581=_0xff563(0x297)),_0x203581){const _0x56e0eb=new SyntaxError(_0x203581);if(_0x54e44e[_0xff563(0x1d2)]===0x0)throw _0x56e0eb;_0x49776a(_0x54e44e,_0x56e0eb);return;}const _0x2165c2=_0x4764b2?0x1bb:0x50,_0x5ddc73=_0x3a2f20(0x10)[_0xff563(0x320)](_0xff563(0x2e5)),_0x7f943e=_0x4764b2?_0x50a576['request']:_0x546891[_0xff563(0x249)],_0xb31c96=new Set();let _0x2c0b4b;if(_0x3debd4['createConnection']=_0x3debd4['createConnection']||(_0x4764b2?_0x1ddc86:_0x5adecd),_0x3debd4[_0xff563(0x25e)]=_0x3debd4[_0xff563(0x25e)]||_0x2165c2,_0x3debd4[_0xff563(0x285)]=_0x12ddd1[_0xff563(0x285)]||_0x2165c2,_0x3debd4[_0xff563(0x1e9)]=_0x12ddd1[_0xff563(0x30f)]['startsWith']('[')?_0x12ddd1[_0xff563(0x30f)][_0xff563(0x207)](0x1,-0x1):_0x12ddd1[_0xff563(0x30f)],_0x3debd4['headers']={..._0x3debd4[_0xff563(0x330)],'Sec-WebSocket-Version':_0x3debd4[_0xff563(0x217)],'Sec-WebSocket-Key':_0x5ddc73,'Connection':_0xff563(0x1e4),'Upgrade':_0xff563(0x31b)},_0x3debd4[_0xff563(0x204)]=_0x12ddd1[_0xff563(0x318)]+_0x12ddd1[_0xff563(0x205)],_0x3debd4[_0xff563(0x274)]=_0x3debd4[_0xff563(0x1b7)],_0x3debd4[_0xff563(0x1b3)]&&(_0x2c0b4b=new _0x4f384a(_0x3debd4[_0xff563(0x1b3)]!==!0x0?_0x3debd4[_0xff563(0x1b3)]:{},!0x1,_0x3debd4[_0xff563(0x357)]),_0x3debd4[_0xff563(0x330)]['Sec-WebSocket-Extensions']=_0x145c42({[_0x4f384a[_0xff563(0x1b8)]]:_0x2c0b4b[_0xff563(0x2d7)]()})),_0x189560['length']){for(const _0x23ac93 of _0x189560){if(typeof _0x23ac93!=_0xff563(0x313)||!_0x3775cf['test'](_0x23ac93)||_0xb31c96[_0xff563(0x29b)](_0x23ac93))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xb31c96['add'](_0x23ac93);}_0x3debd4[_0xff563(0x330)][_0xff563(0x335)]=_0x189560[_0xff563(0x1f2)](',');}if(_0x3debd4[_0xff563(0x27d)]&&(_0x3debd4[_0xff563(0x217)]<0xd?_0x3debd4[_0xff563(0x330)][_0xff563(0x22a)]=_0x3debd4['origin']:_0x3debd4['headers'][_0xff563(0x225)]=_0x3debd4[_0xff563(0x27d)]),(_0x12ddd1[_0xff563(0x361)]||_0x12ddd1[_0xff563(0x22c)])&&(_0x3debd4['auth']=_0x12ddd1[_0xff563(0x361)]+':'+_0x12ddd1[_0xff563(0x22c)]),_0x54083d){const _0x533e75=_0x3debd4['path'][_0xff563(0x1ed)](':');_0x3debd4[_0xff563(0x1dd)]=_0x533e75[0x0],_0x3debd4[_0xff563(0x204)]=_0x533e75[0x1];}let _0x2fd65f;if(_0x3debd4[_0xff563(0x2d1)]){if(_0x54e44e['_redirects']===0x0){_0x54e44e[_0xff563(0x212)]=_0x54083d,_0x54e44e[_0xff563(0x26f)]=_0x4764b2,_0x54e44e['_originalHostOrSocketPath']=_0x54083d?_0x3debd4['socketPath']:_0x12ddd1['host'];const _0x467a3c=_0x24deaa&&_0x24deaa['headers'];if(_0x24deaa={..._0x24deaa,'headers':{}},_0x467a3c){for(const [_0x5e5f53,_0x78c6db]of Object['entries'](_0x467a3c))_0x24deaa[_0xff563(0x330)][_0x5e5f53['toLowerCase']()]=_0x78c6db;}}else{if(_0x54e44e[_0xff563(0x1e1)](_0xff563(0x239))===0x0){const _0x495cc5=_0x54083d?_0x54e44e[_0xff563(0x212)]?_0x3debd4[_0xff563(0x1dd)]===_0x54e44e[_0xff563(0x21d)]:!0x1:_0x54e44e[_0xff563(0x212)]?!0x1:_0x12ddd1[_0xff563(0x1e9)]===_0x54e44e[_0xff563(0x21d)];(!_0x495cc5||_0x54e44e['_originalSecure']&&!_0x4764b2)&&(delete _0x3debd4['headers'][_0xff563(0x310)],delete _0x3debd4['headers'][_0xff563(0x2df)],_0x495cc5||delete _0x3debd4[_0xff563(0x330)][_0xff563(0x1e9)],_0x3debd4[_0xff563(0x2b9)]=void 0x0);}}_0x3debd4['auth']&&!_0x24deaa[_0xff563(0x330)][_0xff563(0x310)]&&(_0x24deaa[_0xff563(0x330)][_0xff563(0x310)]='Basic\x20'+Buffer['from'](_0x3debd4['auth'])[_0xff563(0x320)](_0xff563(0x2e5))),_0x2fd65f=_0x54e44e['_req']=_0x7f943e(_0x3debd4),_0x54e44e[_0xff563(0x1d2)]&&_0x54e44e[_0xff563(0x2aa)](_0xff563(0x239),_0x54e44e['url'],_0x2fd65f);}else _0x2fd65f=_0x54e44e[_0xff563(0x222)]=_0x7f943e(_0x3debd4);_0x3debd4[_0xff563(0x274)]&&_0x2fd65f['on'](_0xff563(0x274),()=>{_0x1654ea(_0x54e44e,_0x2fd65f,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x2fd65f['on']('error',_0x135016=>{_0x2fd65f===null||_0x2fd65f[_0x5e32fe]||(_0x2fd65f=_0x54e44e['_req']=null,_0x49776a(_0x54e44e,_0x135016));}),_0x2fd65f['on'](_0xff563(0x360),_0x23b993=>{const _0x5cd36f=_0xff563,_0x4cff38=_0x23b993[_0x5cd36f(0x330)][_0x5cd36f(0x21f)],_0x1d23ce=_0x23b993['statusCode'];if(_0x4cff38&&_0x3debd4[_0x5cd36f(0x2d1)]&&_0x1d23ce>=0x12c&&_0x1d23ce<0x190){if(++_0x54e44e[_0x5cd36f(0x1d2)]>_0x3debd4[_0x5cd36f(0x23f)]){_0x1654ea(_0x54e44e,_0x2fd65f,'Maximum\x20redirects\x20exceeded');return;}_0x2fd65f[_0x5cd36f(0x337)]();let _0xe191ba;try{_0xe191ba=new _0x9f7994(_0x4cff38,_0x4bd8e5);}catch{const _0x16b457=new SyntaxError(_0x5cd36f(0x355)+_0x4cff38);_0x49776a(_0x54e44e,_0x16b457);return;}_0x1a5c71(_0x54e44e,_0xe191ba,_0x189560,_0x24deaa);}else _0x54e44e['emit'](_0x5cd36f(0x29d),_0x2fd65f,_0x23b993)||_0x1654ea(_0x54e44e,_0x2fd65f,_0x5cd36f(0x375)+_0x23b993['statusCode']);}),_0x2fd65f['on'](_0xff563(0x334),(_0x54860a,_0x130516,_0xa255e6)=>{const _0x2e6246=_0xff563;if(_0x54e44e['emit'](_0x2e6246(0x334),_0x54860a),_0x54e44e['readyState']!==_0x136821['CONNECTING'])return;_0x2fd65f=_0x54e44e['_req']=null;const _0x198319=_0x54860a['headers']['upgrade'];if(_0x198319===void 0x0||_0x198319[_0x2e6246(0x256)]()!==_0x2e6246(0x31b)){_0x1654ea(_0x54e44e,_0x130516,'Invalid\x20Upgrade\x20header');return;}const _0x51058e=_0x345ce7(_0x2e6246(0x2a4))[_0x2e6246(0x2e4)](_0x5ddc73+_0x5ed7f9)[_0x2e6246(0x298)]('base64');if(_0x54860a['headers']['sec-websocket-accept']!==_0x51058e){_0x1654ea(_0x54e44e,_0x130516,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x13f0c9=_0x54860a[_0x2e6246(0x330)][_0x2e6246(0x368)];let _0x273a37;if(_0x13f0c9!==void 0x0?_0xb31c96[_0x2e6246(0x37d)]?_0xb31c96[_0x2e6246(0x29b)](_0x13f0c9)||(_0x273a37=_0x2e6246(0x28d)):_0x273a37=_0x2e6246(0x380):_0xb31c96[_0x2e6246(0x37d)]&&(_0x273a37=_0x2e6246(0x296)),_0x273a37){_0x1654ea(_0x54e44e,_0x130516,_0x273a37);return;}_0x13f0c9&&(_0x54e44e['_protocol']=_0x13f0c9);const _0x308f66=_0x54860a[_0x2e6246(0x330)][_0x2e6246(0x2db)];if(_0x308f66!==void 0x0){if(!_0x2c0b4b){_0x1654ea(_0x54e44e,_0x130516,_0x2e6246(0x1be));return;}let _0x17d0c0;try{_0x17d0c0=_0x3512b4(_0x308f66);}catch{_0x1654ea(_0x54e44e,_0x130516,_0x2e6246(0x290));return;}const _0x41250a=Object['keys'](_0x17d0c0);if(_0x41250a[_0x2e6246(0x279)]!==0x1||_0x41250a[0x0]!==_0x4f384a[_0x2e6246(0x1b8)]){_0x1654ea(_0x54e44e,_0x130516,_0x2e6246(0x250));return;}try{_0x2c0b4b[_0x2e6246(0x21b)](_0x17d0c0[_0x4f384a[_0x2e6246(0x1b8)]]);}catch{_0x1654ea(_0x54e44e,_0x130516,_0x2e6246(0x290));return;}_0x54e44e[_0x2e6246(0x233)][_0x4f384a[_0x2e6246(0x1b8)]]=_0x2c0b4b;}_0x54e44e[_0x2e6246(0x2b3)](_0x130516,_0xa255e6,{'allowSynchronousEvents':_0x3debd4[_0x2e6246(0x2b6)],'generateMask':_0x3debd4['generateMask'],'maxPayload':_0x3debd4['maxPayload'],'skipUTF8Validation':_0x3debd4[_0x2e6246(0x1dc)]});}),_0x3debd4[_0xff563(0x219)]?_0x3debd4['finishRequest'](_0x2fd65f,_0x54e44e):_0x2fd65f[_0xff563(0x1ff)]();}function _0x49776a(_0x3b98d4,_0x3c5d48){const _0x56c7fe=_0x45f7c3;_0x3b98d4[_0x56c7fe(0x208)]=_0x136821[_0x56c7fe(0x2af)],_0x3b98d4[_0x56c7fe(0x255)]=!0x0,_0x3b98d4[_0x56c7fe(0x2aa)](_0x56c7fe(0x243),_0x3c5d48),_0x3b98d4[_0x56c7fe(0x321)]();}function _0x5adecd(_0x983b1d){const _0xe12043=_0x45f7c3;return _0x983b1d[_0xe12043(0x204)]=_0x983b1d[_0xe12043(0x1dd)],_0x4826d7[_0xe12043(0x236)](_0x983b1d);}function _0x1ddc86(_0x5e14fa){const _0x1cf07e=_0x45f7c3;return _0x5e14fa[_0x1cf07e(0x204)]=void 0x0,!_0x5e14fa[_0x1cf07e(0x291)]&&_0x5e14fa[_0x1cf07e(0x291)]!==''&&(_0x5e14fa[_0x1cf07e(0x291)]=_0x4826d7[_0x1cf07e(0x29e)](_0x5e14fa[_0x1cf07e(0x1e9)])?'':_0x5e14fa[_0x1cf07e(0x1e9)]),_0xbf7b33[_0x1cf07e(0x236)](_0x5e14fa);}function _0x1654ea(_0x248b40,_0x20c25,_0x3353ca){const _0x8c04ab=_0x45f7c3;_0x248b40[_0x8c04ab(0x208)]=_0x136821[_0x8c04ab(0x2af)];const _0x414b87=new Error(_0x3353ca);Error[_0x8c04ab(0x312)](_0x414b87,_0x1654ea),_0x20c25[_0x8c04ab(0x2d9)]?(_0x20c25[_0x5e32fe]=!0x0,_0x20c25[_0x8c04ab(0x337)](),_0x20c25['socket']&&!_0x20c25[_0x8c04ab(0x23a)][_0x8c04ab(0x352)]&&_0x20c25[_0x8c04ab(0x23a)][_0x8c04ab(0x301)](),process['nextTick'](_0x49776a,_0x248b40,_0x414b87)):(_0x20c25['destroy'](_0x414b87),_0x20c25[_0x8c04ab(0x2fb)](_0x8c04ab(0x243),_0x248b40[_0x8c04ab(0x2aa)][_0x8c04ab(0x34a)](_0x248b40,'error')),_0x20c25[_0x8c04ab(0x2fb)](_0x8c04ab(0x264),_0x248b40[_0x8c04ab(0x321)][_0x8c04ab(0x34a)](_0x248b40)));}function _0x162a5f(_0x5ad8f,_0x14a219,_0x14b6e2){const _0x1adaa0=_0x45f7c3;if(_0x14a219){const _0xd101f6=_0x4169ae(_0x14a219)?_0x14a219['size']:_0x1e0d29(_0x14a219)[_0x1adaa0(0x279)];_0x5ad8f[_0x1adaa0(0x2a2)]?_0x5ad8f['_sender'][_0x1adaa0(0x2ff)]+=_0xd101f6:_0x5ad8f[_0x1adaa0(0x24e)]+=_0xd101f6;}if(_0x14b6e2){const _0x1dd590=new Error(_0x1adaa0(0x214)+_0x5ad8f[_0x1adaa0(0x354)]+'\x20('+_0x3712e7[_0x5ad8f['readyState']]+')');process['nextTick'](_0x14b6e2,_0x1dd590);}}function _0x350a19(_0x172f8a,_0xe73a6d){const _0x1d65f5=_0x45f7c3,_0xa79aec=this[_0x4872b4];_0xa79aec['_closeFrameReceived']=!0x0,_0xa79aec['_closeMessage']=_0xe73a6d,_0xa79aec['_closeCode']=_0x172f8a,_0xa79aec[_0x1d65f5(0x2a2)][_0x4872b4]!==void 0x0&&(_0xa79aec['_socket'][_0x1d65f5(0x2e6)]('data',_0x1f1202),process[_0x1d65f5(0x246)](_0x442521,_0xa79aec[_0x1d65f5(0x2a2)]),_0x172f8a===0x3ed?_0xa79aec[_0x1d65f5(0x264)]():_0xa79aec[_0x1d65f5(0x264)](_0x172f8a,_0xe73a6d));}function _0x2bd63a(){const _0x2251c4=_0x45f7c3,_0x53950e=this[_0x4872b4];_0x53950e['isPaused']||_0x53950e[_0x2251c4(0x2a2)][_0x2251c4(0x1c0)]();}function _0x2a8c18(_0x338950){const _0x2e5c15=_0x45f7c3,_0x5c58ea=this[_0x4872b4];_0x5c58ea[_0x2e5c15(0x2a2)][_0x4872b4]!==void 0x0&&(_0x5c58ea[_0x2e5c15(0x2a2)]['removeListener']('data',_0x1f1202),process['nextTick'](_0x442521,_0x5c58ea[_0x2e5c15(0x2a2)]),_0x5c58ea[_0x2e5c15(0x264)](_0x338950[_0x4a7fd0])),_0x5c58ea[_0x2e5c15(0x255)]||(_0x5c58ea[_0x2e5c15(0x255)]=!0x0,_0x5c58ea[_0x2e5c15(0x2aa)]('error',_0x338950));}function _0x22acb0(){const _0x2ad89b=_0x45f7c3;this[_0x4872b4][_0x2ad89b(0x321)]();}function _0x1be4f3(_0xa2e7d4,_0x310cb1){const _0x4c3aa7=_0x45f7c3;this[_0x4872b4][_0x4c3aa7(0x2aa)](_0x4c3aa7(0x218),_0xa2e7d4,_0x310cb1);}function _0x272ce2(_0x47824e){const _0x294c8f=_0x45f7c3,_0x444e60=this[_0x4872b4];_0x444e60[_0x294c8f(0x226)]&&_0x444e60[_0x294c8f(0x1ae)](_0x47824e,!this[_0x294c8f(0x1b9)],_0x3d8298),_0x444e60[_0x294c8f(0x2aa)](_0x294c8f(0x2f0),_0x47824e);}function _0x4a75a1(_0x1d9ac0){const _0x1b1015=_0x45f7c3;this[_0x4872b4][_0x1b1015(0x2aa)]('pong',_0x1d9ac0);}function _0x442521(_0x384256){const _0x4ce029=_0x45f7c3;_0x384256[_0x4ce029(0x1c0)]();}function _0x4d6133(_0x368a4d){const _0x62e634=_0x45f7c3,_0x1babea=this[_0x4872b4];_0x1babea[_0x62e634(0x354)]!==_0x136821[_0x62e634(0x331)]&&(_0x1babea[_0x62e634(0x354)]===_0x136821[_0x62e634(0x315)]&&(_0x1babea[_0x62e634(0x208)]=_0x136821['CLOSING'],_0x508d37(_0x1babea)),this['_socket']['end'](),_0x1babea[_0x62e634(0x255)]||(_0x1babea['_errorEmitted']=!0x0,_0x1babea[_0x62e634(0x2aa)](_0x62e634(0x243),_0x368a4d)));}function _0x508d37(_0x5e2b9){const _0x5b7da8=_0x45f7c3;_0x5e2b9[_0x5b7da8(0x200)]=setTimeout(_0x5e2b9[_0x5b7da8(0x2a2)]['destroy'][_0x5b7da8(0x34a)](_0x5e2b9['_socket']),_0x212988);}function _0x13fcfa(){const _0x2162b9=_0x45f7c3,_0x39e1aa=this[_0x4872b4];this['removeListener'](_0x2162b9(0x264),_0x13fcfa),this[_0x2162b9(0x2e6)](_0x2162b9(0x1f6),_0x1f1202),this[_0x2162b9(0x2e6)](_0x2162b9(0x1ff),_0x55d4aa),_0x39e1aa[_0x2162b9(0x208)]=_0x136821[_0x2162b9(0x2af)];let _0x13d461;!this[_0x2162b9(0x30d)][_0x2162b9(0x333)]&&!_0x39e1aa[_0x2162b9(0x251)]&&!_0x39e1aa[_0x2162b9(0x2e8)][_0x2162b9(0x34e)][_0x2162b9(0x2e2)]&&(_0x13d461=_0x39e1aa['_socket'][_0x2162b9(0x30c)]())!==null&&_0x39e1aa[_0x2162b9(0x2e8)][_0x2162b9(0x227)](_0x13d461),_0x39e1aa['_receiver'][_0x2162b9(0x1ff)](),this[_0x4872b4]=void 0x0,clearTimeout(_0x39e1aa[_0x2162b9(0x200)]),_0x39e1aa[_0x2162b9(0x2e8)]['_writableState'][_0x2162b9(0x36b)]||_0x39e1aa[_0x2162b9(0x2e8)][_0x2162b9(0x34e)][_0x2162b9(0x2e2)]?_0x39e1aa[_0x2162b9(0x321)]():(_0x39e1aa[_0x2162b9(0x2e8)]['on'](_0x2162b9(0x243),_0x22acb0),_0x39e1aa[_0x2162b9(0x2e8)]['on']('finish',_0x22acb0));}function _0x1f1202(_0x33bb0f){this[_0x4872b4]['_receiver']['write'](_0x33bb0f)||this['pause']();}function _0x55d4aa(){const _0x1f1b62=_0x45f7c3,_0x3e78dd=this[_0x4872b4];_0x3e78dd['_readyState']=_0x136821[_0x1f1b62(0x2af)],_0x3e78dd[_0x1f1b62(0x2e8)]['end'](),this[_0x1f1b62(0x1ff)]();}function _0x4ef554(){const _0x5e46e8=_0x45f7c3,_0x2b5499=this[_0x4872b4];this[_0x5e46e8(0x2e6)](_0x5e46e8(0x243),_0x4ef554),this['on']('error',_0x3d8298),_0x2b5499&&(_0x2b5499[_0x5e46e8(0x208)]=_0x136821['CLOSING'],this[_0x5e46e8(0x301)]());}return _0x55d35c;}var _0x3bd460,_0x3da27a;function _0x47eca2(){if(_0x3da27a)return _0x3bd460;_0x3da27a=0x1,_0x20d4a5();const {Duplex:_0x3370aa}=_0x178ce2;function _0x133815(_0x427ea2){const _0x48e165=_0x2281;_0x427ea2[_0x48e165(0x2aa)](_0x48e165(0x264));}function _0x12a3f2(){const _0x3de8b1=_0x2281;!this[_0x3de8b1(0x352)]&&this[_0x3de8b1(0x34e)][_0x3de8b1(0x36b)]&&this['destroy']();}function _0x570e6d(_0x4c9e25){const _0x5df63f=_0x2281;this['removeListener']('error',_0x570e6d),this[_0x5df63f(0x301)](),this[_0x5df63f(0x1e1)](_0x5df63f(0x243))===0x0&&this[_0x5df63f(0x2aa)](_0x5df63f(0x243),_0x4c9e25);}function _0x1d0f36(_0x21e851,_0x1c2dc1){const _0xa85442=_0x2281;let _0x455f3b=!0x0;const _0xd26b4=new _0x3370aa({..._0x1c2dc1,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x21e851['on'](_0xa85442(0x218),function(_0x3499e1,_0x168308){const _0x4ae0c8=_0xa85442,_0x440712=!_0x168308&&_0xd26b4[_0x4ae0c8(0x30d)][_0x4ae0c8(0x24c)]?_0x3499e1[_0x4ae0c8(0x320)]():_0x3499e1;_0xd26b4[_0x4ae0c8(0x238)](_0x440712)||_0x21e851[_0x4ae0c8(0x2a0)]();}),_0x21e851[_0xa85442(0x2fb)](_0xa85442(0x243),function(_0x3e7af3){const _0x534683=_0xa85442;_0xd26b4[_0x534683(0x352)]||(_0x455f3b=!0x1,_0xd26b4[_0x534683(0x301)](_0x3e7af3));}),_0x21e851['once'](_0xa85442(0x264),function(){const _0x5ab10=_0xa85442;_0xd26b4[_0x5ab10(0x352)]||_0xd26b4[_0x5ab10(0x238)](null);}),_0xd26b4[_0xa85442(0x322)]=function(_0x1da8ad,_0xfe58d6){const _0x31fa7a=_0xa85442;if(_0x21e851['readyState']===_0x21e851['CLOSED']){_0xfe58d6(_0x1da8ad),process['nextTick'](_0x133815,_0xd26b4);return;}let _0x5835ee=!0x1;_0x21e851[_0x31fa7a(0x2fb)](_0x31fa7a(0x243),function(_0x1a16fc){_0x5835ee=!0x0,_0xfe58d6(_0x1a16fc);}),_0x21e851['once']('close',function(){_0x5835ee||_0xfe58d6(_0x1da8ad),process['nextTick'](_0x133815,_0xd26b4);}),_0x455f3b&&_0x21e851[_0x31fa7a(0x289)]();},_0xd26b4[_0xa85442(0x31e)]=function(_0x5c0858){const _0x61984f=_0xa85442;if(_0x21e851['readyState']===_0x21e851[_0x61984f(0x372)]){_0x21e851[_0x61984f(0x2fb)](_0x61984f(0x307),function(){const _0x25d783=_0x61984f;_0xd26b4[_0x25d783(0x31e)](_0x5c0858);});return;}_0x21e851[_0x61984f(0x2a2)]!==null&&(_0x21e851[_0x61984f(0x2a2)][_0x61984f(0x34e)][_0x61984f(0x36b)]?(_0x5c0858(),_0xd26b4[_0x61984f(0x30d)]['endEmitted']&&_0xd26b4[_0x61984f(0x301)]()):(_0x21e851['_socket'][_0x61984f(0x2fb)](_0x61984f(0x278),function(){_0x5c0858();}),_0x21e851[_0x61984f(0x264)]()));},_0xd26b4[_0xa85442(0x36c)]=function(){const _0x3f28aa=_0xa85442;_0x21e851[_0x3f28aa(0x27f)]&&_0x21e851[_0x3f28aa(0x1c0)]();},_0xd26b4['_write']=function(_0x294457,_0x290a26,_0x2e2d73){const _0x5eb120=_0xa85442;if(_0x21e851[_0x5eb120(0x354)]===_0x21e851['CONNECTING']){_0x21e851['once'](_0x5eb120(0x307),function(){const _0x4882b8=_0x5eb120;_0xd26b4[_0x4882b8(0x262)](_0x294457,_0x290a26,_0x2e2d73);});return;}_0x21e851[_0x5eb120(0x1de)](_0x294457,_0x2e2d73);},_0xd26b4['on'](_0xa85442(0x1ff),_0x12a3f2),_0xd26b4['on'](_0xa85442(0x243),_0x570e6d),_0xd26b4;}return _0x3bd460=_0x1d0f36,_0x3bd460;}_0x47eca2(),_0x1d4259(),_0x3f08a4();var _0x594f77=_0x20d4a5();const _0x28bec8=_0x1e8228(_0x594f77);var _0xdd81b5,_0x522786;function _0x2afad7(){if(_0x522786)return _0xdd81b5;_0x522786=0x1;const {tokenChars:_0x2fd56a}=_0x11f1b1();function _0x196fe2(_0x1fa2b5){const _0x4df2f4=_0x2281,_0xee09eb=new Set();let _0x1d1ef9=-0x1,_0xdc85b4=-0x1,_0x4d888e=0x0;for(_0x4d888e;_0x4d888e<_0x1fa2b5['length'];_0x4d888e++){const _0x224f15=_0x1fa2b5['charCodeAt'](_0x4d888e);if(_0xdc85b4===-0x1&&_0x2fd56a[_0x224f15]===0x1)_0x1d1ef9===-0x1&&(_0x1d1ef9=_0x4d888e);else{if(_0x4d888e!==0x0&&(_0x224f15===0x20||_0x224f15===0x9))_0xdc85b4===-0x1&&_0x1d1ef9!==-0x1&&(_0xdc85b4=_0x4d888e);else{if(_0x224f15===0x2c){if(_0x1d1ef9===-0x1)throw new SyntaxError(_0x4df2f4(0x1d0)+_0x4d888e);_0xdc85b4===-0x1&&(_0xdc85b4=_0x4d888e);const _0x5161a8=_0x1fa2b5['slice'](_0x1d1ef9,_0xdc85b4);if(_0xee09eb[_0x4df2f4(0x29b)](_0x5161a8))throw new SyntaxError('The\x20\x22'+_0x5161a8+'\x22\x20subprotocol\x20is\x20duplicated');_0xee09eb[_0x4df2f4(0x33b)](_0x5161a8),_0x1d1ef9=_0xdc85b4=-0x1;}else throw new SyntaxError(_0x4df2f4(0x1d0)+_0x4d888e);}}}if(_0x1d1ef9===-0x1||_0xdc85b4!==-0x1)throw new SyntaxError(_0x4df2f4(0x319));const _0x4b7fda=_0x1fa2b5['slice'](_0x1d1ef9,_0x4d888e);if(_0xee09eb['has'](_0x4b7fda))throw new SyntaxError(_0x4df2f4(0x292)+_0x4b7fda+_0x4df2f4(0x362));return _0xee09eb['add'](_0x4b7fda),_0xee09eb;}return _0xdd81b5={'parse':_0x196fe2},_0xdd81b5;}var _0xb8a6dc,_0x4997d5;function _0x1c3c2d(){const _0x167e3e=_0x51c6a1;if(_0x4997d5)return _0xb8a6dc;_0x4997d5=0x1;const _0x23d249=_0x51ae7e,_0x1f775f=_0x41b66e,{Duplex:_0x1fb1d2}=_0x178ce2,{createHash:_0x49a75e}=_0x2bdc4f,_0x217d32=_0x329d95(),_0x183239=_0x5391fb(),_0x5d7006=_0x2afad7(),_0x9233be=_0x20d4a5(),{GUID:_0x14001b,kWebSocket:_0x2c1080}=_0x3456f8(),_0x3c5251=/^[+/0-9A-Za-z]{22}==$/,_0x29ab3a=0x0,_0x1346a0=0x1,_0xc72e65=0x2;class _0x63eee extends _0x23d249{constructor(_0x1a2991,_0x5177f1){const _0x3af0ae=_0x2281;if(super(),_0x1a2991={'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':_0x9233be,..._0x1a2991},_0x1a2991[_0x3af0ae(0x285)]==null&&!_0x1a2991[_0x3af0ae(0x2f6)]&&!_0x1a2991[_0x3af0ae(0x1e0)]||_0x1a2991[_0x3af0ae(0x285)]!=null&&(_0x1a2991[_0x3af0ae(0x2f6)]||_0x1a2991[_0x3af0ae(0x1e0)])||_0x1a2991[_0x3af0ae(0x2f6)]&&_0x1a2991[_0x3af0ae(0x1e0)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x1a2991['port']!=null?(this['_server']=_0x1f775f[_0x3af0ae(0x1af)]((_0x5ace92,_0x73840f)=>{const _0x4f081e=_0x3af0ae,_0x525a28=_0x1f775f[_0x4f081e(0x359)][0x1aa];_0x73840f[_0x4f081e(0x1d4)](0x1aa,{'Content-Length':_0x525a28['length'],'Content-Type':_0x4f081e(0x342)}),_0x73840f[_0x4f081e(0x1ff)](_0x525a28);}),this[_0x3af0ae(0x1f4)][_0x3af0ae(0x20b)](_0x1a2991['port'],_0x1a2991[_0x3af0ae(0x1e9)],_0x1a2991[_0x3af0ae(0x2c8)],_0x5177f1)):_0x1a2991[_0x3af0ae(0x2f6)]&&(this[_0x3af0ae(0x1f4)]=_0x1a2991['server']),this[_0x3af0ae(0x1f4)]){const _0x48358d=this['emit'][_0x3af0ae(0x34a)](this,_0x3af0ae(0x36e));this[_0x3af0ae(0x1fd)]=_0x49f641(this[_0x3af0ae(0x1f4)],{'listening':this[_0x3af0ae(0x2aa)]['bind'](this,_0x3af0ae(0x20d)),'error':this['emit']['bind'](this,_0x3af0ae(0x243)),'upgrade':(_0x59c6f7,_0x49928a,_0x4a262c)=>{const _0x1ccdf1=_0x3af0ae;this[_0x1ccdf1(0x213)](_0x59c6f7,_0x49928a,_0x4a262c,_0x48358d);}});}_0x1a2991['perMessageDeflate']===!0x0&&(_0x1a2991[_0x3af0ae(0x1b3)]={}),_0x1a2991[_0x3af0ae(0x37b)]&&(this[_0x3af0ae(0x2ed)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x3af0ae(0x304)]=_0x1a2991,this[_0x3af0ae(0x26b)]=_0x29ab3a;}[_0x167e3e(0x1e2)](){const _0x29b99c=_0x167e3e;if(this['options'][_0x29b99c(0x1e0)])throw new Error(_0x29b99c(0x294));return this[_0x29b99c(0x1f4)]?this['_server'][_0x29b99c(0x1e2)]():null;}[_0x167e3e(0x264)](_0x2406d1){const _0x281a12=_0x167e3e;if(this[_0x281a12(0x26b)]===_0xc72e65){_0x2406d1&&this[_0x281a12(0x2fb)](_0x281a12(0x264),()=>{_0x2406d1(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x281a12(0x246)](_0x979c07,this);return;}if(_0x2406d1&&this[_0x281a12(0x2fb)](_0x281a12(0x264),_0x2406d1),this['_state']!==_0x1346a0){if(this[_0x281a12(0x26b)]=_0x1346a0,this[_0x281a12(0x304)][_0x281a12(0x1e0)]||this['options'][_0x281a12(0x2f6)])this[_0x281a12(0x1f4)]&&(this['_removeListeners'](),this[_0x281a12(0x1fd)]=this[_0x281a12(0x1f4)]=null),this[_0x281a12(0x2ed)]?this[_0x281a12(0x2ed)]['size']?this[_0x281a12(0x1c7)]=!0x0:process[_0x281a12(0x246)](_0x979c07,this):process['nextTick'](_0x979c07,this);else{const _0x2c383a=this[_0x281a12(0x1f4)];this[_0x281a12(0x1fd)](),this[_0x281a12(0x1fd)]=this[_0x281a12(0x1f4)]=null,_0x2c383a[_0x281a12(0x264)](()=>{_0x979c07(this);});}}}[_0x167e3e(0x282)](_0x1c9a8b){const _0xb117cc=_0x167e3e;if(this[_0xb117cc(0x304)]['path']){const _0x2a2eb0=_0x1c9a8b[_0xb117cc(0x308)][_0xb117cc(0x2cc)]('?');if((_0x2a2eb0!==-0x1?_0x1c9a8b[_0xb117cc(0x308)][_0xb117cc(0x207)](0x0,_0x2a2eb0):_0x1c9a8b[_0xb117cc(0x308)])!==this[_0xb117cc(0x304)][_0xb117cc(0x204)])return!0x1;}return!0x0;}[_0x167e3e(0x213)](_0x3db5d5,_0x5c1ab3,_0x2cf798,_0x493beb){const _0x58e8aa=_0x167e3e;_0x5c1ab3['on'](_0x58e8aa(0x243),_0x2dedae);const _0x3cd119=_0x3db5d5[_0x58e8aa(0x330)][_0x58e8aa(0x2dd)],_0x106b81=_0x3db5d5[_0x58e8aa(0x330)]['upgrade'],_0x1c083e=+_0x3db5d5[_0x58e8aa(0x330)][_0x58e8aa(0x2fd)];if(_0x3db5d5[_0x58e8aa(0x366)]!==_0x58e8aa(0x1f0)){_0xa217aa(this,_0x3db5d5,_0x5c1ab3,0x195,_0x58e8aa(0x2eb));return;}if(_0x106b81===void 0x0||_0x106b81[_0x58e8aa(0x256)]()!==_0x58e8aa(0x31b)){_0xa217aa(this,_0x3db5d5,_0x5c1ab3,0x190,_0x58e8aa(0x381));return;}if(_0x3cd119===void 0x0||!_0x3c5251[_0x58e8aa(0x2d8)](_0x3cd119)){_0xa217aa(this,_0x3db5d5,_0x5c1ab3,0x190,_0x58e8aa(0x1ea));return;}if(_0x1c083e!==0xd&&_0x1c083e!==0x8){_0xa217aa(this,_0x3db5d5,_0x5c1ab3,0x190,_0x58e8aa(0x2ee),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x58e8aa(0x282)](_0x3db5d5)){_0x1b9ec5(_0x5c1ab3,0x190);return;}const _0x2dc522=_0x3db5d5[_0x58e8aa(0x330)][_0x58e8aa(0x368)];let _0x4c91d1=new Set();if(_0x2dc522!==void 0x0)try{_0x4c91d1=_0x5d7006[_0x58e8aa(0x348)](_0x2dc522);}catch{_0xa217aa(this,_0x3db5d5,_0x5c1ab3,0x190,_0x58e8aa(0x275));return;}const _0x1ac2e7=_0x3db5d5['headers']['sec-websocket-extensions'],_0x444d7e={};if(this[_0x58e8aa(0x304)][_0x58e8aa(0x1b3)]&&_0x1ac2e7!==void 0x0){const _0x122e4f=new _0x183239(this['options'][_0x58e8aa(0x1b3)],!0x0,this[_0x58e8aa(0x304)][_0x58e8aa(0x357)]);try{const _0x343fe5=_0x217d32[_0x58e8aa(0x348)](_0x1ac2e7);_0x343fe5[_0x183239['extensionName']]&&(_0x122e4f[_0x58e8aa(0x21b)](_0x343fe5[_0x183239[_0x58e8aa(0x1b8)]]),_0x444d7e[_0x183239[_0x58e8aa(0x1b8)]]=_0x122e4f);}catch{_0xa217aa(this,_0x3db5d5,_0x5c1ab3,0x190,_0x58e8aa(0x23c));return;}}if(this[_0x58e8aa(0x304)][_0x58e8aa(0x26d)]){const _0x4300c9={'origin':_0x3db5d5[_0x58e8aa(0x330)][''+(_0x1c083e===0x8?_0x58e8aa(0x1bc):_0x58e8aa(0x27d))],'secure':!!(_0x3db5d5[_0x58e8aa(0x23a)][_0x58e8aa(0x364)]||_0x3db5d5[_0x58e8aa(0x23a)][_0x58e8aa(0x27b)]),'req':_0x3db5d5};if(this[_0x58e8aa(0x304)][_0x58e8aa(0x26d)]['length']===0x2){this[_0x58e8aa(0x304)]['verifyClient'](_0x4300c9,(_0x109203,_0x4ef553,_0x4092a2,_0x55c0e1)=>{if(!_0x109203)return _0x1b9ec5(_0x5c1ab3,_0x4ef553||0x191,_0x4092a2,_0x55c0e1);this['completeUpgrade'](_0x444d7e,_0x3cd119,_0x4c91d1,_0x3db5d5,_0x5c1ab3,_0x2cf798,_0x493beb);});return;}if(!this[_0x58e8aa(0x304)]['verifyClient'](_0x4300c9))return _0x1b9ec5(_0x5c1ab3,0x191);}this[_0x58e8aa(0x2ca)](_0x444d7e,_0x3cd119,_0x4c91d1,_0x3db5d5,_0x5c1ab3,_0x2cf798,_0x493beb);}['completeUpgrade'](_0x429d85,_0x42e2db,_0x3dbb94,_0x7abbaa,_0x13f8d7,_0x25e117,_0x455a02){const _0xa77a9d=_0x167e3e;if(!_0x13f8d7[_0xa77a9d(0x353)]||!_0x13f8d7[_0xa77a9d(0x1fb)])return _0x13f8d7[_0xa77a9d(0x301)]();if(_0x13f8d7[_0x2c1080])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x29ab3a)return _0x1b9ec5(_0x13f8d7,0x1f7);const _0x9b6c9e=[_0xa77a9d(0x2cd),_0xa77a9d(0x37c),_0xa77a9d(0x22e),_0xa77a9d(0x324)+_0x49a75e(_0xa77a9d(0x2a4))[_0xa77a9d(0x2e4)](_0x42e2db+_0x14001b)['digest'](_0xa77a9d(0x2e5))],_0x3f8a28=new this['options']['WebSocket'](null,void 0x0,this['options']);if(_0x3dbb94[_0xa77a9d(0x37d)]){const _0x1fa963=this['options'][_0xa77a9d(0x26a)]?this[_0xa77a9d(0x304)][_0xa77a9d(0x26a)](_0x3dbb94,_0x7abbaa):_0x3dbb94[_0xa77a9d(0x371)]()[_0xa77a9d(0x34f)]()[_0xa77a9d(0x306)];_0x1fa963&&(_0x9b6c9e[_0xa77a9d(0x238)](_0xa77a9d(0x2a8)+_0x1fa963),_0x3f8a28[_0xa77a9d(0x1ec)]=_0x1fa963);}if(_0x429d85[_0x183239[_0xa77a9d(0x1b8)]]){const _0x57d83f=_0x429d85[_0x183239['extensionName']][_0xa77a9d(0x31c)],_0x2eb7ce=_0x217d32[_0xa77a9d(0x252)]({[_0x183239[_0xa77a9d(0x1b8)]]:[_0x57d83f]});_0x9b6c9e['push'](_0xa77a9d(0x382)+_0x2eb7ce),_0x3f8a28[_0xa77a9d(0x233)]=_0x429d85;}this[_0xa77a9d(0x2aa)](_0xa77a9d(0x330),_0x9b6c9e,_0x7abbaa),_0x13f8d7['write'](_0x9b6c9e[_0xa77a9d(0x2e1)]('\x0d\x0a')[_0xa77a9d(0x1f2)]('\x0d\x0a')),_0x13f8d7[_0xa77a9d(0x2e6)]('error',_0x2dedae),_0x3f8a28[_0xa77a9d(0x2b3)](_0x13f8d7,_0x25e117,{'allowSynchronousEvents':this[_0xa77a9d(0x304)]['allowSynchronousEvents'],'maxPayload':this['options'][_0xa77a9d(0x357)],'skipUTF8Validation':this[_0xa77a9d(0x304)][_0xa77a9d(0x1dc)]}),this[_0xa77a9d(0x2ed)]&&(this[_0xa77a9d(0x2ed)][_0xa77a9d(0x33b)](_0x3f8a28),_0x3f8a28['on']('close',()=>{const _0x4cd337=_0xa77a9d;this[_0x4cd337(0x2ed)]['delete'](_0x3f8a28),this[_0x4cd337(0x1c7)]&&!this[_0x4cd337(0x2ed)][_0x4cd337(0x37d)]&&process[_0x4cd337(0x246)](_0x979c07,this);})),_0x455a02(_0x3f8a28,_0x7abbaa);}}_0xb8a6dc=_0x63eee;function _0x49f641(_0x28c3c2,_0x58ba1c){const _0x40e852=_0x167e3e;for(const _0xbf2af2 of Object[_0x40e852(0x23b)](_0x58ba1c))_0x28c3c2['on'](_0xbf2af2,_0x58ba1c[_0xbf2af2]);return function(){const _0x37a682=_0x40e852;for(const _0x68c35e of Object[_0x37a682(0x23b)](_0x58ba1c))_0x28c3c2['removeListener'](_0x68c35e,_0x58ba1c[_0x68c35e]);};}function _0x979c07(_0x392956){const _0x43de39=_0x167e3e;_0x392956['_state']=_0xc72e65,_0x392956[_0x43de39(0x2aa)]('close');}function _0x2dedae(){const _0x19ede7=_0x167e3e;this[_0x19ede7(0x301)]();}function _0x1b9ec5(_0x5188e8,_0x162668,_0x2d6ca0,_0x12954a){const _0x380b79=_0x167e3e;_0x2d6ca0=_0x2d6ca0||_0x1f775f[_0x380b79(0x359)][_0x162668],_0x12954a={'Connection':_0x380b79(0x264),'Content-Type':'text/html','Content-Length':Buffer[_0x380b79(0x1f1)](_0x2d6ca0),..._0x12954a},_0x5188e8[_0x380b79(0x2fb)]('finish',_0x5188e8[_0x380b79(0x301)]),_0x5188e8['end']('HTTP/1.1\x20'+_0x162668+'\x20'+_0x1f775f[_0x380b79(0x359)][_0x162668]+'\x0d\x0a'+Object[_0x380b79(0x23b)](_0x12954a)[_0x380b79(0x1c1)](_0x3c7e23=>_0x3c7e23+':\x20'+_0x12954a[_0x3c7e23])['join']('\x0d\x0a')+_0x380b79(0x25a)+_0x2d6ca0);}function _0xa217aa(_0x1f42a6,_0x174ac0,_0x1743b5,_0x48461b,_0x3addec,_0x3e1874){const _0x18d863=_0x167e3e;if(_0x1f42a6[_0x18d863(0x1e1)](_0x18d863(0x265))){const _0x5c5a85=new Error(_0x3addec);Error[_0x18d863(0x312)](_0x5c5a85,_0xa217aa),_0x1f42a6[_0x18d863(0x2aa)](_0x18d863(0x265),_0x5c5a85,_0x1743b5,_0x174ac0);}else _0x1b9ec5(_0x1743b5,_0x48461b,_0x3addec,_0x3e1874);}return _0xb8a6dc;}_0x1c3c2d();var _0x474321=Object['getOwnPropertyDescriptor'],_0x32b201=(_0x1bbf21,_0x39d6a7,_0x4b6648,_0x37cb3c)=>{for(var _0x473a26=_0x37cb3c>0x1?void 0x0:_0x37cb3c?_0x474321(_0x39d6a7,_0x4b6648):_0x39d6a7,_0x5a80a4=_0x1bbf21['length']-0x1,_0x49918e;_0x5a80a4>=0x0;_0x5a80a4--)(_0x49918e=_0x1bbf21[_0x5a80a4])&&(_0x473a26=_0x49918e(_0x473a26)||_0x473a26);return _0x473a26;},_0x4b3af3=(_0x3868f1,_0x375ed5)=>(_0x15e4cc,_0x1381ba)=>_0x375ed5(_0x15e4cc,_0x1381ba,_0x3868f1);let _0x1d859d=class extends _0x466ed1[_0x51c6a1(0x20f)]{constructor(_0x1d223e){const _0x6c2bca=_0x51c6a1;super(),this[_0x6c2bca(0x2e9)]=_0x1d223e;}[_0x51c6a1(0x1cd)](_0x2aeeb7){const _0x8d874b=_0x51c6a1;var _0x35e921;const _0x199c1f=((_0x35e921=this[_0x8d874b(0x2e9)][_0x8d874b(0x1d3)](_0x4c7100[_0x8d874b(0x2a5)]))==null?void 0x0:_0x35e921[_0x8d874b(0x28c)])||{};try{const _0x2f5f66=new _0x28bec8(_0x2aeeb7,{'headers':{..._0x199c1f}}),_0x318a59=new _0x466ed1[(_0x8d874b(0x376))]();return{'URL':_0x2aeeb7,'close':(_0x200de2,_0x34b21a)=>{const _0x5c53e8=_0x8d874b;_0x2f5f66[_0x5c53e8(0x264)](_0x200de2,_0x34b21a),_0x318a59[_0x5c53e8(0x1d5)]();},'send':_0x2ffabb=>{const _0x422b0e=_0x8d874b;_0x2f5f66[_0x422b0e(0x1de)](_0x2ffabb);},'open$':new _0x5ca517['Observable'](_0x2ee11e=>{const _0x49a7a1=_0x8d874b,_0x789211=_0x3ba5b3=>_0x2ee11e[_0x49a7a1(0x34f)](_0x3ba5b3);_0x2f5f66[_0x49a7a1(0x2f2)](_0x49a7a1(0x307),_0x789211),_0x318a59['add'](_0x466ed1[_0x49a7a1(0x1a9)](()=>_0x2f5f66[_0x49a7a1(0x35a)](_0x49a7a1(0x307),_0x789211)));})['pipe'](_0x5ca517[_0x8d874b(0x24f)]()),'close$':new _0x5ca517['Observable'](_0x25b728=>{const _0x4aba6d=_0x8d874b,_0x597e3d=_0x4e110f=>_0x25b728[_0x4aba6d(0x34f)](_0x4e110f);_0x2f5f66[_0x4aba6d(0x2f2)](_0x4aba6d(0x264),_0x597e3d),_0x318a59[_0x4aba6d(0x33b)](_0x466ed1['toDisposable'](()=>_0x2f5f66['removeEventListener'](_0x4aba6d(0x264),_0x597e3d)));})[_0x8d874b(0x203)](_0x5ca517[_0x8d874b(0x24f)]()),'error$':new _0x5ca517['Observable'](_0x52902a=>{const _0x2cd7f0=_0x8d874b,_0x3eeee2=_0xdf110a=>_0x52902a[_0x2cd7f0(0x34f)](_0xdf110a);_0x2f5f66['addEventListener'](_0x2cd7f0(0x243),_0x3eeee2),_0x318a59[_0x2cd7f0(0x33b)](_0x466ed1['toDisposable'](()=>_0x2f5f66[_0x2cd7f0(0x35a)](_0x2cd7f0(0x243),_0x3eeee2)));})['pipe'](_0x5ca517['share']()),'message$':new _0x5ca517['Observable'](_0x2ff322=>{const _0x127746=_0x8d874b,_0x258125=_0x2e5fb5=>_0x2ff322['next'](_0x2e5fb5);_0x2f5f66[_0x127746(0x2f2)](_0x127746(0x218),_0x258125),_0x318a59[_0x127746(0x33b)](_0x466ed1['toDisposable'](()=>_0x2f5f66[_0x127746(0x35a)](_0x127746(0x218),_0x258125)));})[_0x8d874b(0x203)](_0x5ca517[_0x8d874b(0x24f)]())};}catch(_0x3fbf37){return console[_0x8d874b(0x243)](_0x3fbf37),null;}}};_0x1d859d=_0x32b201([_0x4b3af3(0x0,_0x466ed1[_0x51c6a1(0x23d)])],_0x1d859d);var _0x3ec05c=Object[_0x51c6a1(0x317)],_0xb43e2a=Object[_0x51c6a1(0x2b8)],_0x4ed3fd=(_0x5cc7c9,_0x3ba743,_0x169951)=>_0x3ba743 in _0x5cc7c9?_0x3ec05c(_0x5cc7c9,_0x3ba743,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x169951}):_0x5cc7c9[_0x3ba743]=_0x169951,_0x5d52ca=(_0x2dd722,_0x44ac5a,_0x445aa5,_0x397f8b)=>{const _0x4bdc8f=_0x51c6a1;for(var _0x5eed70=_0x397f8b>0x1?void 0x0:_0x397f8b?_0xb43e2a(_0x44ac5a,_0x445aa5):_0x44ac5a,_0x19f2d5=_0x2dd722[_0x4bdc8f(0x279)]-0x1,_0x45dd0d;_0x19f2d5>=0x0;_0x19f2d5--)(_0x45dd0d=_0x2dd722[_0x19f2d5])&&(_0x5eed70=_0x45dd0d(_0x5eed70)||_0x5eed70);return _0x5eed70;},_0x574dc2=(_0x198037,_0xc9061f)=>(_0x3f7d06,_0x141640)=>_0xc9061f(_0x3f7d06,_0x141640,_0x198037),_0x2d4994=(_0x146679,_0x57d314,_0x1318e1)=>_0x4ed3fd(_0x146679,_0x57d314+'',_0x1318e1);_0x20a95c[_0x51c6a1(0x2b7)]=class extends _0x466ed1[_0x51c6a1(0x1db)]{constructor(_0x3983af=_0x37a710,_0x450e2c,_0x3cf249){const _0x492a41=_0x51c6a1;super(),this[_0x492a41(0x2e9)]=_0x450e2c,this[_0x492a41(0x20e)]=_0x3cf249,this[_0x492a41(0x2e9)][_0x492a41(0x276)](_0x3cff07,_0x3983af);}[_0x51c6a1(0x1bb)](){this['_registerDependencies']();}[_0x51c6a1(0x29a)](){const _0x14a1e0=_0x51c6a1;_0x466ed1[_0x14a1e0(0x33d)](this[_0x14a1e0(0x20e)],[[_0x3f2491[_0x14a1e0(0x349)],{'useClass':_0x1d859d}]]);}},_0x2d4994(_0x20a95c[_0x51c6a1(0x2b7)],_0x51c6a1(0x1cf),_0x51c6a1(0x2d5)),_0x20a95c[_0x51c6a1(0x2b7)]=_0x5d52ca([_0x466ed1[_0x51c6a1(0x244)](_0x4c7100[_0x51c6a1(0x224)]),_0x574dc2(0x1,_0x466ed1[_0x51c6a1(0x23d)]),_0x574dc2(0x2,_0x466ed1['Inject'](_0x466ed1['Injector']))],_0x20a95c[_0x51c6a1(0x2b7)]);var _0x18cbdd=Object[_0x51c6a1(0x2b8)],_0x32f47e=(_0x12418a,_0x521872,_0x55d17a,_0x497b1d)=>{const _0x4cb3f1=_0x51c6a1;for(var _0x540a0e=_0x497b1d>0x1?void 0x0:_0x497b1d?_0x18cbdd(_0x521872,_0x55d17a):_0x521872,_0x337d69=_0x12418a[_0x4cb3f1(0x279)]-0x1,_0x39abe3;_0x337d69>=0x0;_0x337d69--)(_0x39abe3=_0x12418a[_0x337d69])&&(_0x540a0e=_0x39abe3(_0x540a0e)||_0x540a0e);return _0x540a0e;},_0x884d25=(_0x138c33,_0x3ecb3a)=>(_0x57a8c0,_0x109d82)=>_0x3ecb3a(_0x57a8c0,_0x109d82,_0x138c33);_0x20a95c[_0x51c6a1(0x263)]=class extends _0x4c7100[_0x51c6a1(0x1e5)]{constructor(_0x3bde52,_0xb947d4,_0x291448,_0x172552,_0x10923b){const _0x11b616=_0x51c6a1;super(_0x3bde52,_0xb947d4,_0x291448,_0x172552,_0x10923b);const _0x268163=this['_configService']['getConfig'](_0x4c7100['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this[_0x11b616(0x1d8)]['registerHTTPInterceptor']({'interceptor':(_0xf1ac4b,_0x3ba5e3)=>{const _0x1dfe6f=_0x11b616;var _0x177dfa;const _0x3b0d15=_0xf1ac4b[_0x1dfe6f(0x330)];return(_0x177dfa=_0x268163==null?void 0x0:_0x268163['customHeaders'])!=null&&_0x177dfa[_0x1dfe6f(0x2df)]&&_0x3b0d15[_0x1dfe6f(0x2fe)]('Cookie',_0x268163['customHeaders']['cookie']),_0x3ba5e3(_0xf1ac4b);}});}async[_0x51c6a1(0x1cd)](_0x322a5f){return this['_doCreateSocket'](_0x322a5f);}},_0x20a95c[_0x51c6a1(0x263)]=_0x32f47e([_0x884d25(0x0,_0x466ed1[_0x51c6a1(0x343)](_0x466ed1[_0x51c6a1(0x240)])),_0x884d25(0x1,_0x466ed1[_0x51c6a1(0x343)](_0x3f2491[_0x51c6a1(0x323)])),_0x884d25(0x2,_0x466ed1[_0x51c6a1(0x23d)]),_0x884d25(0x3,_0x466ed1[_0x51c6a1(0x373)]),_0x884d25(0x4,_0x47e232[_0x51c6a1(0x367)])],_0x20a95c[_0x51c6a1(0x263)]),_0x20a95c[_0x51c6a1(0x20a)]=_0x3cff07,Object[_0x51c6a1(0x317)](_0x20a95c,Symbol['toStringTag'],{'value':'Module'});}));function _0x2281(_0x195e62,_0x96af91){_0x195e62=_0x195e62-0x1a9;const _0x2db3a9=_0x2db3();let _0x2281d1=_0x2db3a9[_0x195e62];return _0x2281d1;}function _0x2db3(){const _0x2f9020=['map','_payloadLength','_firstFragment','_closeFrameSent','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','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_shouldEmitClose','Unknown\x20parameter\x20\x22','UniverProCollaborationClientNode','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','buffers','require$$4','createSocket','readOnly','pluginName','Unexpected\x20character\x20at\x20index\x20','kType','_redirects','getConfig','writeHead','dispose','type','charCodeAt','_httpService','zlibInflateOptions','replace','Plugin','skipUTF8Validation','socketPath','send','require$$1','noServer','listenerCount','address','kData','Upgrade','CollaborationSocketService','haveLength','wasClean','File','host','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','writeUInt16BE','_protocol','split','amd','_fragmented','GET','byteLength','join','__esModule','_server','dispatch','data','_options','binaryType','Module','WS_ERR_UNEXPECTED_MASK','writable','writeUIntBE','_removeListeners','blob','end','_closeTimer','The\x20URL\x27s\x20pathname\x20is\x20empty','constructor','pipe','path','search','_generateMask','slice','_readyState','_loop','COLLABORATION_CLIENT_NODE_CONFIG_KEY','listen','concurrency','listening','_injector','Disposable','_url','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_originalIpc','handleUpgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_ERR_INVALID_UTF8','kIsForOnEventAttribute','protocolVersion','message','finishRequest','getPayloadLength16','accept','_closeMessage','_originalHostOrSocketPath','MASK\x20must\x20be\x20clear','location','server_max_window_bits','needDrain','_req','dequeue','UniverCollaborationClientPlugin','Origin','_autoPong','write','reset','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Sec-WebSocket-Origin','alloc','password','WS_NO_UTF_8_VALIDATE','Connection:\x20Upgrade','byteOffset','allocUnsafe','sendFrame','require$$0$1','_extensions','https','maskBuffer','connect','\x22:\x20','push','redirect','socket','keys','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','IConfigService','startLoop','maxRedirects','Injector','isInteger','isView','error','DependentOn','listeners','nextTick','_fin','code','request','1720458IcyQhp','function','objectMode','_maxPayload','_bufferedAmount','share','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_closeFrameReceived','format','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','reason','_errorEmitted','toLowerCase','_max_window_bits','_closeCode','invalid\x20opcode\x200','\x0d\x0a\x0d\x0a','\x20(supported\x20versions:\x20','stream','normalizeParams','defaultPort','isBuffer','create','rxjs','_write','NodeCollaborationSocketService','close','wsClientError','clientMaxWindowBits','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','concurrencyLimit','21DrrQRh','handleProtocols','_state','@univerjs/core','verifyClient','shift','_originalSecure','flush','binary','ws+unix:','WS_ERR_UNEXPECTED_RSV_2_3','timeout','Invalid\x20Sec-WebSocket-Protocol\x20header','setConfig','104bzaBoc','finish','length','@univerjs-pro/collaboration-client','encrypted','640035CaQcMn','origin','require$$3','isPaused','isArray','UniverProCollaboration','shouldHandle','Invalid\x20value\x20for\x20parameter\x20\x22','hasOwnProperty','port','includes','_mask','href','terminate','cork','readUInt16BE','customHeaders','Server\x20sent\x20an\x20invalid\x20subprotocol','createDeflateRaw','conclude','Invalid\x20Sec-WebSocket-Extensions\x20header','servername','The\x20\x22','\x22\x20must\x20have\x20only\x20a\x20single\x20value','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','getBlobData','Server\x20sent\x20no\x20subprotocol','The\x20URL\x20contains\x20a\x20fragment\x20identifier','digest','Max\x20payload\x20size\x20exceeded','_registerDependencies','has','_opcode','unexpected-response','isIP','client','pause','serverNoContextTakeover','_socket','_fragments','sha1','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','readUInt32BE','_maskBuffer','Sec-WebSocket-Protocol:\x20','acceptAsServer','emit','frame','wss:','consume','setNoDelay','CLOSING','onopen','getInfo','autoPong','setSocket','zlibDeflateOptions','tls','allowSynchronousEvents','UniverCollaborationClientNodePlugin','getOwnPropertyDescriptor','auth','nodebuffer','WS_ERR_UNEXPECTED_RSV_1','number','exports','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','apply','Z_SYNC_FLUSH','require$$0','_masked','arrayBuffer','uncork','mask','species','174451cwXKhd','backlog','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','completeUpgrade','jobs','indexOf','HTTP/1.1\x20101\x20Switching\x20Protocols','_buffers','kTarget','catch','followRedirects','enqueue','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','WS_ERR_INVALID_OPCODE','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_threshold','offer','test','setHeader','WS_ERR_EXPECTED_MASK','sec-websocket-extensions','createError','sec-websocket-key','default','cookie','_inflate','concat','errorEmitted','kWasClean','update','base64','removeListener','WS_ERR_INVALID_CLOSE_CODE','_receiver','_configService','require$$2$1','Invalid\x20HTTP\x20method','toStringTag','clients','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','http:','ping','decompress','addEventListener','protocol','call','@univerjs/network','server','opcode','require$$1$1','permessage-deflate','require$$0$2','once','require$$7','sec-websocket-version','set','_bufferedBytes','_totalPayloadLength','destroy','net','_decompress','options','onerror','value','open','url','_paused','client_max_window_bits','bufferedAmount','read','_readableState','3009987IDFXib','hostname','authorization','client_no_context_takeover','captureStackTrace','string','_compress','OPEN','_no_context_takeover','defineProperty','pathname','Unexpected\x20end\x20of\x20input','pending','websocket','params','cleanup','_final','invalid\x20payload\x20length\x20','toString','emitClose','_destroy','HTTPService','Sec-WebSocket-Accept:\x20','getMask','fin','server_no_context_takeover','invalid\x20opcode\x20','target','_errored','_compressed','object','createInflateRaw','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','15zNRXwW','headers','CLOSED','unshift','endEmitted','upgrade','Sec-WebSocket-Protocol','serverMaxWindowBits','abort','acceptAsClient','25484550dMFIHg','kMessage','add','setTimeout','registerDependencies','crypto','rsv1','UniverProCollaborationClient','forEach','text/plain','Inject','UniverCore','kError','extensions','kDone','parse','ISocketService','bind','onmessage','_queue','invalid\x20UTF-8\x20sequence','_writableState','next','RSV1\x20must\x20be\x20clear','ws:','destroyed','readable','readyState','Invalid\x20URL:\x20','status-code','maxPayload','UniverNetwork','STATUS_CODES','removeEventListener','_sender','_allowSynchronousEvents','_deflate','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_messageLength','response','username','\x22\x20subprotocol\x20is\x20duplicated','get','authorized','buffer','method','ISnapshotServerService','sec-websocket-protocol','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','finished','_read','http','connection','callback','1017516yKINUi','values','CONNECTING','ILogService','construct','Unexpected\x20server\x20response:\x20','DisposableCollection','Invalid\x20WebSocket\x20frame:\x20','prototype','dataMessage','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','clientTracking','Upgrade:\x20websocket','size','_skipUTF8Validation','compress','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Invalid\x20Upgrade\x20header','Sec-WebSocket-Extensions:\x20','arraybuffer','toDisposable','MASK\x20must\x20be\x20set','Z_DEFAULT_WINDOWBITS','drain','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','pong','createServer','generateMask','handleEvent','from','perMessageDeflate','require$$0$3','https:','threshold','handshakeTimeout','extensionName','_isServer','1793272SKNEKN','onStarting','sec-websocket-origin','_binaryType','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','onclose','resume'];_0x2db3=function(){return _0x2f9020;};return _0x2db3();}
1
+ function _0x3daf(){const _0x5d0219=['serverNoContextTakeover','byteLength','websocket','extensionName','isIP','_closeFrameSent','opcode','client_max_window_bits','UniverProCollaborationClient','pluginName','Server\x20sent\x20no\x20subprotocol','_originalHostOrSocketPath','allowSynchronousEvents','\x20(supported\x20versions:\x20','data','pathname','4568568ggWqcR','_closeFrameReceived','constructor','_no_context_takeover','WS_ERR_UNEXPECTED_MASK','handleProtocols','isInteger','Unexpected\x20character\x20at\x20index\x20','enqueue','kCode','invalid\x20UTF-8\x20sequence','exports','require$$1$1','includes','onclose','_loop','setSocket','create','WebSocket','errorEmitted','error','construct','_fragments','https','finished','indexOf','171xcLCca','cleanup','callback','concurrency','MASK\x20must\x20be\x20clear','_fragmented','3346DJndYr','Invalid\x20HTTP\x20method','amd','_sender','_opcode','clientTracking','keys','sec-websocket-extensions','socketPath','charCodeAt','1366799IynJnM','open','_req','Invalid\x20value\x20for\x20parameter\x20\x22','isServer','Invalid\x20Sec-WebSocket-Extensions\x20header','bufferedAmount','reset','Module','byteOffset','invalid\x20opcode\x20','226JmeuLX','jobs','shouldHandle','arrayBuffer','sec-websocket-version','client','has','get','pong','kMessage','@univerjs-pro/collaboration-client','consume','generateMask','rsv1','require$$7','origin','_maskBuffer','__esModule','The\x20\x22','autoPong','36YGzgBt','ILogService','createServer','_isServer','maxPayload','length','Observable','UniverProCollaboration','_closeCode','removeListener','UniverCollaborationClientNodePlugin','Blob','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','server_max_window_bits','kRun','defineProperty','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','auth','acceptAsClient','endEmitted','isBuffer','_bufferedAmount','WS_NO_UTF_8_VALIDATE','skipUTF8Validation','replace','Maximum\x20redirects\x20exceeded','_originalIpc','listen','conclude','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unknown\x20parameter\x20\x22','verifyClient','accept','terminate','number','UniverNetwork','pipe','sha1','CollaborationSocketService','WS_ERR_INVALID_OPCODE','blob','encrypted','kWasClean','hash','_buffers','\x22\x20subprotocol\x20is\x20duplicated','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_fin','destroy','dispatch','WS_ERR_EXPECTED_FIN','unexpected-response','find','captureStackTrace','search','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_server','Invalid\x20Upgrade\x20header','permessage-deflate','split','Unexpected\x20end\x20of\x20input','1545wBFKMW','send','getConfig','Unexpected\x20server\x20response:\x20','getPayloadLength16','readUInt16BE','_redirects','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','defaultPort','readUInt32BE','binary','@univerjs-pro/collaboration','invalid\x20payload\x20length\x20','_configService','compress','wss:','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','writable','next','Unsupported\x20protocol\x20version:\x20','\x22:\x20','writeUInt16BE','allocUnsafe','from','finish','nodebuffer','rxjs','_paused','registerDependencies','request','maskBuffer','kByteLength','HTTP/1.1\x20','statusCode','mask','target','perMessageDeflate','_firstFragment','require$$4','isValidUTF8','setTimeout','invalid\x20opcode\x200','kIsForOnEventAttribute','isView','size','16kIJWnz','test','Z_DEFAULT_WINDOWBITS','_queue','onStarting','protocol','_messageLength','onmessage','concurrencyLimit','RSV1\x20must\x20be\x20clear','pending','_generateMask','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','245010dNtABq','getPayloadLength64','decompress','reason','Sec-WebSocket-Extensions:\x20','delete','readOnly','setHeader','UniverProCollaborationClientNode','url','createError','invalid\x20status\x20code\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x20','HTTP/1.1\x20101\x20Switching\x20Protocols','once','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','STATUS_CODES','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','socket','OPEN','emitClose','close','events','_extensions','resume','_maxPayload','dequeue','handleEvent','normalizeParams','Upgrade','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_inflate','zlib','_httpService','_deflate','values','IConfigService','toString','Server\x20sent\x20an\x20invalid\x20subprotocol','text/plain','writeHead','Invalid\x20WebSocket\x20frame:\x20','listenerCount','freeze','extensions','Disposable','pow','Parameter\x20\x22','params','_originalSecure','total-length','threshold','host','followRedirects','servername','digest','crypto','acceptAsServer','parse','default','createSocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','DependentOn','146108doyamo','call','startLoop','toLowerCase','base64','status-code','fin','_errorEmitted','update','dataMessage','wasClean','haveLength','onerror','frame','bind','toStringTag','dispose','kListener','Invalid\x20Sec-WebSocket-Accept\x20header','require$$0','protocolVersion','WS_ERR_INVALID_UTF8','kTarget','concat','WS_ERR_UNEXPECTED_RSV_1','DisposableCollection','_url','set','port','Opening\x20handshake\x20has\x20timed\x20out','buffer','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','require$$2$1','CONNECTING','removeAllListeners','zlibInflateOptions','_protocol','cookie','emit','require$$0$1','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_writableState','The\x20server\x20is\x20not\x20running','controlMessage','Plugin','_doCreateSocket','Upgrade:\x20websocket','authorization','removeEventListener','share','handleUpgrade','\x22\x20must\x20have\x20only\x20a\x20single\x20value','type','_compress','add','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','map','customHeaders','GET','Inject','_threshold','noServer','Cookie','value','Basic\x20','_errored','require$$0$3','getData','_removeListeners','Max\x20payload\x20size\x20exceeded','https:','pause','finishRequest','getOwnPropertyDescriptor','write','path','_totalPayloadLength','options','Sec-WebSocket-Protocol:\x20','ping','listeners','89738DZvwRY','require$$0$2','Injector','join','forEach','offer','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','upgrade','slice','username','timeout','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_closeTimer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','code','WS_ERR_INVALID_CLOSE_CODE','createDeflateRaw','Sec-WebSocket-Extensions','toDisposable','flush','_registerDependencies','getMask','client_no_context_takeover','handshakeTimeout','location','object','_autoPong','collaboration-client-node.config','_shouldEmitClose','prototype','string','push','_binaryType','_socket','ws:','startsWith','species','wsClientError','nextTick','_decompress','setConfig','The\x20URL\x27s\x20pathname\x20is\x20empty','createConnection','headers','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','binaryType','entries','2022tCxUYO','sec-websocket-key','_mask','kData','end','_options','_bufferedBytes','_masked','server','_closeMessage','CLOSED','_write','connect','hostname','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','The\x20URL\x20contains\x20a\x20fragment\x20identifier','href','clientMaxWindowBits','destroyed','getBlobData','isArray','_final','kType','_readyState','Invalid\x20URL:\x20','shift','sec-websocket-protocol','isPaused','serverMaxWindowBits','_state','CLOSING','NodeCollaborationSocketService','kError','getInfo','net','Sec-WebSocket-Accept:\x20','_payloadLength','setNoDelay','uncork','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','function','Origin','password','readyState','authorized','_injector','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','kDone','sendFrame','_skipUTF8Validation','message','redirect','response','_compressed','WS_ERR_UNEXPECTED_RSV_2_3','text/html','server_no_context_takeover','_allowSynchronousEvents','_receiver','addEventListener','require$$1','completeUpgrade','_readableState','alloc','clients','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_max_window_bits','13,\x208','clientNoContextTakeover'];_0x3daf=function(){return _0x5d0219;};return _0x3daf();}function _0x189a(_0x3e0fa7,_0x5d58d5){_0x3e0fa7=_0x3e0fa7-0xcf;const _0x3daf2b=_0x3daf();let _0x189af5=_0x3daf2b[_0x3e0fa7];return _0x189af5;}(function(_0x15f4b6,_0x1824be){const _0x32667c=_0x189a,_0x42a48a=_0x15f4b6();while(!![]){try{const _0x540991=parseInt(_0x32667c(0x147))/0x1*(parseInt(_0x32667c(0x15c))/0x2)+parseInt(_0x32667c(0x170))/0x3*(-parseInt(_0x32667c(0x228))/0x4)+parseInt(_0x32667c(0x1ae))/0x5*(-parseInt(_0x32667c(0xd2))/0x6)+-parseInt(_0x32667c(0x151))/0x7*(-parseInt(_0x32667c(0x1dc))/0x8)+-parseInt(_0x32667c(0x141))/0x9*(-parseInt(_0x32667c(0x1e9))/0xa)+parseInt(_0x32667c(0x279))/0xb+-parseInt(_0x32667c(0x127))/0xc;if(_0x540991===_0x1824be)break;else _0x42a48a['push'](_0x42a48a['shift']());}catch(_0x11d28a){_0x42a48a['push'](_0x42a48a['shift']());}}}(_0x3daf,0x4de8e),function(_0x1a56c4,_0x549a87){const _0x4a5303=_0x189a;typeof exports=='object'&&typeof module<'u'?_0x549a87(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs'),require('events'),require('https'),require('http'),require('net'),require('tls'),require('crypto'),require('stream'),require('url'),require('zlib'),require('buffer'),require('@univerjs-pro/collaboration')):typeof define==_0x4a5303(0xfa)&&define[_0x4a5303(0x149)]?define([_0x4a5303(0x132),_0x4a5303(0x166),'@univerjs/core','@univerjs/network','rxjs',_0x4a5303(0x1ff),_0x4a5303(0x13e),'http',_0x4a5303(0xf4),'tls',_0x4a5303(0x221),'stream',_0x4a5303(0x1f2),_0x4a5303(0x209),_0x4a5303(0x246),_0x4a5303(0x1ba)],_0x549a87):(_0x1a56c4=typeof globalThis<'u'?globalThis:_0x1a56c4||self,_0x549a87(_0x1a56c4[_0x4a5303(0x1f1)]={},_0x1a56c4[_0x4a5303(0x11f)],_0x1a56c4['UniverCore'],_0x1a56c4[_0x4a5303(0x194)],_0x1a56c4[_0x4a5303(0x1c9)],_0x1a56c4[_0x4a5303(0x26a)],_0x1a56c4[_0x4a5303(0x133)],_0x1a56c4[_0x4a5303(0x248)],_0x1a56c4['require$$3'],_0x1a56c4[_0x4a5303(0x1d5)],_0x1a56c4[_0x4a5303(0x10e)],_0x1a56c4[_0x4a5303(0x27a)],_0x1a56c4[_0x4a5303(0x16a)],_0x1a56c4[_0x4a5303(0x23b)],_0x1a56c4[_0x4a5303(0x24f)],_0x1a56c4[_0x4a5303(0x177)]));}(this,function(_0x4de4fc,_0x187d8b,_0x4a9cad,_0xb61a7f,_0x4af933,_0x25ec7c,_0x4d291c,_0x148160,_0x2ef227,_0x734fe2,_0x13bfe,_0x1051fa,_0x57d476,_0x1ada90,_0x106d53,_0x4f1424){'use strict';const _0x4fa2ae=_0x189a;const _0x3f4b0=_0x4fa2ae(0x295),_0x3b4a22={};function _0xf8debd(_0x2fceaa){const _0x3ad657=_0x4fa2ae;return _0x2fceaa&&_0x2fceaa[_0x3ad657(0x16d)]&&Object[_0x3ad657(0x297)]['hasOwnProperty']['call'](_0x2fceaa,_0x3ad657(0x224))?_0x2fceaa[_0x3ad657(0x224)]:_0x2fceaa;}function _0x281c90(_0x3483ca){const _0x76e4bb=_0x4fa2ae;if(Object[_0x76e4bb(0x297)]['hasOwnProperty']['call'](_0x3483ca,_0x76e4bb(0x16d)))return _0x3483ca;var _0x3b1c50=_0x3483ca['default'];if(typeof _0x3b1c50=='function'){var _0x5e9c59=function _0x26908a(){const _0x4861b8=_0x76e4bb;var _0x2edfb7=!0x1;try{_0x2edfb7=this instanceof _0x26908a;}catch{}return _0x2edfb7?Reflect[_0x4861b8(0x13c)](_0x3b1c50,arguments,this[_0x4861b8(0x129)]):_0x3b1c50['apply'](this,arguments);};_0x5e9c59[_0x76e4bb(0x297)]=_0x3b1c50[_0x76e4bb(0x297)];}else _0x5e9c59={};return Object['defineProperty'](_0x5e9c59,_0x76e4bb(0x16d),{'value':!0x0}),Object['keys'](_0x3483ca)[_0x76e4bb(0x27d)](function(_0x11fa96){const _0x1d2916=_0x76e4bb;var _0x50e2a6=Object[_0x1d2916(0x271)](_0x3483ca,_0x11fa96);Object['defineProperty'](_0x5e9c59,_0x11fa96,_0x50e2a6[_0x1d2916(0x163)]?_0x50e2a6:{'enumerable':!0x0,'get':function(){return _0x3483ca[_0x11fa96];}});}),_0x5e9c59;}var _0x12468d,_0x22abdf;function _0x16abd9(){const _0x428a50=_0x4fa2ae;if(_0x22abdf)return _0x12468d;_0x22abdf=0x1;const _0x3f6514=[_0x428a50(0x1c8),'arraybuffer','fragments'],_0x37aee3=typeof Blob<'u';return _0x37aee3&&_0x3f6514[_0x428a50(0x299)](_0x428a50(0x199)),_0x12468d={'BINARY_TYPES':_0x3f6514,'EMPTY_BUFFER':Buffer[_0x428a50(0x111)](0x0),'GUID':_0x428a50(0x284),'hasBlob':_0x37aee3,'kForOnEventAttribute':Symbol(_0x428a50(0x1d9)),'kListener':Symbol(_0x428a50(0x239)),'kStatusCode':Symbol(_0x428a50(0x22d)),'kWebSocket':Symbol(_0x428a50(0x119)),'NOOP':()=>{}},_0x12468d;}var _0x225340,_0x210ae6;function _0x524f6c(){if(_0x210ae6)return _0x225340;_0x210ae6=0x1;const {EMPTY_BUFFER:_0x6e616}=_0x16abd9(),_0x21e162=Buffer[Symbol['species']];function _0x3e0019(_0x3f151f,_0xabe5c8){const _0x14e10b=_0x189a;if(_0x3f151f['length']===0x0)return _0x6e616;if(_0x3f151f['length']===0x1)return _0x3f151f[0x0];const _0x2a0831=Buffer['allocUnsafe'](_0xabe5c8);let _0x2ab8c5=0x0;for(let _0x193841=0x0;_0x193841<_0x3f151f['length'];_0x193841++){const _0x5cd81f=_0x3f151f[_0x193841];_0x2a0831[_0x14e10b(0x243)](_0x5cd81f,_0x2ab8c5),_0x2ab8c5+=_0x5cd81f[_0x14e10b(0x175)];}return _0x2ab8c5<_0xabe5c8?new _0x21e162(_0x2a0831['buffer'],_0x2a0831[_0x14e10b(0x15a)],_0x2ab8c5):_0x2a0831;}function _0xc115c7(_0x5406df,_0x5ddea6,_0x2c0d72,_0x11890e,_0x39438c){for(let _0x19b545=0x0;_0x19b545<_0x39438c;_0x19b545++)_0x2c0d72[_0x11890e+_0x19b545]=_0x5406df[_0x19b545]^_0x5ddea6[_0x19b545&0x3];}function _0x26f406(_0x2d23ee,_0x226d54){const _0x14769b=_0x189a;for(let _0x58c308=0x0;_0x58c308<_0x2d23ee[_0x14769b(0x175)];_0x58c308++)_0x2d23ee[_0x58c308]^=_0x226d54[_0x58c308&0x3];}function _0x4f8c94(_0x1f1eb3){const _0x115308=_0x189a;return _0x1f1eb3[_0x115308(0x175)]===_0x1f1eb3[_0x115308(0x246)][_0x115308(0x118)]?_0x1f1eb3['buffer']:_0x1f1eb3[_0x115308(0x246)][_0x115308(0x281)](_0x1f1eb3[_0x115308(0x15a)],_0x1f1eb3[_0x115308(0x15a)]+_0x1f1eb3[_0x115308(0x175)]);}function _0x379fda(_0x102396){const _0x5720c6=_0x189a;if(_0x379fda[_0x5720c6(0x1ef)]=!0x0,Buffer[_0x5720c6(0x185)](_0x102396))return _0x102396;let _0x1f94a5;return _0x102396 instanceof ArrayBuffer?_0x1f94a5=new _0x21e162(_0x102396):ArrayBuffer[_0x5720c6(0x1da)](_0x102396)?_0x1f94a5=new _0x21e162(_0x102396[_0x5720c6(0x246)],_0x102396[_0x5720c6(0x15a)],_0x102396[_0x5720c6(0x118)]):(_0x1f94a5=Buffer['from'](_0x102396),_0x379fda[_0x5720c6(0x1ef)]=!0x1),_0x1f94a5;}return _0x225340={'concat':_0x3e0019,'mask':_0xc115c7,'toArrayBuffer':_0x4f8c94,'toBuffer':_0x379fda,'unmask':_0x26f406},_0x225340;}var _0x1b77db,_0xbd18ac;function _0x2349bb(){const _0x3b5ce8=_0x4fa2ae;if(_0xbd18ac)return _0x1b77db;_0xbd18ac=0x1;const _0xbbd7a9=Symbol(_0x3b5ce8(0x101)),_0x1d72e5=Symbol(_0x3b5ce8(0x17f));class _0x53c5ba{constructor(_0x361488){const _0x84ec78=_0x3b5ce8;this[_0xbbd7a9]=()=>{this['pending']--,this[_0x1d72e5]();},this[_0x84ec78(0x144)]=_0x361488||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x3b5ce8(0x25e)](_0xb31dd7){this['jobs']['push'](_0xb31dd7),this[_0x1d72e5]();}[_0x1d72e5](){const _0x1e60cd=_0x3b5ce8;if(this[_0x1e60cd(0x1e6)]!==this[_0x1e60cd(0x144)]&&this['jobs'][_0x1e60cd(0x175)]){const _0x3e4f7d=this[_0x1e60cd(0x15d)]['shift']();this[_0x1e60cd(0x1e6)]++,_0x3e4f7d(this[_0xbbd7a9]);}}}return _0x1b77db=_0x53c5ba,_0x1b77db;}var _0x3243f8,_0x92de3b;function _0x521164(){const _0x193a20=_0x4fa2ae;if(_0x92de3b)return _0x3243f8;_0x92de3b=0x1;const _0x15cf99=_0x1ada90,_0x439d39=_0x524f6c(),_0x155bfb=_0x2349bb(),{kStatusCode:_0x1abc3d}=_0x16abd9(),_0x3c37c5=Buffer[Symbol[_0x193a20(0x29e)]],_0x2fad45=Buffer[_0x193a20(0x1c6)]([0x0,0x0,0xff,0xff]),_0x9e5e66=Symbol(_0x193a20(0x1ab)),_0x1817d0=Symbol(_0x193a20(0x21b)),_0x1e1b19=Symbol(_0x193a20(0x143)),_0x1c25b4=Symbol('buffers'),_0x3f1719=Symbol(_0x193a20(0x13b));let _0x434fda;class _0x4f1e6a{constructor(_0x387fd4,_0x42a08b,_0x4f8e32){const _0x257936=_0x193a20;if(this[_0x257936(0x202)]=_0x4f8e32|0x0,this[_0x257936(0xd7)]=_0x387fd4||{},this[_0x257936(0x264)]=this[_0x257936(0xd7)][_0x257936(0x21c)]!==void 0x0?this['_options'][_0x257936(0x21c)]:0x400,this[_0x257936(0x173)]=!!_0x42a08b,this[_0x257936(0x20b)]=null,this[_0x257936(0x208)]=null,this[_0x257936(0x219)]=null,!_0x434fda){const _0x4cc931=this[_0x257936(0xd7)][_0x257936(0x1e4)]!==void 0x0?this[_0x257936(0xd7)][_0x257936(0x1e4)]:0xa;_0x434fda=new _0x155bfb(_0x4cc931);}}static get['extensionName'](){const _0x2f7b50=_0x193a20;return _0x2f7b50(0x1ab);}['offer'](){const _0x1c8a78=_0x193a20,_0x5c4454={};return this[_0x1c8a78(0xd7)][_0x1c8a78(0x117)]&&(_0x5c4454[_0x1c8a78(0x10a)]=!0x0),this[_0x1c8a78(0xd7)][_0x1c8a78(0x116)]&&(_0x5c4454[_0x1c8a78(0x290)]=!0x0),this[_0x1c8a78(0xd7)][_0x1c8a78(0xee)]&&(_0x5c4454['server_max_window_bits']=this['_options'][_0x1c8a78(0xee)]),this[_0x1c8a78(0xd7)]['clientMaxWindowBits']?_0x5c4454[_0x1c8a78(0x11e)]=this[_0x1c8a78(0xd7)][_0x1c8a78(0xe3)]:this[_0x1c8a78(0xd7)][_0x1c8a78(0xe3)]==null&&(_0x5c4454[_0x1c8a78(0x11e)]=!0x0),_0x5c4454;}['accept'](_0x3f6848){const _0xe14abf=_0x193a20;return _0x3f6848=this[_0xe14abf(0x205)](_0x3f6848),this[_0xe14abf(0x219)]=this['_isServer']?this[_0xe14abf(0x222)](_0x3f6848):this[_0xe14abf(0x183)](_0x3f6848),this[_0xe14abf(0x219)];}[_0x193a20(0x142)](){const _0x2af749=_0x193a20;if(this[_0x2af749(0x208)]&&(this[_0x2af749(0x208)][_0x2af749(0x1fe)](),this[_0x2af749(0x208)]=null),this[_0x2af749(0x20b)]){const _0x3ddd94=this['_deflate'][_0x1e1b19];this[_0x2af749(0x20b)][_0x2af749(0x1fe)](),this[_0x2af749(0x20b)]=null,_0x3ddd94&&_0x3ddd94(new Error(_0x2af749(0x27f)));}}[_0x193a20(0x222)](_0x9d6ded){const _0x5c74b7=_0x193a20,_0x29b06f=this['_options'],_0x13c9eb=_0x9d6ded[_0x5c74b7(0x1a5)](_0x4d144a=>!(_0x29b06f[_0x5c74b7(0x117)]===!0x1&&_0x4d144a['server_no_context_takeover']||_0x4d144a[_0x5c74b7(0x17e)]&&(_0x29b06f['serverMaxWindowBits']===!0x1||typeof _0x29b06f[_0x5c74b7(0xee)]==_0x5c74b7(0x193)&&_0x29b06f[_0x5c74b7(0xee)]>_0x4d144a['server_max_window_bits'])||typeof _0x29b06f['clientMaxWindowBits']=='number'&&!_0x4d144a[_0x5c74b7(0x11e)]));if(!_0x13c9eb)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x29b06f['serverNoContextTakeover']&&(_0x13c9eb[_0x5c74b7(0x10a)]=!0x0),_0x29b06f[_0x5c74b7(0x116)]&&(_0x13c9eb[_0x5c74b7(0x290)]=!0x0),typeof _0x29b06f[_0x5c74b7(0xee)]==_0x5c74b7(0x193)&&(_0x13c9eb[_0x5c74b7(0x17e)]=_0x29b06f['serverMaxWindowBits']),typeof _0x29b06f['clientMaxWindowBits']==_0x5c74b7(0x193)?_0x13c9eb[_0x5c74b7(0x11e)]=_0x29b06f[_0x5c74b7(0xe3)]:(_0x13c9eb[_0x5c74b7(0x11e)]===!0x0||_0x29b06f['clientMaxWindowBits']===!0x1)&&delete _0x13c9eb[_0x5c74b7(0x11e)],_0x13c9eb;}[_0x193a20(0x183)](_0x333d5b){const _0x3a0311=_0x193a20,_0x314309=_0x333d5b[0x0];if(this['_options'][_0x3a0311(0x116)]===!0x1&&_0x314309[_0x3a0311(0x290)])throw new Error(_0x3a0311(0x17c));if(!_0x314309['client_max_window_bits'])typeof this[_0x3a0311(0xd7)][_0x3a0311(0xe3)]==_0x3a0311(0x193)&&(_0x314309[_0x3a0311(0x11e)]=this[_0x3a0311(0xd7)][_0x3a0311(0xe3)]);else{if(this[_0x3a0311(0xd7)][_0x3a0311(0xe3)]===!0x1||typeof this[_0x3a0311(0xd7)][_0x3a0311(0xe3)]==_0x3a0311(0x193)&&_0x314309[_0x3a0311(0x11e)]>this[_0x3a0311(0xd7)]['clientMaxWindowBits'])throw new Error(_0x3a0311(0x113));}return _0x314309;}['normalizeParams'](_0x278c42){const _0x571114=_0x193a20;return _0x278c42[_0x571114(0x27d)](_0x826ab4=>{Object['keys'](_0x826ab4)['forEach'](_0x506bfd=>{const _0x50e061=_0x189a;let _0x506c1f=_0x826ab4[_0x506bfd];if(_0x506c1f['length']>0x1)throw new Error(_0x50e061(0x218)+_0x506bfd+_0x50e061(0x25b));if(_0x506c1f=_0x506c1f[0x0],_0x506bfd===_0x50e061(0x11e)){if(_0x506c1f!==!0x0){const _0x1f9b9b=+_0x506c1f;if(!Number[_0x50e061(0x12d)](_0x1f9b9b)||_0x1f9b9b<0x8||_0x1f9b9b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x506bfd+_0x50e061(0x1c3)+_0x506c1f);_0x506c1f=_0x1f9b9b;}else{if(!this[_0x50e061(0x173)])throw new TypeError(_0x50e061(0x154)+_0x506bfd+'\x22:\x20'+_0x506c1f);}}else{if(_0x506bfd===_0x50e061(0x17e)){const _0x191dee=+_0x506c1f;if(!Number['isInteger'](_0x191dee)||_0x191dee<0x8||_0x191dee>0xf)throw new TypeError(_0x50e061(0x154)+_0x506bfd+_0x50e061(0x1c3)+_0x506c1f);_0x506c1f=_0x191dee;}else{if(_0x506bfd===_0x50e061(0x290)||_0x506bfd===_0x50e061(0x10a)){if(_0x506c1f!==!0x0)throw new TypeError(_0x50e061(0x154)+_0x506bfd+_0x50e061(0x1c3)+_0x506c1f);}else throw new Error(_0x50e061(0x18f)+_0x506bfd+'\x22');}}_0x826ab4[_0x506bfd]=_0x506c1f;});}),_0x278c42;}[_0x193a20(0x1eb)](_0x5d5713,_0x290c0c,_0xba4134){const _0x16856a=_0x193a20;_0x434fda[_0x16856a(0x25e)](_0x26dc96=>{const _0x2262f9=_0x16856a;this[_0x2262f9(0x2a1)](_0x5d5713,_0x290c0c,(_0x335453,_0x57240d)=>{_0x26dc96(),_0xba4134(_0x335453,_0x57240d);});});}['compress'](_0x35c155,_0x293fb8,_0x32b9eb){const _0x41ece4=_0x193a20;_0x434fda[_0x41ece4(0x25e)](_0x25aa4c=>{const _0xfd9553=_0x41ece4;this[_0xfd9553(0x25d)](_0x35c155,_0x293fb8,(_0x490691,_0x405fde)=>{_0x25aa4c(),_0x32b9eb(_0x490691,_0x405fde);});});}['_decompress'](_0x81b68b,_0x3f9183,_0x197783){const _0x1a7384=_0x193a20,_0x3d6603=this[_0x1a7384(0x173)]?'client':_0x1a7384(0xda);if(!this[_0x1a7384(0x208)]){const _0x14b3dd=_0x3d6603+_0x1a7384(0x114),_0x2e2cdd=typeof this['params'][_0x14b3dd]!=_0x1a7384(0x193)?_0x15cf99[_0x1a7384(0x1de)]:this[_0x1a7384(0x219)][_0x14b3dd];this[_0x1a7384(0x208)]=_0x15cf99['createInflateRaw']({...this['_options'][_0x1a7384(0x24b)],'windowBits':_0x2e2cdd}),this[_0x1a7384(0x208)][_0x9e5e66]=this,this[_0x1a7384(0x208)][_0x1817d0]=0x0,this['_inflate'][_0x1c25b4]=[],this['_inflate']['on'](_0x1a7384(0x13b),_0x163d3d),this[_0x1a7384(0x208)]['on'](_0x1a7384(0x125),_0x971f33);}this[_0x1a7384(0x208)][_0x1e1b19]=_0x197783,this[_0x1a7384(0x208)][_0x1a7384(0x272)](_0x81b68b),_0x3f9183&&this[_0x1a7384(0x208)][_0x1a7384(0x272)](_0x2fad45),this[_0x1a7384(0x208)]['flush'](()=>{const _0x5494f5=_0x1a7384,_0x355e7f=this['_inflate'][_0x3f1719];if(_0x355e7f){this[_0x5494f5(0x208)][_0x5494f5(0x1fe)](),this[_0x5494f5(0x208)]=null,_0x197783(_0x355e7f);return;}const _0x30396e=_0x439d39['concat'](this['_inflate'][_0x1c25b4],this[_0x5494f5(0x208)][_0x1817d0]);this[_0x5494f5(0x208)][_0x5494f5(0x110)][_0x5494f5(0x184)]?(this[_0x5494f5(0x208)][_0x5494f5(0x1fe)](),this[_0x5494f5(0x208)]=null):(this[_0x5494f5(0x208)][_0x1817d0]=0x0,this['_inflate'][_0x1c25b4]=[],_0x3f9183&&this[_0x5494f5(0x219)][_0x3d6603+'_no_context_takeover']&&this[_0x5494f5(0x208)][_0x5494f5(0x158)]()),_0x197783(null,_0x30396e);});}[_0x193a20(0x25d)](_0x29bb9f,_0xc8e332,_0x5342e5){const _0x44fd4b=_0x193a20,_0x5d3598=this[_0x44fd4b(0x173)]?_0x44fd4b(0xda):_0x44fd4b(0x161);if(!this['_deflate']){const _0x226053=_0x5d3598+_0x44fd4b(0x114),_0x5d9cc6=typeof this['params'][_0x226053]!='number'?_0x15cf99[_0x44fd4b(0x1de)]:this[_0x44fd4b(0x219)][_0x226053];this[_0x44fd4b(0x20b)]=_0x15cf99[_0x44fd4b(0x28a)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x5d9cc6}),this[_0x44fd4b(0x20b)][_0x1817d0]=0x0,this[_0x44fd4b(0x20b)][_0x1c25b4]=[],this[_0x44fd4b(0x20b)]['on'](_0x44fd4b(0x125),_0xb12b37);}this[_0x44fd4b(0x20b)][_0x1e1b19]=_0x5342e5,this[_0x44fd4b(0x20b)][_0x44fd4b(0x272)](_0x29bb9f),this[_0x44fd4b(0x20b)][_0x44fd4b(0x28d)](_0x15cf99['Z_SYNC_FLUSH'],()=>{const _0x277e7d=_0x44fd4b;if(!this[_0x277e7d(0x20b)])return;let _0x481d2e=_0x439d39[_0x277e7d(0x23f)](this[_0x277e7d(0x20b)][_0x1c25b4],this['_deflate'][_0x1817d0]);_0xc8e332&&(_0x481d2e=new _0x3c37c5(_0x481d2e['buffer'],_0x481d2e[_0x277e7d(0x15a)],_0x481d2e[_0x277e7d(0x175)]-0x4)),this[_0x277e7d(0x20b)][_0x1e1b19]=null,this[_0x277e7d(0x20b)][_0x1817d0]=0x0,this[_0x277e7d(0x20b)][_0x1c25b4]=[],_0xc8e332&&this['params'][_0x5d3598+_0x277e7d(0x12a)]&&this['_deflate'][_0x277e7d(0x158)](),_0x5342e5(null,_0x481d2e);});}}_0x3243f8=_0x4f1e6a;function _0xb12b37(_0x2d0349){const _0x2b6731=_0x193a20;this[_0x1c25b4]['push'](_0x2d0349),this[_0x1817d0]+=_0x2d0349[_0x2b6731(0x175)];}function _0x971f33(_0xb6d7d1){const _0x40bf29=_0x193a20;if(this[_0x1817d0]+=_0xb6d7d1['length'],this[_0x9e5e66][_0x40bf29(0x202)]<0x1||this[_0x1817d0]<=this[_0x9e5e66][_0x40bf29(0x202)]){this[_0x1c25b4][_0x40bf29(0x299)](_0xb6d7d1);return;}this[_0x3f1719]=new RangeError(_0x40bf29(0x26d)),this[_0x3f1719][_0x40bf29(0x288)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3f1719][_0x1abc3d]=0x3f1,this[_0x40bf29(0x179)](_0x40bf29(0x125),_0x971f33),this[_0x40bf29(0x158)]();}function _0x163d3d(_0x49c7a2){const _0x42a9b8=_0x193a20;if(this[_0x9e5e66][_0x42a9b8(0x208)]=null,this[_0x3f1719]){this[_0x1e1b19](this[_0x3f1719]);return;}_0x49c7a2[_0x1abc3d]=0x3ef,this[_0x1e1b19](_0x49c7a2);}return _0x3243f8;}var _0x84454a={'exports':{}};const _0x1b5616=_0x281c90(Object[_0x4fa2ae(0x214)](Object[_0x4fa2ae(0x180)]({'__proto__':null,'default':{}},Symbol['toStringTag'],{'value':_0x4fa2ae(0x159)})));var _0x16cdc1;function _0x124c02(){const _0x502c98=_0x4fa2ae;if(_0x16cdc1)return _0x84454a[_0x502c98(0x132)];_0x16cdc1=0x1;const {isUtf8:_0xb3cfb4}=_0x106d53,{hasBlob:_0x471f88}=_0x16abd9(),_0x2abbcf=[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 _0x5787cd(_0x15586a){return _0x15586a>=0x3e8&&_0x15586a<=0x3f6&&_0x15586a!==0x3ec&&_0x15586a!==0x3ed&&_0x15586a!==0x3ee||_0x15586a>=0xbb8&&_0x15586a<=0x1387;}function _0x115920(_0x5645fc){const _0x2e62e6=_0x502c98,_0x498776=_0x5645fc[_0x2e62e6(0x175)];let _0x1fad21=0x0;for(;_0x1fad21<_0x498776;)if((_0x5645fc[_0x1fad21]&0x80)===0x0)_0x1fad21++;else{if((_0x5645fc[_0x1fad21]&0xe0)===0xc0){if(_0x1fad21+0x1===_0x498776||(_0x5645fc[_0x1fad21+0x1]&0xc0)!==0x80||(_0x5645fc[_0x1fad21]&0xfe)===0xc0)return!0x1;_0x1fad21+=0x2;}else{if((_0x5645fc[_0x1fad21]&0xf0)===0xe0){if(_0x1fad21+0x2>=_0x498776||(_0x5645fc[_0x1fad21+0x1]&0xc0)!==0x80||(_0x5645fc[_0x1fad21+0x2]&0xc0)!==0x80||_0x5645fc[_0x1fad21]===0xe0&&(_0x5645fc[_0x1fad21+0x1]&0xe0)===0x80||_0x5645fc[_0x1fad21]===0xed&&(_0x5645fc[_0x1fad21+0x1]&0xe0)===0xa0)return!0x1;_0x1fad21+=0x3;}else{if((_0x5645fc[_0x1fad21]&0xf8)===0xf0){if(_0x1fad21+0x3>=_0x498776||(_0x5645fc[_0x1fad21+0x1]&0xc0)!==0x80||(_0x5645fc[_0x1fad21+0x2]&0xc0)!==0x80||(_0x5645fc[_0x1fad21+0x3]&0xc0)!==0x80||_0x5645fc[_0x1fad21]===0xf0&&(_0x5645fc[_0x1fad21+0x1]&0xf0)===0x80||_0x5645fc[_0x1fad21]===0xf4&&_0x5645fc[_0x1fad21+0x1]>0x8f||_0x5645fc[_0x1fad21]>0xf4)return!0x1;_0x1fad21+=0x4;}else return!0x1;}}}return!0x0;}function _0x28b224(_0x5d4c15){const _0x4b9eda=_0x502c98;return _0x471f88&&typeof _0x5d4c15==_0x4b9eda(0x293)&&typeof _0x5d4c15['arrayBuffer']==_0x4b9eda(0xfa)&&typeof _0x5d4c15[_0x4b9eda(0x25c)]=='string'&&typeof _0x5d4c15['stream']==_0x4b9eda(0xfa)&&(_0x5d4c15[Symbol['toStringTag']]===_0x4b9eda(0x17b)||_0x5d4c15[Symbol[_0x4b9eda(0x237)]]==='File');}if(_0x84454a[_0x502c98(0x132)]={'isBlob':_0x28b224,'isValidStatusCode':_0x5787cd,'isValidUTF8':_0x115920,'tokenChars':_0x2abbcf},_0xb3cfb4)_0x84454a['exports'][_0x502c98(0x1d6)]=function(_0x13af8f){const _0x3a8009=_0x502c98;return _0x13af8f[_0x3a8009(0x175)]<0x18?_0x115920(_0x13af8f):_0xb3cfb4(_0x13af8f);};else{if(!process['env'][_0x502c98(0x187)])try{const _0x540df1=_0x1b5616;_0x84454a[_0x502c98(0x132)][_0x502c98(0x1d6)]=function(_0x50e573){const _0x6357a4=_0x502c98;return _0x50e573[_0x6357a4(0x175)]<0x20?_0x115920(_0x50e573):_0x540df1(_0x50e573);};}catch{}}return _0x84454a[_0x502c98(0x132)];}var _0x3f65e9,_0x2774ce;function _0x31778c(){const _0x3e0a8d=_0x4fa2ae;if(_0x2774ce)return _0x3f65e9;_0x2774ce=0x1;const {Writable:_0x1c7d58}=_0x1051fa,_0x12cefd=_0x521164(),{BINARY_TYPES:_0x5cfbce,EMPTY_BUFFER:_0x5f46cd,kStatusCode:_0x4f7092,kWebSocket:_0x243583}=_0x16abd9(),{concat:_0x48af60,toArrayBuffer:_0x590c73,unmask:_0x4171f2}=_0x524f6c(),{isValidStatusCode:_0x3f28e4,isValidUTF8:_0x3776e7}=_0x124c02(),_0x30af4a=Buffer[Symbol['species']],_0x4e4708=0x0,_0x4906ae=0x1,_0x4fd6e1=0x2,_0x141044=0x3,_0x54eabd=0x4,_0x293359=0x5,_0x1772e3=0x6;class _0x51b676 extends _0x1c7d58{constructor(_0x468def={}){const _0x2360f6=_0x189a;super(),this[_0x2360f6(0x10b)]=_0x468def[_0x2360f6(0x123)]!==void 0x0?_0x468def['allowSynchronousEvents']:!0x0,this[_0x2360f6(0x29a)]=_0x468def[_0x2360f6(0xd0)]||_0x5cfbce[0x0],this[_0x2360f6(0x200)]=_0x468def[_0x2360f6(0x215)]||{},this[_0x2360f6(0x173)]=!!_0x468def[_0x2360f6(0x155)],this[_0x2360f6(0x202)]=_0x468def[_0x2360f6(0x174)]|0x0,this[_0x2360f6(0x103)]=!!_0x468def[_0x2360f6(0x188)],this[_0x243583]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2360f6(0x19d)]=[],this['_compressed']=!0x1,this[_0x2360f6(0xf6)]=0x0,this[_0x2360f6(0xd4)]=void 0x0,this[_0x2360f6(0x146)]=0x0,this[_0x2360f6(0xd9)]=!0x1,this[_0x2360f6(0x1a0)]=!0x1,this[_0x2360f6(0x14b)]=0x0,this['_totalPayloadLength']=0x0,this[_0x2360f6(0x1e2)]=0x0,this[_0x2360f6(0x13d)]=[],this['_errored']=!0x1,this[_0x2360f6(0x136)]=!0x1,this['_state']=_0x4e4708;}[_0x3e0a8d(0xdd)](_0x11a6a3,_0x2838e1,_0x5dde51){const _0x32812c=_0x3e0a8d;if(this[_0x32812c(0x14b)]===0x8&&this['_state']==_0x4e4708)return _0x5dde51();this['_bufferedBytes']+=_0x11a6a3['length'],this[_0x32812c(0x19d)][_0x32812c(0x299)](_0x11a6a3),this[_0x32812c(0x22a)](_0x5dde51);}[_0x3e0a8d(0x167)](_0x3131ef){const _0x39afc7=_0x3e0a8d;if(this[_0x39afc7(0xd8)]-=_0x3131ef,_0x3131ef===this[_0x39afc7(0x19d)][0x0][_0x39afc7(0x175)])return this[_0x39afc7(0x19d)][_0x39afc7(0xeb)]();if(_0x3131ef<this[_0x39afc7(0x19d)][0x0][_0x39afc7(0x175)]){const _0xf18476=this[_0x39afc7(0x19d)][0x0];return this[_0x39afc7(0x19d)][0x0]=new _0x30af4a(_0xf18476[_0x39afc7(0x246)],_0xf18476[_0x39afc7(0x15a)]+_0x3131ef,_0xf18476['length']-_0x3131ef),new _0x30af4a(_0xf18476['buffer'],_0xf18476['byteOffset'],_0x3131ef);}const _0x5750c9=Buffer['allocUnsafe'](_0x3131ef);do{const _0x972f29=this[_0x39afc7(0x19d)][0x0],_0x2c5b85=_0x5750c9[_0x39afc7(0x175)]-_0x3131ef;_0x3131ef>=_0x972f29[_0x39afc7(0x175)]?_0x5750c9[_0x39afc7(0x243)](this[_0x39afc7(0x19d)][_0x39afc7(0xeb)](),_0x2c5b85):(_0x5750c9[_0x39afc7(0x243)](new Uint8Array(_0x972f29['buffer'],_0x972f29[_0x39afc7(0x15a)],_0x3131ef),_0x2c5b85),this[_0x39afc7(0x19d)][0x0]=new _0x30af4a(_0x972f29[_0x39afc7(0x246)],_0x972f29['byteOffset']+_0x3131ef,_0x972f29[_0x39afc7(0x175)]-_0x3131ef)),_0x3131ef-=_0x972f29['length'];}while(_0x3131ef>0x0);return _0x5750c9;}[_0x3e0a8d(0x22a)](_0x31409f){const _0x4d0f23=_0x3e0a8d;this[_0x4d0f23(0x136)]=!0x0;do switch(this['_state']){case _0x4e4708:this[_0x4d0f23(0xf3)](_0x31409f);break;case _0x4906ae:this[_0x4d0f23(0x1b2)](_0x31409f);break;case _0x4fd6e1:this[_0x4d0f23(0x1ea)](_0x31409f);break;case _0x141044:this[_0x4d0f23(0x28f)]();break;case _0x54eabd:this['getData'](_0x31409f);break;case _0x293359:case _0x1772e3:this[_0x4d0f23(0x136)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x31409f();}[_0x3e0a8d(0xf3)](_0x2d16fe){const _0x575ee0=_0x3e0a8d;if(this['_bufferedBytes']<0x2){this[_0x575ee0(0x136)]=!0x1;return;}const _0x18b335=this['consume'](0x2);if((_0x18b335[0x0]&0x30)!==0x0){const _0x429946=this[_0x575ee0(0x1f3)](RangeError,_0x575ee0(0x181),!0x0,0x3ea,_0x575ee0(0x108));_0x2d16fe(_0x429946);return;}const _0x8f04c9=(_0x18b335[0x0]&0x40)===0x40;if(_0x8f04c9&&!this['_extensions'][_0x12cefd['extensionName']]){const _0x577287=this[_0x575ee0(0x1f3)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x575ee0(0x240));_0x2d16fe(_0x577287);return;}if(this[_0x575ee0(0x1a0)]=(_0x18b335[0x0]&0x80)===0x80,this[_0x575ee0(0x14b)]=_0x18b335[0x0]&0xf,this['_payloadLength']=_0x18b335[0x1]&0x7f,this['_opcode']===0x0){if(_0x8f04c9){const _0x5b00ce=this[_0x575ee0(0x1f3)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2d16fe(_0x5b00ce);return;}if(!this[_0x575ee0(0x146)]){const _0x3768e1=this['createError'](RangeError,_0x575ee0(0x1d8),!0x0,0x3ea,_0x575ee0(0x198));_0x2d16fe(_0x3768e1);return;}this['_opcode']=this[_0x575ee0(0x146)];}else{if(this[_0x575ee0(0x14b)]===0x1||this[_0x575ee0(0x14b)]===0x2){if(this[_0x575ee0(0x146)]){const _0x11f0ca=this[_0x575ee0(0x1f3)](RangeError,_0x575ee0(0x15b)+this[_0x575ee0(0x14b)],!0x0,0x3ea,_0x575ee0(0x198));_0x2d16fe(_0x11f0ca);return;}this[_0x575ee0(0x107)]=_0x8f04c9;}else{if(this[_0x575ee0(0x14b)]>0x7&&this['_opcode']<0xb){if(!this[_0x575ee0(0x1a0)]){const _0x772b95=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x575ee0(0x1a3));_0x2d16fe(_0x772b95);return;}if(_0x8f04c9){const _0x131647=this[_0x575ee0(0x1f3)](RangeError,_0x575ee0(0x1e5),!0x0,0x3ea,_0x575ee0(0x240));_0x2d16fe(_0x131647);return;}if(this[_0x575ee0(0xf6)]>0x7d||this[_0x575ee0(0x14b)]===0x8&&this[_0x575ee0(0xf6)]===0x1){const _0x1d4cc4=this[_0x575ee0(0x1f3)](RangeError,_0x575ee0(0x1bb)+this[_0x575ee0(0xf6)],!0x0,0x3ea,_0x575ee0(0x1e8));_0x2d16fe(_0x1d4cc4);return;}}else{const _0x68d044=this[_0x575ee0(0x1f3)](RangeError,_0x575ee0(0x15b)+this[_0x575ee0(0x14b)],!0x0,0x3ea,_0x575ee0(0x198));_0x2d16fe(_0x68d044);return;}}}if(!this[_0x575ee0(0x1a0)]&&!this[_0x575ee0(0x146)]&&(this[_0x575ee0(0x146)]=this[_0x575ee0(0x14b)]),this[_0x575ee0(0xd9)]=(_0x18b335[0x1]&0x80)===0x80,this[_0x575ee0(0x173)]){if(!this[_0x575ee0(0xd9)]){const _0x2748be=this[_0x575ee0(0x1f3)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x2d16fe(_0x2748be);return;}}else{if(this[_0x575ee0(0xd9)]){const _0x15c03e=this['createError'](RangeError,_0x575ee0(0x145),!0x0,0x3ea,_0x575ee0(0x12b));_0x2d16fe(_0x15c03e);return;}}this[_0x575ee0(0xf6)]===0x7e?this[_0x575ee0(0xef)]=_0x4906ae:this[_0x575ee0(0xf6)]===0x7f?this[_0x575ee0(0xef)]=_0x4fd6e1:this[_0x575ee0(0x233)](_0x2d16fe);}[_0x3e0a8d(0x1b2)](_0x1ea4ce){const _0x5d6ef1=_0x3e0a8d;if(this[_0x5d6ef1(0xd8)]<0x2){this[_0x5d6ef1(0x136)]=!0x1;return;}this['_payloadLength']=this[_0x5d6ef1(0x167)](0x2)['readUInt16BE'](0x0),this[_0x5d6ef1(0x233)](_0x1ea4ce);}[_0x3e0a8d(0x1ea)](_0x587d80){const _0x369b49=_0x3e0a8d;if(this['_bufferedBytes']<0x8){this[_0x369b49(0x136)]=!0x1;return;}const _0x28f950=this['consume'](0x8),_0xda786e=_0x28f950[_0x369b49(0x1b8)](0x0);if(_0xda786e>Math['pow'](0x2,0x15)-0x1){const _0x1fdad3=this[_0x369b49(0x1f3)](RangeError,_0x369b49(0x247),!0x1,0x3f1,_0x369b49(0x1b6));_0x587d80(_0x1fdad3);return;}this['_payloadLength']=_0xda786e*Math[_0x369b49(0x217)](0x2,0x20)+_0x28f950[_0x369b49(0x1b8)](0x4),this[_0x369b49(0x233)](_0x587d80);}['haveLength'](_0x109dc6){const _0x56229e=_0x3e0a8d;if(this['_payloadLength']&&this[_0x56229e(0x14b)]<0x8&&(this[_0x56229e(0x274)]+=this[_0x56229e(0xf6)],this[_0x56229e(0x274)]>this[_0x56229e(0x202)]&&this[_0x56229e(0x202)]>0x0)){const _0x367fcf=this[_0x56229e(0x1f3)](RangeError,_0x56229e(0x26d),!0x1,0x3f1,_0x56229e(0x286));_0x109dc6(_0x367fcf);return;}this[_0x56229e(0xd9)]?this['_state']=_0x141044:this[_0x56229e(0xef)]=_0x54eabd;}[_0x3e0a8d(0x28f)](){const _0x33ec3f=_0x3e0a8d;if(this[_0x33ec3f(0xd8)]<0x4){this[_0x33ec3f(0x136)]=!0x1;return;}this['_mask']=this[_0x33ec3f(0x167)](0x4),this[_0x33ec3f(0xef)]=_0x54eabd;}[_0x3e0a8d(0x26b)](_0x1ce0bf){const _0x54501d=_0x3e0a8d;let _0x1e8ee2=_0x5f46cd;if(this['_payloadLength']){if(this[_0x54501d(0xd8)]<this[_0x54501d(0xf6)]){this[_0x54501d(0x136)]=!0x1;return;}_0x1e8ee2=this[_0x54501d(0x167)](this[_0x54501d(0xf6)]),this[_0x54501d(0xd9)]&&(this[_0x54501d(0xd4)][0x0]|this[_0x54501d(0xd4)][0x1]|this[_0x54501d(0xd4)][0x2]|this[_0x54501d(0xd4)][0x3])!==0x0&&_0x4171f2(_0x1e8ee2,this[_0x54501d(0xd4)]);}if(this[_0x54501d(0x14b)]>0x7){this[_0x54501d(0x253)](_0x1e8ee2,_0x1ce0bf);return;}if(this[_0x54501d(0x107)]){this[_0x54501d(0xef)]=_0x293359,this[_0x54501d(0x1eb)](_0x1e8ee2,_0x1ce0bf);return;}_0x1e8ee2[_0x54501d(0x175)]&&(this[_0x54501d(0x1e2)]=this[_0x54501d(0x274)],this['_fragments'][_0x54501d(0x299)](_0x1e8ee2)),this['dataMessage'](_0x1ce0bf);}[_0x3e0a8d(0x1eb)](_0x2d9749,_0x4e03b1){const _0x48e8be=_0x3e0a8d;this['_extensions'][_0x12cefd[_0x48e8be(0x11a)]]['decompress'](_0x2d9749,this[_0x48e8be(0x1a0)],(_0x4a6bdd,_0x13f041)=>{const _0x4bb149=_0x48e8be;if(_0x4a6bdd)return _0x4e03b1(_0x4a6bdd);if(_0x13f041['length']){if(this[_0x4bb149(0x1e2)]+=_0x13f041['length'],this[_0x4bb149(0x1e2)]>this['_maxPayload']&&this[_0x4bb149(0x202)]>0x0){const _0x5197bc=this[_0x4bb149(0x1f3)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4e03b1(_0x5197bc);return;}this[_0x4bb149(0x13d)][_0x4bb149(0x299)](_0x13f041);}this[_0x4bb149(0x231)](_0x4e03b1),this['_state']===_0x4e4708&&this[_0x4bb149(0x22a)](_0x4e03b1);});}[_0x3e0a8d(0x231)](_0x482cca){const _0x51f15a=_0x3e0a8d;if(!this[_0x51f15a(0x1a0)]){this[_0x51f15a(0xef)]=_0x4e4708;return;}const _0x180e0e=this[_0x51f15a(0x1e2)],_0x189da8=this[_0x51f15a(0x13d)];if(this['_totalPayloadLength']=0x0,this[_0x51f15a(0x1e2)]=0x0,this[_0x51f15a(0x146)]=0x0,this[_0x51f15a(0x13d)]=[],this['_opcode']===0x2){let _0x2bc38c;this['_binaryType']==='nodebuffer'?_0x2bc38c=_0x48af60(_0x189da8,_0x180e0e):this['_binaryType']==='arraybuffer'?_0x2bc38c=_0x590c73(_0x48af60(_0x189da8,_0x180e0e)):this[_0x51f15a(0x29a)]==='blob'?_0x2bc38c=new Blob(_0x189da8):_0x2bc38c=_0x189da8,this[_0x51f15a(0x10b)]?(this[_0x51f15a(0x24e)](_0x51f15a(0x104),_0x2bc38c,!0x0),this[_0x51f15a(0xef)]=_0x4e4708):(this[_0x51f15a(0xef)]=_0x1772e3,setImmediate(()=>{const _0x46e8b6=_0x51f15a;this[_0x46e8b6(0x24e)](_0x46e8b6(0x104),_0x2bc38c,!0x0),this[_0x46e8b6(0xef)]=_0x4e4708,this[_0x46e8b6(0x22a)](_0x482cca);}));}else{const _0x400931=_0x48af60(_0x189da8,_0x180e0e);if(!this[_0x51f15a(0x103)]&&!_0x3776e7(_0x400931)){const _0x4ece0d=this[_0x51f15a(0x1f3)](Error,_0x51f15a(0x131),!0x0,0x3ef,_0x51f15a(0x23d));_0x482cca(_0x4ece0d);return;}this[_0x51f15a(0xef)]===_0x293359||this[_0x51f15a(0x10b)]?(this[_0x51f15a(0x24e)]('message',_0x400931,!0x1),this['_state']=_0x4e4708):(this['_state']=_0x1772e3,setImmediate(()=>{const _0x4ffcfc=_0x51f15a;this[_0x4ffcfc(0x24e)](_0x4ffcfc(0x104),_0x400931,!0x1),this[_0x4ffcfc(0xef)]=_0x4e4708,this[_0x4ffcfc(0x22a)](_0x482cca);}));}}['controlMessage'](_0xad018f,_0x27a874){const _0x3340c5=_0x3e0a8d;if(this[_0x3340c5(0x14b)]===0x8){if(_0xad018f[_0x3340c5(0x175)]===0x0)this[_0x3340c5(0x136)]=!0x1,this[_0x3340c5(0x24e)]('conclude',0x3ed,_0x5f46cd),this[_0x3340c5(0xd6)]();else{const _0x374916=_0xad018f[_0x3340c5(0x1b3)](0x0);if(!_0x3f28e4(_0x374916)){const _0x4bfe6e=this[_0x3340c5(0x1f3)](RangeError,_0x3340c5(0x1f4)+_0x374916,!0x0,0x3ea,_0x3340c5(0x289));_0x27a874(_0x4bfe6e);return;}const _0x1b32be=new _0x30af4a(_0xad018f[_0x3340c5(0x246)],_0xad018f['byteOffset']+0x2,_0xad018f[_0x3340c5(0x175)]-0x2);if(!this[_0x3340c5(0x103)]&&!_0x3776e7(_0x1b32be)){const _0x23c2eb=this['createError'](Error,_0x3340c5(0x131),!0x0,0x3ef,_0x3340c5(0x23d));_0x27a874(_0x23c2eb);return;}this[_0x3340c5(0x136)]=!0x1,this[_0x3340c5(0x24e)]('conclude',_0x374916,_0x1b32be),this[_0x3340c5(0xd6)]();}this[_0x3340c5(0xef)]=_0x4e4708;return;}this[_0x3340c5(0x10b)]?(this[_0x3340c5(0x24e)](this['_opcode']===0x9?_0x3340c5(0x277):_0x3340c5(0x164),_0xad018f),this[_0x3340c5(0xef)]=_0x4e4708):(this[_0x3340c5(0xef)]=_0x1772e3,setImmediate(()=>{const _0x109a34=_0x3340c5;this['emit'](this['_opcode']===0x9?_0x109a34(0x277):'pong',_0xad018f),this[_0x109a34(0xef)]=_0x4e4708,this[_0x109a34(0x22a)](_0x27a874);}));}[_0x3e0a8d(0x1f3)](_0x473490,_0xe693e1,_0x330520,_0x1c82da,_0x4f3377){const _0x446b56=_0x3e0a8d;this[_0x446b56(0x136)]=!0x1,this[_0x446b56(0x269)]=!0x0;const _0x27d50a=new _0x473490(_0x330520?_0x446b56(0x212)+_0xe693e1:_0xe693e1);return Error['captureStackTrace'](_0x27d50a,this[_0x446b56(0x1f3)]),_0x27d50a['code']=_0x4f3377,_0x27d50a[_0x4f7092]=_0x1c82da,_0x27d50a;}}return _0x3f65e9=_0x51b676,_0x3f65e9;}var _0x34a13f,_0x2be73a;function _0x25b7de(){const _0x453843=_0x4fa2ae;if(_0x2be73a)return _0x34a13f;_0x2be73a=0x1;const {Duplex:_0x2ac083}=_0x1051fa,{randomFillSync:_0x5eb185}=_0x13bfe,_0x58812d=_0x521164(),{EMPTY_BUFFER:_0x1b989b,kWebSocket:_0x82c1d4,NOOP:_0x26017e}=_0x16abd9(),{isBlob:_0xa5ea0d,isValidStatusCode:_0x24ebed}=_0x124c02(),{mask:_0x19e43a,toBuffer:_0x2fb531}=_0x524f6c(),_0x2e38ce=Symbol(_0x453843(0x1ce)),_0x21c6d7=Buffer[_0x453843(0x111)](0x4),_0xdcfeb6=0x8*0x400;let _0x53470a,_0x3af1f6=_0xdcfeb6;const _0x1a879d=0x0,_0xebe267=0x1,_0x7144c1=0x2;class _0x4c964d{constructor(_0x2604d9,_0x49ea6b,_0x22eabc){const _0x5f22e5=_0x453843;this[_0x5f22e5(0x200)]=_0x49ea6b||{},_0x22eabc&&(this[_0x5f22e5(0x1e7)]=_0x22eabc,this[_0x5f22e5(0x16c)]=Buffer['alloc'](0x4)),this[_0x5f22e5(0x29b)]=_0x2604d9,this['_firstFragment']=!0x0,this[_0x5f22e5(0x25d)]=!0x1,this[_0x5f22e5(0xd8)]=0x0,this[_0x5f22e5(0x1df)]=[],this['_state']=_0x1a879d,this[_0x5f22e5(0x234)]=_0x26017e,this[_0x82c1d4]=void 0x0;}static[_0x453843(0x235)](_0x2c2568,_0x4d36b0){const _0x50f031=_0x453843;let _0x1be9a4,_0x22d27e=!0x1,_0x416235=0x2,_0x3ede1a=!0x1;_0x4d36b0['mask']&&(_0x1be9a4=_0x4d36b0[_0x50f031(0x1cd)]||_0x21c6d7,_0x4d36b0[_0x50f031(0x168)]?_0x4d36b0[_0x50f031(0x168)](_0x1be9a4):(_0x3af1f6===_0xdcfeb6&&(_0x53470a===void 0x0&&(_0x53470a=Buffer[_0x50f031(0x111)](_0xdcfeb6)),_0x5eb185(_0x53470a,0x0,_0xdcfeb6),_0x3af1f6=0x0),_0x1be9a4[0x0]=_0x53470a[_0x3af1f6++],_0x1be9a4[0x1]=_0x53470a[_0x3af1f6++],_0x1be9a4[0x2]=_0x53470a[_0x3af1f6++],_0x1be9a4[0x3]=_0x53470a[_0x3af1f6++]),_0x3ede1a=(_0x1be9a4[0x0]|_0x1be9a4[0x1]|_0x1be9a4[0x2]|_0x1be9a4[0x3])===0x0,_0x416235=0x6);let _0x577905;typeof _0x2c2568=='string'?(!_0x4d36b0[_0x50f031(0x1d1)]||_0x3ede1a)&&_0x4d36b0[_0x2e38ce]!==void 0x0?_0x577905=_0x4d36b0[_0x2e38ce]:(_0x2c2568=Buffer[_0x50f031(0x1c6)](_0x2c2568),_0x577905=_0x2c2568['length']):(_0x577905=_0x2c2568['length'],_0x22d27e=_0x4d36b0[_0x50f031(0x1d1)]&&_0x4d36b0[_0x50f031(0x1ef)]&&!_0x3ede1a);let _0x10a134=_0x577905;_0x577905>=0x10000?(_0x416235+=0x8,_0x10a134=0x7f):_0x577905>0x7d&&(_0x416235+=0x2,_0x10a134=0x7e);const _0x574224=Buffer['allocUnsafe'](_0x22d27e?_0x577905+_0x416235:_0x416235);return _0x574224[0x0]=_0x4d36b0[_0x50f031(0x22e)]?_0x4d36b0[_0x50f031(0x11d)]|0x80:_0x4d36b0[_0x50f031(0x11d)],_0x4d36b0[_0x50f031(0x169)]&&(_0x574224[0x0]|=0x40),_0x574224[0x1]=_0x10a134,_0x10a134===0x7e?_0x574224[_0x50f031(0x1c4)](_0x577905,0x2):_0x10a134===0x7f&&(_0x574224[0x2]=_0x574224[0x3]=0x0,_0x574224['writeUIntBE'](_0x577905,0x4,0x6)),_0x4d36b0['mask']?(_0x574224[0x1]|=0x80,_0x574224[_0x416235-0x4]=_0x1be9a4[0x0],_0x574224[_0x416235-0x3]=_0x1be9a4[0x1],_0x574224[_0x416235-0x2]=_0x1be9a4[0x2],_0x574224[_0x416235-0x1]=_0x1be9a4[0x3],_0x3ede1a?[_0x574224,_0x2c2568]:_0x22d27e?(_0x19e43a(_0x2c2568,_0x1be9a4,_0x574224,_0x416235,_0x577905),[_0x574224]):(_0x19e43a(_0x2c2568,_0x1be9a4,_0x2c2568,0x0,_0x577905),[_0x574224,_0x2c2568])):[_0x574224,_0x2c2568];}[_0x453843(0x1fe)](_0x44f163,_0x1173f7,_0x5c9244,_0x846631){const _0x2307f6=_0x453843;let _0x433c8b;if(_0x44f163===void 0x0)_0x433c8b=_0x1b989b;else{if(typeof _0x44f163!=_0x2307f6(0x193)||!_0x24ebed(_0x44f163))throw new TypeError(_0x2307f6(0x1b5));if(_0x1173f7===void 0x0||!_0x1173f7[_0x2307f6(0x175)])_0x433c8b=Buffer[_0x2307f6(0x1c5)](0x2),_0x433c8b[_0x2307f6(0x1c4)](_0x44f163,0x0);else{const _0xb1f2a0=Buffer['byteLength'](_0x1173f7);if(_0xb1f2a0>0x7b)throw new RangeError(_0x2307f6(0x19f));_0x433c8b=Buffer[_0x2307f6(0x1c5)](0x2+_0xb1f2a0),_0x433c8b[_0x2307f6(0x1c4)](_0x44f163,0x0),typeof _0x1173f7==_0x2307f6(0x298)?_0x433c8b[_0x2307f6(0x272)](_0x1173f7,0x2):_0x433c8b[_0x2307f6(0x243)](_0x1173f7,0x2);}}const _0x294547={[_0x2e38ce]:_0x433c8b['length'],'fin':!0x0,'generateMask':this[_0x2307f6(0x1e7)],'mask':_0x5c9244,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2307f6(0xef)]!==_0x1a879d?this[_0x2307f6(0x12f)]([this[_0x2307f6(0x1a2)],_0x433c8b,!0x1,_0x294547,_0x846631]):this[_0x2307f6(0x102)](_0x4c964d[_0x2307f6(0x235)](_0x433c8b,_0x294547),_0x846631);}['ping'](_0x49220d,_0x1e6eb6,_0x37c59b){const _0x2663fb=_0x453843;let _0x18c58f,_0x3e7964;if(typeof _0x49220d==_0x2663fb(0x298)?(_0x18c58f=Buffer[_0x2663fb(0x118)](_0x49220d),_0x3e7964=!0x1):_0xa5ea0d(_0x49220d)?(_0x18c58f=_0x49220d['size'],_0x3e7964=!0x1):(_0x49220d=_0x2fb531(_0x49220d),_0x18c58f=_0x49220d[_0x2663fb(0x175)],_0x3e7964=_0x2fb531[_0x2663fb(0x1ef)]),_0x18c58f>0x7d)throw new RangeError(_0x2663fb(0x287));const _0x14d9e6={[_0x2e38ce]:_0x18c58f,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1e6eb6,'maskBuffer':this[_0x2663fb(0x16c)],'opcode':0x9,'readOnly':_0x3e7964,'rsv1':!0x1};_0xa5ea0d(_0x49220d)?this[_0x2663fb(0xef)]!==_0x1a879d?this[_0x2663fb(0x12f)]([this[_0x2663fb(0xe5)],_0x49220d,!0x1,_0x14d9e6,_0x37c59b]):this[_0x2663fb(0xe5)](_0x49220d,!0x1,_0x14d9e6,_0x37c59b):this[_0x2663fb(0xef)]!==_0x1a879d?this['enqueue']([this[_0x2663fb(0x1a2)],_0x49220d,!0x1,_0x14d9e6,_0x37c59b]):this[_0x2663fb(0x102)](_0x4c964d[_0x2663fb(0x235)](_0x49220d,_0x14d9e6),_0x37c59b);}[_0x453843(0x164)](_0x1de7fd,_0x1f6988,_0x283ab9){const _0x1ff380=_0x453843;let _0x3d0238,_0x168e3c;if(typeof _0x1de7fd==_0x1ff380(0x298)?(_0x3d0238=Buffer[_0x1ff380(0x118)](_0x1de7fd),_0x168e3c=!0x1):_0xa5ea0d(_0x1de7fd)?(_0x3d0238=_0x1de7fd[_0x1ff380(0x1db)],_0x168e3c=!0x1):(_0x1de7fd=_0x2fb531(_0x1de7fd),_0x3d0238=_0x1de7fd['length'],_0x168e3c=_0x2fb531[_0x1ff380(0x1ef)]),_0x3d0238>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x271fd4={[_0x2e38ce]:_0x3d0238,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1f6988,'maskBuffer':this[_0x1ff380(0x16c)],'opcode':0xa,'readOnly':_0x168e3c,'rsv1':!0x1};_0xa5ea0d(_0x1de7fd)?this['_state']!==_0x1a879d?this[_0x1ff380(0x12f)]([this[_0x1ff380(0xe5)],_0x1de7fd,!0x1,_0x271fd4,_0x283ab9]):this[_0x1ff380(0xe5)](_0x1de7fd,!0x1,_0x271fd4,_0x283ab9):this[_0x1ff380(0xef)]!==_0x1a879d?this[_0x1ff380(0x12f)]([this[_0x1ff380(0x1a2)],_0x1de7fd,!0x1,_0x271fd4,_0x283ab9]):this['sendFrame'](_0x4c964d[_0x1ff380(0x235)](_0x1de7fd,_0x271fd4),_0x283ab9);}[_0x453843(0x1af)](_0x1756cb,_0x34a338,_0x371f1b){const _0xf39729=_0x453843,_0x5215dc=this[_0xf39729(0x200)][_0x58812d[_0xf39729(0x11a)]];let _0x19b57=_0x34a338[_0xf39729(0x1b9)]?0x2:0x1,_0x530981=_0x34a338[_0xf39729(0x1bd)],_0x7106d0,_0x415e33;typeof _0x1756cb==_0xf39729(0x298)?(_0x7106d0=Buffer[_0xf39729(0x118)](_0x1756cb),_0x415e33=!0x1):_0xa5ea0d(_0x1756cb)?(_0x7106d0=_0x1756cb[_0xf39729(0x1db)],_0x415e33=!0x1):(_0x1756cb=_0x2fb531(_0x1756cb),_0x7106d0=_0x1756cb[_0xf39729(0x175)],_0x415e33=_0x2fb531[_0xf39729(0x1ef)]),this[_0xf39729(0x1d4)]?(this['_firstFragment']=!0x1,_0x530981&&_0x5215dc&&_0x5215dc['params'][_0x5215dc[_0xf39729(0x173)]?_0xf39729(0x10a):_0xf39729(0x290)]&&(_0x530981=_0x7106d0>=_0x5215dc[_0xf39729(0x264)]),this[_0xf39729(0x25d)]=_0x530981):(_0x530981=!0x1,_0x19b57=0x0),_0x34a338[_0xf39729(0x22e)]&&(this[_0xf39729(0x1d4)]=!0x0);const _0x5905a4={[_0x2e38ce]:_0x7106d0,'fin':_0x34a338[_0xf39729(0x22e)],'generateMask':this['_generateMask'],'mask':_0x34a338[_0xf39729(0x1d1)],'maskBuffer':this[_0xf39729(0x16c)],'opcode':_0x19b57,'readOnly':_0x415e33,'rsv1':_0x530981};_0xa5ea0d(_0x1756cb)?this[_0xf39729(0xef)]!==_0x1a879d?this[_0xf39729(0x12f)]([this[_0xf39729(0xe5)],_0x1756cb,this['_compress'],_0x5905a4,_0x371f1b]):this[_0xf39729(0xe5)](_0x1756cb,this['_compress'],_0x5905a4,_0x371f1b):this['_state']!==_0x1a879d?this[_0xf39729(0x12f)]([this['dispatch'],_0x1756cb,this[_0xf39729(0x25d)],_0x5905a4,_0x371f1b]):this[_0xf39729(0x1a2)](_0x1756cb,this[_0xf39729(0x25d)],_0x5905a4,_0x371f1b);}[_0x453843(0xe5)](_0x1f841e,_0x294bdb,_0x5a800c,_0x28417f){const _0x19d9e5=_0x453843;this[_0x19d9e5(0xd8)]+=_0x5a800c[_0x2e38ce],this['_state']=_0x7144c1,_0x1f841e[_0x19d9e5(0x15f)]()['then'](_0x53148e=>{const _0x1b1d4a=_0x19d9e5;if(this[_0x1b1d4a(0x29b)][_0x1b1d4a(0xe4)]){const _0x41facb=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x1b1d4a(0x2a0)](_0x398f69,this,_0x41facb,_0x28417f);return;}this[_0x1b1d4a(0xd8)]-=_0x5a800c[_0x2e38ce];const _0x200533=_0x2fb531(_0x53148e);_0x294bdb?this[_0x1b1d4a(0x1a2)](_0x200533,_0x294bdb,_0x5a800c,_0x28417f):(this[_0x1b1d4a(0xef)]=_0x1a879d,this[_0x1b1d4a(0x102)](_0x4c964d['frame'](_0x200533,_0x5a800c),_0x28417f),this[_0x1b1d4a(0x203)]());})['catch'](_0x469c91=>{const _0x73797d=_0x19d9e5;process[_0x73797d(0x2a0)](_0x40b1ff,this,_0x469c91,_0x28417f);});}[_0x453843(0x1a2)](_0x3db3cc,_0x2928e5,_0x19a6f9,_0x342b9d){const _0x183dbf=_0x453843;if(!_0x2928e5){this[_0x183dbf(0x102)](_0x4c964d['frame'](_0x3db3cc,_0x19a6f9),_0x342b9d);return;}const _0x36ffce=this['_extensions'][_0x58812d[_0x183dbf(0x11a)]];this[_0x183dbf(0xd8)]+=_0x19a6f9[_0x2e38ce],this[_0x183dbf(0xef)]=_0xebe267,_0x36ffce[_0x183dbf(0x1bd)](_0x3db3cc,_0x19a6f9[_0x183dbf(0x22e)],(_0x13e394,_0x2cc52c)=>{const _0x813a92=_0x183dbf;if(this['_socket'][_0x813a92(0xe4)]){const _0xcd9a6c=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x398f69(this,_0xcd9a6c,_0x342b9d);return;}this[_0x813a92(0xd8)]-=_0x19a6f9[_0x2e38ce],this[_0x813a92(0xef)]=_0x1a879d,_0x19a6f9['readOnly']=!0x1,this[_0x813a92(0x102)](_0x4c964d[_0x813a92(0x235)](_0x2cc52c,_0x19a6f9),_0x342b9d),this[_0x813a92(0x203)]();});}['dequeue'](){const _0x19c25b=_0x453843;for(;this[_0x19c25b(0xef)]===_0x1a879d&&this[_0x19c25b(0x1df)][_0x19c25b(0x175)];){const _0x4d09c5=this[_0x19c25b(0x1df)]['shift']();this[_0x19c25b(0xd8)]-=_0x4d09c5[0x3][_0x2e38ce],Reflect['apply'](_0x4d09c5[0x0],this,_0x4d09c5['slice'](0x1));}}[_0x453843(0x12f)](_0x1c94f7){const _0x1eb8c2=_0x453843;this[_0x1eb8c2(0xd8)]+=_0x1c94f7[0x3][_0x2e38ce],this[_0x1eb8c2(0x1df)][_0x1eb8c2(0x299)](_0x1c94f7);}[_0x453843(0x102)](_0x51451f,_0x4436e7){const _0x4af7d6=_0x453843;_0x51451f[_0x4af7d6(0x175)]===0x2?(this[_0x4af7d6(0x29b)]['cork'](),this['_socket'][_0x4af7d6(0x272)](_0x51451f[0x0]),this[_0x4af7d6(0x29b)]['write'](_0x51451f[0x1],_0x4436e7),this['_socket'][_0x4af7d6(0xf8)]()):this[_0x4af7d6(0x29b)][_0x4af7d6(0x272)](_0x51451f[0x0],_0x4436e7);}}_0x34a13f=_0x4c964d;function _0x398f69(_0x3e406f,_0x1d0b20,_0x2d8f55){const _0x10bd2f=_0x453843;typeof _0x2d8f55==_0x10bd2f(0xfa)&&_0x2d8f55(_0x1d0b20);for(let _0x1708e1=0x0;_0x1708e1<_0x3e406f[_0x10bd2f(0x1df)][_0x10bd2f(0x175)];_0x1708e1++){const _0x228c11=_0x3e406f[_0x10bd2f(0x1df)][_0x1708e1],_0x1d1aa8=_0x228c11[_0x228c11['length']-0x1];typeof _0x1d1aa8==_0x10bd2f(0xfa)&&_0x1d1aa8(_0x1d0b20);}}function _0x40b1ff(_0x47bb51,_0x5397e4,_0x2e6eff){const _0x2c4e77=_0x453843;_0x398f69(_0x47bb51,_0x5397e4,_0x2e6eff),_0x47bb51[_0x2c4e77(0x234)](_0x5397e4);}return _0x34a13f;}var _0x219eca,_0x2b07fd;function _0x2569df(){const _0x336fc3=_0x4fa2ae;if(_0x2b07fd)return _0x219eca;_0x2b07fd=0x1;const {kForOnEventAttribute:_0x533199,kListener:_0x104d95}=_0x16abd9(),_0x3babd7=Symbol(_0x336fc3(0x130)),_0x21d3b9=Symbol(_0x336fc3(0xd5)),_0x28e477=Symbol(_0x336fc3(0xf2)),_0x508fa8=Symbol(_0x336fc3(0x165)),_0x3b2961=Symbol('kReason'),_0x2164c3=Symbol(_0x336fc3(0x23e)),_0x1e2439=Symbol(_0x336fc3(0xe8)),_0x3759c8=Symbol(_0x336fc3(0x19b));class _0x191101{constructor(_0xb64436){this[_0x2164c3]=null,this[_0x1e2439]=_0xb64436;}get[_0x336fc3(0x1d2)](){return this[_0x2164c3];}get[_0x336fc3(0x25c)](){return this[_0x1e2439];}}Object['defineProperty'](_0x191101[_0x336fc3(0x297)],'target',{'enumerable':!0x0}),Object[_0x336fc3(0x180)](_0x191101['prototype'],_0x336fc3(0x25c),{'enumerable':!0x0});class _0x3e9313 extends _0x191101{constructor(_0x213842,_0x20326c={}){const _0x405a68=_0x336fc3;super(_0x213842),this[_0x3babd7]=_0x20326c[_0x405a68(0x288)]===void 0x0?0x0:_0x20326c[_0x405a68(0x288)],this[_0x3b2961]=_0x20326c[_0x405a68(0x1ec)]===void 0x0?'':_0x20326c[_0x405a68(0x1ec)],this[_0x3759c8]=_0x20326c[_0x405a68(0x232)]===void 0x0?!0x1:_0x20326c[_0x405a68(0x232)];}get[_0x336fc3(0x288)](){return this[_0x3babd7];}get[_0x336fc3(0x1ec)](){return this[_0x3b2961];}get[_0x336fc3(0x232)](){return this[_0x3759c8];}}Object[_0x336fc3(0x180)](_0x3e9313[_0x336fc3(0x297)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x3e9313[_0x336fc3(0x297)],_0x336fc3(0x1ec),{'enumerable':!0x0}),Object[_0x336fc3(0x180)](_0x3e9313[_0x336fc3(0x297)],_0x336fc3(0x232),{'enumerable':!0x0});class _0x58e6bb extends _0x191101{constructor(_0x18ba4e,_0x12959b={}){const _0x2fb53b=_0x336fc3;super(_0x18ba4e),this[_0x28e477]=_0x12959b[_0x2fb53b(0x13b)]===void 0x0?null:_0x12959b[_0x2fb53b(0x13b)],this[_0x508fa8]=_0x12959b[_0x2fb53b(0x104)]===void 0x0?'':_0x12959b['message'];}get[_0x336fc3(0x13b)](){return this[_0x28e477];}get[_0x336fc3(0x104)](){return this[_0x508fa8];}}Object[_0x336fc3(0x180)](_0x58e6bb[_0x336fc3(0x297)],_0x336fc3(0x13b),{'enumerable':!0x0}),Object[_0x336fc3(0x180)](_0x58e6bb[_0x336fc3(0x297)],_0x336fc3(0x104),{'enumerable':!0x0});class _0x10ef5d extends _0x191101{constructor(_0x4a3c9e,_0x481122={}){const _0x5eab9d=_0x336fc3;super(_0x4a3c9e),this[_0x21d3b9]=_0x481122[_0x5eab9d(0x125)]===void 0x0?null:_0x481122[_0x5eab9d(0x125)];}get['data'](){return this[_0x21d3b9];}}Object['defineProperty'](_0x10ef5d[_0x336fc3(0x297)],_0x336fc3(0x125),{'enumerable':!0x0}),_0x219eca={'CloseEvent':_0x3e9313,'ErrorEvent':_0x58e6bb,'Event':_0x191101,'EventTarget':{'addEventListener'(_0x24efca,_0xca2b14,_0x254380={}){const _0x105dac=_0x336fc3;for(const _0x36c030 of this[_0x105dac(0x278)](_0x24efca))if(!_0x254380[_0x533199]&&_0x36c030[_0x104d95]===_0xca2b14&&!_0x36c030[_0x533199])return;let _0xba7154;if(_0x24efca===_0x105dac(0x104))_0xba7154=function(_0x4ddab3,_0x1bb5e2){const _0x2990f0=_0x105dac,_0x38b791=new _0x10ef5d('message',{'data':_0x1bb5e2?_0x4ddab3:_0x4ddab3[_0x2990f0(0x20e)]()});_0x38b791[_0x2164c3]=this,_0x3a479d(_0xca2b14,this,_0x38b791);};else{if(_0x24efca==='close')_0xba7154=function(_0x16900a,_0x3d3804){const _0x2ce239=_0x105dac,_0x2444c9=new _0x3e9313(_0x2ce239(0x1fe),{'code':_0x16900a,'reason':_0x3d3804[_0x2ce239(0x20e)](),'wasClean':this[_0x2ce239(0x128)]&&this['_closeFrameSent']});_0x2444c9[_0x2164c3]=this,_0x3a479d(_0xca2b14,this,_0x2444c9);};else{if(_0x24efca===_0x105dac(0x13b))_0xba7154=function(_0x2102ca){const _0x455b95=_0x105dac,_0x539563=new _0x58e6bb('error',{'error':_0x2102ca,'message':_0x2102ca[_0x455b95(0x104)]});_0x539563[_0x2164c3]=this,_0x3a479d(_0xca2b14,this,_0x539563);};else{if(_0x24efca===_0x105dac(0x152))_0xba7154=function(){const _0x4d6731=_0x105dac,_0x5e6cd6=new _0x191101(_0x4d6731(0x152));_0x5e6cd6[_0x2164c3]=this,_0x3a479d(_0xca2b14,this,_0x5e6cd6);};else return;}}}_0xba7154[_0x533199]=!!_0x254380[_0x533199],_0xba7154[_0x104d95]=_0xca2b14,_0x254380[_0x105dac(0x1f7)]?this['once'](_0x24efca,_0xba7154):this['on'](_0x24efca,_0xba7154);},'removeEventListener'(_0x3a4939,_0x14f996){const _0x3e5237=_0x336fc3;for(const _0x13c6e4 of this[_0x3e5237(0x278)](_0x3a4939))if(_0x13c6e4[_0x104d95]===_0x14f996&&!_0x13c6e4[_0x533199]){this[_0x3e5237(0x179)](_0x3a4939,_0x13c6e4);break;}}},'MessageEvent':_0x10ef5d};function _0x3a479d(_0x381367,_0xdc7d70,_0x307e29){const _0x51317f=_0x336fc3;typeof _0x381367==_0x51317f(0x293)&&_0x381367[_0x51317f(0x204)]?_0x381367[_0x51317f(0x204)][_0x51317f(0x229)](_0x381367,_0x307e29):_0x381367[_0x51317f(0x229)](_0xdc7d70,_0x307e29);}return _0x219eca;}var _0x75b51d,_0xe25e61;function _0x17696f(){if(_0xe25e61)return _0x75b51d;_0xe25e61=0x1;const {tokenChars:_0xd80fee}=_0x124c02();function _0x2c699f(_0x5bd858,_0x39f470,_0x23e72b){const _0x5916bd=_0x189a;_0x5bd858[_0x39f470]===void 0x0?_0x5bd858[_0x39f470]=[_0x23e72b]:_0x5bd858[_0x39f470][_0x5916bd(0x299)](_0x23e72b);}function _0x1e5525(_0x8e3a57){const _0x3b9f98=_0x189a,_0x3cb32f=Object[_0x3b9f98(0x138)](null);let _0x173682=Object[_0x3b9f98(0x138)](null),_0x321c14=!0x1,_0xadcda8=!0x1,_0x4b5837=!0x1,_0x3d384b,_0x441a06,_0x3f2116=-0x1,_0x58d887=-0x1,_0x1324fb=-0x1,_0x2127fb=0x0;for(;_0x2127fb<_0x8e3a57[_0x3b9f98(0x175)];_0x2127fb++)if(_0x58d887=_0x8e3a57['charCodeAt'](_0x2127fb),_0x3d384b===void 0x0){if(_0x1324fb===-0x1&&_0xd80fee[_0x58d887]===0x1)_0x3f2116===-0x1&&(_0x3f2116=_0x2127fb);else{if(_0x2127fb!==0x0&&(_0x58d887===0x20||_0x58d887===0x9))_0x1324fb===-0x1&&_0x3f2116!==-0x1&&(_0x1324fb=_0x2127fb);else{if(_0x58d887===0x3b||_0x58d887===0x2c){if(_0x3f2116===-0x1)throw new SyntaxError(_0x3b9f98(0x12e)+_0x2127fb);_0x1324fb===-0x1&&(_0x1324fb=_0x2127fb);const _0xfa62a9=_0x8e3a57[_0x3b9f98(0x281)](_0x3f2116,_0x1324fb);_0x58d887===0x2c?(_0x2c699f(_0x3cb32f,_0xfa62a9,_0x173682),_0x173682=Object[_0x3b9f98(0x138)](null)):_0x3d384b=_0xfa62a9,_0x3f2116=_0x1324fb=-0x1;}else throw new SyntaxError(_0x3b9f98(0x12e)+_0x2127fb);}}}else{if(_0x441a06===void 0x0){if(_0x1324fb===-0x1&&_0xd80fee[_0x58d887]===0x1)_0x3f2116===-0x1&&(_0x3f2116=_0x2127fb);else{if(_0x58d887===0x20||_0x58d887===0x9)_0x1324fb===-0x1&&_0x3f2116!==-0x1&&(_0x1324fb=_0x2127fb);else{if(_0x58d887===0x3b||_0x58d887===0x2c){if(_0x3f2116===-0x1)throw new SyntaxError(_0x3b9f98(0x12e)+_0x2127fb);_0x1324fb===-0x1&&(_0x1324fb=_0x2127fb),_0x2c699f(_0x173682,_0x8e3a57[_0x3b9f98(0x281)](_0x3f2116,_0x1324fb),!0x0),_0x58d887===0x2c&&(_0x2c699f(_0x3cb32f,_0x3d384b,_0x173682),_0x173682=Object[_0x3b9f98(0x138)](null),_0x3d384b=void 0x0),_0x3f2116=_0x1324fb=-0x1;}else{if(_0x58d887===0x3d&&_0x3f2116!==-0x1&&_0x1324fb===-0x1)_0x441a06=_0x8e3a57[_0x3b9f98(0x281)](_0x3f2116,_0x2127fb),_0x3f2116=_0x1324fb=-0x1;else throw new SyntaxError(_0x3b9f98(0x12e)+_0x2127fb);}}}}else{if(_0xadcda8){if(_0xd80fee[_0x58d887]!==0x1)throw new SyntaxError(_0x3b9f98(0x12e)+_0x2127fb);_0x3f2116===-0x1?_0x3f2116=_0x2127fb:_0x321c14||(_0x321c14=!0x0),_0xadcda8=!0x1;}else{if(_0x4b5837){if(_0xd80fee[_0x58d887]===0x1)_0x3f2116===-0x1&&(_0x3f2116=_0x2127fb);else{if(_0x58d887===0x22&&_0x3f2116!==-0x1)_0x4b5837=!0x1,_0x1324fb=_0x2127fb;else{if(_0x58d887===0x5c)_0xadcda8=!0x0;else throw new SyntaxError(_0x3b9f98(0x12e)+_0x2127fb);}}}else{if(_0x58d887===0x22&&_0x8e3a57['charCodeAt'](_0x2127fb-0x1)===0x3d)_0x4b5837=!0x0;else{if(_0x1324fb===-0x1&&_0xd80fee[_0x58d887]===0x1)_0x3f2116===-0x1&&(_0x3f2116=_0x2127fb);else{if(_0x3f2116!==-0x1&&(_0x58d887===0x20||_0x58d887===0x9))_0x1324fb===-0x1&&(_0x1324fb=_0x2127fb);else{if(_0x58d887===0x3b||_0x58d887===0x2c){if(_0x3f2116===-0x1)throw new SyntaxError(_0x3b9f98(0x12e)+_0x2127fb);_0x1324fb===-0x1&&(_0x1324fb=_0x2127fb);let _0x4bbce2=_0x8e3a57[_0x3b9f98(0x281)](_0x3f2116,_0x1324fb);_0x321c14&&(_0x4bbce2=_0x4bbce2[_0x3b9f98(0x189)](/\\/g,''),_0x321c14=!0x1),_0x2c699f(_0x173682,_0x441a06,_0x4bbce2),_0x58d887===0x2c&&(_0x2c699f(_0x3cb32f,_0x3d384b,_0x173682),_0x173682=Object[_0x3b9f98(0x138)](null),_0x3d384b=void 0x0),_0x441a06=void 0x0,_0x3f2116=_0x1324fb=-0x1;}else throw new SyntaxError(_0x3b9f98(0x12e)+_0x2127fb);}}}}}}}if(_0x3f2116===-0x1||_0x4b5837||_0x58d887===0x20||_0x58d887===0x9)throw new SyntaxError(_0x3b9f98(0x1ad));_0x1324fb===-0x1&&(_0x1324fb=_0x2127fb);const _0x336e97=_0x8e3a57[_0x3b9f98(0x281)](_0x3f2116,_0x1324fb);return _0x3d384b===void 0x0?_0x2c699f(_0x3cb32f,_0x336e97,_0x173682):(_0x441a06===void 0x0?_0x2c699f(_0x173682,_0x336e97,!0x0):_0x321c14?_0x2c699f(_0x173682,_0x441a06,_0x336e97['replace'](/\\/g,'')):_0x2c699f(_0x173682,_0x441a06,_0x336e97),_0x2c699f(_0x3cb32f,_0x3d384b,_0x173682)),_0x3cb32f;}function _0x3016ad(_0x3e3704){const _0x2fb84d=_0x189a;return Object['keys'](_0x3e3704)[_0x2fb84d(0x260)](_0x181a90=>{const _0x30e59a=_0x2fb84d;let _0xb05c4c=_0x3e3704[_0x181a90];return Array[_0x30e59a(0xe6)](_0xb05c4c)||(_0xb05c4c=[_0xb05c4c]),_0xb05c4c[_0x30e59a(0x260)](_0xe028af=>[_0x181a90][_0x30e59a(0x23f)](Object[_0x30e59a(0x14d)](_0xe028af)[_0x30e59a(0x260)](_0x46ef6e=>{const _0x58c821=_0x30e59a;let _0x4f4a57=_0xe028af[_0x46ef6e];return Array[_0x58c821(0xe6)](_0x4f4a57)||(_0x4f4a57=[_0x4f4a57]),_0x4f4a57[_0x58c821(0x260)](_0x4798ba=>_0x4798ba===!0x0?_0x46ef6e:_0x46ef6e+'='+_0x4798ba)['join'](';\x20');}))[_0x30e59a(0x27c)](';\x20'))[_0x30e59a(0x27c)](',\x20');})[_0x2fb84d(0x27c)](',\x20');}return _0x75b51d={'format':_0x3016ad,'parse':_0x1e5525},_0x75b51d;}var _0x22f252,_0x58d7d5;function _0x4075d6(){const _0x39ed8d=_0x4fa2ae;if(_0x58d7d5)return _0x22f252;_0x58d7d5=0x1;const _0x3e6a69=_0x25ec7c,_0xd40dc3=_0x4d291c,_0x2c20f2=_0x148160,_0x365a4c=_0x2ef227,_0xc688ba=_0x734fe2,{randomBytes:_0x13f45f,createHash:_0x5232a9}=_0x13bfe,{Duplex:_0x58efce,Readable:_0x2a6d17}=_0x1051fa,{URL:_0x2bc4de}=_0x57d476,_0x4339bc=_0x521164(),_0x1b3b8c=_0x31778c(),_0x587aa4=_0x25b7de(),{isBlob:_0x5d78e8}=_0x124c02(),{BINARY_TYPES:_0x4cdf8f,EMPTY_BUFFER:_0xae2732,GUID:_0x4df699,kForOnEventAttribute:_0x4e19ab,kListener:_0x54423a,kStatusCode:_0x24f996,kWebSocket:_0x12c257,NOOP:_0x32e595}=_0x16abd9(),{EventTarget:{addEventListener:_0x564d1e,removeEventListener:_0x148f1b}}=_0x2569df(),{format:_0x451246,parse:_0x3fa93d}=_0x17696f(),{toBuffer:_0x31facb}=_0x524f6c(),_0x4420c2=0x1e*0x3e8,_0x36fb37=Symbol('kAborted'),_0x269755=[0x8,0xd],_0x2847f1=[_0x39ed8d(0x249),'OPEN','CLOSING','CLOSED'],_0x10e0a1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2f4048 extends _0x3e6a69{constructor(_0x54fa48,_0x20ff9c,_0x379d63){const _0x2869d5=_0x39ed8d;super(),this[_0x2869d5(0x29a)]=_0x4cdf8f[0x0],this[_0x2869d5(0x178)]=0x3ee,this[_0x2869d5(0x128)]=!0x1,this[_0x2869d5(0x11c)]=!0x1,this['_closeMessage']=_0xae2732,this['_closeTimer']=null,this[_0x2869d5(0x22f)]=!0x1,this[_0x2869d5(0x200)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x2869d5(0xe9)]=_0x2f4048[_0x2869d5(0x249)],this[_0x2869d5(0x10c)]=null,this[_0x2869d5(0x14a)]=null,this[_0x2869d5(0x29b)]=null,_0x54fa48!==null?(this['_bufferedAmount']=0x0,this[_0x2869d5(0x173)]=!0x1,this[_0x2869d5(0x1b4)]=0x0,_0x20ff9c===void 0x0?_0x20ff9c=[]:Array[_0x2869d5(0xe6)](_0x20ff9c)||(typeof _0x20ff9c=='object'&&_0x20ff9c!==null?(_0x379d63=_0x20ff9c,_0x20ff9c=[]):_0x20ff9c=[_0x20ff9c]),_0x387339(this,_0x54fa48,_0x20ff9c,_0x379d63)):(this['_autoPong']=_0x379d63[_0x2869d5(0x16f)],this[_0x2869d5(0x173)]=!0x0);}get[_0x39ed8d(0xd0)](){const _0xc8e85=_0x39ed8d;return this[_0xc8e85(0x29a)];}set['binaryType'](_0x1bc914){const _0x14997b=_0x39ed8d;_0x4cdf8f[_0x14997b(0x134)](_0x1bc914)&&(this[_0x14997b(0x29a)]=_0x1bc914,this['_receiver']&&(this['_receiver']['_binaryType']=_0x1bc914));}get[_0x39ed8d(0x157)](){const _0x2e01db=_0x39ed8d;return this[_0x2e01db(0x29b)]?this['_socket'][_0x2e01db(0x251)][_0x2e01db(0x175)]+this[_0x2e01db(0x14a)][_0x2e01db(0xd8)]:this['_bufferedAmount'];}get[_0x39ed8d(0x215)](){const _0x19e060=_0x39ed8d;return Object[_0x19e060(0x14d)](this[_0x19e060(0x200)])[_0x19e060(0x27c)]();}get['isPaused'](){const _0x1fb01a=_0x39ed8d;return this[_0x1fb01a(0x1ca)];}get[_0x39ed8d(0x135)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get[_0x39ed8d(0x1e3)](){return null;}get[_0x39ed8d(0x1e1)](){const _0x3fa0e6=_0x39ed8d;return this[_0x3fa0e6(0x24c)];}get['readyState'](){const _0x52aed0=_0x39ed8d;return this[_0x52aed0(0xe9)];}get[_0x39ed8d(0x1f2)](){const _0x5c84e0=_0x39ed8d;return this[_0x5c84e0(0x242)];}[_0x39ed8d(0x137)](_0xb4edef,_0x1d3865,_0x30630d){const _0x589861=_0x39ed8d,_0x195c8e=new _0x1b3b8c({'allowSynchronousEvents':_0x30630d[_0x589861(0x123)],'binaryType':this[_0x589861(0xd0)],'extensions':this['_extensions'],'isServer':this[_0x589861(0x173)],'maxPayload':_0x30630d['maxPayload'],'skipUTF8Validation':_0x30630d[_0x589861(0x188)]}),_0x25a1d4=new _0x587aa4(_0xb4edef,this[_0x589861(0x200)],_0x30630d[_0x589861(0x168)]);this[_0x589861(0x10c)]=_0x195c8e,this[_0x589861(0x14a)]=_0x25a1d4,this[_0x589861(0x29b)]=_0xb4edef,_0x195c8e[_0x12c257]=this,_0x25a1d4[_0x12c257]=this,_0xb4edef[_0x12c257]=this,_0x195c8e['on'](_0x589861(0x18d),_0x31762c),_0x195c8e['on']('drain',_0x581098),_0x195c8e['on']('error',_0x5164a2),_0x195c8e['on'](_0x589861(0x104),_0x5e778f),_0x195c8e['on'](_0x589861(0x277),_0xecb56a),_0x195c8e['on'](_0x589861(0x164),_0x1ca9ad),_0x25a1d4[_0x589861(0x234)]=_0x459706,_0xb4edef[_0x589861(0x1d7)]&&_0xb4edef['setTimeout'](0x0),_0xb4edef[_0x589861(0xf7)]&&_0xb4edef[_0x589861(0xf7)](),_0x1d3865[_0x589861(0x175)]>0x0&&_0xb4edef['unshift'](_0x1d3865),_0xb4edef['on'](_0x589861(0x1fe),_0xc2098),_0xb4edef['on'](_0x589861(0x125),_0x3d83d0),_0xb4edef['on'](_0x589861(0xd6),_0x4160dd),_0xb4edef['on']('error',_0x19c7fe),this[_0x589861(0xe9)]=_0x2f4048[_0x589861(0x1fc)],this[_0x589861(0x24e)](_0x589861(0x152));}[_0x39ed8d(0x1fd)](){const _0x5385fa=_0x39ed8d;if(!this[_0x5385fa(0x29b)]){this[_0x5385fa(0xe9)]=_0x2f4048[_0x5385fa(0xdc)],this[_0x5385fa(0x24e)](_0x5385fa(0x1fe),this[_0x5385fa(0x178)],this[_0x5385fa(0xdb)]);return;}this[_0x5385fa(0x200)][_0x4339bc[_0x5385fa(0x11a)]]&&this['_extensions'][_0x4339bc[_0x5385fa(0x11a)]][_0x5385fa(0x142)](),this[_0x5385fa(0x10c)][_0x5385fa(0x24a)](),this[_0x5385fa(0xe9)]=_0x2f4048['CLOSED'],this['emit']('close',this[_0x5385fa(0x178)],this[_0x5385fa(0xdb)]);}[_0x39ed8d(0x1fe)](_0x3e522e,_0x5e9ade){const _0xa17237=_0x39ed8d;if(this[_0xa17237(0xfd)]!==_0x2f4048['CLOSED']){if(this[_0xa17237(0xfd)]===_0x2f4048[_0xa17237(0x249)]){_0x5e7af4(this,this[_0xa17237(0x153)],_0xa17237(0x1fa));return;}if(this[_0xa17237(0xfd)]===_0x2f4048[_0xa17237(0xf0)]){this[_0xa17237(0x11c)]&&(this[_0xa17237(0x128)]||this[_0xa17237(0x10c)]['_writableState'][_0xa17237(0x13a)])&&this[_0xa17237(0x29b)][_0xa17237(0xd6)]();return;}this['_readyState']=_0x2f4048['CLOSING'],this['_sender'][_0xa17237(0x1fe)](_0x3e522e,_0x5e9ade,!this[_0xa17237(0x173)],_0x1c280f=>{const _0x27963=_0xa17237;_0x1c280f||(this[_0x27963(0x11c)]=!0x0,(this['_closeFrameReceived']||this[_0x27963(0x10c)][_0x27963(0x251)][_0x27963(0x13a)])&&this[_0x27963(0x29b)][_0x27963(0xd6)]());}),_0x35a9e8(this);}}[_0x39ed8d(0x26f)](){const _0x51267d=_0x39ed8d;this[_0x51267d(0xfd)]===_0x2f4048[_0x51267d(0x249)]||this[_0x51267d(0xfd)]===_0x2f4048[_0x51267d(0xdc)]||(this['_paused']=!0x0,this[_0x51267d(0x29b)][_0x51267d(0x26f)]());}['ping'](_0x5b7346,_0x53a813,_0xe074a0){const _0x124059=_0x39ed8d;if(this[_0x124059(0xfd)]===_0x2f4048[_0x124059(0x249)])throw new Error(_0x124059(0x18e));if(typeof _0x5b7346==_0x124059(0xfa)?(_0xe074a0=_0x5b7346,_0x5b7346=_0x53a813=void 0x0):typeof _0x53a813==_0x124059(0xfa)&&(_0xe074a0=_0x53a813,_0x53a813=void 0x0),typeof _0x5b7346==_0x124059(0x193)&&(_0x5b7346=_0x5b7346[_0x124059(0x20e)]()),this[_0x124059(0xfd)]!==_0x2f4048[_0x124059(0x1fc)]){_0x17cc6a(this,_0x5b7346,_0xe074a0);return;}_0x53a813===void 0x0&&(_0x53a813=!this[_0x124059(0x173)]),this[_0x124059(0x14a)][_0x124059(0x277)](_0x5b7346||_0xae2732,_0x53a813,_0xe074a0);}[_0x39ed8d(0x164)](_0x361910,_0x15643d,_0x20b48d){const _0x5f3e0c=_0x39ed8d;if(this[_0x5f3e0c(0xfd)]===_0x2f4048[_0x5f3e0c(0x249)])throw new Error(_0x5f3e0c(0x18e));if(typeof _0x361910=='function'?(_0x20b48d=_0x361910,_0x361910=_0x15643d=void 0x0):typeof _0x15643d==_0x5f3e0c(0xfa)&&(_0x20b48d=_0x15643d,_0x15643d=void 0x0),typeof _0x361910==_0x5f3e0c(0x193)&&(_0x361910=_0x361910[_0x5f3e0c(0x20e)]()),this[_0x5f3e0c(0xfd)]!==_0x2f4048[_0x5f3e0c(0x1fc)]){_0x17cc6a(this,_0x361910,_0x20b48d);return;}_0x15643d===void 0x0&&(_0x15643d=!this[_0x5f3e0c(0x173)]),this['_sender'][_0x5f3e0c(0x164)](_0x361910||_0xae2732,_0x15643d,_0x20b48d);}[_0x39ed8d(0x201)](){const _0x5b58eb=_0x39ed8d;this['readyState']===_0x2f4048[_0x5b58eb(0x249)]||this[_0x5b58eb(0xfd)]===_0x2f4048['CLOSED']||(this[_0x5b58eb(0x1ca)]=!0x1,this['_receiver'][_0x5b58eb(0x251)]['needDrain']||this[_0x5b58eb(0x29b)][_0x5b58eb(0x201)]());}['send'](_0x4b9ef4,_0x5cd948,_0xd1fc29){const _0x2e1dca=_0x39ed8d;if(this[_0x2e1dca(0xfd)]===_0x2f4048[_0x2e1dca(0x249)])throw new Error(_0x2e1dca(0x18e));if(typeof _0x5cd948==_0x2e1dca(0xfa)&&(_0xd1fc29=_0x5cd948,_0x5cd948={}),typeof _0x4b9ef4==_0x2e1dca(0x193)&&(_0x4b9ef4=_0x4b9ef4['toString']()),this['readyState']!==_0x2f4048[_0x2e1dca(0x1fc)]){_0x17cc6a(this,_0x4b9ef4,_0xd1fc29);return;}const _0x1c6838={'binary':typeof _0x4b9ef4!='string','mask':!this[_0x2e1dca(0x173)],'compress':!0x0,'fin':!0x0,..._0x5cd948};this['_extensions'][_0x4339bc[_0x2e1dca(0x11a)]]||(_0x1c6838[_0x2e1dca(0x1bd)]=!0x1),this[_0x2e1dca(0x14a)]['send'](_0x4b9ef4||_0xae2732,_0x1c6838,_0xd1fc29);}['terminate'](){const _0xa18726=_0x39ed8d;if(this[_0xa18726(0xfd)]!==_0x2f4048['CLOSED']){if(this[_0xa18726(0xfd)]===_0x2f4048[_0xa18726(0x249)]){_0x5e7af4(this,this[_0xa18726(0x153)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this['_readyState']=_0x2f4048[_0xa18726(0xf0)],this[_0xa18726(0x29b)][_0xa18726(0x1a1)]());}}}Object[_0x39ed8d(0x180)](_0x2f4048,_0x39ed8d(0x249),{'enumerable':!0x0,'value':_0x2847f1[_0x39ed8d(0x140)](_0x39ed8d(0x249))}),Object[_0x39ed8d(0x180)](_0x2f4048[_0x39ed8d(0x297)],_0x39ed8d(0x249),{'enumerable':!0x0,'value':_0x2847f1[_0x39ed8d(0x140)](_0x39ed8d(0x249))}),Object['defineProperty'](_0x2f4048,_0x39ed8d(0x1fc),{'enumerable':!0x0,'value':_0x2847f1['indexOf'](_0x39ed8d(0x1fc))}),Object['defineProperty'](_0x2f4048['prototype'],_0x39ed8d(0x1fc),{'enumerable':!0x0,'value':_0x2847f1[_0x39ed8d(0x140)](_0x39ed8d(0x1fc))}),Object['defineProperty'](_0x2f4048,'CLOSING',{'enumerable':!0x0,'value':_0x2847f1[_0x39ed8d(0x140)]('CLOSING')}),Object[_0x39ed8d(0x180)](_0x2f4048['prototype'],_0x39ed8d(0xf0),{'enumerable':!0x0,'value':_0x2847f1[_0x39ed8d(0x140)](_0x39ed8d(0xf0))}),Object[_0x39ed8d(0x180)](_0x2f4048,_0x39ed8d(0xdc),{'enumerable':!0x0,'value':_0x2847f1[_0x39ed8d(0x140)](_0x39ed8d(0xdc))}),Object[_0x39ed8d(0x180)](_0x2f4048[_0x39ed8d(0x297)],_0x39ed8d(0xdc),{'enumerable':!0x0,'value':_0x2847f1['indexOf'](_0x39ed8d(0xdc))}),[_0x39ed8d(0xd0),_0x39ed8d(0x157),_0x39ed8d(0x215),_0x39ed8d(0xed),_0x39ed8d(0x1e1),_0x39ed8d(0xfd),_0x39ed8d(0x1f2)]['forEach'](_0x940ffb=>{const _0x5ef6e9=_0x39ed8d;Object[_0x5ef6e9(0x180)](_0x2f4048[_0x5ef6e9(0x297)],_0x940ffb,{'enumerable':!0x0});}),[_0x39ed8d(0x152),_0x39ed8d(0x13b),'close','message']['forEach'](_0x3188fc=>{const _0x38dd43=_0x39ed8d;Object[_0x38dd43(0x180)](_0x2f4048[_0x38dd43(0x297)],'on'+_0x3188fc,{'enumerable':!0x0,'get'(){for(const _0x5a4fb7 of this['listeners'](_0x3188fc))if(_0x5a4fb7[_0x4e19ab])return _0x5a4fb7[_0x54423a];return null;},'set'(_0x26114e){const _0x139cb4=_0x38dd43;for(const _0xd36067 of this['listeners'](_0x3188fc))if(_0xd36067[_0x4e19ab]){this[_0x139cb4(0x179)](_0x3188fc,_0xd36067);break;}typeof _0x26114e==_0x139cb4(0xfa)&&this[_0x139cb4(0x10d)](_0x3188fc,_0x26114e,{[_0x4e19ab]:!0x0});}});}),_0x2f4048[_0x39ed8d(0x297)][_0x39ed8d(0x10d)]=_0x564d1e,_0x2f4048[_0x39ed8d(0x297)]['removeEventListener']=_0x148f1b,_0x22f252=_0x2f4048;function _0x387339(_0x7e9140,_0x4fd819,_0x362062,_0x44d570){const _0x3e2096=_0x39ed8d,_0x4a2024={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x269755[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x44d570,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3e2096(0x262),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x7e9140[_0x3e2096(0x294)]=_0x4a2024[_0x3e2096(0x16f)],!_0x269755[_0x3e2096(0x134)](_0x4a2024['protocolVersion']))throw new RangeError(_0x3e2096(0x1c2)+_0x4a2024[_0x3e2096(0x23c)]+_0x3e2096(0x124)+_0x269755[_0x3e2096(0x27c)](',\x20')+')');let _0x2548e2;if(_0x4fd819 instanceof _0x2bc4de)_0x2548e2=_0x4fd819;else try{_0x2548e2=new _0x2bc4de(_0x4fd819);}catch{throw new SyntaxError(_0x3e2096(0xea)+_0x4fd819);}_0x2548e2[_0x3e2096(0x1e1)]==='http:'?_0x2548e2[_0x3e2096(0x1e1)]=_0x3e2096(0x29c):_0x2548e2['protocol']===_0x3e2096(0x26e)&&(_0x2548e2[_0x3e2096(0x1e1)]=_0x3e2096(0x1be)),_0x7e9140[_0x3e2096(0x242)]=_0x2548e2[_0x3e2096(0xe2)];const _0x41f452=_0x2548e2['protocol']===_0x3e2096(0x1be),_0x203d68=_0x2548e2[_0x3e2096(0x1e1)]==='ws+unix:';let _0x336a8c;if(_0x2548e2[_0x3e2096(0x1e1)]!=='ws:'&&!_0x41f452&&!_0x203d68?_0x336a8c=_0x3e2096(0x25f):_0x203d68&&!_0x2548e2[_0x3e2096(0x126)]?_0x336a8c=_0x3e2096(0x2a3):_0x2548e2[_0x3e2096(0x19c)]&&(_0x336a8c=_0x3e2096(0xe1)),_0x336a8c){const _0x185caf=new SyntaxError(_0x336a8c);if(_0x7e9140[_0x3e2096(0x1b4)]===0x0)throw _0x185caf;_0x2ffb72(_0x7e9140,_0x185caf);return;}const _0xbad600=_0x41f452?0x1bb:0x50,_0x23541f=_0x13f45f(0x10)[_0x3e2096(0x20e)](_0x3e2096(0x22c)),_0x22680d=_0x41f452?_0xd40dc3[_0x3e2096(0x1cc)]:_0x2c20f2[_0x3e2096(0x1cc)],_0xcdee1b=new Set();let _0xc34bbd;if(_0x4a2024['createConnection']=_0x4a2024[_0x3e2096(0x2a4)]||(_0x41f452?_0x427f8d:_0x5793c1),_0x4a2024[_0x3e2096(0x1b7)]=_0x4a2024[_0x3e2096(0x1b7)]||_0xbad600,_0x4a2024[_0x3e2096(0x244)]=_0x2548e2[_0x3e2096(0x244)]||_0xbad600,_0x4a2024['host']=_0x2548e2[_0x3e2096(0xdf)][_0x3e2096(0x29d)]('[')?_0x2548e2[_0x3e2096(0xdf)][_0x3e2096(0x281)](0x1,-0x1):_0x2548e2[_0x3e2096(0xdf)],_0x4a2024[_0x3e2096(0x2a5)]={..._0x4a2024['headers'],'Sec-WebSocket-Version':_0x4a2024['protocolVersion'],'Sec-WebSocket-Key':_0x23541f,'Connection':_0x3e2096(0x206),'Upgrade':_0x3e2096(0x119)},_0x4a2024[_0x3e2096(0x273)]=_0x2548e2[_0x3e2096(0x126)]+_0x2548e2[_0x3e2096(0x1a7)],_0x4a2024[_0x3e2096(0x283)]=_0x4a2024[_0x3e2096(0x291)],_0x4a2024[_0x3e2096(0x1d3)]&&(_0xc34bbd=new _0x4339bc(_0x4a2024[_0x3e2096(0x1d3)]!==!0x0?_0x4a2024[_0x3e2096(0x1d3)]:{},!0x1,_0x4a2024[_0x3e2096(0x174)]),_0x4a2024[_0x3e2096(0x2a5)][_0x3e2096(0x28b)]=_0x451246({[_0x4339bc[_0x3e2096(0x11a)]]:_0xc34bbd[_0x3e2096(0x27e)]()})),_0x362062['length']){for(const _0x22c7d0 of _0x362062){if(typeof _0x22c7d0!=_0x3e2096(0x298)||!_0x10e0a1[_0x3e2096(0x1dd)](_0x22c7d0)||_0xcdee1b[_0x3e2096(0x162)](_0x22c7d0))throw new SyntaxError(_0x3e2096(0x1bf));_0xcdee1b['add'](_0x22c7d0);}_0x4a2024[_0x3e2096(0x2a5)]['Sec-WebSocket-Protocol']=_0x362062[_0x3e2096(0x27c)](',');}if(_0x4a2024[_0x3e2096(0x16b)]&&(_0x4a2024[_0x3e2096(0x23c)]<0xd?_0x4a2024[_0x3e2096(0x2a5)]['Sec-WebSocket-Origin']=_0x4a2024[_0x3e2096(0x16b)]:_0x4a2024[_0x3e2096(0x2a5)][_0x3e2096(0xfb)]=_0x4a2024[_0x3e2096(0x16b)]),(_0x2548e2[_0x3e2096(0x282)]||_0x2548e2[_0x3e2096(0xfc)])&&(_0x4a2024[_0x3e2096(0x182)]=_0x2548e2[_0x3e2096(0x282)]+':'+_0x2548e2[_0x3e2096(0xfc)]),_0x203d68){const _0x15b742=_0x4a2024[_0x3e2096(0x273)][_0x3e2096(0x1ac)](':');_0x4a2024['socketPath']=_0x15b742[0x0],_0x4a2024[_0x3e2096(0x273)]=_0x15b742[0x1];}let _0x2d0900;if(_0x4a2024[_0x3e2096(0x21e)]){if(_0x7e9140['_redirects']===0x0){_0x7e9140['_originalIpc']=_0x203d68,_0x7e9140[_0x3e2096(0x21a)]=_0x41f452,_0x7e9140[_0x3e2096(0x122)]=_0x203d68?_0x4a2024[_0x3e2096(0x14f)]:_0x2548e2[_0x3e2096(0x21d)];const _0x25dbb6=_0x44d570&&_0x44d570['headers'];if(_0x44d570={..._0x44d570,'headers':{}},_0x25dbb6){for(const [_0x2347e0,_0x2cfc8e]of Object[_0x3e2096(0xd1)](_0x25dbb6))_0x44d570[_0x3e2096(0x2a5)][_0x2347e0[_0x3e2096(0x22b)]()]=_0x2cfc8e;}}else{if(_0x7e9140[_0x3e2096(0x213)](_0x3e2096(0x105))===0x0){const _0x542df9=_0x203d68?_0x7e9140[_0x3e2096(0x18b)]?_0x4a2024['socketPath']===_0x7e9140['_originalHostOrSocketPath']:!0x1:_0x7e9140['_originalIpc']?!0x1:_0x2548e2[_0x3e2096(0x21d)]===_0x7e9140['_originalHostOrSocketPath'];(!_0x542df9||_0x7e9140[_0x3e2096(0x21a)]&&!_0x41f452)&&(delete _0x4a2024[_0x3e2096(0x2a5)][_0x3e2096(0x257)],delete _0x4a2024[_0x3e2096(0x2a5)][_0x3e2096(0x24d)],_0x542df9||delete _0x4a2024[_0x3e2096(0x2a5)][_0x3e2096(0x21d)],_0x4a2024[_0x3e2096(0x182)]=void 0x0);}}_0x4a2024['auth']&&!_0x44d570[_0x3e2096(0x2a5)][_0x3e2096(0x257)]&&(_0x44d570['headers'][_0x3e2096(0x257)]=_0x3e2096(0x268)+Buffer[_0x3e2096(0x1c6)](_0x4a2024[_0x3e2096(0x182)])[_0x3e2096(0x20e)]('base64')),_0x2d0900=_0x7e9140['_req']=_0x22680d(_0x4a2024),_0x7e9140[_0x3e2096(0x1b4)]&&_0x7e9140[_0x3e2096(0x24e)](_0x3e2096(0x105),_0x7e9140[_0x3e2096(0x1f2)],_0x2d0900);}else _0x2d0900=_0x7e9140[_0x3e2096(0x153)]=_0x22680d(_0x4a2024);_0x4a2024[_0x3e2096(0x283)]&&_0x2d0900['on'](_0x3e2096(0x283),()=>{const _0x4e04eb=_0x3e2096;_0x5e7af4(_0x7e9140,_0x2d0900,_0x4e04eb(0x245));}),_0x2d0900['on']('error',_0x9f06b6=>{const _0x5bf1d7=_0x3e2096;_0x2d0900===null||_0x2d0900[_0x36fb37]||(_0x2d0900=_0x7e9140[_0x5bf1d7(0x153)]=null,_0x2ffb72(_0x7e9140,_0x9f06b6));}),_0x2d0900['on'](_0x3e2096(0x106),_0x37e1ad=>{const _0x3e27cf=_0x3e2096,_0x5830a7=_0x37e1ad[_0x3e27cf(0x2a5)][_0x3e27cf(0x292)],_0x57eaaf=_0x37e1ad['statusCode'];if(_0x5830a7&&_0x4a2024[_0x3e27cf(0x21e)]&&_0x57eaaf>=0x12c&&_0x57eaaf<0x190){if(++_0x7e9140[_0x3e27cf(0x1b4)]>_0x4a2024['maxRedirects']){_0x5e7af4(_0x7e9140,_0x2d0900,_0x3e27cf(0x18a));return;}_0x2d0900['abort']();let _0x5f1432;try{_0x5f1432=new _0x2bc4de(_0x5830a7,_0x4fd819);}catch{const _0x3f88fe=new SyntaxError('Invalid\x20URL:\x20'+_0x5830a7);_0x2ffb72(_0x7e9140,_0x3f88fe);return;}_0x387339(_0x7e9140,_0x5f1432,_0x362062,_0x44d570);}else _0x7e9140[_0x3e27cf(0x24e)](_0x3e27cf(0x1a4),_0x2d0900,_0x37e1ad)||_0x5e7af4(_0x7e9140,_0x2d0900,_0x3e27cf(0x1b1)+_0x37e1ad[_0x3e27cf(0x1d0)]);}),_0x2d0900['on'](_0x3e2096(0x280),(_0x2faea5,_0x24a101,_0x2e23b7)=>{const _0x559f7b=_0x3e2096;if(_0x7e9140[_0x559f7b(0x24e)](_0x559f7b(0x280),_0x2faea5),_0x7e9140['readyState']!==_0x2f4048[_0x559f7b(0x249)])return;_0x2d0900=_0x7e9140['_req']=null;const _0x3c1bc0=_0x2faea5[_0x559f7b(0x2a5)]['upgrade'];if(_0x3c1bc0===void 0x0||_0x3c1bc0[_0x559f7b(0x22b)]()!==_0x559f7b(0x119)){_0x5e7af4(_0x7e9140,_0x24a101,'Invalid\x20Upgrade\x20header');return;}const _0x4e7196=_0x5232a9(_0x559f7b(0x196))[_0x559f7b(0x230)](_0x23541f+_0x4df699)[_0x559f7b(0x220)]('base64');if(_0x2faea5[_0x559f7b(0x2a5)]['sec-websocket-accept']!==_0x4e7196){_0x5e7af4(_0x7e9140,_0x24a101,_0x559f7b(0x23a));return;}const _0x2bc88b=_0x2faea5[_0x559f7b(0x2a5)][_0x559f7b(0xec)];let _0x4acaf1;if(_0x2bc88b!==void 0x0?_0xcdee1b[_0x559f7b(0x1db)]?_0xcdee1b[_0x559f7b(0x162)](_0x2bc88b)||(_0x4acaf1=_0x559f7b(0x20f)):_0x4acaf1=_0x559f7b(0x100):_0xcdee1b['size']&&(_0x4acaf1=_0x559f7b(0x121)),_0x4acaf1){_0x5e7af4(_0x7e9140,_0x24a101,_0x4acaf1);return;}_0x2bc88b&&(_0x7e9140[_0x559f7b(0x24c)]=_0x2bc88b);const _0x1b7fdf=_0x2faea5[_0x559f7b(0x2a5)][_0x559f7b(0x14e)];if(_0x1b7fdf!==void 0x0){if(!_0xc34bbd){_0x5e7af4(_0x7e9140,_0x24a101,_0x559f7b(0x1a8));return;}let _0x4a95fe;try{_0x4a95fe=_0x3fa93d(_0x1b7fdf);}catch{_0x5e7af4(_0x7e9140,_0x24a101,_0x559f7b(0x156));return;}const _0x260821=Object[_0x559f7b(0x14d)](_0x4a95fe);if(_0x260821[_0x559f7b(0x175)]!==0x1||_0x260821[0x0]!==_0x4339bc['extensionName']){_0x5e7af4(_0x7e9140,_0x24a101,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0xc34bbd[_0x559f7b(0x191)](_0x4a95fe[_0x4339bc[_0x559f7b(0x11a)]]);}catch{_0x5e7af4(_0x7e9140,_0x24a101,_0x559f7b(0x156));return;}_0x7e9140[_0x559f7b(0x200)][_0x4339bc[_0x559f7b(0x11a)]]=_0xc34bbd;}_0x7e9140[_0x559f7b(0x137)](_0x24a101,_0x2e23b7,{'allowSynchronousEvents':_0x4a2024[_0x559f7b(0x123)],'generateMask':_0x4a2024[_0x559f7b(0x168)],'maxPayload':_0x4a2024[_0x559f7b(0x174)],'skipUTF8Validation':_0x4a2024['skipUTF8Validation']});}),_0x4a2024['finishRequest']?_0x4a2024[_0x3e2096(0x270)](_0x2d0900,_0x7e9140):_0x2d0900['end']();}function _0x2ffb72(_0x20b479,_0x244f99){const _0x5728a3=_0x39ed8d;_0x20b479[_0x5728a3(0xe9)]=_0x2f4048[_0x5728a3(0xf0)],_0x20b479[_0x5728a3(0x22f)]=!0x0,_0x20b479[_0x5728a3(0x24e)]('error',_0x244f99),_0x20b479['emitClose']();}function _0x5793c1(_0x571c68){const _0x58934c=_0x39ed8d;return _0x571c68['path']=_0x571c68[_0x58934c(0x14f)],_0x365a4c[_0x58934c(0xde)](_0x571c68);}function _0x427f8d(_0x3e87dc){const _0x1746c0=_0x39ed8d;return _0x3e87dc['path']=void 0x0,!_0x3e87dc[_0x1746c0(0x21f)]&&_0x3e87dc[_0x1746c0(0x21f)]!==''&&(_0x3e87dc[_0x1746c0(0x21f)]=_0x365a4c[_0x1746c0(0x11b)](_0x3e87dc[_0x1746c0(0x21d)])?'':_0x3e87dc[_0x1746c0(0x21d)]),_0xc688ba[_0x1746c0(0xde)](_0x3e87dc);}function _0x5e7af4(_0x22d693,_0x122c1e,_0x100dbe){const _0x150040=_0x39ed8d;_0x22d693[_0x150040(0xe9)]=_0x2f4048[_0x150040(0xf0)];const _0x42aed7=new Error(_0x100dbe);Error['captureStackTrace'](_0x42aed7,_0x5e7af4),_0x122c1e[_0x150040(0x1f0)]?(_0x122c1e[_0x36fb37]=!0x0,_0x122c1e['abort'](),_0x122c1e[_0x150040(0x1fb)]&&!_0x122c1e[_0x150040(0x1fb)][_0x150040(0xe4)]&&_0x122c1e[_0x150040(0x1fb)]['destroy'](),process[_0x150040(0x2a0)](_0x2ffb72,_0x22d693,_0x42aed7)):(_0x122c1e[_0x150040(0x1a1)](_0x42aed7),_0x122c1e['once'](_0x150040(0x13b),_0x22d693[_0x150040(0x24e)][_0x150040(0x236)](_0x22d693,_0x150040(0x13b))),_0x122c1e[_0x150040(0x1f7)](_0x150040(0x1fe),_0x22d693[_0x150040(0x1fd)][_0x150040(0x236)](_0x22d693)));}function _0x17cc6a(_0x14af2f,_0x19bd94,_0x9934e6){const _0xacffbe=_0x39ed8d;if(_0x19bd94){const _0x459a62=_0x5d78e8(_0x19bd94)?_0x19bd94['size']:_0x31facb(_0x19bd94)['length'];_0x14af2f[_0xacffbe(0x29b)]?_0x14af2f[_0xacffbe(0x14a)][_0xacffbe(0xd8)]+=_0x459a62:_0x14af2f[_0xacffbe(0x186)]+=_0x459a62;}if(_0x9934e6){const _0x1c6851=new Error(_0xacffbe(0x1f5)+_0x14af2f[_0xacffbe(0xfd)]+'\x20('+_0x2847f1[_0x14af2f['readyState']]+')');process[_0xacffbe(0x2a0)](_0x9934e6,_0x1c6851);}}function _0x31762c(_0x457666,_0xdc5845){const _0x20678c=_0x39ed8d,_0x317c4f=this[_0x12c257];_0x317c4f[_0x20678c(0x128)]=!0x0,_0x317c4f[_0x20678c(0xdb)]=_0xdc5845,_0x317c4f[_0x20678c(0x178)]=_0x457666,_0x317c4f[_0x20678c(0x29b)][_0x12c257]!==void 0x0&&(_0x317c4f[_0x20678c(0x29b)][_0x20678c(0x179)](_0x20678c(0x125),_0x3d83d0),process[_0x20678c(0x2a0)](_0x14b13e,_0x317c4f[_0x20678c(0x29b)]),_0x457666===0x3ed?_0x317c4f['close']():_0x317c4f[_0x20678c(0x1fe)](_0x457666,_0xdc5845));}function _0x581098(){const _0x1d8318=_0x39ed8d,_0x110f02=this[_0x12c257];_0x110f02[_0x1d8318(0xed)]||_0x110f02[_0x1d8318(0x29b)][_0x1d8318(0x201)]();}function _0x5164a2(_0x5a8240){const _0x40eabe=_0x39ed8d,_0x668ead=this[_0x12c257];_0x668ead[_0x40eabe(0x29b)][_0x12c257]!==void 0x0&&(_0x668ead[_0x40eabe(0x29b)][_0x40eabe(0x179)]('data',_0x3d83d0),process['nextTick'](_0x14b13e,_0x668ead['_socket']),_0x668ead[_0x40eabe(0x1fe)](_0x5a8240[_0x24f996])),_0x668ead[_0x40eabe(0x22f)]||(_0x668ead['_errorEmitted']=!0x0,_0x668ead[_0x40eabe(0x24e)](_0x40eabe(0x13b),_0x5a8240));}function _0x2116a5(){const _0x187a21=_0x39ed8d;this[_0x12c257][_0x187a21(0x1fd)]();}function _0x5e778f(_0x2f078c,_0x50d1b0){const _0x20be16=_0x39ed8d;this[_0x12c257]['emit'](_0x20be16(0x104),_0x2f078c,_0x50d1b0);}function _0xecb56a(_0x2a5546){const _0x398edf=_0x39ed8d,_0x1c736f=this[_0x12c257];_0x1c736f[_0x398edf(0x294)]&&_0x1c736f[_0x398edf(0x164)](_0x2a5546,!this[_0x398edf(0x173)],_0x32e595),_0x1c736f[_0x398edf(0x24e)](_0x398edf(0x277),_0x2a5546);}function _0x1ca9ad(_0x1526b7){const _0x32b5a8=_0x39ed8d;this[_0x12c257][_0x32b5a8(0x24e)](_0x32b5a8(0x164),_0x1526b7);}function _0x14b13e(_0x6a25ec){const _0x1743fd=_0x39ed8d;_0x6a25ec[_0x1743fd(0x201)]();}function _0x459706(_0x589db0){const _0x482dc8=_0x39ed8d,_0x51c9c1=this[_0x12c257];_0x51c9c1[_0x482dc8(0xfd)]!==_0x2f4048[_0x482dc8(0xdc)]&&(_0x51c9c1['readyState']===_0x2f4048[_0x482dc8(0x1fc)]&&(_0x51c9c1[_0x482dc8(0xe9)]=_0x2f4048['CLOSING'],_0x35a9e8(_0x51c9c1)),this[_0x482dc8(0x29b)][_0x482dc8(0xd6)](),_0x51c9c1[_0x482dc8(0x22f)]||(_0x51c9c1[_0x482dc8(0x22f)]=!0x0,_0x51c9c1[_0x482dc8(0x24e)](_0x482dc8(0x13b),_0x589db0)));}function _0x35a9e8(_0x4ec0f6){const _0x49b57f=_0x39ed8d;_0x4ec0f6[_0x49b57f(0x285)]=setTimeout(_0x4ec0f6['_socket'][_0x49b57f(0x1a1)]['bind'](_0x4ec0f6[_0x49b57f(0x29b)]),_0x4420c2);}function _0xc2098(){const _0x50f489=_0x39ed8d,_0x5ec153=this[_0x12c257];this[_0x50f489(0x179)](_0x50f489(0x1fe),_0xc2098),this[_0x50f489(0x179)](_0x50f489(0x125),_0x3d83d0),this['removeListener'](_0x50f489(0xd6),_0x4160dd),_0x5ec153[_0x50f489(0xe9)]=_0x2f4048[_0x50f489(0xf0)];let _0x4681fd;!this[_0x50f489(0x110)][_0x50f489(0x184)]&&!_0x5ec153['_closeFrameReceived']&&!_0x5ec153['_receiver'][_0x50f489(0x251)][_0x50f489(0x13a)]&&(_0x4681fd=_0x5ec153[_0x50f489(0x29b)]['read']())!==null&&_0x5ec153[_0x50f489(0x10c)][_0x50f489(0x272)](_0x4681fd),_0x5ec153[_0x50f489(0x10c)]['end'](),this[_0x12c257]=void 0x0,clearTimeout(_0x5ec153[_0x50f489(0x285)]),_0x5ec153['_receiver'][_0x50f489(0x251)][_0x50f489(0x13f)]||_0x5ec153['_receiver']['_writableState'][_0x50f489(0x13a)]?_0x5ec153[_0x50f489(0x1fd)]():(_0x5ec153[_0x50f489(0x10c)]['on'](_0x50f489(0x13b),_0x2116a5),_0x5ec153[_0x50f489(0x10c)]['on'](_0x50f489(0x1c7),_0x2116a5));}function _0x3d83d0(_0x2a6f18){this[_0x12c257]['_receiver']['write'](_0x2a6f18)||this['pause']();}function _0x4160dd(){const _0x35fba1=_0x39ed8d,_0x2cb667=this[_0x12c257];_0x2cb667[_0x35fba1(0xe9)]=_0x2f4048['CLOSING'],_0x2cb667[_0x35fba1(0x10c)][_0x35fba1(0xd6)](),this[_0x35fba1(0xd6)]();}function _0x19c7fe(){const _0x25d76b=_0x39ed8d,_0x1e0429=this[_0x12c257];this[_0x25d76b(0x179)](_0x25d76b(0x13b),_0x19c7fe),this['on'](_0x25d76b(0x13b),_0x32e595),_0x1e0429&&(_0x1e0429[_0x25d76b(0xe9)]=_0x2f4048['CLOSING'],this['destroy']());}return _0x22f252;}var _0x1c4d33,_0x447882;function _0x5cfb89(){if(_0x447882)return _0x1c4d33;_0x447882=0x1,_0x4075d6();const {Duplex:_0x1d5236}=_0x1051fa;function _0x5c9941(_0x500558){const _0x4102dc=_0x189a;_0x500558[_0x4102dc(0x24e)]('close');}function _0x390423(){const _0x500620=_0x189a;!this[_0x500620(0xe4)]&&this[_0x500620(0x251)][_0x500620(0x13f)]&&this['destroy']();}function _0x434007(_0x53dbce){const _0x41ec46=_0x189a;this[_0x41ec46(0x179)]('error',_0x434007),this[_0x41ec46(0x1a1)](),this[_0x41ec46(0x213)]('error')===0x0&&this[_0x41ec46(0x24e)](_0x41ec46(0x13b),_0x53dbce);}function _0x150214(_0x181930,_0x360ea1){const _0x1ff55a=_0x189a;let _0x130e30=!0x0;const _0x11fcbd=new _0x1d5236({..._0x360ea1,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x181930['on']('message',function(_0x15bd76,_0x516540){const _0x1bc6fb=_0x189a,_0x5ab31c=!_0x516540&&_0x11fcbd[_0x1bc6fb(0x110)]['objectMode']?_0x15bd76['toString']():_0x15bd76;_0x11fcbd[_0x1bc6fb(0x299)](_0x5ab31c)||_0x181930[_0x1bc6fb(0x26f)]();}),_0x181930[_0x1ff55a(0x1f7)]('error',function(_0xbcf2e6){const _0x5c7a6b=_0x1ff55a;_0x11fcbd['destroyed']||(_0x130e30=!0x1,_0x11fcbd[_0x5c7a6b(0x1a1)](_0xbcf2e6));}),_0x181930[_0x1ff55a(0x1f7)](_0x1ff55a(0x1fe),function(){const _0xcfb0fc=_0x1ff55a;_0x11fcbd[_0xcfb0fc(0xe4)]||_0x11fcbd[_0xcfb0fc(0x299)](null);}),_0x11fcbd['_destroy']=function(_0x2cf6fe,_0xb05151){const _0x355ffb=_0x1ff55a;if(_0x181930['readyState']===_0x181930[_0x355ffb(0xdc)]){_0xb05151(_0x2cf6fe),process[_0x355ffb(0x2a0)](_0x5c9941,_0x11fcbd);return;}let _0x37f317=!0x1;_0x181930[_0x355ffb(0x1f7)](_0x355ffb(0x13b),function(_0x1de3f5){_0x37f317=!0x0,_0xb05151(_0x1de3f5);}),_0x181930[_0x355ffb(0x1f7)]('close',function(){_0x37f317||_0xb05151(_0x2cf6fe),process['nextTick'](_0x5c9941,_0x11fcbd);}),_0x130e30&&_0x181930[_0x355ffb(0x192)]();},_0x11fcbd[_0x1ff55a(0xe7)]=function(_0x564ad1){const _0x1369aa=_0x1ff55a;if(_0x181930[_0x1369aa(0xfd)]===_0x181930[_0x1369aa(0x249)]){_0x181930[_0x1369aa(0x1f7)](_0x1369aa(0x152),function(){const _0x72309d=_0x1369aa;_0x11fcbd[_0x72309d(0xe7)](_0x564ad1);});return;}_0x181930[_0x1369aa(0x29b)]!==null&&(_0x181930['_socket'][_0x1369aa(0x251)]['finished']?(_0x564ad1(),_0x11fcbd['_readableState'][_0x1369aa(0x184)]&&_0x11fcbd[_0x1369aa(0x1a1)]()):(_0x181930['_socket'][_0x1369aa(0x1f7)](_0x1369aa(0x1c7),function(){_0x564ad1();}),_0x181930[_0x1369aa(0x1fe)]()));},_0x11fcbd['_read']=function(){const _0x7e9168=_0x1ff55a;_0x181930[_0x7e9168(0xed)]&&_0x181930[_0x7e9168(0x201)]();},_0x11fcbd[_0x1ff55a(0xdd)]=function(_0x475dce,_0x256d84,_0x31cd6a){const _0x3e543c=_0x1ff55a;if(_0x181930[_0x3e543c(0xfd)]===_0x181930[_0x3e543c(0x249)]){_0x181930['once'](_0x3e543c(0x152),function(){const _0x1cede3=_0x3e543c;_0x11fcbd[_0x1cede3(0xdd)](_0x475dce,_0x256d84,_0x31cd6a);});return;}_0x181930[_0x3e543c(0x1af)](_0x475dce,_0x31cd6a);},_0x11fcbd['on']('end',_0x390423),_0x11fcbd['on'](_0x1ff55a(0x13b),_0x434007),_0x11fcbd;}return _0x1c4d33=_0x150214,_0x1c4d33;}_0x5cfb89(),_0x31778c(),_0x25b7de();var _0x3fc31d=_0x4075d6();const _0x11f8ff=_0xf8debd(_0x3fc31d);var _0x789613,_0x1165d0;function _0x41d748(){if(_0x1165d0)return _0x789613;_0x1165d0=0x1;const {tokenChars:_0x2f27cf}=_0x124c02();function _0x197365(_0xec60b2){const _0x3df2fd=_0x189a,_0x135050=new Set();let _0xe1054f=-0x1,_0x19494f=-0x1,_0x39b1f1=0x0;for(_0x39b1f1;_0x39b1f1<_0xec60b2['length'];_0x39b1f1++){const _0x1cd9d6=_0xec60b2[_0x3df2fd(0x150)](_0x39b1f1);if(_0x19494f===-0x1&&_0x2f27cf[_0x1cd9d6]===0x1)_0xe1054f===-0x1&&(_0xe1054f=_0x39b1f1);else{if(_0x39b1f1!==0x0&&(_0x1cd9d6===0x20||_0x1cd9d6===0x9))_0x19494f===-0x1&&_0xe1054f!==-0x1&&(_0x19494f=_0x39b1f1);else{if(_0x1cd9d6===0x2c){if(_0xe1054f===-0x1)throw new SyntaxError(_0x3df2fd(0x12e)+_0x39b1f1);_0x19494f===-0x1&&(_0x19494f=_0x39b1f1);const _0x8f890d=_0xec60b2[_0x3df2fd(0x281)](_0xe1054f,_0x19494f);if(_0x135050[_0x3df2fd(0x162)](_0x8f890d))throw new SyntaxError(_0x3df2fd(0x16e)+_0x8f890d+_0x3df2fd(0x19e));_0x135050[_0x3df2fd(0x25e)](_0x8f890d),_0xe1054f=_0x19494f=-0x1;}else throw new SyntaxError(_0x3df2fd(0x12e)+_0x39b1f1);}}}if(_0xe1054f===-0x1||_0x19494f!==-0x1)throw new SyntaxError(_0x3df2fd(0x1ad));const _0x3df8fb=_0xec60b2[_0x3df2fd(0x281)](_0xe1054f,_0x39b1f1);if(_0x135050[_0x3df2fd(0x162)](_0x3df8fb))throw new SyntaxError(_0x3df2fd(0x16e)+_0x3df8fb+'\x22\x20subprotocol\x20is\x20duplicated');return _0x135050[_0x3df2fd(0x25e)](_0x3df8fb),_0x135050;}return _0x789613={'parse':_0x197365},_0x789613;}var _0x519e12,_0x18e4de;function _0xeddeaa(){const _0x5d96c2=_0x4fa2ae;if(_0x18e4de)return _0x519e12;_0x18e4de=0x1;const _0x17891a=_0x25ec7c,_0x14b42f=_0x148160,{Duplex:_0x546213}=_0x1051fa,{createHash:_0x46b0f3}=_0x13bfe,_0x24f340=_0x17696f(),_0x3bea7f=_0x521164(),_0x2056d0=_0x41d748(),_0x59579d=_0x4075d6(),{GUID:_0x290912,kWebSocket:_0x105534}=_0x16abd9(),_0x2a8637=/^[+/0-9A-Za-z]{22}==$/,_0x414ec9=0x0,_0x223f33=0x1,_0x4cdb1a=0x2;class _0x2c2da1 extends _0x17891a{constructor(_0x17a09c,_0x110a5d){const _0x1ea7fd=_0x189a;if(super(),_0x17a09c={'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':_0x59579d,..._0x17a09c},_0x17a09c[_0x1ea7fd(0x244)]==null&&!_0x17a09c[_0x1ea7fd(0xda)]&&!_0x17a09c[_0x1ea7fd(0x265)]||_0x17a09c['port']!=null&&(_0x17a09c[_0x1ea7fd(0xda)]||_0x17a09c[_0x1ea7fd(0x265)])||_0x17a09c[_0x1ea7fd(0xda)]&&_0x17a09c[_0x1ea7fd(0x265)])throw new TypeError(_0x1ea7fd(0x226));if(_0x17a09c[_0x1ea7fd(0x244)]!=null?(this['_server']=_0x14b42f[_0x1ea7fd(0x172)]((_0x5915ba,_0x32e54d)=>{const _0x21c5cd=_0x1ea7fd,_0x1b321f=_0x14b42f[_0x21c5cd(0x1f9)][0x1aa];_0x32e54d[_0x21c5cd(0x211)](0x1aa,{'Content-Length':_0x1b321f[_0x21c5cd(0x175)],'Content-Type':_0x21c5cd(0x210)}),_0x32e54d[_0x21c5cd(0xd6)](_0x1b321f);}),this[_0x1ea7fd(0x1a9)][_0x1ea7fd(0x18c)](_0x17a09c[_0x1ea7fd(0x244)],_0x17a09c[_0x1ea7fd(0x21d)],_0x17a09c['backlog'],_0x110a5d)):_0x17a09c[_0x1ea7fd(0xda)]&&(this['_server']=_0x17a09c['server']),this[_0x1ea7fd(0x1a9)]){const _0x1508a7=this['emit'][_0x1ea7fd(0x236)](this,'connection');this[_0x1ea7fd(0x26c)]=_0x6d72c7(this[_0x1ea7fd(0x1a9)],{'listening':this['emit'][_0x1ea7fd(0x236)](this,'listening'),'error':this[_0x1ea7fd(0x24e)][_0x1ea7fd(0x236)](this,'error'),'upgrade':(_0x8dc5d5,_0x1fca48,_0x357165)=>{const _0x2a7b1a=_0x1ea7fd;this[_0x2a7b1a(0x25a)](_0x8dc5d5,_0x1fca48,_0x357165,_0x1508a7);}});}_0x17a09c[_0x1ea7fd(0x1d3)]===!0x0&&(_0x17a09c[_0x1ea7fd(0x1d3)]={}),_0x17a09c[_0x1ea7fd(0x14c)]&&(this[_0x1ea7fd(0x112)]=new Set(),this[_0x1ea7fd(0x296)]=!0x1),this[_0x1ea7fd(0x275)]=_0x17a09c,this['_state']=_0x414ec9;}['address'](){const _0x5e0b87=_0x189a;if(this['options']['noServer'])throw new Error(_0x5e0b87(0xe0));return this[_0x5e0b87(0x1a9)]?this[_0x5e0b87(0x1a9)]['address']():null;}['close'](_0x4f6c15){const _0x3bd36c=_0x189a;if(this[_0x3bd36c(0xef)]===_0x4cdb1a){_0x4f6c15&&this[_0x3bd36c(0x1f7)](_0x3bd36c(0x1fe),()=>{const _0x44e5bd=_0x3bd36c;_0x4f6c15(new Error(_0x44e5bd(0x252)));}),process[_0x3bd36c(0x2a0)](_0x24cbe6,this);return;}if(_0x4f6c15&&this['once'](_0x3bd36c(0x1fe),_0x4f6c15),this[_0x3bd36c(0xef)]!==_0x223f33){if(this[_0x3bd36c(0xef)]=_0x223f33,this[_0x3bd36c(0x275)][_0x3bd36c(0x265)]||this['options'][_0x3bd36c(0xda)])this[_0x3bd36c(0x1a9)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x3bd36c(0x1a9)]=null),this[_0x3bd36c(0x112)]?this[_0x3bd36c(0x112)]['size']?this['_shouldEmitClose']=!0x0:process[_0x3bd36c(0x2a0)](_0x24cbe6,this):process[_0x3bd36c(0x2a0)](_0x24cbe6,this);else{const _0x489ee9=this['_server'];this[_0x3bd36c(0x26c)](),this[_0x3bd36c(0x26c)]=this['_server']=null,_0x489ee9[_0x3bd36c(0x1fe)](()=>{_0x24cbe6(this);});}}}[_0x5d96c2(0x15e)](_0x57c363){const _0x24da1e=_0x5d96c2;if(this[_0x24da1e(0x275)][_0x24da1e(0x273)]){const _0x333020=_0x57c363[_0x24da1e(0x1f2)][_0x24da1e(0x140)]('?');if((_0x333020!==-0x1?_0x57c363['url'][_0x24da1e(0x281)](0x0,_0x333020):_0x57c363[_0x24da1e(0x1f2)])!==this[_0x24da1e(0x275)]['path'])return!0x1;}return!0x0;}[_0x5d96c2(0x25a)](_0x31c049,_0x58b23a,_0x5a565f,_0x5d26bd){const _0x56fe7a=_0x5d96c2;_0x58b23a['on'](_0x56fe7a(0x13b),_0x1c5cef);const _0x3cc93b=_0x31c049['headers'][_0x56fe7a(0xd3)],_0x825c97=_0x31c049['headers'][_0x56fe7a(0x280)],_0x50ff42=+_0x31c049[_0x56fe7a(0x2a5)][_0x56fe7a(0x160)];if(_0x31c049['method']!==_0x56fe7a(0x262)){_0x122a8c(this,_0x31c049,_0x58b23a,0x195,_0x56fe7a(0x148));return;}if(_0x825c97===void 0x0||_0x825c97[_0x56fe7a(0x22b)]()!==_0x56fe7a(0x119)){_0x122a8c(this,_0x31c049,_0x58b23a,0x190,_0x56fe7a(0x1aa));return;}if(_0x3cc93b===void 0x0||!_0x2a8637[_0x56fe7a(0x1dd)](_0x3cc93b)){_0x122a8c(this,_0x31c049,_0x58b23a,0x190,_0x56fe7a(0x17d));return;}if(_0x50ff42!==0xd&&_0x50ff42!==0x8){_0x122a8c(this,_0x31c049,_0x58b23a,0x190,_0x56fe7a(0xcf),{'Sec-WebSocket-Version':_0x56fe7a(0x115)});return;}if(!this[_0x56fe7a(0x15e)](_0x31c049)){_0x15bf18(_0x58b23a,0x190);return;}const _0x37eeea=_0x31c049['headers'][_0x56fe7a(0xec)];let _0x3fc462=new Set();if(_0x37eeea!==void 0x0)try{_0x3fc462=_0x2056d0[_0x56fe7a(0x223)](_0x37eeea);}catch{_0x122a8c(this,_0x31c049,_0x58b23a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x96ef7c=_0x31c049[_0x56fe7a(0x2a5)][_0x56fe7a(0x14e)],_0xd7f8df={};if(this[_0x56fe7a(0x275)][_0x56fe7a(0x1d3)]&&_0x96ef7c!==void 0x0){const _0x5aa621=new _0x3bea7f(this[_0x56fe7a(0x275)][_0x56fe7a(0x1d3)],!0x0,this[_0x56fe7a(0x275)][_0x56fe7a(0x174)]);try{const _0x33037a=_0x24f340[_0x56fe7a(0x223)](_0x96ef7c);_0x33037a[_0x3bea7f[_0x56fe7a(0x11a)]]&&(_0x5aa621['accept'](_0x33037a[_0x3bea7f['extensionName']]),_0xd7f8df[_0x3bea7f['extensionName']]=_0x5aa621);}catch{_0x122a8c(this,_0x31c049,_0x58b23a,0x190,_0x56fe7a(0x1f8));return;}}if(this['options'][_0x56fe7a(0x190)]){const _0x5c2ab0={'origin':_0x31c049[_0x56fe7a(0x2a5)][''+(_0x50ff42===0x8?'sec-websocket-origin':_0x56fe7a(0x16b))],'secure':!!(_0x31c049['socket'][_0x56fe7a(0xfe)]||_0x31c049[_0x56fe7a(0x1fb)][_0x56fe7a(0x19a)]),'req':_0x31c049};if(this['options'][_0x56fe7a(0x190)][_0x56fe7a(0x175)]===0x2){this['options'][_0x56fe7a(0x190)](_0x5c2ab0,(_0x1f8255,_0x5dddb3,_0x88d226,_0x17c161)=>{const _0x59f1be=_0x56fe7a;if(!_0x1f8255)return _0x15bf18(_0x58b23a,_0x5dddb3||0x191,_0x88d226,_0x17c161);this[_0x59f1be(0x10f)](_0xd7f8df,_0x3cc93b,_0x3fc462,_0x31c049,_0x58b23a,_0x5a565f,_0x5d26bd);});return;}if(!this[_0x56fe7a(0x275)]['verifyClient'](_0x5c2ab0))return _0x15bf18(_0x58b23a,0x191);}this[_0x56fe7a(0x10f)](_0xd7f8df,_0x3cc93b,_0x3fc462,_0x31c049,_0x58b23a,_0x5a565f,_0x5d26bd);}['completeUpgrade'](_0x5633d6,_0x3d3a72,_0x3d839e,_0xf22d35,_0x26f009,_0x2c6c20,_0x35ee57){const _0x150c03=_0x5d96c2;if(!_0x26f009['readable']||!_0x26f009[_0x150c03(0x1c0)])return _0x26f009['destroy']();if(_0x26f009[_0x105534])throw new Error(_0x150c03(0xf9));if(this[_0x150c03(0xef)]>_0x414ec9)return _0x15bf18(_0x26f009,0x1f7);const _0x1eae1d=[_0x150c03(0x1f6),_0x150c03(0x256),'Connection:\x20Upgrade',_0x150c03(0xf5)+_0x46b0f3('sha1')['update'](_0x3d3a72+_0x290912)[_0x150c03(0x220)](_0x150c03(0x22c))],_0x143669=new this['options'][(_0x150c03(0x139))](null,void 0x0,this['options']);if(_0x3d839e[_0x150c03(0x1db)]){const _0x2cbd14=this[_0x150c03(0x275)]['handleProtocols']?this[_0x150c03(0x275)][_0x150c03(0x12c)](_0x3d839e,_0xf22d35):_0x3d839e[_0x150c03(0x20c)]()[_0x150c03(0x1c1)]()[_0x150c03(0x267)];_0x2cbd14&&(_0x1eae1d['push'](_0x150c03(0x276)+_0x2cbd14),_0x143669[_0x150c03(0x24c)]=_0x2cbd14);}if(_0x5633d6[_0x3bea7f['extensionName']]){const _0x188e00=_0x5633d6[_0x3bea7f['extensionName']][_0x150c03(0x219)],_0x492979=_0x24f340['format']({[_0x3bea7f[_0x150c03(0x11a)]]:[_0x188e00]});_0x1eae1d[_0x150c03(0x299)](_0x150c03(0x1ed)+_0x492979),_0x143669[_0x150c03(0x200)]=_0x5633d6;}this[_0x150c03(0x24e)](_0x150c03(0x2a5),_0x1eae1d,_0xf22d35),_0x26f009[_0x150c03(0x272)](_0x1eae1d[_0x150c03(0x23f)]('\x0d\x0a')['join']('\x0d\x0a')),_0x26f009['removeListener']('error',_0x1c5cef),_0x143669[_0x150c03(0x137)](_0x26f009,_0x2c6c20,{'allowSynchronousEvents':this[_0x150c03(0x275)][_0x150c03(0x123)],'maxPayload':this['options'][_0x150c03(0x174)],'skipUTF8Validation':this[_0x150c03(0x275)]['skipUTF8Validation']}),this['clients']&&(this[_0x150c03(0x112)]['add'](_0x143669),_0x143669['on'](_0x150c03(0x1fe),()=>{const _0x5f313e=_0x150c03;this[_0x5f313e(0x112)][_0x5f313e(0x1ee)](_0x143669),this[_0x5f313e(0x296)]&&!this[_0x5f313e(0x112)][_0x5f313e(0x1db)]&&process['nextTick'](_0x24cbe6,this);})),_0x35ee57(_0x143669,_0xf22d35);}}_0x519e12=_0x2c2da1;function _0x6d72c7(_0x1ef31d,_0x590c8b){const _0x2e100d=_0x5d96c2;for(const _0x29bd1d of Object[_0x2e100d(0x14d)](_0x590c8b))_0x1ef31d['on'](_0x29bd1d,_0x590c8b[_0x29bd1d]);return function(){const _0x337a07=_0x2e100d;for(const _0x3b488d of Object[_0x337a07(0x14d)](_0x590c8b))_0x1ef31d[_0x337a07(0x179)](_0x3b488d,_0x590c8b[_0x3b488d]);};}function _0x24cbe6(_0x48d43b){const _0x5029d2=_0x5d96c2;_0x48d43b[_0x5029d2(0xef)]=_0x4cdb1a,_0x48d43b[_0x5029d2(0x24e)](_0x5029d2(0x1fe));}function _0x1c5cef(){const _0xec70b5=_0x5d96c2;this[_0xec70b5(0x1a1)]();}function _0x15bf18(_0x151ddb,_0x50dd8b,_0x482c63,_0x32f11f){const _0x2406d3=_0x5d96c2;_0x482c63=_0x482c63||_0x14b42f['STATUS_CODES'][_0x50dd8b],_0x32f11f={'Connection':'close','Content-Type':_0x2406d3(0x109),'Content-Length':Buffer['byteLength'](_0x482c63),..._0x32f11f},_0x151ddb['once'](_0x2406d3(0x1c7),_0x151ddb[_0x2406d3(0x1a1)]),_0x151ddb[_0x2406d3(0xd6)](_0x2406d3(0x1cf)+_0x50dd8b+'\x20'+_0x14b42f[_0x2406d3(0x1f9)][_0x50dd8b]+'\x0d\x0a'+Object['keys'](_0x32f11f)[_0x2406d3(0x260)](_0x44473e=>_0x44473e+':\x20'+_0x32f11f[_0x44473e])[_0x2406d3(0x27c)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x482c63);}function _0x122a8c(_0x323fc1,_0x116aed,_0x262516,_0x1d1bfa,_0x216296,_0x53f73a){const _0x82193=_0x5d96c2;if(_0x323fc1[_0x82193(0x213)]('wsClientError')){const _0x4b9ca0=new Error(_0x216296);Error[_0x82193(0x1a6)](_0x4b9ca0,_0x122a8c),_0x323fc1['emit'](_0x82193(0x29f),_0x4b9ca0,_0x262516,_0x116aed);}else _0x15bf18(_0x262516,_0x1d1bfa,_0x216296,_0x53f73a);}return _0x519e12;}_0xeddeaa();var _0x4d4a58=Object[_0x4fa2ae(0x271)],_0x48ba57=(_0x2fe37f,_0x380b10,_0x25feb6,_0x4e5bb2)=>{const _0x31232e=_0x4fa2ae;for(var _0x59c81c=_0x4e5bb2>0x1?void 0x0:_0x4e5bb2?_0x4d4a58(_0x380b10,_0x25feb6):_0x380b10,_0x3d8858=_0x2fe37f[_0x31232e(0x175)]-0x1,_0x204916;_0x3d8858>=0x0;_0x3d8858--)(_0x204916=_0x2fe37f[_0x3d8858])&&(_0x59c81c=_0x204916(_0x59c81c)||_0x59c81c);return _0x59c81c;},_0x166b6c=(_0x27bef7,_0x14f55f)=>(_0x53d301,_0x5a2a7c)=>_0x14f55f(_0x53d301,_0x5a2a7c,_0x27bef7);let _0x544551=class extends _0x4a9cad[_0x4fa2ae(0x216)]{constructor(_0x520e29){const _0x110149=_0x4fa2ae;super(),this[_0x110149(0x1bc)]=_0x520e29;}[_0x4fa2ae(0x225)](_0x1c235a){const _0x37e52a=_0x4fa2ae;var _0xff501e;const _0x3c64bb=((_0xff501e=this[_0x37e52a(0x1bc)][_0x37e52a(0x1b0)](_0x187d8b[_0x37e52a(0x207)]))==null?void 0x0:_0xff501e[_0x37e52a(0x261)])||{};try{const _0x391bc1=new _0x11f8ff(_0x1c235a,{'headers':{..._0x3c64bb}}),_0x53f1d9=new _0x4a9cad[(_0x37e52a(0x241))]();return{'URL':_0x1c235a,'close':(_0x2a0437,_0x26eaee)=>{const _0x1e6562=_0x37e52a;_0x391bc1['close'](_0x2a0437,_0x26eaee),_0x53f1d9[_0x1e6562(0x238)]();},'send':_0x5802d8=>{const _0x307360=_0x37e52a;_0x391bc1[_0x307360(0x1af)](_0x5802d8);},'open$':new _0x4af933[(_0x37e52a(0x176))](_0x423228=>{const _0x36c581=_0x37e52a,_0x3d3d48=_0x29c39f=>_0x423228['next'](_0x29c39f);_0x391bc1['addEventListener']('open',_0x3d3d48),_0x53f1d9[_0x36c581(0x25e)](_0x4a9cad['toDisposable'](()=>_0x391bc1[_0x36c581(0x258)](_0x36c581(0x152),_0x3d3d48)));})[_0x37e52a(0x195)](_0x4af933['share']()),'close$':new _0x4af933['Observable'](_0x429c36=>{const _0x6a2a74=_0x37e52a,_0x5995aa=_0x236083=>_0x429c36['next'](_0x236083);_0x391bc1[_0x6a2a74(0x10d)](_0x6a2a74(0x1fe),_0x5995aa),_0x53f1d9['add'](_0x4a9cad[_0x6a2a74(0x28c)](()=>_0x391bc1[_0x6a2a74(0x258)]('close',_0x5995aa)));})['pipe'](_0x4af933['share']()),'error$':new _0x4af933[(_0x37e52a(0x176))](_0x5408aa=>{const _0x8860e1=_0x37e52a,_0x3d82b3=_0x31484f=>_0x5408aa[_0x8860e1(0x1c1)](_0x31484f);_0x391bc1[_0x8860e1(0x10d)](_0x8860e1(0x13b),_0x3d82b3),_0x53f1d9['add'](_0x4a9cad[_0x8860e1(0x28c)](()=>_0x391bc1[_0x8860e1(0x258)]('error',_0x3d82b3)));})[_0x37e52a(0x195)](_0x4af933[_0x37e52a(0x259)]()),'message$':new _0x4af933[(_0x37e52a(0x176))](_0x174872=>{const _0x248900=_0x37e52a,_0x2a8143=_0x48876b=>_0x174872[_0x248900(0x1c1)](_0x48876b);_0x391bc1[_0x248900(0x10d)](_0x248900(0x104),_0x2a8143),_0x53f1d9[_0x248900(0x25e)](_0x4a9cad['toDisposable'](()=>_0x391bc1['removeEventListener']('message',_0x2a8143)));})[_0x37e52a(0x195)](_0x4af933[_0x37e52a(0x259)]())};}catch(_0x5339ef){return console['error'](_0x5339ef),null;}}};_0x544551=_0x48ba57([_0x166b6c(0x0,_0x4a9cad[_0x4fa2ae(0x20d)])],_0x544551);var _0x22024b=Object['defineProperty'],_0x30d5b0=Object[_0x4fa2ae(0x271)],_0x46df77=(_0x3c94b8,_0x468288,_0x3d9a13)=>_0x468288 in _0x3c94b8?_0x22024b(_0x3c94b8,_0x468288,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d9a13}):_0x3c94b8[_0x468288]=_0x3d9a13,_0x3b4ebc=(_0x4c2329,_0x37dc3a,_0x126a83,_0x5e171a)=>{const _0x1313c4=_0x4fa2ae;for(var _0x42123e=_0x5e171a>0x1?void 0x0:_0x5e171a?_0x30d5b0(_0x37dc3a,_0x126a83):_0x37dc3a,_0x457339=_0x4c2329[_0x1313c4(0x175)]-0x1,_0x4447ad;_0x457339>=0x0;_0x457339--)(_0x4447ad=_0x4c2329[_0x457339])&&(_0x42123e=_0x4447ad(_0x42123e)||_0x42123e);return _0x42123e;},_0x92bbef=(_0x583736,_0x1d5122)=>(_0x245894,_0x2e3abc)=>_0x1d5122(_0x245894,_0x2e3abc,_0x583736),_0x905126=(_0x4c12c8,_0x5a11b3,_0x440cd0)=>_0x46df77(_0x4c12c8,_0x5a11b3+'',_0x440cd0);_0x4de4fc[_0x4fa2ae(0x17a)]=class extends _0x4a9cad[_0x4fa2ae(0x254)]{constructor(_0x9ecd27=_0x3b4a22,_0x519de7,_0x53a4a9){const _0x526cbe=_0x4fa2ae;super(),this[_0x526cbe(0x1bc)]=_0x519de7,this[_0x526cbe(0xff)]=_0x53a4a9,this['_configService'][_0x526cbe(0x2a2)](_0x3f4b0,_0x9ecd27);}[_0x4fa2ae(0x1e0)](){this['_registerDependencies']();}[_0x4fa2ae(0x28e)](){const _0x53b6bd=_0x4fa2ae;_0x4a9cad[_0x53b6bd(0x1cb)](this[_0x53b6bd(0xff)],[[_0xb61a7f['ISocketService'],{'useClass':_0x544551}]]);}},_0x905126(_0x4de4fc[_0x4fa2ae(0x17a)],_0x4fa2ae(0x120),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),_0x4de4fc[_0x4fa2ae(0x17a)]=_0x3b4ebc([_0x4a9cad[_0x4fa2ae(0x227)](_0x187d8b['UniverCollaborationClientPlugin']),_0x92bbef(0x1,_0x4a9cad['IConfigService']),_0x92bbef(0x2,_0x4a9cad[_0x4fa2ae(0x263)](_0x4a9cad[_0x4fa2ae(0x27b)]))],_0x4de4fc[_0x4fa2ae(0x17a)]);var _0x1f662e=Object[_0x4fa2ae(0x271)],_0x20ac07=(_0x3f113c,_0x17e31e,_0xae5bc,_0x5740ce)=>{const _0x53e1d5=_0x4fa2ae;for(var _0x16772d=_0x5740ce>0x1?void 0x0:_0x5740ce?_0x1f662e(_0x17e31e,_0xae5bc):_0x17e31e,_0x4c0507=_0x3f113c[_0x53e1d5(0x175)]-0x1,_0x2b70cb;_0x4c0507>=0x0;_0x4c0507--)(_0x2b70cb=_0x3f113c[_0x4c0507])&&(_0x16772d=_0x2b70cb(_0x16772d)||_0x16772d);return _0x16772d;},_0x120617=(_0x47c04e,_0x3dae8e)=>(_0x5d335a,_0x3f2eb4)=>_0x3dae8e(_0x5d335a,_0x3f2eb4,_0x47c04e);_0x4de4fc[_0x4fa2ae(0xf1)]=class extends _0x187d8b[_0x4fa2ae(0x197)]{constructor(_0x20f457,_0x1187ce,_0x10d1fd,_0x58e945,_0x11fd39){const _0x2c40c9=_0x4fa2ae;super(_0x20f457,_0x1187ce,_0x10d1fd,_0x58e945,_0x11fd39);const _0x4cd0ae=this[_0x2c40c9(0x1bc)][_0x2c40c9(0x1b0)](_0x187d8b[_0x2c40c9(0x207)]);this[_0x2c40c9(0x20a)]['registerHTTPInterceptor']({'interceptor':(_0x24fa4a,_0x45784a)=>{const _0x56cafa=_0x2c40c9;var _0x300a18;const _0x3f05a5=_0x24fa4a['headers'];return(_0x300a18=_0x4cd0ae==null?void 0x0:_0x4cd0ae['customHeaders'])!=null&&_0x300a18['cookie']&&_0x3f05a5[_0x56cafa(0x243)](_0x56cafa(0x266),_0x4cd0ae[_0x56cafa(0x261)][_0x56cafa(0x24d)]),_0x45784a(_0x24fa4a);}});}async[_0x4fa2ae(0x225)](_0xaab399){const _0x99e104=_0x4fa2ae;return this[_0x99e104(0x255)](_0xaab399);}},_0x4de4fc[_0x4fa2ae(0xf1)]=_0x20ac07([_0x120617(0x0,_0x4a9cad[_0x4fa2ae(0x263)](_0x4a9cad[_0x4fa2ae(0x27b)])),_0x120617(0x1,_0x4a9cad[_0x4fa2ae(0x263)](_0xb61a7f['HTTPService'])),_0x120617(0x2,_0x4a9cad['IConfigService']),_0x120617(0x3,_0x4a9cad[_0x4fa2ae(0x171)]),_0x120617(0x4,_0x4f1424['ISnapshotServerService'])],_0x4de4fc[_0x4fa2ae(0xf1)]),_0x4de4fc[_0x4fa2ae(0x250)]=_0x3f4b0,Object[_0x4fa2ae(0x180)](_0x4de4fc,Symbol['toStringTag'],{'value':'Module'});}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-client-node",
3
- "version": "0.15.0-insiders.20251227-c108ce3",
3
+ "version": "0.15.0-insiders.20260107-3441c7a",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -47,10 +47,10 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "ws": "8.18.3",
50
- "@univerjs-pro/collaboration": "0.15.0-insiders.20251227-c108ce3",
51
- "@univerjs-pro/collaboration-client": "0.15.0-insiders.20251227-c108ce3",
52
- "@univerjs/core": "0.15.0-insiders.20251227-c108ce3",
53
- "@univerjs/network": "0.15.0-insiders.20251227-c108ce3"
50
+ "@univerjs-pro/collaboration": "0.15.0-insiders.20260107-3441c7a",
51
+ "@univerjs-pro/collaboration-client": "0.15.0-insiders.20260107-3441c7a",
52
+ "@univerjs/core": "0.15.0-insiders.20260107-3441c7a",
53
+ "@univerjs/network": "0.15.0-insiders.20260107-3441c7a"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/ws": "8.18.1",
@@ -59,7 +59,7 @@
59
59
  "vite": "^7.3.0",
60
60
  "vitest": "^4.0.16",
61
61
  "@univerjs-infra/shared": "0.15.0",
62
- "@univerjs/core": "0.15.0-insiders.20251227-c108ce3"
62
+ "@univerjs/core": "0.15.0-insiders.20260107-3441c7a"
63
63
  },
64
64
  "scripts": {
65
65
  "test": "vitest run",