@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505011607 → 0.7.0-nightly.202505021607
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/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xf72d09=_0x5d02;(function(_0x54dcbd,_0x49d6a4){const _0x461946=_0x5d02,_0x3ca21b=_0x54dcbd();while(!![]){try{const _0x5402db=parseInt(_0x461946(0x18c))/0x1+parseInt(_0x461946(0x142))/0x2*(-parseInt(_0x461946(0x143))/0x3)+parseInt(_0x461946(0x107))/0x4+-parseInt(_0x461946(0x18b))/0x5+parseInt(_0x461946(0x241))/0x6*(parseInt(_0x461946(0x16d))/0x7)+parseInt(_0x461946(0xf9))/0x8+-parseInt(_0x461946(0x1ee))/0x9;if(_0x5402db===_0x49d6a4)break;else _0x3ca21b['push'](_0x3ca21b['shift']());}catch(_0x129033){_0x3ca21b['push'](_0x3ca21b['shift']());}}}(_0x4643,0x69214));import{UniverCollaborationClientPlugin as _0x316416,CollaborationSocketService as _0x24f3a7}from'@univerjs-pro/collaboration-client';import{Disposable as _0x17e782,DisposableCollection as _0x2be505,toDisposable as _0x1656f6,IConfigService as _0x36914a,DependentOn as _0x562a6,ILogService as _0x8ee6cf,Inject as _0x50272c,Injector as _0x4afa60,Plugin as _0x286411,registerDependencies as _0x28adf8}from'@univerjs/core';import{ISocketService as _0x572d33,HTTPService as _0x2c6d6f}from'@univerjs/network';import{Observable as _0x3a3d9f,share as _0x45c52b}from'rxjs';import _0x4d1399 from'events';import _0x415145 from'https';import _0xb3bffe from'http';import _0x54d0b8 from'net';import _0xc5fc57 from'tls';import _0x49b2a2 from'crypto';import _0x431779 from'stream';import _0x536a51 from'url';import _0xb97a11 from'zlib';import _0x505c2a from'buffer';import{ISnapshotServerService as _0x2b6ace}from'@univerjs-pro/collaboration';const Be=_0xf72d09(0x262),Ft={'customHeaders':{}};function jt(_0x83c478){const _0x16d19b=_0xf72d09;return _0x83c478&&_0x83c478[_0x16d19b(0x1ce)]&&Object[_0x16d19b(0x18d)][_0x16d19b(0x1bb)][_0x16d19b(0x272)](_0x83c478,_0x16d19b(0x18f))?_0x83c478[_0x16d19b(0x18f)]:_0x83c478;}function ut(_0x1b22a0){const _0x338a52=_0xf72d09;if(Object[_0x338a52(0x18d)][_0x338a52(0x1bb)]['call'](_0x1b22a0,'__esModule'))return _0x1b22a0;var _0x563177=_0x1b22a0[_0x338a52(0x18f)];if(typeof _0x563177==_0x338a52(0xe0)){var _0x47379d=function _0x57fa11(){const _0x25a473=_0x338a52;return this instanceof _0x57fa11?Reflect['construct'](_0x563177,arguments,this['constructor']):_0x563177[_0x25a473(0x15b)](this,arguments);};_0x47379d[_0x338a52(0x18d)]=_0x563177[_0x338a52(0x18d)];}else _0x47379d={};return Object[_0x338a52(0x148)](_0x47379d,_0x338a52(0x1ce),{'value':!0x0}),Object[_0x338a52(0x23a)](_0x1b22a0)[_0x338a52(0x246)](function(_0x311959){const _0x1f6dd5=_0x338a52;var _0x1f56c4=Object[_0x1f6dd5(0xdf)](_0x1b22a0,_0x311959);Object[_0x1f6dd5(0x148)](_0x47379d,_0x311959,_0x1f56c4[_0x1f6dd5(0x1ed)]?_0x1f56c4:{'enumerable':!0x0,'get':function(){return _0x1b22a0[_0x311959];}});}),_0x47379d;}var te={'exports':{}},ge,Ye;function V(){const _0x368cc4=_0xf72d09;if(Ye)return ge;Ye=0x1;const _0x9d8ff9=[_0x368cc4(0x17d),_0x368cc4(0x1fc),'fragments'],_0x30fb71=typeof Blob<'u';return _0x30fb71&&_0x9d8ff9[_0x368cc4(0x274)](_0x368cc4(0x10b)),ge={'BINARY_TYPES':_0x9d8ff9,'EMPTY_BUFFER':Buffer[_0x368cc4(0x205)](0x0),'GUID':_0x368cc4(0x213),'hasBlob':_0x30fb71,'kForOnEventAttribute':Symbol(_0x368cc4(0x114)),'kListener':Symbol(_0x368cc4(0x223)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x368cc4(0x25d)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0xf72d09(0x148)]({'__proto__':null,'default':Wt},Symbol[_0xf72d09(0x271)],{'value':_0xf72d09(0x162)})),Vt=ut(Gt);var Ke;function ce(){const _0x5e6d46=_0xf72d09;if(Ke)return te[_0x5e6d46(0x1f1)];Ke=0x1;const {EMPTY_BUFFER:_0x5e67d9}=V(),_0x2d0b85=Buffer[Symbol[_0x5e6d46(0x1b1)]];function _0x3f864e(_0x16640f,_0x63dd8e){const _0x245040=_0x5e6d46;if(_0x16640f['length']===0x0)return _0x5e67d9;if(_0x16640f[_0x245040(0x273)]===0x1)return _0x16640f[0x0];const _0x4753f7=Buffer[_0x245040(0x10e)](_0x63dd8e);let _0x2578ab=0x0;for(let _0x3518e2=0x0;_0x3518e2<_0x16640f['length'];_0x3518e2++){const _0x51c5d2=_0x16640f[_0x3518e2];_0x4753f7[_0x245040(0x135)](_0x51c5d2,_0x2578ab),_0x2578ab+=_0x51c5d2[_0x245040(0x273)];}return _0x2578ab<_0x63dd8e?new _0x2d0b85(_0x4753f7['buffer'],_0x4753f7[_0x245040(0x261)],_0x2578ab):_0x4753f7;}function _0x368762(_0xae0cf0,_0x10c3ab,_0x3c0eb5,_0x51acc5,_0x104329){for(let _0x19ef13=0x0;_0x19ef13<_0x104329;_0x19ef13++)_0x3c0eb5[_0x51acc5+_0x19ef13]=_0xae0cf0[_0x19ef13]^_0x10c3ab[_0x19ef13&0x3];}function _0xf6d911(_0x96b850,_0x1959b9){const _0x56a28a=_0x5e6d46;for(let _0x535651=0x0;_0x535651<_0x96b850[_0x56a28a(0x273)];_0x535651++)_0x96b850[_0x535651]^=_0x1959b9[_0x535651&0x3];}function _0x2d4a6b(_0x321756){const _0x2fdc90=_0x5e6d46;return _0x321756[_0x2fdc90(0x273)]===_0x321756[_0x2fdc90(0x28b)]['byteLength']?_0x321756[_0x2fdc90(0x28b)]:_0x321756[_0x2fdc90(0x28b)][_0x2fdc90(0x164)](_0x321756[_0x2fdc90(0x261)],_0x321756['byteOffset']+_0x321756[_0x2fdc90(0x273)]);}function _0x40aa52(_0x1f2664){const _0x258dc8=_0x5e6d46;if(_0x40aa52['readOnly']=!0x0,Buffer['isBuffer'](_0x1f2664))return _0x1f2664;let _0x4708d0;return _0x1f2664 instanceof ArrayBuffer?_0x4708d0=new _0x2d0b85(_0x1f2664):ArrayBuffer[_0x258dc8(0x15a)](_0x1f2664)?_0x4708d0=new _0x2d0b85(_0x1f2664[_0x258dc8(0x28b)],_0x1f2664[_0x258dc8(0x261)],_0x1f2664[_0x258dc8(0x20c)]):(_0x4708d0=Buffer[_0x258dc8(0x10c)](_0x1f2664),_0x40aa52[_0x258dc8(0x26b)]=!0x1),_0x4708d0;}if(te['exports']={'concat':_0x3f864e,'mask':_0x368762,'toArrayBuffer':_0x2d4a6b,'toBuffer':_0x40aa52,'unmask':_0xf6d911},!process[_0x5e6d46(0x13e)][_0x5e6d46(0x1db)])try{const _0x2af61f=Vt;te['exports'][_0x5e6d46(0x102)]=function(_0x5a1b81,_0x3b7e39,_0x130654,_0x5a9185,_0x23d418){const _0x37b3c7=_0x5e6d46;_0x23d418<0x30?_0x368762(_0x5a1b81,_0x3b7e39,_0x130654,_0x5a9185,_0x23d418):_0x2af61f[_0x37b3c7(0x102)](_0x5a1b81,_0x3b7e39,_0x130654,_0x5a9185,_0x23d418);},te[_0x5e6d46(0x1f1)][_0x5e6d46(0x141)]=function(_0x23b72a,_0x98a485){const _0x4ff7a0=_0x5e6d46;_0x23b72a[_0x4ff7a0(0x273)]<0x20?_0xf6d911(_0x23b72a,_0x98a485):_0x2af61f[_0x4ff7a0(0x141)](_0x23b72a,_0x98a485);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x2f04b3=_0xf72d09;if(Xe)return ye;Xe=0x1;const _0x463b26=Symbol(_0x2f04b3(0x131)),_0x5e5421=Symbol(_0x2f04b3(0x239));class _0xf543fd{constructor(_0x55a221){const _0x3b35c6=_0x2f04b3;this[_0x463b26]=()=>{const _0x581c51=_0x5d02;this[_0x581c51(0x123)]--,this[_0x5e5421]();},this['concurrency']=_0x55a221||0x1/0x0,this[_0x3b35c6(0x120)]=[],this['pending']=0x0;}['add'](_0x1d4b45){const _0x4530d7=_0x2f04b3;this[_0x4530d7(0x120)][_0x4530d7(0x274)](_0x1d4b45),this[_0x5e5421]();}[_0x5e5421](){const _0x4b674e=_0x2f04b3;if(this[_0x4b674e(0x123)]!==this[_0x4b674e(0x193)]&&this[_0x4b674e(0x120)][_0x4b674e(0x273)]){const _0x3a5d12=this[_0x4b674e(0x120)][_0x4b674e(0x240)]();this[_0x4b674e(0x123)]++,_0x3a5d12(this[_0x463b26]);}}}return ye=_0xf543fd,ye;}function _0x5d02(_0x375108,_0x1027e9){const _0x46438b=_0x4643();return _0x5d02=function(_0x5d02b0,_0x6b79ac){_0x5d02b0=_0x5d02b0-0xdc;let _0x311275=_0x46438b[_0x5d02b0];return _0x311275;},_0x5d02(_0x375108,_0x1027e9);}var ve,Ze;function he(){const _0x323a22=_0xf72d09;if(Ze)return ve;Ze=0x1;const _0x179955=_0xb97a11,_0x374740=ce(),_0x32b318=qt(),{kStatusCode:_0x49a1a4}=V(),_0x3b782c=Buffer[Symbol[_0x323a22(0x1b1)]],_0x19b46d=Buffer[_0x323a22(0x10c)]([0x0,0x0,0xff,0xff]),_0x3cf61d=Symbol(_0x323a22(0x1ca)),_0x15bbfa=Symbol(_0x323a22(0x204)),_0x2736d7=Symbol(_0x323a22(0x26a)),_0x10da18=Symbol(_0x323a22(0x212)),_0x416c69=Symbol(_0x323a22(0x13b));let _0x523275;class _0x1629e1{constructor(_0x3dcc63,_0xd495c5,_0x5717df){const _0x201070=_0x323a22;if(this[_0x201070(0x23f)]=_0x5717df|0x0,this['_options']=_0x3dcc63||{},this[_0x201070(0x112)]=this[_0x201070(0x236)]['threshold']!==void 0x0?this[_0x201070(0x236)][_0x201070(0x1cb)]:0x400,this[_0x201070(0x20b)]=!!_0xd495c5,this[_0x201070(0x1d6)]=null,this[_0x201070(0x187)]=null,this[_0x201070(0x26f)]=null,!_0x523275){const _0x15aa67=this[_0x201070(0x236)][_0x201070(0xe2)]!==void 0x0?this['_options'][_0x201070(0xe2)]:0xa;_0x523275=new _0x32b318(_0x15aa67);}}static get['extensionName'](){return'permessage-deflate';}['offer'](){const _0x31830e=_0x323a22,_0x1f1fe5={};return this[_0x31830e(0x236)][_0x31830e(0x25b)]&&(_0x1f1fe5[_0x31830e(0x1f8)]=!0x0),this[_0x31830e(0x236)][_0x31830e(0x116)]&&(_0x1f1fe5[_0x31830e(0x117)]=!0x0),this['_options'][_0x31830e(0x263)]&&(_0x1f1fe5[_0x31830e(0x1a5)]=this[_0x31830e(0x236)][_0x31830e(0x263)]),this['_options']['clientMaxWindowBits']?_0x1f1fe5['client_max_window_bits']=this[_0x31830e(0x236)][_0x31830e(0x1ac)]:this[_0x31830e(0x236)][_0x31830e(0x1ac)]==null&&(_0x1f1fe5['client_max_window_bits']=!0x0),_0x1f1fe5;}[_0x323a22(0x1e4)](_0x19bc87){const _0x153cf7=_0x323a22;return _0x19bc87=this[_0x153cf7(0x14f)](_0x19bc87),this[_0x153cf7(0x26f)]=this['_isServer']?this[_0x153cf7(0x1f9)](_0x19bc87):this['acceptAsClient'](_0x19bc87),this[_0x153cf7(0x26f)];}[_0x323a22(0x247)](){const _0x13031b=_0x323a22;if(this[_0x13031b(0x187)]&&(this[_0x13031b(0x187)][_0x13031b(0x1d7)](),this['_inflate']=null),this['_deflate']){const _0x38673f=this[_0x13031b(0x1d6)][_0x2736d7];this[_0x13031b(0x1d6)][_0x13031b(0x1d7)](),this['_deflate']=null,_0x38673f&&_0x38673f(new Error(_0x13031b(0x115)));}}[_0x323a22(0x1f9)](_0x5b133a){const _0x286c89=_0x323a22,_0xb90b62=this[_0x286c89(0x236)],_0x2b8ef5=_0x5b133a[_0x286c89(0x1eb)](_0x44a288=>!(_0xb90b62[_0x286c89(0x25b)]===!0x1&&_0x44a288[_0x286c89(0x1f8)]||_0x44a288[_0x286c89(0x1a5)]&&(_0xb90b62['serverMaxWindowBits']===!0x1||typeof _0xb90b62[_0x286c89(0x263)]==_0x286c89(0x20e)&&_0xb90b62[_0x286c89(0x263)]>_0x44a288[_0x286c89(0x1a5)])||typeof _0xb90b62[_0x286c89(0x1ac)]==_0x286c89(0x20e)&&!_0x44a288[_0x286c89(0x19d)]));if(!_0x2b8ef5)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xb90b62[_0x286c89(0x25b)]&&(_0x2b8ef5[_0x286c89(0x1f8)]=!0x0),_0xb90b62[_0x286c89(0x116)]&&(_0x2b8ef5['client_no_context_takeover']=!0x0),typeof _0xb90b62[_0x286c89(0x263)]=='number'&&(_0x2b8ef5[_0x286c89(0x1a5)]=_0xb90b62['serverMaxWindowBits']),typeof _0xb90b62[_0x286c89(0x1ac)]==_0x286c89(0x20e)?_0x2b8ef5[_0x286c89(0x19d)]=_0xb90b62[_0x286c89(0x1ac)]:(_0x2b8ef5[_0x286c89(0x19d)]===!0x0||_0xb90b62[_0x286c89(0x1ac)]===!0x1)&&delete _0x2b8ef5['client_max_window_bits'],_0x2b8ef5;}[_0x323a22(0x1a8)](_0x429031){const _0x35668f=_0x323a22,_0x4a0bf2=_0x429031[0x0];if(this[_0x35668f(0x236)][_0x35668f(0x116)]===!0x1&&_0x4a0bf2[_0x35668f(0x117)])throw new Error(_0x35668f(0x188));if(!_0x4a0bf2['client_max_window_bits'])typeof this['_options']['clientMaxWindowBits']=='number'&&(_0x4a0bf2[_0x35668f(0x19d)]=this[_0x35668f(0x236)][_0x35668f(0x1ac)]);else{if(this[_0x35668f(0x236)]['clientMaxWindowBits']===!0x1||typeof this[_0x35668f(0x236)][_0x35668f(0x1ac)]==_0x35668f(0x20e)&&_0x4a0bf2[_0x35668f(0x19d)]>this['_options']['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x4a0bf2;}['normalizeParams'](_0x2684cc){const _0x1a84b2=_0x323a22;return _0x2684cc[_0x1a84b2(0x246)](_0x43c16a=>{const _0x2f7ccf=_0x1a84b2;Object[_0x2f7ccf(0x23a)](_0x43c16a)['forEach'](_0x5f1c6a=>{const _0x2a5795=_0x2f7ccf;let _0x480e8b=_0x43c16a[_0x5f1c6a];if(_0x480e8b['length']>0x1)throw new Error('Parameter\x20\x22'+_0x5f1c6a+_0x2a5795(0xdd));if(_0x480e8b=_0x480e8b[0x0],_0x5f1c6a===_0x2a5795(0x19d)){if(_0x480e8b!==!0x0){const _0x3903d4=+_0x480e8b;if(!Number[_0x2a5795(0xec)](_0x3903d4)||_0x3903d4<0x8||_0x3903d4>0xf)throw new TypeError(_0x2a5795(0x286)+_0x5f1c6a+_0x2a5795(0x237)+_0x480e8b);_0x480e8b=_0x3903d4;}else{if(!this[_0x2a5795(0x20b)])throw new TypeError(_0x2a5795(0x286)+_0x5f1c6a+_0x2a5795(0x237)+_0x480e8b);}}else{if(_0x5f1c6a===_0x2a5795(0x1a5)){const _0x5b3d45=+_0x480e8b;if(!Number[_0x2a5795(0xec)](_0x5b3d45)||_0x5b3d45<0x8||_0x5b3d45>0xf)throw new TypeError(_0x2a5795(0x286)+_0x5f1c6a+_0x2a5795(0x237)+_0x480e8b);_0x480e8b=_0x5b3d45;}else{if(_0x5f1c6a===_0x2a5795(0x117)||_0x5f1c6a===_0x2a5795(0x1f8)){if(_0x480e8b!==!0x0)throw new TypeError(_0x2a5795(0x286)+_0x5f1c6a+_0x2a5795(0x237)+_0x480e8b);}else throw new Error(_0x2a5795(0xe6)+_0x5f1c6a+'\x22');}}_0x43c16a[_0x5f1c6a]=_0x480e8b;});}),_0x2684cc;}[_0x323a22(0x125)](_0x52dbfb,_0x17a511,_0x33ac80){const _0x321141=_0x323a22;_0x523275[_0x321141(0x152)](_0x5da5b1=>{const _0x5df1c1=_0x321141;this[_0x5df1c1(0x285)](_0x52dbfb,_0x17a511,(_0x7ad3a5,_0x3d6c00)=>{_0x5da5b1(),_0x33ac80(_0x7ad3a5,_0x3d6c00);});});}[_0x323a22(0xe7)](_0x2f7637,_0x1a7f32,_0x3c2ded){const _0x4a7edd=_0x323a22;_0x523275[_0x4a7edd(0x152)](_0x37d159=>{const _0x4f2683=_0x4a7edd;this[_0x4f2683(0x1ae)](_0x2f7637,_0x1a7f32,(_0x69f236,_0x469b4d)=>{_0x37d159(),_0x3c2ded(_0x69f236,_0x469b4d);});});}[_0x323a22(0x285)](_0x520f7d,_0x12dcea,_0x28d241){const _0x3ac28e=_0x323a22,_0x2d991e=this['_isServer']?_0x3ac28e(0x18e):'server';if(!this['_inflate']){const _0x206272=_0x2d991e+_0x3ac28e(0x208),_0x45c19b=typeof this[_0x3ac28e(0x26f)][_0x206272]!='number'?_0x179955[_0x3ac28e(0x284)]:this[_0x3ac28e(0x26f)][_0x206272];this[_0x3ac28e(0x187)]=_0x179955[_0x3ac28e(0x133)]({...this['_options'][_0x3ac28e(0x1d9)],'windowBits':_0x45c19b}),this[_0x3ac28e(0x187)][_0x3cf61d]=this,this[_0x3ac28e(0x187)][_0x15bbfa]=0x0,this['_inflate'][_0x10da18]=[],this[_0x3ac28e(0x187)]['on'](_0x3ac28e(0x13b),_0x43089c),this['_inflate']['on'](_0x3ac28e(0xff),_0x2dab74);}this['_inflate'][_0x2736d7]=_0x28d241,this[_0x3ac28e(0x187)][_0x3ac28e(0x23e)](_0x520f7d),_0x12dcea&&this['_inflate'][_0x3ac28e(0x23e)](_0x19b46d),this[_0x3ac28e(0x187)][_0x3ac28e(0x1ef)](()=>{const _0x263b60=_0x3ac28e,_0x246ec6=this[_0x263b60(0x187)][_0x416c69];if(_0x246ec6){this[_0x263b60(0x187)][_0x263b60(0x1d7)](),this[_0x263b60(0x187)]=null,_0x28d241(_0x246ec6);return;}const _0x3b64d4=_0x374740[_0x263b60(0x109)](this[_0x263b60(0x187)][_0x10da18],this[_0x263b60(0x187)][_0x15bbfa]);this['_inflate'][_0x263b60(0x1b9)][_0x263b60(0x100)]?(this[_0x263b60(0x187)][_0x263b60(0x1d7)](),this[_0x263b60(0x187)]=null):(this[_0x263b60(0x187)][_0x15bbfa]=0x0,this['_inflate'][_0x10da18]=[],_0x12dcea&&this[_0x263b60(0x26f)][_0x2d991e+'_no_context_takeover']&&this['_inflate'][_0x263b60(0x137)]()),_0x28d241(null,_0x3b64d4);});}[_0x323a22(0x1ae)](_0x243310,_0x470151,_0x414d9d){const _0x3d199e=_0x323a22,_0x2350a1=this[_0x3d199e(0x20b)]?_0x3d199e(0x23d):'client';if(!this[_0x3d199e(0x1d6)]){const _0x22f0a9=_0x2350a1+'_max_window_bits',_0x300dc6=typeof this[_0x3d199e(0x26f)][_0x22f0a9]!='number'?_0x179955[_0x3d199e(0x284)]:this[_0x3d199e(0x26f)][_0x22f0a9];this['_deflate']=_0x179955[_0x3d199e(0x264)]({...this['_options'][_0x3d199e(0x10d)],'windowBits':_0x300dc6}),this[_0x3d199e(0x1d6)][_0x15bbfa]=0x0,this[_0x3d199e(0x1d6)][_0x10da18]=[],this[_0x3d199e(0x1d6)]['on'](_0x3d199e(0xff),_0x4f2061);}this[_0x3d199e(0x1d6)][_0x2736d7]=_0x414d9d,this[_0x3d199e(0x1d6)][_0x3d199e(0x23e)](_0x243310),this[_0x3d199e(0x1d6)][_0x3d199e(0x1ef)](_0x179955[_0x3d199e(0x230)],()=>{const _0x1e4ea4=_0x3d199e;if(!this[_0x1e4ea4(0x1d6)])return;let _0x3a3879=_0x374740[_0x1e4ea4(0x109)](this[_0x1e4ea4(0x1d6)][_0x10da18],this[_0x1e4ea4(0x1d6)][_0x15bbfa]);_0x470151&&(_0x3a3879=new _0x3b782c(_0x3a3879[_0x1e4ea4(0x28b)],_0x3a3879[_0x1e4ea4(0x261)],_0x3a3879[_0x1e4ea4(0x273)]-0x4)),this[_0x1e4ea4(0x1d6)][_0x2736d7]=null,this['_deflate'][_0x15bbfa]=0x0,this[_0x1e4ea4(0x1d6)][_0x10da18]=[],_0x470151&&this['params'][_0x2350a1+'_no_context_takeover']&&this['_deflate']['reset'](),_0x414d9d(null,_0x3a3879);});}}ve=_0x1629e1;function _0x4f2061(_0x33d6fb){const _0x428ee4=_0x323a22;this[_0x10da18][_0x428ee4(0x274)](_0x33d6fb),this[_0x15bbfa]+=_0x33d6fb[_0x428ee4(0x273)];}function _0x2dab74(_0x13c1db){const _0x223305=_0x323a22;if(this[_0x15bbfa]+=_0x13c1db[_0x223305(0x273)],this[_0x3cf61d]['_maxPayload']<0x1||this[_0x15bbfa]<=this[_0x3cf61d][_0x223305(0x23f)]){this[_0x10da18][_0x223305(0x274)](_0x13c1db);return;}this[_0x416c69]=new RangeError(_0x223305(0x118)),this[_0x416c69][_0x223305(0x1f7)]=_0x223305(0x1b7),this[_0x416c69][_0x49a1a4]=0x3f1,this['removeListener']('data',_0x2dab74),this['reset']();}function _0x43089c(_0xc48769){const _0x2f5421=_0x323a22;this[_0x3cf61d][_0x2f5421(0x187)]=null,_0xc48769[_0x49a1a4]=0x3ef,this[_0x2736d7](_0xc48769);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xf72d09(0x186)](Object[_0xf72d09(0x148)]({'__proto__':null,'default':Ht},Symbol[_0xf72d09(0x271)],{'value':_0xf72d09(0x162)})),Yt=ut(zt);var Qe;function ne(){const _0x5d6973=_0xf72d09;if(Qe)return re[_0x5d6973(0x1f1)];Qe=0x1;const {isUtf8:_0x506c95}=_0x505c2a,{hasBlob:_0x127fa9}=V(),_0x391e7f=[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 _0x35d64c(_0x4f3eec){return _0x4f3eec>=0x3e8&&_0x4f3eec<=0x3f6&&_0x4f3eec!==0x3ec&&_0x4f3eec!==0x3ed&&_0x4f3eec!==0x3ee||_0x4f3eec>=0xbb8&&_0x4f3eec<=0x1387;}function _0x10ee74(_0x2c4ed3){const _0x2d7c53=_0x5d6973,_0xa28a22=_0x2c4ed3[_0x2d7c53(0x273)];let _0x463f7c=0x0;for(;_0x463f7c<_0xa28a22;)if((_0x2c4ed3[_0x463f7c]&0x80)===0x0)_0x463f7c++;else{if((_0x2c4ed3[_0x463f7c]&0xe0)===0xc0){if(_0x463f7c+0x1===_0xa28a22||(_0x2c4ed3[_0x463f7c+0x1]&0xc0)!==0x80||(_0x2c4ed3[_0x463f7c]&0xfe)===0xc0)return!0x1;_0x463f7c+=0x2;}else{if((_0x2c4ed3[_0x463f7c]&0xf0)===0xe0){if(_0x463f7c+0x2>=_0xa28a22||(_0x2c4ed3[_0x463f7c+0x1]&0xc0)!==0x80||(_0x2c4ed3[_0x463f7c+0x2]&0xc0)!==0x80||_0x2c4ed3[_0x463f7c]===0xe0&&(_0x2c4ed3[_0x463f7c+0x1]&0xe0)===0x80||_0x2c4ed3[_0x463f7c]===0xed&&(_0x2c4ed3[_0x463f7c+0x1]&0xe0)===0xa0)return!0x1;_0x463f7c+=0x3;}else{if((_0x2c4ed3[_0x463f7c]&0xf8)===0xf0){if(_0x463f7c+0x3>=_0xa28a22||(_0x2c4ed3[_0x463f7c+0x1]&0xc0)!==0x80||(_0x2c4ed3[_0x463f7c+0x2]&0xc0)!==0x80||(_0x2c4ed3[_0x463f7c+0x3]&0xc0)!==0x80||_0x2c4ed3[_0x463f7c]===0xf0&&(_0x2c4ed3[_0x463f7c+0x1]&0xf0)===0x80||_0x2c4ed3[_0x463f7c]===0xf4&&_0x2c4ed3[_0x463f7c+0x1]>0x8f||_0x2c4ed3[_0x463f7c]>0xf4)return!0x1;_0x463f7c+=0x4;}else return!0x1;}}}return!0x0;}function _0x42aba8(_0x10b0d8){const _0x363496=_0x5d6973;return _0x127fa9&&typeof _0x10b0d8=='object'&&typeof _0x10b0d8[_0x363496(0x238)]==_0x363496(0xe0)&&typeof _0x10b0d8[_0x363496(0x16c)]==_0x363496(0x124)&&typeof _0x10b0d8[_0x363496(0x1c3)]==_0x363496(0xe0)&&(_0x10b0d8[Symbol['toStringTag']]===_0x363496(0x199)||_0x10b0d8[Symbol[_0x363496(0x271)]]===_0x363496(0x250));}if(re[_0x5d6973(0x1f1)]={'isBlob':_0x42aba8,'isValidStatusCode':_0x35d64c,'isValidUTF8':_0x10ee74,'tokenChars':_0x391e7f},_0x506c95)re[_0x5d6973(0x1f1)][_0x5d6973(0x24e)]=function(_0x2c4251){const _0x10a146=_0x5d6973;return _0x2c4251[_0x10a146(0x273)]<0x18?_0x10ee74(_0x2c4251):_0x506c95(_0x2c4251);};else{if(!process[_0x5d6973(0x13e)][_0x5d6973(0x220)])try{const _0xc1320b=Yt;re[_0x5d6973(0x1f1)][_0x5d6973(0x24e)]=function(_0x598656){const _0x1611a3=_0x5d6973;return _0x598656[_0x1611a3(0x273)]<0x20?_0x10ee74(_0x598656):_0xc1320b(_0x598656);};}catch{}}return re[_0x5d6973(0x1f1)];}var Se,Je;function dt(){const _0x1362a8=_0xf72d09;if(Je)return Se;Je=0x1;const {Writable:_0x46aebb}=_0x431779,_0x450c8b=he(),{BINARY_TYPES:_0x50966a,EMPTY_BUFFER:_0x24dc29,kStatusCode:_0x38ceca,kWebSocket:_0x5865d6}=V(),{concat:_0x127ede,toArrayBuffer:_0x3ddb40,unmask:_0x251a8a}=ce(),{isValidStatusCode:_0x52ccd2,isValidUTF8:_0x1fdfde}=ne(),_0x56f9fc=Buffer[Symbol[_0x1362a8(0x1b1)]],_0xf53fd7=0x0,_0x8b5c1=0x1,_0x1e0491=0x2,_0x2b2481=0x3,_0x1a3478=0x4,_0x19f27a=0x5,_0x37df8e=0x6;class _0x54fa03 extends _0x46aebb{constructor(_0x52034f={}){const _0x5e2fcb=_0x1362a8;super(),this['_allowSynchronousEvents']=_0x52034f['allowSynchronousEvents']!==void 0x0?_0x52034f[_0x5e2fcb(0x1f3)]:!0x0,this['_binaryType']=_0x52034f[_0x5e2fcb(0x1cf)]||_0x50966a[0x0],this[_0x5e2fcb(0x198)]=_0x52034f[_0x5e2fcb(0xfa)]||{},this['_isServer']=!!_0x52034f[_0x5e2fcb(0x151)],this[_0x5e2fcb(0x23f)]=_0x52034f[_0x5e2fcb(0xfe)]|0x0,this['_skipUTF8Validation']=!!_0x52034f[_0x5e2fcb(0x1b0)],this[_0x5865d6]=void 0x0,this[_0x5e2fcb(0x167)]=0x0,this[_0x5e2fcb(0x19a)]=[],this['_compressed']=!0x1,this[_0x5e2fcb(0x1b4)]=0x0,this[_0x5e2fcb(0x281)]=void 0x0,this[_0x5e2fcb(0x270)]=0x0,this[_0x5e2fcb(0x113)]=!0x1,this['_fin']=!0x1,this[_0x5e2fcb(0x26d)]=0x0,this[_0x5e2fcb(0x178)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x5e2fcb(0x26e)]=!0x1,this['_loop']=!0x1,this[_0x5e2fcb(0x27d)]=_0xf53fd7;}[_0x1362a8(0x1e2)](_0x2436b0,_0x3b2379,_0x22f3e0){const _0x5a431e=_0x1362a8;if(this[_0x5a431e(0x26d)]===0x8&&this[_0x5a431e(0x27d)]==_0xf53fd7)return _0x22f3e0();this[_0x5a431e(0x167)]+=_0x2436b0[_0x5a431e(0x273)],this[_0x5a431e(0x19a)]['push'](_0x2436b0),this[_0x5a431e(0x103)](_0x22f3e0);}[_0x1362a8(0x251)](_0x1dd9df){const _0x44cb0=_0x1362a8;if(this[_0x44cb0(0x167)]-=_0x1dd9df,_0x1dd9df===this[_0x44cb0(0x19a)][0x0][_0x44cb0(0x273)])return this[_0x44cb0(0x19a)][_0x44cb0(0x240)]();if(_0x1dd9df<this['_buffers'][0x0]['length']){const _0x327d03=this[_0x44cb0(0x19a)][0x0];return this['_buffers'][0x0]=new _0x56f9fc(_0x327d03[_0x44cb0(0x28b)],_0x327d03[_0x44cb0(0x261)]+_0x1dd9df,_0x327d03[_0x44cb0(0x273)]-_0x1dd9df),new _0x56f9fc(_0x327d03['buffer'],_0x327d03['byteOffset'],_0x1dd9df);}const _0x50e259=Buffer['allocUnsafe'](_0x1dd9df);do{const _0x3c563e=this[_0x44cb0(0x19a)][0x0],_0x3f1509=_0x50e259['length']-_0x1dd9df;_0x1dd9df>=_0x3c563e[_0x44cb0(0x273)]?_0x50e259['set'](this[_0x44cb0(0x19a)][_0x44cb0(0x240)](),_0x3f1509):(_0x50e259[_0x44cb0(0x135)](new Uint8Array(_0x3c563e[_0x44cb0(0x28b)],_0x3c563e[_0x44cb0(0x261)],_0x1dd9df),_0x3f1509),this['_buffers'][0x0]=new _0x56f9fc(_0x3c563e[_0x44cb0(0x28b)],_0x3c563e[_0x44cb0(0x261)]+_0x1dd9df,_0x3c563e[_0x44cb0(0x273)]-_0x1dd9df)),_0x1dd9df-=_0x3c563e['length'];}while(_0x1dd9df>0x0);return _0x50e259;}[_0x1362a8(0x103)](_0x4da6b9){const _0x1e1f16=_0x1362a8;this[_0x1e1f16(0x280)]=!0x0;do switch(this['_state']){case _0xf53fd7:this['getInfo'](_0x4da6b9);break;case _0x8b5c1:this[_0x1e1f16(0x1da)](_0x4da6b9);break;case _0x1e0491:this[_0x1e1f16(0x11d)](_0x4da6b9);break;case _0x2b2481:this['getMask']();break;case _0x1a3478:this[_0x1e1f16(0x27f)](_0x4da6b9);break;case _0x19f27a:case _0x37df8e:this[_0x1e1f16(0x280)]=!0x1;return;}while(this[_0x1e1f16(0x280)]);this[_0x1e1f16(0x26e)]||_0x4da6b9();}[_0x1362a8(0x1c0)](_0x284159){const _0x3ab5f2=_0x1362a8;if(this[_0x3ab5f2(0x167)]<0x2){this[_0x3ab5f2(0x280)]=!0x1;return;}const _0xfc11c1=this[_0x3ab5f2(0x251)](0x2);if((_0xfc11c1[0x0]&0x30)!==0x0){const _0x4c2ea0=this[_0x3ab5f2(0x1b3)](RangeError,_0x3ab5f2(0xf6),!0x0,0x3ea,_0x3ab5f2(0x234));_0x284159(_0x4c2ea0);return;}const _0x1c3892=(_0xfc11c1[0x0]&0x40)===0x40;if(_0x1c3892&&!this[_0x3ab5f2(0x198)][_0x450c8b[_0x3ab5f2(0x1cd)]]){const _0x4284d5=this['createError'](RangeError,_0x3ab5f2(0x207),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x284159(_0x4284d5);return;}if(this[_0x3ab5f2(0x17a)]=(_0xfc11c1[0x0]&0x80)===0x80,this[_0x3ab5f2(0x26d)]=_0xfc11c1[0x0]&0xf,this[_0x3ab5f2(0x1b4)]=_0xfc11c1[0x1]&0x7f,this['_opcode']===0x0){if(_0x1c3892){const _0x45a3c4=this['createError'](RangeError,_0x3ab5f2(0x207),!0x0,0x3ea,_0x3ab5f2(0x21d));_0x284159(_0x45a3c4);return;}if(!this[_0x3ab5f2(0x270)]){const _0x25a8e8=this[_0x3ab5f2(0x1b3)](RangeError,_0x3ab5f2(0x154),!0x0,0x3ea,_0x3ab5f2(0x12a));_0x284159(_0x25a8e8);return;}this['_opcode']=this[_0x3ab5f2(0x270)];}else{if(this[_0x3ab5f2(0x26d)]===0x1||this[_0x3ab5f2(0x26d)]===0x2){if(this[_0x3ab5f2(0x270)]){const _0x387ee6=this[_0x3ab5f2(0x1b3)](RangeError,_0x3ab5f2(0xf8)+this['_opcode'],!0x0,0x3ea,_0x3ab5f2(0x12a));_0x284159(_0x387ee6);return;}this[_0x3ab5f2(0xe3)]=_0x1c3892;}else{if(this[_0x3ab5f2(0x26d)]>0x7&&this[_0x3ab5f2(0x26d)]<0xb){if(!this['_fin']){const _0x24d5cb=this[_0x3ab5f2(0x1b3)](RangeError,_0x3ab5f2(0x1a6),!0x0,0x3ea,_0x3ab5f2(0x209));_0x284159(_0x24d5cb);return;}if(_0x1c3892){const _0x3dbc63=this[_0x3ab5f2(0x1b3)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ab5f2(0x21d));_0x284159(_0x3dbc63);return;}if(this['_payloadLength']>0x7d||this[_0x3ab5f2(0x26d)]===0x8&&this[_0x3ab5f2(0x1b4)]===0x1){const _0x12dd5c=this[_0x3ab5f2(0x1b3)](RangeError,_0x3ab5f2(0x185)+this[_0x3ab5f2(0x1b4)],!0x0,0x3ea,_0x3ab5f2(0x177));_0x284159(_0x12dd5c);return;}}else{const _0x13c60f=this[_0x3ab5f2(0x1b3)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x3ab5f2(0x12a));_0x284159(_0x13c60f);return;}}}if(!this[_0x3ab5f2(0x17a)]&&!this[_0x3ab5f2(0x270)]&&(this[_0x3ab5f2(0x270)]=this[_0x3ab5f2(0x26d)]),this[_0x3ab5f2(0x113)]=(_0xfc11c1[0x1]&0x80)===0x80,this[_0x3ab5f2(0x20b)]){if(!this[_0x3ab5f2(0x113)]){const _0x3f9f6f=this[_0x3ab5f2(0x1b3)](RangeError,_0x3ab5f2(0x248),!0x0,0x3ea,_0x3ab5f2(0x144));_0x284159(_0x3f9f6f);return;}}else{if(this[_0x3ab5f2(0x113)]){const _0x401387=this[_0x3ab5f2(0x1b3)](RangeError,_0x3ab5f2(0xfc),!0x0,0x3ea,_0x3ab5f2(0x229));_0x284159(_0x401387);return;}}this['_payloadLength']===0x7e?this[_0x3ab5f2(0x27d)]=_0x8b5c1:this['_payloadLength']===0x7f?this[_0x3ab5f2(0x27d)]=_0x1e0491:this[_0x3ab5f2(0x1d2)](_0x284159);}[_0x1362a8(0x1da)](_0x3ad705){const _0x173a37=_0x1362a8;if(this[_0x173a37(0x167)]<0x2){this[_0x173a37(0x280)]=!0x1;return;}this[_0x173a37(0x1b4)]=this[_0x173a37(0x251)](0x2)[_0x173a37(0x1a0)](0x0),this[_0x173a37(0x1d2)](_0x3ad705);}['getPayloadLength64'](_0x40c540){const _0x1b1c60=_0x1362a8;if(this['_bufferedBytes']<0x8){this[_0x1b1c60(0x280)]=!0x1;return;}const _0x3003aa=this[_0x1b1c60(0x251)](0x8),_0x1d5257=_0x3003aa[_0x1b1c60(0x210)](0x0);if(_0x1d5257>Math[_0x1b1c60(0x196)](0x2,0x15)-0x1){const _0x511a50=this['createError'](RangeError,_0x1b1c60(0x119),!0x1,0x3f1,_0x1b1c60(0x21a));_0x40c540(_0x511a50);return;}this['_payloadLength']=_0x1d5257*Math[_0x1b1c60(0x196)](0x2,0x20)+_0x3003aa['readUInt32BE'](0x4),this[_0x1b1c60(0x1d2)](_0x40c540);}[_0x1362a8(0x1d2)](_0xb15e6c){const _0x5dc125=_0x1362a8;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x5dc125(0x178)]+=this[_0x5dc125(0x1b4)],this['_totalPayloadLength']>this[_0x5dc125(0x23f)]&&this['_maxPayload']>0x0)){const _0x1c8bfa=this[_0x5dc125(0x1b3)](RangeError,_0x5dc125(0x118),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xb15e6c(_0x1c8bfa);return;}this[_0x5dc125(0x113)]?this[_0x5dc125(0x27d)]=_0x2b2481:this[_0x5dc125(0x27d)]=_0x1a3478;}[_0x1362a8(0xde)](){const _0x2d283f=_0x1362a8;if(this[_0x2d283f(0x167)]<0x4){this[_0x2d283f(0x280)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x2d283f(0x27d)]=_0x1a3478;}['getData'](_0x5d3cf7){const _0xca4e07=_0x1362a8;let _0x1398ff=_0x24dc29;if(this[_0xca4e07(0x1b4)]){if(this[_0xca4e07(0x167)]<this['_payloadLength']){this[_0xca4e07(0x280)]=!0x1;return;}_0x1398ff=this[_0xca4e07(0x251)](this[_0xca4e07(0x1b4)]),this['_masked']&&(this[_0xca4e07(0x281)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0xca4e07(0x281)][0x3])!==0x0&&_0x251a8a(_0x1398ff,this[_0xca4e07(0x281)]);}if(this[_0xca4e07(0x26d)]>0x7){this[_0xca4e07(0x1ff)](_0x1398ff,_0x5d3cf7);return;}if(this[_0xca4e07(0xe3)]){this['_state']=_0x19f27a,this[_0xca4e07(0x125)](_0x1398ff,_0x5d3cf7);return;}_0x1398ff[_0xca4e07(0x273)]&&(this[_0xca4e07(0x13c)]=this[_0xca4e07(0x178)],this[_0xca4e07(0x1f5)]['push'](_0x1398ff)),this['dataMessage'](_0x5d3cf7);}[_0x1362a8(0x125)](_0x481ae9,_0x1b1e14){const _0x54c1a1=_0x1362a8;this[_0x54c1a1(0x198)][_0x450c8b[_0x54c1a1(0x1cd)]][_0x54c1a1(0x125)](_0x481ae9,this[_0x54c1a1(0x17a)],(_0xb9950a,_0x2c33ee)=>{const _0x5b98df=_0x54c1a1;if(_0xb9950a)return _0x1b1e14(_0xb9950a);if(_0x2c33ee['length']){if(this[_0x5b98df(0x13c)]+=_0x2c33ee[_0x5b98df(0x273)],this[_0x5b98df(0x13c)]>this[_0x5b98df(0x23f)]&&this[_0x5b98df(0x23f)]>0x0){const _0x979548=this['createError'](RangeError,_0x5b98df(0x118),!0x1,0x3f1,_0x5b98df(0x1b7));_0x1b1e14(_0x979548);return;}this[_0x5b98df(0x1f5)][_0x5b98df(0x274)](_0x2c33ee);}this[_0x5b98df(0x14e)](_0x1b1e14),this[_0x5b98df(0x27d)]===_0xf53fd7&&this[_0x5b98df(0x103)](_0x1b1e14);});}['dataMessage'](_0x1b0f78){const _0x3983b9=_0x1362a8;if(!this[_0x3983b9(0x17a)]){this[_0x3983b9(0x27d)]=_0xf53fd7;return;}const _0x44d6d5=this[_0x3983b9(0x13c)],_0xd1d3fa=this['_fragments'];if(this[_0x3983b9(0x178)]=0x0,this['_messageLength']=0x0,this[_0x3983b9(0x270)]=0x0,this[_0x3983b9(0x1f5)]=[],this[_0x3983b9(0x26d)]===0x2){let _0x4a7f43;this[_0x3983b9(0x216)]===_0x3983b9(0x17d)?_0x4a7f43=_0x127ede(_0xd1d3fa,_0x44d6d5):this[_0x3983b9(0x216)]===_0x3983b9(0x1fc)?_0x4a7f43=_0x3ddb40(_0x127ede(_0xd1d3fa,_0x44d6d5)):this[_0x3983b9(0x216)]===_0x3983b9(0x10b)?_0x4a7f43=new Blob(_0xd1d3fa):_0x4a7f43=_0xd1d3fa,this['_allowSynchronousEvents']?(this[_0x3983b9(0x161)](_0x3983b9(0x1c4),_0x4a7f43,!0x0),this[_0x3983b9(0x27d)]=_0xf53fd7):(this[_0x3983b9(0x27d)]=_0x37df8e,setImmediate(()=>{const _0x2f1ed9=_0x3983b9;this[_0x2f1ed9(0x161)]('message',_0x4a7f43,!0x0),this[_0x2f1ed9(0x27d)]=_0xf53fd7,this[_0x2f1ed9(0x103)](_0x1b0f78);}));}else{const _0x1d1210=_0x127ede(_0xd1d3fa,_0x44d6d5);if(!this[_0x3983b9(0x12c)]&&!_0x1fdfde(_0x1d1210)){const _0x46c8a6=this[_0x3983b9(0x1b3)](Error,_0x3983b9(0x175),!0x0,0x3ef,_0x3983b9(0x19c));_0x1b0f78(_0x46c8a6);return;}this['_state']===_0x19f27a||this[_0x3983b9(0x22e)]?(this['emit'](_0x3983b9(0x1c4),_0x1d1210,!0x1),this[_0x3983b9(0x27d)]=_0xf53fd7):(this[_0x3983b9(0x27d)]=_0x37df8e,setImmediate(()=>{const _0x4ed8f9=_0x3983b9;this[_0x4ed8f9(0x161)](_0x4ed8f9(0x1c4),_0x1d1210,!0x1),this[_0x4ed8f9(0x27d)]=_0xf53fd7,this[_0x4ed8f9(0x103)](_0x1b0f78);}));}}[_0x1362a8(0x1ff)](_0x43f8de,_0x58dd93){const _0x58dcd2=_0x1362a8;if(this['_opcode']===0x8){if(_0x43f8de[_0x58dcd2(0x273)]===0x0)this[_0x58dcd2(0x280)]=!0x1,this[_0x58dcd2(0x161)](_0x58dcd2(0x211),0x3ed,_0x24dc29),this['end']();else{const _0x2cc1b4=_0x43f8de[_0x58dcd2(0x1a0)](0x0);if(!_0x52ccd2(_0x2cc1b4)){const _0x178c72=this[_0x58dcd2(0x1b3)](RangeError,_0x58dcd2(0x13a)+_0x2cc1b4,!0x0,0x3ea,_0x58dcd2(0x101));_0x58dd93(_0x178c72);return;}const _0x47b511=new _0x56f9fc(_0x43f8de[_0x58dcd2(0x28b)],_0x43f8de['byteOffset']+0x2,_0x43f8de[_0x58dcd2(0x273)]-0x2);if(!this[_0x58dcd2(0x12c)]&&!_0x1fdfde(_0x47b511)){const _0x542340=this[_0x58dcd2(0x1b3)](Error,_0x58dcd2(0x175),!0x0,0x3ef,_0x58dcd2(0x19c));_0x58dd93(_0x542340);return;}this['_loop']=!0x1,this[_0x58dcd2(0x161)](_0x58dcd2(0x211),_0x2cc1b4,_0x47b511),this['end']();}this[_0x58dcd2(0x27d)]=_0xf53fd7;return;}this[_0x58dcd2(0x22e)]?(this[_0x58dcd2(0x161)](this[_0x58dcd2(0x26d)]===0x9?_0x58dcd2(0x17e):'pong',_0x43f8de),this['_state']=_0xf53fd7):(this[_0x58dcd2(0x27d)]=_0x37df8e,setImmediate(()=>{const _0x1d6261=_0x58dcd2;this[_0x1d6261(0x161)](this[_0x1d6261(0x26d)]===0x9?'ping':_0x1d6261(0xe1),_0x43f8de),this['_state']=_0xf53fd7,this['startLoop'](_0x58dd93);}));}['createError'](_0x233f1a,_0x5ab18e,_0x24d240,_0x146dc8,_0x241db5){const _0x4e2b6b=_0x1362a8;this['_loop']=!0x1,this[_0x4e2b6b(0x26e)]=!0x0;const _0x22ca65=new _0x233f1a(_0x24d240?_0x4e2b6b(0x195)+_0x5ab18e:_0x5ab18e);return Error[_0x4e2b6b(0x181)](_0x22ca65,this['createError']),_0x22ca65[_0x4e2b6b(0x1f7)]=_0x241db5,_0x22ca65[_0x38ceca]=_0x146dc8,_0x22ca65;}}return Se=_0x54fa03,Se;}var Ee,et;function _t(){const _0x4123ba=_0xf72d09;if(et)return Ee;et=0x1;const {Duplex:_0x4d98f4}=_0x431779,{randomFillSync:_0x381451}=_0x49b2a2,_0x186702=he(),{EMPTY_BUFFER:_0x507662,kWebSocket:_0x145985,NOOP:_0xc8db97}=V(),{isBlob:_0x2916c6,isValidStatusCode:_0x50cd93}=ne(),{mask:_0x188148,toBuffer:_0x1a4db0}=ce(),_0x3c6eef=Symbol(_0x4123ba(0x224)),_0x21672a=Buffer[_0x4123ba(0x205)](0x4),_0x4671f1=0x8*0x400;let _0x4c1343,_0x1ce1c6=_0x4671f1;const _0x526d8c=0x0,_0x169ad8=0x1,_0x3588cb=0x2;class _0x17fae4{constructor(_0x53ab38,_0x22025e,_0xfd160){const _0x3539da=_0x4123ba;this[_0x3539da(0x198)]=_0x22025e||{},_0xfd160&&(this[_0x3539da(0x218)]=_0xfd160,this[_0x3539da(0x21e)]=Buffer[_0x3539da(0x205)](0x4)),this[_0x3539da(0x1c2)]=_0x53ab38,this[_0x3539da(0x227)]=!0x0,this[_0x3539da(0x1ae)]=!0x1,this[_0x3539da(0x167)]=0x0,this[_0x3539da(0x288)]=[],this[_0x3539da(0x27d)]=_0x526d8c,this[_0x3539da(0xe8)]=_0xc8db97,this[_0x145985]=void 0x0;}static['frame'](_0x2613e6,_0x41772e){const _0x5fdba2=_0x4123ba;let _0x403d7b,_0x2ce381=!0x1,_0x77682e=0x2,_0x2dacc7=!0x1;_0x41772e[_0x5fdba2(0x102)]&&(_0x403d7b=_0x41772e[_0x5fdba2(0x25c)]||_0x21672a,_0x41772e[_0x5fdba2(0x111)]?_0x41772e[_0x5fdba2(0x111)](_0x403d7b):(_0x1ce1c6===_0x4671f1&&(_0x4c1343===void 0x0&&(_0x4c1343=Buffer[_0x5fdba2(0x205)](_0x4671f1)),_0x381451(_0x4c1343,0x0,_0x4671f1),_0x1ce1c6=0x0),_0x403d7b[0x0]=_0x4c1343[_0x1ce1c6++],_0x403d7b[0x1]=_0x4c1343[_0x1ce1c6++],_0x403d7b[0x2]=_0x4c1343[_0x1ce1c6++],_0x403d7b[0x3]=_0x4c1343[_0x1ce1c6++]),_0x2dacc7=(_0x403d7b[0x0]|_0x403d7b[0x1]|_0x403d7b[0x2]|_0x403d7b[0x3])===0x0,_0x77682e=0x6);let _0x5d9269;typeof _0x2613e6=='string'?(!_0x41772e[_0x5fdba2(0x102)]||_0x2dacc7)&&_0x41772e[_0x3c6eef]!==void 0x0?_0x5d9269=_0x41772e[_0x3c6eef]:(_0x2613e6=Buffer[_0x5fdba2(0x10c)](_0x2613e6),_0x5d9269=_0x2613e6[_0x5fdba2(0x273)]):(_0x5d9269=_0x2613e6[_0x5fdba2(0x273)],_0x2ce381=_0x41772e[_0x5fdba2(0x102)]&&_0x41772e[_0x5fdba2(0x26b)]&&!_0x2dacc7);let _0x347c66=_0x5d9269;_0x5d9269>=0x10000?(_0x77682e+=0x8,_0x347c66=0x7f):_0x5d9269>0x7d&&(_0x77682e+=0x2,_0x347c66=0x7e);const _0x1a8067=Buffer['allocUnsafe'](_0x2ce381?_0x5d9269+_0x77682e:_0x77682e);return _0x1a8067[0x0]=_0x41772e[_0x5fdba2(0xf3)]?_0x41772e[_0x5fdba2(0x235)]|0x80:_0x41772e[_0x5fdba2(0x235)],_0x41772e['rsv1']&&(_0x1a8067[0x0]|=0x40),_0x1a8067[0x1]=_0x347c66,_0x347c66===0x7e?_0x1a8067['writeUInt16BE'](_0x5d9269,0x2):_0x347c66===0x7f&&(_0x1a8067[0x2]=_0x1a8067[0x3]=0x0,_0x1a8067[_0x5fdba2(0x1a2)](_0x5d9269,0x4,0x6)),_0x41772e[_0x5fdba2(0x102)]?(_0x1a8067[0x1]|=0x80,_0x1a8067[_0x77682e-0x4]=_0x403d7b[0x0],_0x1a8067[_0x77682e-0x3]=_0x403d7b[0x1],_0x1a8067[_0x77682e-0x2]=_0x403d7b[0x2],_0x1a8067[_0x77682e-0x1]=_0x403d7b[0x3],_0x2dacc7?[_0x1a8067,_0x2613e6]:_0x2ce381?(_0x188148(_0x2613e6,_0x403d7b,_0x1a8067,_0x77682e,_0x5d9269),[_0x1a8067]):(_0x188148(_0x2613e6,_0x403d7b,_0x2613e6,0x0,_0x5d9269),[_0x1a8067,_0x2613e6])):[_0x1a8067,_0x2613e6];}[_0x4123ba(0x1d7)](_0x2e055e,_0x2803db,_0x2e1dbf,_0x98518c){const _0xd9d78a=_0x4123ba;let _0x2700e2;if(_0x2e055e===void 0x0)_0x2700e2=_0x507662;else{if(typeof _0x2e055e!=_0xd9d78a(0x20e)||!_0x50cd93(_0x2e055e))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2803db===void 0x0||!_0x2803db[_0xd9d78a(0x273)])_0x2700e2=Buffer['allocUnsafe'](0x2),_0x2700e2[_0xd9d78a(0x1b2)](_0x2e055e,0x0);else{const _0x52e5e4=Buffer[_0xd9d78a(0x20c)](_0x2803db);if(_0x52e5e4>0x7b)throw new RangeError(_0xd9d78a(0x22d));_0x2700e2=Buffer['allocUnsafe'](0x2+_0x52e5e4),_0x2700e2[_0xd9d78a(0x1b2)](_0x2e055e,0x0),typeof _0x2803db==_0xd9d78a(0x124)?_0x2700e2['write'](_0x2803db,0x2):_0x2700e2[_0xd9d78a(0x135)](_0x2803db,0x2);}}const _0x243c7c={[_0x3c6eef]:_0x2700e2['length'],'fin':!0x0,'generateMask':this[_0xd9d78a(0x218)],'mask':_0x2e1dbf,'maskBuffer':this[_0xd9d78a(0x21e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xd9d78a(0x27d)]!==_0x526d8c?this[_0xd9d78a(0x1fb)]([this['dispatch'],_0x2700e2,!0x1,_0x243c7c,_0x98518c]):this[_0xd9d78a(0x1fd)](_0x17fae4[_0xd9d78a(0x282)](_0x2700e2,_0x243c7c),_0x98518c);}[_0x4123ba(0x17e)](_0x431288,_0x39a453,_0x53d2fc){const _0x20ed5c=_0x4123ba;let _0x230c74,_0x251912;if(typeof _0x431288==_0x20ed5c(0x124)?(_0x230c74=Buffer[_0x20ed5c(0x20c)](_0x431288),_0x251912=!0x1):_0x2916c6(_0x431288)?(_0x230c74=_0x431288[_0x20ed5c(0x1be)],_0x251912=!0x1):(_0x431288=_0x1a4db0(_0x431288),_0x230c74=_0x431288[_0x20ed5c(0x273)],_0x251912=_0x1a4db0[_0x20ed5c(0x26b)]),_0x230c74>0x7d)throw new RangeError(_0x20ed5c(0x228));const _0xe1fefb={[_0x3c6eef]:_0x230c74,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x39a453,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x251912,'rsv1':!0x1};_0x2916c6(_0x431288)?this[_0x20ed5c(0x27d)]!==_0x526d8c?this[_0x20ed5c(0x1fb)]([this['getBlobData'],_0x431288,!0x1,_0xe1fefb,_0x53d2fc]):this[_0x20ed5c(0x169)](_0x431288,!0x1,_0xe1fefb,_0x53d2fc):this[_0x20ed5c(0x27d)]!==_0x526d8c?this['enqueue']([this['dispatch'],_0x431288,!0x1,_0xe1fefb,_0x53d2fc]):this[_0x20ed5c(0x1fd)](_0x17fae4[_0x20ed5c(0x282)](_0x431288,_0xe1fefb),_0x53d2fc);}[_0x4123ba(0xe1)](_0x579ab8,_0x568464,_0xe67f2){const _0x38cbc1=_0x4123ba;let _0x272cc6,_0x295a4e;if(typeof _0x579ab8==_0x38cbc1(0x124)?(_0x272cc6=Buffer['byteLength'](_0x579ab8),_0x295a4e=!0x1):_0x2916c6(_0x579ab8)?(_0x272cc6=_0x579ab8['size'],_0x295a4e=!0x1):(_0x579ab8=_0x1a4db0(_0x579ab8),_0x272cc6=_0x579ab8[_0x38cbc1(0x273)],_0x295a4e=_0x1a4db0['readOnly']),_0x272cc6>0x7d)throw new RangeError(_0x38cbc1(0x228));const _0x443a3b={[_0x3c6eef]:_0x272cc6,'fin':!0x0,'generateMask':this[_0x38cbc1(0x218)],'mask':_0x568464,'maskBuffer':this[_0x38cbc1(0x21e)],'opcode':0xa,'readOnly':_0x295a4e,'rsv1':!0x1};_0x2916c6(_0x579ab8)?this[_0x38cbc1(0x27d)]!==_0x526d8c?this[_0x38cbc1(0x1fb)]([this[_0x38cbc1(0x169)],_0x579ab8,!0x1,_0x443a3b,_0xe67f2]):this[_0x38cbc1(0x169)](_0x579ab8,!0x1,_0x443a3b,_0xe67f2):this[_0x38cbc1(0x27d)]!==_0x526d8c?this[_0x38cbc1(0x1fb)]([this[_0x38cbc1(0x1d0)],_0x579ab8,!0x1,_0x443a3b,_0xe67f2]):this[_0x38cbc1(0x1fd)](_0x17fae4[_0x38cbc1(0x282)](_0x579ab8,_0x443a3b),_0xe67f2);}[_0x4123ba(0x110)](_0x3ba2d4,_0x1deb96,_0x27d5a7){const _0x301d10=_0x4123ba,_0x550ddc=this['_extensions'][_0x186702[_0x301d10(0x1cd)]];let _0x58cb44=_0x1deb96[_0x301d10(0x1b5)]?0x2:0x1,_0x29957f=_0x1deb96[_0x301d10(0xe7)],_0x42378b,_0x47f997;typeof _0x3ba2d4==_0x301d10(0x124)?(_0x42378b=Buffer[_0x301d10(0x20c)](_0x3ba2d4),_0x47f997=!0x1):_0x2916c6(_0x3ba2d4)?(_0x42378b=_0x3ba2d4['size'],_0x47f997=!0x1):(_0x3ba2d4=_0x1a4db0(_0x3ba2d4),_0x42378b=_0x3ba2d4[_0x301d10(0x273)],_0x47f997=_0x1a4db0[_0x301d10(0x26b)]),this[_0x301d10(0x227)]?(this[_0x301d10(0x227)]=!0x1,_0x29957f&&_0x550ddc&&_0x550ddc['params'][_0x550ddc[_0x301d10(0x20b)]?_0x301d10(0x1f8):_0x301d10(0x117)]&&(_0x29957f=_0x42378b>=_0x550ddc[_0x301d10(0x112)]),this[_0x301d10(0x1ae)]=_0x29957f):(_0x29957f=!0x1,_0x58cb44=0x0),_0x1deb96[_0x301d10(0xf3)]&&(this[_0x301d10(0x227)]=!0x0);const _0x38396d={[_0x3c6eef]:_0x42378b,'fin':_0x1deb96[_0x301d10(0xf3)],'generateMask':this[_0x301d10(0x218)],'mask':_0x1deb96['mask'],'maskBuffer':this[_0x301d10(0x21e)],'opcode':_0x58cb44,'readOnly':_0x47f997,'rsv1':_0x29957f};_0x2916c6(_0x3ba2d4)?this[_0x301d10(0x27d)]!==_0x526d8c?this[_0x301d10(0x1fb)]([this[_0x301d10(0x169)],_0x3ba2d4,this[_0x301d10(0x1ae)],_0x38396d,_0x27d5a7]):this[_0x301d10(0x169)](_0x3ba2d4,this['_compress'],_0x38396d,_0x27d5a7):this[_0x301d10(0x27d)]!==_0x526d8c?this[_0x301d10(0x1fb)]([this[_0x301d10(0x1d0)],_0x3ba2d4,this[_0x301d10(0x1ae)],_0x38396d,_0x27d5a7]):this[_0x301d10(0x1d0)](_0x3ba2d4,this['_compress'],_0x38396d,_0x27d5a7);}[_0x4123ba(0x169)](_0x3fe488,_0x3379c4,_0x4f6b74,_0x19904b){const _0x2e827c=_0x4123ba;this[_0x2e827c(0x167)]+=_0x4f6b74[_0x3c6eef],this['_state']=_0x3588cb,_0x3fe488['arrayBuffer']()[_0x2e827c(0x1aa)](_0x2f5d99=>{const _0x2f9601=_0x2e827c;if(this['_socket'][_0x2f9601(0x289)]){const _0x1f7f8a=new Error(_0x2f9601(0x14d));process[_0x2f9601(0x11a)](_0x111995,this,_0x1f7f8a,_0x19904b);return;}this[_0x2f9601(0x167)]-=_0x4f6b74[_0x3c6eef];const _0x1c1e56=_0x1a4db0(_0x2f5d99);_0x3379c4?this[_0x2f9601(0x1d0)](_0x1c1e56,_0x3379c4,_0x4f6b74,_0x19904b):(this['_state']=_0x526d8c,this['sendFrame'](_0x17fae4[_0x2f9601(0x282)](_0x1c1e56,_0x4f6b74),_0x19904b),this['dequeue']());})[_0x2e827c(0x127)](_0x559a53=>{const _0x3c1f52=_0x2e827c;process[_0x3c1f52(0x11a)](_0x43907c,this,_0x559a53,_0x19904b);});}['dispatch'](_0x3ff208,_0x23472d,_0x5ed965,_0x485c19){const _0x3a3055=_0x4123ba;if(!_0x23472d){this['sendFrame'](_0x17fae4[_0x3a3055(0x282)](_0x3ff208,_0x5ed965),_0x485c19);return;}const _0x19e779=this['_extensions'][_0x186702[_0x3a3055(0x1cd)]];this['_bufferedBytes']+=_0x5ed965[_0x3c6eef],this[_0x3a3055(0x27d)]=_0x169ad8,_0x19e779[_0x3a3055(0xe7)](_0x3ff208,_0x5ed965[_0x3a3055(0xf3)],(_0x4ea15d,_0x50fff0)=>{const _0x2adbef=_0x3a3055;if(this['_socket'][_0x2adbef(0x289)]){const _0x3c127a=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x111995(this,_0x3c127a,_0x485c19);return;}this[_0x2adbef(0x167)]-=_0x5ed965[_0x3c6eef],this[_0x2adbef(0x27d)]=_0x526d8c,_0x5ed965['readOnly']=!0x1,this[_0x2adbef(0x1fd)](_0x17fae4[_0x2adbef(0x282)](_0x50fff0,_0x5ed965),_0x485c19),this[_0x2adbef(0x173)]();});}['dequeue'](){const _0x3dd0ab=_0x4123ba;for(;this['_state']===_0x526d8c&&this[_0x3dd0ab(0x288)][_0x3dd0ab(0x273)];){const _0xfd7db=this['_queue'][_0x3dd0ab(0x240)]();this[_0x3dd0ab(0x167)]-=_0xfd7db[0x3][_0x3c6eef],Reflect[_0x3dd0ab(0x15b)](_0xfd7db[0x0],this,_0xfd7db[_0x3dd0ab(0x164)](0x1));}}[_0x4123ba(0x1fb)](_0x17cb8e){const _0x29321e=_0x4123ba;this['_bufferedBytes']+=_0x17cb8e[0x3][_0x3c6eef],this['_queue'][_0x29321e(0x274)](_0x17cb8e);}[_0x4123ba(0x1fd)](_0x329d04,_0x5f3c3c){const _0x2eee82=_0x4123ba;_0x329d04['length']===0x2?(this['_socket'][_0x2eee82(0x267)](),this['_socket'][_0x2eee82(0x23e)](_0x329d04[0x0]),this[_0x2eee82(0x1c2)][_0x2eee82(0x23e)](_0x329d04[0x1],_0x5f3c3c),this[_0x2eee82(0x1c2)]['uncork']()):this[_0x2eee82(0x1c2)][_0x2eee82(0x23e)](_0x329d04[0x0],_0x5f3c3c);}}Ee=_0x17fae4;function _0x111995(_0x40a0fd,_0x577d9c,_0x45ddb9){const _0x266c2e=_0x4123ba;typeof _0x45ddb9=='function'&&_0x45ddb9(_0x577d9c);for(let _0x250b9d=0x0;_0x250b9d<_0x40a0fd[_0x266c2e(0x288)]['length'];_0x250b9d++){const _0x3c1374=_0x40a0fd['_queue'][_0x250b9d],_0xd39160=_0x3c1374[_0x3c1374[_0x266c2e(0x273)]-0x1];typeof _0xd39160==_0x266c2e(0xe0)&&_0xd39160(_0x577d9c);}}function _0x43907c(_0x5b1663,_0x228976,_0x1343e4){const _0x21c64c=_0x4123ba;_0x111995(_0x5b1663,_0x228976,_0x1343e4),_0x5b1663[_0x21c64c(0xe8)](_0x228976);}return Ee;}var xe,tt;function Kt(){const _0x37983f=_0xf72d09;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x550825,kListener:_0x10f4a4}=V(),_0x19c973=Symbol(_0x37983f(0x1dd)),_0x134eb2=Symbol('kData'),_0x2b8e59=Symbol(_0x37983f(0x1f6)),_0x26d1f5=Symbol(_0x37983f(0x130)),_0x584bf2=Symbol(_0x37983f(0x174)),_0x4aaa1b=Symbol(_0x37983f(0x1a4)),_0x587283=Symbol('kType'),_0x421eea=Symbol(_0x37983f(0x1ec));class _0x5752a8{constructor(_0x9bf5c0){this[_0x4aaa1b]=null,this[_0x587283]=_0x9bf5c0;}get[_0x37983f(0x23b)](){return this[_0x4aaa1b];}get['type'](){return this[_0x587283];}}Object[_0x37983f(0x148)](_0x5752a8[_0x37983f(0x18d)],'target',{'enumerable':!0x0}),Object[_0x37983f(0x148)](_0x5752a8[_0x37983f(0x18d)],_0x37983f(0x16c),{'enumerable':!0x0});class _0xf4d154 extends _0x5752a8{constructor(_0x1bd89e,_0x36285e={}){const _0x18ed19=_0x37983f;super(_0x1bd89e),this[_0x19c973]=_0x36285e[_0x18ed19(0x1f7)]===void 0x0?0x0:_0x36285e[_0x18ed19(0x1f7)],this[_0x584bf2]=_0x36285e[_0x18ed19(0x26c)]===void 0x0?'':_0x36285e[_0x18ed19(0x26c)],this[_0x421eea]=_0x36285e[_0x18ed19(0x206)]===void 0x0?!0x1:_0x36285e['wasClean'];}get['code'](){return this[_0x19c973];}get[_0x37983f(0x26c)](){return this[_0x584bf2];}get[_0x37983f(0x206)](){return this[_0x421eea];}}Object[_0x37983f(0x148)](_0xf4d154[_0x37983f(0x18d)],_0x37983f(0x1f7),{'enumerable':!0x0}),Object[_0x37983f(0x148)](_0xf4d154[_0x37983f(0x18d)],_0x37983f(0x26c),{'enumerable':!0x0}),Object[_0x37983f(0x148)](_0xf4d154['prototype'],_0x37983f(0x206),{'enumerable':!0x0});class _0x2af14b extends _0x5752a8{constructor(_0x1757e1,_0x3d5a62={}){const _0x14a247=_0x37983f;super(_0x1757e1),this[_0x2b8e59]=_0x3d5a62['error']===void 0x0?null:_0x3d5a62[_0x14a247(0x13b)],this[_0x26d1f5]=_0x3d5a62[_0x14a247(0x1c4)]===void 0x0?'':_0x3d5a62[_0x14a247(0x1c4)];}get[_0x37983f(0x13b)](){return this[_0x2b8e59];}get[_0x37983f(0x1c4)](){return this[_0x26d1f5];}}Object[_0x37983f(0x148)](_0x2af14b[_0x37983f(0x18d)],_0x37983f(0x13b),{'enumerable':!0x0}),Object['defineProperty'](_0x2af14b[_0x37983f(0x18d)],'message',{'enumerable':!0x0});class _0x50b193 extends _0x5752a8{constructor(_0x494022,_0x4cde0d={}){const _0xbd6c46=_0x37983f;super(_0x494022),this[_0x134eb2]=_0x4cde0d[_0xbd6c46(0xff)]===void 0x0?null:_0x4cde0d[_0xbd6c46(0xff)];}get[_0x37983f(0xff)](){return this[_0x134eb2];}}Object[_0x37983f(0x148)](_0x50b193[_0x37983f(0x18d)],_0x37983f(0xff),{'enumerable':!0x0}),xe={'CloseEvent':_0xf4d154,'ErrorEvent':_0x2af14b,'Event':_0x5752a8,'EventTarget':{'addEventListener'(_0x5f39a9,_0x4dd6e7,_0x22f429={}){const _0x14f47a=_0x37983f;for(const _0x481944 of this['listeners'](_0x5f39a9))if(!_0x22f429[_0x550825]&&_0x481944[_0x10f4a4]===_0x4dd6e7&&!_0x481944[_0x550825])return;let _0x12c22d;if(_0x5f39a9==='message')_0x12c22d=function(_0x16083a,_0x1bc85e){const _0x584763=_0x5d02,_0x20883e=new _0x50b193(_0x584763(0x1c4),{'data':_0x1bc85e?_0x16083a:_0x16083a[_0x584763(0x27e)]()});_0x20883e[_0x4aaa1b]=this,_0x5ab1e9(_0x4dd6e7,this,_0x20883e);};else{if(_0x5f39a9===_0x14f47a(0x1d7))_0x12c22d=function(_0x5da8d9,_0x560f37){const _0xa213b8=_0x14f47a,_0x5c76c7=new _0xf4d154(_0xa213b8(0x1d7),{'code':_0x5da8d9,'reason':_0x560f37[_0xa213b8(0x27e)](),'wasClean':this[_0xa213b8(0x217)]&&this['_closeFrameSent']});_0x5c76c7[_0x4aaa1b]=this,_0x5ab1e9(_0x4dd6e7,this,_0x5c76c7);};else{if(_0x5f39a9===_0x14f47a(0x13b))_0x12c22d=function(_0x4daaaf){const _0x11e049=_0x14f47a,_0x30784b=new _0x2af14b(_0x11e049(0x13b),{'error':_0x4daaaf,'message':_0x4daaaf[_0x11e049(0x1c4)]});_0x30784b[_0x4aaa1b]=this,_0x5ab1e9(_0x4dd6e7,this,_0x30784b);};else{if(_0x5f39a9==='open')_0x12c22d=function(){const _0x45f9ab=new _0x5752a8('open');_0x45f9ab[_0x4aaa1b]=this,_0x5ab1e9(_0x4dd6e7,this,_0x45f9ab);};else return;}}}_0x12c22d[_0x550825]=!!_0x22f429[_0x550825],_0x12c22d[_0x10f4a4]=_0x4dd6e7,_0x22f429[_0x14f47a(0xea)]?this[_0x14f47a(0xea)](_0x5f39a9,_0x12c22d):this['on'](_0x5f39a9,_0x12c22d);},'removeEventListener'(_0x26c2bc,_0x138025){const _0x6d042f=_0x37983f;for(const _0x4bb47b of this[_0x6d042f(0x225)](_0x26c2bc))if(_0x4bb47b[_0x10f4a4]===_0x138025&&!_0x4bb47b[_0x550825]){this[_0x6d042f(0x1c7)](_0x26c2bc,_0x4bb47b);break;}}},'MessageEvent':_0x50b193};function _0x5ab1e9(_0x24239a,_0x1ee8a7,_0x432f49){const _0x476235=_0x37983f;typeof _0x24239a=='object'&&_0x24239a[_0x476235(0x166)]?_0x24239a[_0x476235(0x166)]['call'](_0x24239a,_0x432f49):_0x24239a[_0x476235(0x272)](_0x1ee8a7,_0x432f49);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5e0d57}=ne();function _0x4745c8(_0x570db2,_0x4b1b3c,_0x1b7fbd){const _0x1b97e8=_0x5d02;_0x570db2[_0x4b1b3c]===void 0x0?_0x570db2[_0x4b1b3c]=[_0x1b7fbd]:_0x570db2[_0x4b1b3c][_0x1b97e8(0x274)](_0x1b7fbd);}function _0x223b8a(_0x23ba79){const _0x45901f=_0x5d02,_0x4baabb=Object[_0x45901f(0x17c)](null);let _0x4ef9ec=Object[_0x45901f(0x17c)](null),_0x450ffd=!0x1,_0x422d5d=!0x1,_0x5d18e8=!0x1,_0x410a7e,_0x5c888,_0x3d9594=-0x1,_0x1def58=-0x1,_0xf4ff53=-0x1,_0x5a314b=0x0;for(;_0x5a314b<_0x23ba79[_0x45901f(0x273)];_0x5a314b++)if(_0x1def58=_0x23ba79['charCodeAt'](_0x5a314b),_0x410a7e===void 0x0){if(_0xf4ff53===-0x1&&_0x5e0d57[_0x1def58]===0x1)_0x3d9594===-0x1&&(_0x3d9594=_0x5a314b);else{if(_0x5a314b!==0x0&&(_0x1def58===0x20||_0x1def58===0x9))_0xf4ff53===-0x1&&_0x3d9594!==-0x1&&(_0xf4ff53=_0x5a314b);else{if(_0x1def58===0x3b||_0x1def58===0x2c){if(_0x3d9594===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5a314b);_0xf4ff53===-0x1&&(_0xf4ff53=_0x5a314b);const _0x469acc=_0x23ba79[_0x45901f(0x164)](_0x3d9594,_0xf4ff53);_0x1def58===0x2c?(_0x4745c8(_0x4baabb,_0x469acc,_0x4ef9ec),_0x4ef9ec=Object[_0x45901f(0x17c)](null)):_0x410a7e=_0x469acc,_0x3d9594=_0xf4ff53=-0x1;}else throw new SyntaxError(_0x45901f(0x1c6)+_0x5a314b);}}}else{if(_0x5c888===void 0x0){if(_0xf4ff53===-0x1&&_0x5e0d57[_0x1def58]===0x1)_0x3d9594===-0x1&&(_0x3d9594=_0x5a314b);else{if(_0x1def58===0x20||_0x1def58===0x9)_0xf4ff53===-0x1&&_0x3d9594!==-0x1&&(_0xf4ff53=_0x5a314b);else{if(_0x1def58===0x3b||_0x1def58===0x2c){if(_0x3d9594===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5a314b);_0xf4ff53===-0x1&&(_0xf4ff53=_0x5a314b),_0x4745c8(_0x4ef9ec,_0x23ba79[_0x45901f(0x164)](_0x3d9594,_0xf4ff53),!0x0),_0x1def58===0x2c&&(_0x4745c8(_0x4baabb,_0x410a7e,_0x4ef9ec),_0x4ef9ec=Object[_0x45901f(0x17c)](null),_0x410a7e=void 0x0),_0x3d9594=_0xf4ff53=-0x1;}else{if(_0x1def58===0x3d&&_0x3d9594!==-0x1&&_0xf4ff53===-0x1)_0x5c888=_0x23ba79['slice'](_0x3d9594,_0x5a314b),_0x3d9594=_0xf4ff53=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5a314b);}}}}else{if(_0x422d5d){if(_0x5e0d57[_0x1def58]!==0x1)throw new SyntaxError(_0x45901f(0x1c6)+_0x5a314b);_0x3d9594===-0x1?_0x3d9594=_0x5a314b:_0x450ffd||(_0x450ffd=!0x0),_0x422d5d=!0x1;}else{if(_0x5d18e8){if(_0x5e0d57[_0x1def58]===0x1)_0x3d9594===-0x1&&(_0x3d9594=_0x5a314b);else{if(_0x1def58===0x22&&_0x3d9594!==-0x1)_0x5d18e8=!0x1,_0xf4ff53=_0x5a314b;else{if(_0x1def58===0x5c)_0x422d5d=!0x0;else throw new SyntaxError(_0x45901f(0x1c6)+_0x5a314b);}}}else{if(_0x1def58===0x22&&_0x23ba79[_0x45901f(0x28d)](_0x5a314b-0x1)===0x3d)_0x5d18e8=!0x0;else{if(_0xf4ff53===-0x1&&_0x5e0d57[_0x1def58]===0x1)_0x3d9594===-0x1&&(_0x3d9594=_0x5a314b);else{if(_0x3d9594!==-0x1&&(_0x1def58===0x20||_0x1def58===0x9))_0xf4ff53===-0x1&&(_0xf4ff53=_0x5a314b);else{if(_0x1def58===0x3b||_0x1def58===0x2c){if(_0x3d9594===-0x1)throw new SyntaxError(_0x45901f(0x1c6)+_0x5a314b);_0xf4ff53===-0x1&&(_0xf4ff53=_0x5a314b);let _0x25647b=_0x23ba79['slice'](_0x3d9594,_0xf4ff53);_0x450ffd&&(_0x25647b=_0x25647b[_0x45901f(0x190)](/\\/g,''),_0x450ffd=!0x1),_0x4745c8(_0x4ef9ec,_0x5c888,_0x25647b),_0x1def58===0x2c&&(_0x4745c8(_0x4baabb,_0x410a7e,_0x4ef9ec),_0x4ef9ec=Object[_0x45901f(0x17c)](null),_0x410a7e=void 0x0),_0x5c888=void 0x0,_0x3d9594=_0xf4ff53=-0x1;}else throw new SyntaxError(_0x45901f(0x1c6)+_0x5a314b);}}}}}}}if(_0x3d9594===-0x1||_0x5d18e8||_0x1def58===0x20||_0x1def58===0x9)throw new SyntaxError(_0x45901f(0xef));_0xf4ff53===-0x1&&(_0xf4ff53=_0x5a314b);const _0x311a79=_0x23ba79[_0x45901f(0x164)](_0x3d9594,_0xf4ff53);return _0x410a7e===void 0x0?_0x4745c8(_0x4baabb,_0x311a79,_0x4ef9ec):(_0x5c888===void 0x0?_0x4745c8(_0x4ef9ec,_0x311a79,!0x0):_0x450ffd?_0x4745c8(_0x4ef9ec,_0x5c888,_0x311a79[_0x45901f(0x190)](/\\/g,'')):_0x4745c8(_0x4ef9ec,_0x5c888,_0x311a79),_0x4745c8(_0x4baabb,_0x410a7e,_0x4ef9ec)),_0x4baabb;}function _0x170868(_0xda2da){const _0x53fb3f=_0x5d02;return Object[_0x53fb3f(0x23a)](_0xda2da)['map'](_0x583ee2=>{const _0x12ce8a=_0x53fb3f;let _0x42f8d7=_0xda2da[_0x583ee2];return Array[_0x12ce8a(0x24f)](_0x42f8d7)||(_0x42f8d7=[_0x42f8d7]),_0x42f8d7[_0x12ce8a(0x165)](_0x17fc14=>[_0x583ee2]['concat'](Object[_0x12ce8a(0x23a)](_0x17fc14)['map'](_0x47f1d8=>{const _0x2ff943=_0x12ce8a;let _0x2f7da2=_0x17fc14[_0x47f1d8];return Array[_0x2ff943(0x24f)](_0x2f7da2)||(_0x2f7da2=[_0x2f7da2]),_0x2f7da2[_0x2ff943(0x165)](_0x4038a4=>_0x4038a4===!0x0?_0x47f1d8:_0x47f1d8+'='+_0x4038a4)['join'](';\x20');}))[_0x12ce8a(0x253)](';\x20'))['join'](',\x20');})[_0x53fb3f(0x253)](',\x20');}return be={'format':_0x170868,'parse':_0x223b8a},be;}var we,st;function Ie(){const _0x1cf829=_0xf72d09;if(st)return we;st=0x1;const _0x145124=_0x4d1399,_0x55ead3=_0x415145,_0x31b242=_0xb3bffe,_0x16f779=_0x54d0b8,_0x4082a8=_0xc5fc57,{randomBytes:_0xb5bb66,createHash:_0x51aa05}=_0x49b2a2,{Duplex:_0x1bbf9f,Readable:_0x2b33da}=_0x431779,{URL:_0xd3886}=_0x536a51,_0x431940=he(),_0x430f8f=dt(),_0x3535c6=_t(),{isBlob:_0x4ff837}=ne(),{BINARY_TYPES:_0x480812,EMPTY_BUFFER:_0x2f7f91,GUID:_0x2acb6f,kForOnEventAttribute:_0x162c70,kListener:_0xc8ccbb,kStatusCode:_0x4346a8,kWebSocket:_0x54d893,NOOP:_0x2f0c16}=V(),{EventTarget:{addEventListener:_0x9b0137,removeEventListener:_0x3b8099}}=Kt(),{format:_0x5c3014,parse:_0x79cc05}=pt(),{toBuffer:_0x3bf005}=ce(),_0x1a6341=0x1e*0x3e8,_0x2c1080=Symbol(_0x1cf829(0x14b)),_0x4ae87f=[0x8,0xd],_0x167ee9=[_0x1cf829(0x22c),_0x1cf829(0x287),_0x1cf829(0x150),_0x1cf829(0x16e)],_0x4f74fb=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1daafe extends _0x145124{constructor(_0x8017fc,_0xaad751,_0x214815){const _0x5ad42=_0x1cf829;super(),this[_0x5ad42(0x216)]=_0x480812[0x0],this[_0x5ad42(0x17b)]=0x3ee,this[_0x5ad42(0x217)]=!0x1,this[_0x5ad42(0x23c)]=!0x1,this['_closeMessage']=_0x2f7f91,this[_0x5ad42(0x153)]=null,this[_0x5ad42(0x1c9)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x5ad42(0x259)]='',this[_0x5ad42(0x104)]=_0x1daafe[_0x5ad42(0x22c)],this[_0x5ad42(0x12d)]=null,this['_sender']=null,this[_0x5ad42(0x1c2)]=null,_0x8017fc!==null?(this[_0x5ad42(0x1d1)]=0x0,this[_0x5ad42(0x20b)]=!0x1,this[_0x5ad42(0x279)]=0x0,_0xaad751===void 0x0?_0xaad751=[]:Array[_0x5ad42(0x24f)](_0xaad751)||(typeof _0xaad751=='object'&&_0xaad751!==null?(_0x214815=_0xaad751,_0xaad751=[]):_0xaad751=[_0xaad751]),_0x5c8350(this,_0x8017fc,_0xaad751,_0x214815)):(this['_autoPong']=_0x214815[_0x5ad42(0x219)],this[_0x5ad42(0x20b)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x1cf829(0x1cf)](_0x5e2b35){const _0x23e724=_0x1cf829;_0x480812[_0x23e724(0x1e5)](_0x5e2b35)&&(this[_0x23e724(0x216)]=_0x5e2b35,this[_0x23e724(0x12d)]&&(this['_receiver'][_0x23e724(0x216)]=_0x5e2b35));}get[_0x1cf829(0x1a9)](){const _0x4a95a5=_0x1cf829;return this[_0x4a95a5(0x1c2)]?this[_0x4a95a5(0x1c2)][_0x4a95a5(0x277)][_0x4a95a5(0x273)]+this[_0x4a95a5(0x16a)][_0x4a95a5(0x167)]:this['_bufferedAmount'];}get[_0x1cf829(0xfa)](){const _0x97713a=_0x1cf829;return Object[_0x97713a(0x23a)](this[_0x97713a(0x198)])[_0x97713a(0x253)]();}get[_0x1cf829(0xf0)](){return this['_paused'];}get[_0x1cf829(0x268)](){return null;}get['onerror'](){return null;}get[_0x1cf829(0x129)](){return null;}get[_0x1cf829(0x1fe)](){return null;}get[_0x1cf829(0x12f)](){const _0x35ace9=_0x1cf829;return this[_0x35ace9(0x259)];}get['readyState'](){const _0x29caca=_0x1cf829;return this[_0x29caca(0x104)];}get[_0x1cf829(0x24b)](){const _0x22fefe=_0x1cf829;return this[_0x22fefe(0x221)];}[_0x1cf829(0xdc)](_0x4d128b,_0x11088f,_0x1b7f50){const _0x59fd01=_0x1cf829,_0x527a93=new _0x430f8f({'allowSynchronousEvents':_0x1b7f50['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x59fd01(0x198)],'isServer':this[_0x59fd01(0x20b)],'maxPayload':_0x1b7f50['maxPayload'],'skipUTF8Validation':_0x1b7f50[_0x59fd01(0x1b0)]}),_0x5276d2=new _0x3535c6(_0x4d128b,this[_0x59fd01(0x198)],_0x1b7f50[_0x59fd01(0x111)]);this[_0x59fd01(0x12d)]=_0x527a93,this[_0x59fd01(0x16a)]=_0x5276d2,this[_0x59fd01(0x1c2)]=_0x4d128b,_0x527a93[_0x54d893]=this,_0x5276d2[_0x54d893]=this,_0x4d128b[_0x54d893]=this,_0x527a93['on'](_0x59fd01(0x211),_0x6d2c0d),_0x527a93['on'](_0x59fd01(0x20f),_0x24ec6e),_0x527a93['on'](_0x59fd01(0x13b),_0x37313a),_0x527a93['on'](_0x59fd01(0x1c4),_0x112a45),_0x527a93['on'](_0x59fd01(0x17e),_0x185596),_0x527a93['on'](_0x59fd01(0xe1),_0x5ac1e2),_0x5276d2[_0x59fd01(0xe8)]=_0x38bb82,_0x4d128b['setTimeout']&&_0x4d128b[_0x59fd01(0x179)](0x0),_0x4d128b[_0x59fd01(0xfb)]&&_0x4d128b[_0x59fd01(0xfb)](),_0x11088f['length']>0x0&&_0x4d128b[_0x59fd01(0xf7)](_0x11088f),_0x4d128b['on'](_0x59fd01(0x1d7),_0x60fac8),_0x4d128b['on']('data',_0x2ff447),_0x4d128b['on'](_0x59fd01(0x203),_0x117ab0),_0x4d128b['on'](_0x59fd01(0x13b),_0x2e3af7),this[_0x59fd01(0x104)]=_0x1daafe['OPEN'],this[_0x59fd01(0x161)](_0x59fd01(0x1ea));}['emitClose'](){const _0x2e1548=_0x1cf829;if(!this[_0x2e1548(0x1c2)]){this['_readyState']=_0x1daafe[_0x2e1548(0x16e)],this['emit']('close',this[_0x2e1548(0x17b)],this['_closeMessage']);return;}this[_0x2e1548(0x198)][_0x431940[_0x2e1548(0x1cd)]]&&this[_0x2e1548(0x198)][_0x431940[_0x2e1548(0x1cd)]][_0x2e1548(0x247)](),this[_0x2e1548(0x12d)]['removeAllListeners'](),this[_0x2e1548(0x104)]=_0x1daafe[_0x2e1548(0x16e)],this[_0x2e1548(0x161)]('close',this[_0x2e1548(0x17b)],this[_0x2e1548(0xf4)]);}[_0x1cf829(0x1d7)](_0x2e0759,_0x440b69){const _0x4d6cbc=_0x1cf829;if(this[_0x4d6cbc(0x1af)]!==_0x1daafe[_0x4d6cbc(0x16e)]){if(this[_0x4d6cbc(0x1af)]===_0x1daafe[_0x4d6cbc(0x22c)]){_0x513a00(this,this[_0x4d6cbc(0x257)],_0x4d6cbc(0xed));return;}if(this['readyState']===_0x1daafe[_0x4d6cbc(0x150)]){this[_0x4d6cbc(0x23c)]&&(this[_0x4d6cbc(0x217)]||this['_receiver'][_0x4d6cbc(0x277)]['errorEmitted'])&&this['_socket'][_0x4d6cbc(0x203)]();return;}this[_0x4d6cbc(0x104)]=_0x1daafe[_0x4d6cbc(0x150)],this[_0x4d6cbc(0x16a)]['close'](_0x2e0759,_0x440b69,!this['_isServer'],_0x7631a3=>{const _0x402c37=_0x4d6cbc;_0x7631a3||(this['_closeFrameSent']=!0x0,(this[_0x402c37(0x217)]||this[_0x402c37(0x12d)]['_writableState'][_0x402c37(0x231)])&&this[_0x402c37(0x1c2)][_0x402c37(0x203)]());}),_0x4c0366(this);}}[_0x1cf829(0x19e)](){const _0x4f4c48=_0x1cf829;this[_0x4f4c48(0x1af)]===_0x1daafe[_0x4f4c48(0x22c)]||this[_0x4f4c48(0x1af)]===_0x1daafe['CLOSED']||(this[_0x4f4c48(0x1f2)]=!0x0,this['_socket']['pause']());}[_0x1cf829(0x17e)](_0x268f75,_0x42ae5e,_0xf2e122){const _0x4ea160=_0x1cf829;if(this[_0x4ea160(0x1af)]===_0x1daafe[_0x4ea160(0x22c)])throw new Error(_0x4ea160(0x168));if(typeof _0x268f75==_0x4ea160(0xe0)?(_0xf2e122=_0x268f75,_0x268f75=_0x42ae5e=void 0x0):typeof _0x42ae5e==_0x4ea160(0xe0)&&(_0xf2e122=_0x42ae5e,_0x42ae5e=void 0x0),typeof _0x268f75==_0x4ea160(0x20e)&&(_0x268f75=_0x268f75[_0x4ea160(0x27e)]()),this[_0x4ea160(0x1af)]!==_0x1daafe[_0x4ea160(0x287)]){_0x3b52ce(this,_0x268f75,_0xf2e122);return;}_0x42ae5e===void 0x0&&(_0x42ae5e=!this[_0x4ea160(0x20b)]),this[_0x4ea160(0x16a)][_0x4ea160(0x17e)](_0x268f75||_0x2f7f91,_0x42ae5e,_0xf2e122);}['pong'](_0x21d1e0,_0xd32f6b,_0x1074b1){const _0x18660c=_0x1cf829;if(this[_0x18660c(0x1af)]===_0x1daafe[_0x18660c(0x22c)])throw new Error(_0x18660c(0x168));if(typeof _0x21d1e0==_0x18660c(0xe0)?(_0x1074b1=_0x21d1e0,_0x21d1e0=_0xd32f6b=void 0x0):typeof _0xd32f6b==_0x18660c(0xe0)&&(_0x1074b1=_0xd32f6b,_0xd32f6b=void 0x0),typeof _0x21d1e0=='number'&&(_0x21d1e0=_0x21d1e0['toString']()),this[_0x18660c(0x1af)]!==_0x1daafe[_0x18660c(0x287)]){_0x3b52ce(this,_0x21d1e0,_0x1074b1);return;}_0xd32f6b===void 0x0&&(_0xd32f6b=!this['_isServer']),this['_sender'][_0x18660c(0xe1)](_0x21d1e0||_0x2f7f91,_0xd32f6b,_0x1074b1);}[_0x1cf829(0x126)](){const _0x45a551=_0x1cf829;this[_0x45a551(0x1af)]===_0x1daafe[_0x45a551(0x22c)]||this[_0x45a551(0x1af)]===_0x1daafe[_0x45a551(0x16e)]||(this['_paused']=!0x1,this[_0x45a551(0x12d)]['_writableState'][_0x45a551(0x16b)]||this[_0x45a551(0x1c2)][_0x45a551(0x126)]());}['send'](_0x444664,_0x6d9af7,_0x3580df){const _0x145482=_0x1cf829;if(this[_0x145482(0x1af)]===_0x1daafe['CONNECTING'])throw new Error(_0x145482(0x168));if(typeof _0x6d9af7=='function'&&(_0x3580df=_0x6d9af7,_0x6d9af7={}),typeof _0x444664==_0x145482(0x20e)&&(_0x444664=_0x444664['toString']()),this[_0x145482(0x1af)]!==_0x1daafe[_0x145482(0x287)]){_0x3b52ce(this,_0x444664,_0x3580df);return;}const _0x1c75e1={'binary':typeof _0x444664!=_0x145482(0x124),'mask':!this[_0x145482(0x20b)],'compress':!0x0,'fin':!0x0,..._0x6d9af7};this['_extensions'][_0x431940['extensionName']]||(_0x1c75e1[_0x145482(0xe7)]=!0x1),this[_0x145482(0x16a)][_0x145482(0x110)](_0x444664||_0x2f7f91,_0x1c75e1,_0x3580df);}[_0x1cf829(0x276)](){const _0x152167=_0x1cf829;if(this['readyState']!==_0x1daafe[_0x152167(0x16e)]){if(this[_0x152167(0x1af)]===_0x1daafe[_0x152167(0x22c)]){_0x513a00(this,this[_0x152167(0x257)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x152167(0x1c2)]&&(this[_0x152167(0x104)]=_0x1daafe['CLOSING'],this[_0x152167(0x1c2)][_0x152167(0x1d3)]());}}}Object[_0x1cf829(0x148)](_0x1daafe,_0x1cf829(0x22c),{'enumerable':!0x0,'value':_0x167ee9[_0x1cf829(0x189)]('CONNECTING')}),Object[_0x1cf829(0x148)](_0x1daafe['prototype'],_0x1cf829(0x22c),{'enumerable':!0x0,'value':_0x167ee9[_0x1cf829(0x189)](_0x1cf829(0x22c))}),Object[_0x1cf829(0x148)](_0x1daafe,_0x1cf829(0x287),{'enumerable':!0x0,'value':_0x167ee9['indexOf'](_0x1cf829(0x287))}),Object[_0x1cf829(0x148)](_0x1daafe[_0x1cf829(0x18d)],_0x1cf829(0x287),{'enumerable':!0x0,'value':_0x167ee9[_0x1cf829(0x189)](_0x1cf829(0x287))}),Object[_0x1cf829(0x148)](_0x1daafe,_0x1cf829(0x150),{'enumerable':!0x0,'value':_0x167ee9[_0x1cf829(0x189)]('CLOSING')}),Object[_0x1cf829(0x148)](_0x1daafe['prototype'],_0x1cf829(0x150),{'enumerable':!0x0,'value':_0x167ee9[_0x1cf829(0x189)]('CLOSING')}),Object[_0x1cf829(0x148)](_0x1daafe,_0x1cf829(0x16e),{'enumerable':!0x0,'value':_0x167ee9[_0x1cf829(0x189)](_0x1cf829(0x16e))}),Object[_0x1cf829(0x148)](_0x1daafe[_0x1cf829(0x18d)],'CLOSED',{'enumerable':!0x0,'value':_0x167ee9[_0x1cf829(0x189)](_0x1cf829(0x16e))}),[_0x1cf829(0x1cf),_0x1cf829(0x1a9),_0x1cf829(0xfa),_0x1cf829(0xf0),_0x1cf829(0x12f),_0x1cf829(0x1af),'url'][_0x1cf829(0x246)](_0x230562=>{const _0x3723dd=_0x1cf829;Object[_0x3723dd(0x148)](_0x1daafe['prototype'],_0x230562,{'enumerable':!0x0});}),['open',_0x1cf829(0x13b),_0x1cf829(0x1d7),_0x1cf829(0x1c4)][_0x1cf829(0x246)](_0x5a4dd0=>{const _0x31504b=_0x1cf829;Object[_0x31504b(0x148)](_0x1daafe[_0x31504b(0x18d)],'on'+_0x5a4dd0,{'enumerable':!0x0,'get'(){for(const _0x1ce3e0 of this['listeners'](_0x5a4dd0))if(_0x1ce3e0[_0x162c70])return _0x1ce3e0[_0xc8ccbb];return null;},'set'(_0x47e37c){const _0x3551ac=_0x31504b;for(const _0x5a3ed8 of this[_0x3551ac(0x225)](_0x5a4dd0))if(_0x5a3ed8[_0x162c70]){this[_0x3551ac(0x1c7)](_0x5a4dd0,_0x5a3ed8);break;}typeof _0x47e37c=='function'&&this[_0x3551ac(0x21f)](_0x5a4dd0,_0x47e37c,{[_0x162c70]:!0x0});}});}),_0x1daafe[_0x1cf829(0x18d)][_0x1cf829(0x21f)]=_0x9b0137,_0x1daafe['prototype'][_0x1cf829(0x20d)]=_0x3b8099,we=_0x1daafe;function _0x5c8350(_0x122e0b,_0x462375,_0x514a78,_0x30d58a){const _0x4f7fb7=_0x1cf829,_0x1c06c4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4ae87f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x30d58a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4f7fb7(0x260),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x122e0b[_0x4f7fb7(0x197)]=_0x1c06c4[_0x4f7fb7(0x219)],!_0x4ae87f[_0x4f7fb7(0x1e5)](_0x1c06c4[_0x4f7fb7(0x22b)]))throw new RangeError(_0x4f7fb7(0x180)+_0x1c06c4[_0x4f7fb7(0x22b)]+_0x4f7fb7(0x278)+_0x4ae87f[_0x4f7fb7(0x253)](',\x20')+')');let _0x5a48a5;if(_0x462375 instanceof _0xd3886)_0x5a48a5=_0x462375;else try{_0x5a48a5=new _0xd3886(_0x462375);}catch{throw new SyntaxError(_0x4f7fb7(0x138)+_0x462375);}_0x5a48a5['protocol']===_0x4f7fb7(0xe5)?_0x5a48a5[_0x4f7fb7(0x12f)]=_0x4f7fb7(0x226):_0x5a48a5['protocol']===_0x4f7fb7(0x122)&&(_0x5a48a5['protocol']=_0x4f7fb7(0x1e7)),_0x122e0b['_url']=_0x5a48a5[_0x4f7fb7(0x1bf)];const _0x1ae162=_0x5a48a5[_0x4f7fb7(0x12f)]===_0x4f7fb7(0x1e7),_0xf6b4d8=_0x5a48a5[_0x4f7fb7(0x12f)]===_0x4f7fb7(0x1bd);let _0x229e71;if(_0x5a48a5[_0x4f7fb7(0x12f)]!==_0x4f7fb7(0x226)&&!_0x1ae162&&!_0xf6b4d8?_0x229e71=_0x4f7fb7(0x170):_0xf6b4d8&&!_0x5a48a5[_0x4f7fb7(0x21b)]?_0x229e71=_0x4f7fb7(0x140):_0x5a48a5['hash']&&(_0x229e71=_0x4f7fb7(0x194)),_0x229e71){const _0x1f5144=new SyntaxError(_0x229e71);if(_0x122e0b[_0x4f7fb7(0x279)]===0x0)throw _0x1f5144;_0x4d7eef(_0x122e0b,_0x1f5144);return;}const _0x22c9cc=_0x1ae162?0x1bb:0x50,_0x11f826=_0xb5bb66(0x10)[_0x4f7fb7(0x27e)](_0x4f7fb7(0x139)),_0x2493a1=_0x1ae162?_0x55ead3[_0x4f7fb7(0x258)]:_0x31b242[_0x4f7fb7(0x258)],_0x5e876b=new Set();let _0xadc519;if(_0x1c06c4['createConnection']=_0x1c06c4[_0x4f7fb7(0x192)]||(_0x1ae162?_0x25b300:_0x34fdc5),_0x1c06c4[_0x4f7fb7(0x15c)]=_0x1c06c4[_0x4f7fb7(0x15c)]||_0x22c9cc,_0x1c06c4[_0x4f7fb7(0x1c1)]=_0x5a48a5[_0x4f7fb7(0x1c1)]||_0x22c9cc,_0x1c06c4[_0x4f7fb7(0x121)]=_0x5a48a5[_0x4f7fb7(0x1ab)]['startsWith']('[')?_0x5a48a5[_0x4f7fb7(0x1ab)][_0x4f7fb7(0x164)](0x1,-0x1):_0x5a48a5[_0x4f7fb7(0x1ab)],_0x1c06c4[_0x4f7fb7(0x214)]={..._0x1c06c4[_0x4f7fb7(0x214)],'Sec-WebSocket-Version':_0x1c06c4['protocolVersion'],'Sec-WebSocket-Key':_0x11f826,'Connection':_0x4f7fb7(0x14a),'Upgrade':_0x4f7fb7(0x25d)},_0x1c06c4[_0x4f7fb7(0x172)]=_0x5a48a5[_0x4f7fb7(0x21b)]+_0x5a48a5[_0x4f7fb7(0x244)],_0x1c06c4[_0x4f7fb7(0x1c8)]=_0x1c06c4[_0x4f7fb7(0x243)],_0x1c06c4[_0x4f7fb7(0x149)]&&(_0xadc519=new _0x431940(_0x1c06c4[_0x4f7fb7(0x149)]!==!0x0?_0x1c06c4[_0x4f7fb7(0x149)]:{},!0x1,_0x1c06c4[_0x4f7fb7(0xfe)]),_0x1c06c4[_0x4f7fb7(0x214)][_0x4f7fb7(0x191)]=_0x5c3014({[_0x431940['extensionName']]:_0xadc519['offer']()})),_0x514a78[_0x4f7fb7(0x273)]){for(const _0x116a50 of _0x514a78){if(typeof _0x116a50!=_0x4f7fb7(0x124)||!_0x4f74fb[_0x4f7fb7(0x1b8)](_0x116a50)||_0x5e876b[_0x4f7fb7(0x283)](_0x116a50))throw new SyntaxError(_0x4f7fb7(0x28c));_0x5e876b[_0x4f7fb7(0x152)](_0x116a50);}_0x1c06c4['headers'][_0x4f7fb7(0x1e6)]=_0x514a78[_0x4f7fb7(0x253)](',');}if(_0x1c06c4[_0x4f7fb7(0x27b)]&&(_0x1c06c4[_0x4f7fb7(0x22b)]<0xd?_0x1c06c4[_0x4f7fb7(0x214)][_0x4f7fb7(0x275)]=_0x1c06c4[_0x4f7fb7(0x27b)]:_0x1c06c4[_0x4f7fb7(0x214)][_0x4f7fb7(0x24a)]=_0x1c06c4[_0x4f7fb7(0x27b)]),(_0x5a48a5[_0x4f7fb7(0x1dc)]||_0x5a48a5[_0x4f7fb7(0x245)])&&(_0x1c06c4[_0x4f7fb7(0x1a3)]=_0x5a48a5[_0x4f7fb7(0x1dc)]+':'+_0x5a48a5[_0x4f7fb7(0x245)]),_0xf6b4d8){const _0x5d7172=_0x1c06c4[_0x4f7fb7(0x172)][_0x4f7fb7(0x249)](':');_0x1c06c4['socketPath']=_0x5d7172[0x0],_0x1c06c4[_0x4f7fb7(0x172)]=_0x5d7172[0x1];}let _0x5ea7e9;if(_0x1c06c4[_0x4f7fb7(0x1a7)]){if(_0x122e0b[_0x4f7fb7(0x279)]===0x0){_0x122e0b[_0x4f7fb7(0x159)]=_0xf6b4d8,_0x122e0b[_0x4f7fb7(0x157)]=_0x1ae162,_0x122e0b['_originalHostOrSocketPath']=_0xf6b4d8?_0x1c06c4[_0x4f7fb7(0x1bc)]:_0x5a48a5[_0x4f7fb7(0x121)];const _0x3ceac1=_0x30d58a&&_0x30d58a[_0x4f7fb7(0x214)];if(_0x30d58a={..._0x30d58a,'headers':{}},_0x3ceac1){for(const [_0x47621d,_0x1313d6]of Object['entries'](_0x3ceac1))_0x30d58a[_0x4f7fb7(0x214)][_0x47621d['toLowerCase']()]=_0x1313d6;}}else{if(_0x122e0b[_0x4f7fb7(0x160)](_0x4f7fb7(0x1d5))===0x0){const _0x5d7960=_0xf6b4d8?_0x122e0b[_0x4f7fb7(0x159)]?_0x1c06c4[_0x4f7fb7(0x1bc)]===_0x122e0b[_0x4f7fb7(0x13d)]:!0x1:_0x122e0b[_0x4f7fb7(0x159)]?!0x1:_0x5a48a5[_0x4f7fb7(0x121)]===_0x122e0b[_0x4f7fb7(0x13d)];(!_0x5d7960||_0x122e0b[_0x4f7fb7(0x157)]&&!_0x1ae162)&&(delete _0x1c06c4[_0x4f7fb7(0x214)]['authorization'],delete _0x1c06c4[_0x4f7fb7(0x214)][_0x4f7fb7(0x233)],_0x5d7960||delete _0x1c06c4[_0x4f7fb7(0x214)][_0x4f7fb7(0x121)],_0x1c06c4[_0x4f7fb7(0x1a3)]=void 0x0);}}_0x1c06c4[_0x4f7fb7(0x1a3)]&&!_0x30d58a[_0x4f7fb7(0x214)][_0x4f7fb7(0x21c)]&&(_0x30d58a[_0x4f7fb7(0x214)][_0x4f7fb7(0x21c)]=_0x4f7fb7(0x1e3)+Buffer[_0x4f7fb7(0x10c)](_0x1c06c4[_0x4f7fb7(0x1a3)])[_0x4f7fb7(0x27e)](_0x4f7fb7(0x139))),_0x5ea7e9=_0x122e0b[_0x4f7fb7(0x257)]=_0x2493a1(_0x1c06c4),_0x122e0b[_0x4f7fb7(0x279)]&&_0x122e0b[_0x4f7fb7(0x161)]('redirect',_0x122e0b[_0x4f7fb7(0x24b)],_0x5ea7e9);}else _0x5ea7e9=_0x122e0b['_req']=_0x2493a1(_0x1c06c4);_0x1c06c4[_0x4f7fb7(0x1c8)]&&_0x5ea7e9['on'](_0x4f7fb7(0x1c8),()=>{const _0x1e1006=_0x4f7fb7;_0x513a00(_0x122e0b,_0x5ea7e9,_0x1e1006(0x10a));}),_0x5ea7e9['on'](_0x4f7fb7(0x13b),_0x249c33=>{_0x5ea7e9===null||_0x5ea7e9[_0x2c1080]||(_0x5ea7e9=_0x122e0b['_req']=null,_0x4d7eef(_0x122e0b,_0x249c33));}),_0x5ea7e9['on'](_0x4f7fb7(0x19f),_0x32ed97=>{const _0x12f898=_0x4f7fb7,_0x3260d5=_0x32ed97[_0x12f898(0x214)][_0x12f898(0x1f0)],_0x399623=_0x32ed97['statusCode'];if(_0x3260d5&&_0x1c06c4['followRedirects']&&_0x399623>=0x12c&&_0x399623<0x190){if(++_0x122e0b[_0x12f898(0x279)]>_0x1c06c4[_0x12f898(0x1e8)]){_0x513a00(_0x122e0b,_0x5ea7e9,_0x12f898(0x242));return;}_0x5ea7e9['abort']();let _0x1cf2bb;try{_0x1cf2bb=new _0xd3886(_0x3260d5,_0x462375);}catch{const _0x414124=new SyntaxError(_0x12f898(0x138)+_0x3260d5);_0x4d7eef(_0x122e0b,_0x414124);return;}_0x5c8350(_0x122e0b,_0x1cf2bb,_0x514a78,_0x30d58a);}else _0x122e0b[_0x12f898(0x161)](_0x12f898(0x134),_0x5ea7e9,_0x32ed97)||_0x513a00(_0x122e0b,_0x5ea7e9,'Unexpected\x20server\x20response:\x20'+_0x32ed97['statusCode']);}),_0x5ea7e9['on'](_0x4f7fb7(0x1de),(_0x33ba6f,_0x454a71,_0x132848)=>{const _0x4908d3=_0x4f7fb7;if(_0x122e0b[_0x4908d3(0x161)]('upgrade',_0x33ba6f),_0x122e0b[_0x4908d3(0x1af)]!==_0x1daafe['CONNECTING'])return;_0x5ea7e9=_0x122e0b['_req']=null;const _0x5a17fa=_0x33ba6f[_0x4908d3(0x214)][_0x4908d3(0x1de)];if(_0x5a17fa===void 0x0||_0x5a17fa['toLowerCase']()!==_0x4908d3(0x25d)){_0x513a00(_0x122e0b,_0x454a71,'Invalid\x20Upgrade\x20header');return;}const _0x46bda3=_0x51aa05(_0x4908d3(0x163))[_0x4908d3(0x106)](_0x11f826+_0x2acb6f)['digest'](_0x4908d3(0x139));if(_0x33ba6f[_0x4908d3(0x214)]['sec-websocket-accept']!==_0x46bda3){_0x513a00(_0x122e0b,_0x454a71,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2a3d0a=_0x33ba6f[_0x4908d3(0x214)][_0x4908d3(0x11c)];let _0x4602a1;if(_0x2a3d0a!==void 0x0?_0x5e876b['size']?_0x5e876b['has'](_0x2a3d0a)||(_0x4602a1='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4602a1=_0x4908d3(0x12b):_0x5e876b[_0x4908d3(0x1be)]&&(_0x4602a1=_0x4908d3(0x145)),_0x4602a1){_0x513a00(_0x122e0b,_0x454a71,_0x4602a1);return;}_0x2a3d0a&&(_0x122e0b[_0x4908d3(0x259)]=_0x2a3d0a);const _0x1ed810=_0x33ba6f[_0x4908d3(0x214)]['sec-websocket-extensions'];if(_0x1ed810!==void 0x0){if(!_0xadc519){_0x513a00(_0x122e0b,_0x454a71,_0x4908d3(0x1e0));return;}let _0x52a00f;try{_0x52a00f=_0x79cc05(_0x1ed810);}catch{_0x513a00(_0x122e0b,_0x454a71,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x4abde0=Object[_0x4908d3(0x23a)](_0x52a00f);if(_0x4abde0[_0x4908d3(0x273)]!==0x1||_0x4abde0[0x0]!==_0x431940[_0x4908d3(0x1cd)]){_0x513a00(_0x122e0b,_0x454a71,_0x4908d3(0x28a));return;}try{_0xadc519[_0x4908d3(0x1e4)](_0x52a00f[_0x431940[_0x4908d3(0x1cd)]]);}catch{_0x513a00(_0x122e0b,_0x454a71,_0x4908d3(0x269));return;}_0x122e0b[_0x4908d3(0x198)][_0x431940[_0x4908d3(0x1cd)]]=_0xadc519;}_0x122e0b[_0x4908d3(0xdc)](_0x454a71,_0x132848,{'allowSynchronousEvents':_0x1c06c4[_0x4908d3(0x1f3)],'generateMask':_0x1c06c4[_0x4908d3(0x111)],'maxPayload':_0x1c06c4[_0x4908d3(0xfe)],'skipUTF8Validation':_0x1c06c4[_0x4908d3(0x1b0)]});}),_0x1c06c4[_0x4f7fb7(0x146)]?_0x1c06c4[_0x4f7fb7(0x146)](_0x5ea7e9,_0x122e0b):_0x5ea7e9[_0x4f7fb7(0x203)]();}function _0x4d7eef(_0x39ca27,_0x1d7cac){const _0x5959ae=_0x1cf829;_0x39ca27[_0x5959ae(0x104)]=_0x1daafe[_0x5959ae(0x150)],_0x39ca27[_0x5959ae(0x1c9)]=!0x0,_0x39ca27[_0x5959ae(0x161)](_0x5959ae(0x13b),_0x1d7cac),_0x39ca27['emitClose']();}function _0x34fdc5(_0x20e5b9){const _0x5d87ac=_0x1cf829;return _0x20e5b9[_0x5d87ac(0x172)]=_0x20e5b9[_0x5d87ac(0x1bc)],_0x16f779['connect'](_0x20e5b9);}function _0x25b300(_0x7dec8){const _0x593b72=_0x1cf829;return _0x7dec8[_0x593b72(0x172)]=void 0x0,!_0x7dec8[_0x593b72(0x19b)]&&_0x7dec8[_0x593b72(0x19b)]!==''&&(_0x7dec8['servername']=_0x16f779['isIP'](_0x7dec8['host'])?'':_0x7dec8[_0x593b72(0x121)]),_0x4082a8['connect'](_0x7dec8);}function _0x513a00(_0x460703,_0x1a72f2,_0x3bf438){const _0x843507=_0x1cf829;_0x460703[_0x843507(0x104)]=_0x1daafe[_0x843507(0x150)];const _0x41a8a2=new Error(_0x3bf438);Error[_0x843507(0x181)](_0x41a8a2,_0x513a00),_0x1a72f2[_0x843507(0x183)]?(_0x1a72f2[_0x2c1080]=!0x0,_0x1a72f2['abort'](),_0x1a72f2[_0x843507(0x1d8)]&&!_0x1a72f2[_0x843507(0x1d8)][_0x843507(0x289)]&&_0x1a72f2['socket'][_0x843507(0x1d3)](),process[_0x843507(0x11a)](_0x4d7eef,_0x460703,_0x41a8a2)):(_0x1a72f2[_0x843507(0x1d3)](_0x41a8a2),_0x1a72f2[_0x843507(0xea)](_0x843507(0x13b),_0x460703[_0x843507(0x161)][_0x843507(0x1c5)](_0x460703,_0x843507(0x13b))),_0x1a72f2['once']('close',_0x460703[_0x843507(0x155)][_0x843507(0x1c5)](_0x460703)));}function _0x3b52ce(_0x4dc784,_0xf26f21,_0x208655){const _0x2ea56f=_0x1cf829;if(_0xf26f21){const _0x191965=_0x4ff837(_0xf26f21)?_0xf26f21[_0x2ea56f(0x1be)]:_0x3bf005(_0xf26f21)[_0x2ea56f(0x273)];_0x4dc784[_0x2ea56f(0x1c2)]?_0x4dc784[_0x2ea56f(0x16a)][_0x2ea56f(0x167)]+=_0x191965:_0x4dc784[_0x2ea56f(0x1d1)]+=_0x191965;}if(_0x208655){const _0x4b1a2c=new Error(_0x2ea56f(0x17f)+_0x4dc784[_0x2ea56f(0x1af)]+'\x20('+_0x167ee9[_0x4dc784['readyState']]+')');process[_0x2ea56f(0x11a)](_0x208655,_0x4b1a2c);}}function _0x6d2c0d(_0x492e99,_0x2fa7ba){const _0x91002c=_0x1cf829,_0x21ec5b=this[_0x54d893];_0x21ec5b['_closeFrameReceived']=!0x0,_0x21ec5b['_closeMessage']=_0x2fa7ba,_0x21ec5b['_closeCode']=_0x492e99,_0x21ec5b[_0x91002c(0x1c2)][_0x54d893]!==void 0x0&&(_0x21ec5b['_socket'][_0x91002c(0x1c7)]('data',_0x2ff447),process[_0x91002c(0x11a)](_0x162273,_0x21ec5b[_0x91002c(0x1c2)]),_0x492e99===0x3ed?_0x21ec5b['close']():_0x21ec5b[_0x91002c(0x1d7)](_0x492e99,_0x2fa7ba));}function _0x24ec6e(){const _0xe35f83=_0x1cf829,_0x3b1d0e=this[_0x54d893];_0x3b1d0e[_0xe35f83(0xf0)]||_0x3b1d0e[_0xe35f83(0x1c2)][_0xe35f83(0x126)]();}function _0x37313a(_0x43d73c){const _0x1ee594=_0x1cf829,_0x377bb5=this[_0x54d893];_0x377bb5['_socket'][_0x54d893]!==void 0x0&&(_0x377bb5['_socket']['removeListener']('data',_0x2ff447),process[_0x1ee594(0x11a)](_0x162273,_0x377bb5['_socket']),_0x377bb5[_0x1ee594(0x1d7)](_0x43d73c[_0x4346a8])),_0x377bb5['_errorEmitted']||(_0x377bb5['_errorEmitted']=!0x0,_0x377bb5[_0x1ee594(0x161)](_0x1ee594(0x13b),_0x43d73c));}function _0x2b515d(){const _0x7e5011=_0x1cf829;this[_0x54d893][_0x7e5011(0x155)]();}function _0x112a45(_0x2177da,_0x19ac14){const _0xff2049=_0x1cf829;this[_0x54d893][_0xff2049(0x161)]('message',_0x2177da,_0x19ac14);}function _0x185596(_0x549c97){const _0x2eae42=_0x1cf829,_0x2c0949=this[_0x54d893];_0x2c0949[_0x2eae42(0x197)]&&_0x2c0949[_0x2eae42(0xe1)](_0x549c97,!this[_0x2eae42(0x20b)],_0x2f0c16),_0x2c0949[_0x2eae42(0x161)]('ping',_0x549c97);}function _0x5ac1e2(_0xe1c96f){const _0x5236a9=_0x1cf829;this[_0x54d893]['emit'](_0x5236a9(0xe1),_0xe1c96f);}function _0x162273(_0x5287e1){const _0x32d241=_0x1cf829;_0x5287e1[_0x32d241(0x126)]();}function _0x38bb82(_0x4cda9e){const _0x40ab1f=_0x1cf829,_0x55cb74=this[_0x54d893];_0x55cb74['readyState']!==_0x1daafe[_0x40ab1f(0x16e)]&&(_0x55cb74[_0x40ab1f(0x1af)]===_0x1daafe[_0x40ab1f(0x287)]&&(_0x55cb74[_0x40ab1f(0x104)]=_0x1daafe[_0x40ab1f(0x150)],_0x4c0366(_0x55cb74)),this[_0x40ab1f(0x1c2)][_0x40ab1f(0x203)](),_0x55cb74[_0x40ab1f(0x1c9)]||(_0x55cb74[_0x40ab1f(0x1c9)]=!0x0,_0x55cb74[_0x40ab1f(0x161)](_0x40ab1f(0x13b),_0x4cda9e)));}function _0x4c0366(_0x475198){const _0x18e372=_0x1cf829;_0x475198[_0x18e372(0x153)]=setTimeout(_0x475198['_socket'][_0x18e372(0x1d3)]['bind'](_0x475198[_0x18e372(0x1c2)]),_0x1a6341);}function _0x60fac8(){const _0x5dbdcc=_0x1cf829,_0x25b4ba=this[_0x54d893];this['removeListener'](_0x5dbdcc(0x1d7),_0x60fac8),this[_0x5dbdcc(0x1c7)](_0x5dbdcc(0xff),_0x2ff447),this[_0x5dbdcc(0x1c7)]('end',_0x117ab0),_0x25b4ba[_0x5dbdcc(0x104)]=_0x1daafe[_0x5dbdcc(0x150)];let _0x2358bb;!this[_0x5dbdcc(0x1b9)]['endEmitted']&&!_0x25b4ba['_closeFrameReceived']&&!_0x25b4ba[_0x5dbdcc(0x12d)][_0x5dbdcc(0x277)][_0x5dbdcc(0x231)]&&(_0x2358bb=_0x25b4ba[_0x5dbdcc(0x1c2)][_0x5dbdcc(0x108)]())!==null&&_0x25b4ba['_receiver'][_0x5dbdcc(0x23e)](_0x2358bb),_0x25b4ba[_0x5dbdcc(0x12d)][_0x5dbdcc(0x203)](),this[_0x54d893]=void 0x0,clearTimeout(_0x25b4ba['_closeTimer']),_0x25b4ba[_0x5dbdcc(0x12d)][_0x5dbdcc(0x277)][_0x5dbdcc(0x222)]||_0x25b4ba[_0x5dbdcc(0x12d)]['_writableState']['errorEmitted']?_0x25b4ba[_0x5dbdcc(0x155)]():(_0x25b4ba['_receiver']['on'](_0x5dbdcc(0x13b),_0x2b515d),_0x25b4ba['_receiver']['on'](_0x5dbdcc(0x15f),_0x2b515d));}function _0x2ff447(_0x1f4af9){const _0x5d3e60=_0x1cf829;this[_0x54d893]['_receiver'][_0x5d3e60(0x23e)](_0x1f4af9)||this['pause']();}function _0x117ab0(){const _0x30e728=_0x1cf829,_0x101955=this[_0x54d893];_0x101955['_readyState']=_0x1daafe[_0x30e728(0x150)],_0x101955[_0x30e728(0x12d)][_0x30e728(0x203)](),this[_0x30e728(0x203)]();}function _0x2e3af7(){const _0x93426c=_0x1cf829,_0xe57bd1=this[_0x54d893];this[_0x93426c(0x1c7)](_0x93426c(0x13b),_0x2e3af7),this['on'](_0x93426c(0x13b),_0x2f0c16),_0xe57bd1&&(_0xe57bd1[_0x93426c(0x104)]=_0x1daafe['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x262379}=_0x431779;function _0x1f2e92(_0x56e974){const _0x3a6904=_0x5d02;_0x56e974['emit'](_0x3a6904(0x1d7));}function _0x2212f8(){const _0x50db8d=_0x5d02;!this[_0x50db8d(0x289)]&&this[_0x50db8d(0x277)][_0x50db8d(0x222)]&&this['destroy']();}function _0x349d26(_0x3ee8e0){const _0x44af44=_0x5d02;this[_0x44af44(0x1c7)](_0x44af44(0x13b),_0x349d26),this[_0x44af44(0x1d3)](),this['listenerCount'](_0x44af44(0x13b))===0x0&&this['emit'](_0x44af44(0x13b),_0x3ee8e0);}function _0xc0a24d(_0x5c343f,_0x48f522){const _0x50e0c9=_0x5d02;let _0x53dc67=!0x0;const _0x233d0f=new _0x262379({..._0x48f522,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5c343f['on'](_0x50e0c9(0x1c4),function(_0x3eb490,_0x48271d){const _0x381991=_0x50e0c9,_0x461ad9=!_0x48271d&&_0x233d0f[_0x381991(0x1b9)][_0x381991(0x266)]?_0x3eb490['toString']():_0x3eb490;_0x233d0f['push'](_0x461ad9)||_0x5c343f[_0x381991(0x19e)]();}),_0x5c343f[_0x50e0c9(0xea)](_0x50e0c9(0x13b),function(_0x13c8ab){const _0x31275d=_0x50e0c9;_0x233d0f[_0x31275d(0x289)]||(_0x53dc67=!0x1,_0x233d0f[_0x31275d(0x1d3)](_0x13c8ab));}),_0x5c343f['once'](_0x50e0c9(0x1d7),function(){const _0x32e0e4=_0x50e0c9;_0x233d0f['destroyed']||_0x233d0f[_0x32e0e4(0x274)](null);}),_0x233d0f[_0x50e0c9(0x132)]=function(_0x26138c,_0x407de2){const _0x2f1b9e=_0x50e0c9;if(_0x5c343f[_0x2f1b9e(0x1af)]===_0x5c343f[_0x2f1b9e(0x16e)]){_0x407de2(_0x26138c),process[_0x2f1b9e(0x11a)](_0x1f2e92,_0x233d0f);return;}let _0x38e984=!0x1;_0x5c343f[_0x2f1b9e(0xea)]('error',function(_0x52cab2){_0x38e984=!0x0,_0x407de2(_0x52cab2);}),_0x5c343f[_0x2f1b9e(0xea)](_0x2f1b9e(0x1d7),function(){const _0x50912a=_0x2f1b9e;_0x38e984||_0x407de2(_0x26138c),process[_0x50912a(0x11a)](_0x1f2e92,_0x233d0f);}),_0x53dc67&&_0x5c343f['terminate']();},_0x233d0f['_final']=function(_0x1ff603){const _0x36de0e=_0x50e0c9;if(_0x5c343f[_0x36de0e(0x1af)]===_0x5c343f[_0x36de0e(0x22c)]){_0x5c343f[_0x36de0e(0xea)](_0x36de0e(0x1ea),function(){_0x233d0f['_final'](_0x1ff603);});return;}_0x5c343f[_0x36de0e(0x1c2)]!==null&&(_0x5c343f[_0x36de0e(0x1c2)][_0x36de0e(0x277)][_0x36de0e(0x222)]?(_0x1ff603(),_0x233d0f[_0x36de0e(0x1b9)][_0x36de0e(0x100)]&&_0x233d0f[_0x36de0e(0x1d3)]()):(_0x5c343f['_socket'][_0x36de0e(0xea)](_0x36de0e(0x15f),function(){_0x1ff603();}),_0x5c343f[_0x36de0e(0x1d7)]()));},_0x233d0f[_0x50e0c9(0xf1)]=function(){const _0xd0b2f=_0x50e0c9;_0x5c343f['isPaused']&&_0x5c343f[_0xd0b2f(0x126)]();},_0x233d0f[_0x50e0c9(0x1e2)]=function(_0x49b721,_0x3ef054,_0x486bd7){const _0xc6b77f=_0x50e0c9;if(_0x5c343f['readyState']===_0x5c343f[_0xc6b77f(0x22c)]){_0x5c343f[_0xc6b77f(0xea)]('open',function(){_0x233d0f['_write'](_0x49b721,_0x3ef054,_0x486bd7);});return;}_0x5c343f[_0xc6b77f(0x110)](_0x49b721,_0x486bd7);},_0x233d0f['on']('end',_0x2212f8),_0x233d0f['on'](_0x50e0c9(0x13b),_0x349d26),_0x233d0f;}return Oe=_0xc0a24d,Oe;}function _0x4643(){const _0x39b81c=['prototype','client','default','replace','Sec-WebSocket-Extensions','createConnection','concurrency','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Invalid\x20WebSocket\x20frame:\x20','pow','_autoPong','_extensions','Blob','_buffers','servername','WS_ERR_INVALID_UTF8','client_max_window_bits','pause','response','readUInt16BE','connection','writeUIntBE','auth','kTarget','server_max_window_bits','FIN\x20must\x20be\x20set','followRedirects','acceptAsClient','bufferedAmount','then','hostname','clientMaxWindowBits','Upgrade:\x20websocket','_compress','readyState','skipUTF8Validation','species','writeUInt16BE','createError','_payloadLength','binary','Invalid\x20Sec-WebSocket-Protocol\x20header','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','test','_readableState','authorized','hasOwnProperty','socketPath','ws+unix:','size','href','getInfo','port','_socket','stream','message','bind','Unexpected\x20character\x20at\x20index\x20','removeListener','timeout','_errorEmitted','permessage-deflate','threshold','parse','extensionName','__esModule','binaryType','dispatch','_bufferedAmount','haveLength','destroy','digest','redirect','_deflate','close','socket','zlibInflateOptions','getPayloadLength16','WS_NO_BUFFER_UTIL','username','kCode','upgrade','shouldHandle','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_write','Basic\x20','accept','includes','Sec-WebSocket-Protocol','wss:','maxRedirects','STATUS_CODES','open','find','kWasClean','get','11884491zrRAgp','flush','location','exports','_paused','allowSynchronousEvents','\x0d\x0a\x0d\x0a','_fragments','kError','code','server_no_context_takeover','acceptAsServer','value','enqueue','arraybuffer','sendFrame','onmessage','controlMessage','options','sec-websocket-origin','_registerDependencies','end','total-length','alloc','wasClean','RSV1\x20must\x20be\x20clear','_max_window_bits','WS_ERR_EXPECTED_FIN','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_isServer','byteLength','removeEventListener','number','drain','readUInt32BE','conclude','buffers','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','headers','pluginName','_binaryType','_closeFrameReceived','_generateMask','autoPong','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','pathname','authorization','WS_ERR_UNEXPECTED_RSV_1','_maskBuffer','addEventListener','WS_NO_UTF_8_VALIDATE','_url','finished','kListener','kByteLength','listeners','ws:','_firstFragment','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_UNEXPECTED_MASK','delete','protocolVersion','CONNECTING','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_allowSynchronousEvents','Sec-WebSocket-Protocol:\x20','Z_SYNC_FLUSH','errorEmitted','setConfig','cookie','WS_ERR_UNEXPECTED_RSV_2_3','opcode','_options','\x22:\x20','arrayBuffer','kRun','keys','target','_closeFrameSent','server','write','_maxPayload','shift','6geEUdP','Maximum\x20redirects\x20exceeded','handshakeTimeout','search','password','forEach','cleanup','MASK\x20must\x20be\x20set','split','Origin','url','values','sec-websocket-version','isValidUTF8','isArray','File','consume','toLowerCase','join','The\x20server\x20is\x20not\x20running','wsClientError','pipe','_req','request','_protocol','createSocket','serverNoContextTakeover','maskBuffer','websocket','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_shouldEmitClose','GET','byteOffset','collaboration-client-node.config','serverMaxWindowBits','createDeflateRaw','writable','objectMode','cork','onclose','Invalid\x20Sec-WebSocket-Extensions\x20header','callback','readOnly','reason','_opcode','_errored','params','_fragmented','toStringTag','call','length','push','Sec-WebSocket-Origin','terminate','_writableState','\x20(supported\x20versions:\x20','_redirects','dispose','origin','_doCreateSocket','_state','toString','getData','_loop','_mask','frame','has','Z_DEFAULT_WINDOWBITS','_decompress','Invalid\x20value\x20for\x20parameter\x20\x22','OPEN','_queue','destroyed','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','buffer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','charCodeAt','setSocket','\x22\x20must\x20have\x20only\x20a\x20single\x20value','getMask','getOwnPropertyDescriptor','function','pong','concurrencyLimit','_compressed','sec-websocket-key','http:','Unknown\x20parameter\x20\x22','compress','onerror','_injector','once','clientTracking','isInteger','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Unexpected\x20end\x20of\x20input','isPaused','_read','Sec-WebSocket-Extensions:\x20','fin','_closeMessage','customHeaders','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','unshift','invalid\x20opcode\x20','5018760JJewUd','extensions','setNoDelay','MASK\x20must\x20be\x20clear','_configService','maxPayload','data','endEmitted','WS_ERR_INVALID_CLOSE_CODE','mask','startLoop','_readyState','noServer','update','1759000RUICNc','read','concat','Opening\x20handshake\x20has\x20timed\x20out','blob','from','zlibDeflateOptions','allocUnsafe','getConfig','send','generateMask','_threshold','_masked','kIsForOnEventAttribute','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','clientNoContextTakeover','client_no_context_takeover','Max\x20payload\x20size\x20exceeded','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','nextTick','Sec-WebSocket-Accept:\x20','sec-websocket-protocol','getPayloadLength64','clients','_removeListeners','jobs','host','https:','pending','string','decompress','resume','catch','_server','onopen','WS_ERR_INVALID_OPCODE','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_skipUTF8Validation','_receiver','readable','protocol','kMessage','kDone','_destroy','createInflateRaw','unexpected-response','set','address','reset','Invalid\x20URL:\x20','base64','invalid\x20status\x20code\x20','error','_messageLength','_originalHostOrSocketPath','env','warn','The\x20URL\x27s\x20pathname\x20is\x20empty','unmask','10490mbzppt','63lEPoBy','WS_ERR_EXPECTED_MASK','Server\x20sent\x20no\x20subprotocol','finishRequest','handleProtocols','defineProperty','perMessageDeflate','Upgrade','kAborted','createServer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','dataMessage','normalizeParams','CLOSING','isServer','add','_closeTimer','invalid\x20opcode\x200','emitClose','completeUpgrade','_originalSecure','next','_originalIpc','isView','apply','defaultPort','verifyClient','registerHTTPInterceptor','finish','listenerCount','emit','Module','sha1','slice','map','handleEvent','_bufferedBytes','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','getBlobData','_sender','needDrain','type','3460093yFdIBS','CLOSED','onStarting','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','format','path','dequeue','kReason','invalid\x20UTF-8\x20sequence','The\x20\x22','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_totalPayloadLength','setTimeout','_fin','_closeCode','create','nodebuffer','ping','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Unsupported\x20protocol\x20version:\x20','captureStackTrace','Invalid\x20HTTP\x20method','setHeader','writeHead','invalid\x20payload\x20length\x20','freeze','_inflate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','indexOf','listening','1217125qfYOsv','543287czmkqA'];_0x4643=function(){return _0x39b81c;};return _0x4643();}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x282c0c}=ne();function _0x36bd34(_0x15aa38){const _0x16a0a6=_0x5d02,_0xb8af38=new Set();let _0x41868f=-0x1,_0x39b92b=-0x1,_0x3367ec=0x0;for(_0x3367ec;_0x3367ec<_0x15aa38['length'];_0x3367ec++){const _0x3c2c49=_0x15aa38[_0x16a0a6(0x28d)](_0x3367ec);if(_0x39b92b===-0x1&&_0x282c0c[_0x3c2c49]===0x1)_0x41868f===-0x1&&(_0x41868f=_0x3367ec);else{if(_0x3367ec!==0x0&&(_0x3c2c49===0x20||_0x3c2c49===0x9))_0x39b92b===-0x1&&_0x41868f!==-0x1&&(_0x39b92b=_0x3367ec);else{if(_0x3c2c49===0x2c){if(_0x41868f===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3367ec);_0x39b92b===-0x1&&(_0x39b92b=_0x3367ec);const _0x139fbf=_0x15aa38[_0x16a0a6(0x164)](_0x41868f,_0x39b92b);if(_0xb8af38[_0x16a0a6(0x283)](_0x139fbf))throw new SyntaxError('The\x20\x22'+_0x139fbf+'\x22\x20subprotocol\x20is\x20duplicated');_0xb8af38['add'](_0x139fbf),_0x41868f=_0x39b92b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3367ec);}}}if(_0x41868f===-0x1||_0x39b92b!==-0x1)throw new SyntaxError(_0x16a0a6(0xef));const _0x27000f=_0x15aa38[_0x16a0a6(0x164)](_0x41868f,_0x3367ec);if(_0xb8af38['has'](_0x27000f))throw new SyntaxError(_0x16a0a6(0x176)+_0x27000f+'\x22\x20subprotocol\x20is\x20duplicated');return _0xb8af38['add'](_0x27000f),_0xb8af38;}return Ce={'parse':_0x36bd34},Ce;}var Te,ot;function er(){const _0x147df9=_0xf72d09;if(ot)return Te;ot=0x1;const _0x2059a3=_0x4d1399,_0x18acf7=_0xb3bffe,{Duplex:_0x291475}=_0x431779,{createHash:_0x5db63f}=_0x49b2a2,_0x268aea=pt(),_0x5394bc=he(),_0x5b157e=Jt(),_0x59da96=Ie(),{GUID:_0x5c4d45,kWebSocket:_0x117414}=V(),_0x46b4cf=/^[+/0-9A-Za-z]{22}==$/,_0x478856=0x0,_0x6b21a=0x1,_0x4fe460=0x2;class _0x2b6992 extends _0x2059a3{constructor(_0x313758,_0x47d512){const _0x103c96=_0x5d02;if(super(),_0x313758={'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':_0x59da96,..._0x313758},_0x313758[_0x103c96(0x1c1)]==null&&!_0x313758[_0x103c96(0x23d)]&&!_0x313758[_0x103c96(0x105)]||_0x313758['port']!=null&&(_0x313758[_0x103c96(0x23d)]||_0x313758[_0x103c96(0x105)])||_0x313758[_0x103c96(0x23d)]&&_0x313758[_0x103c96(0x105)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x313758[_0x103c96(0x1c1)]!=null?(this['_server']=_0x18acf7[_0x103c96(0x14c)]((_0x12483b,_0x3463be)=>{const _0x1d6c72=_0x103c96,_0x566162=_0x18acf7[_0x1d6c72(0x1e9)][0x1aa];_0x3463be[_0x1d6c72(0x184)](0x1aa,{'Content-Length':_0x566162[_0x1d6c72(0x273)],'Content-Type':'text/plain'}),_0x3463be[_0x1d6c72(0x203)](_0x566162);}),this[_0x103c96(0x128)]['listen'](_0x313758[_0x103c96(0x1c1)],_0x313758[_0x103c96(0x121)],_0x313758['backlog'],_0x47d512)):_0x313758['server']&&(this[_0x103c96(0x128)]=_0x313758[_0x103c96(0x23d)]),this[_0x103c96(0x128)]){const _0xbc3a8b=this[_0x103c96(0x161)]['bind'](this,_0x103c96(0x1a1));this['_removeListeners']=_0x48574f(this['_server'],{'listening':this[_0x103c96(0x161)][_0x103c96(0x1c5)](this,_0x103c96(0x18a)),'error':this[_0x103c96(0x161)][_0x103c96(0x1c5)](this,'error'),'upgrade':(_0x2b6ad3,_0x3863b7,_0x2a99b1)=>{this['handleUpgrade'](_0x2b6ad3,_0x3863b7,_0x2a99b1,_0xbc3a8b);}});}_0x313758['perMessageDeflate']===!0x0&&(_0x313758['perMessageDeflate']={}),_0x313758[_0x103c96(0xeb)]&&(this['clients']=new Set(),this[_0x103c96(0x25f)]=!0x1),this['options']=_0x313758,this[_0x103c96(0x27d)]=_0x478856;}['address'](){const _0x5f23f3=_0x5d02;if(this['options'][_0x5f23f3(0x105)])throw new Error(_0x5f23f3(0xee));return this['_server']?this['_server'][_0x5f23f3(0x136)]():null;}[_0x147df9(0x1d7)](_0x2b2f3a){const _0x7bce10=_0x147df9;if(this[_0x7bce10(0x27d)]===_0x4fe460){_0x2b2f3a&&this[_0x7bce10(0xea)](_0x7bce10(0x1d7),()=>{const _0x294d2b=_0x7bce10;_0x2b2f3a(new Error(_0x294d2b(0x254)));}),process[_0x7bce10(0x11a)](_0x43649e,this);return;}if(_0x2b2f3a&&this['once'](_0x7bce10(0x1d7),_0x2b2f3a),this[_0x7bce10(0x27d)]!==_0x6b21a){if(this[_0x7bce10(0x27d)]=_0x6b21a,this[_0x7bce10(0x200)]['noServer']||this['options'][_0x7bce10(0x23d)])this[_0x7bce10(0x128)]&&(this['_removeListeners'](),this[_0x7bce10(0x11f)]=this[_0x7bce10(0x128)]=null),this['clients']?this[_0x7bce10(0x11e)][_0x7bce10(0x1be)]?this[_0x7bce10(0x25f)]=!0x0:process[_0x7bce10(0x11a)](_0x43649e,this):process[_0x7bce10(0x11a)](_0x43649e,this);else{const _0x169a3a=this['_server'];this[_0x7bce10(0x11f)](),this[_0x7bce10(0x11f)]=this[_0x7bce10(0x128)]=null,_0x169a3a[_0x7bce10(0x1d7)](()=>{_0x43649e(this);});}}}[_0x147df9(0x1df)](_0x3cefc1){const _0x302701=_0x147df9;if(this['options']['path']){const _0x16d100=_0x3cefc1[_0x302701(0x24b)][_0x302701(0x189)]('?');if((_0x16d100!==-0x1?_0x3cefc1['url'][_0x302701(0x164)](0x0,_0x16d100):_0x3cefc1['url'])!==this['options'][_0x302701(0x172)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3725b4,_0x3f46b2,_0x5305c7,_0x430556){const _0x55b62b=_0x147df9;_0x3f46b2['on'](_0x55b62b(0x13b),_0x22cb75);const _0x31ef39=_0x3725b4[_0x55b62b(0x214)][_0x55b62b(0xe4)],_0x2da39d=_0x3725b4[_0x55b62b(0x214)][_0x55b62b(0x1de)],_0x2a452c=+_0x3725b4['headers'][_0x55b62b(0x24d)];if(_0x3725b4['method']!=='GET'){_0x3b263e(this,_0x3725b4,_0x3f46b2,0x195,_0x55b62b(0x182));return;}if(_0x2da39d===void 0x0||_0x2da39d[_0x55b62b(0x252)]()!==_0x55b62b(0x25d)){_0x3b263e(this,_0x3725b4,_0x3f46b2,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x31ef39===void 0x0||!_0x46b4cf[_0x55b62b(0x1b8)](_0x31ef39)){_0x3b263e(this,_0x3725b4,_0x3f46b2,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x2a452c!==0x8&&_0x2a452c!==0xd){_0x3b263e(this,_0x3725b4,_0x3f46b2,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x55b62b(0x1df)](_0x3725b4)){_0x29f465(_0x3f46b2,0x190);return;}const _0x437c4b=_0x3725b4[_0x55b62b(0x214)][_0x55b62b(0x11c)];let _0x952b97=new Set();if(_0x437c4b!==void 0x0)try{_0x952b97=_0x5b157e[_0x55b62b(0x1cc)](_0x437c4b);}catch{_0x3b263e(this,_0x3725b4,_0x3f46b2,0x190,_0x55b62b(0x1b6));return;}const _0x55ceee=_0x3725b4['headers']['sec-websocket-extensions'],_0x502188={};if(this['options'][_0x55b62b(0x149)]&&_0x55ceee!==void 0x0){const _0x21f734=new _0x5394bc(this[_0x55b62b(0x200)]['perMessageDeflate'],!0x0,this[_0x55b62b(0x200)][_0x55b62b(0xfe)]);try{const _0x984ef0=_0x268aea[_0x55b62b(0x1cc)](_0x55ceee);_0x984ef0[_0x5394bc['extensionName']]&&(_0x21f734[_0x55b62b(0x1e4)](_0x984ef0[_0x5394bc[_0x55b62b(0x1cd)]]),_0x502188[_0x5394bc[_0x55b62b(0x1cd)]]=_0x21f734);}catch{_0x3b263e(this,_0x3725b4,_0x3f46b2,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x55b62b(0x200)][_0x55b62b(0x15d)]){const _0x2e1690={'origin':_0x3725b4['headers'][''+(_0x2a452c===0x8?_0x55b62b(0x201):_0x55b62b(0x27b))],'secure':!!(_0x3725b4[_0x55b62b(0x1d8)][_0x55b62b(0x1ba)]||_0x3725b4[_0x55b62b(0x1d8)]['encrypted']),'req':_0x3725b4};if(this[_0x55b62b(0x200)][_0x55b62b(0x15d)][_0x55b62b(0x273)]===0x2){this['options'][_0x55b62b(0x15d)](_0x2e1690,(_0x5b9c37,_0x26617d,_0x36ea80,_0x32a1d6)=>{if(!_0x5b9c37)return _0x29f465(_0x3f46b2,_0x26617d||0x191,_0x36ea80,_0x32a1d6);this['completeUpgrade'](_0x502188,_0x31ef39,_0x952b97,_0x3725b4,_0x3f46b2,_0x5305c7,_0x430556);});return;}if(!this['options'][_0x55b62b(0x15d)](_0x2e1690))return _0x29f465(_0x3f46b2,0x191);}this[_0x55b62b(0x156)](_0x502188,_0x31ef39,_0x952b97,_0x3725b4,_0x3f46b2,_0x5305c7,_0x430556);}[_0x147df9(0x156)](_0x993165,_0x331888,_0x50ba27,_0x496349,_0x589013,_0x150417,_0x431aec){const _0x554d57=_0x147df9;if(!_0x589013[_0x554d57(0x12e)]||!_0x589013[_0x554d57(0x265)])return _0x589013['destroy']();if(_0x589013[_0x117414])throw new Error(_0x554d57(0x20a));if(this[_0x554d57(0x27d)]>_0x478856)return _0x29f465(_0x589013,0x1f7);const _0x2e9e16=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x554d57(0x1ad),'Connection:\x20Upgrade',_0x554d57(0x11b)+_0x5db63f(_0x554d57(0x163))[_0x554d57(0x106)](_0x331888+_0x5c4d45)[_0x554d57(0x1d4)](_0x554d57(0x139))],_0x3c6f1e=new this[(_0x554d57(0x200))]['WebSocket'](null,void 0x0,this[_0x554d57(0x200)]);if(_0x50ba27[_0x554d57(0x1be)]){const _0xab3711=this['options'][_0x554d57(0x147)]?this[_0x554d57(0x200)][_0x554d57(0x147)](_0x50ba27,_0x496349):_0x50ba27[_0x554d57(0x24c)]()[_0x554d57(0x158)]()[_0x554d57(0x1fa)];_0xab3711&&(_0x2e9e16[_0x554d57(0x274)](_0x554d57(0x22f)+_0xab3711),_0x3c6f1e[_0x554d57(0x259)]=_0xab3711);}if(_0x993165[_0x5394bc[_0x554d57(0x1cd)]]){const _0x8e4c64=_0x993165[_0x5394bc[_0x554d57(0x1cd)]][_0x554d57(0x26f)],_0x3d5f7e=_0x268aea[_0x554d57(0x171)]({[_0x5394bc['extensionName']]:[_0x8e4c64]});_0x2e9e16[_0x554d57(0x274)](_0x554d57(0xf2)+_0x3d5f7e),_0x3c6f1e[_0x554d57(0x198)]=_0x993165;}this[_0x554d57(0x161)](_0x554d57(0x214),_0x2e9e16,_0x496349),_0x589013[_0x554d57(0x23e)](_0x2e9e16[_0x554d57(0x109)]('\x0d\x0a')[_0x554d57(0x253)]('\x0d\x0a')),_0x589013[_0x554d57(0x1c7)](_0x554d57(0x13b),_0x22cb75),_0x3c6f1e[_0x554d57(0xdc)](_0x589013,_0x150417,{'allowSynchronousEvents':this[_0x554d57(0x200)][_0x554d57(0x1f3)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x554d57(0x200)][_0x554d57(0x1b0)]}),this['clients']&&(this[_0x554d57(0x11e)][_0x554d57(0x152)](_0x3c6f1e),_0x3c6f1e['on'](_0x554d57(0x1d7),()=>{const _0x514d90=_0x554d57;this[_0x514d90(0x11e)][_0x514d90(0x22a)](_0x3c6f1e),this[_0x514d90(0x25f)]&&!this[_0x514d90(0x11e)][_0x514d90(0x1be)]&&process[_0x514d90(0x11a)](_0x43649e,this);})),_0x431aec(_0x3c6f1e,_0x496349);}}Te=_0x2b6992;function _0x48574f(_0x15c387,_0x560410){for(const _0x526455 of Object['keys'](_0x560410))_0x15c387['on'](_0x526455,_0x560410[_0x526455]);return function(){const _0x2cb09b=_0x5d02;for(const _0x30c184 of Object[_0x2cb09b(0x23a)](_0x560410))_0x15c387[_0x2cb09b(0x1c7)](_0x30c184,_0x560410[_0x30c184]);};}function _0x43649e(_0x30208b){const _0x33a327=_0x147df9;_0x30208b[_0x33a327(0x27d)]=_0x4fe460,_0x30208b[_0x33a327(0x161)](_0x33a327(0x1d7));}function _0x22cb75(){const _0x1bc500=_0x147df9;this[_0x1bc500(0x1d3)]();}function _0x29f465(_0x344c75,_0x5d062a,_0x46690b,_0x39e4d5){const _0x48a27c=_0x147df9;_0x46690b=_0x46690b||_0x18acf7[_0x48a27c(0x1e9)][_0x5d062a],_0x39e4d5={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x48a27c(0x20c)](_0x46690b),..._0x39e4d5},_0x344c75[_0x48a27c(0xea)]('finish',_0x344c75['destroy']),_0x344c75['end']('HTTP/1.1\x20'+_0x5d062a+'\x20'+_0x18acf7[_0x48a27c(0x1e9)][_0x5d062a]+'\x0d\x0a'+Object[_0x48a27c(0x23a)](_0x39e4d5)[_0x48a27c(0x165)](_0x4c08fe=>_0x4c08fe+':\x20'+_0x39e4d5[_0x4c08fe])[_0x48a27c(0x253)]('\x0d\x0a')+_0x48a27c(0x1f4)+_0x46690b);}function _0x3b263e(_0x2f14f0,_0x2487c5,_0x383b24,_0x412948,_0x390478){const _0x37ddb9=_0x147df9;if(_0x2f14f0[_0x37ddb9(0x160)]('wsClientError')){const _0x9eff86=new Error(_0x390478);Error[_0x37ddb9(0x181)](_0x9eff86,_0x3b263e),_0x2f14f0[_0x37ddb9(0x161)](_0x37ddb9(0x255),_0x9eff86,_0x383b24,_0x2487c5);}else _0x29f465(_0x383b24,_0x412948,_0x390478);}return Te;}er();var tr=Object[_0xf72d09(0xdf)],rr=(_0x4c2ff9,_0x58e92e,_0x3089a2,_0x1ef728)=>{const _0xccff3c=_0xf72d09;for(var _0x198cec=_0x1ef728>0x1?void 0x0:_0x1ef728?tr(_0x58e92e,_0x3089a2):_0x58e92e,_0x29213d=_0x4c2ff9[_0xccff3c(0x273)]-0x1,_0x5030c1;_0x29213d>=0x0;_0x29213d--)(_0x5030c1=_0x4c2ff9[_0x29213d])&&(_0x198cec=_0x5030c1(_0x198cec)||_0x198cec);return _0x198cec;},sr=(_0x10c342,_0xc9d175)=>(_0x522d54,_0x97fb94)=>_0xc9d175(_0x522d54,_0x97fb94,_0x10c342);let Ne=class extends _0x17e782{constructor(_0x595a5f){const _0x21d40e=_0xf72d09;super(),this[_0x21d40e(0xfd)]=_0x595a5f;}[_0xf72d09(0x25a)](_0x389648){const _0x24817d=_0xf72d09;var _0xeec2b6;const _0x32ca80=(_0xeec2b6=this[_0x24817d(0xfd)][_0x24817d(0x10f)](Be))==null?void 0x0:_0xeec2b6[_0x24817d(0xf5)];try{const _0x439168=new Qt(_0x389648,{'headers':{..._0x32ca80}}),_0x41f976=new _0x2be505();return{'URL':_0x389648,'close':(_0x1d80f8,_0x1923e9)=>{const _0x5a5ec4=_0x24817d;_0x439168[_0x5a5ec4(0x1d7)](_0x1d80f8,_0x1923e9),_0x41f976[_0x5a5ec4(0x27a)]();},'send':_0x199121=>{const _0x4cd508=_0x24817d;_0x439168[_0x4cd508(0x110)](_0x199121);},'open$':new _0x3a3d9f(_0x1890d9=>{const _0x117b25=_0x24817d,_0x11fb89=_0x580c6d=>_0x1890d9[_0x117b25(0x158)](_0x580c6d);_0x439168[_0x117b25(0x21f)](_0x117b25(0x1ea),_0x11fb89),_0x41f976[_0x117b25(0x152)](_0x1656f6(()=>_0x439168['removeEventListener'](_0x117b25(0x1ea),_0x11fb89)));})['pipe'](_0x45c52b()),'close$':new _0x3a3d9f(_0x3b9455=>{const _0x59c743=_0x24817d,_0x53dfbe=_0x4e7965=>_0x3b9455['next'](_0x4e7965);_0x439168[_0x59c743(0x21f)]('close',_0x53dfbe),_0x41f976['add'](_0x1656f6(()=>_0x439168[_0x59c743(0x20d)](_0x59c743(0x1d7),_0x53dfbe)));})[_0x24817d(0x256)](_0x45c52b()),'error$':new _0x3a3d9f(_0x1c1ef1=>{const _0x31c108=_0x24817d,_0x2fa0c7=_0x181680=>_0x1c1ef1[_0x31c108(0x158)](_0x181680);_0x439168[_0x31c108(0x21f)](_0x31c108(0x13b),_0x2fa0c7),_0x41f976[_0x31c108(0x152)](_0x1656f6(()=>_0x439168[_0x31c108(0x20d)](_0x31c108(0x13b),_0x2fa0c7)));})[_0x24817d(0x256)](_0x45c52b()),'message$':new _0x3a3d9f(_0x13b66b=>{const _0x5087c5=_0x24817d,_0x4019a5=_0x3f43cd=>_0x13b66b['next'](_0x3f43cd);_0x439168[_0x5087c5(0x21f)](_0x5087c5(0x1c4),_0x4019a5),_0x41f976[_0x5087c5(0x152)](_0x1656f6(()=>_0x439168['removeEventListener']('message',_0x4019a5)));})[_0x24817d(0x256)](_0x45c52b())};}catch(_0x4b861c){return console['error'](_0x4b861c),null;}}};Ne=rr([sr(0x0,_0x36914a)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0xe5f1c9,_0x3e2b50,_0xececde)=>_0x3e2b50 in _0xe5f1c9?ir(_0xe5f1c9,_0x3e2b50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xececde}):_0xe5f1c9[_0x3e2b50]=_0xececde,ar=(_0x459521,_0x58f172,_0x11d9d3,_0x3c6b1b)=>{const _0x532920=_0xf72d09;for(var _0x1e1f1d=_0x3c6b1b>0x1?void 0x0:_0x3c6b1b?nr(_0x58f172,_0x11d9d3):_0x58f172,_0x7190d2=_0x459521[_0x532920(0x273)]-0x1,_0x2bd47b;_0x7190d2>=0x0;_0x7190d2--)(_0x2bd47b=_0x459521[_0x7190d2])&&(_0x1e1f1d=_0x2bd47b(_0x1e1f1d)||_0x1e1f1d);return _0x1e1f1d;},ke=(_0x59908a,_0x1aaca6)=>(_0x3c87a8,_0x2b205d)=>_0x1aaca6(_0x3c87a8,_0x2b205d,_0x59908a),lr=(_0x48f4d5,_0x35c610,_0x592982)=>or(_0x48f4d5,_0x35c610+'',_0x592982);let Pe=class extends _0x286411{constructor(_0x196b30=Ft,_0x392b56,_0x100baa,_0x2cbfd0){const _0x110c23=_0xf72d09;_0x196b30[_0x110c23(0xf5)]||_0x392b56[_0x110c23(0x13f)](_0x110c23(0x1e1)),super(),this[_0x110c23(0xfd)]=_0x100baa,this[_0x110c23(0xe9)]=_0x2cbfd0,this[_0x110c23(0xfd)][_0x110c23(0x232)](Be,_0x196b30);}[_0xf72d09(0x16f)](){const _0x23af64=_0xf72d09;this[_0x23af64(0x202)]();}['_registerDependencies'](){const _0x23e198=_0xf72d09;_0x28adf8(this[_0x23e198(0xe9)],[[_0x572d33,{'useClass':Ne}]]);}};lr(Pe,_0xf72d09(0x215),_0xf72d09(0x25e)),Pe=ar([_0x562a6(_0x316416),ke(0x1,_0x8ee6cf),ke(0x2,_0x36914a),ke(0x3,_0x50272c(_0x4afa60))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x19f8b5,_0x29d1ff,_0x4d0719,_0x269bb5)=>{const _0x28e157=_0xf72d09;for(var _0x387b25=_0x269bb5>0x1?void 0x0:_0x269bb5?fr(_0x29d1ff,_0x4d0719):_0x29d1ff,_0x78cef5=_0x19f8b5[_0x28e157(0x273)]-0x1,_0x2bc4d8;_0x78cef5>=0x0;_0x78cef5--)(_0x2bc4d8=_0x19f8b5[_0x78cef5])&&(_0x387b25=_0x2bc4d8(_0x387b25)||_0x387b25);return _0x387b25;},se=(_0x2c9c4,_0x57fc6a)=>(_0x26a93e,_0xef395d)=>_0x57fc6a(_0x26a93e,_0xef395d,_0x2c9c4);let at=class extends _0x24f3a7{constructor(_0x478fbf,_0x3b53d3,_0x31cce2,_0x1fc159,_0x143efb){const _0x26832f=_0xf72d09;super(_0x478fbf,_0x3b53d3,_0x31cce2,_0x1fc159,_0x143efb);const _0x41ebd7=this[_0x26832f(0xfd)][_0x26832f(0x10f)](Be);this['_httpService'][_0x26832f(0x15e)]({'interceptor':(_0x2b490d,_0x506db7)=>{const _0x5a487d=_0x26832f;var _0x241c3a;const _0x191d66=_0x2b490d[_0x5a487d(0x214)];return(_0x241c3a=_0x41ebd7==null?void 0x0:_0x41ebd7['customHeaders'])!=null&&_0x241c3a[_0x5a487d(0x233)]&&_0x191d66[_0x5a487d(0x135)]('Cookie',_0x41ebd7[_0x5a487d(0xf5)][_0x5a487d(0x233)]),_0x506db7(_0x2b490d);}});}async['createSocket'](_0x496cf2){const _0x2b39d1=_0xf72d09;return this[_0x2b39d1(0x27c)](_0x496cf2);}};at=cr([se(0x0,_0x50272c(_0x4afa60)),se(0x1,_0x50272c(_0x2c6d6f)),se(0x2,_0x36914a),se(0x3,_0x8ee6cf),se(0x4,_0x2b6ace)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x1a92b4=_0x5dc0;function _0x29ea(){const _0x13371e=['controlMessage','once','sec-websocket-extensions','18IsyczW','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','2369032PXrxSW','ws+unix:','extensionName','pow','protocol','Sec-WebSocket-Protocol:\x20','servername','_mask','read','username','exports','function','socket','15FRXZJN','type','consume','\x0d\x0a\x0d\x0a','sec-websocket-protocol','keys','upgrade','drain','writeUIntBE','OPEN','_removeListeners','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','create','invalid\x20opcode\x20','The\x20server\x20is\x20not\x20running','9261rjhfKf','push','\x22\x20subprotocol\x20is\x20duplicated','statusCode','next','accept','Maximum\x20redirects\x20exceeded','_closeFrameSent','dequeue','bind','Module','pluginName','defineProperty','_registerDependencies','open','server_max_window_bits','setHeader','flush','_doCreateSocket','readyState','arraybuffer','threshold','https:','cookie','readable','writeHead','Unknown\x20parameter\x20\x22','_threshold','generateMask','byteOffset','invalid\x20payload\x20length\x20','connection','WS_ERR_INVALID_OPCODE','normalizeParams','authorization','_fragmented','_req','File','_compressed','\x20(supported\x20versions:\x20','default','getPayloadLength16','kReason','construct','cork','setNoDelay','target','client_no_context_takeover','enqueue','_destroy','get','ws:','_no_context_takeover','CONNECTING','fragments','WS_ERR_UNEXPECTED_RSV_1','pong','_skipUTF8Validation','18700360Czteat','redirect','onmessage','haveLength','_readyState','http:','_writableState','clientNoContextTakeover','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','frame','map','emitClose','password','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getBlobData','_originalHostOrSocketPath','autoPong','captureStackTrace','_fragments','clients','base64','socketPath','callback','search','toStringTag','method','WebSocket\x20is\x20not\x20open:\x20readyState\x20','onclose','WS_ERR_UNEXPECTED_MASK','_binaryType','WS_ERR_EXPECTED_FIN','stream','timeout','getData','sendFrame','pending','_write','GET','2586030MPcjsP','indexOf','hash','\x22:\x20','customHeaders','createSocket','_fin','\x22\x20must\x20have\x20only\x20a\x20single\x20value','byteLength','_protocol','zlibDeflateOptions','skipUTF8Validation','finished','Sec-WebSocket-Accept:\x20','port','RSV1\x20must\x20be\x20clear','listening','set','constructor','readUInt16BE','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','freeze','__esModule','Invalid\x20WebSocket\x20frame:\x20','client_max_window_bits','server_no_context_takeover','_bufferedBytes','value','unmask','string','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','cleanup','getMask','_closeCode','_maskBuffer','Upgrade:\x20websocket','charCodeAt','_paused','nodebuffer','then','MASK\x20must\x20be\x20set','92696AgijUz','binary','defaultPort','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','code','_originalIpc','_server','concat','_injector','setTimeout','test','_masked','species','dispatch','hostname','terminate','digest','server','listenerCount','WS_ERR_UNEXPECTED_RSV_2_3','FIN\x20must\x20be\x20set','_totalPayloadLength','_inflate','_extensions','_configService','getPayloadLength64','WS_NO_UTF_8_VALIDATE','error','maxPayload','status-code','_allowSynchronousEvents','number','dataMessage','client','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_deflate','createInflateRaw','env','The\x20URL\x27s\x20pathname\x20is\x20empty','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','listeners','getInfo','Unexpected\x20server\x20response:\x20','errorEmitted','compress','CLOSING','addEventListener','message','dispose','_closeTimer','clientMaxWindowBits','length','readOnly','_generateMask','clientTracking','join','shift','sec-websocket-origin','kAborted','216grkXBE','HTTP/1.1\x20','abort','kError','maskBuffer','path','extensions','createError','WebSocket','_bufferedAmount','split','pipe','has','_queue','followRedirects','host','decompress','allowSynchronousEvents','isPaused','Z_SYNC_FLUSH','_receiver','acceptAsServer','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_readableState','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_maxPayload','url','prototype','destroy','isArray','_isServer','WS_ERR_INVALID_CLOSE_CODE','headers','mask','rsv1','_read','CLOSED','jobs','removeEventListener','wss:','kListener','add','total-length','kType','finishRequest','Server\x20sent\x20an\x20invalid\x20subprotocol','needDrain','end','shouldHandle','parse','params','sec-websocket-key','write','Z_DEFAULT_WINDOWBITS','backlog','call','zlibInflateOptions','unshift','finish','wsClientError','_buffers','_errored','WS_ERR_INVALID_UTF8','slice','_payloadLength','startLoop','auth','Sec-WebSocket-Origin','text/html','object','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','href','_sender','kDone','response','unexpected-response','resume','_errorEmitted','registerHTTPInterceptor','close','_messageLength','_originalSecure','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','reset','_state','onerror','Parameter\x20\x22','_closeMessage','concurrency','Unexpected\x20end\x20of\x20input','WS_ERR_EXPECTED_MASK','10977660IIEnOQ','Invalid\x20Upgrade\x20header','fin','readUInt32BE','kData','location','setSocket','writable','entries','writeUInt16BE','replace','toString','apply','startsWith','sec-websocket-version','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','serverNoContextTakeover','Invalid\x20URL:\x20','Unsupported\x20protocol\x20version:\x20','pause','nextTick','isInteger','_decompress','The\x20\x22','_max_window_bits','kIsForOnEventAttribute','isIP','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','noServer','_url','kTarget','_closeFrameReceived','encrypted','Invalid\x20value\x20for\x20parameter\x20\x22','endEmitted','format','listen','invalid\x20UTF-8\x20sequence','Max\x20payload\x20size\x20exceeded','forEach','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','bufferedAmount','onopen','ping','emit','_redirects','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','authorized','createDeflateRaw','STATUS_CODES','_loop','allocUnsafe','from','find','permessage-deflate','Sec-WebSocket-Extensions','sec-websocket-accept','1067061ZBvQdZ','destroyed','send','_compress','wasClean','Invalid\x20Sec-WebSocket-Accept\x20header','_firstFragment','blob','_shouldEmitClose','update','origin','address','verifyClient','handleEvent','objectMode','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','perMessageDeflate','_autoPong','options','binaryType','removeListener','size','concurrencyLimit','Connection:\x20Upgrade','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','arrayBuffer','conclude','alloc','isServer','getOwnPropertyDescriptor','kMessage','removeAllListeners','MASK\x20must\x20be\x20clear','The\x20URL\x20contains\x20a\x20fragment\x20identifier','handshakeTimeout','acceptAsClient','_socket','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','kCode','completeUpgrade','data','connect','reason','handleUpgrade','_opcode','buffer','_options','serverMaxWindowBits','Unexpected\x20character\x20at\x20index\x20','offer','WS_NO_BUFFER_UTIL','opcode','values','kWasClean','toLowerCase','protocolVersion'];_0x29ea=function(){return _0x13371e;};return _0x29ea();}(function(_0x3e926b,_0x2806c9){const _0x478d6c=_0x5dc0,_0xbf779d=_0x3e926b();while(!![]){try{const _0x51e9ed=-parseInt(_0x478d6c(0x295))/0x1+-parseInt(_0x478d6c(0x1c6))/0x2*(-parseInt(_0x478d6c(0x2d1))/0x3)+-parseInt(_0x478d6c(0x2d3))/0x4*(parseInt(_0x478d6c(0x2e0))/0x5)+parseInt(_0x478d6c(0x19d))/0x6+-parseInt(_0x478d6c(0x2ef))/0x7*(parseInt(_0x478d6c(0x201))/0x8)+parseInt(_0x478d6c(0x25c))/0x9+parseInt(_0x478d6c(0x329))/0xa;if(_0x51e9ed===_0x2806c9)break;else _0xbf779d['push'](_0xbf779d['shift']());}catch(_0x5871f2){_0xbf779d['push'](_0xbf779d['shift']());}}}(_0x29ea,0xe0711));import{UniverCollaborationClientPlugin as _0x12a6e2,CollaborationSocketService as _0x2f74cb}from'@univerjs-pro/collaboration-client';import{Disposable as _0x504150,DisposableCollection as _0xbfbc95,toDisposable as _0x37d456,IConfigService as _0x101b76,DependentOn as _0x1e9d53,ILogService as _0x50d428,Inject as _0x35f987,Injector as _0x88c9bd,Plugin as _0x12cc31,registerDependencies as _0x4afc15}from'@univerjs/core';import{ISocketService as _0x35242c,HTTPService as _0x2aa58a}from'@univerjs/network';import{Observable as _0x2681af,share as _0x1b548e}from'rxjs';import _0x5c41d1 from'events';import _0x5de150 from'https';import _0x3cb461 from'http';import _0xdef7f9 from'net';import _0x55c98e from'tls';import _0x2b0786 from'crypto';import _0x5f8150 from'stream';import _0x13fbb3 from'url';import _0x3f1697 from'zlib';import _0x45055a from'buffer';import{ISnapshotServerService as _0x132d45}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x370ff2){const _0xd6a9c1=_0x5dc0;return _0x370ff2&&_0x370ff2[_0xd6a9c1(0x1b3)]&&Object[_0xd6a9c1(0x21c)]['hasOwnProperty'][_0xd6a9c1(0x238)](_0x370ff2,_0xd6a9c1(0x317))?_0x370ff2[_0xd6a9c1(0x317)]:_0x370ff2;}function ut(_0x23bc6d){const _0x2e12d8=_0x5dc0;if(Object[_0x2e12d8(0x21c)]['hasOwnProperty'][_0x2e12d8(0x238)](_0x23bc6d,'__esModule'))return _0x23bc6d;var _0x5f1f66=_0x23bc6d['default'];if(typeof _0x5f1f66=='function'){var _0x467f51=function _0xc78301(){const _0x35d061=_0x2e12d8;return this instanceof _0xc78301?Reflect[_0x35d061(0x31a)](_0x5f1f66,arguments,this[_0x35d061(0x1af)]):_0x5f1f66[_0x35d061(0x268)](this,arguments);};_0x467f51[_0x2e12d8(0x21c)]=_0x5f1f66[_0x2e12d8(0x21c)];}else _0x467f51={};return Object[_0x2e12d8(0x2fb)](_0x467f51,_0x2e12d8(0x1b3),{'value':!0x0}),Object[_0x2e12d8(0x2e5)](_0x23bc6d)[_0x2e12d8(0x283)](function(_0x4a8603){const _0x40f6c4=_0x2e12d8;var _0x5f4450=Object[_0x40f6c4(0x2b3)](_0x23bc6d,_0x4a8603);Object[_0x40f6c4(0x2fb)](_0x467f51,_0x4a8603,_0x5f4450[_0x40f6c4(0x321)]?_0x5f4450:{'enumerable':!0x0,'get':function(){return _0x23bc6d[_0x4a8603];}});}),_0x467f51;}var te={'exports':{}},ge,Ye;function V(){const _0x10aeb5=_0x5dc0;if(Ye)return ge;Ye=0x1;const _0x4ac95f=[_0x10aeb5(0x1c3),_0x10aeb5(0x303),_0x10aeb5(0x325)],_0x6ea277=typeof Blob<'u';return _0x6ea277&&_0x4ac95f['push'](_0x10aeb5(0x29c)),ge={'BINARY_TYPES':_0x4ac95f,'EMPTY_BUFFER':Buffer[_0x10aeb5(0x2b1)](0x0),'GUID':_0x10aeb5(0x28a),'hasBlob':_0x6ea277,'kForOnEventAttribute':Symbol(_0x10aeb5(0x275)),'kListener':Symbol(_0x10aeb5(0x229)),'kStatusCode':Symbol(_0x10aeb5(0x1e3)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x1a92b4(0x1b2)](Object[_0x1a92b4(0x2fb)]({'__proto__':null,'default':Wt},Symbol[_0x1a92b4(0x18f)],{'value':_0x1a92b4(0x2f9)})),Vt=ut(Gt);var Ke;function ce(){const _0x4f6b49=_0x1a92b4;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x480043}=V(),_0x3fadd4=Buffer[Symbol[_0x4f6b49(0x1d2)]];function _0x1b2ee7(_0xff373a,_0x330bf4){const _0x43b622=_0x4f6b49;if(_0xff373a[_0x43b622(0x1f9)]===0x0)return _0x480043;if(_0xff373a[_0x43b622(0x1f9)]===0x1)return _0xff373a[0x0];const _0x9673ce=Buffer[_0x43b622(0x28f)](_0x330bf4);let _0x3d714d=0x0;for(let _0x149eaa=0x0;_0x149eaa<_0xff373a[_0x43b622(0x1f9)];_0x149eaa++){const _0xcf3941=_0xff373a[_0x149eaa];_0x9673ce[_0x43b622(0x1ae)](_0xcf3941,_0x3d714d),_0x3d714d+=_0xcf3941[_0x43b622(0x1f9)];}return _0x3d714d<_0x330bf4?new _0x3fadd4(_0x9673ce[_0x43b622(0x2c3)],_0x9673ce[_0x43b622(0x30c)],_0x3d714d):_0x9673ce;}function _0x2f3102(_0x1b9cb2,_0x5b0604,_0xbf6df4,_0x2e8839,_0x3a2959){for(let _0x1e0dc6=0x0;_0x1e0dc6<_0x3a2959;_0x1e0dc6++)_0xbf6df4[_0x2e8839+_0x1e0dc6]=_0x1b9cb2[_0x1e0dc6]^_0x5b0604[_0x1e0dc6&0x3];}function _0x3b4763(_0x2a573a,_0xfbdbcc){const _0x2637aa=_0x4f6b49;for(let _0x40aa4a=0x0;_0x40aa4a<_0x2a573a[_0x2637aa(0x1f9)];_0x40aa4a++)_0x2a573a[_0x40aa4a]^=_0xfbdbcc[_0x40aa4a&0x3];}function _0x21e84b(_0x7e66fc){const _0x3c766f=_0x4f6b49;return _0x7e66fc[_0x3c766f(0x1f9)]===_0x7e66fc[_0x3c766f(0x2c3)][_0x3c766f(0x1a5)]?_0x7e66fc[_0x3c766f(0x2c3)]:_0x7e66fc[_0x3c766f(0x2c3)][_0x3c766f(0x240)](_0x7e66fc[_0x3c766f(0x30c)],_0x7e66fc[_0x3c766f(0x30c)]+_0x7e66fc[_0x3c766f(0x1f9)]);}function _0x28024d(_0xf89088){const _0x5cc377=_0x4f6b49;if(_0x28024d[_0x5cc377(0x1fa)]=!0x0,Buffer['isBuffer'](_0xf89088))return _0xf89088;let _0xb72510;return _0xf89088 instanceof ArrayBuffer?_0xb72510=new _0x3fadd4(_0xf89088):ArrayBuffer['isView'](_0xf89088)?_0xb72510=new _0x3fadd4(_0xf89088[_0x5cc377(0x2c3)],_0xf89088['byteOffset'],_0xf89088[_0x5cc377(0x1a5)]):(_0xb72510=Buffer[_0x5cc377(0x290)](_0xf89088),_0x28024d[_0x5cc377(0x1fa)]=!0x1),_0xb72510;}if(te[_0x4f6b49(0x2dd)]={'concat':_0x1b2ee7,'mask':_0x2f3102,'toArrayBuffer':_0x21e84b,'toBuffer':_0x28024d,'unmask':_0x3b4763},!process[_0x4f6b49(0x1eb)][_0x4f6b49(0x2c8)])try{const _0x506c18=Vt;te['exports'][_0x4f6b49(0x222)]=function(_0x5dd449,_0x4767cc,_0x5c6c01,_0x1492f4,_0x349168){const _0x33de6b=_0x4f6b49;_0x349168<0x30?_0x2f3102(_0x5dd449,_0x4767cc,_0x5c6c01,_0x1492f4,_0x349168):_0x506c18[_0x33de6b(0x222)](_0x5dd449,_0x4767cc,_0x5c6c01,_0x1492f4,_0x349168);},te[_0x4f6b49(0x2dd)][_0x4f6b49(0x1b9)]=function(_0x1422b5,_0x3ebf24){const _0x4521c3=_0x4f6b49;_0x1422b5[_0x4521c3(0x1f9)]<0x20?_0x3b4763(_0x1422b5,_0x3ebf24):_0x506c18[_0x4521c3(0x1b9)](_0x1422b5,_0x3ebf24);};}catch{}return te[_0x4f6b49(0x2dd)];}var ye,Xe;function qt(){const _0x13c8a9=_0x1a92b4;if(Xe)return ye;Xe=0x1;const _0x181948=Symbol(_0x13c8a9(0x24a)),_0x2c0241=Symbol('kRun');class _0x20867b{constructor(_0x480241){const _0xd07707=_0x13c8a9;this[_0x181948]=()=>{this['pending']--,this[_0x2c0241]();},this[_0xd07707(0x259)]=_0x480241||0x1/0x0,this[_0xd07707(0x226)]=[],this['pending']=0x0;}[_0x13c8a9(0x22a)](_0x4b93df){const _0x4bd40b=_0x13c8a9;this[_0x4bd40b(0x226)][_0x4bd40b(0x2f0)](_0x4b93df),this[_0x2c0241]();}[_0x2c0241](){const _0x245d13=_0x13c8a9;if(this[_0x245d13(0x19a)]!==this[_0x245d13(0x259)]&&this[_0x245d13(0x226)]['length']){const _0x3d2eea=this[_0x245d13(0x226)][_0x245d13(0x1fe)]();this[_0x245d13(0x19a)]++,_0x3d2eea(this[_0x181948]);}}}return ye=_0x20867b,ye;}var ve,Ze;function he(){const _0x56c4f5=_0x1a92b4;if(Ze)return ve;Ze=0x1;const _0x5daebe=_0x3f1697,_0x468bc7=ce(),_0xa8b750=qt(),{kStatusCode:_0x32118d}=V(),_0x2e6314=Buffer[Symbol[_0x56c4f5(0x1d2)]],_0xc2612c=Buffer[_0x56c4f5(0x290)]([0x0,0x0,0xff,0xff]),_0x26f881=Symbol(_0x56c4f5(0x292)),_0x1829d7=Symbol(_0x56c4f5(0x22b)),_0x218b75=Symbol(_0x56c4f5(0x18d)),_0x5770f8=Symbol('buffers'),_0x2fbd0a=Symbol(_0x56c4f5(0x1e1));let _0x565cfb;class _0x4f3970{constructor(_0xc06776,_0x1b0a1b,_0x38acec){const _0x301438=_0x56c4f5;if(this[_0x301438(0x21a)]=_0x38acec|0x0,this[_0x301438(0x2c4)]=_0xc06776||{},this[_0x301438(0x30a)]=this['_options'][_0x301438(0x304)]!==void 0x0?this[_0x301438(0x2c4)][_0x301438(0x304)]:0x400,this[_0x301438(0x21f)]=!!_0x1b0a1b,this[_0x301438(0x1e9)]=null,this[_0x301438(0x1dc)]=null,this[_0x301438(0x233)]=null,!_0x565cfb){const _0x37d4c8=this[_0x301438(0x2c4)][_0x301438(0x2ac)]!==void 0x0?this['_options'][_0x301438(0x2ac)]:0xa;_0x565cfb=new _0xa8b750(_0x37d4c8);}}static get[_0x56c4f5(0x2d5)](){return'permessage-deflate';}['offer'](){const _0x30934d=_0x56c4f5,_0x1664c5={};return this[_0x30934d(0x2c4)]['serverNoContextTakeover']&&(_0x1664c5[_0x30934d(0x1b6)]=!0x0),this[_0x30934d(0x2c4)][_0x30934d(0x330)]&&(_0x1664c5['client_no_context_takeover']=!0x0),this[_0x30934d(0x2c4)][_0x30934d(0x2c5)]&&(_0x1664c5[_0x30934d(0x2fe)]=this[_0x30934d(0x2c4)][_0x30934d(0x2c5)]),this['_options'][_0x30934d(0x1f8)]?_0x1664c5[_0x30934d(0x1b5)]=this[_0x30934d(0x2c4)][_0x30934d(0x1f8)]:this[_0x30934d(0x2c4)][_0x30934d(0x1f8)]==null&&(_0x1664c5[_0x30934d(0x1b5)]=!0x0),_0x1664c5;}[_0x56c4f5(0x2f4)](_0x2f8385){const _0x52262b=_0x56c4f5;return _0x2f8385=this[_0x52262b(0x310)](_0x2f8385),this[_0x52262b(0x233)]=this[_0x52262b(0x21f)]?this[_0x52262b(0x216)](_0x2f8385):this[_0x52262b(0x2b9)](_0x2f8385),this[_0x52262b(0x233)];}[_0x56c4f5(0x1bc)](){const _0x215194=_0x56c4f5;if(this[_0x215194(0x1dc)]&&(this[_0x215194(0x1dc)]['close'](),this[_0x215194(0x1dc)]=null),this[_0x215194(0x1e9)]){const _0x2d9edc=this['_deflate'][_0x218b75];this[_0x215194(0x1e9)]['close'](),this[_0x215194(0x1e9)]=null,_0x2d9edc&&_0x2d9edc(new Error(_0x215194(0x2ae)));}}['acceptAsServer'](_0x1d126f){const _0x37864f=_0x56c4f5,_0x6787a6=this[_0x37864f(0x2c4)],_0x2ee7f=_0x1d126f[_0x37864f(0x291)](_0x10e231=>!(_0x6787a6['serverNoContextTakeover']===!0x1&&_0x10e231[_0x37864f(0x1b6)]||_0x10e231[_0x37864f(0x2fe)]&&(_0x6787a6[_0x37864f(0x2c5)]===!0x1||typeof _0x6787a6[_0x37864f(0x2c5)]=='number'&&_0x6787a6[_0x37864f(0x2c5)]>_0x10e231[_0x37864f(0x2fe)])||typeof _0x6787a6['clientMaxWindowBits']=='number'&&!_0x10e231[_0x37864f(0x1b5)]));if(!_0x2ee7f)throw new Error(_0x37864f(0x284));return _0x6787a6[_0x37864f(0x26c)]&&(_0x2ee7f['server_no_context_takeover']=!0x0),_0x6787a6[_0x37864f(0x330)]&&(_0x2ee7f['client_no_context_takeover']=!0x0),typeof _0x6787a6[_0x37864f(0x2c5)]==_0x37864f(0x1e5)&&(_0x2ee7f[_0x37864f(0x2fe)]=_0x6787a6[_0x37864f(0x2c5)]),typeof _0x6787a6[_0x37864f(0x1f8)]==_0x37864f(0x1e5)?_0x2ee7f[_0x37864f(0x1b5)]=_0x6787a6[_0x37864f(0x1f8)]:(_0x2ee7f[_0x37864f(0x1b5)]===!0x0||_0x6787a6[_0x37864f(0x1f8)]===!0x1)&&delete _0x2ee7f['client_max_window_bits'],_0x2ee7f;}[_0x56c4f5(0x2b9)](_0x3ea285){const _0x1b8861=_0x56c4f5,_0x393d4c=_0x3ea285[0x0];if(this[_0x1b8861(0x2c4)]['clientNoContextTakeover']===!0x1&&_0x393d4c[_0x1b8861(0x31e)])throw new Error(_0x1b8861(0x1ed));if(!_0x393d4c['client_max_window_bits'])typeof this[_0x1b8861(0x2c4)][_0x1b8861(0x1f8)]==_0x1b8861(0x1e5)&&(_0x393d4c[_0x1b8861(0x1b5)]=this[_0x1b8861(0x2c4)][_0x1b8861(0x1f8)]);else{if(this[_0x1b8861(0x2c4)][_0x1b8861(0x1f8)]===!0x1||typeof this[_0x1b8861(0x2c4)][_0x1b8861(0x1f8)]==_0x1b8861(0x1e5)&&_0x393d4c[_0x1b8861(0x1b5)]>this[_0x1b8861(0x2c4)]['clientMaxWindowBits'])throw new Error(_0x1b8861(0x2d2));}return _0x393d4c;}['normalizeParams'](_0x1c6527){const _0x47a47e=_0x56c4f5;return _0x1c6527[_0x47a47e(0x283)](_0x4b3659=>{Object['keys'](_0x4b3659)['forEach'](_0x32eded=>{const _0x256fd6=_0x5dc0;let _0x4c4a0b=_0x4b3659[_0x32eded];if(_0x4c4a0b['length']>0x1)throw new Error(_0x256fd6(0x257)+_0x32eded+_0x256fd6(0x1a4));if(_0x4c4a0b=_0x4c4a0b[0x0],_0x32eded===_0x256fd6(0x1b5)){if(_0x4c4a0b!==!0x0){const _0x4700ad=+_0x4c4a0b;if(!Number['isInteger'](_0x4700ad)||_0x4700ad<0x8||_0x4700ad>0xf)throw new TypeError(_0x256fd6(0x27d)+_0x32eded+'\x22:\x20'+_0x4c4a0b);_0x4c4a0b=_0x4700ad;}else{if(!this[_0x256fd6(0x21f)])throw new TypeError(_0x256fd6(0x27d)+_0x32eded+_0x256fd6(0x1a0)+_0x4c4a0b);}}else{if(_0x32eded==='server_max_window_bits'){const _0x465ab2=+_0x4c4a0b;if(!Number[_0x256fd6(0x271)](_0x465ab2)||_0x465ab2<0x8||_0x465ab2>0xf)throw new TypeError(_0x256fd6(0x27d)+_0x32eded+'\x22:\x20'+_0x4c4a0b);_0x4c4a0b=_0x465ab2;}else{if(_0x32eded==='client_no_context_takeover'||_0x32eded===_0x256fd6(0x1b6)){if(_0x4c4a0b!==!0x0)throw new TypeError(_0x256fd6(0x27d)+_0x32eded+_0x256fd6(0x1a0)+_0x4c4a0b);}else throw new Error(_0x256fd6(0x309)+_0x32eded+'\x22');}}_0x4b3659[_0x32eded]=_0x4c4a0b;});}),_0x1c6527;}[_0x56c4f5(0x211)](_0x4b9e6a,_0x3c66f0,_0x18d91a){const _0x53c61e=_0x56c4f5;_0x565cfb[_0x53c61e(0x22a)](_0x1a0914=>{this['_decompress'](_0x4b9e6a,_0x3c66f0,(_0xd9a511,_0x4fd0d6)=>{_0x1a0914(),_0x18d91a(_0xd9a511,_0x4fd0d6);});});}[_0x56c4f5(0x1f2)](_0x2fd216,_0x5bab8a,_0x3115ed){const _0x4d6b8a=_0x56c4f5;_0x565cfb[_0x4d6b8a(0x22a)](_0x292191=>{const _0x44e12d=_0x4d6b8a;this[_0x44e12d(0x298)](_0x2fd216,_0x5bab8a,(_0x48d669,_0x3ab79e)=>{_0x292191(),_0x3115ed(_0x48d669,_0x3ab79e);});});}[_0x56c4f5(0x272)](_0x250c6e,_0x2618a1,_0x298c77){const _0x3927f9=_0x56c4f5,_0xeb3a91=this[_0x3927f9(0x21f)]?'client':'server';if(!this[_0x3927f9(0x1dc)]){const _0x370589=_0xeb3a91+'_max_window_bits',_0x105ff2=typeof this[_0x3927f9(0x233)][_0x370589]!='number'?_0x5daebe[_0x3927f9(0x236)]:this['params'][_0x370589];this[_0x3927f9(0x1dc)]=_0x5daebe[_0x3927f9(0x1ea)]({...this[_0x3927f9(0x2c4)][_0x3927f9(0x239)],'windowBits':_0x105ff2}),this[_0x3927f9(0x1dc)][_0x26f881]=this,this[_0x3927f9(0x1dc)][_0x1829d7]=0x0,this['_inflate'][_0x5770f8]=[],this[_0x3927f9(0x1dc)]['on'](_0x3927f9(0x1e1),_0x4f2238),this[_0x3927f9(0x1dc)]['on'](_0x3927f9(0x2be),_0x228304);}this['_inflate'][_0x218b75]=_0x298c77,this['_inflate'][_0x3927f9(0x235)](_0x250c6e),_0x2618a1&&this[_0x3927f9(0x1dc)][_0x3927f9(0x235)](_0xc2612c),this[_0x3927f9(0x1dc)][_0x3927f9(0x300)](()=>{const _0x593bc1=_0x3927f9,_0x2e1051=this[_0x593bc1(0x1dc)][_0x2fbd0a];if(_0x2e1051){this[_0x593bc1(0x1dc)][_0x593bc1(0x250)](),this[_0x593bc1(0x1dc)]=null,_0x298c77(_0x2e1051);return;}const _0x7c7380=_0x468bc7[_0x593bc1(0x1cd)](this[_0x593bc1(0x1dc)][_0x5770f8],this[_0x593bc1(0x1dc)][_0x1829d7]);this[_0x593bc1(0x1dc)]['_readableState'][_0x593bc1(0x27e)]?(this[_0x593bc1(0x1dc)]['close'](),this['_inflate']=null):(this[_0x593bc1(0x1dc)][_0x1829d7]=0x0,this[_0x593bc1(0x1dc)][_0x5770f8]=[],_0x2618a1&&this[_0x593bc1(0x233)][_0xeb3a91+_0x593bc1(0x323)]&&this[_0x593bc1(0x1dc)][_0x593bc1(0x254)]()),_0x298c77(null,_0x7c7380);});}[_0x56c4f5(0x298)](_0x45ff8e,_0x3a344b,_0x575d83){const _0x2e74f2=_0x56c4f5,_0x212d85=this[_0x2e74f2(0x21f)]?_0x2e74f2(0x1d7):_0x2e74f2(0x1e7);if(!this[_0x2e74f2(0x1e9)]){const _0x488930=_0x212d85+_0x2e74f2(0x274),_0x1858d6=typeof this['params'][_0x488930]!=_0x2e74f2(0x1e5)?_0x5daebe['Z_DEFAULT_WINDOWBITS']:this[_0x2e74f2(0x233)][_0x488930];this[_0x2e74f2(0x1e9)]=_0x5daebe[_0x2e74f2(0x28c)]({...this[_0x2e74f2(0x2c4)][_0x2e74f2(0x1a7)],'windowBits':_0x1858d6}),this[_0x2e74f2(0x1e9)][_0x1829d7]=0x0,this[_0x2e74f2(0x1e9)][_0x5770f8]=[],this[_0x2e74f2(0x1e9)]['on'](_0x2e74f2(0x2be),_0x4581e8);}this[_0x2e74f2(0x1e9)][_0x218b75]=_0x575d83,this[_0x2e74f2(0x1e9)][_0x2e74f2(0x235)](_0x45ff8e),this[_0x2e74f2(0x1e9)][_0x2e74f2(0x300)](_0x5daebe[_0x2e74f2(0x214)],()=>{const _0x464343=_0x2e74f2;if(!this[_0x464343(0x1e9)])return;let _0x39dcb6=_0x468bc7['concat'](this[_0x464343(0x1e9)][_0x5770f8],this[_0x464343(0x1e9)][_0x1829d7]);_0x3a344b&&(_0x39dcb6=new _0x2e6314(_0x39dcb6[_0x464343(0x2c3)],_0x39dcb6[_0x464343(0x30c)],_0x39dcb6[_0x464343(0x1f9)]-0x4)),this[_0x464343(0x1e9)][_0x218b75]=null,this[_0x464343(0x1e9)][_0x1829d7]=0x0,this[_0x464343(0x1e9)][_0x5770f8]=[],_0x3a344b&&this[_0x464343(0x233)][_0x212d85+_0x464343(0x323)]&&this[_0x464343(0x1e9)][_0x464343(0x254)](),_0x575d83(null,_0x39dcb6);});}}ve=_0x4f3970;function _0x4581e8(_0x179447){const _0x29a317=_0x56c4f5;this[_0x5770f8][_0x29a317(0x2f0)](_0x179447),this[_0x1829d7]+=_0x179447['length'];}function _0x228304(_0x1db634){const _0x280a18=_0x56c4f5;if(this[_0x1829d7]+=_0x1db634[_0x280a18(0x1f9)],this[_0x26f881][_0x280a18(0x21a)]<0x1||this[_0x1829d7]<=this[_0x26f881][_0x280a18(0x21a)]){this[_0x5770f8]['push'](_0x1db634);return;}this[_0x2fbd0a]=new RangeError(_0x280a18(0x282)),this[_0x2fbd0a][_0x280a18(0x1ca)]=_0x280a18(0x26b),this[_0x2fbd0a][_0x32118d]=0x3f1,this[_0x280a18(0x2aa)](_0x280a18(0x2be),_0x228304),this['reset']();}function _0x4f2238(_0x339857){const _0x189162=_0x56c4f5;this[_0x26f881][_0x189162(0x1dc)]=null,_0x339857[_0x32118d]=0x3ef,this[_0x218b75](_0x339857);}return ve;}var re={'exports':{}};function _0x5dc0(_0x1df2be,_0x214d12){const _0x29ea29=_0x29ea();return _0x5dc0=function(_0x5dc0a4,_0x290535){_0x5dc0a4=_0x5dc0a4-0x18b;let _0x2067d3=_0x29ea29[_0x5dc0a4];return _0x2067d3;},_0x5dc0(_0x1df2be,_0x214d12);}const Ht={},zt=Object['freeze'](Object[_0x1a92b4(0x2fb)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x1a92b4(0x2f9)})),Yt=ut(zt);var Qe;function ne(){const _0x5810a0=_0x1a92b4;if(Qe)return re[_0x5810a0(0x2dd)];Qe=0x1;const {isUtf8:_0x3189e8}=_0x45055a,{hasBlob:_0x4083af}=V(),_0xbc3bd4=[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 _0x42e256(_0x4e373f){return _0x4e373f>=0x3e8&&_0x4e373f<=0x3f6&&_0x4e373f!==0x3ec&&_0x4e373f!==0x3ed&&_0x4e373f!==0x3ee||_0x4e373f>=0xbb8&&_0x4e373f<=0x1387;}function _0x3d3510(_0x2accfd){const _0x187ab3=_0x2accfd['length'];let _0x3ecc97=0x0;for(;_0x3ecc97<_0x187ab3;)if((_0x2accfd[_0x3ecc97]&0x80)===0x0)_0x3ecc97++;else{if((_0x2accfd[_0x3ecc97]&0xe0)===0xc0){if(_0x3ecc97+0x1===_0x187ab3||(_0x2accfd[_0x3ecc97+0x1]&0xc0)!==0x80||(_0x2accfd[_0x3ecc97]&0xfe)===0xc0)return!0x1;_0x3ecc97+=0x2;}else{if((_0x2accfd[_0x3ecc97]&0xf0)===0xe0){if(_0x3ecc97+0x2>=_0x187ab3||(_0x2accfd[_0x3ecc97+0x1]&0xc0)!==0x80||(_0x2accfd[_0x3ecc97+0x2]&0xc0)!==0x80||_0x2accfd[_0x3ecc97]===0xe0&&(_0x2accfd[_0x3ecc97+0x1]&0xe0)===0x80||_0x2accfd[_0x3ecc97]===0xed&&(_0x2accfd[_0x3ecc97+0x1]&0xe0)===0xa0)return!0x1;_0x3ecc97+=0x3;}else{if((_0x2accfd[_0x3ecc97]&0xf8)===0xf0){if(_0x3ecc97+0x3>=_0x187ab3||(_0x2accfd[_0x3ecc97+0x1]&0xc0)!==0x80||(_0x2accfd[_0x3ecc97+0x2]&0xc0)!==0x80||(_0x2accfd[_0x3ecc97+0x3]&0xc0)!==0x80||_0x2accfd[_0x3ecc97]===0xf0&&(_0x2accfd[_0x3ecc97+0x1]&0xf0)===0x80||_0x2accfd[_0x3ecc97]===0xf4&&_0x2accfd[_0x3ecc97+0x1]>0x8f||_0x2accfd[_0x3ecc97]>0xf4)return!0x1;_0x3ecc97+=0x4;}else return!0x1;}}}return!0x0;}function _0x357e58(_0x6a878a){const _0x55edb6=_0x5810a0;return _0x4083af&&typeof _0x6a878a==_0x55edb6(0x246)&&typeof _0x6a878a[_0x55edb6(0x2af)]=='function'&&typeof _0x6a878a[_0x55edb6(0x2e1)]==_0x55edb6(0x1ba)&&typeof _0x6a878a[_0x55edb6(0x196)]==_0x55edb6(0x2de)&&(_0x6a878a[Symbol[_0x55edb6(0x18f)]]==='Blob'||_0x6a878a[Symbol[_0x55edb6(0x18f)]]===_0x55edb6(0x314));}if(re['exports']={'isBlob':_0x357e58,'isValidStatusCode':_0x42e256,'isValidUTF8':_0x3d3510,'tokenChars':_0xbc3bd4},_0x3189e8)re[_0x5810a0(0x2dd)]['isValidUTF8']=function(_0x3f1089){const _0x543769=_0x5810a0;return _0x3f1089[_0x543769(0x1f9)]<0x18?_0x3d3510(_0x3f1089):_0x3189e8(_0x3f1089);};else{if(!process[_0x5810a0(0x1eb)][_0x5810a0(0x1e0)])try{const _0x324d7a=Yt;re[_0x5810a0(0x2dd)]['isValidUTF8']=function(_0x485c6f){const _0x114742=_0x5810a0;return _0x485c6f[_0x114742(0x1f9)]<0x20?_0x3d3510(_0x485c6f):_0x324d7a(_0x485c6f);};}catch{}}return re[_0x5810a0(0x2dd)];}var Se,Je;function dt(){const _0x43f534=_0x1a92b4;if(Je)return Se;Je=0x1;const {Writable:_0xf7881f}=_0x5f8150,_0x55e2a3=he(),{BINARY_TYPES:_0x130712,EMPTY_BUFFER:_0x16e6db,kStatusCode:_0x2bf402,kWebSocket:_0xb8df28}=V(),{concat:_0x37eaa5,toArrayBuffer:_0x2e463b,unmask:_0x3e4a5b}=ce(),{isValidStatusCode:_0x3709a1,isValidUTF8:_0x6e5c06}=ne(),_0x2bda27=Buffer[Symbol[_0x43f534(0x1d2)]],_0x21949f=0x0,_0x5b59cc=0x1,_0x1a5a1d=0x2,_0x36de50=0x3,_0xa758ef=0x4,_0x3edaa1=0x5,_0x47a3f1=0x6;class _0x5abb7a extends _0xf7881f{constructor(_0x3b907b={}){const _0x38761a=_0x43f534;super(),this[_0x38761a(0x1e4)]=_0x3b907b['allowSynchronousEvents']!==void 0x0?_0x3b907b[_0x38761a(0x212)]:!0x0,this[_0x38761a(0x194)]=_0x3b907b[_0x38761a(0x2a9)]||_0x130712[0x0],this[_0x38761a(0x1dd)]=_0x3b907b['extensions']||{},this['_isServer']=!!_0x3b907b[_0x38761a(0x2b2)],this['_maxPayload']=_0x3b907b['maxPayload']|0x0,this[_0x38761a(0x328)]=!!_0x3b907b[_0x38761a(0x1a8)],this[_0xb8df28]=void 0x0,this[_0x38761a(0x1b7)]=0x0,this[_0x38761a(0x23d)]=[],this[_0x38761a(0x315)]=!0x1,this[_0x38761a(0x241)]=0x0,this[_0x38761a(0x2da)]=void 0x0,this[_0x38761a(0x312)]=0x0,this[_0x38761a(0x1d1)]=!0x1,this['_fin']=!0x1,this[_0x38761a(0x2c2)]=0x0,this['_totalPayloadLength']=0x0,this[_0x38761a(0x251)]=0x0,this[_0x38761a(0x33b)]=[],this[_0x38761a(0x23e)]=!0x1,this['_loop']=!0x1,this['_state']=_0x21949f;}[_0x43f534(0x19b)](_0x377ce2,_0x478877,_0x4ef64e){const _0xd1feff=_0x43f534;if(this[_0xd1feff(0x2c2)]===0x8&&this[_0xd1feff(0x255)]==_0x21949f)return _0x4ef64e();this[_0xd1feff(0x1b7)]+=_0x377ce2[_0xd1feff(0x1f9)],this['_buffers'][_0xd1feff(0x2f0)](_0x377ce2),this['startLoop'](_0x4ef64e);}[_0x43f534(0x2e2)](_0x1b68a4){const _0x30ae55=_0x43f534;if(this[_0x30ae55(0x1b7)]-=_0x1b68a4,_0x1b68a4===this[_0x30ae55(0x23d)][0x0]['length'])return this[_0x30ae55(0x23d)][_0x30ae55(0x1fe)]();if(_0x1b68a4<this[_0x30ae55(0x23d)][0x0][_0x30ae55(0x1f9)]){const _0x3d8707=this['_buffers'][0x0];return this[_0x30ae55(0x23d)][0x0]=new _0x2bda27(_0x3d8707[_0x30ae55(0x2c3)],_0x3d8707[_0x30ae55(0x30c)]+_0x1b68a4,_0x3d8707['length']-_0x1b68a4),new _0x2bda27(_0x3d8707[_0x30ae55(0x2c3)],_0x3d8707[_0x30ae55(0x30c)],_0x1b68a4);}const _0xc7fe23=Buffer[_0x30ae55(0x28f)](_0x1b68a4);do{const _0x4a4dbd=this[_0x30ae55(0x23d)][0x0],_0x537952=_0xc7fe23[_0x30ae55(0x1f9)]-_0x1b68a4;_0x1b68a4>=_0x4a4dbd[_0x30ae55(0x1f9)]?_0xc7fe23[_0x30ae55(0x1ae)](this[_0x30ae55(0x23d)][_0x30ae55(0x1fe)](),_0x537952):(_0xc7fe23[_0x30ae55(0x1ae)](new Uint8Array(_0x4a4dbd[_0x30ae55(0x2c3)],_0x4a4dbd['byteOffset'],_0x1b68a4),_0x537952),this[_0x30ae55(0x23d)][0x0]=new _0x2bda27(_0x4a4dbd['buffer'],_0x4a4dbd[_0x30ae55(0x30c)]+_0x1b68a4,_0x4a4dbd['length']-_0x1b68a4)),_0x1b68a4-=_0x4a4dbd[_0x30ae55(0x1f9)];}while(_0x1b68a4>0x0);return _0xc7fe23;}['startLoop'](_0xb197c1){const _0x138741=_0x43f534;this[_0x138741(0x28e)]=!0x0;do switch(this[_0x138741(0x255)]){case _0x21949f:this[_0x138741(0x1ef)](_0xb197c1);break;case _0x5b59cc:this[_0x138741(0x318)](_0xb197c1);break;case _0x1a5a1d:this[_0x138741(0x1df)](_0xb197c1);break;case _0x36de50:this[_0x138741(0x1bd)]();break;case _0xa758ef:this[_0x138741(0x198)](_0xb197c1);break;case _0x3edaa1:case _0x47a3f1:this[_0x138741(0x28e)]=!0x1;return;}while(this[_0x138741(0x28e)]);this['_errored']||_0xb197c1();}[_0x43f534(0x1ef)](_0x2cda46){const _0x1680d0=_0x43f534;if(this['_bufferedBytes']<0x2){this[_0x1680d0(0x28e)]=!0x1;return;}const _0x3eb839=this[_0x1680d0(0x2e2)](0x2);if((_0x3eb839[0x0]&0x30)!==0x0){const _0x53b260=this['createError'](RangeError,_0x1680d0(0x336),!0x0,0x3ea,_0x1680d0(0x1d9));_0x2cda46(_0x53b260);return;}const _0x138b87=(_0x3eb839[0x0]&0x40)===0x40;if(_0x138b87&&!this[_0x1680d0(0x1dd)][_0x55e2a3[_0x1680d0(0x2d5)]]){const _0x193b6b=this[_0x1680d0(0x208)](RangeError,_0x1680d0(0x1ac),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2cda46(_0x193b6b);return;}if(this[_0x1680d0(0x1a3)]=(_0x3eb839[0x0]&0x80)===0x80,this[_0x1680d0(0x2c2)]=_0x3eb839[0x0]&0xf,this[_0x1680d0(0x241)]=_0x3eb839[0x1]&0x7f,this[_0x1680d0(0x2c2)]===0x0){if(_0x138b87){const _0x57e161=this[_0x1680d0(0x208)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1680d0(0x326));_0x2cda46(_0x57e161);return;}if(!this[_0x1680d0(0x312)]){const _0x1074ee=this[_0x1680d0(0x208)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x1680d0(0x30f));_0x2cda46(_0x1074ee);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x1680d0(0x2c2)]===0x1||this[_0x1680d0(0x2c2)]===0x2){if(this[_0x1680d0(0x312)]){const _0xbb147a=this[_0x1680d0(0x208)](RangeError,_0x1680d0(0x2ed)+this['_opcode'],!0x0,0x3ea,_0x1680d0(0x30f));_0x2cda46(_0xbb147a);return;}this['_compressed']=_0x138b87;}else{if(this[_0x1680d0(0x2c2)]>0x7&&this[_0x1680d0(0x2c2)]<0xb){if(!this['_fin']){const _0x2c22e3=this[_0x1680d0(0x208)](RangeError,_0x1680d0(0x1da),!0x0,0x3ea,_0x1680d0(0x195));_0x2cda46(_0x2c22e3);return;}if(_0x138b87){const _0x59e06f=this[_0x1680d0(0x208)](RangeError,_0x1680d0(0x1ac),!0x0,0x3ea,_0x1680d0(0x326));_0x2cda46(_0x59e06f);return;}if(this[_0x1680d0(0x241)]>0x7d||this[_0x1680d0(0x2c2)]===0x8&&this['_payloadLength']===0x1){const _0xf3b1b7=this['createError'](RangeError,_0x1680d0(0x30d)+this[_0x1680d0(0x241)],!0x0,0x3ea,_0x1680d0(0x331));_0x2cda46(_0xf3b1b7);return;}}else{const _0x2ddfdd=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x1680d0(0x2c2)],!0x0,0x3ea,_0x1680d0(0x30f));_0x2cda46(_0x2ddfdd);return;}}}if(!this['_fin']&&!this[_0x1680d0(0x312)]&&(this[_0x1680d0(0x312)]=this['_opcode']),this['_masked']=(_0x3eb839[0x1]&0x80)===0x80,this[_0x1680d0(0x21f)]){if(!this[_0x1680d0(0x1d1)]){const _0x586522=this['createError'](RangeError,_0x1680d0(0x1c5),!0x0,0x3ea,_0x1680d0(0x25b));_0x2cda46(_0x586522);return;}}else{if(this[_0x1680d0(0x1d1)]){const _0x5dd00b=this[_0x1680d0(0x208)](RangeError,_0x1680d0(0x2b6),!0x0,0x3ea,_0x1680d0(0x193));_0x2cda46(_0x5dd00b);return;}}this[_0x1680d0(0x241)]===0x7e?this[_0x1680d0(0x255)]=_0x5b59cc:this['_payloadLength']===0x7f?this[_0x1680d0(0x255)]=_0x1a5a1d:this[_0x1680d0(0x32c)](_0x2cda46);}[_0x43f534(0x318)](_0x53b367){const _0x197515=_0x43f534;if(this[_0x197515(0x1b7)]<0x2){this[_0x197515(0x28e)]=!0x1;return;}this[_0x197515(0x241)]=this[_0x197515(0x2e2)](0x2)[_0x197515(0x1b0)](0x0),this[_0x197515(0x32c)](_0x53b367);}[_0x43f534(0x1df)](_0x305237){const _0x93076=_0x43f534;if(this[_0x93076(0x1b7)]<0x8){this['_loop']=!0x1;return;}const _0x458616=this[_0x93076(0x2e2)](0x8),_0x21c99f=_0x458616[_0x93076(0x25f)](0x0);if(_0x21c99f>Math[_0x93076(0x2d6)](0x2,0x15)-0x1){const _0xf2d108=this[_0x93076(0x208)](RangeError,_0x93076(0x247),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x305237(_0xf2d108);return;}this[_0x93076(0x241)]=_0x21c99f*Math[_0x93076(0x2d6)](0x2,0x20)+_0x458616['readUInt32BE'](0x4),this[_0x93076(0x32c)](_0x305237);}[_0x43f534(0x32c)](_0x74d98e){const _0x4e8672=_0x43f534;if(this[_0x4e8672(0x241)]&&this[_0x4e8672(0x2c2)]<0x8&&(this['_totalPayloadLength']+=this[_0x4e8672(0x241)],this[_0x4e8672(0x1db)]>this['_maxPayload']&&this[_0x4e8672(0x21a)]>0x0)){const _0xcd771b=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4e8672(0x26b));_0x74d98e(_0xcd771b);return;}this[_0x4e8672(0x1d1)]?this[_0x4e8672(0x255)]=_0x36de50:this[_0x4e8672(0x255)]=_0xa758ef;}[_0x43f534(0x1bd)](){const _0x45e5ff=_0x43f534;if(this[_0x45e5ff(0x1b7)]<0x4){this[_0x45e5ff(0x28e)]=!0x1;return;}this[_0x45e5ff(0x2da)]=this['consume'](0x4),this['_state']=_0xa758ef;}[_0x43f534(0x198)](_0x5d4157){const _0x2e5aa3=_0x43f534;let _0x5a5dc9=_0x16e6db;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x2e5aa3(0x241)]){this[_0x2e5aa3(0x28e)]=!0x1;return;}_0x5a5dc9=this['consume'](this[_0x2e5aa3(0x241)]),this[_0x2e5aa3(0x1d1)]&&(this[_0x2e5aa3(0x2da)][0x0]|this[_0x2e5aa3(0x2da)][0x1]|this[_0x2e5aa3(0x2da)][0x2]|this[_0x2e5aa3(0x2da)][0x3])!==0x0&&_0x3e4a5b(_0x5a5dc9,this[_0x2e5aa3(0x2da)]);}if(this[_0x2e5aa3(0x2c2)]>0x7){this[_0x2e5aa3(0x2ce)](_0x5a5dc9,_0x5d4157);return;}if(this['_compressed']){this[_0x2e5aa3(0x255)]=_0x3edaa1,this[_0x2e5aa3(0x211)](_0x5a5dc9,_0x5d4157);return;}_0x5a5dc9['length']&&(this[_0x2e5aa3(0x251)]=this[_0x2e5aa3(0x1db)],this[_0x2e5aa3(0x33b)][_0x2e5aa3(0x2f0)](_0x5a5dc9)),this[_0x2e5aa3(0x1e6)](_0x5d4157);}['decompress'](_0x95055a,_0x512cac){const _0x1f54f5=_0x43f534;this[_0x1f54f5(0x1dd)][_0x55e2a3[_0x1f54f5(0x2d5)]][_0x1f54f5(0x211)](_0x95055a,this[_0x1f54f5(0x1a3)],(_0x8bdc46,_0x39060d)=>{const _0x575c9b=_0x1f54f5;if(_0x8bdc46)return _0x512cac(_0x8bdc46);if(_0x39060d['length']){if(this['_messageLength']+=_0x39060d[_0x575c9b(0x1f9)],this['_messageLength']>this['_maxPayload']&&this[_0x575c9b(0x21a)]>0x0){const _0x34d271=this[_0x575c9b(0x208)](RangeError,_0x575c9b(0x282),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x512cac(_0x34d271);return;}this[_0x575c9b(0x33b)][_0x575c9b(0x2f0)](_0x39060d);}this[_0x575c9b(0x1e6)](_0x512cac),this[_0x575c9b(0x255)]===_0x21949f&&this[_0x575c9b(0x242)](_0x512cac);});}['dataMessage'](_0x4b3e93){const _0x2f40a2=_0x43f534;if(!this[_0x2f40a2(0x1a3)]){this[_0x2f40a2(0x255)]=_0x21949f;return;}const _0x4563c7=this[_0x2f40a2(0x251)],_0x213a48=this[_0x2f40a2(0x33b)];if(this[_0x2f40a2(0x1db)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x2f40a2(0x33b)]=[],this[_0x2f40a2(0x2c2)]===0x2){let _0xfc8e06;this[_0x2f40a2(0x194)]===_0x2f40a2(0x1c3)?_0xfc8e06=_0x37eaa5(_0x213a48,_0x4563c7):this[_0x2f40a2(0x194)]===_0x2f40a2(0x303)?_0xfc8e06=_0x2e463b(_0x37eaa5(_0x213a48,_0x4563c7)):this[_0x2f40a2(0x194)]===_0x2f40a2(0x29c)?_0xfc8e06=new Blob(_0x213a48):_0xfc8e06=_0x213a48,this[_0x2f40a2(0x1e4)]?(this['emit'](_0x2f40a2(0x1f5),_0xfc8e06,!0x0),this[_0x2f40a2(0x255)]=_0x21949f):(this['_state']=_0x47a3f1,setImmediate(()=>{const _0x4aafe4=_0x2f40a2;this[_0x4aafe4(0x288)](_0x4aafe4(0x1f5),_0xfc8e06,!0x0),this[_0x4aafe4(0x255)]=_0x21949f,this[_0x4aafe4(0x242)](_0x4b3e93);}));}else{const _0xb9e0fd=_0x37eaa5(_0x213a48,_0x4563c7);if(!this[_0x2f40a2(0x328)]&&!_0x6e5c06(_0xb9e0fd)){const _0x1fdf40=this[_0x2f40a2(0x208)](Error,_0x2f40a2(0x281),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4b3e93(_0x1fdf40);return;}this[_0x2f40a2(0x255)]===_0x3edaa1||this['_allowSynchronousEvents']?(this[_0x2f40a2(0x288)](_0x2f40a2(0x1f5),_0xb9e0fd,!0x1),this[_0x2f40a2(0x255)]=_0x21949f):(this[_0x2f40a2(0x255)]=_0x47a3f1,setImmediate(()=>{const _0x800d43=_0x2f40a2;this[_0x800d43(0x288)](_0x800d43(0x1f5),_0xb9e0fd,!0x1),this[_0x800d43(0x255)]=_0x21949f,this[_0x800d43(0x242)](_0x4b3e93);}));}}[_0x43f534(0x2ce)](_0x37524c,_0x2ef130){const _0x452680=_0x43f534;if(this[_0x452680(0x2c2)]===0x8){if(_0x37524c[_0x452680(0x1f9)]===0x0)this[_0x452680(0x28e)]=!0x1,this[_0x452680(0x288)]('conclude',0x3ed,_0x16e6db),this['end']();else{const _0x230150=_0x37524c[_0x452680(0x1b0)](0x0);if(!_0x3709a1(_0x230150)){const _0x4a0347=this[_0x452680(0x208)](RangeError,'invalid\x20status\x20code\x20'+_0x230150,!0x0,0x3ea,_0x452680(0x220));_0x2ef130(_0x4a0347);return;}const _0x517dcd=new _0x2bda27(_0x37524c[_0x452680(0x2c3)],_0x37524c[_0x452680(0x30c)]+0x2,_0x37524c['length']-0x2);if(!this[_0x452680(0x328)]&&!_0x6e5c06(_0x517dcd)){const _0x18c7bb=this[_0x452680(0x208)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x452680(0x23f));_0x2ef130(_0x18c7bb);return;}this['_loop']=!0x1,this[_0x452680(0x288)](_0x452680(0x2b0),_0x230150,_0x517dcd),this[_0x452680(0x230)]();}this[_0x452680(0x255)]=_0x21949f;return;}this[_0x452680(0x1e4)]?(this[_0x452680(0x288)](this[_0x452680(0x2c2)]===0x9?_0x452680(0x287):_0x452680(0x327),_0x37524c),this['_state']=_0x21949f):(this[_0x452680(0x255)]=_0x47a3f1,setImmediate(()=>{const _0x2d85f5=_0x452680;this[_0x2d85f5(0x288)](this[_0x2d85f5(0x2c2)]===0x9?'ping':_0x2d85f5(0x327),_0x37524c),this[_0x2d85f5(0x255)]=_0x21949f,this['startLoop'](_0x2ef130);}));}[_0x43f534(0x208)](_0xb3203,_0x29f875,_0x30c43e,_0x64522b,_0x1c311e){const _0x9fdf5c=_0x43f534;this[_0x9fdf5c(0x28e)]=!0x1,this[_0x9fdf5c(0x23e)]=!0x0;const _0x5b3735=new _0xb3203(_0x30c43e?_0x9fdf5c(0x1b4)+_0x29f875:_0x29f875);return Error[_0x9fdf5c(0x33a)](_0x5b3735,this['createError']),_0x5b3735['code']=_0x1c311e,_0x5b3735[_0x2bf402]=_0x64522b,_0x5b3735;}}return Se=_0x5abb7a,Se;}var Ee,et;function _t(){const _0x10f994=_0x1a92b4;if(et)return Ee;et=0x1;const {Duplex:_0x1c28b5}=_0x5f8150,{randomFillSync:_0x43be43}=_0x2b0786,_0x27cb2f=he(),{EMPTY_BUFFER:_0x450f4b,kWebSocket:_0x5a696a,NOOP:_0x196a0d}=V(),{isBlob:_0x26256a,isValidStatusCode:_0xece1e2}=ne(),{mask:_0x14ee8d,toBuffer:_0x3ca902}=ce(),_0x36eaeb=Symbol('kByteLength'),_0x16af94=Buffer[_0x10f994(0x2b1)](0x4),_0x3af13c=0x8*0x400;let _0x2d14e9,_0x4111c4=_0x3af13c;const _0x3e23fc=0x0,_0x1a5f51=0x1,_0x5c79a7=0x2;class _0xdd2406{constructor(_0x399bb5,_0x3366b1,_0x3e2f0a){const _0x4e2ad9=_0x10f994;this[_0x4e2ad9(0x1dd)]=_0x3366b1||{},_0x3e2f0a&&(this['_generateMask']=_0x3e2f0a,this[_0x4e2ad9(0x1bf)]=Buffer[_0x4e2ad9(0x2b1)](0x4)),this[_0x4e2ad9(0x2ba)]=_0x399bb5,this['_firstFragment']=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x4e2ad9(0x20e)]=[],this[_0x4e2ad9(0x255)]=_0x3e23fc,this['onerror']=_0x196a0d,this[_0x5a696a]=void 0x0;}static['frame'](_0x2480de,_0x585fa9){const _0x3ea862=_0x10f994;let _0x5c3471,_0x2202a6=!0x1,_0x4ab1aa=0x2,_0x3151d3=!0x1;_0x585fa9[_0x3ea862(0x222)]&&(_0x5c3471=_0x585fa9[_0x3ea862(0x205)]||_0x16af94,_0x585fa9[_0x3ea862(0x30b)]?_0x585fa9[_0x3ea862(0x30b)](_0x5c3471):(_0x4111c4===_0x3af13c&&(_0x2d14e9===void 0x0&&(_0x2d14e9=Buffer[_0x3ea862(0x2b1)](_0x3af13c)),_0x43be43(_0x2d14e9,0x0,_0x3af13c),_0x4111c4=0x0),_0x5c3471[0x0]=_0x2d14e9[_0x4111c4++],_0x5c3471[0x1]=_0x2d14e9[_0x4111c4++],_0x5c3471[0x2]=_0x2d14e9[_0x4111c4++],_0x5c3471[0x3]=_0x2d14e9[_0x4111c4++]),_0x3151d3=(_0x5c3471[0x0]|_0x5c3471[0x1]|_0x5c3471[0x2]|_0x5c3471[0x3])===0x0,_0x4ab1aa=0x6);let _0x2f0852;typeof _0x2480de=='string'?(!_0x585fa9[_0x3ea862(0x222)]||_0x3151d3)&&_0x585fa9[_0x36eaeb]!==void 0x0?_0x2f0852=_0x585fa9[_0x36eaeb]:(_0x2480de=Buffer[_0x3ea862(0x290)](_0x2480de),_0x2f0852=_0x2480de[_0x3ea862(0x1f9)]):(_0x2f0852=_0x2480de[_0x3ea862(0x1f9)],_0x2202a6=_0x585fa9['mask']&&_0x585fa9[_0x3ea862(0x1fa)]&&!_0x3151d3);let _0xb91aac=_0x2f0852;_0x2f0852>=0x10000?(_0x4ab1aa+=0x8,_0xb91aac=0x7f):_0x2f0852>0x7d&&(_0x4ab1aa+=0x2,_0xb91aac=0x7e);const _0x43ef8d=Buffer['allocUnsafe'](_0x2202a6?_0x2f0852+_0x4ab1aa:_0x4ab1aa);return _0x43ef8d[0x0]=_0x585fa9[_0x3ea862(0x25e)]?_0x585fa9[_0x3ea862(0x2c9)]|0x80:_0x585fa9[_0x3ea862(0x2c9)],_0x585fa9[_0x3ea862(0x223)]&&(_0x43ef8d[0x0]|=0x40),_0x43ef8d[0x1]=_0xb91aac,_0xb91aac===0x7e?_0x43ef8d[_0x3ea862(0x265)](_0x2f0852,0x2):_0xb91aac===0x7f&&(_0x43ef8d[0x2]=_0x43ef8d[0x3]=0x0,_0x43ef8d[_0x3ea862(0x2e8)](_0x2f0852,0x4,0x6)),_0x585fa9[_0x3ea862(0x222)]?(_0x43ef8d[0x1]|=0x80,_0x43ef8d[_0x4ab1aa-0x4]=_0x5c3471[0x0],_0x43ef8d[_0x4ab1aa-0x3]=_0x5c3471[0x1],_0x43ef8d[_0x4ab1aa-0x2]=_0x5c3471[0x2],_0x43ef8d[_0x4ab1aa-0x1]=_0x5c3471[0x3],_0x3151d3?[_0x43ef8d,_0x2480de]:_0x2202a6?(_0x14ee8d(_0x2480de,_0x5c3471,_0x43ef8d,_0x4ab1aa,_0x2f0852),[_0x43ef8d]):(_0x14ee8d(_0x2480de,_0x5c3471,_0x2480de,0x0,_0x2f0852),[_0x43ef8d,_0x2480de])):[_0x43ef8d,_0x2480de];}[_0x10f994(0x250)](_0x19e80d,_0x481faf,_0x467028,_0x57a42e){const _0x4f59e8=_0x10f994;let _0x26a7ff;if(_0x19e80d===void 0x0)_0x26a7ff=_0x450f4b;else{if(typeof _0x19e80d!=_0x4f59e8(0x1e5)||!_0xece1e2(_0x19e80d))throw new TypeError(_0x4f59e8(0x219));if(_0x481faf===void 0x0||!_0x481faf[_0x4f59e8(0x1f9)])_0x26a7ff=Buffer[_0x4f59e8(0x28f)](0x2),_0x26a7ff['writeUInt16BE'](_0x19e80d,0x0);else{const _0x28ddc9=Buffer[_0x4f59e8(0x1a5)](_0x481faf);if(_0x28ddc9>0x7b)throw new RangeError(_0x4f59e8(0x2a4));_0x26a7ff=Buffer[_0x4f59e8(0x28f)](0x2+_0x28ddc9),_0x26a7ff[_0x4f59e8(0x265)](_0x19e80d,0x0),typeof _0x481faf==_0x4f59e8(0x1ba)?_0x26a7ff[_0x4f59e8(0x235)](_0x481faf,0x2):_0x26a7ff[_0x4f59e8(0x1ae)](_0x481faf,0x2);}}const _0x4806a1={[_0x36eaeb]:_0x26a7ff[_0x4f59e8(0x1f9)],'fin':!0x0,'generateMask':this[_0x4f59e8(0x1fb)],'mask':_0x467028,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4f59e8(0x255)]!==_0x3e23fc?this[_0x4f59e8(0x31f)]([this[_0x4f59e8(0x1d3)],_0x26a7ff,!0x1,_0x4806a1,_0x57a42e]):this[_0x4f59e8(0x199)](_0xdd2406[_0x4f59e8(0x332)](_0x26a7ff,_0x4806a1),_0x57a42e);}[_0x10f994(0x287)](_0x5d2b6e,_0x322d5e,_0x5540ff){const _0x1f2c83=_0x10f994;let _0xd06e10,_0x451bac;if(typeof _0x5d2b6e==_0x1f2c83(0x1ba)?(_0xd06e10=Buffer[_0x1f2c83(0x1a5)](_0x5d2b6e),_0x451bac=!0x1):_0x26256a(_0x5d2b6e)?(_0xd06e10=_0x5d2b6e['size'],_0x451bac=!0x1):(_0x5d2b6e=_0x3ca902(_0x5d2b6e),_0xd06e10=_0x5d2b6e[_0x1f2c83(0x1f9)],_0x451bac=_0x3ca902[_0x1f2c83(0x1fa)]),_0xd06e10>0x7d)throw new RangeError(_0x1f2c83(0x1bb));const _0x5b3b11={[_0x36eaeb]:_0xd06e10,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x322d5e,'maskBuffer':this[_0x1f2c83(0x1bf)],'opcode':0x9,'readOnly':_0x451bac,'rsv1':!0x1};_0x26256a(_0x5d2b6e)?this[_0x1f2c83(0x255)]!==_0x3e23fc?this[_0x1f2c83(0x31f)]([this[_0x1f2c83(0x337)],_0x5d2b6e,!0x1,_0x5b3b11,_0x5540ff]):this['getBlobData'](_0x5d2b6e,!0x1,_0x5b3b11,_0x5540ff):this[_0x1f2c83(0x255)]!==_0x3e23fc?this[_0x1f2c83(0x31f)]([this[_0x1f2c83(0x1d3)],_0x5d2b6e,!0x1,_0x5b3b11,_0x5540ff]):this[_0x1f2c83(0x199)](_0xdd2406[_0x1f2c83(0x332)](_0x5d2b6e,_0x5b3b11),_0x5540ff);}['pong'](_0x240ab0,_0x23f318,_0x1f2e23){const _0x546e35=_0x10f994;let _0x204c9b,_0x393c95;if(typeof _0x240ab0==_0x546e35(0x1ba)?(_0x204c9b=Buffer[_0x546e35(0x1a5)](_0x240ab0),_0x393c95=!0x1):_0x26256a(_0x240ab0)?(_0x204c9b=_0x240ab0[_0x546e35(0x2ab)],_0x393c95=!0x1):(_0x240ab0=_0x3ca902(_0x240ab0),_0x204c9b=_0x240ab0[_0x546e35(0x1f9)],_0x393c95=_0x3ca902[_0x546e35(0x1fa)]),_0x204c9b>0x7d)throw new RangeError(_0x546e35(0x1bb));const _0x1606e9={[_0x36eaeb]:_0x204c9b,'fin':!0x0,'generateMask':this[_0x546e35(0x1fb)],'mask':_0x23f318,'maskBuffer':this[_0x546e35(0x1bf)],'opcode':0xa,'readOnly':_0x393c95,'rsv1':!0x1};_0x26256a(_0x240ab0)?this[_0x546e35(0x255)]!==_0x3e23fc?this[_0x546e35(0x31f)]([this[_0x546e35(0x337)],_0x240ab0,!0x1,_0x1606e9,_0x1f2e23]):this[_0x546e35(0x337)](_0x240ab0,!0x1,_0x1606e9,_0x1f2e23):this[_0x546e35(0x255)]!==_0x3e23fc?this[_0x546e35(0x31f)]([this['dispatch'],_0x240ab0,!0x1,_0x1606e9,_0x1f2e23]):this[_0x546e35(0x199)](_0xdd2406[_0x546e35(0x332)](_0x240ab0,_0x1606e9),_0x1f2e23);}[_0x10f994(0x297)](_0x289b65,_0x364e06,_0x575fb5){const _0x4302d=_0x10f994,_0xdd80a8=this[_0x4302d(0x1dd)][_0x27cb2f[_0x4302d(0x2d5)]];let _0x2afa3b=_0x364e06[_0x4302d(0x1c7)]?0x2:0x1,_0x4172ce=_0x364e06[_0x4302d(0x1f2)],_0x21e951,_0x5e798d;typeof _0x289b65=='string'?(_0x21e951=Buffer[_0x4302d(0x1a5)](_0x289b65),_0x5e798d=!0x1):_0x26256a(_0x289b65)?(_0x21e951=_0x289b65['size'],_0x5e798d=!0x1):(_0x289b65=_0x3ca902(_0x289b65),_0x21e951=_0x289b65[_0x4302d(0x1f9)],_0x5e798d=_0x3ca902[_0x4302d(0x1fa)]),this[_0x4302d(0x29b)]?(this[_0x4302d(0x29b)]=!0x1,_0x4172ce&&_0xdd80a8&&_0xdd80a8[_0x4302d(0x233)][_0xdd80a8[_0x4302d(0x21f)]?'server_no_context_takeover':_0x4302d(0x31e)]&&(_0x4172ce=_0x21e951>=_0xdd80a8['_threshold']),this[_0x4302d(0x298)]=_0x4172ce):(_0x4172ce=!0x1,_0x2afa3b=0x0),_0x364e06[_0x4302d(0x25e)]&&(this[_0x4302d(0x29b)]=!0x0);const _0x19e106={[_0x36eaeb]:_0x21e951,'fin':_0x364e06[_0x4302d(0x25e)],'generateMask':this[_0x4302d(0x1fb)],'mask':_0x364e06[_0x4302d(0x222)],'maskBuffer':this[_0x4302d(0x1bf)],'opcode':_0x2afa3b,'readOnly':_0x5e798d,'rsv1':_0x4172ce};_0x26256a(_0x289b65)?this[_0x4302d(0x255)]!==_0x3e23fc?this[_0x4302d(0x31f)]([this[_0x4302d(0x337)],_0x289b65,this[_0x4302d(0x298)],_0x19e106,_0x575fb5]):this[_0x4302d(0x337)](_0x289b65,this[_0x4302d(0x298)],_0x19e106,_0x575fb5):this[_0x4302d(0x255)]!==_0x3e23fc?this[_0x4302d(0x31f)]([this[_0x4302d(0x1d3)],_0x289b65,this[_0x4302d(0x298)],_0x19e106,_0x575fb5]):this[_0x4302d(0x1d3)](_0x289b65,this[_0x4302d(0x298)],_0x19e106,_0x575fb5);}[_0x10f994(0x337)](_0x57f912,_0xcac4fd,_0x3bc12c,_0x13bb19){const _0x546d55=_0x10f994;this[_0x546d55(0x1b7)]+=_0x3bc12c[_0x36eaeb],this[_0x546d55(0x255)]=_0x5c79a7,_0x57f912[_0x546d55(0x2af)]()[_0x546d55(0x1c4)](_0x147fde=>{const _0x251bbd=_0x546d55;if(this[_0x251bbd(0x2ba)][_0x251bbd(0x296)]){const _0x325888=new Error(_0x251bbd(0x1b1));process[_0x251bbd(0x270)](_0x5055c0,this,_0x325888,_0x13bb19);return;}this['_bufferedBytes']-=_0x3bc12c[_0x36eaeb];const _0x448f68=_0x3ca902(_0x147fde);_0xcac4fd?this[_0x251bbd(0x1d3)](_0x448f68,_0xcac4fd,_0x3bc12c,_0x13bb19):(this['_state']=_0x3e23fc,this[_0x251bbd(0x199)](_0xdd2406[_0x251bbd(0x332)](_0x448f68,_0x3bc12c),_0x13bb19),this[_0x251bbd(0x2f7)]());})['catch'](_0x19ea0f=>{const _0x333501=_0x546d55;process[_0x333501(0x270)](_0x6a9684,this,_0x19ea0f,_0x13bb19);});}[_0x10f994(0x1d3)](_0x47f9cf,_0x4c381e,_0x311b4e,_0x1d14d4){const _0x1be558=_0x10f994;if(!_0x4c381e){this['sendFrame'](_0xdd2406[_0x1be558(0x332)](_0x47f9cf,_0x311b4e),_0x1d14d4);return;}const _0x548dde=this['_extensions'][_0x27cb2f[_0x1be558(0x2d5)]];this[_0x1be558(0x1b7)]+=_0x311b4e[_0x36eaeb],this[_0x1be558(0x255)]=_0x1a5f51,_0x548dde[_0x1be558(0x1f2)](_0x47f9cf,_0x311b4e[_0x1be558(0x25e)],(_0x237eb2,_0x2e8165)=>{const _0x245cea=_0x1be558;if(this[_0x245cea(0x2ba)][_0x245cea(0x296)]){const _0x4af725=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5055c0(this,_0x4af725,_0x1d14d4);return;}this[_0x245cea(0x1b7)]-=_0x311b4e[_0x36eaeb],this[_0x245cea(0x255)]=_0x3e23fc,_0x311b4e[_0x245cea(0x1fa)]=!0x1,this[_0x245cea(0x199)](_0xdd2406[_0x245cea(0x332)](_0x2e8165,_0x311b4e),_0x1d14d4),this['dequeue']();});}[_0x10f994(0x2f7)](){const _0x50ae7f=_0x10f994;for(;this[_0x50ae7f(0x255)]===_0x3e23fc&&this[_0x50ae7f(0x20e)][_0x50ae7f(0x1f9)];){const _0x43585c=this['_queue']['shift']();this[_0x50ae7f(0x1b7)]-=_0x43585c[0x3][_0x36eaeb],Reflect[_0x50ae7f(0x268)](_0x43585c[0x0],this,_0x43585c[_0x50ae7f(0x240)](0x1));}}[_0x10f994(0x31f)](_0x4a0794){const _0x2ea8d1=_0x10f994;this[_0x2ea8d1(0x1b7)]+=_0x4a0794[0x3][_0x36eaeb],this[_0x2ea8d1(0x20e)][_0x2ea8d1(0x2f0)](_0x4a0794);}[_0x10f994(0x199)](_0x3a2362,_0xc18ea6){const _0x56197f=_0x10f994;_0x3a2362[_0x56197f(0x1f9)]===0x2?(this[_0x56197f(0x2ba)][_0x56197f(0x31b)](),this[_0x56197f(0x2ba)][_0x56197f(0x235)](_0x3a2362[0x0]),this[_0x56197f(0x2ba)][_0x56197f(0x235)](_0x3a2362[0x1],_0xc18ea6),this[_0x56197f(0x2ba)]['uncork']()):this['_socket'][_0x56197f(0x235)](_0x3a2362[0x0],_0xc18ea6);}}Ee=_0xdd2406;function _0x5055c0(_0x2279bb,_0x5cd20f,_0x40e68e){const _0x5e644e=_0x10f994;typeof _0x40e68e=='function'&&_0x40e68e(_0x5cd20f);for(let _0x220515=0x0;_0x220515<_0x2279bb[_0x5e644e(0x20e)][_0x5e644e(0x1f9)];_0x220515++){const _0x206efd=_0x2279bb['_queue'][_0x220515],_0x4243b5=_0x206efd[_0x206efd['length']-0x1];typeof _0x4243b5==_0x5e644e(0x2de)&&_0x4243b5(_0x5cd20f);}}function _0x6a9684(_0xa42e47,_0x1947cc,_0x217443){const _0x6d515e=_0x10f994;_0x5055c0(_0xa42e47,_0x1947cc,_0x217443),_0xa42e47[_0x6d515e(0x256)](_0x1947cc);}return Ee;}var xe,tt;function Kt(){const _0x1bc87d=_0x1a92b4;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3babd9,kListener:_0x44a417}=V(),_0x4a0987=Symbol(_0x1bc87d(0x2bc)),_0x8fb642=Symbol(_0x1bc87d(0x260)),_0x114c6a=Symbol(_0x1bc87d(0x204)),_0x105852=Symbol(_0x1bc87d(0x2b4)),_0x47ba1e=Symbol(_0x1bc87d(0x319)),_0x3ef23e=Symbol(_0x1bc87d(0x27a)),_0x3702ea=Symbol(_0x1bc87d(0x22c)),_0xdcd7bb=Symbol(_0x1bc87d(0x2cb));class _0x3f7187{constructor(_0x1fc7b8){this[_0x3ef23e]=null,this[_0x3702ea]=_0x1fc7b8;}get[_0x1bc87d(0x31d)](){return this[_0x3ef23e];}get[_0x1bc87d(0x2e1)](){return this[_0x3702ea];}}Object[_0x1bc87d(0x2fb)](_0x3f7187[_0x1bc87d(0x21c)],_0x1bc87d(0x31d),{'enumerable':!0x0}),Object[_0x1bc87d(0x2fb)](_0x3f7187[_0x1bc87d(0x21c)],'type',{'enumerable':!0x0});class _0x3082a0 extends _0x3f7187{constructor(_0xf5ca8d,_0x55a89c={}){const _0x5ea5e1=_0x1bc87d;super(_0xf5ca8d),this[_0x4a0987]=_0x55a89c[_0x5ea5e1(0x1ca)]===void 0x0?0x0:_0x55a89c[_0x5ea5e1(0x1ca)],this[_0x47ba1e]=_0x55a89c['reason']===void 0x0?'':_0x55a89c[_0x5ea5e1(0x2c0)],this[_0xdcd7bb]=_0x55a89c[_0x5ea5e1(0x299)]===void 0x0?!0x1:_0x55a89c[_0x5ea5e1(0x299)];}get[_0x1bc87d(0x1ca)](){return this[_0x4a0987];}get[_0x1bc87d(0x2c0)](){return this[_0x47ba1e];}get[_0x1bc87d(0x299)](){return this[_0xdcd7bb];}}Object[_0x1bc87d(0x2fb)](_0x3082a0[_0x1bc87d(0x21c)],_0x1bc87d(0x1ca),{'enumerable':!0x0}),Object[_0x1bc87d(0x2fb)](_0x3082a0[_0x1bc87d(0x21c)],'reason',{'enumerable':!0x0}),Object[_0x1bc87d(0x2fb)](_0x3082a0[_0x1bc87d(0x21c)],_0x1bc87d(0x299),{'enumerable':!0x0});class _0x1c6d88 extends _0x3f7187{constructor(_0x1ccc50,_0x1f5f2c={}){const _0x2f967f=_0x1bc87d;super(_0x1ccc50),this[_0x114c6a]=_0x1f5f2c[_0x2f967f(0x1e1)]===void 0x0?null:_0x1f5f2c[_0x2f967f(0x1e1)],this[_0x105852]=_0x1f5f2c[_0x2f967f(0x1f5)]===void 0x0?'':_0x1f5f2c[_0x2f967f(0x1f5)];}get['error'](){return this[_0x114c6a];}get[_0x1bc87d(0x1f5)](){return this[_0x105852];}}Object[_0x1bc87d(0x2fb)](_0x1c6d88[_0x1bc87d(0x21c)],_0x1bc87d(0x1e1),{'enumerable':!0x0}),Object['defineProperty'](_0x1c6d88[_0x1bc87d(0x21c)],_0x1bc87d(0x1f5),{'enumerable':!0x0});class _0x4e0b29 extends _0x3f7187{constructor(_0x1b01ef,_0x4341e8={}){const _0x36604a=_0x1bc87d;super(_0x1b01ef),this[_0x8fb642]=_0x4341e8[_0x36604a(0x2be)]===void 0x0?null:_0x4341e8[_0x36604a(0x2be)];}get['data'](){return this[_0x8fb642];}}Object[_0x1bc87d(0x2fb)](_0x4e0b29[_0x1bc87d(0x21c)],_0x1bc87d(0x2be),{'enumerable':!0x0}),xe={'CloseEvent':_0x3082a0,'ErrorEvent':_0x1c6d88,'Event':_0x3f7187,'EventTarget':{'addEventListener'(_0xe1d9c6,_0x18ba2b,_0x77cb00={}){const _0x1485c3=_0x1bc87d;for(const _0x2d55af of this[_0x1485c3(0x1ee)](_0xe1d9c6))if(!_0x77cb00[_0x3babd9]&&_0x2d55af[_0x44a417]===_0x18ba2b&&!_0x2d55af[_0x3babd9])return;let _0x404a07;if(_0xe1d9c6==='message')_0x404a07=function(_0xb48767,_0x1b4964){const _0x462964=_0x1485c3,_0x12ada0=new _0x4e0b29(_0x462964(0x1f5),{'data':_0x1b4964?_0xb48767:_0xb48767[_0x462964(0x267)]()});_0x12ada0[_0x3ef23e]=this,_0x2ec0aa(_0x18ba2b,this,_0x12ada0);};else{if(_0xe1d9c6===_0x1485c3(0x250))_0x404a07=function(_0x1fc1fd,_0x115a49){const _0x21b17d=_0x1485c3,_0x32fa79=new _0x3082a0(_0x21b17d(0x250),{'code':_0x1fc1fd,'reason':_0x115a49['toString'](),'wasClean':this['_closeFrameReceived']&&this[_0x21b17d(0x2f6)]});_0x32fa79[_0x3ef23e]=this,_0x2ec0aa(_0x18ba2b,this,_0x32fa79);};else{if(_0xe1d9c6==='error')_0x404a07=function(_0x357093){const _0x2d002c=_0x1485c3,_0x1e720b=new _0x1c6d88('error',{'error':_0x357093,'message':_0x357093[_0x2d002c(0x1f5)]});_0x1e720b[_0x3ef23e]=this,_0x2ec0aa(_0x18ba2b,this,_0x1e720b);};else{if(_0xe1d9c6==='open')_0x404a07=function(){const _0x4e9f92=_0x1485c3,_0x594c82=new _0x3f7187(_0x4e9f92(0x2fd));_0x594c82[_0x3ef23e]=this,_0x2ec0aa(_0x18ba2b,this,_0x594c82);};else return;}}}_0x404a07[_0x3babd9]=!!_0x77cb00[_0x3babd9],_0x404a07[_0x44a417]=_0x18ba2b,_0x77cb00[_0x1485c3(0x2cf)]?this[_0x1485c3(0x2cf)](_0xe1d9c6,_0x404a07):this['on'](_0xe1d9c6,_0x404a07);},'removeEventListener'(_0x58ad4b,_0x257d34){const _0x24f7af=_0x1bc87d;for(const _0x240f0c of this[_0x24f7af(0x1ee)](_0x58ad4b))if(_0x240f0c[_0x44a417]===_0x257d34&&!_0x240f0c[_0x3babd9]){this[_0x24f7af(0x2aa)](_0x58ad4b,_0x240f0c);break;}}},'MessageEvent':_0x4e0b29};function _0x2ec0aa(_0x1fdd76,_0x510549,_0x375d6d){const _0x577a65=_0x1bc87d;typeof _0x1fdd76==_0x577a65(0x246)&&_0x1fdd76[_0x577a65(0x2a2)]?_0x1fdd76[_0x577a65(0x2a2)][_0x577a65(0x238)](_0x1fdd76,_0x375d6d):_0x1fdd76['call'](_0x510549,_0x375d6d);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x45983e}=ne();function _0x5b4123(_0x3703e3,_0x3a9448,_0x24197c){const _0x4fab34=_0x5dc0;_0x3703e3[_0x3a9448]===void 0x0?_0x3703e3[_0x3a9448]=[_0x24197c]:_0x3703e3[_0x3a9448][_0x4fab34(0x2f0)](_0x24197c);}function _0x6f628a(_0x2fe618){const _0x11c023=_0x5dc0,_0x39130c=Object[_0x11c023(0x2ec)](null);let _0x22951e=Object[_0x11c023(0x2ec)](null),_0x4ce2ea=!0x1,_0x831b36=!0x1,_0xed9ca0=!0x1,_0x6560cb,_0x12764d,_0xd8e97e=-0x1,_0x144ced=-0x1,_0x73ddbd=-0x1,_0x19f909=0x0;for(;_0x19f909<_0x2fe618[_0x11c023(0x1f9)];_0x19f909++)if(_0x144ced=_0x2fe618['charCodeAt'](_0x19f909),_0x6560cb===void 0x0){if(_0x73ddbd===-0x1&&_0x45983e[_0x144ced]===0x1)_0xd8e97e===-0x1&&(_0xd8e97e=_0x19f909);else{if(_0x19f909!==0x0&&(_0x144ced===0x20||_0x144ced===0x9))_0x73ddbd===-0x1&&_0xd8e97e!==-0x1&&(_0x73ddbd=_0x19f909);else{if(_0x144ced===0x3b||_0x144ced===0x2c){if(_0xd8e97e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x19f909);_0x73ddbd===-0x1&&(_0x73ddbd=_0x19f909);const _0x10491b=_0x2fe618['slice'](_0xd8e97e,_0x73ddbd);_0x144ced===0x2c?(_0x5b4123(_0x39130c,_0x10491b,_0x22951e),_0x22951e=Object[_0x11c023(0x2ec)](null)):_0x6560cb=_0x10491b,_0xd8e97e=_0x73ddbd=-0x1;}else throw new SyntaxError(_0x11c023(0x2c6)+_0x19f909);}}}else{if(_0x12764d===void 0x0){if(_0x73ddbd===-0x1&&_0x45983e[_0x144ced]===0x1)_0xd8e97e===-0x1&&(_0xd8e97e=_0x19f909);else{if(_0x144ced===0x20||_0x144ced===0x9)_0x73ddbd===-0x1&&_0xd8e97e!==-0x1&&(_0x73ddbd=_0x19f909);else{if(_0x144ced===0x3b||_0x144ced===0x2c){if(_0xd8e97e===-0x1)throw new SyntaxError(_0x11c023(0x2c6)+_0x19f909);_0x73ddbd===-0x1&&(_0x73ddbd=_0x19f909),_0x5b4123(_0x22951e,_0x2fe618[_0x11c023(0x240)](_0xd8e97e,_0x73ddbd),!0x0),_0x144ced===0x2c&&(_0x5b4123(_0x39130c,_0x6560cb,_0x22951e),_0x22951e=Object['create'](null),_0x6560cb=void 0x0),_0xd8e97e=_0x73ddbd=-0x1;}else{if(_0x144ced===0x3d&&_0xd8e97e!==-0x1&&_0x73ddbd===-0x1)_0x12764d=_0x2fe618[_0x11c023(0x240)](_0xd8e97e,_0x19f909),_0xd8e97e=_0x73ddbd=-0x1;else throw new SyntaxError(_0x11c023(0x2c6)+_0x19f909);}}}}else{if(_0x831b36){if(_0x45983e[_0x144ced]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x19f909);_0xd8e97e===-0x1?_0xd8e97e=_0x19f909:_0x4ce2ea||(_0x4ce2ea=!0x0),_0x831b36=!0x1;}else{if(_0xed9ca0){if(_0x45983e[_0x144ced]===0x1)_0xd8e97e===-0x1&&(_0xd8e97e=_0x19f909);else{if(_0x144ced===0x22&&_0xd8e97e!==-0x1)_0xed9ca0=!0x1,_0x73ddbd=_0x19f909;else{if(_0x144ced===0x5c)_0x831b36=!0x0;else throw new SyntaxError(_0x11c023(0x2c6)+_0x19f909);}}}else{if(_0x144ced===0x22&&_0x2fe618['charCodeAt'](_0x19f909-0x1)===0x3d)_0xed9ca0=!0x0;else{if(_0x73ddbd===-0x1&&_0x45983e[_0x144ced]===0x1)_0xd8e97e===-0x1&&(_0xd8e97e=_0x19f909);else{if(_0xd8e97e!==-0x1&&(_0x144ced===0x20||_0x144ced===0x9))_0x73ddbd===-0x1&&(_0x73ddbd=_0x19f909);else{if(_0x144ced===0x3b||_0x144ced===0x2c){if(_0xd8e97e===-0x1)throw new SyntaxError(_0x11c023(0x2c6)+_0x19f909);_0x73ddbd===-0x1&&(_0x73ddbd=_0x19f909);let _0x489eca=_0x2fe618[_0x11c023(0x240)](_0xd8e97e,_0x73ddbd);_0x4ce2ea&&(_0x489eca=_0x489eca[_0x11c023(0x266)](/\\/g,''),_0x4ce2ea=!0x1),_0x5b4123(_0x22951e,_0x12764d,_0x489eca),_0x144ced===0x2c&&(_0x5b4123(_0x39130c,_0x6560cb,_0x22951e),_0x22951e=Object[_0x11c023(0x2ec)](null),_0x6560cb=void 0x0),_0x12764d=void 0x0,_0xd8e97e=_0x73ddbd=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x19f909);}}}}}}}if(_0xd8e97e===-0x1||_0xed9ca0||_0x144ced===0x20||_0x144ced===0x9)throw new SyntaxError(_0x11c023(0x25a));_0x73ddbd===-0x1&&(_0x73ddbd=_0x19f909);const _0xb7fcfa=_0x2fe618[_0x11c023(0x240)](_0xd8e97e,_0x73ddbd);return _0x6560cb===void 0x0?_0x5b4123(_0x39130c,_0xb7fcfa,_0x22951e):(_0x12764d===void 0x0?_0x5b4123(_0x22951e,_0xb7fcfa,!0x0):_0x4ce2ea?_0x5b4123(_0x22951e,_0x12764d,_0xb7fcfa['replace'](/\\/g,'')):_0x5b4123(_0x22951e,_0x12764d,_0xb7fcfa),_0x5b4123(_0x39130c,_0x6560cb,_0x22951e)),_0x39130c;}function _0x577ffe(_0x203401){const _0x4fe5bd=_0x5dc0;return Object[_0x4fe5bd(0x2e5)](_0x203401)[_0x4fe5bd(0x333)](_0x28567d=>{const _0x510329=_0x4fe5bd;let _0x5077cb=_0x203401[_0x28567d];return Array[_0x510329(0x21e)](_0x5077cb)||(_0x5077cb=[_0x5077cb]),_0x5077cb[_0x510329(0x333)](_0x48cc17=>[_0x28567d][_0x510329(0x1cd)](Object['keys'](_0x48cc17)[_0x510329(0x333)](_0x135623=>{const _0x1eb3d3=_0x510329;let _0x48afea=_0x48cc17[_0x135623];return Array[_0x1eb3d3(0x21e)](_0x48afea)||(_0x48afea=[_0x48afea]),_0x48afea[_0x1eb3d3(0x333)](_0x21c02a=>_0x21c02a===!0x0?_0x135623:_0x135623+'='+_0x21c02a)['join'](';\x20');}))[_0x510329(0x1fd)](';\x20'))[_0x510329(0x1fd)](',\x20');})['join'](',\x20');}return be={'format':_0x577ffe,'parse':_0x6f628a},be;}var we,st;function Ie(){const _0x79eb42=_0x1a92b4;if(st)return we;st=0x1;const _0x35fd2b=_0x5c41d1,_0x5efd96=_0x5de150,_0x4c835e=_0x3cb461,_0x1570a1=_0xdef7f9,_0x1b9778=_0x55c98e,{randomBytes:_0x43a6a9,createHash:_0x50ef1b}=_0x2b0786,{Duplex:_0x340540,Readable:_0x1da608}=_0x5f8150,{URL:_0x5c7e0f}=_0x13fbb3,_0x27f6a1=he(),_0x3a5917=dt(),_0x40c6e6=_t(),{isBlob:_0x3e8c4b}=ne(),{BINARY_TYPES:_0x1ccdc4,EMPTY_BUFFER:_0x56e95e,GUID:_0xe37d99,kForOnEventAttribute:_0x517504,kListener:_0xcc29ad,kStatusCode:_0x37ddb6,kWebSocket:_0x3072dc,NOOP:_0x287a5d}=V(),{EventTarget:{addEventListener:_0x2f0ed7,removeEventListener:_0x249278}}=Kt(),{format:_0xff5402,parse:_0x4b4de0}=pt(),{toBuffer:_0x2e49b1}=ce(),_0xe8cf56=0x1e*0x3e8,_0x5cef66=Symbol(_0x79eb42(0x200)),_0x2f51fa=[0x8,0xd],_0x4c7807=['CONNECTING',_0x79eb42(0x2e9),'CLOSING',_0x79eb42(0x225)],_0x424bfe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x54dc4d extends _0x35fd2b{constructor(_0x4ad472,_0x58bb60,_0x218e2e){const _0x3fdbaa=_0x79eb42;super(),this['_binaryType']=_0x1ccdc4[0x0],this[_0x3fdbaa(0x1be)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x3fdbaa(0x2f6)]=!0x1,this[_0x3fdbaa(0x258)]=_0x56e95e,this[_0x3fdbaa(0x1f7)]=null,this[_0x3fdbaa(0x24e)]=!0x1,this[_0x3fdbaa(0x1dd)]={},this[_0x3fdbaa(0x1c2)]=!0x1,this[_0x3fdbaa(0x1a6)]='',this[_0x3fdbaa(0x32d)]=_0x54dc4d[_0x3fdbaa(0x324)],this[_0x3fdbaa(0x215)]=null,this[_0x3fdbaa(0x249)]=null,this[_0x3fdbaa(0x2ba)]=null,_0x4ad472!==null?(this[_0x3fdbaa(0x20a)]=0x0,this[_0x3fdbaa(0x21f)]=!0x1,this[_0x3fdbaa(0x289)]=0x0,_0x58bb60===void 0x0?_0x58bb60=[]:Array[_0x3fdbaa(0x21e)](_0x58bb60)||(typeof _0x58bb60=='object'&&_0x58bb60!==null?(_0x218e2e=_0x58bb60,_0x58bb60=[]):_0x58bb60=[_0x58bb60]),_0x13412a(this,_0x4ad472,_0x58bb60,_0x218e2e)):(this['_autoPong']=_0x218e2e[_0x3fdbaa(0x339)],this[_0x3fdbaa(0x21f)]=!0x0);}get['binaryType'](){const _0x39b3cd=_0x79eb42;return this[_0x39b3cd(0x194)];}set[_0x79eb42(0x2a9)](_0x58282d){const _0x345b0e=_0x79eb42;_0x1ccdc4['includes'](_0x58282d)&&(this[_0x345b0e(0x194)]=_0x58282d,this[_0x345b0e(0x215)]&&(this[_0x345b0e(0x215)][_0x345b0e(0x194)]=_0x58282d));}get[_0x79eb42(0x285)](){const _0x4d9340=_0x79eb42;return this[_0x4d9340(0x2ba)]?this[_0x4d9340(0x2ba)][_0x4d9340(0x32f)]['length']+this[_0x4d9340(0x249)][_0x4d9340(0x1b7)]:this['_bufferedAmount'];}get['extensions'](){const _0x203dc5=_0x79eb42;return Object[_0x203dc5(0x2e5)](this[_0x203dc5(0x1dd)])[_0x203dc5(0x1fd)]();}get['isPaused'](){const _0x34a460=_0x79eb42;return this[_0x34a460(0x1c2)];}get[_0x79eb42(0x192)](){return null;}get['onerror'](){return null;}get[_0x79eb42(0x286)](){return null;}get[_0x79eb42(0x32b)](){return null;}get[_0x79eb42(0x2d7)](){return this['_protocol'];}get[_0x79eb42(0x302)](){return this['_readyState'];}get[_0x79eb42(0x21b)](){const _0x200c10=_0x79eb42;return this[_0x200c10(0x279)];}[_0x79eb42(0x262)](_0xf6d00e,_0x54440b,_0x559305){const _0x12ccb3=_0x79eb42,_0x1307ad=new _0x3a5917({'allowSynchronousEvents':_0x559305[_0x12ccb3(0x212)],'binaryType':this[_0x12ccb3(0x2a9)],'extensions':this['_extensions'],'isServer':this[_0x12ccb3(0x21f)],'maxPayload':_0x559305[_0x12ccb3(0x1e2)],'skipUTF8Validation':_0x559305[_0x12ccb3(0x1a8)]}),_0x5a7bf4=new _0x40c6e6(_0xf6d00e,this[_0x12ccb3(0x1dd)],_0x559305[_0x12ccb3(0x30b)]);this[_0x12ccb3(0x215)]=_0x1307ad,this[_0x12ccb3(0x249)]=_0x5a7bf4,this[_0x12ccb3(0x2ba)]=_0xf6d00e,_0x1307ad[_0x3072dc]=this,_0x5a7bf4[_0x3072dc]=this,_0xf6d00e[_0x3072dc]=this,_0x1307ad['on'](_0x12ccb3(0x2b0),_0x3702e1),_0x1307ad['on'](_0x12ccb3(0x2e7),_0x3db532),_0x1307ad['on']('error',_0x33345a),_0x1307ad['on'](_0x12ccb3(0x1f5),_0x3c977c),_0x1307ad['on'](_0x12ccb3(0x287),_0xdf87cc),_0x1307ad['on'](_0x12ccb3(0x327),_0x21be74),_0x5a7bf4['onerror']=_0x268999,_0xf6d00e[_0x12ccb3(0x1cf)]&&_0xf6d00e['setTimeout'](0x0),_0xf6d00e[_0x12ccb3(0x31c)]&&_0xf6d00e[_0x12ccb3(0x31c)](),_0x54440b['length']>0x0&&_0xf6d00e[_0x12ccb3(0x23a)](_0x54440b),_0xf6d00e['on']('close',_0x17e362),_0xf6d00e['on'](_0x12ccb3(0x2be),_0x3c5a39),_0xf6d00e['on']('end',_0x503ede),_0xf6d00e['on']('error',_0x552b94),this['_readyState']=_0x54dc4d['OPEN'],this[_0x12ccb3(0x288)]('open');}[_0x79eb42(0x334)](){const _0x26fbc3=_0x79eb42;if(!this['_socket']){this[_0x26fbc3(0x32d)]=_0x54dc4d[_0x26fbc3(0x225)],this[_0x26fbc3(0x288)]('close',this[_0x26fbc3(0x1be)],this[_0x26fbc3(0x258)]);return;}this[_0x26fbc3(0x1dd)][_0x27f6a1[_0x26fbc3(0x2d5)]]&&this[_0x26fbc3(0x1dd)][_0x27f6a1[_0x26fbc3(0x2d5)]][_0x26fbc3(0x1bc)](),this[_0x26fbc3(0x215)][_0x26fbc3(0x2b5)](),this[_0x26fbc3(0x32d)]=_0x54dc4d[_0x26fbc3(0x225)],this[_0x26fbc3(0x288)](_0x26fbc3(0x250),this[_0x26fbc3(0x1be)],this[_0x26fbc3(0x258)]);}[_0x79eb42(0x250)](_0x357da7,_0x28c440){const _0x1d64a2=_0x79eb42;if(this[_0x1d64a2(0x302)]!==_0x54dc4d[_0x1d64a2(0x225)]){if(this[_0x1d64a2(0x302)]===_0x54dc4d[_0x1d64a2(0x324)]){_0x1b3126(this,this['_req'],_0x1d64a2(0x2a5));return;}if(this['readyState']===_0x54dc4d['CLOSING']){this[_0x1d64a2(0x2f6)]&&(this[_0x1d64a2(0x27b)]||this[_0x1d64a2(0x215)]['_writableState'][_0x1d64a2(0x1f1)])&&this[_0x1d64a2(0x2ba)]['end']();return;}this[_0x1d64a2(0x32d)]=_0x54dc4d['CLOSING'],this[_0x1d64a2(0x249)][_0x1d64a2(0x250)](_0x357da7,_0x28c440,!this[_0x1d64a2(0x21f)],_0x1c0134=>{const _0x45dfee=_0x1d64a2;_0x1c0134||(this[_0x45dfee(0x2f6)]=!0x0,(this['_closeFrameReceived']||this[_0x45dfee(0x215)][_0x45dfee(0x32f)][_0x45dfee(0x1f1)])&&this[_0x45dfee(0x2ba)][_0x45dfee(0x230)]());}),_0x559b2c(this);}}['pause'](){const _0x458cd4=_0x79eb42;this[_0x458cd4(0x302)]===_0x54dc4d[_0x458cd4(0x324)]||this['readyState']===_0x54dc4d[_0x458cd4(0x225)]||(this['_paused']=!0x0,this[_0x458cd4(0x2ba)][_0x458cd4(0x26f)]());}[_0x79eb42(0x287)](_0x3ea567,_0x50b879,_0x159c5d){const _0x1f355e=_0x79eb42;if(this['readyState']===_0x54dc4d['CONNECTING'])throw new Error(_0x1f355e(0x1c9));if(typeof _0x3ea567=='function'?(_0x159c5d=_0x3ea567,_0x3ea567=_0x50b879=void 0x0):typeof _0x50b879=='function'&&(_0x159c5d=_0x50b879,_0x50b879=void 0x0),typeof _0x3ea567=='number'&&(_0x3ea567=_0x3ea567[_0x1f355e(0x267)]()),this[_0x1f355e(0x302)]!==_0x54dc4d['OPEN']){_0x4de837(this,_0x3ea567,_0x159c5d);return;}_0x50b879===void 0x0&&(_0x50b879=!this[_0x1f355e(0x21f)]),this[_0x1f355e(0x249)][_0x1f355e(0x287)](_0x3ea567||_0x56e95e,_0x50b879,_0x159c5d);}['pong'](_0x298683,_0x2c0d1a,_0x30ff6d){const _0x4f1e6c=_0x79eb42;if(this[_0x4f1e6c(0x302)]===_0x54dc4d[_0x4f1e6c(0x324)])throw new Error(_0x4f1e6c(0x1c9));if(typeof _0x298683==_0x4f1e6c(0x2de)?(_0x30ff6d=_0x298683,_0x298683=_0x2c0d1a=void 0x0):typeof _0x2c0d1a=='function'&&(_0x30ff6d=_0x2c0d1a,_0x2c0d1a=void 0x0),typeof _0x298683==_0x4f1e6c(0x1e5)&&(_0x298683=_0x298683[_0x4f1e6c(0x267)]()),this['readyState']!==_0x54dc4d[_0x4f1e6c(0x2e9)]){_0x4de837(this,_0x298683,_0x30ff6d);return;}_0x2c0d1a===void 0x0&&(_0x2c0d1a=!this['_isServer']),this[_0x4f1e6c(0x249)][_0x4f1e6c(0x327)](_0x298683||_0x56e95e,_0x2c0d1a,_0x30ff6d);}[_0x79eb42(0x24d)](){const _0x48ce24=_0x79eb42;this[_0x48ce24(0x302)]===_0x54dc4d[_0x48ce24(0x324)]||this[_0x48ce24(0x302)]===_0x54dc4d['CLOSED']||(this[_0x48ce24(0x1c2)]=!0x1,this[_0x48ce24(0x215)][_0x48ce24(0x32f)][_0x48ce24(0x22f)]||this[_0x48ce24(0x2ba)][_0x48ce24(0x24d)]());}[_0x79eb42(0x297)](_0xf0ee2b,_0x37924f,_0x2663ae){const _0x3eb664=_0x79eb42;if(this['readyState']===_0x54dc4d['CONNECTING'])throw new Error(_0x3eb664(0x1c9));if(typeof _0x37924f=='function'&&(_0x2663ae=_0x37924f,_0x37924f={}),typeof _0xf0ee2b==_0x3eb664(0x1e5)&&(_0xf0ee2b=_0xf0ee2b[_0x3eb664(0x267)]()),this[_0x3eb664(0x302)]!==_0x54dc4d[_0x3eb664(0x2e9)]){_0x4de837(this,_0xf0ee2b,_0x2663ae);return;}const _0x328cf7={'binary':typeof _0xf0ee2b!=_0x3eb664(0x1ba),'mask':!this[_0x3eb664(0x21f)],'compress':!0x0,'fin':!0x0,..._0x37924f};this['_extensions'][_0x27f6a1['extensionName']]||(_0x328cf7['compress']=!0x1),this[_0x3eb664(0x249)][_0x3eb664(0x297)](_0xf0ee2b||_0x56e95e,_0x328cf7,_0x2663ae);}[_0x79eb42(0x1d5)](){const _0x1297b1=_0x79eb42;if(this[_0x1297b1(0x302)]!==_0x54dc4d[_0x1297b1(0x225)]){if(this[_0x1297b1(0x302)]===_0x54dc4d[_0x1297b1(0x324)]){_0x1b3126(this,this[_0x1297b1(0x313)],_0x1297b1(0x2a5));return;}this[_0x1297b1(0x2ba)]&&(this[_0x1297b1(0x32d)]=_0x54dc4d[_0x1297b1(0x1f3)],this[_0x1297b1(0x2ba)][_0x1297b1(0x21d)]());}}}Object[_0x79eb42(0x2fb)](_0x54dc4d,_0x79eb42(0x324),{'enumerable':!0x0,'value':_0x4c7807[_0x79eb42(0x19e)](_0x79eb42(0x324))}),Object[_0x79eb42(0x2fb)](_0x54dc4d[_0x79eb42(0x21c)],_0x79eb42(0x324),{'enumerable':!0x0,'value':_0x4c7807[_0x79eb42(0x19e)](_0x79eb42(0x324))}),Object[_0x79eb42(0x2fb)](_0x54dc4d,_0x79eb42(0x2e9),{'enumerable':!0x0,'value':_0x4c7807[_0x79eb42(0x19e)](_0x79eb42(0x2e9))}),Object['defineProperty'](_0x54dc4d[_0x79eb42(0x21c)],_0x79eb42(0x2e9),{'enumerable':!0x0,'value':_0x4c7807['indexOf'](_0x79eb42(0x2e9))}),Object[_0x79eb42(0x2fb)](_0x54dc4d,_0x79eb42(0x1f3),{'enumerable':!0x0,'value':_0x4c7807['indexOf'](_0x79eb42(0x1f3))}),Object[_0x79eb42(0x2fb)](_0x54dc4d[_0x79eb42(0x21c)],_0x79eb42(0x1f3),{'enumerable':!0x0,'value':_0x4c7807[_0x79eb42(0x19e)](_0x79eb42(0x1f3))}),Object[_0x79eb42(0x2fb)](_0x54dc4d,_0x79eb42(0x225),{'enumerable':!0x0,'value':_0x4c7807[_0x79eb42(0x19e)](_0x79eb42(0x225))}),Object[_0x79eb42(0x2fb)](_0x54dc4d[_0x79eb42(0x21c)],'CLOSED',{'enumerable':!0x0,'value':_0x4c7807[_0x79eb42(0x19e)](_0x79eb42(0x225))}),[_0x79eb42(0x2a9),'bufferedAmount',_0x79eb42(0x207),_0x79eb42(0x213),'protocol',_0x79eb42(0x302),_0x79eb42(0x21b)][_0x79eb42(0x283)](_0x2282c8=>{const _0x5d8174=_0x79eb42;Object[_0x5d8174(0x2fb)](_0x54dc4d[_0x5d8174(0x21c)],_0x2282c8,{'enumerable':!0x0});}),[_0x79eb42(0x2fd),_0x79eb42(0x1e1),_0x79eb42(0x250),'message'][_0x79eb42(0x283)](_0x249953=>{const _0x4afe95=_0x79eb42;Object[_0x4afe95(0x2fb)](_0x54dc4d[_0x4afe95(0x21c)],'on'+_0x249953,{'enumerable':!0x0,'get'(){for(const _0x5f340b of this['listeners'](_0x249953))if(_0x5f340b[_0x517504])return _0x5f340b[_0xcc29ad];return null;},'set'(_0x2e7525){const _0x4d9ee8=_0x4afe95;for(const _0x18ee77 of this[_0x4d9ee8(0x1ee)](_0x249953))if(_0x18ee77[_0x517504]){this['removeListener'](_0x249953,_0x18ee77);break;}typeof _0x2e7525==_0x4d9ee8(0x2de)&&this['addEventListener'](_0x249953,_0x2e7525,{[_0x517504]:!0x0});}});}),_0x54dc4d[_0x79eb42(0x21c)]['addEventListener']=_0x2f0ed7,_0x54dc4d[_0x79eb42(0x21c)][_0x79eb42(0x227)]=_0x249278,we=_0x54dc4d;function _0x13412a(_0xd2045e,_0x139028,_0x53dd67,_0x2b489f){const _0x283813=_0x79eb42,_0x20183f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2f51fa[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2b489f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x283813(0x19c),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xd2045e['_autoPong']=_0x20183f[_0x283813(0x339)],!_0x2f51fa['includes'](_0x20183f[_0x283813(0x2cd)]))throw new RangeError(_0x283813(0x26e)+_0x20183f['protocolVersion']+_0x283813(0x316)+_0x2f51fa[_0x283813(0x1fd)](',\x20')+')');let _0x3d9557;if(_0x139028 instanceof _0x5c7e0f)_0x3d9557=_0x139028;else try{_0x3d9557=new _0x5c7e0f(_0x139028);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x139028);}_0x3d9557[_0x283813(0x2d7)]===_0x283813(0x32e)?_0x3d9557[_0x283813(0x2d7)]=_0x283813(0x322):_0x3d9557[_0x283813(0x2d7)]===_0x283813(0x305)&&(_0x3d9557['protocol']='wss:'),_0xd2045e['_url']=_0x3d9557[_0x283813(0x248)];const _0x5f0001=_0x3d9557[_0x283813(0x2d7)]===_0x283813(0x228),_0x2f63b2=_0x3d9557[_0x283813(0x2d7)]===_0x283813(0x2d4);let _0x4a5f00;if(_0x3d9557[_0x283813(0x2d7)]!==_0x283813(0x322)&&!_0x5f0001&&!_0x2f63b2?_0x4a5f00=_0x283813(0x277):_0x2f63b2&&!_0x3d9557['pathname']?_0x4a5f00=_0x283813(0x1ec):_0x3d9557[_0x283813(0x19f)]&&(_0x4a5f00=_0x283813(0x2b7)),_0x4a5f00){const _0x160602=new SyntaxError(_0x4a5f00);if(_0xd2045e['_redirects']===0x0)throw _0x160602;_0x54d3e5(_0xd2045e,_0x160602);return;}const _0x27df64=_0x5f0001?0x1bb:0x50,_0x228d28=_0x43a6a9(0x10)[_0x283813(0x267)](_0x283813(0x18b)),_0x3c93ba=_0x5f0001?_0x5efd96['request']:_0x4c835e['request'],_0x41bfe3=new Set();let _0x5be453;if(_0x20183f['createConnection']=_0x20183f['createConnection']||(_0x5f0001?_0x3f12c8:_0x306a90),_0x20183f['defaultPort']=_0x20183f[_0x283813(0x1c8)]||_0x27df64,_0x20183f[_0x283813(0x1ab)]=_0x3d9557[_0x283813(0x1ab)]||_0x27df64,_0x20183f[_0x283813(0x210)]=_0x3d9557['hostname'][_0x283813(0x269)]('[')?_0x3d9557[_0x283813(0x1d4)]['slice'](0x1,-0x1):_0x3d9557[_0x283813(0x1d4)],_0x20183f[_0x283813(0x221)]={..._0x20183f[_0x283813(0x221)],'Sec-WebSocket-Version':_0x20183f[_0x283813(0x2cd)],'Sec-WebSocket-Key':_0x228d28,'Connection':'Upgrade','Upgrade':'websocket'},_0x20183f[_0x283813(0x206)]=_0x3d9557['pathname']+_0x3d9557[_0x283813(0x18e)],_0x20183f[_0x283813(0x197)]=_0x20183f[_0x283813(0x2b8)],_0x20183f[_0x283813(0x2a6)]&&(_0x5be453=new _0x27f6a1(_0x20183f[_0x283813(0x2a6)]!==!0x0?_0x20183f[_0x283813(0x2a6)]:{},!0x1,_0x20183f[_0x283813(0x1e2)]),_0x20183f[_0x283813(0x221)][_0x283813(0x293)]=_0xff5402({[_0x27f6a1[_0x283813(0x2d5)]]:_0x5be453[_0x283813(0x2c7)]()})),_0x53dd67[_0x283813(0x1f9)]){for(const _0x4c2bb2 of _0x53dd67){if(typeof _0x4c2bb2!=_0x283813(0x1ba)||!_0x424bfe[_0x283813(0x1d0)](_0x4c2bb2)||_0x41bfe3[_0x283813(0x20d)](_0x4c2bb2))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x41bfe3['add'](_0x4c2bb2);}_0x20183f['headers']['Sec-WebSocket-Protocol']=_0x53dd67[_0x283813(0x1fd)](',');}if(_0x20183f[_0x283813(0x29f)]&&(_0x20183f['protocolVersion']<0xd?_0x20183f[_0x283813(0x221)][_0x283813(0x244)]=_0x20183f[_0x283813(0x29f)]:_0x20183f[_0x283813(0x221)]['Origin']=_0x20183f['origin']),(_0x3d9557['username']||_0x3d9557[_0x283813(0x335)])&&(_0x20183f['auth']=_0x3d9557[_0x283813(0x2dc)]+':'+_0x3d9557[_0x283813(0x335)]),_0x2f63b2){const _0x8b8785=_0x20183f[_0x283813(0x206)][_0x283813(0x20b)](':');_0x20183f[_0x283813(0x18c)]=_0x8b8785[0x0],_0x20183f[_0x283813(0x206)]=_0x8b8785[0x1];}let _0x2f4ee5;if(_0x20183f['followRedirects']){if(_0xd2045e[_0x283813(0x289)]===0x0){_0xd2045e['_originalIpc']=_0x2f63b2,_0xd2045e[_0x283813(0x252)]=_0x5f0001,_0xd2045e[_0x283813(0x338)]=_0x2f63b2?_0x20183f[_0x283813(0x18c)]:_0x3d9557[_0x283813(0x210)];const _0x15cb0c=_0x2b489f&&_0x2b489f[_0x283813(0x221)];if(_0x2b489f={..._0x2b489f,'headers':{}},_0x15cb0c){for(const [_0x352e01,_0x749f5d]of Object[_0x283813(0x264)](_0x15cb0c))_0x2b489f['headers'][_0x352e01[_0x283813(0x2cc)]()]=_0x749f5d;}}else{if(_0xd2045e[_0x283813(0x1d8)]('redirect')===0x0){const _0x4015e9=_0x2f63b2?_0xd2045e[_0x283813(0x1cb)]?_0x20183f['socketPath']===_0xd2045e[_0x283813(0x338)]:!0x1:_0xd2045e[_0x283813(0x1cb)]?!0x1:_0x3d9557['host']===_0xd2045e[_0x283813(0x338)];(!_0x4015e9||_0xd2045e[_0x283813(0x252)]&&!_0x5f0001)&&(delete _0x20183f[_0x283813(0x221)]['authorization'],delete _0x20183f[_0x283813(0x221)][_0x283813(0x306)],_0x4015e9||delete _0x20183f[_0x283813(0x221)]['host'],_0x20183f[_0x283813(0x243)]=void 0x0);}}_0x20183f[_0x283813(0x243)]&&!_0x2b489f[_0x283813(0x221)]['authorization']&&(_0x2b489f[_0x283813(0x221)][_0x283813(0x311)]='Basic\x20'+Buffer[_0x283813(0x290)](_0x20183f['auth'])[_0x283813(0x267)]('base64')),_0x2f4ee5=_0xd2045e[_0x283813(0x313)]=_0x3c93ba(_0x20183f),_0xd2045e[_0x283813(0x289)]&&_0xd2045e[_0x283813(0x288)](_0x283813(0x32a),_0xd2045e[_0x283813(0x21b)],_0x2f4ee5);}else _0x2f4ee5=_0xd2045e[_0x283813(0x313)]=_0x3c93ba(_0x20183f);_0x20183f[_0x283813(0x197)]&&_0x2f4ee5['on'](_0x283813(0x197),()=>{_0x1b3126(_0xd2045e,_0x2f4ee5,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x2f4ee5['on'](_0x283813(0x1e1),_0x337fe3=>{const _0x1644cc=_0x283813;_0x2f4ee5===null||_0x2f4ee5[_0x5cef66]||(_0x2f4ee5=_0xd2045e[_0x1644cc(0x313)]=null,_0x54d3e5(_0xd2045e,_0x337fe3));}),_0x2f4ee5['on'](_0x283813(0x24b),_0x10c435=>{const _0x261131=_0x283813,_0x41c51f=_0x10c435['headers'][_0x261131(0x261)],_0x24e4af=_0x10c435[_0x261131(0x2f2)];if(_0x41c51f&&_0x20183f[_0x261131(0x20f)]&&_0x24e4af>=0x12c&&_0x24e4af<0x190){if(++_0xd2045e['_redirects']>_0x20183f['maxRedirects']){_0x1b3126(_0xd2045e,_0x2f4ee5,_0x261131(0x2f5));return;}_0x2f4ee5[_0x261131(0x203)]();let _0x5b651e;try{_0x5b651e=new _0x5c7e0f(_0x41c51f,_0x139028);}catch{const _0x303dd8=new SyntaxError(_0x261131(0x26d)+_0x41c51f);_0x54d3e5(_0xd2045e,_0x303dd8);return;}_0x13412a(_0xd2045e,_0x5b651e,_0x53dd67,_0x2b489f);}else _0xd2045e[_0x261131(0x288)](_0x261131(0x24c),_0x2f4ee5,_0x10c435)||_0x1b3126(_0xd2045e,_0x2f4ee5,_0x261131(0x1f0)+_0x10c435[_0x261131(0x2f2)]);}),_0x2f4ee5['on'](_0x283813(0x2e6),(_0x1d7d2e,_0x56bd66,_0x1d3754)=>{const _0xf87d3e=_0x283813;if(_0xd2045e[_0xf87d3e(0x288)]('upgrade',_0x1d7d2e),_0xd2045e[_0xf87d3e(0x302)]!==_0x54dc4d[_0xf87d3e(0x324)])return;_0x2f4ee5=_0xd2045e['_req']=null;const _0x341811=_0x1d7d2e['headers'][_0xf87d3e(0x2e6)];if(_0x341811===void 0x0||_0x341811[_0xf87d3e(0x2cc)]()!=='websocket'){_0x1b3126(_0xd2045e,_0x56bd66,_0xf87d3e(0x25d));return;}const _0x19dd5a=_0x50ef1b('sha1')[_0xf87d3e(0x29e)](_0x228d28+_0xe37d99)[_0xf87d3e(0x1d6)](_0xf87d3e(0x18b));if(_0x1d7d2e['headers'][_0xf87d3e(0x294)]!==_0x19dd5a){_0x1b3126(_0xd2045e,_0x56bd66,_0xf87d3e(0x29a));return;}const _0x4a4b95=_0x1d7d2e['headers']['sec-websocket-protocol'];let _0x56579e;if(_0x4a4b95!==void 0x0?_0x41bfe3['size']?_0x41bfe3['has'](_0x4a4b95)||(_0x56579e=_0xf87d3e(0x22e)):_0x56579e=_0xf87d3e(0x217):_0x41bfe3[_0xf87d3e(0x2ab)]&&(_0x56579e='Server\x20sent\x20no\x20subprotocol'),_0x56579e){_0x1b3126(_0xd2045e,_0x56bd66,_0x56579e);return;}_0x4a4b95&&(_0xd2045e[_0xf87d3e(0x1a6)]=_0x4a4b95);const _0x411076=_0x1d7d2e['headers'][_0xf87d3e(0x2d0)];if(_0x411076!==void 0x0){if(!_0x5be453){_0x1b3126(_0xd2045e,_0x56bd66,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x5acd49;try{_0x5acd49=_0x4b4de0(_0x411076);}catch{_0x1b3126(_0xd2045e,_0x56bd66,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3b7109=Object[_0xf87d3e(0x2e5)](_0x5acd49);if(_0x3b7109[_0xf87d3e(0x1f9)]!==0x1||_0x3b7109[0x0]!==_0x27f6a1['extensionName']){_0x1b3126(_0xd2045e,_0x56bd66,_0xf87d3e(0x2bb));return;}try{_0x5be453[_0xf87d3e(0x2f4)](_0x5acd49[_0x27f6a1['extensionName']]);}catch{_0x1b3126(_0xd2045e,_0x56bd66,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0xd2045e['_extensions'][_0x27f6a1[_0xf87d3e(0x2d5)]]=_0x5be453;}_0xd2045e[_0xf87d3e(0x262)](_0x56bd66,_0x1d3754,{'allowSynchronousEvents':_0x20183f['allowSynchronousEvents'],'generateMask':_0x20183f[_0xf87d3e(0x30b)],'maxPayload':_0x20183f[_0xf87d3e(0x1e2)],'skipUTF8Validation':_0x20183f[_0xf87d3e(0x1a8)]});}),_0x20183f[_0x283813(0x22d)]?_0x20183f[_0x283813(0x22d)](_0x2f4ee5,_0xd2045e):_0x2f4ee5[_0x283813(0x230)]();}function _0x54d3e5(_0x182d91,_0x50427e){const _0x1f8075=_0x79eb42;_0x182d91[_0x1f8075(0x32d)]=_0x54dc4d[_0x1f8075(0x1f3)],_0x182d91[_0x1f8075(0x24e)]=!0x0,_0x182d91['emit'](_0x1f8075(0x1e1),_0x50427e),_0x182d91['emitClose']();}function _0x306a90(_0x10a788){const _0x19417a=_0x79eb42;return _0x10a788['path']=_0x10a788[_0x19417a(0x18c)],_0x1570a1[_0x19417a(0x2bf)](_0x10a788);}function _0x3f12c8(_0x2e1970){const _0x1cb7ca=_0x79eb42;return _0x2e1970[_0x1cb7ca(0x206)]=void 0x0,!_0x2e1970[_0x1cb7ca(0x2d9)]&&_0x2e1970[_0x1cb7ca(0x2d9)]!==''&&(_0x2e1970[_0x1cb7ca(0x2d9)]=_0x1570a1[_0x1cb7ca(0x276)](_0x2e1970[_0x1cb7ca(0x210)])?'':_0x2e1970[_0x1cb7ca(0x210)]),_0x1b9778['connect'](_0x2e1970);}function _0x1b3126(_0x17d0f7,_0x52871b,_0x1662aa){const _0x304fe1=_0x79eb42;_0x17d0f7[_0x304fe1(0x32d)]=_0x54dc4d[_0x304fe1(0x1f3)];const _0x699d28=new Error(_0x1662aa);Error['captureStackTrace'](_0x699d28,_0x1b3126),_0x52871b[_0x304fe1(0x2ff)]?(_0x52871b[_0x5cef66]=!0x0,_0x52871b[_0x304fe1(0x203)](),_0x52871b['socket']&&!_0x52871b[_0x304fe1(0x2df)][_0x304fe1(0x296)]&&_0x52871b['socket'][_0x304fe1(0x21d)](),process[_0x304fe1(0x270)](_0x54d3e5,_0x17d0f7,_0x699d28)):(_0x52871b[_0x304fe1(0x21d)](_0x699d28),_0x52871b[_0x304fe1(0x2cf)](_0x304fe1(0x1e1),_0x17d0f7[_0x304fe1(0x288)][_0x304fe1(0x2f8)](_0x17d0f7,_0x304fe1(0x1e1))),_0x52871b['once'](_0x304fe1(0x250),_0x17d0f7[_0x304fe1(0x334)][_0x304fe1(0x2f8)](_0x17d0f7)));}function _0x4de837(_0x46c5a4,_0xcd0973,_0x2ea238){const _0x373b47=_0x79eb42;if(_0xcd0973){const _0x318177=_0x3e8c4b(_0xcd0973)?_0xcd0973['size']:_0x2e49b1(_0xcd0973)[_0x373b47(0x1f9)];_0x46c5a4[_0x373b47(0x2ba)]?_0x46c5a4[_0x373b47(0x249)][_0x373b47(0x1b7)]+=_0x318177:_0x46c5a4[_0x373b47(0x20a)]+=_0x318177;}if(_0x2ea238){const _0x16b616=new Error(_0x373b47(0x191)+_0x46c5a4['readyState']+'\x20('+_0x4c7807[_0x46c5a4[_0x373b47(0x302)]]+')');process[_0x373b47(0x270)](_0x2ea238,_0x16b616);}}function _0x3702e1(_0x3c2332,_0x1b05cb){const _0x33e13d=_0x79eb42,_0x374e53=this[_0x3072dc];_0x374e53[_0x33e13d(0x27b)]=!0x0,_0x374e53[_0x33e13d(0x258)]=_0x1b05cb,_0x374e53[_0x33e13d(0x1be)]=_0x3c2332,_0x374e53[_0x33e13d(0x2ba)][_0x3072dc]!==void 0x0&&(_0x374e53[_0x33e13d(0x2ba)]['removeListener']('data',_0x3c5a39),process[_0x33e13d(0x270)](_0x388bbc,_0x374e53[_0x33e13d(0x2ba)]),_0x3c2332===0x3ed?_0x374e53[_0x33e13d(0x250)]():_0x374e53[_0x33e13d(0x250)](_0x3c2332,_0x1b05cb));}function _0x3db532(){const _0x7372fe=_0x79eb42,_0x47b56c=this[_0x3072dc];_0x47b56c[_0x7372fe(0x213)]||_0x47b56c[_0x7372fe(0x2ba)][_0x7372fe(0x24d)]();}function _0x33345a(_0x78bf0a){const _0x27c40f=_0x79eb42,_0x558a61=this[_0x3072dc];_0x558a61[_0x27c40f(0x2ba)][_0x3072dc]!==void 0x0&&(_0x558a61[_0x27c40f(0x2ba)][_0x27c40f(0x2aa)]('data',_0x3c5a39),process[_0x27c40f(0x270)](_0x388bbc,_0x558a61[_0x27c40f(0x2ba)]),_0x558a61[_0x27c40f(0x250)](_0x78bf0a[_0x37ddb6])),_0x558a61[_0x27c40f(0x24e)]||(_0x558a61[_0x27c40f(0x24e)]=!0x0,_0x558a61[_0x27c40f(0x288)](_0x27c40f(0x1e1),_0x78bf0a));}function _0x54078a(){const _0x27307d=_0x79eb42;this[_0x3072dc][_0x27307d(0x334)]();}function _0x3c977c(_0x554dba,_0x22cfe5){const _0x9b6ae3=_0x79eb42;this[_0x3072dc][_0x9b6ae3(0x288)](_0x9b6ae3(0x1f5),_0x554dba,_0x22cfe5);}function _0xdf87cc(_0x440a3a){const _0x21aad1=_0x79eb42,_0x32cdca=this[_0x3072dc];_0x32cdca[_0x21aad1(0x2a7)]&&_0x32cdca[_0x21aad1(0x327)](_0x440a3a,!this[_0x21aad1(0x21f)],_0x287a5d),_0x32cdca[_0x21aad1(0x288)](_0x21aad1(0x287),_0x440a3a);}function _0x21be74(_0x5c2a0e){const _0xb034fd=_0x79eb42;this[_0x3072dc][_0xb034fd(0x288)](_0xb034fd(0x327),_0x5c2a0e);}function _0x388bbc(_0x41f929){_0x41f929['resume']();}function _0x268999(_0xb6672e){const _0x2f0bfa=_0x79eb42,_0x57a248=this[_0x3072dc];_0x57a248[_0x2f0bfa(0x302)]!==_0x54dc4d['CLOSED']&&(_0x57a248[_0x2f0bfa(0x302)]===_0x54dc4d[_0x2f0bfa(0x2e9)]&&(_0x57a248[_0x2f0bfa(0x32d)]=_0x54dc4d[_0x2f0bfa(0x1f3)],_0x559b2c(_0x57a248)),this[_0x2f0bfa(0x2ba)][_0x2f0bfa(0x230)](),_0x57a248[_0x2f0bfa(0x24e)]||(_0x57a248[_0x2f0bfa(0x24e)]=!0x0,_0x57a248['emit']('error',_0xb6672e)));}function _0x559b2c(_0x4fb262){const _0x3e8666=_0x79eb42;_0x4fb262[_0x3e8666(0x1f7)]=setTimeout(_0x4fb262['_socket'][_0x3e8666(0x21d)][_0x3e8666(0x2f8)](_0x4fb262['_socket']),_0xe8cf56);}function _0x17e362(){const _0x339cc9=_0x79eb42,_0x52a1c3=this[_0x3072dc];this['removeListener'](_0x339cc9(0x250),_0x17e362),this['removeListener']('data',_0x3c5a39),this[_0x339cc9(0x2aa)](_0x339cc9(0x230),_0x503ede),_0x52a1c3[_0x339cc9(0x32d)]=_0x54dc4d[_0x339cc9(0x1f3)];let _0x5edd0e;!this[_0x339cc9(0x218)][_0x339cc9(0x27e)]&&!_0x52a1c3[_0x339cc9(0x27b)]&&!_0x52a1c3[_0x339cc9(0x215)][_0x339cc9(0x32f)][_0x339cc9(0x1f1)]&&(_0x5edd0e=_0x52a1c3[_0x339cc9(0x2ba)][_0x339cc9(0x2db)]())!==null&&_0x52a1c3['_receiver'][_0x339cc9(0x235)](_0x5edd0e),_0x52a1c3['_receiver'][_0x339cc9(0x230)](),this[_0x3072dc]=void 0x0,clearTimeout(_0x52a1c3[_0x339cc9(0x1f7)]),_0x52a1c3[_0x339cc9(0x215)][_0x339cc9(0x32f)][_0x339cc9(0x1a9)]||_0x52a1c3[_0x339cc9(0x215)][_0x339cc9(0x32f)][_0x339cc9(0x1f1)]?_0x52a1c3['emitClose']():(_0x52a1c3[_0x339cc9(0x215)]['on'](_0x339cc9(0x1e1),_0x54078a),_0x52a1c3['_receiver']['on']('finish',_0x54078a));}function _0x3c5a39(_0x1a80fd){const _0x10b329=_0x79eb42;this[_0x3072dc][_0x10b329(0x215)]['write'](_0x1a80fd)||this['pause']();}function _0x503ede(){const _0x497292=_0x79eb42,_0x3ef2ef=this[_0x3072dc];_0x3ef2ef[_0x497292(0x32d)]=_0x54dc4d['CLOSING'],_0x3ef2ef[_0x497292(0x215)]['end'](),this[_0x497292(0x230)]();}function _0x552b94(){const _0xa38c79=_0x79eb42,_0x528733=this[_0x3072dc];this[_0xa38c79(0x2aa)](_0xa38c79(0x1e1),_0x552b94),this['on'](_0xa38c79(0x1e1),_0x287a5d),_0x528733&&(_0x528733[_0xa38c79(0x32d)]=_0x54dc4d['CLOSING'],this[_0xa38c79(0x21d)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x259dd1}=_0x5f8150;function _0x489aaa(_0x1def89){const _0x5aa3f8=_0x5dc0;_0x1def89[_0x5aa3f8(0x288)](_0x5aa3f8(0x250));}function _0x41bdae(){const _0x33bdd6=_0x5dc0;!this[_0x33bdd6(0x296)]&&this[_0x33bdd6(0x32f)]['finished']&&this[_0x33bdd6(0x21d)]();}function _0x3f4c37(_0x55a065){const _0x4be8f2=_0x5dc0;this[_0x4be8f2(0x2aa)](_0x4be8f2(0x1e1),_0x3f4c37),this[_0x4be8f2(0x21d)](),this[_0x4be8f2(0x1d8)](_0x4be8f2(0x1e1))===0x0&&this[_0x4be8f2(0x288)]('error',_0x55a065);}function _0x8b758e(_0x1c62ad,_0x1f5a6d){const _0xd128d9=_0x5dc0;let _0x2ab923=!0x0;const _0x1dc24a=new _0x259dd1({..._0x1f5a6d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1c62ad['on']('message',function(_0x348cf7,_0x36e8ef){const _0x470340=_0x5dc0,_0x104246=!_0x36e8ef&&_0x1dc24a['_readableState'][_0x470340(0x2a3)]?_0x348cf7[_0x470340(0x267)]():_0x348cf7;_0x1dc24a[_0x470340(0x2f0)](_0x104246)||_0x1c62ad[_0x470340(0x26f)]();}),_0x1c62ad[_0xd128d9(0x2cf)]('error',function(_0x995950){const _0x4cdde4=_0xd128d9;_0x1dc24a['destroyed']||(_0x2ab923=!0x1,_0x1dc24a[_0x4cdde4(0x21d)](_0x995950));}),_0x1c62ad[_0xd128d9(0x2cf)](_0xd128d9(0x250),function(){const _0x30791f=_0xd128d9;_0x1dc24a[_0x30791f(0x296)]||_0x1dc24a[_0x30791f(0x2f0)](null);}),_0x1dc24a[_0xd128d9(0x320)]=function(_0x148df0,_0x2a0025){const _0x15f601=_0xd128d9;if(_0x1c62ad['readyState']===_0x1c62ad[_0x15f601(0x225)]){_0x2a0025(_0x148df0),process['nextTick'](_0x489aaa,_0x1dc24a);return;}let _0x4ad19a=!0x1;_0x1c62ad[_0x15f601(0x2cf)](_0x15f601(0x1e1),function(_0x4533ef){_0x4ad19a=!0x0,_0x2a0025(_0x4533ef);}),_0x1c62ad['once'](_0x15f601(0x250),function(){const _0x5a0828=_0x15f601;_0x4ad19a||_0x2a0025(_0x148df0),process[_0x5a0828(0x270)](_0x489aaa,_0x1dc24a);}),_0x2ab923&&_0x1c62ad[_0x15f601(0x1d5)]();},_0x1dc24a['_final']=function(_0x5f42f9){const _0x502c53=_0xd128d9;if(_0x1c62ad[_0x502c53(0x302)]===_0x1c62ad['CONNECTING']){_0x1c62ad['once'](_0x502c53(0x2fd),function(){_0x1dc24a['_final'](_0x5f42f9);});return;}_0x1c62ad['_socket']!==null&&(_0x1c62ad[_0x502c53(0x2ba)][_0x502c53(0x32f)]['finished']?(_0x5f42f9(),_0x1dc24a['_readableState']['endEmitted']&&_0x1dc24a[_0x502c53(0x21d)]()):(_0x1c62ad[_0x502c53(0x2ba)]['once'](_0x502c53(0x23b),function(){_0x5f42f9();}),_0x1c62ad[_0x502c53(0x250)]()));},_0x1dc24a[_0xd128d9(0x224)]=function(){const _0x3fc242=_0xd128d9;_0x1c62ad[_0x3fc242(0x213)]&&_0x1c62ad[_0x3fc242(0x24d)]();},_0x1dc24a[_0xd128d9(0x19b)]=function(_0x1b0eb4,_0x56d7c5,_0x217b41){const _0x28149e=_0xd128d9;if(_0x1c62ad[_0x28149e(0x302)]===_0x1c62ad[_0x28149e(0x324)]){_0x1c62ad[_0x28149e(0x2cf)](_0x28149e(0x2fd),function(){const _0x4da9d4=_0x28149e;_0x1dc24a[_0x4da9d4(0x19b)](_0x1b0eb4,_0x56d7c5,_0x217b41);});return;}_0x1c62ad[_0x28149e(0x297)](_0x1b0eb4,_0x217b41);},_0x1dc24a['on']('end',_0x41bdae),_0x1dc24a['on']('error',_0x3f4c37),_0x1dc24a;}return Oe=_0x8b758e,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x3b1d01}=ne();function _0x271b80(_0x4382d6){const _0x1d6a2d=_0x5dc0,_0x4f10cf=new Set();let _0xf63641=-0x1,_0x1ca99a=-0x1,_0x445382=0x0;for(_0x445382;_0x445382<_0x4382d6[_0x1d6a2d(0x1f9)];_0x445382++){const _0x1d045e=_0x4382d6[_0x1d6a2d(0x1c1)](_0x445382);if(_0x1ca99a===-0x1&&_0x3b1d01[_0x1d045e]===0x1)_0xf63641===-0x1&&(_0xf63641=_0x445382);else{if(_0x445382!==0x0&&(_0x1d045e===0x20||_0x1d045e===0x9))_0x1ca99a===-0x1&&_0xf63641!==-0x1&&(_0x1ca99a=_0x445382);else{if(_0x1d045e===0x2c){if(_0xf63641===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x445382);_0x1ca99a===-0x1&&(_0x1ca99a=_0x445382);const _0x194ded=_0x4382d6[_0x1d6a2d(0x240)](_0xf63641,_0x1ca99a);if(_0x4f10cf[_0x1d6a2d(0x20d)](_0x194ded))throw new SyntaxError(_0x1d6a2d(0x273)+_0x194ded+_0x1d6a2d(0x2f1));_0x4f10cf[_0x1d6a2d(0x22a)](_0x194ded),_0xf63641=_0x1ca99a=-0x1;}else throw new SyntaxError(_0x1d6a2d(0x2c6)+_0x445382);}}}if(_0xf63641===-0x1||_0x1ca99a!==-0x1)throw new SyntaxError(_0x1d6a2d(0x25a));const _0x5a2b70=_0x4382d6[_0x1d6a2d(0x240)](_0xf63641,_0x445382);if(_0x4f10cf[_0x1d6a2d(0x20d)](_0x5a2b70))throw new SyntaxError('The\x20\x22'+_0x5a2b70+_0x1d6a2d(0x2f1));return _0x4f10cf[_0x1d6a2d(0x22a)](_0x5a2b70),_0x4f10cf;}return Ce={'parse':_0x271b80},Ce;}var Te,ot;function er(){const _0x210544=_0x1a92b4;if(ot)return Te;ot=0x1;const _0x586ec1=_0x5c41d1,_0x42db07=_0x3cb461,{Duplex:_0x3b7681}=_0x5f8150,{createHash:_0x2ba89b}=_0x2b0786,_0x5621c9=pt(),_0x1df59f=he(),_0x13702a=Jt(),_0x4ce1aa=Ie(),{GUID:_0x2084af,kWebSocket:_0x22300d}=V(),_0xbf1a5=/^[+/0-9A-Za-z]{22}==$/,_0x2864da=0x0,_0x1a41fd=0x1,_0x49ba2c=0x2;class _0x18cf8c extends _0x586ec1{constructor(_0x3a88d0,_0x529d7d){const _0x27e825=_0x5dc0;if(super(),_0x3a88d0={'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':_0x4ce1aa,..._0x3a88d0},_0x3a88d0[_0x27e825(0x1ab)]==null&&!_0x3a88d0['server']&&!_0x3a88d0[_0x27e825(0x278)]||_0x3a88d0['port']!=null&&(_0x3a88d0[_0x27e825(0x1d7)]||_0x3a88d0['noServer'])||_0x3a88d0[_0x27e825(0x1d7)]&&_0x3a88d0[_0x27e825(0x278)])throw new TypeError(_0x27e825(0x1e8));if(_0x3a88d0[_0x27e825(0x1ab)]!=null?(this[_0x27e825(0x1cc)]=_0x42db07['createServer']((_0x44249c,_0x24a5d8)=>{const _0x123c4f=_0x27e825,_0x2b2294=_0x42db07[_0x123c4f(0x28d)][0x1aa];_0x24a5d8[_0x123c4f(0x308)](0x1aa,{'Content-Length':_0x2b2294[_0x123c4f(0x1f9)],'Content-Type':'text/plain'}),_0x24a5d8['end'](_0x2b2294);}),this[_0x27e825(0x1cc)][_0x27e825(0x280)](_0x3a88d0[_0x27e825(0x1ab)],_0x3a88d0[_0x27e825(0x210)],_0x3a88d0[_0x27e825(0x237)],_0x529d7d)):_0x3a88d0[_0x27e825(0x1d7)]&&(this[_0x27e825(0x1cc)]=_0x3a88d0[_0x27e825(0x1d7)]),this[_0x27e825(0x1cc)]){const _0x3de747=this[_0x27e825(0x288)][_0x27e825(0x2f8)](this,_0x27e825(0x30e));this[_0x27e825(0x2ea)]=_0x3f375f(this['_server'],{'listening':this[_0x27e825(0x288)][_0x27e825(0x2f8)](this,_0x27e825(0x1ad)),'error':this[_0x27e825(0x288)][_0x27e825(0x2f8)](this,'error'),'upgrade':(_0x3d6a35,_0x33946e,_0x2212aa)=>{const _0x49b49c=_0x27e825;this[_0x49b49c(0x2c1)](_0x3d6a35,_0x33946e,_0x2212aa,_0x3de747);}});}_0x3a88d0[_0x27e825(0x2a6)]===!0x0&&(_0x3a88d0[_0x27e825(0x2a6)]={}),_0x3a88d0[_0x27e825(0x1fc)]&&(this[_0x27e825(0x33c)]=new Set(),this[_0x27e825(0x29d)]=!0x1),this[_0x27e825(0x2a8)]=_0x3a88d0,this[_0x27e825(0x255)]=_0x2864da;}[_0x210544(0x2a0)](){const _0x1ba501=_0x210544;if(this[_0x1ba501(0x2a8)][_0x1ba501(0x278)])throw new Error(_0x1ba501(0x2eb));return this[_0x1ba501(0x1cc)]?this[_0x1ba501(0x1cc)]['address']():null;}['close'](_0x3e7e17){const _0x47f50b=_0x210544;if(this[_0x47f50b(0x255)]===_0x49ba2c){_0x3e7e17&&this[_0x47f50b(0x2cf)]('close',()=>{const _0x3317a6=_0x47f50b;_0x3e7e17(new Error(_0x3317a6(0x2ee)));}),process['nextTick'](_0x708a73,this);return;}if(_0x3e7e17&&this[_0x47f50b(0x2cf)](_0x47f50b(0x250),_0x3e7e17),this[_0x47f50b(0x255)]!==_0x1a41fd){if(this['_state']=_0x1a41fd,this['options'][_0x47f50b(0x278)]||this[_0x47f50b(0x2a8)][_0x47f50b(0x1d7)])this['_server']&&(this[_0x47f50b(0x2ea)](),this[_0x47f50b(0x2ea)]=this[_0x47f50b(0x1cc)]=null),this[_0x47f50b(0x33c)]?this['clients']['size']?this['_shouldEmitClose']=!0x0:process[_0x47f50b(0x270)](_0x708a73,this):process[_0x47f50b(0x270)](_0x708a73,this);else{const _0x13c97d=this[_0x47f50b(0x1cc)];this[_0x47f50b(0x2ea)](),this[_0x47f50b(0x2ea)]=this[_0x47f50b(0x1cc)]=null,_0x13c97d['close'](()=>{_0x708a73(this);});}}}[_0x210544(0x231)](_0x3a15da){const _0x50778e=_0x210544;if(this[_0x50778e(0x2a8)][_0x50778e(0x206)]){const _0x4401e1=_0x3a15da[_0x50778e(0x21b)][_0x50778e(0x19e)]('?');if((_0x4401e1!==-0x1?_0x3a15da['url'][_0x50778e(0x240)](0x0,_0x4401e1):_0x3a15da[_0x50778e(0x21b)])!==this['options'][_0x50778e(0x206)])return!0x1;}return!0x0;}[_0x210544(0x2c1)](_0x56d7d9,_0x2b5595,_0x35c394,_0x310afb){const _0x2a8516=_0x210544;_0x2b5595['on']('error',_0x3e1f8a);const _0x318b8e=_0x56d7d9['headers'][_0x2a8516(0x234)],_0x3fabad=_0x56d7d9[_0x2a8516(0x221)][_0x2a8516(0x2e6)],_0x5b14ac=+_0x56d7d9[_0x2a8516(0x221)][_0x2a8516(0x26a)];if(_0x56d7d9[_0x2a8516(0x190)]!==_0x2a8516(0x19c)){_0x46a451(this,_0x56d7d9,_0x2b5595,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x3fabad===void 0x0||_0x3fabad[_0x2a8516(0x2cc)]()!=='websocket'){_0x46a451(this,_0x56d7d9,_0x2b5595,0x190,_0x2a8516(0x25d));return;}if(_0x318b8e===void 0x0||!_0xbf1a5[_0x2a8516(0x1d0)](_0x318b8e)){_0x46a451(this,_0x56d7d9,_0x2b5595,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x5b14ac!==0x8&&_0x5b14ac!==0xd){_0x46a451(this,_0x56d7d9,_0x2b5595,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x2a8516(0x231)](_0x56d7d9)){_0x5e5fb5(_0x2b5595,0x190);return;}const _0x4c9341=_0x56d7d9[_0x2a8516(0x221)][_0x2a8516(0x2e4)];let _0x2a3366=new Set();if(_0x4c9341!==void 0x0)try{_0x2a3366=_0x13702a[_0x2a8516(0x232)](_0x4c9341);}catch{_0x46a451(this,_0x56d7d9,_0x2b5595,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x573ed2=_0x56d7d9[_0x2a8516(0x221)][_0x2a8516(0x2d0)],_0x152da1={};if(this[_0x2a8516(0x2a8)][_0x2a8516(0x2a6)]&&_0x573ed2!==void 0x0){const _0x30d626=new _0x1df59f(this['options'][_0x2a8516(0x2a6)],!0x0,this[_0x2a8516(0x2a8)][_0x2a8516(0x1e2)]);try{const _0x40c70e=_0x5621c9[_0x2a8516(0x232)](_0x573ed2);_0x40c70e[_0x1df59f[_0x2a8516(0x2d5)]]&&(_0x30d626[_0x2a8516(0x2f4)](_0x40c70e[_0x1df59f[_0x2a8516(0x2d5)]]),_0x152da1[_0x1df59f[_0x2a8516(0x2d5)]]=_0x30d626);}catch{_0x46a451(this,_0x56d7d9,_0x2b5595,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x2a8516(0x2a8)][_0x2a8516(0x2a1)]){const _0x3a8b24={'origin':_0x56d7d9[_0x2a8516(0x221)][''+(_0x5b14ac===0x8?_0x2a8516(0x1ff):_0x2a8516(0x29f))],'secure':!!(_0x56d7d9[_0x2a8516(0x2df)][_0x2a8516(0x28b)]||_0x56d7d9[_0x2a8516(0x2df)][_0x2a8516(0x27c)]),'req':_0x56d7d9};if(this[_0x2a8516(0x2a8)][_0x2a8516(0x2a1)][_0x2a8516(0x1f9)]===0x2){this[_0x2a8516(0x2a8)]['verifyClient'](_0x3a8b24,(_0x29990c,_0xfb84b5,_0x24842d,_0x567caf)=>{const _0x65c70a=_0x2a8516;if(!_0x29990c)return _0x5e5fb5(_0x2b5595,_0xfb84b5||0x191,_0x24842d,_0x567caf);this[_0x65c70a(0x2bd)](_0x152da1,_0x318b8e,_0x2a3366,_0x56d7d9,_0x2b5595,_0x35c394,_0x310afb);});return;}if(!this[_0x2a8516(0x2a8)][_0x2a8516(0x2a1)](_0x3a8b24))return _0x5e5fb5(_0x2b5595,0x191);}this[_0x2a8516(0x2bd)](_0x152da1,_0x318b8e,_0x2a3366,_0x56d7d9,_0x2b5595,_0x35c394,_0x310afb);}[_0x210544(0x2bd)](_0x301700,_0x2a830f,_0xe2948e,_0x11ffce,_0xa1f81d,_0x2dca53,_0x156848){const _0xaa6ad5=_0x210544;if(!_0xa1f81d[_0xaa6ad5(0x307)]||!_0xa1f81d[_0xaa6ad5(0x263)])return _0xa1f81d[_0xaa6ad5(0x21d)]();if(_0xa1f81d[_0x22300d])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xaa6ad5(0x255)]>_0x2864da)return _0x5e5fb5(_0xa1f81d,0x1f7);const _0xf662bc=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0xaa6ad5(0x1c0),_0xaa6ad5(0x2ad),_0xaa6ad5(0x1aa)+_0x2ba89b('sha1')[_0xaa6ad5(0x29e)](_0x2a830f+_0x2084af)[_0xaa6ad5(0x1d6)](_0xaa6ad5(0x18b))],_0x187c39=new this[(_0xaa6ad5(0x2a8))][(_0xaa6ad5(0x209))](null,void 0x0,this[_0xaa6ad5(0x2a8)]);if(_0xe2948e[_0xaa6ad5(0x2ab)]){const _0x3b9ac9=this[_0xaa6ad5(0x2a8)]['handleProtocols']?this[_0xaa6ad5(0x2a8)]['handleProtocols'](_0xe2948e,_0x11ffce):_0xe2948e[_0xaa6ad5(0x2ca)]()[_0xaa6ad5(0x2f3)]()[_0xaa6ad5(0x1b8)];_0x3b9ac9&&(_0xf662bc['push'](_0xaa6ad5(0x2d8)+_0x3b9ac9),_0x187c39['_protocol']=_0x3b9ac9);}if(_0x301700[_0x1df59f[_0xaa6ad5(0x2d5)]]){const _0x460c8a=_0x301700[_0x1df59f[_0xaa6ad5(0x2d5)]][_0xaa6ad5(0x233)],_0xdac9c5=_0x5621c9[_0xaa6ad5(0x27f)]({[_0x1df59f[_0xaa6ad5(0x2d5)]]:[_0x460c8a]});_0xf662bc['push']('Sec-WebSocket-Extensions:\x20'+_0xdac9c5),_0x187c39[_0xaa6ad5(0x1dd)]=_0x301700;}this['emit'](_0xaa6ad5(0x221),_0xf662bc,_0x11ffce),_0xa1f81d[_0xaa6ad5(0x235)](_0xf662bc[_0xaa6ad5(0x1cd)]('\x0d\x0a')[_0xaa6ad5(0x1fd)]('\x0d\x0a')),_0xa1f81d[_0xaa6ad5(0x2aa)](_0xaa6ad5(0x1e1),_0x3e1f8a),_0x187c39['setSocket'](_0xa1f81d,_0x2dca53,{'allowSynchronousEvents':this[_0xaa6ad5(0x2a8)][_0xaa6ad5(0x212)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0xaa6ad5(0x2a8)][_0xaa6ad5(0x1a8)]}),this['clients']&&(this[_0xaa6ad5(0x33c)][_0xaa6ad5(0x22a)](_0x187c39),_0x187c39['on'](_0xaa6ad5(0x250),()=>{const _0x4979f5=_0xaa6ad5;this[_0x4979f5(0x33c)]['delete'](_0x187c39),this[_0x4979f5(0x29d)]&&!this[_0x4979f5(0x33c)][_0x4979f5(0x2ab)]&&process[_0x4979f5(0x270)](_0x708a73,this);})),_0x156848(_0x187c39,_0x11ffce);}}Te=_0x18cf8c;function _0x3f375f(_0x5bce04,_0x1cd44e){const _0x34952f=_0x210544;for(const _0x36e84f of Object[_0x34952f(0x2e5)](_0x1cd44e))_0x5bce04['on'](_0x36e84f,_0x1cd44e[_0x36e84f]);return function(){const _0x445620=_0x34952f;for(const _0x1474ae of Object[_0x445620(0x2e5)](_0x1cd44e))_0x5bce04[_0x445620(0x2aa)](_0x1474ae,_0x1cd44e[_0x1474ae]);};}function _0x708a73(_0xc3252f){const _0x1b7cf7=_0x210544;_0xc3252f['_state']=_0x49ba2c,_0xc3252f[_0x1b7cf7(0x288)]('close');}function _0x3e1f8a(){const _0x729fde=_0x210544;this[_0x729fde(0x21d)]();}function _0x5e5fb5(_0x38e381,_0x58fbf3,_0x4ac546,_0x1539e3){const _0x2f9f60=_0x210544;_0x4ac546=_0x4ac546||_0x42db07[_0x2f9f60(0x28d)][_0x58fbf3],_0x1539e3={'Connection':_0x2f9f60(0x250),'Content-Type':_0x2f9f60(0x245),'Content-Length':Buffer[_0x2f9f60(0x1a5)](_0x4ac546),..._0x1539e3},_0x38e381[_0x2f9f60(0x2cf)](_0x2f9f60(0x23b),_0x38e381[_0x2f9f60(0x21d)]),_0x38e381[_0x2f9f60(0x230)](_0x2f9f60(0x202)+_0x58fbf3+'\x20'+_0x42db07[_0x2f9f60(0x28d)][_0x58fbf3]+'\x0d\x0a'+Object[_0x2f9f60(0x2e5)](_0x1539e3)[_0x2f9f60(0x333)](_0x5b8457=>_0x5b8457+':\x20'+_0x1539e3[_0x5b8457])[_0x2f9f60(0x1fd)]('\x0d\x0a')+_0x2f9f60(0x2e3)+_0x4ac546);}function _0x46a451(_0x520445,_0x2cf2dd,_0x261a06,_0x1d280e,_0x569287){const _0x1a20bd=_0x210544;if(_0x520445['listenerCount'](_0x1a20bd(0x23c))){const _0x2d64ba=new Error(_0x569287);Error[_0x1a20bd(0x33a)](_0x2d64ba,_0x46a451),_0x520445[_0x1a20bd(0x288)](_0x1a20bd(0x23c),_0x2d64ba,_0x261a06,_0x2cf2dd);}else _0x5e5fb5(_0x261a06,_0x1d280e,_0x569287);}return Te;}er();var tr=Object[_0x1a92b4(0x2b3)],rr=(_0x483e7f,_0x1b3968,_0xab2ab4,_0x41f5bb)=>{const _0xa95620=_0x1a92b4;for(var _0x1a82a1=_0x41f5bb>0x1?void 0x0:_0x41f5bb?tr(_0x1b3968,_0xab2ab4):_0x1b3968,_0x295880=_0x483e7f[_0xa95620(0x1f9)]-0x1,_0x196d73;_0x295880>=0x0;_0x295880--)(_0x196d73=_0x483e7f[_0x295880])&&(_0x1a82a1=_0x196d73(_0x1a82a1)||_0x1a82a1);return _0x1a82a1;},sr=(_0x5af512,_0x91b011)=>(_0x5727dd,_0x4dfc75)=>_0x91b011(_0x5727dd,_0x4dfc75,_0x5af512);let Ne=class extends _0x504150{constructor(_0x66390){super(),this['_configService']=_0x66390;}[_0x1a92b4(0x1a2)](_0x366539){const _0xa78432=_0x1a92b4;var _0x4e0229;const _0x3c37a4=(_0x4e0229=this['_configService']['getConfig'](Be))==null?void 0x0:_0x4e0229[_0xa78432(0x1a1)];try{const _0x1d8fd2=new Qt(_0x366539,{'headers':{..._0x3c37a4}}),_0xe81a9c=new _0xbfbc95();return{'URL':_0x366539,'close':(_0x447bd0,_0x24ca49)=>{const _0x3e2aa6=_0xa78432;_0x1d8fd2['close'](_0x447bd0,_0x24ca49),_0xe81a9c[_0x3e2aa6(0x1f6)]();},'send':_0x324d57=>{const _0x4388a9=_0xa78432;_0x1d8fd2[_0x4388a9(0x297)](_0x324d57);},'open$':new _0x2681af(_0x1afc57=>{const _0x4d6f4b=_0xa78432,_0x55f675=_0x18f8d7=>_0x1afc57[_0x4d6f4b(0x2f3)](_0x18f8d7);_0x1d8fd2[_0x4d6f4b(0x1f4)]('open',_0x55f675),_0xe81a9c[_0x4d6f4b(0x22a)](_0x37d456(()=>_0x1d8fd2[_0x4d6f4b(0x227)]('open',_0x55f675)));})['pipe'](_0x1b548e()),'close$':new _0x2681af(_0x3bf289=>{const _0x540de9=_0xa78432,_0x2f7d6b=_0x40066b=>_0x3bf289[_0x540de9(0x2f3)](_0x40066b);_0x1d8fd2['addEventListener']('close',_0x2f7d6b),_0xe81a9c[_0x540de9(0x22a)](_0x37d456(()=>_0x1d8fd2[_0x540de9(0x227)]('close',_0x2f7d6b)));})[_0xa78432(0x20c)](_0x1b548e()),'error$':new _0x2681af(_0x51ae45=>{const _0x491e6f=_0xa78432,_0x35205f=_0x59ba56=>_0x51ae45[_0x491e6f(0x2f3)](_0x59ba56);_0x1d8fd2['addEventListener']('error',_0x35205f),_0xe81a9c[_0x491e6f(0x22a)](_0x37d456(()=>_0x1d8fd2[_0x491e6f(0x227)](_0x491e6f(0x1e1),_0x35205f)));})[_0xa78432(0x20c)](_0x1b548e()),'message$':new _0x2681af(_0x8ea896=>{const _0x5a9784=_0xa78432,_0x3a79b0=_0x19b123=>_0x8ea896['next'](_0x19b123);_0x1d8fd2[_0x5a9784(0x1f4)](_0x5a9784(0x1f5),_0x3a79b0),_0xe81a9c[_0x5a9784(0x22a)](_0x37d456(()=>_0x1d8fd2[_0x5a9784(0x227)](_0x5a9784(0x1f5),_0x3a79b0)));})[_0xa78432(0x20c)](_0x1b548e())};}catch(_0x18d555){return console[_0xa78432(0x1e1)](_0x18d555),null;}}};Ne=rr([sr(0x0,_0x101b76)],Ne);var ir=Object[_0x1a92b4(0x2fb)],nr=Object[_0x1a92b4(0x2b3)],or=(_0x2b8bf5,_0x5e9dbd,_0x5ca1a5)=>_0x5e9dbd in _0x2b8bf5?ir(_0x2b8bf5,_0x5e9dbd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ca1a5}):_0x2b8bf5[_0x5e9dbd]=_0x5ca1a5,ar=(_0x187948,_0x45cc6d,_0x3cda23,_0x310c24)=>{for(var _0x2e2aa0=_0x310c24>0x1?void 0x0:_0x310c24?nr(_0x45cc6d,_0x3cda23):_0x45cc6d,_0x84fc45=_0x187948['length']-0x1,_0x5541f7;_0x84fc45>=0x0;_0x84fc45--)(_0x5541f7=_0x187948[_0x84fc45])&&(_0x2e2aa0=_0x5541f7(_0x2e2aa0)||_0x2e2aa0);return _0x2e2aa0;},ke=(_0x4a4a81,_0x3a8ea2)=>(_0x32a678,_0x294719)=>_0x3a8ea2(_0x32a678,_0x294719,_0x4a4a81),lr=(_0x5af9dc,_0x41e15e,_0x228f02)=>or(_0x5af9dc,_0x41e15e+'',_0x228f02);let Pe=class extends _0x12cc31{constructor(_0x4625ce=Ft,_0x314bfd,_0x41c004,_0x6b32a){const _0x2f2120=_0x1a92b4;_0x4625ce[_0x2f2120(0x1a1)]||_0x314bfd['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x2f2120(0x1de)]=_0x41c004,this[_0x2f2120(0x1ce)]=_0x6b32a,this['_configService']['setConfig'](Be,_0x4625ce);}['onStarting'](){this['_registerDependencies']();}[_0x1a92b4(0x2fc)](){const _0x4cb18e=_0x1a92b4;_0x4afc15(this[_0x4cb18e(0x1ce)],[[_0x35242c,{'useClass':Ne}]]);}};lr(Pe,_0x1a92b4(0x2fa),_0x1a92b4(0x253)),Pe=ar([_0x1e9d53(_0x12a6e2),ke(0x1,_0x50d428),ke(0x2,_0x101b76),ke(0x3,_0x35f987(_0x88c9bd))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x588503,_0x40e2a3,_0x505808,_0x1f1f24)=>{const _0x40c747=_0x1a92b4;for(var _0x327471=_0x1f1f24>0x1?void 0x0:_0x1f1f24?fr(_0x40e2a3,_0x505808):_0x40e2a3,_0x60ace=_0x588503[_0x40c747(0x1f9)]-0x1,_0x5434dc;_0x60ace>=0x0;_0x60ace--)(_0x5434dc=_0x588503[_0x60ace])&&(_0x327471=_0x5434dc(_0x327471)||_0x327471);return _0x327471;},se=(_0x4b6a69,_0x270d06)=>(_0x7f48b2,_0x33c0d5)=>_0x270d06(_0x7f48b2,_0x33c0d5,_0x4b6a69);let at=class extends _0x2f74cb{constructor(_0x38652b,_0x13da16,_0x3463f7,_0x527abe,_0x491d70){const _0x131fb1=_0x1a92b4;super(_0x38652b,_0x13da16,_0x3463f7,_0x527abe,_0x491d70);const _0x37d686=this[_0x131fb1(0x1de)]['getConfig'](Be);this['_httpService'][_0x131fb1(0x24f)]({'interceptor':(_0x3cd8cd,_0x41bab7)=>{const _0x1130e0=_0x131fb1;var _0x5b3514;const _0x59e996=_0x3cd8cd['headers'];return(_0x5b3514=_0x37d686==null?void 0x0:_0x37d686[_0x1130e0(0x1a1)])!=null&&_0x5b3514[_0x1130e0(0x306)]&&_0x59e996[_0x1130e0(0x1ae)]('Cookie',_0x37d686[_0x1130e0(0x1a1)][_0x1130e0(0x306)]),_0x41bab7(_0x3cd8cd);}});}async[_0x1a92b4(0x1a2)](_0x32ba20){const _0x5a9af8=_0x1a92b4;return this[_0x5a9af8(0x301)](_0x32ba20);}};at=cr([se(0x0,_0x35f987(_0x88c9bd)),se(0x1,_0x35f987(_0x2aa58a)),se(0x2,_0x101b76),se(0x3,_0x50d428),se(0x4,_0x132d45)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|