@univerjs-pro/collaboration-client-node 0.10.7 → 0.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x18b31b=_0x4893;(function(_0x3ca824,_0x574dae){const _0x14696c=_0x4893,_0x9027e1=_0x3ca824();while(!![]){try{const _0x1fdff1=parseInt(_0x14696c(0xfd))/0x1+-parseInt(_0x14696c(0xe2))/0x2+-parseInt(_0x14696c(0x234))/0x3+parseInt(_0x14696c(0xf0))/0x4*(parseInt(_0x14696c(0x114))/0x5)+parseInt(_0x14696c(0x1c8))/0x6*(parseInt(_0x14696c(0xe7))/0x7)+-parseInt(_0x14696c(0xc5))/0x8*(-parseInt(_0x14696c(0xdd))/0x9)+-parseInt(_0x14696c(0x245))/0xa*(parseInt(_0x14696c(0x119))/0xb);if(_0x1fdff1===_0x574dae)break;else _0x9027e1['push'](_0x9027e1['shift']());}catch(_0x33f722){_0x9027e1['push'](_0x9027e1['shift']());}}}(_0x2641,0x3fb2e));Object['defineProperty'](exports,Symbol[_0x18b31b(0x105)],{'value':'Module'});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x18b31b(0xff),Ct={'customHeaders':{}};function Tt(_0x3d5866){const _0x39e382=_0x18b31b;return _0x3d5866&&_0x3d5866[_0x39e382(0x239)]&&Object[_0x39e382(0x267)][_0x39e382(0x104)][_0x39e382(0x1a4)](_0x3d5866,_0x39e382(0x186))?_0x3d5866[_0x39e382(0x186)]:_0x3d5866;}function at(_0xeeceeb){const _0x508b65=_0x18b31b;if(Object['prototype'][_0x508b65(0x104)][_0x508b65(0x1a4)](_0xeeceeb,'__esModule'))return _0xeeceeb;var _0x2c739b=_0xeeceeb[_0x508b65(0x186)];if(typeof _0x2c739b=='function'){var _0x5076da=function _0x4a7fc3(){const _0x4ca8ab=_0x508b65;var _0x58dea2=!0x1;try{_0x58dea2=this instanceof _0x4a7fc3;}catch{}return _0x58dea2?Reflect[_0x4ca8ab(0x21e)](_0x2c739b,arguments,this[_0x4ca8ab(0xc8)]):_0x2c739b[_0x4ca8ab(0x194)](this,arguments);};_0x5076da['prototype']=_0x2c739b[_0x508b65(0x267)];}else _0x5076da={};return Object['defineProperty'](_0x5076da,_0x508b65(0x239),{'value':!0x0}),Object[_0x508b65(0xed)](_0xeeceeb)['forEach'](function(_0x3b3afe){const _0x1925b1=_0x508b65;var _0x37a8ff=Object['getOwnPropertyDescriptor'](_0xeeceeb,_0x3b3afe);Object[_0x1925b1(0x18e)](_0x5076da,_0x3b3afe,_0x37a8ff[_0x1925b1(0x21f)]?_0x37a8ff:{'enumerable':!0x0,'get':function(){return _0xeeceeb[_0x3b3afe];}});}),_0x5076da;}var se={'exports':{}},ge,Ge;function H(){const _0x4e0bf7=_0x18b31b;if(Ge)return ge;Ge=0x1;const _0x178bde=[_0x4e0bf7(0x138),_0x4e0bf7(0x1f7),_0x4e0bf7(0x253)],_0xcc9cb0=typeof Blob<'u';return _0xcc9cb0&&_0x178bde[_0x4e0bf7(0x25b)]('blob'),ge={'BINARY_TYPES':_0x178bde,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x4e0bf7(0x190),'hasBlob':_0xcc9cb0,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4e0bf7(0x17a)),'kWebSocket':Symbol(_0x4e0bf7(0xb0)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x18b31b(0x1b1)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x18b31b(0x105)],{'value':_0x18b31b(0x1ed)})),Lt=at(kt);var Ve;function ce(){const _0x72e6bc=_0x18b31b;if(Ve)return se[_0x72e6bc(0x22a)];Ve=0x1;const {EMPTY_BUFFER:_0x56384e}=H(),_0x38ed9e=Buffer[Symbol[_0x72e6bc(0x1bf)]];function _0x3a2cff(_0x3ef215,_0x52f952){const _0xc1eeca=_0x72e6bc;if(_0x3ef215[_0xc1eeca(0x101)]===0x0)return _0x56384e;if(_0x3ef215[_0xc1eeca(0x101)]===0x1)return _0x3ef215[0x0];const _0x30c6e9=Buffer['allocUnsafe'](_0x52f952);let _0x42aedd=0x0;for(let _0x3ba2bd=0x0;_0x3ba2bd<_0x3ef215[_0xc1eeca(0x101)];_0x3ba2bd++){const _0x3acdfc=_0x3ef215[_0x3ba2bd];_0x30c6e9[_0xc1eeca(0x13c)](_0x3acdfc,_0x42aedd),_0x42aedd+=_0x3acdfc[_0xc1eeca(0x101)];}return _0x42aedd<_0x52f952?new _0x38ed9e(_0x30c6e9[_0xc1eeca(0x160)],_0x30c6e9[_0xc1eeca(0x121)],_0x42aedd):_0x30c6e9;}function _0x3c6794(_0x45b302,_0x2f4bc0,_0x25e944,_0x2ede48,_0x35d413){for(let _0x477508=0x0;_0x477508<_0x35d413;_0x477508++)_0x25e944[_0x2ede48+_0x477508]=_0x45b302[_0x477508]^_0x2f4bc0[_0x477508&0x3];}function _0x5c6aa4(_0x42f17c,_0x3643ff){const _0x52d85c=_0x72e6bc;for(let _0x109c2f=0x0;_0x109c2f<_0x42f17c[_0x52d85c(0x101)];_0x109c2f++)_0x42f17c[_0x109c2f]^=_0x3643ff[_0x109c2f&0x3];}function _0x9d3491(_0x31bd36){const _0x1a7ed5=_0x72e6bc;return _0x31bd36['length']===_0x31bd36[_0x1a7ed5(0x160)]['byteLength']?_0x31bd36[_0x1a7ed5(0x160)]:_0x31bd36[_0x1a7ed5(0x160)]['slice'](_0x31bd36['byteOffset'],_0x31bd36[_0x1a7ed5(0x121)]+_0x31bd36[_0x1a7ed5(0x101)]);}function _0x4b65ba(_0x57dd18){const _0x4e14a6=_0x72e6bc;if(_0x4b65ba[_0x4e14a6(0x214)]=!0x0,Buffer[_0x4e14a6(0x19f)](_0x57dd18))return _0x57dd18;let _0x213ec0;return _0x57dd18 instanceof ArrayBuffer?_0x213ec0=new _0x38ed9e(_0x57dd18):ArrayBuffer['isView'](_0x57dd18)?_0x213ec0=new _0x38ed9e(_0x57dd18[_0x4e14a6(0x160)],_0x57dd18[_0x4e14a6(0x121)],_0x57dd18[_0x4e14a6(0x191)]):(_0x213ec0=Buffer['from'](_0x57dd18),_0x4b65ba[_0x4e14a6(0x214)]=!0x1),_0x213ec0;}if(se['exports']={'concat':_0x3a2cff,'mask':_0x3c6794,'toArrayBuffer':_0x9d3491,'toBuffer':_0x4b65ba,'unmask':_0x5c6aa4},!process['env'][_0x72e6bc(0x200)])try{const _0x227f2f=Lt;se[_0x72e6bc(0x22a)]['mask']=function(_0x2f3ddd,_0x473a3f,_0x583985,_0x58df9c,_0xbcdc95){const _0xc0544d=_0x72e6bc;_0xbcdc95<0x30?_0x3c6794(_0x2f3ddd,_0x473a3f,_0x583985,_0x58df9c,_0xbcdc95):_0x227f2f[_0xc0544d(0x112)](_0x2f3ddd,_0x473a3f,_0x583985,_0x58df9c,_0xbcdc95);},se[_0x72e6bc(0x22a)]['unmask']=function(_0x4a792f,_0x297c11){const _0x52a8b9=_0x72e6bc;_0x4a792f[_0x52a8b9(0x101)]<0x20?_0x5c6aa4(_0x4a792f,_0x297c11):_0x227f2f[_0x52a8b9(0x179)](_0x4a792f,_0x297c11);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x54e9da=_0x18b31b;if(He)return ye;He=0x1;const _0x2ba7e2=Symbol('kDone'),_0x30f01a=Symbol(_0x54e9da(0xec));class _0x1f63b4{constructor(_0x2f039a){const _0x14a81b=_0x54e9da;this[_0x2ba7e2]=()=>{const _0x1e0c91=_0x4893;this[_0x1e0c91(0x176)]--,this[_0x30f01a]();},this[_0x14a81b(0x20c)]=_0x2f039a||0x1/0x0,this['jobs']=[],this[_0x14a81b(0x176)]=0x0;}[_0x54e9da(0xe6)](_0x4c6c2d){const _0xc13684=_0x54e9da;this['jobs'][_0xc13684(0x25b)](_0x4c6c2d),this[_0x30f01a]();}[_0x30f01a](){const _0x496646=_0x54e9da;if(this[_0x496646(0x176)]!==this[_0x496646(0x20c)]&&this[_0x496646(0xa8)][_0x496646(0x101)]){const _0x3773f4=this[_0x496646(0xa8)][_0x496646(0x1fb)]();this[_0x496646(0x176)]++,_0x3773f4(this[_0x2ba7e2]);}}}return ye=_0x1f63b4,ye;}var ve,ze;function he(){const _0x27fde5=_0x18b31b;if(ze)return ve;ze=0x1;const _0x292ed8=bt,_0x451f26=ce(),_0x14860e=Pt(),{kStatusCode:_0x76cf77}=H(),_0x739796=Buffer[Symbol['species']],_0x2df3b6=Buffer[_0x27fde5(0x25e)]([0x0,0x0,0xff,0xff]),_0x3fe7e3=Symbol(_0x27fde5(0x1d3)),_0x59d44d=Symbol(_0x27fde5(0x221)),_0x295b72=Symbol('callback'),_0x193e23=Symbol(_0x27fde5(0x205)),_0x2c4f6c=Symbol('error');let _0x34abe1;class _0x18cbfc{constructor(_0x23e7b6,_0x3815b8,_0x18cf22){const _0x146b8d=_0x27fde5;if(this[_0x146b8d(0x1cb)]=_0x18cf22|0x0,this[_0x146b8d(0xcd)]=_0x23e7b6||{},this[_0x146b8d(0x233)]=this[_0x146b8d(0xcd)][_0x146b8d(0x14e)]!==void 0x0?this[_0x146b8d(0xcd)][_0x146b8d(0x14e)]:0x400,this[_0x146b8d(0x166)]=!!_0x3815b8,this[_0x146b8d(0x1f1)]=null,this[_0x146b8d(0x1a7)]=null,this[_0x146b8d(0xd2)]=null,!_0x34abe1){const _0x2e1e56=this[_0x146b8d(0xcd)]['concurrencyLimit']!==void 0x0?this['_options'][_0x146b8d(0x182)]:0xa;_0x34abe1=new _0x14860e(_0x2e1e56);}}static get['extensionName'](){const _0x3a260d=_0x27fde5;return _0x3a260d(0x1d3);}[_0x27fde5(0x157)](){const _0x36f7e2=_0x27fde5,_0x1f3f5a={};return this[_0x36f7e2(0xcd)][_0x36f7e2(0x18a)]&&(_0x1f3f5a[_0x36f7e2(0xd3)]=!0x0),this['_options'][_0x36f7e2(0x11e)]&&(_0x1f3f5a['client_no_context_takeover']=!0x0),this[_0x36f7e2(0xcd)][_0x36f7e2(0x1c3)]&&(_0x1f3f5a[_0x36f7e2(0x148)]=this[_0x36f7e2(0xcd)]['serverMaxWindowBits']),this[_0x36f7e2(0xcd)][_0x36f7e2(0x1fa)]?_0x1f3f5a['client_max_window_bits']=this['_options'][_0x36f7e2(0x1fa)]:this[_0x36f7e2(0xcd)]['clientMaxWindowBits']==null&&(_0x1f3f5a['client_max_window_bits']=!0x0),_0x1f3f5a;}[_0x27fde5(0x162)](_0x416f17){const _0x557ae2=_0x27fde5;return _0x416f17=this['normalizeParams'](_0x416f17),this['params']=this[_0x557ae2(0x166)]?this[_0x557ae2(0x132)](_0x416f17):this[_0x557ae2(0x184)](_0x416f17),this['params'];}[_0x27fde5(0x131)](){const _0x4d11b8=_0x27fde5;if(this[_0x4d11b8(0x1a7)]&&(this['_inflate'][_0x4d11b8(0xfc)](),this[_0x4d11b8(0x1a7)]=null),this[_0x4d11b8(0x1f1)]){const _0x2dc5ae=this[_0x4d11b8(0x1f1)][_0x295b72];this[_0x4d11b8(0x1f1)][_0x4d11b8(0xfc)](),this['_deflate']=null,_0x2dc5ae&&_0x2dc5ae(new Error(_0x4d11b8(0x235)));}}[_0x27fde5(0x132)](_0x2b63bc){const _0x8b7d06=_0x27fde5,_0x278f08=this[_0x8b7d06(0xcd)],_0x5639ce=_0x2b63bc[_0x8b7d06(0x226)](_0x4e1e38=>!(_0x278f08[_0x8b7d06(0x18a)]===!0x1&&_0x4e1e38[_0x8b7d06(0xd3)]||_0x4e1e38[_0x8b7d06(0x148)]&&(_0x278f08['serverMaxWindowBits']===!0x1||typeof _0x278f08[_0x8b7d06(0x1c3)]==_0x8b7d06(0x124)&&_0x278f08['serverMaxWindowBits']>_0x4e1e38[_0x8b7d06(0x148)])||typeof _0x278f08[_0x8b7d06(0x1fa)]==_0x8b7d06(0x124)&&!_0x4e1e38['client_max_window_bits']));if(!_0x5639ce)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x278f08[_0x8b7d06(0x18a)]&&(_0x5639ce[_0x8b7d06(0xd3)]=!0x0),_0x278f08[_0x8b7d06(0x11e)]&&(_0x5639ce[_0x8b7d06(0xc1)]=!0x0),typeof _0x278f08[_0x8b7d06(0x1c3)]=='number'&&(_0x5639ce[_0x8b7d06(0x148)]=_0x278f08[_0x8b7d06(0x1c3)]),typeof _0x278f08[_0x8b7d06(0x1fa)]=='number'?_0x5639ce['client_max_window_bits']=_0x278f08[_0x8b7d06(0x1fa)]:(_0x5639ce['client_max_window_bits']===!0x0||_0x278f08[_0x8b7d06(0x1fa)]===!0x1)&&delete _0x5639ce[_0x8b7d06(0x1b9)],_0x5639ce;}[_0x27fde5(0x184)](_0x30fa85){const _0x3952b9=_0x27fde5,_0x324739=_0x30fa85[0x0];if(this['_options'][_0x3952b9(0x11e)]===!0x1&&_0x324739[_0x3952b9(0xc1)])throw new Error(_0x3952b9(0x1dd));if(!_0x324739[_0x3952b9(0x1b9)])typeof this[_0x3952b9(0xcd)][_0x3952b9(0x1fa)]=='number'&&(_0x324739[_0x3952b9(0x1b9)]=this[_0x3952b9(0xcd)]['clientMaxWindowBits']);else{if(this['_options'][_0x3952b9(0x1fa)]===!0x1||typeof this['_options'][_0x3952b9(0x1fa)]=='number'&&_0x324739['client_max_window_bits']>this[_0x3952b9(0xcd)]['clientMaxWindowBits'])throw new Error(_0x3952b9(0xbd));}return _0x324739;}[_0x27fde5(0xcc)](_0x515174){const _0x4cc23e=_0x27fde5;return _0x515174[_0x4cc23e(0x127)](_0x469184=>{const _0x36d561=_0x4cc23e;Object[_0x36d561(0xed)](_0x469184)['forEach'](_0x58b38b=>{const _0x16347c=_0x36d561;let _0x41eff5=_0x469184[_0x58b38b];if(_0x41eff5[_0x16347c(0x101)]>0x1)throw new Error('Parameter\x20\x22'+_0x58b38b+_0x16347c(0x241));if(_0x41eff5=_0x41eff5[0x0],_0x58b38b==='client_max_window_bits'){if(_0x41eff5!==!0x0){const _0x3a524f=+_0x41eff5;if(!Number[_0x16347c(0x23d)](_0x3a524f)||_0x3a524f<0x8||_0x3a524f>0xf)throw new TypeError(_0x16347c(0x248)+_0x58b38b+'\x22:\x20'+_0x41eff5);_0x41eff5=_0x3a524f;}else{if(!this[_0x16347c(0x166)])throw new TypeError(_0x16347c(0x248)+_0x58b38b+'\x22:\x20'+_0x41eff5);}}else{if(_0x58b38b==='server_max_window_bits'){const _0x5b19af=+_0x41eff5;if(!Number[_0x16347c(0x23d)](_0x5b19af)||_0x5b19af<0x8||_0x5b19af>0xf)throw new TypeError(_0x16347c(0x248)+_0x58b38b+'\x22:\x20'+_0x41eff5);_0x41eff5=_0x5b19af;}else{if(_0x58b38b===_0x16347c(0xc1)||_0x58b38b===_0x16347c(0xd3)){if(_0x41eff5!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x58b38b+_0x16347c(0x20b)+_0x41eff5);}else throw new Error(_0x16347c(0xc9)+_0x58b38b+'\x22');}}_0x469184[_0x58b38b]=_0x41eff5;});}),_0x515174;}[_0x27fde5(0xf5)](_0x5d5940,_0x1dd514,_0x504c3f){const _0x2c8fb6=_0x27fde5;_0x34abe1[_0x2c8fb6(0xe6)](_0x17b340=>{const _0x535514=_0x2c8fb6;this[_0x535514(0x16f)](_0x5d5940,_0x1dd514,(_0x4efe63,_0x579564)=>{_0x17b340(),_0x504c3f(_0x4efe63,_0x579564);});});}[_0x27fde5(0xce)](_0x73ab7e,_0x1be675,_0x2bfd73){const _0x14dfb4=_0x27fde5;_0x34abe1[_0x14dfb4(0xe6)](_0x49f0ae=>{const _0x21f950=_0x14dfb4;this[_0x21f950(0x24d)](_0x73ab7e,_0x1be675,(_0xfd794b,_0x389307)=>{_0x49f0ae(),_0x2bfd73(_0xfd794b,_0x389307);});});}[_0x27fde5(0x16f)](_0x5af0c5,_0x5d575e,_0x2a493){const _0x25f420=_0x27fde5,_0x5acc2f=this['_isServer']?'client':_0x25f420(0x1f8);if(!this[_0x25f420(0x1a7)]){const _0x164870=_0x5acc2f+_0x25f420(0x1d1),_0x5e0386=typeof this[_0x25f420(0xd2)][_0x164870]!=_0x25f420(0x124)?_0x292ed8[_0x25f420(0x247)]:this[_0x25f420(0xd2)][_0x164870];this[_0x25f420(0x1a7)]=_0x292ed8[_0x25f420(0x20a)]({...this[_0x25f420(0xcd)]['zlibInflateOptions'],'windowBits':_0x5e0386}),this[_0x25f420(0x1a7)][_0x3fe7e3]=this,this[_0x25f420(0x1a7)][_0x59d44d]=0x0,this[_0x25f420(0x1a7)][_0x193e23]=[],this[_0x25f420(0x1a7)]['on'](_0x25f420(0x1da),_0x3bf2ed),this[_0x25f420(0x1a7)]['on'](_0x25f420(0x15f),_0x3b1f73);}this[_0x25f420(0x1a7)][_0x295b72]=_0x2a493,this['_inflate'][_0x25f420(0xbe)](_0x5af0c5),_0x5d575e&&this['_inflate'][_0x25f420(0xbe)](_0x2df3b6),this[_0x25f420(0x1a7)][_0x25f420(0x222)](()=>{const _0x4890fa=_0x25f420,_0x758906=this[_0x4890fa(0x1a7)][_0x2c4f6c];if(_0x758906){this[_0x4890fa(0x1a7)][_0x4890fa(0xfc)](),this['_inflate']=null,_0x2a493(_0x758906);return;}const _0x1b179c=_0x451f26[_0x4890fa(0x1d4)](this[_0x4890fa(0x1a7)][_0x193e23],this[_0x4890fa(0x1a7)][_0x59d44d]);this[_0x4890fa(0x1a7)][_0x4890fa(0x16c)][_0x4890fa(0x11a)]?(this[_0x4890fa(0x1a7)]['close'](),this[_0x4890fa(0x1a7)]=null):(this['_inflate'][_0x59d44d]=0x0,this[_0x4890fa(0x1a7)][_0x193e23]=[],_0x5d575e&&this[_0x4890fa(0xd2)][_0x5acc2f+_0x4890fa(0x18f)]&&this['_inflate'][_0x4890fa(0xd0)]()),_0x2a493(null,_0x1b179c);});}['_compress'](_0x85bfcb,_0x29c6a5,_0x34702a){const _0x19f775=_0x27fde5,_0x3c6bae=this['_isServer']?_0x19f775(0x1f8):'client';if(!this[_0x19f775(0x1f1)]){const _0x48bfee=_0x3c6bae+_0x19f775(0x1d1),_0x1f64e=typeof this[_0x19f775(0xd2)][_0x48bfee]!=_0x19f775(0x124)?_0x292ed8[_0x19f775(0x247)]:this[_0x19f775(0xd2)][_0x48bfee];this['_deflate']=_0x292ed8[_0x19f775(0x1ae)]({...this[_0x19f775(0xcd)][_0x19f775(0x16d)],'windowBits':_0x1f64e}),this[_0x19f775(0x1f1)][_0x59d44d]=0x0,this[_0x19f775(0x1f1)][_0x193e23]=[],this['_deflate']['on'](_0x19f775(0x15f),_0x38e95f);}this[_0x19f775(0x1f1)][_0x295b72]=_0x34702a,this[_0x19f775(0x1f1)][_0x19f775(0xbe)](_0x85bfcb),this[_0x19f775(0x1f1)]['flush'](_0x292ed8['Z_SYNC_FLUSH'],()=>{const _0x4c11cc=_0x19f775;if(!this[_0x4c11cc(0x1f1)])return;let _0x14c47f=_0x451f26[_0x4c11cc(0x1d4)](this[_0x4c11cc(0x1f1)][_0x193e23],this[_0x4c11cc(0x1f1)][_0x59d44d]);_0x29c6a5&&(_0x14c47f=new _0x739796(_0x14c47f['buffer'],_0x14c47f[_0x4c11cc(0x121)],_0x14c47f['length']-0x4)),this['_deflate'][_0x295b72]=null,this[_0x4c11cc(0x1f1)][_0x59d44d]=0x0,this[_0x4c11cc(0x1f1)][_0x193e23]=[],_0x29c6a5&&this[_0x4c11cc(0xd2)][_0x3c6bae+'_no_context_takeover']&&this[_0x4c11cc(0x1f1)][_0x4c11cc(0xd0)](),_0x34702a(null,_0x14c47f);});}}ve=_0x18cbfc;function _0x38e95f(_0x1ca0ba){const _0x3fd18f=_0x27fde5;this[_0x193e23][_0x3fd18f(0x25b)](_0x1ca0ba),this[_0x59d44d]+=_0x1ca0ba['length'];}function _0x3b1f73(_0x4a613e){const _0x40ad0e=_0x27fde5;if(this[_0x59d44d]+=_0x4a613e[_0x40ad0e(0x101)],this[_0x3fe7e3][_0x40ad0e(0x1cb)]<0x1||this[_0x59d44d]<=this[_0x3fe7e3][_0x40ad0e(0x1cb)]){this[_0x193e23][_0x40ad0e(0x25b)](_0x4a613e);return;}this[_0x2c4f6c]=new RangeError(_0x40ad0e(0xbc)),this[_0x2c4f6c][_0x40ad0e(0xb1)]=_0x40ad0e(0x1e4),this[_0x2c4f6c][_0x76cf77]=0x3f1,this[_0x40ad0e(0x1be)](_0x40ad0e(0x15f),_0x3b1f73),this[_0x40ad0e(0xd0)]();}function _0x3bf2ed(_0xfb49e5){const _0x57aa57=_0x27fde5;if(this[_0x3fe7e3][_0x57aa57(0x1a7)]=null,this[_0x2c4f6c]){this[_0x295b72](this[_0x2c4f6c]);return;}_0xfb49e5[_0x76cf77]=0x3ef,this[_0x295b72](_0xfb49e5);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x18b31b(0x1b1)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x18b31b(0x105)],{'value':_0x18b31b(0x1ed)})),Bt=at(Rt);var Ye;function ae(){const _0x43d11a=_0x18b31b;if(Ye)return ie[_0x43d11a(0x22a)];Ye=0x1;const {isUtf8:_0x37e297}=wt,{hasBlob:_0x38eddb}=H(),_0x317ff4=[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 _0x4db719(_0x5a08fe){return _0x5a08fe>=0x3e8&&_0x5a08fe<=0x3f6&&_0x5a08fe!==0x3ec&&_0x5a08fe!==0x3ed&&_0x5a08fe!==0x3ee||_0x5a08fe>=0xbb8&&_0x5a08fe<=0x1387;}function _0x3e8d96(_0x5d504b){const _0x6cfcd4=_0x43d11a,_0x53470f=_0x5d504b[_0x6cfcd4(0x101)];let _0x3b69d0=0x0;for(;_0x3b69d0<_0x53470f;)if((_0x5d504b[_0x3b69d0]&0x80)===0x0)_0x3b69d0++;else{if((_0x5d504b[_0x3b69d0]&0xe0)===0xc0){if(_0x3b69d0+0x1===_0x53470f||(_0x5d504b[_0x3b69d0+0x1]&0xc0)!==0x80||(_0x5d504b[_0x3b69d0]&0xfe)===0xc0)return!0x1;_0x3b69d0+=0x2;}else{if((_0x5d504b[_0x3b69d0]&0xf0)===0xe0){if(_0x3b69d0+0x2>=_0x53470f||(_0x5d504b[_0x3b69d0+0x1]&0xc0)!==0x80||(_0x5d504b[_0x3b69d0+0x2]&0xc0)!==0x80||_0x5d504b[_0x3b69d0]===0xe0&&(_0x5d504b[_0x3b69d0+0x1]&0xe0)===0x80||_0x5d504b[_0x3b69d0]===0xed&&(_0x5d504b[_0x3b69d0+0x1]&0xe0)===0xa0)return!0x1;_0x3b69d0+=0x3;}else{if((_0x5d504b[_0x3b69d0]&0xf8)===0xf0){if(_0x3b69d0+0x3>=_0x53470f||(_0x5d504b[_0x3b69d0+0x1]&0xc0)!==0x80||(_0x5d504b[_0x3b69d0+0x2]&0xc0)!==0x80||(_0x5d504b[_0x3b69d0+0x3]&0xc0)!==0x80||_0x5d504b[_0x3b69d0]===0xf0&&(_0x5d504b[_0x3b69d0+0x1]&0xf0)===0x80||_0x5d504b[_0x3b69d0]===0xf4&&_0x5d504b[_0x3b69d0+0x1]>0x8f||_0x5d504b[_0x3b69d0]>0xf4)return!0x1;_0x3b69d0+=0x4;}else return!0x1;}}}return!0x0;}function _0x1449a9(_0x4044e4){const _0x350591=_0x43d11a;return _0x38eddb&&typeof _0x4044e4==_0x350591(0x256)&&typeof _0x4044e4[_0x350591(0x168)]==_0x350591(0x20f)&&typeof _0x4044e4['type']==_0x350591(0x151)&&typeof _0x4044e4[_0x350591(0x251)]==_0x350591(0x20f)&&(_0x4044e4[Symbol[_0x350591(0x105)]]===_0x350591(0x1bd)||_0x4044e4[Symbol[_0x350591(0x105)]]===_0x350591(0xda));}if(ie[_0x43d11a(0x22a)]={'isBlob':_0x1449a9,'isValidStatusCode':_0x4db719,'isValidUTF8':_0x3e8d96,'tokenChars':_0x317ff4},_0x37e297)ie[_0x43d11a(0x22a)][_0x43d11a(0x1ba)]=function(_0x243a71){const _0x1adf05=_0x43d11a;return _0x243a71[_0x1adf05(0x101)]<0x18?_0x3e8d96(_0x243a71):_0x37e297(_0x243a71);};else{if(!process[_0x43d11a(0x134)][_0x43d11a(0x225)])try{const _0x53c2ee=Bt;ie[_0x43d11a(0x22a)]['isValidUTF8']=function(_0x2160d0){const _0x310bb7=_0x43d11a;return _0x2160d0[_0x310bb7(0x101)]<0x20?_0x3e8d96(_0x2160d0):_0x53c2ee(_0x2160d0);};}catch{}}return ie['exports'];}function _0x4893(_0x4f724e,_0x1d1f60){const _0x2641bc=_0x2641();return _0x4893=function(_0x4893f4,_0x4c2806){_0x4893f4=_0x4893f4-0xa4;let _0x2cd4b9=_0x2641bc[_0x4893f4];return _0x2cd4b9;},_0x4893(_0x4f724e,_0x1d1f60);}var Se,Ke;function lt(){const _0x1ff13b=_0x18b31b;if(Ke)return Se;Ke=0x1;const {Writable:_0x1f3df0}=oe,_0x3b0b54=he(),{BINARY_TYPES:_0x42ffd6,EMPTY_BUFFER:_0x12f096,kStatusCode:_0x468591,kWebSocket:_0x221723}=H(),{concat:_0x3177cf,toArrayBuffer:_0x26565e,unmask:_0x506754}=ce(),{isValidStatusCode:_0x5cd012,isValidUTF8:_0x339bf1}=ae(),_0x2ba1d3=Buffer[Symbol[_0x1ff13b(0x1bf)]],_0x2484c8=0x0,_0x2425f0=0x1,_0x5ab5a2=0x2,_0x58234e=0x3,_0x5af627=0x4,_0x20f620=0x5,_0x4adfb2=0x6;class _0x51bb41 extends _0x1f3df0{constructor(_0x27b9dd={}){const _0x4b9775=_0x1ff13b;super(),this[_0x4b9775(0x236)]=_0x27b9dd[_0x4b9775(0x10b)]!==void 0x0?_0x27b9dd['allowSynchronousEvents']:!0x0,this[_0x4b9775(0xd6)]=_0x27b9dd[_0x4b9775(0x228)]||_0x42ffd6[0x0],this['_extensions']=_0x27b9dd['extensions']||{},this['_isServer']=!!_0x27b9dd[_0x4b9775(0x1e7)],this[_0x4b9775(0x1cb)]=_0x27b9dd[_0x4b9775(0x11f)]|0x0,this[_0x4b9775(0xe9)]=!!_0x27b9dd[_0x4b9775(0xe0)],this[_0x221723]=void 0x0,this['_bufferedBytes']=0x0,this[_0x4b9775(0x1a5)]=[],this['_compressed']=!0x1,this[_0x4b9775(0x144)]=0x0,this[_0x4b9775(0x266)]=void 0x0,this['_fragmented']=0x0,this[_0x4b9775(0xef)]=!0x1,this[_0x4b9775(0x16b)]=!0x1,this[_0x4b9775(0xd5)]=0x0,this[_0x4b9775(0x1c2)]=0x0,this['_messageLength']=0x0,this[_0x4b9775(0x12b)]=[],this[_0x4b9775(0x113)]=!0x1,this[_0x4b9775(0x250)]=!0x1,this[_0x4b9775(0x232)]=_0x2484c8;}['_write'](_0x3b125c,_0x261d21,_0x3a7537){const _0x28ea01=_0x1ff13b;if(this[_0x28ea01(0xd5)]===0x8&&this[_0x28ea01(0x232)]==_0x2484c8)return _0x3a7537();this['_bufferedBytes']+=_0x3b125c['length'],this['_buffers'][_0x28ea01(0x25b)](_0x3b125c),this['startLoop'](_0x3a7537);}[_0x1ff13b(0xa6)](_0x591a67){const _0x5a2184=_0x1ff13b;if(this[_0x5a2184(0xaf)]-=_0x591a67,_0x591a67===this[_0x5a2184(0x1a5)][0x0]['length'])return this[_0x5a2184(0x1a5)][_0x5a2184(0x1fb)]();if(_0x591a67<this[_0x5a2184(0x1a5)][0x0]['length']){const _0x17549a=this['_buffers'][0x0];return this[_0x5a2184(0x1a5)][0x0]=new _0x2ba1d3(_0x17549a['buffer'],_0x17549a[_0x5a2184(0x121)]+_0x591a67,_0x17549a[_0x5a2184(0x101)]-_0x591a67),new _0x2ba1d3(_0x17549a['buffer'],_0x17549a[_0x5a2184(0x121)],_0x591a67);}const _0x3d9eb9=Buffer[_0x5a2184(0x1b0)](_0x591a67);do{const _0x3ace1a=this['_buffers'][0x0],_0x5bea5e=_0x3d9eb9[_0x5a2184(0x101)]-_0x591a67;_0x591a67>=_0x3ace1a['length']?_0x3d9eb9[_0x5a2184(0x13c)](this['_buffers'][_0x5a2184(0x1fb)](),_0x5bea5e):(_0x3d9eb9[_0x5a2184(0x13c)](new Uint8Array(_0x3ace1a[_0x5a2184(0x160)],_0x3ace1a['byteOffset'],_0x591a67),_0x5bea5e),this['_buffers'][0x0]=new _0x2ba1d3(_0x3ace1a[_0x5a2184(0x160)],_0x3ace1a[_0x5a2184(0x121)]+_0x591a67,_0x3ace1a[_0x5a2184(0x101)]-_0x591a67)),_0x591a67-=_0x3ace1a[_0x5a2184(0x101)];}while(_0x591a67>0x0);return _0x3d9eb9;}['startLoop'](_0x54e09b){const _0x325a70=_0x1ff13b;this[_0x325a70(0x250)]=!0x0;do switch(this[_0x325a70(0x232)]){case _0x2484c8:this[_0x325a70(0xb5)](_0x54e09b);break;case _0x2425f0:this[_0x325a70(0x23f)](_0x54e09b);break;case _0x5ab5a2:this[_0x325a70(0x212)](_0x54e09b);break;case _0x58234e:this[_0x325a70(0x164)]();break;case _0x5af627:this[_0x325a70(0x1c4)](_0x54e09b);break;case _0x20f620:case _0x4adfb2:this[_0x325a70(0x250)]=!0x1;return;}while(this[_0x325a70(0x250)]);this[_0x325a70(0x113)]||_0x54e09b();}[_0x1ff13b(0xb5)](_0x51d3be){const _0x211792=_0x1ff13b;if(this[_0x211792(0xaf)]<0x2){this['_loop']=!0x1;return;}const _0x2fa88c=this['consume'](0x2);if((_0x2fa88c[0x0]&0x30)!==0x0){const _0x4eaf3c=this[_0x211792(0x1ca)](RangeError,_0x211792(0x1c1),!0x0,0x3ea,_0x211792(0x102));_0x51d3be(_0x4eaf3c);return;}const _0x45e99c=(_0x2fa88c[0x0]&0x40)===0x40;if(_0x45e99c&&!this[_0x211792(0x261)][_0x3b0b54['extensionName']]){const _0x119e9c=this[_0x211792(0x1ca)](RangeError,_0x211792(0x130),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x51d3be(_0x119e9c);return;}if(this[_0x211792(0x16b)]=(_0x2fa88c[0x0]&0x80)===0x80,this[_0x211792(0xd5)]=_0x2fa88c[0x0]&0xf,this[_0x211792(0x144)]=_0x2fa88c[0x1]&0x7f,this[_0x211792(0xd5)]===0x0){if(_0x45e99c){const _0x387b12=this['createError'](RangeError,_0x211792(0x130),!0x0,0x3ea,_0x211792(0xad));_0x51d3be(_0x387b12);return;}if(!this[_0x211792(0x243)]){const _0x48362a=this[_0x211792(0x1ca)](RangeError,_0x211792(0x1cc),!0x0,0x3ea,_0x211792(0x12e));_0x51d3be(_0x48362a);return;}this['_opcode']=this[_0x211792(0x243)];}else{if(this[_0x211792(0xd5)]===0x1||this[_0x211792(0xd5)]===0x2){if(this[_0x211792(0x243)]){const _0x4f4372=this[_0x211792(0x1ca)](RangeError,'invalid\x20opcode\x20'+this[_0x211792(0xd5)],!0x0,0x3ea,_0x211792(0x12e));_0x51d3be(_0x4f4372);return;}this[_0x211792(0x20d)]=_0x45e99c;}else{if(this[_0x211792(0xd5)]>0x7&&this[_0x211792(0xd5)]<0xb){if(!this[_0x211792(0x16b)]){const _0x4278c2=this[_0x211792(0x1ca)](RangeError,_0x211792(0x156),!0x0,0x3ea,_0x211792(0x22f));_0x51d3be(_0x4278c2);return;}if(_0x45e99c){const _0x2102ac=this[_0x211792(0x1ca)](RangeError,_0x211792(0x130),!0x0,0x3ea,_0x211792(0xad));_0x51d3be(_0x2102ac);return;}if(this[_0x211792(0x144)]>0x7d||this[_0x211792(0xd5)]===0x8&&this['_payloadLength']===0x1){const _0x306719=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x211792(0x144)],!0x0,0x3ea,_0x211792(0x1a0));_0x51d3be(_0x306719);return;}}else{const _0x54fda8=this[_0x211792(0x1ca)](RangeError,'invalid\x20opcode\x20'+this[_0x211792(0xd5)],!0x0,0x3ea,_0x211792(0x12e));_0x51d3be(_0x54fda8);return;}}}if(!this[_0x211792(0x16b)]&&!this[_0x211792(0x243)]&&(this['_fragmented']=this['_opcode']),this[_0x211792(0xef)]=(_0x2fa88c[0x1]&0x80)===0x80,this[_0x211792(0x166)]){if(!this['_masked']){const _0x5dc7aa=this[_0x211792(0x1ca)](RangeError,_0x211792(0x19c),!0x0,0x3ea,_0x211792(0x1db));_0x51d3be(_0x5dc7aa);return;}}else{if(this[_0x211792(0xef)]){const _0x9e7dda=this[_0x211792(0x1ca)](RangeError,_0x211792(0x1e0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x51d3be(_0x9e7dda);return;}}this[_0x211792(0x144)]===0x7e?this[_0x211792(0x232)]=_0x2425f0:this['_payloadLength']===0x7f?this[_0x211792(0x232)]=_0x5ab5a2:this[_0x211792(0x1c9)](_0x51d3be);}[_0x1ff13b(0x23f)](_0x373b60){const _0x1e01e3=_0x1ff13b;if(this[_0x1e01e3(0xaf)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x1e01e3(0x139)](0x0),this[_0x1e01e3(0x1c9)](_0x373b60);}['getPayloadLength64'](_0x4f81c1){const _0x47339f=_0x1ff13b;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x10c76b=this[_0x47339f(0xa6)](0x8),_0xad0cee=_0x10c76b[_0x47339f(0xc7)](0x0);if(_0xad0cee>Math['pow'](0x2,0x15)-0x1){const _0x5c85cf=this[_0x47339f(0x1ca)](RangeError,_0x47339f(0x219),!0x1,0x3f1,_0x47339f(0x1fc));_0x4f81c1(_0x5c85cf);return;}this[_0x47339f(0x144)]=_0xad0cee*Math[_0x47339f(0xbb)](0x2,0x20)+_0x10c76b[_0x47339f(0xc7)](0x4),this[_0x47339f(0x1c9)](_0x4f81c1);}[_0x1ff13b(0x1c9)](_0x12fcc1){const _0x40cdd6=_0x1ff13b;if(this[_0x40cdd6(0x144)]&&this[_0x40cdd6(0xd5)]<0x8&&(this[_0x40cdd6(0x1c2)]+=this[_0x40cdd6(0x144)],this[_0x40cdd6(0x1c2)]>this[_0x40cdd6(0x1cb)]&&this[_0x40cdd6(0x1cb)]>0x0)){const _0xa2b502=this[_0x40cdd6(0x1ca)](RangeError,_0x40cdd6(0xbc),!0x1,0x3f1,_0x40cdd6(0x1e4));_0x12fcc1(_0xa2b502);return;}this[_0x40cdd6(0xef)]?this[_0x40cdd6(0x232)]=_0x58234e:this[_0x40cdd6(0x232)]=_0x5af627;}[_0x1ff13b(0x164)](){const _0xbc4294=_0x1ff13b;if(this[_0xbc4294(0xaf)]<0x4){this[_0xbc4294(0x250)]=!0x1;return;}this[_0xbc4294(0x266)]=this[_0xbc4294(0xa6)](0x4),this[_0xbc4294(0x232)]=_0x5af627;}[_0x1ff13b(0x1c4)](_0x446d53){const _0x1e6c43=_0x1ff13b;let _0x223e41=_0x12f096;if(this['_payloadLength']){if(this[_0x1e6c43(0xaf)]<this[_0x1e6c43(0x144)]){this['_loop']=!0x1;return;}_0x223e41=this[_0x1e6c43(0xa6)](this[_0x1e6c43(0x144)]),this[_0x1e6c43(0xef)]&&(this[_0x1e6c43(0x266)][0x0]|this[_0x1e6c43(0x266)][0x1]|this[_0x1e6c43(0x266)][0x2]|this['_mask'][0x3])!==0x0&&_0x506754(_0x223e41,this[_0x1e6c43(0x266)]);}if(this['_opcode']>0x7){this[_0x1e6c43(0x183)](_0x223e41,_0x446d53);return;}if(this[_0x1e6c43(0x20d)]){this[_0x1e6c43(0x232)]=_0x20f620,this[_0x1e6c43(0xf5)](_0x223e41,_0x446d53);return;}_0x223e41[_0x1e6c43(0x101)]&&(this[_0x1e6c43(0x180)]=this[_0x1e6c43(0x1c2)],this[_0x1e6c43(0x12b)][_0x1e6c43(0x25b)](_0x223e41)),this[_0x1e6c43(0x17d)](_0x446d53);}[_0x1ff13b(0xf5)](_0x44b059,_0x1523a3){const _0x570511=_0x1ff13b;this[_0x570511(0x261)][_0x3b0b54[_0x570511(0x154)]][_0x570511(0xf5)](_0x44b059,this[_0x570511(0x16b)],(_0x1d1fdb,_0x1cef88)=>{const _0x1945cc=_0x570511;if(_0x1d1fdb)return _0x1523a3(_0x1d1fdb);if(_0x1cef88['length']){if(this[_0x1945cc(0x180)]+=_0x1cef88[_0x1945cc(0x101)],this[_0x1945cc(0x180)]>this['_maxPayload']&&this[_0x1945cc(0x1cb)]>0x0){const _0x438801=this['createError'](RangeError,_0x1945cc(0xbc),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x1523a3(_0x438801);return;}this[_0x1945cc(0x12b)]['push'](_0x1cef88);}this['dataMessage'](_0x1523a3),this[_0x1945cc(0x232)]===_0x2484c8&&this[_0x1945cc(0x159)](_0x1523a3);});}[_0x1ff13b(0x17d)](_0x339f8e){const _0x45d715=_0x1ff13b;if(!this[_0x45d715(0x16b)]){this[_0x45d715(0x232)]=_0x2484c8;return;}const _0x1f176b=this[_0x45d715(0x180)],_0x23dfcf=this[_0x45d715(0x12b)];if(this[_0x45d715(0x1c2)]=0x0,this[_0x45d715(0x180)]=0x0,this['_fragmented']=0x0,this[_0x45d715(0x12b)]=[],this[_0x45d715(0xd5)]===0x2){let _0x1442c1;this[_0x45d715(0xd6)]==='nodebuffer'?_0x1442c1=_0x3177cf(_0x23dfcf,_0x1f176b):this[_0x45d715(0xd6)]===_0x45d715(0x1f7)?_0x1442c1=_0x26565e(_0x3177cf(_0x23dfcf,_0x1f176b)):this[_0x45d715(0xd6)]===_0x45d715(0x1e6)?_0x1442c1=new Blob(_0x23dfcf):_0x1442c1=_0x23dfcf,this[_0x45d715(0x236)]?(this[_0x45d715(0x1d8)](_0x45d715(0x1b3),_0x1442c1,!0x0),this[_0x45d715(0x232)]=_0x2484c8):(this[_0x45d715(0x232)]=_0x4adfb2,setImmediate(()=>{const _0x159bf9=_0x45d715;this['emit'](_0x159bf9(0x1b3),_0x1442c1,!0x0),this['_state']=_0x2484c8,this[_0x159bf9(0x159)](_0x339f8e);}));}else{const _0x5a6356=_0x3177cf(_0x23dfcf,_0x1f176b);if(!this['_skipUTF8Validation']&&!_0x339bf1(_0x5a6356)){const _0x3d56d1=this['createError'](Error,_0x45d715(0x1ac),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x339f8e(_0x3d56d1);return;}this[_0x45d715(0x232)]===_0x20f620||this['_allowSynchronousEvents']?(this[_0x45d715(0x1d8)](_0x45d715(0x1b3),_0x5a6356,!0x1),this[_0x45d715(0x232)]=_0x2484c8):(this[_0x45d715(0x232)]=_0x4adfb2,setImmediate(()=>{const _0x3a4aae=_0x45d715;this[_0x3a4aae(0x1d8)](_0x3a4aae(0x1b3),_0x5a6356,!0x1),this[_0x3a4aae(0x232)]=_0x2484c8,this['startLoop'](_0x339f8e);}));}}[_0x1ff13b(0x183)](_0x46baa2,_0x4ad8a9){const _0x4c2ed2=_0x1ff13b;if(this[_0x4c2ed2(0xd5)]===0x8){if(_0x46baa2[_0x4c2ed2(0x101)]===0x0)this[_0x4c2ed2(0x250)]=!0x1,this[_0x4c2ed2(0x1d8)](_0x4c2ed2(0xca),0x3ed,_0x12f096),this['end']();else{const _0x338168=_0x46baa2['readUInt16BE'](0x0);if(!_0x5cd012(_0x338168)){const _0x9edc04=this[_0x4c2ed2(0x1ca)](RangeError,_0x4c2ed2(0x172)+_0x338168,!0x0,0x3ea,_0x4c2ed2(0x1cd));_0x4ad8a9(_0x9edc04);return;}const _0x26803e=new _0x2ba1d3(_0x46baa2[_0x4c2ed2(0x160)],_0x46baa2[_0x4c2ed2(0x121)]+0x2,_0x46baa2[_0x4c2ed2(0x101)]-0x2);if(!this[_0x4c2ed2(0xe9)]&&!_0x339bf1(_0x26803e)){const _0x5007b5=this[_0x4c2ed2(0x1ca)](Error,_0x4c2ed2(0x1ac),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4ad8a9(_0x5007b5);return;}this['_loop']=!0x1,this[_0x4c2ed2(0x1d8)]('conclude',_0x338168,_0x26803e),this[_0x4c2ed2(0x142)]();}this['_state']=_0x2484c8;return;}this['_allowSynchronousEvents']?(this[_0x4c2ed2(0x1d8)](this[_0x4c2ed2(0xd5)]===0x9?_0x4c2ed2(0x238):_0x4c2ed2(0x13a),_0x46baa2),this['_state']=_0x2484c8):(this[_0x4c2ed2(0x232)]=_0x4adfb2,setImmediate(()=>{const _0xcc9711=_0x4c2ed2;this[_0xcc9711(0x1d8)](this[_0xcc9711(0xd5)]===0x9?_0xcc9711(0x238):_0xcc9711(0x13a),_0x46baa2),this[_0xcc9711(0x232)]=_0x2484c8,this[_0xcc9711(0x159)](_0x4ad8a9);}));}[_0x1ff13b(0x1ca)](_0xd0ddd0,_0x5d618d,_0x3abcdd,_0x56f3c5,_0xf742ed){const _0x576a11=_0x1ff13b;this[_0x576a11(0x250)]=!0x1,this[_0x576a11(0x113)]=!0x0;const _0x4c3d48=new _0xd0ddd0(_0x3abcdd?_0x576a11(0x181)+_0x5d618d:_0x5d618d);return Error[_0x576a11(0x150)](_0x4c3d48,this[_0x576a11(0x1ca)]),_0x4c3d48['code']=_0xf742ed,_0x4c3d48[_0x468591]=_0x56f3c5,_0x4c3d48;}}return Se=_0x51bb41,Se;}var Ee,Xe;function ft(){const _0x59d9e2=_0x18b31b;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4463cb}=oe,{randomFillSync:_0x5f56d5}=Le,_0x22a2ae=he(),{EMPTY_BUFFER:_0x5b97cb,kWebSocket:_0x40b263,NOOP:_0x52ddb5}=H(),{isBlob:_0x5adc06,isValidStatusCode:_0x61cec0}=ae(),{mask:_0x48fc09,toBuffer:_0x117cde}=ce(),_0x2ceb29=Symbol(_0x59d9e2(0x153)),_0x18c091=Buffer[_0x59d9e2(0x19d)](0x4),_0x4437d6=0x8*0x400;let _0x3fbf00,_0x315976=_0x4437d6;const _0x1c94bd=0x0,_0x304856=0x1,_0x4752de=0x2;class _0x5e860c{constructor(_0x4c87f4,_0x4a074d,_0x4abb06){const _0x4f347b=_0x59d9e2;this[_0x4f347b(0x261)]=_0x4a074d||{},_0x4abb06&&(this['_generateMask']=_0x4abb06,this[_0x4f347b(0x1d6)]=Buffer[_0x4f347b(0x19d)](0x4)),this['_socket']=_0x4c87f4,this['_firstFragment']=!0x0,this[_0x4f347b(0x24d)]=!0x1,this[_0x4f347b(0xaf)]=0x0,this[_0x4f347b(0x189)]=[],this[_0x4f347b(0x232)]=_0x1c94bd,this['onerror']=_0x52ddb5,this[_0x40b263]=void 0x0;}static[_0x59d9e2(0x210)](_0x34dbca,_0x4dfe90){const _0x2b04c5=_0x59d9e2;let _0x1780a8,_0x2a14f2=!0x1,_0x477692=0x2,_0x1347d3=!0x1;_0x4dfe90[_0x2b04c5(0x112)]&&(_0x1780a8=_0x4dfe90[_0x2b04c5(0x140)]||_0x18c091,_0x4dfe90[_0x2b04c5(0x118)]?_0x4dfe90[_0x2b04c5(0x118)](_0x1780a8):(_0x315976===_0x4437d6&&(_0x3fbf00===void 0x0&&(_0x3fbf00=Buffer['alloc'](_0x4437d6)),_0x5f56d5(_0x3fbf00,0x0,_0x4437d6),_0x315976=0x0),_0x1780a8[0x0]=_0x3fbf00[_0x315976++],_0x1780a8[0x1]=_0x3fbf00[_0x315976++],_0x1780a8[0x2]=_0x3fbf00[_0x315976++],_0x1780a8[0x3]=_0x3fbf00[_0x315976++]),_0x1347d3=(_0x1780a8[0x0]|_0x1780a8[0x1]|_0x1780a8[0x2]|_0x1780a8[0x3])===0x0,_0x477692=0x6);let _0x47bbca;typeof _0x34dbca==_0x2b04c5(0x151)?(!_0x4dfe90[_0x2b04c5(0x112)]||_0x1347d3)&&_0x4dfe90[_0x2ceb29]!==void 0x0?_0x47bbca=_0x4dfe90[_0x2ceb29]:(_0x34dbca=Buffer[_0x2b04c5(0x25e)](_0x34dbca),_0x47bbca=_0x34dbca[_0x2b04c5(0x101)]):(_0x47bbca=_0x34dbca[_0x2b04c5(0x101)],_0x2a14f2=_0x4dfe90[_0x2b04c5(0x112)]&&_0x4dfe90['readOnly']&&!_0x1347d3);let _0x2ba3ea=_0x47bbca;_0x47bbca>=0x10000?(_0x477692+=0x8,_0x2ba3ea=0x7f):_0x47bbca>0x7d&&(_0x477692+=0x2,_0x2ba3ea=0x7e);const _0x2adcb7=Buffer[_0x2b04c5(0x1b0)](_0x2a14f2?_0x47bbca+_0x477692:_0x477692);return _0x2adcb7[0x0]=_0x4dfe90[_0x2b04c5(0x21d)]?_0x4dfe90['opcode']|0x80:_0x4dfe90[_0x2b04c5(0x254)],_0x4dfe90[_0x2b04c5(0x147)]&&(_0x2adcb7[0x0]|=0x40),_0x2adcb7[0x1]=_0x2ba3ea,_0x2ba3ea===0x7e?_0x2adcb7['writeUInt16BE'](_0x47bbca,0x2):_0x2ba3ea===0x7f&&(_0x2adcb7[0x2]=_0x2adcb7[0x3]=0x0,_0x2adcb7['writeUIntBE'](_0x47bbca,0x4,0x6)),_0x4dfe90[_0x2b04c5(0x112)]?(_0x2adcb7[0x1]|=0x80,_0x2adcb7[_0x477692-0x4]=_0x1780a8[0x0],_0x2adcb7[_0x477692-0x3]=_0x1780a8[0x1],_0x2adcb7[_0x477692-0x2]=_0x1780a8[0x2],_0x2adcb7[_0x477692-0x1]=_0x1780a8[0x3],_0x1347d3?[_0x2adcb7,_0x34dbca]:_0x2a14f2?(_0x48fc09(_0x34dbca,_0x1780a8,_0x2adcb7,_0x477692,_0x47bbca),[_0x2adcb7]):(_0x48fc09(_0x34dbca,_0x1780a8,_0x34dbca,0x0,_0x47bbca),[_0x2adcb7,_0x34dbca])):[_0x2adcb7,_0x34dbca];}[_0x59d9e2(0xfc)](_0x26beb9,_0x5a4199,_0x3382b2,_0x750b10){const _0x58939a=_0x59d9e2;let _0x17a3ab;if(_0x26beb9===void 0x0)_0x17a3ab=_0x5b97cb;else{if(typeof _0x26beb9!=_0x58939a(0x124)||!_0x61cec0(_0x26beb9))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5a4199===void 0x0||!_0x5a4199[_0x58939a(0x101)])_0x17a3ab=Buffer['allocUnsafe'](0x2),_0x17a3ab[_0x58939a(0x1a1)](_0x26beb9,0x0);else{const _0x560806=Buffer[_0x58939a(0x191)](_0x5a4199);if(_0x560806>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x17a3ab=Buffer[_0x58939a(0x1b0)](0x2+_0x560806),_0x17a3ab[_0x58939a(0x1a1)](_0x26beb9,0x0),typeof _0x5a4199==_0x58939a(0x151)?_0x17a3ab[_0x58939a(0xbe)](_0x5a4199,0x2):_0x17a3ab[_0x58939a(0x13c)](_0x5a4199,0x2);}}const _0x3ba8ef={[_0x2ceb29]:_0x17a3ab[_0x58939a(0x101)],'fin':!0x0,'generateMask':this[_0x58939a(0x14c)],'mask':_0x3382b2,'maskBuffer':this[_0x58939a(0x1d6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x58939a(0x232)]!==_0x1c94bd?this[_0x58939a(0xd8)]([this[_0x58939a(0x230)],_0x17a3ab,!0x1,_0x3ba8ef,_0x750b10]):this[_0x58939a(0xf8)](_0x5e860c[_0x58939a(0x210)](_0x17a3ab,_0x3ba8ef),_0x750b10);}[_0x59d9e2(0x238)](_0x4e61c7,_0x57618e,_0x470b6c){const _0x7a70af=_0x59d9e2;let _0x4b985e,_0x2cbbcf;if(typeof _0x4e61c7==_0x7a70af(0x151)?(_0x4b985e=Buffer[_0x7a70af(0x191)](_0x4e61c7),_0x2cbbcf=!0x1):_0x5adc06(_0x4e61c7)?(_0x4b985e=_0x4e61c7[_0x7a70af(0x24b)],_0x2cbbcf=!0x1):(_0x4e61c7=_0x117cde(_0x4e61c7),_0x4b985e=_0x4e61c7[_0x7a70af(0x101)],_0x2cbbcf=_0x117cde['readOnly']),_0x4b985e>0x7d)throw new RangeError(_0x7a70af(0xc6));const _0x20051e={[_0x2ceb29]:_0x4b985e,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x57618e,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x2cbbcf,'rsv1':!0x1};_0x5adc06(_0x4e61c7)?this[_0x7a70af(0x232)]!==_0x1c94bd?this[_0x7a70af(0xd8)]([this['getBlobData'],_0x4e61c7,!0x1,_0x20051e,_0x470b6c]):this[_0x7a70af(0xfa)](_0x4e61c7,!0x1,_0x20051e,_0x470b6c):this[_0x7a70af(0x232)]!==_0x1c94bd?this[_0x7a70af(0xd8)]([this[_0x7a70af(0x230)],_0x4e61c7,!0x1,_0x20051e,_0x470b6c]):this[_0x7a70af(0xf8)](_0x5e860c[_0x7a70af(0x210)](_0x4e61c7,_0x20051e),_0x470b6c);}[_0x59d9e2(0x13a)](_0x3d7796,_0x17eb64,_0x28c1fc){const _0x1e01d8=_0x59d9e2;let _0x308942,_0x4f1234;if(typeof _0x3d7796==_0x1e01d8(0x151)?(_0x308942=Buffer['byteLength'](_0x3d7796),_0x4f1234=!0x1):_0x5adc06(_0x3d7796)?(_0x308942=_0x3d7796[_0x1e01d8(0x24b)],_0x4f1234=!0x1):(_0x3d7796=_0x117cde(_0x3d7796),_0x308942=_0x3d7796[_0x1e01d8(0x101)],_0x4f1234=_0x117cde['readOnly']),_0x308942>0x7d)throw new RangeError(_0x1e01d8(0xc6));const _0x55a24d={[_0x2ceb29]:_0x308942,'fin':!0x0,'generateMask':this[_0x1e01d8(0x14c)],'mask':_0x17eb64,'maskBuffer':this[_0x1e01d8(0x1d6)],'opcode':0xa,'readOnly':_0x4f1234,'rsv1':!0x1};_0x5adc06(_0x3d7796)?this[_0x1e01d8(0x232)]!==_0x1c94bd?this[_0x1e01d8(0xd8)]([this['getBlobData'],_0x3d7796,!0x1,_0x55a24d,_0x28c1fc]):this[_0x1e01d8(0xfa)](_0x3d7796,!0x1,_0x55a24d,_0x28c1fc):this[_0x1e01d8(0x232)]!==_0x1c94bd?this['enqueue']([this[_0x1e01d8(0x230)],_0x3d7796,!0x1,_0x55a24d,_0x28c1fc]):this[_0x1e01d8(0xf8)](_0x5e860c[_0x1e01d8(0x210)](_0x3d7796,_0x55a24d),_0x28c1fc);}[_0x59d9e2(0xae)](_0x12c590,_0xda18ad,_0x2cf55e){const _0x463f61=_0x59d9e2,_0x2488b7=this[_0x463f61(0x261)][_0x22a2ae['extensionName']];let _0x31a878=_0xda18ad['binary']?0x2:0x1,_0x12916e=_0xda18ad[_0x463f61(0xce)],_0x3df182,_0x2eca79;typeof _0x12c590==_0x463f61(0x151)?(_0x3df182=Buffer[_0x463f61(0x191)](_0x12c590),_0x2eca79=!0x1):_0x5adc06(_0x12c590)?(_0x3df182=_0x12c590[_0x463f61(0x24b)],_0x2eca79=!0x1):(_0x12c590=_0x117cde(_0x12c590),_0x3df182=_0x12c590[_0x463f61(0x101)],_0x2eca79=_0x117cde[_0x463f61(0x214)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x12916e&&_0x2488b7&&_0x2488b7[_0x463f61(0xd2)][_0x2488b7[_0x463f61(0x166)]?'server_no_context_takeover':_0x463f61(0xc1)]&&(_0x12916e=_0x3df182>=_0x2488b7['_threshold']),this['_compress']=_0x12916e):(_0x12916e=!0x1,_0x31a878=0x0),_0xda18ad['fin']&&(this[_0x463f61(0x155)]=!0x0);const _0x376e9e={[_0x2ceb29]:_0x3df182,'fin':_0xda18ad['fin'],'generateMask':this[_0x463f61(0x14c)],'mask':_0xda18ad[_0x463f61(0x112)],'maskBuffer':this[_0x463f61(0x1d6)],'opcode':_0x31a878,'readOnly':_0x2eca79,'rsv1':_0x12916e};_0x5adc06(_0x12c590)?this[_0x463f61(0x232)]!==_0x1c94bd?this[_0x463f61(0xd8)]([this['getBlobData'],_0x12c590,this[_0x463f61(0x24d)],_0x376e9e,_0x2cf55e]):this[_0x463f61(0xfa)](_0x12c590,this[_0x463f61(0x24d)],_0x376e9e,_0x2cf55e):this[_0x463f61(0x232)]!==_0x1c94bd?this['enqueue']([this[_0x463f61(0x230)],_0x12c590,this[_0x463f61(0x24d)],_0x376e9e,_0x2cf55e]):this[_0x463f61(0x230)](_0x12c590,this['_compress'],_0x376e9e,_0x2cf55e);}['getBlobData'](_0x44da85,_0x257f85,_0x31646c,_0x4e0f94){const _0x5845d7=_0x59d9e2;this[_0x5845d7(0xaf)]+=_0x31646c[_0x2ceb29],this['_state']=_0x4752de,_0x44da85[_0x5845d7(0x168)]()[_0x5845d7(0x21a)](_0x2bc7cc=>{const _0x5a0741=_0x5845d7;if(this[_0x5a0741(0xe8)]['destroyed']){const _0x2a6613=new Error(_0x5a0741(0x1f4));process[_0x5a0741(0x1d7)](_0x2f5266,this,_0x2a6613,_0x4e0f94);return;}this[_0x5a0741(0xaf)]-=_0x31646c[_0x2ceb29];const _0x36434d=_0x117cde(_0x2bc7cc);_0x257f85?this['dispatch'](_0x36434d,_0x257f85,_0x31646c,_0x4e0f94):(this[_0x5a0741(0x232)]=_0x1c94bd,this[_0x5a0741(0xf8)](_0x5e860c[_0x5a0741(0x210)](_0x36434d,_0x31646c),_0x4e0f94),this[_0x5a0741(0x192)]());})[_0x5845d7(0x25c)](_0x1326c5=>{const _0x3ce9a7=_0x5845d7;process[_0x3ce9a7(0x1d7)](_0x59a1ff,this,_0x1326c5,_0x4e0f94);});}[_0x59d9e2(0x230)](_0x527e32,_0xdf4aa0,_0x3938f0,_0xf99b2a){const _0x1378b7=_0x59d9e2;if(!_0xdf4aa0){this['sendFrame'](_0x5e860c['frame'](_0x527e32,_0x3938f0),_0xf99b2a);return;}const _0x45daf6=this['_extensions'][_0x22a2ae[_0x1378b7(0x154)]];this[_0x1378b7(0xaf)]+=_0x3938f0[_0x2ceb29],this['_state']=_0x304856,_0x45daf6['compress'](_0x527e32,_0x3938f0[_0x1378b7(0x21d)],(_0x3b5e49,_0x6a49a5)=>{const _0x50e1f1=_0x1378b7;if(this[_0x50e1f1(0xe8)][_0x50e1f1(0x1e8)]){const _0x388ad0=new Error(_0x50e1f1(0x1d2));_0x2f5266(this,_0x388ad0,_0xf99b2a);return;}this[_0x50e1f1(0xaf)]-=_0x3938f0[_0x2ceb29],this['_state']=_0x1c94bd,_0x3938f0[_0x50e1f1(0x214)]=!0x1,this[_0x50e1f1(0xf8)](_0x5e860c['frame'](_0x6a49a5,_0x3938f0),_0xf99b2a),this[_0x50e1f1(0x192)]();});}['dequeue'](){const _0x209d49=_0x59d9e2;for(;this[_0x209d49(0x232)]===_0x1c94bd&&this['_queue']['length'];){const _0x336db1=this['_queue'][_0x209d49(0x1fb)]();this[_0x209d49(0xaf)]-=_0x336db1[0x3][_0x2ceb29],Reflect['apply'](_0x336db1[0x0],this,_0x336db1[_0x209d49(0x265)](0x1));}}['enqueue'](_0x4a3496){const _0x1dcee5=_0x59d9e2;this['_bufferedBytes']+=_0x4a3496[0x3][_0x2ceb29],this['_queue'][_0x1dcee5(0x25b)](_0x4a3496);}[_0x59d9e2(0xf8)](_0x3fa2d8,_0x5a749b){const _0x55dfed=_0x59d9e2;_0x3fa2d8[_0x55dfed(0x101)]===0x2?(this[_0x55dfed(0xe8)][_0x55dfed(0x137)](),this[_0x55dfed(0xe8)]['write'](_0x3fa2d8[0x0]),this[_0x55dfed(0xe8)][_0x55dfed(0xbe)](_0x3fa2d8[0x1],_0x5a749b),this[_0x55dfed(0xe8)]['uncork']()):this[_0x55dfed(0xe8)]['write'](_0x3fa2d8[0x0],_0x5a749b);}}Ee=_0x5e860c;function _0x2f5266(_0x4c23c3,_0x451406,_0x947884){const _0x307b5c=_0x59d9e2;typeof _0x947884==_0x307b5c(0x20f)&&_0x947884(_0x451406);for(let _0x519c82=0x0;_0x519c82<_0x4c23c3[_0x307b5c(0x189)][_0x307b5c(0x101)];_0x519c82++){const _0x54980d=_0x4c23c3[_0x307b5c(0x189)][_0x519c82],_0x4c3b69=_0x54980d[_0x54980d[_0x307b5c(0x101)]-0x1];typeof _0x4c3b69==_0x307b5c(0x20f)&&_0x4c3b69(_0x451406);}}function _0x59a1ff(_0x288aeb,_0x3a845a,_0xbd28c7){_0x2f5266(_0x288aeb,_0x3a845a,_0xbd28c7),_0x288aeb['onerror'](_0x3a845a);}return Ee;}var xe,Ze;function It(){const _0x3a047c=_0x18b31b;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x17906d,kListener:_0x1855b6}=H(),_0xfdbed9=Symbol('kCode'),_0x432257=Symbol(_0x3a047c(0x10e)),_0x5baef1=Symbol(_0x3a047c(0x12f)),_0xc9e20f=Symbol(_0x3a047c(0x15b)),_0x3c8d22=Symbol(_0x3a047c(0x14d)),_0x81b5b8=Symbol(_0x3a047c(0x264)),_0x25a183=Symbol(_0x3a047c(0x1c5)),_0x2eeb01=Symbol(_0x3a047c(0x129));class _0x8650d6{constructor(_0x421a1b){this[_0x81b5b8]=null,this[_0x25a183]=_0x421a1b;}get[_0x3a047c(0xc4)](){return this[_0x81b5b8];}get[_0x3a047c(0x25d)](){return this[_0x25a183];}}Object[_0x3a047c(0x18e)](_0x8650d6[_0x3a047c(0x267)],_0x3a047c(0xc4),{'enumerable':!0x0}),Object[_0x3a047c(0x18e)](_0x8650d6['prototype'],_0x3a047c(0x25d),{'enumerable':!0x0});class _0x450ad9 extends _0x8650d6{constructor(_0x2952d3,_0x37a5db={}){const _0x30ce66=_0x3a047c;super(_0x2952d3),this[_0xfdbed9]=_0x37a5db[_0x30ce66(0xb1)]===void 0x0?0x0:_0x37a5db[_0x30ce66(0xb1)],this[_0x3c8d22]=_0x37a5db[_0x30ce66(0x252)]===void 0x0?'':_0x37a5db[_0x30ce66(0x252)],this[_0x2eeb01]=_0x37a5db[_0x30ce66(0x177)]===void 0x0?!0x1:_0x37a5db[_0x30ce66(0x177)];}get[_0x3a047c(0xb1)](){return this[_0xfdbed9];}get[_0x3a047c(0x252)](){return this[_0x3c8d22];}get[_0x3a047c(0x177)](){return this[_0x2eeb01];}}Object[_0x3a047c(0x18e)](_0x450ad9[_0x3a047c(0x267)],_0x3a047c(0xb1),{'enumerable':!0x0}),Object[_0x3a047c(0x18e)](_0x450ad9['prototype'],_0x3a047c(0x252),{'enumerable':!0x0}),Object[_0x3a047c(0x18e)](_0x450ad9[_0x3a047c(0x267)],_0x3a047c(0x177),{'enumerable':!0x0});class _0x277111 extends _0x8650d6{constructor(_0x57a550,_0x66f431={}){const _0x53f0a2=_0x3a047c;super(_0x57a550),this[_0x5baef1]=_0x66f431[_0x53f0a2(0x1da)]===void 0x0?null:_0x66f431[_0x53f0a2(0x1da)],this[_0xc9e20f]=_0x66f431['message']===void 0x0?'':_0x66f431[_0x53f0a2(0x1b3)];}get['error'](){return this[_0x5baef1];}get[_0x3a047c(0x1b3)](){return this[_0xc9e20f];}}Object['defineProperty'](_0x277111[_0x3a047c(0x267)],'error',{'enumerable':!0x0}),Object[_0x3a047c(0x18e)](_0x277111[_0x3a047c(0x267)],_0x3a047c(0x1b3),{'enumerable':!0x0});class _0x5b2efb extends _0x8650d6{constructor(_0xdd8fc2,_0x5ab39e={}){const _0x5aed2b=_0x3a047c;super(_0xdd8fc2),this[_0x432257]=_0x5ab39e['data']===void 0x0?null:_0x5ab39e[_0x5aed2b(0x15f)];}get['data'](){return this[_0x432257];}}Object[_0x3a047c(0x18e)](_0x5b2efb['prototype'],_0x3a047c(0x15f),{'enumerable':!0x0}),xe={'CloseEvent':_0x450ad9,'ErrorEvent':_0x277111,'Event':_0x8650d6,'EventTarget':{'addEventListener'(_0x337870,_0x3e281c,_0x317a9a={}){const _0x4248e8=_0x3a047c;for(const _0x564ff4 of this[_0x4248e8(0xee)](_0x337870))if(!_0x317a9a[_0x17906d]&&_0x564ff4[_0x1855b6]===_0x3e281c&&!_0x564ff4[_0x17906d])return;let _0x128655;if(_0x337870===_0x4248e8(0x1b3))_0x128655=function(_0x5e4087,_0x21c421){const _0x1417e2=_0x4248e8,_0x3b835b=new _0x5b2efb(_0x1417e2(0x1b3),{'data':_0x21c421?_0x5e4087:_0x5e4087[_0x1417e2(0x1a2)]()});_0x3b835b[_0x81b5b8]=this,_0x3ef45a(_0x3e281c,this,_0x3b835b);};else{if(_0x337870==='close')_0x128655=function(_0x429be6,_0x358e69){const _0x5d75cb=_0x4248e8,_0x314daa=new _0x450ad9(_0x5d75cb(0xfc),{'code':_0x429be6,'reason':_0x358e69[_0x5d75cb(0x1a2)](),'wasClean':this[_0x5d75cb(0x15a)]&&this[_0x5d75cb(0x1aa)]});_0x314daa[_0x81b5b8]=this,_0x3ef45a(_0x3e281c,this,_0x314daa);};else{if(_0x337870===_0x4248e8(0x1da))_0x128655=function(_0x1429c7){const _0x2c0a3c=_0x4248e8,_0x2bd8ac=new _0x277111(_0x2c0a3c(0x1da),{'error':_0x1429c7,'message':_0x1429c7[_0x2c0a3c(0x1b3)]});_0x2bd8ac[_0x81b5b8]=this,_0x3ef45a(_0x3e281c,this,_0x2bd8ac);};else{if(_0x337870===_0x4248e8(0x1b8))_0x128655=function(){const _0x3a3e81=_0x4248e8,_0x1b8446=new _0x8650d6(_0x3a3e81(0x1b8));_0x1b8446[_0x81b5b8]=this,_0x3ef45a(_0x3e281c,this,_0x1b8446);};else return;}}}_0x128655[_0x17906d]=!!_0x317a9a[_0x17906d],_0x128655[_0x1855b6]=_0x3e281c,_0x317a9a[_0x4248e8(0x15c)]?this[_0x4248e8(0x15c)](_0x337870,_0x128655):this['on'](_0x337870,_0x128655);},'removeEventListener'(_0x3ca6a2,_0x5f4679){const _0x434805=_0x3a047c;for(const _0x49f0ef of this[_0x434805(0xee)](_0x3ca6a2))if(_0x49f0ef[_0x1855b6]===_0x5f4679&&!_0x49f0ef[_0x17906d]){this['removeListener'](_0x3ca6a2,_0x49f0ef);break;}}},'MessageEvent':_0x5b2efb};function _0x3ef45a(_0x1e0aa2,_0x3e2a89,_0x29ec3c){const _0x4e1f7d=_0x3a047c;typeof _0x1e0aa2==_0x4e1f7d(0x256)&&_0x1e0aa2[_0x4e1f7d(0x246)]?_0x1e0aa2[_0x4e1f7d(0x246)][_0x4e1f7d(0x1a4)](_0x1e0aa2,_0x29ec3c):_0x1e0aa2[_0x4e1f7d(0x1a4)](_0x3e2a89,_0x29ec3c);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2c1581}=ae();function _0x199d39(_0x513c21,_0x1bea33,_0x420822){const _0x3ae4ae=_0x4893;_0x513c21[_0x1bea33]===void 0x0?_0x513c21[_0x1bea33]=[_0x420822]:_0x513c21[_0x1bea33][_0x3ae4ae(0x25b)](_0x420822);}function _0x2f7c4b(_0x325fd1){const _0x3e7ea3=_0x4893,_0x3bfe78=Object[_0x3e7ea3(0x100)](null);let _0x4010e9=Object[_0x3e7ea3(0x100)](null),_0x432d7b=!0x1,_0xf2e13f=!0x1,_0x55c82c=!0x1,_0x30588e,_0x4b5848,_0x3d91fc=-0x1,_0x5829e2=-0x1,_0x290ff0=-0x1,_0x4cd081=0x0;for(;_0x4cd081<_0x325fd1['length'];_0x4cd081++)if(_0x5829e2=_0x325fd1[_0x3e7ea3(0xde)](_0x4cd081),_0x30588e===void 0x0){if(_0x290ff0===-0x1&&_0x2c1581[_0x5829e2]===0x1)_0x3d91fc===-0x1&&(_0x3d91fc=_0x4cd081);else{if(_0x4cd081!==0x0&&(_0x5829e2===0x20||_0x5829e2===0x9))_0x290ff0===-0x1&&_0x3d91fc!==-0x1&&(_0x290ff0=_0x4cd081);else{if(_0x5829e2===0x3b||_0x5829e2===0x2c){if(_0x3d91fc===-0x1)throw new SyntaxError(_0x3e7ea3(0x22d)+_0x4cd081);_0x290ff0===-0x1&&(_0x290ff0=_0x4cd081);const _0x32c185=_0x325fd1[_0x3e7ea3(0x265)](_0x3d91fc,_0x290ff0);_0x5829e2===0x2c?(_0x199d39(_0x3bfe78,_0x32c185,_0x4010e9),_0x4010e9=Object[_0x3e7ea3(0x100)](null)):_0x30588e=_0x32c185,_0x3d91fc=_0x290ff0=-0x1;}else throw new SyntaxError(_0x3e7ea3(0x22d)+_0x4cd081);}}}else{if(_0x4b5848===void 0x0){if(_0x290ff0===-0x1&&_0x2c1581[_0x5829e2]===0x1)_0x3d91fc===-0x1&&(_0x3d91fc=_0x4cd081);else{if(_0x5829e2===0x20||_0x5829e2===0x9)_0x290ff0===-0x1&&_0x3d91fc!==-0x1&&(_0x290ff0=_0x4cd081);else{if(_0x5829e2===0x3b||_0x5829e2===0x2c){if(_0x3d91fc===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4cd081);_0x290ff0===-0x1&&(_0x290ff0=_0x4cd081),_0x199d39(_0x4010e9,_0x325fd1['slice'](_0x3d91fc,_0x290ff0),!0x0),_0x5829e2===0x2c&&(_0x199d39(_0x3bfe78,_0x30588e,_0x4010e9),_0x4010e9=Object[_0x3e7ea3(0x100)](null),_0x30588e=void 0x0),_0x3d91fc=_0x290ff0=-0x1;}else{if(_0x5829e2===0x3d&&_0x3d91fc!==-0x1&&_0x290ff0===-0x1)_0x4b5848=_0x325fd1[_0x3e7ea3(0x265)](_0x3d91fc,_0x4cd081),_0x3d91fc=_0x290ff0=-0x1;else throw new SyntaxError(_0x3e7ea3(0x22d)+_0x4cd081);}}}}else{if(_0xf2e13f){if(_0x2c1581[_0x5829e2]!==0x1)throw new SyntaxError(_0x3e7ea3(0x22d)+_0x4cd081);_0x3d91fc===-0x1?_0x3d91fc=_0x4cd081:_0x432d7b||(_0x432d7b=!0x0),_0xf2e13f=!0x1;}else{if(_0x55c82c){if(_0x2c1581[_0x5829e2]===0x1)_0x3d91fc===-0x1&&(_0x3d91fc=_0x4cd081);else{if(_0x5829e2===0x22&&_0x3d91fc!==-0x1)_0x55c82c=!0x1,_0x290ff0=_0x4cd081;else{if(_0x5829e2===0x5c)_0xf2e13f=!0x0;else throw new SyntaxError(_0x3e7ea3(0x22d)+_0x4cd081);}}}else{if(_0x5829e2===0x22&&_0x325fd1['charCodeAt'](_0x4cd081-0x1)===0x3d)_0x55c82c=!0x0;else{if(_0x290ff0===-0x1&&_0x2c1581[_0x5829e2]===0x1)_0x3d91fc===-0x1&&(_0x3d91fc=_0x4cd081);else{if(_0x3d91fc!==-0x1&&(_0x5829e2===0x20||_0x5829e2===0x9))_0x290ff0===-0x1&&(_0x290ff0=_0x4cd081);else{if(_0x5829e2===0x3b||_0x5829e2===0x2c){if(_0x3d91fc===-0x1)throw new SyntaxError(_0x3e7ea3(0x22d)+_0x4cd081);_0x290ff0===-0x1&&(_0x290ff0=_0x4cd081);let _0xdbb92d=_0x325fd1['slice'](_0x3d91fc,_0x290ff0);_0x432d7b&&(_0xdbb92d=_0xdbb92d[_0x3e7ea3(0x263)](/\\/g,''),_0x432d7b=!0x1),_0x199d39(_0x4010e9,_0x4b5848,_0xdbb92d),_0x5829e2===0x2c&&(_0x199d39(_0x3bfe78,_0x30588e,_0x4010e9),_0x4010e9=Object[_0x3e7ea3(0x100)](null),_0x30588e=void 0x0),_0x4b5848=void 0x0,_0x3d91fc=_0x290ff0=-0x1;}else throw new SyntaxError(_0x3e7ea3(0x22d)+_0x4cd081);}}}}}}}if(_0x3d91fc===-0x1||_0x55c82c||_0x5829e2===0x20||_0x5829e2===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x290ff0===-0x1&&(_0x290ff0=_0x4cd081);const _0x52434d=_0x325fd1[_0x3e7ea3(0x265)](_0x3d91fc,_0x290ff0);return _0x30588e===void 0x0?_0x199d39(_0x3bfe78,_0x52434d,_0x4010e9):(_0x4b5848===void 0x0?_0x199d39(_0x4010e9,_0x52434d,!0x0):_0x432d7b?_0x199d39(_0x4010e9,_0x4b5848,_0x52434d[_0x3e7ea3(0x263)](/\\/g,'')):_0x199d39(_0x4010e9,_0x4b5848,_0x52434d),_0x199d39(_0x3bfe78,_0x30588e,_0x4010e9)),_0x3bfe78;}function _0x1c9689(_0x43a120){const _0xddcd8f=_0x4893;return Object[_0xddcd8f(0xed)](_0x43a120)[_0xddcd8f(0x217)](_0x4f78fe=>{const _0xf552cf=_0xddcd8f;let _0x81374f=_0x43a120[_0x4f78fe];return Array['isArray'](_0x81374f)||(_0x81374f=[_0x81374f]),_0x81374f[_0xf552cf(0x217)](_0x3db043=>[_0x4f78fe][_0xf552cf(0x1d4)](Object['keys'](_0x3db043)[_0xf552cf(0x217)](_0x6548ec=>{const _0x36e206=_0xf552cf;let _0x15f003=_0x3db043[_0x6548ec];return Array['isArray'](_0x15f003)||(_0x15f003=[_0x15f003]),_0x15f003[_0x36e206(0x217)](_0x3448c9=>_0x3448c9===!0x0?_0x6548ec:_0x6548ec+'='+_0x3448c9)[_0x36e206(0xb2)](';\x20');}))[_0xf552cf(0xb2)](';\x20'))[_0xf552cf(0xb2)](',\x20');})[_0xddcd8f(0xb2)](',\x20');}return be={'format':_0x1c9689,'parse':_0x2f7c4b},be;}var we,Je;function Pe(){const _0x35f740=_0x18b31b;if(Je)return we;Je=0x1;const _0x491190=nt,_0x285182=vt,_0x176dcb=ot,_0x1da960=St,_0xb2551d=Et,{randomBytes:_0x2accf4,createHash:_0x1def50}=Le,{Duplex:_0x3560af,Readable:_0x2a2285}=oe,{URL:_0x15a1e5}=xt,_0xf502cf=he(),_0x41794d=lt(),_0x59074b=ft(),{isBlob:_0x2a1023}=ae(),{BINARY_TYPES:_0x36d0cd,EMPTY_BUFFER:_0x20c81,GUID:_0x9cda07,kForOnEventAttribute:_0x3a5a0f,kListener:_0x3f5419,kStatusCode:_0x5f45fa,kWebSocket:_0x181a60,NOOP:_0x16eca5}=H(),{EventTarget:{addEventListener:_0x549826,removeEventListener:_0x127019}}=It(),{format:_0x7436c2,parse:_0x55fd50}=ct(),{toBuffer:_0x1bdf25}=ce(),_0x1c11df=0x1e*0x3e8,_0x191591=Symbol(_0x35f740(0x213)),_0x92995d=[0x8,0xd],_0x33902b=[_0x35f740(0x152),_0x35f740(0x1ab),_0x35f740(0x116),_0x35f740(0x18b)],_0x4714f7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3890ef extends _0x491190{constructor(_0x1e7ba2,_0x2458aa,_0x19938a){const _0x5ec353=_0x35f740;super(),this[_0x5ec353(0xd6)]=_0x36d0cd[0x0],this[_0x5ec353(0x169)]=0x3ee,this[_0x5ec353(0x15a)]=!0x1,this[_0x5ec353(0x1aa)]=!0x1,this['_closeMessage']=_0x20c81,this[_0x5ec353(0x125)]=null,this[_0x5ec353(0x193)]=!0x1,this[_0x5ec353(0x261)]={},this[_0x5ec353(0x14a)]=!0x1,this[_0x5ec353(0xea)]='',this[_0x5ec353(0x188)]=_0x3890ef[_0x5ec353(0x152)],this[_0x5ec353(0x258)]=null,this[_0x5ec353(0x10a)]=null,this[_0x5ec353(0xe8)]=null,_0x1e7ba2!==null?(this[_0x5ec353(0x198)]=0x0,this[_0x5ec353(0x166)]=!0x1,this[_0x5ec353(0x224)]=0x0,_0x2458aa===void 0x0?_0x2458aa=[]:Array[_0x5ec353(0x141)](_0x2458aa)||(typeof _0x2458aa==_0x5ec353(0x256)&&_0x2458aa!==null?(_0x19938a=_0x2458aa,_0x2458aa=[]):_0x2458aa=[_0x2458aa]),_0x49eef6(this,_0x1e7ba2,_0x2458aa,_0x19938a)):(this['_autoPong']=_0x19938a[_0x5ec353(0x185)],this[_0x5ec353(0x166)]=!0x0);}get[_0x35f740(0x228)](){return this['_binaryType'];}set[_0x35f740(0x228)](_0x4e6e3b){const _0x3613b9=_0x35f740;_0x36d0cd[_0x3613b9(0x208)](_0x4e6e3b)&&(this[_0x3613b9(0xd6)]=_0x4e6e3b,this[_0x3613b9(0x258)]&&(this[_0x3613b9(0x258)]['_binaryType']=_0x4e6e3b));}get[_0x35f740(0x1ff)](){const _0x490d51=_0x35f740;return this[_0x490d51(0xe8)]?this[_0x490d51(0xe8)][_0x490d51(0x1e9)]['length']+this['_sender']['_bufferedBytes']:this[_0x490d51(0x198)];}get['extensions'](){const _0x578dca=_0x35f740;return Object[_0x578dca(0xed)](this[_0x578dca(0x261)])['join']();}get[_0x35f740(0x1f2)](){return this['_paused'];}get[_0x35f740(0x24a)](){return null;}get[_0x35f740(0x1b5)](){return null;}get[_0x35f740(0x136)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x5c1bd5=_0x35f740;return this[_0x5c1bd5(0xea)];}get['readyState'](){const _0xbe6773=_0x35f740;return this[_0xbe6773(0x188)];}get[_0x35f740(0xb8)](){const _0x2c4fb8=_0x35f740;return this[_0x2c4fb8(0x103)];}['setSocket'](_0x1c872f,_0x1d0a32,_0x507b36){const _0x2c8884=_0x35f740,_0x183cd2=new _0x41794d({'allowSynchronousEvents':_0x507b36[_0x2c8884(0x10b)],'binaryType':this[_0x2c8884(0x228)],'extensions':this[_0x2c8884(0x261)],'isServer':this[_0x2c8884(0x166)],'maxPayload':_0x507b36[_0x2c8884(0x11f)],'skipUTF8Validation':_0x507b36[_0x2c8884(0xe0)]}),_0x2a74f5=new _0x59074b(_0x1c872f,this['_extensions'],_0x507b36[_0x2c8884(0x118)]);this[_0x2c8884(0x258)]=_0x183cd2,this[_0x2c8884(0x10a)]=_0x2a74f5,this['_socket']=_0x1c872f,_0x183cd2[_0x181a60]=this,_0x2a74f5[_0x181a60]=this,_0x1c872f[_0x181a60]=this,_0x183cd2['on'](_0x2c8884(0xca),_0x469f91),_0x183cd2['on'](_0x2c8884(0x13d),_0x3add0e),_0x183cd2['on'](_0x2c8884(0x1da),_0x3f97fa),_0x183cd2['on'](_0x2c8884(0x1b3),_0x42e312),_0x183cd2['on'](_0x2c8884(0x238),_0x18db31),_0x183cd2['on'](_0x2c8884(0x13a),_0x37cf08),_0x2a74f5[_0x2c8884(0x1b5)]=_0x59f5bd,_0x1c872f['setTimeout']&&_0x1c872f[_0x2c8884(0x18c)](0x0),_0x1c872f[_0x2c8884(0x26a)]&&_0x1c872f[_0x2c8884(0x26a)](),_0x1d0a32[_0x2c8884(0x101)]>0x0&&_0x1c872f[_0x2c8884(0x249)](_0x1d0a32),_0x1c872f['on']('close',_0x37887d),_0x1c872f['on']('data',_0x57b3c7),_0x1c872f['on'](_0x2c8884(0x142),_0x589a7d),_0x1c872f['on'](_0x2c8884(0x1da),_0x5e1a9b),this[_0x2c8884(0x188)]=_0x3890ef[_0x2c8884(0x1ab)],this[_0x2c8884(0x1d8)](_0x2c8884(0x1b8));}[_0x35f740(0x1b6)](){const _0x419891=_0x35f740;if(!this[_0x419891(0xe8)]){this['_readyState']=_0x3890ef[_0x419891(0x18b)],this[_0x419891(0x1d8)]('close',this['_closeCode'],this[_0x419891(0x255)]);return;}this[_0x419891(0x261)][_0xf502cf[_0x419891(0x154)]]&&this[_0x419891(0x261)][_0xf502cf[_0x419891(0x154)]][_0x419891(0x131)](),this[_0x419891(0x258)][_0x419891(0xa4)](),this[_0x419891(0x188)]=_0x3890ef['CLOSED'],this[_0x419891(0x1d8)](_0x419891(0xfc),this[_0x419891(0x169)],this[_0x419891(0x255)]);}[_0x35f740(0xfc)](_0x543f24,_0x57b787){const _0x44c2c4=_0x35f740;if(this[_0x44c2c4(0xdf)]!==_0x3890ef[_0x44c2c4(0x18b)]){if(this[_0x44c2c4(0xdf)]===_0x3890ef[_0x44c2c4(0x152)]){_0x63136a(this,this['_req'],_0x44c2c4(0x25a));return;}if(this[_0x44c2c4(0xdf)]===_0x3890ef['CLOSING']){this[_0x44c2c4(0x1aa)]&&(this['_closeFrameReceived']||this[_0x44c2c4(0x258)][_0x44c2c4(0x1e9)][_0x44c2c4(0x11b)])&&this[_0x44c2c4(0xe8)][_0x44c2c4(0x142)]();return;}this[_0x44c2c4(0x188)]=_0x3890ef[_0x44c2c4(0x116)],this[_0x44c2c4(0x10a)][_0x44c2c4(0xfc)](_0x543f24,_0x57b787,!this['_isServer'],_0x261a19=>{const _0x4a38f6=_0x44c2c4;_0x261a19||(this[_0x4a38f6(0x1aa)]=!0x0,(this['_closeFrameReceived']||this[_0x4a38f6(0x258)][_0x4a38f6(0x1e9)][_0x4a38f6(0x11b)])&&this[_0x4a38f6(0xe8)][_0x4a38f6(0x142)]());}),_0x108a18(this);}}[_0x35f740(0x237)](){const _0x241385=_0x35f740;this[_0x241385(0xdf)]===_0x3890ef[_0x241385(0x152)]||this[_0x241385(0xdf)]===_0x3890ef[_0x241385(0x18b)]||(this['_paused']=!0x0,this['_socket'][_0x241385(0x237)]());}[_0x35f740(0x238)](_0x3a7e12,_0xa3d2ea,_0x429828){const _0x436794=_0x35f740;if(this[_0x436794(0xdf)]===_0x3890ef['CONNECTING'])throw new Error(_0x436794(0x22c));if(typeof _0x3a7e12==_0x436794(0x20f)?(_0x429828=_0x3a7e12,_0x3a7e12=_0xa3d2ea=void 0x0):typeof _0xa3d2ea==_0x436794(0x20f)&&(_0x429828=_0xa3d2ea,_0xa3d2ea=void 0x0),typeof _0x3a7e12==_0x436794(0x124)&&(_0x3a7e12=_0x3a7e12[_0x436794(0x1a2)]()),this[_0x436794(0xdf)]!==_0x3890ef[_0x436794(0x1ab)]){_0x33c6ac(this,_0x3a7e12,_0x429828);return;}_0xa3d2ea===void 0x0&&(_0xa3d2ea=!this['_isServer']),this[_0x436794(0x10a)][_0x436794(0x238)](_0x3a7e12||_0x20c81,_0xa3d2ea,_0x429828);}['pong'](_0xeaf17b,_0x450c0a,_0x3d3485){const _0x44b5e7=_0x35f740;if(this['readyState']===_0x3890ef[_0x44b5e7(0x152)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xeaf17b=='function'?(_0x3d3485=_0xeaf17b,_0xeaf17b=_0x450c0a=void 0x0):typeof _0x450c0a==_0x44b5e7(0x20f)&&(_0x3d3485=_0x450c0a,_0x450c0a=void 0x0),typeof _0xeaf17b==_0x44b5e7(0x124)&&(_0xeaf17b=_0xeaf17b['toString']()),this[_0x44b5e7(0xdf)]!==_0x3890ef[_0x44b5e7(0x1ab)]){_0x33c6ac(this,_0xeaf17b,_0x3d3485);return;}_0x450c0a===void 0x0&&(_0x450c0a=!this[_0x44b5e7(0x166)]),this[_0x44b5e7(0x10a)]['pong'](_0xeaf17b||_0x20c81,_0x450c0a,_0x3d3485);}[_0x35f740(0x12d)](){const _0x46e7de=_0x35f740;this[_0x46e7de(0xdf)]===_0x3890ef['CONNECTING']||this['readyState']===_0x3890ef[_0x46e7de(0x18b)]||(this[_0x46e7de(0x14a)]=!0x1,this[_0x46e7de(0x258)][_0x46e7de(0x1e9)]['needDrain']||this[_0x46e7de(0xe8)][_0x46e7de(0x12d)]());}[_0x35f740(0xae)](_0x1c54e9,_0x123157,_0x9c47d0){const _0x2e46f5=_0x35f740;if(this[_0x2e46f5(0xdf)]===_0x3890ef[_0x2e46f5(0x152)])throw new Error(_0x2e46f5(0x22c));if(typeof _0x123157=='function'&&(_0x9c47d0=_0x123157,_0x123157={}),typeof _0x1c54e9==_0x2e46f5(0x124)&&(_0x1c54e9=_0x1c54e9[_0x2e46f5(0x1a2)]()),this[_0x2e46f5(0xdf)]!==_0x3890ef['OPEN']){_0x33c6ac(this,_0x1c54e9,_0x9c47d0);return;}const _0x2e281a={'binary':typeof _0x1c54e9!=_0x2e46f5(0x151),'mask':!this[_0x2e46f5(0x166)],'compress':!0x0,'fin':!0x0,..._0x123157};this[_0x2e46f5(0x261)][_0xf502cf[_0x2e46f5(0x154)]]||(_0x2e281a[_0x2e46f5(0xce)]=!0x1),this[_0x2e46f5(0x10a)][_0x2e46f5(0xae)](_0x1c54e9||_0x20c81,_0x2e281a,_0x9c47d0);}[_0x35f740(0x12c)](){const _0x13bd50=_0x35f740;if(this[_0x13bd50(0xdf)]!==_0x3890ef[_0x13bd50(0x18b)]){if(this['readyState']===_0x3890ef[_0x13bd50(0x152)]){_0x63136a(this,this[_0x13bd50(0x24c)],_0x13bd50(0x25a));return;}this[_0x13bd50(0xe8)]&&(this[_0x13bd50(0x188)]=_0x3890ef[_0x13bd50(0x116)],this[_0x13bd50(0xe8)][_0x13bd50(0x1c7)]());}}}Object[_0x35f740(0x18e)](_0x3890ef,_0x35f740(0x152),{'enumerable':!0x0,'value':_0x33902b[_0x35f740(0xa9)](_0x35f740(0x152))}),Object[_0x35f740(0x18e)](_0x3890ef[_0x35f740(0x267)],_0x35f740(0x152),{'enumerable':!0x0,'value':_0x33902b['indexOf']('CONNECTING')}),Object[_0x35f740(0x18e)](_0x3890ef,_0x35f740(0x1ab),{'enumerable':!0x0,'value':_0x33902b['indexOf'](_0x35f740(0x1ab))}),Object[_0x35f740(0x18e)](_0x3890ef[_0x35f740(0x267)],'OPEN',{'enumerable':!0x0,'value':_0x33902b[_0x35f740(0xa9)]('OPEN')}),Object[_0x35f740(0x18e)](_0x3890ef,_0x35f740(0x116),{'enumerable':!0x0,'value':_0x33902b['indexOf']('CLOSING')}),Object[_0x35f740(0x18e)](_0x3890ef['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x33902b['indexOf'](_0x35f740(0x116))}),Object[_0x35f740(0x18e)](_0x3890ef,_0x35f740(0x18b),{'enumerable':!0x0,'value':_0x33902b['indexOf'](_0x35f740(0x18b))}),Object['defineProperty'](_0x3890ef[_0x35f740(0x267)],_0x35f740(0x18b),{'enumerable':!0x0,'value':_0x33902b[_0x35f740(0xa9)](_0x35f740(0x18b))}),[_0x35f740(0x228),_0x35f740(0x1ff),'extensions',_0x35f740(0x1f2),'protocol',_0x35f740(0xdf),_0x35f740(0xb8)][_0x35f740(0x127)](_0x39e744=>{const _0xdb8d99=_0x35f740;Object['defineProperty'](_0x3890ef[_0xdb8d99(0x267)],_0x39e744,{'enumerable':!0x0});}),[_0x35f740(0x1b8),'error',_0x35f740(0xfc),_0x35f740(0x1b3)][_0x35f740(0x127)](_0x27732e=>{const _0x146747=_0x35f740;Object[_0x146747(0x18e)](_0x3890ef[_0x146747(0x267)],'on'+_0x27732e,{'enumerable':!0x0,'get'(){for(const _0x1e0378 of this['listeners'](_0x27732e))if(_0x1e0378[_0x3a5a0f])return _0x1e0378[_0x3f5419];return null;},'set'(_0x1d8fa0){const _0x3b9285=_0x146747;for(const _0x403669 of this[_0x3b9285(0xee)](_0x27732e))if(_0x403669[_0x3a5a0f]){this['removeListener'](_0x27732e,_0x403669);break;}typeof _0x1d8fa0=='function'&&this[_0x3b9285(0x197)](_0x27732e,_0x1d8fa0,{[_0x3a5a0f]:!0x0});}});}),_0x3890ef['prototype'][_0x35f740(0x197)]=_0x549826,_0x3890ef[_0x35f740(0x267)][_0x35f740(0xa7)]=_0x127019,we=_0x3890ef;function _0x49eef6(_0x33b5d1,_0x1e7ea4,_0x589457,_0x133585){const _0x527302=_0x35f740,_0x5e6e2b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x92995d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x133585,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x33b5d1[_0x527302(0x158)]=_0x5e6e2b[_0x527302(0x185)],!_0x92995d[_0x527302(0x208)](_0x5e6e2b[_0x527302(0x1ee)]))throw new RangeError(_0x527302(0x1c6)+_0x5e6e2b[_0x527302(0x1ee)]+'\x20(supported\x20versions:\x20'+_0x92995d[_0x527302(0xb2)](',\x20')+')');let _0x10daa7;if(_0x1e7ea4 instanceof _0x15a1e5)_0x10daa7=_0x1e7ea4;else try{_0x10daa7=new _0x15a1e5(_0x1e7ea4);}catch{throw new SyntaxError(_0x527302(0xaa)+_0x1e7ea4);}_0x10daa7[_0x527302(0xf4)]==='http:'?_0x10daa7[_0x527302(0xf4)]=_0x527302(0x10d):_0x10daa7[_0x527302(0xf4)]===_0x527302(0x199)&&(_0x10daa7[_0x527302(0xf4)]=_0x527302(0xc3)),_0x33b5d1[_0x527302(0x103)]=_0x10daa7['href'];const _0x280b30=_0x10daa7['protocol']===_0x527302(0xc3),_0x3f4b87=_0x10daa7[_0x527302(0xf4)]===_0x527302(0x122);let _0x2efba9;if(_0x10daa7[_0x527302(0xf4)]!=='ws:'&&!_0x280b30&&!_0x3f4b87?_0x2efba9=_0x527302(0xfe):_0x3f4b87&&!_0x10daa7[_0x527302(0x1ea)]?_0x2efba9=_0x527302(0xfb):_0x10daa7[_0x527302(0x1d9)]&&(_0x2efba9=_0x527302(0x14f)),_0x2efba9){const _0x2112bf=new SyntaxError(_0x2efba9);if(_0x33b5d1[_0x527302(0x224)]===0x0)throw _0x2112bf;_0x2b8095(_0x33b5d1,_0x2112bf);return;}const _0x930d8d=_0x280b30?0x1bb:0x50,_0x296a6f=_0x2accf4(0x10)[_0x527302(0x1a2)](_0x527302(0x1f5)),_0x5dac7a=_0x280b30?_0x285182[_0x527302(0x1ef)]:_0x176dcb[_0x527302(0x1ef)],_0x30a058=new Set();let _0x1d72f2;if(_0x5e6e2b[_0x527302(0x20e)]=_0x5e6e2b['createConnection']||(_0x280b30?_0x4036a2:_0x4982ee),_0x5e6e2b['defaultPort']=_0x5e6e2b[_0x527302(0x22b)]||_0x930d8d,_0x5e6e2b[_0x527302(0xf7)]=_0x10daa7[_0x527302(0xf7)]||_0x930d8d,_0x5e6e2b[_0x527302(0x187)]=_0x10daa7[_0x527302(0x220)][_0x527302(0x16e)]('[')?_0x10daa7[_0x527302(0x220)]['slice'](0x1,-0x1):_0x10daa7[_0x527302(0x220)],_0x5e6e2b[_0x527302(0x240)]={..._0x5e6e2b['headers'],'Sec-WebSocket-Version':_0x5e6e2b[_0x527302(0x1ee)],'Sec-WebSocket-Key':_0x296a6f,'Connection':'Upgrade','Upgrade':_0x527302(0xb0)},_0x5e6e2b[_0x527302(0x19e)]=_0x10daa7[_0x527302(0x1ea)]+_0x10daa7[_0x527302(0x146)],_0x5e6e2b[_0x527302(0x23e)]=_0x5e6e2b[_0x527302(0x242)],_0x5e6e2b[_0x527302(0x109)]&&(_0x1d72f2=new _0xf502cf(_0x5e6e2b[_0x527302(0x109)]!==!0x0?_0x5e6e2b[_0x527302(0x109)]:{},!0x1,_0x5e6e2b['maxPayload']),_0x5e6e2b['headers'][_0x527302(0x262)]=_0x7436c2({[_0xf502cf[_0x527302(0x154)]]:_0x1d72f2[_0x527302(0x157)]()})),_0x589457[_0x527302(0x101)]){for(const _0x2bc53d of _0x589457){if(typeof _0x2bc53d!=_0x527302(0x151)||!_0x4714f7[_0x527302(0x1f3)](_0x2bc53d)||_0x30a058[_0x527302(0x25f)](_0x2bc53d))throw new SyntaxError(_0x527302(0x215));_0x30a058[_0x527302(0xe6)](_0x2bc53d);}_0x5e6e2b['headers']['Sec-WebSocket-Protocol']=_0x589457[_0x527302(0xb2)](',');}if(_0x5e6e2b[_0x527302(0xb4)]&&(_0x5e6e2b['protocolVersion']<0xd?_0x5e6e2b['headers'][_0x527302(0xdb)]=_0x5e6e2b[_0x527302(0xb4)]:_0x5e6e2b[_0x527302(0x240)][_0x527302(0x1b7)]=_0x5e6e2b['origin']),(_0x10daa7[_0x527302(0x1b2)]||_0x10daa7[_0x527302(0x145)])&&(_0x5e6e2b[_0x527302(0x123)]=_0x10daa7['username']+':'+_0x10daa7[_0x527302(0x145)]),_0x3f4b87){const _0x5be0d6=_0x5e6e2b['path'][_0x527302(0x171)](':');_0x5e6e2b[_0x527302(0x1af)]=_0x5be0d6[0x0],_0x5e6e2b['path']=_0x5be0d6[0x1];}let _0x53faaf;if(_0x5e6e2b[_0x527302(0xb3)]){if(_0x33b5d1['_redirects']===0x0){_0x33b5d1[_0x527302(0x1eb)]=_0x3f4b87,_0x33b5d1[_0x527302(0x1c0)]=_0x280b30,_0x33b5d1[_0x527302(0x170)]=_0x3f4b87?_0x5e6e2b['socketPath']:_0x10daa7[_0x527302(0x187)];const _0x452517=_0x133585&&_0x133585[_0x527302(0x240)];if(_0x133585={..._0x133585,'headers':{}},_0x452517){for(const [_0x5dfc18,_0x20321a]of Object[_0x527302(0xc0)](_0x452517))_0x133585['headers'][_0x5dfc18[_0x527302(0x231)]()]=_0x20321a;}}else{if(_0x33b5d1[_0x527302(0xba)](_0x527302(0x1de))===0x0){const _0x5b0dfa=_0x3f4b87?_0x33b5d1[_0x527302(0x1eb)]?_0x5e6e2b[_0x527302(0x1af)]===_0x33b5d1['_originalHostOrSocketPath']:!0x1:_0x33b5d1[_0x527302(0x1eb)]?!0x1:_0x10daa7[_0x527302(0x187)]===_0x33b5d1[_0x527302(0x170)];(!_0x5b0dfa||_0x33b5d1['_originalSecure']&&!_0x280b30)&&(delete _0x5e6e2b[_0x527302(0x240)]['authorization'],delete _0x5e6e2b[_0x527302(0x240)]['cookie'],_0x5b0dfa||delete _0x5e6e2b['headers'][_0x527302(0x187)],_0x5e6e2b['auth']=void 0x0);}}_0x5e6e2b[_0x527302(0x123)]&&!_0x133585[_0x527302(0x240)][_0x527302(0xe4)]&&(_0x133585[_0x527302(0x240)][_0x527302(0xe4)]=_0x527302(0x107)+Buffer[_0x527302(0x25e)](_0x5e6e2b['auth'])[_0x527302(0x1a2)](_0x527302(0x1f5))),_0x53faaf=_0x33b5d1[_0x527302(0x24c)]=_0x5dac7a(_0x5e6e2b),_0x33b5d1['_redirects']&&_0x33b5d1[_0x527302(0x1d8)](_0x527302(0x1de),_0x33b5d1[_0x527302(0xb8)],_0x53faaf);}else _0x53faaf=_0x33b5d1[_0x527302(0x24c)]=_0x5dac7a(_0x5e6e2b);_0x5e6e2b[_0x527302(0x23e)]&&_0x53faaf['on']('timeout',()=>{_0x63136a(_0x33b5d1,_0x53faaf,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x53faaf['on'](_0x527302(0x1da),_0x48fe6b=>{_0x53faaf===null||_0x53faaf[_0x191591]||(_0x53faaf=_0x33b5d1['_req']=null,_0x2b8095(_0x33b5d1,_0x48fe6b));}),_0x53faaf['on']('response',_0x27cca3=>{const _0x2feb88=_0x527302,_0x26a1d9=_0x27cca3[_0x2feb88(0x240)][_0x2feb88(0x216)],_0x334bd3=_0x27cca3[_0x2feb88(0x268)];if(_0x26a1d9&&_0x5e6e2b['followRedirects']&&_0x334bd3>=0x12c&&_0x334bd3<0x190){if(++_0x33b5d1[_0x2feb88(0x224)]>_0x5e6e2b[_0x2feb88(0x175)]){_0x63136a(_0x33b5d1,_0x53faaf,_0x2feb88(0x1e5));return;}_0x53faaf[_0x2feb88(0x1f6)]();let _0x24e4ff;try{_0x24e4ff=new _0x15a1e5(_0x26a1d9,_0x1e7ea4);}catch{const _0x4cd35c=new SyntaxError(_0x2feb88(0xaa)+_0x26a1d9);_0x2b8095(_0x33b5d1,_0x4cd35c);return;}_0x49eef6(_0x33b5d1,_0x24e4ff,_0x589457,_0x133585);}else _0x33b5d1['emit'](_0x2feb88(0xf9),_0x53faaf,_0x27cca3)||_0x63136a(_0x33b5d1,_0x53faaf,_0x2feb88(0x15d)+_0x27cca3[_0x2feb88(0x268)]);}),_0x53faaf['on'](_0x527302(0x1a8),(_0x4d8c54,_0x1fbe4b,_0x1824bc)=>{const _0x12adf4=_0x527302;if(_0x33b5d1[_0x12adf4(0x1d8)](_0x12adf4(0x1a8),_0x4d8c54),_0x33b5d1[_0x12adf4(0xdf)]!==_0x3890ef[_0x12adf4(0x152)])return;_0x53faaf=_0x33b5d1[_0x12adf4(0x24c)]=null;const _0x247c0a=_0x4d8c54['headers'][_0x12adf4(0x1a8)];if(_0x247c0a===void 0x0||_0x247c0a[_0x12adf4(0x231)]()!==_0x12adf4(0xb0)){_0x63136a(_0x33b5d1,_0x1fbe4b,_0x12adf4(0x206));return;}const _0xf036e6=_0x1def50(_0x12adf4(0x108))[_0x12adf4(0x209)](_0x296a6f+_0x9cda07)[_0x12adf4(0x1a6)]('base64');if(_0x4d8c54[_0x12adf4(0x240)]['sec-websocket-accept']!==_0xf036e6){_0x63136a(_0x33b5d1,_0x1fbe4b,_0x12adf4(0xe3));return;}const _0x3498e3=_0x4d8c54[_0x12adf4(0x240)][_0x12adf4(0x11d)];let _0x254493;if(_0x3498e3!==void 0x0?_0x30a058['size']?_0x30a058[_0x12adf4(0x25f)](_0x3498e3)||(_0x254493='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x254493=_0x12adf4(0x1f9):_0x30a058[_0x12adf4(0x24b)]&&(_0x254493='Server\x20sent\x20no\x20subprotocol'),_0x254493){_0x63136a(_0x33b5d1,_0x1fbe4b,_0x254493);return;}_0x3498e3&&(_0x33b5d1[_0x12adf4(0xea)]=_0x3498e3);const _0x42127c=_0x4d8c54[_0x12adf4(0x240)][_0x12adf4(0x161)];if(_0x42127c!==void 0x0){if(!_0x1d72f2){_0x63136a(_0x33b5d1,_0x1fbe4b,_0x12adf4(0xb6));return;}let _0x11b3f2;try{_0x11b3f2=_0x55fd50(_0x42127c);}catch{_0x63136a(_0x33b5d1,_0x1fbe4b,_0x12adf4(0x1b4));return;}const _0x1e5468=Object[_0x12adf4(0xed)](_0x11b3f2);if(_0x1e5468['length']!==0x1||_0x1e5468[0x0]!==_0xf502cf[_0x12adf4(0x154)]){_0x63136a(_0x33b5d1,_0x1fbe4b,_0x12adf4(0x1ce));return;}try{_0x1d72f2[_0x12adf4(0x162)](_0x11b3f2[_0xf502cf[_0x12adf4(0x154)]]);}catch{_0x63136a(_0x33b5d1,_0x1fbe4b,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x33b5d1[_0x12adf4(0x261)][_0xf502cf['extensionName']]=_0x1d72f2;}_0x33b5d1[_0x12adf4(0x18d)](_0x1fbe4b,_0x1824bc,{'allowSynchronousEvents':_0x5e6e2b[_0x12adf4(0x10b)],'generateMask':_0x5e6e2b[_0x12adf4(0x118)],'maxPayload':_0x5e6e2b[_0x12adf4(0x11f)],'skipUTF8Validation':_0x5e6e2b['skipUTF8Validation']});}),_0x5e6e2b[_0x527302(0x23b)]?_0x5e6e2b[_0x527302(0x23b)](_0x53faaf,_0x33b5d1):_0x53faaf['end']();}function _0x2b8095(_0x2fed90,_0x1f8d2e){const _0x4b8ebb=_0x35f740;_0x2fed90[_0x4b8ebb(0x188)]=_0x3890ef[_0x4b8ebb(0x116)],_0x2fed90[_0x4b8ebb(0x193)]=!0x0,_0x2fed90[_0x4b8ebb(0x1d8)](_0x4b8ebb(0x1da),_0x1f8d2e),_0x2fed90[_0x4b8ebb(0x1b6)]();}function _0x4982ee(_0x33a809){const _0x339a84=_0x35f740;return _0x33a809['path']=_0x33a809[_0x339a84(0x1af)],_0x1da960[_0x339a84(0x128)](_0x33a809);}function _0x4036a2(_0x1a103e){const _0x80e361=_0x35f740;return _0x1a103e[_0x80e361(0x19e)]=void 0x0,!_0x1a103e['servername']&&_0x1a103e['servername']!==''&&(_0x1a103e[_0x80e361(0x22e)]=_0x1da960[_0x80e361(0x14b)](_0x1a103e['host'])?'':_0x1a103e['host']),_0xb2551d[_0x80e361(0x128)](_0x1a103e);}function _0x63136a(_0x4fe63,_0x35e462,_0x1a5e87){const _0x2c9360=_0x35f740;_0x4fe63[_0x2c9360(0x188)]=_0x3890ef[_0x2c9360(0x116)];const _0x4cd640=new Error(_0x1a5e87);Error[_0x2c9360(0x150)](_0x4cd640,_0x63136a),_0x35e462[_0x2c9360(0xab)]?(_0x35e462[_0x191591]=!0x0,_0x35e462[_0x2c9360(0x1f6)](),_0x35e462[_0x2c9360(0xb9)]&&!_0x35e462[_0x2c9360(0xb9)]['destroyed']&&_0x35e462[_0x2c9360(0xb9)][_0x2c9360(0x1c7)](),process[_0x2c9360(0x1d7)](_0x2b8095,_0x4fe63,_0x4cd640)):(_0x35e462['destroy'](_0x4cd640),_0x35e462[_0x2c9360(0x15c)]('error',_0x4fe63[_0x2c9360(0x1d8)][_0x2c9360(0x173)](_0x4fe63,_0x2c9360(0x1da))),_0x35e462[_0x2c9360(0x15c)](_0x2c9360(0xfc),_0x4fe63[_0x2c9360(0x1b6)][_0x2c9360(0x173)](_0x4fe63)));}function _0x33c6ac(_0x52fb24,_0x544481,_0x10e306){const _0x32e870=_0x35f740;if(_0x544481){const _0x2bde4f=_0x2a1023(_0x544481)?_0x544481[_0x32e870(0x24b)]:_0x1bdf25(_0x544481)[_0x32e870(0x101)];_0x52fb24['_socket']?_0x52fb24[_0x32e870(0x10a)]['_bufferedBytes']+=_0x2bde4f:_0x52fb24[_0x32e870(0x198)]+=_0x2bde4f;}if(_0x10e306){const _0x5e13b7=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x52fb24['readyState']+'\x20('+_0x33902b[_0x52fb24[_0x32e870(0xdf)]]+')');process['nextTick'](_0x10e306,_0x5e13b7);}}function _0x469f91(_0x284f60,_0x372c38){const _0x32ab0f=_0x35f740,_0xa40b85=this[_0x181a60];_0xa40b85[_0x32ab0f(0x15a)]=!0x0,_0xa40b85['_closeMessage']=_0x372c38,_0xa40b85[_0x32ab0f(0x169)]=_0x284f60,_0xa40b85[_0x32ab0f(0xe8)][_0x181a60]!==void 0x0&&(_0xa40b85[_0x32ab0f(0xe8)][_0x32ab0f(0x1be)](_0x32ab0f(0x15f),_0x57b3c7),process[_0x32ab0f(0x1d7)](_0x2bded9,_0xa40b85[_0x32ab0f(0xe8)]),_0x284f60===0x3ed?_0xa40b85[_0x32ab0f(0xfc)]():_0xa40b85[_0x32ab0f(0xfc)](_0x284f60,_0x372c38));}function _0x3add0e(){const _0x5c419e=_0x35f740,_0x32919f=this[_0x181a60];_0x32919f['isPaused']||_0x32919f[_0x5c419e(0xe8)][_0x5c419e(0x12d)]();}function _0x3f97fa(_0x5cc242){const _0x2b71a4=_0x35f740,_0x212d94=this[_0x181a60];_0x212d94[_0x2b71a4(0xe8)][_0x181a60]!==void 0x0&&(_0x212d94[_0x2b71a4(0xe8)][_0x2b71a4(0x1be)](_0x2b71a4(0x15f),_0x57b3c7),process['nextTick'](_0x2bded9,_0x212d94['_socket']),_0x212d94[_0x2b71a4(0xfc)](_0x5cc242[_0x5f45fa])),_0x212d94[_0x2b71a4(0x193)]||(_0x212d94[_0x2b71a4(0x193)]=!0x0,_0x212d94[_0x2b71a4(0x1d8)]('error',_0x5cc242));}function _0x99d4f7(){const _0x3d2cd4=_0x35f740;this[_0x181a60][_0x3d2cd4(0x1b6)]();}function _0x42e312(_0x1abfb2,_0x3d7f30){const _0x26aa39=_0x35f740;this[_0x181a60][_0x26aa39(0x1d8)]('message',_0x1abfb2,_0x3d7f30);}function _0x18db31(_0x172b9c){const _0x4b627b=_0x35f740,_0x9887a7=this[_0x181a60];_0x9887a7[_0x4b627b(0x158)]&&_0x9887a7[_0x4b627b(0x13a)](_0x172b9c,!this[_0x4b627b(0x166)],_0x16eca5),_0x9887a7[_0x4b627b(0x1d8)](_0x4b627b(0x238),_0x172b9c);}function _0x37cf08(_0x36cf9e){const _0x11c5f0=_0x35f740;this[_0x181a60][_0x11c5f0(0x1d8)]('pong',_0x36cf9e);}function _0x2bded9(_0x2bda08){const _0x4c59c3=_0x35f740;_0x2bda08[_0x4c59c3(0x12d)]();}function _0x59f5bd(_0x1ba13a){const _0x33bbad=_0x35f740,_0x3b4989=this[_0x181a60];_0x3b4989['readyState']!==_0x3890ef[_0x33bbad(0x18b)]&&(_0x3b4989[_0x33bbad(0xdf)]===_0x3890ef['OPEN']&&(_0x3b4989[_0x33bbad(0x188)]=_0x3890ef[_0x33bbad(0x116)],_0x108a18(_0x3b4989)),this[_0x33bbad(0xe8)][_0x33bbad(0x142)](),_0x3b4989[_0x33bbad(0x193)]||(_0x3b4989[_0x33bbad(0x193)]=!0x0,_0x3b4989[_0x33bbad(0x1d8)]('error',_0x1ba13a)));}function _0x108a18(_0x3f04e1){const _0x3138ca=_0x35f740;_0x3f04e1['_closeTimer']=setTimeout(_0x3f04e1[_0x3138ca(0xe8)][_0x3138ca(0x1c7)]['bind'](_0x3f04e1['_socket']),_0x1c11df);}function _0x37887d(){const _0x46b316=_0x35f740,_0x4fcef2=this[_0x181a60];this[_0x46b316(0x1be)](_0x46b316(0xfc),_0x37887d),this['removeListener'](_0x46b316(0x15f),_0x57b3c7),this[_0x46b316(0x1be)](_0x46b316(0x142),_0x589a7d),_0x4fcef2['_readyState']=_0x3890ef[_0x46b316(0x116)];let _0x4cad20;!this[_0x46b316(0x16c)]['endEmitted']&&!_0x4fcef2[_0x46b316(0x15a)]&&!_0x4fcef2[_0x46b316(0x258)][_0x46b316(0x1e9)][_0x46b316(0x11b)]&&(_0x4cad20=_0x4fcef2[_0x46b316(0xe8)]['read']())!==null&&_0x4fcef2[_0x46b316(0x258)]['write'](_0x4cad20),_0x4fcef2[_0x46b316(0x258)]['end'](),this[_0x181a60]=void 0x0,clearTimeout(_0x4fcef2[_0x46b316(0x125)]),_0x4fcef2['_receiver'][_0x46b316(0x1e9)][_0x46b316(0x1df)]||_0x4fcef2[_0x46b316(0x258)][_0x46b316(0x1e9)][_0x46b316(0x11b)]?_0x4fcef2[_0x46b316(0x1b6)]():(_0x4fcef2[_0x46b316(0x258)]['on'](_0x46b316(0x1da),_0x99d4f7),_0x4fcef2['_receiver']['on'](_0x46b316(0x24e),_0x99d4f7));}function _0x57b3c7(_0x45ab41){const _0x2ae100=_0x35f740;this[_0x181a60][_0x2ae100(0x258)][_0x2ae100(0xbe)](_0x45ab41)||this[_0x2ae100(0x237)]();}function _0x589a7d(){const _0x3b4207=_0x35f740,_0x3d61c3=this[_0x181a60];_0x3d61c3['_readyState']=_0x3890ef[_0x3b4207(0x116)],_0x3d61c3['_receiver'][_0x3b4207(0x142)](),this[_0x3b4207(0x142)]();}function _0x5e1a9b(){const _0x7d2221=_0x35f740,_0x2c3edf=this[_0x181a60];this[_0x7d2221(0x1be)](_0x7d2221(0x1da),_0x5e1a9b),this['on']('error',_0x16eca5),_0x2c3edf&&(_0x2c3edf[_0x7d2221(0x188)]=_0x3890ef['CLOSING'],this[_0x7d2221(0x1c7)]());}return we;}var Oe,et;function _0x2641(){const _0x4b77a0=['generateMask','33yLRGzh','endEmitted','errorEmitted','completeUpgrade','sec-websocket-protocol','clientNoContextTakeover','maxPayload','NodeCollaborationSocketService','byteOffset','ws+unix:','auth','number','_closeTimer','STATUS_CODES','forEach','connect','kWasClean','customHeaders','_fragments','terminate','resume','WS_ERR_INVALID_OPCODE','kError','RSV1\x20must\x20be\x20clear','cleanup','acceptAsServer','ILogService','env','authorized','onopen','cork','nodebuffer','readUInt16BE','pong','_write','set','drain','text/html','_configService','maskBuffer','isArray','end','Upgrade:\x20websocket','_payloadLength','password','search','rsv1','server_max_window_bits','share','_paused','isIP','_generateMask','kReason','threshold','The\x20URL\x20contains\x20a\x20fragment\x20identifier','captureStackTrace','string','CONNECTING','kByteLength','extensionName','_firstFragment','FIN\x20must\x20be\x20set','offer','_autoPong','startLoop','_closeFrameReceived','kMessage','once','Unexpected\x20server\x20response:\x20','GET','data','buffer','sec-websocket-extensions','accept','Observable','getMask','UniverCollaborationClientPlugin','_isServer','format','arrayBuffer','_closeCode','dispose','_fin','_readableState','zlibDeflateOptions','startsWith','_decompress','_originalHostOrSocketPath','split','invalid\x20status\x20code\x20','bind','writable','maxRedirects','pending','wasClean','clients','unmask','status-code','Sec-WebSocket-Accept:\x20','listening','dataMessage','IConfigService','pluginName','_messageLength','Invalid\x20WebSocket\x20frame:\x20','concurrencyLimit','controlMessage','acceptAsClient','autoPong','default','host','_readyState','_queue','serverNoContextTakeover','CLOSED','setTimeout','setSocket','defineProperty','_no_context_takeover','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','byteLength','dequeue','_errorEmitted','apply','text/plain','values','addEventListener','_bufferedAmount','https:','ISnapshotServerService','_injector','MASK\x20must\x20be\x20set','alloc','path','isBuffer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','writeUInt16BE','toString','next','call','_buffers','digest','_inflate','upgrade','registerHTTPInterceptor','_closeFrameSent','OPEN','invalid\x20UTF-8\x20sequence','objectMode','createDeflateRaw','socketPath','allocUnsafe','freeze','username','message','Invalid\x20Sec-WebSocket-Extensions\x20header','onerror','emitClose','Origin','open','client_max_window_bits','isValidUTF8','handleUpgrade','clientTracking','Blob','removeListener','species','_originalSecure','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_totalPayloadLength','serverMaxWindowBits','getData','kType','Unsupported\x20protocol\x20version:\x20','destroy','1902iaozED','haveLength','createError','_maxPayload','invalid\x20opcode\x200','WS_ERR_INVALID_CLOSE_CODE','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_server','The\x20\x22','_max_window_bits','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','permessage-deflate','concat','method','_maskBuffer','nextTick','emit','hash','error','WS_ERR_EXPECTED_MASK','registerDependencies','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','redirect','finished','MASK\x20must\x20be\x20clear','Unexpected\x20end\x20of\x20input','Connection:\x20Upgrade','DependentOn','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Maximum\x20redirects\x20exceeded','blob','isServer','destroyed','_writableState','pathname','_originalIpc','Inject','Module','protocolVersion','request','value','_deflate','isPaused','test','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','base64','abort','arraybuffer','server','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','clientMaxWindowBits','shift','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','options','onStarting','bufferedAmount','WS_NO_BUFFER_UTIL','noServer','HTTPService','parse','\x22\x20subprotocol\x20is\x20duplicated','buffers','Invalid\x20Upgrade\x20header','wsClientError','includes','update','createInflateRaw','\x22:\x20','concurrency','_compressed','createConnection','function','frame','createSocket','getPayloadLength64','kAborted','readOnly','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','location','map','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','then','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','\x0d\x0a\x0d\x0a','fin','construct','get','hostname','total-length','flush','Sec-WebSocket-Extensions:\x20','_redirects','WS_NO_UTF_8_VALIDATE','find','_doCreateSocket','binaryType','toDisposable','exports','defaultPort','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20character\x20at\x20index\x20','servername','WS_ERR_EXPECTED_FIN','dispatch','toLowerCase','_state','_threshold','518202gnnWQv','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_allowSynchronousEvents','pause','ping','__esModule','ISocketService','finishRequest','_removeListeners','isInteger','timeout','getPayloadLength16','headers','\x22\x20must\x20have\x20only\x20a\x20single\x20value','handshakeTimeout','_fragmented','CollaborationSocketService','747070eApgHC','handleEvent','Z_DEFAULT_WINDOWBITS','Invalid\x20value\x20for\x20parameter\x20\x22','unshift','onclose','size','_req','_compress','finish','listen','_loop','stream','reason','fragments','opcode','_closeMessage','object','_httpService','_receiver','COLLABORATION_CLIENT_NODE_CONFIG_KEY','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','push','catch','type','from','has','HTTP/1.1\x20101\x20Switching\x20Protocols','_extensions','Sec-WebSocket-Extensions','replace','kTarget','slice','_mask','prototype','statusCode','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','setNoDelay','removeAllListeners','getOwnPropertyDescriptor','consume','removeEventListener','jobs','indexOf','Invalid\x20URL:\x20','setHeader','Invalid\x20Sec-WebSocket-Protocol\x20header','WS_ERR_UNEXPECTED_RSV_1','send','_bufferedBytes','websocket','code','join','followRedirects','origin','getInfo','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','UniverCollaborationClientNodePlugin','url','socket','listenerCount','pow','Max\x20payload\x20size\x20exceeded','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','write','HTTP/1.1\x20','entries','client_no_context_takeover','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','wss:','target','1888NUNGrc','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','readUInt32BE','constructor','Unknown\x20parameter\x20\x22','conclude','DisposableCollection','normalizeParams','_options','compress','writeHead','reset','_destroy','params','server_no_context_takeover','readable','_opcode','_binaryType','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','enqueue','cookie','File','Sec-WebSocket-Origin','setConfig','13023RQcKAL','charCodeAt','readyState','skipUTF8Validation','13,\x208','432956qxWNNl','Invalid\x20Sec-WebSocket-Accept\x20header','authorization','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','add','679LnDPhR','_socket','_skipUTF8Validation','_protocol','shouldHandle','kRun','keys','listeners','_masked','899888TLgZya','pipe','handleProtocols','Plugin','protocol','decompress','address','port','sendFrame','unexpected-response','getBlobData','The\x20URL\x27s\x20pathname\x20is\x20empty','close','52058xseJNr','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','collaboration-client-node.config','create','length','WS_ERR_UNEXPECTED_RSV_2_3','_url','hasOwnProperty','toStringTag','delete','Basic\x20','sha1','perMessageDeflate','_sender','allowSynchronousEvents','_shouldEmitClose','ws:','kData','Disposable','verifyClient','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','mask','_errored','10xQsalm','WebSocket','CLOSING','backlog'];_0x2641=function(){return _0x4b77a0;};return _0x2641();}function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x36b326}=oe;function _0x53bc21(_0x10bd74){const _0x111895=_0x4893;_0x10bd74[_0x111895(0x1d8)]('close');}function _0x33f9b4(){const _0x4a74a7=_0x4893;!this[_0x4a74a7(0x1e8)]&&this[_0x4a74a7(0x1e9)][_0x4a74a7(0x1df)]&&this[_0x4a74a7(0x1c7)]();}function _0x26b9b9(_0x545809){const _0x2cec9f=_0x4893;this['removeListener'](_0x2cec9f(0x1da),_0x26b9b9),this[_0x2cec9f(0x1c7)](),this[_0x2cec9f(0xba)](_0x2cec9f(0x1da))===0x0&&this[_0x2cec9f(0x1d8)](_0x2cec9f(0x1da),_0x545809);}function _0x1e6f81(_0x1835f0,_0x2e784a){const _0x5ea52e=_0x4893;let _0x29c0ab=!0x0;const _0x5ae244=new _0x36b326({..._0x2e784a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1835f0['on']('message',function(_0xf59100,_0x28f9e){const _0xcd2bb3=_0x4893,_0x2358a6=!_0x28f9e&&_0x5ae244[_0xcd2bb3(0x16c)][_0xcd2bb3(0x1ad)]?_0xf59100[_0xcd2bb3(0x1a2)]():_0xf59100;_0x5ae244[_0xcd2bb3(0x25b)](_0x2358a6)||_0x1835f0[_0xcd2bb3(0x237)]();}),_0x1835f0[_0x5ea52e(0x15c)]('error',function(_0x3e8059){const _0x2276b9=_0x5ea52e;_0x5ae244['destroyed']||(_0x29c0ab=!0x1,_0x5ae244[_0x2276b9(0x1c7)](_0x3e8059));}),_0x1835f0[_0x5ea52e(0x15c)](_0x5ea52e(0xfc),function(){const _0x50d5e2=_0x5ea52e;_0x5ae244[_0x50d5e2(0x1e8)]||_0x5ae244[_0x50d5e2(0x25b)](null);}),_0x5ae244[_0x5ea52e(0xd1)]=function(_0x5c5a2b,_0x59f7d9){const _0x15dc16=_0x5ea52e;if(_0x1835f0[_0x15dc16(0xdf)]===_0x1835f0[_0x15dc16(0x18b)]){_0x59f7d9(_0x5c5a2b),process[_0x15dc16(0x1d7)](_0x53bc21,_0x5ae244);return;}let _0x46bf2c=!0x1;_0x1835f0[_0x15dc16(0x15c)](_0x15dc16(0x1da),function(_0x463208){_0x46bf2c=!0x0,_0x59f7d9(_0x463208);}),_0x1835f0[_0x15dc16(0x15c)](_0x15dc16(0xfc),function(){const _0x313811=_0x15dc16;_0x46bf2c||_0x59f7d9(_0x5c5a2b),process[_0x313811(0x1d7)](_0x53bc21,_0x5ae244);}),_0x29c0ab&&_0x1835f0['terminate']();},_0x5ae244['_final']=function(_0x371425){const _0x355521=_0x5ea52e;if(_0x1835f0[_0x355521(0xdf)]===_0x1835f0[_0x355521(0x152)]){_0x1835f0[_0x355521(0x15c)](_0x355521(0x1b8),function(){_0x5ae244['_final'](_0x371425);});return;}_0x1835f0[_0x355521(0xe8)]!==null&&(_0x1835f0[_0x355521(0xe8)][_0x355521(0x1e9)][_0x355521(0x1df)]?(_0x371425(),_0x5ae244[_0x355521(0x16c)]['endEmitted']&&_0x5ae244['destroy']()):(_0x1835f0[_0x355521(0xe8)][_0x355521(0x15c)](_0x355521(0x24e),function(){_0x371425();}),_0x1835f0[_0x355521(0xfc)]()));},_0x5ae244['_read']=function(){const _0x501928=_0x5ea52e;_0x1835f0[_0x501928(0x1f2)]&&_0x1835f0[_0x501928(0x12d)]();},_0x5ae244['_write']=function(_0x36d437,_0x3a1ac4,_0x496009){const _0x1a3d7e=_0x5ea52e;if(_0x1835f0[_0x1a3d7e(0xdf)]===_0x1835f0[_0x1a3d7e(0x152)]){_0x1835f0[_0x1a3d7e(0x15c)]('open',function(){const _0x1f482d=_0x1a3d7e;_0x5ae244[_0x1f482d(0x13b)](_0x36d437,_0x3a1ac4,_0x496009);});return;}_0x1835f0['send'](_0x36d437,_0x496009);},_0x5ae244['on']('end',_0x33f9b4),_0x5ae244['on'](_0x5ea52e(0x1da),_0x26b9b9),_0x5ae244;}return Oe=_0x1e6f81,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x199e65}=ae();function _0x1090a0(_0x2cbcd1){const _0x47504=_0x4893,_0x5f4584=new Set();let _0x566bef=-0x1,_0x20039c=-0x1,_0x132eaa=0x0;for(_0x132eaa;_0x132eaa<_0x2cbcd1[_0x47504(0x101)];_0x132eaa++){const _0xdaed08=_0x2cbcd1[_0x47504(0xde)](_0x132eaa);if(_0x20039c===-0x1&&_0x199e65[_0xdaed08]===0x1)_0x566bef===-0x1&&(_0x566bef=_0x132eaa);else{if(_0x132eaa!==0x0&&(_0xdaed08===0x20||_0xdaed08===0x9))_0x20039c===-0x1&&_0x566bef!==-0x1&&(_0x20039c=_0x132eaa);else{if(_0xdaed08===0x2c){if(_0x566bef===-0x1)throw new SyntaxError(_0x47504(0x22d)+_0x132eaa);_0x20039c===-0x1&&(_0x20039c=_0x132eaa);const _0x504460=_0x2cbcd1[_0x47504(0x265)](_0x566bef,_0x20039c);if(_0x5f4584[_0x47504(0x25f)](_0x504460))throw new SyntaxError(_0x47504(0x1d0)+_0x504460+'\x22\x20subprotocol\x20is\x20duplicated');_0x5f4584[_0x47504(0xe6)](_0x504460),_0x566bef=_0x20039c=-0x1;}else throw new SyntaxError(_0x47504(0x22d)+_0x132eaa);}}}if(_0x566bef===-0x1||_0x20039c!==-0x1)throw new SyntaxError(_0x47504(0x1e1));const _0x551314=_0x2cbcd1[_0x47504(0x265)](_0x566bef,_0x132eaa);if(_0x5f4584['has'](_0x551314))throw new SyntaxError(_0x47504(0x1d0)+_0x551314+_0x47504(0x204));return _0x5f4584[_0x47504(0xe6)](_0x551314),_0x5f4584;}return Ce={'parse':_0x1090a0},Ce;}var Te,rt;function Ft(){const _0x1971aa=_0x18b31b;if(rt)return Te;rt=0x1;const _0x56ef98=nt,_0x29bde7=ot,{Duplex:_0x2ddbf8}=oe,{createHash:_0x35f953}=Le,_0x5f08e9=ct(),_0xd2b552=he(),_0x370cce=At(),_0x35d6f7=Pe(),{GUID:_0x287ba1,kWebSocket:_0x352c37}=H(),_0x2881fc=/^[+/0-9A-Za-z]{22}==$/,_0x2437be=0x0,_0x45bcb2=0x1,_0x269a88=0x2;class _0x3bcdb3 extends _0x56ef98{constructor(_0x88d22c,_0x37a569){const _0x36d63b=_0x4893;if(super(),_0x88d22c={'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':_0x35d6f7,..._0x88d22c},_0x88d22c[_0x36d63b(0xf7)]==null&&!_0x88d22c[_0x36d63b(0x1f8)]&&!_0x88d22c[_0x36d63b(0x201)]||_0x88d22c[_0x36d63b(0xf7)]!=null&&(_0x88d22c['server']||_0x88d22c['noServer'])||_0x88d22c[_0x36d63b(0x1f8)]&&_0x88d22c[_0x36d63b(0x201)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x88d22c[_0x36d63b(0xf7)]!=null?(this[_0x36d63b(0x1cf)]=_0x29bde7['createServer']((_0x58fc63,_0x568eff)=>{const _0x194a49=_0x36d63b,_0x29d418=_0x29bde7['STATUS_CODES'][0x1aa];_0x568eff[_0x194a49(0xcf)](0x1aa,{'Content-Length':_0x29d418[_0x194a49(0x101)],'Content-Type':_0x194a49(0x195)}),_0x568eff[_0x194a49(0x142)](_0x29d418);}),this[_0x36d63b(0x1cf)][_0x36d63b(0x24f)](_0x88d22c['port'],_0x88d22c[_0x36d63b(0x187)],_0x88d22c[_0x36d63b(0x117)],_0x37a569)):_0x88d22c[_0x36d63b(0x1f8)]&&(this[_0x36d63b(0x1cf)]=_0x88d22c[_0x36d63b(0x1f8)]),this[_0x36d63b(0x1cf)]){const _0x1f654a=this[_0x36d63b(0x1d8)][_0x36d63b(0x173)](this,'connection');this[_0x36d63b(0x23c)]=_0x36d64c(this['_server'],{'listening':this[_0x36d63b(0x1d8)][_0x36d63b(0x173)](this,_0x36d63b(0x17c)),'error':this[_0x36d63b(0x1d8)]['bind'](this,_0x36d63b(0x1da)),'upgrade':(_0x23d7bf,_0x5a73b0,_0x5196a5)=>{this['handleUpgrade'](_0x23d7bf,_0x5a73b0,_0x5196a5,_0x1f654a);}});}_0x88d22c['perMessageDeflate']===!0x0&&(_0x88d22c['perMessageDeflate']={}),_0x88d22c[_0x36d63b(0x1bc)]&&(this[_0x36d63b(0x178)]=new Set(),this[_0x36d63b(0x10c)]=!0x1),this[_0x36d63b(0x1fd)]=_0x88d22c,this[_0x36d63b(0x232)]=_0x2437be;}['address'](){const _0x411832=_0x4893;if(this[_0x411832(0x1fd)]['noServer'])throw new Error(_0x411832(0xd7));return this['_server']?this['_server'][_0x411832(0xf6)]():null;}['close'](_0x4f7a94){const _0x142264=_0x4893;if(this[_0x142264(0x232)]===_0x269a88){_0x4f7a94&&this['once'](_0x142264(0xfc),()=>{_0x4f7a94(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x142264(0x1d7)](_0x4d4104,this);return;}if(_0x4f7a94&&this[_0x142264(0x15c)](_0x142264(0xfc),_0x4f7a94),this[_0x142264(0x232)]!==_0x45bcb2){if(this[_0x142264(0x232)]=_0x45bcb2,this[_0x142264(0x1fd)][_0x142264(0x201)]||this[_0x142264(0x1fd)]['server'])this[_0x142264(0x1cf)]&&(this[_0x142264(0x23c)](),this['_removeListeners']=this[_0x142264(0x1cf)]=null),this[_0x142264(0x178)]?this[_0x142264(0x178)][_0x142264(0x24b)]?this['_shouldEmitClose']=!0x0:process[_0x142264(0x1d7)](_0x4d4104,this):process[_0x142264(0x1d7)](_0x4d4104,this);else{const _0x24c56c=this[_0x142264(0x1cf)];this[_0x142264(0x23c)](),this['_removeListeners']=this[_0x142264(0x1cf)]=null,_0x24c56c[_0x142264(0xfc)](()=>{_0x4d4104(this);});}}}['shouldHandle'](_0x538a91){const _0x3106b1=_0x4893;if(this[_0x3106b1(0x1fd)][_0x3106b1(0x19e)]){const _0x5a1aa9=_0x538a91[_0x3106b1(0xb8)][_0x3106b1(0xa9)]('?');if((_0x5a1aa9!==-0x1?_0x538a91['url'][_0x3106b1(0x265)](0x0,_0x5a1aa9):_0x538a91[_0x3106b1(0xb8)])!==this['options'][_0x3106b1(0x19e)])return!0x1;}return!0x0;}[_0x1971aa(0x1bb)](_0x40a9ab,_0x1232c3,_0x5b6cb6,_0x1b8f79){const _0x4ffee6=_0x1971aa;_0x1232c3['on'](_0x4ffee6(0x1da),_0x2cd72f);const _0x4e589c=_0x40a9ab[_0x4ffee6(0x240)]['sec-websocket-key'],_0x4b5df0=_0x40a9ab['headers']['upgrade'],_0x60886f=+_0x40a9ab[_0x4ffee6(0x240)]['sec-websocket-version'];if(_0x40a9ab[_0x4ffee6(0x1d5)]!==_0x4ffee6(0x15e)){_0xf2b868(this,_0x40a9ab,_0x1232c3,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4b5df0===void 0x0||_0x4b5df0[_0x4ffee6(0x231)]()!==_0x4ffee6(0xb0)){_0xf2b868(this,_0x40a9ab,_0x1232c3,0x190,_0x4ffee6(0x206));return;}if(_0x4e589c===void 0x0||!_0x2881fc[_0x4ffee6(0x1f3)](_0x4e589c)){_0xf2b868(this,_0x40a9ab,_0x1232c3,0x190,_0x4ffee6(0x269));return;}if(_0x60886f!==0xd&&_0x60886f!==0x8){_0xf2b868(this,_0x40a9ab,_0x1232c3,0x190,_0x4ffee6(0x218),{'Sec-WebSocket-Version':_0x4ffee6(0xe1)});return;}if(!this[_0x4ffee6(0xeb)](_0x40a9ab)){_0x1e30e5(_0x1232c3,0x190);return;}const _0x417659=_0x40a9ab[_0x4ffee6(0x240)]['sec-websocket-protocol'];let _0x592518=new Set();if(_0x417659!==void 0x0)try{_0x592518=_0x370cce['parse'](_0x417659);}catch{_0xf2b868(this,_0x40a9ab,_0x1232c3,0x190,_0x4ffee6(0xac));return;}const _0x4d8d4a=_0x40a9ab['headers'][_0x4ffee6(0x161)],_0x640ff2={};if(this[_0x4ffee6(0x1fd)][_0x4ffee6(0x109)]&&_0x4d8d4a!==void 0x0){const _0x20974e=new _0xd2b552(this['options'][_0x4ffee6(0x109)],!0x0,this['options'][_0x4ffee6(0x11f)]);try{const _0x15d3f6=_0x5f08e9[_0x4ffee6(0x203)](_0x4d8d4a);_0x15d3f6[_0xd2b552[_0x4ffee6(0x154)]]&&(_0x20974e[_0x4ffee6(0x162)](_0x15d3f6[_0xd2b552['extensionName']]),_0x640ff2[_0xd2b552['extensionName']]=_0x20974e);}catch{_0xf2b868(this,_0x40a9ab,_0x1232c3,0x190,_0x4ffee6(0x111));return;}}if(this[_0x4ffee6(0x1fd)][_0x4ffee6(0x110)]){const _0x19d2f0={'origin':_0x40a9ab['headers'][''+(_0x60886f===0x8?'sec-websocket-origin':_0x4ffee6(0xb4))],'secure':!!(_0x40a9ab[_0x4ffee6(0xb9)][_0x4ffee6(0x135)]||_0x40a9ab[_0x4ffee6(0xb9)]['encrypted']),'req':_0x40a9ab};if(this['options'][_0x4ffee6(0x110)][_0x4ffee6(0x101)]===0x2){this[_0x4ffee6(0x1fd)]['verifyClient'](_0x19d2f0,(_0x163566,_0x20ba62,_0x42c4ab,_0x1f3ad7)=>{if(!_0x163566)return _0x1e30e5(_0x1232c3,_0x20ba62||0x191,_0x42c4ab,_0x1f3ad7);this['completeUpgrade'](_0x640ff2,_0x4e589c,_0x592518,_0x40a9ab,_0x1232c3,_0x5b6cb6,_0x1b8f79);});return;}if(!this[_0x4ffee6(0x1fd)][_0x4ffee6(0x110)](_0x19d2f0))return _0x1e30e5(_0x1232c3,0x191);}this[_0x4ffee6(0x11c)](_0x640ff2,_0x4e589c,_0x592518,_0x40a9ab,_0x1232c3,_0x5b6cb6,_0x1b8f79);}['completeUpgrade'](_0x5e2822,_0x2f229d,_0x2ef879,_0x52d3c5,_0x8f1930,_0x13f45c,_0x198e78){const _0x52ce5a=_0x1971aa;if(!_0x8f1930[_0x52ce5a(0xd4)]||!_0x8f1930[_0x52ce5a(0x174)])return _0x8f1930['destroy']();if(_0x8f1930[_0x352c37])throw new Error(_0x52ce5a(0xe5));if(this['_state']>_0x2437be)return _0x1e30e5(_0x8f1930,0x1f7);const _0x419e5a=[_0x52ce5a(0x260),_0x52ce5a(0x143),_0x52ce5a(0x1e2),_0x52ce5a(0x17b)+_0x35f953(_0x52ce5a(0x108))[_0x52ce5a(0x209)](_0x2f229d+_0x287ba1)[_0x52ce5a(0x1a6)](_0x52ce5a(0x1f5))],_0x20879a=new this[(_0x52ce5a(0x1fd))][(_0x52ce5a(0x115))](null,void 0x0,this[_0x52ce5a(0x1fd)]);if(_0x2ef879[_0x52ce5a(0x24b)]){const _0x5d946f=this[_0x52ce5a(0x1fd)][_0x52ce5a(0xf2)]?this[_0x52ce5a(0x1fd)][_0x52ce5a(0xf2)](_0x2ef879,_0x52d3c5):_0x2ef879[_0x52ce5a(0x196)]()[_0x52ce5a(0x1a3)]()[_0x52ce5a(0x1f0)];_0x5d946f&&(_0x419e5a[_0x52ce5a(0x25b)]('Sec-WebSocket-Protocol:\x20'+_0x5d946f),_0x20879a[_0x52ce5a(0xea)]=_0x5d946f);}if(_0x5e2822[_0xd2b552[_0x52ce5a(0x154)]]){const _0x23cb11=_0x5e2822[_0xd2b552[_0x52ce5a(0x154)]]['params'],_0x538504=_0x5f08e9[_0x52ce5a(0x167)]({[_0xd2b552[_0x52ce5a(0x154)]]:[_0x23cb11]});_0x419e5a[_0x52ce5a(0x25b)](_0x52ce5a(0x223)+_0x538504),_0x20879a['_extensions']=_0x5e2822;}this[_0x52ce5a(0x1d8)](_0x52ce5a(0x240),_0x419e5a,_0x52d3c5),_0x8f1930['write'](_0x419e5a['concat']('\x0d\x0a')[_0x52ce5a(0xb2)]('\x0d\x0a')),_0x8f1930[_0x52ce5a(0x1be)](_0x52ce5a(0x1da),_0x2cd72f),_0x20879a[_0x52ce5a(0x18d)](_0x8f1930,_0x13f45c,{'allowSynchronousEvents':this[_0x52ce5a(0x1fd)][_0x52ce5a(0x10b)],'maxPayload':this[_0x52ce5a(0x1fd)]['maxPayload'],'skipUTF8Validation':this[_0x52ce5a(0x1fd)]['skipUTF8Validation']}),this[_0x52ce5a(0x178)]&&(this[_0x52ce5a(0x178)][_0x52ce5a(0xe6)](_0x20879a),_0x20879a['on'](_0x52ce5a(0xfc),()=>{const _0x57f422=_0x52ce5a;this['clients'][_0x57f422(0x106)](_0x20879a),this[_0x57f422(0x10c)]&&!this[_0x57f422(0x178)][_0x57f422(0x24b)]&&process[_0x57f422(0x1d7)](_0x4d4104,this);})),_0x198e78(_0x20879a,_0x52d3c5);}}Te=_0x3bcdb3;function _0x36d64c(_0x1f6e93,_0x459a4d){const _0x2b5878=_0x1971aa;for(const _0xf81ce1 of Object[_0x2b5878(0xed)](_0x459a4d))_0x1f6e93['on'](_0xf81ce1,_0x459a4d[_0xf81ce1]);return function(){const _0x58f1c3=_0x2b5878;for(const _0x362437 of Object[_0x58f1c3(0xed)](_0x459a4d))_0x1f6e93[_0x58f1c3(0x1be)](_0x362437,_0x459a4d[_0x362437]);};}function _0x4d4104(_0x449832){const _0x599c2a=_0x1971aa;_0x449832['_state']=_0x269a88,_0x449832[_0x599c2a(0x1d8)](_0x599c2a(0xfc));}function _0x2cd72f(){this['destroy']();}function _0x1e30e5(_0x34d655,_0x4c7911,_0x45d51b,_0x23f53d){const _0x4fe908=_0x1971aa;_0x45d51b=_0x45d51b||_0x29bde7[_0x4fe908(0x126)][_0x4c7911],_0x23f53d={'Connection':_0x4fe908(0xfc),'Content-Type':_0x4fe908(0x13e),'Content-Length':Buffer[_0x4fe908(0x191)](_0x45d51b),..._0x23f53d},_0x34d655[_0x4fe908(0x15c)](_0x4fe908(0x24e),_0x34d655[_0x4fe908(0x1c7)]),_0x34d655['end'](_0x4fe908(0xbf)+_0x4c7911+'\x20'+_0x29bde7[_0x4fe908(0x126)][_0x4c7911]+'\x0d\x0a'+Object[_0x4fe908(0xed)](_0x23f53d)[_0x4fe908(0x217)](_0x1a2299=>_0x1a2299+':\x20'+_0x23f53d[_0x1a2299])['join']('\x0d\x0a')+_0x4fe908(0x21c)+_0x45d51b);}function _0xf2b868(_0x2d1a59,_0x290cf4,_0x54932e,_0x440cfc,_0x5afa5d,_0x3d9f5d){const _0x37fcc0=_0x1971aa;if(_0x2d1a59[_0x37fcc0(0xba)](_0x37fcc0(0x207))){const _0x1dc1f3=new Error(_0x5afa5d);Error[_0x37fcc0(0x150)](_0x1dc1f3,_0xf2b868),_0x2d1a59[_0x37fcc0(0x1d8)](_0x37fcc0(0x207),_0x1dc1f3,_0x54932e,_0x290cf4);}else _0x1e30e5(_0x54932e,_0x440cfc,_0x5afa5d,_0x3d9f5d);}return Te;}Ft();var jt=Object[_0x18b31b(0xa5)],Wt=(_0x4e4758,_0x2a9919,_0x130105,_0x4bdce7)=>{const _0x28fb1e=_0x18b31b;for(var _0x43d5c2=_0x4bdce7>0x1?void 0x0:_0x4bdce7?jt(_0x2a9919,_0x130105):_0x2a9919,_0x53831d=_0x4e4758[_0x28fb1e(0x101)]-0x1,_0x42e8e6;_0x53831d>=0x0;_0x53831d--)(_0x42e8e6=_0x4e4758[_0x53831d])&&(_0x43d5c2=_0x42e8e6(_0x43d5c2)||_0x43d5c2);return _0x43d5c2;},qt=(_0x27a515,_0x5b7370)=>(_0x45c7e2,_0x1bcfb4)=>_0x5b7370(_0x45c7e2,_0x1bcfb4,_0x27a515);let ke=class extends A[_0x18b31b(0x10f)]{constructor(_0x1c99f0){const _0x238c07=_0x18b31b;super(),this[_0x238c07(0x13f)]=_0x1c99f0;}[_0x18b31b(0x211)](_0xfd806b){const _0x5c3416=_0x18b31b;var _0x45f04b;const _0x44bced=(_0x45f04b=this[_0x5c3416(0x13f)]['getConfig'](fe))==null?void 0x0:_0x45f04b['customHeaders'];try{const _0x1a55b3=new $t(_0xfd806b,{'headers':{..._0x44bced}}),_0x4d4327=new A[(_0x5c3416(0xcb))]();return{'URL':_0xfd806b,'close':(_0x1b52c1,_0x1eb80c)=>{const _0x440006=_0x5c3416;_0x1a55b3[_0x440006(0xfc)](_0x1b52c1,_0x1eb80c),_0x4d4327[_0x440006(0x16a)]();},'send':_0x19687c=>{const _0xceee46=_0x5c3416;_0x1a55b3[_0xceee46(0xae)](_0x19687c);},'open$':new V[(_0x5c3416(0x163))](_0x53414b=>{const _0x15417a=_0x5c3416,_0x2127d0=_0x3a9bc4=>_0x53414b[_0x15417a(0x1a3)](_0x3a9bc4);_0x1a55b3[_0x15417a(0x197)]('open',_0x2127d0),_0x4d4327[_0x15417a(0xe6)](A[_0x15417a(0x229)](()=>_0x1a55b3[_0x15417a(0xa7)]('open',_0x2127d0)));})[_0x5c3416(0xf1)](V[_0x5c3416(0x149)]()),'close$':new V[(_0x5c3416(0x163))](_0x36f6e8=>{const _0x150299=_0x5c3416,_0x1b17be=_0x398417=>_0x36f6e8[_0x150299(0x1a3)](_0x398417);_0x1a55b3['addEventListener'](_0x150299(0xfc),_0x1b17be),_0x4d4327[_0x150299(0xe6)](A['toDisposable'](()=>_0x1a55b3[_0x150299(0xa7)](_0x150299(0xfc),_0x1b17be)));})[_0x5c3416(0xf1)](V[_0x5c3416(0x149)]()),'error$':new V[(_0x5c3416(0x163))](_0x5adad3=>{const _0x22e5b9=_0x5c3416,_0x377878=_0x4c24c0=>_0x5adad3[_0x22e5b9(0x1a3)](_0x4c24c0);_0x1a55b3[_0x22e5b9(0x197)]('error',_0x377878),_0x4d4327[_0x22e5b9(0xe6)](A[_0x22e5b9(0x229)](()=>_0x1a55b3['removeEventListener'](_0x22e5b9(0x1da),_0x377878)));})[_0x5c3416(0xf1)](V['share']()),'message$':new V[(_0x5c3416(0x163))](_0x2ea565=>{const _0x19e8f5=_0x5c3416,_0x143c5b=_0xded460=>_0x2ea565[_0x19e8f5(0x1a3)](_0xded460);_0x1a55b3['addEventListener'](_0x19e8f5(0x1b3),_0x143c5b),_0x4d4327[_0x19e8f5(0xe6)](A[_0x19e8f5(0x229)](()=>_0x1a55b3[_0x19e8f5(0xa7)](_0x19e8f5(0x1b3),_0x143c5b)));})[_0x5c3416(0xf1)](V[_0x5c3416(0x149)]())};}catch(_0x25adb9){return console[_0x5c3416(0x1da)](_0x25adb9),null;}}};ke=Wt([qt(0x0,A[_0x18b31b(0x17e)])],ke);var Gt=Object[_0x18b31b(0x18e)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x441f08,_0x55c3e9,_0x2b0c1f)=>_0x55c3e9 in _0x441f08?Gt(_0x441f08,_0x55c3e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b0c1f}):_0x441f08[_0x55c3e9]=_0x2b0c1f,zt=(_0x9aa63a,_0x31cb74,_0x4989fa,_0x5d738c)=>{const _0xbecab4=_0x18b31b;for(var _0x2ae527=_0x5d738c>0x1?void 0x0:_0x5d738c?Vt(_0x31cb74,_0x4989fa):_0x31cb74,_0x4866bd=_0x9aa63a[_0xbecab4(0x101)]-0x1,_0x469711;_0x4866bd>=0x0;_0x4866bd--)(_0x469711=_0x9aa63a[_0x4866bd])&&(_0x2ae527=_0x469711(_0x2ae527)||_0x2ae527);return _0x2ae527;},Ne=(_0x2f04fb,_0x3c025b)=>(_0xe002c8,_0x470a55)=>_0x3c025b(_0xe002c8,_0x470a55,_0x2f04fb),Yt=(_0x4b0242,_0x1bbed6,_0x1e4e0b)=>Ht(_0x4b0242,_0x1bbed6+'',_0x1e4e0b);exports[_0x18b31b(0xb7)]=class extends A[_0x18b31b(0xf3)]{constructor(_0x12d37a=Ct,_0x3f8cd2,_0x106133,_0xec88bc){const _0x3a94f7=_0x18b31b;_0x12d37a['customHeaders']||_0x3f8cd2['warn'](_0x3a94f7(0x21b)),super(),this['_configService']=_0x106133,this[_0x3a94f7(0x19b)]=_0xec88bc,this[_0x3a94f7(0x13f)][_0x3a94f7(0xdc)](fe,_0x12d37a);}[_0x18b31b(0x1fe)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x4af9ae=_0x18b31b;A[_0x4af9ae(0x1dc)](this['_injector'],[[it[_0x4af9ae(0x23a)],{'useClass':ke}]]);}},Yt(exports[_0x18b31b(0xb7)],_0x18b31b(0x17f),_0x18b31b(0xc2)),exports[_0x18b31b(0xb7)]=zt([A[_0x18b31b(0x1e3)](st[_0x18b31b(0x165)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x18b31b(0x17e)]),Ne(0x3,A[_0x18b31b(0x1ec)](A['Injector']))],exports[_0x18b31b(0xb7)]);var Kt=Object[_0x18b31b(0xa5)],Xt=(_0x39ae15,_0x216578,_0x5f0f2d,_0x22aec3)=>{for(var _0x4ecaed=_0x22aec3>0x1?void 0x0:_0x22aec3?Kt(_0x216578,_0x5f0f2d):_0x216578,_0x33a63c=_0x39ae15['length']-0x1,_0x17e679;_0x33a63c>=0x0;_0x33a63c--)(_0x17e679=_0x39ae15[_0x33a63c])&&(_0x4ecaed=_0x17e679(_0x4ecaed)||_0x4ecaed);return _0x4ecaed;},ne=(_0x11ae35,_0x4bd26d)=>(_0x24814d,_0x54df1e)=>_0x4bd26d(_0x24814d,_0x54df1e,_0x11ae35);exports[_0x18b31b(0x120)]=class extends st[_0x18b31b(0x244)]{constructor(_0x408762,_0x208b1a,_0x485dbc,_0x524f53,_0x3f43e1){const _0x4fc579=_0x18b31b;super(_0x408762,_0x208b1a,_0x485dbc,_0x524f53,_0x3f43e1);const _0x22f497=this[_0x4fc579(0x13f)]['getConfig'](fe);this[_0x4fc579(0x257)][_0x4fc579(0x1a9)]({'interceptor':(_0x41cbea,_0x57fa15)=>{const _0x3e629d=_0x4fc579;var _0x89f996;const _0x33dbae=_0x41cbea[_0x3e629d(0x240)];return(_0x89f996=_0x22f497==null?void 0x0:_0x22f497[_0x3e629d(0x12a)])!=null&&_0x89f996['cookie']&&_0x33dbae[_0x3e629d(0x13c)]('Cookie',_0x22f497[_0x3e629d(0x12a)][_0x3e629d(0xd9)]),_0x57fa15(_0x41cbea);}});}async['createSocket'](_0x38a314){const _0x1b4e5=_0x18b31b;return this[_0x1b4e5(0x227)](_0x38a314);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A[_0x18b31b(0x1ec)](it[_0x18b31b(0x202)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x18b31b(0x133)]),ne(0x4,Ot[_0x18b31b(0x19a)])],exports[_0x18b31b(0x120)]),exports[_0x18b31b(0x259)]=fe;
|
|
1
|
+
'use strict';const _0x41e9f5=_0x4406;(function(_0x3f4a9f,_0x1258a9){const _0x31027c=_0x4406,_0xc3ed3a=_0x3f4a9f();while(!![]){try{const _0x221cdb=-parseInt(_0x31027c(0x193))/0x1+parseInt(_0x31027c(0x2fe))/0x2*(parseInt(_0x31027c(0x1e7))/0x3)+parseInt(_0x31027c(0x19f))/0x4+parseInt(_0x31027c(0x2aa))/0x5*(parseInt(_0x31027c(0x23d))/0x6)+parseInt(_0x31027c(0x2cb))/0x7+parseInt(_0x31027c(0x17d))/0x8*(-parseInt(_0x31027c(0x216))/0x9)+parseInt(_0x31027c(0x1d4))/0xa;if(_0x221cdb===_0x1258a9)break;else _0xc3ed3a['push'](_0xc3ed3a['shift']());}catch(_0xcc8871){_0xc3ed3a['push'](_0xc3ed3a['shift']());}}}(_0x2a28,0xddb27));Object['defineProperty'](exports,Symbol[_0x41e9f5(0x2eb)],{'value':_0x41e9f5(0x1c9)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x41e9f5(0x16b),Ct={'customHeaders':{}};function Tt(_0xf4658e){const _0x4fe464=_0x41e9f5;return _0xf4658e&&_0xf4658e['__esModule']&&Object[_0x4fe464(0x179)][_0x4fe464(0x2d6)][_0x4fe464(0x1a0)](_0xf4658e,_0x4fe464(0x25b))?_0xf4658e[_0x4fe464(0x25b)]:_0xf4658e;}function at(_0x473a4d){const _0x2f48ee=_0x41e9f5;if(Object[_0x2f48ee(0x179)][_0x2f48ee(0x2d6)][_0x2f48ee(0x1a0)](_0x473a4d,'__esModule'))return _0x473a4d;var _0x3b1776=_0x473a4d[_0x2f48ee(0x25b)];if(typeof _0x3b1776==_0x2f48ee(0x291)){var _0x16ce78=function _0x55c3f(){const _0x1c614a=_0x2f48ee;var _0x1c0468=!0x1;try{_0x1c0468=this instanceof _0x55c3f;}catch{}return _0x1c0468?Reflect[_0x1c614a(0x295)](_0x3b1776,arguments,this['constructor']):_0x3b1776[_0x1c614a(0x1e6)](this,arguments);};_0x16ce78[_0x2f48ee(0x179)]=_0x3b1776[_0x2f48ee(0x179)];}else _0x16ce78={};return Object[_0x2f48ee(0x217)](_0x16ce78,_0x2f48ee(0x28f),{'value':!0x0}),Object['keys'](_0x473a4d)[_0x2f48ee(0x202)](function(_0x121749){const _0x18d796=_0x2f48ee;var _0x4e84fa=Object[_0x18d796(0x308)](_0x473a4d,_0x121749);Object['defineProperty'](_0x16ce78,_0x121749,_0x4e84fa[_0x18d796(0x237)]?_0x4e84fa:{'enumerable':!0x0,'get':function(){return _0x473a4d[_0x121749];}});}),_0x16ce78;}var se={'exports':{}},ge,Ge;function H(){const _0x105ffc=_0x41e9f5;if(Ge)return ge;Ge=0x1;const _0x350d31=['nodebuffer',_0x105ffc(0x16c),_0x105ffc(0x298)],_0x218d33=typeof Blob<'u';return _0x218d33&&_0x350d31[_0x105ffc(0x18a)](_0x105ffc(0x226)),ge={'BINARY_TYPES':_0x350d31,'EMPTY_BUFFER':Buffer[_0x105ffc(0x1e0)](0x0),'GUID':_0x105ffc(0x1a5),'hasBlob':_0x218d33,'kForOnEventAttribute':Symbol(_0x105ffc(0x289)),'kListener':Symbol(_0x105ffc(0x2f8)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x105ffc(0x285)),'NOOP':()=>{}},ge;}function _0x4406(_0x1dfb06,_0x164a29){const _0x2a2854=_0x2a28();return _0x4406=function(_0x440664,_0x2cb4a0){_0x440664=_0x440664-0x145;let _0xe716fc=_0x2a2854[_0x440664];return _0xe716fc;},_0x4406(_0x1dfb06,_0x164a29);}const Nt={},kt=Object[_0x41e9f5(0x149)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x41e9f5(0x1c9)})),Lt=at(kt);var Ve;function ce(){const _0x25ef9c=_0x41e9f5;if(Ve)return se[_0x25ef9c(0x2b4)];Ve=0x1;const {EMPTY_BUFFER:_0x6fa3dd}=H(),_0x401cae=Buffer[Symbol['species']];function _0x3a5259(_0x18b3d6,_0x3e1133){const _0x237769=_0x25ef9c;if(_0x18b3d6[_0x237769(0x28a)]===0x0)return _0x6fa3dd;if(_0x18b3d6[_0x237769(0x28a)]===0x1)return _0x18b3d6[0x0];const _0x12697f=Buffer[_0x237769(0x1d1)](_0x3e1133);let _0x378d2b=0x0;for(let _0x4ea2c9=0x0;_0x4ea2c9<_0x18b3d6[_0x237769(0x28a)];_0x4ea2c9++){const _0x2501e1=_0x18b3d6[_0x4ea2c9];_0x12697f['set'](_0x2501e1,_0x378d2b),_0x378d2b+=_0x2501e1[_0x237769(0x28a)];}return _0x378d2b<_0x3e1133?new _0x401cae(_0x12697f[_0x237769(0x16d)],_0x12697f[_0x237769(0x157)],_0x378d2b):_0x12697f;}function _0x41584e(_0x5828cd,_0x5a5483,_0x9bc310,_0x26fdb6,_0x1ffeb5){for(let _0x2f656c=0x0;_0x2f656c<_0x1ffeb5;_0x2f656c++)_0x9bc310[_0x26fdb6+_0x2f656c]=_0x5828cd[_0x2f656c]^_0x5a5483[_0x2f656c&0x3];}function _0x179bc6(_0x324bd3,_0x16a37b){const _0x5d9703=_0x25ef9c;for(let _0x14db89=0x0;_0x14db89<_0x324bd3[_0x5d9703(0x28a)];_0x14db89++)_0x324bd3[_0x14db89]^=_0x16a37b[_0x14db89&0x3];}function _0x17fdb1(_0x37745b){const _0x4072ba=_0x25ef9c;return _0x37745b[_0x4072ba(0x28a)]===_0x37745b[_0x4072ba(0x16d)][_0x4072ba(0x2a4)]?_0x37745b[_0x4072ba(0x16d)]:_0x37745b[_0x4072ba(0x16d)]['slice'](_0x37745b['byteOffset'],_0x37745b[_0x4072ba(0x157)]+_0x37745b[_0x4072ba(0x28a)]);}function _0x50cda9(_0x2f8e5c){const _0x1ee0f0=_0x25ef9c;if(_0x50cda9[_0x1ee0f0(0x1cf)]=!0x0,Buffer['isBuffer'](_0x2f8e5c))return _0x2f8e5c;let _0x503f63;return _0x2f8e5c instanceof ArrayBuffer?_0x503f63=new _0x401cae(_0x2f8e5c):ArrayBuffer[_0x1ee0f0(0x2bf)](_0x2f8e5c)?_0x503f63=new _0x401cae(_0x2f8e5c[_0x1ee0f0(0x16d)],_0x2f8e5c['byteOffset'],_0x2f8e5c[_0x1ee0f0(0x2a4)]):(_0x503f63=Buffer[_0x1ee0f0(0x171)](_0x2f8e5c),_0x50cda9['readOnly']=!0x1),_0x503f63;}if(se[_0x25ef9c(0x2b4)]={'concat':_0x3a5259,'mask':_0x41584e,'toArrayBuffer':_0x17fdb1,'toBuffer':_0x50cda9,'unmask':_0x179bc6},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x1ab1d1=Lt;se['exports'][_0x25ef9c(0x207)]=function(_0x328fba,_0x233041,_0x3baf82,_0x4416ee,_0x1ac889){const _0x4a97fc=_0x25ef9c;_0x1ac889<0x30?_0x41584e(_0x328fba,_0x233041,_0x3baf82,_0x4416ee,_0x1ac889):_0x1ab1d1[_0x4a97fc(0x207)](_0x328fba,_0x233041,_0x3baf82,_0x4416ee,_0x1ac889);},se[_0x25ef9c(0x2b4)][_0x25ef9c(0x288)]=function(_0x5a8af4,_0x1c736d){const _0x36cdd3=_0x25ef9c;_0x5a8af4[_0x36cdd3(0x28a)]<0x20?_0x179bc6(_0x5a8af4,_0x1c736d):_0x1ab1d1[_0x36cdd3(0x288)](_0x5a8af4,_0x1c736d);};}catch{}return se[_0x25ef9c(0x2b4)];}var ye,He;function Pt(){const _0xae32f5=_0x41e9f5;if(He)return ye;He=0x1;const _0x297ce1=Symbol(_0xae32f5(0x175)),_0x517be4=Symbol(_0xae32f5(0x1af));class _0xb1c4c4{constructor(_0x2c29f0){const _0x85e563=_0xae32f5;this[_0x297ce1]=()=>{this['pending']--,this[_0x517be4]();},this[_0x85e563(0x1f7)]=_0x2c29f0||0x1/0x0,this[_0x85e563(0x259)]=[],this[_0x85e563(0x22d)]=0x0;}[_0xae32f5(0x2bb)](_0x44a830){const _0x584ddb=_0xae32f5;this[_0x584ddb(0x259)][_0x584ddb(0x18a)](_0x44a830),this[_0x517be4]();}[_0x517be4](){const _0x172404=_0xae32f5;if(this[_0x172404(0x22d)]!==this[_0x172404(0x1f7)]&&this[_0x172404(0x259)][_0x172404(0x28a)]){const _0x2dcc61=this['jobs'][_0x172404(0x23c)]();this['pending']++,_0x2dcc61(this[_0x297ce1]);}}}return ye=_0xb1c4c4,ye;}var ve,ze;function _0x2a28(){const _0x2aca6a=['unshift','_buffers','_max_window_bits','frame','Unexpected\x20end\x20of\x20input','end','_socket','jobs','consume','default','\x20(supported\x20versions:\x20','socketPath','_maxPayload','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','search','clientNoContextTakeover','RSV1\x20must\x20be\x20clear','client','parse','params','Cookie','_loop','_compress','invalid\x20payload\x20length\x20','13,\x208','_closeCode','compress','indexOf','generateMask','_firstFragment','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','redirect','kCode','Z_DEFAULT_WINDOWBITS','getPayloadLength16','removeListener','CLOSING','connect','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','ILogService','Server\x20sent\x20no\x20subprotocol','_originalSecure','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','onStarting','writeUIntBE','Parameter\x20\x22','_sender','reset','maxPayload','websocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Sec-WebSocket-Extensions:\x20','unmask','kIsForOnEventAttribute','length','_autoPong','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','createConnection','target','__esModule','kByteLength','function','setSocket','The\x20URL\x27s\x20pathname\x20is\x20empty','Sec-WebSocket-Protocol','construct','has','entries','fragments','getBlobData','_options','data','message','kTarget','Unknown\x20parameter\x20\x22','upgrade','Server\x20sent\x20an\x20invalid\x20subprotocol','ISocketService','pong','kWasClean','byteLength','encrypted','maxRedirects','CollaborationSocketService','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','Observable','5EFjvYZ','_messageLength','createSocket','options','once','Disposable','location','createDeflateRaw','haveLength','_receiver','exports','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Protocol:\x20','_decompress','response','_server','invalid\x20UTF-8\x20sequence','add','_inflate','connection','Plugin','isView','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_req','total-length','buffers','Unexpected\x20character\x20at\x20index\x20','WS_ERR_INVALID_OPCODE','_skipUTF8Validation','auth','_originalHostOrSocketPath','client_no_context_takeover','type','6693953GcyEVb','clients','server_no_context_takeover','href','extensionName','emit','charCodeAt','finish','bind','_mask','_errored','hasOwnProperty','writable','_threshold','setNoDelay','keys','_no_context_takeover','maskBuffer','handshakeTimeout','The\x20\x22','invalid\x20opcode\x200','fin','FIN\x20must\x20be\x20set','next','pow','_bufferedAmount','getData','handleProtocols','_originalIpc','string','handleEvent','close','toStringTag','url','wss:','_closeFrameSent','isInteger','resume','binaryType','DependentOn','_isServer','setHeader','writeHead','pause','number','kListener','write','_protocol','sec-websocket-extensions','WebSocket','sec-websocket-origin','6Ycnswt','Invalid\x20Upgrade\x20header','path','join','Invalid\x20value\x20for\x20parameter\x20\x22','replace','dispatch','_queue','sha1','Unsupported\x20protocol\x20version:\x20','getOwnPropertyDescriptor','_readableState','includes','read','timeout','Invalid\x20Sec-WebSocket-Accept\x20header','freeze','server','socket','_payloadLength','NodeCollaborationSocketService','acceptAsClient','digest','skipUTF8Validation','Max\x20payload\x20size\x20exceeded','ws:','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','onerror','serverMaxWindowBits','hash','byteOffset','writeUInt16BE','statusCode','protocol','text/plain','slice','_destroy','accept','_extensions','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','extensions','ping','sec-websocket-accept','concat','readable','offer','CONNECTING','_registerDependencies','WS_ERR_EXPECTED_FIN','CLOSED','collaboration-client-node.config','arraybuffer','buffer','noServer','Unexpected\x20server\x20response:\x20','_closeTimer','from','GET','ISnapshotServerService','Invalid\x20URL:\x20','kDone','dequeue','kError','normalizeParams','prototype','COLLABORATION_CLIENT_NODE_CONFIG_KEY','clientTracking','reason','2072YSiDWK','Invalid\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Origin','isServer','endEmitted','object','_fragments','removeAllListeners','controlMessage','client_max_window_bits','_generateMask','unexpected-response','base64','push','WS_NO_UTF_8_VALIDATE','setTimeout','port','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','wsClientError','nextTick','_url','isPaused','1638924czJLYm','_errorEmitted','handleUpgrade','isValidUTF8','finished','_shouldEmitClose','WS_ERR_UNEXPECTED_RSV_1','_paused','WS_ERR_INVALID_UTF8','_fragmented','getPayloadLength64','bufferedAmount','5459976Udwnbl','call','headers','captureStackTrace','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','HTTPService','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_closeMessage','addEventListener','WS_ERR_UNEXPECTED_MASK','clientMaxWindowBits','objectMode','getInfo','values','_removeListeners','_deflate','kRun','destroy','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','origin','_configService','autoPong','needDrain','Injector','createError','invalid\x20status\x20code\x20','_fin','address','WS_ERR_UNEXPECTED_RSV_2_3','MASK\x20must\x20be\x20set','listenerCount','removeEventListener','env','servername','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','error','send','isArray','_bufferedBytes','authorization','Module','serverNoContextTakeover','verifyClient','startLoop','_injector','map','readOnly','Sec-WebSocket-Accept:\x20','allocUnsafe','\x22:\x20','Origin','566960xOsRKh','getConfig','_allowSynchronousEvents','find','_binaryType','readyState','terminate','test','cork','DisposableCollection','errorEmitted','shouldHandle','alloc','value','_read','Blob','Invalid\x20Sec-WebSocket-Protocol\x20header','_opcode','apply','644121uPJAPL','readUInt16BE','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_state','protocolVersion','request','server_max_window_bits','getMask','listeners','_totalPayloadLength','_redirects','_maskBuffer','Upgrade:\x20websocket','cookie','username','open','concurrency','MASK\x20must\x20be\x20clear','host','code','WS_ERR_EXPECTED_MASK','https:','WS_ERR_INVALID_CLOSE_CODE','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','zlibInflateOptions','create','Maximum\x20redirects\x20exceeded','forEach','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','hostname','size','species','mask','threshold','format','enqueue','registerDependencies','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','UniverCollaborationClientNodePlugin','_closeFrameReceived','File','sendFrame','backlog','toDisposable','listen','allowSynchronousEvents','sec-websocket-protocol','56034rcVxnd','defineProperty','set','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','password','cleanup','text/html','permessage-deflate','emitClose','The\x20server\x20is\x20not\x20running','customHeaders','IConfigService','finishRequest','update','Inject','onopen','blob','nodebuffer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','completeUpgrade','setConfig','concurrencyLimit','perMessageDeflate','pending','pluginName','STATUS_CODES','invalid\x20opcode\x20','toString','_masked','defaultPort','toLowerCase','_final','\x0d\x0a\x0d\x0a','get','_readyState','OPEN','sec-websocket-key','_httpService','shift','6824634DtoCHA','_compressed','acceptAsServer','followRedirects','abort','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','share','dataMessage','catch','flush','pipe','conclude','http:','destroyed','_doCreateSocket','opcode','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','wasClean','_writableState','registerHTTPInterceptor','decompress'];_0x2a28=function(){return _0x2aca6a;};return _0x2a28();}function he(){const _0x3e2b87=_0x41e9f5;if(ze)return ve;ze=0x1;const _0x26a14c=bt,_0x668794=ce(),_0x246a51=Pt(),{kStatusCode:_0x52010b}=H(),_0x145edf=Buffer[Symbol['species']],_0x359c53=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3f9c2e=Symbol(_0x3e2b87(0x21d)),_0x12a980=Symbol(_0x3e2b87(0x2c2)),_0x287b9e=Symbol('callback'),_0x33e827=Symbol(_0x3e2b87(0x2c3)),_0xd4869c=Symbol(_0x3e2b87(0x1c4));let _0x2e5da1;class _0x3707a4{constructor(_0x37c07d,_0x3b6b1a,_0x6667a5){const _0xa607db=_0x3e2b87;if(this[_0xa607db(0x25e)]=_0x6667a5|0x0,this['_options']=_0x37c07d||{},this[_0xa607db(0x2d8)]=this[_0xa607db(0x29a)][_0xa607db(0x208)]!==void 0x0?this[_0xa607db(0x29a)]['threshold']:0x400,this[_0xa607db(0x2f3)]=!!_0x3b6b1a,this[_0xa607db(0x1ae)]=null,this[_0xa607db(0x2bc)]=null,this['params']=null,!_0x2e5da1){const _0x1c598c=this['_options'][_0xa607db(0x22b)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x2e5da1=new _0x246a51(_0x1c598c);}}static get['extensionName'](){return'permessage-deflate';}[_0x3e2b87(0x166)](){const _0x4bee28=_0x3e2b87,_0x1a3897={};return this[_0x4bee28(0x29a)]['serverNoContextTakeover']&&(_0x1a3897[_0x4bee28(0x2cd)]=!0x0),this['_options'][_0x4bee28(0x263)]&&(_0x1a3897[_0x4bee28(0x2c9)]=!0x0),this[_0x4bee28(0x29a)][_0x4bee28(0x155)]&&(_0x1a3897['server_max_window_bits']=this['_options']['serverMaxWindowBits']),this[_0x4bee28(0x29a)]['clientMaxWindowBits']?_0x1a3897['client_max_window_bits']=this[_0x4bee28(0x29a)]['clientMaxWindowBits']:this[_0x4bee28(0x29a)][_0x4bee28(0x1a9)]==null&&(_0x1a3897['client_max_window_bits']=!0x0),_0x1a3897;}[_0x3e2b87(0x15e)](_0x3c30d7){const _0x2e1819=_0x3e2b87;return _0x3c30d7=this[_0x2e1819(0x178)](_0x3c30d7),this[_0x2e1819(0x267)]=this[_0x2e1819(0x2f3)]?this[_0x2e1819(0x23f)](_0x3c30d7):this[_0x2e1819(0x14e)](_0x3c30d7),this[_0x2e1819(0x267)];}[_0x3e2b87(0x21b)](){const _0x25acd2=_0x3e2b87;if(this[_0x25acd2(0x2bc)]&&(this['_inflate']['close'](),this[_0x25acd2(0x2bc)]=null),this['_deflate']){const _0x2fda65=this['_deflate'][_0x287b9e];this[_0x25acd2(0x1ae)][_0x25acd2(0x2ea)](),this['_deflate']=null,_0x2fda65&&_0x2fda65(new Error(_0x25acd2(0x28c)));}}[_0x3e2b87(0x23f)](_0x212d74){const _0x1bea30=_0x3e2b87,_0x3b7a30=this['_options'],_0x273d5f=_0x212d74[_0x1bea30(0x1d7)](_0xcdb135=>!(_0x3b7a30[_0x1bea30(0x1ca)]===!0x1&&_0xcdb135[_0x1bea30(0x2cd)]||_0xcdb135[_0x1bea30(0x1ed)]&&(_0x3b7a30[_0x1bea30(0x155)]===!0x1||typeof _0x3b7a30['serverMaxWindowBits']==_0x1bea30(0x2f7)&&_0x3b7a30[_0x1bea30(0x155)]>_0xcdb135[_0x1bea30(0x1ed)])||typeof _0x3b7a30[_0x1bea30(0x1a9)]==_0x1bea30(0x2f7)&&!_0xcdb135[_0x1bea30(0x186)]));if(!_0x273d5f)throw new Error(_0x1bea30(0x1b1));return _0x3b7a30[_0x1bea30(0x1ca)]&&(_0x273d5f[_0x1bea30(0x2cd)]=!0x0),_0x3b7a30['clientNoContextTakeover']&&(_0x273d5f[_0x1bea30(0x2c9)]=!0x0),typeof _0x3b7a30['serverMaxWindowBits']==_0x1bea30(0x2f7)&&(_0x273d5f[_0x1bea30(0x1ed)]=_0x3b7a30[_0x1bea30(0x155)]),typeof _0x3b7a30[_0x1bea30(0x1a9)]==_0x1bea30(0x2f7)?_0x273d5f[_0x1bea30(0x186)]=_0x3b7a30['clientMaxWindowBits']:(_0x273d5f['client_max_window_bits']===!0x0||_0x3b7a30['clientMaxWindowBits']===!0x1)&&delete _0x273d5f[_0x1bea30(0x186)],_0x273d5f;}[_0x3e2b87(0x14e)](_0x312465){const _0x26e50e=_0x3e2b87,_0xd588=_0x312465[0x0];if(this[_0x26e50e(0x29a)][_0x26e50e(0x263)]===!0x1&&_0xd588['client_no_context_takeover'])throw new Error(_0x26e50e(0x261));if(!_0xd588[_0x26e50e(0x186)])typeof this[_0x26e50e(0x29a)]['clientMaxWindowBits']==_0x26e50e(0x2f7)&&(_0xd588[_0x26e50e(0x186)]=this['_options'][_0x26e50e(0x1a9)]);else{if(this[_0x26e50e(0x29a)][_0x26e50e(0x1a9)]===!0x1||typeof this[_0x26e50e(0x29a)][_0x26e50e(0x1a9)]==_0x26e50e(0x2f7)&&_0xd588[_0x26e50e(0x186)]>this['_options']['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0xd588;}['normalizeParams'](_0x589423){const _0xc5fe88=_0x3e2b87;return _0x589423[_0xc5fe88(0x202)](_0x57dd13=>{const _0x4d7ce9=_0xc5fe88;Object['keys'](_0x57dd13)[_0x4d7ce9(0x202)](_0x2f8c50=>{const _0x2ae01b=_0x4d7ce9;let _0x2b11f3=_0x57dd13[_0x2f8c50];if(_0x2b11f3[_0x2ae01b(0x28a)]>0x1)throw new Error(_0x2ae01b(0x281)+_0x2f8c50+_0x2ae01b(0x25f));if(_0x2b11f3=_0x2b11f3[0x0],_0x2f8c50===_0x2ae01b(0x186)){if(_0x2b11f3!==!0x0){const _0x318875=+_0x2b11f3;if(!Number['isInteger'](_0x318875)||_0x318875<0x8||_0x318875>0xf)throw new TypeError(_0x2ae01b(0x302)+_0x2f8c50+'\x22:\x20'+_0x2b11f3);_0x2b11f3=_0x318875;}else{if(!this[_0x2ae01b(0x2f3)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2f8c50+_0x2ae01b(0x1d2)+_0x2b11f3);}}else{if(_0x2f8c50===_0x2ae01b(0x1ed)){const _0x41815e=+_0x2b11f3;if(!Number[_0x2ae01b(0x2ef)](_0x41815e)||_0x41815e<0x8||_0x41815e>0xf)throw new TypeError(_0x2ae01b(0x302)+_0x2f8c50+'\x22:\x20'+_0x2b11f3);_0x2b11f3=_0x41815e;}else{if(_0x2f8c50===_0x2ae01b(0x2c9)||_0x2f8c50===_0x2ae01b(0x2cd)){if(_0x2b11f3!==!0x0)throw new TypeError(_0x2ae01b(0x302)+_0x2f8c50+_0x2ae01b(0x1d2)+_0x2b11f3);}else throw new Error(_0x2ae01b(0x29e)+_0x2f8c50+'\x22');}}_0x57dd13[_0x2f8c50]=_0x2b11f3;});}),_0x589423;}[_0x3e2b87(0x251)](_0x5f1639,_0x5319c3,_0x54d523){const _0x294f9c=_0x3e2b87;_0x2e5da1[_0x294f9c(0x2bb)](_0x3f90b8=>{const _0x21cff9=_0x294f9c;this[_0x21cff9(0x2b7)](_0x5f1639,_0x5319c3,(_0x226bd3,_0x4696e9)=>{_0x3f90b8(),_0x54d523(_0x226bd3,_0x4696e9);});});}[_0x3e2b87(0x26e)](_0x135e5e,_0x11e8c6,_0x4116f4){_0x2e5da1['add'](_0x3f6a26=>{this['_compress'](_0x135e5e,_0x11e8c6,(_0x3c986a,_0x5831b6)=>{_0x3f6a26(),_0x4116f4(_0x3c986a,_0x5831b6);});});}['_decompress'](_0x2a08d3,_0x3bb39b,_0x514412){const _0x392af3=_0x3e2b87,_0x4a4328=this[_0x392af3(0x2f3)]?_0x392af3(0x265):_0x392af3(0x14a);if(!this[_0x392af3(0x2bc)]){const _0x2d4ec1=_0x4a4328+_0x392af3(0x254),_0x5d5d6d=typeof this[_0x392af3(0x267)][_0x2d4ec1]!=_0x392af3(0x2f7)?_0x26a14c[_0x392af3(0x275)]:this[_0x392af3(0x267)][_0x2d4ec1];this[_0x392af3(0x2bc)]=_0x26a14c['createInflateRaw']({...this['_options'][_0x392af3(0x1ff)],'windowBits':_0x5d5d6d}),this['_inflate'][_0x3f9c2e]=this,this[_0x392af3(0x2bc)][_0x12a980]=0x0,this['_inflate'][_0x33e827]=[],this[_0x392af3(0x2bc)]['on'](_0x392af3(0x1c4),_0x1592b7),this['_inflate']['on'](_0x392af3(0x29b),_0x17fb92);}this[_0x392af3(0x2bc)][_0x287b9e]=_0x514412,this['_inflate'][_0x392af3(0x2f9)](_0x2a08d3),_0x3bb39b&&this[_0x392af3(0x2bc)]['write'](_0x359c53),this['_inflate']['flush'](()=>{const _0x15d69c=_0x392af3,_0x44a36b=this[_0x15d69c(0x2bc)][_0xd4869c];if(_0x44a36b){this['_inflate'][_0x15d69c(0x2ea)](),this[_0x15d69c(0x2bc)]=null,_0x514412(_0x44a36b);return;}const _0x4b826f=_0x668794[_0x15d69c(0x164)](this['_inflate'][_0x33e827],this[_0x15d69c(0x2bc)][_0x12a980]);this['_inflate']['_readableState'][_0x15d69c(0x181)]?(this['_inflate'][_0x15d69c(0x2ea)](),this[_0x15d69c(0x2bc)]=null):(this[_0x15d69c(0x2bc)][_0x12a980]=0x0,this[_0x15d69c(0x2bc)][_0x33e827]=[],_0x3bb39b&&this['params'][_0x4a4328+_0x15d69c(0x2db)]&&this[_0x15d69c(0x2bc)][_0x15d69c(0x283)]()),_0x514412(null,_0x4b826f);});}[_0x3e2b87(0x26a)](_0x568c26,_0x50f9e9,_0x4b6242){const _0x27a42e=_0x3e2b87,_0x4c4ce4=this['_isServer']?_0x27a42e(0x14a):_0x27a42e(0x265);if(!this[_0x27a42e(0x1ae)]){const _0x4ee3dc=_0x4c4ce4+_0x27a42e(0x254),_0x2e04d1=typeof this['params'][_0x4ee3dc]!=_0x27a42e(0x2f7)?_0x26a14c['Z_DEFAULT_WINDOWBITS']:this['params'][_0x4ee3dc];this[_0x27a42e(0x1ae)]=_0x26a14c[_0x27a42e(0x2b1)]({...this[_0x27a42e(0x29a)]['zlibDeflateOptions'],'windowBits':_0x2e04d1}),this['_deflate'][_0x12a980]=0x0,this['_deflate'][_0x33e827]=[],this[_0x27a42e(0x1ae)]['on'](_0x27a42e(0x29b),_0x2054dc);}this[_0x27a42e(0x1ae)][_0x287b9e]=_0x4b6242,this[_0x27a42e(0x1ae)]['write'](_0x568c26),this[_0x27a42e(0x1ae)][_0x27a42e(0x246)](_0x26a14c['Z_SYNC_FLUSH'],()=>{const _0x493d00=_0x27a42e;if(!this['_deflate'])return;let _0x1f8ae5=_0x668794['concat'](this['_deflate'][_0x33e827],this[_0x493d00(0x1ae)][_0x12a980]);_0x50f9e9&&(_0x1f8ae5=new _0x145edf(_0x1f8ae5[_0x493d00(0x16d)],_0x1f8ae5[_0x493d00(0x157)],_0x1f8ae5['length']-0x4)),this[_0x493d00(0x1ae)][_0x287b9e]=null,this['_deflate'][_0x12a980]=0x0,this['_deflate'][_0x33e827]=[],_0x50f9e9&&this[_0x493d00(0x267)][_0x4c4ce4+_0x493d00(0x2db)]&&this[_0x493d00(0x1ae)][_0x493d00(0x283)](),_0x4b6242(null,_0x1f8ae5);});}}ve=_0x3707a4;function _0x2054dc(_0x4b15cb){const _0x8610f0=_0x3e2b87;this[_0x33e827][_0x8610f0(0x18a)](_0x4b15cb),this[_0x12a980]+=_0x4b15cb[_0x8610f0(0x28a)];}function _0x17fb92(_0x2cdfa6){const _0x4f545f=_0x3e2b87;if(this[_0x12a980]+=_0x2cdfa6['length'],this[_0x3f9c2e][_0x4f545f(0x25e)]<0x1||this[_0x12a980]<=this[_0x3f9c2e][_0x4f545f(0x25e)]){this[_0x33e827][_0x4f545f(0x18a)](_0x2cdfa6);return;}this[_0xd4869c]=new RangeError(_0x4f545f(0x151)),this[_0xd4869c]['code']=_0x4f545f(0x228),this[_0xd4869c][_0x52010b]=0x3f1,this[_0x4f545f(0x277)](_0x4f545f(0x29b),_0x17fb92),this[_0x4f545f(0x283)]();}function _0x1592b7(_0x111e08){const _0x53da46=_0x3e2b87;if(this[_0x3f9c2e][_0x53da46(0x2bc)]=null,this[_0xd4869c]){this[_0x287b9e](this[_0xd4869c]);return;}_0x111e08[_0x52010b]=0x3ef,this[_0x287b9e](_0x111e08);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x41e9f5(0x217)]({'__proto__':null,'default':Dt},Symbol[_0x41e9f5(0x2eb)],{'value':_0x41e9f5(0x1c9)})),Bt=at(Rt);var Ye;function ae(){const _0x141d7a=_0x41e9f5;if(Ye)return ie[_0x141d7a(0x2b4)];Ye=0x1;const {isUtf8:_0x18f2e9}=wt,{hasBlob:_0x149f1a}=H(),_0xc5fb7c=[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 _0x5c24ed(_0xc394b7){return _0xc394b7>=0x3e8&&_0xc394b7<=0x3f6&&_0xc394b7!==0x3ec&&_0xc394b7!==0x3ed&&_0xc394b7!==0x3ee||_0xc394b7>=0xbb8&&_0xc394b7<=0x1387;}function _0x4e029f(_0x57bd14){const _0x57c1d7=_0x141d7a,_0x5a3f59=_0x57bd14[_0x57c1d7(0x28a)];let _0xfcd66=0x0;for(;_0xfcd66<_0x5a3f59;)if((_0x57bd14[_0xfcd66]&0x80)===0x0)_0xfcd66++;else{if((_0x57bd14[_0xfcd66]&0xe0)===0xc0){if(_0xfcd66+0x1===_0x5a3f59||(_0x57bd14[_0xfcd66+0x1]&0xc0)!==0x80||(_0x57bd14[_0xfcd66]&0xfe)===0xc0)return!0x1;_0xfcd66+=0x2;}else{if((_0x57bd14[_0xfcd66]&0xf0)===0xe0){if(_0xfcd66+0x2>=_0x5a3f59||(_0x57bd14[_0xfcd66+0x1]&0xc0)!==0x80||(_0x57bd14[_0xfcd66+0x2]&0xc0)!==0x80||_0x57bd14[_0xfcd66]===0xe0&&(_0x57bd14[_0xfcd66+0x1]&0xe0)===0x80||_0x57bd14[_0xfcd66]===0xed&&(_0x57bd14[_0xfcd66+0x1]&0xe0)===0xa0)return!0x1;_0xfcd66+=0x3;}else{if((_0x57bd14[_0xfcd66]&0xf8)===0xf0){if(_0xfcd66+0x3>=_0x5a3f59||(_0x57bd14[_0xfcd66+0x1]&0xc0)!==0x80||(_0x57bd14[_0xfcd66+0x2]&0xc0)!==0x80||(_0x57bd14[_0xfcd66+0x3]&0xc0)!==0x80||_0x57bd14[_0xfcd66]===0xf0&&(_0x57bd14[_0xfcd66+0x1]&0xf0)===0x80||_0x57bd14[_0xfcd66]===0xf4&&_0x57bd14[_0xfcd66+0x1]>0x8f||_0x57bd14[_0xfcd66]>0xf4)return!0x1;_0xfcd66+=0x4;}else return!0x1;}}}return!0x0;}function _0x3bab43(_0x46cdbe){const _0x3ea0d8=_0x141d7a;return _0x149f1a&&typeof _0x46cdbe==_0x3ea0d8(0x182)&&typeof _0x46cdbe['arrayBuffer']==_0x3ea0d8(0x291)&&typeof _0x46cdbe[_0x3ea0d8(0x2ca)]==_0x3ea0d8(0x2e8)&&typeof _0x46cdbe['stream']==_0x3ea0d8(0x291)&&(_0x46cdbe[Symbol[_0x3ea0d8(0x2eb)]]===_0x3ea0d8(0x1e3)||_0x46cdbe[Symbol['toStringTag']]===_0x3ea0d8(0x20f));}if(ie[_0x141d7a(0x2b4)]={'isBlob':_0x3bab43,'isValidStatusCode':_0x5c24ed,'isValidUTF8':_0x4e029f,'tokenChars':_0xc5fb7c},_0x18f2e9)ie[_0x141d7a(0x2b4)][_0x141d7a(0x196)]=function(_0x3e4517){const _0x290162=_0x141d7a;return _0x3e4517[_0x290162(0x28a)]<0x18?_0x4e029f(_0x3e4517):_0x18f2e9(_0x3e4517);};else{if(!process[_0x141d7a(0x1c0)][_0x141d7a(0x18b)])try{const _0x1b27a4=Bt;ie['exports'][_0x141d7a(0x196)]=function(_0x37f233){const _0x306a27=_0x141d7a;return _0x37f233[_0x306a27(0x28a)]<0x20?_0x4e029f(_0x37f233):_0x1b27a4(_0x37f233);};}catch{}}return ie[_0x141d7a(0x2b4)];}var Se,Ke;function lt(){const _0x199e37=_0x41e9f5;if(Ke)return Se;Ke=0x1;const {Writable:_0x361fc8}=oe,_0x140f94=he(),{BINARY_TYPES:_0x35c18e,EMPTY_BUFFER:_0x98be91,kStatusCode:_0x2676dd,kWebSocket:_0x20dbe3}=H(),{concat:_0x4d2cd6,toArrayBuffer:_0x4b7988,unmask:_0x5452f2}=ce(),{isValidStatusCode:_0x4d968,isValidUTF8:_0x1ef87b}=ae(),_0x1cbee7=Buffer[Symbol[_0x199e37(0x206)]],_0x3700b2=0x0,_0x3ac1c1=0x1,_0x359fab=0x2,_0x2f6c00=0x3,_0x19710d=0x4,_0x185dbc=0x5,_0x3c4a59=0x6;class _0x3cb6fd extends _0x361fc8{constructor(_0xea9f93={}){const _0x8b2463=_0x199e37;super(),this['_allowSynchronousEvents']=_0xea9f93[_0x8b2463(0x214)]!==void 0x0?_0xea9f93[_0x8b2463(0x214)]:!0x0,this['_binaryType']=_0xea9f93['binaryType']||_0x35c18e[0x0],this[_0x8b2463(0x15f)]=_0xea9f93['extensions']||{},this[_0x8b2463(0x2f3)]=!!_0xea9f93[_0x8b2463(0x180)],this[_0x8b2463(0x25e)]=_0xea9f93[_0x8b2463(0x284)]|0x0,this[_0x8b2463(0x2c6)]=!!_0xea9f93[_0x8b2463(0x150)],this[_0x20dbe3]=void 0x0,this[_0x8b2463(0x1c7)]=0x0,this[_0x8b2463(0x253)]=[],this[_0x8b2463(0x23e)]=!0x1,this[_0x8b2463(0x14c)]=0x0,this[_0x8b2463(0x2d4)]=void 0x0,this[_0x8b2463(0x19c)]=0x0,this[_0x8b2463(0x232)]=!0x1,this[_0x8b2463(0x1ba)]=!0x1,this[_0x8b2463(0x1e5)]=0x0,this[_0x8b2463(0x1f0)]=0x0,this[_0x8b2463(0x2ab)]=0x0,this['_fragments']=[],this[_0x8b2463(0x2d5)]=!0x1,this['_loop']=!0x1,this[_0x8b2463(0x1ea)]=_0x3700b2;}['_write'](_0x552c71,_0x4156d9,_0x352310){const _0x1e7a7e=_0x199e37;if(this[_0x1e7a7e(0x1e5)]===0x8&&this['_state']==_0x3700b2)return _0x352310();this[_0x1e7a7e(0x1c7)]+=_0x552c71['length'],this[_0x1e7a7e(0x253)][_0x1e7a7e(0x18a)](_0x552c71),this['startLoop'](_0x352310);}[_0x199e37(0x25a)](_0x4174ff){const _0x1e9596=_0x199e37;if(this[_0x1e9596(0x1c7)]-=_0x4174ff,_0x4174ff===this['_buffers'][0x0][_0x1e9596(0x28a)])return this[_0x1e9596(0x253)][_0x1e9596(0x23c)]();if(_0x4174ff<this[_0x1e9596(0x253)][0x0][_0x1e9596(0x28a)]){const _0x22771e=this[_0x1e9596(0x253)][0x0];return this[_0x1e9596(0x253)][0x0]=new _0x1cbee7(_0x22771e['buffer'],_0x22771e['byteOffset']+_0x4174ff,_0x22771e[_0x1e9596(0x28a)]-_0x4174ff),new _0x1cbee7(_0x22771e['buffer'],_0x22771e[_0x1e9596(0x157)],_0x4174ff);}const _0x6b1b2c=Buffer[_0x1e9596(0x1d1)](_0x4174ff);do{const _0x2c48ec=this[_0x1e9596(0x253)][0x0],_0x3174c8=_0x6b1b2c[_0x1e9596(0x28a)]-_0x4174ff;_0x4174ff>=_0x2c48ec['length']?_0x6b1b2c[_0x1e9596(0x218)](this[_0x1e9596(0x253)][_0x1e9596(0x23c)](),_0x3174c8):(_0x6b1b2c['set'](new Uint8Array(_0x2c48ec['buffer'],_0x2c48ec[_0x1e9596(0x157)],_0x4174ff),_0x3174c8),this[_0x1e9596(0x253)][0x0]=new _0x1cbee7(_0x2c48ec['buffer'],_0x2c48ec[_0x1e9596(0x157)]+_0x4174ff,_0x2c48ec[_0x1e9596(0x28a)]-_0x4174ff)),_0x4174ff-=_0x2c48ec['length'];}while(_0x4174ff>0x0);return _0x6b1b2c;}[_0x199e37(0x1cc)](_0x36502a){const _0x39b6be=_0x199e37;this['_loop']=!0x0;do switch(this['_state']){case _0x3700b2:this['getInfo'](_0x36502a);break;case _0x3ac1c1:this[_0x39b6be(0x276)](_0x36502a);break;case _0x359fab:this['getPayloadLength64'](_0x36502a);break;case _0x2f6c00:this['getMask']();break;case _0x19710d:this[_0x39b6be(0x2e5)](_0x36502a);break;case _0x185dbc:case _0x3c4a59:this['_loop']=!0x1;return;}while(this[_0x39b6be(0x269)]);this[_0x39b6be(0x2d5)]||_0x36502a();}[_0x199e37(0x1ab)](_0x1884aa){const _0x4fe39c=_0x199e37;if(this[_0x4fe39c(0x1c7)]<0x2){this[_0x4fe39c(0x269)]=!0x1;return;}const _0x2106e7=this[_0x4fe39c(0x25a)](0x2);if((_0x2106e7[0x0]&0x30)!==0x0){const _0x50854e=this['createError'](RangeError,_0x4fe39c(0x203),!0x0,0x3ea,_0x4fe39c(0x1bc));_0x1884aa(_0x50854e);return;}const _0x42c15e=(_0x2106e7[0x0]&0x40)===0x40;if(_0x42c15e&&!this[_0x4fe39c(0x15f)][_0x140f94[_0x4fe39c(0x2cf)]]){const _0x4c50e6=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x264),!0x0,0x3ea,_0x4fe39c(0x199));_0x1884aa(_0x4c50e6);return;}if(this['_fin']=(_0x2106e7[0x0]&0x80)===0x80,this['_opcode']=_0x2106e7[0x0]&0xf,this[_0x4fe39c(0x14c)]=_0x2106e7[0x1]&0x7f,this[_0x4fe39c(0x1e5)]===0x0){if(_0x42c15e){const _0x26f55f=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x264),!0x0,0x3ea,_0x4fe39c(0x199));_0x1884aa(_0x26f55f);return;}if(!this[_0x4fe39c(0x19c)]){const _0x169e16=this['createError'](RangeError,_0x4fe39c(0x2df),!0x0,0x3ea,_0x4fe39c(0x2c5));_0x1884aa(_0x169e16);return;}this[_0x4fe39c(0x1e5)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x4fe39c(0x1e5)]===0x2){if(this[_0x4fe39c(0x19c)]){const _0x1449e1=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x230)+this[_0x4fe39c(0x1e5)],!0x0,0x3ea,_0x4fe39c(0x2c5));_0x1884aa(_0x1449e1);return;}this['_compressed']=_0x42c15e;}else{if(this[_0x4fe39c(0x1e5)]>0x7&&this[_0x4fe39c(0x1e5)]<0xb){if(!this[_0x4fe39c(0x1ba)]){const _0x5f0fef=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x2e1),!0x0,0x3ea,_0x4fe39c(0x169));_0x1884aa(_0x5f0fef);return;}if(_0x42c15e){const _0x3f6951=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x264),!0x0,0x3ea,_0x4fe39c(0x199));_0x1884aa(_0x3f6951);return;}if(this[_0x4fe39c(0x14c)]>0x7d||this[_0x4fe39c(0x1e5)]===0x8&&this[_0x4fe39c(0x14c)]===0x1){const _0x301042=this['createError'](RangeError,_0x4fe39c(0x26b)+this[_0x4fe39c(0x14c)],!0x0,0x3ea,_0x4fe39c(0x153));_0x1884aa(_0x301042);return;}}else{const _0x467a32=this[_0x4fe39c(0x1b8)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x4fe39c(0x2c5));_0x1884aa(_0x467a32);return;}}}if(!this[_0x4fe39c(0x1ba)]&&!this[_0x4fe39c(0x19c)]&&(this[_0x4fe39c(0x19c)]=this['_opcode']),this[_0x4fe39c(0x232)]=(_0x2106e7[0x1]&0x80)===0x80,this[_0x4fe39c(0x2f3)]){if(!this[_0x4fe39c(0x232)]){const _0x4476e9=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x1bd),!0x0,0x3ea,_0x4fe39c(0x1fb));_0x1884aa(_0x4476e9);return;}}else{if(this['_masked']){const _0x125e53=this[_0x4fe39c(0x1b8)](RangeError,_0x4fe39c(0x1f8),!0x0,0x3ea,_0x4fe39c(0x1a8));_0x1884aa(_0x125e53);return;}}this[_0x4fe39c(0x14c)]===0x7e?this[_0x4fe39c(0x1ea)]=_0x3ac1c1:this[_0x4fe39c(0x14c)]===0x7f?this[_0x4fe39c(0x1ea)]=_0x359fab:this[_0x4fe39c(0x2b2)](_0x1884aa);}[_0x199e37(0x276)](_0x518c22){const _0x59fe58=_0x199e37;if(this[_0x59fe58(0x1c7)]<0x2){this[_0x59fe58(0x269)]=!0x1;return;}this[_0x59fe58(0x14c)]=this[_0x59fe58(0x25a)](0x2)[_0x59fe58(0x1e8)](0x0),this[_0x59fe58(0x2b2)](_0x518c22);}[_0x199e37(0x19d)](_0x53a90e){const _0x5dbc40=_0x199e37;if(this[_0x5dbc40(0x1c7)]<0x8){this[_0x5dbc40(0x269)]=!0x1;return;}const _0x3560f0=this[_0x5dbc40(0x25a)](0x8),_0x6e6624=_0x3560f0['readUInt32BE'](0x0);if(_0x6e6624>Math['pow'](0x2,0x15)-0x1){const _0x39b2d5=this['createError'](RangeError,_0x5dbc40(0x1c3),!0x1,0x3f1,_0x5dbc40(0x219));_0x53a90e(_0x39b2d5);return;}this[_0x5dbc40(0x14c)]=_0x6e6624*Math[_0x5dbc40(0x2e3)](0x2,0x20)+_0x3560f0['readUInt32BE'](0x4),this[_0x5dbc40(0x2b2)](_0x53a90e);}['haveLength'](_0x25b7af){const _0x59725e=_0x199e37;if(this[_0x59725e(0x14c)]&&this[_0x59725e(0x1e5)]<0x8&&(this['_totalPayloadLength']+=this[_0x59725e(0x14c)],this[_0x59725e(0x1f0)]>this['_maxPayload']&&this[_0x59725e(0x25e)]>0x0)){const _0x57fcb7=this[_0x59725e(0x1b8)](RangeError,_0x59725e(0x151),!0x1,0x3f1,_0x59725e(0x228));_0x25b7af(_0x57fcb7);return;}this[_0x59725e(0x232)]?this[_0x59725e(0x1ea)]=_0x2f6c00:this[_0x59725e(0x1ea)]=_0x19710d;}[_0x199e37(0x1ee)](){const _0xca9411=_0x199e37;if(this[_0xca9411(0x1c7)]<0x4){this[_0xca9411(0x269)]=!0x1;return;}this[_0xca9411(0x2d4)]=this[_0xca9411(0x25a)](0x4),this[_0xca9411(0x1ea)]=_0x19710d;}[_0x199e37(0x2e5)](_0x2f74cd){const _0x598922=_0x199e37;let _0x7d32ec=_0x98be91;if(this[_0x598922(0x14c)]){if(this['_bufferedBytes']<this[_0x598922(0x14c)]){this[_0x598922(0x269)]=!0x1;return;}_0x7d32ec=this[_0x598922(0x25a)](this['_payloadLength']),this['_masked']&&(this[_0x598922(0x2d4)][0x0]|this['_mask'][0x1]|this[_0x598922(0x2d4)][0x2]|this['_mask'][0x3])!==0x0&&_0x5452f2(_0x7d32ec,this[_0x598922(0x2d4)]);}if(this[_0x598922(0x1e5)]>0x7){this[_0x598922(0x185)](_0x7d32ec,_0x2f74cd);return;}if(this[_0x598922(0x23e)]){this[_0x598922(0x1ea)]=_0x185dbc,this['decompress'](_0x7d32ec,_0x2f74cd);return;}_0x7d32ec['length']&&(this['_messageLength']=this['_totalPayloadLength'],this['_fragments']['push'](_0x7d32ec)),this[_0x598922(0x244)](_0x2f74cd);}['decompress'](_0x149356,_0x155ce2){const _0x3cb5ff=_0x199e37;this[_0x3cb5ff(0x15f)][_0x140f94[_0x3cb5ff(0x2cf)]][_0x3cb5ff(0x251)](_0x149356,this[_0x3cb5ff(0x1ba)],(_0x516156,_0x71b30e)=>{const _0xb49769=_0x3cb5ff;if(_0x516156)return _0x155ce2(_0x516156);if(_0x71b30e[_0xb49769(0x28a)]){if(this['_messageLength']+=_0x71b30e[_0xb49769(0x28a)],this[_0xb49769(0x2ab)]>this[_0xb49769(0x25e)]&&this[_0xb49769(0x25e)]>0x0){const _0x5ebe3e=this[_0xb49769(0x1b8)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0xb49769(0x228));_0x155ce2(_0x5ebe3e);return;}this[_0xb49769(0x183)][_0xb49769(0x18a)](_0x71b30e);}this[_0xb49769(0x244)](_0x155ce2),this['_state']===_0x3700b2&&this['startLoop'](_0x155ce2);});}[_0x199e37(0x244)](_0x42a14c){const _0x611a1d=_0x199e37;if(!this['_fin']){this[_0x611a1d(0x1ea)]=_0x3700b2;return;}const _0x2939da=this[_0x611a1d(0x2ab)],_0x58db39=this[_0x611a1d(0x183)];if(this[_0x611a1d(0x1f0)]=0x0,this[_0x611a1d(0x2ab)]=0x0,this[_0x611a1d(0x19c)]=0x0,this[_0x611a1d(0x183)]=[],this[_0x611a1d(0x1e5)]===0x2){let _0x440e00;this[_0x611a1d(0x1d8)]===_0x611a1d(0x227)?_0x440e00=_0x4d2cd6(_0x58db39,_0x2939da):this[_0x611a1d(0x1d8)]===_0x611a1d(0x16c)?_0x440e00=_0x4b7988(_0x4d2cd6(_0x58db39,_0x2939da)):this['_binaryType']==='blob'?_0x440e00=new Blob(_0x58db39):_0x440e00=_0x58db39,this[_0x611a1d(0x1d6)]?(this[_0x611a1d(0x2d0)]('message',_0x440e00,!0x0),this[_0x611a1d(0x1ea)]=_0x3700b2):(this[_0x611a1d(0x1ea)]=_0x3c4a59,setImmediate(()=>{const _0x2f449e=_0x611a1d;this[_0x2f449e(0x2d0)](_0x2f449e(0x29c),_0x440e00,!0x0),this['_state']=_0x3700b2,this['startLoop'](_0x42a14c);}));}else{const _0x244853=_0x4d2cd6(_0x58db39,_0x2939da);if(!this[_0x611a1d(0x2c6)]&&!_0x1ef87b(_0x244853)){const _0x1c7813=this[_0x611a1d(0x1b8)](Error,_0x611a1d(0x2ba),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x42a14c(_0x1c7813);return;}this[_0x611a1d(0x1ea)]===_0x185dbc||this['_allowSynchronousEvents']?(this['emit'](_0x611a1d(0x29c),_0x244853,!0x1),this['_state']=_0x3700b2):(this[_0x611a1d(0x1ea)]=_0x3c4a59,setImmediate(()=>{const _0x42aa8c=_0x611a1d;this[_0x42aa8c(0x2d0)](_0x42aa8c(0x29c),_0x244853,!0x1),this[_0x42aa8c(0x1ea)]=_0x3700b2,this[_0x42aa8c(0x1cc)](_0x42a14c);}));}}[_0x199e37(0x185)](_0x253029,_0x30110c){const _0x42888c=_0x199e37;if(this['_opcode']===0x8){if(_0x253029[_0x42888c(0x28a)]===0x0)this['_loop']=!0x1,this[_0x42888c(0x2d0)](_0x42888c(0x248),0x3ed,_0x98be91),this['end']();else{const _0x275116=_0x253029[_0x42888c(0x1e8)](0x0);if(!_0x4d968(_0x275116)){const _0x51c1ac=this['createError'](RangeError,_0x42888c(0x1b9)+_0x275116,!0x0,0x3ea,_0x42888c(0x1fd));_0x30110c(_0x51c1ac);return;}const _0xeace7d=new _0x1cbee7(_0x253029[_0x42888c(0x16d)],_0x253029[_0x42888c(0x157)]+0x2,_0x253029[_0x42888c(0x28a)]-0x2);if(!this[_0x42888c(0x2c6)]&&!_0x1ef87b(_0xeace7d)){const _0x4623b1=this[_0x42888c(0x1b8)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x42888c(0x19b));_0x30110c(_0x4623b1);return;}this[_0x42888c(0x269)]=!0x1,this[_0x42888c(0x2d0)](_0x42888c(0x248),_0x275116,_0xeace7d),this[_0x42888c(0x257)]();}this[_0x42888c(0x1ea)]=_0x3700b2;return;}this['_allowSynchronousEvents']?(this[_0x42888c(0x2d0)](this[_0x42888c(0x1e5)]===0x9?_0x42888c(0x162):'pong',_0x253029),this[_0x42888c(0x1ea)]=_0x3700b2):(this['_state']=_0x3c4a59,setImmediate(()=>{const _0x5a1eaf=_0x42888c;this[_0x5a1eaf(0x2d0)](this[_0x5a1eaf(0x1e5)]===0x9?_0x5a1eaf(0x162):'pong',_0x253029),this[_0x5a1eaf(0x1ea)]=_0x3700b2,this[_0x5a1eaf(0x1cc)](_0x30110c);}));}['createError'](_0x49177f,_0x205a97,_0x270376,_0x52a669,_0x1467d3){const _0x7736f=_0x199e37;this[_0x7736f(0x269)]=!0x1,this[_0x7736f(0x2d5)]=!0x0;const _0x182346=new _0x49177f(_0x270376?'Invalid\x20WebSocket\x20frame:\x20'+_0x205a97:_0x205a97);return Error[_0x7736f(0x1a2)](_0x182346,this[_0x7736f(0x1b8)]),_0x182346[_0x7736f(0x1fa)]=_0x1467d3,_0x182346[_0x2676dd]=_0x52a669,_0x182346;}}return Se=_0x3cb6fd,Se;}var Ee,Xe;function ft(){const _0x2c938a=_0x41e9f5;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4a903a}=oe,{randomFillSync:_0x56ba2a}=Le,_0x5805b2=he(),{EMPTY_BUFFER:_0x27e903,kWebSocket:_0x19eba0,NOOP:_0x932f71}=H(),{isBlob:_0x121445,isValidStatusCode:_0x7d86f9}=ae(),{mask:_0x3951ad,toBuffer:_0x1d226f}=ce(),_0x59986a=Symbol(_0x2c938a(0x290)),_0x3d3341=Buffer[_0x2c938a(0x1e0)](0x4),_0x551794=0x8*0x400;let _0x4f4f48,_0x5dc7ca=_0x551794;const _0xf23c36=0x0,_0x557384=0x1,_0x5d4ef3=0x2;class _0x3d1f3b{constructor(_0x13908c,_0x1c23de,_0x4f5a2c){const _0x4c6aae=_0x2c938a;this[_0x4c6aae(0x15f)]=_0x1c23de||{},_0x4f5a2c&&(this['_generateMask']=_0x4f5a2c,this[_0x4c6aae(0x1f2)]=Buffer['alloc'](0x4)),this[_0x4c6aae(0x258)]=_0x13908c,this[_0x4c6aae(0x271)]=!0x0,this[_0x4c6aae(0x26a)]=!0x1,this['_bufferedBytes']=0x0,this[_0x4c6aae(0x305)]=[],this[_0x4c6aae(0x1ea)]=_0xf23c36,this[_0x4c6aae(0x154)]=_0x932f71,this[_0x19eba0]=void 0x0;}static[_0x2c938a(0x255)](_0x3994ca,_0x9bdb7a){const _0x554b7c=_0x2c938a;let _0x15b472,_0x1a0c21=!0x1,_0x1e0628=0x2,_0x3d4f74=!0x1;_0x9bdb7a[_0x554b7c(0x207)]&&(_0x15b472=_0x9bdb7a[_0x554b7c(0x2dc)]||_0x3d3341,_0x9bdb7a[_0x554b7c(0x270)]?_0x9bdb7a[_0x554b7c(0x270)](_0x15b472):(_0x5dc7ca===_0x551794&&(_0x4f4f48===void 0x0&&(_0x4f4f48=Buffer[_0x554b7c(0x1e0)](_0x551794)),_0x56ba2a(_0x4f4f48,0x0,_0x551794),_0x5dc7ca=0x0),_0x15b472[0x0]=_0x4f4f48[_0x5dc7ca++],_0x15b472[0x1]=_0x4f4f48[_0x5dc7ca++],_0x15b472[0x2]=_0x4f4f48[_0x5dc7ca++],_0x15b472[0x3]=_0x4f4f48[_0x5dc7ca++]),_0x3d4f74=(_0x15b472[0x0]|_0x15b472[0x1]|_0x15b472[0x2]|_0x15b472[0x3])===0x0,_0x1e0628=0x6);let _0x388c89;typeof _0x3994ca==_0x554b7c(0x2e8)?(!_0x9bdb7a[_0x554b7c(0x207)]||_0x3d4f74)&&_0x9bdb7a[_0x59986a]!==void 0x0?_0x388c89=_0x9bdb7a[_0x59986a]:(_0x3994ca=Buffer[_0x554b7c(0x171)](_0x3994ca),_0x388c89=_0x3994ca[_0x554b7c(0x28a)]):(_0x388c89=_0x3994ca['length'],_0x1a0c21=_0x9bdb7a[_0x554b7c(0x207)]&&_0x9bdb7a['readOnly']&&!_0x3d4f74);let _0x38944c=_0x388c89;_0x388c89>=0x10000?(_0x1e0628+=0x8,_0x38944c=0x7f):_0x388c89>0x7d&&(_0x1e0628+=0x2,_0x38944c=0x7e);const _0x5c9984=Buffer[_0x554b7c(0x1d1)](_0x1a0c21?_0x388c89+_0x1e0628:_0x1e0628);return _0x5c9984[0x0]=_0x9bdb7a[_0x554b7c(0x2e0)]?_0x9bdb7a[_0x554b7c(0x24c)]|0x80:_0x9bdb7a[_0x554b7c(0x24c)],_0x9bdb7a['rsv1']&&(_0x5c9984[0x0]|=0x40),_0x5c9984[0x1]=_0x38944c,_0x38944c===0x7e?_0x5c9984[_0x554b7c(0x158)](_0x388c89,0x2):_0x38944c===0x7f&&(_0x5c9984[0x2]=_0x5c9984[0x3]=0x0,_0x5c9984[_0x554b7c(0x280)](_0x388c89,0x4,0x6)),_0x9bdb7a['mask']?(_0x5c9984[0x1]|=0x80,_0x5c9984[_0x1e0628-0x4]=_0x15b472[0x0],_0x5c9984[_0x1e0628-0x3]=_0x15b472[0x1],_0x5c9984[_0x1e0628-0x2]=_0x15b472[0x2],_0x5c9984[_0x1e0628-0x1]=_0x15b472[0x3],_0x3d4f74?[_0x5c9984,_0x3994ca]:_0x1a0c21?(_0x3951ad(_0x3994ca,_0x15b472,_0x5c9984,_0x1e0628,_0x388c89),[_0x5c9984]):(_0x3951ad(_0x3994ca,_0x15b472,_0x3994ca,0x0,_0x388c89),[_0x5c9984,_0x3994ca])):[_0x5c9984,_0x3994ca];}[_0x2c938a(0x2ea)](_0x53cae8,_0x43ff32,_0x1b88ad,_0x1aae90){const _0x5b1b73=_0x2c938a;let _0x400c6c;if(_0x53cae8===void 0x0)_0x400c6c=_0x27e903;else{if(typeof _0x53cae8!=_0x5b1b73(0x2f7)||!_0x7d86f9(_0x53cae8))throw new TypeError(_0x5b1b73(0x1a3));if(_0x43ff32===void 0x0||!_0x43ff32[_0x5b1b73(0x28a)])_0x400c6c=Buffer[_0x5b1b73(0x1d1)](0x2),_0x400c6c[_0x5b1b73(0x158)](_0x53cae8,0x0);else{const _0x3ecc9e=Buffer[_0x5b1b73(0x2a4)](_0x43ff32);if(_0x3ecc9e>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x400c6c=Buffer[_0x5b1b73(0x1d1)](0x2+_0x3ecc9e),_0x400c6c['writeUInt16BE'](_0x53cae8,0x0),typeof _0x43ff32==_0x5b1b73(0x2e8)?_0x400c6c[_0x5b1b73(0x2f9)](_0x43ff32,0x2):_0x400c6c[_0x5b1b73(0x218)](_0x43ff32,0x2);}}const _0x550395={[_0x59986a]:_0x400c6c[_0x5b1b73(0x28a)],'fin':!0x0,'generateMask':this[_0x5b1b73(0x187)],'mask':_0x1b88ad,'maskBuffer':this[_0x5b1b73(0x1f2)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0xf23c36?this[_0x5b1b73(0x20a)]([this[_0x5b1b73(0x304)],_0x400c6c,!0x1,_0x550395,_0x1aae90]):this['sendFrame'](_0x3d1f3b['frame'](_0x400c6c,_0x550395),_0x1aae90);}['ping'](_0x1699c1,_0x38c0a1,_0x18a9f5){const _0x556f1e=_0x2c938a;let _0x1c04c4,_0x143473;if(typeof _0x1699c1=='string'?(_0x1c04c4=Buffer['byteLength'](_0x1699c1),_0x143473=!0x1):_0x121445(_0x1699c1)?(_0x1c04c4=_0x1699c1[_0x556f1e(0x205)],_0x143473=!0x1):(_0x1699c1=_0x1d226f(_0x1699c1),_0x1c04c4=_0x1699c1['length'],_0x143473=_0x1d226f['readOnly']),_0x1c04c4>0x7d)throw new RangeError(_0x556f1e(0x1b2));const _0x5e72c6={[_0x59986a]:_0x1c04c4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x38c0a1,'maskBuffer':this[_0x556f1e(0x1f2)],'opcode':0x9,'readOnly':_0x143473,'rsv1':!0x1};_0x121445(_0x1699c1)?this[_0x556f1e(0x1ea)]!==_0xf23c36?this['enqueue']([this[_0x556f1e(0x299)],_0x1699c1,!0x1,_0x5e72c6,_0x18a9f5]):this[_0x556f1e(0x299)](_0x1699c1,!0x1,_0x5e72c6,_0x18a9f5):this['_state']!==_0xf23c36?this[_0x556f1e(0x20a)]([this[_0x556f1e(0x304)],_0x1699c1,!0x1,_0x5e72c6,_0x18a9f5]):this[_0x556f1e(0x210)](_0x3d1f3b[_0x556f1e(0x255)](_0x1699c1,_0x5e72c6),_0x18a9f5);}[_0x2c938a(0x2a2)](_0x27c605,_0x381492,_0xc3dd8b){const _0x1850ab=_0x2c938a;let _0x4f80ab,_0x547c4b;if(typeof _0x27c605==_0x1850ab(0x2e8)?(_0x4f80ab=Buffer[_0x1850ab(0x2a4)](_0x27c605),_0x547c4b=!0x1):_0x121445(_0x27c605)?(_0x4f80ab=_0x27c605['size'],_0x547c4b=!0x1):(_0x27c605=_0x1d226f(_0x27c605),_0x4f80ab=_0x27c605[_0x1850ab(0x28a)],_0x547c4b=_0x1d226f[_0x1850ab(0x1cf)]),_0x4f80ab>0x7d)throw new RangeError(_0x1850ab(0x1b2));const _0x2441e7={[_0x59986a]:_0x4f80ab,'fin':!0x0,'generateMask':this[_0x1850ab(0x187)],'mask':_0x381492,'maskBuffer':this[_0x1850ab(0x1f2)],'opcode':0xa,'readOnly':_0x547c4b,'rsv1':!0x1};_0x121445(_0x27c605)?this[_0x1850ab(0x1ea)]!==_0xf23c36?this[_0x1850ab(0x20a)]([this['getBlobData'],_0x27c605,!0x1,_0x2441e7,_0xc3dd8b]):this[_0x1850ab(0x299)](_0x27c605,!0x1,_0x2441e7,_0xc3dd8b):this[_0x1850ab(0x1ea)]!==_0xf23c36?this[_0x1850ab(0x20a)]([this[_0x1850ab(0x304)],_0x27c605,!0x1,_0x2441e7,_0xc3dd8b]):this[_0x1850ab(0x210)](_0x3d1f3b[_0x1850ab(0x255)](_0x27c605,_0x2441e7),_0xc3dd8b);}[_0x2c938a(0x1c5)](_0x341909,_0x43aad4,_0x1d1449){const _0x4f24c2=_0x2c938a,_0x6d99ca=this[_0x4f24c2(0x15f)][_0x5805b2[_0x4f24c2(0x2cf)]];let _0x1bb746=_0x43aad4['binary']?0x2:0x1,_0x34e275=_0x43aad4['compress'],_0x453735,_0x2b37c3;typeof _0x341909=='string'?(_0x453735=Buffer[_0x4f24c2(0x2a4)](_0x341909),_0x2b37c3=!0x1):_0x121445(_0x341909)?(_0x453735=_0x341909[_0x4f24c2(0x205)],_0x2b37c3=!0x1):(_0x341909=_0x1d226f(_0x341909),_0x453735=_0x341909[_0x4f24c2(0x28a)],_0x2b37c3=_0x1d226f[_0x4f24c2(0x1cf)]),this[_0x4f24c2(0x271)]?(this[_0x4f24c2(0x271)]=!0x1,_0x34e275&&_0x6d99ca&&_0x6d99ca[_0x4f24c2(0x267)][_0x6d99ca['_isServer']?_0x4f24c2(0x2cd):_0x4f24c2(0x2c9)]&&(_0x34e275=_0x453735>=_0x6d99ca[_0x4f24c2(0x2d8)]),this[_0x4f24c2(0x26a)]=_0x34e275):(_0x34e275=!0x1,_0x1bb746=0x0),_0x43aad4[_0x4f24c2(0x2e0)]&&(this[_0x4f24c2(0x271)]=!0x0);const _0x5ec29b={[_0x59986a]:_0x453735,'fin':_0x43aad4[_0x4f24c2(0x2e0)],'generateMask':this[_0x4f24c2(0x187)],'mask':_0x43aad4[_0x4f24c2(0x207)],'maskBuffer':this[_0x4f24c2(0x1f2)],'opcode':_0x1bb746,'readOnly':_0x2b37c3,'rsv1':_0x34e275};_0x121445(_0x341909)?this['_state']!==_0xf23c36?this[_0x4f24c2(0x20a)]([this[_0x4f24c2(0x299)],_0x341909,this['_compress'],_0x5ec29b,_0x1d1449]):this[_0x4f24c2(0x299)](_0x341909,this[_0x4f24c2(0x26a)],_0x5ec29b,_0x1d1449):this['_state']!==_0xf23c36?this['enqueue']([this[_0x4f24c2(0x304)],_0x341909,this[_0x4f24c2(0x26a)],_0x5ec29b,_0x1d1449]):this['dispatch'](_0x341909,this[_0x4f24c2(0x26a)],_0x5ec29b,_0x1d1449);}[_0x2c938a(0x299)](_0x13db56,_0x17a2c4,_0x52be1d,_0x3baa59){const _0x1ecdb4=_0x2c938a;this[_0x1ecdb4(0x1c7)]+=_0x52be1d[_0x59986a],this[_0x1ecdb4(0x1ea)]=_0x5d4ef3,_0x13db56['arrayBuffer']()['then'](_0x8420ec=>{const _0x33f777=_0x1ecdb4;if(this[_0x33f777(0x258)][_0x33f777(0x24a)]){const _0xb2d91b=new Error(_0x33f777(0x1fe));process[_0x33f777(0x190)](_0x510d3c,this,_0xb2d91b,_0x3baa59);return;}this['_bufferedBytes']-=_0x52be1d[_0x59986a];const _0x7c23cb=_0x1d226f(_0x8420ec);_0x17a2c4?this['dispatch'](_0x7c23cb,_0x17a2c4,_0x52be1d,_0x3baa59):(this[_0x33f777(0x1ea)]=_0xf23c36,this[_0x33f777(0x210)](_0x3d1f3b[_0x33f777(0x255)](_0x7c23cb,_0x52be1d),_0x3baa59),this['dequeue']());})[_0x1ecdb4(0x245)](_0x3b516f=>{const _0x25609c=_0x1ecdb4;process[_0x25609c(0x190)](_0x3d2547,this,_0x3b516f,_0x3baa59);});}[_0x2c938a(0x304)](_0x3b4fd7,_0x4f9a80,_0x333df4,_0x15d09f){const _0x16e361=_0x2c938a;if(!_0x4f9a80){this[_0x16e361(0x210)](_0x3d1f3b[_0x16e361(0x255)](_0x3b4fd7,_0x333df4),_0x15d09f);return;}const _0x51d081=this['_extensions'][_0x5805b2['extensionName']];this[_0x16e361(0x1c7)]+=_0x333df4[_0x59986a],this[_0x16e361(0x1ea)]=_0x557384,_0x51d081[_0x16e361(0x26e)](_0x3b4fd7,_0x333df4[_0x16e361(0x2e0)],(_0x503aa2,_0x165151)=>{const _0x2ece8c=_0x16e361;if(this[_0x2ece8c(0x258)]['destroyed']){const _0x26c679=new Error(_0x2ece8c(0x24d));_0x510d3c(this,_0x26c679,_0x15d09f);return;}this[_0x2ece8c(0x1c7)]-=_0x333df4[_0x59986a],this[_0x2ece8c(0x1ea)]=_0xf23c36,_0x333df4['readOnly']=!0x1,this['sendFrame'](_0x3d1f3b[_0x2ece8c(0x255)](_0x165151,_0x333df4),_0x15d09f),this[_0x2ece8c(0x176)]();});}[_0x2c938a(0x176)](){const _0x3b2f4a=_0x2c938a;for(;this[_0x3b2f4a(0x1ea)]===_0xf23c36&&this[_0x3b2f4a(0x305)][_0x3b2f4a(0x28a)];){const _0xa377b0=this[_0x3b2f4a(0x305)][_0x3b2f4a(0x23c)]();this[_0x3b2f4a(0x1c7)]-=_0xa377b0[0x3][_0x59986a],Reflect[_0x3b2f4a(0x1e6)](_0xa377b0[0x0],this,_0xa377b0[_0x3b2f4a(0x15c)](0x1));}}[_0x2c938a(0x20a)](_0x37da42){const _0x1a0fe7=_0x2c938a;this[_0x1a0fe7(0x1c7)]+=_0x37da42[0x3][_0x59986a],this[_0x1a0fe7(0x305)][_0x1a0fe7(0x18a)](_0x37da42);}[_0x2c938a(0x210)](_0x47e4a2,_0x37c0d7){const _0x1c407a=_0x2c938a;_0x47e4a2[_0x1c407a(0x28a)]===0x2?(this[_0x1c407a(0x258)][_0x1c407a(0x1dc)](),this[_0x1c407a(0x258)][_0x1c407a(0x2f9)](_0x47e4a2[0x0]),this[_0x1c407a(0x258)][_0x1c407a(0x2f9)](_0x47e4a2[0x1],_0x37c0d7),this[_0x1c407a(0x258)]['uncork']()):this[_0x1c407a(0x258)]['write'](_0x47e4a2[0x0],_0x37c0d7);}}Ee=_0x3d1f3b;function _0x510d3c(_0x39a744,_0x1ef59c,_0x521796){const _0x5cdbcc=_0x2c938a;typeof _0x521796=='function'&&_0x521796(_0x1ef59c);for(let _0x3217b3=0x0;_0x3217b3<_0x39a744[_0x5cdbcc(0x305)]['length'];_0x3217b3++){const _0x58b383=_0x39a744[_0x5cdbcc(0x305)][_0x3217b3],_0x3db11c=_0x58b383[_0x58b383[_0x5cdbcc(0x28a)]-0x1];typeof _0x3db11c=='function'&&_0x3db11c(_0x1ef59c);}}function _0x3d2547(_0x1b806c,_0x1450e1,_0x1ec7cf){const _0x5b9619=_0x2c938a;_0x510d3c(_0x1b806c,_0x1450e1,_0x1ec7cf),_0x1b806c[_0x5b9619(0x154)](_0x1450e1);}return Ee;}var xe,Ze;function It(){const _0x554ba4=_0x41e9f5;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x4a27a2,kListener:_0x4dde5d}=H(),_0xd26263=Symbol(_0x554ba4(0x274)),_0x3fc2bc=Symbol('kData'),_0x140bda=Symbol(_0x554ba4(0x177)),_0x66e9d2=Symbol('kMessage'),_0x1ce61f=Symbol('kReason'),_0x525e58=Symbol(_0x554ba4(0x29d)),_0x437a12=Symbol('kType'),_0x4e3df9=Symbol(_0x554ba4(0x2a3));class _0x1889f4{constructor(_0x3b6104){this[_0x525e58]=null,this[_0x437a12]=_0x3b6104;}get[_0x554ba4(0x28e)](){return this[_0x525e58];}get[_0x554ba4(0x2ca)](){return this[_0x437a12];}}Object['defineProperty'](_0x1889f4[_0x554ba4(0x179)],'target',{'enumerable':!0x0}),Object[_0x554ba4(0x217)](_0x1889f4['prototype'],_0x554ba4(0x2ca),{'enumerable':!0x0});class _0x33425b extends _0x1889f4{constructor(_0x22f9e8,_0x4539fd={}){const _0x3ac7d7=_0x554ba4;super(_0x22f9e8),this[_0xd26263]=_0x4539fd[_0x3ac7d7(0x1fa)]===void 0x0?0x0:_0x4539fd[_0x3ac7d7(0x1fa)],this[_0x1ce61f]=_0x4539fd[_0x3ac7d7(0x17c)]===void 0x0?'':_0x4539fd[_0x3ac7d7(0x17c)],this[_0x4e3df9]=_0x4539fd['wasClean']===void 0x0?!0x1:_0x4539fd[_0x3ac7d7(0x24e)];}get['code'](){return this[_0xd26263];}get['reason'](){return this[_0x1ce61f];}get[_0x554ba4(0x24e)](){return this[_0x4e3df9];}}Object[_0x554ba4(0x217)](_0x33425b[_0x554ba4(0x179)],_0x554ba4(0x1fa),{'enumerable':!0x0}),Object[_0x554ba4(0x217)](_0x33425b[_0x554ba4(0x179)],_0x554ba4(0x17c),{'enumerable':!0x0}),Object[_0x554ba4(0x217)](_0x33425b[_0x554ba4(0x179)],'wasClean',{'enumerable':!0x0});class _0x1bc1ed extends _0x1889f4{constructor(_0x3e903d,_0x38e37f={}){const _0x1ec721=_0x554ba4;super(_0x3e903d),this[_0x140bda]=_0x38e37f[_0x1ec721(0x1c4)]===void 0x0?null:_0x38e37f[_0x1ec721(0x1c4)],this[_0x66e9d2]=_0x38e37f['message']===void 0x0?'':_0x38e37f[_0x1ec721(0x29c)];}get[_0x554ba4(0x1c4)](){return this[_0x140bda];}get['message'](){return this[_0x66e9d2];}}Object['defineProperty'](_0x1bc1ed[_0x554ba4(0x179)],_0x554ba4(0x1c4),{'enumerable':!0x0}),Object['defineProperty'](_0x1bc1ed[_0x554ba4(0x179)],_0x554ba4(0x29c),{'enumerable':!0x0});class _0x41c199 extends _0x1889f4{constructor(_0x8a960,_0x146df9={}){const _0x5afd08=_0x554ba4;super(_0x8a960),this[_0x3fc2bc]=_0x146df9[_0x5afd08(0x29b)]===void 0x0?null:_0x146df9[_0x5afd08(0x29b)];}get[_0x554ba4(0x29b)](){return this[_0x3fc2bc];}}Object[_0x554ba4(0x217)](_0x41c199[_0x554ba4(0x179)],_0x554ba4(0x29b),{'enumerable':!0x0}),xe={'CloseEvent':_0x33425b,'ErrorEvent':_0x1bc1ed,'Event':_0x1889f4,'EventTarget':{'addEventListener'(_0x4d2d5c,_0x4f9937,_0x188188={}){const _0x4dac42=_0x554ba4;for(const _0x2b94e5 of this['listeners'](_0x4d2d5c))if(!_0x188188[_0x4a27a2]&&_0x2b94e5[_0x4dde5d]===_0x4f9937&&!_0x2b94e5[_0x4a27a2])return;let _0xff81d0;if(_0x4d2d5c===_0x4dac42(0x29c))_0xff81d0=function(_0x49d2ea,_0x3082c0){const _0xaac2f7=_0x4dac42,_0x3ad2d7=new _0x41c199(_0xaac2f7(0x29c),{'data':_0x3082c0?_0x49d2ea:_0x49d2ea['toString']()});_0x3ad2d7[_0x525e58]=this,_0xd0634e(_0x4f9937,this,_0x3ad2d7);};else{if(_0x4d2d5c===_0x4dac42(0x2ea))_0xff81d0=function(_0x29f8ac,_0x49758e){const _0x5d4238=_0x4dac42,_0x54cb04=new _0x33425b(_0x5d4238(0x2ea),{'code':_0x29f8ac,'reason':_0x49758e[_0x5d4238(0x231)](),'wasClean':this[_0x5d4238(0x20e)]&&this[_0x5d4238(0x2ee)]});_0x54cb04[_0x525e58]=this,_0xd0634e(_0x4f9937,this,_0x54cb04);};else{if(_0x4d2d5c===_0x4dac42(0x1c4))_0xff81d0=function(_0x40fecc){const _0x384198=_0x4dac42,_0x3a89af=new _0x1bc1ed(_0x384198(0x1c4),{'error':_0x40fecc,'message':_0x40fecc['message']});_0x3a89af[_0x525e58]=this,_0xd0634e(_0x4f9937,this,_0x3a89af);};else{if(_0x4d2d5c==='open')_0xff81d0=function(){const _0x1d419b=_0x4dac42,_0x274e3b=new _0x1889f4(_0x1d419b(0x1f6));_0x274e3b[_0x525e58]=this,_0xd0634e(_0x4f9937,this,_0x274e3b);};else return;}}}_0xff81d0[_0x4a27a2]=!!_0x188188[_0x4a27a2],_0xff81d0[_0x4dde5d]=_0x4f9937,_0x188188['once']?this['once'](_0x4d2d5c,_0xff81d0):this['on'](_0x4d2d5c,_0xff81d0);},'removeEventListener'(_0x578416,_0x53b3d6){const _0x172deb=_0x554ba4;for(const _0x2b2a6f of this[_0x172deb(0x1ef)](_0x578416))if(_0x2b2a6f[_0x4dde5d]===_0x53b3d6&&!_0x2b2a6f[_0x4a27a2]){this[_0x172deb(0x277)](_0x578416,_0x2b2a6f);break;}}},'MessageEvent':_0x41c199};function _0xd0634e(_0x5d0952,_0x4c5fdf,_0x1c5be6){const _0xed9e9c=_0x554ba4;typeof _0x5d0952==_0xed9e9c(0x182)&&_0x5d0952[_0xed9e9c(0x2e9)]?_0x5d0952['handleEvent'][_0xed9e9c(0x1a0)](_0x5d0952,_0x1c5be6):_0x5d0952[_0xed9e9c(0x1a0)](_0x4c5fdf,_0x1c5be6);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x11518b}=ae();function _0x4b5ddd(_0x354a38,_0x36692d,_0xf5df12){const _0x3e741b=_0x4406;_0x354a38[_0x36692d]===void 0x0?_0x354a38[_0x36692d]=[_0xf5df12]:_0x354a38[_0x36692d][_0x3e741b(0x18a)](_0xf5df12);}function _0x7c72b2(_0x2452e2){const _0x46bfe8=_0x4406,_0x1aa140=Object[_0x46bfe8(0x200)](null);let _0x2450f6=Object[_0x46bfe8(0x200)](null),_0x2706de=!0x1,_0x897e57=!0x1,_0x2d40e2=!0x1,_0x494134,_0x46b724,_0x25174a=-0x1,_0x89198b=-0x1,_0xcf92ce=-0x1,_0x3410ff=0x0;for(;_0x3410ff<_0x2452e2[_0x46bfe8(0x28a)];_0x3410ff++)if(_0x89198b=_0x2452e2['charCodeAt'](_0x3410ff),_0x494134===void 0x0){if(_0xcf92ce===-0x1&&_0x11518b[_0x89198b]===0x1)_0x25174a===-0x1&&(_0x25174a=_0x3410ff);else{if(_0x3410ff!==0x0&&(_0x89198b===0x20||_0x89198b===0x9))_0xcf92ce===-0x1&&_0x25174a!==-0x1&&(_0xcf92ce=_0x3410ff);else{if(_0x89198b===0x3b||_0x89198b===0x2c){if(_0x25174a===-0x1)throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff);const _0x4b2f17=_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0xcf92ce);_0x89198b===0x2c?(_0x4b5ddd(_0x1aa140,_0x4b2f17,_0x2450f6),_0x2450f6=Object[_0x46bfe8(0x200)](null)):_0x494134=_0x4b2f17,_0x25174a=_0xcf92ce=-0x1;}else throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);}}}else{if(_0x46b724===void 0x0){if(_0xcf92ce===-0x1&&_0x11518b[_0x89198b]===0x1)_0x25174a===-0x1&&(_0x25174a=_0x3410ff);else{if(_0x89198b===0x20||_0x89198b===0x9)_0xcf92ce===-0x1&&_0x25174a!==-0x1&&(_0xcf92ce=_0x3410ff);else{if(_0x89198b===0x3b||_0x89198b===0x2c){if(_0x25174a===-0x1)throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff),_0x4b5ddd(_0x2450f6,_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0xcf92ce),!0x0),_0x89198b===0x2c&&(_0x4b5ddd(_0x1aa140,_0x494134,_0x2450f6),_0x2450f6=Object[_0x46bfe8(0x200)](null),_0x494134=void 0x0),_0x25174a=_0xcf92ce=-0x1;}else{if(_0x89198b===0x3d&&_0x25174a!==-0x1&&_0xcf92ce===-0x1)_0x46b724=_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0x3410ff),_0x25174a=_0xcf92ce=-0x1;else throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);}}}}else{if(_0x897e57){if(_0x11518b[_0x89198b]!==0x1)throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);_0x25174a===-0x1?_0x25174a=_0x3410ff:_0x2706de||(_0x2706de=!0x0),_0x897e57=!0x1;}else{if(_0x2d40e2){if(_0x11518b[_0x89198b]===0x1)_0x25174a===-0x1&&(_0x25174a=_0x3410ff);else{if(_0x89198b===0x22&&_0x25174a!==-0x1)_0x2d40e2=!0x1,_0xcf92ce=_0x3410ff;else{if(_0x89198b===0x5c)_0x897e57=!0x0;else throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);}}}else{if(_0x89198b===0x22&&_0x2452e2[_0x46bfe8(0x2d1)](_0x3410ff-0x1)===0x3d)_0x2d40e2=!0x0;else{if(_0xcf92ce===-0x1&&_0x11518b[_0x89198b]===0x1)_0x25174a===-0x1&&(_0x25174a=_0x3410ff);else{if(_0x25174a!==-0x1&&(_0x89198b===0x20||_0x89198b===0x9))_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff);else{if(_0x89198b===0x3b||_0x89198b===0x2c){if(_0x25174a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3410ff);_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff);let _0x3dfba5=_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0xcf92ce);_0x2706de&&(_0x3dfba5=_0x3dfba5[_0x46bfe8(0x303)](/\\/g,''),_0x2706de=!0x1),_0x4b5ddd(_0x2450f6,_0x46b724,_0x3dfba5),_0x89198b===0x2c&&(_0x4b5ddd(_0x1aa140,_0x494134,_0x2450f6),_0x2450f6=Object[_0x46bfe8(0x200)](null),_0x494134=void 0x0),_0x46b724=void 0x0,_0x25174a=_0xcf92ce=-0x1;}else throw new SyntaxError(_0x46bfe8(0x2c4)+_0x3410ff);}}}}}}}if(_0x25174a===-0x1||_0x2d40e2||_0x89198b===0x20||_0x89198b===0x9)throw new SyntaxError(_0x46bfe8(0x256));_0xcf92ce===-0x1&&(_0xcf92ce=_0x3410ff);const _0x58ad63=_0x2452e2[_0x46bfe8(0x15c)](_0x25174a,_0xcf92ce);return _0x494134===void 0x0?_0x4b5ddd(_0x1aa140,_0x58ad63,_0x2450f6):(_0x46b724===void 0x0?_0x4b5ddd(_0x2450f6,_0x58ad63,!0x0):_0x2706de?_0x4b5ddd(_0x2450f6,_0x46b724,_0x58ad63[_0x46bfe8(0x303)](/\\/g,'')):_0x4b5ddd(_0x2450f6,_0x46b724,_0x58ad63),_0x4b5ddd(_0x1aa140,_0x494134,_0x2450f6)),_0x1aa140;}function _0x2f6365(_0x1288ed){const _0x2d4294=_0x4406;return Object['keys'](_0x1288ed)[_0x2d4294(0x1ce)](_0x5c13aa=>{const _0x4d4ef5=_0x2d4294;let _0x4ccd92=_0x1288ed[_0x5c13aa];return Array[_0x4d4ef5(0x1c6)](_0x4ccd92)||(_0x4ccd92=[_0x4ccd92]),_0x4ccd92['map'](_0x123c7d=>[_0x5c13aa]['concat'](Object[_0x4d4ef5(0x2da)](_0x123c7d)[_0x4d4ef5(0x1ce)](_0x5043f7=>{const _0x814e22=_0x4d4ef5;let _0x4b40ad=_0x123c7d[_0x5043f7];return Array['isArray'](_0x4b40ad)||(_0x4b40ad=[_0x4b40ad]),_0x4b40ad[_0x814e22(0x1ce)](_0xbe2279=>_0xbe2279===!0x0?_0x5043f7:_0x5043f7+'='+_0xbe2279)[_0x814e22(0x301)](';\x20');}))[_0x4d4ef5(0x301)](';\x20'))['join'](',\x20');})[_0x2d4294(0x301)](',\x20');}return be={'format':_0x2f6365,'parse':_0x7c72b2},be;}var we,Je;function Pe(){const _0xa39512=_0x41e9f5;if(Je)return we;Je=0x1;const _0x5b8acf=nt,_0x2fcd43=vt,_0x4a4229=ot,_0x4ff410=St,_0xe6dbc7=Et,{randomBytes:_0x27a796,createHash:_0x1413e0}=Le,{Duplex:_0x45b46b,Readable:_0x37687c}=oe,{URL:_0xb46c6c}=xt,_0xc31a8c=he(),_0x2f489f=lt(),_0x4004a5=ft(),{isBlob:_0x1cf6ea}=ae(),{BINARY_TYPES:_0x915787,EMPTY_BUFFER:_0x1e5363,GUID:_0x2a89a9,kForOnEventAttribute:_0x11bdad,kListener:_0x47449,kStatusCode:_0x352149,kWebSocket:_0x5d1295,NOOP:_0x1d5d28}=H(),{EventTarget:{addEventListener:_0x13e2de,removeEventListener:_0x435512}}=It(),{format:_0x27b610,parse:_0x387cd9}=ct(),{toBuffer:_0x2e6c2e}=ce(),_0x2e3fdb=0x1e*0x3e8,_0x4806b0=Symbol('kAborted'),_0x71b6f=[0x8,0xd],_0x3fddda=[_0xa39512(0x167),_0xa39512(0x239),_0xa39512(0x278),_0xa39512(0x16a)],_0x1e511f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1d4ca0 extends _0x5b8acf{constructor(_0x4d8456,_0x5d5484,_0x498619){const _0x1d6e4d=_0xa39512;super(),this[_0x1d6e4d(0x1d8)]=_0x915787[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x1d6e4d(0x2ee)]=!0x1,this[_0x1d6e4d(0x1a6)]=_0x1e5363,this['_closeTimer']=null,this[_0x1d6e4d(0x194)]=!0x1,this[_0x1d6e4d(0x15f)]={},this[_0x1d6e4d(0x19a)]=!0x1,this[_0x1d6e4d(0x2fa)]='',this[_0x1d6e4d(0x238)]=_0x1d4ca0[_0x1d6e4d(0x167)],this[_0x1d6e4d(0x2b3)]=null,this[_0x1d6e4d(0x282)]=null,this[_0x1d6e4d(0x258)]=null,_0x4d8456!==null?(this[_0x1d6e4d(0x2e4)]=0x0,this[_0x1d6e4d(0x2f3)]=!0x1,this[_0x1d6e4d(0x1f1)]=0x0,_0x5d5484===void 0x0?_0x5d5484=[]:Array[_0x1d6e4d(0x1c6)](_0x5d5484)||(typeof _0x5d5484=='object'&&_0x5d5484!==null?(_0x498619=_0x5d5484,_0x5d5484=[]):_0x5d5484=[_0x5d5484]),_0x230ceb(this,_0x4d8456,_0x5d5484,_0x498619)):(this[_0x1d6e4d(0x28b)]=_0x498619[_0x1d6e4d(0x1b5)],this['_isServer']=!0x0);}get[_0xa39512(0x2f1)](){return this['_binaryType'];}set[_0xa39512(0x2f1)](_0x392a9e){const _0x49fd75=_0xa39512;_0x915787[_0x49fd75(0x145)](_0x392a9e)&&(this[_0x49fd75(0x1d8)]=_0x392a9e,this['_receiver']&&(this[_0x49fd75(0x2b3)][_0x49fd75(0x1d8)]=_0x392a9e));}get[_0xa39512(0x19e)](){const _0x2ad462=_0xa39512;return this[_0x2ad462(0x258)]?this[_0x2ad462(0x258)][_0x2ad462(0x24f)]['length']+this[_0x2ad462(0x282)][_0x2ad462(0x1c7)]:this[_0x2ad462(0x2e4)];}get[_0xa39512(0x161)](){const _0x4888ee=_0xa39512;return Object[_0x4888ee(0x2da)](this[_0x4888ee(0x15f)])[_0x4888ee(0x301)]();}get[_0xa39512(0x192)](){const _0x1eba06=_0xa39512;return this[_0x1eba06(0x19a)];}get['onclose'](){return null;}get[_0xa39512(0x154)](){return null;}get[_0xa39512(0x225)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x2c1bc5=_0xa39512;return this[_0x2c1bc5(0x2fa)];}get[_0xa39512(0x1d9)](){const _0xa646a5=_0xa39512;return this[_0xa646a5(0x238)];}get[_0xa39512(0x2ec)](){const _0x2f687a=_0xa39512;return this[_0x2f687a(0x191)];}['setSocket'](_0x2f3acf,_0xf44dd0,_0x5de4c8){const _0x128a41=_0xa39512,_0xc997ec=new _0x2f489f({'allowSynchronousEvents':_0x5de4c8['allowSynchronousEvents'],'binaryType':this[_0x128a41(0x2f1)],'extensions':this[_0x128a41(0x15f)],'isServer':this[_0x128a41(0x2f3)],'maxPayload':_0x5de4c8[_0x128a41(0x284)],'skipUTF8Validation':_0x5de4c8[_0x128a41(0x150)]}),_0x21ce8a=new _0x4004a5(_0x2f3acf,this['_extensions'],_0x5de4c8['generateMask']);this[_0x128a41(0x2b3)]=_0xc997ec,this['_sender']=_0x21ce8a,this['_socket']=_0x2f3acf,_0xc997ec[_0x5d1295]=this,_0x21ce8a[_0x5d1295]=this,_0x2f3acf[_0x5d1295]=this,_0xc997ec['on']('conclude',_0x124454),_0xc997ec['on']('drain',_0x4cea48),_0xc997ec['on'](_0x128a41(0x1c4),_0x9479a8),_0xc997ec['on'](_0x128a41(0x29c),_0x1fe7a5),_0xc997ec['on'](_0x128a41(0x162),_0x10cee3),_0xc997ec['on'](_0x128a41(0x2a2),_0xd68e08),_0x21ce8a[_0x128a41(0x154)]=_0x5405c7,_0x2f3acf[_0x128a41(0x18c)]&&_0x2f3acf[_0x128a41(0x18c)](0x0),_0x2f3acf[_0x128a41(0x2d9)]&&_0x2f3acf['setNoDelay'](),_0xf44dd0[_0x128a41(0x28a)]>0x0&&_0x2f3acf[_0x128a41(0x252)](_0xf44dd0),_0x2f3acf['on'](_0x128a41(0x2ea),_0x1e2023),_0x2f3acf['on'](_0x128a41(0x29b),_0x3c020d),_0x2f3acf['on'](_0x128a41(0x257),_0x1c5d30),_0x2f3acf['on']('error',_0x4575ed),this[_0x128a41(0x238)]=_0x1d4ca0[_0x128a41(0x239)],this[_0x128a41(0x2d0)]('open');}[_0xa39512(0x21e)](){const _0x2f92c2=_0xa39512;if(!this[_0x2f92c2(0x258)]){this[_0x2f92c2(0x238)]=_0x1d4ca0[_0x2f92c2(0x16a)],this[_0x2f92c2(0x2d0)](_0x2f92c2(0x2ea),this[_0x2f92c2(0x26d)],this[_0x2f92c2(0x1a6)]);return;}this[_0x2f92c2(0x15f)][_0xc31a8c[_0x2f92c2(0x2cf)]]&&this['_extensions'][_0xc31a8c[_0x2f92c2(0x2cf)]]['cleanup'](),this['_receiver'][_0x2f92c2(0x184)](),this['_readyState']=_0x1d4ca0['CLOSED'],this[_0x2f92c2(0x2d0)](_0x2f92c2(0x2ea),this[_0x2f92c2(0x26d)],this['_closeMessage']);}[_0xa39512(0x2ea)](_0x1f7341,_0x17ccbb){const _0x3ce2cb=_0xa39512;if(this[_0x3ce2cb(0x1d9)]!==_0x1d4ca0[_0x3ce2cb(0x16a)]){if(this[_0x3ce2cb(0x1d9)]===_0x1d4ca0[_0x3ce2cb(0x167)]){_0x21dc05(this,this[_0x3ce2cb(0x2c1)],_0x3ce2cb(0x242));return;}if(this[_0x3ce2cb(0x1d9)]===_0x1d4ca0[_0x3ce2cb(0x278)]){this[_0x3ce2cb(0x2ee)]&&(this[_0x3ce2cb(0x20e)]||this[_0x3ce2cb(0x2b3)][_0x3ce2cb(0x24f)][_0x3ce2cb(0x1de)])&&this[_0x3ce2cb(0x258)][_0x3ce2cb(0x257)]();return;}this['_readyState']=_0x1d4ca0[_0x3ce2cb(0x278)],this['_sender']['close'](_0x1f7341,_0x17ccbb,!this['_isServer'],_0x7b34=>{const _0x2ed216=_0x3ce2cb;_0x7b34||(this[_0x2ed216(0x2ee)]=!0x0,(this['_closeFrameReceived']||this[_0x2ed216(0x2b3)]['_writableState'][_0x2ed216(0x1de)])&&this['_socket'][_0x2ed216(0x257)]());}),_0xb62dcd(this);}}[_0xa39512(0x2f6)](){const _0xf8852d=_0xa39512;this[_0xf8852d(0x1d9)]===_0x1d4ca0['CONNECTING']||this['readyState']===_0x1d4ca0[_0xf8852d(0x16a)]||(this['_paused']=!0x0,this[_0xf8852d(0x258)]['pause']());}[_0xa39512(0x162)](_0x14bdd3,_0x171b21,_0x45dabf){const _0x12a4e4=_0xa39512;if(this[_0x12a4e4(0x1d9)]===_0x1d4ca0['CONNECTING'])throw new Error(_0x12a4e4(0x27e));if(typeof _0x14bdd3==_0x12a4e4(0x291)?(_0x45dabf=_0x14bdd3,_0x14bdd3=_0x171b21=void 0x0):typeof _0x171b21==_0x12a4e4(0x291)&&(_0x45dabf=_0x171b21,_0x171b21=void 0x0),typeof _0x14bdd3==_0x12a4e4(0x2f7)&&(_0x14bdd3=_0x14bdd3[_0x12a4e4(0x231)]()),this[_0x12a4e4(0x1d9)]!==_0x1d4ca0['OPEN']){_0x4f3a2f(this,_0x14bdd3,_0x45dabf);return;}_0x171b21===void 0x0&&(_0x171b21=!this[_0x12a4e4(0x2f3)]),this['_sender']['ping'](_0x14bdd3||_0x1e5363,_0x171b21,_0x45dabf);}[_0xa39512(0x2a2)](_0x51cbff,_0x5b5cfe,_0x21d4ab){const _0x33ea60=_0xa39512;if(this[_0x33ea60(0x1d9)]===_0x1d4ca0[_0x33ea60(0x167)])throw new Error(_0x33ea60(0x27e));if(typeof _0x51cbff==_0x33ea60(0x291)?(_0x21d4ab=_0x51cbff,_0x51cbff=_0x5b5cfe=void 0x0):typeof _0x5b5cfe=='function'&&(_0x21d4ab=_0x5b5cfe,_0x5b5cfe=void 0x0),typeof _0x51cbff==_0x33ea60(0x2f7)&&(_0x51cbff=_0x51cbff[_0x33ea60(0x231)]()),this[_0x33ea60(0x1d9)]!==_0x1d4ca0[_0x33ea60(0x239)]){_0x4f3a2f(this,_0x51cbff,_0x21d4ab);return;}_0x5b5cfe===void 0x0&&(_0x5b5cfe=!this[_0x33ea60(0x2f3)]),this[_0x33ea60(0x282)][_0x33ea60(0x2a2)](_0x51cbff||_0x1e5363,_0x5b5cfe,_0x21d4ab);}[_0xa39512(0x2f0)](){const _0x3c0414=_0xa39512;this[_0x3c0414(0x1d9)]===_0x1d4ca0['CONNECTING']||this[_0x3c0414(0x1d9)]===_0x1d4ca0['CLOSED']||(this[_0x3c0414(0x19a)]=!0x1,this[_0x3c0414(0x2b3)][_0x3c0414(0x24f)][_0x3c0414(0x1b6)]||this['_socket']['resume']());}[_0xa39512(0x1c5)](_0x2aec0e,_0x54f682,_0x2650ac){const _0x1a03e8=_0xa39512;if(this[_0x1a03e8(0x1d9)]===_0x1d4ca0[_0x1a03e8(0x167)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x54f682=='function'&&(_0x2650ac=_0x54f682,_0x54f682={}),typeof _0x2aec0e==_0x1a03e8(0x2f7)&&(_0x2aec0e=_0x2aec0e[_0x1a03e8(0x231)]()),this[_0x1a03e8(0x1d9)]!==_0x1d4ca0[_0x1a03e8(0x239)]){_0x4f3a2f(this,_0x2aec0e,_0x2650ac);return;}const _0x56d76b={'binary':typeof _0x2aec0e!=_0x1a03e8(0x2e8),'mask':!this[_0x1a03e8(0x2f3)],'compress':!0x0,'fin':!0x0,..._0x54f682};this[_0x1a03e8(0x15f)][_0xc31a8c[_0x1a03e8(0x2cf)]]||(_0x56d76b[_0x1a03e8(0x26e)]=!0x1),this['_sender'][_0x1a03e8(0x1c5)](_0x2aec0e||_0x1e5363,_0x56d76b,_0x2650ac);}[_0xa39512(0x1da)](){const _0x3719ba=_0xa39512;if(this['readyState']!==_0x1d4ca0[_0x3719ba(0x16a)]){if(this[_0x3719ba(0x1d9)]===_0x1d4ca0[_0x3719ba(0x167)]){_0x21dc05(this,this['_req'],_0x3719ba(0x242));return;}this['_socket']&&(this[_0x3719ba(0x238)]=_0x1d4ca0['CLOSING'],this[_0x3719ba(0x258)]['destroy']());}}}Object[_0xa39512(0x217)](_0x1d4ca0,_0xa39512(0x167),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x167))}),Object[_0xa39512(0x217)](_0x1d4ca0[_0xa39512(0x179)],_0xa39512(0x167),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x167))}),Object['defineProperty'](_0x1d4ca0,_0xa39512(0x239),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x239))}),Object['defineProperty'](_0x1d4ca0[_0xa39512(0x179)],_0xa39512(0x239),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x239))}),Object[_0xa39512(0x217)](_0x1d4ca0,_0xa39512(0x278),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x278))}),Object[_0xa39512(0x217)](_0x1d4ca0[_0xa39512(0x179)],'CLOSING',{'enumerable':!0x0,'value':_0x3fddda[_0xa39512(0x26f)](_0xa39512(0x278))}),Object[_0xa39512(0x217)](_0x1d4ca0,_0xa39512(0x16a),{'enumerable':!0x0,'value':_0x3fddda['indexOf'](_0xa39512(0x16a))}),Object[_0xa39512(0x217)](_0x1d4ca0['prototype'],_0xa39512(0x16a),{'enumerable':!0x0,'value':_0x3fddda[_0xa39512(0x26f)](_0xa39512(0x16a))}),[_0xa39512(0x2f1),_0xa39512(0x19e),_0xa39512(0x161),'isPaused',_0xa39512(0x15a),'readyState',_0xa39512(0x2ec)][_0xa39512(0x202)](_0x46d116=>{Object['defineProperty'](_0x1d4ca0['prototype'],_0x46d116,{'enumerable':!0x0});}),[_0xa39512(0x1f6),_0xa39512(0x1c4),'close',_0xa39512(0x29c)][_0xa39512(0x202)](_0x58c2a3=>{const _0x4c0e99=_0xa39512;Object[_0x4c0e99(0x217)](_0x1d4ca0['prototype'],'on'+_0x58c2a3,{'enumerable':!0x0,'get'(){const _0x646b88=_0x4c0e99;for(const _0x3964aa of this[_0x646b88(0x1ef)](_0x58c2a3))if(_0x3964aa[_0x11bdad])return _0x3964aa[_0x47449];return null;},'set'(_0x19c357){const _0xd72b3=_0x4c0e99;for(const _0x35dde3 of this[_0xd72b3(0x1ef)](_0x58c2a3))if(_0x35dde3[_0x11bdad]){this['removeListener'](_0x58c2a3,_0x35dde3);break;}typeof _0x19c357=='function'&&this['addEventListener'](_0x58c2a3,_0x19c357,{[_0x11bdad]:!0x0});}});}),_0x1d4ca0[_0xa39512(0x179)][_0xa39512(0x1a7)]=_0x13e2de,_0x1d4ca0[_0xa39512(0x179)]['removeEventListener']=_0x435512,we=_0x1d4ca0;function _0x230ceb(_0x1042ed,_0x114c83,_0x28e3e2,_0x509dba){const _0x549bc6=_0xa39512,_0x1cb86f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x71b6f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x509dba,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x549bc6(0x172),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1042ed[_0x549bc6(0x28b)]=_0x1cb86f[_0x549bc6(0x1b5)],!_0x71b6f[_0x549bc6(0x145)](_0x1cb86f[_0x549bc6(0x1eb)]))throw new RangeError(_0x549bc6(0x307)+_0x1cb86f[_0x549bc6(0x1eb)]+_0x549bc6(0x25c)+_0x71b6f[_0x549bc6(0x301)](',\x20')+')');let _0x4c192a;if(_0x114c83 instanceof _0xb46c6c)_0x4c192a=_0x114c83;else try{_0x4c192a=new _0xb46c6c(_0x114c83);}catch{throw new SyntaxError(_0x549bc6(0x174)+_0x114c83);}_0x4c192a['protocol']===_0x549bc6(0x249)?_0x4c192a['protocol']='ws:':_0x4c192a[_0x549bc6(0x15a)]===_0x549bc6(0x1fc)&&(_0x4c192a['protocol']=_0x549bc6(0x2ed)),_0x1042ed['_url']=_0x4c192a[_0x549bc6(0x2ce)];const _0x2c4ab9=_0x4c192a[_0x549bc6(0x15a)]===_0x549bc6(0x2ed),_0x24a708=_0x4c192a['protocol']==='ws+unix:';let _0xcc4e5b;if(_0x4c192a[_0x549bc6(0x15a)]!==_0x549bc6(0x152)&&!_0x2c4ab9&&!_0x24a708?_0xcc4e5b=_0x549bc6(0x20c):_0x24a708&&!_0x4c192a['pathname']?_0xcc4e5b=_0x549bc6(0x293):_0x4c192a[_0x549bc6(0x156)]&&(_0xcc4e5b=_0x549bc6(0x1c2)),_0xcc4e5b){const _0x49af04=new SyntaxError(_0xcc4e5b);if(_0x1042ed['_redirects']===0x0)throw _0x49af04;_0x52f408(_0x1042ed,_0x49af04);return;}const _0x167f40=_0x2c4ab9?0x1bb:0x50,_0x79e7e1=_0x27a796(0x10)[_0x549bc6(0x231)](_0x549bc6(0x189)),_0x2d3196=_0x2c4ab9?_0x2fcd43[_0x549bc6(0x1ec)]:_0x4a4229[_0x549bc6(0x1ec)],_0xf10d73=new Set();let _0x3bc066;if(_0x1cb86f[_0x549bc6(0x28d)]=_0x1cb86f['createConnection']||(_0x2c4ab9?_0x32dce3:_0x460129),_0x1cb86f[_0x549bc6(0x233)]=_0x1cb86f[_0x549bc6(0x233)]||_0x167f40,_0x1cb86f['port']=_0x4c192a[_0x549bc6(0x18d)]||_0x167f40,_0x1cb86f['host']=_0x4c192a['hostname']['startsWith']('[')?_0x4c192a[_0x549bc6(0x204)]['slice'](0x1,-0x1):_0x4c192a[_0x549bc6(0x204)],_0x1cb86f['headers']={..._0x1cb86f[_0x549bc6(0x1a1)],'Sec-WebSocket-Version':_0x1cb86f[_0x549bc6(0x1eb)],'Sec-WebSocket-Key':_0x79e7e1,'Connection':'Upgrade','Upgrade':'websocket'},_0x1cb86f[_0x549bc6(0x300)]=_0x4c192a['pathname']+_0x4c192a[_0x549bc6(0x262)],_0x1cb86f[_0x549bc6(0x147)]=_0x1cb86f[_0x549bc6(0x2dd)],_0x1cb86f[_0x549bc6(0x22c)]&&(_0x3bc066=new _0xc31a8c(_0x1cb86f[_0x549bc6(0x22c)]!==!0x0?_0x1cb86f['perMessageDeflate']:{},!0x1,_0x1cb86f[_0x549bc6(0x284)]),_0x1cb86f['headers']['Sec-WebSocket-Extensions']=_0x27b610({[_0xc31a8c[_0x549bc6(0x2cf)]]:_0x3bc066[_0x549bc6(0x166)]()})),_0x28e3e2[_0x549bc6(0x28a)]){for(const _0x4fad0b of _0x28e3e2){if(typeof _0x4fad0b!='string'||!_0x1e511f['test'](_0x4fad0b)||_0xf10d73[_0x549bc6(0x296)](_0x4fad0b))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xf10d73[_0x549bc6(0x2bb)](_0x4fad0b);}_0x1cb86f['headers'][_0x549bc6(0x294)]=_0x28e3e2[_0x549bc6(0x301)](',');}if(_0x1cb86f[_0x549bc6(0x1b3)]&&(_0x1cb86f[_0x549bc6(0x1eb)]<0xd?_0x1cb86f[_0x549bc6(0x1a1)][_0x549bc6(0x17f)]=_0x1cb86f['origin']:_0x1cb86f[_0x549bc6(0x1a1)][_0x549bc6(0x1d3)]=_0x1cb86f[_0x549bc6(0x1b3)]),(_0x4c192a[_0x549bc6(0x1f5)]||_0x4c192a[_0x549bc6(0x21a)])&&(_0x1cb86f[_0x549bc6(0x2c7)]=_0x4c192a['username']+':'+_0x4c192a[_0x549bc6(0x21a)]),_0x24a708){const _0x3a6839=_0x1cb86f['path']['split'](':');_0x1cb86f[_0x549bc6(0x25d)]=_0x3a6839[0x0],_0x1cb86f[_0x549bc6(0x300)]=_0x3a6839[0x1];}let _0x362868;if(_0x1cb86f[_0x549bc6(0x240)]){if(_0x1042ed['_redirects']===0x0){_0x1042ed[_0x549bc6(0x2e7)]=_0x24a708,_0x1042ed[_0x549bc6(0x27d)]=_0x2c4ab9,_0x1042ed[_0x549bc6(0x2c8)]=_0x24a708?_0x1cb86f['socketPath']:_0x4c192a[_0x549bc6(0x1f9)];const _0x465abf=_0x509dba&&_0x509dba[_0x549bc6(0x1a1)];if(_0x509dba={..._0x509dba,'headers':{}},_0x465abf){for(const [_0x534187,_0x54e3ee]of Object[_0x549bc6(0x297)](_0x465abf))_0x509dba[_0x549bc6(0x1a1)][_0x534187['toLowerCase']()]=_0x54e3ee;}}else{if(_0x1042ed[_0x549bc6(0x1be)](_0x549bc6(0x273))===0x0){const _0x25f565=_0x24a708?_0x1042ed[_0x549bc6(0x2e7)]?_0x1cb86f[_0x549bc6(0x25d)]===_0x1042ed[_0x549bc6(0x2c8)]:!0x1:_0x1042ed[_0x549bc6(0x2e7)]?!0x1:_0x4c192a['host']===_0x1042ed[_0x549bc6(0x2c8)];(!_0x25f565||_0x1042ed[_0x549bc6(0x27d)]&&!_0x2c4ab9)&&(delete _0x1cb86f['headers'][_0x549bc6(0x1c8)],delete _0x1cb86f[_0x549bc6(0x1a1)][_0x549bc6(0x1f4)],_0x25f565||delete _0x1cb86f[_0x549bc6(0x1a1)][_0x549bc6(0x1f9)],_0x1cb86f[_0x549bc6(0x2c7)]=void 0x0);}}_0x1cb86f[_0x549bc6(0x2c7)]&&!_0x509dba[_0x549bc6(0x1a1)][_0x549bc6(0x1c8)]&&(_0x509dba[_0x549bc6(0x1a1)][_0x549bc6(0x1c8)]='Basic\x20'+Buffer[_0x549bc6(0x171)](_0x1cb86f['auth'])[_0x549bc6(0x231)](_0x549bc6(0x189))),_0x362868=_0x1042ed[_0x549bc6(0x2c1)]=_0x2d3196(_0x1cb86f),_0x1042ed[_0x549bc6(0x1f1)]&&_0x1042ed[_0x549bc6(0x2d0)](_0x549bc6(0x273),_0x1042ed[_0x549bc6(0x2ec)],_0x362868);}else _0x362868=_0x1042ed[_0x549bc6(0x2c1)]=_0x2d3196(_0x1cb86f);_0x1cb86f['timeout']&&_0x362868['on'](_0x549bc6(0x147),()=>{_0x21dc05(_0x1042ed,_0x362868,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x362868['on'](_0x549bc6(0x1c4),_0x53e155=>{const _0x37ca23=_0x549bc6;_0x362868===null||_0x362868[_0x4806b0]||(_0x362868=_0x1042ed[_0x37ca23(0x2c1)]=null,_0x52f408(_0x1042ed,_0x53e155));}),_0x362868['on'](_0x549bc6(0x2b8),_0x519104=>{const _0x1c0ab5=_0x549bc6,_0x3d782c=_0x519104[_0x1c0ab5(0x1a1)][_0x1c0ab5(0x2b0)],_0x8e2dab=_0x519104[_0x1c0ab5(0x159)];if(_0x3d782c&&_0x1cb86f[_0x1c0ab5(0x240)]&&_0x8e2dab>=0x12c&&_0x8e2dab<0x190){if(++_0x1042ed['_redirects']>_0x1cb86f[_0x1c0ab5(0x2a6)]){_0x21dc05(_0x1042ed,_0x362868,_0x1c0ab5(0x201));return;}_0x362868[_0x1c0ab5(0x241)]();let _0xbcf9fa;try{_0xbcf9fa=new _0xb46c6c(_0x3d782c,_0x114c83);}catch{const _0x44fdf5=new SyntaxError(_0x1c0ab5(0x174)+_0x3d782c);_0x52f408(_0x1042ed,_0x44fdf5);return;}_0x230ceb(_0x1042ed,_0xbcf9fa,_0x28e3e2,_0x509dba);}else _0x1042ed[_0x1c0ab5(0x2d0)](_0x1c0ab5(0x188),_0x362868,_0x519104)||_0x21dc05(_0x1042ed,_0x362868,_0x1c0ab5(0x16f)+_0x519104[_0x1c0ab5(0x159)]);}),_0x362868['on'](_0x549bc6(0x29f),(_0x4d5de1,_0x16ed52,_0x2896a7)=>{const _0x3634a7=_0x549bc6;if(_0x1042ed[_0x3634a7(0x2d0)](_0x3634a7(0x29f),_0x4d5de1),_0x1042ed[_0x3634a7(0x1d9)]!==_0x1d4ca0['CONNECTING'])return;_0x362868=_0x1042ed[_0x3634a7(0x2c1)]=null;const _0x1d4367=_0x4d5de1['headers'][_0x3634a7(0x29f)];if(_0x1d4367===void 0x0||_0x1d4367[_0x3634a7(0x234)]()!=='websocket'){_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x2ff));return;}const _0x7ba99f=_0x1413e0(_0x3634a7(0x306))[_0x3634a7(0x223)](_0x79e7e1+_0x2a89a9)['digest'](_0x3634a7(0x189));if(_0x4d5de1[_0x3634a7(0x1a1)][_0x3634a7(0x163)]!==_0x7ba99f){_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x148));return;}const _0x3702d4=_0x4d5de1['headers'][_0x3634a7(0x215)];let _0x10381e;if(_0x3702d4!==void 0x0?_0xf10d73['size']?_0xf10d73[_0x3634a7(0x296)](_0x3702d4)||(_0x10381e=_0x3634a7(0x2a0)):_0x10381e=_0x3634a7(0x1e9):_0xf10d73[_0x3634a7(0x205)]&&(_0x10381e=_0x3634a7(0x27c)),_0x10381e){_0x21dc05(_0x1042ed,_0x16ed52,_0x10381e);return;}_0x3702d4&&(_0x1042ed['_protocol']=_0x3702d4);const _0x1c550d=_0x4d5de1['headers'][_0x3634a7(0x2fb)];if(_0x1c550d!==void 0x0){if(!_0x3bc066){_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x2a8));return;}let _0x21ee62;try{_0x21ee62=_0x387cd9(_0x1c550d);}catch{_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x17e));return;}const _0x4518d2=Object['keys'](_0x21ee62);if(_0x4518d2[_0x3634a7(0x28a)]!==0x1||_0x4518d2[0x0]!==_0xc31a8c['extensionName']){_0x21dc05(_0x1042ed,_0x16ed52,_0x3634a7(0x27a));return;}try{_0x3bc066[_0x3634a7(0x15e)](_0x21ee62[_0xc31a8c['extensionName']]);}catch{_0x21dc05(_0x1042ed,_0x16ed52,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x1042ed[_0x3634a7(0x15f)][_0xc31a8c['extensionName']]=_0x3bc066;}_0x1042ed[_0x3634a7(0x292)](_0x16ed52,_0x2896a7,{'allowSynchronousEvents':_0x1cb86f[_0x3634a7(0x214)],'generateMask':_0x1cb86f[_0x3634a7(0x270)],'maxPayload':_0x1cb86f['maxPayload'],'skipUTF8Validation':_0x1cb86f['skipUTF8Validation']});}),_0x1cb86f[_0x549bc6(0x222)]?_0x1cb86f[_0x549bc6(0x222)](_0x362868,_0x1042ed):_0x362868[_0x549bc6(0x257)]();}function _0x52f408(_0x322e09,_0x480040){const _0x1e5443=_0xa39512;_0x322e09[_0x1e5443(0x238)]=_0x1d4ca0[_0x1e5443(0x278)],_0x322e09[_0x1e5443(0x194)]=!0x0,_0x322e09[_0x1e5443(0x2d0)](_0x1e5443(0x1c4),_0x480040),_0x322e09[_0x1e5443(0x21e)]();}function _0x460129(_0x28c621){const _0x17cb7d=_0xa39512;return _0x28c621[_0x17cb7d(0x300)]=_0x28c621[_0x17cb7d(0x25d)],_0x4ff410[_0x17cb7d(0x279)](_0x28c621);}function _0x32dce3(_0x4c6f7a){const _0x5cc94c=_0xa39512;return _0x4c6f7a[_0x5cc94c(0x300)]=void 0x0,!_0x4c6f7a['servername']&&_0x4c6f7a[_0x5cc94c(0x1c1)]!==''&&(_0x4c6f7a[_0x5cc94c(0x1c1)]=_0x4ff410['isIP'](_0x4c6f7a[_0x5cc94c(0x1f9)])?'':_0x4c6f7a[_0x5cc94c(0x1f9)]),_0xe6dbc7[_0x5cc94c(0x279)](_0x4c6f7a);}function _0x21dc05(_0x51c726,_0x2e8fea,_0x1afe85){const _0x4cd1a1=_0xa39512;_0x51c726[_0x4cd1a1(0x238)]=_0x1d4ca0['CLOSING'];const _0x38ea14=new Error(_0x1afe85);Error['captureStackTrace'](_0x38ea14,_0x21dc05),_0x2e8fea[_0x4cd1a1(0x2f4)]?(_0x2e8fea[_0x4806b0]=!0x0,_0x2e8fea[_0x4cd1a1(0x241)](),_0x2e8fea['socket']&&!_0x2e8fea[_0x4cd1a1(0x14b)][_0x4cd1a1(0x24a)]&&_0x2e8fea[_0x4cd1a1(0x14b)]['destroy'](),process[_0x4cd1a1(0x190)](_0x52f408,_0x51c726,_0x38ea14)):(_0x2e8fea['destroy'](_0x38ea14),_0x2e8fea['once'](_0x4cd1a1(0x1c4),_0x51c726['emit'][_0x4cd1a1(0x2d3)](_0x51c726,_0x4cd1a1(0x1c4))),_0x2e8fea[_0x4cd1a1(0x2ae)](_0x4cd1a1(0x2ea),_0x51c726[_0x4cd1a1(0x21e)][_0x4cd1a1(0x2d3)](_0x51c726)));}function _0x4f3a2f(_0x6edb79,_0x302e1a,_0x2ec744){const _0x33353b=_0xa39512;if(_0x302e1a){const _0x1b5ba9=_0x1cf6ea(_0x302e1a)?_0x302e1a[_0x33353b(0x205)]:_0x2e6c2e(_0x302e1a)[_0x33353b(0x28a)];_0x6edb79[_0x33353b(0x258)]?_0x6edb79[_0x33353b(0x282)][_0x33353b(0x1c7)]+=_0x1b5ba9:_0x6edb79['_bufferedAmount']+=_0x1b5ba9;}if(_0x2ec744){const _0x48dcd3=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x6edb79[_0x33353b(0x1d9)]+'\x20('+_0x3fddda[_0x6edb79[_0x33353b(0x1d9)]]+')');process[_0x33353b(0x190)](_0x2ec744,_0x48dcd3);}}function _0x124454(_0x3fcee1,_0x1e4236){const _0x1340d8=_0xa39512,_0x54cca7=this[_0x5d1295];_0x54cca7[_0x1340d8(0x20e)]=!0x0,_0x54cca7['_closeMessage']=_0x1e4236,_0x54cca7[_0x1340d8(0x26d)]=_0x3fcee1,_0x54cca7[_0x1340d8(0x258)][_0x5d1295]!==void 0x0&&(_0x54cca7[_0x1340d8(0x258)][_0x1340d8(0x277)]('data',_0x3c020d),process[_0x1340d8(0x190)](_0x460aee,_0x54cca7[_0x1340d8(0x258)]),_0x3fcee1===0x3ed?_0x54cca7[_0x1340d8(0x2ea)]():_0x54cca7[_0x1340d8(0x2ea)](_0x3fcee1,_0x1e4236));}function _0x4cea48(){const _0x2956bf=_0xa39512,_0xec840d=this[_0x5d1295];_0xec840d[_0x2956bf(0x192)]||_0xec840d['_socket']['resume']();}function _0x9479a8(_0x2c9bc6){const _0x26ab1e=_0xa39512,_0x5a2282=this[_0x5d1295];_0x5a2282[_0x26ab1e(0x258)][_0x5d1295]!==void 0x0&&(_0x5a2282[_0x26ab1e(0x258)][_0x26ab1e(0x277)](_0x26ab1e(0x29b),_0x3c020d),process[_0x26ab1e(0x190)](_0x460aee,_0x5a2282[_0x26ab1e(0x258)]),_0x5a2282[_0x26ab1e(0x2ea)](_0x2c9bc6[_0x352149])),_0x5a2282['_errorEmitted']||(_0x5a2282['_errorEmitted']=!0x0,_0x5a2282['emit'](_0x26ab1e(0x1c4),_0x2c9bc6));}function _0x482e69(){const _0x58613c=_0xa39512;this[_0x5d1295][_0x58613c(0x21e)]();}function _0x1fe7a5(_0x227bc0,_0x6bfd96){const _0x44a059=_0xa39512;this[_0x5d1295]['emit'](_0x44a059(0x29c),_0x227bc0,_0x6bfd96);}function _0x10cee3(_0x42cd9a){const _0x8a6784=_0xa39512,_0x3ff247=this[_0x5d1295];_0x3ff247['_autoPong']&&_0x3ff247[_0x8a6784(0x2a2)](_0x42cd9a,!this['_isServer'],_0x1d5d28),_0x3ff247[_0x8a6784(0x2d0)](_0x8a6784(0x162),_0x42cd9a);}function _0xd68e08(_0x1e5208){const _0x5c9867=_0xa39512;this[_0x5d1295]['emit'](_0x5c9867(0x2a2),_0x1e5208);}function _0x460aee(_0x444a76){const _0x5c1784=_0xa39512;_0x444a76[_0x5c1784(0x2f0)]();}function _0x5405c7(_0x5b49fd){const _0x2c2a55=_0xa39512,_0x4cea36=this[_0x5d1295];_0x4cea36[_0x2c2a55(0x1d9)]!==_0x1d4ca0[_0x2c2a55(0x16a)]&&(_0x4cea36[_0x2c2a55(0x1d9)]===_0x1d4ca0[_0x2c2a55(0x239)]&&(_0x4cea36[_0x2c2a55(0x238)]=_0x1d4ca0[_0x2c2a55(0x278)],_0xb62dcd(_0x4cea36)),this[_0x2c2a55(0x258)][_0x2c2a55(0x257)](),_0x4cea36[_0x2c2a55(0x194)]||(_0x4cea36[_0x2c2a55(0x194)]=!0x0,_0x4cea36['emit']('error',_0x5b49fd)));}function _0xb62dcd(_0x4a9487){const _0x1fe18b=_0xa39512;_0x4a9487[_0x1fe18b(0x170)]=setTimeout(_0x4a9487['_socket']['destroy'][_0x1fe18b(0x2d3)](_0x4a9487[_0x1fe18b(0x258)]),_0x2e3fdb);}function _0x1e2023(){const _0x126b99=_0xa39512,_0x21ac17=this[_0x5d1295];this['removeListener'](_0x126b99(0x2ea),_0x1e2023),this[_0x126b99(0x277)](_0x126b99(0x29b),_0x3c020d),this['removeListener'](_0x126b99(0x257),_0x1c5d30),_0x21ac17['_readyState']=_0x1d4ca0['CLOSING'];let _0x4bbd75;!this[_0x126b99(0x309)][_0x126b99(0x181)]&&!_0x21ac17[_0x126b99(0x20e)]&&!_0x21ac17[_0x126b99(0x2b3)][_0x126b99(0x24f)][_0x126b99(0x1de)]&&(_0x4bbd75=_0x21ac17[_0x126b99(0x258)][_0x126b99(0x146)]())!==null&&_0x21ac17[_0x126b99(0x2b3)][_0x126b99(0x2f9)](_0x4bbd75),_0x21ac17[_0x126b99(0x2b3)][_0x126b99(0x257)](),this[_0x5d1295]=void 0x0,clearTimeout(_0x21ac17[_0x126b99(0x170)]),_0x21ac17['_receiver'][_0x126b99(0x24f)][_0x126b99(0x197)]||_0x21ac17[_0x126b99(0x2b3)][_0x126b99(0x24f)][_0x126b99(0x1de)]?_0x21ac17[_0x126b99(0x21e)]():(_0x21ac17['_receiver']['on'](_0x126b99(0x1c4),_0x482e69),_0x21ac17[_0x126b99(0x2b3)]['on'](_0x126b99(0x2d2),_0x482e69));}function _0x3c020d(_0x57af18){const _0x38474a=_0xa39512;this[_0x5d1295]['_receiver'][_0x38474a(0x2f9)](_0x57af18)||this['pause']();}function _0x1c5d30(){const _0x519fa1=_0xa39512,_0x2dc01f=this[_0x5d1295];_0x2dc01f[_0x519fa1(0x238)]=_0x1d4ca0[_0x519fa1(0x278)],_0x2dc01f[_0x519fa1(0x2b3)][_0x519fa1(0x257)](),this[_0x519fa1(0x257)]();}function _0x4575ed(){const _0xb398e1=_0xa39512,_0x547efd=this[_0x5d1295];this[_0xb398e1(0x277)](_0xb398e1(0x1c4),_0x4575ed),this['on'](_0xb398e1(0x1c4),_0x1d5d28),_0x547efd&&(_0x547efd[_0xb398e1(0x238)]=_0x1d4ca0[_0xb398e1(0x278)],this[_0xb398e1(0x1b0)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x3ae8a2}=oe;function _0x1f807a(_0x15868d){const _0x373fb8=_0x4406;_0x15868d[_0x373fb8(0x2d0)](_0x373fb8(0x2ea));}function _0x33b087(){const _0x4637f1=_0x4406;!this[_0x4637f1(0x24a)]&&this[_0x4637f1(0x24f)][_0x4637f1(0x197)]&&this[_0x4637f1(0x1b0)]();}function _0x4a340d(_0x24dec4){const _0x26792a=_0x4406;this[_0x26792a(0x277)](_0x26792a(0x1c4),_0x4a340d),this[_0x26792a(0x1b0)](),this['listenerCount']('error')===0x0&&this[_0x26792a(0x2d0)](_0x26792a(0x1c4),_0x24dec4);}function _0x11814c(_0x2e2b47,_0x219fa3){const _0x53b8ad=_0x4406;let _0x354b3d=!0x0;const _0x5c3da7=new _0x3ae8a2({..._0x219fa3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2e2b47['on'](_0x53b8ad(0x29c),function(_0x4c5c3c,_0x5159e9){const _0x244ba=_0x53b8ad,_0x53e15f=!_0x5159e9&&_0x5c3da7[_0x244ba(0x309)][_0x244ba(0x1aa)]?_0x4c5c3c[_0x244ba(0x231)]():_0x4c5c3c;_0x5c3da7[_0x244ba(0x18a)](_0x53e15f)||_0x2e2b47[_0x244ba(0x2f6)]();}),_0x2e2b47['once'](_0x53b8ad(0x1c4),function(_0xc90ea3){const _0x343d9c=_0x53b8ad;_0x5c3da7[_0x343d9c(0x24a)]||(_0x354b3d=!0x1,_0x5c3da7['destroy'](_0xc90ea3));}),_0x2e2b47[_0x53b8ad(0x2ae)](_0x53b8ad(0x2ea),function(){const _0x2e0014=_0x53b8ad;_0x5c3da7[_0x2e0014(0x24a)]||_0x5c3da7[_0x2e0014(0x18a)](null);}),_0x5c3da7[_0x53b8ad(0x15d)]=function(_0x20996b,_0x1941c8){const _0x5ef94c=_0x53b8ad;if(_0x2e2b47['readyState']===_0x2e2b47[_0x5ef94c(0x16a)]){_0x1941c8(_0x20996b),process[_0x5ef94c(0x190)](_0x1f807a,_0x5c3da7);return;}let _0x22afd7=!0x1;_0x2e2b47[_0x5ef94c(0x2ae)]('error',function(_0x11736c){_0x22afd7=!0x0,_0x1941c8(_0x11736c);}),_0x2e2b47[_0x5ef94c(0x2ae)](_0x5ef94c(0x2ea),function(){_0x22afd7||_0x1941c8(_0x20996b),process['nextTick'](_0x1f807a,_0x5c3da7);}),_0x354b3d&&_0x2e2b47[_0x5ef94c(0x1da)]();},_0x5c3da7[_0x53b8ad(0x235)]=function(_0x31fee7){const _0x268352=_0x53b8ad;if(_0x2e2b47[_0x268352(0x1d9)]===_0x2e2b47[_0x268352(0x167)]){_0x2e2b47[_0x268352(0x2ae)](_0x268352(0x1f6),function(){const _0x304b1d=_0x268352;_0x5c3da7[_0x304b1d(0x235)](_0x31fee7);});return;}_0x2e2b47[_0x268352(0x258)]!==null&&(_0x2e2b47[_0x268352(0x258)][_0x268352(0x24f)][_0x268352(0x197)]?(_0x31fee7(),_0x5c3da7[_0x268352(0x309)][_0x268352(0x181)]&&_0x5c3da7['destroy']()):(_0x2e2b47[_0x268352(0x258)][_0x268352(0x2ae)](_0x268352(0x2d2),function(){_0x31fee7();}),_0x2e2b47['close']()));},_0x5c3da7[_0x53b8ad(0x1e2)]=function(){const _0x14b031=_0x53b8ad;_0x2e2b47['isPaused']&&_0x2e2b47[_0x14b031(0x2f0)]();},_0x5c3da7['_write']=function(_0x52a14e,_0x295707,_0x28bb24){const _0x29e5c9=_0x53b8ad;if(_0x2e2b47['readyState']===_0x2e2b47['CONNECTING']){_0x2e2b47['once'](_0x29e5c9(0x1f6),function(){_0x5c3da7['_write'](_0x52a14e,_0x295707,_0x28bb24);});return;}_0x2e2b47[_0x29e5c9(0x1c5)](_0x52a14e,_0x28bb24);},_0x5c3da7['on'](_0x53b8ad(0x257),_0x33b087),_0x5c3da7['on'](_0x53b8ad(0x1c4),_0x4a340d),_0x5c3da7;}return Oe=_0x11814c,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4e0a19}=ae();function _0x1284b3(_0x1ebd1d){const _0x5dc98e=_0x4406,_0x4dda6c=new Set();let _0x352b16=-0x1,_0x5b4142=-0x1,_0xea68bd=0x0;for(_0xea68bd;_0xea68bd<_0x1ebd1d[_0x5dc98e(0x28a)];_0xea68bd++){const _0x916f66=_0x1ebd1d[_0x5dc98e(0x2d1)](_0xea68bd);if(_0x5b4142===-0x1&&_0x4e0a19[_0x916f66]===0x1)_0x352b16===-0x1&&(_0x352b16=_0xea68bd);else{if(_0xea68bd!==0x0&&(_0x916f66===0x20||_0x916f66===0x9))_0x5b4142===-0x1&&_0x352b16!==-0x1&&(_0x5b4142=_0xea68bd);else{if(_0x916f66===0x2c){if(_0x352b16===-0x1)throw new SyntaxError(_0x5dc98e(0x2c4)+_0xea68bd);_0x5b4142===-0x1&&(_0x5b4142=_0xea68bd);const _0x5531ca=_0x1ebd1d[_0x5dc98e(0x15c)](_0x352b16,_0x5b4142);if(_0x4dda6c[_0x5dc98e(0x296)](_0x5531ca))throw new SyntaxError(_0x5dc98e(0x2de)+_0x5531ca+_0x5dc98e(0x2b5));_0x4dda6c[_0x5dc98e(0x2bb)](_0x5531ca),_0x352b16=_0x5b4142=-0x1;}else throw new SyntaxError(_0x5dc98e(0x2c4)+_0xea68bd);}}}if(_0x352b16===-0x1||_0x5b4142!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x3af743=_0x1ebd1d[_0x5dc98e(0x15c)](_0x352b16,_0xea68bd);if(_0x4dda6c[_0x5dc98e(0x296)](_0x3af743))throw new SyntaxError(_0x5dc98e(0x2de)+_0x3af743+'\x22\x20subprotocol\x20is\x20duplicated');return _0x4dda6c[_0x5dc98e(0x2bb)](_0x3af743),_0x4dda6c;}return Ce={'parse':_0x1284b3},Ce;}var Te,rt;function Ft(){const _0xdc484b=_0x41e9f5;if(rt)return Te;rt=0x1;const _0x66b0dc=nt,_0x4d2f4f=ot,{Duplex:_0x13e41a}=oe,{createHash:_0x4596d6}=Le,_0x1abe78=ct(),_0x1aab97=he(),_0x283381=At(),_0x561f8f=Pe(),{GUID:_0x239ee7,kWebSocket:_0x2fb2d9}=H(),_0x1cdb07=/^[+/0-9A-Za-z]{22}==$/,_0x44c496=0x0,_0x3c9c38=0x1,_0x1963c6=0x2;class _0x207a46 extends _0x66b0dc{constructor(_0x38f855,_0x48732a){const _0x56628b=_0x4406;if(super(),_0x38f855={'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':_0x561f8f,..._0x38f855},_0x38f855[_0x56628b(0x18d)]==null&&!_0x38f855[_0x56628b(0x14a)]&&!_0x38f855[_0x56628b(0x16e)]||_0x38f855[_0x56628b(0x18d)]!=null&&(_0x38f855[_0x56628b(0x14a)]||_0x38f855[_0x56628b(0x16e)])||_0x38f855[_0x56628b(0x14a)]&&_0x38f855[_0x56628b(0x16e)])throw new TypeError(_0x56628b(0x286));if(_0x38f855[_0x56628b(0x18d)]!=null?(this[_0x56628b(0x2b9)]=_0x4d2f4f['createServer']((_0x4f2b9f,_0x49fb2f)=>{const _0x1032da=_0x56628b,_0x5a74ee=_0x4d2f4f[_0x1032da(0x22f)][0x1aa];_0x49fb2f[_0x1032da(0x2f5)](0x1aa,{'Content-Length':_0x5a74ee[_0x1032da(0x28a)],'Content-Type':_0x1032da(0x15b)}),_0x49fb2f[_0x1032da(0x257)](_0x5a74ee);}),this[_0x56628b(0x2b9)][_0x56628b(0x213)](_0x38f855[_0x56628b(0x18d)],_0x38f855[_0x56628b(0x1f9)],_0x38f855[_0x56628b(0x211)],_0x48732a)):_0x38f855[_0x56628b(0x14a)]&&(this[_0x56628b(0x2b9)]=_0x38f855[_0x56628b(0x14a)]),this[_0x56628b(0x2b9)]){const _0x1c0ced=this['emit']['bind'](this,_0x56628b(0x2bd));this[_0x56628b(0x1ad)]=_0x3a02fe(this[_0x56628b(0x2b9)],{'listening':this[_0x56628b(0x2d0)][_0x56628b(0x2d3)](this,'listening'),'error':this['emit'][_0x56628b(0x2d3)](this,_0x56628b(0x1c4)),'upgrade':(_0x58fe58,_0x176d68,_0x10da60)=>{const _0xacf7b5=_0x56628b;this[_0xacf7b5(0x195)](_0x58fe58,_0x176d68,_0x10da60,_0x1c0ced);}});}_0x38f855['perMessageDeflate']===!0x0&&(_0x38f855[_0x56628b(0x22c)]={}),_0x38f855[_0x56628b(0x17b)]&&(this[_0x56628b(0x2cc)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x56628b(0x2ad)]=_0x38f855,this[_0x56628b(0x1ea)]=_0x44c496;}[_0xdc484b(0x1bb)](){const _0x299992=_0xdc484b;if(this[_0x299992(0x2ad)][_0x299992(0x16e)])throw new Error(_0x299992(0x272));return this['_server']?this[_0x299992(0x2b9)]['address']():null;}[_0xdc484b(0x2ea)](_0x23a972){const _0x107187=_0xdc484b;if(this[_0x107187(0x1ea)]===_0x1963c6){_0x23a972&&this[_0x107187(0x2ae)](_0x107187(0x2ea),()=>{const _0x6b4e7d=_0x107187;_0x23a972(new Error(_0x6b4e7d(0x21f)));}),process[_0x107187(0x190)](_0x5a62c3,this);return;}if(_0x23a972&&this[_0x107187(0x2ae)](_0x107187(0x2ea),_0x23a972),this['_state']!==_0x3c9c38){if(this['_state']=_0x3c9c38,this[_0x107187(0x2ad)][_0x107187(0x16e)]||this['options'][_0x107187(0x14a)])this[_0x107187(0x2b9)]&&(this[_0x107187(0x1ad)](),this[_0x107187(0x1ad)]=this[_0x107187(0x2b9)]=null),this['clients']?this[_0x107187(0x2cc)]['size']?this[_0x107187(0x198)]=!0x0:process[_0x107187(0x190)](_0x5a62c3,this):process[_0x107187(0x190)](_0x5a62c3,this);else{const _0x4264c9=this[_0x107187(0x2b9)];this['_removeListeners'](),this[_0x107187(0x1ad)]=this[_0x107187(0x2b9)]=null,_0x4264c9[_0x107187(0x2ea)](()=>{_0x5a62c3(this);});}}}[_0xdc484b(0x1df)](_0x4825ab){const _0x34c5fb=_0xdc484b;if(this[_0x34c5fb(0x2ad)][_0x34c5fb(0x300)]){const _0x34ccfb=_0x4825ab[_0x34c5fb(0x2ec)][_0x34c5fb(0x26f)]('?');if((_0x34ccfb!==-0x1?_0x4825ab[_0x34c5fb(0x2ec)]['slice'](0x0,_0x34ccfb):_0x4825ab[_0x34c5fb(0x2ec)])!==this[_0x34c5fb(0x2ad)][_0x34c5fb(0x300)])return!0x1;}return!0x0;}['handleUpgrade'](_0x33840d,_0x429377,_0x3aeb4f,_0x3b511e){const _0x5a7738=_0xdc484b;_0x429377['on'](_0x5a7738(0x1c4),_0x146a59);const _0x491a72=_0x33840d[_0x5a7738(0x1a1)][_0x5a7738(0x23a)],_0x1413c2=_0x33840d[_0x5a7738(0x1a1)][_0x5a7738(0x29f)],_0x167498=+_0x33840d[_0x5a7738(0x1a1)]['sec-websocket-version'];if(_0x33840d['method']!==_0x5a7738(0x172)){_0x5e51fa(this,_0x33840d,_0x429377,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1413c2===void 0x0||_0x1413c2['toLowerCase']()!=='websocket'){_0x5e51fa(this,_0x33840d,_0x429377,0x190,_0x5a7738(0x2ff));return;}if(_0x491a72===void 0x0||!_0x1cdb07[_0x5a7738(0x1db)](_0x491a72)){_0x5e51fa(this,_0x33840d,_0x429377,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x167498!==0xd&&_0x167498!==0x8){_0x5e51fa(this,_0x33840d,_0x429377,0x190,_0x5a7738(0x260),{'Sec-WebSocket-Version':_0x5a7738(0x26c)});return;}if(!this[_0x5a7738(0x1df)](_0x33840d)){_0x4d9aa6(_0x429377,0x190);return;}const _0x4b9e66=_0x33840d[_0x5a7738(0x1a1)][_0x5a7738(0x215)];let _0x5a2b8a=new Set();if(_0x4b9e66!==void 0x0)try{_0x5a2b8a=_0x283381[_0x5a7738(0x266)](_0x4b9e66);}catch{_0x5e51fa(this,_0x33840d,_0x429377,0x190,_0x5a7738(0x1e4));return;}const _0x1dcbc1=_0x33840d['headers'][_0x5a7738(0x2fb)],_0x4613a0={};if(this['options'][_0x5a7738(0x22c)]&&_0x1dcbc1!==void 0x0){const _0x2e26c8=new _0x1aab97(this[_0x5a7738(0x2ad)][_0x5a7738(0x22c)],!0x0,this[_0x5a7738(0x2ad)][_0x5a7738(0x284)]);try{const _0x5ba200=_0x1abe78[_0x5a7738(0x266)](_0x1dcbc1);_0x5ba200[_0x1aab97['extensionName']]&&(_0x2e26c8['accept'](_0x5ba200[_0x1aab97[_0x5a7738(0x2cf)]]),_0x4613a0[_0x1aab97[_0x5a7738(0x2cf)]]=_0x2e26c8);}catch{_0x5e51fa(this,_0x33840d,_0x429377,0x190,_0x5a7738(0x2c0));return;}}if(this['options'][_0x5a7738(0x1cb)]){const _0x2ddbb9={'origin':_0x33840d[_0x5a7738(0x1a1)][''+(_0x167498===0x8?_0x5a7738(0x2fd):_0x5a7738(0x1b3))],'secure':!!(_0x33840d[_0x5a7738(0x14b)]['authorized']||_0x33840d[_0x5a7738(0x14b)][_0x5a7738(0x2a5)]),'req':_0x33840d};if(this['options']['verifyClient']['length']===0x2){this['options'][_0x5a7738(0x1cb)](_0x2ddbb9,(_0x1b5477,_0x147226,_0x247c6e,_0x35aef0)=>{const _0x3658e2=_0x5a7738;if(!_0x1b5477)return _0x4d9aa6(_0x429377,_0x147226||0x191,_0x247c6e,_0x35aef0);this[_0x3658e2(0x229)](_0x4613a0,_0x491a72,_0x5a2b8a,_0x33840d,_0x429377,_0x3aeb4f,_0x3b511e);});return;}if(!this['options']['verifyClient'](_0x2ddbb9))return _0x4d9aa6(_0x429377,0x191);}this[_0x5a7738(0x229)](_0x4613a0,_0x491a72,_0x5a2b8a,_0x33840d,_0x429377,_0x3aeb4f,_0x3b511e);}[_0xdc484b(0x229)](_0x21f034,_0x2b6e2a,_0x5e7917,_0x2a9772,_0x46d2c2,_0x33d481,_0x15b3a9){const _0x15c465=_0xdc484b;if(!_0x46d2c2[_0x15c465(0x165)]||!_0x46d2c2[_0x15c465(0x2d7)])return _0x46d2c2[_0x15c465(0x1b0)]();if(_0x46d2c2[_0x2fb2d9])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x15c465(0x1ea)]>_0x44c496)return _0x4d9aa6(_0x46d2c2,0x1f7);const _0x5dcaa9=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x15c465(0x1f3),'Connection:\x20Upgrade',_0x15c465(0x1d0)+_0x4596d6('sha1')[_0x15c465(0x223)](_0x2b6e2a+_0x239ee7)[_0x15c465(0x14f)](_0x15c465(0x189))],_0x4002e7=new this[(_0x15c465(0x2ad))][(_0x15c465(0x2fc))](null,void 0x0,this[_0x15c465(0x2ad)]);if(_0x5e7917[_0x15c465(0x205)]){const _0x319934=this['options']['handleProtocols']?this[_0x15c465(0x2ad)][_0x15c465(0x2e6)](_0x5e7917,_0x2a9772):_0x5e7917[_0x15c465(0x1ac)]()[_0x15c465(0x2e2)]()[_0x15c465(0x1e1)];_0x319934&&(_0x5dcaa9[_0x15c465(0x18a)](_0x15c465(0x2b6)+_0x319934),_0x4002e7[_0x15c465(0x2fa)]=_0x319934);}if(_0x21f034[_0x1aab97[_0x15c465(0x2cf)]]){const _0x91c3a1=_0x21f034[_0x1aab97[_0x15c465(0x2cf)]]['params'],_0x3bd0c9=_0x1abe78[_0x15c465(0x209)]({[_0x1aab97[_0x15c465(0x2cf)]]:[_0x91c3a1]});_0x5dcaa9[_0x15c465(0x18a)](_0x15c465(0x287)+_0x3bd0c9),_0x4002e7[_0x15c465(0x15f)]=_0x21f034;}this[_0x15c465(0x2d0)](_0x15c465(0x1a1),_0x5dcaa9,_0x2a9772),_0x46d2c2['write'](_0x5dcaa9[_0x15c465(0x164)]('\x0d\x0a')['join']('\x0d\x0a')),_0x46d2c2[_0x15c465(0x277)](_0x15c465(0x1c4),_0x146a59),_0x4002e7['setSocket'](_0x46d2c2,_0x33d481,{'allowSynchronousEvents':this[_0x15c465(0x2ad)]['allowSynchronousEvents'],'maxPayload':this[_0x15c465(0x2ad)][_0x15c465(0x284)],'skipUTF8Validation':this[_0x15c465(0x2ad)][_0x15c465(0x150)]}),this[_0x15c465(0x2cc)]&&(this[_0x15c465(0x2cc)][_0x15c465(0x2bb)](_0x4002e7),_0x4002e7['on'](_0x15c465(0x2ea),()=>{const _0x2a7dfb=_0x15c465;this[_0x2a7dfb(0x2cc)]['delete'](_0x4002e7),this[_0x2a7dfb(0x198)]&&!this['clients'][_0x2a7dfb(0x205)]&&process[_0x2a7dfb(0x190)](_0x5a62c3,this);})),_0x15b3a9(_0x4002e7,_0x2a9772);}}Te=_0x207a46;function _0x3a02fe(_0x36302b,_0x36ba0f){const _0x44b3e0=_0xdc484b;for(const _0x4a17c9 of Object[_0x44b3e0(0x2da)](_0x36ba0f))_0x36302b['on'](_0x4a17c9,_0x36ba0f[_0x4a17c9]);return function(){const _0x25224a=_0x44b3e0;for(const _0x4fa9ca of Object[_0x25224a(0x2da)](_0x36ba0f))_0x36302b[_0x25224a(0x277)](_0x4fa9ca,_0x36ba0f[_0x4fa9ca]);};}function _0x5a62c3(_0x267299){const _0x3f12c1=_0xdc484b;_0x267299[_0x3f12c1(0x1ea)]=_0x1963c6,_0x267299['emit']('close');}function _0x146a59(){this['destroy']();}function _0x4d9aa6(_0x1f8549,_0x2d7966,_0x7c4253,_0x5e8883){const _0x3c1ac3=_0xdc484b;_0x7c4253=_0x7c4253||_0x4d2f4f[_0x3c1ac3(0x22f)][_0x2d7966],_0x5e8883={'Connection':_0x3c1ac3(0x2ea),'Content-Type':_0x3c1ac3(0x21c),'Content-Length':Buffer['byteLength'](_0x7c4253),..._0x5e8883},_0x1f8549[_0x3c1ac3(0x2ae)](_0x3c1ac3(0x2d2),_0x1f8549[_0x3c1ac3(0x1b0)]),_0x1f8549[_0x3c1ac3(0x257)]('HTTP/1.1\x20'+_0x2d7966+'\x20'+_0x4d2f4f[_0x3c1ac3(0x22f)][_0x2d7966]+'\x0d\x0a'+Object[_0x3c1ac3(0x2da)](_0x5e8883)[_0x3c1ac3(0x1ce)](_0x41cb06=>_0x41cb06+':\x20'+_0x5e8883[_0x41cb06])['join']('\x0d\x0a')+_0x3c1ac3(0x236)+_0x7c4253);}function _0x5e51fa(_0x3d9aaa,_0x264861,_0x4ab901,_0x124ea2,_0x2c39ef,_0x7dbe0e){const _0x26983c=_0xdc484b;if(_0x3d9aaa[_0x26983c(0x1be)](_0x26983c(0x18f))){const _0x2936c6=new Error(_0x2c39ef);Error['captureStackTrace'](_0x2936c6,_0x5e51fa),_0x3d9aaa[_0x26983c(0x2d0)](_0x26983c(0x18f),_0x2936c6,_0x4ab901,_0x264861);}else _0x4d9aa6(_0x4ab901,_0x124ea2,_0x2c39ef,_0x7dbe0e);}return Te;}Ft();var jt=Object[_0x41e9f5(0x308)],Wt=(_0x454775,_0x1c440a,_0x255623,_0x18d1aa)=>{for(var _0x4aca06=_0x18d1aa>0x1?void 0x0:_0x18d1aa?jt(_0x1c440a,_0x255623):_0x1c440a,_0x803000=_0x454775['length']-0x1,_0x478cf3;_0x803000>=0x0;_0x803000--)(_0x478cf3=_0x454775[_0x803000])&&(_0x4aca06=_0x478cf3(_0x4aca06)||_0x4aca06);return _0x4aca06;},qt=(_0x4a22be,_0x428b0c)=>(_0x539d11,_0x754728)=>_0x428b0c(_0x539d11,_0x754728,_0x4a22be);let ke=class extends A[_0x41e9f5(0x2af)]{constructor(_0x26e1d1){const _0xea7fd2=_0x41e9f5;super(),this[_0xea7fd2(0x1b4)]=_0x26e1d1;}[_0x41e9f5(0x2ac)](_0x52abc7){const _0x1bb83b=_0x41e9f5;var _0x3f5a3a;const _0x44dae7=(_0x3f5a3a=this['_configService'][_0x1bb83b(0x1d5)](fe))==null?void 0x0:_0x3f5a3a[_0x1bb83b(0x220)];try{const _0x304581=new $t(_0x52abc7,{'headers':{..._0x44dae7}}),_0x923fb1=new A[(_0x1bb83b(0x1dd))]();return{'URL':_0x52abc7,'close':(_0x5a607b,_0x18f28e)=>{const _0x5e7b76=_0x1bb83b;_0x304581[_0x5e7b76(0x2ea)](_0x5a607b,_0x18f28e),_0x923fb1['dispose']();},'send':_0x423c77=>{_0x304581['send'](_0x423c77);},'open$':new V['Observable'](_0x12989c=>{const _0x1431ce=_0x1bb83b,_0xa8b9b4=_0x4f9190=>_0x12989c[_0x1431ce(0x2e2)](_0x4f9190);_0x304581[_0x1431ce(0x1a7)](_0x1431ce(0x1f6),_0xa8b9b4),_0x923fb1['add'](A[_0x1431ce(0x212)](()=>_0x304581[_0x1431ce(0x1bf)]('open',_0xa8b9b4)));})[_0x1bb83b(0x247)](V['share']()),'close$':new V[(_0x1bb83b(0x2a9))](_0x3b0b2b=>{const _0xa3f1aa=_0x1bb83b,_0x29b656=_0xdeab17=>_0x3b0b2b['next'](_0xdeab17);_0x304581[_0xa3f1aa(0x1a7)](_0xa3f1aa(0x2ea),_0x29b656),_0x923fb1[_0xa3f1aa(0x2bb)](A[_0xa3f1aa(0x212)](()=>_0x304581[_0xa3f1aa(0x1bf)]('close',_0x29b656)));})['pipe'](V[_0x1bb83b(0x243)]()),'error$':new V[(_0x1bb83b(0x2a9))](_0x559c05=>{const _0x5b4bee=_0x1bb83b,_0x5a5812=_0x41d175=>_0x559c05[_0x5b4bee(0x2e2)](_0x41d175);_0x304581['addEventListener'](_0x5b4bee(0x1c4),_0x5a5812),_0x923fb1[_0x5b4bee(0x2bb)](A[_0x5b4bee(0x212)](()=>_0x304581[_0x5b4bee(0x1bf)]('error',_0x5a5812)));})['pipe'](V[_0x1bb83b(0x243)]()),'message$':new V[(_0x1bb83b(0x2a9))](_0x4b7e42=>{const _0x36d3a2=_0x1bb83b,_0x8306e6=_0x149fb6=>_0x4b7e42[_0x36d3a2(0x2e2)](_0x149fb6);_0x304581[_0x36d3a2(0x1a7)](_0x36d3a2(0x29c),_0x8306e6),_0x923fb1[_0x36d3a2(0x2bb)](A['toDisposable'](()=>_0x304581['removeEventListener']('message',_0x8306e6)));})[_0x1bb83b(0x247)](V[_0x1bb83b(0x243)]())};}catch(_0x326a96){return console[_0x1bb83b(0x1c4)](_0x326a96),null;}}};ke=Wt([qt(0x0,A[_0x41e9f5(0x221)])],ke);var Gt=Object[_0x41e9f5(0x217)],Vt=Object[_0x41e9f5(0x308)],Ht=(_0x5eb8dd,_0x59fb21,_0x3f57b8)=>_0x59fb21 in _0x5eb8dd?Gt(_0x5eb8dd,_0x59fb21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f57b8}):_0x5eb8dd[_0x59fb21]=_0x3f57b8,zt=(_0x335255,_0x304161,_0x3140ae,_0x39a4e1)=>{for(var _0x3daedd=_0x39a4e1>0x1?void 0x0:_0x39a4e1?Vt(_0x304161,_0x3140ae):_0x304161,_0x282cd5=_0x335255['length']-0x1,_0x462fcc;_0x282cd5>=0x0;_0x282cd5--)(_0x462fcc=_0x335255[_0x282cd5])&&(_0x3daedd=_0x462fcc(_0x3daedd)||_0x3daedd);return _0x3daedd;},Ne=(_0x36d349,_0x2b410c)=>(_0x26d22a,_0x3e2268)=>_0x2b410c(_0x26d22a,_0x3e2268,_0x36d349),Yt=(_0x575492,_0x376b7f,_0x2fa104)=>Ht(_0x575492,_0x376b7f+'',_0x2fa104);exports[_0x41e9f5(0x20d)]=class extends A[_0x41e9f5(0x2be)]{constructor(_0x44a022=Ct,_0x4bdccb,_0x638cdb,_0x3350a1){const _0x101d9c=_0x41e9f5;_0x44a022[_0x101d9c(0x220)]||_0x4bdccb['warn'](_0x101d9c(0x18e)),super(),this['_configService']=_0x638cdb,this[_0x101d9c(0x1cd)]=_0x3350a1,this['_configService'][_0x101d9c(0x22a)](fe,_0x44a022);}[_0x41e9f5(0x27f)](){this['_registerDependencies']();}[_0x41e9f5(0x168)](){const _0x115746=_0x41e9f5;A[_0x115746(0x20b)](this[_0x115746(0x1cd)],[[it[_0x115746(0x2a1)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x41e9f5(0x22e),_0x41e9f5(0x160)),exports[_0x41e9f5(0x20d)]=zt([A[_0x41e9f5(0x2f2)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x41e9f5(0x27b)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x41e9f5(0x224)](A[_0x41e9f5(0x1b7)]))],exports[_0x41e9f5(0x20d)]);var Kt=Object[_0x41e9f5(0x308)],Xt=(_0x38848f,_0xcd44dd,_0x4ac79c,_0x2094bf)=>{const _0x1a6c9a=_0x41e9f5;for(var _0x4f711e=_0x2094bf>0x1?void 0x0:_0x2094bf?Kt(_0xcd44dd,_0x4ac79c):_0xcd44dd,_0x5e125b=_0x38848f[_0x1a6c9a(0x28a)]-0x1,_0x231691;_0x5e125b>=0x0;_0x5e125b--)(_0x231691=_0x38848f[_0x5e125b])&&(_0x4f711e=_0x231691(_0x4f711e)||_0x4f711e);return _0x4f711e;},ne=(_0x2a1d1f,_0x5842d2)=>(_0x41c06c,_0x177b17)=>_0x5842d2(_0x41c06c,_0x177b17,_0x2a1d1f);exports['NodeCollaborationSocketService']=class extends st[_0x41e9f5(0x2a7)]{constructor(_0x20aa54,_0x1f8a49,_0x12ebc0,_0x4f6322,_0x49ac32){const _0x50ab62=_0x41e9f5;super(_0x20aa54,_0x1f8a49,_0x12ebc0,_0x4f6322,_0x49ac32);const _0xb801c3=this['_configService']['getConfig'](fe);this[_0x50ab62(0x23b)][_0x50ab62(0x250)]({'interceptor':(_0x574022,_0xdb2863)=>{const _0xc51f80=_0x50ab62;var _0x24b769;const _0x4d486f=_0x574022[_0xc51f80(0x1a1)];return(_0x24b769=_0xb801c3==null?void 0x0:_0xb801c3['customHeaders'])!=null&&_0x24b769[_0xc51f80(0x1f4)]&&_0x4d486f[_0xc51f80(0x218)](_0xc51f80(0x268),_0xb801c3[_0xc51f80(0x220)][_0xc51f80(0x1f4)]),_0xdb2863(_0x574022);}});}async['createSocket'](_0x470d88){const _0x241ab8=_0x41e9f5;return this[_0x241ab8(0x24b)](_0x470d88);}},exports[_0x41e9f5(0x14d)]=Xt([ne(0x0,A[_0x41e9f5(0x224)](A['Injector'])),ne(0x1,A['Inject'](it[_0x41e9f5(0x1a4)])),ne(0x2,A[_0x41e9f5(0x221)]),ne(0x3,A[_0x41e9f5(0x27b)]),ne(0x4,Ot[_0x41e9f5(0x173)])],exports[_0x41e9f5(0x14d)]),exports[_0x41e9f5(0x17a)]=fe;
|