@univerjs-pro/collaboration-client-node 0.12.2-experimental.20251201-5b27b55 → 0.12.2-experimental.20251202-7f1a98f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x321d1b=_0x5908;(function(_0x1dd87b,_0x32bf87){const _0x477023=_0x5908,_0x18c6e6=_0x1dd87b();while(!![]){try{const _0x54e19c=-parseInt(_0x477023(0x2cf))/0x1+-parseInt(_0x477023(0x26b))/0x2+parseInt(_0x477023(0x29d))/0x3+-parseInt(_0x477023(0x1f6))/0x4*(parseInt(_0x477023(0x24e))/0x5)+-parseInt(_0x477023(0x1a9))/0x6*(-parseInt(_0x477023(0x259))/0x7)+-parseInt(_0x477023(0x236))/0x8+parseInt(_0x477023(0x323))/0x9*(parseInt(_0x477023(0x1f3))/0xa);if(_0x54e19c===_0x32bf87)break;else _0x18c6e6['push'](_0x18c6e6['shift']());}catch(_0x465402){_0x18c6e6['push'](_0x18c6e6['shift']());}}}(_0x1e21,0x62c97));import{UniverCollaborationClientPlugin as _0x15c146,CollaborationSocketService as _0x15b2d4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2b6b22,DisposableCollection as _0x5bfc48,toDisposable as _0x556d22,IConfigService as _0x102e63,DependentOn as _0x12e78d,ILogService as _0x135ec6,Inject as _0x3f1162,Injector as _0x5e4375,Plugin as _0x4b98d8,registerDependencies as _0x12307e}from'@univerjs/core';import{ISocketService as _0x1bc607,HTTPService as _0x372ae7}from'@univerjs/network';import{Observable as _0x2393a3,share as _0x22a080}from'rxjs';import _0x3b8a02 from'events';import _0x49531b from'https';import _0x3bc34d from'http';import _0x5608cb from'net';import _0x4705fe from'tls';import _0x543b83 from'crypto';import _0xd844bd from'stream';import _0x5580fa from'url';import _0x4d08a8 from'zlib';import _0x2cba69 from'buffer';import{ISnapshotServerService as _0x2aa131}from'@univerjs-pro/collaboration';const Be=_0x321d1b(0x1f2),Ft={'customHeaders':{}};function Wt(_0xcc0d92){const _0x25a5f7=_0x321d1b;return _0xcc0d92&&_0xcc0d92[_0x25a5f7(0x1c9)]&&Object['prototype'][_0x25a5f7(0x2b9)]['call'](_0xcc0d92,_0x25a5f7(0x1f1))?_0xcc0d92['default']:_0xcc0d92;}function ut(_0x282450){const _0x3fc201=_0x321d1b;if(Object[_0x3fc201(0x29f)][_0x3fc201(0x2b9)]['call'](_0x282450,_0x3fc201(0x1c9)))return _0x282450;var _0x52b2d1=_0x282450[_0x3fc201(0x1f1)];if(typeof _0x52b2d1=='function'){var _0x5c043e=function _0x4520b4(){const _0x283821=_0x3fc201;var _0xe2040e=!0x1;try{_0xe2040e=this instanceof _0x4520b4;}catch{}return _0xe2040e?Reflect[_0x283821(0x2fb)](_0x52b2d1,arguments,this[_0x283821(0x293)]):_0x52b2d1[_0x283821(0x208)](this,arguments);};_0x5c043e['prototype']=_0x52b2d1['prototype'];}else _0x5c043e={};return Object[_0x3fc201(0x2d5)](_0x5c043e,_0x3fc201(0x1c9),{'value':!0x0}),Object[_0x3fc201(0x1f5)](_0x282450)[_0x3fc201(0x269)](function(_0x16c25c){const _0x4d967e=_0x3fc201;var _0x296bf3=Object['getOwnPropertyDescriptor'](_0x282450,_0x16c25c);Object[_0x4d967e(0x2d5)](_0x5c043e,_0x16c25c,_0x296bf3['get']?_0x296bf3:{'enumerable':!0x0,'get':function(){return _0x282450[_0x16c25c];}});}),_0x5c043e;}var te={'exports':{}},ge,Ye;function V(){const _0x13855b=_0x321d1b;if(Ye)return ge;Ye=0x1;const _0x502aa3=[_0x13855b(0x1a7),_0x13855b(0x2ad),_0x13855b(0x1d6)],_0x55f16d=typeof Blob<'u';return _0x55f16d&&_0x502aa3[_0x13855b(0x2ac)](_0x13855b(0x267)),ge={'BINARY_TYPES':_0x502aa3,'EMPTY_BUFFER':Buffer[_0x13855b(0x1ac)](0x0),'GUID':_0x13855b(0x1bb),'hasBlob':_0x55f16d,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x13855b(0x2a2)),'kStatusCode':Symbol(_0x13855b(0x195)),'kWebSocket':Symbol(_0x13855b(0x2ce)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x321d1b(0x20c)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x321d1b(0x312)],{'value':_0x321d1b(0x1e2)})),Vt=ut(Gt);var Ke;function ce(){const _0x30ad8e=_0x321d1b;if(Ke)return te[_0x30ad8e(0x222)];Ke=0x1;const {EMPTY_BUFFER:_0x4b95ca}=V(),_0x3cac8b=Buffer[Symbol[_0x30ad8e(0x2a7)]];function _0xed6106(_0x532d7c,_0x4176a6){const _0x444a56=_0x30ad8e;if(_0x532d7c['length']===0x0)return _0x4b95ca;if(_0x532d7c[_0x444a56(0x245)]===0x1)return _0x532d7c[0x0];const _0x637190=Buffer[_0x444a56(0x210)](_0x4176a6);let _0x527985=0x0;for(let _0x2841e6=0x0;_0x2841e6<_0x532d7c[_0x444a56(0x245)];_0x2841e6++){const _0x47c516=_0x532d7c[_0x2841e6];_0x637190[_0x444a56(0x266)](_0x47c516,_0x527985),_0x527985+=_0x47c516['length'];}return _0x527985<_0x4176a6?new _0x3cac8b(_0x637190[_0x444a56(0x192)],_0x637190[_0x444a56(0x2a6)],_0x527985):_0x637190;}function _0x4d9dfd(_0x321d35,_0x39bf46,_0x7d013b,_0x34994d,_0x4462db){for(let _0x2dc655=0x0;_0x2dc655<_0x4462db;_0x2dc655++)_0x7d013b[_0x34994d+_0x2dc655]=_0x321d35[_0x2dc655]^_0x39bf46[_0x2dc655&0x3];}function _0x294e6b(_0x26305c,_0x22a48c){const _0x700f27=_0x30ad8e;for(let _0x4aedb2=0x0;_0x4aedb2<_0x26305c[_0x700f27(0x245)];_0x4aedb2++)_0x26305c[_0x4aedb2]^=_0x22a48c[_0x4aedb2&0x3];}function _0x547e9c(_0x31c891){const _0x1b2bc0=_0x30ad8e;return _0x31c891[_0x1b2bc0(0x245)]===_0x31c891[_0x1b2bc0(0x192)][_0x1b2bc0(0x1ab)]?_0x31c891['buffer']:_0x31c891['buffer']['slice'](_0x31c891[_0x1b2bc0(0x2a6)],_0x31c891[_0x1b2bc0(0x2a6)]+_0x31c891[_0x1b2bc0(0x245)]);}function _0x430676(_0x45f104){const _0x227c75=_0x30ad8e;if(_0x430676[_0x227c75(0x329)]=!0x0,Buffer[_0x227c75(0x2a4)](_0x45f104))return _0x45f104;let _0x39b41a;return _0x45f104 instanceof ArrayBuffer?_0x39b41a=new _0x3cac8b(_0x45f104):ArrayBuffer[_0x227c75(0x277)](_0x45f104)?_0x39b41a=new _0x3cac8b(_0x45f104[_0x227c75(0x192)],_0x45f104['byteOffset'],_0x45f104[_0x227c75(0x1ab)]):(_0x39b41a=Buffer[_0x227c75(0x324)](_0x45f104),_0x430676[_0x227c75(0x329)]=!0x1),_0x39b41a;}if(te[_0x30ad8e(0x222)]={'concat':_0xed6106,'mask':_0x4d9dfd,'toArrayBuffer':_0x547e9c,'toBuffer':_0x430676,'unmask':_0x294e6b},!process[_0x30ad8e(0x314)][_0x30ad8e(0x2dc)])try{const _0x3e7fa3=Vt;te[_0x30ad8e(0x222)][_0x30ad8e(0x221)]=function(_0xd7149d,_0x5d2b28,_0x192eee,_0x4a9216,_0xbdfcf8){const _0x1ea8d8=_0x30ad8e;_0xbdfcf8<0x30?_0x4d9dfd(_0xd7149d,_0x5d2b28,_0x192eee,_0x4a9216,_0xbdfcf8):_0x3e7fa3[_0x1ea8d8(0x221)](_0xd7149d,_0x5d2b28,_0x192eee,_0x4a9216,_0xbdfcf8);},te['exports'][_0x30ad8e(0x2e1)]=function(_0x355503,_0x1dd433){const _0x35ecb0=_0x30ad8e;_0x355503[_0x35ecb0(0x245)]<0x20?_0x294e6b(_0x355503,_0x1dd433):_0x3e7fa3[_0x35ecb0(0x2e1)](_0x355503,_0x1dd433);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x3a3803=_0x321d1b;if(Xe)return ye;Xe=0x1;const _0x49f214=Symbol(_0x3a3803(0x1c4)),_0x389bf4=Symbol(_0x3a3803(0x2ca));class _0x3235f8{constructor(_0x5ad1fd){const _0x3138df=_0x3a3803;this[_0x49f214]=()=>{const _0x1e7b93=_0x5908;this[_0x1e7b93(0x1ca)]--,this[_0x389bf4]();},this['concurrency']=_0x5ad1fd||0x1/0x0,this[_0x3138df(0x2df)]=[],this[_0x3138df(0x1ca)]=0x0;}[_0x3a3803(0x2d0)](_0x254922){const _0xe2a295=_0x3a3803;this[_0xe2a295(0x2df)][_0xe2a295(0x2ac)](_0x254922),this[_0x389bf4]();}[_0x389bf4](){const _0x233148=_0x3a3803;if(this['pending']!==this[_0x233148(0x308)]&&this[_0x233148(0x2df)]['length']){const _0x59cbdc=this[_0x233148(0x2df)][_0x233148(0x282)]();this[_0x233148(0x1ca)]++,_0x59cbdc(this[_0x49f214]);}}}return ye=_0x3235f8,ye;}var ve,Ze;function he(){const _0x275f70=_0x321d1b;if(Ze)return ve;Ze=0x1;const _0x2f26cf=_0x4d08a8,_0x47b593=ce(),_0x470867=qt(),{kStatusCode:_0x5c91e6}=V(),_0x54da41=Buffer[Symbol['species']],_0x1bf65b=Buffer[_0x275f70(0x324)]([0x0,0x0,0xff,0xff]),_0x3c19e4=Symbol(_0x275f70(0x32e)),_0x4de5f3=Symbol(_0x275f70(0x220)),_0x571e88=Symbol(_0x275f70(0x2f8)),_0x20e359=Symbol(_0x275f70(0x1e7)),_0x1c404e=Symbol(_0x275f70(0x2b7));let _0x433e66;class _0x42f660{constructor(_0xdc745b,_0x17658d,_0x4aef40){const _0x82d509=_0x275f70;if(this[_0x82d509(0x1d7)]=_0x4aef40|0x0,this['_options']=_0xdc745b||{},this[_0x82d509(0x327)]=this[_0x82d509(0x333)]['threshold']!==void 0x0?this[_0x82d509(0x333)][_0x82d509(0x33f)]:0x400,this[_0x82d509(0x264)]=!!_0x17658d,this[_0x82d509(0x231)]=null,this[_0x82d509(0x2ed)]=null,this['params']=null,!_0x433e66){const _0x127271=this[_0x82d509(0x333)]['concurrencyLimit']!==void 0x0?this[_0x82d509(0x333)][_0x82d509(0x228)]:0xa;_0x433e66=new _0x470867(_0x127271);}}static get[_0x275f70(0x2aa)](){const _0x5d5f4b=_0x275f70;return _0x5d5f4b(0x32e);}[_0x275f70(0x2f9)](){const _0x53aefc=_0x275f70,_0x55f296={};return this[_0x53aefc(0x333)]['serverNoContextTakeover']&&(_0x55f296[_0x53aefc(0x27d)]=!0x0),this['_options'][_0x53aefc(0x1d3)]&&(_0x55f296[_0x53aefc(0x1e6)]=!0x0),this[_0x53aefc(0x333)]['serverMaxWindowBits']&&(_0x55f296[_0x53aefc(0x1c7)]=this[_0x53aefc(0x333)][_0x53aefc(0x2a9)]),this[_0x53aefc(0x333)][_0x53aefc(0x1c5)]?_0x55f296[_0x53aefc(0x302)]=this[_0x53aefc(0x333)]['clientMaxWindowBits']:this[_0x53aefc(0x333)]['clientMaxWindowBits']==null&&(_0x55f296[_0x53aefc(0x302)]=!0x0),_0x55f296;}[_0x275f70(0x321)](_0x4600e9){const _0x1f71d8=_0x275f70;return _0x4600e9=this['normalizeParams'](_0x4600e9),this[_0x1f71d8(0x33e)]=this['_isServer']?this[_0x1f71d8(0x331)](_0x4600e9):this[_0x1f71d8(0x19e)](_0x4600e9),this[_0x1f71d8(0x33e)];}[_0x275f70(0x33c)](){const _0x285dc9=_0x275f70;if(this[_0x285dc9(0x2ed)]&&(this[_0x285dc9(0x2ed)][_0x285dc9(0x294)](),this[_0x285dc9(0x2ed)]=null),this[_0x285dc9(0x231)]){const _0x420654=this[_0x285dc9(0x231)][_0x571e88];this[_0x285dc9(0x231)][_0x285dc9(0x294)](),this[_0x285dc9(0x231)]=null,_0x420654&&_0x420654(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x275f70(0x331)](_0x31f420){const _0x707953=_0x275f70,_0x49c825=this[_0x707953(0x333)],_0x17b39d=_0x31f420[_0x707953(0x213)](_0x127e94=>!(_0x49c825['serverNoContextTakeover']===!0x1&&_0x127e94[_0x707953(0x27d)]||_0x127e94['server_max_window_bits']&&(_0x49c825[_0x707953(0x2a9)]===!0x1||typeof _0x49c825[_0x707953(0x2a9)]=='number'&&_0x49c825['serverMaxWindowBits']>_0x127e94[_0x707953(0x1c7)])||typeof _0x49c825['clientMaxWindowBits']=='number'&&!_0x127e94[_0x707953(0x302)]));if(!_0x17b39d)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x49c825['serverNoContextTakeover']&&(_0x17b39d[_0x707953(0x27d)]=!0x0),_0x49c825[_0x707953(0x1d3)]&&(_0x17b39d['client_no_context_takeover']=!0x0),typeof _0x49c825[_0x707953(0x2a9)]==_0x707953(0x27e)&&(_0x17b39d['server_max_window_bits']=_0x49c825[_0x707953(0x2a9)]),typeof _0x49c825[_0x707953(0x1c5)]==_0x707953(0x27e)?_0x17b39d[_0x707953(0x302)]=_0x49c825[_0x707953(0x1c5)]:(_0x17b39d[_0x707953(0x302)]===!0x0||_0x49c825['clientMaxWindowBits']===!0x1)&&delete _0x17b39d['client_max_window_bits'],_0x17b39d;}['acceptAsClient'](_0xc49a4f){const _0x39d7f5=_0x275f70,_0x53aaa4=_0xc49a4f[0x0];if(this[_0x39d7f5(0x333)]['clientNoContextTakeover']===!0x1&&_0x53aaa4['client_no_context_takeover'])throw new Error(_0x39d7f5(0x2e5));if(!_0x53aaa4[_0x39d7f5(0x302)])typeof this[_0x39d7f5(0x333)][_0x39d7f5(0x1c5)]=='number'&&(_0x53aaa4[_0x39d7f5(0x302)]=this[_0x39d7f5(0x333)][_0x39d7f5(0x1c5)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x39d7f5(0x333)]['clientMaxWindowBits']==_0x39d7f5(0x27e)&&_0x53aaa4['client_max_window_bits']>this['_options'][_0x39d7f5(0x1c5)])throw new Error(_0x39d7f5(0x2e9));}return _0x53aaa4;}['normalizeParams'](_0x260f3d){const _0x2f7f78=_0x275f70;return _0x260f3d[_0x2f7f78(0x269)](_0x243563=>{const _0x2a3f4c=_0x2f7f78;Object[_0x2a3f4c(0x1f5)](_0x243563)['forEach'](_0x352382=>{const _0x4c257d=_0x2a3f4c;let _0x49ad70=_0x243563[_0x352382];if(_0x49ad70[_0x4c257d(0x245)]>0x1)throw new Error(_0x4c257d(0x19c)+_0x352382+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x49ad70=_0x49ad70[0x0],_0x352382===_0x4c257d(0x302)){if(_0x49ad70!==!0x0){const _0x5b4674=+_0x49ad70;if(!Number[_0x4c257d(0x30a)](_0x5b4674)||_0x5b4674<0x8||_0x5b4674>0xf)throw new TypeError(_0x4c257d(0x1cf)+_0x352382+_0x4c257d(0x22b)+_0x49ad70);_0x49ad70=_0x5b4674;}else{if(!this['_isServer'])throw new TypeError(_0x4c257d(0x1cf)+_0x352382+_0x4c257d(0x22b)+_0x49ad70);}}else{if(_0x352382===_0x4c257d(0x1c7)){const _0x590cc0=+_0x49ad70;if(!Number[_0x4c257d(0x30a)](_0x590cc0)||_0x590cc0<0x8||_0x590cc0>0xf)throw new TypeError(_0x4c257d(0x1cf)+_0x352382+_0x4c257d(0x22b)+_0x49ad70);_0x49ad70=_0x590cc0;}else{if(_0x352382===_0x4c257d(0x1e6)||_0x352382===_0x4c257d(0x27d)){if(_0x49ad70!==!0x0)throw new TypeError(_0x4c257d(0x1cf)+_0x352382+_0x4c257d(0x22b)+_0x49ad70);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x352382+'\x22');}}_0x243563[_0x352382]=_0x49ad70;});}),_0x260f3d;}['decompress'](_0x3f8db7,_0x5415e5,_0x37188b){const _0x368bc7=_0x275f70;_0x433e66[_0x368bc7(0x2d0)](_0x48285b=>{const _0x425b00=_0x368bc7;this[_0x425b00(0x334)](_0x3f8db7,_0x5415e5,(_0x5a0afb,_0x10bdff)=>{_0x48285b(),_0x37188b(_0x5a0afb,_0x10bdff);});});}[_0x275f70(0x1f8)](_0x3069e9,_0xd530b8,_0x19c61b){const _0x21399e=_0x275f70;_0x433e66[_0x21399e(0x2d0)](_0x5ef4e5=>{const _0x2bb868=_0x21399e;this[_0x2bb868(0x201)](_0x3069e9,_0xd530b8,(_0x537232,_0x2568ad)=>{_0x5ef4e5(),_0x19c61b(_0x537232,_0x2568ad);});});}[_0x275f70(0x334)](_0x2032fe,_0x428c9d,_0x552319){const _0x1939cb=_0x275f70,_0xc6ccf4=this[_0x1939cb(0x264)]?_0x1939cb(0x1fa):'server';if(!this[_0x1939cb(0x2ed)]){const _0x1c2949=_0xc6ccf4+'_max_window_bits',_0x1ae50a=typeof this[_0x1939cb(0x33e)][_0x1c2949]!=_0x1939cb(0x27e)?_0x2f26cf[_0x1939cb(0x253)]:this['params'][_0x1c2949];this[_0x1939cb(0x2ed)]=_0x2f26cf[_0x1939cb(0x223)]({...this[_0x1939cb(0x333)]['zlibInflateOptions'],'windowBits':_0x1ae50a}),this[_0x1939cb(0x2ed)][_0x3c19e4]=this,this[_0x1939cb(0x2ed)][_0x4de5f3]=0x0,this[_0x1939cb(0x2ed)][_0x20e359]=[],this[_0x1939cb(0x2ed)]['on'](_0x1939cb(0x2b7),_0x1ae288),this[_0x1939cb(0x2ed)]['on'](_0x1939cb(0x2c8),_0x57477f);}this[_0x1939cb(0x2ed)][_0x571e88]=_0x552319,this[_0x1939cb(0x2ed)][_0x1939cb(0x30c)](_0x2032fe),_0x428c9d&&this[_0x1939cb(0x2ed)][_0x1939cb(0x30c)](_0x1bf65b),this[_0x1939cb(0x2ed)]['flush'](()=>{const _0x1778fb=_0x1939cb,_0x5ea67d=this[_0x1778fb(0x2ed)][_0x1c404e];if(_0x5ea67d){this[_0x1778fb(0x2ed)]['close'](),this[_0x1778fb(0x2ed)]=null,_0x552319(_0x5ea67d);return;}const _0x5210dc=_0x47b593[_0x1778fb(0x2a8)](this[_0x1778fb(0x2ed)][_0x20e359],this['_inflate'][_0x4de5f3]);this[_0x1778fb(0x2ed)][_0x1778fb(0x315)][_0x1778fb(0x28f)]?(this[_0x1778fb(0x2ed)][_0x1778fb(0x294)](),this[_0x1778fb(0x2ed)]=null):(this[_0x1778fb(0x2ed)][_0x4de5f3]=0x0,this['_inflate'][_0x20e359]=[],_0x428c9d&&this[_0x1778fb(0x33e)][_0xc6ccf4+_0x1778fb(0x2c2)]&&this[_0x1778fb(0x2ed)][_0x1778fb(0x251)]()),_0x552319(null,_0x5210dc);});}[_0x275f70(0x201)](_0x21030d,_0x17f89f,_0x25f295){const _0x403240=_0x275f70,_0x1f2615=this['_isServer']?_0x403240(0x2b4):_0x403240(0x1fa);if(!this['_deflate']){const _0x5ddc38=_0x1f2615+_0x403240(0x326),_0x214531=typeof this['params'][_0x5ddc38]!=_0x403240(0x27e)?_0x2f26cf['Z_DEFAULT_WINDOWBITS']:this['params'][_0x5ddc38];this['_deflate']=_0x2f26cf[_0x403240(0x31e)]({...this[_0x403240(0x333)][_0x403240(0x2e8)],'windowBits':_0x214531}),this['_deflate'][_0x4de5f3]=0x0,this[_0x403240(0x231)][_0x20e359]=[],this[_0x403240(0x231)]['on'](_0x403240(0x2c8),_0x3746fb);}this['_deflate'][_0x571e88]=_0x25f295,this[_0x403240(0x231)][_0x403240(0x30c)](_0x21030d),this['_deflate'][_0x403240(0x1ce)](_0x2f26cf['Z_SYNC_FLUSH'],()=>{const _0x4da8cc=_0x403240;if(!this['_deflate'])return;let _0x5e9e68=_0x47b593['concat'](this[_0x4da8cc(0x231)][_0x20e359],this[_0x4da8cc(0x231)][_0x4de5f3]);_0x17f89f&&(_0x5e9e68=new _0x54da41(_0x5e9e68[_0x4da8cc(0x192)],_0x5e9e68[_0x4da8cc(0x2a6)],_0x5e9e68[_0x4da8cc(0x245)]-0x4)),this[_0x4da8cc(0x231)][_0x571e88]=null,this[_0x4da8cc(0x231)][_0x4de5f3]=0x0,this[_0x4da8cc(0x231)][_0x20e359]=[],_0x17f89f&&this['params'][_0x1f2615+_0x4da8cc(0x2c2)]&&this['_deflate'][_0x4da8cc(0x251)](),_0x25f295(null,_0x5e9e68);});}}ve=_0x42f660;function _0x3746fb(_0x3697dc){const _0x45d608=_0x275f70;this[_0x20e359]['push'](_0x3697dc),this[_0x4de5f3]+=_0x3697dc[_0x45d608(0x245)];}function _0x57477f(_0x48c8d5){const _0x4404d2=_0x275f70;if(this[_0x4de5f3]+=_0x48c8d5[_0x4404d2(0x245)],this[_0x3c19e4][_0x4404d2(0x1d7)]<0x1||this[_0x4de5f3]<=this[_0x3c19e4]['_maxPayload']){this[_0x20e359]['push'](_0x48c8d5);return;}this[_0x1c404e]=new RangeError(_0x4404d2(0x229)),this[_0x1c404e][_0x4404d2(0x1b6)]=_0x4404d2(0x23e),this[_0x1c404e][_0x5c91e6]=0x3f1,this[_0x4404d2(0x337)](_0x4404d2(0x2c8),_0x57477f),this['reset']();}function _0x1ae288(_0x4396f0){const _0x3e0455=_0x275f70;if(this[_0x3c19e4][_0x3e0455(0x2ed)]=null,this[_0x1c404e]){this[_0x571e88](this[_0x1c404e]);return;}_0x4396f0[_0x5c91e6]=0x3ef,this[_0x571e88](_0x4396f0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x321d1b(0x20c)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x321d1b(0x312)],{'value':_0x321d1b(0x1e2)})),Yt=ut(zt);function _0x1e21(){const _0x432265=['The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','skipUTF8Validation','kCode','_deflate','invalid\x20UTF-8\x20sequence','_shouldEmitClose','onStarting','_loop','5472208GEpNMu','message','Unsupported\x20protocol\x20version:\x20','dequeue','_extensions','_server','isValidUTF8','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_writableState','delete','The\x20URL\x20contains\x20a\x20fragment\x20identifier','conclude','The\x20\x22','length','haveLength','ws:','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Upgrade:\x20websocket','WebSocket\x20is\x20not\x20open:\x20readyState\x20','OPEN','resume','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','70860oESMTy','Maximum\x20redirects\x20exceeded','pluginName','reset','Basic\x20','Z_DEFAULT_WINDOWBITS','stream','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','authorized','readable','sec-websocket-extensions','10766OtUzBi','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_buffers','has','text/plain','invalid\x20opcode\x20','dataMessage','allowSynchronousEvents','url','Opening\x20handshake\x20has\x20timed\x20out','finished','_isServer','bufferedAmount','set','blob','sec-websocket-protocol','forEach','sendFrame','392222SbpGPJ','href','size','_injector','fin','_masked','readUInt32BE','_fin','_final','redirect','_errored','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','isView','WS_ERR_UNEXPECTED_RSV_2_3','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Sec-WebSocket-Origin','kMessage','extensions','server_no_context_takeover','number','Sec-WebSocket-Accept:\x20','Invalid\x20WebSocket\x20frame:\x20','Invalid\x20URL:\x20','shift','writeUIntBE','_httpService','host','format','hostname','ping','CONNECTING','needDrain','noServer','Sec-WebSocket-Extensions:\x20','listenerCount','parse','endEmitted','createServer','charCodeAt','protocol','constructor','close','create','generateMask','includes','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_messageLength','getData','_url','wasClean','609945kvxyGF','onmessage','prototype','location','_generateMask','kListener','sha1','isBuffer','WS_ERR_INVALID_UTF8','byteOffset','species','concat','serverMaxWindowBits','extensionName','onclose','push','arraybuffer','_mask','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','GET','HTTP/1.1\x20101\x20Switching\x20Protocols','isIP','sec-websocket-key','server','update','maskBuffer','error','completeUpgrade','hasOwnProperty','Cookie','getConfig','_fragmented','destroy','getOwnPropertyDescriptor','origin','arrayBuffer','dispose','_no_context_takeover','\x0d\x0a\x0d\x0a','writeUInt16BE','send','_fragments','sec-websocket-accept','data','_removeListeners','kRun','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','autoPong','removeEventListener','websocket','197334WFmHHt','add','Invalid\x20Sec-WebSocket-Accept\x20header','onerror','path','toLowerCase','defineProperty','_closeFrameSent','getInfo','captureStackTrace','listen','readyState','MASK\x20must\x20be\x20set','WS_NO_BUFFER_UTIL','bind','writable','jobs','method','unmask','Unexpected\x20end\x20of\x20input','maxPayload','_state','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','maxRedirects','connect','zlibDeflateOptions','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','setSocket','unexpected-response','_autoPong','_inflate','_socket','port','HTTP/1.1\x20','customHeaders','pong','search','getPayloadLength16','setNoDelay','toString','upgrade','callback','offer','verifyClient','construct','createError','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','perMessageDeflate','read','_bufferedAmount','test','client_max_window_bits','string','call','address','once','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','concurrency','type','isInteger','_allowSynchronousEvents','write','options','startLoop','emitClose','replace','createSocket','toStringTag','object','env','_readableState','binary','Server\x20sent\x20no\x20subprotocol','_payloadLength','ws+unix:','pow','password','socketPath','sec-websocket-version','createDeflateRaw','setConfig','WebSocket','accept','setTimeout','21753DpykKn','from','clients','_max_window_bits','_threshold','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','readOnly','nextTick','_originalHostOrSocketPath','listening','_opcode','permessage-deflate','Sec-WebSocket-Protocol','headers','acceptAsServer','_errorEmitted','_options','_decompress','writeHead','target','removeListener','objectMode','\x22\x20subprotocol\x20is\x20duplicated','kData','_protocol','cleanup','_read','params','threshold','followRedirects','then','The\x20URL\x27s\x20pathname\x20is\x20empty','_configService','wsClientError','setHeader','kError','username','enqueue','timeout','connection','buffer','WS_ERR_INVALID_OPCODE','isArray','status-code','WS_ERR_INVALID_CLOSE_CODE','_closeFrameReceived','getPayloadLength64','response','13,\x208','opcode','Parameter\x20\x22','unshift','acceptAsClient','_doCreateSocket','controlMessage','join','addEventListener','end','request','_totalPayloadLength','_maskBuffer','nodebuffer','protocolVersion','1806bMDwMF','_queue','byteLength','alloc','isPaused','kAborted','socket','handshakeTimeout','errorEmitted','readUInt16BE','_readyState','terminate','removeAllListeners','code','drain','kByteLength','FIN\x20must\x20be\x20set','entries','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','frame','_registerDependencies','Connection:\x20Upgrade','Blob','dispatch','WS_ERR_UNEXPECTED_RSV_1','Origin','_compressed','kDone','clientMaxWindowBits','destroyed','server_max_window_bits','Invalid\x20Sec-WebSocket-Protocol\x20header','__esModule','pending','invalid\x20payload\x20length\x20','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_binaryType','flush','Invalid\x20value\x20for\x20parameter\x20\x22','_originalIpc','_skipUTF8Validation','clientTracking','clientNoContextTakeover','reason','servername','fragments','_maxPayload','_firstFragment','isServer','shouldHandle','Invalid\x20Sec-WebSocket-Extensions\x20header','auth','_paused','uncork','Upgrade','pause','pathname','Module','WS_NO_UTF_8_VALIDATE','base64','_closeMessage','client_no_context_takeover','buffers','pipe','handleUpgrade','slice','digest','_receiver','_closeTimer','Sec-WebSocket-Protocol:\x20','_redirects','authorization','default','collaboration-client-node.config','3610uBgyvg','Unexpected\x20character\x20at\x20index\x20','keys','16CUqNNQ','map','compress','https:','client','_req','finishRequest','handleEvent','listeners','CLOSING','RSV1\x20must\x20be\x20clear','_compress','The\x20server\x20is\x20not\x20running','File','open','_bufferedBytes','abort','decompress','apply','invalid\x20opcode\x200','wss:','finish','freeze','_write','getBlobData','registerHTTPInterceptor','allocUnsafe','Invalid\x20Upgrade\x20header','getMask','find','_destroy','startsWith','Server\x20sent\x20an\x20invalid\x20subprotocol','_originalSecure','emit','_closeCode','CLOSED','indexOf','binaryType','_sender','consume','createConnection','total-length','mask','exports','createInflateRaw','WS_ERR_UNEXPECTED_MASK','next','statusCode','cork','concurrencyLimit','Max\x20payload\x20size\x20exceeded','kType','\x22:\x20','function','Invalid\x20HTTP\x20method'];_0x1e21=function(){return _0x432265;};return _0x1e21();}var Qe;function ne(){const _0x5df5ff=_0x321d1b;if(Qe)return re[_0x5df5ff(0x222)];Qe=0x1;const {isUtf8:_0x4f757c}=_0x2cba69,{hasBlob:_0x4088cb}=V(),_0x41a1e7=[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 _0x5dabae(_0x6a6e94){return _0x6a6e94>=0x3e8&&_0x6a6e94<=0x3f6&&_0x6a6e94!==0x3ec&&_0x6a6e94!==0x3ed&&_0x6a6e94!==0x3ee||_0x6a6e94>=0xbb8&&_0x6a6e94<=0x1387;}function _0x3d8225(_0x5d98f8){const _0x183500=_0x5df5ff,_0x1a85dd=_0x5d98f8[_0x183500(0x245)];let _0x1b0faa=0x0;for(;_0x1b0faa<_0x1a85dd;)if((_0x5d98f8[_0x1b0faa]&0x80)===0x0)_0x1b0faa++;else{if((_0x5d98f8[_0x1b0faa]&0xe0)===0xc0){if(_0x1b0faa+0x1===_0x1a85dd||(_0x5d98f8[_0x1b0faa+0x1]&0xc0)!==0x80||(_0x5d98f8[_0x1b0faa]&0xfe)===0xc0)return!0x1;_0x1b0faa+=0x2;}else{if((_0x5d98f8[_0x1b0faa]&0xf0)===0xe0){if(_0x1b0faa+0x2>=_0x1a85dd||(_0x5d98f8[_0x1b0faa+0x1]&0xc0)!==0x80||(_0x5d98f8[_0x1b0faa+0x2]&0xc0)!==0x80||_0x5d98f8[_0x1b0faa]===0xe0&&(_0x5d98f8[_0x1b0faa+0x1]&0xe0)===0x80||_0x5d98f8[_0x1b0faa]===0xed&&(_0x5d98f8[_0x1b0faa+0x1]&0xe0)===0xa0)return!0x1;_0x1b0faa+=0x3;}else{if((_0x5d98f8[_0x1b0faa]&0xf8)===0xf0){if(_0x1b0faa+0x3>=_0x1a85dd||(_0x5d98f8[_0x1b0faa+0x1]&0xc0)!==0x80||(_0x5d98f8[_0x1b0faa+0x2]&0xc0)!==0x80||(_0x5d98f8[_0x1b0faa+0x3]&0xc0)!==0x80||_0x5d98f8[_0x1b0faa]===0xf0&&(_0x5d98f8[_0x1b0faa+0x1]&0xf0)===0x80||_0x5d98f8[_0x1b0faa]===0xf4&&_0x5d98f8[_0x1b0faa+0x1]>0x8f||_0x5d98f8[_0x1b0faa]>0xf4)return!0x1;_0x1b0faa+=0x4;}else return!0x1;}}}return!0x0;}function _0x62aeec(_0x12e2f5){const _0x5562fc=_0x5df5ff;return _0x4088cb&&typeof _0x12e2f5==_0x5562fc(0x313)&&typeof _0x12e2f5[_0x5562fc(0x2c0)]==_0x5562fc(0x22c)&&typeof _0x12e2f5['type']==_0x5562fc(0x303)&&typeof _0x12e2f5[_0x5562fc(0x254)]==_0x5562fc(0x22c)&&(_0x12e2f5[Symbol['toStringTag']]===_0x5562fc(0x1bf)||_0x12e2f5[Symbol[_0x5562fc(0x312)]]===_0x5562fc(0x203));}if(re[_0x5df5ff(0x222)]={'isBlob':_0x62aeec,'isValidStatusCode':_0x5dabae,'isValidUTF8':_0x3d8225,'tokenChars':_0x41a1e7},_0x4f757c)re[_0x5df5ff(0x222)]['isValidUTF8']=function(_0x3440d8){const _0x3bcf2f=_0x5df5ff;return _0x3440d8[_0x3bcf2f(0x245)]<0x18?_0x3d8225(_0x3440d8):_0x4f757c(_0x3440d8);};else{if(!process[_0x5df5ff(0x314)][_0x5df5ff(0x1e3)])try{const _0x551a65=Yt;re['exports'][_0x5df5ff(0x23c)]=function(_0x2210d1){const _0x3f2250=_0x5df5ff;return _0x2210d1[_0x3f2250(0x245)]<0x20?_0x3d8225(_0x2210d1):_0x551a65(_0x2210d1);};}catch{}}return re[_0x5df5ff(0x222)];}var Se,Je;function dt(){const _0x31b8cb=_0x321d1b;if(Je)return Se;Je=0x1;const {Writable:_0x3badbd}=_0xd844bd,_0xd6e645=he(),{BINARY_TYPES:_0x20201b,EMPTY_BUFFER:_0x1e2121,kStatusCode:_0x36ad13,kWebSocket:_0x47112a}=V(),{concat:_0x2f5177,toArrayBuffer:_0x33fc4b,unmask:_0x49ec08}=ce(),{isValidStatusCode:_0x8e4787,isValidUTF8:_0x5cb4a0}=ne(),_0x3ae286=Buffer[Symbol[_0x31b8cb(0x2a7)]],_0x2e020c=0x0,_0x3663e6=0x1,_0x9c8d6f=0x2,_0x4328b3=0x3,_0x2f7cfc=0x4,_0x263099=0x5,_0x1a6c15=0x6;class _0x52ccc3 extends _0x3badbd{constructor(_0x4a00a6={}){const _0xc68b2e=_0x31b8cb;super(),this[_0xc68b2e(0x30b)]=_0x4a00a6[_0xc68b2e(0x260)]!==void 0x0?_0x4a00a6['allowSynchronousEvents']:!0x0,this[_0xc68b2e(0x1cd)]=_0x4a00a6['binaryType']||_0x20201b[0x0],this[_0xc68b2e(0x23a)]=_0x4a00a6[_0xc68b2e(0x27c)]||{},this[_0xc68b2e(0x264)]=!!_0x4a00a6[_0xc68b2e(0x1d9)],this[_0xc68b2e(0x1d7)]=_0x4a00a6[_0xc68b2e(0x2e3)]|0x0,this[_0xc68b2e(0x1d1)]=!!_0x4a00a6['skipUTF8Validation'],this[_0x47112a]=void 0x0,this['_bufferedBytes']=0x0,this[_0xc68b2e(0x25b)]=[],this[_0xc68b2e(0x1c3)]=!0x1,this[_0xc68b2e(0x318)]=0x0,this['_mask']=void 0x0,this[_0xc68b2e(0x2bc)]=0x0,this[_0xc68b2e(0x270)]=!0x1,this[_0xc68b2e(0x272)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0xc68b2e(0x299)]=0x0,this['_fragments']=[],this[_0xc68b2e(0x275)]=!0x1,this['_loop']=!0x1,this[_0xc68b2e(0x2e4)]=_0x2e020c;}[_0x31b8cb(0x20d)](_0x31eed5,_0x1cc7e1,_0x37585a){const _0x366dec=_0x31b8cb;if(this[_0x366dec(0x32d)]===0x8&&this[_0x366dec(0x2e4)]==_0x2e020c)return _0x37585a();this[_0x366dec(0x205)]+=_0x31eed5[_0x366dec(0x245)],this[_0x366dec(0x25b)][_0x366dec(0x2ac)](_0x31eed5),this[_0x366dec(0x30e)](_0x37585a);}[_0x31b8cb(0x21e)](_0x43fb63){const _0x4f12e0=_0x31b8cb;if(this[_0x4f12e0(0x205)]-=_0x43fb63,_0x43fb63===this['_buffers'][0x0][_0x4f12e0(0x245)])return this[_0x4f12e0(0x25b)][_0x4f12e0(0x282)]();if(_0x43fb63<this[_0x4f12e0(0x25b)][0x0][_0x4f12e0(0x245)]){const _0x4430bb=this[_0x4f12e0(0x25b)][0x0];return this[_0x4f12e0(0x25b)][0x0]=new _0x3ae286(_0x4430bb[_0x4f12e0(0x192)],_0x4430bb[_0x4f12e0(0x2a6)]+_0x43fb63,_0x4430bb[_0x4f12e0(0x245)]-_0x43fb63),new _0x3ae286(_0x4430bb[_0x4f12e0(0x192)],_0x4430bb[_0x4f12e0(0x2a6)],_0x43fb63);}const _0x3edbde=Buffer[_0x4f12e0(0x210)](_0x43fb63);do{const _0xe7cd91=this[_0x4f12e0(0x25b)][0x0],_0x1be3bf=_0x3edbde['length']-_0x43fb63;_0x43fb63>=_0xe7cd91[_0x4f12e0(0x245)]?_0x3edbde[_0x4f12e0(0x266)](this['_buffers']['shift'](),_0x1be3bf):(_0x3edbde[_0x4f12e0(0x266)](new Uint8Array(_0xe7cd91['buffer'],_0xe7cd91[_0x4f12e0(0x2a6)],_0x43fb63),_0x1be3bf),this[_0x4f12e0(0x25b)][0x0]=new _0x3ae286(_0xe7cd91[_0x4f12e0(0x192)],_0xe7cd91[_0x4f12e0(0x2a6)]+_0x43fb63,_0xe7cd91[_0x4f12e0(0x245)]-_0x43fb63)),_0x43fb63-=_0xe7cd91[_0x4f12e0(0x245)];}while(_0x43fb63>0x0);return _0x3edbde;}[_0x31b8cb(0x30e)](_0x14e831){const _0x1223e5=_0x31b8cb;this[_0x1223e5(0x235)]=!0x0;do switch(this[_0x1223e5(0x2e4)]){case _0x2e020c:this[_0x1223e5(0x2d7)](_0x14e831);break;case _0x3663e6:this['getPayloadLength16'](_0x14e831);break;case _0x9c8d6f:this['getPayloadLength64'](_0x14e831);break;case _0x4328b3:this[_0x1223e5(0x212)]();break;case _0x2f7cfc:this[_0x1223e5(0x29a)](_0x14e831);break;case _0x263099:case _0x1a6c15:this[_0x1223e5(0x235)]=!0x1;return;}while(this[_0x1223e5(0x235)]);this[_0x1223e5(0x275)]||_0x14e831();}['getInfo'](_0x9623bd){const _0x3ea2b1=_0x31b8cb;if(this[_0x3ea2b1(0x205)]<0x2){this[_0x3ea2b1(0x235)]=!0x1;return;}const _0x6c0191=this[_0x3ea2b1(0x21e)](0x2);if((_0x6c0191[0x0]&0x30)!==0x0){const _0xcb825e=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ea2b1(0x278));_0x9623bd(_0xcb825e);return;}const _0xb3af31=(_0x6c0191[0x0]&0x40)===0x40;if(_0xb3af31&&!this[_0x3ea2b1(0x23a)][_0xd6e645[_0x3ea2b1(0x2aa)]]){const _0x3eede4=this[_0x3ea2b1(0x2fc)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ea2b1(0x1c1));_0x9623bd(_0x3eede4);return;}if(this[_0x3ea2b1(0x272)]=(_0x6c0191[0x0]&0x80)===0x80,this[_0x3ea2b1(0x32d)]=_0x6c0191[0x0]&0xf,this['_payloadLength']=_0x6c0191[0x1]&0x7f,this[_0x3ea2b1(0x32d)]===0x0){if(_0xb3af31){const _0x9d2a71=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x200),!0x0,0x3ea,_0x3ea2b1(0x1c1));_0x9623bd(_0x9d2a71);return;}if(!this[_0x3ea2b1(0x2bc)]){const _0x5031fa=this['createError'](RangeError,_0x3ea2b1(0x209),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x9623bd(_0x5031fa);return;}this['_opcode']=this[_0x3ea2b1(0x2bc)];}else{if(this[_0x3ea2b1(0x32d)]===0x1||this['_opcode']===0x2){if(this[_0x3ea2b1(0x2bc)]){const _0x358915=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x25e)+this[_0x3ea2b1(0x32d)],!0x0,0x3ea,_0x3ea2b1(0x193));_0x9623bd(_0x358915);return;}this[_0x3ea2b1(0x1c3)]=_0xb3af31;}else{if(this[_0x3ea2b1(0x32d)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x440801=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x1b9),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x9623bd(_0x440801);return;}if(_0xb3af31){const _0x541901=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ea2b1(0x1c1));_0x9623bd(_0x541901);return;}if(this[_0x3ea2b1(0x318)]>0x7d||this[_0x3ea2b1(0x32d)]===0x8&&this[_0x3ea2b1(0x318)]===0x1){const _0x36c487=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x1cb)+this[_0x3ea2b1(0x318)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x9623bd(_0x36c487);return;}}else{const _0x2203b4=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x25e)+this['_opcode'],!0x0,0x3ea,_0x3ea2b1(0x193));_0x9623bd(_0x2203b4);return;}}}if(!this[_0x3ea2b1(0x272)]&&!this[_0x3ea2b1(0x2bc)]&&(this['_fragmented']=this[_0x3ea2b1(0x32d)]),this[_0x3ea2b1(0x270)]=(_0x6c0191[0x1]&0x80)===0x80,this[_0x3ea2b1(0x264)]){if(!this['_masked']){const _0x1cd457=this[_0x3ea2b1(0x2fc)](RangeError,_0x3ea2b1(0x2db),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x9623bd(_0x1cd457);return;}}else{if(this[_0x3ea2b1(0x270)]){const _0x3ce889=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x3ea2b1(0x224));_0x9623bd(_0x3ce889);return;}}this[_0x3ea2b1(0x318)]===0x7e?this['_state']=_0x3663e6:this[_0x3ea2b1(0x318)]===0x7f?this[_0x3ea2b1(0x2e4)]=_0x9c8d6f:this[_0x3ea2b1(0x246)](_0x9623bd);}[_0x31b8cb(0x2f4)](_0x3c82f5){const _0xa459cd=_0x31b8cb;if(this[_0xa459cd(0x205)]<0x2){this[_0xa459cd(0x235)]=!0x1;return;}this[_0xa459cd(0x318)]=this[_0xa459cd(0x21e)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x3c82f5);}[_0x31b8cb(0x198)](_0x4df23d){const _0x1ab2e5=_0x31b8cb;if(this[_0x1ab2e5(0x205)]<0x8){this['_loop']=!0x1;return;}const _0x38a2ec=this[_0x1ab2e5(0x21e)](0x8),_0x31407c=_0x38a2ec[_0x1ab2e5(0x271)](0x0);if(_0x31407c>Math[_0x1ab2e5(0x31a)](0x2,0x15)-0x1){const _0x3c8033=this['createError'](RangeError,_0x1ab2e5(0x2cb),!0x1,0x3f1,_0x1ab2e5(0x2af));_0x4df23d(_0x3c8033);return;}this['_payloadLength']=_0x31407c*Math[_0x1ab2e5(0x31a)](0x2,0x20)+_0x38a2ec[_0x1ab2e5(0x271)](0x4),this[_0x1ab2e5(0x246)](_0x4df23d);}[_0x31b8cb(0x246)](_0x15373f){const _0x2ae017=_0x31b8cb;if(this[_0x2ae017(0x318)]&&this[_0x2ae017(0x32d)]<0x8&&(this[_0x2ae017(0x1a5)]+=this[_0x2ae017(0x318)],this[_0x2ae017(0x1a5)]>this[_0x2ae017(0x1d7)]&&this[_0x2ae017(0x1d7)]>0x0)){const _0x6dd5ee=this[_0x2ae017(0x2fc)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x15373f(_0x6dd5ee);return;}this[_0x2ae017(0x270)]?this[_0x2ae017(0x2e4)]=_0x4328b3:this[_0x2ae017(0x2e4)]=_0x2f7cfc;}[_0x31b8cb(0x212)](){const _0x1a9f27=_0x31b8cb;if(this[_0x1a9f27(0x205)]<0x4){this[_0x1a9f27(0x235)]=!0x1;return;}this[_0x1a9f27(0x2ae)]=this[_0x1a9f27(0x21e)](0x4),this[_0x1a9f27(0x2e4)]=_0x2f7cfc;}['getData'](_0x1eed1e){const _0x2ce0f6=_0x31b8cb;let _0x5f2fa5=_0x1e2121;if(this[_0x2ce0f6(0x318)]){if(this[_0x2ce0f6(0x205)]<this[_0x2ce0f6(0x318)]){this[_0x2ce0f6(0x235)]=!0x1;return;}_0x5f2fa5=this[_0x2ce0f6(0x21e)](this[_0x2ce0f6(0x318)]),this['_masked']&&(this['_mask'][0x0]|this[_0x2ce0f6(0x2ae)][0x1]|this[_0x2ce0f6(0x2ae)][0x2]|this['_mask'][0x3])!==0x0&&_0x49ec08(_0x5f2fa5,this[_0x2ce0f6(0x2ae)]);}if(this['_opcode']>0x7){this[_0x2ce0f6(0x1a0)](_0x5f2fa5,_0x1eed1e);return;}if(this['_compressed']){this[_0x2ce0f6(0x2e4)]=_0x263099,this[_0x2ce0f6(0x207)](_0x5f2fa5,_0x1eed1e);return;}_0x5f2fa5[_0x2ce0f6(0x245)]&&(this[_0x2ce0f6(0x299)]=this[_0x2ce0f6(0x1a5)],this['_fragments'][_0x2ce0f6(0x2ac)](_0x5f2fa5)),this[_0x2ce0f6(0x25f)](_0x1eed1e);}[_0x31b8cb(0x207)](_0x7b417b,_0x2577a2){const _0xc9436d=_0x31b8cb;this['_extensions'][_0xd6e645[_0xc9436d(0x2aa)]]['decompress'](_0x7b417b,this[_0xc9436d(0x272)],(_0x5673d0,_0x2db6a7)=>{const _0x50ce3f=_0xc9436d;if(_0x5673d0)return _0x2577a2(_0x5673d0);if(_0x2db6a7[_0x50ce3f(0x245)]){if(this[_0x50ce3f(0x299)]+=_0x2db6a7[_0x50ce3f(0x245)],this[_0x50ce3f(0x299)]>this[_0x50ce3f(0x1d7)]&&this[_0x50ce3f(0x1d7)]>0x0){const _0x5912f3=this[_0x50ce3f(0x2fc)](RangeError,_0x50ce3f(0x229),!0x1,0x3f1,_0x50ce3f(0x23e));_0x2577a2(_0x5912f3);return;}this[_0x50ce3f(0x2c6)]['push'](_0x2db6a7);}this[_0x50ce3f(0x25f)](_0x2577a2),this[_0x50ce3f(0x2e4)]===_0x2e020c&&this[_0x50ce3f(0x30e)](_0x2577a2);});}[_0x31b8cb(0x25f)](_0x5cad32){const _0x568288=_0x31b8cb;if(!this['_fin']){this[_0x568288(0x2e4)]=_0x2e020c;return;}const _0x4c47ea=this['_messageLength'],_0x4ac282=this[_0x568288(0x2c6)];if(this[_0x568288(0x1a5)]=0x0,this[_0x568288(0x299)]=0x0,this[_0x568288(0x2bc)]=0x0,this[_0x568288(0x2c6)]=[],this['_opcode']===0x2){let _0x294c97;this[_0x568288(0x1cd)]===_0x568288(0x1a7)?_0x294c97=_0x2f5177(_0x4ac282,_0x4c47ea):this[_0x568288(0x1cd)]==='arraybuffer'?_0x294c97=_0x33fc4b(_0x2f5177(_0x4ac282,_0x4c47ea)):this[_0x568288(0x1cd)]==='blob'?_0x294c97=new Blob(_0x4ac282):_0x294c97=_0x4ac282,this[_0x568288(0x30b)]?(this['emit'](_0x568288(0x237),_0x294c97,!0x0),this[_0x568288(0x2e4)]=_0x2e020c):(this['_state']=_0x1a6c15,setImmediate(()=>{const _0x4976e7=_0x568288;this['emit']('message',_0x294c97,!0x0),this[_0x4976e7(0x2e4)]=_0x2e020c,this[_0x4976e7(0x30e)](_0x5cad32);}));}else{const _0x1bae95=_0x2f5177(_0x4ac282,_0x4c47ea);if(!this['_skipUTF8Validation']&&!_0x5cb4a0(_0x1bae95)){const _0x5419cf=this['createError'](Error,_0x568288(0x232),!0x0,0x3ef,_0x568288(0x2a5));_0x5cad32(_0x5419cf);return;}this[_0x568288(0x2e4)]===_0x263099||this[_0x568288(0x30b)]?(this['emit'](_0x568288(0x237),_0x1bae95,!0x1),this[_0x568288(0x2e4)]=_0x2e020c):(this[_0x568288(0x2e4)]=_0x1a6c15,setImmediate(()=>{const _0x261219=_0x568288;this[_0x261219(0x218)](_0x261219(0x237),_0x1bae95,!0x1),this[_0x261219(0x2e4)]=_0x2e020c,this['startLoop'](_0x5cad32);}));}}[_0x31b8cb(0x1a0)](_0x5c78a1,_0xa93613){const _0x12b050=_0x31b8cb;if(this[_0x12b050(0x32d)]===0x8){if(_0x5c78a1[_0x12b050(0x245)]===0x0)this['_loop']=!0x1,this[_0x12b050(0x218)]('conclude',0x3ed,_0x1e2121),this[_0x12b050(0x1a3)]();else{const _0x2ea0f4=_0x5c78a1[_0x12b050(0x1b2)](0x0);if(!_0x8e4787(_0x2ea0f4)){const _0x345986=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x2ea0f4,!0x0,0x3ea,_0x12b050(0x196));_0xa93613(_0x345986);return;}const _0x37f239=new _0x3ae286(_0x5c78a1[_0x12b050(0x192)],_0x5c78a1['byteOffset']+0x2,_0x5c78a1[_0x12b050(0x245)]-0x2);if(!this[_0x12b050(0x1d1)]&&!_0x5cb4a0(_0x37f239)){const _0x186ea8=this[_0x12b050(0x2fc)](Error,_0x12b050(0x232),!0x0,0x3ef,_0x12b050(0x2a5));_0xa93613(_0x186ea8);return;}this[_0x12b050(0x235)]=!0x1,this['emit'](_0x12b050(0x243),_0x2ea0f4,_0x37f239),this[_0x12b050(0x1a3)]();}this[_0x12b050(0x2e4)]=_0x2e020c;return;}this[_0x12b050(0x30b)]?(this[_0x12b050(0x218)](this[_0x12b050(0x32d)]===0x9?_0x12b050(0x288):'pong',_0x5c78a1),this[_0x12b050(0x2e4)]=_0x2e020c):(this[_0x12b050(0x2e4)]=_0x1a6c15,setImmediate(()=>{const _0x11be5b=_0x12b050;this[_0x11be5b(0x218)](this['_opcode']===0x9?_0x11be5b(0x288):_0x11be5b(0x2f2),_0x5c78a1),this['_state']=_0x2e020c,this[_0x11be5b(0x30e)](_0xa93613);}));}[_0x31b8cb(0x2fc)](_0x40b9c9,_0x251451,_0x5e0907,_0x1dd039,_0x11a63f){const _0x3e1d67=_0x31b8cb;this[_0x3e1d67(0x235)]=!0x1,this[_0x3e1d67(0x275)]=!0x0;const _0x56db4b=new _0x40b9c9(_0x5e0907?_0x3e1d67(0x280)+_0x251451:_0x251451);return Error['captureStackTrace'](_0x56db4b,this[_0x3e1d67(0x2fc)]),_0x56db4b[_0x3e1d67(0x1b6)]=_0x11a63f,_0x56db4b[_0x36ad13]=_0x1dd039,_0x56db4b;}}return Se=_0x52ccc3,Se;}var Ee,et;function _t(){const _0x41b829=_0x321d1b;if(et)return Ee;et=0x1;const {Duplex:_0x4ae24f}=_0xd844bd,{randomFillSync:_0x417403}=_0x543b83,_0x576e53=he(),{EMPTY_BUFFER:_0x47b31e,kWebSocket:_0xf6d530,NOOP:_0x2e55c1}=V(),{isBlob:_0x44d9cc,isValidStatusCode:_0x4e6ac6}=ne(),{mask:_0x3ccbbf,toBuffer:_0x5391a0}=ce(),_0x329b8f=Symbol(_0x41b829(0x1b8)),_0xcaa6e8=Buffer[_0x41b829(0x1ac)](0x4),_0x5aee5e=0x8*0x400;let _0x5da05a,_0x31b4da=_0x5aee5e;const _0x402fa7=0x0,_0x24cd2=0x1,_0x531058=0x2;class _0x1da5e6{constructor(_0x2145de,_0x544916,_0x17ba11){const _0x7d442d=_0x41b829;this['_extensions']=_0x544916||{},_0x17ba11&&(this[_0x7d442d(0x2a1)]=_0x17ba11,this[_0x7d442d(0x1a6)]=Buffer['alloc'](0x4)),this['_socket']=_0x2145de,this[_0x7d442d(0x1d8)]=!0x0,this[_0x7d442d(0x201)]=!0x1,this[_0x7d442d(0x205)]=0x0,this['_queue']=[],this[_0x7d442d(0x2e4)]=_0x402fa7,this['onerror']=_0x2e55c1,this[_0xf6d530]=void 0x0;}static[_0x41b829(0x1bc)](_0x4067dd,_0x1e3112){const _0x34d1b8=_0x41b829;let _0x5ec15c,_0x237c94=!0x1,_0x130cdb=0x2,_0x5e4672=!0x1;_0x1e3112[_0x34d1b8(0x221)]&&(_0x5ec15c=_0x1e3112[_0x34d1b8(0x2b6)]||_0xcaa6e8,_0x1e3112['generateMask']?_0x1e3112[_0x34d1b8(0x296)](_0x5ec15c):(_0x31b4da===_0x5aee5e&&(_0x5da05a===void 0x0&&(_0x5da05a=Buffer['alloc'](_0x5aee5e)),_0x417403(_0x5da05a,0x0,_0x5aee5e),_0x31b4da=0x0),_0x5ec15c[0x0]=_0x5da05a[_0x31b4da++],_0x5ec15c[0x1]=_0x5da05a[_0x31b4da++],_0x5ec15c[0x2]=_0x5da05a[_0x31b4da++],_0x5ec15c[0x3]=_0x5da05a[_0x31b4da++]),_0x5e4672=(_0x5ec15c[0x0]|_0x5ec15c[0x1]|_0x5ec15c[0x2]|_0x5ec15c[0x3])===0x0,_0x130cdb=0x6);let _0x4d662c;typeof _0x4067dd==_0x34d1b8(0x303)?(!_0x1e3112['mask']||_0x5e4672)&&_0x1e3112[_0x329b8f]!==void 0x0?_0x4d662c=_0x1e3112[_0x329b8f]:(_0x4067dd=Buffer[_0x34d1b8(0x324)](_0x4067dd),_0x4d662c=_0x4067dd[_0x34d1b8(0x245)]):(_0x4d662c=_0x4067dd[_0x34d1b8(0x245)],_0x237c94=_0x1e3112[_0x34d1b8(0x221)]&&_0x1e3112[_0x34d1b8(0x329)]&&!_0x5e4672);let _0x4bb7a6=_0x4d662c;_0x4d662c>=0x10000?(_0x130cdb+=0x8,_0x4bb7a6=0x7f):_0x4d662c>0x7d&&(_0x130cdb+=0x2,_0x4bb7a6=0x7e);const _0x35aa36=Buffer[_0x34d1b8(0x210)](_0x237c94?_0x4d662c+_0x130cdb:_0x130cdb);return _0x35aa36[0x0]=_0x1e3112[_0x34d1b8(0x26f)]?_0x1e3112[_0x34d1b8(0x19b)]|0x80:_0x1e3112[_0x34d1b8(0x19b)],_0x1e3112['rsv1']&&(_0x35aa36[0x0]|=0x40),_0x35aa36[0x1]=_0x4bb7a6,_0x4bb7a6===0x7e?_0x35aa36[_0x34d1b8(0x2c4)](_0x4d662c,0x2):_0x4bb7a6===0x7f&&(_0x35aa36[0x2]=_0x35aa36[0x3]=0x0,_0x35aa36[_0x34d1b8(0x283)](_0x4d662c,0x4,0x6)),_0x1e3112[_0x34d1b8(0x221)]?(_0x35aa36[0x1]|=0x80,_0x35aa36[_0x130cdb-0x4]=_0x5ec15c[0x0],_0x35aa36[_0x130cdb-0x3]=_0x5ec15c[0x1],_0x35aa36[_0x130cdb-0x2]=_0x5ec15c[0x2],_0x35aa36[_0x130cdb-0x1]=_0x5ec15c[0x3],_0x5e4672?[_0x35aa36,_0x4067dd]:_0x237c94?(_0x3ccbbf(_0x4067dd,_0x5ec15c,_0x35aa36,_0x130cdb,_0x4d662c),[_0x35aa36]):(_0x3ccbbf(_0x4067dd,_0x5ec15c,_0x4067dd,0x0,_0x4d662c),[_0x35aa36,_0x4067dd])):[_0x35aa36,_0x4067dd];}[_0x41b829(0x294)](_0x63cc9a,_0x29593d,_0xd72004,_0x132469){const _0x2c232d=_0x41b829;let _0x3f88a5;if(_0x63cc9a===void 0x0)_0x3f88a5=_0x47b31e;else{if(typeof _0x63cc9a!=_0x2c232d(0x27e)||!_0x4e6ac6(_0x63cc9a))throw new TypeError(_0x2c232d(0x279));if(_0x29593d===void 0x0||!_0x29593d['length'])_0x3f88a5=Buffer[_0x2c232d(0x210)](0x2),_0x3f88a5[_0x2c232d(0x2c4)](_0x63cc9a,0x0);else{const _0x4cabd3=Buffer[_0x2c232d(0x1ab)](_0x29593d);if(_0x4cabd3>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3f88a5=Buffer[_0x2c232d(0x210)](0x2+_0x4cabd3),_0x3f88a5['writeUInt16BE'](_0x63cc9a,0x0),typeof _0x29593d==_0x2c232d(0x303)?_0x3f88a5[_0x2c232d(0x30c)](_0x29593d,0x2):_0x3f88a5['set'](_0x29593d,0x2);}}const _0x19b5f2={[_0x329b8f]:_0x3f88a5['length'],'fin':!0x0,'generateMask':this[_0x2c232d(0x2a1)],'mask':_0xd72004,'maskBuffer':this[_0x2c232d(0x1a6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2c232d(0x2e4)]!==_0x402fa7?this[_0x2c232d(0x18f)]([this[_0x2c232d(0x1c0)],_0x3f88a5,!0x1,_0x19b5f2,_0x132469]):this['sendFrame'](_0x1da5e6[_0x2c232d(0x1bc)](_0x3f88a5,_0x19b5f2),_0x132469);}['ping'](_0x2e13b5,_0x33703e,_0x1e4bc0){const _0x24a8f7=_0x41b829;let _0x45ab85,_0x17ae89;if(typeof _0x2e13b5==_0x24a8f7(0x303)?(_0x45ab85=Buffer[_0x24a8f7(0x1ab)](_0x2e13b5),_0x17ae89=!0x1):_0x44d9cc(_0x2e13b5)?(_0x45ab85=_0x2e13b5['size'],_0x17ae89=!0x1):(_0x2e13b5=_0x5391a0(_0x2e13b5),_0x45ab85=_0x2e13b5[_0x24a8f7(0x245)],_0x17ae89=_0x5391a0[_0x24a8f7(0x329)]),_0x45ab85>0x7d)throw new RangeError(_0x24a8f7(0x22e));const _0x4e3a03={[_0x329b8f]:_0x45ab85,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x33703e,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x17ae89,'rsv1':!0x1};_0x44d9cc(_0x2e13b5)?this[_0x24a8f7(0x2e4)]!==_0x402fa7?this['enqueue']([this[_0x24a8f7(0x20e)],_0x2e13b5,!0x1,_0x4e3a03,_0x1e4bc0]):this[_0x24a8f7(0x20e)](_0x2e13b5,!0x1,_0x4e3a03,_0x1e4bc0):this[_0x24a8f7(0x2e4)]!==_0x402fa7?this[_0x24a8f7(0x18f)]([this[_0x24a8f7(0x1c0)],_0x2e13b5,!0x1,_0x4e3a03,_0x1e4bc0]):this[_0x24a8f7(0x26a)](_0x1da5e6[_0x24a8f7(0x1bc)](_0x2e13b5,_0x4e3a03),_0x1e4bc0);}['pong'](_0x20e69f,_0x32b47d,_0x16cd9b){const _0x48f9dd=_0x41b829;let _0x2b760c,_0x37c79e;if(typeof _0x20e69f==_0x48f9dd(0x303)?(_0x2b760c=Buffer[_0x48f9dd(0x1ab)](_0x20e69f),_0x37c79e=!0x1):_0x44d9cc(_0x20e69f)?(_0x2b760c=_0x20e69f[_0x48f9dd(0x26d)],_0x37c79e=!0x1):(_0x20e69f=_0x5391a0(_0x20e69f),_0x2b760c=_0x20e69f[_0x48f9dd(0x245)],_0x37c79e=_0x5391a0[_0x48f9dd(0x329)]),_0x2b760c>0x7d)throw new RangeError(_0x48f9dd(0x22e));const _0x284eb3={[_0x329b8f]:_0x2b760c,'fin':!0x0,'generateMask':this[_0x48f9dd(0x2a1)],'mask':_0x32b47d,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x37c79e,'rsv1':!0x1};_0x44d9cc(_0x20e69f)?this[_0x48f9dd(0x2e4)]!==_0x402fa7?this['enqueue']([this['getBlobData'],_0x20e69f,!0x1,_0x284eb3,_0x16cd9b]):this[_0x48f9dd(0x20e)](_0x20e69f,!0x1,_0x284eb3,_0x16cd9b):this[_0x48f9dd(0x2e4)]!==_0x402fa7?this[_0x48f9dd(0x18f)]([this['dispatch'],_0x20e69f,!0x1,_0x284eb3,_0x16cd9b]):this[_0x48f9dd(0x26a)](_0x1da5e6['frame'](_0x20e69f,_0x284eb3),_0x16cd9b);}[_0x41b829(0x2c5)](_0x4cd2ca,_0x3e8834,_0x1f37fa){const _0x4da922=_0x41b829,_0x39c279=this['_extensions'][_0x576e53[_0x4da922(0x2aa)]];let _0x59a787=_0x3e8834[_0x4da922(0x316)]?0x2:0x1,_0x38aefc=_0x3e8834[_0x4da922(0x1f8)],_0x4d1c42,_0x36f337;typeof _0x4cd2ca==_0x4da922(0x303)?(_0x4d1c42=Buffer[_0x4da922(0x1ab)](_0x4cd2ca),_0x36f337=!0x1):_0x44d9cc(_0x4cd2ca)?(_0x4d1c42=_0x4cd2ca['size'],_0x36f337=!0x1):(_0x4cd2ca=_0x5391a0(_0x4cd2ca),_0x4d1c42=_0x4cd2ca[_0x4da922(0x245)],_0x36f337=_0x5391a0[_0x4da922(0x329)]),this[_0x4da922(0x1d8)]?(this[_0x4da922(0x1d8)]=!0x1,_0x38aefc&&_0x39c279&&_0x39c279['params'][_0x39c279[_0x4da922(0x264)]?'server_no_context_takeover':_0x4da922(0x1e6)]&&(_0x38aefc=_0x4d1c42>=_0x39c279[_0x4da922(0x327)]),this[_0x4da922(0x201)]=_0x38aefc):(_0x38aefc=!0x1,_0x59a787=0x0),_0x3e8834[_0x4da922(0x26f)]&&(this[_0x4da922(0x1d8)]=!0x0);const _0x284303={[_0x329b8f]:_0x4d1c42,'fin':_0x3e8834['fin'],'generateMask':this['_generateMask'],'mask':_0x3e8834[_0x4da922(0x221)],'maskBuffer':this[_0x4da922(0x1a6)],'opcode':_0x59a787,'readOnly':_0x36f337,'rsv1':_0x38aefc};_0x44d9cc(_0x4cd2ca)?this[_0x4da922(0x2e4)]!==_0x402fa7?this['enqueue']([this[_0x4da922(0x20e)],_0x4cd2ca,this[_0x4da922(0x201)],_0x284303,_0x1f37fa]):this[_0x4da922(0x20e)](_0x4cd2ca,this[_0x4da922(0x201)],_0x284303,_0x1f37fa):this[_0x4da922(0x2e4)]!==_0x402fa7?this['enqueue']([this['dispatch'],_0x4cd2ca,this[_0x4da922(0x201)],_0x284303,_0x1f37fa]):this['dispatch'](_0x4cd2ca,this[_0x4da922(0x201)],_0x284303,_0x1f37fa);}[_0x41b829(0x20e)](_0x3d158c,_0x10f7f7,_0x4e5d68,_0x2eb1f2){const _0x12dac2=_0x41b829;this['_bufferedBytes']+=_0x4e5d68[_0x329b8f],this['_state']=_0x531058,_0x3d158c[_0x12dac2(0x2c0)]()[_0x12dac2(0x341)](_0x4bd3ff=>{const _0x5e9178=_0x12dac2;if(this[_0x5e9178(0x2ee)][_0x5e9178(0x1c6)]){const _0x4f585b=new Error(_0x5e9178(0x328));process[_0x5e9178(0x32a)](_0xa32578,this,_0x4f585b,_0x2eb1f2);return;}this[_0x5e9178(0x205)]-=_0x4e5d68[_0x329b8f];const _0x2efb73=_0x5391a0(_0x4bd3ff);_0x10f7f7?this[_0x5e9178(0x1c0)](_0x2efb73,_0x10f7f7,_0x4e5d68,_0x2eb1f2):(this['_state']=_0x402fa7,this['sendFrame'](_0x1da5e6[_0x5e9178(0x1bc)](_0x2efb73,_0x4e5d68),_0x2eb1f2),this[_0x5e9178(0x239)]());})['catch'](_0x3859a9=>{process['nextTick'](_0x5f3d36,this,_0x3859a9,_0x2eb1f2);});}['dispatch'](_0xebdbf1,_0x1996ba,_0xf7302c,_0x26a1bb){const _0x86f5eb=_0x41b829;if(!_0x1996ba){this[_0x86f5eb(0x26a)](_0x1da5e6[_0x86f5eb(0x1bc)](_0xebdbf1,_0xf7302c),_0x26a1bb);return;}const _0x5a2ca9=this['_extensions'][_0x576e53[_0x86f5eb(0x2aa)]];this[_0x86f5eb(0x205)]+=_0xf7302c[_0x329b8f],this[_0x86f5eb(0x2e4)]=_0x24cd2,_0x5a2ca9['compress'](_0xebdbf1,_0xf7302c[_0x86f5eb(0x26f)],(_0x269be8,_0x5e34df)=>{const _0x2532e6=_0x86f5eb;if(this[_0x2532e6(0x2ee)][_0x2532e6(0x1c6)]){const _0x135901=new Error(_0x2532e6(0x25a));_0xa32578(this,_0x135901,_0x26a1bb);return;}this['_bufferedBytes']-=_0xf7302c[_0x329b8f],this[_0x2532e6(0x2e4)]=_0x402fa7,_0xf7302c[_0x2532e6(0x329)]=!0x1,this[_0x2532e6(0x26a)](_0x1da5e6[_0x2532e6(0x1bc)](_0x5e34df,_0xf7302c),_0x26a1bb),this[_0x2532e6(0x239)]();});}[_0x41b829(0x239)](){const _0x21361e=_0x41b829;for(;this['_state']===_0x402fa7&&this[_0x21361e(0x1aa)][_0x21361e(0x245)];){const _0x4a2692=this[_0x21361e(0x1aa)][_0x21361e(0x282)]();this[_0x21361e(0x205)]-=_0x4a2692[0x3][_0x329b8f],Reflect[_0x21361e(0x208)](_0x4a2692[0x0],this,_0x4a2692[_0x21361e(0x1ea)](0x1));}}[_0x41b829(0x18f)](_0x5231c6){const _0x173b37=_0x41b829;this[_0x173b37(0x205)]+=_0x5231c6[0x3][_0x329b8f],this[_0x173b37(0x1aa)]['push'](_0x5231c6);}[_0x41b829(0x26a)](_0x59b262,_0x5aeadf){const _0x588e87=_0x41b829;_0x59b262[_0x588e87(0x245)]===0x2?(this[_0x588e87(0x2ee)][_0x588e87(0x227)](),this[_0x588e87(0x2ee)]['write'](_0x59b262[0x0]),this[_0x588e87(0x2ee)][_0x588e87(0x30c)](_0x59b262[0x1],_0x5aeadf),this['_socket'][_0x588e87(0x1de)]()):this[_0x588e87(0x2ee)]['write'](_0x59b262[0x0],_0x5aeadf);}}Ee=_0x1da5e6;function _0xa32578(_0x172185,_0x297d18,_0x4b054a){const _0x3d11bd=_0x41b829;typeof _0x4b054a==_0x3d11bd(0x22c)&&_0x4b054a(_0x297d18);for(let _0x2b9417=0x0;_0x2b9417<_0x172185[_0x3d11bd(0x1aa)][_0x3d11bd(0x245)];_0x2b9417++){const _0x429f25=_0x172185[_0x3d11bd(0x1aa)][_0x2b9417],_0x3e0648=_0x429f25[_0x429f25[_0x3d11bd(0x245)]-0x1];typeof _0x3e0648=='function'&&_0x3e0648(_0x297d18);}}function _0x5f3d36(_0x19bd3e,_0x57246c,_0x16154b){const _0x23a5d6=_0x41b829;_0xa32578(_0x19bd3e,_0x57246c,_0x16154b),_0x19bd3e[_0x23a5d6(0x2d2)](_0x57246c);}return Ee;}var xe,tt;function Kt(){const _0x70bcb7=_0x321d1b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2b3d0f,kListener:_0x463184}=V(),_0x328ff1=Symbol(_0x70bcb7(0x230)),_0x35705e=Symbol(_0x70bcb7(0x33a)),_0x510b20=Symbol(_0x70bcb7(0x18d)),_0x49b1ec=Symbol(_0x70bcb7(0x27b)),_0x2a6499=Symbol('kReason'),_0x39206c=Symbol('kTarget'),_0x304fb1=Symbol(_0x70bcb7(0x22a)),_0x5c78a7=Symbol('kWasClean');class _0x3fb9bc{constructor(_0x429812){this[_0x39206c]=null,this[_0x304fb1]=_0x429812;}get[_0x70bcb7(0x336)](){return this[_0x39206c];}get['type'](){return this[_0x304fb1];}}Object['defineProperty'](_0x3fb9bc[_0x70bcb7(0x29f)],_0x70bcb7(0x336),{'enumerable':!0x0}),Object['defineProperty'](_0x3fb9bc['prototype'],_0x70bcb7(0x309),{'enumerable':!0x0});class _0x75d422 extends _0x3fb9bc{constructor(_0x5326d5,_0x5eb536={}){const _0x156fb5=_0x70bcb7;super(_0x5326d5),this[_0x328ff1]=_0x5eb536[_0x156fb5(0x1b6)]===void 0x0?0x0:_0x5eb536['code'],this[_0x2a6499]=_0x5eb536[_0x156fb5(0x1d4)]===void 0x0?'':_0x5eb536['reason'],this[_0x5c78a7]=_0x5eb536[_0x156fb5(0x29c)]===void 0x0?!0x1:_0x5eb536[_0x156fb5(0x29c)];}get[_0x70bcb7(0x1b6)](){return this[_0x328ff1];}get[_0x70bcb7(0x1d4)](){return this[_0x2a6499];}get['wasClean'](){return this[_0x5c78a7];}}Object[_0x70bcb7(0x2d5)](_0x75d422['prototype'],_0x70bcb7(0x1b6),{'enumerable':!0x0}),Object[_0x70bcb7(0x2d5)](_0x75d422[_0x70bcb7(0x29f)],_0x70bcb7(0x1d4),{'enumerable':!0x0}),Object[_0x70bcb7(0x2d5)](_0x75d422[_0x70bcb7(0x29f)],_0x70bcb7(0x29c),{'enumerable':!0x0});class _0x18b8e3 extends _0x3fb9bc{constructor(_0xcbe8e0,_0x322582={}){const _0x540bba=_0x70bcb7;super(_0xcbe8e0),this[_0x510b20]=_0x322582[_0x540bba(0x2b7)]===void 0x0?null:_0x322582[_0x540bba(0x2b7)],this[_0x49b1ec]=_0x322582[_0x540bba(0x237)]===void 0x0?'':_0x322582['message'];}get[_0x70bcb7(0x2b7)](){return this[_0x510b20];}get[_0x70bcb7(0x237)](){return this[_0x49b1ec];}}Object['defineProperty'](_0x18b8e3[_0x70bcb7(0x29f)],_0x70bcb7(0x2b7),{'enumerable':!0x0}),Object['defineProperty'](_0x18b8e3['prototype'],'message',{'enumerable':!0x0});class _0x32f7d9 extends _0x3fb9bc{constructor(_0x3f9282,_0x22b3fc={}){const _0x2b7df2=_0x70bcb7;super(_0x3f9282),this[_0x35705e]=_0x22b3fc[_0x2b7df2(0x2c8)]===void 0x0?null:_0x22b3fc['data'];}get[_0x70bcb7(0x2c8)](){return this[_0x35705e];}}Object['defineProperty'](_0x32f7d9['prototype'],_0x70bcb7(0x2c8),{'enumerable':!0x0}),xe={'CloseEvent':_0x75d422,'ErrorEvent':_0x18b8e3,'Event':_0x3fb9bc,'EventTarget':{'addEventListener'(_0x459e22,_0x237765,_0x69023e={}){const _0x1dc9d8=_0x70bcb7;for(const _0x49c7b2 of this[_0x1dc9d8(0x1fe)](_0x459e22))if(!_0x69023e[_0x2b3d0f]&&_0x49c7b2[_0x463184]===_0x237765&&!_0x49c7b2[_0x2b3d0f])return;let _0x38a7ab;if(_0x459e22==='message')_0x38a7ab=function(_0x23313d,_0x33e7ce){const _0x1909cd=_0x1dc9d8,_0x5d9775=new _0x32f7d9('message',{'data':_0x33e7ce?_0x23313d:_0x23313d[_0x1909cd(0x2f6)]()});_0x5d9775[_0x39206c]=this,_0x3b656b(_0x237765,this,_0x5d9775);};else{if(_0x459e22===_0x1dc9d8(0x294))_0x38a7ab=function(_0x26e75d,_0x2297d6){const _0x19d544=_0x1dc9d8,_0x150809=new _0x75d422('close',{'code':_0x26e75d,'reason':_0x2297d6[_0x19d544(0x2f6)](),'wasClean':this['_closeFrameReceived']&&this[_0x19d544(0x2d6)]});_0x150809[_0x39206c]=this,_0x3b656b(_0x237765,this,_0x150809);};else{if(_0x459e22===_0x1dc9d8(0x2b7))_0x38a7ab=function(_0xa7146f){const _0x5a1543=_0x1dc9d8,_0x4de536=new _0x18b8e3(_0x5a1543(0x2b7),{'error':_0xa7146f,'message':_0xa7146f[_0x5a1543(0x237)]});_0x4de536[_0x39206c]=this,_0x3b656b(_0x237765,this,_0x4de536);};else{if(_0x459e22===_0x1dc9d8(0x204))_0x38a7ab=function(){const _0x267e7e=new _0x3fb9bc('open');_0x267e7e[_0x39206c]=this,_0x3b656b(_0x237765,this,_0x267e7e);};else return;}}}_0x38a7ab[_0x2b3d0f]=!!_0x69023e[_0x2b3d0f],_0x38a7ab[_0x463184]=_0x237765,_0x69023e['once']?this[_0x1dc9d8(0x306)](_0x459e22,_0x38a7ab):this['on'](_0x459e22,_0x38a7ab);},'removeEventListener'(_0x13630e,_0xbc3a62){const _0x3dc034=_0x70bcb7;for(const _0x391b8b of this[_0x3dc034(0x1fe)](_0x13630e))if(_0x391b8b[_0x463184]===_0xbc3a62&&!_0x391b8b[_0x2b3d0f]){this[_0x3dc034(0x337)](_0x13630e,_0x391b8b);break;}}},'MessageEvent':_0x32f7d9};function _0x3b656b(_0x535c9d,_0x3e661a,_0x32d563){const _0x522a9a=_0x70bcb7;typeof _0x535c9d=='object'&&_0x535c9d[_0x522a9a(0x1fd)]?_0x535c9d[_0x522a9a(0x1fd)][_0x522a9a(0x304)](_0x535c9d,_0x32d563):_0x535c9d[_0x522a9a(0x304)](_0x3e661a,_0x32d563);}return xe;}var be,rt;function _0x5908(_0x1de8fa,_0x1257f9){const _0x1e219e=_0x1e21();return _0x5908=function(_0x590891,_0x497eaf){_0x590891=_0x590891-0x18c;let _0x44fa60=_0x1e219e[_0x590891];return _0x44fa60;},_0x5908(_0x1de8fa,_0x1257f9);}function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x25e75a}=ne();function _0x2738c1(_0x5f4244,_0x15be5c,_0x3b5720){const _0x1aab6f=_0x5908;_0x5f4244[_0x15be5c]===void 0x0?_0x5f4244[_0x15be5c]=[_0x3b5720]:_0x5f4244[_0x15be5c][_0x1aab6f(0x2ac)](_0x3b5720);}function _0x3880c2(_0x4a4af7){const _0x1ee78f=_0x5908,_0x12e5fb=Object[_0x1ee78f(0x295)](null);let _0x1548a4=Object[_0x1ee78f(0x295)](null),_0x3eccb5=!0x1,_0x39a58e=!0x1,_0x1404b2=!0x1,_0x4fa10f,_0x6ee84d,_0x504cd7=-0x1,_0x339b13=-0x1,_0x22f2ab=-0x1,_0x3cbac6=0x0;for(;_0x3cbac6<_0x4a4af7[_0x1ee78f(0x245)];_0x3cbac6++)if(_0x339b13=_0x4a4af7[_0x1ee78f(0x291)](_0x3cbac6),_0x4fa10f===void 0x0){if(_0x22f2ab===-0x1&&_0x25e75a[_0x339b13]===0x1)_0x504cd7===-0x1&&(_0x504cd7=_0x3cbac6);else{if(_0x3cbac6!==0x0&&(_0x339b13===0x20||_0x339b13===0x9))_0x22f2ab===-0x1&&_0x504cd7!==-0x1&&(_0x22f2ab=_0x3cbac6);else{if(_0x339b13===0x3b||_0x339b13===0x2c){if(_0x504cd7===-0x1)throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6);const _0x5751d7=_0x4a4af7[_0x1ee78f(0x1ea)](_0x504cd7,_0x22f2ab);_0x339b13===0x2c?(_0x2738c1(_0x12e5fb,_0x5751d7,_0x1548a4),_0x1548a4=Object[_0x1ee78f(0x295)](null)):_0x4fa10f=_0x5751d7,_0x504cd7=_0x22f2ab=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3cbac6);}}}else{if(_0x6ee84d===void 0x0){if(_0x22f2ab===-0x1&&_0x25e75a[_0x339b13]===0x1)_0x504cd7===-0x1&&(_0x504cd7=_0x3cbac6);else{if(_0x339b13===0x20||_0x339b13===0x9)_0x22f2ab===-0x1&&_0x504cd7!==-0x1&&(_0x22f2ab=_0x3cbac6);else{if(_0x339b13===0x3b||_0x339b13===0x2c){if(_0x504cd7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3cbac6);_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6),_0x2738c1(_0x1548a4,_0x4a4af7[_0x1ee78f(0x1ea)](_0x504cd7,_0x22f2ab),!0x0),_0x339b13===0x2c&&(_0x2738c1(_0x12e5fb,_0x4fa10f,_0x1548a4),_0x1548a4=Object[_0x1ee78f(0x295)](null),_0x4fa10f=void 0x0),_0x504cd7=_0x22f2ab=-0x1;}else{if(_0x339b13===0x3d&&_0x504cd7!==-0x1&&_0x22f2ab===-0x1)_0x6ee84d=_0x4a4af7[_0x1ee78f(0x1ea)](_0x504cd7,_0x3cbac6),_0x504cd7=_0x22f2ab=-0x1;else throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);}}}}else{if(_0x39a58e){if(_0x25e75a[_0x339b13]!==0x1)throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);_0x504cd7===-0x1?_0x504cd7=_0x3cbac6:_0x3eccb5||(_0x3eccb5=!0x0),_0x39a58e=!0x1;}else{if(_0x1404b2){if(_0x25e75a[_0x339b13]===0x1)_0x504cd7===-0x1&&(_0x504cd7=_0x3cbac6);else{if(_0x339b13===0x22&&_0x504cd7!==-0x1)_0x1404b2=!0x1,_0x22f2ab=_0x3cbac6;else{if(_0x339b13===0x5c)_0x39a58e=!0x0;else throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);}}}else{if(_0x339b13===0x22&&_0x4a4af7[_0x1ee78f(0x291)](_0x3cbac6-0x1)===0x3d)_0x1404b2=!0x0;else{if(_0x22f2ab===-0x1&&_0x25e75a[_0x339b13]===0x1)_0x504cd7===-0x1&&(_0x504cd7=_0x3cbac6);else{if(_0x504cd7!==-0x1&&(_0x339b13===0x20||_0x339b13===0x9))_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6);else{if(_0x339b13===0x3b||_0x339b13===0x2c){if(_0x504cd7===-0x1)throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6);let _0x384946=_0x4a4af7[_0x1ee78f(0x1ea)](_0x504cd7,_0x22f2ab);_0x3eccb5&&(_0x384946=_0x384946[_0x1ee78f(0x310)](/\\/g,''),_0x3eccb5=!0x1),_0x2738c1(_0x1548a4,_0x6ee84d,_0x384946),_0x339b13===0x2c&&(_0x2738c1(_0x12e5fb,_0x4fa10f,_0x1548a4),_0x1548a4=Object['create'](null),_0x4fa10f=void 0x0),_0x6ee84d=void 0x0,_0x504cd7=_0x22f2ab=-0x1;}else throw new SyntaxError(_0x1ee78f(0x1f4)+_0x3cbac6);}}}}}}}if(_0x504cd7===-0x1||_0x1404b2||_0x339b13===0x20||_0x339b13===0x9)throw new SyntaxError(_0x1ee78f(0x2e2));_0x22f2ab===-0x1&&(_0x22f2ab=_0x3cbac6);const _0x4ac5b5=_0x4a4af7['slice'](_0x504cd7,_0x22f2ab);return _0x4fa10f===void 0x0?_0x2738c1(_0x12e5fb,_0x4ac5b5,_0x1548a4):(_0x6ee84d===void 0x0?_0x2738c1(_0x1548a4,_0x4ac5b5,!0x0):_0x3eccb5?_0x2738c1(_0x1548a4,_0x6ee84d,_0x4ac5b5[_0x1ee78f(0x310)](/\\/g,'')):_0x2738c1(_0x1548a4,_0x6ee84d,_0x4ac5b5),_0x2738c1(_0x12e5fb,_0x4fa10f,_0x1548a4)),_0x12e5fb;}function _0x353541(_0x391369){const _0x4f63e5=_0x5908;return Object[_0x4f63e5(0x1f5)](_0x391369)[_0x4f63e5(0x1f7)](_0x29525a=>{const _0x4d5ad0=_0x4f63e5;let _0x22e442=_0x391369[_0x29525a];return Array[_0x4d5ad0(0x194)](_0x22e442)||(_0x22e442=[_0x22e442]),_0x22e442[_0x4d5ad0(0x1f7)](_0x4b8819=>[_0x29525a][_0x4d5ad0(0x2a8)](Object[_0x4d5ad0(0x1f5)](_0x4b8819)['map'](_0x53507d=>{const _0x4e2783=_0x4d5ad0;let _0x2872fb=_0x4b8819[_0x53507d];return Array[_0x4e2783(0x194)](_0x2872fb)||(_0x2872fb=[_0x2872fb]),_0x2872fb['map'](_0x300c97=>_0x300c97===!0x0?_0x53507d:_0x53507d+'='+_0x300c97)[_0x4e2783(0x1a1)](';\x20');}))[_0x4d5ad0(0x1a1)](';\x20'))[_0x4d5ad0(0x1a1)](',\x20');})[_0x4f63e5(0x1a1)](',\x20');}return be={'format':_0x353541,'parse':_0x3880c2},be;}var we,st;function Ie(){const _0x211dc8=_0x321d1b;if(st)return we;st=0x1;const _0xc61678=_0x3b8a02,_0x4a28df=_0x49531b,_0x130b4b=_0x3bc34d,_0x5d953a=_0x5608cb,_0x5ec9d1=_0x4705fe,{randomBytes:_0x3883e6,createHash:_0x1ffe0c}=_0x543b83,{Duplex:_0x2c2ab6,Readable:_0x2b3963}=_0xd844bd,{URL:_0x4f86c9}=_0x5580fa,_0x1b2fd9=he(),_0x5e1c23=dt(),_0x25fb69=_t(),{isBlob:_0x40d673}=ne(),{BINARY_TYPES:_0x4ec6e9,EMPTY_BUFFER:_0x56c5c6,GUID:_0x4c7f8d,kForOnEventAttribute:_0x337ace,kListener:_0x1f5351,kStatusCode:_0x47c286,kWebSocket:_0x5146f7,NOOP:_0x2a9e61}=V(),{EventTarget:{addEventListener:_0x1f8928,removeEventListener:_0x287776}}=Kt(),{format:_0x497c6b,parse:_0x424545}=pt(),{toBuffer:_0xcd702b}=ce(),_0x4886dd=0x1e*0x3e8,_0x72df81=Symbol(_0x211dc8(0x1ae)),_0x25a1af=[0x8,0xd],_0x545b35=[_0x211dc8(0x289),'OPEN','CLOSING',_0x211dc8(0x21a)],_0x53efae=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x489e06 extends _0xc61678{constructor(_0x452014,_0x386357,_0x25d58e){const _0x15bcf0=_0x211dc8;super(),this['_binaryType']=_0x4ec6e9[0x0],this[_0x15bcf0(0x219)]=0x3ee,this[_0x15bcf0(0x197)]=!0x1,this[_0x15bcf0(0x2d6)]=!0x1,this[_0x15bcf0(0x1e5)]=_0x56c5c6,this[_0x15bcf0(0x1ed)]=null,this['_errorEmitted']=!0x1,this[_0x15bcf0(0x23a)]={},this[_0x15bcf0(0x1dd)]=!0x1,this['_protocol']='',this[_0x15bcf0(0x1b3)]=_0x489e06[_0x15bcf0(0x289)],this[_0x15bcf0(0x1ec)]=null,this[_0x15bcf0(0x21d)]=null,this[_0x15bcf0(0x2ee)]=null,_0x452014!==null?(this[_0x15bcf0(0x300)]=0x0,this[_0x15bcf0(0x264)]=!0x1,this[_0x15bcf0(0x1ef)]=0x0,_0x386357===void 0x0?_0x386357=[]:Array['isArray'](_0x386357)||(typeof _0x386357==_0x15bcf0(0x313)&&_0x386357!==null?(_0x25d58e=_0x386357,_0x386357=[]):_0x386357=[_0x386357]),_0x32f215(this,_0x452014,_0x386357,_0x25d58e)):(this[_0x15bcf0(0x2ec)]=_0x25d58e[_0x15bcf0(0x2cc)],this[_0x15bcf0(0x264)]=!0x0);}get[_0x211dc8(0x21c)](){return this['_binaryType'];}set[_0x211dc8(0x21c)](_0xadf896){const _0x10b70b=_0x211dc8;_0x4ec6e9['includes'](_0xadf896)&&(this['_binaryType']=_0xadf896,this[_0x10b70b(0x1ec)]&&(this['_receiver']['_binaryType']=_0xadf896));}get['bufferedAmount'](){const _0x403ae3=_0x211dc8;return this[_0x403ae3(0x2ee)]?this[_0x403ae3(0x2ee)][_0x403ae3(0x240)][_0x403ae3(0x245)]+this['_sender']['_bufferedBytes']:this[_0x403ae3(0x300)];}get[_0x211dc8(0x27c)](){const _0x2e29c3=_0x211dc8;return Object[_0x2e29c3(0x1f5)](this[_0x2e29c3(0x23a)])[_0x2e29c3(0x1a1)]();}get[_0x211dc8(0x1ad)](){const _0x2764c9=_0x211dc8;return this[_0x2764c9(0x1dd)];}get[_0x211dc8(0x2ab)](){return null;}get[_0x211dc8(0x2d2)](){return null;}get['onopen'](){return null;}get[_0x211dc8(0x29e)](){return null;}get[_0x211dc8(0x292)](){return this['_protocol'];}get[_0x211dc8(0x2da)](){const _0x1357b3=_0x211dc8;return this[_0x1357b3(0x1b3)];}get[_0x211dc8(0x261)](){return this['_url'];}[_0x211dc8(0x2ea)](_0x1bfac2,_0x2771c1,_0x1efc48){const _0x4d99ee=_0x211dc8,_0x351dbc=new _0x5e1c23({'allowSynchronousEvents':_0x1efc48[_0x4d99ee(0x260)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x4d99ee(0x264)],'maxPayload':_0x1efc48['maxPayload'],'skipUTF8Validation':_0x1efc48[_0x4d99ee(0x22f)]}),_0x11672e=new _0x25fb69(_0x1bfac2,this[_0x4d99ee(0x23a)],_0x1efc48[_0x4d99ee(0x296)]);this[_0x4d99ee(0x1ec)]=_0x351dbc,this[_0x4d99ee(0x21d)]=_0x11672e,this[_0x4d99ee(0x2ee)]=_0x1bfac2,_0x351dbc[_0x5146f7]=this,_0x11672e[_0x5146f7]=this,_0x1bfac2[_0x5146f7]=this,_0x351dbc['on'](_0x4d99ee(0x243),_0x4f72cd),_0x351dbc['on'](_0x4d99ee(0x1b7),_0x5ddadb),_0x351dbc['on'](_0x4d99ee(0x2b7),_0x21d764),_0x351dbc['on']('message',_0x2781f5),_0x351dbc['on']('ping',_0x174761),_0x351dbc['on'](_0x4d99ee(0x2f2),_0x331359),_0x11672e[_0x4d99ee(0x2d2)]=_0x4124c2,_0x1bfac2[_0x4d99ee(0x322)]&&_0x1bfac2[_0x4d99ee(0x322)](0x0),_0x1bfac2[_0x4d99ee(0x2f5)]&&_0x1bfac2[_0x4d99ee(0x2f5)](),_0x2771c1[_0x4d99ee(0x245)]>0x0&&_0x1bfac2[_0x4d99ee(0x19d)](_0x2771c1),_0x1bfac2['on'](_0x4d99ee(0x294),_0x56b476),_0x1bfac2['on']('data',_0x53ecbd),_0x1bfac2['on'](_0x4d99ee(0x1a3),_0x54c003),_0x1bfac2['on'](_0x4d99ee(0x2b7),_0x39a4b2),this[_0x4d99ee(0x1b3)]=_0x489e06['OPEN'],this[_0x4d99ee(0x218)](_0x4d99ee(0x204));}[_0x211dc8(0x30f)](){const _0x2c9d98=_0x211dc8;if(!this[_0x2c9d98(0x2ee)]){this[_0x2c9d98(0x1b3)]=_0x489e06['CLOSED'],this[_0x2c9d98(0x218)](_0x2c9d98(0x294),this['_closeCode'],this['_closeMessage']);return;}this[_0x2c9d98(0x23a)][_0x1b2fd9[_0x2c9d98(0x2aa)]]&&this[_0x2c9d98(0x23a)][_0x1b2fd9['extensionName']]['cleanup'](),this['_receiver'][_0x2c9d98(0x1b5)](),this['_readyState']=_0x489e06[_0x2c9d98(0x21a)],this[_0x2c9d98(0x218)]('close',this[_0x2c9d98(0x219)],this[_0x2c9d98(0x1e5)]);}['close'](_0x2d6736,_0x11f316){const _0x380a9b=_0x211dc8;if(this['readyState']!==_0x489e06[_0x380a9b(0x21a)]){if(this['readyState']===_0x489e06[_0x380a9b(0x289)]){_0x8f06ee(this,this[_0x380a9b(0x1fb)],_0x380a9b(0x276));return;}if(this[_0x380a9b(0x2da)]===_0x489e06[_0x380a9b(0x1ff)]){this[_0x380a9b(0x2d6)]&&(this[_0x380a9b(0x197)]||this[_0x380a9b(0x1ec)]['_writableState'][_0x380a9b(0x1b1)])&&this['_socket'][_0x380a9b(0x1a3)]();return;}this[_0x380a9b(0x1b3)]=_0x489e06[_0x380a9b(0x1ff)],this[_0x380a9b(0x21d)][_0x380a9b(0x294)](_0x2d6736,_0x11f316,!this[_0x380a9b(0x264)],_0x1cb155=>{const _0x12aeb9=_0x380a9b;_0x1cb155||(this[_0x12aeb9(0x2d6)]=!0x0,(this[_0x12aeb9(0x197)]||this['_receiver'][_0x12aeb9(0x240)][_0x12aeb9(0x1b1)])&&this[_0x12aeb9(0x2ee)]['end']());}),_0x2f1b87(this);}}[_0x211dc8(0x1e0)](){const _0x9ed8c9=_0x211dc8;this[_0x9ed8c9(0x2da)]===_0x489e06[_0x9ed8c9(0x289)]||this[_0x9ed8c9(0x2da)]===_0x489e06[_0x9ed8c9(0x21a)]||(this['_paused']=!0x0,this[_0x9ed8c9(0x2ee)]['pause']());}[_0x211dc8(0x288)](_0x1ef971,_0x5c2b27,_0x40bfda){const _0x3c85ff=_0x211dc8;if(this[_0x3c85ff(0x2da)]===_0x489e06[_0x3c85ff(0x289)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1ef971==_0x3c85ff(0x22c)?(_0x40bfda=_0x1ef971,_0x1ef971=_0x5c2b27=void 0x0):typeof _0x5c2b27==_0x3c85ff(0x22c)&&(_0x40bfda=_0x5c2b27,_0x5c2b27=void 0x0),typeof _0x1ef971==_0x3c85ff(0x27e)&&(_0x1ef971=_0x1ef971[_0x3c85ff(0x2f6)]()),this[_0x3c85ff(0x2da)]!==_0x489e06[_0x3c85ff(0x24b)]){_0x3ae402(this,_0x1ef971,_0x40bfda);return;}_0x5c2b27===void 0x0&&(_0x5c2b27=!this['_isServer']),this[_0x3c85ff(0x21d)][_0x3c85ff(0x288)](_0x1ef971||_0x56c5c6,_0x5c2b27,_0x40bfda);}[_0x211dc8(0x2f2)](_0x2eda52,_0x970b38,_0x473736){const _0x275688=_0x211dc8;if(this[_0x275688(0x2da)]===_0x489e06[_0x275688(0x289)])throw new Error(_0x275688(0x23d));if(typeof _0x2eda52==_0x275688(0x22c)?(_0x473736=_0x2eda52,_0x2eda52=_0x970b38=void 0x0):typeof _0x970b38==_0x275688(0x22c)&&(_0x473736=_0x970b38,_0x970b38=void 0x0),typeof _0x2eda52==_0x275688(0x27e)&&(_0x2eda52=_0x2eda52['toString']()),this[_0x275688(0x2da)]!==_0x489e06['OPEN']){_0x3ae402(this,_0x2eda52,_0x473736);return;}_0x970b38===void 0x0&&(_0x970b38=!this[_0x275688(0x264)]),this[_0x275688(0x21d)][_0x275688(0x2f2)](_0x2eda52||_0x56c5c6,_0x970b38,_0x473736);}[_0x211dc8(0x24c)](){const _0xb18fd9=_0x211dc8;this[_0xb18fd9(0x2da)]===_0x489e06['CONNECTING']||this['readyState']===_0x489e06[_0xb18fd9(0x21a)]||(this[_0xb18fd9(0x1dd)]=!0x1,this[_0xb18fd9(0x1ec)][_0xb18fd9(0x240)][_0xb18fd9(0x28a)]||this[_0xb18fd9(0x2ee)]['resume']());}[_0x211dc8(0x2c5)](_0x436625,_0x4883ed,_0x5a1029){const _0x39f25f=_0x211dc8;if(this[_0x39f25f(0x2da)]===_0x489e06[_0x39f25f(0x289)])throw new Error(_0x39f25f(0x23d));if(typeof _0x4883ed=='function'&&(_0x5a1029=_0x4883ed,_0x4883ed={}),typeof _0x436625==_0x39f25f(0x27e)&&(_0x436625=_0x436625[_0x39f25f(0x2f6)]()),this['readyState']!==_0x489e06['OPEN']){_0x3ae402(this,_0x436625,_0x5a1029);return;}const _0x11e295={'binary':typeof _0x436625!=_0x39f25f(0x303),'mask':!this[_0x39f25f(0x264)],'compress':!0x0,'fin':!0x0,..._0x4883ed};this[_0x39f25f(0x23a)][_0x1b2fd9[_0x39f25f(0x2aa)]]||(_0x11e295['compress']=!0x1),this[_0x39f25f(0x21d)][_0x39f25f(0x2c5)](_0x436625||_0x56c5c6,_0x11e295,_0x5a1029);}[_0x211dc8(0x1b4)](){const _0x53735c=_0x211dc8;if(this['readyState']!==_0x489e06[_0x53735c(0x21a)]){if(this[_0x53735c(0x2da)]===_0x489e06['CONNECTING']){_0x8f06ee(this,this[_0x53735c(0x1fb)],_0x53735c(0x276));return;}this[_0x53735c(0x2ee)]&&(this[_0x53735c(0x1b3)]=_0x489e06[_0x53735c(0x1ff)],this[_0x53735c(0x2ee)]['destroy']());}}}Object[_0x211dc8(0x2d5)](_0x489e06,_0x211dc8(0x289),{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)]('CONNECTING')}),Object[_0x211dc8(0x2d5)](_0x489e06['prototype'],_0x211dc8(0x289),{'enumerable':!0x0,'value':_0x545b35['indexOf'](_0x211dc8(0x289))}),Object['defineProperty'](_0x489e06,_0x211dc8(0x24b),{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)](_0x211dc8(0x24b))}),Object[_0x211dc8(0x2d5)](_0x489e06['prototype'],_0x211dc8(0x24b),{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)](_0x211dc8(0x24b))}),Object[_0x211dc8(0x2d5)](_0x489e06,_0x211dc8(0x1ff),{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)](_0x211dc8(0x1ff))}),Object[_0x211dc8(0x2d5)](_0x489e06['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x545b35[_0x211dc8(0x21b)](_0x211dc8(0x1ff))}),Object[_0x211dc8(0x2d5)](_0x489e06,'CLOSED',{'enumerable':!0x0,'value':_0x545b35['indexOf'](_0x211dc8(0x21a))}),Object[_0x211dc8(0x2d5)](_0x489e06[_0x211dc8(0x29f)],_0x211dc8(0x21a),{'enumerable':!0x0,'value':_0x545b35['indexOf'](_0x211dc8(0x21a))}),[_0x211dc8(0x21c),_0x211dc8(0x265),_0x211dc8(0x27c),_0x211dc8(0x1ad),'protocol',_0x211dc8(0x2da),_0x211dc8(0x261)][_0x211dc8(0x269)](_0x38035e=>{const _0x33ecee=_0x211dc8;Object['defineProperty'](_0x489e06[_0x33ecee(0x29f)],_0x38035e,{'enumerable':!0x0});}),[_0x211dc8(0x204),'error','close',_0x211dc8(0x237)][_0x211dc8(0x269)](_0x10a6e3=>{const _0x1e220a=_0x211dc8;Object[_0x1e220a(0x2d5)](_0x489e06[_0x1e220a(0x29f)],'on'+_0x10a6e3,{'enumerable':!0x0,'get'(){const _0x293f91=_0x1e220a;for(const _0x427581 of this[_0x293f91(0x1fe)](_0x10a6e3))if(_0x427581[_0x337ace])return _0x427581[_0x1f5351];return null;},'set'(_0x2652f8){const _0x372f9f=_0x1e220a;for(const _0x5a1438 of this[_0x372f9f(0x1fe)](_0x10a6e3))if(_0x5a1438[_0x337ace]){this[_0x372f9f(0x337)](_0x10a6e3,_0x5a1438);break;}typeof _0x2652f8==_0x372f9f(0x22c)&&this[_0x372f9f(0x1a2)](_0x10a6e3,_0x2652f8,{[_0x337ace]:!0x0});}});}),_0x489e06['prototype']['addEventListener']=_0x1f8928,_0x489e06[_0x211dc8(0x29f)]['removeEventListener']=_0x287776,we=_0x489e06;function _0x32f215(_0x239954,_0x54cab0,_0x41b826,_0x484b34){const _0x400780=_0x211dc8,_0x44a7ce={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x25a1af[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x484b34,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x400780(0x2b0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x239954[_0x400780(0x2ec)]=_0x44a7ce[_0x400780(0x2cc)],!_0x25a1af[_0x400780(0x297)](_0x44a7ce['protocolVersion']))throw new RangeError(_0x400780(0x238)+_0x44a7ce[_0x400780(0x1a8)]+'\x20(supported\x20versions:\x20'+_0x25a1af[_0x400780(0x1a1)](',\x20')+')');let _0x4431c4;if(_0x54cab0 instanceof _0x4f86c9)_0x4431c4=_0x54cab0;else try{_0x4431c4=new _0x4f86c9(_0x54cab0);}catch{throw new SyntaxError(_0x400780(0x281)+_0x54cab0);}_0x4431c4[_0x400780(0x292)]==='http:'?_0x4431c4[_0x400780(0x292)]=_0x400780(0x247):_0x4431c4[_0x400780(0x292)]===_0x400780(0x1f9)&&(_0x4431c4[_0x400780(0x292)]=_0x400780(0x20a)),_0x239954[_0x400780(0x29b)]=_0x4431c4[_0x400780(0x26c)];const _0x8bf702=_0x4431c4[_0x400780(0x292)]==='wss:',_0x142cfa=_0x4431c4[_0x400780(0x292)]===_0x400780(0x319);let _0x354dca;if(_0x4431c4['protocol']!==_0x400780(0x247)&&!_0x8bf702&&!_0x142cfa?_0x354dca='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':_0x142cfa&&!_0x4431c4[_0x400780(0x1e1)]?_0x354dca=_0x400780(0x342):_0x4431c4['hash']&&(_0x354dca=_0x400780(0x242)),_0x354dca){const _0x4c0983=new SyntaxError(_0x354dca);if(_0x239954['_redirects']===0x0)throw _0x4c0983;_0x4e9105(_0x239954,_0x4c0983);return;}const _0x486aeb=_0x8bf702?0x1bb:0x50,_0x58e885=_0x3883e6(0x10)[_0x400780(0x2f6)](_0x400780(0x1e4)),_0x2bb33a=_0x8bf702?_0x4a28df[_0x400780(0x1a4)]:_0x130b4b['request'],_0xb3e746=new Set();let _0x31359b;if(_0x44a7ce[_0x400780(0x21f)]=_0x44a7ce['createConnection']||(_0x8bf702?_0x94a64d:_0x326011),_0x44a7ce['defaultPort']=_0x44a7ce['defaultPort']||_0x486aeb,_0x44a7ce[_0x400780(0x2ef)]=_0x4431c4['port']||_0x486aeb,_0x44a7ce[_0x400780(0x285)]=_0x4431c4[_0x400780(0x287)][_0x400780(0x215)]('[')?_0x4431c4['hostname'][_0x400780(0x1ea)](0x1,-0x1):_0x4431c4[_0x400780(0x287)],_0x44a7ce['headers']={..._0x44a7ce[_0x400780(0x330)],'Sec-WebSocket-Version':_0x44a7ce[_0x400780(0x1a8)],'Sec-WebSocket-Key':_0x58e885,'Connection':_0x400780(0x1df),'Upgrade':_0x400780(0x2ce)},_0x44a7ce[_0x400780(0x2d3)]=_0x4431c4[_0x400780(0x1e1)]+_0x4431c4[_0x400780(0x2f3)],_0x44a7ce[_0x400780(0x190)]=_0x44a7ce[_0x400780(0x1b0)],_0x44a7ce[_0x400780(0x2fe)]&&(_0x31359b=new _0x1b2fd9(_0x44a7ce[_0x400780(0x2fe)]!==!0x0?_0x44a7ce[_0x400780(0x2fe)]:{},!0x1,_0x44a7ce[_0x400780(0x2e3)]),_0x44a7ce[_0x400780(0x330)]['Sec-WebSocket-Extensions']=_0x497c6b({[_0x1b2fd9[_0x400780(0x2aa)]]:_0x31359b[_0x400780(0x2f9)]()})),_0x41b826['length']){for(const _0x1b8a3f of _0x41b826){if(typeof _0x1b8a3f!=_0x400780(0x303)||!_0x53efae[_0x400780(0x301)](_0x1b8a3f)||_0xb3e746[_0x400780(0x25c)](_0x1b8a3f))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xb3e746['add'](_0x1b8a3f);}_0x44a7ce[_0x400780(0x330)][_0x400780(0x32f)]=_0x41b826[_0x400780(0x1a1)](',');}if(_0x44a7ce['origin']&&(_0x44a7ce[_0x400780(0x1a8)]<0xd?_0x44a7ce[_0x400780(0x330)][_0x400780(0x27a)]=_0x44a7ce[_0x400780(0x2bf)]:_0x44a7ce['headers'][_0x400780(0x1c2)]=_0x44a7ce[_0x400780(0x2bf)]),(_0x4431c4[_0x400780(0x18e)]||_0x4431c4[_0x400780(0x31b)])&&(_0x44a7ce['auth']=_0x4431c4['username']+':'+_0x4431c4[_0x400780(0x31b)]),_0x142cfa){const _0x4908d4=_0x44a7ce[_0x400780(0x2d3)]['split'](':');_0x44a7ce[_0x400780(0x31c)]=_0x4908d4[0x0],_0x44a7ce['path']=_0x4908d4[0x1];}let _0x477c89;if(_0x44a7ce[_0x400780(0x340)]){if(_0x239954[_0x400780(0x1ef)]===0x0){_0x239954[_0x400780(0x1d0)]=_0x142cfa,_0x239954['_originalSecure']=_0x8bf702,_0x239954[_0x400780(0x32b)]=_0x142cfa?_0x44a7ce[_0x400780(0x31c)]:_0x4431c4[_0x400780(0x285)];const _0x2973e2=_0x484b34&&_0x484b34[_0x400780(0x330)];if(_0x484b34={..._0x484b34,'headers':{}},_0x2973e2){for(const [_0x544d58,_0x415833]of Object[_0x400780(0x1ba)](_0x2973e2))_0x484b34[_0x400780(0x330)][_0x544d58['toLowerCase']()]=_0x415833;}}else{if(_0x239954[_0x400780(0x28d)](_0x400780(0x274))===0x0){const _0x60a6da=_0x142cfa?_0x239954[_0x400780(0x1d0)]?_0x44a7ce[_0x400780(0x31c)]===_0x239954[_0x400780(0x32b)]:!0x1:_0x239954[_0x400780(0x1d0)]?!0x1:_0x4431c4['host']===_0x239954['_originalHostOrSocketPath'];(!_0x60a6da||_0x239954[_0x400780(0x217)]&&!_0x8bf702)&&(delete _0x44a7ce[_0x400780(0x330)][_0x400780(0x1f0)],delete _0x44a7ce[_0x400780(0x330)]['cookie'],_0x60a6da||delete _0x44a7ce['headers'][_0x400780(0x285)],_0x44a7ce[_0x400780(0x1dc)]=void 0x0);}}_0x44a7ce['auth']&&!_0x484b34[_0x400780(0x330)][_0x400780(0x1f0)]&&(_0x484b34['headers'][_0x400780(0x1f0)]=_0x400780(0x252)+Buffer['from'](_0x44a7ce[_0x400780(0x1dc)])[_0x400780(0x2f6)]('base64')),_0x477c89=_0x239954[_0x400780(0x1fb)]=_0x2bb33a(_0x44a7ce),_0x239954[_0x400780(0x1ef)]&&_0x239954[_0x400780(0x218)](_0x400780(0x274),_0x239954[_0x400780(0x261)],_0x477c89);}else _0x477c89=_0x239954[_0x400780(0x1fb)]=_0x2bb33a(_0x44a7ce);_0x44a7ce[_0x400780(0x190)]&&_0x477c89['on'](_0x400780(0x190),()=>{const _0x14df35=_0x400780;_0x8f06ee(_0x239954,_0x477c89,_0x14df35(0x262));}),_0x477c89['on']('error',_0x4e85b4=>{_0x477c89===null||_0x477c89[_0x72df81]||(_0x477c89=_0x239954['_req']=null,_0x4e9105(_0x239954,_0x4e85b4));}),_0x477c89['on'](_0x400780(0x199),_0x2d5efc=>{const _0x108e60=_0x400780,_0x296aab=_0x2d5efc[_0x108e60(0x330)][_0x108e60(0x2a0)],_0x4abd5a=_0x2d5efc['statusCode'];if(_0x296aab&&_0x44a7ce[_0x108e60(0x340)]&&_0x4abd5a>=0x12c&&_0x4abd5a<0x190){if(++_0x239954[_0x108e60(0x1ef)]>_0x44a7ce[_0x108e60(0x2e6)]){_0x8f06ee(_0x239954,_0x477c89,_0x108e60(0x24f));return;}_0x477c89[_0x108e60(0x206)]();let _0x18c349;try{_0x18c349=new _0x4f86c9(_0x296aab,_0x54cab0);}catch{const _0x1f4ed9=new SyntaxError(_0x108e60(0x281)+_0x296aab);_0x4e9105(_0x239954,_0x1f4ed9);return;}_0x32f215(_0x239954,_0x18c349,_0x41b826,_0x484b34);}else _0x239954[_0x108e60(0x218)](_0x108e60(0x2eb),_0x477c89,_0x2d5efc)||_0x8f06ee(_0x239954,_0x477c89,'Unexpected\x20server\x20response:\x20'+_0x2d5efc[_0x108e60(0x226)]);}),_0x477c89['on'](_0x400780(0x2f7),(_0x527800,_0x1d0020,_0x357a11)=>{const _0x409478=_0x400780;if(_0x239954['emit'](_0x409478(0x2f7),_0x527800),_0x239954['readyState']!==_0x489e06[_0x409478(0x289)])return;_0x477c89=_0x239954[_0x409478(0x1fb)]=null;const _0x2b57cc=_0x527800['headers']['upgrade'];if(_0x2b57cc===void 0x0||_0x2b57cc[_0x409478(0x2d4)]()!==_0x409478(0x2ce)){_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x211));return;}const _0x551854=_0x1ffe0c(_0x409478(0x2a3))[_0x409478(0x2b5)](_0x58e885+_0x4c7f8d)[_0x409478(0x1eb)](_0x409478(0x1e4));if(_0x527800[_0x409478(0x330)][_0x409478(0x2c7)]!==_0x551854){_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x2d1));return;}const _0x5f2216=_0x527800[_0x409478(0x330)][_0x409478(0x268)];let _0x578a03;if(_0x5f2216!==void 0x0?_0xb3e746[_0x409478(0x26d)]?_0xb3e746['has'](_0x5f2216)||(_0x578a03=_0x409478(0x216)):_0x578a03='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0xb3e746[_0x409478(0x26d)]&&(_0x578a03=_0x409478(0x317)),_0x578a03){_0x8f06ee(_0x239954,_0x1d0020,_0x578a03);return;}_0x5f2216&&(_0x239954[_0x409478(0x33b)]=_0x5f2216);const _0x292fa2=_0x527800['headers'][_0x409478(0x258)];if(_0x292fa2!==void 0x0){if(!_0x31359b){_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x23f));return;}let _0x30a0dd;try{_0x30a0dd=_0x424545(_0x292fa2);}catch{_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x1db));return;}const _0x14d9d3=Object[_0x409478(0x1f5)](_0x30a0dd);if(_0x14d9d3['length']!==0x1||_0x14d9d3[0x0]!==_0x1b2fd9[_0x409478(0x2aa)]){_0x8f06ee(_0x239954,_0x1d0020,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x31359b[_0x409478(0x321)](_0x30a0dd[_0x1b2fd9[_0x409478(0x2aa)]]);}catch{_0x8f06ee(_0x239954,_0x1d0020,_0x409478(0x1db));return;}_0x239954[_0x409478(0x23a)][_0x1b2fd9[_0x409478(0x2aa)]]=_0x31359b;}_0x239954[_0x409478(0x2ea)](_0x1d0020,_0x357a11,{'allowSynchronousEvents':_0x44a7ce[_0x409478(0x260)],'generateMask':_0x44a7ce[_0x409478(0x296)],'maxPayload':_0x44a7ce[_0x409478(0x2e3)],'skipUTF8Validation':_0x44a7ce['skipUTF8Validation']});}),_0x44a7ce[_0x400780(0x1fc)]?_0x44a7ce[_0x400780(0x1fc)](_0x477c89,_0x239954):_0x477c89[_0x400780(0x1a3)]();}function _0x4e9105(_0x1e66a4,_0x1ef30d){const _0x329a52=_0x211dc8;_0x1e66a4[_0x329a52(0x1b3)]=_0x489e06[_0x329a52(0x1ff)],_0x1e66a4[_0x329a52(0x332)]=!0x0,_0x1e66a4['emit'](_0x329a52(0x2b7),_0x1ef30d),_0x1e66a4['emitClose']();}function _0x326011(_0x20f439){const _0x230842=_0x211dc8;return _0x20f439[_0x230842(0x2d3)]=_0x20f439[_0x230842(0x31c)],_0x5d953a[_0x230842(0x2e7)](_0x20f439);}function _0x94a64d(_0x15b633){const _0x333122=_0x211dc8;return _0x15b633['path']=void 0x0,!_0x15b633[_0x333122(0x1d5)]&&_0x15b633['servername']!==''&&(_0x15b633[_0x333122(0x1d5)]=_0x5d953a[_0x333122(0x2b2)](_0x15b633['host'])?'':_0x15b633['host']),_0x5ec9d1[_0x333122(0x2e7)](_0x15b633);}function _0x8f06ee(_0x34a054,_0x5a7111,_0x2e00b9){const _0x677f58=_0x211dc8;_0x34a054[_0x677f58(0x1b3)]=_0x489e06[_0x677f58(0x1ff)];const _0x36d571=new Error(_0x2e00b9);Error[_0x677f58(0x2d8)](_0x36d571,_0x8f06ee),_0x5a7111[_0x677f58(0x18c)]?(_0x5a7111[_0x72df81]=!0x0,_0x5a7111[_0x677f58(0x206)](),_0x5a7111[_0x677f58(0x1af)]&&!_0x5a7111[_0x677f58(0x1af)][_0x677f58(0x1c6)]&&_0x5a7111[_0x677f58(0x1af)]['destroy'](),process['nextTick'](_0x4e9105,_0x34a054,_0x36d571)):(_0x5a7111[_0x677f58(0x2bd)](_0x36d571),_0x5a7111[_0x677f58(0x306)]('error',_0x34a054[_0x677f58(0x218)][_0x677f58(0x2dd)](_0x34a054,_0x677f58(0x2b7))),_0x5a7111[_0x677f58(0x306)](_0x677f58(0x294),_0x34a054[_0x677f58(0x30f)][_0x677f58(0x2dd)](_0x34a054)));}function _0x3ae402(_0x22632b,_0x1dbbbd,_0x1cbc1a){const _0x1a88cd=_0x211dc8;if(_0x1dbbbd){const _0x53858e=_0x40d673(_0x1dbbbd)?_0x1dbbbd[_0x1a88cd(0x26d)]:_0xcd702b(_0x1dbbbd)[_0x1a88cd(0x245)];_0x22632b[_0x1a88cd(0x2ee)]?_0x22632b['_sender'][_0x1a88cd(0x205)]+=_0x53858e:_0x22632b[_0x1a88cd(0x300)]+=_0x53858e;}if(_0x1cbc1a){const _0x150203=new Error(_0x1a88cd(0x24a)+_0x22632b['readyState']+'\x20('+_0x545b35[_0x22632b[_0x1a88cd(0x2da)]]+')');process[_0x1a88cd(0x32a)](_0x1cbc1a,_0x150203);}}function _0x4f72cd(_0x460119,_0x50c212){const _0x3622a5=_0x211dc8,_0x483494=this[_0x5146f7];_0x483494[_0x3622a5(0x197)]=!0x0,_0x483494[_0x3622a5(0x1e5)]=_0x50c212,_0x483494['_closeCode']=_0x460119,_0x483494['_socket'][_0x5146f7]!==void 0x0&&(_0x483494[_0x3622a5(0x2ee)][_0x3622a5(0x337)](_0x3622a5(0x2c8),_0x53ecbd),process['nextTick'](_0x5baf3d,_0x483494[_0x3622a5(0x2ee)]),_0x460119===0x3ed?_0x483494[_0x3622a5(0x294)]():_0x483494['close'](_0x460119,_0x50c212));}function _0x5ddadb(){const _0x261dcc=_0x211dc8,_0x369595=this[_0x5146f7];_0x369595['isPaused']||_0x369595[_0x261dcc(0x2ee)][_0x261dcc(0x24c)]();}function _0x21d764(_0x5ca985){const _0x16c5ee=_0x211dc8,_0x700b6=this[_0x5146f7];_0x700b6[_0x16c5ee(0x2ee)][_0x5146f7]!==void 0x0&&(_0x700b6[_0x16c5ee(0x2ee)][_0x16c5ee(0x337)](_0x16c5ee(0x2c8),_0x53ecbd),process[_0x16c5ee(0x32a)](_0x5baf3d,_0x700b6[_0x16c5ee(0x2ee)]),_0x700b6[_0x16c5ee(0x294)](_0x5ca985[_0x47c286])),_0x700b6[_0x16c5ee(0x332)]||(_0x700b6[_0x16c5ee(0x332)]=!0x0,_0x700b6[_0x16c5ee(0x218)](_0x16c5ee(0x2b7),_0x5ca985));}function _0x22382d(){const _0x27dfe1=_0x211dc8;this[_0x5146f7][_0x27dfe1(0x30f)]();}function _0x2781f5(_0x3fc9aa,_0x240464){this[_0x5146f7]['emit']('message',_0x3fc9aa,_0x240464);}function _0x174761(_0x5a9142){const _0x3a83da=_0x211dc8,_0x12c714=this[_0x5146f7];_0x12c714[_0x3a83da(0x2ec)]&&_0x12c714['pong'](_0x5a9142,!this['_isServer'],_0x2a9e61),_0x12c714[_0x3a83da(0x218)]('ping',_0x5a9142);}function _0x331359(_0x423135){const _0x18d29f=_0x211dc8;this[_0x5146f7][_0x18d29f(0x218)](_0x18d29f(0x2f2),_0x423135);}function _0x5baf3d(_0x316a17){const _0x367b27=_0x211dc8;_0x316a17[_0x367b27(0x24c)]();}function _0x4124c2(_0xfe2c5f){const _0x3ef5fd=_0x211dc8,_0x5a6ed2=this[_0x5146f7];_0x5a6ed2['readyState']!==_0x489e06[_0x3ef5fd(0x21a)]&&(_0x5a6ed2[_0x3ef5fd(0x2da)]===_0x489e06[_0x3ef5fd(0x24b)]&&(_0x5a6ed2[_0x3ef5fd(0x1b3)]=_0x489e06[_0x3ef5fd(0x1ff)],_0x2f1b87(_0x5a6ed2)),this[_0x3ef5fd(0x2ee)][_0x3ef5fd(0x1a3)](),_0x5a6ed2[_0x3ef5fd(0x332)]||(_0x5a6ed2[_0x3ef5fd(0x332)]=!0x0,_0x5a6ed2[_0x3ef5fd(0x218)](_0x3ef5fd(0x2b7),_0xfe2c5f)));}function _0x2f1b87(_0x22e710){const _0x4ac778=_0x211dc8;_0x22e710['_closeTimer']=setTimeout(_0x22e710['_socket']['destroy'][_0x4ac778(0x2dd)](_0x22e710[_0x4ac778(0x2ee)]),_0x4886dd);}function _0x56b476(){const _0x40fcf8=_0x211dc8,_0x288434=this[_0x5146f7];this[_0x40fcf8(0x337)](_0x40fcf8(0x294),_0x56b476),this['removeListener'](_0x40fcf8(0x2c8),_0x53ecbd),this['removeListener'](_0x40fcf8(0x1a3),_0x54c003),_0x288434[_0x40fcf8(0x1b3)]=_0x489e06[_0x40fcf8(0x1ff)];let _0x404b56;!this[_0x40fcf8(0x315)][_0x40fcf8(0x28f)]&&!_0x288434[_0x40fcf8(0x197)]&&!_0x288434[_0x40fcf8(0x1ec)][_0x40fcf8(0x240)][_0x40fcf8(0x1b1)]&&(_0x404b56=_0x288434[_0x40fcf8(0x2ee)][_0x40fcf8(0x2ff)]())!==null&&_0x288434['_receiver'][_0x40fcf8(0x30c)](_0x404b56),_0x288434[_0x40fcf8(0x1ec)][_0x40fcf8(0x1a3)](),this[_0x5146f7]=void 0x0,clearTimeout(_0x288434[_0x40fcf8(0x1ed)]),_0x288434[_0x40fcf8(0x1ec)][_0x40fcf8(0x240)]['finished']||_0x288434[_0x40fcf8(0x1ec)][_0x40fcf8(0x240)]['errorEmitted']?_0x288434['emitClose']():(_0x288434['_receiver']['on'](_0x40fcf8(0x2b7),_0x22382d),_0x288434[_0x40fcf8(0x1ec)]['on']('finish',_0x22382d));}function _0x53ecbd(_0x32b7af){const _0x123545=_0x211dc8;this[_0x5146f7][_0x123545(0x1ec)][_0x123545(0x30c)](_0x32b7af)||this['pause']();}function _0x54c003(){const _0x289eaf=_0x211dc8,_0x3ec3bd=this[_0x5146f7];_0x3ec3bd['_readyState']=_0x489e06[_0x289eaf(0x1ff)],_0x3ec3bd[_0x289eaf(0x1ec)]['end'](),this[_0x289eaf(0x1a3)]();}function _0x39a4b2(){const _0x251a44=_0x211dc8,_0x2c19dc=this[_0x5146f7];this[_0x251a44(0x337)]('error',_0x39a4b2),this['on'](_0x251a44(0x2b7),_0x2a9e61),_0x2c19dc&&(_0x2c19dc[_0x251a44(0x1b3)]=_0x489e06[_0x251a44(0x1ff)],this[_0x251a44(0x2bd)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2a3e42}=_0xd844bd;function _0x542d39(_0x539847){const _0x54a4cc=_0x5908;_0x539847[_0x54a4cc(0x218)](_0x54a4cc(0x294));}function _0x194555(){const _0x128e31=_0x5908;!this['destroyed']&&this[_0x128e31(0x240)][_0x128e31(0x263)]&&this[_0x128e31(0x2bd)]();}function _0x467f96(_0x2477a7){const _0x23dcc3=_0x5908;this[_0x23dcc3(0x337)]('error',_0x467f96),this['destroy'](),this[_0x23dcc3(0x28d)]('error')===0x0&&this[_0x23dcc3(0x218)](_0x23dcc3(0x2b7),_0x2477a7);}function _0x31eae6(_0x41f55d,_0x33535f){const _0x370d69=_0x5908;let _0xec998f=!0x0;const _0x3c00e2=new _0x2a3e42({..._0x33535f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x41f55d['on'](_0x370d69(0x237),function(_0x4f5728,_0xf9c3b5){const _0x4e8274=_0x370d69,_0x2cb939=!_0xf9c3b5&&_0x3c00e2[_0x4e8274(0x315)][_0x4e8274(0x338)]?_0x4f5728[_0x4e8274(0x2f6)]():_0x4f5728;_0x3c00e2['push'](_0x2cb939)||_0x41f55d[_0x4e8274(0x1e0)]();}),_0x41f55d['once'](_0x370d69(0x2b7),function(_0x598b4){const _0x1be00a=_0x370d69;_0x3c00e2[_0x1be00a(0x1c6)]||(_0xec998f=!0x1,_0x3c00e2['destroy'](_0x598b4));}),_0x41f55d['once'](_0x370d69(0x294),function(){const _0x4658b4=_0x370d69;_0x3c00e2[_0x4658b4(0x1c6)]||_0x3c00e2['push'](null);}),_0x3c00e2[_0x370d69(0x214)]=function(_0x2417b9,_0x325186){const _0x128227=_0x370d69;if(_0x41f55d[_0x128227(0x2da)]===_0x41f55d[_0x128227(0x21a)]){_0x325186(_0x2417b9),process['nextTick'](_0x542d39,_0x3c00e2);return;}let _0x33ab86=!0x1;_0x41f55d[_0x128227(0x306)]('error',function(_0x47c3aa){_0x33ab86=!0x0,_0x325186(_0x47c3aa);}),_0x41f55d[_0x128227(0x306)](_0x128227(0x294),function(){const _0x156068=_0x128227;_0x33ab86||_0x325186(_0x2417b9),process[_0x156068(0x32a)](_0x542d39,_0x3c00e2);}),_0xec998f&&_0x41f55d[_0x128227(0x1b4)]();},_0x3c00e2['_final']=function(_0x1ffc3e){const _0x4d67b8=_0x370d69;if(_0x41f55d['readyState']===_0x41f55d[_0x4d67b8(0x289)]){_0x41f55d[_0x4d67b8(0x306)](_0x4d67b8(0x204),function(){const _0x57ad67=_0x4d67b8;_0x3c00e2[_0x57ad67(0x273)](_0x1ffc3e);});return;}_0x41f55d[_0x4d67b8(0x2ee)]!==null&&(_0x41f55d['_socket'][_0x4d67b8(0x240)][_0x4d67b8(0x263)]?(_0x1ffc3e(),_0x3c00e2['_readableState'][_0x4d67b8(0x28f)]&&_0x3c00e2['destroy']()):(_0x41f55d[_0x4d67b8(0x2ee)]['once'](_0x4d67b8(0x20b),function(){_0x1ffc3e();}),_0x41f55d['close']()));},_0x3c00e2[_0x370d69(0x33d)]=function(){const _0x5e7be7=_0x370d69;_0x41f55d[_0x5e7be7(0x1ad)]&&_0x41f55d[_0x5e7be7(0x24c)]();},_0x3c00e2['_write']=function(_0x2ab1a8,_0xcf3a9d,_0x438a96){const _0x1a289b=_0x370d69;if(_0x41f55d[_0x1a289b(0x2da)]===_0x41f55d[_0x1a289b(0x289)]){_0x41f55d[_0x1a289b(0x306)](_0x1a289b(0x204),function(){const _0x21752f=_0x1a289b;_0x3c00e2[_0x21752f(0x20d)](_0x2ab1a8,_0xcf3a9d,_0x438a96);});return;}_0x41f55d[_0x1a289b(0x2c5)](_0x2ab1a8,_0x438a96);},_0x3c00e2['on'](_0x370d69(0x1a3),_0x194555),_0x3c00e2['on'](_0x370d69(0x2b7),_0x467f96),_0x3c00e2;}return Oe=_0x31eae6,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x156b81}=ne();function _0x487e95(_0x28b40a){const _0x4ddc83=_0x5908,_0x5457e6=new Set();let _0x208fb8=-0x1,_0x3cbf1c=-0x1,_0x24f494=0x0;for(_0x24f494;_0x24f494<_0x28b40a[_0x4ddc83(0x245)];_0x24f494++){const _0x2d4955=_0x28b40a[_0x4ddc83(0x291)](_0x24f494);if(_0x3cbf1c===-0x1&&_0x156b81[_0x2d4955]===0x1)_0x208fb8===-0x1&&(_0x208fb8=_0x24f494);else{if(_0x24f494!==0x0&&(_0x2d4955===0x20||_0x2d4955===0x9))_0x3cbf1c===-0x1&&_0x208fb8!==-0x1&&(_0x3cbf1c=_0x24f494);else{if(_0x2d4955===0x2c){if(_0x208fb8===-0x1)throw new SyntaxError(_0x4ddc83(0x1f4)+_0x24f494);_0x3cbf1c===-0x1&&(_0x3cbf1c=_0x24f494);const _0x38074a=_0x28b40a[_0x4ddc83(0x1ea)](_0x208fb8,_0x3cbf1c);if(_0x5457e6[_0x4ddc83(0x25c)](_0x38074a))throw new SyntaxError(_0x4ddc83(0x244)+_0x38074a+_0x4ddc83(0x339));_0x5457e6[_0x4ddc83(0x2d0)](_0x38074a),_0x208fb8=_0x3cbf1c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x24f494);}}}if(_0x208fb8===-0x1||_0x3cbf1c!==-0x1)throw new SyntaxError(_0x4ddc83(0x2e2));const _0x2e9ff4=_0x28b40a[_0x4ddc83(0x1ea)](_0x208fb8,_0x24f494);if(_0x5457e6[_0x4ddc83(0x25c)](_0x2e9ff4))throw new SyntaxError(_0x4ddc83(0x244)+_0x2e9ff4+_0x4ddc83(0x339));return _0x5457e6[_0x4ddc83(0x2d0)](_0x2e9ff4),_0x5457e6;}return Ce={'parse':_0x487e95},Ce;}var Te,ot;function er(){const _0x1586f1=_0x321d1b;if(ot)return Te;ot=0x1;const _0x1db840=_0x3b8a02,_0x2e216c=_0x3bc34d,{Duplex:_0x17d2d6}=_0xd844bd,{createHash:_0x2aa5e6}=_0x543b83,_0x4c1285=pt(),_0x3613db=he(),_0x3c50b0=Jt(),_0x1473ea=Ie(),{GUID:_0x390820,kWebSocket:_0x33e10d}=V(),_0x2f0a17=/^[+/0-9A-Za-z]{22}==$/,_0x5313a9=0x0,_0x3cd5c3=0x1,_0x58efef=0x2;class _0x14260e extends _0x1db840{constructor(_0x14e59f,_0x545db8){const _0x4e4863=_0x5908;if(super(),_0x14e59f={'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':_0x1473ea,..._0x14e59f},_0x14e59f[_0x4e4863(0x2ef)]==null&&!_0x14e59f[_0x4e4863(0x2b4)]&&!_0x14e59f[_0x4e4863(0x28b)]||_0x14e59f['port']!=null&&(_0x14e59f[_0x4e4863(0x2b4)]||_0x14e59f['noServer'])||_0x14e59f[_0x4e4863(0x2b4)]&&_0x14e59f[_0x4e4863(0x28b)])throw new TypeError(_0x4e4863(0x2fd));if(_0x14e59f[_0x4e4863(0x2ef)]!=null?(this[_0x4e4863(0x23b)]=_0x2e216c[_0x4e4863(0x290)]((_0x184f8d,_0x1baf8a)=>{const _0x3a2a31=_0x4e4863,_0x288ba5=_0x2e216c['STATUS_CODES'][0x1aa];_0x1baf8a[_0x3a2a31(0x335)](0x1aa,{'Content-Length':_0x288ba5[_0x3a2a31(0x245)],'Content-Type':_0x3a2a31(0x25d)}),_0x1baf8a[_0x3a2a31(0x1a3)](_0x288ba5);}),this[_0x4e4863(0x23b)][_0x4e4863(0x2d9)](_0x14e59f[_0x4e4863(0x2ef)],_0x14e59f['host'],_0x14e59f['backlog'],_0x545db8)):_0x14e59f[_0x4e4863(0x2b4)]&&(this['_server']=_0x14e59f[_0x4e4863(0x2b4)]),this[_0x4e4863(0x23b)]){const _0x5a6063=this[_0x4e4863(0x218)][_0x4e4863(0x2dd)](this,_0x4e4863(0x191));this[_0x4e4863(0x2c9)]=_0x581489(this[_0x4e4863(0x23b)],{'listening':this[_0x4e4863(0x218)][_0x4e4863(0x2dd)](this,_0x4e4863(0x32c)),'error':this['emit'][_0x4e4863(0x2dd)](this,_0x4e4863(0x2b7)),'upgrade':(_0x517648,_0x2038ce,_0x58b35b)=>{const _0x22962a=_0x4e4863;this[_0x22962a(0x1e9)](_0x517648,_0x2038ce,_0x58b35b,_0x5a6063);}});}_0x14e59f[_0x4e4863(0x2fe)]===!0x0&&(_0x14e59f[_0x4e4863(0x2fe)]={}),_0x14e59f[_0x4e4863(0x1d2)]&&(this[_0x4e4863(0x325)]=new Set(),this[_0x4e4863(0x233)]=!0x1),this[_0x4e4863(0x30d)]=_0x14e59f,this[_0x4e4863(0x2e4)]=_0x5313a9;}[_0x1586f1(0x305)](){const _0x8cfd76=_0x1586f1;if(this[_0x8cfd76(0x30d)][_0x8cfd76(0x28b)])throw new Error(_0x8cfd76(0x248));return this[_0x8cfd76(0x23b)]?this['_server'][_0x8cfd76(0x305)]():null;}[_0x1586f1(0x294)](_0x44e012){const _0x129b00=_0x1586f1;if(this[_0x129b00(0x2e4)]===_0x58efef){_0x44e012&&this[_0x129b00(0x306)](_0x129b00(0x294),()=>{const _0x2edbee=_0x129b00;_0x44e012(new Error(_0x2edbee(0x202)));}),process[_0x129b00(0x32a)](_0x3e8225,this);return;}if(_0x44e012&&this['once']('close',_0x44e012),this['_state']!==_0x3cd5c3){if(this[_0x129b00(0x2e4)]=_0x3cd5c3,this[_0x129b00(0x30d)][_0x129b00(0x28b)]||this[_0x129b00(0x30d)][_0x129b00(0x2b4)])this[_0x129b00(0x23b)]&&(this[_0x129b00(0x2c9)](),this['_removeListeners']=this[_0x129b00(0x23b)]=null),this[_0x129b00(0x325)]?this[_0x129b00(0x325)][_0x129b00(0x26d)]?this['_shouldEmitClose']=!0x0:process[_0x129b00(0x32a)](_0x3e8225,this):process[_0x129b00(0x32a)](_0x3e8225,this);else{const _0x2b21ec=this[_0x129b00(0x23b)];this[_0x129b00(0x2c9)](),this[_0x129b00(0x2c9)]=this[_0x129b00(0x23b)]=null,_0x2b21ec[_0x129b00(0x294)](()=>{_0x3e8225(this);});}}}['shouldHandle'](_0x2efa63){const _0x264589=_0x1586f1;if(this[_0x264589(0x30d)][_0x264589(0x2d3)]){const _0x4fa68a=_0x2efa63['url'][_0x264589(0x21b)]('?');if((_0x4fa68a!==-0x1?_0x2efa63['url'][_0x264589(0x1ea)](0x0,_0x4fa68a):_0x2efa63[_0x264589(0x261)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x1586f1(0x1e9)](_0x45fa51,_0x1761a8,_0x1281b4,_0x129c4d){const _0x89ef83=_0x1586f1;_0x1761a8['on'](_0x89ef83(0x2b7),_0x5d177c);const _0x10d263=_0x45fa51[_0x89ef83(0x330)][_0x89ef83(0x2b3)],_0x4a3a93=_0x45fa51['headers'][_0x89ef83(0x2f7)],_0x5b8969=+_0x45fa51[_0x89ef83(0x330)][_0x89ef83(0x31d)];if(_0x45fa51[_0x89ef83(0x2e0)]!==_0x89ef83(0x2b0)){_0x49b3d1(this,_0x45fa51,_0x1761a8,0x195,_0x89ef83(0x22d));return;}if(_0x4a3a93===void 0x0||_0x4a3a93[_0x89ef83(0x2d4)]()!=='websocket'){_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,_0x89ef83(0x211));return;}if(_0x10d263===void 0x0||!_0x2f0a17[_0x89ef83(0x301)](_0x10d263)){_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,_0x89ef83(0x298));return;}if(_0x5b8969!==0xd&&_0x5b8969!==0x8){_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x89ef83(0x19a)});return;}if(!this[_0x89ef83(0x1da)](_0x45fa51)){_0x5a3c21(_0x1761a8,0x190);return;}const _0x35c0e7=_0x45fa51[_0x89ef83(0x330)][_0x89ef83(0x268)];let _0x4be9a2=new Set();if(_0x35c0e7!==void 0x0)try{_0x4be9a2=_0x3c50b0[_0x89ef83(0x28e)](_0x35c0e7);}catch{_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,_0x89ef83(0x1c8));return;}const _0x3f1348=_0x45fa51[_0x89ef83(0x330)][_0x89ef83(0x258)],_0x599d19={};if(this[_0x89ef83(0x30d)][_0x89ef83(0x2fe)]&&_0x3f1348!==void 0x0){const _0x196770=new _0x3613db(this[_0x89ef83(0x30d)][_0x89ef83(0x2fe)],!0x0,this[_0x89ef83(0x30d)][_0x89ef83(0x2e3)]);try{const _0x58aa7b=_0x4c1285[_0x89ef83(0x28e)](_0x3f1348);_0x58aa7b[_0x3613db[_0x89ef83(0x2aa)]]&&(_0x196770[_0x89ef83(0x321)](_0x58aa7b[_0x3613db[_0x89ef83(0x2aa)]]),_0x599d19[_0x3613db[_0x89ef83(0x2aa)]]=_0x196770);}catch{_0x49b3d1(this,_0x45fa51,_0x1761a8,0x190,_0x89ef83(0x255));return;}}if(this[_0x89ef83(0x30d)][_0x89ef83(0x2fa)]){const _0x2b58dd={'origin':_0x45fa51[_0x89ef83(0x330)][''+(_0x5b8969===0x8?'sec-websocket-origin':_0x89ef83(0x2bf))],'secure':!!(_0x45fa51[_0x89ef83(0x1af)][_0x89ef83(0x256)]||_0x45fa51[_0x89ef83(0x1af)]['encrypted']),'req':_0x45fa51};if(this[_0x89ef83(0x30d)][_0x89ef83(0x2fa)][_0x89ef83(0x245)]===0x2){this[_0x89ef83(0x30d)]['verifyClient'](_0x2b58dd,(_0x4d7da2,_0x5c5e2d,_0x48a380,_0x3c29aa)=>{const _0x4a9279=_0x89ef83;if(!_0x4d7da2)return _0x5a3c21(_0x1761a8,_0x5c5e2d||0x191,_0x48a380,_0x3c29aa);this[_0x4a9279(0x2b8)](_0x599d19,_0x10d263,_0x4be9a2,_0x45fa51,_0x1761a8,_0x1281b4,_0x129c4d);});return;}if(!this['options']['verifyClient'](_0x2b58dd))return _0x5a3c21(_0x1761a8,0x191);}this[_0x89ef83(0x2b8)](_0x599d19,_0x10d263,_0x4be9a2,_0x45fa51,_0x1761a8,_0x1281b4,_0x129c4d);}[_0x1586f1(0x2b8)](_0x331310,_0xf0f4ea,_0x1b7e63,_0x5e5669,_0x184e90,_0x2284b4,_0x34722e){const _0x1deaca=_0x1586f1;if(!_0x184e90[_0x1deaca(0x257)]||!_0x184e90[_0x1deaca(0x2de)])return _0x184e90[_0x1deaca(0x2bd)]();if(_0x184e90[_0x33e10d])throw new Error(_0x1deaca(0x307));if(this[_0x1deaca(0x2e4)]>_0x5313a9)return _0x5a3c21(_0x184e90,0x1f7);const _0x409d20=[_0x1deaca(0x2b1),_0x1deaca(0x249),_0x1deaca(0x1be),_0x1deaca(0x27f)+_0x2aa5e6(_0x1deaca(0x2a3))['update'](_0xf0f4ea+_0x390820)['digest'](_0x1deaca(0x1e4))],_0x2aa72f=new this[(_0x1deaca(0x30d))][(_0x1deaca(0x320))](null,void 0x0,this[_0x1deaca(0x30d)]);if(_0x1b7e63[_0x1deaca(0x26d)]){const _0x17618b=this[_0x1deaca(0x30d)]['handleProtocols']?this[_0x1deaca(0x30d)]['handleProtocols'](_0x1b7e63,_0x5e5669):_0x1b7e63['values']()[_0x1deaca(0x225)]()['value'];_0x17618b&&(_0x409d20['push'](_0x1deaca(0x1ee)+_0x17618b),_0x2aa72f[_0x1deaca(0x33b)]=_0x17618b);}if(_0x331310[_0x3613db[_0x1deaca(0x2aa)]]){const _0x169690=_0x331310[_0x3613db['extensionName']]['params'],_0x29717a=_0x4c1285[_0x1deaca(0x286)]({[_0x3613db[_0x1deaca(0x2aa)]]:[_0x169690]});_0x409d20[_0x1deaca(0x2ac)](_0x1deaca(0x28c)+_0x29717a),_0x2aa72f[_0x1deaca(0x23a)]=_0x331310;}this['emit'](_0x1deaca(0x330),_0x409d20,_0x5e5669),_0x184e90[_0x1deaca(0x30c)](_0x409d20[_0x1deaca(0x2a8)]('\x0d\x0a')[_0x1deaca(0x1a1)]('\x0d\x0a')),_0x184e90[_0x1deaca(0x337)](_0x1deaca(0x2b7),_0x5d177c),_0x2aa72f[_0x1deaca(0x2ea)](_0x184e90,_0x2284b4,{'allowSynchronousEvents':this[_0x1deaca(0x30d)][_0x1deaca(0x260)],'maxPayload':this[_0x1deaca(0x30d)][_0x1deaca(0x2e3)],'skipUTF8Validation':this[_0x1deaca(0x30d)][_0x1deaca(0x22f)]}),this[_0x1deaca(0x325)]&&(this[_0x1deaca(0x325)][_0x1deaca(0x2d0)](_0x2aa72f),_0x2aa72f['on'](_0x1deaca(0x294),()=>{const _0x3724d7=_0x1deaca;this[_0x3724d7(0x325)][_0x3724d7(0x241)](_0x2aa72f),this[_0x3724d7(0x233)]&&!this[_0x3724d7(0x325)][_0x3724d7(0x26d)]&&process['nextTick'](_0x3e8225,this);})),_0x34722e(_0x2aa72f,_0x5e5669);}}Te=_0x14260e;function _0x581489(_0x4aa0c8,_0x54cb0c){const _0x496cdf=_0x1586f1;for(const _0x3016a6 of Object[_0x496cdf(0x1f5)](_0x54cb0c))_0x4aa0c8['on'](_0x3016a6,_0x54cb0c[_0x3016a6]);return function(){const _0x59559c=_0x496cdf;for(const _0x514073 of Object[_0x59559c(0x1f5)](_0x54cb0c))_0x4aa0c8['removeListener'](_0x514073,_0x54cb0c[_0x514073]);};}function _0x3e8225(_0x358afc){_0x358afc['_state']=_0x58efef,_0x358afc['emit']('close');}function _0x5d177c(){const _0x37ccfe=_0x1586f1;this[_0x37ccfe(0x2bd)]();}function _0x5a3c21(_0x214080,_0x202757,_0x5b772a,_0x2c349c){const _0x68b57=_0x1586f1;_0x5b772a=_0x5b772a||_0x2e216c['STATUS_CODES'][_0x202757],_0x2c349c={'Connection':_0x68b57(0x294),'Content-Type':'text/html','Content-Length':Buffer[_0x68b57(0x1ab)](_0x5b772a),..._0x2c349c},_0x214080[_0x68b57(0x306)](_0x68b57(0x20b),_0x214080['destroy']),_0x214080[_0x68b57(0x1a3)](_0x68b57(0x2f0)+_0x202757+'\x20'+_0x2e216c['STATUS_CODES'][_0x202757]+'\x0d\x0a'+Object[_0x68b57(0x1f5)](_0x2c349c)['map'](_0x57378e=>_0x57378e+':\x20'+_0x2c349c[_0x57378e])[_0x68b57(0x1a1)]('\x0d\x0a')+_0x68b57(0x2c3)+_0x5b772a);}function _0x49b3d1(_0x31f584,_0x1f32ae,_0x592de5,_0x5753ad,_0x4318e7,_0x271231){const _0x1b7de7=_0x1586f1;if(_0x31f584[_0x1b7de7(0x28d)](_0x1b7de7(0x344))){const _0xc2d72f=new Error(_0x4318e7);Error[_0x1b7de7(0x2d8)](_0xc2d72f,_0x49b3d1),_0x31f584['emit'](_0x1b7de7(0x344),_0xc2d72f,_0x592de5,_0x1f32ae);}else _0x5a3c21(_0x592de5,_0x5753ad,_0x4318e7,_0x271231);}return Te;}er();var tr=Object[_0x321d1b(0x2be)],rr=(_0xca6a17,_0x1d4370,_0x297a58,_0x5ebee1)=>{const _0x115b41=_0x321d1b;for(var _0x5a2b24=_0x5ebee1>0x1?void 0x0:_0x5ebee1?tr(_0x1d4370,_0x297a58):_0x1d4370,_0x1fc328=_0xca6a17[_0x115b41(0x245)]-0x1,_0x51e531;_0x1fc328>=0x0;_0x1fc328--)(_0x51e531=_0xca6a17[_0x1fc328])&&(_0x5a2b24=_0x51e531(_0x5a2b24)||_0x5a2b24);return _0x5a2b24;},sr=(_0x5361d1,_0x3272c)=>(_0x494886,_0xee7c8f)=>_0x3272c(_0x494886,_0xee7c8f,_0x5361d1);let Ne=class extends _0x2b6b22{constructor(_0x3efe23){const _0x4ca6c8=_0x321d1b;super(),this[_0x4ca6c8(0x343)]=_0x3efe23;}[_0x321d1b(0x311)](_0xaf4aa2){const _0x1459ef=_0x321d1b;var _0x3d57be;const _0x38551c=(_0x3d57be=this[_0x1459ef(0x343)][_0x1459ef(0x2bb)](Be))==null?void 0x0:_0x3d57be[_0x1459ef(0x2f1)];try{const _0x58511c=new Qt(_0xaf4aa2,{'headers':{..._0x38551c}}),_0x32ac17=new _0x5bfc48();return{'URL':_0xaf4aa2,'close':(_0x414b4b,_0x3f515d)=>{const _0x46e705=_0x1459ef;_0x58511c['close'](_0x414b4b,_0x3f515d),_0x32ac17[_0x46e705(0x2c1)]();},'send':_0x2cfabd=>{const _0x4c05cb=_0x1459ef;_0x58511c[_0x4c05cb(0x2c5)](_0x2cfabd);},'open$':new _0x2393a3(_0x345517=>{const _0x3ad4d5=_0x1459ef,_0x4c2e12=_0x4c29cc=>_0x345517['next'](_0x4c29cc);_0x58511c['addEventListener'](_0x3ad4d5(0x204),_0x4c2e12),_0x32ac17[_0x3ad4d5(0x2d0)](_0x556d22(()=>_0x58511c[_0x3ad4d5(0x2cd)](_0x3ad4d5(0x204),_0x4c2e12)));})[_0x1459ef(0x1e8)](_0x22a080()),'close$':new _0x2393a3(_0x26c15c=>{const _0x39038f=_0x1459ef,_0x5a2861=_0x2a94b1=>_0x26c15c[_0x39038f(0x225)](_0x2a94b1);_0x58511c[_0x39038f(0x1a2)](_0x39038f(0x294),_0x5a2861),_0x32ac17[_0x39038f(0x2d0)](_0x556d22(()=>_0x58511c[_0x39038f(0x2cd)](_0x39038f(0x294),_0x5a2861)));})[_0x1459ef(0x1e8)](_0x22a080()),'error$':new _0x2393a3(_0x324422=>{const _0x4256c7=_0x1459ef,_0xc9d236=_0x46461a=>_0x324422['next'](_0x46461a);_0x58511c[_0x4256c7(0x1a2)](_0x4256c7(0x2b7),_0xc9d236),_0x32ac17['add'](_0x556d22(()=>_0x58511c[_0x4256c7(0x2cd)](_0x4256c7(0x2b7),_0xc9d236)));})[_0x1459ef(0x1e8)](_0x22a080()),'message$':new _0x2393a3(_0x6ab10=>{const _0x31171e=_0x1459ef,_0x3951d8=_0x3a743d=>_0x6ab10[_0x31171e(0x225)](_0x3a743d);_0x58511c[_0x31171e(0x1a2)](_0x31171e(0x237),_0x3951d8),_0x32ac17[_0x31171e(0x2d0)](_0x556d22(()=>_0x58511c['removeEventListener'](_0x31171e(0x237),_0x3951d8)));})[_0x1459ef(0x1e8)](_0x22a080())};}catch(_0x579627){return console['error'](_0x579627),null;}}};Ne=rr([sr(0x0,_0x102e63)],Ne);var ir=Object[_0x321d1b(0x2d5)],nr=Object[_0x321d1b(0x2be)],or=(_0x593854,_0x5d7c34,_0x4cf8ee)=>_0x5d7c34 in _0x593854?ir(_0x593854,_0x5d7c34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cf8ee}):_0x593854[_0x5d7c34]=_0x4cf8ee,ar=(_0x299fb5,_0x1aae89,_0x5e287b,_0x2d58a7)=>{const _0x538836=_0x321d1b;for(var _0xcbd00b=_0x2d58a7>0x1?void 0x0:_0x2d58a7?nr(_0x1aae89,_0x5e287b):_0x1aae89,_0x1e59d0=_0x299fb5[_0x538836(0x245)]-0x1,_0x4d428a;_0x1e59d0>=0x0;_0x1e59d0--)(_0x4d428a=_0x299fb5[_0x1e59d0])&&(_0xcbd00b=_0x4d428a(_0xcbd00b)||_0xcbd00b);return _0xcbd00b;},ke=(_0x34dd3b,_0x22f2a4)=>(_0x30da2e,_0x43025f)=>_0x22f2a4(_0x30da2e,_0x43025f,_0x34dd3b),lr=(_0x1f79b7,_0x1312c0,_0x42ed44)=>or(_0x1f79b7,_0x1312c0+'',_0x42ed44);let Pe=class extends _0x4b98d8{constructor(_0x146a74=Ft,_0x5338c6,_0x424488,_0x1623a3){const _0x32f78d=_0x321d1b;_0x146a74[_0x32f78d(0x2f1)]||_0x5338c6['warn'](_0x32f78d(0x24d)),super(),this[_0x32f78d(0x343)]=_0x424488,this[_0x32f78d(0x26e)]=_0x1623a3,this[_0x32f78d(0x343)][_0x32f78d(0x31f)](Be,_0x146a74);}[_0x321d1b(0x234)](){const _0x3f1599=_0x321d1b;this[_0x3f1599(0x1bd)]();}['_registerDependencies'](){const _0x30acf3=_0x321d1b;_0x12307e(this[_0x30acf3(0x26e)],[[_0x1bc607,{'useClass':Ne}]]);}};lr(Pe,_0x321d1b(0x250),_0x321d1b(0x1cc)),Pe=ar([_0x12e78d(_0x15c146),ke(0x1,_0x135ec6),ke(0x2,_0x102e63),ke(0x3,_0x3f1162(_0x5e4375))],Pe);var fr=Object[_0x321d1b(0x2be)],cr=(_0x2d08eb,_0x55b6be,_0x27bb68,_0x179bed)=>{const _0x3943af=_0x321d1b;for(var _0x46f679=_0x179bed>0x1?void 0x0:_0x179bed?fr(_0x55b6be,_0x27bb68):_0x55b6be,_0x5b5cad=_0x2d08eb[_0x3943af(0x245)]-0x1,_0x1bc6d7;_0x5b5cad>=0x0;_0x5b5cad--)(_0x1bc6d7=_0x2d08eb[_0x5b5cad])&&(_0x46f679=_0x1bc6d7(_0x46f679)||_0x46f679);return _0x46f679;},se=(_0x43d221,_0x36b201)=>(_0x1f107a,_0x540a50)=>_0x36b201(_0x1f107a,_0x540a50,_0x43d221);let at=class extends _0x15b2d4{constructor(_0x12cc8c,_0x309d7d,_0x4be8a2,_0x5d3c4c,_0x3645e7){const _0x1d1788=_0x321d1b;super(_0x12cc8c,_0x309d7d,_0x4be8a2,_0x5d3c4c,_0x3645e7);const _0x1185f6=this[_0x1d1788(0x343)][_0x1d1788(0x2bb)](Be);this[_0x1d1788(0x284)][_0x1d1788(0x20f)]({'interceptor':(_0x8dd3d5,_0x5725d2)=>{const _0x2ab145=_0x1d1788;var _0x1faa2a;const _0x92db2c=_0x8dd3d5[_0x2ab145(0x330)];return(_0x1faa2a=_0x1185f6==null?void 0x0:_0x1185f6[_0x2ab145(0x2f1)])!=null&&_0x1faa2a['cookie']&&_0x92db2c['set'](_0x2ab145(0x2ba),_0x1185f6[_0x2ab145(0x2f1)]['cookie']),_0x5725d2(_0x8dd3d5);}});}async[_0x321d1b(0x311)](_0x19e09a){const _0x2e4124=_0x321d1b;return this[_0x2e4124(0x19f)](_0x19e09a);}};at=cr([se(0x0,_0x3f1162(_0x5e4375)),se(0x1,_0x3f1162(_0x372ae7)),se(0x2,_0x102e63),se(0x3,_0x135ec6),se(0x4,_0x2aa131)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x408f5d=_0x3fcb;(function(_0x146f1e,_0x5dba03){const _0x48d9b3=_0x3fcb,_0x413d7e=_0x146f1e();while(!![]){try{const _0x5efa74=parseInt(_0x48d9b3(0x227))/0x1+parseInt(_0x48d9b3(0x2df))/0x2+-parseInt(_0x48d9b3(0x2c6))/0x3+parseInt(_0x48d9b3(0x1d9))/0x4+parseInt(_0x48d9b3(0x2e9))/0x5*(parseInt(_0x48d9b3(0x2bb))/0x6)+-parseInt(_0x48d9b3(0x229))/0x7*(parseInt(_0x48d9b3(0x31e))/0x8)+-parseInt(_0x48d9b3(0x2fa))/0x9;if(_0x5efa74===_0x5dba03)break;else _0x413d7e['push'](_0x413d7e['shift']());}catch(_0x128b68){_0x413d7e['push'](_0x413d7e['shift']());}}}(_0x1264,0x9e2e8));import{UniverCollaborationClientPlugin as _0x1c7da6,CollaborationSocketService as _0x6555f1}from'@univerjs-pro/collaboration-client';import{Disposable as _0x43d457,DisposableCollection as _0x1acba3,toDisposable as _0x2e6fb8,IConfigService as _0x538cab,DependentOn as _0x279def,ILogService as _0x4b32a6,Inject as _0x50dbd5,Injector as _0xf1138,Plugin as _0x42f475,registerDependencies as _0x508cf8}from'@univerjs/core';import{ISocketService as _0x7652a0,HTTPService as _0x136387}from'@univerjs/network';import{Observable as _0xed7b79,share as _0x49ebf7}from'rxjs';import _0x1a5a01 from'events';import _0xb6e4f from'https';import _0x2983a2 from'http';import _0x11a003 from'net';import _0xd0b93e from'tls';import _0x4c0806 from'crypto';import _0x4f4a3d from'stream';import _0x444a00 from'url';import _0x3793e9 from'zlib';import _0x1d7312 from'buffer';import{ISnapshotServerService as _0x372fe2}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x2648ac){const _0x404d11=_0x3fcb;return _0x2648ac&&_0x2648ac[_0x404d11(0x25b)]&&Object[_0x404d11(0x23f)][_0x404d11(0x1e4)]['call'](_0x2648ac,_0x404d11(0x32c))?_0x2648ac[_0x404d11(0x32c)]:_0x2648ac;}function ut(_0x2e846f){const _0x670409=_0x3fcb;if(Object[_0x670409(0x23f)][_0x670409(0x1e4)][_0x670409(0x1f1)](_0x2e846f,_0x670409(0x25b)))return _0x2e846f;var _0x39bce0=_0x2e846f[_0x670409(0x32c)];if(typeof _0x39bce0==_0x670409(0x1d3)){var _0x12ba4d=function _0x5e06e6(){const _0x5d33e2=_0x670409;var _0xdae7b5=!0x1;try{_0xdae7b5=this instanceof _0x5e06e6;}catch{}return _0xdae7b5?Reflect[_0x5d33e2(0x2d1)](_0x39bce0,arguments,this[_0x5d33e2(0x31d)]):_0x39bce0[_0x5d33e2(0x21f)](this,arguments);};_0x12ba4d['prototype']=_0x39bce0[_0x670409(0x23f)];}else _0x12ba4d={};return Object['defineProperty'](_0x12ba4d,_0x670409(0x25b),{'value':!0x0}),Object[_0x670409(0x323)](_0x2e846f)[_0x670409(0x282)](function(_0x10f77b){const _0x7a87a5=_0x670409;var _0x15e077=Object[_0x7a87a5(0x35e)](_0x2e846f,_0x10f77b);Object[_0x7a87a5(0x2e5)](_0x12ba4d,_0x10f77b,_0x15e077[_0x7a87a5(0x2e6)]?_0x15e077:{'enumerable':!0x0,'get':function(){return _0x2e846f[_0x10f77b];}});}),_0x12ba4d;}var te={'exports':{}},ge,Ye;function V(){const _0x2d1c53=_0x3fcb;if(Ye)return ge;Ye=0x1;const _0x5328f0=[_0x2d1c53(0x2d8),_0x2d1c53(0x335),_0x2d1c53(0x1dd)],_0x2b386b=typeof Blob<'u';return _0x2b386b&&_0x5328f0[_0x2d1c53(0x1fc)]('blob'),ge={'BINARY_TYPES':_0x5328f0,'EMPTY_BUFFER':Buffer[_0x2d1c53(0x1e2)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2b386b,'kForOnEventAttribute':Symbol(_0x2d1c53(0x2b9)),'kListener':Symbol(_0x2d1c53(0x1bb)),'kStatusCode':Symbol(_0x2d1c53(0x297)),'kWebSocket':Symbol(_0x2d1c53(0x2aa)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x408f5d(0x258)](Object[_0x408f5d(0x2e5)]({'__proto__':null,'default':jt},Symbol[_0x408f5d(0x22e)],{'value':_0x408f5d(0x2e0)})),Vt=ut(Gt);var Ke;function ce(){const _0x21b569=_0x408f5d;if(Ke)return te[_0x21b569(0x1b5)];Ke=0x1;const {EMPTY_BUFFER:_0x30a7da}=V(),_0x1153fd=Buffer[Symbol['species']];function _0x2c687c(_0x204395,_0xc672){const _0x2eb925=_0x21b569;if(_0x204395[_0x2eb925(0x30f)]===0x0)return _0x30a7da;if(_0x204395[_0x2eb925(0x30f)]===0x1)return _0x204395[0x0];const _0x57bb90=Buffer['allocUnsafe'](_0xc672);let _0x1f1f32=0x0;for(let _0x290371=0x0;_0x290371<_0x204395[_0x2eb925(0x30f)];_0x290371++){const _0x3a0bed=_0x204395[_0x290371];_0x57bb90[_0x2eb925(0x329)](_0x3a0bed,_0x1f1f32),_0x1f1f32+=_0x3a0bed[_0x2eb925(0x30f)];}return _0x1f1f32<_0xc672?new _0x1153fd(_0x57bb90[_0x2eb925(0x24a)],_0x57bb90[_0x2eb925(0x311)],_0x1f1f32):_0x57bb90;}function _0x198d97(_0x409513,_0x2702ae,_0x2cea2a,_0xb56072,_0xa72666){for(let _0x1dc25a=0x0;_0x1dc25a<_0xa72666;_0x1dc25a++)_0x2cea2a[_0xb56072+_0x1dc25a]=_0x409513[_0x1dc25a]^_0x2702ae[_0x1dc25a&0x3];}function _0x39affb(_0x569602,_0x11d7d2){const _0x5e7261=_0x21b569;for(let _0x3e0d1a=0x0;_0x3e0d1a<_0x569602[_0x5e7261(0x30f)];_0x3e0d1a++)_0x569602[_0x3e0d1a]^=_0x11d7d2[_0x3e0d1a&0x3];}function _0x3752ab(_0x53a391){const _0x45f555=_0x21b569;return _0x53a391['length']===_0x53a391[_0x45f555(0x24a)][_0x45f555(0x235)]?_0x53a391[_0x45f555(0x24a)]:_0x53a391[_0x45f555(0x24a)][_0x45f555(0x294)](_0x53a391[_0x45f555(0x311)],_0x53a391['byteOffset']+_0x53a391['length']);}function _0x3a5a7d(_0x3c6d05){const _0x5d87d9=_0x21b569;if(_0x3a5a7d[_0x5d87d9(0x269)]=!0x0,Buffer[_0x5d87d9(0x354)](_0x3c6d05))return _0x3c6d05;let _0x5e0f73;return _0x3c6d05 instanceof ArrayBuffer?_0x5e0f73=new _0x1153fd(_0x3c6d05):ArrayBuffer[_0x5d87d9(0x33d)](_0x3c6d05)?_0x5e0f73=new _0x1153fd(_0x3c6d05['buffer'],_0x3c6d05[_0x5d87d9(0x311)],_0x3c6d05[_0x5d87d9(0x235)]):(_0x5e0f73=Buffer['from'](_0x3c6d05),_0x3a5a7d[_0x5d87d9(0x269)]=!0x1),_0x5e0f73;}if(te[_0x21b569(0x1b5)]={'concat':_0x2c687c,'mask':_0x198d97,'toArrayBuffer':_0x3752ab,'toBuffer':_0x3a5a7d,'unmask':_0x39affb},!process['env'][_0x21b569(0x2ad)])try{const _0x4a2c0e=Vt;te['exports'][_0x21b569(0x34b)]=function(_0x50ca64,_0x1a3a5a,_0x387613,_0x2285ac,_0xeca35c){const _0x31f1df=_0x21b569;_0xeca35c<0x30?_0x198d97(_0x50ca64,_0x1a3a5a,_0x387613,_0x2285ac,_0xeca35c):_0x4a2c0e[_0x31f1df(0x34b)](_0x50ca64,_0x1a3a5a,_0x387613,_0x2285ac,_0xeca35c);},te[_0x21b569(0x1b5)][_0x21b569(0x218)]=function(_0x1bd0a7,_0x47bc68){_0x1bd0a7['length']<0x20?_0x39affb(_0x1bd0a7,_0x47bc68):_0x4a2c0e['unmask'](_0x1bd0a7,_0x47bc68);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x29d2fe=_0x408f5d;if(Xe)return ye;Xe=0x1;const _0x4a5692=Symbol(_0x29d2fe(0x2cf)),_0xcdf387=Symbol('kRun');class _0x32d7e1{constructor(_0x259115){const _0x370fc5=_0x29d2fe;this[_0x4a5692]=()=>{this['pending']--,this[_0xcdf387]();},this['concurrency']=_0x259115||0x1/0x0,this[_0x370fc5(0x288)]=[],this[_0x370fc5(0x26c)]=0x0;}[_0x29d2fe(0x22f)](_0x3f0c2c){const _0x3b6308=_0x29d2fe;this[_0x3b6308(0x288)][_0x3b6308(0x1fc)](_0x3f0c2c),this[_0xcdf387]();}[_0xcdf387](){const _0x1a8cd2=_0x29d2fe;if(this[_0x1a8cd2(0x26c)]!==this[_0x1a8cd2(0x20c)]&&this['jobs'][_0x1a8cd2(0x30f)]){const _0x39ce51=this[_0x1a8cd2(0x288)][_0x1a8cd2(0x29b)]();this[_0x1a8cd2(0x26c)]++,_0x39ce51(this[_0x4a5692]);}}}return ye=_0x32d7e1,ye;}var ve,Ze;function he(){const _0x38a79a=_0x408f5d;if(Ze)return ve;Ze=0x1;const _0x55d669=_0x3793e9,_0x29dce6=ce(),_0x586c25=qt(),{kStatusCode:_0x30465c}=V(),_0x323334=Buffer[Symbol[_0x38a79a(0x2ba)]],_0x37c76a=Buffer[_0x38a79a(0x1f3)]([0x0,0x0,0xff,0xff]),_0x4c5a09=Symbol('permessage-deflate'),_0x2e85f9=Symbol('total-length'),_0x236af9=Symbol(_0x38a79a(0x20a)),_0x8b8ae9=Symbol('buffers'),_0x2f2f2e=Symbol(_0x38a79a(0x2a4));let _0x1263e3;class _0x4a4288{constructor(_0x26a223,_0x5dcf65,_0x419157){const _0x216977=_0x38a79a;if(this['_maxPayload']=_0x419157|0x0,this[_0x216977(0x29d)]=_0x26a223||{},this[_0x216977(0x2ac)]=this[_0x216977(0x29d)][_0x216977(0x264)]!==void 0x0?this[_0x216977(0x29d)][_0x216977(0x264)]:0x400,this[_0x216977(0x2cb)]=!!_0x5dcf65,this[_0x216977(0x2cd)]=null,this['_inflate']=null,this[_0x216977(0x2f9)]=null,!_0x1263e3){const _0x267e23=this[_0x216977(0x29d)][_0x216977(0x208)]!==void 0x0?this[_0x216977(0x29d)][_0x216977(0x208)]:0xa;_0x1263e3=new _0x586c25(_0x267e23);}}static get[_0x38a79a(0x205)](){const _0x5e8db5=_0x38a79a;return _0x5e8db5(0x275);}[_0x38a79a(0x211)](){const _0x3752cd=_0x38a79a,_0xa37f81={};return this[_0x3752cd(0x29d)][_0x3752cd(0x31a)]&&(_0xa37f81['server_no_context_takeover']=!0x0),this[_0x3752cd(0x29d)][_0x3752cd(0x2d0)]&&(_0xa37f81['client_no_context_takeover']=!0x0),this[_0x3752cd(0x29d)][_0x3752cd(0x2b5)]&&(_0xa37f81[_0x3752cd(0x1fa)]=this[_0x3752cd(0x29d)][_0x3752cd(0x2b5)]),this['_options'][_0x3752cd(0x1ee)]?_0xa37f81[_0x3752cd(0x1c5)]=this['_options'][_0x3752cd(0x1ee)]:this[_0x3752cd(0x29d)][_0x3752cd(0x1ee)]==null&&(_0xa37f81[_0x3752cd(0x1c5)]=!0x0),_0xa37f81;}[_0x38a79a(0x32f)](_0x5963b7){const _0x46cadd=_0x38a79a;return _0x5963b7=this['normalizeParams'](_0x5963b7),this['params']=this[_0x46cadd(0x2cb)]?this[_0x46cadd(0x336)](_0x5963b7):this[_0x46cadd(0x34d)](_0x5963b7),this['params'];}['cleanup'](){const _0x3a2923=_0x38a79a;if(this[_0x3a2923(0x204)]&&(this[_0x3a2923(0x204)][_0x3a2923(0x1b7)](),this[_0x3a2923(0x204)]=null),this['_deflate']){const _0x3ac82c=this[_0x3a2923(0x2cd)][_0x236af9];this['_deflate']['close'](),this[_0x3a2923(0x2cd)]=null,_0x3ac82c&&_0x3ac82c(new Error(_0x3a2923(0x24f)));}}[_0x38a79a(0x336)](_0x2f8919){const _0x50bf81=_0x38a79a,_0x294884=this[_0x50bf81(0x29d)],_0xf0f3ec=_0x2f8919[_0x50bf81(0x23b)](_0x379b53=>!(_0x294884[_0x50bf81(0x31a)]===!0x1&&_0x379b53[_0x50bf81(0x2a2)]||_0x379b53[_0x50bf81(0x1fa)]&&(_0x294884[_0x50bf81(0x2b5)]===!0x1||typeof _0x294884[_0x50bf81(0x2b5)]==_0x50bf81(0x2ef)&&_0x294884[_0x50bf81(0x2b5)]>_0x379b53[_0x50bf81(0x1fa)])||typeof _0x294884[_0x50bf81(0x1ee)]==_0x50bf81(0x2ef)&&!_0x379b53[_0x50bf81(0x1c5)]));if(!_0xf0f3ec)throw new Error(_0x50bf81(0x1b9));return _0x294884[_0x50bf81(0x31a)]&&(_0xf0f3ec['server_no_context_takeover']=!0x0),_0x294884['clientNoContextTakeover']&&(_0xf0f3ec[_0x50bf81(0x23c)]=!0x0),typeof _0x294884['serverMaxWindowBits']=='number'&&(_0xf0f3ec['server_max_window_bits']=_0x294884['serverMaxWindowBits']),typeof _0x294884['clientMaxWindowBits']=='number'?_0xf0f3ec[_0x50bf81(0x1c5)]=_0x294884[_0x50bf81(0x1ee)]:(_0xf0f3ec['client_max_window_bits']===!0x0||_0x294884[_0x50bf81(0x1ee)]===!0x1)&&delete _0xf0f3ec[_0x50bf81(0x1c5)],_0xf0f3ec;}[_0x38a79a(0x34d)](_0x1e6547){const _0xb3680f=_0x38a79a,_0x5b83e3=_0x1e6547[0x0];if(this[_0xb3680f(0x29d)][_0xb3680f(0x2d0)]===!0x1&&_0x5b83e3[_0xb3680f(0x23c)])throw new Error(_0xb3680f(0x278));if(!_0x5b83e3[_0xb3680f(0x1c5)])typeof this[_0xb3680f(0x29d)]['clientMaxWindowBits']==_0xb3680f(0x2ef)&&(_0x5b83e3[_0xb3680f(0x1c5)]=this['_options'][_0xb3680f(0x1ee)]);else{if(this['_options'][_0xb3680f(0x1ee)]===!0x1||typeof this[_0xb3680f(0x29d)][_0xb3680f(0x1ee)]==_0xb3680f(0x2ef)&&_0x5b83e3['client_max_window_bits']>this[_0xb3680f(0x29d)][_0xb3680f(0x1ee)])throw new Error(_0xb3680f(0x33c));}return _0x5b83e3;}[_0x38a79a(0x279)](_0x345be6){return _0x345be6['forEach'](_0x2d4d05=>{const _0x257d05=_0x3fcb;Object[_0x257d05(0x323)](_0x2d4d05)[_0x257d05(0x282)](_0x534ba7=>{const _0x221023=_0x257d05;let _0x3c6dad=_0x2d4d05[_0x534ba7];if(_0x3c6dad['length']>0x1)throw new Error(_0x221023(0x25f)+_0x534ba7+_0x221023(0x26a));if(_0x3c6dad=_0x3c6dad[0x0],_0x534ba7===_0x221023(0x1c5)){if(_0x3c6dad!==!0x0){const _0x18544a=+_0x3c6dad;if(!Number['isInteger'](_0x18544a)||_0x18544a<0x8||_0x18544a>0xf)throw new TypeError(_0x221023(0x349)+_0x534ba7+'\x22:\x20'+_0x3c6dad);_0x3c6dad=_0x18544a;}else{if(!this[_0x221023(0x2cb)])throw new TypeError(_0x221023(0x349)+_0x534ba7+_0x221023(0x295)+_0x3c6dad);}}else{if(_0x534ba7===_0x221023(0x1fa)){const _0x3753cf=+_0x3c6dad;if(!Number[_0x221023(0x1c7)](_0x3753cf)||_0x3753cf<0x8||_0x3753cf>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x534ba7+'\x22:\x20'+_0x3c6dad);_0x3c6dad=_0x3753cf;}else{if(_0x534ba7===_0x221023(0x23c)||_0x534ba7===_0x221023(0x2a2)){if(_0x3c6dad!==!0x0)throw new TypeError(_0x221023(0x349)+_0x534ba7+'\x22:\x20'+_0x3c6dad);}else throw new Error(_0x221023(0x262)+_0x534ba7+'\x22');}}_0x2d4d05[_0x534ba7]=_0x3c6dad;});}),_0x345be6;}['decompress'](_0x47cc44,_0x2aacd9,_0x5307ae){const _0x415c4a=_0x38a79a;_0x1263e3[_0x415c4a(0x22f)](_0x1ee442=>{const _0x406b45=_0x415c4a;this[_0x406b45(0x299)](_0x47cc44,_0x2aacd9,(_0x438ad8,_0x3ff92b)=>{_0x1ee442(),_0x5307ae(_0x438ad8,_0x3ff92b);});});}[_0x38a79a(0x1e3)](_0x2dfddc,_0x5868da,_0x49e35e){_0x1263e3['add'](_0x1319e5=>{const _0x1b1a21=_0x3fcb;this[_0x1b1a21(0x2de)](_0x2dfddc,_0x5868da,(_0x40fd99,_0xbc8013)=>{_0x1319e5(),_0x49e35e(_0x40fd99,_0xbc8013);});});}[_0x38a79a(0x299)](_0x24b268,_0x34f0cd,_0x14315d){const _0x4fd9ee=_0x38a79a,_0x33b70c=this['_isServer']?_0x4fd9ee(0x2a7):_0x4fd9ee(0x266);if(!this[_0x4fd9ee(0x204)]){const _0x3f1560=_0x33b70c+_0x4fd9ee(0x1b6),_0x13f037=typeof this[_0x4fd9ee(0x2f9)][_0x3f1560]!='number'?_0x55d669[_0x4fd9ee(0x1b0)]:this['params'][_0x3f1560];this[_0x4fd9ee(0x204)]=_0x55d669[_0x4fd9ee(0x216)]({...this[_0x4fd9ee(0x29d)][_0x4fd9ee(0x29c)],'windowBits':_0x13f037}),this[_0x4fd9ee(0x204)][_0x4c5a09]=this,this[_0x4fd9ee(0x204)][_0x2e85f9]=0x0,this[_0x4fd9ee(0x204)][_0x8b8ae9]=[],this[_0x4fd9ee(0x204)]['on']('error',_0x48dc92),this[_0x4fd9ee(0x204)]['on']('data',_0x101fde);}this[_0x4fd9ee(0x204)][_0x236af9]=_0x14315d,this[_0x4fd9ee(0x204)][_0x4fd9ee(0x320)](_0x24b268),_0x34f0cd&&this[_0x4fd9ee(0x204)]['write'](_0x37c76a),this[_0x4fd9ee(0x204)][_0x4fd9ee(0x243)](()=>{const _0x4e3a74=_0x4fd9ee,_0xd3a5fd=this[_0x4e3a74(0x204)][_0x2f2f2e];if(_0xd3a5fd){this['_inflate']['close'](),this[_0x4e3a74(0x204)]=null,_0x14315d(_0xd3a5fd);return;}const _0x326f4f=_0x29dce6[_0x4e3a74(0x2e7)](this['_inflate'][_0x8b8ae9],this[_0x4e3a74(0x204)][_0x2e85f9]);this[_0x4e3a74(0x204)][_0x4e3a74(0x30e)]['endEmitted']?(this[_0x4e3a74(0x204)][_0x4e3a74(0x1b7)](),this[_0x4e3a74(0x204)]=null):(this[_0x4e3a74(0x204)][_0x2e85f9]=0x0,this[_0x4e3a74(0x204)][_0x8b8ae9]=[],_0x34f0cd&&this[_0x4e3a74(0x2f9)][_0x33b70c+_0x4e3a74(0x300)]&&this['_inflate'][_0x4e3a74(0x24b)]()),_0x14315d(null,_0x326f4f);});}[_0x38a79a(0x2de)](_0xbc6279,_0x1a42b5,_0x262c8e){const _0x1bb6ec=_0x38a79a,_0x4c06f3=this[_0x1bb6ec(0x2cb)]?'server':'client';if(!this[_0x1bb6ec(0x2cd)]){const _0x2b1af0=_0x4c06f3+_0x1bb6ec(0x1b6),_0x56179e=typeof this['params'][_0x2b1af0]!=_0x1bb6ec(0x2ef)?_0x55d669[_0x1bb6ec(0x1b0)]:this[_0x1bb6ec(0x2f9)][_0x2b1af0];this['_deflate']=_0x55d669[_0x1bb6ec(0x2b1)]({...this[_0x1bb6ec(0x29d)][_0x1bb6ec(0x306)],'windowBits':_0x56179e}),this['_deflate'][_0x2e85f9]=0x0,this[_0x1bb6ec(0x2cd)][_0x8b8ae9]=[],this[_0x1bb6ec(0x2cd)]['on'](_0x1bb6ec(0x313),_0x38a176);}this['_deflate'][_0x236af9]=_0x262c8e,this['_deflate'][_0x1bb6ec(0x320)](_0xbc6279),this[_0x1bb6ec(0x2cd)][_0x1bb6ec(0x243)](_0x55d669[_0x1bb6ec(0x29a)],()=>{const _0x534cdb=_0x1bb6ec;if(!this[_0x534cdb(0x2cd)])return;let _0x25950f=_0x29dce6['concat'](this[_0x534cdb(0x2cd)][_0x8b8ae9],this[_0x534cdb(0x2cd)][_0x2e85f9]);_0x1a42b5&&(_0x25950f=new _0x323334(_0x25950f[_0x534cdb(0x24a)],_0x25950f[_0x534cdb(0x311)],_0x25950f['length']-0x4)),this[_0x534cdb(0x2cd)][_0x236af9]=null,this[_0x534cdb(0x2cd)][_0x2e85f9]=0x0,this['_deflate'][_0x8b8ae9]=[],_0x1a42b5&&this[_0x534cdb(0x2f9)][_0x4c06f3+_0x534cdb(0x300)]&&this[_0x534cdb(0x2cd)][_0x534cdb(0x24b)](),_0x262c8e(null,_0x25950f);});}}ve=_0x4a4288;function _0x38a176(_0xd1a0a5){const _0x241f62=_0x38a79a;this[_0x8b8ae9][_0x241f62(0x1fc)](_0xd1a0a5),this[_0x2e85f9]+=_0xd1a0a5['length'];}function _0x101fde(_0x510744){const _0x36fb89=_0x38a79a;if(this[_0x2e85f9]+=_0x510744[_0x36fb89(0x30f)],this[_0x4c5a09][_0x36fb89(0x2c4)]<0x1||this[_0x2e85f9]<=this[_0x4c5a09][_0x36fb89(0x2c4)]){this[_0x8b8ae9]['push'](_0x510744);return;}this[_0x2f2f2e]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x2f2f2e][_0x36fb89(0x2eb)]=_0x36fb89(0x289),this[_0x2f2f2e][_0x30465c]=0x3f1,this[_0x36fb89(0x1c4)](_0x36fb89(0x313),_0x101fde),this[_0x36fb89(0x24b)]();}function _0x48dc92(_0x8a33c7){const _0x216f55=_0x38a79a;if(this[_0x4c5a09][_0x216f55(0x204)]=null,this[_0x2f2f2e]){this[_0x236af9](this[_0x2f2f2e]);return;}_0x8a33c7[_0x30465c]=0x3ef,this[_0x236af9](_0x8a33c7);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x408f5d(0x258)](Object[_0x408f5d(0x2e5)]({'__proto__':null,'default':Ht},Symbol[_0x408f5d(0x22e)],{'value':_0x408f5d(0x2e0)})),Yt=ut(zt);var Qe;function ne(){const _0x2b5800=_0x408f5d;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x1deccc}=_0x1d7312,{hasBlob:_0x4cf7e3}=V(),_0x4b46fb=[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 _0xbcc6b(_0x29ae7a){return _0x29ae7a>=0x3e8&&_0x29ae7a<=0x3f6&&_0x29ae7a!==0x3ec&&_0x29ae7a!==0x3ed&&_0x29ae7a!==0x3ee||_0x29ae7a>=0xbb8&&_0x29ae7a<=0x1387;}function _0x430d15(_0x552f38){const _0x44a6f4=_0x3fcb,_0x212c9e=_0x552f38[_0x44a6f4(0x30f)];let _0x2cc056=0x0;for(;_0x2cc056<_0x212c9e;)if((_0x552f38[_0x2cc056]&0x80)===0x0)_0x2cc056++;else{if((_0x552f38[_0x2cc056]&0xe0)===0xc0){if(_0x2cc056+0x1===_0x212c9e||(_0x552f38[_0x2cc056+0x1]&0xc0)!==0x80||(_0x552f38[_0x2cc056]&0xfe)===0xc0)return!0x1;_0x2cc056+=0x2;}else{if((_0x552f38[_0x2cc056]&0xf0)===0xe0){if(_0x2cc056+0x2>=_0x212c9e||(_0x552f38[_0x2cc056+0x1]&0xc0)!==0x80||(_0x552f38[_0x2cc056+0x2]&0xc0)!==0x80||_0x552f38[_0x2cc056]===0xe0&&(_0x552f38[_0x2cc056+0x1]&0xe0)===0x80||_0x552f38[_0x2cc056]===0xed&&(_0x552f38[_0x2cc056+0x1]&0xe0)===0xa0)return!0x1;_0x2cc056+=0x3;}else{if((_0x552f38[_0x2cc056]&0xf8)===0xf0){if(_0x2cc056+0x3>=_0x212c9e||(_0x552f38[_0x2cc056+0x1]&0xc0)!==0x80||(_0x552f38[_0x2cc056+0x2]&0xc0)!==0x80||(_0x552f38[_0x2cc056+0x3]&0xc0)!==0x80||_0x552f38[_0x2cc056]===0xf0&&(_0x552f38[_0x2cc056+0x1]&0xf0)===0x80||_0x552f38[_0x2cc056]===0xf4&&_0x552f38[_0x2cc056+0x1]>0x8f||_0x552f38[_0x2cc056]>0xf4)return!0x1;_0x2cc056+=0x4;}else return!0x1;}}}return!0x0;}function _0x479656(_0xfbefcd){const _0x4255ca=_0x3fcb;return _0x4cf7e3&&typeof _0xfbefcd==_0x4255ca(0x244)&&typeof _0xfbefcd[_0x4255ca(0x1f8)]==_0x4255ca(0x1d3)&&typeof _0xfbefcd[_0x4255ca(0x1da)]==_0x4255ca(0x1bc)&&typeof _0xfbefcd[_0x4255ca(0x1af)]==_0x4255ca(0x1d3)&&(_0xfbefcd[Symbol['toStringTag']]==='Blob'||_0xfbefcd[Symbol[_0x4255ca(0x22e)]]===_0x4255ca(0x1e6));}if(re[_0x2b5800(0x1b5)]={'isBlob':_0x479656,'isValidStatusCode':_0xbcc6b,'isValidUTF8':_0x430d15,'tokenChars':_0x4b46fb},_0x1deccc)re[_0x2b5800(0x1b5)][_0x2b5800(0x352)]=function(_0x2fc489){const _0x109d29=_0x2b5800;return _0x2fc489[_0x109d29(0x30f)]<0x18?_0x430d15(_0x2fc489):_0x1deccc(_0x2fc489);};else{if(!process[_0x2b5800(0x33f)][_0x2b5800(0x2ab)])try{const _0x1855c1=Yt;re[_0x2b5800(0x1b5)][_0x2b5800(0x352)]=function(_0x35433f){const _0x44340f=_0x2b5800;return _0x35433f[_0x44340f(0x30f)]<0x20?_0x430d15(_0x35433f):_0x1855c1(_0x35433f);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0xa32227=_0x408f5d;if(Je)return Se;Je=0x1;const {Writable:_0x16de25}=_0x4f4a3d,_0x18ed57=he(),{BINARY_TYPES:_0x45c0e0,EMPTY_BUFFER:_0x3a3463,kStatusCode:_0x38b849,kWebSocket:_0x59e9d4}=V(),{concat:_0x458ca6,toArrayBuffer:_0x457d48,unmask:_0x583cd7}=ce(),{isValidStatusCode:_0x25b836,isValidUTF8:_0x46070f}=ne(),_0x4b09f7=Buffer[Symbol['species']],_0x33c312=0x0,_0x1973eb=0x1,_0x2b26bf=0x2,_0x58c2d7=0x3,_0xf09a3e=0x4,_0x36b543=0x5,_0x2a4eb5=0x6;class _0x259f26 extends _0x16de25{constructor(_0x12ee76={}){const _0x469e2d=_0x3fcb;super(),this['_allowSynchronousEvents']=_0x12ee76[_0x469e2d(0x298)]!==void 0x0?_0x12ee76[_0x469e2d(0x298)]:!0x0,this[_0x469e2d(0x34c)]=_0x12ee76[_0x469e2d(0x1c2)]||_0x45c0e0[0x0],this[_0x469e2d(0x2b0)]=_0x12ee76[_0x469e2d(0x332)]||{},this['_isServer']=!!_0x12ee76['isServer'],this[_0x469e2d(0x2c4)]=_0x12ee76[_0x469e2d(0x253)]|0x0,this[_0x469e2d(0x28a)]=!!_0x12ee76['skipUTF8Validation'],this[_0x59e9d4]=void 0x0,this[_0x469e2d(0x1cb)]=0x0,this[_0x469e2d(0x312)]=[],this[_0x469e2d(0x27f)]=!0x1,this[_0x469e2d(0x1fe)]=0x0,this[_0x469e2d(0x2fc)]=void 0x0,this[_0x469e2d(0x2db)]=0x0,this[_0x469e2d(0x2f2)]=!0x1,this[_0x469e2d(0x31f)]=!0x1,this[_0x469e2d(0x234)]=0x0,this[_0x469e2d(0x251)]=0x0,this[_0x469e2d(0x2ce)]=0x0,this[_0x469e2d(0x25d)]=[],this[_0x469e2d(0x1f4)]=!0x1,this[_0x469e2d(0x1cf)]=!0x1,this['_state']=_0x33c312;}[_0xa32227(0x2b7)](_0x39dcef,_0x5e38f4,_0x2bf919){const _0x4bfe74=_0xa32227;if(this[_0x4bfe74(0x234)]===0x8&&this['_state']==_0x33c312)return _0x2bf919();this[_0x4bfe74(0x1cb)]+=_0x39dcef[_0x4bfe74(0x30f)],this[_0x4bfe74(0x312)][_0x4bfe74(0x1fc)](_0x39dcef),this[_0x4bfe74(0x276)](_0x2bf919);}[_0xa32227(0x34f)](_0xf9b842){const _0x2b170b=_0xa32227;if(this[_0x2b170b(0x1cb)]-=_0xf9b842,_0xf9b842===this[_0x2b170b(0x312)][0x0][_0x2b170b(0x30f)])return this['_buffers'][_0x2b170b(0x29b)]();if(_0xf9b842<this['_buffers'][0x0][_0x2b170b(0x30f)]){const _0x13fec1=this[_0x2b170b(0x312)][0x0];return this[_0x2b170b(0x312)][0x0]=new _0x4b09f7(_0x13fec1[_0x2b170b(0x24a)],_0x13fec1['byteOffset']+_0xf9b842,_0x13fec1['length']-_0xf9b842),new _0x4b09f7(_0x13fec1[_0x2b170b(0x24a)],_0x13fec1[_0x2b170b(0x311)],_0xf9b842);}const _0x5104a0=Buffer[_0x2b170b(0x1c0)](_0xf9b842);do{const _0x584a17=this[_0x2b170b(0x312)][0x0],_0x304029=_0x5104a0[_0x2b170b(0x30f)]-_0xf9b842;_0xf9b842>=_0x584a17[_0x2b170b(0x30f)]?_0x5104a0['set'](this[_0x2b170b(0x312)][_0x2b170b(0x29b)](),_0x304029):(_0x5104a0[_0x2b170b(0x329)](new Uint8Array(_0x584a17[_0x2b170b(0x24a)],_0x584a17[_0x2b170b(0x311)],_0xf9b842),_0x304029),this[_0x2b170b(0x312)][0x0]=new _0x4b09f7(_0x584a17[_0x2b170b(0x24a)],_0x584a17['byteOffset']+_0xf9b842,_0x584a17['length']-_0xf9b842)),_0xf9b842-=_0x584a17[_0x2b170b(0x30f)];}while(_0xf9b842>0x0);return _0x5104a0;}['startLoop'](_0x325c12){const _0x1e55ac=_0xa32227;this[_0x1e55ac(0x1cf)]=!0x0;do switch(this[_0x1e55ac(0x2c9)]){case _0x33c312:this['getInfo'](_0x325c12);break;case _0x1973eb:this['getPayloadLength16'](_0x325c12);break;case _0x2b26bf:this['getPayloadLength64'](_0x325c12);break;case _0x58c2d7:this['getMask']();break;case _0xf09a3e:this['getData'](_0x325c12);break;case _0x36b543:case _0x2a4eb5:this[_0x1e55ac(0x1cf)]=!0x1;return;}while(this[_0x1e55ac(0x1cf)]);this['_errored']||_0x325c12();}[_0xa32227(0x330)](_0x1ef9d9){const _0x2d3dda=_0xa32227;if(this[_0x2d3dda(0x1cb)]<0x2){this[_0x2d3dda(0x1cf)]=!0x1;return;}const _0xbdb860=this[_0x2d3dda(0x34f)](0x2);if((_0xbdb860[0x0]&0x30)!==0x0){const _0x432740=this['createError'](RangeError,_0x2d3dda(0x28e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x1ef9d9(_0x432740);return;}const _0x3b92ae=(_0xbdb860[0x0]&0x40)===0x40;if(_0x3b92ae&&!this['_extensions'][_0x18ed57['extensionName']]){const _0x40202e=this[_0x2d3dda(0x2fb)](RangeError,_0x2d3dda(0x296),!0x0,0x3ea,_0x2d3dda(0x27d));_0x1ef9d9(_0x40202e);return;}if(this[_0x2d3dda(0x31f)]=(_0xbdb860[0x0]&0x80)===0x80,this[_0x2d3dda(0x234)]=_0xbdb860[0x0]&0xf,this[_0x2d3dda(0x1fe)]=_0xbdb860[0x1]&0x7f,this[_0x2d3dda(0x234)]===0x0){if(_0x3b92ae){const _0x5edbbe=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2d3dda(0x27d));_0x1ef9d9(_0x5edbbe);return;}if(!this['_fragmented']){const _0x5011fa=this[_0x2d3dda(0x2fb)](RangeError,_0x2d3dda(0x2ec),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1ef9d9(_0x5011fa);return;}this[_0x2d3dda(0x234)]=this[_0x2d3dda(0x2db)];}else{if(this['_opcode']===0x1||this[_0x2d3dda(0x234)]===0x2){if(this[_0x2d3dda(0x2db)]){const _0xd007af=this[_0x2d3dda(0x2fb)](RangeError,_0x2d3dda(0x2bd)+this[_0x2d3dda(0x234)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1ef9d9(_0xd007af);return;}this['_compressed']=_0x3b92ae;}else{if(this[_0x2d3dda(0x234)]>0x7&&this[_0x2d3dda(0x234)]<0xb){if(!this['_fin']){const _0x42ce76=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x2d3dda(0x32d));_0x1ef9d9(_0x42ce76);return;}if(_0x3b92ae){const _0x6a8638=this[_0x2d3dda(0x2fb)](RangeError,_0x2d3dda(0x296),!0x0,0x3ea,_0x2d3dda(0x27d));_0x1ef9d9(_0x6a8638);return;}if(this['_payloadLength']>0x7d||this[_0x2d3dda(0x234)]===0x8&&this[_0x2d3dda(0x1fe)]===0x1){const _0x8a066c=this[_0x2d3dda(0x2fb)](RangeError,_0x2d3dda(0x260)+this[_0x2d3dda(0x1fe)],!0x0,0x3ea,_0x2d3dda(0x301));_0x1ef9d9(_0x8a066c);return;}}else{const _0x4a3c51=this[_0x2d3dda(0x2fb)](RangeError,_0x2d3dda(0x2bd)+this[_0x2d3dda(0x234)],!0x0,0x3ea,_0x2d3dda(0x27b));_0x1ef9d9(_0x4a3c51);return;}}}if(!this['_fin']&&!this[_0x2d3dda(0x2db)]&&(this['_fragmented']=this[_0x2d3dda(0x234)]),this[_0x2d3dda(0x2f2)]=(_0xbdb860[0x1]&0x80)===0x80,this[_0x2d3dda(0x2cb)]){if(!this['_masked']){const _0xb10e8a=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x1ef9d9(_0xb10e8a);return;}}else{if(this[_0x2d3dda(0x2f2)]){const _0x1b056a=this[_0x2d3dda(0x2fb)](RangeError,_0x2d3dda(0x333),!0x0,0x3ea,_0x2d3dda(0x281));_0x1ef9d9(_0x1b056a);return;}}this[_0x2d3dda(0x1fe)]===0x7e?this[_0x2d3dda(0x2c9)]=_0x1973eb:this[_0x2d3dda(0x1fe)]===0x7f?this[_0x2d3dda(0x2c9)]=_0x2b26bf:this[_0x2d3dda(0x24c)](_0x1ef9d9);}['getPayloadLength16'](_0x483266){const _0x148561=_0xa32227;if(this[_0x148561(0x1cb)]<0x2){this['_loop']=!0x1;return;}this[_0x148561(0x1fe)]=this[_0x148561(0x34f)](0x2)[_0x148561(0x236)](0x0),this['haveLength'](_0x483266);}[_0xa32227(0x203)](_0x578ccd){const _0x480c72=_0xa32227;if(this['_bufferedBytes']<0x8){this[_0x480c72(0x1cf)]=!0x1;return;}const _0x4a78e4=this[_0x480c72(0x34f)](0x8),_0xc33566=_0x4a78e4['readUInt32BE'](0x0);if(_0xc33566>Math[_0x480c72(0x316)](0x2,0x15)-0x1){const _0x22c266=this[_0x480c72(0x2fb)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x480c72(0x27c));_0x578ccd(_0x22c266);return;}this[_0x480c72(0x1fe)]=_0xc33566*Math[_0x480c72(0x316)](0x2,0x20)+_0x4a78e4[_0x480c72(0x318)](0x4),this[_0x480c72(0x24c)](_0x578ccd);}[_0xa32227(0x24c)](_0x53ae53){const _0x2c3024=_0xa32227;if(this['_payloadLength']&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x2c3024(0x1fe)],this[_0x2c3024(0x251)]>this['_maxPayload']&&this[_0x2c3024(0x2c4)]>0x0)){const _0x3bbfbc=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x53ae53(_0x3bbfbc);return;}this[_0x2c3024(0x2f2)]?this[_0x2c3024(0x2c9)]=_0x58c2d7:this[_0x2c3024(0x2c9)]=_0xf09a3e;}[_0xa32227(0x241)](){const _0x20d662=_0xa32227;if(this[_0x20d662(0x1cb)]<0x4){this[_0x20d662(0x1cf)]=!0x1;return;}this[_0x20d662(0x2fc)]=this[_0x20d662(0x34f)](0x4),this[_0x20d662(0x2c9)]=_0xf09a3e;}[_0xa32227(0x321)](_0x50842b){const _0x11ef9f=_0xa32227;let _0x285344=_0x3a3463;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x11ef9f(0x1fe)]){this[_0x11ef9f(0x1cf)]=!0x1;return;}_0x285344=this[_0x11ef9f(0x34f)](this[_0x11ef9f(0x1fe)]),this[_0x11ef9f(0x2f2)]&&(this[_0x11ef9f(0x2fc)][0x0]|this[_0x11ef9f(0x2fc)][0x1]|this[_0x11ef9f(0x2fc)][0x2]|this['_mask'][0x3])!==0x0&&_0x583cd7(_0x285344,this['_mask']);}if(this[_0x11ef9f(0x234)]>0x7){this[_0x11ef9f(0x212)](_0x285344,_0x50842b);return;}if(this[_0x11ef9f(0x27f)]){this[_0x11ef9f(0x2c9)]=_0x36b543,this[_0x11ef9f(0x280)](_0x285344,_0x50842b);return;}_0x285344['length']&&(this[_0x11ef9f(0x2ce)]=this[_0x11ef9f(0x251)],this['_fragments'][_0x11ef9f(0x1fc)](_0x285344)),this[_0x11ef9f(0x223)](_0x50842b);}[_0xa32227(0x280)](_0x1fcb3f,_0x12a19c){const _0x23dfd2=_0xa32227;this[_0x23dfd2(0x2b0)][_0x18ed57[_0x23dfd2(0x205)]][_0x23dfd2(0x280)](_0x1fcb3f,this['_fin'],(_0x213e07,_0x4ab40e)=>{const _0x2e7de0=_0x23dfd2;if(_0x213e07)return _0x12a19c(_0x213e07);if(_0x4ab40e[_0x2e7de0(0x30f)]){if(this[_0x2e7de0(0x2ce)]+=_0x4ab40e[_0x2e7de0(0x30f)],this['_messageLength']>this[_0x2e7de0(0x2c4)]&&this[_0x2e7de0(0x2c4)]>0x0){const _0x2a4226=this[_0x2e7de0(0x2fb)](RangeError,_0x2e7de0(0x302),!0x1,0x3f1,_0x2e7de0(0x289));_0x12a19c(_0x2a4226);return;}this[_0x2e7de0(0x25d)]['push'](_0x4ab40e);}this['dataMessage'](_0x12a19c),this[_0x2e7de0(0x2c9)]===_0x33c312&&this[_0x2e7de0(0x276)](_0x12a19c);});}['dataMessage'](_0x527a39){const _0x2c37f5=_0xa32227;if(!this[_0x2c37f5(0x31f)]){this['_state']=_0x33c312;return;}const _0x498ab7=this[_0x2c37f5(0x2ce)],_0x49f861=this[_0x2c37f5(0x25d)];if(this[_0x2c37f5(0x251)]=0x0,this['_messageLength']=0x0,this[_0x2c37f5(0x2db)]=0x0,this[_0x2c37f5(0x25d)]=[],this[_0x2c37f5(0x234)]===0x2){let _0x580585;this['_binaryType']===_0x2c37f5(0x2d8)?_0x580585=_0x458ca6(_0x49f861,_0x498ab7):this[_0x2c37f5(0x34c)]===_0x2c37f5(0x335)?_0x580585=_0x457d48(_0x458ca6(_0x49f861,_0x498ab7)):this['_binaryType']===_0x2c37f5(0x27e)?_0x580585=new Blob(_0x49f861):_0x580585=_0x49f861,this[_0x2c37f5(0x1d4)]?(this[_0x2c37f5(0x24d)]('message',_0x580585,!0x0),this[_0x2c37f5(0x2c9)]=_0x33c312):(this[_0x2c37f5(0x2c9)]=_0x2a4eb5,setImmediate(()=>{const _0x5ba950=_0x2c37f5;this['emit'](_0x5ba950(0x2ed),_0x580585,!0x0),this[_0x5ba950(0x2c9)]=_0x33c312,this[_0x5ba950(0x276)](_0x527a39);}));}else{const _0xc986f8=_0x458ca6(_0x49f861,_0x498ab7);if(!this['_skipUTF8Validation']&&!_0x46070f(_0xc986f8)){const _0x3ea916=this[_0x2c37f5(0x2fb)](Error,_0x2c37f5(0x215),!0x0,0x3ef,_0x2c37f5(0x240));_0x527a39(_0x3ea916);return;}this['_state']===_0x36b543||this[_0x2c37f5(0x1d4)]?(this[_0x2c37f5(0x24d)](_0x2c37f5(0x2ed),_0xc986f8,!0x1),this[_0x2c37f5(0x2c9)]=_0x33c312):(this[_0x2c37f5(0x2c9)]=_0x2a4eb5,setImmediate(()=>{const _0x4cc9af=_0x2c37f5;this[_0x4cc9af(0x24d)](_0x4cc9af(0x2ed),_0xc986f8,!0x1),this[_0x4cc9af(0x2c9)]=_0x33c312,this[_0x4cc9af(0x276)](_0x527a39);}));}}[_0xa32227(0x212)](_0x21e699,_0x4f2cd6){const _0x506f44=_0xa32227;if(this[_0x506f44(0x234)]===0x8){if(_0x21e699[_0x506f44(0x30f)]===0x0)this['_loop']=!0x1,this[_0x506f44(0x24d)](_0x506f44(0x2dd),0x3ed,_0x3a3463),this['end']();else{const _0x151a4b=_0x21e699[_0x506f44(0x236)](0x0);if(!_0x25b836(_0x151a4b)){const _0x2c790=this['createError'](RangeError,_0x506f44(0x2f1)+_0x151a4b,!0x0,0x3ea,_0x506f44(0x1db));_0x4f2cd6(_0x2c790);return;}const _0x4769c8=new _0x4b09f7(_0x21e699[_0x506f44(0x24a)],_0x21e699['byteOffset']+0x2,_0x21e699[_0x506f44(0x30f)]-0x2);if(!this['_skipUTF8Validation']&&!_0x46070f(_0x4769c8)){const _0x1b9e6a=this[_0x506f44(0x2fb)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x506f44(0x240));_0x4f2cd6(_0x1b9e6a);return;}this['_loop']=!0x1,this[_0x506f44(0x24d)]('conclude',_0x151a4b,_0x4769c8),this[_0x506f44(0x20f)]();}this['_state']=_0x33c312;return;}this[_0x506f44(0x1d4)]?(this[_0x506f44(0x24d)](this[_0x506f44(0x234)]===0x9?'ping':'pong',_0x21e699),this[_0x506f44(0x2c9)]=_0x33c312):(this[_0x506f44(0x2c9)]=_0x2a4eb5,setImmediate(()=>{const _0x576b2f=_0x506f44;this[_0x576b2f(0x24d)](this[_0x576b2f(0x234)]===0x9?_0x576b2f(0x20e):_0x576b2f(0x21e),_0x21e699),this[_0x576b2f(0x2c9)]=_0x33c312,this[_0x576b2f(0x276)](_0x4f2cd6);}));}[_0xa32227(0x2fb)](_0x514af4,_0x41915b,_0x25b5e5,_0x137704,_0x3a16c9){const _0x5455ad=_0xa32227;this[_0x5455ad(0x1cf)]=!0x1,this[_0x5455ad(0x1f4)]=!0x0;const _0x4c2b46=new _0x514af4(_0x25b5e5?_0x5455ad(0x1b1)+_0x41915b:_0x41915b);return Error[_0x5455ad(0x2ae)](_0x4c2b46,this[_0x5455ad(0x2fb)]),_0x4c2b46[_0x5455ad(0x2eb)]=_0x3a16c9,_0x4c2b46[_0x38b849]=_0x137704,_0x4c2b46;}}return Se=_0x259f26,Se;}var Ee,et;function _t(){const _0x24013d=_0x408f5d;if(et)return Ee;et=0x1;const {Duplex:_0x128ac2}=_0x4f4a3d,{randomFillSync:_0xee44c}=_0x4c0806,_0x4cf5d6=he(),{EMPTY_BUFFER:_0x483b95,kWebSocket:_0x2768b5,NOOP:_0x9f79f1}=V(),{isBlob:_0x5cafbe,isValidStatusCode:_0x38294c}=ne(),{mask:_0x2cb2d8,toBuffer:_0x138001}=ce(),_0x295ee2=Symbol(_0x24013d(0x248)),_0xb047f6=Buffer[_0x24013d(0x1e2)](0x4),_0xb08ee6=0x8*0x400;let _0xc73114,_0x5b2c4b=_0xb08ee6;const _0x3bdb8e=0x0,_0x5aa909=0x1,_0x292b83=0x2;class _0x370d28{constructor(_0x5e5e03,_0xa581b1,_0xdeb9d7){const _0x370695=_0x24013d;this[_0x370695(0x2b0)]=_0xa581b1||{},_0xdeb9d7&&(this[_0x370695(0x210)]=_0xdeb9d7,this[_0x370695(0x1c1)]=Buffer[_0x370695(0x1e2)](0x4)),this[_0x370695(0x287)]=_0x5e5e03,this[_0x370695(0x2e3)]=!0x0,this[_0x370695(0x2de)]=!0x1,this[_0x370695(0x1cb)]=0x0,this['_queue']=[],this[_0x370695(0x2c9)]=_0x3bdb8e,this['onerror']=_0x9f79f1,this[_0x2768b5]=void 0x0;}static[_0x24013d(0x304)](_0x15064d,_0x35909c){const _0x55cb85=_0x24013d;let _0x48d798,_0x31a22e=!0x1,_0x32a94d=0x2,_0x3bc26a=!0x1;_0x35909c[_0x55cb85(0x34b)]&&(_0x48d798=_0x35909c['maskBuffer']||_0xb047f6,_0x35909c['generateMask']?_0x35909c[_0x55cb85(0x326)](_0x48d798):(_0x5b2c4b===_0xb08ee6&&(_0xc73114===void 0x0&&(_0xc73114=Buffer[_0x55cb85(0x1e2)](_0xb08ee6)),_0xee44c(_0xc73114,0x0,_0xb08ee6),_0x5b2c4b=0x0),_0x48d798[0x0]=_0xc73114[_0x5b2c4b++],_0x48d798[0x1]=_0xc73114[_0x5b2c4b++],_0x48d798[0x2]=_0xc73114[_0x5b2c4b++],_0x48d798[0x3]=_0xc73114[_0x5b2c4b++]),_0x3bc26a=(_0x48d798[0x0]|_0x48d798[0x1]|_0x48d798[0x2]|_0x48d798[0x3])===0x0,_0x32a94d=0x6);let _0x3e32ea;typeof _0x15064d==_0x55cb85(0x1bc)?(!_0x35909c[_0x55cb85(0x34b)]||_0x3bc26a)&&_0x35909c[_0x295ee2]!==void 0x0?_0x3e32ea=_0x35909c[_0x295ee2]:(_0x15064d=Buffer[_0x55cb85(0x1f3)](_0x15064d),_0x3e32ea=_0x15064d[_0x55cb85(0x30f)]):(_0x3e32ea=_0x15064d['length'],_0x31a22e=_0x35909c['mask']&&_0x35909c[_0x55cb85(0x269)]&&!_0x3bc26a);let _0x32e781=_0x3e32ea;_0x3e32ea>=0x10000?(_0x32a94d+=0x8,_0x32e781=0x7f):_0x3e32ea>0x7d&&(_0x32a94d+=0x2,_0x32e781=0x7e);const _0x3ce6da=Buffer[_0x55cb85(0x1c0)](_0x31a22e?_0x3e32ea+_0x32a94d:_0x32a94d);return _0x3ce6da[0x0]=_0x35909c['fin']?_0x35909c['opcode']|0x80:_0x35909c['opcode'],_0x35909c[_0x55cb85(0x2d4)]&&(_0x3ce6da[0x0]|=0x40),_0x3ce6da[0x1]=_0x32e781,_0x32e781===0x7e?_0x3ce6da[_0x55cb85(0x277)](_0x3e32ea,0x2):_0x32e781===0x7f&&(_0x3ce6da[0x2]=_0x3ce6da[0x3]=0x0,_0x3ce6da[_0x55cb85(0x322)](_0x3e32ea,0x4,0x6)),_0x35909c[_0x55cb85(0x34b)]?(_0x3ce6da[0x1]|=0x80,_0x3ce6da[_0x32a94d-0x4]=_0x48d798[0x0],_0x3ce6da[_0x32a94d-0x3]=_0x48d798[0x1],_0x3ce6da[_0x32a94d-0x2]=_0x48d798[0x2],_0x3ce6da[_0x32a94d-0x1]=_0x48d798[0x3],_0x3bc26a?[_0x3ce6da,_0x15064d]:_0x31a22e?(_0x2cb2d8(_0x15064d,_0x48d798,_0x3ce6da,_0x32a94d,_0x3e32ea),[_0x3ce6da]):(_0x2cb2d8(_0x15064d,_0x48d798,_0x15064d,0x0,_0x3e32ea),[_0x3ce6da,_0x15064d])):[_0x3ce6da,_0x15064d];}[_0x24013d(0x1b7)](_0x41c7cb,_0xc6f494,_0x93bcb6,_0x282cfa){const _0x5bb4c3=_0x24013d;let _0x425b0a;if(_0x41c7cb===void 0x0)_0x425b0a=_0x483b95;else{if(typeof _0x41c7cb!=_0x5bb4c3(0x2ef)||!_0x38294c(_0x41c7cb))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0xc6f494===void 0x0||!_0xc6f494['length'])_0x425b0a=Buffer[_0x5bb4c3(0x1c0)](0x2),_0x425b0a[_0x5bb4c3(0x277)](_0x41c7cb,0x0);else{const _0x366035=Buffer[_0x5bb4c3(0x235)](_0xc6f494);if(_0x366035>0x7b)throw new RangeError(_0x5bb4c3(0x228));_0x425b0a=Buffer['allocUnsafe'](0x2+_0x366035),_0x425b0a[_0x5bb4c3(0x277)](_0x41c7cb,0x0),typeof _0xc6f494==_0x5bb4c3(0x1bc)?_0x425b0a[_0x5bb4c3(0x320)](_0xc6f494,0x2):_0x425b0a[_0x5bb4c3(0x329)](_0xc6f494,0x2);}}const _0x1e4ca0={[_0x295ee2]:_0x425b0a[_0x5bb4c3(0x30f)],'fin':!0x0,'generateMask':this[_0x5bb4c3(0x210)],'mask':_0x93bcb6,'maskBuffer':this[_0x5bb4c3(0x1c1)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5bb4c3(0x2c9)]!==_0x3bdb8e?this[_0x5bb4c3(0x1ea)]([this[_0x5bb4c3(0x250)],_0x425b0a,!0x1,_0x1e4ca0,_0x282cfa]):this[_0x5bb4c3(0x233)](_0x370d28[_0x5bb4c3(0x304)](_0x425b0a,_0x1e4ca0),_0x282cfa);}[_0x24013d(0x20e)](_0x41830c,_0xbf35e6,_0x76a576){const _0x1f12e6=_0x24013d;let _0x15e557,_0x12ee7e;if(typeof _0x41830c=='string'?(_0x15e557=Buffer['byteLength'](_0x41830c),_0x12ee7e=!0x1):_0x5cafbe(_0x41830c)?(_0x15e557=_0x41830c[_0x1f12e6(0x1c9)],_0x12ee7e=!0x1):(_0x41830c=_0x138001(_0x41830c),_0x15e557=_0x41830c[_0x1f12e6(0x30f)],_0x12ee7e=_0x138001[_0x1f12e6(0x269)]),_0x15e557>0x7d)throw new RangeError(_0x1f12e6(0x1d5));const _0x1bd70a={[_0x295ee2]:_0x15e557,'fin':!0x0,'generateMask':this[_0x1f12e6(0x210)],'mask':_0xbf35e6,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x12ee7e,'rsv1':!0x1};_0x5cafbe(_0x41830c)?this['_state']!==_0x3bdb8e?this[_0x1f12e6(0x1ea)]([this[_0x1f12e6(0x2ff)],_0x41830c,!0x1,_0x1bd70a,_0x76a576]):this[_0x1f12e6(0x2ff)](_0x41830c,!0x1,_0x1bd70a,_0x76a576):this[_0x1f12e6(0x2c9)]!==_0x3bdb8e?this[_0x1f12e6(0x1ea)]([this['dispatch'],_0x41830c,!0x1,_0x1bd70a,_0x76a576]):this[_0x1f12e6(0x233)](_0x370d28[_0x1f12e6(0x304)](_0x41830c,_0x1bd70a),_0x76a576);}[_0x24013d(0x21e)](_0xe145a2,_0x163cdc,_0x5958a4){const _0x1c54ba=_0x24013d;let _0x3651e7,_0x35afc6;if(typeof _0xe145a2==_0x1c54ba(0x1bc)?(_0x3651e7=Buffer['byteLength'](_0xe145a2),_0x35afc6=!0x1):_0x5cafbe(_0xe145a2)?(_0x3651e7=_0xe145a2[_0x1c54ba(0x1c9)],_0x35afc6=!0x1):(_0xe145a2=_0x138001(_0xe145a2),_0x3651e7=_0xe145a2[_0x1c54ba(0x30f)],_0x35afc6=_0x138001[_0x1c54ba(0x269)]),_0x3651e7>0x7d)throw new RangeError(_0x1c54ba(0x1d5));const _0x1a4e9c={[_0x295ee2]:_0x3651e7,'fin':!0x0,'generateMask':this[_0x1c54ba(0x210)],'mask':_0x163cdc,'maskBuffer':this[_0x1c54ba(0x1c1)],'opcode':0xa,'readOnly':_0x35afc6,'rsv1':!0x1};_0x5cafbe(_0xe145a2)?this[_0x1c54ba(0x2c9)]!==_0x3bdb8e?this[_0x1c54ba(0x1ea)]([this[_0x1c54ba(0x2ff)],_0xe145a2,!0x1,_0x1a4e9c,_0x5958a4]):this[_0x1c54ba(0x2ff)](_0xe145a2,!0x1,_0x1a4e9c,_0x5958a4):this['_state']!==_0x3bdb8e?this[_0x1c54ba(0x1ea)]([this[_0x1c54ba(0x250)],_0xe145a2,!0x1,_0x1a4e9c,_0x5958a4]):this[_0x1c54ba(0x233)](_0x370d28[_0x1c54ba(0x304)](_0xe145a2,_0x1a4e9c),_0x5958a4);}['send'](_0x1ceb16,_0x3a4982,_0x4f96d1){const _0x1cd6f4=_0x24013d,_0x2edb19=this[_0x1cd6f4(0x2b0)][_0x4cf5d6[_0x1cd6f4(0x205)]];let _0x13cf43=_0x3a4982['binary']?0x2:0x1,_0x1957b4=_0x3a4982[_0x1cd6f4(0x1e3)],_0xe1be0e,_0xf9b8e5;typeof _0x1ceb16=='string'?(_0xe1be0e=Buffer[_0x1cd6f4(0x235)](_0x1ceb16),_0xf9b8e5=!0x1):_0x5cafbe(_0x1ceb16)?(_0xe1be0e=_0x1ceb16[_0x1cd6f4(0x1c9)],_0xf9b8e5=!0x1):(_0x1ceb16=_0x138001(_0x1ceb16),_0xe1be0e=_0x1ceb16['length'],_0xf9b8e5=_0x138001['readOnly']),this[_0x1cd6f4(0x2e3)]?(this[_0x1cd6f4(0x2e3)]=!0x1,_0x1957b4&&_0x2edb19&&_0x2edb19[_0x1cd6f4(0x2f9)][_0x2edb19['_isServer']?_0x1cd6f4(0x2a2):'client_no_context_takeover']&&(_0x1957b4=_0xe1be0e>=_0x2edb19[_0x1cd6f4(0x2ac)]),this['_compress']=_0x1957b4):(_0x1957b4=!0x1,_0x13cf43=0x0),_0x3a4982['fin']&&(this[_0x1cd6f4(0x2e3)]=!0x0);const _0x276fbb={[_0x295ee2]:_0xe1be0e,'fin':_0x3a4982['fin'],'generateMask':this[_0x1cd6f4(0x210)],'mask':_0x3a4982[_0x1cd6f4(0x34b)],'maskBuffer':this[_0x1cd6f4(0x1c1)],'opcode':_0x13cf43,'readOnly':_0xf9b8e5,'rsv1':_0x1957b4};_0x5cafbe(_0x1ceb16)?this[_0x1cd6f4(0x2c9)]!==_0x3bdb8e?this[_0x1cd6f4(0x1ea)]([this[_0x1cd6f4(0x2ff)],_0x1ceb16,this[_0x1cd6f4(0x2de)],_0x276fbb,_0x4f96d1]):this[_0x1cd6f4(0x2ff)](_0x1ceb16,this[_0x1cd6f4(0x2de)],_0x276fbb,_0x4f96d1):this[_0x1cd6f4(0x2c9)]!==_0x3bdb8e?this['enqueue']([this[_0x1cd6f4(0x250)],_0x1ceb16,this[_0x1cd6f4(0x2de)],_0x276fbb,_0x4f96d1]):this[_0x1cd6f4(0x250)](_0x1ceb16,this[_0x1cd6f4(0x2de)],_0x276fbb,_0x4f96d1);}[_0x24013d(0x2ff)](_0x1b8f8e,_0x53c85e,_0x2b8bf2,_0x3cbe14){const _0x2f1bc6=_0x24013d;this[_0x2f1bc6(0x1cb)]+=_0x2b8bf2[_0x295ee2],this[_0x2f1bc6(0x2c9)]=_0x292b83,_0x1b8f8e[_0x2f1bc6(0x1f8)]()[_0x2f1bc6(0x249)](_0x11e59b=>{const _0x51b6e1=_0x2f1bc6;if(this[_0x51b6e1(0x287)][_0x51b6e1(0x247)]){const _0x14457c=new Error(_0x51b6e1(0x2f7));process['nextTick'](_0xf587cd,this,_0x14457c,_0x3cbe14);return;}this[_0x51b6e1(0x1cb)]-=_0x2b8bf2[_0x295ee2];const _0x157fb1=_0x138001(_0x11e59b);_0x53c85e?this['dispatch'](_0x157fb1,_0x53c85e,_0x2b8bf2,_0x3cbe14):(this[_0x51b6e1(0x2c9)]=_0x3bdb8e,this[_0x51b6e1(0x233)](_0x370d28[_0x51b6e1(0x304)](_0x157fb1,_0x2b8bf2),_0x3cbe14),this[_0x51b6e1(0x356)]());})['catch'](_0x40cc92=>{process['nextTick'](_0x4b3e15,this,_0x40cc92,_0x3cbe14);});}[_0x24013d(0x250)](_0xf37941,_0x297888,_0x25c8a3,_0x26a105){const _0x1cf934=_0x24013d;if(!_0x297888){this['sendFrame'](_0x370d28[_0x1cf934(0x304)](_0xf37941,_0x25c8a3),_0x26a105);return;}const _0x34c280=this['_extensions'][_0x4cf5d6[_0x1cf934(0x205)]];this['_bufferedBytes']+=_0x25c8a3[_0x295ee2],this[_0x1cf934(0x2c9)]=_0x5aa909,_0x34c280['compress'](_0xf37941,_0x25c8a3[_0x1cf934(0x1ff)],(_0x4550c5,_0x2c144f)=>{const _0x1a402e=_0x1cf934;if(this[_0x1a402e(0x287)][_0x1a402e(0x247)]){const _0x577b54=new Error(_0x1a402e(0x201));_0xf587cd(this,_0x577b54,_0x26a105);return;}this[_0x1a402e(0x1cb)]-=_0x25c8a3[_0x295ee2],this['_state']=_0x3bdb8e,_0x25c8a3[_0x1a402e(0x269)]=!0x1,this[_0x1a402e(0x233)](_0x370d28[_0x1a402e(0x304)](_0x2c144f,_0x25c8a3),_0x26a105),this[_0x1a402e(0x356)]();});}[_0x24013d(0x356)](){const _0xe2ea09=_0x24013d;for(;this[_0xe2ea09(0x2c9)]===_0x3bdb8e&&this[_0xe2ea09(0x1fb)]['length'];){const _0x2d69fe=this[_0xe2ea09(0x1fb)][_0xe2ea09(0x29b)]();this[_0xe2ea09(0x1cb)]-=_0x2d69fe[0x3][_0x295ee2],Reflect[_0xe2ea09(0x21f)](_0x2d69fe[0x0],this,_0x2d69fe[_0xe2ea09(0x294)](0x1));}}[_0x24013d(0x1ea)](_0x531069){this['_bufferedBytes']+=_0x531069[0x3][_0x295ee2],this['_queue']['push'](_0x531069);}[_0x24013d(0x233)](_0x6923c7,_0x471a40){const _0x5514ec=_0x24013d;_0x6923c7[_0x5514ec(0x30f)]===0x2?(this[_0x5514ec(0x287)][_0x5514ec(0x1f0)](),this[_0x5514ec(0x287)][_0x5514ec(0x320)](_0x6923c7[0x0]),this[_0x5514ec(0x287)][_0x5514ec(0x320)](_0x6923c7[0x1],_0x471a40),this[_0x5514ec(0x287)][_0x5514ec(0x1dc)]()):this[_0x5514ec(0x287)][_0x5514ec(0x320)](_0x6923c7[0x0],_0x471a40);}}Ee=_0x370d28;function _0xf587cd(_0x1ed933,_0x430141,_0x14546d){const _0x82af70=_0x24013d;typeof _0x14546d=='function'&&_0x14546d(_0x430141);for(let _0x10dc8e=0x0;_0x10dc8e<_0x1ed933[_0x82af70(0x1fb)][_0x82af70(0x30f)];_0x10dc8e++){const _0x146980=_0x1ed933[_0x82af70(0x1fb)][_0x10dc8e],_0x69c500=_0x146980[_0x146980['length']-0x1];typeof _0x69c500==_0x82af70(0x1d3)&&_0x69c500(_0x430141);}}function _0x4b3e15(_0x234420,_0x15f3ca,_0x98f040){const _0x40db10=_0x24013d;_0xf587cd(_0x234420,_0x15f3ca,_0x98f040),_0x234420[_0x40db10(0x202)](_0x15f3ca);}return Ee;}var xe,tt;function Kt(){const _0x6bedb3=_0x408f5d;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xab648,kListener:_0x46188c}=V(),_0x2cf233=Symbol(_0x6bedb3(0x1e7)),_0x699f24=Symbol(_0x6bedb3(0x359)),_0x468c3d=Symbol(_0x6bedb3(0x310)),_0x41a62d=Symbol(_0x6bedb3(0x273)),_0x58079d=Symbol(_0x6bedb3(0x238)),_0x564b6b=Symbol(_0x6bedb3(0x1eb)),_0x485e15=Symbol('kType'),_0x1b0cb1=Symbol(_0x6bedb3(0x1be));class _0x197995{constructor(_0x2d6384){this[_0x564b6b]=null,this[_0x485e15]=_0x2d6384;}get[_0x6bedb3(0x292)](){return this[_0x564b6b];}get['type'](){return this[_0x485e15];}}Object[_0x6bedb3(0x2e5)](_0x197995[_0x6bedb3(0x23f)],_0x6bedb3(0x292),{'enumerable':!0x0}),Object[_0x6bedb3(0x2e5)](_0x197995[_0x6bedb3(0x23f)],_0x6bedb3(0x1da),{'enumerable':!0x0});class _0x593447 extends _0x197995{constructor(_0x2da912,_0x3fed98={}){const _0x2adc3b=_0x6bedb3;super(_0x2da912),this[_0x2cf233]=_0x3fed98[_0x2adc3b(0x2eb)]===void 0x0?0x0:_0x3fed98[_0x2adc3b(0x2eb)],this[_0x58079d]=_0x3fed98['reason']===void 0x0?'':_0x3fed98[_0x2adc3b(0x337)],this[_0x1b0cb1]=_0x3fed98[_0x2adc3b(0x358)]===void 0x0?!0x1:_0x3fed98['wasClean'];}get[_0x6bedb3(0x2eb)](){return this[_0x2cf233];}get['reason'](){return this[_0x58079d];}get[_0x6bedb3(0x358)](){return this[_0x1b0cb1];}}Object[_0x6bedb3(0x2e5)](_0x593447[_0x6bedb3(0x23f)],_0x6bedb3(0x2eb),{'enumerable':!0x0}),Object[_0x6bedb3(0x2e5)](_0x593447['prototype'],'reason',{'enumerable':!0x0}),Object[_0x6bedb3(0x2e5)](_0x593447['prototype'],_0x6bedb3(0x358),{'enumerable':!0x0});class _0x5e2917 extends _0x197995{constructor(_0x638cce,_0x5743f2={}){const _0x5bd167=_0x6bedb3;super(_0x638cce),this[_0x468c3d]=_0x5743f2['error']===void 0x0?null:_0x5743f2[_0x5bd167(0x2a4)],this[_0x41a62d]=_0x5743f2[_0x5bd167(0x2ed)]===void 0x0?'':_0x5743f2[_0x5bd167(0x2ed)];}get[_0x6bedb3(0x2a4)](){return this[_0x468c3d];}get[_0x6bedb3(0x2ed)](){return this[_0x41a62d];}}Object[_0x6bedb3(0x2e5)](_0x5e2917[_0x6bedb3(0x23f)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x5e2917[_0x6bedb3(0x23f)],_0x6bedb3(0x2ed),{'enumerable':!0x0});class _0x573955 extends _0x197995{constructor(_0x408f49,_0x20cfbd={}){const _0x34c8fd=_0x6bedb3;super(_0x408f49),this[_0x699f24]=_0x20cfbd[_0x34c8fd(0x313)]===void 0x0?null:_0x20cfbd['data'];}get[_0x6bedb3(0x313)](){return this[_0x699f24];}}Object['defineProperty'](_0x573955[_0x6bedb3(0x23f)],_0x6bedb3(0x313),{'enumerable':!0x0}),xe={'CloseEvent':_0x593447,'ErrorEvent':_0x5e2917,'Event':_0x197995,'EventTarget':{'addEventListener'(_0x23246c,_0x16c8bd,_0x2c4da8={}){const _0x1502b8=_0x6bedb3;for(const _0x49c083 of this[_0x1502b8(0x32a)](_0x23246c))if(!_0x2c4da8[_0xab648]&&_0x49c083[_0x46188c]===_0x16c8bd&&!_0x49c083[_0xab648])return;let _0x4f5185;if(_0x23246c===_0x1502b8(0x2ed))_0x4f5185=function(_0x5a67d4,_0x451d22){const _0x90934d=_0x1502b8,_0xc2ffa2=new _0x573955(_0x90934d(0x2ed),{'data':_0x451d22?_0x5a67d4:_0x5a67d4['toString']()});_0xc2ffa2[_0x564b6b]=this,_0x411b07(_0x16c8bd,this,_0xc2ffa2);};else{if(_0x23246c===_0x1502b8(0x1b7))_0x4f5185=function(_0x2bd5c8,_0x3d72b9){const _0x3d4840=_0x1502b8,_0x2f1b93=new _0x593447(_0x3d4840(0x1b7),{'code':_0x2bd5c8,'reason':_0x3d72b9[_0x3d4840(0x291)](),'wasClean':this['_closeFrameReceived']&&this[_0x3d4840(0x21c)]});_0x2f1b93[_0x564b6b]=this,_0x411b07(_0x16c8bd,this,_0x2f1b93);};else{if(_0x23246c===_0x1502b8(0x2a4))_0x4f5185=function(_0x352af6){const _0xc28741=_0x1502b8,_0x1bdfc0=new _0x5e2917('error',{'error':_0x352af6,'message':_0x352af6[_0xc28741(0x2ed)]});_0x1bdfc0[_0x564b6b]=this,_0x411b07(_0x16c8bd,this,_0x1bdfc0);};else{if(_0x23246c===_0x1502b8(0x331))_0x4f5185=function(){const _0x2b9a3e=_0x1502b8,_0x487a64=new _0x197995(_0x2b9a3e(0x331));_0x487a64[_0x564b6b]=this,_0x411b07(_0x16c8bd,this,_0x487a64);};else return;}}}_0x4f5185[_0xab648]=!!_0x2c4da8[_0xab648],_0x4f5185[_0x46188c]=_0x16c8bd,_0x2c4da8['once']?this[_0x1502b8(0x351)](_0x23246c,_0x4f5185):this['on'](_0x23246c,_0x4f5185);},'removeEventListener'(_0x3ab959,_0x5cd778){for(const _0x13539f of this['listeners'](_0x3ab959))if(_0x13539f[_0x46188c]===_0x5cd778&&!_0x13539f[_0xab648]){this['removeListener'](_0x3ab959,_0x13539f);break;}}},'MessageEvent':_0x573955};function _0x411b07(_0x29c425,_0x2f66b5,_0x1ea52f){const _0x66af29=_0x6bedb3;typeof _0x29c425==_0x66af29(0x244)&&_0x29c425[_0x66af29(0x230)]?_0x29c425[_0x66af29(0x230)][_0x66af29(0x1f1)](_0x29c425,_0x1ea52f):_0x29c425[_0x66af29(0x1f1)](_0x2f66b5,_0x1ea52f);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x57f885}=ne();function _0x3b7714(_0x21660e,_0x37ded0,_0x392f1a){_0x21660e[_0x37ded0]===void 0x0?_0x21660e[_0x37ded0]=[_0x392f1a]:_0x21660e[_0x37ded0]['push'](_0x392f1a);}function _0x3704d3(_0x6e5874){const _0x43003b=_0x3fcb,_0x40f6e7=Object[_0x43003b(0x350)](null);let _0xf0e69b=Object[_0x43003b(0x350)](null),_0x27fa99=!0x1,_0x14b39c=!0x1,_0x242b81=!0x1,_0x1fb409,_0x524171,_0x3ac974=-0x1,_0xb0afd5=-0x1,_0x19bed7=-0x1,_0x150ae2=0x0;for(;_0x150ae2<_0x6e5874['length'];_0x150ae2++)if(_0xb0afd5=_0x6e5874[_0x43003b(0x206)](_0x150ae2),_0x1fb409===void 0x0){if(_0x19bed7===-0x1&&_0x57f885[_0xb0afd5]===0x1)_0x3ac974===-0x1&&(_0x3ac974=_0x150ae2);else{if(_0x150ae2!==0x0&&(_0xb0afd5===0x20||_0xb0afd5===0x9))_0x19bed7===-0x1&&_0x3ac974!==-0x1&&(_0x19bed7=_0x150ae2);else{if(_0xb0afd5===0x3b||_0xb0afd5===0x2c){if(_0x3ac974===-0x1)throw new SyntaxError(_0x43003b(0x1c8)+_0x150ae2);_0x19bed7===-0x1&&(_0x19bed7=_0x150ae2);const _0x56f453=_0x6e5874[_0x43003b(0x294)](_0x3ac974,_0x19bed7);_0xb0afd5===0x2c?(_0x3b7714(_0x40f6e7,_0x56f453,_0xf0e69b),_0xf0e69b=Object[_0x43003b(0x350)](null)):_0x1fb409=_0x56f453,_0x3ac974=_0x19bed7=-0x1;}else throw new SyntaxError(_0x43003b(0x1c8)+_0x150ae2);}}}else{if(_0x524171===void 0x0){if(_0x19bed7===-0x1&&_0x57f885[_0xb0afd5]===0x1)_0x3ac974===-0x1&&(_0x3ac974=_0x150ae2);else{if(_0xb0afd5===0x20||_0xb0afd5===0x9)_0x19bed7===-0x1&&_0x3ac974!==-0x1&&(_0x19bed7=_0x150ae2);else{if(_0xb0afd5===0x3b||_0xb0afd5===0x2c){if(_0x3ac974===-0x1)throw new SyntaxError(_0x43003b(0x1c8)+_0x150ae2);_0x19bed7===-0x1&&(_0x19bed7=_0x150ae2),_0x3b7714(_0xf0e69b,_0x6e5874[_0x43003b(0x294)](_0x3ac974,_0x19bed7),!0x0),_0xb0afd5===0x2c&&(_0x3b7714(_0x40f6e7,_0x1fb409,_0xf0e69b),_0xf0e69b=Object[_0x43003b(0x350)](null),_0x1fb409=void 0x0),_0x3ac974=_0x19bed7=-0x1;}else{if(_0xb0afd5===0x3d&&_0x3ac974!==-0x1&&_0x19bed7===-0x1)_0x524171=_0x6e5874['slice'](_0x3ac974,_0x150ae2),_0x3ac974=_0x19bed7=-0x1;else throw new SyntaxError(_0x43003b(0x1c8)+_0x150ae2);}}}}else{if(_0x14b39c){if(_0x57f885[_0xb0afd5]!==0x1)throw new SyntaxError(_0x43003b(0x1c8)+_0x150ae2);_0x3ac974===-0x1?_0x3ac974=_0x150ae2:_0x27fa99||(_0x27fa99=!0x0),_0x14b39c=!0x1;}else{if(_0x242b81){if(_0x57f885[_0xb0afd5]===0x1)_0x3ac974===-0x1&&(_0x3ac974=_0x150ae2);else{if(_0xb0afd5===0x22&&_0x3ac974!==-0x1)_0x242b81=!0x1,_0x19bed7=_0x150ae2;else{if(_0xb0afd5===0x5c)_0x14b39c=!0x0;else throw new SyntaxError(_0x43003b(0x1c8)+_0x150ae2);}}}else{if(_0xb0afd5===0x22&&_0x6e5874[_0x43003b(0x206)](_0x150ae2-0x1)===0x3d)_0x242b81=!0x0;else{if(_0x19bed7===-0x1&&_0x57f885[_0xb0afd5]===0x1)_0x3ac974===-0x1&&(_0x3ac974=_0x150ae2);else{if(_0x3ac974!==-0x1&&(_0xb0afd5===0x20||_0xb0afd5===0x9))_0x19bed7===-0x1&&(_0x19bed7=_0x150ae2);else{if(_0xb0afd5===0x3b||_0xb0afd5===0x2c){if(_0x3ac974===-0x1)throw new SyntaxError(_0x43003b(0x1c8)+_0x150ae2);_0x19bed7===-0x1&&(_0x19bed7=_0x150ae2);let _0x39c611=_0x6e5874['slice'](_0x3ac974,_0x19bed7);_0x27fa99&&(_0x39c611=_0x39c611[_0x43003b(0x344)](/\\/g,''),_0x27fa99=!0x1),_0x3b7714(_0xf0e69b,_0x524171,_0x39c611),_0xb0afd5===0x2c&&(_0x3b7714(_0x40f6e7,_0x1fb409,_0xf0e69b),_0xf0e69b=Object[_0x43003b(0x350)](null),_0x1fb409=void 0x0),_0x524171=void 0x0,_0x3ac974=_0x19bed7=-0x1;}else throw new SyntaxError(_0x43003b(0x1c8)+_0x150ae2);}}}}}}}if(_0x3ac974===-0x1||_0x242b81||_0xb0afd5===0x20||_0xb0afd5===0x9)throw new SyntaxError(_0x43003b(0x340));_0x19bed7===-0x1&&(_0x19bed7=_0x150ae2);const _0x5584c5=_0x6e5874['slice'](_0x3ac974,_0x19bed7);return _0x1fb409===void 0x0?_0x3b7714(_0x40f6e7,_0x5584c5,_0xf0e69b):(_0x524171===void 0x0?_0x3b7714(_0xf0e69b,_0x5584c5,!0x0):_0x27fa99?_0x3b7714(_0xf0e69b,_0x524171,_0x5584c5[_0x43003b(0x344)](/\\/g,'')):_0x3b7714(_0xf0e69b,_0x524171,_0x5584c5),_0x3b7714(_0x40f6e7,_0x1fb409,_0xf0e69b)),_0x40f6e7;}function _0x1df281(_0x339be9){const _0x521987=_0x3fcb;return Object[_0x521987(0x323)](_0x339be9)['map'](_0x39891b=>{const _0x4f9976=_0x521987;let _0x8fd0a9=_0x339be9[_0x39891b];return Array[_0x4f9976(0x220)](_0x8fd0a9)||(_0x8fd0a9=[_0x8fd0a9]),_0x8fd0a9[_0x4f9976(0x305)](_0x2466cc=>[_0x39891b][_0x4f9976(0x2e7)](Object[_0x4f9976(0x323)](_0x2466cc)[_0x4f9976(0x305)](_0x466f53=>{const _0x21c1f9=_0x4f9976;let _0x2d382e=_0x2466cc[_0x466f53];return Array[_0x21c1f9(0x220)](_0x2d382e)||(_0x2d382e=[_0x2d382e]),_0x2d382e[_0x21c1f9(0x305)](_0x4decde=>_0x4decde===!0x0?_0x466f53:_0x466f53+'='+_0x4decde)[_0x21c1f9(0x25c)](';\x20');}))[_0x4f9976(0x25c)](';\x20'))['join'](',\x20');})[_0x521987(0x25c)](',\x20');}return be={'format':_0x1df281,'parse':_0x3704d3},be;}var we,st;function Ie(){const _0x24e587=_0x408f5d;if(st)return we;st=0x1;const _0x52c01f=_0x1a5a01,_0x35ce72=_0xb6e4f,_0x3ec80f=_0x2983a2,_0x12cd59=_0x11a003,_0x4301fa=_0xd0b93e,{randomBytes:_0xad5c48,createHash:_0x42514a}=_0x4c0806,{Duplex:_0x117257,Readable:_0x1459bd}=_0x4f4a3d,{URL:_0x453677}=_0x444a00,_0x37d686=he(),_0xba432d=dt(),_0x43f294=_t(),{isBlob:_0x5b0a39}=ne(),{BINARY_TYPES:_0x573abb,EMPTY_BUFFER:_0x2351f0,GUID:_0xa49b8b,kForOnEventAttribute:_0xe26596,kListener:_0x172a8c,kStatusCode:_0x1a757f,kWebSocket:_0x3ef826,NOOP:_0x375ddf}=V(),{EventTarget:{addEventListener:_0x13abf9,removeEventListener:_0x518eda}}=Kt(),{format:_0xdd24c8,parse:_0x28f0ba}=pt(),{toBuffer:_0xfa8775}=ce(),_0x15a006=0x1e*0x3e8,_0x53d38f=Symbol('kAborted'),_0x1fc3a8=[0x8,0xd],_0x1df026=[_0x24e587(0x29f),_0x24e587(0x25e),_0x24e587(0x261),_0x24e587(0x239)],_0x529e12=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x46e647 extends _0x52c01f{constructor(_0x3488ac,_0x207f27,_0x15327e){const _0x108b7b=_0x24e587;super(),this[_0x108b7b(0x34c)]=_0x573abb[0x0],this[_0x108b7b(0x268)]=0x3ee,this[_0x108b7b(0x2cc)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x108b7b(0x23d)]=_0x2351f0,this[_0x108b7b(0x2ca)]=null,this['_errorEmitted']=!0x1,this[_0x108b7b(0x2b0)]={},this['_paused']=!0x1,this[_0x108b7b(0x213)]='',this[_0x108b7b(0x1e1)]=_0x46e647[_0x108b7b(0x29f)],this[_0x108b7b(0x2c7)]=null,this[_0x108b7b(0x35d)]=null,this[_0x108b7b(0x287)]=null,_0x3488ac!==null?(this[_0x108b7b(0x231)]=0x0,this[_0x108b7b(0x2cb)]=!0x1,this[_0x108b7b(0x34e)]=0x0,_0x207f27===void 0x0?_0x207f27=[]:Array[_0x108b7b(0x220)](_0x207f27)||(typeof _0x207f27==_0x108b7b(0x244)&&_0x207f27!==null?(_0x15327e=_0x207f27,_0x207f27=[]):_0x207f27=[_0x207f27]),_0x3d79c6(this,_0x3488ac,_0x207f27,_0x15327e)):(this[_0x108b7b(0x324)]=_0x15327e[_0x108b7b(0x308)],this[_0x108b7b(0x2cb)]=!0x0);}get[_0x24e587(0x1c2)](){const _0x33312c=_0x24e587;return this[_0x33312c(0x34c)];}set[_0x24e587(0x1c2)](_0x119921){const _0x562dd0=_0x24e587;_0x573abb[_0x562dd0(0x2a1)](_0x119921)&&(this[_0x562dd0(0x34c)]=_0x119921,this['_receiver']&&(this[_0x562dd0(0x2c7)][_0x562dd0(0x34c)]=_0x119921));}get[_0x24e587(0x2a3)](){const _0x11ba72=_0x24e587;return this['_socket']?this[_0x11ba72(0x287)]['_writableState'][_0x11ba72(0x30f)]+this[_0x11ba72(0x35d)][_0x11ba72(0x1cb)]:this[_0x11ba72(0x231)];}get[_0x24e587(0x332)](){const _0x551381=_0x24e587;return Object[_0x551381(0x323)](this[_0x551381(0x2b0)])[_0x551381(0x25c)]();}get[_0x24e587(0x325)](){return this['_paused'];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x24e587(0x254)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get['readyState'](){const _0x2ab042=_0x24e587;return this[_0x2ab042(0x1e1)];}get[_0x24e587(0x35f)](){const _0x15bb2f=_0x24e587;return this[_0x15bb2f(0x29e)];}[_0x24e587(0x1ed)](_0x576a0e,_0x33f7c6,_0x30342f){const _0x1d6999=_0x24e587,_0x23f77c=new _0xba432d({'allowSynchronousEvents':_0x30342f['allowSynchronousEvents'],'binaryType':this[_0x1d6999(0x1c2)],'extensions':this['_extensions'],'isServer':this[_0x1d6999(0x2cb)],'maxPayload':_0x30342f[_0x1d6999(0x253)],'skipUTF8Validation':_0x30342f[_0x1d6999(0x342)]}),_0x264608=new _0x43f294(_0x576a0e,this[_0x1d6999(0x2b0)],_0x30342f[_0x1d6999(0x326)]);this[_0x1d6999(0x2c7)]=_0x23f77c,this[_0x1d6999(0x35d)]=_0x264608,this[_0x1d6999(0x287)]=_0x576a0e,_0x23f77c[_0x3ef826]=this,_0x264608[_0x3ef826]=this,_0x576a0e[_0x3ef826]=this,_0x23f77c['on'](_0x1d6999(0x2dd),_0xc8333c),_0x23f77c['on'](_0x1d6999(0x286),_0x31b840),_0x23f77c['on']('error',_0x53f556),_0x23f77c['on'](_0x1d6999(0x2ed),_0x38038c),_0x23f77c['on'](_0x1d6999(0x20e),_0x5dceea),_0x23f77c['on'](_0x1d6999(0x21e),_0x17d140),_0x264608[_0x1d6999(0x202)]=_0x1d64a3,_0x576a0e[_0x1d6999(0x34a)]&&_0x576a0e['setTimeout'](0x0),_0x576a0e['setNoDelay']&&_0x576a0e['setNoDelay'](),_0x33f7c6[_0x1d6999(0x30f)]>0x0&&_0x576a0e[_0x1d6999(0x1d2)](_0x33f7c6),_0x576a0e['on'](_0x1d6999(0x1b7),_0x3958e3),_0x576a0e['on'](_0x1d6999(0x313),_0x4498b8),_0x576a0e['on']('end',_0xaaa3a1),_0x576a0e['on'](_0x1d6999(0x2a4),_0x5ad7b5),this[_0x1d6999(0x1e1)]=_0x46e647[_0x1d6999(0x25e)],this[_0x1d6999(0x24d)]('open');}['emitClose'](){const _0x4fae5f=_0x24e587;if(!this['_socket']){this[_0x4fae5f(0x1e1)]=_0x46e647['CLOSED'],this[_0x4fae5f(0x24d)](_0x4fae5f(0x1b7),this[_0x4fae5f(0x268)],this[_0x4fae5f(0x23d)]);return;}this[_0x4fae5f(0x2b0)][_0x37d686[_0x4fae5f(0x205)]]&&this[_0x4fae5f(0x2b0)][_0x37d686[_0x4fae5f(0x205)]][_0x4fae5f(0x357)](),this[_0x4fae5f(0x2c7)][_0x4fae5f(0x242)](),this[_0x4fae5f(0x1e1)]=_0x46e647[_0x4fae5f(0x239)],this[_0x4fae5f(0x24d)]('close',this[_0x4fae5f(0x268)],this[_0x4fae5f(0x23d)]);}[_0x24e587(0x1b7)](_0x510d93,_0x51e83f){const _0x4a7ccd=_0x24e587;if(this[_0x4a7ccd(0x219)]!==_0x46e647[_0x4a7ccd(0x239)]){if(this['readyState']===_0x46e647[_0x4a7ccd(0x29f)]){_0x56baad(this,this[_0x4a7ccd(0x21b)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4a7ccd(0x219)]===_0x46e647[_0x4a7ccd(0x261)]){this[_0x4a7ccd(0x21c)]&&(this['_closeFrameReceived']||this[_0x4a7ccd(0x2c7)][_0x4a7ccd(0x33a)]['errorEmitted'])&&this[_0x4a7ccd(0x287)][_0x4a7ccd(0x20f)]();return;}this[_0x4a7ccd(0x1e1)]=_0x46e647['CLOSING'],this[_0x4a7ccd(0x35d)][_0x4a7ccd(0x1b7)](_0x510d93,_0x51e83f,!this[_0x4a7ccd(0x2cb)],_0x3b99e4=>{const _0x2b91a8=_0x4a7ccd;_0x3b99e4||(this['_closeFrameSent']=!0x0,(this[_0x2b91a8(0x2cc)]||this['_receiver'][_0x2b91a8(0x33a)][_0x2b91a8(0x26e)])&&this[_0x2b91a8(0x287)][_0x2b91a8(0x20f)]());}),_0x3ed360(this);}}[_0x24e587(0x1f2)](){const _0x7b4b7b=_0x24e587;this[_0x7b4b7b(0x219)]===_0x46e647[_0x7b4b7b(0x29f)]||this[_0x7b4b7b(0x219)]===_0x46e647[_0x7b4b7b(0x239)]||(this[_0x7b4b7b(0x32e)]=!0x0,this[_0x7b4b7b(0x287)][_0x7b4b7b(0x1f2)]());}['ping'](_0x311fc5,_0x3a3780,_0xe7dc7f){const _0x50119b=_0x24e587;if(this[_0x50119b(0x219)]===_0x46e647['CONNECTING'])throw new Error(_0x50119b(0x1ae));if(typeof _0x311fc5==_0x50119b(0x1d3)?(_0xe7dc7f=_0x311fc5,_0x311fc5=_0x3a3780=void 0x0):typeof _0x3a3780==_0x50119b(0x1d3)&&(_0xe7dc7f=_0x3a3780,_0x3a3780=void 0x0),typeof _0x311fc5==_0x50119b(0x2ef)&&(_0x311fc5=_0x311fc5[_0x50119b(0x291)]()),this[_0x50119b(0x219)]!==_0x46e647[_0x50119b(0x25e)]){_0x31602e(this,_0x311fc5,_0xe7dc7f);return;}_0x3a3780===void 0x0&&(_0x3a3780=!this[_0x50119b(0x2cb)]),this[_0x50119b(0x35d)][_0x50119b(0x20e)](_0x311fc5||_0x2351f0,_0x3a3780,_0xe7dc7f);}[_0x24e587(0x21e)](_0x30ac86,_0x5b78d9,_0x3ec6a3){const _0x3ae04b=_0x24e587;if(this[_0x3ae04b(0x219)]===_0x46e647[_0x3ae04b(0x29f)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x30ac86=='function'?(_0x3ec6a3=_0x30ac86,_0x30ac86=_0x5b78d9=void 0x0):typeof _0x5b78d9==_0x3ae04b(0x1d3)&&(_0x3ec6a3=_0x5b78d9,_0x5b78d9=void 0x0),typeof _0x30ac86=='number'&&(_0x30ac86=_0x30ac86[_0x3ae04b(0x291)]()),this[_0x3ae04b(0x219)]!==_0x46e647[_0x3ae04b(0x25e)]){_0x31602e(this,_0x30ac86,_0x3ec6a3);return;}_0x5b78d9===void 0x0&&(_0x5b78d9=!this[_0x3ae04b(0x2cb)]),this['_sender']['pong'](_0x30ac86||_0x2351f0,_0x5b78d9,_0x3ec6a3);}['resume'](){const _0x1a06e6=_0x24e587;this[_0x1a06e6(0x219)]===_0x46e647[_0x1a06e6(0x29f)]||this['readyState']===_0x46e647[_0x1a06e6(0x239)]||(this[_0x1a06e6(0x32e)]=!0x1,this[_0x1a06e6(0x2c7)][_0x1a06e6(0x33a)][_0x1a06e6(0x2dc)]||this[_0x1a06e6(0x287)]['resume']());}[_0x24e587(0x2a6)](_0x32a06a,_0x4546b3,_0x14061a){const _0x3189eb=_0x24e587;if(this['readyState']===_0x46e647[_0x3189eb(0x29f)])throw new Error(_0x3189eb(0x1ae));if(typeof _0x4546b3=='function'&&(_0x14061a=_0x4546b3,_0x4546b3={}),typeof _0x32a06a==_0x3189eb(0x2ef)&&(_0x32a06a=_0x32a06a[_0x3189eb(0x291)]()),this[_0x3189eb(0x219)]!==_0x46e647[_0x3189eb(0x25e)]){_0x31602e(this,_0x32a06a,_0x14061a);return;}const _0x31c59c={'binary':typeof _0x32a06a!='string','mask':!this[_0x3189eb(0x2cb)],'compress':!0x0,'fin':!0x0,..._0x4546b3};this[_0x3189eb(0x2b0)][_0x37d686[_0x3189eb(0x205)]]||(_0x31c59c[_0x3189eb(0x1e3)]=!0x1),this[_0x3189eb(0x35d)]['send'](_0x32a06a||_0x2351f0,_0x31c59c,_0x14061a);}[_0x24e587(0x343)](){const _0x2c9574=_0x24e587;if(this[_0x2c9574(0x219)]!==_0x46e647[_0x2c9574(0x239)]){if(this[_0x2c9574(0x219)]===_0x46e647['CONNECTING']){_0x56baad(this,this[_0x2c9574(0x21b)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x2c9574(0x287)]&&(this[_0x2c9574(0x1e1)]=_0x46e647['CLOSING'],this['_socket'][_0x2c9574(0x245)]());}}}Object[_0x24e587(0x2e5)](_0x46e647,'CONNECTING',{'enumerable':!0x0,'value':_0x1df026[_0x24e587(0x355)](_0x24e587(0x29f))}),Object[_0x24e587(0x2e5)](_0x46e647[_0x24e587(0x23f)],_0x24e587(0x29f),{'enumerable':!0x0,'value':_0x1df026[_0x24e587(0x355)]('CONNECTING')}),Object['defineProperty'](_0x46e647,'OPEN',{'enumerable':!0x0,'value':_0x1df026[_0x24e587(0x355)](_0x24e587(0x25e))}),Object[_0x24e587(0x2e5)](_0x46e647[_0x24e587(0x23f)],_0x24e587(0x25e),{'enumerable':!0x0,'value':_0x1df026[_0x24e587(0x355)]('OPEN')}),Object['defineProperty'](_0x46e647,_0x24e587(0x261),{'enumerable':!0x0,'value':_0x1df026[_0x24e587(0x355)]('CLOSING')}),Object[_0x24e587(0x2e5)](_0x46e647['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x1df026[_0x24e587(0x355)](_0x24e587(0x261))}),Object[_0x24e587(0x2e5)](_0x46e647,_0x24e587(0x239),{'enumerable':!0x0,'value':_0x1df026['indexOf'](_0x24e587(0x239))}),Object['defineProperty'](_0x46e647[_0x24e587(0x23f)],_0x24e587(0x239),{'enumerable':!0x0,'value':_0x1df026['indexOf']('CLOSED')}),[_0x24e587(0x1c2),'bufferedAmount','extensions','isPaused',_0x24e587(0x35c),_0x24e587(0x219),_0x24e587(0x35f)][_0x24e587(0x282)](_0x42400f=>{const _0x1f889d=_0x24e587;Object[_0x1f889d(0x2e5)](_0x46e647[_0x1f889d(0x23f)],_0x42400f,{'enumerable':!0x0});}),['open',_0x24e587(0x2a4),_0x24e587(0x1b7),_0x24e587(0x2ed)][_0x24e587(0x282)](_0x229e25=>{const _0x18c4d0=_0x24e587;Object[_0x18c4d0(0x2e5)](_0x46e647[_0x18c4d0(0x23f)],'on'+_0x229e25,{'enumerable':!0x0,'get'(){const _0x286722=_0x18c4d0;for(const _0x3e966e of this[_0x286722(0x32a)](_0x229e25))if(_0x3e966e[_0xe26596])return _0x3e966e[_0x172a8c];return null;},'set'(_0x3e1fcb){const _0x3a9373=_0x18c4d0;for(const _0x37d854 of this[_0x3a9373(0x32a)](_0x229e25))if(_0x37d854[_0xe26596]){this['removeListener'](_0x229e25,_0x37d854);break;}typeof _0x3e1fcb==_0x3a9373(0x1d3)&&this[_0x3a9373(0x2bc)](_0x229e25,_0x3e1fcb,{[_0xe26596]:!0x0});}});}),_0x46e647[_0x24e587(0x23f)][_0x24e587(0x2bc)]=_0x13abf9,_0x46e647[_0x24e587(0x23f)][_0x24e587(0x22b)]=_0x518eda,we=_0x46e647;function _0x3d79c6(_0x1f6991,_0x57fcd9,_0x52d5ca,_0x1d638e){const _0x411185=_0x24e587,_0x371e4e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1fc3a8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1d638e,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1f6991[_0x411185(0x324)]=_0x371e4e[_0x411185(0x308)],!_0x1fc3a8[_0x411185(0x2a1)](_0x371e4e[_0x411185(0x214)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x371e4e[_0x411185(0x214)]+'\x20(supported\x20versions:\x20'+_0x1fc3a8[_0x411185(0x25c)](',\x20')+')');let _0x2448e6;if(_0x57fcd9 instanceof _0x453677)_0x2448e6=_0x57fcd9;else try{_0x2448e6=new _0x453677(_0x57fcd9);}catch{throw new SyntaxError(_0x411185(0x283)+_0x57fcd9);}_0x2448e6['protocol']===_0x411185(0x2a0)?_0x2448e6['protocol']=_0x411185(0x2c5):_0x2448e6[_0x411185(0x35c)]==='https:'&&(_0x2448e6['protocol']=_0x411185(0x232)),_0x1f6991[_0x411185(0x29e)]=_0x2448e6[_0x411185(0x209)];const _0x1a7041=_0x2448e6[_0x411185(0x35c)]===_0x411185(0x232),_0x28e162=_0x2448e6[_0x411185(0x35c)]==='ws+unix:';let _0x4e1126;if(_0x2448e6[_0x411185(0x35c)]!==_0x411185(0x2c5)&&!_0x1a7041&&!_0x28e162?_0x4e1126=_0x411185(0x319):_0x28e162&&!_0x2448e6[_0x411185(0x30d)]?_0x4e1126='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2448e6['hash']&&(_0x4e1126='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x4e1126){const _0x585127=new SyntaxError(_0x4e1126);if(_0x1f6991[_0x411185(0x34e)]===0x0)throw _0x585127;_0x1227bd(_0x1f6991,_0x585127);return;}const _0x32cff0=_0x1a7041?0x1bb:0x50,_0xacb125=_0xad5c48(0x10)[_0x411185(0x291)]('base64'),_0x213f6d=_0x1a7041?_0x35ce72[_0x411185(0x274)]:_0x3ec80f['request'],_0x95d8ec=new Set();let _0x48f104;if(_0x371e4e[_0x411185(0x22a)]=_0x371e4e[_0x411185(0x22a)]||(_0x1a7041?_0x1c137a:_0x1768e1),_0x371e4e['defaultPort']=_0x371e4e[_0x411185(0x265)]||_0x32cff0,_0x371e4e[_0x411185(0x1d1)]=_0x2448e6[_0x411185(0x1d1)]||_0x32cff0,_0x371e4e[_0x411185(0x32b)]=_0x2448e6[_0x411185(0x290)][_0x411185(0x2c8)]('[')?_0x2448e6[_0x411185(0x290)][_0x411185(0x294)](0x1,-0x1):_0x2448e6[_0x411185(0x290)],_0x371e4e[_0x411185(0x2f0)]={..._0x371e4e[_0x411185(0x2f0)],'Sec-WebSocket-Version':_0x371e4e[_0x411185(0x214)],'Sec-WebSocket-Key':_0xacb125,'Connection':'Upgrade','Upgrade':_0x411185(0x2aa)},_0x371e4e['path']=_0x2448e6[_0x411185(0x30d)]+_0x2448e6[_0x411185(0x26b)],_0x371e4e[_0x411185(0x2fd)]=_0x371e4e['handshakeTimeout'],_0x371e4e['perMessageDeflate']&&(_0x48f104=new _0x37d686(_0x371e4e[_0x411185(0x35a)]!==!0x0?_0x371e4e[_0x411185(0x35a)]:{},!0x1,_0x371e4e[_0x411185(0x253)]),_0x371e4e[_0x411185(0x2f0)][_0x411185(0x222)]=_0xdd24c8({[_0x37d686[_0x411185(0x205)]]:_0x48f104[_0x411185(0x211)]()})),_0x52d5ca['length']){for(const _0x158918 of _0x52d5ca){if(typeof _0x158918!=_0x411185(0x1bc)||!_0x529e12[_0x411185(0x1f5)](_0x158918)||_0x95d8ec[_0x411185(0x2bf)](_0x158918))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x95d8ec[_0x411185(0x22f)](_0x158918);}_0x371e4e['headers'][_0x411185(0x1c3)]=_0x52d5ca[_0x411185(0x25c)](',');}if(_0x371e4e[_0x411185(0x21a)]&&(_0x371e4e[_0x411185(0x214)]<0xd?_0x371e4e['headers'][_0x411185(0x2da)]=_0x371e4e[_0x411185(0x21a)]:_0x371e4e[_0x411185(0x2f0)]['Origin']=_0x371e4e[_0x411185(0x21a)]),(_0x2448e6['username']||_0x2448e6[_0x411185(0x303)])&&(_0x371e4e[_0x411185(0x346)]=_0x2448e6[_0x411185(0x30c)]+':'+_0x2448e6[_0x411185(0x303)]),_0x28e162){const _0xa947e3=_0x371e4e[_0x411185(0x2b6)][_0x411185(0x272)](':');_0x371e4e[_0x411185(0x341)]=_0xa947e3[0x0],_0x371e4e[_0x411185(0x2b6)]=_0xa947e3[0x1];}let _0x6d514a;if(_0x371e4e['followRedirects']){if(_0x1f6991['_redirects']===0x0){_0x1f6991[_0x411185(0x2e2)]=_0x28e162,_0x1f6991[_0x411185(0x1f6)]=_0x1a7041,_0x1f6991[_0x411185(0x1bd)]=_0x28e162?_0x371e4e['socketPath']:_0x2448e6[_0x411185(0x32b)];const _0x365636=_0x1d638e&&_0x1d638e[_0x411185(0x2f0)];if(_0x1d638e={..._0x1d638e,'headers':{}},_0x365636){for(const [_0x152ae0,_0x1d5faa]of Object[_0x411185(0x1cd)](_0x365636))_0x1d638e[_0x411185(0x2f0)][_0x152ae0[_0x411185(0x28d)]()]=_0x1d5faa;}}else{if(_0x1f6991[_0x411185(0x1d0)](_0x411185(0x2e4))===0x0){const _0x3a9472=_0x28e162?_0x1f6991[_0x411185(0x2e2)]?_0x371e4e[_0x411185(0x341)]===_0x1f6991[_0x411185(0x1bd)]:!0x1:_0x1f6991[_0x411185(0x2e2)]?!0x1:_0x2448e6[_0x411185(0x32b)]===_0x1f6991['_originalHostOrSocketPath'];(!_0x3a9472||_0x1f6991[_0x411185(0x1f6)]&&!_0x1a7041)&&(delete _0x371e4e['headers'][_0x411185(0x314)],delete _0x371e4e[_0x411185(0x2f0)][_0x411185(0x328)],_0x3a9472||delete _0x371e4e[_0x411185(0x2f0)][_0x411185(0x32b)],_0x371e4e['auth']=void 0x0);}}_0x371e4e[_0x411185(0x346)]&&!_0x1d638e[_0x411185(0x2f0)]['authorization']&&(_0x1d638e[_0x411185(0x2f0)][_0x411185(0x314)]=_0x411185(0x339)+Buffer['from'](_0x371e4e[_0x411185(0x346)])[_0x411185(0x291)]('base64')),_0x6d514a=_0x1f6991[_0x411185(0x21b)]=_0x213f6d(_0x371e4e),_0x1f6991[_0x411185(0x34e)]&&_0x1f6991[_0x411185(0x24d)](_0x411185(0x2e4),_0x1f6991['url'],_0x6d514a);}else _0x6d514a=_0x1f6991[_0x411185(0x21b)]=_0x213f6d(_0x371e4e);_0x371e4e[_0x411185(0x2fd)]&&_0x6d514a['on'](_0x411185(0x2fd),()=>{_0x56baad(_0x1f6991,_0x6d514a,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x6d514a['on'](_0x411185(0x2a4),_0x475b56=>{const _0x42ae80=_0x411185;_0x6d514a===null||_0x6d514a[_0x53d38f]||(_0x6d514a=_0x1f6991[_0x42ae80(0x21b)]=null,_0x1227bd(_0x1f6991,_0x475b56));}),_0x6d514a['on'](_0x411185(0x1d8),_0x29f54f=>{const _0x42ea4d=_0x411185,_0xe65ced=_0x29f54f[_0x42ea4d(0x2f0)]['location'],_0x2a6b39=_0x29f54f[_0x42ea4d(0x2a9)];if(_0xe65ced&&_0x371e4e[_0x42ea4d(0x2c1)]&&_0x2a6b39>=0x12c&&_0x2a6b39<0x190){if(++_0x1f6991[_0x42ea4d(0x34e)]>_0x371e4e[_0x42ea4d(0x30a)]){_0x56baad(_0x1f6991,_0x6d514a,_0x42ea4d(0x2ee));return;}_0x6d514a[_0x42ea4d(0x2c0)]();let _0x323358;try{_0x323358=new _0x453677(_0xe65ced,_0x57fcd9);}catch{const _0x5867c9=new SyntaxError(_0x42ea4d(0x283)+_0xe65ced);_0x1227bd(_0x1f6991,_0x5867c9);return;}_0x3d79c6(_0x1f6991,_0x323358,_0x52d5ca,_0x1d638e);}else _0x1f6991[_0x42ea4d(0x24d)](_0x42ea4d(0x30b),_0x6d514a,_0x29f54f)||_0x56baad(_0x1f6991,_0x6d514a,_0x42ea4d(0x1e5)+_0x29f54f['statusCode']);}),_0x6d514a['on'](_0x411185(0x1de),(_0x4402bf,_0x607552,_0xc1ea80)=>{const _0x47edca=_0x411185;if(_0x1f6991[_0x47edca(0x24d)](_0x47edca(0x1de),_0x4402bf),_0x1f6991[_0x47edca(0x219)]!==_0x46e647['CONNECTING'])return;_0x6d514a=_0x1f6991[_0x47edca(0x21b)]=null;const _0x21be17=_0x4402bf[_0x47edca(0x2f0)]['upgrade'];if(_0x21be17===void 0x0||_0x21be17[_0x47edca(0x28d)]()!==_0x47edca(0x2aa)){_0x56baad(_0x1f6991,_0x607552,_0x47edca(0x1bf));return;}const _0x2dc998=_0x42514a('sha1')['update'](_0xacb125+_0xa49b8b)[_0x47edca(0x256)](_0x47edca(0x270));if(_0x4402bf[_0x47edca(0x2f0)][_0x47edca(0x23a)]!==_0x2dc998){_0x56baad(_0x1f6991,_0x607552,_0x47edca(0x23e));return;}const _0x412e9b=_0x4402bf[_0x47edca(0x2f0)][_0x47edca(0x2e8)];let _0x257d08;if(_0x412e9b!==void 0x0?_0x95d8ec[_0x47edca(0x1c9)]?_0x95d8ec[_0x47edca(0x2bf)](_0x412e9b)||(_0x257d08=_0x47edca(0x1b8)):_0x257d08=_0x47edca(0x1fd):_0x95d8ec[_0x47edca(0x1c9)]&&(_0x257d08=_0x47edca(0x221)),_0x257d08){_0x56baad(_0x1f6991,_0x607552,_0x257d08);return;}_0x412e9b&&(_0x1f6991['_protocol']=_0x412e9b);const _0x4b1533=_0x4402bf[_0x47edca(0x2f0)]['sec-websocket-extensions'];if(_0x4b1533!==void 0x0){if(!_0x48f104){_0x56baad(_0x1f6991,_0x607552,_0x47edca(0x255));return;}let _0x36201a;try{_0x36201a=_0x28f0ba(_0x4b1533);}catch{_0x56baad(_0x1f6991,_0x607552,_0x47edca(0x1ca));return;}const _0x1ee1c6=Object[_0x47edca(0x323)](_0x36201a);if(_0x1ee1c6[_0x47edca(0x30f)]!==0x1||_0x1ee1c6[0x0]!==_0x37d686['extensionName']){_0x56baad(_0x1f6991,_0x607552,_0x47edca(0x1d6));return;}try{_0x48f104[_0x47edca(0x32f)](_0x36201a[_0x37d686[_0x47edca(0x205)]]);}catch{_0x56baad(_0x1f6991,_0x607552,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x1f6991[_0x47edca(0x2b0)][_0x37d686[_0x47edca(0x205)]]=_0x48f104;}_0x1f6991[_0x47edca(0x1ed)](_0x607552,_0xc1ea80,{'allowSynchronousEvents':_0x371e4e[_0x47edca(0x298)],'generateMask':_0x371e4e[_0x47edca(0x326)],'maxPayload':_0x371e4e['maxPayload'],'skipUTF8Validation':_0x371e4e[_0x47edca(0x342)]});}),_0x371e4e['finishRequest']?_0x371e4e[_0x411185(0x315)](_0x6d514a,_0x1f6991):_0x6d514a[_0x411185(0x20f)]();}function _0x1227bd(_0x3c33de,_0x4f8c11){const _0x1ebce8=_0x24e587;_0x3c33de[_0x1ebce8(0x1e1)]=_0x46e647['CLOSING'],_0x3c33de[_0x1ebce8(0x257)]=!0x0,_0x3c33de[_0x1ebce8(0x24d)](_0x1ebce8(0x2a4),_0x4f8c11),_0x3c33de[_0x1ebce8(0x1f7)]();}function _0x1768e1(_0x4d4de8){const _0x3df6a3=_0x24e587;return _0x4d4de8[_0x3df6a3(0x2b6)]=_0x4d4de8[_0x3df6a3(0x341)],_0x12cd59[_0x3df6a3(0x2d7)](_0x4d4de8);}function _0x1c137a(_0x4738bd){const _0x41fd2a=_0x24e587;return _0x4738bd[_0x41fd2a(0x2b6)]=void 0x0,!_0x4738bd[_0x41fd2a(0x2d5)]&&_0x4738bd['servername']!==''&&(_0x4738bd[_0x41fd2a(0x2d5)]=_0x12cd59['isIP'](_0x4738bd[_0x41fd2a(0x32b)])?'':_0x4738bd[_0x41fd2a(0x32b)]),_0x4301fa[_0x41fd2a(0x2d7)](_0x4738bd);}function _0x56baad(_0x29b5ca,_0x2270b7,_0x41926c){const _0x9d0776=_0x24e587;_0x29b5ca[_0x9d0776(0x1e1)]=_0x46e647[_0x9d0776(0x261)];const _0x3bb62d=new Error(_0x41926c);Error[_0x9d0776(0x2ae)](_0x3bb62d,_0x56baad),_0x2270b7[_0x9d0776(0x224)]?(_0x2270b7[_0x53d38f]=!0x0,_0x2270b7['abort'](),_0x2270b7['socket']&&!_0x2270b7[_0x9d0776(0x1b4)][_0x9d0776(0x247)]&&_0x2270b7[_0x9d0776(0x1b4)][_0x9d0776(0x245)](),process['nextTick'](_0x1227bd,_0x29b5ca,_0x3bb62d)):(_0x2270b7[_0x9d0776(0x245)](_0x3bb62d),_0x2270b7[_0x9d0776(0x351)](_0x9d0776(0x2a4),_0x29b5ca['emit'][_0x9d0776(0x345)](_0x29b5ca,'error')),_0x2270b7['once'](_0x9d0776(0x1b7),_0x29b5ca[_0x9d0776(0x1f7)]['bind'](_0x29b5ca)));}function _0x31602e(_0x5e9adf,_0x4638f2,_0x33f1e4){const _0x49da0a=_0x24e587;if(_0x4638f2){const _0x478de4=_0x5b0a39(_0x4638f2)?_0x4638f2[_0x49da0a(0x1c9)]:_0xfa8775(_0x4638f2)['length'];_0x5e9adf['_socket']?_0x5e9adf[_0x49da0a(0x35d)][_0x49da0a(0x1cb)]+=_0x478de4:_0x5e9adf[_0x49da0a(0x231)]+=_0x478de4;}if(_0x33f1e4){const _0x4b563d=new Error(_0x49da0a(0x347)+_0x5e9adf[_0x49da0a(0x219)]+'\x20('+_0x1df026[_0x5e9adf[_0x49da0a(0x219)]]+')');process[_0x49da0a(0x24e)](_0x33f1e4,_0x4b563d);}}function _0xc8333c(_0x37a4d1,_0x1201c8){const _0x37165c=_0x24e587,_0x169a99=this[_0x3ef826];_0x169a99[_0x37165c(0x2cc)]=!0x0,_0x169a99[_0x37165c(0x23d)]=_0x1201c8,_0x169a99['_closeCode']=_0x37a4d1,_0x169a99[_0x37165c(0x287)][_0x3ef826]!==void 0x0&&(_0x169a99[_0x37165c(0x287)][_0x37165c(0x1c4)]('data',_0x4498b8),process['nextTick'](_0x1157a2,_0x169a99['_socket']),_0x37a4d1===0x3ed?_0x169a99['close']():_0x169a99['close'](_0x37a4d1,_0x1201c8));}function _0x31b840(){const _0x219cd2=_0x24e587,_0x1bbfd4=this[_0x3ef826];_0x1bbfd4[_0x219cd2(0x325)]||_0x1bbfd4[_0x219cd2(0x287)][_0x219cd2(0x2f3)]();}function _0x53f556(_0x2289e2){const _0x4e0a4b=_0x24e587,_0xd78582=this[_0x3ef826];_0xd78582['_socket'][_0x3ef826]!==void 0x0&&(_0xd78582[_0x4e0a4b(0x287)][_0x4e0a4b(0x1c4)](_0x4e0a4b(0x313),_0x4498b8),process['nextTick'](_0x1157a2,_0xd78582[_0x4e0a4b(0x287)]),_0xd78582['close'](_0x2289e2[_0x1a757f])),_0xd78582[_0x4e0a4b(0x257)]||(_0xd78582['_errorEmitted']=!0x0,_0xd78582[_0x4e0a4b(0x24d)](_0x4e0a4b(0x2a4),_0x2289e2));}function _0x1b5b99(){const _0x2067c3=_0x24e587;this[_0x3ef826][_0x2067c3(0x1f7)]();}function _0x38038c(_0x5919a7,_0x4fd476){const _0x124b36=_0x24e587;this[_0x3ef826][_0x124b36(0x24d)](_0x124b36(0x2ed),_0x5919a7,_0x4fd476);}function _0x5dceea(_0x42bd70){const _0x46e0fb=_0x24e587,_0x1ad537=this[_0x3ef826];_0x1ad537['_autoPong']&&_0x1ad537['pong'](_0x42bd70,!this[_0x46e0fb(0x2cb)],_0x375ddf),_0x1ad537[_0x46e0fb(0x24d)]('ping',_0x42bd70);}function _0x17d140(_0x1d39c5){const _0x3e252e=_0x24e587;this[_0x3ef826][_0x3e252e(0x24d)]('pong',_0x1d39c5);}function _0x1157a2(_0x559c88){const _0x1825ce=_0x24e587;_0x559c88[_0x1825ce(0x2f3)]();}function _0x1d64a3(_0x1edae1){const _0x420f9d=_0x24e587,_0x2c20da=this[_0x3ef826];_0x2c20da[_0x420f9d(0x219)]!==_0x46e647['CLOSED']&&(_0x2c20da['readyState']===_0x46e647[_0x420f9d(0x25e)]&&(_0x2c20da[_0x420f9d(0x1e1)]=_0x46e647[_0x420f9d(0x261)],_0x3ed360(_0x2c20da)),this[_0x420f9d(0x287)]['end'](),_0x2c20da[_0x420f9d(0x257)]||(_0x2c20da[_0x420f9d(0x257)]=!0x0,_0x2c20da[_0x420f9d(0x24d)](_0x420f9d(0x2a4),_0x1edae1)));}function _0x3ed360(_0x146c3b){const _0x521c01=_0x24e587;_0x146c3b['_closeTimer']=setTimeout(_0x146c3b['_socket'][_0x521c01(0x245)][_0x521c01(0x345)](_0x146c3b[_0x521c01(0x287)]),_0x15a006);}function _0x3958e3(){const _0x22d288=_0x24e587,_0x49ea40=this[_0x3ef826];this['removeListener'](_0x22d288(0x1b7),_0x3958e3),this[_0x22d288(0x1c4)](_0x22d288(0x313),_0x4498b8),this[_0x22d288(0x1c4)](_0x22d288(0x20f),_0xaaa3a1),_0x49ea40[_0x22d288(0x1e1)]=_0x46e647[_0x22d288(0x261)];let _0x23e85b;!this[_0x22d288(0x30e)]['endEmitted']&&!_0x49ea40['_closeFrameReceived']&&!_0x49ea40[_0x22d288(0x2c7)][_0x22d288(0x33a)]['errorEmitted']&&(_0x23e85b=_0x49ea40[_0x22d288(0x287)][_0x22d288(0x200)]())!==null&&_0x49ea40[_0x22d288(0x2c7)][_0x22d288(0x320)](_0x23e85b),_0x49ea40[_0x22d288(0x2c7)]['end'](),this[_0x3ef826]=void 0x0,clearTimeout(_0x49ea40['_closeTimer']),_0x49ea40['_receiver'][_0x22d288(0x33a)][_0x22d288(0x353)]||_0x49ea40[_0x22d288(0x2c7)][_0x22d288(0x33a)][_0x22d288(0x26e)]?_0x49ea40[_0x22d288(0x1f7)]():(_0x49ea40[_0x22d288(0x2c7)]['on']('error',_0x1b5b99),_0x49ea40[_0x22d288(0x2c7)]['on'](_0x22d288(0x285),_0x1b5b99));}function _0x4498b8(_0x3cf974){const _0x11a0e5=_0x24e587;this[_0x3ef826][_0x11a0e5(0x2c7)]['write'](_0x3cf974)||this[_0x11a0e5(0x1f2)]();}function _0xaaa3a1(){const _0x3a6c21=_0x24e587,_0x1e7cc1=this[_0x3ef826];_0x1e7cc1[_0x3a6c21(0x1e1)]=_0x46e647[_0x3a6c21(0x261)],_0x1e7cc1[_0x3a6c21(0x2c7)][_0x3a6c21(0x20f)](),this['end']();}function _0x5ad7b5(){const _0x38baf4=_0x24e587,_0x3a057b=this[_0x3ef826];this[_0x38baf4(0x1c4)]('error',_0x5ad7b5),this['on']('error',_0x375ddf),_0x3a057b&&(_0x3a057b[_0x38baf4(0x1e1)]=_0x46e647[_0x38baf4(0x261)],this[_0x38baf4(0x245)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2541c2}=_0x4f4a3d;function _0x3a60e0(_0x419dd9){const _0x21f76a=_0x3fcb;_0x419dd9[_0x21f76a(0x24d)](_0x21f76a(0x1b7));}function _0x5f4ab1(){const _0x5f4f54=_0x3fcb;!this[_0x5f4f54(0x247)]&&this[_0x5f4f54(0x33a)][_0x5f4f54(0x353)]&&this['destroy']();}function _0x2f8151(_0x4b1a6c){const _0x1e6752=_0x3fcb;this[_0x1e6752(0x1c4)](_0x1e6752(0x2a4),_0x2f8151),this[_0x1e6752(0x245)](),this[_0x1e6752(0x1d0)]('error')===0x0&&this['emit']('error',_0x4b1a6c);}function _0x4d11ae(_0x18cce4,_0x2896d1){const _0x22192e=_0x3fcb;let _0x53e704=!0x0;const _0x1d5946=new _0x2541c2({..._0x2896d1,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x18cce4['on']('message',function(_0x573eea,_0x1b0a47){const _0x4e6a3c=_0x3fcb,_0xea1514=!_0x1b0a47&&_0x1d5946[_0x4e6a3c(0x30e)][_0x4e6a3c(0x217)]?_0x573eea[_0x4e6a3c(0x291)]():_0x573eea;_0x1d5946[_0x4e6a3c(0x1fc)](_0xea1514)||_0x18cce4[_0x4e6a3c(0x1f2)]();}),_0x18cce4['once'](_0x22192e(0x2a4),function(_0x1b03d5){const _0x4b6f7e=_0x22192e;_0x1d5946[_0x4b6f7e(0x247)]||(_0x53e704=!0x1,_0x1d5946[_0x4b6f7e(0x245)](_0x1b03d5));}),_0x18cce4[_0x22192e(0x351)](_0x22192e(0x1b7),function(){const _0x54959e=_0x22192e;_0x1d5946[_0x54959e(0x247)]||_0x1d5946[_0x54959e(0x1fc)](null);}),_0x1d5946[_0x22192e(0x334)]=function(_0xc98172,_0x505856){const _0x123db4=_0x22192e;if(_0x18cce4[_0x123db4(0x219)]===_0x18cce4['CLOSED']){_0x505856(_0xc98172),process[_0x123db4(0x24e)](_0x3a60e0,_0x1d5946);return;}let _0x436620=!0x1;_0x18cce4[_0x123db4(0x351)](_0x123db4(0x2a4),function(_0x5f1d9f){_0x436620=!0x0,_0x505856(_0x5f1d9f);}),_0x18cce4[_0x123db4(0x351)]('close',function(){const _0xb53b93=_0x123db4;_0x436620||_0x505856(_0xc98172),process[_0xb53b93(0x24e)](_0x3a60e0,_0x1d5946);}),_0x53e704&&_0x18cce4[_0x123db4(0x343)]();},_0x1d5946[_0x22192e(0x226)]=function(_0x48ab88){const _0xee362a=_0x22192e;if(_0x18cce4[_0xee362a(0x219)]===_0x18cce4[_0xee362a(0x29f)]){_0x18cce4['once'](_0xee362a(0x331),function(){const _0x19af81=_0xee362a;_0x1d5946[_0x19af81(0x226)](_0x48ab88);});return;}_0x18cce4[_0xee362a(0x287)]!==null&&(_0x18cce4[_0xee362a(0x287)][_0xee362a(0x33a)][_0xee362a(0x353)]?(_0x48ab88(),_0x1d5946[_0xee362a(0x30e)]['endEmitted']&&_0x1d5946[_0xee362a(0x245)]()):(_0x18cce4[_0xee362a(0x287)][_0xee362a(0x351)](_0xee362a(0x285),function(){_0x48ab88();}),_0x18cce4['close']()));},_0x1d5946[_0x22192e(0x1e8)]=function(){const _0x4dd733=_0x22192e;_0x18cce4[_0x4dd733(0x325)]&&_0x18cce4[_0x4dd733(0x2f3)]();},_0x1d5946['_write']=function(_0x1280a0,_0x2a7c82,_0x4b88c8){const _0x3f20d0=_0x22192e;if(_0x18cce4[_0x3f20d0(0x219)]===_0x18cce4[_0x3f20d0(0x29f)]){_0x18cce4['once'](_0x3f20d0(0x331),function(){const _0x4edd64=_0x3f20d0;_0x1d5946[_0x4edd64(0x2b7)](_0x1280a0,_0x2a7c82,_0x4b88c8);});return;}_0x18cce4['send'](_0x1280a0,_0x4b88c8);},_0x1d5946['on'](_0x22192e(0x20f),_0x5f4ab1),_0x1d5946['on'](_0x22192e(0x2a4),_0x2f8151),_0x1d5946;}return Oe=_0x4d11ae,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);function _0x1264(){const _0x1021fe=['WS_ERR_INVALID_CLOSE_CODE','uncork','fragments','upgrade','wsClientError','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_readyState','alloc','compress','hasOwnProperty','Unexpected\x20server\x20response:\x20','File','kCode','_read','options','enqueue','kTarget','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','setSocket','clientMaxWindowBits','Sec-WebSocket-Accept:\x20','cork','call','pause','from','_errored','test','_originalSecure','emitClose','arrayBuffer','Upgrade:\x20websocket','server_max_window_bits','_queue','push','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_payloadLength','fin','read','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','onerror','getPayloadLength64','_inflate','extensionName','charCodeAt','sec-websocket-extensions','concurrencyLimit','href','callback','text/plain','concurrency','The\x20server\x20is\x20not\x20running','ping','end','_generateMask','offer','controlMessage','_protocol','protocolVersion','invalid\x20UTF-8\x20sequence','createInflateRaw','objectMode','unmask','readyState','origin','_req','_closeFrameSent','STATUS_CODES','pong','apply','isArray','Server\x20sent\x20no\x20subprotocol','Sec-WebSocket-Extensions','dataMessage','setHeader','delete','_final','897418LUMjVN','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','8998486MzohFQ','createConnection','removeEventListener','Sec-WebSocket-Extensions:\x20','address','toStringTag','add','handleEvent','_bufferedAmount','wss:','sendFrame','_opcode','byteLength','readUInt16BE','verifyClient','kReason','CLOSED','sec-websocket-accept','find','client_no_context_takeover','_closeMessage','Invalid\x20Sec-WebSocket-Accept\x20header','prototype','WS_ERR_INVALID_UTF8','getMask','removeAllListeners','flush','object','destroy','The\x20\x22','destroyed','kByteLength','then','buffer','reset','haveLength','emit','nextTick','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','dispatch','_totalPayloadLength','createSocket','maxPayload','onopen','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','digest','_errorEmitted','freeze','getConfig','backlog','__esModule','join','_fragments','OPEN','Parameter\x20\x22','invalid\x20payload\x20length\x20','CLOSING','Unknown\x20parameter\x20\x22','writeHead','threshold','defaultPort','server','authorized','_closeCode','readOnly','\x22\x20must\x20have\x20only\x20a\x20single\x20value','search','pending','_registerDependencies','errorEmitted','GET','base64','Connection:\x20Upgrade','split','kMessage','request','permessage-deflate','startLoop','writeUInt16BE','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','normalizeParams','pipe','WS_ERR_INVALID_OPCODE','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','WS_ERR_UNEXPECTED_RSV_1','blob','_compressed','decompress','WS_ERR_UNEXPECTED_MASK','forEach','Invalid\x20URL:\x20','parse','finish','drain','_socket','jobs','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_skipUTF8Validation','shouldHandle','\x22\x20subprotocol\x20is\x20duplicated','toLowerCase','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','listen','hostname','toString','target','WebSocket','slice','\x22:\x20','RSV1\x20must\x20be\x20clear','status-code','allowSynchronousEvents','_decompress','Z_SYNC_FLUSH','shift','zlibInflateOptions','_options','_url','CONNECTING','http:','includes','server_no_context_takeover','bufferedAmount','error','handleUpgrade','send','client','HTTP/1.1\x20101\x20Switching\x20Protocols','statusCode','websocket','WS_NO_UTF_8_VALIDATE','_threshold','WS_NO_BUFFER_UTIL','captureStackTrace','13,\x208','_extensions','createDeflateRaw','values','encrypted','_shouldEmitClose','serverMaxWindowBits','path','_write','pluginName','kIsForOnEventAttribute','species','2603802nhCqog','addEventListener','invalid\x20opcode\x20','_configService','has','abort','followRedirects','HTTP/1.1\x20','dispose','_maxPayload','ws:','2611767fOJRPK','_receiver','startsWith','_state','_closeTimer','_isServer','_closeFrameReceived','_deflate','_messageLength','kDone','clientNoContextTakeover','construct','createServer','writable','rsv1','servername','Invalid\x20Sec-WebSocket-Protocol\x20header','connect','nodebuffer','text/html','Sec-WebSocket-Origin','_fragmented','needDrain','conclude','_compress','1584910DxMTyv','Module','update','_originalIpc','_firstFragment','redirect','defineProperty','get','concat','sec-websocket-protocol','5dBtojV','handleProtocols','code','invalid\x20opcode\x200','message','Maximum\x20redirects\x20exceeded','number','headers','invalid\x20status\x20code\x20','_masked','resume','setConfig','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','clients','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','sec-websocket-version','params','2670471IoQQeS','createError','_mask','timeout','method','getBlobData','_no_context_takeover','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Max\x20payload\x20size\x20exceeded','password','frame','map','zlibDeflateOptions','next','autoPong','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','maxRedirects','unexpected-response','username','pathname','_readableState','length','kError','byteOffset','_buffers','data','authorization','finishRequest','pow','format','readUInt32BE','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','serverNoContextTakeover','noServer','Invalid\x20HTTP\x20method','constructor','8tiRrjc','_fin','write','getData','writeUIntBE','keys','_autoPong','isPaused','generateMask','_injector','cookie','set','listeners','host','default','WS_ERR_EXPECTED_FIN','_paused','accept','getInfo','open','extensions','MASK\x20must\x20be\x20clear','_destroy','arraybuffer','acceptAsServer','reason','customHeaders','Basic\x20','_writableState','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','isView','_server','env','Unexpected\x20end\x20of\x20input','socketPath','skipUTF8Validation','terminate','replace','bind','auth','WebSocket\x20is\x20not\x20open:\x20readyState\x20','onStarting','Invalid\x20value\x20for\x20parameter\x20\x22','setTimeout','mask','_binaryType','acceptAsClient','_redirects','consume','create','once','isValidUTF8','finished','isBuffer','indexOf','dequeue','cleanup','wasClean','kData','perMessageDeflate','_httpService','protocol','_sender','getOwnPropertyDescriptor','url','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','stream','Z_DEFAULT_WINDOWBITS','Invalid\x20WebSocket\x20frame:\x20','_removeListeners','readable','socket','exports','_max_window_bits','close','Server\x20sent\x20an\x20invalid\x20subprotocol','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','sec-websocket-key','kListener','string','_originalHostOrSocketPath','kWasClean','Invalid\x20Upgrade\x20header','allocUnsafe','_maskBuffer','binaryType','Sec-WebSocket-Protocol','removeListener','client_max_window_bits','completeUpgrade','isInteger','Unexpected\x20character\x20at\x20index\x20','size','Invalid\x20Sec-WebSocket-Extensions\x20header','_bufferedBytes','clientTracking','entries','listening','_loop','listenerCount','port','unshift','function','_allowSynchronousEvents','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','registerHTTPInterceptor','response','3907512qRfMTF','type'];_0x1264=function(){return _0x1021fe;};return _0x1264();}var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1617df}=ne();function _0x13c3ff(_0x11bcd8){const _0x5432f0=_0x3fcb,_0x51603d=new Set();let _0x38be05=-0x1,_0x50cab6=-0x1,_0x3bb54f=0x0;for(_0x3bb54f;_0x3bb54f<_0x11bcd8['length'];_0x3bb54f++){const _0x33ca5a=_0x11bcd8['charCodeAt'](_0x3bb54f);if(_0x50cab6===-0x1&&_0x1617df[_0x33ca5a]===0x1)_0x38be05===-0x1&&(_0x38be05=_0x3bb54f);else{if(_0x3bb54f!==0x0&&(_0x33ca5a===0x20||_0x33ca5a===0x9))_0x50cab6===-0x1&&_0x38be05!==-0x1&&(_0x50cab6=_0x3bb54f);else{if(_0x33ca5a===0x2c){if(_0x38be05===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bb54f);_0x50cab6===-0x1&&(_0x50cab6=_0x3bb54f);const _0x5f34bb=_0x11bcd8['slice'](_0x38be05,_0x50cab6);if(_0x51603d['has'](_0x5f34bb))throw new SyntaxError(_0x5432f0(0x246)+_0x5f34bb+_0x5432f0(0x28c));_0x51603d[_0x5432f0(0x22f)](_0x5f34bb),_0x38be05=_0x50cab6=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3bb54f);}}}if(_0x38be05===-0x1||_0x50cab6!==-0x1)throw new SyntaxError(_0x5432f0(0x340));const _0x4a75a4=_0x11bcd8[_0x5432f0(0x294)](_0x38be05,_0x3bb54f);if(_0x51603d[_0x5432f0(0x2bf)](_0x4a75a4))throw new SyntaxError(_0x5432f0(0x246)+_0x4a75a4+_0x5432f0(0x28c));return _0x51603d['add'](_0x4a75a4),_0x51603d;}return Ce={'parse':_0x13c3ff},Ce;}var Te,ot;function er(){const _0x15ff41=_0x408f5d;if(ot)return Te;ot=0x1;const _0x2e4a86=_0x1a5a01,_0x502a12=_0x2983a2,{Duplex:_0x3ef1a7}=_0x4f4a3d,{createHash:_0x1b6354}=_0x4c0806,_0x38c4ed=pt(),_0xf9decd=he(),_0x2d8f08=Jt(),_0x177fb8=Ie(),{GUID:_0x118bab,kWebSocket:_0x1fe338}=V(),_0x41254b=/^[+/0-9A-Za-z]{22}==$/,_0x3e4121=0x0,_0x49ac50=0x1,_0x5a6770=0x2;class _0x11a5e4 extends _0x2e4a86{constructor(_0x1a3a19,_0x519aad){const _0x38e78d=_0x3fcb;if(super(),_0x1a3a19={'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':_0x177fb8,..._0x1a3a19},_0x1a3a19[_0x38e78d(0x1d1)]==null&&!_0x1a3a19[_0x38e78d(0x266)]&&!_0x1a3a19[_0x38e78d(0x31b)]||_0x1a3a19[_0x38e78d(0x1d1)]!=null&&(_0x1a3a19[_0x38e78d(0x266)]||_0x1a3a19[_0x38e78d(0x31b)])||_0x1a3a19[_0x38e78d(0x266)]&&_0x1a3a19[_0x38e78d(0x31b)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x1a3a19[_0x38e78d(0x1d1)]!=null?(this[_0x38e78d(0x33e)]=_0x502a12[_0x38e78d(0x2d2)]((_0x2e54b6,_0x5856a3)=>{const _0x4e98ed=_0x38e78d,_0x539e95=_0x502a12[_0x4e98ed(0x21d)][0x1aa];_0x5856a3[_0x4e98ed(0x263)](0x1aa,{'Content-Length':_0x539e95['length'],'Content-Type':_0x4e98ed(0x20b)}),_0x5856a3['end'](_0x539e95);}),this[_0x38e78d(0x33e)][_0x38e78d(0x28f)](_0x1a3a19[_0x38e78d(0x1d1)],_0x1a3a19[_0x38e78d(0x32b)],_0x1a3a19[_0x38e78d(0x25a)],_0x519aad)):_0x1a3a19[_0x38e78d(0x266)]&&(this[_0x38e78d(0x33e)]=_0x1a3a19['server']),this[_0x38e78d(0x33e)]){const _0x10ff5b=this[_0x38e78d(0x24d)]['bind'](this,'connection');this[_0x38e78d(0x1b2)]=_0x467bd6(this['_server'],{'listening':this['emit']['bind'](this,_0x38e78d(0x1ce)),'error':this['emit'][_0x38e78d(0x345)](this,_0x38e78d(0x2a4)),'upgrade':(_0xde03ea,_0x2c4a26,_0x5a8f70)=>{const _0x25658e=_0x38e78d;this[_0x25658e(0x2a5)](_0xde03ea,_0x2c4a26,_0x5a8f70,_0x10ff5b);}});}_0x1a3a19[_0x38e78d(0x35a)]===!0x0&&(_0x1a3a19[_0x38e78d(0x35a)]={}),_0x1a3a19[_0x38e78d(0x1cc)]&&(this[_0x38e78d(0x2f6)]=new Set(),this[_0x38e78d(0x2b4)]=!0x1),this[_0x38e78d(0x1e9)]=_0x1a3a19,this[_0x38e78d(0x2c9)]=_0x3e4121;}[_0x15ff41(0x22d)](){const _0x50ad96=_0x15ff41;if(this[_0x50ad96(0x1e9)][_0x50ad96(0x31b)])throw new Error(_0x50ad96(0x1ec));return this[_0x50ad96(0x33e)]?this[_0x50ad96(0x33e)][_0x50ad96(0x22d)]():null;}[_0x15ff41(0x1b7)](_0x385dc0){const _0xb03855=_0x15ff41;if(this['_state']===_0x5a6770){_0x385dc0&&this[_0xb03855(0x351)](_0xb03855(0x1b7),()=>{const _0x21f25d=_0xb03855;_0x385dc0(new Error(_0x21f25d(0x20d)));}),process[_0xb03855(0x24e)](_0x5878ff,this);return;}if(_0x385dc0&&this[_0xb03855(0x351)]('close',_0x385dc0),this[_0xb03855(0x2c9)]!==_0x49ac50){if(this[_0xb03855(0x2c9)]=_0x49ac50,this[_0xb03855(0x1e9)][_0xb03855(0x31b)]||this[_0xb03855(0x1e9)]['server'])this[_0xb03855(0x33e)]&&(this[_0xb03855(0x1b2)](),this[_0xb03855(0x1b2)]=this[_0xb03855(0x33e)]=null),this['clients']?this[_0xb03855(0x2f6)][_0xb03855(0x1c9)]?this[_0xb03855(0x2b4)]=!0x0:process['nextTick'](_0x5878ff,this):process[_0xb03855(0x24e)](_0x5878ff,this);else{const _0x29aa9c=this[_0xb03855(0x33e)];this['_removeListeners'](),this['_removeListeners']=this[_0xb03855(0x33e)]=null,_0x29aa9c['close'](()=>{_0x5878ff(this);});}}}[_0x15ff41(0x28b)](_0x412096){const _0x5a9692=_0x15ff41;if(this[_0x5a9692(0x1e9)][_0x5a9692(0x2b6)]){const _0x452661=_0x412096[_0x5a9692(0x35f)][_0x5a9692(0x355)]('?');if((_0x452661!==-0x1?_0x412096['url'][_0x5a9692(0x294)](0x0,_0x452661):_0x412096[_0x5a9692(0x35f)])!==this[_0x5a9692(0x1e9)][_0x5a9692(0x2b6)])return!0x1;}return!0x0;}['handleUpgrade'](_0x87996f,_0x62930f,_0x46d8f8,_0x94a701){const _0x1a7f17=_0x15ff41;_0x62930f['on']('error',_0x4e9953);const _0x29207c=_0x87996f[_0x1a7f17(0x2f0)][_0x1a7f17(0x1ba)],_0x371908=_0x87996f[_0x1a7f17(0x2f0)][_0x1a7f17(0x1de)],_0x1d247b=+_0x87996f[_0x1a7f17(0x2f0)][_0x1a7f17(0x2f8)];if(_0x87996f[_0x1a7f17(0x2fe)]!==_0x1a7f17(0x26f)){_0x9864e(this,_0x87996f,_0x62930f,0x195,_0x1a7f17(0x31c));return;}if(_0x371908===void 0x0||_0x371908['toLowerCase']()!==_0x1a7f17(0x2aa)){_0x9864e(this,_0x87996f,_0x62930f,0x190,_0x1a7f17(0x1bf));return;}if(_0x29207c===void 0x0||!_0x41254b['test'](_0x29207c)){_0x9864e(this,_0x87996f,_0x62930f,0x190,_0x1a7f17(0x33b));return;}if(_0x1d247b!==0xd&&_0x1d247b!==0x8){_0x9864e(this,_0x87996f,_0x62930f,0x190,_0x1a7f17(0x2f5),{'Sec-WebSocket-Version':_0x1a7f17(0x2af)});return;}if(!this[_0x1a7f17(0x28b)](_0x87996f)){_0x15ec74(_0x62930f,0x190);return;}const _0x1206d0=_0x87996f[_0x1a7f17(0x2f0)]['sec-websocket-protocol'];let _0x186063=new Set();if(_0x1206d0!==void 0x0)try{_0x186063=_0x2d8f08[_0x1a7f17(0x284)](_0x1206d0);}catch{_0x9864e(this,_0x87996f,_0x62930f,0x190,_0x1a7f17(0x2d6));return;}const _0x32d5e0=_0x87996f['headers'][_0x1a7f17(0x207)],_0x204448={};if(this[_0x1a7f17(0x1e9)]['perMessageDeflate']&&_0x32d5e0!==void 0x0){const _0x4bb59e=new _0xf9decd(this['options'][_0x1a7f17(0x35a)],!0x0,this[_0x1a7f17(0x1e9)][_0x1a7f17(0x253)]);try{const _0x3ff348=_0x38c4ed['parse'](_0x32d5e0);_0x3ff348[_0xf9decd[_0x1a7f17(0x205)]]&&(_0x4bb59e[_0x1a7f17(0x32f)](_0x3ff348[_0xf9decd[_0x1a7f17(0x205)]]),_0x204448[_0xf9decd[_0x1a7f17(0x205)]]=_0x4bb59e);}catch{_0x9864e(this,_0x87996f,_0x62930f,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x1a7f17(0x1e9)][_0x1a7f17(0x237)]){const _0x552100={'origin':_0x87996f[_0x1a7f17(0x2f0)][''+(_0x1d247b===0x8?'sec-websocket-origin':_0x1a7f17(0x21a))],'secure':!!(_0x87996f[_0x1a7f17(0x1b4)][_0x1a7f17(0x267)]||_0x87996f[_0x1a7f17(0x1b4)][_0x1a7f17(0x2b3)]),'req':_0x87996f};if(this[_0x1a7f17(0x1e9)][_0x1a7f17(0x237)][_0x1a7f17(0x30f)]===0x2){this[_0x1a7f17(0x1e9)][_0x1a7f17(0x237)](_0x552100,(_0x444ff4,_0x47e81b,_0x5b3ed5,_0x5defe4)=>{if(!_0x444ff4)return _0x15ec74(_0x62930f,_0x47e81b||0x191,_0x5b3ed5,_0x5defe4);this['completeUpgrade'](_0x204448,_0x29207c,_0x186063,_0x87996f,_0x62930f,_0x46d8f8,_0x94a701);});return;}if(!this[_0x1a7f17(0x1e9)][_0x1a7f17(0x237)](_0x552100))return _0x15ec74(_0x62930f,0x191);}this[_0x1a7f17(0x1c6)](_0x204448,_0x29207c,_0x186063,_0x87996f,_0x62930f,_0x46d8f8,_0x94a701);}['completeUpgrade'](_0x17155f,_0x2d5965,_0x35958c,_0x203b3a,_0x2cdf06,_0x3cb492,_0x222b0e){const _0x46b57d=_0x15ff41;if(!_0x2cdf06[_0x46b57d(0x1b3)]||!_0x2cdf06[_0x46b57d(0x2d3)])return _0x2cdf06[_0x46b57d(0x245)]();if(_0x2cdf06[_0x1fe338])throw new Error(_0x46b57d(0x309));if(this[_0x46b57d(0x2c9)]>_0x3e4121)return _0x15ec74(_0x2cdf06,0x1f7);const _0x822b5f=[_0x46b57d(0x2a8),_0x46b57d(0x1f9),_0x46b57d(0x271),_0x46b57d(0x1ef)+_0x1b6354('sha1')[_0x46b57d(0x2e1)](_0x2d5965+_0x118bab)[_0x46b57d(0x256)](_0x46b57d(0x270))],_0x80ec75=new this[(_0x46b57d(0x1e9))][(_0x46b57d(0x293))](null,void 0x0,this['options']);if(_0x35958c[_0x46b57d(0x1c9)]){const _0x3ce1bf=this[_0x46b57d(0x1e9)][_0x46b57d(0x2ea)]?this['options']['handleProtocols'](_0x35958c,_0x203b3a):_0x35958c[_0x46b57d(0x2b2)]()[_0x46b57d(0x307)]()['value'];_0x3ce1bf&&(_0x822b5f[_0x46b57d(0x1fc)]('Sec-WebSocket-Protocol:\x20'+_0x3ce1bf),_0x80ec75[_0x46b57d(0x213)]=_0x3ce1bf);}if(_0x17155f[_0xf9decd[_0x46b57d(0x205)]]){const _0x12cc9e=_0x17155f[_0xf9decd[_0x46b57d(0x205)]][_0x46b57d(0x2f9)],_0x4a68ac=_0x38c4ed[_0x46b57d(0x317)]({[_0xf9decd[_0x46b57d(0x205)]]:[_0x12cc9e]});_0x822b5f['push'](_0x46b57d(0x22c)+_0x4a68ac),_0x80ec75[_0x46b57d(0x2b0)]=_0x17155f;}this['emit'](_0x46b57d(0x2f0),_0x822b5f,_0x203b3a),_0x2cdf06[_0x46b57d(0x320)](_0x822b5f[_0x46b57d(0x2e7)]('\x0d\x0a')['join']('\x0d\x0a')),_0x2cdf06[_0x46b57d(0x1c4)](_0x46b57d(0x2a4),_0x4e9953),_0x80ec75['setSocket'](_0x2cdf06,_0x3cb492,{'allowSynchronousEvents':this['options'][_0x46b57d(0x298)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x46b57d(0x1e9)][_0x46b57d(0x342)]}),this[_0x46b57d(0x2f6)]&&(this['clients']['add'](_0x80ec75),_0x80ec75['on'](_0x46b57d(0x1b7),()=>{const _0x265291=_0x46b57d;this['clients'][_0x265291(0x225)](_0x80ec75),this[_0x265291(0x2b4)]&&!this['clients'][_0x265291(0x1c9)]&&process[_0x265291(0x24e)](_0x5878ff,this);})),_0x222b0e(_0x80ec75,_0x203b3a);}}Te=_0x11a5e4;function _0x467bd6(_0x2556b3,_0x19b78c){const _0x496554=_0x15ff41;for(const _0x30f862 of Object[_0x496554(0x323)](_0x19b78c))_0x2556b3['on'](_0x30f862,_0x19b78c[_0x30f862]);return function(){const _0x481c11=_0x496554;for(const _0x1fed23 of Object[_0x481c11(0x323)](_0x19b78c))_0x2556b3[_0x481c11(0x1c4)](_0x1fed23,_0x19b78c[_0x1fed23]);};}function _0x5878ff(_0x297ed3){const _0x46d873=_0x15ff41;_0x297ed3['_state']=_0x5a6770,_0x297ed3[_0x46d873(0x24d)](_0x46d873(0x1b7));}function _0x4e9953(){const _0x8b8496=_0x15ff41;this[_0x8b8496(0x245)]();}function _0x15ec74(_0x365c99,_0x55b6ff,_0xe8ed71,_0x2ff210){const _0x16792a=_0x15ff41;_0xe8ed71=_0xe8ed71||_0x502a12[_0x16792a(0x21d)][_0x55b6ff],_0x2ff210={'Connection':_0x16792a(0x1b7),'Content-Type':_0x16792a(0x2d9),'Content-Length':Buffer[_0x16792a(0x235)](_0xe8ed71),..._0x2ff210},_0x365c99[_0x16792a(0x351)](_0x16792a(0x285),_0x365c99[_0x16792a(0x245)]),_0x365c99[_0x16792a(0x20f)](_0x16792a(0x2c2)+_0x55b6ff+'\x20'+_0x502a12[_0x16792a(0x21d)][_0x55b6ff]+'\x0d\x0a'+Object['keys'](_0x2ff210)['map'](_0x3c10a9=>_0x3c10a9+':\x20'+_0x2ff210[_0x3c10a9])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0xe8ed71);}function _0x9864e(_0x39a940,_0xde61d9,_0x31f58a,_0x335ebf,_0x2163b5,_0x479986){const _0x243ce4=_0x15ff41;if(_0x39a940[_0x243ce4(0x1d0)](_0x243ce4(0x1df))){const _0x4dcc17=new Error(_0x2163b5);Error[_0x243ce4(0x2ae)](_0x4dcc17,_0x9864e),_0x39a940[_0x243ce4(0x24d)](_0x243ce4(0x1df),_0x4dcc17,_0x31f58a,_0xde61d9);}else _0x15ec74(_0x31f58a,_0x335ebf,_0x2163b5,_0x479986);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x4009af,_0x49139e,_0x4b6df7,_0x14b769)=>{const _0x4b8475=_0x408f5d;for(var _0x392395=_0x14b769>0x1?void 0x0:_0x14b769?tr(_0x49139e,_0x4b6df7):_0x49139e,_0x14a387=_0x4009af[_0x4b8475(0x30f)]-0x1,_0x146bdb;_0x14a387>=0x0;_0x14a387--)(_0x146bdb=_0x4009af[_0x14a387])&&(_0x392395=_0x146bdb(_0x392395)||_0x392395);return _0x392395;},sr=(_0x2124e5,_0x280425)=>(_0x18edfd,_0x49ad28)=>_0x280425(_0x18edfd,_0x49ad28,_0x2124e5);let Ne=class extends _0x43d457{constructor(_0x1dccde){const _0x192545=_0x408f5d;super(),this[_0x192545(0x2be)]=_0x1dccde;}['createSocket'](_0x208b7d){const _0x518048=_0x408f5d;var _0x45bd4d;const _0x5541ac=(_0x45bd4d=this[_0x518048(0x2be)][_0x518048(0x259)](Be))==null?void 0x0:_0x45bd4d['customHeaders'];try{const _0x37cd71=new Qt(_0x208b7d,{'headers':{..._0x5541ac}}),_0xaadd79=new _0x1acba3();return{'URL':_0x208b7d,'close':(_0x91fe54,_0x2804ed)=>{const _0x5bd9f9=_0x518048;_0x37cd71[_0x5bd9f9(0x1b7)](_0x91fe54,_0x2804ed),_0xaadd79[_0x5bd9f9(0x2c3)]();},'send':_0x5d5fd0=>{_0x37cd71['send'](_0x5d5fd0);},'open$':new _0xed7b79(_0x1ef316=>{const _0x470f9e=_0x518048,_0xd5b6d3=_0x3633f9=>_0x1ef316[_0x470f9e(0x307)](_0x3633f9);_0x37cd71[_0x470f9e(0x2bc)]('open',_0xd5b6d3),_0xaadd79[_0x470f9e(0x22f)](_0x2e6fb8(()=>_0x37cd71['removeEventListener']('open',_0xd5b6d3)));})[_0x518048(0x27a)](_0x49ebf7()),'close$':new _0xed7b79(_0x1beafd=>{const _0x4aa159=_0x518048,_0x44f75f=_0x4d195e=>_0x1beafd[_0x4aa159(0x307)](_0x4d195e);_0x37cd71[_0x4aa159(0x2bc)](_0x4aa159(0x1b7),_0x44f75f),_0xaadd79['add'](_0x2e6fb8(()=>_0x37cd71[_0x4aa159(0x22b)]('close',_0x44f75f)));})[_0x518048(0x27a)](_0x49ebf7()),'error$':new _0xed7b79(_0x1fa1c6=>{const _0x3c8e8d=_0x518048,_0x260865=_0x139d86=>_0x1fa1c6[_0x3c8e8d(0x307)](_0x139d86);_0x37cd71[_0x3c8e8d(0x2bc)](_0x3c8e8d(0x2a4),_0x260865),_0xaadd79[_0x3c8e8d(0x22f)](_0x2e6fb8(()=>_0x37cd71[_0x3c8e8d(0x22b)]('error',_0x260865)));})[_0x518048(0x27a)](_0x49ebf7()),'message$':new _0xed7b79(_0x58cce2=>{const _0x1330db=_0x518048,_0x1bb32e=_0x2f13db=>_0x58cce2['next'](_0x2f13db);_0x37cd71[_0x1330db(0x2bc)]('message',_0x1bb32e),_0xaadd79['add'](_0x2e6fb8(()=>_0x37cd71[_0x1330db(0x22b)](_0x1330db(0x2ed),_0x1bb32e)));})[_0x518048(0x27a)](_0x49ebf7())};}catch(_0x184510){return console['error'](_0x184510),null;}}};Ne=rr([sr(0x0,_0x538cab)],Ne);function _0x3fcb(_0x1c5835,_0x594f76){const _0x12648f=_0x1264();return _0x3fcb=function(_0x3fcb0b,_0x4b55fe){_0x3fcb0b=_0x3fcb0b-0x1ae;let _0x4aecb7=_0x12648f[_0x3fcb0b];return _0x4aecb7;},_0x3fcb(_0x1c5835,_0x594f76);}var ir=Object[_0x408f5d(0x2e5)],nr=Object['getOwnPropertyDescriptor'],or=(_0x19209e,_0x41a10b,_0x549245)=>_0x41a10b in _0x19209e?ir(_0x19209e,_0x41a10b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x549245}):_0x19209e[_0x41a10b]=_0x549245,ar=(_0xa7e072,_0x4f0d30,_0x2f7a46,_0x5ce369)=>{const _0x9fa04c=_0x408f5d;for(var _0x3fa712=_0x5ce369>0x1?void 0x0:_0x5ce369?nr(_0x4f0d30,_0x2f7a46):_0x4f0d30,_0x29abe9=_0xa7e072[_0x9fa04c(0x30f)]-0x1,_0x40cbd1;_0x29abe9>=0x0;_0x29abe9--)(_0x40cbd1=_0xa7e072[_0x29abe9])&&(_0x3fa712=_0x40cbd1(_0x3fa712)||_0x3fa712);return _0x3fa712;},ke=(_0x1a0b37,_0xcb9110)=>(_0x226d03,_0x553f2a)=>_0xcb9110(_0x226d03,_0x553f2a,_0x1a0b37),lr=(_0x548742,_0x4dc1bb,_0x4e5a4a)=>or(_0x548742,_0x4dc1bb+'',_0x4e5a4a);let Pe=class extends _0x42f475{constructor(_0x7fcb85=Ft,_0x1ab621,_0x39efa1,_0x1150fa){const _0x554074=_0x408f5d;_0x7fcb85[_0x554074(0x338)]||_0x1ab621['warn'](_0x554074(0x1e0)),super(),this[_0x554074(0x2be)]=_0x39efa1,this[_0x554074(0x327)]=_0x1150fa,this[_0x554074(0x2be)][_0x554074(0x2f4)](Be,_0x7fcb85);}[_0x408f5d(0x348)](){this['_registerDependencies']();}[_0x408f5d(0x26d)](){const _0x40e3aa=_0x408f5d;_0x508cf8(this[_0x40e3aa(0x327)],[[_0x7652a0,{'useClass':Ne}]]);}};lr(Pe,_0x408f5d(0x2b8),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x279def(_0x1c7da6),ke(0x1,_0x4b32a6),ke(0x2,_0x538cab),ke(0x3,_0x50dbd5(_0xf1138))],Pe);var fr=Object[_0x408f5d(0x35e)],cr=(_0x533644,_0x44963e,_0x11e15a,_0x5a54d6)=>{for(var _0xee5e6e=_0x5a54d6>0x1?void 0x0:_0x5a54d6?fr(_0x44963e,_0x11e15a):_0x44963e,_0x5c5074=_0x533644['length']-0x1,_0x3ca874;_0x5c5074>=0x0;_0x5c5074--)(_0x3ca874=_0x533644[_0x5c5074])&&(_0xee5e6e=_0x3ca874(_0xee5e6e)||_0xee5e6e);return _0xee5e6e;},se=(_0xa1b525,_0x118a68)=>(_0x22481c,_0x58b1b6)=>_0x118a68(_0x22481c,_0x58b1b6,_0xa1b525);let at=class extends _0x6555f1{constructor(_0x36bfb4,_0x435124,_0x40e226,_0x2bf3d3,_0x40a6ef){const _0x1752dc=_0x408f5d;super(_0x36bfb4,_0x435124,_0x40e226,_0x2bf3d3,_0x40a6ef);const _0x6252d1=this[_0x1752dc(0x2be)][_0x1752dc(0x259)](Be);this[_0x1752dc(0x35b)][_0x1752dc(0x1d7)]({'interceptor':(_0x9cf71b,_0x4921be)=>{const _0x2deebe=_0x1752dc;var _0x256048;const _0x5f0937=_0x9cf71b['headers'];return(_0x256048=_0x6252d1==null?void 0x0:_0x6252d1[_0x2deebe(0x338)])!=null&&_0x256048[_0x2deebe(0x328)]&&_0x5f0937[_0x2deebe(0x329)]('Cookie',_0x6252d1[_0x2deebe(0x338)]['cookie']),_0x4921be(_0x9cf71b);}});}async[_0x408f5d(0x252)](_0x484884){return this['_doCreateSocket'](_0x484884);}};at=cr([se(0x0,_0x50dbd5(_0xf1138)),se(0x1,_0x50dbd5(_0x136387)),se(0x2,_0x538cab),se(0x3,_0x4b32a6),se(0x4,_0x372fe2)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|