@univerjs-pro/collaboration-client-node 0.6.10-experimental.20250411-055c47d → 0.6.10-experimental.20250418-8830bd4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x298064=_0x5e39;(function(_0xa1c388,_0x58801b){const _0x335a63=_0x5e39,_0x4c1872=_0xa1c388();while(!![]){try{const _0x32f747=-parseInt(_0x335a63(0x1c7))/0x1*(-parseInt(_0x335a63(0x2f4))/0x2)+-parseInt(_0x335a63(0x2d4))/0x3*(-parseInt(_0x335a63(0x33e))/0x4)+-parseInt(_0x335a63(0x31c))/0x5+-parseInt(_0x335a63(0x202))/0x6*(-parseInt(_0x335a63(0x2ee))/0x7)+-parseInt(_0x335a63(0x27b))/0x8*(parseInt(_0x335a63(0x2ff))/0x9)+parseInt(_0x335a63(0x285))/0xa*(parseInt(_0x335a63(0x253))/0xb)+parseInt(_0x335a63(0x1d7))/0xc*(-parseInt(_0x335a63(0x313))/0xd);if(_0x32f747===_0x58801b)break;else _0x4c1872['push'](_0x4c1872['shift']());}catch(_0x59e88d){_0x4c1872['push'](_0x4c1872['shift']());}}}(_0x5f1b,0xeaebd));import{UniverCollaborationClientPlugin as _0x4c7f55,CollaborationSocketService as _0x23b334}from'@univerjs-pro/collaboration-client';import{Disposable as _0x9f2452,DisposableCollection as _0x58b199,toDisposable as _0x392c28,IConfigService as _0x513d33,DependentOn as _0xaf7739,ILogService as _0x1880a1,Inject as _0x5dead2,Injector as _0x44f61c,Plugin as _0x5a43ee,registerDependencies as _0x16e645}from'@univerjs/core';import{ISocketService as _0x1d2dbc,HTTPService as _0x35b122}from'@univerjs/network';import{Observable as _0x32d4ea,share as _0x209594}from'rxjs';import _0x4d817a from'events';import _0x97f83 from'https';import _0x4d0bd4 from'http';import _0x336da7 from'net';import _0x16a380 from'tls';import _0xde823e from'crypto';import _0x86a444 from'stream';import _0x6d7cdc from'url';import _0x2c319a from'zlib';import _0x4e9642 from'buffer';import{ISnapshotServerService as _0x41ce95}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x1b2de2){const _0x5acf28=_0x5e39;return _0x1b2de2&&_0x1b2de2['__esModule']&&Object[_0x5acf28(0x207)][_0x5acf28(0x20c)][_0x5acf28(0x2ad)](_0x1b2de2,'default')?_0x1b2de2['default']:_0x1b2de2;}function ut(_0x4a391f){const _0x4c4ed4=_0x5e39;if(Object[_0x4c4ed4(0x207)]['hasOwnProperty']['call'](_0x4a391f,_0x4c4ed4(0x304)))return _0x4a391f;var _0xdbf457=_0x4a391f[_0x4c4ed4(0x1e3)];if(typeof _0xdbf457=='function'){var _0x496502=function _0x370b98(){const _0x4f7770=_0x4c4ed4;return this instanceof _0x370b98?Reflect[_0x4f7770(0x2b8)](_0xdbf457,arguments,this[_0x4f7770(0x1f9)]):_0xdbf457[_0x4f7770(0x2e4)](this,arguments);};_0x496502[_0x4c4ed4(0x207)]=_0xdbf457[_0x4c4ed4(0x207)];}else _0x496502={};return Object[_0x4c4ed4(0x366)](_0x496502,_0x4c4ed4(0x304),{'value':!0x0}),Object[_0x4c4ed4(0x2f9)](_0x4a391f)['forEach'](function(_0x5d2efa){const _0x1fdfd1=_0x4c4ed4;var _0xd5e53c=Object['getOwnPropertyDescriptor'](_0x4a391f,_0x5d2efa);Object[_0x1fdfd1(0x366)](_0x496502,_0x5d2efa,_0xd5e53c[_0x1fdfd1(0x2fe)]?_0xd5e53c:{'enumerable':!0x0,'get':function(){return _0x4a391f[_0x5d2efa];}});}),_0x496502;}var te={'exports':{}},ge,Ye;function V(){const _0x521939=_0x5e39;if(Ye)return ge;Ye=0x1;const _0x27a8b9=[_0x521939(0x1c3),_0x521939(0x339),_0x521939(0x26c)],_0xb24f75=typeof Blob<'u';return _0xb24f75&&_0x27a8b9[_0x521939(0x353)](_0x521939(0x2c3)),ge={'BINARY_TYPES':_0x27a8b9,'EMPTY_BUFFER':Buffer[_0x521939(0x311)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0xb24f75,'kForOnEventAttribute':Symbol(_0x521939(0x236)),'kListener':Symbol(_0x521939(0x2aa)),'kStatusCode':Symbol(_0x521939(0x1e7)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x298064(0x2fb)](Object[_0x298064(0x366)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x298064(0x1ef)})),Vt=ut(Gt);var Ke;function ce(){const _0x261235=_0x298064;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x309218}=V(),_0x4f0d1d=Buffer[Symbol['species']];function _0x1de6e9(_0x44b963,_0x24a546){const _0x3d6bce=_0x5e39;if(_0x44b963['length']===0x0)return _0x309218;if(_0x44b963[_0x3d6bce(0x324)]===0x1)return _0x44b963[0x0];const _0x4991a8=Buffer[_0x3d6bce(0x30d)](_0x24a546);let _0xee0efa=0x0;for(let _0x263181=0x0;_0x263181<_0x44b963['length'];_0x263181++){const _0xa8a801=_0x44b963[_0x263181];_0x4991a8[_0x3d6bce(0x1c2)](_0xa8a801,_0xee0efa),_0xee0efa+=_0xa8a801[_0x3d6bce(0x324)];}return _0xee0efa<_0x24a546?new _0x4f0d1d(_0x4991a8[_0x3d6bce(0x273)],_0x4991a8[_0x3d6bce(0x329)],_0xee0efa):_0x4991a8;}function _0x519979(_0x22cfff,_0x267531,_0x2d2221,_0x3e9d9a,_0xb42ad9){for(let _0x27f521=0x0;_0x27f521<_0xb42ad9;_0x27f521++)_0x2d2221[_0x3e9d9a+_0x27f521]=_0x22cfff[_0x27f521]^_0x267531[_0x27f521&0x3];}function _0x4c76bb(_0x5487d2,_0x1a28a0){for(let _0x19b9b0=0x0;_0x19b9b0<_0x5487d2['length'];_0x19b9b0++)_0x5487d2[_0x19b9b0]^=_0x1a28a0[_0x19b9b0&0x3];}function _0x4d0801(_0x58234d){const _0x227a91=_0x5e39;return _0x58234d[_0x227a91(0x324)]===_0x58234d[_0x227a91(0x273)][_0x227a91(0x2d8)]?_0x58234d[_0x227a91(0x273)]:_0x58234d[_0x227a91(0x273)][_0x227a91(0x21e)](_0x58234d[_0x227a91(0x329)],_0x58234d['byteOffset']+_0x58234d[_0x227a91(0x324)]);}function _0x46a058(_0x18849a){const _0x493188=_0x5e39;if(_0x46a058[_0x493188(0x221)]=!0x0,Buffer['isBuffer'](_0x18849a))return _0x18849a;let _0x34d72f;return _0x18849a instanceof ArrayBuffer?_0x34d72f=new _0x4f0d1d(_0x18849a):ArrayBuffer[_0x493188(0x231)](_0x18849a)?_0x34d72f=new _0x4f0d1d(_0x18849a['buffer'],_0x18849a['byteOffset'],_0x18849a[_0x493188(0x2d8)]):(_0x34d72f=Buffer[_0x493188(0x232)](_0x18849a),_0x46a058[_0x493188(0x221)]=!0x1),_0x34d72f;}if(te['exports']={'concat':_0x1de6e9,'mask':_0x519979,'toArrayBuffer':_0x4d0801,'toBuffer':_0x46a058,'unmask':_0x4c76bb},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x57431b=Vt;te['exports']['mask']=function(_0xf7dda3,_0x17c1b9,_0x379f23,_0x3857bb,_0x15369a){const _0x168fb3=_0x5e39;_0x15369a<0x30?_0x519979(_0xf7dda3,_0x17c1b9,_0x379f23,_0x3857bb,_0x15369a):_0x57431b[_0x168fb3(0x213)](_0xf7dda3,_0x17c1b9,_0x379f23,_0x3857bb,_0x15369a);},te[_0x261235(0x1fb)][_0x261235(0x1de)]=function(_0x47e68f,_0x44971f){const _0x4ddc8a=_0x261235;_0x47e68f['length']<0x20?_0x4c76bb(_0x47e68f,_0x44971f):_0x57431b[_0x4ddc8a(0x1de)](_0x47e68f,_0x44971f);};}catch{}return te[_0x261235(0x1fb)];}var ye,Xe;function qt(){const _0x37baa4=_0x298064;if(Xe)return ye;Xe=0x1;const _0x26093a=Symbol(_0x37baa4(0x239)),_0x11a509=Symbol(_0x37baa4(0x26b));class _0x38224b{constructor(_0x21f23c){const _0x4bf5b6=_0x37baa4;this[_0x26093a]=()=>{const _0x3a097f=_0x5e39;this[_0x3a097f(0x346)]--,this[_0x11a509]();},this['concurrency']=_0x21f23c||0x1/0x0,this[_0x4bf5b6(0x348)]=[],this[_0x4bf5b6(0x346)]=0x0;}[_0x37baa4(0x367)](_0x456a9d){const _0x1fa227=_0x37baa4;this[_0x1fa227(0x348)][_0x1fa227(0x353)](_0x456a9d),this[_0x11a509]();}[_0x11a509](){const _0x4218cc=_0x37baa4;if(this['pending']!==this[_0x4218cc(0x1e1)]&&this['jobs']['length']){const _0x21735b=this[_0x4218cc(0x348)][_0x4218cc(0x298)]();this[_0x4218cc(0x346)]++,_0x21735b(this[_0x26093a]);}}}return ye=_0x38224b,ye;}var ve,Ze;function he(){const _0x551776=_0x298064;if(Ze)return ve;Ze=0x1;const _0x499886=_0x2c319a,_0x3faf2c=ce(),_0x5ec49e=qt(),{kStatusCode:_0x5f0b0d}=V(),_0x1e0112=Buffer[Symbol[_0x551776(0x235)]],_0x2a7227=Buffer[_0x551776(0x232)]([0x0,0x0,0xff,0xff]),_0x3285ce=Symbol('permessage-deflate'),_0x473a53=Symbol(_0x551776(0x1e8)),_0x231d58=Symbol(_0x551776(0x333)),_0x121270=Symbol(_0x551776(0x229)),_0x425333=Symbol(_0x551776(0x336));let _0x2b2091;class _0x41e478{constructor(_0x12d44d,_0x29435e,_0x34bf63){const _0x59a146=_0x551776;if(this[_0x59a146(0x34c)]=_0x34bf63|0x0,this[_0x59a146(0x2db)]=_0x12d44d||{},this[_0x59a146(0x30e)]=this[_0x59a146(0x2db)]['threshold']!==void 0x0?this['_options'][_0x59a146(0x223)]:0x400,this[_0x59a146(0x33b)]=!!_0x29435e,this[_0x59a146(0x272)]=null,this[_0x59a146(0x224)]=null,this['params']=null,!_0x2b2091){const _0xa39c9e=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x59a146(0x315)]:0xa;_0x2b2091=new _0x5ec49e(_0xa39c9e);}}static get[_0x551776(0x33f)](){const _0x5e5304=_0x551776;return _0x5e5304(0x2da);}[_0x551776(0x222)](){const _0x50ee56=_0x551776,_0x40a779={};return this[_0x50ee56(0x2db)][_0x50ee56(0x344)]&&(_0x40a779[_0x50ee56(0x2fd)]=!0x0),this[_0x50ee56(0x2db)]['clientNoContextTakeover']&&(_0x40a779[_0x50ee56(0x216)]=!0x0),this[_0x50ee56(0x2db)][_0x50ee56(0x30a)]&&(_0x40a779[_0x50ee56(0x358)]=this['_options'][_0x50ee56(0x30a)]),this['_options']['clientMaxWindowBits']?_0x40a779[_0x50ee56(0x201)]=this[_0x50ee56(0x2db)][_0x50ee56(0x247)]:this['_options'][_0x50ee56(0x247)]==null&&(_0x40a779[_0x50ee56(0x201)]=!0x0),_0x40a779;}[_0x551776(0x28c)](_0x4efcbc){const _0x50e347=_0x551776;return _0x4efcbc=this[_0x50e347(0x2cd)](_0x4efcbc),this[_0x50e347(0x2f3)]=this[_0x50e347(0x33b)]?this['acceptAsServer'](_0x4efcbc):this[_0x50e347(0x2ab)](_0x4efcbc),this[_0x50e347(0x2f3)];}[_0x551776(0x36b)](){const _0x375f13=_0x551776;if(this[_0x375f13(0x224)]&&(this[_0x375f13(0x224)][_0x375f13(0x35c)](),this[_0x375f13(0x224)]=null),this[_0x375f13(0x272)]){const _0x3440dd=this[_0x375f13(0x272)][_0x231d58];this[_0x375f13(0x272)]['close'](),this[_0x375f13(0x272)]=null,_0x3440dd&&_0x3440dd(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x551776(0x2ae)](_0x4d22fb){const _0x3ede8a=_0x551776,_0x33bc67=this[_0x3ede8a(0x2db)],_0x521956=_0x4d22fb[_0x3ede8a(0x1b7)](_0x13d1e8=>!(_0x33bc67[_0x3ede8a(0x344)]===!0x1&&_0x13d1e8[_0x3ede8a(0x2fd)]||_0x13d1e8['server_max_window_bits']&&(_0x33bc67['serverMaxWindowBits']===!0x1||typeof _0x33bc67[_0x3ede8a(0x30a)]==_0x3ede8a(0x22f)&&_0x33bc67[_0x3ede8a(0x30a)]>_0x13d1e8[_0x3ede8a(0x358)])||typeof _0x33bc67[_0x3ede8a(0x247)]==_0x3ede8a(0x22f)&&!_0x13d1e8['client_max_window_bits']));if(!_0x521956)throw new Error(_0x3ede8a(0x258));return _0x33bc67['serverNoContextTakeover']&&(_0x521956[_0x3ede8a(0x2fd)]=!0x0),_0x33bc67['clientNoContextTakeover']&&(_0x521956[_0x3ede8a(0x216)]=!0x0),typeof _0x33bc67[_0x3ede8a(0x30a)]==_0x3ede8a(0x22f)&&(_0x521956['server_max_window_bits']=_0x33bc67[_0x3ede8a(0x30a)]),typeof _0x33bc67[_0x3ede8a(0x247)]=='number'?_0x521956['client_max_window_bits']=_0x33bc67[_0x3ede8a(0x247)]:(_0x521956[_0x3ede8a(0x201)]===!0x0||_0x33bc67[_0x3ede8a(0x247)]===!0x1)&&delete _0x521956[_0x3ede8a(0x201)],_0x521956;}[_0x551776(0x2ab)](_0x53eadd){const _0x198a99=_0x551776,_0xa449e6=_0x53eadd[0x0];if(this[_0x198a99(0x2db)][_0x198a99(0x1d2)]===!0x1&&_0xa449e6[_0x198a99(0x216)])throw new Error(_0x198a99(0x32c));if(!_0xa449e6[_0x198a99(0x201)])typeof this[_0x198a99(0x2db)]['clientMaxWindowBits']==_0x198a99(0x22f)&&(_0xa449e6[_0x198a99(0x201)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x198a99(0x2db)][_0x198a99(0x247)]===!0x1||typeof this[_0x198a99(0x2db)]['clientMaxWindowBits']==_0x198a99(0x22f)&&_0xa449e6[_0x198a99(0x201)]>this[_0x198a99(0x2db)][_0x198a99(0x247)])throw new Error(_0x198a99(0x2c4));}return _0xa449e6;}[_0x551776(0x2cd)](_0x5de60a){const _0x490b5b=_0x551776;return _0x5de60a[_0x490b5b(0x1f0)](_0x4ee1a0=>{const _0x5095ea=_0x490b5b;Object[_0x5095ea(0x2f9)](_0x4ee1a0)[_0x5095ea(0x1f0)](_0x1dc1b=>{const _0x32de49=_0x5095ea;let _0x776d24=_0x4ee1a0[_0x1dc1b];if(_0x776d24[_0x32de49(0x324)]>0x1)throw new Error(_0x32de49(0x32f)+_0x1dc1b+_0x32de49(0x2bd));if(_0x776d24=_0x776d24[0x0],_0x1dc1b===_0x32de49(0x201)){if(_0x776d24!==!0x0){const _0x5ecb2a=+_0x776d24;if(!Number['isInteger'](_0x5ecb2a)||_0x5ecb2a<0x8||_0x5ecb2a>0xf)throw new TypeError(_0x32de49(0x270)+_0x1dc1b+_0x32de49(0x368)+_0x776d24);_0x776d24=_0x5ecb2a;}else{if(!this[_0x32de49(0x33b)])throw new TypeError(_0x32de49(0x270)+_0x1dc1b+_0x32de49(0x368)+_0x776d24);}}else{if(_0x1dc1b===_0x32de49(0x358)){const _0x11f3f2=+_0x776d24;if(!Number['isInteger'](_0x11f3f2)||_0x11f3f2<0x8||_0x11f3f2>0xf)throw new TypeError(_0x32de49(0x270)+_0x1dc1b+_0x32de49(0x368)+_0x776d24);_0x776d24=_0x11f3f2;}else{if(_0x1dc1b===_0x32de49(0x216)||_0x1dc1b===_0x32de49(0x2fd)){if(_0x776d24!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1dc1b+_0x32de49(0x368)+_0x776d24);}else throw new Error(_0x32de49(0x246)+_0x1dc1b+'\x22');}}_0x4ee1a0[_0x1dc1b]=_0x776d24;});}),_0x5de60a;}[_0x551776(0x2ea)](_0x2648a7,_0x39d6fb,_0x2bf76c){const _0x6429a9=_0x551776;_0x2b2091[_0x6429a9(0x367)](_0x28560c=>{const _0x24b4c6=_0x6429a9;this[_0x24b4c6(0x290)](_0x2648a7,_0x39d6fb,(_0x2443df,_0x427444)=>{_0x28560c(),_0x2bf76c(_0x2443df,_0x427444);});});}[_0x551776(0x2b7)](_0x4e9bc7,_0x2386f3,_0x55f0f6){const _0x1f7726=_0x551776;_0x2b2091[_0x1f7726(0x367)](_0x52c4dc=>{const _0x1e13ad=_0x1f7726;this[_0x1e13ad(0x212)](_0x4e9bc7,_0x2386f3,(_0x1ccf60,_0x4e941f)=>{_0x52c4dc(),_0x55f0f6(_0x1ccf60,_0x4e941f);});});}[_0x551776(0x290)](_0x227cd5,_0x44bce0,_0x34fffa){const _0x4a9208=_0x551776,_0x45bd6b=this[_0x4a9208(0x33b)]?_0x4a9208(0x327):'server';if(!this[_0x4a9208(0x224)]){const _0x3c0c8f=_0x45bd6b+_0x4a9208(0x23d),_0x50b4b0=typeof this[_0x4a9208(0x2f3)][_0x3c0c8f]!=_0x4a9208(0x22f)?_0x499886[_0x4a9208(0x2e8)]:this['params'][_0x3c0c8f];this[_0x4a9208(0x224)]=_0x499886[_0x4a9208(0x1bc)]({...this[_0x4a9208(0x2db)][_0x4a9208(0x2ef)],'windowBits':_0x50b4b0}),this[_0x4a9208(0x224)][_0x3285ce]=this,this[_0x4a9208(0x224)][_0x473a53]=0x0,this[_0x4a9208(0x224)][_0x121270]=[],this[_0x4a9208(0x224)]['on'](_0x4a9208(0x336),_0x3ba251),this['_inflate']['on'](_0x4a9208(0x2f6),_0x5d7529);}this[_0x4a9208(0x224)][_0x231d58]=_0x34fffa,this[_0x4a9208(0x224)][_0x4a9208(0x1ee)](_0x227cd5),_0x44bce0&&this[_0x4a9208(0x224)][_0x4a9208(0x1ee)](_0x2a7227),this['_inflate']['flush'](()=>{const _0x3970df=_0x4a9208,_0x3adca3=this[_0x3970df(0x224)][_0x425333];if(_0x3adca3){this[_0x3970df(0x224)][_0x3970df(0x35c)](),this['_inflate']=null,_0x34fffa(_0x3adca3);return;}const _0xa5e07e=_0x3faf2c[_0x3970df(0x2c2)](this['_inflate'][_0x121270],this['_inflate'][_0x473a53]);this[_0x3970df(0x224)][_0x3970df(0x2af)][_0x3970df(0x2a6)]?(this[_0x3970df(0x224)]['close'](),this[_0x3970df(0x224)]=null):(this[_0x3970df(0x224)][_0x473a53]=0x0,this['_inflate'][_0x121270]=[],_0x44bce0&&this['params'][_0x45bd6b+_0x3970df(0x32e)]&&this[_0x3970df(0x224)]['reset']()),_0x34fffa(null,_0xa5e07e);});}[_0x551776(0x212)](_0x8bf7b3,_0xe33780,_0x3904e0){const _0x25b04c=_0x551776,_0x85ab0=this[_0x25b04c(0x33b)]?_0x25b04c(0x210):_0x25b04c(0x327);if(!this['_deflate']){const _0x3785a1=_0x85ab0+'_max_window_bits',_0x176774=typeof this['params'][_0x3785a1]!='number'?_0x499886[_0x25b04c(0x2e8)]:this[_0x25b04c(0x2f3)][_0x3785a1];this[_0x25b04c(0x272)]=_0x499886[_0x25b04c(0x1d0)]({...this[_0x25b04c(0x2db)][_0x25b04c(0x1e6)],'windowBits':_0x176774}),this[_0x25b04c(0x272)][_0x473a53]=0x0,this[_0x25b04c(0x272)][_0x121270]=[],this[_0x25b04c(0x272)]['on']('data',_0x275469);}this[_0x25b04c(0x272)][_0x231d58]=_0x3904e0,this['_deflate'][_0x25b04c(0x1ee)](_0x8bf7b3),this['_deflate'][_0x25b04c(0x2fa)](_0x499886['Z_SYNC_FLUSH'],()=>{const _0x419fb2=_0x25b04c;if(!this['_deflate'])return;let _0xa186be=_0x3faf2c['concat'](this['_deflate'][_0x121270],this[_0x419fb2(0x272)][_0x473a53]);_0xe33780&&(_0xa186be=new _0x1e0112(_0xa186be[_0x419fb2(0x273)],_0xa186be[_0x419fb2(0x329)],_0xa186be[_0x419fb2(0x324)]-0x4)),this[_0x419fb2(0x272)][_0x231d58]=null,this['_deflate'][_0x473a53]=0x0,this[_0x419fb2(0x272)][_0x121270]=[],_0xe33780&&this[_0x419fb2(0x2f3)][_0x85ab0+'_no_context_takeover']&&this[_0x419fb2(0x272)]['reset'](),_0x3904e0(null,_0xa186be);});}}ve=_0x41e478;function _0x275469(_0x2aa531){const _0x185ad8=_0x551776;this[_0x121270][_0x185ad8(0x353)](_0x2aa531),this[_0x473a53]+=_0x2aa531[_0x185ad8(0x324)];}function _0x5d7529(_0x3c973c){const _0x29be29=_0x551776;if(this[_0x473a53]+=_0x3c973c[_0x29be29(0x324)],this[_0x3285ce][_0x29be29(0x34c)]<0x1||this[_0x473a53]<=this[_0x3285ce][_0x29be29(0x34c)]){this[_0x121270][_0x29be29(0x353)](_0x3c973c);return;}this[_0x425333]=new RangeError(_0x29be29(0x241)),this[_0x425333][_0x29be29(0x32b)]=_0x29be29(0x22a),this[_0x425333][_0x5f0b0d]=0x3f1,this[_0x29be29(0x30b)](_0x29be29(0x2f6),_0x5d7529),this['reset']();}function _0x3ba251(_0x245d90){const _0x1af9cd=_0x551776;this[_0x3285ce][_0x1af9cd(0x224)]=null,_0x245d90[_0x5f0b0d]=0x3ef,this[_0x231d58](_0x245d90);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x298064(0x2fb)](Object[_0x298064(0x366)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x298064(0x1ef)})),Yt=ut(zt);var Qe;function ne(){const _0x4f8c1c=_0x298064;if(Qe)return re[_0x4f8c1c(0x1fb)];Qe=0x1;const {isUtf8:_0x3006d6}=_0x4e9642,{hasBlob:_0x5e4804}=V(),_0x21f42f=[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 _0x79e224(_0xffb894){return _0xffb894>=0x3e8&&_0xffb894<=0x3f6&&_0xffb894!==0x3ec&&_0xffb894!==0x3ed&&_0xffb894!==0x3ee||_0xffb894>=0xbb8&&_0xffb894<=0x1387;}function _0xa47dd4(_0xd6c103){const _0x4eb37d=_0x4f8c1c,_0x3f50a3=_0xd6c103[_0x4eb37d(0x324)];let _0x217e6c=0x0;for(;_0x217e6c<_0x3f50a3;)if((_0xd6c103[_0x217e6c]&0x80)===0x0)_0x217e6c++;else{if((_0xd6c103[_0x217e6c]&0xe0)===0xc0){if(_0x217e6c+0x1===_0x3f50a3||(_0xd6c103[_0x217e6c+0x1]&0xc0)!==0x80||(_0xd6c103[_0x217e6c]&0xfe)===0xc0)return!0x1;_0x217e6c+=0x2;}else{if((_0xd6c103[_0x217e6c]&0xf0)===0xe0){if(_0x217e6c+0x2>=_0x3f50a3||(_0xd6c103[_0x217e6c+0x1]&0xc0)!==0x80||(_0xd6c103[_0x217e6c+0x2]&0xc0)!==0x80||_0xd6c103[_0x217e6c]===0xe0&&(_0xd6c103[_0x217e6c+0x1]&0xe0)===0x80||_0xd6c103[_0x217e6c]===0xed&&(_0xd6c103[_0x217e6c+0x1]&0xe0)===0xa0)return!0x1;_0x217e6c+=0x3;}else{if((_0xd6c103[_0x217e6c]&0xf8)===0xf0){if(_0x217e6c+0x3>=_0x3f50a3||(_0xd6c103[_0x217e6c+0x1]&0xc0)!==0x80||(_0xd6c103[_0x217e6c+0x2]&0xc0)!==0x80||(_0xd6c103[_0x217e6c+0x3]&0xc0)!==0x80||_0xd6c103[_0x217e6c]===0xf0&&(_0xd6c103[_0x217e6c+0x1]&0xf0)===0x80||_0xd6c103[_0x217e6c]===0xf4&&_0xd6c103[_0x217e6c+0x1]>0x8f||_0xd6c103[_0x217e6c]>0xf4)return!0x1;_0x217e6c+=0x4;}else return!0x1;}}}return!0x0;}function _0x2e2c4f(_0x5c8f76){const _0x365b7c=_0x4f8c1c;return _0x5e4804&&typeof _0x5c8f76==_0x365b7c(0x275)&&typeof _0x5c8f76[_0x365b7c(0x302)]==_0x365b7c(0x250)&&typeof _0x5c8f76[_0x365b7c(0x2b2)]=='string'&&typeof _0x5c8f76[_0x365b7c(0x1eb)]=='function'&&(_0x5c8f76[Symbol[_0x365b7c(0x2ce)]]==='Blob'||_0x5c8f76[Symbol['toStringTag']]===_0x365b7c(0x2c5));}if(re[_0x4f8c1c(0x1fb)]={'isBlob':_0x2e2c4f,'isValidStatusCode':_0x79e224,'isValidUTF8':_0xa47dd4,'tokenChars':_0x21f42f},_0x3006d6)re[_0x4f8c1c(0x1fb)][_0x4f8c1c(0x321)]=function(_0xec314a){const _0x4961fd=_0x4f8c1c;return _0xec314a[_0x4961fd(0x324)]<0x18?_0xa47dd4(_0xec314a):_0x3006d6(_0xec314a);};else{if(!process['env'][_0x4f8c1c(0x2d2)])try{const _0x3d6a4c=Yt;re['exports'][_0x4f8c1c(0x321)]=function(_0x463ad4){const _0x14b196=_0x4f8c1c;return _0x463ad4[_0x14b196(0x324)]<0x20?_0xa47dd4(_0x463ad4):_0x3d6a4c(_0x463ad4);};}catch{}}return re[_0x4f8c1c(0x1fb)];}var Se,Je;function dt(){const _0x4c5dcf=_0x298064;if(Je)return Se;Je=0x1;const {Writable:_0x1c4ddd}=_0x86a444,_0xd8d62b=he(),{BINARY_TYPES:_0x325199,EMPTY_BUFFER:_0x32a45b,kStatusCode:_0x53200e,kWebSocket:_0x12a504}=V(),{concat:_0x39b467,toArrayBuffer:_0x1f61b7,unmask:_0x2b4ee9}=ce(),{isValidStatusCode:_0x120aec,isValidUTF8:_0xfdf9fe}=ne(),_0x387f9b=Buffer[Symbol[_0x4c5dcf(0x235)]],_0x4a7c59=0x0,_0xed6605=0x1,_0x251011=0x2,_0x132779=0x3,_0xbe9dfc=0x4,_0x6eecc8=0x5,_0x3f13a3=0x6;class _0x407a84 extends _0x1c4ddd{constructor(_0xd4487f={}){const _0x4b3139=_0x4c5dcf;super(),this[_0x4b3139(0x2cf)]=_0xd4487f[_0x4b3139(0x1b5)]!==void 0x0?_0xd4487f['allowSynchronousEvents']:!0x0,this['_binaryType']=_0xd4487f[_0x4b3139(0x25a)]||_0x325199[0x0],this['_extensions']=_0xd4487f['extensions']||{},this[_0x4b3139(0x33b)]=!!_0xd4487f[_0x4b3139(0x259)],this[_0x4b3139(0x34c)]=_0xd4487f['maxPayload']|0x0,this[_0x4b3139(0x2de)]=!!_0xd4487f[_0x4b3139(0x36a)],this[_0x12a504]=void 0x0,this['_bufferedBytes']=0x0,this[_0x4b3139(0x219)]=[],this[_0x4b3139(0x2d0)]=!0x1,this['_payloadLength']=0x0,this[_0x4b3139(0x279)]=void 0x0,this[_0x4b3139(0x1c5)]=0x0,this[_0x4b3139(0x1f5)]=!0x1,this[_0x4b3139(0x271)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x4b3139(0x29d)]=0x0,this['_fragments']=[],this[_0x4b3139(0x20a)]=!0x1,this[_0x4b3139(0x365)]=!0x1,this[_0x4b3139(0x1df)]=_0x4a7c59;}[_0x4c5dcf(0x34e)](_0x370064,_0x47afc1,_0x25bd18){const _0x3b9105=_0x4c5dcf;if(this[_0x3b9105(0x361)]===0x8&&this[_0x3b9105(0x1df)]==_0x4a7c59)return _0x25bd18();this[_0x3b9105(0x243)]+=_0x370064[_0x3b9105(0x324)],this[_0x3b9105(0x219)]['push'](_0x370064),this[_0x3b9105(0x1b9)](_0x25bd18);}[_0x4c5dcf(0x24e)](_0x515802){const _0x5c84ef=_0x4c5dcf;if(this[_0x5c84ef(0x243)]-=_0x515802,_0x515802===this[_0x5c84ef(0x219)][0x0]['length'])return this['_buffers'][_0x5c84ef(0x298)]();if(_0x515802<this[_0x5c84ef(0x219)][0x0][_0x5c84ef(0x324)]){const _0x2b78d1=this[_0x5c84ef(0x219)][0x0];return this[_0x5c84ef(0x219)][0x0]=new _0x387f9b(_0x2b78d1[_0x5c84ef(0x273)],_0x2b78d1[_0x5c84ef(0x329)]+_0x515802,_0x2b78d1[_0x5c84ef(0x324)]-_0x515802),new _0x387f9b(_0x2b78d1[_0x5c84ef(0x273)],_0x2b78d1[_0x5c84ef(0x329)],_0x515802);}const _0x578d7b=Buffer[_0x5c84ef(0x30d)](_0x515802);do{const _0x1f3905=this['_buffers'][0x0],_0x591c29=_0x578d7b[_0x5c84ef(0x324)]-_0x515802;_0x515802>=_0x1f3905['length']?_0x578d7b[_0x5c84ef(0x1c2)](this[_0x5c84ef(0x219)][_0x5c84ef(0x298)](),_0x591c29):(_0x578d7b[_0x5c84ef(0x1c2)](new Uint8Array(_0x1f3905[_0x5c84ef(0x273)],_0x1f3905[_0x5c84ef(0x329)],_0x515802),_0x591c29),this[_0x5c84ef(0x219)][0x0]=new _0x387f9b(_0x1f3905[_0x5c84ef(0x273)],_0x1f3905[_0x5c84ef(0x329)]+_0x515802,_0x1f3905[_0x5c84ef(0x324)]-_0x515802)),_0x515802-=_0x1f3905[_0x5c84ef(0x324)];}while(_0x515802>0x0);return _0x578d7b;}[_0x4c5dcf(0x1b9)](_0x3f1e8f){const _0x4fa528=_0x4c5dcf;this['_loop']=!0x0;do switch(this[_0x4fa528(0x1df)]){case _0x4a7c59:this[_0x4fa528(0x350)](_0x3f1e8f);break;case _0xed6605:this[_0x4fa528(0x341)](_0x3f1e8f);break;case _0x251011:this[_0x4fa528(0x2ca)](_0x3f1e8f);break;case _0x132779:this[_0x4fa528(0x28e)]();break;case _0xbe9dfc:this[_0x4fa528(0x291)](_0x3f1e8f);break;case _0x6eecc8:case _0x3f13a3:this['_loop']=!0x1;return;}while(this[_0x4fa528(0x365)]);this[_0x4fa528(0x20a)]||_0x3f1e8f();}[_0x4c5dcf(0x350)](_0x507626){const _0x1975bb=_0x4c5dcf;if(this[_0x1975bb(0x243)]<0x2){this[_0x1975bb(0x365)]=!0x1;return;}const _0x4d3dae=this[_0x1975bb(0x24e)](0x2);if((_0x4d3dae[0x0]&0x30)!==0x0){const _0x5a3f7e=this['createError'](RangeError,_0x1975bb(0x28b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x507626(_0x5a3f7e);return;}const _0x478898=(_0x4d3dae[0x0]&0x40)===0x40;if(_0x478898&&!this['_extensions'][_0xd8d62b[_0x1975bb(0x33f)]]){const _0x310050=this[_0x1975bb(0x306)](RangeError,_0x1975bb(0x2bb),!0x0,0x3ea,_0x1975bb(0x1e2));_0x507626(_0x310050);return;}if(this[_0x1975bb(0x271)]=(_0x4d3dae[0x0]&0x80)===0x80,this['_opcode']=_0x4d3dae[0x0]&0xf,this[_0x1975bb(0x226)]=_0x4d3dae[0x1]&0x7f,this[_0x1975bb(0x361)]===0x0){if(_0x478898){const _0x87cecb=this[_0x1975bb(0x306)](RangeError,_0x1975bb(0x2bb),!0x0,0x3ea,_0x1975bb(0x1e2));_0x507626(_0x87cecb);return;}if(!this[_0x1975bb(0x1c5)]){const _0x38acfc=this['createError'](RangeError,_0x1975bb(0x33c),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x507626(_0x38acfc);return;}this[_0x1975bb(0x361)]=this[_0x1975bb(0x1c5)];}else{if(this[_0x1975bb(0x361)]===0x1||this[_0x1975bb(0x361)]===0x2){if(this[_0x1975bb(0x1c5)]){const _0x129326=this['createError'](RangeError,_0x1975bb(0x21d)+this[_0x1975bb(0x361)],!0x0,0x3ea,_0x1975bb(0x1d5));_0x507626(_0x129326);return;}this[_0x1975bb(0x2d0)]=_0x478898;}else{if(this[_0x1975bb(0x361)]>0x7&&this[_0x1975bb(0x361)]<0xb){if(!this['_fin']){const _0x247472=this[_0x1975bb(0x306)](RangeError,_0x1975bb(0x215),!0x0,0x3ea,_0x1975bb(0x22d));_0x507626(_0x247472);return;}if(_0x478898){const _0x4077a0=this['createError'](RangeError,_0x1975bb(0x2bb),!0x0,0x3ea,_0x1975bb(0x1e2));_0x507626(_0x4077a0);return;}if(this['_payloadLength']>0x7d||this[_0x1975bb(0x361)]===0x8&&this[_0x1975bb(0x226)]===0x1){const _0x39bfde=this[_0x1975bb(0x306)](RangeError,_0x1975bb(0x28f)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x507626(_0x39bfde);return;}}else{const _0x1cb4ca=this[_0x1975bb(0x306)](RangeError,_0x1975bb(0x21d)+this[_0x1975bb(0x361)],!0x0,0x3ea,_0x1975bb(0x1d5));_0x507626(_0x1cb4ca);return;}}}if(!this['_fin']&&!this[_0x1975bb(0x1c5)]&&(this[_0x1975bb(0x1c5)]=this['_opcode']),this['_masked']=(_0x4d3dae[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x1975bb(0x1f5)]){const _0x31bcc3=this['createError'](RangeError,_0x1975bb(0x307),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x507626(_0x31bcc3);return;}}else{if(this[_0x1975bb(0x1f5)]){const _0x1c61fc=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x507626(_0x1c61fc);return;}}this[_0x1975bb(0x226)]===0x7e?this[_0x1975bb(0x1df)]=_0xed6605:this[_0x1975bb(0x226)]===0x7f?this[_0x1975bb(0x1df)]=_0x251011:this['haveLength'](_0x507626);}['getPayloadLength16'](_0x52269a){const _0x539118=_0x4c5dcf;if(this[_0x539118(0x243)]<0x2){this[_0x539118(0x365)]=!0x1;return;}this['_payloadLength']=this[_0x539118(0x24e)](0x2)[_0x539118(0x31d)](0x0),this['haveLength'](_0x52269a);}[_0x4c5dcf(0x2ca)](_0x3d8f88){const _0x2fa7cc=_0x4c5dcf;if(this[_0x2fa7cc(0x243)]<0x8){this[_0x2fa7cc(0x365)]=!0x1;return;}const _0x58aea3=this[_0x2fa7cc(0x24e)](0x8),_0x4d769e=_0x58aea3[_0x2fa7cc(0x2f7)](0x0);if(_0x4d769e>Math[_0x2fa7cc(0x274)](0x2,0x15)-0x1){const _0x39e4b0=this[_0x2fa7cc(0x306)](RangeError,_0x2fa7cc(0x332),!0x1,0x3f1,_0x2fa7cc(0x282));_0x3d8f88(_0x39e4b0);return;}this[_0x2fa7cc(0x226)]=_0x4d769e*Math[_0x2fa7cc(0x274)](0x2,0x20)+_0x58aea3[_0x2fa7cc(0x2f7)](0x4),this[_0x2fa7cc(0x323)](_0x3d8f88);}['haveLength'](_0x4af734){const _0x243740=_0x4c5dcf;if(this[_0x243740(0x226)]&&this[_0x243740(0x361)]<0x8&&(this['_totalPayloadLength']+=this[_0x243740(0x226)],this[_0x243740(0x1ea)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0xc10336=this[_0x243740(0x306)](RangeError,_0x243740(0x241),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4af734(_0xc10336);return;}this[_0x243740(0x1f5)]?this[_0x243740(0x1df)]=_0x132779:this[_0x243740(0x1df)]=_0xbe9dfc;}['getMask'](){const _0x43d4f4=_0x4c5dcf;if(this['_bufferedBytes']<0x4){this[_0x43d4f4(0x365)]=!0x1;return;}this['_mask']=this['consume'](0x4),this['_state']=_0xbe9dfc;}[_0x4c5dcf(0x291)](_0x3285c0){const _0x45a976=_0x4c5dcf;let _0x1b6c50=_0x32a45b;if(this[_0x45a976(0x226)]){if(this[_0x45a976(0x243)]<this[_0x45a976(0x226)]){this[_0x45a976(0x365)]=!0x1;return;}_0x1b6c50=this['consume'](this[_0x45a976(0x226)]),this[_0x45a976(0x1f5)]&&(this['_mask'][0x0]|this[_0x45a976(0x279)][0x1]|this[_0x45a976(0x279)][0x2]|this[_0x45a976(0x279)][0x3])!==0x0&&_0x2b4ee9(_0x1b6c50,this[_0x45a976(0x279)]);}if(this['_opcode']>0x7){this[_0x45a976(0x2b9)](_0x1b6c50,_0x3285c0);return;}if(this[_0x45a976(0x2d0)]){this[_0x45a976(0x1df)]=_0x6eecc8,this[_0x45a976(0x2ea)](_0x1b6c50,_0x3285c0);return;}_0x1b6c50['length']&&(this[_0x45a976(0x29d)]=this['_totalPayloadLength'],this['_fragments'][_0x45a976(0x353)](_0x1b6c50)),this['dataMessage'](_0x3285c0);}[_0x4c5dcf(0x2ea)](_0x179f07,_0x329be6){const _0x4fd464=_0x4c5dcf;this[_0x4fd464(0x35a)][_0xd8d62b[_0x4fd464(0x33f)]][_0x4fd464(0x2ea)](_0x179f07,this[_0x4fd464(0x271)],(_0x11ed40,_0x5c6c56)=>{const _0x4d5da7=_0x4fd464;if(_0x11ed40)return _0x329be6(_0x11ed40);if(_0x5c6c56[_0x4d5da7(0x324)]){if(this['_messageLength']+=_0x5c6c56[_0x4d5da7(0x324)],this[_0x4d5da7(0x29d)]>this['_maxPayload']&&this[_0x4d5da7(0x34c)]>0x0){const _0x2699dd=this[_0x4d5da7(0x306)](RangeError,_0x4d5da7(0x241),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x329be6(_0x2699dd);return;}this[_0x4d5da7(0x269)][_0x4d5da7(0x353)](_0x5c6c56);}this[_0x4d5da7(0x26a)](_0x329be6),this[_0x4d5da7(0x1df)]===_0x4a7c59&&this['startLoop'](_0x329be6);});}[_0x4c5dcf(0x26a)](_0x53936e){const _0x2b9301=_0x4c5dcf;if(!this[_0x2b9301(0x271)]){this['_state']=_0x4a7c59;return;}const _0x13d80e=this[_0x2b9301(0x29d)],_0x5929f6=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x2b9301(0x29d)]=0x0,this[_0x2b9301(0x1c5)]=0x0,this[_0x2b9301(0x269)]=[],this[_0x2b9301(0x361)]===0x2){let _0x5ac08f;this[_0x2b9301(0x28a)]===_0x2b9301(0x1c3)?_0x5ac08f=_0x39b467(_0x5929f6,_0x13d80e):this['_binaryType']===_0x2b9301(0x339)?_0x5ac08f=_0x1f61b7(_0x39b467(_0x5929f6,_0x13d80e)):this[_0x2b9301(0x28a)]===_0x2b9301(0x2c3)?_0x5ac08f=new Blob(_0x5929f6):_0x5ac08f=_0x5929f6,this['_allowSynchronousEvents']?(this[_0x2b9301(0x356)](_0x2b9301(0x281),_0x5ac08f,!0x0),this['_state']=_0x4a7c59):(this[_0x2b9301(0x1df)]=_0x3f13a3,setImmediate(()=>{const _0x5d076b=_0x2b9301;this[_0x5d076b(0x356)]('message',_0x5ac08f,!0x0),this[_0x5d076b(0x1df)]=_0x4a7c59,this['startLoop'](_0x53936e);}));}else{const _0x585355=_0x39b467(_0x5929f6,_0x13d80e);if(!this[_0x2b9301(0x2de)]&&!_0xfdf9fe(_0x585355)){const _0x496132=this[_0x2b9301(0x306)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x53936e(_0x496132);return;}this['_state']===_0x6eecc8||this['_allowSynchronousEvents']?(this['emit'](_0x2b9301(0x281),_0x585355,!0x1),this['_state']=_0x4a7c59):(this[_0x2b9301(0x1df)]=_0x3f13a3,setImmediate(()=>{const _0x9362c8=_0x2b9301;this[_0x9362c8(0x356)]('message',_0x585355,!0x1),this[_0x9362c8(0x1df)]=_0x4a7c59,this[_0x9362c8(0x1b9)](_0x53936e);}));}}[_0x4c5dcf(0x2b9)](_0xd4189f,_0x2a9176){const _0x16a726=_0x4c5dcf;if(this['_opcode']===0x8){if(_0xd4189f[_0x16a726(0x324)]===0x0)this['_loop']=!0x1,this[_0x16a726(0x356)](_0x16a726(0x1b8),0x3ed,_0x32a45b),this['end']();else{const _0x1acf1b=_0xd4189f[_0x16a726(0x31d)](0x0);if(!_0x120aec(_0x1acf1b)){const _0x27138c=this[_0x16a726(0x306)](RangeError,_0x16a726(0x24b)+_0x1acf1b,!0x0,0x3ea,_0x16a726(0x2df));_0x2a9176(_0x27138c);return;}const _0x1c1461=new _0x387f9b(_0xd4189f[_0x16a726(0x273)],_0xd4189f[_0x16a726(0x329)]+0x2,_0xd4189f[_0x16a726(0x324)]-0x2);if(!this[_0x16a726(0x2de)]&&!_0xfdf9fe(_0x1c1461)){const _0x25bd28=this[_0x16a726(0x306)](Error,_0x16a726(0x1b6),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2a9176(_0x25bd28);return;}this['_loop']=!0x1,this[_0x16a726(0x356)](_0x16a726(0x1b8),_0x1acf1b,_0x1c1461),this['end']();}this[_0x16a726(0x1df)]=_0x4a7c59;return;}this['_allowSynchronousEvents']?(this[_0x16a726(0x356)](this['_opcode']===0x9?_0x16a726(0x1e0):_0x16a726(0x1d9),_0xd4189f),this[_0x16a726(0x1df)]=_0x4a7c59):(this['_state']=_0x3f13a3,setImmediate(()=>{const _0x5be27c=_0x16a726;this[_0x5be27c(0x356)](this['_opcode']===0x9?_0x5be27c(0x1e0):_0x5be27c(0x1d9),_0xd4189f),this[_0x5be27c(0x1df)]=_0x4a7c59,this[_0x5be27c(0x1b9)](_0x2a9176);}));}[_0x4c5dcf(0x306)](_0x3bf21c,_0x128304,_0x4ea3f1,_0x5ead4d,_0x484482){const _0x33f16c=_0x4c5dcf;this[_0x33f16c(0x365)]=!0x1,this[_0x33f16c(0x20a)]=!0x0;const _0x69740c=new _0x3bf21c(_0x4ea3f1?_0x33f16c(0x303)+_0x128304:_0x128304);return Error[_0x33f16c(0x2d7)](_0x69740c,this[_0x33f16c(0x306)]),_0x69740c['code']=_0x484482,_0x69740c[_0x53200e]=_0x5ead4d,_0x69740c;}}return Se=_0x407a84,Se;}var Ee,et;function _t(){const _0x17542f=_0x298064;if(et)return Ee;et=0x1;const {Duplex:_0x387f4d}=_0x86a444,{randomFillSync:_0x1e03e2}=_0xde823e,_0x2e2d9b=he(),{EMPTY_BUFFER:_0x21343b,kWebSocket:_0x52f97e,NOOP:_0xbabb22}=V(),{isBlob:_0x95bc11,isValidStatusCode:_0x2df8bd}=ne(),{mask:_0x316b3f,toBuffer:_0x129b35}=ce(),_0x3f54b4=Symbol(_0x17542f(0x293)),_0x5032c2=Buffer[_0x17542f(0x311)](0x4),_0x4bbb2b=0x8*0x400;let _0x21e5c5,_0xf7a6e7=_0x4bbb2b;const _0x135607=0x0,_0x58b16e=0x1,_0x2ec921=0x2;class _0x32e2d2{constructor(_0x2bd49b,_0x1b6e40,_0x2360c7){const _0x515a29=_0x17542f;this[_0x515a29(0x35a)]=_0x1b6e40||{},_0x2360c7&&(this[_0x515a29(0x27d)]=_0x2360c7,this['_maskBuffer']=Buffer[_0x515a29(0x311)](0x4)),this['_socket']=_0x2bd49b,this[_0x515a29(0x337)]=!0x0,this['_compress']=!0x1,this[_0x515a29(0x243)]=0x0,this[_0x515a29(0x360)]=[],this[_0x515a29(0x1df)]=_0x135607,this[_0x515a29(0x328)]=_0xbabb22,this[_0x52f97e]=void 0x0;}static[_0x17542f(0x240)](_0x11e75a,_0x47af70){const _0x74b7dd=_0x17542f;let _0x1edf3f,_0x5dab39=!0x1,_0x19ea6e=0x2,_0x4a19ef=!0x1;_0x47af70[_0x74b7dd(0x213)]&&(_0x1edf3f=_0x47af70['maskBuffer']||_0x5032c2,_0x47af70[_0x74b7dd(0x263)]?_0x47af70[_0x74b7dd(0x263)](_0x1edf3f):(_0xf7a6e7===_0x4bbb2b&&(_0x21e5c5===void 0x0&&(_0x21e5c5=Buffer['alloc'](_0x4bbb2b)),_0x1e03e2(_0x21e5c5,0x0,_0x4bbb2b),_0xf7a6e7=0x0),_0x1edf3f[0x0]=_0x21e5c5[_0xf7a6e7++],_0x1edf3f[0x1]=_0x21e5c5[_0xf7a6e7++],_0x1edf3f[0x2]=_0x21e5c5[_0xf7a6e7++],_0x1edf3f[0x3]=_0x21e5c5[_0xf7a6e7++]),_0x4a19ef=(_0x1edf3f[0x0]|_0x1edf3f[0x1]|_0x1edf3f[0x2]|_0x1edf3f[0x3])===0x0,_0x19ea6e=0x6);let _0x5e2c1e;typeof _0x11e75a==_0x74b7dd(0x261)?(!_0x47af70[_0x74b7dd(0x213)]||_0x4a19ef)&&_0x47af70[_0x3f54b4]!==void 0x0?_0x5e2c1e=_0x47af70[_0x3f54b4]:(_0x11e75a=Buffer[_0x74b7dd(0x232)](_0x11e75a),_0x5e2c1e=_0x11e75a['length']):(_0x5e2c1e=_0x11e75a['length'],_0x5dab39=_0x47af70[_0x74b7dd(0x213)]&&_0x47af70[_0x74b7dd(0x221)]&&!_0x4a19ef);let _0x305690=_0x5e2c1e;_0x5e2c1e>=0x10000?(_0x19ea6e+=0x8,_0x305690=0x7f):_0x5e2c1e>0x7d&&(_0x19ea6e+=0x2,_0x305690=0x7e);const _0x423a54=Buffer[_0x74b7dd(0x30d)](_0x5dab39?_0x5e2c1e+_0x19ea6e:_0x19ea6e);return _0x423a54[0x0]=_0x47af70['fin']?_0x47af70[_0x74b7dd(0x294)]|0x80:_0x47af70['opcode'],_0x47af70[_0x74b7dd(0x2e3)]&&(_0x423a54[0x0]|=0x40),_0x423a54[0x1]=_0x305690,_0x305690===0x7e?_0x423a54[_0x74b7dd(0x34b)](_0x5e2c1e,0x2):_0x305690===0x7f&&(_0x423a54[0x2]=_0x423a54[0x3]=0x0,_0x423a54[_0x74b7dd(0x1f2)](_0x5e2c1e,0x4,0x6)),_0x47af70[_0x74b7dd(0x213)]?(_0x423a54[0x1]|=0x80,_0x423a54[_0x19ea6e-0x4]=_0x1edf3f[0x0],_0x423a54[_0x19ea6e-0x3]=_0x1edf3f[0x1],_0x423a54[_0x19ea6e-0x2]=_0x1edf3f[0x2],_0x423a54[_0x19ea6e-0x1]=_0x1edf3f[0x3],_0x4a19ef?[_0x423a54,_0x11e75a]:_0x5dab39?(_0x316b3f(_0x11e75a,_0x1edf3f,_0x423a54,_0x19ea6e,_0x5e2c1e),[_0x423a54]):(_0x316b3f(_0x11e75a,_0x1edf3f,_0x11e75a,0x0,_0x5e2c1e),[_0x423a54,_0x11e75a])):[_0x423a54,_0x11e75a];}[_0x17542f(0x35c)](_0xe2067b,_0x5a4104,_0x416583,_0x2f4fba){const _0x27b22c=_0x17542f;let _0x458685;if(_0xe2067b===void 0x0)_0x458685=_0x21343b;else{if(typeof _0xe2067b!='number'||!_0x2df8bd(_0xe2067b))throw new TypeError(_0x27b22c(0x1cb));if(_0x5a4104===void 0x0||!_0x5a4104[_0x27b22c(0x324)])_0x458685=Buffer[_0x27b22c(0x30d)](0x2),_0x458685[_0x27b22c(0x34b)](_0xe2067b,0x0);else{const _0x51f937=Buffer[_0x27b22c(0x2d8)](_0x5a4104);if(_0x51f937>0x7b)throw new RangeError(_0x27b22c(0x33d));_0x458685=Buffer[_0x27b22c(0x30d)](0x2+_0x51f937),_0x458685[_0x27b22c(0x34b)](_0xe2067b,0x0),typeof _0x5a4104==_0x27b22c(0x261)?_0x458685[_0x27b22c(0x1ee)](_0x5a4104,0x2):_0x458685[_0x27b22c(0x1c2)](_0x5a4104,0x2);}}const _0x431734={[_0x3f54b4]:_0x458685[_0x27b22c(0x324)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x416583,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x135607?this['enqueue']([this[_0x27b22c(0x1fd)],_0x458685,!0x1,_0x431734,_0x2f4fba]):this[_0x27b22c(0x2c8)](_0x32e2d2[_0x27b22c(0x240)](_0x458685,_0x431734),_0x2f4fba);}[_0x17542f(0x1e0)](_0x2ee44d,_0x5d6e01,_0x13f117){const _0x1749ed=_0x17542f;let _0x58f7f3,_0x91fbd2;if(typeof _0x2ee44d==_0x1749ed(0x261)?(_0x58f7f3=Buffer[_0x1749ed(0x2d8)](_0x2ee44d),_0x91fbd2=!0x1):_0x95bc11(_0x2ee44d)?(_0x58f7f3=_0x2ee44d[_0x1749ed(0x2b0)],_0x91fbd2=!0x1):(_0x2ee44d=_0x129b35(_0x2ee44d),_0x58f7f3=_0x2ee44d[_0x1749ed(0x324)],_0x91fbd2=_0x129b35['readOnly']),_0x58f7f3>0x7d)throw new RangeError(_0x1749ed(0x233));const _0x44a1b0={[_0x3f54b4]:_0x58f7f3,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5d6e01,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x91fbd2,'rsv1':!0x1};_0x95bc11(_0x2ee44d)?this[_0x1749ed(0x1df)]!==_0x135607?this[_0x1749ed(0x2ed)]([this[_0x1749ed(0x24c)],_0x2ee44d,!0x1,_0x44a1b0,_0x13f117]):this[_0x1749ed(0x24c)](_0x2ee44d,!0x1,_0x44a1b0,_0x13f117):this[_0x1749ed(0x1df)]!==_0x135607?this[_0x1749ed(0x2ed)]([this[_0x1749ed(0x1fd)],_0x2ee44d,!0x1,_0x44a1b0,_0x13f117]):this[_0x1749ed(0x2c8)](_0x32e2d2['frame'](_0x2ee44d,_0x44a1b0),_0x13f117);}[_0x17542f(0x1d9)](_0x50fd3f,_0xe913c,_0x31fad0){const _0xaedf12=_0x17542f;let _0x56425a,_0x852015;if(typeof _0x50fd3f==_0xaedf12(0x261)?(_0x56425a=Buffer[_0xaedf12(0x2d8)](_0x50fd3f),_0x852015=!0x1):_0x95bc11(_0x50fd3f)?(_0x56425a=_0x50fd3f[_0xaedf12(0x2b0)],_0x852015=!0x1):(_0x50fd3f=_0x129b35(_0x50fd3f),_0x56425a=_0x50fd3f['length'],_0x852015=_0x129b35['readOnly']),_0x56425a>0x7d)throw new RangeError(_0xaedf12(0x233));const _0x90c9e0={[_0x3f54b4]:_0x56425a,'fin':!0x0,'generateMask':this[_0xaedf12(0x27d)],'mask':_0xe913c,'maskBuffer':this[_0xaedf12(0x228)],'opcode':0xa,'readOnly':_0x852015,'rsv1':!0x1};_0x95bc11(_0x50fd3f)?this[_0xaedf12(0x1df)]!==_0x135607?this['enqueue']([this[_0xaedf12(0x24c)],_0x50fd3f,!0x1,_0x90c9e0,_0x31fad0]):this[_0xaedf12(0x24c)](_0x50fd3f,!0x1,_0x90c9e0,_0x31fad0):this[_0xaedf12(0x1df)]!==_0x135607?this[_0xaedf12(0x2ed)]([this['dispatch'],_0x50fd3f,!0x1,_0x90c9e0,_0x31fad0]):this[_0xaedf12(0x2c8)](_0x32e2d2['frame'](_0x50fd3f,_0x90c9e0),_0x31fad0);}[_0x17542f(0x2b6)](_0xd7bc8f,_0x28f3f9,_0x33026e){const _0x40abd2=_0x17542f,_0x2c5bc6=this['_extensions'][_0x2e2d9b[_0x40abd2(0x33f)]];let _0x84ab53=_0x28f3f9[_0x40abd2(0x1ba)]?0x2:0x1,_0x28a8e7=_0x28f3f9[_0x40abd2(0x2b7)],_0x2db5ca,_0x4f1ad8;typeof _0xd7bc8f==_0x40abd2(0x261)?(_0x2db5ca=Buffer[_0x40abd2(0x2d8)](_0xd7bc8f),_0x4f1ad8=!0x1):_0x95bc11(_0xd7bc8f)?(_0x2db5ca=_0xd7bc8f[_0x40abd2(0x2b0)],_0x4f1ad8=!0x1):(_0xd7bc8f=_0x129b35(_0xd7bc8f),_0x2db5ca=_0xd7bc8f[_0x40abd2(0x324)],_0x4f1ad8=_0x129b35[_0x40abd2(0x221)]),this['_firstFragment']?(this[_0x40abd2(0x337)]=!0x1,_0x28a8e7&&_0x2c5bc6&&_0x2c5bc6['params'][_0x2c5bc6['_isServer']?_0x40abd2(0x2fd):_0x40abd2(0x216)]&&(_0x28a8e7=_0x2db5ca>=_0x2c5bc6[_0x40abd2(0x30e)]),this[_0x40abd2(0x212)]=_0x28a8e7):(_0x28a8e7=!0x1,_0x84ab53=0x0),_0x28f3f9['fin']&&(this[_0x40abd2(0x337)]=!0x0);const _0x30c130={[_0x3f54b4]:_0x2db5ca,'fin':_0x28f3f9[_0x40abd2(0x278)],'generateMask':this['_generateMask'],'mask':_0x28f3f9['mask'],'maskBuffer':this[_0x40abd2(0x228)],'opcode':_0x84ab53,'readOnly':_0x4f1ad8,'rsv1':_0x28a8e7};_0x95bc11(_0xd7bc8f)?this[_0x40abd2(0x1df)]!==_0x135607?this[_0x40abd2(0x2ed)]([this[_0x40abd2(0x24c)],_0xd7bc8f,this[_0x40abd2(0x212)],_0x30c130,_0x33026e]):this['getBlobData'](_0xd7bc8f,this[_0x40abd2(0x212)],_0x30c130,_0x33026e):this['_state']!==_0x135607?this[_0x40abd2(0x2ed)]([this[_0x40abd2(0x1fd)],_0xd7bc8f,this['_compress'],_0x30c130,_0x33026e]):this[_0x40abd2(0x1fd)](_0xd7bc8f,this[_0x40abd2(0x212)],_0x30c130,_0x33026e);}[_0x17542f(0x24c)](_0x27ec6b,_0x593841,_0x1dc942,_0x12b1cc){const _0x1a043e=_0x17542f;this['_bufferedBytes']+=_0x1dc942[_0x3f54b4],this[_0x1a043e(0x1df)]=_0x2ec921,_0x27ec6b[_0x1a043e(0x302)]()[_0x1a043e(0x1f7)](_0x1970ad=>{const _0x976ded=_0x1a043e;if(this[_0x976ded(0x334)][_0x976ded(0x25f)]){const _0x36d5f1=new Error(_0x976ded(0x295));process[_0x976ded(0x2d9)](_0x4295b7,this,_0x36d5f1,_0x12b1cc);return;}this[_0x976ded(0x243)]-=_0x1dc942[_0x3f54b4];const _0x4bceed=_0x129b35(_0x1970ad);_0x593841?this[_0x976ded(0x1fd)](_0x4bceed,_0x593841,_0x1dc942,_0x12b1cc):(this[_0x976ded(0x1df)]=_0x135607,this[_0x976ded(0x2c8)](_0x32e2d2['frame'](_0x4bceed,_0x1dc942),_0x12b1cc),this[_0x976ded(0x26f)]());})[_0x1a043e(0x217)](_0x59e119=>{process['nextTick'](_0x33ca85,this,_0x59e119,_0x12b1cc);});}[_0x17542f(0x1fd)](_0x19092f,_0x345cd7,_0x2819d4,_0x1795f4){const _0x492f56=_0x17542f;if(!_0x345cd7){this[_0x492f56(0x2c8)](_0x32e2d2['frame'](_0x19092f,_0x2819d4),_0x1795f4);return;}const _0x3048f6=this[_0x492f56(0x35a)][_0x2e2d9b[_0x492f56(0x33f)]];this['_bufferedBytes']+=_0x2819d4[_0x3f54b4],this[_0x492f56(0x1df)]=_0x58b16e,_0x3048f6[_0x492f56(0x2b7)](_0x19092f,_0x2819d4['fin'],(_0x58b973,_0x1804bb)=>{const _0x426fa7=_0x492f56;if(this[_0x426fa7(0x334)][_0x426fa7(0x25f)]){const _0xb83eb7=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4295b7(this,_0xb83eb7,_0x1795f4);return;}this[_0x426fa7(0x243)]-=_0x2819d4[_0x3f54b4],this['_state']=_0x135607,_0x2819d4[_0x426fa7(0x221)]=!0x1,this[_0x426fa7(0x2c8)](_0x32e2d2[_0x426fa7(0x240)](_0x1804bb,_0x2819d4),_0x1795f4),this['dequeue']();});}[_0x17542f(0x26f)](){const _0x60a593=_0x17542f;for(;this['_state']===_0x135607&&this[_0x60a593(0x360)][_0x60a593(0x324)];){const _0x579d84=this[_0x60a593(0x360)][_0x60a593(0x298)]();this[_0x60a593(0x243)]-=_0x579d84[0x3][_0x3f54b4],Reflect[_0x60a593(0x2e4)](_0x579d84[0x0],this,_0x579d84[_0x60a593(0x21e)](0x1));}}[_0x17542f(0x2ed)](_0x57c61c){const _0x1c1f40=_0x17542f;this[_0x1c1f40(0x243)]+=_0x57c61c[0x3][_0x3f54b4],this[_0x1c1f40(0x360)][_0x1c1f40(0x353)](_0x57c61c);}['sendFrame'](_0x1338b3,_0x572ede){const _0x4f94b1=_0x17542f;_0x1338b3[_0x4f94b1(0x324)]===0x2?(this[_0x4f94b1(0x334)][_0x4f94b1(0x27c)](),this[_0x4f94b1(0x334)][_0x4f94b1(0x1ee)](_0x1338b3[0x0]),this['_socket'][_0x4f94b1(0x1ee)](_0x1338b3[0x1],_0x572ede),this[_0x4f94b1(0x334)]['uncork']()):this['_socket'][_0x4f94b1(0x1ee)](_0x1338b3[0x0],_0x572ede);}}Ee=_0x32e2d2;function _0x4295b7(_0x5c2155,_0x2bf7c9,_0x3c6d8a){const _0x5ab1f8=_0x17542f;typeof _0x3c6d8a==_0x5ab1f8(0x250)&&_0x3c6d8a(_0x2bf7c9);for(let _0x21e971=0x0;_0x21e971<_0x5c2155[_0x5ab1f8(0x360)]['length'];_0x21e971++){const _0x1f9c9a=_0x5c2155[_0x5ab1f8(0x360)][_0x21e971],_0x1590fc=_0x1f9c9a[_0x1f9c9a[_0x5ab1f8(0x324)]-0x1];typeof _0x1590fc==_0x5ab1f8(0x250)&&_0x1590fc(_0x2bf7c9);}}function _0x33ca85(_0x4ebd1f,_0x56f9e3,_0x2af1f6){const _0x499681=_0x17542f;_0x4295b7(_0x4ebd1f,_0x56f9e3,_0x2af1f6),_0x4ebd1f[_0x499681(0x328)](_0x56f9e3);}return Ee;}var xe,tt;function Kt(){const _0x2ce0a4=_0x298064;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x27ca27,kListener:_0xe6ea64}=V(),_0x5430c4=Symbol(_0x2ce0a4(0x25e)),_0x201881=Symbol(_0x2ce0a4(0x25d)),_0x2397ed=Symbol(_0x2ce0a4(0x30f)),_0x382d1d=Symbol(_0x2ce0a4(0x301)),_0x1db7f9=Symbol(_0x2ce0a4(0x297)),_0x28116=Symbol(_0x2ce0a4(0x2e0)),_0x433dad=Symbol('kType'),_0x5d1f43=Symbol('kWasClean');class _0x62db58{constructor(_0x14dfdd){this[_0x28116]=null,this[_0x433dad]=_0x14dfdd;}get[_0x2ce0a4(0x288)](){return this[_0x28116];}get['type'](){return this[_0x433dad];}}Object[_0x2ce0a4(0x366)](_0x62db58['prototype'],_0x2ce0a4(0x288),{'enumerable':!0x0}),Object[_0x2ce0a4(0x366)](_0x62db58[_0x2ce0a4(0x207)],_0x2ce0a4(0x2b2),{'enumerable':!0x0});class _0x2b504f extends _0x62db58{constructor(_0x3f695d,_0x189a10={}){const _0x227902=_0x2ce0a4;super(_0x3f695d),this[_0x5430c4]=_0x189a10['code']===void 0x0?0x0:_0x189a10[_0x227902(0x32b)],this[_0x1db7f9]=_0x189a10['reason']===void 0x0?'':_0x189a10['reason'],this[_0x5d1f43]=_0x189a10[_0x227902(0x309)]===void 0x0?!0x1:_0x189a10[_0x227902(0x309)];}get[_0x2ce0a4(0x32b)](){return this[_0x5430c4];}get[_0x2ce0a4(0x2eb)](){return this[_0x1db7f9];}get[_0x2ce0a4(0x309)](){return this[_0x5d1f43];}}Object['defineProperty'](_0x2b504f[_0x2ce0a4(0x207)],'code',{'enumerable':!0x0}),Object[_0x2ce0a4(0x366)](_0x2b504f[_0x2ce0a4(0x207)],_0x2ce0a4(0x2eb),{'enumerable':!0x0}),Object[_0x2ce0a4(0x366)](_0x2b504f[_0x2ce0a4(0x207)],_0x2ce0a4(0x309),{'enumerable':!0x0});class _0x43f57b extends _0x62db58{constructor(_0x5b6fc7,_0xf06263={}){const _0x149c5f=_0x2ce0a4;super(_0x5b6fc7),this[_0x2397ed]=_0xf06263[_0x149c5f(0x336)]===void 0x0?null:_0xf06263[_0x149c5f(0x336)],this[_0x382d1d]=_0xf06263[_0x149c5f(0x281)]===void 0x0?'':_0xf06263[_0x149c5f(0x281)];}get[_0x2ce0a4(0x336)](){return this[_0x2397ed];}get[_0x2ce0a4(0x281)](){return this[_0x382d1d];}}Object[_0x2ce0a4(0x366)](_0x43f57b[_0x2ce0a4(0x207)],_0x2ce0a4(0x336),{'enumerable':!0x0}),Object['defineProperty'](_0x43f57b[_0x2ce0a4(0x207)],_0x2ce0a4(0x281),{'enumerable':!0x0});class _0x12adc6 extends _0x62db58{constructor(_0x592dd2,_0x1f87cb={}){const _0x5d58cc=_0x2ce0a4;super(_0x592dd2),this[_0x201881]=_0x1f87cb[_0x5d58cc(0x2f6)]===void 0x0?null:_0x1f87cb[_0x5d58cc(0x2f6)];}get[_0x2ce0a4(0x2f6)](){return this[_0x201881];}}Object['defineProperty'](_0x12adc6[_0x2ce0a4(0x207)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x2b504f,'ErrorEvent':_0x43f57b,'Event':_0x62db58,'EventTarget':{'addEventListener'(_0x29c1a4,_0xe67ca5,_0x25dcf5={}){const _0x54e005=_0x2ce0a4;for(const _0x3720d7 of this['listeners'](_0x29c1a4))if(!_0x25dcf5[_0x27ca27]&&_0x3720d7[_0xe6ea64]===_0xe67ca5&&!_0x3720d7[_0x27ca27])return;let _0x125bc0;if(_0x29c1a4===_0x54e005(0x281))_0x125bc0=function(_0x471f1d,_0x432f00){const _0x20a257=_0x54e005,_0x1e9fe4=new _0x12adc6(_0x20a257(0x281),{'data':_0x432f00?_0x471f1d:_0x471f1d[_0x20a257(0x203)]()});_0x1e9fe4[_0x28116]=this,_0x2503ab(_0xe67ca5,this,_0x1e9fe4);};else{if(_0x29c1a4===_0x54e005(0x35c))_0x125bc0=function(_0x3a8558,_0xc3ddfb){const _0x2f57af=_0x54e005,_0x2dff33=new _0x2b504f(_0x2f57af(0x35c),{'code':_0x3a8558,'reason':_0xc3ddfb['toString'](),'wasClean':this[_0x2f57af(0x2e2)]&&this[_0x2f57af(0x2a1)]});_0x2dff33[_0x28116]=this,_0x2503ab(_0xe67ca5,this,_0x2dff33);};else{if(_0x29c1a4===_0x54e005(0x336))_0x125bc0=function(_0x3cfc98){const _0xf85fb7=new _0x43f57b('error',{'error':_0x3cfc98,'message':_0x3cfc98['message']});_0xf85fb7[_0x28116]=this,_0x2503ab(_0xe67ca5,this,_0xf85fb7);};else{if(_0x29c1a4==='open')_0x125bc0=function(){const _0x631162=_0x54e005,_0x3c2e6b=new _0x62db58(_0x631162(0x242));_0x3c2e6b[_0x28116]=this,_0x2503ab(_0xe67ca5,this,_0x3c2e6b);};else return;}}}_0x125bc0[_0x27ca27]=!!_0x25dcf5[_0x27ca27],_0x125bc0[_0xe6ea64]=_0xe67ca5,_0x25dcf5[_0x54e005(0x204)]?this[_0x54e005(0x204)](_0x29c1a4,_0x125bc0):this['on'](_0x29c1a4,_0x125bc0);},'removeEventListener'(_0x58ea68,_0x480058){const _0x16db8c=_0x2ce0a4;for(const _0x203d33 of this[_0x16db8c(0x1f8)](_0x58ea68))if(_0x203d33[_0xe6ea64]===_0x480058&&!_0x203d33[_0x27ca27]){this[_0x16db8c(0x30b)](_0x58ea68,_0x203d33);break;}}},'MessageEvent':_0x12adc6};function _0x2503ab(_0xf812bf,_0x43945c,_0x14775d){const _0x55e10a=_0x2ce0a4;typeof _0xf812bf==_0x55e10a(0x275)&&_0xf812bf[_0x55e10a(0x29b)]?_0xf812bf['handleEvent'][_0x55e10a(0x2ad)](_0xf812bf,_0x14775d):_0xf812bf[_0x55e10a(0x2ad)](_0x43945c,_0x14775d);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xc8b109}=ne();function _0x10c57d(_0x1d7db1,_0x10085a,_0x114a75){const _0x2703ba=_0x5e39;_0x1d7db1[_0x10085a]===void 0x0?_0x1d7db1[_0x10085a]=[_0x114a75]:_0x1d7db1[_0x10085a][_0x2703ba(0x353)](_0x114a75);}function _0x16c7ce(_0x7fdc0b){const _0x87e7d8=_0x5e39,_0x5f43f3=Object[_0x87e7d8(0x21c)](null);let _0x503538=Object[_0x87e7d8(0x21c)](null),_0x312822=!0x1,_0x17254c=!0x1,_0x2741b1=!0x1,_0x5e1c54,_0x273c17,_0x450137=-0x1,_0x13be9a=-0x1,_0x3c3425=-0x1,_0x5c5797=0x0;for(;_0x5c5797<_0x7fdc0b[_0x87e7d8(0x324)];_0x5c5797++)if(_0x13be9a=_0x7fdc0b[_0x87e7d8(0x31a)](_0x5c5797),_0x5e1c54===void 0x0){if(_0x3c3425===-0x1&&_0xc8b109[_0x13be9a]===0x1)_0x450137===-0x1&&(_0x450137=_0x5c5797);else{if(_0x5c5797!==0x0&&(_0x13be9a===0x20||_0x13be9a===0x9))_0x3c3425===-0x1&&_0x450137!==-0x1&&(_0x3c3425=_0x5c5797);else{if(_0x13be9a===0x3b||_0x13be9a===0x2c){if(_0x450137===-0x1)throw new SyntaxError(_0x87e7d8(0x28d)+_0x5c5797);_0x3c3425===-0x1&&(_0x3c3425=_0x5c5797);const _0xca4fd1=_0x7fdc0b['slice'](_0x450137,_0x3c3425);_0x13be9a===0x2c?(_0x10c57d(_0x5f43f3,_0xca4fd1,_0x503538),_0x503538=Object['create'](null)):_0x5e1c54=_0xca4fd1,_0x450137=_0x3c3425=-0x1;}else throw new SyntaxError(_0x87e7d8(0x28d)+_0x5c5797);}}}else{if(_0x273c17===void 0x0){if(_0x3c3425===-0x1&&_0xc8b109[_0x13be9a]===0x1)_0x450137===-0x1&&(_0x450137=_0x5c5797);else{if(_0x13be9a===0x20||_0x13be9a===0x9)_0x3c3425===-0x1&&_0x450137!==-0x1&&(_0x3c3425=_0x5c5797);else{if(_0x13be9a===0x3b||_0x13be9a===0x2c){if(_0x450137===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5c5797);_0x3c3425===-0x1&&(_0x3c3425=_0x5c5797),_0x10c57d(_0x503538,_0x7fdc0b[_0x87e7d8(0x21e)](_0x450137,_0x3c3425),!0x0),_0x13be9a===0x2c&&(_0x10c57d(_0x5f43f3,_0x5e1c54,_0x503538),_0x503538=Object[_0x87e7d8(0x21c)](null),_0x5e1c54=void 0x0),_0x450137=_0x3c3425=-0x1;}else{if(_0x13be9a===0x3d&&_0x450137!==-0x1&&_0x3c3425===-0x1)_0x273c17=_0x7fdc0b[_0x87e7d8(0x21e)](_0x450137,_0x5c5797),_0x450137=_0x3c3425=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5c5797);}}}}else{if(_0x17254c){if(_0xc8b109[_0x13be9a]!==0x1)throw new SyntaxError(_0x87e7d8(0x28d)+_0x5c5797);_0x450137===-0x1?_0x450137=_0x5c5797:_0x312822||(_0x312822=!0x0),_0x17254c=!0x1;}else{if(_0x2741b1){if(_0xc8b109[_0x13be9a]===0x1)_0x450137===-0x1&&(_0x450137=_0x5c5797);else{if(_0x13be9a===0x22&&_0x450137!==-0x1)_0x2741b1=!0x1,_0x3c3425=_0x5c5797;else{if(_0x13be9a===0x5c)_0x17254c=!0x0;else throw new SyntaxError(_0x87e7d8(0x28d)+_0x5c5797);}}}else{if(_0x13be9a===0x22&&_0x7fdc0b[_0x87e7d8(0x31a)](_0x5c5797-0x1)===0x3d)_0x2741b1=!0x0;else{if(_0x3c3425===-0x1&&_0xc8b109[_0x13be9a]===0x1)_0x450137===-0x1&&(_0x450137=_0x5c5797);else{if(_0x450137!==-0x1&&(_0x13be9a===0x20||_0x13be9a===0x9))_0x3c3425===-0x1&&(_0x3c3425=_0x5c5797);else{if(_0x13be9a===0x3b||_0x13be9a===0x2c){if(_0x450137===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5c5797);_0x3c3425===-0x1&&(_0x3c3425=_0x5c5797);let _0x5ba397=_0x7fdc0b[_0x87e7d8(0x21e)](_0x450137,_0x3c3425);_0x312822&&(_0x5ba397=_0x5ba397[_0x87e7d8(0x331)](/\\/g,''),_0x312822=!0x1),_0x10c57d(_0x503538,_0x273c17,_0x5ba397),_0x13be9a===0x2c&&(_0x10c57d(_0x5f43f3,_0x5e1c54,_0x503538),_0x503538=Object['create'](null),_0x5e1c54=void 0x0),_0x273c17=void 0x0,_0x450137=_0x3c3425=-0x1;}else throw new SyntaxError(_0x87e7d8(0x28d)+_0x5c5797);}}}}}}}if(_0x450137===-0x1||_0x2741b1||_0x13be9a===0x20||_0x13be9a===0x9)throw new SyntaxError(_0x87e7d8(0x266));_0x3c3425===-0x1&&(_0x3c3425=_0x5c5797);const _0x5c7c75=_0x7fdc0b[_0x87e7d8(0x21e)](_0x450137,_0x3c3425);return _0x5e1c54===void 0x0?_0x10c57d(_0x5f43f3,_0x5c7c75,_0x503538):(_0x273c17===void 0x0?_0x10c57d(_0x503538,_0x5c7c75,!0x0):_0x312822?_0x10c57d(_0x503538,_0x273c17,_0x5c7c75['replace'](/\\/g,'')):_0x10c57d(_0x503538,_0x273c17,_0x5c7c75),_0x10c57d(_0x5f43f3,_0x5e1c54,_0x503538)),_0x5f43f3;}function _0xcad211(_0x500744){const _0x39440a=_0x5e39;return Object[_0x39440a(0x2f9)](_0x500744)['map'](_0x4a04e1=>{const _0x983c6b=_0x39440a;let _0x538b00=_0x500744[_0x4a04e1];return Array[_0x983c6b(0x2a2)](_0x538b00)||(_0x538b00=[_0x538b00]),_0x538b00['map'](_0x47ef17=>[_0x4a04e1][_0x983c6b(0x2c2)](Object[_0x983c6b(0x2f9)](_0x47ef17)[_0x983c6b(0x20b)](_0x560267=>{const _0x3a566f=_0x983c6b;let _0x50b2c6=_0x47ef17[_0x560267];return Array['isArray'](_0x50b2c6)||(_0x50b2c6=[_0x50b2c6]),_0x50b2c6[_0x3a566f(0x20b)](_0x2721a5=>_0x2721a5===!0x0?_0x560267:_0x560267+'='+_0x2721a5)[_0x3a566f(0x316)](';\x20');}))['join'](';\x20'))[_0x983c6b(0x316)](',\x20');})[_0x39440a(0x316)](',\x20');}return be={'format':_0xcad211,'parse':_0x16c7ce},be;}var we,st;function Ie(){const _0xb9e043=_0x298064;if(st)return we;st=0x1;const _0x53f02b=_0x4d817a,_0x4b2003=_0x97f83,_0x26ea42=_0x4d0bd4,_0x435cde=_0x336da7,_0x2fca70=_0x16a380,{randomBytes:_0x349dec,createHash:_0x30f4a8}=_0xde823e,{Duplex:_0x566dd8,Readable:_0x32c22d}=_0x86a444,{URL:_0x2b4999}=_0x6d7cdc,_0x273aaa=he(),_0x4610e2=dt(),_0x15bef3=_t(),{isBlob:_0x3515f4}=ne(),{BINARY_TYPES:_0x18ee04,EMPTY_BUFFER:_0x530f86,GUID:_0x7448b0,kForOnEventAttribute:_0x21aaca,kListener:_0x241768,kStatusCode:_0xdc2213,kWebSocket:_0x4b6150,NOOP:_0x2070b0}=V(),{EventTarget:{addEventListener:_0x24afab,removeEventListener:_0x181073}}=Kt(),{format:_0x1c4758,parse:_0x4eb37a}=pt(),{toBuffer:_0x136de8}=ce(),_0x508112=0x1e*0x3e8,_0x291de8=Symbol('kAborted'),_0x2ce049=[0x8,0xd],_0x59c6fb=[_0xb9e043(0x29e),'OPEN',_0xb9e043(0x2dc),_0xb9e043(0x359)],_0x32b68d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4eb6a3 extends _0x53f02b{constructor(_0x14d884,_0x562825,_0x3bb042){const _0x439352=_0xb9e043;super(),this[_0x439352(0x28a)]=_0x18ee04[0x0],this[_0x439352(0x338)]=0x3ee,this[_0x439352(0x2e2)]=!0x1,this[_0x439352(0x2a1)]=!0x1,this[_0x439352(0x352)]=_0x530f86,this[_0x439352(0x23a)]=null,this[_0x439352(0x206)]=!0x1,this[_0x439352(0x35a)]={},this[_0x439352(0x21b)]=!0x1,this[_0x439352(0x1d6)]='',this['_readyState']=_0x4eb6a3[_0x439352(0x29e)],this['_receiver']=null,this[_0x439352(0x277)]=null,this[_0x439352(0x334)]=null,_0x14d884!==null?(this[_0x439352(0x2c0)]=0x0,this[_0x439352(0x33b)]=!0x1,this[_0x439352(0x2cb)]=0x0,_0x562825===void 0x0?_0x562825=[]:Array[_0x439352(0x2a2)](_0x562825)||(typeof _0x562825==_0x439352(0x275)&&_0x562825!==null?(_0x3bb042=_0x562825,_0x562825=[]):_0x562825=[_0x562825]),_0x2c98bd(this,_0x14d884,_0x562825,_0x3bb042)):(this[_0x439352(0x264)]=_0x3bb042[_0x439352(0x2c6)],this[_0x439352(0x33b)]=!0x0);}get[_0xb9e043(0x25a)](){return this['_binaryType'];}set[_0xb9e043(0x25a)](_0x1f76c4){const _0x4db9bd=_0xb9e043;_0x18ee04[_0x4db9bd(0x2d3)](_0x1f76c4)&&(this[_0x4db9bd(0x28a)]=_0x1f76c4,this[_0x4db9bd(0x25c)]&&(this[_0x4db9bd(0x25c)][_0x4db9bd(0x28a)]=_0x1f76c4));}get['bufferedAmount'](){const _0x14eb27=_0xb9e043;return this[_0x14eb27(0x334)]?this[_0x14eb27(0x334)][_0x14eb27(0x2e1)][_0x14eb27(0x324)]+this[_0x14eb27(0x277)][_0x14eb27(0x243)]:this[_0x14eb27(0x2c0)];}get[_0xb9e043(0x251)](){const _0x1a3369=_0xb9e043;return Object['keys'](this[_0x1a3369(0x35a)])[_0x1a3369(0x316)]();}get[_0xb9e043(0x214)](){const _0x39d4d0=_0xb9e043;return this[_0x39d4d0(0x21b)];}get[_0xb9e043(0x364)](){return null;}get[_0xb9e043(0x328)](){return null;}get[_0xb9e043(0x342)](){return null;}get[_0xb9e043(0x22e)](){return null;}get[_0xb9e043(0x29a)](){const _0x3708b1=_0xb9e043;return this[_0x3708b1(0x1d6)];}get['readyState'](){const _0x29cf60=_0xb9e043;return this[_0x29cf60(0x27e)];}get[_0xb9e043(0x33a)](){const _0x1f522a=_0xb9e043;return this[_0x1f522a(0x1db)];}[_0xb9e043(0x200)](_0x12814a,_0x349bcd,_0xc0fec0){const _0x28b208=_0xb9e043,_0x4e3ff1=new _0x4610e2({'allowSynchronousEvents':_0xc0fec0['allowSynchronousEvents'],'binaryType':this[_0x28b208(0x25a)],'extensions':this[_0x28b208(0x35a)],'isServer':this[_0x28b208(0x33b)],'maxPayload':_0xc0fec0[_0x28b208(0x1e9)],'skipUTF8Validation':_0xc0fec0[_0x28b208(0x36a)]}),_0x281e05=new _0x15bef3(_0x12814a,this[_0x28b208(0x35a)],_0xc0fec0[_0x28b208(0x263)]);this[_0x28b208(0x25c)]=_0x4e3ff1,this[_0x28b208(0x277)]=_0x281e05,this[_0x28b208(0x334)]=_0x12814a,_0x4e3ff1[_0x4b6150]=this,_0x281e05[_0x4b6150]=this,_0x12814a[_0x4b6150]=this,_0x4e3ff1['on'](_0x28b208(0x1b8),_0x473434),_0x4e3ff1['on'](_0x28b208(0x20d),_0x2ba76f),_0x4e3ff1['on'](_0x28b208(0x336),_0x35107f),_0x4e3ff1['on'](_0x28b208(0x281),_0x354806),_0x4e3ff1['on'](_0x28b208(0x1e0),_0x421850),_0x4e3ff1['on'](_0x28b208(0x1d9),_0x595fcc),_0x281e05['onerror']=_0x3d24d8,_0x12814a['setTimeout']&&_0x12814a['setTimeout'](0x0),_0x12814a['setNoDelay']&&_0x12814a[_0x28b208(0x260)](),_0x349bcd[_0x28b208(0x324)]>0x0&&_0x12814a[_0x28b208(0x292)](_0x349bcd),_0x12814a['on'](_0x28b208(0x35c),_0x4f1fa1),_0x12814a['on'](_0x28b208(0x2f6),_0x2d0af8),_0x12814a['on'](_0x28b208(0x355),_0x40e546),_0x12814a['on'](_0x28b208(0x336),_0x3e5cac),this[_0x28b208(0x27e)]=_0x4eb6a3[_0x28b208(0x287)],this['emit'](_0x28b208(0x242));}[_0xb9e043(0x340)](){const _0x6c8692=_0xb9e043;if(!this['_socket']){this['_readyState']=_0x4eb6a3[_0x6c8692(0x359)],this[_0x6c8692(0x356)](_0x6c8692(0x35c),this[_0x6c8692(0x338)],this[_0x6c8692(0x352)]);return;}this['_extensions'][_0x273aaa[_0x6c8692(0x33f)]]&&this[_0x6c8692(0x35a)][_0x273aaa[_0x6c8692(0x33f)]][_0x6c8692(0x36b)](),this[_0x6c8692(0x25c)][_0x6c8692(0x2d1)](),this[_0x6c8692(0x27e)]=_0x4eb6a3[_0x6c8692(0x359)],this['emit'](_0x6c8692(0x35c),this[_0x6c8692(0x338)],this['_closeMessage']);}[_0xb9e043(0x35c)](_0x14d6c7,_0x17eb75){const _0x54b6b9=_0xb9e043;if(this[_0x54b6b9(0x32d)]!==_0x4eb6a3[_0x54b6b9(0x359)]){if(this[_0x54b6b9(0x32d)]===_0x4eb6a3[_0x54b6b9(0x29e)]){_0x223ae1(this,this['_req'],_0x54b6b9(0x2bf));return;}if(this[_0x54b6b9(0x32d)]===_0x4eb6a3[_0x54b6b9(0x2dc)]){this[_0x54b6b9(0x2a1)]&&(this[_0x54b6b9(0x2e2)]||this[_0x54b6b9(0x25c)][_0x54b6b9(0x2e1)][_0x54b6b9(0x319)])&&this['_socket'][_0x54b6b9(0x355)]();return;}this[_0x54b6b9(0x27e)]=_0x4eb6a3['CLOSING'],this[_0x54b6b9(0x277)][_0x54b6b9(0x35c)](_0x14d6c7,_0x17eb75,!this['_isServer'],_0x2c5fe7=>{const _0x430ac7=_0x54b6b9;_0x2c5fe7||(this[_0x430ac7(0x2a1)]=!0x0,(this['_closeFrameReceived']||this[_0x430ac7(0x25c)][_0x430ac7(0x2e1)][_0x430ac7(0x319)])&&this[_0x430ac7(0x334)][_0x430ac7(0x355)]());}),_0x3569c9(this);}}[_0xb9e043(0x21f)](){const _0x1b69f4=_0xb9e043;this[_0x1b69f4(0x32d)]===_0x4eb6a3[_0x1b69f4(0x29e)]||this[_0x1b69f4(0x32d)]===_0x4eb6a3[_0x1b69f4(0x359)]||(this[_0x1b69f4(0x21b)]=!0x0,this[_0x1b69f4(0x334)][_0x1b69f4(0x21f)]());}[_0xb9e043(0x1e0)](_0x595824,_0x4c1323,_0x4875f1){const _0x5274c7=_0xb9e043;if(this['readyState']===_0x4eb6a3[_0x5274c7(0x29e)])throw new Error(_0x5274c7(0x2a4));if(typeof _0x595824==_0x5274c7(0x250)?(_0x4875f1=_0x595824,_0x595824=_0x4c1323=void 0x0):typeof _0x4c1323==_0x5274c7(0x250)&&(_0x4875f1=_0x4c1323,_0x4c1323=void 0x0),typeof _0x595824=='number'&&(_0x595824=_0x595824['toString']()),this['readyState']!==_0x4eb6a3['OPEN']){_0x4c8865(this,_0x595824,_0x4875f1);return;}_0x4c1323===void 0x0&&(_0x4c1323=!this[_0x5274c7(0x33b)]),this['_sender']['ping'](_0x595824||_0x530f86,_0x4c1323,_0x4875f1);}[_0xb9e043(0x1d9)](_0x2e9914,_0x3a4358,_0x1946db){const _0x3bbe82=_0xb9e043;if(this['readyState']===_0x4eb6a3['CONNECTING'])throw new Error(_0x3bbe82(0x2a4));if(typeof _0x2e9914==_0x3bbe82(0x250)?(_0x1946db=_0x2e9914,_0x2e9914=_0x3a4358=void 0x0):typeof _0x3a4358=='function'&&(_0x1946db=_0x3a4358,_0x3a4358=void 0x0),typeof _0x2e9914==_0x3bbe82(0x22f)&&(_0x2e9914=_0x2e9914['toString']()),this['readyState']!==_0x4eb6a3[_0x3bbe82(0x287)]){_0x4c8865(this,_0x2e9914,_0x1946db);return;}_0x3a4358===void 0x0&&(_0x3a4358=!this[_0x3bbe82(0x33b)]),this[_0x3bbe82(0x277)][_0x3bbe82(0x1d9)](_0x2e9914||_0x530f86,_0x3a4358,_0x1946db);}[_0xb9e043(0x1d3)](){const _0x10ab4f=_0xb9e043;this[_0x10ab4f(0x32d)]===_0x4eb6a3[_0x10ab4f(0x29e)]||this[_0x10ab4f(0x32d)]===_0x4eb6a3[_0x10ab4f(0x359)]||(this[_0x10ab4f(0x21b)]=!0x1,this[_0x10ab4f(0x25c)][_0x10ab4f(0x2e1)][_0x10ab4f(0x1f6)]||this[_0x10ab4f(0x334)][_0x10ab4f(0x1d3)]());}['send'](_0x392b5f,_0x317608,_0x7227a2){const _0x274901=_0xb9e043;if(this[_0x274901(0x32d)]===_0x4eb6a3[_0x274901(0x29e)])throw new Error(_0x274901(0x2a4));if(typeof _0x317608==_0x274901(0x250)&&(_0x7227a2=_0x317608,_0x317608={}),typeof _0x392b5f=='number'&&(_0x392b5f=_0x392b5f[_0x274901(0x203)]()),this[_0x274901(0x32d)]!==_0x4eb6a3[_0x274901(0x287)]){_0x4c8865(this,_0x392b5f,_0x7227a2);return;}const _0x10254e={'binary':typeof _0x392b5f!=_0x274901(0x261),'mask':!this[_0x274901(0x33b)],'compress':!0x0,'fin':!0x0,..._0x317608};this[_0x274901(0x35a)][_0x273aaa[_0x274901(0x33f)]]||(_0x10254e['compress']=!0x1),this[_0x274901(0x277)][_0x274901(0x2b6)](_0x392b5f||_0x530f86,_0x10254e,_0x7227a2);}[_0xb9e043(0x357)](){const _0x2eacf4=_0xb9e043;if(this['readyState']!==_0x4eb6a3['CLOSED']){if(this[_0x2eacf4(0x32d)]===_0x4eb6a3[_0x2eacf4(0x29e)]){_0x223ae1(this,this['_req'],_0x2eacf4(0x2bf));return;}this[_0x2eacf4(0x334)]&&(this[_0x2eacf4(0x27e)]=_0x4eb6a3[_0x2eacf4(0x2dc)],this['_socket'][_0x2eacf4(0x1f1)]());}}}Object[_0xb9e043(0x366)](_0x4eb6a3,_0xb9e043(0x29e),{'enumerable':!0x0,'value':_0x59c6fb[_0xb9e043(0x2d5)](_0xb9e043(0x29e))}),Object[_0xb9e043(0x366)](_0x4eb6a3[_0xb9e043(0x207)],_0xb9e043(0x29e),{'enumerable':!0x0,'value':_0x59c6fb[_0xb9e043(0x2d5)](_0xb9e043(0x29e))}),Object[_0xb9e043(0x366)](_0x4eb6a3,'OPEN',{'enumerable':!0x0,'value':_0x59c6fb[_0xb9e043(0x2d5)](_0xb9e043(0x287))}),Object[_0xb9e043(0x366)](_0x4eb6a3[_0xb9e043(0x207)],_0xb9e043(0x287),{'enumerable':!0x0,'value':_0x59c6fb[_0xb9e043(0x2d5)](_0xb9e043(0x287))}),Object[_0xb9e043(0x366)](_0x4eb6a3,_0xb9e043(0x2dc),{'enumerable':!0x0,'value':_0x59c6fb['indexOf'](_0xb9e043(0x2dc))}),Object['defineProperty'](_0x4eb6a3[_0xb9e043(0x207)],_0xb9e043(0x2dc),{'enumerable':!0x0,'value':_0x59c6fb['indexOf']('CLOSING')}),Object['defineProperty'](_0x4eb6a3,_0xb9e043(0x359),{'enumerable':!0x0,'value':_0x59c6fb['indexOf'](_0xb9e043(0x359))}),Object['defineProperty'](_0x4eb6a3[_0xb9e043(0x207)],'CLOSED',{'enumerable':!0x0,'value':_0x59c6fb['indexOf']('CLOSED')}),[_0xb9e043(0x25a),_0xb9e043(0x2f8),'extensions',_0xb9e043(0x214),_0xb9e043(0x29a),_0xb9e043(0x32d),_0xb9e043(0x33a)][_0xb9e043(0x1f0)](_0x83cf59=>{const _0x405f04=_0xb9e043;Object[_0x405f04(0x366)](_0x4eb6a3['prototype'],_0x83cf59,{'enumerable':!0x0});}),['open',_0xb9e043(0x336),_0xb9e043(0x35c),'message'][_0xb9e043(0x1f0)](_0x3a809c=>{const _0x5f23f1=_0xb9e043;Object[_0x5f23f1(0x366)](_0x4eb6a3[_0x5f23f1(0x207)],'on'+_0x3a809c,{'enumerable':!0x0,'get'(){for(const _0x12abb7 of this['listeners'](_0x3a809c))if(_0x12abb7[_0x21aaca])return _0x12abb7[_0x241768];return null;},'set'(_0x2024f6){const _0x333af0=_0x5f23f1;for(const _0xb2d7a0 of this[_0x333af0(0x1f8)](_0x3a809c))if(_0xb2d7a0[_0x21aaca]){this[_0x333af0(0x30b)](_0x3a809c,_0xb2d7a0);break;}typeof _0x2024f6==_0x333af0(0x250)&&this['addEventListener'](_0x3a809c,_0x2024f6,{[_0x21aaca]:!0x0});}});}),_0x4eb6a3[_0xb9e043(0x207)][_0xb9e043(0x326)]=_0x24afab,_0x4eb6a3[_0xb9e043(0x207)][_0xb9e043(0x24a)]=_0x181073,we=_0x4eb6a3;function _0x2c98bd(_0x123bf2,_0x2b06d1,_0x517a14,_0x2356c7){const _0x1e4ad4=_0xb9e043,_0x128d97={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ce049[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2356c7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x123bf2[_0x1e4ad4(0x264)]=_0x128d97[_0x1e4ad4(0x2c6)],!_0x2ce049[_0x1e4ad4(0x2d3)](_0x128d97[_0x1e4ad4(0x2f5)]))throw new RangeError(_0x1e4ad4(0x347)+_0x128d97[_0x1e4ad4(0x2f5)]+'\x20(supported\x20versions:\x20'+_0x2ce049[_0x1e4ad4(0x316)](',\x20')+')');let _0x5e938b;if(_0x2b06d1 instanceof _0x2b4999)_0x5e938b=_0x2b06d1;else try{_0x5e938b=new _0x2b4999(_0x2b06d1);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x2b06d1);}_0x5e938b[_0x1e4ad4(0x29a)]==='http:'?_0x5e938b[_0x1e4ad4(0x29a)]='ws:':_0x5e938b[_0x1e4ad4(0x29a)]===_0x1e4ad4(0x35d)&&(_0x5e938b[_0x1e4ad4(0x29a)]=_0x1e4ad4(0x330)),_0x123bf2[_0x1e4ad4(0x1db)]=_0x5e938b[_0x1e4ad4(0x249)];const _0x3fe94d=_0x5e938b[_0x1e4ad4(0x29a)]===_0x1e4ad4(0x330),_0x4ebd63=_0x5e938b[_0x1e4ad4(0x29a)]===_0x1e4ad4(0x29f);let _0x56e3d8;if(_0x5e938b[_0x1e4ad4(0x29a)]!==_0x1e4ad4(0x35b)&&!_0x3fe94d&&!_0x4ebd63?_0x56e3d8=_0x1e4ad4(0x283):_0x4ebd63&&!_0x5e938b[_0x1e4ad4(0x1ca)]?_0x56e3d8=_0x1e4ad4(0x268):_0x5e938b[_0x1e4ad4(0x1fa)]&&(_0x56e3d8=_0x1e4ad4(0x2a7)),_0x56e3d8){const _0x3f71f1=new SyntaxError(_0x56e3d8);if(_0x123bf2[_0x1e4ad4(0x2cb)]===0x0)throw _0x3f71f1;_0x941ab7(_0x123bf2,_0x3f71f1);return;}const _0x130f24=_0x3fe94d?0x1bb:0x50,_0x146eec=_0x349dec(0x10)[_0x1e4ad4(0x203)](_0x1e4ad4(0x255)),_0x19bf71=_0x3fe94d?_0x4b2003[_0x1e4ad4(0x363)]:_0x26ea42[_0x1e4ad4(0x363)],_0x5a1662=new Set();let _0x3abe04;if(_0x128d97[_0x1e4ad4(0x2cc)]=_0x128d97[_0x1e4ad4(0x2cc)]||(_0x3fe94d?_0x1a0d15:_0x31b4ca),_0x128d97['defaultPort']=_0x128d97[_0x1e4ad4(0x1f3)]||_0x130f24,_0x128d97[_0x1e4ad4(0x220)]=_0x5e938b[_0x1e4ad4(0x220)]||_0x130f24,_0x128d97[_0x1e4ad4(0x345)]=_0x5e938b[_0x1e4ad4(0x35e)]['startsWith']('[')?_0x5e938b['hostname'][_0x1e4ad4(0x21e)](0x1,-0x1):_0x5e938b[_0x1e4ad4(0x35e)],_0x128d97['headers']={..._0x128d97[_0x1e4ad4(0x34d)],'Sec-WebSocket-Version':_0x128d97['protocolVersion'],'Sec-WebSocket-Key':_0x146eec,'Connection':_0x1e4ad4(0x2ec),'Upgrade':_0x1e4ad4(0x1dc)},_0x128d97[_0x1e4ad4(0x1bf)]=_0x5e938b['pathname']+_0x5e938b[_0x1e4ad4(0x248)],_0x128d97[_0x1e4ad4(0x2ba)]=_0x128d97[_0x1e4ad4(0x1cf)],_0x128d97[_0x1e4ad4(0x1e5)]&&(_0x3abe04=new _0x273aaa(_0x128d97[_0x1e4ad4(0x1e5)]!==!0x0?_0x128d97[_0x1e4ad4(0x1e5)]:{},!0x1,_0x128d97[_0x1e4ad4(0x1e9)]),_0x128d97[_0x1e4ad4(0x34d)][_0x1e4ad4(0x25b)]=_0x1c4758({[_0x273aaa[_0x1e4ad4(0x33f)]]:_0x3abe04[_0x1e4ad4(0x222)]()})),_0x517a14[_0x1e4ad4(0x324)]){for(const _0x2a25e5 of _0x517a14){if(typeof _0x2a25e5!='string'||!_0x32b68d['test'](_0x2a25e5)||_0x5a1662[_0x1e4ad4(0x1c4)](_0x2a25e5))throw new SyntaxError(_0x1e4ad4(0x32a));_0x5a1662[_0x1e4ad4(0x367)](_0x2a25e5);}_0x128d97[_0x1e4ad4(0x34d)][_0x1e4ad4(0x2c1)]=_0x517a14[_0x1e4ad4(0x316)](',');}if(_0x128d97['origin']&&(_0x128d97[_0x1e4ad4(0x2f5)]<0xd?_0x128d97[_0x1e4ad4(0x34d)][_0x1e4ad4(0x262)]=_0x128d97[_0x1e4ad4(0x22c)]:_0x128d97[_0x1e4ad4(0x34d)]['Origin']=_0x128d97[_0x1e4ad4(0x22c)]),(_0x5e938b['username']||_0x5e938b['password'])&&(_0x128d97[_0x1e4ad4(0x2e7)]=_0x5e938b[_0x1e4ad4(0x1c9)]+':'+_0x5e938b[_0x1e4ad4(0x237)]),_0x4ebd63){const _0x5678f6=_0x128d97['path'][_0x1e4ad4(0x280)](':');_0x128d97['socketPath']=_0x5678f6[0x0],_0x128d97[_0x1e4ad4(0x1bf)]=_0x5678f6[0x1];}let _0x3d2364;if(_0x128d97['followRedirects']){if(_0x123bf2[_0x1e4ad4(0x2cb)]===0x0){_0x123bf2[_0x1e4ad4(0x23f)]=_0x4ebd63,_0x123bf2[_0x1e4ad4(0x227)]=_0x3fe94d,_0x123bf2[_0x1e4ad4(0x23e)]=_0x4ebd63?_0x128d97[_0x1e4ad4(0x1c1)]:_0x5e938b[_0x1e4ad4(0x345)];const _0x4ada0c=_0x2356c7&&_0x2356c7[_0x1e4ad4(0x34d)];if(_0x2356c7={..._0x2356c7,'headers':{}},_0x4ada0c){for(const [_0x4eff39,_0x480b41]of Object[_0x1e4ad4(0x208)](_0x4ada0c))_0x2356c7[_0x1e4ad4(0x34d)][_0x4eff39[_0x1e4ad4(0x369)]()]=_0x480b41;}}else{if(_0x123bf2[_0x1e4ad4(0x1bb)](_0x1e4ad4(0x254))===0x0){const _0x36c0f2=_0x4ebd63?_0x123bf2[_0x1e4ad4(0x23f)]?_0x128d97[_0x1e4ad4(0x1c1)]===_0x123bf2[_0x1e4ad4(0x23e)]:!0x1:_0x123bf2[_0x1e4ad4(0x23f)]?!0x1:_0x5e938b[_0x1e4ad4(0x345)]===_0x123bf2[_0x1e4ad4(0x23e)];(!_0x36c0f2||_0x123bf2[_0x1e4ad4(0x227)]&&!_0x3fe94d)&&(delete _0x128d97['headers'][_0x1e4ad4(0x343)],delete _0x128d97[_0x1e4ad4(0x34d)]['cookie'],_0x36c0f2||delete _0x128d97[_0x1e4ad4(0x34d)][_0x1e4ad4(0x345)],_0x128d97['auth']=void 0x0);}}_0x128d97[_0x1e4ad4(0x2e7)]&&!_0x2356c7[_0x1e4ad4(0x34d)][_0x1e4ad4(0x343)]&&(_0x2356c7[_0x1e4ad4(0x34d)][_0x1e4ad4(0x343)]=_0x1e4ad4(0x1d1)+Buffer[_0x1e4ad4(0x232)](_0x128d97['auth'])[_0x1e4ad4(0x203)](_0x1e4ad4(0x255))),_0x3d2364=_0x123bf2['_req']=_0x19bf71(_0x128d97),_0x123bf2[_0x1e4ad4(0x2cb)]&&_0x123bf2['emit'](_0x1e4ad4(0x254),_0x123bf2[_0x1e4ad4(0x33a)],_0x3d2364);}else _0x3d2364=_0x123bf2[_0x1e4ad4(0x1ed)]=_0x19bf71(_0x128d97);_0x128d97[_0x1e4ad4(0x2ba)]&&_0x3d2364['on'](_0x1e4ad4(0x2ba),()=>{const _0x223fc6=_0x1e4ad4;_0x223ae1(_0x123bf2,_0x3d2364,_0x223fc6(0x211));}),_0x3d2364['on']('error',_0x209811=>{const _0xb1027f=_0x1e4ad4;_0x3d2364===null||_0x3d2364[_0x291de8]||(_0x3d2364=_0x123bf2[_0xb1027f(0x1ed)]=null,_0x941ab7(_0x123bf2,_0x209811));}),_0x3d2364['on'](_0x1e4ad4(0x2b5),_0xb25b7a=>{const _0x2c9d31=_0x1e4ad4,_0x2a7989=_0xb25b7a[_0x2c9d31(0x34d)][_0x2c9d31(0x23c)],_0x3908f0=_0xb25b7a['statusCode'];if(_0x2a7989&&_0x128d97[_0x2c9d31(0x1cd)]&&_0x3908f0>=0x12c&&_0x3908f0<0x190){if(++_0x123bf2[_0x2c9d31(0x2cb)]>_0x128d97[_0x2c9d31(0x320)]){_0x223ae1(_0x123bf2,_0x3d2364,_0x2c9d31(0x349));return;}_0x3d2364[_0x2c9d31(0x2f2)]();let _0x16abfe;try{_0x16abfe=new _0x2b4999(_0x2a7989,_0x2b06d1);}catch{const _0x2ec453=new SyntaxError('Invalid\x20URL:\x20'+_0x2a7989);_0x941ab7(_0x123bf2,_0x2ec453);return;}_0x2c98bd(_0x123bf2,_0x16abfe,_0x517a14,_0x2356c7);}else _0x123bf2[_0x2c9d31(0x356)]('unexpected-response',_0x3d2364,_0xb25b7a)||_0x223ae1(_0x123bf2,_0x3d2364,_0x2c9d31(0x218)+_0xb25b7a[_0x2c9d31(0x2d6)]);}),_0x3d2364['on'](_0x1e4ad4(0x230),(_0xec5652,_0x5c67fe,_0xa9a6bd)=>{const _0x47f02d=_0x1e4ad4;if(_0x123bf2[_0x47f02d(0x356)](_0x47f02d(0x230),_0xec5652),_0x123bf2[_0x47f02d(0x32d)]!==_0x4eb6a3['CONNECTING'])return;_0x3d2364=_0x123bf2[_0x47f02d(0x1ed)]=null;const _0x22edbd=_0xec5652[_0x47f02d(0x34d)][_0x47f02d(0x230)];if(_0x22edbd===void 0x0||_0x22edbd[_0x47f02d(0x369)]()!==_0x47f02d(0x1dc)){_0x223ae1(_0x123bf2,_0x5c67fe,_0x47f02d(0x2c7));return;}const _0x43ca0e=_0x30f4a8(_0x47f02d(0x2a9))[_0x47f02d(0x1da)](_0x146eec+_0x7448b0)[_0x47f02d(0x267)](_0x47f02d(0x255));if(_0xec5652[_0x47f02d(0x34d)][_0x47f02d(0x2bc)]!==_0x43ca0e){_0x223ae1(_0x123bf2,_0x5c67fe,_0x47f02d(0x1c6));return;}const _0x30a8bc=_0xec5652[_0x47f02d(0x34d)]['sec-websocket-protocol'];let _0x35aa19;if(_0x30a8bc!==void 0x0?_0x5a1662[_0x47f02d(0x2b0)]?_0x5a1662[_0x47f02d(0x1c4)](_0x30a8bc)||(_0x35aa19=_0x47f02d(0x286)):_0x35aa19=_0x47f02d(0x1be):_0x5a1662['size']&&(_0x35aa19=_0x47f02d(0x26d)),_0x35aa19){_0x223ae1(_0x123bf2,_0x5c67fe,_0x35aa19);return;}_0x30a8bc&&(_0x123bf2[_0x47f02d(0x1d6)]=_0x30a8bc);const _0x1b6115=_0xec5652['headers'][_0x47f02d(0x252)];if(_0x1b6115!==void 0x0){if(!_0x3abe04){_0x223ae1(_0x123bf2,_0x5c67fe,_0x47f02d(0x314));return;}let _0x1972d9;try{_0x1972d9=_0x4eb37a(_0x1b6115);}catch{_0x223ae1(_0x123bf2,_0x5c67fe,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x394401=Object['keys'](_0x1972d9);if(_0x394401['length']!==0x1||_0x394401[0x0]!==_0x273aaa[_0x47f02d(0x33f)]){_0x223ae1(_0x123bf2,_0x5c67fe,_0x47f02d(0x1c8));return;}try{_0x3abe04[_0x47f02d(0x28c)](_0x1972d9[_0x273aaa['extensionName']]);}catch{_0x223ae1(_0x123bf2,_0x5c67fe,_0x47f02d(0x23b));return;}_0x123bf2[_0x47f02d(0x35a)][_0x273aaa[_0x47f02d(0x33f)]]=_0x3abe04;}_0x123bf2['setSocket'](_0x5c67fe,_0xa9a6bd,{'allowSynchronousEvents':_0x128d97[_0x47f02d(0x1b5)],'generateMask':_0x128d97[_0x47f02d(0x263)],'maxPayload':_0x128d97['maxPayload'],'skipUTF8Validation':_0x128d97[_0x47f02d(0x36a)]});}),_0x128d97[_0x1e4ad4(0x1ff)]?_0x128d97[_0x1e4ad4(0x1ff)](_0x3d2364,_0x123bf2):_0x3d2364[_0x1e4ad4(0x355)]();}function _0x941ab7(_0x1d7685,_0x38ff8b){const _0x30fad3=_0xb9e043;_0x1d7685['_readyState']=_0x4eb6a3[_0x30fad3(0x2dc)],_0x1d7685[_0x30fad3(0x206)]=!0x0,_0x1d7685[_0x30fad3(0x356)]('error',_0x38ff8b),_0x1d7685[_0x30fad3(0x340)]();}function _0x31b4ca(_0x64015c){const _0x245326=_0xb9e043;return _0x64015c[_0x245326(0x1bf)]=_0x64015c[_0x245326(0x1c1)],_0x435cde[_0x245326(0x21a)](_0x64015c);}function _0x1a0d15(_0x3adacb){const _0x112e71=_0xb9e043;return _0x3adacb[_0x112e71(0x1bf)]=void 0x0,!_0x3adacb[_0x112e71(0x27f)]&&_0x3adacb[_0x112e71(0x27f)]!==''&&(_0x3adacb[_0x112e71(0x27f)]=_0x435cde[_0x112e71(0x2a0)](_0x3adacb[_0x112e71(0x345)])?'':_0x3adacb[_0x112e71(0x345)]),_0x2fca70[_0x112e71(0x21a)](_0x3adacb);}function _0x223ae1(_0x4c5ef8,_0x44f710,_0x418cd4){const _0x1099cc=_0xb9e043;_0x4c5ef8[_0x1099cc(0x27e)]=_0x4eb6a3[_0x1099cc(0x2dc)];const _0x2b3143=new Error(_0x418cd4);Error[_0x1099cc(0x2d7)](_0x2b3143,_0x223ae1),_0x44f710[_0x1099cc(0x2e9)]?(_0x44f710[_0x291de8]=!0x0,_0x44f710[_0x1099cc(0x2f2)](),_0x44f710[_0x1099cc(0x1ce)]&&!_0x44f710[_0x1099cc(0x1ce)][_0x1099cc(0x25f)]&&_0x44f710[_0x1099cc(0x1ce)][_0x1099cc(0x1f1)](),process[_0x1099cc(0x2d9)](_0x941ab7,_0x4c5ef8,_0x2b3143)):(_0x44f710[_0x1099cc(0x1f1)](_0x2b3143),_0x44f710[_0x1099cc(0x204)](_0x1099cc(0x336),_0x4c5ef8[_0x1099cc(0x356)][_0x1099cc(0x351)](_0x4c5ef8,_0x1099cc(0x336))),_0x44f710[_0x1099cc(0x204)](_0x1099cc(0x35c),_0x4c5ef8[_0x1099cc(0x340)]['bind'](_0x4c5ef8)));}function _0x4c8865(_0x47e4be,_0x1c9215,_0x193cd6){const _0x110884=_0xb9e043;if(_0x1c9215){const _0x548de9=_0x3515f4(_0x1c9215)?_0x1c9215['size']:_0x136de8(_0x1c9215)[_0x110884(0x324)];_0x47e4be[_0x110884(0x334)]?_0x47e4be['_sender']['_bufferedBytes']+=_0x548de9:_0x47e4be['_bufferedAmount']+=_0x548de9;}if(_0x193cd6){const _0x4d007c=new Error(_0x110884(0x317)+_0x47e4be[_0x110884(0x32d)]+'\x20('+_0x59c6fb[_0x47e4be['readyState']]+')');process[_0x110884(0x2d9)](_0x193cd6,_0x4d007c);}}function _0x473434(_0x11de0f,_0x2cd426){const _0x58a6b7=_0xb9e043,_0xd90678=this[_0x4b6150];_0xd90678['_closeFrameReceived']=!0x0,_0xd90678[_0x58a6b7(0x352)]=_0x2cd426,_0xd90678['_closeCode']=_0x11de0f,_0xd90678[_0x58a6b7(0x334)][_0x4b6150]!==void 0x0&&(_0xd90678['_socket'][_0x58a6b7(0x30b)](_0x58a6b7(0x2f6),_0x2d0af8),process['nextTick'](_0x38f6fa,_0xd90678[_0x58a6b7(0x334)]),_0x11de0f===0x3ed?_0xd90678[_0x58a6b7(0x35c)]():_0xd90678[_0x58a6b7(0x35c)](_0x11de0f,_0x2cd426));}function _0x2ba76f(){const _0xfe76e5=_0xb9e043,_0xa3f3d1=this[_0x4b6150];_0xa3f3d1['isPaused']||_0xa3f3d1['_socket'][_0xfe76e5(0x1d3)]();}function _0x35107f(_0x2d6817){const _0x41972d=_0xb9e043,_0x4d233d=this[_0x4b6150];_0x4d233d[_0x41972d(0x334)][_0x4b6150]!==void 0x0&&(_0x4d233d['_socket']['removeListener'](_0x41972d(0x2f6),_0x2d0af8),process[_0x41972d(0x2d9)](_0x38f6fa,_0x4d233d[_0x41972d(0x334)]),_0x4d233d[_0x41972d(0x35c)](_0x2d6817[_0xdc2213])),_0x4d233d['_errorEmitted']||(_0x4d233d['_errorEmitted']=!0x0,_0x4d233d[_0x41972d(0x356)](_0x41972d(0x336),_0x2d6817));}function _0x4f192b(){this[_0x4b6150]['emitClose']();}function _0x354806(_0x5c0596,_0x2cbae7){const _0x20a084=_0xb9e043;this[_0x4b6150][_0x20a084(0x356)](_0x20a084(0x281),_0x5c0596,_0x2cbae7);}function _0x421850(_0x316f6b){const _0x5d24f0=_0xb9e043,_0x19046a=this[_0x4b6150];_0x19046a[_0x5d24f0(0x264)]&&_0x19046a[_0x5d24f0(0x1d9)](_0x316f6b,!this[_0x5d24f0(0x33b)],_0x2070b0),_0x19046a['emit'](_0x5d24f0(0x1e0),_0x316f6b);}function _0x595fcc(_0x1f9835){const _0x5f190b=_0xb9e043;this[_0x4b6150][_0x5f190b(0x356)](_0x5f190b(0x1d9),_0x1f9835);}function _0x38f6fa(_0x24a91f){const _0x1fa3e1=_0xb9e043;_0x24a91f[_0x1fa3e1(0x1d3)]();}function _0x3d24d8(_0x58e53c){const _0x3cad98=_0xb9e043,_0x2a4ec8=this[_0x4b6150];_0x2a4ec8['readyState']!==_0x4eb6a3[_0x3cad98(0x359)]&&(_0x2a4ec8[_0x3cad98(0x32d)]===_0x4eb6a3[_0x3cad98(0x287)]&&(_0x2a4ec8[_0x3cad98(0x27e)]=_0x4eb6a3['CLOSING'],_0x3569c9(_0x2a4ec8)),this[_0x3cad98(0x334)][_0x3cad98(0x355)](),_0x2a4ec8[_0x3cad98(0x206)]||(_0x2a4ec8['_errorEmitted']=!0x0,_0x2a4ec8['emit']('error',_0x58e53c)));}function _0x3569c9(_0x440bc5){const _0x2cc8d9=_0xb9e043;_0x440bc5[_0x2cc8d9(0x23a)]=setTimeout(_0x440bc5[_0x2cc8d9(0x334)]['destroy'][_0x2cc8d9(0x351)](_0x440bc5[_0x2cc8d9(0x334)]),_0x508112);}function _0x4f1fa1(){const _0x37a357=_0xb9e043,_0x5e791a=this[_0x4b6150];this[_0x37a357(0x30b)](_0x37a357(0x35c),_0x4f1fa1),this[_0x37a357(0x30b)](_0x37a357(0x2f6),_0x2d0af8),this[_0x37a357(0x30b)](_0x37a357(0x355),_0x40e546),_0x5e791a[_0x37a357(0x27e)]=_0x4eb6a3[_0x37a357(0x2dc)];let _0x5ac163;!this[_0x37a357(0x2af)][_0x37a357(0x2a6)]&&!_0x5e791a[_0x37a357(0x2e2)]&&!_0x5e791a[_0x37a357(0x25c)][_0x37a357(0x2e1)][_0x37a357(0x319)]&&(_0x5ac163=_0x5e791a[_0x37a357(0x334)][_0x37a357(0x2ac)]())!==null&&_0x5e791a['_receiver'][_0x37a357(0x1ee)](_0x5ac163),_0x5e791a[_0x37a357(0x25c)]['end'](),this[_0x4b6150]=void 0x0,clearTimeout(_0x5e791a[_0x37a357(0x23a)]),_0x5e791a['_receiver'][_0x37a357(0x2e1)][_0x37a357(0x2e5)]||_0x5e791a[_0x37a357(0x25c)][_0x37a357(0x2e1)][_0x37a357(0x319)]?_0x5e791a[_0x37a357(0x340)]():(_0x5e791a['_receiver']['on'](_0x37a357(0x336),_0x4f192b),_0x5e791a[_0x37a357(0x25c)]['on'](_0x37a357(0x1ec),_0x4f192b));}function _0x2d0af8(_0x3da043){const _0x7332ec=_0xb9e043;this[_0x4b6150][_0x7332ec(0x25c)]['write'](_0x3da043)||this[_0x7332ec(0x21f)]();}function _0x40e546(){const _0x205245=_0xb9e043,_0xcddf9b=this[_0x4b6150];_0xcddf9b['_readyState']=_0x4eb6a3[_0x205245(0x2dc)],_0xcddf9b[_0x205245(0x25c)]['end'](),this[_0x205245(0x355)]();}function _0x3e5cac(){const _0x1398f5=_0xb9e043,_0x31a85f=this[_0x4b6150];this[_0x1398f5(0x30b)](_0x1398f5(0x336),_0x3e5cac),this['on'](_0x1398f5(0x336),_0x2070b0),_0x31a85f&&(_0x31a85f[_0x1398f5(0x27e)]=_0x4eb6a3[_0x1398f5(0x2dc)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2b2de8}=_0x86a444;function _0x1b063e(_0x3ed565){const _0x4775d7=_0x5e39;_0x3ed565[_0x4775d7(0x356)]('close');}function _0x4e5593(){const _0x25f955=_0x5e39;!this[_0x25f955(0x25f)]&&this['_writableState'][_0x25f955(0x2e5)]&&this[_0x25f955(0x1f1)]();}function _0x20ce1d(_0x411537){const _0x5e1fa8=_0x5e39;this[_0x5e1fa8(0x30b)](_0x5e1fa8(0x336),_0x20ce1d),this[_0x5e1fa8(0x1f1)](),this[_0x5e1fa8(0x1bb)](_0x5e1fa8(0x336))===0x0&&this[_0x5e1fa8(0x356)](_0x5e1fa8(0x336),_0x411537);}function _0x566b01(_0x3c3af0,_0x1c448f){const _0x34e38d=_0x5e39;let _0xb8256f=!0x0;const _0x177e2a=new _0x2b2de8({..._0x1c448f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3c3af0['on'](_0x34e38d(0x281),function(_0x4fce88,_0x4298c0){const _0x25ae73=_0x34e38d,_0x313800=!_0x4298c0&&_0x177e2a[_0x25ae73(0x2af)][_0x25ae73(0x20e)]?_0x4fce88[_0x25ae73(0x203)]():_0x4fce88;_0x177e2a[_0x25ae73(0x353)](_0x313800)||_0x3c3af0['pause']();}),_0x3c3af0[_0x34e38d(0x204)]('error',function(_0x4b3929){const _0x11e4c7=_0x34e38d;_0x177e2a['destroyed']||(_0xb8256f=!0x1,_0x177e2a[_0x11e4c7(0x1f1)](_0x4b3929));}),_0x3c3af0[_0x34e38d(0x204)](_0x34e38d(0x35c),function(){const _0x33eb46=_0x34e38d;_0x177e2a[_0x33eb46(0x25f)]||_0x177e2a['push'](null);}),_0x177e2a[_0x34e38d(0x1b4)]=function(_0xabee00,_0x45ea5c){const _0x3d36a3=_0x34e38d;if(_0x3c3af0[_0x3d36a3(0x32d)]===_0x3c3af0[_0x3d36a3(0x359)]){_0x45ea5c(_0xabee00),process['nextTick'](_0x1b063e,_0x177e2a);return;}let _0x221f3=!0x1;_0x3c3af0[_0x3d36a3(0x204)](_0x3d36a3(0x336),function(_0x535f2b){_0x221f3=!0x0,_0x45ea5c(_0x535f2b);}),_0x3c3af0[_0x3d36a3(0x204)](_0x3d36a3(0x35c),function(){const _0x48d60c=_0x3d36a3;_0x221f3||_0x45ea5c(_0xabee00),process[_0x48d60c(0x2d9)](_0x1b063e,_0x177e2a);}),_0xb8256f&&_0x3c3af0[_0x3d36a3(0x357)]();},_0x177e2a[_0x34e38d(0x1e4)]=function(_0x3a3c9d){const _0x1a70a0=_0x34e38d;if(_0x3c3af0[_0x1a70a0(0x32d)]===_0x3c3af0[_0x1a70a0(0x29e)]){_0x3c3af0[_0x1a70a0(0x204)](_0x1a70a0(0x242),function(){const _0x2ea53a=_0x1a70a0;_0x177e2a[_0x2ea53a(0x1e4)](_0x3a3c9d);});return;}_0x3c3af0[_0x1a70a0(0x334)]!==null&&(_0x3c3af0[_0x1a70a0(0x334)][_0x1a70a0(0x2e1)][_0x1a70a0(0x2e5)]?(_0x3a3c9d(),_0x177e2a[_0x1a70a0(0x2af)]['endEmitted']&&_0x177e2a['destroy']()):(_0x3c3af0[_0x1a70a0(0x334)][_0x1a70a0(0x204)](_0x1a70a0(0x1ec),function(){_0x3a3c9d();}),_0x3c3af0['close']()));},_0x177e2a[_0x34e38d(0x2dd)]=function(){const _0x42e1af=_0x34e38d;_0x3c3af0[_0x42e1af(0x214)]&&_0x3c3af0[_0x42e1af(0x1d3)]();},_0x177e2a[_0x34e38d(0x34e)]=function(_0x42abbd,_0x46e902,_0x463012){const _0x20e166=_0x34e38d;if(_0x3c3af0[_0x20e166(0x32d)]===_0x3c3af0[_0x20e166(0x29e)]){_0x3c3af0[_0x20e166(0x204)](_0x20e166(0x242),function(){_0x177e2a['_write'](_0x42abbd,_0x46e902,_0x463012);});return;}_0x3c3af0[_0x20e166(0x2b6)](_0x42abbd,_0x463012);},_0x177e2a['on'](_0x34e38d(0x355),_0x4e5593),_0x177e2a['on'](_0x34e38d(0x336),_0x20ce1d),_0x177e2a;}return Oe=_0x566b01,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x120554}=ne();function _0x576bd0(_0xb6da4b){const _0x25ae6f=_0x5e39,_0xd80c61=new Set();let _0x4f3c19=-0x1,_0x209fc9=-0x1,_0x25afb7=0x0;for(_0x25afb7;_0x25afb7<_0xb6da4b[_0x25ae6f(0x324)];_0x25afb7++){const _0x39ca94=_0xb6da4b['charCodeAt'](_0x25afb7);if(_0x209fc9===-0x1&&_0x120554[_0x39ca94]===0x1)_0x4f3c19===-0x1&&(_0x4f3c19=_0x25afb7);else{if(_0x25afb7!==0x0&&(_0x39ca94===0x20||_0x39ca94===0x9))_0x209fc9===-0x1&&_0x4f3c19!==-0x1&&(_0x209fc9=_0x25afb7);else{if(_0x39ca94===0x2c){if(_0x4f3c19===-0x1)throw new SyntaxError(_0x25ae6f(0x28d)+_0x25afb7);_0x209fc9===-0x1&&(_0x209fc9=_0x25afb7);const _0x2fe793=_0xb6da4b['slice'](_0x4f3c19,_0x209fc9);if(_0xd80c61['has'](_0x2fe793))throw new SyntaxError(_0x25ae6f(0x24d)+_0x2fe793+_0x25ae6f(0x30c));_0xd80c61[_0x25ae6f(0x367)](_0x2fe793),_0x4f3c19=_0x209fc9=-0x1;}else throw new SyntaxError(_0x25ae6f(0x28d)+_0x25afb7);}}}if(_0x4f3c19===-0x1||_0x209fc9!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x37526a=_0xb6da4b['slice'](_0x4f3c19,_0x25afb7);if(_0xd80c61[_0x25ae6f(0x1c4)](_0x37526a))throw new SyntaxError('The\x20\x22'+_0x37526a+'\x22\x20subprotocol\x20is\x20duplicated');return _0xd80c61['add'](_0x37526a),_0xd80c61;}return Ce={'parse':_0x576bd0},Ce;}var Te,ot;function er(){const _0x3e4c6f=_0x298064;if(ot)return Te;ot=0x1;const _0x1470a0=_0x4d817a,_0x4a55d3=_0x4d0bd4,{Duplex:_0x294476}=_0x86a444,{createHash:_0x75a1e2}=_0xde823e,_0x52131a=pt(),_0x147aa3=he(),_0x172a8c=Jt(),_0x4ef194=Ie(),{GUID:_0xdd1829,kWebSocket:_0x5aad1c}=V(),_0x32dc23=/^[+/0-9A-Za-z]{22}==$/,_0x1dccce=0x0,_0x6f7ff5=0x1,_0x24a193=0x2;class _0x17f874 extends _0x1470a0{constructor(_0x4f054f,_0x5d2e45){const _0x13543c=_0x5e39;if(super(),_0x4f054f={'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':_0x4ef194,..._0x4f054f},_0x4f054f['port']==null&&!_0x4f054f[_0x13543c(0x210)]&&!_0x4f054f[_0x13543c(0x2a8)]||_0x4f054f['port']!=null&&(_0x4f054f['server']||_0x4f054f[_0x13543c(0x2a8)])||_0x4f054f[_0x13543c(0x210)]&&_0x4f054f['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4f054f[_0x13543c(0x220)]!=null?(this[_0x13543c(0x1bd)]=_0x4a55d3['createServer']((_0x2dc243,_0x294123)=>{const _0x58c7a8=_0x13543c,_0x41bef6=_0x4a55d3[_0x58c7a8(0x300)][0x1aa];_0x294123[_0x58c7a8(0x312)](0x1aa,{'Content-Length':_0x41bef6[_0x58c7a8(0x324)],'Content-Type':'text/plain'}),_0x294123[_0x58c7a8(0x355)](_0x41bef6);}),this['_server'][_0x13543c(0x31e)](_0x4f054f[_0x13543c(0x220)],_0x4f054f[_0x13543c(0x345)],_0x4f054f[_0x13543c(0x1d8)],_0x5d2e45)):_0x4f054f[_0x13543c(0x210)]&&(this[_0x13543c(0x1bd)]=_0x4f054f[_0x13543c(0x210)]),this[_0x13543c(0x1bd)]){const _0x4bb637=this['emit'][_0x13543c(0x351)](this,'connection');this['_removeListeners']=_0x59f8b4(this[_0x13543c(0x1bd)],{'listening':this[_0x13543c(0x356)][_0x13543c(0x351)](this,_0x13543c(0x2e6)),'error':this[_0x13543c(0x356)][_0x13543c(0x351)](this,'error'),'upgrade':(_0x38dacf,_0x2b9358,_0x10ca51)=>{const _0x238276=_0x13543c;this[_0x238276(0x205)](_0x38dacf,_0x2b9358,_0x10ca51,_0x4bb637);}});}_0x4f054f[_0x13543c(0x1e5)]===!0x0&&(_0x4f054f[_0x13543c(0x1e5)]={}),_0x4f054f[_0x13543c(0x1dd)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x4f054f,this['_state']=_0x1dccce;}['address'](){const _0x3b58dc=_0x5e39;if(this['options'][_0x3b58dc(0x2a8)])throw new Error(_0x3b58dc(0x1fc));return this[_0x3b58dc(0x1bd)]?this['_server']['address']():null;}[_0x3e4c6f(0x35c)](_0x5ca5b1){const _0x29497d=_0x3e4c6f;if(this[_0x29497d(0x1df)]===_0x24a193){_0x5ca5b1&&this[_0x29497d(0x204)](_0x29497d(0x35c),()=>{const _0x3962f6=_0x29497d;_0x5ca5b1(new Error(_0x3962f6(0x2fc)));}),process['nextTick'](_0x166cfc,this);return;}if(_0x5ca5b1&&this[_0x29497d(0x204)](_0x29497d(0x35c),_0x5ca5b1),this[_0x29497d(0x1df)]!==_0x6f7ff5){if(this['_state']=_0x6f7ff5,this['options'][_0x29497d(0x2a8)]||this[_0x29497d(0x1d4)][_0x29497d(0x210)])this[_0x29497d(0x1bd)]&&(this[_0x29497d(0x238)](),this[_0x29497d(0x238)]=this['_server']=null),this[_0x29497d(0x265)]?this[_0x29497d(0x265)]['size']?this[_0x29497d(0x34a)]=!0x0:process[_0x29497d(0x2d9)](_0x166cfc,this):process[_0x29497d(0x2d9)](_0x166cfc,this);else{const _0x2b0c1c=this[_0x29497d(0x1bd)];this['_removeListeners'](),this['_removeListeners']=this[_0x29497d(0x1bd)]=null,_0x2b0c1c[_0x29497d(0x35c)](()=>{_0x166cfc(this);});}}}[_0x3e4c6f(0x362)](_0x44f386){const _0x11408a=_0x3e4c6f;if(this[_0x11408a(0x1d4)][_0x11408a(0x1bf)]){const _0x557e64=_0x44f386[_0x11408a(0x33a)]['indexOf']('?');if((_0x557e64!==-0x1?_0x44f386[_0x11408a(0x33a)][_0x11408a(0x21e)](0x0,_0x557e64):_0x44f386[_0x11408a(0x33a)])!==this[_0x11408a(0x1d4)]['path'])return!0x1;}return!0x0;}[_0x3e4c6f(0x205)](_0x38b695,_0x3fcd6c,_0x5171a9,_0x4e0c09){const _0x38f61a=_0x3e4c6f;_0x3fcd6c['on'](_0x38f61a(0x336),_0x5d3721);const _0x2e6e17=_0x38b695[_0x38f61a(0x34d)][_0x38f61a(0x1cc)],_0x46ebee=_0x38b695[_0x38f61a(0x34d)][_0x38f61a(0x230)],_0x38fc85=+_0x38b695[_0x38f61a(0x34d)][_0x38f61a(0x322)];if(_0x38b695[_0x38f61a(0x276)]!=='GET'){_0x2720bc(this,_0x38b695,_0x3fcd6c,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x46ebee===void 0x0||_0x46ebee[_0x38f61a(0x369)]()!==_0x38f61a(0x1dc)){_0x2720bc(this,_0x38b695,_0x3fcd6c,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2e6e17===void 0x0||!_0x32dc23[_0x38f61a(0x257)](_0x2e6e17)){_0x2720bc(this,_0x38b695,_0x3fcd6c,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x38fc85!==0x8&&_0x38fc85!==0xd){_0x2720bc(this,_0x38b695,_0x3fcd6c,0x190,_0x38f61a(0x296));return;}if(!this[_0x38f61a(0x362)](_0x38b695)){_0x1883a0(_0x3fcd6c,0x190);return;}const _0x3e8c94=_0x38b695[_0x38f61a(0x34d)]['sec-websocket-protocol'];let _0x1e3fa4=new Set();if(_0x3e8c94!==void 0x0)try{_0x1e3fa4=_0x172a8c[_0x38f61a(0x209)](_0x3e8c94);}catch{_0x2720bc(this,_0x38b695,_0x3fcd6c,0x190,_0x38f61a(0x335));return;}const _0x17268a=_0x38b695['headers'][_0x38f61a(0x252)],_0xe18a15={};if(this[_0x38f61a(0x1d4)]['perMessageDeflate']&&_0x17268a!==void 0x0){const _0x10e27f=new _0x147aa3(this[_0x38f61a(0x1d4)]['perMessageDeflate'],!0x0,this[_0x38f61a(0x1d4)]['maxPayload']);try{const _0x3c9a1f=_0x52131a['parse'](_0x17268a);_0x3c9a1f[_0x147aa3['extensionName']]&&(_0x10e27f['accept'](_0x3c9a1f[_0x147aa3[_0x38f61a(0x33f)]]),_0xe18a15[_0x147aa3[_0x38f61a(0x33f)]]=_0x10e27f);}catch{_0x2720bc(this,_0x38b695,_0x3fcd6c,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x38f61a(0x1d4)][_0x38f61a(0x20f)]){const _0x1dca80={'origin':_0x38b695[_0x38f61a(0x34d)][''+(_0x38fc85===0x8?_0x38f61a(0x2f0):_0x38f61a(0x22c))],'secure':!!(_0x38b695[_0x38f61a(0x1ce)][_0x38f61a(0x308)]||_0x38b695[_0x38f61a(0x1ce)][_0x38f61a(0x2b3)]),'req':_0x38b695};if(this['options']['verifyClient']['length']===0x2){this[_0x38f61a(0x1d4)][_0x38f61a(0x20f)](_0x1dca80,(_0x83393f,_0x4fd00f,_0x145544,_0x4f2cb1)=>{if(!_0x83393f)return _0x1883a0(_0x3fcd6c,_0x4fd00f||0x191,_0x145544,_0x4f2cb1);this['completeUpgrade'](_0xe18a15,_0x2e6e17,_0x1e3fa4,_0x38b695,_0x3fcd6c,_0x5171a9,_0x4e0c09);});return;}if(!this[_0x38f61a(0x1d4)][_0x38f61a(0x20f)](_0x1dca80))return _0x1883a0(_0x3fcd6c,0x191);}this[_0x38f61a(0x299)](_0xe18a15,_0x2e6e17,_0x1e3fa4,_0x38b695,_0x3fcd6c,_0x5171a9,_0x4e0c09);}[_0x3e4c6f(0x299)](_0x5c2384,_0x1e5241,_0x360445,_0x59eca1,_0x52e9f4,_0x4e3888,_0xb422a3){const _0x490ade=_0x3e4c6f;if(!_0x52e9f4['readable']||!_0x52e9f4[_0x490ade(0x27a)])return _0x52e9f4[_0x490ade(0x1f1)]();if(_0x52e9f4[_0x5aad1c])throw new Error(_0x490ade(0x26e));if(this[_0x490ade(0x1df)]>_0x1dccce)return _0x1883a0(_0x52e9f4,0x1f7);const _0x9a12d9=[_0x490ade(0x225),'Upgrade:\x20websocket',_0x490ade(0x2a3),_0x490ade(0x22b)+_0x75a1e2(_0x490ade(0x2a9))[_0x490ade(0x1da)](_0x1e5241+_0xdd1829)[_0x490ade(0x267)]('base64')],_0x51f78f=new this[(_0x490ade(0x1d4))]['WebSocket'](null,void 0x0,this['options']);if(_0x360445[_0x490ade(0x2b0)]){const _0x1f7530=this[_0x490ade(0x1d4)][_0x490ade(0x2c9)]?this[_0x490ade(0x1d4)][_0x490ade(0x2c9)](_0x360445,_0x59eca1):_0x360445[_0x490ade(0x24f)]()[_0x490ade(0x245)]()['value'];_0x1f7530&&(_0x9a12d9['push'](_0x490ade(0x318)+_0x1f7530),_0x51f78f[_0x490ade(0x1d6)]=_0x1f7530);}if(_0x5c2384[_0x147aa3['extensionName']]){const _0x56fd46=_0x5c2384[_0x147aa3[_0x490ade(0x33f)]][_0x490ade(0x2f3)],_0x3f0091=_0x52131a[_0x490ade(0x305)]({[_0x147aa3[_0x490ade(0x33f)]]:[_0x56fd46]});_0x9a12d9['push'](_0x490ade(0x35f)+_0x3f0091),_0x51f78f['_extensions']=_0x5c2384;}this[_0x490ade(0x356)]('headers',_0x9a12d9,_0x59eca1),_0x52e9f4['write'](_0x9a12d9['concat']('\x0d\x0a')[_0x490ade(0x316)]('\x0d\x0a')),_0x52e9f4[_0x490ade(0x30b)](_0x490ade(0x336),_0x5d3721),_0x51f78f[_0x490ade(0x200)](_0x52e9f4,_0x4e3888,{'allowSynchronousEvents':this['options'][_0x490ade(0x1b5)],'maxPayload':this[_0x490ade(0x1d4)][_0x490ade(0x1e9)],'skipUTF8Validation':this[_0x490ade(0x1d4)]['skipUTF8Validation']}),this['clients']&&(this[_0x490ade(0x265)][_0x490ade(0x367)](_0x51f78f),_0x51f78f['on']('close',()=>{const _0x4abccd=_0x490ade;this['clients'][_0x4abccd(0x1fe)](_0x51f78f),this[_0x4abccd(0x34a)]&&!this[_0x4abccd(0x265)][_0x4abccd(0x2b0)]&&process['nextTick'](_0x166cfc,this);})),_0xb422a3(_0x51f78f,_0x59eca1);}}Te=_0x17f874;function _0x59f8b4(_0x5cbb96,_0x23524e){const _0x1a592b=_0x3e4c6f;for(const _0xdfa41f of Object[_0x1a592b(0x2f9)](_0x23524e))_0x5cbb96['on'](_0xdfa41f,_0x23524e[_0xdfa41f]);return function(){const _0x1c27e9=_0x1a592b;for(const _0x3df08d of Object[_0x1c27e9(0x2f9)](_0x23524e))_0x5cbb96[_0x1c27e9(0x30b)](_0x3df08d,_0x23524e[_0x3df08d]);};}function _0x166cfc(_0x258994){const _0x2c13e7=_0x3e4c6f;_0x258994['_state']=_0x24a193,_0x258994[_0x2c13e7(0x356)](_0x2c13e7(0x35c));}function _0x5d3721(){const _0x524c1b=_0x3e4c6f;this[_0x524c1b(0x1f1)]();}function _0x1883a0(_0xa859a5,_0x487e65,_0x29a70c,_0x557a1b){const _0x2554b7=_0x3e4c6f;_0x29a70c=_0x29a70c||_0x4a55d3[_0x2554b7(0x300)][_0x487e65],_0x557a1b={'Connection':_0x2554b7(0x35c),'Content-Type':'text/html','Content-Length':Buffer[_0x2554b7(0x2d8)](_0x29a70c),..._0x557a1b},_0xa859a5[_0x2554b7(0x204)](_0x2554b7(0x1ec),_0xa859a5[_0x2554b7(0x1f1)]),_0xa859a5[_0x2554b7(0x355)](_0x2554b7(0x29c)+_0x487e65+'\x20'+_0x4a55d3[_0x2554b7(0x300)][_0x487e65]+'\x0d\x0a'+Object[_0x2554b7(0x2f9)](_0x557a1b)[_0x2554b7(0x20b)](_0x34e09b=>_0x34e09b+':\x20'+_0x557a1b[_0x34e09b])[_0x2554b7(0x316)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x29a70c);}function _0x2720bc(_0x36f1db,_0x2a1a8b,_0x44686f,_0xdff8c8,_0x1b4cf7){const _0x24428a=_0x3e4c6f;if(_0x36f1db['listenerCount'](_0x24428a(0x310))){const _0x2af417=new Error(_0x1b4cf7);Error[_0x24428a(0x2d7)](_0x2af417,_0x2720bc),_0x36f1db['emit'](_0x24428a(0x310),_0x2af417,_0x44686f,_0x2a1a8b);}else _0x1883a0(_0x44686f,_0xdff8c8,_0x1b4cf7);}return Te;}er();var tr=Object[_0x298064(0x1f4)],rr=(_0x24af20,_0x5a030e,_0x1785d8,_0x2f023a)=>{const _0x2e5037=_0x298064;for(var _0x14515f=_0x2f023a>0x1?void 0x0:_0x2f023a?tr(_0x5a030e,_0x1785d8):_0x5a030e,_0x50e019=_0x24af20[_0x2e5037(0x324)]-0x1,_0x4487f6;_0x50e019>=0x0;_0x50e019--)(_0x4487f6=_0x24af20[_0x50e019])&&(_0x14515f=_0x4487f6(_0x14515f)||_0x14515f);return _0x14515f;},sr=(_0x3c65ec,_0x817eae)=>(_0x368229,_0x4714a5)=>_0x817eae(_0x368229,_0x4714a5,_0x3c65ec);let Ne=class extends _0x9f2452{constructor(_0x296a04){const _0x36c8c2=_0x298064;super(),this[_0x36c8c2(0x234)]=_0x296a04;}[_0x298064(0x284)](_0x4315c4){const _0x3078fd=_0x298064;var _0x5295d0;const _0x580581=(_0x5295d0=this[_0x3078fd(0x234)][_0x3078fd(0x354)](Be))==null?void 0x0:_0x5295d0[_0x3078fd(0x34f)];try{const _0x1c52d1=new Qt(_0x4315c4,{'headers':{..._0x580581}}),_0x15193f=new _0x58b199();return{'URL':_0x4315c4,'close':(_0x2c73ab,_0x18faad)=>{const _0xb3f9dc=_0x3078fd;_0x1c52d1[_0xb3f9dc(0x35c)](_0x2c73ab,_0x18faad),_0x15193f[_0xb3f9dc(0x2b1)]();},'send':_0x529a94=>{const _0x4f0607=_0x3078fd;_0x1c52d1[_0x4f0607(0x2b6)](_0x529a94);},'open$':new _0x32d4ea(_0xf806a5=>{const _0x5cd885=_0x3078fd,_0x4b72f1=_0x208e76=>_0xf806a5[_0x5cd885(0x245)](_0x208e76);_0x1c52d1[_0x5cd885(0x326)](_0x5cd885(0x242),_0x4b72f1),_0x15193f[_0x5cd885(0x367)](_0x392c28(()=>_0x1c52d1[_0x5cd885(0x24a)](_0x5cd885(0x242),_0x4b72f1)));})[_0x3078fd(0x256)](_0x209594()),'close$':new _0x32d4ea(_0x4257bb=>{const _0x131e45=_0x3078fd,_0x17b1ed=_0x389405=>_0x4257bb[_0x131e45(0x245)](_0x389405);_0x1c52d1[_0x131e45(0x326)](_0x131e45(0x35c),_0x17b1ed),_0x15193f[_0x131e45(0x367)](_0x392c28(()=>_0x1c52d1[_0x131e45(0x24a)](_0x131e45(0x35c),_0x17b1ed)));})[_0x3078fd(0x256)](_0x209594()),'error$':new _0x32d4ea(_0x40655a=>{const _0x39f0d4=_0x3078fd,_0xfa1ed1=_0x9366b7=>_0x40655a[_0x39f0d4(0x245)](_0x9366b7);_0x1c52d1['addEventListener'](_0x39f0d4(0x336),_0xfa1ed1),_0x15193f[_0x39f0d4(0x367)](_0x392c28(()=>_0x1c52d1['removeEventListener'](_0x39f0d4(0x336),_0xfa1ed1)));})[_0x3078fd(0x256)](_0x209594()),'message$':new _0x32d4ea(_0x40cd4d=>{const _0xfffa18=_0x3078fd,_0x288bf7=_0x310d8b=>_0x40cd4d[_0xfffa18(0x245)](_0x310d8b);_0x1c52d1[_0xfffa18(0x326)]('message',_0x288bf7),_0x15193f[_0xfffa18(0x367)](_0x392c28(()=>_0x1c52d1[_0xfffa18(0x24a)](_0xfffa18(0x281),_0x288bf7)));})[_0x3078fd(0x256)](_0x209594())};}catch(_0x56af67){return console[_0x3078fd(0x336)](_0x56af67),null;}}};Ne=rr([sr(0x0,_0x513d33)],Ne);var ir=Object[_0x298064(0x366)],nr=Object[_0x298064(0x1f4)],or=(_0x4bd16f,_0x585359,_0x1b2993)=>_0x585359 in _0x4bd16f?ir(_0x4bd16f,_0x585359,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b2993}):_0x4bd16f[_0x585359]=_0x1b2993,ar=(_0x361fe9,_0x28aec4,_0x44208c,_0x3cdac9)=>{const _0xef8e26=_0x298064;for(var _0x1b118a=_0x3cdac9>0x1?void 0x0:_0x3cdac9?nr(_0x28aec4,_0x44208c):_0x28aec4,_0x48467d=_0x361fe9[_0xef8e26(0x324)]-0x1,_0x271838;_0x48467d>=0x0;_0x48467d--)(_0x271838=_0x361fe9[_0x48467d])&&(_0x1b118a=_0x271838(_0x1b118a)||_0x1b118a);return _0x1b118a;},ke=(_0x4d307a,_0x3028c6)=>(_0x54263c,_0x41dfe9)=>_0x3028c6(_0x54263c,_0x41dfe9,_0x4d307a),lr=(_0x380cc4,_0x1cc667,_0x54a6ca)=>or(_0x380cc4,_0x1cc667+'',_0x54a6ca);let Pe=class extends _0x5a43ee{constructor(_0x37a359=Ft,_0xb3be5f,_0x1584cd,_0x2bf4c9){const _0x341d85=_0x298064;_0x37a359[_0x341d85(0x34f)]||_0xb3be5f[_0x341d85(0x244)](_0x341d85(0x31f)),super(),this[_0x341d85(0x234)]=_0x1584cd,this['_injector']=_0x2bf4c9,this[_0x341d85(0x234)][_0x341d85(0x325)](Be,_0x37a359);}['onStarting'](){const _0x50bfda=_0x298064;this[_0x50bfda(0x289)]();}[_0x298064(0x289)](){_0x16e645(this['_injector'],[[_0x1d2dbc,{'useClass':Ne}]]);}};function _0x5e39(_0x4f63a2,_0x2516ff){const _0x5f1b62=_0x5f1b();return _0x5e39=function(_0x5e3910,_0x5944c0){_0x5e3910=_0x5e3910-0x1b4;let _0xfc47f6=_0x5f1b62[_0x5e3910];return _0xfc47f6;},_0x5e39(_0x4f63a2,_0x2516ff);}lr(Pe,_0x298064(0x31b),_0x298064(0x2b4)),Pe=ar([_0xaf7739(_0x4c7f55),ke(0x1,_0x1880a1),ke(0x2,_0x513d33),ke(0x3,_0x5dead2(_0x44f61c))],Pe);function _0x5f1b(){const _0x233fd4=['next','Unknown\x20parameter\x20\x22','clientMaxWindowBits','search','href','removeEventListener','invalid\x20status\x20code\x20','getBlobData','The\x20\x22','consume','values','function','extensions','sec-websocket-extensions','649XAMczd','redirect','base64','pipe','test','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','isServer','binaryType','Sec-WebSocket-Extensions','_receiver','kData','kCode','destroyed','setNoDelay','string','Sec-WebSocket-Origin','generateMask','_autoPong','clients','Unexpected\x20end\x20of\x20input','digest','The\x20URL\x27s\x20pathname\x20is\x20empty','_fragments','dataMessage','kRun','fragments','Server\x20sent\x20no\x20subprotocol','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','dequeue','Invalid\x20value\x20for\x20parameter\x20\x22','_fin','_deflate','buffer','pow','object','method','_sender','fin','_mask','writable','8NdDtWC','cork','_generateMask','_readyState','servername','split','message','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','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','createSocket','69370VHaCnK','Server\x20sent\x20an\x20invalid\x20subprotocol','OPEN','target','_registerDependencies','_binaryType','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','accept','Unexpected\x20character\x20at\x20index\x20','getMask','invalid\x20payload\x20length\x20','_decompress','getData','unshift','kByteLength','opcode','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kReason','shift','completeUpgrade','protocol','handleEvent','HTTP/1.1\x20','_messageLength','CONNECTING','ws+unix:','isIP','_closeFrameSent','isArray','Connection:\x20Upgrade','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_doCreateSocket','endEmitted','The\x20URL\x20contains\x20a\x20fragment\x20identifier','noServer','sha1','kListener','acceptAsClient','read','call','acceptAsServer','_readableState','size','dispose','type','encrypted','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','response','send','compress','construct','controlMessage','timeout','RSV1\x20must\x20be\x20clear','sec-websocket-accept','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Cookie','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_bufferedAmount','Sec-WebSocket-Protocol','concat','blob','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','File','autoPong','Invalid\x20Upgrade\x20header','sendFrame','handleProtocols','getPayloadLength64','_redirects','createConnection','normalizeParams','toStringTag','_allowSynchronousEvents','_compressed','removeAllListeners','WS_NO_UTF_8_VALIDATE','includes','18045VPhFCb','indexOf','statusCode','captureStackTrace','byteLength','nextTick','permessage-deflate','_options','CLOSING','_read','_skipUTF8Validation','WS_ERR_INVALID_CLOSE_CODE','kTarget','_writableState','_closeFrameReceived','rsv1','apply','finished','listening','auth','Z_DEFAULT_WINDOWBITS','setHeader','decompress','reason','Upgrade','enqueue','63VCshNf','zlibInflateOptions','sec-websocket-origin','registerHTTPInterceptor','abort','params','422sCcuBt','protocolVersion','data','readUInt32BE','bufferedAmount','keys','flush','freeze','The\x20server\x20is\x20not\x20running','server_no_context_takeover','get','1991097ygDdBf','STATUS_CODES','kMessage','arrayBuffer','Invalid\x20WebSocket\x20frame:\x20','__esModule','format','createError','MASK\x20must\x20be\x20set','authorized','wasClean','serverMaxWindowBits','removeListener','\x22\x20subprotocol\x20is\x20duplicated','allocUnsafe','_threshold','kError','wsClientError','alloc','writeHead','90714iUrmia','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','concurrencyLimit','join','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Sec-WebSocket-Protocol:\x20','errorEmitted','charCodeAt','pluginName','4670380sQKAhU','readUInt16BE','listen','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','maxRedirects','isValidUTF8','sec-websocket-version','haveLength','length','setConfig','addEventListener','client','onerror','byteOffset','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','code','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','readyState','_no_context_takeover','Parameter\x20\x22','wss:','replace','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','callback','_socket','Invalid\x20Sec-WebSocket-Protocol\x20header','error','_firstFragment','_closeCode','arraybuffer','url','_isServer','invalid\x20opcode\x200','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','1108HtZAXn','extensionName','emitClose','getPayloadLength16','onopen','authorization','serverNoContextTakeover','host','pending','Unsupported\x20protocol\x20version:\x20','jobs','Maximum\x20redirects\x20exceeded','_shouldEmitClose','writeUInt16BE','_maxPayload','headers','_write','customHeaders','getInfo','bind','_closeMessage','push','getConfig','end','emit','terminate','server_max_window_bits','CLOSED','_extensions','ws:','close','https:','hostname','Sec-WebSocket-Extensions:\x20','_queue','_opcode','shouldHandle','request','onclose','_loop','defineProperty','add','\x22:\x20','toLowerCase','skipUTF8Validation','cleanup','_destroy','allowSynchronousEvents','invalid\x20UTF-8\x20sequence','find','conclude','startLoop','binary','listenerCount','createInflateRaw','_server','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','path','cookie','socketPath','set','nodebuffer','has','_fragmented','Invalid\x20Sec-WebSocket-Accept\x20header','6387fzjggN','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','username','pathname','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','sec-websocket-key','followRedirects','socket','handshakeTimeout','createDeflateRaw','Basic\x20','clientNoContextTakeover','resume','options','WS_ERR_INVALID_OPCODE','_protocol','3816vtJfhs','backlog','pong','update','_url','websocket','clientTracking','unmask','_state','ping','concurrency','WS_ERR_UNEXPECTED_RSV_1','default','_final','perMessageDeflate','zlibDeflateOptions','status-code','total-length','maxPayload','_totalPayloadLength','stream','finish','_req','write','Module','forEach','destroy','writeUIntBE','defaultPort','getOwnPropertyDescriptor','_masked','needDrain','then','listeners','constructor','hash','exports','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','dispatch','delete','finishRequest','setSocket','client_max_window_bits','608970oEMDDL','toString','once','handleUpgrade','_errorEmitted','prototype','entries','parse','_errored','map','hasOwnProperty','drain','objectMode','verifyClient','server','Opening\x20handshake\x20has\x20timed\x20out','_compress','mask','isPaused','FIN\x20must\x20be\x20set','client_no_context_takeover','catch','Unexpected\x20server\x20response:\x20','_buffers','connect','_paused','create','invalid\x20opcode\x20','slice','pause','port','readOnly','offer','threshold','_inflate','HTTP/1.1\x20101\x20Switching\x20Protocols','_payloadLength','_originalSecure','_maskBuffer','buffers','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Sec-WebSocket-Accept:\x20','origin','WS_ERR_EXPECTED_FIN','onmessage','number','upgrade','isView','from','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_configService','species','kIsForOnEventAttribute','password','_removeListeners','kDone','_closeTimer','Invalid\x20Sec-WebSocket-Extensions\x20header','location','_max_window_bits','_originalHostOrSocketPath','_originalIpc','frame','Max\x20payload\x20size\x20exceeded','open','_bufferedBytes','warn'];_0x5f1b=function(){return _0x233fd4;};return _0x5f1b();}var fr=Object[_0x298064(0x1f4)],cr=(_0x21c54,_0x4d23be,_0xa84b3,_0x4c327c)=>{const _0x42a395=_0x298064;for(var _0x51d8e6=_0x4c327c>0x1?void 0x0:_0x4c327c?fr(_0x4d23be,_0xa84b3):_0x4d23be,_0x3322eb=_0x21c54[_0x42a395(0x324)]-0x1,_0x52ed10;_0x3322eb>=0x0;_0x3322eb--)(_0x52ed10=_0x21c54[_0x3322eb])&&(_0x51d8e6=_0x52ed10(_0x51d8e6)||_0x51d8e6);return _0x51d8e6;},se=(_0x2fe30a,_0x4123d5)=>(_0x4385c9,_0xb5ea48)=>_0x4123d5(_0x4385c9,_0xb5ea48,_0x2fe30a);let at=class extends _0x23b334{constructor(_0x424f85,_0x39b42e,_0x1eda01,_0x46d7c6,_0x3bd481){const _0x419686=_0x298064;super(_0x424f85,_0x39b42e,_0x1eda01,_0x46d7c6,_0x3bd481);const _0x2b5869=this[_0x419686(0x234)][_0x419686(0x354)](Be);this['_httpService'][_0x419686(0x2f1)]({'interceptor':(_0x285323,_0xdda345)=>{const _0x2f0389=_0x419686;var _0x44198b;const _0xb0878b=_0x285323[_0x2f0389(0x34d)];return(_0x44198b=_0x2b5869==null?void 0x0:_0x2b5869[_0x2f0389(0x34f)])!=null&&_0x44198b['cookie']&&_0xb0878b[_0x2f0389(0x1c2)](_0x2f0389(0x2be),_0x2b5869[_0x2f0389(0x34f)][_0x2f0389(0x1c0)]),_0xdda345(_0x285323);}});}async[_0x298064(0x284)](_0x193bad){const _0x37648a=_0x298064;return this[_0x37648a(0x2a5)](_0x193bad);}};at=cr([se(0x0,_0x5dead2(_0x44f61c)),se(0x1,_0x5dead2(_0x35b122)),se(0x2,_0x513d33),se(0x3,_0x1880a1),se(0x4,_0x41ce95)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x546d16=_0x4674;function _0x47a6(){const _0x45d024=['CLOSING','sec-websocket-accept','join','threshold','extensions','reason','find','http:','onopen','delete','parse','call','_read','_destroy','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','pipe','_compressed','pow','maxRedirects','defineProperty','_errorEmitted','_socket','isBuffer','WS_ERR_EXPECTED_FIN','https:','port','pong','clientTracking','createServer','binary','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','address','WS_ERR_UNEXPECTED_RSV_2_3','authorized','3670566BvEVsa','Max\x20payload\x20size\x20exceeded','invalid\x20opcode\x20','listeners','_firstFragment','constructor','replace','WS_ERR_INVALID_UTF8','_extensions','enqueue','arraybuffer','server_max_window_bits','ws+unix:','create','origin','buffers','bind','generateMask','value','_buffers','sec-websocket-extensions','_inflate','clientMaxWindowBits','concurrency','_errored','haveLength','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','server_no_context_takeover','permessage-deflate','client_no_context_takeover','entries','kMessage','_autoPong','isInteger','dataMessage','_skipUTF8Validation','once','apply','_redirects','frame','base64','type','Origin','getConfig','message','finish','nextTick','_closeFrameReceived','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','\x22:\x20','setSocket','_fin','wss:','_no_context_takeover','_maxPayload','_fragmented','isView','_fragments','Sec-WebSocket-Accept:\x20','has','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Parameter\x20\x22','exports','params','registerHTTPInterceptor','listenerCount','status-code','_binaryType','onStarting','_registerDependencies','readyState','fin','Unexpected\x20server\x20response:\x20','removeEventListener','send','write','connect','timeout','sendFrame','listen','_receiver','_readableState','OPEN','customHeaders','_isServer','set','toLowerCase','sec-websocket-protocol','_generateMask','930376eQCFVY','length','kCode','hash','_sender','kError','getBlobData','catch','kIsForOnEventAttribute','createDeflateRaw','push','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','byteLength','handleUpgrade','Upgrade','_closeCode','The\x20server\x20is\x20not\x20running','string','test','handleProtocols','WS_ERR_INVALID_CLOSE_CODE','jobs','drain','password','path','RSV1\x20must\x20be\x20clear','charCodeAt','map','kWasClean','Blob','Invalid\x20Sec-WebSocket-Extensions\x20header','indexOf','listening','text/plain','dispatch','isArray','WS_ERR_INVALID_OPCODE','code','Invalid\x20WebSocket\x20frame:\x20','slice','_masked','client','_payloadLength','Z_DEFAULT_WINDOWBITS','File','autoPong','redirect','_allowSynchronousEvents','uncork','Server\x20sent\x20an\x20invalid\x20subprotocol','pending','emitClose','_httpService','ws:','flush','removeListener','_shouldEmitClose','emit','perMessageDeflate','includes','invalid\x20status\x20code\x20','freeze','binaryType','from','connection','writable','needDrain','allocUnsafe','statusCode','2996084lzrtai','split','handleEvent','resume','opcode','Sec-WebSocket-Origin','update','702279ucZaqw','Invalid\x20Sec-WebSocket-Accept\x20header','Invalid\x20Upgrade\x20header','_injector','createConnection','hasOwnProperty','clients','followRedirects','add','mask','forEach','WebSocket','terminate','compress','open','The\x20URL\x27s\x20pathname\x20is\x20empty','_closeTimer','MASK\x20must\x20be\x20set','verifyClient','kListener','search','Sec-WebSocket-Protocol:\x20','getMask','Invalid\x20Sec-WebSocket-Protocol\x20header','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','getData','close','stream','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Invalid\x20URL:\x20','writeUIntBE','options','Maximum\x20redirects\x20exceeded','_removeListeners','_bufferedAmount','Unknown\x20parameter\x20\x22','errorEmitted','response','wsClientError','serverNoContextTakeover','_mask','socketPath','_decompress','cookie','onclose','Server\x20sent\x20no\x20subprotocol','byteOffset','_maskBuffer','headers','_bufferedBytes','Basic\x20','getOwnPropertyDescriptor','createSocket','concat','invalid\x20payload\x20length\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','url','isIP','authorization','HTTP/1.1\x20101\x20Switching\x20Protocols','unexpected-response','toString','arrayBuffer','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','encrypted','WS_ERR_UNEXPECTED_RSV_1','normalizeParams','setConfig','construct','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Opening\x20handshake\x20has\x20timed\x20out','isServer','unshift','function','target','websocket','destroy','object','writeUInt16BE','destroyed','username','finished','size','allowSynchronousEvents','fragments','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','reset','noServer','accept','controlMessage','The\x20\x22','format','prototype','Z_SYNC_FLUSH','isValidUTF8','alloc','_state','_final','_write','blob','method','upgrade','env','_opcode','host','finishRequest','auth','_messageLength','Unexpected\x20end\x20of\x20input','captureStackTrace','writeHead','socket','Cookie','setTimeout','then','pluginName','pause','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','CLOSED','_originalHostOrSocketPath','server','number','Unsupported\x20protocol\x20version:\x20','6624520pTENgc','client_max_window_bits','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','rsv1','Sec-WebSocket-Extensions','shift','_paused','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_options','hostname','Upgrade:\x20websocket','read','readUInt16BE','clientNoContextTakeover','STATUS_CODES','_originalIpc','bufferedAmount','toStringTag','_configService','Unexpected\x20character\x20at\x20index\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','protocol','consume','_protocol','maskBuffer','kData','_closeFrameSent','getPayloadLength16','unmask','createError','CONNECTING','_totalPayloadLength','onerror','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','buffer','isPaused','serverMaxWindowBits','kByteLength','data','invalid\x20opcode\x200','startLoop','species','get','Invalid\x20value\x20for\x20parameter\x20\x22','abort','_queue','_req','WS_NO_UTF_8_VALIDATE','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_loop','startsWith','default','\x0d\x0a\x0d\x0a','dequeue','pathname','endEmitted','maxPayload','setHeader','GET','nodebuffer','_compress','acceptAsServer','_writableState','ping','getPayloadLength64','offer','FIN\x20must\x20be\x20set','keys','readOnly','_closeMessage','_originalSecure','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','protocolVersion','wasClean','_readyState','error','4664QPjZhY','_server','servername','_deflate','1040573LBUPHP','__esModule','decompress','sec-websocket-version','concurrencyLimit','defaultPort','end','skipUTF8Validation','\x22\x20subprotocol\x20is\x20duplicated','extensionName','addEventListener','\x20(supported\x20versions:\x20','cork','_doCreateSocket','43575aujCvv','_url','completeUpgrade','_threshold','Module','sha1','next','conclude','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes'];_0x47a6=function(){return _0x45d024;};return _0x47a6();}(function(_0x4e0d26,_0x349e69){const _0x1e94c5=_0x4674,_0x13b489=_0x4e0d26();while(!![]){try{const _0x12b505=-parseInt(_0x1e94c5(0x2dd))/0x1+-parseInt(_0x1e94c5(0x1c4))/0x2+-parseInt(_0x1e94c5(0x210))/0x3+parseInt(_0x1e94c5(0x209))/0x4+-parseInt(_0x1e94c5(0x28b))/0x5+-parseInt(_0x1e94c5(0x16a))/0x6+-parseInt(_0x1e94c5(0x2eb))/0x7*(-parseInt(_0x1e94c5(0x2d9))/0x8);if(_0x12b505===_0x349e69)break;else _0x13b489['push'](_0x13b489['shift']());}catch(_0xad0c96){_0x13b489['push'](_0x13b489['shift']());}}}(_0x47a6,0xab4ed));import{UniverCollaborationClientPlugin as _0x40c54a,CollaborationSocketService as _0x3a1dc3}from'@univerjs-pro/collaboration-client';import{Disposable as _0x18f86f,DisposableCollection as _0x5786e7,toDisposable as _0x48137d,IConfigService as _0xa65f77,DependentOn as _0x12cc14,ILogService as _0x228d0a,Inject as _0x409b75,Injector as _0x616772,Plugin as _0x683629,registerDependencies as _0x27dac9}from'@univerjs/core';import{ISocketService as _0x3d50bd,HTTPService as _0x5b66c9}from'@univerjs/network';import{Observable as _0x1e774a,share as _0x45c42a}from'rxjs';import _0x32b9e1 from'events';function _0x4674(_0x26bd7b,_0x1c9316){const _0x47a665=_0x47a6();return _0x4674=function(_0x4674bf,_0x5c4b22){_0x4674bf=_0x4674bf-0x146;let _0x164b00=_0x47a665[_0x4674bf];return _0x164b00;},_0x4674(_0x26bd7b,_0x1c9316);}import _0x45f55e from'https';import _0x46caed from'http';import _0x436f77 from'net';import _0x3c76ca from'tls';import _0x3e737a from'crypto';import _0x3b9e42 from'stream';import _0x586367 from'url';import _0x213259 from'zlib';import _0x333f36 from'buffer';import{ISnapshotServerService as _0x1db943}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x67b7ef){const _0x325b7e=_0x4674;return _0x67b7ef&&_0x67b7ef[_0x325b7e(0x2de)]&&Object['prototype']['hasOwnProperty'][_0x325b7e(0x153)](_0x67b7ef,_0x325b7e(0x2c0))?_0x67b7ef['default']:_0x67b7ef;}function ut(_0x452fff){const _0x468d09=_0x4674;if(Object[_0x468d09(0x26c)][_0x468d09(0x215)]['call'](_0x452fff,'__esModule'))return _0x452fff;var _0x4efa91=_0x452fff['default'];if(typeof _0x4efa91=='function'){var _0x2cf5cd=function _0x1c8c42(){const _0x408bad=_0x468d09;return this instanceof _0x1c8c42?Reflect[_0x408bad(0x254)](_0x4efa91,arguments,this[_0x408bad(0x16f)]):_0x4efa91[_0x408bad(0x190)](this,arguments);};_0x2cf5cd['prototype']=_0x4efa91[_0x468d09(0x26c)];}else _0x2cf5cd={};return Object['defineProperty'](_0x2cf5cd,_0x468d09(0x2de),{'value':!0x0}),Object[_0x468d09(0x2d0)](_0x452fff)[_0x468d09(0x21a)](function(_0x275f17){const _0x2cb5f4=_0x468d09;var _0x1da642=Object[_0x2cb5f4(0x243)](_0x452fff,_0x275f17);Object['defineProperty'](_0x2cf5cd,_0x275f17,_0x1da642[_0x2cb5f4(0x2b7)]?_0x1da642:{'enumerable':!0x0,'get':function(){return _0x452fff[_0x275f17];}});}),_0x2cf5cd;}var te={'exports':{}},ge,Ye;function V(){const _0x820bb0=_0x4674;if(Ye)return ge;Ye=0x1;const _0x5b8537=[_0x820bb0(0x2c8),_0x820bb0(0x174),_0x820bb0(0x264)],_0x5937ff=typeof Blob<'u';return _0x5937ff&&_0x5b8537[_0x820bb0(0x1ce)]('blob'),ge={'BINARY_TYPES':_0x5b8537,'EMPTY_BUFFER':Buffer[_0x820bb0(0x26f)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x5937ff,'kForOnEventAttribute':Symbol(_0x820bb0(0x1cc)),'kListener':Symbol(_0x820bb0(0x223)),'kStatusCode':Symbol(_0x820bb0(0x1ad)),'kWebSocket':Symbol(_0x820bb0(0x25b)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x546d16(0x201)](Object[_0x546d16(0x15b)]({'__proto__':null,'default':Wt},Symbol[_0x546d16(0x29d)],{'value':_0x546d16(0x2ef)})),Vt=ut(Gt);var Ke;function ce(){const _0x32453d=_0x546d16;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x4a63e3}=V(),_0xd05c72=Buffer[Symbol[_0x32453d(0x2b6)]];function _0xf414aa(_0x3c73ab,_0x2a389f){const _0x5bdf16=_0x32453d;if(_0x3c73ab['length']===0x0)return _0x4a63e3;if(_0x3c73ab[_0x5bdf16(0x1c5)]===0x1)return _0x3c73ab[0x0];const _0x1b3158=Buffer['allocUnsafe'](_0x2a389f);let _0x2cc3e5=0x0;for(let _0x5053a9=0x0;_0x5053a9<_0x3c73ab[_0x5bdf16(0x1c5)];_0x5053a9++){const _0x4be1c0=_0x3c73ab[_0x5053a9];_0x1b3158['set'](_0x4be1c0,_0x2cc3e5),_0x2cc3e5+=_0x4be1c0['length'];}return _0x2cc3e5<_0x2a389f?new _0xd05c72(_0x1b3158[_0x5bdf16(0x2af)],_0x1b3158[_0x5bdf16(0x23e)],_0x2cc3e5):_0x1b3158;}function _0x3e5143(_0x59ed18,_0x114d72,_0x52194d,_0x45dcb0,_0x13198e){for(let _0x3e8d83=0x0;_0x3e8d83<_0x13198e;_0x3e8d83++)_0x52194d[_0x45dcb0+_0x3e8d83]=_0x59ed18[_0x3e8d83]^_0x114d72[_0x3e8d83&0x3];}function _0x4ea6fe(_0x262880,_0x4321f4){const _0x2df7ea=_0x32453d;for(let _0x5e4d48=0x0;_0x5e4d48<_0x262880[_0x2df7ea(0x1c5)];_0x5e4d48++)_0x262880[_0x5e4d48]^=_0x4321f4[_0x5e4d48&0x3];}function _0x3a5b37(_0x519ec7){const _0x198066=_0x32453d;return _0x519ec7[_0x198066(0x1c5)]===_0x519ec7['buffer'][_0x198066(0x1d0)]?_0x519ec7[_0x198066(0x2af)]:_0x519ec7[_0x198066(0x2af)][_0x198066(0x1eb)](_0x519ec7[_0x198066(0x23e)],_0x519ec7[_0x198066(0x23e)]+_0x519ec7[_0x198066(0x1c5)]);}function _0xb1ab2a(_0x3dc297){const _0x10952b=_0x32453d;if(_0xb1ab2a['readOnly']=!0x0,Buffer[_0x10952b(0x15e)](_0x3dc297))return _0x3dc297;let _0x4dda53;return _0x3dc297 instanceof ArrayBuffer?_0x4dda53=new _0xd05c72(_0x3dc297):ArrayBuffer[_0x10952b(0x1a3)](_0x3dc297)?_0x4dda53=new _0xd05c72(_0x3dc297['buffer'],_0x3dc297[_0x10952b(0x23e)],_0x3dc297[_0x10952b(0x1d0)]):(_0x4dda53=Buffer[_0x10952b(0x203)](_0x3dc297),_0xb1ab2a[_0x10952b(0x2d1)]=!0x1),_0x4dda53;}if(te[_0x32453d(0x1a9)]={'concat':_0xf414aa,'mask':_0x3e5143,'toArrayBuffer':_0x3a5b37,'toBuffer':_0xb1ab2a,'unmask':_0x4ea6fe},!process[_0x32453d(0x276)]['WS_NO_BUFFER_UTIL'])try{const _0x5bb240=Vt;te['exports'][_0x32453d(0x219)]=function(_0x463221,_0x3e14f1,_0x34decc,_0x54cc6a,_0x270702){const _0x385853=_0x32453d;_0x270702<0x30?_0x3e5143(_0x463221,_0x3e14f1,_0x34decc,_0x54cc6a,_0x270702):_0x5bb240[_0x385853(0x219)](_0x463221,_0x3e14f1,_0x34decc,_0x54cc6a,_0x270702);},te[_0x32453d(0x1a9)]['unmask']=function(_0x28d9af,_0x1b2ae6){const _0xc52c4=_0x32453d;_0x28d9af[_0xc52c4(0x1c5)]<0x20?_0x4ea6fe(_0x28d9af,_0x1b2ae6):_0x5bb240[_0xc52c4(0x2a8)](_0x28d9af,_0x1b2ae6);};}catch{}return te[_0x32453d(0x1a9)];}var ye,Xe;function qt(){const _0x5f2bf9=_0x546d16;if(Xe)return ye;Xe=0x1;const _0x165eb8=Symbol('kDone'),_0x313027=Symbol('kRun');class _0x17fc77{constructor(_0x26597a){const _0x31b657=_0x4674;this[_0x165eb8]=()=>{this['pending']--,this[_0x313027]();},this[_0x31b657(0x181)]=_0x26597a||0x1/0x0,this[_0x31b657(0x1d9)]=[],this[_0x31b657(0x1f6)]=0x0;}[_0x5f2bf9(0x218)](_0x2fae16){const _0x3ff9a6=_0x5f2bf9;this['jobs'][_0x3ff9a6(0x1ce)](_0x2fae16),this[_0x313027]();}[_0x313027](){const _0x3cfc20=_0x5f2bf9;if(this['pending']!==this[_0x3cfc20(0x181)]&&this['jobs']['length']){const _0x1b2575=this[_0x3cfc20(0x1d9)][_0x3cfc20(0x290)]();this[_0x3cfc20(0x1f6)]++,_0x1b2575(this[_0x165eb8]);}}}return ye=_0x17fc77,ye;}var ve,Ze;function he(){const _0x863534=_0x546d16;if(Ze)return ve;Ze=0x1;const _0x3353fd=_0x213259,_0x1b2f88=ce(),_0x3a85d0=qt(),{kStatusCode:_0xa422c4}=V(),_0x5877e1=Buffer[Symbol[_0x863534(0x2b6)]],_0x17db50=Buffer[_0x863534(0x203)]([0x0,0x0,0xff,0xff]),_0x5cf318=Symbol(_0x863534(0x187)),_0x3fc3f3=Symbol('total-length'),_0x4741bd=Symbol('callback'),_0x5b55bf=Symbol(_0x863534(0x179)),_0x42a620=Symbol(_0x863534(0x2d8));let _0x327a49;class _0x40eaf5{constructor(_0x3885af,_0x26295c,_0x14f4ff){const _0x111d0f=_0x863534;if(this[_0x111d0f(0x1a1)]=_0x14f4ff|0x0,this[_0x111d0f(0x294)]=_0x3885af||{},this[_0x111d0f(0x2ee)]=this[_0x111d0f(0x294)][_0x111d0f(0x14b)]!==void 0x0?this['_options']['threshold']:0x400,this['_isServer']=!!_0x26295c,this[_0x111d0f(0x2dc)]=null,this['_inflate']=null,this[_0x111d0f(0x1aa)]=null,!_0x327a49){const _0x4b62a8=this['_options'][_0x111d0f(0x2e1)]!==void 0x0?this[_0x111d0f(0x294)][_0x111d0f(0x2e1)]:0xa;_0x327a49=new _0x3a85d0(_0x4b62a8);}}static get[_0x863534(0x2e6)](){const _0x4158ce=_0x863534;return _0x4158ce(0x187);}[_0x863534(0x2ce)](){const _0x3f072c=_0x863534,_0xed1aaa={};return this['_options'][_0x3f072c(0x237)]&&(_0xed1aaa[_0x3f072c(0x186)]=!0x0),this[_0x3f072c(0x294)][_0x3f072c(0x299)]&&(_0xed1aaa['client_no_context_takeover']=!0x0),this[_0x3f072c(0x294)]['serverMaxWindowBits']&&(_0xed1aaa['server_max_window_bits']=this[_0x3f072c(0x294)]['serverMaxWindowBits']),this[_0x3f072c(0x294)][_0x3f072c(0x180)]?_0xed1aaa[_0x3f072c(0x28c)]=this[_0x3f072c(0x294)][_0x3f072c(0x180)]:this[_0x3f072c(0x294)]['clientMaxWindowBits']==null&&(_0xed1aaa[_0x3f072c(0x28c)]=!0x0),_0xed1aaa;}[_0x863534(0x268)](_0x2b44e8){const _0x50ec1d=_0x863534;return _0x2b44e8=this[_0x50ec1d(0x252)](_0x2b44e8),this['params']=this['_isServer']?this['acceptAsServer'](_0x2b44e8):this['acceptAsClient'](_0x2b44e8),this[_0x50ec1d(0x1aa)];}['cleanup'](){const _0x5db15a=_0x863534;if(this[_0x5db15a(0x17f)]&&(this[_0x5db15a(0x17f)]['close'](),this[_0x5db15a(0x17f)]=null),this[_0x5db15a(0x2dc)]){const _0xd806b4=this[_0x5db15a(0x2dc)][_0x4741bd];this['_deflate'][_0x5db15a(0x22a)](),this[_0x5db15a(0x2dc)]=null,_0xd806b4&&_0xd806b4(new Error(_0x5db15a(0x247)));}}[_0x863534(0x2ca)](_0x240b54){const _0x1bd4e7=_0x863534,_0x6af629=this[_0x1bd4e7(0x294)],_0xb72a23=_0x240b54[_0x1bd4e7(0x14e)](_0x5df826=>!(_0x6af629['serverNoContextTakeover']===!0x1&&_0x5df826['server_no_context_takeover']||_0x5df826[_0x1bd4e7(0x175)]&&(_0x6af629[_0x1bd4e7(0x2b1)]===!0x1||typeof _0x6af629[_0x1bd4e7(0x2b1)]==_0x1bd4e7(0x289)&&_0x6af629[_0x1bd4e7(0x2b1)]>_0x5df826['server_max_window_bits'])||typeof _0x6af629[_0x1bd4e7(0x180)]==_0x1bd4e7(0x289)&&!_0x5df826['client_max_window_bits']));if(!_0xb72a23)throw new Error(_0x1bd4e7(0x292));return _0x6af629['serverNoContextTakeover']&&(_0xb72a23[_0x1bd4e7(0x186)]=!0x0),_0x6af629[_0x1bd4e7(0x299)]&&(_0xb72a23[_0x1bd4e7(0x188)]=!0x0),typeof _0x6af629[_0x1bd4e7(0x2b1)]==_0x1bd4e7(0x289)&&(_0xb72a23[_0x1bd4e7(0x175)]=_0x6af629['serverMaxWindowBits']),typeof _0x6af629[_0x1bd4e7(0x180)]==_0x1bd4e7(0x289)?_0xb72a23[_0x1bd4e7(0x28c)]=_0x6af629[_0x1bd4e7(0x180)]:(_0xb72a23[_0x1bd4e7(0x28c)]===!0x0||_0x6af629[_0x1bd4e7(0x180)]===!0x1)&&delete _0xb72a23[_0x1bd4e7(0x28c)],_0xb72a23;}['acceptAsClient'](_0x435637){const _0x8aa0d3=_0x863534,_0x7683c=_0x435637[0x0];if(this[_0x8aa0d3(0x294)]['clientNoContextTakeover']===!0x1&&_0x7683c['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x7683c[_0x8aa0d3(0x28c)])typeof this[_0x8aa0d3(0x294)][_0x8aa0d3(0x180)]==_0x8aa0d3(0x289)&&(_0x7683c[_0x8aa0d3(0x28c)]=this[_0x8aa0d3(0x294)][_0x8aa0d3(0x180)]);else{if(this[_0x8aa0d3(0x294)][_0x8aa0d3(0x180)]===!0x1||typeof this[_0x8aa0d3(0x294)][_0x8aa0d3(0x180)]=='number'&&_0x7683c[_0x8aa0d3(0x28c)]>this[_0x8aa0d3(0x294)][_0x8aa0d3(0x180)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x7683c;}[_0x863534(0x252)](_0x54007e){const _0x84158c=_0x863534;return _0x54007e[_0x84158c(0x21a)](_0x44d15d=>{const _0x25d835=_0x84158c;Object[_0x25d835(0x2d0)](_0x44d15d)['forEach'](_0x9f0496=>{const _0x17e9b1=_0x25d835;let _0x437acc=_0x44d15d[_0x9f0496];if(_0x437acc[_0x17e9b1(0x1c5)]>0x1)throw new Error(_0x17e9b1(0x1a8)+_0x9f0496+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x437acc=_0x437acc[0x0],_0x9f0496===_0x17e9b1(0x28c)){if(_0x437acc!==!0x0){const _0x4568e2=+_0x437acc;if(!Number[_0x17e9b1(0x18c)](_0x4568e2)||_0x4568e2<0x8||_0x4568e2>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x9f0496+_0x17e9b1(0x19c)+_0x437acc);_0x437acc=_0x4568e2;}else{if(!this[_0x17e9b1(0x1bf)])throw new TypeError(_0x17e9b1(0x2b8)+_0x9f0496+_0x17e9b1(0x19c)+_0x437acc);}}else{if(_0x9f0496===_0x17e9b1(0x175)){const _0x1f1298=+_0x437acc;if(!Number[_0x17e9b1(0x18c)](_0x1f1298)||_0x1f1298<0x8||_0x1f1298>0xf)throw new TypeError(_0x17e9b1(0x2b8)+_0x9f0496+_0x17e9b1(0x19c)+_0x437acc);_0x437acc=_0x1f1298;}else{if(_0x9f0496===_0x17e9b1(0x188)||_0x9f0496==='server_no_context_takeover'){if(_0x437acc!==!0x0)throw new TypeError(_0x17e9b1(0x2b8)+_0x9f0496+_0x17e9b1(0x19c)+_0x437acc);}else throw new Error(_0x17e9b1(0x233)+_0x9f0496+'\x22');}}_0x44d15d[_0x9f0496]=_0x437acc;});}),_0x54007e;}['decompress'](_0x4ac196,_0x3965a0,_0x3e760c){const _0x6c2670=_0x863534;_0x327a49[_0x6c2670(0x218)](_0x3a0292=>{const _0x3a247b=_0x6c2670;this[_0x3a247b(0x23a)](_0x4ac196,_0x3965a0,(_0xcbe5dc,_0x1c1f29)=>{_0x3a0292(),_0x3e760c(_0xcbe5dc,_0x1c1f29);});});}[_0x863534(0x21d)](_0x4dd907,_0xea9e6,_0x488801){_0x327a49['add'](_0x1f60ae=>{const _0x586727=_0x4674;this[_0x586727(0x2c9)](_0x4dd907,_0xea9e6,(_0x48c478,_0x5b93b2)=>{_0x1f60ae(),_0x488801(_0x48c478,_0x5b93b2);});});}['_decompress'](_0x3b32b9,_0x238dc5,_0x3ceddf){const _0x266047=_0x863534,_0x3b8464=this[_0x266047(0x1bf)]?'client':_0x266047(0x288);if(!this['_inflate']){const _0x3d098b=_0x3b8464+'_max_window_bits',_0x544619=typeof this[_0x266047(0x1aa)][_0x3d098b]!=_0x266047(0x289)?_0x3353fd[_0x266047(0x1ef)]:this[_0x266047(0x1aa)][_0x3d098b];this[_0x266047(0x17f)]=_0x3353fd['createInflateRaw']({...this[_0x266047(0x294)]['zlibInflateOptions'],'windowBits':_0x544619}),this[_0x266047(0x17f)][_0x5cf318]=this,this[_0x266047(0x17f)][_0x3fc3f3]=0x0,this['_inflate'][_0x5b55bf]=[],this[_0x266047(0x17f)]['on'](_0x266047(0x2d8),_0x24b8c9),this[_0x266047(0x17f)]['on'](_0x266047(0x2b3),_0x55b74);}this['_inflate'][_0x4741bd]=_0x3ceddf,this['_inflate'][_0x266047(0x1b6)](_0x3b32b9),_0x238dc5&&this[_0x266047(0x17f)][_0x266047(0x1b6)](_0x17db50),this[_0x266047(0x17f)][_0x266047(0x1fa)](()=>{const _0x9524a9=_0x266047,_0xac8020=this[_0x9524a9(0x17f)][_0x42a620];if(_0xac8020){this['_inflate']['close'](),this[_0x9524a9(0x17f)]=null,_0x3ceddf(_0xac8020);return;}const _0x42a7f9=_0x1b2f88['concat'](this[_0x9524a9(0x17f)][_0x5b55bf],this[_0x9524a9(0x17f)][_0x3fc3f3]);this[_0x9524a9(0x17f)][_0x9524a9(0x1bc)][_0x9524a9(0x2c4)]?(this[_0x9524a9(0x17f)][_0x9524a9(0x22a)](),this[_0x9524a9(0x17f)]=null):(this[_0x9524a9(0x17f)][_0x3fc3f3]=0x0,this['_inflate'][_0x5b55bf]=[],_0x238dc5&&this[_0x9524a9(0x1aa)][_0x3b8464+_0x9524a9(0x1a0)]&&this['_inflate'][_0x9524a9(0x266)]()),_0x3ceddf(null,_0x42a7f9);});}[_0x863534(0x2c9)](_0x495284,_0x4ca8f8,_0x32cd24){const _0x57f7da=_0x863534,_0x4b708c=this['_isServer']?_0x57f7da(0x288):_0x57f7da(0x1ed);if(!this[_0x57f7da(0x2dc)]){const _0x2c730f=_0x4b708c+'_max_window_bits',_0x55010c=typeof this[_0x57f7da(0x1aa)][_0x2c730f]!=_0x57f7da(0x289)?_0x3353fd[_0x57f7da(0x1ef)]:this[_0x57f7da(0x1aa)][_0x2c730f];this[_0x57f7da(0x2dc)]=_0x3353fd[_0x57f7da(0x1cd)]({...this[_0x57f7da(0x294)]['zlibDeflateOptions'],'windowBits':_0x55010c}),this['_deflate'][_0x3fc3f3]=0x0,this['_deflate'][_0x5b55bf]=[],this[_0x57f7da(0x2dc)]['on'](_0x57f7da(0x2b3),_0x3984c9);}this[_0x57f7da(0x2dc)][_0x4741bd]=_0x32cd24,this[_0x57f7da(0x2dc)][_0x57f7da(0x1b6)](_0x495284),this[_0x57f7da(0x2dc)][_0x57f7da(0x1fa)](_0x3353fd[_0x57f7da(0x26d)],()=>{const _0xcd795b=_0x57f7da;if(!this['_deflate'])return;let _0x52782b=_0x1b2f88[_0xcd795b(0x245)](this[_0xcd795b(0x2dc)][_0x5b55bf],this[_0xcd795b(0x2dc)][_0x3fc3f3]);_0x4ca8f8&&(_0x52782b=new _0x5877e1(_0x52782b['buffer'],_0x52782b[_0xcd795b(0x23e)],_0x52782b[_0xcd795b(0x1c5)]-0x4)),this[_0xcd795b(0x2dc)][_0x4741bd]=null,this['_deflate'][_0x3fc3f3]=0x0,this[_0xcd795b(0x2dc)][_0x5b55bf]=[],_0x4ca8f8&&this['params'][_0x4b708c+'_no_context_takeover']&&this[_0xcd795b(0x2dc)][_0xcd795b(0x266)](),_0x32cd24(null,_0x52782b);});}}ve=_0x40eaf5;function _0x3984c9(_0x176255){const _0x30ccfd=_0x863534;this[_0x5b55bf][_0x30ccfd(0x1ce)](_0x176255),this[_0x3fc3f3]+=_0x176255[_0x30ccfd(0x1c5)];}function _0x55b74(_0x33d47d){const _0x36c3f4=_0x863534;if(this[_0x3fc3f3]+=_0x33d47d['length'],this[_0x5cf318][_0x36c3f4(0x1a1)]<0x1||this[_0x3fc3f3]<=this[_0x5cf318][_0x36c3f4(0x1a1)]){this[_0x5b55bf][_0x36c3f4(0x1ce)](_0x33d47d);return;}this[_0x42a620]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x42a620][_0x36c3f4(0x1e9)]=_0x36c3f4(0x2d4),this[_0x42a620][_0xa422c4]=0x3f1,this[_0x36c3f4(0x1fb)]('data',_0x55b74),this[_0x36c3f4(0x266)]();}function _0x24b8c9(_0x2c7cc4){const _0x4fb077=_0x863534;this[_0x5cf318][_0x4fb077(0x17f)]=null,_0x2c7cc4[_0xa422c4]=0x3ef,this[_0x4741bd](_0x2c7cc4);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x546d16(0x15b)]({'__proto__':null,'default':Ht},Symbol[_0x546d16(0x29d)],{'value':_0x546d16(0x2ef)})),Yt=ut(zt);var Qe;function ne(){const _0x5a5c4b=_0x546d16;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0xb653a}=_0x333f36,{hasBlob:_0x569856}=V(),_0x752911=[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 _0x37f7f5(_0x20c47f){return _0x20c47f>=0x3e8&&_0x20c47f<=0x3f6&&_0x20c47f!==0x3ec&&_0x20c47f!==0x3ed&&_0x20c47f!==0x3ee||_0x20c47f>=0xbb8&&_0x20c47f<=0x1387;}function _0x1990ba(_0x2625db){const _0x383726=_0x4674,_0x153a02=_0x2625db[_0x383726(0x1c5)];let _0x2939f5=0x0;for(;_0x2939f5<_0x153a02;)if((_0x2625db[_0x2939f5]&0x80)===0x0)_0x2939f5++;else{if((_0x2625db[_0x2939f5]&0xe0)===0xc0){if(_0x2939f5+0x1===_0x153a02||(_0x2625db[_0x2939f5+0x1]&0xc0)!==0x80||(_0x2625db[_0x2939f5]&0xfe)===0xc0)return!0x1;_0x2939f5+=0x2;}else{if((_0x2625db[_0x2939f5]&0xf0)===0xe0){if(_0x2939f5+0x2>=_0x153a02||(_0x2625db[_0x2939f5+0x1]&0xc0)!==0x80||(_0x2625db[_0x2939f5+0x2]&0xc0)!==0x80||_0x2625db[_0x2939f5]===0xe0&&(_0x2625db[_0x2939f5+0x1]&0xe0)===0x80||_0x2625db[_0x2939f5]===0xed&&(_0x2625db[_0x2939f5+0x1]&0xe0)===0xa0)return!0x1;_0x2939f5+=0x3;}else{if((_0x2625db[_0x2939f5]&0xf8)===0xf0){if(_0x2939f5+0x3>=_0x153a02||(_0x2625db[_0x2939f5+0x1]&0xc0)!==0x80||(_0x2625db[_0x2939f5+0x2]&0xc0)!==0x80||(_0x2625db[_0x2939f5+0x3]&0xc0)!==0x80||_0x2625db[_0x2939f5]===0xf0&&(_0x2625db[_0x2939f5+0x1]&0xf0)===0x80||_0x2625db[_0x2939f5]===0xf4&&_0x2625db[_0x2939f5+0x1]>0x8f||_0x2625db[_0x2939f5]>0xf4)return!0x1;_0x2939f5+=0x4;}else return!0x1;}}}return!0x0;}function _0xfec81a(_0x224d64){const _0x3e5f49=_0x4674;return _0x569856&&typeof _0x224d64==_0x3e5f49(0x25d)&&typeof _0x224d64[_0x3e5f49(0x24e)]=='function'&&typeof _0x224d64[_0x3e5f49(0x194)]==_0x3e5f49(0x1d5)&&typeof _0x224d64[_0x3e5f49(0x22b)]=='function'&&(_0x224d64[Symbol[_0x3e5f49(0x29d)]]===_0x3e5f49(0x1e1)||_0x224d64[Symbol['toStringTag']]===_0x3e5f49(0x1f0));}if(re['exports']={'isBlob':_0xfec81a,'isValidStatusCode':_0x37f7f5,'isValidUTF8':_0x1990ba,'tokenChars':_0x752911},_0xb653a)re['exports'][_0x5a5c4b(0x26e)]=function(_0x2b5fcd){const _0xf09632=_0x5a5c4b;return _0x2b5fcd[_0xf09632(0x1c5)]<0x18?_0x1990ba(_0x2b5fcd):_0xb653a(_0x2b5fcd);};else{if(!process[_0x5a5c4b(0x276)][_0x5a5c4b(0x2bc)])try{const _0x34f31f=Yt;re[_0x5a5c4b(0x1a9)][_0x5a5c4b(0x26e)]=function(_0x2279d1){const _0x2d553c=_0x5a5c4b;return _0x2279d1[_0x2d553c(0x1c5)]<0x20?_0x1990ba(_0x2279d1):_0x34f31f(_0x2279d1);};}catch{}}return re[_0x5a5c4b(0x1a9)];}var Se,Je;function dt(){const _0x21c777=_0x546d16;if(Je)return Se;Je=0x1;const {Writable:_0x31bd64}=_0x3b9e42,_0x3c0fbe=he(),{BINARY_TYPES:_0xe1b908,EMPTY_BUFFER:_0x598905,kStatusCode:_0xe10cc1,kWebSocket:_0x3df065}=V(),{concat:_0x31a3e0,toArrayBuffer:_0x4bdad1,unmask:_0x59c371}=ce(),{isValidStatusCode:_0x56c571,isValidUTF8:_0x3f4643}=ne(),_0x379131=Buffer[Symbol[_0x21c777(0x2b6)]],_0x2727d8=0x0,_0x1deaa4=0x1,_0x295381=0x2,_0x8df894=0x3,_0x471b40=0x4,_0x241f53=0x5,_0x4a50da=0x6;class _0x220f1e extends _0x31bd64{constructor(_0xa9c77a={}){const _0x51b6ad=_0x21c777;super(),this[_0x51b6ad(0x1f3)]=_0xa9c77a['allowSynchronousEvents']!==void 0x0?_0xa9c77a[_0x51b6ad(0x263)]:!0x0,this[_0x51b6ad(0x1ae)]=_0xa9c77a['binaryType']||_0xe1b908[0x0],this[_0x51b6ad(0x172)]=_0xa9c77a['extensions']||{},this[_0x51b6ad(0x1bf)]=!!_0xa9c77a[_0x51b6ad(0x257)],this['_maxPayload']=_0xa9c77a[_0x51b6ad(0x2c5)]|0x0,this[_0x51b6ad(0x18e)]=!!_0xa9c77a['skipUTF8Validation'],this[_0x3df065]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x51b6ad(0x158)]=!0x1,this[_0x51b6ad(0x1ee)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x51b6ad(0x277)]=0x0,this[_0x51b6ad(0x2ab)]=0x0,this[_0x51b6ad(0x27b)]=0x0,this[_0x51b6ad(0x1a4)]=[],this[_0x51b6ad(0x182)]=!0x1,this[_0x51b6ad(0x2be)]=!0x1,this['_state']=_0x2727d8;}['_write'](_0x5dc2af,_0x416ed6,_0x3f8556){const _0x21dd12=_0x21c777;if(this[_0x21dd12(0x277)]===0x8&&this['_state']==_0x2727d8)return _0x3f8556();this['_bufferedBytes']+=_0x5dc2af['length'],this[_0x21dd12(0x17d)][_0x21dd12(0x1ce)](_0x5dc2af),this[_0x21dd12(0x2b5)](_0x3f8556);}[_0x21c777(0x2a2)](_0x49ad10){const _0x49d803=_0x21c777;if(this[_0x49d803(0x241)]-=_0x49ad10,_0x49ad10===this['_buffers'][0x0]['length'])return this[_0x49d803(0x17d)][_0x49d803(0x290)]();if(_0x49ad10<this[_0x49d803(0x17d)][0x0][_0x49d803(0x1c5)]){const _0x55ee2b=this[_0x49d803(0x17d)][0x0];return this[_0x49d803(0x17d)][0x0]=new _0x379131(_0x55ee2b[_0x49d803(0x2af)],_0x55ee2b['byteOffset']+_0x49ad10,_0x55ee2b[_0x49d803(0x1c5)]-_0x49ad10),new _0x379131(_0x55ee2b[_0x49d803(0x2af)],_0x55ee2b[_0x49d803(0x23e)],_0x49ad10);}const _0x424df2=Buffer[_0x49d803(0x207)](_0x49ad10);do{const _0x3e768f=this[_0x49d803(0x17d)][0x0],_0x457724=_0x424df2[_0x49d803(0x1c5)]-_0x49ad10;_0x49ad10>=_0x3e768f[_0x49d803(0x1c5)]?_0x424df2['set'](this[_0x49d803(0x17d)][_0x49d803(0x290)](),_0x457724):(_0x424df2['set'](new Uint8Array(_0x3e768f['buffer'],_0x3e768f['byteOffset'],_0x49ad10),_0x457724),this[_0x49d803(0x17d)][0x0]=new _0x379131(_0x3e768f[_0x49d803(0x2af)],_0x3e768f['byteOffset']+_0x49ad10,_0x3e768f['length']-_0x49ad10)),_0x49ad10-=_0x3e768f[_0x49d803(0x1c5)];}while(_0x49ad10>0x0);return _0x424df2;}[_0x21c777(0x2b5)](_0x111172){const _0x524615=_0x21c777;this[_0x524615(0x2be)]=!0x0;do switch(this[_0x524615(0x270)]){case _0x2727d8:this['getInfo'](_0x111172);break;case _0x1deaa4:this[_0x524615(0x2a7)](_0x111172);break;case _0x295381:this[_0x524615(0x2cd)](_0x111172);break;case _0x8df894:this[_0x524615(0x226)]();break;case _0x471b40:this[_0x524615(0x229)](_0x111172);break;case _0x241f53:case _0x4a50da:this[_0x524615(0x2be)]=!0x1;return;}while(this[_0x524615(0x2be)]);this[_0x524615(0x182)]||_0x111172();}['getInfo'](_0x375d5c){const _0x1411e7=_0x21c777;if(this[_0x1411e7(0x241)]<0x2){this['_loop']=!0x1;return;}const _0x490b33=this['consume'](0x2);if((_0x490b33[0x0]&0x30)!==0x0){const _0x46140d=this[_0x1411e7(0x2a9)](RangeError,_0x1411e7(0x293),!0x0,0x3ea,_0x1411e7(0x168));_0x375d5c(_0x46140d);return;}const _0x151d30=(_0x490b33[0x0]&0x40)===0x40;if(_0x151d30&&!this[_0x1411e7(0x172)][_0x3c0fbe[_0x1411e7(0x2e6)]]){const _0x59e34d=this[_0x1411e7(0x2a9)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1411e7(0x251));_0x375d5c(_0x59e34d);return;}if(this[_0x1411e7(0x19e)]=(_0x490b33[0x0]&0x80)===0x80,this[_0x1411e7(0x277)]=_0x490b33[0x0]&0xf,this['_payloadLength']=_0x490b33[0x1]&0x7f,this[_0x1411e7(0x277)]===0x0){if(_0x151d30){const _0x13bbb6=this[_0x1411e7(0x2a9)](RangeError,_0x1411e7(0x1dd),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x375d5c(_0x13bbb6);return;}if(!this[_0x1411e7(0x1a2)]){const _0x53eea5=this[_0x1411e7(0x2a9)](RangeError,_0x1411e7(0x2b4),!0x0,0x3ea,_0x1411e7(0x1e8));_0x375d5c(_0x53eea5);return;}this['_opcode']=this[_0x1411e7(0x1a2)];}else{if(this[_0x1411e7(0x277)]===0x1||this[_0x1411e7(0x277)]===0x2){if(this[_0x1411e7(0x1a2)]){const _0x7e9ab9=this['createError'](RangeError,_0x1411e7(0x16c)+this[_0x1411e7(0x277)],!0x0,0x3ea,_0x1411e7(0x1e8));_0x375d5c(_0x7e9ab9);return;}this[_0x1411e7(0x158)]=_0x151d30;}else{if(this[_0x1411e7(0x277)]>0x7&&this[_0x1411e7(0x277)]<0xb){if(!this[_0x1411e7(0x19e)]){const _0xb29536=this[_0x1411e7(0x2a9)](RangeError,_0x1411e7(0x2cf),!0x0,0x3ea,_0x1411e7(0x15f));_0x375d5c(_0xb29536);return;}if(_0x151d30){const _0x342098=this[_0x1411e7(0x2a9)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1411e7(0x251));_0x375d5c(_0x342098);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x4fde9e=this[_0x1411e7(0x2a9)](RangeError,_0x1411e7(0x246)+this['_payloadLength'],!0x0,0x3ea,_0x1411e7(0x1a7));_0x375d5c(_0x4fde9e);return;}}else{const _0x499c9f=this['createError'](RangeError,_0x1411e7(0x16c)+this[_0x1411e7(0x277)],!0x0,0x3ea,_0x1411e7(0x1e8));_0x375d5c(_0x499c9f);return;}}}if(!this[_0x1411e7(0x19e)]&&!this['_fragmented']&&(this[_0x1411e7(0x1a2)]=this[_0x1411e7(0x277)]),this[_0x1411e7(0x1ec)]=(_0x490b33[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x1411e7(0x1ec)]){const _0x21df8f=this[_0x1411e7(0x2a9)](RangeError,_0x1411e7(0x221),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x375d5c(_0x21df8f);return;}}else{if(this[_0x1411e7(0x1ec)]){const _0x46a37b=this[_0x1411e7(0x2a9)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x375d5c(_0x46a37b);return;}}this['_payloadLength']===0x7e?this[_0x1411e7(0x270)]=_0x1deaa4:this[_0x1411e7(0x1ee)]===0x7f?this[_0x1411e7(0x270)]=_0x295381:this[_0x1411e7(0x183)](_0x375d5c);}[_0x21c777(0x2a7)](_0x9ea39b){const _0x5eb0aa=_0x21c777;if(this[_0x5eb0aa(0x241)]<0x2){this[_0x5eb0aa(0x2be)]=!0x1;return;}this[_0x5eb0aa(0x1ee)]=this[_0x5eb0aa(0x2a2)](0x2)['readUInt16BE'](0x0),this[_0x5eb0aa(0x183)](_0x9ea39b);}[_0x21c777(0x2cd)](_0x12fb25){const _0x285e9e=_0x21c777;if(this[_0x285e9e(0x241)]<0x8){this[_0x285e9e(0x2be)]=!0x1;return;}const _0x4b46f8=this[_0x285e9e(0x2a2)](0x8),_0xc72d03=_0x4b46f8['readUInt32BE'](0x0);if(_0xc72d03>Math['pow'](0x2,0x15)-0x1){const _0x5af7e3=this[_0x285e9e(0x2a9)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x285e9e(0x184));_0x12fb25(_0x5af7e3);return;}this['_payloadLength']=_0xc72d03*Math[_0x285e9e(0x159)](0x2,0x20)+_0x4b46f8['readUInt32BE'](0x4),this[_0x285e9e(0x183)](_0x12fb25);}[_0x21c777(0x183)](_0x4a81e7){const _0x4367ae=_0x21c777;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x4367ae(0x2ab)]+=this[_0x4367ae(0x1ee)],this[_0x4367ae(0x2ab)]>this[_0x4367ae(0x1a1)]&&this[_0x4367ae(0x1a1)]>0x0)){const _0x3b22c6=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4a81e7(_0x3b22c6);return;}this[_0x4367ae(0x1ec)]?this[_0x4367ae(0x270)]=_0x8df894:this[_0x4367ae(0x270)]=_0x471b40;}[_0x21c777(0x226)](){const _0x5baf45=_0x21c777;if(this[_0x5baf45(0x241)]<0x4){this[_0x5baf45(0x2be)]=!0x1;return;}this[_0x5baf45(0x238)]=this[_0x5baf45(0x2a2)](0x4),this[_0x5baf45(0x270)]=_0x471b40;}[_0x21c777(0x229)](_0x2f372d){const _0x4938ad=_0x21c777;let _0x4e48a3=_0x598905;if(this[_0x4938ad(0x1ee)]){if(this[_0x4938ad(0x241)]<this[_0x4938ad(0x1ee)]){this[_0x4938ad(0x2be)]=!0x1;return;}_0x4e48a3=this[_0x4938ad(0x2a2)](this['_payloadLength']),this['_masked']&&(this[_0x4938ad(0x238)][0x0]|this[_0x4938ad(0x238)][0x1]|this[_0x4938ad(0x238)][0x2]|this[_0x4938ad(0x238)][0x3])!==0x0&&_0x59c371(_0x4e48a3,this[_0x4938ad(0x238)]);}if(this[_0x4938ad(0x277)]>0x7){this[_0x4938ad(0x269)](_0x4e48a3,_0x2f372d);return;}if(this[_0x4938ad(0x158)]){this[_0x4938ad(0x270)]=_0x241f53,this['decompress'](_0x4e48a3,_0x2f372d);return;}_0x4e48a3['length']&&(this['_messageLength']=this[_0x4938ad(0x2ab)],this[_0x4938ad(0x1a4)][_0x4938ad(0x1ce)](_0x4e48a3)),this[_0x4938ad(0x18d)](_0x2f372d);}[_0x21c777(0x2df)](_0x58b0fb,_0x22ec4c){const _0x20df84=_0x21c777;this[_0x20df84(0x172)][_0x3c0fbe[_0x20df84(0x2e6)]][_0x20df84(0x2df)](_0x58b0fb,this[_0x20df84(0x19e)],(_0x5e89a1,_0x1babce)=>{const _0x532900=_0x20df84;if(_0x5e89a1)return _0x22ec4c(_0x5e89a1);if(_0x1babce[_0x532900(0x1c5)]){if(this[_0x532900(0x27b)]+=_0x1babce['length'],this[_0x532900(0x27b)]>this['_maxPayload']&&this[_0x532900(0x1a1)]>0x0){const _0x38bcfd=this['createError'](RangeError,_0x532900(0x16b),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x22ec4c(_0x38bcfd);return;}this['_fragments']['push'](_0x1babce);}this[_0x532900(0x18d)](_0x22ec4c),this['_state']===_0x2727d8&&this[_0x532900(0x2b5)](_0x22ec4c);});}['dataMessage'](_0x303b6f){const _0x10ca34=_0x21c777;if(!this['_fin']){this[_0x10ca34(0x270)]=_0x2727d8;return;}const _0x5a6809=this[_0x10ca34(0x27b)],_0x2c6570=this['_fragments'];if(this[_0x10ca34(0x2ab)]=0x0,this[_0x10ca34(0x27b)]=0x0,this[_0x10ca34(0x1a2)]=0x0,this[_0x10ca34(0x1a4)]=[],this[_0x10ca34(0x277)]===0x2){let _0x2a53f4;this[_0x10ca34(0x1ae)]===_0x10ca34(0x2c8)?_0x2a53f4=_0x31a3e0(_0x2c6570,_0x5a6809):this[_0x10ca34(0x1ae)]===_0x10ca34(0x174)?_0x2a53f4=_0x4bdad1(_0x31a3e0(_0x2c6570,_0x5a6809)):this[_0x10ca34(0x1ae)]===_0x10ca34(0x273)?_0x2a53f4=new Blob(_0x2c6570):_0x2a53f4=_0x2c6570,this[_0x10ca34(0x1f3)]?(this['emit']('message',_0x2a53f4,!0x0),this[_0x10ca34(0x270)]=_0x2727d8):(this[_0x10ca34(0x270)]=_0x4a50da,setImmediate(()=>{const _0x1a83b8=_0x10ca34;this[_0x1a83b8(0x1fd)](_0x1a83b8(0x197),_0x2a53f4,!0x0),this[_0x1a83b8(0x270)]=_0x2727d8,this[_0x1a83b8(0x2b5)](_0x303b6f);}));}else{const _0x5439c7=_0x31a3e0(_0x2c6570,_0x5a6809);if(!this[_0x10ca34(0x18e)]&&!_0x3f4643(_0x5439c7)){const _0x5ab8f8=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x10ca34(0x171));_0x303b6f(_0x5ab8f8);return;}this[_0x10ca34(0x270)]===_0x241f53||this[_0x10ca34(0x1f3)]?(this[_0x10ca34(0x1fd)]('message',_0x5439c7,!0x1),this[_0x10ca34(0x270)]=_0x2727d8):(this[_0x10ca34(0x270)]=_0x4a50da,setImmediate(()=>{const _0x534926=_0x10ca34;this[_0x534926(0x1fd)](_0x534926(0x197),_0x5439c7,!0x1),this[_0x534926(0x270)]=_0x2727d8,this['startLoop'](_0x303b6f);}));}}[_0x21c777(0x269)](_0x10cef6,_0x66c469){const _0x3f3720=_0x21c777;if(this[_0x3f3720(0x277)]===0x8){if(_0x10cef6[_0x3f3720(0x1c5)]===0x0)this[_0x3f3720(0x2be)]=!0x1,this[_0x3f3720(0x1fd)](_0x3f3720(0x146),0x3ed,_0x598905),this[_0x3f3720(0x2e3)]();else{const _0x37d191=_0x10cef6[_0x3f3720(0x298)](0x0);if(!_0x56c571(_0x37d191)){const _0x1d9a90=this['createError'](RangeError,_0x3f3720(0x200)+_0x37d191,!0x0,0x3ea,_0x3f3720(0x1d8));_0x66c469(_0x1d9a90);return;}const _0x3b1059=new _0x379131(_0x10cef6[_0x3f3720(0x2af)],_0x10cef6[_0x3f3720(0x23e)]+0x2,_0x10cef6[_0x3f3720(0x1c5)]-0x2);if(!this[_0x3f3720(0x18e)]&&!_0x3f4643(_0x3b1059)){const _0x37cef5=this[_0x3f3720(0x2a9)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3f3720(0x171));_0x66c469(_0x37cef5);return;}this[_0x3f3720(0x2be)]=!0x1,this[_0x3f3720(0x1fd)]('conclude',_0x37d191,_0x3b1059),this['end']();}this['_state']=_0x2727d8;return;}this[_0x3f3720(0x1f3)]?(this['emit'](this[_0x3f3720(0x277)]===0x9?'ping':_0x3f3720(0x162),_0x10cef6),this[_0x3f3720(0x270)]=_0x2727d8):(this['_state']=_0x4a50da,setImmediate(()=>{const _0x4959dc=_0x3f3720;this[_0x4959dc(0x1fd)](this['_opcode']===0x9?_0x4959dc(0x2cc):_0x4959dc(0x162),_0x10cef6),this[_0x4959dc(0x270)]=_0x2727d8,this['startLoop'](_0x66c469);}));}[_0x21c777(0x2a9)](_0x365882,_0x1a151b,_0x293e28,_0x24ae52,_0x5ace89){const _0x1ce03c=_0x21c777;this[_0x1ce03c(0x2be)]=!0x1,this[_0x1ce03c(0x182)]=!0x0;const _0x408be8=new _0x365882(_0x293e28?_0x1ce03c(0x1ea)+_0x1a151b:_0x1a151b);return Error[_0x1ce03c(0x27d)](_0x408be8,this[_0x1ce03c(0x2a9)]),_0x408be8[_0x1ce03c(0x1e9)]=_0x5ace89,_0x408be8[_0xe10cc1]=_0x24ae52,_0x408be8;}}return Se=_0x220f1e,Se;}var Ee,et;function _t(){const _0x4ed134=_0x546d16;if(et)return Ee;et=0x1;const {Duplex:_0x57fd53}=_0x3b9e42,{randomFillSync:_0x1b3b78}=_0x3e737a,_0x473416=he(),{EMPTY_BUFFER:_0x2f474a,kWebSocket:_0x5d0806,NOOP:_0x18aab1}=V(),{isBlob:_0x46e2b3,isValidStatusCode:_0x38e1e0}=ne(),{mask:_0xe6a1f1,toBuffer:_0x5a9120}=ce(),_0x180cb9=Symbol(_0x4ed134(0x2b2)),_0x1b8b5f=Buffer['alloc'](0x4),_0x438e3e=0x8*0x400;let _0x4af18d,_0x570358=_0x438e3e;const _0x337277=0x0,_0x2cb696=0x1,_0x4116c0=0x2;class _0x617f9e{constructor(_0x1cda43,_0x55f036,_0x7e61fb){const _0x3c9309=_0x4ed134;this['_extensions']=_0x55f036||{},_0x7e61fb&&(this['_generateMask']=_0x7e61fb,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x3c9309(0x15d)]=_0x1cda43,this[_0x3c9309(0x16e)]=!0x0,this[_0x3c9309(0x2c9)]=!0x1,this[_0x3c9309(0x241)]=0x0,this[_0x3c9309(0x2ba)]=[],this[_0x3c9309(0x270)]=_0x337277,this['onerror']=_0x18aab1,this[_0x5d0806]=void 0x0;}static['frame'](_0x2ca21c,_0x4f5824){const _0x3c72ed=_0x4ed134;let _0x1ef308,_0x1daa25=!0x1,_0x111660=0x2,_0x486928=!0x1;_0x4f5824['mask']&&(_0x1ef308=_0x4f5824[_0x3c72ed(0x2a4)]||_0x1b8b5f,_0x4f5824[_0x3c72ed(0x17b)]?_0x4f5824['generateMask'](_0x1ef308):(_0x570358===_0x438e3e&&(_0x4af18d===void 0x0&&(_0x4af18d=Buffer[_0x3c72ed(0x26f)](_0x438e3e)),_0x1b3b78(_0x4af18d,0x0,_0x438e3e),_0x570358=0x0),_0x1ef308[0x0]=_0x4af18d[_0x570358++],_0x1ef308[0x1]=_0x4af18d[_0x570358++],_0x1ef308[0x2]=_0x4af18d[_0x570358++],_0x1ef308[0x3]=_0x4af18d[_0x570358++]),_0x486928=(_0x1ef308[0x0]|_0x1ef308[0x1]|_0x1ef308[0x2]|_0x1ef308[0x3])===0x0,_0x111660=0x6);let _0x56bc93;typeof _0x2ca21c==_0x3c72ed(0x1d5)?(!_0x4f5824[_0x3c72ed(0x219)]||_0x486928)&&_0x4f5824[_0x180cb9]!==void 0x0?_0x56bc93=_0x4f5824[_0x180cb9]:(_0x2ca21c=Buffer[_0x3c72ed(0x203)](_0x2ca21c),_0x56bc93=_0x2ca21c[_0x3c72ed(0x1c5)]):(_0x56bc93=_0x2ca21c[_0x3c72ed(0x1c5)],_0x1daa25=_0x4f5824[_0x3c72ed(0x219)]&&_0x4f5824[_0x3c72ed(0x2d1)]&&!_0x486928);let _0x422a24=_0x56bc93;_0x56bc93>=0x10000?(_0x111660+=0x8,_0x422a24=0x7f):_0x56bc93>0x7d&&(_0x111660+=0x2,_0x422a24=0x7e);const _0x40762a=Buffer[_0x3c72ed(0x207)](_0x1daa25?_0x56bc93+_0x111660:_0x111660);return _0x40762a[0x0]=_0x4f5824[_0x3c72ed(0x1b2)]?_0x4f5824[_0x3c72ed(0x20d)]|0x80:_0x4f5824[_0x3c72ed(0x20d)],_0x4f5824[_0x3c72ed(0x28e)]&&(_0x40762a[0x0]|=0x40),_0x40762a[0x1]=_0x422a24,_0x422a24===0x7e?_0x40762a[_0x3c72ed(0x25e)](_0x56bc93,0x2):_0x422a24===0x7f&&(_0x40762a[0x2]=_0x40762a[0x3]=0x0,_0x40762a[_0x3c72ed(0x22e)](_0x56bc93,0x4,0x6)),_0x4f5824[_0x3c72ed(0x219)]?(_0x40762a[0x1]|=0x80,_0x40762a[_0x111660-0x4]=_0x1ef308[0x0],_0x40762a[_0x111660-0x3]=_0x1ef308[0x1],_0x40762a[_0x111660-0x2]=_0x1ef308[0x2],_0x40762a[_0x111660-0x1]=_0x1ef308[0x3],_0x486928?[_0x40762a,_0x2ca21c]:_0x1daa25?(_0xe6a1f1(_0x2ca21c,_0x1ef308,_0x40762a,_0x111660,_0x56bc93),[_0x40762a]):(_0xe6a1f1(_0x2ca21c,_0x1ef308,_0x2ca21c,0x0,_0x56bc93),[_0x40762a,_0x2ca21c])):[_0x40762a,_0x2ca21c];}[_0x4ed134(0x22a)](_0x31ee37,_0x5969de,_0x49b5a1,_0x585d53){const _0x38adde=_0x4ed134;let _0x57d7bf;if(_0x31ee37===void 0x0)_0x57d7bf=_0x2f474a;else{if(typeof _0x31ee37!=_0x38adde(0x289)||!_0x38e1e0(_0x31ee37))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x5969de===void 0x0||!_0x5969de['length'])_0x57d7bf=Buffer[_0x38adde(0x207)](0x2),_0x57d7bf[_0x38adde(0x25e)](_0x31ee37,0x0);else{const _0x453b1e=Buffer['byteLength'](_0x5969de);if(_0x453b1e>0x7b)throw new RangeError(_0x38adde(0x156));_0x57d7bf=Buffer[_0x38adde(0x207)](0x2+_0x453b1e),_0x57d7bf['writeUInt16BE'](_0x31ee37,0x0),typeof _0x5969de==_0x38adde(0x1d5)?_0x57d7bf[_0x38adde(0x1b6)](_0x5969de,0x2):_0x57d7bf[_0x38adde(0x1c0)](_0x5969de,0x2);}}const _0x339b8a={[_0x180cb9]:_0x57d7bf[_0x38adde(0x1c5)],'fin':!0x0,'generateMask':this[_0x38adde(0x1c3)],'mask':_0x49b5a1,'maskBuffer':this[_0x38adde(0x23f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x38adde(0x270)]!==_0x337277?this[_0x38adde(0x173)]([this[_0x38adde(0x1e6)],_0x57d7bf,!0x1,_0x339b8a,_0x585d53]):this[_0x38adde(0x1b9)](_0x617f9e[_0x38adde(0x192)](_0x57d7bf,_0x339b8a),_0x585d53);}['ping'](_0x36bade,_0x3a907c,_0x5e3fa7){const _0x1d0b7e=_0x4ed134;let _0x2def4b,_0x40baaa;if(typeof _0x36bade==_0x1d0b7e(0x1d5)?(_0x2def4b=Buffer[_0x1d0b7e(0x1d0)](_0x36bade),_0x40baaa=!0x1):_0x46e2b3(_0x36bade)?(_0x2def4b=_0x36bade[_0x1d0b7e(0x262)],_0x40baaa=!0x1):(_0x36bade=_0x5a9120(_0x36bade),_0x2def4b=_0x36bade['length'],_0x40baaa=_0x5a9120['readOnly']),_0x2def4b>0x7d)throw new RangeError(_0x1d0b7e(0x147));const _0x1f71cc={[_0x180cb9]:_0x2def4b,'fin':!0x0,'generateMask':this[_0x1d0b7e(0x1c3)],'mask':_0x3a907c,'maskBuffer':this[_0x1d0b7e(0x23f)],'opcode':0x9,'readOnly':_0x40baaa,'rsv1':!0x1};_0x46e2b3(_0x36bade)?this['_state']!==_0x337277?this[_0x1d0b7e(0x173)]([this[_0x1d0b7e(0x1ca)],_0x36bade,!0x1,_0x1f71cc,_0x5e3fa7]):this[_0x1d0b7e(0x1ca)](_0x36bade,!0x1,_0x1f71cc,_0x5e3fa7):this['_state']!==_0x337277?this[_0x1d0b7e(0x173)]([this['dispatch'],_0x36bade,!0x1,_0x1f71cc,_0x5e3fa7]):this[_0x1d0b7e(0x1b9)](_0x617f9e[_0x1d0b7e(0x192)](_0x36bade,_0x1f71cc),_0x5e3fa7);}['pong'](_0x3b0fa1,_0x1cc28a,_0x456b9e){const _0x5b2a2b=_0x4ed134;let _0x5ba4ce,_0x105be8;if(typeof _0x3b0fa1==_0x5b2a2b(0x1d5)?(_0x5ba4ce=Buffer[_0x5b2a2b(0x1d0)](_0x3b0fa1),_0x105be8=!0x1):_0x46e2b3(_0x3b0fa1)?(_0x5ba4ce=_0x3b0fa1[_0x5b2a2b(0x262)],_0x105be8=!0x1):(_0x3b0fa1=_0x5a9120(_0x3b0fa1),_0x5ba4ce=_0x3b0fa1['length'],_0x105be8=_0x5a9120[_0x5b2a2b(0x2d1)]),_0x5ba4ce>0x7d)throw new RangeError(_0x5b2a2b(0x147));const _0x61ee20={[_0x180cb9]:_0x5ba4ce,'fin':!0x0,'generateMask':this[_0x5b2a2b(0x1c3)],'mask':_0x1cc28a,'maskBuffer':this[_0x5b2a2b(0x23f)],'opcode':0xa,'readOnly':_0x105be8,'rsv1':!0x1};_0x46e2b3(_0x3b0fa1)?this[_0x5b2a2b(0x270)]!==_0x337277?this[_0x5b2a2b(0x173)]([this['getBlobData'],_0x3b0fa1,!0x1,_0x61ee20,_0x456b9e]):this[_0x5b2a2b(0x1ca)](_0x3b0fa1,!0x1,_0x61ee20,_0x456b9e):this[_0x5b2a2b(0x270)]!==_0x337277?this[_0x5b2a2b(0x173)]([this[_0x5b2a2b(0x1e6)],_0x3b0fa1,!0x1,_0x61ee20,_0x456b9e]):this['sendFrame'](_0x617f9e[_0x5b2a2b(0x192)](_0x3b0fa1,_0x61ee20),_0x456b9e);}['send'](_0xbcd2d8,_0x3415d3,_0x511741){const _0x1e401f=_0x4ed134,_0x2e8287=this['_extensions'][_0x473416['extensionName']];let _0x4627b4=_0x3415d3[_0x1e401f(0x165)]?0x2:0x1,_0x16483e=_0x3415d3['compress'],_0x379a8d,_0x248a05;typeof _0xbcd2d8==_0x1e401f(0x1d5)?(_0x379a8d=Buffer[_0x1e401f(0x1d0)](_0xbcd2d8),_0x248a05=!0x1):_0x46e2b3(_0xbcd2d8)?(_0x379a8d=_0xbcd2d8['size'],_0x248a05=!0x1):(_0xbcd2d8=_0x5a9120(_0xbcd2d8),_0x379a8d=_0xbcd2d8['length'],_0x248a05=_0x5a9120[_0x1e401f(0x2d1)]),this[_0x1e401f(0x16e)]?(this[_0x1e401f(0x16e)]=!0x1,_0x16483e&&_0x2e8287&&_0x2e8287[_0x1e401f(0x1aa)][_0x2e8287['_isServer']?_0x1e401f(0x186):'client_no_context_takeover']&&(_0x16483e=_0x379a8d>=_0x2e8287[_0x1e401f(0x2ee)]),this[_0x1e401f(0x2c9)]=_0x16483e):(_0x16483e=!0x1,_0x4627b4=0x0),_0x3415d3[_0x1e401f(0x1b2)]&&(this['_firstFragment']=!0x0);const _0xbd175c={[_0x180cb9]:_0x379a8d,'fin':_0x3415d3[_0x1e401f(0x1b2)],'generateMask':this['_generateMask'],'mask':_0x3415d3[_0x1e401f(0x219)],'maskBuffer':this[_0x1e401f(0x23f)],'opcode':_0x4627b4,'readOnly':_0x248a05,'rsv1':_0x16483e};_0x46e2b3(_0xbcd2d8)?this[_0x1e401f(0x270)]!==_0x337277?this[_0x1e401f(0x173)]([this[_0x1e401f(0x1ca)],_0xbcd2d8,this[_0x1e401f(0x2c9)],_0xbd175c,_0x511741]):this['getBlobData'](_0xbcd2d8,this[_0x1e401f(0x2c9)],_0xbd175c,_0x511741):this['_state']!==_0x337277?this[_0x1e401f(0x173)]([this[_0x1e401f(0x1e6)],_0xbcd2d8,this[_0x1e401f(0x2c9)],_0xbd175c,_0x511741]):this[_0x1e401f(0x1e6)](_0xbcd2d8,this['_compress'],_0xbd175c,_0x511741);}['getBlobData'](_0x222d6d,_0x5ac0ee,_0x370794,_0x17caae){const _0x1829bd=_0x4ed134;this[_0x1829bd(0x241)]+=_0x370794[_0x180cb9],this[_0x1829bd(0x270)]=_0x4116c0,_0x222d6d[_0x1829bd(0x24e)]()[_0x1829bd(0x282)](_0x3602fe=>{const _0x2f42fc=_0x1829bd;if(this[_0x2f42fc(0x15d)][_0x2f42fc(0x25f)]){const _0x13bb42=new Error(_0x2f42fc(0x228));process[_0x2f42fc(0x199)](_0x3f4ea0,this,_0x13bb42,_0x17caae);return;}this[_0x2f42fc(0x241)]-=_0x370794[_0x180cb9];const _0x2829a3=_0x5a9120(_0x3602fe);_0x5ac0ee?this['dispatch'](_0x2829a3,_0x5ac0ee,_0x370794,_0x17caae):(this[_0x2f42fc(0x270)]=_0x337277,this[_0x2f42fc(0x1b9)](_0x617f9e[_0x2f42fc(0x192)](_0x2829a3,_0x370794),_0x17caae),this[_0x2f42fc(0x2c2)]());})[_0x1829bd(0x1cb)](_0x40eca0=>{process['nextTick'](_0x1c2c6c,this,_0x40eca0,_0x17caae);});}[_0x4ed134(0x1e6)](_0xc00927,_0x415cc2,_0xf53d5b,_0x25bb14){const _0x7bdfdb=_0x4ed134;if(!_0x415cc2){this[_0x7bdfdb(0x1b9)](_0x617f9e[_0x7bdfdb(0x192)](_0xc00927,_0xf53d5b),_0x25bb14);return;}const _0x3a7d6c=this[_0x7bdfdb(0x172)][_0x473416['extensionName']];this['_bufferedBytes']+=_0xf53d5b[_0x180cb9],this[_0x7bdfdb(0x270)]=_0x2cb696,_0x3a7d6c[_0x7bdfdb(0x21d)](_0xc00927,_0xf53d5b[_0x7bdfdb(0x1b2)],(_0x4dbc7d,_0x1e15d7)=>{const _0x23f76e=_0x7bdfdb;if(this[_0x23f76e(0x15d)][_0x23f76e(0x25f)]){const _0x467a1e=new Error(_0x23f76e(0x285));_0x3f4ea0(this,_0x467a1e,_0x25bb14);return;}this[_0x23f76e(0x241)]-=_0xf53d5b[_0x180cb9],this[_0x23f76e(0x270)]=_0x337277,_0xf53d5b[_0x23f76e(0x2d1)]=!0x1,this[_0x23f76e(0x1b9)](_0x617f9e['frame'](_0x1e15d7,_0xf53d5b),_0x25bb14),this[_0x23f76e(0x2c2)]();});}[_0x4ed134(0x2c2)](){const _0x4319c4=_0x4ed134;for(;this['_state']===_0x337277&&this[_0x4319c4(0x2ba)][_0x4319c4(0x1c5)];){const _0x367da5=this[_0x4319c4(0x2ba)][_0x4319c4(0x290)]();this[_0x4319c4(0x241)]-=_0x367da5[0x3][_0x180cb9],Reflect[_0x4319c4(0x190)](_0x367da5[0x0],this,_0x367da5[_0x4319c4(0x1eb)](0x1));}}['enqueue'](_0x15f581){const _0x4d4424=_0x4ed134;this[_0x4d4424(0x241)]+=_0x15f581[0x3][_0x180cb9],this[_0x4d4424(0x2ba)][_0x4d4424(0x1ce)](_0x15f581);}[_0x4ed134(0x1b9)](_0x107851,_0x2bbbdd){const _0x30d47f=_0x4ed134;_0x107851[_0x30d47f(0x1c5)]===0x2?(this[_0x30d47f(0x15d)][_0x30d47f(0x2e9)](),this[_0x30d47f(0x15d)][_0x30d47f(0x1b6)](_0x107851[0x0]),this[_0x30d47f(0x15d)][_0x30d47f(0x1b6)](_0x107851[0x1],_0x2bbbdd),this['_socket'][_0x30d47f(0x1f4)]()):this['_socket'][_0x30d47f(0x1b6)](_0x107851[0x0],_0x2bbbdd);}}Ee=_0x617f9e;function _0x3f4ea0(_0x34027f,_0xa78367,_0x48d484){const _0x55e264=_0x4ed134;typeof _0x48d484=='function'&&_0x48d484(_0xa78367);for(let _0x12c7ab=0x0;_0x12c7ab<_0x34027f['_queue'][_0x55e264(0x1c5)];_0x12c7ab++){const _0x33f7c7=_0x34027f[_0x55e264(0x2ba)][_0x12c7ab],_0x5a5747=_0x33f7c7[_0x33f7c7[_0x55e264(0x1c5)]-0x1];typeof _0x5a5747==_0x55e264(0x259)&&_0x5a5747(_0xa78367);}}function _0x1c2c6c(_0x307921,_0x263798,_0x479e04){const _0x2541d5=_0x4ed134;_0x3f4ea0(_0x307921,_0x263798,_0x479e04),_0x307921[_0x2541d5(0x2ac)](_0x263798);}return Ee;}var xe,tt;function Kt(){const _0x1418e8=_0x546d16;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x4a7eff,kListener:_0x1f77c1}=V(),_0x584549=Symbol(_0x1418e8(0x1c6)),_0x589686=Symbol(_0x1418e8(0x2a5)),_0x283767=Symbol(_0x1418e8(0x1c9)),_0x54bd5d=Symbol(_0x1418e8(0x18a)),_0x30904f=Symbol('kReason'),_0x2b451b=Symbol('kTarget'),_0x1440c3=Symbol('kType'),_0x41278e=Symbol(_0x1418e8(0x1e0));class _0x353732{constructor(_0x36f416){this[_0x2b451b]=null,this[_0x1440c3]=_0x36f416;}get['target'](){return this[_0x2b451b];}get[_0x1418e8(0x194)](){return this[_0x1440c3];}}Object[_0x1418e8(0x15b)](_0x353732[_0x1418e8(0x26c)],_0x1418e8(0x25a),{'enumerable':!0x0}),Object['defineProperty'](_0x353732[_0x1418e8(0x26c)],_0x1418e8(0x194),{'enumerable':!0x0});class _0x32ea32 extends _0x353732{constructor(_0x2a7be2,_0x38a0fd={}){const _0x14cad3=_0x1418e8;super(_0x2a7be2),this[_0x584549]=_0x38a0fd[_0x14cad3(0x1e9)]===void 0x0?0x0:_0x38a0fd[_0x14cad3(0x1e9)],this[_0x30904f]=_0x38a0fd[_0x14cad3(0x14d)]===void 0x0?'':_0x38a0fd[_0x14cad3(0x14d)],this[_0x41278e]=_0x38a0fd[_0x14cad3(0x2d6)]===void 0x0?!0x1:_0x38a0fd[_0x14cad3(0x2d6)];}get[_0x1418e8(0x1e9)](){return this[_0x584549];}get['reason'](){return this[_0x30904f];}get[_0x1418e8(0x2d6)](){return this[_0x41278e];}}Object[_0x1418e8(0x15b)](_0x32ea32[_0x1418e8(0x26c)],'code',{'enumerable':!0x0}),Object[_0x1418e8(0x15b)](_0x32ea32[_0x1418e8(0x26c)],_0x1418e8(0x14d),{'enumerable':!0x0}),Object[_0x1418e8(0x15b)](_0x32ea32[_0x1418e8(0x26c)],_0x1418e8(0x2d6),{'enumerable':!0x0});class _0x1148fd extends _0x353732{constructor(_0x19f518,_0x2f5d45={}){const _0x4b9836=_0x1418e8;super(_0x19f518),this[_0x283767]=_0x2f5d45[_0x4b9836(0x2d8)]===void 0x0?null:_0x2f5d45[_0x4b9836(0x2d8)],this[_0x54bd5d]=_0x2f5d45['message']===void 0x0?'':_0x2f5d45['message'];}get[_0x1418e8(0x2d8)](){return this[_0x283767];}get[_0x1418e8(0x197)](){return this[_0x54bd5d];}}Object[_0x1418e8(0x15b)](_0x1148fd[_0x1418e8(0x26c)],_0x1418e8(0x2d8),{'enumerable':!0x0}),Object['defineProperty'](_0x1148fd[_0x1418e8(0x26c)],_0x1418e8(0x197),{'enumerable':!0x0});class _0x4a1876 extends _0x353732{constructor(_0xb0df85,_0x433d0a={}){const _0x1264b8=_0x1418e8;super(_0xb0df85),this[_0x589686]=_0x433d0a[_0x1264b8(0x2b3)]===void 0x0?null:_0x433d0a[_0x1264b8(0x2b3)];}get[_0x1418e8(0x2b3)](){return this[_0x589686];}}Object[_0x1418e8(0x15b)](_0x4a1876['prototype'],_0x1418e8(0x2b3),{'enumerable':!0x0}),xe={'CloseEvent':_0x32ea32,'ErrorEvent':_0x1148fd,'Event':_0x353732,'EventTarget':{'addEventListener'(_0x1e5ba6,_0x1112f9,_0x2466f0={}){const _0x320325=_0x1418e8;for(const _0x156b19 of this[_0x320325(0x16d)](_0x1e5ba6))if(!_0x2466f0[_0x4a7eff]&&_0x156b19[_0x1f77c1]===_0x1112f9&&!_0x156b19[_0x4a7eff])return;let _0x3e8214;if(_0x1e5ba6===_0x320325(0x197))_0x3e8214=function(_0x2b361e,_0x5ee230){const _0x1fbf8f=_0x320325,_0x396293=new _0x4a1876(_0x1fbf8f(0x197),{'data':_0x5ee230?_0x2b361e:_0x2b361e[_0x1fbf8f(0x24d)]()});_0x396293[_0x2b451b]=this,_0x4ef629(_0x1112f9,this,_0x396293);};else{if(_0x1e5ba6==='close')_0x3e8214=function(_0x246919,_0x2580e7){const _0x16e770=_0x320325,_0x2b9310=new _0x32ea32(_0x16e770(0x22a),{'code':_0x246919,'reason':_0x2580e7['toString'](),'wasClean':this[_0x16e770(0x19a)]&&this['_closeFrameSent']});_0x2b9310[_0x2b451b]=this,_0x4ef629(_0x1112f9,this,_0x2b9310);};else{if(_0x1e5ba6===_0x320325(0x2d8))_0x3e8214=function(_0xf6922a){const _0x2f9f39=_0x320325,_0x383095=new _0x1148fd(_0x2f9f39(0x2d8),{'error':_0xf6922a,'message':_0xf6922a['message']});_0x383095[_0x2b451b]=this,_0x4ef629(_0x1112f9,this,_0x383095);};else{if(_0x1e5ba6===_0x320325(0x21e))_0x3e8214=function(){const _0x588d58=new _0x353732('open');_0x588d58[_0x2b451b]=this,_0x4ef629(_0x1112f9,this,_0x588d58);};else return;}}}_0x3e8214[_0x4a7eff]=!!_0x2466f0[_0x4a7eff],_0x3e8214[_0x1f77c1]=_0x1112f9,_0x2466f0[_0x320325(0x18f)]?this[_0x320325(0x18f)](_0x1e5ba6,_0x3e8214):this['on'](_0x1e5ba6,_0x3e8214);},'removeEventListener'(_0xa19001,_0xf713ef){const _0x52f61f=_0x1418e8;for(const _0x33aafe of this[_0x52f61f(0x16d)](_0xa19001))if(_0x33aafe[_0x1f77c1]===_0xf713ef&&!_0x33aafe[_0x4a7eff]){this[_0x52f61f(0x1fb)](_0xa19001,_0x33aafe);break;}}},'MessageEvent':_0x4a1876};function _0x4ef629(_0x124347,_0x1f7ec6,_0x3cf7d1){const _0x3907c1=_0x1418e8;typeof _0x124347==_0x3907c1(0x25d)&&_0x124347['handleEvent']?_0x124347[_0x3907c1(0x20b)][_0x3907c1(0x153)](_0x124347,_0x3cf7d1):_0x124347['call'](_0x1f7ec6,_0x3cf7d1);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2ac434}=ne();function _0x5a8a63(_0x386401,_0x56f98c,_0xacc60d){_0x386401[_0x56f98c]===void 0x0?_0x386401[_0x56f98c]=[_0xacc60d]:_0x386401[_0x56f98c]['push'](_0xacc60d);}function _0x15a2ee(_0xb421a5){const _0x2c8ab3=_0x4674,_0x3e282b=Object['create'](null);let _0x1a1027=Object[_0x2c8ab3(0x177)](null),_0x5319fa=!0x1,_0xbadd9e=!0x1,_0x48c06f=!0x1,_0x40a2cd,_0x47b075,_0x484476=-0x1,_0xf057f4=-0x1,_0x10b65e=-0x1,_0x847ab2=0x0;for(;_0x847ab2<_0xb421a5[_0x2c8ab3(0x1c5)];_0x847ab2++)if(_0xf057f4=_0xb421a5['charCodeAt'](_0x847ab2),_0x40a2cd===void 0x0){if(_0x10b65e===-0x1&&_0x2ac434[_0xf057f4]===0x1)_0x484476===-0x1&&(_0x484476=_0x847ab2);else{if(_0x847ab2!==0x0&&(_0xf057f4===0x20||_0xf057f4===0x9))_0x10b65e===-0x1&&_0x484476!==-0x1&&(_0x10b65e=_0x847ab2);else{if(_0xf057f4===0x3b||_0xf057f4===0x2c){if(_0x484476===-0x1)throw new SyntaxError(_0x2c8ab3(0x29f)+_0x847ab2);_0x10b65e===-0x1&&(_0x10b65e=_0x847ab2);const _0x13ced0=_0xb421a5[_0x2c8ab3(0x1eb)](_0x484476,_0x10b65e);_0xf057f4===0x2c?(_0x5a8a63(_0x3e282b,_0x13ced0,_0x1a1027),_0x1a1027=Object[_0x2c8ab3(0x177)](null)):_0x40a2cd=_0x13ced0,_0x484476=_0x10b65e=-0x1;}else throw new SyntaxError(_0x2c8ab3(0x29f)+_0x847ab2);}}}else{if(_0x47b075===void 0x0){if(_0x10b65e===-0x1&&_0x2ac434[_0xf057f4]===0x1)_0x484476===-0x1&&(_0x484476=_0x847ab2);else{if(_0xf057f4===0x20||_0xf057f4===0x9)_0x10b65e===-0x1&&_0x484476!==-0x1&&(_0x10b65e=_0x847ab2);else{if(_0xf057f4===0x3b||_0xf057f4===0x2c){if(_0x484476===-0x1)throw new SyntaxError(_0x2c8ab3(0x29f)+_0x847ab2);_0x10b65e===-0x1&&(_0x10b65e=_0x847ab2),_0x5a8a63(_0x1a1027,_0xb421a5[_0x2c8ab3(0x1eb)](_0x484476,_0x10b65e),!0x0),_0xf057f4===0x2c&&(_0x5a8a63(_0x3e282b,_0x40a2cd,_0x1a1027),_0x1a1027=Object['create'](null),_0x40a2cd=void 0x0),_0x484476=_0x10b65e=-0x1;}else{if(_0xf057f4===0x3d&&_0x484476!==-0x1&&_0x10b65e===-0x1)_0x47b075=_0xb421a5[_0x2c8ab3(0x1eb)](_0x484476,_0x847ab2),_0x484476=_0x10b65e=-0x1;else throw new SyntaxError(_0x2c8ab3(0x29f)+_0x847ab2);}}}}else{if(_0xbadd9e){if(_0x2ac434[_0xf057f4]!==0x1)throw new SyntaxError(_0x2c8ab3(0x29f)+_0x847ab2);_0x484476===-0x1?_0x484476=_0x847ab2:_0x5319fa||(_0x5319fa=!0x0),_0xbadd9e=!0x1;}else{if(_0x48c06f){if(_0x2ac434[_0xf057f4]===0x1)_0x484476===-0x1&&(_0x484476=_0x847ab2);else{if(_0xf057f4===0x22&&_0x484476!==-0x1)_0x48c06f=!0x1,_0x10b65e=_0x847ab2;else{if(_0xf057f4===0x5c)_0xbadd9e=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x847ab2);}}}else{if(_0xf057f4===0x22&&_0xb421a5['charCodeAt'](_0x847ab2-0x1)===0x3d)_0x48c06f=!0x0;else{if(_0x10b65e===-0x1&&_0x2ac434[_0xf057f4]===0x1)_0x484476===-0x1&&(_0x484476=_0x847ab2);else{if(_0x484476!==-0x1&&(_0xf057f4===0x20||_0xf057f4===0x9))_0x10b65e===-0x1&&(_0x10b65e=_0x847ab2);else{if(_0xf057f4===0x3b||_0xf057f4===0x2c){if(_0x484476===-0x1)throw new SyntaxError(_0x2c8ab3(0x29f)+_0x847ab2);_0x10b65e===-0x1&&(_0x10b65e=_0x847ab2);let _0x3c9c75=_0xb421a5[_0x2c8ab3(0x1eb)](_0x484476,_0x10b65e);_0x5319fa&&(_0x3c9c75=_0x3c9c75[_0x2c8ab3(0x170)](/\\/g,''),_0x5319fa=!0x1),_0x5a8a63(_0x1a1027,_0x47b075,_0x3c9c75),_0xf057f4===0x2c&&(_0x5a8a63(_0x3e282b,_0x40a2cd,_0x1a1027),_0x1a1027=Object[_0x2c8ab3(0x177)](null),_0x40a2cd=void 0x0),_0x47b075=void 0x0,_0x484476=_0x10b65e=-0x1;}else throw new SyntaxError(_0x2c8ab3(0x29f)+_0x847ab2);}}}}}}}if(_0x484476===-0x1||_0x48c06f||_0xf057f4===0x20||_0xf057f4===0x9)throw new SyntaxError(_0x2c8ab3(0x27c));_0x10b65e===-0x1&&(_0x10b65e=_0x847ab2);const _0x670be9=_0xb421a5['slice'](_0x484476,_0x10b65e);return _0x40a2cd===void 0x0?_0x5a8a63(_0x3e282b,_0x670be9,_0x1a1027):(_0x47b075===void 0x0?_0x5a8a63(_0x1a1027,_0x670be9,!0x0):_0x5319fa?_0x5a8a63(_0x1a1027,_0x47b075,_0x670be9[_0x2c8ab3(0x170)](/\\/g,'')):_0x5a8a63(_0x1a1027,_0x47b075,_0x670be9),_0x5a8a63(_0x3e282b,_0x40a2cd,_0x1a1027)),_0x3e282b;}function _0x1f8293(_0x269043){const _0x57bb96=_0x4674;return Object[_0x57bb96(0x2d0)](_0x269043)[_0x57bb96(0x1df)](_0x597777=>{const _0x226821=_0x57bb96;let _0x1fd78a=_0x269043[_0x597777];return Array['isArray'](_0x1fd78a)||(_0x1fd78a=[_0x1fd78a]),_0x1fd78a[_0x226821(0x1df)](_0x423129=>[_0x597777][_0x226821(0x245)](Object[_0x226821(0x2d0)](_0x423129)[_0x226821(0x1df)](_0x338eab=>{const _0x27cb0d=_0x226821;let _0x505bf3=_0x423129[_0x338eab];return Array[_0x27cb0d(0x1e7)](_0x505bf3)||(_0x505bf3=[_0x505bf3]),_0x505bf3[_0x27cb0d(0x1df)](_0x3fa448=>_0x3fa448===!0x0?_0x338eab:_0x338eab+'='+_0x3fa448)[_0x27cb0d(0x14a)](';\x20');}))[_0x226821(0x14a)](';\x20'))[_0x226821(0x14a)](',\x20');})[_0x57bb96(0x14a)](',\x20');}return be={'format':_0x1f8293,'parse':_0x15a2ee},be;}var we,st;function Ie(){const _0x20c9e8=_0x546d16;if(st)return we;st=0x1;const _0x3c9548=_0x32b9e1,_0x17ae4a=_0x45f55e,_0x20569d=_0x46caed,_0x116907=_0x436f77,_0x2d0850=_0x3c76ca,{randomBytes:_0xda0f1,createHash:_0x572df0}=_0x3e737a,{Duplex:_0x9c0866,Readable:_0x2ee11e}=_0x3b9e42,{URL:_0x50acc0}=_0x586367,_0x20fa76=he(),_0x2a7d34=dt(),_0x3f78b9=_t(),{isBlob:_0x1ef4b5}=ne(),{BINARY_TYPES:_0x5627ca,EMPTY_BUFFER:_0x316ef6,GUID:_0xb22499,kForOnEventAttribute:_0x557f6c,kListener:_0x141a8a,kStatusCode:_0x5892e7,kWebSocket:_0x3fe0c5,NOOP:_0x2de59d}=V(),{EventTarget:{addEventListener:_0x3ac7eb,removeEventListener:_0x2a9f23}}=Kt(),{format:_0x262b2b,parse:_0x38a3cf}=pt(),{toBuffer:_0x4d382b}=ce(),_0x814a96=0x1e*0x3e8,_0x35aadf=Symbol('kAborted'),_0x2c3d3c=[0x8,0xd],_0x34788d=[_0x20c9e8(0x2aa),_0x20c9e8(0x1bd),_0x20c9e8(0x148),_0x20c9e8(0x286)],_0x24e45a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1e76a9 extends _0x3c9548{constructor(_0x10c166,_0x15e14d,_0x4c74d1){const _0x537832=_0x20c9e8;super(),this[_0x537832(0x1ae)]=_0x5627ca[0x0],this[_0x537832(0x1d3)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x537832(0x2a6)]=!0x1,this[_0x537832(0x2d2)]=_0x316ef6,this[_0x537832(0x220)]=null,this[_0x537832(0x15c)]=!0x1,this[_0x537832(0x172)]={},this[_0x537832(0x291)]=!0x1,this[_0x537832(0x2a3)]='',this['_readyState']=_0x1e76a9['CONNECTING'],this['_receiver']=null,this['_sender']=null,this['_socket']=null,_0x10c166!==null?(this['_bufferedAmount']=0x0,this[_0x537832(0x1bf)]=!0x1,this[_0x537832(0x191)]=0x0,_0x15e14d===void 0x0?_0x15e14d=[]:Array[_0x537832(0x1e7)](_0x15e14d)||(typeof _0x15e14d==_0x537832(0x25d)&&_0x15e14d!==null?(_0x4c74d1=_0x15e14d,_0x15e14d=[]):_0x15e14d=[_0x15e14d]),_0x219f31(this,_0x10c166,_0x15e14d,_0x4c74d1)):(this[_0x537832(0x18b)]=_0x4c74d1['autoPong'],this[_0x537832(0x1bf)]=!0x0);}get[_0x20c9e8(0x202)](){const _0x48bf06=_0x20c9e8;return this[_0x48bf06(0x1ae)];}set[_0x20c9e8(0x202)](_0x49cf07){const _0x47d419=_0x20c9e8;_0x5627ca[_0x47d419(0x1ff)](_0x49cf07)&&(this[_0x47d419(0x1ae)]=_0x49cf07,this[_0x47d419(0x1bb)]&&(this[_0x47d419(0x1bb)]['_binaryType']=_0x49cf07));}get[_0x20c9e8(0x29c)](){const _0xce2697=_0x20c9e8;return this[_0xce2697(0x15d)]?this[_0xce2697(0x15d)][_0xce2697(0x2cb)][_0xce2697(0x1c5)]+this[_0xce2697(0x1c8)][_0xce2697(0x241)]:this['_bufferedAmount'];}get[_0x20c9e8(0x14c)](){const _0x44b428=_0x20c9e8;return Object[_0x44b428(0x2d0)](this[_0x44b428(0x172)])['join']();}get['isPaused'](){const _0x265963=_0x20c9e8;return this[_0x265963(0x291)];}get[_0x20c9e8(0x23c)](){return null;}get['onerror'](){return null;}get[_0x20c9e8(0x150)](){return null;}get['onmessage'](){return null;}get[_0x20c9e8(0x2a1)](){const _0x54a548=_0x20c9e8;return this[_0x54a548(0x2a3)];}get['readyState'](){return this['_readyState'];}get['url'](){return this['_url'];}[_0x20c9e8(0x19d)](_0x31751,_0x4bdaec,_0x13313a){const _0x50233c=_0x20c9e8,_0x3c6858=new _0x2a7d34({'allowSynchronousEvents':_0x13313a[_0x50233c(0x263)],'binaryType':this['binaryType'],'extensions':this[_0x50233c(0x172)],'isServer':this['_isServer'],'maxPayload':_0x13313a[_0x50233c(0x2c5)],'skipUTF8Validation':_0x13313a['skipUTF8Validation']}),_0x1c4c6a=new _0x3f78b9(_0x31751,this[_0x50233c(0x172)],_0x13313a[_0x50233c(0x17b)]);this['_receiver']=_0x3c6858,this[_0x50233c(0x1c8)]=_0x1c4c6a,this[_0x50233c(0x15d)]=_0x31751,_0x3c6858[_0x3fe0c5]=this,_0x1c4c6a[_0x3fe0c5]=this,_0x31751[_0x3fe0c5]=this,_0x3c6858['on'](_0x50233c(0x146),_0x2fb5a2),_0x3c6858['on'](_0x50233c(0x1da),_0x388a2a),_0x3c6858['on']('error',_0x29ef70),_0x3c6858['on'](_0x50233c(0x197),_0x493480),_0x3c6858['on'](_0x50233c(0x2cc),_0x360cdc),_0x3c6858['on'](_0x50233c(0x162),_0x3ae511),_0x1c4c6a[_0x50233c(0x2ac)]=_0x49ae83,_0x31751[_0x50233c(0x281)]&&_0x31751['setTimeout'](0x0),_0x31751['setNoDelay']&&_0x31751['setNoDelay'](),_0x4bdaec[_0x50233c(0x1c5)]>0x0&&_0x31751[_0x50233c(0x258)](_0x4bdaec),_0x31751['on'](_0x50233c(0x22a),_0x5ab35b),_0x31751['on'](_0x50233c(0x2b3),_0x21a90d),_0x31751['on']('end',_0xff2b4d),_0x31751['on'](_0x50233c(0x2d8),_0x17ddd7),this[_0x50233c(0x2d7)]=_0x1e76a9[_0x50233c(0x1bd)],this[_0x50233c(0x1fd)](_0x50233c(0x21e));}[_0x20c9e8(0x1f7)](){const _0x4d2da8=_0x20c9e8;if(!this[_0x4d2da8(0x15d)]){this[_0x4d2da8(0x2d7)]=_0x1e76a9[_0x4d2da8(0x286)],this[_0x4d2da8(0x1fd)](_0x4d2da8(0x22a),this[_0x4d2da8(0x1d3)],this['_closeMessage']);return;}this[_0x4d2da8(0x172)][_0x20fa76[_0x4d2da8(0x2e6)]]&&this['_extensions'][_0x20fa76[_0x4d2da8(0x2e6)]]['cleanup'](),this['_receiver']['removeAllListeners'](),this[_0x4d2da8(0x2d7)]=_0x1e76a9['CLOSED'],this['emit'](_0x4d2da8(0x22a),this[_0x4d2da8(0x1d3)],this[_0x4d2da8(0x2d2)]);}['close'](_0x3a4868,_0x303c95){const _0x40b1e5=_0x20c9e8;if(this['readyState']!==_0x1e76a9[_0x40b1e5(0x286)]){if(this[_0x40b1e5(0x1b1)]===_0x1e76a9[_0x40b1e5(0x2aa)]){_0x1d4cf7(this,this[_0x40b1e5(0x2bb)],_0x40b1e5(0x2bd));return;}if(this[_0x40b1e5(0x1b1)]===_0x1e76a9['CLOSING']){this[_0x40b1e5(0x2a6)]&&(this[_0x40b1e5(0x19a)]||this[_0x40b1e5(0x1bb)][_0x40b1e5(0x2cb)][_0x40b1e5(0x234)])&&this[_0x40b1e5(0x15d)][_0x40b1e5(0x2e3)]();return;}this[_0x40b1e5(0x2d7)]=_0x1e76a9[_0x40b1e5(0x148)],this[_0x40b1e5(0x1c8)][_0x40b1e5(0x22a)](_0x3a4868,_0x303c95,!this[_0x40b1e5(0x1bf)],_0x533cea=>{const _0x2cb3a3=_0x40b1e5;_0x533cea||(this['_closeFrameSent']=!0x0,(this[_0x2cb3a3(0x19a)]||this[_0x2cb3a3(0x1bb)]['_writableState'][_0x2cb3a3(0x234)])&&this[_0x2cb3a3(0x15d)][_0x2cb3a3(0x2e3)]());}),_0x4a4d3b(this);}}[_0x20c9e8(0x284)](){const _0x5cc4bf=_0x20c9e8;this[_0x5cc4bf(0x1b1)]===_0x1e76a9[_0x5cc4bf(0x2aa)]||this[_0x5cc4bf(0x1b1)]===_0x1e76a9[_0x5cc4bf(0x286)]||(this['_paused']=!0x0,this[_0x5cc4bf(0x15d)]['pause']());}[_0x20c9e8(0x2cc)](_0x5b8b7,_0x4a6d94,_0x23e0b4){const _0x16198a=_0x20c9e8;if(this[_0x16198a(0x1b1)]===_0x1e76a9['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5b8b7==_0x16198a(0x259)?(_0x23e0b4=_0x5b8b7,_0x5b8b7=_0x4a6d94=void 0x0):typeof _0x4a6d94=='function'&&(_0x23e0b4=_0x4a6d94,_0x4a6d94=void 0x0),typeof _0x5b8b7==_0x16198a(0x289)&&(_0x5b8b7=_0x5b8b7['toString']()),this[_0x16198a(0x1b1)]!==_0x1e76a9['OPEN']){_0x5d8bbd(this,_0x5b8b7,_0x23e0b4);return;}_0x4a6d94===void 0x0&&(_0x4a6d94=!this[_0x16198a(0x1bf)]),this[_0x16198a(0x1c8)][_0x16198a(0x2cc)](_0x5b8b7||_0x316ef6,_0x4a6d94,_0x23e0b4);}[_0x20c9e8(0x162)](_0x4cb53f,_0x13013d,_0x41574d){const _0x4eb85f=_0x20c9e8;if(this['readyState']===_0x1e76a9[_0x4eb85f(0x2aa)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4cb53f==_0x4eb85f(0x259)?(_0x41574d=_0x4cb53f,_0x4cb53f=_0x13013d=void 0x0):typeof _0x13013d=='function'&&(_0x41574d=_0x13013d,_0x13013d=void 0x0),typeof _0x4cb53f=='number'&&(_0x4cb53f=_0x4cb53f['toString']()),this[_0x4eb85f(0x1b1)]!==_0x1e76a9[_0x4eb85f(0x1bd)]){_0x5d8bbd(this,_0x4cb53f,_0x41574d);return;}_0x13013d===void 0x0&&(_0x13013d=!this[_0x4eb85f(0x1bf)]),this[_0x4eb85f(0x1c8)][_0x4eb85f(0x162)](_0x4cb53f||_0x316ef6,_0x13013d,_0x41574d);}[_0x20c9e8(0x20c)](){const _0x468663=_0x20c9e8;this[_0x468663(0x1b1)]===_0x1e76a9[_0x468663(0x2aa)]||this[_0x468663(0x1b1)]===_0x1e76a9[_0x468663(0x286)]||(this['_paused']=!0x1,this['_receiver'][_0x468663(0x2cb)][_0x468663(0x206)]||this[_0x468663(0x15d)][_0x468663(0x20c)]());}[_0x20c9e8(0x1b5)](_0x14ac2f,_0x4fadd5,_0xfb48ee){const _0x1add44=_0x20c9e8;if(this[_0x1add44(0x1b1)]===_0x1e76a9['CONNECTING'])throw new Error(_0x1add44(0x166));if(typeof _0x4fadd5==_0x1add44(0x259)&&(_0xfb48ee=_0x4fadd5,_0x4fadd5={}),typeof _0x14ac2f==_0x1add44(0x289)&&(_0x14ac2f=_0x14ac2f[_0x1add44(0x24d)]()),this['readyState']!==_0x1e76a9[_0x1add44(0x1bd)]){_0x5d8bbd(this,_0x14ac2f,_0xfb48ee);return;}const _0x2ae942={'binary':typeof _0x14ac2f!=_0x1add44(0x1d5),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x4fadd5};this[_0x1add44(0x172)][_0x20fa76[_0x1add44(0x2e6)]]||(_0x2ae942[_0x1add44(0x21d)]=!0x1),this[_0x1add44(0x1c8)]['send'](_0x14ac2f||_0x316ef6,_0x2ae942,_0xfb48ee);}[_0x20c9e8(0x21c)](){const _0x52a84d=_0x20c9e8;if(this[_0x52a84d(0x1b1)]!==_0x1e76a9[_0x52a84d(0x286)]){if(this[_0x52a84d(0x1b1)]===_0x1e76a9[_0x52a84d(0x2aa)]){_0x1d4cf7(this,this[_0x52a84d(0x2bb)],_0x52a84d(0x2bd));return;}this['_socket']&&(this['_readyState']=_0x1e76a9['CLOSING'],this['_socket']['destroy']());}}}Object[_0x20c9e8(0x15b)](_0x1e76a9,_0x20c9e8(0x2aa),{'enumerable':!0x0,'value':_0x34788d['indexOf']('CONNECTING')}),Object[_0x20c9e8(0x15b)](_0x1e76a9['prototype'],_0x20c9e8(0x2aa),{'enumerable':!0x0,'value':_0x34788d[_0x20c9e8(0x1e3)](_0x20c9e8(0x2aa))}),Object[_0x20c9e8(0x15b)](_0x1e76a9,_0x20c9e8(0x1bd),{'enumerable':!0x0,'value':_0x34788d[_0x20c9e8(0x1e3)](_0x20c9e8(0x1bd))}),Object[_0x20c9e8(0x15b)](_0x1e76a9[_0x20c9e8(0x26c)],'OPEN',{'enumerable':!0x0,'value':_0x34788d[_0x20c9e8(0x1e3)](_0x20c9e8(0x1bd))}),Object[_0x20c9e8(0x15b)](_0x1e76a9,'CLOSING',{'enumerable':!0x0,'value':_0x34788d[_0x20c9e8(0x1e3)]('CLOSING')}),Object['defineProperty'](_0x1e76a9[_0x20c9e8(0x26c)],'CLOSING',{'enumerable':!0x0,'value':_0x34788d['indexOf'](_0x20c9e8(0x148))}),Object[_0x20c9e8(0x15b)](_0x1e76a9,'CLOSED',{'enumerable':!0x0,'value':_0x34788d[_0x20c9e8(0x1e3)](_0x20c9e8(0x286))}),Object[_0x20c9e8(0x15b)](_0x1e76a9[_0x20c9e8(0x26c)],_0x20c9e8(0x286),{'enumerable':!0x0,'value':_0x34788d[_0x20c9e8(0x1e3)]('CLOSED')}),[_0x20c9e8(0x202),_0x20c9e8(0x29c),_0x20c9e8(0x14c),'isPaused',_0x20c9e8(0x2a1),_0x20c9e8(0x1b1),_0x20c9e8(0x248)][_0x20c9e8(0x21a)](_0x47a771=>{const _0x48f87f=_0x20c9e8;Object[_0x48f87f(0x15b)](_0x1e76a9['prototype'],_0x47a771,{'enumerable':!0x0});}),[_0x20c9e8(0x21e),_0x20c9e8(0x2d8),'close','message'][_0x20c9e8(0x21a)](_0xea3195=>{const _0x5c9ef6=_0x20c9e8;Object['defineProperty'](_0x1e76a9[_0x5c9ef6(0x26c)],'on'+_0xea3195,{'enumerable':!0x0,'get'(){for(const _0x3b1889 of this['listeners'](_0xea3195))if(_0x3b1889[_0x557f6c])return _0x3b1889[_0x141a8a];return null;},'set'(_0xf4eac8){const _0x1e5f89=_0x5c9ef6;for(const _0x69e675 of this[_0x1e5f89(0x16d)](_0xea3195))if(_0x69e675[_0x557f6c]){this[_0x1e5f89(0x1fb)](_0xea3195,_0x69e675);break;}typeof _0xf4eac8==_0x1e5f89(0x259)&&this['addEventListener'](_0xea3195,_0xf4eac8,{[_0x557f6c]:!0x0});}});}),_0x1e76a9[_0x20c9e8(0x26c)][_0x20c9e8(0x2e7)]=_0x3ac7eb,_0x1e76a9[_0x20c9e8(0x26c)][_0x20c9e8(0x1b4)]=_0x2a9f23,we=_0x1e76a9;function _0x219f31(_0x4c1b84,_0x16971a,_0x14fb06,_0x300078){const _0x2b65ce=_0x20c9e8,_0x3b3cbf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2c3d3c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x300078,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2b65ce(0x2c7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4c1b84['_autoPong']=_0x3b3cbf[_0x2b65ce(0x1f1)],!_0x2c3d3c[_0x2b65ce(0x1ff)](_0x3b3cbf[_0x2b65ce(0x2d5)]))throw new RangeError(_0x2b65ce(0x28a)+_0x3b3cbf[_0x2b65ce(0x2d5)]+_0x2b65ce(0x2e8)+_0x2c3d3c[_0x2b65ce(0x14a)](',\x20')+')');let _0x88de7e;if(_0x16971a instanceof _0x50acc0)_0x88de7e=_0x16971a;else try{_0x88de7e=new _0x50acc0(_0x16971a);}catch{throw new SyntaxError(_0x2b65ce(0x22d)+_0x16971a);}_0x88de7e['protocol']===_0x2b65ce(0x14f)?_0x88de7e[_0x2b65ce(0x2a1)]=_0x2b65ce(0x1f9):_0x88de7e['protocol']===_0x2b65ce(0x160)&&(_0x88de7e[_0x2b65ce(0x2a1)]=_0x2b65ce(0x19f)),_0x4c1b84[_0x2b65ce(0x2ec)]=_0x88de7e['href'];const _0x392c01=_0x88de7e['protocol']===_0x2b65ce(0x19f),_0x12e35e=_0x88de7e[_0x2b65ce(0x2a1)]===_0x2b65ce(0x176);let _0x521759;if(_0x88de7e[_0x2b65ce(0x2a1)]!=='ws:'&&!_0x392c01&&!_0x12e35e?_0x521759=_0x2b65ce(0x1cf):_0x12e35e&&!_0x88de7e[_0x2b65ce(0x2c3)]?_0x521759=_0x2b65ce(0x21f):_0x88de7e[_0x2b65ce(0x1c7)]&&(_0x521759=_0x2b65ce(0x255)),_0x521759){const _0x5e32e4=new SyntaxError(_0x521759);if(_0x4c1b84['_redirects']===0x0)throw _0x5e32e4;_0x391994(_0x4c1b84,_0x5e32e4);return;}const _0x3e302a=_0x392c01?0x1bb:0x50,_0x4e8ee0=_0xda0f1(0x10)[_0x2b65ce(0x24d)](_0x2b65ce(0x193)),_0xde9f48=_0x392c01?_0x17ae4a['request']:_0x20569d['request'],_0x318341=new Set();let _0x383713;if(_0x3b3cbf['createConnection']=_0x3b3cbf[_0x2b65ce(0x214)]||(_0x392c01?_0x5d4bff:_0x4ceb73),_0x3b3cbf[_0x2b65ce(0x2e2)]=_0x3b3cbf['defaultPort']||_0x3e302a,_0x3b3cbf[_0x2b65ce(0x161)]=_0x88de7e[_0x2b65ce(0x161)]||_0x3e302a,_0x3b3cbf[_0x2b65ce(0x278)]=_0x88de7e['hostname'][_0x2b65ce(0x2bf)]('[')?_0x88de7e[_0x2b65ce(0x295)][_0x2b65ce(0x1eb)](0x1,-0x1):_0x88de7e[_0x2b65ce(0x295)],_0x3b3cbf[_0x2b65ce(0x240)]={..._0x3b3cbf['headers'],'Sec-WebSocket-Version':_0x3b3cbf[_0x2b65ce(0x2d5)],'Sec-WebSocket-Key':_0x4e8ee0,'Connection':_0x2b65ce(0x1d2),'Upgrade':_0x2b65ce(0x25b)},_0x3b3cbf[_0x2b65ce(0x1dc)]=_0x88de7e[_0x2b65ce(0x2c3)]+_0x88de7e[_0x2b65ce(0x224)],_0x3b3cbf[_0x2b65ce(0x1b8)]=_0x3b3cbf['handshakeTimeout'],_0x3b3cbf[_0x2b65ce(0x1fe)]&&(_0x383713=new _0x20fa76(_0x3b3cbf['perMessageDeflate']!==!0x0?_0x3b3cbf[_0x2b65ce(0x1fe)]:{},!0x1,_0x3b3cbf[_0x2b65ce(0x2c5)]),_0x3b3cbf['headers'][_0x2b65ce(0x28f)]=_0x262b2b({[_0x20fa76[_0x2b65ce(0x2e6)]]:_0x383713[_0x2b65ce(0x2ce)]()})),_0x14fb06[_0x2b65ce(0x1c5)]){for(const _0x1b76d0 of _0x14fb06){if(typeof _0x1b76d0!=_0x2b65ce(0x1d5)||!_0x24e45a[_0x2b65ce(0x1d6)](_0x1b76d0)||_0x318341[_0x2b65ce(0x1a6)](_0x1b76d0))throw new SyntaxError(_0x2b65ce(0x2ad));_0x318341[_0x2b65ce(0x218)](_0x1b76d0);}_0x3b3cbf['headers']['Sec-WebSocket-Protocol']=_0x14fb06[_0x2b65ce(0x14a)](',');}if(_0x3b3cbf[_0x2b65ce(0x178)]&&(_0x3b3cbf[_0x2b65ce(0x2d5)]<0xd?_0x3b3cbf[_0x2b65ce(0x240)][_0x2b65ce(0x20e)]=_0x3b3cbf[_0x2b65ce(0x178)]:_0x3b3cbf[_0x2b65ce(0x240)][_0x2b65ce(0x195)]=_0x3b3cbf['origin']),(_0x88de7e[_0x2b65ce(0x260)]||_0x88de7e['password'])&&(_0x3b3cbf['auth']=_0x88de7e['username']+':'+_0x88de7e[_0x2b65ce(0x1db)]),_0x12e35e){const _0x5977e8=_0x3b3cbf[_0x2b65ce(0x1dc)][_0x2b65ce(0x20a)](':');_0x3b3cbf[_0x2b65ce(0x239)]=_0x5977e8[0x0],_0x3b3cbf[_0x2b65ce(0x1dc)]=_0x5977e8[0x1];}let _0x2c7328;if(_0x3b3cbf[_0x2b65ce(0x217)]){if(_0x4c1b84[_0x2b65ce(0x191)]===0x0){_0x4c1b84[_0x2b65ce(0x29b)]=_0x12e35e,_0x4c1b84[_0x2b65ce(0x2d3)]=_0x392c01,_0x4c1b84[_0x2b65ce(0x287)]=_0x12e35e?_0x3b3cbf['socketPath']:_0x88de7e[_0x2b65ce(0x278)];const _0x434e95=_0x300078&&_0x300078[_0x2b65ce(0x240)];if(_0x300078={..._0x300078,'headers':{}},_0x434e95){for(const [_0x27a48e,_0x39b624]of Object[_0x2b65ce(0x189)](_0x434e95))_0x300078[_0x2b65ce(0x240)][_0x27a48e[_0x2b65ce(0x1c1)]()]=_0x39b624;}}else{if(_0x4c1b84['listenerCount'](_0x2b65ce(0x1f2))===0x0){const _0x34a746=_0x12e35e?_0x4c1b84[_0x2b65ce(0x29b)]?_0x3b3cbf['socketPath']===_0x4c1b84[_0x2b65ce(0x287)]:!0x1:_0x4c1b84[_0x2b65ce(0x29b)]?!0x1:_0x88de7e['host']===_0x4c1b84['_originalHostOrSocketPath'];(!_0x34a746||_0x4c1b84[_0x2b65ce(0x2d3)]&&!_0x392c01)&&(delete _0x3b3cbf[_0x2b65ce(0x240)][_0x2b65ce(0x24a)],delete _0x3b3cbf['headers'][_0x2b65ce(0x23b)],_0x34a746||delete _0x3b3cbf[_0x2b65ce(0x240)]['host'],_0x3b3cbf[_0x2b65ce(0x27a)]=void 0x0);}}_0x3b3cbf[_0x2b65ce(0x27a)]&&!_0x300078[_0x2b65ce(0x240)]['authorization']&&(_0x300078['headers'][_0x2b65ce(0x24a)]=_0x2b65ce(0x242)+Buffer['from'](_0x3b3cbf[_0x2b65ce(0x27a)])[_0x2b65ce(0x24d)](_0x2b65ce(0x193))),_0x2c7328=_0x4c1b84[_0x2b65ce(0x2bb)]=_0xde9f48(_0x3b3cbf),_0x4c1b84['_redirects']&&_0x4c1b84['emit']('redirect',_0x4c1b84[_0x2b65ce(0x248)],_0x2c7328);}else _0x2c7328=_0x4c1b84[_0x2b65ce(0x2bb)]=_0xde9f48(_0x3b3cbf);_0x3b3cbf[_0x2b65ce(0x1b8)]&&_0x2c7328['on'](_0x2b65ce(0x1b8),()=>{const _0x4b9291=_0x2b65ce;_0x1d4cf7(_0x4c1b84,_0x2c7328,_0x4b9291(0x256));}),_0x2c7328['on']('error',_0x3fcf95=>{const _0x55a9d0=_0x2b65ce;_0x2c7328===null||_0x2c7328[_0x35aadf]||(_0x2c7328=_0x4c1b84[_0x55a9d0(0x2bb)]=null,_0x391994(_0x4c1b84,_0x3fcf95));}),_0x2c7328['on'](_0x2b65ce(0x235),_0x93cd9=>{const _0x20edde=_0x2b65ce,_0x2f126b=_0x93cd9[_0x20edde(0x240)]['location'],_0x66dad8=_0x93cd9[_0x20edde(0x208)];if(_0x2f126b&&_0x3b3cbf[_0x20edde(0x217)]&&_0x66dad8>=0x12c&&_0x66dad8<0x190){if(++_0x4c1b84['_redirects']>_0x3b3cbf[_0x20edde(0x15a)]){_0x1d4cf7(_0x4c1b84,_0x2c7328,_0x20edde(0x230));return;}_0x2c7328['abort']();let _0x5a6279;try{_0x5a6279=new _0x50acc0(_0x2f126b,_0x16971a);}catch{const _0x4311e5=new SyntaxError(_0x20edde(0x22d)+_0x2f126b);_0x391994(_0x4c1b84,_0x4311e5);return;}_0x219f31(_0x4c1b84,_0x5a6279,_0x14fb06,_0x300078);}else _0x4c1b84[_0x20edde(0x1fd)](_0x20edde(0x24c),_0x2c7328,_0x93cd9)||_0x1d4cf7(_0x4c1b84,_0x2c7328,_0x20edde(0x1b3)+_0x93cd9[_0x20edde(0x208)]);}),_0x2c7328['on'](_0x2b65ce(0x275),(_0x20da5c,_0x5bb168,_0x40fd14)=>{const _0x339c1e=_0x2b65ce;if(_0x4c1b84[_0x339c1e(0x1fd)](_0x339c1e(0x275),_0x20da5c),_0x4c1b84[_0x339c1e(0x1b1)]!==_0x1e76a9[_0x339c1e(0x2aa)])return;_0x2c7328=_0x4c1b84[_0x339c1e(0x2bb)]=null;const _0x2867fc=_0x20da5c[_0x339c1e(0x240)][_0x339c1e(0x275)];if(_0x2867fc===void 0x0||_0x2867fc[_0x339c1e(0x1c1)]()!==_0x339c1e(0x25b)){_0x1d4cf7(_0x4c1b84,_0x5bb168,_0x339c1e(0x212));return;}const _0x4cd1df=_0x572df0(_0x339c1e(0x2f0))['update'](_0x4e8ee0+_0xb22499)['digest'](_0x339c1e(0x193));if(_0x20da5c['headers'][_0x339c1e(0x149)]!==_0x4cd1df){_0x1d4cf7(_0x4c1b84,_0x5bb168,_0x339c1e(0x211));return;}const _0x3eada9=_0x20da5c[_0x339c1e(0x240)][_0x339c1e(0x1c2)];let _0xdbfe7a;if(_0x3eada9!==void 0x0?_0x318341[_0x339c1e(0x262)]?_0x318341[_0x339c1e(0x1a6)](_0x3eada9)||(_0xdbfe7a=_0x339c1e(0x1f5)):_0xdbfe7a=_0x339c1e(0x19b):_0x318341[_0x339c1e(0x262)]&&(_0xdbfe7a=_0x339c1e(0x23d)),_0xdbfe7a){_0x1d4cf7(_0x4c1b84,_0x5bb168,_0xdbfe7a);return;}_0x3eada9&&(_0x4c1b84[_0x339c1e(0x2a3)]=_0x3eada9);const _0xa75085=_0x20da5c[_0x339c1e(0x240)][_0x339c1e(0x17e)];if(_0xa75085!==void 0x0){if(!_0x383713){_0x1d4cf7(_0x4c1b84,_0x5bb168,_0x339c1e(0x2ae));return;}let _0x35acda;try{_0x35acda=_0x38a3cf(_0xa75085);}catch{_0x1d4cf7(_0x4c1b84,_0x5bb168,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xbb313f=Object[_0x339c1e(0x2d0)](_0x35acda);if(_0xbb313f[_0x339c1e(0x1c5)]!==0x1||_0xbb313f[0x0]!==_0x20fa76[_0x339c1e(0x2e6)]){_0x1d4cf7(_0x4c1b84,_0x5bb168,_0x339c1e(0x24f));return;}try{_0x383713[_0x339c1e(0x268)](_0x35acda[_0x20fa76[_0x339c1e(0x2e6)]]);}catch{_0x1d4cf7(_0x4c1b84,_0x5bb168,_0x339c1e(0x1e2));return;}_0x4c1b84['_extensions'][_0x20fa76[_0x339c1e(0x2e6)]]=_0x383713;}_0x4c1b84[_0x339c1e(0x19d)](_0x5bb168,_0x40fd14,{'allowSynchronousEvents':_0x3b3cbf[_0x339c1e(0x263)],'generateMask':_0x3b3cbf[_0x339c1e(0x17b)],'maxPayload':_0x3b3cbf['maxPayload'],'skipUTF8Validation':_0x3b3cbf[_0x339c1e(0x2e4)]});}),_0x3b3cbf[_0x2b65ce(0x279)]?_0x3b3cbf[_0x2b65ce(0x279)](_0x2c7328,_0x4c1b84):_0x2c7328[_0x2b65ce(0x2e3)]();}function _0x391994(_0x65bf99,_0x42894c){const _0x2465cf=_0x20c9e8;_0x65bf99[_0x2465cf(0x2d7)]=_0x1e76a9[_0x2465cf(0x148)],_0x65bf99['_errorEmitted']=!0x0,_0x65bf99[_0x2465cf(0x1fd)](_0x2465cf(0x2d8),_0x42894c),_0x65bf99[_0x2465cf(0x1f7)]();}function _0x4ceb73(_0x3052f3){const _0x1915e6=_0x20c9e8;return _0x3052f3[_0x1915e6(0x1dc)]=_0x3052f3['socketPath'],_0x116907['connect'](_0x3052f3);}function _0x5d4bff(_0x2fb2a5){const _0x293e44=_0x20c9e8;return _0x2fb2a5['path']=void 0x0,!_0x2fb2a5[_0x293e44(0x2db)]&&_0x2fb2a5[_0x293e44(0x2db)]!==''&&(_0x2fb2a5[_0x293e44(0x2db)]=_0x116907[_0x293e44(0x249)](_0x2fb2a5['host'])?'':_0x2fb2a5['host']),_0x2d0850[_0x293e44(0x1b7)](_0x2fb2a5);}function _0x1d4cf7(_0x44e5c2,_0x413d69,_0x1f3d68){const _0x2ab392=_0x20c9e8;_0x44e5c2[_0x2ab392(0x2d7)]=_0x1e76a9[_0x2ab392(0x148)];const _0x5ac73b=new Error(_0x1f3d68);Error[_0x2ab392(0x27d)](_0x5ac73b,_0x1d4cf7),_0x413d69[_0x2ab392(0x2c6)]?(_0x413d69[_0x35aadf]=!0x0,_0x413d69[_0x2ab392(0x2b9)](),_0x413d69['socket']&&!_0x413d69[_0x2ab392(0x27f)][_0x2ab392(0x25f)]&&_0x413d69[_0x2ab392(0x27f)][_0x2ab392(0x25c)](),process[_0x2ab392(0x199)](_0x391994,_0x44e5c2,_0x5ac73b)):(_0x413d69[_0x2ab392(0x25c)](_0x5ac73b),_0x413d69[_0x2ab392(0x18f)](_0x2ab392(0x2d8),_0x44e5c2[_0x2ab392(0x1fd)][_0x2ab392(0x17a)](_0x44e5c2,_0x2ab392(0x2d8))),_0x413d69[_0x2ab392(0x18f)](_0x2ab392(0x22a),_0x44e5c2[_0x2ab392(0x1f7)][_0x2ab392(0x17a)](_0x44e5c2)));}function _0x5d8bbd(_0x1bcadd,_0x15b643,_0x5e933a){const _0x3ac84c=_0x20c9e8;if(_0x15b643){const _0x512dac=_0x1ef4b5(_0x15b643)?_0x15b643[_0x3ac84c(0x262)]:_0x4d382b(_0x15b643)[_0x3ac84c(0x1c5)];_0x1bcadd[_0x3ac84c(0x15d)]?_0x1bcadd[_0x3ac84c(0x1c8)][_0x3ac84c(0x241)]+=_0x512dac:_0x1bcadd[_0x3ac84c(0x232)]+=_0x512dac;}if(_0x5e933a){const _0x25251d=new Error(_0x3ac84c(0x22c)+_0x1bcadd['readyState']+'\x20('+_0x34788d[_0x1bcadd[_0x3ac84c(0x1b1)]]+')');process[_0x3ac84c(0x199)](_0x5e933a,_0x25251d);}}function _0x2fb5a2(_0x56d6ae,_0x2d22e){const _0xc140af=_0x20c9e8,_0x3becf0=this[_0x3fe0c5];_0x3becf0['_closeFrameReceived']=!0x0,_0x3becf0[_0xc140af(0x2d2)]=_0x2d22e,_0x3becf0['_closeCode']=_0x56d6ae,_0x3becf0[_0xc140af(0x15d)][_0x3fe0c5]!==void 0x0&&(_0x3becf0['_socket']['removeListener'](_0xc140af(0x2b3),_0x21a90d),process[_0xc140af(0x199)](_0xdca303,_0x3becf0[_0xc140af(0x15d)]),_0x56d6ae===0x3ed?_0x3becf0['close']():_0x3becf0[_0xc140af(0x22a)](_0x56d6ae,_0x2d22e));}function _0x388a2a(){const _0x135af1=_0x20c9e8,_0x503086=this[_0x3fe0c5];_0x503086[_0x135af1(0x2b0)]||_0x503086[_0x135af1(0x15d)][_0x135af1(0x20c)]();}function _0x29ef70(_0x5747a9){const _0x2b12ec=_0x20c9e8,_0x377b7a=this[_0x3fe0c5];_0x377b7a[_0x2b12ec(0x15d)][_0x3fe0c5]!==void 0x0&&(_0x377b7a['_socket']['removeListener'](_0x2b12ec(0x2b3),_0x21a90d),process[_0x2b12ec(0x199)](_0xdca303,_0x377b7a[_0x2b12ec(0x15d)]),_0x377b7a['close'](_0x5747a9[_0x5892e7])),_0x377b7a[_0x2b12ec(0x15c)]||(_0x377b7a[_0x2b12ec(0x15c)]=!0x0,_0x377b7a[_0x2b12ec(0x1fd)]('error',_0x5747a9));}function _0x12d5aa(){const _0x59d5e8=_0x20c9e8;this[_0x3fe0c5][_0x59d5e8(0x1f7)]();}function _0x493480(_0x2b93af,_0x4cdcc3){const _0x43e71b=_0x20c9e8;this[_0x3fe0c5]['emit'](_0x43e71b(0x197),_0x2b93af,_0x4cdcc3);}function _0x360cdc(_0x574b04){const _0x109f67=_0x20c9e8,_0x4469c4=this[_0x3fe0c5];_0x4469c4['_autoPong']&&_0x4469c4[_0x109f67(0x162)](_0x574b04,!this[_0x109f67(0x1bf)],_0x2de59d),_0x4469c4[_0x109f67(0x1fd)]('ping',_0x574b04);}function _0x3ae511(_0x35a1ed){const _0x1b8bfc=_0x20c9e8;this[_0x3fe0c5][_0x1b8bfc(0x1fd)](_0x1b8bfc(0x162),_0x35a1ed);}function _0xdca303(_0x56c51f){_0x56c51f['resume']();}function _0x49ae83(_0x35d881){const _0x3b4cdf=_0x20c9e8,_0xc8cf2c=this[_0x3fe0c5];_0xc8cf2c[_0x3b4cdf(0x1b1)]!==_0x1e76a9['CLOSED']&&(_0xc8cf2c[_0x3b4cdf(0x1b1)]===_0x1e76a9[_0x3b4cdf(0x1bd)]&&(_0xc8cf2c[_0x3b4cdf(0x2d7)]=_0x1e76a9[_0x3b4cdf(0x148)],_0x4a4d3b(_0xc8cf2c)),this[_0x3b4cdf(0x15d)][_0x3b4cdf(0x2e3)](),_0xc8cf2c[_0x3b4cdf(0x15c)]||(_0xc8cf2c['_errorEmitted']=!0x0,_0xc8cf2c[_0x3b4cdf(0x1fd)](_0x3b4cdf(0x2d8),_0x35d881)));}function _0x4a4d3b(_0x22e193){const _0x2e2858=_0x20c9e8;_0x22e193[_0x2e2858(0x220)]=setTimeout(_0x22e193[_0x2e2858(0x15d)]['destroy'][_0x2e2858(0x17a)](_0x22e193[_0x2e2858(0x15d)]),_0x814a96);}function _0x5ab35b(){const _0x265f87=_0x20c9e8,_0x13cea3=this[_0x3fe0c5];this[_0x265f87(0x1fb)](_0x265f87(0x22a),_0x5ab35b),this[_0x265f87(0x1fb)](_0x265f87(0x2b3),_0x21a90d),this[_0x265f87(0x1fb)]('end',_0xff2b4d),_0x13cea3[_0x265f87(0x2d7)]=_0x1e76a9['CLOSING'];let _0x32b572;!this[_0x265f87(0x1bc)][_0x265f87(0x2c4)]&&!_0x13cea3[_0x265f87(0x19a)]&&!_0x13cea3['_receiver']['_writableState']['errorEmitted']&&(_0x32b572=_0x13cea3[_0x265f87(0x15d)][_0x265f87(0x297)]())!==null&&_0x13cea3[_0x265f87(0x1bb)]['write'](_0x32b572),_0x13cea3[_0x265f87(0x1bb)][_0x265f87(0x2e3)](),this[_0x3fe0c5]=void 0x0,clearTimeout(_0x13cea3['_closeTimer']),_0x13cea3[_0x265f87(0x1bb)][_0x265f87(0x2cb)]['finished']||_0x13cea3[_0x265f87(0x1bb)][_0x265f87(0x2cb)][_0x265f87(0x234)]?_0x13cea3[_0x265f87(0x1f7)]():(_0x13cea3[_0x265f87(0x1bb)]['on'](_0x265f87(0x2d8),_0x12d5aa),_0x13cea3['_receiver']['on'](_0x265f87(0x198),_0x12d5aa));}function _0x21a90d(_0x36245c){const _0x368dbc=_0x20c9e8;this[_0x3fe0c5][_0x368dbc(0x1bb)][_0x368dbc(0x1b6)](_0x36245c)||this[_0x368dbc(0x284)]();}function _0xff2b4d(){const _0x5267f5=_0x20c9e8,_0x45ad36=this[_0x3fe0c5];_0x45ad36['_readyState']=_0x1e76a9[_0x5267f5(0x148)],_0x45ad36[_0x5267f5(0x1bb)][_0x5267f5(0x2e3)](),this[_0x5267f5(0x2e3)]();}function _0x17ddd7(){const _0x7eb192=_0x20c9e8,_0x17a4d0=this[_0x3fe0c5];this['removeListener'](_0x7eb192(0x2d8),_0x17ddd7),this['on'](_0x7eb192(0x2d8),_0x2de59d),_0x17a4d0&&(_0x17a4d0[_0x7eb192(0x2d7)]=_0x1e76a9[_0x7eb192(0x148)],this[_0x7eb192(0x25c)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x44ea23}=_0x3b9e42;function _0x3256fb(_0x32859a){const _0x2b3cba=_0x4674;_0x32859a['emit'](_0x2b3cba(0x22a));}function _0x3045b6(){const _0x1e59f0=_0x4674;!this[_0x1e59f0(0x25f)]&&this[_0x1e59f0(0x2cb)][_0x1e59f0(0x261)]&&this['destroy']();}function _0x313ef6(_0x509a53){const _0x1cbf48=_0x4674;this[_0x1cbf48(0x1fb)](_0x1cbf48(0x2d8),_0x313ef6),this[_0x1cbf48(0x25c)](),this[_0x1cbf48(0x1ac)]('error')===0x0&&this['emit'](_0x1cbf48(0x2d8),_0x509a53);}function _0x10f0d0(_0x336644,_0x595c76){const _0x3bb921=_0x4674;let _0x4773bb=!0x0;const _0x35bfc3=new _0x44ea23({..._0x595c76,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x336644['on']('message',function(_0x483c93,_0x3b1091){const _0x350440=_0x4674,_0x27ccbf=!_0x3b1091&&_0x35bfc3[_0x350440(0x1bc)]['objectMode']?_0x483c93[_0x350440(0x24d)]():_0x483c93;_0x35bfc3['push'](_0x27ccbf)||_0x336644[_0x350440(0x284)]();}),_0x336644[_0x3bb921(0x18f)]('error',function(_0x507176){const _0x195df9=_0x3bb921;_0x35bfc3['destroyed']||(_0x4773bb=!0x1,_0x35bfc3[_0x195df9(0x25c)](_0x507176));}),_0x336644[_0x3bb921(0x18f)](_0x3bb921(0x22a),function(){const _0xbd7cb=_0x3bb921;_0x35bfc3['destroyed']||_0x35bfc3[_0xbd7cb(0x1ce)](null);}),_0x35bfc3[_0x3bb921(0x155)]=function(_0x857781,_0xb7471f){const _0x35de25=_0x3bb921;if(_0x336644[_0x35de25(0x1b1)]===_0x336644[_0x35de25(0x286)]){_0xb7471f(_0x857781),process[_0x35de25(0x199)](_0x3256fb,_0x35bfc3);return;}let _0x1d6d91=!0x1;_0x336644[_0x35de25(0x18f)](_0x35de25(0x2d8),function(_0x3347fc){_0x1d6d91=!0x0,_0xb7471f(_0x3347fc);}),_0x336644['once'](_0x35de25(0x22a),function(){_0x1d6d91||_0xb7471f(_0x857781),process['nextTick'](_0x3256fb,_0x35bfc3);}),_0x4773bb&&_0x336644['terminate']();},_0x35bfc3['_final']=function(_0x672699){const _0x3b16a7=_0x3bb921;if(_0x336644[_0x3b16a7(0x1b1)]===_0x336644[_0x3b16a7(0x2aa)]){_0x336644[_0x3b16a7(0x18f)]('open',function(){const _0x361616=_0x3b16a7;_0x35bfc3[_0x361616(0x271)](_0x672699);});return;}_0x336644[_0x3b16a7(0x15d)]!==null&&(_0x336644['_socket'][_0x3b16a7(0x2cb)][_0x3b16a7(0x261)]?(_0x672699(),_0x35bfc3[_0x3b16a7(0x1bc)][_0x3b16a7(0x2c4)]&&_0x35bfc3[_0x3b16a7(0x25c)]()):(_0x336644[_0x3b16a7(0x15d)]['once']('finish',function(){_0x672699();}),_0x336644['close']()));},_0x35bfc3[_0x3bb921(0x154)]=function(){const _0x457705=_0x3bb921;_0x336644['isPaused']&&_0x336644[_0x457705(0x20c)]();},_0x35bfc3[_0x3bb921(0x272)]=function(_0x40504d,_0xf9662e,_0x2ba766){const _0x335d49=_0x3bb921;if(_0x336644['readyState']===_0x336644[_0x335d49(0x2aa)]){_0x336644[_0x335d49(0x18f)]('open',function(){const _0x3385c2=_0x335d49;_0x35bfc3[_0x3385c2(0x272)](_0x40504d,_0xf9662e,_0x2ba766);});return;}_0x336644[_0x335d49(0x1b5)](_0x40504d,_0x2ba766);},_0x35bfc3['on'](_0x3bb921(0x2e3),_0x3045b6),_0x35bfc3['on']('error',_0x313ef6),_0x35bfc3;}return Oe=_0x10f0d0,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x8ac831}=ne();function _0x513db2(_0x3d8664){const _0xe71328=_0x4674,_0x19f3c9=new Set();let _0xe1890b=-0x1,_0x4d742c=-0x1,_0x5a08b2=0x0;for(_0x5a08b2;_0x5a08b2<_0x3d8664[_0xe71328(0x1c5)];_0x5a08b2++){const _0x5d13aa=_0x3d8664[_0xe71328(0x1de)](_0x5a08b2);if(_0x4d742c===-0x1&&_0x8ac831[_0x5d13aa]===0x1)_0xe1890b===-0x1&&(_0xe1890b=_0x5a08b2);else{if(_0x5a08b2!==0x0&&(_0x5d13aa===0x20||_0x5d13aa===0x9))_0x4d742c===-0x1&&_0xe1890b!==-0x1&&(_0x4d742c=_0x5a08b2);else{if(_0x5d13aa===0x2c){if(_0xe1890b===-0x1)throw new SyntaxError(_0xe71328(0x29f)+_0x5a08b2);_0x4d742c===-0x1&&(_0x4d742c=_0x5a08b2);const _0x1ff880=_0x3d8664['slice'](_0xe1890b,_0x4d742c);if(_0x19f3c9['has'](_0x1ff880))throw new SyntaxError(_0xe71328(0x26a)+_0x1ff880+'\x22\x20subprotocol\x20is\x20duplicated');_0x19f3c9[_0xe71328(0x218)](_0x1ff880),_0xe1890b=_0x4d742c=-0x1;}else throw new SyntaxError(_0xe71328(0x29f)+_0x5a08b2);}}}if(_0xe1890b===-0x1||_0x4d742c!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x11f42d=_0x3d8664[_0xe71328(0x1eb)](_0xe1890b,_0x5a08b2);if(_0x19f3c9[_0xe71328(0x1a6)](_0x11f42d))throw new SyntaxError('The\x20\x22'+_0x11f42d+_0xe71328(0x2e5));return _0x19f3c9[_0xe71328(0x218)](_0x11f42d),_0x19f3c9;}return Ce={'parse':_0x513db2},Ce;}var Te,ot;function er(){const _0x415ad6=_0x546d16;if(ot)return Te;ot=0x1;const _0x310b15=_0x32b9e1,_0x951455=_0x46caed,{Duplex:_0x5e448b}=_0x3b9e42,{createHash:_0x442758}=_0x3e737a,_0x1ec4c0=pt(),_0x552a2f=he(),_0x2815a7=Jt(),_0x2bd4f5=Ie(),{GUID:_0x16777f,kWebSocket:_0x2b1417}=V(),_0x589477=/^[+/0-9A-Za-z]{22}==$/,_0x46e058=0x0,_0x242452=0x1,_0x54b2b3=0x2;class _0x4ad167 extends _0x310b15{constructor(_0x551ce9,_0x1e8717){const _0x4a00e3=_0x4674;if(super(),_0x551ce9={'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':_0x2bd4f5,..._0x551ce9},_0x551ce9[_0x4a00e3(0x161)]==null&&!_0x551ce9[_0x4a00e3(0x288)]&&!_0x551ce9[_0x4a00e3(0x267)]||_0x551ce9['port']!=null&&(_0x551ce9[_0x4a00e3(0x288)]||_0x551ce9[_0x4a00e3(0x267)])||_0x551ce9['server']&&_0x551ce9['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x551ce9[_0x4a00e3(0x161)]!=null?(this[_0x4a00e3(0x2da)]=_0x951455[_0x4a00e3(0x164)]((_0x3c4f53,_0x56f0b6)=>{const _0x5b9418=_0x4a00e3,_0x3c6ac1=_0x951455[_0x5b9418(0x29a)][0x1aa];_0x56f0b6[_0x5b9418(0x27e)](0x1aa,{'Content-Length':_0x3c6ac1[_0x5b9418(0x1c5)],'Content-Type':_0x5b9418(0x1e5)}),_0x56f0b6['end'](_0x3c6ac1);}),this[_0x4a00e3(0x2da)][_0x4a00e3(0x1ba)](_0x551ce9['port'],_0x551ce9[_0x4a00e3(0x278)],_0x551ce9['backlog'],_0x1e8717)):_0x551ce9[_0x4a00e3(0x288)]&&(this['_server']=_0x551ce9[_0x4a00e3(0x288)]),this[_0x4a00e3(0x2da)]){const _0x32b4f5=this[_0x4a00e3(0x1fd)][_0x4a00e3(0x17a)](this,_0x4a00e3(0x204));this[_0x4a00e3(0x231)]=_0x186b02(this['_server'],{'listening':this['emit'][_0x4a00e3(0x17a)](this,_0x4a00e3(0x1e4)),'error':this['emit']['bind'](this,'error'),'upgrade':(_0x1281da,_0xbda2d2,_0x3ce0a6)=>{const _0x198745=_0x4a00e3;this[_0x198745(0x1d1)](_0x1281da,_0xbda2d2,_0x3ce0a6,_0x32b4f5);}});}_0x551ce9[_0x4a00e3(0x1fe)]===!0x0&&(_0x551ce9[_0x4a00e3(0x1fe)]={}),_0x551ce9[_0x4a00e3(0x163)]&&(this['clients']=new Set(),this[_0x4a00e3(0x1fc)]=!0x1),this['options']=_0x551ce9,this['_state']=_0x46e058;}[_0x415ad6(0x167)](){const _0xcfb620=_0x415ad6;if(this[_0xcfb620(0x22f)][_0xcfb620(0x267)])throw new Error(_0xcfb620(0x28d));return this[_0xcfb620(0x2da)]?this[_0xcfb620(0x2da)]['address']():null;}[_0x415ad6(0x22a)](_0x401256){const _0x333203=_0x415ad6;if(this[_0x333203(0x270)]===_0x54b2b3){_0x401256&&this['once'](_0x333203(0x22a),()=>{const _0x315e11=_0x333203;_0x401256(new Error(_0x315e11(0x1d4)));}),process['nextTick'](_0x7216e9,this);return;}if(_0x401256&&this[_0x333203(0x18f)]('close',_0x401256),this['_state']!==_0x242452){if(this['_state']=_0x242452,this['options'][_0x333203(0x267)]||this[_0x333203(0x22f)][_0x333203(0x288)])this['_server']&&(this[_0x333203(0x231)](),this[_0x333203(0x231)]=this['_server']=null),this[_0x333203(0x216)]?this['clients'][_0x333203(0x262)]?this['_shouldEmitClose']=!0x0:process[_0x333203(0x199)](_0x7216e9,this):process[_0x333203(0x199)](_0x7216e9,this);else{const _0x392729=this[_0x333203(0x2da)];this[_0x333203(0x231)](),this[_0x333203(0x231)]=this[_0x333203(0x2da)]=null,_0x392729['close'](()=>{_0x7216e9(this);});}}}['shouldHandle'](_0x344ed7){const _0x50d68a=_0x415ad6;if(this[_0x50d68a(0x22f)][_0x50d68a(0x1dc)]){const _0x55a06d=_0x344ed7['url'][_0x50d68a(0x1e3)]('?');if((_0x55a06d!==-0x1?_0x344ed7[_0x50d68a(0x248)][_0x50d68a(0x1eb)](0x0,_0x55a06d):_0x344ed7[_0x50d68a(0x248)])!==this[_0x50d68a(0x22f)]['path'])return!0x1;}return!0x0;}[_0x415ad6(0x1d1)](_0x27fed5,_0x23ebf7,_0xa91d3f,_0x31e378){const _0x95e857=_0x415ad6;_0x23ebf7['on'](_0x95e857(0x2d8),_0xa84484);const _0x4c93c6=_0x27fed5['headers']['sec-websocket-key'],_0x585896=_0x27fed5[_0x95e857(0x240)]['upgrade'],_0x2808c1=+_0x27fed5[_0x95e857(0x240)][_0x95e857(0x2e0)];if(_0x27fed5[_0x95e857(0x274)]!==_0x95e857(0x2c7)){_0x5c6c86(this,_0x27fed5,_0x23ebf7,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x585896===void 0x0||_0x585896[_0x95e857(0x1c1)]()!=='websocket'){_0x5c6c86(this,_0x27fed5,_0x23ebf7,0x190,_0x95e857(0x212));return;}if(_0x4c93c6===void 0x0||!_0x589477[_0x95e857(0x1d6)](_0x4c93c6)){_0x5c6c86(this,_0x27fed5,_0x23ebf7,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x2808c1!==0x8&&_0x2808c1!==0xd){_0x5c6c86(this,_0x27fed5,_0x23ebf7,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x27fed5)){_0x1051d5(_0x23ebf7,0x190);return;}const _0x506952=_0x27fed5[_0x95e857(0x240)][_0x95e857(0x1c2)];let _0x19a3dd=new Set();if(_0x506952!==void 0x0)try{_0x19a3dd=_0x2815a7[_0x95e857(0x152)](_0x506952);}catch{_0x5c6c86(this,_0x27fed5,_0x23ebf7,0x190,_0x95e857(0x227));return;}const _0xfcf0d5=_0x27fed5['headers'][_0x95e857(0x17e)],_0x440a1a={};if(this[_0x95e857(0x22f)]['perMessageDeflate']&&_0xfcf0d5!==void 0x0){const _0x12cd30=new _0x552a2f(this[_0x95e857(0x22f)][_0x95e857(0x1fe)],!0x0,this[_0x95e857(0x22f)][_0x95e857(0x2c5)]);try{const _0x1ad6fb=_0x1ec4c0[_0x95e857(0x152)](_0xfcf0d5);_0x1ad6fb[_0x552a2f[_0x95e857(0x2e6)]]&&(_0x12cd30[_0x95e857(0x268)](_0x1ad6fb[_0x552a2f[_0x95e857(0x2e6)]]),_0x440a1a[_0x552a2f[_0x95e857(0x2e6)]]=_0x12cd30);}catch{_0x5c6c86(this,_0x27fed5,_0x23ebf7,0x190,_0x95e857(0x265));return;}}if(this['options']['verifyClient']){const _0x2d6d0e={'origin':_0x27fed5[_0x95e857(0x240)][''+(_0x2808c1===0x8?'sec-websocket-origin':_0x95e857(0x178))],'secure':!!(_0x27fed5['socket'][_0x95e857(0x169)]||_0x27fed5[_0x95e857(0x27f)][_0x95e857(0x250)]),'req':_0x27fed5};if(this['options']['verifyClient']['length']===0x2){this[_0x95e857(0x22f)][_0x95e857(0x222)](_0x2d6d0e,(_0x313927,_0x3bc885,_0x408535,_0xa54f56)=>{if(!_0x313927)return _0x1051d5(_0x23ebf7,_0x3bc885||0x191,_0x408535,_0xa54f56);this['completeUpgrade'](_0x440a1a,_0x4c93c6,_0x19a3dd,_0x27fed5,_0x23ebf7,_0xa91d3f,_0x31e378);});return;}if(!this['options'][_0x95e857(0x222)](_0x2d6d0e))return _0x1051d5(_0x23ebf7,0x191);}this[_0x95e857(0x2ed)](_0x440a1a,_0x4c93c6,_0x19a3dd,_0x27fed5,_0x23ebf7,_0xa91d3f,_0x31e378);}[_0x415ad6(0x2ed)](_0x517a12,_0x336556,_0x260a07,_0x5e11f2,_0x2e3cfe,_0x551fd6,_0x4936bb){const _0x2abb59=_0x415ad6;if(!_0x2e3cfe['readable']||!_0x2e3cfe[_0x2abb59(0x205)])return _0x2e3cfe['destroy']();if(_0x2e3cfe[_0x2b1417])throw new Error(_0x2abb59(0x185));if(this[_0x2abb59(0x270)]>_0x46e058)return _0x1051d5(_0x2e3cfe,0x1f7);const _0x15c97b=[_0x2abb59(0x24b),_0x2abb59(0x296),'Connection:\x20Upgrade',_0x2abb59(0x1a5)+_0x442758(_0x2abb59(0x2f0))[_0x2abb59(0x20f)](_0x336556+_0x16777f)['digest'](_0x2abb59(0x193))],_0x41063b=new this[(_0x2abb59(0x22f))][(_0x2abb59(0x21b))](null,void 0x0,this[_0x2abb59(0x22f)]);if(_0x260a07[_0x2abb59(0x262)]){const _0x3f7a74=this[_0x2abb59(0x22f)][_0x2abb59(0x1d7)]?this['options'][_0x2abb59(0x1d7)](_0x260a07,_0x5e11f2):_0x260a07['values']()[_0x2abb59(0x2f1)]()[_0x2abb59(0x17c)];_0x3f7a74&&(_0x15c97b['push'](_0x2abb59(0x225)+_0x3f7a74),_0x41063b[_0x2abb59(0x2a3)]=_0x3f7a74);}if(_0x517a12[_0x552a2f['extensionName']]){const _0x155e49=_0x517a12[_0x552a2f[_0x2abb59(0x2e6)]]['params'],_0x5e87ba=_0x1ec4c0[_0x2abb59(0x26b)]({[_0x552a2f['extensionName']]:[_0x155e49]});_0x15c97b[_0x2abb59(0x1ce)]('Sec-WebSocket-Extensions:\x20'+_0x5e87ba),_0x41063b[_0x2abb59(0x172)]=_0x517a12;}this['emit'](_0x2abb59(0x240),_0x15c97b,_0x5e11f2),_0x2e3cfe[_0x2abb59(0x1b6)](_0x15c97b[_0x2abb59(0x245)]('\x0d\x0a')[_0x2abb59(0x14a)]('\x0d\x0a')),_0x2e3cfe[_0x2abb59(0x1fb)](_0x2abb59(0x2d8),_0xa84484),_0x41063b['setSocket'](_0x2e3cfe,_0x551fd6,{'allowSynchronousEvents':this[_0x2abb59(0x22f)]['allowSynchronousEvents'],'maxPayload':this[_0x2abb59(0x22f)]['maxPayload'],'skipUTF8Validation':this[_0x2abb59(0x22f)][_0x2abb59(0x2e4)]}),this['clients']&&(this[_0x2abb59(0x216)][_0x2abb59(0x218)](_0x41063b),_0x41063b['on']('close',()=>{const _0x499a22=_0x2abb59;this['clients'][_0x499a22(0x151)](_0x41063b),this[_0x499a22(0x1fc)]&&!this[_0x499a22(0x216)][_0x499a22(0x262)]&&process[_0x499a22(0x199)](_0x7216e9,this);})),_0x4936bb(_0x41063b,_0x5e11f2);}}Te=_0x4ad167;function _0x186b02(_0x33a7dc,_0x3d6537){for(const _0x44051b of Object['keys'](_0x3d6537))_0x33a7dc['on'](_0x44051b,_0x3d6537[_0x44051b]);return function(){const _0x47c16a=_0x4674;for(const _0x4e9b60 of Object['keys'](_0x3d6537))_0x33a7dc[_0x47c16a(0x1fb)](_0x4e9b60,_0x3d6537[_0x4e9b60]);};}function _0x7216e9(_0x2cb73b){const _0x2f4b66=_0x415ad6;_0x2cb73b[_0x2f4b66(0x270)]=_0x54b2b3,_0x2cb73b[_0x2f4b66(0x1fd)]('close');}function _0xa84484(){const _0x2a9f88=_0x415ad6;this[_0x2a9f88(0x25c)]();}function _0x1051d5(_0xdfa7e,_0x46b1cb,_0x533189,_0x2d6ad7){const _0x111e73=_0x415ad6;_0x533189=_0x533189||_0x951455[_0x111e73(0x29a)][_0x46b1cb],_0x2d6ad7={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x111e73(0x1d0)](_0x533189),..._0x2d6ad7},_0xdfa7e[_0x111e73(0x18f)](_0x111e73(0x198),_0xdfa7e[_0x111e73(0x25c)]),_0xdfa7e[_0x111e73(0x2e3)]('HTTP/1.1\x20'+_0x46b1cb+'\x20'+_0x951455['STATUS_CODES'][_0x46b1cb]+'\x0d\x0a'+Object[_0x111e73(0x2d0)](_0x2d6ad7)[_0x111e73(0x1df)](_0x42accc=>_0x42accc+':\x20'+_0x2d6ad7[_0x42accc])['join']('\x0d\x0a')+_0x111e73(0x2c1)+_0x533189);}function _0x5c6c86(_0x7dafec,_0x5604e,_0x5c3bb7,_0x49ca64,_0x50a531){const _0xd3bc50=_0x415ad6;if(_0x7dafec[_0xd3bc50(0x1ac)](_0xd3bc50(0x236))){const _0x158e76=new Error(_0x50a531);Error['captureStackTrace'](_0x158e76,_0x5c6c86),_0x7dafec[_0xd3bc50(0x1fd)]('wsClientError',_0x158e76,_0x5c3bb7,_0x5604e);}else _0x1051d5(_0x5c3bb7,_0x49ca64,_0x50a531);}return Te;}er();var tr=Object[_0x546d16(0x243)],rr=(_0x22076c,_0x2ca181,_0x97d48b,_0x5dad87)=>{const _0x207f7f=_0x546d16;for(var _0x42a811=_0x5dad87>0x1?void 0x0:_0x5dad87?tr(_0x2ca181,_0x97d48b):_0x2ca181,_0x1e5412=_0x22076c[_0x207f7f(0x1c5)]-0x1,_0x15f4af;_0x1e5412>=0x0;_0x1e5412--)(_0x15f4af=_0x22076c[_0x1e5412])&&(_0x42a811=_0x15f4af(_0x42a811)||_0x42a811);return _0x42a811;},sr=(_0xdd84dc,_0x2f2ee6)=>(_0x3f4871,_0x39b156)=>_0x2f2ee6(_0x3f4871,_0x39b156,_0xdd84dc);let Ne=class extends _0x18f86f{constructor(_0x543a92){super(),this['_configService']=_0x543a92;}[_0x546d16(0x244)](_0xb51772){const _0x41eb12=_0x546d16;var _0xae49cd;const _0x279891=(_0xae49cd=this[_0x41eb12(0x29e)][_0x41eb12(0x196)](Be))==null?void 0x0:_0xae49cd[_0x41eb12(0x1be)];try{const _0x16c48a=new Qt(_0xb51772,{'headers':{..._0x279891}}),_0x2e0c23=new _0x5786e7();return{'URL':_0xb51772,'close':(_0x43c81c,_0x3f931e)=>{_0x16c48a['close'](_0x43c81c,_0x3f931e),_0x2e0c23['dispose']();},'send':_0xd2f01e=>{_0x16c48a['send'](_0xd2f01e);},'open$':new _0x1e774a(_0x338938=>{const _0x4b3169=_0x41eb12,_0x5376b2=_0x5d16cc=>_0x338938[_0x4b3169(0x2f1)](_0x5d16cc);_0x16c48a[_0x4b3169(0x2e7)]('open',_0x5376b2),_0x2e0c23[_0x4b3169(0x218)](_0x48137d(()=>_0x16c48a[_0x4b3169(0x1b4)](_0x4b3169(0x21e),_0x5376b2)));})[_0x41eb12(0x157)](_0x45c42a()),'close$':new _0x1e774a(_0x183c71=>{const _0x3ed3fc=_0x41eb12,_0x2a39d0=_0x2569cd=>_0x183c71[_0x3ed3fc(0x2f1)](_0x2569cd);_0x16c48a[_0x3ed3fc(0x2e7)]('close',_0x2a39d0),_0x2e0c23[_0x3ed3fc(0x218)](_0x48137d(()=>_0x16c48a[_0x3ed3fc(0x1b4)](_0x3ed3fc(0x22a),_0x2a39d0)));})[_0x41eb12(0x157)](_0x45c42a()),'error$':new _0x1e774a(_0x268101=>{const _0x34fa8d=_0x41eb12,_0x151225=_0x5d2239=>_0x268101['next'](_0x5d2239);_0x16c48a[_0x34fa8d(0x2e7)](_0x34fa8d(0x2d8),_0x151225),_0x2e0c23['add'](_0x48137d(()=>_0x16c48a[_0x34fa8d(0x1b4)]('error',_0x151225)));})[_0x41eb12(0x157)](_0x45c42a()),'message$':new _0x1e774a(_0x52300a=>{const _0x5871bb=_0x41eb12,_0x1b3277=_0x28b6d3=>_0x52300a['next'](_0x28b6d3);_0x16c48a[_0x5871bb(0x2e7)]('message',_0x1b3277),_0x2e0c23[_0x5871bb(0x218)](_0x48137d(()=>_0x16c48a[_0x5871bb(0x1b4)](_0x5871bb(0x197),_0x1b3277)));})['pipe'](_0x45c42a())};}catch(_0x2189a6){return console[_0x41eb12(0x2d8)](_0x2189a6),null;}}};Ne=rr([sr(0x0,_0xa65f77)],Ne);var ir=Object[_0x546d16(0x15b)],nr=Object[_0x546d16(0x243)],or=(_0x313be3,_0x427750,_0x1f4cb1)=>_0x427750 in _0x313be3?ir(_0x313be3,_0x427750,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f4cb1}):_0x313be3[_0x427750]=_0x1f4cb1,ar=(_0x12b483,_0x1672af,_0xcc8171,_0x1c5920)=>{const _0x38b8f3=_0x546d16;for(var _0x3bdf64=_0x1c5920>0x1?void 0x0:_0x1c5920?nr(_0x1672af,_0xcc8171):_0x1672af,_0x50eedd=_0x12b483[_0x38b8f3(0x1c5)]-0x1,_0xd2a575;_0x50eedd>=0x0;_0x50eedd--)(_0xd2a575=_0x12b483[_0x50eedd])&&(_0x3bdf64=_0xd2a575(_0x3bdf64)||_0x3bdf64);return _0x3bdf64;},ke=(_0x361746,_0x5d4ea5)=>(_0x3c394d,_0x1fd47a)=>_0x5d4ea5(_0x3c394d,_0x1fd47a,_0x361746),lr=(_0x451224,_0xf832dd,_0xa027d)=>or(_0x451224,_0xf832dd+'',_0xa027d);let Pe=class extends _0x683629{constructor(_0x3b10e1=Ft,_0x45ca73,_0x385524,_0x4807c0){const _0x5c91ca=_0x546d16;_0x3b10e1['customHeaders']||_0x45ca73['warn'](_0x5c91ca(0x2a0)),super(),this[_0x5c91ca(0x29e)]=_0x385524,this['_injector']=_0x4807c0,this[_0x5c91ca(0x29e)][_0x5c91ca(0x253)](Be,_0x3b10e1);}[_0x546d16(0x1af)](){this['_registerDependencies']();}[_0x546d16(0x1b0)](){const _0x380f0b=_0x546d16;_0x27dac9(this[_0x380f0b(0x213)],[[_0x3d50bd,{'useClass':Ne}]]);}};lr(Pe,_0x546d16(0x283),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x12cc14(_0x40c54a),ke(0x1,_0x228d0a),ke(0x2,_0xa65f77),ke(0x3,_0x409b75(_0x616772))],Pe);var fr=Object[_0x546d16(0x243)],cr=(_0x3c7e14,_0x276c63,_0x94bafc,_0x100d6b)=>{const _0x1b1b7d=_0x546d16;for(var _0x413e2b=_0x100d6b>0x1?void 0x0:_0x100d6b?fr(_0x276c63,_0x94bafc):_0x276c63,_0xa5e2cc=_0x3c7e14[_0x1b1b7d(0x1c5)]-0x1,_0x14ef97;_0xa5e2cc>=0x0;_0xa5e2cc--)(_0x14ef97=_0x3c7e14[_0xa5e2cc])&&(_0x413e2b=_0x14ef97(_0x413e2b)||_0x413e2b);return _0x413e2b;},se=(_0x441b83,_0x3b8341)=>(_0x34e262,_0x1a15db)=>_0x3b8341(_0x34e262,_0x1a15db,_0x441b83);let at=class extends _0x3a1dc3{constructor(_0x5e73f0,_0x314ae2,_0x59bc64,_0x290ee9,_0x514783){const _0xbe3831=_0x546d16;super(_0x5e73f0,_0x314ae2,_0x59bc64,_0x290ee9,_0x514783);const _0x4ba6de=this['_configService'][_0xbe3831(0x196)](Be);this[_0xbe3831(0x1f8)][_0xbe3831(0x1ab)]({'interceptor':(_0x5f253f,_0x34363e)=>{const _0x32ff3f=_0xbe3831;var _0x28f7e8;const _0x4670ed=_0x5f253f[_0x32ff3f(0x240)];return(_0x28f7e8=_0x4ba6de==null?void 0x0:_0x4ba6de[_0x32ff3f(0x1be)])!=null&&_0x28f7e8[_0x32ff3f(0x23b)]&&_0x4670ed[_0x32ff3f(0x1c0)](_0x32ff3f(0x280),_0x4ba6de[_0x32ff3f(0x1be)][_0x32ff3f(0x23b)]),_0x34363e(_0x5f253f);}});}async[_0x546d16(0x244)](_0x34c406){const _0x595ad8=_0x546d16;return this[_0x595ad8(0x2ea)](_0x34c406);}};at=cr([se(0x0,_0x409b75(_0x616772)),se(0x1,_0x409b75(_0x5b66c9)),se(0x2,_0xa65f77),se(0x3,_0x228d0a),se(0x4,_0x1db943)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};