@univerjs-pro/collaboration-client-node 0.10.6 → 0.10.7-nightly.202509080357

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3a8eac=_0x4d04;(function(_0x56b539,_0xb66de7){const _0x17109c=_0x4d04,_0x4660d6=_0x56b539();while(!![]){try{const _0x2cebd9=-parseInt(_0x17109c(0x140))/0x1+-parseInt(_0x17109c(0xef))/0x2*(parseInt(_0x17109c(0x20a))/0x3)+-parseInt(_0x17109c(0x204))/0x4+-parseInt(_0x17109c(0x12e))/0x5*(-parseInt(_0x17109c(0x191))/0x6)+parseInt(_0x17109c(0x18c))/0x7*(-parseInt(_0x17109c(0xe9))/0x8)+parseInt(_0x17109c(0x87))/0x9+parseInt(_0x17109c(0xd3))/0xa;if(_0x2cebd9===_0xb66de7)break;else _0x4660d6['push'](_0x4660d6['shift']());}catch(_0x20bc84){_0x4660d6['push'](_0x4660d6['shift']());}}}(_0x26e3,0xc0b81));function _0x4d04(_0x268328,_0x1bc6aa){const _0x26e36a=_0x26e3();return _0x4d04=function(_0x4d042c,_0x43c1b3){_0x4d042c=_0x4d042c-0x82;let _0x173d6e=_0x26e36a[_0x4d042c];return _0x173d6e;},_0x4d04(_0x268328,_0x1bc6aa);}import{UniverCollaborationClientPlugin as _0x1e708e,CollaborationSocketService as _0x184735}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2babee,DisposableCollection as _0x416646,toDisposable as _0x3e967d,IConfigService as _0x1faee4,DependentOn as _0x35bd83,ILogService as _0x21bb6d,Inject as _0x32dc61,Injector as _0x50e315,Plugin as _0x2264b9,registerDependencies as _0x3f20f4}from'@univerjs/core';import{ISocketService as _0x167094,HTTPService as _0x48b7d9}from'@univerjs/network';import{Observable as _0x44f200,share as _0x406e2c}from'rxjs';import _0x478f34 from'events';import _0x199a0a from'https';import _0x22ffd1 from'http';import _0x53102a from'net';import _0x28de9a from'tls';import _0xcd04e8 from'crypto';import _0x40ad73 from'stream';import _0xd57757 from'url';import _0xc22040 from'zlib';import _0x3b8144 from'buffer';import{ISnapshotServerService as _0x4b2d21}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x239e63){const _0x3372a6=_0x4d04;return _0x239e63&&_0x239e63[_0x3372a6(0x182)]&&Object['prototype'][_0x3372a6(0x20c)][_0x3372a6(0x12b)](_0x239e63,'default')?_0x239e63['default']:_0x239e63;}function ut(_0x31e41c){const _0x20bf83=_0x4d04;if(Object['prototype'][_0x20bf83(0x20c)][_0x20bf83(0x12b)](_0x31e41c,_0x20bf83(0x182)))return _0x31e41c;var _0xcfaffe=_0x31e41c[_0x20bf83(0xb5)];if(typeof _0xcfaffe==_0x20bf83(0x180)){var _0x59f5d4=function _0x463244(){const _0x227371=_0x20bf83;var _0x282575=!0x1;try{_0x282575=this instanceof _0x463244;}catch{}return _0x282575?Reflect[_0x227371(0x123)](_0xcfaffe,arguments,this['constructor']):_0xcfaffe[_0x227371(0xff)](this,arguments);};_0x59f5d4[_0x20bf83(0x19b)]=_0xcfaffe[_0x20bf83(0x19b)];}else _0x59f5d4={};return Object[_0x20bf83(0x10d)](_0x59f5d4,'__esModule',{'value':!0x0}),Object[_0x20bf83(0xfc)](_0x31e41c)[_0x20bf83(0x224)](function(_0x2eb56a){const _0xf4a2e1=_0x20bf83;var _0x6dcbef=Object[_0xf4a2e1(0x114)](_0x31e41c,_0x2eb56a);Object['defineProperty'](_0x59f5d4,_0x2eb56a,_0x6dcbef[_0xf4a2e1(0x14a)]?_0x6dcbef:{'enumerable':!0x0,'get':function(){return _0x31e41c[_0x2eb56a];}});}),_0x59f5d4;}var te={'exports':{}},ge,Ye;function V(){const _0x15139b=_0x4d04;if(Ye)return ge;Ye=0x1;const _0x52851e=[_0x15139b(0x1f8),_0x15139b(0x19f),'fragments'],_0x56cda4=typeof Blob<'u';return _0x56cda4&&_0x52851e['push']('blob'),ge={'BINARY_TYPES':_0x52851e,'EMPTY_BUFFER':Buffer[_0x15139b(0x9f)](0x0),'GUID':_0x15139b(0x1e3),'hasBlob':_0x56cda4,'kForOnEventAttribute':Symbol(_0x15139b(0x8b)),'kListener':Symbol(_0x15139b(0x9c)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x15139b(0x11c)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x3a8eac(0xf9)](Object[_0x3a8eac(0x10d)]({'__proto__':null,'default':jt},Symbol[_0x3a8eac(0x161)],{'value':_0x3a8eac(0x1a8)})),Vt=ut(Gt);var Ke;function ce(){const _0x67eac6=_0x3a8eac;if(Ke)return te[_0x67eac6(0x1f0)];Ke=0x1;const {EMPTY_BUFFER:_0x56b504}=V(),_0x1a6945=Buffer[Symbol[_0x67eac6(0x189)]];function _0x533ef4(_0x3ca332,_0x5d6a5c){const _0x31c740=_0x67eac6;if(_0x3ca332[_0x31c740(0x159)]===0x0)return _0x56b504;if(_0x3ca332[_0x31c740(0x159)]===0x1)return _0x3ca332[0x0];const _0x1902d1=Buffer['allocUnsafe'](_0x5d6a5c);let _0x352f5f=0x0;for(let _0x5969b4=0x0;_0x5969b4<_0x3ca332[_0x31c740(0x159)];_0x5969b4++){const _0x42b431=_0x3ca332[_0x5969b4];_0x1902d1[_0x31c740(0xdc)](_0x42b431,_0x352f5f),_0x352f5f+=_0x42b431[_0x31c740(0x159)];}return _0x352f5f<_0x5d6a5c?new _0x1a6945(_0x1902d1[_0x31c740(0xf0)],_0x1902d1['byteOffset'],_0x352f5f):_0x1902d1;}function _0x271e54(_0x1572e6,_0x5f5c92,_0x416f80,_0x360cca,_0x589a72){for(let _0x1d07e6=0x0;_0x1d07e6<_0x589a72;_0x1d07e6++)_0x416f80[_0x360cca+_0x1d07e6]=_0x1572e6[_0x1d07e6]^_0x5f5c92[_0x1d07e6&0x3];}function _0x25939a(_0x38f559,_0x267f24){const _0x4ff8e6=_0x67eac6;for(let _0x4e00b8=0x0;_0x4e00b8<_0x38f559[_0x4ff8e6(0x159)];_0x4e00b8++)_0x38f559[_0x4e00b8]^=_0x267f24[_0x4e00b8&0x3];}function _0x48e222(_0x5a33e4){const _0x46198b=_0x67eac6;return _0x5a33e4[_0x46198b(0x159)]===_0x5a33e4['buffer'][_0x46198b(0x102)]?_0x5a33e4['buffer']:_0x5a33e4[_0x46198b(0xf0)][_0x46198b(0x201)](_0x5a33e4[_0x46198b(0x14b)],_0x5a33e4[_0x46198b(0x14b)]+_0x5a33e4[_0x46198b(0x159)]);}function _0x387428(_0x2fbf85){const _0x17c549=_0x67eac6;if(_0x387428[_0x17c549(0x112)]=!0x0,Buffer['isBuffer'](_0x2fbf85))return _0x2fbf85;let _0x5b8d32;return _0x2fbf85 instanceof ArrayBuffer?_0x5b8d32=new _0x1a6945(_0x2fbf85):ArrayBuffer[_0x17c549(0xae)](_0x2fbf85)?_0x5b8d32=new _0x1a6945(_0x2fbf85[_0x17c549(0xf0)],_0x2fbf85['byteOffset'],_0x2fbf85[_0x17c549(0x102)]):(_0x5b8d32=Buffer[_0x17c549(0x216)](_0x2fbf85),_0x387428['readOnly']=!0x1),_0x5b8d32;}if(te[_0x67eac6(0x1f0)]={'concat':_0x533ef4,'mask':_0x271e54,'toArrayBuffer':_0x48e222,'toBuffer':_0x387428,'unmask':_0x25939a},!process[_0x67eac6(0x1d9)]['WS_NO_BUFFER_UTIL'])try{const _0x8d4635=Vt;te[_0x67eac6(0x1f0)][_0x67eac6(0x10b)]=function(_0x42f730,_0x4d1ca2,_0x195032,_0x62e734,_0x19a1cb){const _0x1fa038=_0x67eac6;_0x19a1cb<0x30?_0x271e54(_0x42f730,_0x4d1ca2,_0x195032,_0x62e734,_0x19a1cb):_0x8d4635[_0x1fa038(0x10b)](_0x42f730,_0x4d1ca2,_0x195032,_0x62e734,_0x19a1cb);},te[_0x67eac6(0x1f0)]['unmask']=function(_0x4deed1,_0x1d2ae1){_0x4deed1['length']<0x20?_0x25939a(_0x4deed1,_0x1d2ae1):_0x8d4635['unmask'](_0x4deed1,_0x1d2ae1);};}catch{}return te[_0x67eac6(0x1f0)];}var ye,Xe;function qt(){const _0xa2c689=_0x3a8eac;if(Xe)return ye;Xe=0x1;const _0x21be8=Symbol(_0xa2c689(0x11f)),_0xc6d048=Symbol(_0xa2c689(0xf2));class _0x3ab6d6{constructor(_0x34ee76){const _0x59fd8b=_0xa2c689;this[_0x21be8]=()=>{const _0x5b3b83=_0x4d04;this[_0x5b3b83(0x195)]--,this[_0xc6d048]();},this[_0x59fd8b(0xc0)]=_0x34ee76||0x1/0x0,this[_0x59fd8b(0x129)]=[],this[_0x59fd8b(0x195)]=0x0;}[_0xa2c689(0xd0)](_0x1089c6){const _0x49dab0=_0xa2c689;this[_0x49dab0(0x129)][_0x49dab0(0x21f)](_0x1089c6),this[_0xc6d048]();}[_0xc6d048](){const _0x4ab3c4=_0xa2c689;if(this['pending']!==this[_0x4ab3c4(0xc0)]&&this['jobs']['length']){const _0x5e0317=this[_0x4ab3c4(0x129)][_0x4ab3c4(0xe6)]();this[_0x4ab3c4(0x195)]++,_0x5e0317(this[_0x21be8]);}}}return ye=_0x3ab6d6,ye;}var ve,Ze;function he(){const _0x1d2e1e=_0x3a8eac;if(Ze)return ve;Ze=0x1;const _0x20dcac=_0xc22040,_0x2e780d=ce(),_0x4124e1=qt(),{kStatusCode:_0x465e45}=V(),_0xed5008=Buffer[Symbol[_0x1d2e1e(0x189)]],_0x21e1eb=Buffer[_0x1d2e1e(0x216)]([0x0,0x0,0xff,0xff]),_0x230a12=Symbol('permessage-deflate'),_0x536a1e=Symbol('total-length'),_0xf35064=Symbol(_0x1d2e1e(0x126)),_0x3f6c0f=Symbol('buffers'),_0x3f984c=Symbol(_0x1d2e1e(0x18e));let _0xe28143;class _0x31ff71{constructor(_0x134745,_0x580b37,_0x5a99ab){const _0x445100=_0x1d2e1e;if(this[_0x445100(0x183)]=_0x5a99ab|0x0,this[_0x445100(0x169)]=_0x134745||{},this[_0x445100(0xf8)]=this[_0x445100(0x169)][_0x445100(0x133)]!==void 0x0?this[_0x445100(0x169)]['threshold']:0x400,this['_isServer']=!!_0x580b37,this['_deflate']=null,this[_0x445100(0x1ba)]=null,this[_0x445100(0x11b)]=null,!_0xe28143){const _0x435914=this[_0x445100(0x169)][_0x445100(0x196)]!==void 0x0?this[_0x445100(0x169)]['concurrencyLimit']:0xa;_0xe28143=new _0x4124e1(_0x435914);}}static get[_0x1d2e1e(0x110)](){const _0x4a5b36=_0x1d2e1e;return _0x4a5b36(0x220);}[_0x1d2e1e(0xda)](){const _0x5d637f=_0x1d2e1e,_0x410b98={};return this[_0x5d637f(0x169)]['serverNoContextTakeover']&&(_0x410b98['server_no_context_takeover']=!0x0),this[_0x5d637f(0x169)][_0x5d637f(0x120)]&&(_0x410b98['client_no_context_takeover']=!0x0),this[_0x5d637f(0x169)][_0x5d637f(0x207)]&&(_0x410b98['server_max_window_bits']=this[_0x5d637f(0x169)][_0x5d637f(0x207)]),this[_0x5d637f(0x169)][_0x5d637f(0x1fb)]?_0x410b98[_0x5d637f(0x21b)]=this['_options'][_0x5d637f(0x1fb)]:this[_0x5d637f(0x169)][_0x5d637f(0x1fb)]==null&&(_0x410b98[_0x5d637f(0x21b)]=!0x0),_0x410b98;}[_0x1d2e1e(0x229)](_0x1f9f31){const _0x499c10=_0x1d2e1e;return _0x1f9f31=this[_0x499c10(0x1e7)](_0x1f9f31),this[_0x499c10(0x11b)]=this[_0x499c10(0x1c0)]?this[_0x499c10(0x105)](_0x1f9f31):this[_0x499c10(0xea)](_0x1f9f31),this[_0x499c10(0x11b)];}['cleanup'](){const _0x568750=_0x1d2e1e;if(this[_0x568750(0x1ba)]&&(this[_0x568750(0x1ba)]['close'](),this['_inflate']=null),this['_deflate']){const _0x2ce1c3=this[_0x568750(0x154)][_0xf35064];this[_0x568750(0x154)][_0x568750(0x1ea)](),this[_0x568750(0x154)]=null,_0x2ce1c3&&_0x2ce1c3(new Error(_0x568750(0x8d)));}}[_0x1d2e1e(0x105)](_0x4915d7){const _0x2d4b10=_0x1d2e1e,_0x2a5f6c=this['_options'],_0x4d9f8f=_0x4915d7[_0x2d4b10(0x83)](_0x197baa=>!(_0x2a5f6c[_0x2d4b10(0x17e)]===!0x1&&_0x197baa[_0x2d4b10(0x10e)]||_0x197baa[_0x2d4b10(0x157)]&&(_0x2a5f6c['serverMaxWindowBits']===!0x1||typeof _0x2a5f6c['serverMaxWindowBits']==_0x2d4b10(0x106)&&_0x2a5f6c[_0x2d4b10(0x207)]>_0x197baa[_0x2d4b10(0x157)])||typeof _0x2a5f6c['clientMaxWindowBits']==_0x2d4b10(0x106)&&!_0x197baa[_0x2d4b10(0x21b)]));if(!_0x4d9f8f)throw new Error(_0x2d4b10(0xd8));return _0x2a5f6c[_0x2d4b10(0x17e)]&&(_0x4d9f8f['server_no_context_takeover']=!0x0),_0x2a5f6c[_0x2d4b10(0x120)]&&(_0x4d9f8f[_0x2d4b10(0x176)]=!0x0),typeof _0x2a5f6c[_0x2d4b10(0x207)]==_0x2d4b10(0x106)&&(_0x4d9f8f[_0x2d4b10(0x157)]=_0x2a5f6c['serverMaxWindowBits']),typeof _0x2a5f6c[_0x2d4b10(0x1fb)]==_0x2d4b10(0x106)?_0x4d9f8f[_0x2d4b10(0x21b)]=_0x2a5f6c[_0x2d4b10(0x1fb)]:(_0x4d9f8f[_0x2d4b10(0x21b)]===!0x0||_0x2a5f6c[_0x2d4b10(0x1fb)]===!0x1)&&delete _0x4d9f8f[_0x2d4b10(0x21b)],_0x4d9f8f;}[_0x1d2e1e(0xea)](_0x5535ef){const _0xfe60cb=_0x1d2e1e,_0x2e4c99=_0x5535ef[0x0];if(this['_options'][_0xfe60cb(0x120)]===!0x1&&_0x2e4c99[_0xfe60cb(0x176)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2e4c99[_0xfe60cb(0x21b)])typeof this[_0xfe60cb(0x169)]['clientMaxWindowBits']=='number'&&(_0x2e4c99['client_max_window_bits']=this['_options'][_0xfe60cb(0x1fb)]);else{if(this[_0xfe60cb(0x169)][_0xfe60cb(0x1fb)]===!0x1||typeof this[_0xfe60cb(0x169)][_0xfe60cb(0x1fb)]==_0xfe60cb(0x106)&&_0x2e4c99[_0xfe60cb(0x21b)]>this['_options'][_0xfe60cb(0x1fb)])throw new Error(_0xfe60cb(0xdf));}return _0x2e4c99;}[_0x1d2e1e(0x1e7)](_0x4d42ea){const _0x14b843=_0x1d2e1e;return _0x4d42ea[_0x14b843(0x224)](_0x2c1bc1=>{const _0x931478=_0x14b843;Object[_0x931478(0xfc)](_0x2c1bc1)[_0x931478(0x224)](_0x1fbb5d=>{const _0x2e596b=_0x931478;let _0x320c77=_0x2c1bc1[_0x1fbb5d];if(_0x320c77[_0x2e596b(0x159)]>0x1)throw new Error(_0x2e596b(0x1df)+_0x1fbb5d+_0x2e596b(0x162));if(_0x320c77=_0x320c77[0x0],_0x1fbb5d===_0x2e596b(0x21b)){if(_0x320c77!==!0x0){const _0x241a65=+_0x320c77;if(!Number[_0x2e596b(0x181)](_0x241a65)||_0x241a65<0x8||_0x241a65>0xf)throw new TypeError(_0x2e596b(0xa5)+_0x1fbb5d+_0x2e596b(0xf5)+_0x320c77);_0x320c77=_0x241a65;}else{if(!this[_0x2e596b(0x1c0)])throw new TypeError(_0x2e596b(0xa5)+_0x1fbb5d+'\x22:\x20'+_0x320c77);}}else{if(_0x1fbb5d===_0x2e596b(0x157)){const _0x56543e=+_0x320c77;if(!Number[_0x2e596b(0x181)](_0x56543e)||_0x56543e<0x8||_0x56543e>0xf)throw new TypeError(_0x2e596b(0xa5)+_0x1fbb5d+'\x22:\x20'+_0x320c77);_0x320c77=_0x56543e;}else{if(_0x1fbb5d===_0x2e596b(0x176)||_0x1fbb5d==='server_no_context_takeover'){if(_0x320c77!==!0x0)throw new TypeError(_0x2e596b(0xa5)+_0x1fbb5d+_0x2e596b(0xf5)+_0x320c77);}else throw new Error(_0x2e596b(0x208)+_0x1fbb5d+'\x22');}}_0x2c1bc1[_0x1fbb5d]=_0x320c77;});}),_0x4d42ea;}[_0x1d2e1e(0x1bb)](_0x1994f6,_0x2b593d,_0x449098){_0xe28143['add'](_0x5207ee=>{const _0x2f7119=_0x4d04;this[_0x2f7119(0x8c)](_0x1994f6,_0x2b593d,(_0xae8897,_0x57a47f)=>{_0x5207ee(),_0x449098(_0xae8897,_0x57a47f);});});}[_0x1d2e1e(0x209)](_0x462e82,_0x18077f,_0x96067e){const _0x198861=_0x1d2e1e;_0xe28143[_0x198861(0xd0)](_0x1ad214=>{const _0x534cd0=_0x198861;this[_0x534cd0(0x1d3)](_0x462e82,_0x18077f,(_0x281c2a,_0x2299e3)=>{_0x1ad214(),_0x96067e(_0x281c2a,_0x2299e3);});});}['_decompress'](_0x180375,_0x20fa73,_0xef83bb){const _0x4fca7b=_0x1d2e1e,_0x2f3fd2=this['_isServer']?_0x4fca7b(0x11a):_0x4fca7b(0x11e);if(!this['_inflate']){const _0x1ca7c6=_0x2f3fd2+_0x4fca7b(0xb3),_0x24ee6d=typeof this[_0x4fca7b(0x11b)][_0x1ca7c6]!=_0x4fca7b(0x106)?_0x20dcac[_0x4fca7b(0xe3)]:this[_0x4fca7b(0x11b)][_0x1ca7c6];this[_0x4fca7b(0x1ba)]=_0x20dcac[_0x4fca7b(0x1f6)]({...this[_0x4fca7b(0x169)][_0x4fca7b(0x22a)],'windowBits':_0x24ee6d}),this['_inflate'][_0x230a12]=this,this['_inflate'][_0x536a1e]=0x0,this[_0x4fca7b(0x1ba)][_0x3f6c0f]=[],this['_inflate']['on'](_0x4fca7b(0x18e),_0x502a77),this[_0x4fca7b(0x1ba)]['on'](_0x4fca7b(0x13d),_0xb81633);}this[_0x4fca7b(0x1ba)][_0xf35064]=_0xef83bb,this[_0x4fca7b(0x1ba)][_0x4fca7b(0x117)](_0x180375),_0x20fa73&&this[_0x4fca7b(0x1ba)]['write'](_0x21e1eb),this[_0x4fca7b(0x1ba)]['flush'](()=>{const _0x519035=_0x4fca7b,_0x5825ff=this[_0x519035(0x1ba)][_0x3f984c];if(_0x5825ff){this[_0x519035(0x1ba)]['close'](),this[_0x519035(0x1ba)]=null,_0xef83bb(_0x5825ff);return;}const _0x222808=_0x2e780d[_0x519035(0x1b8)](this['_inflate'][_0x3f6c0f],this[_0x519035(0x1ba)][_0x536a1e]);this[_0x519035(0x1ba)][_0x519035(0x13a)][_0x519035(0x1ee)]?(this[_0x519035(0x1ba)][_0x519035(0x1ea)](),this[_0x519035(0x1ba)]=null):(this[_0x519035(0x1ba)][_0x536a1e]=0x0,this[_0x519035(0x1ba)][_0x3f6c0f]=[],_0x20fa73&&this[_0x519035(0x11b)][_0x2f3fd2+_0x519035(0x1f4)]&&this[_0x519035(0x1ba)]['reset']()),_0xef83bb(null,_0x222808);});}['_compress'](_0x2201f4,_0x4aa98c,_0x2ce2b4){const _0x196cd9=_0x1d2e1e,_0x51a204=this['_isServer']?_0x196cd9(0x11e):_0x196cd9(0x11a);if(!this['_deflate']){const _0x502ea0=_0x51a204+_0x196cd9(0xb3),_0x152787=typeof this[_0x196cd9(0x11b)][_0x502ea0]!='number'?_0x20dcac['Z_DEFAULT_WINDOWBITS']:this[_0x196cd9(0x11b)][_0x502ea0];this[_0x196cd9(0x154)]=_0x20dcac[_0x196cd9(0xc1)]({...this[_0x196cd9(0x169)][_0x196cd9(0x1e0)],'windowBits':_0x152787}),this[_0x196cd9(0x154)][_0x536a1e]=0x0,this['_deflate'][_0x3f6c0f]=[],this[_0x196cd9(0x154)]['on'](_0x196cd9(0x13d),_0x1d2235);}this['_deflate'][_0xf35064]=_0x2ce2b4,this[_0x196cd9(0x154)][_0x196cd9(0x117)](_0x2201f4),this['_deflate'][_0x196cd9(0x13f)](_0x20dcac[_0x196cd9(0xca)],()=>{const _0x6adc15=_0x196cd9;if(!this['_deflate'])return;let _0x2d950a=_0x2e780d[_0x6adc15(0x1b8)](this[_0x6adc15(0x154)][_0x3f6c0f],this['_deflate'][_0x536a1e]);_0x4aa98c&&(_0x2d950a=new _0xed5008(_0x2d950a['buffer'],_0x2d950a[_0x6adc15(0x14b)],_0x2d950a[_0x6adc15(0x159)]-0x4)),this[_0x6adc15(0x154)][_0xf35064]=null,this[_0x6adc15(0x154)][_0x536a1e]=0x0,this[_0x6adc15(0x154)][_0x3f6c0f]=[],_0x4aa98c&&this[_0x6adc15(0x11b)][_0x51a204+_0x6adc15(0x1f4)]&&this[_0x6adc15(0x154)][_0x6adc15(0xb6)](),_0x2ce2b4(null,_0x2d950a);});}}ve=_0x31ff71;function _0x1d2235(_0x39a065){this[_0x3f6c0f]['push'](_0x39a065),this[_0x536a1e]+=_0x39a065['length'];}function _0xb81633(_0x506a7f){const _0x2f0012=_0x1d2e1e;if(this[_0x536a1e]+=_0x506a7f[_0x2f0012(0x159)],this[_0x230a12]['_maxPayload']<0x1||this[_0x536a1e]<=this[_0x230a12]['_maxPayload']){this[_0x3f6c0f]['push'](_0x506a7f);return;}this[_0x3f984c]=new RangeError(_0x2f0012(0xcd)),this[_0x3f984c]['code']=_0x2f0012(0x12a),this[_0x3f984c][_0x465e45]=0x3f1,this[_0x2f0012(0x166)](_0x2f0012(0x13d),_0xb81633),this[_0x2f0012(0xb6)]();}function _0x502a77(_0x52c39d){const _0x2d4857=_0x1d2e1e;if(this[_0x230a12][_0x2d4857(0x1ba)]=null,this[_0x3f984c]){this[_0xf35064](this[_0x3f984c]);return;}_0x52c39d[_0x465e45]=0x3ef,this[_0xf35064](_0x52c39d);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x3a8eac(0x1a8)})),Yt=ut(zt);var Qe;function ne(){const _0x12912f=_0x3a8eac;if(Qe)return re[_0x12912f(0x1f0)];Qe=0x1;const {isUtf8:_0x29b67e}=_0x3b8144,{hasBlob:_0x39b947}=V(),_0x595542=[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 _0x5b9b4d(_0x2c673e){return _0x2c673e>=0x3e8&&_0x2c673e<=0x3f6&&_0x2c673e!==0x3ec&&_0x2c673e!==0x3ed&&_0x2c673e!==0x3ee||_0x2c673e>=0xbb8&&_0x2c673e<=0x1387;}function _0x4cf7b5(_0x52722b){const _0x346de4=_0x52722b['length'];let _0x7709b3=0x0;for(;_0x7709b3<_0x346de4;)if((_0x52722b[_0x7709b3]&0x80)===0x0)_0x7709b3++;else{if((_0x52722b[_0x7709b3]&0xe0)===0xc0){if(_0x7709b3+0x1===_0x346de4||(_0x52722b[_0x7709b3+0x1]&0xc0)!==0x80||(_0x52722b[_0x7709b3]&0xfe)===0xc0)return!0x1;_0x7709b3+=0x2;}else{if((_0x52722b[_0x7709b3]&0xf0)===0xe0){if(_0x7709b3+0x2>=_0x346de4||(_0x52722b[_0x7709b3+0x1]&0xc0)!==0x80||(_0x52722b[_0x7709b3+0x2]&0xc0)!==0x80||_0x52722b[_0x7709b3]===0xe0&&(_0x52722b[_0x7709b3+0x1]&0xe0)===0x80||_0x52722b[_0x7709b3]===0xed&&(_0x52722b[_0x7709b3+0x1]&0xe0)===0xa0)return!0x1;_0x7709b3+=0x3;}else{if((_0x52722b[_0x7709b3]&0xf8)===0xf0){if(_0x7709b3+0x3>=_0x346de4||(_0x52722b[_0x7709b3+0x1]&0xc0)!==0x80||(_0x52722b[_0x7709b3+0x2]&0xc0)!==0x80||(_0x52722b[_0x7709b3+0x3]&0xc0)!==0x80||_0x52722b[_0x7709b3]===0xf0&&(_0x52722b[_0x7709b3+0x1]&0xf0)===0x80||_0x52722b[_0x7709b3]===0xf4&&_0x52722b[_0x7709b3+0x1]>0x8f||_0x52722b[_0x7709b3]>0xf4)return!0x1;_0x7709b3+=0x4;}else return!0x1;}}}return!0x0;}function _0x3a7e0e(_0x2f2a1e){const _0x4030db=_0x12912f;return _0x39b947&&typeof _0x2f2a1e=='object'&&typeof _0x2f2a1e[_0x4030db(0x1b6)]=='function'&&typeof _0x2f2a1e[_0x4030db(0x214)]==_0x4030db(0x1e6)&&typeof _0x2f2a1e[_0x4030db(0x1f2)]=='function'&&(_0x2f2a1e[Symbol['toStringTag']]===_0x4030db(0xd7)||_0x2f2a1e[Symbol[_0x4030db(0x161)]]===_0x4030db(0x89));}if(re[_0x12912f(0x1f0)]={'isBlob':_0x3a7e0e,'isValidStatusCode':_0x5b9b4d,'isValidUTF8':_0x4cf7b5,'tokenChars':_0x595542},_0x29b67e)re[_0x12912f(0x1f0)][_0x12912f(0xa2)]=function(_0x18c9ce){return _0x18c9ce['length']<0x18?_0x4cf7b5(_0x18c9ce):_0x29b67e(_0x18c9ce);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0xabf671=Yt;re[_0x12912f(0x1f0)][_0x12912f(0xa2)]=function(_0x5f54ac){const _0x2f69ed=_0x12912f;return _0x5f54ac[_0x2f69ed(0x159)]<0x20?_0x4cf7b5(_0x5f54ac):_0xabf671(_0x5f54ac);};}catch{}}return re[_0x12912f(0x1f0)];}var Se,Je;function dt(){const _0x3a5aa4=_0x3a8eac;if(Je)return Se;Je=0x1;const {Writable:_0xd9ffbf}=_0x40ad73,_0x3758d1=he(),{BINARY_TYPES:_0x5e1474,EMPTY_BUFFER:_0x20dab6,kStatusCode:_0x2e0362,kWebSocket:_0x2acc12}=V(),{concat:_0x308e7d,toArrayBuffer:_0xffa217,unmask:_0x3126f5}=ce(),{isValidStatusCode:_0x49573d,isValidUTF8:_0xbb5641}=ne(),_0x225bb5=Buffer[Symbol[_0x3a5aa4(0x189)]],_0x713bf6=0x0,_0x21a644=0x1,_0x56ba02=0x2,_0x434965=0x3,_0xc78940=0x4,_0x515b49=0x5,_0x4e81e9=0x6;class _0x948c89 extends _0xd9ffbf{constructor(_0x504a12={}){const _0x47ba73=_0x3a5aa4;super(),this['_allowSynchronousEvents']=_0x504a12[_0x47ba73(0x202)]!==void 0x0?_0x504a12[_0x47ba73(0x202)]:!0x0,this[_0x47ba73(0x1f9)]=_0x504a12['binaryType']||_0x5e1474[0x0],this[_0x47ba73(0x167)]=_0x504a12[_0x47ba73(0x1a4)]||{},this['_isServer']=!!_0x504a12['isServer'],this[_0x47ba73(0x183)]=_0x504a12[_0x47ba73(0x1a5)]|0x0,this[_0x47ba73(0x210)]=!!_0x504a12['skipUTF8Validation'],this[_0x2acc12]=void 0x0,this['_bufferedBytes']=0x0,this[_0x47ba73(0x21d)]=[],this[_0x47ba73(0x223)]=!0x1,this[_0x47ba73(0x16f)]=0x0,this[_0x47ba73(0x115)]=void 0x0,this[_0x47ba73(0x1bc)]=0x0,this[_0x47ba73(0x1ec)]=!0x1,this[_0x47ba73(0x1c9)]=!0x1,this[_0x47ba73(0x13e)]=0x0,this[_0x47ba73(0x137)]=0x0,this['_messageLength']=0x0,this[_0x47ba73(0x16d)]=[],this[_0x47ba73(0x86)]=!0x1,this[_0x47ba73(0xc2)]=!0x1,this['_state']=_0x713bf6;}[_0x3a5aa4(0x18a)](_0x3dda80,_0x4a53aa,_0xe7e6e9){const _0x1e6c84=_0x3a5aa4;if(this[_0x1e6c84(0x13e)]===0x8&&this['_state']==_0x713bf6)return _0xe7e6e9();this['_bufferedBytes']+=_0x3dda80[_0x1e6c84(0x159)],this[_0x1e6c84(0x21d)][_0x1e6c84(0x21f)](_0x3dda80),this['startLoop'](_0xe7e6e9);}[_0x3a5aa4(0x1b0)](_0x2ccecc){const _0x2da82e=_0x3a5aa4;if(this[_0x2da82e(0x17a)]-=_0x2ccecc,_0x2ccecc===this[_0x2da82e(0x21d)][0x0][_0x2da82e(0x159)])return this[_0x2da82e(0x21d)][_0x2da82e(0xe6)]();if(_0x2ccecc<this[_0x2da82e(0x21d)][0x0][_0x2da82e(0x159)]){const _0x4d3238=this[_0x2da82e(0x21d)][0x0];return this[_0x2da82e(0x21d)][0x0]=new _0x225bb5(_0x4d3238[_0x2da82e(0xf0)],_0x4d3238[_0x2da82e(0x14b)]+_0x2ccecc,_0x4d3238['length']-_0x2ccecc),new _0x225bb5(_0x4d3238[_0x2da82e(0xf0)],_0x4d3238[_0x2da82e(0x14b)],_0x2ccecc);}const _0x15b689=Buffer[_0x2da82e(0xd9)](_0x2ccecc);do{const _0x5de796=this[_0x2da82e(0x21d)][0x0],_0x145316=_0x15b689[_0x2da82e(0x159)]-_0x2ccecc;_0x2ccecc>=_0x5de796[_0x2da82e(0x159)]?_0x15b689['set'](this['_buffers'][_0x2da82e(0xe6)](),_0x145316):(_0x15b689[_0x2da82e(0xdc)](new Uint8Array(_0x5de796[_0x2da82e(0xf0)],_0x5de796[_0x2da82e(0x14b)],_0x2ccecc),_0x145316),this[_0x2da82e(0x21d)][0x0]=new _0x225bb5(_0x5de796[_0x2da82e(0xf0)],_0x5de796[_0x2da82e(0x14b)]+_0x2ccecc,_0x5de796[_0x2da82e(0x159)]-_0x2ccecc)),_0x2ccecc-=_0x5de796['length'];}while(_0x2ccecc>0x0);return _0x15b689;}['startLoop'](_0x46b588){const _0x716974=_0x3a5aa4;this[_0x716974(0xc2)]=!0x0;do switch(this[_0x716974(0x1b9)]){case _0x713bf6:this[_0x716974(0xf4)](_0x46b588);break;case _0x21a644:this[_0x716974(0x1d1)](_0x46b588);break;case _0x56ba02:this[_0x716974(0x188)](_0x46b588);break;case _0x434965:this[_0x716974(0x1d4)]();break;case _0xc78940:this[_0x716974(0x103)](_0x46b588);break;case _0x515b49:case _0x4e81e9:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x716974(0x86)]||_0x46b588();}['getInfo'](_0x186430){const _0x4b0f66=_0x3a5aa4;if(this[_0x4b0f66(0x17a)]<0x2){this[_0x4b0f66(0xc2)]=!0x1;return;}const _0x46ff21=this[_0x4b0f66(0x1b0)](0x2);if((_0x46ff21[0x0]&0x30)!==0x0){const _0x2e450f=this[_0x4b0f66(0x1de)](RangeError,_0x4b0f66(0x221),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x186430(_0x2e450f);return;}const _0x2951d7=(_0x46ff21[0x0]&0x40)===0x40;if(_0x2951d7&&!this['_extensions'][_0x3758d1[_0x4b0f66(0x110)]]){const _0xf63226=this[_0x4b0f66(0x1de)](RangeError,_0x4b0f66(0xe2),!0x0,0x3ea,_0x4b0f66(0x13b));_0x186430(_0xf63226);return;}if(this['_fin']=(_0x46ff21[0x0]&0x80)===0x80,this[_0x4b0f66(0x13e)]=_0x46ff21[0x0]&0xf,this[_0x4b0f66(0x16f)]=_0x46ff21[0x1]&0x7f,this[_0x4b0f66(0x13e)]===0x0){if(_0x2951d7){const _0x199113=this[_0x4b0f66(0x1de)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4b0f66(0x13b));_0x186430(_0x199113);return;}if(!this[_0x4b0f66(0x1bc)]){const _0xf9ea7c=this[_0x4b0f66(0x1de)](RangeError,_0x4b0f66(0x15e),!0x0,0x3ea,_0x4b0f66(0x170));_0x186430(_0xf9ea7c);return;}this[_0x4b0f66(0x13e)]=this[_0x4b0f66(0x1bc)];}else{if(this[_0x4b0f66(0x13e)]===0x1||this[_0x4b0f66(0x13e)]===0x2){if(this['_fragmented']){const _0x5b4dce=this['createError'](RangeError,_0x4b0f66(0x17b)+this[_0x4b0f66(0x13e)],!0x0,0x3ea,_0x4b0f66(0x170));_0x186430(_0x5b4dce);return;}this['_compressed']=_0x2951d7;}else{if(this[_0x4b0f66(0x13e)]>0x7&&this[_0x4b0f66(0x13e)]<0xb){if(!this[_0x4b0f66(0x1c9)]){const _0x2b3248=this[_0x4b0f66(0x1de)](RangeError,_0x4b0f66(0x150),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x186430(_0x2b3248);return;}if(_0x2951d7){const _0x1ce523=this[_0x4b0f66(0x1de)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x186430(_0x1ce523);return;}if(this[_0x4b0f66(0x16f)]>0x7d||this['_opcode']===0x8&&this[_0x4b0f66(0x16f)]===0x1){const _0x14f2f0=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4b0f66(0x16f)],!0x0,0x3ea,_0x4b0f66(0xc5));_0x186430(_0x14f2f0);return;}}else{const _0x30f7ff=this[_0x4b0f66(0x1de)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x4b0f66(0x170));_0x186430(_0x30f7ff);return;}}}if(!this['_fin']&&!this[_0x4b0f66(0x1bc)]&&(this[_0x4b0f66(0x1bc)]=this[_0x4b0f66(0x13e)]),this['_masked']=(_0x46ff21[0x1]&0x80)===0x80,this[_0x4b0f66(0x1c0)]){if(!this[_0x4b0f66(0x1ec)]){const _0x56770f=this[_0x4b0f66(0x1de)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4b0f66(0x18f));_0x186430(_0x56770f);return;}}else{if(this[_0x4b0f66(0x1ec)]){const _0x293047=this[_0x4b0f66(0x1de)](RangeError,_0x4b0f66(0x138),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x186430(_0x293047);return;}}this['_payloadLength']===0x7e?this['_state']=_0x21a644:this['_payloadLength']===0x7f?this['_state']=_0x56ba02:this[_0x4b0f66(0x1a7)](_0x186430);}[_0x3a5aa4(0x1d1)](_0x25c408){const _0x57f89e=_0x3a5aa4;if(this[_0x57f89e(0x17a)]<0x2){this['_loop']=!0x1;return;}this[_0x57f89e(0x16f)]=this[_0x57f89e(0x1b0)](0x2)[_0x57f89e(0xa3)](0x0),this[_0x57f89e(0x1a7)](_0x25c408);}['getPayloadLength64'](_0x511170){const _0x237f55=_0x3a5aa4;if(this[_0x237f55(0x17a)]<0x8){this[_0x237f55(0xc2)]=!0x1;return;}const _0xdcd2a3=this[_0x237f55(0x1b0)](0x8),_0x30d081=_0xdcd2a3[_0x237f55(0x122)](0x0);if(_0x30d081>Math['pow'](0x2,0x15)-0x1){const _0x5ed8d8=this[_0x237f55(0x1de)](RangeError,_0x237f55(0x1a6),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x511170(_0x5ed8d8);return;}this[_0x237f55(0x16f)]=_0x30d081*Math[_0x237f55(0xa8)](0x2,0x20)+_0xdcd2a3[_0x237f55(0x122)](0x4),this['haveLength'](_0x511170);}[_0x3a5aa4(0x1a7)](_0x5d0739){const _0x341f4e=_0x3a5aa4;if(this[_0x341f4e(0x16f)]&&this[_0x341f4e(0x13e)]<0x8&&(this[_0x341f4e(0x137)]+=this[_0x341f4e(0x16f)],this[_0x341f4e(0x137)]>this['_maxPayload']&&this[_0x341f4e(0x183)]>0x0)){const _0x2aa148=this[_0x341f4e(0x1de)](RangeError,_0x341f4e(0xcd),!0x1,0x3f1,_0x341f4e(0x12a));_0x5d0739(_0x2aa148);return;}this['_masked']?this[_0x341f4e(0x1b9)]=_0x434965:this['_state']=_0xc78940;}[_0x3a5aa4(0x1d4)](){const _0x18ab34=_0x3a5aa4;if(this[_0x18ab34(0x17a)]<0x4){this[_0x18ab34(0xc2)]=!0x1;return;}this['_mask']=this[_0x18ab34(0x1b0)](0x4),this[_0x18ab34(0x1b9)]=_0xc78940;}[_0x3a5aa4(0x103)](_0x592668){const _0x3a0f49=_0x3a5aa4;let _0xd3dbf1=_0x20dab6;if(this[_0x3a0f49(0x16f)]){if(this[_0x3a0f49(0x17a)]<this[_0x3a0f49(0x16f)]){this[_0x3a0f49(0xc2)]=!0x1;return;}_0xd3dbf1=this[_0x3a0f49(0x1b0)](this['_payloadLength']),this[_0x3a0f49(0x1ec)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x3a0f49(0x115)][0x2]|this[_0x3a0f49(0x115)][0x3])!==0x0&&_0x3126f5(_0xd3dbf1,this['_mask']);}if(this['_opcode']>0x7){this[_0x3a0f49(0x20b)](_0xd3dbf1,_0x592668);return;}if(this[_0x3a0f49(0x223)]){this[_0x3a0f49(0x1b9)]=_0x515b49,this[_0x3a0f49(0x1bb)](_0xd3dbf1,_0x592668);return;}_0xd3dbf1[_0x3a0f49(0x159)]&&(this[_0x3a0f49(0x1be)]=this[_0x3a0f49(0x137)],this[_0x3a0f49(0x16d)][_0x3a0f49(0x21f)](_0xd3dbf1)),this[_0x3a0f49(0x1b1)](_0x592668);}[_0x3a5aa4(0x1bb)](_0x14d7a6,_0x303f89){const _0x527a47=_0x3a5aa4;this[_0x527a47(0x167)][_0x3758d1[_0x527a47(0x110)]][_0x527a47(0x1bb)](_0x14d7a6,this[_0x527a47(0x1c9)],(_0x5cc586,_0x442e1b)=>{const _0x15074d=_0x527a47;if(_0x5cc586)return _0x303f89(_0x5cc586);if(_0x442e1b['length']){if(this[_0x15074d(0x1be)]+=_0x442e1b['length'],this[_0x15074d(0x1be)]>this['_maxPayload']&&this[_0x15074d(0x183)]>0x0){const _0x19438b=this[_0x15074d(0x1de)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x15074d(0x12a));_0x303f89(_0x19438b);return;}this[_0x15074d(0x16d)][_0x15074d(0x21f)](_0x442e1b);}this['dataMessage'](_0x303f89),this[_0x15074d(0x1b9)]===_0x713bf6&&this[_0x15074d(0x99)](_0x303f89);});}[_0x3a5aa4(0x1b1)](_0x3f2957){const _0x54ee2c=_0x3a5aa4;if(!this[_0x54ee2c(0x1c9)]){this[_0x54ee2c(0x1b9)]=_0x713bf6;return;}const _0x2e24e0=this[_0x54ee2c(0x1be)],_0x20d05b=this[_0x54ee2c(0x16d)];if(this[_0x54ee2c(0x137)]=0x0,this[_0x54ee2c(0x1be)]=0x0,this[_0x54ee2c(0x1bc)]=0x0,this['_fragments']=[],this[_0x54ee2c(0x13e)]===0x2){let _0x4bff49;this[_0x54ee2c(0x1f9)]==='nodebuffer'?_0x4bff49=_0x308e7d(_0x20d05b,_0x2e24e0):this['_binaryType']===_0x54ee2c(0x19f)?_0x4bff49=_0xffa217(_0x308e7d(_0x20d05b,_0x2e24e0)):this[_0x54ee2c(0x1f9)]===_0x54ee2c(0x14f)?_0x4bff49=new Blob(_0x20d05b):_0x4bff49=_0x20d05b,this[_0x54ee2c(0x101)]?(this[_0x54ee2c(0x136)]('message',_0x4bff49,!0x0),this[_0x54ee2c(0x1b9)]=_0x713bf6):(this[_0x54ee2c(0x1b9)]=_0x4e81e9,setImmediate(()=>{const _0x1433ef=_0x54ee2c;this[_0x1433ef(0x136)]('message',_0x4bff49,!0x0),this[_0x1433ef(0x1b9)]=_0x713bf6,this[_0x1433ef(0x99)](_0x3f2957);}));}else{const _0x13983a=_0x308e7d(_0x20d05b,_0x2e24e0);if(!this[_0x54ee2c(0x210)]&&!_0xbb5641(_0x13983a)){const _0x342448=this[_0x54ee2c(0x1de)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x54ee2c(0x1ef));_0x3f2957(_0x342448);return;}this[_0x54ee2c(0x1b9)]===_0x515b49||this['_allowSynchronousEvents']?(this[_0x54ee2c(0x136)](_0x54ee2c(0x1ca),_0x13983a,!0x1),this[_0x54ee2c(0x1b9)]=_0x713bf6):(this[_0x54ee2c(0x1b9)]=_0x4e81e9,setImmediate(()=>{const _0x38e4fd=_0x54ee2c;this[_0x38e4fd(0x136)](_0x38e4fd(0x1ca),_0x13983a,!0x1),this['_state']=_0x713bf6,this['startLoop'](_0x3f2957);}));}}['controlMessage'](_0x20f78d,_0x2847e6){const _0x6f9bfc=_0x3a5aa4;if(this['_opcode']===0x8){if(_0x20f78d[_0x6f9bfc(0x159)]===0x0)this[_0x6f9bfc(0xc2)]=!0x1,this[_0x6f9bfc(0x136)](_0x6f9bfc(0xa0),0x3ed,_0x20dab6),this[_0x6f9bfc(0xde)]();else{const _0x408758=_0x20f78d[_0x6f9bfc(0xa3)](0x0);if(!_0x49573d(_0x408758)){const _0x574b0e=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x408758,!0x0,0x3ea,_0x6f9bfc(0x1c5));_0x2847e6(_0x574b0e);return;}const _0x3632b4=new _0x225bb5(_0x20f78d[_0x6f9bfc(0xf0)],_0x20f78d['byteOffset']+0x2,_0x20f78d[_0x6f9bfc(0x159)]-0x2);if(!this[_0x6f9bfc(0x210)]&&!_0xbb5641(_0x3632b4)){const _0x1caf12=this['createError'](Error,_0x6f9bfc(0xd4),!0x0,0x3ef,_0x6f9bfc(0x1ef));_0x2847e6(_0x1caf12);return;}this['_loop']=!0x1,this[_0x6f9bfc(0x136)]('conclude',_0x408758,_0x3632b4),this[_0x6f9bfc(0xde)]();}this['_state']=_0x713bf6;return;}this[_0x6f9bfc(0x101)]?(this[_0x6f9bfc(0x136)](this['_opcode']===0x9?'ping':_0x6f9bfc(0x1d2),_0x20f78d),this[_0x6f9bfc(0x1b9)]=_0x713bf6):(this[_0x6f9bfc(0x1b9)]=_0x4e81e9,setImmediate(()=>{const _0x5ead38=_0x6f9bfc;this['emit'](this[_0x5ead38(0x13e)]===0x9?_0x5ead38(0x9a):_0x5ead38(0x1d2),_0x20f78d),this['_state']=_0x713bf6,this[_0x5ead38(0x99)](_0x2847e6);}));}[_0x3a5aa4(0x1de)](_0x507aea,_0x2f950e,_0x15c116,_0x51bfac,_0x580626){const _0x1786c5=_0x3a5aa4;this[_0x1786c5(0xc2)]=!0x1,this[_0x1786c5(0x86)]=!0x0;const _0x4dd090=new _0x507aea(_0x15c116?_0x1786c5(0xb7)+_0x2f950e:_0x2f950e);return Error[_0x1786c5(0x1c4)](_0x4dd090,this['createError']),_0x4dd090[_0x1786c5(0x9d)]=_0x580626,_0x4dd090[_0x2e0362]=_0x51bfac,_0x4dd090;}}return Se=_0x948c89,Se;}var Ee,et;function _t(){const _0x37bbbb=_0x3a8eac;if(et)return Ee;et=0x1;const {Duplex:_0x2de08a}=_0x40ad73,{randomFillSync:_0x58c15b}=_0xcd04e8,_0x18207e=he(),{EMPTY_BUFFER:_0x407dab,kWebSocket:_0x289e4c,NOOP:_0x34383f}=V(),{isBlob:_0x84ca4e,isValidStatusCode:_0xc1854e}=ne(),{mask:_0x2c1ffb,toBuffer:_0x2770fb}=ce(),_0x198633=Symbol(_0x37bbbb(0x163)),_0x51dddd=Buffer[_0x37bbbb(0x9f)](0x4),_0x317179=0x8*0x400;let _0x394e2f,_0x18fdd5=_0x317179;const _0x262331=0x0,_0x4ff6f7=0x1,_0x489a6c=0x2;class _0x311c13{constructor(_0xbedaf7,_0x2cbb74,_0x29d9a2){const _0x3483d6=_0x37bbbb;this[_0x3483d6(0x167)]=_0x2cbb74||{},_0x29d9a2&&(this[_0x3483d6(0xe5)]=_0x29d9a2,this[_0x3483d6(0x151)]=Buffer[_0x3483d6(0x9f)](0x4)),this[_0x3483d6(0x1bd)]=_0xbedaf7,this[_0x3483d6(0x97)]=!0x0,this[_0x3483d6(0x1d3)]=!0x1,this['_bufferedBytes']=0x0,this[_0x3483d6(0x1ce)]=[],this[_0x3483d6(0x1b9)]=_0x262331,this[_0x3483d6(0x21e)]=_0x34383f,this[_0x289e4c]=void 0x0;}static['frame'](_0x2df606,_0x457ccc){const _0x4bfef2=_0x37bbbb;let _0x24d5cb,_0x1de54e=!0x1,_0x3f00b1=0x2,_0x1f7818=!0x1;_0x457ccc['mask']&&(_0x24d5cb=_0x457ccc[_0x4bfef2(0x1e8)]||_0x51dddd,_0x457ccc[_0x4bfef2(0x173)]?_0x457ccc['generateMask'](_0x24d5cb):(_0x18fdd5===_0x317179&&(_0x394e2f===void 0x0&&(_0x394e2f=Buffer[_0x4bfef2(0x9f)](_0x317179)),_0x58c15b(_0x394e2f,0x0,_0x317179),_0x18fdd5=0x0),_0x24d5cb[0x0]=_0x394e2f[_0x18fdd5++],_0x24d5cb[0x1]=_0x394e2f[_0x18fdd5++],_0x24d5cb[0x2]=_0x394e2f[_0x18fdd5++],_0x24d5cb[0x3]=_0x394e2f[_0x18fdd5++]),_0x1f7818=(_0x24d5cb[0x0]|_0x24d5cb[0x1]|_0x24d5cb[0x2]|_0x24d5cb[0x3])===0x0,_0x3f00b1=0x6);let _0x2e8f91;typeof _0x2df606==_0x4bfef2(0x1e6)?(!_0x457ccc[_0x4bfef2(0x10b)]||_0x1f7818)&&_0x457ccc[_0x198633]!==void 0x0?_0x2e8f91=_0x457ccc[_0x198633]:(_0x2df606=Buffer[_0x4bfef2(0x216)](_0x2df606),_0x2e8f91=_0x2df606[_0x4bfef2(0x159)]):(_0x2e8f91=_0x2df606[_0x4bfef2(0x159)],_0x1de54e=_0x457ccc[_0x4bfef2(0x10b)]&&_0x457ccc['readOnly']&&!_0x1f7818);let _0x5c9072=_0x2e8f91;_0x2e8f91>=0x10000?(_0x3f00b1+=0x8,_0x5c9072=0x7f):_0x2e8f91>0x7d&&(_0x3f00b1+=0x2,_0x5c9072=0x7e);const _0x261312=Buffer[_0x4bfef2(0xd9)](_0x1de54e?_0x2e8f91+_0x3f00b1:_0x3f00b1);return _0x261312[0x0]=_0x457ccc[_0x4bfef2(0x9e)]?_0x457ccc[_0x4bfef2(0x82)]|0x80:_0x457ccc['opcode'],_0x457ccc[_0x4bfef2(0x18d)]&&(_0x261312[0x0]|=0x40),_0x261312[0x1]=_0x5c9072,_0x5c9072===0x7e?_0x261312[_0x4bfef2(0xf7)](_0x2e8f91,0x2):_0x5c9072===0x7f&&(_0x261312[0x2]=_0x261312[0x3]=0x0,_0x261312[_0x4bfef2(0x152)](_0x2e8f91,0x4,0x6)),_0x457ccc[_0x4bfef2(0x10b)]?(_0x261312[0x1]|=0x80,_0x261312[_0x3f00b1-0x4]=_0x24d5cb[0x0],_0x261312[_0x3f00b1-0x3]=_0x24d5cb[0x1],_0x261312[_0x3f00b1-0x2]=_0x24d5cb[0x2],_0x261312[_0x3f00b1-0x1]=_0x24d5cb[0x3],_0x1f7818?[_0x261312,_0x2df606]:_0x1de54e?(_0x2c1ffb(_0x2df606,_0x24d5cb,_0x261312,_0x3f00b1,_0x2e8f91),[_0x261312]):(_0x2c1ffb(_0x2df606,_0x24d5cb,_0x2df606,0x0,_0x2e8f91),[_0x261312,_0x2df606])):[_0x261312,_0x2df606];}[_0x37bbbb(0x1ea)](_0x6c87be,_0x5c7ec0,_0x2d8d09,_0x440968){const _0x2f83f3=_0x37bbbb;let _0x58fc5e;if(_0x6c87be===void 0x0)_0x58fc5e=_0x407dab;else{if(typeof _0x6c87be!=_0x2f83f3(0x106)||!_0xc1854e(_0x6c87be))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5c7ec0===void 0x0||!_0x5c7ec0[_0x2f83f3(0x159)])_0x58fc5e=Buffer[_0x2f83f3(0xd9)](0x2),_0x58fc5e['writeUInt16BE'](_0x6c87be,0x0);else{const _0x1b7677=Buffer['byteLength'](_0x5c7ec0);if(_0x1b7677>0x7b)throw new RangeError(_0x2f83f3(0xaf));_0x58fc5e=Buffer[_0x2f83f3(0xd9)](0x2+_0x1b7677),_0x58fc5e[_0x2f83f3(0xf7)](_0x6c87be,0x0),typeof _0x5c7ec0==_0x2f83f3(0x1e6)?_0x58fc5e[_0x2f83f3(0x117)](_0x5c7ec0,0x2):_0x58fc5e['set'](_0x5c7ec0,0x2);}}const _0x5de15e={[_0x198633]:_0x58fc5e[_0x2f83f3(0x159)],'fin':!0x0,'generateMask':this[_0x2f83f3(0xe5)],'mask':_0x2d8d09,'maskBuffer':this[_0x2f83f3(0x151)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f83f3(0x1b9)]!==_0x262331?this['enqueue']([this[_0x2f83f3(0x193)],_0x58fc5e,!0x1,_0x5de15e,_0x440968]):this['sendFrame'](_0x311c13[_0x2f83f3(0x219)](_0x58fc5e,_0x5de15e),_0x440968);}[_0x37bbbb(0x9a)](_0x2c9d1a,_0xc1f3e,_0x2d0065){const _0x2f1134=_0x37bbbb;let _0x45f70b,_0x3856ad;if(typeof _0x2c9d1a==_0x2f1134(0x1e6)?(_0x45f70b=Buffer[_0x2f1134(0x102)](_0x2c9d1a),_0x3856ad=!0x1):_0x84ca4e(_0x2c9d1a)?(_0x45f70b=_0x2c9d1a[_0x2f1134(0x13c)],_0x3856ad=!0x1):(_0x2c9d1a=_0x2770fb(_0x2c9d1a),_0x45f70b=_0x2c9d1a[_0x2f1134(0x159)],_0x3856ad=_0x2770fb[_0x2f1134(0x112)]),_0x45f70b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x42e53b={[_0x198633]:_0x45f70b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xc1f3e,'maskBuffer':this[_0x2f1134(0x151)],'opcode':0x9,'readOnly':_0x3856ad,'rsv1':!0x1};_0x84ca4e(_0x2c9d1a)?this[_0x2f1134(0x1b9)]!==_0x262331?this['enqueue']([this[_0x2f1134(0x1af)],_0x2c9d1a,!0x1,_0x42e53b,_0x2d0065]):this[_0x2f1134(0x1af)](_0x2c9d1a,!0x1,_0x42e53b,_0x2d0065):this[_0x2f1134(0x1b9)]!==_0x262331?this[_0x2f1134(0xad)]([this[_0x2f1134(0x193)],_0x2c9d1a,!0x1,_0x42e53b,_0x2d0065]):this[_0x2f1134(0x172)](_0x311c13[_0x2f1134(0x219)](_0x2c9d1a,_0x42e53b),_0x2d0065);}[_0x37bbbb(0x1d2)](_0x57fd4c,_0x4c7c29,_0x516c01){const _0x33002a=_0x37bbbb;let _0x3da444,_0x263163;if(typeof _0x57fd4c==_0x33002a(0x1e6)?(_0x3da444=Buffer[_0x33002a(0x102)](_0x57fd4c),_0x263163=!0x1):_0x84ca4e(_0x57fd4c)?(_0x3da444=_0x57fd4c[_0x33002a(0x13c)],_0x263163=!0x1):(_0x57fd4c=_0x2770fb(_0x57fd4c),_0x3da444=_0x57fd4c[_0x33002a(0x159)],_0x263163=_0x2770fb[_0x33002a(0x112)]),_0x3da444>0x7d)throw new RangeError(_0x33002a(0x1cb));const _0x4b78de={[_0x198633]:_0x3da444,'fin':!0x0,'generateMask':this[_0x33002a(0xe5)],'mask':_0x4c7c29,'maskBuffer':this[_0x33002a(0x151)],'opcode':0xa,'readOnly':_0x263163,'rsv1':!0x1};_0x84ca4e(_0x57fd4c)?this[_0x33002a(0x1b9)]!==_0x262331?this[_0x33002a(0xad)]([this[_0x33002a(0x1af)],_0x57fd4c,!0x1,_0x4b78de,_0x516c01]):this[_0x33002a(0x1af)](_0x57fd4c,!0x1,_0x4b78de,_0x516c01):this[_0x33002a(0x1b9)]!==_0x262331?this[_0x33002a(0xad)]([this[_0x33002a(0x193)],_0x57fd4c,!0x1,_0x4b78de,_0x516c01]):this[_0x33002a(0x172)](_0x311c13[_0x33002a(0x219)](_0x57fd4c,_0x4b78de),_0x516c01);}[_0x37bbbb(0xe1)](_0x539bd6,_0x2d0030,_0x2e31d3){const _0x2e6f02=_0x37bbbb,_0x559a11=this[_0x2e6f02(0x167)][_0x18207e[_0x2e6f02(0x110)]];let _0x2cea5f=_0x2d0030[_0x2e6f02(0xcc)]?0x2:0x1,_0x93981=_0x2d0030[_0x2e6f02(0x209)],_0x41fa77,_0x176b35;typeof _0x539bd6==_0x2e6f02(0x1e6)?(_0x41fa77=Buffer[_0x2e6f02(0x102)](_0x539bd6),_0x176b35=!0x1):_0x84ca4e(_0x539bd6)?(_0x41fa77=_0x539bd6[_0x2e6f02(0x13c)],_0x176b35=!0x1):(_0x539bd6=_0x2770fb(_0x539bd6),_0x41fa77=_0x539bd6[_0x2e6f02(0x159)],_0x176b35=_0x2770fb[_0x2e6f02(0x112)]),this[_0x2e6f02(0x97)]?(this['_firstFragment']=!0x1,_0x93981&&_0x559a11&&_0x559a11[_0x2e6f02(0x11b)][_0x559a11[_0x2e6f02(0x1c0)]?'server_no_context_takeover':_0x2e6f02(0x176)]&&(_0x93981=_0x41fa77>=_0x559a11[_0x2e6f02(0xf8)]),this[_0x2e6f02(0x1d3)]=_0x93981):(_0x93981=!0x1,_0x2cea5f=0x0),_0x2d0030[_0x2e6f02(0x9e)]&&(this[_0x2e6f02(0x97)]=!0x0);const _0x4b22f0={[_0x198633]:_0x41fa77,'fin':_0x2d0030[_0x2e6f02(0x9e)],'generateMask':this[_0x2e6f02(0xe5)],'mask':_0x2d0030[_0x2e6f02(0x10b)],'maskBuffer':this[_0x2e6f02(0x151)],'opcode':_0x2cea5f,'readOnly':_0x176b35,'rsv1':_0x93981};_0x84ca4e(_0x539bd6)?this['_state']!==_0x262331?this[_0x2e6f02(0xad)]([this[_0x2e6f02(0x1af)],_0x539bd6,this[_0x2e6f02(0x1d3)],_0x4b22f0,_0x2e31d3]):this[_0x2e6f02(0x1af)](_0x539bd6,this[_0x2e6f02(0x1d3)],_0x4b22f0,_0x2e31d3):this[_0x2e6f02(0x1b9)]!==_0x262331?this[_0x2e6f02(0xad)]([this[_0x2e6f02(0x193)],_0x539bd6,this['_compress'],_0x4b22f0,_0x2e31d3]):this[_0x2e6f02(0x193)](_0x539bd6,this[_0x2e6f02(0x1d3)],_0x4b22f0,_0x2e31d3);}['getBlobData'](_0xed6db6,_0x42862c,_0x1e1f1f,_0x5b0465){const _0x9b1ded=_0x37bbbb;this[_0x9b1ded(0x17a)]+=_0x1e1f1f[_0x198633],this['_state']=_0x489a6c,_0xed6db6['arrayBuffer']()[_0x9b1ded(0x8f)](_0x308f0d=>{const _0x56576b=_0x9b1ded;if(this[_0x56576b(0x1bd)][_0x56576b(0x1a9)]){const _0x2a6ca0=new Error(_0x56576b(0xe0));process[_0x56576b(0x91)](_0x5f72b3,this,_0x2a6ca0,_0x5b0465);return;}this['_bufferedBytes']-=_0x1e1f1f[_0x198633];const _0x1d8922=_0x2770fb(_0x308f0d);_0x42862c?this[_0x56576b(0x193)](_0x1d8922,_0x42862c,_0x1e1f1f,_0x5b0465):(this[_0x56576b(0x1b9)]=_0x262331,this[_0x56576b(0x172)](_0x311c13[_0x56576b(0x219)](_0x1d8922,_0x1e1f1f),_0x5b0465),this[_0x56576b(0x1fc)]());})['catch'](_0x258917=>{const _0x29307b=_0x9b1ded;process[_0x29307b(0x91)](_0x13da9b,this,_0x258917,_0x5b0465);});}['dispatch'](_0x383e76,_0x5f448c,_0x198ca7,_0x44ff7f){const _0x23f694=_0x37bbbb;if(!_0x5f448c){this[_0x23f694(0x172)](_0x311c13[_0x23f694(0x219)](_0x383e76,_0x198ca7),_0x44ff7f);return;}const _0x231154=this[_0x23f694(0x167)][_0x18207e[_0x23f694(0x110)]];this[_0x23f694(0x17a)]+=_0x198ca7[_0x198633],this[_0x23f694(0x1b9)]=_0x4ff6f7,_0x231154[_0x23f694(0x209)](_0x383e76,_0x198ca7[_0x23f694(0x9e)],(_0x16070a,_0x4a0812)=>{const _0x116ed6=_0x23f694;if(this[_0x116ed6(0x1bd)][_0x116ed6(0x1a9)]){const _0x1a8668=new Error(_0x116ed6(0x225));_0x5f72b3(this,_0x1a8668,_0x44ff7f);return;}this[_0x116ed6(0x17a)]-=_0x198ca7[_0x198633],this['_state']=_0x262331,_0x198ca7[_0x116ed6(0x112)]=!0x1,this[_0x116ed6(0x172)](_0x311c13['frame'](_0x4a0812,_0x198ca7),_0x44ff7f),this[_0x116ed6(0x1fc)]();});}['dequeue'](){const _0x3115cd=_0x37bbbb;for(;this[_0x3115cd(0x1b9)]===_0x262331&&this[_0x3115cd(0x1ce)][_0x3115cd(0x159)];){const _0x242b0b=this['_queue'][_0x3115cd(0xe6)]();this[_0x3115cd(0x17a)]-=_0x242b0b[0x3][_0x198633],Reflect[_0x3115cd(0xff)](_0x242b0b[0x0],this,_0x242b0b[_0x3115cd(0x201)](0x1));}}[_0x37bbbb(0xad)](_0x4c04e2){const _0xeea590=_0x37bbbb;this['_bufferedBytes']+=_0x4c04e2[0x3][_0x198633],this[_0xeea590(0x1ce)][_0xeea590(0x21f)](_0x4c04e2);}[_0x37bbbb(0x172)](_0x5219d0,_0x16401e){const _0x56f0ed=_0x37bbbb;_0x5219d0['length']===0x2?(this[_0x56f0ed(0x1bd)][_0x56f0ed(0x160)](),this[_0x56f0ed(0x1bd)][_0x56f0ed(0x117)](_0x5219d0[0x0]),this[_0x56f0ed(0x1bd)][_0x56f0ed(0x117)](_0x5219d0[0x1],_0x16401e),this['_socket'][_0x56f0ed(0x15a)]()):this['_socket'][_0x56f0ed(0x117)](_0x5219d0[0x0],_0x16401e);}}Ee=_0x311c13;function _0x5f72b3(_0x20b96a,_0xe42f06,_0x2fa599){const _0x5c2848=_0x37bbbb;typeof _0x2fa599==_0x5c2848(0x180)&&_0x2fa599(_0xe42f06);for(let _0x54f3d0=0x0;_0x54f3d0<_0x20b96a[_0x5c2848(0x1ce)][_0x5c2848(0x159)];_0x54f3d0++){const _0x2d629b=_0x20b96a[_0x5c2848(0x1ce)][_0x54f3d0],_0x16e736=_0x2d629b[_0x2d629b['length']-0x1];typeof _0x16e736=='function'&&_0x16e736(_0xe42f06);}}function _0x13da9b(_0x57f55a,_0x22ca50,_0x1d92ff){_0x5f72b3(_0x57f55a,_0x22ca50,_0x1d92ff),_0x57f55a['onerror'](_0x22ca50);}return Ee;}var xe,tt;function Kt(){const _0x559722=_0x3a8eac;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2366c9,kListener:_0x437294}=V(),_0x5b0b16=Symbol(_0x559722(0x1d7)),_0x1b5d8a=Symbol('kData'),_0x82fa48=Symbol(_0x559722(0xfb)),_0x4fa376=Symbol(_0x559722(0x179)),_0x2f8d9b=Symbol('kReason'),_0x1ab16d=Symbol(_0x559722(0x84)),_0x5b47f1=Symbol(_0x559722(0xc4)),_0x453176=Symbol(_0x559722(0x95));class _0x54343e{constructor(_0x578260){this[_0x1ab16d]=null,this[_0x5b47f1]=_0x578260;}get[_0x559722(0x141)](){return this[_0x1ab16d];}get[_0x559722(0x214)](){return this[_0x5b47f1];}}Object[_0x559722(0x10d)](_0x54343e[_0x559722(0x19b)],'target',{'enumerable':!0x0}),Object[_0x559722(0x10d)](_0x54343e[_0x559722(0x19b)],_0x559722(0x214),{'enumerable':!0x0});class _0x1258ed extends _0x54343e{constructor(_0x259647,_0x207122={}){const _0x22f6cb=_0x559722;super(_0x259647),this[_0x5b0b16]=_0x207122[_0x22f6cb(0x9d)]===void 0x0?0x0:_0x207122[_0x22f6cb(0x9d)],this[_0x2f8d9b]=_0x207122[_0x22f6cb(0x206)]===void 0x0?'':_0x207122['reason'],this[_0x453176]=_0x207122[_0x22f6cb(0x17c)]===void 0x0?!0x1:_0x207122[_0x22f6cb(0x17c)];}get[_0x559722(0x9d)](){return this[_0x5b0b16];}get[_0x559722(0x206)](){return this[_0x2f8d9b];}get[_0x559722(0x17c)](){return this[_0x453176];}}Object[_0x559722(0x10d)](_0x1258ed[_0x559722(0x19b)],_0x559722(0x9d),{'enumerable':!0x0}),Object[_0x559722(0x10d)](_0x1258ed[_0x559722(0x19b)],'reason',{'enumerable':!0x0}),Object[_0x559722(0x10d)](_0x1258ed[_0x559722(0x19b)],'wasClean',{'enumerable':!0x0});class _0x5c5cf0 extends _0x54343e{constructor(_0x142f38,_0x4178e1={}){const _0x47874b=_0x559722;super(_0x142f38),this[_0x82fa48]=_0x4178e1[_0x47874b(0x18e)]===void 0x0?null:_0x4178e1[_0x47874b(0x18e)],this[_0x4fa376]=_0x4178e1['message']===void 0x0?'':_0x4178e1['message'];}get['error'](){return this[_0x82fa48];}get['message'](){return this[_0x4fa376];}}Object['defineProperty'](_0x5c5cf0[_0x559722(0x19b)],'error',{'enumerable':!0x0}),Object[_0x559722(0x10d)](_0x5c5cf0['prototype'],_0x559722(0x1ca),{'enumerable':!0x0});class _0x5ecfea extends _0x54343e{constructor(_0x3ba049,_0x5c81af={}){const _0x27e1a2=_0x559722;super(_0x3ba049),this[_0x1b5d8a]=_0x5c81af['data']===void 0x0?null:_0x5c81af[_0x27e1a2(0x13d)];}get[_0x559722(0x13d)](){return this[_0x1b5d8a];}}Object[_0x559722(0x10d)](_0x5ecfea[_0x559722(0x19b)],_0x559722(0x13d),{'enumerable':!0x0}),xe={'CloseEvent':_0x1258ed,'ErrorEvent':_0x5c5cf0,'Event':_0x54343e,'EventTarget':{'addEventListener'(_0x4b6709,_0x16605f,_0x1e2c10={}){const _0x59dd2d=_0x559722;for(const _0x57eb36 of this[_0x59dd2d(0xa6)](_0x4b6709))if(!_0x1e2c10[_0x2366c9]&&_0x57eb36[_0x437294]===_0x16605f&&!_0x57eb36[_0x2366c9])return;let _0x342cbb;if(_0x4b6709===_0x59dd2d(0x1ca))_0x342cbb=function(_0x28a6af,_0x4fc195){const _0x2b3be2=_0x59dd2d,_0x6865b3=new _0x5ecfea('message',{'data':_0x4fc195?_0x28a6af:_0x28a6af[_0x2b3be2(0x1a3)]()});_0x6865b3[_0x1ab16d]=this,_0x44df64(_0x16605f,this,_0x6865b3);};else{if(_0x4b6709===_0x59dd2d(0x1ea))_0x342cbb=function(_0x4d0592,_0xe80e54){const _0x655b99=_0x59dd2d,_0x3e139c=new _0x1258ed(_0x655b99(0x1ea),{'code':_0x4d0592,'reason':_0xe80e54['toString'](),'wasClean':this[_0x655b99(0x217)]&&this[_0x655b99(0x212)]});_0x3e139c[_0x1ab16d]=this,_0x44df64(_0x16605f,this,_0x3e139c);};else{if(_0x4b6709==='error')_0x342cbb=function(_0x3e15de){const _0x3cdfd2=new _0x5c5cf0('error',{'error':_0x3e15de,'message':_0x3e15de['message']});_0x3cdfd2[_0x1ab16d]=this,_0x44df64(_0x16605f,this,_0x3cdfd2);};else{if(_0x4b6709===_0x59dd2d(0x190))_0x342cbb=function(){const _0xb4bb80=_0x59dd2d,_0x5a663a=new _0x54343e(_0xb4bb80(0x190));_0x5a663a[_0x1ab16d]=this,_0x44df64(_0x16605f,this,_0x5a663a);};else return;}}}_0x342cbb[_0x2366c9]=!!_0x1e2c10[_0x2366c9],_0x342cbb[_0x437294]=_0x16605f,_0x1e2c10['once']?this[_0x59dd2d(0x1a2)](_0x4b6709,_0x342cbb):this['on'](_0x4b6709,_0x342cbb);},'removeEventListener'(_0x5a65f0,_0x555c47){const _0x1ecfc2=_0x559722;for(const _0x204a8b of this[_0x1ecfc2(0xa6)](_0x5a65f0))if(_0x204a8b[_0x437294]===_0x555c47&&!_0x204a8b[_0x2366c9]){this[_0x1ecfc2(0x166)](_0x5a65f0,_0x204a8b);break;}}},'MessageEvent':_0x5ecfea};function _0x44df64(_0x112ebf,_0x2e24e7,_0x4a20e6){const _0x5ab74a=_0x559722;typeof _0x112ebf=='object'&&_0x112ebf[_0x5ab74a(0x21c)]?_0x112ebf[_0x5ab74a(0x21c)][_0x5ab74a(0x12b)](_0x112ebf,_0x4a20e6):_0x112ebf[_0x5ab74a(0x12b)](_0x2e24e7,_0x4a20e6);}return xe;}var be,rt;function _0x26e3(){const _0x476551=['_sender','Server\x20sent\x20an\x20invalid\x20subprotocol','backlog','charCodeAt','get','byteOffset','format','join','sec-websocket-extensions','blob','FIN\x20must\x20be\x20set','_maskBuffer','writeUIntBE','STATUS_CODES','_deflate','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','autoPong','server_max_window_bits','finishRequest','length','uncork','wsClientError','parse','_server','invalid\x20opcode\x200','_redirects','cork','toStringTag','\x22\x20must\x20have\x20only\x20a\x20single\x20value','kByteLength','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','_destroy','removeListener','_extensions','options','_options','upgrade','delete','Server\x20sent\x20no\x20subprotocol','_fragments','http:','_payloadLength','WS_ERR_INVALID_OPCODE','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','sendFrame','generateMask','isPaused','onclose','client_no_context_takeover','indexOf','_errorEmitted','kMessage','_bufferedBytes','invalid\x20opcode\x20','wasClean','address','serverNoContextTakeover','pipe','function','isInteger','__esModule','_maxPayload','values','Sec-WebSocket-Extensions','_httpService','removeAllListeners','getPayloadLength64','species','_write','\x0d\x0a\x0d\x0a','1739563VNyFXW','rsv1','error','WS_ERR_EXPECTED_MASK','open','64938DMgvPM','listenerCount','dispatch','setConfig','pending','concurrencyLimit','completeUpgrade','socket','setTimeout','Upgrade','prototype','cookie','handleUpgrade','authorization','arraybuffer','Unexpected\x20end\x20of\x20input','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','once','toString','extensions','maxPayload','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','haveLength','Module','destroyed','entries','statusCode','ws+unix:','readyState','bind','getBlobData','consume','dataMessage','_registerDependencies','getConfig','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Maximum\x20redirects\x20exceeded','arrayBuffer','Invalid\x20HTTP\x20method','concat','_state','_inflate','decompress','_fragmented','_socket','_messageLength','setSocket','_isServer','followRedirects','host','split','captureStackTrace','WS_ERR_INVALID_CLOSE_CODE','addEventListener','startsWith','pathname','_fin','message','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_removeListeners','timeout','_queue','_url','WebSocket\x20is\x20not\x20open:\x20readyState\x20','getPayloadLength16','pong','_compress','getMask','customHeaders','terminate','kCode','_protocol','env','read','_bufferedAmount','pause','createSocket','createError','Parameter\x20\x22','zlibDeflateOptions','_originalIpc','sec-websocket-protocol','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Invalid\x20URL:\x20','protocolVersion','string','normalizeParams','maskBuffer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','close','_autoPong','_masked','create','endEmitted','WS_ERR_INVALID_UTF8','exports','ws:','stream','The\x20server\x20is\x20not\x20running','_no_context_takeover','Invalid\x20Sec-WebSocket-Accept\x20header','createInflateRaw','The\x20URL\x20contains\x20a\x20fragment\x20identifier','nodebuffer','_binaryType','onmessage','clientMaxWindowBits','dequeue','hash','Unexpected\x20server\x20response:\x20','_shouldEmitClose','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','slice','allowSynchronousEvents','Invalid\x20Sec-WebSocket-Protocol\x20header','2189056qMEmsG','response','reason','serverMaxWindowBits','Unknown\x20parameter\x20\x22','compress','379884FYexTM','controlMessage','hasOwnProperty','Sec-WebSocket-Accept:\x20','setNoDelay','Sec-WebSocket-Protocol','_skipUTF8Validation','base64','_closeFrameSent','writable','type','clients','from','_closeFrameReceived','map','frame','finish','client_max_window_bits','handleEvent','_buffers','onerror','push','permessage-deflate','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','emitClose','_compressed','forEach','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','port','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','accept','zlibInflateOptions','auth','_injector','unexpected-response','path','opcode','find','kTarget','defaultPort','_errored','1890747jOGHbu','destroy','File','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','kIsForOnEventAttribute','_decompress','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','value','then','CLOSED','nextTick','Unexpected\x20character\x20at\x20index\x20','replace','Unsupported\x20protocol\x20version:\x20','kWasClean','removeEventListener','_firstFragment','password','startLoop','ping','binaryType','kListener','code','fin','alloc','conclude','_writableState','isValidUTF8','readUInt16BE','OPEN','Invalid\x20value\x20for\x20parameter\x20\x22','listeners','_read','pow','errorEmitted','_paused','listening','sec-websocket-version','enqueue','isView','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','wss:','_originalSecure','dispose','_max_window_bits','createConnection','default','reset','Invalid\x20WebSocket\x20frame:\x20','sec-websocket-accept','_closeTimer','shouldHandle','_final','isArray','username','toLowerCase','https:','concurrency','createDeflateRaw','_loop','CLOSING','kType','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','redirect','url','handleProtocols','protocol','Z_SYNC_FLUSH','writeHead','binary','Max\x20payload\x20size\x20exceeded','headers','_receiver','add','Sec-WebSocket-Extensions:\x20','_readyState','35392960eNHdNp','invalid\x20UTF-8\x20sequence','Sec-WebSocket-Origin','servername','Blob','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','allocUnsafe','offer','perMessageDeflate','set','_originalHostOrSocketPath','end','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','send','RSV1\x20must\x20be\x20clear','Z_DEFAULT_WINDOWBITS','warn','_generateMask','shift','verifyClient','\x20(supported\x20versions:\x20','32lEqCpL','acceptAsClient','Upgrade:\x20websocket','The\x20\x22','needDrain','sha1','18PwlVqx','buffer','Opening\x20handshake\x20has\x20timed\x20out','kRun','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','getInfo','\x22:\x20','_req','writeUInt16BE','_threshold','freeze','resume','kError','keys','digest','hostname','apply','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_allowSynchronousEvents','byteLength','getData','Invalid\x20Sec-WebSocket-Extensions\x20header','acceptAsServer','number','connect','kAborted','_configService','CONNECTING','mask','location','defineProperty','server_no_context_takeover','The\x20URL\x27s\x20pathname\x20is\x20empty','extensionName','_closeCode','readOnly','href','getOwnPropertyDescriptor','_mask','noServer','write','Sec-WebSocket-Protocol:\x20','Invalid\x20Upgrade\x20header','client','params','websocket','next','server','kDone','clientNoContextTakeover','Cookie','readUInt32BE','construct','skipUTF8Validation','connection','callback','finished','bufferedAmount','jobs','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','call','has','_doCreateSocket','545LdcOPw','handshakeTimeout','maxRedirects','GET','setHeader','threshold','socketPath','objectMode','emit','_totalPayloadLength','MASK\x20must\x20be\x20clear','includes','_readableState','WS_ERR_UNEXPECTED_RSV_1','size','data','_opcode','flush','1458757LXLUsx','target','request','cleanup','origin','test'];_0x26e3=function(){return _0x476551;};return _0x26e3();}function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x483562}=ne();function _0x23e01f(_0x2f9eb6,_0x3e31c9,_0x1d809a){const _0x55100b=_0x4d04;_0x2f9eb6[_0x3e31c9]===void 0x0?_0x2f9eb6[_0x3e31c9]=[_0x1d809a]:_0x2f9eb6[_0x3e31c9][_0x55100b(0x21f)](_0x1d809a);}function _0x36663c(_0x510e38){const _0x3f96fa=_0x4d04,_0x2d8c35=Object['create'](null);let _0xac78ee=Object[_0x3f96fa(0x1ed)](null),_0x202fe4=!0x1,_0x12ed69=!0x1,_0x23539c=!0x1,_0x351db7,_0x391fa6,_0x5d2c08=-0x1,_0xc045a0=-0x1,_0x50fdf8=-0x1,_0x4fc820=0x0;for(;_0x4fc820<_0x510e38[_0x3f96fa(0x159)];_0x4fc820++)if(_0xc045a0=_0x510e38[_0x3f96fa(0x149)](_0x4fc820),_0x351db7===void 0x0){if(_0x50fdf8===-0x1&&_0x483562[_0xc045a0]===0x1)_0x5d2c08===-0x1&&(_0x5d2c08=_0x4fc820);else{if(_0x4fc820!==0x0&&(_0xc045a0===0x20||_0xc045a0===0x9))_0x50fdf8===-0x1&&_0x5d2c08!==-0x1&&(_0x50fdf8=_0x4fc820);else{if(_0xc045a0===0x3b||_0xc045a0===0x2c){if(_0x5d2c08===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4fc820);_0x50fdf8===-0x1&&(_0x50fdf8=_0x4fc820);const _0x28af21=_0x510e38[_0x3f96fa(0x201)](_0x5d2c08,_0x50fdf8);_0xc045a0===0x2c?(_0x23e01f(_0x2d8c35,_0x28af21,_0xac78ee),_0xac78ee=Object[_0x3f96fa(0x1ed)](null)):_0x351db7=_0x28af21,_0x5d2c08=_0x50fdf8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4fc820);}}}else{if(_0x391fa6===void 0x0){if(_0x50fdf8===-0x1&&_0x483562[_0xc045a0]===0x1)_0x5d2c08===-0x1&&(_0x5d2c08=_0x4fc820);else{if(_0xc045a0===0x20||_0xc045a0===0x9)_0x50fdf8===-0x1&&_0x5d2c08!==-0x1&&(_0x50fdf8=_0x4fc820);else{if(_0xc045a0===0x3b||_0xc045a0===0x2c){if(_0x5d2c08===-0x1)throw new SyntaxError(_0x3f96fa(0x92)+_0x4fc820);_0x50fdf8===-0x1&&(_0x50fdf8=_0x4fc820),_0x23e01f(_0xac78ee,_0x510e38['slice'](_0x5d2c08,_0x50fdf8),!0x0),_0xc045a0===0x2c&&(_0x23e01f(_0x2d8c35,_0x351db7,_0xac78ee),_0xac78ee=Object[_0x3f96fa(0x1ed)](null),_0x351db7=void 0x0),_0x5d2c08=_0x50fdf8=-0x1;}else{if(_0xc045a0===0x3d&&_0x5d2c08!==-0x1&&_0x50fdf8===-0x1)_0x391fa6=_0x510e38[_0x3f96fa(0x201)](_0x5d2c08,_0x4fc820),_0x5d2c08=_0x50fdf8=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4fc820);}}}}else{if(_0x12ed69){if(_0x483562[_0xc045a0]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4fc820);_0x5d2c08===-0x1?_0x5d2c08=_0x4fc820:_0x202fe4||(_0x202fe4=!0x0),_0x12ed69=!0x1;}else{if(_0x23539c){if(_0x483562[_0xc045a0]===0x1)_0x5d2c08===-0x1&&(_0x5d2c08=_0x4fc820);else{if(_0xc045a0===0x22&&_0x5d2c08!==-0x1)_0x23539c=!0x1,_0x50fdf8=_0x4fc820;else{if(_0xc045a0===0x5c)_0x12ed69=!0x0;else throw new SyntaxError(_0x3f96fa(0x92)+_0x4fc820);}}}else{if(_0xc045a0===0x22&&_0x510e38[_0x3f96fa(0x149)](_0x4fc820-0x1)===0x3d)_0x23539c=!0x0;else{if(_0x50fdf8===-0x1&&_0x483562[_0xc045a0]===0x1)_0x5d2c08===-0x1&&(_0x5d2c08=_0x4fc820);else{if(_0x5d2c08!==-0x1&&(_0xc045a0===0x20||_0xc045a0===0x9))_0x50fdf8===-0x1&&(_0x50fdf8=_0x4fc820);else{if(_0xc045a0===0x3b||_0xc045a0===0x2c){if(_0x5d2c08===-0x1)throw new SyntaxError(_0x3f96fa(0x92)+_0x4fc820);_0x50fdf8===-0x1&&(_0x50fdf8=_0x4fc820);let _0x4df427=_0x510e38[_0x3f96fa(0x201)](_0x5d2c08,_0x50fdf8);_0x202fe4&&(_0x4df427=_0x4df427[_0x3f96fa(0x93)](/\\/g,''),_0x202fe4=!0x1),_0x23e01f(_0xac78ee,_0x391fa6,_0x4df427),_0xc045a0===0x2c&&(_0x23e01f(_0x2d8c35,_0x351db7,_0xac78ee),_0xac78ee=Object[_0x3f96fa(0x1ed)](null),_0x351db7=void 0x0),_0x391fa6=void 0x0,_0x5d2c08=_0x50fdf8=-0x1;}else throw new SyntaxError(_0x3f96fa(0x92)+_0x4fc820);}}}}}}}if(_0x5d2c08===-0x1||_0x23539c||_0xc045a0===0x20||_0xc045a0===0x9)throw new SyntaxError(_0x3f96fa(0x1a0));_0x50fdf8===-0x1&&(_0x50fdf8=_0x4fc820);const _0x3abc08=_0x510e38[_0x3f96fa(0x201)](_0x5d2c08,_0x50fdf8);return _0x351db7===void 0x0?_0x23e01f(_0x2d8c35,_0x3abc08,_0xac78ee):(_0x391fa6===void 0x0?_0x23e01f(_0xac78ee,_0x3abc08,!0x0):_0x202fe4?_0x23e01f(_0xac78ee,_0x391fa6,_0x3abc08[_0x3f96fa(0x93)](/\\/g,'')):_0x23e01f(_0xac78ee,_0x391fa6,_0x3abc08),_0x23e01f(_0x2d8c35,_0x351db7,_0xac78ee)),_0x2d8c35;}function _0x9bac66(_0x2cb536){const _0x1ef954=_0x4d04;return Object[_0x1ef954(0xfc)](_0x2cb536)[_0x1ef954(0x218)](_0x41ed43=>{const _0x1a634a=_0x1ef954;let _0x310c1f=_0x2cb536[_0x41ed43];return Array[_0x1a634a(0xbc)](_0x310c1f)||(_0x310c1f=[_0x310c1f]),_0x310c1f[_0x1a634a(0x218)](_0x36f0d4=>[_0x41ed43][_0x1a634a(0x1b8)](Object[_0x1a634a(0xfc)](_0x36f0d4)[_0x1a634a(0x218)](_0xaa33a8=>{const _0x536b00=_0x1a634a;let _0x1eb813=_0x36f0d4[_0xaa33a8];return Array['isArray'](_0x1eb813)||(_0x1eb813=[_0x1eb813]),_0x1eb813[_0x536b00(0x218)](_0x23b57a=>_0x23b57a===!0x0?_0xaa33a8:_0xaa33a8+'='+_0x23b57a)[_0x536b00(0x14d)](';\x20');}))[_0x1a634a(0x14d)](';\x20'))[_0x1a634a(0x14d)](',\x20');})['join'](',\x20');}return be={'format':_0x9bac66,'parse':_0x36663c},be;}var we,st;function Ie(){const _0x2a2f97=_0x3a8eac;if(st)return we;st=0x1;const _0x1b48e3=_0x478f34,_0x2cfb48=_0x199a0a,_0x53425=_0x22ffd1,_0x3cf9d0=_0x53102a,_0x41030d=_0x28de9a,{randomBytes:_0xaf061d,createHash:_0x3c7880}=_0xcd04e8,{Duplex:_0x38f37c,Readable:_0x2c698a}=_0x40ad73,{URL:_0x457f97}=_0xd57757,_0x35ef6b=he(),_0xbdec4e=dt(),_0x38ed57=_t(),{isBlob:_0x2203cc}=ne(),{BINARY_TYPES:_0x16467e,EMPTY_BUFFER:_0x251623,GUID:_0x2a310b,kForOnEventAttribute:_0x116437,kListener:_0xc43f7,kStatusCode:_0x2c5e0e,kWebSocket:_0x46af07,NOOP:_0x522ba4}=V(),{EventTarget:{addEventListener:_0xde6d5f,removeEventListener:_0x32a175}}=Kt(),{format:_0x52ddce,parse:_0x45a0af}=pt(),{toBuffer:_0x48ad96}=ce(),_0x15f2ca=0x1e*0x3e8,_0x5aef8b=Symbol(_0x2a2f97(0x108)),_0x34fe3b=[0x8,0xd],_0x58069a=[_0x2a2f97(0x10a),'OPEN',_0x2a2f97(0xc3),_0x2a2f97(0x90)],_0x2d6006=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5128c7 extends _0x1b48e3{constructor(_0x20f60a,_0x78786c,_0x46201f){const _0x608f38=_0x2a2f97;super(),this[_0x608f38(0x1f9)]=_0x16467e[0x0],this[_0x608f38(0x111)]=0x3ee,this[_0x608f38(0x217)]=!0x1,this[_0x608f38(0x212)]=!0x1,this['_closeMessage']=_0x251623,this[_0x608f38(0xb9)]=null,this['_errorEmitted']=!0x1,this[_0x608f38(0x167)]={},this[_0x608f38(0xaa)]=!0x1,this['_protocol']='',this[_0x608f38(0xd2)]=_0x5128c7['CONNECTING'],this['_receiver']=null,this[_0x608f38(0x146)]=null,this[_0x608f38(0x1bd)]=null,_0x20f60a!==null?(this[_0x608f38(0x1db)]=0x0,this[_0x608f38(0x1c0)]=!0x1,this[_0x608f38(0x15f)]=0x0,_0x78786c===void 0x0?_0x78786c=[]:Array[_0x608f38(0xbc)](_0x78786c)||(typeof _0x78786c=='object'&&_0x78786c!==null?(_0x46201f=_0x78786c,_0x78786c=[]):_0x78786c=[_0x78786c]),_0x4b4089(this,_0x20f60a,_0x78786c,_0x46201f)):(this[_0x608f38(0x1eb)]=_0x46201f[_0x608f38(0x156)],this[_0x608f38(0x1c0)]=!0x0);}get[_0x2a2f97(0x9b)](){const _0x573b6d=_0x2a2f97;return this[_0x573b6d(0x1f9)];}set['binaryType'](_0x40196e){const _0xd2e3b4=_0x2a2f97;_0x16467e[_0xd2e3b4(0x139)](_0x40196e)&&(this[_0xd2e3b4(0x1f9)]=_0x40196e,this['_receiver']&&(this[_0xd2e3b4(0xcf)][_0xd2e3b4(0x1f9)]=_0x40196e));}get[_0x2a2f97(0x128)](){const _0x1f217e=_0x2a2f97;return this[_0x1f217e(0x1bd)]?this['_socket']['_writableState'][_0x1f217e(0x159)]+this['_sender'][_0x1f217e(0x17a)]:this[_0x1f217e(0x1db)];}get[_0x2a2f97(0x1a4)](){const _0x51624c=_0x2a2f97;return Object[_0x51624c(0xfc)](this[_0x51624c(0x167)])['join']();}get[_0x2a2f97(0x174)](){return this['_paused'];}get[_0x2a2f97(0x175)](){return null;}get[_0x2a2f97(0x21e)](){return null;}get['onopen'](){return null;}get[_0x2a2f97(0x1fa)](){return null;}get['protocol'](){const _0x202112=_0x2a2f97;return this[_0x202112(0x1d8)];}get['readyState'](){const _0x688b8b=_0x2a2f97;return this[_0x688b8b(0xd2)];}get['url'](){return this['_url'];}[_0x2a2f97(0x1bf)](_0x246054,_0x54f2b0,_0x193829){const _0x3c0489=_0x2a2f97,_0x3c3fab=new _0xbdec4e({'allowSynchronousEvents':_0x193829['allowSynchronousEvents'],'binaryType':this[_0x3c0489(0x9b)],'extensions':this[_0x3c0489(0x167)],'isServer':this[_0x3c0489(0x1c0)],'maxPayload':_0x193829['maxPayload'],'skipUTF8Validation':_0x193829[_0x3c0489(0x124)]}),_0x498aae=new _0x38ed57(_0x246054,this[_0x3c0489(0x167)],_0x193829[_0x3c0489(0x173)]);this[_0x3c0489(0xcf)]=_0x3c3fab,this[_0x3c0489(0x146)]=_0x498aae,this[_0x3c0489(0x1bd)]=_0x246054,_0x3c3fab[_0x46af07]=this,_0x498aae[_0x46af07]=this,_0x246054[_0x46af07]=this,_0x3c3fab['on'](_0x3c0489(0xa0),_0x47f7e0),_0x3c3fab['on']('drain',_0x4c3955),_0x3c3fab['on'](_0x3c0489(0x18e),_0x38d22a),_0x3c3fab['on'](_0x3c0489(0x1ca),_0x2a0c61),_0x3c3fab['on'](_0x3c0489(0x9a),_0x1fe95e),_0x3c3fab['on'](_0x3c0489(0x1d2),_0x117f6e),_0x498aae['onerror']=_0x10314d,_0x246054[_0x3c0489(0x199)]&&_0x246054['setTimeout'](0x0),_0x246054[_0x3c0489(0x20e)]&&_0x246054['setNoDelay'](),_0x54f2b0['length']>0x0&&_0x246054['unshift'](_0x54f2b0),_0x246054['on'](_0x3c0489(0x1ea),_0x35ba3e),_0x246054['on'](_0x3c0489(0x13d),_0x1209b9),_0x246054['on'](_0x3c0489(0xde),_0x1c0592),_0x246054['on'](_0x3c0489(0x18e),_0x48bb6e),this['_readyState']=_0x5128c7[_0x3c0489(0xa4)],this['emit'](_0x3c0489(0x190));}[_0x2a2f97(0x222)](){const _0x1128f5=_0x2a2f97;if(!this[_0x1128f5(0x1bd)]){this[_0x1128f5(0xd2)]=_0x5128c7[_0x1128f5(0x90)],this[_0x1128f5(0x136)](_0x1128f5(0x1ea),this[_0x1128f5(0x111)],this['_closeMessage']);return;}this['_extensions'][_0x35ef6b[_0x1128f5(0x110)]]&&this[_0x1128f5(0x167)][_0x35ef6b[_0x1128f5(0x110)]][_0x1128f5(0x143)](),this[_0x1128f5(0xcf)][_0x1128f5(0x187)](),this[_0x1128f5(0xd2)]=_0x5128c7[_0x1128f5(0x90)],this[_0x1128f5(0x136)](_0x1128f5(0x1ea),this[_0x1128f5(0x111)],this['_closeMessage']);}[_0x2a2f97(0x1ea)](_0x1a6653,_0x44706f){const _0x50fb3f=_0x2a2f97;if(this[_0x50fb3f(0x1ad)]!==_0x5128c7[_0x50fb3f(0x90)]){if(this[_0x50fb3f(0x1ad)]===_0x5128c7[_0x50fb3f(0x10a)]){_0x31e632(this,this[_0x50fb3f(0xf6)],_0x50fb3f(0xf3));return;}if(this[_0x50fb3f(0x1ad)]===_0x5128c7['CLOSING']){this['_closeFrameSent']&&(this[_0x50fb3f(0x217)]||this[_0x50fb3f(0xcf)]['_writableState'][_0x50fb3f(0xa9)])&&this[_0x50fb3f(0x1bd)]['end']();return;}this[_0x50fb3f(0xd2)]=_0x5128c7[_0x50fb3f(0xc3)],this['_sender']['close'](_0x1a6653,_0x44706f,!this[_0x50fb3f(0x1c0)],_0x2d9e75=>{const _0x4c8aac=_0x50fb3f;_0x2d9e75||(this[_0x4c8aac(0x212)]=!0x0,(this[_0x4c8aac(0x217)]||this[_0x4c8aac(0xcf)][_0x4c8aac(0xa1)][_0x4c8aac(0xa9)])&&this[_0x4c8aac(0x1bd)][_0x4c8aac(0xde)]());}),_0x3de0a8(this);}}[_0x2a2f97(0x1dc)](){const _0x3eba91=_0x2a2f97;this[_0x3eba91(0x1ad)]===_0x5128c7['CONNECTING']||this[_0x3eba91(0x1ad)]===_0x5128c7[_0x3eba91(0x90)]||(this['_paused']=!0x0,this[_0x3eba91(0x1bd)][_0x3eba91(0x1dc)]());}['ping'](_0x5768ec,_0x2b41c5,_0x283905){const _0x17c4e7=_0x2a2f97;if(this[_0x17c4e7(0x1ad)]===_0x5128c7[_0x17c4e7(0x10a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5768ec==_0x17c4e7(0x180)?(_0x283905=_0x5768ec,_0x5768ec=_0x2b41c5=void 0x0):typeof _0x2b41c5==_0x17c4e7(0x180)&&(_0x283905=_0x2b41c5,_0x2b41c5=void 0x0),typeof _0x5768ec==_0x17c4e7(0x106)&&(_0x5768ec=_0x5768ec['toString']()),this[_0x17c4e7(0x1ad)]!==_0x5128c7[_0x17c4e7(0xa4)]){_0x4c0de6(this,_0x5768ec,_0x283905);return;}_0x2b41c5===void 0x0&&(_0x2b41c5=!this[_0x17c4e7(0x1c0)]),this[_0x17c4e7(0x146)][_0x17c4e7(0x9a)](_0x5768ec||_0x251623,_0x2b41c5,_0x283905);}[_0x2a2f97(0x1d2)](_0x240104,_0x5c3472,_0x538715){const _0x356d98=_0x2a2f97;if(this['readyState']===_0x5128c7[_0x356d98(0x10a)])throw new Error(_0x356d98(0x228));if(typeof _0x240104==_0x356d98(0x180)?(_0x538715=_0x240104,_0x240104=_0x5c3472=void 0x0):typeof _0x5c3472==_0x356d98(0x180)&&(_0x538715=_0x5c3472,_0x5c3472=void 0x0),typeof _0x240104==_0x356d98(0x106)&&(_0x240104=_0x240104[_0x356d98(0x1a3)]()),this[_0x356d98(0x1ad)]!==_0x5128c7[_0x356d98(0xa4)]){_0x4c0de6(this,_0x240104,_0x538715);return;}_0x5c3472===void 0x0&&(_0x5c3472=!this[_0x356d98(0x1c0)]),this[_0x356d98(0x146)][_0x356d98(0x1d2)](_0x240104||_0x251623,_0x5c3472,_0x538715);}[_0x2a2f97(0xfa)](){const _0x15386f=_0x2a2f97;this[_0x15386f(0x1ad)]===_0x5128c7[_0x15386f(0x10a)]||this['readyState']===_0x5128c7[_0x15386f(0x90)]||(this[_0x15386f(0xaa)]=!0x1,this[_0x15386f(0xcf)][_0x15386f(0xa1)][_0x15386f(0xed)]||this[_0x15386f(0x1bd)]['resume']());}['send'](_0x37606a,_0x1fd3b8,_0x1269df){const _0x527309=_0x2a2f97;if(this[_0x527309(0x1ad)]===_0x5128c7['CONNECTING'])throw new Error(_0x527309(0x228));if(typeof _0x1fd3b8==_0x527309(0x180)&&(_0x1269df=_0x1fd3b8,_0x1fd3b8={}),typeof _0x37606a==_0x527309(0x106)&&(_0x37606a=_0x37606a[_0x527309(0x1a3)]()),this['readyState']!==_0x5128c7['OPEN']){_0x4c0de6(this,_0x37606a,_0x1269df);return;}const _0x6b63d9={'binary':typeof _0x37606a!=_0x527309(0x1e6),'mask':!this[_0x527309(0x1c0)],'compress':!0x0,'fin':!0x0,..._0x1fd3b8};this['_extensions'][_0x35ef6b[_0x527309(0x110)]]||(_0x6b63d9[_0x527309(0x209)]=!0x1),this['_sender'][_0x527309(0xe1)](_0x37606a||_0x251623,_0x6b63d9,_0x1269df);}['terminate'](){const _0x4491fb=_0x2a2f97;if(this[_0x4491fb(0x1ad)]!==_0x5128c7[_0x4491fb(0x90)]){if(this[_0x4491fb(0x1ad)]===_0x5128c7[_0x4491fb(0x10a)]){_0x31e632(this,this[_0x4491fb(0xf6)],_0x4491fb(0xf3));return;}this[_0x4491fb(0x1bd)]&&(this[_0x4491fb(0xd2)]=_0x5128c7[_0x4491fb(0xc3)],this[_0x4491fb(0x1bd)][_0x4491fb(0x88)]());}}}Object[_0x2a2f97(0x10d)](_0x5128c7,'CONNECTING',{'enumerable':!0x0,'value':_0x58069a[_0x2a2f97(0x177)](_0x2a2f97(0x10a))}),Object[_0x2a2f97(0x10d)](_0x5128c7[_0x2a2f97(0x19b)],_0x2a2f97(0x10a),{'enumerable':!0x0,'value':_0x58069a[_0x2a2f97(0x177)](_0x2a2f97(0x10a))}),Object[_0x2a2f97(0x10d)](_0x5128c7,'OPEN',{'enumerable':!0x0,'value':_0x58069a[_0x2a2f97(0x177)](_0x2a2f97(0xa4))}),Object[_0x2a2f97(0x10d)](_0x5128c7[_0x2a2f97(0x19b)],'OPEN',{'enumerable':!0x0,'value':_0x58069a[_0x2a2f97(0x177)](_0x2a2f97(0xa4))}),Object[_0x2a2f97(0x10d)](_0x5128c7,_0x2a2f97(0xc3),{'enumerable':!0x0,'value':_0x58069a[_0x2a2f97(0x177)]('CLOSING')}),Object[_0x2a2f97(0x10d)](_0x5128c7[_0x2a2f97(0x19b)],'CLOSING',{'enumerable':!0x0,'value':_0x58069a[_0x2a2f97(0x177)](_0x2a2f97(0xc3))}),Object[_0x2a2f97(0x10d)](_0x5128c7,_0x2a2f97(0x90),{'enumerable':!0x0,'value':_0x58069a['indexOf'](_0x2a2f97(0x90))}),Object['defineProperty'](_0x5128c7[_0x2a2f97(0x19b)],_0x2a2f97(0x90),{'enumerable':!0x0,'value':_0x58069a['indexOf'](_0x2a2f97(0x90))}),[_0x2a2f97(0x9b),'bufferedAmount','extensions',_0x2a2f97(0x174),'protocol',_0x2a2f97(0x1ad),_0x2a2f97(0xc7)][_0x2a2f97(0x224)](_0x2900d0=>{const _0xcefa81=_0x2a2f97;Object[_0xcefa81(0x10d)](_0x5128c7[_0xcefa81(0x19b)],_0x2900d0,{'enumerable':!0x0});}),[_0x2a2f97(0x190),'error',_0x2a2f97(0x1ea),'message'][_0x2a2f97(0x224)](_0x4c3540=>{const _0x7d1fe1=_0x2a2f97;Object[_0x7d1fe1(0x10d)](_0x5128c7[_0x7d1fe1(0x19b)],'on'+_0x4c3540,{'enumerable':!0x0,'get'(){const _0x98fe6f=_0x7d1fe1;for(const _0x1bac2e of this[_0x98fe6f(0xa6)](_0x4c3540))if(_0x1bac2e[_0x116437])return _0x1bac2e[_0xc43f7];return null;},'set'(_0x109147){const _0x5de58f=_0x7d1fe1;for(const _0x1fef81 of this[_0x5de58f(0xa6)](_0x4c3540))if(_0x1fef81[_0x116437]){this[_0x5de58f(0x166)](_0x4c3540,_0x1fef81);break;}typeof _0x109147==_0x5de58f(0x180)&&this[_0x5de58f(0x1c6)](_0x4c3540,_0x109147,{[_0x116437]:!0x0});}});}),_0x5128c7[_0x2a2f97(0x19b)][_0x2a2f97(0x1c6)]=_0xde6d5f,_0x5128c7[_0x2a2f97(0x19b)][_0x2a2f97(0x96)]=_0x32a175,we=_0x5128c7;function _0x4b4089(_0x481aa6,_0x106f34,_0x3b3528,_0x47eea5){const _0x2ada43=_0x2a2f97,_0xdc8fb5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x34fe3b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x47eea5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2ada43(0x131),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x481aa6['_autoPong']=_0xdc8fb5[_0x2ada43(0x156)],!_0x34fe3b[_0x2ada43(0x139)](_0xdc8fb5['protocolVersion']))throw new RangeError(_0x2ada43(0x94)+_0xdc8fb5[_0x2ada43(0x1e5)]+_0x2ada43(0xe8)+_0x34fe3b[_0x2ada43(0x14d)](',\x20')+')');let _0x14935a;if(_0x106f34 instanceof _0x457f97)_0x14935a=_0x106f34;else try{_0x14935a=new _0x457f97(_0x106f34);}catch{throw new SyntaxError(_0x2ada43(0x1e4)+_0x106f34);}_0x14935a[_0x2ada43(0xc9)]===_0x2ada43(0x16e)?_0x14935a['protocol']=_0x2ada43(0x1f1):_0x14935a[_0x2ada43(0xc9)]===_0x2ada43(0xbf)&&(_0x14935a[_0x2ada43(0xc9)]=_0x2ada43(0xb0)),_0x481aa6[_0x2ada43(0x1cf)]=_0x14935a[_0x2ada43(0x113)];const _0x174284=_0x14935a[_0x2ada43(0xc9)]===_0x2ada43(0xb0),_0x5b1098=_0x14935a['protocol']===_0x2ada43(0x1ac);let _0x4df5af;if(_0x14935a[_0x2ada43(0xc9)]!==_0x2ada43(0x1f1)&&!_0x174284&&!_0x5b1098?_0x4df5af=_0x2ada43(0x164):_0x5b1098&&!_0x14935a[_0x2ada43(0x1c8)]?_0x4df5af=_0x2ada43(0x10f):_0x14935a[_0x2ada43(0x1fd)]&&(_0x4df5af=_0x2ada43(0x1f7)),_0x4df5af){const _0x4dce71=new SyntaxError(_0x4df5af);if(_0x481aa6[_0x2ada43(0x15f)]===0x0)throw _0x4dce71;_0x47f4b4(_0x481aa6,_0x4dce71);return;}const _0x574b0a=_0x174284?0x1bb:0x50,_0x191fd3=_0xaf061d(0x10)[_0x2ada43(0x1a3)](_0x2ada43(0x211)),_0x2c137c=_0x174284?_0x2cfb48[_0x2ada43(0x142)]:_0x53425[_0x2ada43(0x142)],_0x3176f7=new Set();let _0x429ab0;if(_0xdc8fb5[_0x2ada43(0xb4)]=_0xdc8fb5[_0x2ada43(0xb4)]||(_0x174284?_0x48c311:_0x3627a5),_0xdc8fb5[_0x2ada43(0x85)]=_0xdc8fb5[_0x2ada43(0x85)]||_0x574b0a,_0xdc8fb5['port']=_0x14935a[_0x2ada43(0x226)]||_0x574b0a,_0xdc8fb5[_0x2ada43(0x1c2)]=_0x14935a[_0x2ada43(0xfe)][_0x2ada43(0x1c7)]('[')?_0x14935a['hostname'][_0x2ada43(0x201)](0x1,-0x1):_0x14935a[_0x2ada43(0xfe)],_0xdc8fb5[_0x2ada43(0xce)]={..._0xdc8fb5[_0x2ada43(0xce)],'Sec-WebSocket-Version':_0xdc8fb5[_0x2ada43(0x1e5)],'Sec-WebSocket-Key':_0x191fd3,'Connection':_0x2ada43(0x19a),'Upgrade':_0x2ada43(0x11c)},_0xdc8fb5[_0x2ada43(0x22e)]=_0x14935a[_0x2ada43(0x1c8)]+_0x14935a['search'],_0xdc8fb5['timeout']=_0xdc8fb5[_0x2ada43(0x12f)],_0xdc8fb5[_0x2ada43(0xdb)]&&(_0x429ab0=new _0x35ef6b(_0xdc8fb5[_0x2ada43(0xdb)]!==!0x0?_0xdc8fb5[_0x2ada43(0xdb)]:{},!0x1,_0xdc8fb5[_0x2ada43(0x1a5)]),_0xdc8fb5[_0x2ada43(0xce)][_0x2ada43(0x185)]=_0x52ddce({[_0x35ef6b[_0x2ada43(0x110)]]:_0x429ab0[_0x2ada43(0xda)]()})),_0x3b3528['length']){for(const _0x55b80a of _0x3b3528){if(typeof _0x55b80a!=_0x2ada43(0x1e6)||!_0x2d6006['test'](_0x55b80a)||_0x3176f7['has'](_0x55b80a))throw new SyntaxError(_0x2ada43(0x1e9));_0x3176f7[_0x2ada43(0xd0)](_0x55b80a);}_0xdc8fb5[_0x2ada43(0xce)][_0x2ada43(0x20f)]=_0x3b3528[_0x2ada43(0x14d)](',');}if(_0xdc8fb5['origin']&&(_0xdc8fb5['protocolVersion']<0xd?_0xdc8fb5[_0x2ada43(0xce)][_0x2ada43(0xd5)]=_0xdc8fb5[_0x2ada43(0x144)]:_0xdc8fb5['headers']['Origin']=_0xdc8fb5[_0x2ada43(0x144)]),(_0x14935a[_0x2ada43(0xbd)]||_0x14935a[_0x2ada43(0x98)])&&(_0xdc8fb5['auth']=_0x14935a[_0x2ada43(0xbd)]+':'+_0x14935a[_0x2ada43(0x98)]),_0x5b1098){const _0x244c49=_0xdc8fb5['path'][_0x2ada43(0x1c3)](':');_0xdc8fb5[_0x2ada43(0x134)]=_0x244c49[0x0],_0xdc8fb5[_0x2ada43(0x22e)]=_0x244c49[0x1];}let _0x59ac31;if(_0xdc8fb5[_0x2ada43(0x1c1)]){if(_0x481aa6[_0x2ada43(0x15f)]===0x0){_0x481aa6[_0x2ada43(0x1e1)]=_0x5b1098,_0x481aa6[_0x2ada43(0xb1)]=_0x174284,_0x481aa6[_0x2ada43(0xdd)]=_0x5b1098?_0xdc8fb5[_0x2ada43(0x134)]:_0x14935a[_0x2ada43(0x1c2)];const _0x1107fa=_0x47eea5&&_0x47eea5[_0x2ada43(0xce)];if(_0x47eea5={..._0x47eea5,'headers':{}},_0x1107fa){for(const [_0x5d3765,_0x22f7d3]of Object[_0x2ada43(0x1aa)](_0x1107fa))_0x47eea5['headers'][_0x5d3765['toLowerCase']()]=_0x22f7d3;}}else{if(_0x481aa6[_0x2ada43(0x192)]('redirect')===0x0){const _0x35a260=_0x5b1098?_0x481aa6[_0x2ada43(0x1e1)]?_0xdc8fb5[_0x2ada43(0x134)]===_0x481aa6[_0x2ada43(0xdd)]:!0x1:_0x481aa6['_originalIpc']?!0x1:_0x14935a[_0x2ada43(0x1c2)]===_0x481aa6[_0x2ada43(0xdd)];(!_0x35a260||_0x481aa6['_originalSecure']&&!_0x174284)&&(delete _0xdc8fb5[_0x2ada43(0xce)][_0x2ada43(0x19e)],delete _0xdc8fb5[_0x2ada43(0xce)][_0x2ada43(0x19c)],_0x35a260||delete _0xdc8fb5[_0x2ada43(0xce)]['host'],_0xdc8fb5[_0x2ada43(0x22b)]=void 0x0);}}_0xdc8fb5[_0x2ada43(0x22b)]&&!_0x47eea5[_0x2ada43(0xce)]['authorization']&&(_0x47eea5[_0x2ada43(0xce)][_0x2ada43(0x19e)]='Basic\x20'+Buffer[_0x2ada43(0x216)](_0xdc8fb5[_0x2ada43(0x22b)])[_0x2ada43(0x1a3)](_0x2ada43(0x211))),_0x59ac31=_0x481aa6['_req']=_0x2c137c(_0xdc8fb5),_0x481aa6[_0x2ada43(0x15f)]&&_0x481aa6[_0x2ada43(0x136)](_0x2ada43(0xc6),_0x481aa6[_0x2ada43(0xc7)],_0x59ac31);}else _0x59ac31=_0x481aa6[_0x2ada43(0xf6)]=_0x2c137c(_0xdc8fb5);_0xdc8fb5[_0x2ada43(0x1cd)]&&_0x59ac31['on']('timeout',()=>{const _0x804e62=_0x2ada43;_0x31e632(_0x481aa6,_0x59ac31,_0x804e62(0xf1));}),_0x59ac31['on'](_0x2ada43(0x18e),_0x1760cd=>{_0x59ac31===null||_0x59ac31[_0x5aef8b]||(_0x59ac31=_0x481aa6['_req']=null,_0x47f4b4(_0x481aa6,_0x1760cd));}),_0x59ac31['on'](_0x2ada43(0x205),_0x3e791b=>{const _0x5ed375=_0x2ada43,_0x351d55=_0x3e791b['headers'][_0x5ed375(0x10c)],_0x2945b4=_0x3e791b[_0x5ed375(0x1ab)];if(_0x351d55&&_0xdc8fb5[_0x5ed375(0x1c1)]&&_0x2945b4>=0x12c&&_0x2945b4<0x190){if(++_0x481aa6['_redirects']>_0xdc8fb5[_0x5ed375(0x130)]){_0x31e632(_0x481aa6,_0x59ac31,_0x5ed375(0x1b5));return;}_0x59ac31['abort']();let _0x5088b7;try{_0x5088b7=new _0x457f97(_0x351d55,_0x106f34);}catch{const _0x1a0333=new SyntaxError(_0x5ed375(0x1e4)+_0x351d55);_0x47f4b4(_0x481aa6,_0x1a0333);return;}_0x4b4089(_0x481aa6,_0x5088b7,_0x3b3528,_0x47eea5);}else _0x481aa6['emit'](_0x5ed375(0x22d),_0x59ac31,_0x3e791b)||_0x31e632(_0x481aa6,_0x59ac31,_0x5ed375(0x1fe)+_0x3e791b[_0x5ed375(0x1ab)]);}),_0x59ac31['on']('upgrade',(_0x423224,_0x4b44fb,_0x268c06)=>{const _0x6558af=_0x2ada43;if(_0x481aa6[_0x6558af(0x136)](_0x6558af(0x16a),_0x423224),_0x481aa6[_0x6558af(0x1ad)]!==_0x5128c7[_0x6558af(0x10a)])return;_0x59ac31=_0x481aa6[_0x6558af(0xf6)]=null;const _0x3d8a61=_0x423224[_0x6558af(0xce)][_0x6558af(0x16a)];if(_0x3d8a61===void 0x0||_0x3d8a61['toLowerCase']()!=='websocket'){_0x31e632(_0x481aa6,_0x4b44fb,_0x6558af(0x119));return;}const _0x4c8bfc=_0x3c7880('sha1')['update'](_0x191fd3+_0x2a310b)[_0x6558af(0xfd)](_0x6558af(0x211));if(_0x423224[_0x6558af(0xce)][_0x6558af(0xb8)]!==_0x4c8bfc){_0x31e632(_0x481aa6,_0x4b44fb,_0x6558af(0x1f5));return;}const _0x6bbdf6=_0x423224[_0x6558af(0xce)][_0x6558af(0x1e2)];let _0x538288;if(_0x6bbdf6!==void 0x0?_0x3176f7[_0x6558af(0x13c)]?_0x3176f7[_0x6558af(0x12c)](_0x6bbdf6)||(_0x538288=_0x6558af(0x147)):_0x538288=_0x6558af(0x227):_0x3176f7[_0x6558af(0x13c)]&&(_0x538288=_0x6558af(0x16c)),_0x538288){_0x31e632(_0x481aa6,_0x4b44fb,_0x538288);return;}_0x6bbdf6&&(_0x481aa6['_protocol']=_0x6bbdf6);const _0x46a356=_0x423224[_0x6558af(0xce)][_0x6558af(0x14e)];if(_0x46a356!==void 0x0){if(!_0x429ab0){_0x31e632(_0x481aa6,_0x4b44fb,_0x6558af(0x200));return;}let _0x10f57b;try{_0x10f57b=_0x45a0af(_0x46a356);}catch{_0x31e632(_0x481aa6,_0x4b44fb,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x45348b=Object[_0x6558af(0xfc)](_0x10f57b);if(_0x45348b[_0x6558af(0x159)]!==0x1||_0x45348b[0x0]!==_0x35ef6b[_0x6558af(0x110)]){_0x31e632(_0x481aa6,_0x4b44fb,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x429ab0[_0x6558af(0x229)](_0x10f57b[_0x35ef6b[_0x6558af(0x110)]]);}catch{_0x31e632(_0x481aa6,_0x4b44fb,_0x6558af(0x104));return;}_0x481aa6[_0x6558af(0x167)][_0x35ef6b[_0x6558af(0x110)]]=_0x429ab0;}_0x481aa6[_0x6558af(0x1bf)](_0x4b44fb,_0x268c06,{'allowSynchronousEvents':_0xdc8fb5[_0x6558af(0x202)],'generateMask':_0xdc8fb5[_0x6558af(0x173)],'maxPayload':_0xdc8fb5[_0x6558af(0x1a5)],'skipUTF8Validation':_0xdc8fb5[_0x6558af(0x124)]});}),_0xdc8fb5[_0x2ada43(0x158)]?_0xdc8fb5[_0x2ada43(0x158)](_0x59ac31,_0x481aa6):_0x59ac31[_0x2ada43(0xde)]();}function _0x47f4b4(_0x56334e,_0x74c2f1){const _0x30cc97=_0x2a2f97;_0x56334e['_readyState']=_0x5128c7[_0x30cc97(0xc3)],_0x56334e[_0x30cc97(0x178)]=!0x0,_0x56334e[_0x30cc97(0x136)](_0x30cc97(0x18e),_0x74c2f1),_0x56334e[_0x30cc97(0x222)]();}function _0x3627a5(_0x1a48a4){const _0x2093f6=_0x2a2f97;return _0x1a48a4[_0x2093f6(0x22e)]=_0x1a48a4['socketPath'],_0x3cf9d0['connect'](_0x1a48a4);}function _0x48c311(_0x2ecb2f){const _0xd20cb5=_0x2a2f97;return _0x2ecb2f[_0xd20cb5(0x22e)]=void 0x0,!_0x2ecb2f[_0xd20cb5(0xd6)]&&_0x2ecb2f[_0xd20cb5(0xd6)]!==''&&(_0x2ecb2f[_0xd20cb5(0xd6)]=_0x3cf9d0['isIP'](_0x2ecb2f[_0xd20cb5(0x1c2)])?'':_0x2ecb2f[_0xd20cb5(0x1c2)]),_0x41030d[_0xd20cb5(0x107)](_0x2ecb2f);}function _0x31e632(_0x4d4e4c,_0x55ff60,_0x376457){const _0x59dfd8=_0x2a2f97;_0x4d4e4c['_readyState']=_0x5128c7['CLOSING'];const _0x44c6a9=new Error(_0x376457);Error[_0x59dfd8(0x1c4)](_0x44c6a9,_0x31e632),_0x55ff60[_0x59dfd8(0x132)]?(_0x55ff60[_0x5aef8b]=!0x0,_0x55ff60['abort'](),_0x55ff60[_0x59dfd8(0x198)]&&!_0x55ff60[_0x59dfd8(0x198)]['destroyed']&&_0x55ff60['socket'][_0x59dfd8(0x88)](),process['nextTick'](_0x47f4b4,_0x4d4e4c,_0x44c6a9)):(_0x55ff60[_0x59dfd8(0x88)](_0x44c6a9),_0x55ff60[_0x59dfd8(0x1a2)](_0x59dfd8(0x18e),_0x4d4e4c['emit'][_0x59dfd8(0x1ae)](_0x4d4e4c,_0x59dfd8(0x18e))),_0x55ff60[_0x59dfd8(0x1a2)](_0x59dfd8(0x1ea),_0x4d4e4c[_0x59dfd8(0x222)][_0x59dfd8(0x1ae)](_0x4d4e4c)));}function _0x4c0de6(_0x1e469c,_0x2ee344,_0x4b8b21){const _0x3e4e83=_0x2a2f97;if(_0x2ee344){const _0x136cba=_0x2203cc(_0x2ee344)?_0x2ee344[_0x3e4e83(0x13c)]:_0x48ad96(_0x2ee344)[_0x3e4e83(0x159)];_0x1e469c[_0x3e4e83(0x1bd)]?_0x1e469c['_sender']['_bufferedBytes']+=_0x136cba:_0x1e469c[_0x3e4e83(0x1db)]+=_0x136cba;}if(_0x4b8b21){const _0x236d6d=new Error(_0x3e4e83(0x1d0)+_0x1e469c[_0x3e4e83(0x1ad)]+'\x20('+_0x58069a[_0x1e469c[_0x3e4e83(0x1ad)]]+')');process[_0x3e4e83(0x91)](_0x4b8b21,_0x236d6d);}}function _0x47f7e0(_0x5e3f39,_0xc3fdd1){const _0x335c49=_0x2a2f97,_0x1556e7=this[_0x46af07];_0x1556e7['_closeFrameReceived']=!0x0,_0x1556e7['_closeMessage']=_0xc3fdd1,_0x1556e7['_closeCode']=_0x5e3f39,_0x1556e7[_0x335c49(0x1bd)][_0x46af07]!==void 0x0&&(_0x1556e7[_0x335c49(0x1bd)][_0x335c49(0x166)]('data',_0x1209b9),process[_0x335c49(0x91)](_0x27d50f,_0x1556e7[_0x335c49(0x1bd)]),_0x5e3f39===0x3ed?_0x1556e7[_0x335c49(0x1ea)]():_0x1556e7[_0x335c49(0x1ea)](_0x5e3f39,_0xc3fdd1));}function _0x4c3955(){const _0x4f4f63=_0x2a2f97,_0x3489ae=this[_0x46af07];_0x3489ae['isPaused']||_0x3489ae[_0x4f4f63(0x1bd)][_0x4f4f63(0xfa)]();}function _0x38d22a(_0x17a906){const _0x49b23a=_0x2a2f97,_0x26abf2=this[_0x46af07];_0x26abf2[_0x49b23a(0x1bd)][_0x46af07]!==void 0x0&&(_0x26abf2[_0x49b23a(0x1bd)][_0x49b23a(0x166)](_0x49b23a(0x13d),_0x1209b9),process[_0x49b23a(0x91)](_0x27d50f,_0x26abf2[_0x49b23a(0x1bd)]),_0x26abf2[_0x49b23a(0x1ea)](_0x17a906[_0x2c5e0e])),_0x26abf2[_0x49b23a(0x178)]||(_0x26abf2[_0x49b23a(0x178)]=!0x0,_0x26abf2['emit']('error',_0x17a906));}function _0x4ca4e4(){this[_0x46af07]['emitClose']();}function _0x2a0c61(_0x48c5e0,_0x1708ba){const _0x30cf61=_0x2a2f97;this[_0x46af07][_0x30cf61(0x136)](_0x30cf61(0x1ca),_0x48c5e0,_0x1708ba);}function _0x1fe95e(_0x262646){const _0x29cb13=_0x2a2f97,_0x47571d=this[_0x46af07];_0x47571d[_0x29cb13(0x1eb)]&&_0x47571d[_0x29cb13(0x1d2)](_0x262646,!this['_isServer'],_0x522ba4),_0x47571d['emit'](_0x29cb13(0x9a),_0x262646);}function _0x117f6e(_0x4c27ad){const _0xab6503=_0x2a2f97;this[_0x46af07][_0xab6503(0x136)](_0xab6503(0x1d2),_0x4c27ad);}function _0x27d50f(_0x364c62){const _0x1a76a3=_0x2a2f97;_0x364c62[_0x1a76a3(0xfa)]();}function _0x10314d(_0x4f227c){const _0x44a2da=_0x2a2f97,_0x1cbeb3=this[_0x46af07];_0x1cbeb3['readyState']!==_0x5128c7[_0x44a2da(0x90)]&&(_0x1cbeb3[_0x44a2da(0x1ad)]===_0x5128c7[_0x44a2da(0xa4)]&&(_0x1cbeb3[_0x44a2da(0xd2)]=_0x5128c7[_0x44a2da(0xc3)],_0x3de0a8(_0x1cbeb3)),this['_socket'][_0x44a2da(0xde)](),_0x1cbeb3[_0x44a2da(0x178)]||(_0x1cbeb3[_0x44a2da(0x178)]=!0x0,_0x1cbeb3[_0x44a2da(0x136)](_0x44a2da(0x18e),_0x4f227c)));}function _0x3de0a8(_0x34a04a){const _0x27c538=_0x2a2f97;_0x34a04a[_0x27c538(0xb9)]=setTimeout(_0x34a04a['_socket']['destroy'][_0x27c538(0x1ae)](_0x34a04a[_0x27c538(0x1bd)]),_0x15f2ca);}function _0x35ba3e(){const _0x3d3af9=_0x2a2f97,_0x1499d2=this[_0x46af07];this[_0x3d3af9(0x166)](_0x3d3af9(0x1ea),_0x35ba3e),this[_0x3d3af9(0x166)]('data',_0x1209b9),this[_0x3d3af9(0x166)]('end',_0x1c0592),_0x1499d2[_0x3d3af9(0xd2)]=_0x5128c7['CLOSING'];let _0x5a82d7;!this[_0x3d3af9(0x13a)][_0x3d3af9(0x1ee)]&&!_0x1499d2[_0x3d3af9(0x217)]&&!_0x1499d2[_0x3d3af9(0xcf)]['_writableState'][_0x3d3af9(0xa9)]&&(_0x5a82d7=_0x1499d2[_0x3d3af9(0x1bd)][_0x3d3af9(0x1da)]())!==null&&_0x1499d2[_0x3d3af9(0xcf)][_0x3d3af9(0x117)](_0x5a82d7),_0x1499d2[_0x3d3af9(0xcf)]['end'](),this[_0x46af07]=void 0x0,clearTimeout(_0x1499d2[_0x3d3af9(0xb9)]),_0x1499d2['_receiver']['_writableState'][_0x3d3af9(0x127)]||_0x1499d2[_0x3d3af9(0xcf)][_0x3d3af9(0xa1)][_0x3d3af9(0xa9)]?_0x1499d2[_0x3d3af9(0x222)]():(_0x1499d2[_0x3d3af9(0xcf)]['on']('error',_0x4ca4e4),_0x1499d2['_receiver']['on'](_0x3d3af9(0x21a),_0x4ca4e4));}function _0x1209b9(_0x104f97){const _0x4a8bc7=_0x2a2f97;this[_0x46af07][_0x4a8bc7(0xcf)][_0x4a8bc7(0x117)](_0x104f97)||this['pause']();}function _0x1c0592(){const _0x1fbbae=_0x2a2f97,_0x1c7843=this[_0x46af07];_0x1c7843[_0x1fbbae(0xd2)]=_0x5128c7[_0x1fbbae(0xc3)],_0x1c7843[_0x1fbbae(0xcf)]['end'](),this[_0x1fbbae(0xde)]();}function _0x48bb6e(){const _0x2f9174=_0x2a2f97,_0x32e9c7=this[_0x46af07];this['removeListener'](_0x2f9174(0x18e),_0x48bb6e),this['on'](_0x2f9174(0x18e),_0x522ba4),_0x32e9c7&&(_0x32e9c7['_readyState']=_0x5128c7[_0x2f9174(0xc3)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xf87971}=_0x40ad73;function _0x1271bc(_0x4f8378){const _0xe7e59=_0x4d04;_0x4f8378[_0xe7e59(0x136)](_0xe7e59(0x1ea));}function _0x4b3580(){const _0x4ba1be=_0x4d04;!this[_0x4ba1be(0x1a9)]&&this['_writableState'][_0x4ba1be(0x127)]&&this[_0x4ba1be(0x88)]();}function _0xd2d257(_0x1895a4){const _0x3f3aed=_0x4d04;this[_0x3f3aed(0x166)]('error',_0xd2d257),this[_0x3f3aed(0x88)](),this['listenerCount']('error')===0x0&&this['emit'](_0x3f3aed(0x18e),_0x1895a4);}function _0xec6aa8(_0x4a0eb0,_0x1c03f8){const _0x53d070=_0x4d04;let _0x1c2f94=!0x0;const _0x34026b=new _0xf87971({..._0x1c03f8,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4a0eb0['on'](_0x53d070(0x1ca),function(_0x1420ba,_0x48b2cc){const _0xe04261=_0x53d070,_0x1d1c3b=!_0x48b2cc&&_0x34026b[_0xe04261(0x13a)][_0xe04261(0x135)]?_0x1420ba['toString']():_0x1420ba;_0x34026b['push'](_0x1d1c3b)||_0x4a0eb0[_0xe04261(0x1dc)]();}),_0x4a0eb0[_0x53d070(0x1a2)](_0x53d070(0x18e),function(_0x3f4cc5){const _0x132e9b=_0x53d070;_0x34026b['destroyed']||(_0x1c2f94=!0x1,_0x34026b[_0x132e9b(0x88)](_0x3f4cc5));}),_0x4a0eb0['once'](_0x53d070(0x1ea),function(){const _0x3006c2=_0x53d070;_0x34026b['destroyed']||_0x34026b[_0x3006c2(0x21f)](null);}),_0x34026b[_0x53d070(0x165)]=function(_0x376571,_0x14ecef){const _0x4b169e=_0x53d070;if(_0x4a0eb0[_0x4b169e(0x1ad)]===_0x4a0eb0[_0x4b169e(0x90)]){_0x14ecef(_0x376571),process[_0x4b169e(0x91)](_0x1271bc,_0x34026b);return;}let _0x25ff30=!0x1;_0x4a0eb0[_0x4b169e(0x1a2)](_0x4b169e(0x18e),function(_0x2fdeb1){_0x25ff30=!0x0,_0x14ecef(_0x2fdeb1);}),_0x4a0eb0[_0x4b169e(0x1a2)]('close',function(){const _0x2575f1=_0x4b169e;_0x25ff30||_0x14ecef(_0x376571),process[_0x2575f1(0x91)](_0x1271bc,_0x34026b);}),_0x1c2f94&&_0x4a0eb0[_0x4b169e(0x1d6)]();},_0x34026b[_0x53d070(0xbb)]=function(_0x2f7ec9){const _0x2e2266=_0x53d070;if(_0x4a0eb0['readyState']===_0x4a0eb0['CONNECTING']){_0x4a0eb0['once'](_0x2e2266(0x190),function(){const _0x2f8666=_0x2e2266;_0x34026b[_0x2f8666(0xbb)](_0x2f7ec9);});return;}_0x4a0eb0['_socket']!==null&&(_0x4a0eb0[_0x2e2266(0x1bd)]['_writableState'][_0x2e2266(0x127)]?(_0x2f7ec9(),_0x34026b[_0x2e2266(0x13a)][_0x2e2266(0x1ee)]&&_0x34026b[_0x2e2266(0x88)]()):(_0x4a0eb0[_0x2e2266(0x1bd)][_0x2e2266(0x1a2)](_0x2e2266(0x21a),function(){_0x2f7ec9();}),_0x4a0eb0[_0x2e2266(0x1ea)]()));},_0x34026b[_0x53d070(0xa7)]=function(){const _0xb3ab0d=_0x53d070;_0x4a0eb0[_0xb3ab0d(0x174)]&&_0x4a0eb0[_0xb3ab0d(0xfa)]();},_0x34026b['_write']=function(_0x4c68aa,_0x215f26,_0x4343e0){const _0x5b4c9f=_0x53d070;if(_0x4a0eb0[_0x5b4c9f(0x1ad)]===_0x4a0eb0[_0x5b4c9f(0x10a)]){_0x4a0eb0[_0x5b4c9f(0x1a2)](_0x5b4c9f(0x190),function(){_0x34026b['_write'](_0x4c68aa,_0x215f26,_0x4343e0);});return;}_0x4a0eb0[_0x5b4c9f(0xe1)](_0x4c68aa,_0x4343e0);},_0x34026b['on'](_0x53d070(0xde),_0x4b3580),_0x34026b['on'](_0x53d070(0x18e),_0xd2d257),_0x34026b;}return Oe=_0xec6aa8,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x4d3da2}=ne();function _0x31d7dd(_0x16ab0b){const _0x49114c=_0x4d04,_0x14752d=new Set();let _0x5bd261=-0x1,_0xfe14cc=-0x1,_0x1b2b26=0x0;for(_0x1b2b26;_0x1b2b26<_0x16ab0b[_0x49114c(0x159)];_0x1b2b26++){const _0x516983=_0x16ab0b[_0x49114c(0x149)](_0x1b2b26);if(_0xfe14cc===-0x1&&_0x4d3da2[_0x516983]===0x1)_0x5bd261===-0x1&&(_0x5bd261=_0x1b2b26);else{if(_0x1b2b26!==0x0&&(_0x516983===0x20||_0x516983===0x9))_0xfe14cc===-0x1&&_0x5bd261!==-0x1&&(_0xfe14cc=_0x1b2b26);else{if(_0x516983===0x2c){if(_0x5bd261===-0x1)throw new SyntaxError(_0x49114c(0x92)+_0x1b2b26);_0xfe14cc===-0x1&&(_0xfe14cc=_0x1b2b26);const _0x1b94fd=_0x16ab0b[_0x49114c(0x201)](_0x5bd261,_0xfe14cc);if(_0x14752d[_0x49114c(0x12c)](_0x1b94fd))throw new SyntaxError(_0x49114c(0xec)+_0x1b94fd+'\x22\x20subprotocol\x20is\x20duplicated');_0x14752d['add'](_0x1b94fd),_0x5bd261=_0xfe14cc=-0x1;}else throw new SyntaxError(_0x49114c(0x92)+_0x1b2b26);}}}if(_0x5bd261===-0x1||_0xfe14cc!==-0x1)throw new SyntaxError(_0x49114c(0x1a0));const _0x24c019=_0x16ab0b[_0x49114c(0x201)](_0x5bd261,_0x1b2b26);if(_0x14752d[_0x49114c(0x12c)](_0x24c019))throw new SyntaxError(_0x49114c(0xec)+_0x24c019+'\x22\x20subprotocol\x20is\x20duplicated');return _0x14752d[_0x49114c(0xd0)](_0x24c019),_0x14752d;}return Ce={'parse':_0x31d7dd},Ce;}var Te,ot;function er(){const _0x1c8f46=_0x3a8eac;if(ot)return Te;ot=0x1;const _0x154794=_0x478f34,_0x57b99b=_0x22ffd1,{Duplex:_0x3a72ca}=_0x40ad73,{createHash:_0xdb087a}=_0xcd04e8,_0x2e8052=pt(),_0x9116dd=he(),_0x38e0ee=Jt(),_0x16f69c=Ie(),{GUID:_0x421e07,kWebSocket:_0x3a96a5}=V(),_0x353989=/^[+/0-9A-Za-z]{22}==$/,_0x65cea6=0x0,_0x59e997=0x1,_0x27f946=0x2;class _0x28d380 extends _0x154794{constructor(_0x277f34,_0x564e62){const _0x363da2=_0x4d04;if(super(),_0x277f34={'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':_0x16f69c,..._0x277f34},_0x277f34[_0x363da2(0x226)]==null&&!_0x277f34[_0x363da2(0x11e)]&&!_0x277f34[_0x363da2(0x116)]||_0x277f34['port']!=null&&(_0x277f34['server']||_0x277f34[_0x363da2(0x116)])||_0x277f34[_0x363da2(0x11e)]&&_0x277f34[_0x363da2(0x116)])throw new TypeError(_0x363da2(0x8a));if(_0x277f34[_0x363da2(0x226)]!=null?(this[_0x363da2(0x15d)]=_0x57b99b['createServer']((_0x380a1e,_0x5dedee)=>{const _0x3f6a06=_0x363da2,_0x155799=_0x57b99b[_0x3f6a06(0x153)][0x1aa];_0x5dedee[_0x3f6a06(0xcb)](0x1aa,{'Content-Length':_0x155799[_0x3f6a06(0x159)],'Content-Type':'text/plain'}),_0x5dedee[_0x3f6a06(0xde)](_0x155799);}),this[_0x363da2(0x15d)]['listen'](_0x277f34[_0x363da2(0x226)],_0x277f34[_0x363da2(0x1c2)],_0x277f34[_0x363da2(0x148)],_0x564e62)):_0x277f34['server']&&(this['_server']=_0x277f34['server']),this[_0x363da2(0x15d)]){const _0x157e76=this['emit']['bind'](this,_0x363da2(0x125));this[_0x363da2(0x1cc)]=_0x3f513a(this[_0x363da2(0x15d)],{'listening':this[_0x363da2(0x136)]['bind'](this,_0x363da2(0xab)),'error':this['emit'][_0x363da2(0x1ae)](this,_0x363da2(0x18e)),'upgrade':(_0x129c83,_0x3f2e6d,_0x5ed191)=>{const _0x4d0c36=_0x363da2;this[_0x4d0c36(0x19d)](_0x129c83,_0x3f2e6d,_0x5ed191,_0x157e76);}});}_0x277f34['perMessageDeflate']===!0x0&&(_0x277f34[_0x363da2(0xdb)]={}),_0x277f34['clientTracking']&&(this['clients']=new Set(),this[_0x363da2(0x1ff)]=!0x1),this['options']=_0x277f34,this[_0x363da2(0x1b9)]=_0x65cea6;}[_0x1c8f46(0x17d)](){const _0x1b6451=_0x1c8f46;if(this[_0x1b6451(0x168)]['noServer'])throw new Error(_0x1b6451(0x1a1));return this[_0x1b6451(0x15d)]?this[_0x1b6451(0x15d)]['address']():null;}[_0x1c8f46(0x1ea)](_0x3d9638){const _0x2263c0=_0x1c8f46;if(this['_state']===_0x27f946){_0x3d9638&&this['once']('close',()=>{const _0x4d5990=_0x4d04;_0x3d9638(new Error(_0x4d5990(0x1f3)));}),process['nextTick'](_0xfe8380,this);return;}if(_0x3d9638&&this[_0x2263c0(0x1a2)](_0x2263c0(0x1ea),_0x3d9638),this[_0x2263c0(0x1b9)]!==_0x59e997){if(this['_state']=_0x59e997,this[_0x2263c0(0x168)]['noServer']||this[_0x2263c0(0x168)][_0x2263c0(0x11e)])this['_server']&&(this[_0x2263c0(0x1cc)](),this[_0x2263c0(0x1cc)]=this['_server']=null),this[_0x2263c0(0x215)]?this[_0x2263c0(0x215)]['size']?this[_0x2263c0(0x1ff)]=!0x0:process[_0x2263c0(0x91)](_0xfe8380,this):process[_0x2263c0(0x91)](_0xfe8380,this);else{const _0x2054e7=this['_server'];this['_removeListeners'](),this['_removeListeners']=this[_0x2263c0(0x15d)]=null,_0x2054e7[_0x2263c0(0x1ea)](()=>{_0xfe8380(this);});}}}[_0x1c8f46(0xba)](_0x594772){const _0x229e27=_0x1c8f46;if(this[_0x229e27(0x168)][_0x229e27(0x22e)]){const _0x35c20c=_0x594772['url'][_0x229e27(0x177)]('?');if((_0x35c20c!==-0x1?_0x594772[_0x229e27(0xc7)][_0x229e27(0x201)](0x0,_0x35c20c):_0x594772[_0x229e27(0xc7)])!==this[_0x229e27(0x168)]['path'])return!0x1;}return!0x0;}[_0x1c8f46(0x19d)](_0x397c01,_0x177962,_0x1299b4,_0x22bb41){const _0x48023f=_0x1c8f46;_0x177962['on'](_0x48023f(0x18e),_0x1ca0ce);const _0xbc8f34=_0x397c01[_0x48023f(0xce)]['sec-websocket-key'],_0x115060=_0x397c01['headers'][_0x48023f(0x16a)],_0x3414a1=+_0x397c01['headers'][_0x48023f(0xac)];if(_0x397c01['method']!==_0x48023f(0x131)){_0x3b5e37(this,_0x397c01,_0x177962,0x195,_0x48023f(0x1b7));return;}if(_0x115060===void 0x0||_0x115060[_0x48023f(0xbe)]()!==_0x48023f(0x11c)){_0x3b5e37(this,_0x397c01,_0x177962,0x190,_0x48023f(0x119));return;}if(_0xbc8f34===void 0x0||!_0x353989[_0x48023f(0x145)](_0xbc8f34)){_0x3b5e37(this,_0x397c01,_0x177962,0x190,_0x48023f(0x155));return;}if(_0x3414a1!==0xd&&_0x3414a1!==0x8){_0x3b5e37(this,_0x397c01,_0x177962,0x190,_0x48023f(0x171),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x48023f(0xba)](_0x397c01)){_0x368609(_0x177962,0x190);return;}const _0x310069=_0x397c01['headers']['sec-websocket-protocol'];let _0x248a99=new Set();if(_0x310069!==void 0x0)try{_0x248a99=_0x38e0ee[_0x48023f(0x15c)](_0x310069);}catch{_0x3b5e37(this,_0x397c01,_0x177962,0x190,_0x48023f(0x203));return;}const _0xece50a=_0x397c01[_0x48023f(0xce)][_0x48023f(0x14e)],_0x418ff8={};if(this[_0x48023f(0x168)][_0x48023f(0xdb)]&&_0xece50a!==void 0x0){const _0x1b753c=new _0x9116dd(this[_0x48023f(0x168)][_0x48023f(0xdb)],!0x0,this[_0x48023f(0x168)]['maxPayload']);try{const _0x3cf3ee=_0x2e8052['parse'](_0xece50a);_0x3cf3ee[_0x9116dd[_0x48023f(0x110)]]&&(_0x1b753c[_0x48023f(0x229)](_0x3cf3ee[_0x9116dd[_0x48023f(0x110)]]),_0x418ff8[_0x9116dd[_0x48023f(0x110)]]=_0x1b753c);}catch{_0x3b5e37(this,_0x397c01,_0x177962,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x48023f(0x168)][_0x48023f(0xe7)]){const _0x3ef8e3={'origin':_0x397c01['headers'][''+(_0x3414a1===0x8?'sec-websocket-origin':_0x48023f(0x144))],'secure':!!(_0x397c01['socket']['authorized']||_0x397c01[_0x48023f(0x198)]['encrypted']),'req':_0x397c01};if(this[_0x48023f(0x168)][_0x48023f(0xe7)][_0x48023f(0x159)]===0x2){this[_0x48023f(0x168)][_0x48023f(0xe7)](_0x3ef8e3,(_0x177695,_0x1462b5,_0x3facb2,_0x45b869)=>{const _0x388e2e=_0x48023f;if(!_0x177695)return _0x368609(_0x177962,_0x1462b5||0x191,_0x3facb2,_0x45b869);this[_0x388e2e(0x197)](_0x418ff8,_0xbc8f34,_0x248a99,_0x397c01,_0x177962,_0x1299b4,_0x22bb41);});return;}if(!this[_0x48023f(0x168)]['verifyClient'](_0x3ef8e3))return _0x368609(_0x177962,0x191);}this[_0x48023f(0x197)](_0x418ff8,_0xbc8f34,_0x248a99,_0x397c01,_0x177962,_0x1299b4,_0x22bb41);}[_0x1c8f46(0x197)](_0x450150,_0x39629c,_0x426ba6,_0x40e611,_0x2c5556,_0x240581,_0x269a49){const _0x2576db=_0x1c8f46;if(!_0x2c5556['readable']||!_0x2c5556[_0x2576db(0x213)])return _0x2c5556[_0x2576db(0x88)]();if(_0x2c5556[_0x3a96a5])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x2576db(0x1b9)]>_0x65cea6)return _0x368609(_0x2c5556,0x1f7);const _0x142667=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x2576db(0xeb),'Connection:\x20Upgrade',_0x2576db(0x20d)+_0xdb087a(_0x2576db(0xee))['update'](_0x39629c+_0x421e07)[_0x2576db(0xfd)]('base64')],_0x513ec2=new this[(_0x2576db(0x168))]['WebSocket'](null,void 0x0,this['options']);if(_0x426ba6[_0x2576db(0x13c)]){const _0xad8177=this[_0x2576db(0x168)][_0x2576db(0xc8)]?this[_0x2576db(0x168)][_0x2576db(0xc8)](_0x426ba6,_0x40e611):_0x426ba6[_0x2576db(0x184)]()['next']()[_0x2576db(0x8e)];_0xad8177&&(_0x142667[_0x2576db(0x21f)](_0x2576db(0x118)+_0xad8177),_0x513ec2[_0x2576db(0x1d8)]=_0xad8177);}if(_0x450150[_0x9116dd[_0x2576db(0x110)]]){const _0x2de38d=_0x450150[_0x9116dd[_0x2576db(0x110)]][_0x2576db(0x11b)],_0x52b5e3=_0x2e8052[_0x2576db(0x14c)]({[_0x9116dd[_0x2576db(0x110)]]:[_0x2de38d]});_0x142667['push'](_0x2576db(0xd1)+_0x52b5e3),_0x513ec2['_extensions']=_0x450150;}this[_0x2576db(0x136)](_0x2576db(0xce),_0x142667,_0x40e611),_0x2c5556[_0x2576db(0x117)](_0x142667[_0x2576db(0x1b8)]('\x0d\x0a')[_0x2576db(0x14d)]('\x0d\x0a')),_0x2c5556['removeListener'](_0x2576db(0x18e),_0x1ca0ce),_0x513ec2[_0x2576db(0x1bf)](_0x2c5556,_0x240581,{'allowSynchronousEvents':this['options'][_0x2576db(0x202)],'maxPayload':this[_0x2576db(0x168)][_0x2576db(0x1a5)],'skipUTF8Validation':this['options'][_0x2576db(0x124)]}),this[_0x2576db(0x215)]&&(this[_0x2576db(0x215)]['add'](_0x513ec2),_0x513ec2['on'](_0x2576db(0x1ea),()=>{const _0x168381=_0x2576db;this[_0x168381(0x215)][_0x168381(0x16b)](_0x513ec2),this[_0x168381(0x1ff)]&&!this[_0x168381(0x215)][_0x168381(0x13c)]&&process['nextTick'](_0xfe8380,this);})),_0x269a49(_0x513ec2,_0x40e611);}}Te=_0x28d380;function _0x3f513a(_0x25470a,_0x3f28be){const _0x53c59d=_0x1c8f46;for(const _0x38542a of Object[_0x53c59d(0xfc)](_0x3f28be))_0x25470a['on'](_0x38542a,_0x3f28be[_0x38542a]);return function(){const _0x2403c3=_0x53c59d;for(const _0x32b682 of Object[_0x2403c3(0xfc)](_0x3f28be))_0x25470a[_0x2403c3(0x166)](_0x32b682,_0x3f28be[_0x32b682]);};}function _0xfe8380(_0x1f8ed5){const _0x42a0e5=_0x1c8f46;_0x1f8ed5[_0x42a0e5(0x1b9)]=_0x27f946,_0x1f8ed5[_0x42a0e5(0x136)]('close');}function _0x1ca0ce(){const _0x2393eb=_0x1c8f46;this[_0x2393eb(0x88)]();}function _0x368609(_0x237136,_0x1ac49e,_0x54217f,_0x3718ce){const _0x589e9c=_0x1c8f46;_0x54217f=_0x54217f||_0x57b99b[_0x589e9c(0x153)][_0x1ac49e],_0x3718ce={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x589e9c(0x102)](_0x54217f),..._0x3718ce},_0x237136[_0x589e9c(0x1a2)](_0x589e9c(0x21a),_0x237136[_0x589e9c(0x88)]),_0x237136[_0x589e9c(0xde)]('HTTP/1.1\x20'+_0x1ac49e+'\x20'+_0x57b99b[_0x589e9c(0x153)][_0x1ac49e]+'\x0d\x0a'+Object[_0x589e9c(0xfc)](_0x3718ce)[_0x589e9c(0x218)](_0x4a1b4a=>_0x4a1b4a+':\x20'+_0x3718ce[_0x4a1b4a])[_0x589e9c(0x14d)]('\x0d\x0a')+_0x589e9c(0x18b)+_0x54217f);}function _0x3b5e37(_0x1e2add,_0x2fe818,_0x52b6b3,_0x324938,_0x5d34da,_0x231ce9){const _0x480142=_0x1c8f46;if(_0x1e2add[_0x480142(0x192)](_0x480142(0x15b))){const _0x1e2585=new Error(_0x5d34da);Error['captureStackTrace'](_0x1e2585,_0x3b5e37),_0x1e2add[_0x480142(0x136)]('wsClientError',_0x1e2585,_0x52b6b3,_0x2fe818);}else _0x368609(_0x52b6b3,_0x324938,_0x5d34da,_0x231ce9);}return Te;}er();var tr=Object[_0x3a8eac(0x114)],rr=(_0x1211ae,_0x3c166f,_0x150f49,_0x4ee3f5)=>{for(var _0x3cdf58=_0x4ee3f5>0x1?void 0x0:_0x4ee3f5?tr(_0x3c166f,_0x150f49):_0x3c166f,_0x1b75ec=_0x1211ae['length']-0x1,_0x3f1136;_0x1b75ec>=0x0;_0x1b75ec--)(_0x3f1136=_0x1211ae[_0x1b75ec])&&(_0x3cdf58=_0x3f1136(_0x3cdf58)||_0x3cdf58);return _0x3cdf58;},sr=(_0x4062d3,_0x57bfad)=>(_0x499b2f,_0x461a01)=>_0x57bfad(_0x499b2f,_0x461a01,_0x4062d3);let Ne=class extends _0x2babee{constructor(_0x2ea483){const _0x5cd8a0=_0x3a8eac;super(),this[_0x5cd8a0(0x109)]=_0x2ea483;}[_0x3a8eac(0x1dd)](_0x199024){const _0x35486f=_0x3a8eac;var _0x4dda32;const _0x3d7955=(_0x4dda32=this['_configService'][_0x35486f(0x1b3)](Be))==null?void 0x0:_0x4dda32[_0x35486f(0x1d5)];try{const _0x106ded=new Qt(_0x199024,{'headers':{..._0x3d7955}}),_0x155662=new _0x416646();return{'URL':_0x199024,'close':(_0x3a11d9,_0x5b99b5)=>{const _0x1bf581=_0x35486f;_0x106ded[_0x1bf581(0x1ea)](_0x3a11d9,_0x5b99b5),_0x155662[_0x1bf581(0xb2)]();},'send':_0x52894b=>{const _0xc43f7a=_0x35486f;_0x106ded[_0xc43f7a(0xe1)](_0x52894b);},'open$':new _0x44f200(_0xeb2f33=>{const _0x3d8916=_0x35486f,_0x187f31=_0x59262b=>_0xeb2f33['next'](_0x59262b);_0x106ded['addEventListener'](_0x3d8916(0x190),_0x187f31),_0x155662[_0x3d8916(0xd0)](_0x3e967d(()=>_0x106ded[_0x3d8916(0x96)](_0x3d8916(0x190),_0x187f31)));})[_0x35486f(0x17f)](_0x406e2c()),'close$':new _0x44f200(_0x5ebe03=>{const _0x306b51=_0x35486f,_0x182d55=_0x627b6b=>_0x5ebe03[_0x306b51(0x11d)](_0x627b6b);_0x106ded['addEventListener']('close',_0x182d55),_0x155662[_0x306b51(0xd0)](_0x3e967d(()=>_0x106ded['removeEventListener'](_0x306b51(0x1ea),_0x182d55)));})[_0x35486f(0x17f)](_0x406e2c()),'error$':new _0x44f200(_0x4e741f=>{const _0x306ef6=_0x35486f,_0x189a88=_0x444aaf=>_0x4e741f[_0x306ef6(0x11d)](_0x444aaf);_0x106ded['addEventListener'](_0x306ef6(0x18e),_0x189a88),_0x155662['add'](_0x3e967d(()=>_0x106ded['removeEventListener']('error',_0x189a88)));})[_0x35486f(0x17f)](_0x406e2c()),'message$':new _0x44f200(_0x1cfff7=>{const _0x2223f1=_0x35486f,_0x15fdc4=_0x360de2=>_0x1cfff7['next'](_0x360de2);_0x106ded[_0x2223f1(0x1c6)]('message',_0x15fdc4),_0x155662[_0x2223f1(0xd0)](_0x3e967d(()=>_0x106ded[_0x2223f1(0x96)](_0x2223f1(0x1ca),_0x15fdc4)));})[_0x35486f(0x17f)](_0x406e2c())};}catch(_0x575b4f){return console[_0x35486f(0x18e)](_0x575b4f),null;}}};Ne=rr([sr(0x0,_0x1faee4)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x1edacf,_0xc7f2ff,_0x13b70f)=>_0xc7f2ff in _0x1edacf?ir(_0x1edacf,_0xc7f2ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13b70f}):_0x1edacf[_0xc7f2ff]=_0x13b70f,ar=(_0x8553c7,_0x57da33,_0x22ecf7,_0x30e255)=>{const _0x1a2b31=_0x3a8eac;for(var _0x3bb707=_0x30e255>0x1?void 0x0:_0x30e255?nr(_0x57da33,_0x22ecf7):_0x57da33,_0x29b00c=_0x8553c7[_0x1a2b31(0x159)]-0x1,_0x219ed9;_0x29b00c>=0x0;_0x29b00c--)(_0x219ed9=_0x8553c7[_0x29b00c])&&(_0x3bb707=_0x219ed9(_0x3bb707)||_0x3bb707);return _0x3bb707;},ke=(_0x50236d,_0x3c26e8)=>(_0x21e139,_0x36f56f)=>_0x3c26e8(_0x21e139,_0x36f56f,_0x50236d),lr=(_0x52f125,_0x4658fa,_0x1a2f2a)=>or(_0x52f125,_0x4658fa+'',_0x1a2f2a);let Pe=class extends _0x2264b9{constructor(_0x2f5be8=Ft,_0x2fbbe2,_0x43d5f4,_0x351046){const _0x1bb3ac=_0x3a8eac;_0x2f5be8[_0x1bb3ac(0x1d5)]||_0x2fbbe2[_0x1bb3ac(0xe4)](_0x1bb3ac(0x100)),super(),this[_0x1bb3ac(0x109)]=_0x43d5f4,this[_0x1bb3ac(0x22c)]=_0x351046,this[_0x1bb3ac(0x109)][_0x1bb3ac(0x194)](Be,_0x2f5be8);}['onStarting'](){const _0xf67da7=_0x3a8eac;this[_0xf67da7(0x1b2)]();}[_0x3a8eac(0x1b2)](){const _0x3d77d1=_0x3a8eac;_0x3f20f4(this[_0x3d77d1(0x22c)],[[_0x167094,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x3a8eac(0x1b4)),Pe=ar([_0x35bd83(_0x1e708e),ke(0x1,_0x21bb6d),ke(0x2,_0x1faee4),ke(0x3,_0x32dc61(_0x50e315))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x583e47,_0x609c17,_0x4b2462,_0xd616e1)=>{const _0x29b617=_0x3a8eac;for(var _0x35b9a9=_0xd616e1>0x1?void 0x0:_0xd616e1?fr(_0x609c17,_0x4b2462):_0x609c17,_0x45b2bf=_0x583e47[_0x29b617(0x159)]-0x1,_0x2fd0c1;_0x45b2bf>=0x0;_0x45b2bf--)(_0x2fd0c1=_0x583e47[_0x45b2bf])&&(_0x35b9a9=_0x2fd0c1(_0x35b9a9)||_0x35b9a9);return _0x35b9a9;},se=(_0x47c8e9,_0x2e7ca7)=>(_0x44b1ec,_0x2a2247)=>_0x2e7ca7(_0x44b1ec,_0x2a2247,_0x47c8e9);let at=class extends _0x184735{constructor(_0x28a4e9,_0x50b082,_0x230e18,_0x55bf31,_0x54ce50){const _0x2534b6=_0x3a8eac;super(_0x28a4e9,_0x50b082,_0x230e18,_0x55bf31,_0x54ce50);const _0x19ab4b=this[_0x2534b6(0x109)][_0x2534b6(0x1b3)](Be);this[_0x2534b6(0x186)]['registerHTTPInterceptor']({'interceptor':(_0x42be6d,_0x768923)=>{const _0x11bf59=_0x2534b6;var _0x3448fd;const _0x5d2c64=_0x42be6d[_0x11bf59(0xce)];return(_0x3448fd=_0x19ab4b==null?void 0x0:_0x19ab4b[_0x11bf59(0x1d5)])!=null&&_0x3448fd[_0x11bf59(0x19c)]&&_0x5d2c64['set'](_0x11bf59(0x121),_0x19ab4b[_0x11bf59(0x1d5)][_0x11bf59(0x19c)]),_0x768923(_0x42be6d);}});}async[_0x3a8eac(0x1dd)](_0x233b16){const _0xa1cf28=_0x3a8eac;return this[_0xa1cf28(0x12d)](_0x233b16);}};at=cr([se(0x0,_0x32dc61(_0x50e315)),se(0x1,_0x32dc61(_0x48b7d9)),se(0x2,_0x1faee4),se(0x3,_0x21bb6d),se(0x4,_0x4b2d21)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0xcc8efe=_0x35f4;(function(_0x3c754c,_0xab55b2){const _0x30a176=_0x35f4,_0x5e11e3=_0x3c754c();while(!![]){try{const _0x17d354=parseInt(_0x30a176(0x1eb))/0x1*(-parseInt(_0x30a176(0x1e3))/0x2)+-parseInt(_0x30a176(0xda))/0x3*(-parseInt(_0x30a176(0x229))/0x4)+-parseInt(_0x30a176(0x1e1))/0x5+parseInt(_0x30a176(0x129))/0x6*(-parseInt(_0x30a176(0x223))/0x7)+parseInt(_0x30a176(0x20f))/0x8+-parseInt(_0x30a176(0x213))/0x9*(-parseInt(_0x30a176(0x201))/0xa)+parseInt(_0x30a176(0x93))/0xb;if(_0x17d354===_0xab55b2)break;else _0x5e11e3['push'](_0x5e11e3['shift']());}catch(_0x4bef8a){_0x5e11e3['push'](_0x5e11e3['shift']());}}}(_0x5d40,0xa1f09));import{UniverCollaborationClientPlugin as _0x5a1aa7,CollaborationSocketService as _0x6f9046}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3b16e0,DisposableCollection as _0x3ae965,toDisposable as _0x5b17c8,IConfigService as _0x16f89b,DependentOn as _0x4ef3c2,ILogService as _0x3cdab6,Inject as _0x4857b1,Injector as _0x45764d,Plugin as _0x9942f0,registerDependencies as _0x4379ae}from'@univerjs/core';import{ISocketService as _0x42f225,HTTPService as _0x10ddf5}from'@univerjs/network';import{Observable as _0x1c4acd,share as _0x33be26}from'rxjs';import _0xfd2e2c from'events';import _0x1039a3 from'https';import _0x4b84c from'http';import _0x58fb86 from'net';import _0x58bf04 from'tls';import _0xcdc505 from'crypto';import _0x4726f2 from'stream';import _0x2f4072 from'url';function _0x35f4(_0xbe838b,_0x5c3bbd){const _0x5d404a=_0x5d40();return _0x35f4=function(_0x35f4c1,_0x5ebfbe){_0x35f4c1=_0x35f4c1-0x91;let _0x177bd0=_0x5d404a[_0x35f4c1];return _0x177bd0;},_0x35f4(_0xbe838b,_0x5c3bbd);}import _0x1fe0e9 from'zlib';import _0x46f6de from'buffer';import{ISnapshotServerService as _0x5f4535}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x5635a2){const _0x2cb5a1=_0x35f4;return _0x5635a2&&_0x5635a2[_0x2cb5a1(0x11d)]&&Object['prototype']['hasOwnProperty']['call'](_0x5635a2,'default')?_0x5635a2['default']:_0x5635a2;}function ut(_0x14f677){const _0x38be8b=_0x35f4;if(Object[_0x38be8b(0x1d0)]['hasOwnProperty'][_0x38be8b(0x1c6)](_0x14f677,_0x38be8b(0x11d)))return _0x14f677;var _0x95d95=_0x14f677['default'];if(typeof _0x95d95==_0x38be8b(0x227)){var _0x27e0f8=function _0xcd5c27(){const _0x5215f4=_0x38be8b;var _0x4852b4=!0x1;try{_0x4852b4=this instanceof _0xcd5c27;}catch{}return _0x4852b4?Reflect[_0x5215f4(0x183)](_0x95d95,arguments,this[_0x5215f4(0x13c)]):_0x95d95[_0x5215f4(0x1aa)](this,arguments);};_0x27e0f8['prototype']=_0x95d95[_0x38be8b(0x1d0)];}else _0x27e0f8={};return Object[_0x38be8b(0xf2)](_0x27e0f8,_0x38be8b(0x11d),{'value':!0x0}),Object['keys'](_0x14f677)[_0x38be8b(0x197)](function(_0xf94b90){const _0x4e37f0=_0x38be8b;var _0x52e50b=Object[_0x4e37f0(0x16e)](_0x14f677,_0xf94b90);Object[_0x4e37f0(0xf2)](_0x27e0f8,_0xf94b90,_0x52e50b['get']?_0x52e50b:{'enumerable':!0x0,'get':function(){return _0x14f677[_0xf94b90];}});}),_0x27e0f8;}var te={'exports':{}},ge,Ye;function V(){const _0x208fd4=_0x35f4;if(Ye)return ge;Ye=0x1;const _0x4e1b62=[_0x208fd4(0x1b2),'arraybuffer',_0x208fd4(0x21b)],_0x25d8fd=typeof Blob<'u';return _0x25d8fd&&_0x4e1b62['push'](_0x208fd4(0x1a9)),ge={'BINARY_TYPES':_0x4e1b62,'EMPTY_BUFFER':Buffer[_0x208fd4(0x98)](0x0),'GUID':_0x208fd4(0x13b),'hasBlob':_0x25d8fd,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x208fd4(0xc9)),'kWebSocket':Symbol(_0x208fd4(0x1b5)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0xcc8efe(0xf2)]({'__proto__':null,'default':jt},Symbol[_0xcc8efe(0x9f)],{'value':_0xcc8efe(0x1c8)})),Vt=ut(Gt);var Ke;function ce(){const _0x552f99=_0xcc8efe;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x22bcd2}=V(),_0x36488e=Buffer[Symbol[_0x552f99(0x1e5)]];function _0x45ef64(_0x84fcdc,_0x1bd8bc){const _0x19dbb3=_0x552f99;if(_0x84fcdc[_0x19dbb3(0x18a)]===0x0)return _0x22bcd2;if(_0x84fcdc[_0x19dbb3(0x18a)]===0x1)return _0x84fcdc[0x0];const _0xe13da6=Buffer[_0x19dbb3(0x152)](_0x1bd8bc);let _0x2d7349=0x0;for(let _0x46889a=0x0;_0x46889a<_0x84fcdc['length'];_0x46889a++){const _0x725e6d=_0x84fcdc[_0x46889a];_0xe13da6[_0x19dbb3(0xcf)](_0x725e6d,_0x2d7349),_0x2d7349+=_0x725e6d[_0x19dbb3(0x18a)];}return _0x2d7349<_0x1bd8bc?new _0x36488e(_0xe13da6[_0x19dbb3(0x160)],_0xe13da6[_0x19dbb3(0x216)],_0x2d7349):_0xe13da6;}function _0x53c9e5(_0x1deaf8,_0x5249cf,_0x24d01d,_0x5cdd5a,_0x5c0a25){for(let _0x49e953=0x0;_0x49e953<_0x5c0a25;_0x49e953++)_0x24d01d[_0x5cdd5a+_0x49e953]=_0x1deaf8[_0x49e953]^_0x5249cf[_0x49e953&0x3];}function _0x5ec716(_0x39d273,_0xf08ec0){const _0x5ee72b=_0x552f99;for(let _0x394574=0x0;_0x394574<_0x39d273[_0x5ee72b(0x18a)];_0x394574++)_0x39d273[_0x394574]^=_0xf08ec0[_0x394574&0x3];}function _0xa493fa(_0x3ca93f){const _0x2a0784=_0x552f99;return _0x3ca93f[_0x2a0784(0x18a)]===_0x3ca93f['buffer'][_0x2a0784(0x169)]?_0x3ca93f[_0x2a0784(0x160)]:_0x3ca93f[_0x2a0784(0x160)][_0x2a0784(0xee)](_0x3ca93f[_0x2a0784(0x216)],_0x3ca93f['byteOffset']+_0x3ca93f[_0x2a0784(0x18a)]);}function _0x338d14(_0x1ea2e0){const _0x52a293=_0x552f99;if(_0x338d14[_0x52a293(0x153)]=!0x0,Buffer['isBuffer'](_0x1ea2e0))return _0x1ea2e0;let _0x4aa618;return _0x1ea2e0 instanceof ArrayBuffer?_0x4aa618=new _0x36488e(_0x1ea2e0):ArrayBuffer[_0x52a293(0x214)](_0x1ea2e0)?_0x4aa618=new _0x36488e(_0x1ea2e0[_0x52a293(0x160)],_0x1ea2e0[_0x52a293(0x216)],_0x1ea2e0[_0x52a293(0x169)]):(_0x4aa618=Buffer[_0x52a293(0x17b)](_0x1ea2e0),_0x338d14['readOnly']=!0x1),_0x4aa618;}if(te['exports']={'concat':_0x45ef64,'mask':_0x53c9e5,'toArrayBuffer':_0xa493fa,'toBuffer':_0x338d14,'unmask':_0x5ec716},!process[_0x552f99(0x145)][_0x552f99(0x20c)])try{const _0x4398f1=Vt;te[_0x552f99(0x1d2)][_0x552f99(0xd9)]=function(_0x25db20,_0x58b450,_0x5b4d9a,_0x386a61,_0x120050){_0x120050<0x30?_0x53c9e5(_0x25db20,_0x58b450,_0x5b4d9a,_0x386a61,_0x120050):_0x4398f1['mask'](_0x25db20,_0x58b450,_0x5b4d9a,_0x386a61,_0x120050);},te[_0x552f99(0x1d2)][_0x552f99(0x173)]=function(_0x5edb89,_0x5a1e65){const _0x1dd489=_0x552f99;_0x5edb89[_0x1dd489(0x18a)]<0x20?_0x5ec716(_0x5edb89,_0x5a1e65):_0x4398f1['unmask'](_0x5edb89,_0x5a1e65);};}catch{}return te[_0x552f99(0x1d2)];}var ye,Xe;function qt(){const _0x8be5c5=_0xcc8efe;if(Xe)return ye;Xe=0x1;const _0x54248a=Symbol(_0x8be5c5(0x1ed)),_0x4d3278=Symbol(_0x8be5c5(0x156));class _0x5b5c3e{constructor(_0x335657){const _0x27d144=_0x8be5c5;this[_0x54248a]=()=>{const _0x2ca794=_0x35f4;this[_0x2ca794(0x207)]--,this[_0x4d3278]();},this[_0x27d144(0x168)]=_0x335657||0x1/0x0,this[_0x27d144(0xd3)]=[],this['pending']=0x0;}[_0x8be5c5(0x1bd)](_0x29e8b1){const _0x2e8db5=_0x8be5c5;this[_0x2e8db5(0xd3)]['push'](_0x29e8b1),this[_0x4d3278]();}[_0x4d3278](){const _0x51daff=_0x8be5c5;if(this[_0x51daff(0x207)]!==this[_0x51daff(0x168)]&&this['jobs']['length']){const _0x3d1d3a=this[_0x51daff(0xd3)][_0x51daff(0xba)]();this[_0x51daff(0x207)]++,_0x3d1d3a(this[_0x54248a]);}}}return ye=_0x5b5c3e,ye;}var ve,Ze;function he(){const _0x2c758e=_0xcc8efe;if(Ze)return ve;Ze=0x1;const _0x495415=_0x1fe0e9,_0x9655f3=ce(),_0x5f56e1=qt(),{kStatusCode:_0x2e030d}=V(),_0x4fae07=Buffer[Symbol[_0x2c758e(0x1e5)]],_0x132b1f=Buffer['from']([0x0,0x0,0xff,0xff]),_0x36f2d8=Symbol(_0x2c758e(0x210)),_0x194694=Symbol('total-length'),_0x511dc4=Symbol(_0x2c758e(0x18d)),_0x521919=Symbol('buffers'),_0x143533=Symbol(_0x2c758e(0x199));let _0x1bead6;class _0x225300{constructor(_0x36e398,_0x2e049d,_0x30d456){const _0x68fc=_0x2c758e;if(this['_maxPayload']=_0x30d456|0x0,this[_0x68fc(0x1f6)]=_0x36e398||{},this[_0x68fc(0x209)]=this[_0x68fc(0x1f6)]['threshold']!==void 0x0?this[_0x68fc(0x1f6)][_0x68fc(0x116)]:0x400,this[_0x68fc(0x11e)]=!!_0x2e049d,this[_0x68fc(0x1bc)]=null,this[_0x68fc(0x1b8)]=null,this['params']=null,!_0x1bead6){const _0x472a66=this[_0x68fc(0x1f6)][_0x68fc(0x1b9)]!==void 0x0?this[_0x68fc(0x1f6)][_0x68fc(0x1b9)]:0xa;_0x1bead6=new _0x5f56e1(_0x472a66);}}static get['extensionName'](){return'permessage-deflate';}[_0x2c758e(0xce)](){const _0x4ca70a=_0x2c758e,_0x9af021={};return this[_0x4ca70a(0x1f6)]['serverNoContextTakeover']&&(_0x9af021[_0x4ca70a(0x10e)]=!0x0),this[_0x4ca70a(0x1f6)][_0x4ca70a(0x230)]&&(_0x9af021[_0x4ca70a(0xf1)]=!0x0),this['_options'][_0x4ca70a(0x9d)]&&(_0x9af021['server_max_window_bits']=this['_options'][_0x4ca70a(0x9d)]),this[_0x4ca70a(0x1f6)][_0x4ca70a(0x179)]?_0x9af021[_0x4ca70a(0xdd)]=this[_0x4ca70a(0x1f6)][_0x4ca70a(0x179)]:this[_0x4ca70a(0x1f6)][_0x4ca70a(0x179)]==null&&(_0x9af021[_0x4ca70a(0xdd)]=!0x0),_0x9af021;}[_0x2c758e(0xae)](_0x7307b5){const _0x5af485=_0x2c758e;return _0x7307b5=this[_0x5af485(0x1df)](_0x7307b5),this[_0x5af485(0xd8)]=this[_0x5af485(0x11e)]?this['acceptAsServer'](_0x7307b5):this['acceptAsClient'](_0x7307b5),this[_0x5af485(0xd8)];}[_0x2c758e(0xff)](){const _0x1676cb=_0x2c758e;if(this[_0x1676cb(0x1b8)]&&(this['_inflate'][_0x1676cb(0x16c)](),this['_inflate']=null),this[_0x1676cb(0x1bc)]){const _0x187637=this['_deflate'][_0x511dc4];this[_0x1676cb(0x1bc)][_0x1676cb(0x16c)](),this[_0x1676cb(0x1bc)]=null,_0x187637&&_0x187637(new Error(_0x1676cb(0x142)));}}[_0x2c758e(0xc5)](_0x308dfd){const _0x16d89c=_0x2c758e,_0x29d017=this['_options'],_0x5a8949=_0x308dfd['find'](_0xe87bcb=>!(_0x29d017['serverNoContextTakeover']===!0x1&&_0xe87bcb[_0x16d89c(0x10e)]||_0xe87bcb['server_max_window_bits']&&(_0x29d017[_0x16d89c(0x9d)]===!0x1||typeof _0x29d017['serverMaxWindowBits']==_0x16d89c(0x14e)&&_0x29d017[_0x16d89c(0x9d)]>_0xe87bcb[_0x16d89c(0xf6)])||typeof _0x29d017['clientMaxWindowBits']==_0x16d89c(0x14e)&&!_0xe87bcb[_0x16d89c(0xdd)]));if(!_0x5a8949)throw new Error(_0x16d89c(0x17a));return _0x29d017['serverNoContextTakeover']&&(_0x5a8949[_0x16d89c(0x10e)]=!0x0),_0x29d017[_0x16d89c(0x230)]&&(_0x5a8949['client_no_context_takeover']=!0x0),typeof _0x29d017['serverMaxWindowBits']==_0x16d89c(0x14e)&&(_0x5a8949[_0x16d89c(0xf6)]=_0x29d017[_0x16d89c(0x9d)]),typeof _0x29d017[_0x16d89c(0x179)]==_0x16d89c(0x14e)?_0x5a8949['client_max_window_bits']=_0x29d017[_0x16d89c(0x179)]:(_0x5a8949[_0x16d89c(0xdd)]===!0x0||_0x29d017[_0x16d89c(0x179)]===!0x1)&&delete _0x5a8949[_0x16d89c(0xdd)],_0x5a8949;}[_0x2c758e(0x121)](_0x38e139){const _0x3e4f11=_0x2c758e,_0x5aeda2=_0x38e139[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x5aeda2['client_no_context_takeover'])throw new Error(_0x3e4f11(0xc6));if(!_0x5aeda2[_0x3e4f11(0xdd)])typeof this[_0x3e4f11(0x1f6)][_0x3e4f11(0x179)]==_0x3e4f11(0x14e)&&(_0x5aeda2['client_max_window_bits']=this[_0x3e4f11(0x1f6)][_0x3e4f11(0x179)]);else{if(this[_0x3e4f11(0x1f6)][_0x3e4f11(0x179)]===!0x1||typeof this[_0x3e4f11(0x1f6)][_0x3e4f11(0x179)]=='number'&&_0x5aeda2['client_max_window_bits']>this['_options'][_0x3e4f11(0x179)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5aeda2;}[_0x2c758e(0x1df)](_0x5d68e0){const _0x5cd673=_0x2c758e;return _0x5d68e0[_0x5cd673(0x197)](_0x29aac4=>{const _0x547849=_0x5cd673;Object['keys'](_0x29aac4)[_0x547849(0x197)](_0x5b6f82=>{const _0x3fc8af=_0x547849;let _0x139331=_0x29aac4[_0x5b6f82];if(_0x139331[_0x3fc8af(0x18a)]>0x1)throw new Error(_0x3fc8af(0xcc)+_0x5b6f82+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x139331=_0x139331[0x0],_0x5b6f82===_0x3fc8af(0xdd)){if(_0x139331!==!0x0){const _0x11ea58=+_0x139331;if(!Number[_0x3fc8af(0xc8)](_0x11ea58)||_0x11ea58<0x8||_0x11ea58>0xf)throw new TypeError(_0x3fc8af(0x138)+_0x5b6f82+_0x3fc8af(0x1a6)+_0x139331);_0x139331=_0x11ea58;}else{if(!this[_0x3fc8af(0x11e)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5b6f82+_0x3fc8af(0x1a6)+_0x139331);}}else{if(_0x5b6f82==='server_max_window_bits'){const _0x11335e=+_0x139331;if(!Number['isInteger'](_0x11335e)||_0x11335e<0x8||_0x11335e>0xf)throw new TypeError(_0x3fc8af(0x138)+_0x5b6f82+'\x22:\x20'+_0x139331);_0x139331=_0x11335e;}else{if(_0x5b6f82===_0x3fc8af(0xf1)||_0x5b6f82===_0x3fc8af(0x10e)){if(_0x139331!==!0x0)throw new TypeError(_0x3fc8af(0x138)+_0x5b6f82+_0x3fc8af(0x1a6)+_0x139331);}else throw new Error(_0x3fc8af(0xa9)+_0x5b6f82+'\x22');}}_0x29aac4[_0x5b6f82]=_0x139331;});}),_0x5d68e0;}[_0x2c758e(0x1f2)](_0x3be923,_0x1aa9d4,_0x3588ff){const _0x3d6348=_0x2c758e;_0x1bead6[_0x3d6348(0x1bd)](_0x58fa27=>{this['_decompress'](_0x3be923,_0x1aa9d4,(_0x58e864,_0x54c5ba)=>{_0x58fa27(),_0x3588ff(_0x58e864,_0x54c5ba);});});}['compress'](_0x26e135,_0x242f55,_0x3b2fd4){const _0x7e8b03=_0x2c758e;_0x1bead6[_0x7e8b03(0x1bd)](_0x8d87d8=>{const _0x5e3f8b=_0x7e8b03;this[_0x5e3f8b(0xb1)](_0x26e135,_0x242f55,(_0x3c3467,_0x5d1490)=>{_0x8d87d8(),_0x3b2fd4(_0x3c3467,_0x5d1490);});});}[_0x2c758e(0x17c)](_0x3052e0,_0x384592,_0x1347b3){const _0x196401=_0x2c758e,_0x4d10c1=this['_isServer']?'client':_0x196401(0x146);if(!this[_0x196401(0x1b8)]){const _0x3f8106=_0x4d10c1+'_max_window_bits',_0x25ad3b=typeof this[_0x196401(0xd8)][_0x3f8106]!='number'?_0x495415[_0x196401(0x22b)]:this[_0x196401(0xd8)][_0x3f8106];this[_0x196401(0x1b8)]=_0x495415[_0x196401(0x1bf)]({...this[_0x196401(0x1f6)]['zlibInflateOptions'],'windowBits':_0x25ad3b}),this[_0x196401(0x1b8)][_0x36f2d8]=this,this[_0x196401(0x1b8)][_0x194694]=0x0,this[_0x196401(0x1b8)][_0x521919]=[],this['_inflate']['on'](_0x196401(0x199),_0x2b462e),this['_inflate']['on']('data',_0x48fae9);}this[_0x196401(0x1b8)][_0x511dc4]=_0x1347b3,this[_0x196401(0x1b8)][_0x196401(0x22f)](_0x3052e0),_0x384592&&this[_0x196401(0x1b8)]['write'](_0x132b1f),this[_0x196401(0x1b8)][_0x196401(0x1ee)](()=>{const _0x41d912=_0x196401,_0x57018a=this['_inflate'][_0x143533];if(_0x57018a){this[_0x41d912(0x1b8)]['close'](),this[_0x41d912(0x1b8)]=null,_0x1347b3(_0x57018a);return;}const _0x3e0b62=_0x9655f3[_0x41d912(0x1dc)](this[_0x41d912(0x1b8)][_0x521919],this[_0x41d912(0x1b8)][_0x194694]);this[_0x41d912(0x1b8)][_0x41d912(0x1a7)][_0x41d912(0x1ad)]?(this[_0x41d912(0x1b8)][_0x41d912(0x16c)](),this[_0x41d912(0x1b8)]=null):(this[_0x41d912(0x1b8)][_0x194694]=0x0,this[_0x41d912(0x1b8)][_0x521919]=[],_0x384592&&this[_0x41d912(0xd8)][_0x4d10c1+_0x41d912(0x1f8)]&&this[_0x41d912(0x1b8)][_0x41d912(0x191)]()),_0x1347b3(null,_0x3e0b62);});}['_compress'](_0x37563a,_0xeafdd1,_0x242fe9){const _0x4e20a8=_0x2c758e,_0x1ae2fe=this['_isServer']?_0x4e20a8(0x146):_0x4e20a8(0xea);if(!this[_0x4e20a8(0x1bc)]){const _0x1951b5=_0x1ae2fe+_0x4e20a8(0x1a8),_0x2f1f89=typeof this[_0x4e20a8(0xd8)][_0x1951b5]!=_0x4e20a8(0x14e)?_0x495415[_0x4e20a8(0x22b)]:this[_0x4e20a8(0xd8)][_0x1951b5];this[_0x4e20a8(0x1bc)]=_0x495415[_0x4e20a8(0x1c3)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x2f1f89}),this['_deflate'][_0x194694]=0x0,this[_0x4e20a8(0x1bc)][_0x521919]=[],this[_0x4e20a8(0x1bc)]['on'](_0x4e20a8(0x21a),_0x316a3b);}this['_deflate'][_0x511dc4]=_0x242fe9,this[_0x4e20a8(0x1bc)][_0x4e20a8(0x22f)](_0x37563a),this[_0x4e20a8(0x1bc)][_0x4e20a8(0x1ee)](_0x495415[_0x4e20a8(0x225)],()=>{const _0x2b3c77=_0x4e20a8;if(!this[_0x2b3c77(0x1bc)])return;let _0x54f932=_0x9655f3[_0x2b3c77(0x1dc)](this[_0x2b3c77(0x1bc)][_0x521919],this[_0x2b3c77(0x1bc)][_0x194694]);_0xeafdd1&&(_0x54f932=new _0x4fae07(_0x54f932[_0x2b3c77(0x160)],_0x54f932['byteOffset'],_0x54f932[_0x2b3c77(0x18a)]-0x4)),this[_0x2b3c77(0x1bc)][_0x511dc4]=null,this[_0x2b3c77(0x1bc)][_0x194694]=0x0,this[_0x2b3c77(0x1bc)][_0x521919]=[],_0xeafdd1&&this[_0x2b3c77(0xd8)][_0x1ae2fe+_0x2b3c77(0x1f8)]&&this['_deflate'][_0x2b3c77(0x191)](),_0x242fe9(null,_0x54f932);});}}ve=_0x225300;function _0x316a3b(_0x237254){const _0xb39ee7=_0x2c758e;this[_0x521919][_0xb39ee7(0x1b4)](_0x237254),this[_0x194694]+=_0x237254[_0xb39ee7(0x18a)];}function _0x48fae9(_0x3e9c8a){const _0x24d566=_0x2c758e;if(this[_0x194694]+=_0x3e9c8a[_0x24d566(0x18a)],this[_0x36f2d8][_0x24d566(0x16a)]<0x1||this[_0x194694]<=this[_0x36f2d8][_0x24d566(0x16a)]){this[_0x521919][_0x24d566(0x1b4)](_0x3e9c8a);return;}this[_0x143533]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x143533][_0x24d566(0x135)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x143533][_0x2e030d]=0x3f1,this[_0x24d566(0x1bb)](_0x24d566(0x21a),_0x48fae9),this[_0x24d566(0x191)]();}function _0x2b462e(_0x3cbbe4){const _0x5550bc=_0x2c758e;if(this[_0x36f2d8][_0x5550bc(0x1b8)]=null,this[_0x143533]){this[_0x511dc4](this[_0x143533]);return;}_0x3cbbe4[_0x2e030d]=0x3ef,this[_0x511dc4](_0x3cbbe4);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xcc8efe(0xcb)](Object[_0xcc8efe(0xf2)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0xcc8efe(0x1c8)})),Yt=ut(zt);var Qe;function _0x5d40(){const _0x53aa99=['MASK\x20must\x20be\x20set','ping','1153341hSWMEE','isView','_opcode','byteOffset','redirect','_doCreateSocket','kData','data','fragments','Invalid\x20Sec-WebSocket-Extensions\x20header','_closeFrameReceived','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','delete','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_closeMessage','_autoPong','14mvZwTx','_maskBuffer','Z_SYNC_FLUSH','next','function','Unexpected\x20end\x20of\x20input','1024AuJyEv','addEventListener','Z_DEFAULT_WINDOWBITS','text/plain','File','binaryType','write','clientNoContextTakeover','_fragments','The\x20URL\x27s\x20pathname\x20is\x20empty','address','15172487yUojua','create','servername','setSocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','alloc','writeHead','base64','enqueue','clients','serverMaxWindowBits','WS_ERR_UNEXPECTED_RSV_2_3','toStringTag','_bufferedBytes','_extensions','kMessage','isServer','onerror','CLOSED','readyState','update','finished','Unknown\x20parameter\x20\x22','_skipUTF8Validation','once','fin','hostname','accept','catch','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_compress','listenerCount','_generateMask','WS_ERR_UNEXPECTED_RSV_1','toLowerCase','https:','_binaryType','_sender','cork','shift','binary','OPEN','end','onopen','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','generateMask','emitClose','handleProtocols','_shouldEmitClose','_redirects','acceptAsServer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_writableState','isInteger','status-code','host','freeze','Parameter\x20\x22','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','offer','set','method','sec-websocket-extensions','_receiver','jobs','invalid\x20payload\x20length\x20','Basic\x20','_buffers','getConfig','params','mask','6501ULRjjJ','CONNECTING','extensionName','client_max_window_bits','options','Sec-WebSocket-Extensions','charCodeAt','message','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_write','WS_NO_UTF_8_VALIDATE','destroy','text/html','Invalid\x20Sec-WebSocket-Protocol\x20header','RSV1\x20must\x20be\x20clear','Opening\x20handshake\x20has\x20timed\x20out','client','\x22\x20subprotocol\x20is\x20duplicated','password','statusCode','slice','GET','values','client_no_context_takeover','defineProperty','WS_ERR_INVALID_OPCODE','Invalid\x20HTTP\x20method','_removeListeners','server_max_window_bits','writable','replace','_masked','Server\x20sent\x20an\x20invalid\x20subprotocol','_read','completeUpgrade','getData','startLoop','cleanup','Connection:\x20Upgrade','_originalHostOrSocketPath','resume','location','errorEmitted','STATUS_CODES','_allowSynchronousEvents','_queue','_mask','split','_loop','WS_ERR_EXPECTED_FIN','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','The\x20server\x20is\x20not\x20running','server_no_context_takeover','isValidUTF8','http:','_protocol','onStarting','_totalPayloadLength','destroyed','_firstFragment','threshold','connect','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','captureStackTrace','protocolVersion','dispatch','path','__esModule','_isServer','handshakeTimeout','keys','acceptAsClient','object','finishRequest','kTarget','send','_closeTimer','invalid\x20opcode\x20','readUInt16BE','467526xbMdLb','Server\x20sent\x20no\x20subprotocol','target','setTimeout','digest','_state','headers','wsClientError','getPayloadLength64','username','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_server','code','type','Invalid\x20Upgrade\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','_socket','kReason','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','constructor','needDrain','read','pathname','registerHTTPInterceptor','string','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','dequeue','_req','env','server','handleUpgrade','_closeCode','bind','_compressed','protocol','pipe','indexOf','number','_fin','skipUTF8Validation','size','allocUnsafe','readOnly','_final','Sec-WebSocket-Extensions:\x20','kRun','Upgrade:\x20websocket','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','authorization','Unexpected\x20character\x20at\x20index\x20','Sec-WebSocket-Origin','removeAllListeners','terminate','origin','sha1','buffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','isIP','verifyClient','wasClean','dataMessage','consume','parse','concurrency','byteLength','_maxPayload','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','close','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','getOwnPropertyDescriptor','search','value','\x0d\x0a\x0d\x0a','uncork','unmask','_bufferedAmount','readable','sendFrame','pluginName','has','clientMaxWindowBits','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','from','_decompress','HTTP/1.1\x20','socketPath','Sec-WebSocket-Protocol','WS_ERR_EXPECTED_MASK','pause','setConfig','construct','allowSynchronousEvents','setHeader','invalid\x20opcode\x200','_injector','_url','CLOSING','length','wss:','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','callback','unshift','socket','invalid\x20UTF-8\x20sequence','reset','Max\x20payload\x20size\x20exceeded','listen','customHeaders','auth','_originalSecure','forEach','pong','error','createConnection','_fragmented','upgrade','createServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_closeFrameSent','cookie','join','getBlobData','conclude','writeUIntBE','\x22:\x20','_readableState','_max_window_bits','blob','apply','frame','entries','endEmitted','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_originalIpc','WS_ERR_UNEXPECTED_MASK','port','nodebuffer','extensions','push','websocket','Unsupported\x20protocol\x20version:\x20','includes','_inflate','concurrencyLimit','backlog','removeListener','_deflate','add','maxPayload','createInflateRaw','_httpService','listeners','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','createDeflateRaw','stream','writeUInt16BE','call','Invalid\x20Sec-WebSocket-Accept\x20header','Module','bufferedAmount','createSocket','request','Sec-WebSocket-Protocol:\x20','defaultPort','haveLength','objectMode','prototype','The\x20\x22','exports','_registerDependencies','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_destroy','_paused','arrayBuffer','finish','Maximum\x20redirects\x20exceeded','toString','format','concat','removeEventListener','reason','normalizeParams','timeout','4719890cOpdue','Blob','4cSqIxx','isArray','species','invalid\x20status\x20code\x20','perMessageDeflate','map','readUInt32BE','nextTick','417227StaFgr','getPayloadLength16','kDone','flush','setNoDelay','noServer','sec-websocket-version','decompress','_messageLength','_readyState','kError','_options','listening','_no_context_takeover','connection','ws:','_configService','opcode','encrypted','emit','compress','url','20CDomZU','_errorEmitted','WS_ERR_INVALID_CLOSE_CODE','sec-websocket-protocol','open','_payloadLength','pending','isPaused','_threshold','Origin','_errored','WS_NO_BUFFER_UTIL','unexpected-response','createError','3257696thXxOo','permessage-deflate'];_0x5d40=function(){return _0x53aa99;};return _0x5d40();}function ne(){const _0x38e5a3=_0xcc8efe;if(Qe)return re[_0x38e5a3(0x1d2)];Qe=0x1;const {isUtf8:_0x1c1171}=_0x46f6de,{hasBlob:_0x3a6bc0}=V(),_0x115141=[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 _0x3fe4cb(_0x21c4f0){return _0x21c4f0>=0x3e8&&_0x21c4f0<=0x3f6&&_0x21c4f0!==0x3ec&&_0x21c4f0!==0x3ed&&_0x21c4f0!==0x3ee||_0x21c4f0>=0xbb8&&_0x21c4f0<=0x1387;}function _0xd9254(_0x45c7d8){const _0x2c8975=_0x38e5a3,_0x465daf=_0x45c7d8[_0x2c8975(0x18a)];let _0x80fbc7=0x0;for(;_0x80fbc7<_0x465daf;)if((_0x45c7d8[_0x80fbc7]&0x80)===0x0)_0x80fbc7++;else{if((_0x45c7d8[_0x80fbc7]&0xe0)===0xc0){if(_0x80fbc7+0x1===_0x465daf||(_0x45c7d8[_0x80fbc7+0x1]&0xc0)!==0x80||(_0x45c7d8[_0x80fbc7]&0xfe)===0xc0)return!0x1;_0x80fbc7+=0x2;}else{if((_0x45c7d8[_0x80fbc7]&0xf0)===0xe0){if(_0x80fbc7+0x2>=_0x465daf||(_0x45c7d8[_0x80fbc7+0x1]&0xc0)!==0x80||(_0x45c7d8[_0x80fbc7+0x2]&0xc0)!==0x80||_0x45c7d8[_0x80fbc7]===0xe0&&(_0x45c7d8[_0x80fbc7+0x1]&0xe0)===0x80||_0x45c7d8[_0x80fbc7]===0xed&&(_0x45c7d8[_0x80fbc7+0x1]&0xe0)===0xa0)return!0x1;_0x80fbc7+=0x3;}else{if((_0x45c7d8[_0x80fbc7]&0xf8)===0xf0){if(_0x80fbc7+0x3>=_0x465daf||(_0x45c7d8[_0x80fbc7+0x1]&0xc0)!==0x80||(_0x45c7d8[_0x80fbc7+0x2]&0xc0)!==0x80||(_0x45c7d8[_0x80fbc7+0x3]&0xc0)!==0x80||_0x45c7d8[_0x80fbc7]===0xf0&&(_0x45c7d8[_0x80fbc7+0x1]&0xf0)===0x80||_0x45c7d8[_0x80fbc7]===0xf4&&_0x45c7d8[_0x80fbc7+0x1]>0x8f||_0x45c7d8[_0x80fbc7]>0xf4)return!0x1;_0x80fbc7+=0x4;}else return!0x1;}}}return!0x0;}function _0x54982d(_0x2dbf7d){const _0x2402dd=_0x38e5a3;return _0x3a6bc0&&typeof _0x2dbf7d==_0x2402dd(0x122)&&typeof _0x2dbf7d[_0x2402dd(0x1d7)]==_0x2402dd(0x227)&&typeof _0x2dbf7d[_0x2402dd(0x136)]==_0x2402dd(0x141)&&typeof _0x2dbf7d[_0x2402dd(0x1c4)]=='function'&&(_0x2dbf7d[Symbol[_0x2402dd(0x9f)]]===_0x2402dd(0x1e2)||_0x2dbf7d[Symbol[_0x2402dd(0x9f)]]===_0x2402dd(0x22d));}if(re[_0x38e5a3(0x1d2)]={'isBlob':_0x54982d,'isValidStatusCode':_0x3fe4cb,'isValidUTF8':_0xd9254,'tokenChars':_0x115141},_0x1c1171)re['exports'][_0x38e5a3(0x10f)]=function(_0x1f5546){const _0x5ac1be=_0x38e5a3;return _0x1f5546[_0x5ac1be(0x18a)]<0x18?_0xd9254(_0x1f5546):_0x1c1171(_0x1f5546);};else{if(!process[_0x38e5a3(0x145)][_0x38e5a3(0xe4)])try{const _0x57ecc8=Yt;re['exports'][_0x38e5a3(0x10f)]=function(_0x3a5858){return _0x3a5858['length']<0x20?_0xd9254(_0x3a5858):_0x57ecc8(_0x3a5858);};}catch{}}return re[_0x38e5a3(0x1d2)];}var Se,Je;function dt(){const _0xd51e52=_0xcc8efe;if(Je)return Se;Je=0x1;const {Writable:_0x31611d}=_0x4726f2,_0x1433b4=he(),{BINARY_TYPES:_0x3db670,EMPTY_BUFFER:_0x1c62df,kStatusCode:_0x2c69a4,kWebSocket:_0x36a91f}=V(),{concat:_0x3fa311,toArrayBuffer:_0x313744,unmask:_0x27ecd0}=ce(),{isValidStatusCode:_0x392dde,isValidUTF8:_0x4ece44}=ne(),_0xce8f0a=Buffer[Symbol[_0xd51e52(0x1e5)]],_0x2dbfef=0x0,_0x31bfb9=0x1,_0x100615=0x2,_0x16760a=0x3,_0x2c4b1e=0x4,_0x1e77aa=0x5,_0x211f20=0x6;class _0x1664f5 extends _0x31611d{constructor(_0x1dae76={}){const _0x453fad=_0xd51e52;super(),this[_0x453fad(0x106)]=_0x1dae76[_0x453fad(0x184)]!==void 0x0?_0x1dae76[_0x453fad(0x184)]:!0x0,this[_0x453fad(0xb7)]=_0x1dae76['binaryType']||_0x3db670[0x0],this[_0x453fad(0xa1)]=_0x1dae76[_0x453fad(0x1b3)]||{},this[_0x453fad(0x11e)]=!!_0x1dae76[_0x453fad(0xa3)],this[_0x453fad(0x16a)]=_0x1dae76[_0x453fad(0x1be)]|0x0,this[_0x453fad(0xaa)]=!!_0x1dae76[_0x453fad(0x150)],this[_0x36a91f]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x453fad(0x14a)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x453fad(0x19b)]=0x0,this[_0x453fad(0xf9)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x453fad(0x113)]=0x0,this[_0x453fad(0x1f3)]=0x0,this[_0x453fad(0x231)]=[],this['_errored']=!0x1,this[_0x453fad(0x10a)]=!0x1,this['_state']=_0x2dbfef;}[_0xd51e52(0xe3)](_0x2d9af1,_0x36a762,_0x2c83b8){const _0x33dd6b=_0xd51e52;if(this['_opcode']===0x8&&this[_0x33dd6b(0x12e)]==_0x2dbfef)return _0x2c83b8();this[_0x33dd6b(0xa0)]+=_0x2d9af1[_0x33dd6b(0x18a)],this['_buffers']['push'](_0x2d9af1),this[_0x33dd6b(0xfe)](_0x2c83b8);}[_0xd51e52(0x166)](_0x4c988b){const _0x301956=_0xd51e52;if(this['_bufferedBytes']-=_0x4c988b,_0x4c988b===this['_buffers'][0x0][_0x301956(0x18a)])return this[_0x301956(0xd6)][_0x301956(0xba)]();if(_0x4c988b<this[_0x301956(0xd6)][0x0][_0x301956(0x18a)]){const _0xb0eb17=this['_buffers'][0x0];return this[_0x301956(0xd6)][0x0]=new _0xce8f0a(_0xb0eb17[_0x301956(0x160)],_0xb0eb17['byteOffset']+_0x4c988b,_0xb0eb17['length']-_0x4c988b),new _0xce8f0a(_0xb0eb17[_0x301956(0x160)],_0xb0eb17[_0x301956(0x216)],_0x4c988b);}const _0x322de3=Buffer[_0x301956(0x152)](_0x4c988b);do{const _0x52fb83=this['_buffers'][0x0],_0x4aa989=_0x322de3[_0x301956(0x18a)]-_0x4c988b;_0x4c988b>=_0x52fb83[_0x301956(0x18a)]?_0x322de3[_0x301956(0xcf)](this[_0x301956(0xd6)]['shift'](),_0x4aa989):(_0x322de3[_0x301956(0xcf)](new Uint8Array(_0x52fb83[_0x301956(0x160)],_0x52fb83['byteOffset'],_0x4c988b),_0x4aa989),this[_0x301956(0xd6)][0x0]=new _0xce8f0a(_0x52fb83[_0x301956(0x160)],_0x52fb83[_0x301956(0x216)]+_0x4c988b,_0x52fb83[_0x301956(0x18a)]-_0x4c988b)),_0x4c988b-=_0x52fb83[_0x301956(0x18a)];}while(_0x4c988b>0x0);return _0x322de3;}[_0xd51e52(0xfe)](_0x4f3c8e){const _0x5ee52a=_0xd51e52;this[_0x5ee52a(0x10a)]=!0x0;do switch(this[_0x5ee52a(0x12e)]){case _0x2dbfef:this['getInfo'](_0x4f3c8e);break;case _0x31bfb9:this[_0x5ee52a(0x1ec)](_0x4f3c8e);break;case _0x100615:this[_0x5ee52a(0x131)](_0x4f3c8e);break;case _0x16760a:this['getMask']();break;case _0x2c4b1e:this[_0x5ee52a(0xfd)](_0x4f3c8e);break;case _0x1e77aa:case _0x211f20:this[_0x5ee52a(0x10a)]=!0x1;return;}while(this[_0x5ee52a(0x10a)]);this[_0x5ee52a(0x20b)]||_0x4f3c8e();}['getInfo'](_0x5270f5){const _0x1f50f4=_0xd51e52;if(this[_0x1f50f4(0xa0)]<0x2){this[_0x1f50f4(0x10a)]=!0x1;return;}const _0x2f3ba4=this[_0x1f50f4(0x166)](0x2);if((_0x2f3ba4[0x0]&0x30)!==0x0){const _0x12a43d=this[_0x1f50f4(0x20e)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x1f50f4(0x9e));_0x5270f5(_0x12a43d);return;}const _0x34d5f7=(_0x2f3ba4[0x0]&0x40)===0x40;if(_0x34d5f7&&!this['_extensions'][_0x1433b4[_0x1f50f4(0xdc)]]){const _0x17d260=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0xe8),!0x0,0x3ea,_0x1f50f4(0xb4));_0x5270f5(_0x17d260);return;}if(this[_0x1f50f4(0x14f)]=(_0x2f3ba4[0x0]&0x80)===0x80,this[_0x1f50f4(0x215)]=_0x2f3ba4[0x0]&0xf,this['_payloadLength']=_0x2f3ba4[0x1]&0x7f,this[_0x1f50f4(0x215)]===0x0){if(_0x34d5f7){const _0x81349e=this['createError'](RangeError,_0x1f50f4(0xe8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5270f5(_0x81349e);return;}if(!this[_0x1f50f4(0x19b)]){const _0x43a9bf=this['createError'](RangeError,_0x1f50f4(0x186),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5270f5(_0x43a9bf);return;}this[_0x1f50f4(0x215)]=this[_0x1f50f4(0x19b)];}else{if(this['_opcode']===0x1||this[_0x1f50f4(0x215)]===0x2){if(this[_0x1f50f4(0x19b)]){const _0x405a67=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0x127)+this[_0x1f50f4(0x215)],!0x0,0x3ea,_0x1f50f4(0xf3));_0x5270f5(_0x405a67);return;}this[_0x1f50f4(0x14a)]=_0x34d5f7;}else{if(this[_0x1f50f4(0x215)]>0x7&&this[_0x1f50f4(0x215)]<0xb){if(!this['_fin']){const _0x26d684=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1f50f4(0x10b));_0x5270f5(_0x26d684);return;}if(_0x34d5f7){const _0x364ce8=this[_0x1f50f4(0x20e)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1f50f4(0xb4));_0x5270f5(_0x364ce8);return;}if(this[_0x1f50f4(0x206)]>0x7d||this['_opcode']===0x8&&this[_0x1f50f4(0x206)]===0x1){const _0x2e9b96=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0xd4)+this['_payloadLength'],!0x0,0x3ea,_0x1f50f4(0x19f));_0x5270f5(_0x2e9b96);return;}}else{const _0x706648=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0x127)+this[_0x1f50f4(0x215)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5270f5(_0x706648);return;}}}if(!this[_0x1f50f4(0x14f)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x1f50f4(0x215)]),this['_masked']=(_0x2f3ba4[0x1]&0x80)===0x80,this[_0x1f50f4(0x11e)]){if(!this[_0x1f50f4(0xf9)]){const _0x1f2b30=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0x211),!0x0,0x3ea,_0x1f50f4(0x180));_0x5270f5(_0x1f2b30);return;}}else{if(this[_0x1f50f4(0xf9)]){const _0x600990=this[_0x1f50f4(0x20e)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x1f50f4(0x1b0));_0x5270f5(_0x600990);return;}}this[_0x1f50f4(0x206)]===0x7e?this[_0x1f50f4(0x12e)]=_0x31bfb9:this['_payloadLength']===0x7f?this[_0x1f50f4(0x12e)]=_0x100615:this['haveLength'](_0x5270f5);}[_0xd51e52(0x1ec)](_0x295df2){const _0x4ae8b8=_0xd51e52;if(this['_bufferedBytes']<0x2){this[_0x4ae8b8(0x10a)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x4ae8b8(0x128)](0x0),this[_0x4ae8b8(0x1ce)](_0x295df2);}[_0xd51e52(0x131)](_0x28040b){const _0x172fca=_0xd51e52;if(this['_bufferedBytes']<0x8){this[_0x172fca(0x10a)]=!0x1;return;}const _0x48df8f=this[_0x172fca(0x166)](0x8),_0x37d9a5=_0x48df8f[_0x172fca(0x1e9)](0x0);if(_0x37d9a5>Math['pow'](0x2,0x15)-0x1){const _0x144333=this[_0x172fca(0x20e)](RangeError,_0x172fca(0x18c),!0x1,0x3f1,_0x172fca(0x161));_0x28040b(_0x144333);return;}this[_0x172fca(0x206)]=_0x37d9a5*Math['pow'](0x2,0x20)+_0x48df8f['readUInt32BE'](0x4),this[_0x172fca(0x1ce)](_0x28040b);}['haveLength'](_0x3025aa){const _0x5dbdb2=_0xd51e52;if(this[_0x5dbdb2(0x206)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x5dbdb2(0x16a)]>0x0)){const _0xa93601=this[_0x5dbdb2(0x20e)](RangeError,_0x5dbdb2(0x192),!0x1,0x3f1,_0x5dbdb2(0xb0));_0x3025aa(_0xa93601);return;}this[_0x5dbdb2(0xf9)]?this['_state']=_0x16760a:this[_0x5dbdb2(0x12e)]=_0x2c4b1e;}['getMask'](){const _0x48a6b6=_0xd51e52;if(this[_0x48a6b6(0xa0)]<0x4){this[_0x48a6b6(0x10a)]=!0x1;return;}this[_0x48a6b6(0x108)]=this['consume'](0x4),this[_0x48a6b6(0x12e)]=_0x2c4b1e;}[_0xd51e52(0xfd)](_0x47664f){const _0x77afbd=_0xd51e52;let _0x5df77d=_0x1c62df;if(this[_0x77afbd(0x206)]){if(this[_0x77afbd(0xa0)]<this[_0x77afbd(0x206)]){this[_0x77afbd(0x10a)]=!0x1;return;}_0x5df77d=this[_0x77afbd(0x166)](this['_payloadLength']),this[_0x77afbd(0xf9)]&&(this[_0x77afbd(0x108)][0x0]|this['_mask'][0x1]|this[_0x77afbd(0x108)][0x2]|this[_0x77afbd(0x108)][0x3])!==0x0&&_0x27ecd0(_0x5df77d,this[_0x77afbd(0x108)]);}if(this[_0x77afbd(0x215)]>0x7){this['controlMessage'](_0x5df77d,_0x47664f);return;}if(this['_compressed']){this[_0x77afbd(0x12e)]=_0x1e77aa,this[_0x77afbd(0x1f2)](_0x5df77d,_0x47664f);return;}_0x5df77d['length']&&(this[_0x77afbd(0x1f3)]=this[_0x77afbd(0x113)],this[_0x77afbd(0x231)][_0x77afbd(0x1b4)](_0x5df77d)),this['dataMessage'](_0x47664f);}[_0xd51e52(0x1f2)](_0x50c493,_0x3b5ef5){const _0x584061=_0xd51e52;this[_0x584061(0xa1)][_0x1433b4[_0x584061(0xdc)]][_0x584061(0x1f2)](_0x50c493,this[_0x584061(0x14f)],(_0x151c4c,_0xa37da2)=>{const _0x3df639=_0x584061;if(_0x151c4c)return _0x3b5ef5(_0x151c4c);if(_0xa37da2[_0x3df639(0x18a)]){if(this[_0x3df639(0x1f3)]+=_0xa37da2['length'],this['_messageLength']>this[_0x3df639(0x16a)]&&this['_maxPayload']>0x0){const _0x45b944=this[_0x3df639(0x20e)](RangeError,_0x3df639(0x192),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3b5ef5(_0x45b944);return;}this[_0x3df639(0x231)][_0x3df639(0x1b4)](_0xa37da2);}this[_0x3df639(0x165)](_0x3b5ef5),this[_0x3df639(0x12e)]===_0x2dbfef&&this['startLoop'](_0x3b5ef5);});}[_0xd51e52(0x165)](_0x1601b7){const _0x10faeb=_0xd51e52;if(!this['_fin']){this[_0x10faeb(0x12e)]=_0x2dbfef;return;}const _0x34e86c=this[_0x10faeb(0x1f3)],_0xa5ffdd=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x10faeb(0x19b)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x4603da;this[_0x10faeb(0xb7)]===_0x10faeb(0x1b2)?_0x4603da=_0x3fa311(_0xa5ffdd,_0x34e86c):this[_0x10faeb(0xb7)]==='arraybuffer'?_0x4603da=_0x313744(_0x3fa311(_0xa5ffdd,_0x34e86c)):this[_0x10faeb(0xb7)]==='blob'?_0x4603da=new Blob(_0xa5ffdd):_0x4603da=_0xa5ffdd,this[_0x10faeb(0x106)]?(this[_0x10faeb(0x1fe)](_0x10faeb(0xe1),_0x4603da,!0x0),this[_0x10faeb(0x12e)]=_0x2dbfef):(this[_0x10faeb(0x12e)]=_0x211f20,setImmediate(()=>{const _0x336411=_0x10faeb;this[_0x336411(0x1fe)](_0x336411(0xe1),_0x4603da,!0x0),this['_state']=_0x2dbfef,this[_0x336411(0xfe)](_0x1601b7);}));}else{const _0x1dda48=_0x3fa311(_0xa5ffdd,_0x34e86c);if(!this['_skipUTF8Validation']&&!_0x4ece44(_0x1dda48)){const _0xecb92a=this[_0x10faeb(0x20e)](Error,_0x10faeb(0x190),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1601b7(_0xecb92a);return;}this[_0x10faeb(0x12e)]===_0x1e77aa||this[_0x10faeb(0x106)]?(this[_0x10faeb(0x1fe)](_0x10faeb(0xe1),_0x1dda48,!0x1),this['_state']=_0x2dbfef):(this[_0x10faeb(0x12e)]=_0x211f20,setImmediate(()=>{const _0x13fb28=_0x10faeb;this[_0x13fb28(0x1fe)](_0x13fb28(0xe1),_0x1dda48,!0x1),this[_0x13fb28(0x12e)]=_0x2dbfef,this[_0x13fb28(0xfe)](_0x1601b7);}));}}['controlMessage'](_0x1c2567,_0x476e2f){const _0x565329=_0xd51e52;if(this[_0x565329(0x215)]===0x8){if(_0x1c2567['length']===0x0)this[_0x565329(0x10a)]=!0x1,this[_0x565329(0x1fe)](_0x565329(0x1a4),0x3ed,_0x1c62df),this['end']();else{const _0x40eab9=_0x1c2567['readUInt16BE'](0x0);if(!_0x392dde(_0x40eab9)){const _0x296c6f=this[_0x565329(0x20e)](RangeError,_0x565329(0x1e6)+_0x40eab9,!0x0,0x3ea,_0x565329(0x203));_0x476e2f(_0x296c6f);return;}const _0x526aac=new _0xce8f0a(_0x1c2567[_0x565329(0x160)],_0x1c2567[_0x565329(0x216)]+0x2,_0x1c2567['length']-0x2);if(!this[_0x565329(0xaa)]&&!_0x4ece44(_0x526aac)){const _0x4fb7ae=this[_0x565329(0x20e)](Error,_0x565329(0x190),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x476e2f(_0x4fb7ae);return;}this[_0x565329(0x10a)]=!0x1,this[_0x565329(0x1fe)](_0x565329(0x1a4),_0x40eab9,_0x526aac),this[_0x565329(0xbd)]();}this[_0x565329(0x12e)]=_0x2dbfef;return;}this[_0x565329(0x106)]?(this[_0x565329(0x1fe)](this[_0x565329(0x215)]===0x9?_0x565329(0x212):_0x565329(0x198),_0x1c2567),this['_state']=_0x2dbfef):(this[_0x565329(0x12e)]=_0x211f20,setImmediate(()=>{const _0x5bca28=_0x565329;this['emit'](this[_0x5bca28(0x215)]===0x9?_0x5bca28(0x212):_0x5bca28(0x198),_0x1c2567),this['_state']=_0x2dbfef,this[_0x5bca28(0xfe)](_0x476e2f);}));}[_0xd51e52(0x20e)](_0x1402f6,_0x3bb517,_0x56fbc8,_0x3da8f4,_0x2ce4e5){const _0x5ac881=_0xd51e52;this[_0x5ac881(0x10a)]=!0x1,this[_0x5ac881(0x20b)]=!0x0;const _0x5d82b1=new _0x1402f6(_0x56fbc8?'Invalid\x20WebSocket\x20frame:\x20'+_0x3bb517:_0x3bb517);return Error[_0x5ac881(0x119)](_0x5d82b1,this[_0x5ac881(0x20e)]),_0x5d82b1[_0x5ac881(0x135)]=_0x2ce4e5,_0x5d82b1[_0x2c69a4]=_0x3da8f4,_0x5d82b1;}}return Se=_0x1664f5,Se;}var Ee,et;function _t(){const _0x26ad8c=_0xcc8efe;if(et)return Ee;et=0x1;const {Duplex:_0xc802cf}=_0x4726f2,{randomFillSync:_0x2c89c2}=_0xcdc505,_0x2fa2f2=he(),{EMPTY_BUFFER:_0x2c2cb9,kWebSocket:_0x5ce5aa,NOOP:_0x456b6c}=V(),{isBlob:_0x262886,isValidStatusCode:_0x5627c1}=ne(),{mask:_0x3bedc0,toBuffer:_0x3e1b84}=ce(),_0x576efc=Symbol('kByteLength'),_0x3a5f6f=Buffer[_0x26ad8c(0x98)](0x4),_0x1ecbb1=0x8*0x400;let _0x5b9960,_0x167ab0=_0x1ecbb1;const _0x4ce78c=0x0,_0xd2177=0x1,_0x22f9ff=0x2;class _0x49d8a2{constructor(_0x33d552,_0x261d51,_0x5761d3){const _0x4f93b5=_0x26ad8c;this[_0x4f93b5(0xa1)]=_0x261d51||{},_0x5761d3&&(this[_0x4f93b5(0xb3)]=_0x5761d3,this[_0x4f93b5(0x224)]=Buffer[_0x4f93b5(0x98)](0x4)),this[_0x4f93b5(0x139)]=_0x33d552,this[_0x4f93b5(0x115)]=!0x0,this[_0x4f93b5(0xb1)]=!0x1,this[_0x4f93b5(0xa0)]=0x0,this['_queue']=[],this['_state']=_0x4ce78c,this[_0x4f93b5(0xa4)]=_0x456b6c,this[_0x5ce5aa]=void 0x0;}static[_0x26ad8c(0x1ab)](_0x17bcae,_0x322a2d){const _0x344f79=_0x26ad8c;let _0x59112e,_0x4b62dc=!0x1,_0x5dafd4=0x2,_0xbbc3bf=!0x1;_0x322a2d[_0x344f79(0xd9)]&&(_0x59112e=_0x322a2d['maskBuffer']||_0x3a5f6f,_0x322a2d[_0x344f79(0xc0)]?_0x322a2d[_0x344f79(0xc0)](_0x59112e):(_0x167ab0===_0x1ecbb1&&(_0x5b9960===void 0x0&&(_0x5b9960=Buffer[_0x344f79(0x98)](_0x1ecbb1)),_0x2c89c2(_0x5b9960,0x0,_0x1ecbb1),_0x167ab0=0x0),_0x59112e[0x0]=_0x5b9960[_0x167ab0++],_0x59112e[0x1]=_0x5b9960[_0x167ab0++],_0x59112e[0x2]=_0x5b9960[_0x167ab0++],_0x59112e[0x3]=_0x5b9960[_0x167ab0++]),_0xbbc3bf=(_0x59112e[0x0]|_0x59112e[0x1]|_0x59112e[0x2]|_0x59112e[0x3])===0x0,_0x5dafd4=0x6);let _0x3a739a;typeof _0x17bcae==_0x344f79(0x141)?(!_0x322a2d[_0x344f79(0xd9)]||_0xbbc3bf)&&_0x322a2d[_0x576efc]!==void 0x0?_0x3a739a=_0x322a2d[_0x576efc]:(_0x17bcae=Buffer['from'](_0x17bcae),_0x3a739a=_0x17bcae[_0x344f79(0x18a)]):(_0x3a739a=_0x17bcae['length'],_0x4b62dc=_0x322a2d[_0x344f79(0xd9)]&&_0x322a2d[_0x344f79(0x153)]&&!_0xbbc3bf);let _0x1fed67=_0x3a739a;_0x3a739a>=0x10000?(_0x5dafd4+=0x8,_0x1fed67=0x7f):_0x3a739a>0x7d&&(_0x5dafd4+=0x2,_0x1fed67=0x7e);const _0x4189b2=Buffer['allocUnsafe'](_0x4b62dc?_0x3a739a+_0x5dafd4:_0x5dafd4);return _0x4189b2[0x0]=_0x322a2d[_0x344f79(0xac)]?_0x322a2d[_0x344f79(0x1fc)]|0x80:_0x322a2d['opcode'],_0x322a2d['rsv1']&&(_0x4189b2[0x0]|=0x40),_0x4189b2[0x1]=_0x1fed67,_0x1fed67===0x7e?_0x4189b2[_0x344f79(0x1c5)](_0x3a739a,0x2):_0x1fed67===0x7f&&(_0x4189b2[0x2]=_0x4189b2[0x3]=0x0,_0x4189b2[_0x344f79(0x1a5)](_0x3a739a,0x4,0x6)),_0x322a2d[_0x344f79(0xd9)]?(_0x4189b2[0x1]|=0x80,_0x4189b2[_0x5dafd4-0x4]=_0x59112e[0x0],_0x4189b2[_0x5dafd4-0x3]=_0x59112e[0x1],_0x4189b2[_0x5dafd4-0x2]=_0x59112e[0x2],_0x4189b2[_0x5dafd4-0x1]=_0x59112e[0x3],_0xbbc3bf?[_0x4189b2,_0x17bcae]:_0x4b62dc?(_0x3bedc0(_0x17bcae,_0x59112e,_0x4189b2,_0x5dafd4,_0x3a739a),[_0x4189b2]):(_0x3bedc0(_0x17bcae,_0x59112e,_0x17bcae,0x0,_0x3a739a),[_0x4189b2,_0x17bcae])):[_0x4189b2,_0x17bcae];}['close'](_0x26c27d,_0x111eeb,_0x18b9cd,_0x4e0617){const _0x465ea4=_0x26ad8c;let _0x4e2653;if(_0x26c27d===void 0x0)_0x4e2653=_0x2c2cb9;else{if(typeof _0x26c27d!=_0x465ea4(0x14e)||!_0x5627c1(_0x26c27d))throw new TypeError(_0x465ea4(0x16b));if(_0x111eeb===void 0x0||!_0x111eeb[_0x465ea4(0x18a)])_0x4e2653=Buffer['allocUnsafe'](0x2),_0x4e2653[_0x465ea4(0x1c5)](_0x26c27d,0x0);else{const _0x3a6b34=Buffer['byteLength'](_0x111eeb);if(_0x3a6b34>0x7b)throw new RangeError(_0x465ea4(0x1d4));_0x4e2653=Buffer[_0x465ea4(0x152)](0x2+_0x3a6b34),_0x4e2653[_0x465ea4(0x1c5)](_0x26c27d,0x0),typeof _0x111eeb==_0x465ea4(0x141)?_0x4e2653['write'](_0x111eeb,0x2):_0x4e2653[_0x465ea4(0xcf)](_0x111eeb,0x2);}}const _0x387851={[_0x576efc]:_0x4e2653[_0x465ea4(0x18a)],'fin':!0x0,'generateMask':this[_0x465ea4(0xb3)],'mask':_0x18b9cd,'maskBuffer':this[_0x465ea4(0x224)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x4ce78c?this['enqueue']([this['dispatch'],_0x4e2653,!0x1,_0x387851,_0x4e0617]):this['sendFrame'](_0x49d8a2[_0x465ea4(0x1ab)](_0x4e2653,_0x387851),_0x4e0617);}[_0x26ad8c(0x212)](_0x477aa9,_0x4d6e77,_0x25b4c5){const _0x3b0949=_0x26ad8c;let _0x523166,_0xe40563;if(typeof _0x477aa9==_0x3b0949(0x141)?(_0x523166=Buffer[_0x3b0949(0x169)](_0x477aa9),_0xe40563=!0x1):_0x262886(_0x477aa9)?(_0x523166=_0x477aa9[_0x3b0949(0x151)],_0xe40563=!0x1):(_0x477aa9=_0x3e1b84(_0x477aa9),_0x523166=_0x477aa9[_0x3b0949(0x18a)],_0xe40563=_0x3e1b84[_0x3b0949(0x153)]),_0x523166>0x7d)throw new RangeError(_0x3b0949(0xe2));const _0xd9b5b6={[_0x576efc]:_0x523166,'fin':!0x0,'generateMask':this[_0x3b0949(0xb3)],'mask':_0x4d6e77,'maskBuffer':this[_0x3b0949(0x224)],'opcode':0x9,'readOnly':_0xe40563,'rsv1':!0x1};_0x262886(_0x477aa9)?this['_state']!==_0x4ce78c?this[_0x3b0949(0x9b)]([this[_0x3b0949(0x1a3)],_0x477aa9,!0x1,_0xd9b5b6,_0x25b4c5]):this['getBlobData'](_0x477aa9,!0x1,_0xd9b5b6,_0x25b4c5):this[_0x3b0949(0x12e)]!==_0x4ce78c?this[_0x3b0949(0x9b)]([this[_0x3b0949(0x11b)],_0x477aa9,!0x1,_0xd9b5b6,_0x25b4c5]):this[_0x3b0949(0x176)](_0x49d8a2['frame'](_0x477aa9,_0xd9b5b6),_0x25b4c5);}[_0x26ad8c(0x198)](_0x4d938d,_0x4f3209,_0xb185a1){const _0x388260=_0x26ad8c;let _0x37e59c,_0x394184;if(typeof _0x4d938d=='string'?(_0x37e59c=Buffer['byteLength'](_0x4d938d),_0x394184=!0x1):_0x262886(_0x4d938d)?(_0x37e59c=_0x4d938d['size'],_0x394184=!0x1):(_0x4d938d=_0x3e1b84(_0x4d938d),_0x37e59c=_0x4d938d['length'],_0x394184=_0x3e1b84[_0x388260(0x153)]),_0x37e59c>0x7d)throw new RangeError(_0x388260(0xe2));const _0xb8c15b={[_0x576efc]:_0x37e59c,'fin':!0x0,'generateMask':this[_0x388260(0xb3)],'mask':_0x4f3209,'maskBuffer':this[_0x388260(0x224)],'opcode':0xa,'readOnly':_0x394184,'rsv1':!0x1};_0x262886(_0x4d938d)?this[_0x388260(0x12e)]!==_0x4ce78c?this[_0x388260(0x9b)]([this[_0x388260(0x1a3)],_0x4d938d,!0x1,_0xb8c15b,_0xb185a1]):this[_0x388260(0x1a3)](_0x4d938d,!0x1,_0xb8c15b,_0xb185a1):this[_0x388260(0x12e)]!==_0x4ce78c?this[_0x388260(0x9b)]([this['dispatch'],_0x4d938d,!0x1,_0xb8c15b,_0xb185a1]):this['sendFrame'](_0x49d8a2[_0x388260(0x1ab)](_0x4d938d,_0xb8c15b),_0xb185a1);}[_0x26ad8c(0x125)](_0x42fbed,_0x405397,_0x27e935){const _0x5739b4=_0x26ad8c,_0x40c599=this[_0x5739b4(0xa1)][_0x2fa2f2['extensionName']];let _0x5e5826=_0x405397[_0x5739b4(0xbb)]?0x2:0x1,_0x32db7f=_0x405397['compress'],_0x580948,_0xdfcd7e;typeof _0x42fbed==_0x5739b4(0x141)?(_0x580948=Buffer[_0x5739b4(0x169)](_0x42fbed),_0xdfcd7e=!0x1):_0x262886(_0x42fbed)?(_0x580948=_0x42fbed[_0x5739b4(0x151)],_0xdfcd7e=!0x1):(_0x42fbed=_0x3e1b84(_0x42fbed),_0x580948=_0x42fbed[_0x5739b4(0x18a)],_0xdfcd7e=_0x3e1b84[_0x5739b4(0x153)]),this[_0x5739b4(0x115)]?(this['_firstFragment']=!0x1,_0x32db7f&&_0x40c599&&_0x40c599[_0x5739b4(0xd8)][_0x40c599[_0x5739b4(0x11e)]?_0x5739b4(0x10e):_0x5739b4(0xf1)]&&(_0x32db7f=_0x580948>=_0x40c599['_threshold']),this[_0x5739b4(0xb1)]=_0x32db7f):(_0x32db7f=!0x1,_0x5e5826=0x0),_0x405397['fin']&&(this[_0x5739b4(0x115)]=!0x0);const _0x410cf1={[_0x576efc]:_0x580948,'fin':_0x405397['fin'],'generateMask':this['_generateMask'],'mask':_0x405397[_0x5739b4(0xd9)],'maskBuffer':this['_maskBuffer'],'opcode':_0x5e5826,'readOnly':_0xdfcd7e,'rsv1':_0x32db7f};_0x262886(_0x42fbed)?this['_state']!==_0x4ce78c?this['enqueue']([this[_0x5739b4(0x1a3)],_0x42fbed,this[_0x5739b4(0xb1)],_0x410cf1,_0x27e935]):this[_0x5739b4(0x1a3)](_0x42fbed,this[_0x5739b4(0xb1)],_0x410cf1,_0x27e935):this['_state']!==_0x4ce78c?this[_0x5739b4(0x9b)]([this['dispatch'],_0x42fbed,this['_compress'],_0x410cf1,_0x27e935]):this['dispatch'](_0x42fbed,this[_0x5739b4(0xb1)],_0x410cf1,_0x27e935);}[_0x26ad8c(0x1a3)](_0x49595a,_0x13ba2c,_0x40623b,_0x403dd1){const _0x3ea0fe=_0x26ad8c;this[_0x3ea0fe(0xa0)]+=_0x40623b[_0x576efc],this[_0x3ea0fe(0x12e)]=_0x22f9ff,_0x49595a[_0x3ea0fe(0x1d7)]()['then'](_0x38648a=>{const _0x53382c=_0x3ea0fe;if(this['_socket'][_0x53382c(0x114)]){const _0x4525a3=new Error(_0x53382c(0x1ae));process['nextTick'](_0x297a78,this,_0x4525a3,_0x403dd1);return;}this[_0x53382c(0xa0)]-=_0x40623b[_0x576efc];const _0x4aed0b=_0x3e1b84(_0x38648a);_0x13ba2c?this[_0x53382c(0x11b)](_0x4aed0b,_0x13ba2c,_0x40623b,_0x403dd1):(this[_0x53382c(0x12e)]=_0x4ce78c,this[_0x53382c(0x176)](_0x49d8a2['frame'](_0x4aed0b,_0x40623b),_0x403dd1),this[_0x53382c(0x143)]());})[_0x3ea0fe(0xaf)](_0x50ff5a=>{const _0x1f229d=_0x3ea0fe;process[_0x1f229d(0x1ea)](_0x3bff09,this,_0x50ff5a,_0x403dd1);});}[_0x26ad8c(0x11b)](_0x470ae9,_0x5414c8,_0x439a70,_0x4020b8){const _0x221cb4=_0x26ad8c;if(!_0x5414c8){this[_0x221cb4(0x176)](_0x49d8a2[_0x221cb4(0x1ab)](_0x470ae9,_0x439a70),_0x4020b8);return;}const _0x2ac64=this['_extensions'][_0x2fa2f2[_0x221cb4(0xdc)]];this[_0x221cb4(0xa0)]+=_0x439a70[_0x576efc],this[_0x221cb4(0x12e)]=_0xd2177,_0x2ac64[_0x221cb4(0x1ff)](_0x470ae9,_0x439a70[_0x221cb4(0xac)],(_0x4ef329,_0x35d18c)=>{const _0x578a2a=_0x221cb4;if(this[_0x578a2a(0x139)][_0x578a2a(0x114)]){const _0x2f1f32=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x297a78(this,_0x2f1f32,_0x4020b8);return;}this[_0x578a2a(0xa0)]-=_0x439a70[_0x576efc],this[_0x578a2a(0x12e)]=_0x4ce78c,_0x439a70[_0x578a2a(0x153)]=!0x1,this['sendFrame'](_0x49d8a2['frame'](_0x35d18c,_0x439a70),_0x4020b8),this[_0x578a2a(0x143)]();});}[_0x26ad8c(0x143)](){const _0x327ff9=_0x26ad8c;for(;this['_state']===_0x4ce78c&&this[_0x327ff9(0x107)][_0x327ff9(0x18a)];){const _0x261b6a=this[_0x327ff9(0x107)][_0x327ff9(0xba)]();this['_bufferedBytes']-=_0x261b6a[0x3][_0x576efc],Reflect[_0x327ff9(0x1aa)](_0x261b6a[0x0],this,_0x261b6a['slice'](0x1));}}[_0x26ad8c(0x9b)](_0x49ca5d){const _0x336732=_0x26ad8c;this[_0x336732(0xa0)]+=_0x49ca5d[0x3][_0x576efc],this[_0x336732(0x107)]['push'](_0x49ca5d);}[_0x26ad8c(0x176)](_0x299b0b,_0x3f6da1){const _0x5a4406=_0x26ad8c;_0x299b0b['length']===0x2?(this[_0x5a4406(0x139)][_0x5a4406(0xb9)](),this[_0x5a4406(0x139)]['write'](_0x299b0b[0x0]),this[_0x5a4406(0x139)][_0x5a4406(0x22f)](_0x299b0b[0x1],_0x3f6da1),this[_0x5a4406(0x139)][_0x5a4406(0x172)]()):this[_0x5a4406(0x139)]['write'](_0x299b0b[0x0],_0x3f6da1);}}Ee=_0x49d8a2;function _0x297a78(_0xd13ac7,_0x43cc3d,_0x4ed267){const _0x1824e8=_0x26ad8c;typeof _0x4ed267==_0x1824e8(0x227)&&_0x4ed267(_0x43cc3d);for(let _0x2f8285=0x0;_0x2f8285<_0xd13ac7[_0x1824e8(0x107)][_0x1824e8(0x18a)];_0x2f8285++){const _0x5418c3=_0xd13ac7[_0x1824e8(0x107)][_0x2f8285],_0x299982=_0x5418c3[_0x5418c3[_0x1824e8(0x18a)]-0x1];typeof _0x299982==_0x1824e8(0x227)&&_0x299982(_0x43cc3d);}}function _0x3bff09(_0x2fd978,_0x33dcbb,_0x14f369){const _0x127ece=_0x26ad8c;_0x297a78(_0x2fd978,_0x33dcbb,_0x14f369),_0x2fd978[_0x127ece(0xa4)](_0x33dcbb);}return Ee;}var xe,tt;function Kt(){const _0x35dc32=_0xcc8efe;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x545b0a,kListener:_0x1c93bb}=V(),_0x1a6a72=Symbol('kCode'),_0x54d300=Symbol(_0x35dc32(0x219)),_0x468f5c=Symbol(_0x35dc32(0x1f5)),_0x1e53f9=Symbol(_0x35dc32(0xa2)),_0x5a1efc=Symbol(_0x35dc32(0x13a)),_0x129b25=Symbol(_0x35dc32(0x124)),_0xf5de53=Symbol('kType'),_0x3489ec=Symbol('kWasClean');class _0x329edb{constructor(_0x31c053){this[_0x129b25]=null,this[_0xf5de53]=_0x31c053;}get[_0x35dc32(0x12b)](){return this[_0x129b25];}get['type'](){return this[_0xf5de53];}}Object[_0x35dc32(0xf2)](_0x329edb[_0x35dc32(0x1d0)],'target',{'enumerable':!0x0}),Object[_0x35dc32(0xf2)](_0x329edb[_0x35dc32(0x1d0)],_0x35dc32(0x136),{'enumerable':!0x0});class _0x160733 extends _0x329edb{constructor(_0x4875de,_0x33dc9f={}){const _0x50d4e8=_0x35dc32;super(_0x4875de),this[_0x1a6a72]=_0x33dc9f[_0x50d4e8(0x135)]===void 0x0?0x0:_0x33dc9f[_0x50d4e8(0x135)],this[_0x5a1efc]=_0x33dc9f['reason']===void 0x0?'':_0x33dc9f['reason'],this[_0x3489ec]=_0x33dc9f[_0x50d4e8(0x164)]===void 0x0?!0x1:_0x33dc9f[_0x50d4e8(0x164)];}get[_0x35dc32(0x135)](){return this[_0x1a6a72];}get[_0x35dc32(0x1de)](){return this[_0x5a1efc];}get[_0x35dc32(0x164)](){return this[_0x3489ec];}}Object[_0x35dc32(0xf2)](_0x160733['prototype'],_0x35dc32(0x135),{'enumerable':!0x0}),Object[_0x35dc32(0xf2)](_0x160733[_0x35dc32(0x1d0)],_0x35dc32(0x1de),{'enumerable':!0x0}),Object[_0x35dc32(0xf2)](_0x160733[_0x35dc32(0x1d0)],_0x35dc32(0x164),{'enumerable':!0x0});class _0x3f0970 extends _0x329edb{constructor(_0x14ed35,_0x2b2396={}){const _0x464fbc=_0x35dc32;super(_0x14ed35),this[_0x468f5c]=_0x2b2396[_0x464fbc(0x199)]===void 0x0?null:_0x2b2396[_0x464fbc(0x199)],this[_0x1e53f9]=_0x2b2396[_0x464fbc(0xe1)]===void 0x0?'':_0x2b2396[_0x464fbc(0xe1)];}get['error'](){return this[_0x468f5c];}get[_0x35dc32(0xe1)](){return this[_0x1e53f9];}}Object[_0x35dc32(0xf2)](_0x3f0970[_0x35dc32(0x1d0)],_0x35dc32(0x199),{'enumerable':!0x0}),Object[_0x35dc32(0xf2)](_0x3f0970[_0x35dc32(0x1d0)],_0x35dc32(0xe1),{'enumerable':!0x0});class _0x3ea042 extends _0x329edb{constructor(_0x4e6752,_0x1badae={}){const _0x3a0b46=_0x35dc32;super(_0x4e6752),this[_0x54d300]=_0x1badae[_0x3a0b46(0x21a)]===void 0x0?null:_0x1badae[_0x3a0b46(0x21a)];}get[_0x35dc32(0x21a)](){return this[_0x54d300];}}Object[_0x35dc32(0xf2)](_0x3ea042[_0x35dc32(0x1d0)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x160733,'ErrorEvent':_0x3f0970,'Event':_0x329edb,'EventTarget':{'addEventListener'(_0x333788,_0x78203c,_0x34c6ab={}){const _0x41f55a=_0x35dc32;for(const _0x41b49a of this[_0x41f55a(0x1c1)](_0x333788))if(!_0x34c6ab[_0x545b0a]&&_0x41b49a[_0x1c93bb]===_0x78203c&&!_0x41b49a[_0x545b0a])return;let _0x3190a0;if(_0x333788===_0x41f55a(0xe1))_0x3190a0=function(_0x26499d,_0x166ebd){const _0x238df6=_0x41f55a,_0x2458d5=new _0x3ea042(_0x238df6(0xe1),{'data':_0x166ebd?_0x26499d:_0x26499d[_0x238df6(0x1da)]()});_0x2458d5[_0x129b25]=this,_0x4d1c4b(_0x78203c,this,_0x2458d5);};else{if(_0x333788===_0x41f55a(0x16c))_0x3190a0=function(_0x3cd9f5,_0x59ede9){const _0x10e59b=_0x41f55a,_0x321c92=new _0x160733(_0x10e59b(0x16c),{'code':_0x3cd9f5,'reason':_0x59ede9[_0x10e59b(0x1da)](),'wasClean':this[_0x10e59b(0x21d)]&&this[_0x10e59b(0x1a0)]});_0x321c92[_0x129b25]=this,_0x4d1c4b(_0x78203c,this,_0x321c92);};else{if(_0x333788===_0x41f55a(0x199))_0x3190a0=function(_0x513bfa){const _0x2daf0e=new _0x3f0970('error',{'error':_0x513bfa,'message':_0x513bfa['message']});_0x2daf0e[_0x129b25]=this,_0x4d1c4b(_0x78203c,this,_0x2daf0e);};else{if(_0x333788==='open')_0x3190a0=function(){const _0x5cf32e=_0x41f55a,_0x5b2a6b=new _0x329edb(_0x5cf32e(0x205));_0x5b2a6b[_0x129b25]=this,_0x4d1c4b(_0x78203c,this,_0x5b2a6b);};else return;}}}_0x3190a0[_0x545b0a]=!!_0x34c6ab[_0x545b0a],_0x3190a0[_0x1c93bb]=_0x78203c,_0x34c6ab[_0x41f55a(0xab)]?this[_0x41f55a(0xab)](_0x333788,_0x3190a0):this['on'](_0x333788,_0x3190a0);},'removeEventListener'(_0x215830,_0xce6bfa){const _0x19835b=_0x35dc32;for(const _0x58ed42 of this[_0x19835b(0x1c1)](_0x215830))if(_0x58ed42[_0x1c93bb]===_0xce6bfa&&!_0x58ed42[_0x545b0a]){this['removeListener'](_0x215830,_0x58ed42);break;}}},'MessageEvent':_0x3ea042};function _0x4d1c4b(_0x415adc,_0x486dda,_0x1960f5){typeof _0x415adc=='object'&&_0x415adc['handleEvent']?_0x415adc['handleEvent']['call'](_0x415adc,_0x1960f5):_0x415adc['call'](_0x486dda,_0x1960f5);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x7cb0e}=ne();function _0x4f888b(_0x45f504,_0x14290a,_0x579fea){const _0x1a01fe=_0x35f4;_0x45f504[_0x14290a]===void 0x0?_0x45f504[_0x14290a]=[_0x579fea]:_0x45f504[_0x14290a][_0x1a01fe(0x1b4)](_0x579fea);}function _0x30b257(_0x15a180){const _0x25b42a=_0x35f4,_0x5dca49=Object[_0x25b42a(0x94)](null);let _0x1c328c=Object['create'](null),_0xd3862d=!0x1,_0x4a319e=!0x1,_0x5cabda=!0x1,_0x5ea39c,_0x57b6e8,_0x9d67b8=-0x1,_0x1f9c2f=-0x1,_0x177515=-0x1,_0x514861=0x0;for(;_0x514861<_0x15a180[_0x25b42a(0x18a)];_0x514861++)if(_0x1f9c2f=_0x15a180[_0x25b42a(0xe0)](_0x514861),_0x5ea39c===void 0x0){if(_0x177515===-0x1&&_0x7cb0e[_0x1f9c2f]===0x1)_0x9d67b8===-0x1&&(_0x9d67b8=_0x514861);else{if(_0x514861!==0x0&&(_0x1f9c2f===0x20||_0x1f9c2f===0x9))_0x177515===-0x1&&_0x9d67b8!==-0x1&&(_0x177515=_0x514861);else{if(_0x1f9c2f===0x3b||_0x1f9c2f===0x2c){if(_0x9d67b8===-0x1)throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);_0x177515===-0x1&&(_0x177515=_0x514861);const _0x146f30=_0x15a180[_0x25b42a(0xee)](_0x9d67b8,_0x177515);_0x1f9c2f===0x2c?(_0x4f888b(_0x5dca49,_0x146f30,_0x1c328c),_0x1c328c=Object['create'](null)):_0x5ea39c=_0x146f30,_0x9d67b8=_0x177515=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x514861);}}}else{if(_0x57b6e8===void 0x0){if(_0x177515===-0x1&&_0x7cb0e[_0x1f9c2f]===0x1)_0x9d67b8===-0x1&&(_0x9d67b8=_0x514861);else{if(_0x1f9c2f===0x20||_0x1f9c2f===0x9)_0x177515===-0x1&&_0x9d67b8!==-0x1&&(_0x177515=_0x514861);else{if(_0x1f9c2f===0x3b||_0x1f9c2f===0x2c){if(_0x9d67b8===-0x1)throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);_0x177515===-0x1&&(_0x177515=_0x514861),_0x4f888b(_0x1c328c,_0x15a180[_0x25b42a(0xee)](_0x9d67b8,_0x177515),!0x0),_0x1f9c2f===0x2c&&(_0x4f888b(_0x5dca49,_0x5ea39c,_0x1c328c),_0x1c328c=Object['create'](null),_0x5ea39c=void 0x0),_0x9d67b8=_0x177515=-0x1;}else{if(_0x1f9c2f===0x3d&&_0x9d67b8!==-0x1&&_0x177515===-0x1)_0x57b6e8=_0x15a180['slice'](_0x9d67b8,_0x514861),_0x9d67b8=_0x177515=-0x1;else throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);}}}}else{if(_0x4a319e){if(_0x7cb0e[_0x1f9c2f]!==0x1)throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);_0x9d67b8===-0x1?_0x9d67b8=_0x514861:_0xd3862d||(_0xd3862d=!0x0),_0x4a319e=!0x1;}else{if(_0x5cabda){if(_0x7cb0e[_0x1f9c2f]===0x1)_0x9d67b8===-0x1&&(_0x9d67b8=_0x514861);else{if(_0x1f9c2f===0x22&&_0x9d67b8!==-0x1)_0x5cabda=!0x1,_0x177515=_0x514861;else{if(_0x1f9c2f===0x5c)_0x4a319e=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x514861);}}}else{if(_0x1f9c2f===0x22&&_0x15a180[_0x25b42a(0xe0)](_0x514861-0x1)===0x3d)_0x5cabda=!0x0;else{if(_0x177515===-0x1&&_0x7cb0e[_0x1f9c2f]===0x1)_0x9d67b8===-0x1&&(_0x9d67b8=_0x514861);else{if(_0x9d67b8!==-0x1&&(_0x1f9c2f===0x20||_0x1f9c2f===0x9))_0x177515===-0x1&&(_0x177515=_0x514861);else{if(_0x1f9c2f===0x3b||_0x1f9c2f===0x2c){if(_0x9d67b8===-0x1)throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);_0x177515===-0x1&&(_0x177515=_0x514861);let _0xaf913b=_0x15a180[_0x25b42a(0xee)](_0x9d67b8,_0x177515);_0xd3862d&&(_0xaf913b=_0xaf913b[_0x25b42a(0xf8)](/\\/g,''),_0xd3862d=!0x1),_0x4f888b(_0x1c328c,_0x57b6e8,_0xaf913b),_0x1f9c2f===0x2c&&(_0x4f888b(_0x5dca49,_0x5ea39c,_0x1c328c),_0x1c328c=Object['create'](null),_0x5ea39c=void 0x0),_0x57b6e8=void 0x0,_0x9d67b8=_0x177515=-0x1;}else throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);}}}}}}}if(_0x9d67b8===-0x1||_0x5cabda||_0x1f9c2f===0x20||_0x1f9c2f===0x9)throw new SyntaxError(_0x25b42a(0x228));_0x177515===-0x1&&(_0x177515=_0x514861);const _0x122c93=_0x15a180['slice'](_0x9d67b8,_0x177515);return _0x5ea39c===void 0x0?_0x4f888b(_0x5dca49,_0x122c93,_0x1c328c):(_0x57b6e8===void 0x0?_0x4f888b(_0x1c328c,_0x122c93,!0x0):_0xd3862d?_0x4f888b(_0x1c328c,_0x57b6e8,_0x122c93['replace'](/\\/g,'')):_0x4f888b(_0x1c328c,_0x57b6e8,_0x122c93),_0x4f888b(_0x5dca49,_0x5ea39c,_0x1c328c)),_0x5dca49;}function _0x328408(_0x52420d){const _0x4a0bba=_0x35f4;return Object[_0x4a0bba(0x120)](_0x52420d)['map'](_0x144359=>{const _0x17f9e9=_0x4a0bba;let _0x158650=_0x52420d[_0x144359];return Array['isArray'](_0x158650)||(_0x158650=[_0x158650]),_0x158650['map'](_0x2ce710=>[_0x144359][_0x17f9e9(0x1dc)](Object[_0x17f9e9(0x120)](_0x2ce710)[_0x17f9e9(0x1e8)](_0x285cc8=>{const _0x150b53=_0x17f9e9;let _0x1a721e=_0x2ce710[_0x285cc8];return Array[_0x150b53(0x1e4)](_0x1a721e)||(_0x1a721e=[_0x1a721e]),_0x1a721e['map'](_0x594f1b=>_0x594f1b===!0x0?_0x285cc8:_0x285cc8+'='+_0x594f1b)[_0x150b53(0x1a2)](';\x20');}))[_0x17f9e9(0x1a2)](';\x20'))['join'](',\x20');})[_0x4a0bba(0x1a2)](',\x20');}return be={'format':_0x328408,'parse':_0x30b257},be;}var we,st;function Ie(){const _0x3576d9=_0xcc8efe;if(st)return we;st=0x1;const _0xefa373=_0xfd2e2c,_0x703549=_0x1039a3,_0x156d41=_0x4b84c,_0x2dfb4a=_0x58fb86,_0x532a12=_0x58bf04,{randomBytes:_0x3df4d7,createHash:_0x5366c4}=_0xcdc505,{Duplex:_0x225522,Readable:_0x23153e}=_0x4726f2,{URL:_0x4a0d4c}=_0x2f4072,_0x1e220f=he(),_0x27a6a3=dt(),_0x4c84bd=_t(),{isBlob:_0x2dd223}=ne(),{BINARY_TYPES:_0x67f28d,EMPTY_BUFFER:_0x3e51e8,GUID:_0x133a69,kForOnEventAttribute:_0x30b20a,kListener:_0x29a2dc,kStatusCode:_0x277386,kWebSocket:_0x36116a,NOOP:_0x539a0c}=V(),{EventTarget:{addEventListener:_0x4d474e,removeEventListener:_0x3f4486}}=Kt(),{format:_0x55cef0,parse:_0x1f65b6}=pt(),{toBuffer:_0x4afbac}=ce(),_0x571da7=0x1e*0x3e8,_0x5b89b6=Symbol('kAborted'),_0x425d20=[0x8,0xd],_0x3fd6be=['CONNECTING',_0x3576d9(0xbc),_0x3576d9(0x189),_0x3576d9(0xa5)],_0x45a0e5=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x531b95 extends _0xefa373{constructor(_0xb75cc9,_0x432bcb,_0x6a9ea0){const _0x2c8113=_0x3576d9;super(),this['_binaryType']=_0x67f28d[0x0],this[_0x2c8113(0x148)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2c8113(0x1a0)]=!0x1,this[_0x2c8113(0x221)]=_0x3e51e8,this[_0x2c8113(0x126)]=null,this[_0x2c8113(0x202)]=!0x1,this['_extensions']={},this[_0x2c8113(0x1d6)]=!0x1,this[_0x2c8113(0x111)]='',this['_readyState']=_0x531b95['CONNECTING'],this[_0x2c8113(0xd2)]=null,this[_0x2c8113(0xb8)]=null,this[_0x2c8113(0x139)]=null,_0xb75cc9!==null?(this[_0x2c8113(0x174)]=0x0,this[_0x2c8113(0x11e)]=!0x1,this[_0x2c8113(0xc4)]=0x0,_0x432bcb===void 0x0?_0x432bcb=[]:Array['isArray'](_0x432bcb)||(typeof _0x432bcb==_0x2c8113(0x122)&&_0x432bcb!==null?(_0x6a9ea0=_0x432bcb,_0x432bcb=[]):_0x432bcb=[_0x432bcb]),_0x3c4277(this,_0xb75cc9,_0x432bcb,_0x6a9ea0)):(this[_0x2c8113(0x222)]=_0x6a9ea0['autoPong'],this[_0x2c8113(0x11e)]=!0x0);}get[_0x3576d9(0x22e)](){const _0x440337=_0x3576d9;return this[_0x440337(0xb7)];}set['binaryType'](_0x3ad125){const _0x286060=_0x3576d9;_0x67f28d[_0x286060(0x1b7)](_0x3ad125)&&(this['_binaryType']=_0x3ad125,this['_receiver']&&(this[_0x286060(0xd2)]['_binaryType']=_0x3ad125));}get[_0x3576d9(0x1c9)](){const _0x4064b2=_0x3576d9;return this[_0x4064b2(0x139)]?this[_0x4064b2(0x139)][_0x4064b2(0xc7)][_0x4064b2(0x18a)]+this[_0x4064b2(0xb8)][_0x4064b2(0xa0)]:this[_0x4064b2(0x174)];}get[_0x3576d9(0x1b3)](){const _0x43fa06=_0x3576d9;return Object['keys'](this[_0x43fa06(0xa1)])[_0x43fa06(0x1a2)]();}get[_0x3576d9(0x208)](){const _0x29a8d8=_0x3576d9;return this[_0x29a8d8(0x1d6)];}get['onclose'](){return null;}get[_0x3576d9(0xa4)](){return null;}get[_0x3576d9(0xbe)](){return null;}get['onmessage'](){return null;}get[_0x3576d9(0x14b)](){const _0x28d708=_0x3576d9;return this[_0x28d708(0x111)];}get[_0x3576d9(0xa6)](){const _0x5e92f3=_0x3576d9;return this[_0x5e92f3(0x1f4)];}get[_0x3576d9(0x200)](){const _0x1bad81=_0x3576d9;return this[_0x1bad81(0x188)];}[_0x3576d9(0x96)](_0x550833,_0x36a7f0,_0x566860){const _0x2d7c84=_0x3576d9,_0x2e92c5=new _0x27a6a3({'allowSynchronousEvents':_0x566860[_0x2d7c84(0x184)],'binaryType':this['binaryType'],'extensions':this[_0x2d7c84(0xa1)],'isServer':this['_isServer'],'maxPayload':_0x566860[_0x2d7c84(0x1be)],'skipUTF8Validation':_0x566860['skipUTF8Validation']}),_0x46dcf4=new _0x4c84bd(_0x550833,this[_0x2d7c84(0xa1)],_0x566860['generateMask']);this[_0x2d7c84(0xd2)]=_0x2e92c5,this['_sender']=_0x46dcf4,this['_socket']=_0x550833,_0x2e92c5[_0x36116a]=this,_0x46dcf4[_0x36116a]=this,_0x550833[_0x36116a]=this,_0x2e92c5['on'](_0x2d7c84(0x1a4),_0x126c4f),_0x2e92c5['on']('drain',_0x2a6b1c),_0x2e92c5['on'](_0x2d7c84(0x199),_0x11f7cf),_0x2e92c5['on']('message',_0x2bdd45),_0x2e92c5['on']('ping',_0x4b4411),_0x2e92c5['on'](_0x2d7c84(0x198),_0x30d9ce),_0x46dcf4[_0x2d7c84(0xa4)]=_0x5d7274,_0x550833[_0x2d7c84(0x12c)]&&_0x550833[_0x2d7c84(0x12c)](0x0),_0x550833['setNoDelay']&&_0x550833[_0x2d7c84(0x1ef)](),_0x36a7f0[_0x2d7c84(0x18a)]>0x0&&_0x550833[_0x2d7c84(0x18e)](_0x36a7f0),_0x550833['on']('close',_0x2b2f40),_0x550833['on'](_0x2d7c84(0x21a),_0x59c64c),_0x550833['on']('end',_0x94ff74),_0x550833['on'](_0x2d7c84(0x199),_0x1fbd24),this[_0x2d7c84(0x1f4)]=_0x531b95[_0x2d7c84(0xbc)],this['emit']('open');}[_0x3576d9(0xc1)](){const _0x41a3be=_0x3576d9;if(!this['_socket']){this['_readyState']=_0x531b95[_0x41a3be(0xa5)],this[_0x41a3be(0x1fe)]('close',this[_0x41a3be(0x148)],this['_closeMessage']);return;}this['_extensions'][_0x1e220f[_0x41a3be(0xdc)]]&&this['_extensions'][_0x1e220f[_0x41a3be(0xdc)]][_0x41a3be(0xff)](),this[_0x41a3be(0xd2)][_0x41a3be(0x15c)](),this[_0x41a3be(0x1f4)]=_0x531b95['CLOSED'],this[_0x41a3be(0x1fe)](_0x41a3be(0x16c),this[_0x41a3be(0x148)],this[_0x41a3be(0x221)]);}[_0x3576d9(0x16c)](_0x26eebd,_0x23c005){const _0x36511a=_0x3576d9;if(this['readyState']!==_0x531b95[_0x36511a(0xa5)]){if(this[_0x36511a(0xa6)]===_0x531b95[_0x36511a(0xdb)]){_0x55fb5c(this,this[_0x36511a(0x144)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x36511a(0xa6)]===_0x531b95[_0x36511a(0x189)]){this[_0x36511a(0x1a0)]&&(this[_0x36511a(0x21d)]||this[_0x36511a(0xd2)][_0x36511a(0xc7)][_0x36511a(0x104)])&&this[_0x36511a(0x139)][_0x36511a(0xbd)]();return;}this[_0x36511a(0x1f4)]=_0x531b95[_0x36511a(0x189)],this['_sender'][_0x36511a(0x16c)](_0x26eebd,_0x23c005,!this[_0x36511a(0x11e)],_0x4df26a=>{const _0x1e0024=_0x36511a;_0x4df26a||(this[_0x1e0024(0x1a0)]=!0x0,(this[_0x1e0024(0x21d)]||this[_0x1e0024(0xd2)][_0x1e0024(0xc7)][_0x1e0024(0x104)])&&this['_socket'][_0x1e0024(0xbd)]());}),_0x32b965(this);}}[_0x3576d9(0x181)](){const _0x28b985=_0x3576d9;this['readyState']===_0x531b95['CONNECTING']||this[_0x28b985(0xa6)]===_0x531b95[_0x28b985(0xa5)]||(this[_0x28b985(0x1d6)]=!0x0,this[_0x28b985(0x139)]['pause']());}['ping'](_0x2d4217,_0x12c22,_0xdd4a3c){const _0x414555=_0x3576d9;if(this['readyState']===_0x531b95['CONNECTING'])throw new Error(_0x414555(0x158));if(typeof _0x2d4217==_0x414555(0x227)?(_0xdd4a3c=_0x2d4217,_0x2d4217=_0x12c22=void 0x0):typeof _0x12c22==_0x414555(0x227)&&(_0xdd4a3c=_0x12c22,_0x12c22=void 0x0),typeof _0x2d4217==_0x414555(0x14e)&&(_0x2d4217=_0x2d4217['toString']()),this[_0x414555(0xa6)]!==_0x531b95[_0x414555(0xbc)]){_0x3e39f0(this,_0x2d4217,_0xdd4a3c);return;}_0x12c22===void 0x0&&(_0x12c22=!this[_0x414555(0x11e)]),this[_0x414555(0xb8)][_0x414555(0x212)](_0x2d4217||_0x3e51e8,_0x12c22,_0xdd4a3c);}[_0x3576d9(0x198)](_0x4d3bfb,_0x430364,_0x599072){const _0x3bdbab=_0x3576d9;if(this['readyState']===_0x531b95['CONNECTING'])throw new Error(_0x3bdbab(0x158));if(typeof _0x4d3bfb=='function'?(_0x599072=_0x4d3bfb,_0x4d3bfb=_0x430364=void 0x0):typeof _0x430364=='function'&&(_0x599072=_0x430364,_0x430364=void 0x0),typeof _0x4d3bfb==_0x3bdbab(0x14e)&&(_0x4d3bfb=_0x4d3bfb[_0x3bdbab(0x1da)]()),this[_0x3bdbab(0xa6)]!==_0x531b95[_0x3bdbab(0xbc)]){_0x3e39f0(this,_0x4d3bfb,_0x599072);return;}_0x430364===void 0x0&&(_0x430364=!this['_isServer']),this[_0x3bdbab(0xb8)][_0x3bdbab(0x198)](_0x4d3bfb||_0x3e51e8,_0x430364,_0x599072);}[_0x3576d9(0x102)](){const _0x162814=_0x3576d9;this[_0x162814(0xa6)]===_0x531b95[_0x162814(0xdb)]||this[_0x162814(0xa6)]===_0x531b95[_0x162814(0xa5)]||(this[_0x162814(0x1d6)]=!0x1,this['_receiver'][_0x162814(0xc7)][_0x162814(0x13d)]||this[_0x162814(0x139)]['resume']());}['send'](_0x3bae8a,_0x2c7ced,_0x5a6997){const _0x1e24e5=_0x3576d9;if(this['readyState']===_0x531b95[_0x1e24e5(0xdb)])throw new Error(_0x1e24e5(0x158));if(typeof _0x2c7ced=='function'&&(_0x5a6997=_0x2c7ced,_0x2c7ced={}),typeof _0x3bae8a==_0x1e24e5(0x14e)&&(_0x3bae8a=_0x3bae8a['toString']()),this[_0x1e24e5(0xa6)]!==_0x531b95['OPEN']){_0x3e39f0(this,_0x3bae8a,_0x5a6997);return;}const _0x2db474={'binary':typeof _0x3bae8a!=_0x1e24e5(0x141),'mask':!this[_0x1e24e5(0x11e)],'compress':!0x0,'fin':!0x0,..._0x2c7ced};this[_0x1e24e5(0xa1)][_0x1e220f[_0x1e24e5(0xdc)]]||(_0x2db474['compress']=!0x1),this['_sender'][_0x1e24e5(0x125)](_0x3bae8a||_0x3e51e8,_0x2db474,_0x5a6997);}['terminate'](){const _0x133a6e=_0x3576d9;if(this[_0x133a6e(0xa6)]!==_0x531b95['CLOSED']){if(this[_0x133a6e(0xa6)]===_0x531b95[_0x133a6e(0xdb)]){_0x55fb5c(this,this[_0x133a6e(0x144)],_0x133a6e(0x97));return;}this[_0x133a6e(0x139)]&&(this['_readyState']=_0x531b95['CLOSING'],this[_0x133a6e(0x139)][_0x133a6e(0xe5)]());}}}Object[_0x3576d9(0xf2)](_0x531b95,_0x3576d9(0xdb),{'enumerable':!0x0,'value':_0x3fd6be['indexOf'](_0x3576d9(0xdb))}),Object['defineProperty'](_0x531b95[_0x3576d9(0x1d0)],_0x3576d9(0xdb),{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0xdb))}),Object[_0x3576d9(0xf2)](_0x531b95,_0x3576d9(0xbc),{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0xbc))}),Object[_0x3576d9(0xf2)](_0x531b95['prototype'],_0x3576d9(0xbc),{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0xbc))}),Object[_0x3576d9(0xf2)](_0x531b95,'CLOSING',{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0x189))}),Object[_0x3576d9(0xf2)](_0x531b95['prototype'],_0x3576d9(0x189),{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0x189))}),Object[_0x3576d9(0xf2)](_0x531b95,'CLOSED',{'enumerable':!0x0,'value':_0x3fd6be['indexOf'](_0x3576d9(0xa5))}),Object[_0x3576d9(0xf2)](_0x531b95[_0x3576d9(0x1d0)],_0x3576d9(0xa5),{'enumerable':!0x0,'value':_0x3fd6be['indexOf'](_0x3576d9(0xa5))}),[_0x3576d9(0x22e),_0x3576d9(0x1c9),_0x3576d9(0x1b3),'isPaused',_0x3576d9(0x14b),'readyState','url'][_0x3576d9(0x197)](_0x54a3de=>{const _0x29b469=_0x3576d9;Object[_0x29b469(0xf2)](_0x531b95[_0x29b469(0x1d0)],_0x54a3de,{'enumerable':!0x0});}),[_0x3576d9(0x205),_0x3576d9(0x199),_0x3576d9(0x16c),_0x3576d9(0xe1)][_0x3576d9(0x197)](_0x5c50d7=>{const _0x1499ee=_0x3576d9;Object[_0x1499ee(0xf2)](_0x531b95[_0x1499ee(0x1d0)],'on'+_0x5c50d7,{'enumerable':!0x0,'get'(){for(const _0xfa3356 of this['listeners'](_0x5c50d7))if(_0xfa3356[_0x30b20a])return _0xfa3356[_0x29a2dc];return null;},'set'(_0x4fce60){const _0x2115dd=_0x1499ee;for(const _0x311ada of this['listeners'](_0x5c50d7))if(_0x311ada[_0x30b20a]){this[_0x2115dd(0x1bb)](_0x5c50d7,_0x311ada);break;}typeof _0x4fce60==_0x2115dd(0x227)&&this[_0x2115dd(0x22a)](_0x5c50d7,_0x4fce60,{[_0x30b20a]:!0x0});}});}),_0x531b95[_0x3576d9(0x1d0)][_0x3576d9(0x22a)]=_0x4d474e,_0x531b95[_0x3576d9(0x1d0)][_0x3576d9(0x1dd)]=_0x3f4486,we=_0x531b95;function _0x3c4277(_0x38baaa,_0x30802d,_0x6d5a97,_0x14a753){const _0xe08a11=_0x3576d9,_0x2b6827={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x425d20[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x14a753,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xe08a11(0xef),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x38baaa['_autoPong']=_0x2b6827['autoPong'],!_0x425d20['includes'](_0x2b6827[_0xe08a11(0x11a)]))throw new RangeError(_0xe08a11(0x1b6)+_0x2b6827[_0xe08a11(0x11a)]+'\x20(supported\x20versions:\x20'+_0x425d20[_0xe08a11(0x1a2)](',\x20')+')');let _0x29ce55;if(_0x30802d instanceof _0x4a0d4c)_0x29ce55=_0x30802d;else try{_0x29ce55=new _0x4a0d4c(_0x30802d);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x30802d);}_0x29ce55[_0xe08a11(0x14b)]===_0xe08a11(0x110)?_0x29ce55[_0xe08a11(0x14b)]=_0xe08a11(0x1fa):_0x29ce55[_0xe08a11(0x14b)]===_0xe08a11(0xb6)&&(_0x29ce55['protocol']=_0xe08a11(0x18b)),_0x38baaa[_0xe08a11(0x188)]=_0x29ce55['href'];const _0x4d8476=_0x29ce55[_0xe08a11(0x14b)]==='wss:',_0x48baef=_0x29ce55[_0xe08a11(0x14b)]==='ws+unix:';let _0x5e3c27;if(_0x29ce55[_0xe08a11(0x14b)]!==_0xe08a11(0x1fa)&&!_0x4d8476&&!_0x48baef?_0x5e3c27=_0xe08a11(0x10c):_0x48baef&&!_0x29ce55[_0xe08a11(0x13f)]?_0x5e3c27=_0xe08a11(0x91):_0x29ce55['hash']&&(_0x5e3c27='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x5e3c27){const _0x594b74=new SyntaxError(_0x5e3c27);if(_0x38baaa[_0xe08a11(0xc4)]===0x0)throw _0x594b74;_0x381998(_0x38baaa,_0x594b74);return;}const _0x3d384e=_0x4d8476?0x1bb:0x50,_0x248a76=_0x3df4d7(0x10)['toString'](_0xe08a11(0x9a)),_0x535187=_0x4d8476?_0x703549[_0xe08a11(0x1cb)]:_0x156d41['request'],_0x2e3562=new Set();let _0x3267de;if(_0x2b6827[_0xe08a11(0x19a)]=_0x2b6827[_0xe08a11(0x19a)]||(_0x4d8476?_0xfaf77a:_0xb0e0ea),_0x2b6827['defaultPort']=_0x2b6827[_0xe08a11(0x1cd)]||_0x3d384e,_0x2b6827[_0xe08a11(0x1b1)]=_0x29ce55['port']||_0x3d384e,_0x2b6827['host']=_0x29ce55[_0xe08a11(0xad)]['startsWith']('[')?_0x29ce55[_0xe08a11(0xad)][_0xe08a11(0xee)](0x1,-0x1):_0x29ce55[_0xe08a11(0xad)],_0x2b6827[_0xe08a11(0x12f)]={..._0x2b6827[_0xe08a11(0x12f)],'Sec-WebSocket-Version':_0x2b6827[_0xe08a11(0x11a)],'Sec-WebSocket-Key':_0x248a76,'Connection':'Upgrade','Upgrade':_0xe08a11(0x1b5)},_0x2b6827['path']=_0x29ce55['pathname']+_0x29ce55[_0xe08a11(0x16f)],_0x2b6827[_0xe08a11(0x1e0)]=_0x2b6827[_0xe08a11(0x11f)],_0x2b6827[_0xe08a11(0x1e7)]&&(_0x3267de=new _0x1e220f(_0x2b6827[_0xe08a11(0x1e7)]!==!0x0?_0x2b6827[_0xe08a11(0x1e7)]:{},!0x1,_0x2b6827[_0xe08a11(0x1be)]),_0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0xdf)]=_0x55cef0({[_0x1e220f['extensionName']]:_0x3267de[_0xe08a11(0xce)]()})),_0x6d5a97[_0xe08a11(0x18a)]){for(const _0x39c1a1 of _0x6d5a97){if(typeof _0x39c1a1!=_0xe08a11(0x141)||!_0x45a0e5['test'](_0x39c1a1)||_0x2e3562[_0xe08a11(0x178)](_0x39c1a1))throw new SyntaxError(_0xe08a11(0x19e));_0x2e3562[_0xe08a11(0x1bd)](_0x39c1a1);}_0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0x17f)]=_0x6d5a97['join'](',');}if(_0x2b6827[_0xe08a11(0x15e)]&&(_0x2b6827[_0xe08a11(0x11a)]<0xd?_0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0x15b)]=_0x2b6827[_0xe08a11(0x15e)]:_0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0x20a)]=_0x2b6827['origin']),(_0x29ce55['username']||_0x29ce55[_0xe08a11(0xec)])&&(_0x2b6827[_0xe08a11(0x195)]=_0x29ce55[_0xe08a11(0x132)]+':'+_0x29ce55[_0xe08a11(0xec)]),_0x48baef){const _0x37f86a=_0x2b6827[_0xe08a11(0x11c)][_0xe08a11(0x109)](':');_0x2b6827['socketPath']=_0x37f86a[0x0],_0x2b6827[_0xe08a11(0x11c)]=_0x37f86a[0x1];}let _0x1005d7;if(_0x2b6827['followRedirects']){if(_0x38baaa[_0xe08a11(0xc4)]===0x0){_0x38baaa[_0xe08a11(0x1af)]=_0x48baef,_0x38baaa[_0xe08a11(0x196)]=_0x4d8476,_0x38baaa[_0xe08a11(0x101)]=_0x48baef?_0x2b6827[_0xe08a11(0x17e)]:_0x29ce55[_0xe08a11(0xca)];const _0x8330cc=_0x14a753&&_0x14a753[_0xe08a11(0x12f)];if(_0x14a753={..._0x14a753,'headers':{}},_0x8330cc){for(const [_0x56a24f,_0x3d6a5e]of Object[_0xe08a11(0x1ac)](_0x8330cc))_0x14a753['headers'][_0x56a24f[_0xe08a11(0xb5)]()]=_0x3d6a5e;}}else{if(_0x38baaa['listenerCount'](_0xe08a11(0x217))===0x0){const _0x1d5a6c=_0x48baef?_0x38baaa[_0xe08a11(0x1af)]?_0x2b6827[_0xe08a11(0x17e)]===_0x38baaa[_0xe08a11(0x101)]:!0x1:_0x38baaa['_originalIpc']?!0x1:_0x29ce55[_0xe08a11(0xca)]===_0x38baaa[_0xe08a11(0x101)];(!_0x1d5a6c||_0x38baaa[_0xe08a11(0x196)]&&!_0x4d8476)&&(delete _0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0x159)],delete _0x2b6827['headers'][_0xe08a11(0x1a1)],_0x1d5a6c||delete _0x2b6827[_0xe08a11(0x12f)]['host'],_0x2b6827[_0xe08a11(0x195)]=void 0x0);}}_0x2b6827[_0xe08a11(0x195)]&&!_0x14a753[_0xe08a11(0x12f)][_0xe08a11(0x159)]&&(_0x14a753[_0xe08a11(0x12f)]['authorization']=_0xe08a11(0xd5)+Buffer[_0xe08a11(0x17b)](_0x2b6827[_0xe08a11(0x195)])['toString'](_0xe08a11(0x9a))),_0x1005d7=_0x38baaa['_req']=_0x535187(_0x2b6827),_0x38baaa[_0xe08a11(0xc4)]&&_0x38baaa['emit'](_0xe08a11(0x217),_0x38baaa[_0xe08a11(0x200)],_0x1005d7);}else _0x1005d7=_0x38baaa[_0xe08a11(0x144)]=_0x535187(_0x2b6827);_0x2b6827[_0xe08a11(0x1e0)]&&_0x1005d7['on'](_0xe08a11(0x1e0),()=>{const _0x3a4dd2=_0xe08a11;_0x55fb5c(_0x38baaa,_0x1005d7,_0x3a4dd2(0xe9));}),_0x1005d7['on']('error',_0x254995=>{const _0x2a33b2=_0xe08a11;_0x1005d7===null||_0x1005d7[_0x5b89b6]||(_0x1005d7=_0x38baaa[_0x2a33b2(0x144)]=null,_0x381998(_0x38baaa,_0x254995));}),_0x1005d7['on']('response',_0x279638=>{const _0x1e5bd4=_0xe08a11,_0x44a3d0=_0x279638[_0x1e5bd4(0x12f)][_0x1e5bd4(0x103)],_0x69819c=_0x279638['statusCode'];if(_0x44a3d0&&_0x2b6827['followRedirects']&&_0x69819c>=0x12c&&_0x69819c<0x190){if(++_0x38baaa[_0x1e5bd4(0xc4)]>_0x2b6827['maxRedirects']){_0x55fb5c(_0x38baaa,_0x1005d7,_0x1e5bd4(0x1d9));return;}_0x1005d7['abort']();let _0x1caa29;try{_0x1caa29=new _0x4a0d4c(_0x44a3d0,_0x30802d);}catch{const _0x414c73=new SyntaxError('Invalid\x20URL:\x20'+_0x44a3d0);_0x381998(_0x38baaa,_0x414c73);return;}_0x3c4277(_0x38baaa,_0x1caa29,_0x6d5a97,_0x14a753);}else _0x38baaa['emit'](_0x1e5bd4(0x20d),_0x1005d7,_0x279638)||_0x55fb5c(_0x38baaa,_0x1005d7,'Unexpected\x20server\x20response:\x20'+_0x279638[_0x1e5bd4(0xed)]);}),_0x1005d7['on']('upgrade',(_0x1b0f5e,_0x34390f,_0x10e868)=>{const _0x326cb2=_0xe08a11;if(_0x38baaa['emit'](_0x326cb2(0x19c),_0x1b0f5e),_0x38baaa[_0x326cb2(0xa6)]!==_0x531b95[_0x326cb2(0xdb)])return;_0x1005d7=_0x38baaa['_req']=null;const _0x2ea2d8=_0x1b0f5e[_0x326cb2(0x12f)][_0x326cb2(0x19c)];if(_0x2ea2d8===void 0x0||_0x2ea2d8[_0x326cb2(0xb5)]()!==_0x326cb2(0x1b5)){_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x137));return;}const _0xdd9575=_0x5366c4(_0x326cb2(0x15f))[_0x326cb2(0xa7)](_0x248a76+_0x133a69)[_0x326cb2(0x12d)]('base64');if(_0x1b0f5e[_0x326cb2(0x12f)]['sec-websocket-accept']!==_0xdd9575){_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x1c7));return;}const _0x5501ed=_0x1b0f5e[_0x326cb2(0x12f)][_0x326cb2(0x204)];let _0x21a4ad;if(_0x5501ed!==void 0x0?_0x2e3562[_0x326cb2(0x151)]?_0x2e3562[_0x326cb2(0x178)](_0x5501ed)||(_0x21a4ad=_0x326cb2(0xfa)):_0x21a4ad=_0x326cb2(0x16d):_0x2e3562[_0x326cb2(0x151)]&&(_0x21a4ad=_0x326cb2(0x12a)),_0x21a4ad){_0x55fb5c(_0x38baaa,_0x34390f,_0x21a4ad);return;}_0x5501ed&&(_0x38baaa[_0x326cb2(0x111)]=_0x5501ed);const _0x5268a7=_0x1b0f5e[_0x326cb2(0x12f)][_0x326cb2(0xd1)];if(_0x5268a7!==void 0x0){if(!_0x3267de){_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x1c2));return;}let _0x418cc0;try{_0x418cc0=_0x1f65b6(_0x5268a7);}catch{_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x21c));return;}const _0x420904=Object[_0x326cb2(0x120)](_0x418cc0);if(_0x420904[_0x326cb2(0x18a)]!==0x1||_0x420904[0x0]!==_0x1e220f['extensionName']){_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0xbf));return;}try{_0x3267de[_0x326cb2(0xae)](_0x418cc0[_0x1e220f['extensionName']]);}catch{_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x21c));return;}_0x38baaa[_0x326cb2(0xa1)][_0x1e220f[_0x326cb2(0xdc)]]=_0x3267de;}_0x38baaa[_0x326cb2(0x96)](_0x34390f,_0x10e868,{'allowSynchronousEvents':_0x2b6827[_0x326cb2(0x184)],'generateMask':_0x2b6827[_0x326cb2(0xc0)],'maxPayload':_0x2b6827[_0x326cb2(0x1be)],'skipUTF8Validation':_0x2b6827['skipUTF8Validation']});}),_0x2b6827['finishRequest']?_0x2b6827[_0xe08a11(0x123)](_0x1005d7,_0x38baaa):_0x1005d7[_0xe08a11(0xbd)]();}function _0x381998(_0x14beaa,_0x5bafd3){const _0x15d11c=_0x3576d9;_0x14beaa[_0x15d11c(0x1f4)]=_0x531b95[_0x15d11c(0x189)],_0x14beaa[_0x15d11c(0x202)]=!0x0,_0x14beaa[_0x15d11c(0x1fe)](_0x15d11c(0x199),_0x5bafd3),_0x14beaa['emitClose']();}function _0xb0e0ea(_0x59bcfd){const _0x3f108b=_0x3576d9;return _0x59bcfd[_0x3f108b(0x11c)]=_0x59bcfd[_0x3f108b(0x17e)],_0x2dfb4a[_0x3f108b(0x117)](_0x59bcfd);}function _0xfaf77a(_0x42a049){const _0x460934=_0x3576d9;return _0x42a049[_0x460934(0x11c)]=void 0x0,!_0x42a049[_0x460934(0x95)]&&_0x42a049['servername']!==''&&(_0x42a049[_0x460934(0x95)]=_0x2dfb4a[_0x460934(0x162)](_0x42a049[_0x460934(0xca)])?'':_0x42a049['host']),_0x532a12[_0x460934(0x117)](_0x42a049);}function _0x55fb5c(_0x2b8c88,_0xc00b1c,_0x2d068d){const _0x28ff2f=_0x3576d9;_0x2b8c88['_readyState']=_0x531b95[_0x28ff2f(0x189)];const _0x2ef199=new Error(_0x2d068d);Error[_0x28ff2f(0x119)](_0x2ef199,_0x55fb5c),_0xc00b1c[_0x28ff2f(0x185)]?(_0xc00b1c[_0x5b89b6]=!0x0,_0xc00b1c['abort'](),_0xc00b1c[_0x28ff2f(0x18f)]&&!_0xc00b1c[_0x28ff2f(0x18f)]['destroyed']&&_0xc00b1c[_0x28ff2f(0x18f)][_0x28ff2f(0xe5)](),process[_0x28ff2f(0x1ea)](_0x381998,_0x2b8c88,_0x2ef199)):(_0xc00b1c['destroy'](_0x2ef199),_0xc00b1c[_0x28ff2f(0xab)]('error',_0x2b8c88['emit']['bind'](_0x2b8c88,_0x28ff2f(0x199))),_0xc00b1c[_0x28ff2f(0xab)](_0x28ff2f(0x16c),_0x2b8c88[_0x28ff2f(0xc1)][_0x28ff2f(0x149)](_0x2b8c88)));}function _0x3e39f0(_0x25065a,_0x3dbe04,_0x162607){const _0x393b53=_0x3576d9;if(_0x3dbe04){const _0x1b95c3=_0x2dd223(_0x3dbe04)?_0x3dbe04[_0x393b53(0x151)]:_0x4afbac(_0x3dbe04)[_0x393b53(0x18a)];_0x25065a[_0x393b53(0x139)]?_0x25065a[_0x393b53(0xb8)]['_bufferedBytes']+=_0x1b95c3:_0x25065a[_0x393b53(0x174)]+=_0x1b95c3;}if(_0x162607){const _0x2feaf3=new Error(_0x393b53(0x133)+_0x25065a['readyState']+'\x20('+_0x3fd6be[_0x25065a['readyState']]+')');process[_0x393b53(0x1ea)](_0x162607,_0x2feaf3);}}function _0x126c4f(_0x5e80de,_0x2036c3){const _0x11f067=_0x3576d9,_0x2634b5=this[_0x36116a];_0x2634b5[_0x11f067(0x21d)]=!0x0,_0x2634b5[_0x11f067(0x221)]=_0x2036c3,_0x2634b5['_closeCode']=_0x5e80de,_0x2634b5[_0x11f067(0x139)][_0x36116a]!==void 0x0&&(_0x2634b5[_0x11f067(0x139)][_0x11f067(0x1bb)](_0x11f067(0x21a),_0x59c64c),process['nextTick'](_0x148660,_0x2634b5[_0x11f067(0x139)]),_0x5e80de===0x3ed?_0x2634b5[_0x11f067(0x16c)]():_0x2634b5[_0x11f067(0x16c)](_0x5e80de,_0x2036c3));}function _0x2a6b1c(){const _0xb9cf83=_0x3576d9,_0x272728=this[_0x36116a];_0x272728['isPaused']||_0x272728[_0xb9cf83(0x139)][_0xb9cf83(0x102)]();}function _0x11f7cf(_0x4825da){const _0x795f4=_0x3576d9,_0x3d0753=this[_0x36116a];_0x3d0753[_0x795f4(0x139)][_0x36116a]!==void 0x0&&(_0x3d0753[_0x795f4(0x139)][_0x795f4(0x1bb)](_0x795f4(0x21a),_0x59c64c),process[_0x795f4(0x1ea)](_0x148660,_0x3d0753[_0x795f4(0x139)]),_0x3d0753[_0x795f4(0x16c)](_0x4825da[_0x277386])),_0x3d0753['_errorEmitted']||(_0x3d0753[_0x795f4(0x202)]=!0x0,_0x3d0753[_0x795f4(0x1fe)](_0x795f4(0x199),_0x4825da));}function _0x277cb5(){const _0x2e5bcf=_0x3576d9;this[_0x36116a][_0x2e5bcf(0xc1)]();}function _0x2bdd45(_0x275a6c,_0x23f354){const _0x5e8557=_0x3576d9;this[_0x36116a][_0x5e8557(0x1fe)]('message',_0x275a6c,_0x23f354);}function _0x4b4411(_0x1a1694){const _0x2f71a9=_0x3576d9,_0x4c5ad4=this[_0x36116a];_0x4c5ad4['_autoPong']&&_0x4c5ad4[_0x2f71a9(0x198)](_0x1a1694,!this[_0x2f71a9(0x11e)],_0x539a0c),_0x4c5ad4[_0x2f71a9(0x1fe)](_0x2f71a9(0x212),_0x1a1694);}function _0x30d9ce(_0x19c8eb){const _0x4b4dd7=_0x3576d9;this[_0x36116a]['emit'](_0x4b4dd7(0x198),_0x19c8eb);}function _0x148660(_0x4b0024){const _0x2cbff9=_0x3576d9;_0x4b0024[_0x2cbff9(0x102)]();}function _0x5d7274(_0x1bc831){const _0x235f20=_0x3576d9,_0x2f62ce=this[_0x36116a];_0x2f62ce[_0x235f20(0xa6)]!==_0x531b95['CLOSED']&&(_0x2f62ce[_0x235f20(0xa6)]===_0x531b95[_0x235f20(0xbc)]&&(_0x2f62ce[_0x235f20(0x1f4)]=_0x531b95['CLOSING'],_0x32b965(_0x2f62ce)),this[_0x235f20(0x139)][_0x235f20(0xbd)](),_0x2f62ce[_0x235f20(0x202)]||(_0x2f62ce['_errorEmitted']=!0x0,_0x2f62ce[_0x235f20(0x1fe)]('error',_0x1bc831)));}function _0x32b965(_0x50829b){const _0x75cd6e=_0x3576d9;_0x50829b[_0x75cd6e(0x126)]=setTimeout(_0x50829b[_0x75cd6e(0x139)][_0x75cd6e(0xe5)][_0x75cd6e(0x149)](_0x50829b[_0x75cd6e(0x139)]),_0x571da7);}function _0x2b2f40(){const _0x259786=_0x3576d9,_0x4f3cec=this[_0x36116a];this[_0x259786(0x1bb)](_0x259786(0x16c),_0x2b2f40),this[_0x259786(0x1bb)](_0x259786(0x21a),_0x59c64c),this[_0x259786(0x1bb)](_0x259786(0xbd),_0x94ff74),_0x4f3cec['_readyState']=_0x531b95[_0x259786(0x189)];let _0x4734e6;!this[_0x259786(0x1a7)][_0x259786(0x1ad)]&&!_0x4f3cec[_0x259786(0x21d)]&&!_0x4f3cec[_0x259786(0xd2)][_0x259786(0xc7)][_0x259786(0x104)]&&(_0x4734e6=_0x4f3cec[_0x259786(0x139)][_0x259786(0x13e)]())!==null&&_0x4f3cec[_0x259786(0xd2)][_0x259786(0x22f)](_0x4734e6),_0x4f3cec['_receiver'][_0x259786(0xbd)](),this[_0x36116a]=void 0x0,clearTimeout(_0x4f3cec[_0x259786(0x126)]),_0x4f3cec[_0x259786(0xd2)][_0x259786(0xc7)][_0x259786(0xa8)]||_0x4f3cec[_0x259786(0xd2)][_0x259786(0xc7)]['errorEmitted']?_0x4f3cec[_0x259786(0xc1)]():(_0x4f3cec[_0x259786(0xd2)]['on'](_0x259786(0x199),_0x277cb5),_0x4f3cec[_0x259786(0xd2)]['on']('finish',_0x277cb5));}function _0x59c64c(_0x3f692a){const _0xef1898=_0x3576d9;this[_0x36116a]['_receiver']['write'](_0x3f692a)||this[_0xef1898(0x181)]();}function _0x94ff74(){const _0xe71f14=_0x3576d9,_0x4f3511=this[_0x36116a];_0x4f3511['_readyState']=_0x531b95['CLOSING'],_0x4f3511[_0xe71f14(0xd2)][_0xe71f14(0xbd)](),this[_0xe71f14(0xbd)]();}function _0x1fbd24(){const _0x4ebdc9=_0x3576d9,_0x1e0a90=this[_0x36116a];this[_0x4ebdc9(0x1bb)](_0x4ebdc9(0x199),_0x1fbd24),this['on'](_0x4ebdc9(0x199),_0x539a0c),_0x1e0a90&&(_0x1e0a90[_0x4ebdc9(0x1f4)]=_0x531b95['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4bbc78}=_0x4726f2;function _0x311831(_0x267f47){const _0x51623c=_0x35f4;_0x267f47[_0x51623c(0x1fe)](_0x51623c(0x16c));}function _0x3f8f57(){const _0x31465c=_0x35f4;!this[_0x31465c(0x114)]&&this[_0x31465c(0xc7)]['finished']&&this[_0x31465c(0xe5)]();}function _0x1d0bc8(_0xe3cb6d){const _0x2b7462=_0x35f4;this['removeListener']('error',_0x1d0bc8),this[_0x2b7462(0xe5)](),this['listenerCount'](_0x2b7462(0x199))===0x0&&this['emit'](_0x2b7462(0x199),_0xe3cb6d);}function _0x58c780(_0x2e43a4,_0x11f00f){const _0x39dece=_0x35f4;let _0x135e8a=!0x0;const _0x15f44e=new _0x4bbc78({..._0x11f00f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2e43a4['on'](_0x39dece(0xe1),function(_0x4dc3f2,_0x4ae71b){const _0x26f286=_0x39dece,_0x30cff2=!_0x4ae71b&&_0x15f44e[_0x26f286(0x1a7)][_0x26f286(0x1cf)]?_0x4dc3f2['toString']():_0x4dc3f2;_0x15f44e[_0x26f286(0x1b4)](_0x30cff2)||_0x2e43a4[_0x26f286(0x181)]();}),_0x2e43a4[_0x39dece(0xab)](_0x39dece(0x199),function(_0x49b1bb){const _0x3b2dec=_0x39dece;_0x15f44e['destroyed']||(_0x135e8a=!0x1,_0x15f44e[_0x3b2dec(0xe5)](_0x49b1bb));}),_0x2e43a4['once']('close',function(){const _0x204e6d=_0x39dece;_0x15f44e[_0x204e6d(0x114)]||_0x15f44e[_0x204e6d(0x1b4)](null);}),_0x15f44e[_0x39dece(0x1d5)]=function(_0x56762f,_0x5ec892){const _0x2bf7dc=_0x39dece;if(_0x2e43a4[_0x2bf7dc(0xa6)]===_0x2e43a4[_0x2bf7dc(0xa5)]){_0x5ec892(_0x56762f),process[_0x2bf7dc(0x1ea)](_0x311831,_0x15f44e);return;}let _0x5626ca=!0x1;_0x2e43a4[_0x2bf7dc(0xab)](_0x2bf7dc(0x199),function(_0x1e927b){_0x5626ca=!0x0,_0x5ec892(_0x1e927b);}),_0x2e43a4['once'](_0x2bf7dc(0x16c),function(){_0x5626ca||_0x5ec892(_0x56762f),process['nextTick'](_0x311831,_0x15f44e);}),_0x135e8a&&_0x2e43a4[_0x2bf7dc(0x15d)]();},_0x15f44e[_0x39dece(0x154)]=function(_0x57d69b){const _0x113f51=_0x39dece;if(_0x2e43a4[_0x113f51(0xa6)]===_0x2e43a4[_0x113f51(0xdb)]){_0x2e43a4['once'](_0x113f51(0x205),function(){const _0x7bde9b=_0x113f51;_0x15f44e[_0x7bde9b(0x154)](_0x57d69b);});return;}_0x2e43a4[_0x113f51(0x139)]!==null&&(_0x2e43a4[_0x113f51(0x139)][_0x113f51(0xc7)][_0x113f51(0xa8)]?(_0x57d69b(),_0x15f44e[_0x113f51(0x1a7)][_0x113f51(0x1ad)]&&_0x15f44e['destroy']()):(_0x2e43a4[_0x113f51(0x139)]['once'](_0x113f51(0x1d8),function(){_0x57d69b();}),_0x2e43a4[_0x113f51(0x16c)]()));},_0x15f44e[_0x39dece(0xfb)]=function(){const _0xb3198d=_0x39dece;_0x2e43a4[_0xb3198d(0x208)]&&_0x2e43a4['resume']();},_0x15f44e[_0x39dece(0xe3)]=function(_0x3fe010,_0x12cc30,_0x651cc0){const _0x7ae781=_0x39dece;if(_0x2e43a4['readyState']===_0x2e43a4[_0x7ae781(0xdb)]){_0x2e43a4[_0x7ae781(0xab)](_0x7ae781(0x205),function(){const _0x358120=_0x7ae781;_0x15f44e[_0x358120(0xe3)](_0x3fe010,_0x12cc30,_0x651cc0);});return;}_0x2e43a4[_0x7ae781(0x125)](_0x3fe010,_0x651cc0);},_0x15f44e['on'](_0x39dece(0xbd),_0x3f8f57),_0x15f44e['on'](_0x39dece(0x199),_0x1d0bc8),_0x15f44e;}return Oe=_0x58c780,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x56ef44}=ne();function _0xb2fc7f(_0x51a987){const _0x224dcf=_0x35f4,_0x23f28f=new Set();let _0x41195a=-0x1,_0x7259b5=-0x1,_0xb9a60e=0x0;for(_0xb9a60e;_0xb9a60e<_0x51a987[_0x224dcf(0x18a)];_0xb9a60e++){const _0x93c069=_0x51a987[_0x224dcf(0xe0)](_0xb9a60e);if(_0x7259b5===-0x1&&_0x56ef44[_0x93c069]===0x1)_0x41195a===-0x1&&(_0x41195a=_0xb9a60e);else{if(_0xb9a60e!==0x0&&(_0x93c069===0x20||_0x93c069===0x9))_0x7259b5===-0x1&&_0x41195a!==-0x1&&(_0x7259b5=_0xb9a60e);else{if(_0x93c069===0x2c){if(_0x41195a===-0x1)throw new SyntaxError(_0x224dcf(0x15a)+_0xb9a60e);_0x7259b5===-0x1&&(_0x7259b5=_0xb9a60e);const _0x3e7e65=_0x51a987['slice'](_0x41195a,_0x7259b5);if(_0x23f28f[_0x224dcf(0x178)](_0x3e7e65))throw new SyntaxError(_0x224dcf(0x1d1)+_0x3e7e65+_0x224dcf(0xeb));_0x23f28f[_0x224dcf(0x1bd)](_0x3e7e65),_0x41195a=_0x7259b5=-0x1;}else throw new SyntaxError(_0x224dcf(0x15a)+_0xb9a60e);}}}if(_0x41195a===-0x1||_0x7259b5!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x16b9f2=_0x51a987[_0x224dcf(0xee)](_0x41195a,_0xb9a60e);if(_0x23f28f[_0x224dcf(0x178)](_0x16b9f2))throw new SyntaxError('The\x20\x22'+_0x16b9f2+_0x224dcf(0xeb));return _0x23f28f[_0x224dcf(0x1bd)](_0x16b9f2),_0x23f28f;}return Ce={'parse':_0xb2fc7f},Ce;}var Te,ot;function er(){const _0x421e4d=_0xcc8efe;if(ot)return Te;ot=0x1;const _0x99afbd=_0xfd2e2c,_0x1303da=_0x4b84c,{Duplex:_0x3cd43e}=_0x4726f2,{createHash:_0x54d620}=_0xcdc505,_0x4a6c27=pt(),_0x226213=he(),_0x2064cd=Jt(),_0x4c07a7=Ie(),{GUID:_0x42e777,kWebSocket:_0x1356db}=V(),_0x38bf20=/^[+/0-9A-Za-z]{22}==$/,_0x1c0594=0x0,_0x3626a8=0x1,_0x38668d=0x2;class _0x3c9729 extends _0x99afbd{constructor(_0x36ead1,_0x10589f){const _0x766e6=_0x35f4;if(super(),_0x36ead1={'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':_0x4c07a7,..._0x36ead1},_0x36ead1[_0x766e6(0x1b1)]==null&&!_0x36ead1[_0x766e6(0x146)]&&!_0x36ead1[_0x766e6(0x1f0)]||_0x36ead1['port']!=null&&(_0x36ead1[_0x766e6(0x146)]||_0x36ead1['noServer'])||_0x36ead1[_0x766e6(0x146)]&&_0x36ead1[_0x766e6(0x1f0)])throw new TypeError(_0x766e6(0x118));if(_0x36ead1['port']!=null?(this[_0x766e6(0x134)]=_0x1303da[_0x766e6(0x19d)]((_0x324e7a,_0x38a308)=>{const _0x9d11f8=_0x766e6,_0x53fdbf=_0x1303da[_0x9d11f8(0x105)][0x1aa];_0x38a308[_0x9d11f8(0x99)](0x1aa,{'Content-Length':_0x53fdbf['length'],'Content-Type':_0x9d11f8(0x22c)}),_0x38a308['end'](_0x53fdbf);}),this[_0x766e6(0x134)][_0x766e6(0x193)](_0x36ead1[_0x766e6(0x1b1)],_0x36ead1['host'],_0x36ead1[_0x766e6(0x1ba)],_0x10589f)):_0x36ead1[_0x766e6(0x146)]&&(this['_server']=_0x36ead1[_0x766e6(0x146)]),this['_server']){const _0xbf9bda=this[_0x766e6(0x1fe)][_0x766e6(0x149)](this,_0x766e6(0x1f9));this[_0x766e6(0xf5)]=_0x313c74(this['_server'],{'listening':this[_0x766e6(0x1fe)][_0x766e6(0x149)](this,_0x766e6(0x1f7)),'error':this[_0x766e6(0x1fe)][_0x766e6(0x149)](this,_0x766e6(0x199)),'upgrade':(_0xe689d4,_0x5eb8d9,_0x3c7e30)=>{const _0xd72a3a=_0x766e6;this[_0xd72a3a(0x147)](_0xe689d4,_0x5eb8d9,_0x3c7e30,_0xbf9bda);}});}_0x36ead1[_0x766e6(0x1e7)]===!0x0&&(_0x36ead1['perMessageDeflate']={}),_0x36ead1['clientTracking']&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x766e6(0xde)]=_0x36ead1,this[_0x766e6(0x12e)]=_0x1c0594;}['address'](){const _0x338d32=_0x35f4;if(this[_0x338d32(0xde)][_0x338d32(0x1f0)])throw new Error(_0x338d32(0x21e));return this[_0x338d32(0x134)]?this[_0x338d32(0x134)][_0x338d32(0x92)]():null;}[_0x421e4d(0x16c)](_0x5e4973){const _0x372014=_0x421e4d;if(this[_0x372014(0x12e)]===_0x38668d){_0x5e4973&&this[_0x372014(0xab)](_0x372014(0x16c),()=>{const _0x421aa0=_0x372014;_0x5e4973(new Error(_0x421aa0(0x10d)));}),process[_0x372014(0x1ea)](_0x57a5f2,this);return;}if(_0x5e4973&&this[_0x372014(0xab)]('close',_0x5e4973),this['_state']!==_0x3626a8){if(this['_state']=_0x3626a8,this[_0x372014(0xde)]['noServer']||this['options'][_0x372014(0x146)])this['_server']&&(this['_removeListeners'](),this[_0x372014(0xf5)]=this[_0x372014(0x134)]=null),this[_0x372014(0x9c)]?this[_0x372014(0x9c)][_0x372014(0x151)]?this[_0x372014(0xc3)]=!0x0:process['nextTick'](_0x57a5f2,this):process[_0x372014(0x1ea)](_0x57a5f2,this);else{const _0x22e086=this[_0x372014(0x134)];this['_removeListeners'](),this[_0x372014(0xf5)]=this[_0x372014(0x134)]=null,_0x22e086[_0x372014(0x16c)](()=>{_0x57a5f2(this);});}}}['shouldHandle'](_0x3e79eb){const _0x3fbc0e=_0x421e4d;if(this[_0x3fbc0e(0xde)][_0x3fbc0e(0x11c)]){const _0x459251=_0x3e79eb[_0x3fbc0e(0x200)]['indexOf']('?');if((_0x459251!==-0x1?_0x3e79eb[_0x3fbc0e(0x200)][_0x3fbc0e(0xee)](0x0,_0x459251):_0x3e79eb[_0x3fbc0e(0x200)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x421e4d(0x147)](_0x5141a5,_0x2f0fcf,_0x318105,_0x551246){const _0x2594df=_0x421e4d;_0x2f0fcf['on'](_0x2594df(0x199),_0xb16a37);const _0x111e7a=_0x5141a5['headers']['sec-websocket-key'],_0xdde2d2=_0x5141a5['headers'][_0x2594df(0x19c)],_0x271cbf=+_0x5141a5[_0x2594df(0x12f)][_0x2594df(0x1f1)];if(_0x5141a5[_0x2594df(0xd0)]!==_0x2594df(0xef)){_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x195,_0x2594df(0xf4));return;}if(_0xdde2d2===void 0x0||_0xdde2d2[_0x2594df(0xb5)]()!==_0x2594df(0x1b5)){_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,_0x2594df(0x137));return;}if(_0x111e7a===void 0x0||!_0x38bf20['test'](_0x111e7a)){_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x271cbf!==0xd&&_0x271cbf!==0x8){_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this['shouldHandle'](_0x5141a5)){_0x3a0e5e(_0x2f0fcf,0x190);return;}const _0x53ecde=_0x5141a5['headers']['sec-websocket-protocol'];let _0x4a91e3=new Set();if(_0x53ecde!==void 0x0)try{_0x4a91e3=_0x2064cd[_0x2594df(0x167)](_0x53ecde);}catch{_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,_0x2594df(0xe7));return;}const _0x8a7377=_0x5141a5[_0x2594df(0x12f)]['sec-websocket-extensions'],_0x42a81a={};if(this[_0x2594df(0xde)][_0x2594df(0x1e7)]&&_0x8a7377!==void 0x0){const _0x1b056d=new _0x226213(this[_0x2594df(0xde)]['perMessageDeflate'],!0x0,this[_0x2594df(0xde)]['maxPayload']);try{const _0x4f84e7=_0x4a6c27[_0x2594df(0x167)](_0x8a7377);_0x4f84e7[_0x226213['extensionName']]&&(_0x1b056d[_0x2594df(0xae)](_0x4f84e7[_0x226213[_0x2594df(0xdc)]]),_0x42a81a[_0x226213['extensionName']]=_0x1b056d);}catch{_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,_0x2594df(0xcd));return;}}if(this[_0x2594df(0xde)]['verifyClient']){const _0x57d2dc={'origin':_0x5141a5['headers'][''+(_0x271cbf===0x8?'sec-websocket-origin':_0x2594df(0x15e))],'secure':!!(_0x5141a5[_0x2594df(0x18f)]['authorized']||_0x5141a5[_0x2594df(0x18f)][_0x2594df(0x1fd)]),'req':_0x5141a5};if(this['options'][_0x2594df(0x163)][_0x2594df(0x18a)]===0x2){this[_0x2594df(0xde)][_0x2594df(0x163)](_0x57d2dc,(_0x2426b7,_0x5fa7f2,_0x1f6a90,_0x4b71d5)=>{const _0x144985=_0x2594df;if(!_0x2426b7)return _0x3a0e5e(_0x2f0fcf,_0x5fa7f2||0x191,_0x1f6a90,_0x4b71d5);this[_0x144985(0xfc)](_0x42a81a,_0x111e7a,_0x4a91e3,_0x5141a5,_0x2f0fcf,_0x318105,_0x551246);});return;}if(!this[_0x2594df(0xde)][_0x2594df(0x163)](_0x57d2dc))return _0x3a0e5e(_0x2f0fcf,0x191);}this[_0x2594df(0xfc)](_0x42a81a,_0x111e7a,_0x4a91e3,_0x5141a5,_0x2f0fcf,_0x318105,_0x551246);}[_0x421e4d(0xfc)](_0x5aeb6d,_0xf447af,_0xb6cdb5,_0x4a7aba,_0x90ac74,_0x176d71,_0x5afc72){const _0x3a7046=_0x421e4d;if(!_0x90ac74[_0x3a7046(0x175)]||!_0x90ac74[_0x3a7046(0xf7)])return _0x90ac74[_0x3a7046(0xe5)]();if(_0x90ac74[_0x1356db])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x1c0594)return _0x3a0e5e(_0x90ac74,0x1f7);const _0x24ff3a=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3a7046(0x157),_0x3a7046(0x100),'Sec-WebSocket-Accept:\x20'+_0x54d620(_0x3a7046(0x15f))[_0x3a7046(0xa7)](_0xf447af+_0x42e777)[_0x3a7046(0x12d)](_0x3a7046(0x9a))],_0x136976=new this[(_0x3a7046(0xde))]['WebSocket'](null,void 0x0,this[_0x3a7046(0xde)]);if(_0xb6cdb5[_0x3a7046(0x151)]){const _0x206aae=this[_0x3a7046(0xde)][_0x3a7046(0xc2)]?this['options'][_0x3a7046(0xc2)](_0xb6cdb5,_0x4a7aba):_0xb6cdb5[_0x3a7046(0xf0)]()[_0x3a7046(0x226)]()[_0x3a7046(0x170)];_0x206aae&&(_0x24ff3a['push'](_0x3a7046(0x1cc)+_0x206aae),_0x136976[_0x3a7046(0x111)]=_0x206aae);}if(_0x5aeb6d[_0x226213['extensionName']]){const _0x1e0f32=_0x5aeb6d[_0x226213[_0x3a7046(0xdc)]]['params'],_0x5567e9=_0x4a6c27[_0x3a7046(0x1db)]({[_0x226213[_0x3a7046(0xdc)]]:[_0x1e0f32]});_0x24ff3a[_0x3a7046(0x1b4)](_0x3a7046(0x155)+_0x5567e9),_0x136976[_0x3a7046(0xa1)]=_0x5aeb6d;}this['emit'](_0x3a7046(0x12f),_0x24ff3a,_0x4a7aba),_0x90ac74['write'](_0x24ff3a['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x90ac74[_0x3a7046(0x1bb)]('error',_0xb16a37),_0x136976['setSocket'](_0x90ac74,_0x176d71,{'allowSynchronousEvents':this[_0x3a7046(0xde)][_0x3a7046(0x184)],'maxPayload':this[_0x3a7046(0xde)][_0x3a7046(0x1be)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x3a7046(0x9c)]&&(this[_0x3a7046(0x9c)][_0x3a7046(0x1bd)](_0x136976),_0x136976['on'](_0x3a7046(0x16c),()=>{const _0x25b2d4=_0x3a7046;this[_0x25b2d4(0x9c)][_0x25b2d4(0x21f)](_0x136976),this[_0x25b2d4(0xc3)]&&!this[_0x25b2d4(0x9c)]['size']&&process[_0x25b2d4(0x1ea)](_0x57a5f2,this);})),_0x5afc72(_0x136976,_0x4a7aba);}}Te=_0x3c9729;function _0x313c74(_0x490859,_0x304e04){for(const _0x18e809 of Object['keys'](_0x304e04))_0x490859['on'](_0x18e809,_0x304e04[_0x18e809]);return function(){const _0x2b4bd1=_0x35f4;for(const _0xd54ad7 of Object[_0x2b4bd1(0x120)](_0x304e04))_0x490859[_0x2b4bd1(0x1bb)](_0xd54ad7,_0x304e04[_0xd54ad7]);};}function _0x57a5f2(_0x51bbcb){const _0x10b41e=_0x421e4d;_0x51bbcb[_0x10b41e(0x12e)]=_0x38668d,_0x51bbcb['emit'](_0x10b41e(0x16c));}function _0xb16a37(){const _0x14c14b=_0x421e4d;this[_0x14c14b(0xe5)]();}function _0x3a0e5e(_0x2a485e,_0x1f7b9c,_0x1111d9,_0x661d77){const _0x3cd11c=_0x421e4d;_0x1111d9=_0x1111d9||_0x1303da['STATUS_CODES'][_0x1f7b9c],_0x661d77={'Connection':_0x3cd11c(0x16c),'Content-Type':_0x3cd11c(0xe6),'Content-Length':Buffer[_0x3cd11c(0x169)](_0x1111d9),..._0x661d77},_0x2a485e[_0x3cd11c(0xab)](_0x3cd11c(0x1d8),_0x2a485e[_0x3cd11c(0xe5)]),_0x2a485e[_0x3cd11c(0xbd)](_0x3cd11c(0x17d)+_0x1f7b9c+'\x20'+_0x1303da[_0x3cd11c(0x105)][_0x1f7b9c]+'\x0d\x0a'+Object[_0x3cd11c(0x120)](_0x661d77)[_0x3cd11c(0x1e8)](_0x14cf95=>_0x14cf95+':\x20'+_0x661d77[_0x14cf95])[_0x3cd11c(0x1a2)]('\x0d\x0a')+_0x3cd11c(0x171)+_0x1111d9);}function _0x5a699d(_0x28c25a,_0x8ce638,_0x10cba3,_0x21059b,_0x337d91,_0x158dea){const _0x4a502e=_0x421e4d;if(_0x28c25a[_0x4a502e(0xb2)](_0x4a502e(0x130))){const _0x3ab54c=new Error(_0x337d91);Error[_0x4a502e(0x119)](_0x3ab54c,_0x5a699d),_0x28c25a[_0x4a502e(0x1fe)](_0x4a502e(0x130),_0x3ab54c,_0x10cba3,_0x8ce638);}else _0x3a0e5e(_0x10cba3,_0x21059b,_0x337d91,_0x158dea);}return Te;}er();var tr=Object[_0xcc8efe(0x16e)],rr=(_0x1a1bb9,_0x2a7752,_0x28bf02,_0x3ee85f)=>{const _0x257413=_0xcc8efe;for(var _0x14a845=_0x3ee85f>0x1?void 0x0:_0x3ee85f?tr(_0x2a7752,_0x28bf02):_0x2a7752,_0x2ac956=_0x1a1bb9[_0x257413(0x18a)]-0x1,_0x3e95ca;_0x2ac956>=0x0;_0x2ac956--)(_0x3e95ca=_0x1a1bb9[_0x2ac956])&&(_0x14a845=_0x3e95ca(_0x14a845)||_0x14a845);return _0x14a845;},sr=(_0x3532b2,_0x2a9537)=>(_0x55a310,_0x333404)=>_0x2a9537(_0x55a310,_0x333404,_0x3532b2);let Ne=class extends _0x3b16e0{constructor(_0x33de4b){super(),this['_configService']=_0x33de4b;}[_0xcc8efe(0x1ca)](_0x1e7387){const _0x4f5af5=_0xcc8efe;var _0x50a737;const _0x4e1af9=(_0x50a737=this['_configService'][_0x4f5af5(0xd7)](Be))==null?void 0x0:_0x50a737[_0x4f5af5(0x194)];try{const _0xf5e14f=new Qt(_0x1e7387,{'headers':{..._0x4e1af9}}),_0x286752=new _0x3ae965();return{'URL':_0x1e7387,'close':(_0x19f206,_0xace8cb)=>{_0xf5e14f['close'](_0x19f206,_0xace8cb),_0x286752['dispose']();},'send':_0x1ae5c9=>{const _0x2746c1=_0x4f5af5;_0xf5e14f[_0x2746c1(0x125)](_0x1ae5c9);},'open$':new _0x1c4acd(_0x3a4bd9=>{const _0x584671=_0x4f5af5,_0x2307cd=_0x58168e=>_0x3a4bd9[_0x584671(0x226)](_0x58168e);_0xf5e14f[_0x584671(0x22a)](_0x584671(0x205),_0x2307cd),_0x286752['add'](_0x5b17c8(()=>_0xf5e14f[_0x584671(0x1dd)](_0x584671(0x205),_0x2307cd)));})[_0x4f5af5(0x14c)](_0x33be26()),'close$':new _0x1c4acd(_0x399f30=>{const _0x204398=_0x4f5af5,_0xcc3e61=_0x193658=>_0x399f30['next'](_0x193658);_0xf5e14f[_0x204398(0x22a)]('close',_0xcc3e61),_0x286752[_0x204398(0x1bd)](_0x5b17c8(()=>_0xf5e14f[_0x204398(0x1dd)](_0x204398(0x16c),_0xcc3e61)));})['pipe'](_0x33be26()),'error$':new _0x1c4acd(_0x14a72c=>{const _0x39d35a=_0x4f5af5,_0x3c6f9b=_0x5cd870=>_0x14a72c['next'](_0x5cd870);_0xf5e14f[_0x39d35a(0x22a)](_0x39d35a(0x199),_0x3c6f9b),_0x286752[_0x39d35a(0x1bd)](_0x5b17c8(()=>_0xf5e14f[_0x39d35a(0x1dd)](_0x39d35a(0x199),_0x3c6f9b)));})[_0x4f5af5(0x14c)](_0x33be26()),'message$':new _0x1c4acd(_0x4cd527=>{const _0x5f48e7=_0x4f5af5,_0x149338=_0x5d6d88=>_0x4cd527[_0x5f48e7(0x226)](_0x5d6d88);_0xf5e14f[_0x5f48e7(0x22a)](_0x5f48e7(0xe1),_0x149338),_0x286752[_0x5f48e7(0x1bd)](_0x5b17c8(()=>_0xf5e14f[_0x5f48e7(0x1dd)]('message',_0x149338)));})[_0x4f5af5(0x14c)](_0x33be26())};}catch(_0x49bc06){return console[_0x4f5af5(0x199)](_0x49bc06),null;}}};Ne=rr([sr(0x0,_0x16f89b)],Ne);var ir=Object[_0xcc8efe(0xf2)],nr=Object['getOwnPropertyDescriptor'],or=(_0x278c14,_0x412f5d,_0x44d56e)=>_0x412f5d in _0x278c14?ir(_0x278c14,_0x412f5d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44d56e}):_0x278c14[_0x412f5d]=_0x44d56e,ar=(_0x619466,_0x3a0fa2,_0x570ebe,_0x4d29e8)=>{const _0x49ab83=_0xcc8efe;for(var _0x53ad9e=_0x4d29e8>0x1?void 0x0:_0x4d29e8?nr(_0x3a0fa2,_0x570ebe):_0x3a0fa2,_0x4ac629=_0x619466[_0x49ab83(0x18a)]-0x1,_0x5c4752;_0x4ac629>=0x0;_0x4ac629--)(_0x5c4752=_0x619466[_0x4ac629])&&(_0x53ad9e=_0x5c4752(_0x53ad9e)||_0x53ad9e);return _0x53ad9e;},ke=(_0x8101c7,_0x3ede5c)=>(_0x41880a,_0x185d99)=>_0x3ede5c(_0x41880a,_0x185d99,_0x8101c7),lr=(_0x46ea3b,_0x2efa4a,_0x34d7dd)=>or(_0x46ea3b,_0x2efa4a+'',_0x34d7dd);let Pe=class extends _0x9942f0{constructor(_0x48ce80=Ft,_0x563fe0,_0x70c46a,_0xee197d){const _0x52fede=_0xcc8efe;_0x48ce80[_0x52fede(0x194)]||_0x563fe0['warn'](_0x52fede(0x220)),super(),this[_0x52fede(0x1fb)]=_0x70c46a,this[_0x52fede(0x187)]=_0xee197d,this[_0x52fede(0x1fb)][_0x52fede(0x182)](Be,_0x48ce80);}[_0xcc8efe(0x112)](){this['_registerDependencies']();}[_0xcc8efe(0x1d3)](){const _0x351871=_0xcc8efe;_0x4379ae(this[_0x351871(0x187)],[[_0x42f225,{'useClass':Ne}]]);}};lr(Pe,_0xcc8efe(0x177),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x4ef3c2(_0x5a1aa7),ke(0x1,_0x3cdab6),ke(0x2,_0x16f89b),ke(0x3,_0x4857b1(_0x45764d))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x1299da,_0x5266bd,_0x4c0370,_0xc9428)=>{const _0x3e7422=_0xcc8efe;for(var _0x5c4c53=_0xc9428>0x1?void 0x0:_0xc9428?fr(_0x5266bd,_0x4c0370):_0x5266bd,_0x2672d0=_0x1299da[_0x3e7422(0x18a)]-0x1,_0x35c6dd;_0x2672d0>=0x0;_0x2672d0--)(_0x35c6dd=_0x1299da[_0x2672d0])&&(_0x5c4c53=_0x35c6dd(_0x5c4c53)||_0x5c4c53);return _0x5c4c53;},se=(_0x15b13b,_0x5b3918)=>(_0x1f2401,_0x104720)=>_0x5b3918(_0x1f2401,_0x104720,_0x15b13b);let at=class extends _0x6f9046{constructor(_0x18e47e,_0x379d55,_0x5877ec,_0xf6f50d,_0x2bd6e8){const _0x87091d=_0xcc8efe;super(_0x18e47e,_0x379d55,_0x5877ec,_0xf6f50d,_0x2bd6e8);const _0x5c7ae5=this[_0x87091d(0x1fb)][_0x87091d(0xd7)](Be);this[_0x87091d(0x1c0)][_0x87091d(0x140)]({'interceptor':(_0x3f01c7,_0x51c5ab)=>{const _0x3f6d5e=_0x87091d;var _0x149dea;const _0xa9e951=_0x3f01c7[_0x3f6d5e(0x12f)];return(_0x149dea=_0x5c7ae5==null?void 0x0:_0x5c7ae5[_0x3f6d5e(0x194)])!=null&&_0x149dea[_0x3f6d5e(0x1a1)]&&_0xa9e951['set']('Cookie',_0x5c7ae5['customHeaders'][_0x3f6d5e(0x1a1)]),_0x51c5ab(_0x3f01c7);}});}async[_0xcc8efe(0x1ca)](_0xb1c6b9){const _0x5802e3=_0xcc8efe;return this[_0x5802e3(0x218)](_0xb1c6b9);}};at=cr([se(0x0,_0x4857b1(_0x45764d)),se(0x1,_0x4857b1(_0x10ddf5)),se(0x2,_0x16f89b),se(0x3,_0x3cdab6),se(0x4,_0x5f4535)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};