@univerjs-pro/collaboration-client-node 0.10.14-nightly.202511070628 → 0.10.14-nightly.202511070939
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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xc1de09=_0x4f4c;(function(_0x36968b,_0x5f3883){const _0xef265c=_0x4f4c,_0x1a4c29=_0x36968b();while(!![]){try{const _0x2774f1=parseInt(_0xef265c(0x1ee))/0x1*(parseInt(_0xef265c(0x20f))/0x2)+-parseInt(_0xef265c(0x26f))/0x3+parseInt(_0xef265c(0x1bd))/0x4+-parseInt(_0xef265c(0x1bc))/0x5+parseInt(_0xef265c(0x21a))/0x6+parseInt(_0xef265c(0x2d3))/0x7+parseInt(_0xef265c(0x1ad))/0x8*(parseInt(_0xef265c(0x2a8))/0x9);if(_0x2774f1===_0x5f3883)break;else _0x1a4c29['push'](_0x1a4c29['shift']());}catch(_0x341104){_0x1a4c29['push'](_0x1a4c29['shift']());}}}(_0x31ca,0x8d7c7));import{UniverCollaborationClientPlugin as _0x58bf50,CollaborationSocketService as _0x31ab9d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x257079,DisposableCollection as _0x1b32ec,toDisposable as _0x27d04b,IConfigService as _0x4511ad,DependentOn as _0x29d93b,ILogService as _0x6de682,Inject as _0xf0757c,Injector as _0x11ada6,Plugin as _0x406ba2,registerDependencies as _0x1701bc}from'@univerjs/core';import{ISocketService as _0x4353b6,HTTPService as _0xd8023c}from'@univerjs/network';import{Observable as _0x5c63c9,share as _0x58c5c3}from'rxjs';import _0x582a84 from'events';import _0x4ef948 from'https';import _0x5e30a9 from'http';import _0x124718 from'net';import _0x5fd690 from'tls';import _0x1afa45 from'crypto';import _0x268d1b from'stream';import _0x3710c3 from'url';import _0x28a2fc from'zlib';import _0x1953e5 from'buffer';import{ISnapshotServerService as _0x502b4d}from'@univerjs-pro/collaboration';const Be=_0xc1de09(0x1e3),Ft={'customHeaders':{}};function Wt(_0x3584e5){const _0x43dea1=_0xc1de09;return _0x3584e5&&_0x3584e5[_0x43dea1(0x201)]&&Object['prototype'][_0x43dea1(0x1c2)][_0x43dea1(0x1b4)](_0x3584e5,_0x43dea1(0x203))?_0x3584e5[_0x43dea1(0x203)]:_0x3584e5;}function ut(_0x2762fa){const _0x3b5a27=_0xc1de09;if(Object[_0x3b5a27(0x1a6)][_0x3b5a27(0x1c2)][_0x3b5a27(0x1b4)](_0x2762fa,_0x3b5a27(0x201)))return _0x2762fa;var _0x3c20e0=_0x2762fa[_0x3b5a27(0x203)];if(typeof _0x3c20e0==_0x3b5a27(0x2ff)){var _0x523d95=function _0x362ef4(){const _0x428016=_0x3b5a27;var _0x1575d9=!0x1;try{_0x1575d9=this instanceof _0x362ef4;}catch{}return _0x1575d9?Reflect[_0x428016(0x2f8)](_0x3c20e0,arguments,this[_0x428016(0x1d1)]):_0x3c20e0[_0x428016(0x2fe)](this,arguments);};_0x523d95[_0x3b5a27(0x1a6)]=_0x3c20e0[_0x3b5a27(0x1a6)];}else _0x523d95={};return Object[_0x3b5a27(0x271)](_0x523d95,'__esModule',{'value':!0x0}),Object[_0x3b5a27(0x1c6)](_0x2762fa)[_0x3b5a27(0x1af)](function(_0xff8f0b){const _0x525684=_0x3b5a27;var _0x54d553=Object['getOwnPropertyDescriptor'](_0x2762fa,_0xff8f0b);Object[_0x525684(0x271)](_0x523d95,_0xff8f0b,_0x54d553[_0x525684(0x1b2)]?_0x54d553:{'enumerable':!0x0,'get':function(){return _0x2762fa[_0xff8f0b];}});}),_0x523d95;}var te={'exports':{}},ge,Ye;function V(){const _0x31128d=_0xc1de09;if(Ye)return ge;Ye=0x1;const _0x4836cb=[_0x31128d(0x2f0),_0x31128d(0x2ce),_0x31128d(0x2f1)],_0x3593f3=typeof Blob<'u';return _0x3593f3&&_0x4836cb[_0x31128d(0x17b)]('blob'),ge={'BINARY_TYPES':_0x4836cb,'EMPTY_BUFFER':Buffer[_0x31128d(0x2a3)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3593f3,'kForOnEventAttribute':Symbol(_0x31128d(0x198)),'kListener':Symbol(_0x31128d(0x2f9)),'kStatusCode':Symbol(_0x31128d(0x2b0)),'kWebSocket':Symbol(_0x31128d(0x242)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0xc1de09(0x2b5)](Object[_0xc1de09(0x271)]({'__proto__':null,'default':jt},Symbol[_0xc1de09(0x297)],{'value':_0xc1de09(0x1e0)})),Vt=ut(Gt);var Ke;function ce(){const _0x2c94af=_0xc1de09;if(Ke)return te[_0x2c94af(0x188)];Ke=0x1;const {EMPTY_BUFFER:_0x242435}=V(),_0x5bf918=Buffer[Symbol[_0x2c94af(0x2ad)]];function _0x556f08(_0x35610a,_0x5dd6ab){const _0x236623=_0x2c94af;if(_0x35610a['length']===0x0)return _0x242435;if(_0x35610a[_0x236623(0x28c)]===0x1)return _0x35610a[0x0];const _0x329630=Buffer['allocUnsafe'](_0x5dd6ab);let _0x3f5aa7=0x0;for(let _0x4b203e=0x0;_0x4b203e<_0x35610a[_0x236623(0x28c)];_0x4b203e++){const _0x55dc1f=_0x35610a[_0x4b203e];_0x329630[_0x236623(0x158)](_0x55dc1f,_0x3f5aa7),_0x3f5aa7+=_0x55dc1f[_0x236623(0x28c)];}return _0x3f5aa7<_0x5dd6ab?new _0x5bf918(_0x329630[_0x236623(0x16f)],_0x329630[_0x236623(0x153)],_0x3f5aa7):_0x329630;}function _0x230da0(_0x673d3,_0x4b98ad,_0x28b4e1,_0x37668d,_0x5c0263){for(let _0x314bd5=0x0;_0x314bd5<_0x5c0263;_0x314bd5++)_0x28b4e1[_0x37668d+_0x314bd5]=_0x673d3[_0x314bd5]^_0x4b98ad[_0x314bd5&0x3];}function _0x4e4eb9(_0x599d9f,_0x14b9fe){const _0x385785=_0x2c94af;for(let _0x1feced=0x0;_0x1feced<_0x599d9f[_0x385785(0x28c)];_0x1feced++)_0x599d9f[_0x1feced]^=_0x14b9fe[_0x1feced&0x3];}function _0x422355(_0x3c9594){const _0x8edf33=_0x2c94af;return _0x3c9594['length']===_0x3c9594[_0x8edf33(0x16f)][_0x8edf33(0x231)]?_0x3c9594['buffer']:_0x3c9594[_0x8edf33(0x16f)][_0x8edf33(0x18e)](_0x3c9594[_0x8edf33(0x153)],_0x3c9594[_0x8edf33(0x153)]+_0x3c9594['length']);}function _0x288cb0(_0x2b1a4d){const _0x18fdba=_0x2c94af;if(_0x288cb0[_0x18fdba(0x250)]=!0x0,Buffer[_0x18fdba(0x215)](_0x2b1a4d))return _0x2b1a4d;let _0x8b6785;return _0x2b1a4d instanceof ArrayBuffer?_0x8b6785=new _0x5bf918(_0x2b1a4d):ArrayBuffer[_0x18fdba(0x251)](_0x2b1a4d)?_0x8b6785=new _0x5bf918(_0x2b1a4d[_0x18fdba(0x16f)],_0x2b1a4d[_0x18fdba(0x153)],_0x2b1a4d[_0x18fdba(0x231)]):(_0x8b6785=Buffer['from'](_0x2b1a4d),_0x288cb0[_0x18fdba(0x250)]=!0x1),_0x8b6785;}if(te['exports']={'concat':_0x556f08,'mask':_0x230da0,'toArrayBuffer':_0x422355,'toBuffer':_0x288cb0,'unmask':_0x4e4eb9},!process['env'][_0x2c94af(0x1e4)])try{const _0x306893=Vt;te[_0x2c94af(0x188)][_0x2c94af(0x18c)]=function(_0x4ba50a,_0x48799a,_0x20351b,_0x547414,_0x5d5d56){_0x5d5d56<0x30?_0x230da0(_0x4ba50a,_0x48799a,_0x20351b,_0x547414,_0x5d5d56):_0x306893['mask'](_0x4ba50a,_0x48799a,_0x20351b,_0x547414,_0x5d5d56);},te[_0x2c94af(0x188)][_0x2c94af(0x20d)]=function(_0x5e9fce,_0x573b2c){const _0x16a64a=_0x2c94af;_0x5e9fce['length']<0x20?_0x4e4eb9(_0x5e9fce,_0x573b2c):_0x306893[_0x16a64a(0x20d)](_0x5e9fce,_0x573b2c);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x4a407c=_0xc1de09;if(Xe)return ye;Xe=0x1;const _0x4b8b8c=Symbol(_0x4a407c(0x263)),_0x1802fe=Symbol(_0x4a407c(0x264));class _0x8fbb01{constructor(_0x120169){const _0x1c75ce=_0x4a407c;this[_0x4b8b8c]=()=>{const _0x7a0b6d=_0x4f4c;this[_0x7a0b6d(0x2e3)]--,this[_0x1802fe]();},this['concurrency']=_0x120169||0x1/0x0,this[_0x1c75ce(0x285)]=[],this[_0x1c75ce(0x2e3)]=0x0;}[_0x4a407c(0x1f1)](_0xedbff3){const _0x2c5c9c=_0x4a407c;this['jobs'][_0x2c5c9c(0x17b)](_0xedbff3),this[_0x1802fe]();}[_0x1802fe](){const _0x457a51=_0x4a407c;if(this[_0x457a51(0x2e3)]!==this[_0x457a51(0x180)]&&this[_0x457a51(0x285)][_0x457a51(0x28c)]){const _0x140acf=this['jobs'][_0x457a51(0x20a)]();this[_0x457a51(0x2e3)]++,_0x140acf(this[_0x4b8b8c]);}}}return ye=_0x8fbb01,ye;}var ve,Ze;function he(){const _0x3b2e96=_0xc1de09;if(Ze)return ve;Ze=0x1;const _0x1d8958=_0x28a2fc,_0x5dcfeb=ce(),_0x48c750=qt(),{kStatusCode:_0x167cb5}=V(),_0x2a84e7=Buffer[Symbol['species']],_0x174d89=Buffer['from']([0x0,0x0,0xff,0xff]),_0x44617a=Symbol(_0x3b2e96(0x2e9)),_0x404ad0=Symbol(_0x3b2e96(0x154)),_0x5f2d39=Symbol('callback'),_0x36b7ec=Symbol(_0x3b2e96(0x1e8)),_0x2e779c=Symbol(_0x3b2e96(0x166));let _0x38c18e;class _0x465d59{constructor(_0x23d569,_0x4a4b6d,_0x2b74cd){const _0x4de8c1=_0x3b2e96;if(this[_0x4de8c1(0x195)]=_0x2b74cd|0x0,this['_options']=_0x23d569||{},this[_0x4de8c1(0x2d1)]=this['_options'][_0x4de8c1(0x1fd)]!==void 0x0?this[_0x4de8c1(0x218)]['threshold']:0x400,this[_0x4de8c1(0x23e)]=!!_0x4a4b6d,this['_deflate']=null,this[_0x4de8c1(0x26d)]=null,this[_0x4de8c1(0x255)]=null,!_0x38c18e){const _0x268e5f=this[_0x4de8c1(0x218)][_0x4de8c1(0x2c3)]!==void 0x0?this[_0x4de8c1(0x218)][_0x4de8c1(0x2c3)]:0xa;_0x38c18e=new _0x48c750(_0x268e5f);}}static get[_0x3b2e96(0x22a)](){const _0x96ffdd=_0x3b2e96;return _0x96ffdd(0x2e9);}['offer'](){const _0x26affb=_0x3b2e96,_0x99048a={};return this[_0x26affb(0x218)]['serverNoContextTakeover']&&(_0x99048a[_0x26affb(0x20b)]=!0x0),this['_options'][_0x26affb(0x2ef)]&&(_0x99048a[_0x26affb(0x2ee)]=!0x0),this[_0x26affb(0x218)][_0x26affb(0x1c9)]&&(_0x99048a[_0x26affb(0x17d)]=this['_options'][_0x26affb(0x1c9)]),this['_options']['clientMaxWindowBits']?_0x99048a[_0x26affb(0x289)]=this[_0x26affb(0x218)][_0x26affb(0x208)]:this[_0x26affb(0x218)][_0x26affb(0x208)]==null&&(_0x99048a['client_max_window_bits']=!0x0),_0x99048a;}[_0x3b2e96(0x1ed)](_0x4e021f){const _0x183b57=_0x3b2e96;return _0x4e021f=this[_0x183b57(0x23b)](_0x4e021f),this[_0x183b57(0x255)]=this[_0x183b57(0x23e)]?this[_0x183b57(0x151)](_0x4e021f):this[_0x183b57(0x192)](_0x4e021f),this[_0x183b57(0x255)];}[_0x3b2e96(0x1dc)](){const _0x518d2a=_0x3b2e96;if(this[_0x518d2a(0x26d)]&&(this[_0x518d2a(0x26d)][_0x518d2a(0x25c)](),this[_0x518d2a(0x26d)]=null),this['_deflate']){const _0x2a6597=this[_0x518d2a(0x27f)][_0x5f2d39];this['_deflate'][_0x518d2a(0x25c)](),this[_0x518d2a(0x27f)]=null,_0x2a6597&&_0x2a6597(new Error(_0x518d2a(0x273)));}}[_0x3b2e96(0x151)](_0x5bb95b){const _0xf490f5=_0x3b2e96,_0x5b8720=this[_0xf490f5(0x218)],_0x4d22fc=_0x5bb95b[_0xf490f5(0x1df)](_0x303a8d=>!(_0x5b8720['serverNoContextTakeover']===!0x1&&_0x303a8d['server_no_context_takeover']||_0x303a8d[_0xf490f5(0x17d)]&&(_0x5b8720['serverMaxWindowBits']===!0x1||typeof _0x5b8720['serverMaxWindowBits']=='number'&&_0x5b8720[_0xf490f5(0x1c9)]>_0x303a8d[_0xf490f5(0x17d)])||typeof _0x5b8720[_0xf490f5(0x208)]==_0xf490f5(0x2f7)&&!_0x303a8d['client_max_window_bits']));if(!_0x4d22fc)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x5b8720[_0xf490f5(0x229)]&&(_0x4d22fc['server_no_context_takeover']=!0x0),_0x5b8720[_0xf490f5(0x2ef)]&&(_0x4d22fc[_0xf490f5(0x2ee)]=!0x0),typeof _0x5b8720[_0xf490f5(0x1c9)]==_0xf490f5(0x2f7)&&(_0x4d22fc[_0xf490f5(0x17d)]=_0x5b8720[_0xf490f5(0x1c9)]),typeof _0x5b8720[_0xf490f5(0x208)]==_0xf490f5(0x2f7)?_0x4d22fc[_0xf490f5(0x289)]=_0x5b8720['clientMaxWindowBits']:(_0x4d22fc[_0xf490f5(0x289)]===!0x0||_0x5b8720[_0xf490f5(0x208)]===!0x1)&&delete _0x4d22fc[_0xf490f5(0x289)],_0x4d22fc;}[_0x3b2e96(0x192)](_0x1270fd){const _0x3a2c5a=_0x3b2e96,_0xaf2489=_0x1270fd[0x0];if(this[_0x3a2c5a(0x218)][_0x3a2c5a(0x2ef)]===!0x1&&_0xaf2489[_0x3a2c5a(0x2ee)])throw new Error(_0x3a2c5a(0x2db));if(!_0xaf2489[_0x3a2c5a(0x289)])typeof this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)]=='number'&&(_0xaf2489[_0x3a2c5a(0x289)]=this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)]);else{if(this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)]===!0x1||typeof this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)]=='number'&&_0xaf2489[_0x3a2c5a(0x289)]>this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)])throw new Error(_0x3a2c5a(0x262));}return _0xaf2489;}[_0x3b2e96(0x23b)](_0x3ac85d){const _0x3f51e8=_0x3b2e96;return _0x3ac85d[_0x3f51e8(0x1af)](_0xc5821f=>{const _0x18f4cb=_0x3f51e8;Object[_0x18f4cb(0x1c6)](_0xc5821f)['forEach'](_0x348d56=>{const _0x214fa9=_0x18f4cb;let _0x40bd0c=_0xc5821f[_0x348d56];if(_0x40bd0c[_0x214fa9(0x28c)]>0x1)throw new Error(_0x214fa9(0x200)+_0x348d56+_0x214fa9(0x2cb));if(_0x40bd0c=_0x40bd0c[0x0],_0x348d56===_0x214fa9(0x289)){if(_0x40bd0c!==!0x0){const _0x402c2f=+_0x40bd0c;if(!Number['isInteger'](_0x402c2f)||_0x402c2f<0x8||_0x402c2f>0xf)throw new TypeError(_0x214fa9(0x1c5)+_0x348d56+_0x214fa9(0x2f4)+_0x40bd0c);_0x40bd0c=_0x402c2f;}else{if(!this['_isServer'])throw new TypeError(_0x214fa9(0x1c5)+_0x348d56+_0x214fa9(0x2f4)+_0x40bd0c);}}else{if(_0x348d56===_0x214fa9(0x17d)){const _0xd84661=+_0x40bd0c;if(!Number[_0x214fa9(0x1cf)](_0xd84661)||_0xd84661<0x8||_0xd84661>0xf)throw new TypeError(_0x214fa9(0x1c5)+_0x348d56+'\x22:\x20'+_0x40bd0c);_0x40bd0c=_0xd84661;}else{if(_0x348d56===_0x214fa9(0x2ee)||_0x348d56===_0x214fa9(0x20b)){if(_0x40bd0c!==!0x0)throw new TypeError(_0x214fa9(0x1c5)+_0x348d56+_0x214fa9(0x2f4)+_0x40bd0c);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x348d56+'\x22');}}_0xc5821f[_0x348d56]=_0x40bd0c;});}),_0x3ac85d;}[_0x3b2e96(0x18b)](_0x345e13,_0x2dec95,_0x1e7121){const _0x5e4ccc=_0x3b2e96;_0x38c18e[_0x5e4ccc(0x1f1)](_0x48c7ed=>{const _0x10720c=_0x5e4ccc;this[_0x10720c(0x275)](_0x345e13,_0x2dec95,(_0x1d8918,_0x5318e7)=>{_0x48c7ed(),_0x1e7121(_0x1d8918,_0x5318e7);});});}[_0x3b2e96(0x2a0)](_0x2e960b,_0x1cdc16,_0x15d965){const _0x40bf16=_0x3b2e96;_0x38c18e[_0x40bf16(0x1f1)](_0x4189e4=>{this['_compress'](_0x2e960b,_0x1cdc16,(_0x279a25,_0x202dec)=>{_0x4189e4(),_0x15d965(_0x279a25,_0x202dec);});});}[_0x3b2e96(0x275)](_0x5baf63,_0x88edd,_0x4f720b){const _0x3668a2=_0x3b2e96,_0x1d411d=this['_isServer']?_0x3668a2(0x217):_0x3668a2(0x1b3);if(!this[_0x3668a2(0x26d)]){const _0x5a5fe8=_0x1d411d+_0x3668a2(0x2b8),_0x596e43=typeof this[_0x3668a2(0x255)][_0x5a5fe8]!='number'?_0x1d8958[_0x3668a2(0x1a7)]:this['params'][_0x5a5fe8];this[_0x3668a2(0x26d)]=_0x1d8958[_0x3668a2(0x15b)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x596e43}),this[_0x3668a2(0x26d)][_0x44617a]=this,this[_0x3668a2(0x26d)][_0x404ad0]=0x0,this[_0x3668a2(0x26d)][_0x36b7ec]=[],this[_0x3668a2(0x26d)]['on']('error',_0x4acf03),this[_0x3668a2(0x26d)]['on'](_0x3668a2(0x197),_0x45dce3);}this[_0x3668a2(0x26d)][_0x5f2d39]=_0x4f720b,this[_0x3668a2(0x26d)][_0x3668a2(0x1c0)](_0x5baf63),_0x88edd&&this['_inflate'][_0x3668a2(0x1c0)](_0x174d89),this['_inflate'][_0x3668a2(0x1b6)](()=>{const _0x30b2dc=_0x3668a2,_0x3ca5f9=this[_0x30b2dc(0x26d)][_0x2e779c];if(_0x3ca5f9){this[_0x30b2dc(0x26d)]['close'](),this[_0x30b2dc(0x26d)]=null,_0x4f720b(_0x3ca5f9);return;}const _0x5f011b=_0x5dcfeb[_0x30b2dc(0x219)](this[_0x30b2dc(0x26d)][_0x36b7ec],this[_0x30b2dc(0x26d)][_0x404ad0]);this[_0x30b2dc(0x26d)][_0x30b2dc(0x164)]['endEmitted']?(this['_inflate'][_0x30b2dc(0x25c)](),this[_0x30b2dc(0x26d)]=null):(this[_0x30b2dc(0x26d)][_0x404ad0]=0x0,this['_inflate'][_0x36b7ec]=[],_0x88edd&&this[_0x30b2dc(0x255)][_0x1d411d+_0x30b2dc(0x214)]&&this[_0x30b2dc(0x26d)][_0x30b2dc(0x17e)]()),_0x4f720b(null,_0x5f011b);});}[_0x3b2e96(0x26e)](_0x49e5f2,_0x8097ff,_0x480405){const _0x1341eb=_0x3b2e96,_0x53ead9=this[_0x1341eb(0x23e)]?_0x1341eb(0x1b3):'client';if(!this[_0x1341eb(0x27f)]){const _0x198920=_0x53ead9+_0x1341eb(0x2b8),_0x44d70f=typeof this[_0x1341eb(0x255)][_0x198920]!=_0x1341eb(0x2f7)?_0x1d8958[_0x1341eb(0x1a7)]:this['params'][_0x198920];this[_0x1341eb(0x27f)]=_0x1d8958[_0x1341eb(0x1fa)]({...this[_0x1341eb(0x218)][_0x1341eb(0x202)],'windowBits':_0x44d70f}),this[_0x1341eb(0x27f)][_0x404ad0]=0x0,this[_0x1341eb(0x27f)][_0x36b7ec]=[],this['_deflate']['on']('data',_0x21efbf);}this[_0x1341eb(0x27f)][_0x5f2d39]=_0x480405,this[_0x1341eb(0x27f)]['write'](_0x49e5f2),this[_0x1341eb(0x27f)][_0x1341eb(0x1b6)](_0x1d8958['Z_SYNC_FLUSH'],()=>{const _0x40c5ed=_0x1341eb;if(!this[_0x40c5ed(0x27f)])return;let _0x455a4e=_0x5dcfeb[_0x40c5ed(0x219)](this[_0x40c5ed(0x27f)][_0x36b7ec],this[_0x40c5ed(0x27f)][_0x404ad0]);_0x8097ff&&(_0x455a4e=new _0x2a84e7(_0x455a4e[_0x40c5ed(0x16f)],_0x455a4e['byteOffset'],_0x455a4e[_0x40c5ed(0x28c)]-0x4)),this['_deflate'][_0x5f2d39]=null,this[_0x40c5ed(0x27f)][_0x404ad0]=0x0,this[_0x40c5ed(0x27f)][_0x36b7ec]=[],_0x8097ff&&this[_0x40c5ed(0x255)][_0x53ead9+'_no_context_takeover']&&this[_0x40c5ed(0x27f)][_0x40c5ed(0x17e)](),_0x480405(null,_0x455a4e);});}}ve=_0x465d59;function _0x21efbf(_0x2af8c9){this[_0x36b7ec]['push'](_0x2af8c9),this[_0x404ad0]+=_0x2af8c9['length'];}function _0x45dce3(_0x33a303){const _0xd7eb0b=_0x3b2e96;if(this[_0x404ad0]+=_0x33a303[_0xd7eb0b(0x28c)],this[_0x44617a]['_maxPayload']<0x1||this[_0x404ad0]<=this[_0x44617a][_0xd7eb0b(0x195)]){this[_0x36b7ec]['push'](_0x33a303);return;}this[_0x2e779c]=new RangeError(_0xd7eb0b(0x1aa)),this[_0x2e779c]['code']=_0xd7eb0b(0x234),this[_0x2e779c][_0x167cb5]=0x3f1,this['removeListener'](_0xd7eb0b(0x197),_0x45dce3),this[_0xd7eb0b(0x17e)]();}function _0x4acf03(_0x4ba4f0){const _0x15e617=_0x3b2e96;if(this[_0x44617a][_0x15e617(0x26d)]=null,this[_0x2e779c]){this[_0x5f2d39](this[_0x2e779c]);return;}_0x4ba4f0[_0x167cb5]=0x3ef,this[_0x5f2d39](_0x4ba4f0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xc1de09(0x2b5)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0xc1de09(0x1e0)})),Yt=ut(zt);var Qe;function _0x31ca(){const _0x3bcca0=['endEmitted','MASK\x20must\x20be\x20set','_shouldEmitClose','isIP','password','\x22\x20must\x20have\x20only\x20a\x20single\x20value','digest','perMessageDeflate','arraybuffer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','handleUpgrade','_threshold','_server','6333131HLAnxk','open','Invalid\x20WebSocket\x20frame:\x20','HTTP/1.1\x20101\x20Switching\x20Protocols','_opcode','allocUnsafe','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','once','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Invalid\x20URL:\x20','env','_closeTimer','_bufferedAmount','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','from','Opening\x20handshake\x20has\x20timed\x20out','pending','readUInt32BE','abort','_payloadLength','binary','Unexpected\x20end\x20of\x20input','permessage-deflate','WS_ERR_UNEXPECTED_RSV_2_3','_read','GET','_configService','client_no_context_takeover','clientNoContextTakeover','nodebuffer','fragments','Cookie','autoPong','\x22:\x20','Sec-WebSocket-Accept:\x20','sendFrame','number','construct','kListener','base64','_fragments','STATUS_CODES','_maskBuffer','apply','function','origin','removeEventListener','socket','values','errorEmitted','options','acceptAsServer','warn','byteOffset','total-length','maskBuffer','upgrade','Maximum\x20redirects\x20exceeded','set','Connection:\x20Upgrade','allowSynchronousEvents','createInflateRaw','send','isPaused','code','_final','toString','dataMessage','pause','finish','_readableState','_firstFragment','error','username','request','offer','listen','_redirects','_buffers','createError','hostname','buffer','_writableState','binaryType','getBlobData','host','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Sec-WebSocket-Origin','setTimeout','_queue','writeUIntBE','authorized','Invalid\x20Sec-WebSocket-Extensions\x20header','push','needDrain','server_max_window_bits','reset','WS_ERR_INVALID_CLOSE_CODE','concurrency','pow','_originalSecure','connect','text/html','headers','_removeListeners','sec-websocket-accept','exports','_doCreateSocket','invalid\x20opcode\x20','decompress','mask','opcode','slice','map','OPEN','CLOSING','acceptAsClient','isServer','WS_ERR_EXPECTED_FIN','_maxPayload','end','data','kIsForOnEventAttribute','sha1','target','emit','format','isValidUTF8','kMessage','Sec-WebSocket-Extensions:\x20','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_masked','objectMode','type','port','value','prototype','Z_DEFAULT_WINDOWBITS','onmessage','HTTP/1.1\x20','Max\x20payload\x20size\x20exceeded','captureStackTrace','test','8fNTGaW','_url','forEach','arrayBuffer','clients','get','server','call','\x20(supported\x20versions:\x20','flush','fin','pipe','bind','kByteLength','removeAllListeners','4895980ZwDguW','1427376ZJCxbj','writeHead','\x22\x20subprotocol\x20is\x20duplicated','write','_protocol','hasOwnProperty','redirect','protocolVersion','Invalid\x20value\x20for\x20parameter\x20\x22','keys','Invalid\x20HTTP\x20method','Sec-WebSocket-Extensions','serverMaxWindowBits','statusCode','kType','clientTracking','kAborted','startLoop','isInteger','readable','constructor','ws:','_compressed','FIN\x20must\x20be\x20set','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','invalid\x20payload\x20length\x20','_originalIpc','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Invalid\x20Upgrade\x20header','join','listening','cleanup','auth','_closeFrameReceived','find','Module','bufferedAmount','enqueue','collaboration-client-node.config','WS_NO_BUFFER_UTIL','_loop','invalid\x20UTF-8\x20sequence','_fragmented','buffers','invalid\x20opcode\x200','toLowerCase','text/plain','listeners','accept','305414FjIDDw','WS_ERR_EXPECTED_MASK','servername','add','The\x20server\x20is\x20not\x20running','skipUTF8Validation','extensions','maxRedirects','indexOf','_errored','writable','pluginName','createDeflateRaw','pong','encrypted','threshold','WS_ERR_INVALID_OPCODE','maxPayload','Parameter\x20\x22','__esModule','zlibDeflateOptions','default','method','kCode','Unexpected\x20server\x20response:\x20','File','clientMaxWindowBits','createSocket','shift','server_no_context_takeover','removeListener','unmask','_destroy','2oLBPcx','setHeader','createServer','_write','finished','_no_context_takeover','isBuffer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','client','_options','concat','194676DOBstz','backlog','Sec-WebSocket-Protocol','getConfig','sec-websocket-version','getPayloadLength16','MASK\x20must\x20be\x20clear','_binaryType','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','then','getOwnPropertyDescriptor','_closeMessage','unexpected-response','conclude','serverNoContextTakeover','extensionName','13,\x208','_totalPayloadLength','_closeFrameSent','url','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','destroy','byteLength','_bufferedBytes','_allowSynchronousEvents','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','writeUInt16BE','addEventListener','message','update','_skipUTF8Validation','isArray','normalizeParams','handshakeTimeout','\x0d\x0a\x0d\x0a','_isServer','WS_ERR_INVALID_UTF8','protocol','includes','websocket','CLOSED','setSocket','_receiver','dispatch','createConnection','Basic\x20','registerHTTPInterceptor','split','authorization','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','emitClose','href','readOnly','isView','readUInt16BE','read','_mask','params','_generateMask','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','haveLength','cookie','completeUpgrade','_closeCode','close','_sender','_autoPong','frame','dequeue','sec-websocket-origin','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','kDone','kRun','_messageLength','size','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_errorEmitted','finishRequest','path','kReason','_extensions','_inflate','_compress','2760963vtzQHA','listenerCount','defineProperty','_injector','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','response','_decompress','delete','WS_ERR_UNEXPECTED_MASK','noServer','getPayloadLength64','getData','onopen','has','nextTick','parse','_deflate','customHeaders','_registerDependencies','verifyClient','_state','sec-websocket-key','jobs','setNoDelay','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','resume','client_max_window_bits','onerror','reason','length','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','dispose','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','startsWith','readyState','_readyState','rsv1','socketPath','controlMessage','getMask','toStringTag','_fin','wss:','create','RSV1\x20must\x20be\x20clear','WebSocket','CONNECTING','generateMask','charCodeAt','compress','WS_ERR_UNEXPECTED_RSV_1','unshift','alloc','next','WS_NO_UTF_8_VALIDATE','Unexpected\x20character\x20at\x20index\x20','defaultPort','7916463qwECqa','blob','consume','object','_originalHostOrSocketPath','species','ping','_socket','status-code','_paused','search','timeout','Invalid\x20Sec-WebSocket-Protocol\x20header','freeze','string','Invalid\x20Sec-WebSocket-Accept\x20header','_max_window_bits','followRedirects','Server\x20sent\x20no\x20subprotocol','_req','The\x20\x22','connection','wasClean','uncork','sec-websocket-extensions','sec-websocket-protocol','getInfo','concurrencyLimit','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','destroyed'];_0x31ca=function(){return _0x3bcca0;};return _0x31ca();}function ne(){const _0xe5e1e6=_0xc1de09;if(Qe)return re[_0xe5e1e6(0x188)];Qe=0x1;const {isUtf8:_0x5de87c}=_0x1953e5,{hasBlob:_0x3fb8b2}=V(),_0x5dd32b=[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 _0x621dd5(_0x3e647f){return _0x3e647f>=0x3e8&&_0x3e647f<=0x3f6&&_0x3e647f!==0x3ec&&_0x3e647f!==0x3ed&&_0x3e647f!==0x3ee||_0x3e647f>=0xbb8&&_0x3e647f<=0x1387;}function _0x3e1291(_0x9bb893){const _0x132eb0=_0xe5e1e6,_0x3528f1=_0x9bb893[_0x132eb0(0x28c)];let _0x2f7707=0x0;for(;_0x2f7707<_0x3528f1;)if((_0x9bb893[_0x2f7707]&0x80)===0x0)_0x2f7707++;else{if((_0x9bb893[_0x2f7707]&0xe0)===0xc0){if(_0x2f7707+0x1===_0x3528f1||(_0x9bb893[_0x2f7707+0x1]&0xc0)!==0x80||(_0x9bb893[_0x2f7707]&0xfe)===0xc0)return!0x1;_0x2f7707+=0x2;}else{if((_0x9bb893[_0x2f7707]&0xf0)===0xe0){if(_0x2f7707+0x2>=_0x3528f1||(_0x9bb893[_0x2f7707+0x1]&0xc0)!==0x80||(_0x9bb893[_0x2f7707+0x2]&0xc0)!==0x80||_0x9bb893[_0x2f7707]===0xe0&&(_0x9bb893[_0x2f7707+0x1]&0xe0)===0x80||_0x9bb893[_0x2f7707]===0xed&&(_0x9bb893[_0x2f7707+0x1]&0xe0)===0xa0)return!0x1;_0x2f7707+=0x3;}else{if((_0x9bb893[_0x2f7707]&0xf8)===0xf0){if(_0x2f7707+0x3>=_0x3528f1||(_0x9bb893[_0x2f7707+0x1]&0xc0)!==0x80||(_0x9bb893[_0x2f7707+0x2]&0xc0)!==0x80||(_0x9bb893[_0x2f7707+0x3]&0xc0)!==0x80||_0x9bb893[_0x2f7707]===0xf0&&(_0x9bb893[_0x2f7707+0x1]&0xf0)===0x80||_0x9bb893[_0x2f7707]===0xf4&&_0x9bb893[_0x2f7707+0x1]>0x8f||_0x9bb893[_0x2f7707]>0xf4)return!0x1;_0x2f7707+=0x4;}else return!0x1;}}}return!0x0;}function _0x126cf2(_0x5def84){const _0x3a144b=_0xe5e1e6;return _0x3fb8b2&&typeof _0x5def84==_0x3a144b(0x2ab)&&typeof _0x5def84[_0x3a144b(0x1b0)]==_0x3a144b(0x2ff)&&typeof _0x5def84[_0x3a144b(0x1a3)]==_0x3a144b(0x2b6)&&typeof _0x5def84['stream']=='function'&&(_0x5def84[Symbol[_0x3a144b(0x297)]]==='Blob'||_0x5def84[Symbol[_0x3a144b(0x297)]]===_0x3a144b(0x207));}if(re[_0xe5e1e6(0x188)]={'isBlob':_0x126cf2,'isValidStatusCode':_0x621dd5,'isValidUTF8':_0x3e1291,'tokenChars':_0x5dd32b},_0x5de87c)re[_0xe5e1e6(0x188)][_0xe5e1e6(0x19d)]=function(_0x44e368){const _0x598339=_0xe5e1e6;return _0x44e368[_0x598339(0x28c)]<0x18?_0x3e1291(_0x44e368):_0x5de87c(_0x44e368);};else{if(!process[_0xe5e1e6(0x2dd)][_0xe5e1e6(0x2a5)])try{const _0x5ce85d=Yt;re[_0xe5e1e6(0x188)][_0xe5e1e6(0x19d)]=function(_0x2fcd18){const _0x21b788=_0xe5e1e6;return _0x2fcd18[_0x21b788(0x28c)]<0x20?_0x3e1291(_0x2fcd18):_0x5ce85d(_0x2fcd18);};}catch{}}return re[_0xe5e1e6(0x188)];}var Se,Je;function dt(){const _0x535232=_0xc1de09;if(Je)return Se;Je=0x1;const {Writable:_0x539991}=_0x268d1b,_0x465e73=he(),{BINARY_TYPES:_0x311d0c,EMPTY_BUFFER:_0x2e064c,kStatusCode:_0x10042a,kWebSocket:_0x2317b6}=V(),{concat:_0x66441b,toArrayBuffer:_0x3d2895,unmask:_0x5926c4}=ce(),{isValidStatusCode:_0xc087ca,isValidUTF8:_0xc55b9a}=ne(),_0x53eaca=Buffer[Symbol[_0x535232(0x2ad)]],_0x96c65b=0x0,_0x13447e=0x1,_0x258cb1=0x2,_0x5101dc=0x3,_0x3e8677=0x4,_0x2b4d66=0x5,_0xa177e=0x6;class _0x372a00 extends _0x539991{constructor(_0x3e834f={}){const _0x1d94ed=_0x535232;super(),this[_0x1d94ed(0x233)]=_0x3e834f['allowSynchronousEvents']!==void 0x0?_0x3e834f[_0x1d94ed(0x15a)]:!0x0,this['_binaryType']=_0x3e834f[_0x1d94ed(0x171)]||_0x311d0c[0x0],this['_extensions']=_0x3e834f[_0x1d94ed(0x1f4)]||{},this[_0x1d94ed(0x23e)]=!!_0x3e834f[_0x1d94ed(0x193)],this[_0x1d94ed(0x195)]=_0x3e834f[_0x1d94ed(0x1ff)]|0x0,this[_0x1d94ed(0x239)]=!!_0x3e834f['skipUTF8Validation'],this[_0x2317b6]=void 0x0,this[_0x1d94ed(0x232)]=0x0,this[_0x1d94ed(0x16c)]=[],this[_0x1d94ed(0x1d3)]=!0x1,this['_payloadLength']=0x0,this[_0x1d94ed(0x254)]=void 0x0,this[_0x1d94ed(0x1e7)]=0x0,this[_0x1d94ed(0x1a1)]=!0x1,this[_0x1d94ed(0x298)]=!0x1,this[_0x1d94ed(0x2d7)]=0x0,this[_0x1d94ed(0x22c)]=0x0,this[_0x1d94ed(0x265)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x1d94ed(0x1e5)]=!0x1,this[_0x1d94ed(0x283)]=_0x96c65b;}['_write'](_0x26c1f4,_0x34d6ef,_0x43de30){const _0xe3acc9=_0x535232;if(this['_opcode']===0x8&&this[_0xe3acc9(0x283)]==_0x96c65b)return _0x43de30();this[_0xe3acc9(0x232)]+=_0x26c1f4[_0xe3acc9(0x28c)],this['_buffers'][_0xe3acc9(0x17b)](_0x26c1f4),this[_0xe3acc9(0x1ce)](_0x43de30);}['consume'](_0x75bcfd){const _0x4c4471=_0x535232;if(this[_0x4c4471(0x232)]-=_0x75bcfd,_0x75bcfd===this[_0x4c4471(0x16c)][0x0][_0x4c4471(0x28c)])return this[_0x4c4471(0x16c)][_0x4c4471(0x20a)]();if(_0x75bcfd<this[_0x4c4471(0x16c)][0x0][_0x4c4471(0x28c)]){const _0x292574=this[_0x4c4471(0x16c)][0x0];return this['_buffers'][0x0]=new _0x53eaca(_0x292574['buffer'],_0x292574[_0x4c4471(0x153)]+_0x75bcfd,_0x292574[_0x4c4471(0x28c)]-_0x75bcfd),new _0x53eaca(_0x292574[_0x4c4471(0x16f)],_0x292574['byteOffset'],_0x75bcfd);}const _0x697a40=Buffer[_0x4c4471(0x2d8)](_0x75bcfd);do{const _0x572a17=this[_0x4c4471(0x16c)][0x0],_0x3c4e9f=_0x697a40['length']-_0x75bcfd;_0x75bcfd>=_0x572a17[_0x4c4471(0x28c)]?_0x697a40[_0x4c4471(0x158)](this['_buffers'][_0x4c4471(0x20a)](),_0x3c4e9f):(_0x697a40['set'](new Uint8Array(_0x572a17[_0x4c4471(0x16f)],_0x572a17['byteOffset'],_0x75bcfd),_0x3c4e9f),this['_buffers'][0x0]=new _0x53eaca(_0x572a17['buffer'],_0x572a17[_0x4c4471(0x153)]+_0x75bcfd,_0x572a17[_0x4c4471(0x28c)]-_0x75bcfd)),_0x75bcfd-=_0x572a17[_0x4c4471(0x28c)];}while(_0x75bcfd>0x0);return _0x697a40;}[_0x535232(0x1ce)](_0x2746d3){const _0x37b571=_0x535232;this[_0x37b571(0x1e5)]=!0x0;do switch(this[_0x37b571(0x283)]){case _0x96c65b:this[_0x37b571(0x2c2)](_0x2746d3);break;case _0x13447e:this[_0x37b571(0x21f)](_0x2746d3);break;case _0x258cb1:this['getPayloadLength64'](_0x2746d3);break;case _0x5101dc:this['getMask']();break;case _0x3e8677:this[_0x37b571(0x27a)](_0x2746d3);break;case _0x2b4d66:case _0xa177e:this['_loop']=!0x1;return;}while(this[_0x37b571(0x1e5)]);this[_0x37b571(0x1f7)]||_0x2746d3();}['getInfo'](_0x421ec2){const _0x1103b1=_0x535232;if(this[_0x1103b1(0x232)]<0x2){this[_0x1103b1(0x1e5)]=!0x1;return;}const _0xe6d512=this['consume'](0x2);if((_0xe6d512[0x0]&0x30)!==0x0){const _0x26093e=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x28f),!0x0,0x3ea,_0x1103b1(0x2ea));_0x421ec2(_0x26093e);return;}const _0x473b8c=(_0xe6d512[0x0]&0x40)===0x40;if(_0x473b8c&&!this[_0x1103b1(0x26c)][_0x465e73[_0x1103b1(0x22a)]]){const _0x3bc003=this['createError'](RangeError,_0x1103b1(0x29b),!0x0,0x3ea,_0x1103b1(0x2a1));_0x421ec2(_0x3bc003);return;}if(this[_0x1103b1(0x298)]=(_0xe6d512[0x0]&0x80)===0x80,this[_0x1103b1(0x2d7)]=_0xe6d512[0x0]&0xf,this[_0x1103b1(0x2e6)]=_0xe6d512[0x1]&0x7f,this[_0x1103b1(0x2d7)]===0x0){if(_0x473b8c){const _0x438dcf=this[_0x1103b1(0x16d)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1103b1(0x2a1));_0x421ec2(_0x438dcf);return;}if(!this['_fragmented']){const _0x22d5fa=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x1e9),!0x0,0x3ea,_0x1103b1(0x1fe));_0x421ec2(_0x22d5fa);return;}this[_0x1103b1(0x2d7)]=this[_0x1103b1(0x1e7)];}else{if(this[_0x1103b1(0x2d7)]===0x1||this[_0x1103b1(0x2d7)]===0x2){if(this[_0x1103b1(0x1e7)]){const _0xa10c73=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x18a)+this[_0x1103b1(0x2d7)],!0x0,0x3ea,_0x1103b1(0x1fe));_0x421ec2(_0xa10c73);return;}this[_0x1103b1(0x1d3)]=_0x473b8c;}else{if(this[_0x1103b1(0x2d7)]>0x7&&this[_0x1103b1(0x2d7)]<0xb){if(!this[_0x1103b1(0x298)]){const _0x294e43=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x1d4),!0x0,0x3ea,_0x1103b1(0x194));_0x421ec2(_0x294e43);return;}if(_0x473b8c){const _0x49236f=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x29b),!0x0,0x3ea,_0x1103b1(0x2a1));_0x421ec2(_0x49236f);return;}if(this['_payloadLength']>0x7d||this[_0x1103b1(0x2d7)]===0x8&&this[_0x1103b1(0x2e6)]===0x1){const _0x257f10=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x1d6)+this[_0x1103b1(0x2e6)],!0x0,0x3ea,_0x1103b1(0x216));_0x421ec2(_0x257f10);return;}}else{const _0x5ef451=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x1103b1(0x2d7)],!0x0,0x3ea,_0x1103b1(0x1fe));_0x421ec2(_0x5ef451);return;}}}if(!this[_0x1103b1(0x298)]&&!this[_0x1103b1(0x1e7)]&&(this[_0x1103b1(0x1e7)]=this['_opcode']),this[_0x1103b1(0x1a1)]=(_0xe6d512[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x2f59f3=this['createError'](RangeError,_0x1103b1(0x2c7),!0x0,0x3ea,_0x1103b1(0x1ef));_0x421ec2(_0x2f59f3);return;}}else{if(this[_0x1103b1(0x1a1)]){const _0x1844be=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x220),!0x0,0x3ea,_0x1103b1(0x277));_0x421ec2(_0x1844be);return;}}this[_0x1103b1(0x2e6)]===0x7e?this[_0x1103b1(0x283)]=_0x13447e:this[_0x1103b1(0x2e6)]===0x7f?this[_0x1103b1(0x283)]=_0x258cb1:this[_0x1103b1(0x258)](_0x421ec2);}[_0x535232(0x21f)](_0x1e5d92){const _0x661291=_0x535232;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x661291(0x2e6)]=this[_0x661291(0x2aa)](0x2)[_0x661291(0x252)](0x0),this['haveLength'](_0x1e5d92);}[_0x535232(0x279)](_0x552e01){const _0x2de2a6=_0x535232;if(this[_0x2de2a6(0x232)]<0x8){this[_0x2de2a6(0x1e5)]=!0x1;return;}const _0x204add=this[_0x2de2a6(0x2aa)](0x8),_0x2dbe83=_0x204add[_0x2de2a6(0x2e4)](0x0);if(_0x2dbe83>Math[_0x2de2a6(0x181)](0x2,0x15)-0x1){const _0x1a2eea=this['createError'](RangeError,_0x2de2a6(0x1d8),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x552e01(_0x1a2eea);return;}this[_0x2de2a6(0x2e6)]=_0x2dbe83*Math[_0x2de2a6(0x181)](0x2,0x20)+_0x204add['readUInt32BE'](0x4),this[_0x2de2a6(0x258)](_0x552e01);}[_0x535232(0x258)](_0xb24421){const _0x570f8b=_0x535232;if(this[_0x570f8b(0x2e6)]&&this[_0x570f8b(0x2d7)]<0x8&&(this['_totalPayloadLength']+=this[_0x570f8b(0x2e6)],this[_0x570f8b(0x22c)]>this['_maxPayload']&&this[_0x570f8b(0x195)]>0x0)){const _0x25c0a5=this[_0x570f8b(0x16d)](RangeError,_0x570f8b(0x1aa),!0x1,0x3f1,_0x570f8b(0x234));_0xb24421(_0x25c0a5);return;}this[_0x570f8b(0x1a1)]?this[_0x570f8b(0x283)]=_0x5101dc:this[_0x570f8b(0x283)]=_0x3e8677;}[_0x535232(0x296)](){const _0x18ccbb=_0x535232;if(this[_0x18ccbb(0x232)]<0x4){this[_0x18ccbb(0x1e5)]=!0x1;return;}this[_0x18ccbb(0x254)]=this[_0x18ccbb(0x2aa)](0x4),this['_state']=_0x3e8677;}[_0x535232(0x27a)](_0x1bf078){const _0xeb5ee5=_0x535232;let _0x49f55a=_0x2e064c;if(this[_0xeb5ee5(0x2e6)]){if(this[_0xeb5ee5(0x232)]<this['_payloadLength']){this[_0xeb5ee5(0x1e5)]=!0x1;return;}_0x49f55a=this['consume'](this[_0xeb5ee5(0x2e6)]),this['_masked']&&(this[_0xeb5ee5(0x254)][0x0]|this[_0xeb5ee5(0x254)][0x1]|this[_0xeb5ee5(0x254)][0x2]|this[_0xeb5ee5(0x254)][0x3])!==0x0&&_0x5926c4(_0x49f55a,this[_0xeb5ee5(0x254)]);}if(this['_opcode']>0x7){this[_0xeb5ee5(0x295)](_0x49f55a,_0x1bf078);return;}if(this[_0xeb5ee5(0x1d3)]){this[_0xeb5ee5(0x283)]=_0x2b4d66,this[_0xeb5ee5(0x18b)](_0x49f55a,_0x1bf078);return;}_0x49f55a[_0xeb5ee5(0x28c)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0xeb5ee5(0x2fb)][_0xeb5ee5(0x17b)](_0x49f55a)),this[_0xeb5ee5(0x161)](_0x1bf078);}[_0x535232(0x18b)](_0x420896,_0x22dd27){const _0x378f7d=_0x535232;this[_0x378f7d(0x26c)][_0x465e73[_0x378f7d(0x22a)]][_0x378f7d(0x18b)](_0x420896,this[_0x378f7d(0x298)],(_0x1a014f,_0x27636c)=>{const _0x5bcdd2=_0x378f7d;if(_0x1a014f)return _0x22dd27(_0x1a014f);if(_0x27636c['length']){if(this[_0x5bcdd2(0x265)]+=_0x27636c[_0x5bcdd2(0x28c)],this[_0x5bcdd2(0x265)]>this[_0x5bcdd2(0x195)]&&this[_0x5bcdd2(0x195)]>0x0){const _0x47debf=this[_0x5bcdd2(0x16d)](RangeError,_0x5bcdd2(0x1aa),!0x1,0x3f1,_0x5bcdd2(0x234));_0x22dd27(_0x47debf);return;}this['_fragments']['push'](_0x27636c);}this[_0x5bcdd2(0x161)](_0x22dd27),this[_0x5bcdd2(0x283)]===_0x96c65b&&this[_0x5bcdd2(0x1ce)](_0x22dd27);});}[_0x535232(0x161)](_0x32d058){const _0x4122b1=_0x535232;if(!this['_fin']){this['_state']=_0x96c65b;return;}const _0x3ceadc=this[_0x4122b1(0x265)],_0x526d4b=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x4122b1(0x265)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x4122b1(0x2d7)]===0x2){let _0x134b6a;this[_0x4122b1(0x221)]===_0x4122b1(0x2f0)?_0x134b6a=_0x66441b(_0x526d4b,_0x3ceadc):this[_0x4122b1(0x221)]==='arraybuffer'?_0x134b6a=_0x3d2895(_0x66441b(_0x526d4b,_0x3ceadc)):this['_binaryType']===_0x4122b1(0x2a9)?_0x134b6a=new Blob(_0x526d4b):_0x134b6a=_0x526d4b,this['_allowSynchronousEvents']?(this['emit'](_0x4122b1(0x237),_0x134b6a,!0x0),this[_0x4122b1(0x283)]=_0x96c65b):(this['_state']=_0xa177e,setImmediate(()=>{const _0x517990=_0x4122b1;this['emit'](_0x517990(0x237),_0x134b6a,!0x0),this['_state']=_0x96c65b,this[_0x517990(0x1ce)](_0x32d058);}));}else{const _0x3e8aab=_0x66441b(_0x526d4b,_0x3ceadc);if(!this[_0x4122b1(0x239)]&&!_0xc55b9a(_0x3e8aab)){const _0x1b8454=this[_0x4122b1(0x16d)](Error,_0x4122b1(0x1e6),!0x0,0x3ef,_0x4122b1(0x23f));_0x32d058(_0x1b8454);return;}this['_state']===_0x2b4d66||this[_0x4122b1(0x233)]?(this[_0x4122b1(0x19b)]('message',_0x3e8aab,!0x1),this[_0x4122b1(0x283)]=_0x96c65b):(this[_0x4122b1(0x283)]=_0xa177e,setImmediate(()=>{const _0x504bfe=_0x4122b1;this[_0x504bfe(0x19b)](_0x504bfe(0x237),_0x3e8aab,!0x1),this['_state']=_0x96c65b,this['startLoop'](_0x32d058);}));}}[_0x535232(0x295)](_0x4d4ce3,_0x406ecd){const _0x1aee8f=_0x535232;if(this[_0x1aee8f(0x2d7)]===0x8){if(_0x4d4ce3['length']===0x0)this['_loop']=!0x1,this['emit'](_0x1aee8f(0x228),0x3ed,_0x2e064c),this[_0x1aee8f(0x196)]();else{const _0x542511=_0x4d4ce3[_0x1aee8f(0x252)](0x0);if(!_0xc087ca(_0x542511)){const _0x3175a0=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x542511,!0x0,0x3ea,_0x1aee8f(0x17f));_0x406ecd(_0x3175a0);return;}const _0x48cc55=new _0x53eaca(_0x4d4ce3['buffer'],_0x4d4ce3[_0x1aee8f(0x153)]+0x2,_0x4d4ce3[_0x1aee8f(0x28c)]-0x2);if(!this['_skipUTF8Validation']&&!_0xc55b9a(_0x48cc55)){const _0x2e318c=this[_0x1aee8f(0x16d)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1aee8f(0x23f));_0x406ecd(_0x2e318c);return;}this[_0x1aee8f(0x1e5)]=!0x1,this[_0x1aee8f(0x19b)]('conclude',_0x542511,_0x48cc55),this[_0x1aee8f(0x196)]();}this[_0x1aee8f(0x283)]=_0x96c65b;return;}this['_allowSynchronousEvents']?(this['emit'](this['_opcode']===0x9?_0x1aee8f(0x2ae):_0x1aee8f(0x1fb),_0x4d4ce3),this[_0x1aee8f(0x283)]=_0x96c65b):(this[_0x1aee8f(0x283)]=_0xa177e,setImmediate(()=>{const _0x217877=_0x1aee8f;this['emit'](this[_0x217877(0x2d7)]===0x9?_0x217877(0x2ae):_0x217877(0x1fb),_0x4d4ce3),this[_0x217877(0x283)]=_0x96c65b,this[_0x217877(0x1ce)](_0x406ecd);}));}[_0x535232(0x16d)](_0x1a99f2,_0x11908b,_0x4d09a7,_0x14c38f,_0x4ebff2){const _0x2e2049=_0x535232;this[_0x2e2049(0x1e5)]=!0x1,this[_0x2e2049(0x1f7)]=!0x0;const _0x33fe71=new _0x1a99f2(_0x4d09a7?_0x2e2049(0x2d5)+_0x11908b:_0x11908b);return Error[_0x2e2049(0x1ab)](_0x33fe71,this[_0x2e2049(0x16d)]),_0x33fe71[_0x2e2049(0x15e)]=_0x4ebff2,_0x33fe71[_0x10042a]=_0x14c38f,_0x33fe71;}}return Se=_0x372a00,Se;}var Ee,et;function _t(){const _0x2502fe=_0xc1de09;if(et)return Ee;et=0x1;const {Duplex:_0x620617}=_0x268d1b,{randomFillSync:_0x56f2cf}=_0x1afa45,_0x47c9e5=he(),{EMPTY_BUFFER:_0x5ec610,kWebSocket:_0x22d343,NOOP:_0x285b76}=V(),{isBlob:_0x2e8180,isValidStatusCode:_0x4af444}=ne(),{mask:_0x27619f,toBuffer:_0x22f23e}=ce(),_0x8f22df=Symbol(_0x2502fe(0x1ba)),_0x166d53=Buffer[_0x2502fe(0x2a3)](0x4),_0x3db006=0x8*0x400;let _0xda20b6,_0x3f1c7b=_0x3db006;const _0x1586d2=0x0,_0x2e1488=0x1,_0x1f33a6=0x2;class _0x5b9dca{constructor(_0x29d545,_0x3058a0,_0x2e9064){const _0x50016c=_0x2502fe;this[_0x50016c(0x26c)]=_0x3058a0||{},_0x2e9064&&(this['_generateMask']=_0x2e9064,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x50016c(0x2af)]=_0x29d545,this[_0x50016c(0x165)]=!0x0,this[_0x50016c(0x26e)]=!0x1,this[_0x50016c(0x232)]=0x0,this[_0x50016c(0x177)]=[],this[_0x50016c(0x283)]=_0x1586d2,this[_0x50016c(0x28a)]=_0x285b76,this[_0x22d343]=void 0x0;}static['frame'](_0x1aece2,_0x42a165){const _0x1603a0=_0x2502fe;let _0x31ac42,_0x46aba6=!0x1,_0x1bd040=0x2,_0x17c281=!0x1;_0x42a165['mask']&&(_0x31ac42=_0x42a165[_0x1603a0(0x155)]||_0x166d53,_0x42a165[_0x1603a0(0x29e)]?_0x42a165[_0x1603a0(0x29e)](_0x31ac42):(_0x3f1c7b===_0x3db006&&(_0xda20b6===void 0x0&&(_0xda20b6=Buffer[_0x1603a0(0x2a3)](_0x3db006)),_0x56f2cf(_0xda20b6,0x0,_0x3db006),_0x3f1c7b=0x0),_0x31ac42[0x0]=_0xda20b6[_0x3f1c7b++],_0x31ac42[0x1]=_0xda20b6[_0x3f1c7b++],_0x31ac42[0x2]=_0xda20b6[_0x3f1c7b++],_0x31ac42[0x3]=_0xda20b6[_0x3f1c7b++]),_0x17c281=(_0x31ac42[0x0]|_0x31ac42[0x1]|_0x31ac42[0x2]|_0x31ac42[0x3])===0x0,_0x1bd040=0x6);let _0x3e2bdf;typeof _0x1aece2==_0x1603a0(0x2b6)?(!_0x42a165['mask']||_0x17c281)&&_0x42a165[_0x8f22df]!==void 0x0?_0x3e2bdf=_0x42a165[_0x8f22df]:(_0x1aece2=Buffer['from'](_0x1aece2),_0x3e2bdf=_0x1aece2[_0x1603a0(0x28c)]):(_0x3e2bdf=_0x1aece2[_0x1603a0(0x28c)],_0x46aba6=_0x42a165['mask']&&_0x42a165['readOnly']&&!_0x17c281);let _0x268859=_0x3e2bdf;_0x3e2bdf>=0x10000?(_0x1bd040+=0x8,_0x268859=0x7f):_0x3e2bdf>0x7d&&(_0x1bd040+=0x2,_0x268859=0x7e);const _0x2f403a=Buffer[_0x1603a0(0x2d8)](_0x46aba6?_0x3e2bdf+_0x1bd040:_0x1bd040);return _0x2f403a[0x0]=_0x42a165[_0x1603a0(0x1b7)]?_0x42a165[_0x1603a0(0x18d)]|0x80:_0x42a165[_0x1603a0(0x18d)],_0x42a165[_0x1603a0(0x293)]&&(_0x2f403a[0x0]|=0x40),_0x2f403a[0x1]=_0x268859,_0x268859===0x7e?_0x2f403a[_0x1603a0(0x235)](_0x3e2bdf,0x2):_0x268859===0x7f&&(_0x2f403a[0x2]=_0x2f403a[0x3]=0x0,_0x2f403a[_0x1603a0(0x178)](_0x3e2bdf,0x4,0x6)),_0x42a165['mask']?(_0x2f403a[0x1]|=0x80,_0x2f403a[_0x1bd040-0x4]=_0x31ac42[0x0],_0x2f403a[_0x1bd040-0x3]=_0x31ac42[0x1],_0x2f403a[_0x1bd040-0x2]=_0x31ac42[0x2],_0x2f403a[_0x1bd040-0x1]=_0x31ac42[0x3],_0x17c281?[_0x2f403a,_0x1aece2]:_0x46aba6?(_0x27619f(_0x1aece2,_0x31ac42,_0x2f403a,_0x1bd040,_0x3e2bdf),[_0x2f403a]):(_0x27619f(_0x1aece2,_0x31ac42,_0x1aece2,0x0,_0x3e2bdf),[_0x2f403a,_0x1aece2])):[_0x2f403a,_0x1aece2];}['close'](_0xcb1a4f,_0x387828,_0x141f28,_0x1bb6ed){const _0x50f68c=_0x2502fe;let _0x4310bb;if(_0xcb1a4f===void 0x0)_0x4310bb=_0x5ec610;else{if(typeof _0xcb1a4f!='number'||!_0x4af444(_0xcb1a4f))throw new TypeError(_0x50f68c(0x2d9));if(_0x387828===void 0x0||!_0x387828[_0x50f68c(0x28c)])_0x4310bb=Buffer[_0x50f68c(0x2d8)](0x2),_0x4310bb['writeUInt16BE'](_0xcb1a4f,0x0);else{const _0x32d9c5=Buffer[_0x50f68c(0x231)](_0x387828);if(_0x32d9c5>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x4310bb=Buffer[_0x50f68c(0x2d8)](0x2+_0x32d9c5),_0x4310bb[_0x50f68c(0x235)](_0xcb1a4f,0x0),typeof _0x387828==_0x50f68c(0x2b6)?_0x4310bb[_0x50f68c(0x1c0)](_0x387828,0x2):_0x4310bb['set'](_0x387828,0x2);}}const _0x3746fd={[_0x8f22df]:_0x4310bb[_0x50f68c(0x28c)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x141f28,'maskBuffer':this[_0x50f68c(0x2fd)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x50f68c(0x283)]!==_0x1586d2?this[_0x50f68c(0x1e2)]([this[_0x50f68c(0x246)],_0x4310bb,!0x1,_0x3746fd,_0x1bb6ed]):this['sendFrame'](_0x5b9dca[_0x50f68c(0x25f)](_0x4310bb,_0x3746fd),_0x1bb6ed);}['ping'](_0x4011a9,_0x1cb1d9,_0x239b19){const _0x35628e=_0x2502fe;let _0x32566d,_0x1f9bc6;if(typeof _0x4011a9==_0x35628e(0x2b6)?(_0x32566d=Buffer['byteLength'](_0x4011a9),_0x1f9bc6=!0x1):_0x2e8180(_0x4011a9)?(_0x32566d=_0x4011a9[_0x35628e(0x266)],_0x1f9bc6=!0x1):(_0x4011a9=_0x22f23e(_0x4011a9),_0x32566d=_0x4011a9['length'],_0x1f9bc6=_0x22f23e[_0x35628e(0x250)]),_0x32566d>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4d93af={[_0x8f22df]:_0x32566d,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1cb1d9,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1f9bc6,'rsv1':!0x1};_0x2e8180(_0x4011a9)?this[_0x35628e(0x283)]!==_0x1586d2?this[_0x35628e(0x1e2)]([this[_0x35628e(0x172)],_0x4011a9,!0x1,_0x4d93af,_0x239b19]):this['getBlobData'](_0x4011a9,!0x1,_0x4d93af,_0x239b19):this[_0x35628e(0x283)]!==_0x1586d2?this[_0x35628e(0x1e2)]([this[_0x35628e(0x246)],_0x4011a9,!0x1,_0x4d93af,_0x239b19]):this[_0x35628e(0x2f6)](_0x5b9dca['frame'](_0x4011a9,_0x4d93af),_0x239b19);}[_0x2502fe(0x1fb)](_0x358218,_0x3652cc,_0x1e52a6){const _0x28de62=_0x2502fe;let _0x642677,_0x260a69;if(typeof _0x358218=='string'?(_0x642677=Buffer[_0x28de62(0x231)](_0x358218),_0x260a69=!0x1):_0x2e8180(_0x358218)?(_0x642677=_0x358218[_0x28de62(0x266)],_0x260a69=!0x1):(_0x358218=_0x22f23e(_0x358218),_0x642677=_0x358218['length'],_0x260a69=_0x22f23e[_0x28de62(0x250)]),_0x642677>0x7d)throw new RangeError(_0x28de62(0x28d));const _0x4d998c={[_0x8f22df]:_0x642677,'fin':!0x0,'generateMask':this[_0x28de62(0x256)],'mask':_0x3652cc,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x260a69,'rsv1':!0x1};_0x2e8180(_0x358218)?this[_0x28de62(0x283)]!==_0x1586d2?this[_0x28de62(0x1e2)]([this['getBlobData'],_0x358218,!0x1,_0x4d998c,_0x1e52a6]):this['getBlobData'](_0x358218,!0x1,_0x4d998c,_0x1e52a6):this[_0x28de62(0x283)]!==_0x1586d2?this[_0x28de62(0x1e2)]([this[_0x28de62(0x246)],_0x358218,!0x1,_0x4d998c,_0x1e52a6]):this['sendFrame'](_0x5b9dca[_0x28de62(0x25f)](_0x358218,_0x4d998c),_0x1e52a6);}['send'](_0xbae7be,_0x3531dc,_0x8ba644){const _0x21a04b=_0x2502fe,_0x402677=this[_0x21a04b(0x26c)][_0x47c9e5[_0x21a04b(0x22a)]];let _0x564db5=_0x3531dc[_0x21a04b(0x2e7)]?0x2:0x1,_0xb1dfb3=_0x3531dc[_0x21a04b(0x2a0)],_0x5444ee,_0x1be540;typeof _0xbae7be=='string'?(_0x5444ee=Buffer[_0x21a04b(0x231)](_0xbae7be),_0x1be540=!0x1):_0x2e8180(_0xbae7be)?(_0x5444ee=_0xbae7be['size'],_0x1be540=!0x1):(_0xbae7be=_0x22f23e(_0xbae7be),_0x5444ee=_0xbae7be[_0x21a04b(0x28c)],_0x1be540=_0x22f23e[_0x21a04b(0x250)]),this['_firstFragment']?(this[_0x21a04b(0x165)]=!0x1,_0xb1dfb3&&_0x402677&&_0x402677['params'][_0x402677[_0x21a04b(0x23e)]?_0x21a04b(0x20b):_0x21a04b(0x2ee)]&&(_0xb1dfb3=_0x5444ee>=_0x402677[_0x21a04b(0x2d1)]),this[_0x21a04b(0x26e)]=_0xb1dfb3):(_0xb1dfb3=!0x1,_0x564db5=0x0),_0x3531dc[_0x21a04b(0x1b7)]&&(this['_firstFragment']=!0x0);const _0x4d1daf={[_0x8f22df]:_0x5444ee,'fin':_0x3531dc['fin'],'generateMask':this[_0x21a04b(0x256)],'mask':_0x3531dc[_0x21a04b(0x18c)],'maskBuffer':this[_0x21a04b(0x2fd)],'opcode':_0x564db5,'readOnly':_0x1be540,'rsv1':_0xb1dfb3};_0x2e8180(_0xbae7be)?this['_state']!==_0x1586d2?this[_0x21a04b(0x1e2)]([this[_0x21a04b(0x172)],_0xbae7be,this[_0x21a04b(0x26e)],_0x4d1daf,_0x8ba644]):this[_0x21a04b(0x172)](_0xbae7be,this[_0x21a04b(0x26e)],_0x4d1daf,_0x8ba644):this[_0x21a04b(0x283)]!==_0x1586d2?this[_0x21a04b(0x1e2)]([this[_0x21a04b(0x246)],_0xbae7be,this['_compress'],_0x4d1daf,_0x8ba644]):this[_0x21a04b(0x246)](_0xbae7be,this['_compress'],_0x4d1daf,_0x8ba644);}[_0x2502fe(0x172)](_0x904a7f,_0x6b0124,_0x5d820c,_0x33b172){const _0x4b57a4=_0x2502fe;this[_0x4b57a4(0x232)]+=_0x5d820c[_0x8f22df],this[_0x4b57a4(0x283)]=_0x1f33a6,_0x904a7f[_0x4b57a4(0x1b0)]()[_0x4b57a4(0x224)](_0x3c90c7=>{const _0x2e682e=_0x4b57a4;if(this[_0x2e682e(0x2af)]['destroyed']){const _0x27e8eb=new Error(_0x2e682e(0x2cf));process[_0x2e682e(0x27d)](_0x3b6d29,this,_0x27e8eb,_0x33b172);return;}this['_bufferedBytes']-=_0x5d820c[_0x8f22df];const _0x26cb1d=_0x22f23e(_0x3c90c7);_0x6b0124?this[_0x2e682e(0x246)](_0x26cb1d,_0x6b0124,_0x5d820c,_0x33b172):(this[_0x2e682e(0x283)]=_0x1586d2,this[_0x2e682e(0x2f6)](_0x5b9dca[_0x2e682e(0x25f)](_0x26cb1d,_0x5d820c),_0x33b172),this[_0x2e682e(0x260)]());})['catch'](_0x1f612d=>{const _0x3a964c=_0x4b57a4;process[_0x3a964c(0x27d)](_0x59627a,this,_0x1f612d,_0x33b172);});}[_0x2502fe(0x246)](_0x1664db,_0x27f16e,_0x45b421,_0x52c129){const _0x22902a=_0x2502fe;if(!_0x27f16e){this[_0x22902a(0x2f6)](_0x5b9dca[_0x22902a(0x25f)](_0x1664db,_0x45b421),_0x52c129);return;}const _0x9a306a=this[_0x22902a(0x26c)][_0x47c9e5[_0x22902a(0x22a)]];this[_0x22902a(0x232)]+=_0x45b421[_0x8f22df],this[_0x22902a(0x283)]=_0x2e1488,_0x9a306a[_0x22902a(0x2a0)](_0x1664db,_0x45b421[_0x22902a(0x1b7)],(_0x35e88e,_0x188a44)=>{const _0x4cd47a=_0x22902a;if(this[_0x4cd47a(0x2af)][_0x4cd47a(0x2c5)]){const _0x3c59eb=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3b6d29(this,_0x3c59eb,_0x52c129);return;}this[_0x4cd47a(0x232)]-=_0x45b421[_0x8f22df],this[_0x4cd47a(0x283)]=_0x1586d2,_0x45b421[_0x4cd47a(0x250)]=!0x1,this[_0x4cd47a(0x2f6)](_0x5b9dca[_0x4cd47a(0x25f)](_0x188a44,_0x45b421),_0x52c129),this[_0x4cd47a(0x260)]();});}[_0x2502fe(0x260)](){const _0x4b712d=_0x2502fe;for(;this['_state']===_0x1586d2&&this[_0x4b712d(0x177)][_0x4b712d(0x28c)];){const _0x1505f2=this[_0x4b712d(0x177)]['shift']();this[_0x4b712d(0x232)]-=_0x1505f2[0x3][_0x8f22df],Reflect['apply'](_0x1505f2[0x0],this,_0x1505f2['slice'](0x1));}}[_0x2502fe(0x1e2)](_0x3c8ced){const _0x52e7ea=_0x2502fe;this[_0x52e7ea(0x232)]+=_0x3c8ced[0x3][_0x8f22df],this['_queue'][_0x52e7ea(0x17b)](_0x3c8ced);}[_0x2502fe(0x2f6)](_0x226f8d,_0x38ca0a){const _0x6a3d2c=_0x2502fe;_0x226f8d[_0x6a3d2c(0x28c)]===0x2?(this[_0x6a3d2c(0x2af)]['cork'](),this[_0x6a3d2c(0x2af)][_0x6a3d2c(0x1c0)](_0x226f8d[0x0]),this['_socket']['write'](_0x226f8d[0x1],_0x38ca0a),this[_0x6a3d2c(0x2af)][_0x6a3d2c(0x2bf)]()):this[_0x6a3d2c(0x2af)][_0x6a3d2c(0x1c0)](_0x226f8d[0x0],_0x38ca0a);}}Ee=_0x5b9dca;function _0x3b6d29(_0x564be7,_0x4a237c,_0xfa4f77){const _0x29e4f1=_0x2502fe;typeof _0xfa4f77=='function'&&_0xfa4f77(_0x4a237c);for(let _0x10e94b=0x0;_0x10e94b<_0x564be7['_queue'][_0x29e4f1(0x28c)];_0x10e94b++){const _0x126b9b=_0x564be7[_0x29e4f1(0x177)][_0x10e94b],_0x1588f1=_0x126b9b[_0x126b9b['length']-0x1];typeof _0x1588f1==_0x29e4f1(0x2ff)&&_0x1588f1(_0x4a237c);}}function _0x59627a(_0x260645,_0x32e1a2,_0x56075b){const _0x310b62=_0x2502fe;_0x3b6d29(_0x260645,_0x32e1a2,_0x56075b),_0x260645[_0x310b62(0x28a)](_0x32e1a2);}return Ee;}var xe,tt;function Kt(){const _0x275fa9=_0xc1de09;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x9e5ddc,kListener:_0x2f94be}=V(),_0x3b1b59=Symbol(_0x275fa9(0x205)),_0x40cd73=Symbol('kData'),_0x3f2994=Symbol('kError'),_0x500ded=Symbol(_0x275fa9(0x19e)),_0x3d71de=Symbol(_0x275fa9(0x26b)),_0x295793=Symbol('kTarget'),_0x3c7f74=Symbol(_0x275fa9(0x1cb)),_0xba702e=Symbol('kWasClean');class _0x414704{constructor(_0x3003ed){this[_0x295793]=null,this[_0x3c7f74]=_0x3003ed;}get[_0x275fa9(0x19a)](){return this[_0x295793];}get['type'](){return this[_0x3c7f74];}}Object[_0x275fa9(0x271)](_0x414704[_0x275fa9(0x1a6)],_0x275fa9(0x19a),{'enumerable':!0x0}),Object[_0x275fa9(0x271)](_0x414704[_0x275fa9(0x1a6)],_0x275fa9(0x1a3),{'enumerable':!0x0});class _0x140b03 extends _0x414704{constructor(_0x56f331,_0x3c01eb={}){const _0x46839b=_0x275fa9;super(_0x56f331),this[_0x3b1b59]=_0x3c01eb[_0x46839b(0x15e)]===void 0x0?0x0:_0x3c01eb[_0x46839b(0x15e)],this[_0x3d71de]=_0x3c01eb[_0x46839b(0x28b)]===void 0x0?'':_0x3c01eb[_0x46839b(0x28b)],this[_0xba702e]=_0x3c01eb['wasClean']===void 0x0?!0x1:_0x3c01eb[_0x46839b(0x2be)];}get['code'](){return this[_0x3b1b59];}get[_0x275fa9(0x28b)](){return this[_0x3d71de];}get[_0x275fa9(0x2be)](){return this[_0xba702e];}}Object['defineProperty'](_0x140b03[_0x275fa9(0x1a6)],_0x275fa9(0x15e),{'enumerable':!0x0}),Object[_0x275fa9(0x271)](_0x140b03[_0x275fa9(0x1a6)],_0x275fa9(0x28b),{'enumerable':!0x0}),Object['defineProperty'](_0x140b03[_0x275fa9(0x1a6)],_0x275fa9(0x2be),{'enumerable':!0x0});class _0x2cc5f8 extends _0x414704{constructor(_0x2a3dd2,_0x348c62={}){const _0x5e9a14=_0x275fa9;super(_0x2a3dd2),this[_0x3f2994]=_0x348c62[_0x5e9a14(0x166)]===void 0x0?null:_0x348c62['error'],this[_0x500ded]=_0x348c62[_0x5e9a14(0x237)]===void 0x0?'':_0x348c62[_0x5e9a14(0x237)];}get[_0x275fa9(0x166)](){return this[_0x3f2994];}get[_0x275fa9(0x237)](){return this[_0x500ded];}}Object['defineProperty'](_0x2cc5f8[_0x275fa9(0x1a6)],_0x275fa9(0x166),{'enumerable':!0x0}),Object[_0x275fa9(0x271)](_0x2cc5f8[_0x275fa9(0x1a6)],_0x275fa9(0x237),{'enumerable':!0x0});class _0x57b2f3 extends _0x414704{constructor(_0x32bb1e,_0x2aea4c={}){const _0x421200=_0x275fa9;super(_0x32bb1e),this[_0x40cd73]=_0x2aea4c[_0x421200(0x197)]===void 0x0?null:_0x2aea4c[_0x421200(0x197)];}get['data'](){return this[_0x40cd73];}}Object[_0x275fa9(0x271)](_0x57b2f3[_0x275fa9(0x1a6)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x140b03,'ErrorEvent':_0x2cc5f8,'Event':_0x414704,'EventTarget':{'addEventListener'(_0x4d0a46,_0xc38d46,_0x3cd721={}){const _0x552bc8=_0x275fa9;for(const _0x423e21 of this[_0x552bc8(0x1ec)](_0x4d0a46))if(!_0x3cd721[_0x9e5ddc]&&_0x423e21[_0x2f94be]===_0xc38d46&&!_0x423e21[_0x9e5ddc])return;let _0x57d4ba;if(_0x4d0a46===_0x552bc8(0x237))_0x57d4ba=function(_0x1ea0f1,_0x42db17){const _0x4be540=new _0x57b2f3('message',{'data':_0x42db17?_0x1ea0f1:_0x1ea0f1['toString']()});_0x4be540[_0x295793]=this,_0x41b35f(_0xc38d46,this,_0x4be540);};else{if(_0x4d0a46===_0x552bc8(0x25c))_0x57d4ba=function(_0x5495b8,_0x42ec73){const _0x49b598=_0x552bc8,_0x641c8a=new _0x140b03(_0x49b598(0x25c),{'code':_0x5495b8,'reason':_0x42ec73[_0x49b598(0x160)](),'wasClean':this[_0x49b598(0x1de)]&&this[_0x49b598(0x22d)]});_0x641c8a[_0x295793]=this,_0x41b35f(_0xc38d46,this,_0x641c8a);};else{if(_0x4d0a46===_0x552bc8(0x166))_0x57d4ba=function(_0x7bc5ad){const _0x2319af=_0x552bc8,_0x4b18ef=new _0x2cc5f8('error',{'error':_0x7bc5ad,'message':_0x7bc5ad[_0x2319af(0x237)]});_0x4b18ef[_0x295793]=this,_0x41b35f(_0xc38d46,this,_0x4b18ef);};else{if(_0x4d0a46===_0x552bc8(0x2d4))_0x57d4ba=function(){const _0x3ecdcf=_0x552bc8,_0x41c1b9=new _0x414704(_0x3ecdcf(0x2d4));_0x41c1b9[_0x295793]=this,_0x41b35f(_0xc38d46,this,_0x41c1b9);};else return;}}}_0x57d4ba[_0x9e5ddc]=!!_0x3cd721[_0x9e5ddc],_0x57d4ba[_0x2f94be]=_0xc38d46,_0x3cd721[_0x552bc8(0x2da)]?this[_0x552bc8(0x2da)](_0x4d0a46,_0x57d4ba):this['on'](_0x4d0a46,_0x57d4ba);},'removeEventListener'(_0x4a9f55,_0x3a0c3d){const _0x1e17b1=_0x275fa9;for(const _0x4ac255 of this['listeners'](_0x4a9f55))if(_0x4ac255[_0x2f94be]===_0x3a0c3d&&!_0x4ac255[_0x9e5ddc]){this[_0x1e17b1(0x20c)](_0x4a9f55,_0x4ac255);break;}}},'MessageEvent':_0x57b2f3};function _0x41b35f(_0x48cfad,_0x26e1a4,_0x137dcc){const _0x58315e=_0x275fa9;typeof _0x48cfad==_0x58315e(0x2ab)&&_0x48cfad['handleEvent']?_0x48cfad['handleEvent'][_0x58315e(0x1b4)](_0x48cfad,_0x137dcc):_0x48cfad[_0x58315e(0x1b4)](_0x26e1a4,_0x137dcc);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x515c49}=ne();function _0x51511f(_0x335d9b,_0x38bf1f,_0x409a66){const _0x5e69ec=_0x4f4c;_0x335d9b[_0x38bf1f]===void 0x0?_0x335d9b[_0x38bf1f]=[_0x409a66]:_0x335d9b[_0x38bf1f][_0x5e69ec(0x17b)](_0x409a66);}function _0x3934fb(_0x5f5da1){const _0x443ad8=_0x4f4c,_0x737c77=Object[_0x443ad8(0x29a)](null);let _0x15d1b2=Object[_0x443ad8(0x29a)](null),_0x499cb7=!0x1,_0xcb085f=!0x1,_0xd3a711=!0x1,_0x6851fb,_0x4c1899,_0x266321=-0x1,_0x19981f=-0x1,_0x4cab60=-0x1,_0xcfc464=0x0;for(;_0xcfc464<_0x5f5da1[_0x443ad8(0x28c)];_0xcfc464++)if(_0x19981f=_0x5f5da1[_0x443ad8(0x29f)](_0xcfc464),_0x6851fb===void 0x0){if(_0x4cab60===-0x1&&_0x515c49[_0x19981f]===0x1)_0x266321===-0x1&&(_0x266321=_0xcfc464);else{if(_0xcfc464!==0x0&&(_0x19981f===0x20||_0x19981f===0x9))_0x4cab60===-0x1&&_0x266321!==-0x1&&(_0x4cab60=_0xcfc464);else{if(_0x19981f===0x3b||_0x19981f===0x2c){if(_0x266321===-0x1)throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464);const _0x1f516a=_0x5f5da1['slice'](_0x266321,_0x4cab60);_0x19981f===0x2c?(_0x51511f(_0x737c77,_0x1f516a,_0x15d1b2),_0x15d1b2=Object['create'](null)):_0x6851fb=_0x1f516a,_0x266321=_0x4cab60=-0x1;}else throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);}}}else{if(_0x4c1899===void 0x0){if(_0x4cab60===-0x1&&_0x515c49[_0x19981f]===0x1)_0x266321===-0x1&&(_0x266321=_0xcfc464);else{if(_0x19981f===0x20||_0x19981f===0x9)_0x4cab60===-0x1&&_0x266321!==-0x1&&(_0x4cab60=_0xcfc464);else{if(_0x19981f===0x3b||_0x19981f===0x2c){if(_0x266321===-0x1)throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464),_0x51511f(_0x15d1b2,_0x5f5da1[_0x443ad8(0x18e)](_0x266321,_0x4cab60),!0x0),_0x19981f===0x2c&&(_0x51511f(_0x737c77,_0x6851fb,_0x15d1b2),_0x15d1b2=Object[_0x443ad8(0x29a)](null),_0x6851fb=void 0x0),_0x266321=_0x4cab60=-0x1;}else{if(_0x19981f===0x3d&&_0x266321!==-0x1&&_0x4cab60===-0x1)_0x4c1899=_0x5f5da1[_0x443ad8(0x18e)](_0x266321,_0xcfc464),_0x266321=_0x4cab60=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xcfc464);}}}}else{if(_0xcb085f){if(_0x515c49[_0x19981f]!==0x1)throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);_0x266321===-0x1?_0x266321=_0xcfc464:_0x499cb7||(_0x499cb7=!0x0),_0xcb085f=!0x1;}else{if(_0xd3a711){if(_0x515c49[_0x19981f]===0x1)_0x266321===-0x1&&(_0x266321=_0xcfc464);else{if(_0x19981f===0x22&&_0x266321!==-0x1)_0xd3a711=!0x1,_0x4cab60=_0xcfc464;else{if(_0x19981f===0x5c)_0xcb085f=!0x0;else throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);}}}else{if(_0x19981f===0x22&&_0x5f5da1[_0x443ad8(0x29f)](_0xcfc464-0x1)===0x3d)_0xd3a711=!0x0;else{if(_0x4cab60===-0x1&&_0x515c49[_0x19981f]===0x1)_0x266321===-0x1&&(_0x266321=_0xcfc464);else{if(_0x266321!==-0x1&&(_0x19981f===0x20||_0x19981f===0x9))_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464);else{if(_0x19981f===0x3b||_0x19981f===0x2c){if(_0x266321===-0x1)throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464);let _0x1454ee=_0x5f5da1[_0x443ad8(0x18e)](_0x266321,_0x4cab60);_0x499cb7&&(_0x1454ee=_0x1454ee['replace'](/\\/g,''),_0x499cb7=!0x1),_0x51511f(_0x15d1b2,_0x4c1899,_0x1454ee),_0x19981f===0x2c&&(_0x51511f(_0x737c77,_0x6851fb,_0x15d1b2),_0x15d1b2=Object[_0x443ad8(0x29a)](null),_0x6851fb=void 0x0),_0x4c1899=void 0x0,_0x266321=_0x4cab60=-0x1;}else throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);}}}}}}}if(_0x266321===-0x1||_0xd3a711||_0x19981f===0x20||_0x19981f===0x9)throw new SyntaxError(_0x443ad8(0x2e8));_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464);const _0x29d190=_0x5f5da1[_0x443ad8(0x18e)](_0x266321,_0x4cab60);return _0x6851fb===void 0x0?_0x51511f(_0x737c77,_0x29d190,_0x15d1b2):(_0x4c1899===void 0x0?_0x51511f(_0x15d1b2,_0x29d190,!0x0):_0x499cb7?_0x51511f(_0x15d1b2,_0x4c1899,_0x29d190['replace'](/\\/g,'')):_0x51511f(_0x15d1b2,_0x4c1899,_0x29d190),_0x51511f(_0x737c77,_0x6851fb,_0x15d1b2)),_0x737c77;}function _0x53260d(_0x52dd71){const _0x2f94f8=_0x4f4c;return Object[_0x2f94f8(0x1c6)](_0x52dd71)['map'](_0xd72796=>{const _0x55cffc=_0x2f94f8;let _0xa1bb23=_0x52dd71[_0xd72796];return Array[_0x55cffc(0x23a)](_0xa1bb23)||(_0xa1bb23=[_0xa1bb23]),_0xa1bb23[_0x55cffc(0x18f)](_0x5f3e06=>[_0xd72796][_0x55cffc(0x219)](Object[_0x55cffc(0x1c6)](_0x5f3e06)[_0x55cffc(0x18f)](_0x1fe9f6=>{const _0x114c09=_0x55cffc;let _0x541968=_0x5f3e06[_0x1fe9f6];return Array[_0x114c09(0x23a)](_0x541968)||(_0x541968=[_0x541968]),_0x541968[_0x114c09(0x18f)](_0x2f3a4f=>_0x2f3a4f===!0x0?_0x1fe9f6:_0x1fe9f6+'='+_0x2f3a4f)[_0x114c09(0x1da)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x2f94f8(0x1da)](',\x20');}return be={'format':_0x53260d,'parse':_0x3934fb},be;}var we,st;function Ie(){const _0x4b72a3=_0xc1de09;if(st)return we;st=0x1;const _0x231c20=_0x582a84,_0x55a1b4=_0x4ef948,_0x3f8e0f=_0x5e30a9,_0x297610=_0x124718,_0x1499a8=_0x5fd690,{randomBytes:_0x2e89ce,createHash:_0x1a72ff}=_0x1afa45,{Duplex:_0x2fbc31,Readable:_0x5220a2}=_0x268d1b,{URL:_0xc5fc6b}=_0x3710c3,_0x5a2ee4=he(),_0x4fd309=dt(),_0x180415=_t(),{isBlob:_0x38eb90}=ne(),{BINARY_TYPES:_0x358890,EMPTY_BUFFER:_0x1ca426,GUID:_0x4abd2b,kForOnEventAttribute:_0x2024b3,kListener:_0xc59d59,kStatusCode:_0x35f679,kWebSocket:_0x15199d,NOOP:_0x49b11}=V(),{EventTarget:{addEventListener:_0x59e5f9,removeEventListener:_0x79bcd2}}=Kt(),{format:_0x11de14,parse:_0x4a426a}=pt(),{toBuffer:_0x243a26}=ce(),_0x170d6f=0x1e*0x3e8,_0x4e4b2e=Symbol(_0x4b72a3(0x1cd)),_0x1f70e4=[0x8,0xd],_0x1a6021=[_0x4b72a3(0x29d),_0x4b72a3(0x190),_0x4b72a3(0x191),'CLOSED'],_0x1c44d7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xfef2e extends _0x231c20{constructor(_0x4d3b73,_0xa995,_0x269eac){const _0x2d59c4=_0x4b72a3;super(),this[_0x2d59c4(0x221)]=_0x358890[0x0],this[_0x2d59c4(0x25b)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2d59c4(0x22d)]=!0x1,this['_closeMessage']=_0x1ca426,this[_0x2d59c4(0x2de)]=null,this[_0x2d59c4(0x268)]=!0x1,this[_0x2d59c4(0x26c)]={},this[_0x2d59c4(0x2b1)]=!0x1,this['_protocol']='',this['_readyState']=_0xfef2e[_0x2d59c4(0x29d)],this[_0x2d59c4(0x245)]=null,this[_0x2d59c4(0x25d)]=null,this[_0x2d59c4(0x2af)]=null,_0x4d3b73!==null?(this['_bufferedAmount']=0x0,this[_0x2d59c4(0x23e)]=!0x1,this[_0x2d59c4(0x16b)]=0x0,_0xa995===void 0x0?_0xa995=[]:Array[_0x2d59c4(0x23a)](_0xa995)||(typeof _0xa995==_0x2d59c4(0x2ab)&&_0xa995!==null?(_0x269eac=_0xa995,_0xa995=[]):_0xa995=[_0xa995]),_0xbfa62(this,_0x4d3b73,_0xa995,_0x269eac)):(this[_0x2d59c4(0x25e)]=_0x269eac[_0x2d59c4(0x2f3)],this[_0x2d59c4(0x23e)]=!0x0);}get[_0x4b72a3(0x171)](){const _0x5e3a6e=_0x4b72a3;return this[_0x5e3a6e(0x221)];}set[_0x4b72a3(0x171)](_0x366f4b){const _0x5584b3=_0x4b72a3;_0x358890[_0x5584b3(0x241)](_0x366f4b)&&(this[_0x5584b3(0x221)]=_0x366f4b,this[_0x5584b3(0x245)]&&(this[_0x5584b3(0x245)][_0x5584b3(0x221)]=_0x366f4b));}get[_0x4b72a3(0x1e1)](){const _0x52cc84=_0x4b72a3;return this[_0x52cc84(0x2af)]?this[_0x52cc84(0x2af)][_0x52cc84(0x170)][_0x52cc84(0x28c)]+this['_sender'][_0x52cc84(0x232)]:this[_0x52cc84(0x2df)];}get[_0x4b72a3(0x1f4)](){const _0x380c42=_0x4b72a3;return Object[_0x380c42(0x1c6)](this[_0x380c42(0x26c)])[_0x380c42(0x1da)]();}get['isPaused'](){return this['_paused'];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x4b72a3(0x27b)](){return null;}get[_0x4b72a3(0x1a8)](){return null;}get['protocol'](){const _0x275e25=_0x4b72a3;return this[_0x275e25(0x1c1)];}get['readyState'](){return this['_readyState'];}get[_0x4b72a3(0x22e)](){const _0x20370c=_0x4b72a3;return this[_0x20370c(0x1ae)];}['setSocket'](_0x4baf7e,_0x132972,_0x529876){const _0x391982=_0x4b72a3,_0x48f630=new _0x4fd309({'allowSynchronousEvents':_0x529876['allowSynchronousEvents'],'binaryType':this[_0x391982(0x171)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x529876[_0x391982(0x1ff)],'skipUTF8Validation':_0x529876['skipUTF8Validation']}),_0x1c3518=new _0x180415(_0x4baf7e,this[_0x391982(0x26c)],_0x529876['generateMask']);this[_0x391982(0x245)]=_0x48f630,this[_0x391982(0x25d)]=_0x1c3518,this['_socket']=_0x4baf7e,_0x48f630[_0x15199d]=this,_0x1c3518[_0x15199d]=this,_0x4baf7e[_0x15199d]=this,_0x48f630['on'](_0x391982(0x228),_0x4a39b5),_0x48f630['on']('drain',_0x1da518),_0x48f630['on'](_0x391982(0x166),_0x33df3f),_0x48f630['on'](_0x391982(0x237),_0x55bbbe),_0x48f630['on'](_0x391982(0x2ae),_0x373243),_0x48f630['on'](_0x391982(0x1fb),_0x2a2cdf),_0x1c3518[_0x391982(0x28a)]=_0x28d0d9,_0x4baf7e[_0x391982(0x176)]&&_0x4baf7e['setTimeout'](0x0),_0x4baf7e[_0x391982(0x286)]&&_0x4baf7e['setNoDelay'](),_0x132972[_0x391982(0x28c)]>0x0&&_0x4baf7e[_0x391982(0x2a2)](_0x132972),_0x4baf7e['on'](_0x391982(0x25c),_0x1b5166),_0x4baf7e['on'](_0x391982(0x197),_0x3a7193),_0x4baf7e['on'](_0x391982(0x196),_0x4f3837),_0x4baf7e['on']('error',_0x125dc7),this[_0x391982(0x292)]=_0xfef2e[_0x391982(0x190)],this[_0x391982(0x19b)](_0x391982(0x2d4));}[_0x4b72a3(0x24e)](){const _0x38f461=_0x4b72a3;if(!this[_0x38f461(0x2af)]){this[_0x38f461(0x292)]=_0xfef2e[_0x38f461(0x243)],this[_0x38f461(0x19b)](_0x38f461(0x25c),this['_closeCode'],this[_0x38f461(0x226)]);return;}this[_0x38f461(0x26c)][_0x5a2ee4[_0x38f461(0x22a)]]&&this[_0x38f461(0x26c)][_0x5a2ee4['extensionName']]['cleanup'](),this[_0x38f461(0x245)][_0x38f461(0x1bb)](),this[_0x38f461(0x292)]=_0xfef2e[_0x38f461(0x243)],this['emit']('close',this[_0x38f461(0x25b)],this[_0x38f461(0x226)]);}[_0x4b72a3(0x25c)](_0x2cbdc6,_0x4aa315){const _0x5a7787=_0x4b72a3;if(this[_0x5a7787(0x291)]!==_0xfef2e['CLOSED']){if(this[_0x5a7787(0x291)]===_0xfef2e['CONNECTING']){_0x4aa4a1(this,this[_0x5a7787(0x2bb)],_0x5a7787(0x1d5));return;}if(this[_0x5a7787(0x291)]===_0xfef2e[_0x5a7787(0x191)]){this[_0x5a7787(0x22d)]&&(this[_0x5a7787(0x1de)]||this[_0x5a7787(0x245)][_0x5a7787(0x170)][_0x5a7787(0x14f)])&&this[_0x5a7787(0x2af)]['end']();return;}this[_0x5a7787(0x292)]=_0xfef2e[_0x5a7787(0x191)],this['_sender'][_0x5a7787(0x25c)](_0x2cbdc6,_0x4aa315,!this['_isServer'],_0x55ad88=>{const _0x47c3e1=_0x5a7787;_0x55ad88||(this['_closeFrameSent']=!0x0,(this[_0x47c3e1(0x1de)]||this['_receiver'][_0x47c3e1(0x170)][_0x47c3e1(0x14f)])&&this[_0x47c3e1(0x2af)][_0x47c3e1(0x196)]());}),_0xa008e4(this);}}[_0x4b72a3(0x162)](){const _0x3ee0ae=_0x4b72a3;this[_0x3ee0ae(0x291)]===_0xfef2e[_0x3ee0ae(0x29d)]||this[_0x3ee0ae(0x291)]===_0xfef2e[_0x3ee0ae(0x243)]||(this[_0x3ee0ae(0x2b1)]=!0x0,this[_0x3ee0ae(0x2af)]['pause']());}['ping'](_0xc0eb8d,_0x10d9c1,_0x598a61){const _0x492fec=_0x4b72a3;if(this[_0x492fec(0x291)]===_0xfef2e[_0x492fec(0x29d)])throw new Error(_0x492fec(0x2c4));if(typeof _0xc0eb8d==_0x492fec(0x2ff)?(_0x598a61=_0xc0eb8d,_0xc0eb8d=_0x10d9c1=void 0x0):typeof _0x10d9c1==_0x492fec(0x2ff)&&(_0x598a61=_0x10d9c1,_0x10d9c1=void 0x0),typeof _0xc0eb8d=='number'&&(_0xc0eb8d=_0xc0eb8d[_0x492fec(0x160)]()),this['readyState']!==_0xfef2e[_0x492fec(0x190)]){_0x2ce8c9(this,_0xc0eb8d,_0x598a61);return;}_0x10d9c1===void 0x0&&(_0x10d9c1=!this[_0x492fec(0x23e)]),this['_sender'][_0x492fec(0x2ae)](_0xc0eb8d||_0x1ca426,_0x10d9c1,_0x598a61);}[_0x4b72a3(0x1fb)](_0x51655f,_0x3d95bf,_0x221b77){const _0x1a3dc4=_0x4b72a3;if(this[_0x1a3dc4(0x291)]===_0xfef2e['CONNECTING'])throw new Error(_0x1a3dc4(0x2c4));if(typeof _0x51655f==_0x1a3dc4(0x2ff)?(_0x221b77=_0x51655f,_0x51655f=_0x3d95bf=void 0x0):typeof _0x3d95bf=='function'&&(_0x221b77=_0x3d95bf,_0x3d95bf=void 0x0),typeof _0x51655f==_0x1a3dc4(0x2f7)&&(_0x51655f=_0x51655f[_0x1a3dc4(0x160)]()),this[_0x1a3dc4(0x291)]!==_0xfef2e[_0x1a3dc4(0x190)]){_0x2ce8c9(this,_0x51655f,_0x221b77);return;}_0x3d95bf===void 0x0&&(_0x3d95bf=!this['_isServer']),this[_0x1a3dc4(0x25d)]['pong'](_0x51655f||_0x1ca426,_0x3d95bf,_0x221b77);}[_0x4b72a3(0x288)](){const _0x514049=_0x4b72a3;this[_0x514049(0x291)]===_0xfef2e[_0x514049(0x29d)]||this[_0x514049(0x291)]===_0xfef2e[_0x514049(0x243)]||(this[_0x514049(0x2b1)]=!0x1,this['_receiver']['_writableState'][_0x514049(0x17c)]||this[_0x514049(0x2af)]['resume']());}['send'](_0x182868,_0x2743e8,_0x5c3ed9){const _0x3eeb3f=_0x4b72a3;if(this['readyState']===_0xfef2e[_0x3eeb3f(0x29d)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2743e8==_0x3eeb3f(0x2ff)&&(_0x5c3ed9=_0x2743e8,_0x2743e8={}),typeof _0x182868==_0x3eeb3f(0x2f7)&&(_0x182868=_0x182868[_0x3eeb3f(0x160)]()),this['readyState']!==_0xfef2e['OPEN']){_0x2ce8c9(this,_0x182868,_0x5c3ed9);return;}const _0x642268={'binary':typeof _0x182868!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x2743e8};this[_0x3eeb3f(0x26c)][_0x5a2ee4[_0x3eeb3f(0x22a)]]||(_0x642268[_0x3eeb3f(0x2a0)]=!0x1),this[_0x3eeb3f(0x25d)]['send'](_0x182868||_0x1ca426,_0x642268,_0x5c3ed9);}['terminate'](){const _0xfcb0a6=_0x4b72a3;if(this[_0xfcb0a6(0x291)]!==_0xfef2e[_0xfcb0a6(0x243)]){if(this[_0xfcb0a6(0x291)]===_0xfef2e[_0xfcb0a6(0x29d)]){_0x4aa4a1(this,this['_req'],_0xfcb0a6(0x1d5));return;}this['_socket']&&(this['_readyState']=_0xfef2e[_0xfcb0a6(0x191)],this[_0xfcb0a6(0x2af)][_0xfcb0a6(0x230)]());}}}Object['defineProperty'](_0xfef2e,_0x4b72a3(0x29d),{'enumerable':!0x0,'value':_0x1a6021[_0x4b72a3(0x1f6)](_0x4b72a3(0x29d))}),Object[_0x4b72a3(0x271)](_0xfef2e['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x1a6021[_0x4b72a3(0x1f6)]('CONNECTING')}),Object[_0x4b72a3(0x271)](_0xfef2e,_0x4b72a3(0x190),{'enumerable':!0x0,'value':_0x1a6021['indexOf'](_0x4b72a3(0x190))}),Object[_0x4b72a3(0x271)](_0xfef2e[_0x4b72a3(0x1a6)],'OPEN',{'enumerable':!0x0,'value':_0x1a6021['indexOf'](_0x4b72a3(0x190))}),Object[_0x4b72a3(0x271)](_0xfef2e,_0x4b72a3(0x191),{'enumerable':!0x0,'value':_0x1a6021['indexOf']('CLOSING')}),Object[_0x4b72a3(0x271)](_0xfef2e['prototype'],_0x4b72a3(0x191),{'enumerable':!0x0,'value':_0x1a6021['indexOf'](_0x4b72a3(0x191))}),Object[_0x4b72a3(0x271)](_0xfef2e,_0x4b72a3(0x243),{'enumerable':!0x0,'value':_0x1a6021['indexOf'](_0x4b72a3(0x243))}),Object[_0x4b72a3(0x271)](_0xfef2e['prototype'],_0x4b72a3(0x243),{'enumerable':!0x0,'value':_0x1a6021[_0x4b72a3(0x1f6)](_0x4b72a3(0x243))}),[_0x4b72a3(0x171),_0x4b72a3(0x1e1),_0x4b72a3(0x1f4),_0x4b72a3(0x15d),_0x4b72a3(0x240),_0x4b72a3(0x291),_0x4b72a3(0x22e)][_0x4b72a3(0x1af)](_0x2143fe=>{const _0x2f309e=_0x4b72a3;Object[_0x2f309e(0x271)](_0xfef2e[_0x2f309e(0x1a6)],_0x2143fe,{'enumerable':!0x0});}),['open','error',_0x4b72a3(0x25c),_0x4b72a3(0x237)][_0x4b72a3(0x1af)](_0x3f078c=>{const _0x135bc1=_0x4b72a3;Object['defineProperty'](_0xfef2e[_0x135bc1(0x1a6)],'on'+_0x3f078c,{'enumerable':!0x0,'get'(){const _0x5606e2=_0x135bc1;for(const _0x5c760b of this[_0x5606e2(0x1ec)](_0x3f078c))if(_0x5c760b[_0x2024b3])return _0x5c760b[_0xc59d59];return null;},'set'(_0x44faff){const _0x40cf4c=_0x135bc1;for(const _0x357cf8 of this[_0x40cf4c(0x1ec)](_0x3f078c))if(_0x357cf8[_0x2024b3]){this[_0x40cf4c(0x20c)](_0x3f078c,_0x357cf8);break;}typeof _0x44faff=='function'&&this[_0x40cf4c(0x236)](_0x3f078c,_0x44faff,{[_0x2024b3]:!0x0});}});}),_0xfef2e['prototype']['addEventListener']=_0x59e5f9,_0xfef2e[_0x4b72a3(0x1a6)][_0x4b72a3(0x301)]=_0x79bcd2,we=_0xfef2e;function _0xbfa62(_0x52d5f6,_0x495710,_0x354f83,_0x5df01c){const _0x38dd93=_0x4b72a3,_0x20e086={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1f70e4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5df01c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x38dd93(0x2ec),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x52d5f6[_0x38dd93(0x25e)]=_0x20e086[_0x38dd93(0x2f3)],!_0x1f70e4['includes'](_0x20e086['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x20e086[_0x38dd93(0x1c4)]+_0x38dd93(0x1b5)+_0x1f70e4[_0x38dd93(0x1da)](',\x20')+')');let _0x2f86e6;if(_0x495710 instanceof _0xc5fc6b)_0x2f86e6=_0x495710;else try{_0x2f86e6=new _0xc5fc6b(_0x495710);}catch{throw new SyntaxError(_0x38dd93(0x2dc)+_0x495710);}_0x2f86e6[_0x38dd93(0x240)]==='http:'?_0x2f86e6[_0x38dd93(0x240)]='ws:':_0x2f86e6[_0x38dd93(0x240)]==='https:'&&(_0x2f86e6[_0x38dd93(0x240)]=_0x38dd93(0x299)),_0x52d5f6[_0x38dd93(0x1ae)]=_0x2f86e6[_0x38dd93(0x24f)];const _0x2493f7=_0x2f86e6[_0x38dd93(0x240)]==='wss:',_0x57b391=_0x2f86e6[_0x38dd93(0x240)]==='ws+unix:';let _0x460def;if(_0x2f86e6[_0x38dd93(0x240)]!==_0x38dd93(0x1d2)&&!_0x2493f7&&!_0x57b391?_0x460def=_0x38dd93(0x24c):_0x57b391&&!_0x2f86e6['pathname']?_0x460def='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2f86e6['hash']&&(_0x460def=_0x38dd93(0x1a0)),_0x460def){const _0x5a8b91=new SyntaxError(_0x460def);if(_0x52d5f6[_0x38dd93(0x16b)]===0x0)throw _0x5a8b91;_0x35f7b5(_0x52d5f6,_0x5a8b91);return;}const _0x5a6ca9=_0x2493f7?0x1bb:0x50,_0x277155=_0x2e89ce(0x10)[_0x38dd93(0x160)](_0x38dd93(0x2fa)),_0xf34639=_0x2493f7?_0x55a1b4[_0x38dd93(0x168)]:_0x3f8e0f[_0x38dd93(0x168)],_0x22a78d=new Set();let _0x49d16c;if(_0x20e086[_0x38dd93(0x247)]=_0x20e086['createConnection']||(_0x2493f7?_0x34cf05:_0x38a9c1),_0x20e086[_0x38dd93(0x2a7)]=_0x20e086[_0x38dd93(0x2a7)]||_0x5a6ca9,_0x20e086[_0x38dd93(0x1a4)]=_0x2f86e6['port']||_0x5a6ca9,_0x20e086[_0x38dd93(0x173)]=_0x2f86e6[_0x38dd93(0x16e)][_0x38dd93(0x290)]('[')?_0x2f86e6[_0x38dd93(0x16e)]['slice'](0x1,-0x1):_0x2f86e6['hostname'],_0x20e086[_0x38dd93(0x185)]={..._0x20e086[_0x38dd93(0x185)],'Sec-WebSocket-Version':_0x20e086[_0x38dd93(0x1c4)],'Sec-WebSocket-Key':_0x277155,'Connection':'Upgrade','Upgrade':_0x38dd93(0x242)},_0x20e086['path']=_0x2f86e6['pathname']+_0x2f86e6[_0x38dd93(0x2b2)],_0x20e086['timeout']=_0x20e086[_0x38dd93(0x23c)],_0x20e086[_0x38dd93(0x2cd)]&&(_0x49d16c=new _0x5a2ee4(_0x20e086[_0x38dd93(0x2cd)]!==!0x0?_0x20e086[_0x38dd93(0x2cd)]:{},!0x1,_0x20e086['maxPayload']),_0x20e086[_0x38dd93(0x185)][_0x38dd93(0x1c8)]=_0x11de14({[_0x5a2ee4['extensionName']]:_0x49d16c[_0x38dd93(0x169)]()})),_0x354f83[_0x38dd93(0x28c)]){for(const _0x6fa94c of _0x354f83){if(typeof _0x6fa94c!=_0x38dd93(0x2b6)||!_0x1c44d7[_0x38dd93(0x1ac)](_0x6fa94c)||_0x22a78d[_0x38dd93(0x27c)](_0x6fa94c))throw new SyntaxError(_0x38dd93(0x2e0));_0x22a78d[_0x38dd93(0x1f1)](_0x6fa94c);}_0x20e086[_0x38dd93(0x185)][_0x38dd93(0x21c)]=_0x354f83['join'](',');}if(_0x20e086[_0x38dd93(0x300)]&&(_0x20e086['protocolVersion']<0xd?_0x20e086['headers'][_0x38dd93(0x175)]=_0x20e086[_0x38dd93(0x300)]:_0x20e086[_0x38dd93(0x185)]['Origin']=_0x20e086[_0x38dd93(0x300)]),(_0x2f86e6[_0x38dd93(0x167)]||_0x2f86e6[_0x38dd93(0x2ca)])&&(_0x20e086[_0x38dd93(0x1dd)]=_0x2f86e6['username']+':'+_0x2f86e6[_0x38dd93(0x2ca)]),_0x57b391){const _0x1b3583=_0x20e086['path'][_0x38dd93(0x24a)](':');_0x20e086[_0x38dd93(0x294)]=_0x1b3583[0x0],_0x20e086[_0x38dd93(0x26a)]=_0x1b3583[0x1];}let _0x5bcbbb;if(_0x20e086[_0x38dd93(0x2b9)]){if(_0x52d5f6[_0x38dd93(0x16b)]===0x0){_0x52d5f6['_originalIpc']=_0x57b391,_0x52d5f6[_0x38dd93(0x182)]=_0x2493f7,_0x52d5f6[_0x38dd93(0x2ac)]=_0x57b391?_0x20e086[_0x38dd93(0x294)]:_0x2f86e6[_0x38dd93(0x173)];const _0x1ee67f=_0x5df01c&&_0x5df01c[_0x38dd93(0x185)];if(_0x5df01c={..._0x5df01c,'headers':{}},_0x1ee67f){for(const [_0x5e3495,_0x3638ee]of Object['entries'](_0x1ee67f))_0x5df01c[_0x38dd93(0x185)][_0x5e3495['toLowerCase']()]=_0x3638ee;}}else{if(_0x52d5f6[_0x38dd93(0x270)](_0x38dd93(0x1c3))===0x0){const _0x136ccc=_0x57b391?_0x52d5f6[_0x38dd93(0x1d7)]?_0x20e086[_0x38dd93(0x294)]===_0x52d5f6[_0x38dd93(0x2ac)]:!0x1:_0x52d5f6[_0x38dd93(0x1d7)]?!0x1:_0x2f86e6['host']===_0x52d5f6['_originalHostOrSocketPath'];(!_0x136ccc||_0x52d5f6[_0x38dd93(0x182)]&&!_0x2493f7)&&(delete _0x20e086[_0x38dd93(0x185)]['authorization'],delete _0x20e086[_0x38dd93(0x185)][_0x38dd93(0x259)],_0x136ccc||delete _0x20e086[_0x38dd93(0x185)]['host'],_0x20e086[_0x38dd93(0x1dd)]=void 0x0);}}_0x20e086[_0x38dd93(0x1dd)]&&!_0x5df01c[_0x38dd93(0x185)][_0x38dd93(0x24b)]&&(_0x5df01c[_0x38dd93(0x185)][_0x38dd93(0x24b)]=_0x38dd93(0x248)+Buffer[_0x38dd93(0x2e1)](_0x20e086[_0x38dd93(0x1dd)])[_0x38dd93(0x160)](_0x38dd93(0x2fa))),_0x5bcbbb=_0x52d5f6[_0x38dd93(0x2bb)]=_0xf34639(_0x20e086),_0x52d5f6['_redirects']&&_0x52d5f6[_0x38dd93(0x19b)](_0x38dd93(0x1c3),_0x52d5f6[_0x38dd93(0x22e)],_0x5bcbbb);}else _0x5bcbbb=_0x52d5f6[_0x38dd93(0x2bb)]=_0xf34639(_0x20e086);_0x20e086[_0x38dd93(0x2b3)]&&_0x5bcbbb['on'](_0x38dd93(0x2b3),()=>{const _0x5d98e1=_0x38dd93;_0x4aa4a1(_0x52d5f6,_0x5bcbbb,_0x5d98e1(0x2e2));}),_0x5bcbbb['on']('error',_0x22692e=>{_0x5bcbbb===null||_0x5bcbbb[_0x4e4b2e]||(_0x5bcbbb=_0x52d5f6['_req']=null,_0x35f7b5(_0x52d5f6,_0x22692e));}),_0x5bcbbb['on'](_0x38dd93(0x274),_0x4f8b83=>{const _0x326491=_0x38dd93,_0x213e2b=_0x4f8b83[_0x326491(0x185)]['location'],_0x541aa7=_0x4f8b83[_0x326491(0x1ca)];if(_0x213e2b&&_0x20e086[_0x326491(0x2b9)]&&_0x541aa7>=0x12c&&_0x541aa7<0x190){if(++_0x52d5f6[_0x326491(0x16b)]>_0x20e086[_0x326491(0x1f5)]){_0x4aa4a1(_0x52d5f6,_0x5bcbbb,_0x326491(0x157));return;}_0x5bcbbb[_0x326491(0x2e5)]();let _0x284bc9;try{_0x284bc9=new _0xc5fc6b(_0x213e2b,_0x495710);}catch{const _0x367789=new SyntaxError(_0x326491(0x2dc)+_0x213e2b);_0x35f7b5(_0x52d5f6,_0x367789);return;}_0xbfa62(_0x52d5f6,_0x284bc9,_0x354f83,_0x5df01c);}else _0x52d5f6[_0x326491(0x19b)](_0x326491(0x227),_0x5bcbbb,_0x4f8b83)||_0x4aa4a1(_0x52d5f6,_0x5bcbbb,_0x326491(0x206)+_0x4f8b83['statusCode']);}),_0x5bcbbb['on'](_0x38dd93(0x156),(_0x4c481c,_0x5305a8,_0x1b9286)=>{const _0x4afc28=_0x38dd93;if(_0x52d5f6['emit'](_0x4afc28(0x156),_0x4c481c),_0x52d5f6[_0x4afc28(0x291)]!==_0xfef2e[_0x4afc28(0x29d)])return;_0x5bcbbb=_0x52d5f6[_0x4afc28(0x2bb)]=null;const _0x1ddec3=_0x4c481c[_0x4afc28(0x185)][_0x4afc28(0x156)];if(_0x1ddec3===void 0x0||_0x1ddec3[_0x4afc28(0x1ea)]()!==_0x4afc28(0x242)){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x1d9));return;}const _0x2e37db=_0x1a72ff('sha1')['update'](_0x277155+_0x4abd2b)[_0x4afc28(0x2cc)](_0x4afc28(0x2fa));if(_0x4c481c['headers'][_0x4afc28(0x187)]!==_0x2e37db){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x2b7));return;}const _0x3b4c77=_0x4c481c[_0x4afc28(0x185)][_0x4afc28(0x2c1)];let _0x1e7306;if(_0x3b4c77!==void 0x0?_0x22a78d[_0x4afc28(0x266)]?_0x22a78d[_0x4afc28(0x27c)](_0x3b4c77)||(_0x1e7306='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1e7306=_0x4afc28(0x174):_0x22a78d['size']&&(_0x1e7306=_0x4afc28(0x2ba)),_0x1e7306){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x1e7306);return;}_0x3b4c77&&(_0x52d5f6[_0x4afc28(0x1c1)]=_0x3b4c77);const _0x3fa730=_0x4c481c[_0x4afc28(0x185)][_0x4afc28(0x2c0)];if(_0x3fa730!==void 0x0){if(!_0x49d16c){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x257));return;}let _0x32bf8d;try{_0x32bf8d=_0x4a426a(_0x3fa730);}catch{_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x17a));return;}const _0x3dcf12=Object[_0x4afc28(0x1c6)](_0x32bf8d);if(_0x3dcf12[_0x4afc28(0x28c)]!==0x1||_0x3dcf12[0x0]!==_0x5a2ee4[_0x4afc28(0x22a)]){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x223));return;}try{_0x49d16c[_0x4afc28(0x1ed)](_0x32bf8d[_0x5a2ee4[_0x4afc28(0x22a)]]);}catch{_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x17a));return;}_0x52d5f6[_0x4afc28(0x26c)][_0x5a2ee4['extensionName']]=_0x49d16c;}_0x52d5f6[_0x4afc28(0x244)](_0x5305a8,_0x1b9286,{'allowSynchronousEvents':_0x20e086[_0x4afc28(0x15a)],'generateMask':_0x20e086[_0x4afc28(0x29e)],'maxPayload':_0x20e086[_0x4afc28(0x1ff)],'skipUTF8Validation':_0x20e086[_0x4afc28(0x1f3)]});}),_0x20e086[_0x38dd93(0x269)]?_0x20e086[_0x38dd93(0x269)](_0x5bcbbb,_0x52d5f6):_0x5bcbbb[_0x38dd93(0x196)]();}function _0x35f7b5(_0x49c4ad,_0x1f4b24){const _0x3d24c6=_0x4b72a3;_0x49c4ad['_readyState']=_0xfef2e[_0x3d24c6(0x191)],_0x49c4ad['_errorEmitted']=!0x0,_0x49c4ad[_0x3d24c6(0x19b)](_0x3d24c6(0x166),_0x1f4b24),_0x49c4ad[_0x3d24c6(0x24e)]();}function _0x38a9c1(_0x360920){const _0x315689=_0x4b72a3;return _0x360920[_0x315689(0x26a)]=_0x360920[_0x315689(0x294)],_0x297610[_0x315689(0x183)](_0x360920);}function _0x34cf05(_0x1a1deb){const _0x2a96ae=_0x4b72a3;return _0x1a1deb['path']=void 0x0,!_0x1a1deb[_0x2a96ae(0x1f0)]&&_0x1a1deb[_0x2a96ae(0x1f0)]!==''&&(_0x1a1deb[_0x2a96ae(0x1f0)]=_0x297610[_0x2a96ae(0x2c9)](_0x1a1deb[_0x2a96ae(0x173)])?'':_0x1a1deb['host']),_0x1499a8[_0x2a96ae(0x183)](_0x1a1deb);}function _0x4aa4a1(_0x5a8e74,_0x4ba454,_0x2d8171){const _0x2b7ac5=_0x4b72a3;_0x5a8e74[_0x2b7ac5(0x292)]=_0xfef2e[_0x2b7ac5(0x191)];const _0x5a34ab=new Error(_0x2d8171);Error[_0x2b7ac5(0x1ab)](_0x5a34ab,_0x4aa4a1),_0x4ba454[_0x2b7ac5(0x210)]?(_0x4ba454[_0x4e4b2e]=!0x0,_0x4ba454['abort'](),_0x4ba454[_0x2b7ac5(0x302)]&&!_0x4ba454[_0x2b7ac5(0x302)][_0x2b7ac5(0x2c5)]&&_0x4ba454[_0x2b7ac5(0x302)][_0x2b7ac5(0x230)](),process['nextTick'](_0x35f7b5,_0x5a8e74,_0x5a34ab)):(_0x4ba454[_0x2b7ac5(0x230)](_0x5a34ab),_0x4ba454[_0x2b7ac5(0x2da)](_0x2b7ac5(0x166),_0x5a8e74[_0x2b7ac5(0x19b)]['bind'](_0x5a8e74,_0x2b7ac5(0x166))),_0x4ba454[_0x2b7ac5(0x2da)](_0x2b7ac5(0x25c),_0x5a8e74[_0x2b7ac5(0x24e)]['bind'](_0x5a8e74)));}function _0x2ce8c9(_0x1840d4,_0x3a379b,_0x4b83d0){const _0x2b67bb=_0x4b72a3;if(_0x3a379b){const _0x5c04eb=_0x38eb90(_0x3a379b)?_0x3a379b[_0x2b67bb(0x266)]:_0x243a26(_0x3a379b)[_0x2b67bb(0x28c)];_0x1840d4[_0x2b67bb(0x2af)]?_0x1840d4['_sender']['_bufferedBytes']+=_0x5c04eb:_0x1840d4['_bufferedAmount']+=_0x5c04eb;}if(_0x4b83d0){const _0x1f56fd=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1840d4[_0x2b67bb(0x291)]+'\x20('+_0x1a6021[_0x1840d4[_0x2b67bb(0x291)]]+')');process[_0x2b67bb(0x27d)](_0x4b83d0,_0x1f56fd);}}function _0x4a39b5(_0x52007d,_0x39da1c){const _0x20fc0a=_0x4b72a3,_0x3084f9=this[_0x15199d];_0x3084f9[_0x20fc0a(0x1de)]=!0x0,_0x3084f9['_closeMessage']=_0x39da1c,_0x3084f9[_0x20fc0a(0x25b)]=_0x52007d,_0x3084f9[_0x20fc0a(0x2af)][_0x15199d]!==void 0x0&&(_0x3084f9[_0x20fc0a(0x2af)][_0x20fc0a(0x20c)](_0x20fc0a(0x197),_0x3a7193),process[_0x20fc0a(0x27d)](_0x49d2c1,_0x3084f9[_0x20fc0a(0x2af)]),_0x52007d===0x3ed?_0x3084f9[_0x20fc0a(0x25c)]():_0x3084f9['close'](_0x52007d,_0x39da1c));}function _0x1da518(){const _0x31f6ef=_0x4b72a3,_0x209c64=this[_0x15199d];_0x209c64[_0x31f6ef(0x15d)]||_0x209c64[_0x31f6ef(0x2af)][_0x31f6ef(0x288)]();}function _0x33df3f(_0x1f6a89){const _0x28bd54=_0x4b72a3,_0x2d9400=this[_0x15199d];_0x2d9400[_0x28bd54(0x2af)][_0x15199d]!==void 0x0&&(_0x2d9400[_0x28bd54(0x2af)][_0x28bd54(0x20c)](_0x28bd54(0x197),_0x3a7193),process['nextTick'](_0x49d2c1,_0x2d9400[_0x28bd54(0x2af)]),_0x2d9400[_0x28bd54(0x25c)](_0x1f6a89[_0x35f679])),_0x2d9400[_0x28bd54(0x268)]||(_0x2d9400[_0x28bd54(0x268)]=!0x0,_0x2d9400[_0x28bd54(0x19b)](_0x28bd54(0x166),_0x1f6a89));}function _0x17ba57(){const _0x45dc03=_0x4b72a3;this[_0x15199d][_0x45dc03(0x24e)]();}function _0x55bbbe(_0x2b252b,_0x4dd330){const _0x54b03d=_0x4b72a3;this[_0x15199d][_0x54b03d(0x19b)](_0x54b03d(0x237),_0x2b252b,_0x4dd330);}function _0x373243(_0x55c80f){const _0x4ff2a2=_0x4b72a3,_0x21c5dc=this[_0x15199d];_0x21c5dc[_0x4ff2a2(0x25e)]&&_0x21c5dc[_0x4ff2a2(0x1fb)](_0x55c80f,!this[_0x4ff2a2(0x23e)],_0x49b11),_0x21c5dc[_0x4ff2a2(0x19b)](_0x4ff2a2(0x2ae),_0x55c80f);}function _0x2a2cdf(_0x2f9698){const _0x69376=_0x4b72a3;this[_0x15199d][_0x69376(0x19b)](_0x69376(0x1fb),_0x2f9698);}function _0x49d2c1(_0x546618){_0x546618['resume']();}function _0x28d0d9(_0x1df7b0){const _0x5cf593=_0x4b72a3,_0x452a3f=this[_0x15199d];_0x452a3f[_0x5cf593(0x291)]!==_0xfef2e[_0x5cf593(0x243)]&&(_0x452a3f[_0x5cf593(0x291)]===_0xfef2e[_0x5cf593(0x190)]&&(_0x452a3f[_0x5cf593(0x292)]=_0xfef2e['CLOSING'],_0xa008e4(_0x452a3f)),this[_0x5cf593(0x2af)]['end'](),_0x452a3f['_errorEmitted']||(_0x452a3f[_0x5cf593(0x268)]=!0x0,_0x452a3f[_0x5cf593(0x19b)](_0x5cf593(0x166),_0x1df7b0)));}function _0xa008e4(_0x5ac7fa){const _0x2c3de2=_0x4b72a3;_0x5ac7fa[_0x2c3de2(0x2de)]=setTimeout(_0x5ac7fa[_0x2c3de2(0x2af)][_0x2c3de2(0x230)][_0x2c3de2(0x1b9)](_0x5ac7fa[_0x2c3de2(0x2af)]),_0x170d6f);}function _0x1b5166(){const _0x4b93f9=_0x4b72a3,_0x535ab9=this[_0x15199d];this[_0x4b93f9(0x20c)]('close',_0x1b5166),this[_0x4b93f9(0x20c)]('data',_0x3a7193),this[_0x4b93f9(0x20c)](_0x4b93f9(0x196),_0x4f3837),_0x535ab9[_0x4b93f9(0x292)]=_0xfef2e[_0x4b93f9(0x191)];let _0x6f7b9a;!this[_0x4b93f9(0x164)][_0x4b93f9(0x2c6)]&&!_0x535ab9[_0x4b93f9(0x1de)]&&!_0x535ab9[_0x4b93f9(0x245)][_0x4b93f9(0x170)]['errorEmitted']&&(_0x6f7b9a=_0x535ab9['_socket'][_0x4b93f9(0x253)]())!==null&&_0x535ab9[_0x4b93f9(0x245)][_0x4b93f9(0x1c0)](_0x6f7b9a),_0x535ab9[_0x4b93f9(0x245)]['end'](),this[_0x15199d]=void 0x0,clearTimeout(_0x535ab9[_0x4b93f9(0x2de)]),_0x535ab9[_0x4b93f9(0x245)][_0x4b93f9(0x170)][_0x4b93f9(0x213)]||_0x535ab9[_0x4b93f9(0x245)]['_writableState'][_0x4b93f9(0x14f)]?_0x535ab9[_0x4b93f9(0x24e)]():(_0x535ab9['_receiver']['on']('error',_0x17ba57),_0x535ab9['_receiver']['on'](_0x4b93f9(0x163),_0x17ba57));}function _0x3a7193(_0x4b5ed5){const _0x1fd791=_0x4b72a3;this[_0x15199d][_0x1fd791(0x245)][_0x1fd791(0x1c0)](_0x4b5ed5)||this['pause']();}function _0x4f3837(){const _0x47ad7d=_0x4b72a3,_0x45cd5b=this[_0x15199d];_0x45cd5b[_0x47ad7d(0x292)]=_0xfef2e[_0x47ad7d(0x191)],_0x45cd5b['_receiver'][_0x47ad7d(0x196)](),this[_0x47ad7d(0x196)]();}function _0x125dc7(){const _0x1d6da1=_0x4b72a3,_0x51f513=this[_0x15199d];this[_0x1d6da1(0x20c)]('error',_0x125dc7),this['on'](_0x1d6da1(0x166),_0x49b11),_0x51f513&&(_0x51f513[_0x1d6da1(0x292)]=_0xfef2e[_0x1d6da1(0x191)],this[_0x1d6da1(0x230)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x45a8cc}=_0x268d1b;function _0xa517e8(_0x4ed6c8){const _0x222b7d=_0x4f4c;_0x4ed6c8[_0x222b7d(0x19b)]('close');}function _0x1ce582(){const _0x1b963f=_0x4f4c;!this[_0x1b963f(0x2c5)]&&this['_writableState']['finished']&&this[_0x1b963f(0x230)]();}function _0x20bfe5(_0x148e07){const _0x539028=_0x4f4c;this[_0x539028(0x20c)]('error',_0x20bfe5),this['destroy'](),this[_0x539028(0x270)](_0x539028(0x166))===0x0&&this[_0x539028(0x19b)](_0x539028(0x166),_0x148e07);}function _0x20e356(_0x1bcb2d,_0x3a9b78){const _0x142eb8=_0x4f4c;let _0x25ef34=!0x0;const _0x54b599=new _0x45a8cc({..._0x3a9b78,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1bcb2d['on'](_0x142eb8(0x237),function(_0x406ffb,_0x413038){const _0x3c0496=_0x142eb8,_0x56f28c=!_0x413038&&_0x54b599[_0x3c0496(0x164)][_0x3c0496(0x1a2)]?_0x406ffb[_0x3c0496(0x160)]():_0x406ffb;_0x54b599['push'](_0x56f28c)||_0x1bcb2d[_0x3c0496(0x162)]();}),_0x1bcb2d[_0x142eb8(0x2da)](_0x142eb8(0x166),function(_0x232bc7){const _0x1cd17d=_0x142eb8;_0x54b599['destroyed']||(_0x25ef34=!0x1,_0x54b599[_0x1cd17d(0x230)](_0x232bc7));}),_0x1bcb2d['once'](_0x142eb8(0x25c),function(){const _0x1318c6=_0x142eb8;_0x54b599[_0x1318c6(0x2c5)]||_0x54b599['push'](null);}),_0x54b599[_0x142eb8(0x20e)]=function(_0x2c8489,_0x221bfc){const _0x2ececa=_0x142eb8;if(_0x1bcb2d['readyState']===_0x1bcb2d[_0x2ececa(0x243)]){_0x221bfc(_0x2c8489),process['nextTick'](_0xa517e8,_0x54b599);return;}let _0x3eefd8=!0x1;_0x1bcb2d['once'](_0x2ececa(0x166),function(_0x1d2355){_0x3eefd8=!0x0,_0x221bfc(_0x1d2355);}),_0x1bcb2d[_0x2ececa(0x2da)](_0x2ececa(0x25c),function(){const _0x1b116e=_0x2ececa;_0x3eefd8||_0x221bfc(_0x2c8489),process[_0x1b116e(0x27d)](_0xa517e8,_0x54b599);}),_0x25ef34&&_0x1bcb2d['terminate']();},_0x54b599[_0x142eb8(0x15f)]=function(_0x3d42ac){const _0x56b760=_0x142eb8;if(_0x1bcb2d[_0x56b760(0x291)]===_0x1bcb2d[_0x56b760(0x29d)]){_0x1bcb2d[_0x56b760(0x2da)]('open',function(){const _0x1e6d17=_0x56b760;_0x54b599[_0x1e6d17(0x15f)](_0x3d42ac);});return;}_0x1bcb2d[_0x56b760(0x2af)]!==null&&(_0x1bcb2d[_0x56b760(0x2af)][_0x56b760(0x170)][_0x56b760(0x213)]?(_0x3d42ac(),_0x54b599[_0x56b760(0x164)][_0x56b760(0x2c6)]&&_0x54b599[_0x56b760(0x230)]()):(_0x1bcb2d[_0x56b760(0x2af)][_0x56b760(0x2da)](_0x56b760(0x163),function(){_0x3d42ac();}),_0x1bcb2d[_0x56b760(0x25c)]()));},_0x54b599[_0x142eb8(0x2eb)]=function(){_0x1bcb2d['isPaused']&&_0x1bcb2d['resume']();},_0x54b599[_0x142eb8(0x212)]=function(_0x275e3c,_0x24fd7f,_0x58a685){const _0x11e6a4=_0x142eb8;if(_0x1bcb2d[_0x11e6a4(0x291)]===_0x1bcb2d[_0x11e6a4(0x29d)]){_0x1bcb2d[_0x11e6a4(0x2da)](_0x11e6a4(0x2d4),function(){const _0x4fef6d=_0x11e6a4;_0x54b599[_0x4fef6d(0x212)](_0x275e3c,_0x24fd7f,_0x58a685);});return;}_0x1bcb2d[_0x11e6a4(0x15c)](_0x275e3c,_0x58a685);},_0x54b599['on'](_0x142eb8(0x196),_0x1ce582),_0x54b599['on'](_0x142eb8(0x166),_0x20bfe5),_0x54b599;}return Oe=_0x20e356,Oe;}function _0x4f4c(_0x2f601d,_0xb21756){const _0x31cabc=_0x31ca();return _0x4f4c=function(_0x4f4cba,_0x468486){_0x4f4cba=_0x4f4cba-0x14f;let _0xcdde85=_0x31cabc[_0x4f4cba];return _0xcdde85;},_0x4f4c(_0x2f601d,_0xb21756);}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x44fd18}=ne();function _0x388c08(_0x488950){const _0x1fab55=_0x4f4c,_0x10a802=new Set();let _0x114cd3=-0x1,_0x5af9c8=-0x1,_0x38803c=0x0;for(_0x38803c;_0x38803c<_0x488950[_0x1fab55(0x28c)];_0x38803c++){const _0x3b70ec=_0x488950['charCodeAt'](_0x38803c);if(_0x5af9c8===-0x1&&_0x44fd18[_0x3b70ec]===0x1)_0x114cd3===-0x1&&(_0x114cd3=_0x38803c);else{if(_0x38803c!==0x0&&(_0x3b70ec===0x20||_0x3b70ec===0x9))_0x5af9c8===-0x1&&_0x114cd3!==-0x1&&(_0x5af9c8=_0x38803c);else{if(_0x3b70ec===0x2c){if(_0x114cd3===-0x1)throw new SyntaxError(_0x1fab55(0x2a6)+_0x38803c);_0x5af9c8===-0x1&&(_0x5af9c8=_0x38803c);const _0x4772a7=_0x488950[_0x1fab55(0x18e)](_0x114cd3,_0x5af9c8);if(_0x10a802['has'](_0x4772a7))throw new SyntaxError(_0x1fab55(0x2bc)+_0x4772a7+_0x1fab55(0x1bf));_0x10a802[_0x1fab55(0x1f1)](_0x4772a7),_0x114cd3=_0x5af9c8=-0x1;}else throw new SyntaxError(_0x1fab55(0x2a6)+_0x38803c);}}}if(_0x114cd3===-0x1||_0x5af9c8!==-0x1)throw new SyntaxError(_0x1fab55(0x2e8));const _0x452075=_0x488950['slice'](_0x114cd3,_0x38803c);if(_0x10a802['has'](_0x452075))throw new SyntaxError(_0x1fab55(0x2bc)+_0x452075+_0x1fab55(0x1bf));return _0x10a802[_0x1fab55(0x1f1)](_0x452075),_0x10a802;}return Ce={'parse':_0x388c08},Ce;}var Te,ot;function er(){if(ot)return Te;ot=0x1;const _0x335606=_0x582a84,_0x511d05=_0x5e30a9,{Duplex:_0x28a75e}=_0x268d1b,{createHash:_0x4602f2}=_0x1afa45,_0x5a2d36=pt(),_0x450b25=he(),_0x480343=Jt(),_0x58cd98=Ie(),{GUID:_0x5c0fee,kWebSocket:_0x31f6be}=V(),_0x349603=/^[+/0-9A-Za-z]{22}==$/,_0x4bf49c=0x0,_0x57f79a=0x1,_0x18bc6f=0x2;class _0x58326e extends _0x335606{constructor(_0x11766a,_0x4ea338){const _0x5570fd=_0x4f4c;if(super(),_0x11766a={'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':_0x58cd98,..._0x11766a},_0x11766a[_0x5570fd(0x1a4)]==null&&!_0x11766a['server']&&!_0x11766a[_0x5570fd(0x278)]||_0x11766a[_0x5570fd(0x1a4)]!=null&&(_0x11766a['server']||_0x11766a[_0x5570fd(0x278)])||_0x11766a[_0x5570fd(0x1b3)]&&_0x11766a[_0x5570fd(0x278)])throw new TypeError(_0x5570fd(0x287));if(_0x11766a[_0x5570fd(0x1a4)]!=null?(this['_server']=_0x511d05[_0x5570fd(0x211)]((_0x2745c,_0x4f8288)=>{const _0x173abf=_0x5570fd,_0x537b44=_0x511d05[_0x173abf(0x2fc)][0x1aa];_0x4f8288[_0x173abf(0x1be)](0x1aa,{'Content-Length':_0x537b44['length'],'Content-Type':_0x173abf(0x1eb)}),_0x4f8288[_0x173abf(0x196)](_0x537b44);}),this['_server'][_0x5570fd(0x16a)](_0x11766a[_0x5570fd(0x1a4)],_0x11766a[_0x5570fd(0x173)],_0x11766a[_0x5570fd(0x21b)],_0x4ea338)):_0x11766a[_0x5570fd(0x1b3)]&&(this[_0x5570fd(0x2d2)]=_0x11766a['server']),this[_0x5570fd(0x2d2)]){const _0x1587f6=this[_0x5570fd(0x19b)]['bind'](this,_0x5570fd(0x2bd));this[_0x5570fd(0x186)]=_0xabd7d2(this[_0x5570fd(0x2d2)],{'listening':this[_0x5570fd(0x19b)][_0x5570fd(0x1b9)](this,_0x5570fd(0x1db)),'error':this['emit']['bind'](this,'error'),'upgrade':(_0x101be0,_0x40fb9d,_0x5ac113)=>{const _0x4667fe=_0x5570fd;this[_0x4667fe(0x2d0)](_0x101be0,_0x40fb9d,_0x5ac113,_0x1587f6);}});}_0x11766a['perMessageDeflate']===!0x0&&(_0x11766a[_0x5570fd(0x2cd)]={}),_0x11766a[_0x5570fd(0x1cc)]&&(this[_0x5570fd(0x1b1)]=new Set(),this[_0x5570fd(0x2c8)]=!0x1),this['options']=_0x11766a,this[_0x5570fd(0x283)]=_0x4bf49c;}['address'](){const _0x202c6a=_0x4f4c;if(this['options']['noServer'])throw new Error(_0x202c6a(0x24d));return this[_0x202c6a(0x2d2)]?this[_0x202c6a(0x2d2)]['address']():null;}['close'](_0x256568){const _0x4d6e53=_0x4f4c;if(this[_0x4d6e53(0x283)]===_0x18bc6f){_0x256568&&this[_0x4d6e53(0x2da)](_0x4d6e53(0x25c),()=>{const _0x9eaa38=_0x4d6e53;_0x256568(new Error(_0x9eaa38(0x1f2)));}),process[_0x4d6e53(0x27d)](_0x37817f,this);return;}if(_0x256568&&this[_0x4d6e53(0x2da)](_0x4d6e53(0x25c),_0x256568),this[_0x4d6e53(0x283)]!==_0x57f79a){if(this[_0x4d6e53(0x283)]=_0x57f79a,this[_0x4d6e53(0x150)]['noServer']||this[_0x4d6e53(0x150)][_0x4d6e53(0x1b3)])this[_0x4d6e53(0x2d2)]&&(this['_removeListeners'](),this[_0x4d6e53(0x186)]=this[_0x4d6e53(0x2d2)]=null),this[_0x4d6e53(0x1b1)]?this['clients'][_0x4d6e53(0x266)]?this[_0x4d6e53(0x2c8)]=!0x0:process[_0x4d6e53(0x27d)](_0x37817f,this):process[_0x4d6e53(0x27d)](_0x37817f,this);else{const _0x5719f7=this[_0x4d6e53(0x2d2)];this[_0x4d6e53(0x186)](),this[_0x4d6e53(0x186)]=this[_0x4d6e53(0x2d2)]=null,_0x5719f7[_0x4d6e53(0x25c)](()=>{_0x37817f(this);});}}}['shouldHandle'](_0xe737c7){const _0x1ce4dc=_0x4f4c;if(this['options'][_0x1ce4dc(0x26a)]){const _0x251ad1=_0xe737c7[_0x1ce4dc(0x22e)][_0x1ce4dc(0x1f6)]('?');if((_0x251ad1!==-0x1?_0xe737c7['url'][_0x1ce4dc(0x18e)](0x0,_0x251ad1):_0xe737c7[_0x1ce4dc(0x22e)])!==this[_0x1ce4dc(0x150)][_0x1ce4dc(0x26a)])return!0x1;}return!0x0;}['handleUpgrade'](_0x2dd82b,_0x3f8051,_0x4a7bbe,_0x237f01){const _0x262c13=_0x4f4c;_0x3f8051['on']('error',_0x1ba503);const _0x20dc25=_0x2dd82b['headers'][_0x262c13(0x284)],_0x48bca1=_0x2dd82b[_0x262c13(0x185)][_0x262c13(0x156)],_0x1b238b=+_0x2dd82b[_0x262c13(0x185)][_0x262c13(0x21e)];if(_0x2dd82b[_0x262c13(0x204)]!==_0x262c13(0x2ec)){_0x193580(this,_0x2dd82b,_0x3f8051,0x195,_0x262c13(0x1c7));return;}if(_0x48bca1===void 0x0||_0x48bca1[_0x262c13(0x1ea)]()!==_0x262c13(0x242)){_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x1d9));return;}if(_0x20dc25===void 0x0||!_0x349603[_0x262c13(0x1ac)](_0x20dc25)){_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x22f));return;}if(_0x1b238b!==0xd&&_0x1b238b!==0x8){_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x267),{'Sec-WebSocket-Version':_0x262c13(0x22b)});return;}if(!this['shouldHandle'](_0x2dd82b)){_0x7c71c7(_0x3f8051,0x190);return;}const _0x775e7e=_0x2dd82b[_0x262c13(0x185)]['sec-websocket-protocol'];let _0x2b78a8=new Set();if(_0x775e7e!==void 0x0)try{_0x2b78a8=_0x480343[_0x262c13(0x27e)](_0x775e7e);}catch{_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x2b4));return;}const _0x30911e=_0x2dd82b[_0x262c13(0x185)][_0x262c13(0x2c0)],_0x1d9473={};if(this[_0x262c13(0x150)][_0x262c13(0x2cd)]&&_0x30911e!==void 0x0){const _0x4ac0f5=new _0x450b25(this[_0x262c13(0x150)][_0x262c13(0x2cd)],!0x0,this['options'][_0x262c13(0x1ff)]);try{const _0x4a5c7a=_0x5a2d36[_0x262c13(0x27e)](_0x30911e);_0x4a5c7a[_0x450b25[_0x262c13(0x22a)]]&&(_0x4ac0f5[_0x262c13(0x1ed)](_0x4a5c7a[_0x450b25['extensionName']]),_0x1d9473[_0x450b25[_0x262c13(0x22a)]]=_0x4ac0f5);}catch{_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x222));return;}}if(this[_0x262c13(0x150)][_0x262c13(0x282)]){const _0x5d4591={'origin':_0x2dd82b['headers'][''+(_0x1b238b===0x8?_0x262c13(0x261):'origin')],'secure':!!(_0x2dd82b[_0x262c13(0x302)][_0x262c13(0x179)]||_0x2dd82b[_0x262c13(0x302)][_0x262c13(0x1fc)]),'req':_0x2dd82b};if(this[_0x262c13(0x150)][_0x262c13(0x282)][_0x262c13(0x28c)]===0x2){this[_0x262c13(0x150)]['verifyClient'](_0x5d4591,(_0x1d2578,_0x21a7af,_0x10147d,_0xa78381)=>{const _0x379a10=_0x262c13;if(!_0x1d2578)return _0x7c71c7(_0x3f8051,_0x21a7af||0x191,_0x10147d,_0xa78381);this[_0x379a10(0x25a)](_0x1d9473,_0x20dc25,_0x2b78a8,_0x2dd82b,_0x3f8051,_0x4a7bbe,_0x237f01);});return;}if(!this['options'][_0x262c13(0x282)](_0x5d4591))return _0x7c71c7(_0x3f8051,0x191);}this[_0x262c13(0x25a)](_0x1d9473,_0x20dc25,_0x2b78a8,_0x2dd82b,_0x3f8051,_0x4a7bbe,_0x237f01);}['completeUpgrade'](_0x54afea,_0x3073b8,_0x4f00a1,_0x3d42d5,_0x278dce,_0x2806ae,_0x4c4ff2){const _0xdf4df6=_0x4f4c;if(!_0x278dce[_0xdf4df6(0x1d0)]||!_0x278dce[_0xdf4df6(0x1f8)])return _0x278dce['destroy']();if(_0x278dce[_0x31f6be])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xdf4df6(0x283)]>_0x4bf49c)return _0x7c71c7(_0x278dce,0x1f7);const _0x3ee337=[_0xdf4df6(0x2d6),'Upgrade:\x20websocket',_0xdf4df6(0x159),_0xdf4df6(0x2f5)+_0x4602f2(_0xdf4df6(0x199))[_0xdf4df6(0x238)](_0x3073b8+_0x5c0fee)[_0xdf4df6(0x2cc)](_0xdf4df6(0x2fa))],_0x591faf=new this[(_0xdf4df6(0x150))][(_0xdf4df6(0x29c))](null,void 0x0,this[_0xdf4df6(0x150)]);if(_0x4f00a1[_0xdf4df6(0x266)]){const _0x25918b=this[_0xdf4df6(0x150)]['handleProtocols']?this[_0xdf4df6(0x150)]['handleProtocols'](_0x4f00a1,_0x3d42d5):_0x4f00a1[_0xdf4df6(0x303)]()[_0xdf4df6(0x2a4)]()[_0xdf4df6(0x1a5)];_0x25918b&&(_0x3ee337[_0xdf4df6(0x17b)]('Sec-WebSocket-Protocol:\x20'+_0x25918b),_0x591faf[_0xdf4df6(0x1c1)]=_0x25918b);}if(_0x54afea[_0x450b25[_0xdf4df6(0x22a)]]){const _0x28d2c4=_0x54afea[_0x450b25[_0xdf4df6(0x22a)]][_0xdf4df6(0x255)],_0xfd9eb0=_0x5a2d36[_0xdf4df6(0x19c)]({[_0x450b25[_0xdf4df6(0x22a)]]:[_0x28d2c4]});_0x3ee337[_0xdf4df6(0x17b)](_0xdf4df6(0x19f)+_0xfd9eb0),_0x591faf[_0xdf4df6(0x26c)]=_0x54afea;}this[_0xdf4df6(0x19b)](_0xdf4df6(0x185),_0x3ee337,_0x3d42d5),_0x278dce[_0xdf4df6(0x1c0)](_0x3ee337['concat']('\x0d\x0a')[_0xdf4df6(0x1da)]('\x0d\x0a')),_0x278dce['removeListener'](_0xdf4df6(0x166),_0x1ba503),_0x591faf[_0xdf4df6(0x244)](_0x278dce,_0x2806ae,{'allowSynchronousEvents':this['options'][_0xdf4df6(0x15a)],'maxPayload':this[_0xdf4df6(0x150)][_0xdf4df6(0x1ff)],'skipUTF8Validation':this[_0xdf4df6(0x150)][_0xdf4df6(0x1f3)]}),this['clients']&&(this[_0xdf4df6(0x1b1)][_0xdf4df6(0x1f1)](_0x591faf),_0x591faf['on']('close',()=>{const _0x5758b2=_0xdf4df6;this[_0x5758b2(0x1b1)][_0x5758b2(0x276)](_0x591faf),this[_0x5758b2(0x2c8)]&&!this[_0x5758b2(0x1b1)][_0x5758b2(0x266)]&&process[_0x5758b2(0x27d)](_0x37817f,this);})),_0x4c4ff2(_0x591faf,_0x3d42d5);}}Te=_0x58326e;function _0xabd7d2(_0x41d975,_0x1051db){const _0x27f93e=_0x4f4c;for(const _0x245189 of Object[_0x27f93e(0x1c6)](_0x1051db))_0x41d975['on'](_0x245189,_0x1051db[_0x245189]);return function(){const _0x390c98=_0x27f93e;for(const _0x4c0e11 of Object[_0x390c98(0x1c6)](_0x1051db))_0x41d975['removeListener'](_0x4c0e11,_0x1051db[_0x4c0e11]);};}function _0x37817f(_0x5ca560){const _0x5684e5=_0x4f4c;_0x5ca560[_0x5684e5(0x283)]=_0x18bc6f,_0x5ca560['emit'](_0x5684e5(0x25c));}function _0x1ba503(){const _0x3912bb=_0x4f4c;this[_0x3912bb(0x230)]();}function _0x7c71c7(_0x52a99d,_0x2d9f44,_0x432f71,_0x5a8c46){const _0x15c16e=_0x4f4c;_0x432f71=_0x432f71||_0x511d05['STATUS_CODES'][_0x2d9f44],_0x5a8c46={'Connection':'close','Content-Type':_0x15c16e(0x184),'Content-Length':Buffer[_0x15c16e(0x231)](_0x432f71),..._0x5a8c46},_0x52a99d[_0x15c16e(0x2da)](_0x15c16e(0x163),_0x52a99d[_0x15c16e(0x230)]),_0x52a99d['end'](_0x15c16e(0x1a9)+_0x2d9f44+'\x20'+_0x511d05[_0x15c16e(0x2fc)][_0x2d9f44]+'\x0d\x0a'+Object[_0x15c16e(0x1c6)](_0x5a8c46)[_0x15c16e(0x18f)](_0x17e02a=>_0x17e02a+':\x20'+_0x5a8c46[_0x17e02a])[_0x15c16e(0x1da)]('\x0d\x0a')+_0x15c16e(0x23d)+_0x432f71);}function _0x193580(_0x55eb1b,_0x8ad342,_0x53ebc9,_0x1dcfdd,_0x2e21aa,_0x79d75b){const _0x285259=_0x4f4c;if(_0x55eb1b[_0x285259(0x270)]('wsClientError')){const _0x37cc12=new Error(_0x2e21aa);Error[_0x285259(0x1ab)](_0x37cc12,_0x193580),_0x55eb1b[_0x285259(0x19b)]('wsClientError',_0x37cc12,_0x53ebc9,_0x8ad342);}else _0x7c71c7(_0x53ebc9,_0x1dcfdd,_0x2e21aa,_0x79d75b);}return Te;}er();var tr=Object[_0xc1de09(0x225)],rr=(_0x26a37e,_0x26c726,_0x302b53,_0x469d3b)=>{const _0x57bc6d=_0xc1de09;for(var _0x426957=_0x469d3b>0x1?void 0x0:_0x469d3b?tr(_0x26c726,_0x302b53):_0x26c726,_0x3e06d8=_0x26a37e[_0x57bc6d(0x28c)]-0x1,_0x45296c;_0x3e06d8>=0x0;_0x3e06d8--)(_0x45296c=_0x26a37e[_0x3e06d8])&&(_0x426957=_0x45296c(_0x426957)||_0x426957);return _0x426957;},sr=(_0x413eb2,_0x1b5513)=>(_0x243b34,_0x4bf174)=>_0x1b5513(_0x243b34,_0x4bf174,_0x413eb2);let Ne=class extends _0x257079{constructor(_0x3d7a0a){super(),this['_configService']=_0x3d7a0a;}[_0xc1de09(0x209)](_0x2f95ae){const _0xd5ce1b=_0xc1de09;var _0x561683;const _0x4be486=(_0x561683=this[_0xd5ce1b(0x2ed)][_0xd5ce1b(0x21d)](Be))==null?void 0x0:_0x561683[_0xd5ce1b(0x280)];try{const _0x39e30f=new Qt(_0x2f95ae,{'headers':{..._0x4be486}}),_0xf113a5=new _0x1b32ec();return{'URL':_0x2f95ae,'close':(_0x51af65,_0x4e4726)=>{const _0x459e86=_0xd5ce1b;_0x39e30f[_0x459e86(0x25c)](_0x51af65,_0x4e4726),_0xf113a5[_0x459e86(0x28e)]();},'send':_0x39f601=>{_0x39e30f['send'](_0x39f601);},'open$':new _0x5c63c9(_0x2f21b0=>{const _0x4755e9=_0xd5ce1b,_0x4dde60=_0x3e26ff=>_0x2f21b0[_0x4755e9(0x2a4)](_0x3e26ff);_0x39e30f['addEventListener'](_0x4755e9(0x2d4),_0x4dde60),_0xf113a5['add'](_0x27d04b(()=>_0x39e30f[_0x4755e9(0x301)](_0x4755e9(0x2d4),_0x4dde60)));})[_0xd5ce1b(0x1b8)](_0x58c5c3()),'close$':new _0x5c63c9(_0x10b3c3=>{const _0x59b1de=_0xd5ce1b,_0x8912a7=_0xe357ae=>_0x10b3c3[_0x59b1de(0x2a4)](_0xe357ae);_0x39e30f[_0x59b1de(0x236)](_0x59b1de(0x25c),_0x8912a7),_0xf113a5[_0x59b1de(0x1f1)](_0x27d04b(()=>_0x39e30f[_0x59b1de(0x301)](_0x59b1de(0x25c),_0x8912a7)));})['pipe'](_0x58c5c3()),'error$':new _0x5c63c9(_0x46b8bb=>{const _0x28354=_0xd5ce1b,_0x321d98=_0x5f1013=>_0x46b8bb[_0x28354(0x2a4)](_0x5f1013);_0x39e30f[_0x28354(0x236)](_0x28354(0x166),_0x321d98),_0xf113a5[_0x28354(0x1f1)](_0x27d04b(()=>_0x39e30f[_0x28354(0x301)](_0x28354(0x166),_0x321d98)));})[_0xd5ce1b(0x1b8)](_0x58c5c3()),'message$':new _0x5c63c9(_0x17b9ed=>{const _0x4831a2=_0xd5ce1b,_0x1799b2=_0x52554b=>_0x17b9ed[_0x4831a2(0x2a4)](_0x52554b);_0x39e30f['addEventListener']('message',_0x1799b2),_0xf113a5[_0x4831a2(0x1f1)](_0x27d04b(()=>_0x39e30f[_0x4831a2(0x301)](_0x4831a2(0x237),_0x1799b2)));})[_0xd5ce1b(0x1b8)](_0x58c5c3())};}catch(_0x4b1089){return console[_0xd5ce1b(0x166)](_0x4b1089),null;}}};Ne=rr([sr(0x0,_0x4511ad)],Ne);var ir=Object[_0xc1de09(0x271)],nr=Object[_0xc1de09(0x225)],or=(_0x19140b,_0x6c7fd5,_0x3c39c7)=>_0x6c7fd5 in _0x19140b?ir(_0x19140b,_0x6c7fd5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c39c7}):_0x19140b[_0x6c7fd5]=_0x3c39c7,ar=(_0x2b7451,_0x25c364,_0x205385,_0x24439f)=>{const _0x7ed7eb=_0xc1de09;for(var _0x1694b8=_0x24439f>0x1?void 0x0:_0x24439f?nr(_0x25c364,_0x205385):_0x25c364,_0x481efd=_0x2b7451[_0x7ed7eb(0x28c)]-0x1,_0xe5d98c;_0x481efd>=0x0;_0x481efd--)(_0xe5d98c=_0x2b7451[_0x481efd])&&(_0x1694b8=_0xe5d98c(_0x1694b8)||_0x1694b8);return _0x1694b8;},ke=(_0x4d08ff,_0x4a41fc)=>(_0x3e69db,_0x188bea)=>_0x4a41fc(_0x3e69db,_0x188bea,_0x4d08ff),lr=(_0x5211ca,_0x4b4af2,_0xa2aef9)=>or(_0x5211ca,_0x4b4af2+'',_0xa2aef9);let Pe=class extends _0x406ba2{constructor(_0x403b35=Ft,_0x4c27e0,_0x274dae,_0x1f2905){const _0x500deb=_0xc1de09;_0x403b35[_0x500deb(0x280)]||_0x4c27e0[_0x500deb(0x152)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x274dae,this[_0x500deb(0x272)]=_0x1f2905,this[_0x500deb(0x2ed)]['setConfig'](Be,_0x403b35);}['onStarting'](){this['_registerDependencies']();}[_0xc1de09(0x281)](){const _0x452c67=_0xc1de09;_0x1701bc(this[_0x452c67(0x272)],[[_0x4353b6,{'useClass':Ne}]]);}};lr(Pe,_0xc1de09(0x1f9),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x29d93b(_0x58bf50),ke(0x1,_0x6de682),ke(0x2,_0x4511ad),ke(0x3,_0xf0757c(_0x11ada6))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x112890,_0x4bf31f,_0x4c8139,_0x475904)=>{const _0x141588=_0xc1de09;for(var _0x7b998f=_0x475904>0x1?void 0x0:_0x475904?fr(_0x4bf31f,_0x4c8139):_0x4bf31f,_0x76c8ee=_0x112890[_0x141588(0x28c)]-0x1,_0x104302;_0x76c8ee>=0x0;_0x76c8ee--)(_0x104302=_0x112890[_0x76c8ee])&&(_0x7b998f=_0x104302(_0x7b998f)||_0x7b998f);return _0x7b998f;},se=(_0x76699d,_0x148041)=>(_0x3b6edf,_0x15beed)=>_0x148041(_0x3b6edf,_0x15beed,_0x76699d);let at=class extends _0x31ab9d{constructor(_0x2f80e1,_0x35ae97,_0x41de0d,_0x3ad06e,_0x35b229){const _0x4b093b=_0xc1de09;super(_0x2f80e1,_0x35ae97,_0x41de0d,_0x3ad06e,_0x35b229);const _0x23765a=this[_0x4b093b(0x2ed)]['getConfig'](Be);this['_httpService'][_0x4b093b(0x249)]({'interceptor':(_0x3ecf03,_0x1995de)=>{const _0x5ae7e6=_0x4b093b;var _0x4ffa95;const _0x395906=_0x3ecf03[_0x5ae7e6(0x185)];return(_0x4ffa95=_0x23765a==null?void 0x0:_0x23765a['customHeaders'])!=null&&_0x4ffa95['cookie']&&_0x395906[_0x5ae7e6(0x158)](_0x5ae7e6(0x2f2),_0x23765a[_0x5ae7e6(0x280)][_0x5ae7e6(0x259)]),_0x1995de(_0x3ecf03);}});}async[_0xc1de09(0x209)](_0x195adf){const _0x47037a=_0xc1de09;return this[_0x47037a(0x189)](_0x195adf);}};at=cr([se(0x0,_0xf0757c(_0x11ada6)),se(0x1,_0xf0757c(_0xd8023c)),se(0x2,_0x4511ad),se(0x3,_0x6de682),se(0x4,_0x502b4d)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0xa7a424=_0x1faa;(function(_0x3affa2,_0x51be8f){const _0x320050=_0x1faa,_0x1539bc=_0x3affa2();while(!![]){try{const _0x45e2d8=parseInt(_0x320050(0xb3))/0x1*(-parseInt(_0x320050(0xcb))/0x2)+parseInt(_0x320050(0xd6))/0x3+-parseInt(_0x320050(0xa0))/0x4*(-parseInt(_0x320050(0x148))/0x5)+parseInt(_0x320050(0xf4))/0x6*(parseInt(_0x320050(0xd2))/0x7)+parseInt(_0x320050(0x109))/0x8+-parseInt(_0x320050(0x151))/0x9*(-parseInt(_0x320050(0xe4))/0xa)+-parseInt(_0x320050(0x23c))/0xb;if(_0x45e2d8===_0x51be8f)break;else _0x1539bc['push'](_0x1539bc['shift']());}catch(_0x1f8aae){_0x1539bc['push'](_0x1539bc['shift']());}}}(_0xbae9,0xa69a6));import{UniverCollaborationClientPlugin as _0x1645b3,CollaborationSocketService as _0x765c0f}from'@univerjs-pro/collaboration-client';import{Disposable as _0x507ed8,DisposableCollection as _0x8da5ed,toDisposable as _0x578d41,IConfigService as _0x368d87,DependentOn as _0x376cf3,ILogService as _0x2d4816,Inject as _0xc0da8d,Injector as _0xc8f60a,Plugin as _0x27b1a3,registerDependencies as _0x42c9b0}from'@univerjs/core';import{ISocketService as _0x547534,HTTPService as _0x5704bf}from'@univerjs/network';import{Observable as _0x61d4f4,share as _0x338037}from'rxjs';import _0x3f7707 from'events';import _0x30486f from'https';import _0x215007 from'http';import _0x2d3ff9 from'net';import _0x2d5ad3 from'tls';import _0x47cf61 from'crypto';import _0x566c0f from'stream';import _0x2b1d85 from'url';import _0x3415ee from'zlib';import _0x34fd8d from'buffer';import{ISnapshotServerService as _0xaf4332}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function _0xbae9(){const _0x2d09f7=['listenerCount','WS_ERR_UNEXPECTED_MASK','580THbQxN','wss:','readUInt16BE','authorized','protocolVersion','WS_ERR_INVALID_UTF8','_errorEmitted','push','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','emit','sha1','password','Cookie','byteOffset','hash','createConnection','18qvTQoC','timeout','_state','_isServer','haveLength','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','clientNoContextTakeover','_threshold','toString','has','kMessage','createSocket','_receiver','fin','handshakeTimeout','Max\x20payload\x20size\x20exceeded','_messageLength','arraybuffer','_readyState','HTTP/1.1\x20101\x20Switching\x20Protocols','followRedirects','3213496DWROKG','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_bufferedAmount','_readableState','search','_bufferedBytes','Unexpected\x20end\x20of\x20input','defaultPort','shouldHandle','_final','pluginName','Invalid\x20Sec-WebSocket-Extensions\x20header','Sec-WebSocket-Protocol:\x20','object','string','find','WS_NO_UTF_8_VALIDATE','concurrencyLimit','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','isArray','data','endEmitted','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','sec-websocket-protocol','next','kError','allocUnsafe','uncork','isIP','default','sec-websocket-extensions','shift','env','_writableState','clientMaxWindowBits','freeze','charCodeAt','client','client_no_context_takeover','kData','nodebuffer','unmask','set','_destroy','setTimeout','origin','_firstFragment','pipe','\x0d\x0a\x0d\x0a','extensions','maxRedirects','mask','_removeListeners','map','listen','getMask','_configService','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','frame','_queue','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','conclude','8115DwVbqY','close','unexpected-response','removeListener','_allowSynchronousEvents','consume','address','acceptAsClient','statusCode','196254RJCfFC','zlibDeflateOptions','size','_opcode','__esModule','removeEventListener','verifyClient','wasClean','Invalid\x20HTTP\x20method','WebSocket','cookie','finishRequest','authorization','_maxPayload','acceptAsServer','Basic\x20','blob','server_max_window_bits','get','decompress','handleEvent','parse','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','_originalSecure','invalid\x20UTF-8\x20sequence','unshift','kCode','binaryType','call','_closeFrameSent','readable','split','_paused','Sec-WebSocket-Protocol','ping','finish','kReason','getInfo','function','perMessageDeflate','auth','_no_context_takeover','Connection:\x20Upgrade','prototype','Unknown\x20parameter\x20\x22','_shouldEmitClose','once','MASK\x20must\x20be\x20clear','noServer','jobs','maskBuffer','update','pathname','reason','type','CLOSED','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setSocket','serverMaxWindowBits','username','Unexpected\x20character\x20at\x20index\x20','ws:','invalid\x20payload\x20length\x20','isPaused','_socket','flush','Upgrade:\x20websocket','_masked','end','readyState','_autoPong','terminate','generateMask','encrypted','sendFrame','_fin','readUInt32BE','_skipUTF8Validation','_compressed','apply','extensionName','enqueue','finished','emitClose','status-code','addEventListener','bufferedAmount','path','cork','Maximum\x20redirects\x20exceeded','getOwnPropertyDescriptor','allowSynchronousEvents','listening','Invalid\x20value\x20for\x20parameter\x20\x22','_originalHostOrSocketPath','dataMessage','kIsForOnEventAttribute','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','readOnly','_compress','getData','destroy','offer','Unexpected\x20server\x20response:\x20','onopen','text/plain','OPEN','FIN\x20must\x20be\x20set','WS_NO_BUFFER_UTIL','\x22:\x20','Opening\x20handshake\x20has\x20timed\x20out','writeUIntBE','Invalid\x20URL:\x20','values','opcode','server','_binaryType','client_max_window_bits','_closeTimer','url','GET','length','write','total-length','WS_ERR_INVALID_OPCODE','_httpService','createInflateRaw','pong','servername','construct','autoPong','writable','message','_buffers','upgrade','resume','dispatch','replace','_write','ws+unix:','protocol','Invalid\x20Sec-WebSocket-Accept\x20header','_registerDependencies','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_fragments','_max_window_bits','indexOf','writeUInt16BE','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Extensions:\x20','isInteger','The\x20URL\x20contains\x20a\x20fragment\x20identifier','wsClientError','exports','registerHTTPInterceptor','location','reset','digest','_options','Sec-WebSocket-Origin','stream','_decompress','createDeflateRaw','add','delete','socket','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','setNoDelay','arrayBuffer','pow','\x20(supported\x20versions:\x20','handleProtocols','The\x20server\x20is\x20not\x20running','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','sec-websocket-origin','\x22\x20must\x20have\x20only\x20a\x20single\x20value','onerror','send','CLOSING','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_read','Module','_closeFrameReceived','connection','listeners','invalid\x20opcode\x20','sec-websocket-accept','CONNECTING','callback','base64','createError','isServer','getConfig','pause','toStringTag','WS_ERR_EXPECTED_FIN','hostname','kTarget','isView','destroyed','startLoop','handleUpgrade','kType','byteLength','_redirects','WS_ERR_UNEXPECTED_RSV_1','_loop','toLowerCase','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WebSocket\x20is\x20not\x20open:\x20readyState\x20','defineProperty','_req','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','threshold','dequeue','createServer','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Server\x20sent\x20an\x20invalid\x20subprotocol','getBlobData','join','_closeMessage','captureStackTrace','keys','params','normalizeParams','_totalPayloadLength','websocket','value','Origin','objectMode','accept','headers','request','then','Blob','36192574hPvytv','getPayloadLength64','_maskBuffer','read','bind','create','nextTick','maxPayload','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','HTTP/1.1\x20','response','clients','host','The\x20\x22','sec-websocket-key','text/html','error','_server','constructor','test','MASK\x20must\x20be\x20set','warn','errorEmitted','13,\x208','Sec-WebSocket-Extensions','forEach','format','onclose','writeHead','2036rxXLpA','clientTracking','from','_errored','invalid\x20opcode\x200','Sec-WebSocket-Accept:\x20','options','hasOwnProperty','isValidUTF8','Z_SYNC_FLUSH','onmessage','STATUS_CODES','open','http:','_payloadLength','_extensions','drain','_closeCode','code','278189ofMlxT','cleanup','port','customHeaders','_sender','Invalid\x20WebSocket\x20frame:\x20','_inflate','serverNoContextTakeover','_protocol','slice','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Z_DEFAULT_WINDOWBITS','_fragmented','getPayloadLength16','target','server_no_context_takeover','concat','_originalIpc','Invalid\x20Upgrade\x20header','compress','_url','buffers','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','redirect','2FLYTIP','kListener','skipUTF8Validation','connect','_generateMask','species','pending','1773723JPjJFh','alloc','buffer','abort','2994360KuIFaL','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','number','_deflate','sec-websocket-version','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','socketPath','rsv1','_mask','Server\x20sent\x20no\x20subprotocol','RSV1\x20must\x20be\x20clear','completeUpgrade'];_0xbae9=function(){return _0x2d09f7;};return _0xbae9();}function Wt(_0x39bf59){const _0x1ba3c4=_0x1faa;return _0x39bf59&&_0x39bf59[_0x1ba3c4(0x155)]&&Object[_0x1ba3c4(0x17c)]['hasOwnProperty']['call'](_0x39bf59,_0x1ba3c4(0x127))?_0x39bf59[_0x1ba3c4(0x127)]:_0x39bf59;}function ut(_0x27a1d0){const _0x2e6a3e=_0x1faa;if(Object[_0x2e6a3e(0x17c)][_0x2e6a3e(0xa7)][_0x2e6a3e(0x16d)](_0x27a1d0,_0x2e6a3e(0x155)))return _0x27a1d0;var _0x30e436=_0x27a1d0['default'];if(typeof _0x30e436==_0x2e6a3e(0x177)){var _0x5a46be=function _0x34154e(){const _0x2d5b95=_0x2e6a3e;var _0xf0a3fd=!0x1;try{_0xf0a3fd=this instanceof _0x34154e;}catch{}return _0xf0a3fd?Reflect[_0x2d5b95(0x1d2)](_0x30e436,arguments,this[_0x2d5b95(0x95)]):_0x30e436[_0x2d5b95(0x1a0)](this,arguments);};_0x5a46be[_0x2e6a3e(0x17c)]=_0x30e436[_0x2e6a3e(0x17c)];}else _0x5a46be={};return Object[_0x2e6a3e(0x223)](_0x5a46be,_0x2e6a3e(0x155),{'value':!0x0}),Object[_0x2e6a3e(0x22f)](_0x27a1d0)[_0x2e6a3e(0x9c)](function(_0x1b1926){const _0x53baf1=_0x2e6a3e;var _0x589e79=Object[_0x53baf1(0x1ab)](_0x27a1d0,_0x1b1926);Object[_0x53baf1(0x223)](_0x5a46be,_0x1b1926,_0x589e79[_0x53baf1(0x163)]?_0x589e79:{'enumerable':!0x0,'get':function(){return _0x27a1d0[_0x1b1926];}});}),_0x5a46be;}var te={'exports':{}},ge,Ye;function V(){const _0x4ce108=_0x1faa;if(Ye)return ge;Ye=0x1;const _0x5cf865=[_0x4ce108(0x132),_0x4ce108(0x105),'fragments'],_0x212f2d=typeof Blob<'u';return _0x212f2d&&_0x5cf865[_0x4ce108(0xeb)](_0x4ce108(0x161)),ge={'BINARY_TYPES':_0x5cf865,'EMPTY_BUFFER':Buffer[_0x4ce108(0xd3)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x212f2d,'kForOnEventAttribute':Symbol(_0x4ce108(0x1b1)),'kListener':Symbol(_0x4ce108(0xcc)),'kStatusCode':Symbol(_0x4ce108(0x1a5)),'kWebSocket':Symbol(_0x4ce108(0x233)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0xa7a424(0x12d)](Object[_0xa7a424(0x223)]({'__proto__':null,'default':jt},Symbol[_0xa7a424(0x213)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x58da94=_0xa7a424;if(Ke)return te[_0x58da94(0x1ea)];Ke=0x1;const {EMPTY_BUFFER:_0x5cb31d}=V(),_0x1fecc0=Buffer[Symbol[_0x58da94(0xd0)]];function _0x44842e(_0x3b73a8,_0x427eab){const _0x10aaa3=_0x58da94;if(_0x3b73a8['length']===0x0)return _0x5cb31d;if(_0x3b73a8[_0x10aaa3(0x1ca)]===0x1)return _0x3b73a8[0x0];const _0x8fd58d=Buffer['allocUnsafe'](_0x427eab);let _0xb10035=0x0;for(let _0x307901=0x0;_0x307901<_0x3b73a8[_0x10aaa3(0x1ca)];_0x307901++){const _0x500a96=_0x3b73a8[_0x307901];_0x8fd58d[_0x10aaa3(0x134)](_0x500a96,_0xb10035),_0xb10035+=_0x500a96[_0x10aaa3(0x1ca)];}return _0xb10035<_0x427eab?new _0x1fecc0(_0x8fd58d['buffer'],_0x8fd58d['byteOffset'],_0xb10035):_0x8fd58d;}function _0x59e0b8(_0x2a25dc,_0xcba41c,_0x1f80d1,_0x20e6d7,_0x468966){for(let _0x3b2f5b=0x0;_0x3b2f5b<_0x468966;_0x3b2f5b++)_0x1f80d1[_0x20e6d7+_0x3b2f5b]=_0x2a25dc[_0x3b2f5b]^_0xcba41c[_0x3b2f5b&0x3];}function _0x5ccbed(_0x586302,_0x23a87e){const _0x249bc9=_0x58da94;for(let _0x310cdf=0x0;_0x310cdf<_0x586302[_0x249bc9(0x1ca)];_0x310cdf++)_0x586302[_0x310cdf]^=_0x23a87e[_0x310cdf&0x3];}function _0x1ff413(_0x4dde2f){const _0x276961=_0x58da94;return _0x4dde2f['length']===_0x4dde2f[_0x276961(0xd4)][_0x276961(0x21c)]?_0x4dde2f[_0x276961(0xd4)]:_0x4dde2f['buffer'][_0x276961(0xbc)](_0x4dde2f['byteOffset'],_0x4dde2f['byteOffset']+_0x4dde2f[_0x276961(0x1ca)]);}function _0x1c6992(_0x3bce24){const _0x2d0640=_0x58da94;if(_0x1c6992['readOnly']=!0x0,Buffer['isBuffer'](_0x3bce24))return _0x3bce24;let _0xbd9b1f;return _0x3bce24 instanceof ArrayBuffer?_0xbd9b1f=new _0x1fecc0(_0x3bce24):ArrayBuffer[_0x2d0640(0x217)](_0x3bce24)?_0xbd9b1f=new _0x1fecc0(_0x3bce24[_0x2d0640(0xd4)],_0x3bce24['byteOffset'],_0x3bce24['byteLength']):(_0xbd9b1f=Buffer[_0x2d0640(0xa2)](_0x3bce24),_0x1c6992[_0x2d0640(0x1b3)]=!0x1),_0xbd9b1f;}if(te[_0x58da94(0x1ea)]={'concat':_0x44842e,'mask':_0x59e0b8,'toArrayBuffer':_0x1ff413,'toBuffer':_0x1c6992,'unmask':_0x5ccbed},!process[_0x58da94(0x12a)][_0x58da94(0x1bd)])try{const _0x43cfcd=Vt;te[_0x58da94(0x1ea)][_0x58da94(0x13d)]=function(_0x724fc3,_0x1080ab,_0xa00f4a,_0x4c4f70,_0x485330){const _0x1dedd9=_0x58da94;_0x485330<0x30?_0x59e0b8(_0x724fc3,_0x1080ab,_0xa00f4a,_0x4c4f70,_0x485330):_0x43cfcd[_0x1dedd9(0x13d)](_0x724fc3,_0x1080ab,_0xa00f4a,_0x4c4f70,_0x485330);},te[_0x58da94(0x1ea)][_0x58da94(0x133)]=function(_0x5c5d2a,_0x538ff4){const _0x3e6195=_0x58da94;_0x5c5d2a[_0x3e6195(0x1ca)]<0x20?_0x5ccbed(_0x5c5d2a,_0x538ff4):_0x43cfcd[_0x3e6195(0x133)](_0x5c5d2a,_0x538ff4);};}catch{}return te[_0x58da94(0x1ea)];}var ye,Xe;function qt(){const _0xa841e5=_0xa7a424;if(Xe)return ye;Xe=0x1;const _0x3ea33d=Symbol('kDone'),_0x7b7bf1=Symbol('kRun');class _0x368c1e{constructor(_0x333e6a){const _0x5b2d03=_0x1faa;this[_0x3ea33d]=()=>{const _0x11a91c=_0x1faa;this[_0x11a91c(0xd1)]--,this[_0x7b7bf1]();},this['concurrency']=_0x333e6a||0x1/0x0,this[_0x5b2d03(0x182)]=[],this[_0x5b2d03(0xd1)]=0x0;}[_0xa841e5(0x1f4)](_0x54e861){const _0x24d7ca=_0xa841e5;this[_0x24d7ca(0x182)][_0x24d7ca(0xeb)](_0x54e861),this[_0x7b7bf1]();}[_0x7b7bf1](){const _0x182108=_0xa841e5;if(this['pending']!==this['concurrency']&&this['jobs'][_0x182108(0x1ca)]){const _0x23ef55=this['jobs'][_0x182108(0x129)]();this[_0x182108(0xd1)]++,_0x23ef55(this[_0x3ea33d]);}}}return ye=_0x368c1e,ye;}var ve,Ze;function he(){const _0x3849c7=_0xa7a424;if(Ze)return ve;Ze=0x1;const _0x2c4ae1=_0x3415ee,_0x2e8934=ce(),_0x427b9d=qt(),{kStatusCode:_0x40f4fc}=V(),_0x52f37d=Buffer[Symbol[_0x3849c7(0xd0)]],_0x16832b=Buffer[_0x3849c7(0xa2)]([0x0,0x0,0xff,0xff]),_0x42cef8=Symbol('permessage-deflate'),_0x1bade6=Symbol(_0x3849c7(0x1cc)),_0x82cbcc=Symbol(_0x3849c7(0x20d)),_0x4bf8b2=Symbol(_0x3849c7(0xc8)),_0x2b839b=Symbol(_0x3849c7(0x93));let _0x1729e8;class _0x477c70{constructor(_0x3e3e19,_0x4de632,_0x11901e){const _0x5940c8=_0x3849c7;if(this[_0x5940c8(0x15e)]=_0x11901e|0x0,this[_0x5940c8(0x1ef)]=_0x3e3e19||{},this[_0x5940c8(0xfb)]=this[_0x5940c8(0x1ef)][_0x5940c8(0x226)]!==void 0x0?this[_0x5940c8(0x1ef)][_0x5940c8(0x226)]:0x400,this[_0x5940c8(0xf7)]=!!_0x4de632,this[_0x5940c8(0xd9)]=null,this['_inflate']=null,this[_0x5940c8(0x230)]=null,!_0x1729e8){const _0x200f0b=this[_0x5940c8(0x1ef)][_0x5940c8(0x11a)]!==void 0x0?this[_0x5940c8(0x1ef)]['concurrencyLimit']:0xa;_0x1729e8=new _0x427b9d(_0x200f0b);}}static get[_0x3849c7(0x1a1)](){return'permessage-deflate';}[_0x3849c7(0x1b7)](){const _0x1294f6=_0x3849c7,_0x4d0ef4={};return this[_0x1294f6(0x1ef)][_0x1294f6(0xba)]&&(_0x4d0ef4[_0x1294f6(0xc2)]=!0x0),this[_0x1294f6(0x1ef)][_0x1294f6(0xfa)]&&(_0x4d0ef4[_0x1294f6(0x130)]=!0x0),this[_0x1294f6(0x1ef)]['serverMaxWindowBits']&&(_0x4d0ef4[_0x1294f6(0x162)]=this['_options']['serverMaxWindowBits']),this[_0x1294f6(0x1ef)][_0x1294f6(0x12c)]?_0x4d0ef4[_0x1294f6(0x1c6)]=this[_0x1294f6(0x1ef)][_0x1294f6(0x12c)]:this[_0x1294f6(0x1ef)]['clientMaxWindowBits']==null&&(_0x4d0ef4['client_max_window_bits']=!0x0),_0x4d0ef4;}[_0x3849c7(0x237)](_0x18d2f5){const _0x37e963=_0x3849c7;return _0x18d2f5=this['normalizeParams'](_0x18d2f5),this[_0x37e963(0x230)]=this['_isServer']?this[_0x37e963(0x15f)](_0x18d2f5):this[_0x37e963(0x14f)](_0x18d2f5),this[_0x37e963(0x230)];}[_0x3849c7(0xb4)](){const _0x13ebef=_0x3849c7;if(this[_0x13ebef(0xb9)]&&(this[_0x13ebef(0xb9)]['close'](),this['_inflate']=null),this[_0x13ebef(0xd9)]){const _0x8e9bcb=this[_0x13ebef(0xd9)][_0x82cbcc];this[_0x13ebef(0xd9)][_0x13ebef(0x149)](),this['_deflate']=null,_0x8e9bcb&&_0x8e9bcb(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x3849c7(0x15f)](_0xc264d0){const _0x138ceb=_0x3849c7,_0x5d5e12=this[_0x138ceb(0x1ef)],_0x1350ce=_0xc264d0[_0x138ceb(0x118)](_0x35507c=>!(_0x5d5e12[_0x138ceb(0xba)]===!0x1&&_0x35507c['server_no_context_takeover']||_0x35507c[_0x138ceb(0x162)]&&(_0x5d5e12['serverMaxWindowBits']===!0x1||typeof _0x5d5e12['serverMaxWindowBits']=='number'&&_0x5d5e12['serverMaxWindowBits']>_0x35507c[_0x138ceb(0x162)])||typeof _0x5d5e12['clientMaxWindowBits']==_0x138ceb(0xd8)&&!_0x35507c[_0x138ceb(0x1c6)]));if(!_0x1350ce)throw new Error(_0x138ceb(0x10a));return _0x5d5e12[_0x138ceb(0xba)]&&(_0x1350ce[_0x138ceb(0xc2)]=!0x0),_0x5d5e12[_0x138ceb(0xfa)]&&(_0x1350ce[_0x138ceb(0x130)]=!0x0),typeof _0x5d5e12[_0x138ceb(0x18b)]==_0x138ceb(0xd8)&&(_0x1350ce[_0x138ceb(0x162)]=_0x5d5e12[_0x138ceb(0x18b)]),typeof _0x5d5e12[_0x138ceb(0x12c)]==_0x138ceb(0xd8)?_0x1350ce['client_max_window_bits']=_0x5d5e12[_0x138ceb(0x12c)]:(_0x1350ce['client_max_window_bits']===!0x0||_0x5d5e12[_0x138ceb(0x12c)]===!0x1)&&delete _0x1350ce[_0x138ceb(0x1c6)],_0x1350ce;}[_0x3849c7(0x14f)](_0x50b0f6){const _0x57f086=_0x3849c7,_0x3a49d0=_0x50b0f6[0x0];if(this[_0x57f086(0x1ef)][_0x57f086(0xfa)]===!0x1&&_0x3a49d0[_0x57f086(0x130)])throw new Error(_0x57f086(0xec));if(!_0x3a49d0[_0x57f086(0x1c6)])typeof this[_0x57f086(0x1ef)][_0x57f086(0x12c)]==_0x57f086(0xd8)&&(_0x3a49d0[_0x57f086(0x1c6)]=this[_0x57f086(0x1ef)][_0x57f086(0x12c)]);else{if(this['_options'][_0x57f086(0x12c)]===!0x1||typeof this[_0x57f086(0x1ef)][_0x57f086(0x12c)]==_0x57f086(0xd8)&&_0x3a49d0[_0x57f086(0x1c6)]>this[_0x57f086(0x1ef)]['clientMaxWindowBits'])throw new Error(_0x57f086(0xd7));}return _0x3a49d0;}[_0x3849c7(0x231)](_0x3e77e8){const _0x2536b4=_0x3849c7;return _0x3e77e8[_0x2536b4(0x9c)](_0x347fb8=>{const _0x33c8d6=_0x2536b4;Object[_0x33c8d6(0x22f)](_0x347fb8)['forEach'](_0x47b24c=>{const _0x5cd8e0=_0x33c8d6;let _0x32dccb=_0x347fb8[_0x47b24c];if(_0x32dccb['length']>0x1)throw new Error('Parameter\x20\x22'+_0x47b24c+_0x5cd8e0(0x200));if(_0x32dccb=_0x32dccb[0x0],_0x47b24c==='client_max_window_bits'){if(_0x32dccb!==!0x0){const _0x3435c4=+_0x32dccb;if(!Number['isInteger'](_0x3435c4)||_0x3435c4<0x8||_0x3435c4>0xf)throw new TypeError(_0x5cd8e0(0x1ae)+_0x47b24c+_0x5cd8e0(0x1be)+_0x32dccb);_0x32dccb=_0x3435c4;}else{if(!this[_0x5cd8e0(0xf7)])throw new TypeError(_0x5cd8e0(0x1ae)+_0x47b24c+_0x5cd8e0(0x1be)+_0x32dccb);}}else{if(_0x47b24c==='server_max_window_bits'){const _0x29d2fa=+_0x32dccb;if(!Number[_0x5cd8e0(0x1e7)](_0x29d2fa)||_0x29d2fa<0x8||_0x29d2fa>0xf)throw new TypeError(_0x5cd8e0(0x1ae)+_0x47b24c+_0x5cd8e0(0x1be)+_0x32dccb);_0x32dccb=_0x29d2fa;}else{if(_0x47b24c===_0x5cd8e0(0x130)||_0x47b24c===_0x5cd8e0(0xc2)){if(_0x32dccb!==!0x0)throw new TypeError(_0x5cd8e0(0x1ae)+_0x47b24c+_0x5cd8e0(0x1be)+_0x32dccb);}else throw new Error(_0x5cd8e0(0x17d)+_0x47b24c+'\x22');}}_0x347fb8[_0x47b24c]=_0x32dccb;});}),_0x3e77e8;}[_0x3849c7(0x164)](_0x2d92f6,_0x52be20,_0x8d4ede){const _0x5ecad1=_0x3849c7;_0x1729e8[_0x5ecad1(0x1f4)](_0x1420ab=>{const _0x31b023=_0x5ecad1;this[_0x31b023(0x1f2)](_0x2d92f6,_0x52be20,(_0x1d30c0,_0xc25faf)=>{_0x1420ab(),_0x8d4ede(_0x1d30c0,_0xc25faf);});});}[_0x3849c7(0xc6)](_0x2fc710,_0x323b94,_0x210965){const _0x22e3f9=_0x3849c7;_0x1729e8[_0x22e3f9(0x1f4)](_0x140b10=>{const _0x36ad3=_0x22e3f9;this[_0x36ad3(0x1b4)](_0x2fc710,_0x323b94,(_0x3d1ca4,_0x5ad25e)=>{_0x140b10(),_0x210965(_0x3d1ca4,_0x5ad25e);});});}[_0x3849c7(0x1f2)](_0x5cbd40,_0x9569a4,_0x332dab){const _0x297da3=_0x3849c7,_0x538329=this['_isServer']?_0x297da3(0x12f):_0x297da3(0x1c4);if(!this[_0x297da3(0xb9)]){const _0x577a90=_0x538329+_0x297da3(0x1e2),_0x3a5faf=typeof this[_0x297da3(0x230)][_0x577a90]!=_0x297da3(0xd8)?_0x2c4ae1[_0x297da3(0xbe)]:this[_0x297da3(0x230)][_0x577a90];this[_0x297da3(0xb9)]=_0x2c4ae1[_0x297da3(0x1cf)]({...this[_0x297da3(0x1ef)]['zlibInflateOptions'],'windowBits':_0x3a5faf}),this['_inflate'][_0x42cef8]=this,this[_0x297da3(0xb9)][_0x1bade6]=0x0,this[_0x297da3(0xb9)][_0x4bf8b2]=[],this[_0x297da3(0xb9)]['on'](_0x297da3(0x93),_0xac128),this[_0x297da3(0xb9)]['on'](_0x297da3(0x11e),_0x2d0260);}this[_0x297da3(0xb9)][_0x82cbcc]=_0x332dab,this['_inflate'][_0x297da3(0x1cb)](_0x5cbd40),_0x9569a4&&this[_0x297da3(0xb9)][_0x297da3(0x1cb)](_0x16832b),this[_0x297da3(0xb9)][_0x297da3(0x192)](()=>{const _0x3a9156=_0x297da3,_0x406989=this[_0x3a9156(0xb9)][_0x2b839b];if(_0x406989){this[_0x3a9156(0xb9)][_0x3a9156(0x149)](),this[_0x3a9156(0xb9)]=null,_0x332dab(_0x406989);return;}const _0x45f875=_0x2e8934[_0x3a9156(0xc3)](this[_0x3a9156(0xb9)][_0x4bf8b2],this[_0x3a9156(0xb9)][_0x1bade6]);this[_0x3a9156(0xb9)][_0x3a9156(0x10c)][_0x3a9156(0x11f)]?(this[_0x3a9156(0xb9)][_0x3a9156(0x149)](),this[_0x3a9156(0xb9)]=null):(this[_0x3a9156(0xb9)][_0x1bade6]=0x0,this[_0x3a9156(0xb9)][_0x4bf8b2]=[],_0x9569a4&&this[_0x3a9156(0x230)][_0x538329+_0x3a9156(0x17a)]&&this[_0x3a9156(0xb9)]['reset']()),_0x332dab(null,_0x45f875);});}[_0x3849c7(0x1b4)](_0x12fd40,_0x24b04e,_0x368a74){const _0x2cc4c0=_0x3849c7,_0x1a76c8=this[_0x2cc4c0(0xf7)]?_0x2cc4c0(0x1c4):_0x2cc4c0(0x12f);if(!this['_deflate']){const _0x11a640=_0x1a76c8+_0x2cc4c0(0x1e2),_0x23449f=typeof this[_0x2cc4c0(0x230)][_0x11a640]!='number'?_0x2c4ae1[_0x2cc4c0(0xbe)]:this[_0x2cc4c0(0x230)][_0x11a640];this[_0x2cc4c0(0xd9)]=_0x2c4ae1[_0x2cc4c0(0x1f3)]({...this[_0x2cc4c0(0x1ef)][_0x2cc4c0(0x152)],'windowBits':_0x23449f}),this['_deflate'][_0x1bade6]=0x0,this[_0x2cc4c0(0xd9)][_0x4bf8b2]=[],this[_0x2cc4c0(0xd9)]['on'](_0x2cc4c0(0x11e),_0x5782d1);}this[_0x2cc4c0(0xd9)][_0x82cbcc]=_0x368a74,this[_0x2cc4c0(0xd9)][_0x2cc4c0(0x1cb)](_0x12fd40),this['_deflate'][_0x2cc4c0(0x192)](_0x2c4ae1[_0x2cc4c0(0xa9)],()=>{const _0x34b2ae=_0x2cc4c0;if(!this[_0x34b2ae(0xd9)])return;let _0x24dd91=_0x2e8934['concat'](this[_0x34b2ae(0xd9)][_0x4bf8b2],this[_0x34b2ae(0xd9)][_0x1bade6]);_0x24b04e&&(_0x24dd91=new _0x52f37d(_0x24dd91[_0x34b2ae(0xd4)],_0x24dd91[_0x34b2ae(0xf1)],_0x24dd91[_0x34b2ae(0x1ca)]-0x4)),this['_deflate'][_0x82cbcc]=null,this[_0x34b2ae(0xd9)][_0x1bade6]=0x0,this[_0x34b2ae(0xd9)][_0x4bf8b2]=[],_0x24b04e&&this['params'][_0x1a76c8+'_no_context_takeover']&&this['_deflate'][_0x34b2ae(0x1ed)](),_0x368a74(null,_0x24dd91);});}}ve=_0x477c70;function _0x5782d1(_0x9c33e2){const _0x35ff7b=_0x3849c7;this[_0x4bf8b2][_0x35ff7b(0xeb)](_0x9c33e2),this[_0x1bade6]+=_0x9c33e2[_0x35ff7b(0x1ca)];}function _0x2d0260(_0x45b831){const _0xd88777=_0x3849c7;if(this[_0x1bade6]+=_0x45b831[_0xd88777(0x1ca)],this[_0x42cef8][_0xd88777(0x15e)]<0x1||this[_0x1bade6]<=this[_0x42cef8]['_maxPayload']){this[_0x4bf8b2][_0xd88777(0xeb)](_0x45b831);return;}this[_0x2b839b]=new RangeError(_0xd88777(0x103)),this[_0x2b839b]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x2b839b][_0x40f4fc]=0x3f1,this[_0xd88777(0x14b)]('data',_0x2d0260),this[_0xd88777(0x1ed)]();}function _0xac128(_0x1058de){const _0xa71bb6=_0x3849c7;if(this[_0x42cef8][_0xa71bb6(0xb9)]=null,this[_0x2b839b]){this[_0x82cbcc](this[_0x2b839b]);return;}_0x1058de[_0x40f4fc]=0x3ef,this[_0x82cbcc](_0x1058de);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0xa7a424(0x223)]({'__proto__':null,'default':Ht},Symbol[_0xa7a424(0x213)],{'value':_0xa7a424(0x206)})),Yt=ut(zt);var Qe;function ne(){const _0x26a580=_0xa7a424;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x592065}=_0x34fd8d,{hasBlob:_0x1f0ce9}=V(),_0x5dffb8=[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 _0x5499ba(_0x1717e0){return _0x1717e0>=0x3e8&&_0x1717e0<=0x3f6&&_0x1717e0!==0x3ec&&_0x1717e0!==0x3ed&&_0x1717e0!==0x3ee||_0x1717e0>=0xbb8&&_0x1717e0<=0x1387;}function _0x370b96(_0xf3cff8){const _0x591670=_0x1faa,_0x57ec8d=_0xf3cff8[_0x591670(0x1ca)];let _0x257e52=0x0;for(;_0x257e52<_0x57ec8d;)if((_0xf3cff8[_0x257e52]&0x80)===0x0)_0x257e52++;else{if((_0xf3cff8[_0x257e52]&0xe0)===0xc0){if(_0x257e52+0x1===_0x57ec8d||(_0xf3cff8[_0x257e52+0x1]&0xc0)!==0x80||(_0xf3cff8[_0x257e52]&0xfe)===0xc0)return!0x1;_0x257e52+=0x2;}else{if((_0xf3cff8[_0x257e52]&0xf0)===0xe0){if(_0x257e52+0x2>=_0x57ec8d||(_0xf3cff8[_0x257e52+0x1]&0xc0)!==0x80||(_0xf3cff8[_0x257e52+0x2]&0xc0)!==0x80||_0xf3cff8[_0x257e52]===0xe0&&(_0xf3cff8[_0x257e52+0x1]&0xe0)===0x80||_0xf3cff8[_0x257e52]===0xed&&(_0xf3cff8[_0x257e52+0x1]&0xe0)===0xa0)return!0x1;_0x257e52+=0x3;}else{if((_0xf3cff8[_0x257e52]&0xf8)===0xf0){if(_0x257e52+0x3>=_0x57ec8d||(_0xf3cff8[_0x257e52+0x1]&0xc0)!==0x80||(_0xf3cff8[_0x257e52+0x2]&0xc0)!==0x80||(_0xf3cff8[_0x257e52+0x3]&0xc0)!==0x80||_0xf3cff8[_0x257e52]===0xf0&&(_0xf3cff8[_0x257e52+0x1]&0xf0)===0x80||_0xf3cff8[_0x257e52]===0xf4&&_0xf3cff8[_0x257e52+0x1]>0x8f||_0xf3cff8[_0x257e52]>0xf4)return!0x1;_0x257e52+=0x4;}else return!0x1;}}}return!0x0;}function _0x4d884c(_0x4adcc8){const _0x2afb53=_0x1faa;return _0x1f0ce9&&typeof _0x4adcc8==_0x2afb53(0x116)&&typeof _0x4adcc8[_0x2afb53(0x1f9)]=='function'&&typeof _0x4adcc8['type']==_0x2afb53(0x117)&&typeof _0x4adcc8[_0x2afb53(0x1f1)]==_0x2afb53(0x177)&&(_0x4adcc8[Symbol['toStringTag']]===_0x2afb53(0x23b)||_0x4adcc8[Symbol['toStringTag']]==='File');}if(re[_0x26a580(0x1ea)]={'isBlob':_0x4d884c,'isValidStatusCode':_0x5499ba,'isValidUTF8':_0x370b96,'tokenChars':_0x5dffb8},_0x592065)re[_0x26a580(0x1ea)][_0x26a580(0xa8)]=function(_0x1e2a38){const _0x459190=_0x26a580;return _0x1e2a38[_0x459190(0x1ca)]<0x18?_0x370b96(_0x1e2a38):_0x592065(_0x1e2a38);};else{if(!process[_0x26a580(0x12a)][_0x26a580(0x119)])try{const _0x288117=Yt;re['exports'][_0x26a580(0xa8)]=function(_0x2fedb3){const _0x30072d=_0x26a580;return _0x2fedb3[_0x30072d(0x1ca)]<0x20?_0x370b96(_0x2fedb3):_0x288117(_0x2fedb3);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x4c2431=_0xa7a424;if(Je)return Se;Je=0x1;const {Writable:_0x483a70}=_0x566c0f,_0x2c78ab=he(),{BINARY_TYPES:_0x3a0088,EMPTY_BUFFER:_0x4174e9,kStatusCode:_0x132964,kWebSocket:_0x2cd37d}=V(),{concat:_0x46ae2a,toArrayBuffer:_0x3b036b,unmask:_0x2a614e}=ce(),{isValidStatusCode:_0x1481b1,isValidUTF8:_0x43fbdd}=ne(),_0x278296=Buffer[Symbol['species']],_0x3e8314=0x0,_0x25c06f=0x1,_0x5a318a=0x2,_0x4dc87a=0x3,_0x7f832c=0x4,_0x3c1126=0x5,_0x3d8634=0x6;class _0x391ee7 extends _0x483a70{constructor(_0x546783={}){const _0x4e5e3b=_0x1faa;super(),this['_allowSynchronousEvents']=_0x546783[_0x4e5e3b(0x1ac)]!==void 0x0?_0x546783[_0x4e5e3b(0x1ac)]:!0x0,this['_binaryType']=_0x546783[_0x4e5e3b(0x16c)]||_0x3a0088[0x0],this[_0x4e5e3b(0xaf)]=_0x546783[_0x4e5e3b(0x13b)]||{},this[_0x4e5e3b(0xf7)]=!!_0x546783[_0x4e5e3b(0x210)],this[_0x4e5e3b(0x15e)]=_0x546783[_0x4e5e3b(0x243)]|0x0,this[_0x4e5e3b(0x19e)]=!!_0x546783['skipUTF8Validation'],this[_0x2cd37d]=void 0x0,this[_0x4e5e3b(0x10e)]=0x0,this[_0x4e5e3b(0x1d6)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x4e5e3b(0xde)]=void 0x0,this['_fragmented']=0x0,this[_0x4e5e3b(0x194)]=!0x1,this['_fin']=!0x1,this[_0x4e5e3b(0x154)]=0x0,this[_0x4e5e3b(0x232)]=0x0,this['_messageLength']=0x0,this[_0x4e5e3b(0x1e1)]=[],this['_errored']=!0x1,this[_0x4e5e3b(0x21f)]=!0x1,this['_state']=_0x3e8314;}['_write'](_0x3395fd,_0x486f37,_0x4c273c){const _0x3d7a13=_0x1faa;if(this[_0x3d7a13(0x154)]===0x8&&this[_0x3d7a13(0xf6)]==_0x3e8314)return _0x4c273c();this[_0x3d7a13(0x10e)]+=_0x3395fd[_0x3d7a13(0x1ca)],this[_0x3d7a13(0x1d6)][_0x3d7a13(0xeb)](_0x3395fd),this['startLoop'](_0x4c273c);}[_0x4c2431(0x14d)](_0x58f752){const _0x3a8a25=_0x4c2431;if(this['_bufferedBytes']-=_0x58f752,_0x58f752===this[_0x3a8a25(0x1d6)][0x0][_0x3a8a25(0x1ca)])return this[_0x3a8a25(0x1d6)][_0x3a8a25(0x129)]();if(_0x58f752<this[_0x3a8a25(0x1d6)][0x0][_0x3a8a25(0x1ca)]){const _0x53ea06=this[_0x3a8a25(0x1d6)][0x0];return this[_0x3a8a25(0x1d6)][0x0]=new _0x278296(_0x53ea06[_0x3a8a25(0xd4)],_0x53ea06[_0x3a8a25(0xf1)]+_0x58f752,_0x53ea06['length']-_0x58f752),new _0x278296(_0x53ea06['buffer'],_0x53ea06['byteOffset'],_0x58f752);}const _0x14e0fd=Buffer[_0x3a8a25(0x124)](_0x58f752);do{const _0x12129a=this[_0x3a8a25(0x1d6)][0x0],_0x12ace0=_0x14e0fd['length']-_0x58f752;_0x58f752>=_0x12129a['length']?_0x14e0fd[_0x3a8a25(0x134)](this[_0x3a8a25(0x1d6)][_0x3a8a25(0x129)](),_0x12ace0):(_0x14e0fd[_0x3a8a25(0x134)](new Uint8Array(_0x12129a[_0x3a8a25(0xd4)],_0x12129a['byteOffset'],_0x58f752),_0x12ace0),this[_0x3a8a25(0x1d6)][0x0]=new _0x278296(_0x12129a[_0x3a8a25(0xd4)],_0x12129a[_0x3a8a25(0xf1)]+_0x58f752,_0x12129a[_0x3a8a25(0x1ca)]-_0x58f752)),_0x58f752-=_0x12129a['length'];}while(_0x58f752>0x0);return _0x14e0fd;}[_0x4c2431(0x219)](_0x21f8d7){const _0x5e98d5=_0x4c2431;this[_0x5e98d5(0x21f)]=!0x0;do switch(this[_0x5e98d5(0xf6)]){case _0x3e8314:this[_0x5e98d5(0x176)](_0x21f8d7);break;case _0x25c06f:this[_0x5e98d5(0xc0)](_0x21f8d7);break;case _0x5a318a:this[_0x5e98d5(0x23d)](_0x21f8d7);break;case _0x4dc87a:this['getMask']();break;case _0x7f832c:this['getData'](_0x21f8d7);break;case _0x3c1126:case _0x3d8634:this['_loop']=!0x1;return;}while(this[_0x5e98d5(0x21f)]);this[_0x5e98d5(0xa3)]||_0x21f8d7();}[_0x4c2431(0x176)](_0x5669e0){const _0x40893a=_0x4c2431;if(this[_0x40893a(0x10e)]<0x2){this[_0x40893a(0x21f)]=!0x1;return;}const _0x50750a=this['consume'](0x2);if((_0x50750a[0x0]&0x30)!==0x0){const _0x307b7a=this['createError'](RangeError,_0x40893a(0x146),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x5669e0(_0x307b7a);return;}const _0x4d882d=(_0x50750a[0x0]&0x40)===0x40;if(_0x4d882d&&!this[_0x40893a(0xaf)][_0x2c78ab['extensionName']]){const _0x1b5c80=this[_0x40893a(0x20f)](RangeError,_0x40893a(0xe0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5669e0(_0x1b5c80);return;}if(this[_0x40893a(0x19c)]=(_0x50750a[0x0]&0x80)===0x80,this[_0x40893a(0x154)]=_0x50750a[0x0]&0xf,this['_payloadLength']=_0x50750a[0x1]&0x7f,this[_0x40893a(0x154)]===0x0){if(_0x4d882d){const _0x2543fa=this[_0x40893a(0x20f)](RangeError,_0x40893a(0xe0),!0x0,0x3ea,_0x40893a(0x21e));_0x5669e0(_0x2543fa);return;}if(!this[_0x40893a(0xbf)]){const _0x4e8a83=this[_0x40893a(0x20f)](RangeError,_0x40893a(0xa4),!0x0,0x3ea,_0x40893a(0x1cd));_0x5669e0(_0x4e8a83);return;}this[_0x40893a(0x154)]=this[_0x40893a(0xbf)];}else{if(this[_0x40893a(0x154)]===0x1||this[_0x40893a(0x154)]===0x2){if(this[_0x40893a(0xbf)]){const _0x2ef1fa=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x20a)+this[_0x40893a(0x154)],!0x0,0x3ea,_0x40893a(0x1cd));_0x5669e0(_0x2ef1fa);return;}this['_compressed']=_0x4d882d;}else{if(this[_0x40893a(0x154)]>0x7&&this[_0x40893a(0x154)]<0xb){if(!this[_0x40893a(0x19c)]){const _0x376379=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x1bc),!0x0,0x3ea,_0x40893a(0x214));_0x5669e0(_0x376379);return;}if(_0x4d882d){const _0x1f9e35=this[_0x40893a(0x20f)](RangeError,_0x40893a(0xe0),!0x0,0x3ea,_0x40893a(0x21e));_0x5669e0(_0x1f9e35);return;}if(this[_0x40893a(0xae)]>0x7d||this['_opcode']===0x8&&this[_0x40893a(0xae)]===0x1){const _0x140e4c=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x18f)+this[_0x40893a(0xae)],!0x0,0x3ea,_0x40893a(0xf9));_0x5669e0(_0x140e4c);return;}}else{const _0x2434a9=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x20a)+this[_0x40893a(0x154)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5669e0(_0x2434a9);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x40893a(0x154)]),this['_masked']=(_0x50750a[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x95b117=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x97),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x5669e0(_0x95b117);return;}}else{if(this[_0x40893a(0x194)]){const _0x467de0=this[_0x40893a(0x20f)](RangeError,_0x40893a(0x180),!0x0,0x3ea,_0x40893a(0xe3));_0x5669e0(_0x467de0);return;}}this[_0x40893a(0xae)]===0x7e?this['_state']=_0x25c06f:this['_payloadLength']===0x7f?this[_0x40893a(0xf6)]=_0x5a318a:this[_0x40893a(0xf8)](_0x5669e0);}['getPayloadLength16'](_0x5c42b3){const _0x449a96=_0x4c2431;if(this[_0x449a96(0x10e)]<0x2){this[_0x449a96(0x21f)]=!0x1;return;}this['_payloadLength']=this[_0x449a96(0x14d)](0x2)[_0x449a96(0xe6)](0x0),this['haveLength'](_0x5c42b3);}['getPayloadLength64'](_0x3e66bb){const _0x11a792=_0x4c2431;if(this[_0x11a792(0x10e)]<0x8){this[_0x11a792(0x21f)]=!0x1;return;}const _0x568a27=this[_0x11a792(0x14d)](0x8),_0x38fd4a=_0x568a27[_0x11a792(0x19d)](0x0);if(_0x38fd4a>Math[_0x11a792(0x1fa)](0x2,0x15)-0x1){const _0x452cc4=this[_0x11a792(0x20f)](RangeError,_0x11a792(0x11c),!0x1,0x3f1,_0x11a792(0x1fe));_0x3e66bb(_0x452cc4);return;}this[_0x11a792(0xae)]=_0x38fd4a*Math['pow'](0x2,0x20)+_0x568a27[_0x11a792(0x19d)](0x4),this[_0x11a792(0xf8)](_0x3e66bb);}[_0x4c2431(0xf8)](_0x1b4eac){const _0x155033=_0x4c2431;if(this[_0x155033(0xae)]&&this[_0x155033(0x154)]<0x8&&(this[_0x155033(0x232)]+=this[_0x155033(0xae)],this[_0x155033(0x232)]>this['_maxPayload']&&this[_0x155033(0x15e)]>0x0)){const _0x1f8226=this['createError'](RangeError,_0x155033(0x103),!0x1,0x3f1,_0x155033(0xc9));_0x1b4eac(_0x1f8226);return;}this[_0x155033(0x194)]?this[_0x155033(0xf6)]=_0x4dc87a:this['_state']=_0x7f832c;}[_0x4c2431(0x141)](){const _0x2e7236=_0x4c2431;if(this[_0x2e7236(0x10e)]<0x4){this['_loop']=!0x1;return;}this[_0x2e7236(0xde)]=this['consume'](0x4),this[_0x2e7236(0xf6)]=_0x7f832c;}[_0x4c2431(0x1b5)](_0x4f82e0){const _0x58482c=_0x4c2431;let _0x124137=_0x4174e9;if(this[_0x58482c(0xae)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x58482c(0x21f)]=!0x1;return;}_0x124137=this[_0x58482c(0x14d)](this[_0x58482c(0xae)]),this[_0x58482c(0x194)]&&(this[_0x58482c(0xde)][0x0]|this[_0x58482c(0xde)][0x1]|this['_mask'][0x2]|this[_0x58482c(0xde)][0x3])!==0x0&&_0x2a614e(_0x124137,this[_0x58482c(0xde)]);}if(this[_0x58482c(0x154)]>0x7){this['controlMessage'](_0x124137,_0x4f82e0);return;}if(this[_0x58482c(0x19f)]){this[_0x58482c(0xf6)]=_0x3c1126,this[_0x58482c(0x164)](_0x124137,_0x4f82e0);return;}_0x124137[_0x58482c(0x1ca)]&&(this['_messageLength']=this[_0x58482c(0x232)],this[_0x58482c(0x1e1)][_0x58482c(0xeb)](_0x124137)),this[_0x58482c(0x1b0)](_0x4f82e0);}[_0x4c2431(0x164)](_0x142e5e,_0x546fab){const _0x121614=_0x4c2431;this[_0x121614(0xaf)][_0x2c78ab[_0x121614(0x1a1)]][_0x121614(0x164)](_0x142e5e,this['_fin'],(_0x402d40,_0x4a661d)=>{const _0x455d54=_0x121614;if(_0x402d40)return _0x546fab(_0x402d40);if(_0x4a661d[_0x455d54(0x1ca)]){if(this[_0x455d54(0x104)]+=_0x4a661d[_0x455d54(0x1ca)],this[_0x455d54(0x104)]>this[_0x455d54(0x15e)]&&this[_0x455d54(0x15e)]>0x0){const _0x114e67=this[_0x455d54(0x20f)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x546fab(_0x114e67);return;}this['_fragments'][_0x455d54(0xeb)](_0x4a661d);}this[_0x455d54(0x1b0)](_0x546fab),this[_0x455d54(0xf6)]===_0x3e8314&&this[_0x455d54(0x219)](_0x546fab);});}[_0x4c2431(0x1b0)](_0x5ce822){const _0x35443f=_0x4c2431;if(!this[_0x35443f(0x19c)]){this[_0x35443f(0xf6)]=_0x3e8314;return;}const _0x4da992=this[_0x35443f(0x104)],_0x506cd5=this[_0x35443f(0x1e1)];if(this['_totalPayloadLength']=0x0,this[_0x35443f(0x104)]=0x0,this[_0x35443f(0xbf)]=0x0,this['_fragments']=[],this[_0x35443f(0x154)]===0x2){let _0x1091f1;this[_0x35443f(0x1c5)]==='nodebuffer'?_0x1091f1=_0x46ae2a(_0x506cd5,_0x4da992):this[_0x35443f(0x1c5)]===_0x35443f(0x105)?_0x1091f1=_0x3b036b(_0x46ae2a(_0x506cd5,_0x4da992)):this[_0x35443f(0x1c5)]==='blob'?_0x1091f1=new Blob(_0x506cd5):_0x1091f1=_0x506cd5,this[_0x35443f(0x14c)]?(this[_0x35443f(0xed)]('message',_0x1091f1,!0x0),this[_0x35443f(0xf6)]=_0x3e8314):(this['_state']=_0x3d8634,setImmediate(()=>{const _0x30d3c9=_0x35443f;this[_0x30d3c9(0xed)](_0x30d3c9(0x1d5),_0x1091f1,!0x0),this[_0x30d3c9(0xf6)]=_0x3e8314,this[_0x30d3c9(0x219)](_0x5ce822);}));}else{const _0x388897=_0x46ae2a(_0x506cd5,_0x4da992);if(!this[_0x35443f(0x19e)]&&!_0x43fbdd(_0x388897)){const _0x2b698a=this[_0x35443f(0x20f)](Error,_0x35443f(0x169),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5ce822(_0x2b698a);return;}this[_0x35443f(0xf6)]===_0x3c1126||this[_0x35443f(0x14c)]?(this[_0x35443f(0xed)]('message',_0x388897,!0x1),this[_0x35443f(0xf6)]=_0x3e8314):(this[_0x35443f(0xf6)]=_0x3d8634,setImmediate(()=>{const _0xd9ace=_0x35443f;this[_0xd9ace(0xed)](_0xd9ace(0x1d5),_0x388897,!0x1),this[_0xd9ace(0xf6)]=_0x3e8314,this[_0xd9ace(0x219)](_0x5ce822);}));}}['controlMessage'](_0x3d62c1,_0x3d0050){const _0x24deaf=_0x4c2431;if(this[_0x24deaf(0x154)]===0x8){if(_0x3d62c1[_0x24deaf(0x1ca)]===0x0)this[_0x24deaf(0x21f)]=!0x1,this[_0x24deaf(0xed)](_0x24deaf(0x147),0x3ed,_0x4174e9),this[_0x24deaf(0x195)]();else{const _0x5993a2=_0x3d62c1['readUInt16BE'](0x0);if(!_0x1481b1(_0x5993a2)){const _0x4f6fd8=this[_0x24deaf(0x20f)](RangeError,'invalid\x20status\x20code\x20'+_0x5993a2,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x3d0050(_0x4f6fd8);return;}const _0x4bef01=new _0x278296(_0x3d62c1[_0x24deaf(0xd4)],_0x3d62c1[_0x24deaf(0xf1)]+0x2,_0x3d62c1['length']-0x2);if(!this[_0x24deaf(0x19e)]&&!_0x43fbdd(_0x4bef01)){const _0x284e5c=this['createError'](Error,_0x24deaf(0x169),!0x0,0x3ef,_0x24deaf(0xe9));_0x3d0050(_0x284e5c);return;}this[_0x24deaf(0x21f)]=!0x1,this[_0x24deaf(0xed)]('conclude',_0x5993a2,_0x4bef01),this[_0x24deaf(0x195)]();}this[_0x24deaf(0xf6)]=_0x3e8314;return;}this[_0x24deaf(0x14c)]?(this[_0x24deaf(0xed)](this['_opcode']===0x9?_0x24deaf(0x173):_0x24deaf(0x1d0),_0x3d62c1),this[_0x24deaf(0xf6)]=_0x3e8314):(this[_0x24deaf(0xf6)]=_0x3d8634,setImmediate(()=>{const _0x3d3ed6=_0x24deaf;this[_0x3d3ed6(0xed)](this[_0x3d3ed6(0x154)]===0x9?_0x3d3ed6(0x173):'pong',_0x3d62c1),this[_0x3d3ed6(0xf6)]=_0x3e8314,this[_0x3d3ed6(0x219)](_0x3d0050);}));}[_0x4c2431(0x20f)](_0x25a32d,_0x19c08b,_0xdf6f98,_0x407098,_0x2025b8){const _0x268848=_0x4c2431;this['_loop']=!0x1,this['_errored']=!0x0;const _0x2f02d6=new _0x25a32d(_0xdf6f98?_0x268848(0xb8)+_0x19c08b:_0x19c08b);return Error[_0x268848(0x22e)](_0x2f02d6,this['createError']),_0x2f02d6[_0x268848(0xb2)]=_0x2025b8,_0x2f02d6[_0x132964]=_0x407098,_0x2f02d6;}}return Se=_0x391ee7,Se;}var Ee,et;function _t(){const _0x19845e=_0xa7a424;if(et)return Ee;et=0x1;const {Duplex:_0x51a50c}=_0x566c0f,{randomFillSync:_0x5ad86f}=_0x47cf61,_0x4d7c41=he(),{EMPTY_BUFFER:_0xa42482,kWebSocket:_0x421c34,NOOP:_0xc7849a}=V(),{isBlob:_0x2b53b6,isValidStatusCode:_0x352b5d}=ne(),{mask:_0x3adfcd,toBuffer:_0x2613d2}=ce(),_0x546ac9=Symbol('kByteLength'),_0x4a2746=Buffer[_0x19845e(0xd3)](0x4),_0x255b96=0x8*0x400;let _0xce645b,_0x339997=_0x255b96;const _0x41fea4=0x0,_0x142f3f=0x1,_0x247971=0x2;class _0x45b274{constructor(_0x388377,_0x19f1eb,_0x1fb750){const _0x1d4d0c=_0x19845e;this[_0x1d4d0c(0xaf)]=_0x19f1eb||{},_0x1fb750&&(this[_0x1d4d0c(0xcf)]=_0x1fb750,this[_0x1d4d0c(0x23e)]=Buffer[_0x1d4d0c(0xd3)](0x4)),this['_socket']=_0x388377,this[_0x1d4d0c(0x138)]=!0x0,this[_0x1d4d0c(0x1b4)]=!0x1,this[_0x1d4d0c(0x10e)]=0x0,this[_0x1d4d0c(0x145)]=[],this['_state']=_0x41fea4,this[_0x1d4d0c(0x201)]=_0xc7849a,this[_0x421c34]=void 0x0;}static[_0x19845e(0x144)](_0x566cb5,_0x80b45f){const _0x225227=_0x19845e;let _0x47b72e,_0x4d8f7e=!0x1,_0x314d7e=0x2,_0x54f6f0=!0x1;_0x80b45f[_0x225227(0x13d)]&&(_0x47b72e=_0x80b45f[_0x225227(0x183)]||_0x4a2746,_0x80b45f[_0x225227(0x199)]?_0x80b45f[_0x225227(0x199)](_0x47b72e):(_0x339997===_0x255b96&&(_0xce645b===void 0x0&&(_0xce645b=Buffer[_0x225227(0xd3)](_0x255b96)),_0x5ad86f(_0xce645b,0x0,_0x255b96),_0x339997=0x0),_0x47b72e[0x0]=_0xce645b[_0x339997++],_0x47b72e[0x1]=_0xce645b[_0x339997++],_0x47b72e[0x2]=_0xce645b[_0x339997++],_0x47b72e[0x3]=_0xce645b[_0x339997++]),_0x54f6f0=(_0x47b72e[0x0]|_0x47b72e[0x1]|_0x47b72e[0x2]|_0x47b72e[0x3])===0x0,_0x314d7e=0x6);let _0x19a290;typeof _0x566cb5==_0x225227(0x117)?(!_0x80b45f[_0x225227(0x13d)]||_0x54f6f0)&&_0x80b45f[_0x546ac9]!==void 0x0?_0x19a290=_0x80b45f[_0x546ac9]:(_0x566cb5=Buffer[_0x225227(0xa2)](_0x566cb5),_0x19a290=_0x566cb5[_0x225227(0x1ca)]):(_0x19a290=_0x566cb5[_0x225227(0x1ca)],_0x4d8f7e=_0x80b45f['mask']&&_0x80b45f[_0x225227(0x1b3)]&&!_0x54f6f0);let _0x284dc8=_0x19a290;_0x19a290>=0x10000?(_0x314d7e+=0x8,_0x284dc8=0x7f):_0x19a290>0x7d&&(_0x314d7e+=0x2,_0x284dc8=0x7e);const _0x2d064a=Buffer[_0x225227(0x124)](_0x4d8f7e?_0x19a290+_0x314d7e:_0x314d7e);return _0x2d064a[0x0]=_0x80b45f[_0x225227(0x101)]?_0x80b45f[_0x225227(0x1c3)]|0x80:_0x80b45f[_0x225227(0x1c3)],_0x80b45f[_0x225227(0xdd)]&&(_0x2d064a[0x0]|=0x40),_0x2d064a[0x1]=_0x284dc8,_0x284dc8===0x7e?_0x2d064a[_0x225227(0x1e4)](_0x19a290,0x2):_0x284dc8===0x7f&&(_0x2d064a[0x2]=_0x2d064a[0x3]=0x0,_0x2d064a[_0x225227(0x1c0)](_0x19a290,0x4,0x6)),_0x80b45f[_0x225227(0x13d)]?(_0x2d064a[0x1]|=0x80,_0x2d064a[_0x314d7e-0x4]=_0x47b72e[0x0],_0x2d064a[_0x314d7e-0x3]=_0x47b72e[0x1],_0x2d064a[_0x314d7e-0x2]=_0x47b72e[0x2],_0x2d064a[_0x314d7e-0x1]=_0x47b72e[0x3],_0x54f6f0?[_0x2d064a,_0x566cb5]:_0x4d8f7e?(_0x3adfcd(_0x566cb5,_0x47b72e,_0x2d064a,_0x314d7e,_0x19a290),[_0x2d064a]):(_0x3adfcd(_0x566cb5,_0x47b72e,_0x566cb5,0x0,_0x19a290),[_0x2d064a,_0x566cb5])):[_0x2d064a,_0x566cb5];}[_0x19845e(0x149)](_0x2a3630,_0x5e59f8,_0x35b7a2,_0xfef211){const _0x2539da=_0x19845e;let _0x247ea6;if(_0x2a3630===void 0x0)_0x247ea6=_0xa42482;else{if(typeof _0x2a3630!='number'||!_0x352b5d(_0x2a3630))throw new TypeError(_0x2539da(0x189));if(_0x5e59f8===void 0x0||!_0x5e59f8['length'])_0x247ea6=Buffer[_0x2539da(0x124)](0x2),_0x247ea6[_0x2539da(0x1e4)](_0x2a3630,0x0);else{const _0x57ef72=Buffer['byteLength'](_0x5e59f8);if(_0x57ef72>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x247ea6=Buffer[_0x2539da(0x124)](0x2+_0x57ef72),_0x247ea6[_0x2539da(0x1e4)](_0x2a3630,0x0),typeof _0x5e59f8==_0x2539da(0x117)?_0x247ea6[_0x2539da(0x1cb)](_0x5e59f8,0x2):_0x247ea6[_0x2539da(0x134)](_0x5e59f8,0x2);}}const _0x553901={[_0x546ac9]:_0x247ea6['length'],'fin':!0x0,'generateMask':this[_0x2539da(0xcf)],'mask':_0x35b7a2,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2539da(0xf6)]!==_0x41fea4?this[_0x2539da(0x1a2)]([this[_0x2539da(0x1d9)],_0x247ea6,!0x1,_0x553901,_0xfef211]):this[_0x2539da(0x19b)](_0x45b274['frame'](_0x247ea6,_0x553901),_0xfef211);}[_0x19845e(0x173)](_0x4f5311,_0x5a563f,_0x374e44){const _0x93b03b=_0x19845e;let _0x16186d,_0x2f5803;if(typeof _0x4f5311==_0x93b03b(0x117)?(_0x16186d=Buffer[_0x93b03b(0x21c)](_0x4f5311),_0x2f5803=!0x1):_0x2b53b6(_0x4f5311)?(_0x16186d=_0x4f5311[_0x93b03b(0x153)],_0x2f5803=!0x1):(_0x4f5311=_0x2613d2(_0x4f5311),_0x16186d=_0x4f5311[_0x93b03b(0x1ca)],_0x2f5803=_0x2613d2[_0x93b03b(0x1b3)]),_0x16186d>0x7d)throw new RangeError(_0x93b03b(0x1f7));const _0x4ff0a5={[_0x546ac9]:_0x16186d,'fin':!0x0,'generateMask':this[_0x93b03b(0xcf)],'mask':_0x5a563f,'maskBuffer':this[_0x93b03b(0x23e)],'opcode':0x9,'readOnly':_0x2f5803,'rsv1':!0x1};_0x2b53b6(_0x4f5311)?this[_0x93b03b(0xf6)]!==_0x41fea4?this[_0x93b03b(0x1a2)]([this[_0x93b03b(0x22b)],_0x4f5311,!0x1,_0x4ff0a5,_0x374e44]):this[_0x93b03b(0x22b)](_0x4f5311,!0x1,_0x4ff0a5,_0x374e44):this[_0x93b03b(0xf6)]!==_0x41fea4?this[_0x93b03b(0x1a2)]([this[_0x93b03b(0x1d9)],_0x4f5311,!0x1,_0x4ff0a5,_0x374e44]):this[_0x93b03b(0x19b)](_0x45b274[_0x93b03b(0x144)](_0x4f5311,_0x4ff0a5),_0x374e44);}[_0x19845e(0x1d0)](_0xa7ba87,_0x587002,_0x40801b){const _0x534460=_0x19845e;let _0xccbd8b,_0xc9d8fd;if(typeof _0xa7ba87==_0x534460(0x117)?(_0xccbd8b=Buffer[_0x534460(0x21c)](_0xa7ba87),_0xc9d8fd=!0x1):_0x2b53b6(_0xa7ba87)?(_0xccbd8b=_0xa7ba87['size'],_0xc9d8fd=!0x1):(_0xa7ba87=_0x2613d2(_0xa7ba87),_0xccbd8b=_0xa7ba87['length'],_0xc9d8fd=_0x2613d2[_0x534460(0x1b3)]),_0xccbd8b>0x7d)throw new RangeError(_0x534460(0x1f7));const _0x3a06a0={[_0x546ac9]:_0xccbd8b,'fin':!0x0,'generateMask':this[_0x534460(0xcf)],'mask':_0x587002,'maskBuffer':this[_0x534460(0x23e)],'opcode':0xa,'readOnly':_0xc9d8fd,'rsv1':!0x1};_0x2b53b6(_0xa7ba87)?this[_0x534460(0xf6)]!==_0x41fea4?this[_0x534460(0x1a2)]([this[_0x534460(0x22b)],_0xa7ba87,!0x1,_0x3a06a0,_0x40801b]):this['getBlobData'](_0xa7ba87,!0x1,_0x3a06a0,_0x40801b):this['_state']!==_0x41fea4?this[_0x534460(0x1a2)]([this['dispatch'],_0xa7ba87,!0x1,_0x3a06a0,_0x40801b]):this['sendFrame'](_0x45b274[_0x534460(0x144)](_0xa7ba87,_0x3a06a0),_0x40801b);}['send'](_0x4656d0,_0x9e569d,_0x4204dd){const _0x29f9c7=_0x19845e,_0x2af7a2=this[_0x29f9c7(0xaf)][_0x4d7c41['extensionName']];let _0x1cc768=_0x9e569d['binary']?0x2:0x1,_0x1870dc=_0x9e569d['compress'],_0x3114aa,_0x42f65e;typeof _0x4656d0=='string'?(_0x3114aa=Buffer['byteLength'](_0x4656d0),_0x42f65e=!0x1):_0x2b53b6(_0x4656d0)?(_0x3114aa=_0x4656d0[_0x29f9c7(0x153)],_0x42f65e=!0x1):(_0x4656d0=_0x2613d2(_0x4656d0),_0x3114aa=_0x4656d0['length'],_0x42f65e=_0x2613d2[_0x29f9c7(0x1b3)]),this[_0x29f9c7(0x138)]?(this[_0x29f9c7(0x138)]=!0x1,_0x1870dc&&_0x2af7a2&&_0x2af7a2[_0x29f9c7(0x230)][_0x2af7a2[_0x29f9c7(0xf7)]?_0x29f9c7(0xc2):'client_no_context_takeover']&&(_0x1870dc=_0x3114aa>=_0x2af7a2[_0x29f9c7(0xfb)]),this['_compress']=_0x1870dc):(_0x1870dc=!0x1,_0x1cc768=0x0),_0x9e569d[_0x29f9c7(0x101)]&&(this['_firstFragment']=!0x0);const _0x83edb2={[_0x546ac9]:_0x3114aa,'fin':_0x9e569d['fin'],'generateMask':this['_generateMask'],'mask':_0x9e569d[_0x29f9c7(0x13d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1cc768,'readOnly':_0x42f65e,'rsv1':_0x1870dc};_0x2b53b6(_0x4656d0)?this[_0x29f9c7(0xf6)]!==_0x41fea4?this['enqueue']([this[_0x29f9c7(0x22b)],_0x4656d0,this[_0x29f9c7(0x1b4)],_0x83edb2,_0x4204dd]):this['getBlobData'](_0x4656d0,this[_0x29f9c7(0x1b4)],_0x83edb2,_0x4204dd):this[_0x29f9c7(0xf6)]!==_0x41fea4?this[_0x29f9c7(0x1a2)]([this[_0x29f9c7(0x1d9)],_0x4656d0,this['_compress'],_0x83edb2,_0x4204dd]):this[_0x29f9c7(0x1d9)](_0x4656d0,this[_0x29f9c7(0x1b4)],_0x83edb2,_0x4204dd);}['getBlobData'](_0x33ad4b,_0x404ae7,_0x4d7d81,_0x2d7a8d){const _0x524647=_0x19845e;this['_bufferedBytes']+=_0x4d7d81[_0x546ac9],this[_0x524647(0xf6)]=_0x247971,_0x33ad4b[_0x524647(0x1f9)]()[_0x524647(0x23a)](_0x4a1297=>{const _0x5b1805=_0x524647;if(this[_0x5b1805(0x191)]['destroyed']){const _0x594535=new Error(_0x5b1805(0x11b));process[_0x5b1805(0x242)](_0x14f39e,this,_0x594535,_0x2d7a8d);return;}this[_0x5b1805(0x10e)]-=_0x4d7d81[_0x546ac9];const _0xc4bbe7=_0x2613d2(_0x4a1297);_0x404ae7?this[_0x5b1805(0x1d9)](_0xc4bbe7,_0x404ae7,_0x4d7d81,_0x2d7a8d):(this[_0x5b1805(0xf6)]=_0x41fea4,this[_0x5b1805(0x19b)](_0x45b274[_0x5b1805(0x144)](_0xc4bbe7,_0x4d7d81),_0x2d7a8d),this[_0x5b1805(0x227)]());})['catch'](_0x4e057f=>{const _0x1e4e54=_0x524647;process[_0x1e4e54(0x242)](_0x337c9a,this,_0x4e057f,_0x2d7a8d);});}[_0x19845e(0x1d9)](_0x3ac297,_0x1a635d,_0x46e11e,_0x2a62e7){const _0x52831c=_0x19845e;if(!_0x1a635d){this['sendFrame'](_0x45b274[_0x52831c(0x144)](_0x3ac297,_0x46e11e),_0x2a62e7);return;}const _0xe3d7c=this[_0x52831c(0xaf)][_0x4d7c41[_0x52831c(0x1a1)]];this['_bufferedBytes']+=_0x46e11e[_0x546ac9],this[_0x52831c(0xf6)]=_0x142f3f,_0xe3d7c[_0x52831c(0xc6)](_0x3ac297,_0x46e11e[_0x52831c(0x101)],(_0x3c5baf,_0x45f6e5)=>{const _0x5cb224=_0x52831c;if(this[_0x5cb224(0x191)][_0x5cb224(0x218)]){const _0xf6aadd=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x14f39e(this,_0xf6aadd,_0x2a62e7);return;}this[_0x5cb224(0x10e)]-=_0x46e11e[_0x546ac9],this[_0x5cb224(0xf6)]=_0x41fea4,_0x46e11e['readOnly']=!0x1,this['sendFrame'](_0x45b274['frame'](_0x45f6e5,_0x46e11e),_0x2a62e7),this[_0x5cb224(0x227)]();});}[_0x19845e(0x227)](){const _0x1229d8=_0x19845e;for(;this[_0x1229d8(0xf6)]===_0x41fea4&&this[_0x1229d8(0x145)]['length'];){const _0x16571c=this[_0x1229d8(0x145)]['shift']();this[_0x1229d8(0x10e)]-=_0x16571c[0x3][_0x546ac9],Reflect[_0x1229d8(0x1a0)](_0x16571c[0x0],this,_0x16571c[_0x1229d8(0xbc)](0x1));}}['enqueue'](_0x36d081){const _0x3eb063=_0x19845e;this[_0x3eb063(0x10e)]+=_0x36d081[0x3][_0x546ac9],this[_0x3eb063(0x145)][_0x3eb063(0xeb)](_0x36d081);}[_0x19845e(0x19b)](_0x2106b3,_0x103c9f){const _0x1817b1=_0x19845e;_0x2106b3[_0x1817b1(0x1ca)]===0x2?(this[_0x1817b1(0x191)][_0x1817b1(0x1a9)](),this[_0x1817b1(0x191)][_0x1817b1(0x1cb)](_0x2106b3[0x0]),this['_socket']['write'](_0x2106b3[0x1],_0x103c9f),this[_0x1817b1(0x191)][_0x1817b1(0x125)]()):this['_socket'][_0x1817b1(0x1cb)](_0x2106b3[0x0],_0x103c9f);}}Ee=_0x45b274;function _0x14f39e(_0x18c857,_0x58ec5f,_0x5b468c){const _0x29dd13=_0x19845e;typeof _0x5b468c=='function'&&_0x5b468c(_0x58ec5f);for(let _0x2dd5a3=0x0;_0x2dd5a3<_0x18c857[_0x29dd13(0x145)]['length'];_0x2dd5a3++){const _0x3e810c=_0x18c857[_0x29dd13(0x145)][_0x2dd5a3],_0x1d41b5=_0x3e810c[_0x3e810c['length']-0x1];typeof _0x1d41b5=='function'&&_0x1d41b5(_0x58ec5f);}}function _0x337c9a(_0x25be91,_0x4f657a,_0x107221){const _0x4fa57d=_0x19845e;_0x14f39e(_0x25be91,_0x4f657a,_0x107221),_0x25be91[_0x4fa57d(0x201)](_0x4f657a);}return Ee;}var xe,tt;function Kt(){const _0xd74ccf=_0xa7a424;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x55cde2,kListener:_0x407849}=V(),_0x4dd373=Symbol(_0xd74ccf(0x16b)),_0x4e0fcd=Symbol(_0xd74ccf(0x131)),_0x424838=Symbol(_0xd74ccf(0x123)),_0x206088=Symbol(_0xd74ccf(0xfe)),_0x344c30=Symbol(_0xd74ccf(0x175)),_0x2fea79=Symbol(_0xd74ccf(0x216)),_0x34c616=Symbol(_0xd74ccf(0x21b)),_0x31faa0=Symbol('kWasClean');class _0x79ab4a{constructor(_0x47d559){this[_0x2fea79]=null,this[_0x34c616]=_0x47d559;}get[_0xd74ccf(0xc1)](){return this[_0x2fea79];}get[_0xd74ccf(0x187)](){return this[_0x34c616];}}Object[_0xd74ccf(0x223)](_0x79ab4a[_0xd74ccf(0x17c)],_0xd74ccf(0xc1),{'enumerable':!0x0}),Object[_0xd74ccf(0x223)](_0x79ab4a[_0xd74ccf(0x17c)],'type',{'enumerable':!0x0});class _0x2e2568 extends _0x79ab4a{constructor(_0x51cec1,_0x535ba6={}){const _0x38f3b9=_0xd74ccf;super(_0x51cec1),this[_0x4dd373]=_0x535ba6[_0x38f3b9(0xb2)]===void 0x0?0x0:_0x535ba6[_0x38f3b9(0xb2)],this[_0x344c30]=_0x535ba6[_0x38f3b9(0x186)]===void 0x0?'':_0x535ba6[_0x38f3b9(0x186)],this[_0x31faa0]=_0x535ba6[_0x38f3b9(0x158)]===void 0x0?!0x1:_0x535ba6[_0x38f3b9(0x158)];}get['code'](){return this[_0x4dd373];}get[_0xd74ccf(0x186)](){return this[_0x344c30];}get['wasClean'](){return this[_0x31faa0];}}Object['defineProperty'](_0x2e2568[_0xd74ccf(0x17c)],_0xd74ccf(0xb2),{'enumerable':!0x0}),Object[_0xd74ccf(0x223)](_0x2e2568[_0xd74ccf(0x17c)],_0xd74ccf(0x186),{'enumerable':!0x0}),Object[_0xd74ccf(0x223)](_0x2e2568[_0xd74ccf(0x17c)],_0xd74ccf(0x158),{'enumerable':!0x0});class _0x54e4a3 extends _0x79ab4a{constructor(_0x59357c,_0x188c37={}){const _0x269a42=_0xd74ccf;super(_0x59357c),this[_0x424838]=_0x188c37[_0x269a42(0x93)]===void 0x0?null:_0x188c37['error'],this[_0x206088]=_0x188c37[_0x269a42(0x1d5)]===void 0x0?'':_0x188c37[_0x269a42(0x1d5)];}get[_0xd74ccf(0x93)](){return this[_0x424838];}get[_0xd74ccf(0x1d5)](){return this[_0x206088];}}Object[_0xd74ccf(0x223)](_0x54e4a3[_0xd74ccf(0x17c)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x54e4a3['prototype'],_0xd74ccf(0x1d5),{'enumerable':!0x0});class _0x11b4c4 extends _0x79ab4a{constructor(_0x526145,_0x132d94={}){const _0x53d4bc=_0xd74ccf;super(_0x526145),this[_0x4e0fcd]=_0x132d94[_0x53d4bc(0x11e)]===void 0x0?null:_0x132d94[_0x53d4bc(0x11e)];}get[_0xd74ccf(0x11e)](){return this[_0x4e0fcd];}}Object[_0xd74ccf(0x223)](_0x11b4c4[_0xd74ccf(0x17c)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x2e2568,'ErrorEvent':_0x54e4a3,'Event':_0x79ab4a,'EventTarget':{'addEventListener'(_0x264338,_0x219222,_0x49aa56={}){const _0x1c6433=_0xd74ccf;for(const _0x2c1d56 of this[_0x1c6433(0x209)](_0x264338))if(!_0x49aa56[_0x55cde2]&&_0x2c1d56[_0x407849]===_0x219222&&!_0x2c1d56[_0x55cde2])return;let _0x37506b;if(_0x264338===_0x1c6433(0x1d5))_0x37506b=function(_0xc6fe15,_0x3ed063){const _0xc11b07=_0x1c6433,_0x200263=new _0x11b4c4(_0xc11b07(0x1d5),{'data':_0x3ed063?_0xc6fe15:_0xc6fe15['toString']()});_0x200263[_0x2fea79]=this,_0x5ac184(_0x219222,this,_0x200263);};else{if(_0x264338===_0x1c6433(0x149))_0x37506b=function(_0x15bdc9,_0xf5ad34){const _0xa340d9=_0x1c6433,_0x2b3e73=new _0x2e2568(_0xa340d9(0x149),{'code':_0x15bdc9,'reason':_0xf5ad34['toString'](),'wasClean':this[_0xa340d9(0x207)]&&this['_closeFrameSent']});_0x2b3e73[_0x2fea79]=this,_0x5ac184(_0x219222,this,_0x2b3e73);};else{if(_0x264338===_0x1c6433(0x93))_0x37506b=function(_0x6f80e0){const _0x4b2007=_0x1c6433,_0x1d51e3=new _0x54e4a3(_0x4b2007(0x93),{'error':_0x6f80e0,'message':_0x6f80e0[_0x4b2007(0x1d5)]});_0x1d51e3[_0x2fea79]=this,_0x5ac184(_0x219222,this,_0x1d51e3);};else{if(_0x264338===_0x1c6433(0xac))_0x37506b=function(){const _0x1a46e1=_0x1c6433,_0x176179=new _0x79ab4a(_0x1a46e1(0xac));_0x176179[_0x2fea79]=this,_0x5ac184(_0x219222,this,_0x176179);};else return;}}}_0x37506b[_0x55cde2]=!!_0x49aa56[_0x55cde2],_0x37506b[_0x407849]=_0x219222,_0x49aa56[_0x1c6433(0x17f)]?this[_0x1c6433(0x17f)](_0x264338,_0x37506b):this['on'](_0x264338,_0x37506b);},'removeEventListener'(_0x6ba099,_0x1384b4){const _0x486359=_0xd74ccf;for(const _0x17d9bb of this[_0x486359(0x209)](_0x6ba099))if(_0x17d9bb[_0x407849]===_0x1384b4&&!_0x17d9bb[_0x55cde2]){this[_0x486359(0x14b)](_0x6ba099,_0x17d9bb);break;}}},'MessageEvent':_0x11b4c4};function _0x5ac184(_0x606429,_0x3fccb8,_0x4ffbbb){const _0x3e254d=_0xd74ccf;typeof _0x606429==_0x3e254d(0x116)&&_0x606429['handleEvent']?_0x606429[_0x3e254d(0x165)][_0x3e254d(0x16d)](_0x606429,_0x4ffbbb):_0x606429['call'](_0x3fccb8,_0x4ffbbb);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x16e937}=ne();function _0x3f25a3(_0x57be7a,_0x24fe13,_0x3696ed){const _0x4620bc=_0x1faa;_0x57be7a[_0x24fe13]===void 0x0?_0x57be7a[_0x24fe13]=[_0x3696ed]:_0x57be7a[_0x24fe13][_0x4620bc(0xeb)](_0x3696ed);}function _0x33d6bf(_0x4f63a7){const _0x539d43=_0x1faa,_0x321fc1=Object[_0x539d43(0x241)](null);let _0xc2849b=Object[_0x539d43(0x241)](null),_0x452b38=!0x1,_0x2e5989=!0x1,_0x6b1364=!0x1,_0x5656b4,_0x1e7929,_0x16b7d5=-0x1,_0x52b003=-0x1,_0x2a71f1=-0x1,_0x382274=0x0;for(;_0x382274<_0x4f63a7[_0x539d43(0x1ca)];_0x382274++)if(_0x52b003=_0x4f63a7[_0x539d43(0x12e)](_0x382274),_0x5656b4===void 0x0){if(_0x2a71f1===-0x1&&_0x16e937[_0x52b003]===0x1)_0x16b7d5===-0x1&&(_0x16b7d5=_0x382274);else{if(_0x382274!==0x0&&(_0x52b003===0x20||_0x52b003===0x9))_0x2a71f1===-0x1&&_0x16b7d5!==-0x1&&(_0x2a71f1=_0x382274);else{if(_0x52b003===0x3b||_0x52b003===0x2c){if(_0x16b7d5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x382274);_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274);const _0xf12438=_0x4f63a7[_0x539d43(0xbc)](_0x16b7d5,_0x2a71f1);_0x52b003===0x2c?(_0x3f25a3(_0x321fc1,_0xf12438,_0xc2849b),_0xc2849b=Object[_0x539d43(0x241)](null)):_0x5656b4=_0xf12438,_0x16b7d5=_0x2a71f1=-0x1;}else throw new SyntaxError(_0x539d43(0x18d)+_0x382274);}}}else{if(_0x1e7929===void 0x0){if(_0x2a71f1===-0x1&&_0x16e937[_0x52b003]===0x1)_0x16b7d5===-0x1&&(_0x16b7d5=_0x382274);else{if(_0x52b003===0x20||_0x52b003===0x9)_0x2a71f1===-0x1&&_0x16b7d5!==-0x1&&(_0x2a71f1=_0x382274);else{if(_0x52b003===0x3b||_0x52b003===0x2c){if(_0x16b7d5===-0x1)throw new SyntaxError(_0x539d43(0x18d)+_0x382274);_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274),_0x3f25a3(_0xc2849b,_0x4f63a7['slice'](_0x16b7d5,_0x2a71f1),!0x0),_0x52b003===0x2c&&(_0x3f25a3(_0x321fc1,_0x5656b4,_0xc2849b),_0xc2849b=Object['create'](null),_0x5656b4=void 0x0),_0x16b7d5=_0x2a71f1=-0x1;}else{if(_0x52b003===0x3d&&_0x16b7d5!==-0x1&&_0x2a71f1===-0x1)_0x1e7929=_0x4f63a7[_0x539d43(0xbc)](_0x16b7d5,_0x382274),_0x16b7d5=_0x2a71f1=-0x1;else throw new SyntaxError(_0x539d43(0x18d)+_0x382274);}}}}else{if(_0x2e5989){if(_0x16e937[_0x52b003]!==0x1)throw new SyntaxError(_0x539d43(0x18d)+_0x382274);_0x16b7d5===-0x1?_0x16b7d5=_0x382274:_0x452b38||(_0x452b38=!0x0),_0x2e5989=!0x1;}else{if(_0x6b1364){if(_0x16e937[_0x52b003]===0x1)_0x16b7d5===-0x1&&(_0x16b7d5=_0x382274);else{if(_0x52b003===0x22&&_0x16b7d5!==-0x1)_0x6b1364=!0x1,_0x2a71f1=_0x382274;else{if(_0x52b003===0x5c)_0x2e5989=!0x0;else throw new SyntaxError(_0x539d43(0x18d)+_0x382274);}}}else{if(_0x52b003===0x22&&_0x4f63a7[_0x539d43(0x12e)](_0x382274-0x1)===0x3d)_0x6b1364=!0x0;else{if(_0x2a71f1===-0x1&&_0x16e937[_0x52b003]===0x1)_0x16b7d5===-0x1&&(_0x16b7d5=_0x382274);else{if(_0x16b7d5!==-0x1&&(_0x52b003===0x20||_0x52b003===0x9))_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274);else{if(_0x52b003===0x3b||_0x52b003===0x2c){if(_0x16b7d5===-0x1)throw new SyntaxError(_0x539d43(0x18d)+_0x382274);_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274);let _0x58f726=_0x4f63a7['slice'](_0x16b7d5,_0x2a71f1);_0x452b38&&(_0x58f726=_0x58f726['replace'](/\\/g,''),_0x452b38=!0x1),_0x3f25a3(_0xc2849b,_0x1e7929,_0x58f726),_0x52b003===0x2c&&(_0x3f25a3(_0x321fc1,_0x5656b4,_0xc2849b),_0xc2849b=Object[_0x539d43(0x241)](null),_0x5656b4=void 0x0),_0x1e7929=void 0x0,_0x16b7d5=_0x2a71f1=-0x1;}else throw new SyntaxError(_0x539d43(0x18d)+_0x382274);}}}}}}}if(_0x16b7d5===-0x1||_0x6b1364||_0x52b003===0x20||_0x52b003===0x9)throw new SyntaxError(_0x539d43(0x10f));_0x2a71f1===-0x1&&(_0x2a71f1=_0x382274);const _0x486881=_0x4f63a7[_0x539d43(0xbc)](_0x16b7d5,_0x2a71f1);return _0x5656b4===void 0x0?_0x3f25a3(_0x321fc1,_0x486881,_0xc2849b):(_0x1e7929===void 0x0?_0x3f25a3(_0xc2849b,_0x486881,!0x0):_0x452b38?_0x3f25a3(_0xc2849b,_0x1e7929,_0x486881[_0x539d43(0x1da)](/\\/g,'')):_0x3f25a3(_0xc2849b,_0x1e7929,_0x486881),_0x3f25a3(_0x321fc1,_0x5656b4,_0xc2849b)),_0x321fc1;}function _0x12ddc9(_0x8c31ca){const _0x5cec47=_0x1faa;return Object['keys'](_0x8c31ca)[_0x5cec47(0x13f)](_0x10ffc4=>{const _0x77d34b=_0x5cec47;let _0x3cb713=_0x8c31ca[_0x10ffc4];return Array['isArray'](_0x3cb713)||(_0x3cb713=[_0x3cb713]),_0x3cb713[_0x77d34b(0x13f)](_0xb177af=>[_0x10ffc4][_0x77d34b(0xc3)](Object['keys'](_0xb177af)[_0x77d34b(0x13f)](_0x2a7cfb=>{const _0x1c8422=_0x77d34b;let _0x5b0346=_0xb177af[_0x2a7cfb];return Array[_0x1c8422(0x11d)](_0x5b0346)||(_0x5b0346=[_0x5b0346]),_0x5b0346[_0x1c8422(0x13f)](_0x267178=>_0x267178===!0x0?_0x2a7cfb:_0x2a7cfb+'='+_0x267178)[_0x1c8422(0x22c)](';\x20');}))['join'](';\x20'))[_0x77d34b(0x22c)](',\x20');})[_0x5cec47(0x22c)](',\x20');}return be={'format':_0x12ddc9,'parse':_0x33d6bf},be;}var we,st;function Ie(){const _0x35fbf8=_0xa7a424;if(st)return we;st=0x1;const _0x12eb75=_0x3f7707,_0x2700b0=_0x30486f,_0x59a3af=_0x215007,_0x2ca9bf=_0x2d3ff9,_0x1fa1cf=_0x2d5ad3,{randomBytes:_0x14b0ba,createHash:_0xe5c70}=_0x47cf61,{Duplex:_0x145f21,Readable:_0x160cd0}=_0x566c0f,{URL:_0x4d4b30}=_0x2b1d85,_0x148cd5=he(),_0x19104d=dt(),_0x39b712=_t(),{isBlob:_0x711327}=ne(),{BINARY_TYPES:_0x322c71,EMPTY_BUFFER:_0x52bd74,GUID:_0x276f70,kForOnEventAttribute:_0xd77ff1,kListener:_0x409b5f,kStatusCode:_0x2aa74a,kWebSocket:_0xdbccc1,NOOP:_0x4e793e}=V(),{EventTarget:{addEventListener:_0x8461a8,removeEventListener:_0x225324}}=Kt(),{format:_0x2bbba2,parse:_0xd33150}=pt(),{toBuffer:_0x375cd}=ce(),_0x1f2480=0x1e*0x3e8,_0x4b9ad6=Symbol('kAborted'),_0x12107c=[0x8,0xd],_0x3f5be3=['CONNECTING','OPEN',_0x35fbf8(0x203),_0x35fbf8(0x188)],_0x2d6380=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2c50a4 extends _0x12eb75{constructor(_0x35e844,_0x4c5872,_0x5b7de4){const _0x5dbfae=_0x35fbf8;super(),this[_0x5dbfae(0x1c5)]=_0x322c71[0x0],this['_closeCode']=0x3ee,this[_0x5dbfae(0x207)]=!0x1,this[_0x5dbfae(0x16e)]=!0x1,this[_0x5dbfae(0x22d)]=_0x52bd74,this[_0x5dbfae(0x1c7)]=null,this[_0x5dbfae(0xea)]=!0x1,this[_0x5dbfae(0xaf)]={},this['_paused']=!0x1,this['_protocol']='',this['_readyState']=_0x2c50a4[_0x5dbfae(0x20c)],this[_0x5dbfae(0x100)]=null,this[_0x5dbfae(0xb7)]=null,this[_0x5dbfae(0x191)]=null,_0x35e844!==null?(this[_0x5dbfae(0x10b)]=0x0,this['_isServer']=!0x1,this[_0x5dbfae(0x21d)]=0x0,_0x4c5872===void 0x0?_0x4c5872=[]:Array['isArray'](_0x4c5872)||(typeof _0x4c5872=='object'&&_0x4c5872!==null?(_0x5b7de4=_0x4c5872,_0x4c5872=[]):_0x4c5872=[_0x4c5872]),_0x140810(this,_0x35e844,_0x4c5872,_0x5b7de4)):(this[_0x5dbfae(0x197)]=_0x5b7de4[_0x5dbfae(0x1d3)],this['_isServer']=!0x0);}get['binaryType'](){const _0x123514=_0x35fbf8;return this[_0x123514(0x1c5)];}set[_0x35fbf8(0x16c)](_0x4f8e73){const _0x26432a=_0x35fbf8;_0x322c71['includes'](_0x4f8e73)&&(this[_0x26432a(0x1c5)]=_0x4f8e73,this['_receiver']&&(this[_0x26432a(0x100)][_0x26432a(0x1c5)]=_0x4f8e73));}get[_0x35fbf8(0x1a7)](){const _0x59a0a9=_0x35fbf8;return this[_0x59a0a9(0x191)]?this[_0x59a0a9(0x191)][_0x59a0a9(0x12b)][_0x59a0a9(0x1ca)]+this[_0x59a0a9(0xb7)]['_bufferedBytes']:this[_0x59a0a9(0x10b)];}get[_0x35fbf8(0x13b)](){const _0x120cc4=_0x35fbf8;return Object[_0x120cc4(0x22f)](this[_0x120cc4(0xaf)])[_0x120cc4(0x22c)]();}get[_0x35fbf8(0x190)](){const _0x4e6c27=_0x35fbf8;return this[_0x4e6c27(0x171)];}get[_0x35fbf8(0x9e)](){return null;}get[_0x35fbf8(0x201)](){return null;}get[_0x35fbf8(0x1b9)](){return null;}get[_0x35fbf8(0xaa)](){return null;}get[_0x35fbf8(0x1dd)](){const _0x5ae358=_0x35fbf8;return this[_0x5ae358(0xbb)];}get[_0x35fbf8(0x196)](){const _0x32f0cc=_0x35fbf8;return this[_0x32f0cc(0x106)];}get[_0x35fbf8(0x1c8)](){const _0x25b153=_0x35fbf8;return this[_0x25b153(0xc7)];}[_0x35fbf8(0x18a)](_0x38457c,_0x233909,_0x29f5cc){const _0x2bdea6=_0x35fbf8,_0x2af596=new _0x19104d({'allowSynchronousEvents':_0x29f5cc[_0x2bdea6(0x1ac)],'binaryType':this[_0x2bdea6(0x16c)],'extensions':this[_0x2bdea6(0xaf)],'isServer':this[_0x2bdea6(0xf7)],'maxPayload':_0x29f5cc[_0x2bdea6(0x243)],'skipUTF8Validation':_0x29f5cc[_0x2bdea6(0xcd)]}),_0x4d4b6d=new _0x39b712(_0x38457c,this['_extensions'],_0x29f5cc[_0x2bdea6(0x199)]);this[_0x2bdea6(0x100)]=_0x2af596,this[_0x2bdea6(0xb7)]=_0x4d4b6d,this[_0x2bdea6(0x191)]=_0x38457c,_0x2af596[_0xdbccc1]=this,_0x4d4b6d[_0xdbccc1]=this,_0x38457c[_0xdbccc1]=this,_0x2af596['on'](_0x2bdea6(0x147),_0x36a3cd),_0x2af596['on'](_0x2bdea6(0xb0),_0x574fef),_0x2af596['on']('error',_0x2488da),_0x2af596['on'](_0x2bdea6(0x1d5),_0x309f16),_0x2af596['on'](_0x2bdea6(0x173),_0x54258e),_0x2af596['on'](_0x2bdea6(0x1d0),_0x555efe),_0x4d4b6d[_0x2bdea6(0x201)]=_0x156656,_0x38457c[_0x2bdea6(0x136)]&&_0x38457c['setTimeout'](0x0),_0x38457c[_0x2bdea6(0x1f8)]&&_0x38457c[_0x2bdea6(0x1f8)](),_0x233909[_0x2bdea6(0x1ca)]>0x0&&_0x38457c[_0x2bdea6(0x16a)](_0x233909),_0x38457c['on'](_0x2bdea6(0x149),_0x3b7476),_0x38457c['on'](_0x2bdea6(0x11e),_0x52e978),_0x38457c['on'](_0x2bdea6(0x195),_0x596718),_0x38457c['on'](_0x2bdea6(0x93),_0x2080f8),this['_readyState']=_0x2c50a4[_0x2bdea6(0x1bb)],this[_0x2bdea6(0xed)](_0x2bdea6(0xac));}[_0x35fbf8(0x1a4)](){const _0x189973=_0x35fbf8;if(!this[_0x189973(0x191)]){this[_0x189973(0x106)]=_0x2c50a4['CLOSED'],this['emit']('close',this['_closeCode'],this[_0x189973(0x22d)]);return;}this[_0x189973(0xaf)][_0x148cd5[_0x189973(0x1a1)]]&&this[_0x189973(0xaf)][_0x148cd5[_0x189973(0x1a1)]][_0x189973(0xb4)](),this['_receiver']['removeAllListeners'](),this[_0x189973(0x106)]=_0x2c50a4[_0x189973(0x188)],this[_0x189973(0xed)]('close',this[_0x189973(0xb1)],this[_0x189973(0x22d)]);}[_0x35fbf8(0x149)](_0x4d480e,_0x5e2c14){const _0x57a15f=_0x35fbf8;if(this[_0x57a15f(0x196)]!==_0x2c50a4[_0x57a15f(0x188)]){if(this[_0x57a15f(0x196)]===_0x2c50a4[_0x57a15f(0x20c)]){_0x3b31f3(this,this[_0x57a15f(0x224)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x57a15f(0x196)]===_0x2c50a4[_0x57a15f(0x203)]){this[_0x57a15f(0x16e)]&&(this['_closeFrameReceived']||this[_0x57a15f(0x100)]['_writableState']['errorEmitted'])&&this[_0x57a15f(0x191)][_0x57a15f(0x195)]();return;}this[_0x57a15f(0x106)]=_0x2c50a4[_0x57a15f(0x203)],this[_0x57a15f(0xb7)]['close'](_0x4d480e,_0x5e2c14,!this['_isServer'],_0x3564f6=>{const _0x421c83=_0x57a15f;_0x3564f6||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x421c83(0x12b)][_0x421c83(0x99)])&&this[_0x421c83(0x191)][_0x421c83(0x195)]());}),_0x20f731(this);}}[_0x35fbf8(0x212)](){const _0x2dd069=_0x35fbf8;this[_0x2dd069(0x196)]===_0x2c50a4[_0x2dd069(0x20c)]||this[_0x2dd069(0x196)]===_0x2c50a4[_0x2dd069(0x188)]||(this['_paused']=!0x0,this[_0x2dd069(0x191)][_0x2dd069(0x212)]());}[_0x35fbf8(0x173)](_0x14d748,_0x34fec4,_0x248cfd){const _0x37e84a=_0x35fbf8;if(this['readyState']===_0x2c50a4[_0x37e84a(0x20c)])throw new Error(_0x37e84a(0x244));if(typeof _0x14d748==_0x37e84a(0x177)?(_0x248cfd=_0x14d748,_0x14d748=_0x34fec4=void 0x0):typeof _0x34fec4=='function'&&(_0x248cfd=_0x34fec4,_0x34fec4=void 0x0),typeof _0x14d748==_0x37e84a(0xd8)&&(_0x14d748=_0x14d748['toString']()),this[_0x37e84a(0x196)]!==_0x2c50a4[_0x37e84a(0x1bb)]){_0x4e9229(this,_0x14d748,_0x248cfd);return;}_0x34fec4===void 0x0&&(_0x34fec4=!this[_0x37e84a(0xf7)]),this[_0x37e84a(0xb7)][_0x37e84a(0x173)](_0x14d748||_0x52bd74,_0x34fec4,_0x248cfd);}[_0x35fbf8(0x1d0)](_0x47792f,_0x54929d,_0x14ccce){const _0x57d9f4=_0x35fbf8;if(this[_0x57d9f4(0x196)]===_0x2c50a4[_0x57d9f4(0x20c)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x47792f=='function'?(_0x14ccce=_0x47792f,_0x47792f=_0x54929d=void 0x0):typeof _0x54929d=='function'&&(_0x14ccce=_0x54929d,_0x54929d=void 0x0),typeof _0x47792f==_0x57d9f4(0xd8)&&(_0x47792f=_0x47792f[_0x57d9f4(0xfc)]()),this[_0x57d9f4(0x196)]!==_0x2c50a4['OPEN']){_0x4e9229(this,_0x47792f,_0x14ccce);return;}_0x54929d===void 0x0&&(_0x54929d=!this[_0x57d9f4(0xf7)]),this[_0x57d9f4(0xb7)][_0x57d9f4(0x1d0)](_0x47792f||_0x52bd74,_0x54929d,_0x14ccce);}[_0x35fbf8(0x1d8)](){const _0x2104d6=_0x35fbf8;this['readyState']===_0x2c50a4[_0x2104d6(0x20c)]||this[_0x2104d6(0x196)]===_0x2c50a4[_0x2104d6(0x188)]||(this['_paused']=!0x1,this[_0x2104d6(0x100)][_0x2104d6(0x12b)]['needDrain']||this[_0x2104d6(0x191)]['resume']());}[_0x35fbf8(0x202)](_0x5eedd6,_0x382658,_0x51031f){const _0x79d07d=_0x35fbf8;if(this[_0x79d07d(0x196)]===_0x2c50a4[_0x79d07d(0x20c)])throw new Error(_0x79d07d(0x244));if(typeof _0x382658=='function'&&(_0x51031f=_0x382658,_0x382658={}),typeof _0x5eedd6==_0x79d07d(0xd8)&&(_0x5eedd6=_0x5eedd6[_0x79d07d(0xfc)]()),this[_0x79d07d(0x196)]!==_0x2c50a4[_0x79d07d(0x1bb)]){_0x4e9229(this,_0x5eedd6,_0x51031f);return;}const _0xf89797={'binary':typeof _0x5eedd6!=_0x79d07d(0x117),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x382658};this[_0x79d07d(0xaf)][_0x148cd5[_0x79d07d(0x1a1)]]||(_0xf89797[_0x79d07d(0xc6)]=!0x1),this['_sender'][_0x79d07d(0x202)](_0x5eedd6||_0x52bd74,_0xf89797,_0x51031f);}[_0x35fbf8(0x198)](){const _0x2086ed=_0x35fbf8;if(this[_0x2086ed(0x196)]!==_0x2c50a4[_0x2086ed(0x188)]){if(this['readyState']===_0x2c50a4[_0x2086ed(0x20c)]){_0x3b31f3(this,this['_req'],_0x2086ed(0x143));return;}this[_0x2086ed(0x191)]&&(this[_0x2086ed(0x106)]=_0x2c50a4[_0x2086ed(0x203)],this[_0x2086ed(0x191)][_0x2086ed(0x1b6)]());}}}Object['defineProperty'](_0x2c50a4,'CONNECTING',{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x20c))}),Object[_0x35fbf8(0x223)](_0x2c50a4[_0x35fbf8(0x17c)],_0x35fbf8(0x20c),{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x20c))}),Object['defineProperty'](_0x2c50a4,'OPEN',{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x1bb))}),Object['defineProperty'](_0x2c50a4[_0x35fbf8(0x17c)],'OPEN',{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x1bb))}),Object[_0x35fbf8(0x223)](_0x2c50a4,_0x35fbf8(0x203),{'enumerable':!0x0,'value':_0x3f5be3['indexOf'](_0x35fbf8(0x203))}),Object[_0x35fbf8(0x223)](_0x2c50a4[_0x35fbf8(0x17c)],'CLOSING',{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)]('CLOSING')}),Object[_0x35fbf8(0x223)](_0x2c50a4,_0x35fbf8(0x188),{'enumerable':!0x0,'value':_0x3f5be3['indexOf'](_0x35fbf8(0x188))}),Object[_0x35fbf8(0x223)](_0x2c50a4[_0x35fbf8(0x17c)],_0x35fbf8(0x188),{'enumerable':!0x0,'value':_0x3f5be3[_0x35fbf8(0x1e3)](_0x35fbf8(0x188))}),['binaryType','bufferedAmount',_0x35fbf8(0x13b),_0x35fbf8(0x190),_0x35fbf8(0x1dd),'readyState','url'][_0x35fbf8(0x9c)](_0x29a841=>{const _0x4e2abb=_0x35fbf8;Object[_0x4e2abb(0x223)](_0x2c50a4[_0x4e2abb(0x17c)],_0x29a841,{'enumerable':!0x0});}),[_0x35fbf8(0xac),_0x35fbf8(0x93),_0x35fbf8(0x149),'message'][_0x35fbf8(0x9c)](_0xd31792=>{const _0x4f5163=_0x35fbf8;Object[_0x4f5163(0x223)](_0x2c50a4[_0x4f5163(0x17c)],'on'+_0xd31792,{'enumerable':!0x0,'get'(){for(const _0x1f65c3 of this['listeners'](_0xd31792))if(_0x1f65c3[_0xd77ff1])return _0x1f65c3[_0x409b5f];return null;},'set'(_0x22f5cb){const _0x297b79=_0x4f5163;for(const _0x1c26dc of this['listeners'](_0xd31792))if(_0x1c26dc[_0xd77ff1]){this[_0x297b79(0x14b)](_0xd31792,_0x1c26dc);break;}typeof _0x22f5cb==_0x297b79(0x177)&&this[_0x297b79(0x1a6)](_0xd31792,_0x22f5cb,{[_0xd77ff1]:!0x0});}});}),_0x2c50a4[_0x35fbf8(0x17c)][_0x35fbf8(0x1a6)]=_0x8461a8,_0x2c50a4[_0x35fbf8(0x17c)][_0x35fbf8(0x156)]=_0x225324,we=_0x2c50a4;function _0x140810(_0xd20bd6,_0x3ea630,_0x360f38,_0x209d9f){const _0x5ac7bc=_0x35fbf8,_0x4ea7d0={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x12107c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x209d9f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5ac7bc(0x1c9),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xd20bd6[_0x5ac7bc(0x197)]=_0x4ea7d0[_0x5ac7bc(0x1d3)],!_0x12107c['includes'](_0x4ea7d0[_0x5ac7bc(0xe8)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4ea7d0[_0x5ac7bc(0xe8)]+_0x5ac7bc(0x1fb)+_0x12107c['join'](',\x20')+')');let _0x104713;if(_0x3ea630 instanceof _0x4d4b30)_0x104713=_0x3ea630;else try{_0x104713=new _0x4d4b30(_0x3ea630);}catch{throw new SyntaxError(_0x5ac7bc(0x1c1)+_0x3ea630);}_0x104713['protocol']===_0x5ac7bc(0xad)?_0x104713[_0x5ac7bc(0x1dd)]=_0x5ac7bc(0x18e):_0x104713[_0x5ac7bc(0x1dd)]==='https:'&&(_0x104713[_0x5ac7bc(0x1dd)]=_0x5ac7bc(0xe5)),_0xd20bd6[_0x5ac7bc(0xc7)]=_0x104713['href'];const _0x232fb7=_0x104713[_0x5ac7bc(0x1dd)]===_0x5ac7bc(0xe5),_0x258e83=_0x104713[_0x5ac7bc(0x1dd)]===_0x5ac7bc(0x1dc);let _0x450beb;if(_0x104713[_0x5ac7bc(0x1dd)]!==_0x5ac7bc(0x18e)&&!_0x232fb7&&!_0x258e83?_0x450beb=_0x5ac7bc(0x167):_0x258e83&&!_0x104713['pathname']?_0x450beb='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x104713[_0x5ac7bc(0xf2)]&&(_0x450beb=_0x5ac7bc(0x1e8)),_0x450beb){const _0x55889d=new SyntaxError(_0x450beb);if(_0xd20bd6[_0x5ac7bc(0x21d)]===0x0)throw _0x55889d;_0x3b6277(_0xd20bd6,_0x55889d);return;}const _0x4a857e=_0x232fb7?0x1bb:0x50,_0x509aa6=_0x14b0ba(0x10)['toString'](_0x5ac7bc(0x20e)),_0x280fac=_0x232fb7?_0x2700b0[_0x5ac7bc(0x239)]:_0x59a3af[_0x5ac7bc(0x239)],_0x1224c9=new Set();let _0x3785e5;if(_0x4ea7d0['createConnection']=_0x4ea7d0[_0x5ac7bc(0xf3)]||(_0x232fb7?_0x591193:_0x2bfcca),_0x4ea7d0[_0x5ac7bc(0x110)]=_0x4ea7d0[_0x5ac7bc(0x110)]||_0x4a857e,_0x4ea7d0[_0x5ac7bc(0xb5)]=_0x104713[_0x5ac7bc(0xb5)]||_0x4a857e,_0x4ea7d0[_0x5ac7bc(0x248)]=_0x104713[_0x5ac7bc(0x215)]['startsWith']('[')?_0x104713[_0x5ac7bc(0x215)][_0x5ac7bc(0xbc)](0x1,-0x1):_0x104713[_0x5ac7bc(0x215)],_0x4ea7d0[_0x5ac7bc(0x238)]={..._0x4ea7d0[_0x5ac7bc(0x238)],'Sec-WebSocket-Version':_0x4ea7d0[_0x5ac7bc(0xe8)],'Sec-WebSocket-Key':_0x509aa6,'Connection':'Upgrade','Upgrade':'websocket'},_0x4ea7d0[_0x5ac7bc(0x1a8)]=_0x104713[_0x5ac7bc(0x185)]+_0x104713[_0x5ac7bc(0x10d)],_0x4ea7d0['timeout']=_0x4ea7d0[_0x5ac7bc(0x102)],_0x4ea7d0[_0x5ac7bc(0x178)]&&(_0x3785e5=new _0x148cd5(_0x4ea7d0[_0x5ac7bc(0x178)]!==!0x0?_0x4ea7d0[_0x5ac7bc(0x178)]:{},!0x1,_0x4ea7d0[_0x5ac7bc(0x243)]),_0x4ea7d0['headers'][_0x5ac7bc(0x9b)]=_0x2bbba2({[_0x148cd5[_0x5ac7bc(0x1a1)]]:_0x3785e5['offer']()})),_0x360f38[_0x5ac7bc(0x1ca)]){for(const _0x301660 of _0x360f38){if(typeof _0x301660!=_0x5ac7bc(0x117)||!_0x2d6380['test'](_0x301660)||_0x1224c9['has'](_0x301660))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x1224c9[_0x5ac7bc(0x1f4)](_0x301660);}_0x4ea7d0[_0x5ac7bc(0x238)][_0x5ac7bc(0x172)]=_0x360f38[_0x5ac7bc(0x22c)](',');}if(_0x4ea7d0[_0x5ac7bc(0x137)]&&(_0x4ea7d0[_0x5ac7bc(0xe8)]<0xd?_0x4ea7d0[_0x5ac7bc(0x238)][_0x5ac7bc(0x1f0)]=_0x4ea7d0['origin']:_0x4ea7d0[_0x5ac7bc(0x238)][_0x5ac7bc(0x235)]=_0x4ea7d0['origin']),(_0x104713[_0x5ac7bc(0x18c)]||_0x104713['password'])&&(_0x4ea7d0['auth']=_0x104713[_0x5ac7bc(0x18c)]+':'+_0x104713[_0x5ac7bc(0xef)]),_0x258e83){const _0x31cc37=_0x4ea7d0[_0x5ac7bc(0x1a8)][_0x5ac7bc(0x170)](':');_0x4ea7d0['socketPath']=_0x31cc37[0x0],_0x4ea7d0[_0x5ac7bc(0x1a8)]=_0x31cc37[0x1];}let _0x5b7497;if(_0x4ea7d0[_0x5ac7bc(0x108)]){if(_0xd20bd6[_0x5ac7bc(0x21d)]===0x0){_0xd20bd6['_originalIpc']=_0x258e83,_0xd20bd6[_0x5ac7bc(0x168)]=_0x232fb7,_0xd20bd6[_0x5ac7bc(0x1af)]=_0x258e83?_0x4ea7d0['socketPath']:_0x104713['host'];const _0x161be5=_0x209d9f&&_0x209d9f[_0x5ac7bc(0x238)];if(_0x209d9f={..._0x209d9f,'headers':{}},_0x161be5){for(const [_0x36937f,_0x14bb3f]of Object['entries'](_0x161be5))_0x209d9f[_0x5ac7bc(0x238)][_0x36937f[_0x5ac7bc(0x220)]()]=_0x14bb3f;}}else{if(_0xd20bd6[_0x5ac7bc(0xe2)](_0x5ac7bc(0xca))===0x0){const _0x12ce5f=_0x258e83?_0xd20bd6['_originalIpc']?_0x4ea7d0[_0x5ac7bc(0xdc)]===_0xd20bd6[_0x5ac7bc(0x1af)]:!0x1:_0xd20bd6[_0x5ac7bc(0xc4)]?!0x1:_0x104713['host']===_0xd20bd6[_0x5ac7bc(0x1af)];(!_0x12ce5f||_0xd20bd6[_0x5ac7bc(0x168)]&&!_0x232fb7)&&(delete _0x4ea7d0[_0x5ac7bc(0x238)]['authorization'],delete _0x4ea7d0[_0x5ac7bc(0x238)][_0x5ac7bc(0x15b)],_0x12ce5f||delete _0x4ea7d0[_0x5ac7bc(0x238)]['host'],_0x4ea7d0[_0x5ac7bc(0x179)]=void 0x0);}}_0x4ea7d0['auth']&&!_0x209d9f[_0x5ac7bc(0x238)][_0x5ac7bc(0x15d)]&&(_0x209d9f[_0x5ac7bc(0x238)]['authorization']=_0x5ac7bc(0x160)+Buffer['from'](_0x4ea7d0['auth'])[_0x5ac7bc(0xfc)](_0x5ac7bc(0x20e))),_0x5b7497=_0xd20bd6[_0x5ac7bc(0x224)]=_0x280fac(_0x4ea7d0),_0xd20bd6[_0x5ac7bc(0x21d)]&&_0xd20bd6[_0x5ac7bc(0xed)](_0x5ac7bc(0xca),_0xd20bd6[_0x5ac7bc(0x1c8)],_0x5b7497);}else _0x5b7497=_0xd20bd6[_0x5ac7bc(0x224)]=_0x280fac(_0x4ea7d0);_0x4ea7d0[_0x5ac7bc(0xf5)]&&_0x5b7497['on']('timeout',()=>{const _0x98b9c7=_0x5ac7bc;_0x3b31f3(_0xd20bd6,_0x5b7497,_0x98b9c7(0x1bf));}),_0x5b7497['on']('error',_0x39b66f=>{_0x5b7497===null||_0x5b7497[_0x4b9ad6]||(_0x5b7497=_0xd20bd6['_req']=null,_0x3b6277(_0xd20bd6,_0x39b66f));}),_0x5b7497['on'](_0x5ac7bc(0x246),_0x15dc71=>{const _0x3efcb8=_0x5ac7bc,_0xb82af4=_0x15dc71[_0x3efcb8(0x238)][_0x3efcb8(0x1ec)],_0x1aca52=_0x15dc71[_0x3efcb8(0x150)];if(_0xb82af4&&_0x4ea7d0[_0x3efcb8(0x108)]&&_0x1aca52>=0x12c&&_0x1aca52<0x190){if(++_0xd20bd6[_0x3efcb8(0x21d)]>_0x4ea7d0[_0x3efcb8(0x13c)]){_0x3b31f3(_0xd20bd6,_0x5b7497,_0x3efcb8(0x1aa));return;}_0x5b7497[_0x3efcb8(0xd5)]();let _0x353977;try{_0x353977=new _0x4d4b30(_0xb82af4,_0x3ea630);}catch{const _0x4fd9ed=new SyntaxError('Invalid\x20URL:\x20'+_0xb82af4);_0x3b6277(_0xd20bd6,_0x4fd9ed);return;}_0x140810(_0xd20bd6,_0x353977,_0x360f38,_0x209d9f);}else _0xd20bd6['emit'](_0x3efcb8(0x14a),_0x5b7497,_0x15dc71)||_0x3b31f3(_0xd20bd6,_0x5b7497,_0x3efcb8(0x1b8)+_0x15dc71['statusCode']);}),_0x5b7497['on']('upgrade',(_0x11dacf,_0x228ce6,_0x3374ad)=>{const _0x4791f3=_0x5ac7bc;if(_0xd20bd6[_0x4791f3(0xed)](_0x4791f3(0x1d7),_0x11dacf),_0xd20bd6[_0x4791f3(0x196)]!==_0x2c50a4[_0x4791f3(0x20c)])return;_0x5b7497=_0xd20bd6[_0x4791f3(0x224)]=null;const _0x1c4c7c=_0x11dacf[_0x4791f3(0x238)][_0x4791f3(0x1d7)];if(_0x1c4c7c===void 0x0||_0x1c4c7c[_0x4791f3(0x220)]()!==_0x4791f3(0x233)){_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0xc5));return;}const _0x38124b=_0xe5c70(_0x4791f3(0xee))['update'](_0x509aa6+_0x276f70)[_0x4791f3(0x1ee)](_0x4791f3(0x20e));if(_0x11dacf[_0x4791f3(0x238)][_0x4791f3(0x20b)]!==_0x38124b){_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0x1de));return;}const _0x1ffb84=_0x11dacf[_0x4791f3(0x238)][_0x4791f3(0x121)];let _0xb034e3;if(_0x1ffb84!==void 0x0?_0x1224c9[_0x4791f3(0x153)]?_0x1224c9[_0x4791f3(0xfd)](_0x1ffb84)||(_0xb034e3=_0x4791f3(0x22a)):_0xb034e3=_0x4791f3(0x225):_0x1224c9[_0x4791f3(0x153)]&&(_0xb034e3=_0x4791f3(0xdf)),_0xb034e3){_0x3b31f3(_0xd20bd6,_0x228ce6,_0xb034e3);return;}_0x1ffb84&&(_0xd20bd6[_0x4791f3(0xbb)]=_0x1ffb84);const _0x1a7033=_0x11dacf['headers'][_0x4791f3(0x128)];if(_0x1a7033!==void 0x0){if(!_0x3785e5){_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0xdb));return;}let _0xc00f7c;try{_0xc00f7c=_0xd33150(_0x1a7033);}catch{_0x3b31f3(_0xd20bd6,_0x228ce6,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x41b588=Object['keys'](_0xc00f7c);if(_0x41b588[_0x4791f3(0x1ca)]!==0x1||_0x41b588[0x0]!==_0x148cd5[_0x4791f3(0x1a1)]){_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0x204));return;}try{_0x3785e5[_0x4791f3(0x237)](_0xc00f7c[_0x148cd5['extensionName']]);}catch{_0x3b31f3(_0xd20bd6,_0x228ce6,_0x4791f3(0x114));return;}_0xd20bd6[_0x4791f3(0xaf)][_0x148cd5[_0x4791f3(0x1a1)]]=_0x3785e5;}_0xd20bd6[_0x4791f3(0x18a)](_0x228ce6,_0x3374ad,{'allowSynchronousEvents':_0x4ea7d0[_0x4791f3(0x1ac)],'generateMask':_0x4ea7d0[_0x4791f3(0x199)],'maxPayload':_0x4ea7d0[_0x4791f3(0x243)],'skipUTF8Validation':_0x4ea7d0[_0x4791f3(0xcd)]});}),_0x4ea7d0['finishRequest']?_0x4ea7d0[_0x5ac7bc(0x15c)](_0x5b7497,_0xd20bd6):_0x5b7497['end']();}function _0x3b6277(_0x1a6878,_0x39c7c6){const _0x38fe46=_0x35fbf8;_0x1a6878[_0x38fe46(0x106)]=_0x2c50a4['CLOSING'],_0x1a6878[_0x38fe46(0xea)]=!0x0,_0x1a6878[_0x38fe46(0xed)](_0x38fe46(0x93),_0x39c7c6),_0x1a6878[_0x38fe46(0x1a4)]();}function _0x2bfcca(_0x123d94){const _0x1c7b19=_0x35fbf8;return _0x123d94['path']=_0x123d94[_0x1c7b19(0xdc)],_0x2ca9bf[_0x1c7b19(0xce)](_0x123d94);}function _0x591193(_0x53fb8f){const _0x503a1a=_0x35fbf8;return _0x53fb8f['path']=void 0x0,!_0x53fb8f[_0x503a1a(0x1d1)]&&_0x53fb8f[_0x503a1a(0x1d1)]!==''&&(_0x53fb8f[_0x503a1a(0x1d1)]=_0x2ca9bf[_0x503a1a(0x126)](_0x53fb8f[_0x503a1a(0x248)])?'':_0x53fb8f[_0x503a1a(0x248)]),_0x1fa1cf[_0x503a1a(0xce)](_0x53fb8f);}function _0x3b31f3(_0xc4dbb6,_0x433fdb,_0x482a4e){const _0x3a072b=_0x35fbf8;_0xc4dbb6[_0x3a072b(0x106)]=_0x2c50a4[_0x3a072b(0x203)];const _0x2c55a4=new Error(_0x482a4e);Error[_0x3a072b(0x22e)](_0x2c55a4,_0x3b31f3),_0x433fdb['setHeader']?(_0x433fdb[_0x4b9ad6]=!0x0,_0x433fdb[_0x3a072b(0xd5)](),_0x433fdb[_0x3a072b(0x1f6)]&&!_0x433fdb[_0x3a072b(0x1f6)][_0x3a072b(0x218)]&&_0x433fdb[_0x3a072b(0x1f6)][_0x3a072b(0x1b6)](),process['nextTick'](_0x3b6277,_0xc4dbb6,_0x2c55a4)):(_0x433fdb[_0x3a072b(0x1b6)](_0x2c55a4),_0x433fdb['once'](_0x3a072b(0x93),_0xc4dbb6[_0x3a072b(0xed)][_0x3a072b(0x240)](_0xc4dbb6,_0x3a072b(0x93))),_0x433fdb[_0x3a072b(0x17f)]('close',_0xc4dbb6[_0x3a072b(0x1a4)][_0x3a072b(0x240)](_0xc4dbb6)));}function _0x4e9229(_0x273a9c,_0x23716a,_0x3140ce){const _0x16c94c=_0x35fbf8;if(_0x23716a){const _0x36bf1b=_0x711327(_0x23716a)?_0x23716a[_0x16c94c(0x153)]:_0x375cd(_0x23716a)[_0x16c94c(0x1ca)];_0x273a9c[_0x16c94c(0x191)]?_0x273a9c[_0x16c94c(0xb7)][_0x16c94c(0x10e)]+=_0x36bf1b:_0x273a9c['_bufferedAmount']+=_0x36bf1b;}if(_0x3140ce){const _0x2769ea=new Error(_0x16c94c(0x222)+_0x273a9c[_0x16c94c(0x196)]+'\x20('+_0x3f5be3[_0x273a9c[_0x16c94c(0x196)]]+')');process[_0x16c94c(0x242)](_0x3140ce,_0x2769ea);}}function _0x36a3cd(_0x47c4b1,_0x75826f){const _0x3748a2=_0x35fbf8,_0x3903af=this[_0xdbccc1];_0x3903af[_0x3748a2(0x207)]=!0x0,_0x3903af['_closeMessage']=_0x75826f,_0x3903af[_0x3748a2(0xb1)]=_0x47c4b1,_0x3903af[_0x3748a2(0x191)][_0xdbccc1]!==void 0x0&&(_0x3903af[_0x3748a2(0x191)][_0x3748a2(0x14b)](_0x3748a2(0x11e),_0x52e978),process[_0x3748a2(0x242)](_0x3c33a0,_0x3903af[_0x3748a2(0x191)]),_0x47c4b1===0x3ed?_0x3903af[_0x3748a2(0x149)]():_0x3903af[_0x3748a2(0x149)](_0x47c4b1,_0x75826f));}function _0x574fef(){const _0xd973af=_0x35fbf8,_0x64113b=this[_0xdbccc1];_0x64113b[_0xd973af(0x190)]||_0x64113b[_0xd973af(0x191)][_0xd973af(0x1d8)]();}function _0x2488da(_0x14414a){const _0x5f68d=_0x35fbf8,_0x2009ec=this[_0xdbccc1];_0x2009ec['_socket'][_0xdbccc1]!==void 0x0&&(_0x2009ec[_0x5f68d(0x191)]['removeListener']('data',_0x52e978),process['nextTick'](_0x3c33a0,_0x2009ec[_0x5f68d(0x191)]),_0x2009ec[_0x5f68d(0x149)](_0x14414a[_0x2aa74a])),_0x2009ec['_errorEmitted']||(_0x2009ec[_0x5f68d(0xea)]=!0x0,_0x2009ec[_0x5f68d(0xed)](_0x5f68d(0x93),_0x14414a));}function _0x4d8d07(){this[_0xdbccc1]['emitClose']();}function _0x309f16(_0x4aa776,_0x128ac3){const _0x13a8fa=_0x35fbf8;this[_0xdbccc1][_0x13a8fa(0xed)](_0x13a8fa(0x1d5),_0x4aa776,_0x128ac3);}function _0x54258e(_0x4d2c39){const _0x21fc49=_0x35fbf8,_0x3e1a30=this[_0xdbccc1];_0x3e1a30[_0x21fc49(0x197)]&&_0x3e1a30[_0x21fc49(0x1d0)](_0x4d2c39,!this[_0x21fc49(0xf7)],_0x4e793e),_0x3e1a30['emit'](_0x21fc49(0x173),_0x4d2c39);}function _0x555efe(_0x7e5b2b){const _0x4525e4=_0x35fbf8;this[_0xdbccc1][_0x4525e4(0xed)](_0x4525e4(0x1d0),_0x7e5b2b);}function _0x3c33a0(_0x513687){_0x513687['resume']();}function _0x156656(_0x3e20aa){const _0x40732d=_0x35fbf8,_0x25e017=this[_0xdbccc1];_0x25e017[_0x40732d(0x196)]!==_0x2c50a4[_0x40732d(0x188)]&&(_0x25e017[_0x40732d(0x196)]===_0x2c50a4[_0x40732d(0x1bb)]&&(_0x25e017['_readyState']=_0x2c50a4['CLOSING'],_0x20f731(_0x25e017)),this[_0x40732d(0x191)][_0x40732d(0x195)](),_0x25e017[_0x40732d(0xea)]||(_0x25e017[_0x40732d(0xea)]=!0x0,_0x25e017[_0x40732d(0xed)](_0x40732d(0x93),_0x3e20aa)));}function _0x20f731(_0x3f37da){const _0x12f9fd=_0x35fbf8;_0x3f37da[_0x12f9fd(0x1c7)]=setTimeout(_0x3f37da['_socket'][_0x12f9fd(0x1b6)][_0x12f9fd(0x240)](_0x3f37da[_0x12f9fd(0x191)]),_0x1f2480);}function _0x3b7476(){const _0x15782d=_0x35fbf8,_0x59343c=this[_0xdbccc1];this['removeListener'](_0x15782d(0x149),_0x3b7476),this[_0x15782d(0x14b)](_0x15782d(0x11e),_0x52e978),this[_0x15782d(0x14b)](_0x15782d(0x195),_0x596718),_0x59343c['_readyState']=_0x2c50a4[_0x15782d(0x203)];let _0x59578c;!this[_0x15782d(0x10c)][_0x15782d(0x11f)]&&!_0x59343c['_closeFrameReceived']&&!_0x59343c[_0x15782d(0x100)]['_writableState'][_0x15782d(0x99)]&&(_0x59578c=_0x59343c[_0x15782d(0x191)][_0x15782d(0x23f)]())!==null&&_0x59343c['_receiver']['write'](_0x59578c),_0x59343c[_0x15782d(0x100)][_0x15782d(0x195)](),this[_0xdbccc1]=void 0x0,clearTimeout(_0x59343c['_closeTimer']),_0x59343c[_0x15782d(0x100)][_0x15782d(0x12b)]['finished']||_0x59343c[_0x15782d(0x100)][_0x15782d(0x12b)]['errorEmitted']?_0x59343c[_0x15782d(0x1a4)]():(_0x59343c['_receiver']['on']('error',_0x4d8d07),_0x59343c[_0x15782d(0x100)]['on'](_0x15782d(0x174),_0x4d8d07));}function _0x52e978(_0x3b0894){const _0x3a04a4=_0x35fbf8;this[_0xdbccc1][_0x3a04a4(0x100)][_0x3a04a4(0x1cb)](_0x3b0894)||this['pause']();}function _0x596718(){const _0x48b15f=_0x35fbf8,_0x1c3f19=this[_0xdbccc1];_0x1c3f19[_0x48b15f(0x106)]=_0x2c50a4[_0x48b15f(0x203)],_0x1c3f19['_receiver'][_0x48b15f(0x195)](),this[_0x48b15f(0x195)]();}function _0x2080f8(){const _0x521126=_0x35fbf8,_0x4f1db1=this[_0xdbccc1];this[_0x521126(0x14b)](_0x521126(0x93),_0x2080f8),this['on']('error',_0x4e793e),_0x4f1db1&&(_0x4f1db1['_readyState']=_0x2c50a4[_0x521126(0x203)],this[_0x521126(0x1b6)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xa7ad7b}=_0x566c0f;function _0x3b1d02(_0x851925){const _0x1d625b=_0x1faa;_0x851925[_0x1d625b(0xed)]('close');}function _0x468601(){const _0x549bb8=_0x1faa;!this[_0x549bb8(0x218)]&&this['_writableState']['finished']&&this[_0x549bb8(0x1b6)]();}function _0x3f8d9b(_0x3355d7){const _0x1ecc40=_0x1faa;this['removeListener'](_0x1ecc40(0x93),_0x3f8d9b),this['destroy'](),this[_0x1ecc40(0xe2)]('error')===0x0&&this[_0x1ecc40(0xed)](_0x1ecc40(0x93),_0x3355d7);}function _0x4cb6f3(_0x4b3af7,_0x5ee2e3){const _0x3e455b=_0x1faa;let _0x265ec4=!0x0;const _0x14cc46=new _0xa7ad7b({..._0x5ee2e3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4b3af7['on']('message',function(_0xb7201e,_0x4cca3c){const _0x513f6e=_0x1faa,_0x524983=!_0x4cca3c&&_0x14cc46['_readableState'][_0x513f6e(0x236)]?_0xb7201e['toString']():_0xb7201e;_0x14cc46[_0x513f6e(0xeb)](_0x524983)||_0x4b3af7[_0x513f6e(0x212)]();}),_0x4b3af7[_0x3e455b(0x17f)](_0x3e455b(0x93),function(_0x29a21f){const _0x26fe29=_0x3e455b;_0x14cc46['destroyed']||(_0x265ec4=!0x1,_0x14cc46[_0x26fe29(0x1b6)](_0x29a21f));}),_0x4b3af7['once']('close',function(){const _0x33998c=_0x3e455b;_0x14cc46[_0x33998c(0x218)]||_0x14cc46[_0x33998c(0xeb)](null);}),_0x14cc46[_0x3e455b(0x135)]=function(_0x2304de,_0x2adf36){const _0x5e826c=_0x3e455b;if(_0x4b3af7[_0x5e826c(0x196)]===_0x4b3af7['CLOSED']){_0x2adf36(_0x2304de),process[_0x5e826c(0x242)](_0x3b1d02,_0x14cc46);return;}let _0x557a7a=!0x1;_0x4b3af7[_0x5e826c(0x17f)](_0x5e826c(0x93),function(_0x1fdcc8){_0x557a7a=!0x0,_0x2adf36(_0x1fdcc8);}),_0x4b3af7['once']('close',function(){const _0x4affc8=_0x5e826c;_0x557a7a||_0x2adf36(_0x2304de),process[_0x4affc8(0x242)](_0x3b1d02,_0x14cc46);}),_0x265ec4&&_0x4b3af7[_0x5e826c(0x198)]();},_0x14cc46['_final']=function(_0x4cf8a2){const _0x313e19=_0x3e455b;if(_0x4b3af7['readyState']===_0x4b3af7['CONNECTING']){_0x4b3af7['once'](_0x313e19(0xac),function(){const _0x151cda=_0x313e19;_0x14cc46[_0x151cda(0x112)](_0x4cf8a2);});return;}_0x4b3af7[_0x313e19(0x191)]!==null&&(_0x4b3af7['_socket'][_0x313e19(0x12b)][_0x313e19(0x1a3)]?(_0x4cf8a2(),_0x14cc46[_0x313e19(0x10c)][_0x313e19(0x11f)]&&_0x14cc46[_0x313e19(0x1b6)]()):(_0x4b3af7[_0x313e19(0x191)]['once']('finish',function(){_0x4cf8a2();}),_0x4b3af7['close']()));},_0x14cc46[_0x3e455b(0x205)]=function(){const _0x3d7498=_0x3e455b;_0x4b3af7[_0x3d7498(0x190)]&&_0x4b3af7['resume']();},_0x14cc46[_0x3e455b(0x1db)]=function(_0x58cf66,_0x280797,_0xc15463){const _0x18dfeb=_0x3e455b;if(_0x4b3af7[_0x18dfeb(0x196)]===_0x4b3af7[_0x18dfeb(0x20c)]){_0x4b3af7[_0x18dfeb(0x17f)](_0x18dfeb(0xac),function(){const _0x13df30=_0x18dfeb;_0x14cc46[_0x13df30(0x1db)](_0x58cf66,_0x280797,_0xc15463);});return;}_0x4b3af7[_0x18dfeb(0x202)](_0x58cf66,_0xc15463);},_0x14cc46['on'](_0x3e455b(0x195),_0x468601),_0x14cc46['on'](_0x3e455b(0x93),_0x3f8d9b),_0x14cc46;}return Oe=_0x4cb6f3,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1ad977}=ne();function _0x3deebc(_0x552871){const _0x12a4fc=_0x1faa,_0x47dd9b=new Set();let _0x4f7a03=-0x1,_0x521b7e=-0x1,_0x1000f8=0x0;for(_0x1000f8;_0x1000f8<_0x552871[_0x12a4fc(0x1ca)];_0x1000f8++){const _0x2f5516=_0x552871[_0x12a4fc(0x12e)](_0x1000f8);if(_0x521b7e===-0x1&&_0x1ad977[_0x2f5516]===0x1)_0x4f7a03===-0x1&&(_0x4f7a03=_0x1000f8);else{if(_0x1000f8!==0x0&&(_0x2f5516===0x20||_0x2f5516===0x9))_0x521b7e===-0x1&&_0x4f7a03!==-0x1&&(_0x521b7e=_0x1000f8);else{if(_0x2f5516===0x2c){if(_0x4f7a03===-0x1)throw new SyntaxError(_0x12a4fc(0x18d)+_0x1000f8);_0x521b7e===-0x1&&(_0x521b7e=_0x1000f8);const _0xc21708=_0x552871['slice'](_0x4f7a03,_0x521b7e);if(_0x47dd9b[_0x12a4fc(0xfd)](_0xc21708))throw new SyntaxError(_0x12a4fc(0x249)+_0xc21708+_0x12a4fc(0x1e5));_0x47dd9b[_0x12a4fc(0x1f4)](_0xc21708),_0x4f7a03=_0x521b7e=-0x1;}else throw new SyntaxError(_0x12a4fc(0x18d)+_0x1000f8);}}}if(_0x4f7a03===-0x1||_0x521b7e!==-0x1)throw new SyntaxError(_0x12a4fc(0x10f));const _0x38bafc=_0x552871[_0x12a4fc(0xbc)](_0x4f7a03,_0x1000f8);if(_0x47dd9b['has'](_0x38bafc))throw new SyntaxError(_0x12a4fc(0x249)+_0x38bafc+_0x12a4fc(0x1e5));return _0x47dd9b[_0x12a4fc(0x1f4)](_0x38bafc),_0x47dd9b;}return Ce={'parse':_0x3deebc},Ce;}var Te,ot;function er(){const _0x4b00e4=_0xa7a424;if(ot)return Te;ot=0x1;const _0x4e4567=_0x3f7707,_0x2f6bc6=_0x215007,{Duplex:_0x359efe}=_0x566c0f,{createHash:_0x48e9b3}=_0x47cf61,_0x215d9f=pt(),_0x32b486=he(),_0xe0da39=Jt(),_0x5c17be=Ie(),{GUID:_0x5b94b4,kWebSocket:_0x3e4432}=V(),_0x4ddb82=/^[+/0-9A-Za-z]{22}==$/,_0x25090c=0x0,_0x4621be=0x1,_0x3fb519=0x2;class _0x25e497 extends _0x4e4567{constructor(_0x243b17,_0x1491a6){const _0x32cb72=_0x1faa;if(super(),_0x243b17={'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':_0x5c17be,..._0x243b17},_0x243b17[_0x32cb72(0xb5)]==null&&!_0x243b17[_0x32cb72(0x1c4)]&&!_0x243b17[_0x32cb72(0x181)]||_0x243b17['port']!=null&&(_0x243b17[_0x32cb72(0x1c4)]||_0x243b17[_0x32cb72(0x181)])||_0x243b17['server']&&_0x243b17['noServer'])throw new TypeError(_0x32cb72(0x120));if(_0x243b17[_0x32cb72(0xb5)]!=null?(this[_0x32cb72(0x94)]=_0x2f6bc6[_0x32cb72(0x228)]((_0x418947,_0x56f2b0)=>{const _0xdd4f9=_0x32cb72,_0x5199aa=_0x2f6bc6[_0xdd4f9(0xab)][0x1aa];_0x56f2b0[_0xdd4f9(0x9f)](0x1aa,{'Content-Length':_0x5199aa[_0xdd4f9(0x1ca)],'Content-Type':_0xdd4f9(0x1ba)}),_0x56f2b0[_0xdd4f9(0x195)](_0x5199aa);}),this[_0x32cb72(0x94)][_0x32cb72(0x140)](_0x243b17['port'],_0x243b17[_0x32cb72(0x248)],_0x243b17['backlog'],_0x1491a6)):_0x243b17['server']&&(this['_server']=_0x243b17['server']),this['_server']){const _0x4613a2=this['emit']['bind'](this,_0x32cb72(0x208));this[_0x32cb72(0x13e)]=_0x12a454(this['_server'],{'listening':this[_0x32cb72(0xed)]['bind'](this,_0x32cb72(0x1ad)),'error':this[_0x32cb72(0xed)][_0x32cb72(0x240)](this,_0x32cb72(0x93)),'upgrade':(_0x48cd1f,_0x3e236b,_0x575c07)=>{this['handleUpgrade'](_0x48cd1f,_0x3e236b,_0x575c07,_0x4613a2);}});}_0x243b17[_0x32cb72(0x178)]===!0x0&&(_0x243b17[_0x32cb72(0x178)]={}),_0x243b17[_0x32cb72(0xa1)]&&(this[_0x32cb72(0x247)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x32cb72(0xa6)]=_0x243b17,this[_0x32cb72(0xf6)]=_0x25090c;}[_0x4b00e4(0x14e)](){const _0x12f8b0=_0x4b00e4;if(this[_0x12f8b0(0xa6)][_0x12f8b0(0x181)])throw new Error(_0x12f8b0(0x1b2));return this[_0x12f8b0(0x94)]?this[_0x12f8b0(0x94)][_0x12f8b0(0x14e)]():null;}['close'](_0x409959){const _0x8828a8=_0x4b00e4;if(this[_0x8828a8(0xf6)]===_0x3fb519){_0x409959&&this[_0x8828a8(0x17f)]('close',()=>{const _0xbd1e5b=_0x8828a8;_0x409959(new Error(_0xbd1e5b(0x1fd)));}),process[_0x8828a8(0x242)](_0x559f3c,this);return;}if(_0x409959&&this['once'](_0x8828a8(0x149),_0x409959),this[_0x8828a8(0xf6)]!==_0x4621be){if(this[_0x8828a8(0xf6)]=_0x4621be,this['options'][_0x8828a8(0x181)]||this[_0x8828a8(0xa6)]['server'])this[_0x8828a8(0x94)]&&(this[_0x8828a8(0x13e)](),this['_removeListeners']=this['_server']=null),this[_0x8828a8(0x247)]?this[_0x8828a8(0x247)][_0x8828a8(0x153)]?this[_0x8828a8(0x17e)]=!0x0:process[_0x8828a8(0x242)](_0x559f3c,this):process[_0x8828a8(0x242)](_0x559f3c,this);else{const _0x3a640a=this['_server'];this[_0x8828a8(0x13e)](),this['_removeListeners']=this[_0x8828a8(0x94)]=null,_0x3a640a['close'](()=>{_0x559f3c(this);});}}}[_0x4b00e4(0x111)](_0x178036){const _0xf3b09b=_0x4b00e4;if(this[_0xf3b09b(0xa6)][_0xf3b09b(0x1a8)]){const _0x7464e3=_0x178036['url'][_0xf3b09b(0x1e3)]('?');if((_0x7464e3!==-0x1?_0x178036[_0xf3b09b(0x1c8)][_0xf3b09b(0xbc)](0x0,_0x7464e3):_0x178036[_0xf3b09b(0x1c8)])!==this[_0xf3b09b(0xa6)][_0xf3b09b(0x1a8)])return!0x1;}return!0x0;}[_0x4b00e4(0x21a)](_0x312ca1,_0x47627b,_0x5672e0,_0x243282){const _0x5ba6da=_0x4b00e4;_0x47627b['on']('error',_0xda9359);const _0x5818bf=_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0x24a)],_0x13d14f=_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0x1d7)],_0x12ba89=+_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0xda)];if(_0x312ca1['method']!==_0x5ba6da(0x1c9)){_0x4c0001(this,_0x312ca1,_0x47627b,0x195,_0x5ba6da(0x159));return;}if(_0x13d14f===void 0x0||_0x13d14f['toLowerCase']()!==_0x5ba6da(0x233)){_0x4c0001(this,_0x312ca1,_0x47627b,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5818bf===void 0x0||!_0x4ddb82[_0x5ba6da(0x96)](_0x5818bf)){_0x4c0001(this,_0x312ca1,_0x47627b,0x190,_0x5ba6da(0x1e0));return;}if(_0x12ba89!==0xd&&_0x12ba89!==0x8){_0x4c0001(this,_0x312ca1,_0x47627b,0x190,_0x5ba6da(0xbd),{'Sec-WebSocket-Version':_0x5ba6da(0x9a)});return;}if(!this[_0x5ba6da(0x111)](_0x312ca1)){_0x49d8f5(_0x47627b,0x190);return;}const _0x3f0b93=_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0x121)];let _0x491947=new Set();if(_0x3f0b93!==void 0x0)try{_0x491947=_0xe0da39[_0x5ba6da(0x166)](_0x3f0b93);}catch{_0x4c0001(this,_0x312ca1,_0x47627b,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x79a273=_0x312ca1[_0x5ba6da(0x238)][_0x5ba6da(0x128)],_0x3b4929={};if(this[_0x5ba6da(0xa6)][_0x5ba6da(0x178)]&&_0x79a273!==void 0x0){const _0x4a7bab=new _0x32b486(this['options']['perMessageDeflate'],!0x0,this[_0x5ba6da(0xa6)][_0x5ba6da(0x243)]);try{const _0x4d8415=_0x215d9f['parse'](_0x79a273);_0x4d8415[_0x32b486['extensionName']]&&(_0x4a7bab[_0x5ba6da(0x237)](_0x4d8415[_0x32b486['extensionName']]),_0x3b4929[_0x32b486[_0x5ba6da(0x1a1)]]=_0x4a7bab);}catch{_0x4c0001(this,_0x312ca1,_0x47627b,0x190,_0x5ba6da(0x221));return;}}if(this[_0x5ba6da(0xa6)]['verifyClient']){const _0x5856c4={'origin':_0x312ca1[_0x5ba6da(0x238)][''+(_0x12ba89===0x8?_0x5ba6da(0x1ff):_0x5ba6da(0x137))],'secure':!!(_0x312ca1[_0x5ba6da(0x1f6)][_0x5ba6da(0xe7)]||_0x312ca1[_0x5ba6da(0x1f6)][_0x5ba6da(0x19a)]),'req':_0x312ca1};if(this[_0x5ba6da(0xa6)][_0x5ba6da(0x157)][_0x5ba6da(0x1ca)]===0x2){this[_0x5ba6da(0xa6)]['verifyClient'](_0x5856c4,(_0x451efd,_0x362f00,_0x3252eb,_0x36fd10)=>{const _0x5b13eb=_0x5ba6da;if(!_0x451efd)return _0x49d8f5(_0x47627b,_0x362f00||0x191,_0x3252eb,_0x36fd10);this[_0x5b13eb(0xe1)](_0x3b4929,_0x5818bf,_0x491947,_0x312ca1,_0x47627b,_0x5672e0,_0x243282);});return;}if(!this['options'][_0x5ba6da(0x157)](_0x5856c4))return _0x49d8f5(_0x47627b,0x191);}this[_0x5ba6da(0xe1)](_0x3b4929,_0x5818bf,_0x491947,_0x312ca1,_0x47627b,_0x5672e0,_0x243282);}[_0x4b00e4(0xe1)](_0x5c5e38,_0x3dbdf7,_0x50a743,_0x3d7972,_0xda63fa,_0x3110a9,_0x364e1f){const _0x4fc917=_0x4b00e4;if(!_0xda63fa[_0x4fc917(0x16f)]||!_0xda63fa[_0x4fc917(0x1d4)])return _0xda63fa[_0x4fc917(0x1b6)]();if(_0xda63fa[_0x3e4432])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x4fc917(0xf6)]>_0x25090c)return _0x49d8f5(_0xda63fa,0x1f7);const _0x4b6e75=[_0x4fc917(0x107),_0x4fc917(0x193),_0x4fc917(0x17b),_0x4fc917(0xa5)+_0x48e9b3('sha1')[_0x4fc917(0x184)](_0x3dbdf7+_0x5b94b4)[_0x4fc917(0x1ee)](_0x4fc917(0x20e))],_0x155a69=new this[(_0x4fc917(0xa6))][(_0x4fc917(0x15a))](null,void 0x0,this['options']);if(_0x50a743[_0x4fc917(0x153)]){const _0x1f12d0=this['options'][_0x4fc917(0x1fc)]?this[_0x4fc917(0xa6)][_0x4fc917(0x1fc)](_0x50a743,_0x3d7972):_0x50a743[_0x4fc917(0x1c2)]()[_0x4fc917(0x122)]()[_0x4fc917(0x234)];_0x1f12d0&&(_0x4b6e75[_0x4fc917(0xeb)](_0x4fc917(0x115)+_0x1f12d0),_0x155a69[_0x4fc917(0xbb)]=_0x1f12d0);}if(_0x5c5e38[_0x32b486[_0x4fc917(0x1a1)]]){const _0x4bac8b=_0x5c5e38[_0x32b486[_0x4fc917(0x1a1)]][_0x4fc917(0x230)],_0x24efa3=_0x215d9f[_0x4fc917(0x9d)]({[_0x32b486['extensionName']]:[_0x4bac8b]});_0x4b6e75['push'](_0x4fc917(0x1e6)+_0x24efa3),_0x155a69[_0x4fc917(0xaf)]=_0x5c5e38;}this['emit'](_0x4fc917(0x238),_0x4b6e75,_0x3d7972),_0xda63fa[_0x4fc917(0x1cb)](_0x4b6e75['concat']('\x0d\x0a')[_0x4fc917(0x22c)]('\x0d\x0a')),_0xda63fa[_0x4fc917(0x14b)](_0x4fc917(0x93),_0xda9359),_0x155a69[_0x4fc917(0x18a)](_0xda63fa,_0x3110a9,{'allowSynchronousEvents':this[_0x4fc917(0xa6)][_0x4fc917(0x1ac)],'maxPayload':this[_0x4fc917(0xa6)][_0x4fc917(0x243)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x4fc917(0x247)]&&(this[_0x4fc917(0x247)][_0x4fc917(0x1f4)](_0x155a69),_0x155a69['on'](_0x4fc917(0x149),()=>{const _0x5efbcf=_0x4fc917;this[_0x5efbcf(0x247)][_0x5efbcf(0x1f5)](_0x155a69),this['_shouldEmitClose']&&!this[_0x5efbcf(0x247)]['size']&&process[_0x5efbcf(0x242)](_0x559f3c,this);})),_0x364e1f(_0x155a69,_0x3d7972);}}Te=_0x25e497;function _0x12a454(_0x5569cc,_0x21f21d){for(const _0x6dd6b6 of Object['keys'](_0x21f21d))_0x5569cc['on'](_0x6dd6b6,_0x21f21d[_0x6dd6b6]);return function(){const _0x20d4b9=_0x1faa;for(const _0x22c5bc of Object[_0x20d4b9(0x22f)](_0x21f21d))_0x5569cc[_0x20d4b9(0x14b)](_0x22c5bc,_0x21f21d[_0x22c5bc]);};}function _0x559f3c(_0x30055e){const _0x4d1427=_0x4b00e4;_0x30055e[_0x4d1427(0xf6)]=_0x3fb519,_0x30055e[_0x4d1427(0xed)](_0x4d1427(0x149));}function _0xda9359(){this['destroy']();}function _0x49d8f5(_0x71afea,_0x32fc3c,_0x14294a,_0x5993f5){const _0x32dba0=_0x4b00e4;_0x14294a=_0x14294a||_0x2f6bc6[_0x32dba0(0xab)][_0x32fc3c],_0x5993f5={'Connection':_0x32dba0(0x149),'Content-Type':_0x32dba0(0x24b),'Content-Length':Buffer[_0x32dba0(0x21c)](_0x14294a),..._0x5993f5},_0x71afea['once'](_0x32dba0(0x174),_0x71afea[_0x32dba0(0x1b6)]),_0x71afea['end'](_0x32dba0(0x245)+_0x32fc3c+'\x20'+_0x2f6bc6[_0x32dba0(0xab)][_0x32fc3c]+'\x0d\x0a'+Object[_0x32dba0(0x22f)](_0x5993f5)[_0x32dba0(0x13f)](_0x3d2999=>_0x3d2999+':\x20'+_0x5993f5[_0x3d2999])['join']('\x0d\x0a')+_0x32dba0(0x13a)+_0x14294a);}function _0x4c0001(_0x51c7cf,_0x454467,_0x19ecc5,_0x2782b2,_0xfcc4e3,_0x41e805){const _0x379fcd=_0x4b00e4;if(_0x51c7cf['listenerCount']('wsClientError')){const _0x13a738=new Error(_0xfcc4e3);Error[_0x379fcd(0x22e)](_0x13a738,_0x4c0001),_0x51c7cf[_0x379fcd(0xed)](_0x379fcd(0x1e9),_0x13a738,_0x19ecc5,_0x454467);}else _0x49d8f5(_0x19ecc5,_0x2782b2,_0xfcc4e3,_0x41e805);}return Te;}er();var tr=Object[_0xa7a424(0x1ab)],rr=(_0x4cac92,_0x5b709e,_0x170428,_0x1378a0)=>{for(var _0x166467=_0x1378a0>0x1?void 0x0:_0x1378a0?tr(_0x5b709e,_0x170428):_0x5b709e,_0x215217=_0x4cac92['length']-0x1,_0x13c4ab;_0x215217>=0x0;_0x215217--)(_0x13c4ab=_0x4cac92[_0x215217])&&(_0x166467=_0x13c4ab(_0x166467)||_0x166467);return _0x166467;},sr=(_0x12e8fb,_0x56a5ca)=>(_0x4f8f2a,_0x41b7b6)=>_0x56a5ca(_0x4f8f2a,_0x41b7b6,_0x12e8fb);let Ne=class extends _0x507ed8{constructor(_0x37f9ed){const _0x21a9b5=_0xa7a424;super(),this[_0x21a9b5(0x142)]=_0x37f9ed;}[_0xa7a424(0xff)](_0x23a816){const _0x3d7ec8=_0xa7a424;var _0x53c7e4;const _0x1c35d7=(_0x53c7e4=this[_0x3d7ec8(0x142)][_0x3d7ec8(0x211)](Be))==null?void 0x0:_0x53c7e4[_0x3d7ec8(0xb6)];try{const _0x27963d=new Qt(_0x23a816,{'headers':{..._0x1c35d7}}),_0x686df=new _0x8da5ed();return{'URL':_0x23a816,'close':(_0x443e5c,_0x254c1c)=>{_0x27963d['close'](_0x443e5c,_0x254c1c),_0x686df['dispose']();},'send':_0xc1c7b8=>{const _0x52d341=_0x3d7ec8;_0x27963d[_0x52d341(0x202)](_0xc1c7b8);},'open$':new _0x61d4f4(_0x33042f=>{const _0x32b447=_0x3d7ec8,_0x483648=_0x2e6326=>_0x33042f[_0x32b447(0x122)](_0x2e6326);_0x27963d[_0x32b447(0x1a6)]('open',_0x483648),_0x686df[_0x32b447(0x1f4)](_0x578d41(()=>_0x27963d[_0x32b447(0x156)](_0x32b447(0xac),_0x483648)));})[_0x3d7ec8(0x139)](_0x338037()),'close$':new _0x61d4f4(_0x561fec=>{const _0xfc42af=_0x3d7ec8,_0x35ef81=_0xa055ec=>_0x561fec[_0xfc42af(0x122)](_0xa055ec);_0x27963d[_0xfc42af(0x1a6)](_0xfc42af(0x149),_0x35ef81),_0x686df['add'](_0x578d41(()=>_0x27963d[_0xfc42af(0x156)](_0xfc42af(0x149),_0x35ef81)));})['pipe'](_0x338037()),'error$':new _0x61d4f4(_0x3a6fe5=>{const _0x94257e=_0x3d7ec8,_0x33f842=_0x4ce00e=>_0x3a6fe5[_0x94257e(0x122)](_0x4ce00e);_0x27963d[_0x94257e(0x1a6)]('error',_0x33f842),_0x686df[_0x94257e(0x1f4)](_0x578d41(()=>_0x27963d[_0x94257e(0x156)](_0x94257e(0x93),_0x33f842)));})[_0x3d7ec8(0x139)](_0x338037()),'message$':new _0x61d4f4(_0x3a443e=>{const _0x51f072=_0x3d7ec8,_0x114b27=_0x27f848=>_0x3a443e[_0x51f072(0x122)](_0x27f848);_0x27963d[_0x51f072(0x1a6)](_0x51f072(0x1d5),_0x114b27),_0x686df['add'](_0x578d41(()=>_0x27963d[_0x51f072(0x156)]('message',_0x114b27)));})['pipe'](_0x338037())};}catch(_0x39503c){return console[_0x3d7ec8(0x93)](_0x39503c),null;}}};Ne=rr([sr(0x0,_0x368d87)],Ne);var ir=Object[_0xa7a424(0x223)],nr=Object[_0xa7a424(0x1ab)],or=(_0x498d71,_0x1d8284,_0x10c6ce)=>_0x1d8284 in _0x498d71?ir(_0x498d71,_0x1d8284,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10c6ce}):_0x498d71[_0x1d8284]=_0x10c6ce,ar=(_0x45e20,_0x4a1990,_0x3a21c9,_0x553e9d)=>{for(var _0x4e16af=_0x553e9d>0x1?void 0x0:_0x553e9d?nr(_0x4a1990,_0x3a21c9):_0x4a1990,_0x2b8443=_0x45e20['length']-0x1,_0x140406;_0x2b8443>=0x0;_0x2b8443--)(_0x140406=_0x45e20[_0x2b8443])&&(_0x4e16af=_0x140406(_0x4e16af)||_0x4e16af);return _0x4e16af;},ke=(_0x575c21,_0x35e9d3)=>(_0x39583f,_0x12010b)=>_0x35e9d3(_0x39583f,_0x12010b,_0x575c21),lr=(_0x1311da,_0x4963f7,_0x13ff95)=>or(_0x1311da,_0x4963f7+'',_0x13ff95);let Pe=class extends _0x27b1a3{constructor(_0x4441e1=Ft,_0x1f726c,_0x2491ba,_0x695262){const _0x1c7119=_0xa7a424;_0x4441e1[_0x1c7119(0xb6)]||_0x1f726c[_0x1c7119(0x98)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x1c7119(0x142)]=_0x2491ba,this['_injector']=_0x695262,this[_0x1c7119(0x142)]['setConfig'](Be,_0x4441e1);}['onStarting'](){this['_registerDependencies']();}[_0xa7a424(0x1df)](){_0x42c9b0(this['_injector'],[[_0x547534,{'useClass':Ne}]]);}};lr(Pe,_0xa7a424(0x113),_0xa7a424(0x229)),Pe=ar([_0x376cf3(_0x1645b3),ke(0x1,_0x2d4816),ke(0x2,_0x368d87),ke(0x3,_0xc0da8d(_0xc8f60a))],Pe);var fr=Object[_0xa7a424(0x1ab)],cr=(_0x2e1cba,_0x3f96a4,_0x1eaf73,_0x792d84)=>{for(var _0x1ad286=_0x792d84>0x1?void 0x0:_0x792d84?fr(_0x3f96a4,_0x1eaf73):_0x3f96a4,_0x483eb2=_0x2e1cba['length']-0x1,_0x5ede28;_0x483eb2>=0x0;_0x483eb2--)(_0x5ede28=_0x2e1cba[_0x483eb2])&&(_0x1ad286=_0x5ede28(_0x1ad286)||_0x1ad286);return _0x1ad286;},se=(_0x108bdc,_0x502a0c)=>(_0x5bbf4b,_0x56a16d)=>_0x502a0c(_0x5bbf4b,_0x56a16d,_0x108bdc);function _0x1faa(_0x275768,_0x239e93){const _0xbae945=_0xbae9();return _0x1faa=function(_0x1faa3f,_0x2e68f8){_0x1faa3f=_0x1faa3f-0x93;let _0x492385=_0xbae945[_0x1faa3f];return _0x492385;},_0x1faa(_0x275768,_0x239e93);}let at=class extends _0x765c0f{constructor(_0x2192c9,_0x17913b,_0x1af805,_0x4af6c6,_0x3a220e){const _0x46617c=_0xa7a424;super(_0x2192c9,_0x17913b,_0x1af805,_0x4af6c6,_0x3a220e);const _0xaa4ca5=this[_0x46617c(0x142)][_0x46617c(0x211)](Be);this[_0x46617c(0x1ce)][_0x46617c(0x1eb)]({'interceptor':(_0xaa1f,_0x164804)=>{const _0x33cfe4=_0x46617c;var _0x3af6f3;const _0x3f8880=_0xaa1f['headers'];return(_0x3af6f3=_0xaa4ca5==null?void 0x0:_0xaa4ca5[_0x33cfe4(0xb6)])!=null&&_0x3af6f3[_0x33cfe4(0x15b)]&&_0x3f8880[_0x33cfe4(0x134)](_0x33cfe4(0xf0),_0xaa4ca5['customHeaders'][_0x33cfe4(0x15b)]),_0x164804(_0xaa1f);}});}async[_0xa7a424(0xff)](_0x189834){return this['_doCreateSocket'](_0x189834);}};at=cr([se(0x0,_0xc0da8d(_0xc8f60a)),se(0x1,_0xc0da8d(_0x5704bf)),se(0x2,_0x368d87),se(0x3,_0x2d4816),se(0x4,_0xaf4332)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|