@univerjs-pro/collaboration-client-node 0.6.7-nightly.202503281607 → 0.6.7-nightly.202503301606

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x40afb0=_0x272a;(function(_0x16c744,_0x5d29e7){const _0x27980e=_0x272a,_0x4f6881=_0x16c744();while(!![]){try{const _0x59f1fa=-parseInt(_0x27980e(0x2f7))/0x1+parseInt(_0x27980e(0x2a7))/0x2*(-parseInt(_0x27980e(0x199))/0x3)+-parseInt(_0x27980e(0x299))/0x4+-parseInt(_0x27980e(0x1b2))/0x5*(-parseInt(_0x27980e(0x2a5))/0x6)+-parseInt(_0x27980e(0x175))/0x7*(-parseInt(_0x27980e(0x1d6))/0x8)+parseInt(_0x27980e(0x1f5))/0x9+parseInt(_0x27980e(0x28c))/0xa;if(_0x59f1fa===_0x5d29e7)break;else _0x4f6881['push'](_0x4f6881['shift']());}catch(_0x4ba617){_0x4f6881['push'](_0x4f6881['shift']());}}}(_0x3fd2,0xe7327));import{UniverCollaborationClientPlugin as _0x14a0b8,CollaborationSocketService as _0x3bbf9d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2cd525,DisposableCollection as _0x3ab47a,toDisposable as _0x401223,IConfigService as _0x59e2fa,DependentOn as _0x1bbd0e,ILogService as _0x3bddf3,Inject as _0x2bc00e,Injector as _0x1e39e0,Plugin as _0x4420ec,registerDependencies as _0x3f9bc1}from'@univerjs/core';import{ISocketService as _0x314090,HTTPService as _0x39c85}from'@univerjs/network';import{Observable as _0x48d183,share as _0x6e657b}from'rxjs';import _0x31b624 from'events';import _0x323601 from'https';import _0x316284 from'http';import _0x5c1c02 from'net';import _0x114366 from'tls';import _0x2cb503 from'crypto';import _0x5cc59f from'stream';import _0x302317 from'url';import _0x411ab3 from'zlib';import _0x2bfed8 from'buffer';import{ISnapshotServerService as _0x20fe25}from'@univerjs-pro/collaboration';const Be=_0x40afb0(0x15e),Ft={'customHeaders':{}};function jt(_0x164cda){const _0x3e8d01=_0x40afb0;return _0x164cda&&_0x164cda[_0x3e8d01(0x1fd)]&&Object[_0x3e8d01(0x1c8)][_0x3e8d01(0x20f)]['call'](_0x164cda,_0x3e8d01(0x2a2))?_0x164cda[_0x3e8d01(0x2a2)]:_0x164cda;}function ut(_0x392aab){const _0xeb37ee=_0x40afb0;if(Object['prototype']['hasOwnProperty'][_0xeb37ee(0x2fa)](_0x392aab,_0xeb37ee(0x1fd)))return _0x392aab;var _0x4e88eb=_0x392aab['default'];if(typeof _0x4e88eb=='function'){var _0x444413=function _0x414f08(){const _0x5bbf9b=_0xeb37ee;return this instanceof _0x414f08?Reflect['construct'](_0x4e88eb,arguments,this[_0x5bbf9b(0x2db)]):_0x4e88eb['apply'](this,arguments);};_0x444413[_0xeb37ee(0x1c8)]=_0x4e88eb['prototype'];}else _0x444413={};return Object[_0xeb37ee(0x165)](_0x444413,'__esModule',{'value':!0x0}),Object['keys'](_0x392aab)['forEach'](function(_0x4e435c){const _0x23f2f3=_0xeb37ee;var _0xa154fc=Object['getOwnPropertyDescriptor'](_0x392aab,_0x4e435c);Object[_0x23f2f3(0x165)](_0x444413,_0x4e435c,_0xa154fc['get']?_0xa154fc:{'enumerable':!0x0,'get':function(){return _0x392aab[_0x4e435c];}});}),_0x444413;}var te={'exports':{}},ge,Ye;function _0x272a(_0x5f3c77,_0x3f6f4d){const _0x3fd299=_0x3fd2();return _0x272a=function(_0x272ab2,_0x623a99){_0x272ab2=_0x272ab2-0x153;let _0x588ead=_0x3fd299[_0x272ab2];return _0x588ead;},_0x272a(_0x5f3c77,_0x3f6f4d);}function V(){const _0x256a74=_0x40afb0;if(Ye)return ge;Ye=0x1;const _0x47d05e=[_0x256a74(0x1f4),_0x256a74(0x214),_0x256a74(0x247)],_0x2b25fd=typeof Blob<'u';return _0x2b25fd&&_0x47d05e['push'](_0x256a74(0x2c7)),ge={'BINARY_TYPES':_0x47d05e,'EMPTY_BUFFER':Buffer[_0x256a74(0x285)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2b25fd,'kForOnEventAttribute':Symbol(_0x256a74(0x1e0)),'kListener':Symbol(_0x256a74(0x254)),'kStatusCode':Symbol(_0x256a74(0x224)),'kWebSocket':Symbol(_0x256a74(0x26c)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x40afb0(0x29f)](Object[_0x40afb0(0x165)]({'__proto__':null,'default':Wt},Symbol[_0x40afb0(0x1f6)],{'value':_0x40afb0(0x240)})),Vt=ut(Gt);var Ke;function ce(){const _0x577632=_0x40afb0;if(Ke)return te[_0x577632(0x29e)];Ke=0x1;const {EMPTY_BUFFER:_0x2b8e48}=V(),_0x3a8535=Buffer[Symbol[_0x577632(0x160)]];function _0x49c154(_0x4afddc,_0x554d){const _0x580594=_0x577632;if(_0x4afddc[_0x580594(0x2c8)]===0x0)return _0x2b8e48;if(_0x4afddc[_0x580594(0x2c8)]===0x1)return _0x4afddc[0x0];const _0x458be5=Buffer[_0x580594(0x200)](_0x554d);let _0x21d6c3=0x0;for(let _0x177714=0x0;_0x177714<_0x4afddc[_0x580594(0x2c8)];_0x177714++){const _0x573ae8=_0x4afddc[_0x177714];_0x458be5['set'](_0x573ae8,_0x21d6c3),_0x21d6c3+=_0x573ae8[_0x580594(0x2c8)];}return _0x21d6c3<_0x554d?new _0x3a8535(_0x458be5[_0x580594(0x19e)],_0x458be5['byteOffset'],_0x21d6c3):_0x458be5;}function _0x5c3ae8(_0x275201,_0x4da9d7,_0x279149,_0x47611e,_0x5174ef){for(let _0x20d855=0x0;_0x20d855<_0x5174ef;_0x20d855++)_0x279149[_0x47611e+_0x20d855]=_0x275201[_0x20d855]^_0x4da9d7[_0x20d855&0x3];}function _0x42d281(_0x489627,_0x53a64a){const _0x5d1be2=_0x577632;for(let _0x2d2a64=0x0;_0x2d2a64<_0x489627[_0x5d1be2(0x2c8)];_0x2d2a64++)_0x489627[_0x2d2a64]^=_0x53a64a[_0x2d2a64&0x3];}function _0x4564d5(_0x27151c){const _0x3034c3=_0x577632;return _0x27151c['length']===_0x27151c[_0x3034c3(0x19e)][_0x3034c3(0x1c4)]?_0x27151c['buffer']:_0x27151c[_0x3034c3(0x19e)][_0x3034c3(0x232)](_0x27151c[_0x3034c3(0x1fc)],_0x27151c['byteOffset']+_0x27151c['length']);}function _0x2aab6c(_0x3867b7){const _0x224245=_0x577632;if(_0x2aab6c[_0x224245(0x1d0)]=!0x0,Buffer[_0x224245(0x194)](_0x3867b7))return _0x3867b7;let _0x31e6d7;return _0x3867b7 instanceof ArrayBuffer?_0x31e6d7=new _0x3a8535(_0x3867b7):ArrayBuffer[_0x224245(0x223)](_0x3867b7)?_0x31e6d7=new _0x3a8535(_0x3867b7['buffer'],_0x3867b7[_0x224245(0x1fc)],_0x3867b7['byteLength']):(_0x31e6d7=Buffer[_0x224245(0x251)](_0x3867b7),_0x2aab6c[_0x224245(0x1d0)]=!0x1),_0x31e6d7;}if(te[_0x577632(0x29e)]={'concat':_0x49c154,'mask':_0x5c3ae8,'toArrayBuffer':_0x4564d5,'toBuffer':_0x2aab6c,'unmask':_0x42d281},!process[_0x577632(0x1df)][_0x577632(0x170)])try{const _0x3d71be=Vt;te[_0x577632(0x29e)][_0x577632(0x210)]=function(_0xabdb47,_0x5ea0fb,_0x2e7526,_0xd20cca,_0xbcad79){_0xbcad79<0x30?_0x5c3ae8(_0xabdb47,_0x5ea0fb,_0x2e7526,_0xd20cca,_0xbcad79):_0x3d71be['mask'](_0xabdb47,_0x5ea0fb,_0x2e7526,_0xd20cca,_0xbcad79);},te[_0x577632(0x29e)][_0x577632(0x1ce)]=function(_0x6c7168,_0x39eae7){const _0x103d5a=_0x577632;_0x6c7168[_0x103d5a(0x2c8)]<0x20?_0x42d281(_0x6c7168,_0x39eae7):_0x3d71be['unmask'](_0x6c7168,_0x39eae7);};}catch{}return te[_0x577632(0x29e)];}var ye,Xe;function qt(){const _0x1057fa=_0x40afb0;if(Xe)return ye;Xe=0x1;const _0x5dda4d=Symbol(_0x1057fa(0x2e3)),_0xce5341=Symbol(_0x1057fa(0x16f));class _0x3b6439{constructor(_0x28a70b){const _0x4b9690=_0x1057fa;this[_0x5dda4d]=()=>{const _0x263edc=_0x272a;this[_0x263edc(0x2e2)]--,this[_0xce5341]();},this['concurrency']=_0x28a70b||0x1/0x0,this[_0x4b9690(0x2d5)]=[],this[_0x4b9690(0x2e2)]=0x0;}[_0x1057fa(0x2e4)](_0x349e66){const _0x181078=_0x1057fa;this[_0x181078(0x2d5)][_0x181078(0x1c2)](_0x349e66),this[_0xce5341]();}[_0xce5341](){const _0x3af2fe=_0x1057fa;if(this[_0x3af2fe(0x2e2)]!==this[_0x3af2fe(0x1c7)]&&this['jobs'][_0x3af2fe(0x2c8)]){const _0x45f69e=this[_0x3af2fe(0x2d5)][_0x3af2fe(0x21b)]();this[_0x3af2fe(0x2e2)]++,_0x45f69e(this[_0x5dda4d]);}}}return ye=_0x3b6439,ye;}var ve,Ze;function he(){const _0x9e0ff3=_0x40afb0;if(Ze)return ve;Ze=0x1;const _0x3902e5=_0x411ab3,_0x34e067=ce(),_0x23f85e=qt(),{kStatusCode:_0xb19059}=V(),_0x55b5bc=Buffer[Symbol['species']],_0x370fd0=Buffer[_0x9e0ff3(0x251)]([0x0,0x0,0xff,0xff]),_0x4298d5=Symbol(_0x9e0ff3(0x192)),_0x50f6a9=Symbol(_0x9e0ff3(0x1c3)),_0x27b5d0=Symbol(_0x9e0ff3(0x19b)),_0x32eaac=Symbol('buffers'),_0x4d62de=Symbol('error');let _0x38c758;class _0x2a826a{constructor(_0x3b7ba5,_0x52e57b,_0x4d1633){const _0x527bcb=_0x9e0ff3;if(this[_0x527bcb(0x1de)]=_0x4d1633|0x0,this[_0x527bcb(0x267)]=_0x3b7ba5||{},this[_0x527bcb(0x25a)]=this[_0x527bcb(0x267)]['threshold']!==void 0x0?this['_options']['threshold']:0x400,this[_0x527bcb(0x235)]=!!_0x52e57b,this[_0x527bcb(0x2ed)]=null,this[_0x527bcb(0x17a)]=null,this[_0x527bcb(0x2c6)]=null,!_0x38c758){const _0x487032=this[_0x527bcb(0x267)][_0x527bcb(0x2d8)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x38c758=new _0x23f85e(_0x487032);}}static get[_0x9e0ff3(0x228)](){return'permessage-deflate';}['offer'](){const _0x4ca6c9=_0x9e0ff3,_0x20598e={};return this[_0x4ca6c9(0x267)][_0x4ca6c9(0x22c)]&&(_0x20598e[_0x4ca6c9(0x1bf)]=!0x0),this[_0x4ca6c9(0x267)]['clientNoContextTakeover']&&(_0x20598e[_0x4ca6c9(0x23f)]=!0x0),this[_0x4ca6c9(0x267)]['serverMaxWindowBits']&&(_0x20598e[_0x4ca6c9(0x2d0)]=this[_0x4ca6c9(0x267)][_0x4ca6c9(0x2ea)]),this['_options']['clientMaxWindowBits']?_0x20598e[_0x4ca6c9(0x22d)]=this['_options'][_0x4ca6c9(0x181)]:this['_options'][_0x4ca6c9(0x181)]==null&&(_0x20598e['client_max_window_bits']=!0x0),_0x20598e;}[_0x9e0ff3(0x212)](_0x49ad18){const _0x2a76db=_0x9e0ff3;return _0x49ad18=this['normalizeParams'](_0x49ad18),this['params']=this['_isServer']?this[_0x2a76db(0x241)](_0x49ad18):this[_0x2a76db(0x301)](_0x49ad18),this[_0x2a76db(0x2c6)];}['cleanup'](){const _0x5dfa62=_0x9e0ff3;if(this[_0x5dfa62(0x17a)]&&(this[_0x5dfa62(0x17a)]['close'](),this[_0x5dfa62(0x17a)]=null),this[_0x5dfa62(0x2ed)]){const _0x2a677f=this[_0x5dfa62(0x2ed)][_0x27b5d0];this['_deflate'][_0x5dfa62(0x256)](),this[_0x5dfa62(0x2ed)]=null,_0x2a677f&&_0x2a677f(new Error(_0x5dfa62(0x2f3)));}}[_0x9e0ff3(0x241)](_0x21dbc3){const _0x22b367=_0x9e0ff3,_0x1cf196=this[_0x22b367(0x267)],_0xf67e33=_0x21dbc3['find'](_0x26b238=>!(_0x1cf196['serverNoContextTakeover']===!0x1&&_0x26b238['server_no_context_takeover']||_0x26b238[_0x22b367(0x2d0)]&&(_0x1cf196[_0x22b367(0x2ea)]===!0x1||typeof _0x1cf196['serverMaxWindowBits']=='number'&&_0x1cf196['serverMaxWindowBits']>_0x26b238[_0x22b367(0x2d0)])||typeof _0x1cf196[_0x22b367(0x181)]==_0x22b367(0x2b3)&&!_0x26b238[_0x22b367(0x22d)]));if(!_0xf67e33)throw new Error(_0x22b367(0x2d7));return _0x1cf196[_0x22b367(0x22c)]&&(_0xf67e33[_0x22b367(0x1bf)]=!0x0),_0x1cf196[_0x22b367(0x274)]&&(_0xf67e33[_0x22b367(0x23f)]=!0x0),typeof _0x1cf196['serverMaxWindowBits']==_0x22b367(0x2b3)&&(_0xf67e33['server_max_window_bits']=_0x1cf196['serverMaxWindowBits']),typeof _0x1cf196[_0x22b367(0x181)]==_0x22b367(0x2b3)?_0xf67e33[_0x22b367(0x22d)]=_0x1cf196[_0x22b367(0x181)]:(_0xf67e33[_0x22b367(0x22d)]===!0x0||_0x1cf196['clientMaxWindowBits']===!0x1)&&delete _0xf67e33['client_max_window_bits'],_0xf67e33;}['acceptAsClient'](_0x2a56c9){const _0x1b57e7=_0x9e0ff3,_0x45e473=_0x2a56c9[0x0];if(this[_0x1b57e7(0x267)][_0x1b57e7(0x274)]===!0x1&&_0x45e473['client_no_context_takeover'])throw new Error(_0x1b57e7(0x1fa));if(!_0x45e473[_0x1b57e7(0x22d)])typeof this['_options']['clientMaxWindowBits']=='number'&&(_0x45e473[_0x1b57e7(0x22d)]=this[_0x1b57e7(0x267)]['clientMaxWindowBits']);else{if(this['_options'][_0x1b57e7(0x181)]===!0x1||typeof this[_0x1b57e7(0x267)][_0x1b57e7(0x181)]==_0x1b57e7(0x2b3)&&_0x45e473['client_max_window_bits']>this[_0x1b57e7(0x267)][_0x1b57e7(0x181)])throw new Error(_0x1b57e7(0x18b));}return _0x45e473;}[_0x9e0ff3(0x215)](_0x361a63){return _0x361a63['forEach'](_0x44f611=>{const _0x5dedd6=_0x272a;Object[_0x5dedd6(0x282)](_0x44f611)[_0x5dedd6(0x17f)](_0x1d613e=>{const _0x6f5993=_0x5dedd6;let _0x4a74a7=_0x44f611[_0x1d613e];if(_0x4a74a7[_0x6f5993(0x2c8)]>0x1)throw new Error(_0x6f5993(0x302)+_0x1d613e+_0x6f5993(0x1b6));if(_0x4a74a7=_0x4a74a7[0x0],_0x1d613e===_0x6f5993(0x22d)){if(_0x4a74a7!==!0x0){const _0x38e7c6=+_0x4a74a7;if(!Number[_0x6f5993(0x218)](_0x38e7c6)||_0x38e7c6<0x8||_0x38e7c6>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1d613e+'\x22:\x20'+_0x4a74a7);_0x4a74a7=_0x38e7c6;}else{if(!this[_0x6f5993(0x235)])throw new TypeError(_0x6f5993(0x257)+_0x1d613e+_0x6f5993(0x201)+_0x4a74a7);}}else{if(_0x1d613e===_0x6f5993(0x2d0)){const _0x4d6b60=+_0x4a74a7;if(!Number[_0x6f5993(0x218)](_0x4d6b60)||_0x4d6b60<0x8||_0x4d6b60>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1d613e+_0x6f5993(0x201)+_0x4a74a7);_0x4a74a7=_0x4d6b60;}else{if(_0x1d613e===_0x6f5993(0x23f)||_0x1d613e===_0x6f5993(0x1bf)){if(_0x4a74a7!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1d613e+'\x22:\x20'+_0x4a74a7);}else throw new Error(_0x6f5993(0x2ff)+_0x1d613e+'\x22');}}_0x44f611[_0x1d613e]=_0x4a74a7;});}),_0x361a63;}[_0x9e0ff3(0x289)](_0x2f2367,_0xb4787c,_0x3db210){const _0x936f69=_0x9e0ff3;_0x38c758[_0x936f69(0x2e4)](_0x5b8475=>{const _0x2b55a3=_0x936f69;this[_0x2b55a3(0x227)](_0x2f2367,_0xb4787c,(_0x5686fb,_0x5bf29b)=>{_0x5b8475(),_0x3db210(_0x5686fb,_0x5bf29b);});});}[_0x9e0ff3(0x1a6)](_0xf15990,_0x27c8a8,_0x3d59f9){const _0xd2e21e=_0x9e0ff3;_0x38c758[_0xd2e21e(0x2e4)](_0x1c3f8b=>{const _0x50a261=_0xd2e21e;this[_0x50a261(0x2cb)](_0xf15990,_0x27c8a8,(_0x2924c0,_0x8aba64)=>{_0x1c3f8b(),_0x3d59f9(_0x2924c0,_0x8aba64);});});}[_0x9e0ff3(0x227)](_0xae2d2c,_0x3911c7,_0x4fefae){const _0x41a000=_0x9e0ff3,_0x152361=this[_0x41a000(0x235)]?_0x41a000(0x2c0):_0x41a000(0x230);if(!this[_0x41a000(0x17a)]){const _0x399511=_0x152361+_0x41a000(0x1ba),_0xef5ff0=typeof this[_0x41a000(0x2c6)][_0x399511]!=_0x41a000(0x2b3)?_0x3902e5[_0x41a000(0x1ee)]:this['params'][_0x399511];this[_0x41a000(0x17a)]=_0x3902e5[_0x41a000(0x21f)]({...this[_0x41a000(0x267)][_0x41a000(0x27b)],'windowBits':_0xef5ff0}),this[_0x41a000(0x17a)][_0x4298d5]=this,this['_inflate'][_0x50f6a9]=0x0,this['_inflate'][_0x32eaac]=[],this[_0x41a000(0x17a)]['on'](_0x41a000(0x260),_0x3e1a14),this[_0x41a000(0x17a)]['on'](_0x41a000(0x1eb),_0x3a7c95);}this['_inflate'][_0x27b5d0]=_0x4fefae,this[_0x41a000(0x17a)][_0x41a000(0x2a3)](_0xae2d2c),_0x3911c7&&this[_0x41a000(0x17a)][_0x41a000(0x2a3)](_0x370fd0),this[_0x41a000(0x17a)][_0x41a000(0x16a)](()=>{const _0x1709d6=_0x41a000,_0x59dcaa=this[_0x1709d6(0x17a)][_0x4d62de];if(_0x59dcaa){this[_0x1709d6(0x17a)][_0x1709d6(0x256)](),this[_0x1709d6(0x17a)]=null,_0x4fefae(_0x59dcaa);return;}const _0x4de3ae=_0x34e067[_0x1709d6(0x163)](this[_0x1709d6(0x17a)][_0x32eaac],this['_inflate'][_0x50f6a9]);this[_0x1709d6(0x17a)]['_readableState'][_0x1709d6(0x21d)]?(this[_0x1709d6(0x17a)]['close'](),this[_0x1709d6(0x17a)]=null):(this[_0x1709d6(0x17a)][_0x50f6a9]=0x0,this[_0x1709d6(0x17a)][_0x32eaac]=[],_0x3911c7&&this[_0x1709d6(0x2c6)][_0x152361+_0x1709d6(0x21c)]&&this[_0x1709d6(0x17a)][_0x1709d6(0x211)]()),_0x4fefae(null,_0x4de3ae);});}['_compress'](_0x43faf3,_0x4e2000,_0x5d741f){const _0x1ff838=_0x9e0ff3,_0xcb0106=this[_0x1ff838(0x235)]?_0x1ff838(0x230):'client';if(!this[_0x1ff838(0x2ed)]){const _0x44c5c0=_0xcb0106+_0x1ff838(0x1ba),_0x1e9c6b=typeof this[_0x1ff838(0x2c6)][_0x44c5c0]!='number'?_0x3902e5[_0x1ff838(0x1ee)]:this[_0x1ff838(0x2c6)][_0x44c5c0];this[_0x1ff838(0x2ed)]=_0x3902e5['createDeflateRaw']({...this['_options'][_0x1ff838(0x154)],'windowBits':_0x1e9c6b}),this[_0x1ff838(0x2ed)][_0x50f6a9]=0x0,this[_0x1ff838(0x2ed)][_0x32eaac]=[],this['_deflate']['on'](_0x1ff838(0x1eb),_0x2343b9);}this[_0x1ff838(0x2ed)][_0x27b5d0]=_0x5d741f,this[_0x1ff838(0x2ed)][_0x1ff838(0x2a3)](_0x43faf3),this[_0x1ff838(0x2ed)][_0x1ff838(0x16a)](_0x3902e5[_0x1ff838(0x206)],()=>{const _0x39c889=_0x1ff838;if(!this[_0x39c889(0x2ed)])return;let _0x211b0b=_0x34e067[_0x39c889(0x163)](this[_0x39c889(0x2ed)][_0x32eaac],this[_0x39c889(0x2ed)][_0x50f6a9]);_0x4e2000&&(_0x211b0b=new _0x55b5bc(_0x211b0b['buffer'],_0x211b0b[_0x39c889(0x1fc)],_0x211b0b[_0x39c889(0x2c8)]-0x4)),this['_deflate'][_0x27b5d0]=null,this['_deflate'][_0x50f6a9]=0x0,this[_0x39c889(0x2ed)][_0x32eaac]=[],_0x4e2000&&this['params'][_0xcb0106+_0x39c889(0x21c)]&&this['_deflate']['reset'](),_0x5d741f(null,_0x211b0b);});}}ve=_0x2a826a;function _0x2343b9(_0x10e5ce){const _0x50d7b4=_0x9e0ff3;this[_0x32eaac][_0x50d7b4(0x1c2)](_0x10e5ce),this[_0x50f6a9]+=_0x10e5ce[_0x50d7b4(0x2c8)];}function _0x3a7c95(_0x11c956){const _0x4fb095=_0x9e0ff3;if(this[_0x50f6a9]+=_0x11c956[_0x4fb095(0x2c8)],this[_0x4298d5][_0x4fb095(0x1de)]<0x1||this[_0x50f6a9]<=this[_0x4298d5]['_maxPayload']){this[_0x32eaac][_0x4fb095(0x1c2)](_0x11c956);return;}this[_0x4d62de]=new RangeError(_0x4fb095(0x1bb)),this[_0x4d62de][_0x4fb095(0x174)]=_0x4fb095(0x23a),this[_0x4d62de][_0xb19059]=0x3f1,this['removeListener']('data',_0x3a7c95),this[_0x4fb095(0x211)]();}function _0x3e1a14(_0x277a5d){const _0x299d28=_0x9e0ff3;this[_0x4298d5][_0x299d28(0x17a)]=null,_0x277a5d[_0xb19059]=0x3ef,this[_0x27b5d0](_0x277a5d);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x40afb0(0x29f)](Object[_0x40afb0(0x165)]({'__proto__':null,'default':Ht},Symbol[_0x40afb0(0x1f6)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x124268=_0x40afb0;if(Qe)return re[_0x124268(0x29e)];Qe=0x1;const {isUtf8:_0x45b625}=_0x2bfed8,{hasBlob:_0x2312d9}=V(),_0x22dc7e=[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 _0x2130cd(_0x377d38){return _0x377d38>=0x3e8&&_0x377d38<=0x3f6&&_0x377d38!==0x3ec&&_0x377d38!==0x3ed&&_0x377d38!==0x3ee||_0x377d38>=0xbb8&&_0x377d38<=0x1387;}function _0x22f8a0(_0x51612c){const _0x454178=_0x124268,_0x12d30d=_0x51612c[_0x454178(0x2c8)];let _0x2dc1eb=0x0;for(;_0x2dc1eb<_0x12d30d;)if((_0x51612c[_0x2dc1eb]&0x80)===0x0)_0x2dc1eb++;else{if((_0x51612c[_0x2dc1eb]&0xe0)===0xc0){if(_0x2dc1eb+0x1===_0x12d30d||(_0x51612c[_0x2dc1eb+0x1]&0xc0)!==0x80||(_0x51612c[_0x2dc1eb]&0xfe)===0xc0)return!0x1;_0x2dc1eb+=0x2;}else{if((_0x51612c[_0x2dc1eb]&0xf0)===0xe0){if(_0x2dc1eb+0x2>=_0x12d30d||(_0x51612c[_0x2dc1eb+0x1]&0xc0)!==0x80||(_0x51612c[_0x2dc1eb+0x2]&0xc0)!==0x80||_0x51612c[_0x2dc1eb]===0xe0&&(_0x51612c[_0x2dc1eb+0x1]&0xe0)===0x80||_0x51612c[_0x2dc1eb]===0xed&&(_0x51612c[_0x2dc1eb+0x1]&0xe0)===0xa0)return!0x1;_0x2dc1eb+=0x3;}else{if((_0x51612c[_0x2dc1eb]&0xf8)===0xf0){if(_0x2dc1eb+0x3>=_0x12d30d||(_0x51612c[_0x2dc1eb+0x1]&0xc0)!==0x80||(_0x51612c[_0x2dc1eb+0x2]&0xc0)!==0x80||(_0x51612c[_0x2dc1eb+0x3]&0xc0)!==0x80||_0x51612c[_0x2dc1eb]===0xf0&&(_0x51612c[_0x2dc1eb+0x1]&0xf0)===0x80||_0x51612c[_0x2dc1eb]===0xf4&&_0x51612c[_0x2dc1eb+0x1]>0x8f||_0x51612c[_0x2dc1eb]>0xf4)return!0x1;_0x2dc1eb+=0x4;}else return!0x1;}}}return!0x0;}function _0xdc4997(_0xcc0caf){const _0x389d22=_0x124268;return _0x2312d9&&typeof _0xcc0caf==_0x389d22(0x277)&&typeof _0xcc0caf['arrayBuffer']==_0x389d22(0x2fe)&&typeof _0xcc0caf[_0x389d22(0x245)]==_0x389d22(0x2ef)&&typeof _0xcc0caf[_0x389d22(0x1a9)]==_0x389d22(0x2fe)&&(_0xcc0caf[Symbol['toStringTag']]==='Blob'||_0xcc0caf[Symbol[_0x389d22(0x1f6)]]===_0x389d22(0x1d7));}if(re[_0x124268(0x29e)]={'isBlob':_0xdc4997,'isValidStatusCode':_0x2130cd,'isValidUTF8':_0x22f8a0,'tokenChars':_0x22dc7e},_0x45b625)re[_0x124268(0x29e)][_0x124268(0x263)]=function(_0x562492){const _0x23bf3d=_0x124268;return _0x562492[_0x23bf3d(0x2c8)]<0x18?_0x22f8a0(_0x562492):_0x45b625(_0x562492);};else{if(!process['env'][_0x124268(0x190)])try{const _0xe7fd1f=Yt;re[_0x124268(0x29e)][_0x124268(0x263)]=function(_0x251589){const _0x55ecbb=_0x124268;return _0x251589[_0x55ecbb(0x2c8)]<0x20?_0x22f8a0(_0x251589):_0xe7fd1f(_0x251589);};}catch{}}return re[_0x124268(0x29e)];}var Se,Je;function dt(){const _0x164092=_0x40afb0;if(Je)return Se;Je=0x1;const {Writable:_0x17e298}=_0x5cc59f,_0x17938f=he(),{BINARY_TYPES:_0x34c999,EMPTY_BUFFER:_0x37db19,kStatusCode:_0x4a323d,kWebSocket:_0x575937}=V(),{concat:_0x465161,toArrayBuffer:_0x5197d1,unmask:_0x51da64}=ce(),{isValidStatusCode:_0x22f87c,isValidUTF8:_0x5a1641}=ne(),_0x5785d4=Buffer[Symbol['species']],_0x42fe4a=0x0,_0x20c60d=0x1,_0x4c3287=0x2,_0x110c46=0x3,_0x583ec8=0x4,_0x152851=0x5,_0x14ed00=0x6;class _0x38eda0 extends _0x17e298{constructor(_0x1a900a={}){const _0x3eebc7=_0x272a;super(),this[_0x3eebc7(0x1c9)]=_0x1a900a[_0x3eebc7(0x20b)]!==void 0x0?_0x1a900a[_0x3eebc7(0x20b)]:!0x0,this[_0x3eebc7(0x2fc)]=_0x1a900a[_0x3eebc7(0x1c6)]||_0x34c999[0x0],this['_extensions']=_0x1a900a['extensions']||{},this[_0x3eebc7(0x235)]=!!_0x1a900a[_0x3eebc7(0x1dd)],this[_0x3eebc7(0x1de)]=_0x1a900a['maxPayload']|0x0,this[_0x3eebc7(0x2be)]=!!_0x1a900a[_0x3eebc7(0x188)],this[_0x575937]=void 0x0,this[_0x3eebc7(0x2af)]=0x0,this[_0x3eebc7(0x2ca)]=[],this[_0x3eebc7(0x27a)]=!0x1,this[_0x3eebc7(0x158)]=0x0,this[_0x3eebc7(0x273)]=void 0x0,this[_0x3eebc7(0x1da)]=0x0,this[_0x3eebc7(0x1f7)]=!0x1,this[_0x3eebc7(0x239)]=!0x1,this[_0x3eebc7(0x279)]=0x0,this[_0x3eebc7(0x1aa)]=0x0,this['_messageLength']=0x0,this[_0x3eebc7(0x2e0)]=[],this[_0x3eebc7(0x22a)]=!0x1,this[_0x3eebc7(0x1a2)]=!0x1,this[_0x3eebc7(0x292)]=_0x42fe4a;}['_write'](_0x19a0d7,_0xd57b0d,_0x3bfa03){const _0x3fc4dc=_0x272a;if(this[_0x3fc4dc(0x279)]===0x8&&this['_state']==_0x42fe4a)return _0x3bfa03();this[_0x3fc4dc(0x2af)]+=_0x19a0d7[_0x3fc4dc(0x2c8)],this[_0x3fc4dc(0x2ca)][_0x3fc4dc(0x1c2)](_0x19a0d7),this[_0x3fc4dc(0x2d9)](_0x3bfa03);}[_0x164092(0x2b4)](_0x16fd81){const _0x1d96dc=_0x164092;if(this[_0x1d96dc(0x2af)]-=_0x16fd81,_0x16fd81===this['_buffers'][0x0][_0x1d96dc(0x2c8)])return this['_buffers']['shift']();if(_0x16fd81<this[_0x1d96dc(0x2ca)][0x0][_0x1d96dc(0x2c8)]){const _0x103886=this[_0x1d96dc(0x2ca)][0x0];return this[_0x1d96dc(0x2ca)][0x0]=new _0x5785d4(_0x103886[_0x1d96dc(0x19e)],_0x103886['byteOffset']+_0x16fd81,_0x103886[_0x1d96dc(0x2c8)]-_0x16fd81),new _0x5785d4(_0x103886['buffer'],_0x103886[_0x1d96dc(0x1fc)],_0x16fd81);}const _0x1f2884=Buffer[_0x1d96dc(0x200)](_0x16fd81);do{const _0x4213b8=this[_0x1d96dc(0x2ca)][0x0],_0x231e99=_0x1f2884[_0x1d96dc(0x2c8)]-_0x16fd81;_0x16fd81>=_0x4213b8[_0x1d96dc(0x2c8)]?_0x1f2884[_0x1d96dc(0x221)](this[_0x1d96dc(0x2ca)][_0x1d96dc(0x21b)](),_0x231e99):(_0x1f2884[_0x1d96dc(0x221)](new Uint8Array(_0x4213b8[_0x1d96dc(0x19e)],_0x4213b8[_0x1d96dc(0x1fc)],_0x16fd81),_0x231e99),this[_0x1d96dc(0x2ca)][0x0]=new _0x5785d4(_0x4213b8[_0x1d96dc(0x19e)],_0x4213b8[_0x1d96dc(0x1fc)]+_0x16fd81,_0x4213b8['length']-_0x16fd81)),_0x16fd81-=_0x4213b8[_0x1d96dc(0x2c8)];}while(_0x16fd81>0x0);return _0x1f2884;}[_0x164092(0x2d9)](_0x1f4ea7){const _0x203c4e=_0x164092;this[_0x203c4e(0x1a2)]=!0x0;do switch(this['_state']){case _0x42fe4a:this[_0x203c4e(0x243)](_0x1f4ea7);break;case _0x20c60d:this[_0x203c4e(0x1d2)](_0x1f4ea7);break;case _0x4c3287:this[_0x203c4e(0x1ff)](_0x1f4ea7);break;case _0x110c46:this[_0x203c4e(0x172)]();break;case _0x583ec8:this['getData'](_0x1f4ea7);break;case _0x152851:case _0x14ed00:this[_0x203c4e(0x1a2)]=!0x1;return;}while(this[_0x203c4e(0x1a2)]);this[_0x203c4e(0x22a)]||_0x1f4ea7();}[_0x164092(0x243)](_0x5008f7){const _0x50d961=_0x164092;if(this[_0x50d961(0x2af)]<0x2){this[_0x50d961(0x1a2)]=!0x1;return;}const _0x2b00f1=this['consume'](0x2);if((_0x2b00f1[0x0]&0x30)!==0x0){const _0x2dc41b=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x5008f7(_0x2dc41b);return;}const _0x38062f=(_0x2b00f1[0x0]&0x40)===0x40;if(_0x38062f&&!this[_0x50d961(0x222)][_0x17938f['extensionName']]){const _0x96917b=this['createError'](RangeError,_0x50d961(0x22b),!0x0,0x3ea,_0x50d961(0x24b));_0x5008f7(_0x96917b);return;}if(this['_fin']=(_0x2b00f1[0x0]&0x80)===0x80,this[_0x50d961(0x279)]=_0x2b00f1[0x0]&0xf,this['_payloadLength']=_0x2b00f1[0x1]&0x7f,this[_0x50d961(0x279)]===0x0){if(_0x38062f){const _0x5c1c2c=this[_0x50d961(0x219)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x50d961(0x24b));_0x5008f7(_0x5c1c2c);return;}if(!this['_fragmented']){const _0x50a8f1=this[_0x50d961(0x219)](RangeError,_0x50d961(0x19a),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5008f7(_0x50a8f1);return;}this[_0x50d961(0x279)]=this[_0x50d961(0x1da)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x1d42f7=this[_0x50d961(0x219)](RangeError,_0x50d961(0x159)+this[_0x50d961(0x279)],!0x0,0x3ea,_0x50d961(0x268));_0x5008f7(_0x1d42f7);return;}this[_0x50d961(0x27a)]=_0x38062f;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x50d961(0x239)]){const _0x4c7881=this['createError'](RangeError,_0x50d961(0x155),!0x0,0x3ea,_0x50d961(0x2b9));_0x5008f7(_0x4c7881);return;}if(_0x38062f){const _0x2792ab=this[_0x50d961(0x219)](RangeError,_0x50d961(0x22b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5008f7(_0x2792ab);return;}if(this[_0x50d961(0x158)]>0x7d||this['_opcode']===0x8&&this[_0x50d961(0x158)]===0x1){const _0x4f2147=this[_0x50d961(0x219)](RangeError,_0x50d961(0x2f2)+this['_payloadLength'],!0x0,0x3ea,_0x50d961(0x248));_0x5008f7(_0x4f2147);return;}}else{const _0x22fbef=this[_0x50d961(0x219)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x50d961(0x268));_0x5008f7(_0x22fbef);return;}}}if(!this[_0x50d961(0x239)]&&!this[_0x50d961(0x1da)]&&(this[_0x50d961(0x1da)]=this['_opcode']),this['_masked']=(_0x2b00f1[0x1]&0x80)===0x80,this[_0x50d961(0x235)]){if(!this['_masked']){const _0x2d06f2=this[_0x50d961(0x219)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x50d961(0x27d));_0x5008f7(_0x2d06f2);return;}}else{if(this[_0x50d961(0x1f7)]){const _0x189f4d=this[_0x50d961(0x219)](RangeError,_0x50d961(0x2b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5008f7(_0x189f4d);return;}}this[_0x50d961(0x158)]===0x7e?this[_0x50d961(0x292)]=_0x20c60d:this[_0x50d961(0x158)]===0x7f?this[_0x50d961(0x292)]=_0x4c3287:this[_0x50d961(0x167)](_0x5008f7);}[_0x164092(0x1d2)](_0x1214dd){const _0x37642d=_0x164092;if(this[_0x37642d(0x2af)]<0x2){this[_0x37642d(0x1a2)]=!0x1;return;}this[_0x37642d(0x158)]=this['consume'](0x2)[_0x37642d(0x1cd)](0x0),this['haveLength'](_0x1214dd);}[_0x164092(0x1ff)](_0x4c7b9f){const _0x42097e=_0x164092;if(this[_0x42097e(0x2af)]<0x8){this[_0x42097e(0x1a2)]=!0x1;return;}const _0xf53d1a=this[_0x42097e(0x2b4)](0x8),_0x206746=_0xf53d1a[_0x42097e(0x24d)](0x0);if(_0x206746>Math[_0x42097e(0x2b2)](0x2,0x15)-0x1){const _0x3c92c7=this[_0x42097e(0x219)](RangeError,_0x42097e(0x1e7),!0x1,0x3f1,_0x42097e(0x168));_0x4c7b9f(_0x3c92c7);return;}this[_0x42097e(0x158)]=_0x206746*Math['pow'](0x2,0x20)+_0xf53d1a[_0x42097e(0x24d)](0x4),this[_0x42097e(0x167)](_0x4c7b9f);}['haveLength'](_0x5bb6b2){const _0x3c5ff6=_0x164092;if(this[_0x3c5ff6(0x158)]&&this[_0x3c5ff6(0x279)]<0x8&&(this[_0x3c5ff6(0x1aa)]+=this[_0x3c5ff6(0x158)],this[_0x3c5ff6(0x1aa)]>this[_0x3c5ff6(0x1de)]&&this[_0x3c5ff6(0x1de)]>0x0)){const _0x186fd=this['createError'](RangeError,_0x3c5ff6(0x1bb),!0x1,0x3f1,_0x3c5ff6(0x23a));_0x5bb6b2(_0x186fd);return;}this['_masked']?this[_0x3c5ff6(0x292)]=_0x110c46:this[_0x3c5ff6(0x292)]=_0x583ec8;}[_0x164092(0x172)](){const _0x5bf39a=_0x164092;if(this['_bufferedBytes']<0x4){this[_0x5bf39a(0x1a2)]=!0x1;return;}this[_0x5bf39a(0x273)]=this[_0x5bf39a(0x2b4)](0x4),this[_0x5bf39a(0x292)]=_0x583ec8;}[_0x164092(0x28a)](_0x3d008a){const _0x1b2c81=_0x164092;let _0xfb556d=_0x37db19;if(this[_0x1b2c81(0x158)]){if(this[_0x1b2c81(0x2af)]<this[_0x1b2c81(0x158)]){this[_0x1b2c81(0x1a2)]=!0x1;return;}_0xfb556d=this['consume'](this[_0x1b2c81(0x158)]),this[_0x1b2c81(0x1f7)]&&(this['_mask'][0x0]|this[_0x1b2c81(0x273)][0x1]|this[_0x1b2c81(0x273)][0x2]|this['_mask'][0x3])!==0x0&&_0x51da64(_0xfb556d,this[_0x1b2c81(0x273)]);}if(this[_0x1b2c81(0x279)]>0x7){this[_0x1b2c81(0x249)](_0xfb556d,_0x3d008a);return;}if(this[_0x1b2c81(0x27a)]){this[_0x1b2c81(0x292)]=_0x152851,this[_0x1b2c81(0x289)](_0xfb556d,_0x3d008a);return;}_0xfb556d[_0x1b2c81(0x2c8)]&&(this['_messageLength']=this[_0x1b2c81(0x1aa)],this[_0x1b2c81(0x2e0)][_0x1b2c81(0x1c2)](_0xfb556d)),this[_0x1b2c81(0x18e)](_0x3d008a);}[_0x164092(0x289)](_0x1d0fa8,_0x1eee0c){const _0x5548e0=_0x164092;this['_extensions'][_0x17938f[_0x5548e0(0x228)]]['decompress'](_0x1d0fa8,this['_fin'],(_0x484164,_0x5cd350)=>{const _0x306b9b=_0x5548e0;if(_0x484164)return _0x1eee0c(_0x484164);if(_0x5cd350[_0x306b9b(0x2c8)]){if(this[_0x306b9b(0x22f)]+=_0x5cd350['length'],this[_0x306b9b(0x22f)]>this[_0x306b9b(0x1de)]&&this['_maxPayload']>0x0){const _0x1994aa=this[_0x306b9b(0x219)](RangeError,_0x306b9b(0x1bb),!0x1,0x3f1,_0x306b9b(0x23a));_0x1eee0c(_0x1994aa);return;}this[_0x306b9b(0x2e0)][_0x306b9b(0x1c2)](_0x5cd350);}this[_0x306b9b(0x18e)](_0x1eee0c),this[_0x306b9b(0x292)]===_0x42fe4a&&this[_0x306b9b(0x2d9)](_0x1eee0c);});}[_0x164092(0x18e)](_0x1d9e63){const _0x5ec8b3=_0x164092;if(!this[_0x5ec8b3(0x239)]){this[_0x5ec8b3(0x292)]=_0x42fe4a;return;}const _0x3682d2=this['_messageLength'],_0x51a0b9=this[_0x5ec8b3(0x2e0)];if(this[_0x5ec8b3(0x1aa)]=0x0,this['_messageLength']=0x0,this[_0x5ec8b3(0x1da)]=0x0,this['_fragments']=[],this[_0x5ec8b3(0x279)]===0x2){let _0x3e8983;this[_0x5ec8b3(0x2fc)]===_0x5ec8b3(0x1f4)?_0x3e8983=_0x465161(_0x51a0b9,_0x3682d2):this[_0x5ec8b3(0x2fc)]===_0x5ec8b3(0x214)?_0x3e8983=_0x5197d1(_0x465161(_0x51a0b9,_0x3682d2)):this[_0x5ec8b3(0x2fc)]===_0x5ec8b3(0x2c7)?_0x3e8983=new Blob(_0x51a0b9):_0x3e8983=_0x51a0b9,this['_allowSynchronousEvents']?(this[_0x5ec8b3(0x176)](_0x5ec8b3(0x287),_0x3e8983,!0x0),this[_0x5ec8b3(0x292)]=_0x42fe4a):(this[_0x5ec8b3(0x292)]=_0x14ed00,setImmediate(()=>{const _0x4d779c=_0x5ec8b3;this[_0x4d779c(0x176)](_0x4d779c(0x287),_0x3e8983,!0x0),this[_0x4d779c(0x292)]=_0x42fe4a,this[_0x4d779c(0x2d9)](_0x1d9e63);}));}else{const _0x2d410b=_0x465161(_0x51a0b9,_0x3682d2);if(!this['_skipUTF8Validation']&&!_0x5a1641(_0x2d410b)){const _0x442f0e=this[_0x5ec8b3(0x219)](Error,_0x5ec8b3(0x156),!0x0,0x3ef,_0x5ec8b3(0x1f9));_0x1d9e63(_0x442f0e);return;}this[_0x5ec8b3(0x292)]===_0x152851||this[_0x5ec8b3(0x1c9)]?(this[_0x5ec8b3(0x176)](_0x5ec8b3(0x287),_0x2d410b,!0x1),this[_0x5ec8b3(0x292)]=_0x42fe4a):(this[_0x5ec8b3(0x292)]=_0x14ed00,setImmediate(()=>{const _0x1f38e8=_0x5ec8b3;this[_0x1f38e8(0x176)](_0x1f38e8(0x287),_0x2d410b,!0x1),this[_0x1f38e8(0x292)]=_0x42fe4a,this['startLoop'](_0x1d9e63);}));}}[_0x164092(0x249)](_0x1313b1,_0xfb5572){const _0x4f2549=_0x164092;if(this[_0x4f2549(0x279)]===0x8){if(_0x1313b1[_0x4f2549(0x2c8)]===0x0)this['_loop']=!0x1,this['emit'](_0x4f2549(0x20a),0x3ed,_0x37db19),this[_0x4f2549(0x270)]();else{const _0x66a84b=_0x1313b1[_0x4f2549(0x1cd)](0x0);if(!_0x22f87c(_0x66a84b)){const _0xa1a746=this[_0x4f2549(0x219)](RangeError,_0x4f2549(0x29a)+_0x66a84b,!0x0,0x3ea,_0x4f2549(0x29b));_0xfb5572(_0xa1a746);return;}const _0x497325=new _0x5785d4(_0x1313b1[_0x4f2549(0x19e)],_0x1313b1[_0x4f2549(0x1fc)]+0x2,_0x1313b1['length']-0x2);if(!this[_0x4f2549(0x2be)]&&!_0x5a1641(_0x497325)){const _0x51ed0a=this['createError'](Error,_0x4f2549(0x156),!0x0,0x3ef,_0x4f2549(0x1f9));_0xfb5572(_0x51ed0a);return;}this[_0x4f2549(0x1a2)]=!0x1,this[_0x4f2549(0x176)]('conclude',_0x66a84b,_0x497325),this[_0x4f2549(0x270)]();}this[_0x4f2549(0x292)]=_0x42fe4a;return;}this[_0x4f2549(0x1c9)]?(this[_0x4f2549(0x176)](this['_opcode']===0x9?_0x4f2549(0x191):_0x4f2549(0x25b),_0x1313b1),this['_state']=_0x42fe4a):(this[_0x4f2549(0x292)]=_0x14ed00,setImmediate(()=>{const _0x350b50=_0x4f2549;this['emit'](this[_0x350b50(0x279)]===0x9?_0x350b50(0x191):'pong',_0x1313b1),this[_0x350b50(0x292)]=_0x42fe4a,this['startLoop'](_0xfb5572);}));}[_0x164092(0x219)](_0x22f01e,_0x534ac9,_0x1983d3,_0xb590f2,_0x14ca78){const _0x3864a2=_0x164092;this[_0x3864a2(0x1a2)]=!0x1,this[_0x3864a2(0x22a)]=!0x0;const _0x5630b6=new _0x22f01e(_0x1983d3?_0x3864a2(0x1e6)+_0x534ac9:_0x534ac9);return Error[_0x3864a2(0x278)](_0x5630b6,this[_0x3864a2(0x219)]),_0x5630b6[_0x3864a2(0x174)]=_0x14ca78,_0x5630b6[_0x4a323d]=_0xb590f2,_0x5630b6;}}return Se=_0x38eda0,Se;}var Ee,et;function _t(){const _0x1b02dd=_0x40afb0;if(et)return Ee;et=0x1;const {Duplex:_0x38b4b7}=_0x5cc59f,{randomFillSync:_0x12f5dd}=_0x2cb503,_0x1c825a=he(),{EMPTY_BUFFER:_0x17d05a,kWebSocket:_0x484434,NOOP:_0x18cdc3}=V(),{isBlob:_0x2b1e25,isValidStatusCode:_0x1f35a3}=ne(),{mask:_0xe9cb75,toBuffer:_0x3fc970}=ce(),_0x4c6f5b=Symbol('kByteLength'),_0x58632e=Buffer['alloc'](0x4),_0x328227=0x8*0x400;let _0x4f0722,_0xb0d9e9=_0x328227;const _0x1d1386=0x0,_0x46dff9=0x1,_0x4106a3=0x2;class _0x1d9c14{constructor(_0x3fd002,_0x430022,_0x49daff){const _0x381a62=_0x272a;this[_0x381a62(0x222)]=_0x430022||{},_0x49daff&&(this[_0x381a62(0x27c)]=_0x49daff,this[_0x381a62(0x2f1)]=Buffer[_0x381a62(0x285)](0x4)),this[_0x381a62(0x242)]=_0x3fd002,this[_0x381a62(0x220)]=!0x0,this[_0x381a62(0x2cb)]=!0x1,this[_0x381a62(0x2af)]=0x0,this[_0x381a62(0x23d)]=[],this[_0x381a62(0x292)]=_0x1d1386,this[_0x381a62(0x1ca)]=_0x18cdc3,this[_0x484434]=void 0x0;}static['frame'](_0xe613a5,_0x20528c){const _0x447686=_0x272a;let _0x3e8bfb,_0x3de2a5=!0x1,_0x54726b=0x2,_0x47bf4a=!0x1;_0x20528c['mask']&&(_0x3e8bfb=_0x20528c[_0x447686(0x1a7)]||_0x58632e,_0x20528c[_0x447686(0x205)]?_0x20528c['generateMask'](_0x3e8bfb):(_0xb0d9e9===_0x328227&&(_0x4f0722===void 0x0&&(_0x4f0722=Buffer[_0x447686(0x285)](_0x328227)),_0x12f5dd(_0x4f0722,0x0,_0x328227),_0xb0d9e9=0x0),_0x3e8bfb[0x0]=_0x4f0722[_0xb0d9e9++],_0x3e8bfb[0x1]=_0x4f0722[_0xb0d9e9++],_0x3e8bfb[0x2]=_0x4f0722[_0xb0d9e9++],_0x3e8bfb[0x3]=_0x4f0722[_0xb0d9e9++]),_0x47bf4a=(_0x3e8bfb[0x0]|_0x3e8bfb[0x1]|_0x3e8bfb[0x2]|_0x3e8bfb[0x3])===0x0,_0x54726b=0x6);let _0x17f451;typeof _0xe613a5==_0x447686(0x2ef)?(!_0x20528c[_0x447686(0x210)]||_0x47bf4a)&&_0x20528c[_0x4c6f5b]!==void 0x0?_0x17f451=_0x20528c[_0x4c6f5b]:(_0xe613a5=Buffer[_0x447686(0x251)](_0xe613a5),_0x17f451=_0xe613a5[_0x447686(0x2c8)]):(_0x17f451=_0xe613a5[_0x447686(0x2c8)],_0x3de2a5=_0x20528c[_0x447686(0x210)]&&_0x20528c[_0x447686(0x1d0)]&&!_0x47bf4a);let _0x65cf96=_0x17f451;_0x17f451>=0x10000?(_0x54726b+=0x8,_0x65cf96=0x7f):_0x17f451>0x7d&&(_0x54726b+=0x2,_0x65cf96=0x7e);const _0x572489=Buffer[_0x447686(0x200)](_0x3de2a5?_0x17f451+_0x54726b:_0x54726b);return _0x572489[0x0]=_0x20528c[_0x447686(0x2f8)]?_0x20528c[_0x447686(0x286)]|0x80:_0x20528c[_0x447686(0x286)],_0x20528c[_0x447686(0x164)]&&(_0x572489[0x0]|=0x40),_0x572489[0x1]=_0x65cf96,_0x65cf96===0x7e?_0x572489['writeUInt16BE'](_0x17f451,0x2):_0x65cf96===0x7f&&(_0x572489[0x2]=_0x572489[0x3]=0x0,_0x572489['writeUIntBE'](_0x17f451,0x4,0x6)),_0x20528c[_0x447686(0x210)]?(_0x572489[0x1]|=0x80,_0x572489[_0x54726b-0x4]=_0x3e8bfb[0x0],_0x572489[_0x54726b-0x3]=_0x3e8bfb[0x1],_0x572489[_0x54726b-0x2]=_0x3e8bfb[0x2],_0x572489[_0x54726b-0x1]=_0x3e8bfb[0x3],_0x47bf4a?[_0x572489,_0xe613a5]:_0x3de2a5?(_0xe9cb75(_0xe613a5,_0x3e8bfb,_0x572489,_0x54726b,_0x17f451),[_0x572489]):(_0xe9cb75(_0xe613a5,_0x3e8bfb,_0xe613a5,0x0,_0x17f451),[_0x572489,_0xe613a5])):[_0x572489,_0xe613a5];}[_0x1b02dd(0x256)](_0x1952f3,_0x3347ea,_0x42a28d,_0xefe720){const _0x4cd9f8=_0x1b02dd;let _0xe96760;if(_0x1952f3===void 0x0)_0xe96760=_0x17d05a;else{if(typeof _0x1952f3!=_0x4cd9f8(0x2b3)||!_0x1f35a3(_0x1952f3))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x3347ea===void 0x0||!_0x3347ea[_0x4cd9f8(0x2c8)])_0xe96760=Buffer[_0x4cd9f8(0x200)](0x2),_0xe96760[_0x4cd9f8(0x255)](_0x1952f3,0x0);else{const _0x3a9371=Buffer[_0x4cd9f8(0x1c4)](_0x3347ea);if(_0x3a9371>0x7b)throw new RangeError(_0x4cd9f8(0x26d));_0xe96760=Buffer[_0x4cd9f8(0x200)](0x2+_0x3a9371),_0xe96760[_0x4cd9f8(0x255)](_0x1952f3,0x0),typeof _0x3347ea==_0x4cd9f8(0x2ef)?_0xe96760['write'](_0x3347ea,0x2):_0xe96760['set'](_0x3347ea,0x2);}}const _0x257bdf={[_0x4c6f5b]:_0xe96760[_0x4cd9f8(0x2c8)],'fin':!0x0,'generateMask':this[_0x4cd9f8(0x27c)],'mask':_0x42a28d,'maskBuffer':this[_0x4cd9f8(0x2f1)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4cd9f8(0x292)]!==_0x1d1386?this[_0x4cd9f8(0x2e1)]([this['dispatch'],_0xe96760,!0x1,_0x257bdf,_0xefe720]):this[_0x4cd9f8(0x238)](_0x1d9c14[_0x4cd9f8(0x1ab)](_0xe96760,_0x257bdf),_0xefe720);}[_0x1b02dd(0x191)](_0x434390,_0x36d4e8,_0x94d14a){const _0x421907=_0x1b02dd;let _0x3b7ffd,_0x10e7a9;if(typeof _0x434390==_0x421907(0x2ef)?(_0x3b7ffd=Buffer[_0x421907(0x1c4)](_0x434390),_0x10e7a9=!0x1):_0x2b1e25(_0x434390)?(_0x3b7ffd=_0x434390['size'],_0x10e7a9=!0x1):(_0x434390=_0x3fc970(_0x434390),_0x3b7ffd=_0x434390[_0x421907(0x2c8)],_0x10e7a9=_0x3fc970['readOnly']),_0x3b7ffd>0x7d)throw new RangeError(_0x421907(0x2df));const _0x47d1c8={[_0x4c6f5b]:_0x3b7ffd,'fin':!0x0,'generateMask':this[_0x421907(0x27c)],'mask':_0x36d4e8,'maskBuffer':this[_0x421907(0x2f1)],'opcode':0x9,'readOnly':_0x10e7a9,'rsv1':!0x1};_0x2b1e25(_0x434390)?this['_state']!==_0x1d1386?this['enqueue']([this[_0x421907(0x1f0)],_0x434390,!0x1,_0x47d1c8,_0x94d14a]):this[_0x421907(0x1f0)](_0x434390,!0x1,_0x47d1c8,_0x94d14a):this[_0x421907(0x292)]!==_0x1d1386?this[_0x421907(0x2e1)]([this[_0x421907(0x1c1)],_0x434390,!0x1,_0x47d1c8,_0x94d14a]):this['sendFrame'](_0x1d9c14[_0x421907(0x1ab)](_0x434390,_0x47d1c8),_0x94d14a);}['pong'](_0x34ebd5,_0x4b0efc,_0x4d2a4b){const _0x3f045f=_0x1b02dd;let _0x837f84,_0x4966f3;if(typeof _0x34ebd5=='string'?(_0x837f84=Buffer['byteLength'](_0x34ebd5),_0x4966f3=!0x1):_0x2b1e25(_0x34ebd5)?(_0x837f84=_0x34ebd5[_0x3f045f(0x1b5)],_0x4966f3=!0x1):(_0x34ebd5=_0x3fc970(_0x34ebd5),_0x837f84=_0x34ebd5[_0x3f045f(0x2c8)],_0x4966f3=_0x3fc970[_0x3f045f(0x1d0)]),_0x837f84>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3299bb={[_0x4c6f5b]:_0x837f84,'fin':!0x0,'generateMask':this[_0x3f045f(0x27c)],'mask':_0x4b0efc,'maskBuffer':this[_0x3f045f(0x2f1)],'opcode':0xa,'readOnly':_0x4966f3,'rsv1':!0x1};_0x2b1e25(_0x34ebd5)?this[_0x3f045f(0x292)]!==_0x1d1386?this['enqueue']([this[_0x3f045f(0x1f0)],_0x34ebd5,!0x1,_0x3299bb,_0x4d2a4b]):this[_0x3f045f(0x1f0)](_0x34ebd5,!0x1,_0x3299bb,_0x4d2a4b):this[_0x3f045f(0x292)]!==_0x1d1386?this[_0x3f045f(0x2e1)]([this[_0x3f045f(0x1c1)],_0x34ebd5,!0x1,_0x3299bb,_0x4d2a4b]):this[_0x3f045f(0x238)](_0x1d9c14[_0x3f045f(0x1ab)](_0x34ebd5,_0x3299bb),_0x4d2a4b);}[_0x1b02dd(0x2fb)](_0x5b4546,_0x63beb8,_0x350b27){const _0x525a7=_0x1b02dd,_0x34396e=this[_0x525a7(0x222)][_0x1c825a['extensionName']];let _0x289a32=_0x63beb8[_0x525a7(0x1c0)]?0x2:0x1,_0x28527a=_0x63beb8[_0x525a7(0x1a6)],_0xa74e55,_0x51e676;typeof _0x5b4546==_0x525a7(0x2ef)?(_0xa74e55=Buffer[_0x525a7(0x1c4)](_0x5b4546),_0x51e676=!0x1):_0x2b1e25(_0x5b4546)?(_0xa74e55=_0x5b4546[_0x525a7(0x1b5)],_0x51e676=!0x1):(_0x5b4546=_0x3fc970(_0x5b4546),_0xa74e55=_0x5b4546['length'],_0x51e676=_0x3fc970[_0x525a7(0x1d0)]),this[_0x525a7(0x220)]?(this[_0x525a7(0x220)]=!0x1,_0x28527a&&_0x34396e&&_0x34396e[_0x525a7(0x2c6)][_0x34396e[_0x525a7(0x235)]?_0x525a7(0x1bf):_0x525a7(0x23f)]&&(_0x28527a=_0xa74e55>=_0x34396e[_0x525a7(0x25a)]),this['_compress']=_0x28527a):(_0x28527a=!0x1,_0x289a32=0x0),_0x63beb8[_0x525a7(0x2f8)]&&(this[_0x525a7(0x220)]=!0x0);const _0x151b63={[_0x4c6f5b]:_0xa74e55,'fin':_0x63beb8['fin'],'generateMask':this[_0x525a7(0x27c)],'mask':_0x63beb8['mask'],'maskBuffer':this[_0x525a7(0x2f1)],'opcode':_0x289a32,'readOnly':_0x51e676,'rsv1':_0x28527a};_0x2b1e25(_0x5b4546)?this[_0x525a7(0x292)]!==_0x1d1386?this['enqueue']([this['getBlobData'],_0x5b4546,this[_0x525a7(0x2cb)],_0x151b63,_0x350b27]):this[_0x525a7(0x1f0)](_0x5b4546,this['_compress'],_0x151b63,_0x350b27):this[_0x525a7(0x292)]!==_0x1d1386?this[_0x525a7(0x2e1)]([this[_0x525a7(0x1c1)],_0x5b4546,this['_compress'],_0x151b63,_0x350b27]):this[_0x525a7(0x1c1)](_0x5b4546,this[_0x525a7(0x2cb)],_0x151b63,_0x350b27);}[_0x1b02dd(0x1f0)](_0x12d1f7,_0x2c3229,_0x2b5374,_0x288943){const _0x492d9e=_0x1b02dd;this['_bufferedBytes']+=_0x2b5374[_0x4c6f5b],this[_0x492d9e(0x292)]=_0x4106a3,_0x12d1f7[_0x492d9e(0x1f1)]()[_0x492d9e(0x16c)](_0x43c805=>{const _0x4593c2=_0x492d9e;if(this['_socket'][_0x4593c2(0x184)]){const _0x57ea3b=new Error(_0x4593c2(0x15c));process[_0x4593c2(0x2a1)](_0x5da293,this,_0x57ea3b,_0x288943);return;}this['_bufferedBytes']-=_0x2b5374[_0x4c6f5b];const _0x6eb29f=_0x3fc970(_0x43c805);_0x2c3229?this[_0x4593c2(0x1c1)](_0x6eb29f,_0x2c3229,_0x2b5374,_0x288943):(this['_state']=_0x1d1386,this[_0x4593c2(0x238)](_0x1d9c14[_0x4593c2(0x1ab)](_0x6eb29f,_0x2b5374),_0x288943),this['dequeue']());})[_0x492d9e(0x2fd)](_0x1b44b5=>{const _0x2e8fd6=_0x492d9e;process[_0x2e8fd6(0x2a1)](_0x27bd94,this,_0x1b44b5,_0x288943);});}['dispatch'](_0x4f13c2,_0x1b2e81,_0x15073a,_0x5a6dc){const _0x973875=_0x1b02dd;if(!_0x1b2e81){this[_0x973875(0x238)](_0x1d9c14[_0x973875(0x1ab)](_0x4f13c2,_0x15073a),_0x5a6dc);return;}const _0xb68d05=this[_0x973875(0x222)][_0x1c825a['extensionName']];this['_bufferedBytes']+=_0x15073a[_0x4c6f5b],this[_0x973875(0x292)]=_0x46dff9,_0xb68d05[_0x973875(0x1a6)](_0x4f13c2,_0x15073a[_0x973875(0x2f8)],(_0x101890,_0x206cfe)=>{const _0x336243=_0x973875;if(this[_0x336243(0x242)][_0x336243(0x184)]){const _0x28f6a9=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5da293(this,_0x28f6a9,_0x5a6dc);return;}this[_0x336243(0x2af)]-=_0x15073a[_0x4c6f5b],this[_0x336243(0x292)]=_0x1d1386,_0x15073a[_0x336243(0x1d0)]=!0x1,this[_0x336243(0x238)](_0x1d9c14['frame'](_0x206cfe,_0x15073a),_0x5a6dc),this[_0x336243(0x303)]();});}[_0x1b02dd(0x303)](){const _0x40d225=_0x1b02dd;for(;this['_state']===_0x1d1386&&this['_queue']['length'];){const _0x1141d3=this[_0x40d225(0x23d)][_0x40d225(0x21b)]();this['_bufferedBytes']-=_0x1141d3[0x3][_0x4c6f5b],Reflect[_0x40d225(0x1ae)](_0x1141d3[0x0],this,_0x1141d3[_0x40d225(0x232)](0x1));}}[_0x1b02dd(0x2e1)](_0x2eda5a){const _0x16d0e0=_0x1b02dd;this[_0x16d0e0(0x2af)]+=_0x2eda5a[0x3][_0x4c6f5b],this[_0x16d0e0(0x23d)][_0x16d0e0(0x1c2)](_0x2eda5a);}[_0x1b02dd(0x238)](_0x19d329,_0x4de314){const _0x39b26a=_0x1b02dd;_0x19d329[_0x39b26a(0x2c8)]===0x2?(this[_0x39b26a(0x242)][_0x39b26a(0x25d)](),this[_0x39b26a(0x242)][_0x39b26a(0x2a3)](_0x19d329[0x0]),this['_socket'][_0x39b26a(0x2a3)](_0x19d329[0x1],_0x4de314),this[_0x39b26a(0x242)]['uncork']()):this[_0x39b26a(0x242)][_0x39b26a(0x2a3)](_0x19d329[0x0],_0x4de314);}}Ee=_0x1d9c14;function _0x5da293(_0x487cdc,_0x2f736b,_0x4aaf0e){const _0x495b0d=_0x1b02dd;typeof _0x4aaf0e==_0x495b0d(0x2fe)&&_0x4aaf0e(_0x2f736b);for(let _0x25c0f2=0x0;_0x25c0f2<_0x487cdc[_0x495b0d(0x23d)][_0x495b0d(0x2c8)];_0x25c0f2++){const _0x17c71d=_0x487cdc[_0x495b0d(0x23d)][_0x25c0f2],_0x3b8f8d=_0x17c71d[_0x17c71d[_0x495b0d(0x2c8)]-0x1];typeof _0x3b8f8d==_0x495b0d(0x2fe)&&_0x3b8f8d(_0x2f736b);}}function _0x27bd94(_0x50eeb1,_0x13d531,_0x187a97){_0x5da293(_0x50eeb1,_0x13d531,_0x187a97),_0x50eeb1['onerror'](_0x13d531);}return Ee;}var xe,tt;function Kt(){const _0x249c62=_0x40afb0;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x26564d,kListener:_0x1e5f36}=V(),_0xacec1c=Symbol('kCode'),_0x532ce3=Symbol(_0x249c62(0x26e)),_0x2504e3=Symbol(_0x249c62(0x259)),_0x18b459=Symbol(_0x249c62(0x1c5)),_0x2e6e3f=Symbol(_0x249c62(0x187)),_0x3955c8=Symbol(_0x249c62(0x2e7)),_0x5979f8=Symbol(_0x249c62(0x246)),_0x24da2d=Symbol(_0x249c62(0x226));class _0x26f371{constructor(_0x38277e){this[_0x3955c8]=null,this[_0x5979f8]=_0x38277e;}get[_0x249c62(0x1d9)](){return this[_0x3955c8];}get[_0x249c62(0x245)](){return this[_0x5979f8];}}Object['defineProperty'](_0x26f371[_0x249c62(0x1c8)],_0x249c62(0x1d9),{'enumerable':!0x0}),Object[_0x249c62(0x165)](_0x26f371['prototype'],'type',{'enumerable':!0x0});class _0x31bcba extends _0x26f371{constructor(_0x28bdbd,_0x407194={}){const _0x5f1cbd=_0x249c62;super(_0x28bdbd),this[_0xacec1c]=_0x407194[_0x5f1cbd(0x174)]===void 0x0?0x0:_0x407194[_0x5f1cbd(0x174)],this[_0x2e6e3f]=_0x407194[_0x5f1cbd(0x28f)]===void 0x0?'':_0x407194[_0x5f1cbd(0x28f)],this[_0x24da2d]=_0x407194[_0x5f1cbd(0x1fe)]===void 0x0?!0x1:_0x407194[_0x5f1cbd(0x1fe)];}get['code'](){return this[_0xacec1c];}get[_0x249c62(0x28f)](){return this[_0x2e6e3f];}get[_0x249c62(0x1fe)](){return this[_0x24da2d];}}Object[_0x249c62(0x165)](_0x31bcba['prototype'],'code',{'enumerable':!0x0}),Object[_0x249c62(0x165)](_0x31bcba['prototype'],_0x249c62(0x28f),{'enumerable':!0x0}),Object['defineProperty'](_0x31bcba[_0x249c62(0x1c8)],_0x249c62(0x1fe),{'enumerable':!0x0});class _0xfa15ab extends _0x26f371{constructor(_0x1eb09f,_0x499c7d={}){const _0x1536e0=_0x249c62;super(_0x1eb09f),this[_0x2504e3]=_0x499c7d['error']===void 0x0?null:_0x499c7d['error'],this[_0x18b459]=_0x499c7d[_0x1536e0(0x287)]===void 0x0?'':_0x499c7d['message'];}get[_0x249c62(0x260)](){return this[_0x2504e3];}get[_0x249c62(0x287)](){return this[_0x18b459];}}Object[_0x249c62(0x165)](_0xfa15ab[_0x249c62(0x1c8)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0xfa15ab[_0x249c62(0x1c8)],_0x249c62(0x287),{'enumerable':!0x0});class _0x467963 extends _0x26f371{constructor(_0x499504,_0x1d234c={}){const _0x53d1e4=_0x249c62;super(_0x499504),this[_0x532ce3]=_0x1d234c[_0x53d1e4(0x1eb)]===void 0x0?null:_0x1d234c[_0x53d1e4(0x1eb)];}get[_0x249c62(0x1eb)](){return this[_0x532ce3];}}Object[_0x249c62(0x165)](_0x467963[_0x249c62(0x1c8)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x31bcba,'ErrorEvent':_0xfa15ab,'Event':_0x26f371,'EventTarget':{'addEventListener'(_0x2f3112,_0x4773cf,_0x236d9a={}){const _0x46715d=_0x249c62;for(const _0x35ae45 of this[_0x46715d(0x24f)](_0x2f3112))if(!_0x236d9a[_0x26564d]&&_0x35ae45[_0x1e5f36]===_0x4773cf&&!_0x35ae45[_0x26564d])return;let _0x11ab8b;if(_0x2f3112===_0x46715d(0x287))_0x11ab8b=function(_0x2e12b9,_0x4bec6c){const _0x141b6b=_0x46715d,_0x16c1a4=new _0x467963(_0x141b6b(0x287),{'data':_0x4bec6c?_0x2e12b9:_0x2e12b9['toString']()});_0x16c1a4[_0x3955c8]=this,_0x498e90(_0x4773cf,this,_0x16c1a4);};else{if(_0x2f3112==='close')_0x11ab8b=function(_0x2f0a02,_0x2ff199){const _0x2d3d5a=_0x46715d,_0x2b32a5=new _0x31bcba(_0x2d3d5a(0x256),{'code':_0x2f0a02,'reason':_0x2ff199[_0x2d3d5a(0x2b7)](),'wasClean':this['_closeFrameReceived']&&this[_0x2d3d5a(0x153)]});_0x2b32a5[_0x3955c8]=this,_0x498e90(_0x4773cf,this,_0x2b32a5);};else{if(_0x2f3112===_0x46715d(0x260))_0x11ab8b=function(_0x20c31c){const _0x49805f=_0x46715d,_0x30ba6d=new _0xfa15ab(_0x49805f(0x260),{'error':_0x20c31c,'message':_0x20c31c['message']});_0x30ba6d[_0x3955c8]=this,_0x498e90(_0x4773cf,this,_0x30ba6d);};else{if(_0x2f3112===_0x46715d(0x272))_0x11ab8b=function(){const _0x46cd70=_0x46715d,_0x3e69e2=new _0x26f371(_0x46cd70(0x272));_0x3e69e2[_0x3955c8]=this,_0x498e90(_0x4773cf,this,_0x3e69e2);};else return;}}}_0x11ab8b[_0x26564d]=!!_0x236d9a[_0x26564d],_0x11ab8b[_0x1e5f36]=_0x4773cf,_0x236d9a[_0x46715d(0x1ed)]?this[_0x46715d(0x1ed)](_0x2f3112,_0x11ab8b):this['on'](_0x2f3112,_0x11ab8b);},'removeEventListener'(_0xa2664d,_0x548c6b){const _0x56e451=_0x249c62;for(const _0x1f0285 of this[_0x56e451(0x24f)](_0xa2664d))if(_0x1f0285[_0x1e5f36]===_0x548c6b&&!_0x1f0285[_0x26564d]){this['removeListener'](_0xa2664d,_0x1f0285);break;}}},'MessageEvent':_0x467963};function _0x498e90(_0x141622,_0x30f02c,_0xc34025){const _0x1573f3=_0x249c62;typeof _0x141622=='object'&&_0x141622[_0x1573f3(0x195)]?_0x141622['handleEvent'][_0x1573f3(0x2fa)](_0x141622,_0xc34025):_0x141622[_0x1573f3(0x2fa)](_0x30f02c,_0xc34025);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xfaaf04}=ne();function _0x13ad25(_0x3910c2,_0xb6ea74,_0xcd5d3b){const _0x3bca46=_0x272a;_0x3910c2[_0xb6ea74]===void 0x0?_0x3910c2[_0xb6ea74]=[_0xcd5d3b]:_0x3910c2[_0xb6ea74][_0x3bca46(0x1c2)](_0xcd5d3b);}function _0x11b7e3(_0x1fc275){const _0x57b1f7=_0x272a,_0x4f4427=Object[_0x57b1f7(0x166)](null);let _0x31aeee=Object['create'](null),_0x24991e=!0x1,_0x59b843=!0x1,_0x4206d8=!0x1,_0x57a61b,_0x1228c3,_0x4d055e=-0x1,_0x3efdb4=-0x1,_0x1c3452=-0x1,_0x1b2e14=0x0;for(;_0x1b2e14<_0x1fc275[_0x57b1f7(0x2c8)];_0x1b2e14++)if(_0x3efdb4=_0x1fc275['charCodeAt'](_0x1b2e14),_0x57a61b===void 0x0){if(_0x1c3452===-0x1&&_0xfaaf04[_0x3efdb4]===0x1)_0x4d055e===-0x1&&(_0x4d055e=_0x1b2e14);else{if(_0x1b2e14!==0x0&&(_0x3efdb4===0x20||_0x3efdb4===0x9))_0x1c3452===-0x1&&_0x4d055e!==-0x1&&(_0x1c3452=_0x1b2e14);else{if(_0x3efdb4===0x3b||_0x3efdb4===0x2c){if(_0x4d055e===-0x1)throw new SyntaxError(_0x57b1f7(0x2b5)+_0x1b2e14);_0x1c3452===-0x1&&(_0x1c3452=_0x1b2e14);const _0x442c33=_0x1fc275['slice'](_0x4d055e,_0x1c3452);_0x3efdb4===0x2c?(_0x13ad25(_0x4f4427,_0x442c33,_0x31aeee),_0x31aeee=Object[_0x57b1f7(0x166)](null)):_0x57a61b=_0x442c33,_0x4d055e=_0x1c3452=-0x1;}else throw new SyntaxError(_0x57b1f7(0x2b5)+_0x1b2e14);}}}else{if(_0x1228c3===void 0x0){if(_0x1c3452===-0x1&&_0xfaaf04[_0x3efdb4]===0x1)_0x4d055e===-0x1&&(_0x4d055e=_0x1b2e14);else{if(_0x3efdb4===0x20||_0x3efdb4===0x9)_0x1c3452===-0x1&&_0x4d055e!==-0x1&&(_0x1c3452=_0x1b2e14);else{if(_0x3efdb4===0x3b||_0x3efdb4===0x2c){if(_0x4d055e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b2e14);_0x1c3452===-0x1&&(_0x1c3452=_0x1b2e14),_0x13ad25(_0x31aeee,_0x1fc275[_0x57b1f7(0x232)](_0x4d055e,_0x1c3452),!0x0),_0x3efdb4===0x2c&&(_0x13ad25(_0x4f4427,_0x57a61b,_0x31aeee),_0x31aeee=Object['create'](null),_0x57a61b=void 0x0),_0x4d055e=_0x1c3452=-0x1;}else{if(_0x3efdb4===0x3d&&_0x4d055e!==-0x1&&_0x1c3452===-0x1)_0x1228c3=_0x1fc275[_0x57b1f7(0x232)](_0x4d055e,_0x1b2e14),_0x4d055e=_0x1c3452=-0x1;else throw new SyntaxError(_0x57b1f7(0x2b5)+_0x1b2e14);}}}}else{if(_0x59b843){if(_0xfaaf04[_0x3efdb4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b2e14);_0x4d055e===-0x1?_0x4d055e=_0x1b2e14:_0x24991e||(_0x24991e=!0x0),_0x59b843=!0x1;}else{if(_0x4206d8){if(_0xfaaf04[_0x3efdb4]===0x1)_0x4d055e===-0x1&&(_0x4d055e=_0x1b2e14);else{if(_0x3efdb4===0x22&&_0x4d055e!==-0x1)_0x4206d8=!0x1,_0x1c3452=_0x1b2e14;else{if(_0x3efdb4===0x5c)_0x59b843=!0x0;else throw new SyntaxError(_0x57b1f7(0x2b5)+_0x1b2e14);}}}else{if(_0x3efdb4===0x22&&_0x1fc275['charCodeAt'](_0x1b2e14-0x1)===0x3d)_0x4206d8=!0x0;else{if(_0x1c3452===-0x1&&_0xfaaf04[_0x3efdb4]===0x1)_0x4d055e===-0x1&&(_0x4d055e=_0x1b2e14);else{if(_0x4d055e!==-0x1&&(_0x3efdb4===0x20||_0x3efdb4===0x9))_0x1c3452===-0x1&&(_0x1c3452=_0x1b2e14);else{if(_0x3efdb4===0x3b||_0x3efdb4===0x2c){if(_0x4d055e===-0x1)throw new SyntaxError(_0x57b1f7(0x2b5)+_0x1b2e14);_0x1c3452===-0x1&&(_0x1c3452=_0x1b2e14);let _0x75c7dc=_0x1fc275[_0x57b1f7(0x232)](_0x4d055e,_0x1c3452);_0x24991e&&(_0x75c7dc=_0x75c7dc[_0x57b1f7(0x1e8)](/\\/g,''),_0x24991e=!0x1),_0x13ad25(_0x31aeee,_0x1228c3,_0x75c7dc),_0x3efdb4===0x2c&&(_0x13ad25(_0x4f4427,_0x57a61b,_0x31aeee),_0x31aeee=Object['create'](null),_0x57a61b=void 0x0),_0x1228c3=void 0x0,_0x4d055e=_0x1c3452=-0x1;}else throw new SyntaxError(_0x57b1f7(0x2b5)+_0x1b2e14);}}}}}}}if(_0x4d055e===-0x1||_0x4206d8||_0x3efdb4===0x20||_0x3efdb4===0x9)throw new SyntaxError(_0x57b1f7(0x23e));_0x1c3452===-0x1&&(_0x1c3452=_0x1b2e14);const _0x3c04b4=_0x1fc275[_0x57b1f7(0x232)](_0x4d055e,_0x1c3452);return _0x57a61b===void 0x0?_0x13ad25(_0x4f4427,_0x3c04b4,_0x31aeee):(_0x1228c3===void 0x0?_0x13ad25(_0x31aeee,_0x3c04b4,!0x0):_0x24991e?_0x13ad25(_0x31aeee,_0x1228c3,_0x3c04b4[_0x57b1f7(0x1e8)](/\\/g,'')):_0x13ad25(_0x31aeee,_0x1228c3,_0x3c04b4),_0x13ad25(_0x4f4427,_0x57a61b,_0x31aeee)),_0x4f4427;}function _0x2c03e4(_0x3e7ad6){const _0x49003c=_0x272a;return Object[_0x49003c(0x282)](_0x3e7ad6)['map'](_0x33e3e8=>{const _0x49f7d1=_0x49003c;let _0x8d6087=_0x3e7ad6[_0x33e3e8];return Array['isArray'](_0x8d6087)||(_0x8d6087=[_0x8d6087]),_0x8d6087[_0x49f7d1(0x208)](_0x56cc91=>[_0x33e3e8][_0x49f7d1(0x163)](Object[_0x49f7d1(0x282)](_0x56cc91)[_0x49f7d1(0x208)](_0x243959=>{const _0xa3a87d=_0x49f7d1;let _0x5e9b67=_0x56cc91[_0x243959];return Array[_0xa3a87d(0x1e9)](_0x5e9b67)||(_0x5e9b67=[_0x5e9b67]),_0x5e9b67[_0xa3a87d(0x208)](_0x4705ca=>_0x4705ca===!0x0?_0x243959:_0x243959+'='+_0x4705ca)[_0xa3a87d(0x284)](';\x20');}))[_0x49f7d1(0x284)](';\x20'))[_0x49f7d1(0x284)](',\x20');})[_0x49003c(0x284)](',\x20');}return be={'format':_0x2c03e4,'parse':_0x11b7e3},be;}var we,st;function Ie(){const _0x1bf001=_0x40afb0;if(st)return we;st=0x1;const _0x9499a=_0x31b624,_0xe6d341=_0x323601,_0xdee694=_0x316284,_0x516ea8=_0x5c1c02,_0x4ad09f=_0x114366,{randomBytes:_0x4b4d31,createHash:_0x20cff8}=_0x2cb503,{Duplex:_0x5659b2,Readable:_0x4333ae}=_0x5cc59f,{URL:_0x22bcbc}=_0x302317,_0x147348=he(),_0x5383ac=dt(),_0x3cfd10=_t(),{isBlob:_0x21b0ac}=ne(),{BINARY_TYPES:_0x389ea9,EMPTY_BUFFER:_0x5ceae1,GUID:_0x2c57ad,kForOnEventAttribute:_0x10d944,kListener:_0x33f15a,kStatusCode:_0x7ff9b4,kWebSocket:_0x240214,NOOP:_0x2c0a84}=V(),{EventTarget:{addEventListener:_0x1d2ec9,removeEventListener:_0x217066}}=Kt(),{format:_0x18e016,parse:_0x30075e}=pt(),{toBuffer:_0x135113}=ce(),_0x3b2845=0x1e*0x3e8,_0x584952=Symbol(_0x1bf001(0x1cc)),_0x500454=[0x8,0xd],_0x4ae125=['CONNECTING',_0x1bf001(0x182),_0x1bf001(0x229),_0x1bf001(0x1bc)],_0x22f0f5=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5d9ec9 extends _0x9499a{constructor(_0x1172ab,_0xb7cf0c,_0x5d6371){const _0x4488dc=_0x1bf001;super(),this[_0x4488dc(0x2fc)]=_0x389ea9[0x0],this['_closeCode']=0x3ee,this[_0x4488dc(0x291)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x5ceae1,this[_0x4488dc(0x275)]=null,this['_errorEmitted']=!0x1,this[_0x4488dc(0x222)]={},this[_0x4488dc(0x244)]=!0x1,this[_0x4488dc(0x300)]='',this['_readyState']=_0x5d9ec9['CONNECTING'],this[_0x4488dc(0x196)]=null,this[_0x4488dc(0x1bd)]=null,this[_0x4488dc(0x242)]=null,_0x1172ab!==null?(this['_bufferedAmount']=0x0,this[_0x4488dc(0x235)]=!0x1,this[_0x4488dc(0x15f)]=0x0,_0xb7cf0c===void 0x0?_0xb7cf0c=[]:Array[_0x4488dc(0x1e9)](_0xb7cf0c)||(typeof _0xb7cf0c==_0x4488dc(0x277)&&_0xb7cf0c!==null?(_0x5d6371=_0xb7cf0c,_0xb7cf0c=[]):_0xb7cf0c=[_0xb7cf0c]),_0x1e270f(this,_0x1172ab,_0xb7cf0c,_0x5d6371)):(this['_autoPong']=_0x5d6371[_0x4488dc(0x2ce)],this[_0x4488dc(0x235)]=!0x0);}get[_0x1bf001(0x1c6)](){const _0x29ba39=_0x1bf001;return this[_0x29ba39(0x2fc)];}set[_0x1bf001(0x1c6)](_0x190ded){const _0x505b4c=_0x1bf001;_0x389ea9[_0x505b4c(0x1a3)](_0x190ded)&&(this['_binaryType']=_0x190ded,this[_0x505b4c(0x196)]&&(this[_0x505b4c(0x196)]['_binaryType']=_0x190ded));}get[_0x1bf001(0x262)](){const _0x240e0b=_0x1bf001;return this[_0x240e0b(0x242)]?this[_0x240e0b(0x242)][_0x240e0b(0x252)]['length']+this[_0x240e0b(0x1bd)]['_bufferedBytes']:this[_0x240e0b(0x283)];}get['extensions'](){const _0x18f43d=_0x1bf001;return Object[_0x18f43d(0x282)](this[_0x18f43d(0x222)])[_0x18f43d(0x284)]();}get[_0x1bf001(0x24e)](){return this['_paused'];}get[_0x1bf001(0x1b0)](){return null;}get[_0x1bf001(0x1ca)](){return null;}get[_0x1bf001(0x15d)](){return null;}get['onmessage'](){return null;}get[_0x1bf001(0x1a0)](){const _0x2bacb7=_0x1bf001;return this[_0x2bacb7(0x300)];}get[_0x1bf001(0x162)](){return this['_readyState'];}get[_0x1bf001(0x2ab)](){const _0x59b148=_0x1bf001;return this[_0x59b148(0x2b1)];}[_0x1bf001(0x161)](_0x4a555f,_0x286356,_0x2d2f5d){const _0x1576e9=_0x1bf001,_0x44d344=new _0x5383ac({'allowSynchronousEvents':_0x2d2f5d[_0x1576e9(0x20b)],'binaryType':this[_0x1576e9(0x1c6)],'extensions':this[_0x1576e9(0x222)],'isServer':this['_isServer'],'maxPayload':_0x2d2f5d[_0x1576e9(0x2cf)],'skipUTF8Validation':_0x2d2f5d[_0x1576e9(0x188)]}),_0x54599b=new _0x3cfd10(_0x4a555f,this[_0x1576e9(0x222)],_0x2d2f5d['generateMask']);this[_0x1576e9(0x196)]=_0x44d344,this['_sender']=_0x54599b,this[_0x1576e9(0x242)]=_0x4a555f,_0x44d344[_0x240214]=this,_0x54599b[_0x240214]=this,_0x4a555f[_0x240214]=this,_0x44d344['on'](_0x1576e9(0x20a),_0x105b6b),_0x44d344['on'](_0x1576e9(0x1d5),_0x2ab4fa),_0x44d344['on']('error',_0x242ba0),_0x44d344['on'](_0x1576e9(0x287),_0x58962f),_0x44d344['on'](_0x1576e9(0x191),_0x2aa31a),_0x44d344['on'](_0x1576e9(0x25b),_0x1b84ba),_0x54599b[_0x1576e9(0x1ca)]=_0x530716,_0x4a555f['setTimeout']&&_0x4a555f['setTimeout'](0x0),_0x4a555f[_0x1576e9(0x1e1)]&&_0x4a555f[_0x1576e9(0x1e1)](),_0x286356[_0x1576e9(0x2c8)]>0x0&&_0x4a555f[_0x1576e9(0x2e9)](_0x286356),_0x4a555f['on']('close',_0x3fff3c),_0x4a555f['on'](_0x1576e9(0x1eb),_0x21fc44),_0x4a555f['on'](_0x1576e9(0x270),_0x26602c),_0x4a555f['on'](_0x1576e9(0x260),_0x922d92),this[_0x1576e9(0x236)]=_0x5d9ec9['OPEN'],this[_0x1576e9(0x176)]('open');}[_0x1bf001(0x290)](){const _0xd035a2=_0x1bf001;if(!this[_0xd035a2(0x242)]){this[_0xd035a2(0x236)]=_0x5d9ec9[_0xd035a2(0x1bc)],this[_0xd035a2(0x176)](_0xd035a2(0x256),this[_0xd035a2(0x1db)],this['_closeMessage']);return;}this[_0xd035a2(0x222)][_0x147348[_0xd035a2(0x228)]]&&this[_0xd035a2(0x222)][_0x147348[_0xd035a2(0x228)]][_0xd035a2(0x198)](),this[_0xd035a2(0x196)][_0xd035a2(0x173)](),this['_readyState']=_0x5d9ec9[_0xd035a2(0x1bc)],this[_0xd035a2(0x176)](_0xd035a2(0x256),this['_closeCode'],this['_closeMessage']);}[_0x1bf001(0x256)](_0x5dee81,_0x29ba4f){const _0x372f64=_0x1bf001;if(this[_0x372f64(0x162)]!==_0x5d9ec9[_0x372f64(0x1bc)]){if(this[_0x372f64(0x162)]===_0x5d9ec9['CONNECTING']){_0x3c55db(this,this[_0x372f64(0x2eb)],_0x372f64(0x20c));return;}if(this[_0x372f64(0x162)]===_0x5d9ec9[_0x372f64(0x229)]){this[_0x372f64(0x153)]&&(this[_0x372f64(0x291)]||this['_receiver'][_0x372f64(0x252)]['errorEmitted'])&&this['_socket']['end']();return;}this[_0x372f64(0x236)]=_0x5d9ec9[_0x372f64(0x229)],this['_sender'][_0x372f64(0x256)](_0x5dee81,_0x29ba4f,!this[_0x372f64(0x235)],_0x2b3b95=>{const _0x1ed0e0=_0x372f64;_0x2b3b95||(this[_0x1ed0e0(0x153)]=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x1ed0e0(0x252)][_0x1ed0e0(0x2f4)])&&this[_0x1ed0e0(0x242)]['end']());}),_0x23a6ed(this);}}[_0x1bf001(0x28e)](){const _0xca9ed4=_0x1bf001;this[_0xca9ed4(0x162)]===_0x5d9ec9[_0xca9ed4(0x1ef)]||this[_0xca9ed4(0x162)]===_0x5d9ec9[_0xca9ed4(0x1bc)]||(this[_0xca9ed4(0x244)]=!0x0,this[_0xca9ed4(0x242)][_0xca9ed4(0x28e)]());}['ping'](_0x403301,_0xc5a250,_0x53f5cf){const _0x2beaca=_0x1bf001;if(this[_0x2beaca(0x162)]===_0x5d9ec9['CONNECTING'])throw new Error(_0x2beaca(0x27f));if(typeof _0x403301==_0x2beaca(0x2fe)?(_0x53f5cf=_0x403301,_0x403301=_0xc5a250=void 0x0):typeof _0xc5a250=='function'&&(_0x53f5cf=_0xc5a250,_0xc5a250=void 0x0),typeof _0x403301==_0x2beaca(0x2b3)&&(_0x403301=_0x403301[_0x2beaca(0x2b7)]()),this[_0x2beaca(0x162)]!==_0x5d9ec9[_0x2beaca(0x182)]){_0x5752a9(this,_0x403301,_0x53f5cf);return;}_0xc5a250===void 0x0&&(_0xc5a250=!this[_0x2beaca(0x235)]),this[_0x2beaca(0x1bd)][_0x2beaca(0x191)](_0x403301||_0x5ceae1,_0xc5a250,_0x53f5cf);}[_0x1bf001(0x25b)](_0x23f202,_0x5637e4,_0x59a785){const _0x30c793=_0x1bf001;if(this[_0x30c793(0x162)]===_0x5d9ec9['CONNECTING'])throw new Error(_0x30c793(0x27f));if(typeof _0x23f202==_0x30c793(0x2fe)?(_0x59a785=_0x23f202,_0x23f202=_0x5637e4=void 0x0):typeof _0x5637e4=='function'&&(_0x59a785=_0x5637e4,_0x5637e4=void 0x0),typeof _0x23f202==_0x30c793(0x2b3)&&(_0x23f202=_0x23f202[_0x30c793(0x2b7)]()),this['readyState']!==_0x5d9ec9['OPEN']){_0x5752a9(this,_0x23f202,_0x59a785);return;}_0x5637e4===void 0x0&&(_0x5637e4=!this[_0x30c793(0x235)]),this[_0x30c793(0x1bd)][_0x30c793(0x25b)](_0x23f202||_0x5ceae1,_0x5637e4,_0x59a785);}[_0x1bf001(0x1cf)](){const _0x182c30=_0x1bf001;this[_0x182c30(0x162)]===_0x5d9ec9[_0x182c30(0x1ef)]||this[_0x182c30(0x162)]===_0x5d9ec9['CLOSED']||(this[_0x182c30(0x244)]=!0x1,this[_0x182c30(0x196)][_0x182c30(0x252)]['needDrain']||this[_0x182c30(0x242)][_0x182c30(0x1cf)]());}[_0x1bf001(0x2fb)](_0x58032e,_0x7969cc,_0x307c09){const _0x572b7d=_0x1bf001;if(this[_0x572b7d(0x162)]===_0x5d9ec9[_0x572b7d(0x1ef)])throw new Error(_0x572b7d(0x27f));if(typeof _0x7969cc==_0x572b7d(0x2fe)&&(_0x307c09=_0x7969cc,_0x7969cc={}),typeof _0x58032e=='number'&&(_0x58032e=_0x58032e[_0x572b7d(0x2b7)]()),this['readyState']!==_0x5d9ec9[_0x572b7d(0x182)]){_0x5752a9(this,_0x58032e,_0x307c09);return;}const _0x28943f={'binary':typeof _0x58032e!=_0x572b7d(0x2ef),'mask':!this[_0x572b7d(0x235)],'compress':!0x0,'fin':!0x0,..._0x7969cc};this[_0x572b7d(0x222)][_0x147348[_0x572b7d(0x228)]]||(_0x28943f[_0x572b7d(0x1a6)]=!0x1),this[_0x572b7d(0x1bd)][_0x572b7d(0x2fb)](_0x58032e||_0x5ceae1,_0x28943f,_0x307c09);}[_0x1bf001(0x2a8)](){const _0x3a5838=_0x1bf001;if(this[_0x3a5838(0x162)]!==_0x5d9ec9['CLOSED']){if(this[_0x3a5838(0x162)]===_0x5d9ec9[_0x3a5838(0x1ef)]){_0x3c55db(this,this[_0x3a5838(0x2eb)],_0x3a5838(0x20c));return;}this[_0x3a5838(0x242)]&&(this[_0x3a5838(0x236)]=_0x5d9ec9[_0x3a5838(0x229)],this[_0x3a5838(0x242)][_0x3a5838(0x24a)]());}}}Object['defineProperty'](_0x5d9ec9,'CONNECTING',{'enumerable':!0x0,'value':_0x4ae125[_0x1bf001(0x216)](_0x1bf001(0x1ef))}),Object[_0x1bf001(0x165)](_0x5d9ec9[_0x1bf001(0x1c8)],'CONNECTING',{'enumerable':!0x0,'value':_0x4ae125['indexOf']('CONNECTING')}),Object[_0x1bf001(0x165)](_0x5d9ec9,_0x1bf001(0x182),{'enumerable':!0x0,'value':_0x4ae125[_0x1bf001(0x216)](_0x1bf001(0x182))}),Object[_0x1bf001(0x165)](_0x5d9ec9[_0x1bf001(0x1c8)],'OPEN',{'enumerable':!0x0,'value':_0x4ae125[_0x1bf001(0x216)](_0x1bf001(0x182))}),Object[_0x1bf001(0x165)](_0x5d9ec9,_0x1bf001(0x229),{'enumerable':!0x0,'value':_0x4ae125[_0x1bf001(0x216)](_0x1bf001(0x229))}),Object[_0x1bf001(0x165)](_0x5d9ec9['prototype'],_0x1bf001(0x229),{'enumerable':!0x0,'value':_0x4ae125[_0x1bf001(0x216)](_0x1bf001(0x229))}),Object[_0x1bf001(0x165)](_0x5d9ec9,_0x1bf001(0x1bc),{'enumerable':!0x0,'value':_0x4ae125[_0x1bf001(0x216)](_0x1bf001(0x1bc))}),Object['defineProperty'](_0x5d9ec9['prototype'],_0x1bf001(0x1bc),{'enumerable':!0x0,'value':_0x4ae125[_0x1bf001(0x216)](_0x1bf001(0x1bc))}),[_0x1bf001(0x1c6),_0x1bf001(0x262),_0x1bf001(0x258),_0x1bf001(0x24e),_0x1bf001(0x1a0),_0x1bf001(0x162),_0x1bf001(0x2ab)][_0x1bf001(0x17f)](_0x477eb1=>{const _0x1d706f=_0x1bf001;Object[_0x1d706f(0x165)](_0x5d9ec9['prototype'],_0x477eb1,{'enumerable':!0x0});}),[_0x1bf001(0x272),'error',_0x1bf001(0x256),'message'][_0x1bf001(0x17f)](_0x5f7e11=>{const _0x1cff5d=_0x1bf001;Object[_0x1cff5d(0x165)](_0x5d9ec9['prototype'],'on'+_0x5f7e11,{'enumerable':!0x0,'get'(){for(const _0x4c801d of this['listeners'](_0x5f7e11))if(_0x4c801d[_0x10d944])return _0x4c801d[_0x33f15a];return null;},'set'(_0x273ba1){const _0x39b4ca=_0x1cff5d;for(const _0x35571c of this[_0x39b4ca(0x24f)](_0x5f7e11))if(_0x35571c[_0x10d944]){this[_0x39b4ca(0x1b3)](_0x5f7e11,_0x35571c);break;}typeof _0x273ba1=='function'&&this['addEventListener'](_0x5f7e11,_0x273ba1,{[_0x10d944]:!0x0});}});}),_0x5d9ec9[_0x1bf001(0x1c8)]['addEventListener']=_0x1d2ec9,_0x5d9ec9['prototype']['removeEventListener']=_0x217066,we=_0x5d9ec9;function _0x1e270f(_0x3ad0a5,_0x45f3ce,_0x15c97c,_0x3ae8ec){const _0x4bde9c=_0x1bf001,_0x16e8e4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x500454[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3ae8ec,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4bde9c(0x19f),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3ad0a5[_0x4bde9c(0x20e)]=_0x16e8e4[_0x4bde9c(0x2ce)],!_0x500454[_0x4bde9c(0x1a3)](_0x16e8e4[_0x4bde9c(0x1b9)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x16e8e4['protocolVersion']+_0x4bde9c(0x171)+_0x500454[_0x4bde9c(0x284)](',\x20')+')');let _0x52870b;if(_0x45f3ce instanceof _0x22bcbc)_0x52870b=_0x45f3ce;else try{_0x52870b=new _0x22bcbc(_0x45f3ce);}catch{throw new SyntaxError(_0x4bde9c(0x2d1)+_0x45f3ce);}_0x52870b[_0x4bde9c(0x1a0)]==='http:'?_0x52870b['protocol']=_0x4bde9c(0x2a9):_0x52870b[_0x4bde9c(0x1a0)]==='https:'&&(_0x52870b['protocol']='wss:'),_0x3ad0a5['_url']=_0x52870b[_0x4bde9c(0x2d6)];const _0x4eacc0=_0x52870b[_0x4bde9c(0x1a0)]===_0x4bde9c(0x19c),_0x15f90e=_0x52870b[_0x4bde9c(0x1a0)]===_0x4bde9c(0x23c);let _0x308c6c;if(_0x52870b['protocol']!==_0x4bde9c(0x2a9)&&!_0x4eacc0&&!_0x15f90e?_0x308c6c=_0x4bde9c(0x264):_0x15f90e&&!_0x52870b[_0x4bde9c(0x1f3)]?_0x308c6c=_0x4bde9c(0x16b):_0x52870b[_0x4bde9c(0x25f)]&&(_0x308c6c=_0x4bde9c(0x1b8)),_0x308c6c){const _0x486003=new SyntaxError(_0x308c6c);if(_0x3ad0a5[_0x4bde9c(0x15f)]===0x0)throw _0x486003;_0x2d8796(_0x3ad0a5,_0x486003);return;}const _0x24d6fd=_0x4eacc0?0x1bb:0x50,_0x255995=_0x4b4d31(0x10)[_0x4bde9c(0x2b7)]('base64'),_0x54c708=_0x4eacc0?_0xe6d341[_0x4bde9c(0x15b)]:_0xdee694[_0x4bde9c(0x15b)],_0x2d0499=new Set();let _0x439329;if(_0x16e8e4[_0x4bde9c(0x1a8)]=_0x16e8e4[_0x4bde9c(0x1a8)]||(_0x4eacc0?_0x474e43:_0x20f135),_0x16e8e4['defaultPort']=_0x16e8e4[_0x4bde9c(0x203)]||_0x24d6fd,_0x16e8e4['port']=_0x52870b['port']||_0x24d6fd,_0x16e8e4[_0x4bde9c(0x2c1)]=_0x52870b[_0x4bde9c(0x179)][_0x4bde9c(0x202)]('[')?_0x52870b[_0x4bde9c(0x179)]['slice'](0x1,-0x1):_0x52870b['hostname'],_0x16e8e4['headers']={..._0x16e8e4[_0x4bde9c(0x18a)],'Sec-WebSocket-Version':_0x16e8e4[_0x4bde9c(0x1b9)],'Sec-WebSocket-Key':_0x255995,'Connection':_0x4bde9c(0x2a0),'Upgrade':_0x4bde9c(0x26c)},_0x16e8e4[_0x4bde9c(0x18f)]=_0x52870b[_0x4bde9c(0x1f3)]+_0x52870b[_0x4bde9c(0x293)],_0x16e8e4['timeout']=_0x16e8e4['handshakeTimeout'],_0x16e8e4[_0x4bde9c(0x2dd)]&&(_0x439329=new _0x147348(_0x16e8e4['perMessageDeflate']!==!0x0?_0x16e8e4[_0x4bde9c(0x2dd)]:{},!0x1,_0x16e8e4[_0x4bde9c(0x2cf)]),_0x16e8e4[_0x4bde9c(0x18a)][_0x4bde9c(0x2e8)]=_0x18e016({[_0x147348['extensionName']]:_0x439329[_0x4bde9c(0x261)]()})),_0x15c97c[_0x4bde9c(0x2c8)]){for(const _0xb2e9a of _0x15c97c){if(typeof _0xb2e9a!=_0x4bde9c(0x2ef)||!_0x22f0f5[_0x4bde9c(0x1ea)](_0xb2e9a)||_0x2d0499[_0x4bde9c(0x217)](_0xb2e9a))throw new SyntaxError(_0x4bde9c(0x197));_0x2d0499[_0x4bde9c(0x2e4)](_0xb2e9a);}_0x16e8e4[_0x4bde9c(0x18a)][_0x4bde9c(0x180)]=_0x15c97c[_0x4bde9c(0x284)](',');}if(_0x16e8e4['origin']&&(_0x16e8e4[_0x4bde9c(0x1b9)]<0xd?_0x16e8e4[_0x4bde9c(0x18a)]['Sec-WebSocket-Origin']=_0x16e8e4[_0x4bde9c(0x1cb)]:_0x16e8e4[_0x4bde9c(0x18a)][_0x4bde9c(0x1fb)]=_0x16e8e4['origin']),(_0x52870b[_0x4bde9c(0x1d8)]||_0x52870b[_0x4bde9c(0x26a)])&&(_0x16e8e4[_0x4bde9c(0x2d3)]=_0x52870b[_0x4bde9c(0x1d8)]+':'+_0x52870b[_0x4bde9c(0x26a)]),_0x15f90e){const _0x28335f=_0x16e8e4[_0x4bde9c(0x18f)]['split'](':');_0x16e8e4[_0x4bde9c(0x19d)]=_0x28335f[0x0],_0x16e8e4['path']=_0x28335f[0x1];}let _0x3e6b9e;if(_0x16e8e4[_0x4bde9c(0x2ee)]){if(_0x3ad0a5[_0x4bde9c(0x15f)]===0x0){_0x3ad0a5['_originalIpc']=_0x15f90e,_0x3ad0a5[_0x4bde9c(0x1be)]=_0x4eacc0,_0x3ad0a5[_0x4bde9c(0x2b6)]=_0x15f90e?_0x16e8e4['socketPath']:_0x52870b[_0x4bde9c(0x2c1)];const _0x1a11aa=_0x3ae8ec&&_0x3ae8ec['headers'];if(_0x3ae8ec={..._0x3ae8ec,'headers':{}},_0x1a11aa){for(const [_0x1d6ac7,_0x174fe0]of Object['entries'](_0x1a11aa))_0x3ae8ec[_0x4bde9c(0x18a)][_0x1d6ac7[_0x4bde9c(0x237)]()]=_0x174fe0;}}else{if(_0x3ad0a5['listenerCount'](_0x4bde9c(0x16e))===0x0){const _0x1f3e43=_0x15f90e?_0x3ad0a5[_0x4bde9c(0x2c3)]?_0x16e8e4[_0x4bde9c(0x19d)]===_0x3ad0a5[_0x4bde9c(0x2b6)]:!0x1:_0x3ad0a5['_originalIpc']?!0x1:_0x52870b[_0x4bde9c(0x2c1)]===_0x3ad0a5[_0x4bde9c(0x2b6)];(!_0x1f3e43||_0x3ad0a5[_0x4bde9c(0x1be)]&&!_0x4eacc0)&&(delete _0x16e8e4['headers'][_0x4bde9c(0x2ba)],delete _0x16e8e4[_0x4bde9c(0x18a)][_0x4bde9c(0x297)],_0x1f3e43||delete _0x16e8e4[_0x4bde9c(0x18a)][_0x4bde9c(0x2c1)],_0x16e8e4[_0x4bde9c(0x2d3)]=void 0x0);}}_0x16e8e4[_0x4bde9c(0x2d3)]&&!_0x3ae8ec[_0x4bde9c(0x18a)]['authorization']&&(_0x3ae8ec[_0x4bde9c(0x18a)][_0x4bde9c(0x2ba)]=_0x4bde9c(0x23b)+Buffer[_0x4bde9c(0x251)](_0x16e8e4['auth'])[_0x4bde9c(0x2b7)]('base64')),_0x3e6b9e=_0x3ad0a5[_0x4bde9c(0x2eb)]=_0x54c708(_0x16e8e4),_0x3ad0a5[_0x4bde9c(0x15f)]&&_0x3ad0a5['emit'](_0x4bde9c(0x16e),_0x3ad0a5[_0x4bde9c(0x2ab)],_0x3e6b9e);}else _0x3e6b9e=_0x3ad0a5['_req']=_0x54c708(_0x16e8e4);_0x16e8e4['timeout']&&_0x3e6b9e['on'](_0x4bde9c(0x1b4),()=>{const _0x3566f6=_0x4bde9c;_0x3c55db(_0x3ad0a5,_0x3e6b9e,_0x3566f6(0x209));}),_0x3e6b9e['on'](_0x4bde9c(0x260),_0x10d2e4=>{const _0x2c0e3f=_0x4bde9c;_0x3e6b9e===null||_0x3e6b9e[_0x584952]||(_0x3e6b9e=_0x3ad0a5[_0x2c0e3f(0x2eb)]=null,_0x2d8796(_0x3ad0a5,_0x10d2e4));}),_0x3e6b9e['on'](_0x4bde9c(0x271),_0x3e1685=>{const _0x49c652=_0x4bde9c,_0x3e177e=_0x3e1685['headers'][_0x49c652(0x2bd)],_0x177a47=_0x3e1685[_0x49c652(0x28b)];if(_0x3e177e&&_0x16e8e4['followRedirects']&&_0x177a47>=0x12c&&_0x177a47<0x190){if(++_0x3ad0a5[_0x49c652(0x15f)]>_0x16e8e4[_0x49c652(0x1dc)]){_0x3c55db(_0x3ad0a5,_0x3e6b9e,_0x49c652(0x26f));return;}_0x3e6b9e[_0x49c652(0x169)]();let _0x58f38e;try{_0x58f38e=new _0x22bcbc(_0x3e177e,_0x45f3ce);}catch{const _0xf4ae39=new SyntaxError(_0x49c652(0x2d1)+_0x3e177e);_0x2d8796(_0x3ad0a5,_0xf4ae39);return;}_0x1e270f(_0x3ad0a5,_0x58f38e,_0x15c97c,_0x3ae8ec);}else _0x3ad0a5[_0x49c652(0x176)]('unexpected-response',_0x3e6b9e,_0x3e1685)||_0x3c55db(_0x3ad0a5,_0x3e6b9e,'Unexpected\x20server\x20response:\x20'+_0x3e1685['statusCode']);}),_0x3e6b9e['on'](_0x4bde9c(0x18c),(_0x1c151d,_0x4c9cea,_0x3e0876)=>{const _0x34e3f4=_0x4bde9c;if(_0x3ad0a5[_0x34e3f4(0x176)](_0x34e3f4(0x18c),_0x1c151d),_0x3ad0a5['readyState']!==_0x5d9ec9[_0x34e3f4(0x1ef)])return;_0x3e6b9e=_0x3ad0a5['_req']=null;const _0x36110f=_0x1c151d[_0x34e3f4(0x18a)]['upgrade'];if(_0x36110f===void 0x0||_0x36110f[_0x34e3f4(0x237)]()!==_0x34e3f4(0x26c)){_0x3c55db(_0x3ad0a5,_0x4c9cea,_0x34e3f4(0x253));return;}const _0x2ec20c=_0x20cff8(_0x34e3f4(0x2e5))[_0x34e3f4(0x2a4)](_0x255995+_0x2c57ad)['digest'](_0x34e3f4(0x26b));if(_0x1c151d[_0x34e3f4(0x18a)][_0x34e3f4(0x2de)]!==_0x2ec20c){_0x3c55db(_0x3ad0a5,_0x4c9cea,_0x34e3f4(0x1b1));return;}const _0x3f34c=_0x1c151d[_0x34e3f4(0x18a)][_0x34e3f4(0x2b8)];let _0x2ef962;if(_0x3f34c!==void 0x0?_0x2d0499[_0x34e3f4(0x1b5)]?_0x2d0499[_0x34e3f4(0x217)](_0x3f34c)||(_0x2ef962='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2ef962=_0x34e3f4(0x2dc):_0x2d0499[_0x34e3f4(0x1b5)]&&(_0x2ef962='Server\x20sent\x20no\x20subprotocol'),_0x2ef962){_0x3c55db(_0x3ad0a5,_0x4c9cea,_0x2ef962);return;}_0x3f34c&&(_0x3ad0a5[_0x34e3f4(0x300)]=_0x3f34c);const _0x314a54=_0x1c151d[_0x34e3f4(0x18a)]['sec-websocket-extensions'];if(_0x314a54!==void 0x0){if(!_0x439329){_0x3c55db(_0x3ad0a5,_0x4c9cea,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2289af;try{_0x2289af=_0x30075e(_0x314a54);}catch{_0x3c55db(_0x3ad0a5,_0x4c9cea,_0x34e3f4(0x1e3));return;}const _0x5f54b2=Object[_0x34e3f4(0x282)](_0x2289af);if(_0x5f54b2[_0x34e3f4(0x2c8)]!==0x1||_0x5f54b2[0x0]!==_0x147348[_0x34e3f4(0x228)]){_0x3c55db(_0x3ad0a5,_0x4c9cea,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x439329['accept'](_0x2289af[_0x147348[_0x34e3f4(0x228)]]);}catch{_0x3c55db(_0x3ad0a5,_0x4c9cea,_0x34e3f4(0x1e3));return;}_0x3ad0a5[_0x34e3f4(0x222)][_0x147348['extensionName']]=_0x439329;}_0x3ad0a5[_0x34e3f4(0x161)](_0x4c9cea,_0x3e0876,{'allowSynchronousEvents':_0x16e8e4[_0x34e3f4(0x20b)],'generateMask':_0x16e8e4['generateMask'],'maxPayload':_0x16e8e4['maxPayload'],'skipUTF8Validation':_0x16e8e4[_0x34e3f4(0x188)]});}),_0x16e8e4[_0x4bde9c(0x2ae)]?_0x16e8e4[_0x4bde9c(0x2ae)](_0x3e6b9e,_0x3ad0a5):_0x3e6b9e[_0x4bde9c(0x270)]();}function _0x2d8796(_0x3b4868,_0x133363){const _0x106ba3=_0x1bf001;_0x3b4868[_0x106ba3(0x236)]=_0x5d9ec9[_0x106ba3(0x229)],_0x3b4868['_errorEmitted']=!0x0,_0x3b4868[_0x106ba3(0x176)]('error',_0x133363),_0x3b4868[_0x106ba3(0x290)]();}function _0x20f135(_0xb248ca){const _0x503904=_0x1bf001;return _0xb248ca[_0x503904(0x18f)]=_0xb248ca[_0x503904(0x19d)],_0x516ea8[_0x503904(0x27e)](_0xb248ca);}function _0x474e43(_0x2cae72){const _0x4c3b1a=_0x1bf001;return _0x2cae72['path']=void 0x0,!_0x2cae72[_0x4c3b1a(0x1af)]&&_0x2cae72[_0x4c3b1a(0x1af)]!==''&&(_0x2cae72['servername']=_0x516ea8[_0x4c3b1a(0x2bf)](_0x2cae72['host'])?'':_0x2cae72[_0x4c3b1a(0x2c1)]),_0x4ad09f[_0x4c3b1a(0x27e)](_0x2cae72);}function _0x3c55db(_0x41f174,_0x30dd9e,_0x17a005){const _0x4aaea3=_0x1bf001;_0x41f174[_0x4aaea3(0x236)]=_0x5d9ec9[_0x4aaea3(0x229)];const _0x5487f0=new Error(_0x17a005);Error[_0x4aaea3(0x278)](_0x5487f0,_0x3c55db),_0x30dd9e['setHeader']?(_0x30dd9e[_0x584952]=!0x0,_0x30dd9e['abort'](),_0x30dd9e[_0x4aaea3(0x2e6)]&&!_0x30dd9e[_0x4aaea3(0x2e6)][_0x4aaea3(0x184)]&&_0x30dd9e['socket'][_0x4aaea3(0x24a)](),process[_0x4aaea3(0x2a1)](_0x2d8796,_0x41f174,_0x5487f0)):(_0x30dd9e[_0x4aaea3(0x24a)](_0x5487f0),_0x30dd9e[_0x4aaea3(0x1ed)](_0x4aaea3(0x260),_0x41f174[_0x4aaea3(0x176)][_0x4aaea3(0x157)](_0x41f174,_0x4aaea3(0x260))),_0x30dd9e[_0x4aaea3(0x1ed)]('close',_0x41f174[_0x4aaea3(0x290)][_0x4aaea3(0x157)](_0x41f174)));}function _0x5752a9(_0x2653c1,_0x42dea4,_0x32f240){const _0x299d62=_0x1bf001;if(_0x42dea4){const _0x5478f8=_0x21b0ac(_0x42dea4)?_0x42dea4[_0x299d62(0x1b5)]:_0x135113(_0x42dea4)['length'];_0x2653c1[_0x299d62(0x242)]?_0x2653c1[_0x299d62(0x1bd)][_0x299d62(0x2af)]+=_0x5478f8:_0x2653c1[_0x299d62(0x283)]+=_0x5478f8;}if(_0x32f240){const _0x59e39e=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x2653c1[_0x299d62(0x162)]+'\x20('+_0x4ae125[_0x2653c1[_0x299d62(0x162)]]+')');process[_0x299d62(0x2a1)](_0x32f240,_0x59e39e);}}function _0x105b6b(_0x51c754,_0x2e6080){const _0x3cf86d=_0x1bf001,_0xcb736e=this[_0x240214];_0xcb736e['_closeFrameReceived']=!0x0,_0xcb736e[_0x3cf86d(0x276)]=_0x2e6080,_0xcb736e[_0x3cf86d(0x1db)]=_0x51c754,_0xcb736e[_0x3cf86d(0x242)][_0x240214]!==void 0x0&&(_0xcb736e[_0x3cf86d(0x242)][_0x3cf86d(0x1b3)](_0x3cf86d(0x1eb),_0x21fc44),process[_0x3cf86d(0x2a1)](_0x32083d,_0xcb736e['_socket']),_0x51c754===0x3ed?_0xcb736e[_0x3cf86d(0x256)]():_0xcb736e[_0x3cf86d(0x256)](_0x51c754,_0x2e6080));}function _0x2ab4fa(){const _0x2a3a05=_0x1bf001,_0xe4e54a=this[_0x240214];_0xe4e54a['isPaused']||_0xe4e54a[_0x2a3a05(0x242)][_0x2a3a05(0x1cf)]();}function _0x242ba0(_0x1b1c11){const _0x3a63ad=_0x1bf001,_0x2ea570=this[_0x240214];_0x2ea570[_0x3a63ad(0x242)][_0x240214]!==void 0x0&&(_0x2ea570['_socket'][_0x3a63ad(0x1b3)]('data',_0x21fc44),process[_0x3a63ad(0x2a1)](_0x32083d,_0x2ea570[_0x3a63ad(0x242)]),_0x2ea570[_0x3a63ad(0x256)](_0x1b1c11[_0x7ff9b4])),_0x2ea570[_0x3a63ad(0x266)]||(_0x2ea570[_0x3a63ad(0x266)]=!0x0,_0x2ea570[_0x3a63ad(0x176)](_0x3a63ad(0x260),_0x1b1c11));}function _0x3599ab(){const _0x156819=_0x1bf001;this[_0x240214][_0x156819(0x290)]();}function _0x58962f(_0x52f5a0,_0x1e58e1){const _0x4e2a6a=_0x1bf001;this[_0x240214][_0x4e2a6a(0x176)](_0x4e2a6a(0x287),_0x52f5a0,_0x1e58e1);}function _0x2aa31a(_0xde6f27){const _0x3ff043=_0x1bf001,_0x505973=this[_0x240214];_0x505973[_0x3ff043(0x20e)]&&_0x505973['pong'](_0xde6f27,!this[_0x3ff043(0x235)],_0x2c0a84),_0x505973['emit']('ping',_0xde6f27);}function _0x1b84ba(_0xb17f1b){const _0x5aee42=_0x1bf001;this[_0x240214][_0x5aee42(0x176)](_0x5aee42(0x25b),_0xb17f1b);}function _0x32083d(_0x2df47d){_0x2df47d['resume']();}function _0x530716(_0x4266bb){const _0x30a88c=_0x1bf001,_0x252eba=this[_0x240214];_0x252eba[_0x30a88c(0x162)]!==_0x5d9ec9['CLOSED']&&(_0x252eba['readyState']===_0x5d9ec9[_0x30a88c(0x182)]&&(_0x252eba[_0x30a88c(0x236)]=_0x5d9ec9[_0x30a88c(0x229)],_0x23a6ed(_0x252eba)),this[_0x30a88c(0x242)][_0x30a88c(0x270)](),_0x252eba['_errorEmitted']||(_0x252eba[_0x30a88c(0x266)]=!0x0,_0x252eba['emit'](_0x30a88c(0x260),_0x4266bb)));}function _0x23a6ed(_0x75f07d){const _0x499fb8=_0x1bf001;_0x75f07d['_closeTimer']=setTimeout(_0x75f07d['_socket'][_0x499fb8(0x24a)]['bind'](_0x75f07d[_0x499fb8(0x242)]),_0x3b2845);}function _0x3fff3c(){const _0x2ef76b=_0x1bf001,_0xe36503=this[_0x240214];this[_0x2ef76b(0x1b3)]('close',_0x3fff3c),this[_0x2ef76b(0x1b3)](_0x2ef76b(0x1eb),_0x21fc44),this[_0x2ef76b(0x1b3)]('end',_0x26602c),_0xe36503[_0x2ef76b(0x236)]=_0x5d9ec9['CLOSING'];let _0x2486bb;!this[_0x2ef76b(0x1f2)][_0x2ef76b(0x21d)]&&!_0xe36503[_0x2ef76b(0x291)]&&!_0xe36503[_0x2ef76b(0x196)]['_writableState'][_0x2ef76b(0x2f4)]&&(_0x2486bb=_0xe36503['_socket'][_0x2ef76b(0x204)]())!==null&&_0xe36503[_0x2ef76b(0x196)]['write'](_0x2486bb),_0xe36503[_0x2ef76b(0x196)][_0x2ef76b(0x270)](),this[_0x240214]=void 0x0,clearTimeout(_0xe36503[_0x2ef76b(0x275)]),_0xe36503['_receiver'][_0x2ef76b(0x252)][_0x2ef76b(0x1d4)]||_0xe36503[_0x2ef76b(0x196)][_0x2ef76b(0x252)]['errorEmitted']?_0xe36503[_0x2ef76b(0x290)]():(_0xe36503[_0x2ef76b(0x196)]['on'](_0x2ef76b(0x260),_0x3599ab),_0xe36503[_0x2ef76b(0x196)]['on'](_0x2ef76b(0x18d),_0x3599ab));}function _0x21fc44(_0x599ae1){const _0x25a3f5=_0x1bf001;this[_0x240214][_0x25a3f5(0x196)][_0x25a3f5(0x2a3)](_0x599ae1)||this[_0x25a3f5(0x28e)]();}function _0x26602c(){const _0x117a9e=_0x1bf001,_0x27683b=this[_0x240214];_0x27683b[_0x117a9e(0x236)]=_0x5d9ec9[_0x117a9e(0x229)],_0x27683b[_0x117a9e(0x196)]['end'](),this[_0x117a9e(0x270)]();}function _0x922d92(){const _0x37e854=_0x1bf001,_0xc801a1=this[_0x240214];this[_0x37e854(0x1b3)](_0x37e854(0x260),_0x922d92),this['on'](_0x37e854(0x260),_0x2c0a84),_0xc801a1&&(_0xc801a1['_readyState']=_0x5d9ec9['CLOSING'],this[_0x37e854(0x24a)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x54992f}=_0x5cc59f;function _0x523171(_0x3172b5){const _0x48d50e=_0x272a;_0x3172b5[_0x48d50e(0x176)](_0x48d50e(0x256));}function _0x3976a7(){const _0xee4695=_0x272a;!this[_0xee4695(0x184)]&&this[_0xee4695(0x252)][_0xee4695(0x1d4)]&&this[_0xee4695(0x24a)]();}function _0x5ef58d(_0xc7ee3a){const _0x436417=_0x272a;this[_0x436417(0x1b3)](_0x436417(0x260),_0x5ef58d),this[_0x436417(0x24a)](),this[_0x436417(0x296)]('error')===0x0&&this[_0x436417(0x176)](_0x436417(0x260),_0xc7ee3a);}function _0x30b547(_0x37a2a7,_0x33ecea){const _0x4e4642=_0x272a;let _0x19c16f=!0x0;const _0x293019=new _0x54992f({..._0x33ecea,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x37a2a7['on'](_0x4e4642(0x287),function(_0x3447d0,_0x10b96c){const _0x2c2519=_0x4e4642,_0x5ec9fa=!_0x10b96c&&_0x293019[_0x2c2519(0x1f2)]['objectMode']?_0x3447d0[_0x2c2519(0x2b7)]():_0x3447d0;_0x293019[_0x2c2519(0x1c2)](_0x5ec9fa)||_0x37a2a7[_0x2c2519(0x28e)]();}),_0x37a2a7['once'](_0x4e4642(0x260),function(_0x5c2f41){const _0x59a239=_0x4e4642;_0x293019[_0x59a239(0x184)]||(_0x19c16f=!0x1,_0x293019['destroy'](_0x5c2f41));}),_0x37a2a7[_0x4e4642(0x1ed)](_0x4e4642(0x256),function(){const _0x345482=_0x4e4642;_0x293019[_0x345482(0x184)]||_0x293019[_0x345482(0x1c2)](null);}),_0x293019[_0x4e4642(0x2f5)]=function(_0x31474c,_0x272182){const _0x11cf8f=_0x4e4642;if(_0x37a2a7[_0x11cf8f(0x162)]===_0x37a2a7[_0x11cf8f(0x1bc)]){_0x272182(_0x31474c),process[_0x11cf8f(0x2a1)](_0x523171,_0x293019);return;}let _0x29a484=!0x1;_0x37a2a7[_0x11cf8f(0x1ed)](_0x11cf8f(0x260),function(_0x1006c3){_0x29a484=!0x0,_0x272182(_0x1006c3);}),_0x37a2a7['once'](_0x11cf8f(0x256),function(){const _0x2d16f1=_0x11cf8f;_0x29a484||_0x272182(_0x31474c),process[_0x2d16f1(0x2a1)](_0x523171,_0x293019);}),_0x19c16f&&_0x37a2a7[_0x11cf8f(0x2a8)]();},_0x293019[_0x4e4642(0x29d)]=function(_0xd3c461){const _0x48ba27=_0x4e4642;if(_0x37a2a7[_0x48ba27(0x162)]===_0x37a2a7[_0x48ba27(0x1ef)]){_0x37a2a7['once'](_0x48ba27(0x272),function(){const _0x2fade6=_0x48ba27;_0x293019[_0x2fade6(0x29d)](_0xd3c461);});return;}_0x37a2a7[_0x48ba27(0x242)]!==null&&(_0x37a2a7[_0x48ba27(0x242)][_0x48ba27(0x252)]['finished']?(_0xd3c461(),_0x293019[_0x48ba27(0x1f2)][_0x48ba27(0x21d)]&&_0x293019[_0x48ba27(0x24a)]()):(_0x37a2a7[_0x48ba27(0x242)]['once'](_0x48ba27(0x18d),function(){_0xd3c461();}),_0x37a2a7['close']()));},_0x293019['_read']=function(){const _0x5980ae=_0x4e4642;_0x37a2a7[_0x5980ae(0x24e)]&&_0x37a2a7[_0x5980ae(0x1cf)]();},_0x293019[_0x4e4642(0x24c)]=function(_0x485f61,_0x3e5b54,_0xe1845f){const _0x27b551=_0x4e4642;if(_0x37a2a7['readyState']===_0x37a2a7[_0x27b551(0x1ef)]){_0x37a2a7[_0x27b551(0x1ed)](_0x27b551(0x272),function(){const _0x2a165c=_0x27b551;_0x293019[_0x2a165c(0x24c)](_0x485f61,_0x3e5b54,_0xe1845f);});return;}_0x37a2a7['send'](_0x485f61,_0xe1845f);},_0x293019['on'](_0x4e4642(0x270),_0x3976a7),_0x293019['on'](_0x4e4642(0x260),_0x5ef58d),_0x293019;}return Oe=_0x30b547,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x55ba36}=ne();function _0x1f3ada(_0x42e7df){const _0x17c3ba=_0x272a,_0x5a4955=new Set();let _0x45a4f0=-0x1,_0x26439e=-0x1,_0x25a160=0x0;for(_0x25a160;_0x25a160<_0x42e7df[_0x17c3ba(0x2c8)];_0x25a160++){const _0x45a1d6=_0x42e7df[_0x17c3ba(0x25e)](_0x25a160);if(_0x26439e===-0x1&&_0x55ba36[_0x45a1d6]===0x1)_0x45a4f0===-0x1&&(_0x45a4f0=_0x25a160);else{if(_0x25a160!==0x0&&(_0x45a1d6===0x20||_0x45a1d6===0x9))_0x26439e===-0x1&&_0x45a4f0!==-0x1&&(_0x26439e=_0x25a160);else{if(_0x45a1d6===0x2c){if(_0x45a4f0===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x25a160);_0x26439e===-0x1&&(_0x26439e=_0x25a160);const _0x50867b=_0x42e7df[_0x17c3ba(0x232)](_0x45a4f0,_0x26439e);if(_0x5a4955[_0x17c3ba(0x217)](_0x50867b))throw new SyntaxError(_0x17c3ba(0x2ac)+_0x50867b+_0x17c3ba(0x17e));_0x5a4955[_0x17c3ba(0x2e4)](_0x50867b),_0x45a4f0=_0x26439e=-0x1;}else throw new SyntaxError(_0x17c3ba(0x2b5)+_0x25a160);}}}if(_0x45a4f0===-0x1||_0x26439e!==-0x1)throw new SyntaxError(_0x17c3ba(0x23e));const _0x6c0c1a=_0x42e7df[_0x17c3ba(0x232)](_0x45a4f0,_0x25a160);if(_0x5a4955[_0x17c3ba(0x217)](_0x6c0c1a))throw new SyntaxError(_0x17c3ba(0x2ac)+_0x6c0c1a+_0x17c3ba(0x17e));return _0x5a4955[_0x17c3ba(0x2e4)](_0x6c0c1a),_0x5a4955;}return Ce={'parse':_0x1f3ada},Ce;}var Te,ot;function er(){const _0x4a3129=_0x40afb0;if(ot)return Te;ot=0x1;const _0x1142bd=_0x31b624,_0x1986b5=_0x316284,{Duplex:_0x20c96d}=_0x5cc59f,{createHash:_0x426615}=_0x2cb503,_0x3a5df9=pt(),_0x7c0453=he(),_0x9a4806=Jt(),_0x105b89=Ie(),{GUID:_0x249f8a,kWebSocket:_0xed9208}=V(),_0x5a7d01=/^[+/0-9A-Za-z]{22}==$/,_0x50c97e=0x0,_0x5373c4=0x1,_0xc37c6a=0x2;class _0x5668af extends _0x1142bd{constructor(_0x3aee85,_0xce438e){const _0xc18196=_0x272a;if(super(),_0x3aee85={'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':_0x105b89,..._0x3aee85},_0x3aee85[_0xc18196(0x21a)]==null&&!_0x3aee85['server']&&!_0x3aee85[_0xc18196(0x22e)]||_0x3aee85['port']!=null&&(_0x3aee85[_0xc18196(0x230)]||_0x3aee85[_0xc18196(0x22e)])||_0x3aee85[_0xc18196(0x230)]&&_0x3aee85[_0xc18196(0x22e)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x3aee85[_0xc18196(0x21a)]!=null?(this[_0xc18196(0x2d4)]=_0x1986b5[_0xc18196(0x213)]((_0x59bd88,_0x1f55b7)=>{const _0x1f5896=_0xc18196,_0x14dc81=_0x1986b5[_0x1f5896(0x2f9)][0x1aa];_0x1f55b7[_0x1f5896(0x1d3)](0x1aa,{'Content-Length':_0x14dc81[_0x1f5896(0x2c8)],'Content-Type':_0x1f5896(0x17d)}),_0x1f55b7[_0x1f5896(0x270)](_0x14dc81);}),this[_0xc18196(0x2d4)][_0xc18196(0x2bc)](_0x3aee85['port'],_0x3aee85[_0xc18196(0x2c1)],_0x3aee85[_0xc18196(0x2c2)],_0xce438e)):_0x3aee85[_0xc18196(0x230)]&&(this[_0xc18196(0x2d4)]=_0x3aee85[_0xc18196(0x230)]),this[_0xc18196(0x2d4)]){const _0x763130=this['emit'][_0xc18196(0x157)](this,_0xc18196(0x280));this['_removeListeners']=_0x42476b(this[_0xc18196(0x2d4)],{'listening':this[_0xc18196(0x176)]['bind'](this,_0xc18196(0x2bb)),'error':this[_0xc18196(0x176)][_0xc18196(0x157)](this,_0xc18196(0x260)),'upgrade':(_0x393a9b,_0x3d26c5,_0x1c2ff8)=>{const _0x1c2343=_0xc18196;this[_0x1c2343(0x2f6)](_0x393a9b,_0x3d26c5,_0x1c2ff8,_0x763130);}});}_0x3aee85[_0xc18196(0x2dd)]===!0x0&&(_0x3aee85[_0xc18196(0x2dd)]={}),_0x3aee85[_0xc18196(0x29c)]&&(this[_0xc18196(0x288)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0xc18196(0x178)]=_0x3aee85,this[_0xc18196(0x292)]=_0x50c97e;}[_0x4a3129(0x185)](){const _0x301781=_0x4a3129;if(this[_0x301781(0x178)][_0x301781(0x22e)])throw new Error(_0x301781(0x17c));return this[_0x301781(0x2d4)]?this[_0x301781(0x2d4)][_0x301781(0x185)]():null;}[_0x4a3129(0x256)](_0x2011a6){const _0x1ffbf3=_0x4a3129;if(this[_0x1ffbf3(0x292)]===_0xc37c6a){_0x2011a6&&this['once'](_0x1ffbf3(0x256),()=>{const _0x29f658=_0x1ffbf3;_0x2011a6(new Error(_0x29f658(0x233)));}),process[_0x1ffbf3(0x2a1)](_0xe21ea9,this);return;}if(_0x2011a6&&this[_0x1ffbf3(0x1ed)]('close',_0x2011a6),this[_0x1ffbf3(0x292)]!==_0x5373c4){if(this[_0x1ffbf3(0x292)]=_0x5373c4,this[_0x1ffbf3(0x178)]['noServer']||this['options'][_0x1ffbf3(0x230)])this[_0x1ffbf3(0x2d4)]&&(this['_removeListeners'](),this[_0x1ffbf3(0x231)]=this[_0x1ffbf3(0x2d4)]=null),this[_0x1ffbf3(0x288)]?this[_0x1ffbf3(0x288)]['size']?this[_0x1ffbf3(0x298)]=!0x0:process[_0x1ffbf3(0x2a1)](_0xe21ea9,this):process[_0x1ffbf3(0x2a1)](_0xe21ea9,this);else{const _0x9f2f52=this['_server'];this['_removeListeners'](),this[_0x1ffbf3(0x231)]=this[_0x1ffbf3(0x2d4)]=null,_0x9f2f52[_0x1ffbf3(0x256)](()=>{_0xe21ea9(this);});}}}['shouldHandle'](_0x3d5b89){const _0x3ea1f0=_0x4a3129;if(this[_0x3ea1f0(0x178)][_0x3ea1f0(0x18f)]){const _0x57c1e9=_0x3d5b89[_0x3ea1f0(0x2ab)]['indexOf']('?');if((_0x57c1e9!==-0x1?_0x3d5b89[_0x3ea1f0(0x2ab)]['slice'](0x0,_0x57c1e9):_0x3d5b89[_0x3ea1f0(0x2ab)])!==this[_0x3ea1f0(0x178)]['path'])return!0x1;}return!0x0;}[_0x4a3129(0x2f6)](_0xcc2ff9,_0x1e9f66,_0x185ae6,_0x18a776){const _0x40b4ec=_0x4a3129;_0x1e9f66['on'](_0x40b4ec(0x260),_0x3e9da1);const _0x58a438=_0xcc2ff9[_0x40b4ec(0x18a)][_0x40b4ec(0x1e4)],_0x2cc07e=_0xcc2ff9[_0x40b4ec(0x18a)]['upgrade'],_0x557ceb=+_0xcc2ff9[_0x40b4ec(0x18a)][_0x40b4ec(0x193)];if(_0xcc2ff9[_0x40b4ec(0x1a5)]!==_0x40b4ec(0x19f)){_0x4b9bfa(this,_0xcc2ff9,_0x1e9f66,0x195,_0x40b4ec(0x2f0));return;}if(_0x2cc07e===void 0x0||_0x2cc07e[_0x40b4ec(0x237)]()!==_0x40b4ec(0x26c)){_0x4b9bfa(this,_0xcc2ff9,_0x1e9f66,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x58a438===void 0x0||!_0x5a7d01['test'](_0x58a438)){_0x4b9bfa(this,_0xcc2ff9,_0x1e9f66,0x190,_0x40b4ec(0x1a4));return;}if(_0x557ceb!==0x8&&_0x557ceb!==0xd){_0x4b9bfa(this,_0xcc2ff9,_0x1e9f66,0x190,_0x40b4ec(0x28d));return;}if(!this['shouldHandle'](_0xcc2ff9)){_0x578e75(_0x1e9f66,0x190);return;}const _0xc4925c=_0xcc2ff9[_0x40b4ec(0x18a)][_0x40b4ec(0x2b8)];let _0x49980c=new Set();if(_0xc4925c!==void 0x0)try{_0x49980c=_0x9a4806[_0x40b4ec(0x2ec)](_0xc4925c);}catch{_0x4b9bfa(this,_0xcc2ff9,_0x1e9f66,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2cfcda=_0xcc2ff9[_0x40b4ec(0x18a)][_0x40b4ec(0x183)],_0x2989bc={};if(this[_0x40b4ec(0x178)][_0x40b4ec(0x2dd)]&&_0x2cfcda!==void 0x0){const _0x2be02f=new _0x7c0453(this[_0x40b4ec(0x178)][_0x40b4ec(0x2dd)],!0x0,this[_0x40b4ec(0x178)][_0x40b4ec(0x2cf)]);try{const _0x4bc5b3=_0x3a5df9[_0x40b4ec(0x2ec)](_0x2cfcda);_0x4bc5b3[_0x7c0453['extensionName']]&&(_0x2be02f[_0x40b4ec(0x212)](_0x4bc5b3[_0x7c0453['extensionName']]),_0x2989bc[_0x7c0453[_0x40b4ec(0x228)]]=_0x2be02f);}catch{_0x4b9bfa(this,_0xcc2ff9,_0x1e9f66,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x40b4ec(0x178)]['verifyClient']){const _0x5bd0cc={'origin':_0xcc2ff9[_0x40b4ec(0x18a)][''+(_0x557ceb===0x8?_0x40b4ec(0x1ac):_0x40b4ec(0x1cb))],'secure':!!(_0xcc2ff9['socket'][_0x40b4ec(0x2a6)]||_0xcc2ff9[_0x40b4ec(0x2e6)][_0x40b4ec(0x1d1)]),'req':_0xcc2ff9};if(this[_0x40b4ec(0x178)][_0x40b4ec(0x294)][_0x40b4ec(0x2c8)]===0x2){this[_0x40b4ec(0x178)][_0x40b4ec(0x294)](_0x5bd0cc,(_0x4de3a7,_0x2cdb62,_0x4bc5be,_0x58bf1a)=>{const _0x51bbd4=_0x40b4ec;if(!_0x4de3a7)return _0x578e75(_0x1e9f66,_0x2cdb62||0x191,_0x4bc5be,_0x58bf1a);this[_0x51bbd4(0x1a1)](_0x2989bc,_0x58a438,_0x49980c,_0xcc2ff9,_0x1e9f66,_0x185ae6,_0x18a776);});return;}if(!this[_0x40b4ec(0x178)][_0x40b4ec(0x294)](_0x5bd0cc))return _0x578e75(_0x1e9f66,0x191);}this[_0x40b4ec(0x1a1)](_0x2989bc,_0x58a438,_0x49980c,_0xcc2ff9,_0x1e9f66,_0x185ae6,_0x18a776);}['completeUpgrade'](_0x36f24c,_0x1fb525,_0x28fdb5,_0x32fa69,_0x64dd9f,_0xf73158,_0x57ed23){const _0x5cf209=_0x4a3129;if(!_0x64dd9f[_0x5cf209(0x225)]||!_0x64dd9f[_0x5cf209(0x20d)])return _0x64dd9f['destroy']();if(_0x64dd9f[_0xed9208])throw new Error(_0x5cf209(0x269));if(this[_0x5cf209(0x292)]>_0x50c97e)return _0x578e75(_0x64dd9f,0x1f7);const _0x2f4298=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x5cf209(0x1e5),_0x5cf209(0x186),'Sec-WebSocket-Accept:\x20'+_0x426615(_0x5cf209(0x2e5))[_0x5cf209(0x2a4)](_0x1fb525+_0x249f8a)[_0x5cf209(0x265)](_0x5cf209(0x26b))],_0x6a3388=new this['options']['WebSocket'](null,void 0x0,this[_0x5cf209(0x178)]);if(_0x28fdb5[_0x5cf209(0x1b5)]){const _0x38be70=this[_0x5cf209(0x178)][_0x5cf209(0x2c4)]?this[_0x5cf209(0x178)][_0x5cf209(0x2c4)](_0x28fdb5,_0x32fa69):_0x28fdb5['values']()['next']()['value'];_0x38be70&&(_0x2f4298[_0x5cf209(0x1c2)]('Sec-WebSocket-Protocol:\x20'+_0x38be70),_0x6a3388[_0x5cf209(0x300)]=_0x38be70);}if(_0x36f24c[_0x7c0453[_0x5cf209(0x228)]]){const _0x43a3a3=_0x36f24c[_0x7c0453['extensionName']][_0x5cf209(0x2c6)],_0x6c3594=_0x3a5df9[_0x5cf209(0x2c9)]({[_0x7c0453[_0x5cf209(0x228)]]:[_0x43a3a3]});_0x2f4298[_0x5cf209(0x1c2)](_0x5cf209(0x1f8)+_0x6c3594),_0x6a3388[_0x5cf209(0x222)]=_0x36f24c;}this[_0x5cf209(0x176)](_0x5cf209(0x18a),_0x2f4298,_0x32fa69),_0x64dd9f['write'](_0x2f4298['concat']('\x0d\x0a')[_0x5cf209(0x284)]('\x0d\x0a')),_0x64dd9f[_0x5cf209(0x1b3)](_0x5cf209(0x260),_0x3e9da1),_0x6a3388[_0x5cf209(0x161)](_0x64dd9f,_0xf73158,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x5cf209(0x178)]['skipUTF8Validation']}),this[_0x5cf209(0x288)]&&(this[_0x5cf209(0x288)]['add'](_0x6a3388),_0x6a3388['on'](_0x5cf209(0x256),()=>{const _0x5e7aa0=_0x5cf209;this['clients']['delete'](_0x6a3388),this[_0x5e7aa0(0x298)]&&!this['clients'][_0x5e7aa0(0x1b5)]&&process['nextTick'](_0xe21ea9,this);})),_0x57ed23(_0x6a3388,_0x32fa69);}}Te=_0x5668af;function _0x42476b(_0x4572f6,_0x17a712){const _0x3c6493=_0x4a3129;for(const _0x3c946b of Object[_0x3c6493(0x282)](_0x17a712))_0x4572f6['on'](_0x3c946b,_0x17a712[_0x3c946b]);return function(){const _0x20223d=_0x3c6493;for(const _0x18e474 of Object[_0x20223d(0x282)](_0x17a712))_0x4572f6['removeListener'](_0x18e474,_0x17a712[_0x18e474]);};}function _0xe21ea9(_0x58c114){const _0x4eea48=_0x4a3129;_0x58c114[_0x4eea48(0x292)]=_0xc37c6a,_0x58c114['emit'](_0x4eea48(0x256));}function _0x3e9da1(){this['destroy']();}function _0x578e75(_0xbe3808,_0x5b0a01,_0x445e79,_0x18329d){const _0x268d7b=_0x4a3129;_0x445e79=_0x445e79||_0x1986b5[_0x268d7b(0x2f9)][_0x5b0a01],_0x18329d={'Connection':_0x268d7b(0x256),'Content-Type':_0x268d7b(0x177),'Content-Length':Buffer['byteLength'](_0x445e79),..._0x18329d},_0xbe3808[_0x268d7b(0x1ed)]('finish',_0xbe3808['destroy']),_0xbe3808[_0x268d7b(0x270)](_0x268d7b(0x2ad)+_0x5b0a01+'\x20'+_0x1986b5['STATUS_CODES'][_0x5b0a01]+'\x0d\x0a'+Object[_0x268d7b(0x282)](_0x18329d)[_0x268d7b(0x208)](_0x1c4285=>_0x1c4285+':\x20'+_0x18329d[_0x1c4285])[_0x268d7b(0x284)]('\x0d\x0a')+_0x268d7b(0x250)+_0x445e79);}function _0x4b9bfa(_0x6b4f53,_0x51273a,_0x479476,_0x2491ff,_0x34e123){const _0x25850c=_0x4a3129;if(_0x6b4f53['listenerCount'](_0x25850c(0x25c))){const _0x260bf5=new Error(_0x34e123);Error['captureStackTrace'](_0x260bf5,_0x4b9bfa),_0x6b4f53[_0x25850c(0x176)](_0x25850c(0x25c),_0x260bf5,_0x479476,_0x51273a);}else _0x578e75(_0x479476,_0x2491ff,_0x34e123);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x48fdf1,_0x396c65,_0x17aefe,_0x48b471)=>{const _0x29ee1d=_0x40afb0;for(var _0x19bcda=_0x48b471>0x1?void 0x0:_0x48b471?tr(_0x396c65,_0x17aefe):_0x396c65,_0x5a1e6c=_0x48fdf1[_0x29ee1d(0x2c8)]-0x1,_0x2f72a5;_0x5a1e6c>=0x0;_0x5a1e6c--)(_0x2f72a5=_0x48fdf1[_0x5a1e6c])&&(_0x19bcda=_0x2f72a5(_0x19bcda)||_0x19bcda);return _0x19bcda;},sr=(_0x5ec694,_0x3c25ce)=>(_0xdfef94,_0xfa3511)=>_0x3c25ce(_0xdfef94,_0xfa3511,_0x5ec694);let Ne=class extends _0x2cd525{constructor(_0x1097ff){const _0x2bbb0e=_0x40afb0;super(),this[_0x2bbb0e(0x21e)]=_0x1097ff;}[_0x40afb0(0x17b)](_0x332475){const _0x3d350e=_0x40afb0;var _0x328eee;const _0x316bde=(_0x328eee=this['_configService'][_0x3d350e(0x2da)](Be))==null?void 0x0:_0x328eee[_0x3d350e(0x1e2)];try{const _0x168e09=new Qt(_0x332475,{'headers':{..._0x316bde}}),_0x37a43b=new _0x3ab47a();return{'URL':_0x332475,'close':(_0x2962cd,_0x5a3ec2)=>{const _0xca07c7=_0x3d350e;_0x168e09[_0xca07c7(0x256)](_0x2962cd,_0x5a3ec2),_0x37a43b[_0xca07c7(0x2d2)]();},'send':_0x44d950=>{_0x168e09['send'](_0x44d950);},'open$':new _0x48d183(_0x26ad17=>{const _0x2e7542=_0x3d350e,_0x25b1d3=_0x2ba016=>_0x26ad17[_0x2e7542(0x16d)](_0x2ba016);_0x168e09[_0x2e7542(0x2cd)](_0x2e7542(0x272),_0x25b1d3),_0x37a43b[_0x2e7542(0x2e4)](_0x401223(()=>_0x168e09['removeEventListener'](_0x2e7542(0x272),_0x25b1d3)));})[_0x3d350e(0x295)](_0x6e657b()),'close$':new _0x48d183(_0x427381=>{const _0x333793=_0x3d350e,_0x2ccf20=_0x316e4b=>_0x427381[_0x333793(0x16d)](_0x316e4b);_0x168e09[_0x333793(0x2cd)](_0x333793(0x256),_0x2ccf20),_0x37a43b[_0x333793(0x2e4)](_0x401223(()=>_0x168e09[_0x333793(0x281)](_0x333793(0x256),_0x2ccf20)));})[_0x3d350e(0x295)](_0x6e657b()),'error$':new _0x48d183(_0x34b397=>{const _0x27097a=_0x3d350e,_0x1d32c5=_0x2c85de=>_0x34b397[_0x27097a(0x16d)](_0x2c85de);_0x168e09[_0x27097a(0x2cd)]('error',_0x1d32c5),_0x37a43b[_0x27097a(0x2e4)](_0x401223(()=>_0x168e09['removeEventListener'](_0x27097a(0x260),_0x1d32c5)));})[_0x3d350e(0x295)](_0x6e657b()),'message$':new _0x48d183(_0x339713=>{const _0xe8d496=_0x3d350e,_0x4bdf4f=_0x4698f0=>_0x339713[_0xe8d496(0x16d)](_0x4698f0);_0x168e09[_0xe8d496(0x2cd)](_0xe8d496(0x287),_0x4bdf4f),_0x37a43b[_0xe8d496(0x2e4)](_0x401223(()=>_0x168e09[_0xe8d496(0x281)](_0xe8d496(0x287),_0x4bdf4f)));})['pipe'](_0x6e657b())};}catch(_0x55be2d){return console['error'](_0x55be2d),null;}}};Ne=rr([sr(0x0,_0x59e2fa)],Ne);var ir=Object[_0x40afb0(0x165)],nr=Object[_0x40afb0(0x207)],or=(_0x53576f,_0x2ab1,_0x2d177d)=>_0x2ab1 in _0x53576f?ir(_0x53576f,_0x2ab1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d177d}):_0x53576f[_0x2ab1]=_0x2d177d,ar=(_0x3b1912,_0x11e597,_0x4991bd,_0x1d462b)=>{const _0x40e8c5=_0x40afb0;for(var _0xee99d7=_0x1d462b>0x1?void 0x0:_0x1d462b?nr(_0x11e597,_0x4991bd):_0x11e597,_0x4a750f=_0x3b1912[_0x40e8c5(0x2c8)]-0x1,_0x301009;_0x4a750f>=0x0;_0x4a750f--)(_0x301009=_0x3b1912[_0x4a750f])&&(_0xee99d7=_0x301009(_0xee99d7)||_0xee99d7);return _0xee99d7;},ke=(_0x1bf7b1,_0x16226d)=>(_0x904c88,_0x114f62)=>_0x16226d(_0x904c88,_0x114f62,_0x1bf7b1),lr=(_0x43bdff,_0x3883ce,_0x2626e2)=>or(_0x43bdff,_0x3883ce+'',_0x2626e2);let Pe=class extends _0x4420ec{constructor(_0x405001=Ft,_0x4121b3,_0x836fff,_0x597ac1){const _0x52bfea=_0x40afb0;_0x405001[_0x52bfea(0x1e2)]||_0x4121b3['warn'](_0x52bfea(0x2aa)),super(),this[_0x52bfea(0x21e)]=_0x836fff,this[_0x52bfea(0x189)]=_0x597ac1,this[_0x52bfea(0x21e)]['setConfig'](Be,_0x405001);}[_0x40afb0(0x234)](){const _0x121b9e=_0x40afb0;this[_0x121b9e(0x15a)]();}[_0x40afb0(0x15a)](){const _0x26cb39=_0x40afb0;_0x3f9bc1(this[_0x26cb39(0x189)],[[_0x314090,{'useClass':Ne}]]);}};lr(Pe,_0x40afb0(0x1b7),_0x40afb0(0x1ad)),Pe=ar([_0x1bbd0e(_0x14a0b8),ke(0x1,_0x3bddf3),ke(0x2,_0x59e2fa),ke(0x3,_0x2bc00e(_0x1e39e0))],Pe);var fr=Object[_0x40afb0(0x207)],cr=(_0x1a65fa,_0x45a592,_0x1ab17e,_0x50de75)=>{const _0x83a0fe=_0x40afb0;for(var _0x1699d2=_0x50de75>0x1?void 0x0:_0x50de75?fr(_0x45a592,_0x1ab17e):_0x45a592,_0x3d4ac1=_0x1a65fa[_0x83a0fe(0x2c8)]-0x1,_0x4fa824;_0x3d4ac1>=0x0;_0x3d4ac1--)(_0x4fa824=_0x1a65fa[_0x3d4ac1])&&(_0x1699d2=_0x4fa824(_0x1699d2)||_0x1699d2);return _0x1699d2;},se=(_0x5ab2f0,_0x5d9c28)=>(_0x5cbd59,_0x4adc49)=>_0x5d9c28(_0x5cbd59,_0x4adc49,_0x5ab2f0);let at=class extends _0x3bbf9d{constructor(_0x502b43,_0x43dc84,_0x2286c0,_0x2cc2d3,_0x3a8e37){const _0x386ad0=_0x40afb0;super(_0x502b43,_0x43dc84,_0x2286c0,_0x2cc2d3,_0x3a8e37);const _0x9fd87=this[_0x386ad0(0x21e)][_0x386ad0(0x2da)](Be);this[_0x386ad0(0x1ec)][_0x386ad0(0x2c5)]({'interceptor':(_0x5492e5,_0xef6392)=>{const _0x1e82bb=_0x386ad0;var _0x4d2492;const _0x380b5b=_0x5492e5[_0x1e82bb(0x18a)];return(_0x4d2492=_0x9fd87==null?void 0x0:_0x9fd87[_0x1e82bb(0x1e2)])!=null&&_0x4d2492[_0x1e82bb(0x297)]&&_0x380b5b['set']('Cookie',_0x9fd87['customHeaders'][_0x1e82bb(0x297)]),_0xef6392(_0x5492e5);}});}async['createSocket'](_0x1154b2){const _0xff4818=_0x40afb0;return this[_0xff4818(0x2cc)](_0x1154b2);}};at=cr([se(0x0,_0x2bc00e(_0x1e39e0)),se(0x1,_0x2bc00e(_0x39c85)),se(0x2,_0x59e2fa),se(0x3,_0x3bddf3),se(0x4,_0x20fe25)],at);function _0x3fd2(){const _0x101674=['_opcode','_compressed','zlibInflateOptions','_generateMask','WS_ERR_EXPECTED_MASK','connect','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','connection','removeEventListener','keys','_bufferedAmount','join','alloc','opcode','message','clients','decompress','getData','statusCode','21439480cJfeuy','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','pause','reason','emitClose','_closeFrameReceived','_state','search','verifyClient','pipe','listenerCount','cookie','_shouldEmitClose','6723836gdBEuf','invalid\x20status\x20code\x20','WS_ERR_INVALID_CLOSE_CODE','clientTracking','_final','exports','freeze','Upgrade','nextTick','default','write','update','19506WVlapY','authorized','3442910VWynkE','terminate','ws:','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','url','The\x20\x22','HTTP/1.1\x20','finishRequest','_bufferedBytes','MASK\x20must\x20be\x20clear','_url','pow','number','consume','Unexpected\x20character\x20at\x20index\x20','_originalHostOrSocketPath','toString','sec-websocket-protocol','WS_ERR_EXPECTED_FIN','authorization','listening','listen','location','_skipUTF8Validation','isIP','client','host','backlog','_originalIpc','handleProtocols','registerHTTPInterceptor','params','blob','length','format','_buffers','_compress','_doCreateSocket','addEventListener','autoPong','maxPayload','server_max_window_bits','Invalid\x20URL:\x20','dispose','auth','_server','jobs','href','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','concurrencyLimit','startLoop','getConfig','constructor','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','perMessageDeflate','sec-websocket-accept','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_fragments','enqueue','pending','kDone','add','sha1','socket','kTarget','Sec-WebSocket-Extensions','unshift','serverMaxWindowBits','_req','parse','_deflate','followRedirects','string','Invalid\x20HTTP\x20method','_maskBuffer','invalid\x20payload\x20length\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','errorEmitted','_destroy','handleUpgrade','359179MTDnRb','fin','STATUS_CODES','call','send','_binaryType','catch','function','Unknown\x20parameter\x20\x22','_protocol','acceptAsClient','Parameter\x20\x22','dequeue','_closeFrameSent','zlibDeflateOptions','FIN\x20must\x20be\x20set','invalid\x20UTF-8\x20sequence','bind','_payloadLength','invalid\x20opcode\x20','_registerDependencies','request','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','onopen','collaboration-client-node.config','_redirects','species','setSocket','readyState','concat','rsv1','defineProperty','create','haveLength','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','abort','flush','The\x20URL\x27s\x20pathname\x20is\x20empty','then','next','redirect','kRun','WS_NO_BUFFER_UTIL','\x20(supported\x20versions:\x20','getMask','removeAllListeners','code','1863771qVfMHh','emit','text/html','options','hostname','_inflate','createSocket','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','text/plain','\x22\x20subprotocol\x20is\x20duplicated','forEach','Sec-WebSocket-Protocol','clientMaxWindowBits','OPEN','sec-websocket-extensions','destroyed','address','Connection:\x20Upgrade','kReason','skipUTF8Validation','_injector','headers','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','upgrade','finish','dataMessage','path','WS_NO_UTF_8_VALIDATE','ping','permessage-deflate','sec-websocket-version','isBuffer','handleEvent','_receiver','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','cleanup','3aZoIHR','invalid\x20opcode\x200','callback','wss:','socketPath','buffer','GET','protocol','completeUpgrade','_loop','includes','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','method','compress','maskBuffer','createConnection','stream','_totalPayloadLength','frame','sec-websocket-origin','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','apply','servername','onclose','Invalid\x20Sec-WebSocket-Accept\x20header','670YIRaqc','removeListener','timeout','size','\x22\x20must\x20have\x20only\x20a\x20single\x20value','pluginName','The\x20URL\x20contains\x20a\x20fragment\x20identifier','protocolVersion','_max_window_bits','Max\x20payload\x20size\x20exceeded','CLOSED','_sender','_originalSecure','server_no_context_takeover','binary','dispatch','push','total-length','byteLength','kMessage','binaryType','concurrency','prototype','_allowSynchronousEvents','onerror','origin','kAborted','readUInt16BE','unmask','resume','readOnly','encrypted','getPayloadLength16','writeHead','finished','drain','56RIFtGT','File','username','target','_fragmented','_closeCode','maxRedirects','isServer','_maxPayload','env','kIsForOnEventAttribute','setNoDelay','customHeaders','Invalid\x20Sec-WebSocket-Extensions\x20header','sec-websocket-key','Upgrade:\x20websocket','Invalid\x20WebSocket\x20frame:\x20','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','replace','isArray','test','data','_httpService','once','Z_DEFAULT_WINDOWBITS','CONNECTING','getBlobData','arrayBuffer','_readableState','pathname','nodebuffer','2387007VBrWRr','toStringTag','_masked','Sec-WebSocket-Extensions:\x20','WS_ERR_INVALID_UTF8','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Origin','byteOffset','__esModule','wasClean','getPayloadLength64','allocUnsafe','\x22:\x20','startsWith','defaultPort','read','generateMask','Z_SYNC_FLUSH','getOwnPropertyDescriptor','map','Opening\x20handshake\x20has\x20timed\x20out','conclude','allowSynchronousEvents','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','writable','_autoPong','hasOwnProperty','mask','reset','accept','createServer','arraybuffer','normalizeParams','indexOf','has','isInteger','createError','port','shift','_no_context_takeover','endEmitted','_configService','createInflateRaw','_firstFragment','set','_extensions','isView','status-code','readable','kWasClean','_decompress','extensionName','CLOSING','_errored','RSV1\x20must\x20be\x20clear','serverNoContextTakeover','client_max_window_bits','noServer','_messageLength','server','_removeListeners','slice','The\x20server\x20is\x20not\x20running','onStarting','_isServer','_readyState','toLowerCase','sendFrame','_fin','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Basic\x20','ws+unix:','_queue','Unexpected\x20end\x20of\x20input','client_no_context_takeover','Module','acceptAsServer','_socket','getInfo','_paused','type','kType','fragments','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','controlMessage','destroy','WS_ERR_UNEXPECTED_RSV_1','_write','readUInt32BE','isPaused','listeners','\x0d\x0a\x0d\x0a','from','_writableState','Invalid\x20Upgrade\x20header','kListener','writeUInt16BE','close','Invalid\x20value\x20for\x20parameter\x20\x22','extensions','kError','_threshold','pong','wsClientError','cork','charCodeAt','hash','error','offer','bufferedAmount','isValidUTF8','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','digest','_errorEmitted','_options','WS_ERR_INVALID_OPCODE','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','password','base64','websocket','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kData','Maximum\x20redirects\x20exceeded','end','response','open','_mask','clientNoContextTakeover','_closeTimer','_closeMessage','object','captureStackTrace'];_0x3fd2=function(){return _0x101674;};return _0x3fd2();}export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x2a4944=_0x1141;(function(_0xecf6e9,_0x4d7008){const _0x1f4f1e=_0x1141,_0x120d0a=_0xecf6e9();while(!![]){try{const _0x5cbd78=parseInt(_0x1f4f1e(0x1a0))/0x1*(-parseInt(_0x1f4f1e(0x150))/0x2)+-parseInt(_0x1f4f1e(0x218))/0x3+parseInt(_0x1f4f1e(0xce))/0x4*(parseInt(_0x1f4f1e(0x9a))/0x5)+parseInt(_0x1f4f1e(0x1ee))/0x6+-parseInt(_0x1f4f1e(0x153))/0x7*(-parseInt(_0x1f4f1e(0x167))/0x8)+parseInt(_0x1f4f1e(0x1b4))/0x9+-parseInt(_0x1f4f1e(0x13c))/0xa*(-parseInt(_0x1f4f1e(0x1e8))/0xb);if(_0x5cbd78===_0x4d7008)break;else _0x120d0a['push'](_0x120d0a['shift']());}catch(_0x56c6ae){_0x120d0a['push'](_0x120d0a['shift']());}}}(_0x2ab1,0xaaf40));import{UniverCollaborationClientPlugin as _0xaa00e,CollaborationSocketService as _0x280fe7}from'@univerjs-pro/collaboration-client';function _0x2ab1(){const _0x3c92a4=['websocket','password','dequeue','sendFrame','create','_totalPayloadLength','concurrencyLimit','wss:','protocol','_compress','Invalid\x20URL:\x20','_write','pipe','url','response','split','shift','writeUInt16BE','_decompress','Server\x20sent\x20an\x20invalid\x20subprotocol','readyState','kType','Unsupported\x20protocol\x20version:\x20','frame','5wBCfzd','number','kCode','Sec-WebSocket-Extensions','Sec-WebSocket-Accept:\x20','_no_context_takeover','The\x20URL\x20contains\x20a\x20fragment\x20identifier','code','acceptAsServer','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','onmessage','toString','clientMaxWindowBits','generateMask','_options','arrayBuffer','enqueue','File','Basic\x20','removeEventListener','8342361VZxAUg','handleUpgrade','The\x20URL\x27s\x20pathname\x20is\x20empty','MASK\x20must\x20be\x20set','emit','finish','kDone','\x22:\x20','Cookie','_skipUTF8Validation','customHeaders','path','sha1','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','bind','createServer','_errored','address','host','_closeMessage','endEmitted','consume','format','upgrade','test','location','_closeCode','concurrency','getPayloadLength64','compress','fin','Unexpected\x20character\x20at\x20index\x20','_queue','_maxPayload','removeListener','sec-websocket-protocol','callback','text/plain','clientNoContextTakeover','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_shouldEmitClose','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_bufferedBytes','buffers','length','connection','\x22\x20must\x20have\x20only\x20a\x20single\x20value','client_no_context_takeover','resume','OPEN','33cgrrmx','handleEvent','pending','object','status-code','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','1610712ytFVge','extensions','set','readUInt32BE','server','createInflateRaw','readUInt16BE','buffer','_writableState','createDeflateRaw','data','defineProperty','finished','join','bufferedAmount','listen','_allowSynchronousEvents','verifyClient','clientTracking','_payloadLength','isBuffer','base64','_redirects','_configService','binary','_loop','Z_DEFAULT_WINDOWBITS','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','kError','Invalid\x20WebSocket\x20frame:\x20','_httpService','conclude','GET','readable','serverNoContextTakeover','send','href','message','kRun','flush','_removeListeners','isArray','2277699mrMwbS','_mask','isPaused','toLowerCase','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','invalid\x20payload\x20length\x20','kMessage','includes','has','completeUpgrade','_req','invalid\x20UTF-8\x20sequence','Module','stream','ws:','_compressed','charCodeAt','reset','finishRequest','getConfig','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Sec-WebSocket-Protocol','invalid\x20opcode\x200','zlibDeflateOptions','warn','server_max_window_bits','ws+unix:','isValidUTF8','Parameter\x20\x22','onerror','removeAllListeners','hasOwnProperty','species','client_max_window_bits','getInfo','cork','\x0d\x0a\x0d\x0a','Invalid\x20Upgrade\x20header','_firstFragment','allowSynchronousEvents','_maskBuffer','collaboration-client-node.config','call','_destroy','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','search','Server\x20sent\x20no\x20subprotocol','emitClose','_closeTimer','readOnly','_injector','size','sec-websocket-origin','15485FzSqpB','redirect','kByteLength','freeze','followRedirects','abort','open','skipUTF8Validation','_isServer','createConnection','indexOf','errorEmitted','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','next','_socket','wasClean','zlibInflateOptions','blob','noServer','destroy','_deflate','dataMessage','opcode','sec-websocket-extensions','update','acceptAsClient','WS_NO_BUFFER_UTIL','handshakeTimeout','WS_ERR_UNEXPECTED_RSV_1','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','options','handleProtocols','total-length','delete','http:','Blob','WS_ERR_EXPECTED_MASK','kData','nextTick','_binaryType','map','\x22\x20subprotocol\x20is\x20duplicated','headers','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_errorEmitted','close','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','exports','statusCode','find','isInteger','WS_ERR_EXPECTED_FIN','436jpKlXD','origin','shouldHandle','replace','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','byteOffset','write','\x20(supported\x20versions:\x20','hostname','_read','_fragments','_paused','wsClientError','_messageLength','kTarget','byteLength','perMessageDeflate','_registerDependencies','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Origin','_inflate','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','haveLength','accept','_receiver','servername','controlMessage','ping','_originalSecure','listenerCount','needDrain','forEach','defaultPort','constructor','_extensions','The\x20server\x20is\x20not\x20running','objectMode','then','_buffers','invalid\x20opcode\x20','cleanup','from','https:','_readableState','_autoPong','_fin','extensionName','autoPong','isIP','_bufferedAmount','connect','offer','permessage-deflate','writeHead','setConfig','target','maskBuffer','method','client','getMask','_readyState','error','createSocket','arraybuffer','request','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','createError','sec-websocket-key','timeout','Unknown\x20parameter\x20\x22','Invalid\x20Sec-WebSocket-Accept\x20header','nodebuffer','_opcode','WS_ERR_UNEXPECTED_RSV_2_3','drain','parse','_final','writable','RSV1\x20must\x20be\x20clear','WS_ERR_INVALID_CLOSE_CODE','Opening\x20handshake\x20has\x20timed\x20out','startLoop','HTTP/1.1\x20','digest','mask','values','_state','startsWith','username','alloc','rsv1','Invalid\x20HTTP\x20method','maxPayload','fragments','destroyed','toStringTag','_closeFrameSent','socketPath','MASK\x20must\x20be\x20clear','Invalid\x20value\x20for\x20parameter\x20\x22','_url','Z_SYNC_FLUSH','STATUS_CODES','default','pong','onopen','Upgrade:\x20websocket','prototype','string','end','1446600EIpgMZ','__esModule','uncork','catch','concat','port','_generateMask','_masked','decompress','CLOSED','getBlobData','allocUnsafe','jobs','_sender','Sec-WebSocket-Protocol:\x20','_protocol','server_no_context_takeover','captureStackTrace','CLOSING','getPayloadLength16','417782mYfeXI','params','Unexpected\x20end\x20of\x20input','15218GjoYhz','env','Invalid\x20Sec-WebSocket-Extensions\x20header','serverMaxWindowBits','_threshold','add','clients','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','pause','socket','type','_fragmented','The\x20\x22','_originalHostOrSocketPath','setNoDelay','encrypted','cookie','_originalIpc','setTimeout','Max\x20payload\x20size\x20exceeded','1976YFupvt','pow','auth','binaryType','addEventListener','kIsForOnEventAttribute','getData','_doCreateSocket','WS_ERR_INVALID_UTF8','_closeFrameReceived','getOwnPropertyDescriptor','Connection:\x20Upgrade','dispatch','Sec-WebSocket-Extensions:\x20','kWasClean','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','slice','CONNECTING','keys','writeUIntBE','normalizeParams','listeners','function','_server','setSocket','protocolVersion','reason','once','_max_window_bits','authorization','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','push','unmask'];_0x2ab1=function(){return _0x3c92a4;};return _0x2ab1();}import{Disposable as _0x22a1b1,DisposableCollection as _0x3a0a2f,toDisposable as _0x5aa91d,IConfigService as _0x490d91,DependentOn as _0x4d8669,ILogService as _0x5b8208,Inject as _0x52d90d,Injector as _0x45bcce,Plugin as _0x4f3bff,registerDependencies as _0xeae1c8}from'@univerjs/core';import{ISocketService as _0x13866a,HTTPService as _0x1cc020}from'@univerjs/network';import{Observable as _0xf23eb7,share as _0x43fc9c}from'rxjs';import _0x5c4aae from'events';import _0x5be42c from'https';import _0x549c82 from'http';import _0x23728d from'net';import _0x52c71a from'tls';import _0x17ca72 from'crypto';import _0x414cc8 from'stream';import _0x3886dd from'url';import _0x5df560 from'zlib';import _0x3db49e from'buffer';import{ISnapshotServerService as _0x2be26c}from'@univerjs-pro/collaboration';const Be=_0x2a4944(0x241),Ft={'customHeaders':{}};function jt(_0x39af2f){const _0x421ddd=_0x2a4944;return _0x39af2f&&_0x39af2f[_0x421ddd(0x13d)]&&Object[_0x421ddd(0x139)][_0x421ddd(0x237)]['call'](_0x39af2f,_0x421ddd(0x135))?_0x39af2f['default']:_0x39af2f;}function ut(_0x369d6a){const _0x5a1690=_0x2a4944;if(Object['prototype'][_0x5a1690(0x237)]['call'](_0x369d6a,_0x5a1690(0x13d)))return _0x369d6a;var _0x24804e=_0x369d6a[_0x5a1690(0x135)];if(typeof _0x24804e=='function'){var _0x448427=function _0x58a4c0(){const _0x475d56=_0x5a1690;return this instanceof _0x58a4c0?Reflect['construct'](_0x24804e,arguments,this[_0x475d56(0xef)]):_0x24804e['apply'](this,arguments);};_0x448427[_0x5a1690(0x139)]=_0x24804e[_0x5a1690(0x139)];}else _0x448427={};return Object['defineProperty'](_0x448427,_0x5a1690(0x13d),{'value':!0x0}),Object[_0x5a1690(0x179)](_0x369d6a)[_0x5a1690(0xed)](function(_0x2b6c4d){const _0x5258c1=_0x5a1690;var _0x1091c6=Object[_0x5258c1(0x171)](_0x369d6a,_0x2b6c4d);Object['defineProperty'](_0x448427,_0x2b6c4d,_0x1091c6['get']?_0x1091c6:{'enumerable':!0x0,'get':function(){return _0x369d6a[_0x2b6c4d];}});}),_0x448427;}function _0x1141(_0x1da14d,_0x19d952){const _0x2ab18e=_0x2ab1();return _0x1141=function(_0x114131,_0x3dc107){_0x114131=_0x114131-0x90;let _0x1d1cbe=_0x2ab18e[_0x114131];return _0x1d1cbe;},_0x1141(_0x1da14d,_0x19d952);}var te={'exports':{}},ge,Ye;function V(){const _0x3e7df7=_0x2a4944;if(Ye)return ge;Ye=0x1;const _0x581f8d=[_0x3e7df7(0x115),_0x3e7df7(0x10d),_0x3e7df7(0x12b)],_0xb1d73=typeof Blob<'u';return _0xb1d73&&_0x581f8d[_0x3e7df7(0x186)]('blob'),ge={'BINARY_TYPES':_0x581f8d,'EMPTY_BUFFER':Buffer[_0x3e7df7(0x127)](0x0),'GUID':_0x3e7df7(0xa6),'hasBlob':_0xb1d73,'kForOnEventAttribute':Symbol(_0x3e7df7(0x16c)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x3e7df7(0x1ec)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2a4944(0x9d)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x2a4944(0x12d)],{'value':_0x2a4944(0x224)})),Vt=ut(Gt);var Ke;function ce(){const _0x3766e6=_0x2a4944;if(Ke)return te[_0x3766e6(0xc9)];Ke=0x1;const {EMPTY_BUFFER:_0x4dd650}=V(),_0x34eec5=Buffer[Symbol['species']];function _0x4e4397(_0x28ce19,_0x5e037f){const _0x4a21fe=_0x3766e6;if(_0x28ce19[_0x4a21fe(0x1e2)]===0x0)return _0x4dd650;if(_0x28ce19[_0x4a21fe(0x1e2)]===0x1)return _0x28ce19[0x0];const _0x4fe66f=Buffer['allocUnsafe'](_0x5e037f);let _0xc3b8bf=0x0;for(let _0x536903=0x0;_0x536903<_0x28ce19[_0x4a21fe(0x1e2)];_0x536903++){const _0x2668c3=_0x28ce19[_0x536903];_0x4fe66f[_0x4a21fe(0x1f0)](_0x2668c3,_0xc3b8bf),_0xc3b8bf+=_0x2668c3[_0x4a21fe(0x1e2)];}return _0xc3b8bf<_0x5e037f?new _0x34eec5(_0x4fe66f[_0x4a21fe(0x1f5)],_0x4fe66f[_0x4a21fe(0xd3)],_0xc3b8bf):_0x4fe66f;}function _0x169b72(_0x475924,_0x460273,_0x5edf48,_0x19d9fd,_0x18c893){for(let _0xa56eb9=0x0;_0xa56eb9<_0x18c893;_0xa56eb9++)_0x5edf48[_0x19d9fd+_0xa56eb9]=_0x475924[_0xa56eb9]^_0x460273[_0xa56eb9&0x3];}function _0x7a8893(_0x2bcd63,_0x17cbe2){for(let _0x3a67f4=0x0;_0x3a67f4<_0x2bcd63['length'];_0x3a67f4++)_0x2bcd63[_0x3a67f4]^=_0x17cbe2[_0x3a67f4&0x3];}function _0x93ae00(_0x4ec471){const _0x10f559=_0x3766e6;return _0x4ec471[_0x10f559(0x1e2)]===_0x4ec471['buffer'][_0x10f559(0xdd)]?_0x4ec471[_0x10f559(0x1f5)]:_0x4ec471[_0x10f559(0x1f5)][_0x10f559(0x177)](_0x4ec471['byteOffset'],_0x4ec471[_0x10f559(0xd3)]+_0x4ec471[_0x10f559(0x1e2)]);}function _0x4f063d(_0x4e3546){const _0x33695b=_0x3766e6;if(_0x4f063d[_0x33695b(0x96)]=!0x0,Buffer[_0x33695b(0x202)](_0x4e3546))return _0x4e3546;let _0x1583b4;return _0x4e3546 instanceof ArrayBuffer?_0x1583b4=new _0x34eec5(_0x4e3546):ArrayBuffer['isView'](_0x4e3546)?_0x1583b4=new _0x34eec5(_0x4e3546[_0x33695b(0x1f5)],_0x4e3546[_0x33695b(0xd3)],_0x4e3546[_0x33695b(0xdd)]):(_0x1583b4=Buffer[_0x33695b(0xf7)](_0x4e3546),_0x4f063d[_0x33695b(0x96)]=!0x1),_0x1583b4;}if(te[_0x3766e6(0xc9)]={'concat':_0x4e4397,'mask':_0x169b72,'toArrayBuffer':_0x93ae00,'toBuffer':_0x4f063d,'unmask':_0x7a8893},!process[_0x3766e6(0x154)][_0x3766e6(0xb4)])try{const _0x47179a=Vt;te['exports'][_0x3766e6(0x122)]=function(_0x32a0c1,_0x150620,_0x3a27d3,_0x582f41,_0x1cba44){_0x1cba44<0x30?_0x169b72(_0x32a0c1,_0x150620,_0x3a27d3,_0x582f41,_0x1cba44):_0x47179a['mask'](_0x32a0c1,_0x150620,_0x3a27d3,_0x582f41,_0x1cba44);},te[_0x3766e6(0xc9)]['unmask']=function(_0x22e959,_0x2dc1ca){const _0x4a5c2d=_0x3766e6;_0x22e959[_0x4a5c2d(0x1e2)]<0x20?_0x7a8893(_0x22e959,_0x2dc1ca):_0x47179a[_0x4a5c2d(0x187)](_0x22e959,_0x2dc1ca);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x339f49=_0x2a4944;if(Xe)return ye;Xe=0x1;const _0x417916=Symbol(_0x339f49(0x1ba)),_0x171752=Symbol(_0x339f49(0x214));class _0x540d02{constructor(_0x2500c9){const _0xb59e1a=_0x339f49;this[_0x417916]=()=>{this['pending']--,this[_0x171752]();},this['concurrency']=_0x2500c9||0x1/0x0,this['jobs']=[],this[_0xb59e1a(0x1ea)]=0x0;}[_0x339f49(0x158)](_0x4d6055){this['jobs']['push'](_0x4d6055),this[_0x171752]();}[_0x171752](){const _0x148549=_0x339f49;if(this[_0x148549(0x1ea)]!==this[_0x148549(0x1d0)]&&this[_0x148549(0x148)][_0x148549(0x1e2)]){const _0x596321=this['jobs'][_0x148549(0x198)]();this[_0x148549(0x1ea)]++,_0x596321(this[_0x417916]);}}}return ye=_0x540d02,ye;}var ve,Ze;function he(){const _0x2d4226=_0x2a4944;if(Ze)return ve;Ze=0x1;const _0x3d28e8=_0x5df560,_0x573c0a=ce(),_0x409360=qt(),{kStatusCode:_0x1ae307}=V(),_0x33cc74=Buffer[Symbol[_0x2d4226(0x238)]],_0x5a1951=Buffer[_0x2d4226(0xf7)]([0x0,0x0,0xff,0xff]),_0x6a36a8=Symbol(_0x2d4226(0x102)),_0x3f6520=Symbol(_0x2d4226(0xba)),_0x2041bd=Symbol(_0x2d4226(0x1d9)),_0x2b9574=Symbol(_0x2d4226(0x1e1)),_0x400699=Symbol(_0x2d4226(0x10b));let _0x3c4fa9;class _0x1f82bc{constructor(_0x31485d,_0x59f0b2,_0x18740a){const _0x4bb926=_0x2d4226;if(this['_maxPayload']=_0x18740a|0x0,this[_0x4bb926(0x1ae)]=_0x31485d||{},this[_0x4bb926(0x157)]=this[_0x4bb926(0x1ae)]['threshold']!==void 0x0?this[_0x4bb926(0x1ae)]['threshold']:0x400,this[_0x4bb926(0xa2)]=!!_0x59f0b2,this['_deflate']=null,this[_0x4bb926(0xe2)]=null,this[_0x4bb926(0x151)]=null,!_0x3c4fa9){const _0x22f047=this[_0x4bb926(0x1ae)][_0x4bb926(0x18e)]!==void 0x0?this[_0x4bb926(0x1ae)][_0x4bb926(0x18e)]:0xa;_0x3c4fa9=new _0x409360(_0x22f047);}}static get[_0x2d4226(0xfc)](){const _0x396647=_0x2d4226;return _0x396647(0x102);}[_0x2d4226(0x101)](){const _0x26f52c=_0x2d4226,_0x123841={};return this[_0x26f52c(0x1ae)][_0x26f52c(0x210)]&&(_0x123841[_0x26f52c(0x14c)]=!0x0),this['_options'][_0x26f52c(0x1db)]&&(_0x123841[_0x26f52c(0x1e5)]=!0x0),this[_0x26f52c(0x1ae)][_0x26f52c(0x156)]&&(_0x123841[_0x26f52c(0x231)]=this['_options'][_0x26f52c(0x156)]),this[_0x26f52c(0x1ae)][_0x26f52c(0x1ac)]?_0x123841['client_max_window_bits']=this[_0x26f52c(0x1ae)][_0x26f52c(0x1ac)]:this['_options'][_0x26f52c(0x1ac)]==null&&(_0x123841[_0x26f52c(0x239)]=!0x0),_0x123841;}['accept'](_0x19d709){const _0x399ead=_0x2d4226;return _0x19d709=this[_0x399ead(0x17b)](_0x19d709),this['params']=this[_0x399ead(0xa2)]?this['acceptAsServer'](_0x19d709):this[_0x399ead(0xb3)](_0x19d709),this[_0x399ead(0x151)];}[_0x2d4226(0xf6)](){const _0x263e12=_0x2d4226;if(this['_inflate']&&(this['_inflate']['close'](),this[_0x263e12(0xe2)]=null),this[_0x263e12(0xae)]){const _0x2456f6=this[_0x263e12(0xae)][_0x2041bd];this[_0x263e12(0xae)][_0x263e12(0xc7)](),this[_0x263e12(0xae)]=null,_0x2456f6&&_0x2456f6(new Error(_0x263e12(0x176)));}}[_0x2d4226(0x1a8)](_0x1d7d87){const _0x1382ef=_0x2d4226,_0xe095e7=this[_0x1382ef(0x1ae)],_0x5d0330=_0x1d7d87[_0x1382ef(0xcb)](_0x1c6c0e=>!(_0xe095e7[_0x1382ef(0x210)]===!0x1&&_0x1c6c0e[_0x1382ef(0x14c)]||_0x1c6c0e[_0x1382ef(0x231)]&&(_0xe095e7[_0x1382ef(0x156)]===!0x1||typeof _0xe095e7[_0x1382ef(0x156)]==_0x1382ef(0x1a1)&&_0xe095e7[_0x1382ef(0x156)]>_0x1c6c0e[_0x1382ef(0x231)])||typeof _0xe095e7[_0x1382ef(0x1ac)]=='number'&&!_0x1c6c0e[_0x1382ef(0x239)]));if(!_0x5d0330)throw new Error(_0x1382ef(0xc5));return _0xe095e7['serverNoContextTakeover']&&(_0x5d0330['server_no_context_takeover']=!0x0),_0xe095e7[_0x1382ef(0x1db)]&&(_0x5d0330[_0x1382ef(0x1e5)]=!0x0),typeof _0xe095e7['serverMaxWindowBits']==_0x1382ef(0x1a1)&&(_0x5d0330[_0x1382ef(0x231)]=_0xe095e7[_0x1382ef(0x156)]),typeof _0xe095e7['clientMaxWindowBits']=='number'?_0x5d0330[_0x1382ef(0x239)]=_0xe095e7[_0x1382ef(0x1ac)]:(_0x5d0330[_0x1382ef(0x239)]===!0x0||_0xe095e7[_0x1382ef(0x1ac)]===!0x1)&&delete _0x5d0330[_0x1382ef(0x239)],_0x5d0330;}[_0x2d4226(0xb3)](_0x159a99){const _0x4f8bd1=_0x2d4226,_0x14c63b=_0x159a99[0x0];if(this[_0x4f8bd1(0x1ae)][_0x4f8bd1(0x1db)]===!0x1&&_0x14c63b[_0x4f8bd1(0x1e5)])throw new Error(_0x4f8bd1(0x209));if(!_0x14c63b['client_max_window_bits'])typeof this[_0x4f8bd1(0x1ae)][_0x4f8bd1(0x1ac)]==_0x4f8bd1(0x1a1)&&(_0x14c63b[_0x4f8bd1(0x239)]=this[_0x4f8bd1(0x1ae)]['clientMaxWindowBits']);else{if(this['_options'][_0x4f8bd1(0x1ac)]===!0x1||typeof this['_options'][_0x4f8bd1(0x1ac)]==_0x4f8bd1(0x1a1)&&_0x14c63b[_0x4f8bd1(0x239)]>this[_0x4f8bd1(0x1ae)][_0x4f8bd1(0x1ac)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x14c63b;}['normalizeParams'](_0x154a3a){const _0x24ee8b=_0x2d4226;return _0x154a3a[_0x24ee8b(0xed)](_0x18bd4f=>{const _0x3fbf04=_0x24ee8b;Object[_0x3fbf04(0x179)](_0x18bd4f)[_0x3fbf04(0xed)](_0x1fac53=>{const _0x438c0e=_0x3fbf04;let _0x3482f4=_0x18bd4f[_0x1fac53];if(_0x3482f4[_0x438c0e(0x1e2)]>0x1)throw new Error(_0x438c0e(0x234)+_0x1fac53+_0x438c0e(0x1e4));if(_0x3482f4=_0x3482f4[0x0],_0x1fac53==='client_max_window_bits'){if(_0x3482f4!==!0x0){const _0x890a9a=+_0x3482f4;if(!Number[_0x438c0e(0xcc)](_0x890a9a)||_0x890a9a<0x8||_0x890a9a>0xf)throw new TypeError(_0x438c0e(0x131)+_0x1fac53+_0x438c0e(0x1bb)+_0x3482f4);_0x3482f4=_0x890a9a;}else{if(!this[_0x438c0e(0xa2)])throw new TypeError(_0x438c0e(0x131)+_0x1fac53+'\x22:\x20'+_0x3482f4);}}else{if(_0x1fac53===_0x438c0e(0x231)){const _0x112b49=+_0x3482f4;if(!Number[_0x438c0e(0xcc)](_0x112b49)||_0x112b49<0x8||_0x112b49>0xf)throw new TypeError(_0x438c0e(0x131)+_0x1fac53+'\x22:\x20'+_0x3482f4);_0x3482f4=_0x112b49;}else{if(_0x1fac53===_0x438c0e(0x1e5)||_0x1fac53===_0x438c0e(0x14c)){if(_0x3482f4!==!0x0)throw new TypeError(_0x438c0e(0x131)+_0x1fac53+'\x22:\x20'+_0x3482f4);}else throw new Error(_0x438c0e(0x113)+_0x1fac53+'\x22');}}_0x18bd4f[_0x1fac53]=_0x3482f4;});}),_0x154a3a;}[_0x2d4226(0x144)](_0x3def97,_0x55b15f,_0x2e6664){const _0x142a6d=_0x2d4226;_0x3c4fa9[_0x142a6d(0x158)](_0x336813=>{this['_decompress'](_0x3def97,_0x55b15f,(_0x39e444,_0x1d22ad)=>{_0x336813(),_0x2e6664(_0x39e444,_0x1d22ad);});});}[_0x2d4226(0x1d2)](_0x53dbff,_0x17f591,_0x12e916){_0x3c4fa9['add'](_0x7828b9=>{const _0x32949b=_0x1141;this[_0x32949b(0x191)](_0x53dbff,_0x17f591,(_0x1f9f2d,_0x1fc2ad)=>{_0x7828b9(),_0x12e916(_0x1f9f2d,_0x1fc2ad);});});}[_0x2d4226(0x19a)](_0x45f214,_0x4ab436,_0x19b859){const _0x539fdd=_0x2d4226,_0x4e8cf9=this[_0x539fdd(0xa2)]?_0x539fdd(0x108):'server';if(!this['_inflate']){const _0x3c05ae=_0x4e8cf9+_0x539fdd(0x183),_0x4fac98=typeof this[_0x539fdd(0x151)][_0x3c05ae]!=_0x539fdd(0x1a1)?_0x3d28e8[_0x539fdd(0x208)]:this[_0x539fdd(0x151)][_0x3c05ae];this[_0x539fdd(0xe2)]=_0x3d28e8[_0x539fdd(0x1f3)]({...this[_0x539fdd(0x1ae)][_0x539fdd(0xaa)],'windowBits':_0x4fac98}),this['_inflate'][_0x6a36a8]=this,this[_0x539fdd(0xe2)][_0x3f6520]=0x0,this[_0x539fdd(0xe2)][_0x2b9574]=[],this[_0x539fdd(0xe2)]['on'](_0x539fdd(0x10b),_0x231426),this[_0x539fdd(0xe2)]['on'](_0x539fdd(0x1f8),_0x48dffa);}this[_0x539fdd(0xe2)][_0x2041bd]=_0x19b859,this[_0x539fdd(0xe2)][_0x539fdd(0xd4)](_0x45f214),_0x4ab436&&this[_0x539fdd(0xe2)][_0x539fdd(0xd4)](_0x5a1951),this['_inflate'][_0x539fdd(0x215)](()=>{const _0x48744b=_0x539fdd,_0x294674=this[_0x48744b(0xe2)][_0x400699];if(_0x294674){this[_0x48744b(0xe2)][_0x48744b(0xc7)](),this[_0x48744b(0xe2)]=null,_0x19b859(_0x294674);return;}const _0x4964cf=_0x573c0a[_0x48744b(0x140)](this[_0x48744b(0xe2)][_0x2b9574],this[_0x48744b(0xe2)][_0x3f6520]);this[_0x48744b(0xe2)]['_readableState']['endEmitted']?(this[_0x48744b(0xe2)][_0x48744b(0xc7)](),this[_0x48744b(0xe2)]=null):(this[_0x48744b(0xe2)][_0x3f6520]=0x0,this[_0x48744b(0xe2)][_0x2b9574]=[],_0x4ab436&&this[_0x48744b(0x151)][_0x4e8cf9+_0x48744b(0x1a5)]&&this[_0x48744b(0xe2)][_0x48744b(0x229)]()),_0x19b859(null,_0x4964cf);});}['_compress'](_0x2752ea,_0x5282aa,_0x451f6a){const _0x5b0d25=_0x2d4226,_0x496206=this[_0x5b0d25(0xa2)]?_0x5b0d25(0x1f2):_0x5b0d25(0x108);if(!this[_0x5b0d25(0xae)]){const _0x3e3633=_0x496206+_0x5b0d25(0x183),_0x1973bd=typeof this['params'][_0x3e3633]!='number'?_0x3d28e8[_0x5b0d25(0x208)]:this[_0x5b0d25(0x151)][_0x3e3633];this['_deflate']=_0x3d28e8[_0x5b0d25(0x1f7)]({...this['_options'][_0x5b0d25(0x22f)],'windowBits':_0x1973bd}),this[_0x5b0d25(0xae)][_0x3f6520]=0x0,this[_0x5b0d25(0xae)][_0x2b9574]=[],this[_0x5b0d25(0xae)]['on'](_0x5b0d25(0x1f8),_0x5dfc03);}this[_0x5b0d25(0xae)][_0x2041bd]=_0x451f6a,this[_0x5b0d25(0xae)][_0x5b0d25(0xd4)](_0x2752ea),this[_0x5b0d25(0xae)][_0x5b0d25(0x215)](_0x3d28e8[_0x5b0d25(0x133)],()=>{const _0x4ad3af=_0x5b0d25;if(!this['_deflate'])return;let _0x523668=_0x573c0a[_0x4ad3af(0x140)](this[_0x4ad3af(0xae)][_0x2b9574],this[_0x4ad3af(0xae)][_0x3f6520]);_0x5282aa&&(_0x523668=new _0x33cc74(_0x523668[_0x4ad3af(0x1f5)],_0x523668['byteOffset'],_0x523668[_0x4ad3af(0x1e2)]-0x4)),this[_0x4ad3af(0xae)][_0x2041bd]=null,this[_0x4ad3af(0xae)][_0x3f6520]=0x0,this[_0x4ad3af(0xae)][_0x2b9574]=[],_0x5282aa&&this['params'][_0x496206+_0x4ad3af(0x1a5)]&&this[_0x4ad3af(0xae)][_0x4ad3af(0x229)](),_0x451f6a(null,_0x523668);});}}ve=_0x1f82bc;function _0x5dfc03(_0x464079){const _0x48ceed=_0x2d4226;this[_0x2b9574][_0x48ceed(0x186)](_0x464079),this[_0x3f6520]+=_0x464079[_0x48ceed(0x1e2)];}function _0x48dffa(_0x39e0da){const _0x280c46=_0x2d4226;if(this[_0x3f6520]+=_0x39e0da[_0x280c46(0x1e2)],this[_0x6a36a8]['_maxPayload']<0x1||this[_0x3f6520]<=this[_0x6a36a8][_0x280c46(0x1d6)]){this[_0x2b9574][_0x280c46(0x186)](_0x39e0da);return;}this[_0x400699]=new RangeError(_0x280c46(0x166)),this[_0x400699][_0x280c46(0x1a7)]=_0x280c46(0x1df),this[_0x400699][_0x1ae307]=0x3f1,this[_0x280c46(0x1d7)](_0x280c46(0x1f8),_0x48dffa),this[_0x280c46(0x229)]();}function _0x231426(_0x209da7){this[_0x6a36a8]['_inflate']=null,_0x209da7[_0x1ae307]=0x3ef,this[_0x2041bd](_0x209da7);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2a4944(0x9d)](Object[_0x2a4944(0x1f9)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x2a4944(0x224)})),Yt=ut(zt);var Qe;function ne(){const _0x1ce3de=_0x2a4944;if(Qe)return re[_0x1ce3de(0xc9)];Qe=0x1;const {isUtf8:_0x2c9cf1}=_0x3db49e,{hasBlob:_0x1eb823}=V(),_0x3f9af9=[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 _0x4c2c15(_0x282c84){return _0x282c84>=0x3e8&&_0x282c84<=0x3f6&&_0x282c84!==0x3ec&&_0x282c84!==0x3ed&&_0x282c84!==0x3ee||_0x282c84>=0xbb8&&_0x282c84<=0x1387;}function _0x1c473e(_0x39d70a){const _0x49cd73=_0x1ce3de,_0x4ecbaf=_0x39d70a[_0x49cd73(0x1e2)];let _0x35f3ae=0x0;for(;_0x35f3ae<_0x4ecbaf;)if((_0x39d70a[_0x35f3ae]&0x80)===0x0)_0x35f3ae++;else{if((_0x39d70a[_0x35f3ae]&0xe0)===0xc0){if(_0x35f3ae+0x1===_0x4ecbaf||(_0x39d70a[_0x35f3ae+0x1]&0xc0)!==0x80||(_0x39d70a[_0x35f3ae]&0xfe)===0xc0)return!0x1;_0x35f3ae+=0x2;}else{if((_0x39d70a[_0x35f3ae]&0xf0)===0xe0){if(_0x35f3ae+0x2>=_0x4ecbaf||(_0x39d70a[_0x35f3ae+0x1]&0xc0)!==0x80||(_0x39d70a[_0x35f3ae+0x2]&0xc0)!==0x80||_0x39d70a[_0x35f3ae]===0xe0&&(_0x39d70a[_0x35f3ae+0x1]&0xe0)===0x80||_0x39d70a[_0x35f3ae]===0xed&&(_0x39d70a[_0x35f3ae+0x1]&0xe0)===0xa0)return!0x1;_0x35f3ae+=0x3;}else{if((_0x39d70a[_0x35f3ae]&0xf8)===0xf0){if(_0x35f3ae+0x3>=_0x4ecbaf||(_0x39d70a[_0x35f3ae+0x1]&0xc0)!==0x80||(_0x39d70a[_0x35f3ae+0x2]&0xc0)!==0x80||(_0x39d70a[_0x35f3ae+0x3]&0xc0)!==0x80||_0x39d70a[_0x35f3ae]===0xf0&&(_0x39d70a[_0x35f3ae+0x1]&0xf0)===0x80||_0x39d70a[_0x35f3ae]===0xf4&&_0x39d70a[_0x35f3ae+0x1]>0x8f||_0x39d70a[_0x35f3ae]>0xf4)return!0x1;_0x35f3ae+=0x4;}else return!0x1;}}}return!0x0;}function _0x16edfa(_0x3cb3d9){const _0x4175b9=_0x1ce3de;return _0x1eb823&&typeof _0x3cb3d9==_0x4175b9(0x1eb)&&typeof _0x3cb3d9[_0x4175b9(0x1af)]=='function'&&typeof _0x3cb3d9[_0x4175b9(0x15d)]=='string'&&typeof _0x3cb3d9[_0x4175b9(0x225)]=='function'&&(_0x3cb3d9[Symbol['toStringTag']]===_0x4175b9(0xbd)||_0x3cb3d9[Symbol[_0x4175b9(0x12d)]]===_0x4175b9(0x1b1));}if(re[_0x1ce3de(0xc9)]={'isBlob':_0x16edfa,'isValidStatusCode':_0x4c2c15,'isValidUTF8':_0x1c473e,'tokenChars':_0x3f9af9},_0x2c9cf1)re[_0x1ce3de(0xc9)][_0x1ce3de(0x233)]=function(_0x5c1c3c){const _0x3dac0d=_0x1ce3de;return _0x5c1c3c[_0x3dac0d(0x1e2)]<0x18?_0x1c473e(_0x5c1c3c):_0x2c9cf1(_0x5c1c3c);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x165bc3=Yt;re['exports'][_0x1ce3de(0x233)]=function(_0x2c73b9){const _0x301668=_0x1ce3de;return _0x2c73b9[_0x301668(0x1e2)]<0x20?_0x1c473e(_0x2c73b9):_0x165bc3(_0x2c73b9);};}catch{}}return re[_0x1ce3de(0xc9)];}var Se,Je;function dt(){const _0xc2ef22=_0x2a4944;if(Je)return Se;Je=0x1;const {Writable:_0x46d18f}=_0x414cc8,_0x4eced6=he(),{BINARY_TYPES:_0x5a368e,EMPTY_BUFFER:_0x142142,kStatusCode:_0x29e21b,kWebSocket:_0x36ddcc}=V(),{concat:_0x2645ed,toArrayBuffer:_0x5ab3fb,unmask:_0x5c7925}=ce(),{isValidStatusCode:_0x4b32bf,isValidUTF8:_0x472962}=ne(),_0x4dc66a=Buffer[Symbol[_0xc2ef22(0x238)]],_0x4cb9b5=0x0,_0x5f537d=0x1,_0x2f5284=0x2,_0x3f23bc=0x3,_0x2629e8=0x4,_0x1e5120=0x5,_0x142db0=0x6;class _0x948537 extends _0x46d18f{constructor(_0x4c5ec1={}){const _0x3945d8=_0xc2ef22;super(),this[_0x3945d8(0x1fe)]=_0x4c5ec1['allowSynchronousEvents']!==void 0x0?_0x4c5ec1[_0x3945d8(0x23f)]:!0x0,this[_0x3945d8(0xc1)]=_0x4c5ec1[_0x3945d8(0x16a)]||_0x5a368e[0x0],this[_0x3945d8(0xf0)]=_0x4c5ec1[_0x3945d8(0x1ef)]||{},this[_0x3945d8(0xa2)]=!!_0x4c5ec1['isServer'],this[_0x3945d8(0x1d6)]=_0x4c5ec1[_0x3945d8(0x12a)]|0x0,this[_0x3945d8(0x1bd)]=!!_0x4c5ec1[_0x3945d8(0xa1)],this[_0x36ddcc]=void 0x0,this[_0x3945d8(0x1e0)]=0x0,this[_0x3945d8(0xf4)]=[],this[_0x3945d8(0x227)]=!0x1,this[_0x3945d8(0x201)]=0x0,this[_0x3945d8(0x219)]=void 0x0,this[_0x3945d8(0x15e)]=0x0,this[_0x3945d8(0x143)]=!0x1,this[_0x3945d8(0xfb)]=!0x1,this['_opcode']=0x0,this[_0x3945d8(0x18d)]=0x0,this[_0x3945d8(0xdb)]=0x0,this[_0x3945d8(0xd8)]=[],this['_errored']=!0x1,this[_0x3945d8(0x207)]=!0x1,this['_state']=_0x4cb9b5;}[_0xc2ef22(0x193)](_0x12d10e,_0x30c69e,_0x1df149){const _0x36c4cb=_0xc2ef22;if(this[_0x36c4cb(0x116)]===0x8&&this[_0x36c4cb(0x124)]==_0x4cb9b5)return _0x1df149();this[_0x36c4cb(0x1e0)]+=_0x12d10e[_0x36c4cb(0x1e2)],this[_0x36c4cb(0xf4)]['push'](_0x12d10e),this[_0x36c4cb(0x11f)](_0x1df149);}[_0xc2ef22(0x1ca)](_0x1378d8){const _0xdc231f=_0xc2ef22;if(this[_0xdc231f(0x1e0)]-=_0x1378d8,_0x1378d8===this[_0xdc231f(0xf4)][0x0][_0xdc231f(0x1e2)])return this['_buffers'][_0xdc231f(0x198)]();if(_0x1378d8<this[_0xdc231f(0xf4)][0x0][_0xdc231f(0x1e2)]){const _0x4c12a0=this[_0xdc231f(0xf4)][0x0];return this[_0xdc231f(0xf4)][0x0]=new _0x4dc66a(_0x4c12a0[_0xdc231f(0x1f5)],_0x4c12a0['byteOffset']+_0x1378d8,_0x4c12a0['length']-_0x1378d8),new _0x4dc66a(_0x4c12a0[_0xdc231f(0x1f5)],_0x4c12a0[_0xdc231f(0xd3)],_0x1378d8);}const _0x133c95=Buffer['allocUnsafe'](_0x1378d8);do{const _0x539871=this['_buffers'][0x0],_0x54446f=_0x133c95[_0xdc231f(0x1e2)]-_0x1378d8;_0x1378d8>=_0x539871[_0xdc231f(0x1e2)]?_0x133c95[_0xdc231f(0x1f0)](this[_0xdc231f(0xf4)][_0xdc231f(0x198)](),_0x54446f):(_0x133c95['set'](new Uint8Array(_0x539871[_0xdc231f(0x1f5)],_0x539871[_0xdc231f(0xd3)],_0x1378d8),_0x54446f),this[_0xdc231f(0xf4)][0x0]=new _0x4dc66a(_0x539871['buffer'],_0x539871[_0xdc231f(0xd3)]+_0x1378d8,_0x539871[_0xdc231f(0x1e2)]-_0x1378d8)),_0x1378d8-=_0x539871['length'];}while(_0x1378d8>0x0);return _0x133c95;}['startLoop'](_0x11822d){const _0x2e9d9a=_0xc2ef22;this[_0x2e9d9a(0x207)]=!0x0;do switch(this[_0x2e9d9a(0x124)]){case _0x4cb9b5:this['getInfo'](_0x11822d);break;case _0x5f537d:this[_0x2e9d9a(0x14f)](_0x11822d);break;case _0x2f5284:this['getPayloadLength64'](_0x11822d);break;case _0x3f23bc:this[_0x2e9d9a(0x109)]();break;case _0x2629e8:this[_0x2e9d9a(0x16d)](_0x11822d);break;case _0x1e5120:case _0x142db0:this[_0x2e9d9a(0x207)]=!0x1;return;}while(this['_loop']);this[_0x2e9d9a(0x1c5)]||_0x11822d();}[_0xc2ef22(0x23a)](_0x234c71){const _0x34ce32=_0xc2ef22;if(this[_0x34ce32(0x1e0)]<0x2){this[_0x34ce32(0x207)]=!0x1;return;}const _0x25d182=this['consume'](0x2);if((_0x25d182[0x0]&0x30)!==0x0){const _0x15eda4=this[_0x34ce32(0x110)](RangeError,_0x34ce32(0x15a),!0x0,0x3ea,_0x34ce32(0x117));_0x234c71(_0x15eda4);return;}const _0xabac1e=(_0x25d182[0x0]&0x40)===0x40;if(_0xabac1e&&!this[_0x34ce32(0xf0)][_0x4eced6[_0x34ce32(0xfc)]]){const _0x395caa=this[_0x34ce32(0x110)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x34ce32(0xb6));_0x234c71(_0x395caa);return;}if(this[_0x34ce32(0xfb)]=(_0x25d182[0x0]&0x80)===0x80,this[_0x34ce32(0x116)]=_0x25d182[0x0]&0xf,this[_0x34ce32(0x201)]=_0x25d182[0x1]&0x7f,this[_0x34ce32(0x116)]===0x0){if(_0xabac1e){const _0xe19df9=this[_0x34ce32(0x110)](RangeError,_0x34ce32(0x11c),!0x0,0x3ea,_0x34ce32(0xb6));_0x234c71(_0xe19df9);return;}if(!this[_0x34ce32(0x15e)]){const _0x6718e3=this[_0x34ce32(0x110)](RangeError,_0x34ce32(0x22e),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x234c71(_0x6718e3);return;}this[_0x34ce32(0x116)]=this['_fragmented'];}else{if(this[_0x34ce32(0x116)]===0x1||this[_0x34ce32(0x116)]===0x2){if(this[_0x34ce32(0x15e)]){const _0x10c09a=this[_0x34ce32(0x110)](RangeError,_0x34ce32(0xf5)+this[_0x34ce32(0x116)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x234c71(_0x10c09a);return;}this[_0x34ce32(0x227)]=_0xabac1e;}else{if(this[_0x34ce32(0x116)]>0x7&&this['_opcode']<0xb){if(!this[_0x34ce32(0xfb)]){const _0x57a547=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x34ce32(0xcd));_0x234c71(_0x57a547);return;}if(_0xabac1e){const _0x36533a=this[_0x34ce32(0x110)](RangeError,_0x34ce32(0x11c),!0x0,0x3ea,_0x34ce32(0xb6));_0x234c71(_0x36533a);return;}if(this[_0x34ce32(0x201)]>0x7d||this[_0x34ce32(0x116)]===0x8&&this[_0x34ce32(0x201)]===0x1){const _0x4ebe2d=this['createError'](RangeError,_0x34ce32(0x21d)+this['_payloadLength'],!0x0,0x3ea,_0x34ce32(0x1ed));_0x234c71(_0x4ebe2d);return;}}else{const _0x59e6bf=this[_0x34ce32(0x110)](RangeError,_0x34ce32(0xf5)+this[_0x34ce32(0x116)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x234c71(_0x59e6bf);return;}}}if(!this[_0x34ce32(0xfb)]&&!this[_0x34ce32(0x15e)]&&(this[_0x34ce32(0x15e)]=this[_0x34ce32(0x116)]),this[_0x34ce32(0x143)]=(_0x25d182[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x34ce32(0x143)]){const _0xd784ed=this[_0x34ce32(0x110)](RangeError,_0x34ce32(0x1b7),!0x0,0x3ea,_0x34ce32(0xbe));_0x234c71(_0xd784ed);return;}}else{if(this['_masked']){const _0x4f5f80=this['createError'](RangeError,_0x34ce32(0x130),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x234c71(_0x4f5f80);return;}}this[_0x34ce32(0x201)]===0x7e?this[_0x34ce32(0x124)]=_0x5f537d:this['_payloadLength']===0x7f?this['_state']=_0x2f5284:this['haveLength'](_0x234c71);}[_0xc2ef22(0x14f)](_0x5a4f1c){const _0xa5707a=_0xc2ef22;if(this[_0xa5707a(0x1e0)]<0x2){this[_0xa5707a(0x207)]=!0x1;return;}this[_0xa5707a(0x201)]=this[_0xa5707a(0x1ca)](0x2)[_0xa5707a(0x1f4)](0x0),this[_0xa5707a(0xe4)](_0x5a4f1c);}[_0xc2ef22(0x1d1)](_0x506c74){const _0x7c0e28=_0xc2ef22;if(this[_0x7c0e28(0x1e0)]<0x8){this['_loop']=!0x1;return;}const _0x708f79=this[_0x7c0e28(0x1ca)](0x8),_0xcdd117=_0x708f79[_0x7c0e28(0x1f1)](0x0);if(_0xcdd117>Math[_0x7c0e28(0x168)](0x2,0x15)-0x1){const _0x3d04e1=this['createError'](RangeError,_0x7c0e28(0x1dd),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x506c74(_0x3d04e1);return;}this[_0x7c0e28(0x201)]=_0xcdd117*Math[_0x7c0e28(0x168)](0x2,0x20)+_0x708f79[_0x7c0e28(0x1f1)](0x4),this[_0x7c0e28(0xe4)](_0x506c74);}[_0xc2ef22(0xe4)](_0x3a41c9){const _0x2d58d8=_0xc2ef22;if(this[_0x2d58d8(0x201)]&&this['_opcode']<0x8&&(this[_0x2d58d8(0x18d)]+=this['_payloadLength'],this[_0x2d58d8(0x18d)]>this[_0x2d58d8(0x1d6)]&&this[_0x2d58d8(0x1d6)]>0x0)){const _0x3daf38=this[_0x2d58d8(0x110)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3a41c9(_0x3daf38);return;}this['_masked']?this[_0x2d58d8(0x124)]=_0x3f23bc:this[_0x2d58d8(0x124)]=_0x2629e8;}[_0xc2ef22(0x109)](){const _0x5c5a20=_0xc2ef22;if(this[_0x5c5a20(0x1e0)]<0x4){this['_loop']=!0x1;return;}this[_0x5c5a20(0x219)]=this['consume'](0x4),this['_state']=_0x2629e8;}[_0xc2ef22(0x16d)](_0x3fd2af){const _0xe27dca=_0xc2ef22;let _0x2f5c97=_0x142142;if(this[_0xe27dca(0x201)]){if(this['_bufferedBytes']<this[_0xe27dca(0x201)]){this[_0xe27dca(0x207)]=!0x1;return;}_0x2f5c97=this['consume'](this[_0xe27dca(0x201)]),this['_masked']&&(this[_0xe27dca(0x219)][0x0]|this[_0xe27dca(0x219)][0x1]|this['_mask'][0x2]|this[_0xe27dca(0x219)][0x3])!==0x0&&_0x5c7925(_0x2f5c97,this[_0xe27dca(0x219)]);}if(this['_opcode']>0x7){this[_0xe27dca(0xe8)](_0x2f5c97,_0x3fd2af);return;}if(this[_0xe27dca(0x227)]){this[_0xe27dca(0x124)]=_0x1e5120,this[_0xe27dca(0x144)](_0x2f5c97,_0x3fd2af);return;}_0x2f5c97['length']&&(this[_0xe27dca(0xdb)]=this[_0xe27dca(0x18d)],this[_0xe27dca(0xd8)][_0xe27dca(0x186)](_0x2f5c97)),this[_0xe27dca(0xaf)](_0x3fd2af);}[_0xc2ef22(0x144)](_0x3b961f,_0x208dac){const _0x1ac501=_0xc2ef22;this[_0x1ac501(0xf0)][_0x4eced6[_0x1ac501(0xfc)]][_0x1ac501(0x144)](_0x3b961f,this[_0x1ac501(0xfb)],(_0x1d85d1,_0x1cbf63)=>{const _0x18dc2b=_0x1ac501;if(_0x1d85d1)return _0x208dac(_0x1d85d1);if(_0x1cbf63[_0x18dc2b(0x1e2)]){if(this[_0x18dc2b(0xdb)]+=_0x1cbf63[_0x18dc2b(0x1e2)],this[_0x18dc2b(0xdb)]>this[_0x18dc2b(0x1d6)]&&this[_0x18dc2b(0x1d6)]>0x0){const _0x14abe4=this[_0x18dc2b(0x110)](RangeError,_0x18dc2b(0x166),!0x1,0x3f1,_0x18dc2b(0x1df));_0x208dac(_0x14abe4);return;}this[_0x18dc2b(0xd8)][_0x18dc2b(0x186)](_0x1cbf63);}this[_0x18dc2b(0xaf)](_0x208dac),this[_0x18dc2b(0x124)]===_0x4cb9b5&&this['startLoop'](_0x208dac);});}[_0xc2ef22(0xaf)](_0x439855){const _0x34881f=_0xc2ef22;if(!this[_0x34881f(0xfb)]){this[_0x34881f(0x124)]=_0x4cb9b5;return;}const _0x32cb57=this[_0x34881f(0xdb)],_0xffc460=this['_fragments'];if(this[_0x34881f(0x18d)]=0x0,this[_0x34881f(0xdb)]=0x0,this['_fragmented']=0x0,this[_0x34881f(0xd8)]=[],this[_0x34881f(0x116)]===0x2){let _0x52d22b;this[_0x34881f(0xc1)]==='nodebuffer'?_0x52d22b=_0x2645ed(_0xffc460,_0x32cb57):this['_binaryType']===_0x34881f(0x10d)?_0x52d22b=_0x5ab3fb(_0x2645ed(_0xffc460,_0x32cb57)):this['_binaryType']===_0x34881f(0xab)?_0x52d22b=new Blob(_0xffc460):_0x52d22b=_0xffc460,this[_0x34881f(0x1fe)]?(this[_0x34881f(0x1b8)](_0x34881f(0x213),_0x52d22b,!0x0),this[_0x34881f(0x124)]=_0x4cb9b5):(this['_state']=_0x142db0,setImmediate(()=>{const _0x3ff012=_0x34881f;this['emit']('message',_0x52d22b,!0x0),this[_0x3ff012(0x124)]=_0x4cb9b5,this[_0x3ff012(0x11f)](_0x439855);}));}else{const _0x4c6381=_0x2645ed(_0xffc460,_0x32cb57);if(!this['_skipUTF8Validation']&&!_0x472962(_0x4c6381)){const _0x1298fc=this[_0x34881f(0x110)](Error,_0x34881f(0x223),!0x0,0x3ef,_0x34881f(0x16f));_0x439855(_0x1298fc);return;}this[_0x34881f(0x124)]===_0x1e5120||this[_0x34881f(0x1fe)]?(this[_0x34881f(0x1b8)]('message',_0x4c6381,!0x1),this[_0x34881f(0x124)]=_0x4cb9b5):(this[_0x34881f(0x124)]=_0x142db0,setImmediate(()=>{const _0x5e4538=_0x34881f;this['emit'](_0x5e4538(0x213),_0x4c6381,!0x1),this[_0x5e4538(0x124)]=_0x4cb9b5,this['startLoop'](_0x439855);}));}}[_0xc2ef22(0xe8)](_0x1a705c,_0x37e438){const _0x1e035e=_0xc2ef22;if(this[_0x1e035e(0x116)]===0x8){if(_0x1a705c[_0x1e035e(0x1e2)]===0x0)this[_0x1e035e(0x207)]=!0x1,this[_0x1e035e(0x1b8)](_0x1e035e(0x20d),0x3ed,_0x142142),this['end']();else{const _0xeb487d=_0x1a705c[_0x1e035e(0x1f4)](0x0);if(!_0x4b32bf(_0xeb487d)){const _0x26eff5=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0xeb487d,!0x0,0x3ea,_0x1e035e(0x11d));_0x37e438(_0x26eff5);return;}const _0x6dc2f8=new _0x4dc66a(_0x1a705c[_0x1e035e(0x1f5)],_0x1a705c[_0x1e035e(0xd3)]+0x2,_0x1a705c[_0x1e035e(0x1e2)]-0x2);if(!this['_skipUTF8Validation']&&!_0x472962(_0x6dc2f8)){const _0x4c9c1d=this[_0x1e035e(0x110)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1e035e(0x16f));_0x37e438(_0x4c9c1d);return;}this['_loop']=!0x1,this['emit'](_0x1e035e(0x20d),_0xeb487d,_0x6dc2f8),this[_0x1e035e(0x13b)]();}this[_0x1e035e(0x124)]=_0x4cb9b5;return;}this[_0x1e035e(0x1fe)]?(this['emit'](this[_0x1e035e(0x116)]===0x9?_0x1e035e(0xe9):'pong',_0x1a705c),this[_0x1e035e(0x124)]=_0x4cb9b5):(this['_state']=_0x142db0,setImmediate(()=>{const _0x25627e=_0x1e035e;this[_0x25627e(0x1b8)](this[_0x25627e(0x116)]===0x9?'ping':_0x25627e(0x136),_0x1a705c),this[_0x25627e(0x124)]=_0x4cb9b5,this['startLoop'](_0x37e438);}));}['createError'](_0x5d8d14,_0x591fa1,_0x187fd1,_0x30e3cd,_0x892e08){const _0x37d1a1=_0xc2ef22;this[_0x37d1a1(0x207)]=!0x1,this[_0x37d1a1(0x1c5)]=!0x0;const _0x2998e3=new _0x5d8d14(_0x187fd1?_0x37d1a1(0x20b)+_0x591fa1:_0x591fa1);return Error[_0x37d1a1(0x14d)](_0x2998e3,this[_0x37d1a1(0x110)]),_0x2998e3[_0x37d1a1(0x1a7)]=_0x892e08,_0x2998e3[_0x29e21b]=_0x30e3cd,_0x2998e3;}}return Se=_0x948537,Se;}var Ee,et;function _t(){const _0x1ab7ca=_0x2a4944;if(et)return Ee;et=0x1;const {Duplex:_0xbf4d73}=_0x414cc8,{randomFillSync:_0x125656}=_0x17ca72,_0x364c69=he(),{EMPTY_BUFFER:_0x53ddab,kWebSocket:_0x261742,NOOP:_0x319523}=V(),{isBlob:_0x10b236,isValidStatusCode:_0x1ab2d2}=ne(),{mask:_0x239929,toBuffer:_0x143bad}=ce(),_0x17cd38=Symbol(_0x1ab7ca(0x9c)),_0x2387f9=Buffer[_0x1ab7ca(0x127)](0x4),_0x551af5=0x8*0x400;let _0x2b94e8,_0x537738=_0x551af5;const _0x2efd47=0x0,_0x24ef94=0x1,_0x38375b=0x2;class _0x4353db{constructor(_0x314cca,_0x4461c7,_0x221fe6){const _0x151ddf=_0x1ab7ca;this[_0x151ddf(0xf0)]=_0x4461c7||{},_0x221fe6&&(this[_0x151ddf(0x142)]=_0x221fe6,this[_0x151ddf(0x240)]=Buffer[_0x151ddf(0x127)](0x4)),this['_socket']=_0x314cca,this[_0x151ddf(0x23e)]=!0x0,this[_0x151ddf(0x191)]=!0x1,this['_bufferedBytes']=0x0,this[_0x151ddf(0x1d5)]=[],this['_state']=_0x2efd47,this[_0x151ddf(0x235)]=_0x319523,this[_0x261742]=void 0x0;}static[_0x1ab7ca(0x19f)](_0x556a53,_0x16a851){const _0x454e1c=_0x1ab7ca;let _0x14aaf8,_0x5accdf=!0x1,_0x206702=0x2,_0x19a206=!0x1;_0x16a851[_0x454e1c(0x122)]&&(_0x14aaf8=_0x16a851[_0x454e1c(0x106)]||_0x2387f9,_0x16a851[_0x454e1c(0x1ad)]?_0x16a851[_0x454e1c(0x1ad)](_0x14aaf8):(_0x537738===_0x551af5&&(_0x2b94e8===void 0x0&&(_0x2b94e8=Buffer[_0x454e1c(0x127)](_0x551af5)),_0x125656(_0x2b94e8,0x0,_0x551af5),_0x537738=0x0),_0x14aaf8[0x0]=_0x2b94e8[_0x537738++],_0x14aaf8[0x1]=_0x2b94e8[_0x537738++],_0x14aaf8[0x2]=_0x2b94e8[_0x537738++],_0x14aaf8[0x3]=_0x2b94e8[_0x537738++]),_0x19a206=(_0x14aaf8[0x0]|_0x14aaf8[0x1]|_0x14aaf8[0x2]|_0x14aaf8[0x3])===0x0,_0x206702=0x6);let _0x56f8a2;typeof _0x556a53==_0x454e1c(0x13a)?(!_0x16a851[_0x454e1c(0x122)]||_0x19a206)&&_0x16a851[_0x17cd38]!==void 0x0?_0x56f8a2=_0x16a851[_0x17cd38]:(_0x556a53=Buffer[_0x454e1c(0xf7)](_0x556a53),_0x56f8a2=_0x556a53[_0x454e1c(0x1e2)]):(_0x56f8a2=_0x556a53[_0x454e1c(0x1e2)],_0x5accdf=_0x16a851[_0x454e1c(0x122)]&&_0x16a851[_0x454e1c(0x96)]&&!_0x19a206);let _0x4b9056=_0x56f8a2;_0x56f8a2>=0x10000?(_0x206702+=0x8,_0x4b9056=0x7f):_0x56f8a2>0x7d&&(_0x206702+=0x2,_0x4b9056=0x7e);const _0x468f4e=Buffer[_0x454e1c(0x147)](_0x5accdf?_0x56f8a2+_0x206702:_0x206702);return _0x468f4e[0x0]=_0x16a851[_0x454e1c(0x1d3)]?_0x16a851[_0x454e1c(0xb0)]|0x80:_0x16a851[_0x454e1c(0xb0)],_0x16a851[_0x454e1c(0x128)]&&(_0x468f4e[0x0]|=0x40),_0x468f4e[0x1]=_0x4b9056,_0x4b9056===0x7e?_0x468f4e[_0x454e1c(0x199)](_0x56f8a2,0x2):_0x4b9056===0x7f&&(_0x468f4e[0x2]=_0x468f4e[0x3]=0x0,_0x468f4e[_0x454e1c(0x17a)](_0x56f8a2,0x4,0x6)),_0x16a851[_0x454e1c(0x122)]?(_0x468f4e[0x1]|=0x80,_0x468f4e[_0x206702-0x4]=_0x14aaf8[0x0],_0x468f4e[_0x206702-0x3]=_0x14aaf8[0x1],_0x468f4e[_0x206702-0x2]=_0x14aaf8[0x2],_0x468f4e[_0x206702-0x1]=_0x14aaf8[0x3],_0x19a206?[_0x468f4e,_0x556a53]:_0x5accdf?(_0x239929(_0x556a53,_0x14aaf8,_0x468f4e,_0x206702,_0x56f8a2),[_0x468f4e]):(_0x239929(_0x556a53,_0x14aaf8,_0x556a53,0x0,_0x56f8a2),[_0x468f4e,_0x556a53])):[_0x468f4e,_0x556a53];}['close'](_0x4c0aaa,_0x3f4f80,_0x10aaa5,_0x38fc7f){const _0x152f9c=_0x1ab7ca;let _0x1408e9;if(_0x4c0aaa===void 0x0)_0x1408e9=_0x53ddab;else{if(typeof _0x4c0aaa!=_0x152f9c(0x1a1)||!_0x1ab2d2(_0x4c0aaa))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x3f4f80===void 0x0||!_0x3f4f80['length'])_0x1408e9=Buffer['allocUnsafe'](0x2),_0x1408e9['writeUInt16BE'](_0x4c0aaa,0x0);else{const _0x402860=Buffer[_0x152f9c(0xdd)](_0x3f4f80);if(_0x402860>0x7b)throw new RangeError(_0x152f9c(0x185));_0x1408e9=Buffer[_0x152f9c(0x147)](0x2+_0x402860),_0x1408e9['writeUInt16BE'](_0x4c0aaa,0x0),typeof _0x3f4f80==_0x152f9c(0x13a)?_0x1408e9['write'](_0x3f4f80,0x2):_0x1408e9[_0x152f9c(0x1f0)](_0x3f4f80,0x2);}}const _0x3841a2={[_0x17cd38]:_0x1408e9[_0x152f9c(0x1e2)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x10aaa5,'maskBuffer':this[_0x152f9c(0x240)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x152f9c(0x124)]!==_0x2efd47?this[_0x152f9c(0x1b0)]([this[_0x152f9c(0x173)],_0x1408e9,!0x1,_0x3841a2,_0x38fc7f]):this['sendFrame'](_0x4353db[_0x152f9c(0x19f)](_0x1408e9,_0x3841a2),_0x38fc7f);}['ping'](_0x571c92,_0x4b89fa,_0x5ed4ee){const _0x5452d4=_0x1ab7ca;let _0x50ff9f,_0x18fd52;if(typeof _0x571c92=='string'?(_0x50ff9f=Buffer['byteLength'](_0x571c92),_0x18fd52=!0x1):_0x10b236(_0x571c92)?(_0x50ff9f=_0x571c92[_0x5452d4(0x98)],_0x18fd52=!0x1):(_0x571c92=_0x143bad(_0x571c92),_0x50ff9f=_0x571c92[_0x5452d4(0x1e2)],_0x18fd52=_0x143bad[_0x5452d4(0x96)]),_0x50ff9f>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x59868d={[_0x17cd38]:_0x50ff9f,'fin':!0x0,'generateMask':this[_0x5452d4(0x142)],'mask':_0x4b89fa,'maskBuffer':this[_0x5452d4(0x240)],'opcode':0x9,'readOnly':_0x18fd52,'rsv1':!0x1};_0x10b236(_0x571c92)?this['_state']!==_0x2efd47?this[_0x5452d4(0x1b0)]([this[_0x5452d4(0x146)],_0x571c92,!0x1,_0x59868d,_0x5ed4ee]):this['getBlobData'](_0x571c92,!0x1,_0x59868d,_0x5ed4ee):this['_state']!==_0x2efd47?this[_0x5452d4(0x1b0)]([this[_0x5452d4(0x173)],_0x571c92,!0x1,_0x59868d,_0x5ed4ee]):this[_0x5452d4(0x18b)](_0x4353db[_0x5452d4(0x19f)](_0x571c92,_0x59868d),_0x5ed4ee);}[_0x1ab7ca(0x136)](_0x551a7c,_0x631e7e,_0x27a10d){const _0x439c24=_0x1ab7ca;let _0x30b93a,_0xa59527;if(typeof _0x551a7c=='string'?(_0x30b93a=Buffer['byteLength'](_0x551a7c),_0xa59527=!0x1):_0x10b236(_0x551a7c)?(_0x30b93a=_0x551a7c['size'],_0xa59527=!0x1):(_0x551a7c=_0x143bad(_0x551a7c),_0x30b93a=_0x551a7c['length'],_0xa59527=_0x143bad[_0x439c24(0x96)]),_0x30b93a>0x7d)throw new RangeError(_0x439c24(0xc8));const _0x3f2b05={[_0x17cd38]:_0x30b93a,'fin':!0x0,'generateMask':this[_0x439c24(0x142)],'mask':_0x631e7e,'maskBuffer':this[_0x439c24(0x240)],'opcode':0xa,'readOnly':_0xa59527,'rsv1':!0x1};_0x10b236(_0x551a7c)?this['_state']!==_0x2efd47?this[_0x439c24(0x1b0)]([this[_0x439c24(0x146)],_0x551a7c,!0x1,_0x3f2b05,_0x27a10d]):this[_0x439c24(0x146)](_0x551a7c,!0x1,_0x3f2b05,_0x27a10d):this[_0x439c24(0x124)]!==_0x2efd47?this[_0x439c24(0x1b0)]([this['dispatch'],_0x551a7c,!0x1,_0x3f2b05,_0x27a10d]):this[_0x439c24(0x18b)](_0x4353db[_0x439c24(0x19f)](_0x551a7c,_0x3f2b05),_0x27a10d);}[_0x1ab7ca(0x211)](_0xc09b34,_0x4c910e,_0x36de48){const _0x4902ca=_0x1ab7ca,_0x4bdca9=this[_0x4902ca(0xf0)][_0x364c69[_0x4902ca(0xfc)]];let _0x4bce55=_0x4c910e[_0x4902ca(0x206)]?0x2:0x1,_0x1095cb=_0x4c910e[_0x4902ca(0x1d2)],_0x2ed3b2,_0x1691e0;typeof _0xc09b34==_0x4902ca(0x13a)?(_0x2ed3b2=Buffer[_0x4902ca(0xdd)](_0xc09b34),_0x1691e0=!0x1):_0x10b236(_0xc09b34)?(_0x2ed3b2=_0xc09b34[_0x4902ca(0x98)],_0x1691e0=!0x1):(_0xc09b34=_0x143bad(_0xc09b34),_0x2ed3b2=_0xc09b34[_0x4902ca(0x1e2)],_0x1691e0=_0x143bad['readOnly']),this[_0x4902ca(0x23e)]?(this['_firstFragment']=!0x1,_0x1095cb&&_0x4bdca9&&_0x4bdca9[_0x4902ca(0x151)][_0x4bdca9[_0x4902ca(0xa2)]?_0x4902ca(0x14c):'client_no_context_takeover']&&(_0x1095cb=_0x2ed3b2>=_0x4bdca9[_0x4902ca(0x157)]),this[_0x4902ca(0x191)]=_0x1095cb):(_0x1095cb=!0x1,_0x4bce55=0x0),_0x4c910e['fin']&&(this[_0x4902ca(0x23e)]=!0x0);const _0x210a3d={[_0x17cd38]:_0x2ed3b2,'fin':_0x4c910e[_0x4902ca(0x1d3)],'generateMask':this['_generateMask'],'mask':_0x4c910e[_0x4902ca(0x122)],'maskBuffer':this['_maskBuffer'],'opcode':_0x4bce55,'readOnly':_0x1691e0,'rsv1':_0x1095cb};_0x10b236(_0xc09b34)?this[_0x4902ca(0x124)]!==_0x2efd47?this[_0x4902ca(0x1b0)]([this['getBlobData'],_0xc09b34,this['_compress'],_0x210a3d,_0x36de48]):this['getBlobData'](_0xc09b34,this['_compress'],_0x210a3d,_0x36de48):this['_state']!==_0x2efd47?this[_0x4902ca(0x1b0)]([this[_0x4902ca(0x173)],_0xc09b34,this[_0x4902ca(0x191)],_0x210a3d,_0x36de48]):this[_0x4902ca(0x173)](_0xc09b34,this[_0x4902ca(0x191)],_0x210a3d,_0x36de48);}['getBlobData'](_0x48a40e,_0x581889,_0x390c2b,_0x4778c0){const _0xeb5f64=_0x1ab7ca;this[_0xeb5f64(0x1e0)]+=_0x390c2b[_0x17cd38],this[_0xeb5f64(0x124)]=_0x38375b,_0x48a40e[_0xeb5f64(0x1af)]()[_0xeb5f64(0xf3)](_0x2f8834=>{const _0x27203f=_0xeb5f64;if(this[_0x27203f(0xa8)][_0x27203f(0x12c)]){const _0x4d6344=new Error(_0x27203f(0xd2));process['nextTick'](_0x4497cc,this,_0x4d6344,_0x4778c0);return;}this[_0x27203f(0x1e0)]-=_0x390c2b[_0x17cd38];const _0x43e168=_0x143bad(_0x2f8834);_0x581889?this[_0x27203f(0x173)](_0x43e168,_0x581889,_0x390c2b,_0x4778c0):(this[_0x27203f(0x124)]=_0x2efd47,this['sendFrame'](_0x4353db[_0x27203f(0x19f)](_0x43e168,_0x390c2b),_0x4778c0),this[_0x27203f(0x18a)]());})[_0xeb5f64(0x13f)](_0xcd8e25=>{const _0x36b715=_0xeb5f64;process[_0x36b715(0xc0)](_0x874878,this,_0xcd8e25,_0x4778c0);});}[_0x1ab7ca(0x173)](_0x36b54d,_0x54d25f,_0x5dee05,_0x6272ea){const _0xa4ad49=_0x1ab7ca;if(!_0x54d25f){this['sendFrame'](_0x4353db['frame'](_0x36b54d,_0x5dee05),_0x6272ea);return;}const _0x971c8d=this[_0xa4ad49(0xf0)][_0x364c69[_0xa4ad49(0xfc)]];this[_0xa4ad49(0x1e0)]+=_0x5dee05[_0x17cd38],this['_state']=_0x24ef94,_0x971c8d['compress'](_0x36b54d,_0x5dee05[_0xa4ad49(0x1d3)],(_0x10b5da,_0xf162f5)=>{const _0x3ef53f=_0xa4ad49;if(this['_socket'][_0x3ef53f(0x12c)]){const _0x30a425=new Error(_0x3ef53f(0x1c2));_0x4497cc(this,_0x30a425,_0x6272ea);return;}this[_0x3ef53f(0x1e0)]-=_0x5dee05[_0x17cd38],this[_0x3ef53f(0x124)]=_0x2efd47,_0x5dee05[_0x3ef53f(0x96)]=!0x1,this[_0x3ef53f(0x18b)](_0x4353db[_0x3ef53f(0x19f)](_0xf162f5,_0x5dee05),_0x6272ea),this['dequeue']();});}[_0x1ab7ca(0x18a)](){const _0x1577e7=_0x1ab7ca;for(;this[_0x1577e7(0x124)]===_0x2efd47&&this[_0x1577e7(0x1d5)][_0x1577e7(0x1e2)];){const _0x283581=this[_0x1577e7(0x1d5)][_0x1577e7(0x198)]();this[_0x1577e7(0x1e0)]-=_0x283581[0x3][_0x17cd38],Reflect['apply'](_0x283581[0x0],this,_0x283581[_0x1577e7(0x177)](0x1));}}[_0x1ab7ca(0x1b0)](_0x4e1434){const _0x308595=_0x1ab7ca;this[_0x308595(0x1e0)]+=_0x4e1434[0x3][_0x17cd38],this[_0x308595(0x1d5)][_0x308595(0x186)](_0x4e1434);}['sendFrame'](_0x6f13bf,_0x285259){const _0x353b33=_0x1ab7ca;_0x6f13bf[_0x353b33(0x1e2)]===0x2?(this[_0x353b33(0xa8)][_0x353b33(0x23b)](),this[_0x353b33(0xa8)][_0x353b33(0xd4)](_0x6f13bf[0x0]),this['_socket'][_0x353b33(0xd4)](_0x6f13bf[0x1],_0x285259),this[_0x353b33(0xa8)][_0x353b33(0x13e)]()):this[_0x353b33(0xa8)][_0x353b33(0xd4)](_0x6f13bf[0x0],_0x285259);}}Ee=_0x4353db;function _0x4497cc(_0x1cc7ba,_0x344adf,_0x173f98){const _0x57b3c4=_0x1ab7ca;typeof _0x173f98==_0x57b3c4(0x17d)&&_0x173f98(_0x344adf);for(let _0x4eb9d1=0x0;_0x4eb9d1<_0x1cc7ba['_queue'][_0x57b3c4(0x1e2)];_0x4eb9d1++){const _0xbc0a21=_0x1cc7ba[_0x57b3c4(0x1d5)][_0x4eb9d1],_0x27242a=_0xbc0a21[_0xbc0a21[_0x57b3c4(0x1e2)]-0x1];typeof _0x27242a==_0x57b3c4(0x17d)&&_0x27242a(_0x344adf);}}function _0x874878(_0x3c144d,_0x2f82fd,_0x330149){_0x4497cc(_0x3c144d,_0x2f82fd,_0x330149),_0x3c144d['onerror'](_0x2f82fd);}return Ee;}var xe,tt;function Kt(){const _0x3fd712=_0x2a4944;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xa34e8b,kListener:_0x56b228}=V(),_0x35ee09=Symbol(_0x3fd712(0x1a2)),_0x9878e3=Symbol(_0x3fd712(0xbf)),_0x1f15d0=Symbol(_0x3fd712(0x20a)),_0x59489c=Symbol(_0x3fd712(0x21e)),_0x5c40fa=Symbol('kReason'),_0x2faef1=Symbol(_0x3fd712(0xdc)),_0x47fb39=Symbol(_0x3fd712(0x19d)),_0xe51a0a=Symbol(_0x3fd712(0x175));class _0x3e5f54{constructor(_0x309df3){this[_0x2faef1]=null,this[_0x47fb39]=_0x309df3;}get[_0x3fd712(0x105)](){return this[_0x2faef1];}get['type'](){return this[_0x47fb39];}}Object[_0x3fd712(0x1f9)](_0x3e5f54['prototype'],_0x3fd712(0x105),{'enumerable':!0x0}),Object[_0x3fd712(0x1f9)](_0x3e5f54['prototype'],_0x3fd712(0x15d),{'enumerable':!0x0});class _0x256e05 extends _0x3e5f54{constructor(_0x5aca24,_0xb9464b={}){const _0x2d5731=_0x3fd712;super(_0x5aca24),this[_0x35ee09]=_0xb9464b[_0x2d5731(0x1a7)]===void 0x0?0x0:_0xb9464b[_0x2d5731(0x1a7)],this[_0x5c40fa]=_0xb9464b[_0x2d5731(0x181)]===void 0x0?'':_0xb9464b[_0x2d5731(0x181)],this[_0xe51a0a]=_0xb9464b['wasClean']===void 0x0?!0x1:_0xb9464b[_0x2d5731(0xa9)];}get[_0x3fd712(0x1a7)](){return this[_0x35ee09];}get[_0x3fd712(0x181)](){return this[_0x5c40fa];}get['wasClean'](){return this[_0xe51a0a];}}Object[_0x3fd712(0x1f9)](_0x256e05[_0x3fd712(0x139)],_0x3fd712(0x1a7),{'enumerable':!0x0}),Object['defineProperty'](_0x256e05[_0x3fd712(0x139)],_0x3fd712(0x181),{'enumerable':!0x0}),Object[_0x3fd712(0x1f9)](_0x256e05[_0x3fd712(0x139)],_0x3fd712(0xa9),{'enumerable':!0x0});class _0x4e5505 extends _0x3e5f54{constructor(_0x173eec,_0x1af6ad={}){const _0x259b22=_0x3fd712;super(_0x173eec),this[_0x1f15d0]=_0x1af6ad[_0x259b22(0x10b)]===void 0x0?null:_0x1af6ad[_0x259b22(0x10b)],this[_0x59489c]=_0x1af6ad['message']===void 0x0?'':_0x1af6ad[_0x259b22(0x213)];}get[_0x3fd712(0x10b)](){return this[_0x1f15d0];}get[_0x3fd712(0x213)](){return this[_0x59489c];}}Object['defineProperty'](_0x4e5505[_0x3fd712(0x139)],_0x3fd712(0x10b),{'enumerable':!0x0}),Object[_0x3fd712(0x1f9)](_0x4e5505['prototype'],_0x3fd712(0x213),{'enumerable':!0x0});class _0x137790 extends _0x3e5f54{constructor(_0x406fa8,_0x42ff05={}){const _0x5235d4=_0x3fd712;super(_0x406fa8),this[_0x9878e3]=_0x42ff05[_0x5235d4(0x1f8)]===void 0x0?null:_0x42ff05[_0x5235d4(0x1f8)];}get[_0x3fd712(0x1f8)](){return this[_0x9878e3];}}Object[_0x3fd712(0x1f9)](_0x137790[_0x3fd712(0x139)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x256e05,'ErrorEvent':_0x4e5505,'Event':_0x3e5f54,'EventTarget':{'addEventListener'(_0x430b98,_0x4df926,_0x538406={}){const _0x22e6a9=_0x3fd712;for(const _0x5c8b8f of this[_0x22e6a9(0x17c)](_0x430b98))if(!_0x538406[_0xa34e8b]&&_0x5c8b8f[_0x56b228]===_0x4df926&&!_0x5c8b8f[_0xa34e8b])return;let _0x1bb442;if(_0x430b98==='message')_0x1bb442=function(_0x72c5b6,_0x25335b){const _0x46de9d=_0x22e6a9,_0x8423fe=new _0x137790('message',{'data':_0x25335b?_0x72c5b6:_0x72c5b6[_0x46de9d(0x1ab)]()});_0x8423fe[_0x2faef1]=this,_0x4eedae(_0x4df926,this,_0x8423fe);};else{if(_0x430b98===_0x22e6a9(0xc7))_0x1bb442=function(_0x4d0030,_0xa5ddca){const _0x19b244=_0x22e6a9,_0xb38a4d=new _0x256e05('close',{'code':_0x4d0030,'reason':_0xa5ddca[_0x19b244(0x1ab)](),'wasClean':this['_closeFrameReceived']&&this[_0x19b244(0x12e)]});_0xb38a4d[_0x2faef1]=this,_0x4eedae(_0x4df926,this,_0xb38a4d);};else{if(_0x430b98===_0x22e6a9(0x10b))_0x1bb442=function(_0x535035){const _0x7c1800=_0x22e6a9,_0x35eabf=new _0x4e5505(_0x7c1800(0x10b),{'error':_0x535035,'message':_0x535035[_0x7c1800(0x213)]});_0x35eabf[_0x2faef1]=this,_0x4eedae(_0x4df926,this,_0x35eabf);};else{if(_0x430b98===_0x22e6a9(0xa0))_0x1bb442=function(){const _0x38b7d2=_0x22e6a9,_0x142d6f=new _0x3e5f54(_0x38b7d2(0xa0));_0x142d6f[_0x2faef1]=this,_0x4eedae(_0x4df926,this,_0x142d6f);};else return;}}}_0x1bb442[_0xa34e8b]=!!_0x538406[_0xa34e8b],_0x1bb442[_0x56b228]=_0x4df926,_0x538406[_0x22e6a9(0x182)]?this[_0x22e6a9(0x182)](_0x430b98,_0x1bb442):this['on'](_0x430b98,_0x1bb442);},'removeEventListener'(_0x24cc74,_0x49ea81){const _0x58e5a0=_0x3fd712;for(const _0xfe805e of this['listeners'](_0x24cc74))if(_0xfe805e[_0x56b228]===_0x49ea81&&!_0xfe805e[_0xa34e8b]){this[_0x58e5a0(0x1d7)](_0x24cc74,_0xfe805e);break;}}},'MessageEvent':_0x137790};function _0x4eedae(_0x15eb11,_0x391f3c,_0x468d9a){const _0x1f50f1=_0x3fd712;typeof _0x15eb11==_0x1f50f1(0x1eb)&&_0x15eb11[_0x1f50f1(0x1e9)]?_0x15eb11['handleEvent'][_0x1f50f1(0x242)](_0x15eb11,_0x468d9a):_0x15eb11['call'](_0x391f3c,_0x468d9a);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x23e781}=ne();function _0x29c463(_0x5b77f5,_0x13f0c9,_0xd51f08){const _0x1517df=_0x1141;_0x5b77f5[_0x13f0c9]===void 0x0?_0x5b77f5[_0x13f0c9]=[_0xd51f08]:_0x5b77f5[_0x13f0c9][_0x1517df(0x186)](_0xd51f08);}function _0x41dada(_0x5880b2){const _0x1ccb0e=_0x1141,_0x5b41d4=Object[_0x1ccb0e(0x18c)](null);let _0x32a52e=Object['create'](null),_0x136236=!0x1,_0x3c48e8=!0x1,_0x4dfe5d=!0x1,_0x258847,_0x500779,_0x26e95c=-0x1,_0x456586=-0x1,_0x3bb729=-0x1,_0x359e96=0x0;for(;_0x359e96<_0x5880b2[_0x1ccb0e(0x1e2)];_0x359e96++)if(_0x456586=_0x5880b2[_0x1ccb0e(0x228)](_0x359e96),_0x258847===void 0x0){if(_0x3bb729===-0x1&&_0x23e781[_0x456586]===0x1)_0x26e95c===-0x1&&(_0x26e95c=_0x359e96);else{if(_0x359e96!==0x0&&(_0x456586===0x20||_0x456586===0x9))_0x3bb729===-0x1&&_0x26e95c!==-0x1&&(_0x3bb729=_0x359e96);else{if(_0x456586===0x3b||_0x456586===0x2c){if(_0x26e95c===-0x1)throw new SyntaxError(_0x1ccb0e(0x1d4)+_0x359e96);_0x3bb729===-0x1&&(_0x3bb729=_0x359e96);const _0x19709b=_0x5880b2[_0x1ccb0e(0x177)](_0x26e95c,_0x3bb729);_0x456586===0x2c?(_0x29c463(_0x5b41d4,_0x19709b,_0x32a52e),_0x32a52e=Object['create'](null)):_0x258847=_0x19709b,_0x26e95c=_0x3bb729=-0x1;}else throw new SyntaxError(_0x1ccb0e(0x1d4)+_0x359e96);}}}else{if(_0x500779===void 0x0){if(_0x3bb729===-0x1&&_0x23e781[_0x456586]===0x1)_0x26e95c===-0x1&&(_0x26e95c=_0x359e96);else{if(_0x456586===0x20||_0x456586===0x9)_0x3bb729===-0x1&&_0x26e95c!==-0x1&&(_0x3bb729=_0x359e96);else{if(_0x456586===0x3b||_0x456586===0x2c){if(_0x26e95c===-0x1)throw new SyntaxError(_0x1ccb0e(0x1d4)+_0x359e96);_0x3bb729===-0x1&&(_0x3bb729=_0x359e96),_0x29c463(_0x32a52e,_0x5880b2[_0x1ccb0e(0x177)](_0x26e95c,_0x3bb729),!0x0),_0x456586===0x2c&&(_0x29c463(_0x5b41d4,_0x258847,_0x32a52e),_0x32a52e=Object[_0x1ccb0e(0x18c)](null),_0x258847=void 0x0),_0x26e95c=_0x3bb729=-0x1;}else{if(_0x456586===0x3d&&_0x26e95c!==-0x1&&_0x3bb729===-0x1)_0x500779=_0x5880b2[_0x1ccb0e(0x177)](_0x26e95c,_0x359e96),_0x26e95c=_0x3bb729=-0x1;else throw new SyntaxError(_0x1ccb0e(0x1d4)+_0x359e96);}}}}else{if(_0x3c48e8){if(_0x23e781[_0x456586]!==0x1)throw new SyntaxError(_0x1ccb0e(0x1d4)+_0x359e96);_0x26e95c===-0x1?_0x26e95c=_0x359e96:_0x136236||(_0x136236=!0x0),_0x3c48e8=!0x1;}else{if(_0x4dfe5d){if(_0x23e781[_0x456586]===0x1)_0x26e95c===-0x1&&(_0x26e95c=_0x359e96);else{if(_0x456586===0x22&&_0x26e95c!==-0x1)_0x4dfe5d=!0x1,_0x3bb729=_0x359e96;else{if(_0x456586===0x5c)_0x3c48e8=!0x0;else throw new SyntaxError(_0x1ccb0e(0x1d4)+_0x359e96);}}}else{if(_0x456586===0x22&&_0x5880b2[_0x1ccb0e(0x228)](_0x359e96-0x1)===0x3d)_0x4dfe5d=!0x0;else{if(_0x3bb729===-0x1&&_0x23e781[_0x456586]===0x1)_0x26e95c===-0x1&&(_0x26e95c=_0x359e96);else{if(_0x26e95c!==-0x1&&(_0x456586===0x20||_0x456586===0x9))_0x3bb729===-0x1&&(_0x3bb729=_0x359e96);else{if(_0x456586===0x3b||_0x456586===0x2c){if(_0x26e95c===-0x1)throw new SyntaxError(_0x1ccb0e(0x1d4)+_0x359e96);_0x3bb729===-0x1&&(_0x3bb729=_0x359e96);let _0x4ff0e7=_0x5880b2[_0x1ccb0e(0x177)](_0x26e95c,_0x3bb729);_0x136236&&(_0x4ff0e7=_0x4ff0e7['replace'](/\\/g,''),_0x136236=!0x1),_0x29c463(_0x32a52e,_0x500779,_0x4ff0e7),_0x456586===0x2c&&(_0x29c463(_0x5b41d4,_0x258847,_0x32a52e),_0x32a52e=Object[_0x1ccb0e(0x18c)](null),_0x258847=void 0x0),_0x500779=void 0x0,_0x26e95c=_0x3bb729=-0x1;}else throw new SyntaxError(_0x1ccb0e(0x1d4)+_0x359e96);}}}}}}}if(_0x26e95c===-0x1||_0x4dfe5d||_0x456586===0x20||_0x456586===0x9)throw new SyntaxError(_0x1ccb0e(0x152));_0x3bb729===-0x1&&(_0x3bb729=_0x359e96);const _0x3f956d=_0x5880b2[_0x1ccb0e(0x177)](_0x26e95c,_0x3bb729);return _0x258847===void 0x0?_0x29c463(_0x5b41d4,_0x3f956d,_0x32a52e):(_0x500779===void 0x0?_0x29c463(_0x32a52e,_0x3f956d,!0x0):_0x136236?_0x29c463(_0x32a52e,_0x500779,_0x3f956d[_0x1ccb0e(0xd1)](/\\/g,'')):_0x29c463(_0x32a52e,_0x500779,_0x3f956d),_0x29c463(_0x5b41d4,_0x258847,_0x32a52e)),_0x5b41d4;}function _0x4e181f(_0x1f1341){const _0x41747f=_0x1141;return Object[_0x41747f(0x179)](_0x1f1341)[_0x41747f(0xc2)](_0x1a394f=>{const _0x1dd27e=_0x41747f;let _0x5322cc=_0x1f1341[_0x1a394f];return Array[_0x1dd27e(0x217)](_0x5322cc)||(_0x5322cc=[_0x5322cc]),_0x5322cc[_0x1dd27e(0xc2)](_0x5c88b8=>[_0x1a394f][_0x1dd27e(0x140)](Object[_0x1dd27e(0x179)](_0x5c88b8)[_0x1dd27e(0xc2)](_0xbf0183=>{const _0xfa4b6c=_0x1dd27e;let _0x3130b5=_0x5c88b8[_0xbf0183];return Array[_0xfa4b6c(0x217)](_0x3130b5)||(_0x3130b5=[_0x3130b5]),_0x3130b5[_0xfa4b6c(0xc2)](_0xf7b1fc=>_0xf7b1fc===!0x0?_0xbf0183:_0xbf0183+'='+_0xf7b1fc)['join'](';\x20');}))[_0x1dd27e(0x1fb)](';\x20'))[_0x1dd27e(0x1fb)](',\x20');})[_0x41747f(0x1fb)](',\x20');}return be={'format':_0x4e181f,'parse':_0x41dada},be;}var we,st;function Ie(){const _0x202f45=_0x2a4944;if(st)return we;st=0x1;const _0x475252=_0x5c4aae,_0x12282f=_0x5be42c,_0x39ce19=_0x549c82,_0x2b82ae=_0x23728d,_0x2e9be3=_0x52c71a,{randomBytes:_0x1637bc,createHash:_0x5a5420}=_0x17ca72,{Duplex:_0x19414a,Readable:_0x5af90e}=_0x414cc8,{URL:_0x76c972}=_0x3886dd,_0x1ce60f=he(),_0xbba3b2=dt(),_0x10dc64=_t(),{isBlob:_0xa760d9}=ne(),{BINARY_TYPES:_0x46d75d,EMPTY_BUFFER:_0x298631,GUID:_0x376e0c,kForOnEventAttribute:_0x5d1b4d,kListener:_0x868adb,kStatusCode:_0x5780fa,kWebSocket:_0x2a32fc,NOOP:_0x3f7ba0}=V(),{EventTarget:{addEventListener:_0x307a82,removeEventListener:_0x2c0e58}}=Kt(),{format:_0x168385,parse:_0x412dd0}=pt(),{toBuffer:_0x230be0}=ce(),_0x53a032=0x1e*0x3e8,_0x67286b=Symbol('kAborted'),_0x45929b=[0x8,0xd],_0x35f2f2=[_0x202f45(0x178),_0x202f45(0x1e7),_0x202f45(0x14e),_0x202f45(0x145)],_0xe69a8b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x53ef4d extends _0x475252{constructor(_0x5c998b,_0x832368,_0x2e838c){const _0x329fc4=_0x202f45;super(),this[_0x329fc4(0xc1)]=_0x46d75d[0x0],this['_closeCode']=0x3ee,this[_0x329fc4(0x170)]=!0x1,this[_0x329fc4(0x12e)]=!0x1,this[_0x329fc4(0x1c8)]=_0x298631,this[_0x329fc4(0x95)]=null,this[_0x329fc4(0xc6)]=!0x1,this[_0x329fc4(0xf0)]={},this[_0x329fc4(0xd9)]=!0x1,this[_0x329fc4(0x14b)]='',this['_readyState']=_0x53ef4d[_0x329fc4(0x178)],this[_0x329fc4(0xe6)]=null,this[_0x329fc4(0x149)]=null,this[_0x329fc4(0xa8)]=null,_0x5c998b!==null?(this['_bufferedAmount']=0x0,this[_0x329fc4(0xa2)]=!0x1,this[_0x329fc4(0x204)]=0x0,_0x832368===void 0x0?_0x832368=[]:Array[_0x329fc4(0x217)](_0x832368)||(typeof _0x832368==_0x329fc4(0x1eb)&&_0x832368!==null?(_0x2e838c=_0x832368,_0x832368=[]):_0x832368=[_0x832368]),_0x1f5de8(this,_0x5c998b,_0x832368,_0x2e838c)):(this[_0x329fc4(0xfa)]=_0x2e838c[_0x329fc4(0xfd)],this['_isServer']=!0x0);}get['binaryType'](){const _0xc2583=_0x202f45;return this[_0xc2583(0xc1)];}set[_0x202f45(0x16a)](_0x5ccafc){const _0x547ea0=_0x202f45;_0x46d75d['includes'](_0x5ccafc)&&(this['_binaryType']=_0x5ccafc,this[_0x547ea0(0xe6)]&&(this[_0x547ea0(0xe6)][_0x547ea0(0xc1)]=_0x5ccafc));}get['bufferedAmount'](){const _0x5c1c7d=_0x202f45;return this[_0x5c1c7d(0xa8)]?this['_socket'][_0x5c1c7d(0x1f6)][_0x5c1c7d(0x1e2)]+this[_0x5c1c7d(0x149)][_0x5c1c7d(0x1e0)]:this[_0x5c1c7d(0xff)];}get['extensions'](){const _0x5188ec=_0x202f45;return Object['keys'](this[_0x5188ec(0xf0)])[_0x5188ec(0x1fb)]();}get[_0x202f45(0x21a)](){return this['_paused'];}get['onclose'](){return null;}get[_0x202f45(0x235)](){return null;}get[_0x202f45(0x137)](){return null;}get[_0x202f45(0x1aa)](){return null;}get[_0x202f45(0x190)](){const _0x5da89c=_0x202f45;return this[_0x5da89c(0x14b)];}get[_0x202f45(0x19c)](){const _0x21f141=_0x202f45;return this[_0x21f141(0x10a)];}get[_0x202f45(0x195)](){return this['_url'];}[_0x202f45(0x17f)](_0x2dc689,_0x614712,_0x160381){const _0x3106c0=_0x202f45,_0x3fed54=new _0xbba3b2({'allowSynchronousEvents':_0x160381[_0x3106c0(0x23f)],'binaryType':this[_0x3106c0(0x16a)],'extensions':this[_0x3106c0(0xf0)],'isServer':this['_isServer'],'maxPayload':_0x160381[_0x3106c0(0x12a)],'skipUTF8Validation':_0x160381['skipUTF8Validation']}),_0x3744c5=new _0x10dc64(_0x2dc689,this[_0x3106c0(0xf0)],_0x160381[_0x3106c0(0x1ad)]);this[_0x3106c0(0xe6)]=_0x3fed54,this[_0x3106c0(0x149)]=_0x3744c5,this[_0x3106c0(0xa8)]=_0x2dc689,_0x3fed54[_0x2a32fc]=this,_0x3744c5[_0x2a32fc]=this,_0x2dc689[_0x2a32fc]=this,_0x3fed54['on'](_0x3106c0(0x20d),_0x58ed4f),_0x3fed54['on'](_0x3106c0(0x118),_0x36c0a2),_0x3fed54['on'](_0x3106c0(0x10b),_0x346072),_0x3fed54['on']('message',_0x388284),_0x3fed54['on'](_0x3106c0(0xe9),_0x3fc46c),_0x3fed54['on'](_0x3106c0(0x136),_0x1cc1c9),_0x3744c5[_0x3106c0(0x235)]=_0x5d124e,_0x2dc689[_0x3106c0(0x165)]&&_0x2dc689[_0x3106c0(0x165)](0x0),_0x2dc689['setNoDelay']&&_0x2dc689[_0x3106c0(0x161)](),_0x614712[_0x3106c0(0x1e2)]>0x0&&_0x2dc689['unshift'](_0x614712),_0x2dc689['on']('close',_0x458d56),_0x2dc689['on']('data',_0x431ed0),_0x2dc689['on'](_0x3106c0(0x13b),_0x4fde4e),_0x2dc689['on']('error',_0x47c16c),this['_readyState']=_0x53ef4d[_0x3106c0(0x1e7)],this[_0x3106c0(0x1b8)]('open');}[_0x202f45(0x94)](){const _0xb7fe1c=_0x202f45;if(!this[_0xb7fe1c(0xa8)]){this[_0xb7fe1c(0x10a)]=_0x53ef4d[_0xb7fe1c(0x145)],this[_0xb7fe1c(0x1b8)](_0xb7fe1c(0xc7),this[_0xb7fe1c(0x1cf)],this['_closeMessage']);return;}this['_extensions'][_0x1ce60f[_0xb7fe1c(0xfc)]]&&this[_0xb7fe1c(0xf0)][_0x1ce60f[_0xb7fe1c(0xfc)]][_0xb7fe1c(0xf6)](),this[_0xb7fe1c(0xe6)][_0xb7fe1c(0x236)](),this[_0xb7fe1c(0x10a)]=_0x53ef4d['CLOSED'],this['emit'](_0xb7fe1c(0xc7),this[_0xb7fe1c(0x1cf)],this[_0xb7fe1c(0x1c8)]);}[_0x202f45(0xc7)](_0x13cd92,_0x59e684){const _0x34e252=_0x202f45;if(this['readyState']!==_0x53ef4d[_0x34e252(0x145)]){if(this[_0x34e252(0x19c)]===_0x53ef4d[_0x34e252(0x178)]){_0x241a8d(this,this[_0x34e252(0x222)],_0x34e252(0xe0));return;}if(this[_0x34e252(0x19c)]===_0x53ef4d[_0x34e252(0x14e)]){this[_0x34e252(0x12e)]&&(this[_0x34e252(0x170)]||this[_0x34e252(0xe6)][_0x34e252(0x1f6)][_0x34e252(0xa5)])&&this[_0x34e252(0xa8)][_0x34e252(0x13b)]();return;}this[_0x34e252(0x10a)]=_0x53ef4d[_0x34e252(0x14e)],this[_0x34e252(0x149)][_0x34e252(0xc7)](_0x13cd92,_0x59e684,!this[_0x34e252(0xa2)],_0x3d1ade=>{const _0x4c05e9=_0x34e252;_0x3d1ade||(this[_0x4c05e9(0x12e)]=!0x0,(this['_closeFrameReceived']||this[_0x4c05e9(0xe6)][_0x4c05e9(0x1f6)][_0x4c05e9(0xa5)])&&this['_socket']['end']());}),_0x3b4806(this);}}[_0x202f45(0x15b)](){const _0x2cb4a3=_0x202f45;this[_0x2cb4a3(0x19c)]===_0x53ef4d['CONNECTING']||this[_0x2cb4a3(0x19c)]===_0x53ef4d[_0x2cb4a3(0x145)]||(this[_0x2cb4a3(0xd9)]=!0x0,this['_socket'][_0x2cb4a3(0x15b)]());}[_0x202f45(0xe9)](_0x3054f6,_0x21647e,_0x50db8d){const _0x1467dd=_0x202f45;if(this['readyState']===_0x53ef4d['CONNECTING'])throw new Error(_0x1467dd(0x1dc));if(typeof _0x3054f6==_0x1467dd(0x17d)?(_0x50db8d=_0x3054f6,_0x3054f6=_0x21647e=void 0x0):typeof _0x21647e=='function'&&(_0x50db8d=_0x21647e,_0x21647e=void 0x0),typeof _0x3054f6==_0x1467dd(0x1a1)&&(_0x3054f6=_0x3054f6[_0x1467dd(0x1ab)]()),this[_0x1467dd(0x19c)]!==_0x53ef4d[_0x1467dd(0x1e7)]){_0x5eb9d5(this,_0x3054f6,_0x50db8d);return;}_0x21647e===void 0x0&&(_0x21647e=!this[_0x1467dd(0xa2)]),this[_0x1467dd(0x149)][_0x1467dd(0xe9)](_0x3054f6||_0x298631,_0x21647e,_0x50db8d);}[_0x202f45(0x136)](_0x2a150b,_0x419d19,_0x3e8040){const _0x5ea82f=_0x202f45;if(this['readyState']===_0x53ef4d[_0x5ea82f(0x178)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2a150b=='function'?(_0x3e8040=_0x2a150b,_0x2a150b=_0x419d19=void 0x0):typeof _0x419d19==_0x5ea82f(0x17d)&&(_0x3e8040=_0x419d19,_0x419d19=void 0x0),typeof _0x2a150b=='number'&&(_0x2a150b=_0x2a150b[_0x5ea82f(0x1ab)]()),this[_0x5ea82f(0x19c)]!==_0x53ef4d[_0x5ea82f(0x1e7)]){_0x5eb9d5(this,_0x2a150b,_0x3e8040);return;}_0x419d19===void 0x0&&(_0x419d19=!this['_isServer']),this['_sender'][_0x5ea82f(0x136)](_0x2a150b||_0x298631,_0x419d19,_0x3e8040);}[_0x202f45(0x1e6)](){const _0x1f0b21=_0x202f45;this['readyState']===_0x53ef4d[_0x1f0b21(0x178)]||this['readyState']===_0x53ef4d['CLOSED']||(this[_0x1f0b21(0xd9)]=!0x1,this[_0x1f0b21(0xe6)]['_writableState'][_0x1f0b21(0xec)]||this[_0x1f0b21(0xa8)][_0x1f0b21(0x1e6)]());}[_0x202f45(0x211)](_0x33adc2,_0x272bdf,_0x360ead){const _0x5cca6d=_0x202f45;if(this[_0x5cca6d(0x19c)]===_0x53ef4d[_0x5cca6d(0x178)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x272bdf=='function'&&(_0x360ead=_0x272bdf,_0x272bdf={}),typeof _0x33adc2=='number'&&(_0x33adc2=_0x33adc2[_0x5cca6d(0x1ab)]()),this[_0x5cca6d(0x19c)]!==_0x53ef4d[_0x5cca6d(0x1e7)]){_0x5eb9d5(this,_0x33adc2,_0x360ead);return;}const _0x9d95df={'binary':typeof _0x33adc2!=_0x5cca6d(0x13a),'mask':!this[_0x5cca6d(0xa2)],'compress':!0x0,'fin':!0x0,..._0x272bdf};this[_0x5cca6d(0xf0)][_0x1ce60f[_0x5cca6d(0xfc)]]||(_0x9d95df[_0x5cca6d(0x1d2)]=!0x1),this[_0x5cca6d(0x149)][_0x5cca6d(0x211)](_0x33adc2||_0x298631,_0x9d95df,_0x360ead);}['terminate'](){const _0x5e15a8=_0x202f45;if(this[_0x5e15a8(0x19c)]!==_0x53ef4d[_0x5e15a8(0x145)]){if(this[_0x5e15a8(0x19c)]===_0x53ef4d[_0x5e15a8(0x178)]){_0x241a8d(this,this['_req'],_0x5e15a8(0xe0));return;}this['_socket']&&(this['_readyState']=_0x53ef4d[_0x5e15a8(0x14e)],this[_0x5e15a8(0xa8)]['destroy']());}}}Object['defineProperty'](_0x53ef4d,_0x202f45(0x178),{'enumerable':!0x0,'value':_0x35f2f2[_0x202f45(0xa4)]('CONNECTING')}),Object[_0x202f45(0x1f9)](_0x53ef4d[_0x202f45(0x139)],'CONNECTING',{'enumerable':!0x0,'value':_0x35f2f2[_0x202f45(0xa4)](_0x202f45(0x178))}),Object[_0x202f45(0x1f9)](_0x53ef4d,_0x202f45(0x1e7),{'enumerable':!0x0,'value':_0x35f2f2[_0x202f45(0xa4)](_0x202f45(0x1e7))}),Object[_0x202f45(0x1f9)](_0x53ef4d[_0x202f45(0x139)],_0x202f45(0x1e7),{'enumerable':!0x0,'value':_0x35f2f2[_0x202f45(0xa4)]('OPEN')}),Object[_0x202f45(0x1f9)](_0x53ef4d,_0x202f45(0x14e),{'enumerable':!0x0,'value':_0x35f2f2[_0x202f45(0xa4)](_0x202f45(0x14e))}),Object[_0x202f45(0x1f9)](_0x53ef4d[_0x202f45(0x139)],_0x202f45(0x14e),{'enumerable':!0x0,'value':_0x35f2f2[_0x202f45(0xa4)](_0x202f45(0x14e))}),Object[_0x202f45(0x1f9)](_0x53ef4d,_0x202f45(0x145),{'enumerable':!0x0,'value':_0x35f2f2[_0x202f45(0xa4)](_0x202f45(0x145))}),Object[_0x202f45(0x1f9)](_0x53ef4d['prototype'],_0x202f45(0x145),{'enumerable':!0x0,'value':_0x35f2f2['indexOf'](_0x202f45(0x145))}),['binaryType',_0x202f45(0x1fc),_0x202f45(0x1ef),_0x202f45(0x21a),_0x202f45(0x190),'readyState',_0x202f45(0x195)][_0x202f45(0xed)](_0x3d84a7=>{const _0x53108e=_0x202f45;Object[_0x53108e(0x1f9)](_0x53ef4d[_0x53108e(0x139)],_0x3d84a7,{'enumerable':!0x0});}),['open',_0x202f45(0x10b),_0x202f45(0xc7),'message']['forEach'](_0x398994=>{const _0x1e8d81=_0x202f45;Object[_0x1e8d81(0x1f9)](_0x53ef4d[_0x1e8d81(0x139)],'on'+_0x398994,{'enumerable':!0x0,'get'(){for(const _0x58e065 of this['listeners'](_0x398994))if(_0x58e065[_0x5d1b4d])return _0x58e065[_0x868adb];return null;},'set'(_0x3d2758){for(const _0x8375b0 of this['listeners'](_0x398994))if(_0x8375b0[_0x5d1b4d]){this['removeListener'](_0x398994,_0x8375b0);break;}typeof _0x3d2758=='function'&&this['addEventListener'](_0x398994,_0x3d2758,{[_0x5d1b4d]:!0x0});}});}),_0x53ef4d[_0x202f45(0x139)][_0x202f45(0x16b)]=_0x307a82,_0x53ef4d[_0x202f45(0x139)][_0x202f45(0x1b3)]=_0x2c0e58,we=_0x53ef4d;function _0x1f5de8(_0x4210c7,_0x34ab8b,_0x2a616e,_0x23a2f4){const _0x3f5d8f=_0x202f45,_0xd254ca={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x45929b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x23a2f4,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3f5d8f(0x20e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4210c7[_0x3f5d8f(0xfa)]=_0xd254ca[_0x3f5d8f(0xfd)],!_0x45929b[_0x3f5d8f(0x21f)](_0xd254ca['protocolVersion']))throw new RangeError(_0x3f5d8f(0x19e)+_0xd254ca[_0x3f5d8f(0x180)]+_0x3f5d8f(0xd5)+_0x45929b['join'](',\x20')+')');let _0x2a508b;if(_0x34ab8b instanceof _0x76c972)_0x2a508b=_0x34ab8b;else try{_0x2a508b=new _0x76c972(_0x34ab8b);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x34ab8b);}_0x2a508b['protocol']===_0x3f5d8f(0xbc)?_0x2a508b[_0x3f5d8f(0x190)]=_0x3f5d8f(0x226):_0x2a508b[_0x3f5d8f(0x190)]===_0x3f5d8f(0xf8)&&(_0x2a508b['protocol']='wss:'),_0x4210c7[_0x3f5d8f(0x132)]=_0x2a508b[_0x3f5d8f(0x212)];const _0x500bc8=_0x2a508b[_0x3f5d8f(0x190)]===_0x3f5d8f(0x18f),_0x1da3fb=_0x2a508b[_0x3f5d8f(0x190)]===_0x3f5d8f(0x232);let _0x2ccb02;if(_0x2a508b[_0x3f5d8f(0x190)]!==_0x3f5d8f(0x226)&&!_0x500bc8&&!_0x1da3fb?_0x2ccb02=_0x3f5d8f(0x91):_0x1da3fb&&!_0x2a508b['pathname']?_0x2ccb02=_0x3f5d8f(0x1b6):_0x2a508b['hash']&&(_0x2ccb02=_0x3f5d8f(0x1a6)),_0x2ccb02){const _0x1e078c=new SyntaxError(_0x2ccb02);if(_0x4210c7[_0x3f5d8f(0x204)]===0x0)throw _0x1e078c;_0x5eea0b(_0x4210c7,_0x1e078c);return;}const _0x397537=_0x500bc8?0x1bb:0x50,_0xb5602f=_0x1637bc(0x10)[_0x3f5d8f(0x1ab)](_0x3f5d8f(0x203)),_0x5b1ce8=_0x500bc8?_0x12282f['request']:_0x39ce19[_0x3f5d8f(0x10e)],_0x44c6bf=new Set();let _0x4fcdf0;if(_0xd254ca[_0x3f5d8f(0xa3)]=_0xd254ca['createConnection']||(_0x500bc8?_0x4c96b2:_0x5e6dd7),_0xd254ca[_0x3f5d8f(0xee)]=_0xd254ca[_0x3f5d8f(0xee)]||_0x397537,_0xd254ca[_0x3f5d8f(0x141)]=_0x2a508b['port']||_0x397537,_0xd254ca['host']=_0x2a508b[_0x3f5d8f(0xd6)][_0x3f5d8f(0x125)]('[')?_0x2a508b[_0x3f5d8f(0xd6)][_0x3f5d8f(0x177)](0x1,-0x1):_0x2a508b[_0x3f5d8f(0xd6)],_0xd254ca[_0x3f5d8f(0xc4)]={..._0xd254ca[_0x3f5d8f(0xc4)],'Sec-WebSocket-Version':_0xd254ca[_0x3f5d8f(0x180)],'Sec-WebSocket-Key':_0xb5602f,'Connection':'Upgrade','Upgrade':_0x3f5d8f(0x188)},_0xd254ca[_0x3f5d8f(0x1bf)]=_0x2a508b['pathname']+_0x2a508b[_0x3f5d8f(0x92)],_0xd254ca[_0x3f5d8f(0x112)]=_0xd254ca[_0x3f5d8f(0xb5)],_0xd254ca[_0x3f5d8f(0xde)]&&(_0x4fcdf0=new _0x1ce60f(_0xd254ca[_0x3f5d8f(0xde)]!==!0x0?_0xd254ca[_0x3f5d8f(0xde)]:{},!0x1,_0xd254ca['maxPayload']),_0xd254ca[_0x3f5d8f(0xc4)][_0x3f5d8f(0x1a3)]=_0x168385({[_0x1ce60f['extensionName']]:_0x4fcdf0[_0x3f5d8f(0x101)]()})),_0x2a616e[_0x3f5d8f(0x1e2)]){for(const _0x9443be of _0x2a616e){if(typeof _0x9443be!=_0x3f5d8f(0x13a)||!_0xe69a8b[_0x3f5d8f(0x1cd)](_0x9443be)||_0x44c6bf[_0x3f5d8f(0x220)](_0x9443be))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x44c6bf[_0x3f5d8f(0x158)](_0x9443be);}_0xd254ca[_0x3f5d8f(0xc4)][_0x3f5d8f(0x22d)]=_0x2a616e[_0x3f5d8f(0x1fb)](',');}if(_0xd254ca['origin']&&(_0xd254ca[_0x3f5d8f(0x180)]<0xd?_0xd254ca[_0x3f5d8f(0xc4)]['Sec-WebSocket-Origin']=_0xd254ca[_0x3f5d8f(0xcf)]:_0xd254ca[_0x3f5d8f(0xc4)][_0x3f5d8f(0xe1)]=_0xd254ca[_0x3f5d8f(0xcf)]),(_0x2a508b[_0x3f5d8f(0x126)]||_0x2a508b[_0x3f5d8f(0x189)])&&(_0xd254ca[_0x3f5d8f(0x169)]=_0x2a508b[_0x3f5d8f(0x126)]+':'+_0x2a508b[_0x3f5d8f(0x189)]),_0x1da3fb){const _0x5194e5=_0xd254ca[_0x3f5d8f(0x1bf)][_0x3f5d8f(0x197)](':');_0xd254ca[_0x3f5d8f(0x12f)]=_0x5194e5[0x0],_0xd254ca[_0x3f5d8f(0x1bf)]=_0x5194e5[0x1];}let _0x5d386b;if(_0xd254ca[_0x3f5d8f(0x9e)]){if(_0x4210c7['_redirects']===0x0){_0x4210c7[_0x3f5d8f(0x164)]=_0x1da3fb,_0x4210c7[_0x3f5d8f(0xea)]=_0x500bc8,_0x4210c7[_0x3f5d8f(0x160)]=_0x1da3fb?_0xd254ca['socketPath']:_0x2a508b[_0x3f5d8f(0x1c7)];const _0x225b60=_0x23a2f4&&_0x23a2f4[_0x3f5d8f(0xc4)];if(_0x23a2f4={..._0x23a2f4,'headers':{}},_0x225b60){for(const [_0x56ec98,_0x5c0a2f]of Object['entries'](_0x225b60))_0x23a2f4[_0x3f5d8f(0xc4)][_0x56ec98[_0x3f5d8f(0x21b)]()]=_0x5c0a2f;}}else{if(_0x4210c7[_0x3f5d8f(0xeb)](_0x3f5d8f(0x9b))===0x0){const _0x253877=_0x1da3fb?_0x4210c7[_0x3f5d8f(0x164)]?_0xd254ca[_0x3f5d8f(0x12f)]===_0x4210c7[_0x3f5d8f(0x160)]:!0x1:_0x4210c7[_0x3f5d8f(0x164)]?!0x1:_0x2a508b[_0x3f5d8f(0x1c7)]===_0x4210c7[_0x3f5d8f(0x160)];(!_0x253877||_0x4210c7[_0x3f5d8f(0xea)]&&!_0x500bc8)&&(delete _0xd254ca[_0x3f5d8f(0xc4)][_0x3f5d8f(0x184)],delete _0xd254ca[_0x3f5d8f(0xc4)][_0x3f5d8f(0x163)],_0x253877||delete _0xd254ca['headers']['host'],_0xd254ca['auth']=void 0x0);}}_0xd254ca['auth']&&!_0x23a2f4[_0x3f5d8f(0xc4)][_0x3f5d8f(0x184)]&&(_0x23a2f4['headers'][_0x3f5d8f(0x184)]=_0x3f5d8f(0x1b2)+Buffer[_0x3f5d8f(0xf7)](_0xd254ca[_0x3f5d8f(0x169)])[_0x3f5d8f(0x1ab)](_0x3f5d8f(0x203))),_0x5d386b=_0x4210c7[_0x3f5d8f(0x222)]=_0x5b1ce8(_0xd254ca),_0x4210c7[_0x3f5d8f(0x204)]&&_0x4210c7[_0x3f5d8f(0x1b8)](_0x3f5d8f(0x9b),_0x4210c7[_0x3f5d8f(0x195)],_0x5d386b);}else _0x5d386b=_0x4210c7[_0x3f5d8f(0x222)]=_0x5b1ce8(_0xd254ca);_0xd254ca[_0x3f5d8f(0x112)]&&_0x5d386b['on'](_0x3f5d8f(0x112),()=>{const _0x3e82a5=_0x3f5d8f;_0x241a8d(_0x4210c7,_0x5d386b,_0x3e82a5(0x11e));}),_0x5d386b['on'](_0x3f5d8f(0x10b),_0x71180f=>{const _0x531209=_0x3f5d8f;_0x5d386b===null||_0x5d386b[_0x67286b]||(_0x5d386b=_0x4210c7[_0x531209(0x222)]=null,_0x5eea0b(_0x4210c7,_0x71180f));}),_0x5d386b['on'](_0x3f5d8f(0x196),_0x22da5c=>{const _0x61a990=_0x3f5d8f,_0x21dd17=_0x22da5c[_0x61a990(0xc4)][_0x61a990(0x1ce)],_0x19c196=_0x22da5c[_0x61a990(0xca)];if(_0x21dd17&&_0xd254ca['followRedirects']&&_0x19c196>=0x12c&&_0x19c196<0x190){if(++_0x4210c7['_redirects']>_0xd254ca['maxRedirects']){_0x241a8d(_0x4210c7,_0x5d386b,'Maximum\x20redirects\x20exceeded');return;}_0x5d386b[_0x61a990(0x9f)]();let _0x3ed2e8;try{_0x3ed2e8=new _0x76c972(_0x21dd17,_0x34ab8b);}catch{const _0xeb1153=new SyntaxError(_0x61a990(0x192)+_0x21dd17);_0x5eea0b(_0x4210c7,_0xeb1153);return;}_0x1f5de8(_0x4210c7,_0x3ed2e8,_0x2a616e,_0x23a2f4);}else _0x4210c7[_0x61a990(0x1b8)]('unexpected-response',_0x5d386b,_0x22da5c)||_0x241a8d(_0x4210c7,_0x5d386b,'Unexpected\x20server\x20response:\x20'+_0x22da5c[_0x61a990(0xca)]);}),_0x5d386b['on'](_0x3f5d8f(0x1cc),(_0x1b7162,_0x116660,_0x2f14fc)=>{const _0x47f578=_0x3f5d8f;if(_0x4210c7[_0x47f578(0x1b8)](_0x47f578(0x1cc),_0x1b7162),_0x4210c7[_0x47f578(0x19c)]!==_0x53ef4d['CONNECTING'])return;_0x5d386b=_0x4210c7['_req']=null;const _0x293a4f=_0x1b7162[_0x47f578(0xc4)]['upgrade'];if(_0x293a4f===void 0x0||_0x293a4f[_0x47f578(0x21b)]()!==_0x47f578(0x188)){_0x241a8d(_0x4210c7,_0x116660,_0x47f578(0x23d));return;}const _0x489fd2=_0x5a5420(_0x47f578(0x1c0))[_0x47f578(0xb2)](_0xb5602f+_0x376e0c)[_0x47f578(0x121)]('base64');if(_0x1b7162[_0x47f578(0xc4)]['sec-websocket-accept']!==_0x489fd2){_0x241a8d(_0x4210c7,_0x116660,_0x47f578(0x114));return;}const _0x2a2ad2=_0x1b7162['headers'][_0x47f578(0x1d8)];let _0x4b297b;if(_0x2a2ad2!==void 0x0?_0x44c6bf['size']?_0x44c6bf[_0x47f578(0x220)](_0x2a2ad2)||(_0x4b297b=_0x47f578(0x19b)):_0x4b297b=_0x47f578(0x1a9):_0x44c6bf[_0x47f578(0x98)]&&(_0x4b297b=_0x47f578(0x93)),_0x4b297b){_0x241a8d(_0x4210c7,_0x116660,_0x4b297b);return;}_0x2a2ad2&&(_0x4210c7[_0x47f578(0x14b)]=_0x2a2ad2);const _0x5b22bf=_0x1b7162[_0x47f578(0xc4)]['sec-websocket-extensions'];if(_0x5b22bf!==void 0x0){if(!_0x4fcdf0){_0x241a8d(_0x4210c7,_0x116660,_0x47f578(0x1c1));return;}let _0x247ff0;try{_0x247ff0=_0x412dd0(_0x5b22bf);}catch{_0x241a8d(_0x4210c7,_0x116660,_0x47f578(0x155));return;}const _0x482dc8=Object[_0x47f578(0x179)](_0x247ff0);if(_0x482dc8[_0x47f578(0x1e2)]!==0x1||_0x482dc8[0x0]!==_0x1ce60f[_0x47f578(0xfc)]){_0x241a8d(_0x4210c7,_0x116660,_0x47f578(0x21c));return;}try{_0x4fcdf0[_0x47f578(0xe5)](_0x247ff0[_0x1ce60f[_0x47f578(0xfc)]]);}catch{_0x241a8d(_0x4210c7,_0x116660,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4210c7[_0x47f578(0xf0)][_0x1ce60f['extensionName']]=_0x4fcdf0;}_0x4210c7['setSocket'](_0x116660,_0x2f14fc,{'allowSynchronousEvents':_0xd254ca['allowSynchronousEvents'],'generateMask':_0xd254ca[_0x47f578(0x1ad)],'maxPayload':_0xd254ca['maxPayload'],'skipUTF8Validation':_0xd254ca['skipUTF8Validation']});}),_0xd254ca[_0x3f5d8f(0x22a)]?_0xd254ca['finishRequest'](_0x5d386b,_0x4210c7):_0x5d386b[_0x3f5d8f(0x13b)]();}function _0x5eea0b(_0x2ab045,_0x1bffcb){const _0xde291b=_0x202f45;_0x2ab045[_0xde291b(0x10a)]=_0x53ef4d[_0xde291b(0x14e)],_0x2ab045[_0xde291b(0xc6)]=!0x0,_0x2ab045[_0xde291b(0x1b8)](_0xde291b(0x10b),_0x1bffcb),_0x2ab045[_0xde291b(0x94)]();}function _0x5e6dd7(_0x494ba5){const _0x4acafd=_0x202f45;return _0x494ba5[_0x4acafd(0x1bf)]=_0x494ba5[_0x4acafd(0x12f)],_0x2b82ae[_0x4acafd(0x100)](_0x494ba5);}function _0x4c96b2(_0x17aa84){const _0x4962ae=_0x202f45;return _0x17aa84[_0x4962ae(0x1bf)]=void 0x0,!_0x17aa84['servername']&&_0x17aa84['servername']!==''&&(_0x17aa84[_0x4962ae(0xe7)]=_0x2b82ae[_0x4962ae(0xfe)](_0x17aa84['host'])?'':_0x17aa84[_0x4962ae(0x1c7)]),_0x2e9be3[_0x4962ae(0x100)](_0x17aa84);}function _0x241a8d(_0x58aac7,_0x6935dd,_0x5192dd){const _0x313342=_0x202f45;_0x58aac7[_0x313342(0x10a)]=_0x53ef4d[_0x313342(0x14e)];const _0x21c2f5=new Error(_0x5192dd);Error[_0x313342(0x14d)](_0x21c2f5,_0x241a8d),_0x6935dd['setHeader']?(_0x6935dd[_0x67286b]=!0x0,_0x6935dd[_0x313342(0x9f)](),_0x6935dd[_0x313342(0x15c)]&&!_0x6935dd[_0x313342(0x15c)][_0x313342(0x12c)]&&_0x6935dd['socket'][_0x313342(0xad)](),process['nextTick'](_0x5eea0b,_0x58aac7,_0x21c2f5)):(_0x6935dd['destroy'](_0x21c2f5),_0x6935dd[_0x313342(0x182)](_0x313342(0x10b),_0x58aac7[_0x313342(0x1b8)]['bind'](_0x58aac7,_0x313342(0x10b))),_0x6935dd[_0x313342(0x182)](_0x313342(0xc7),_0x58aac7[_0x313342(0x94)]['bind'](_0x58aac7)));}function _0x5eb9d5(_0x51c786,_0xba11d,_0x29923d){const _0x158ff7=_0x202f45;if(_0xba11d){const _0x3da585=_0xa760d9(_0xba11d)?_0xba11d[_0x158ff7(0x98)]:_0x230be0(_0xba11d)[_0x158ff7(0x1e2)];_0x51c786[_0x158ff7(0xa8)]?_0x51c786[_0x158ff7(0x149)][_0x158ff7(0x1e0)]+=_0x3da585:_0x51c786['_bufferedAmount']+=_0x3da585;}if(_0x29923d){const _0x1a97e9=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x51c786[_0x158ff7(0x19c)]+'\x20('+_0x35f2f2[_0x51c786[_0x158ff7(0x19c)]]+')');process['nextTick'](_0x29923d,_0x1a97e9);}}function _0x58ed4f(_0x48488e,_0x13e19e){const _0x3abe93=_0x202f45,_0x247446=this[_0x2a32fc];_0x247446['_closeFrameReceived']=!0x0,_0x247446['_closeMessage']=_0x13e19e,_0x247446[_0x3abe93(0x1cf)]=_0x48488e,_0x247446[_0x3abe93(0xa8)][_0x2a32fc]!==void 0x0&&(_0x247446[_0x3abe93(0xa8)][_0x3abe93(0x1d7)](_0x3abe93(0x1f8),_0x431ed0),process[_0x3abe93(0xc0)](_0x58abf6,_0x247446['_socket']),_0x48488e===0x3ed?_0x247446[_0x3abe93(0xc7)]():_0x247446['close'](_0x48488e,_0x13e19e));}function _0x36c0a2(){const _0x9056b7=_0x202f45,_0x3a3c06=this[_0x2a32fc];_0x3a3c06[_0x9056b7(0x21a)]||_0x3a3c06[_0x9056b7(0xa8)][_0x9056b7(0x1e6)]();}function _0x346072(_0x4ef16e){const _0x5dbe29=_0x202f45,_0x5a2991=this[_0x2a32fc];_0x5a2991[_0x5dbe29(0xa8)][_0x2a32fc]!==void 0x0&&(_0x5a2991['_socket']['removeListener']('data',_0x431ed0),process['nextTick'](_0x58abf6,_0x5a2991['_socket']),_0x5a2991['close'](_0x4ef16e[_0x5780fa])),_0x5a2991[_0x5dbe29(0xc6)]||(_0x5a2991[_0x5dbe29(0xc6)]=!0x0,_0x5a2991[_0x5dbe29(0x1b8)]('error',_0x4ef16e));}function _0x3d83e2(){this[_0x2a32fc]['emitClose']();}function _0x388284(_0x33b26c,_0x5c6fab){this[_0x2a32fc]['emit']('message',_0x33b26c,_0x5c6fab);}function _0x3fc46c(_0x428fc1){const _0x148cb3=_0x202f45,_0x51bdf3=this[_0x2a32fc];_0x51bdf3[_0x148cb3(0xfa)]&&_0x51bdf3[_0x148cb3(0x136)](_0x428fc1,!this[_0x148cb3(0xa2)],_0x3f7ba0),_0x51bdf3[_0x148cb3(0x1b8)](_0x148cb3(0xe9),_0x428fc1);}function _0x1cc1c9(_0x52c543){const _0x30bf1e=_0x202f45;this[_0x2a32fc][_0x30bf1e(0x1b8)](_0x30bf1e(0x136),_0x52c543);}function _0x58abf6(_0x5386a6){const _0x4df81c=_0x202f45;_0x5386a6[_0x4df81c(0x1e6)]();}function _0x5d124e(_0x3754e7){const _0x4ac915=_0x202f45,_0x18f76a=this[_0x2a32fc];_0x18f76a[_0x4ac915(0x19c)]!==_0x53ef4d[_0x4ac915(0x145)]&&(_0x18f76a[_0x4ac915(0x19c)]===_0x53ef4d[_0x4ac915(0x1e7)]&&(_0x18f76a['_readyState']=_0x53ef4d['CLOSING'],_0x3b4806(_0x18f76a)),this[_0x4ac915(0xa8)][_0x4ac915(0x13b)](),_0x18f76a[_0x4ac915(0xc6)]||(_0x18f76a['_errorEmitted']=!0x0,_0x18f76a[_0x4ac915(0x1b8)](_0x4ac915(0x10b),_0x3754e7)));}function _0x3b4806(_0x529b1e){const _0x54aabc=_0x202f45;_0x529b1e[_0x54aabc(0x95)]=setTimeout(_0x529b1e[_0x54aabc(0xa8)][_0x54aabc(0xad)][_0x54aabc(0x1c3)](_0x529b1e[_0x54aabc(0xa8)]),_0x53a032);}function _0x458d56(){const _0x2e0bcd=_0x202f45,_0x22de2d=this[_0x2a32fc];this[_0x2e0bcd(0x1d7)]('close',_0x458d56),this['removeListener']('data',_0x431ed0),this['removeListener'](_0x2e0bcd(0x13b),_0x4fde4e),_0x22de2d[_0x2e0bcd(0x10a)]=_0x53ef4d['CLOSING'];let _0x1feeec;!this['_readableState'][_0x2e0bcd(0x1c9)]&&!_0x22de2d[_0x2e0bcd(0x170)]&&!_0x22de2d['_receiver']['_writableState'][_0x2e0bcd(0xa5)]&&(_0x1feeec=_0x22de2d[_0x2e0bcd(0xa8)]['read']())!==null&&_0x22de2d['_receiver']['write'](_0x1feeec),_0x22de2d[_0x2e0bcd(0xe6)][_0x2e0bcd(0x13b)](),this[_0x2a32fc]=void 0x0,clearTimeout(_0x22de2d[_0x2e0bcd(0x95)]),_0x22de2d[_0x2e0bcd(0xe6)][_0x2e0bcd(0x1f6)][_0x2e0bcd(0x1fa)]||_0x22de2d[_0x2e0bcd(0xe6)]['_writableState'][_0x2e0bcd(0xa5)]?_0x22de2d[_0x2e0bcd(0x94)]():(_0x22de2d[_0x2e0bcd(0xe6)]['on'](_0x2e0bcd(0x10b),_0x3d83e2),_0x22de2d[_0x2e0bcd(0xe6)]['on'](_0x2e0bcd(0x1b9),_0x3d83e2));}function _0x431ed0(_0x1cdc74){const _0x5cde9f=_0x202f45;this[_0x2a32fc][_0x5cde9f(0xe6)][_0x5cde9f(0xd4)](_0x1cdc74)||this[_0x5cde9f(0x15b)]();}function _0x4fde4e(){const _0x5bee3b=_0x202f45,_0x541f8f=this[_0x2a32fc];_0x541f8f[_0x5bee3b(0x10a)]=_0x53ef4d[_0x5bee3b(0x14e)],_0x541f8f[_0x5bee3b(0xe6)]['end'](),this['end']();}function _0x47c16c(){const _0x40cb38=_0x202f45,_0x4559d0=this[_0x2a32fc];this['removeListener']('error',_0x47c16c),this['on'](_0x40cb38(0x10b),_0x3f7ba0),_0x4559d0&&(_0x4559d0[_0x40cb38(0x10a)]=_0x53ef4d[_0x40cb38(0x14e)],this[_0x40cb38(0xad)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x14755b}=_0x414cc8;function _0x4d946d(_0x156f25){const _0x27c430=_0x1141;_0x156f25[_0x27c430(0x1b8)](_0x27c430(0xc7));}function _0x496d53(){const _0x3d8ebd=_0x1141;!this[_0x3d8ebd(0x12c)]&&this[_0x3d8ebd(0x1f6)][_0x3d8ebd(0x1fa)]&&this[_0x3d8ebd(0xad)]();}function _0x4c6e18(_0x228d26){const _0x184fb0=_0x1141;this['removeListener'](_0x184fb0(0x10b),_0x4c6e18),this[_0x184fb0(0xad)](),this[_0x184fb0(0xeb)](_0x184fb0(0x10b))===0x0&&this[_0x184fb0(0x1b8)](_0x184fb0(0x10b),_0x228d26);}function _0x2587eb(_0xb87e18,_0x2ac67e){const _0x5ee193=_0x1141;let _0x3835e1=!0x0;const _0x8a92d=new _0x14755b({..._0x2ac67e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xb87e18['on'](_0x5ee193(0x213),function(_0x1da74,_0x4d1035){const _0x2a7783=_0x5ee193,_0x473667=!_0x4d1035&&_0x8a92d[_0x2a7783(0xf9)][_0x2a7783(0xf2)]?_0x1da74[_0x2a7783(0x1ab)]():_0x1da74;_0x8a92d['push'](_0x473667)||_0xb87e18[_0x2a7783(0x15b)]();}),_0xb87e18['once'](_0x5ee193(0x10b),function(_0x2e76e6){const _0x4a50cf=_0x5ee193;_0x8a92d[_0x4a50cf(0x12c)]||(_0x3835e1=!0x1,_0x8a92d[_0x4a50cf(0xad)](_0x2e76e6));}),_0xb87e18[_0x5ee193(0x182)](_0x5ee193(0xc7),function(){const _0x333910=_0x5ee193;_0x8a92d[_0x333910(0x12c)]||_0x8a92d[_0x333910(0x186)](null);}),_0x8a92d[_0x5ee193(0x90)]=function(_0x3cdabc,_0x4d78eb){const _0x2d9994=_0x5ee193;if(_0xb87e18['readyState']===_0xb87e18[_0x2d9994(0x145)]){_0x4d78eb(_0x3cdabc),process['nextTick'](_0x4d946d,_0x8a92d);return;}let _0x1f728e=!0x1;_0xb87e18[_0x2d9994(0x182)]('error',function(_0x553512){_0x1f728e=!0x0,_0x4d78eb(_0x553512);}),_0xb87e18[_0x2d9994(0x182)](_0x2d9994(0xc7),function(){const _0x4fce4f=_0x2d9994;_0x1f728e||_0x4d78eb(_0x3cdabc),process[_0x4fce4f(0xc0)](_0x4d946d,_0x8a92d);}),_0x3835e1&&_0xb87e18['terminate']();},_0x8a92d[_0x5ee193(0x11a)]=function(_0x469b4c){const _0x3b8d23=_0x5ee193;if(_0xb87e18[_0x3b8d23(0x19c)]===_0xb87e18[_0x3b8d23(0x178)]){_0xb87e18[_0x3b8d23(0x182)]('open',function(){_0x8a92d['_final'](_0x469b4c);});return;}_0xb87e18[_0x3b8d23(0xa8)]!==null&&(_0xb87e18[_0x3b8d23(0xa8)]['_writableState'][_0x3b8d23(0x1fa)]?(_0x469b4c(),_0x8a92d[_0x3b8d23(0xf9)]['endEmitted']&&_0x8a92d[_0x3b8d23(0xad)]()):(_0xb87e18['_socket'][_0x3b8d23(0x182)](_0x3b8d23(0x1b9),function(){_0x469b4c();}),_0xb87e18[_0x3b8d23(0xc7)]()));},_0x8a92d[_0x5ee193(0xd7)]=function(){const _0x457a31=_0x5ee193;_0xb87e18[_0x457a31(0x21a)]&&_0xb87e18['resume']();},_0x8a92d['_write']=function(_0x1b2420,_0xa59172,_0x1d71bd){const _0x535bc0=_0x5ee193;if(_0xb87e18[_0x535bc0(0x19c)]===_0xb87e18[_0x535bc0(0x178)]){_0xb87e18[_0x535bc0(0x182)](_0x535bc0(0xa0),function(){const _0x89287b=_0x535bc0;_0x8a92d[_0x89287b(0x193)](_0x1b2420,_0xa59172,_0x1d71bd);});return;}_0xb87e18[_0x535bc0(0x211)](_0x1b2420,_0x1d71bd);},_0x8a92d['on']('end',_0x496d53),_0x8a92d['on'](_0x5ee193(0x10b),_0x4c6e18),_0x8a92d;}return Oe=_0x2587eb,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1cc2c8}=ne();function _0xb81475(_0x589d61){const _0x14067b=_0x1141,_0x433d9b=new Set();let _0x535b55=-0x1,_0x4fe23f=-0x1,_0x21eb97=0x0;for(_0x21eb97;_0x21eb97<_0x589d61[_0x14067b(0x1e2)];_0x21eb97++){const _0x5e676f=_0x589d61[_0x14067b(0x228)](_0x21eb97);if(_0x4fe23f===-0x1&&_0x1cc2c8[_0x5e676f]===0x1)_0x535b55===-0x1&&(_0x535b55=_0x21eb97);else{if(_0x21eb97!==0x0&&(_0x5e676f===0x20||_0x5e676f===0x9))_0x4fe23f===-0x1&&_0x535b55!==-0x1&&(_0x4fe23f=_0x21eb97);else{if(_0x5e676f===0x2c){if(_0x535b55===-0x1)throw new SyntaxError(_0x14067b(0x1d4)+_0x21eb97);_0x4fe23f===-0x1&&(_0x4fe23f=_0x21eb97);const _0x560333=_0x589d61[_0x14067b(0x177)](_0x535b55,_0x4fe23f);if(_0x433d9b[_0x14067b(0x220)](_0x560333))throw new SyntaxError(_0x14067b(0x15f)+_0x560333+_0x14067b(0xc3));_0x433d9b['add'](_0x560333),_0x535b55=_0x4fe23f=-0x1;}else throw new SyntaxError(_0x14067b(0x1d4)+_0x21eb97);}}}if(_0x535b55===-0x1||_0x4fe23f!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x4510c3=_0x589d61['slice'](_0x535b55,_0x21eb97);if(_0x433d9b['has'](_0x4510c3))throw new SyntaxError(_0x14067b(0x15f)+_0x4510c3+'\x22\x20subprotocol\x20is\x20duplicated');return _0x433d9b[_0x14067b(0x158)](_0x4510c3),_0x433d9b;}return Ce={'parse':_0xb81475},Ce;}var Te,ot;function er(){const _0x1f7615=_0x2a4944;if(ot)return Te;ot=0x1;const _0x465a5e=_0x5c4aae,_0x3f6ef6=_0x549c82,{Duplex:_0x591915}=_0x414cc8,{createHash:_0x58a751}=_0x17ca72,_0x1fab42=pt(),_0x5e543c=he(),_0x3f9f4a=Jt(),_0x1a68d1=Ie(),{GUID:_0x420bad,kWebSocket:_0x5441c4}=V(),_0x3d1a57=/^[+/0-9A-Za-z]{22}==$/,_0x400ed7=0x0,_0x4d204b=0x1,_0x47bfc5=0x2;class _0x55e1a2 extends _0x465a5e{constructor(_0x6946a9,_0x24bd3c){const _0x3dc3d1=_0x1141;if(super(),_0x6946a9={'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':_0x1a68d1,..._0x6946a9},_0x6946a9['port']==null&&!_0x6946a9['server']&&!_0x6946a9['noServer']||_0x6946a9['port']!=null&&(_0x6946a9[_0x3dc3d1(0x1f2)]||_0x6946a9[_0x3dc3d1(0xac)])||_0x6946a9[_0x3dc3d1(0x1f2)]&&_0x6946a9[_0x3dc3d1(0xac)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x6946a9[_0x3dc3d1(0x141)]!=null?(this['_server']=_0x3f6ef6[_0x3dc3d1(0x1c4)]((_0x95ca68,_0x27d6db)=>{const _0x3d5322=_0x3dc3d1,_0x3abd71=_0x3f6ef6[_0x3d5322(0x134)][0x1aa];_0x27d6db[_0x3d5322(0x103)](0x1aa,{'Content-Length':_0x3abd71[_0x3d5322(0x1e2)],'Content-Type':_0x3d5322(0x1da)}),_0x27d6db[_0x3d5322(0x13b)](_0x3abd71);}),this['_server'][_0x3dc3d1(0x1fd)](_0x6946a9[_0x3dc3d1(0x141)],_0x6946a9[_0x3dc3d1(0x1c7)],_0x6946a9['backlog'],_0x24bd3c)):_0x6946a9[_0x3dc3d1(0x1f2)]&&(this[_0x3dc3d1(0x17e)]=_0x6946a9['server']),this['_server']){const _0x52995a=this[_0x3dc3d1(0x1b8)][_0x3dc3d1(0x1c3)](this,_0x3dc3d1(0x1e3));this[_0x3dc3d1(0x216)]=_0x491bc9(this['_server'],{'listening':this[_0x3dc3d1(0x1b8)][_0x3dc3d1(0x1c3)](this,'listening'),'error':this[_0x3dc3d1(0x1b8)]['bind'](this,_0x3dc3d1(0x10b)),'upgrade':(_0x396e1f,_0x1c9b43,_0x3bf5fd)=>{const _0x4673bd=_0x3dc3d1;this[_0x4673bd(0x1b5)](_0x396e1f,_0x1c9b43,_0x3bf5fd,_0x52995a);}});}_0x6946a9['perMessageDeflate']===!0x0&&(_0x6946a9[_0x3dc3d1(0xde)]={}),_0x6946a9[_0x3dc3d1(0x200)]&&(this[_0x3dc3d1(0x159)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x3dc3d1(0xb8)]=_0x6946a9,this[_0x3dc3d1(0x124)]=_0x400ed7;}[_0x1f7615(0x1c6)](){const _0x4dfc13=_0x1f7615;if(this['options'][_0x4dfc13(0xac)])throw new Error(_0x4dfc13(0x22c));return this[_0x4dfc13(0x17e)]?this[_0x4dfc13(0x17e)][_0x4dfc13(0x1c6)]():null;}['close'](_0x2babac){const _0x485447=_0x1f7615;if(this[_0x485447(0x124)]===_0x47bfc5){_0x2babac&&this['once'](_0x485447(0xc7),()=>{const _0x410193=_0x485447;_0x2babac(new Error(_0x410193(0xf1)));}),process['nextTick'](_0x194ee3,this);return;}if(_0x2babac&&this[_0x485447(0x182)](_0x485447(0xc7),_0x2babac),this[_0x485447(0x124)]!==_0x4d204b){if(this[_0x485447(0x124)]=_0x4d204b,this[_0x485447(0xb8)][_0x485447(0xac)]||this[_0x485447(0xb8)][_0x485447(0x1f2)])this[_0x485447(0x17e)]&&(this[_0x485447(0x216)](),this[_0x485447(0x216)]=this[_0x485447(0x17e)]=null),this[_0x485447(0x159)]?this[_0x485447(0x159)]['size']?this[_0x485447(0x1de)]=!0x0:process[_0x485447(0xc0)](_0x194ee3,this):process[_0x485447(0xc0)](_0x194ee3,this);else{const _0x1dc776=this['_server'];this[_0x485447(0x216)](),this[_0x485447(0x216)]=this['_server']=null,_0x1dc776[_0x485447(0xc7)](()=>{_0x194ee3(this);});}}}[_0x1f7615(0xd0)](_0x14097f){const _0x13f66f=_0x1f7615;if(this[_0x13f66f(0xb8)]['path']){const _0x1c516d=_0x14097f['url'][_0x13f66f(0xa4)]('?');if((_0x1c516d!==-0x1?_0x14097f['url'][_0x13f66f(0x177)](0x0,_0x1c516d):_0x14097f[_0x13f66f(0x195)])!==this['options'][_0x13f66f(0x1bf)])return!0x1;}return!0x0;}['handleUpgrade'](_0x136171,_0x3a33ef,_0x2a091c,_0x2e714d){const _0x584f5e=_0x1f7615;_0x3a33ef['on']('error',_0x3fe8f3);const _0x2fdf80=_0x136171[_0x584f5e(0xc4)][_0x584f5e(0x111)],_0xbfeeee=_0x136171[_0x584f5e(0xc4)][_0x584f5e(0x1cc)],_0xdb304d=+_0x136171[_0x584f5e(0xc4)]['sec-websocket-version'];if(_0x136171[_0x584f5e(0x107)]!=='GET'){_0x4ef96e(this,_0x136171,_0x3a33ef,0x195,_0x584f5e(0x129));return;}if(_0xbfeeee===void 0x0||_0xbfeeee[_0x584f5e(0x21b)]()!==_0x584f5e(0x188)){_0x4ef96e(this,_0x136171,_0x3a33ef,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2fdf80===void 0x0||!_0x3d1a57[_0x584f5e(0x1cd)](_0x2fdf80)){_0x4ef96e(this,_0x136171,_0x3a33ef,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0xdb304d!==0x8&&_0xdb304d!==0xd){_0x4ef96e(this,_0x136171,_0x3a33ef,0x190,_0x584f5e(0x10f));return;}if(!this[_0x584f5e(0xd0)](_0x136171)){_0x392865(_0x3a33ef,0x190);return;}const _0x43c6=_0x136171[_0x584f5e(0xc4)]['sec-websocket-protocol'];let _0x172f89=new Set();if(_0x43c6!==void 0x0)try{_0x172f89=_0x3f9f4a['parse'](_0x43c6);}catch{_0x4ef96e(this,_0x136171,_0x3a33ef,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x178125=_0x136171[_0x584f5e(0xc4)][_0x584f5e(0xb1)],_0x581a89={};if(this[_0x584f5e(0xb8)]['perMessageDeflate']&&_0x178125!==void 0x0){const _0x2aed43=new _0x5e543c(this[_0x584f5e(0xb8)][_0x584f5e(0xde)],!0x0,this[_0x584f5e(0xb8)][_0x584f5e(0x12a)]);try{const _0x1fcd42=_0x1fab42[_0x584f5e(0x119)](_0x178125);_0x1fcd42[_0x5e543c[_0x584f5e(0xfc)]]&&(_0x2aed43[_0x584f5e(0xe5)](_0x1fcd42[_0x5e543c[_0x584f5e(0xfc)]]),_0x581a89[_0x5e543c[_0x584f5e(0xfc)]]=_0x2aed43);}catch{_0x4ef96e(this,_0x136171,_0x3a33ef,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x584f5e(0xb8)][_0x584f5e(0x1ff)]){const _0xeb75b0={'origin':_0x136171['headers'][''+(_0xdb304d===0x8?_0x584f5e(0x99):_0x584f5e(0xcf))],'secure':!!(_0x136171[_0x584f5e(0x15c)]['authorized']||_0x136171[_0x584f5e(0x15c)][_0x584f5e(0x162)]),'req':_0x136171};if(this[_0x584f5e(0xb8)]['verifyClient'][_0x584f5e(0x1e2)]===0x2){this[_0x584f5e(0xb8)][_0x584f5e(0x1ff)](_0xeb75b0,(_0x2887af,_0x25f42b,_0x1cacd9,_0x36ddc3)=>{const _0x51f4ee=_0x584f5e;if(!_0x2887af)return _0x392865(_0x3a33ef,_0x25f42b||0x191,_0x1cacd9,_0x36ddc3);this[_0x51f4ee(0x221)](_0x581a89,_0x2fdf80,_0x172f89,_0x136171,_0x3a33ef,_0x2a091c,_0x2e714d);});return;}if(!this[_0x584f5e(0xb8)][_0x584f5e(0x1ff)](_0xeb75b0))return _0x392865(_0x3a33ef,0x191);}this[_0x584f5e(0x221)](_0x581a89,_0x2fdf80,_0x172f89,_0x136171,_0x3a33ef,_0x2a091c,_0x2e714d);}[_0x1f7615(0x221)](_0x390d82,_0x1a8ba5,_0x1d62b3,_0x448778,_0x40071b,_0x17ca63,_0x76df78){const _0x5b133b=_0x1f7615;if(!_0x40071b[_0x5b133b(0x20f)]||!_0x40071b[_0x5b133b(0x11b)])return _0x40071b['destroy']();if(_0x40071b[_0x5441c4])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x5b133b(0x124)]>_0x400ed7)return _0x392865(_0x40071b,0x1f7);const _0x264773=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x5b133b(0x138),_0x5b133b(0x172),_0x5b133b(0x1a4)+_0x58a751('sha1')[_0x5b133b(0xb2)](_0x1a8ba5+_0x420bad)[_0x5b133b(0x121)](_0x5b133b(0x203))],_0x1c6dc8=new this[(_0x5b133b(0xb8))]['WebSocket'](null,void 0x0,this[_0x5b133b(0xb8)]);if(_0x1d62b3[_0x5b133b(0x98)]){const _0x263a18=this[_0x5b133b(0xb8)][_0x5b133b(0xb9)]?this['options']['handleProtocols'](_0x1d62b3,_0x448778):_0x1d62b3[_0x5b133b(0x123)]()[_0x5b133b(0xa7)]()['value'];_0x263a18&&(_0x264773[_0x5b133b(0x186)](_0x5b133b(0x14a)+_0x263a18),_0x1c6dc8[_0x5b133b(0x14b)]=_0x263a18);}if(_0x390d82[_0x5e543c[_0x5b133b(0xfc)]]){const _0xade95d=_0x390d82[_0x5e543c[_0x5b133b(0xfc)]][_0x5b133b(0x151)],_0x4ecf2c=_0x1fab42[_0x5b133b(0x1cb)]({[_0x5e543c[_0x5b133b(0xfc)]]:[_0xade95d]});_0x264773[_0x5b133b(0x186)](_0x5b133b(0x174)+_0x4ecf2c),_0x1c6dc8['_extensions']=_0x390d82;}this['emit'](_0x5b133b(0xc4),_0x264773,_0x448778),_0x40071b[_0x5b133b(0xd4)](_0x264773[_0x5b133b(0x140)]('\x0d\x0a')[_0x5b133b(0x1fb)]('\x0d\x0a')),_0x40071b['removeListener']('error',_0x3fe8f3),_0x1c6dc8[_0x5b133b(0x17f)](_0x40071b,_0x17ca63,{'allowSynchronousEvents':this[_0x5b133b(0xb8)][_0x5b133b(0x23f)],'maxPayload':this[_0x5b133b(0xb8)][_0x5b133b(0x12a)],'skipUTF8Validation':this[_0x5b133b(0xb8)][_0x5b133b(0xa1)]}),this[_0x5b133b(0x159)]&&(this[_0x5b133b(0x159)][_0x5b133b(0x158)](_0x1c6dc8),_0x1c6dc8['on'](_0x5b133b(0xc7),()=>{const _0x19ff19=_0x5b133b;this[_0x19ff19(0x159)][_0x19ff19(0xbb)](_0x1c6dc8),this[_0x19ff19(0x1de)]&&!this[_0x19ff19(0x159)]['size']&&process['nextTick'](_0x194ee3,this);})),_0x76df78(_0x1c6dc8,_0x448778);}}Te=_0x55e1a2;function _0x491bc9(_0x4a27b9,_0x494a61){const _0x326397=_0x1f7615;for(const _0x105475 of Object[_0x326397(0x179)](_0x494a61))_0x4a27b9['on'](_0x105475,_0x494a61[_0x105475]);return function(){const _0xe44a0c=_0x326397;for(const _0x3ad931 of Object[_0xe44a0c(0x179)](_0x494a61))_0x4a27b9[_0xe44a0c(0x1d7)](_0x3ad931,_0x494a61[_0x3ad931]);};}function _0x194ee3(_0x4eca97){const _0x2f164c=_0x1f7615;_0x4eca97[_0x2f164c(0x124)]=_0x47bfc5,_0x4eca97['emit'](_0x2f164c(0xc7));}function _0x3fe8f3(){const _0x4b0f29=_0x1f7615;this[_0x4b0f29(0xad)]();}function _0x392865(_0x4d7ab7,_0x13ab12,_0x41b4b5,_0x36741f){const _0x40fc11=_0x1f7615;_0x41b4b5=_0x41b4b5||_0x3f6ef6[_0x40fc11(0x134)][_0x13ab12],_0x36741f={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x40fc11(0xdd)](_0x41b4b5),..._0x36741f},_0x4d7ab7[_0x40fc11(0x182)](_0x40fc11(0x1b9),_0x4d7ab7[_0x40fc11(0xad)]),_0x4d7ab7[_0x40fc11(0x13b)](_0x40fc11(0x120)+_0x13ab12+'\x20'+_0x3f6ef6[_0x40fc11(0x134)][_0x13ab12]+'\x0d\x0a'+Object['keys'](_0x36741f)[_0x40fc11(0xc2)](_0x4662d1=>_0x4662d1+':\x20'+_0x36741f[_0x4662d1])[_0x40fc11(0x1fb)]('\x0d\x0a')+_0x40fc11(0x23c)+_0x41b4b5);}function _0x4ef96e(_0x2490b7,_0x4f9b10,_0x3bc34b,_0xcc4638,_0x4b9733){const _0x571b82=_0x1f7615;if(_0x2490b7[_0x571b82(0xeb)](_0x571b82(0xda))){const _0x41ac40=new Error(_0x4b9733);Error['captureStackTrace'](_0x41ac40,_0x4ef96e),_0x2490b7[_0x571b82(0x1b8)](_0x571b82(0xda),_0x41ac40,_0x3bc34b,_0x4f9b10);}else _0x392865(_0x3bc34b,_0xcc4638,_0x4b9733);}return Te;}er();var tr=Object[_0x2a4944(0x171)],rr=(_0x5af269,_0x4443de,_0x104cdd,_0x3e578c)=>{const _0x30330e=_0x2a4944;for(var _0x519c9c=_0x3e578c>0x1?void 0x0:_0x3e578c?tr(_0x4443de,_0x104cdd):_0x4443de,_0x24addb=_0x5af269[_0x30330e(0x1e2)]-0x1,_0xf490c6;_0x24addb>=0x0;_0x24addb--)(_0xf490c6=_0x5af269[_0x24addb])&&(_0x519c9c=_0xf490c6(_0x519c9c)||_0x519c9c);return _0x519c9c;},sr=(_0x19397c,_0x5910b4)=>(_0x41c05f,_0x21fed9)=>_0x5910b4(_0x41c05f,_0x21fed9,_0x19397c);let Ne=class extends _0x22a1b1{constructor(_0x580375){const _0x357de0=_0x2a4944;super(),this[_0x357de0(0x205)]=_0x580375;}[_0x2a4944(0x10c)](_0x363398){const _0x46f8b5=_0x2a4944;var _0x268137;const _0x215f1f=(_0x268137=this[_0x46f8b5(0x205)][_0x46f8b5(0x22b)](Be))==null?void 0x0:_0x268137[_0x46f8b5(0x1be)];try{const _0x1db481=new Qt(_0x363398,{'headers':{..._0x215f1f}}),_0x57d694=new _0x3a0a2f();return{'URL':_0x363398,'close':(_0x251ed4,_0x500207)=>{_0x1db481['close'](_0x251ed4,_0x500207),_0x57d694['dispose']();},'send':_0x1f4c0b=>{_0x1db481['send'](_0x1f4c0b);},'open$':new _0xf23eb7(_0x2d4a76=>{const _0x44bf6e=_0x46f8b5,_0x3b49f0=_0x4f88a6=>_0x2d4a76[_0x44bf6e(0xa7)](_0x4f88a6);_0x1db481[_0x44bf6e(0x16b)](_0x44bf6e(0xa0),_0x3b49f0),_0x57d694[_0x44bf6e(0x158)](_0x5aa91d(()=>_0x1db481[_0x44bf6e(0x1b3)](_0x44bf6e(0xa0),_0x3b49f0)));})['pipe'](_0x43fc9c()),'close$':new _0xf23eb7(_0x59fb5f=>{const _0x4e3a8e=_0x46f8b5,_0x3feb85=_0x5a00d7=>_0x59fb5f[_0x4e3a8e(0xa7)](_0x5a00d7);_0x1db481[_0x4e3a8e(0x16b)]('close',_0x3feb85),_0x57d694['add'](_0x5aa91d(()=>_0x1db481[_0x4e3a8e(0x1b3)](_0x4e3a8e(0xc7),_0x3feb85)));})[_0x46f8b5(0x194)](_0x43fc9c()),'error$':new _0xf23eb7(_0x4643e9=>{const _0xfb3092=_0x46f8b5,_0x530683=_0x5ee4c2=>_0x4643e9[_0xfb3092(0xa7)](_0x5ee4c2);_0x1db481['addEventListener']('error',_0x530683),_0x57d694[_0xfb3092(0x158)](_0x5aa91d(()=>_0x1db481[_0xfb3092(0x1b3)]('error',_0x530683)));})[_0x46f8b5(0x194)](_0x43fc9c()),'message$':new _0xf23eb7(_0x420002=>{const _0x466189=_0x46f8b5,_0x1c5ccb=_0x24a5d7=>_0x420002[_0x466189(0xa7)](_0x24a5d7);_0x1db481[_0x466189(0x16b)](_0x466189(0x213),_0x1c5ccb),_0x57d694[_0x466189(0x158)](_0x5aa91d(()=>_0x1db481[_0x466189(0x1b3)](_0x466189(0x213),_0x1c5ccb)));})[_0x46f8b5(0x194)](_0x43fc9c())};}catch(_0x3d34c0){return console['error'](_0x3d34c0),null;}}};Ne=rr([sr(0x0,_0x490d91)],Ne);var ir=Object[_0x2a4944(0x1f9)],nr=Object[_0x2a4944(0x171)],or=(_0x60c9ea,_0x4fec88,_0x29a34c)=>_0x4fec88 in _0x60c9ea?ir(_0x60c9ea,_0x4fec88,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29a34c}):_0x60c9ea[_0x4fec88]=_0x29a34c,ar=(_0xfdfc73,_0x13fd78,_0x517674,_0xd297a8)=>{const _0x44f719=_0x2a4944;for(var _0x4c79f9=_0xd297a8>0x1?void 0x0:_0xd297a8?nr(_0x13fd78,_0x517674):_0x13fd78,_0x5b13b4=_0xfdfc73[_0x44f719(0x1e2)]-0x1,_0x2ea751;_0x5b13b4>=0x0;_0x5b13b4--)(_0x2ea751=_0xfdfc73[_0x5b13b4])&&(_0x4c79f9=_0x2ea751(_0x4c79f9)||_0x4c79f9);return _0x4c79f9;},ke=(_0x8cc949,_0x1ca7e2)=>(_0x2968c1,_0x4e87f8)=>_0x1ca7e2(_0x2968c1,_0x4e87f8,_0x8cc949),lr=(_0x421fb0,_0x2c00ae,_0x25d12e)=>or(_0x421fb0,_0x2c00ae+'',_0x25d12e);let Pe=class extends _0x4f3bff{constructor(_0x292831=Ft,_0x58e91e,_0x3505ff,_0x67c2e0){const _0x110b11=_0x2a4944;_0x292831[_0x110b11(0x1be)]||_0x58e91e[_0x110b11(0x230)](_0x110b11(0xe3)),super(),this['_configService']=_0x3505ff,this['_injector']=_0x67c2e0,this[_0x110b11(0x205)][_0x110b11(0x104)](Be,_0x292831);}['onStarting'](){const _0x3b859a=_0x2a4944;this[_0x3b859a(0xdf)]();}['_registerDependencies'](){const _0x2cef08=_0x2a4944;_0xeae1c8(this[_0x2cef08(0x97)],[[_0x13866a,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x2a4944(0xb7)),Pe=ar([_0x4d8669(_0xaa00e),ke(0x1,_0x5b8208),ke(0x2,_0x490d91),ke(0x3,_0x52d90d(_0x45bcce))],Pe);var fr=Object[_0x2a4944(0x171)],cr=(_0xda9ef4,_0x5c2440,_0x21a526,_0x31f6b6)=>{const _0x45ffe9=_0x2a4944;for(var _0x3d7e91=_0x31f6b6>0x1?void 0x0:_0x31f6b6?fr(_0x5c2440,_0x21a526):_0x5c2440,_0x97683b=_0xda9ef4[_0x45ffe9(0x1e2)]-0x1,_0x5f4801;_0x97683b>=0x0;_0x97683b--)(_0x5f4801=_0xda9ef4[_0x97683b])&&(_0x3d7e91=_0x5f4801(_0x3d7e91)||_0x3d7e91);return _0x3d7e91;},se=(_0x1dc859,_0x4d82f3)=>(_0x381dab,_0x10f7b7)=>_0x4d82f3(_0x381dab,_0x10f7b7,_0x1dc859);let at=class extends _0x280fe7{constructor(_0x14ea98,_0x3d7efd,_0x15fc0e,_0x24db95,_0x9f5eaa){const _0x9e0176=_0x2a4944;super(_0x14ea98,_0x3d7efd,_0x15fc0e,_0x24db95,_0x9f5eaa);const _0x5d6933=this[_0x9e0176(0x205)]['getConfig'](Be);this[_0x9e0176(0x20c)]['registerHTTPInterceptor']({'interceptor':(_0x3ae8d5,_0x2b9e28)=>{const _0x3ea0ba=_0x9e0176;var _0x3d8f5e;const _0x43e4b1=_0x3ae8d5[_0x3ea0ba(0xc4)];return(_0x3d8f5e=_0x5d6933==null?void 0x0:_0x5d6933[_0x3ea0ba(0x1be)])!=null&&_0x3d8f5e[_0x3ea0ba(0x163)]&&_0x43e4b1[_0x3ea0ba(0x1f0)](_0x3ea0ba(0x1bc),_0x5d6933[_0x3ea0ba(0x1be)][_0x3ea0ba(0x163)]),_0x2b9e28(_0x3ae8d5);}});}async[_0x2a4944(0x10c)](_0x1be4ce){const _0x4594ba=_0x2a4944;return this[_0x4594ba(0x16e)](_0x1be4ce);}};at=cr([se(0x0,_0x52d90d(_0x45bcce)),se(0x1,_0x52d90d(_0x1cc020)),se(0x2,_0x490d91),se(0x3,_0x5b8208),se(0x4,_0x2be26c)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};